comparison configure @ 74774:3ecc464eb15c

* configure: Regenerate
author Jan Djärv <jan.h.d@swipnet.se>
date Wed, 20 Dec 2006 19:57:39 +0000
parents 1b8ea6fcd267
children 0e3361d2e5eb
comparison
equal deleted inserted replaced
74773:e54c327c4b18 74774:3ecc464eb15c
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
670 CFLAGS_SOUND
671 SET_MAKE
672 XMKMF
673 GTK_CFLAGS
674 GTK_LIBS
675 ALLOCA
676 liblockfile
677 LIBOBJS
678 NEED_SETGID
679 KMEM_GROUP
680 GETLOADAVG_LIBS
681 GETOPT_H
682 GETOPTOBJS
683 version
684 configuration
685 canonical
686 srcdir
687 lispdir
688 locallisppath
689 lisppath
690 x_default_search_path
691 etcdir
692 archlibdir
693 bitmapdir
694 gamedir
695 gameuser
696 c_switch_system
697 c_switch_machine
698 LD_SWITCH_X_SITE
699 LD_SWITCH_X_SITE_AUX
700 C_SWITCH_X_SITE
701 X_TOOLKIT_TYPE
702 machfile
703 opsysfile
704 carbon_appdir
705 LTLIBOBJS'
314 ac_subst_files='' 706 ac_subst_files=''
707 ac_precious_vars='build_alias
708 host_alias
709 target_alias
710 CC
711 CFLAGS
712 LDFLAGS
713 CPPFLAGS
714 CPP
715 XMKMF'
716
315 717
316 # Initialize some variables set by options. 718 # Initialize some variables set by options.
317 ac_init_help= 719 ac_init_help=
318 ac_init_version=false 720 ac_init_version=false
319 # The variables have the same names as the options, with 721 # The variables have the same names as the options, with
336 # Installation directory options. 738 # Installation directory options.
337 # These are left unexpanded so users can "make install exec_prefix=/foo" 739 # 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 740 # and all the variables that are supposed to be based on exec_prefix
339 # by default will actually change. 741 # by default will actually change.
340 # Use braces instead of parens because sh, perl, etc. also accept them. 742 # Use braces instead of parens because sh, perl, etc. also accept them.
743 # (The list follows the same order as the GNU Coding Standards.)
341 bindir='${exec_prefix}/bin' 744 bindir='${exec_prefix}/bin'
342 sbindir='${exec_prefix}/sbin' 745 sbindir='${exec_prefix}/sbin'
343 libexecdir='${exec_prefix}/libexec' 746 libexecdir='${exec_prefix}/libexec'
344 datadir='${prefix}/share' 747 datarootdir='${prefix}/share'
748 datadir='${datarootdir}'
345 sysconfdir='${prefix}/etc' 749 sysconfdir='${prefix}/etc'
346 sharedstatedir='${prefix}/com' 750 sharedstatedir='${prefix}/com'
347 localstatedir='${prefix}/var' 751 localstatedir='${prefix}/var'
348 libdir='${exec_prefix}/lib'
349 includedir='${prefix}/include' 752 includedir='${prefix}/include'
350 oldincludedir='/usr/include' 753 oldincludedir='/usr/include'
351 infodir='${prefix}/info' 754 docdir='${datarootdir}/doc/${PACKAGE}'
352 mandir='${prefix}/man' 755 infodir='${datarootdir}/info'
756 htmldir='${docdir}'
757 dvidir='${docdir}'
758 pdfdir='${docdir}'
759 psdir='${docdir}'
760 libdir='${exec_prefix}/lib'
761 localedir='${datarootdir}/locale'
762 mandir='${datarootdir}/man'
353 763
354 ac_prev= 764 ac_prev=
765 ac_dashdash=
355 for ac_option 766 for ac_option
356 do 767 do
357 # If the previous option needs an argument, assign it. 768 # If the previous option needs an argument, assign it.
358 if test -n "$ac_prev"; then 769 if test -n "$ac_prev"; then
359 eval "$ac_prev=\$ac_option" 770 eval $ac_prev=\$ac_option
360 ac_prev= 771 ac_prev=
361 continue 772 continue
362 fi 773 fi
363 774
364 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 775 case $ac_option in
776 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
777 *) ac_optarg=yes ;;
778 esac
365 779
366 # Accept the important Cygnus configure options, so we can diagnose typos. 780 # Accept the important Cygnus configure options, so we can diagnose typos.
367 781
368 case $ac_option in 782 case $ac_dashdash$ac_option in
783 --)
784 ac_dashdash=yes ;;
369 785
370 -bindir | --bindir | --bindi | --bind | --bin | --bi) 786 -bindir | --bindir | --bindi | --bind | --bin | --bi)
371 ac_prev=bindir ;; 787 ac_prev=bindir ;;
372 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 788 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
373 bindir=$ac_optarg ;; 789 bindir=$ac_optarg ;;
385 cache_file=$ac_optarg ;; 801 cache_file=$ac_optarg ;;
386 802
387 --config-cache | -C) 803 --config-cache | -C)
388 cache_file=config.cache ;; 804 cache_file=config.cache ;;
389 805
390 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 806 -datadir | --datadir | --datadi | --datad)
391 ac_prev=datadir ;; 807 ac_prev=datadir ;;
392 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 808 -datadir=* | --datadir=* | --datadi=* | --datad=*)
393 | --da=*)
394 datadir=$ac_optarg ;; 809 datadir=$ac_optarg ;;
810
811 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
812 | --dataroo | --dataro | --datar)
813 ac_prev=datarootdir ;;
814 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
815 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
816 datarootdir=$ac_optarg ;;
395 817
396 -disable-* | --disable-*) 818 -disable-* | --disable-*)
397 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 819 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
398 # Reject names that are not valid shell variable names. 820 # Reject names that are not valid shell variable names.
399 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 821 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
400 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 822 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
401 { (exit 1); exit 1; }; } 823 { (exit 1); exit 1; }; }
402 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 824 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
403 eval "enable_$ac_feature=no" ;; 825 eval enable_$ac_feature=no ;;
826
827 -docdir | --docdir | --docdi | --doc | --do)
828 ac_prev=docdir ;;
829 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
830 docdir=$ac_optarg ;;
831
832 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
833 ac_prev=dvidir ;;
834 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
835 dvidir=$ac_optarg ;;
404 836
405 -enable-* | --enable-*) 837 -enable-* | --enable-*)
406 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 838 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
407 # Reject names that are not valid shell variable names. 839 # Reject names that are not valid shell variable names.
408 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 840 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
409 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 841 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
410 { (exit 1); exit 1; }; } 842 { (exit 1); exit 1; }; }
411 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 843 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
412 case $ac_option in 844 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 845
418 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 846 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
419 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 847 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
420 | --exec | --exe | --ex) 848 | --exec | --exe | --ex)
421 ac_prev=exec_prefix ;; 849 ac_prev=exec_prefix ;;
438 -host | --host | --hos | --ho) 866 -host | --host | --hos | --ho)
439 ac_prev=host_alias ;; 867 ac_prev=host_alias ;;
440 -host=* | --host=* | --hos=* | --ho=*) 868 -host=* | --host=* | --hos=* | --ho=*)
441 host_alias=$ac_optarg ;; 869 host_alias=$ac_optarg ;;
442 870
871 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
872 ac_prev=htmldir ;;
873 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
874 | --ht=*)
875 htmldir=$ac_optarg ;;
876
443 -includedir | --includedir | --includedi | --included | --include \ 877 -includedir | --includedir | --includedi | --included | --include \
444 | --includ | --inclu | --incl | --inc) 878 | --includ | --inclu | --incl | --inc)
445 ac_prev=includedir ;; 879 ac_prev=includedir ;;
446 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 880 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
447 | --includ=* | --inclu=* | --incl=* | --inc=*) 881 | --includ=* | --inclu=* | --incl=* | --inc=*)
462 ac_prev=libexecdir ;; 896 ac_prev=libexecdir ;;
463 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 897 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
464 | --libexe=* | --libex=* | --libe=*) 898 | --libexe=* | --libex=* | --libe=*)
465 libexecdir=$ac_optarg ;; 899 libexecdir=$ac_optarg ;;
466 900
901 -localedir | --localedir | --localedi | --localed | --locale)
902 ac_prev=localedir ;;
903 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
904 localedir=$ac_optarg ;;
905
467 -localstatedir | --localstatedir | --localstatedi | --localstated \ 906 -localstatedir | --localstatedir | --localstatedi | --localstated \
468 | --localstate | --localstat | --localsta | --localst \ 907 | --localstate | --localstat | --localsta | --localst | --locals)
469 | --locals | --local | --loca | --loc | --lo)
470 ac_prev=localstatedir ;; 908 ac_prev=localstatedir ;;
471 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 909 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
472 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 910 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
473 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
474 localstatedir=$ac_optarg ;; 911 localstatedir=$ac_optarg ;;
475 912
476 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 913 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
477 ac_prev=mandir ;; 914 ac_prev=mandir ;;
478 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 915 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
533 | --program-transfo=* | --program-transf=* \ 970 | --program-transfo=* | --program-transf=* \
534 | --program-trans=* | --program-tran=* \ 971 | --program-trans=* | --program-tran=* \
535 | --progr-tra=* | --program-tr=* | --program-t=*) 972 | --progr-tra=* | --program-tr=* | --program-t=*)
536 program_transform_name=$ac_optarg ;; 973 program_transform_name=$ac_optarg ;;
537 974
975 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
976 ac_prev=pdfdir ;;
977 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
978 pdfdir=$ac_optarg ;;
979
980 -psdir | --psdir | --psdi | --psd | --ps)
981 ac_prev=psdir ;;
982 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
983 psdir=$ac_optarg ;;
984
538 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 985 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
539 | -silent | --silent | --silen | --sile | --sil) 986 | -silent | --silent | --silen | --sile | --sil)
540 silent=yes ;; 987 silent=yes ;;
541 988
542 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 989 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
589 # Reject names that are not valid shell variable names. 1036 # Reject names that are not valid shell variable names.
590 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 1037 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
591 { echo "$as_me: error: invalid package name: $ac_package" >&2 1038 { echo "$as_me: error: invalid package name: $ac_package" >&2
592 { (exit 1); exit 1; }; } 1039 { (exit 1); exit 1; }; }
593 ac_package=`echo $ac_package| sed 's/-/_/g'` 1040 ac_package=`echo $ac_package| sed 's/-/_/g'`
594 case $ac_option in 1041 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 1042
600 -without-* | --without-*) 1043 -without-* | --without-*)
601 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1044 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
602 # Reject names that are not valid shell variable names. 1045 # Reject names that are not valid shell variable names.
603 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 1046 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
604 { echo "$as_me: error: invalid package name: $ac_package" >&2 1047 { echo "$as_me: error: invalid package name: $ac_package" >&2
605 { (exit 1); exit 1; }; } 1048 { (exit 1); exit 1; }; }
606 ac_package=`echo $ac_package | sed 's/-/_/g'` 1049 ac_package=`echo $ac_package | sed 's/-/_/g'`
607 eval "with_$ac_package=no" ;; 1050 eval with_$ac_package=no ;;
608 1051
609 --x) 1052 --x)
610 # Obsolete; use --with-x. 1053 # Obsolete; use --with-x.
611 with_x=yes ;; 1054 with_x=yes ;;
612 1055
633 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1076 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
634 # Reject names that are not valid shell variable names. 1077 # Reject names that are not valid shell variable names.
635 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1078 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
636 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1079 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
637 { (exit 1); exit 1; }; } 1080 { (exit 1); exit 1; }; }
638 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 1081 eval $ac_envvar=\$ac_optarg
639 eval "$ac_envvar='$ac_optarg'"
640 export $ac_envvar ;; 1082 export $ac_envvar ;;
641 1083
642 *) 1084 *)
643 # FIXME: should be removed in autoconf 3.0. 1085 # FIXME: should be removed in autoconf 3.0.
644 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1086 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
654 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1096 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
655 { echo "$as_me: error: missing argument to $ac_option" >&2 1097 { echo "$as_me: error: missing argument to $ac_option" >&2
656 { (exit 1); exit 1; }; } 1098 { (exit 1); exit 1; }; }
657 fi 1099 fi
658 1100
659 # Be sure to have absolute paths. 1101 # Be sure to have absolute directory names.
660 for ac_var in exec_prefix prefix 1102 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1103 datadir sysconfdir sharedstatedir localstatedir includedir \
1104 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1105 libdir localedir mandir
661 do 1106 do
662 eval ac_val=$`echo $ac_var` 1107 eval ac_val=\$$ac_var
663 case $ac_val in 1108 case $ac_val in
664 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 1109 [\\/$]* | ?:[\\/]* ) continue;;
665 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1110 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
666 { (exit 1); exit 1; }; };;
667 esac 1111 esac
668 done 1112 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 1113 { (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 1114 done
681 1115
682 # There might be people who depend on the old broken behavior: `$host' 1116 # There might be people who depend on the old broken behavior: `$host'
683 # used to hold the argument of --host etc. 1117 # used to hold the argument of --host etc.
684 # FIXME: To remove some day. 1118 # FIXME: To remove some day.
701 test -n "$host_alias" && ac_tool_prefix=$host_alias- 1135 test -n "$host_alias" && ac_tool_prefix=$host_alias-
702 1136
703 test "$silent" = yes && exec 6>/dev/null 1137 test "$silent" = yes && exec 6>/dev/null
704 1138
705 1139
1140 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1141 ac_ls_di=`ls -di .` &&
1142 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1143 { echo "$as_me: error: Working directory cannot be determined" >&2
1144 { (exit 1); exit 1; }; }
1145 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1146 { echo "$as_me: error: pwd does not report name of working directory" >&2
1147 { (exit 1); exit 1; }; }
1148
1149
706 # Find the source files, if location was not specified. 1150 # Find the source files, if location was not specified.
707 if test -z "$srcdir"; then 1151 if test -z "$srcdir"; then
708 ac_srcdir_defaulted=yes 1152 ac_srcdir_defaulted=yes
709 # Try the directory containing this script, then its parent. 1153 # Try the directory containing this script, then the parent directory.
710 ac_confdir=`(dirname "$0") 2>/dev/null || 1154 ac_confdir=`$as_dirname -- "$0" ||
711 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1155 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
712 X"$0" : 'X\(//\)[^/]' \| \ 1156 X"$0" : 'X\(//\)[^/]' \| \
713 X"$0" : 'X\(//\)$' \| \ 1157 X"$0" : 'X\(//\)$' \| \
714 X"$0" : 'X\(/\)' \| \ 1158 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
715 . : '\(.\)' 2>/dev/null ||
716 echo X"$0" | 1159 echo X"$0" |
717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 1160 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
718 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 1161 s//\1/
719 /^X\(\/\/\)$/{ s//\1/; q; } 1162 q
720 /^X\(\/\).*/{ s//\1/; q; } 1163 }
721 s/.*/./; q'` 1164 /^X\(\/\/\)[^/].*/{
1165 s//\1/
1166 q
1167 }
1168 /^X\(\/\/\)$/{
1169 s//\1/
1170 q
1171 }
1172 /^X\(\/\).*/{
1173 s//\1/
1174 q
1175 }
1176 s/.*/./; q'`
722 srcdir=$ac_confdir 1177 srcdir=$ac_confdir
723 if test ! -r $srcdir/$ac_unique_file; then 1178 if test ! -r "$srcdir/$ac_unique_file"; then
724 srcdir=.. 1179 srcdir=..
725 fi 1180 fi
726 else 1181 else
727 ac_srcdir_defaulted=no 1182 ac_srcdir_defaulted=no
728 fi 1183 fi
729 if test ! -r $srcdir/$ac_unique_file; then 1184 if test ! -r "$srcdir/$ac_unique_file"; then
730 if test "$ac_srcdir_defaulted" = yes; then 1185 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 1186 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
732 { (exit 1); exit 1; }; } 1187 { (exit 1); exit 1; }; }
733 else 1188 fi
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1189 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1190 ac_abs_confdir=`(
1191 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
735 { (exit 1); exit 1; }; } 1192 { (exit 1); exit 1; }; }
736 fi 1193 pwd)`
737 fi 1194 # When building in place, set srcdir=.
738 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 1195 if test "$ac_abs_confdir" = "$ac_pwd"; then
739 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 1196 srcdir=.
740 { (exit 1); exit 1; }; } 1197 fi
741 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 1198 # Remove unnecessary trailing slashes from srcdir.
742 ac_env_build_alias_set=${build_alias+set} 1199 # Double slashes in file names in object file debugging info
743 ac_env_build_alias_value=$build_alias 1200 # mess up M-x gdb in Emacs.
744 ac_cv_env_build_alias_set=${build_alias+set} 1201 case $srcdir in
745 ac_cv_env_build_alias_value=$build_alias 1202 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
746 ac_env_host_alias_set=${host_alias+set} 1203 esac
747 ac_env_host_alias_value=$host_alias 1204 for ac_var in $ac_precious_vars; do
748 ac_cv_env_host_alias_set=${host_alias+set} 1205 eval ac_env_${ac_var}_set=\${${ac_var}+set}
749 ac_cv_env_host_alias_value=$host_alias 1206 eval ac_env_${ac_var}_value=\$${ac_var}
750 ac_env_target_alias_set=${target_alias+set} 1207 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
751 ac_env_target_alias_value=$target_alias 1208 eval ac_cv_env_${ac_var}_value=\$${ac_var}
752 ac_cv_env_target_alias_set=${target_alias+set} 1209 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 1210
775 # 1211 #
776 # Report the --help message. 1212 # Report the --help message.
777 # 1213 #
778 if test "$ac_init_help" = "long"; then 1214 if test "$ac_init_help" = "long"; then
797 --cache-file=FILE cache test results in FILE [disabled] 1233 --cache-file=FILE cache test results in FILE [disabled]
798 -C, --config-cache alias for \`--cache-file=config.cache' 1234 -C, --config-cache alias for \`--cache-file=config.cache'
799 -n, --no-create do not create output files 1235 -n, --no-create do not create output files
800 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1236 --srcdir=DIR find the sources in DIR [configure dir or \`..']
801 1237
802 _ACEOF
803
804 cat <<_ACEOF
805 Installation directories: 1238 Installation directories:
806 --prefix=PREFIX install architecture-independent files in PREFIX 1239 --prefix=PREFIX install architecture-independent files in PREFIX
807 [$ac_default_prefix] 1240 [$ac_default_prefix]
808 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1241 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
809 [PREFIX] 1242 [PREFIX]
817 1250
818 Fine tuning of the installation directories: 1251 Fine tuning of the installation directories:
819 --bindir=DIR user executables [EPREFIX/bin] 1252 --bindir=DIR user executables [EPREFIX/bin]
820 --sbindir=DIR system admin executables [EPREFIX/sbin] 1253 --sbindir=DIR system admin executables [EPREFIX/sbin]
821 --libexecdir=DIR program executables [EPREFIX/libexec] 1254 --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] 1255 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
824 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1256 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
825 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1257 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
826 --libdir=DIR object code libraries [EPREFIX/lib] 1258 --libdir=DIR object code libraries [EPREFIX/lib]
827 --includedir=DIR C header files [PREFIX/include] 1259 --includedir=DIR C header files [PREFIX/include]
828 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1260 --oldincludedir=DIR C header files for non-gcc [/usr/include]
829 --infodir=DIR info documentation [PREFIX/info] 1261 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
830 --mandir=DIR man documentation [PREFIX/man] 1262 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1263 --infodir=DIR info documentation [DATAROOTDIR/info]
1264 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1265 --mandir=DIR man documentation [DATAROOTDIR/man]
1266 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1267 --htmldir=DIR html documentation [DOCDIR]
1268 --dvidir=DIR dvi documentation [DOCDIR]
1269 --pdfdir=DIR pdf documentation [DOCDIR]
1270 --psdir=DIR ps documentation [DOCDIR]
831 _ACEOF 1271 _ACEOF
832 1272
833 cat <<\_ACEOF 1273 cat <<\_ACEOF
834 1274
835 Program names: 1275 Program names:
891 Some influential environment variables: 1331 Some influential environment variables:
892 CC C compiler command 1332 CC C compiler command
893 CFLAGS C compiler flags 1333 CFLAGS C compiler flags
894 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1334 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
895 nonstandard directory <lib dir> 1335 nonstandard directory <lib dir>
896 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 1336 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
897 headers in a nonstandard directory <include dir> 1337 you have headers in a nonstandard directory <include dir>
898 CPP C preprocessor 1338 CPP C preprocessor
1339 XMKMF Path to xmkmf, Makefile generator for X Window System
899 1340
900 Use these variables to override the choices made by `configure' or to help 1341 Use these variables to override the choices made by `configure' or to help
901 it to find libraries and programs with nonstandard names/locations. 1342 it to find libraries and programs with nonstandard names/locations.
902 1343
903 _ACEOF 1344 _ACEOF
1345 ac_status=$?
904 fi 1346 fi
905 1347
906 if test "$ac_init_help" = "recursive"; then 1348 if test "$ac_init_help" = "recursive"; then
907 # If there are subdirs, report their specific --help. 1349 # 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 1350 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
910 test -d $ac_dir || continue 1351 test -d "$ac_dir" || continue
911 ac_builddir=. 1352 ac_builddir=.
912 1353
913 if test "$ac_dir" != .; then 1354 case "$ac_dir" in
1355 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1356 *)
914 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1357 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
915 # A "../" for each directory in $ac_dir_suffix. 1358 # A ".." for each directory in $ac_dir_suffix.
916 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 1359 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
917 else 1360 case $ac_top_builddir_sub in
918 ac_dir_suffix= ac_top_builddir= 1361 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
919 fi 1362 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1363 esac ;;
1364 esac
1365 ac_abs_top_builddir=$ac_pwd
1366 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1367 # for backward compatibility:
1368 ac_top_builddir=$ac_top_build_prefix
920 1369
921 case $srcdir in 1370 case $srcdir in
922 .) # No --srcdir option. We are building in place. 1371 .) # We are building in place.
923 ac_srcdir=. 1372 ac_srcdir=.
924 if test -z "$ac_top_builddir"; then 1373 ac_top_srcdir=$ac_top_builddir_sub
925 ac_top_srcdir=. 1374 ac_abs_top_srcdir=$ac_pwd ;;
926 else 1375 [\\/]* | ?:[\\/]* ) # Absolute name.
927 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
928 fi ;;
929 [\\/]* | ?:[\\/]* ) # Absolute path.
930 ac_srcdir=$srcdir$ac_dir_suffix; 1376 ac_srcdir=$srcdir$ac_dir_suffix;
931 ac_top_srcdir=$srcdir ;; 1377 ac_top_srcdir=$srcdir
932 *) # Relative path. 1378 ac_abs_top_srcdir=$srcdir ;;
933 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 1379 *) # Relative name.
934 ac_top_srcdir=$ac_top_builddir$srcdir ;; 1380 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
935 esac 1381 ac_top_srcdir=$ac_top_build_prefix$srcdir
936 1382 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
937 # Do not use `cd foo && pwd` to compute absolute paths, because 1383 esac
938 # the directories may not exist. 1384 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
939 case `pwd` in 1385
940 .) ac_abs_builddir="$ac_dir";; 1386 cd "$ac_dir" || { ac_status=$?; continue; }
941 *) 1387 # Check for guested configure.
942 case "$ac_dir" in 1388 if test -f "$ac_srcdir/configure.gnu"; then
943 .) ac_abs_builddir=`pwd`;; 1389 echo &&
944 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 1390 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
945 *) ac_abs_builddir=`pwd`/"$ac_dir";; 1391 elif test -f "$ac_srcdir/configure"; then
946 esac;; 1392 echo &&
947 esac 1393 $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 1394 else
989 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1395 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
990 fi 1396 fi || ac_status=$?
991 cd "$ac_popdir" 1397 cd "$ac_pwd" || { ac_status=$?; break; }
992 done 1398 done
993 fi 1399 fi
994 1400
995 test -n "$ac_init_help" && exit 0 1401 test -n "$ac_init_help" && exit $ac_status
996 if $ac_init_version; then 1402 if $ac_init_version; then
997 cat <<\_ACEOF 1403 cat <<\_ACEOF
998 1404 configure
999 Copyright (C) 2003 Free Software Foundation, Inc. 1405 generated by GNU Autoconf 2.60
1406
1407 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1408 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1000 This configure script is free software; the Free Software Foundation 1409 This configure script is free software; the Free Software Foundation
1001 gives unlimited permission to copy, distribute and modify it. 1410 gives unlimited permission to copy, distribute and modify it.
1002 _ACEOF 1411 _ACEOF
1003 exit 0 1412 exit
1004 fi 1413 fi
1005 exec 5>config.log 1414 cat >config.log <<_ACEOF
1006 cat >&5 <<_ACEOF
1007 This file contains any messages produced by compilers while 1415 This file contains any messages produced by compilers while
1008 running configure, to aid debugging if configure makes a mistake. 1416 running configure, to aid debugging if configure makes a mistake.
1009 1417
1010 It was created by $as_me, which was 1418 It was created by $as_me, which was
1011 generated by GNU Autoconf 2.59. Invocation command line was 1419 generated by GNU Autoconf 2.60. Invocation command line was
1012 1420
1013 $ $0 $@ 1421 $ $0 $@
1014 1422
1015 _ACEOF 1423 _ACEOF
1424 exec 5>>config.log
1016 { 1425 {
1017 cat <<_ASUNAME 1426 cat <<_ASUNAME
1018 ## --------- ## 1427 ## --------- ##
1019 ## Platform. ## 1428 ## Platform. ##
1020 ## --------- ## 1429 ## --------- ##
1029 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1438 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1030 1439
1031 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1440 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1032 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1441 /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` 1442 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1034 hostinfo = `(hostinfo) 2>/dev/null || echo unknown` 1443 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1035 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1444 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1036 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1445 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1037 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1446 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1038 1447
1039 _ASUNAME 1448 _ASUNAME
1043 do 1452 do
1044 IFS=$as_save_IFS 1453 IFS=$as_save_IFS
1045 test -z "$as_dir" && as_dir=. 1454 test -z "$as_dir" && as_dir=.
1046 echo "PATH: $as_dir" 1455 echo "PATH: $as_dir"
1047 done 1456 done
1457 IFS=$as_save_IFS
1048 1458
1049 } >&5 1459 } >&5
1050 1460
1051 cat >&5 <<_ACEOF 1461 cat >&5 <<_ACEOF
1052 1462
1064 # Also quote any args containing shell meta-characters. 1474 # Also quote any args containing shell meta-characters.
1065 # Make two passes to allow for proper duplicate-argument suppression. 1475 # Make two passes to allow for proper duplicate-argument suppression.
1066 ac_configure_args= 1476 ac_configure_args=
1067 ac_configure_args0= 1477 ac_configure_args0=
1068 ac_configure_args1= 1478 ac_configure_args1=
1069 ac_sep=
1070 ac_must_keep_next=false 1479 ac_must_keep_next=false
1071 for ac_pass in 1 2 1480 for ac_pass in 1 2
1072 do 1481 do
1073 for ac_arg 1482 for ac_arg
1074 do 1483 do
1075 case $ac_arg in 1484 case $ac_arg in
1076 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1485 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1077 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1486 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1078 | -silent | --silent | --silen | --sile | --sil) 1487 | -silent | --silent | --silen | --sile | --sil)
1079 continue ;; 1488 continue ;;
1080 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1489 *\'*)
1081 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1490 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1082 esac 1491 esac
1083 case $ac_pass in 1492 case $ac_pass in
1084 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1493 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1085 2) 1494 2)
1097 esac 1506 esac
1098 ;; 1507 ;;
1099 -* ) ac_must_keep_next=true ;; 1508 -* ) ac_must_keep_next=true ;;
1100 esac 1509 esac
1101 fi 1510 fi
1102 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1511 ac_configure_args="$ac_configure_args '$ac_arg'"
1103 # Get rid of the leading space.
1104 ac_sep=" "
1105 ;; 1512 ;;
1106 esac 1513 esac
1107 done 1514 done
1108 done 1515 done
1109 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1516 $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; } 1517 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1111 1518
1112 # When interrupted or exit'd, cleanup temporary files, and complete 1519 # When interrupted or exit'd, cleanup temporary files, and complete
1113 # config.log. We remove comments because anyway the quotes in there 1520 # config.log. We remove comments because anyway the quotes in there
1114 # would cause problems or look ugly. 1521 # would cause problems or look ugly.
1115 # WARNING: Be sure not to use single quotes in there, as some shells, 1522 # WARNING: Use '\'' to represent an apostrophe within the trap.
1116 # such as our DU 5.0 friend, will then `close' the trap. 1523 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1117 trap 'exit_status=$? 1524 trap 'exit_status=$?
1118 # Save into config.log some information that might help in debugging. 1525 # Save into config.log some information that might help in debugging.
1119 { 1526 {
1120 echo 1527 echo
1121 1528
1124 ## Cache variables. ## 1531 ## Cache variables. ##
1125 ## ---------------- ## 1532 ## ---------------- ##
1126 _ASBOX 1533 _ASBOX
1127 echo 1534 echo
1128 # The following way of writing the cache mishandles newlines in values, 1535 # The following way of writing the cache mishandles newlines in values,
1129 { 1536 (
1537 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1538 eval ac_val=\$$ac_var
1539 case $ac_val in #(
1540 *${as_nl}*)
1541 case $ac_var in #(
1542 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1543 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1544 esac
1545 case $ac_var in #(
1546 _ | IFS | as_nl) ;; #(
1547 *) $as_unset $ac_var ;;
1548 esac ;;
1549 esac
1550 done
1130 (set) 2>&1 | 1551 (set) 2>&1 |
1131 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1552 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1132 *ac_space=\ *) 1553 *${as_nl}ac_space=\ *)
1133 sed -n \ 1554 sed -n \
1134 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1555 "s/'\''/'\''\\\\'\'''\''/g;
1135 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1556 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1557 ;; #(
1558 *)
1559 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1136 ;; 1560 ;;
1137 *) 1561 esac |
1138 sed -n \ 1562 sort
1139 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1563 )
1140 ;;
1141 esac;
1142 }
1143 echo 1564 echo
1144 1565
1145 cat <<\_ASBOX 1566 cat <<\_ASBOX
1146 ## ----------------- ## 1567 ## ----------------- ##
1147 ## Output variables. ## 1568 ## Output variables. ##
1148 ## ----------------- ## 1569 ## ----------------- ##
1149 _ASBOX 1570 _ASBOX
1150 echo 1571 echo
1151 for ac_var in $ac_subst_vars 1572 for ac_var in $ac_subst_vars
1152 do 1573 do
1153 eval ac_val=$`echo $ac_var` 1574 eval ac_val=\$$ac_var
1154 echo "$ac_var='"'"'$ac_val'"'"'" 1575 case $ac_val in
1576 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1577 esac
1578 echo "$ac_var='\''$ac_val'\''"
1155 done | sort 1579 done | sort
1156 echo 1580 echo
1157 1581
1158 if test -n "$ac_subst_files"; then 1582 if test -n "$ac_subst_files"; then
1159 cat <<\_ASBOX 1583 cat <<\_ASBOX
1160 ## ------------- ## 1584 ## ------------------- ##
1161 ## Output files. ## 1585 ## File substitutions. ##
1162 ## ------------- ## 1586 ## ------------------- ##
1163 _ASBOX 1587 _ASBOX
1164 echo 1588 echo
1165 for ac_var in $ac_subst_files 1589 for ac_var in $ac_subst_files
1166 do 1590 do
1167 eval ac_val=$`echo $ac_var` 1591 eval ac_val=\$$ac_var
1168 echo "$ac_var='"'"'$ac_val'"'"'" 1592 case $ac_val in
1593 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1594 esac
1595 echo "$ac_var='\''$ac_val'\''"
1169 done | sort 1596 done | sort
1170 echo 1597 echo
1171 fi 1598 fi
1172 1599
1173 if test -s confdefs.h; then 1600 if test -s confdefs.h; then
1175 ## ----------- ## 1602 ## ----------- ##
1176 ## confdefs.h. ## 1603 ## confdefs.h. ##
1177 ## ----------- ## 1604 ## ----------- ##
1178 _ASBOX 1605 _ASBOX
1179 echo 1606 echo
1180 sed "/^$/d" confdefs.h | sort 1607 cat confdefs.h
1181 echo 1608 echo
1182 fi 1609 fi
1183 test "$ac_signal" != 0 && 1610 test "$ac_signal" != 0 &&
1184 echo "$as_me: caught signal $ac_signal" 1611 echo "$as_me: caught signal $ac_signal"
1185 echo "$as_me: exit $exit_status" 1612 echo "$as_me: exit $exit_status"
1186 } >&5 1613 } >&5
1187 rm -f core *.core && 1614 rm -f core *.core core.conftest.* &&
1188 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 1615 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1189 exit $exit_status 1616 exit $exit_status
1190 ' 0 1617 ' 0
1191 for ac_signal in 1 2 13 15; do 1618 for ac_signal in 1 2 13 15; do
1192 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1619 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1193 done 1620 done
1194 ac_signal=0 1621 ac_signal=0
1195 1622
1196 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1623 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1197 rm -rf conftest* confdefs.h 1624 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 1625
1201 # Predefined preprocessor variables. 1626 # Predefined preprocessor variables.
1202 1627
1203 cat >>confdefs.h <<_ACEOF 1628 cat >>confdefs.h <<_ACEOF
1204 #define PACKAGE_NAME "$PACKAGE_NAME" 1629 #define PACKAGE_NAME "$PACKAGE_NAME"
1225 _ACEOF 1650 _ACEOF
1226 1651
1227 1652
1228 # Let the site file select an alternate cache file if it wants to. 1653 # Let the site file select an alternate cache file if it wants to.
1229 # Prefer explicitly selected file to automatically selected ones. 1654 # Prefer explicitly selected file to automatically selected ones.
1230 if test -z "$CONFIG_SITE"; then 1655 if test -n "$CONFIG_SITE"; then
1231 if test "x$prefix" != xNONE; then 1656 set x "$CONFIG_SITE"
1232 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1657 elif test "x$prefix" != xNONE; then
1233 else 1658 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" 1659 else
1235 fi 1660 set x "$ac_default_prefix/share/config.site" \
1236 fi 1661 "$ac_default_prefix/etc/config.site"
1237 for ac_site_file in $CONFIG_SITE; do 1662 fi
1663 shift
1664 for ac_site_file
1665 do
1238 if test -r "$ac_site_file"; then 1666 if test -r "$ac_site_file"; then
1239 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1667 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1240 echo "$as_me: loading site script $ac_site_file" >&6;} 1668 echo "$as_me: loading site script $ac_site_file" >&6;}
1241 sed 's/^/| /' "$ac_site_file" >&5 1669 sed 's/^/| /' "$ac_site_file" >&5
1242 . "$ac_site_file" 1670 . "$ac_site_file"
1248 # files actually), so we avoid doing that. 1676 # files actually), so we avoid doing that.
1249 if test -f "$cache_file"; then 1677 if test -f "$cache_file"; then
1250 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1678 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1251 echo "$as_me: loading cache $cache_file" >&6;} 1679 echo "$as_me: loading cache $cache_file" >&6;}
1252 case $cache_file in 1680 case $cache_file in
1253 [\\/]* | ?:[\\/]* ) . $cache_file;; 1681 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1254 *) . ./$cache_file;; 1682 *) . "./$cache_file";;
1255 esac 1683 esac
1256 fi 1684 fi
1257 else 1685 else
1258 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1686 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1259 echo "$as_me: creating cache $cache_file" >&6;} 1687 echo "$as_me: creating cache $cache_file" >&6;}
1261 fi 1689 fi
1262 1690
1263 # Check that the precious variables saved in the cache have kept the same 1691 # Check that the precious variables saved in the cache have kept the same
1264 # value. 1692 # value.
1265 ac_cache_corrupted=false 1693 ac_cache_corrupted=false
1266 for ac_var in `(set) 2>&1 | 1694 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 1695 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1269 eval ac_new_set=\$ac_env_${ac_var}_set 1696 eval ac_new_set=\$ac_env_${ac_var}_set
1270 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1697 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1271 eval ac_new_val="\$ac_env_${ac_var}_value" 1698 eval ac_new_val=\$ac_env_${ac_var}_value
1272 case $ac_old_set,$ac_new_set in 1699 case $ac_old_set,$ac_new_set in
1273 set,) 1700 set,)
1274 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1701 { 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;} 1702 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1276 ac_cache_corrupted=: ;; 1703 ac_cache_corrupted=: ;;
1291 fi;; 1718 fi;;
1292 esac 1719 esac
1293 # Pass precious variables to config.status. 1720 # Pass precious variables to config.status.
1294 if test "$ac_new_set" = set; then 1721 if test "$ac_new_set" = set; then
1295 case $ac_new_val in 1722 case $ac_new_val in
1296 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1723 *\'*) 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 ;; 1724 *) ac_arg=$ac_var=$ac_new_val ;;
1299 esac 1725 esac
1300 case " $ac_configure_args " in 1726 case " $ac_configure_args " in
1301 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1727 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1302 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1728 *) 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 1735 { { 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;} 1736 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1311 { (exit 1); exit 1; }; } 1737 { (exit 1); exit 1; }; }
1312 fi 1738 fi
1313 1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1314 ac_ext=c 1756 ac_ext=c
1315 ac_cpp='$CPP $CPPFLAGS' 1757 ac_cpp='$CPP $CPPFLAGS'
1316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1758 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' 1759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1318 ac_compiler_gnu=$ac_cv_c_compiler_gnu 1760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1319 1761
1320 1762
1321 1763 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 1764
1340 1765
1341 test "$program_prefix" != NONE && 1766 test "$program_prefix" != NONE &&
1342 program_transform_name="s,^,$program_prefix,;$program_transform_name" 1767 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1343 # Use a double $ so make ignores it. 1768 # Use a double $ so make ignores it.
1344 test "$program_suffix" != NONE && 1769 test "$program_suffix" != NONE &&
1345 program_transform_name="s,\$,$program_suffix,;$program_transform_name" 1770 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1346 # Double any \ or $. echo might interpret backslashes. 1771 # Double any \ or $. echo might interpret backslashes.
1347 # By default was `s,x,x', remove it if useless. 1772 # By default was `s,x,x', remove it if useless.
1348 cat <<\_ACEOF >conftest.sed 1773 cat <<\_ACEOF >conftest.sed
1349 s/[\\$]/&&/g;s/;s,x,x,$// 1774 s/[\\$]/&&/g;s/;s,x,x,$//
1350 _ACEOF 1775 _ACEOF
1351 program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 1776 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1352 rm conftest.sed 1777 rm -f conftest.sed
1353 1778
1354 1779
1355 lispdir='${datadir}/emacs/${version}/lisp' 1780 lispdir='${datadir}/emacs/${version}/lisp'
1356 locallisppath='${datadir}/emacs/${version}/site-lisp:'\ 1781 locallisppath='${datadir}/emacs/${version}/site-lisp:'\
1357 '${datadir}/emacs/site-lisp' 1782 '${datadir}/emacs/site-lisp'
1362 gamedir='${localstatedir}/games/emacs' 1787 gamedir='${localstatedir}/games/emacs'
1363 1788
1364 gameuser=games 1789 gameuser=games
1365 1790
1366 1791
1367 # Check whether --with-gcc or --without-gcc was given. 1792 # Check whether --with-gcc was given.
1368 if test "${with_gcc+set}" = set; then 1793 if test "${with_gcc+set}" = set; then
1369 withval="$with_gcc" 1794 withval=$with_gcc;
1370 1795 fi
1371 fi; 1796
1372 1797
1373 # Check whether --with-pop or --without-pop was given. 1798 # Check whether --with-pop was given.
1374 if test "${with_pop+set}" = set; then 1799 if test "${with_pop+set}" = set; then
1375 withval="$with_pop" 1800 withval=$with_pop; if test "$withval" = yes; then
1376 if test "$withval" = yes; then
1377 cat >>confdefs.h <<\_ACEOF 1801 cat >>confdefs.h <<\_ACEOF
1378 #define MAIL_USE_POP 1 1802 #define MAIL_USE_POP 1
1379 _ACEOF 1803 _ACEOF
1380 1804
1381 else : 1805 else :
1383 else 1807 else
1384 cat >>confdefs.h <<\_ACEOF 1808 cat >>confdefs.h <<\_ACEOF
1385 #define MAIL_USE_POP 1 1809 #define MAIL_USE_POP 1
1386 _ACEOF 1810 _ACEOF
1387 1811
1388 fi; 1812 fi
1389 1813
1390 1814
1391 # Check whether --with-kerberos or --without-kerberos was given. 1815
1816 # Check whether --with-kerberos was given.
1392 if test "${with_kerberos+set}" = set; then 1817 if test "${with_kerberos+set}" = set; then
1393 withval="$with_kerberos" 1818 withval=$with_kerberos; cat >>confdefs.h <<\_ACEOF
1394 cat >>confdefs.h <<\_ACEOF
1395 #define KERBEROS 1 1819 #define KERBEROS 1
1396 _ACEOF 1820 _ACEOF
1397 1821
1398 fi; 1822 fi
1399 1823
1400 1824
1401 # Check whether --with-kerberos5 or --without-kerberos5 was given. 1825
1826 # Check whether --with-kerberos5 was given.
1402 if test "${with_kerberos5+set}" = set; then 1827 if test "${with_kerberos5+set}" = set; then
1403 withval="$with_kerberos5" 1828 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 1829 if test "${with_kerberos+set}" != set; then
1406 with_kerberos=yes 1830 with_kerberos=yes
1407 cat >>confdefs.h <<\_ACEOF 1831 cat >>confdefs.h <<\_ACEOF
1408 #define KERBEROS 1 1832 #define KERBEROS 1
1409 _ACEOF 1833 _ACEOF
1413 1837
1414 cat >>confdefs.h <<\_ACEOF 1838 cat >>confdefs.h <<\_ACEOF
1415 #define KERBEROS5 1 1839 #define KERBEROS5 1
1416 _ACEOF 1840 _ACEOF
1417 1841
1418 fi; 1842 fi
1419 1843
1420 # Check whether --with-hesiod or --without-hesiod was given. 1844
1845 # Check whether --with-hesiod was given.
1421 if test "${with_hesiod+set}" = set; then 1846 if test "${with_hesiod+set}" = set; then
1422 withval="$with_hesiod" 1847 withval=$with_hesiod;
1423
1424 cat >>confdefs.h <<\_ACEOF 1848 cat >>confdefs.h <<\_ACEOF
1425 #define HESIOD 1 1849 #define HESIOD 1
1426 _ACEOF 1850 _ACEOF
1427 1851
1428 fi; 1852 fi
1429 1853
1430 1854
1431 # Check whether --with-sound or --without-sound was given. 1855
1856 # Check whether --with-sound was given.
1432 if test "${with_sound+set}" = set; then 1857 if test "${with_sound+set}" = set; then
1433 withval="$with_sound" 1858 withval=$with_sound;
1434 1859 fi
1435 fi; 1860
1436 1861
1437 1862
1438 # Check whether --with-x-toolkit or --without-x-toolkit was given. 1863 # Check whether --with-x-toolkit was given.
1439 if test "${with_x_toolkit+set}" = set; then 1864 if test "${with_x_toolkit+set}" = set; then
1440 withval="$with_x_toolkit" 1865 withval=$with_x_toolkit; case "${withval}" in
1441 case "${withval}" in
1442 y | ye | yes ) val=athena ;; 1866 y | ye | yes ) val=athena ;;
1443 n | no ) val=no ;; 1867 n | no ) val=no ;;
1444 l | lu | luc | luci | lucid ) val=lucid ;; 1868 l | lu | luc | luci | lucid ) val=lucid ;;
1445 a | at | ath | athe | athen | athena ) val=athena ;; 1869 a | at | ath | athe | athen | athena ) val=athena ;;
1446 m | mo | mot | moti | motif ) val=motif ;; 1870 m | mo | mot | moti | motif ) val=motif ;;
1455 { (exit 1); exit 1; }; } 1879 { (exit 1); exit 1; }; }
1456 ;; 1880 ;;
1457 esac 1881 esac
1458 with_x_toolkit=$val 1882 with_x_toolkit=$val
1459 1883
1460 fi; 1884 fi
1461 1885
1462 # Check whether --with-xpm or --without-xpm was given. 1886
1887 # Check whether --with-xpm was given.
1463 if test "${with_xpm+set}" = set; then 1888 if test "${with_xpm+set}" = set; then
1464 withval="$with_xpm" 1889 withval=$with_xpm;
1465 1890 fi
1466 fi; 1891
1467 1892
1468 # Check whether --with-jpeg or --without-jpeg was given. 1893 # Check whether --with-jpeg was given.
1469 if test "${with_jpeg+set}" = set; then 1894 if test "${with_jpeg+set}" = set; then
1470 withval="$with_jpeg" 1895 withval=$with_jpeg;
1471 1896 fi
1472 fi; 1897
1473 1898
1474 # Check whether --with-tiff or --without-tiff was given. 1899 # Check whether --with-tiff was given.
1475 if test "${with_tiff+set}" = set; then 1900 if test "${with_tiff+set}" = set; then
1476 withval="$with_tiff" 1901 withval=$with_tiff;
1477 1902 fi
1478 fi; 1903
1479 1904
1480 # Check whether --with-gif or --without-gif was given. 1905 # Check whether --with-gif was given.
1481 if test "${with_gif+set}" = set; then 1906 if test "${with_gif+set}" = set; then
1482 withval="$with_gif" 1907 withval=$with_gif;
1483 1908 fi
1484 fi; 1909
1485 1910
1486 # Check whether --with-png or --without-png was given. 1911 # Check whether --with-png was given.
1487 if test "${with_png+set}" = set; then 1912 if test "${with_png+set}" = set; then
1488 withval="$with_png" 1913 withval=$with_png;
1489 1914 fi
1490 fi; 1915
1491 1916
1492 # Check whether --with-gtk or --without-gtk was given. 1917 # Check whether --with-gtk was given.
1493 if test "${with_gtk+set}" = set; then 1918 if test "${with_gtk+set}" = set; then
1494 withval="$with_gtk" 1919 withval=$with_gtk;
1495 1920 fi
1496 fi; 1921
1497 1922
1498 # Check whether --with-pkg-config-prog or --without-pkg-config-prog was given. 1923 # Check whether --with-pkg-config-prog was given.
1499 if test "${with_pkg_config_prog+set}" = set; then 1924 if test "${with_pkg_config_prog+set}" = set; then
1500 withval="$with_pkg_config_prog" 1925 withval=$with_pkg_config_prog;
1501 1926 fi
1502 fi; 1927
1503 1928
1504 # Check whether --with-toolkit-scroll-bars or --without-toolkit-scroll-bars was given. 1929 # Check whether --with-toolkit-scroll-bars was given.
1505 if test "${with_toolkit_scroll_bars+set}" = set; then 1930 if test "${with_toolkit_scroll_bars+set}" = set; then
1506 withval="$with_toolkit_scroll_bars" 1931 withval=$with_toolkit_scroll_bars;
1507 1932 fi
1508 fi; 1933
1509 1934
1510 # Check whether --with-xim or --without-xim was given. 1935 # Check whether --with-xim was given.
1511 if test "${with_xim+set}" = set; then 1936 if test "${with_xim+set}" = set; then
1512 withval="$with_xim" 1937 withval=$with_xim;
1513 1938 fi
1514 fi; 1939
1515 1940
1516 # Check whether --with-carbon or --without-carbon was given. 1941 # Check whether --with-carbon was given.
1517 if test "${with_carbon+set}" = set; then 1942 if test "${with_carbon+set}" = set; then
1518 withval="$with_carbon" 1943 withval=$with_carbon;
1519 1944 fi
1520 fi; 1945
1521 # Check whether --enable-carbon-app or --disable-carbon-app was given. 1946 # Check whether --enable-carbon-app was given.
1522 if test "${enable_carbon_app+set}" = set; then 1947 if test "${enable_carbon_app+set}" = set; then
1523 enableval="$enable_carbon_app" 1948 enableval=$enable_carbon_app; carbon_appdir_x=${enableval}
1524 carbon_appdir_x=${enableval} 1949 fi
1525 fi; 1950
1526 1951
1527 # Check whether --enable-asserts or --disable-asserts was given. 1952 # Check whether --enable-asserts was given.
1528 if test "${enable_asserts+set}" = set; then 1953 if test "${enable_asserts+set}" = set; then
1529 enableval="$enable_asserts" 1954 enableval=$enable_asserts; USE_XASSERTS=$enableval
1530 USE_XASSERTS=$enableval
1531 else 1955 else
1532 USE_XASSERTS=no 1956 USE_XASSERTS=no
1533 fi; 1957 fi
1534 1958
1535 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. 1959
1960 # Check whether --enable-maintainer-mode was given.
1536 if test "${enable_maintainer_mode+set}" = set; then 1961 if test "${enable_maintainer_mode+set}" = set; then
1537 enableval="$enable_maintainer_mode" 1962 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
1538 USE_MAINTAINER_MODE=$enableval
1539 else 1963 else
1540 USE_MAINTAINER_MODE=no 1964 USE_MAINTAINER_MODE=no
1541 fi; 1965 fi
1966
1542 if test $USE_MAINTAINER_MODE = yes; then 1967 if test $USE_MAINTAINER_MODE = yes; then
1543 MAINT= 1968 MAINT=
1544 else 1969 else
1545 MAINT=# 1970 MAINT=#
1546 fi 1971 fi
1547 1972
1548 1973
1549 # Check whether --enable-locallisppath or --disable-locallisppath was given. 1974 # Check whether --enable-locallisppath was given.
1550 if test "${enable_locallisppath+set}" = set; then 1975 if test "${enable_locallisppath+set}" = set; then
1551 enableval="$enable_locallisppath" 1976 enableval=$enable_locallisppath; if test "${enableval}" = "no"; then
1552 if test "${enableval}" = "no"; then
1553 locallisppath= 1977 locallisppath=
1554 elif test "${enableval}" != "yes"; then 1978 elif test "${enableval}" != "yes"; then
1555 locallisppath=${enableval} 1979 locallisppath=${enableval}
1556 fi 1980 fi
1557 fi; 1981 fi
1982
1558 1983
1559 #### Make srcdir absolute, if it isn't already. It's important to 1984 #### Make srcdir absolute, if it isn't already. It's important to
1560 #### avoid running the path through pwd unnecessarily, since pwd can 1985 #### avoid running the path through pwd unnecessarily, since pwd can
1561 #### give you automounter prefixes, which can go away. We do all this 1986 #### give you automounter prefixes, which can go away. We do all this
1562 #### so Emacs can find its files when run uninstalled. 1987 #### so Emacs can find its files when run uninstalled.
1601 #### names of the m/*.h and s/*.h files we should use. 2026 #### names of the m/*.h and s/*.h files we should use.
1602 2027
1603 ### Canonicalize the configuration name. 2028 ### Canonicalize the configuration name.
1604 2029
1605 ac_aux_dir= 2030 ac_aux_dir=
1606 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 2031 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1607 if test -f $ac_dir/install-sh; then 2032 if test -f "$ac_dir/install-sh"; then
1608 ac_aux_dir=$ac_dir 2033 ac_aux_dir=$ac_dir
1609 ac_install_sh="$ac_aux_dir/install-sh -c" 2034 ac_install_sh="$ac_aux_dir/install-sh -c"
1610 break 2035 break
1611 elif test -f $ac_dir/install.sh; then 2036 elif test -f "$ac_dir/install.sh"; then
1612 ac_aux_dir=$ac_dir 2037 ac_aux_dir=$ac_dir
1613 ac_install_sh="$ac_aux_dir/install.sh -c" 2038 ac_install_sh="$ac_aux_dir/install.sh -c"
1614 break 2039 break
1615 elif test -f $ac_dir/shtool; then 2040 elif test -f "$ac_dir/shtool"; then
1616 ac_aux_dir=$ac_dir 2041 ac_aux_dir=$ac_dir
1617 ac_install_sh="$ac_aux_dir/shtool install -c" 2042 ac_install_sh="$ac_aux_dir/shtool install -c"
1618 break 2043 break
1619 fi 2044 fi
1620 done 2045 done
1621 if test -z "$ac_aux_dir"; then 2046 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 2047 { { 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;} 2048 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1624 { (exit 1); exit 1; }; } 2049 { (exit 1); exit 1; }; }
1625 fi 2050 fi
1626 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 2051
1627 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 2052 # These three variables are undocumented and unsupported,
1628 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 2053 # and are intended to be withdrawn in a future Autoconf release.
2054 # They can cause serious problems if a builder's source tree is in a directory
2055 # whose full name contains unusual characters.
2056 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2057 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2058 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2059
1629 2060
1630 # Make sure we can run config.sub. 2061 # Make sure we can run config.sub.
1631 $ac_config_sub sun4 >/dev/null 2>&1 || 2062 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1632 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 2063 { { 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;} 2064 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1634 { (exit 1); exit 1; }; } 2065 { (exit 1); exit 1; }; }
1635 2066
1636 echo "$as_me:$LINENO: checking build system type" >&5 2067 { echo "$as_me:$LINENO: checking build system type" >&5
1637 echo $ECHO_N "checking build system type... $ECHO_C" >&6 2068 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1638 if test "${ac_cv_build+set}" = set; then 2069 if test "${ac_cv_build+set}" = set; then
1639 echo $ECHO_N "(cached) $ECHO_C" >&6 2070 echo $ECHO_N "(cached) $ECHO_C" >&6
1640 else 2071 else
1641 ac_cv_build_alias=$build_alias 2072 ac_build_alias=$build_alias
1642 test -z "$ac_cv_build_alias" && 2073 test "x$ac_build_alias" = x &&
1643 ac_cv_build_alias=`$ac_config_guess` 2074 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1644 test -z "$ac_cv_build_alias" && 2075 test "x$ac_build_alias" = x &&
1645 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 2076 { { 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;} 2077 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1647 { (exit 1); exit 1; }; } 2078 { (exit 1); exit 1; }; }
1648 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 2079 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 2080 { { 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;} 2081 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1651 { (exit 1); exit 1; }; } 2082 { (exit 1); exit 1; }; }
1652 2083
1653 fi 2084 fi
1654 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 2085 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1655 echo "${ECHO_T}$ac_cv_build" >&6 2086 echo "${ECHO_T}$ac_cv_build" >&6; }
2087 case $ac_cv_build in
2088 *-*-*) ;;
2089 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2090 echo "$as_me: error: invalid value of canonical build" >&2;}
2091 { (exit 1); exit 1; }; };;
2092 esac
1656 build=$ac_cv_build 2093 build=$ac_cv_build
1657 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 2094 ac_save_IFS=$IFS; IFS='-'
1658 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 2095 set x $ac_cv_build
1659 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 2096 shift
1660 2097 build_cpu=$1
1661 2098 build_vendor=$2
1662 echo "$as_me:$LINENO: checking host system type" >&5 2099 shift; shift
1663 echo $ECHO_N "checking host system type... $ECHO_C" >&6 2100 # Remember, the first character of IFS is used to create $*,
2101 # except with old shells:
2102 build_os=$*
2103 IFS=$ac_save_IFS
2104 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2105
2106
2107 { echo "$as_me:$LINENO: checking host system type" >&5
2108 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1664 if test "${ac_cv_host+set}" = set; then 2109 if test "${ac_cv_host+set}" = set; then
1665 echo $ECHO_N "(cached) $ECHO_C" >&6 2110 echo $ECHO_N "(cached) $ECHO_C" >&6
1666 else 2111 else
1667 ac_cv_host_alias=$host_alias 2112 if test "x$host_alias" = x; then
1668 test -z "$ac_cv_host_alias" && 2113 ac_cv_host=$ac_cv_build
1669 ac_cv_host_alias=$ac_cv_build_alias 2114 else
1670 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 2115 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 2116 { { 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;} 2117 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1673 { (exit 1); exit 1; }; } 2118 { (exit 1); exit 1; }; }
1674 2119 fi
1675 fi 2120
1676 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 2121 fi
1677 echo "${ECHO_T}$ac_cv_host" >&6 2122 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2123 echo "${ECHO_T}$ac_cv_host" >&6; }
2124 case $ac_cv_host in
2125 *-*-*) ;;
2126 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2127 echo "$as_me: error: invalid value of canonical host" >&2;}
2128 { (exit 1); exit 1; }; };;
2129 esac
1678 host=$ac_cv_host 2130 host=$ac_cv_host
1679 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 2131 ac_save_IFS=$IFS; IFS='-'
1680 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 2132 set x $ac_cv_host
1681 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 2133 shift
2134 host_cpu=$1
2135 host_vendor=$2
2136 shift; shift
2137 # Remember, the first character of IFS is used to create $*,
2138 # except with old shells:
2139 host_os=$*
2140 IFS=$ac_save_IFS
2141 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1682 2142
1683 2143
1684 canonical=$host 2144 canonical=$host
1685 configuration=${host_alias-$host} 2145 configuration=${host_alias-$host}
1686 2146
2726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2727 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2728 if test -n "$ac_tool_prefix"; then 3188 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. 3189 # 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 3190 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2731 echo "$as_me:$LINENO: checking for $ac_word" >&5 3191 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2732 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2733 if test "${ac_cv_prog_CC+set}" = set; then 3193 if test "${ac_cv_prog_CC+set}" = set; then
2734 echo $ECHO_N "(cached) $ECHO_C" >&6 3194 echo $ECHO_N "(cached) $ECHO_C" >&6
2735 else 3195 else
2736 if test -n "$CC"; then 3196 if test -n "$CC"; then
2737 ac_cv_prog_CC="$CC" # Let the user override the test. 3197 ac_cv_prog_CC="$CC" # Let the user override the test.
2740 for as_dir in $PATH 3200 for as_dir in $PATH
2741 do 3201 do
2742 IFS=$as_save_IFS 3202 IFS=$as_save_IFS
2743 test -z "$as_dir" && as_dir=. 3203 test -z "$as_dir" && as_dir=.
2744 for ac_exec_ext in '' $ac_executable_extensions; do 3204 for ac_exec_ext in '' $ac_executable_extensions; do
2745 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3205 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" 3206 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2747 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2748 break 2 3208 break 2
2749 fi 3209 fi
2750 done 3210 done
2751 done 3211 done
3212 IFS=$as_save_IFS
2752 3213
2753 fi 3214 fi
2754 fi 3215 fi
2755 CC=$ac_cv_prog_CC 3216 CC=$ac_cv_prog_CC
2756 if test -n "$CC"; then 3217 if test -n "$CC"; then
2757 echo "$as_me:$LINENO: result: $CC" >&5 3218 { echo "$as_me:$LINENO: result: $CC" >&5
2758 echo "${ECHO_T}$CC" >&6 3219 echo "${ECHO_T}$CC" >&6; }
2759 else 3220 else
2760 echo "$as_me:$LINENO: result: no" >&5 3221 { echo "$as_me:$LINENO: result: no" >&5
2761 echo "${ECHO_T}no" >&6 3222 echo "${ECHO_T}no" >&6; }
2762 fi 3223 fi
3224
2763 3225
2764 fi 3226 fi
2765 if test -z "$ac_cv_prog_CC"; then 3227 if test -z "$ac_cv_prog_CC"; then
2766 ac_ct_CC=$CC 3228 ac_ct_CC=$CC
2767 # Extract the first word of "gcc", so it can be a program name with args. 3229 # Extract the first word of "gcc", so it can be a program name with args.
2768 set dummy gcc; ac_word=$2 3230 set dummy gcc; ac_word=$2
2769 echo "$as_me:$LINENO: checking for $ac_word" >&5 3231 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2771 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 3233 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2772 echo $ECHO_N "(cached) $ECHO_C" >&6 3234 echo $ECHO_N "(cached) $ECHO_C" >&6
2773 else 3235 else
2774 if test -n "$ac_ct_CC"; then 3236 if test -n "$ac_ct_CC"; then
2775 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3237 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2778 for as_dir in $PATH 3240 for as_dir in $PATH
2779 do 3241 do
2780 IFS=$as_save_IFS 3242 IFS=$as_save_IFS
2781 test -z "$as_dir" && as_dir=. 3243 test -z "$as_dir" && as_dir=.
2782 for ac_exec_ext in '' $ac_executable_extensions; do 3244 for ac_exec_ext in '' $ac_executable_extensions; do
2783 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3245 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" 3246 ac_cv_prog_ac_ct_CC="gcc"
2785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2786 break 2 3248 break 2
2787 fi 3249 fi
2788 done 3250 done
2789 done 3251 done
3252 IFS=$as_save_IFS
2790 3253
2791 fi 3254 fi
2792 fi 3255 fi
2793 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3256 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2794 if test -n "$ac_ct_CC"; then 3257 if test -n "$ac_ct_CC"; then
2795 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 3258 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2796 echo "${ECHO_T}$ac_ct_CC" >&6 3259 echo "${ECHO_T}$ac_ct_CC" >&6; }
2797 else 3260 else
2798 echo "$as_me:$LINENO: result: no" >&5 3261 { echo "$as_me:$LINENO: result: no" >&5
2799 echo "${ECHO_T}no" >&6 3262 echo "${ECHO_T}no" >&6; }
2800 fi 3263 fi
2801 3264
2802 CC=$ac_ct_CC 3265 if test "x$ac_ct_CC" = x; then
3266 CC=""
3267 else
3268 case $cross_compiling:$ac_tool_warned in
3269 yes:)
3270 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3271 whose name does not start with the host triplet. If you think this
3272 configuration is useful to you, please write to autoconf@gnu.org." >&5
3273 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3274 whose name does not start with the host triplet. If you think this
3275 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3276 ac_tool_warned=yes ;;
3277 esac
3278 CC=$ac_ct_CC
3279 fi
2803 else 3280 else
2804 CC="$ac_cv_prog_CC" 3281 CC="$ac_cv_prog_CC"
2805 fi 3282 fi
2806 3283
2807 if test -z "$CC"; then 3284 if test -z "$CC"; then
2808 if test -n "$ac_tool_prefix"; then 3285 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. 3286 # 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 3287 set dummy ${ac_tool_prefix}cc; ac_word=$2
2811 echo "$as_me:$LINENO: checking for $ac_word" >&5 3288 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3289 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2813 if test "${ac_cv_prog_CC+set}" = set; then 3290 if test "${ac_cv_prog_CC+set}" = set; then
2814 echo $ECHO_N "(cached) $ECHO_C" >&6 3291 echo $ECHO_N "(cached) $ECHO_C" >&6
2815 else 3292 else
2816 if test -n "$CC"; then 3293 if test -n "$CC"; then
2817 ac_cv_prog_CC="$CC" # Let the user override the test. 3294 ac_cv_prog_CC="$CC" # Let the user override the test.
2820 for as_dir in $PATH 3297 for as_dir in $PATH
2821 do 3298 do
2822 IFS=$as_save_IFS 3299 IFS=$as_save_IFS
2823 test -z "$as_dir" && as_dir=. 3300 test -z "$as_dir" && as_dir=.
2824 for ac_exec_ext in '' $ac_executable_extensions; do 3301 for ac_exec_ext in '' $ac_executable_extensions; do
2825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3302 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" 3303 ac_cv_prog_CC="${ac_tool_prefix}cc"
2827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3304 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2828 break 2 3305 break 2
2829 fi 3306 fi
2830 done 3307 done
2831 done 3308 done
3309 IFS=$as_save_IFS
2832 3310
2833 fi 3311 fi
2834 fi 3312 fi
2835 CC=$ac_cv_prog_CC 3313 CC=$ac_cv_prog_CC
2836 if test -n "$CC"; then 3314 if test -n "$CC"; then
2837 echo "$as_me:$LINENO: result: $CC" >&5 3315 { echo "$as_me:$LINENO: result: $CC" >&5
2838 echo "${ECHO_T}$CC" >&6 3316 echo "${ECHO_T}$CC" >&6; }
2839 else 3317 else
2840 echo "$as_me:$LINENO: result: no" >&5 3318 { echo "$as_me:$LINENO: result: no" >&5
2841 echo "${ECHO_T}no" >&6 3319 echo "${ECHO_T}no" >&6; }
2842 fi 3320 fi
2843 3321
2844 fi 3322
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 3323 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 3324 fi
2888 if test -z "$CC"; then 3325 if test -z "$CC"; then
2889 # Extract the first word of "cc", so it can be a program name with args. 3326 # Extract the first word of "cc", so it can be a program name with args.
2890 set dummy cc; ac_word=$2 3327 set dummy cc; ac_word=$2
2891 echo "$as_me:$LINENO: checking for $ac_word" >&5 3328 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2893 if test "${ac_cv_prog_CC+set}" = set; then 3330 if test "${ac_cv_prog_CC+set}" = set; then
2894 echo $ECHO_N "(cached) $ECHO_C" >&6 3331 echo $ECHO_N "(cached) $ECHO_C" >&6
2895 else 3332 else
2896 if test -n "$CC"; then 3333 if test -n "$CC"; then
2897 ac_cv_prog_CC="$CC" # Let the user override the test. 3334 ac_cv_prog_CC="$CC" # Let the user override the test.
2901 for as_dir in $PATH 3338 for as_dir in $PATH
2902 do 3339 do
2903 IFS=$as_save_IFS 3340 IFS=$as_save_IFS
2904 test -z "$as_dir" && as_dir=. 3341 test -z "$as_dir" && as_dir=.
2905 for ac_exec_ext in '' $ac_executable_extensions; do 3342 for ac_exec_ext in '' $ac_executable_extensions; do
2906 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3343 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 3344 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2908 ac_prog_rejected=yes 3345 ac_prog_rejected=yes
2909 continue 3346 continue
2910 fi 3347 fi
2911 ac_cv_prog_CC="cc" 3348 ac_cv_prog_CC="cc"
2912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3349 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2913 break 2 3350 break 2
2914 fi 3351 fi
2915 done 3352 done
2916 done 3353 done
3354 IFS=$as_save_IFS
2917 3355
2918 if test $ac_prog_rejected = yes; then 3356 if test $ac_prog_rejected = yes; then
2919 # We found a bogon in the path, so make sure we never use it. 3357 # We found a bogon in the path, so make sure we never use it.
2920 set dummy $ac_cv_prog_CC 3358 set dummy $ac_cv_prog_CC
2921 shift 3359 shift
2929 fi 3367 fi
2930 fi 3368 fi
2931 fi 3369 fi
2932 CC=$ac_cv_prog_CC 3370 CC=$ac_cv_prog_CC
2933 if test -n "$CC"; then 3371 if test -n "$CC"; then
2934 echo "$as_me:$LINENO: result: $CC" >&5 3372 { echo "$as_me:$LINENO: result: $CC" >&5
2935 echo "${ECHO_T}$CC" >&6 3373 echo "${ECHO_T}$CC" >&6; }
2936 else 3374 else
2937 echo "$as_me:$LINENO: result: no" >&5 3375 { echo "$as_me:$LINENO: result: no" >&5
2938 echo "${ECHO_T}no" >&6 3376 echo "${ECHO_T}no" >&6; }
2939 fi 3377 fi
3378
2940 3379
2941 fi 3380 fi
2942 if test -z "$CC"; then 3381 if test -z "$CC"; then
2943 if test -n "$ac_tool_prefix"; then 3382 if test -n "$ac_tool_prefix"; then
2944 for ac_prog in cl 3383 for ac_prog in cl.exe
2945 do 3384 do
2946 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3385 # 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 3386 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2948 echo "$as_me:$LINENO: checking for $ac_word" >&5 3387 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2949 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2950 if test "${ac_cv_prog_CC+set}" = set; then 3389 if test "${ac_cv_prog_CC+set}" = set; then
2951 echo $ECHO_N "(cached) $ECHO_C" >&6 3390 echo $ECHO_N "(cached) $ECHO_C" >&6
2952 else 3391 else
2953 if test -n "$CC"; then 3392 if test -n "$CC"; then
2954 ac_cv_prog_CC="$CC" # Let the user override the test. 3393 ac_cv_prog_CC="$CC" # Let the user override the test.
2957 for as_dir in $PATH 3396 for as_dir in $PATH
2958 do 3397 do
2959 IFS=$as_save_IFS 3398 IFS=$as_save_IFS
2960 test -z "$as_dir" && as_dir=. 3399 test -z "$as_dir" && as_dir=.
2961 for ac_exec_ext in '' $ac_executable_extensions; do 3400 for ac_exec_ext in '' $ac_executable_extensions; do
2962 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3401 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" 3402 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2964 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2965 break 2 3404 break 2
2966 fi 3405 fi
2967 done 3406 done
2968 done 3407 done
3408 IFS=$as_save_IFS
2969 3409
2970 fi 3410 fi
2971 fi 3411 fi
2972 CC=$ac_cv_prog_CC 3412 CC=$ac_cv_prog_CC
2973 if test -n "$CC"; then 3413 if test -n "$CC"; then
2974 echo "$as_me:$LINENO: result: $CC" >&5 3414 { echo "$as_me:$LINENO: result: $CC" >&5
2975 echo "${ECHO_T}$CC" >&6 3415 echo "${ECHO_T}$CC" >&6; }
2976 else 3416 else
2977 echo "$as_me:$LINENO: result: no" >&5 3417 { echo "$as_me:$LINENO: result: no" >&5
2978 echo "${ECHO_T}no" >&6 3418 echo "${ECHO_T}no" >&6; }
2979 fi 3419 fi
3420
2980 3421
2981 test -n "$CC" && break 3422 test -n "$CC" && break
2982 done 3423 done
2983 fi 3424 fi
2984 if test -z "$CC"; then 3425 if test -z "$CC"; then
2985 ac_ct_CC=$CC 3426 ac_ct_CC=$CC
2986 for ac_prog in cl 3427 for ac_prog in cl.exe
2987 do 3428 do
2988 # Extract the first word of "$ac_prog", so it can be a program name with args. 3429 # Extract the first word of "$ac_prog", so it can be a program name with args.
2989 set dummy $ac_prog; ac_word=$2 3430 set dummy $ac_prog; ac_word=$2
2990 echo "$as_me:$LINENO: checking for $ac_word" >&5 3431 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3432 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2992 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 3433 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2993 echo $ECHO_N "(cached) $ECHO_C" >&6 3434 echo $ECHO_N "(cached) $ECHO_C" >&6
2994 else 3435 else
2995 if test -n "$ac_ct_CC"; then 3436 if test -n "$ac_ct_CC"; then
2996 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3437 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2999 for as_dir in $PATH 3440 for as_dir in $PATH
3000 do 3441 do
3001 IFS=$as_save_IFS 3442 IFS=$as_save_IFS
3002 test -z "$as_dir" && as_dir=. 3443 test -z "$as_dir" && as_dir=.
3003 for ac_exec_ext in '' $ac_executable_extensions; do 3444 for ac_exec_ext in '' $ac_executable_extensions; do
3004 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3445 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" 3446 ac_cv_prog_ac_ct_CC="$ac_prog"
3006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3447 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3007 break 2 3448 break 2
3008 fi 3449 fi
3009 done 3450 done
3010 done 3451 done
3452 IFS=$as_save_IFS
3011 3453
3012 fi 3454 fi
3013 fi 3455 fi
3014 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3456 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3015 if test -n "$ac_ct_CC"; then 3457 if test -n "$ac_ct_CC"; then
3016 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 3458 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3017 echo "${ECHO_T}$ac_ct_CC" >&6 3459 echo "${ECHO_T}$ac_ct_CC" >&6; }
3018 else 3460 else
3019 echo "$as_me:$LINENO: result: no" >&5 3461 { echo "$as_me:$LINENO: result: no" >&5
3020 echo "${ECHO_T}no" >&6 3462 echo "${ECHO_T}no" >&6; }
3021 fi 3463 fi
3464
3022 3465
3023 test -n "$ac_ct_CC" && break 3466 test -n "$ac_ct_CC" && break
3024 done 3467 done
3025 3468
3026 CC=$ac_ct_CC 3469 if test "x$ac_ct_CC" = x; then
3470 CC=""
3471 else
3472 case $cross_compiling:$ac_tool_warned in
3473 yes:)
3474 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3475 whose name does not start with the host triplet. If you think this
3476 configuration is useful to you, please write to autoconf@gnu.org." >&5
3477 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3478 whose name does not start with the host triplet. If you think this
3479 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3480 ac_tool_warned=yes ;;
3481 esac
3482 CC=$ac_ct_CC
3483 fi
3027 fi 3484 fi
3028 3485
3029 fi 3486 fi
3030 3487
3031 3488
3034 echo "$as_me: error: no acceptable C compiler found in \$PATH 3491 echo "$as_me: error: no acceptable C compiler found in \$PATH
3035 See \`config.log' for more details." >&2;} 3492 See \`config.log' for more details." >&2;}
3036 { (exit 1); exit 1; }; } 3493 { (exit 1); exit 1; }; }
3037 3494
3038 # Provide some information about the compiler. 3495 # Provide some information about the compiler.
3039 echo "$as_me:$LINENO:" \ 3496 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` 3497 ac_compiler=`set X $ac_compile; echo $2`
3042 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 3498 { (ac_try="$ac_compiler --version >&5"
3043 (eval $ac_compiler --version </dev/null >&5) 2>&5 3499 case "(($ac_try" in
3500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3501 *) ac_try_echo=$ac_try;;
3502 esac
3503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3504 (eval "$ac_compiler --version >&5") 2>&5
3044 ac_status=$? 3505 ac_status=$?
3045 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3046 (exit $ac_status); } 3507 (exit $ac_status); }
3047 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 3508 { (ac_try="$ac_compiler -v >&5"
3048 (eval $ac_compiler -v </dev/null >&5) 2>&5 3509 case "(($ac_try" in
3510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3511 *) ac_try_echo=$ac_try;;
3512 esac
3513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3514 (eval "$ac_compiler -v >&5") 2>&5
3049 ac_status=$? 3515 ac_status=$?
3050 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3051 (exit $ac_status); } 3517 (exit $ac_status); }
3052 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 3518 { (ac_try="$ac_compiler -V >&5"
3053 (eval $ac_compiler -V </dev/null >&5) 2>&5 3519 case "(($ac_try" in
3520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3521 *) ac_try_echo=$ac_try;;
3522 esac
3523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3524 (eval "$ac_compiler -V >&5") 2>&5
3054 ac_status=$? 3525 ac_status=$?
3055 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3056 (exit $ac_status); } 3527 (exit $ac_status); }
3057 3528
3058 cat >conftest.$ac_ext <<_ACEOF 3529 cat >conftest.$ac_ext <<_ACEOF
3073 ac_clean_files_save=$ac_clean_files 3544 ac_clean_files_save=$ac_clean_files
3074 ac_clean_files="$ac_clean_files a.out a.exe b.out" 3545 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3075 # Try to create an executable without -o first, disregard a.out. 3546 # Try to create an executable without -o first, disregard a.out.
3076 # It will help us diagnose broken compilers, and finding out an intuition 3547 # It will help us diagnose broken compilers, and finding out an intuition
3077 # of exeext. 3548 # of exeext.
3078 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 3549 { 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 3550 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[^ ]*//'` 3551 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3081 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 3552 #
3082 (eval $ac_link_default) 2>&5 3553 # List of possible output files, starting from the most likely.
3554 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3555 # only as a last resort. b.out is created by i960 compilers.
3556 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3557 #
3558 # The IRIX 6 linker writes into existing files which may not be
3559 # executable, retaining their permissions. Remove them first so a
3560 # subsequent execution test works.
3561 ac_rmfiles=
3562 for ac_file in $ac_files
3563 do
3564 case $ac_file in
3565 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3566 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3567 esac
3568 done
3569 rm -f $ac_rmfiles
3570
3571 if { (ac_try="$ac_link_default"
3572 case "(($ac_try" in
3573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3574 *) ac_try_echo=$ac_try;;
3575 esac
3576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3577 (eval "$ac_link_default") 2>&5
3083 ac_status=$? 3578 ac_status=$?
3084 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3085 (exit $ac_status); }; then 3580 (exit $ac_status); }; then
3086 # Find the output, starting from the most likely. This scheme is 3581 # 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 3582 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3088 # resort. 3583 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3089 3584 # 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. 3585 # Autoconf.
3091 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 3586 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 3587 do
3096 test -f "$ac_file" || continue 3588 test -f "$ac_file" || continue
3097 case $ac_file in 3589 case $ac_file in
3098 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 3590 *.$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 ;; 3591 ;;
3103 [ab].out ) 3592 [ab].out )
3104 # We found the default executable, but exeext='' is most 3593 # We found the default executable, but exeext='' is most
3105 # certainly right. 3594 # certainly right.
3106 break;; 3595 break;;
3107 *.* ) 3596 *.* )
3108 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3597 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3109 # FIXME: I believe we export ac_cv_exeext for Libtool, 3598 then :; else
3110 # but it would be cool to find out if it's true. Does anybody 3599 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3111 # maintain Libtool? --akim. 3600 fi
3112 export ac_cv_exeext 3601 # We set ac_cv_exeext here because the later test for it is not
3602 # safe: cross compilers may not add the suffix if given an `-o'
3603 # argument, so we may need to know it at that point already.
3604 # Even if this section looks crufty: it has the advantage of
3605 # actually working.
3113 break;; 3606 break;;
3114 * ) 3607 * )
3115 break;; 3608 break;;
3116 esac 3609 esac
3117 done 3610 done
3611 test "$ac_cv_exeext" = no && ac_cv_exeext=
3612
3118 else 3613 else
3119 echo "$as_me: failed program was:" >&5 3614 echo "$as_me: failed program was:" >&5
3120 sed 's/^/| /' conftest.$ac_ext >&5 3615 sed 's/^/| /' conftest.$ac_ext >&5
3121 3616
3122 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 3617 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3125 See \`config.log' for more details." >&2;} 3620 See \`config.log' for more details." >&2;}
3126 { (exit 77); exit 77; }; } 3621 { (exit 77); exit 77; }; }
3127 fi 3622 fi
3128 3623
3129 ac_exeext=$ac_cv_exeext 3624 ac_exeext=$ac_cv_exeext
3130 echo "$as_me:$LINENO: result: $ac_file" >&5 3625 { echo "$as_me:$LINENO: result: $ac_file" >&5
3131 echo "${ECHO_T}$ac_file" >&6 3626 echo "${ECHO_T}$ac_file" >&6; }
3132 3627
3133 # Check the compiler produces executables we can run. If not, either 3628 # Check that the compiler produces executables we can run. If not, either
3134 # the compiler is broken, or we cross compile. 3629 # the compiler is broken, or we cross compile.
3135 echo "$as_me:$LINENO: checking whether the C compiler works" >&5 3630 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3136 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 3631 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 3632 # 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. 3633 # If not cross compiling, check that we can run a simple program.
3139 if test "$cross_compiling" != yes; then 3634 if test "$cross_compiling" != yes; then
3140 if { ac_try='./$ac_file' 3635 if { ac_try='./$ac_file'
3141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3636 { (case "(($ac_try" in
3142 (eval $ac_try) 2>&5 3637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3638 *) ac_try_echo=$ac_try;;
3639 esac
3640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3641 (eval "$ac_try") 2>&5
3143 ac_status=$? 3642 ac_status=$?
3144 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3145 (exit $ac_status); }; }; then 3644 (exit $ac_status); }; }; then
3146 cross_compiling=no 3645 cross_compiling=no
3147 else 3646 else
3156 See \`config.log' for more details." >&2;} 3655 See \`config.log' for more details." >&2;}
3157 { (exit 1); exit 1; }; } 3656 { (exit 1); exit 1; }; }
3158 fi 3657 fi
3159 fi 3658 fi
3160 fi 3659 fi
3161 echo "$as_me:$LINENO: result: yes" >&5 3660 { echo "$as_me:$LINENO: result: yes" >&5
3162 echo "${ECHO_T}yes" >&6 3661 echo "${ECHO_T}yes" >&6; }
3163 3662
3164 rm -f a.out a.exe conftest$ac_cv_exeext b.out 3663 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3165 ac_clean_files=$ac_clean_files_save 3664 ac_clean_files=$ac_clean_files_save
3166 # Check the compiler produces executables we can run. If not, either 3665 # Check that the compiler produces executables we can run. If not, either
3167 # the compiler is broken, or we cross compile. 3666 # the compiler is broken, or we cross compile.
3168 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 3667 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3169 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 3668 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3170 echo "$as_me:$LINENO: result: $cross_compiling" >&5 3669 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3171 echo "${ECHO_T}$cross_compiling" >&6 3670 echo "${ECHO_T}$cross_compiling" >&6; }
3172 3671
3173 echo "$as_me:$LINENO: checking for suffix of executables" >&5 3672 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3174 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 3673 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3674 if { (ac_try="$ac_link"
3176 (eval $ac_link) 2>&5 3675 case "(($ac_try" in
3676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3677 *) ac_try_echo=$ac_try;;
3678 esac
3679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3680 (eval "$ac_link") 2>&5
3177 ac_status=$? 3681 ac_status=$?
3178 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3179 (exit $ac_status); }; then 3683 (exit $ac_status); }; then
3180 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3684 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3181 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3685 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3182 # work properly (i.e., refer to `conftest.exe'), while it won't with 3686 # work properly (i.e., refer to `conftest.exe'), while it won't with
3183 # `rm'. 3687 # `rm'.
3184 for ac_file in conftest.exe conftest conftest.*; do 3688 for ac_file in conftest.exe conftest conftest.*; do
3185 test -f "$ac_file" || continue 3689 test -f "$ac_file" || continue
3186 case $ac_file in 3690 case $ac_file in
3187 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 3691 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3188 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3692 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3189 export ac_cv_exeext
3190 break;; 3693 break;;
3191 * ) break;; 3694 * ) break;;
3192 esac 3695 esac
3193 done 3696 done
3194 else 3697 else
3198 See \`config.log' for more details." >&2;} 3701 See \`config.log' for more details." >&2;}
3199 { (exit 1); exit 1; }; } 3702 { (exit 1); exit 1; }; }
3200 fi 3703 fi
3201 3704
3202 rm -f conftest$ac_cv_exeext 3705 rm -f conftest$ac_cv_exeext
3203 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 3706 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3204 echo "${ECHO_T}$ac_cv_exeext" >&6 3707 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3205 3708
3206 rm -f conftest.$ac_ext 3709 rm -f conftest.$ac_ext
3207 EXEEXT=$ac_cv_exeext 3710 EXEEXT=$ac_cv_exeext
3208 ac_exeext=$EXEEXT 3711 ac_exeext=$EXEEXT
3209 echo "$as_me:$LINENO: checking for suffix of object files" >&5 3712 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3210 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 3713 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3211 if test "${ac_cv_objext+set}" = set; then 3714 if test "${ac_cv_objext+set}" = set; then
3212 echo $ECHO_N "(cached) $ECHO_C" >&6 3715 echo $ECHO_N "(cached) $ECHO_C" >&6
3213 else 3716 else
3214 cat >conftest.$ac_ext <<_ACEOF 3717 cat >conftest.$ac_ext <<_ACEOF
3215 /* confdefs.h. */ 3718 /* confdefs.h. */
3225 ; 3728 ;
3226 return 0; 3729 return 0;
3227 } 3730 }
3228 _ACEOF 3731 _ACEOF
3229 rm -f conftest.o conftest.obj 3732 rm -f conftest.o conftest.obj
3230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3733 if { (ac_try="$ac_compile"
3231 (eval $ac_compile) 2>&5 3734 case "(($ac_try" in
3735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3736 *) ac_try_echo=$ac_try;;
3737 esac
3738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3739 (eval "$ac_compile") 2>&5
3232 ac_status=$? 3740 ac_status=$?
3233 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3234 (exit $ac_status); }; then 3742 (exit $ac_status); }; then
3235 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 3743 for ac_file in conftest.o conftest.obj conftest.*; do
3744 test -f "$ac_file" || continue;
3236 case $ac_file in 3745 case $ac_file in
3237 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 3746 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3238 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3747 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3239 break;; 3748 break;;
3240 esac 3749 esac
3241 done 3750 done
3242 else 3751 else
3250 { (exit 1); exit 1; }; } 3759 { (exit 1); exit 1; }; }
3251 fi 3760 fi
3252 3761
3253 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3762 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3254 fi 3763 fi
3255 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 3764 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3256 echo "${ECHO_T}$ac_cv_objext" >&6 3765 echo "${ECHO_T}$ac_cv_objext" >&6; }
3257 OBJEXT=$ac_cv_objext 3766 OBJEXT=$ac_cv_objext
3258 ac_objext=$OBJEXT 3767 ac_objext=$OBJEXT
3259 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 3768 { 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 3769 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 3770 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3262 echo $ECHO_N "(cached) $ECHO_C" >&6 3771 echo $ECHO_N "(cached) $ECHO_C" >&6
3263 else 3772 else
3264 cat >conftest.$ac_ext <<_ACEOF 3773 cat >conftest.$ac_ext <<_ACEOF
3265 /* confdefs.h. */ 3774 /* confdefs.h. */
3278 ; 3787 ;
3279 return 0; 3788 return 0;
3280 } 3789 }
3281 _ACEOF 3790 _ACEOF
3282 rm -f conftest.$ac_objext 3791 rm -f conftest.$ac_objext
3283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3792 if { (ac_try="$ac_compile"
3284 (eval $ac_compile) 2>conftest.er1 3793 case "(($ac_try" in
3794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3795 *) ac_try_echo=$ac_try;;
3796 esac
3797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3798 (eval "$ac_compile") 2>conftest.er1
3285 ac_status=$? 3799 ac_status=$?
3286 grep -v '^ *+' conftest.er1 >conftest.err 3800 grep -v '^ *+' conftest.er1 >conftest.err
3287 rm -f conftest.er1 3801 rm -f conftest.er1
3288 cat conftest.err >&5 3802 cat conftest.err >&5
3289 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3290 (exit $ac_status); } && 3804 (exit $ac_status); } &&
3291 { ac_try='test -z "$ac_c_werror_flag" 3805 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3292 || test ! -s conftest.err' 3806 { (case "(($ac_try" in
3293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3294 (eval $ac_try) 2>&5 3808 *) ac_try_echo=$ac_try;;
3809 esac
3810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3811 (eval "$ac_try") 2>&5
3295 ac_status=$? 3812 ac_status=$?
3296 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3297 (exit $ac_status); }; } && 3814 (exit $ac_status); }; } &&
3298 { ac_try='test -s conftest.$ac_objext' 3815 { ac_try='test -s conftest.$ac_objext'
3299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3816 { (case "(($ac_try" in
3300 (eval $ac_try) 2>&5 3817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3818 *) ac_try_echo=$ac_try;;
3819 esac
3820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3821 (eval "$ac_try") 2>&5
3301 ac_status=$? 3822 ac_status=$?
3302 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3303 (exit $ac_status); }; }; then 3824 (exit $ac_status); }; }; then
3304 ac_compiler_gnu=yes 3825 ac_compiler_gnu=yes
3305 else 3826 else
3306 echo "$as_me: failed program was:" >&5 3827 echo "$as_me: failed program was:" >&5
3307 sed 's/^/| /' conftest.$ac_ext >&5 3828 sed 's/^/| /' conftest.$ac_ext >&5
3308 3829
3309 ac_compiler_gnu=no 3830 ac_compiler_gnu=no
3310 fi 3831 fi
3311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3832
3833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3312 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3834 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3313 3835
3314 fi 3836 fi
3315 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 3837 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3316 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 3838 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3317 GCC=`test $ac_compiler_gnu = yes && echo yes` 3839 GCC=`test $ac_compiler_gnu = yes && echo yes`
3318 ac_test_CFLAGS=${CFLAGS+set} 3840 ac_test_CFLAGS=${CFLAGS+set}
3319 ac_save_CFLAGS=$CFLAGS 3841 ac_save_CFLAGS=$CFLAGS
3320 CFLAGS="-g" 3842 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3321 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 3843 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 3844 if test "${ac_cv_prog_cc_g+set}" = set; then
3324 echo $ECHO_N "(cached) $ECHO_C" >&6 3845 echo $ECHO_N "(cached) $ECHO_C" >&6
3325 else 3846 else
3326 cat >conftest.$ac_ext <<_ACEOF 3847 ac_save_c_werror_flag=$ac_c_werror_flag
3848 ac_c_werror_flag=yes
3849 ac_cv_prog_cc_g=no
3850 CFLAGS="-g"
3851 cat >conftest.$ac_ext <<_ACEOF
3327 /* confdefs.h. */ 3852 /* confdefs.h. */
3328 _ACEOF 3853 _ACEOF
3329 cat confdefs.h >>conftest.$ac_ext 3854 cat confdefs.h >>conftest.$ac_ext
3330 cat >>conftest.$ac_ext <<_ACEOF 3855 cat >>conftest.$ac_ext <<_ACEOF
3331 /* end confdefs.h. */ 3856 /* end confdefs.h. */
3337 ; 3862 ;
3338 return 0; 3863 return 0;
3339 } 3864 }
3340 _ACEOF 3865 _ACEOF
3341 rm -f conftest.$ac_objext 3866 rm -f conftest.$ac_objext
3342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3867 if { (ac_try="$ac_compile"
3343 (eval $ac_compile) 2>conftest.er1 3868 case "(($ac_try" in
3869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3870 *) ac_try_echo=$ac_try;;
3871 esac
3872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3873 (eval "$ac_compile") 2>conftest.er1
3344 ac_status=$? 3874 ac_status=$?
3345 grep -v '^ *+' conftest.er1 >conftest.err 3875 grep -v '^ *+' conftest.er1 >conftest.err
3346 rm -f conftest.er1 3876 rm -f conftest.er1
3347 cat conftest.err >&5 3877 cat conftest.err >&5
3348 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3349 (exit $ac_status); } && 3879 (exit $ac_status); } &&
3350 { ac_try='test -z "$ac_c_werror_flag" 3880 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3351 || test ! -s conftest.err' 3881 { (case "(($ac_try" in
3352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3353 (eval $ac_try) 2>&5 3883 *) ac_try_echo=$ac_try;;
3884 esac
3885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3886 (eval "$ac_try") 2>&5
3354 ac_status=$? 3887 ac_status=$?
3355 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3356 (exit $ac_status); }; } && 3889 (exit $ac_status); }; } &&
3357 { ac_try='test -s conftest.$ac_objext' 3890 { ac_try='test -s conftest.$ac_objext'
3358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3891 { (case "(($ac_try" in
3359 (eval $ac_try) 2>&5 3892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3893 *) ac_try_echo=$ac_try;;
3894 esac
3895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3896 (eval "$ac_try") 2>&5
3360 ac_status=$? 3897 ac_status=$?
3361 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3362 (exit $ac_status); }; }; then 3899 (exit $ac_status); }; }; then
3363 ac_cv_prog_cc_g=yes 3900 ac_cv_prog_cc_g=yes
3364 else 3901 else
3365 echo "$as_me: failed program was:" >&5 3902 echo "$as_me: failed program was:" >&5
3366 sed 's/^/| /' conftest.$ac_ext >&5 3903 sed 's/^/| /' conftest.$ac_ext >&5
3367 3904
3368 ac_cv_prog_cc_g=no 3905 CFLAGS=""
3369 fi 3906 cat >conftest.$ac_ext <<_ACEOF
3370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3907 /* confdefs.h. */
3371 fi 3908 _ACEOF
3372 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3909 cat confdefs.h >>conftest.$ac_ext
3373 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 3910 cat >>conftest.$ac_ext <<_ACEOF
3911 /* end confdefs.h. */
3912
3913 int
3914 main ()
3915 {
3916
3917 ;
3918 return 0;
3919 }
3920 _ACEOF
3921 rm -f conftest.$ac_objext
3922 if { (ac_try="$ac_compile"
3923 case "(($ac_try" in
3924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3925 *) ac_try_echo=$ac_try;;
3926 esac
3927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3928 (eval "$ac_compile") 2>conftest.er1
3929 ac_status=$?
3930 grep -v '^ *+' conftest.er1 >conftest.err
3931 rm -f conftest.er1
3932 cat conftest.err >&5
3933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3934 (exit $ac_status); } &&
3935 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3936 { (case "(($ac_try" in
3937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3938 *) ac_try_echo=$ac_try;;
3939 esac
3940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3941 (eval "$ac_try") 2>&5
3942 ac_status=$?
3943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3944 (exit $ac_status); }; } &&
3945 { ac_try='test -s conftest.$ac_objext'
3946 { (case "(($ac_try" in
3947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3948 *) ac_try_echo=$ac_try;;
3949 esac
3950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3951 (eval "$ac_try") 2>&5
3952 ac_status=$?
3953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3954 (exit $ac_status); }; }; then
3955 :
3956 else
3957 echo "$as_me: failed program was:" >&5
3958 sed 's/^/| /' conftest.$ac_ext >&5
3959
3960 ac_c_werror_flag=$ac_save_c_werror_flag
3961 CFLAGS="-g"
3962 cat >conftest.$ac_ext <<_ACEOF
3963 /* confdefs.h. */
3964 _ACEOF
3965 cat confdefs.h >>conftest.$ac_ext
3966 cat >>conftest.$ac_ext <<_ACEOF
3967 /* end confdefs.h. */
3968
3969 int
3970 main ()
3971 {
3972
3973 ;
3974 return 0;
3975 }
3976 _ACEOF
3977 rm -f conftest.$ac_objext
3978 if { (ac_try="$ac_compile"
3979 case "(($ac_try" in
3980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3981 *) ac_try_echo=$ac_try;;
3982 esac
3983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3984 (eval "$ac_compile") 2>conftest.er1
3985 ac_status=$?
3986 grep -v '^ *+' conftest.er1 >conftest.err
3987 rm -f conftest.er1
3988 cat conftest.err >&5
3989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3990 (exit $ac_status); } &&
3991 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3992 { (case "(($ac_try" in
3993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3994 *) ac_try_echo=$ac_try;;
3995 esac
3996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3997 (eval "$ac_try") 2>&5
3998 ac_status=$?
3999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4000 (exit $ac_status); }; } &&
4001 { ac_try='test -s conftest.$ac_objext'
4002 { (case "(($ac_try" in
4003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4004 *) ac_try_echo=$ac_try;;
4005 esac
4006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4007 (eval "$ac_try") 2>&5
4008 ac_status=$?
4009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4010 (exit $ac_status); }; }; then
4011 ac_cv_prog_cc_g=yes
4012 else
4013 echo "$as_me: failed program was:" >&5
4014 sed 's/^/| /' conftest.$ac_ext >&5
4015
4016
4017 fi
4018
4019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4020 fi
4021
4022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4023 fi
4024
4025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4026 ac_c_werror_flag=$ac_save_c_werror_flag
4027 fi
4028 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4029 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3374 if test "$ac_test_CFLAGS" = set; then 4030 if test "$ac_test_CFLAGS" = set; then
3375 CFLAGS=$ac_save_CFLAGS 4031 CFLAGS=$ac_save_CFLAGS
3376 elif test $ac_cv_prog_cc_g = yes; then 4032 elif test $ac_cv_prog_cc_g = yes; then
3377 if test "$GCC" = yes; then 4033 if test "$GCC" = yes; then
3378 CFLAGS="-g -O2" 4034 CFLAGS="-g -O2"
3384 CFLAGS="-O2" 4040 CFLAGS="-O2"
3385 else 4041 else
3386 CFLAGS= 4042 CFLAGS=
3387 fi 4043 fi
3388 fi 4044 fi
3389 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 4045 { 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 4046 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 4047 if test "${ac_cv_prog_cc_c89+set}" = set; then
3392 echo $ECHO_N "(cached) $ECHO_C" >&6 4048 echo $ECHO_N "(cached) $ECHO_C" >&6
3393 else 4049 else
3394 ac_cv_prog_cc_stdc=no 4050 ac_cv_prog_cc_c89=no
3395 ac_save_CC=$CC 4051 ac_save_CC=$CC
3396 cat >conftest.$ac_ext <<_ACEOF 4052 cat >conftest.$ac_ext <<_ACEOF
3397 /* confdefs.h. */ 4053 /* confdefs.h. */
3398 _ACEOF 4054 _ACEOF
3399 cat confdefs.h >>conftest.$ac_ext 4055 cat confdefs.h >>conftest.$ac_ext
3423 } 4079 }
3424 4080
3425 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4081 /* 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. 4082 function prototypes and stuff, but not '\xHH' hex character constants.
3427 These don't provoke an error unfortunately, instead are silently treated 4083 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 4084 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 4085 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 4086 array size at least. It's necessary to write '\x00'==0 to get something
3431 that's true only with -std1. */ 4087 that's true only with -std. */
3432 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4088 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4089
4090 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4091 inside strings and character constants. */
4092 #define FOO(x) 'x'
4093 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3433 4094
3434 int test (int i, double x); 4095 int test (int i, double x);
3435 struct s1 {int (*f) (int a);}; 4096 struct s1 {int (*f) (int a);};
3436 struct s2 {int (*f) (double a);}; 4097 struct s2 {int (*f) (double a);};
3437 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4098 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]; 4104 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3444 ; 4105 ;
3445 return 0; 4106 return 0;
3446 } 4107 }
3447 _ACEOF 4108 _ACEOF
3448 # Don't try gcc -ansi; that turns off useful extensions and 4109 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3449 # breaks some systems' header files. 4110 -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 4111 do
3457 CC="$ac_save_CC $ac_arg" 4112 CC="$ac_save_CC $ac_arg"
3458 rm -f conftest.$ac_objext 4113 rm -f conftest.$ac_objext
3459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4114 if { (ac_try="$ac_compile"
3460 (eval $ac_compile) 2>conftest.er1 4115 case "(($ac_try" in
4116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4117 *) ac_try_echo=$ac_try;;
4118 esac
4119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4120 (eval "$ac_compile") 2>conftest.er1
3461 ac_status=$? 4121 ac_status=$?
3462 grep -v '^ *+' conftest.er1 >conftest.err 4122 grep -v '^ *+' conftest.er1 >conftest.err
3463 rm -f conftest.er1 4123 rm -f conftest.er1
3464 cat conftest.err >&5 4124 cat conftest.err >&5
3465 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3466 (exit $ac_status); } && 4126 (exit $ac_status); } &&
3467 { ac_try='test -z "$ac_c_werror_flag" 4127 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3468 || test ! -s conftest.err' 4128 { (case "(($ac_try" in
3469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3470 (eval $ac_try) 2>&5 4130 *) ac_try_echo=$ac_try;;
4131 esac
4132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4133 (eval "$ac_try") 2>&5
3471 ac_status=$? 4134 ac_status=$?
3472 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3473 (exit $ac_status); }; } && 4136 (exit $ac_status); }; } &&
3474 { ac_try='test -s conftest.$ac_objext' 4137 { ac_try='test -s conftest.$ac_objext'
3475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4138 { (case "(($ac_try" in
3476 (eval $ac_try) 2>&5 4139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4140 *) ac_try_echo=$ac_try;;
4141 esac
4142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4143 (eval "$ac_try") 2>&5
3477 ac_status=$? 4144 ac_status=$?
3478 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3479 (exit $ac_status); }; }; then 4146 (exit $ac_status); }; }; then
3480 ac_cv_prog_cc_stdc=$ac_arg 4147 ac_cv_prog_cc_c89=$ac_arg
3481 break
3482 else 4148 else
3483 echo "$as_me: failed program was:" >&5 4149 echo "$as_me: failed program was:" >&5
3484 sed 's/^/| /' conftest.$ac_ext >&5 4150 sed 's/^/| /' conftest.$ac_ext >&5
3485 4151
3486 fi 4152
3487 rm -f conftest.err conftest.$ac_objext 4153 fi
4154
4155 rm -f core conftest.err conftest.$ac_objext
4156 test "x$ac_cv_prog_cc_c89" != "xno" && break
3488 done 4157 done
3489 rm -f conftest.$ac_ext conftest.$ac_objext 4158 rm -f conftest.$ac_ext
3490 CC=$ac_save_CC 4159 CC=$ac_save_CC
3491 4160
3492 fi 4161 fi
3493 4162 # AC_CACHE_VAL
3494 case "x$ac_cv_prog_cc_stdc" in 4163 case "x$ac_cv_prog_cc_c89" in
3495 x|xno) 4164 x)
3496 echo "$as_me:$LINENO: result: none needed" >&5 4165 { echo "$as_me:$LINENO: result: none needed" >&5
3497 echo "${ECHO_T}none needed" >&6 ;; 4166 echo "${ECHO_T}none needed" >&6; } ;;
4167 xno)
4168 { echo "$as_me:$LINENO: result: unsupported" >&5
4169 echo "${ECHO_T}unsupported" >&6; } ;;
3498 *) 4170 *)
3499 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 4171 CC="$CC $ac_cv_prog_cc_c89"
3500 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 4172 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3501 CC="$CC $ac_cv_prog_cc_stdc" ;; 4173 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3502 esac 4174 esac
3503 4175
3504 # Some people use a C++ compiler to compile C. Since we use `exit', 4176
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 4177 ac_ext=c
3648 ac_cpp='$CPP $CPPFLAGS' 4178 ac_cpp='$CPP $CPPFLAGS'
3649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4179 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' 4180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3651 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3687 ac_ext=c 4217 ac_ext=c
3688 ac_cpp='$CPP $CPPFLAGS' 4218 ac_cpp='$CPP $CPPFLAGS'
3689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4219 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' 4220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3691 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3692 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 4222 { 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 4223 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3694 # On Suns, sometimes $CPP names a directory. 4224 # On Suns, sometimes $CPP names a directory.
3695 if test -n "$CPP" && test -d "$CPP"; then 4225 if test -n "$CPP" && test -d "$CPP"; then
3696 CPP= 4226 CPP=
3697 fi 4227 fi
3698 if test -z "$CPP"; then 4228 if test -z "$CPP"; then
3722 #else 4252 #else
3723 # include <assert.h> 4253 # include <assert.h>
3724 #endif 4254 #endif
3725 Syntax error 4255 Syntax error
3726 _ACEOF 4256 _ACEOF
3727 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4257 if { (ac_try="$ac_cpp conftest.$ac_ext"
3728 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4258 case "(($ac_try" in
4259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4260 *) ac_try_echo=$ac_try;;
4261 esac
4262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4263 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3729 ac_status=$? 4264 ac_status=$?
3730 grep -v '^ *+' conftest.er1 >conftest.err 4265 grep -v '^ *+' conftest.er1 >conftest.err
3731 rm -f conftest.er1 4266 rm -f conftest.er1
3732 cat conftest.err >&5 4267 cat conftest.err >&5
3733 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3748 sed 's/^/| /' conftest.$ac_ext >&5 4283 sed 's/^/| /' conftest.$ac_ext >&5
3749 4284
3750 # Broken: fails on valid input. 4285 # Broken: fails on valid input.
3751 continue 4286 continue
3752 fi 4287 fi
4288
3753 rm -f conftest.err conftest.$ac_ext 4289 rm -f conftest.err conftest.$ac_ext
3754 4290
3755 # OK, works on sane cases. Now check whether non-existent headers 4291 # OK, works on sane cases. Now check whether nonexistent headers
3756 # can be detected and how. 4292 # can be detected and how.
3757 cat >conftest.$ac_ext <<_ACEOF 4293 cat >conftest.$ac_ext <<_ACEOF
3758 /* confdefs.h. */ 4294 /* confdefs.h. */
3759 _ACEOF 4295 _ACEOF
3760 cat confdefs.h >>conftest.$ac_ext 4296 cat confdefs.h >>conftest.$ac_ext
3761 cat >>conftest.$ac_ext <<_ACEOF 4297 cat >>conftest.$ac_ext <<_ACEOF
3762 /* end confdefs.h. */ 4298 /* end confdefs.h. */
3763 #include <ac_nonexistent.h> 4299 #include <ac_nonexistent.h>
3764 _ACEOF 4300 _ACEOF
3765 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4301 if { (ac_try="$ac_cpp conftest.$ac_ext"
3766 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4302 case "(($ac_try" in
4303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4304 *) ac_try_echo=$ac_try;;
4305 esac
4306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4307 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3767 ac_status=$? 4308 ac_status=$?
3768 grep -v '^ *+' conftest.er1 >conftest.err 4309 grep -v '^ *+' conftest.er1 >conftest.err
3769 rm -f conftest.er1 4310 rm -f conftest.er1
3770 cat conftest.err >&5 4311 cat conftest.err >&5
3771 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3788 4329
3789 # Passes both tests. 4330 # Passes both tests.
3790 ac_preproc_ok=: 4331 ac_preproc_ok=:
3791 break 4332 break
3792 fi 4333 fi
4334
3793 rm -f conftest.err conftest.$ac_ext 4335 rm -f conftest.err conftest.$ac_ext
3794 4336
3795 done 4337 done
3796 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4338 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3797 rm -f conftest.err conftest.$ac_ext 4339 rm -f conftest.err conftest.$ac_ext
3805 fi 4347 fi
3806 CPP=$ac_cv_prog_CPP 4348 CPP=$ac_cv_prog_CPP
3807 else 4349 else
3808 ac_cv_prog_CPP=$CPP 4350 ac_cv_prog_CPP=$CPP
3809 fi 4351 fi
3810 echo "$as_me:$LINENO: result: $CPP" >&5 4352 { echo "$as_me:$LINENO: result: $CPP" >&5
3811 echo "${ECHO_T}$CPP" >&6 4353 echo "${ECHO_T}$CPP" >&6; }
3812 ac_preproc_ok=false 4354 ac_preproc_ok=false
3813 for ac_c_preproc_warn_flag in '' yes 4355 for ac_c_preproc_warn_flag in '' yes
3814 do 4356 do
3815 # Use a header file that comes with gcc, so configuring glibc 4357 # Use a header file that comes with gcc, so configuring glibc
3816 # with a fresh cross-compiler works. 4358 # with a fresh cross-compiler works.
3829 #else 4371 #else
3830 # include <assert.h> 4372 # include <assert.h>
3831 #endif 4373 #endif
3832 Syntax error 4374 Syntax error
3833 _ACEOF 4375 _ACEOF
3834 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4376 if { (ac_try="$ac_cpp conftest.$ac_ext"
3835 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4377 case "(($ac_try" in
4378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4379 *) ac_try_echo=$ac_try;;
4380 esac
4381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4382 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3836 ac_status=$? 4383 ac_status=$?
3837 grep -v '^ *+' conftest.er1 >conftest.err 4384 grep -v '^ *+' conftest.er1 >conftest.err
3838 rm -f conftest.er1 4385 rm -f conftest.er1
3839 cat conftest.err >&5 4386 cat conftest.err >&5
3840 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3855 sed 's/^/| /' conftest.$ac_ext >&5 4402 sed 's/^/| /' conftest.$ac_ext >&5
3856 4403
3857 # Broken: fails on valid input. 4404 # Broken: fails on valid input.
3858 continue 4405 continue
3859 fi 4406 fi
4407
3860 rm -f conftest.err conftest.$ac_ext 4408 rm -f conftest.err conftest.$ac_ext
3861 4409
3862 # OK, works on sane cases. Now check whether non-existent headers 4410 # OK, works on sane cases. Now check whether nonexistent headers
3863 # can be detected and how. 4411 # can be detected and how.
3864 cat >conftest.$ac_ext <<_ACEOF 4412 cat >conftest.$ac_ext <<_ACEOF
3865 /* confdefs.h. */ 4413 /* confdefs.h. */
3866 _ACEOF 4414 _ACEOF
3867 cat confdefs.h >>conftest.$ac_ext 4415 cat confdefs.h >>conftest.$ac_ext
3868 cat >>conftest.$ac_ext <<_ACEOF 4416 cat >>conftest.$ac_ext <<_ACEOF
3869 /* end confdefs.h. */ 4417 /* end confdefs.h. */
3870 #include <ac_nonexistent.h> 4418 #include <ac_nonexistent.h>
3871 _ACEOF 4419 _ACEOF
3872 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4420 if { (ac_try="$ac_cpp conftest.$ac_ext"
3873 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4421 case "(($ac_try" in
4422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4423 *) ac_try_echo=$ac_try;;
4424 esac
4425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4426 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3874 ac_status=$? 4427 ac_status=$?
3875 grep -v '^ *+' conftest.er1 >conftest.err 4428 grep -v '^ *+' conftest.er1 >conftest.err
3876 rm -f conftest.er1 4429 rm -f conftest.er1
3877 cat conftest.err >&5 4430 cat conftest.err >&5
3878 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3895 4448
3896 # Passes both tests. 4449 # Passes both tests.
3897 ac_preproc_ok=: 4450 ac_preproc_ok=:
3898 break 4451 break
3899 fi 4452 fi
4453
3900 rm -f conftest.err conftest.$ac_ext 4454 rm -f conftest.err conftest.$ac_ext
3901 4455
3902 done 4456 done
3903 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4457 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3904 rm -f conftest.err conftest.$ac_ext 4458 rm -f conftest.err conftest.$ac_ext
3917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4471 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' 4472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3919 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3920 4474
3921 4475
3922 echo "$as_me:$LINENO: checking for egrep" >&5 4476 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3923 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 4477 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 4478 if test "${ac_cv_path_GREP+set}" = set; then
3925 echo $ECHO_N "(cached) $ECHO_C" >&6 4479 echo $ECHO_N "(cached) $ECHO_C" >&6
3926 else 4480 else
3927 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 4481 # Extract the first word of "grep ggrep" to use in msg output
3928 then ac_cv_prog_egrep='grep -E' 4482 if test -z "$GREP"; then
3929 else ac_cv_prog_egrep='egrep' 4483 set dummy grep ggrep; ac_prog_name=$2
4484 if test "${ac_cv_path_GREP+set}" = set; then
4485 echo $ECHO_N "(cached) $ECHO_C" >&6
4486 else
4487 ac_path_GREP_found=false
4488 # Loop through the user's path and test for each of PROGNAME-LIST
4489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4490 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4491 do
4492 IFS=$as_save_IFS
4493 test -z "$as_dir" && as_dir=.
4494 for ac_prog in grep ggrep; do
4495 for ac_exec_ext in '' $ac_executable_extensions; do
4496 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4497 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
4498 # Check for GNU ac_path_GREP and select it if it is found.
4499 # Check for GNU $ac_path_GREP
4500 case `"$ac_path_GREP" --version 2>&1` in
4501 *GNU*)
4502 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4503 *)
4504 ac_count=0
4505 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4506 while :
4507 do
4508 cat "conftest.in" "conftest.in" >"conftest.tmp"
4509 mv "conftest.tmp" "conftest.in"
4510 cp "conftest.in" "conftest.nl"
4511 echo 'GREP' >> "conftest.nl"
4512 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4513 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4514 ac_count=`expr $ac_count + 1`
4515 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4516 # Best one so far, save it but keep looking for a better one
4517 ac_cv_path_GREP="$ac_path_GREP"
4518 ac_path_GREP_max=$ac_count
3930 fi 4519 fi
3931 fi 4520 # 10*(2^10) chars as input seems more than enough
3932 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 4521 test $ac_count -gt 10 && break
3933 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 4522 done
3934 EGREP=$ac_cv_prog_egrep 4523 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3935 4524 esac
3936 4525
3937 4526
3938 echo "$as_me:$LINENO: checking for AIX" >&5 4527 $ac_path_GREP_found && break 3
3939 echo $ECHO_N "checking for AIX... $ECHO_C" >&6 4528 done
4529 done
4530
4531 done
4532 IFS=$as_save_IFS
4533
4534
4535 fi
4536
4537 GREP="$ac_cv_path_GREP"
4538 if test -z "$GREP"; then
4539 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4540 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4541 { (exit 1); exit 1; }; }
4542 fi
4543
4544 else
4545 ac_cv_path_GREP=$GREP
4546 fi
4547
4548
4549 fi
4550 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4551 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4552 GREP="$ac_cv_path_GREP"
4553
4554
4555 { echo "$as_me:$LINENO: checking for egrep" >&5
4556 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4557 if test "${ac_cv_path_EGREP+set}" = set; then
4558 echo $ECHO_N "(cached) $ECHO_C" >&6
4559 else
4560 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4561 then ac_cv_path_EGREP="$GREP -E"
4562 else
4563 # Extract the first word of "egrep" to use in msg output
4564 if test -z "$EGREP"; then
4565 set dummy egrep; ac_prog_name=$2
4566 if test "${ac_cv_path_EGREP+set}" = set; then
4567 echo $ECHO_N "(cached) $ECHO_C" >&6
4568 else
4569 ac_path_EGREP_found=false
4570 # Loop through the user's path and test for each of PROGNAME-LIST
4571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4572 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4573 do
4574 IFS=$as_save_IFS
4575 test -z "$as_dir" && as_dir=.
4576 for ac_prog in egrep; do
4577 for ac_exec_ext in '' $ac_executable_extensions; do
4578 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4579 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
4580 # Check for GNU ac_path_EGREP and select it if it is found.
4581 # Check for GNU $ac_path_EGREP
4582 case `"$ac_path_EGREP" --version 2>&1` in
4583 *GNU*)
4584 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4585 *)
4586 ac_count=0
4587 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4588 while :
4589 do
4590 cat "conftest.in" "conftest.in" >"conftest.tmp"
4591 mv "conftest.tmp" "conftest.in"
4592 cp "conftest.in" "conftest.nl"
4593 echo 'EGREP' >> "conftest.nl"
4594 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4595 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4596 ac_count=`expr $ac_count + 1`
4597 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4598 # Best one so far, save it but keep looking for a better one
4599 ac_cv_path_EGREP="$ac_path_EGREP"
4600 ac_path_EGREP_max=$ac_count
4601 fi
4602 # 10*(2^10) chars as input seems more than enough
4603 test $ac_count -gt 10 && break
4604 done
4605 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4606 esac
4607
4608
4609 $ac_path_EGREP_found && break 3
4610 done
4611 done
4612
4613 done
4614 IFS=$as_save_IFS
4615
4616
4617 fi
4618
4619 EGREP="$ac_cv_path_EGREP"
4620 if test -z "$EGREP"; then
4621 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4622 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4623 { (exit 1); exit 1; }; }
4624 fi
4625
4626 else
4627 ac_cv_path_EGREP=$EGREP
4628 fi
4629
4630
4631 fi
4632 fi
4633 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4634 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4635 EGREP="$ac_cv_path_EGREP"
4636
4637
4638
4639 { echo "$as_me:$LINENO: checking for AIX" >&5
4640 echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
3940 cat >conftest.$ac_ext <<_ACEOF 4641 cat >conftest.$ac_ext <<_ACEOF
3941 /* confdefs.h. */ 4642 /* confdefs.h. */
3942 _ACEOF 4643 _ACEOF
3943 cat confdefs.h >>conftest.$ac_ext 4644 cat confdefs.h >>conftest.$ac_ext
3944 cat >>conftest.$ac_ext <<_ACEOF 4645 cat >>conftest.$ac_ext <<_ACEOF
3948 #endif 4649 #endif
3949 4650
3950 _ACEOF 4651 _ACEOF
3951 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4652 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3952 $EGREP "yes" >/dev/null 2>&1; then 4653 $EGREP "yes" >/dev/null 2>&1; then
3953 echo "$as_me:$LINENO: result: yes" >&5 4654 { echo "$as_me:$LINENO: result: yes" >&5
3954 echo "${ECHO_T}yes" >&6 4655 echo "${ECHO_T}yes" >&6; }
3955 cat >>confdefs.h <<\_ACEOF 4656 cat >>confdefs.h <<\_ACEOF
3956 #define _ALL_SOURCE 1 4657 #define _ALL_SOURCE 1
3957 _ACEOF 4658 _ACEOF
3958 4659
3959 else 4660 else
3960 echo "$as_me:$LINENO: result: no" >&5 4661 { echo "$as_me:$LINENO: result: no" >&5
3961 echo "${ECHO_T}no" >&6 4662 echo "${ECHO_T}no" >&6; }
3962 fi 4663 fi
3963 rm -f conftest* 4664 rm -f conftest*
3964 4665
3965 4666
3966 4667
3969 _ACEOF 4670 _ACEOF
3970 4671
3971 4672
3972 4673
3973 ### Use -Wno-pointer-sign if the compiler supports it 4674 ### Use -Wno-pointer-sign if the compiler supports it
3974 echo "$as_me:$LINENO: checking whether gcc understands -Wno-pointer-sign" >&5 4675 { 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 4676 echo $ECHO_N "checking whether gcc understands -Wno-pointer-sign... $ECHO_C" >&6; }
3976 SAVE_CFLAGS="$CFLAGS" 4677 SAVE_CFLAGS="$CFLAGS"
3977 CFLAGS="$CFLAGS -Wno-pointer-sign" 4678 CFLAGS="$CFLAGS -Wno-pointer-sign"
3978 cat >conftest.$ac_ext <<_ACEOF 4679 cat >conftest.$ac_ext <<_ACEOF
3979 /* confdefs.h. */ 4680 /* confdefs.h. */
3980 _ACEOF 4681 _ACEOF
3989 ; 4690 ;
3990 return 0; 4691 return 0;
3991 } 4692 }
3992 _ACEOF 4693 _ACEOF
3993 rm -f conftest.$ac_objext 4694 rm -f conftest.$ac_objext
3994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4695 if { (ac_try="$ac_compile"
3995 (eval $ac_compile) 2>conftest.er1 4696 case "(($ac_try" in
4697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4698 *) ac_try_echo=$ac_try;;
4699 esac
4700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4701 (eval "$ac_compile") 2>conftest.er1
3996 ac_status=$? 4702 ac_status=$?
3997 grep -v '^ *+' conftest.er1 >conftest.err 4703 grep -v '^ *+' conftest.er1 >conftest.err
3998 rm -f conftest.er1 4704 rm -f conftest.er1
3999 cat conftest.err >&5 4705 cat conftest.err >&5
4000 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4001 (exit $ac_status); } && 4707 (exit $ac_status); } &&
4002 { ac_try='test -z "$ac_c_werror_flag" 4708 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4003 || test ! -s conftest.err' 4709 { (case "(($ac_try" in
4004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4005 (eval $ac_try) 2>&5 4711 *) ac_try_echo=$ac_try;;
4712 esac
4713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4714 (eval "$ac_try") 2>&5
4006 ac_status=$? 4715 ac_status=$?
4007 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4008 (exit $ac_status); }; } && 4717 (exit $ac_status); }; } &&
4009 { ac_try='test -s conftest.$ac_objext' 4718 { ac_try='test -s conftest.$ac_objext'
4010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4719 { (case "(($ac_try" in
4011 (eval $ac_try) 2>&5 4720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4721 *) ac_try_echo=$ac_try;;
4722 esac
4723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4724 (eval "$ac_try") 2>&5
4012 ac_status=$? 4725 ac_status=$?
4013 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4014 (exit $ac_status); }; }; then 4727 (exit $ac_status); }; }; then
4015 has_option=yes 4728 has_option=yes
4016 else 4729 else
4017 echo "$as_me: failed program was:" >&5 4730 echo "$as_me: failed program was:" >&5
4018 sed 's/^/| /' conftest.$ac_ext >&5 4731 sed 's/^/| /' conftest.$ac_ext >&5
4019 4732
4020 has_option=no 4733 has_option=no
4021 fi 4734 fi
4022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4735
4736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4023 if test $has_option = yes; then 4737 if test $has_option = yes; then
4024 C_WARNINGS_SWITCH="-Wno-pointer-sign $C_WARNINGS_SWITCH" 4738 C_WARNINGS_SWITCH="-Wno-pointer-sign $C_WARNINGS_SWITCH"
4025 fi 4739 fi
4026 echo "$as_me:$LINENO: result: $has_option" >&5 4740 { echo "$as_me:$LINENO: result: $has_option" >&5
4027 echo "${ECHO_T}$has_option" >&6 4741 echo "${ECHO_T}$has_option" >&6; }
4028 CFLAGS="$SAVE_CFLAGS" 4742 CFLAGS="$SAVE_CFLAGS"
4029 unset has_option 4743 unset has_option
4030 unset SAVE_CFLAGS 4744 unset SAVE_CFLAGS
4031 4745
4032 #### Some other nice autoconf tests. 4746 #### Some other nice autoconf tests.
4033 4747
4034 echo "$as_me:$LINENO: checking whether ln -s works" >&5 4748 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4035 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 4749 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4036 LN_S=$as_ln_s 4750 LN_S=$as_ln_s
4037 if test "$LN_S" = "ln -s"; then 4751 if test "$LN_S" = "ln -s"; then
4038 echo "$as_me:$LINENO: result: yes" >&5 4752 { echo "$as_me:$LINENO: result: yes" >&5
4039 echo "${ECHO_T}yes" >&6 4753 echo "${ECHO_T}yes" >&6; }
4040 else 4754 else
4041 echo "$as_me:$LINENO: result: no, using $LN_S" >&5 4755 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4042 echo "${ECHO_T}no, using $LN_S" >&6 4756 echo "${ECHO_T}no, using $LN_S" >&6; }
4043 fi 4757 fi
4044 4758
4045 ac_ext=c 4759 ac_ext=c
4046 ac_cpp='$CPP $CPPFLAGS' 4760 ac_cpp='$CPP $CPPFLAGS'
4047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4761 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' 4762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4049 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4050 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 4764 { 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 4765 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4052 # On Suns, sometimes $CPP names a directory. 4766 # On Suns, sometimes $CPP names a directory.
4053 if test -n "$CPP" && test -d "$CPP"; then 4767 if test -n "$CPP" && test -d "$CPP"; then
4054 CPP= 4768 CPP=
4055 fi 4769 fi
4056 if test -z "$CPP"; then 4770 if test -z "$CPP"; then
4080 #else 4794 #else
4081 # include <assert.h> 4795 # include <assert.h>
4082 #endif 4796 #endif
4083 Syntax error 4797 Syntax error
4084 _ACEOF 4798 _ACEOF
4085 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4799 if { (ac_try="$ac_cpp conftest.$ac_ext"
4086 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4800 case "(($ac_try" in
4801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4802 *) ac_try_echo=$ac_try;;
4803 esac
4804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4805 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4087 ac_status=$? 4806 ac_status=$?
4088 grep -v '^ *+' conftest.er1 >conftest.err 4807 grep -v '^ *+' conftest.er1 >conftest.err
4089 rm -f conftest.er1 4808 rm -f conftest.er1
4090 cat conftest.err >&5 4809 cat conftest.err >&5
4091 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4106 sed 's/^/| /' conftest.$ac_ext >&5 4825 sed 's/^/| /' conftest.$ac_ext >&5
4107 4826
4108 # Broken: fails on valid input. 4827 # Broken: fails on valid input.
4109 continue 4828 continue
4110 fi 4829 fi
4830
4111 rm -f conftest.err conftest.$ac_ext 4831 rm -f conftest.err conftest.$ac_ext
4112 4832
4113 # OK, works on sane cases. Now check whether non-existent headers 4833 # OK, works on sane cases. Now check whether nonexistent headers
4114 # can be detected and how. 4834 # can be detected and how.
4115 cat >conftest.$ac_ext <<_ACEOF 4835 cat >conftest.$ac_ext <<_ACEOF
4116 /* confdefs.h. */ 4836 /* confdefs.h. */
4117 _ACEOF 4837 _ACEOF
4118 cat confdefs.h >>conftest.$ac_ext 4838 cat confdefs.h >>conftest.$ac_ext
4119 cat >>conftest.$ac_ext <<_ACEOF 4839 cat >>conftest.$ac_ext <<_ACEOF
4120 /* end confdefs.h. */ 4840 /* end confdefs.h. */
4121 #include <ac_nonexistent.h> 4841 #include <ac_nonexistent.h>
4122 _ACEOF 4842 _ACEOF
4123 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4843 if { (ac_try="$ac_cpp conftest.$ac_ext"
4124 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4844 case "(($ac_try" in
4845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4846 *) ac_try_echo=$ac_try;;
4847 esac
4848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4849 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4125 ac_status=$? 4850 ac_status=$?
4126 grep -v '^ *+' conftest.er1 >conftest.err 4851 grep -v '^ *+' conftest.er1 >conftest.err
4127 rm -f conftest.er1 4852 rm -f conftest.er1
4128 cat conftest.err >&5 4853 cat conftest.err >&5
4129 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4146 4871
4147 # Passes both tests. 4872 # Passes both tests.
4148 ac_preproc_ok=: 4873 ac_preproc_ok=:
4149 break 4874 break
4150 fi 4875 fi
4876
4151 rm -f conftest.err conftest.$ac_ext 4877 rm -f conftest.err conftest.$ac_ext
4152 4878
4153 done 4879 done
4154 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4880 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4155 rm -f conftest.err conftest.$ac_ext 4881 rm -f conftest.err conftest.$ac_ext
4163 fi 4889 fi
4164 CPP=$ac_cv_prog_CPP 4890 CPP=$ac_cv_prog_CPP
4165 else 4891 else
4166 ac_cv_prog_CPP=$CPP 4892 ac_cv_prog_CPP=$CPP
4167 fi 4893 fi
4168 echo "$as_me:$LINENO: result: $CPP" >&5 4894 { echo "$as_me:$LINENO: result: $CPP" >&5
4169 echo "${ECHO_T}$CPP" >&6 4895 echo "${ECHO_T}$CPP" >&6; }
4170 ac_preproc_ok=false 4896 ac_preproc_ok=false
4171 for ac_c_preproc_warn_flag in '' yes 4897 for ac_c_preproc_warn_flag in '' yes
4172 do 4898 do
4173 # Use a header file that comes with gcc, so configuring glibc 4899 # Use a header file that comes with gcc, so configuring glibc
4174 # with a fresh cross-compiler works. 4900 # with a fresh cross-compiler works.
4187 #else 4913 #else
4188 # include <assert.h> 4914 # include <assert.h>
4189 #endif 4915 #endif
4190 Syntax error 4916 Syntax error
4191 _ACEOF 4917 _ACEOF
4192 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4918 if { (ac_try="$ac_cpp conftest.$ac_ext"
4193 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4919 case "(($ac_try" in
4920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4921 *) ac_try_echo=$ac_try;;
4922 esac
4923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4924 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4194 ac_status=$? 4925 ac_status=$?
4195 grep -v '^ *+' conftest.er1 >conftest.err 4926 grep -v '^ *+' conftest.er1 >conftest.err
4196 rm -f conftest.er1 4927 rm -f conftest.er1
4197 cat conftest.err >&5 4928 cat conftest.err >&5
4198 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4213 sed 's/^/| /' conftest.$ac_ext >&5 4944 sed 's/^/| /' conftest.$ac_ext >&5
4214 4945
4215 # Broken: fails on valid input. 4946 # Broken: fails on valid input.
4216 continue 4947 continue
4217 fi 4948 fi
4949
4218 rm -f conftest.err conftest.$ac_ext 4950 rm -f conftest.err conftest.$ac_ext
4219 4951
4220 # OK, works on sane cases. Now check whether non-existent headers 4952 # OK, works on sane cases. Now check whether nonexistent headers
4221 # can be detected and how. 4953 # can be detected and how.
4222 cat >conftest.$ac_ext <<_ACEOF 4954 cat >conftest.$ac_ext <<_ACEOF
4223 /* confdefs.h. */ 4955 /* confdefs.h. */
4224 _ACEOF 4956 _ACEOF
4225 cat confdefs.h >>conftest.$ac_ext 4957 cat confdefs.h >>conftest.$ac_ext
4226 cat >>conftest.$ac_ext <<_ACEOF 4958 cat >>conftest.$ac_ext <<_ACEOF
4227 /* end confdefs.h. */ 4959 /* end confdefs.h. */
4228 #include <ac_nonexistent.h> 4960 #include <ac_nonexistent.h>
4229 _ACEOF 4961 _ACEOF
4230 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4962 if { (ac_try="$ac_cpp conftest.$ac_ext"
4231 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4963 case "(($ac_try" in
4964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4965 *) ac_try_echo=$ac_try;;
4966 esac
4967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4968 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4232 ac_status=$? 4969 ac_status=$?
4233 grep -v '^ *+' conftest.er1 >conftest.err 4970 grep -v '^ *+' conftest.er1 >conftest.err
4234 rm -f conftest.er1 4971 rm -f conftest.er1
4235 cat conftest.err >&5 4972 cat conftest.err >&5
4236 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4253 4990
4254 # Passes both tests. 4991 # Passes both tests.
4255 ac_preproc_ok=: 4992 ac_preproc_ok=:
4256 break 4993 break
4257 fi 4994 fi
4995
4258 rm -f conftest.err conftest.$ac_ext 4996 rm -f conftest.err conftest.$ac_ext
4259 4997
4260 done 4998 done
4261 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4999 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4262 rm -f conftest.err conftest.$ac_ext 5000 rm -f conftest.err conftest.$ac_ext
4287 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 5025 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4288 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 5026 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4289 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 5027 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4290 # OS/2's system install, which has a completely different semantic 5028 # OS/2's system install, which has a completely different semantic
4291 # ./install, which can be erroneously created by make from ./install.sh. 5029 # ./install, which can be erroneously created by make from ./install.sh.
4292 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 5030 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4293 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 5031 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
4294 if test -z "$INSTALL"; then 5032 if test -z "$INSTALL"; then
4295 if test "${ac_cv_path_install+set}" = set; then 5033 if test "${ac_cv_path_install+set}" = set; then
4296 echo $ECHO_N "(cached) $ECHO_C" >&6 5034 echo $ECHO_N "(cached) $ECHO_C" >&6
4297 else 5035 else
4298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4310 # OSF1 and SCO ODT 3.0 have their own names for install. 5048 # 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 5049 # Don't use installbsd from OSF since it installs stuff as root
4312 # by default. 5050 # by default.
4313 for ac_prog in ginstall scoinst install; do 5051 for ac_prog in ginstall scoinst install; do
4314 for ac_exec_ext in '' $ac_executable_extensions; do 5052 for ac_exec_ext in '' $ac_executable_extensions; do
4315 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 5053 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 && 5054 if test $ac_prog = install &&
4317 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 5055 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4318 # AIX install. It has an incompatible calling convention. 5056 # AIX install. It has an incompatible calling convention.
4319 : 5057 :
4320 elif test $ac_prog = install && 5058 elif test $ac_prog = install &&
4329 done 5067 done
4330 done 5068 done
4331 ;; 5069 ;;
4332 esac 5070 esac
4333 done 5071 done
5072 IFS=$as_save_IFS
4334 5073
4335 5074
4336 fi 5075 fi
4337 if test "${ac_cv_path_install+set}" = set; then 5076 if test "${ac_cv_path_install+set}" = set; then
4338 INSTALL=$ac_cv_path_install 5077 INSTALL=$ac_cv_path_install
4339 else 5078 else
4340 # As a last resort, use the slow shell script. We don't cache a 5079 # As a last resort, use the slow shell script. Don't cache a
4341 # path for INSTALL within a source directory, because that will 5080 # value for INSTALL within a source directory, because that will
4342 # break other packages using the cache if that directory is 5081 # break other packages using the cache if that directory is
4343 # removed, or if the path is relative. 5082 # removed, or if the value is a relative name.
4344 INSTALL=$ac_install_sh 5083 INSTALL=$ac_install_sh
4345 fi 5084 fi
4346 fi 5085 fi
4347 echo "$as_me:$LINENO: result: $INSTALL" >&5 5086 { echo "$as_me:$LINENO: result: $INSTALL" >&5
4348 echo "${ECHO_T}$INSTALL" >&6 5087 echo "${ECHO_T}$INSTALL" >&6; }
4349 5088
4350 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 5089 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4351 # It thinks the first close brace ends the variable substitution. 5090 # It thinks the first close brace ends the variable substitution.
4352 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 5091 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4353 5092
4357 5096
4358 if test "x$RANLIB" = x; then 5097 if test "x$RANLIB" = x; then
4359 if test -n "$ac_tool_prefix"; then 5098 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. 5099 # 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 5100 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4362 echo "$as_me:$LINENO: checking for $ac_word" >&5 5101 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4363 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 5102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4364 if test "${ac_cv_prog_RANLIB+set}" = set; then 5103 if test "${ac_cv_prog_RANLIB+set}" = set; then
4365 echo $ECHO_N "(cached) $ECHO_C" >&6 5104 echo $ECHO_N "(cached) $ECHO_C" >&6
4366 else 5105 else
4367 if test -n "$RANLIB"; then 5106 if test -n "$RANLIB"; then
4368 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 5107 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4371 for as_dir in $PATH 5110 for as_dir in $PATH
4372 do 5111 do
4373 IFS=$as_save_IFS 5112 IFS=$as_save_IFS
4374 test -z "$as_dir" && as_dir=. 5113 test -z "$as_dir" && as_dir=.
4375 for ac_exec_ext in '' $ac_executable_extensions; do 5114 for ac_exec_ext in '' $ac_executable_extensions; do
4376 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5115 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" 5116 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4379 break 2 5118 break 2
4380 fi 5119 fi
4381 done 5120 done
4382 done 5121 done
5122 IFS=$as_save_IFS
4383 5123
4384 fi 5124 fi
4385 fi 5125 fi
4386 RANLIB=$ac_cv_prog_RANLIB 5126 RANLIB=$ac_cv_prog_RANLIB
4387 if test -n "$RANLIB"; then 5127 if test -n "$RANLIB"; then
4388 echo "$as_me:$LINENO: result: $RANLIB" >&5 5128 { echo "$as_me:$LINENO: result: $RANLIB" >&5
4389 echo "${ECHO_T}$RANLIB" >&6 5129 echo "${ECHO_T}$RANLIB" >&6; }
4390 else 5130 else
4391 echo "$as_me:$LINENO: result: no" >&5 5131 { echo "$as_me:$LINENO: result: no" >&5
4392 echo "${ECHO_T}no" >&6 5132 echo "${ECHO_T}no" >&6; }
4393 fi 5133 fi
5134
4394 5135
4395 fi 5136 fi
4396 if test -z "$ac_cv_prog_RANLIB"; then 5137 if test -z "$ac_cv_prog_RANLIB"; then
4397 ac_ct_RANLIB=$RANLIB 5138 ac_ct_RANLIB=$RANLIB
4398 # Extract the first word of "ranlib", so it can be a program name with args. 5139 # Extract the first word of "ranlib", so it can be a program name with args.
4399 set dummy ranlib; ac_word=$2 5140 set dummy ranlib; ac_word=$2
4400 echo "$as_me:$LINENO: checking for $ac_word" >&5 5141 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 5142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4402 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 5143 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4403 echo $ECHO_N "(cached) $ECHO_C" >&6 5144 echo $ECHO_N "(cached) $ECHO_C" >&6
4404 else 5145 else
4405 if test -n "$ac_ct_RANLIB"; then 5146 if test -n "$ac_ct_RANLIB"; then
4406 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 5147 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4409 for as_dir in $PATH 5150 for as_dir in $PATH
4410 do 5151 do
4411 IFS=$as_save_IFS 5152 IFS=$as_save_IFS
4412 test -z "$as_dir" && as_dir=. 5153 test -z "$as_dir" && as_dir=.
4413 for ac_exec_ext in '' $ac_executable_extensions; do 5154 for ac_exec_ext in '' $ac_executable_extensions; do
4414 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5155 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" 5156 ac_cv_prog_ac_ct_RANLIB="ranlib"
4416 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4417 break 2 5158 break 2
4418 fi 5159 fi
4419 done 5160 done
4420 done 5161 done
4421 5162 IFS=$as_save_IFS
4422 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 5163
4423 fi 5164 fi
4424 fi 5165 fi
4425 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 5166 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4426 if test -n "$ac_ct_RANLIB"; then 5167 if test -n "$ac_ct_RANLIB"; then
4427 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 5168 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4428 echo "${ECHO_T}$ac_ct_RANLIB" >&6 5169 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
4429 else 5170 else
4430 echo "$as_me:$LINENO: result: no" >&5 5171 { echo "$as_me:$LINENO: result: no" >&5
4431 echo "${ECHO_T}no" >&6 5172 echo "${ECHO_T}no" >&6; }
4432 fi 5173 fi
4433 5174
4434 RANLIB=$ac_ct_RANLIB 5175 if test "x$ac_ct_RANLIB" = x; then
5176 RANLIB=":"
5177 else
5178 case $cross_compiling:$ac_tool_warned in
5179 yes:)
5180 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5181 whose name does not start with the host triplet. If you think this
5182 configuration is useful to you, please write to autoconf@gnu.org." >&5
5183 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5184 whose name does not start with the host triplet. If you think this
5185 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5186 ac_tool_warned=yes ;;
5187 esac
5188 RANLIB=$ac_ct_RANLIB
5189 fi
4435 else 5190 else
4436 RANLIB="$ac_cv_prog_RANLIB" 5191 RANLIB="$ac_cv_prog_RANLIB"
4437 fi 5192 fi
4438 5193
4439 fi 5194 fi
4440 # Extract the first word of "install-info", so it can be a program name with args. 5195 # Extract the first word of "install-info", so it can be a program name with args.
4441 set dummy install-info; ac_word=$2 5196 set dummy install-info; ac_word=$2
4442 echo "$as_me:$LINENO: checking for $ac_word" >&5 5197 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 5198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4444 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then 5199 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
4445 echo $ECHO_N "(cached) $ECHO_C" >&6 5200 echo $ECHO_N "(cached) $ECHO_C" >&6
4446 else 5201 else
4447 case $INSTALL_INFO in 5202 case $INSTALL_INFO in
4448 [\\/]* | ?:[\\/]*) 5203 [\\/]* | ?:[\\/]*)
4453 for as_dir in $PATH 5208 for as_dir in $PATH
4454 do 5209 do
4455 IFS=$as_save_IFS 5210 IFS=$as_save_IFS
4456 test -z "$as_dir" && as_dir=. 5211 test -z "$as_dir" && as_dir=.
4457 for ac_exec_ext in '' $ac_executable_extensions; do 5212 for ac_exec_ext in '' $ac_executable_extensions; do
4458 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5213 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" 5214 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 5215 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4461 break 2 5216 break 2
4462 fi 5217 fi
4463 done 5218 done
4464 done 5219 done
5220 IFS=$as_save_IFS
4465 5221
4466 ;; 5222 ;;
4467 esac 5223 esac
4468 fi 5224 fi
4469 INSTALL_INFO=$ac_cv_path_INSTALL_INFO 5225 INSTALL_INFO=$ac_cv_path_INSTALL_INFO
4470
4471 if test -n "$INSTALL_INFO"; then 5226 if test -n "$INSTALL_INFO"; then
4472 echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 5227 { echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
4473 echo "${ECHO_T}$INSTALL_INFO" >&6 5228 echo "${ECHO_T}$INSTALL_INFO" >&6; }
4474 else 5229 else
4475 echo "$as_me:$LINENO: result: no" >&5 5230 { echo "$as_me:$LINENO: result: no" >&5
4476 echo "${ECHO_T}no" >&6 5231 echo "${ECHO_T}no" >&6; }
4477 fi 5232 fi
5233
4478 5234
4479 # Extract the first word of "install-info", so it can be a program name with args. 5235 # Extract the first word of "install-info", so it can be a program name with args.
4480 set dummy install-info; ac_word=$2 5236 set dummy install-info; ac_word=$2
4481 echo "$as_me:$LINENO: checking for $ac_word" >&5 5237 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 5238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4483 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then 5239 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
4484 echo $ECHO_N "(cached) $ECHO_C" >&6 5240 echo $ECHO_N "(cached) $ECHO_C" >&6
4485 else 5241 else
4486 case $INSTALL_INFO in 5242 case $INSTALL_INFO in
4487 [\\/]* | ?:[\\/]*) 5243 [\\/]* | ?:[\\/]*)
4492 for as_dir in /usr/sbin 5248 for as_dir in /usr/sbin
4493 do 5249 do
4494 IFS=$as_save_IFS 5250 IFS=$as_save_IFS
4495 test -z "$as_dir" && as_dir=. 5251 test -z "$as_dir" && as_dir=.
4496 for ac_exec_ext in '' $ac_executable_extensions; do 5252 for ac_exec_ext in '' $ac_executable_extensions; do
4497 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5253 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" 5254 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 5255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4500 break 2 5256 break 2
4501 fi 5257 fi
4502 done 5258 done
4503 done 5259 done
5260 IFS=$as_save_IFS
4504 5261
4505 ;; 5262 ;;
4506 esac 5263 esac
4507 fi 5264 fi
4508 INSTALL_INFO=$ac_cv_path_INSTALL_INFO 5265 INSTALL_INFO=$ac_cv_path_INSTALL_INFO
4509
4510 if test -n "$INSTALL_INFO"; then 5266 if test -n "$INSTALL_INFO"; then
4511 echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 5267 { echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
4512 echo "${ECHO_T}$INSTALL_INFO" >&6 5268 echo "${ECHO_T}$INSTALL_INFO" >&6; }
4513 else 5269 else
4514 echo "$as_me:$LINENO: result: no" >&5 5270 { echo "$as_me:$LINENO: result: no" >&5
4515 echo "${ECHO_T}no" >&6 5271 echo "${ECHO_T}no" >&6; }
4516 fi 5272 fi
5273
4517 5274
4518 # Extract the first word of "install-info", so it can be a program name with args. 5275 # Extract the first word of "install-info", so it can be a program name with args.
4519 set dummy install-info; ac_word=$2 5276 set dummy install-info; ac_word=$2
4520 echo "$as_me:$LINENO: checking for $ac_word" >&5 5277 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 5278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4522 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then 5279 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
4523 echo $ECHO_N "(cached) $ECHO_C" >&6 5280 echo $ECHO_N "(cached) $ECHO_C" >&6
4524 else 5281 else
4525 case $INSTALL_INFO in 5282 case $INSTALL_INFO in
4526 [\\/]* | ?:[\\/]*) 5283 [\\/]* | ?:[\\/]*)
4531 for as_dir in /sbin 5288 for as_dir in /sbin
4532 do 5289 do
4533 IFS=$as_save_IFS 5290 IFS=$as_save_IFS
4534 test -z "$as_dir" && as_dir=. 5291 test -z "$as_dir" && as_dir=.
4535 for ac_exec_ext in '' $ac_executable_extensions; do 5292 for ac_exec_ext in '' $ac_executable_extensions; do
4536 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5293 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" 5294 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 5295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4539 break 2 5296 break 2
4540 fi 5297 fi
4541 done 5298 done
4542 done 5299 done
5300 IFS=$as_save_IFS
4543 5301
4544 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO=":" 5302 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO=":"
4545 ;; 5303 ;;
4546 esac 5304 esac
4547 fi 5305 fi
4548 INSTALL_INFO=$ac_cv_path_INSTALL_INFO 5306 INSTALL_INFO=$ac_cv_path_INSTALL_INFO
4549
4550 if test -n "$INSTALL_INFO"; then 5307 if test -n "$INSTALL_INFO"; then
4551 echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 5308 { echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
4552 echo "${ECHO_T}$INSTALL_INFO" >&6 5309 echo "${ECHO_T}$INSTALL_INFO" >&6; }
4553 else 5310 else
4554 echo "$as_me:$LINENO: result: no" >&5 5311 { echo "$as_me:$LINENO: result: no" >&5
4555 echo "${ECHO_T}no" >&6 5312 echo "${ECHO_T}no" >&6; }
4556 fi 5313 fi
5314
4557 5315
4558 # Extract the first word of "gzip", so it can be a program name with args. 5316 # Extract the first word of "gzip", so it can be a program name with args.
4559 set dummy gzip; ac_word=$2 5317 set dummy gzip; ac_word=$2
4560 echo "$as_me:$LINENO: checking for $ac_word" >&5 5318 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4561 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 5319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4562 if test "${ac_cv_path_GZIP_PROG+set}" = set; then 5320 if test "${ac_cv_path_GZIP_PROG+set}" = set; then
4563 echo $ECHO_N "(cached) $ECHO_C" >&6 5321 echo $ECHO_N "(cached) $ECHO_C" >&6
4564 else 5322 else
4565 case $GZIP_PROG in 5323 case $GZIP_PROG in
4566 [\\/]* | ?:[\\/]*) 5324 [\\/]* | ?:[\\/]*)
4571 for as_dir in $PATH 5329 for as_dir in $PATH
4572 do 5330 do
4573 IFS=$as_save_IFS 5331 IFS=$as_save_IFS
4574 test -z "$as_dir" && as_dir=. 5332 test -z "$as_dir" && as_dir=.
4575 for ac_exec_ext in '' $ac_executable_extensions; do 5333 for ac_exec_ext in '' $ac_executable_extensions; do
4576 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5334 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" 5335 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 5336 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4579 break 2 5337 break 2
4580 fi 5338 fi
4581 done 5339 done
4582 done 5340 done
5341 IFS=$as_save_IFS
4583 5342
4584 ;; 5343 ;;
4585 esac 5344 esac
4586 fi 5345 fi
4587 GZIP_PROG=$ac_cv_path_GZIP_PROG 5346 GZIP_PROG=$ac_cv_path_GZIP_PROG
4588
4589 if test -n "$GZIP_PROG"; then 5347 if test -n "$GZIP_PROG"; then
4590 echo "$as_me:$LINENO: result: $GZIP_PROG" >&5 5348 { echo "$as_me:$LINENO: result: $GZIP_PROG" >&5
4591 echo "${ECHO_T}$GZIP_PROG" >&6 5349 echo "${ECHO_T}$GZIP_PROG" >&6; }
4592 else 5350 else
4593 echo "$as_me:$LINENO: result: no" >&5 5351 { echo "$as_me:$LINENO: result: no" >&5
4594 echo "${ECHO_T}no" >&6 5352 echo "${ECHO_T}no" >&6; }
4595 fi 5353 fi
5354
4596 5355
4597 5356
4598 5357
4599 if test x$GCC = xyes && test "x$GCC_LINK_TEST_OPTIONS" != x 5358 if test x$GCC = xyes && test "x$GCC_LINK_TEST_OPTIONS" != x
4600 then 5359 then
4612 LDFLAGS="$LDFLAGS -Wl,-znocombreloc" 5371 LDFLAGS="$LDFLAGS -Wl,-znocombreloc"
4613 else 5372 else
4614 LDFLAGS="$LDFLAGS -znocombreloc" 5373 LDFLAGS="$LDFLAGS -znocombreloc"
4615 fi 5374 fi
4616 5375
4617 echo "$as_me:$LINENO: checking for -znocombreloc" >&5 5376 { echo "$as_me:$LINENO: checking for -znocombreloc" >&5
4618 echo $ECHO_N "checking for -znocombreloc... $ECHO_C" >&6 5377 echo $ECHO_N "checking for -znocombreloc... $ECHO_C" >&6; }
4619 cat >conftest.$ac_ext <<_ACEOF 5378 cat >conftest.$ac_ext <<_ACEOF
4620 main(){return 0;} 5379 main(){return 0;}
4621 _ACEOF 5380 _ACEOF
4622 rm -f conftest.$ac_objext conftest$ac_exeext 5381 rm -f conftest.$ac_objext conftest$ac_exeext
4623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5382 if { (ac_try="$ac_link"
4624 (eval $ac_link) 2>conftest.er1 5383 case "(($ac_try" in
5384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5385 *) ac_try_echo=$ac_try;;
5386 esac
5387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5388 (eval "$ac_link") 2>conftest.er1
4625 ac_status=$? 5389 ac_status=$?
4626 grep -v '^ *+' conftest.er1 >conftest.err 5390 grep -v '^ *+' conftest.er1 >conftest.err
4627 rm -f conftest.er1 5391 rm -f conftest.er1
4628 cat conftest.err >&5 5392 cat conftest.err >&5
4629 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4630 (exit $ac_status); } && 5394 (exit $ac_status); } &&
4631 { ac_try='test -z "$ac_c_werror_flag" 5395 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4632 || test ! -s conftest.err' 5396 { (case "(($ac_try" in
4633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4634 (eval $ac_try) 2>&5 5398 *) ac_try_echo=$ac_try;;
5399 esac
5400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5401 (eval "$ac_try") 2>&5
4635 ac_status=$? 5402 ac_status=$?
4636 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4637 (exit $ac_status); }; } && 5404 (exit $ac_status); }; } &&
4638 { ac_try='test -s conftest$ac_exeext' 5405 { ac_try='test -s conftest$ac_exeext'
4639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5406 { (case "(($ac_try" in
4640 (eval $ac_try) 2>&5 5407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5408 *) ac_try_echo=$ac_try;;
5409 esac
5410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5411 (eval "$ac_try") 2>&5
4641 ac_status=$? 5412 ac_status=$?
4642 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4643 (exit $ac_status); }; }; then 5414 (exit $ac_status); }; }; then
4644 echo "$as_me:$LINENO: result: yes" >&5 5415 { echo "$as_me:$LINENO: result: yes" >&5
4645 echo "${ECHO_T}yes" >&6 5416 echo "${ECHO_T}yes" >&6; }
4646 else 5417 else
4647 echo "$as_me: failed program was:" >&5 5418 echo "$as_me: failed program was:" >&5
4648 sed 's/^/| /' conftest.$ac_ext >&5 5419 sed 's/^/| /' conftest.$ac_ext >&5
4649 5420
4650 LDFLAGS=$late_LDFLAGS 5421 LDFLAGS=$late_LDFLAGS
4651 echo "$as_me:$LINENO: result: no" >&5 5422 { echo "$as_me:$LINENO: result: no" >&5
4652 echo "${ECHO_T}no" >&6 5423 echo "${ECHO_T}no" >&6; }
4653 fi 5424 fi
4654 rm -f conftest.err conftest.$ac_objext \ 5425
5426 rm -f core conftest.err conftest.$ac_objext \
4655 conftest$ac_exeext conftest.$ac_ext 5427 conftest$ac_exeext conftest.$ac_ext
4656 5428
4657 #### Extract some information from the operating system and machine files. 5429 #### Extract some information from the operating system and machine files.
4658 5430
4659 { echo "$as_me:$LINENO: checking the machine- and system-dependent files to find out 5431 { echo "$as_me:$LINENO: checking the machine- and system-dependent files to find out
4803 CPPFLAGS="$c_switch_system $c_switch_machine $CPPFLAGS" 5575 CPPFLAGS="$c_switch_system $c_switch_machine $CPPFLAGS"
4804 fi 5576 fi
4805 5577
4806 5578
4807 5579
4808 # Check whether --enable-largefile or --disable-largefile was given. 5580 # Check whether --enable-largefile was given.
4809 if test "${enable_largefile+set}" = set; then 5581 if test "${enable_largefile+set}" = set; then
4810 enableval="$enable_largefile" 5582 enableval=$enable_largefile;
4811 5583 fi
4812 fi; 5584
4813 if test "$enable_largefile" != no; then 5585 if test "$enable_largefile" != no; then
4814 5586
4815 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5 5587 { 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 5588 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 5589 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4818 echo $ECHO_N "(cached) $ECHO_C" >&6 5590 echo $ECHO_N "(cached) $ECHO_C" >&6
4819 else 5591 else
4820 ac_cv_sys_largefile_CC=no 5592 ac_cv_sys_largefile_CC=no
4821 if test "$GCC" != yes; then 5593 if test "$GCC" != yes; then
4822 ac_save_CC=$CC 5594 ac_save_CC=$CC
4823 while :; do 5595 while :; do
4824 # IRIX 6.2 and later do not support large files by default, 5596 # IRIX 6.2 and later do not support large files by default,
4825 # so use the C compiler's -n32 option if that helps. 5597 # so use the C compiler's -n32 option if that helps.
4826 cat >conftest.$ac_ext <<_ACEOF 5598 cat >conftest.$ac_ext <<_ACEOF
4827 /* confdefs.h. */ 5599 /* confdefs.h. */
4828 _ACEOF 5600 _ACEOF
4829 cat confdefs.h >>conftest.$ac_ext 5601 cat confdefs.h >>conftest.$ac_ext
4830 cat >>conftest.$ac_ext <<_ACEOF 5602 cat >>conftest.$ac_ext <<_ACEOF
4844 5616
4845 ; 5617 ;
4846 return 0; 5618 return 0;
4847 } 5619 }
4848 _ACEOF 5620 _ACEOF
4849 rm -f conftest.$ac_objext 5621 rm -f conftest.$ac_objext
4850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5622 if { (ac_try="$ac_compile"
4851 (eval $ac_compile) 2>conftest.er1 5623 case "(($ac_try" in
5624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5625 *) ac_try_echo=$ac_try;;
5626 esac
5627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5628 (eval "$ac_compile") 2>conftest.er1
4852 ac_status=$? 5629 ac_status=$?
4853 grep -v '^ *+' conftest.er1 >conftest.err 5630 grep -v '^ *+' conftest.er1 >conftest.err
4854 rm -f conftest.er1 5631 rm -f conftest.er1
4855 cat conftest.err >&5 5632 cat conftest.err >&5
4856 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4857 (exit $ac_status); } && 5634 (exit $ac_status); } &&
4858 { ac_try='test -z "$ac_c_werror_flag" 5635 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4859 || test ! -s conftest.err' 5636 { (case "(($ac_try" in
4860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4861 (eval $ac_try) 2>&5 5638 *) ac_try_echo=$ac_try;;
5639 esac
5640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5641 (eval "$ac_try") 2>&5
4862 ac_status=$? 5642 ac_status=$?
4863 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4864 (exit $ac_status); }; } && 5644 (exit $ac_status); }; } &&
4865 { ac_try='test -s conftest.$ac_objext' 5645 { ac_try='test -s conftest.$ac_objext'
4866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5646 { (case "(($ac_try" in
4867 (eval $ac_try) 2>&5 5647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5648 *) ac_try_echo=$ac_try;;
5649 esac
5650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5651 (eval "$ac_try") 2>&5
4868 ac_status=$? 5652 ac_status=$?
4869 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4870 (exit $ac_status); }; }; then 5654 (exit $ac_status); }; }; then
4871 break 5655 break
4872 else 5656 else
4873 echo "$as_me: failed program was:" >&5 5657 echo "$as_me: failed program was:" >&5
4874 sed 's/^/| /' conftest.$ac_ext >&5 5658 sed 's/^/| /' conftest.$ac_ext >&5
4875 5659
4876 fi 5660
4877 rm -f conftest.err conftest.$ac_objext 5661 fi
4878 CC="$CC -n32" 5662
4879 rm -f conftest.$ac_objext 5663 rm -f core conftest.err conftest.$ac_objext
4880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5664 CC="$CC -n32"
4881 (eval $ac_compile) 2>conftest.er1 5665 rm -f conftest.$ac_objext
5666 if { (ac_try="$ac_compile"
5667 case "(($ac_try" in
5668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5669 *) ac_try_echo=$ac_try;;
5670 esac
5671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5672 (eval "$ac_compile") 2>conftest.er1
4882 ac_status=$? 5673 ac_status=$?
4883 grep -v '^ *+' conftest.er1 >conftest.err 5674 grep -v '^ *+' conftest.er1 >conftest.err
4884 rm -f conftest.er1 5675 rm -f conftest.er1
4885 cat conftest.err >&5 5676 cat conftest.err >&5
4886 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4887 (exit $ac_status); } && 5678 (exit $ac_status); } &&
4888 { ac_try='test -z "$ac_c_werror_flag" 5679 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4889 || test ! -s conftest.err' 5680 { (case "(($ac_try" in
4890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4891 (eval $ac_try) 2>&5 5682 *) ac_try_echo=$ac_try;;
5683 esac
5684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5685 (eval "$ac_try") 2>&5
4892 ac_status=$? 5686 ac_status=$?
4893 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4894 (exit $ac_status); }; } && 5688 (exit $ac_status); }; } &&
4895 { ac_try='test -s conftest.$ac_objext' 5689 { ac_try='test -s conftest.$ac_objext'
4896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5690 { (case "(($ac_try" in
4897 (eval $ac_try) 2>&5 5691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5692 *) ac_try_echo=$ac_try;;
5693 esac
5694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5695 (eval "$ac_try") 2>&5
4898 ac_status=$? 5696 ac_status=$?
4899 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4900 (exit $ac_status); }; }; then 5698 (exit $ac_status); }; }; then
4901 ac_cv_sys_largefile_CC=' -n32'; break 5699 ac_cv_sys_largefile_CC=' -n32'; break
4902 else 5700 else
4903 echo "$as_me: failed program was:" >&5 5701 echo "$as_me: failed program was:" >&5
4904 sed 's/^/| /' conftest.$ac_ext >&5 5702 sed 's/^/| /' conftest.$ac_ext >&5
4905 5703
4906 fi 5704
4907 rm -f conftest.err conftest.$ac_objext 5705 fi
5706
5707 rm -f core conftest.err conftest.$ac_objext
4908 break 5708 break
4909 done 5709 done
4910 CC=$ac_save_CC 5710 CC=$ac_save_CC
4911 rm -f conftest.$ac_ext 5711 rm -f conftest.$ac_ext
4912 fi 5712 fi
4913 fi 5713 fi
4914 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5 5714 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4915 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6 5715 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6; }
4916 if test "$ac_cv_sys_largefile_CC" != no; then 5716 if test "$ac_cv_sys_largefile_CC" != no; then
4917 CC=$CC$ac_cv_sys_largefile_CC 5717 CC=$CC$ac_cv_sys_largefile_CC
4918 fi 5718 fi
4919 5719
4920 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5 5720 { 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 5721 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 5722 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4923 echo $ECHO_N "(cached) $ECHO_C" >&6 5723 echo $ECHO_N "(cached) $ECHO_C" >&6
4924 else 5724 else
4925 while :; do 5725 while :; do
4926 ac_cv_sys_file_offset_bits=no 5726 ac_cv_sys_file_offset_bits=no
4946 ; 5746 ;
4947 return 0; 5747 return 0;
4948 } 5748 }
4949 _ACEOF 5749 _ACEOF
4950 rm -f conftest.$ac_objext 5750 rm -f conftest.$ac_objext
4951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5751 if { (ac_try="$ac_compile"
4952 (eval $ac_compile) 2>conftest.er1 5752 case "(($ac_try" in
5753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5754 *) ac_try_echo=$ac_try;;
5755 esac
5756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5757 (eval "$ac_compile") 2>conftest.er1
4953 ac_status=$? 5758 ac_status=$?
4954 grep -v '^ *+' conftest.er1 >conftest.err 5759 grep -v '^ *+' conftest.er1 >conftest.err
4955 rm -f conftest.er1 5760 rm -f conftest.er1
4956 cat conftest.err >&5 5761 cat conftest.err >&5
4957 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4958 (exit $ac_status); } && 5763 (exit $ac_status); } &&
4959 { ac_try='test -z "$ac_c_werror_flag" 5764 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4960 || test ! -s conftest.err' 5765 { (case "(($ac_try" in
4961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4962 (eval $ac_try) 2>&5 5767 *) ac_try_echo=$ac_try;;
5768 esac
5769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5770 (eval "$ac_try") 2>&5
4963 ac_status=$? 5771 ac_status=$?
4964 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4965 (exit $ac_status); }; } && 5773 (exit $ac_status); }; } &&
4966 { ac_try='test -s conftest.$ac_objext' 5774 { ac_try='test -s conftest.$ac_objext'
4967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5775 { (case "(($ac_try" in
4968 (eval $ac_try) 2>&5 5776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5777 *) ac_try_echo=$ac_try;;
5778 esac
5779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5780 (eval "$ac_try") 2>&5
4969 ac_status=$? 5781 ac_status=$?
4970 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4971 (exit $ac_status); }; }; then 5783 (exit $ac_status); }; }; then
4972 break 5784 break
4973 else 5785 else
4974 echo "$as_me: failed program was:" >&5 5786 echo "$as_me: failed program was:" >&5
4975 sed 's/^/| /' conftest.$ac_ext >&5 5787 sed 's/^/| /' conftest.$ac_ext >&5
4976 5788
4977 fi 5789
4978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5790 fi
5791
5792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4979 cat >conftest.$ac_ext <<_ACEOF 5793 cat >conftest.$ac_ext <<_ACEOF
4980 /* confdefs.h. */ 5794 /* confdefs.h. */
4981 _ACEOF 5795 _ACEOF
4982 cat confdefs.h >>conftest.$ac_ext 5796 cat confdefs.h >>conftest.$ac_ext
4983 cat >>conftest.$ac_ext <<_ACEOF 5797 cat >>conftest.$ac_ext <<_ACEOF
4999 ; 5813 ;
5000 return 0; 5814 return 0;
5001 } 5815 }
5002 _ACEOF 5816 _ACEOF
5003 rm -f conftest.$ac_objext 5817 rm -f conftest.$ac_objext
5004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5818 if { (ac_try="$ac_compile"
5005 (eval $ac_compile) 2>conftest.er1 5819 case "(($ac_try" in
5820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5821 *) ac_try_echo=$ac_try;;
5822 esac
5823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5824 (eval "$ac_compile") 2>conftest.er1
5006 ac_status=$? 5825 ac_status=$?
5007 grep -v '^ *+' conftest.er1 >conftest.err 5826 grep -v '^ *+' conftest.er1 >conftest.err
5008 rm -f conftest.er1 5827 rm -f conftest.er1
5009 cat conftest.err >&5 5828 cat conftest.err >&5
5010 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5011 (exit $ac_status); } && 5830 (exit $ac_status); } &&
5012 { ac_try='test -z "$ac_c_werror_flag" 5831 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5013 || test ! -s conftest.err' 5832 { (case "(($ac_try" in
5014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5015 (eval $ac_try) 2>&5 5834 *) ac_try_echo=$ac_try;;
5835 esac
5836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5837 (eval "$ac_try") 2>&5
5016 ac_status=$? 5838 ac_status=$?
5017 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5018 (exit $ac_status); }; } && 5840 (exit $ac_status); }; } &&
5019 { ac_try='test -s conftest.$ac_objext' 5841 { ac_try='test -s conftest.$ac_objext'
5020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5842 { (case "(($ac_try" in
5021 (eval $ac_try) 2>&5 5843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5844 *) ac_try_echo=$ac_try;;
5845 esac
5846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5847 (eval "$ac_try") 2>&5
5022 ac_status=$? 5848 ac_status=$?
5023 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5024 (exit $ac_status); }; }; then 5850 (exit $ac_status); }; }; then
5025 ac_cv_sys_file_offset_bits=64; break 5851 ac_cv_sys_file_offset_bits=64; break
5026 else 5852 else
5027 echo "$as_me: failed program was:" >&5 5853 echo "$as_me: failed program was:" >&5
5028 sed 's/^/| /' conftest.$ac_ext >&5 5854 sed 's/^/| /' conftest.$ac_ext >&5
5029 5855
5030 fi 5856
5031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5857 fi
5858
5859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5032 break 5860 break
5033 done 5861 done
5034 fi 5862 fi
5035 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5 5863 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
5036 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6 5864 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
5037 if test "$ac_cv_sys_file_offset_bits" != no; then 5865 if test "$ac_cv_sys_file_offset_bits" != no; then
5038 5866
5039 cat >>confdefs.h <<_ACEOF 5867 cat >>confdefs.h <<_ACEOF
5040 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 5868 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5041 _ACEOF 5869 _ACEOF
5042 5870
5043 fi 5871 fi
5044 rm -f conftest* 5872 rm -f conftest*
5045 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5 5873 { 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 5874 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 5875 if test "${ac_cv_sys_large_files+set}" = set; then
5048 echo $ECHO_N "(cached) $ECHO_C" >&6 5876 echo $ECHO_N "(cached) $ECHO_C" >&6
5049 else 5877 else
5050 while :; do 5878 while :; do
5051 ac_cv_sys_large_files=no 5879 ac_cv_sys_large_files=no
5071 ; 5899 ;
5072 return 0; 5900 return 0;
5073 } 5901 }
5074 _ACEOF 5902 _ACEOF
5075 rm -f conftest.$ac_objext 5903 rm -f conftest.$ac_objext
5076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5904 if { (ac_try="$ac_compile"
5077 (eval $ac_compile) 2>conftest.er1 5905 case "(($ac_try" in
5906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5907 *) ac_try_echo=$ac_try;;
5908 esac
5909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5910 (eval "$ac_compile") 2>conftest.er1
5078 ac_status=$? 5911 ac_status=$?
5079 grep -v '^ *+' conftest.er1 >conftest.err 5912 grep -v '^ *+' conftest.er1 >conftest.err
5080 rm -f conftest.er1 5913 rm -f conftest.er1
5081 cat conftest.err >&5 5914 cat conftest.err >&5
5082 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5083 (exit $ac_status); } && 5916 (exit $ac_status); } &&
5084 { ac_try='test -z "$ac_c_werror_flag" 5917 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5085 || test ! -s conftest.err' 5918 { (case "(($ac_try" in
5086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5087 (eval $ac_try) 2>&5 5920 *) ac_try_echo=$ac_try;;
5921 esac
5922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5923 (eval "$ac_try") 2>&5
5088 ac_status=$? 5924 ac_status=$?
5089 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5090 (exit $ac_status); }; } && 5926 (exit $ac_status); }; } &&
5091 { ac_try='test -s conftest.$ac_objext' 5927 { ac_try='test -s conftest.$ac_objext'
5092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5928 { (case "(($ac_try" in
5093 (eval $ac_try) 2>&5 5929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5930 *) ac_try_echo=$ac_try;;
5931 esac
5932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5933 (eval "$ac_try") 2>&5
5094 ac_status=$? 5934 ac_status=$?
5095 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5096 (exit $ac_status); }; }; then 5936 (exit $ac_status); }; }; then
5097 break 5937 break
5098 else 5938 else
5099 echo "$as_me: failed program was:" >&5 5939 echo "$as_me: failed program was:" >&5
5100 sed 's/^/| /' conftest.$ac_ext >&5 5940 sed 's/^/| /' conftest.$ac_ext >&5
5101 5941
5102 fi 5942
5103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5943 fi
5944
5945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5104 cat >conftest.$ac_ext <<_ACEOF 5946 cat >conftest.$ac_ext <<_ACEOF
5105 /* confdefs.h. */ 5947 /* confdefs.h. */
5106 _ACEOF 5948 _ACEOF
5107 cat confdefs.h >>conftest.$ac_ext 5949 cat confdefs.h >>conftest.$ac_ext
5108 cat >>conftest.$ac_ext <<_ACEOF 5950 cat >>conftest.$ac_ext <<_ACEOF
5124 ; 5966 ;
5125 return 0; 5967 return 0;
5126 } 5968 }
5127 _ACEOF 5969 _ACEOF
5128 rm -f conftest.$ac_objext 5970 rm -f conftest.$ac_objext
5129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5971 if { (ac_try="$ac_compile"
5130 (eval $ac_compile) 2>conftest.er1 5972 case "(($ac_try" in
5973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5974 *) ac_try_echo=$ac_try;;
5975 esac
5976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5977 (eval "$ac_compile") 2>conftest.er1
5131 ac_status=$? 5978 ac_status=$?
5132 grep -v '^ *+' conftest.er1 >conftest.err 5979 grep -v '^ *+' conftest.er1 >conftest.err
5133 rm -f conftest.er1 5980 rm -f conftest.er1
5134 cat conftest.err >&5 5981 cat conftest.err >&5
5135 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5136 (exit $ac_status); } && 5983 (exit $ac_status); } &&
5137 { ac_try='test -z "$ac_c_werror_flag" 5984 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5138 || test ! -s conftest.err' 5985 { (case "(($ac_try" in
5139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5140 (eval $ac_try) 2>&5 5987 *) ac_try_echo=$ac_try;;
5988 esac
5989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5990 (eval "$ac_try") 2>&5
5141 ac_status=$? 5991 ac_status=$?
5142 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5143 (exit $ac_status); }; } && 5993 (exit $ac_status); }; } &&
5144 { ac_try='test -s conftest.$ac_objext' 5994 { ac_try='test -s conftest.$ac_objext'
5145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5995 { (case "(($ac_try" in
5146 (eval $ac_try) 2>&5 5996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5997 *) ac_try_echo=$ac_try;;
5998 esac
5999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6000 (eval "$ac_try") 2>&5
5147 ac_status=$? 6001 ac_status=$?
5148 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5149 (exit $ac_status); }; }; then 6003 (exit $ac_status); }; }; then
5150 ac_cv_sys_large_files=1; break 6004 ac_cv_sys_large_files=1; break
5151 else 6005 else
5152 echo "$as_me: failed program was:" >&5 6006 echo "$as_me: failed program was:" >&5
5153 sed 's/^/| /' conftest.$ac_ext >&5 6007 sed 's/^/| /' conftest.$ac_ext >&5
5154 6008
5155 fi 6009
5156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6010 fi
6011
6012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5157 break 6013 break
5158 done 6014 done
5159 fi 6015 fi
5160 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5 6016 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
5161 echo "${ECHO_T}$ac_cv_sys_large_files" >&6 6017 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
5162 if test "$ac_cv_sys_large_files" != no; then 6018 if test "$ac_cv_sys_large_files" != no; then
5163 6019
5164 cat >>confdefs.h <<_ACEOF 6020 cat >>confdefs.h <<_ACEOF
5165 #define _LARGE_FILES $ac_cv_sys_large_files 6021 #define _LARGE_FILES $ac_cv_sys_large_files
5166 _ACEOF 6022 _ACEOF
5187 6043
5188 6044
5189 6045
5190 if test "${with_sound}" != "no"; then 6046 if test "${with_sound}" != "no"; then
5191 # Sound support for GNU/Linux and the free BSDs. 6047 # Sound support for GNU/Linux and the free BSDs.
5192 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 6048 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5193 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 6049 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5194 if test "${ac_cv_header_stdc+set}" = set; then 6050 if test "${ac_cv_header_stdc+set}" = set; then
5195 echo $ECHO_N "(cached) $ECHO_C" >&6 6051 echo $ECHO_N "(cached) $ECHO_C" >&6
5196 else 6052 else
5197 cat >conftest.$ac_ext <<_ACEOF 6053 cat >conftest.$ac_ext <<_ACEOF
5198 /* confdefs.h. */ 6054 /* confdefs.h. */
5212 ; 6068 ;
5213 return 0; 6069 return 0;
5214 } 6070 }
5215 _ACEOF 6071 _ACEOF
5216 rm -f conftest.$ac_objext 6072 rm -f conftest.$ac_objext
5217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6073 if { (ac_try="$ac_compile"
5218 (eval $ac_compile) 2>conftest.er1 6074 case "(($ac_try" in
6075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6076 *) ac_try_echo=$ac_try;;
6077 esac
6078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6079 (eval "$ac_compile") 2>conftest.er1
5219 ac_status=$? 6080 ac_status=$?
5220 grep -v '^ *+' conftest.er1 >conftest.err 6081 grep -v '^ *+' conftest.er1 >conftest.err
5221 rm -f conftest.er1 6082 rm -f conftest.er1
5222 cat conftest.err >&5 6083 cat conftest.err >&5
5223 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5224 (exit $ac_status); } && 6085 (exit $ac_status); } &&
5225 { ac_try='test -z "$ac_c_werror_flag" 6086 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5226 || test ! -s conftest.err' 6087 { (case "(($ac_try" in
5227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5228 (eval $ac_try) 2>&5 6089 *) ac_try_echo=$ac_try;;
6090 esac
6091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6092 (eval "$ac_try") 2>&5
5229 ac_status=$? 6093 ac_status=$?
5230 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5231 (exit $ac_status); }; } && 6095 (exit $ac_status); }; } &&
5232 { ac_try='test -s conftest.$ac_objext' 6096 { ac_try='test -s conftest.$ac_objext'
5233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6097 { (case "(($ac_try" in
5234 (eval $ac_try) 2>&5 6098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6099 *) ac_try_echo=$ac_try;;
6100 esac
6101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6102 (eval "$ac_try") 2>&5
5235 ac_status=$? 6103 ac_status=$?
5236 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5237 (exit $ac_status); }; }; then 6105 (exit $ac_status); }; }; then
5238 ac_cv_header_stdc=yes 6106 ac_cv_header_stdc=yes
5239 else 6107 else
5240 echo "$as_me: failed program was:" >&5 6108 echo "$as_me: failed program was:" >&5
5241 sed 's/^/| /' conftest.$ac_ext >&5 6109 sed 's/^/| /' conftest.$ac_ext >&5
5242 6110
5243 ac_cv_header_stdc=no 6111 ac_cv_header_stdc=no
5244 fi 6112 fi
5245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6113
6114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5246 6115
5247 if test $ac_cv_header_stdc = yes; then 6116 if test $ac_cv_header_stdc = yes; then
5248 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 6117 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5249 cat >conftest.$ac_ext <<_ACEOF 6118 cat >conftest.$ac_ext <<_ACEOF
5250 /* confdefs.h. */ 6119 /* confdefs.h. */
5296 _ACEOF 6165 _ACEOF
5297 cat confdefs.h >>conftest.$ac_ext 6166 cat confdefs.h >>conftest.$ac_ext
5298 cat >>conftest.$ac_ext <<_ACEOF 6167 cat >>conftest.$ac_ext <<_ACEOF
5299 /* end confdefs.h. */ 6168 /* end confdefs.h. */
5300 #include <ctype.h> 6169 #include <ctype.h>
6170 #include <stdlib.h>
5301 #if ((' ' & 0x0FF) == 0x020) 6171 #if ((' ' & 0x0FF) == 0x020)
5302 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 6172 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5303 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 6173 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5304 #else 6174 #else
5305 # define ISLOWER(c) \ 6175 # define ISLOWER(c) \
5315 { 6185 {
5316 int i; 6186 int i;
5317 for (i = 0; i < 256; i++) 6187 for (i = 0; i < 256; i++)
5318 if (XOR (islower (i), ISLOWER (i)) 6188 if (XOR (islower (i), ISLOWER (i))
5319 || toupper (i) != TOUPPER (i)) 6189 || toupper (i) != TOUPPER (i))
5320 exit(2); 6190 return 2;
5321 exit (0); 6191 return 0;
5322 } 6192 }
5323 _ACEOF 6193 _ACEOF
5324 rm -f conftest$ac_exeext 6194 rm -f conftest$ac_exeext
5325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6195 if { (ac_try="$ac_link"
5326 (eval $ac_link) 2>&5 6196 case "(($ac_try" in
6197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6198 *) ac_try_echo=$ac_try;;
6199 esac
6200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6201 (eval "$ac_link") 2>&5
5327 ac_status=$? 6202 ac_status=$?
5328 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5329 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6204 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6205 { (case "(($ac_try" in
5331 (eval $ac_try) 2>&5 6206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6207 *) ac_try_echo=$ac_try;;
6208 esac
6209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6210 (eval "$ac_try") 2>&5
5332 ac_status=$? 6211 ac_status=$?
5333 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5334 (exit $ac_status); }; }; then 6213 (exit $ac_status); }; }; then
5335 : 6214 :
5336 else 6215 else
5339 sed 's/^/| /' conftest.$ac_ext >&5 6218 sed 's/^/| /' conftest.$ac_ext >&5
5340 6219
5341 ( exit $ac_status ) 6220 ( exit $ac_status )
5342 ac_cv_header_stdc=no 6221 ac_cv_header_stdc=no
5343 fi 6222 fi
5344 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6223 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5345 fi 6224 fi
5346 fi 6225
5347 fi 6226
5348 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 6227 fi
5349 echo "${ECHO_T}$ac_cv_header_stdc" >&6 6228 fi
6229 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6230 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5350 if test $ac_cv_header_stdc = yes; then 6231 if test $ac_cv_header_stdc = yes; then
5351 6232
5352 cat >>confdefs.h <<\_ACEOF 6233 cat >>confdefs.h <<\_ACEOF
5353 #define STDC_HEADERS 1 6234 #define STDC_HEADERS 1
5354 _ACEOF 6235 _ACEOF
5367 6248
5368 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 6249 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 6250 inttypes.h stdint.h unistd.h
5370 do 6251 do
5371 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6252 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5372 echo "$as_me:$LINENO: checking for $ac_header" >&5 6253 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5373 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 6254 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5374 if eval "test \"\${$as_ac_Header+set}\" = set"; then 6255 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5375 echo $ECHO_N "(cached) $ECHO_C" >&6 6256 echo $ECHO_N "(cached) $ECHO_C" >&6
5376 else 6257 else
5377 cat >conftest.$ac_ext <<_ACEOF 6258 cat >conftest.$ac_ext <<_ACEOF
5378 /* confdefs.h. */ 6259 /* confdefs.h. */
5379 _ACEOF 6260 _ACEOF
5383 $ac_includes_default 6264 $ac_includes_default
5384 6265
5385 #include <$ac_header> 6266 #include <$ac_header>
5386 _ACEOF 6267 _ACEOF
5387 rm -f conftest.$ac_objext 6268 rm -f conftest.$ac_objext
5388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6269 if { (ac_try="$ac_compile"
5389 (eval $ac_compile) 2>conftest.er1 6270 case "(($ac_try" in
6271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6272 *) ac_try_echo=$ac_try;;
6273 esac
6274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6275 (eval "$ac_compile") 2>conftest.er1
5390 ac_status=$? 6276 ac_status=$?
5391 grep -v '^ *+' conftest.er1 >conftest.err 6277 grep -v '^ *+' conftest.er1 >conftest.err
5392 rm -f conftest.er1 6278 rm -f conftest.er1
5393 cat conftest.err >&5 6279 cat conftest.err >&5
5394 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5395 (exit $ac_status); } && 6281 (exit $ac_status); } &&
5396 { ac_try='test -z "$ac_c_werror_flag" 6282 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5397 || test ! -s conftest.err' 6283 { (case "(($ac_try" in
5398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5399 (eval $ac_try) 2>&5 6285 *) ac_try_echo=$ac_try;;
6286 esac
6287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6288 (eval "$ac_try") 2>&5
5400 ac_status=$? 6289 ac_status=$?
5401 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5402 (exit $ac_status); }; } && 6291 (exit $ac_status); }; } &&
5403 { ac_try='test -s conftest.$ac_objext' 6292 { ac_try='test -s conftest.$ac_objext'
5404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6293 { (case "(($ac_try" in
5405 (eval $ac_try) 2>&5 6294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6295 *) ac_try_echo=$ac_try;;
6296 esac
6297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6298 (eval "$ac_try") 2>&5
5406 ac_status=$? 6299 ac_status=$?
5407 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5408 (exit $ac_status); }; }; then 6301 (exit $ac_status); }; }; then
5409 eval "$as_ac_Header=yes" 6302 eval "$as_ac_Header=yes"
5410 else 6303 else
5411 echo "$as_me: failed program was:" >&5 6304 echo "$as_me: failed program was:" >&5
5412 sed 's/^/| /' conftest.$ac_ext >&5 6305 sed 's/^/| /' conftest.$ac_ext >&5
5413 6306
5414 eval "$as_ac_Header=no" 6307 eval "$as_ac_Header=no"
5415 fi 6308 fi
5416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6309
5417 fi 6310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 6311 fi
5419 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6312 ac_res=`eval echo '${'$as_ac_Header'}'`
6313 { echo "$as_me:$LINENO: result: $ac_res" >&5
6314 echo "${ECHO_T}$ac_res" >&6; }
5420 if test `eval echo '${'$as_ac_Header'}'` = yes; then 6315 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5421 cat >>confdefs.h <<_ACEOF 6316 cat >>confdefs.h <<_ACEOF
5422 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6317 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5423 _ACEOF 6318 _ACEOF
5424 6319
5431 6326
5432 6327
5433 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h 6328 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h
5434 do 6329 do
5435 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6330 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5436 if eval "test \"\${$as_ac_Header+set}\" = set"; then 6331 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5437 echo "$as_me:$LINENO: checking for $ac_header" >&5 6332 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5438 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 6333 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5439 if eval "test \"\${$as_ac_Header+set}\" = set"; then 6334 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5440 echo $ECHO_N "(cached) $ECHO_C" >&6 6335 echo $ECHO_N "(cached) $ECHO_C" >&6
5441 fi 6336 fi
5442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 6337 ac_res=`eval echo '${'$as_ac_Header'}'`
5443 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6338 { echo "$as_me:$LINENO: result: $ac_res" >&5
6339 echo "${ECHO_T}$ac_res" >&6; }
5444 else 6340 else
5445 # Is the header compilable? 6341 # Is the header compilable?
5446 echo "$as_me:$LINENO: checking $ac_header usability" >&5 6342 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5447 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 6343 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5448 cat >conftest.$ac_ext <<_ACEOF 6344 cat >conftest.$ac_ext <<_ACEOF
5449 /* confdefs.h. */ 6345 /* confdefs.h. */
5450 _ACEOF 6346 _ACEOF
5451 cat confdefs.h >>conftest.$ac_ext 6347 cat confdefs.h >>conftest.$ac_ext
5452 cat >>conftest.$ac_ext <<_ACEOF 6348 cat >>conftest.$ac_ext <<_ACEOF
5453 /* end confdefs.h. */ 6349 /* end confdefs.h. */
5454 $ac_includes_default 6350 $ac_includes_default
5455 #include <$ac_header> 6351 #include <$ac_header>
5456 _ACEOF 6352 _ACEOF
5457 rm -f conftest.$ac_objext 6353 rm -f conftest.$ac_objext
5458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6354 if { (ac_try="$ac_compile"
5459 (eval $ac_compile) 2>conftest.er1 6355 case "(($ac_try" in
6356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6357 *) ac_try_echo=$ac_try;;
6358 esac
6359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6360 (eval "$ac_compile") 2>conftest.er1
5460 ac_status=$? 6361 ac_status=$?
5461 grep -v '^ *+' conftest.er1 >conftest.err 6362 grep -v '^ *+' conftest.er1 >conftest.err
5462 rm -f conftest.er1 6363 rm -f conftest.er1
5463 cat conftest.err >&5 6364 cat conftest.err >&5
5464 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5465 (exit $ac_status); } && 6366 (exit $ac_status); } &&
5466 { ac_try='test -z "$ac_c_werror_flag" 6367 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5467 || test ! -s conftest.err' 6368 { (case "(($ac_try" in
5468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5469 (eval $ac_try) 2>&5 6370 *) ac_try_echo=$ac_try;;
6371 esac
6372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6373 (eval "$ac_try") 2>&5
5470 ac_status=$? 6374 ac_status=$?
5471 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5472 (exit $ac_status); }; } && 6376 (exit $ac_status); }; } &&
5473 { ac_try='test -s conftest.$ac_objext' 6377 { ac_try='test -s conftest.$ac_objext'
5474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6378 { (case "(($ac_try" in
5475 (eval $ac_try) 2>&5 6379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6380 *) ac_try_echo=$ac_try;;
6381 esac
6382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6383 (eval "$ac_try") 2>&5
5476 ac_status=$? 6384 ac_status=$?
5477 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5478 (exit $ac_status); }; }; then 6386 (exit $ac_status); }; }; then
5479 ac_header_compiler=yes 6387 ac_header_compiler=yes
5480 else 6388 else
5481 echo "$as_me: failed program was:" >&5 6389 echo "$as_me: failed program was:" >&5
5482 sed 's/^/| /' conftest.$ac_ext >&5 6390 sed 's/^/| /' conftest.$ac_ext >&5
5483 6391
5484 ac_header_compiler=no 6392 ac_header_compiler=no
5485 fi 6393 fi
5486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6394
5487 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5488 echo "${ECHO_T}$ac_header_compiler" >&6 6396 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6397 echo "${ECHO_T}$ac_header_compiler" >&6; }
5489 6398
5490 # Is the header present? 6399 # Is the header present?
5491 echo "$as_me:$LINENO: checking $ac_header presence" >&5 6400 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5492 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 6401 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5493 cat >conftest.$ac_ext <<_ACEOF 6402 cat >conftest.$ac_ext <<_ACEOF
5494 /* confdefs.h. */ 6403 /* confdefs.h. */
5495 _ACEOF 6404 _ACEOF
5496 cat confdefs.h >>conftest.$ac_ext 6405 cat confdefs.h >>conftest.$ac_ext
5497 cat >>conftest.$ac_ext <<_ACEOF 6406 cat >>conftest.$ac_ext <<_ACEOF
5498 /* end confdefs.h. */ 6407 /* end confdefs.h. */
5499 #include <$ac_header> 6408 #include <$ac_header>
5500 _ACEOF 6409 _ACEOF
5501 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6410 if { (ac_try="$ac_cpp conftest.$ac_ext"
5502 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6411 case "(($ac_try" in
6412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6413 *) ac_try_echo=$ac_try;;
6414 esac
6415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6416 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5503 ac_status=$? 6417 ac_status=$?
5504 grep -v '^ *+' conftest.er1 >conftest.err 6418 grep -v '^ *+' conftest.er1 >conftest.err
5505 rm -f conftest.er1 6419 rm -f conftest.er1
5506 cat conftest.err >&5 6420 cat conftest.err >&5
5507 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5521 echo "$as_me: failed program was:" >&5 6435 echo "$as_me: failed program was:" >&5
5522 sed 's/^/| /' conftest.$ac_ext >&5 6436 sed 's/^/| /' conftest.$ac_ext >&5
5523 6437
5524 ac_header_preproc=no 6438 ac_header_preproc=no
5525 fi 6439 fi
6440
5526 rm -f conftest.err conftest.$ac_ext 6441 rm -f conftest.err conftest.$ac_ext
5527 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6442 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5528 echo "${ECHO_T}$ac_header_preproc" >&6 6443 echo "${ECHO_T}$ac_header_preproc" >&6; }
5529 6444
5530 # So? What about this header? 6445 # So? What about this header?
5531 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6446 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5532 yes:no: ) 6447 yes:no: )
5533 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6448 { 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;} 6462 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 6463 { 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;} 6464 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 6465 { 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;} 6466 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5552 ( 6467
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 ;; 6468 ;;
5561 esac 6469 esac
5562 echo "$as_me:$LINENO: checking for $ac_header" >&5 6470 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5563 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 6471 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5564 if eval "test \"\${$as_ac_Header+set}\" = set"; then 6472 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5565 echo $ECHO_N "(cached) $ECHO_C" >&6 6473 echo $ECHO_N "(cached) $ECHO_C" >&6
5566 else 6474 else
5567 eval "$as_ac_Header=\$ac_header_preproc" 6475 eval "$as_ac_Header=\$ac_header_preproc"
5568 fi 6476 fi
5569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 6477 ac_res=`eval echo '${'$as_ac_Header'}'`
5570 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6478 { echo "$as_me:$LINENO: result: $ac_res" >&5
6479 echo "${ECHO_T}$ac_res" >&6; }
5571 6480
5572 fi 6481 fi
5573 if test `eval echo '${'$as_ac_Header'}'` = yes; then 6482 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5574 cat >>confdefs.h <<_ACEOF 6483 cat >>confdefs.h <<_ACEOF
5575 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6484 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5578 fi 6487 fi
5579 6488
5580 done 6489 done
5581 6490
5582 # Emulation library used on NetBSD. 6491 # Emulation library used on NetBSD.
5583 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5 6492 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
5584 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6 6493 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
5585 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then 6494 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
5586 echo $ECHO_N "(cached) $ECHO_C" >&6 6495 echo $ECHO_N "(cached) $ECHO_C" >&6
5587 else 6496 else
5588 ac_check_lib_save_LIBS=$LIBS 6497 ac_check_lib_save_LIBS=$LIBS
5589 LIBS="-lossaudio $LIBS" 6498 LIBS="-lossaudio $LIBS"
5592 _ACEOF 6501 _ACEOF
5593 cat confdefs.h >>conftest.$ac_ext 6502 cat confdefs.h >>conftest.$ac_ext
5594 cat >>conftest.$ac_ext <<_ACEOF 6503 cat >>conftest.$ac_ext <<_ACEOF
5595 /* end confdefs.h. */ 6504 /* end confdefs.h. */
5596 6505
5597 /* Override any gcc2 internal prototype to avoid an error. */ 6506 /* Override any GCC internal prototype to avoid an error.
6507 Use char because int might match the return type of a GCC
6508 builtin and then its argument prototype would still apply. */
5598 #ifdef __cplusplus 6509 #ifdef __cplusplus
5599 extern "C" 6510 extern "C"
5600 #endif 6511 #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 (); 6512 char _oss_ioctl ();
5604 int 6513 int
5605 main () 6514 main ()
5606 { 6515 {
5607 _oss_ioctl (); 6516 return _oss_ioctl ();
5608 ; 6517 ;
5609 return 0; 6518 return 0;
5610 } 6519 }
5611 _ACEOF 6520 _ACEOF
5612 rm -f conftest.$ac_objext conftest$ac_exeext 6521 rm -f conftest.$ac_objext conftest$ac_exeext
5613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6522 if { (ac_try="$ac_link"
5614 (eval $ac_link) 2>conftest.er1 6523 case "(($ac_try" in
6524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6525 *) ac_try_echo=$ac_try;;
6526 esac
6527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6528 (eval "$ac_link") 2>conftest.er1
5615 ac_status=$? 6529 ac_status=$?
5616 grep -v '^ *+' conftest.er1 >conftest.err 6530 grep -v '^ *+' conftest.er1 >conftest.err
5617 rm -f conftest.er1 6531 rm -f conftest.er1
5618 cat conftest.err >&5 6532 cat conftest.err >&5
5619 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5620 (exit $ac_status); } && 6534 (exit $ac_status); } &&
5621 { ac_try='test -z "$ac_c_werror_flag" 6535 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5622 || test ! -s conftest.err' 6536 { (case "(($ac_try" in
5623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5624 (eval $ac_try) 2>&5 6538 *) ac_try_echo=$ac_try;;
6539 esac
6540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6541 (eval "$ac_try") 2>&5
5625 ac_status=$? 6542 ac_status=$?
5626 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5627 (exit $ac_status); }; } && 6544 (exit $ac_status); }; } &&
5628 { ac_try='test -s conftest$ac_exeext' 6545 { ac_try='test -s conftest$ac_exeext'
5629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6546 { (case "(($ac_try" in
5630 (eval $ac_try) 2>&5 6547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6548 *) ac_try_echo=$ac_try;;
6549 esac
6550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6551 (eval "$ac_try") 2>&5
5631 ac_status=$? 6552 ac_status=$?
5632 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5633 (exit $ac_status); }; }; then 6554 (exit $ac_status); }; }; then
5634 ac_cv_lib_ossaudio__oss_ioctl=yes 6555 ac_cv_lib_ossaudio__oss_ioctl=yes
5635 else 6556 else
5636 echo "$as_me: failed program was:" >&5 6557 echo "$as_me: failed program was:" >&5
5637 sed 's/^/| /' conftest.$ac_ext >&5 6558 sed 's/^/| /' conftest.$ac_ext >&5
5638 6559
5639 ac_cv_lib_ossaudio__oss_ioctl=no 6560 ac_cv_lib_ossaudio__oss_ioctl=no
5640 fi 6561 fi
5641 rm -f conftest.err conftest.$ac_objext \ 6562
6563 rm -f core conftest.err conftest.$ac_objext \
5642 conftest$ac_exeext conftest.$ac_ext 6564 conftest$ac_exeext conftest.$ac_ext
5643 LIBS=$ac_check_lib_save_LIBS 6565 LIBS=$ac_check_lib_save_LIBS
5644 fi 6566 fi
5645 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 6567 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5646 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6 6568 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5647 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then 6569 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
5648 LIBSOUND=-lossaudio 6570 LIBSOUND=-lossaudio
5649 else 6571 else
5650 LIBSOUND= 6572 LIBSOUND=
5651 fi 6573 fi
5661 succeeded=no 6583 succeeded=no
5662 6584
5663 if test -z "$PKG_CONFIG"; then 6585 if test -z "$PKG_CONFIG"; then
5664 # Extract the first word of "pkg-config", so it can be a program name with args. 6586 # Extract the first word of "pkg-config", so it can be a program name with args.
5665 set dummy pkg-config; ac_word=$2 6587 set dummy pkg-config; ac_word=$2
5666 echo "$as_me:$LINENO: checking for $ac_word" >&5 6588 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5667 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 6589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5668 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 6590 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
5669 echo $ECHO_N "(cached) $ECHO_C" >&6 6591 echo $ECHO_N "(cached) $ECHO_C" >&6
5670 else 6592 else
5671 case $PKG_CONFIG in 6593 case $PKG_CONFIG in
5672 [\\/]* | ?:[\\/]*) 6594 [\\/]* | ?:[\\/]*)
5677 for as_dir in $PATH 6599 for as_dir in $PATH
5678 do 6600 do
5679 IFS=$as_save_IFS 6601 IFS=$as_save_IFS
5680 test -z "$as_dir" && as_dir=. 6602 test -z "$as_dir" && as_dir=.
5681 for ac_exec_ext in '' $ac_executable_extensions; do 6603 for ac_exec_ext in '' $ac_executable_extensions; do
5682 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6604 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" 6605 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 6606 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5685 break 2 6607 break 2
5686 fi 6608 fi
5687 done 6609 done
5688 done 6610 done
6611 IFS=$as_save_IFS
5689 6612
5690 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" 6613 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
5691 ;; 6614 ;;
5692 esac 6615 esac
5693 fi 6616 fi
5694 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 6617 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5695
5696 if test -n "$PKG_CONFIG"; then 6618 if test -n "$PKG_CONFIG"; then
5697 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 6619 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
5698 echo "${ECHO_T}$PKG_CONFIG" >&6 6620 echo "${ECHO_T}$PKG_CONFIG" >&6; }
5699 else 6621 else
5700 echo "$as_me:$LINENO: result: no" >&5 6622 { echo "$as_me:$LINENO: result: no" >&5
5701 echo "${ECHO_T}no" >&6 6623 echo "${ECHO_T}no" >&6; }
5702 fi 6624 fi
6625
5703 6626
5704 fi 6627 fi
5705 6628
5706 if test "$PKG_CONFIG" = "no" ; then 6629 if test "$PKG_CONFIG" = "no" ; then
5707 HAVE_ALSA=no 6630 HAVE_ALSA=no
5708 else 6631 else
5709 PKG_CONFIG_MIN_VERSION=0.9.0 6632 PKG_CONFIG_MIN_VERSION=0.9.0
5710 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 6633 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
5711 echo "$as_me:$LINENO: checking for $ALSA_MODULES" >&5 6634 { echo "$as_me:$LINENO: checking for $ALSA_MODULES" >&5
5712 echo $ECHO_N "checking for $ALSA_MODULES... $ECHO_C" >&6 6635 echo $ECHO_N "checking for $ALSA_MODULES... $ECHO_C" >&6; }
5713 6636
5714 if $PKG_CONFIG --exists "$ALSA_MODULES" 2>&5; then 6637 if $PKG_CONFIG --exists "$ALSA_MODULES" 2>&5; then
5715 echo "$as_me:$LINENO: result: yes" >&5 6638 { echo "$as_me:$LINENO: result: yes" >&5
5716 echo "${ECHO_T}yes" >&6 6639 echo "${ECHO_T}yes" >&6; }
5717 succeeded=yes 6640 succeeded=yes
5718 6641
5719 echo "$as_me:$LINENO: checking ALSA_CFLAGS" >&5 6642 { echo "$as_me:$LINENO: checking ALSA_CFLAGS" >&5
5720 echo $ECHO_N "checking ALSA_CFLAGS... $ECHO_C" >&6 6643 echo $ECHO_N "checking ALSA_CFLAGS... $ECHO_C" >&6; }
5721 ALSA_CFLAGS=`$PKG_CONFIG --cflags "$ALSA_MODULES"` 6644 ALSA_CFLAGS=`$PKG_CONFIG --cflags "$ALSA_MODULES"`
5722 echo "$as_me:$LINENO: result: $ALSA_CFLAGS" >&5 6645 { echo "$as_me:$LINENO: result: $ALSA_CFLAGS" >&5
5723 echo "${ECHO_T}$ALSA_CFLAGS" >&6 6646 echo "${ECHO_T}$ALSA_CFLAGS" >&6; }
5724 6647
5725 echo "$as_me:$LINENO: checking ALSA_LIBS" >&5 6648 { echo "$as_me:$LINENO: checking ALSA_LIBS" >&5
5726 echo $ECHO_N "checking ALSA_LIBS... $ECHO_C" >&6 6649 echo $ECHO_N "checking ALSA_LIBS... $ECHO_C" >&6; }
5727 ALSA_LIBS=`$PKG_CONFIG --libs "$ALSA_MODULES"` 6650 ALSA_LIBS=`$PKG_CONFIG --libs "$ALSA_MODULES"`
5728 echo "$as_me:$LINENO: result: $ALSA_LIBS" >&5 6651 { echo "$as_me:$LINENO: result: $ALSA_LIBS" >&5
5729 echo "${ECHO_T}$ALSA_LIBS" >&6 6652 echo "${ECHO_T}$ALSA_LIBS" >&6; }
5730 else 6653 else
5731 echo "$as_me:$LINENO: result: no" >&5 6654 { echo "$as_me:$LINENO: result: no" >&5
5732 echo "${ECHO_T}no" >&6 6655 echo "${ECHO_T}no" >&6; }
5733 ALSA_CFLAGS="" 6656 ALSA_CFLAGS=""
5734 ALSA_LIBS="" 6657 ALSA_LIBS=""
5735 ## If we have a custom action on failure, don't print errors, but 6658 ## If we have a custom action on failure, don't print errors, but
5736 ## do set a variable so people can do so. 6659 ## do set a variable so people can do so.
5737 ALSA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$ALSA_MODULES"` 6660 ALSA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$ALSA_MODULES"`
5751 else 6674 else
5752 HAVE_ALSA=no 6675 HAVE_ALSA=no
5753 fi 6676 fi
5754 6677
5755 if test $HAVE_ALSA = yes; then 6678 if test $HAVE_ALSA = yes; then
6679 SAVE_CFLAGS="$CFLAGS"
6680 SAVE_LDFLAGS="$LDFLAGS"
6681 CFLAGS="$ALSA_CFLAGS $CFLAGS"
6682 LDFLAGS="$ALSA_LIBS $LDFLAGS"
6683 cat >conftest.$ac_ext <<_ACEOF
6684 /* confdefs.h. */
6685 _ACEOF
6686 cat confdefs.h >>conftest.$ac_ext
6687 cat >>conftest.$ac_ext <<_ACEOF
6688 /* end confdefs.h. */
6689 #include <asoundlib.h>
6690 int
6691 main ()
6692 {
6693 snd_lib_error_set_handler (0);
6694 ;
6695 return 0;
6696 }
6697 _ACEOF
6698 rm -f conftest.$ac_objext
6699 if { (ac_try="$ac_compile"
6700 case "(($ac_try" in
6701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6702 *) ac_try_echo=$ac_try;;
6703 esac
6704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6705 (eval "$ac_compile") 2>conftest.er1
6706 ac_status=$?
6707 grep -v '^ *+' conftest.er1 >conftest.err
6708 rm -f conftest.er1
6709 cat conftest.err >&5
6710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6711 (exit $ac_status); } &&
6712 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6713 { (case "(($ac_try" in
6714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6715 *) ac_try_echo=$ac_try;;
6716 esac
6717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6718 (eval "$ac_try") 2>&5
6719 ac_status=$?
6720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6721 (exit $ac_status); }; } &&
6722 { ac_try='test -s conftest.$ac_objext'
6723 { (case "(($ac_try" in
6724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6725 *) ac_try_echo=$ac_try;;
6726 esac
6727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6728 (eval "$ac_try") 2>&5
6729 ac_status=$?
6730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6731 (exit $ac_status); }; }; then
6732 emacs_alsa_normal=yes
6733 else
6734 echo "$as_me: failed program was:" >&5
6735 sed 's/^/| /' conftest.$ac_ext >&5
6736
6737 emacs_alsa_normal=no
6738 fi
6739
6740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6741 if test "$emacs_alsa_normal" != yes; then
6742 cat >conftest.$ac_ext <<_ACEOF
6743 /* confdefs.h. */
6744 _ACEOF
6745 cat confdefs.h >>conftest.$ac_ext
6746 cat >>conftest.$ac_ext <<_ACEOF
6747 /* end confdefs.h. */
6748 #include <alsa/asoundlib.h>
6749 int
6750 main ()
6751 {
6752 snd_lib_error_set_handler (0);
6753 ;
6754 return 0;
6755 }
6756 _ACEOF
6757 rm -f conftest.$ac_objext
6758 if { (ac_try="$ac_compile"
6759 case "(($ac_try" in
6760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6761 *) ac_try_echo=$ac_try;;
6762 esac
6763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6764 (eval "$ac_compile") 2>conftest.er1
6765 ac_status=$?
6766 grep -v '^ *+' conftest.er1 >conftest.err
6767 rm -f conftest.er1
6768 cat conftest.err >&5
6769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6770 (exit $ac_status); } &&
6771 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6772 { (case "(($ac_try" in
6773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6774 *) ac_try_echo=$ac_try;;
6775 esac
6776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6777 (eval "$ac_try") 2>&5
6778 ac_status=$?
6779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6780 (exit $ac_status); }; } &&
6781 { ac_try='test -s conftest.$ac_objext'
6782 { (case "(($ac_try" in
6783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6784 *) ac_try_echo=$ac_try;;
6785 esac
6786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6787 (eval "$ac_try") 2>&5
6788 ac_status=$?
6789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6790 (exit $ac_status); }; }; then
6791 emacs_alsa_subdir=yes
6792 else
6793 echo "$as_me: failed program was:" >&5
6794 sed 's/^/| /' conftest.$ac_ext >&5
6795
6796 emacs_alsa_subdir=no
6797 fi
6798
6799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6800 if test "$emacs_alsa_subdir" != yes; then
6801 { { echo "$as_me:$LINENO: error: pkg-config found alsa, but it does not compile. See config.log for error messages." >&5
6802 echo "$as_me: error: pkg-config found alsa, but it does not compile. See config.log for error messages." >&2;}
6803 { (exit 1); exit 1; }; }
6804 fi
6805 ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE"
6806 fi
6807
6808 CFLAGS="$SAVE_CFLAGS"
6809 LDFLAGS="$SAVE_LDFLAGS"
5756 LIBSOUND="$LIBSOUND $ALSA_LIBS" 6810 LIBSOUND="$LIBSOUND $ALSA_LIBS"
5757 CFLAGS_SOUND="$CFLAGS_SOUND $ALSA_CFLAGS" 6811 CFLAGS_SOUND="$CFLAGS_SOUND $ALSA_CFLAGS"
5758 6812
5759 cat >>confdefs.h <<\_ACEOF 6813 cat >>confdefs.h <<\_ACEOF
5760 #define HAVE_ALSA 1 6814 #define HAVE_ALSA 1
5761 _ACEOF 6815 _ACEOF
6816
5762 6817
5763 fi 6818 fi
5764 6819
5765 fi 6820 fi
5766 6821
5794 termcap.h stdio_ext.h fcntl.h strings.h coff.h pty.h sys/mman.h \ 6849 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 \ 6850 sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \
5796 sys/utsname.h pwd.h 6851 sys/utsname.h pwd.h
5797 do 6852 do
5798 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6853 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5799 if eval "test \"\${$as_ac_Header+set}\" = set"; then 6854 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5800 echo "$as_me:$LINENO: checking for $ac_header" >&5 6855 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5801 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 6856 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5802 if eval "test \"\${$as_ac_Header+set}\" = set"; then 6857 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5803 echo $ECHO_N "(cached) $ECHO_C" >&6 6858 echo $ECHO_N "(cached) $ECHO_C" >&6
5804 fi 6859 fi
5805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 6860 ac_res=`eval echo '${'$as_ac_Header'}'`
5806 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6861 { echo "$as_me:$LINENO: result: $ac_res" >&5
6862 echo "${ECHO_T}$ac_res" >&6; }
5807 else 6863 else
5808 # Is the header compilable? 6864 # Is the header compilable?
5809 echo "$as_me:$LINENO: checking $ac_header usability" >&5 6865 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5810 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 6866 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5811 cat >conftest.$ac_ext <<_ACEOF 6867 cat >conftest.$ac_ext <<_ACEOF
5812 /* confdefs.h. */ 6868 /* confdefs.h. */
5813 _ACEOF 6869 _ACEOF
5814 cat confdefs.h >>conftest.$ac_ext 6870 cat confdefs.h >>conftest.$ac_ext
5815 cat >>conftest.$ac_ext <<_ACEOF 6871 cat >>conftest.$ac_ext <<_ACEOF
5816 /* end confdefs.h. */ 6872 /* end confdefs.h. */
5817 $ac_includes_default 6873 $ac_includes_default
5818 #include <$ac_header> 6874 #include <$ac_header>
5819 _ACEOF 6875 _ACEOF
5820 rm -f conftest.$ac_objext 6876 rm -f conftest.$ac_objext
5821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6877 if { (ac_try="$ac_compile"
5822 (eval $ac_compile) 2>conftest.er1 6878 case "(($ac_try" in
6879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6880 *) ac_try_echo=$ac_try;;
6881 esac
6882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6883 (eval "$ac_compile") 2>conftest.er1
5823 ac_status=$? 6884 ac_status=$?
5824 grep -v '^ *+' conftest.er1 >conftest.err 6885 grep -v '^ *+' conftest.er1 >conftest.err
5825 rm -f conftest.er1 6886 rm -f conftest.er1
5826 cat conftest.err >&5 6887 cat conftest.err >&5
5827 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5828 (exit $ac_status); } && 6889 (exit $ac_status); } &&
5829 { ac_try='test -z "$ac_c_werror_flag" 6890 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5830 || test ! -s conftest.err' 6891 { (case "(($ac_try" in
5831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5832 (eval $ac_try) 2>&5 6893 *) ac_try_echo=$ac_try;;
6894 esac
6895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6896 (eval "$ac_try") 2>&5
5833 ac_status=$? 6897 ac_status=$?
5834 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5835 (exit $ac_status); }; } && 6899 (exit $ac_status); }; } &&
5836 { ac_try='test -s conftest.$ac_objext' 6900 { ac_try='test -s conftest.$ac_objext'
5837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6901 { (case "(($ac_try" in
5838 (eval $ac_try) 2>&5 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_try") 2>&5
5839 ac_status=$? 6907 ac_status=$?
5840 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5841 (exit $ac_status); }; }; then 6909 (exit $ac_status); }; }; then
5842 ac_header_compiler=yes 6910 ac_header_compiler=yes
5843 else 6911 else
5844 echo "$as_me: failed program was:" >&5 6912 echo "$as_me: failed program was:" >&5
5845 sed 's/^/| /' conftest.$ac_ext >&5 6913 sed 's/^/| /' conftest.$ac_ext >&5
5846 6914
5847 ac_header_compiler=no 6915 ac_header_compiler=no
5848 fi 6916 fi
5849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6917
5850 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5851 echo "${ECHO_T}$ac_header_compiler" >&6 6919 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6920 echo "${ECHO_T}$ac_header_compiler" >&6; }
5852 6921
5853 # Is the header present? 6922 # Is the header present?
5854 echo "$as_me:$LINENO: checking $ac_header presence" >&5 6923 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5855 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 6924 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5856 cat >conftest.$ac_ext <<_ACEOF 6925 cat >conftest.$ac_ext <<_ACEOF
5857 /* confdefs.h. */ 6926 /* confdefs.h. */
5858 _ACEOF 6927 _ACEOF
5859 cat confdefs.h >>conftest.$ac_ext 6928 cat confdefs.h >>conftest.$ac_ext
5860 cat >>conftest.$ac_ext <<_ACEOF 6929 cat >>conftest.$ac_ext <<_ACEOF
5861 /* end confdefs.h. */ 6930 /* end confdefs.h. */
5862 #include <$ac_header> 6931 #include <$ac_header>
5863 _ACEOF 6932 _ACEOF
5864 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6933 if { (ac_try="$ac_cpp conftest.$ac_ext"
5865 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6934 case "(($ac_try" in
6935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6936 *) ac_try_echo=$ac_try;;
6937 esac
6938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6939 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5866 ac_status=$? 6940 ac_status=$?
5867 grep -v '^ *+' conftest.er1 >conftest.err 6941 grep -v '^ *+' conftest.er1 >conftest.err
5868 rm -f conftest.er1 6942 rm -f conftest.er1
5869 cat conftest.err >&5 6943 cat conftest.err >&5
5870 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5884 echo "$as_me: failed program was:" >&5 6958 echo "$as_me: failed program was:" >&5
5885 sed 's/^/| /' conftest.$ac_ext >&5 6959 sed 's/^/| /' conftest.$ac_ext >&5
5886 6960
5887 ac_header_preproc=no 6961 ac_header_preproc=no
5888 fi 6962 fi
6963
5889 rm -f conftest.err conftest.$ac_ext 6964 rm -f conftest.err conftest.$ac_ext
5890 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6965 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5891 echo "${ECHO_T}$ac_header_preproc" >&6 6966 echo "${ECHO_T}$ac_header_preproc" >&6; }
5892 6967
5893 # So? What about this header? 6968 # So? What about this header?
5894 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6969 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5895 yes:no: ) 6970 yes:no: )
5896 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6971 { 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;} 6985 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 6986 { 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;} 6987 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 6988 { 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;} 6989 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5915 ( 6990
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 ;; 6991 ;;
5924 esac 6992 esac
5925 echo "$as_me:$LINENO: checking for $ac_header" >&5 6993 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5926 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 6994 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5927 if eval "test \"\${$as_ac_Header+set}\" = set"; then 6995 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5928 echo $ECHO_N "(cached) $ECHO_C" >&6 6996 echo $ECHO_N "(cached) $ECHO_C" >&6
5929 else 6997 else
5930 eval "$as_ac_Header=\$ac_header_preproc" 6998 eval "$as_ac_Header=\$ac_header_preproc"
5931 fi 6999 fi
5932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7000 ac_res=`eval echo '${'$as_ac_Header'}'`
5933 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7001 { echo "$as_me:$LINENO: result: $ac_res" >&5
7002 echo "${ECHO_T}$ac_res" >&6; }
5934 7003
5935 fi 7004 fi
5936 if test `eval echo '${'$as_ac_Header'}'` = yes; then 7005 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5937 cat >>confdefs.h <<_ACEOF 7006 cat >>confdefs.h <<_ACEOF
5938 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7007 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5941 fi 7010 fi
5942 7011
5943 done 7012 done
5944 7013
5945 7014
5946 echo "$as_me:$LINENO: checking if personality LINUX32 can be set" >&5 7015 { 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 7016 echo $ECHO_N "checking if personality LINUX32 can be set... $ECHO_C" >&6; }
5948 cat >conftest.$ac_ext <<_ACEOF 7017 cat >conftest.$ac_ext <<_ACEOF
5949 /* confdefs.h. */ 7018 /* confdefs.h. */
5950 _ACEOF 7019 _ACEOF
5951 cat confdefs.h >>conftest.$ac_ext 7020 cat confdefs.h >>conftest.$ac_ext
5952 cat >>conftest.$ac_ext <<_ACEOF 7021 cat >>conftest.$ac_ext <<_ACEOF
5959 ; 7028 ;
5960 return 0; 7029 return 0;
5961 } 7030 }
5962 _ACEOF 7031 _ACEOF
5963 rm -f conftest.$ac_objext 7032 rm -f conftest.$ac_objext
5964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7033 if { (ac_try="$ac_compile"
5965 (eval $ac_compile) 2>conftest.er1 7034 case "(($ac_try" in
7035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7036 *) ac_try_echo=$ac_try;;
7037 esac
7038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7039 (eval "$ac_compile") 2>conftest.er1
5966 ac_status=$? 7040 ac_status=$?
5967 grep -v '^ *+' conftest.er1 >conftest.err 7041 grep -v '^ *+' conftest.er1 >conftest.err
5968 rm -f conftest.er1 7042 rm -f conftest.er1
5969 cat conftest.err >&5 7043 cat conftest.err >&5
5970 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5971 (exit $ac_status); } && 7045 (exit $ac_status); } &&
5972 { ac_try='test -z "$ac_c_werror_flag" 7046 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5973 || test ! -s conftest.err' 7047 { (case "(($ac_try" in
5974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5975 (eval $ac_try) 2>&5 7049 *) ac_try_echo=$ac_try;;
7050 esac
7051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7052 (eval "$ac_try") 2>&5
5976 ac_status=$? 7053 ac_status=$?
5977 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5978 (exit $ac_status); }; } && 7055 (exit $ac_status); }; } &&
5979 { ac_try='test -s conftest.$ac_objext' 7056 { ac_try='test -s conftest.$ac_objext'
5980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7057 { (case "(($ac_try" in
5981 (eval $ac_try) 2>&5 7058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7059 *) ac_try_echo=$ac_try;;
7060 esac
7061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7062 (eval "$ac_try") 2>&5
5982 ac_status=$? 7063 ac_status=$?
5983 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5984 (exit $ac_status); }; }; then 7065 (exit $ac_status); }; }; then
5985 emacs_cv_personality_linux32=yes 7066 emacs_cv_personality_linux32=yes
5986 else 7067 else
5987 echo "$as_me: failed program was:" >&5 7068 echo "$as_me: failed program was:" >&5
5988 sed 's/^/| /' conftest.$ac_ext >&5 7069 sed 's/^/| /' conftest.$ac_ext >&5
5989 7070
5990 emacs_cv_personality_linux32=no 7071 emacs_cv_personality_linux32=no
5991 fi 7072 fi
5992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7073
5993 echo "$as_me:$LINENO: result: $emacs_cv_personality_linux32" >&5 7074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5994 echo "${ECHO_T}$emacs_cv_personality_linux32" >&6 7075 { echo "$as_me:$LINENO: result: $emacs_cv_personality_linux32" >&5
7076 echo "${ECHO_T}$emacs_cv_personality_linux32" >&6; }
5995 7077
5996 if test $emacs_cv_personality_linux32 = yes; then 7078 if test $emacs_cv_personality_linux32 = yes; then
5997 7079
5998 cat >>confdefs.h <<\_ACEOF 7080 cat >>confdefs.h <<\_ACEOF
5999 #define HAVE_PERSONALITY_LINUX32 1 7081 #define HAVE_PERSONALITY_LINUX32 1
6003 7085
6004 7086
6005 for ac_header in term.h 7087 for ac_header in term.h
6006 do 7088 do
6007 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7089 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6008 echo "$as_me:$LINENO: checking for $ac_header" >&5 7090 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6009 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7091 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6010 if eval "test \"\${$as_ac_Header+set}\" = set"; then 7092 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6011 echo $ECHO_N "(cached) $ECHO_C" >&6 7093 echo $ECHO_N "(cached) $ECHO_C" >&6
6012 else 7094 else
6013 cat >conftest.$ac_ext <<_ACEOF 7095 cat >conftest.$ac_ext <<_ACEOF
6014 /* confdefs.h. */ 7096 /* confdefs.h. */
6015 _ACEOF 7097 _ACEOF
6016 cat confdefs.h >>conftest.$ac_ext 7098 cat confdefs.h >>conftest.$ac_ext
6017 cat >>conftest.$ac_ext <<_ACEOF 7099 cat >>conftest.$ac_ext <<_ACEOF
6018 /* end confdefs.h. */ 7100 /* end confdefs.h. */
6019 #include <$ac_header> 7101 #include <$ac_header>
6020 _ACEOF 7102 _ACEOF
6021 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 7103 if { (ac_try="$ac_cpp conftest.$ac_ext"
6022 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7104 case "(($ac_try" in
7105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7106 *) ac_try_echo=$ac_try;;
7107 esac
7108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7109 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6023 ac_status=$? 7110 ac_status=$?
6024 grep -v '^ *+' conftest.er1 >conftest.err 7111 grep -v '^ *+' conftest.er1 >conftest.err
6025 rm -f conftest.er1 7112 rm -f conftest.er1
6026 cat conftest.err >&5 7113 cat conftest.err >&5
6027 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6041 echo "$as_me: failed program was:" >&5 7128 echo "$as_me: failed program was:" >&5
6042 sed 's/^/| /' conftest.$ac_ext >&5 7129 sed 's/^/| /' conftest.$ac_ext >&5
6043 7130
6044 eval "$as_ac_Header=no" 7131 eval "$as_ac_Header=no"
6045 fi 7132 fi
7133
6046 rm -f conftest.err conftest.$ac_ext 7134 rm -f conftest.err conftest.$ac_ext
6047 fi 7135 fi
6048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7136 ac_res=`eval echo '${'$as_ac_Header'}'`
6049 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7137 { echo "$as_me:$LINENO: result: $ac_res" >&5
7138 echo "${ECHO_T}$ac_res" >&6; }
6050 if test `eval echo '${'$as_ac_Header'}'` = yes; then 7139 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6051 cat >>confdefs.h <<_ACEOF 7140 cat >>confdefs.h <<_ACEOF
6052 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7141 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6053 _ACEOF 7142 _ACEOF
6054 7143
6055 fi 7144 fi
6056 7145
6057 done 7146 done
6058 7147
6059 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 7148 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6060 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 7149 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6061 if test "${ac_cv_header_stdc+set}" = set; then 7150 if test "${ac_cv_header_stdc+set}" = set; then
6062 echo $ECHO_N "(cached) $ECHO_C" >&6 7151 echo $ECHO_N "(cached) $ECHO_C" >&6
6063 else 7152 else
6064 cat >conftest.$ac_ext <<_ACEOF 7153 cat >conftest.$ac_ext <<_ACEOF
6065 /* confdefs.h. */ 7154 /* confdefs.h. */
6079 ; 7168 ;
6080 return 0; 7169 return 0;
6081 } 7170 }
6082 _ACEOF 7171 _ACEOF
6083 rm -f conftest.$ac_objext 7172 rm -f conftest.$ac_objext
6084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7173 if { (ac_try="$ac_compile"
6085 (eval $ac_compile) 2>conftest.er1 7174 case "(($ac_try" in
7175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7176 *) ac_try_echo=$ac_try;;
7177 esac
7178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7179 (eval "$ac_compile") 2>conftest.er1
6086 ac_status=$? 7180 ac_status=$?
6087 grep -v '^ *+' conftest.er1 >conftest.err 7181 grep -v '^ *+' conftest.er1 >conftest.err
6088 rm -f conftest.er1 7182 rm -f conftest.er1
6089 cat conftest.err >&5 7183 cat conftest.err >&5
6090 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6091 (exit $ac_status); } && 7185 (exit $ac_status); } &&
6092 { ac_try='test -z "$ac_c_werror_flag" 7186 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6093 || test ! -s conftest.err' 7187 { (case "(($ac_try" in
6094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6095 (eval $ac_try) 2>&5 7189 *) ac_try_echo=$ac_try;;
7190 esac
7191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7192 (eval "$ac_try") 2>&5
6096 ac_status=$? 7193 ac_status=$?
6097 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6098 (exit $ac_status); }; } && 7195 (exit $ac_status); }; } &&
6099 { ac_try='test -s conftest.$ac_objext' 7196 { ac_try='test -s conftest.$ac_objext'
6100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7197 { (case "(($ac_try" in
6101 (eval $ac_try) 2>&5 7198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7199 *) ac_try_echo=$ac_try;;
7200 esac
7201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7202 (eval "$ac_try") 2>&5
6102 ac_status=$? 7203 ac_status=$?
6103 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6104 (exit $ac_status); }; }; then 7205 (exit $ac_status); }; }; then
6105 ac_cv_header_stdc=yes 7206 ac_cv_header_stdc=yes
6106 else 7207 else
6107 echo "$as_me: failed program was:" >&5 7208 echo "$as_me: failed program was:" >&5
6108 sed 's/^/| /' conftest.$ac_ext >&5 7209 sed 's/^/| /' conftest.$ac_ext >&5
6109 7210
6110 ac_cv_header_stdc=no 7211 ac_cv_header_stdc=no
6111 fi 7212 fi
6112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7213
7214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6113 7215
6114 if test $ac_cv_header_stdc = yes; then 7216 if test $ac_cv_header_stdc = yes; then
6115 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7217 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6116 cat >conftest.$ac_ext <<_ACEOF 7218 cat >conftest.$ac_ext <<_ACEOF
6117 /* confdefs.h. */ 7219 /* confdefs.h. */
6163 _ACEOF 7265 _ACEOF
6164 cat confdefs.h >>conftest.$ac_ext 7266 cat confdefs.h >>conftest.$ac_ext
6165 cat >>conftest.$ac_ext <<_ACEOF 7267 cat >>conftest.$ac_ext <<_ACEOF
6166 /* end confdefs.h. */ 7268 /* end confdefs.h. */
6167 #include <ctype.h> 7269 #include <ctype.h>
7270 #include <stdlib.h>
6168 #if ((' ' & 0x0FF) == 0x020) 7271 #if ((' ' & 0x0FF) == 0x020)
6169 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7272 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6170 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7273 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6171 #else 7274 #else
6172 # define ISLOWER(c) \ 7275 # define ISLOWER(c) \
6182 { 7285 {
6183 int i; 7286 int i;
6184 for (i = 0; i < 256; i++) 7287 for (i = 0; i < 256; i++)
6185 if (XOR (islower (i), ISLOWER (i)) 7288 if (XOR (islower (i), ISLOWER (i))
6186 || toupper (i) != TOUPPER (i)) 7289 || toupper (i) != TOUPPER (i))
6187 exit(2); 7290 return 2;
6188 exit (0); 7291 return 0;
6189 } 7292 }
6190 _ACEOF 7293 _ACEOF
6191 rm -f conftest$ac_exeext 7294 rm -f conftest$ac_exeext
6192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7295 if { (ac_try="$ac_link"
6193 (eval $ac_link) 2>&5 7296 case "(($ac_try" in
7297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7298 *) ac_try_echo=$ac_try;;
7299 esac
7300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7301 (eval "$ac_link") 2>&5
6194 ac_status=$? 7302 ac_status=$?
6195 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6196 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7304 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7305 { (case "(($ac_try" in
6198 (eval $ac_try) 2>&5 7306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7307 *) ac_try_echo=$ac_try;;
7308 esac
7309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7310 (eval "$ac_try") 2>&5
6199 ac_status=$? 7311 ac_status=$?
6200 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6201 (exit $ac_status); }; }; then 7313 (exit $ac_status); }; }; then
6202 : 7314 :
6203 else 7315 else
6206 sed 's/^/| /' conftest.$ac_ext >&5 7318 sed 's/^/| /' conftest.$ac_ext >&5
6207 7319
6208 ( exit $ac_status ) 7320 ( exit $ac_status )
6209 ac_cv_header_stdc=no 7321 ac_cv_header_stdc=no
6210 fi 7322 fi
6211 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7323 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6212 fi 7324 fi
6213 fi 7325
6214 fi 7326
6215 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 7327 fi
6216 echo "${ECHO_T}$ac_cv_header_stdc" >&6 7328 fi
7329 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7330 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6217 if test $ac_cv_header_stdc = yes; then 7331 if test $ac_cv_header_stdc = yes; then
6218 7332
6219 cat >>confdefs.h <<\_ACEOF 7333 cat >>confdefs.h <<\_ACEOF
6220 #define STDC_HEADERS 1 7334 #define STDC_HEADERS 1
6221 _ACEOF 7335 _ACEOF
6222 7336
6223 fi 7337 fi
6224 7338
6225 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 7339 { 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 7340 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 7341 if test "${ac_cv_header_time+set}" = set; then
6228 echo $ECHO_N "(cached) $ECHO_C" >&6 7342 echo $ECHO_N "(cached) $ECHO_C" >&6
6229 else 7343 else
6230 cat >conftest.$ac_ext <<_ACEOF 7344 cat >conftest.$ac_ext <<_ACEOF
6231 /* confdefs.h. */ 7345 /* confdefs.h. */
6245 ; 7359 ;
6246 return 0; 7360 return 0;
6247 } 7361 }
6248 _ACEOF 7362 _ACEOF
6249 rm -f conftest.$ac_objext 7363 rm -f conftest.$ac_objext
6250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7364 if { (ac_try="$ac_compile"
6251 (eval $ac_compile) 2>conftest.er1 7365 case "(($ac_try" in
7366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7367 *) ac_try_echo=$ac_try;;
7368 esac
7369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7370 (eval "$ac_compile") 2>conftest.er1
6252 ac_status=$? 7371 ac_status=$?
6253 grep -v '^ *+' conftest.er1 >conftest.err 7372 grep -v '^ *+' conftest.er1 >conftest.err
6254 rm -f conftest.er1 7373 rm -f conftest.er1
6255 cat conftest.err >&5 7374 cat conftest.err >&5
6256 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6257 (exit $ac_status); } && 7376 (exit $ac_status); } &&
6258 { ac_try='test -z "$ac_c_werror_flag" 7377 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6259 || test ! -s conftest.err' 7378 { (case "(($ac_try" in
6260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6261 (eval $ac_try) 2>&5 7380 *) ac_try_echo=$ac_try;;
7381 esac
7382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7383 (eval "$ac_try") 2>&5
6262 ac_status=$? 7384 ac_status=$?
6263 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6264 (exit $ac_status); }; } && 7386 (exit $ac_status); }; } &&
6265 { ac_try='test -s conftest.$ac_objext' 7387 { ac_try='test -s conftest.$ac_objext'
6266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7388 { (case "(($ac_try" in
6267 (eval $ac_try) 2>&5 7389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7390 *) ac_try_echo=$ac_try;;
7391 esac
7392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7393 (eval "$ac_try") 2>&5
6268 ac_status=$? 7394 ac_status=$?
6269 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6270 (exit $ac_status); }; }; then 7396 (exit $ac_status); }; }; then
6271 ac_cv_header_time=yes 7397 ac_cv_header_time=yes
6272 else 7398 else
6273 echo "$as_me: failed program was:" >&5 7399 echo "$as_me: failed program was:" >&5
6274 sed 's/^/| /' conftest.$ac_ext >&5 7400 sed 's/^/| /' conftest.$ac_ext >&5
6275 7401
6276 ac_cv_header_time=no 7402 ac_cv_header_time=no
6277 fi 7403 fi
6278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7404
6279 fi 7405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6280 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 7406 fi
6281 echo "${ECHO_T}$ac_cv_header_time" >&6 7407 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
7408 echo "${ECHO_T}$ac_cv_header_time" >&6; }
6282 if test $ac_cv_header_time = yes; then 7409 if test $ac_cv_header_time = yes; then
6283 7410
6284 cat >>confdefs.h <<\_ACEOF 7411 cat >>confdefs.h <<\_ACEOF
6285 #define TIME_WITH_SYS_TIME 1 7412 #define TIME_WITH_SYS_TIME 1
6286 _ACEOF 7413 _ACEOF
6287 7414
6288 fi 7415 fi
6289 7416
6290 echo "$as_me:$LINENO: checking whether sys_siglist is declared" >&5 7417 { echo "$as_me:$LINENO: checking whether sys_siglist is declared" >&5
6291 echo $ECHO_N "checking whether sys_siglist is declared... $ECHO_C" >&6 7418 echo $ECHO_N "checking whether sys_siglist is declared... $ECHO_C" >&6; }
6292 if test "${ac_cv_have_decl_sys_siglist+set}" = set; then 7419 if test "${ac_cv_have_decl_sys_siglist+set}" = set; then
6293 echo $ECHO_N "(cached) $ECHO_C" >&6 7420 echo $ECHO_N "(cached) $ECHO_C" >&6
6294 else 7421 else
6295 cat >conftest.$ac_ext <<_ACEOF 7422 cat >conftest.$ac_ext <<_ACEOF
6296 /* confdefs.h. */ 7423 /* confdefs.h. */
6302 int 7429 int
6303 main () 7430 main ()
6304 { 7431 {
6305 #ifndef sys_siglist 7432 #ifndef sys_siglist
6306 char *p = (char *) sys_siglist; 7433 char *p = (char *) sys_siglist;
7434 return !p;
6307 #endif 7435 #endif
6308 7436
6309 ; 7437 ;
6310 return 0; 7438 return 0;
6311 } 7439 }
6312 _ACEOF 7440 _ACEOF
6313 rm -f conftest.$ac_objext 7441 rm -f conftest.$ac_objext
6314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7442 if { (ac_try="$ac_compile"
6315 (eval $ac_compile) 2>conftest.er1 7443 case "(($ac_try" in
7444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7445 *) ac_try_echo=$ac_try;;
7446 esac
7447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7448 (eval "$ac_compile") 2>conftest.er1
6316 ac_status=$? 7449 ac_status=$?
6317 grep -v '^ *+' conftest.er1 >conftest.err 7450 grep -v '^ *+' conftest.er1 >conftest.err
6318 rm -f conftest.er1 7451 rm -f conftest.er1
6319 cat conftest.err >&5 7452 cat conftest.err >&5
6320 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6321 (exit $ac_status); } && 7454 (exit $ac_status); } &&
6322 { ac_try='test -z "$ac_c_werror_flag" 7455 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6323 || test ! -s conftest.err' 7456 { (case "(($ac_try" in
6324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6325 (eval $ac_try) 2>&5 7458 *) ac_try_echo=$ac_try;;
7459 esac
7460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7461 (eval "$ac_try") 2>&5
6326 ac_status=$? 7462 ac_status=$?
6327 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6328 (exit $ac_status); }; } && 7464 (exit $ac_status); }; } &&
6329 { ac_try='test -s conftest.$ac_objext' 7465 { ac_try='test -s conftest.$ac_objext'
6330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7466 { (case "(($ac_try" in
6331 (eval $ac_try) 2>&5 7467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7468 *) ac_try_echo=$ac_try;;
7469 esac
7470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7471 (eval "$ac_try") 2>&5
6332 ac_status=$? 7472 ac_status=$?
6333 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6334 (exit $ac_status); }; }; then 7474 (exit $ac_status); }; }; then
6335 ac_cv_have_decl_sys_siglist=yes 7475 ac_cv_have_decl_sys_siglist=yes
6336 else 7476 else
6337 echo "$as_me: failed program was:" >&5 7477 echo "$as_me: failed program was:" >&5
6338 sed 's/^/| /' conftest.$ac_ext >&5 7478 sed 's/^/| /' conftest.$ac_ext >&5
6339 7479
6340 ac_cv_have_decl_sys_siglist=no 7480 ac_cv_have_decl_sys_siglist=no
6341 fi 7481 fi
6342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7482
6343 fi 7483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6344 echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5 7484 fi
6345 echo "${ECHO_T}$ac_cv_have_decl_sys_siglist" >&6 7485 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5
7486 echo "${ECHO_T}$ac_cv_have_decl_sys_siglist" >&6; }
6346 if test $ac_cv_have_decl_sys_siglist = yes; then 7487 if test $ac_cv_have_decl_sys_siglist = yes; then
6347 7488
6348 cat >>confdefs.h <<_ACEOF 7489 cat >>confdefs.h <<_ACEOF
6349 #define HAVE_DECL_SYS_SIGLIST 1 7490 #define HAVE_DECL_SYS_SIGLIST 1
6350 _ACEOF 7491 _ACEOF
6359 fi 7500 fi
6360 7501
6361 7502
6362 if test $ac_cv_have_decl_sys_siglist != yes; then 7503 if test $ac_cv_have_decl_sys_siglist != yes; then
6363 # For Tru64, at least: 7504 # For Tru64, at least:
6364 echo "$as_me:$LINENO: checking whether __sys_siglist is declared" >&5 7505 { echo "$as_me:$LINENO: checking whether __sys_siglist is declared" >&5
6365 echo $ECHO_N "checking whether __sys_siglist is declared... $ECHO_C" >&6 7506 echo $ECHO_N "checking whether __sys_siglist is declared... $ECHO_C" >&6; }
6366 if test "${ac_cv_have_decl___sys_siglist+set}" = set; then 7507 if test "${ac_cv_have_decl___sys_siglist+set}" = set; then
6367 echo $ECHO_N "(cached) $ECHO_C" >&6 7508 echo $ECHO_N "(cached) $ECHO_C" >&6
6368 else 7509 else
6369 cat >conftest.$ac_ext <<_ACEOF 7510 cat >conftest.$ac_ext <<_ACEOF
6370 /* confdefs.h. */ 7511 /* confdefs.h. */
6376 int 7517 int
6377 main () 7518 main ()
6378 { 7519 {
6379 #ifndef __sys_siglist 7520 #ifndef __sys_siglist
6380 char *p = (char *) __sys_siglist; 7521 char *p = (char *) __sys_siglist;
7522 return !p;
6381 #endif 7523 #endif
6382 7524
6383 ; 7525 ;
6384 return 0; 7526 return 0;
6385 } 7527 }
6386 _ACEOF 7528 _ACEOF
6387 rm -f conftest.$ac_objext 7529 rm -f conftest.$ac_objext
6388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7530 if { (ac_try="$ac_compile"
6389 (eval $ac_compile) 2>conftest.er1 7531 case "(($ac_try" in
7532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7533 *) ac_try_echo=$ac_try;;
7534 esac
7535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7536 (eval "$ac_compile") 2>conftest.er1
6390 ac_status=$? 7537 ac_status=$?
6391 grep -v '^ *+' conftest.er1 >conftest.err 7538 grep -v '^ *+' conftest.er1 >conftest.err
6392 rm -f conftest.er1 7539 rm -f conftest.er1
6393 cat conftest.err >&5 7540 cat conftest.err >&5
6394 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6395 (exit $ac_status); } && 7542 (exit $ac_status); } &&
6396 { ac_try='test -z "$ac_c_werror_flag" 7543 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6397 || test ! -s conftest.err' 7544 { (case "(($ac_try" in
6398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6399 (eval $ac_try) 2>&5 7546 *) ac_try_echo=$ac_try;;
7547 esac
7548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7549 (eval "$ac_try") 2>&5
6400 ac_status=$? 7550 ac_status=$?
6401 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6402 (exit $ac_status); }; } && 7552 (exit $ac_status); }; } &&
6403 { ac_try='test -s conftest.$ac_objext' 7553 { ac_try='test -s conftest.$ac_objext'
6404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7554 { (case "(($ac_try" in
6405 (eval $ac_try) 2>&5 7555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7556 *) ac_try_echo=$ac_try;;
7557 esac
7558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7559 (eval "$ac_try") 2>&5
6406 ac_status=$? 7560 ac_status=$?
6407 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6408 (exit $ac_status); }; }; then 7562 (exit $ac_status); }; }; then
6409 ac_cv_have_decl___sys_siglist=yes 7563 ac_cv_have_decl___sys_siglist=yes
6410 else 7564 else
6411 echo "$as_me: failed program was:" >&5 7565 echo "$as_me: failed program was:" >&5
6412 sed 's/^/| /' conftest.$ac_ext >&5 7566 sed 's/^/| /' conftest.$ac_ext >&5
6413 7567
6414 ac_cv_have_decl___sys_siglist=no 7568 ac_cv_have_decl___sys_siglist=no
6415 fi 7569 fi
6416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7570
6417 fi 7571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6418 echo "$as_me:$LINENO: result: $ac_cv_have_decl___sys_siglist" >&5 7572 fi
6419 echo "${ECHO_T}$ac_cv_have_decl___sys_siglist" >&6 7573 { echo "$as_me:$LINENO: result: $ac_cv_have_decl___sys_siglist" >&5
7574 echo "${ECHO_T}$ac_cv_have_decl___sys_siglist" >&6; }
6420 if test $ac_cv_have_decl___sys_siglist = yes; then 7575 if test $ac_cv_have_decl___sys_siglist = yes; then
6421 7576
6422 cat >>confdefs.h <<_ACEOF 7577 cat >>confdefs.h <<_ACEOF
6423 #define HAVE_DECL___SYS_SIGLIST 1 7578 #define HAVE_DECL___SYS_SIGLIST 1
6424 _ACEOF 7579 _ACEOF
6439 #define sys_siglist __sys_siglist 7594 #define sys_siglist __sys_siglist
6440 _ACEOF 7595 _ACEOF
6441 7596
6442 fi 7597 fi
6443 fi 7598 fi
6444 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 7599 { 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 7600 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 7601 if test "${ac_cv_header_sys_wait_h+set}" = set; then
6447 echo $ECHO_N "(cached) $ECHO_C" >&6 7602 echo $ECHO_N "(cached) $ECHO_C" >&6
6448 else 7603 else
6449 cat >conftest.$ac_ext <<_ACEOF 7604 cat >conftest.$ac_ext <<_ACEOF
6450 /* confdefs.h. */ 7605 /* confdefs.h. */
6453 cat >>conftest.$ac_ext <<_ACEOF 7608 cat >>conftest.$ac_ext <<_ACEOF
6454 /* end confdefs.h. */ 7609 /* end confdefs.h. */
6455 #include <sys/types.h> 7610 #include <sys/types.h>
6456 #include <sys/wait.h> 7611 #include <sys/wait.h>
6457 #ifndef WEXITSTATUS 7612 #ifndef WEXITSTATUS
6458 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) 7613 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6459 #endif 7614 #endif
6460 #ifndef WIFEXITED 7615 #ifndef WIFEXITED
6461 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0) 7616 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6462 #endif 7617 #endif
6463 7618
6470 ; 7625 ;
6471 return 0; 7626 return 0;
6472 } 7627 }
6473 _ACEOF 7628 _ACEOF
6474 rm -f conftest.$ac_objext 7629 rm -f conftest.$ac_objext
6475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7630 if { (ac_try="$ac_compile"
6476 (eval $ac_compile) 2>conftest.er1 7631 case "(($ac_try" in
7632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7633 *) ac_try_echo=$ac_try;;
7634 esac
7635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7636 (eval "$ac_compile") 2>conftest.er1
6477 ac_status=$? 7637 ac_status=$?
6478 grep -v '^ *+' conftest.er1 >conftest.err 7638 grep -v '^ *+' conftest.er1 >conftest.err
6479 rm -f conftest.er1 7639 rm -f conftest.er1
6480 cat conftest.err >&5 7640 cat conftest.err >&5
6481 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6482 (exit $ac_status); } && 7642 (exit $ac_status); } &&
6483 { ac_try='test -z "$ac_c_werror_flag" 7643 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6484 || test ! -s conftest.err' 7644 { (case "(($ac_try" in
6485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6486 (eval $ac_try) 2>&5 7646 *) ac_try_echo=$ac_try;;
7647 esac
7648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7649 (eval "$ac_try") 2>&5
6487 ac_status=$? 7650 ac_status=$?
6488 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6489 (exit $ac_status); }; } && 7652 (exit $ac_status); }; } &&
6490 { ac_try='test -s conftest.$ac_objext' 7653 { ac_try='test -s conftest.$ac_objext'
6491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7654 { (case "(($ac_try" in
6492 (eval $ac_try) 2>&5 7655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7656 *) ac_try_echo=$ac_try;;
7657 esac
7658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7659 (eval "$ac_try") 2>&5
6493 ac_status=$? 7660 ac_status=$?
6494 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6495 (exit $ac_status); }; }; then 7662 (exit $ac_status); }; }; then
6496 ac_cv_header_sys_wait_h=yes 7663 ac_cv_header_sys_wait_h=yes
6497 else 7664 else
6498 echo "$as_me: failed program was:" >&5 7665 echo "$as_me: failed program was:" >&5
6499 sed 's/^/| /' conftest.$ac_ext >&5 7666 sed 's/^/| /' conftest.$ac_ext >&5
6500 7667
6501 ac_cv_header_sys_wait_h=no 7668 ac_cv_header_sys_wait_h=no
6502 fi 7669 fi
6503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7670
6504 fi 7671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6505 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5 7672 fi
6506 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6 7673 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
7674 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
6507 if test $ac_cv_header_sys_wait_h = yes; then 7675 if test $ac_cv_header_sys_wait_h = yes; then
6508 7676
6509 cat >>confdefs.h <<\_ACEOF 7677 cat >>confdefs.h <<\_ACEOF
6510 #define HAVE_SYS_WAIT_H 1 7678 #define HAVE_SYS_WAIT_H 1
6511 _ACEOF 7679 _ACEOF
6512 7680
6513 fi 7681 fi
6514 7682
6515 7683
6516 echo "$as_me:$LINENO: checking for struct utimbuf" >&5 7684 { echo "$as_me:$LINENO: checking for struct utimbuf" >&5
6517 echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6 7685 echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6; }
6518 if test "${emacs_cv_struct_utimbuf+set}" = set; then 7686 if test "${emacs_cv_struct_utimbuf+set}" = set; then
6519 echo $ECHO_N "(cached) $ECHO_C" >&6 7687 echo $ECHO_N "(cached) $ECHO_C" >&6
6520 else 7688 else
6521 cat >conftest.$ac_ext <<_ACEOF 7689 cat >conftest.$ac_ext <<_ACEOF
6522 /* confdefs.h. */ 7690 /* confdefs.h. */
6544 ; 7712 ;
6545 return 0; 7713 return 0;
6546 } 7714 }
6547 _ACEOF 7715 _ACEOF
6548 rm -f conftest.$ac_objext 7716 rm -f conftest.$ac_objext
6549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7717 if { (ac_try="$ac_compile"
6550 (eval $ac_compile) 2>conftest.er1 7718 case "(($ac_try" in
7719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7720 *) ac_try_echo=$ac_try;;
7721 esac
7722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7723 (eval "$ac_compile") 2>conftest.er1
6551 ac_status=$? 7724 ac_status=$?
6552 grep -v '^ *+' conftest.er1 >conftest.err 7725 grep -v '^ *+' conftest.er1 >conftest.err
6553 rm -f conftest.er1 7726 rm -f conftest.er1
6554 cat conftest.err >&5 7727 cat conftest.err >&5
6555 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6556 (exit $ac_status); } && 7729 (exit $ac_status); } &&
6557 { ac_try='test -z "$ac_c_werror_flag" 7730 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6558 || test ! -s conftest.err' 7731 { (case "(($ac_try" in
6559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6560 (eval $ac_try) 2>&5 7733 *) ac_try_echo=$ac_try;;
7734 esac
7735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7736 (eval "$ac_try") 2>&5
6561 ac_status=$? 7737 ac_status=$?
6562 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6563 (exit $ac_status); }; } && 7739 (exit $ac_status); }; } &&
6564 { ac_try='test -s conftest.$ac_objext' 7740 { ac_try='test -s conftest.$ac_objext'
6565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7741 { (case "(($ac_try" in
6566 (eval $ac_try) 2>&5 7742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7743 *) ac_try_echo=$ac_try;;
7744 esac
7745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7746 (eval "$ac_try") 2>&5
6567 ac_status=$? 7747 ac_status=$?
6568 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6569 (exit $ac_status); }; }; then 7749 (exit $ac_status); }; }; then
6570 emacs_cv_struct_utimbuf=yes 7750 emacs_cv_struct_utimbuf=yes
6571 else 7751 else
6572 echo "$as_me: failed program was:" >&5 7752 echo "$as_me: failed program was:" >&5
6573 sed 's/^/| /' conftest.$ac_ext >&5 7753 sed 's/^/| /' conftest.$ac_ext >&5
6574 7754
6575 emacs_cv_struct_utimbuf=no 7755 emacs_cv_struct_utimbuf=no
6576 fi 7756 fi
6577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7757
6578 fi 7758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6579 echo "$as_me:$LINENO: result: $emacs_cv_struct_utimbuf" >&5 7759 fi
6580 echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6 7760 { echo "$as_me:$LINENO: result: $emacs_cv_struct_utimbuf" >&5
7761 echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6; }
6581 if test $emacs_cv_struct_utimbuf = yes; then 7762 if test $emacs_cv_struct_utimbuf = yes; then
6582 7763
6583 cat >>confdefs.h <<\_ACEOF 7764 cat >>confdefs.h <<\_ACEOF
6584 #define HAVE_STRUCT_UTIMBUF 1 7765 #define HAVE_STRUCT_UTIMBUF 1
6585 _ACEOF 7766 _ACEOF
6586 7767
6587 fi 7768 fi
6588 7769
6589 echo "$as_me:$LINENO: checking return type of signal handlers" >&5 7770 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
6590 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 7771 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
6591 if test "${ac_cv_type_signal+set}" = set; then 7772 if test "${ac_cv_type_signal+set}" = set; then
6592 echo $ECHO_N "(cached) $ECHO_C" >&6 7773 echo $ECHO_N "(cached) $ECHO_C" >&6
6593 else 7774 else
6594 cat >conftest.$ac_ext <<_ACEOF 7775 cat >conftest.$ac_ext <<_ACEOF
6595 /* confdefs.h. */ 7776 /* confdefs.h. */
6597 cat confdefs.h >>conftest.$ac_ext 7778 cat confdefs.h >>conftest.$ac_ext
6598 cat >>conftest.$ac_ext <<_ACEOF 7779 cat >>conftest.$ac_ext <<_ACEOF
6599 /* end confdefs.h. */ 7780 /* end confdefs.h. */
6600 #include <sys/types.h> 7781 #include <sys/types.h>
6601 #include <signal.h> 7782 #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 7783
6611 int 7784 int
6612 main () 7785 main ()
6613 { 7786 {
6614 int i; 7787 return *(signal (0, 0)) (0) == 1;
6615 ; 7788 ;
6616 return 0; 7789 return 0;
6617 } 7790 }
6618 _ACEOF 7791 _ACEOF
6619 rm -f conftest.$ac_objext 7792 rm -f conftest.$ac_objext
6620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7793 if { (ac_try="$ac_compile"
6621 (eval $ac_compile) 2>conftest.er1 7794 case "(($ac_try" in
7795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7796 *) ac_try_echo=$ac_try;;
7797 esac
7798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7799 (eval "$ac_compile") 2>conftest.er1
6622 ac_status=$? 7800 ac_status=$?
6623 grep -v '^ *+' conftest.er1 >conftest.err 7801 grep -v '^ *+' conftest.er1 >conftest.err
6624 rm -f conftest.er1 7802 rm -f conftest.er1
6625 cat conftest.err >&5 7803 cat conftest.err >&5
6626 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6627 (exit $ac_status); } && 7805 (exit $ac_status); } &&
6628 { ac_try='test -z "$ac_c_werror_flag" 7806 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6629 || test ! -s conftest.err' 7807 { (case "(($ac_try" in
6630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6631 (eval $ac_try) 2>&5 7809 *) ac_try_echo=$ac_try;;
7810 esac
7811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7812 (eval "$ac_try") 2>&5
6632 ac_status=$? 7813 ac_status=$?
6633 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6634 (exit $ac_status); }; } && 7815 (exit $ac_status); }; } &&
6635 { ac_try='test -s conftest.$ac_objext' 7816 { ac_try='test -s conftest.$ac_objext'
6636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7817 { (case "(($ac_try" in
6637 (eval $ac_try) 2>&5 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_try") 2>&5
6638 ac_status=$? 7823 ac_status=$?
6639 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6640 (exit $ac_status); }; }; then 7825 (exit $ac_status); }; }; then
6641 ac_cv_type_signal=void 7826 ac_cv_type_signal=int
6642 else 7827 else
6643 echo "$as_me: failed program was:" >&5 7828 echo "$as_me: failed program was:" >&5
6644 sed 's/^/| /' conftest.$ac_ext >&5 7829 sed 's/^/| /' conftest.$ac_ext >&5
6645 7830
6646 ac_cv_type_signal=int 7831 ac_cv_type_signal=void
6647 fi 7832 fi
6648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7833
6649 fi 7834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6650 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 7835 fi
6651 echo "${ECHO_T}$ac_cv_type_signal" >&6 7836 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
7837 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
6652 7838
6653 cat >>confdefs.h <<_ACEOF 7839 cat >>confdefs.h <<_ACEOF
6654 #define RETSIGTYPE $ac_cv_type_signal 7840 #define RETSIGTYPE $ac_cv_type_signal
6655 _ACEOF 7841 _ACEOF
6656 7842
6657 7843
6658 7844
6659 echo "$as_me:$LINENO: checking for speed_t" >&5 7845 { echo "$as_me:$LINENO: checking for speed_t" >&5
6660 echo $ECHO_N "checking for speed_t... $ECHO_C" >&6 7846 echo $ECHO_N "checking for speed_t... $ECHO_C" >&6; }
6661 if test "${emacs_cv_speed_t+set}" = set; then 7847 if test "${emacs_cv_speed_t+set}" = set; then
6662 echo $ECHO_N "(cached) $ECHO_C" >&6 7848 echo $ECHO_N "(cached) $ECHO_C" >&6
6663 else 7849 else
6664 cat >conftest.$ac_ext <<_ACEOF 7850 cat >conftest.$ac_ext <<_ACEOF
6665 /* confdefs.h. */ 7851 /* confdefs.h. */
6675 ; 7861 ;
6676 return 0; 7862 return 0;
6677 } 7863 }
6678 _ACEOF 7864 _ACEOF
6679 rm -f conftest.$ac_objext 7865 rm -f conftest.$ac_objext
6680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7866 if { (ac_try="$ac_compile"
6681 (eval $ac_compile) 2>conftest.er1 7867 case "(($ac_try" in
7868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7869 *) ac_try_echo=$ac_try;;
7870 esac
7871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7872 (eval "$ac_compile") 2>conftest.er1
6682 ac_status=$? 7873 ac_status=$?
6683 grep -v '^ *+' conftest.er1 >conftest.err 7874 grep -v '^ *+' conftest.er1 >conftest.err
6684 rm -f conftest.er1 7875 rm -f conftest.er1
6685 cat conftest.err >&5 7876 cat conftest.err >&5
6686 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6687 (exit $ac_status); } && 7878 (exit $ac_status); } &&
6688 { ac_try='test -z "$ac_c_werror_flag" 7879 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6689 || test ! -s conftest.err' 7880 { (case "(($ac_try" in
6690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6691 (eval $ac_try) 2>&5 7882 *) ac_try_echo=$ac_try;;
7883 esac
7884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7885 (eval "$ac_try") 2>&5
6692 ac_status=$? 7886 ac_status=$?
6693 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6694 (exit $ac_status); }; } && 7888 (exit $ac_status); }; } &&
6695 { ac_try='test -s conftest.$ac_objext' 7889 { ac_try='test -s conftest.$ac_objext'
6696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7890 { (case "(($ac_try" in
6697 (eval $ac_try) 2>&5 7891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7892 *) ac_try_echo=$ac_try;;
7893 esac
7894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7895 (eval "$ac_try") 2>&5
6698 ac_status=$? 7896 ac_status=$?
6699 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6700 (exit $ac_status); }; }; then 7898 (exit $ac_status); }; }; then
6701 emacs_cv_speed_t=yes 7899 emacs_cv_speed_t=yes
6702 else 7900 else
6703 echo "$as_me: failed program was:" >&5 7901 echo "$as_me: failed program was:" >&5
6704 sed 's/^/| /' conftest.$ac_ext >&5 7902 sed 's/^/| /' conftest.$ac_ext >&5
6705 7903
6706 emacs_cv_speed_t=no 7904 emacs_cv_speed_t=no
6707 fi 7905 fi
6708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7906
6709 fi 7907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6710 echo "$as_me:$LINENO: result: $emacs_cv_speed_t" >&5 7908 fi
6711 echo "${ECHO_T}$emacs_cv_speed_t" >&6 7909 { echo "$as_me:$LINENO: result: $emacs_cv_speed_t" >&5
7910 echo "${ECHO_T}$emacs_cv_speed_t" >&6; }
6712 if test $emacs_cv_speed_t = yes; then 7911 if test $emacs_cv_speed_t = yes; then
6713 7912
6714 cat >>confdefs.h <<\_ACEOF 7913 cat >>confdefs.h <<\_ACEOF
6715 #define HAVE_SPEED_T 1 7914 #define HAVE_SPEED_T 1
6716 _ACEOF 7915 _ACEOF
6717 7916
6718 fi 7917 fi
6719 7918
6720 echo "$as_me:$LINENO: checking for struct timeval" >&5 7919 { echo "$as_me:$LINENO: checking for struct timeval" >&5
6721 echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6 7920 echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6; }
6722 if test "${emacs_cv_struct_timeval+set}" = set; then 7921 if test "${emacs_cv_struct_timeval+set}" = set; then
6723 echo $ECHO_N "(cached) $ECHO_C" >&6 7922 echo $ECHO_N "(cached) $ECHO_C" >&6
6724 else 7923 else
6725 cat >conftest.$ac_ext <<_ACEOF 7924 cat >conftest.$ac_ext <<_ACEOF
6726 /* confdefs.h. */ 7925 /* confdefs.h. */
6745 ; 7944 ;
6746 return 0; 7945 return 0;
6747 } 7946 }
6748 _ACEOF 7947 _ACEOF
6749 rm -f conftest.$ac_objext 7948 rm -f conftest.$ac_objext
6750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7949 if { (ac_try="$ac_compile"
6751 (eval $ac_compile) 2>conftest.er1 7950 case "(($ac_try" in
7951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7952 *) ac_try_echo=$ac_try;;
7953 esac
7954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7955 (eval "$ac_compile") 2>conftest.er1
6752 ac_status=$? 7956 ac_status=$?
6753 grep -v '^ *+' conftest.er1 >conftest.err 7957 grep -v '^ *+' conftest.er1 >conftest.err
6754 rm -f conftest.er1 7958 rm -f conftest.er1
6755 cat conftest.err >&5 7959 cat conftest.err >&5
6756 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6757 (exit $ac_status); } && 7961 (exit $ac_status); } &&
6758 { ac_try='test -z "$ac_c_werror_flag" 7962 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6759 || test ! -s conftest.err' 7963 { (case "(($ac_try" in
6760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6761 (eval $ac_try) 2>&5 7965 *) ac_try_echo=$ac_try;;
7966 esac
7967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7968 (eval "$ac_try") 2>&5
6762 ac_status=$? 7969 ac_status=$?
6763 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6764 (exit $ac_status); }; } && 7971 (exit $ac_status); }; } &&
6765 { ac_try='test -s conftest.$ac_objext' 7972 { ac_try='test -s conftest.$ac_objext'
6766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7973 { (case "(($ac_try" in
6767 (eval $ac_try) 2>&5 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_try") 2>&5
6768 ac_status=$? 7979 ac_status=$?
6769 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6770 (exit $ac_status); }; }; then 7981 (exit $ac_status); }; }; then
6771 emacs_cv_struct_timeval=yes 7982 emacs_cv_struct_timeval=yes
6772 else 7983 else
6773 echo "$as_me: failed program was:" >&5 7984 echo "$as_me: failed program was:" >&5
6774 sed 's/^/| /' conftest.$ac_ext >&5 7985 sed 's/^/| /' conftest.$ac_ext >&5
6775 7986
6776 emacs_cv_struct_timeval=no 7987 emacs_cv_struct_timeval=no
6777 fi 7988 fi
6778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7989
6779 fi 7990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6780 echo "$as_me:$LINENO: result: $emacs_cv_struct_timeval" >&5 7991 fi
6781 echo "${ECHO_T}$emacs_cv_struct_timeval" >&6 7992 { echo "$as_me:$LINENO: result: $emacs_cv_struct_timeval" >&5
7993 echo "${ECHO_T}$emacs_cv_struct_timeval" >&6; }
6782 HAVE_TIMEVAL=$emacs_cv_struct_timeval 7994 HAVE_TIMEVAL=$emacs_cv_struct_timeval
6783 if test $emacs_cv_struct_timeval = yes; then 7995 if test $emacs_cv_struct_timeval = yes; then
6784 7996
6785 cat >>confdefs.h <<\_ACEOF 7997 cat >>confdefs.h <<\_ACEOF
6786 #define HAVE_TIMEVAL 1 7998 #define HAVE_TIMEVAL 1
6787 _ACEOF 7999 _ACEOF
6788 8000
6789 fi 8001 fi
6790 8002
6791 echo "$as_me:$LINENO: checking for struct exception" >&5 8003 { echo "$as_me:$LINENO: checking for struct exception" >&5
6792 echo $ECHO_N "checking for struct exception... $ECHO_C" >&6 8004 echo $ECHO_N "checking for struct exception... $ECHO_C" >&6; }
6793 if test "${emacs_cv_struct_exception+set}" = set; then 8005 if test "${emacs_cv_struct_exception+set}" = set; then
6794 echo $ECHO_N "(cached) $ECHO_C" >&6 8006 echo $ECHO_N "(cached) $ECHO_C" >&6
6795 else 8007 else
6796 cat >conftest.$ac_ext <<_ACEOF 8008 cat >conftest.$ac_ext <<_ACEOF
6797 /* confdefs.h. */ 8009 /* confdefs.h. */
6807 ; 8019 ;
6808 return 0; 8020 return 0;
6809 } 8021 }
6810 _ACEOF 8022 _ACEOF
6811 rm -f conftest.$ac_objext 8023 rm -f conftest.$ac_objext
6812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8024 if { (ac_try="$ac_compile"
6813 (eval $ac_compile) 2>conftest.er1 8025 case "(($ac_try" in
8026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8027 *) ac_try_echo=$ac_try;;
8028 esac
8029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8030 (eval "$ac_compile") 2>conftest.er1
6814 ac_status=$? 8031 ac_status=$?
6815 grep -v '^ *+' conftest.er1 >conftest.err 8032 grep -v '^ *+' conftest.er1 >conftest.err
6816 rm -f conftest.er1 8033 rm -f conftest.er1
6817 cat conftest.err >&5 8034 cat conftest.err >&5
6818 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6819 (exit $ac_status); } && 8036 (exit $ac_status); } &&
6820 { ac_try='test -z "$ac_c_werror_flag" 8037 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6821 || test ! -s conftest.err' 8038 { (case "(($ac_try" in
6822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6823 (eval $ac_try) 2>&5 8040 *) ac_try_echo=$ac_try;;
8041 esac
8042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8043 (eval "$ac_try") 2>&5
6824 ac_status=$? 8044 ac_status=$?
6825 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6826 (exit $ac_status); }; } && 8046 (exit $ac_status); }; } &&
6827 { ac_try='test -s conftest.$ac_objext' 8047 { ac_try='test -s conftest.$ac_objext'
6828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8048 { (case "(($ac_try" in
6829 (eval $ac_try) 2>&5 8049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8050 *) ac_try_echo=$ac_try;;
8051 esac
8052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8053 (eval "$ac_try") 2>&5
6830 ac_status=$? 8054 ac_status=$?
6831 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6832 (exit $ac_status); }; }; then 8056 (exit $ac_status); }; }; then
6833 emacs_cv_struct_exception=yes 8057 emacs_cv_struct_exception=yes
6834 else 8058 else
6835 echo "$as_me: failed program was:" >&5 8059 echo "$as_me: failed program was:" >&5
6836 sed 's/^/| /' conftest.$ac_ext >&5 8060 sed 's/^/| /' conftest.$ac_ext >&5
6837 8061
6838 emacs_cv_struct_exception=no 8062 emacs_cv_struct_exception=no
6839 fi 8063 fi
6840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8064
6841 fi 8065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6842 echo "$as_me:$LINENO: result: $emacs_cv_struct_exception" >&5 8066 fi
6843 echo "${ECHO_T}$emacs_cv_struct_exception" >&6 8067 { echo "$as_me:$LINENO: result: $emacs_cv_struct_exception" >&5
8068 echo "${ECHO_T}$emacs_cv_struct_exception" >&6; }
6844 HAVE_EXCEPTION=$emacs_cv_struct_exception 8069 HAVE_EXCEPTION=$emacs_cv_struct_exception
6845 if test $emacs_cv_struct_exception != yes; then 8070 if test $emacs_cv_struct_exception != yes; then
6846 8071
6847 cat >>confdefs.h <<\_ACEOF 8072 cat >>confdefs.h <<\_ACEOF
6848 #define NO_MATHERR 1 8073 #define NO_MATHERR 1
6852 8077
6853 8078
6854 for ac_header in sys/socket.h 8079 for ac_header in sys/socket.h
6855 do 8080 do
6856 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8081 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6857 if eval "test \"\${$as_ac_Header+set}\" = set"; then 8082 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6858 echo "$as_me:$LINENO: checking for $ac_header" >&5 8083 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6859 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 8084 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6860 if eval "test \"\${$as_ac_Header+set}\" = set"; then 8085 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6861 echo $ECHO_N "(cached) $ECHO_C" >&6 8086 echo $ECHO_N "(cached) $ECHO_C" >&6
6862 fi 8087 fi
6863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 8088 ac_res=`eval echo '${'$as_ac_Header'}'`
6864 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 8089 { echo "$as_me:$LINENO: result: $ac_res" >&5
8090 echo "${ECHO_T}$ac_res" >&6; }
6865 else 8091 else
6866 # Is the header compilable? 8092 # Is the header compilable?
6867 echo "$as_me:$LINENO: checking $ac_header usability" >&5 8093 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6868 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 8094 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6869 cat >conftest.$ac_ext <<_ACEOF 8095 cat >conftest.$ac_ext <<_ACEOF
6870 /* confdefs.h. */ 8096 /* confdefs.h. */
6871 _ACEOF 8097 _ACEOF
6872 cat confdefs.h >>conftest.$ac_ext 8098 cat confdefs.h >>conftest.$ac_ext
6873 cat >>conftest.$ac_ext <<_ACEOF 8099 cat >>conftest.$ac_ext <<_ACEOF
6874 /* end confdefs.h. */ 8100 /* end confdefs.h. */
6875 $ac_includes_default 8101 $ac_includes_default
6876 #include <$ac_header> 8102 #include <$ac_header>
6877 _ACEOF 8103 _ACEOF
6878 rm -f conftest.$ac_objext 8104 rm -f conftest.$ac_objext
6879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8105 if { (ac_try="$ac_compile"
6880 (eval $ac_compile) 2>conftest.er1 8106 case "(($ac_try" in
8107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8108 *) ac_try_echo=$ac_try;;
8109 esac
8110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8111 (eval "$ac_compile") 2>conftest.er1
6881 ac_status=$? 8112 ac_status=$?
6882 grep -v '^ *+' conftest.er1 >conftest.err 8113 grep -v '^ *+' conftest.er1 >conftest.err
6883 rm -f conftest.er1 8114 rm -f conftest.er1
6884 cat conftest.err >&5 8115 cat conftest.err >&5
6885 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6886 (exit $ac_status); } && 8117 (exit $ac_status); } &&
6887 { ac_try='test -z "$ac_c_werror_flag" 8118 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6888 || test ! -s conftest.err' 8119 { (case "(($ac_try" in
6889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6890 (eval $ac_try) 2>&5 8121 *) ac_try_echo=$ac_try;;
8122 esac
8123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8124 (eval "$ac_try") 2>&5
6891 ac_status=$? 8125 ac_status=$?
6892 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6893 (exit $ac_status); }; } && 8127 (exit $ac_status); }; } &&
6894 { ac_try='test -s conftest.$ac_objext' 8128 { ac_try='test -s conftest.$ac_objext'
6895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8129 { (case "(($ac_try" in
6896 (eval $ac_try) 2>&5 8130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8131 *) ac_try_echo=$ac_try;;
8132 esac
8133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8134 (eval "$ac_try") 2>&5
6897 ac_status=$? 8135 ac_status=$?
6898 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6899 (exit $ac_status); }; }; then 8137 (exit $ac_status); }; }; then
6900 ac_header_compiler=yes 8138 ac_header_compiler=yes
6901 else 8139 else
6902 echo "$as_me: failed program was:" >&5 8140 echo "$as_me: failed program was:" >&5
6903 sed 's/^/| /' conftest.$ac_ext >&5 8141 sed 's/^/| /' conftest.$ac_ext >&5
6904 8142
6905 ac_header_compiler=no 8143 ac_header_compiler=no
6906 fi 8144 fi
6907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8145
6908 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6909 echo "${ECHO_T}$ac_header_compiler" >&6 8147 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8148 echo "${ECHO_T}$ac_header_compiler" >&6; }
6910 8149
6911 # Is the header present? 8150 # Is the header present?
6912 echo "$as_me:$LINENO: checking $ac_header presence" >&5 8151 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6913 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 8152 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6914 cat >conftest.$ac_ext <<_ACEOF 8153 cat >conftest.$ac_ext <<_ACEOF
6915 /* confdefs.h. */ 8154 /* confdefs.h. */
6916 _ACEOF 8155 _ACEOF
6917 cat confdefs.h >>conftest.$ac_ext 8156 cat confdefs.h >>conftest.$ac_ext
6918 cat >>conftest.$ac_ext <<_ACEOF 8157 cat >>conftest.$ac_ext <<_ACEOF
6919 /* end confdefs.h. */ 8158 /* end confdefs.h. */
6920 #include <$ac_header> 8159 #include <$ac_header>
6921 _ACEOF 8160 _ACEOF
6922 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 8161 if { (ac_try="$ac_cpp conftest.$ac_ext"
6923 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8162 case "(($ac_try" in
8163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8164 *) ac_try_echo=$ac_try;;
8165 esac
8166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8167 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6924 ac_status=$? 8168 ac_status=$?
6925 grep -v '^ *+' conftest.er1 >conftest.err 8169 grep -v '^ *+' conftest.er1 >conftest.err
6926 rm -f conftest.er1 8170 rm -f conftest.er1
6927 cat conftest.err >&5 8171 cat conftest.err >&5
6928 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6942 echo "$as_me: failed program was:" >&5 8186 echo "$as_me: failed program was:" >&5
6943 sed 's/^/| /' conftest.$ac_ext >&5 8187 sed 's/^/| /' conftest.$ac_ext >&5
6944 8188
6945 ac_header_preproc=no 8189 ac_header_preproc=no
6946 fi 8190 fi
8191
6947 rm -f conftest.err conftest.$ac_ext 8192 rm -f conftest.err conftest.$ac_ext
6948 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8193 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6949 echo "${ECHO_T}$ac_header_preproc" >&6 8194 echo "${ECHO_T}$ac_header_preproc" >&6; }
6950 8195
6951 # So? What about this header? 8196 # So? What about this header?
6952 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8197 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6953 yes:no: ) 8198 yes:no: )
6954 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8199 { 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;} 8213 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 8214 { 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;} 8215 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 8216 { 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;} 8217 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6973 ( 8218
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 ;; 8219 ;;
6982 esac 8220 esac
6983 echo "$as_me:$LINENO: checking for $ac_header" >&5 8221 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6984 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 8222 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6985 if eval "test \"\${$as_ac_Header+set}\" = set"; then 8223 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6986 echo $ECHO_N "(cached) $ECHO_C" >&6 8224 echo $ECHO_N "(cached) $ECHO_C" >&6
6987 else 8225 else
6988 eval "$as_ac_Header=\$ac_header_preproc" 8226 eval "$as_ac_Header=\$ac_header_preproc"
6989 fi 8227 fi
6990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 8228 ac_res=`eval echo '${'$as_ac_Header'}'`
6991 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 8229 { echo "$as_me:$LINENO: result: $ac_res" >&5
8230 echo "${ECHO_T}$ac_res" >&6; }
6992 8231
6993 fi 8232 fi
6994 if test `eval echo '${'$as_ac_Header'}'` = yes; then 8233 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6995 cat >>confdefs.h <<_ACEOF 8234 cat >>confdefs.h <<_ACEOF
6996 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8235 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7002 8241
7003 8242
7004 for ac_header in net/if.h 8243 for ac_header in net/if.h
7005 do 8244 do
7006 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8245 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7007 echo "$as_me:$LINENO: checking for $ac_header" >&5 8246 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7008 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 8247 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7009 if eval "test \"\${$as_ac_Header+set}\" = set"; then 8248 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7010 echo $ECHO_N "(cached) $ECHO_C" >&6 8249 echo $ECHO_N "(cached) $ECHO_C" >&6
7011 else 8250 else
7012 cat >conftest.$ac_ext <<_ACEOF 8251 cat >conftest.$ac_ext <<_ACEOF
7013 /* confdefs.h. */ 8252 /* confdefs.h. */
7014 _ACEOF 8253 _ACEOF
7021 #endif 8260 #endif
7022 8261
7023 #include <$ac_header> 8262 #include <$ac_header>
7024 _ACEOF 8263 _ACEOF
7025 rm -f conftest.$ac_objext 8264 rm -f conftest.$ac_objext
7026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8265 if { (ac_try="$ac_compile"
7027 (eval $ac_compile) 2>conftest.er1 8266 case "(($ac_try" in
8267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8268 *) ac_try_echo=$ac_try;;
8269 esac
8270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8271 (eval "$ac_compile") 2>conftest.er1
7028 ac_status=$? 8272 ac_status=$?
7029 grep -v '^ *+' conftest.er1 >conftest.err 8273 grep -v '^ *+' conftest.er1 >conftest.err
7030 rm -f conftest.er1 8274 rm -f conftest.er1
7031 cat conftest.err >&5 8275 cat conftest.err >&5
7032 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7033 (exit $ac_status); } && 8277 (exit $ac_status); } &&
7034 { ac_try='test -z "$ac_c_werror_flag" 8278 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7035 || test ! -s conftest.err' 8279 { (case "(($ac_try" in
7036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7037 (eval $ac_try) 2>&5 8281 *) ac_try_echo=$ac_try;;
8282 esac
8283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8284 (eval "$ac_try") 2>&5
7038 ac_status=$? 8285 ac_status=$?
7039 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7040 (exit $ac_status); }; } && 8287 (exit $ac_status); }; } &&
7041 { ac_try='test -s conftest.$ac_objext' 8288 { ac_try='test -s conftest.$ac_objext'
7042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8289 { (case "(($ac_try" in
7043 (eval $ac_try) 2>&5 8290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8291 *) ac_try_echo=$ac_try;;
8292 esac
8293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8294 (eval "$ac_try") 2>&5
7044 ac_status=$? 8295 ac_status=$?
7045 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7046 (exit $ac_status); }; }; then 8297 (exit $ac_status); }; }; then
7047 eval "$as_ac_Header=yes" 8298 eval "$as_ac_Header=yes"
7048 else 8299 else
7049 echo "$as_me: failed program was:" >&5 8300 echo "$as_me: failed program was:" >&5
7050 sed 's/^/| /' conftest.$ac_ext >&5 8301 sed 's/^/| /' conftest.$ac_ext >&5
7051 8302
7052 eval "$as_ac_Header=no" 8303 eval "$as_ac_Header=no"
7053 fi 8304 fi
7054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8305
7055 fi 8306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 8307 fi
7057 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 8308 ac_res=`eval echo '${'$as_ac_Header'}'`
8309 { echo "$as_me:$LINENO: result: $ac_res" >&5
8310 echo "${ECHO_T}$ac_res" >&6; }
7058 if test `eval echo '${'$as_ac_Header'}'` = yes; then 8311 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7059 cat >>confdefs.h <<_ACEOF 8312 cat >>confdefs.h <<_ACEOF
7060 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8313 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7061 _ACEOF 8314 _ACEOF
7062 8315
7063 fi 8316 fi
7064 8317
7065 done 8318 done
7066 8319
7067 8320
7068 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 8321 { 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 8322 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 8323 if test "${ac_cv_struct_tm+set}" = set; then
7071 echo $ECHO_N "(cached) $ECHO_C" >&6 8324 echo $ECHO_N "(cached) $ECHO_C" >&6
7072 else 8325 else
7073 cat >conftest.$ac_ext <<_ACEOF 8326 cat >conftest.$ac_ext <<_ACEOF
7074 /* confdefs.h. */ 8327 /* confdefs.h. */
7086 ; 8339 ;
7087 return 0; 8340 return 0;
7088 } 8341 }
7089 _ACEOF 8342 _ACEOF
7090 rm -f conftest.$ac_objext 8343 rm -f conftest.$ac_objext
7091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8344 if { (ac_try="$ac_compile"
7092 (eval $ac_compile) 2>conftest.er1 8345 case "(($ac_try" in
8346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8347 *) ac_try_echo=$ac_try;;
8348 esac
8349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8350 (eval "$ac_compile") 2>conftest.er1
7093 ac_status=$? 8351 ac_status=$?
7094 grep -v '^ *+' conftest.er1 >conftest.err 8352 grep -v '^ *+' conftest.er1 >conftest.err
7095 rm -f conftest.er1 8353 rm -f conftest.er1
7096 cat conftest.err >&5 8354 cat conftest.err >&5
7097 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7098 (exit $ac_status); } && 8356 (exit $ac_status); } &&
7099 { ac_try='test -z "$ac_c_werror_flag" 8357 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7100 || test ! -s conftest.err' 8358 { (case "(($ac_try" in
7101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7102 (eval $ac_try) 2>&5 8360 *) ac_try_echo=$ac_try;;
8361 esac
8362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8363 (eval "$ac_try") 2>&5
7103 ac_status=$? 8364 ac_status=$?
7104 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7105 (exit $ac_status); }; } && 8366 (exit $ac_status); }; } &&
7106 { ac_try='test -s conftest.$ac_objext' 8367 { ac_try='test -s conftest.$ac_objext'
7107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8368 { (case "(($ac_try" in
7108 (eval $ac_try) 2>&5 8369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8370 *) ac_try_echo=$ac_try;;
8371 esac
8372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8373 (eval "$ac_try") 2>&5
7109 ac_status=$? 8374 ac_status=$?
7110 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7111 (exit $ac_status); }; }; then 8376 (exit $ac_status); }; }; then
7112 ac_cv_struct_tm=time.h 8377 ac_cv_struct_tm=time.h
7113 else 8378 else
7114 echo "$as_me: failed program was:" >&5 8379 echo "$as_me: failed program was:" >&5
7115 sed 's/^/| /' conftest.$ac_ext >&5 8380 sed 's/^/| /' conftest.$ac_ext >&5
7116 8381
7117 ac_cv_struct_tm=sys/time.h 8382 ac_cv_struct_tm=sys/time.h
7118 fi 8383 fi
7119 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8384
7120 fi 8385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7121 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 8386 fi
7122 echo "${ECHO_T}$ac_cv_struct_tm" >&6 8387 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
8388 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
7123 if test $ac_cv_struct_tm = sys/time.h; then 8389 if test $ac_cv_struct_tm = sys/time.h; then
7124 8390
7125 cat >>confdefs.h <<\_ACEOF 8391 cat >>confdefs.h <<\_ACEOF
7126 #define TM_IN_SYS_TIME 1 8392 #define TM_IN_SYS_TIME 1
7127 _ACEOF 8393 _ACEOF
7128 8394
7129 fi 8395 fi
7130 8396
7131 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5 8397 { echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
7132 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6 8398 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 8399 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
7134 echo $ECHO_N "(cached) $ECHO_C" >&6 8400 echo $ECHO_N "(cached) $ECHO_C" >&6
7135 else 8401 else
7136 cat >conftest.$ac_ext <<_ACEOF 8402 cat >conftest.$ac_ext <<_ACEOF
7137 /* confdefs.h. */ 8403 /* confdefs.h. */
7152 ; 8418 ;
7153 return 0; 8419 return 0;
7154 } 8420 }
7155 _ACEOF 8421 _ACEOF
7156 rm -f conftest.$ac_objext 8422 rm -f conftest.$ac_objext
7157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8423 if { (ac_try="$ac_compile"
7158 (eval $ac_compile) 2>conftest.er1 8424 case "(($ac_try" in
8425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8426 *) ac_try_echo=$ac_try;;
8427 esac
8428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8429 (eval "$ac_compile") 2>conftest.er1
7159 ac_status=$? 8430 ac_status=$?
7160 grep -v '^ *+' conftest.er1 >conftest.err 8431 grep -v '^ *+' conftest.er1 >conftest.err
7161 rm -f conftest.er1 8432 rm -f conftest.er1
7162 cat conftest.err >&5 8433 cat conftest.err >&5
7163 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7164 (exit $ac_status); } && 8435 (exit $ac_status); } &&
7165 { ac_try='test -z "$ac_c_werror_flag" 8436 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7166 || test ! -s conftest.err' 8437 { (case "(($ac_try" in
7167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7168 (eval $ac_try) 2>&5 8439 *) ac_try_echo=$ac_try;;
8440 esac
8441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8442 (eval "$ac_try") 2>&5
7169 ac_status=$? 8443 ac_status=$?
7170 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7171 (exit $ac_status); }; } && 8445 (exit $ac_status); }; } &&
7172 { ac_try='test -s conftest.$ac_objext' 8446 { ac_try='test -s conftest.$ac_objext'
7173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8447 { (case "(($ac_try" in
7174 (eval $ac_try) 2>&5 8448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8449 *) ac_try_echo=$ac_try;;
8450 esac
8451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8452 (eval "$ac_try") 2>&5
7175 ac_status=$? 8453 ac_status=$?
7176 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7177 (exit $ac_status); }; }; then 8455 (exit $ac_status); }; }; then
7178 ac_cv_member_struct_tm_tm_zone=yes 8456 ac_cv_member_struct_tm_tm_zone=yes
7179 else 8457 else
7180 echo "$as_me: failed program was:" >&5 8458 echo "$as_me: failed program was:" >&5
7181 sed 's/^/| /' conftest.$ac_ext >&5 8459 sed 's/^/| /' conftest.$ac_ext >&5
7182 8460
7183 cat >conftest.$ac_ext <<_ACEOF 8461 cat >conftest.$ac_ext <<_ACEOF
7184 /* confdefs.h. */ 8462 /* confdefs.h. */
7185 _ACEOF 8463 _ACEOF
7186 cat confdefs.h >>conftest.$ac_ext 8464 cat confdefs.h >>conftest.$ac_ext
7187 cat >>conftest.$ac_ext <<_ACEOF 8465 cat >>conftest.$ac_ext <<_ACEOF
7188 /* end confdefs.h. */ 8466 /* end confdefs.h. */
7199 ; 8477 ;
7200 return 0; 8478 return 0;
7201 } 8479 }
7202 _ACEOF 8480 _ACEOF
7203 rm -f conftest.$ac_objext 8481 rm -f conftest.$ac_objext
7204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8482 if { (ac_try="$ac_compile"
7205 (eval $ac_compile) 2>conftest.er1 8483 case "(($ac_try" in
8484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8485 *) ac_try_echo=$ac_try;;
8486 esac
8487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8488 (eval "$ac_compile") 2>conftest.er1
7206 ac_status=$? 8489 ac_status=$?
7207 grep -v '^ *+' conftest.er1 >conftest.err 8490 grep -v '^ *+' conftest.er1 >conftest.err
7208 rm -f conftest.er1 8491 rm -f conftest.er1
7209 cat conftest.err >&5 8492 cat conftest.err >&5
7210 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7211 (exit $ac_status); } && 8494 (exit $ac_status); } &&
7212 { ac_try='test -z "$ac_c_werror_flag" 8495 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7213 || test ! -s conftest.err' 8496 { (case "(($ac_try" in
7214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7215 (eval $ac_try) 2>&5 8498 *) ac_try_echo=$ac_try;;
8499 esac
8500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8501 (eval "$ac_try") 2>&5
7216 ac_status=$? 8502 ac_status=$?
7217 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7218 (exit $ac_status); }; } && 8504 (exit $ac_status); }; } &&
7219 { ac_try='test -s conftest.$ac_objext' 8505 { ac_try='test -s conftest.$ac_objext'
7220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8506 { (case "(($ac_try" in
7221 (eval $ac_try) 2>&5 8507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8508 *) ac_try_echo=$ac_try;;
8509 esac
8510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8511 (eval "$ac_try") 2>&5
7222 ac_status=$? 8512 ac_status=$?
7223 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7224 (exit $ac_status); }; }; then 8514 (exit $ac_status); }; }; then
7225 ac_cv_member_struct_tm_tm_zone=yes 8515 ac_cv_member_struct_tm_tm_zone=yes
7226 else 8516 else
7227 echo "$as_me: failed program was:" >&5 8517 echo "$as_me: failed program was:" >&5
7228 sed 's/^/| /' conftest.$ac_ext >&5 8518 sed 's/^/| /' conftest.$ac_ext >&5
7229 8519
7230 ac_cv_member_struct_tm_tm_zone=no 8520 ac_cv_member_struct_tm_tm_zone=no
7231 fi 8521 fi
7232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8522
7233 fi 8523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8524 fi
7235 fi 8525
7236 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5 8526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7237 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6 8527 fi
8528 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
8529 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6; }
7238 if test $ac_cv_member_struct_tm_tm_zone = yes; then 8530 if test $ac_cv_member_struct_tm_tm_zone = yes; then
7239 8531
7240 cat >>confdefs.h <<_ACEOF 8532 cat >>confdefs.h <<_ACEOF
7241 #define HAVE_STRUCT_TM_TM_ZONE 1 8533 #define HAVE_STRUCT_TM_TM_ZONE 1
7242 _ACEOF 8534 _ACEOF
7249 cat >>confdefs.h <<\_ACEOF 8541 cat >>confdefs.h <<\_ACEOF
7250 #define HAVE_TM_ZONE 1 8542 #define HAVE_TM_ZONE 1
7251 _ACEOF 8543 _ACEOF
7252 8544
7253 else 8545 else
7254 echo "$as_me:$LINENO: checking for tzname" >&5 8546 { echo "$as_me:$LINENO: checking whether tzname is declared" >&5
7255 echo $ECHO_N "checking for tzname... $ECHO_C" >&6 8547 echo $ECHO_N "checking whether tzname is declared... $ECHO_C" >&6; }
7256 if test "${ac_cv_var_tzname+set}" = set; then 8548 if test "${ac_cv_have_decl_tzname+set}" = set; then
7257 echo $ECHO_N "(cached) $ECHO_C" >&6 8549 echo $ECHO_N "(cached) $ECHO_C" >&6
7258 else 8550 else
7259 cat >conftest.$ac_ext <<_ACEOF 8551 cat >conftest.$ac_ext <<_ACEOF
7260 /* confdefs.h. */ 8552 /* confdefs.h. */
7261 _ACEOF 8553 _ACEOF
7262 cat confdefs.h >>conftest.$ac_ext 8554 cat confdefs.h >>conftest.$ac_ext
7263 cat >>conftest.$ac_ext <<_ACEOF 8555 cat >>conftest.$ac_ext <<_ACEOF
7264 /* end confdefs.h. */ 8556 /* end confdefs.h. */
7265 #include <time.h> 8557 #include <time.h>
7266 #ifndef tzname /* For SGI. */
7267 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
7268 #endif
7269 8558
7270 int 8559 int
7271 main () 8560 main ()
7272 { 8561 {
7273 atoi(*tzname); 8562 #ifndef tzname
8563 char *p = (char *) tzname;
8564 return !p;
8565 #endif
8566
7274 ; 8567 ;
7275 return 0; 8568 return 0;
7276 } 8569 }
7277 _ACEOF 8570 _ACEOF
7278 rm -f conftest.$ac_objext conftest$ac_exeext 8571 rm -f conftest.$ac_objext
7279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8572 if { (ac_try="$ac_compile"
7280 (eval $ac_link) 2>conftest.er1 8573 case "(($ac_try" in
8574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8575 *) ac_try_echo=$ac_try;;
8576 esac
8577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8578 (eval "$ac_compile") 2>conftest.er1
7281 ac_status=$? 8579 ac_status=$?
7282 grep -v '^ *+' conftest.er1 >conftest.err 8580 grep -v '^ *+' conftest.er1 >conftest.err
7283 rm -f conftest.er1 8581 rm -f conftest.er1
7284 cat conftest.err >&5 8582 cat conftest.err >&5
7285 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7286 (exit $ac_status); } && 8584 (exit $ac_status); } &&
7287 { ac_try='test -z "$ac_c_werror_flag" 8585 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7288 || test ! -s conftest.err' 8586 { (case "(($ac_try" in
7289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7290 (eval $ac_try) 2>&5 8588 *) ac_try_echo=$ac_try;;
8589 esac
8590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8591 (eval "$ac_try") 2>&5
8592 ac_status=$?
8593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8594 (exit $ac_status); }; } &&
8595 { ac_try='test -s conftest.$ac_objext'
8596 { (case "(($ac_try" in
8597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8598 *) ac_try_echo=$ac_try;;
8599 esac
8600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8601 (eval "$ac_try") 2>&5
8602 ac_status=$?
8603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8604 (exit $ac_status); }; }; then
8605 ac_cv_have_decl_tzname=yes
8606 else
8607 echo "$as_me: failed program was:" >&5
8608 sed 's/^/| /' conftest.$ac_ext >&5
8609
8610 ac_cv_have_decl_tzname=no
8611 fi
8612
8613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8614 fi
8615 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5
8616 echo "${ECHO_T}$ac_cv_have_decl_tzname" >&6; }
8617 if test $ac_cv_have_decl_tzname = yes; then
8618
8619 cat >>confdefs.h <<_ACEOF
8620 #define HAVE_DECL_TZNAME 1
8621 _ACEOF
8622
8623
8624 else
8625 cat >>confdefs.h <<_ACEOF
8626 #define HAVE_DECL_TZNAME 0
8627 _ACEOF
8628
8629
8630 fi
8631
8632
8633 { echo "$as_me:$LINENO: checking for tzname" >&5
8634 echo $ECHO_N "checking for tzname... $ECHO_C" >&6; }
8635 if test "${ac_cv_var_tzname+set}" = set; then
8636 echo $ECHO_N "(cached) $ECHO_C" >&6
8637 else
8638 cat >conftest.$ac_ext <<_ACEOF
8639 /* confdefs.h. */
8640 _ACEOF
8641 cat confdefs.h >>conftest.$ac_ext
8642 cat >>conftest.$ac_ext <<_ACEOF
8643 /* end confdefs.h. */
8644 #include <time.h>
8645 #if !HAVE_DECL_TZNAME
8646 extern char *tzname[];
8647 #endif
8648
8649 int
8650 main ()
8651 {
8652 return tzname[0][0];
8653 ;
8654 return 0;
8655 }
8656 _ACEOF
8657 rm -f conftest.$ac_objext conftest$ac_exeext
8658 if { (ac_try="$ac_link"
8659 case "(($ac_try" in
8660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8661 *) ac_try_echo=$ac_try;;
8662 esac
8663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8664 (eval "$ac_link") 2>conftest.er1
8665 ac_status=$?
8666 grep -v '^ *+' conftest.er1 >conftest.err
8667 rm -f conftest.er1
8668 cat conftest.err >&5
8669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8670 (exit $ac_status); } &&
8671 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8672 { (case "(($ac_try" in
8673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8674 *) ac_try_echo=$ac_try;;
8675 esac
8676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8677 (eval "$ac_try") 2>&5
7291 ac_status=$? 8678 ac_status=$?
7292 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7293 (exit $ac_status); }; } && 8680 (exit $ac_status); }; } &&
7294 { ac_try='test -s conftest$ac_exeext' 8681 { ac_try='test -s conftest$ac_exeext'
7295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8682 { (case "(($ac_try" in
7296 (eval $ac_try) 2>&5 8683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8684 *) ac_try_echo=$ac_try;;
8685 esac
8686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8687 (eval "$ac_try") 2>&5
7297 ac_status=$? 8688 ac_status=$?
7298 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7299 (exit $ac_status); }; }; then 8690 (exit $ac_status); }; }; then
7300 ac_cv_var_tzname=yes 8691 ac_cv_var_tzname=yes
7301 else 8692 else
7302 echo "$as_me: failed program was:" >&5 8693 echo "$as_me: failed program was:" >&5
7303 sed 's/^/| /' conftest.$ac_ext >&5 8694 sed 's/^/| /' conftest.$ac_ext >&5
7304 8695
7305 ac_cv_var_tzname=no 8696 ac_cv_var_tzname=no
7306 fi 8697 fi
7307 rm -f conftest.err conftest.$ac_objext \ 8698
8699 rm -f core conftest.err conftest.$ac_objext \
7308 conftest$ac_exeext conftest.$ac_ext 8700 conftest$ac_exeext conftest.$ac_ext
7309 fi 8701 fi
7310 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5 8702 { echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
7311 echo "${ECHO_T}$ac_cv_var_tzname" >&6 8703 echo "${ECHO_T}$ac_cv_var_tzname" >&6; }
7312 if test $ac_cv_var_tzname = yes; then 8704 if test $ac_cv_var_tzname = yes; then
7313 8705
7314 cat >>confdefs.h <<\_ACEOF 8706 cat >>confdefs.h <<\_ACEOF
7315 #define HAVE_TZNAME 1 8707 #define HAVE_TZNAME 1
7316 _ACEOF 8708 _ACEOF
7317 8709
7318 fi 8710 fi
7319 fi 8711 fi
7320 8712
7321 echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5 8713 { echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5
7322 echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6 8714 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 8715 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
7324 echo $ECHO_N "(cached) $ECHO_C" >&6 8716 echo $ECHO_N "(cached) $ECHO_C" >&6
7325 else 8717 else
7326 cat >conftest.$ac_ext <<_ACEOF 8718 cat >conftest.$ac_ext <<_ACEOF
7327 /* confdefs.h. */ 8719 /* confdefs.h. */
7340 ; 8732 ;
7341 return 0; 8733 return 0;
7342 } 8734 }
7343 _ACEOF 8735 _ACEOF
7344 rm -f conftest.$ac_objext 8736 rm -f conftest.$ac_objext
7345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8737 if { (ac_try="$ac_compile"
7346 (eval $ac_compile) 2>conftest.er1 8738 case "(($ac_try" in
8739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8740 *) ac_try_echo=$ac_try;;
8741 esac
8742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8743 (eval "$ac_compile") 2>conftest.er1
7347 ac_status=$? 8744 ac_status=$?
7348 grep -v '^ *+' conftest.er1 >conftest.err 8745 grep -v '^ *+' conftest.er1 >conftest.err
7349 rm -f conftest.er1 8746 rm -f conftest.er1
7350 cat conftest.err >&5 8747 cat conftest.err >&5
7351 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7352 (exit $ac_status); } && 8749 (exit $ac_status); } &&
7353 { ac_try='test -z "$ac_c_werror_flag" 8750 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7354 || test ! -s conftest.err' 8751 { (case "(($ac_try" in
7355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7356 (eval $ac_try) 2>&5 8753 *) ac_try_echo=$ac_try;;
8754 esac
8755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8756 (eval "$ac_try") 2>&5
7357 ac_status=$? 8757 ac_status=$?
7358 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7359 (exit $ac_status); }; } && 8759 (exit $ac_status); }; } &&
7360 { ac_try='test -s conftest.$ac_objext' 8760 { ac_try='test -s conftest.$ac_objext'
7361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8761 { (case "(($ac_try" in
7362 (eval $ac_try) 2>&5 8762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8763 *) ac_try_echo=$ac_try;;
8764 esac
8765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8766 (eval "$ac_try") 2>&5
7363 ac_status=$? 8767 ac_status=$?
7364 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7365 (exit $ac_status); }; }; then 8769 (exit $ac_status); }; }; then
7366 ac_cv_member_struct_tm_tm_gmtoff=yes 8770 ac_cv_member_struct_tm_tm_gmtoff=yes
7367 else 8771 else
7368 echo "$as_me: failed program was:" >&5 8772 echo "$as_me: failed program was:" >&5
7369 sed 's/^/| /' conftest.$ac_ext >&5 8773 sed 's/^/| /' conftest.$ac_ext >&5
7370 8774
7371 cat >conftest.$ac_ext <<_ACEOF 8775 cat >conftest.$ac_ext <<_ACEOF
7372 /* confdefs.h. */ 8776 /* confdefs.h. */
7373 _ACEOF 8777 _ACEOF
7374 cat confdefs.h >>conftest.$ac_ext 8778 cat confdefs.h >>conftest.$ac_ext
7375 cat >>conftest.$ac_ext <<_ACEOF 8779 cat >>conftest.$ac_ext <<_ACEOF
7376 /* end confdefs.h. */ 8780 /* end confdefs.h. */
7385 ; 8789 ;
7386 return 0; 8790 return 0;
7387 } 8791 }
7388 _ACEOF 8792 _ACEOF
7389 rm -f conftest.$ac_objext 8793 rm -f conftest.$ac_objext
7390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8794 if { (ac_try="$ac_compile"
7391 (eval $ac_compile) 2>conftest.er1 8795 case "(($ac_try" in
8796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8797 *) ac_try_echo=$ac_try;;
8798 esac
8799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8800 (eval "$ac_compile") 2>conftest.er1
7392 ac_status=$? 8801 ac_status=$?
7393 grep -v '^ *+' conftest.er1 >conftest.err 8802 grep -v '^ *+' conftest.er1 >conftest.err
7394 rm -f conftest.er1 8803 rm -f conftest.er1
7395 cat conftest.err >&5 8804 cat conftest.err >&5
7396 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7397 (exit $ac_status); } && 8806 (exit $ac_status); } &&
7398 { ac_try='test -z "$ac_c_werror_flag" 8807 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7399 || test ! -s conftest.err' 8808 { (case "(($ac_try" in
7400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7401 (eval $ac_try) 2>&5 8810 *) ac_try_echo=$ac_try;;
8811 esac
8812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8813 (eval "$ac_try") 2>&5
7402 ac_status=$? 8814 ac_status=$?
7403 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7404 (exit $ac_status); }; } && 8816 (exit $ac_status); }; } &&
7405 { ac_try='test -s conftest.$ac_objext' 8817 { ac_try='test -s conftest.$ac_objext'
7406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8818 { (case "(($ac_try" in
7407 (eval $ac_try) 2>&5 8819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8820 *) ac_try_echo=$ac_try;;
8821 esac
8822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8823 (eval "$ac_try") 2>&5
7408 ac_status=$? 8824 ac_status=$?
7409 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7410 (exit $ac_status); }; }; then 8826 (exit $ac_status); }; }; then
7411 ac_cv_member_struct_tm_tm_gmtoff=yes 8827 ac_cv_member_struct_tm_tm_gmtoff=yes
7412 else 8828 else
7413 echo "$as_me: failed program was:" >&5 8829 echo "$as_me: failed program was:" >&5
7414 sed 's/^/| /' conftest.$ac_ext >&5 8830 sed 's/^/| /' conftest.$ac_ext >&5
7415 8831
7416 ac_cv_member_struct_tm_tm_gmtoff=no 8832 ac_cv_member_struct_tm_tm_gmtoff=no
7417 fi 8833 fi
7418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8834
7419 fi 8835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8836 fi
7421 fi 8837
7422 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5 8838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7423 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6 8839 fi
8840 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
8841 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6; }
7424 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then 8842 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
7425 8843
7426 cat >>confdefs.h <<\_ACEOF 8844 cat >>confdefs.h <<\_ACEOF
7427 #define HAVE_TM_GMTOFF 1 8845 #define HAVE_TM_GMTOFF 1
7428 _ACEOF 8846 _ACEOF
7429 8847
7430 fi 8848 fi
7431 8849
7432 echo "$as_me:$LINENO: checking for struct ifreq.ifr_flags" >&5 8850 { echo "$as_me:$LINENO: checking for struct ifreq.ifr_flags" >&5
7433 echo $ECHO_N "checking for struct ifreq.ifr_flags... $ECHO_C" >&6 8851 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 8852 if test "${ac_cv_member_struct_ifreq_ifr_flags+set}" = set; then
7435 echo $ECHO_N "(cached) $ECHO_C" >&6 8853 echo $ECHO_N "(cached) $ECHO_C" >&6
7436 else 8854 else
7437 cat >conftest.$ac_ext <<_ACEOF 8855 cat >conftest.$ac_ext <<_ACEOF
7438 /* confdefs.h. */ 8856 /* confdefs.h. */
7457 ; 8875 ;
7458 return 0; 8876 return 0;
7459 } 8877 }
7460 _ACEOF 8878 _ACEOF
7461 rm -f conftest.$ac_objext 8879 rm -f conftest.$ac_objext
7462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8880 if { (ac_try="$ac_compile"
7463 (eval $ac_compile) 2>conftest.er1 8881 case "(($ac_try" in
8882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8883 *) ac_try_echo=$ac_try;;
8884 esac
8885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8886 (eval "$ac_compile") 2>conftest.er1
7464 ac_status=$? 8887 ac_status=$?
7465 grep -v '^ *+' conftest.er1 >conftest.err 8888 grep -v '^ *+' conftest.er1 >conftest.err
7466 rm -f conftest.er1 8889 rm -f conftest.er1
7467 cat conftest.err >&5 8890 cat conftest.err >&5
7468 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7469 (exit $ac_status); } && 8892 (exit $ac_status); } &&
7470 { ac_try='test -z "$ac_c_werror_flag" 8893 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7471 || test ! -s conftest.err' 8894 { (case "(($ac_try" in
7472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7473 (eval $ac_try) 2>&5 8896 *) ac_try_echo=$ac_try;;
8897 esac
8898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8899 (eval "$ac_try") 2>&5
7474 ac_status=$? 8900 ac_status=$?
7475 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7476 (exit $ac_status); }; } && 8902 (exit $ac_status); }; } &&
7477 { ac_try='test -s conftest.$ac_objext' 8903 { ac_try='test -s conftest.$ac_objext'
7478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8904 { (case "(($ac_try" in
7479 (eval $ac_try) 2>&5 8905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8906 *) ac_try_echo=$ac_try;;
8907 esac
8908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8909 (eval "$ac_try") 2>&5
7480 ac_status=$? 8910 ac_status=$?
7481 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7482 (exit $ac_status); }; }; then 8912 (exit $ac_status); }; }; then
7483 ac_cv_member_struct_ifreq_ifr_flags=yes 8913 ac_cv_member_struct_ifreq_ifr_flags=yes
7484 else 8914 else
7485 echo "$as_me: failed program was:" >&5 8915 echo "$as_me: failed program was:" >&5
7486 sed 's/^/| /' conftest.$ac_ext >&5 8916 sed 's/^/| /' conftest.$ac_ext >&5
7487 8917
7488 cat >conftest.$ac_ext <<_ACEOF 8918 cat >conftest.$ac_ext <<_ACEOF
7489 /* confdefs.h. */ 8919 /* confdefs.h. */
7490 _ACEOF 8920 _ACEOF
7491 cat confdefs.h >>conftest.$ac_ext 8921 cat confdefs.h >>conftest.$ac_ext
7492 cat >>conftest.$ac_ext <<_ACEOF 8922 cat >>conftest.$ac_ext <<_ACEOF
7493 /* end confdefs.h. */ 8923 /* end confdefs.h. */
7508 ; 8938 ;
7509 return 0; 8939 return 0;
7510 } 8940 }
7511 _ACEOF 8941 _ACEOF
7512 rm -f conftest.$ac_objext 8942 rm -f conftest.$ac_objext
7513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8943 if { (ac_try="$ac_compile"
7514 (eval $ac_compile) 2>conftest.er1 8944 case "(($ac_try" in
8945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8946 *) ac_try_echo=$ac_try;;
8947 esac
8948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8949 (eval "$ac_compile") 2>conftest.er1
7515 ac_status=$? 8950 ac_status=$?
7516 grep -v '^ *+' conftest.er1 >conftest.err 8951 grep -v '^ *+' conftest.er1 >conftest.err
7517 rm -f conftest.er1 8952 rm -f conftest.er1
7518 cat conftest.err >&5 8953 cat conftest.err >&5
7519 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7520 (exit $ac_status); } && 8955 (exit $ac_status); } &&
7521 { ac_try='test -z "$ac_c_werror_flag" 8956 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7522 || test ! -s conftest.err' 8957 { (case "(($ac_try" in
7523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7524 (eval $ac_try) 2>&5 8959 *) ac_try_echo=$ac_try;;
8960 esac
8961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8962 (eval "$ac_try") 2>&5
7525 ac_status=$? 8963 ac_status=$?
7526 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7527 (exit $ac_status); }; } && 8965 (exit $ac_status); }; } &&
7528 { ac_try='test -s conftest.$ac_objext' 8966 { ac_try='test -s conftest.$ac_objext'
7529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8967 { (case "(($ac_try" in
7530 (eval $ac_try) 2>&5 8968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8969 *) ac_try_echo=$ac_try;;
8970 esac
8971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8972 (eval "$ac_try") 2>&5
7531 ac_status=$? 8973 ac_status=$?
7532 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7533 (exit $ac_status); }; }; then 8975 (exit $ac_status); }; }; then
7534 ac_cv_member_struct_ifreq_ifr_flags=yes 8976 ac_cv_member_struct_ifreq_ifr_flags=yes
7535 else 8977 else
7536 echo "$as_me: failed program was:" >&5 8978 echo "$as_me: failed program was:" >&5
7537 sed 's/^/| /' conftest.$ac_ext >&5 8979 sed 's/^/| /' conftest.$ac_ext >&5
7538 8980
7539 ac_cv_member_struct_ifreq_ifr_flags=no 8981 ac_cv_member_struct_ifreq_ifr_flags=no
7540 fi 8982 fi
7541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8983
7542 fi 8984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8985 fi
7544 fi 8986
7545 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_flags" >&5 8987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7546 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_flags" >&6 8988 fi
8989 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_flags" >&5
8990 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_flags" >&6; }
7547 if test $ac_cv_member_struct_ifreq_ifr_flags = yes; then 8991 if test $ac_cv_member_struct_ifreq_ifr_flags = yes; then
7548 8992
7549 cat >>confdefs.h <<_ACEOF 8993 cat >>confdefs.h <<_ACEOF
7550 #define HAVE_STRUCT_IFREQ_IFR_FLAGS 1 8994 #define HAVE_STRUCT_IFREQ_IFR_FLAGS 1
7551 _ACEOF 8995 _ACEOF
7552 8996
7553 8997
7554 fi 8998 fi
7555 echo "$as_me:$LINENO: checking for struct ifreq.ifr_hwaddr" >&5 8999 { echo "$as_me:$LINENO: checking for struct ifreq.ifr_hwaddr" >&5
7556 echo $ECHO_N "checking for struct ifreq.ifr_hwaddr... $ECHO_C" >&6 9000 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 9001 if test "${ac_cv_member_struct_ifreq_ifr_hwaddr+set}" = set; then
7558 echo $ECHO_N "(cached) $ECHO_C" >&6 9002 echo $ECHO_N "(cached) $ECHO_C" >&6
7559 else 9003 else
7560 cat >conftest.$ac_ext <<_ACEOF 9004 cat >conftest.$ac_ext <<_ACEOF
7561 /* confdefs.h. */ 9005 /* confdefs.h. */
7580 ; 9024 ;
7581 return 0; 9025 return 0;
7582 } 9026 }
7583 _ACEOF 9027 _ACEOF
7584 rm -f conftest.$ac_objext 9028 rm -f conftest.$ac_objext
7585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9029 if { (ac_try="$ac_compile"
7586 (eval $ac_compile) 2>conftest.er1 9030 case "(($ac_try" in
9031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9032 *) ac_try_echo=$ac_try;;
9033 esac
9034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9035 (eval "$ac_compile") 2>conftest.er1
7587 ac_status=$? 9036 ac_status=$?
7588 grep -v '^ *+' conftest.er1 >conftest.err 9037 grep -v '^ *+' conftest.er1 >conftest.err
7589 rm -f conftest.er1 9038 rm -f conftest.er1
7590 cat conftest.err >&5 9039 cat conftest.err >&5
7591 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7592 (exit $ac_status); } && 9041 (exit $ac_status); } &&
7593 { ac_try='test -z "$ac_c_werror_flag" 9042 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7594 || test ! -s conftest.err' 9043 { (case "(($ac_try" in
7595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7596 (eval $ac_try) 2>&5 9045 *) ac_try_echo=$ac_try;;
9046 esac
9047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9048 (eval "$ac_try") 2>&5
7597 ac_status=$? 9049 ac_status=$?
7598 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7599 (exit $ac_status); }; } && 9051 (exit $ac_status); }; } &&
7600 { ac_try='test -s conftest.$ac_objext' 9052 { ac_try='test -s conftest.$ac_objext'
7601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9053 { (case "(($ac_try" in
7602 (eval $ac_try) 2>&5 9054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9055 *) ac_try_echo=$ac_try;;
9056 esac
9057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9058 (eval "$ac_try") 2>&5
7603 ac_status=$? 9059 ac_status=$?
7604 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7605 (exit $ac_status); }; }; then 9061 (exit $ac_status); }; }; then
7606 ac_cv_member_struct_ifreq_ifr_hwaddr=yes 9062 ac_cv_member_struct_ifreq_ifr_hwaddr=yes
7607 else 9063 else
7608 echo "$as_me: failed program was:" >&5 9064 echo "$as_me: failed program was:" >&5
7609 sed 's/^/| /' conftest.$ac_ext >&5 9065 sed 's/^/| /' conftest.$ac_ext >&5
7610 9066
7611 cat >conftest.$ac_ext <<_ACEOF 9067 cat >conftest.$ac_ext <<_ACEOF
7612 /* confdefs.h. */ 9068 /* confdefs.h. */
7613 _ACEOF 9069 _ACEOF
7614 cat confdefs.h >>conftest.$ac_ext 9070 cat confdefs.h >>conftest.$ac_ext
7615 cat >>conftest.$ac_ext <<_ACEOF 9071 cat >>conftest.$ac_ext <<_ACEOF
7616 /* end confdefs.h. */ 9072 /* end confdefs.h. */
7631 ; 9087 ;
7632 return 0; 9088 return 0;
7633 } 9089 }
7634 _ACEOF 9090 _ACEOF
7635 rm -f conftest.$ac_objext 9091 rm -f conftest.$ac_objext
7636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9092 if { (ac_try="$ac_compile"
7637 (eval $ac_compile) 2>conftest.er1 9093 case "(($ac_try" in
9094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9095 *) ac_try_echo=$ac_try;;
9096 esac
9097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9098 (eval "$ac_compile") 2>conftest.er1
7638 ac_status=$? 9099 ac_status=$?
7639 grep -v '^ *+' conftest.er1 >conftest.err 9100 grep -v '^ *+' conftest.er1 >conftest.err
7640 rm -f conftest.er1 9101 rm -f conftest.er1
7641 cat conftest.err >&5 9102 cat conftest.err >&5
7642 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7643 (exit $ac_status); } && 9104 (exit $ac_status); } &&
7644 { ac_try='test -z "$ac_c_werror_flag" 9105 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7645 || test ! -s conftest.err' 9106 { (case "(($ac_try" in
7646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7647 (eval $ac_try) 2>&5 9108 *) ac_try_echo=$ac_try;;
9109 esac
9110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9111 (eval "$ac_try") 2>&5
7648 ac_status=$? 9112 ac_status=$?
7649 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7650 (exit $ac_status); }; } && 9114 (exit $ac_status); }; } &&
7651 { ac_try='test -s conftest.$ac_objext' 9115 { ac_try='test -s conftest.$ac_objext'
7652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9116 { (case "(($ac_try" in
7653 (eval $ac_try) 2>&5 9117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9118 *) ac_try_echo=$ac_try;;
9119 esac
9120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9121 (eval "$ac_try") 2>&5
7654 ac_status=$? 9122 ac_status=$?
7655 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7656 (exit $ac_status); }; }; then 9124 (exit $ac_status); }; }; then
7657 ac_cv_member_struct_ifreq_ifr_hwaddr=yes 9125 ac_cv_member_struct_ifreq_ifr_hwaddr=yes
7658 else 9126 else
7659 echo "$as_me: failed program was:" >&5 9127 echo "$as_me: failed program was:" >&5
7660 sed 's/^/| /' conftest.$ac_ext >&5 9128 sed 's/^/| /' conftest.$ac_ext >&5
7661 9129
7662 ac_cv_member_struct_ifreq_ifr_hwaddr=no 9130 ac_cv_member_struct_ifreq_ifr_hwaddr=no
7663 fi 9131 fi
7664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 9132
7665 fi 9133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 9134 fi
7667 fi 9135
7668 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_hwaddr" >&5 9136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7669 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_hwaddr" >&6 9137 fi
9138 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_hwaddr" >&5
9139 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_hwaddr" >&6; }
7670 if test $ac_cv_member_struct_ifreq_ifr_hwaddr = yes; then 9140 if test $ac_cv_member_struct_ifreq_ifr_hwaddr = yes; then
7671 9141
7672 cat >>confdefs.h <<_ACEOF 9142 cat >>confdefs.h <<_ACEOF
7673 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1 9143 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
7674 _ACEOF 9144 _ACEOF
7675 9145
7676 9146
7677 fi 9147 fi
7678 echo "$as_me:$LINENO: checking for struct ifreq.ifr_netmask" >&5 9148 { echo "$as_me:$LINENO: checking for struct ifreq.ifr_netmask" >&5
7679 echo $ECHO_N "checking for struct ifreq.ifr_netmask... $ECHO_C" >&6 9149 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 9150 if test "${ac_cv_member_struct_ifreq_ifr_netmask+set}" = set; then
7681 echo $ECHO_N "(cached) $ECHO_C" >&6 9151 echo $ECHO_N "(cached) $ECHO_C" >&6
7682 else 9152 else
7683 cat >conftest.$ac_ext <<_ACEOF 9153 cat >conftest.$ac_ext <<_ACEOF
7684 /* confdefs.h. */ 9154 /* confdefs.h. */
7703 ; 9173 ;
7704 return 0; 9174 return 0;
7705 } 9175 }
7706 _ACEOF 9176 _ACEOF
7707 rm -f conftest.$ac_objext 9177 rm -f conftest.$ac_objext
7708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9178 if { (ac_try="$ac_compile"
7709 (eval $ac_compile) 2>conftest.er1 9179 case "(($ac_try" in
9180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9181 *) ac_try_echo=$ac_try;;
9182 esac
9183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9184 (eval "$ac_compile") 2>conftest.er1
7710 ac_status=$? 9185 ac_status=$?
7711 grep -v '^ *+' conftest.er1 >conftest.err 9186 grep -v '^ *+' conftest.er1 >conftest.err
7712 rm -f conftest.er1 9187 rm -f conftest.er1
7713 cat conftest.err >&5 9188 cat conftest.err >&5
7714 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7715 (exit $ac_status); } && 9190 (exit $ac_status); } &&
7716 { ac_try='test -z "$ac_c_werror_flag" 9191 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7717 || test ! -s conftest.err' 9192 { (case "(($ac_try" in
7718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7719 (eval $ac_try) 2>&5 9194 *) ac_try_echo=$ac_try;;
9195 esac
9196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9197 (eval "$ac_try") 2>&5
7720 ac_status=$? 9198 ac_status=$?
7721 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7722 (exit $ac_status); }; } && 9200 (exit $ac_status); }; } &&
7723 { ac_try='test -s conftest.$ac_objext' 9201 { ac_try='test -s conftest.$ac_objext'
7724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9202 { (case "(($ac_try" in
7725 (eval $ac_try) 2>&5 9203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9204 *) ac_try_echo=$ac_try;;
9205 esac
9206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9207 (eval "$ac_try") 2>&5
7726 ac_status=$? 9208 ac_status=$?
7727 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7728 (exit $ac_status); }; }; then 9210 (exit $ac_status); }; }; then
7729 ac_cv_member_struct_ifreq_ifr_netmask=yes 9211 ac_cv_member_struct_ifreq_ifr_netmask=yes
7730 else 9212 else
7731 echo "$as_me: failed program was:" >&5 9213 echo "$as_me: failed program was:" >&5
7732 sed 's/^/| /' conftest.$ac_ext >&5 9214 sed 's/^/| /' conftest.$ac_ext >&5
7733 9215
7734 cat >conftest.$ac_ext <<_ACEOF 9216 cat >conftest.$ac_ext <<_ACEOF
7735 /* confdefs.h. */ 9217 /* confdefs.h. */
7736 _ACEOF 9218 _ACEOF
7737 cat confdefs.h >>conftest.$ac_ext 9219 cat confdefs.h >>conftest.$ac_ext
7738 cat >>conftest.$ac_ext <<_ACEOF 9220 cat >>conftest.$ac_ext <<_ACEOF
7739 /* end confdefs.h. */ 9221 /* end confdefs.h. */
7754 ; 9236 ;
7755 return 0; 9237 return 0;
7756 } 9238 }
7757 _ACEOF 9239 _ACEOF
7758 rm -f conftest.$ac_objext 9240 rm -f conftest.$ac_objext
7759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9241 if { (ac_try="$ac_compile"
7760 (eval $ac_compile) 2>conftest.er1 9242 case "(($ac_try" in
9243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9244 *) ac_try_echo=$ac_try;;
9245 esac
9246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9247 (eval "$ac_compile") 2>conftest.er1
7761 ac_status=$? 9248 ac_status=$?
7762 grep -v '^ *+' conftest.er1 >conftest.err 9249 grep -v '^ *+' conftest.er1 >conftest.err
7763 rm -f conftest.er1 9250 rm -f conftest.er1
7764 cat conftest.err >&5 9251 cat conftest.err >&5
7765 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7766 (exit $ac_status); } && 9253 (exit $ac_status); } &&
7767 { ac_try='test -z "$ac_c_werror_flag" 9254 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7768 || test ! -s conftest.err' 9255 { (case "(($ac_try" in
7769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7770 (eval $ac_try) 2>&5 9257 *) ac_try_echo=$ac_try;;
9258 esac
9259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9260 (eval "$ac_try") 2>&5
7771 ac_status=$? 9261 ac_status=$?
7772 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7773 (exit $ac_status); }; } && 9263 (exit $ac_status); }; } &&
7774 { ac_try='test -s conftest.$ac_objext' 9264 { ac_try='test -s conftest.$ac_objext'
7775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9265 { (case "(($ac_try" in
7776 (eval $ac_try) 2>&5 9266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9267 *) ac_try_echo=$ac_try;;
9268 esac
9269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9270 (eval "$ac_try") 2>&5
7777 ac_status=$? 9271 ac_status=$?
7778 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7779 (exit $ac_status); }; }; then 9273 (exit $ac_status); }; }; then
7780 ac_cv_member_struct_ifreq_ifr_netmask=yes 9274 ac_cv_member_struct_ifreq_ifr_netmask=yes
7781 else 9275 else
7782 echo "$as_me: failed program was:" >&5 9276 echo "$as_me: failed program was:" >&5
7783 sed 's/^/| /' conftest.$ac_ext >&5 9277 sed 's/^/| /' conftest.$ac_ext >&5
7784 9278
7785 ac_cv_member_struct_ifreq_ifr_netmask=no 9279 ac_cv_member_struct_ifreq_ifr_netmask=no
7786 fi 9280 fi
7787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 9281
7788 fi 9282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 9283 fi
7790 fi 9284
7791 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_netmask" >&5 9285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7792 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_netmask" >&6 9286 fi
9287 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_netmask" >&5
9288 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_netmask" >&6; }
7793 if test $ac_cv_member_struct_ifreq_ifr_netmask = yes; then 9289 if test $ac_cv_member_struct_ifreq_ifr_netmask = yes; then
7794 9290
7795 cat >>confdefs.h <<_ACEOF 9291 cat >>confdefs.h <<_ACEOF
7796 #define HAVE_STRUCT_IFREQ_IFR_NETMASK 1 9292 #define HAVE_STRUCT_IFREQ_IFR_NETMASK 1
7797 _ACEOF 9293 _ACEOF
7798 9294
7799 9295
7800 fi 9296 fi
7801 echo "$as_me:$LINENO: checking for struct ifreq.ifr_broadaddr" >&5 9297 { echo "$as_me:$LINENO: checking for struct ifreq.ifr_broadaddr" >&5
7802 echo $ECHO_N "checking for struct ifreq.ifr_broadaddr... $ECHO_C" >&6 9298 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 9299 if test "${ac_cv_member_struct_ifreq_ifr_broadaddr+set}" = set; then
7804 echo $ECHO_N "(cached) $ECHO_C" >&6 9300 echo $ECHO_N "(cached) $ECHO_C" >&6
7805 else 9301 else
7806 cat >conftest.$ac_ext <<_ACEOF 9302 cat >conftest.$ac_ext <<_ACEOF
7807 /* confdefs.h. */ 9303 /* confdefs.h. */
7826 ; 9322 ;
7827 return 0; 9323 return 0;
7828 } 9324 }
7829 _ACEOF 9325 _ACEOF
7830 rm -f conftest.$ac_objext 9326 rm -f conftest.$ac_objext
7831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9327 if { (ac_try="$ac_compile"
7832 (eval $ac_compile) 2>conftest.er1 9328 case "(($ac_try" in
9329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9330 *) ac_try_echo=$ac_try;;
9331 esac
9332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9333 (eval "$ac_compile") 2>conftest.er1
7833 ac_status=$? 9334 ac_status=$?
7834 grep -v '^ *+' conftest.er1 >conftest.err 9335 grep -v '^ *+' conftest.er1 >conftest.err
7835 rm -f conftest.er1 9336 rm -f conftest.er1
7836 cat conftest.err >&5 9337 cat conftest.err >&5
7837 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7838 (exit $ac_status); } && 9339 (exit $ac_status); } &&
7839 { ac_try='test -z "$ac_c_werror_flag" 9340 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7840 || test ! -s conftest.err' 9341 { (case "(($ac_try" in
7841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7842 (eval $ac_try) 2>&5 9343 *) ac_try_echo=$ac_try;;
9344 esac
9345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9346 (eval "$ac_try") 2>&5
7843 ac_status=$? 9347 ac_status=$?
7844 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7845 (exit $ac_status); }; } && 9349 (exit $ac_status); }; } &&
7846 { ac_try='test -s conftest.$ac_objext' 9350 { ac_try='test -s conftest.$ac_objext'
7847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9351 { (case "(($ac_try" in
7848 (eval $ac_try) 2>&5 9352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9353 *) ac_try_echo=$ac_try;;
9354 esac
9355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9356 (eval "$ac_try") 2>&5
7849 ac_status=$? 9357 ac_status=$?
7850 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7851 (exit $ac_status); }; }; then 9359 (exit $ac_status); }; }; then
7852 ac_cv_member_struct_ifreq_ifr_broadaddr=yes 9360 ac_cv_member_struct_ifreq_ifr_broadaddr=yes
7853 else 9361 else
7854 echo "$as_me: failed program was:" >&5 9362 echo "$as_me: failed program was:" >&5
7855 sed 's/^/| /' conftest.$ac_ext >&5 9363 sed 's/^/| /' conftest.$ac_ext >&5
7856 9364
7857 cat >conftest.$ac_ext <<_ACEOF 9365 cat >conftest.$ac_ext <<_ACEOF
7858 /* confdefs.h. */ 9366 /* confdefs.h. */
7859 _ACEOF 9367 _ACEOF
7860 cat confdefs.h >>conftest.$ac_ext 9368 cat confdefs.h >>conftest.$ac_ext
7861 cat >>conftest.$ac_ext <<_ACEOF 9369 cat >>conftest.$ac_ext <<_ACEOF
7862 /* end confdefs.h. */ 9370 /* end confdefs.h. */
7877 ; 9385 ;
7878 return 0; 9386 return 0;
7879 } 9387 }
7880 _ACEOF 9388 _ACEOF
7881 rm -f conftest.$ac_objext 9389 rm -f conftest.$ac_objext
7882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9390 if { (ac_try="$ac_compile"
7883 (eval $ac_compile) 2>conftest.er1 9391 case "(($ac_try" in
9392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9393 *) ac_try_echo=$ac_try;;
9394 esac
9395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9396 (eval "$ac_compile") 2>conftest.er1
7884 ac_status=$? 9397 ac_status=$?
7885 grep -v '^ *+' conftest.er1 >conftest.err 9398 grep -v '^ *+' conftest.er1 >conftest.err
7886 rm -f conftest.er1 9399 rm -f conftest.er1
7887 cat conftest.err >&5 9400 cat conftest.err >&5
7888 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7889 (exit $ac_status); } && 9402 (exit $ac_status); } &&
7890 { ac_try='test -z "$ac_c_werror_flag" 9403 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7891 || test ! -s conftest.err' 9404 { (case "(($ac_try" in
7892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7893 (eval $ac_try) 2>&5 9406 *) ac_try_echo=$ac_try;;
9407 esac
9408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9409 (eval "$ac_try") 2>&5
7894 ac_status=$? 9410 ac_status=$?
7895 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7896 (exit $ac_status); }; } && 9412 (exit $ac_status); }; } &&
7897 { ac_try='test -s conftest.$ac_objext' 9413 { ac_try='test -s conftest.$ac_objext'
7898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9414 { (case "(($ac_try" in
7899 (eval $ac_try) 2>&5 9415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9416 *) ac_try_echo=$ac_try;;
9417 esac
9418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9419 (eval "$ac_try") 2>&5
7900 ac_status=$? 9420 ac_status=$?
7901 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7902 (exit $ac_status); }; }; then 9422 (exit $ac_status); }; }; then
7903 ac_cv_member_struct_ifreq_ifr_broadaddr=yes 9423 ac_cv_member_struct_ifreq_ifr_broadaddr=yes
7904 else 9424 else
7905 echo "$as_me: failed program was:" >&5 9425 echo "$as_me: failed program was:" >&5
7906 sed 's/^/| /' conftest.$ac_ext >&5 9426 sed 's/^/| /' conftest.$ac_ext >&5
7907 9427
7908 ac_cv_member_struct_ifreq_ifr_broadaddr=no 9428 ac_cv_member_struct_ifreq_ifr_broadaddr=no
7909 fi 9429 fi
7910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 9430
7911 fi 9431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 9432 fi
7913 fi 9433
7914 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_broadaddr" >&5 9434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7915 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_broadaddr" >&6 9435 fi
9436 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_broadaddr" >&5
9437 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_broadaddr" >&6; }
7916 if test $ac_cv_member_struct_ifreq_ifr_broadaddr = yes; then 9438 if test $ac_cv_member_struct_ifreq_ifr_broadaddr = yes; then
7917 9439
7918 cat >>confdefs.h <<_ACEOF 9440 cat >>confdefs.h <<_ACEOF
7919 #define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1 9441 #define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1
7920 _ACEOF 9442 _ACEOF
7921 9443
7922 9444
7923 fi 9445 fi
7924 echo "$as_me:$LINENO: checking for struct ifreq.ifr_addr" >&5 9446 { echo "$as_me:$LINENO: checking for struct ifreq.ifr_addr" >&5
7925 echo $ECHO_N "checking for struct ifreq.ifr_addr... $ECHO_C" >&6 9447 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 9448 if test "${ac_cv_member_struct_ifreq_ifr_addr+set}" = set; then
7927 echo $ECHO_N "(cached) $ECHO_C" >&6 9449 echo $ECHO_N "(cached) $ECHO_C" >&6
7928 else 9450 else
7929 cat >conftest.$ac_ext <<_ACEOF 9451 cat >conftest.$ac_ext <<_ACEOF
7930 /* confdefs.h. */ 9452 /* confdefs.h. */
7949 ; 9471 ;
7950 return 0; 9472 return 0;
7951 } 9473 }
7952 _ACEOF 9474 _ACEOF
7953 rm -f conftest.$ac_objext 9475 rm -f conftest.$ac_objext
7954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9476 if { (ac_try="$ac_compile"
7955 (eval $ac_compile) 2>conftest.er1 9477 case "(($ac_try" in
9478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9479 *) ac_try_echo=$ac_try;;
9480 esac
9481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9482 (eval "$ac_compile") 2>conftest.er1
7956 ac_status=$? 9483 ac_status=$?
7957 grep -v '^ *+' conftest.er1 >conftest.err 9484 grep -v '^ *+' conftest.er1 >conftest.err
7958 rm -f conftest.er1 9485 rm -f conftest.er1
7959 cat conftest.err >&5 9486 cat conftest.err >&5
7960 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7961 (exit $ac_status); } && 9488 (exit $ac_status); } &&
7962 { ac_try='test -z "$ac_c_werror_flag" 9489 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7963 || test ! -s conftest.err' 9490 { (case "(($ac_try" in
7964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7965 (eval $ac_try) 2>&5 9492 *) ac_try_echo=$ac_try;;
9493 esac
9494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9495 (eval "$ac_try") 2>&5
7966 ac_status=$? 9496 ac_status=$?
7967 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7968 (exit $ac_status); }; } && 9498 (exit $ac_status); }; } &&
7969 { ac_try='test -s conftest.$ac_objext' 9499 { ac_try='test -s conftest.$ac_objext'
7970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9500 { (case "(($ac_try" in
7971 (eval $ac_try) 2>&5 9501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9502 *) ac_try_echo=$ac_try;;
9503 esac
9504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9505 (eval "$ac_try") 2>&5
7972 ac_status=$? 9506 ac_status=$?
7973 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7974 (exit $ac_status); }; }; then 9508 (exit $ac_status); }; }; then
7975 ac_cv_member_struct_ifreq_ifr_addr=yes 9509 ac_cv_member_struct_ifreq_ifr_addr=yes
7976 else 9510 else
7977 echo "$as_me: failed program was:" >&5 9511 echo "$as_me: failed program was:" >&5
7978 sed 's/^/| /' conftest.$ac_ext >&5 9512 sed 's/^/| /' conftest.$ac_ext >&5
7979 9513
7980 cat >conftest.$ac_ext <<_ACEOF 9514 cat >conftest.$ac_ext <<_ACEOF
7981 /* confdefs.h. */ 9515 /* confdefs.h. */
7982 _ACEOF 9516 _ACEOF
7983 cat confdefs.h >>conftest.$ac_ext 9517 cat confdefs.h >>conftest.$ac_ext
7984 cat >>conftest.$ac_ext <<_ACEOF 9518 cat >>conftest.$ac_ext <<_ACEOF
7985 /* end confdefs.h. */ 9519 /* end confdefs.h. */
8000 ; 9534 ;
8001 return 0; 9535 return 0;
8002 } 9536 }
8003 _ACEOF 9537 _ACEOF
8004 rm -f conftest.$ac_objext 9538 rm -f conftest.$ac_objext
8005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9539 if { (ac_try="$ac_compile"
8006 (eval $ac_compile) 2>conftest.er1 9540 case "(($ac_try" in
9541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9542 *) ac_try_echo=$ac_try;;
9543 esac
9544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9545 (eval "$ac_compile") 2>conftest.er1
8007 ac_status=$? 9546 ac_status=$?
8008 grep -v '^ *+' conftest.er1 >conftest.err 9547 grep -v '^ *+' conftest.er1 >conftest.err
8009 rm -f conftest.er1 9548 rm -f conftest.er1
8010 cat conftest.err >&5 9549 cat conftest.err >&5
8011 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8012 (exit $ac_status); } && 9551 (exit $ac_status); } &&
8013 { ac_try='test -z "$ac_c_werror_flag" 9552 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8014 || test ! -s conftest.err' 9553 { (case "(($ac_try" in
8015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8016 (eval $ac_try) 2>&5 9555 *) ac_try_echo=$ac_try;;
9556 esac
9557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9558 (eval "$ac_try") 2>&5
8017 ac_status=$? 9559 ac_status=$?
8018 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8019 (exit $ac_status); }; } && 9561 (exit $ac_status); }; } &&
8020 { ac_try='test -s conftest.$ac_objext' 9562 { ac_try='test -s conftest.$ac_objext'
8021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9563 { (case "(($ac_try" in
8022 (eval $ac_try) 2>&5 9564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9565 *) ac_try_echo=$ac_try;;
9566 esac
9567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9568 (eval "$ac_try") 2>&5
8023 ac_status=$? 9569 ac_status=$?
8024 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8025 (exit $ac_status); }; }; then 9571 (exit $ac_status); }; }; then
8026 ac_cv_member_struct_ifreq_ifr_addr=yes 9572 ac_cv_member_struct_ifreq_ifr_addr=yes
8027 else 9573 else
8028 echo "$as_me: failed program was:" >&5 9574 echo "$as_me: failed program was:" >&5
8029 sed 's/^/| /' conftest.$ac_ext >&5 9575 sed 's/^/| /' conftest.$ac_ext >&5
8030 9576
8031 ac_cv_member_struct_ifreq_ifr_addr=no 9577 ac_cv_member_struct_ifreq_ifr_addr=no
8032 fi 9578 fi
8033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 9579
8034 fi 9580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 9581 fi
8036 fi 9582
8037 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_addr" >&5 9583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8038 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_addr" >&6 9584 fi
9585 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_addr" >&5
9586 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_addr" >&6; }
8039 if test $ac_cv_member_struct_ifreq_ifr_addr = yes; then 9587 if test $ac_cv_member_struct_ifreq_ifr_addr = yes; then
8040 9588
8041 cat >>confdefs.h <<_ACEOF 9589 cat >>confdefs.h <<_ACEOF
8042 #define HAVE_STRUCT_IFREQ_IFR_ADDR 1 9590 #define HAVE_STRUCT_IFREQ_IFR_ADDR 1
8043 _ACEOF 9591 _ACEOF
8045 9593
8046 fi 9594 fi
8047 9595
8048 9596
8049 9597
8050 echo "$as_me:$LINENO: checking for function prototypes" >&5 9598 { echo "$as_me:$LINENO: checking for function prototypes" >&5
8051 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 9599 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6; }
8052 if test "$ac_cv_prog_cc_stdc" != no; then 9600 if test "$ac_cv_prog_cc_c89" != no; then
8053 echo "$as_me:$LINENO: result: yes" >&5 9601 { echo "$as_me:$LINENO: result: yes" >&5
8054 echo "${ECHO_T}yes" >&6 9602 echo "${ECHO_T}yes" >&6; }
8055 9603
8056 cat >>confdefs.h <<\_ACEOF 9604 cat >>confdefs.h <<\_ACEOF
8057 #define PROTOTYPES 1 9605 #define PROTOTYPES 1
8058 _ACEOF 9606 _ACEOF
8059 9607
8061 cat >>confdefs.h <<\_ACEOF 9609 cat >>confdefs.h <<\_ACEOF
8062 #define __PROTOTYPES 1 9610 #define __PROTOTYPES 1
8063 _ACEOF 9611 _ACEOF
8064 9612
8065 else 9613 else
8066 echo "$as_me:$LINENO: result: no" >&5 9614 { echo "$as_me:$LINENO: result: no" >&5
8067 echo "${ECHO_T}no" >&6 9615 echo "${ECHO_T}no" >&6; }
8068 fi 9616 fi
8069 9617
8070 echo "$as_me:$LINENO: checking for working volatile" >&5 9618 { echo "$as_me:$LINENO: checking for working volatile" >&5
8071 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6 9619 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6; }
8072 if test "${ac_cv_c_volatile+set}" = set; then 9620 if test "${ac_cv_c_volatile+set}" = set; then
8073 echo $ECHO_N "(cached) $ECHO_C" >&6 9621 echo $ECHO_N "(cached) $ECHO_C" >&6
8074 else 9622 else
8075 cat >conftest.$ac_ext <<_ACEOF 9623 cat >conftest.$ac_ext <<_ACEOF
8076 /* confdefs.h. */ 9624 /* confdefs.h. */
8082 int 9630 int
8083 main () 9631 main ()
8084 { 9632 {
8085 9633
8086 volatile int x; 9634 volatile int x;
8087 int * volatile y; 9635 int * volatile y = (int *) 0;
9636 return !x && !y;
8088 ; 9637 ;
8089 return 0; 9638 return 0;
8090 } 9639 }
8091 _ACEOF 9640 _ACEOF
8092 rm -f conftest.$ac_objext 9641 rm -f conftest.$ac_objext
8093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9642 if { (ac_try="$ac_compile"
8094 (eval $ac_compile) 2>conftest.er1 9643 case "(($ac_try" in
9644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9645 *) ac_try_echo=$ac_try;;
9646 esac
9647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9648 (eval "$ac_compile") 2>conftest.er1
8095 ac_status=$? 9649 ac_status=$?
8096 grep -v '^ *+' conftest.er1 >conftest.err 9650 grep -v '^ *+' conftest.er1 >conftest.err
8097 rm -f conftest.er1 9651 rm -f conftest.er1
8098 cat conftest.err >&5 9652 cat conftest.err >&5
8099 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8100 (exit $ac_status); } && 9654 (exit $ac_status); } &&
8101 { ac_try='test -z "$ac_c_werror_flag" 9655 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8102 || test ! -s conftest.err' 9656 { (case "(($ac_try" in
8103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8104 (eval $ac_try) 2>&5 9658 *) ac_try_echo=$ac_try;;
9659 esac
9660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9661 (eval "$ac_try") 2>&5
8105 ac_status=$? 9662 ac_status=$?
8106 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8107 (exit $ac_status); }; } && 9664 (exit $ac_status); }; } &&
8108 { ac_try='test -s conftest.$ac_objext' 9665 { ac_try='test -s conftest.$ac_objext'
8109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9666 { (case "(($ac_try" in
8110 (eval $ac_try) 2>&5 9667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9668 *) ac_try_echo=$ac_try;;
9669 esac
9670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9671 (eval "$ac_try") 2>&5
8111 ac_status=$? 9672 ac_status=$?
8112 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8113 (exit $ac_status); }; }; then 9674 (exit $ac_status); }; }; then
8114 ac_cv_c_volatile=yes 9675 ac_cv_c_volatile=yes
8115 else 9676 else
8116 echo "$as_me: failed program was:" >&5 9677 echo "$as_me: failed program was:" >&5
8117 sed 's/^/| /' conftest.$ac_ext >&5 9678 sed 's/^/| /' conftest.$ac_ext >&5
8118 9679
8119 ac_cv_c_volatile=no 9680 ac_cv_c_volatile=no
8120 fi 9681 fi
8121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 9682
8122 fi 9683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8123 echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5 9684 fi
8124 echo "${ECHO_T}$ac_cv_c_volatile" >&6 9685 { echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
9686 echo "${ECHO_T}$ac_cv_c_volatile" >&6; }
8125 if test $ac_cv_c_volatile = no; then 9687 if test $ac_cv_c_volatile = no; then
8126 9688
8127 cat >>confdefs.h <<\_ACEOF 9689 cat >>confdefs.h <<\_ACEOF
8128 #define volatile 9690 #define volatile
8129 _ACEOF 9691 _ACEOF
8130 9692
8131 fi 9693 fi
8132 9694
8133 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 9695 { 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 9696 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
8135 if test "${ac_cv_c_const+set}" = set; then 9697 if test "${ac_cv_c_const+set}" = set; then
8136 echo $ECHO_N "(cached) $ECHO_C" >&6 9698 echo $ECHO_N "(cached) $ECHO_C" >&6
8137 else 9699 else
8138 cat >conftest.$ac_ext <<_ACEOF 9700 cat >conftest.$ac_ext <<_ACEOF
8139 /* confdefs.h. */ 9701 /* confdefs.h. */
8169 { /* SCO 3.2v4 cc rejects this. */ 9731 { /* SCO 3.2v4 cc rejects this. */
8170 char *t; 9732 char *t;
8171 char const *s = 0 ? (char *) 0 : (char const *) 0; 9733 char const *s = 0 ? (char *) 0 : (char const *) 0;
8172 9734
8173 *t++ = 0; 9735 *t++ = 0;
9736 if (s) return 0;
8174 } 9737 }
8175 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 9738 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8176 int x[] = {25, 17}; 9739 int x[] = {25, 17};
8177 const int *foo = &x[0]; 9740 const int *foo = &x[0];
8178 ++foo; 9741 ++foo;
8187 struct s { int j; const int *ap[3]; }; 9750 struct s { int j; const int *ap[3]; };
8188 struct s *b; b->j = 5; 9751 struct s *b; b->j = 5;
8189 } 9752 }
8190 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 9753 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8191 const int foo = 10; 9754 const int foo = 10;
9755 if (!foo) return 0;
8192 } 9756 }
9757 return !x[0] && !zero.x;
8193 #endif 9758 #endif
8194 9759
8195 ; 9760 ;
8196 return 0; 9761 return 0;
8197 } 9762 }
8198 _ACEOF 9763 _ACEOF
8199 rm -f conftest.$ac_objext 9764 rm -f conftest.$ac_objext
8200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9765 if { (ac_try="$ac_compile"
8201 (eval $ac_compile) 2>conftest.er1 9766 case "(($ac_try" in
9767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9768 *) ac_try_echo=$ac_try;;
9769 esac
9770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9771 (eval "$ac_compile") 2>conftest.er1
8202 ac_status=$? 9772 ac_status=$?
8203 grep -v '^ *+' conftest.er1 >conftest.err 9773 grep -v '^ *+' conftest.er1 >conftest.err
8204 rm -f conftest.er1 9774 rm -f conftest.er1
8205 cat conftest.err >&5 9775 cat conftest.err >&5
8206 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8207 (exit $ac_status); } && 9777 (exit $ac_status); } &&
8208 { ac_try='test -z "$ac_c_werror_flag" 9778 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8209 || test ! -s conftest.err' 9779 { (case "(($ac_try" in
8210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8211 (eval $ac_try) 2>&5 9781 *) ac_try_echo=$ac_try;;
9782 esac
9783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9784 (eval "$ac_try") 2>&5
8212 ac_status=$? 9785 ac_status=$?
8213 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8214 (exit $ac_status); }; } && 9787 (exit $ac_status); }; } &&
8215 { ac_try='test -s conftest.$ac_objext' 9788 { ac_try='test -s conftest.$ac_objext'
8216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9789 { (case "(($ac_try" in
8217 (eval $ac_try) 2>&5 9790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9791 *) ac_try_echo=$ac_try;;
9792 esac
9793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9794 (eval "$ac_try") 2>&5
8218 ac_status=$? 9795 ac_status=$?
8219 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8220 (exit $ac_status); }; }; then 9797 (exit $ac_status); }; }; then
8221 ac_cv_c_const=yes 9798 ac_cv_c_const=yes
8222 else 9799 else
8223 echo "$as_me: failed program was:" >&5 9800 echo "$as_me: failed program was:" >&5
8224 sed 's/^/| /' conftest.$ac_ext >&5 9801 sed 's/^/| /' conftest.$ac_ext >&5
8225 9802
8226 ac_cv_c_const=no 9803 ac_cv_c_const=no
8227 fi 9804 fi
8228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 9805
8229 fi 9806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8230 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 9807 fi
8231 echo "${ECHO_T}$ac_cv_c_const" >&6 9808 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
9809 echo "${ECHO_T}$ac_cv_c_const" >&6; }
8232 if test $ac_cv_c_const = no; then 9810 if test $ac_cv_c_const = no; then
8233 9811
8234 cat >>confdefs.h <<\_ACEOF 9812 cat >>confdefs.h <<\_ACEOF
8235 #define const 9813 #define const
8236 _ACEOF 9814 _ACEOF
8237 9815
8238 fi 9816 fi
8239 9817
8240 echo "$as_me:$LINENO: checking for void * support" >&5 9818 { echo "$as_me:$LINENO: checking for void * support" >&5
8241 echo $ECHO_N "checking for void * support... $ECHO_C" >&6 9819 echo $ECHO_N "checking for void * support... $ECHO_C" >&6; }
8242 if test "${emacs_cv_void_star+set}" = set; then 9820 if test "${emacs_cv_void_star+set}" = set; then
8243 echo $ECHO_N "(cached) $ECHO_C" >&6 9821 echo $ECHO_N "(cached) $ECHO_C" >&6
8244 else 9822 else
8245 cat >conftest.$ac_ext <<_ACEOF 9823 cat >conftest.$ac_ext <<_ACEOF
8246 /* confdefs.h. */ 9824 /* confdefs.h. */
8256 ; 9834 ;
8257 return 0; 9835 return 0;
8258 } 9836 }
8259 _ACEOF 9837 _ACEOF
8260 rm -f conftest.$ac_objext 9838 rm -f conftest.$ac_objext
8261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9839 if { (ac_try="$ac_compile"
8262 (eval $ac_compile) 2>conftest.er1 9840 case "(($ac_try" in
9841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9842 *) ac_try_echo=$ac_try;;
9843 esac
9844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9845 (eval "$ac_compile") 2>conftest.er1
8263 ac_status=$? 9846 ac_status=$?
8264 grep -v '^ *+' conftest.er1 >conftest.err 9847 grep -v '^ *+' conftest.er1 >conftest.err
8265 rm -f conftest.er1 9848 rm -f conftest.er1
8266 cat conftest.err >&5 9849 cat conftest.err >&5
8267 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8268 (exit $ac_status); } && 9851 (exit $ac_status); } &&
8269 { ac_try='test -z "$ac_c_werror_flag" 9852 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8270 || test ! -s conftest.err' 9853 { (case "(($ac_try" in
8271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8272 (eval $ac_try) 2>&5 9855 *) ac_try_echo=$ac_try;;
9856 esac
9857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9858 (eval "$ac_try") 2>&5
8273 ac_status=$? 9859 ac_status=$?
8274 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8275 (exit $ac_status); }; } && 9861 (exit $ac_status); }; } &&
8276 { ac_try='test -s conftest.$ac_objext' 9862 { ac_try='test -s conftest.$ac_objext'
8277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9863 { (case "(($ac_try" in
8278 (eval $ac_try) 2>&5 9864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9865 *) ac_try_echo=$ac_try;;
9866 esac
9867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9868 (eval "$ac_try") 2>&5
8279 ac_status=$? 9869 ac_status=$?
8280 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8281 (exit $ac_status); }; }; then 9871 (exit $ac_status); }; }; then
8282 emacs_cv_void_star=yes 9872 emacs_cv_void_star=yes
8283 else 9873 else
8284 echo "$as_me: failed program was:" >&5 9874 echo "$as_me: failed program was:" >&5
8285 sed 's/^/| /' conftest.$ac_ext >&5 9875 sed 's/^/| /' conftest.$ac_ext >&5
8286 9876
8287 emacs_cv_void_star=no 9877 emacs_cv_void_star=no
8288 fi 9878 fi
8289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 9879
8290 fi 9880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8291 echo "$as_me:$LINENO: result: $emacs_cv_void_star" >&5 9881 fi
8292 echo "${ECHO_T}$emacs_cv_void_star" >&6 9882 { echo "$as_me:$LINENO: result: $emacs_cv_void_star" >&5
9883 echo "${ECHO_T}$emacs_cv_void_star" >&6; }
8293 if test $emacs_cv_void_star = yes; then 9884 if test $emacs_cv_void_star = yes; then
8294 cat >>confdefs.h <<\_ACEOF 9885 cat >>confdefs.h <<\_ACEOF
8295 #define POINTER_TYPE void 9886 #define POINTER_TYPE void
8296 _ACEOF 9887 _ACEOF
8297 9888
8304 9895
8305 9896
8306 9897
8307 9898
8308 9899
8309 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 9900 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
8310 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 9901 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
8311 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 9902 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 9903 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 9904 echo $ECHO_N "(cached) $ECHO_C" >&6
8314 else 9905 else
8315 cat >conftest.make <<\_ACEOF 9906 cat >conftest.make <<\_ACEOF
9907 SHELL = /bin/sh
8316 all: 9908 all:
8317 @echo 'ac_maketemp="$(MAKE)"' 9909 @echo '@@@%%%=$(MAKE)=@@@%%%'
8318 _ACEOF 9910 _ACEOF
8319 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 9911 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
8320 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 9912 case `${MAKE-make} -f conftest.make 2>/dev/null` in
8321 if test -n "$ac_maketemp"; then 9913 *@@@%%%=?*=@@@%%%*)
8322 eval ac_cv_prog_make_${ac_make}_set=yes 9914 eval ac_cv_prog_make_${ac_make}_set=yes;;
8323 else 9915 *)
8324 eval ac_cv_prog_make_${ac_make}_set=no 9916 eval ac_cv_prog_make_${ac_make}_set=no;;
8325 fi 9917 esac
8326 rm -f conftest.make 9918 rm -f conftest.make
8327 fi 9919 fi
8328 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 9920 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
8329 echo "$as_me:$LINENO: result: yes" >&5 9921 { echo "$as_me:$LINENO: result: yes" >&5
8330 echo "${ECHO_T}yes" >&6 9922 echo "${ECHO_T}yes" >&6; }
8331 SET_MAKE= 9923 SET_MAKE=
8332 else 9924 else
8333 echo "$as_me:$LINENO: result: no" >&5 9925 { echo "$as_me:$LINENO: result: no" >&5
8334 echo "${ECHO_T}no" >&6 9926 echo "${ECHO_T}no" >&6; }
8335 SET_MAKE="MAKE=${MAKE-make}" 9927 SET_MAKE="MAKE=${MAKE-make}"
8336 fi 9928 fi
8337 9929
8338 9930
8339 echo "$as_me:$LINENO: checking for long file names" >&5 9931 { echo "$as_me:$LINENO: checking for long file names" >&5
8340 echo $ECHO_N "checking for long file names... $ECHO_C" >&6 9932 echo $ECHO_N "checking for long file names... $ECHO_C" >&6; }
8341 if test "${ac_cv_sys_long_file_names+set}" = set; then 9933 if test "${ac_cv_sys_long_file_names+set}" = set; then
8342 echo $ECHO_N "(cached) $ECHO_C" >&6 9934 echo $ECHO_N "(cached) $ECHO_C" >&6
8343 else 9935 else
8344 ac_cv_sys_long_file_names=yes 9936 ac_cv_sys_long_file_names=yes
8345 # Test for long file names in all the places we know might matter: 9937 # Test for long file names in all the places we know might matter:
8346 # . the current directory, where building will happen 9938 # . the current directory, where building will happen
8347 # $prefix/lib where we will be installing things 9939 # $prefix/lib where we will be installing things
8348 # $exec_prefix/lib likewise 9940 # $exec_prefix/lib likewise
8349 # eval it to expand exec_prefix.
8350 # $TMPDIR if set, where it might want to write temporary files 9941 # $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 9942 # /tmp where it might want to write temporary files
8353 # /var/tmp likewise 9943 # /var/tmp likewise
8354 # /usr/tmp likewise 9944 # /usr/tmp likewise
8355 if test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then 9945 for ac_dir in . "$TMPDIR" /tmp /var/tmp /usr/tmp "$prefix/lib" "$exec_prefix/lib"; do
8356 ac_tmpdirs=$TMPDIR 9946 # Skip $TMPDIR if it is empty or bogus, and skip $exec_prefix/lib
8357 else 9947 # in the usual case where exec_prefix is '${prefix}'.
8358 ac_tmpdirs='/tmp /var/tmp /usr/tmp' 9948 case $ac_dir in #(
8359 fi 9949 . | /* | ?:[\\/]*) ;; #(
8360 for ac_dir in . $ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do 9950 *) continue;;
8361 test -d $ac_dir || continue 9951 esac
8362 test -w $ac_dir || continue # It is less confusing to not echo anything here. 9952 test -w "$ac_dir/." || continue # It is less confusing to not echo anything here.
8363 ac_xdir=$ac_dir/cf$$ 9953 ac_xdir=$ac_dir/cf$$
8364 (umask 077 && mkdir $ac_xdir 2>/dev/null) || continue 9954 (umask 077 && mkdir "$ac_xdir" 2>/dev/null) || continue
8365 ac_tf1=$ac_xdir/conftest9012345 9955 ac_tf1=$ac_xdir/conftest9012345
8366 ac_tf2=$ac_xdir/conftest9012346 9956 ac_tf2=$ac_xdir/conftest9012346
8367 (echo 1 >$ac_tf1) 2>/dev/null 9957 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 9958 ac_cv_sys_long_file_names=no
8372 rm -rf $ac_xdir 2>/dev/null 9959 rm -f -r "$ac_xdir" 2>/dev/null
8373 break 9960 test $ac_cv_sys_long_file_names = no && break
8374 fi
8375 rm -rf $ac_xdir 2>/dev/null
8376 done 9961 done
8377 fi 9962 fi
8378 echo "$as_me:$LINENO: result: $ac_cv_sys_long_file_names" >&5 9963 { echo "$as_me:$LINENO: result: $ac_cv_sys_long_file_names" >&5
8379 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6 9964 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6; }
8380 if test $ac_cv_sys_long_file_names = yes; then 9965 if test $ac_cv_sys_long_file_names = yes; then
8381 9966
8382 cat >>confdefs.h <<\_ACEOF 9967 cat >>confdefs.h <<\_ACEOF
8383 #define HAVE_LONG_FILE_NAMES 1 9968 #define HAVE_LONG_FILE_NAMES 1
8384 _ACEOF 9969 _ACEOF
8386 fi 9971 fi
8387 9972
8388 9973
8389 #### Choose a window system. 9974 #### Choose a window system.
8390 9975
8391 echo "$as_me:$LINENO: checking for X" >&5 9976 { echo "$as_me:$LINENO: checking for X" >&5
8392 echo $ECHO_N "checking for X... $ECHO_C" >&6 9977 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
8393 9978
8394 ac_path_x_has_been_run=yes 9979
8395 9980 # Check whether --with-x was given.
8396 # Check whether --with-x or --without-x was given.
8397 if test "${with_x+set}" = set; then 9981 if test "${with_x+set}" = set; then
8398 withval="$with_x" 9982 withval=$with_x;
8399 9983 fi
8400 fi; 9984
8401 # $have_x is `yes', `no', `disabled', or empty when we do not yet know. 9985 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8402 if test "x$with_x" = xno; then 9986 if test "x$with_x" = xno; then
8403 # The user explicitly disabled X. 9987 # The user explicitly disabled X.
8404 have_x=disabled 9988 have_x=disabled
8405 else 9989 else
8406 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then 9990 case $x_includes,$x_libraries in #(
8407 # Both variables are already set. 9991 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
8408 have_x=yes 9992 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
8409 else 9993 { (exit 1); exit 1; }; };; #(
8410 if test "${ac_cv_have_x+set}" = set; then 9994 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
8411 echo $ECHO_N "(cached) $ECHO_C" >&6 9995 echo $ECHO_N "(cached) $ECHO_C" >&6
8412 else 9996 else
8413 # One or both of the vars are not set, and there is no cached value. 9997 # One or both of the vars are not set, and there is no cached value.
8414 ac_x_includes=no ac_x_libraries=no 9998 ac_x_includes=no ac_x_libraries=no
8415 rm -fr conftest.dir 9999 rm -f -r conftest.dir
8416 if mkdir conftest.dir; then 10000 if mkdir conftest.dir; then
8417 cd conftest.dir 10001 cd conftest.dir
8418 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
8419 cat >Imakefile <<'_ACEOF' 10002 cat >Imakefile <<'_ACEOF'
8420 acfindx: 10003 incroot:
8421 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"' 10004 @echo incroot='${INCROOT}'
8422 _ACEOF 10005 usrlibdir:
8423 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then 10006 @echo usrlibdir='${USRLIBDIR}'
10007 libdir:
10008 @echo libdir='${LIBDIR}'
10009 _ACEOF
10010 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8424 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 10011 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
8425 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make` 10012 for ac_var in incroot usrlibdir libdir; do
10013 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10014 done
8426 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. 10015 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8427 for ac_extension in a so sl; do 10016 for ac_extension in a so sl; do
8428 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension && 10017 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8429 test -f $ac_im_libdir/libX11.$ac_extension; then 10018 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8430 ac_im_usrlibdir=$ac_im_libdir; break 10019 ac_im_usrlibdir=$ac_im_libdir; break
8431 fi 10020 fi
8432 done 10021 done
8433 # Screen out bogus values from the imake configuration. They are 10022 # Screen out bogus values from the imake configuration. They are
8434 # bogus both because they are the default anyway, and because 10023 # bogus both because they are the default anyway, and because
8435 # using them would break gcc on systems where it needs fixed includes. 10024 # using them would break gcc on systems where it needs fixed includes.
8436 case $ac_im_incroot in 10025 case $ac_im_incroot in
8437 /usr/include) ;; 10026 /usr/include) ac_x_includes= ;;
8438 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; 10027 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8439 esac 10028 esac
8440 case $ac_im_usrlibdir in 10029 case $ac_im_usrlibdir in
8441 /usr/lib | /lib) ;; 10030 /usr/lib | /lib) ;;
8442 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; 10031 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8443 esac 10032 esac
8444 fi 10033 fi
8445 cd .. 10034 cd ..
8446 rm -fr conftest.dir 10035 rm -f -r conftest.dir
8447 fi 10036 fi
8448 10037
8449 # Standard set of common directories for X headers. 10038 # Standard set of common directories for X headers.
8450 # Check X11 before X11Rn because it is often a symlink to the current release. 10039 # Check X11 before X11Rn because it is often a symlink to the current release.
8451 ac_x_header_dirs=' 10040 ac_x_header_dirs='
8482 10071
8483 /usr/openwin/include 10072 /usr/openwin/include
8484 /usr/openwin/share/include' 10073 /usr/openwin/share/include'
8485 10074
8486 if test "$ac_x_includes" = no; then 10075 if test "$ac_x_includes" = no; then
8487 # Guess where to find include files, by looking for a specified header file. 10076 # Guess where to find include files, by looking for Xlib.h.
8488 # First, try using that file with no special directory specified. 10077 # First, try using that file with no special directory specified.
8489 cat >conftest.$ac_ext <<_ACEOF 10078 cat >conftest.$ac_ext <<_ACEOF
8490 /* confdefs.h. */ 10079 /* confdefs.h. */
8491 _ACEOF 10080 _ACEOF
8492 cat confdefs.h >>conftest.$ac_ext 10081 cat confdefs.h >>conftest.$ac_ext
8493 cat >>conftest.$ac_ext <<_ACEOF 10082 cat >>conftest.$ac_ext <<_ACEOF
8494 /* end confdefs.h. */ 10083 /* end confdefs.h. */
8495 #include <X11/Intrinsic.h> 10084 #include <X11/Xlib.h>
8496 _ACEOF 10085 _ACEOF
8497 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 10086 if { (ac_try="$ac_cpp conftest.$ac_ext"
8498 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 10087 case "(($ac_try" in
10088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10089 *) ac_try_echo=$ac_try;;
10090 esac
10091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10092 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8499 ac_status=$? 10093 ac_status=$?
8500 grep -v '^ *+' conftest.er1 >conftest.err 10094 grep -v '^ *+' conftest.er1 >conftest.err
8501 rm -f conftest.er1 10095 rm -f conftest.er1
8502 cat conftest.err >&5 10096 cat conftest.err >&5
8503 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8517 else 10111 else
8518 echo "$as_me: failed program was:" >&5 10112 echo "$as_me: failed program was:" >&5
8519 sed 's/^/| /' conftest.$ac_ext >&5 10113 sed 's/^/| /' conftest.$ac_ext >&5
8520 10114
8521 for ac_dir in $ac_x_header_dirs; do 10115 for ac_dir in $ac_x_header_dirs; do
8522 if test -r "$ac_dir/X11/Intrinsic.h"; then 10116 if test -r "$ac_dir/X11/Xlib.h"; then
8523 ac_x_includes=$ac_dir 10117 ac_x_includes=$ac_dir
8524 break 10118 break
8525 fi 10119 fi
8526 done 10120 done
8527 fi 10121 fi
10122
8528 rm -f conftest.err conftest.$ac_ext 10123 rm -f conftest.err conftest.$ac_ext
8529 fi # $ac_x_includes = no 10124 fi # $ac_x_includes = no
8530 10125
8531 if test "$ac_x_libraries" = no; then 10126 if test "$ac_x_libraries" = no; then
8532 # Check for the libraries. 10127 # Check for the libraries.
8538 /* confdefs.h. */ 10133 /* confdefs.h. */
8539 _ACEOF 10134 _ACEOF
8540 cat confdefs.h >>conftest.$ac_ext 10135 cat confdefs.h >>conftest.$ac_ext
8541 cat >>conftest.$ac_ext <<_ACEOF 10136 cat >>conftest.$ac_ext <<_ACEOF
8542 /* end confdefs.h. */ 10137 /* end confdefs.h. */
8543 #include <X11/Intrinsic.h> 10138 #include <X11/Xlib.h>
8544 int 10139 int
8545 main () 10140 main ()
8546 { 10141 {
8547 XtMalloc (0) 10142 XrmInitialize ()
8548 ; 10143 ;
8549 return 0; 10144 return 0;
8550 } 10145 }
8551 _ACEOF 10146 _ACEOF
8552 rm -f conftest.$ac_objext conftest$ac_exeext 10147 rm -f conftest.$ac_objext conftest$ac_exeext
8553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10148 if { (ac_try="$ac_link"
8554 (eval $ac_link) 2>conftest.er1 10149 case "(($ac_try" in
10150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10151 *) ac_try_echo=$ac_try;;
10152 esac
10153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10154 (eval "$ac_link") 2>conftest.er1
8555 ac_status=$? 10155 ac_status=$?
8556 grep -v '^ *+' conftest.er1 >conftest.err 10156 grep -v '^ *+' conftest.er1 >conftest.err
8557 rm -f conftest.er1 10157 rm -f conftest.er1
8558 cat conftest.err >&5 10158 cat conftest.err >&5
8559 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8560 (exit $ac_status); } && 10160 (exit $ac_status); } &&
8561 { ac_try='test -z "$ac_c_werror_flag" 10161 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8562 || test ! -s conftest.err' 10162 { (case "(($ac_try" in
8563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8564 (eval $ac_try) 2>&5 10164 *) ac_try_echo=$ac_try;;
10165 esac
10166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10167 (eval "$ac_try") 2>&5
8565 ac_status=$? 10168 ac_status=$?
8566 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8567 (exit $ac_status); }; } && 10170 (exit $ac_status); }; } &&
8568 { ac_try='test -s conftest$ac_exeext' 10171 { ac_try='test -s conftest$ac_exeext'
8569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10172 { (case "(($ac_try" in
8570 (eval $ac_try) 2>&5 10173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10174 *) ac_try_echo=$ac_try;;
10175 esac
10176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10177 (eval "$ac_try") 2>&5
8571 ac_status=$? 10178 ac_status=$?
8572 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8573 (exit $ac_status); }; }; then 10180 (exit $ac_status); }; }; then
8574 LIBS=$ac_save_LIBS 10181 LIBS=$ac_save_LIBS
8575 # We can link X programs with no special library path. 10182 # We can link X programs with no special library path.
8576 ac_x_libraries= 10183 ac_x_libraries=
8577 else 10184 else
8578 echo "$as_me: failed program was:" >&5 10185 echo "$as_me: failed program was:" >&5
8579 sed 's/^/| /' conftest.$ac_ext >&5 10186 sed 's/^/| /' conftest.$ac_ext >&5
8580 10187
8581 LIBS=$ac_save_LIBS 10188 LIBS=$ac_save_LIBS
8582 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` 10189 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8583 do 10190 do
8584 # Don't even attempt the hair of trying to link an X program! 10191 # Don't even attempt the hair of trying to link an X program!
8585 for ac_extension in a so sl; do 10192 for ac_extension in a so sl; do
8586 if test -r $ac_dir/libXt.$ac_extension; then 10193 if test -r "$ac_dir/libXt.$ac_extension"; then
8587 ac_x_libraries=$ac_dir 10194 ac_x_libraries=$ac_dir
8588 break 2 10195 break 2
8589 fi 10196 fi
8590 done 10197 done
8591 done 10198 done
8592 fi 10199 fi
8593 rm -f conftest.err conftest.$ac_objext \ 10200
10201 rm -f core conftest.err conftest.$ac_objext \
8594 conftest$ac_exeext conftest.$ac_ext 10202 conftest$ac_exeext conftest.$ac_ext
8595 fi # $ac_x_libraries = no 10203 fi # $ac_x_libraries = no
8596 10204
8597 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then 10205 case $ac_x_includes,$ac_x_libraries in #(
8598 # Didn't find X anywhere. Cache the known absence of X. 10206 no,* | *,no | *\'*)
8599 ac_cv_have_x="have_x=no" 10207 # Didn't find X, or a directory has "'" in its name.
8600 else 10208 ac_cv_have_x="have_x=no";; #(
8601 # Record where we found X for the cache. 10209 *)
8602 ac_cv_have_x="have_x=yes \ 10210 # Record where we found X for the cache.
8603 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries" 10211 ac_cv_have_x="have_x=yes\
8604 fi 10212 ac_x_includes='$ac_x_includes'\
8605 fi 10213 ac_x_libraries='$ac_x_libraries'"
8606 10214 esac
8607 fi 10215 fi
10216 ;; #(
10217 *) have_x=yes;;
10218 esac
8608 eval "$ac_cv_have_x" 10219 eval "$ac_cv_have_x"
8609 fi # $with_x != no 10220 fi # $with_x != no
8610 10221
8611 if test "$have_x" != yes; then 10222 if test "$have_x" != yes; then
8612 echo "$as_me:$LINENO: result: $have_x" >&5 10223 { echo "$as_me:$LINENO: result: $have_x" >&5
8613 echo "${ECHO_T}$have_x" >&6 10224 echo "${ECHO_T}$have_x" >&6; }
8614 no_x=yes 10225 no_x=yes
8615 else 10226 else
8616 # If each of the values was on the command line, it overrides each guess. 10227 # If each of the values was on the command line, it overrides each guess.
8617 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 10228 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8618 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 10229 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8619 # Update the cache value to reflect the command line values. 10230 # Update the cache value to reflect the command line values.
8620 ac_cv_have_x="have_x=yes \ 10231 ac_cv_have_x="have_x=yes\
8621 ac_x_includes=$x_includes ac_x_libraries=$x_libraries" 10232 ac_x_includes='$x_includes'\
8622 # It might be that x_includes is empty (headers are found in the 10233 ac_x_libraries='$x_libraries'"
8623 # standard search path. Then output the corresponding message 10234 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
8624 ac_out_x_includes=$x_includes 10235 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
8625 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
8626 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
8627 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
8628 fi 10236 fi
8629 10237
8630 if test "$no_x" = yes; then 10238 if test "$no_x" = yes; then
8631 window_system=none 10239 window_system=none
8632 else 10240 else
8682 fi 10290 fi
8683 10291
8684 HAVE_CARBON=no 10292 HAVE_CARBON=no
8685 if test "${with_carbon}" != no; then 10293 if test "${with_carbon}" != no; then
8686 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then 10294 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
8687 echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5 10295 { echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
8688 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6 10296 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6; }
8689 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then 10297 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
8690 echo $ECHO_N "(cached) $ECHO_C" >&6 10298 echo $ECHO_N "(cached) $ECHO_C" >&6
8691 fi 10299 fi
8692 echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5 10300 { echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
8693 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6 10301 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6; }
8694 else 10302 else
8695 # Is the header compilable? 10303 # Is the header compilable?
8696 echo "$as_me:$LINENO: checking Carbon/Carbon.h usability" >&5 10304 { echo "$as_me:$LINENO: checking Carbon/Carbon.h usability" >&5
8697 echo $ECHO_N "checking Carbon/Carbon.h usability... $ECHO_C" >&6 10305 echo $ECHO_N "checking Carbon/Carbon.h usability... $ECHO_C" >&6; }
8698 cat >conftest.$ac_ext <<_ACEOF 10306 cat >conftest.$ac_ext <<_ACEOF
8699 /* confdefs.h. */ 10307 /* confdefs.h. */
8700 _ACEOF 10308 _ACEOF
8701 cat confdefs.h >>conftest.$ac_ext 10309 cat confdefs.h >>conftest.$ac_ext
8702 cat >>conftest.$ac_ext <<_ACEOF 10310 cat >>conftest.$ac_ext <<_ACEOF
8703 /* end confdefs.h. */ 10311 /* end confdefs.h. */
8704 $ac_includes_default 10312 $ac_includes_default
8705 #include <Carbon/Carbon.h> 10313 #include <Carbon/Carbon.h>
8706 _ACEOF 10314 _ACEOF
8707 rm -f conftest.$ac_objext 10315 rm -f conftest.$ac_objext
8708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 10316 if { (ac_try="$ac_compile"
8709 (eval $ac_compile) 2>conftest.er1 10317 case "(($ac_try" in
10318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10319 *) ac_try_echo=$ac_try;;
10320 esac
10321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10322 (eval "$ac_compile") 2>conftest.er1
8710 ac_status=$? 10323 ac_status=$?
8711 grep -v '^ *+' conftest.er1 >conftest.err 10324 grep -v '^ *+' conftest.er1 >conftest.err
8712 rm -f conftest.er1 10325 rm -f conftest.er1
8713 cat conftest.err >&5 10326 cat conftest.err >&5
8714 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8715 (exit $ac_status); } && 10328 (exit $ac_status); } &&
8716 { ac_try='test -z "$ac_c_werror_flag" 10329 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8717 || test ! -s conftest.err' 10330 { (case "(($ac_try" in
8718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8719 (eval $ac_try) 2>&5 10332 *) ac_try_echo=$ac_try;;
10333 esac
10334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10335 (eval "$ac_try") 2>&5
8720 ac_status=$? 10336 ac_status=$?
8721 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8722 (exit $ac_status); }; } && 10338 (exit $ac_status); }; } &&
8723 { ac_try='test -s conftest.$ac_objext' 10339 { ac_try='test -s conftest.$ac_objext'
8724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10340 { (case "(($ac_try" in
8725 (eval $ac_try) 2>&5 10341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10342 *) ac_try_echo=$ac_try;;
10343 esac
10344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10345 (eval "$ac_try") 2>&5
8726 ac_status=$? 10346 ac_status=$?
8727 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8728 (exit $ac_status); }; }; then 10348 (exit $ac_status); }; }; then
8729 ac_header_compiler=yes 10349 ac_header_compiler=yes
8730 else 10350 else
8731 echo "$as_me: failed program was:" >&5 10351 echo "$as_me: failed program was:" >&5
8732 sed 's/^/| /' conftest.$ac_ext >&5 10352 sed 's/^/| /' conftest.$ac_ext >&5
8733 10353
8734 ac_header_compiler=no 10354 ac_header_compiler=no
8735 fi 10355 fi
8736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10356
8737 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8738 echo "${ECHO_T}$ac_header_compiler" >&6 10358 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10359 echo "${ECHO_T}$ac_header_compiler" >&6; }
8739 10360
8740 # Is the header present? 10361 # Is the header present?
8741 echo "$as_me:$LINENO: checking Carbon/Carbon.h presence" >&5 10362 { echo "$as_me:$LINENO: checking Carbon/Carbon.h presence" >&5
8742 echo $ECHO_N "checking Carbon/Carbon.h presence... $ECHO_C" >&6 10363 echo $ECHO_N "checking Carbon/Carbon.h presence... $ECHO_C" >&6; }
8743 cat >conftest.$ac_ext <<_ACEOF 10364 cat >conftest.$ac_ext <<_ACEOF
8744 /* confdefs.h. */ 10365 /* confdefs.h. */
8745 _ACEOF 10366 _ACEOF
8746 cat confdefs.h >>conftest.$ac_ext 10367 cat confdefs.h >>conftest.$ac_ext
8747 cat >>conftest.$ac_ext <<_ACEOF 10368 cat >>conftest.$ac_ext <<_ACEOF
8748 /* end confdefs.h. */ 10369 /* end confdefs.h. */
8749 #include <Carbon/Carbon.h> 10370 #include <Carbon/Carbon.h>
8750 _ACEOF 10371 _ACEOF
8751 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 10372 if { (ac_try="$ac_cpp conftest.$ac_ext"
8752 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 10373 case "(($ac_try" in
10374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10375 *) ac_try_echo=$ac_try;;
10376 esac
10377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10378 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8753 ac_status=$? 10379 ac_status=$?
8754 grep -v '^ *+' conftest.er1 >conftest.err 10380 grep -v '^ *+' conftest.er1 >conftest.err
8755 rm -f conftest.er1 10381 rm -f conftest.er1
8756 cat conftest.err >&5 10382 cat conftest.err >&5
8757 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8771 echo "$as_me: failed program was:" >&5 10397 echo "$as_me: failed program was:" >&5
8772 sed 's/^/| /' conftest.$ac_ext >&5 10398 sed 's/^/| /' conftest.$ac_ext >&5
8773 10399
8774 ac_header_preproc=no 10400 ac_header_preproc=no
8775 fi 10401 fi
10402
8776 rm -f conftest.err conftest.$ac_ext 10403 rm -f conftest.err conftest.$ac_ext
8777 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10404 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8778 echo "${ECHO_T}$ac_header_preproc" >&6 10405 echo "${ECHO_T}$ac_header_preproc" >&6; }
8779 10406
8780 # So? What about this header? 10407 # So? What about this header?
8781 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 10408 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8782 yes:no: ) 10409 yes:no: )
8783 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&5 10410 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&5
8797 echo "$as_me: WARNING: Carbon/Carbon.h: section \"Present But Cannot Be Compiled\"" >&2;} 10424 echo "$as_me: WARNING: Carbon/Carbon.h: section \"Present But Cannot Be Compiled\"" >&2;}
8798 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&5 10425 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&5
8799 echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&2;} 10426 echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&2;}
8800 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&5 10427 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&5
8801 echo "$as_me: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&2;} 10428 echo "$as_me: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&2;}
8802 ( 10429
8803 cat <<\_ASBOX
8804 ## ------------------------------------------ ##
8805 ## Report this to the AC_PACKAGE_NAME lists. ##
8806 ## ------------------------------------------ ##
8807 _ASBOX
8808 ) |
8809 sed "s/^/$as_me: WARNING: /" >&2
8810 ;; 10430 ;;
8811 esac 10431 esac
8812 echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5 10432 { echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
8813 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6 10433 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6; }
8814 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then 10434 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
8815 echo $ECHO_N "(cached) $ECHO_C" >&6 10435 echo $ECHO_N "(cached) $ECHO_C" >&6
8816 else 10436 else
8817 ac_cv_header_Carbon_Carbon_h=$ac_header_preproc 10437 ac_cv_header_Carbon_Carbon_h=$ac_header_preproc
8818 fi 10438 fi
8819 echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5 10439 { echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
8820 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6 10440 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6; }
8821 10441
8822 fi 10442 fi
8823 if test $ac_cv_header_Carbon_Carbon_h = yes; then 10443 if test $ac_cv_header_Carbon_Carbon_h = yes; then
8824 HAVE_CARBON=yes 10444 HAVE_CARBON=yes
8825 fi 10445 fi
8889 10509
8890 # Do the opsystem or machine files prohibit the use of the GNU malloc? 10510 # Do the opsystem or machine files prohibit the use of the GNU malloc?
8891 # Assume not, until told otherwise. 10511 # Assume not, until told otherwise.
8892 GNU_MALLOC=yes 10512 GNU_MALLOC=yes
8893 doug_lea_malloc=yes 10513 doug_lea_malloc=yes
8894 echo "$as_me:$LINENO: checking for malloc_get_state" >&5 10514 { echo "$as_me:$LINENO: checking for malloc_get_state" >&5
8895 echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6 10515 echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6; }
8896 if test "${ac_cv_func_malloc_get_state+set}" = set; then 10516 if test "${ac_cv_func_malloc_get_state+set}" = set; then
8897 echo $ECHO_N "(cached) $ECHO_C" >&6 10517 echo $ECHO_N "(cached) $ECHO_C" >&6
8898 else 10518 else
8899 cat >conftest.$ac_ext <<_ACEOF 10519 cat >conftest.$ac_ext <<_ACEOF
8900 /* confdefs.h. */ 10520 /* confdefs.h. */
8917 # include <assert.h> 10537 # include <assert.h>
8918 #endif 10538 #endif
8919 10539
8920 #undef malloc_get_state 10540 #undef malloc_get_state
8921 10541
8922 /* Override any gcc2 internal prototype to avoid an error. */ 10542 /* Override any GCC internal prototype to avoid an error.
10543 Use char because int might match the return type of a GCC
10544 builtin and then its argument prototype would still apply. */
8923 #ifdef __cplusplus 10545 #ifdef __cplusplus
8924 extern "C" 10546 extern "C"
8925 {
8926 #endif 10547 #endif
8927 /* We use char because int might match the return type of a gcc2
8928 builtin and then its argument prototype would still apply. */
8929 char malloc_get_state (); 10548 char malloc_get_state ();
8930 /* The GNU C library defines this for functions which it implements 10549 /* The GNU C library defines this for functions which it implements
8931 to always fail with ENOSYS. Some functions are actually named 10550 to always fail with ENOSYS. Some functions are actually named
8932 something starting with __ and the normal name is an alias. */ 10551 something starting with __ and the normal name is an alias. */
8933 #if defined (__stub_malloc_get_state) || defined (__stub___malloc_get_state) 10552 #if defined __stub_malloc_get_state || defined __stub___malloc_get_state
8934 choke me 10553 choke me
8935 #else
8936 char (*f) () = malloc_get_state;
8937 #endif
8938 #ifdef __cplusplus
8939 }
8940 #endif 10554 #endif
8941 10555
8942 int 10556 int
8943 main () 10557 main ()
8944 { 10558 {
8945 return f != malloc_get_state; 10559 return malloc_get_state ();
8946 ; 10560 ;
8947 return 0; 10561 return 0;
8948 } 10562 }
8949 _ACEOF 10563 _ACEOF
8950 rm -f conftest.$ac_objext conftest$ac_exeext 10564 rm -f conftest.$ac_objext conftest$ac_exeext
8951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10565 if { (ac_try="$ac_link"
8952 (eval $ac_link) 2>conftest.er1 10566 case "(($ac_try" in
10567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10568 *) ac_try_echo=$ac_try;;
10569 esac
10570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10571 (eval "$ac_link") 2>conftest.er1
8953 ac_status=$? 10572 ac_status=$?
8954 grep -v '^ *+' conftest.er1 >conftest.err 10573 grep -v '^ *+' conftest.er1 >conftest.err
8955 rm -f conftest.er1 10574 rm -f conftest.er1
8956 cat conftest.err >&5 10575 cat conftest.err >&5
8957 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8958 (exit $ac_status); } && 10577 (exit $ac_status); } &&
8959 { ac_try='test -z "$ac_c_werror_flag" 10578 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8960 || test ! -s conftest.err' 10579 { (case "(($ac_try" in
8961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8962 (eval $ac_try) 2>&5 10581 *) ac_try_echo=$ac_try;;
10582 esac
10583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10584 (eval "$ac_try") 2>&5
8963 ac_status=$? 10585 ac_status=$?
8964 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8965 (exit $ac_status); }; } && 10587 (exit $ac_status); }; } &&
8966 { ac_try='test -s conftest$ac_exeext' 10588 { ac_try='test -s conftest$ac_exeext'
8967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10589 { (case "(($ac_try" in
8968 (eval $ac_try) 2>&5 10590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10591 *) ac_try_echo=$ac_try;;
10592 esac
10593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10594 (eval "$ac_try") 2>&5
8969 ac_status=$? 10595 ac_status=$?
8970 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8971 (exit $ac_status); }; }; then 10597 (exit $ac_status); }; }; then
8972 ac_cv_func_malloc_get_state=yes 10598 ac_cv_func_malloc_get_state=yes
8973 else 10599 else
8974 echo "$as_me: failed program was:" >&5 10600 echo "$as_me: failed program was:" >&5
8975 sed 's/^/| /' conftest.$ac_ext >&5 10601 sed 's/^/| /' conftest.$ac_ext >&5
8976 10602
8977 ac_cv_func_malloc_get_state=no 10603 ac_cv_func_malloc_get_state=no
8978 fi 10604 fi
8979 rm -f conftest.err conftest.$ac_objext \ 10605
10606 rm -f core conftest.err conftest.$ac_objext \
8980 conftest$ac_exeext conftest.$ac_ext 10607 conftest$ac_exeext conftest.$ac_ext
8981 fi 10608 fi
8982 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_get_state" >&5 10609 { echo "$as_me:$LINENO: result: $ac_cv_func_malloc_get_state" >&5
8983 echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6 10610 echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6; }
8984 if test $ac_cv_func_malloc_get_state = yes; then 10611 if test $ac_cv_func_malloc_get_state = yes; then
8985 : 10612 :
8986 else 10613 else
8987 doug_lea_malloc=no 10614 doug_lea_malloc=no
8988 fi 10615 fi
8989 10616
8990 echo "$as_me:$LINENO: checking for malloc_set_state" >&5 10617 { echo "$as_me:$LINENO: checking for malloc_set_state" >&5
8991 echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6 10618 echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6; }
8992 if test "${ac_cv_func_malloc_set_state+set}" = set; then 10619 if test "${ac_cv_func_malloc_set_state+set}" = set; then
8993 echo $ECHO_N "(cached) $ECHO_C" >&6 10620 echo $ECHO_N "(cached) $ECHO_C" >&6
8994 else 10621 else
8995 cat >conftest.$ac_ext <<_ACEOF 10622 cat >conftest.$ac_ext <<_ACEOF
8996 /* confdefs.h. */ 10623 /* confdefs.h. */
9013 # include <assert.h> 10640 # include <assert.h>
9014 #endif 10641 #endif
9015 10642
9016 #undef malloc_set_state 10643 #undef malloc_set_state
9017 10644
9018 /* Override any gcc2 internal prototype to avoid an error. */ 10645 /* Override any GCC internal prototype to avoid an error.
10646 Use char because int might match the return type of a GCC
10647 builtin and then its argument prototype would still apply. */
9019 #ifdef __cplusplus 10648 #ifdef __cplusplus
9020 extern "C" 10649 extern "C"
9021 {
9022 #endif 10650 #endif
9023 /* We use char because int might match the return type of a gcc2
9024 builtin and then its argument prototype would still apply. */
9025 char malloc_set_state (); 10651 char malloc_set_state ();
9026 /* The GNU C library defines this for functions which it implements 10652 /* The GNU C library defines this for functions which it implements
9027 to always fail with ENOSYS. Some functions are actually named 10653 to always fail with ENOSYS. Some functions are actually named
9028 something starting with __ and the normal name is an alias. */ 10654 something starting with __ and the normal name is an alias. */
9029 #if defined (__stub_malloc_set_state) || defined (__stub___malloc_set_state) 10655 #if defined __stub_malloc_set_state || defined __stub___malloc_set_state
9030 choke me 10656 choke me
9031 #else
9032 char (*f) () = malloc_set_state;
9033 #endif
9034 #ifdef __cplusplus
9035 }
9036 #endif 10657 #endif
9037 10658
9038 int 10659 int
9039 main () 10660 main ()
9040 { 10661 {
9041 return f != malloc_set_state; 10662 return malloc_set_state ();
9042 ; 10663 ;
9043 return 0; 10664 return 0;
9044 } 10665 }
9045 _ACEOF 10666 _ACEOF
9046 rm -f conftest.$ac_objext conftest$ac_exeext 10667 rm -f conftest.$ac_objext conftest$ac_exeext
9047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10668 if { (ac_try="$ac_link"
9048 (eval $ac_link) 2>conftest.er1 10669 case "(($ac_try" in
10670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10671 *) ac_try_echo=$ac_try;;
10672 esac
10673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10674 (eval "$ac_link") 2>conftest.er1
9049 ac_status=$? 10675 ac_status=$?
9050 grep -v '^ *+' conftest.er1 >conftest.err 10676 grep -v '^ *+' conftest.er1 >conftest.err
9051 rm -f conftest.er1 10677 rm -f conftest.er1
9052 cat conftest.err >&5 10678 cat conftest.err >&5
9053 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9054 (exit $ac_status); } && 10680 (exit $ac_status); } &&
9055 { ac_try='test -z "$ac_c_werror_flag" 10681 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9056 || test ! -s conftest.err' 10682 { (case "(($ac_try" in
9057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9058 (eval $ac_try) 2>&5 10684 *) ac_try_echo=$ac_try;;
10685 esac
10686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10687 (eval "$ac_try") 2>&5
9059 ac_status=$? 10688 ac_status=$?
9060 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9061 (exit $ac_status); }; } && 10690 (exit $ac_status); }; } &&
9062 { ac_try='test -s conftest$ac_exeext' 10691 { ac_try='test -s conftest$ac_exeext'
9063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10692 { (case "(($ac_try" in
9064 (eval $ac_try) 2>&5 10693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10694 *) ac_try_echo=$ac_try;;
10695 esac
10696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10697 (eval "$ac_try") 2>&5
9065 ac_status=$? 10698 ac_status=$?
9066 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9067 (exit $ac_status); }; }; then 10700 (exit $ac_status); }; }; then
9068 ac_cv_func_malloc_set_state=yes 10701 ac_cv_func_malloc_set_state=yes
9069 else 10702 else
9070 echo "$as_me: failed program was:" >&5 10703 echo "$as_me: failed program was:" >&5
9071 sed 's/^/| /' conftest.$ac_ext >&5 10704 sed 's/^/| /' conftest.$ac_ext >&5
9072 10705
9073 ac_cv_func_malloc_set_state=no 10706 ac_cv_func_malloc_set_state=no
9074 fi 10707 fi
9075 rm -f conftest.err conftest.$ac_objext \ 10708
10709 rm -f core conftest.err conftest.$ac_objext \
9076 conftest$ac_exeext conftest.$ac_ext 10710 conftest$ac_exeext conftest.$ac_ext
9077 fi 10711 fi
9078 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_set_state" >&5 10712 { echo "$as_me:$LINENO: result: $ac_cv_func_malloc_set_state" >&5
9079 echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6 10713 echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6; }
9080 if test $ac_cv_func_malloc_set_state = yes; then 10714 if test $ac_cv_func_malloc_set_state = yes; then
9081 : 10715 :
9082 else 10716 else
9083 doug_lea_malloc=no 10717 doug_lea_malloc=no
9084 fi 10718 fi
9085 10719
9086 echo "$as_me:$LINENO: checking whether __after_morecore_hook exists" >&5 10720 { echo "$as_me:$LINENO: checking whether __after_morecore_hook exists" >&5
9087 echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6 10721 echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6; }
9088 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then 10722 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then
9089 echo $ECHO_N "(cached) $ECHO_C" >&6 10723 echo $ECHO_N "(cached) $ECHO_C" >&6
9090 else 10724 else
9091 cat >conftest.$ac_ext <<_ACEOF 10725 cat >conftest.$ac_ext <<_ACEOF
9092 /* confdefs.h. */ 10726 /* confdefs.h. */
9102 ; 10736 ;
9103 return 0; 10737 return 0;
9104 } 10738 }
9105 _ACEOF 10739 _ACEOF
9106 rm -f conftest.$ac_objext conftest$ac_exeext 10740 rm -f conftest.$ac_objext conftest$ac_exeext
9107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10741 if { (ac_try="$ac_link"
9108 (eval $ac_link) 2>conftest.er1 10742 case "(($ac_try" in
10743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10744 *) ac_try_echo=$ac_try;;
10745 esac
10746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10747 (eval "$ac_link") 2>conftest.er1
9109 ac_status=$? 10748 ac_status=$?
9110 grep -v '^ *+' conftest.er1 >conftest.err 10749 grep -v '^ *+' conftest.er1 >conftest.err
9111 rm -f conftest.er1 10750 rm -f conftest.er1
9112 cat conftest.err >&5 10751 cat conftest.err >&5
9113 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9114 (exit $ac_status); } && 10753 (exit $ac_status); } &&
9115 { ac_try='test -z "$ac_c_werror_flag" 10754 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9116 || test ! -s conftest.err' 10755 { (case "(($ac_try" in
9117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9118 (eval $ac_try) 2>&5 10757 *) ac_try_echo=$ac_try;;
10758 esac
10759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10760 (eval "$ac_try") 2>&5
9119 ac_status=$? 10761 ac_status=$?
9120 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9121 (exit $ac_status); }; } && 10763 (exit $ac_status); }; } &&
9122 { ac_try='test -s conftest$ac_exeext' 10764 { ac_try='test -s conftest$ac_exeext'
9123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10765 { (case "(($ac_try" in
9124 (eval $ac_try) 2>&5 10766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10767 *) ac_try_echo=$ac_try;;
10768 esac
10769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10770 (eval "$ac_try") 2>&5
9125 ac_status=$? 10771 ac_status=$?
9126 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9127 (exit $ac_status); }; }; then 10773 (exit $ac_status); }; }; then
9128 emacs_cv_var___after_morecore_hook=yes 10774 emacs_cv_var___after_morecore_hook=yes
9129 else 10775 else
9130 echo "$as_me: failed program was:" >&5 10776 echo "$as_me: failed program was:" >&5
9131 sed 's/^/| /' conftest.$ac_ext >&5 10777 sed 's/^/| /' conftest.$ac_ext >&5
9132 10778
9133 emacs_cv_var___after_morecore_hook=no 10779 emacs_cv_var___after_morecore_hook=no
9134 fi 10780 fi
9135 rm -f conftest.err conftest.$ac_objext \ 10781
10782 rm -f core conftest.err conftest.$ac_objext \
9136 conftest$ac_exeext conftest.$ac_ext 10783 conftest$ac_exeext conftest.$ac_ext
9137 fi 10784 fi
9138 echo "$as_me:$LINENO: result: $emacs_cv_var___after_morecore_hook" >&5 10785 { echo "$as_me:$LINENO: result: $emacs_cv_var___after_morecore_hook" >&5
9139 echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6 10786 echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6; }
9140 if test $emacs_cv_var___after_morecore_hook = no; then 10787 if test $emacs_cv_var___after_morecore_hook = no; then
9141 doug_lea_malloc=no 10788 doug_lea_malloc=no
9142 fi 10789 fi
9143 if test "${system_malloc}" = "yes"; then 10790 if test "${system_malloc}" = "yes"; then
9144 GNU_MALLOC=no 10791 GNU_MALLOC=no
9165 10812
9166 10813
9167 for ac_header in stdlib.h unistd.h 10814 for ac_header in stdlib.h unistd.h
9168 do 10815 do
9169 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 10816 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9170 if eval "test \"\${$as_ac_Header+set}\" = set"; then 10817 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9171 echo "$as_me:$LINENO: checking for $ac_header" >&5 10818 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9172 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 10819 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9173 if eval "test \"\${$as_ac_Header+set}\" = set"; then 10820 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9174 echo $ECHO_N "(cached) $ECHO_C" >&6 10821 echo $ECHO_N "(cached) $ECHO_C" >&6
9175 fi 10822 fi
9176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 10823 ac_res=`eval echo '${'$as_ac_Header'}'`
9177 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 10824 { echo "$as_me:$LINENO: result: $ac_res" >&5
10825 echo "${ECHO_T}$ac_res" >&6; }
9178 else 10826 else
9179 # Is the header compilable? 10827 # Is the header compilable?
9180 echo "$as_me:$LINENO: checking $ac_header usability" >&5 10828 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9181 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 10829 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9182 cat >conftest.$ac_ext <<_ACEOF 10830 cat >conftest.$ac_ext <<_ACEOF
9183 /* confdefs.h. */ 10831 /* confdefs.h. */
9184 _ACEOF 10832 _ACEOF
9185 cat confdefs.h >>conftest.$ac_ext 10833 cat confdefs.h >>conftest.$ac_ext
9186 cat >>conftest.$ac_ext <<_ACEOF 10834 cat >>conftest.$ac_ext <<_ACEOF
9187 /* end confdefs.h. */ 10835 /* end confdefs.h. */
9188 $ac_includes_default 10836 $ac_includes_default
9189 #include <$ac_header> 10837 #include <$ac_header>
9190 _ACEOF 10838 _ACEOF
9191 rm -f conftest.$ac_objext 10839 rm -f conftest.$ac_objext
9192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 10840 if { (ac_try="$ac_compile"
9193 (eval $ac_compile) 2>conftest.er1 10841 case "(($ac_try" in
10842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10843 *) ac_try_echo=$ac_try;;
10844 esac
10845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10846 (eval "$ac_compile") 2>conftest.er1
9194 ac_status=$? 10847 ac_status=$?
9195 grep -v '^ *+' conftest.er1 >conftest.err 10848 grep -v '^ *+' conftest.er1 >conftest.err
9196 rm -f conftest.er1 10849 rm -f conftest.er1
9197 cat conftest.err >&5 10850 cat conftest.err >&5
9198 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9199 (exit $ac_status); } && 10852 (exit $ac_status); } &&
9200 { ac_try='test -z "$ac_c_werror_flag" 10853 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9201 || test ! -s conftest.err' 10854 { (case "(($ac_try" in
9202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9203 (eval $ac_try) 2>&5 10856 *) ac_try_echo=$ac_try;;
10857 esac
10858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10859 (eval "$ac_try") 2>&5
9204 ac_status=$? 10860 ac_status=$?
9205 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9206 (exit $ac_status); }; } && 10862 (exit $ac_status); }; } &&
9207 { ac_try='test -s conftest.$ac_objext' 10863 { ac_try='test -s conftest.$ac_objext'
9208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10864 { (case "(($ac_try" in
9209 (eval $ac_try) 2>&5 10865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10866 *) ac_try_echo=$ac_try;;
10867 esac
10868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10869 (eval "$ac_try") 2>&5
9210 ac_status=$? 10870 ac_status=$?
9211 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9212 (exit $ac_status); }; }; then 10872 (exit $ac_status); }; }; then
9213 ac_header_compiler=yes 10873 ac_header_compiler=yes
9214 else 10874 else
9215 echo "$as_me: failed program was:" >&5 10875 echo "$as_me: failed program was:" >&5
9216 sed 's/^/| /' conftest.$ac_ext >&5 10876 sed 's/^/| /' conftest.$ac_ext >&5
9217 10877
9218 ac_header_compiler=no 10878 ac_header_compiler=no
9219 fi 10879 fi
9220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10880
9221 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9222 echo "${ECHO_T}$ac_header_compiler" >&6 10882 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10883 echo "${ECHO_T}$ac_header_compiler" >&6; }
9223 10884
9224 # Is the header present? 10885 # Is the header present?
9225 echo "$as_me:$LINENO: checking $ac_header presence" >&5 10886 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9226 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 10887 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9227 cat >conftest.$ac_ext <<_ACEOF 10888 cat >conftest.$ac_ext <<_ACEOF
9228 /* confdefs.h. */ 10889 /* confdefs.h. */
9229 _ACEOF 10890 _ACEOF
9230 cat confdefs.h >>conftest.$ac_ext 10891 cat confdefs.h >>conftest.$ac_ext
9231 cat >>conftest.$ac_ext <<_ACEOF 10892 cat >>conftest.$ac_ext <<_ACEOF
9232 /* end confdefs.h. */ 10893 /* end confdefs.h. */
9233 #include <$ac_header> 10894 #include <$ac_header>
9234 _ACEOF 10895 _ACEOF
9235 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 10896 if { (ac_try="$ac_cpp conftest.$ac_ext"
9236 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 10897 case "(($ac_try" in
10898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10899 *) ac_try_echo=$ac_try;;
10900 esac
10901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10902 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9237 ac_status=$? 10903 ac_status=$?
9238 grep -v '^ *+' conftest.er1 >conftest.err 10904 grep -v '^ *+' conftest.er1 >conftest.err
9239 rm -f conftest.er1 10905 rm -f conftest.er1
9240 cat conftest.err >&5 10906 cat conftest.err >&5
9241 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9255 echo "$as_me: failed program was:" >&5 10921 echo "$as_me: failed program was:" >&5
9256 sed 's/^/| /' conftest.$ac_ext >&5 10922 sed 's/^/| /' conftest.$ac_ext >&5
9257 10923
9258 ac_header_preproc=no 10924 ac_header_preproc=no
9259 fi 10925 fi
10926
9260 rm -f conftest.err conftest.$ac_ext 10927 rm -f conftest.err conftest.$ac_ext
9261 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10928 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9262 echo "${ECHO_T}$ac_header_preproc" >&6 10929 echo "${ECHO_T}$ac_header_preproc" >&6; }
9263 10930
9264 # So? What about this header? 10931 # So? What about this header?
9265 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 10932 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9266 yes:no: ) 10933 yes:no: )
9267 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 10934 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9281 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 10948 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9282 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 10949 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9283 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 10950 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9284 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 10951 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9285 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 10952 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9286 ( 10953
9287 cat <<\_ASBOX
9288 ## ------------------------------------------ ##
9289 ## Report this to the AC_PACKAGE_NAME lists. ##
9290 ## ------------------------------------------ ##
9291 _ASBOX
9292 ) |
9293 sed "s/^/$as_me: WARNING: /" >&2
9294 ;; 10954 ;;
9295 esac 10955 esac
9296 echo "$as_me:$LINENO: checking for $ac_header" >&5 10956 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9297 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 10957 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9298 if eval "test \"\${$as_ac_Header+set}\" = set"; then 10958 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9299 echo $ECHO_N "(cached) $ECHO_C" >&6 10959 echo $ECHO_N "(cached) $ECHO_C" >&6
9300 else 10960 else
9301 eval "$as_ac_Header=\$ac_header_preproc" 10961 eval "$as_ac_Header=\$ac_header_preproc"
9302 fi 10962 fi
9303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 10963 ac_res=`eval echo '${'$as_ac_Header'}'`
9304 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 10964 { echo "$as_me:$LINENO: result: $ac_res" >&5
10965 echo "${ECHO_T}$ac_res" >&6; }
9305 10966
9306 fi 10967 fi
9307 if test `eval echo '${'$as_ac_Header'}'` = yes; then 10968 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9308 cat >>confdefs.h <<_ACEOF 10969 cat >>confdefs.h <<_ACEOF
9309 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 10970 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9315 10976
9316 10977
9317 for ac_func in getpagesize 10978 for ac_func in getpagesize
9318 do 10979 do
9319 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 10980 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9320 echo "$as_me:$LINENO: checking for $ac_func" >&5 10981 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 10982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9322 if eval "test \"\${$as_ac_var+set}\" = set"; then 10983 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9323 echo $ECHO_N "(cached) $ECHO_C" >&6 10984 echo $ECHO_N "(cached) $ECHO_C" >&6
9324 else 10985 else
9325 cat >conftest.$ac_ext <<_ACEOF 10986 cat >conftest.$ac_ext <<_ACEOF
9326 /* confdefs.h. */ 10987 /* confdefs.h. */
9327 _ACEOF 10988 _ACEOF
9343 # include <assert.h> 11004 # include <assert.h>
9344 #endif 11005 #endif
9345 11006
9346 #undef $ac_func 11007 #undef $ac_func
9347 11008
9348 /* Override any gcc2 internal prototype to avoid an error. */ 11009 /* Override any GCC internal prototype to avoid an error.
11010 Use char because int might match the return type of a GCC
11011 builtin and then its argument prototype would still apply. */
9349 #ifdef __cplusplus 11012 #ifdef __cplusplus
9350 extern "C" 11013 extern "C"
9351 {
9352 #endif 11014 #endif
9353 /* We use char because int might match the return type of a gcc2
9354 builtin and then its argument prototype would still apply. */
9355 char $ac_func (); 11015 char $ac_func ();
9356 /* The GNU C library defines this for functions which it implements 11016 /* The GNU C library defines this for functions which it implements
9357 to always fail with ENOSYS. Some functions are actually named 11017 to always fail with ENOSYS. Some functions are actually named
9358 something starting with __ and the normal name is an alias. */ 11018 something starting with __ and the normal name is an alias. */
9359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 11019 #if defined __stub_$ac_func || defined __stub___$ac_func
9360 choke me 11020 choke me
9361 #else
9362 char (*f) () = $ac_func;
9363 #endif
9364 #ifdef __cplusplus
9365 }
9366 #endif 11021 #endif
9367 11022
9368 int 11023 int
9369 main () 11024 main ()
9370 { 11025 {
9371 return f != $ac_func; 11026 return $ac_func ();
9372 ; 11027 ;
9373 return 0; 11028 return 0;
9374 } 11029 }
9375 _ACEOF 11030 _ACEOF
9376 rm -f conftest.$ac_objext conftest$ac_exeext 11031 rm -f conftest.$ac_objext conftest$ac_exeext
9377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11032 if { (ac_try="$ac_link"
9378 (eval $ac_link) 2>conftest.er1 11033 case "(($ac_try" in
11034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11035 *) ac_try_echo=$ac_try;;
11036 esac
11037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11038 (eval "$ac_link") 2>conftest.er1
9379 ac_status=$? 11039 ac_status=$?
9380 grep -v '^ *+' conftest.er1 >conftest.err 11040 grep -v '^ *+' conftest.er1 >conftest.err
9381 rm -f conftest.er1 11041 rm -f conftest.er1
9382 cat conftest.err >&5 11042 cat conftest.err >&5
9383 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9384 (exit $ac_status); } && 11044 (exit $ac_status); } &&
9385 { ac_try='test -z "$ac_c_werror_flag" 11045 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9386 || test ! -s conftest.err' 11046 { (case "(($ac_try" in
9387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9388 (eval $ac_try) 2>&5 11048 *) ac_try_echo=$ac_try;;
11049 esac
11050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11051 (eval "$ac_try") 2>&5
9389 ac_status=$? 11052 ac_status=$?
9390 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9391 (exit $ac_status); }; } && 11054 (exit $ac_status); }; } &&
9392 { ac_try='test -s conftest$ac_exeext' 11055 { ac_try='test -s conftest$ac_exeext'
9393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11056 { (case "(($ac_try" in
9394 (eval $ac_try) 2>&5 11057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11058 *) ac_try_echo=$ac_try;;
11059 esac
11060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11061 (eval "$ac_try") 2>&5
9395 ac_status=$? 11062 ac_status=$?
9396 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9397 (exit $ac_status); }; }; then 11064 (exit $ac_status); }; }; then
9398 eval "$as_ac_var=yes" 11065 eval "$as_ac_var=yes"
9399 else 11066 else
9400 echo "$as_me: failed program was:" >&5 11067 echo "$as_me: failed program was:" >&5
9401 sed 's/^/| /' conftest.$ac_ext >&5 11068 sed 's/^/| /' conftest.$ac_ext >&5
9402 11069
9403 eval "$as_ac_var=no" 11070 eval "$as_ac_var=no"
9404 fi 11071 fi
9405 rm -f conftest.err conftest.$ac_objext \ 11072
11073 rm -f core conftest.err conftest.$ac_objext \
9406 conftest$ac_exeext conftest.$ac_ext 11074 conftest$ac_exeext conftest.$ac_ext
9407 fi 11075 fi
9408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 11076 ac_res=`eval echo '${'$as_ac_var'}'`
9409 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 11077 { echo "$as_me:$LINENO: result: $ac_res" >&5
11078 echo "${ECHO_T}$ac_res" >&6; }
9410 if test `eval echo '${'$as_ac_var'}'` = yes; then 11079 if test `eval echo '${'$as_ac_var'}'` = yes; then
9411 cat >>confdefs.h <<_ACEOF 11080 cat >>confdefs.h <<_ACEOF
9412 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 11081 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9413 _ACEOF 11082 _ACEOF
9414 11083
9415 fi 11084 fi
9416 done 11085 done
9417 11086
9418 echo "$as_me:$LINENO: checking for working mmap" >&5 11087 { echo "$as_me:$LINENO: checking for working mmap" >&5
9419 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6 11088 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
9420 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then 11089 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
9421 echo $ECHO_N "(cached) $ECHO_C" >&6 11090 echo $ECHO_N "(cached) $ECHO_C" >&6
9422 else 11091 else
9423 if test "$cross_compiling" = yes; then 11092 if test "$cross_compiling" = yes; then
9424 ac_cv_func_mmap_fixed_mapped=no 11093 ac_cv_func_mmap_fixed_mapped=no
9509 pagesize = getpagesize (); 11178 pagesize = getpagesize ();
9510 11179
9511 /* First, make a file with some known garbage in it. */ 11180 /* First, make a file with some known garbage in it. */
9512 data = (char *) malloc (pagesize); 11181 data = (char *) malloc (pagesize);
9513 if (!data) 11182 if (!data)
9514 exit (1); 11183 return 1;
9515 for (i = 0; i < pagesize; ++i) 11184 for (i = 0; i < pagesize; ++i)
9516 *(data + i) = rand (); 11185 *(data + i) = rand ();
9517 umask (0); 11186 umask (0);
9518 fd = creat ("conftest.mmap", 0600); 11187 fd = creat ("conftest.mmap", 0600);
9519 if (fd < 0) 11188 if (fd < 0)
9520 exit (1); 11189 return 1;
9521 if (write (fd, data, pagesize) != pagesize) 11190 if (write (fd, data, pagesize) != pagesize)
9522 exit (1); 11191 return 1;
9523 close (fd); 11192 close (fd);
9524 11193
9525 /* Next, try to mmap the file at a fixed address which already has 11194 /* Next, try to mmap the file at a fixed address which already has
9526 something else allocated at it. If we can, also make sure that 11195 something else allocated at it. If we can, also make sure that
9527 we see the same garbage. */ 11196 we see the same garbage. */
9528 fd = open ("conftest.mmap", O_RDWR); 11197 fd = open ("conftest.mmap", O_RDWR);
9529 if (fd < 0) 11198 if (fd < 0)
9530 exit (1); 11199 return 1;
9531 data2 = (char *) malloc (2 * pagesize); 11200 data2 = (char *) malloc (2 * pagesize);
9532 if (!data2) 11201 if (!data2)
9533 exit (1); 11202 return 1;
9534 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1); 11203 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
9535 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, 11204 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
9536 MAP_PRIVATE | MAP_FIXED, fd, 0L)) 11205 MAP_PRIVATE | MAP_FIXED, fd, 0L))
9537 exit (1); 11206 return 1;
9538 for (i = 0; i < pagesize; ++i) 11207 for (i = 0; i < pagesize; ++i)
9539 if (*(data + i) != *(data2 + i)) 11208 if (*(data + i) != *(data2 + i))
9540 exit (1); 11209 return 1;
9541 11210
9542 /* Finally, make sure that changes to the mapped area do not 11211 /* Finally, make sure that changes to the mapped area do not
9543 percolate back to the file as seen by read(). (This is a bug on 11212 percolate back to the file as seen by read(). (This is a bug on
9544 some variants of i386 svr4.0.) */ 11213 some variants of i386 svr4.0.) */
9545 for (i = 0; i < pagesize; ++i) 11214 for (i = 0; i < pagesize; ++i)
9546 *(data2 + i) = *(data2 + i) + 1; 11215 *(data2 + i) = *(data2 + i) + 1;
9547 data3 = (char *) malloc (pagesize); 11216 data3 = (char *) malloc (pagesize);
9548 if (!data3) 11217 if (!data3)
9549 exit (1); 11218 return 1;
9550 if (read (fd, data3, pagesize) != pagesize) 11219 if (read (fd, data3, pagesize) != pagesize)
9551 exit (1); 11220 return 1;
9552 for (i = 0; i < pagesize; ++i) 11221 for (i = 0; i < pagesize; ++i)
9553 if (*(data + i) != *(data3 + i)) 11222 if (*(data + i) != *(data3 + i))
9554 exit (1); 11223 return 1;
9555 close (fd); 11224 close (fd);
9556 exit (0); 11225 return 0;
9557 } 11226 }
9558 _ACEOF 11227 _ACEOF
9559 rm -f conftest$ac_exeext 11228 rm -f conftest$ac_exeext
9560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11229 if { (ac_try="$ac_link"
9561 (eval $ac_link) 2>&5 11230 case "(($ac_try" in
11231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11232 *) ac_try_echo=$ac_try;;
11233 esac
11234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11235 (eval "$ac_link") 2>&5
9562 ac_status=$? 11236 ac_status=$?
9563 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9564 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 11238 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11239 { (case "(($ac_try" in
9566 (eval $ac_try) 2>&5 11240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11241 *) ac_try_echo=$ac_try;;
11242 esac
11243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11244 (eval "$ac_try") 2>&5
9567 ac_status=$? 11245 ac_status=$?
9568 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9569 (exit $ac_status); }; }; then 11247 (exit $ac_status); }; }; then
9570 ac_cv_func_mmap_fixed_mapped=yes 11248 ac_cv_func_mmap_fixed_mapped=yes
9571 else 11249 else
9574 sed 's/^/| /' conftest.$ac_ext >&5 11252 sed 's/^/| /' conftest.$ac_ext >&5
9575 11253
9576 ( exit $ac_status ) 11254 ( exit $ac_status )
9577 ac_cv_func_mmap_fixed_mapped=no 11255 ac_cv_func_mmap_fixed_mapped=no
9578 fi 11256 fi
9579 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11257 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9580 fi 11258 fi
9581 fi 11259
9582 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5 11260
9583 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6 11261 fi
11262 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
11263 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
9584 if test $ac_cv_func_mmap_fixed_mapped = yes; then 11264 if test $ac_cv_func_mmap_fixed_mapped = yes; then
9585 11265
9586 cat >>confdefs.h <<\_ACEOF 11266 cat >>confdefs.h <<\_ACEOF
9587 #define HAVE_MMAP 1 11267 #define HAVE_MMAP 1
9588 _ACEOF 11268 _ACEOF
9595 fi 11275 fi
9596 11276
9597 LIBS="$libsrc_libs $LIBS" 11277 LIBS="$libsrc_libs $LIBS"
9598 11278
9599 11279
9600 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5 11280 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
9601 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6 11281 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
9602 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then 11282 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
9603 echo $ECHO_N "(cached) $ECHO_C" >&6 11283 echo $ECHO_N "(cached) $ECHO_C" >&6
9604 else 11284 else
9605 ac_check_lib_save_LIBS=$LIBS 11285 ac_check_lib_save_LIBS=$LIBS
9606 LIBS="-ldnet $LIBS" 11286 LIBS="-ldnet $LIBS"
9609 _ACEOF 11289 _ACEOF
9610 cat confdefs.h >>conftest.$ac_ext 11290 cat confdefs.h >>conftest.$ac_ext
9611 cat >>conftest.$ac_ext <<_ACEOF 11291 cat >>conftest.$ac_ext <<_ACEOF
9612 /* end confdefs.h. */ 11292 /* end confdefs.h. */
9613 11293
9614 /* Override any gcc2 internal prototype to avoid an error. */ 11294 /* Override any GCC internal prototype to avoid an error.
11295 Use char because int might match the return type of a GCC
11296 builtin and then its argument prototype would still apply. */
9615 #ifdef __cplusplus 11297 #ifdef __cplusplus
9616 extern "C" 11298 extern "C"
9617 #endif 11299 #endif
9618 /* We use char because int might match the return type of a gcc2
9619 builtin and then its argument prototype would still apply. */
9620 char dnet_ntoa (); 11300 char dnet_ntoa ();
9621 int 11301 int
9622 main () 11302 main ()
9623 { 11303 {
9624 dnet_ntoa (); 11304 return dnet_ntoa ();
9625 ; 11305 ;
9626 return 0; 11306 return 0;
9627 } 11307 }
9628 _ACEOF 11308 _ACEOF
9629 rm -f conftest.$ac_objext conftest$ac_exeext 11309 rm -f conftest.$ac_objext conftest$ac_exeext
9630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11310 if { (ac_try="$ac_link"
9631 (eval $ac_link) 2>conftest.er1 11311 case "(($ac_try" in
11312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11313 *) ac_try_echo=$ac_try;;
11314 esac
11315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11316 (eval "$ac_link") 2>conftest.er1
9632 ac_status=$? 11317 ac_status=$?
9633 grep -v '^ *+' conftest.er1 >conftest.err 11318 grep -v '^ *+' conftest.er1 >conftest.err
9634 rm -f conftest.er1 11319 rm -f conftest.er1
9635 cat conftest.err >&5 11320 cat conftest.err >&5
9636 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9637 (exit $ac_status); } && 11322 (exit $ac_status); } &&
9638 { ac_try='test -z "$ac_c_werror_flag" 11323 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9639 || test ! -s conftest.err' 11324 { (case "(($ac_try" in
9640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9641 (eval $ac_try) 2>&5 11326 *) ac_try_echo=$ac_try;;
11327 esac
11328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11329 (eval "$ac_try") 2>&5
9642 ac_status=$? 11330 ac_status=$?
9643 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9644 (exit $ac_status); }; } && 11332 (exit $ac_status); }; } &&
9645 { ac_try='test -s conftest$ac_exeext' 11333 { ac_try='test -s conftest$ac_exeext'
9646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11334 { (case "(($ac_try" in
9647 (eval $ac_try) 2>&5 11335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11336 *) ac_try_echo=$ac_try;;
11337 esac
11338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11339 (eval "$ac_try") 2>&5
9648 ac_status=$? 11340 ac_status=$?
9649 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9650 (exit $ac_status); }; }; then 11342 (exit $ac_status); }; }; then
9651 ac_cv_lib_dnet_dnet_ntoa=yes 11343 ac_cv_lib_dnet_dnet_ntoa=yes
9652 else 11344 else
9653 echo "$as_me: failed program was:" >&5 11345 echo "$as_me: failed program was:" >&5
9654 sed 's/^/| /' conftest.$ac_ext >&5 11346 sed 's/^/| /' conftest.$ac_ext >&5
9655 11347
9656 ac_cv_lib_dnet_dnet_ntoa=no 11348 ac_cv_lib_dnet_dnet_ntoa=no
9657 fi 11349 fi
9658 rm -f conftest.err conftest.$ac_objext \ 11350
11351 rm -f core conftest.err conftest.$ac_objext \
9659 conftest$ac_exeext conftest.$ac_ext 11352 conftest$ac_exeext conftest.$ac_ext
9660 LIBS=$ac_check_lib_save_LIBS 11353 LIBS=$ac_check_lib_save_LIBS
9661 fi 11354 fi
9662 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 11355 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9663 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6 11356 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9664 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then 11357 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
9665 cat >>confdefs.h <<_ACEOF 11358 cat >>confdefs.h <<_ACEOF
9666 #define HAVE_LIBDNET 1 11359 #define HAVE_LIBDNET 1
9667 _ACEOF 11360 _ACEOF
9668 11361
9669 LIBS="-ldnet $LIBS" 11362 LIBS="-ldnet $LIBS"
9670 11363
9671 fi 11364 fi
9672 11365
9673 11366
9674 echo "$as_me:$LINENO: checking for main in -lXbsd" >&5 11367 { echo "$as_me:$LINENO: checking for main in -lXbsd" >&5
9675 echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6 11368 echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6; }
9676 if test "${ac_cv_lib_Xbsd_main+set}" = set; then 11369 if test "${ac_cv_lib_Xbsd_main+set}" = set; then
9677 echo $ECHO_N "(cached) $ECHO_C" >&6 11370 echo $ECHO_N "(cached) $ECHO_C" >&6
9678 else 11371 else
9679 ac_check_lib_save_LIBS=$LIBS 11372 ac_check_lib_save_LIBS=$LIBS
9680 LIBS="-lXbsd $LIBS" 11373 LIBS="-lXbsd $LIBS"
9687 11380
9688 11381
9689 int 11382 int
9690 main () 11383 main ()
9691 { 11384 {
9692 main (); 11385 return main ();
9693 ; 11386 ;
9694 return 0; 11387 return 0;
9695 } 11388 }
9696 _ACEOF 11389 _ACEOF
9697 rm -f conftest.$ac_objext conftest$ac_exeext 11390 rm -f conftest.$ac_objext conftest$ac_exeext
9698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11391 if { (ac_try="$ac_link"
9699 (eval $ac_link) 2>conftest.er1 11392 case "(($ac_try" in
11393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11394 *) ac_try_echo=$ac_try;;
11395 esac
11396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11397 (eval "$ac_link") 2>conftest.er1
9700 ac_status=$? 11398 ac_status=$?
9701 grep -v '^ *+' conftest.er1 >conftest.err 11399 grep -v '^ *+' conftest.er1 >conftest.err
9702 rm -f conftest.er1 11400 rm -f conftest.er1
9703 cat conftest.err >&5 11401 cat conftest.err >&5
9704 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9705 (exit $ac_status); } && 11403 (exit $ac_status); } &&
9706 { ac_try='test -z "$ac_c_werror_flag" 11404 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9707 || test ! -s conftest.err' 11405 { (case "(($ac_try" in
9708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9709 (eval $ac_try) 2>&5 11407 *) ac_try_echo=$ac_try;;
11408 esac
11409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11410 (eval "$ac_try") 2>&5
9710 ac_status=$? 11411 ac_status=$?
9711 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9712 (exit $ac_status); }; } && 11413 (exit $ac_status); }; } &&
9713 { ac_try='test -s conftest$ac_exeext' 11414 { ac_try='test -s conftest$ac_exeext'
9714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11415 { (case "(($ac_try" in
9715 (eval $ac_try) 2>&5 11416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11417 *) ac_try_echo=$ac_try;;
11418 esac
11419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11420 (eval "$ac_try") 2>&5
9716 ac_status=$? 11421 ac_status=$?
9717 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9718 (exit $ac_status); }; }; then 11423 (exit $ac_status); }; }; then
9719 ac_cv_lib_Xbsd_main=yes 11424 ac_cv_lib_Xbsd_main=yes
9720 else 11425 else
9721 echo "$as_me: failed program was:" >&5 11426 echo "$as_me: failed program was:" >&5
9722 sed 's/^/| /' conftest.$ac_ext >&5 11427 sed 's/^/| /' conftest.$ac_ext >&5
9723 11428
9724 ac_cv_lib_Xbsd_main=no 11429 ac_cv_lib_Xbsd_main=no
9725 fi 11430 fi
9726 rm -f conftest.err conftest.$ac_objext \ 11431
11432 rm -f core conftest.err conftest.$ac_objext \
9727 conftest$ac_exeext conftest.$ac_ext 11433 conftest$ac_exeext conftest.$ac_ext
9728 LIBS=$ac_check_lib_save_LIBS 11434 LIBS=$ac_check_lib_save_LIBS
9729 fi 11435 fi
9730 echo "$as_me:$LINENO: result: $ac_cv_lib_Xbsd_main" >&5 11436 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xbsd_main" >&5
9731 echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6 11437 echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6; }
9732 if test $ac_cv_lib_Xbsd_main = yes; then 11438 if test $ac_cv_lib_Xbsd_main = yes; then
9733 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" 11439 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd"
9734 fi 11440 fi
9735 11441
9736 11442
9737 11443
9738 echo "$as_me:$LINENO: checking for cma_open in -lpthreads" >&5 11444 { echo "$as_me:$LINENO: checking for cma_open in -lpthreads" >&5
9739 echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6 11445 echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6; }
9740 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then 11446 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then
9741 echo $ECHO_N "(cached) $ECHO_C" >&6 11447 echo $ECHO_N "(cached) $ECHO_C" >&6
9742 else 11448 else
9743 ac_check_lib_save_LIBS=$LIBS 11449 ac_check_lib_save_LIBS=$LIBS
9744 LIBS="-lpthreads $LIBS" 11450 LIBS="-lpthreads $LIBS"
9747 _ACEOF 11453 _ACEOF
9748 cat confdefs.h >>conftest.$ac_ext 11454 cat confdefs.h >>conftest.$ac_ext
9749 cat >>conftest.$ac_ext <<_ACEOF 11455 cat >>conftest.$ac_ext <<_ACEOF
9750 /* end confdefs.h. */ 11456 /* end confdefs.h. */
9751 11457
9752 /* Override any gcc2 internal prototype to avoid an error. */ 11458 /* Override any GCC internal prototype to avoid an error.
11459 Use char because int might match the return type of a GCC
11460 builtin and then its argument prototype would still apply. */
9753 #ifdef __cplusplus 11461 #ifdef __cplusplus
9754 extern "C" 11462 extern "C"
9755 #endif 11463 #endif
9756 /* We use char because int might match the return type of a gcc2
9757 builtin and then its argument prototype would still apply. */
9758 char cma_open (); 11464 char cma_open ();
9759 int 11465 int
9760 main () 11466 main ()
9761 { 11467 {
9762 cma_open (); 11468 return cma_open ();
9763 ; 11469 ;
9764 return 0; 11470 return 0;
9765 } 11471 }
9766 _ACEOF 11472 _ACEOF
9767 rm -f conftest.$ac_objext conftest$ac_exeext 11473 rm -f conftest.$ac_objext conftest$ac_exeext
9768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11474 if { (ac_try="$ac_link"
9769 (eval $ac_link) 2>conftest.er1 11475 case "(($ac_try" in
11476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11477 *) ac_try_echo=$ac_try;;
11478 esac
11479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11480 (eval "$ac_link") 2>conftest.er1
9770 ac_status=$? 11481 ac_status=$?
9771 grep -v '^ *+' conftest.er1 >conftest.err 11482 grep -v '^ *+' conftest.er1 >conftest.err
9772 rm -f conftest.er1 11483 rm -f conftest.er1
9773 cat conftest.err >&5 11484 cat conftest.err >&5
9774 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9775 (exit $ac_status); } && 11486 (exit $ac_status); } &&
9776 { ac_try='test -z "$ac_c_werror_flag" 11487 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9777 || test ! -s conftest.err' 11488 { (case "(($ac_try" in
9778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9779 (eval $ac_try) 2>&5 11490 *) ac_try_echo=$ac_try;;
11491 esac
11492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11493 (eval "$ac_try") 2>&5
9780 ac_status=$? 11494 ac_status=$?
9781 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9782 (exit $ac_status); }; } && 11496 (exit $ac_status); }; } &&
9783 { ac_try='test -s conftest$ac_exeext' 11497 { ac_try='test -s conftest$ac_exeext'
9784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11498 { (case "(($ac_try" in
9785 (eval $ac_try) 2>&5 11499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11500 *) ac_try_echo=$ac_try;;
11501 esac
11502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11503 (eval "$ac_try") 2>&5
9786 ac_status=$? 11504 ac_status=$?
9787 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9788 (exit $ac_status); }; }; then 11506 (exit $ac_status); }; }; then
9789 ac_cv_lib_pthreads_cma_open=yes 11507 ac_cv_lib_pthreads_cma_open=yes
9790 else 11508 else
9791 echo "$as_me: failed program was:" >&5 11509 echo "$as_me: failed program was:" >&5
9792 sed 's/^/| /' conftest.$ac_ext >&5 11510 sed 's/^/| /' conftest.$ac_ext >&5
9793 11511
9794 ac_cv_lib_pthreads_cma_open=no 11512 ac_cv_lib_pthreads_cma_open=no
9795 fi 11513 fi
9796 rm -f conftest.err conftest.$ac_objext \ 11514
11515 rm -f core conftest.err conftest.$ac_objext \
9797 conftest$ac_exeext conftest.$ac_ext 11516 conftest$ac_exeext conftest.$ac_ext
9798 LIBS=$ac_check_lib_save_LIBS 11517 LIBS=$ac_check_lib_save_LIBS
9799 fi 11518 fi
9800 echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_cma_open" >&5 11519 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_cma_open" >&5
9801 echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6 11520 echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6; }
9802 if test $ac_cv_lib_pthreads_cma_open = yes; then 11521 if test $ac_cv_lib_pthreads_cma_open = yes; then
9803 cat >>confdefs.h <<_ACEOF 11522 cat >>confdefs.h <<_ACEOF
9804 #define HAVE_LIBPTHREADS 1 11523 #define HAVE_LIBPTHREADS 1
9805 _ACEOF 11524 _ACEOF
9806 11525
9807 LIBS="-lpthreads $LIBS" 11526 LIBS="-lpthreads $LIBS"
9808 11527
9809 fi 11528 fi
9810 11529
9811 11530
9812 echo "$as_me:$LINENO: checking for XFree86 in /usr/X386" >&5 11531 { echo "$as_me:$LINENO: checking for XFree86 in /usr/X386" >&5
9813 echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6 11532 echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6; }
9814 if test -d /usr/X386/include; then 11533 if test -d /usr/X386/include; then
9815 HAVE_XFREE386=yes 11534 HAVE_XFREE386=yes
9816 : ${C_SWITCH_X_SITE="-I/usr/X386/include"} 11535 : ${C_SWITCH_X_SITE="-I/usr/X386/include"}
9817 else 11536 else
9818 HAVE_XFREE386=no 11537 HAVE_XFREE386=no
9819 fi 11538 fi
9820 echo "$as_me:$LINENO: result: $HAVE_XFREE386" >&5 11539 { echo "$as_me:$LINENO: result: $HAVE_XFREE386" >&5
9821 echo "${ECHO_T}$HAVE_XFREE386" >&6 11540 echo "${ECHO_T}$HAVE_XFREE386" >&6; }
9822 11541
9823 11542
9824 case ${host_os} in 11543 case ${host_os} in
9825 aix*) 11544 aix*)
9826 echo "$as_me:$LINENO: checking for -bbigtoc option" >&5 11545 { echo "$as_me:$LINENO: checking for -bbigtoc option" >&5
9827 echo $ECHO_N "checking for -bbigtoc option... $ECHO_C" >&6 11546 echo $ECHO_N "checking for -bbigtoc option... $ECHO_C" >&6; }
9828 if test "${gdb_cv_bigtoc+set}" = set; then 11547 if test "${gdb_cv_bigtoc+set}" = set; then
9829 echo $ECHO_N "(cached) $ECHO_C" >&6 11548 echo $ECHO_N "(cached) $ECHO_C" >&6
9830 else 11549 else
9831 11550
9832 case $GCC in 11551 case $GCC in
9849 ; 11568 ;
9850 return 0; 11569 return 0;
9851 } 11570 }
9852 _ACEOF 11571 _ACEOF
9853 rm -f conftest.$ac_objext conftest$ac_exeext 11572 rm -f conftest.$ac_objext conftest$ac_exeext
9854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11573 if { (ac_try="$ac_link"
9855 (eval $ac_link) 2>conftest.er1 11574 case "(($ac_try" in
11575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11576 *) ac_try_echo=$ac_try;;
11577 esac
11578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11579 (eval "$ac_link") 2>conftest.er1
9856 ac_status=$? 11580 ac_status=$?
9857 grep -v '^ *+' conftest.er1 >conftest.err 11581 grep -v '^ *+' conftest.er1 >conftest.err
9858 rm -f conftest.er1 11582 rm -f conftest.er1
9859 cat conftest.err >&5 11583 cat conftest.err >&5
9860 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9861 (exit $ac_status); } && 11585 (exit $ac_status); } &&
9862 { ac_try='test -z "$ac_c_werror_flag" 11586 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9863 || test ! -s conftest.err' 11587 { (case "(($ac_try" in
9864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9865 (eval $ac_try) 2>&5 11589 *) ac_try_echo=$ac_try;;
11590 esac
11591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11592 (eval "$ac_try") 2>&5
9866 ac_status=$? 11593 ac_status=$?
9867 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9868 (exit $ac_status); }; } && 11595 (exit $ac_status); }; } &&
9869 { ac_try='test -s conftest$ac_exeext' 11596 { ac_try='test -s conftest$ac_exeext'
9870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11597 { (case "(($ac_try" in
9871 (eval $ac_try) 2>&5 11598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11599 *) ac_try_echo=$ac_try;;
11600 esac
11601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11602 (eval "$ac_try") 2>&5
9872 ac_status=$? 11603 ac_status=$?
9873 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9874 (exit $ac_status); }; }; then 11605 (exit $ac_status); }; }; then
9875 : 11606 :
9876 else 11607 else
9877 echo "$as_me: failed program was:" >&5 11608 echo "$as_me: failed program was:" >&5
9878 sed 's/^/| /' conftest.$ac_ext >&5 11609 sed 's/^/| /' conftest.$ac_ext >&5
9879 11610
9880 gdb_cv_bigtoc= 11611 gdb_cv_bigtoc=
9881 fi 11612 fi
9882 rm -f conftest.err conftest.$ac_objext \ 11613
11614 rm -f core conftest.err conftest.$ac_objext \
9883 conftest$ac_exeext conftest.$ac_ext 11615 conftest$ac_exeext conftest.$ac_ext
9884 11616
9885 fi 11617 fi
9886 echo "$as_me:$LINENO: result: $gdb_cv_bigtoc" >&5 11618 { echo "$as_me:$LINENO: result: $gdb_cv_bigtoc" >&5
9887 echo "${ECHO_T}$gdb_cv_bigtoc" >&6 11619 echo "${ECHO_T}$gdb_cv_bigtoc" >&6; }
9888 ;; 11620 ;;
9889 esac 11621 esac
9890 11622
9891 # Change CFLAGS and CPPFLAGS temporarily so that C_SWITCH_X_SITE gets 11623 # Change CFLAGS and CPPFLAGS temporarily so that C_SWITCH_X_SITE gets
9892 # used for the tests that follow. We set them back to REAL_CFLAGS and 11624 # used for the tests that follow. We set them back to REAL_CFLAGS and
9909 LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH 11641 LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH
9910 export LD_RUN_PATH 11642 export LD_RUN_PATH
9911 fi 11643 fi
9912 11644
9913 if test "${opsys}" = "gnu-linux"; then 11645 if test "${opsys}" = "gnu-linux"; then
9914 echo "$as_me:$LINENO: checking whether X on GNU/Linux needs -b to link" >&5 11646 { echo "$as_me:$LINENO: checking whether X on GNU/Linux needs -b to link" >&5
9915 echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6 11647 echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6; }
9916 cat >conftest.$ac_ext <<_ACEOF 11648 cat >conftest.$ac_ext <<_ACEOF
9917 /* confdefs.h. */ 11649 /* confdefs.h. */
9918 _ACEOF 11650 _ACEOF
9919 cat confdefs.h >>conftest.$ac_ext 11651 cat confdefs.h >>conftest.$ac_ext
9920 cat >>conftest.$ac_ext <<_ACEOF 11652 cat >>conftest.$ac_ext <<_ACEOF
9927 ; 11659 ;
9928 return 0; 11660 return 0;
9929 } 11661 }
9930 _ACEOF 11662 _ACEOF
9931 rm -f conftest.$ac_objext conftest$ac_exeext 11663 rm -f conftest.$ac_objext conftest$ac_exeext
9932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11664 if { (ac_try="$ac_link"
9933 (eval $ac_link) 2>conftest.er1 11665 case "(($ac_try" in
11666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11667 *) ac_try_echo=$ac_try;;
11668 esac
11669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11670 (eval "$ac_link") 2>conftest.er1
9934 ac_status=$? 11671 ac_status=$?
9935 grep -v '^ *+' conftest.er1 >conftest.err 11672 grep -v '^ *+' conftest.er1 >conftest.err
9936 rm -f conftest.er1 11673 rm -f conftest.er1
9937 cat conftest.err >&5 11674 cat conftest.err >&5
9938 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9939 (exit $ac_status); } && 11676 (exit $ac_status); } &&
9940 { ac_try='test -z "$ac_c_werror_flag" 11677 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9941 || test ! -s conftest.err' 11678 { (case "(($ac_try" in
9942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9943 (eval $ac_try) 2>&5 11680 *) ac_try_echo=$ac_try;;
11681 esac
11682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11683 (eval "$ac_try") 2>&5
9944 ac_status=$? 11684 ac_status=$?
9945 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9946 (exit $ac_status); }; } && 11686 (exit $ac_status); }; } &&
9947 { ac_try='test -s conftest$ac_exeext' 11687 { ac_try='test -s conftest$ac_exeext'
9948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11688 { (case "(($ac_try" in
9949 (eval $ac_try) 2>&5 11689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11690 *) ac_try_echo=$ac_try;;
11691 esac
11692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11693 (eval "$ac_try") 2>&5
9950 ac_status=$? 11694 ac_status=$?
9951 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9952 (exit $ac_status); }; }; then 11696 (exit $ac_status); }; }; then
9953 xlinux_first_failure=no 11697 xlinux_first_failure=no
9954 else 11698 else
9955 echo "$as_me: failed program was:" >&5 11699 echo "$as_me: failed program was:" >&5
9956 sed 's/^/| /' conftest.$ac_ext >&5 11700 sed 's/^/| /' conftest.$ac_ext >&5
9957 11701
9958 xlinux_first_failure=yes 11702 xlinux_first_failure=yes
9959 fi 11703 fi
9960 rm -f conftest.err conftest.$ac_objext \ 11704
11705 rm -f core conftest.err conftest.$ac_objext \
9961 conftest$ac_exeext conftest.$ac_ext 11706 conftest$ac_exeext conftest.$ac_ext
9962 if test "${xlinux_first_failure}" = "yes"; then 11707 if test "${xlinux_first_failure}" = "yes"; then
9963 OLD_LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE" 11708 OLD_LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE"
9964 OLD_C_SWITCH_X_SITE="$C_SWITCH_X_SITE" 11709 OLD_C_SWITCH_X_SITE="$C_SWITCH_X_SITE"
9965 OLD_CPPFLAGS="$CPPFLAGS" 11710 OLD_CPPFLAGS="$CPPFLAGS"
9982 ; 11727 ;
9983 return 0; 11728 return 0;
9984 } 11729 }
9985 _ACEOF 11730 _ACEOF
9986 rm -f conftest.$ac_objext conftest$ac_exeext 11731 rm -f conftest.$ac_objext conftest$ac_exeext
9987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11732 if { (ac_try="$ac_link"
9988 (eval $ac_link) 2>conftest.er1 11733 case "(($ac_try" in
11734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11735 *) ac_try_echo=$ac_try;;
11736 esac
11737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11738 (eval "$ac_link") 2>conftest.er1
9989 ac_status=$? 11739 ac_status=$?
9990 grep -v '^ *+' conftest.er1 >conftest.err 11740 grep -v '^ *+' conftest.er1 >conftest.err
9991 rm -f conftest.er1 11741 rm -f conftest.er1
9992 cat conftest.err >&5 11742 cat conftest.err >&5
9993 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9994 (exit $ac_status); } && 11744 (exit $ac_status); } &&
9995 { ac_try='test -z "$ac_c_werror_flag" 11745 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9996 || test ! -s conftest.err' 11746 { (case "(($ac_try" in
9997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9998 (eval $ac_try) 2>&5 11748 *) ac_try_echo=$ac_try;;
11749 esac
11750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11751 (eval "$ac_try") 2>&5
9999 ac_status=$? 11752 ac_status=$?
10000 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10001 (exit $ac_status); }; } && 11754 (exit $ac_status); }; } &&
10002 { ac_try='test -s conftest$ac_exeext' 11755 { ac_try='test -s conftest$ac_exeext'
10003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11756 { (case "(($ac_try" in
10004 (eval $ac_try) 2>&5 11757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11758 *) ac_try_echo=$ac_try;;
11759 esac
11760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11761 (eval "$ac_try") 2>&5
10005 ac_status=$? 11762 ac_status=$?
10006 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10007 (exit $ac_status); }; }; then 11764 (exit $ac_status); }; }; then
10008 xlinux_second_failure=no 11765 xlinux_second_failure=no
10009 else 11766 else
10010 echo "$as_me: failed program was:" >&5 11767 echo "$as_me: failed program was:" >&5
10011 sed 's/^/| /' conftest.$ac_ext >&5 11768 sed 's/^/| /' conftest.$ac_ext >&5
10012 11769
10013 xlinux_second_failure=yes 11770 xlinux_second_failure=yes
10014 fi 11771 fi
10015 rm -f conftest.err conftest.$ac_objext \ 11772
11773 rm -f core conftest.err conftest.$ac_objext \
10016 conftest$ac_exeext conftest.$ac_ext 11774 conftest$ac_exeext conftest.$ac_ext
10017 if test "${xlinux_second_failure}" = "yes"; then 11775 if test "${xlinux_second_failure}" = "yes"; then
10018 # If we get the same failure with -b, there is no use adding -b. 11776 # If we get the same failure with -b, there is no use adding -b.
10019 # So take it out. This plays safe. 11777 # So take it out. This plays safe.
10020 LD_SWITCH_X_SITE="$OLD_LD_SWITCH_X_SITE" 11778 LD_SWITCH_X_SITE="$OLD_LD_SWITCH_X_SITE"
10021 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE" 11779 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE"
10022 CPPFLAGS="$OLD_CPPFLAGS" 11780 CPPFLAGS="$OLD_CPPFLAGS"
10023 LIBS="$OLD_LIBS" 11781 LIBS="$OLD_LIBS"
10024 echo "$as_me:$LINENO: result: no" >&5 11782 { echo "$as_me:$LINENO: result: no" >&5
10025 echo "${ECHO_T}no" >&6 11783 echo "${ECHO_T}no" >&6; }
10026 else 11784 else
10027 echo "$as_me:$LINENO: result: yes" >&5 11785 { echo "$as_me:$LINENO: result: yes" >&5
10028 echo "${ECHO_T}yes" >&6 11786 echo "${ECHO_T}yes" >&6; }
10029 fi 11787 fi
10030 else 11788 else
10031 echo "$as_me:$LINENO: result: no" >&5 11789 { echo "$as_me:$LINENO: result: no" >&5
10032 echo "${ECHO_T}no" >&6 11790 echo "${ECHO_T}no" >&6; }
10033 fi 11791 fi
10034 fi 11792 fi
10035 11793
10036 # Reportedly, some broken Solaris systems have XKBlib.h but are missing 11794 # Reportedly, some broken Solaris systems have XKBlib.h but are missing
10037 # header files included from there. 11795 # header files included from there.
10038 echo "$as_me:$LINENO: checking for Xkb" >&5 11796 { echo "$as_me:$LINENO: checking for Xkb" >&5
10039 echo $ECHO_N "checking for Xkb... $ECHO_C" >&6 11797 echo $ECHO_N "checking for Xkb... $ECHO_C" >&6; }
10040 cat >conftest.$ac_ext <<_ACEOF 11798 cat >conftest.$ac_ext <<_ACEOF
10041 /* confdefs.h. */ 11799 /* confdefs.h. */
10042 _ACEOF 11800 _ACEOF
10043 cat confdefs.h >>conftest.$ac_ext 11801 cat confdefs.h >>conftest.$ac_ext
10044 cat >>conftest.$ac_ext <<_ACEOF 11802 cat >>conftest.$ac_ext <<_ACEOF
10052 ; 11810 ;
10053 return 0; 11811 return 0;
10054 } 11812 }
10055 _ACEOF 11813 _ACEOF
10056 rm -f conftest.$ac_objext conftest$ac_exeext 11814 rm -f conftest.$ac_objext conftest$ac_exeext
10057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11815 if { (ac_try="$ac_link"
10058 (eval $ac_link) 2>conftest.er1 11816 case "(($ac_try" in
11817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11818 *) ac_try_echo=$ac_try;;
11819 esac
11820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11821 (eval "$ac_link") 2>conftest.er1
10059 ac_status=$? 11822 ac_status=$?
10060 grep -v '^ *+' conftest.er1 >conftest.err 11823 grep -v '^ *+' conftest.er1 >conftest.err
10061 rm -f conftest.er1 11824 rm -f conftest.er1
10062 cat conftest.err >&5 11825 cat conftest.err >&5
10063 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10064 (exit $ac_status); } && 11827 (exit $ac_status); } &&
10065 { ac_try='test -z "$ac_c_werror_flag" 11828 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10066 || test ! -s conftest.err' 11829 { (case "(($ac_try" in
10067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10068 (eval $ac_try) 2>&5 11831 *) ac_try_echo=$ac_try;;
11832 esac
11833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11834 (eval "$ac_try") 2>&5
10069 ac_status=$? 11835 ac_status=$?
10070 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10071 (exit $ac_status); }; } && 11837 (exit $ac_status); }; } &&
10072 { ac_try='test -s conftest$ac_exeext' 11838 { ac_try='test -s conftest$ac_exeext'
10073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11839 { (case "(($ac_try" in
10074 (eval $ac_try) 2>&5 11840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11841 *) ac_try_echo=$ac_try;;
11842 esac
11843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11844 (eval "$ac_try") 2>&5
10075 ac_status=$? 11845 ac_status=$?
10076 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10077 (exit $ac_status); }; }; then 11847 (exit $ac_status); }; }; then
10078 emacs_xkb=yes 11848 emacs_xkb=yes
10079 else 11849 else
10080 echo "$as_me: failed program was:" >&5 11850 echo "$as_me: failed program was:" >&5
10081 sed 's/^/| /' conftest.$ac_ext >&5 11851 sed 's/^/| /' conftest.$ac_ext >&5
10082 11852
10083 emacs_xkb=no 11853 emacs_xkb=no
10084 fi 11854 fi
10085 rm -f conftest.err conftest.$ac_objext \ 11855
11856 rm -f core conftest.err conftest.$ac_objext \
10086 conftest$ac_exeext conftest.$ac_ext 11857 conftest$ac_exeext conftest.$ac_ext
10087 echo "$as_me:$LINENO: result: $emacs_xkb" >&5 11858 { echo "$as_me:$LINENO: result: $emacs_xkb" >&5
10088 echo "${ECHO_T}$emacs_xkb" >&6 11859 echo "${ECHO_T}$emacs_xkb" >&6; }
10089 if test $emacs_xkb = yes; then 11860 if test $emacs_xkb = yes; then
10090 11861
10091 cat >>confdefs.h <<\_ACEOF 11862 cat >>confdefs.h <<\_ACEOF
10092 #define HAVE_XKBGETKEYBOARD 1 11863 #define HAVE_XKBGETKEYBOARD 1
10093 _ACEOF 11864 _ACEOF
10100 11871
10101 for ac_func in XrmSetDatabase XScreenResourceString \ 11872 for ac_func in XrmSetDatabase XScreenResourceString \
10102 XScreenNumberOfScreen XSetWMProtocols 11873 XScreenNumberOfScreen XSetWMProtocols
10103 do 11874 do
10104 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 11875 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10105 echo "$as_me:$LINENO: checking for $ac_func" >&5 11876 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10106 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 11877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10107 if eval "test \"\${$as_ac_var+set}\" = set"; then 11878 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10108 echo $ECHO_N "(cached) $ECHO_C" >&6 11879 echo $ECHO_N "(cached) $ECHO_C" >&6
10109 else 11880 else
10110 cat >conftest.$ac_ext <<_ACEOF 11881 cat >conftest.$ac_ext <<_ACEOF
10111 /* confdefs.h. */ 11882 /* confdefs.h. */
10112 _ACEOF 11883 _ACEOF
10128 # include <assert.h> 11899 # include <assert.h>
10129 #endif 11900 #endif
10130 11901
10131 #undef $ac_func 11902 #undef $ac_func
10132 11903
10133 /* Override any gcc2 internal prototype to avoid an error. */ 11904 /* Override any GCC internal prototype to avoid an error.
11905 Use char because int might match the return type of a GCC
11906 builtin and then its argument prototype would still apply. */
10134 #ifdef __cplusplus 11907 #ifdef __cplusplus
10135 extern "C" 11908 extern "C"
10136 {
10137 #endif 11909 #endif
10138 /* We use char because int might match the return type of a gcc2
10139 builtin and then its argument prototype would still apply. */
10140 char $ac_func (); 11910 char $ac_func ();
10141 /* The GNU C library defines this for functions which it implements 11911 /* The GNU C library defines this for functions which it implements
10142 to always fail with ENOSYS. Some functions are actually named 11912 to always fail with ENOSYS. Some functions are actually named
10143 something starting with __ and the normal name is an alias. */ 11913 something starting with __ and the normal name is an alias. */
10144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 11914 #if defined __stub_$ac_func || defined __stub___$ac_func
10145 choke me 11915 choke me
10146 #else
10147 char (*f) () = $ac_func;
10148 #endif
10149 #ifdef __cplusplus
10150 }
10151 #endif 11916 #endif
10152 11917
10153 int 11918 int
10154 main () 11919 main ()
10155 { 11920 {
10156 return f != $ac_func; 11921 return $ac_func ();
10157 ; 11922 ;
10158 return 0; 11923 return 0;
10159 } 11924 }
10160 _ACEOF 11925 _ACEOF
10161 rm -f conftest.$ac_objext conftest$ac_exeext 11926 rm -f conftest.$ac_objext conftest$ac_exeext
10162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11927 if { (ac_try="$ac_link"
10163 (eval $ac_link) 2>conftest.er1 11928 case "(($ac_try" in
11929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11930 *) ac_try_echo=$ac_try;;
11931 esac
11932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11933 (eval "$ac_link") 2>conftest.er1
10164 ac_status=$? 11934 ac_status=$?
10165 grep -v '^ *+' conftest.er1 >conftest.err 11935 grep -v '^ *+' conftest.er1 >conftest.err
10166 rm -f conftest.er1 11936 rm -f conftest.er1
10167 cat conftest.err >&5 11937 cat conftest.err >&5
10168 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10169 (exit $ac_status); } && 11939 (exit $ac_status); } &&
10170 { ac_try='test -z "$ac_c_werror_flag" 11940 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10171 || test ! -s conftest.err' 11941 { (case "(($ac_try" in
10172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10173 (eval $ac_try) 2>&5 11943 *) ac_try_echo=$ac_try;;
11944 esac
11945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11946 (eval "$ac_try") 2>&5
10174 ac_status=$? 11947 ac_status=$?
10175 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10176 (exit $ac_status); }; } && 11949 (exit $ac_status); }; } &&
10177 { ac_try='test -s conftest$ac_exeext' 11950 { ac_try='test -s conftest$ac_exeext'
10178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11951 { (case "(($ac_try" in
10179 (eval $ac_try) 2>&5 11952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11953 *) ac_try_echo=$ac_try;;
11954 esac
11955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11956 (eval "$ac_try") 2>&5
10180 ac_status=$? 11957 ac_status=$?
10181 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10182 (exit $ac_status); }; }; then 11959 (exit $ac_status); }; }; then
10183 eval "$as_ac_var=yes" 11960 eval "$as_ac_var=yes"
10184 else 11961 else
10185 echo "$as_me: failed program was:" >&5 11962 echo "$as_me: failed program was:" >&5
10186 sed 's/^/| /' conftest.$ac_ext >&5 11963 sed 's/^/| /' conftest.$ac_ext >&5
10187 11964
10188 eval "$as_ac_var=no" 11965 eval "$as_ac_var=no"
10189 fi 11966 fi
10190 rm -f conftest.err conftest.$ac_objext \ 11967
11968 rm -f core conftest.err conftest.$ac_objext \
10191 conftest$ac_exeext conftest.$ac_ext 11969 conftest$ac_exeext conftest.$ac_ext
10192 fi 11970 fi
10193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 11971 ac_res=`eval echo '${'$as_ac_var'}'`
10194 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 11972 { echo "$as_me:$LINENO: result: $ac_res" >&5
11973 echo "${ECHO_T}$ac_res" >&6; }
10195 if test `eval echo '${'$as_ac_var'}'` = yes; then 11974 if test `eval echo '${'$as_ac_var'}'` = yes; then
10196 cat >>confdefs.h <<_ACEOF 11975 cat >>confdefs.h <<_ACEOF
10197 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 11976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10198 _ACEOF 11977 _ACEOF
10199 11978
10201 done 11980 done
10202 11981
10203 fi 11982 fi
10204 11983
10205 if test "${window_system}" = "x11"; then 11984 if test "${window_system}" = "x11"; then
10206 echo "$as_me:$LINENO: checking X11 version 6" >&5 11985 { echo "$as_me:$LINENO: checking X11 version 6" >&5
10207 echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6 11986 echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6; }
10208 if test "${emacs_cv_x11_version_6+set}" = set; then 11987 if test "${emacs_cv_x11_version_6+set}" = set; then
10209 echo $ECHO_N "(cached) $ECHO_C" >&6 11988 echo $ECHO_N "(cached) $ECHO_C" >&6
10210 else 11989 else
10211 cat >conftest.$ac_ext <<_ACEOF 11990 cat >conftest.$ac_ext <<_ACEOF
10212 /* confdefs.h. */ 11991 /* confdefs.h. */
10225 ; 12004 ;
10226 return 0; 12005 return 0;
10227 } 12006 }
10228 _ACEOF 12007 _ACEOF
10229 rm -f conftest.$ac_objext conftest$ac_exeext 12008 rm -f conftest.$ac_objext conftest$ac_exeext
10230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 12009 if { (ac_try="$ac_link"
10231 (eval $ac_link) 2>conftest.er1 12010 case "(($ac_try" in
12011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12012 *) ac_try_echo=$ac_try;;
12013 esac
12014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12015 (eval "$ac_link") 2>conftest.er1
10232 ac_status=$? 12016 ac_status=$?
10233 grep -v '^ *+' conftest.er1 >conftest.err 12017 grep -v '^ *+' conftest.er1 >conftest.err
10234 rm -f conftest.er1 12018 rm -f conftest.er1
10235 cat conftest.err >&5 12019 cat conftest.err >&5
10236 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10237 (exit $ac_status); } && 12021 (exit $ac_status); } &&
10238 { ac_try='test -z "$ac_c_werror_flag" 12022 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10239 || test ! -s conftest.err' 12023 { (case "(($ac_try" in
10240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10241 (eval $ac_try) 2>&5 12025 *) ac_try_echo=$ac_try;;
12026 esac
12027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12028 (eval "$ac_try") 2>&5
10242 ac_status=$? 12029 ac_status=$?
10243 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10244 (exit $ac_status); }; } && 12031 (exit $ac_status); }; } &&
10245 { ac_try='test -s conftest$ac_exeext' 12032 { ac_try='test -s conftest$ac_exeext'
10246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12033 { (case "(($ac_try" in
10247 (eval $ac_try) 2>&5 12034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12035 *) ac_try_echo=$ac_try;;
12036 esac
12037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12038 (eval "$ac_try") 2>&5
10248 ac_status=$? 12039 ac_status=$?
10249 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10250 (exit $ac_status); }; }; then 12041 (exit $ac_status); }; }; then
10251 emacs_cv_x11_version_6=yes 12042 emacs_cv_x11_version_6=yes
10252 else 12043 else
10253 echo "$as_me: failed program was:" >&5 12044 echo "$as_me: failed program was:" >&5
10254 sed 's/^/| /' conftest.$ac_ext >&5 12045 sed 's/^/| /' conftest.$ac_ext >&5
10255 12046
10256 emacs_cv_x11_version_6=no 12047 emacs_cv_x11_version_6=no
10257 fi 12048 fi
10258 rm -f conftest.err conftest.$ac_objext \ 12049
12050 rm -f core conftest.err conftest.$ac_objext \
10259 conftest$ac_exeext conftest.$ac_ext 12051 conftest$ac_exeext conftest.$ac_ext
10260 fi 12052 fi
10261 12053
10262 if test $emacs_cv_x11_version_6 = yes; then 12054 if test $emacs_cv_x11_version_6 = yes; then
10263 echo "$as_me:$LINENO: result: 6 or newer" >&5 12055 { echo "$as_me:$LINENO: result: 6 or newer" >&5
10264 echo "${ECHO_T}6 or newer" >&6 12056 echo "${ECHO_T}6 or newer" >&6; }
10265 12057
10266 cat >>confdefs.h <<\_ACEOF 12058 cat >>confdefs.h <<\_ACEOF
10267 #define HAVE_X11R6 1 12059 #define HAVE_X11R6 1
10268 _ACEOF 12060 _ACEOF
10269 12061
10270 else 12062 else
10271 echo "$as_me:$LINENO: result: before 6" >&5 12063 { echo "$as_me:$LINENO: result: before 6" >&5
10272 echo "${ECHO_T}before 6" >&6 12064 echo "${ECHO_T}before 6" >&6; }
10273 fi 12065 fi
10274 fi 12066 fi
10275 12067
10276 if test "${window_system}" = "x11"; then 12068 if test "${window_system}" = "x11"; then
10277 echo "$as_me:$LINENO: checking X11 version 5" >&5 12069 { echo "$as_me:$LINENO: checking X11 version 5" >&5
10278 echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6 12070 echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6; }
10279 if test "${emacs_cv_x11_version_5+set}" = set; then 12071 if test "${emacs_cv_x11_version_5+set}" = set; then
10280 echo $ECHO_N "(cached) $ECHO_C" >&6 12072 echo $ECHO_N "(cached) $ECHO_C" >&6
10281 else 12073 else
10282 cat >conftest.$ac_ext <<_ACEOF 12074 cat >conftest.$ac_ext <<_ACEOF
10283 /* confdefs.h. */ 12075 /* confdefs.h. */
10296 ; 12088 ;
10297 return 0; 12089 return 0;
10298 } 12090 }
10299 _ACEOF 12091 _ACEOF
10300 rm -f conftest.$ac_objext conftest$ac_exeext 12092 rm -f conftest.$ac_objext conftest$ac_exeext
10301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 12093 if { (ac_try="$ac_link"
10302 (eval $ac_link) 2>conftest.er1 12094 case "(($ac_try" in
12095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12096 *) ac_try_echo=$ac_try;;
12097 esac
12098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12099 (eval "$ac_link") 2>conftest.er1
10303 ac_status=$? 12100 ac_status=$?
10304 grep -v '^ *+' conftest.er1 >conftest.err 12101 grep -v '^ *+' conftest.er1 >conftest.err
10305 rm -f conftest.er1 12102 rm -f conftest.er1
10306 cat conftest.err >&5 12103 cat conftest.err >&5
10307 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10308 (exit $ac_status); } && 12105 (exit $ac_status); } &&
10309 { ac_try='test -z "$ac_c_werror_flag" 12106 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10310 || test ! -s conftest.err' 12107 { (case "(($ac_try" in
10311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10312 (eval $ac_try) 2>&5 12109 *) ac_try_echo=$ac_try;;
12110 esac
12111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12112 (eval "$ac_try") 2>&5
10313 ac_status=$? 12113 ac_status=$?
10314 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10315 (exit $ac_status); }; } && 12115 (exit $ac_status); }; } &&
10316 { ac_try='test -s conftest$ac_exeext' 12116 { ac_try='test -s conftest$ac_exeext'
10317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12117 { (case "(($ac_try" in
10318 (eval $ac_try) 2>&5 12118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12119 *) ac_try_echo=$ac_try;;
12120 esac
12121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12122 (eval "$ac_try") 2>&5
10319 ac_status=$? 12123 ac_status=$?
10320 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10321 (exit $ac_status); }; }; then 12125 (exit $ac_status); }; }; then
10322 emacs_cv_x11_version_5=yes 12126 emacs_cv_x11_version_5=yes
10323 else 12127 else
10324 echo "$as_me: failed program was:" >&5 12128 echo "$as_me: failed program was:" >&5
10325 sed 's/^/| /' conftest.$ac_ext >&5 12129 sed 's/^/| /' conftest.$ac_ext >&5
10326 12130
10327 emacs_cv_x11_version_5=no 12131 emacs_cv_x11_version_5=no
10328 fi 12132 fi
10329 rm -f conftest.err conftest.$ac_objext \ 12133
12134 rm -f core conftest.err conftest.$ac_objext \
10330 conftest$ac_exeext conftest.$ac_ext 12135 conftest$ac_exeext conftest.$ac_ext
10331 fi 12136 fi
10332 12137
10333 if test $emacs_cv_x11_version_5 = yes; then 12138 if test $emacs_cv_x11_version_5 = yes; then
10334 echo "$as_me:$LINENO: result: 5 or newer" >&5 12139 { echo "$as_me:$LINENO: result: 5 or newer" >&5
10335 echo "${ECHO_T}5 or newer" >&6 12140 echo "${ECHO_T}5 or newer" >&6; }
10336 HAVE_X11R5=yes 12141 HAVE_X11R5=yes
10337 12142
10338 cat >>confdefs.h <<\_ACEOF 12143 cat >>confdefs.h <<\_ACEOF
10339 #define HAVE_X11R5 1 12144 #define HAVE_X11R5 1
10340 _ACEOF 12145 _ACEOF
10341 12146
10342 else 12147 else
10343 HAVE_X11R5=no 12148 HAVE_X11R5=no
10344 echo "$as_me:$LINENO: result: before 5" >&5 12149 { echo "$as_me:$LINENO: result: before 5" >&5
10345 echo "${ECHO_T}before 5" >&6 12150 echo "${ECHO_T}before 5" >&6; }
10346 fi 12151 fi
10347 fi 12152 fi
10348 12153
10349 HAVE_GTK=no 12154 HAVE_GTK=no
10350 if test "${with_gtk}" = "yes" && test "$USE_X_TOOLKIT" = "gtk"; then 12155 if test "${with_gtk}" = "yes" && test "$USE_X_TOOLKIT" = "gtk"; then
10367 succeeded=no 12172 succeeded=no
10368 12173
10369 if test -z "$PKG_CONFIG"; then 12174 if test -z "$PKG_CONFIG"; then
10370 # Extract the first word of "pkg-config", so it can be a program name with args. 12175 # Extract the first word of "pkg-config", so it can be a program name with args.
10371 set dummy pkg-config; ac_word=$2 12176 set dummy pkg-config; ac_word=$2
10372 echo "$as_me:$LINENO: checking for $ac_word" >&5 12177 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10373 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 12178 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10374 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 12179 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
10375 echo $ECHO_N "(cached) $ECHO_C" >&6 12180 echo $ECHO_N "(cached) $ECHO_C" >&6
10376 else 12181 else
10377 case $PKG_CONFIG in 12182 case $PKG_CONFIG in
10378 [\\/]* | ?:[\\/]*) 12183 [\\/]* | ?:[\\/]*)
10383 for as_dir in $PATH 12188 for as_dir in $PATH
10384 do 12189 do
10385 IFS=$as_save_IFS 12190 IFS=$as_save_IFS
10386 test -z "$as_dir" && as_dir=. 12191 test -z "$as_dir" && as_dir=.
10387 for ac_exec_ext in '' $ac_executable_extensions; do 12192 for ac_exec_ext in '' $ac_executable_extensions; do
10388 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
10389 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 12194 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 12195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10391 break 2 12196 break 2
10392 fi 12197 fi
10393 done 12198 done
10394 done 12199 done
12200 IFS=$as_save_IFS
10395 12201
10396 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" 12202 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
10397 ;; 12203 ;;
10398 esac 12204 esac
10399 fi 12205 fi
10400 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 12206 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
10401
10402 if test -n "$PKG_CONFIG"; then 12207 if test -n "$PKG_CONFIG"; then
10403 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 12208 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
10404 echo "${ECHO_T}$PKG_CONFIG" >&6 12209 echo "${ECHO_T}$PKG_CONFIG" >&6; }
10405 else 12210 else
10406 echo "$as_me:$LINENO: result: no" >&5 12211 { echo "$as_me:$LINENO: result: no" >&5
10407 echo "${ECHO_T}no" >&6 12212 echo "${ECHO_T}no" >&6; }
10408 fi 12213 fi
12214
10409 12215
10410 fi 12216 fi
10411 12217
10412 if test "$PKG_CONFIG" = "no" ; then 12218 if test "$PKG_CONFIG" = "no" ; then
10413 { { echo "$as_me:$LINENO: error: 12219 { { echo "$as_me:$LINENO: error:
10416 *** 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;} 12222 *** 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;}
10417 { (exit 1); exit 1; }; } 12223 { (exit 1); exit 1; }; }
10418 else 12224 else
10419 PKG_CONFIG_MIN_VERSION=0.9.0 12225 PKG_CONFIG_MIN_VERSION=0.9.0
10420 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 12226 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
10421 echo "$as_me:$LINENO: checking for $GTK_MODULES" >&5 12227 { echo "$as_me:$LINENO: checking for $GTK_MODULES" >&5
10422 echo $ECHO_N "checking for $GTK_MODULES... $ECHO_C" >&6 12228 echo $ECHO_N "checking for $GTK_MODULES... $ECHO_C" >&6; }
10423 12229
10424 if $PKG_CONFIG --exists "$GTK_MODULES" 2>&5; then 12230 if $PKG_CONFIG --exists "$GTK_MODULES" 2>&5; then
10425 echo "$as_me:$LINENO: result: yes" >&5 12231 { echo "$as_me:$LINENO: result: yes" >&5
10426 echo "${ECHO_T}yes" >&6 12232 echo "${ECHO_T}yes" >&6; }
10427 succeeded=yes 12233 succeeded=yes
10428 12234
10429 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5 12235 { echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
10430 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6 12236 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6; }
10431 GTK_CFLAGS=`$PKG_CONFIG --cflags "$GTK_MODULES"` 12237 GTK_CFLAGS=`$PKG_CONFIG --cflags "$GTK_MODULES"`
10432 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5 12238 { echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
10433 echo "${ECHO_T}$GTK_CFLAGS" >&6 12239 echo "${ECHO_T}$GTK_CFLAGS" >&6; }
10434 12240
10435 echo "$as_me:$LINENO: checking GTK_LIBS" >&5 12241 { echo "$as_me:$LINENO: checking GTK_LIBS" >&5
10436 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6 12242 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6; }
10437 GTK_LIBS=`$PKG_CONFIG --libs "$GTK_MODULES"` 12243 GTK_LIBS=`$PKG_CONFIG --libs "$GTK_MODULES"`
10438 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5 12244 { echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
10439 echo "${ECHO_T}$GTK_LIBS" >&6 12245 echo "${ECHO_T}$GTK_LIBS" >&6; }
10440 else 12246 else
10441 echo "$as_me:$LINENO: result: no" >&5 12247 { echo "$as_me:$LINENO: result: no" >&5
10442 echo "${ECHO_T}no" >&6 12248 echo "${ECHO_T}no" >&6; }
10443 GTK_CFLAGS="" 12249 GTK_CFLAGS=""
10444 GTK_LIBS="" 12250 GTK_LIBS=""
10445 ## If we have a custom action on failure, don't print errors, but 12251 ## If we have a custom action on failure, don't print errors, but
10446 ## do set a variable so people can do so. 12252 ## do set a variable so people can do so.
10447 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$GTK_MODULES"` 12253 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$GTK_MODULES"`
10472 GTK_COMPILES=no 12278 GTK_COMPILES=no
10473 12279
10474 for ac_func in gtk_main 12280 for ac_func in gtk_main
10475 do 12281 do
10476 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 12282 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10477 echo "$as_me:$LINENO: checking for $ac_func" >&5 12283 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10478 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 12284 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10479 if eval "test \"\${$as_ac_var+set}\" = set"; then 12285 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10480 echo $ECHO_N "(cached) $ECHO_C" >&6 12286 echo $ECHO_N "(cached) $ECHO_C" >&6
10481 else 12287 else
10482 cat >conftest.$ac_ext <<_ACEOF 12288 cat >conftest.$ac_ext <<_ACEOF
10483 /* confdefs.h. */ 12289 /* confdefs.h. */
10484 _ACEOF 12290 _ACEOF
10500 # include <assert.h> 12306 # include <assert.h>
10501 #endif 12307 #endif
10502 12308
10503 #undef $ac_func 12309 #undef $ac_func
10504 12310
10505 /* Override any gcc2 internal prototype to avoid an error. */ 12311 /* Override any GCC internal prototype to avoid an error.
12312 Use char because int might match the return type of a GCC
12313 builtin and then its argument prototype would still apply. */
10506 #ifdef __cplusplus 12314 #ifdef __cplusplus
10507 extern "C" 12315 extern "C"
10508 {
10509 #endif 12316 #endif
10510 /* We use char because int might match the return type of a gcc2
10511 builtin and then its argument prototype would still apply. */
10512 char $ac_func (); 12317 char $ac_func ();
10513 /* The GNU C library defines this for functions which it implements 12318 /* The GNU C library defines this for functions which it implements
10514 to always fail with ENOSYS. Some functions are actually named 12319 to always fail with ENOSYS. Some functions are actually named
10515 something starting with __ and the normal name is an alias. */ 12320 something starting with __ and the normal name is an alias. */
10516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 12321 #if defined __stub_$ac_func || defined __stub___$ac_func
10517 choke me 12322 choke me
10518 #else
10519 char (*f) () = $ac_func;
10520 #endif
10521 #ifdef __cplusplus
10522 }
10523 #endif 12323 #endif
10524 12324
10525 int 12325 int
10526 main () 12326 main ()
10527 { 12327 {
10528 return f != $ac_func; 12328 return $ac_func ();
10529 ; 12329 ;
10530 return 0; 12330 return 0;
10531 } 12331 }
10532 _ACEOF 12332 _ACEOF
10533 rm -f conftest.$ac_objext conftest$ac_exeext 12333 rm -f conftest.$ac_objext conftest$ac_exeext
10534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 12334 if { (ac_try="$ac_link"
10535 (eval $ac_link) 2>conftest.er1 12335 case "(($ac_try" in
12336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12337 *) ac_try_echo=$ac_try;;
12338 esac
12339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12340 (eval "$ac_link") 2>conftest.er1
10536 ac_status=$? 12341 ac_status=$?
10537 grep -v '^ *+' conftest.er1 >conftest.err 12342 grep -v '^ *+' conftest.er1 >conftest.err
10538 rm -f conftest.er1 12343 rm -f conftest.er1
10539 cat conftest.err >&5 12344 cat conftest.err >&5
10540 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10541 (exit $ac_status); } && 12346 (exit $ac_status); } &&
10542 { ac_try='test -z "$ac_c_werror_flag" 12347 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10543 || test ! -s conftest.err' 12348 { (case "(($ac_try" in
10544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10545 (eval $ac_try) 2>&5 12350 *) ac_try_echo=$ac_try;;
12351 esac
12352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12353 (eval "$ac_try") 2>&5
10546 ac_status=$? 12354 ac_status=$?
10547 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10548 (exit $ac_status); }; } && 12356 (exit $ac_status); }; } &&
10549 { ac_try='test -s conftest$ac_exeext' 12357 { ac_try='test -s conftest$ac_exeext'
10550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12358 { (case "(($ac_try" in
10551 (eval $ac_try) 2>&5 12359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12360 *) ac_try_echo=$ac_try;;
12361 esac
12362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12363 (eval "$ac_try") 2>&5
10552 ac_status=$? 12364 ac_status=$?
10553 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10554 (exit $ac_status); }; }; then 12366 (exit $ac_status); }; }; then
10555 eval "$as_ac_var=yes" 12367 eval "$as_ac_var=yes"
10556 else 12368 else
10557 echo "$as_me: failed program was:" >&5 12369 echo "$as_me: failed program was:" >&5
10558 sed 's/^/| /' conftest.$ac_ext >&5 12370 sed 's/^/| /' conftest.$ac_ext >&5
10559 12371
10560 eval "$as_ac_var=no" 12372 eval "$as_ac_var=no"
10561 fi 12373 fi
10562 rm -f conftest.err conftest.$ac_objext \ 12374
12375 rm -f core conftest.err conftest.$ac_objext \
10563 conftest$ac_exeext conftest.$ac_ext 12376 conftest$ac_exeext conftest.$ac_ext
10564 fi 12377 fi
10565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 12378 ac_res=`eval echo '${'$as_ac_var'}'`
10566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 12379 { echo "$as_me:$LINENO: result: $ac_res" >&5
12380 echo "${ECHO_T}$ac_res" >&6; }
10567 if test `eval echo '${'$as_ac_var'}'` = yes; then 12381 if test `eval echo '${'$as_ac_var'}'` = yes; then
10568 cat >>confdefs.h <<_ACEOF 12382 cat >>confdefs.h <<_ACEOF
10569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 12383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10570 _ACEOF 12384 _ACEOF
10571 GTK_COMPILES=yes 12385 GTK_COMPILES=yes
10593 HAVE_GTK_MULTIDISPLAY=no 12407 HAVE_GTK_MULTIDISPLAY=no
10594 12408
10595 for ac_func in gdk_display_open 12409 for ac_func in gdk_display_open
10596 do 12410 do
10597 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 12411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10598 echo "$as_me:$LINENO: checking for $ac_func" >&5 12412 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 12413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10600 if eval "test \"\${$as_ac_var+set}\" = set"; then 12414 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10601 echo $ECHO_N "(cached) $ECHO_C" >&6 12415 echo $ECHO_N "(cached) $ECHO_C" >&6
10602 else 12416 else
10603 cat >conftest.$ac_ext <<_ACEOF 12417 cat >conftest.$ac_ext <<_ACEOF
10604 /* confdefs.h. */ 12418 /* confdefs.h. */
10605 _ACEOF 12419 _ACEOF
10621 # include <assert.h> 12435 # include <assert.h>
10622 #endif 12436 #endif
10623 12437
10624 #undef $ac_func 12438 #undef $ac_func
10625 12439
10626 /* Override any gcc2 internal prototype to avoid an error. */ 12440 /* Override any GCC internal prototype to avoid an error.
12441 Use char because int might match the return type of a GCC
12442 builtin and then its argument prototype would still apply. */
10627 #ifdef __cplusplus 12443 #ifdef __cplusplus
10628 extern "C" 12444 extern "C"
10629 {
10630 #endif 12445 #endif
10631 /* We use char because int might match the return type of a gcc2
10632 builtin and then its argument prototype would still apply. */
10633 char $ac_func (); 12446 char $ac_func ();
10634 /* The GNU C library defines this for functions which it implements 12447 /* The GNU C library defines this for functions which it implements
10635 to always fail with ENOSYS. Some functions are actually named 12448 to always fail with ENOSYS. Some functions are actually named
10636 something starting with __ and the normal name is an alias. */ 12449 something starting with __ and the normal name is an alias. */
10637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 12450 #if defined __stub_$ac_func || defined __stub___$ac_func
10638 choke me 12451 choke me
10639 #else
10640 char (*f) () = $ac_func;
10641 #endif
10642 #ifdef __cplusplus
10643 }
10644 #endif 12452 #endif
10645 12453
10646 int 12454 int
10647 main () 12455 main ()
10648 { 12456 {
10649 return f != $ac_func; 12457 return $ac_func ();
10650 ; 12458 ;
10651 return 0; 12459 return 0;
10652 } 12460 }
10653 _ACEOF 12461 _ACEOF
10654 rm -f conftest.$ac_objext conftest$ac_exeext 12462 rm -f conftest.$ac_objext conftest$ac_exeext
10655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 12463 if { (ac_try="$ac_link"
10656 (eval $ac_link) 2>conftest.er1 12464 case "(($ac_try" in
12465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12466 *) ac_try_echo=$ac_try;;
12467 esac
12468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12469 (eval "$ac_link") 2>conftest.er1
10657 ac_status=$? 12470 ac_status=$?
10658 grep -v '^ *+' conftest.er1 >conftest.err 12471 grep -v '^ *+' conftest.er1 >conftest.err
10659 rm -f conftest.er1 12472 rm -f conftest.er1
10660 cat conftest.err >&5 12473 cat conftest.err >&5
10661 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10662 (exit $ac_status); } && 12475 (exit $ac_status); } &&
10663 { ac_try='test -z "$ac_c_werror_flag" 12476 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10664 || test ! -s conftest.err' 12477 { (case "(($ac_try" in
10665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10666 (eval $ac_try) 2>&5 12479 *) ac_try_echo=$ac_try;;
12480 esac
12481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12482 (eval "$ac_try") 2>&5
10667 ac_status=$? 12483 ac_status=$?
10668 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10669 (exit $ac_status); }; } && 12485 (exit $ac_status); }; } &&
10670 { ac_try='test -s conftest$ac_exeext' 12486 { ac_try='test -s conftest$ac_exeext'
10671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12487 { (case "(($ac_try" in
10672 (eval $ac_try) 2>&5 12488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12489 *) ac_try_echo=$ac_try;;
12490 esac
12491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12492 (eval "$ac_try") 2>&5
10673 ac_status=$? 12493 ac_status=$?
10674 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10675 (exit $ac_status); }; }; then 12495 (exit $ac_status); }; }; then
10676 eval "$as_ac_var=yes" 12496 eval "$as_ac_var=yes"
10677 else 12497 else
10678 echo "$as_me: failed program was:" >&5 12498 echo "$as_me: failed program was:" >&5
10679 sed 's/^/| /' conftest.$ac_ext >&5 12499 sed 's/^/| /' conftest.$ac_ext >&5
10680 12500
10681 eval "$as_ac_var=no" 12501 eval "$as_ac_var=no"
10682 fi 12502 fi
10683 rm -f conftest.err conftest.$ac_objext \ 12503
12504 rm -f core conftest.err conftest.$ac_objext \
10684 conftest$ac_exeext conftest.$ac_ext 12505 conftest$ac_exeext conftest.$ac_ext
10685 fi 12506 fi
10686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 12507 ac_res=`eval echo '${'$as_ac_var'}'`
10687 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 12508 { echo "$as_me:$LINENO: result: $ac_res" >&5
12509 echo "${ECHO_T}$ac_res" >&6; }
10688 if test `eval echo '${'$as_ac_var'}'` = yes; then 12510 if test `eval echo '${'$as_ac_var'}'` = yes; then
10689 cat >>confdefs.h <<_ACEOF 12511 cat >>confdefs.h <<_ACEOF
10690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 12512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10691 _ACEOF 12513 _ACEOF
10692 HAVE_GTK_MULTIDISPLAY=yes 12514 HAVE_GTK_MULTIDISPLAY=yes
10703 HAVE_GTK_FILE_SELECTION=no 12525 HAVE_GTK_FILE_SELECTION=no
10704 12526
10705 for ac_func in gtk_file_selection_new 12527 for ac_func in gtk_file_selection_new
10706 do 12528 do
10707 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 12529 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10708 echo "$as_me:$LINENO: checking for $ac_func" >&5 12530 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10709 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 12531 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10710 if eval "test \"\${$as_ac_var+set}\" = set"; then 12532 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10711 echo $ECHO_N "(cached) $ECHO_C" >&6 12533 echo $ECHO_N "(cached) $ECHO_C" >&6
10712 else 12534 else
10713 cat >conftest.$ac_ext <<_ACEOF 12535 cat >conftest.$ac_ext <<_ACEOF
10714 /* confdefs.h. */ 12536 /* confdefs.h. */
10715 _ACEOF 12537 _ACEOF
10731 # include <assert.h> 12553 # include <assert.h>
10732 #endif 12554 #endif
10733 12555
10734 #undef $ac_func 12556 #undef $ac_func
10735 12557
10736 /* Override any gcc2 internal prototype to avoid an error. */ 12558 /* Override any GCC internal prototype to avoid an error.
12559 Use char because int might match the return type of a GCC
12560 builtin and then its argument prototype would still apply. */
10737 #ifdef __cplusplus 12561 #ifdef __cplusplus
10738 extern "C" 12562 extern "C"
10739 {
10740 #endif 12563 #endif
10741 /* We use char because int might match the return type of a gcc2
10742 builtin and then its argument prototype would still apply. */
10743 char $ac_func (); 12564 char $ac_func ();
10744 /* The GNU C library defines this for functions which it implements 12565 /* The GNU C library defines this for functions which it implements
10745 to always fail with ENOSYS. Some functions are actually named 12566 to always fail with ENOSYS. Some functions are actually named
10746 something starting with __ and the normal name is an alias. */ 12567 something starting with __ and the normal name is an alias. */
10747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 12568 #if defined __stub_$ac_func || defined __stub___$ac_func
10748 choke me 12569 choke me
10749 #else
10750 char (*f) () = $ac_func;
10751 #endif
10752 #ifdef __cplusplus
10753 }
10754 #endif 12570 #endif
10755 12571
10756 int 12572 int
10757 main () 12573 main ()
10758 { 12574 {
10759 return f != $ac_func; 12575 return $ac_func ();
10760 ; 12576 ;
10761 return 0; 12577 return 0;
10762 } 12578 }
10763 _ACEOF 12579 _ACEOF
10764 rm -f conftest.$ac_objext conftest$ac_exeext 12580 rm -f conftest.$ac_objext conftest$ac_exeext
10765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 12581 if { (ac_try="$ac_link"
10766 (eval $ac_link) 2>conftest.er1 12582 case "(($ac_try" in
12583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12584 *) ac_try_echo=$ac_try;;
12585 esac
12586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12587 (eval "$ac_link") 2>conftest.er1
10767 ac_status=$? 12588 ac_status=$?
10768 grep -v '^ *+' conftest.er1 >conftest.err 12589 grep -v '^ *+' conftest.er1 >conftest.err
10769 rm -f conftest.er1 12590 rm -f conftest.er1
10770 cat conftest.err >&5 12591 cat conftest.err >&5
10771 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10772 (exit $ac_status); } && 12593 (exit $ac_status); } &&
10773 { ac_try='test -z "$ac_c_werror_flag" 12594 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10774 || test ! -s conftest.err' 12595 { (case "(($ac_try" in
10775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10776 (eval $ac_try) 2>&5 12597 *) ac_try_echo=$ac_try;;
12598 esac
12599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12600 (eval "$ac_try") 2>&5
10777 ac_status=$? 12601 ac_status=$?
10778 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10779 (exit $ac_status); }; } && 12603 (exit $ac_status); }; } &&
10780 { ac_try='test -s conftest$ac_exeext' 12604 { ac_try='test -s conftest$ac_exeext'
10781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12605 { (case "(($ac_try" in
10782 (eval $ac_try) 2>&5 12606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12607 *) ac_try_echo=$ac_try;;
12608 esac
12609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12610 (eval "$ac_try") 2>&5
10783 ac_status=$? 12611 ac_status=$?
10784 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10785 (exit $ac_status); }; }; then 12613 (exit $ac_status); }; }; then
10786 eval "$as_ac_var=yes" 12614 eval "$as_ac_var=yes"
10787 else 12615 else
10788 echo "$as_me: failed program was:" >&5 12616 echo "$as_me: failed program was:" >&5
10789 sed 's/^/| /' conftest.$ac_ext >&5 12617 sed 's/^/| /' conftest.$ac_ext >&5
10790 12618
10791 eval "$as_ac_var=no" 12619 eval "$as_ac_var=no"
10792 fi 12620 fi
10793 rm -f conftest.err conftest.$ac_objext \ 12621
12622 rm -f core conftest.err conftest.$ac_objext \
10794 conftest$ac_exeext conftest.$ac_ext 12623 conftest$ac_exeext conftest.$ac_ext
10795 fi 12624 fi
10796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 12625 ac_res=`eval echo '${'$as_ac_var'}'`
10797 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 12626 { echo "$as_me:$LINENO: result: $ac_res" >&5
12627 echo "${ECHO_T}$ac_res" >&6; }
10798 if test `eval echo '${'$as_ac_var'}'` = yes; then 12628 if test `eval echo '${'$as_ac_var'}'` = yes; then
10799 cat >>confdefs.h <<_ACEOF 12629 cat >>confdefs.h <<_ACEOF
10800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 12630 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10801 _ACEOF 12631 _ACEOF
10802 HAVE_GTK_FILE_SELECTION=yes 12632 HAVE_GTK_FILE_SELECTION=yes
10807 HAVE_GTK_FILE_CHOOSER=no 12637 HAVE_GTK_FILE_CHOOSER=no
10808 12638
10809 for ac_func in gtk_file_chooser_dialog_new 12639 for ac_func in gtk_file_chooser_dialog_new
10810 do 12640 do
10811 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 12641 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10812 echo "$as_me:$LINENO: checking for $ac_func" >&5 12642 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10813 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 12643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10814 if eval "test \"\${$as_ac_var+set}\" = set"; then 12644 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10815 echo $ECHO_N "(cached) $ECHO_C" >&6 12645 echo $ECHO_N "(cached) $ECHO_C" >&6
10816 else 12646 else
10817 cat >conftest.$ac_ext <<_ACEOF 12647 cat >conftest.$ac_ext <<_ACEOF
10818 /* confdefs.h. */ 12648 /* confdefs.h. */
10819 _ACEOF 12649 _ACEOF
10835 # include <assert.h> 12665 # include <assert.h>
10836 #endif 12666 #endif
10837 12667
10838 #undef $ac_func 12668 #undef $ac_func
10839 12669
10840 /* Override any gcc2 internal prototype to avoid an error. */ 12670 /* Override any GCC internal prototype to avoid an error.
12671 Use char because int might match the return type of a GCC
12672 builtin and then its argument prototype would still apply. */
10841 #ifdef __cplusplus 12673 #ifdef __cplusplus
10842 extern "C" 12674 extern "C"
10843 {
10844 #endif 12675 #endif
10845 /* We use char because int might match the return type of a gcc2
10846 builtin and then its argument prototype would still apply. */
10847 char $ac_func (); 12676 char $ac_func ();
10848 /* The GNU C library defines this for functions which it implements 12677 /* The GNU C library defines this for functions which it implements
10849 to always fail with ENOSYS. Some functions are actually named 12678 to always fail with ENOSYS. Some functions are actually named
10850 something starting with __ and the normal name is an alias. */ 12679 something starting with __ and the normal name is an alias. */
10851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 12680 #if defined __stub_$ac_func || defined __stub___$ac_func
10852 choke me 12681 choke me
10853 #else
10854 char (*f) () = $ac_func;
10855 #endif
10856 #ifdef __cplusplus
10857 }
10858 #endif 12682 #endif
10859 12683
10860 int 12684 int
10861 main () 12685 main ()
10862 { 12686 {
10863 return f != $ac_func; 12687 return $ac_func ();
10864 ; 12688 ;
10865 return 0; 12689 return 0;
10866 } 12690 }
10867 _ACEOF 12691 _ACEOF
10868 rm -f conftest.$ac_objext conftest$ac_exeext 12692 rm -f conftest.$ac_objext conftest$ac_exeext
10869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 12693 if { (ac_try="$ac_link"
10870 (eval $ac_link) 2>conftest.er1 12694 case "(($ac_try" in
12695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12696 *) ac_try_echo=$ac_try;;
12697 esac
12698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12699 (eval "$ac_link") 2>conftest.er1
10871 ac_status=$? 12700 ac_status=$?
10872 grep -v '^ *+' conftest.er1 >conftest.err 12701 grep -v '^ *+' conftest.er1 >conftest.err
10873 rm -f conftest.er1 12702 rm -f conftest.er1
10874 cat conftest.err >&5 12703 cat conftest.err >&5
10875 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10876 (exit $ac_status); } && 12705 (exit $ac_status); } &&
10877 { ac_try='test -z "$ac_c_werror_flag" 12706 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10878 || test ! -s conftest.err' 12707 { (case "(($ac_try" in
10879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10880 (eval $ac_try) 2>&5 12709 *) ac_try_echo=$ac_try;;
12710 esac
12711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12712 (eval "$ac_try") 2>&5
10881 ac_status=$? 12713 ac_status=$?
10882 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10883 (exit $ac_status); }; } && 12715 (exit $ac_status); }; } &&
10884 { ac_try='test -s conftest$ac_exeext' 12716 { ac_try='test -s conftest$ac_exeext'
10885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12717 { (case "(($ac_try" in
10886 (eval $ac_try) 2>&5 12718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12719 *) ac_try_echo=$ac_try;;
12720 esac
12721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12722 (eval "$ac_try") 2>&5
10887 ac_status=$? 12723 ac_status=$?
10888 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10889 (exit $ac_status); }; }; then 12725 (exit $ac_status); }; }; then
10890 eval "$as_ac_var=yes" 12726 eval "$as_ac_var=yes"
10891 else 12727 else
10892 echo "$as_me: failed program was:" >&5 12728 echo "$as_me: failed program was:" >&5
10893 sed 's/^/| /' conftest.$ac_ext >&5 12729 sed 's/^/| /' conftest.$ac_ext >&5
10894 12730
10895 eval "$as_ac_var=no" 12731 eval "$as_ac_var=no"
10896 fi 12732 fi
10897 rm -f conftest.err conftest.$ac_objext \ 12733
12734 rm -f core conftest.err conftest.$ac_objext \
10898 conftest$ac_exeext conftest.$ac_ext 12735 conftest$ac_exeext conftest.$ac_ext
10899 fi 12736 fi
10900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 12737 ac_res=`eval echo '${'$as_ac_var'}'`
10901 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 12738 { echo "$as_me:$LINENO: result: $ac_res" >&5
12739 echo "${ECHO_T}$ac_res" >&6; }
10902 if test `eval echo '${'$as_ac_var'}'` = yes; then 12740 if test `eval echo '${'$as_ac_var'}'` = yes; then
10903 cat >>confdefs.h <<_ACEOF 12741 cat >>confdefs.h <<_ACEOF
10904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 12742 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10905 _ACEOF 12743 _ACEOF
10906 HAVE_GTK_FILE_CHOOSER=yes 12744 HAVE_GTK_FILE_CHOOSER=yes
10921 HAVE_GTK_AND_PTHREAD=no 12759 HAVE_GTK_AND_PTHREAD=no
10922 12760
10923 for ac_header in pthread.h 12761 for ac_header in pthread.h
10924 do 12762 do
10925 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 12763 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10926 if eval "test \"\${$as_ac_Header+set}\" = set"; then 12764 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10927 echo "$as_me:$LINENO: checking for $ac_header" >&5 12765 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10928 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 12766 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10929 if eval "test \"\${$as_ac_Header+set}\" = set"; then 12767 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10930 echo $ECHO_N "(cached) $ECHO_C" >&6 12768 echo $ECHO_N "(cached) $ECHO_C" >&6
10931 fi 12769 fi
10932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 12770 ac_res=`eval echo '${'$as_ac_Header'}'`
10933 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 12771 { echo "$as_me:$LINENO: result: $ac_res" >&5
12772 echo "${ECHO_T}$ac_res" >&6; }
10934 else 12773 else
10935 # Is the header compilable? 12774 # Is the header compilable?
10936 echo "$as_me:$LINENO: checking $ac_header usability" >&5 12775 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10937 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 12776 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10938 cat >conftest.$ac_ext <<_ACEOF 12777 cat >conftest.$ac_ext <<_ACEOF
10939 /* confdefs.h. */ 12778 /* confdefs.h. */
10940 _ACEOF 12779 _ACEOF
10941 cat confdefs.h >>conftest.$ac_ext 12780 cat confdefs.h >>conftest.$ac_ext
10942 cat >>conftest.$ac_ext <<_ACEOF 12781 cat >>conftest.$ac_ext <<_ACEOF
10943 /* end confdefs.h. */ 12782 /* end confdefs.h. */
10944 $ac_includes_default 12783 $ac_includes_default
10945 #include <$ac_header> 12784 #include <$ac_header>
10946 _ACEOF 12785 _ACEOF
10947 rm -f conftest.$ac_objext 12786 rm -f conftest.$ac_objext
10948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 12787 if { (ac_try="$ac_compile"
10949 (eval $ac_compile) 2>conftest.er1 12788 case "(($ac_try" in
12789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12790 *) ac_try_echo=$ac_try;;
12791 esac
12792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12793 (eval "$ac_compile") 2>conftest.er1
10950 ac_status=$? 12794 ac_status=$?
10951 grep -v '^ *+' conftest.er1 >conftest.err 12795 grep -v '^ *+' conftest.er1 >conftest.err
10952 rm -f conftest.er1 12796 rm -f conftest.er1
10953 cat conftest.err >&5 12797 cat conftest.err >&5
10954 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10955 (exit $ac_status); } && 12799 (exit $ac_status); } &&
10956 { ac_try='test -z "$ac_c_werror_flag" 12800 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10957 || test ! -s conftest.err' 12801 { (case "(($ac_try" in
10958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10959 (eval $ac_try) 2>&5 12803 *) ac_try_echo=$ac_try;;
12804 esac
12805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12806 (eval "$ac_try") 2>&5
10960 ac_status=$? 12807 ac_status=$?
10961 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10962 (exit $ac_status); }; } && 12809 (exit $ac_status); }; } &&
10963 { ac_try='test -s conftest.$ac_objext' 12810 { ac_try='test -s conftest.$ac_objext'
10964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12811 { (case "(($ac_try" in
10965 (eval $ac_try) 2>&5 12812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12813 *) ac_try_echo=$ac_try;;
12814 esac
12815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12816 (eval "$ac_try") 2>&5
10966 ac_status=$? 12817 ac_status=$?
10967 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10968 (exit $ac_status); }; }; then 12819 (exit $ac_status); }; }; then
10969 ac_header_compiler=yes 12820 ac_header_compiler=yes
10970 else 12821 else
10971 echo "$as_me: failed program was:" >&5 12822 echo "$as_me: failed program was:" >&5
10972 sed 's/^/| /' conftest.$ac_ext >&5 12823 sed 's/^/| /' conftest.$ac_ext >&5
10973 12824
10974 ac_header_compiler=no 12825 ac_header_compiler=no
10975 fi 12826 fi
10976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 12827
10977 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 12828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10978 echo "${ECHO_T}$ac_header_compiler" >&6 12829 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12830 echo "${ECHO_T}$ac_header_compiler" >&6; }
10979 12831
10980 # Is the header present? 12832 # Is the header present?
10981 echo "$as_me:$LINENO: checking $ac_header presence" >&5 12833 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10982 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 12834 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10983 cat >conftest.$ac_ext <<_ACEOF 12835 cat >conftest.$ac_ext <<_ACEOF
10984 /* confdefs.h. */ 12836 /* confdefs.h. */
10985 _ACEOF 12837 _ACEOF
10986 cat confdefs.h >>conftest.$ac_ext 12838 cat confdefs.h >>conftest.$ac_ext
10987 cat >>conftest.$ac_ext <<_ACEOF 12839 cat >>conftest.$ac_ext <<_ACEOF
10988 /* end confdefs.h. */ 12840 /* end confdefs.h. */
10989 #include <$ac_header> 12841 #include <$ac_header>
10990 _ACEOF 12842 _ACEOF
10991 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 12843 if { (ac_try="$ac_cpp conftest.$ac_ext"
10992 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 12844 case "(($ac_try" in
12845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12846 *) ac_try_echo=$ac_try;;
12847 esac
12848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12849 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10993 ac_status=$? 12850 ac_status=$?
10994 grep -v '^ *+' conftest.er1 >conftest.err 12851 grep -v '^ *+' conftest.er1 >conftest.err
10995 rm -f conftest.er1 12852 rm -f conftest.er1
10996 cat conftest.err >&5 12853 cat conftest.err >&5
10997 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11011 echo "$as_me: failed program was:" >&5 12868 echo "$as_me: failed program was:" >&5
11012 sed 's/^/| /' conftest.$ac_ext >&5 12869 sed 's/^/| /' conftest.$ac_ext >&5
11013 12870
11014 ac_header_preproc=no 12871 ac_header_preproc=no
11015 fi 12872 fi
12873
11016 rm -f conftest.err conftest.$ac_ext 12874 rm -f conftest.err conftest.$ac_ext
11017 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 12875 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11018 echo "${ECHO_T}$ac_header_preproc" >&6 12876 echo "${ECHO_T}$ac_header_preproc" >&6; }
11019 12877
11020 # So? What about this header? 12878 # So? What about this header?
11021 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 12879 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11022 yes:no: ) 12880 yes:no: )
11023 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 12881 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11037 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 12895 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11038 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 12896 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11039 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 12897 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11040 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 12898 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11041 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 12899 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11042 ( 12900
11043 cat <<\_ASBOX
11044 ## ------------------------------------------ ##
11045 ## Report this to the AC_PACKAGE_NAME lists. ##
11046 ## ------------------------------------------ ##
11047 _ASBOX
11048 ) |
11049 sed "s/^/$as_me: WARNING: /" >&2
11050 ;; 12901 ;;
11051 esac 12902 esac
11052 echo "$as_me:$LINENO: checking for $ac_header" >&5 12903 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11053 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 12904 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11054 if eval "test \"\${$as_ac_Header+set}\" = set"; then 12905 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11055 echo $ECHO_N "(cached) $ECHO_C" >&6 12906 echo $ECHO_N "(cached) $ECHO_C" >&6
11056 else 12907 else
11057 eval "$as_ac_Header=\$ac_header_preproc" 12908 eval "$as_ac_Header=\$ac_header_preproc"
11058 fi 12909 fi
11059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 12910 ac_res=`eval echo '${'$as_ac_Header'}'`
11060 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 12911 { echo "$as_me:$LINENO: result: $ac_res" >&5
12912 echo "${ECHO_T}$ac_res" >&6; }
11061 12913
11062 fi 12914 fi
11063 if test `eval echo '${'$as_ac_Header'}'` = yes; then 12915 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11064 cat >>confdefs.h <<_ACEOF 12916 cat >>confdefs.h <<_ACEOF
11065 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 12917 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11068 fi 12920 fi
11069 12921
11070 done 12922 done
11071 12923
11072 if test "$ac_cv_header_pthread_h"; then 12924 if test "$ac_cv_header_pthread_h"; then
11073 echo "$as_me:$LINENO: checking for pthread_self in -lpthread" >&5 12925 { echo "$as_me:$LINENO: checking for pthread_self in -lpthread" >&5
11074 echo $ECHO_N "checking for pthread_self in -lpthread... $ECHO_C" >&6 12926 echo $ECHO_N "checking for pthread_self in -lpthread... $ECHO_C" >&6; }
11075 if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then 12927 if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then
11076 echo $ECHO_N "(cached) $ECHO_C" >&6 12928 echo $ECHO_N "(cached) $ECHO_C" >&6
11077 else 12929 else
11078 ac_check_lib_save_LIBS=$LIBS 12930 ac_check_lib_save_LIBS=$LIBS
11079 LIBS="-lpthread $LIBS" 12931 LIBS="-lpthread $LIBS"
11082 _ACEOF 12934 _ACEOF
11083 cat confdefs.h >>conftest.$ac_ext 12935 cat confdefs.h >>conftest.$ac_ext
11084 cat >>conftest.$ac_ext <<_ACEOF 12936 cat >>conftest.$ac_ext <<_ACEOF
11085 /* end confdefs.h. */ 12937 /* end confdefs.h. */
11086 12938
11087 /* Override any gcc2 internal prototype to avoid an error. */ 12939 /* Override any GCC internal prototype to avoid an error.
12940 Use char because int might match the return type of a GCC
12941 builtin and then its argument prototype would still apply. */
11088 #ifdef __cplusplus 12942 #ifdef __cplusplus
11089 extern "C" 12943 extern "C"
11090 #endif 12944 #endif
11091 /* We use char because int might match the return type of a gcc2
11092 builtin and then its argument prototype would still apply. */
11093 char pthread_self (); 12945 char pthread_self ();
11094 int 12946 int
11095 main () 12947 main ()
11096 { 12948 {
11097 pthread_self (); 12949 return pthread_self ();
11098 ; 12950 ;
11099 return 0; 12951 return 0;
11100 } 12952 }
11101 _ACEOF 12953 _ACEOF
11102 rm -f conftest.$ac_objext conftest$ac_exeext 12954 rm -f conftest.$ac_objext conftest$ac_exeext
11103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 12955 if { (ac_try="$ac_link"
11104 (eval $ac_link) 2>conftest.er1 12956 case "(($ac_try" in
12957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12958 *) ac_try_echo=$ac_try;;
12959 esac
12960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12961 (eval "$ac_link") 2>conftest.er1
11105 ac_status=$? 12962 ac_status=$?
11106 grep -v '^ *+' conftest.er1 >conftest.err 12963 grep -v '^ *+' conftest.er1 >conftest.err
11107 rm -f conftest.er1 12964 rm -f conftest.er1
11108 cat conftest.err >&5 12965 cat conftest.err >&5
11109 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11110 (exit $ac_status); } && 12967 (exit $ac_status); } &&
11111 { ac_try='test -z "$ac_c_werror_flag" 12968 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11112 || test ! -s conftest.err' 12969 { (case "(($ac_try" in
11113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11114 (eval $ac_try) 2>&5 12971 *) ac_try_echo=$ac_try;;
12972 esac
12973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12974 (eval "$ac_try") 2>&5
11115 ac_status=$? 12975 ac_status=$?
11116 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11117 (exit $ac_status); }; } && 12977 (exit $ac_status); }; } &&
11118 { ac_try='test -s conftest$ac_exeext' 12978 { ac_try='test -s conftest$ac_exeext'
11119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12979 { (case "(($ac_try" in
11120 (eval $ac_try) 2>&5 12980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12981 *) ac_try_echo=$ac_try;;
12982 esac
12983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12984 (eval "$ac_try") 2>&5
11121 ac_status=$? 12985 ac_status=$?
11122 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11123 (exit $ac_status); }; }; then 12987 (exit $ac_status); }; }; then
11124 ac_cv_lib_pthread_pthread_self=yes 12988 ac_cv_lib_pthread_pthread_self=yes
11125 else 12989 else
11126 echo "$as_me: failed program was:" >&5 12990 echo "$as_me: failed program was:" >&5
11127 sed 's/^/| /' conftest.$ac_ext >&5 12991 sed 's/^/| /' conftest.$ac_ext >&5
11128 12992
11129 ac_cv_lib_pthread_pthread_self=no 12993 ac_cv_lib_pthread_pthread_self=no
11130 fi 12994 fi
11131 rm -f conftest.err conftest.$ac_objext \ 12995
12996 rm -f core conftest.err conftest.$ac_objext \
11132 conftest$ac_exeext conftest.$ac_ext 12997 conftest$ac_exeext conftest.$ac_ext
11133 LIBS=$ac_check_lib_save_LIBS 12998 LIBS=$ac_check_lib_save_LIBS
11134 fi 12999 fi
11135 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_self" >&5 13000 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_self" >&5
11136 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_self" >&6 13001 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_self" >&6; }
11137 if test $ac_cv_lib_pthread_pthread_self = yes; then 13002 if test $ac_cv_lib_pthread_pthread_self = yes; then
11138 HAVE_GTK_AND_PTHREAD=yes 13003 HAVE_GTK_AND_PTHREAD=yes
11139 fi 13004 fi
11140 13005
11141 fi 13006 fi
11150 fi 13015 fi
11151 fi 13016 fi
11152 13017
11153 if test x"${USE_X_TOOLKIT}" = xmaybe; then 13018 if test x"${USE_X_TOOLKIT}" = xmaybe; then
11154 if test x"${HAVE_X11R5}" = xyes; then 13019 if test x"${HAVE_X11R5}" = xyes; then
11155 echo "$as_me:$LINENO: checking X11 version 5 with Xaw" >&5 13020 { echo "$as_me:$LINENO: checking X11 version 5 with Xaw" >&5
11156 echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6 13021 echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6; }
11157 if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then 13022 if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then
11158 echo $ECHO_N "(cached) $ECHO_C" >&6 13023 echo $ECHO_N "(cached) $ECHO_C" >&6
11159 else 13024 else
11160 cat >conftest.$ac_ext <<_ACEOF 13025 cat >conftest.$ac_ext <<_ACEOF
11161 /* confdefs.h. */ 13026 /* confdefs.h. */
11173 ; 13038 ;
11174 return 0; 13039 return 0;
11175 } 13040 }
11176 _ACEOF 13041 _ACEOF
11177 rm -f conftest.$ac_objext conftest$ac_exeext 13042 rm -f conftest.$ac_objext conftest$ac_exeext
11178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 13043 if { (ac_try="$ac_link"
11179 (eval $ac_link) 2>conftest.er1 13044 case "(($ac_try" in
13045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13046 *) ac_try_echo=$ac_try;;
13047 esac
13048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13049 (eval "$ac_link") 2>conftest.er1
11180 ac_status=$? 13050 ac_status=$?
11181 grep -v '^ *+' conftest.er1 >conftest.err 13051 grep -v '^ *+' conftest.er1 >conftest.err
11182 rm -f conftest.er1 13052 rm -f conftest.er1
11183 cat conftest.err >&5 13053 cat conftest.err >&5
11184 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11185 (exit $ac_status); } && 13055 (exit $ac_status); } &&
11186 { ac_try='test -z "$ac_c_werror_flag" 13056 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11187 || test ! -s conftest.err' 13057 { (case "(($ac_try" in
11188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11189 (eval $ac_try) 2>&5 13059 *) ac_try_echo=$ac_try;;
13060 esac
13061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13062 (eval "$ac_try") 2>&5
11190 ac_status=$? 13063 ac_status=$?
11191 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11192 (exit $ac_status); }; } && 13065 (exit $ac_status); }; } &&
11193 { ac_try='test -s conftest$ac_exeext' 13066 { ac_try='test -s conftest$ac_exeext'
11194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13067 { (case "(($ac_try" in
11195 (eval $ac_try) 2>&5 13068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13069 *) ac_try_echo=$ac_try;;
13070 esac
13071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13072 (eval "$ac_try") 2>&5
11196 ac_status=$? 13073 ac_status=$?
11197 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11198 (exit $ac_status); }; }; then 13075 (exit $ac_status); }; }; then
11199 emacs_cv_x11_version_5_with_xaw=yes 13076 emacs_cv_x11_version_5_with_xaw=yes
11200 else 13077 else
11201 echo "$as_me: failed program was:" >&5 13078 echo "$as_me: failed program was:" >&5
11202 sed 's/^/| /' conftest.$ac_ext >&5 13079 sed 's/^/| /' conftest.$ac_ext >&5
11203 13080
11204 emacs_cv_x11_version_5_with_xaw=no 13081 emacs_cv_x11_version_5_with_xaw=no
11205 fi 13082 fi
11206 rm -f conftest.err conftest.$ac_objext \ 13083
13084 rm -f core conftest.err conftest.$ac_objext \
11207 conftest$ac_exeext conftest.$ac_ext 13085 conftest$ac_exeext conftest.$ac_ext
11208 fi 13086 fi
11209 13087
11210 if test $emacs_cv_x11_version_5_with_xaw = yes; then 13088 if test $emacs_cv_x11_version_5_with_xaw = yes; then
11211 echo "$as_me:$LINENO: result: 5 or newer, with Xaw; use toolkit by default" >&5 13089 { echo "$as_me:$LINENO: result: 5 or newer, with Xaw; use toolkit by default" >&5
11212 echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6 13090 echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6; }
11213 USE_X_TOOLKIT=LUCID 13091 USE_X_TOOLKIT=LUCID
11214 else 13092 else
11215 echo "$as_me:$LINENO: result: before 5 or no Xaw; do not use toolkit by default" >&5 13093 { echo "$as_me:$LINENO: result: before 5 or no Xaw; do not use toolkit by default" >&5
11216 echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6 13094 echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6; }
11217 USE_X_TOOLKIT=none 13095 USE_X_TOOLKIT=none
11218 fi 13096 fi
11219 else 13097 else
11220 USE_X_TOOLKIT=none 13098 USE_X_TOOLKIT=none
11221 fi 13099 fi
11222 fi 13100 fi
11223 13101
11224 X_TOOLKIT_TYPE=$USE_X_TOOLKIT 13102 X_TOOLKIT_TYPE=$USE_X_TOOLKIT
11225 13103
11226 if test "${USE_X_TOOLKIT}" != "none"; then 13104 if test "${USE_X_TOOLKIT}" != "none"; then
11227 echo "$as_me:$LINENO: checking X11 toolkit version" >&5 13105 { echo "$as_me:$LINENO: checking X11 toolkit version" >&5
11228 echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6 13106 echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6; }
11229 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then 13107 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then
11230 echo $ECHO_N "(cached) $ECHO_C" >&6 13108 echo $ECHO_N "(cached) $ECHO_C" >&6
11231 else 13109 else
11232 cat >conftest.$ac_ext <<_ACEOF 13110 cat >conftest.$ac_ext <<_ACEOF
11233 /* confdefs.h. */ 13111 /* confdefs.h. */
11246 ; 13124 ;
11247 return 0; 13125 return 0;
11248 } 13126 }
11249 _ACEOF 13127 _ACEOF
11250 rm -f conftest.$ac_objext conftest$ac_exeext 13128 rm -f conftest.$ac_objext conftest$ac_exeext
11251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 13129 if { (ac_try="$ac_link"
11252 (eval $ac_link) 2>conftest.er1 13130 case "(($ac_try" in
13131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13132 *) ac_try_echo=$ac_try;;
13133 esac
13134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13135 (eval "$ac_link") 2>conftest.er1
11253 ac_status=$? 13136 ac_status=$?
11254 grep -v '^ *+' conftest.er1 >conftest.err 13137 grep -v '^ *+' conftest.er1 >conftest.err
11255 rm -f conftest.er1 13138 rm -f conftest.er1
11256 cat conftest.err >&5 13139 cat conftest.err >&5
11257 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11258 (exit $ac_status); } && 13141 (exit $ac_status); } &&
11259 { ac_try='test -z "$ac_c_werror_flag" 13142 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11260 || test ! -s conftest.err' 13143 { (case "(($ac_try" in
11261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11262 (eval $ac_try) 2>&5 13145 *) ac_try_echo=$ac_try;;
13146 esac
13147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13148 (eval "$ac_try") 2>&5
11263 ac_status=$? 13149 ac_status=$?
11264 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11265 (exit $ac_status); }; } && 13151 (exit $ac_status); }; } &&
11266 { ac_try='test -s conftest$ac_exeext' 13152 { ac_try='test -s conftest$ac_exeext'
11267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13153 { (case "(($ac_try" in
11268 (eval $ac_try) 2>&5 13154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13155 *) ac_try_echo=$ac_try;;
13156 esac
13157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13158 (eval "$ac_try") 2>&5
11269 ac_status=$? 13159 ac_status=$?
11270 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11271 (exit $ac_status); }; }; then 13161 (exit $ac_status); }; }; then
11272 emacs_cv_x11_toolkit_version_6=yes 13162 emacs_cv_x11_toolkit_version_6=yes
11273 else 13163 else
11274 echo "$as_me: failed program was:" >&5 13164 echo "$as_me: failed program was:" >&5
11275 sed 's/^/| /' conftest.$ac_ext >&5 13165 sed 's/^/| /' conftest.$ac_ext >&5
11276 13166
11277 emacs_cv_x11_toolkit_version_6=no 13167 emacs_cv_x11_toolkit_version_6=no
11278 fi 13168 fi
11279 rm -f conftest.err conftest.$ac_objext \ 13169
13170 rm -f core conftest.err conftest.$ac_objext \
11280 conftest$ac_exeext conftest.$ac_ext 13171 conftest$ac_exeext conftest.$ac_ext
11281 fi 13172 fi
11282 13173
11283 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6 13174 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6
11284 if test $emacs_cv_x11_toolkit_version_6 = yes; then 13175 if test $emacs_cv_x11_toolkit_version_6 = yes; then
11285 echo "$as_me:$LINENO: result: 6 or newer" >&5 13176 { echo "$as_me:$LINENO: result: 6 or newer" >&5
11286 echo "${ECHO_T}6 or newer" >&6 13177 echo "${ECHO_T}6 or newer" >&6; }
11287 13178
11288 cat >>confdefs.h <<\_ACEOF 13179 cat >>confdefs.h <<\_ACEOF
11289 #define HAVE_X11XTR6 1 13180 #define HAVE_X11XTR6 1
11290 _ACEOF 13181 _ACEOF
11291 13182
11292 else 13183 else
11293 echo "$as_me:$LINENO: result: before 6" >&5 13184 { echo "$as_me:$LINENO: result: before 6" >&5
11294 echo "${ECHO_T}before 6" >&6 13185 echo "${ECHO_T}before 6" >&6; }
11295 fi 13186 fi
11296 13187
11297 OLDLIBS="$LIBS" 13188 OLDLIBS="$LIBS"
11298 if test x$HAVE_X11XTR6 = xyes; then 13189 if test x$HAVE_X11XTR6 = xyes; then
11299 LIBS="-lXt -lSM -lICE $LIBS" 13190 LIBS="-lXt -lSM -lICE $LIBS"
11300 else 13191 else
11301 LIBS="-lXt $LIBS" 13192 LIBS="-lXt $LIBS"
11302 fi 13193 fi
11303 13194
11304 echo "$as_me:$LINENO: checking for XmuConvertStandardSelection in -lXmu" >&5 13195 { echo "$as_me:$LINENO: checking for XmuConvertStandardSelection in -lXmu" >&5
11305 echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6 13196 echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6; }
11306 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then 13197 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then
11307 echo $ECHO_N "(cached) $ECHO_C" >&6 13198 echo $ECHO_N "(cached) $ECHO_C" >&6
11308 else 13199 else
11309 ac_check_lib_save_LIBS=$LIBS 13200 ac_check_lib_save_LIBS=$LIBS
11310 LIBS="-lXmu $LIBS" 13201 LIBS="-lXmu $LIBS"
11313 _ACEOF 13204 _ACEOF
11314 cat confdefs.h >>conftest.$ac_ext 13205 cat confdefs.h >>conftest.$ac_ext
11315 cat >>conftest.$ac_ext <<_ACEOF 13206 cat >>conftest.$ac_ext <<_ACEOF
11316 /* end confdefs.h. */ 13207 /* end confdefs.h. */
11317 13208
11318 /* Override any gcc2 internal prototype to avoid an error. */ 13209 /* Override any GCC internal prototype to avoid an error.
13210 Use char because int might match the return type of a GCC
13211 builtin and then its argument prototype would still apply. */
11319 #ifdef __cplusplus 13212 #ifdef __cplusplus
11320 extern "C" 13213 extern "C"
11321 #endif 13214 #endif
11322 /* We use char because int might match the return type of a gcc2
11323 builtin and then its argument prototype would still apply. */
11324 char XmuConvertStandardSelection (); 13215 char XmuConvertStandardSelection ();
11325 int 13216 int
11326 main () 13217 main ()
11327 { 13218 {
11328 XmuConvertStandardSelection (); 13219 return XmuConvertStandardSelection ();
11329 ; 13220 ;
11330 return 0; 13221 return 0;
11331 } 13222 }
11332 _ACEOF 13223 _ACEOF
11333 rm -f conftest.$ac_objext conftest$ac_exeext 13224 rm -f conftest.$ac_objext conftest$ac_exeext
11334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 13225 if { (ac_try="$ac_link"
11335 (eval $ac_link) 2>conftest.er1 13226 case "(($ac_try" in
13227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13228 *) ac_try_echo=$ac_try;;
13229 esac
13230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13231 (eval "$ac_link") 2>conftest.er1
11336 ac_status=$? 13232 ac_status=$?
11337 grep -v '^ *+' conftest.er1 >conftest.err 13233 grep -v '^ *+' conftest.er1 >conftest.err
11338 rm -f conftest.er1 13234 rm -f conftest.er1
11339 cat conftest.err >&5 13235 cat conftest.err >&5
11340 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11341 (exit $ac_status); } && 13237 (exit $ac_status); } &&
11342 { ac_try='test -z "$ac_c_werror_flag" 13238 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11343 || test ! -s conftest.err' 13239 { (case "(($ac_try" in
11344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11345 (eval $ac_try) 2>&5 13241 *) ac_try_echo=$ac_try;;
13242 esac
13243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13244 (eval "$ac_try") 2>&5
11346 ac_status=$? 13245 ac_status=$?
11347 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11348 (exit $ac_status); }; } && 13247 (exit $ac_status); }; } &&
11349 { ac_try='test -s conftest$ac_exeext' 13248 { ac_try='test -s conftest$ac_exeext'
11350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13249 { (case "(($ac_try" in
11351 (eval $ac_try) 2>&5 13250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13251 *) ac_try_echo=$ac_try;;
13252 esac
13253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13254 (eval "$ac_try") 2>&5
11352 ac_status=$? 13255 ac_status=$?
11353 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11354 (exit $ac_status); }; }; then 13257 (exit $ac_status); }; }; then
11355 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes 13258 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes
11356 else 13259 else
11357 echo "$as_me: failed program was:" >&5 13260 echo "$as_me: failed program was:" >&5
11358 sed 's/^/| /' conftest.$ac_ext >&5 13261 sed 's/^/| /' conftest.$ac_ext >&5
11359 13262
11360 ac_cv_lib_Xmu_XmuConvertStandardSelection=no 13263 ac_cv_lib_Xmu_XmuConvertStandardSelection=no
11361 fi 13264 fi
11362 rm -f conftest.err conftest.$ac_objext \ 13265
13266 rm -f core conftest.err conftest.$ac_objext \
11363 conftest$ac_exeext conftest.$ac_ext 13267 conftest$ac_exeext conftest.$ac_ext
11364 LIBS=$ac_check_lib_save_LIBS 13268 LIBS=$ac_check_lib_save_LIBS
11365 fi 13269 fi
11366 echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 13270 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5
11367 echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6 13271 echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6; }
11368 if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then 13272 if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then
11369 cat >>confdefs.h <<_ACEOF 13273 cat >>confdefs.h <<_ACEOF
11370 #define HAVE_LIBXMU 1 13274 #define HAVE_LIBXMU 1
11371 _ACEOF 13275 _ACEOF
11372 13276
11379 13283
11380 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D. 13284 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D.
11381 if test "${HAVE_X11}" = "yes"; then 13285 if test "${HAVE_X11}" = "yes"; then
11382 if test "${USE_X_TOOLKIT}" != "none"; then 13286 if test "${USE_X_TOOLKIT}" != "none"; then
11383 13287
11384 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5 13288 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
11385 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6 13289 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
11386 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then 13290 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
11387 echo $ECHO_N "(cached) $ECHO_C" >&6 13291 echo $ECHO_N "(cached) $ECHO_C" >&6
11388 else 13292 else
11389 ac_check_lib_save_LIBS=$LIBS 13293 ac_check_lib_save_LIBS=$LIBS
11390 LIBS="-lXext $LIBS" 13294 LIBS="-lXext $LIBS"
11393 _ACEOF 13297 _ACEOF
11394 cat confdefs.h >>conftest.$ac_ext 13298 cat confdefs.h >>conftest.$ac_ext
11395 cat >>conftest.$ac_ext <<_ACEOF 13299 cat >>conftest.$ac_ext <<_ACEOF
11396 /* end confdefs.h. */ 13300 /* end confdefs.h. */
11397 13301
11398 /* Override any gcc2 internal prototype to avoid an error. */ 13302 /* Override any GCC internal prototype to avoid an error.
13303 Use char because int might match the return type of a GCC
13304 builtin and then its argument prototype would still apply. */
11399 #ifdef __cplusplus 13305 #ifdef __cplusplus
11400 extern "C" 13306 extern "C"
11401 #endif 13307 #endif
11402 /* We use char because int might match the return type of a gcc2
11403 builtin and then its argument prototype would still apply. */
11404 char XShapeQueryExtension (); 13308 char XShapeQueryExtension ();
11405 int 13309 int
11406 main () 13310 main ()
11407 { 13311 {
11408 XShapeQueryExtension (); 13312 return XShapeQueryExtension ();
11409 ; 13313 ;
11410 return 0; 13314 return 0;
11411 } 13315 }
11412 _ACEOF 13316 _ACEOF
11413 rm -f conftest.$ac_objext conftest$ac_exeext 13317 rm -f conftest.$ac_objext conftest$ac_exeext
11414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 13318 if { (ac_try="$ac_link"
11415 (eval $ac_link) 2>conftest.er1 13319 case "(($ac_try" in
13320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13321 *) ac_try_echo=$ac_try;;
13322 esac
13323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13324 (eval "$ac_link") 2>conftest.er1
11416 ac_status=$? 13325 ac_status=$?
11417 grep -v '^ *+' conftest.er1 >conftest.err 13326 grep -v '^ *+' conftest.er1 >conftest.err
11418 rm -f conftest.er1 13327 rm -f conftest.er1
11419 cat conftest.err >&5 13328 cat conftest.err >&5
11420 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11421 (exit $ac_status); } && 13330 (exit $ac_status); } &&
11422 { ac_try='test -z "$ac_c_werror_flag" 13331 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11423 || test ! -s conftest.err' 13332 { (case "(($ac_try" in
11424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11425 (eval $ac_try) 2>&5 13334 *) ac_try_echo=$ac_try;;
13335 esac
13336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13337 (eval "$ac_try") 2>&5
11426 ac_status=$? 13338 ac_status=$?
11427 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11428 (exit $ac_status); }; } && 13340 (exit $ac_status); }; } &&
11429 { ac_try='test -s conftest$ac_exeext' 13341 { ac_try='test -s conftest$ac_exeext'
11430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13342 { (case "(($ac_try" in
11431 (eval $ac_try) 2>&5 13343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13344 *) ac_try_echo=$ac_try;;
13345 esac
13346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13347 (eval "$ac_try") 2>&5
11432 ac_status=$? 13348 ac_status=$?
11433 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11434 (exit $ac_status); }; }; then 13350 (exit $ac_status); }; }; then
11435 ac_cv_lib_Xext_XShapeQueryExtension=yes 13351 ac_cv_lib_Xext_XShapeQueryExtension=yes
11436 else 13352 else
11437 echo "$as_me: failed program was:" >&5 13353 echo "$as_me: failed program was:" >&5
11438 sed 's/^/| /' conftest.$ac_ext >&5 13354 sed 's/^/| /' conftest.$ac_ext >&5
11439 13355
11440 ac_cv_lib_Xext_XShapeQueryExtension=no 13356 ac_cv_lib_Xext_XShapeQueryExtension=no
11441 fi 13357 fi
11442 rm -f conftest.err conftest.$ac_objext \ 13358
13359 rm -f core conftest.err conftest.$ac_objext \
11443 conftest$ac_exeext conftest.$ac_ext 13360 conftest$ac_exeext conftest.$ac_ext
11444 LIBS=$ac_check_lib_save_LIBS 13361 LIBS=$ac_check_lib_save_LIBS
11445 fi 13362 fi
11446 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 13363 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11447 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6 13364 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11448 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then 13365 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
11449 cat >>confdefs.h <<_ACEOF 13366 cat >>confdefs.h <<_ACEOF
11450 #define HAVE_LIBXEXT 1 13367 #define HAVE_LIBXEXT 1
11451 _ACEOF 13368 _ACEOF
11452 13369
11456 13373
11457 fi 13374 fi
11458 fi 13375 fi
11459 13376
11460 if test "${USE_X_TOOLKIT}" = "MOTIF"; then 13377 if test "${USE_X_TOOLKIT}" = "MOTIF"; then
11461 echo "$as_me:$LINENO: checking for Motif version 2.1" >&5 13378 { echo "$as_me:$LINENO: checking for Motif version 2.1" >&5
11462 echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6 13379 echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6; }
11463 if test "${emacs_cv_motif_version_2_1+set}" = set; then 13380 if test "${emacs_cv_motif_version_2_1+set}" = set; then
11464 echo $ECHO_N "(cached) $ECHO_C" >&6 13381 echo $ECHO_N "(cached) $ECHO_C" >&6
11465 else 13382 else
11466 cat >conftest.$ac_ext <<_ACEOF 13383 cat >conftest.$ac_ext <<_ACEOF
11467 /* confdefs.h. */ 13384 /* confdefs.h. */
11481 ; 13398 ;
11482 return 0; 13399 return 0;
11483 } 13400 }
11484 _ACEOF 13401 _ACEOF
11485 rm -f conftest.$ac_objext 13402 rm -f conftest.$ac_objext
11486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 13403 if { (ac_try="$ac_compile"
11487 (eval $ac_compile) 2>conftest.er1 13404 case "(($ac_try" in
13405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13406 *) ac_try_echo=$ac_try;;
13407 esac
13408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13409 (eval "$ac_compile") 2>conftest.er1
11488 ac_status=$? 13410 ac_status=$?
11489 grep -v '^ *+' conftest.er1 >conftest.err 13411 grep -v '^ *+' conftest.er1 >conftest.err
11490 rm -f conftest.er1 13412 rm -f conftest.er1
11491 cat conftest.err >&5 13413 cat conftest.err >&5
11492 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11493 (exit $ac_status); } && 13415 (exit $ac_status); } &&
11494 { ac_try='test -z "$ac_c_werror_flag" 13416 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11495 || test ! -s conftest.err' 13417 { (case "(($ac_try" in
11496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11497 (eval $ac_try) 2>&5 13419 *) ac_try_echo=$ac_try;;
13420 esac
13421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13422 (eval "$ac_try") 2>&5
11498 ac_status=$? 13423 ac_status=$?
11499 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11500 (exit $ac_status); }; } && 13425 (exit $ac_status); }; } &&
11501 { ac_try='test -s conftest.$ac_objext' 13426 { ac_try='test -s conftest.$ac_objext'
11502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13427 { (case "(($ac_try" in
11503 (eval $ac_try) 2>&5 13428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13429 *) ac_try_echo=$ac_try;;
13430 esac
13431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13432 (eval "$ac_try") 2>&5
11504 ac_status=$? 13433 ac_status=$?
11505 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11506 (exit $ac_status); }; }; then 13435 (exit $ac_status); }; }; then
11507 emacs_cv_motif_version_2_1=yes 13436 emacs_cv_motif_version_2_1=yes
11508 else 13437 else
11509 echo "$as_me: failed program was:" >&5 13438 echo "$as_me: failed program was:" >&5
11510 sed 's/^/| /' conftest.$ac_ext >&5 13439 sed 's/^/| /' conftest.$ac_ext >&5
11511 13440
11512 emacs_cv_motif_version_2_1=no 13441 emacs_cv_motif_version_2_1=no
11513 fi 13442 fi
11514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 13443
11515 fi 13444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11516 echo "$as_me:$LINENO: result: $emacs_cv_motif_version_2_1" >&5 13445 fi
11517 echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6 13446 { echo "$as_me:$LINENO: result: $emacs_cv_motif_version_2_1" >&5
13447 echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6; }
11518 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1 13448 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1
11519 if test $emacs_cv_motif_version_2_1 = yes; then 13449 if test $emacs_cv_motif_version_2_1 = yes; then
11520 HAVE_LIBXP=no 13450 HAVE_LIBXP=no
11521 13451
11522 cat >>confdefs.h <<\_ACEOF 13452 cat >>confdefs.h <<\_ACEOF
11523 #define HAVE_MOTIF_2_1 1 13453 #define HAVE_MOTIF_2_1 1
11524 _ACEOF 13454 _ACEOF
11525 13455
11526 echo "$as_me:$LINENO: checking for XpCreateContext in -lXp" >&5 13456 { echo "$as_me:$LINENO: checking for XpCreateContext in -lXp" >&5
11527 echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6 13457 echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6; }
11528 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then 13458 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then
11529 echo $ECHO_N "(cached) $ECHO_C" >&6 13459 echo $ECHO_N "(cached) $ECHO_C" >&6
11530 else 13460 else
11531 ac_check_lib_save_LIBS=$LIBS 13461 ac_check_lib_save_LIBS=$LIBS
11532 LIBS="-lXp $LIBS" 13462 LIBS="-lXp $LIBS"
11535 _ACEOF 13465 _ACEOF
11536 cat confdefs.h >>conftest.$ac_ext 13466 cat confdefs.h >>conftest.$ac_ext
11537 cat >>conftest.$ac_ext <<_ACEOF 13467 cat >>conftest.$ac_ext <<_ACEOF
11538 /* end confdefs.h. */ 13468 /* end confdefs.h. */
11539 13469
11540 /* Override any gcc2 internal prototype to avoid an error. */ 13470 /* Override any GCC internal prototype to avoid an error.
13471 Use char because int might match the return type of a GCC
13472 builtin and then its argument prototype would still apply. */
11541 #ifdef __cplusplus 13473 #ifdef __cplusplus
11542 extern "C" 13474 extern "C"
11543 #endif 13475 #endif
11544 /* We use char because int might match the return type of a gcc2
11545 builtin and then its argument prototype would still apply. */
11546 char XpCreateContext (); 13476 char XpCreateContext ();
11547 int 13477 int
11548 main () 13478 main ()
11549 { 13479 {
11550 XpCreateContext (); 13480 return XpCreateContext ();
11551 ; 13481 ;
11552 return 0; 13482 return 0;
11553 } 13483 }
11554 _ACEOF 13484 _ACEOF
11555 rm -f conftest.$ac_objext conftest$ac_exeext 13485 rm -f conftest.$ac_objext conftest$ac_exeext
11556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 13486 if { (ac_try="$ac_link"
11557 (eval $ac_link) 2>conftest.er1 13487 case "(($ac_try" in
13488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13489 *) ac_try_echo=$ac_try;;
13490 esac
13491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13492 (eval "$ac_link") 2>conftest.er1
11558 ac_status=$? 13493 ac_status=$?
11559 grep -v '^ *+' conftest.er1 >conftest.err 13494 grep -v '^ *+' conftest.er1 >conftest.err
11560 rm -f conftest.er1 13495 rm -f conftest.er1
11561 cat conftest.err >&5 13496 cat conftest.err >&5
11562 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11563 (exit $ac_status); } && 13498 (exit $ac_status); } &&
11564 { ac_try='test -z "$ac_c_werror_flag" 13499 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11565 || test ! -s conftest.err' 13500 { (case "(($ac_try" in
11566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11567 (eval $ac_try) 2>&5 13502 *) ac_try_echo=$ac_try;;
13503 esac
13504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13505 (eval "$ac_try") 2>&5
11568 ac_status=$? 13506 ac_status=$?
11569 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11570 (exit $ac_status); }; } && 13508 (exit $ac_status); }; } &&
11571 { ac_try='test -s conftest$ac_exeext' 13509 { ac_try='test -s conftest$ac_exeext'
11572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13510 { (case "(($ac_try" in
11573 (eval $ac_try) 2>&5 13511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13512 *) ac_try_echo=$ac_try;;
13513 esac
13514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13515 (eval "$ac_try") 2>&5
11574 ac_status=$? 13516 ac_status=$?
11575 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11576 (exit $ac_status); }; }; then 13518 (exit $ac_status); }; }; then
11577 ac_cv_lib_Xp_XpCreateContext=yes 13519 ac_cv_lib_Xp_XpCreateContext=yes
11578 else 13520 else
11579 echo "$as_me: failed program was:" >&5 13521 echo "$as_me: failed program was:" >&5
11580 sed 's/^/| /' conftest.$ac_ext >&5 13522 sed 's/^/| /' conftest.$ac_ext >&5
11581 13523
11582 ac_cv_lib_Xp_XpCreateContext=no 13524 ac_cv_lib_Xp_XpCreateContext=no
11583 fi 13525 fi
11584 rm -f conftest.err conftest.$ac_objext \ 13526
13527 rm -f core conftest.err conftest.$ac_objext \
11585 conftest$ac_exeext conftest.$ac_ext 13528 conftest$ac_exeext conftest.$ac_ext
11586 LIBS=$ac_check_lib_save_LIBS 13529 LIBS=$ac_check_lib_save_LIBS
11587 fi 13530 fi
11588 echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpCreateContext" >&5 13531 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpCreateContext" >&5
11589 echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6 13532 echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6; }
11590 if test $ac_cv_lib_Xp_XpCreateContext = yes; then 13533 if test $ac_cv_lib_Xp_XpCreateContext = yes; then
11591 HAVE_LIBXP=yes 13534 HAVE_LIBXP=yes
11592 fi 13535 fi
11593 13536
11594 if test ${HAVE_LIBXP} = yes; then 13537 if test ${HAVE_LIBXP} = yes; then
11597 #define HAVE_LIBXP 1 13540 #define HAVE_LIBXP 1
11598 _ACEOF 13541 _ACEOF
11599 13542
11600 fi 13543 fi
11601 else 13544 else
11602 echo "$as_me:$LINENO: checking for LessTif where some systems put it" >&5 13545 { echo "$as_me:$LINENO: checking for LessTif where some systems put it" >&5
11603 echo $ECHO_N "checking for LessTif where some systems put it... $ECHO_C" >&6 13546 echo $ECHO_N "checking for LessTif where some systems put it... $ECHO_C" >&6; }
11604 if test "${emacs_cv_lesstif+set}" = set; then 13547 if test "${emacs_cv_lesstif+set}" = set; then
11605 echo $ECHO_N "(cached) $ECHO_C" >&6 13548 echo $ECHO_N "(cached) $ECHO_C" >&6
11606 else 13549 else
11607 # We put this in CFLAGS temporarily to precede other -I options 13550 # We put this in CFLAGS temporarily to precede other -I options
11608 # that might be in CFLAGS temporarily. 13551 # that might be in CFLAGS temporarily.
11625 ; 13568 ;
11626 return 0; 13569 return 0;
11627 } 13570 }
11628 _ACEOF 13571 _ACEOF
11629 rm -f conftest.$ac_objext 13572 rm -f conftest.$ac_objext
11630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 13573 if { (ac_try="$ac_compile"
11631 (eval $ac_compile) 2>conftest.er1 13574 case "(($ac_try" in
13575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13576 *) ac_try_echo=$ac_try;;
13577 esac
13578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13579 (eval "$ac_compile") 2>conftest.er1
11632 ac_status=$? 13580 ac_status=$?
11633 grep -v '^ *+' conftest.er1 >conftest.err 13581 grep -v '^ *+' conftest.er1 >conftest.err
11634 rm -f conftest.er1 13582 rm -f conftest.er1
11635 cat conftest.err >&5 13583 cat conftest.err >&5
11636 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11637 (exit $ac_status); } && 13585 (exit $ac_status); } &&
11638 { ac_try='test -z "$ac_c_werror_flag" 13586 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11639 || test ! -s conftest.err' 13587 { (case "(($ac_try" in
11640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11641 (eval $ac_try) 2>&5 13589 *) ac_try_echo=$ac_try;;
13590 esac
13591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13592 (eval "$ac_try") 2>&5
11642 ac_status=$? 13593 ac_status=$?
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 -s conftest.$ac_objext' 13596 { ac_try='test -s conftest.$ac_objext'
11646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13597 { (case "(($ac_try" in
11647 (eval $ac_try) 2>&5 13598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13599 *) ac_try_echo=$ac_try;;
13600 esac
13601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13602 (eval "$ac_try") 2>&5
11648 ac_status=$? 13603 ac_status=$?
11649 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11650 (exit $ac_status); }; }; then 13605 (exit $ac_status); }; }; then
11651 emacs_cv_lesstif=yes 13606 emacs_cv_lesstif=yes
11652 else 13607 else
11653 echo "$as_me: failed program was:" >&5 13608 echo "$as_me: failed program was:" >&5
11654 sed 's/^/| /' conftest.$ac_ext >&5 13609 sed 's/^/| /' conftest.$ac_ext >&5
11655 13610
11656 emacs_cv_lesstif=no 13611 emacs_cv_lesstif=no
11657 fi 13612 fi
11658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 13613
11659 fi 13614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11660 echo "$as_me:$LINENO: result: $emacs_cv_lesstif" >&5 13615 fi
11661 echo "${ECHO_T}$emacs_cv_lesstif" >&6 13616 { echo "$as_me:$LINENO: result: $emacs_cv_lesstif" >&5
13617 echo "${ECHO_T}$emacs_cv_lesstif" >&6; }
11662 if test $emacs_cv_lesstif = yes; then 13618 if test $emacs_cv_lesstif = yes; then
11663 # Make sure this -I option remains in CPPFLAGS after it is set 13619 # Make sure this -I option remains in CPPFLAGS after it is set
11664 # back to REAL_CPPFLAGS. 13620 # back to REAL_CPPFLAGS.
11665 # There is no need to change REAL_CFLAGS, because REAL_CFLAGS does not 13621 # There is no need to change REAL_CFLAGS, because REAL_CFLAGS does not
11666 # have those other -I options anyway. Ultimately, having this 13622 # have those other -I options anyway. Ultimately, having this
11676 13632
11677 ### Is -lXaw3d available? 13633 ### Is -lXaw3d available?
11678 HAVE_XAW3D=no 13634 HAVE_XAW3D=no
11679 if test "${HAVE_X11}" = "yes"; then 13635 if test "${HAVE_X11}" = "yes"; then
11680 if test "${USE_X_TOOLKIT}" != "none" && test "${with_toolkit_scroll_bars}" != "no"; then 13636 if test "${USE_X_TOOLKIT}" != "none" && test "${with_toolkit_scroll_bars}" != "no"; then
11681 echo "$as_me:$LINENO: checking for X11/Xaw3d/Scrollbar.h" >&5 13637 { echo "$as_me:$LINENO: checking for X11/Xaw3d/Scrollbar.h" >&5
11682 echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6 13638 echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6; }
11683 if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then 13639 if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then
11684 echo $ECHO_N "(cached) $ECHO_C" >&6 13640 echo $ECHO_N "(cached) $ECHO_C" >&6
11685 else 13641 else
11686 cat >conftest.$ac_ext <<_ACEOF 13642 cat >conftest.$ac_ext <<_ACEOF
11687 /* confdefs.h. */ 13643 /* confdefs.h. */
11689 cat confdefs.h >>conftest.$ac_ext 13645 cat confdefs.h >>conftest.$ac_ext
11690 cat >>conftest.$ac_ext <<_ACEOF 13646 cat >>conftest.$ac_ext <<_ACEOF
11691 /* end confdefs.h. */ 13647 /* end confdefs.h. */
11692 #include <X11/Xaw3d/Scrollbar.h> 13648 #include <X11/Xaw3d/Scrollbar.h>
11693 _ACEOF 13649 _ACEOF
11694 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 13650 if { (ac_try="$ac_cpp conftest.$ac_ext"
11695 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 13651 case "(($ac_try" in
13652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13653 *) ac_try_echo=$ac_try;;
13654 esac
13655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13656 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11696 ac_status=$? 13657 ac_status=$?
11697 grep -v '^ *+' conftest.er1 >conftest.err 13658 grep -v '^ *+' conftest.er1 >conftest.err
11698 rm -f conftest.er1 13659 rm -f conftest.er1
11699 cat conftest.err >&5 13660 cat conftest.err >&5
11700 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11714 echo "$as_me: failed program was:" >&5 13675 echo "$as_me: failed program was:" >&5
11715 sed 's/^/| /' conftest.$ac_ext >&5 13676 sed 's/^/| /' conftest.$ac_ext >&5
11716 13677
11717 ac_cv_header_X11_Xaw3d_Scrollbar_h=no 13678 ac_cv_header_X11_Xaw3d_Scrollbar_h=no
11718 fi 13679 fi
13680
11719 rm -f conftest.err conftest.$ac_ext 13681 rm -f conftest.err conftest.$ac_ext
11720 fi 13682 fi
11721 echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5 13683 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5
11722 echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6 13684 echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6; }
11723 if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then 13685 if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then
11724 echo "$as_me:$LINENO: checking for XawScrollbarSetThumb in -lXaw3d" >&5 13686 { echo "$as_me:$LINENO: checking for XawScrollbarSetThumb in -lXaw3d" >&5
11725 echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6 13687 echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6; }
11726 if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then 13688 if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then
11727 echo $ECHO_N "(cached) $ECHO_C" >&6 13689 echo $ECHO_N "(cached) $ECHO_C" >&6
11728 else 13690 else
11729 ac_check_lib_save_LIBS=$LIBS 13691 ac_check_lib_save_LIBS=$LIBS
11730 LIBS="-lXaw3d $LIBS" 13692 LIBS="-lXaw3d $LIBS"
11733 _ACEOF 13695 _ACEOF
11734 cat confdefs.h >>conftest.$ac_ext 13696 cat confdefs.h >>conftest.$ac_ext
11735 cat >>conftest.$ac_ext <<_ACEOF 13697 cat >>conftest.$ac_ext <<_ACEOF
11736 /* end confdefs.h. */ 13698 /* end confdefs.h. */
11737 13699
11738 /* Override any gcc2 internal prototype to avoid an error. */ 13700 /* Override any GCC internal prototype to avoid an error.
13701 Use char because int might match the return type of a GCC
13702 builtin and then its argument prototype would still apply. */
11739 #ifdef __cplusplus 13703 #ifdef __cplusplus
11740 extern "C" 13704 extern "C"
11741 #endif 13705 #endif
11742 /* We use char because int might match the return type of a gcc2
11743 builtin and then its argument prototype would still apply. */
11744 char XawScrollbarSetThumb (); 13706 char XawScrollbarSetThumb ();
11745 int 13707 int
11746 main () 13708 main ()
11747 { 13709 {
11748 XawScrollbarSetThumb (); 13710 return XawScrollbarSetThumb ();
11749 ; 13711 ;
11750 return 0; 13712 return 0;
11751 } 13713 }
11752 _ACEOF 13714 _ACEOF
11753 rm -f conftest.$ac_objext conftest$ac_exeext 13715 rm -f conftest.$ac_objext conftest$ac_exeext
11754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 13716 if { (ac_try="$ac_link"
11755 (eval $ac_link) 2>conftest.er1 13717 case "(($ac_try" in
13718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13719 *) ac_try_echo=$ac_try;;
13720 esac
13721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13722 (eval "$ac_link") 2>conftest.er1
11756 ac_status=$? 13723 ac_status=$?
11757 grep -v '^ *+' conftest.er1 >conftest.err 13724 grep -v '^ *+' conftest.er1 >conftest.err
11758 rm -f conftest.er1 13725 rm -f conftest.er1
11759 cat conftest.err >&5 13726 cat conftest.err >&5
11760 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11761 (exit $ac_status); } && 13728 (exit $ac_status); } &&
11762 { ac_try='test -z "$ac_c_werror_flag" 13729 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11763 || test ! -s conftest.err' 13730 { (case "(($ac_try" in
11764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11765 (eval $ac_try) 2>&5 13732 *) ac_try_echo=$ac_try;;
13733 esac
13734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13735 (eval "$ac_try") 2>&5
11766 ac_status=$? 13736 ac_status=$?
11767 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11768 (exit $ac_status); }; } && 13738 (exit $ac_status); }; } &&
11769 { ac_try='test -s conftest$ac_exeext' 13739 { ac_try='test -s conftest$ac_exeext'
11770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13740 { (case "(($ac_try" in
11771 (eval $ac_try) 2>&5 13741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13742 *) ac_try_echo=$ac_try;;
13743 esac
13744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13745 (eval "$ac_try") 2>&5
11772 ac_status=$? 13746 ac_status=$?
11773 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11774 (exit $ac_status); }; }; then 13748 (exit $ac_status); }; }; then
11775 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes 13749 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes
11776 else 13750 else
11777 echo "$as_me: failed program was:" >&5 13751 echo "$as_me: failed program was:" >&5
11778 sed 's/^/| /' conftest.$ac_ext >&5 13752 sed 's/^/| /' conftest.$ac_ext >&5
11779 13753
11780 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=no 13754 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=no
11781 fi 13755 fi
11782 rm -f conftest.err conftest.$ac_objext \ 13756
13757 rm -f core conftest.err conftest.$ac_objext \
11783 conftest$ac_exeext conftest.$ac_ext 13758 conftest$ac_exeext conftest.$ac_ext
11784 LIBS=$ac_check_lib_save_LIBS 13759 LIBS=$ac_check_lib_save_LIBS
11785 fi 13760 fi
11786 echo "$as_me:$LINENO: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5 13761 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5
11787 echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6 13762 echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6; }
11788 if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then 13763 if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then
11789 HAVE_XAW3D=yes 13764 HAVE_XAW3D=yes
11790 fi 13765 fi
11791 13766
11792 fi 13767 fi
11852 ; 13827 ;
11853 return 0; 13828 return 0;
11854 } 13829 }
11855 _ACEOF 13830 _ACEOF
11856 rm -f conftest.$ac_objext 13831 rm -f conftest.$ac_objext
11857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 13832 if { (ac_try="$ac_compile"
11858 (eval $ac_compile) 2>conftest.er1 13833 case "(($ac_try" in
13834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13835 *) ac_try_echo=$ac_try;;
13836 esac
13837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13838 (eval "$ac_compile") 2>conftest.er1
11859 ac_status=$? 13839 ac_status=$?
11860 grep -v '^ *+' conftest.er1 >conftest.err 13840 grep -v '^ *+' conftest.er1 >conftest.err
11861 rm -f conftest.er1 13841 rm -f conftest.er1
11862 cat conftest.err >&5 13842 cat conftest.err >&5
11863 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11864 (exit $ac_status); } && 13844 (exit $ac_status); } &&
11865 { ac_try='test -z "$ac_c_werror_flag" 13845 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11866 || test ! -s conftest.err' 13846 { (case "(($ac_try" in
11867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11868 (eval $ac_try) 2>&5 13848 *) ac_try_echo=$ac_try;;
13849 esac
13850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13851 (eval "$ac_try") 2>&5
11869 ac_status=$? 13852 ac_status=$?
11870 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11871 (exit $ac_status); }; } && 13854 (exit $ac_status); }; } &&
11872 { ac_try='test -s conftest.$ac_objext' 13855 { ac_try='test -s conftest.$ac_objext'
11873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13856 { (case "(($ac_try" in
11874 (eval $ac_try) 2>&5 13857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13858 *) ac_try_echo=$ac_try;;
13859 esac
13860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13861 (eval "$ac_try") 2>&5
11875 ac_status=$? 13862 ac_status=$?
11876 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11877 (exit $ac_status); }; }; then 13864 (exit $ac_status); }; }; then
11878 HAVE_XIM=yes 13865 HAVE_XIM=yes
11879 13866
11883 13870
11884 else 13871 else
11885 echo "$as_me: failed program was:" >&5 13872 echo "$as_me: failed program was:" >&5
11886 sed 's/^/| /' conftest.$ac_ext >&5 13873 sed 's/^/| /' conftest.$ac_ext >&5
11887 13874
11888 HAVE_XIM=no 13875 HAVE_XIM=no
11889 fi 13876 fi
11890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 13877
13878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11891 13879
11892 13880
11893 if test "${with_xim}" != "no"; then 13881 if test "${with_xim}" != "no"; then
11894 13882
11895 cat >>confdefs.h <<\_ACEOF 13883 cat >>confdefs.h <<\_ACEOF
11933 ; 13921 ;
11934 return 0; 13922 return 0;
11935 } 13923 }
11936 _ACEOF 13924 _ACEOF
11937 rm -f conftest.$ac_objext 13925 rm -f conftest.$ac_objext
11938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 13926 if { (ac_try="$ac_compile"
11939 (eval $ac_compile) 2>conftest.er1 13927 case "(($ac_try" in
13928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13929 *) ac_try_echo=$ac_try;;
13930 esac
13931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13932 (eval "$ac_compile") 2>conftest.er1
11940 ac_status=$? 13933 ac_status=$?
11941 grep -v '^ *+' conftest.er1 >conftest.err 13934 grep -v '^ *+' conftest.er1 >conftest.err
11942 rm -f conftest.er1 13935 rm -f conftest.er1
11943 cat conftest.err >&5 13936 cat conftest.err >&5
11944 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11945 (exit $ac_status); } && 13938 (exit $ac_status); } &&
11946 { ac_try='test -z "$ac_c_werror_flag" 13939 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11947 || test ! -s conftest.err' 13940 { (case "(($ac_try" in
11948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11949 (eval $ac_try) 2>&5 13942 *) ac_try_echo=$ac_try;;
13943 esac
13944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13945 (eval "$ac_try") 2>&5
11950 ac_status=$? 13946 ac_status=$?
11951 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11952 (exit $ac_status); }; } && 13948 (exit $ac_status); }; } &&
11953 { ac_try='test -s conftest.$ac_objext' 13949 { ac_try='test -s conftest.$ac_objext'
11954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13950 { (case "(($ac_try" in
11955 (eval $ac_try) 2>&5 13951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13952 *) ac_try_echo=$ac_try;;
13953 esac
13954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13955 (eval "$ac_try") 2>&5
11956 ac_status=$? 13956 ac_status=$?
11957 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11958 (exit $ac_status); }; }; then 13958 (exit $ac_status); }; }; then
11959 emacs_cv_arg6_star=yes 13959 emacs_cv_arg6_star=yes
11960 else 13960 else
11961 echo "$as_me: failed program was:" >&5 13961 echo "$as_me: failed program was:" >&5
11962 sed 's/^/| /' conftest.$ac_ext >&5 13962 sed 's/^/| /' conftest.$ac_ext >&5
11963 13963
11964 fi 13964
11965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 13965 fi
13966
13967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11966 13968
11967 if test "$emacs_cv_arg6_star" = yes; then 13969 if test "$emacs_cv_arg6_star" = yes; then
11968 cat >>confdefs.h <<\_ACEOF 13970 cat >>confdefs.h <<\_ACEOF
11969 #define XRegisterIMInstantiateCallback_arg6 XPointer* 13971 #define XRegisterIMInstantiateCallback_arg6 XPointer*
11970 _ACEOF 13972 _ACEOF
11981 ### Use -lXpm if available, unless `--with-xpm=no'. 13983 ### Use -lXpm if available, unless `--with-xpm=no'.
11982 HAVE_XPM=no 13984 HAVE_XPM=no
11983 if test "${HAVE_X11}" = "yes"; then 13985 if test "${HAVE_X11}" = "yes"; then
11984 if test "${with_xpm}" != "no"; then 13986 if test "${with_xpm}" != "no"; then
11985 if test "${ac_cv_header_X11_xpm_h+set}" = set; then 13987 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
11986 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5 13988 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
11987 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6 13989 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
11988 if test "${ac_cv_header_X11_xpm_h+set}" = set; then 13990 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
11989 echo $ECHO_N "(cached) $ECHO_C" >&6 13991 echo $ECHO_N "(cached) $ECHO_C" >&6
11990 fi 13992 fi
11991 echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5 13993 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5
11992 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6 13994 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6; }
11993 else 13995 else
11994 # Is the header compilable? 13996 # Is the header compilable?
11995 echo "$as_me:$LINENO: checking X11/xpm.h usability" >&5 13997 { echo "$as_me:$LINENO: checking X11/xpm.h usability" >&5
11996 echo $ECHO_N "checking X11/xpm.h usability... $ECHO_C" >&6 13998 echo $ECHO_N "checking X11/xpm.h usability... $ECHO_C" >&6; }
11997 cat >conftest.$ac_ext <<_ACEOF 13999 cat >conftest.$ac_ext <<_ACEOF
11998 /* confdefs.h. */ 14000 /* confdefs.h. */
11999 _ACEOF 14001 _ACEOF
12000 cat confdefs.h >>conftest.$ac_ext 14002 cat confdefs.h >>conftest.$ac_ext
12001 cat >>conftest.$ac_ext <<_ACEOF 14003 cat >>conftest.$ac_ext <<_ACEOF
12002 /* end confdefs.h. */ 14004 /* end confdefs.h. */
12003 $ac_includes_default 14005 $ac_includes_default
12004 #include <X11/xpm.h> 14006 #include <X11/xpm.h>
12005 _ACEOF 14007 _ACEOF
12006 rm -f conftest.$ac_objext 14008 rm -f conftest.$ac_objext
12007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 14009 if { (ac_try="$ac_compile"
12008 (eval $ac_compile) 2>conftest.er1 14010 case "(($ac_try" in
14011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14012 *) ac_try_echo=$ac_try;;
14013 esac
14014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14015 (eval "$ac_compile") 2>conftest.er1
12009 ac_status=$? 14016 ac_status=$?
12010 grep -v '^ *+' conftest.er1 >conftest.err 14017 grep -v '^ *+' conftest.er1 >conftest.err
12011 rm -f conftest.er1 14018 rm -f conftest.er1
12012 cat conftest.err >&5 14019 cat conftest.err >&5
12013 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12014 (exit $ac_status); } && 14021 (exit $ac_status); } &&
12015 { ac_try='test -z "$ac_c_werror_flag" 14022 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12016 || test ! -s conftest.err' 14023 { (case "(($ac_try" in
12017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12018 (eval $ac_try) 2>&5 14025 *) ac_try_echo=$ac_try;;
14026 esac
14027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14028 (eval "$ac_try") 2>&5
12019 ac_status=$? 14029 ac_status=$?
12020 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12021 (exit $ac_status); }; } && 14031 (exit $ac_status); }; } &&
12022 { ac_try='test -s conftest.$ac_objext' 14032 { ac_try='test -s conftest.$ac_objext'
12023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14033 { (case "(($ac_try" in
12024 (eval $ac_try) 2>&5 14034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14035 *) ac_try_echo=$ac_try;;
14036 esac
14037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14038 (eval "$ac_try") 2>&5
12025 ac_status=$? 14039 ac_status=$?
12026 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12027 (exit $ac_status); }; }; then 14041 (exit $ac_status); }; }; then
12028 ac_header_compiler=yes 14042 ac_header_compiler=yes
12029 else 14043 else
12030 echo "$as_me: failed program was:" >&5 14044 echo "$as_me: failed program was:" >&5
12031 sed 's/^/| /' conftest.$ac_ext >&5 14045 sed 's/^/| /' conftest.$ac_ext >&5
12032 14046
12033 ac_header_compiler=no 14047 ac_header_compiler=no
12034 fi 14048 fi
12035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 14049
12036 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 14050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12037 echo "${ECHO_T}$ac_header_compiler" >&6 14051 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14052 echo "${ECHO_T}$ac_header_compiler" >&6; }
12038 14053
12039 # Is the header present? 14054 # Is the header present?
12040 echo "$as_me:$LINENO: checking X11/xpm.h presence" >&5 14055 { echo "$as_me:$LINENO: checking X11/xpm.h presence" >&5
12041 echo $ECHO_N "checking X11/xpm.h presence... $ECHO_C" >&6 14056 echo $ECHO_N "checking X11/xpm.h presence... $ECHO_C" >&6; }
12042 cat >conftest.$ac_ext <<_ACEOF 14057 cat >conftest.$ac_ext <<_ACEOF
12043 /* confdefs.h. */ 14058 /* confdefs.h. */
12044 _ACEOF 14059 _ACEOF
12045 cat confdefs.h >>conftest.$ac_ext 14060 cat confdefs.h >>conftest.$ac_ext
12046 cat >>conftest.$ac_ext <<_ACEOF 14061 cat >>conftest.$ac_ext <<_ACEOF
12047 /* end confdefs.h. */ 14062 /* end confdefs.h. */
12048 #include <X11/xpm.h> 14063 #include <X11/xpm.h>
12049 _ACEOF 14064 _ACEOF
12050 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 14065 if { (ac_try="$ac_cpp conftest.$ac_ext"
12051 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 14066 case "(($ac_try" in
14067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14068 *) ac_try_echo=$ac_try;;
14069 esac
14070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14071 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12052 ac_status=$? 14072 ac_status=$?
12053 grep -v '^ *+' conftest.er1 >conftest.err 14073 grep -v '^ *+' conftest.er1 >conftest.err
12054 rm -f conftest.er1 14074 rm -f conftest.er1
12055 cat conftest.err >&5 14075 cat conftest.err >&5
12056 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12070 echo "$as_me: failed program was:" >&5 14090 echo "$as_me: failed program was:" >&5
12071 sed 's/^/| /' conftest.$ac_ext >&5 14091 sed 's/^/| /' conftest.$ac_ext >&5
12072 14092
12073 ac_header_preproc=no 14093 ac_header_preproc=no
12074 fi 14094 fi
14095
12075 rm -f conftest.err conftest.$ac_ext 14096 rm -f conftest.err conftest.$ac_ext
12076 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 14097 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12077 echo "${ECHO_T}$ac_header_preproc" >&6 14098 echo "${ECHO_T}$ac_header_preproc" >&6; }
12078 14099
12079 # So? What about this header? 14100 # So? What about this header?
12080 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 14101 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12081 yes:no: ) 14102 yes:no: )
12082 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&5 14103 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&5
12096 echo "$as_me: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&2;} 14117 echo "$as_me: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&2;}
12097 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&5 14118 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&5
12098 echo "$as_me: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&2;} 14119 echo "$as_me: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&2;}
12099 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&5 14120 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&5
12100 echo "$as_me: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&2;} 14121 echo "$as_me: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&2;}
12101 ( 14122
12102 cat <<\_ASBOX
12103 ## ------------------------------------------ ##
12104 ## Report this to the AC_PACKAGE_NAME lists. ##
12105 ## ------------------------------------------ ##
12106 _ASBOX
12107 ) |
12108 sed "s/^/$as_me: WARNING: /" >&2
12109 ;; 14123 ;;
12110 esac 14124 esac
12111 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5 14125 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
12112 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6 14126 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
12113 if test "${ac_cv_header_X11_xpm_h+set}" = set; then 14127 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
12114 echo $ECHO_N "(cached) $ECHO_C" >&6 14128 echo $ECHO_N "(cached) $ECHO_C" >&6
12115 else 14129 else
12116 ac_cv_header_X11_xpm_h=$ac_header_preproc 14130 ac_cv_header_X11_xpm_h=$ac_header_preproc
12117 fi 14131 fi
12118 echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5 14132 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5
12119 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6 14133 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6; }
12120 14134
12121 fi 14135 fi
12122 if test $ac_cv_header_X11_xpm_h = yes; then 14136 if test $ac_cv_header_X11_xpm_h = yes; then
12123 echo "$as_me:$LINENO: checking for XpmReadFileToPixmap in -lXpm" >&5 14137 { echo "$as_me:$LINENO: checking for XpmReadFileToPixmap in -lXpm" >&5
12124 echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6 14138 echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6; }
12125 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then 14139 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then
12126 echo $ECHO_N "(cached) $ECHO_C" >&6 14140 echo $ECHO_N "(cached) $ECHO_C" >&6
12127 else 14141 else
12128 ac_check_lib_save_LIBS=$LIBS 14142 ac_check_lib_save_LIBS=$LIBS
12129 LIBS="-lXpm -lX11 $LIBS" 14143 LIBS="-lXpm -lX11 $LIBS"
12132 _ACEOF 14146 _ACEOF
12133 cat confdefs.h >>conftest.$ac_ext 14147 cat confdefs.h >>conftest.$ac_ext
12134 cat >>conftest.$ac_ext <<_ACEOF 14148 cat >>conftest.$ac_ext <<_ACEOF
12135 /* end confdefs.h. */ 14149 /* end confdefs.h. */
12136 14150
12137 /* Override any gcc2 internal prototype to avoid an error. */ 14151 /* Override any GCC internal prototype to avoid an error.
14152 Use char because int might match the return type of a GCC
14153 builtin and then its argument prototype would still apply. */
12138 #ifdef __cplusplus 14154 #ifdef __cplusplus
12139 extern "C" 14155 extern "C"
12140 #endif 14156 #endif
12141 /* We use char because int might match the return type of a gcc2
12142 builtin and then its argument prototype would still apply. */
12143 char XpmReadFileToPixmap (); 14157 char XpmReadFileToPixmap ();
12144 int 14158 int
12145 main () 14159 main ()
12146 { 14160 {
12147 XpmReadFileToPixmap (); 14161 return XpmReadFileToPixmap ();
12148 ; 14162 ;
12149 return 0; 14163 return 0;
12150 } 14164 }
12151 _ACEOF 14165 _ACEOF
12152 rm -f conftest.$ac_objext conftest$ac_exeext 14166 rm -f conftest.$ac_objext conftest$ac_exeext
12153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 14167 if { (ac_try="$ac_link"
12154 (eval $ac_link) 2>conftest.er1 14168 case "(($ac_try" in
14169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14170 *) ac_try_echo=$ac_try;;
14171 esac
14172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14173 (eval "$ac_link") 2>conftest.er1
12155 ac_status=$? 14174 ac_status=$?
12156 grep -v '^ *+' conftest.er1 >conftest.err 14175 grep -v '^ *+' conftest.er1 >conftest.err
12157 rm -f conftest.er1 14176 rm -f conftest.er1
12158 cat conftest.err >&5 14177 cat conftest.err >&5
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 -z "$ac_c_werror_flag" 14180 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12162 || test ! -s conftest.err' 14181 { (case "(($ac_try" in
12163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12164 (eval $ac_try) 2>&5 14183 *) ac_try_echo=$ac_try;;
14184 esac
14185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14186 (eval "$ac_try") 2>&5
12165 ac_status=$? 14187 ac_status=$?
12166 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12167 (exit $ac_status); }; } && 14189 (exit $ac_status); }; } &&
12168 { ac_try='test -s conftest$ac_exeext' 14190 { ac_try='test -s conftest$ac_exeext'
12169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14191 { (case "(($ac_try" in
12170 (eval $ac_try) 2>&5 14192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14193 *) ac_try_echo=$ac_try;;
14194 esac
14195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14196 (eval "$ac_try") 2>&5
12171 ac_status=$? 14197 ac_status=$?
12172 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12173 (exit $ac_status); }; }; then 14199 (exit $ac_status); }; }; then
12174 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes 14200 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes
12175 else 14201 else
12176 echo "$as_me: failed program was:" >&5 14202 echo "$as_me: failed program was:" >&5
12177 sed 's/^/| /' conftest.$ac_ext >&5 14203 sed 's/^/| /' conftest.$ac_ext >&5
12178 14204
12179 ac_cv_lib_Xpm_XpmReadFileToPixmap=no 14205 ac_cv_lib_Xpm_XpmReadFileToPixmap=no
12180 fi 14206 fi
12181 rm -f conftest.err conftest.$ac_objext \ 14207
14208 rm -f core conftest.err conftest.$ac_objext \
12182 conftest$ac_exeext conftest.$ac_ext 14209 conftest$ac_exeext conftest.$ac_ext
12183 LIBS=$ac_check_lib_save_LIBS 14210 LIBS=$ac_check_lib_save_LIBS
12184 fi 14211 fi
12185 echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 14212 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
12186 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6 14213 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; }
12187 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then 14214 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then
12188 HAVE_XPM=yes 14215 HAVE_XPM=yes
12189 fi 14216 fi
12190 14217
12191 fi 14218 fi
12192 14219
12193 14220
12194 if test "${HAVE_XPM}" = "yes"; then 14221 if test "${HAVE_XPM}" = "yes"; then
12195 echo "$as_me:$LINENO: checking for XpmReturnAllocPixels preprocessor define" >&5 14222 { echo "$as_me:$LINENO: checking for XpmReturnAllocPixels preprocessor define" >&5
12196 echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6 14223 echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6; }
12197 cat >conftest.$ac_ext <<_ACEOF 14224 cat >conftest.$ac_ext <<_ACEOF
12198 /* confdefs.h. */ 14225 /* confdefs.h. */
12199 _ACEOF 14226 _ACEOF
12200 cat confdefs.h >>conftest.$ac_ext 14227 cat confdefs.h >>conftest.$ac_ext
12201 cat >>conftest.$ac_ext <<_ACEOF 14228 cat >>conftest.$ac_ext <<_ACEOF
12214 fi 14241 fi
12215 rm -f conftest* 14242 rm -f conftest*
12216 14243
12217 14244
12218 if test "${HAVE_XPM}" = "yes"; then 14245 if test "${HAVE_XPM}" = "yes"; then
12219 echo "$as_me:$LINENO: result: yes" >&5 14246 { echo "$as_me:$LINENO: result: yes" >&5
12220 echo "${ECHO_T}yes" >&6 14247 echo "${ECHO_T}yes" >&6; }
12221 else 14248 else
12222 echo "$as_me:$LINENO: result: no" >&5 14249 { echo "$as_me:$LINENO: result: no" >&5
12223 echo "${ECHO_T}no" >&6 14250 echo "${ECHO_T}no" >&6; }
12224 fi 14251 fi
12225 fi 14252 fi
12226 fi 14253 fi
12227 14254
12228 if test "${HAVE_XPM}" = "yes"; then 14255 if test "${HAVE_XPM}" = "yes"; then
12237 ### Use -ljpeg if available, unless `--with-jpeg=no'. 14264 ### Use -ljpeg if available, unless `--with-jpeg=no'.
12238 HAVE_JPEG=no 14265 HAVE_JPEG=no
12239 if test "${HAVE_X11}" = "yes"; then 14266 if test "${HAVE_X11}" = "yes"; then
12240 if test "${with_jpeg}" != "no"; then 14267 if test "${with_jpeg}" != "no"; then
12241 if test "${ac_cv_header_jerror_h+set}" = set; then 14268 if test "${ac_cv_header_jerror_h+set}" = set; then
12242 echo "$as_me:$LINENO: checking for jerror.h" >&5 14269 { echo "$as_me:$LINENO: checking for jerror.h" >&5
12243 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6 14270 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6; }
12244 if test "${ac_cv_header_jerror_h+set}" = set; then 14271 if test "${ac_cv_header_jerror_h+set}" = set; then
12245 echo $ECHO_N "(cached) $ECHO_C" >&6 14272 echo $ECHO_N "(cached) $ECHO_C" >&6
12246 fi 14273 fi
12247 echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5 14274 { echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5
12248 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6 14275 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6; }
12249 else 14276 else
12250 # Is the header compilable? 14277 # Is the header compilable?
12251 echo "$as_me:$LINENO: checking jerror.h usability" >&5 14278 { echo "$as_me:$LINENO: checking jerror.h usability" >&5
12252 echo $ECHO_N "checking jerror.h usability... $ECHO_C" >&6 14279 echo $ECHO_N "checking jerror.h usability... $ECHO_C" >&6; }
12253 cat >conftest.$ac_ext <<_ACEOF 14280 cat >conftest.$ac_ext <<_ACEOF
12254 /* confdefs.h. */ 14281 /* confdefs.h. */
12255 _ACEOF 14282 _ACEOF
12256 cat confdefs.h >>conftest.$ac_ext 14283 cat confdefs.h >>conftest.$ac_ext
12257 cat >>conftest.$ac_ext <<_ACEOF 14284 cat >>conftest.$ac_ext <<_ACEOF
12258 /* end confdefs.h. */ 14285 /* end confdefs.h. */
12259 $ac_includes_default 14286 $ac_includes_default
12260 #include <jerror.h> 14287 #include <jerror.h>
12261 _ACEOF 14288 _ACEOF
12262 rm -f conftest.$ac_objext 14289 rm -f conftest.$ac_objext
12263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 14290 if { (ac_try="$ac_compile"
12264 (eval $ac_compile) 2>conftest.er1 14291 case "(($ac_try" in
14292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14293 *) ac_try_echo=$ac_try;;
14294 esac
14295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14296 (eval "$ac_compile") 2>conftest.er1
12265 ac_status=$? 14297 ac_status=$?
12266 grep -v '^ *+' conftest.er1 >conftest.err 14298 grep -v '^ *+' conftest.er1 >conftest.err
12267 rm -f conftest.er1 14299 rm -f conftest.er1
12268 cat conftest.err >&5 14300 cat conftest.err >&5
12269 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12270 (exit $ac_status); } && 14302 (exit $ac_status); } &&
12271 { ac_try='test -z "$ac_c_werror_flag" 14303 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12272 || test ! -s conftest.err' 14304 { (case "(($ac_try" in
12273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12274 (eval $ac_try) 2>&5 14306 *) ac_try_echo=$ac_try;;
14307 esac
14308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14309 (eval "$ac_try") 2>&5
12275 ac_status=$? 14310 ac_status=$?
12276 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12277 (exit $ac_status); }; } && 14312 (exit $ac_status); }; } &&
12278 { ac_try='test -s conftest.$ac_objext' 14313 { ac_try='test -s conftest.$ac_objext'
12279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14314 { (case "(($ac_try" in
12280 (eval $ac_try) 2>&5 14315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14316 *) ac_try_echo=$ac_try;;
14317 esac
14318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14319 (eval "$ac_try") 2>&5
12281 ac_status=$? 14320 ac_status=$?
12282 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12283 (exit $ac_status); }; }; then 14322 (exit $ac_status); }; }; then
12284 ac_header_compiler=yes 14323 ac_header_compiler=yes
12285 else 14324 else
12286 echo "$as_me: failed program was:" >&5 14325 echo "$as_me: failed program was:" >&5
12287 sed 's/^/| /' conftest.$ac_ext >&5 14326 sed 's/^/| /' conftest.$ac_ext >&5
12288 14327
12289 ac_header_compiler=no 14328 ac_header_compiler=no
12290 fi 14329 fi
12291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 14330
12292 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 14331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12293 echo "${ECHO_T}$ac_header_compiler" >&6 14332 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14333 echo "${ECHO_T}$ac_header_compiler" >&6; }
12294 14334
12295 # Is the header present? 14335 # Is the header present?
12296 echo "$as_me:$LINENO: checking jerror.h presence" >&5 14336 { echo "$as_me:$LINENO: checking jerror.h presence" >&5
12297 echo $ECHO_N "checking jerror.h presence... $ECHO_C" >&6 14337 echo $ECHO_N "checking jerror.h presence... $ECHO_C" >&6; }
12298 cat >conftest.$ac_ext <<_ACEOF 14338 cat >conftest.$ac_ext <<_ACEOF
12299 /* confdefs.h. */ 14339 /* confdefs.h. */
12300 _ACEOF 14340 _ACEOF
12301 cat confdefs.h >>conftest.$ac_ext 14341 cat confdefs.h >>conftest.$ac_ext
12302 cat >>conftest.$ac_ext <<_ACEOF 14342 cat >>conftest.$ac_ext <<_ACEOF
12303 /* end confdefs.h. */ 14343 /* end confdefs.h. */
12304 #include <jerror.h> 14344 #include <jerror.h>
12305 _ACEOF 14345 _ACEOF
12306 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 14346 if { (ac_try="$ac_cpp conftest.$ac_ext"
12307 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 14347 case "(($ac_try" in
14348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14349 *) ac_try_echo=$ac_try;;
14350 esac
14351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14352 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12308 ac_status=$? 14353 ac_status=$?
12309 grep -v '^ *+' conftest.er1 >conftest.err 14354 grep -v '^ *+' conftest.er1 >conftest.err
12310 rm -f conftest.er1 14355 rm -f conftest.er1
12311 cat conftest.err >&5 14356 cat conftest.err >&5
12312 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12326 echo "$as_me: failed program was:" >&5 14371 echo "$as_me: failed program was:" >&5
12327 sed 's/^/| /' conftest.$ac_ext >&5 14372 sed 's/^/| /' conftest.$ac_ext >&5
12328 14373
12329 ac_header_preproc=no 14374 ac_header_preproc=no
12330 fi 14375 fi
14376
12331 rm -f conftest.err conftest.$ac_ext 14377 rm -f conftest.err conftest.$ac_ext
12332 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 14378 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12333 echo "${ECHO_T}$ac_header_preproc" >&6 14379 echo "${ECHO_T}$ac_header_preproc" >&6; }
12334 14380
12335 # So? What about this header? 14381 # So? What about this header?
12336 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 14382 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12337 yes:no: ) 14383 yes:no: )
12338 { echo "$as_me:$LINENO: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&5 14384 { echo "$as_me:$LINENO: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&5
12352 echo "$as_me: WARNING: jerror.h: section \"Present But Cannot Be Compiled\"" >&2;} 14398 echo "$as_me: WARNING: jerror.h: section \"Present But Cannot Be Compiled\"" >&2;}
12353 { echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the preprocessor's result" >&5 14399 { echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the preprocessor's result" >&5
12354 echo "$as_me: WARNING: jerror.h: proceeding with the preprocessor's result" >&2;} 14400 echo "$as_me: WARNING: jerror.h: proceeding with the preprocessor's result" >&2;}
12355 { echo "$as_me:$LINENO: WARNING: jerror.h: in the future, the compiler will take precedence" >&5 14401 { echo "$as_me:$LINENO: WARNING: jerror.h: in the future, the compiler will take precedence" >&5
12356 echo "$as_me: WARNING: jerror.h: in the future, the compiler will take precedence" >&2;} 14402 echo "$as_me: WARNING: jerror.h: in the future, the compiler will take precedence" >&2;}
12357 ( 14403
12358 cat <<\_ASBOX
12359 ## ------------------------------------------ ##
12360 ## Report this to the AC_PACKAGE_NAME lists. ##
12361 ## ------------------------------------------ ##
12362 _ASBOX
12363 ) |
12364 sed "s/^/$as_me: WARNING: /" >&2
12365 ;; 14404 ;;
12366 esac 14405 esac
12367 echo "$as_me:$LINENO: checking for jerror.h" >&5 14406 { echo "$as_me:$LINENO: checking for jerror.h" >&5
12368 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6 14407 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6; }
12369 if test "${ac_cv_header_jerror_h+set}" = set; then 14408 if test "${ac_cv_header_jerror_h+set}" = set; then
12370 echo $ECHO_N "(cached) $ECHO_C" >&6 14409 echo $ECHO_N "(cached) $ECHO_C" >&6
12371 else 14410 else
12372 ac_cv_header_jerror_h=$ac_header_preproc 14411 ac_cv_header_jerror_h=$ac_header_preproc
12373 fi 14412 fi
12374 echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5 14413 { echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5
12375 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6 14414 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6; }
12376 14415
12377 fi 14416 fi
12378 if test $ac_cv_header_jerror_h = yes; then 14417 if test $ac_cv_header_jerror_h = yes; then
12379 echo "$as_me:$LINENO: checking for jpeg_destroy_compress in -ljpeg" >&5 14418 { echo "$as_me:$LINENO: checking for jpeg_destroy_compress in -ljpeg" >&5
12380 echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6 14419 echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6; }
12381 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then 14420 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then
12382 echo $ECHO_N "(cached) $ECHO_C" >&6 14421 echo $ECHO_N "(cached) $ECHO_C" >&6
12383 else 14422 else
12384 ac_check_lib_save_LIBS=$LIBS 14423 ac_check_lib_save_LIBS=$LIBS
12385 LIBS="-ljpeg $LIBS" 14424 LIBS="-ljpeg $LIBS"
12388 _ACEOF 14427 _ACEOF
12389 cat confdefs.h >>conftest.$ac_ext 14428 cat confdefs.h >>conftest.$ac_ext
12390 cat >>conftest.$ac_ext <<_ACEOF 14429 cat >>conftest.$ac_ext <<_ACEOF
12391 /* end confdefs.h. */ 14430 /* end confdefs.h. */
12392 14431
12393 /* Override any gcc2 internal prototype to avoid an error. */ 14432 /* Override any GCC internal prototype to avoid an error.
14433 Use char because int might match the return type of a GCC
14434 builtin and then its argument prototype would still apply. */
12394 #ifdef __cplusplus 14435 #ifdef __cplusplus
12395 extern "C" 14436 extern "C"
12396 #endif 14437 #endif
12397 /* We use char because int might match the return type of a gcc2
12398 builtin and then its argument prototype would still apply. */
12399 char jpeg_destroy_compress (); 14438 char jpeg_destroy_compress ();
12400 int 14439 int
12401 main () 14440 main ()
12402 { 14441 {
12403 jpeg_destroy_compress (); 14442 return jpeg_destroy_compress ();
12404 ; 14443 ;
12405 return 0; 14444 return 0;
12406 } 14445 }
12407 _ACEOF 14446 _ACEOF
12408 rm -f conftest.$ac_objext conftest$ac_exeext 14447 rm -f conftest.$ac_objext conftest$ac_exeext
12409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 14448 if { (ac_try="$ac_link"
12410 (eval $ac_link) 2>conftest.er1 14449 case "(($ac_try" in
14450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14451 *) ac_try_echo=$ac_try;;
14452 esac
14453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14454 (eval "$ac_link") 2>conftest.er1
12411 ac_status=$? 14455 ac_status=$?
12412 grep -v '^ *+' conftest.er1 >conftest.err 14456 grep -v '^ *+' conftest.er1 >conftest.err
12413 rm -f conftest.er1 14457 rm -f conftest.er1
12414 cat conftest.err >&5 14458 cat conftest.err >&5
12415 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12416 (exit $ac_status); } && 14460 (exit $ac_status); } &&
12417 { ac_try='test -z "$ac_c_werror_flag" 14461 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12418 || test ! -s conftest.err' 14462 { (case "(($ac_try" in
12419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12420 (eval $ac_try) 2>&5 14464 *) ac_try_echo=$ac_try;;
14465 esac
14466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14467 (eval "$ac_try") 2>&5
12421 ac_status=$? 14468 ac_status=$?
12422 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12423 (exit $ac_status); }; } && 14470 (exit $ac_status); }; } &&
12424 { ac_try='test -s conftest$ac_exeext' 14471 { ac_try='test -s conftest$ac_exeext'
12425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14472 { (case "(($ac_try" in
12426 (eval $ac_try) 2>&5 14473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14474 *) ac_try_echo=$ac_try;;
14475 esac
14476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14477 (eval "$ac_try") 2>&5
12427 ac_status=$? 14478 ac_status=$?
12428 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12429 (exit $ac_status); }; }; then 14480 (exit $ac_status); }; }; then
12430 ac_cv_lib_jpeg_jpeg_destroy_compress=yes 14481 ac_cv_lib_jpeg_jpeg_destroy_compress=yes
12431 else 14482 else
12432 echo "$as_me: failed program was:" >&5 14483 echo "$as_me: failed program was:" >&5
12433 sed 's/^/| /' conftest.$ac_ext >&5 14484 sed 's/^/| /' conftest.$ac_ext >&5
12434 14485
12435 ac_cv_lib_jpeg_jpeg_destroy_compress=no 14486 ac_cv_lib_jpeg_jpeg_destroy_compress=no
12436 fi 14487 fi
12437 rm -f conftest.err conftest.$ac_objext \ 14488
14489 rm -f core conftest.err conftest.$ac_objext \
12438 conftest$ac_exeext conftest.$ac_ext 14490 conftest$ac_exeext conftest.$ac_ext
12439 LIBS=$ac_check_lib_save_LIBS 14491 LIBS=$ac_check_lib_save_LIBS
12440 fi 14492 fi
12441 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 14493 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5
12442 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6 14494 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6; }
12443 if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then 14495 if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then
12444 HAVE_JPEG=yes 14496 HAVE_JPEG=yes
12445 fi 14497 fi
12446 14498
12447 fi 14499 fi
12490 14542
12491 14543
12492 for ac_header in png.h libpng/png.h 14544 for ac_header in png.h libpng/png.h
12493 do 14545 do
12494 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 14546 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12495 if eval "test \"\${$as_ac_Header+set}\" = set"; then 14547 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12496 echo "$as_me:$LINENO: checking for $ac_header" >&5 14548 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 14549 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12498 if eval "test \"\${$as_ac_Header+set}\" = set"; then 14550 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12499 echo $ECHO_N "(cached) $ECHO_C" >&6 14551 echo $ECHO_N "(cached) $ECHO_C" >&6
12500 fi 14552 fi
12501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 14553 ac_res=`eval echo '${'$as_ac_Header'}'`
12502 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 14554 { echo "$as_me:$LINENO: result: $ac_res" >&5
14555 echo "${ECHO_T}$ac_res" >&6; }
12503 else 14556 else
12504 # Is the header compilable? 14557 # Is the header compilable?
12505 echo "$as_me:$LINENO: checking $ac_header usability" >&5 14558 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12506 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 14559 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12507 cat >conftest.$ac_ext <<_ACEOF 14560 cat >conftest.$ac_ext <<_ACEOF
12508 /* confdefs.h. */ 14561 /* confdefs.h. */
12509 _ACEOF 14562 _ACEOF
12510 cat confdefs.h >>conftest.$ac_ext 14563 cat confdefs.h >>conftest.$ac_ext
12511 cat >>conftest.$ac_ext <<_ACEOF 14564 cat >>conftest.$ac_ext <<_ACEOF
12512 /* end confdefs.h. */ 14565 /* end confdefs.h. */
12513 $ac_includes_default 14566 $ac_includes_default
12514 #include <$ac_header> 14567 #include <$ac_header>
12515 _ACEOF 14568 _ACEOF
12516 rm -f conftest.$ac_objext 14569 rm -f conftest.$ac_objext
12517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 14570 if { (ac_try="$ac_compile"
12518 (eval $ac_compile) 2>conftest.er1 14571 case "(($ac_try" in
14572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14573 *) ac_try_echo=$ac_try;;
14574 esac
14575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14576 (eval "$ac_compile") 2>conftest.er1
12519 ac_status=$? 14577 ac_status=$?
12520 grep -v '^ *+' conftest.er1 >conftest.err 14578 grep -v '^ *+' conftest.er1 >conftest.err
12521 rm -f conftest.er1 14579 rm -f conftest.er1
12522 cat conftest.err >&5 14580 cat conftest.err >&5
12523 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12524 (exit $ac_status); } && 14582 (exit $ac_status); } &&
12525 { ac_try='test -z "$ac_c_werror_flag" 14583 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12526 || test ! -s conftest.err' 14584 { (case "(($ac_try" in
12527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12528 (eval $ac_try) 2>&5 14586 *) ac_try_echo=$ac_try;;
14587 esac
14588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14589 (eval "$ac_try") 2>&5
12529 ac_status=$? 14590 ac_status=$?
12530 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12531 (exit $ac_status); }; } && 14592 (exit $ac_status); }; } &&
12532 { ac_try='test -s conftest.$ac_objext' 14593 { ac_try='test -s conftest.$ac_objext'
12533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14594 { (case "(($ac_try" in
12534 (eval $ac_try) 2>&5 14595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14596 *) ac_try_echo=$ac_try;;
14597 esac
14598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14599 (eval "$ac_try") 2>&5
12535 ac_status=$? 14600 ac_status=$?
12536 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12537 (exit $ac_status); }; }; then 14602 (exit $ac_status); }; }; then
12538 ac_header_compiler=yes 14603 ac_header_compiler=yes
12539 else 14604 else
12540 echo "$as_me: failed program was:" >&5 14605 echo "$as_me: failed program was:" >&5
12541 sed 's/^/| /' conftest.$ac_ext >&5 14606 sed 's/^/| /' conftest.$ac_ext >&5
12542 14607
12543 ac_header_compiler=no 14608 ac_header_compiler=no
12544 fi 14609 fi
12545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 14610
12546 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 14611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12547 echo "${ECHO_T}$ac_header_compiler" >&6 14612 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14613 echo "${ECHO_T}$ac_header_compiler" >&6; }
12548 14614
12549 # Is the header present? 14615 # Is the header present?
12550 echo "$as_me:$LINENO: checking $ac_header presence" >&5 14616 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
12551 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 14617 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12552 cat >conftest.$ac_ext <<_ACEOF 14618 cat >conftest.$ac_ext <<_ACEOF
12553 /* confdefs.h. */ 14619 /* confdefs.h. */
12554 _ACEOF 14620 _ACEOF
12555 cat confdefs.h >>conftest.$ac_ext 14621 cat confdefs.h >>conftest.$ac_ext
12556 cat >>conftest.$ac_ext <<_ACEOF 14622 cat >>conftest.$ac_ext <<_ACEOF
12557 /* end confdefs.h. */ 14623 /* end confdefs.h. */
12558 #include <$ac_header> 14624 #include <$ac_header>
12559 _ACEOF 14625 _ACEOF
12560 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 14626 if { (ac_try="$ac_cpp conftest.$ac_ext"
12561 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 14627 case "(($ac_try" in
14628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14629 *) ac_try_echo=$ac_try;;
14630 esac
14631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14632 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12562 ac_status=$? 14633 ac_status=$?
12563 grep -v '^ *+' conftest.er1 >conftest.err 14634 grep -v '^ *+' conftest.er1 >conftest.err
12564 rm -f conftest.er1 14635 rm -f conftest.er1
12565 cat conftest.err >&5 14636 cat conftest.err >&5
12566 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12580 echo "$as_me: failed program was:" >&5 14651 echo "$as_me: failed program was:" >&5
12581 sed 's/^/| /' conftest.$ac_ext >&5 14652 sed 's/^/| /' conftest.$ac_ext >&5
12582 14653
12583 ac_header_preproc=no 14654 ac_header_preproc=no
12584 fi 14655 fi
14656
12585 rm -f conftest.err conftest.$ac_ext 14657 rm -f conftest.err conftest.$ac_ext
12586 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 14658 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12587 echo "${ECHO_T}$ac_header_preproc" >&6 14659 echo "${ECHO_T}$ac_header_preproc" >&6; }
12588 14660
12589 # So? What about this header? 14661 # So? What about this header?
12590 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 14662 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12591 yes:no: ) 14663 yes:no: )
12592 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 14664 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12606 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 14678 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12607 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 14679 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12608 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 14680 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12609 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 14681 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12610 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 14682 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12611 ( 14683
12612 cat <<\_ASBOX
12613 ## ------------------------------------------ ##
12614 ## Report this to the AC_PACKAGE_NAME lists. ##
12615 ## ------------------------------------------ ##
12616 _ASBOX
12617 ) |
12618 sed "s/^/$as_me: WARNING: /" >&2
12619 ;; 14684 ;;
12620 esac 14685 esac
12621 echo "$as_me:$LINENO: checking for $ac_header" >&5 14686 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12622 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 14687 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12623 if eval "test \"\${$as_ac_Header+set}\" = set"; then 14688 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12624 echo $ECHO_N "(cached) $ECHO_C" >&6 14689 echo $ECHO_N "(cached) $ECHO_C" >&6
12625 else 14690 else
12626 eval "$as_ac_Header=\$ac_header_preproc" 14691 eval "$as_ac_Header=\$ac_header_preproc"
12627 fi 14692 fi
12628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 14693 ac_res=`eval echo '${'$as_ac_Header'}'`
12629 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 14694 { echo "$as_me:$LINENO: result: $ac_res" >&5
14695 echo "${ECHO_T}$ac_res" >&6; }
12630 14696
12631 fi 14697 fi
12632 if test `eval echo '${'$as_ac_Header'}'` = yes; then 14698 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12633 cat >>confdefs.h <<_ACEOF 14699 cat >>confdefs.h <<_ACEOF
12634 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 14700 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12637 fi 14703 fi
12638 14704
12639 done 14705 done
12640 14706
12641 if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then 14707 if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then
12642 echo "$as_me:$LINENO: checking for png_get_channels in -lpng" >&5 14708 { echo "$as_me:$LINENO: checking for png_get_channels in -lpng" >&5
12643 echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6 14709 echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6; }
12644 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then 14710 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then
12645 echo $ECHO_N "(cached) $ECHO_C" >&6 14711 echo $ECHO_N "(cached) $ECHO_C" >&6
12646 else 14712 else
12647 ac_check_lib_save_LIBS=$LIBS 14713 ac_check_lib_save_LIBS=$LIBS
12648 LIBS="-lpng -lz -lm $LIBS" 14714 LIBS="-lpng -lz -lm $LIBS"
12651 _ACEOF 14717 _ACEOF
12652 cat confdefs.h >>conftest.$ac_ext 14718 cat confdefs.h >>conftest.$ac_ext
12653 cat >>conftest.$ac_ext <<_ACEOF 14719 cat >>conftest.$ac_ext <<_ACEOF
12654 /* end confdefs.h. */ 14720 /* end confdefs.h. */
12655 14721
12656 /* Override any gcc2 internal prototype to avoid an error. */ 14722 /* Override any GCC internal prototype to avoid an error.
14723 Use char because int might match the return type of a GCC
14724 builtin and then its argument prototype would still apply. */
12657 #ifdef __cplusplus 14725 #ifdef __cplusplus
12658 extern "C" 14726 extern "C"
12659 #endif 14727 #endif
12660 /* We use char because int might match the return type of a gcc2
12661 builtin and then its argument prototype would still apply. */
12662 char png_get_channels (); 14728 char png_get_channels ();
12663 int 14729 int
12664 main () 14730 main ()
12665 { 14731 {
12666 png_get_channels (); 14732 return png_get_channels ();
12667 ; 14733 ;
12668 return 0; 14734 return 0;
12669 } 14735 }
12670 _ACEOF 14736 _ACEOF
12671 rm -f conftest.$ac_objext conftest$ac_exeext 14737 rm -f conftest.$ac_objext conftest$ac_exeext
12672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 14738 if { (ac_try="$ac_link"
12673 (eval $ac_link) 2>conftest.er1 14739 case "(($ac_try" in
14740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14741 *) ac_try_echo=$ac_try;;
14742 esac
14743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14744 (eval "$ac_link") 2>conftest.er1
12674 ac_status=$? 14745 ac_status=$?
12675 grep -v '^ *+' conftest.er1 >conftest.err 14746 grep -v '^ *+' conftest.er1 >conftest.err
12676 rm -f conftest.er1 14747 rm -f conftest.er1
12677 cat conftest.err >&5 14748 cat conftest.err >&5
12678 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12679 (exit $ac_status); } && 14750 (exit $ac_status); } &&
12680 { ac_try='test -z "$ac_c_werror_flag" 14751 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12681 || test ! -s conftest.err' 14752 { (case "(($ac_try" in
12682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12683 (eval $ac_try) 2>&5 14754 *) ac_try_echo=$ac_try;;
14755 esac
14756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14757 (eval "$ac_try") 2>&5
12684 ac_status=$? 14758 ac_status=$?
12685 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12686 (exit $ac_status); }; } && 14760 (exit $ac_status); }; } &&
12687 { ac_try='test -s conftest$ac_exeext' 14761 { ac_try='test -s conftest$ac_exeext'
12688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14762 { (case "(($ac_try" in
12689 (eval $ac_try) 2>&5 14763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14764 *) ac_try_echo=$ac_try;;
14765 esac
14766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14767 (eval "$ac_try") 2>&5
12690 ac_status=$? 14768 ac_status=$?
12691 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12692 (exit $ac_status); }; }; then 14770 (exit $ac_status); }; }; then
12693 ac_cv_lib_png_png_get_channels=yes 14771 ac_cv_lib_png_png_get_channels=yes
12694 else 14772 else
12695 echo "$as_me: failed program was:" >&5 14773 echo "$as_me: failed program was:" >&5
12696 sed 's/^/| /' conftest.$ac_ext >&5 14774 sed 's/^/| /' conftest.$ac_ext >&5
12697 14775
12698 ac_cv_lib_png_png_get_channels=no 14776 ac_cv_lib_png_png_get_channels=no
12699 fi 14777 fi
12700 rm -f conftest.err conftest.$ac_objext \ 14778
14779 rm -f core conftest.err conftest.$ac_objext \
12701 conftest$ac_exeext conftest.$ac_ext 14780 conftest$ac_exeext conftest.$ac_ext
12702 LIBS=$ac_check_lib_save_LIBS 14781 LIBS=$ac_check_lib_save_LIBS
12703 fi 14782 fi
12704 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_get_channels" >&5 14783 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_get_channels" >&5
12705 echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6 14784 echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6; }
12706 if test $ac_cv_lib_png_png_get_channels = yes; then 14785 if test $ac_cv_lib_png_png_get_channels = yes; then
12707 HAVE_PNG=yes 14786 HAVE_PNG=yes
12708 fi 14787 fi
12709 14788
12710 fi 14789 fi
12722 ### Use -ltiff if available, unless `--with-tiff=no'. 14801 ### Use -ltiff if available, unless `--with-tiff=no'.
12723 HAVE_TIFF=no 14802 HAVE_TIFF=no
12724 if test "${HAVE_X11}" = "yes"; then 14803 if test "${HAVE_X11}" = "yes"; then
12725 if test "${with_tiff}" != "no"; then 14804 if test "${with_tiff}" != "no"; then
12726 if test "${ac_cv_header_tiffio_h+set}" = set; then 14805 if test "${ac_cv_header_tiffio_h+set}" = set; then
12727 echo "$as_me:$LINENO: checking for tiffio.h" >&5 14806 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
12728 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6 14807 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
12729 if test "${ac_cv_header_tiffio_h+set}" = set; then 14808 if test "${ac_cv_header_tiffio_h+set}" = set; then
12730 echo $ECHO_N "(cached) $ECHO_C" >&6 14809 echo $ECHO_N "(cached) $ECHO_C" >&6
12731 fi 14810 fi
12732 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5 14811 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
12733 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6 14812 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
12734 else 14813 else
12735 # Is the header compilable? 14814 # Is the header compilable?
12736 echo "$as_me:$LINENO: checking tiffio.h usability" >&5 14815 { echo "$as_me:$LINENO: checking tiffio.h usability" >&5
12737 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6 14816 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6; }
12738 cat >conftest.$ac_ext <<_ACEOF 14817 cat >conftest.$ac_ext <<_ACEOF
12739 /* confdefs.h. */ 14818 /* confdefs.h. */
12740 _ACEOF 14819 _ACEOF
12741 cat confdefs.h >>conftest.$ac_ext 14820 cat confdefs.h >>conftest.$ac_ext
12742 cat >>conftest.$ac_ext <<_ACEOF 14821 cat >>conftest.$ac_ext <<_ACEOF
12743 /* end confdefs.h. */ 14822 /* end confdefs.h. */
12744 $ac_includes_default 14823 $ac_includes_default
12745 #include <tiffio.h> 14824 #include <tiffio.h>
12746 _ACEOF 14825 _ACEOF
12747 rm -f conftest.$ac_objext 14826 rm -f conftest.$ac_objext
12748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 14827 if { (ac_try="$ac_compile"
12749 (eval $ac_compile) 2>conftest.er1 14828 case "(($ac_try" in
14829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14830 *) ac_try_echo=$ac_try;;
14831 esac
14832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14833 (eval "$ac_compile") 2>conftest.er1
12750 ac_status=$? 14834 ac_status=$?
12751 grep -v '^ *+' conftest.er1 >conftest.err 14835 grep -v '^ *+' conftest.er1 >conftest.err
12752 rm -f conftest.er1 14836 rm -f conftest.er1
12753 cat conftest.err >&5 14837 cat conftest.err >&5
12754 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12755 (exit $ac_status); } && 14839 (exit $ac_status); } &&
12756 { ac_try='test -z "$ac_c_werror_flag" 14840 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12757 || test ! -s conftest.err' 14841 { (case "(($ac_try" in
12758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12759 (eval $ac_try) 2>&5 14843 *) ac_try_echo=$ac_try;;
14844 esac
14845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14846 (eval "$ac_try") 2>&5
12760 ac_status=$? 14847 ac_status=$?
12761 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12762 (exit $ac_status); }; } && 14849 (exit $ac_status); }; } &&
12763 { ac_try='test -s conftest.$ac_objext' 14850 { ac_try='test -s conftest.$ac_objext'
12764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14851 { (case "(($ac_try" in
12765 (eval $ac_try) 2>&5 14852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14853 *) ac_try_echo=$ac_try;;
14854 esac
14855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14856 (eval "$ac_try") 2>&5
12766 ac_status=$? 14857 ac_status=$?
12767 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12768 (exit $ac_status); }; }; then 14859 (exit $ac_status); }; }; then
12769 ac_header_compiler=yes 14860 ac_header_compiler=yes
12770 else 14861 else
12771 echo "$as_me: failed program was:" >&5 14862 echo "$as_me: failed program was:" >&5
12772 sed 's/^/| /' conftest.$ac_ext >&5 14863 sed 's/^/| /' conftest.$ac_ext >&5
12773 14864
12774 ac_header_compiler=no 14865 ac_header_compiler=no
12775 fi 14866 fi
12776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 14867
12777 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 14868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12778 echo "${ECHO_T}$ac_header_compiler" >&6 14869 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14870 echo "${ECHO_T}$ac_header_compiler" >&6; }
12779 14871
12780 # Is the header present? 14872 # Is the header present?
12781 echo "$as_me:$LINENO: checking tiffio.h presence" >&5 14873 { echo "$as_me:$LINENO: checking tiffio.h presence" >&5
12782 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6 14874 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6; }
12783 cat >conftest.$ac_ext <<_ACEOF 14875 cat >conftest.$ac_ext <<_ACEOF
12784 /* confdefs.h. */ 14876 /* confdefs.h. */
12785 _ACEOF 14877 _ACEOF
12786 cat confdefs.h >>conftest.$ac_ext 14878 cat confdefs.h >>conftest.$ac_ext
12787 cat >>conftest.$ac_ext <<_ACEOF 14879 cat >>conftest.$ac_ext <<_ACEOF
12788 /* end confdefs.h. */ 14880 /* end confdefs.h. */
12789 #include <tiffio.h> 14881 #include <tiffio.h>
12790 _ACEOF 14882 _ACEOF
12791 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 14883 if { (ac_try="$ac_cpp conftest.$ac_ext"
12792 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 14884 case "(($ac_try" in
14885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14886 *) ac_try_echo=$ac_try;;
14887 esac
14888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14889 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12793 ac_status=$? 14890 ac_status=$?
12794 grep -v '^ *+' conftest.er1 >conftest.err 14891 grep -v '^ *+' conftest.er1 >conftest.err
12795 rm -f conftest.er1 14892 rm -f conftest.er1
12796 cat conftest.err >&5 14893 cat conftest.err >&5
12797 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12811 echo "$as_me: failed program was:" >&5 14908 echo "$as_me: failed program was:" >&5
12812 sed 's/^/| /' conftest.$ac_ext >&5 14909 sed 's/^/| /' conftest.$ac_ext >&5
12813 14910
12814 ac_header_preproc=no 14911 ac_header_preproc=no
12815 fi 14912 fi
14913
12816 rm -f conftest.err conftest.$ac_ext 14914 rm -f conftest.err conftest.$ac_ext
12817 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 14915 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12818 echo "${ECHO_T}$ac_header_preproc" >&6 14916 echo "${ECHO_T}$ac_header_preproc" >&6; }
12819 14917
12820 # So? What about this header? 14918 # So? What about this header?
12821 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 14919 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12822 yes:no: ) 14920 yes:no: )
12823 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5 14921 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
12837 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;} 14935 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
12838 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5 14936 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
12839 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;} 14937 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
12840 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5 14938 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
12841 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;} 14939 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
12842 ( 14940
12843 cat <<\_ASBOX
12844 ## ------------------------------------------ ##
12845 ## Report this to the AC_PACKAGE_NAME lists. ##
12846 ## ------------------------------------------ ##
12847 _ASBOX
12848 ) |
12849 sed "s/^/$as_me: WARNING: /" >&2
12850 ;; 14941 ;;
12851 esac 14942 esac
12852 echo "$as_me:$LINENO: checking for tiffio.h" >&5 14943 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
12853 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6 14944 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
12854 if test "${ac_cv_header_tiffio_h+set}" = set; then 14945 if test "${ac_cv_header_tiffio_h+set}" = set; then
12855 echo $ECHO_N "(cached) $ECHO_C" >&6 14946 echo $ECHO_N "(cached) $ECHO_C" >&6
12856 else 14947 else
12857 ac_cv_header_tiffio_h=$ac_header_preproc 14948 ac_cv_header_tiffio_h=$ac_header_preproc
12858 fi 14949 fi
12859 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5 14950 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
12860 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6 14951 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
12861 14952
12862 fi 14953 fi
12863 if test $ac_cv_header_tiffio_h = yes; then 14954 if test $ac_cv_header_tiffio_h = yes; then
12864 tifflibs="-lz -lm" 14955 tifflibs="-lz -lm"
12865 # At least one tiff package requires the jpeg library. 14956 # At least one tiff package requires the jpeg library.
12866 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi 14957 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
12867 echo "$as_me:$LINENO: checking for TIFFGetVersion in -ltiff" >&5 14958 { echo "$as_me:$LINENO: checking for TIFFGetVersion in -ltiff" >&5
12868 echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6 14959 echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6; }
12869 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then 14960 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then
12870 echo $ECHO_N "(cached) $ECHO_C" >&6 14961 echo $ECHO_N "(cached) $ECHO_C" >&6
12871 else 14962 else
12872 ac_check_lib_save_LIBS=$LIBS 14963 ac_check_lib_save_LIBS=$LIBS
12873 LIBS="-ltiff $tifflibs $LIBS" 14964 LIBS="-ltiff $tifflibs $LIBS"
12876 _ACEOF 14967 _ACEOF
12877 cat confdefs.h >>conftest.$ac_ext 14968 cat confdefs.h >>conftest.$ac_ext
12878 cat >>conftest.$ac_ext <<_ACEOF 14969 cat >>conftest.$ac_ext <<_ACEOF
12879 /* end confdefs.h. */ 14970 /* end confdefs.h. */
12880 14971
12881 /* Override any gcc2 internal prototype to avoid an error. */ 14972 /* Override any GCC internal prototype to avoid an error.
14973 Use char because int might match the return type of a GCC
14974 builtin and then its argument prototype would still apply. */
12882 #ifdef __cplusplus 14975 #ifdef __cplusplus
12883 extern "C" 14976 extern "C"
12884 #endif 14977 #endif
12885 /* We use char because int might match the return type of a gcc2
12886 builtin and then its argument prototype would still apply. */
12887 char TIFFGetVersion (); 14978 char TIFFGetVersion ();
12888 int 14979 int
12889 main () 14980 main ()
12890 { 14981 {
12891 TIFFGetVersion (); 14982 return TIFFGetVersion ();
12892 ; 14983 ;
12893 return 0; 14984 return 0;
12894 } 14985 }
12895 _ACEOF 14986 _ACEOF
12896 rm -f conftest.$ac_objext conftest$ac_exeext 14987 rm -f conftest.$ac_objext conftest$ac_exeext
12897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 14988 if { (ac_try="$ac_link"
12898 (eval $ac_link) 2>conftest.er1 14989 case "(($ac_try" in
14990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14991 *) ac_try_echo=$ac_try;;
14992 esac
14993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14994 (eval "$ac_link") 2>conftest.er1
12899 ac_status=$? 14995 ac_status=$?
12900 grep -v '^ *+' conftest.er1 >conftest.err 14996 grep -v '^ *+' conftest.er1 >conftest.err
12901 rm -f conftest.er1 14997 rm -f conftest.er1
12902 cat conftest.err >&5 14998 cat conftest.err >&5
12903 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12904 (exit $ac_status); } && 15000 (exit $ac_status); } &&
12905 { ac_try='test -z "$ac_c_werror_flag" 15001 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12906 || test ! -s conftest.err' 15002 { (case "(($ac_try" in
12907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12908 (eval $ac_try) 2>&5 15004 *) ac_try_echo=$ac_try;;
15005 esac
15006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15007 (eval "$ac_try") 2>&5
12909 ac_status=$? 15008 ac_status=$?
12910 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12911 (exit $ac_status); }; } && 15010 (exit $ac_status); }; } &&
12912 { ac_try='test -s conftest$ac_exeext' 15011 { ac_try='test -s conftest$ac_exeext'
12913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15012 { (case "(($ac_try" in
12914 (eval $ac_try) 2>&5 15013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15014 *) ac_try_echo=$ac_try;;
15015 esac
15016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15017 (eval "$ac_try") 2>&5
12915 ac_status=$? 15018 ac_status=$?
12916 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12917 (exit $ac_status); }; }; then 15020 (exit $ac_status); }; }; then
12918 ac_cv_lib_tiff_TIFFGetVersion=yes 15021 ac_cv_lib_tiff_TIFFGetVersion=yes
12919 else 15022 else
12920 echo "$as_me: failed program was:" >&5 15023 echo "$as_me: failed program was:" >&5
12921 sed 's/^/| /' conftest.$ac_ext >&5 15024 sed 's/^/| /' conftest.$ac_ext >&5
12922 15025
12923 ac_cv_lib_tiff_TIFFGetVersion=no 15026 ac_cv_lib_tiff_TIFFGetVersion=no
12924 fi 15027 fi
12925 rm -f conftest.err conftest.$ac_objext \ 15028
15029 rm -f core conftest.err conftest.$ac_objext \
12926 conftest$ac_exeext conftest.$ac_ext 15030 conftest$ac_exeext conftest.$ac_ext
12927 LIBS=$ac_check_lib_save_LIBS 15031 LIBS=$ac_check_lib_save_LIBS
12928 fi 15032 fi
12929 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 15033 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5
12930 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6 15034 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6; }
12931 if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then 15035 if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then
12932 HAVE_TIFF=yes 15036 HAVE_TIFF=yes
12933 fi 15037 fi
12934 15038
12935 fi 15039 fi
12949 ### Use -lgif if available, unless `--with-gif=no'. 15053 ### Use -lgif if available, unless `--with-gif=no'.
12950 HAVE_GIF=no 15054 HAVE_GIF=no
12951 if test "${HAVE_X11}" = "yes"; then 15055 if test "${HAVE_X11}" = "yes"; then
12952 if test "${with_gif}" != "no"; then 15056 if test "${with_gif}" != "no"; then
12953 if test "${ac_cv_header_gif_lib_h+set}" = set; then 15057 if test "${ac_cv_header_gif_lib_h+set}" = set; then
12954 echo "$as_me:$LINENO: checking for gif_lib.h" >&5 15058 { echo "$as_me:$LINENO: checking for gif_lib.h" >&5
12955 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6 15059 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6; }
12956 if test "${ac_cv_header_gif_lib_h+set}" = set; then 15060 if test "${ac_cv_header_gif_lib_h+set}" = set; then
12957 echo $ECHO_N "(cached) $ECHO_C" >&6 15061 echo $ECHO_N "(cached) $ECHO_C" >&6
12958 fi 15062 fi
12959 echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5 15063 { echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5
12960 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6 15064 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6; }
12961 else 15065 else
12962 # Is the header compilable? 15066 # Is the header compilable?
12963 echo "$as_me:$LINENO: checking gif_lib.h usability" >&5 15067 { echo "$as_me:$LINENO: checking gif_lib.h usability" >&5
12964 echo $ECHO_N "checking gif_lib.h usability... $ECHO_C" >&6 15068 echo $ECHO_N "checking gif_lib.h usability... $ECHO_C" >&6; }
12965 cat >conftest.$ac_ext <<_ACEOF 15069 cat >conftest.$ac_ext <<_ACEOF
12966 /* confdefs.h. */ 15070 /* confdefs.h. */
12967 _ACEOF 15071 _ACEOF
12968 cat confdefs.h >>conftest.$ac_ext 15072 cat confdefs.h >>conftest.$ac_ext
12969 cat >>conftest.$ac_ext <<_ACEOF 15073 cat >>conftest.$ac_ext <<_ACEOF
12970 /* end confdefs.h. */ 15074 /* end confdefs.h. */
12971 $ac_includes_default 15075 $ac_includes_default
12972 #include <gif_lib.h> 15076 #include <gif_lib.h>
12973 _ACEOF 15077 _ACEOF
12974 rm -f conftest.$ac_objext 15078 rm -f conftest.$ac_objext
12975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 15079 if { (ac_try="$ac_compile"
12976 (eval $ac_compile) 2>conftest.er1 15080 case "(($ac_try" in
15081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15082 *) ac_try_echo=$ac_try;;
15083 esac
15084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15085 (eval "$ac_compile") 2>conftest.er1
12977 ac_status=$? 15086 ac_status=$?
12978 grep -v '^ *+' conftest.er1 >conftest.err 15087 grep -v '^ *+' conftest.er1 >conftest.err
12979 rm -f conftest.er1 15088 rm -f conftest.er1
12980 cat conftest.err >&5 15089 cat conftest.err >&5
12981 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12982 (exit $ac_status); } && 15091 (exit $ac_status); } &&
12983 { ac_try='test -z "$ac_c_werror_flag" 15092 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12984 || test ! -s conftest.err' 15093 { (case "(($ac_try" in
12985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12986 (eval $ac_try) 2>&5 15095 *) ac_try_echo=$ac_try;;
15096 esac
15097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15098 (eval "$ac_try") 2>&5
12987 ac_status=$? 15099 ac_status=$?
12988 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12989 (exit $ac_status); }; } && 15101 (exit $ac_status); }; } &&
12990 { ac_try='test -s conftest.$ac_objext' 15102 { ac_try='test -s conftest.$ac_objext'
12991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15103 { (case "(($ac_try" in
12992 (eval $ac_try) 2>&5 15104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15105 *) ac_try_echo=$ac_try;;
15106 esac
15107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15108 (eval "$ac_try") 2>&5
12993 ac_status=$? 15109 ac_status=$?
12994 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12995 (exit $ac_status); }; }; then 15111 (exit $ac_status); }; }; then
12996 ac_header_compiler=yes 15112 ac_header_compiler=yes
12997 else 15113 else
12998 echo "$as_me: failed program was:" >&5 15114 echo "$as_me: failed program was:" >&5
12999 sed 's/^/| /' conftest.$ac_ext >&5 15115 sed 's/^/| /' conftest.$ac_ext >&5
13000 15116
13001 ac_header_compiler=no 15117 ac_header_compiler=no
13002 fi 15118 fi
13003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 15119
13004 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 15120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13005 echo "${ECHO_T}$ac_header_compiler" >&6 15121 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15122 echo "${ECHO_T}$ac_header_compiler" >&6; }
13006 15123
13007 # Is the header present? 15124 # Is the header present?
13008 echo "$as_me:$LINENO: checking gif_lib.h presence" >&5 15125 { echo "$as_me:$LINENO: checking gif_lib.h presence" >&5
13009 echo $ECHO_N "checking gif_lib.h presence... $ECHO_C" >&6 15126 echo $ECHO_N "checking gif_lib.h presence... $ECHO_C" >&6; }
13010 cat >conftest.$ac_ext <<_ACEOF 15127 cat >conftest.$ac_ext <<_ACEOF
13011 /* confdefs.h. */ 15128 /* confdefs.h. */
13012 _ACEOF 15129 _ACEOF
13013 cat confdefs.h >>conftest.$ac_ext 15130 cat confdefs.h >>conftest.$ac_ext
13014 cat >>conftest.$ac_ext <<_ACEOF 15131 cat >>conftest.$ac_ext <<_ACEOF
13015 /* end confdefs.h. */ 15132 /* end confdefs.h. */
13016 #include <gif_lib.h> 15133 #include <gif_lib.h>
13017 _ACEOF 15134 _ACEOF
13018 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 15135 if { (ac_try="$ac_cpp conftest.$ac_ext"
13019 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 15136 case "(($ac_try" in
15137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15138 *) ac_try_echo=$ac_try;;
15139 esac
15140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15141 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13020 ac_status=$? 15142 ac_status=$?
13021 grep -v '^ *+' conftest.er1 >conftest.err 15143 grep -v '^ *+' conftest.er1 >conftest.err
13022 rm -f conftest.er1 15144 rm -f conftest.er1
13023 cat conftest.err >&5 15145 cat conftest.err >&5
13024 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13038 echo "$as_me: failed program was:" >&5 15160 echo "$as_me: failed program was:" >&5
13039 sed 's/^/| /' conftest.$ac_ext >&5 15161 sed 's/^/| /' conftest.$ac_ext >&5
13040 15162
13041 ac_header_preproc=no 15163 ac_header_preproc=no
13042 fi 15164 fi
15165
13043 rm -f conftest.err conftest.$ac_ext 15166 rm -f conftest.err conftest.$ac_ext
13044 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 15167 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13045 echo "${ECHO_T}$ac_header_preproc" >&6 15168 echo "${ECHO_T}$ac_header_preproc" >&6; }
13046 15169
13047 # So? What about this header? 15170 # So? What about this header?
13048 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 15171 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13049 yes:no: ) 15172 yes:no: )
13050 { echo "$as_me:$LINENO: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&5 15173 { echo "$as_me:$LINENO: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&5
13064 echo "$as_me: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&2;} 15187 echo "$as_me: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&2;}
13065 { echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&5 15188 { echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&5
13066 echo "$as_me: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&2;} 15189 echo "$as_me: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&2;}
13067 { echo "$as_me:$LINENO: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&5 15190 { echo "$as_me:$LINENO: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&5
13068 echo "$as_me: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&2;} 15191 echo "$as_me: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&2;}
13069 ( 15192
13070 cat <<\_ASBOX
13071 ## ------------------------------------------ ##
13072 ## Report this to the AC_PACKAGE_NAME lists. ##
13073 ## ------------------------------------------ ##
13074 _ASBOX
13075 ) |
13076 sed "s/^/$as_me: WARNING: /" >&2
13077 ;; 15193 ;;
13078 esac 15194 esac
13079 echo "$as_me:$LINENO: checking for gif_lib.h" >&5 15195 { echo "$as_me:$LINENO: checking for gif_lib.h" >&5
13080 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6 15196 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6; }
13081 if test "${ac_cv_header_gif_lib_h+set}" = set; then 15197 if test "${ac_cv_header_gif_lib_h+set}" = set; then
13082 echo $ECHO_N "(cached) $ECHO_C" >&6 15198 echo $ECHO_N "(cached) $ECHO_C" >&6
13083 else 15199 else
13084 ac_cv_header_gif_lib_h=$ac_header_preproc 15200 ac_cv_header_gif_lib_h=$ac_header_preproc
13085 fi 15201 fi
13086 echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5 15202 { echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5
13087 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6 15203 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6; }
13088 15204
13089 fi 15205 fi
13090 if test $ac_cv_header_gif_lib_h = yes; then 15206 if test $ac_cv_header_gif_lib_h = yes; then
13091 # EGifPutExtensionLast only exists from version libungif-4.1.0b1. 15207 # EGifPutExtensionLast only exists from version libungif-4.1.0b1.
13092 # Earlier versions can crash Emacs. 15208 # Earlier versions can crash Emacs.
13093 echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lungif" >&5 15209 { echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lungif" >&5
13094 echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6 15210 echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6; }
13095 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then 15211 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then
13096 echo $ECHO_N "(cached) $ECHO_C" >&6 15212 echo $ECHO_N "(cached) $ECHO_C" >&6
13097 else 15213 else
13098 ac_check_lib_save_LIBS=$LIBS 15214 ac_check_lib_save_LIBS=$LIBS
13099 LIBS="-lungif $LIBS" 15215 LIBS="-lungif $LIBS"
13102 _ACEOF 15218 _ACEOF
13103 cat confdefs.h >>conftest.$ac_ext 15219 cat confdefs.h >>conftest.$ac_ext
13104 cat >>conftest.$ac_ext <<_ACEOF 15220 cat >>conftest.$ac_ext <<_ACEOF
13105 /* end confdefs.h. */ 15221 /* end confdefs.h. */
13106 15222
13107 /* Override any gcc2 internal prototype to avoid an error. */ 15223 /* Override any GCC internal prototype to avoid an error.
15224 Use char because int might match the return type of a GCC
15225 builtin and then its argument prototype would still apply. */
13108 #ifdef __cplusplus 15226 #ifdef __cplusplus
13109 extern "C" 15227 extern "C"
13110 #endif 15228 #endif
13111 /* We use char because int might match the return type of a gcc2
13112 builtin and then its argument prototype would still apply. */
13113 char EGifPutExtensionLast (); 15229 char EGifPutExtensionLast ();
13114 int 15230 int
13115 main () 15231 main ()
13116 { 15232 {
13117 EGifPutExtensionLast (); 15233 return EGifPutExtensionLast ();
13118 ; 15234 ;
13119 return 0; 15235 return 0;
13120 } 15236 }
13121 _ACEOF 15237 _ACEOF
13122 rm -f conftest.$ac_objext conftest$ac_exeext 15238 rm -f conftest.$ac_objext conftest$ac_exeext
13123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 15239 if { (ac_try="$ac_link"
13124 (eval $ac_link) 2>conftest.er1 15240 case "(($ac_try" in
15241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15242 *) ac_try_echo=$ac_try;;
15243 esac
15244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15245 (eval "$ac_link") 2>conftest.er1
13125 ac_status=$? 15246 ac_status=$?
13126 grep -v '^ *+' conftest.er1 >conftest.err 15247 grep -v '^ *+' conftest.er1 >conftest.err
13127 rm -f conftest.er1 15248 rm -f conftest.er1
13128 cat conftest.err >&5 15249 cat conftest.err >&5
13129 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13130 (exit $ac_status); } && 15251 (exit $ac_status); } &&
13131 { ac_try='test -z "$ac_c_werror_flag" 15252 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13132 || test ! -s conftest.err' 15253 { (case "(($ac_try" in
13133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13134 (eval $ac_try) 2>&5 15255 *) ac_try_echo=$ac_try;;
15256 esac
15257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15258 (eval "$ac_try") 2>&5
13135 ac_status=$? 15259 ac_status=$?
13136 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13137 (exit $ac_status); }; } && 15261 (exit $ac_status); }; } &&
13138 { ac_try='test -s conftest$ac_exeext' 15262 { ac_try='test -s conftest$ac_exeext'
13139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15263 { (case "(($ac_try" in
13140 (eval $ac_try) 2>&5 15264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15265 *) ac_try_echo=$ac_try;;
15266 esac
15267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15268 (eval "$ac_try") 2>&5
13141 ac_status=$? 15269 ac_status=$?
13142 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13143 (exit $ac_status); }; }; then 15271 (exit $ac_status); }; }; then
13144 ac_cv_lib_ungif_EGifPutExtensionLast=yes 15272 ac_cv_lib_ungif_EGifPutExtensionLast=yes
13145 else 15273 else
13146 echo "$as_me: failed program was:" >&5 15274 echo "$as_me: failed program was:" >&5
13147 sed 's/^/| /' conftest.$ac_ext >&5 15275 sed 's/^/| /' conftest.$ac_ext >&5
13148 15276
13149 ac_cv_lib_ungif_EGifPutExtensionLast=no 15277 ac_cv_lib_ungif_EGifPutExtensionLast=no
13150 fi 15278 fi
13151 rm -f conftest.err conftest.$ac_objext \ 15279
15280 rm -f core conftest.err conftest.$ac_objext \
13152 conftest$ac_exeext conftest.$ac_ext 15281 conftest$ac_exeext conftest.$ac_ext
13153 LIBS=$ac_check_lib_save_LIBS 15282 LIBS=$ac_check_lib_save_LIBS
13154 fi 15283 fi
13155 echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 15284 { echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5
13156 echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6 15285 echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; }
13157 if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then 15286 if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then
13158 HAVE_GIF=yes 15287 HAVE_GIF=yes
13159 fi 15288 fi
13160 15289
13161 fi 15290 fi
13171 15300
13172 fi 15301 fi
13173 fi 15302 fi
13174 15303
13175 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then 15304 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then
13176 echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5 15305 { echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5
13177 echo $ECHO_N "checking for malloc/malloc.h... $ECHO_C" >&6 15306 echo $ECHO_N "checking for malloc/malloc.h... $ECHO_C" >&6; }
13178 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then 15307 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then
13179 echo $ECHO_N "(cached) $ECHO_C" >&6 15308 echo $ECHO_N "(cached) $ECHO_C" >&6
13180 fi 15309 fi
13181 echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5 15310 { echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5
13182 echo "${ECHO_T}$ac_cv_header_malloc_malloc_h" >&6 15311 echo "${ECHO_T}$ac_cv_header_malloc_malloc_h" >&6; }
13183 else 15312 else
13184 # Is the header compilable? 15313 # Is the header compilable?
13185 echo "$as_me:$LINENO: checking malloc/malloc.h usability" >&5 15314 { echo "$as_me:$LINENO: checking malloc/malloc.h usability" >&5
13186 echo $ECHO_N "checking malloc/malloc.h usability... $ECHO_C" >&6 15315 echo $ECHO_N "checking malloc/malloc.h usability... $ECHO_C" >&6; }
13187 cat >conftest.$ac_ext <<_ACEOF 15316 cat >conftest.$ac_ext <<_ACEOF
13188 /* confdefs.h. */ 15317 /* confdefs.h. */
13189 _ACEOF 15318 _ACEOF
13190 cat confdefs.h >>conftest.$ac_ext 15319 cat confdefs.h >>conftest.$ac_ext
13191 cat >>conftest.$ac_ext <<_ACEOF 15320 cat >>conftest.$ac_ext <<_ACEOF
13192 /* end confdefs.h. */ 15321 /* end confdefs.h. */
13193 $ac_includes_default 15322 $ac_includes_default
13194 #include <malloc/malloc.h> 15323 #include <malloc/malloc.h>
13195 _ACEOF 15324 _ACEOF
13196 rm -f conftest.$ac_objext 15325 rm -f conftest.$ac_objext
13197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 15326 if { (ac_try="$ac_compile"
13198 (eval $ac_compile) 2>conftest.er1 15327 case "(($ac_try" in
15328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15329 *) ac_try_echo=$ac_try;;
15330 esac
15331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15332 (eval "$ac_compile") 2>conftest.er1
13199 ac_status=$? 15333 ac_status=$?
13200 grep -v '^ *+' conftest.er1 >conftest.err 15334 grep -v '^ *+' conftest.er1 >conftest.err
13201 rm -f conftest.er1 15335 rm -f conftest.er1
13202 cat conftest.err >&5 15336 cat conftest.err >&5
13203 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13204 (exit $ac_status); } && 15338 (exit $ac_status); } &&
13205 { ac_try='test -z "$ac_c_werror_flag" 15339 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13206 || test ! -s conftest.err' 15340 { (case "(($ac_try" in
13207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13208 (eval $ac_try) 2>&5 15342 *) ac_try_echo=$ac_try;;
15343 esac
15344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15345 (eval "$ac_try") 2>&5
13209 ac_status=$? 15346 ac_status=$?
13210 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13211 (exit $ac_status); }; } && 15348 (exit $ac_status); }; } &&
13212 { ac_try='test -s conftest.$ac_objext' 15349 { ac_try='test -s conftest.$ac_objext'
13213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15350 { (case "(($ac_try" in
13214 (eval $ac_try) 2>&5 15351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15352 *) ac_try_echo=$ac_try;;
15353 esac
15354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15355 (eval "$ac_try") 2>&5
13215 ac_status=$? 15356 ac_status=$?
13216 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13217 (exit $ac_status); }; }; then 15358 (exit $ac_status); }; }; then
13218 ac_header_compiler=yes 15359 ac_header_compiler=yes
13219 else 15360 else
13220 echo "$as_me: failed program was:" >&5 15361 echo "$as_me: failed program was:" >&5
13221 sed 's/^/| /' conftest.$ac_ext >&5 15362 sed 's/^/| /' conftest.$ac_ext >&5
13222 15363
13223 ac_header_compiler=no 15364 ac_header_compiler=no
13224 fi 15365 fi
13225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 15366
13226 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 15367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13227 echo "${ECHO_T}$ac_header_compiler" >&6 15368 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15369 echo "${ECHO_T}$ac_header_compiler" >&6; }
13228 15370
13229 # Is the header present? 15371 # Is the header present?
13230 echo "$as_me:$LINENO: checking malloc/malloc.h presence" >&5 15372 { echo "$as_me:$LINENO: checking malloc/malloc.h presence" >&5
13231 echo $ECHO_N "checking malloc/malloc.h presence... $ECHO_C" >&6 15373 echo $ECHO_N "checking malloc/malloc.h presence... $ECHO_C" >&6; }
13232 cat >conftest.$ac_ext <<_ACEOF 15374 cat >conftest.$ac_ext <<_ACEOF
13233 /* confdefs.h. */ 15375 /* confdefs.h. */
13234 _ACEOF 15376 _ACEOF
13235 cat confdefs.h >>conftest.$ac_ext 15377 cat confdefs.h >>conftest.$ac_ext
13236 cat >>conftest.$ac_ext <<_ACEOF 15378 cat >>conftest.$ac_ext <<_ACEOF
13237 /* end confdefs.h. */ 15379 /* end confdefs.h. */
13238 #include <malloc/malloc.h> 15380 #include <malloc/malloc.h>
13239 _ACEOF 15381 _ACEOF
13240 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 15382 if { (ac_try="$ac_cpp conftest.$ac_ext"
13241 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 15383 case "(($ac_try" in
15384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15385 *) ac_try_echo=$ac_try;;
15386 esac
15387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15388 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13242 ac_status=$? 15389 ac_status=$?
13243 grep -v '^ *+' conftest.er1 >conftest.err 15390 grep -v '^ *+' conftest.er1 >conftest.err
13244 rm -f conftest.er1 15391 rm -f conftest.er1
13245 cat conftest.err >&5 15392 cat conftest.err >&5
13246 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13260 echo "$as_me: failed program was:" >&5 15407 echo "$as_me: failed program was:" >&5
13261 sed 's/^/| /' conftest.$ac_ext >&5 15408 sed 's/^/| /' conftest.$ac_ext >&5
13262 15409
13263 ac_header_preproc=no 15410 ac_header_preproc=no
13264 fi 15411 fi
15412
13265 rm -f conftest.err conftest.$ac_ext 15413 rm -f conftest.err conftest.$ac_ext
13266 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 15414 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13267 echo "${ECHO_T}$ac_header_preproc" >&6 15415 echo "${ECHO_T}$ac_header_preproc" >&6; }
13268 15416
13269 # So? What about this header? 15417 # So? What about this header?
13270 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 15418 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13271 yes:no: ) 15419 yes:no: )
13272 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5 15420 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5
13286 echo "$as_me: WARNING: malloc/malloc.h: section \"Present But Cannot Be Compiled\"" >&2;} 15434 echo "$as_me: WARNING: malloc/malloc.h: section \"Present But Cannot Be Compiled\"" >&2;}
13287 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&5 15435 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&5
13288 echo "$as_me: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&2;} 15436 echo "$as_me: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&2;}
13289 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&5 15437 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&5
13290 echo "$as_me: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&2;} 15438 echo "$as_me: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&2;}
13291 ( 15439
13292 cat <<\_ASBOX
13293 ## ------------------------------------------ ##
13294 ## Report this to the AC_PACKAGE_NAME lists. ##
13295 ## ------------------------------------------ ##
13296 _ASBOX
13297 ) |
13298 sed "s/^/$as_me: WARNING: /" >&2
13299 ;; 15440 ;;
13300 esac 15441 esac
13301 echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5 15442 { echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5
13302 echo $ECHO_N "checking for malloc/malloc.h... $ECHO_C" >&6 15443 echo $ECHO_N "checking for malloc/malloc.h... $ECHO_C" >&6; }
13303 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then 15444 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then
13304 echo $ECHO_N "(cached) $ECHO_C" >&6 15445 echo $ECHO_N "(cached) $ECHO_C" >&6
13305 else 15446 else
13306 ac_cv_header_malloc_malloc_h=$ac_header_preproc 15447 ac_cv_header_malloc_malloc_h=$ac_header_preproc
13307 fi 15448 fi
13308 echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5 15449 { echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5
13309 echo "${ECHO_T}$ac_cv_header_malloc_malloc_h" >&6 15450 echo "${ECHO_T}$ac_cv_header_malloc_malloc_h" >&6; }
13310 15451
13311 fi 15452 fi
13312 if test $ac_cv_header_malloc_malloc_h = yes; then 15453 if test $ac_cv_header_malloc_malloc_h = yes; then
13313 15454
13314 cat >>confdefs.h <<\_ACEOF 15455 cat >>confdefs.h <<\_ACEOF
13340 15481
13341 ### Use session management (-lSM -lICE) if available 15482 ### Use session management (-lSM -lICE) if available
13342 HAVE_X_SM=no 15483 HAVE_X_SM=no
13343 if test "${HAVE_X11}" = "yes"; then 15484 if test "${HAVE_X11}" = "yes"; then
13344 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then 15485 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
13345 echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5 15486 { echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5
13346 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6 15487 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6; }
13347 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then 15488 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
13348 echo $ECHO_N "(cached) $ECHO_C" >&6 15489 echo $ECHO_N "(cached) $ECHO_C" >&6
13349 fi 15490 fi
13350 echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5 15491 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5
13351 echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6 15492 echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6; }
13352 else 15493 else
13353 # Is the header compilable? 15494 # Is the header compilable?
13354 echo "$as_me:$LINENO: checking X11/SM/SMlib.h usability" >&5 15495 { echo "$as_me:$LINENO: checking X11/SM/SMlib.h usability" >&5
13355 echo $ECHO_N "checking X11/SM/SMlib.h usability... $ECHO_C" >&6 15496 echo $ECHO_N "checking X11/SM/SMlib.h usability... $ECHO_C" >&6; }
13356 cat >conftest.$ac_ext <<_ACEOF 15497 cat >conftest.$ac_ext <<_ACEOF
13357 /* confdefs.h. */ 15498 /* confdefs.h. */
13358 _ACEOF 15499 _ACEOF
13359 cat confdefs.h >>conftest.$ac_ext 15500 cat confdefs.h >>conftest.$ac_ext
13360 cat >>conftest.$ac_ext <<_ACEOF 15501 cat >>conftest.$ac_ext <<_ACEOF
13361 /* end confdefs.h. */ 15502 /* end confdefs.h. */
13362 $ac_includes_default 15503 $ac_includes_default
13363 #include <X11/SM/SMlib.h> 15504 #include <X11/SM/SMlib.h>
13364 _ACEOF 15505 _ACEOF
13365 rm -f conftest.$ac_objext 15506 rm -f conftest.$ac_objext
13366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 15507 if { (ac_try="$ac_compile"
13367 (eval $ac_compile) 2>conftest.er1 15508 case "(($ac_try" in
15509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15510 *) ac_try_echo=$ac_try;;
15511 esac
15512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15513 (eval "$ac_compile") 2>conftest.er1
13368 ac_status=$? 15514 ac_status=$?
13369 grep -v '^ *+' conftest.er1 >conftest.err 15515 grep -v '^ *+' conftest.er1 >conftest.err
13370 rm -f conftest.er1 15516 rm -f conftest.er1
13371 cat conftest.err >&5 15517 cat conftest.err >&5
13372 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13373 (exit $ac_status); } && 15519 (exit $ac_status); } &&
13374 { ac_try='test -z "$ac_c_werror_flag" 15520 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13375 || test ! -s conftest.err' 15521 { (case "(($ac_try" in
13376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13377 (eval $ac_try) 2>&5 15523 *) ac_try_echo=$ac_try;;
15524 esac
15525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15526 (eval "$ac_try") 2>&5
13378 ac_status=$? 15527 ac_status=$?
13379 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13380 (exit $ac_status); }; } && 15529 (exit $ac_status); }; } &&
13381 { ac_try='test -s conftest.$ac_objext' 15530 { ac_try='test -s conftest.$ac_objext'
13382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15531 { (case "(($ac_try" in
13383 (eval $ac_try) 2>&5 15532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15533 *) ac_try_echo=$ac_try;;
15534 esac
15535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15536 (eval "$ac_try") 2>&5
13384 ac_status=$? 15537 ac_status=$?
13385 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13386 (exit $ac_status); }; }; then 15539 (exit $ac_status); }; }; then
13387 ac_header_compiler=yes 15540 ac_header_compiler=yes
13388 else 15541 else
13389 echo "$as_me: failed program was:" >&5 15542 echo "$as_me: failed program was:" >&5
13390 sed 's/^/| /' conftest.$ac_ext >&5 15543 sed 's/^/| /' conftest.$ac_ext >&5
13391 15544
13392 ac_header_compiler=no 15545 ac_header_compiler=no
13393 fi 15546 fi
13394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 15547
13395 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 15548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13396 echo "${ECHO_T}$ac_header_compiler" >&6 15549 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15550 echo "${ECHO_T}$ac_header_compiler" >&6; }
13397 15551
13398 # Is the header present? 15552 # Is the header present?
13399 echo "$as_me:$LINENO: checking X11/SM/SMlib.h presence" >&5 15553 { echo "$as_me:$LINENO: checking X11/SM/SMlib.h presence" >&5
13400 echo $ECHO_N "checking X11/SM/SMlib.h presence... $ECHO_C" >&6 15554 echo $ECHO_N "checking X11/SM/SMlib.h presence... $ECHO_C" >&6; }
13401 cat >conftest.$ac_ext <<_ACEOF 15555 cat >conftest.$ac_ext <<_ACEOF
13402 /* confdefs.h. */ 15556 /* confdefs.h. */
13403 _ACEOF 15557 _ACEOF
13404 cat confdefs.h >>conftest.$ac_ext 15558 cat confdefs.h >>conftest.$ac_ext
13405 cat >>conftest.$ac_ext <<_ACEOF 15559 cat >>conftest.$ac_ext <<_ACEOF
13406 /* end confdefs.h. */ 15560 /* end confdefs.h. */
13407 #include <X11/SM/SMlib.h> 15561 #include <X11/SM/SMlib.h>
13408 _ACEOF 15562 _ACEOF
13409 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 15563 if { (ac_try="$ac_cpp conftest.$ac_ext"
13410 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 15564 case "(($ac_try" in
15565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15566 *) ac_try_echo=$ac_try;;
15567 esac
15568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15569 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13411 ac_status=$? 15570 ac_status=$?
13412 grep -v '^ *+' conftest.er1 >conftest.err 15571 grep -v '^ *+' conftest.er1 >conftest.err
13413 rm -f conftest.er1 15572 rm -f conftest.er1
13414 cat conftest.err >&5 15573 cat conftest.err >&5
13415 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13429 echo "$as_me: failed program was:" >&5 15588 echo "$as_me: failed program was:" >&5
13430 sed 's/^/| /' conftest.$ac_ext >&5 15589 sed 's/^/| /' conftest.$ac_ext >&5
13431 15590
13432 ac_header_preproc=no 15591 ac_header_preproc=no
13433 fi 15592 fi
15593
13434 rm -f conftest.err conftest.$ac_ext 15594 rm -f conftest.err conftest.$ac_ext
13435 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 15595 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13436 echo "${ECHO_T}$ac_header_preproc" >&6 15596 echo "${ECHO_T}$ac_header_preproc" >&6; }
13437 15597
13438 # So? What about this header? 15598 # So? What about this header?
13439 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 15599 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13440 yes:no: ) 15600 yes:no: )
13441 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 15601 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
13455 echo "$as_me: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compiled\"" >&2;} 15615 echo "$as_me: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
13456 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&5 15616 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&5
13457 echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&2;} 15617 echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&2;}
13458 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&5 15618 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&5
13459 echo "$as_me: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&2;} 15619 echo "$as_me: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&2;}
13460 ( 15620
13461 cat <<\_ASBOX
13462 ## ------------------------------------------ ##
13463 ## Report this to the AC_PACKAGE_NAME lists. ##
13464 ## ------------------------------------------ ##
13465 _ASBOX
13466 ) |
13467 sed "s/^/$as_me: WARNING: /" >&2
13468 ;; 15621 ;;
13469 esac 15622 esac
13470 echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5 15623 { echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5
13471 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6 15624 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6; }
13472 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then 15625 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
13473 echo $ECHO_N "(cached) $ECHO_C" >&6 15626 echo $ECHO_N "(cached) $ECHO_C" >&6
13474 else 15627 else
13475 ac_cv_header_X11_SM_SMlib_h=$ac_header_preproc 15628 ac_cv_header_X11_SM_SMlib_h=$ac_header_preproc
13476 fi 15629 fi
13477 echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5 15630 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5
13478 echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6 15631 echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6; }
13479 15632
13480 fi 15633 fi
13481 if test $ac_cv_header_X11_SM_SMlib_h = yes; then 15634 if test $ac_cv_header_X11_SM_SMlib_h = yes; then
13482 echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5 15635 { echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5
13483 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6 15636 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6; }
13484 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then 15637 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
13485 echo $ECHO_N "(cached) $ECHO_C" >&6 15638 echo $ECHO_N "(cached) $ECHO_C" >&6
13486 else 15639 else
13487 ac_check_lib_save_LIBS=$LIBS 15640 ac_check_lib_save_LIBS=$LIBS
13488 LIBS="-lSM -lICE $LIBS" 15641 LIBS="-lSM -lICE $LIBS"
13491 _ACEOF 15644 _ACEOF
13492 cat confdefs.h >>conftest.$ac_ext 15645 cat confdefs.h >>conftest.$ac_ext
13493 cat >>conftest.$ac_ext <<_ACEOF 15646 cat >>conftest.$ac_ext <<_ACEOF
13494 /* end confdefs.h. */ 15647 /* end confdefs.h. */
13495 15648
13496 /* Override any gcc2 internal prototype to avoid an error. */ 15649 /* Override any GCC internal prototype to avoid an error.
15650 Use char because int might match the return type of a GCC
15651 builtin and then its argument prototype would still apply. */
13497 #ifdef __cplusplus 15652 #ifdef __cplusplus
13498 extern "C" 15653 extern "C"
13499 #endif 15654 #endif
13500 /* We use char because int might match the return type of a gcc2
13501 builtin and then its argument prototype would still apply. */
13502 char SmcOpenConnection (); 15655 char SmcOpenConnection ();
13503 int 15656 int
13504 main () 15657 main ()
13505 { 15658 {
13506 SmcOpenConnection (); 15659 return SmcOpenConnection ();
13507 ; 15660 ;
13508 return 0; 15661 return 0;
13509 } 15662 }
13510 _ACEOF 15663 _ACEOF
13511 rm -f conftest.$ac_objext conftest$ac_exeext 15664 rm -f conftest.$ac_objext conftest$ac_exeext
13512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 15665 if { (ac_try="$ac_link"
13513 (eval $ac_link) 2>conftest.er1 15666 case "(($ac_try" in
15667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15668 *) ac_try_echo=$ac_try;;
15669 esac
15670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15671 (eval "$ac_link") 2>conftest.er1
13514 ac_status=$? 15672 ac_status=$?
13515 grep -v '^ *+' conftest.er1 >conftest.err 15673 grep -v '^ *+' conftest.er1 >conftest.err
13516 rm -f conftest.er1 15674 rm -f conftest.er1
13517 cat conftest.err >&5 15675 cat conftest.err >&5
13518 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13519 (exit $ac_status); } && 15677 (exit $ac_status); } &&
13520 { ac_try='test -z "$ac_c_werror_flag" 15678 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13521 || test ! -s conftest.err' 15679 { (case "(($ac_try" in
13522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13523 (eval $ac_try) 2>&5 15681 *) ac_try_echo=$ac_try;;
15682 esac
15683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15684 (eval "$ac_try") 2>&5
13524 ac_status=$? 15685 ac_status=$?
13525 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13526 (exit $ac_status); }; } && 15687 (exit $ac_status); }; } &&
13527 { ac_try='test -s conftest$ac_exeext' 15688 { ac_try='test -s conftest$ac_exeext'
13528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15689 { (case "(($ac_try" in
13529 (eval $ac_try) 2>&5 15690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15691 *) ac_try_echo=$ac_try;;
15692 esac
15693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15694 (eval "$ac_try") 2>&5
13530 ac_status=$? 15695 ac_status=$?
13531 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13532 (exit $ac_status); }; }; then 15697 (exit $ac_status); }; }; then
13533 ac_cv_lib_SM_SmcOpenConnection=yes 15698 ac_cv_lib_SM_SmcOpenConnection=yes
13534 else 15699 else
13535 echo "$as_me: failed program was:" >&5 15700 echo "$as_me: failed program was:" >&5
13536 sed 's/^/| /' conftest.$ac_ext >&5 15701 sed 's/^/| /' conftest.$ac_ext >&5
13537 15702
13538 ac_cv_lib_SM_SmcOpenConnection=no 15703 ac_cv_lib_SM_SmcOpenConnection=no
13539 fi 15704 fi
13540 rm -f conftest.err conftest.$ac_objext \ 15705
15706 rm -f core conftest.err conftest.$ac_objext \
13541 conftest$ac_exeext conftest.$ac_ext 15707 conftest$ac_exeext conftest.$ac_ext
13542 LIBS=$ac_check_lib_save_LIBS 15708 LIBS=$ac_check_lib_save_LIBS
13543 fi 15709 fi
13544 echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5 15710 { echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
13545 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6 15711 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6; }
13546 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then 15712 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
13547 HAVE_X_SM=yes 15713 HAVE_X_SM=yes
13548 fi 15714 fi
13549 15715
13550 fi 15716 fi
13563 esac 15729 esac
13564 fi 15730 fi
13565 fi 15731 fi
13566 15732
13567 # If netdb.h doesn't declare h_errno, we must declare it by hand. 15733 # If netdb.h doesn't declare h_errno, we must declare it by hand.
13568 echo "$as_me:$LINENO: checking whether netdb declares h_errno" >&5 15734 { echo "$as_me:$LINENO: checking whether netdb declares h_errno" >&5
13569 echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6 15735 echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6; }
13570 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then 15736 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then
13571 echo $ECHO_N "(cached) $ECHO_C" >&6 15737 echo $ECHO_N "(cached) $ECHO_C" >&6
13572 else 15738 else
13573 cat >conftest.$ac_ext <<_ACEOF 15739 cat >conftest.$ac_ext <<_ACEOF
13574 /* confdefs.h. */ 15740 /* confdefs.h. */
13584 ; 15750 ;
13585 return 0; 15751 return 0;
13586 } 15752 }
13587 _ACEOF 15753 _ACEOF
13588 rm -f conftest.$ac_objext conftest$ac_exeext 15754 rm -f conftest.$ac_objext conftest$ac_exeext
13589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 15755 if { (ac_try="$ac_link"
13590 (eval $ac_link) 2>conftest.er1 15756 case "(($ac_try" in
15757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15758 *) ac_try_echo=$ac_try;;
15759 esac
15760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15761 (eval "$ac_link") 2>conftest.er1
13591 ac_status=$? 15762 ac_status=$?
13592 grep -v '^ *+' conftest.er1 >conftest.err 15763 grep -v '^ *+' conftest.er1 >conftest.err
13593 rm -f conftest.er1 15764 rm -f conftest.er1
13594 cat conftest.err >&5 15765 cat conftest.err >&5
13595 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13596 (exit $ac_status); } && 15767 (exit $ac_status); } &&
13597 { ac_try='test -z "$ac_c_werror_flag" 15768 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13598 || test ! -s conftest.err' 15769 { (case "(($ac_try" in
13599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13600 (eval $ac_try) 2>&5 15771 *) ac_try_echo=$ac_try;;
15772 esac
15773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15774 (eval "$ac_try") 2>&5
13601 ac_status=$? 15775 ac_status=$?
13602 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13603 (exit $ac_status); }; } && 15777 (exit $ac_status); }; } &&
13604 { ac_try='test -s conftest$ac_exeext' 15778 { ac_try='test -s conftest$ac_exeext'
13605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15779 { (case "(($ac_try" in
13606 (eval $ac_try) 2>&5 15780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15781 *) ac_try_echo=$ac_try;;
15782 esac
15783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15784 (eval "$ac_try") 2>&5
13607 ac_status=$? 15785 ac_status=$?
13608 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13609 (exit $ac_status); }; }; then 15787 (exit $ac_status); }; }; then
13610 emacs_cv_netdb_declares_h_errno=yes 15788 emacs_cv_netdb_declares_h_errno=yes
13611 else 15789 else
13612 echo "$as_me: failed program was:" >&5 15790 echo "$as_me: failed program was:" >&5
13613 sed 's/^/| /' conftest.$ac_ext >&5 15791 sed 's/^/| /' conftest.$ac_ext >&5
13614 15792
13615 emacs_cv_netdb_declares_h_errno=no 15793 emacs_cv_netdb_declares_h_errno=no
13616 fi 15794 fi
13617 rm -f conftest.err conftest.$ac_objext \ 15795
15796 rm -f core conftest.err conftest.$ac_objext \
13618 conftest$ac_exeext conftest.$ac_ext 15797 conftest$ac_exeext conftest.$ac_ext
13619 fi 15798 fi
13620 echo "$as_me:$LINENO: result: $emacs_cv_netdb_declares_h_errno" >&5 15799 { echo "$as_me:$LINENO: result: $emacs_cv_netdb_declares_h_errno" >&5
13621 echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6 15800 echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6; }
13622 if test $emacs_cv_netdb_declares_h_errno = yes; then 15801 if test $emacs_cv_netdb_declares_h_errno = yes; then
13623 15802
13624 cat >>confdefs.h <<\_ACEOF 15803 cat >>confdefs.h <<\_ACEOF
13625 #define HAVE_H_ERRNO 1 15804 #define HAVE_H_ERRNO 1
13626 _ACEOF 15805 _ACEOF
13627 15806
13628 fi 15807 fi
13629 15808
13630 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 15809 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
13631 # for constant arguments. Useless! 15810 # for constant arguments. Useless!
13632 echo "$as_me:$LINENO: checking for working alloca.h" >&5 15811 { echo "$as_me:$LINENO: checking for working alloca.h" >&5
13633 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 15812 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
13634 if test "${ac_cv_working_alloca_h+set}" = set; then 15813 if test "${ac_cv_working_alloca_h+set}" = set; then
13635 echo $ECHO_N "(cached) $ECHO_C" >&6 15814 echo $ECHO_N "(cached) $ECHO_C" >&6
13636 else 15815 else
13637 cat >conftest.$ac_ext <<_ACEOF 15816 cat >conftest.$ac_ext <<_ACEOF
13638 /* confdefs.h. */ 15817 /* confdefs.h. */
13643 #include <alloca.h> 15822 #include <alloca.h>
13644 int 15823 int
13645 main () 15824 main ()
13646 { 15825 {
13647 char *p = (char *) alloca (2 * sizeof (int)); 15826 char *p = (char *) alloca (2 * sizeof (int));
15827 if (p) return 0;
13648 ; 15828 ;
13649 return 0; 15829 return 0;
13650 } 15830 }
13651 _ACEOF 15831 _ACEOF
13652 rm -f conftest.$ac_objext conftest$ac_exeext 15832 rm -f conftest.$ac_objext conftest$ac_exeext
13653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 15833 if { (ac_try="$ac_link"
13654 (eval $ac_link) 2>conftest.er1 15834 case "(($ac_try" in
15835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15836 *) ac_try_echo=$ac_try;;
15837 esac
15838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15839 (eval "$ac_link") 2>conftest.er1
13655 ac_status=$? 15840 ac_status=$?
13656 grep -v '^ *+' conftest.er1 >conftest.err 15841 grep -v '^ *+' conftest.er1 >conftest.err
13657 rm -f conftest.er1 15842 rm -f conftest.er1
13658 cat conftest.err >&5 15843 cat conftest.err >&5
13659 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13660 (exit $ac_status); } && 15845 (exit $ac_status); } &&
13661 { ac_try='test -z "$ac_c_werror_flag" 15846 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13662 || test ! -s conftest.err' 15847 { (case "(($ac_try" in
13663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13664 (eval $ac_try) 2>&5 15849 *) ac_try_echo=$ac_try;;
15850 esac
15851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15852 (eval "$ac_try") 2>&5
13665 ac_status=$? 15853 ac_status=$?
13666 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13667 (exit $ac_status); }; } && 15855 (exit $ac_status); }; } &&
13668 { ac_try='test -s conftest$ac_exeext' 15856 { ac_try='test -s conftest$ac_exeext'
13669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15857 { (case "(($ac_try" in
13670 (eval $ac_try) 2>&5 15858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15859 *) ac_try_echo=$ac_try;;
15860 esac
15861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15862 (eval "$ac_try") 2>&5
13671 ac_status=$? 15863 ac_status=$?
13672 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13673 (exit $ac_status); }; }; then 15865 (exit $ac_status); }; }; then
13674 ac_cv_working_alloca_h=yes 15866 ac_cv_working_alloca_h=yes
13675 else 15867 else
13676 echo "$as_me: failed program was:" >&5 15868 echo "$as_me: failed program was:" >&5
13677 sed 's/^/| /' conftest.$ac_ext >&5 15869 sed 's/^/| /' conftest.$ac_ext >&5
13678 15870
13679 ac_cv_working_alloca_h=no 15871 ac_cv_working_alloca_h=no
13680 fi 15872 fi
13681 rm -f conftest.err conftest.$ac_objext \ 15873
15874 rm -f core conftest.err conftest.$ac_objext \
13682 conftest$ac_exeext conftest.$ac_ext 15875 conftest$ac_exeext conftest.$ac_ext
13683 fi 15876 fi
13684 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 15877 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
13685 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 15878 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
13686 if test $ac_cv_working_alloca_h = yes; then 15879 if test $ac_cv_working_alloca_h = yes; then
13687 15880
13688 cat >>confdefs.h <<\_ACEOF 15881 cat >>confdefs.h <<\_ACEOF
13689 #define HAVE_ALLOCA_H 1 15882 #define HAVE_ALLOCA_H 1
13690 _ACEOF 15883 _ACEOF
13691 15884
13692 fi 15885 fi
13693 15886
13694 echo "$as_me:$LINENO: checking for alloca" >&5 15887 { echo "$as_me:$LINENO: checking for alloca" >&5
13695 echo $ECHO_N "checking for alloca... $ECHO_C" >&6 15888 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
13696 if test "${ac_cv_func_alloca_works+set}" = set; then 15889 if test "${ac_cv_func_alloca_works+set}" = set; then
13697 echo $ECHO_N "(cached) $ECHO_C" >&6 15890 echo $ECHO_N "(cached) $ECHO_C" >&6
13698 else 15891 else
13699 cat >conftest.$ac_ext <<_ACEOF 15892 cat >conftest.$ac_ext <<_ACEOF
13700 /* confdefs.h. */ 15893 /* confdefs.h. */
13725 15918
13726 int 15919 int
13727 main () 15920 main ()
13728 { 15921 {
13729 char *p = (char *) alloca (1); 15922 char *p = (char *) alloca (1);
15923 if (p) return 0;
13730 ; 15924 ;
13731 return 0; 15925 return 0;
13732 } 15926 }
13733 _ACEOF 15927 _ACEOF
13734 rm -f conftest.$ac_objext conftest$ac_exeext 15928 rm -f conftest.$ac_objext conftest$ac_exeext
13735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 15929 if { (ac_try="$ac_link"
13736 (eval $ac_link) 2>conftest.er1 15930 case "(($ac_try" in
15931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15932 *) ac_try_echo=$ac_try;;
15933 esac
15934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15935 (eval "$ac_link") 2>conftest.er1
13737 ac_status=$? 15936 ac_status=$?
13738 grep -v '^ *+' conftest.er1 >conftest.err 15937 grep -v '^ *+' conftest.er1 >conftest.err
13739 rm -f conftest.er1 15938 rm -f conftest.er1
13740 cat conftest.err >&5 15939 cat conftest.err >&5
13741 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13742 (exit $ac_status); } && 15941 (exit $ac_status); } &&
13743 { ac_try='test -z "$ac_c_werror_flag" 15942 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13744 || test ! -s conftest.err' 15943 { (case "(($ac_try" in
13745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13746 (eval $ac_try) 2>&5 15945 *) ac_try_echo=$ac_try;;
15946 esac
15947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15948 (eval "$ac_try") 2>&5
13747 ac_status=$? 15949 ac_status=$?
13748 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13749 (exit $ac_status); }; } && 15951 (exit $ac_status); }; } &&
13750 { ac_try='test -s conftest$ac_exeext' 15952 { ac_try='test -s conftest$ac_exeext'
13751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15953 { (case "(($ac_try" in
13752 (eval $ac_try) 2>&5 15954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15955 *) ac_try_echo=$ac_try;;
15956 esac
15957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15958 (eval "$ac_try") 2>&5
13753 ac_status=$? 15959 ac_status=$?
13754 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13755 (exit $ac_status); }; }; then 15961 (exit $ac_status); }; }; then
13756 ac_cv_func_alloca_works=yes 15962 ac_cv_func_alloca_works=yes
13757 else 15963 else
13758 echo "$as_me: failed program was:" >&5 15964 echo "$as_me: failed program was:" >&5
13759 sed 's/^/| /' conftest.$ac_ext >&5 15965 sed 's/^/| /' conftest.$ac_ext >&5
13760 15966
13761 ac_cv_func_alloca_works=no 15967 ac_cv_func_alloca_works=no
13762 fi 15968 fi
13763 rm -f conftest.err conftest.$ac_objext \ 15969
15970 rm -f core conftest.err conftest.$ac_objext \
13764 conftest$ac_exeext conftest.$ac_ext 15971 conftest$ac_exeext conftest.$ac_ext
13765 fi 15972 fi
13766 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 15973 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
13767 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 15974 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
13768 15975
13769 if test $ac_cv_func_alloca_works = yes; then 15976 if test $ac_cv_func_alloca_works = yes; then
13770 15977
13771 cat >>confdefs.h <<\_ACEOF 15978 cat >>confdefs.h <<\_ACEOF
13772 #define HAVE_ALLOCA 1 15979 #define HAVE_ALLOCA 1
13776 # The SVR3 libPW and SVR4 libucb both contain incompatible functions 15983 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
13777 # that cause trouble. Some versions do not even contain alloca or 15984 # that cause trouble. Some versions do not even contain alloca or
13778 # contain a buggy version. If you still want to use their alloca, 15985 # contain a buggy version. If you still want to use their alloca,
13779 # use ar to extract alloca.o from them instead of compiling alloca.c. 15986 # use ar to extract alloca.o from them instead of compiling alloca.c.
13780 15987
13781 ALLOCA=alloca.$ac_objext 15988 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
13782 15989
13783 cat >>confdefs.h <<\_ACEOF 15990 cat >>confdefs.h <<\_ACEOF
13784 #define C_ALLOCA 1 15991 #define C_ALLOCA 1
13785 _ACEOF 15992 _ACEOF
13786 15993
13787 15994
13788 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 15995 { echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
13789 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 15996 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
13790 if test "${ac_cv_os_cray+set}" = set; then 15997 if test "${ac_cv_os_cray+set}" = set; then
13791 echo $ECHO_N "(cached) $ECHO_C" >&6 15998 echo $ECHO_N "(cached) $ECHO_C" >&6
13792 else 15999 else
13793 cat >conftest.$ac_ext <<_ACEOF 16000 cat >conftest.$ac_ext <<_ACEOF
13794 /* confdefs.h. */ 16001 /* confdefs.h. */
13795 _ACEOF 16002 _ACEOF
13796 cat confdefs.h >>conftest.$ac_ext 16003 cat confdefs.h >>conftest.$ac_ext
13797 cat >>conftest.$ac_ext <<_ACEOF 16004 cat >>conftest.$ac_ext <<_ACEOF
13798 /* end confdefs.h. */ 16005 /* end confdefs.h. */
13799 #if defined(CRAY) && ! defined(CRAY2) 16006 #if defined CRAY && ! defined CRAY2
13800 webecray 16007 webecray
13801 #else 16008 #else
13802 wenotbecray 16009 wenotbecray
13803 #endif 16010 #endif
13804 16011
13810 ac_cv_os_cray=no 16017 ac_cv_os_cray=no
13811 fi 16018 fi
13812 rm -f conftest* 16019 rm -f conftest*
13813 16020
13814 fi 16021 fi
13815 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 16022 { echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
13816 echo "${ECHO_T}$ac_cv_os_cray" >&6 16023 echo "${ECHO_T}$ac_cv_os_cray" >&6; }
13817 if test $ac_cv_os_cray = yes; then 16024 if test $ac_cv_os_cray = yes; then
13818 for ac_func in _getb67 GETB67 getb67; do 16025 for ac_func in _getb67 GETB67 getb67; do
13819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 16026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13820 echo "$as_me:$LINENO: checking for $ac_func" >&5 16027 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 16028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13822 if eval "test \"\${$as_ac_var+set}\" = set"; then 16029 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13823 echo $ECHO_N "(cached) $ECHO_C" >&6 16030 echo $ECHO_N "(cached) $ECHO_C" >&6
13824 else 16031 else
13825 cat >conftest.$ac_ext <<_ACEOF 16032 cat >conftest.$ac_ext <<_ACEOF
13826 /* confdefs.h. */ 16033 /* confdefs.h. */
13827 _ACEOF 16034 _ACEOF
13843 # include <assert.h> 16050 # include <assert.h>
13844 #endif 16051 #endif
13845 16052
13846 #undef $ac_func 16053 #undef $ac_func
13847 16054
13848 /* Override any gcc2 internal prototype to avoid an error. */ 16055 /* Override any GCC internal prototype to avoid an error.
16056 Use char because int might match the return type of a GCC
16057 builtin and then its argument prototype would still apply. */
13849 #ifdef __cplusplus 16058 #ifdef __cplusplus
13850 extern "C" 16059 extern "C"
13851 {
13852 #endif 16060 #endif
13853 /* We use char because int might match the return type of a gcc2
13854 builtin and then its argument prototype would still apply. */
13855 char $ac_func (); 16061 char $ac_func ();
13856 /* The GNU C library defines this for functions which it implements 16062 /* The GNU C library defines this for functions which it implements
13857 to always fail with ENOSYS. Some functions are actually named 16063 to always fail with ENOSYS. Some functions are actually named
13858 something starting with __ and the normal name is an alias. */ 16064 something starting with __ and the normal name is an alias. */
13859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 16065 #if defined __stub_$ac_func || defined __stub___$ac_func
13860 choke me 16066 choke me
13861 #else
13862 char (*f) () = $ac_func;
13863 #endif
13864 #ifdef __cplusplus
13865 }
13866 #endif 16067 #endif
13867 16068
13868 int 16069 int
13869 main () 16070 main ()
13870 { 16071 {
13871 return f != $ac_func; 16072 return $ac_func ();
13872 ; 16073 ;
13873 return 0; 16074 return 0;
13874 } 16075 }
13875 _ACEOF 16076 _ACEOF
13876 rm -f conftest.$ac_objext conftest$ac_exeext 16077 rm -f conftest.$ac_objext conftest$ac_exeext
13877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 16078 if { (ac_try="$ac_link"
13878 (eval $ac_link) 2>conftest.er1 16079 case "(($ac_try" in
16080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16081 *) ac_try_echo=$ac_try;;
16082 esac
16083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16084 (eval "$ac_link") 2>conftest.er1
13879 ac_status=$? 16085 ac_status=$?
13880 grep -v '^ *+' conftest.er1 >conftest.err 16086 grep -v '^ *+' conftest.er1 >conftest.err
13881 rm -f conftest.er1 16087 rm -f conftest.er1
13882 cat conftest.err >&5 16088 cat conftest.err >&5
13883 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13884 (exit $ac_status); } && 16090 (exit $ac_status); } &&
13885 { ac_try='test -z "$ac_c_werror_flag" 16091 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13886 || test ! -s conftest.err' 16092 { (case "(($ac_try" in
13887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13888 (eval $ac_try) 2>&5 16094 *) ac_try_echo=$ac_try;;
16095 esac
16096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16097 (eval "$ac_try") 2>&5
13889 ac_status=$? 16098 ac_status=$?
13890 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13891 (exit $ac_status); }; } && 16100 (exit $ac_status); }; } &&
13892 { ac_try='test -s conftest$ac_exeext' 16101 { ac_try='test -s conftest$ac_exeext'
13893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16102 { (case "(($ac_try" in
13894 (eval $ac_try) 2>&5 16103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16104 *) ac_try_echo=$ac_try;;
16105 esac
16106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16107 (eval "$ac_try") 2>&5
13895 ac_status=$? 16108 ac_status=$?
13896 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13897 (exit $ac_status); }; }; then 16110 (exit $ac_status); }; }; then
13898 eval "$as_ac_var=yes" 16111 eval "$as_ac_var=yes"
13899 else 16112 else
13900 echo "$as_me: failed program was:" >&5 16113 echo "$as_me: failed program was:" >&5
13901 sed 's/^/| /' conftest.$ac_ext >&5 16114 sed 's/^/| /' conftest.$ac_ext >&5
13902 16115
13903 eval "$as_ac_var=no" 16116 eval "$as_ac_var=no"
13904 fi 16117 fi
13905 rm -f conftest.err conftest.$ac_objext \ 16118
16119 rm -f core conftest.err conftest.$ac_objext \
13906 conftest$ac_exeext conftest.$ac_ext 16120 conftest$ac_exeext conftest.$ac_ext
13907 fi 16121 fi
13908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 16122 ac_res=`eval echo '${'$as_ac_var'}'`
13909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 16123 { echo "$as_me:$LINENO: result: $ac_res" >&5
16124 echo "${ECHO_T}$ac_res" >&6; }
13910 if test `eval echo '${'$as_ac_var'}'` = yes; then 16125 if test `eval echo '${'$as_ac_var'}'` = yes; then
13911 16126
13912 cat >>confdefs.h <<_ACEOF 16127 cat >>confdefs.h <<_ACEOF
13913 #define CRAY_STACKSEG_END $ac_func 16128 #define CRAY_STACKSEG_END $ac_func
13914 _ACEOF 16129 _ACEOF
13917 fi 16132 fi
13918 16133
13919 done 16134 done
13920 fi 16135 fi
13921 16136
13922 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 16137 { echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
13923 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 16138 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
13924 if test "${ac_cv_c_stack_direction+set}" = set; then 16139 if test "${ac_cv_c_stack_direction+set}" = set; then
13925 echo $ECHO_N "(cached) $ECHO_C" >&6 16140 echo $ECHO_N "(cached) $ECHO_C" >&6
13926 else 16141 else
13927 if test "$cross_compiling" = yes; then 16142 if test "$cross_compiling" = yes; then
13928 ac_cv_c_stack_direction=0 16143 ac_cv_c_stack_direction=0
13931 /* confdefs.h. */ 16146 /* confdefs.h. */
13932 _ACEOF 16147 _ACEOF
13933 cat confdefs.h >>conftest.$ac_ext 16148 cat confdefs.h >>conftest.$ac_ext
13934 cat >>conftest.$ac_ext <<_ACEOF 16149 cat >>conftest.$ac_ext <<_ACEOF
13935 /* end confdefs.h. */ 16150 /* end confdefs.h. */
16151 $ac_includes_default
13936 int 16152 int
13937 find_stack_direction () 16153 find_stack_direction ()
13938 { 16154 {
13939 static char *addr = 0; 16155 static char *addr = 0;
13940 auto char dummy; 16156 auto char dummy;
13948 } 16164 }
13949 16165
13950 int 16166 int
13951 main () 16167 main ()
13952 { 16168 {
13953 exit (find_stack_direction () < 0); 16169 return find_stack_direction () < 0;
13954 } 16170 }
13955 _ACEOF 16171 _ACEOF
13956 rm -f conftest$ac_exeext 16172 rm -f conftest$ac_exeext
13957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 16173 if { (ac_try="$ac_link"
13958 (eval $ac_link) 2>&5 16174 case "(($ac_try" in
16175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16176 *) ac_try_echo=$ac_try;;
16177 esac
16178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16179 (eval "$ac_link") 2>&5
13959 ac_status=$? 16180 ac_status=$?
13960 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13961 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 16182 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16183 { (case "(($ac_try" in
13963 (eval $ac_try) 2>&5 16184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16185 *) ac_try_echo=$ac_try;;
16186 esac
16187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16188 (eval "$ac_try") 2>&5
13964 ac_status=$? 16189 ac_status=$?
13965 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13966 (exit $ac_status); }; }; then 16191 (exit $ac_status); }; }; then
13967 ac_cv_c_stack_direction=1 16192 ac_cv_c_stack_direction=1
13968 else 16193 else
13971 sed 's/^/| /' conftest.$ac_ext >&5 16196 sed 's/^/| /' conftest.$ac_ext >&5
13972 16197
13973 ( exit $ac_status ) 16198 ( exit $ac_status )
13974 ac_cv_c_stack_direction=-1 16199 ac_cv_c_stack_direction=-1
13975 fi 16200 fi
13976 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 16201 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13977 fi 16202 fi
13978 fi 16203
13979 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 16204
13980 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 16205 fi
16206 { echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
16207 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
13981 16208
13982 cat >>confdefs.h <<_ACEOF 16209 cat >>confdefs.h <<_ACEOF
13983 #define STACK_DIRECTION $ac_cv_c_stack_direction 16210 #define STACK_DIRECTION $ac_cv_c_stack_direction
13984 _ACEOF 16211 _ACEOF
13985 16212
13988 16215
13989 16216
13990 # fmod, logb, and frexp are found in -lm on most systems. 16217 # fmod, logb, and frexp are found in -lm on most systems.
13991 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. 16218 # On HPUX 9.01, -lm does not contain logb, so check for sqrt.
13992 16219
13993 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5 16220 { echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
13994 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6 16221 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6; }
13995 if test "${ac_cv_lib_m_sqrt+set}" = set; then 16222 if test "${ac_cv_lib_m_sqrt+set}" = set; then
13996 echo $ECHO_N "(cached) $ECHO_C" >&6 16223 echo $ECHO_N "(cached) $ECHO_C" >&6
13997 else 16224 else
13998 ac_check_lib_save_LIBS=$LIBS 16225 ac_check_lib_save_LIBS=$LIBS
13999 LIBS="-lm $LIBS" 16226 LIBS="-lm $LIBS"
14002 _ACEOF 16229 _ACEOF
14003 cat confdefs.h >>conftest.$ac_ext 16230 cat confdefs.h >>conftest.$ac_ext
14004 cat >>conftest.$ac_ext <<_ACEOF 16231 cat >>conftest.$ac_ext <<_ACEOF
14005 /* end confdefs.h. */ 16232 /* end confdefs.h. */
14006 16233
14007 /* Override any gcc2 internal prototype to avoid an error. */ 16234 /* Override any GCC internal prototype to avoid an error.
16235 Use char because int might match the return type of a GCC
16236 builtin and then its argument prototype would still apply. */
14008 #ifdef __cplusplus 16237 #ifdef __cplusplus
14009 extern "C" 16238 extern "C"
14010 #endif 16239 #endif
14011 /* We use char because int might match the return type of a gcc2
14012 builtin and then its argument prototype would still apply. */
14013 char sqrt (); 16240 char sqrt ();
14014 int 16241 int
14015 main () 16242 main ()
14016 { 16243 {
14017 sqrt (); 16244 return sqrt ();
14018 ; 16245 ;
14019 return 0; 16246 return 0;
14020 } 16247 }
14021 _ACEOF 16248 _ACEOF
14022 rm -f conftest.$ac_objext conftest$ac_exeext 16249 rm -f conftest.$ac_objext conftest$ac_exeext
14023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 16250 if { (ac_try="$ac_link"
14024 (eval $ac_link) 2>conftest.er1 16251 case "(($ac_try" in
16252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16253 *) ac_try_echo=$ac_try;;
16254 esac
16255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16256 (eval "$ac_link") 2>conftest.er1
14025 ac_status=$? 16257 ac_status=$?
14026 grep -v '^ *+' conftest.er1 >conftest.err 16258 grep -v '^ *+' conftest.er1 >conftest.err
14027 rm -f conftest.er1 16259 rm -f conftest.er1
14028 cat conftest.err >&5 16260 cat conftest.err >&5
14029 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14030 (exit $ac_status); } && 16262 (exit $ac_status); } &&
14031 { ac_try='test -z "$ac_c_werror_flag" 16263 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14032 || test ! -s conftest.err' 16264 { (case "(($ac_try" in
14033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14034 (eval $ac_try) 2>&5 16266 *) ac_try_echo=$ac_try;;
16267 esac
16268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16269 (eval "$ac_try") 2>&5
14035 ac_status=$? 16270 ac_status=$?
14036 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14037 (exit $ac_status); }; } && 16272 (exit $ac_status); }; } &&
14038 { ac_try='test -s conftest$ac_exeext' 16273 { ac_try='test -s conftest$ac_exeext'
14039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16274 { (case "(($ac_try" in
14040 (eval $ac_try) 2>&5 16275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16276 *) ac_try_echo=$ac_try;;
16277 esac
16278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16279 (eval "$ac_try") 2>&5
14041 ac_status=$? 16280 ac_status=$?
14042 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14043 (exit $ac_status); }; }; then 16282 (exit $ac_status); }; }; then
14044 ac_cv_lib_m_sqrt=yes 16283 ac_cv_lib_m_sqrt=yes
14045 else 16284 else
14046 echo "$as_me: failed program was:" >&5 16285 echo "$as_me: failed program was:" >&5
14047 sed 's/^/| /' conftest.$ac_ext >&5 16286 sed 's/^/| /' conftest.$ac_ext >&5
14048 16287
14049 ac_cv_lib_m_sqrt=no 16288 ac_cv_lib_m_sqrt=no
14050 fi 16289 fi
14051 rm -f conftest.err conftest.$ac_objext \ 16290
16291 rm -f core conftest.err conftest.$ac_objext \
14052 conftest$ac_exeext conftest.$ac_ext 16292 conftest$ac_exeext conftest.$ac_ext
14053 LIBS=$ac_check_lib_save_LIBS 16293 LIBS=$ac_check_lib_save_LIBS
14054 fi 16294 fi
14055 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5 16295 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
14056 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6 16296 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6; }
14057 if test $ac_cv_lib_m_sqrt = yes; then 16297 if test $ac_cv_lib_m_sqrt = yes; then
14058 cat >>confdefs.h <<_ACEOF 16298 cat >>confdefs.h <<_ACEOF
14059 #define HAVE_LIBM 1 16299 #define HAVE_LIBM 1
14060 _ACEOF 16300 _ACEOF
14061 16301
14065 16305
14066 16306
14067 # Check for mail-locking functions in a "mail" library. Probably this should 16307 # Check for mail-locking functions in a "mail" library. Probably this should
14068 # have the same check as for liblockfile below. 16308 # have the same check as for liblockfile below.
14069 16309
14070 echo "$as_me:$LINENO: checking for maillock in -lmail" >&5 16310 { echo "$as_me:$LINENO: checking for maillock in -lmail" >&5
14071 echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6 16311 echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6; }
14072 if test "${ac_cv_lib_mail_maillock+set}" = set; then 16312 if test "${ac_cv_lib_mail_maillock+set}" = set; then
14073 echo $ECHO_N "(cached) $ECHO_C" >&6 16313 echo $ECHO_N "(cached) $ECHO_C" >&6
14074 else 16314 else
14075 ac_check_lib_save_LIBS=$LIBS 16315 ac_check_lib_save_LIBS=$LIBS
14076 LIBS="-lmail $LIBS" 16316 LIBS="-lmail $LIBS"
14079 _ACEOF 16319 _ACEOF
14080 cat confdefs.h >>conftest.$ac_ext 16320 cat confdefs.h >>conftest.$ac_ext
14081 cat >>conftest.$ac_ext <<_ACEOF 16321 cat >>conftest.$ac_ext <<_ACEOF
14082 /* end confdefs.h. */ 16322 /* end confdefs.h. */
14083 16323
14084 /* Override any gcc2 internal prototype to avoid an error. */ 16324 /* Override any GCC internal prototype to avoid an error.
16325 Use char because int might match the return type of a GCC
16326 builtin and then its argument prototype would still apply. */
14085 #ifdef __cplusplus 16327 #ifdef __cplusplus
14086 extern "C" 16328 extern "C"
14087 #endif 16329 #endif
14088 /* We use char because int might match the return type of a gcc2
14089 builtin and then its argument prototype would still apply. */
14090 char maillock (); 16330 char maillock ();
14091 int 16331 int
14092 main () 16332 main ()
14093 { 16333 {
14094 maillock (); 16334 return maillock ();
14095 ; 16335 ;
14096 return 0; 16336 return 0;
14097 } 16337 }
14098 _ACEOF 16338 _ACEOF
14099 rm -f conftest.$ac_objext conftest$ac_exeext 16339 rm -f conftest.$ac_objext conftest$ac_exeext
14100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 16340 if { (ac_try="$ac_link"
14101 (eval $ac_link) 2>conftest.er1 16341 case "(($ac_try" in
16342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16343 *) ac_try_echo=$ac_try;;
16344 esac
16345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16346 (eval "$ac_link") 2>conftest.er1
14102 ac_status=$? 16347 ac_status=$?
14103 grep -v '^ *+' conftest.er1 >conftest.err 16348 grep -v '^ *+' conftest.er1 >conftest.err
14104 rm -f conftest.er1 16349 rm -f conftest.er1
14105 cat conftest.err >&5 16350 cat conftest.err >&5
14106 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14107 (exit $ac_status); } && 16352 (exit $ac_status); } &&
14108 { ac_try='test -z "$ac_c_werror_flag" 16353 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14109 || test ! -s conftest.err' 16354 { (case "(($ac_try" in
14110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14111 (eval $ac_try) 2>&5 16356 *) ac_try_echo=$ac_try;;
16357 esac
16358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16359 (eval "$ac_try") 2>&5
14112 ac_status=$? 16360 ac_status=$?
14113 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14114 (exit $ac_status); }; } && 16362 (exit $ac_status); }; } &&
14115 { ac_try='test -s conftest$ac_exeext' 16363 { ac_try='test -s conftest$ac_exeext'
14116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16364 { (case "(($ac_try" in
14117 (eval $ac_try) 2>&5 16365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16366 *) ac_try_echo=$ac_try;;
16367 esac
16368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16369 (eval "$ac_try") 2>&5
14118 ac_status=$? 16370 ac_status=$?
14119 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14120 (exit $ac_status); }; }; then 16372 (exit $ac_status); }; }; then
14121 ac_cv_lib_mail_maillock=yes 16373 ac_cv_lib_mail_maillock=yes
14122 else 16374 else
14123 echo "$as_me: failed program was:" >&5 16375 echo "$as_me: failed program was:" >&5
14124 sed 's/^/| /' conftest.$ac_ext >&5 16376 sed 's/^/| /' conftest.$ac_ext >&5
14125 16377
14126 ac_cv_lib_mail_maillock=no 16378 ac_cv_lib_mail_maillock=no
14127 fi 16379 fi
14128 rm -f conftest.err conftest.$ac_objext \ 16380
16381 rm -f core conftest.err conftest.$ac_objext \
14129 conftest$ac_exeext conftest.$ac_ext 16382 conftest$ac_exeext conftest.$ac_ext
14130 LIBS=$ac_check_lib_save_LIBS 16383 LIBS=$ac_check_lib_save_LIBS
14131 fi 16384 fi
14132 echo "$as_me:$LINENO: result: $ac_cv_lib_mail_maillock" >&5 16385 { echo "$as_me:$LINENO: result: $ac_cv_lib_mail_maillock" >&5
14133 echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6 16386 echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6; }
14134 if test $ac_cv_lib_mail_maillock = yes; then 16387 if test $ac_cv_lib_mail_maillock = yes; then
14135 cat >>confdefs.h <<_ACEOF 16388 cat >>confdefs.h <<_ACEOF
14136 #define HAVE_LIBMAIL 1 16389 #define HAVE_LIBMAIL 1
14137 _ACEOF 16390 _ACEOF
14138 16391
14139 LIBS="-lmail $LIBS" 16392 LIBS="-lmail $LIBS"
14140 16393
14141 fi 16394 fi
14142 16395
14143 16396
14144 echo "$as_me:$LINENO: checking for maillock in -llockfile" >&5 16397 { echo "$as_me:$LINENO: checking for maillock in -llockfile" >&5
14145 echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6 16398 echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6; }
14146 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then 16399 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then
14147 echo $ECHO_N "(cached) $ECHO_C" >&6 16400 echo $ECHO_N "(cached) $ECHO_C" >&6
14148 else 16401 else
14149 ac_check_lib_save_LIBS=$LIBS 16402 ac_check_lib_save_LIBS=$LIBS
14150 LIBS="-llockfile $LIBS" 16403 LIBS="-llockfile $LIBS"
14153 _ACEOF 16406 _ACEOF
14154 cat confdefs.h >>conftest.$ac_ext 16407 cat confdefs.h >>conftest.$ac_ext
14155 cat >>conftest.$ac_ext <<_ACEOF 16408 cat >>conftest.$ac_ext <<_ACEOF
14156 /* end confdefs.h. */ 16409 /* end confdefs.h. */
14157 16410
14158 /* Override any gcc2 internal prototype to avoid an error. */ 16411 /* Override any GCC internal prototype to avoid an error.
16412 Use char because int might match the return type of a GCC
16413 builtin and then its argument prototype would still apply. */
14159 #ifdef __cplusplus 16414 #ifdef __cplusplus
14160 extern "C" 16415 extern "C"
14161 #endif 16416 #endif
14162 /* We use char because int might match the return type of a gcc2
14163 builtin and then its argument prototype would still apply. */
14164 char maillock (); 16417 char maillock ();
14165 int 16418 int
14166 main () 16419 main ()
14167 { 16420 {
14168 maillock (); 16421 return maillock ();
14169 ; 16422 ;
14170 return 0; 16423 return 0;
14171 } 16424 }
14172 _ACEOF 16425 _ACEOF
14173 rm -f conftest.$ac_objext conftest$ac_exeext 16426 rm -f conftest.$ac_objext conftest$ac_exeext
14174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 16427 if { (ac_try="$ac_link"
14175 (eval $ac_link) 2>conftest.er1 16428 case "(($ac_try" in
16429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16430 *) ac_try_echo=$ac_try;;
16431 esac
16432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16433 (eval "$ac_link") 2>conftest.er1
14176 ac_status=$? 16434 ac_status=$?
14177 grep -v '^ *+' conftest.er1 >conftest.err 16435 grep -v '^ *+' conftest.er1 >conftest.err
14178 rm -f conftest.er1 16436 rm -f conftest.er1
14179 cat conftest.err >&5 16437 cat conftest.err >&5
14180 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14181 (exit $ac_status); } && 16439 (exit $ac_status); } &&
14182 { ac_try='test -z "$ac_c_werror_flag" 16440 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14183 || test ! -s conftest.err' 16441 { (case "(($ac_try" in
14184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14185 (eval $ac_try) 2>&5 16443 *) ac_try_echo=$ac_try;;
16444 esac
16445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16446 (eval "$ac_try") 2>&5
14186 ac_status=$? 16447 ac_status=$?
14187 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14188 (exit $ac_status); }; } && 16449 (exit $ac_status); }; } &&
14189 { ac_try='test -s conftest$ac_exeext' 16450 { ac_try='test -s conftest$ac_exeext'
14190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16451 { (case "(($ac_try" in
14191 (eval $ac_try) 2>&5 16452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16453 *) ac_try_echo=$ac_try;;
16454 esac
16455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16456 (eval "$ac_try") 2>&5
14192 ac_status=$? 16457 ac_status=$?
14193 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14194 (exit $ac_status); }; }; then 16459 (exit $ac_status); }; }; then
14195 ac_cv_lib_lockfile_maillock=yes 16460 ac_cv_lib_lockfile_maillock=yes
14196 else 16461 else
14197 echo "$as_me: failed program was:" >&5 16462 echo "$as_me: failed program was:" >&5
14198 sed 's/^/| /' conftest.$ac_ext >&5 16463 sed 's/^/| /' conftest.$ac_ext >&5
14199 16464
14200 ac_cv_lib_lockfile_maillock=no 16465 ac_cv_lib_lockfile_maillock=no
14201 fi 16466 fi
14202 rm -f conftest.err conftest.$ac_objext \ 16467
16468 rm -f core conftest.err conftest.$ac_objext \
14203 conftest$ac_exeext conftest.$ac_ext 16469 conftest$ac_exeext conftest.$ac_ext
14204 LIBS=$ac_check_lib_save_LIBS 16470 LIBS=$ac_check_lib_save_LIBS
14205 fi 16471 fi
14206 echo "$as_me:$LINENO: result: $ac_cv_lib_lockfile_maillock" >&5 16472 { echo "$as_me:$LINENO: result: $ac_cv_lib_lockfile_maillock" >&5
14207 echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6 16473 echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6; }
14208 if test $ac_cv_lib_lockfile_maillock = yes; then 16474 if test $ac_cv_lib_lockfile_maillock = yes; then
14209 cat >>confdefs.h <<_ACEOF 16475 cat >>confdefs.h <<_ACEOF
14210 #define HAVE_LIBLOCKFILE 1 16476 #define HAVE_LIBLOCKFILE 1
14211 _ACEOF 16477 _ACEOF
14212 16478
14218 # locking (e.g. Debian). If we couldn't link against liblockfile 16484 # locking (e.g. Debian). If we couldn't link against liblockfile
14219 # (no liblockfile.a installed), ensure that we don't need to. 16485 # (no liblockfile.a installed), ensure that we don't need to.
14220 if test "$ac_cv_lib_lockfile_maillock" = no; then 16486 if test "$ac_cv_lib_lockfile_maillock" = no; then
14221 # Extract the first word of "liblockfile.so", so it can be a program name with args. 16487 # Extract the first word of "liblockfile.so", so it can be a program name with args.
14222 set dummy liblockfile.so; ac_word=$2 16488 set dummy liblockfile.so; ac_word=$2
14223 echo "$as_me:$LINENO: checking for $ac_word" >&5 16489 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 16490 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14225 if test "${ac_cv_prog_liblockfile+set}" = set; then 16491 if test "${ac_cv_prog_liblockfile+set}" = set; then
14226 echo $ECHO_N "(cached) $ECHO_C" >&6 16492 echo $ECHO_N "(cached) $ECHO_C" >&6
14227 else 16493 else
14228 if test -n "$liblockfile"; then 16494 if test -n "$liblockfile"; then
14229 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test. 16495 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test.
14233 for as_dir in $as_dummy 16499 for as_dir in $as_dummy
14234 do 16500 do
14235 IFS=$as_save_IFS 16501 IFS=$as_save_IFS
14236 test -z "$as_dir" && as_dir=. 16502 test -z "$as_dir" && as_dir=.
14237 for ac_exec_ext in '' $ac_executable_extensions; do 16503 for ac_exec_ext in '' $ac_executable_extensions; do
14238 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14239 ac_cv_prog_liblockfile="yes" 16505 ac_cv_prog_liblockfile="yes"
14240 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 16506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14241 break 2 16507 break 2
14242 fi 16508 fi
14243 done 16509 done
14244 done 16510 done
16511 IFS=$as_save_IFS
14245 16512
14246 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no" 16513 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no"
14247 fi 16514 fi
14248 fi 16515 fi
14249 liblockfile=$ac_cv_prog_liblockfile 16516 liblockfile=$ac_cv_prog_liblockfile
14250 if test -n "$liblockfile"; then 16517 if test -n "$liblockfile"; then
14251 echo "$as_me:$LINENO: result: $liblockfile" >&5 16518 { echo "$as_me:$LINENO: result: $liblockfile" >&5
14252 echo "${ECHO_T}$liblockfile" >&6 16519 echo "${ECHO_T}$liblockfile" >&6; }
14253 else 16520 else
14254 echo "$as_me:$LINENO: result: no" >&5 16521 { echo "$as_me:$LINENO: result: no" >&5
14255 echo "${ECHO_T}no" >&6 16522 echo "${ECHO_T}no" >&6; }
14256 fi 16523 fi
16524
14257 16525
14258 if test $ac_cv_prog_liblockfile = yes; then 16526 if test $ac_cv_prog_liblockfile = yes; then
14259 { { echo "$as_me:$LINENO: error: Shared liblockfile found but can't link against it. 16527 { { echo "$as_me:$LINENO: error: Shared liblockfile found but can't link against it.
14260 This probably means that movemail could lose mail. 16528 This probably means that movemail could lose mail.
14261 There may be a \`development' package to install containing liblockfile." >&5 16529 There may be a \`development' package to install containing liblockfile." >&5
14268 fi 16536 fi
14269 16537
14270 for ac_func in touchlock 16538 for ac_func in touchlock
14271 do 16539 do
14272 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 16540 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14273 echo "$as_me:$LINENO: checking for $ac_func" >&5 16541 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14274 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 16542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14275 if eval "test \"\${$as_ac_var+set}\" = set"; then 16543 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14276 echo $ECHO_N "(cached) $ECHO_C" >&6 16544 echo $ECHO_N "(cached) $ECHO_C" >&6
14277 else 16545 else
14278 cat >conftest.$ac_ext <<_ACEOF 16546 cat >conftest.$ac_ext <<_ACEOF
14279 /* confdefs.h. */ 16547 /* confdefs.h. */
14280 _ACEOF 16548 _ACEOF
14296 # include <assert.h> 16564 # include <assert.h>
14297 #endif 16565 #endif
14298 16566
14299 #undef $ac_func 16567 #undef $ac_func
14300 16568
14301 /* Override any gcc2 internal prototype to avoid an error. */ 16569 /* Override any GCC internal prototype to avoid an error.
16570 Use char because int might match the return type of a GCC
16571 builtin and then its argument prototype would still apply. */
14302 #ifdef __cplusplus 16572 #ifdef __cplusplus
14303 extern "C" 16573 extern "C"
14304 {
14305 #endif 16574 #endif
14306 /* We use char because int might match the return type of a gcc2
14307 builtin and then its argument prototype would still apply. */
14308 char $ac_func (); 16575 char $ac_func ();
14309 /* The GNU C library defines this for functions which it implements 16576 /* The GNU C library defines this for functions which it implements
14310 to always fail with ENOSYS. Some functions are actually named 16577 to always fail with ENOSYS. Some functions are actually named
14311 something starting with __ and the normal name is an alias. */ 16578 something starting with __ and the normal name is an alias. */
14312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 16579 #if defined __stub_$ac_func || defined __stub___$ac_func
14313 choke me 16580 choke me
14314 #else
14315 char (*f) () = $ac_func;
14316 #endif
14317 #ifdef __cplusplus
14318 }
14319 #endif 16581 #endif
14320 16582
14321 int 16583 int
14322 main () 16584 main ()
14323 { 16585 {
14324 return f != $ac_func; 16586 return $ac_func ();
14325 ; 16587 ;
14326 return 0; 16588 return 0;
14327 } 16589 }
14328 _ACEOF 16590 _ACEOF
14329 rm -f conftest.$ac_objext conftest$ac_exeext 16591 rm -f conftest.$ac_objext conftest$ac_exeext
14330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 16592 if { (ac_try="$ac_link"
14331 (eval $ac_link) 2>conftest.er1 16593 case "(($ac_try" in
16594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16595 *) ac_try_echo=$ac_try;;
16596 esac
16597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16598 (eval "$ac_link") 2>conftest.er1
14332 ac_status=$? 16599 ac_status=$?
14333 grep -v '^ *+' conftest.er1 >conftest.err 16600 grep -v '^ *+' conftest.er1 >conftest.err
14334 rm -f conftest.er1 16601 rm -f conftest.er1
14335 cat conftest.err >&5 16602 cat conftest.err >&5
14336 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14337 (exit $ac_status); } && 16604 (exit $ac_status); } &&
14338 { ac_try='test -z "$ac_c_werror_flag" 16605 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14339 || test ! -s conftest.err' 16606 { (case "(($ac_try" in
14340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14341 (eval $ac_try) 2>&5 16608 *) ac_try_echo=$ac_try;;
16609 esac
16610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16611 (eval "$ac_try") 2>&5
14342 ac_status=$? 16612 ac_status=$?
14343 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14344 (exit $ac_status); }; } && 16614 (exit $ac_status); }; } &&
14345 { ac_try='test -s conftest$ac_exeext' 16615 { ac_try='test -s conftest$ac_exeext'
14346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16616 { (case "(($ac_try" in
14347 (eval $ac_try) 2>&5 16617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16618 *) ac_try_echo=$ac_try;;
16619 esac
16620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16621 (eval "$ac_try") 2>&5
14348 ac_status=$? 16622 ac_status=$?
14349 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14350 (exit $ac_status); }; }; then 16624 (exit $ac_status); }; }; then
14351 eval "$as_ac_var=yes" 16625 eval "$as_ac_var=yes"
14352 else 16626 else
14353 echo "$as_me: failed program was:" >&5 16627 echo "$as_me: failed program was:" >&5
14354 sed 's/^/| /' conftest.$ac_ext >&5 16628 sed 's/^/| /' conftest.$ac_ext >&5
14355 16629
14356 eval "$as_ac_var=no" 16630 eval "$as_ac_var=no"
14357 fi 16631 fi
14358 rm -f conftest.err conftest.$ac_objext \ 16632
16633 rm -f core conftest.err conftest.$ac_objext \
14359 conftest$ac_exeext conftest.$ac_ext 16634 conftest$ac_exeext conftest.$ac_ext
14360 fi 16635 fi
14361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 16636 ac_res=`eval echo '${'$as_ac_var'}'`
14362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 16637 { echo "$as_me:$LINENO: result: $ac_res" >&5
16638 echo "${ECHO_T}$ac_res" >&6; }
14363 if test `eval echo '${'$as_ac_var'}'` = yes; then 16639 if test `eval echo '${'$as_ac_var'}'` = yes; then
14364 cat >>confdefs.h <<_ACEOF 16640 cat >>confdefs.h <<_ACEOF
14365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 16641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14366 _ACEOF 16642 _ACEOF
14367 16643
14370 16646
14371 16647
14372 for ac_header in maillock.h 16648 for ac_header in maillock.h
14373 do 16649 do
14374 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 16650 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14375 if eval "test \"\${$as_ac_Header+set}\" = set"; then 16651 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14376 echo "$as_me:$LINENO: checking for $ac_header" >&5 16652 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14377 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 16653 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14378 if eval "test \"\${$as_ac_Header+set}\" = set"; then 16654 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14379 echo $ECHO_N "(cached) $ECHO_C" >&6 16655 echo $ECHO_N "(cached) $ECHO_C" >&6
14380 fi 16656 fi
14381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 16657 ac_res=`eval echo '${'$as_ac_Header'}'`
14382 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 16658 { echo "$as_me:$LINENO: result: $ac_res" >&5
16659 echo "${ECHO_T}$ac_res" >&6; }
14383 else 16660 else
14384 # Is the header compilable? 16661 # Is the header compilable?
14385 echo "$as_me:$LINENO: checking $ac_header usability" >&5 16662 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
14386 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 16663 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
14387 cat >conftest.$ac_ext <<_ACEOF 16664 cat >conftest.$ac_ext <<_ACEOF
14388 /* confdefs.h. */ 16665 /* confdefs.h. */
14389 _ACEOF 16666 _ACEOF
14390 cat confdefs.h >>conftest.$ac_ext 16667 cat confdefs.h >>conftest.$ac_ext
14391 cat >>conftest.$ac_ext <<_ACEOF 16668 cat >>conftest.$ac_ext <<_ACEOF
14392 /* end confdefs.h. */ 16669 /* end confdefs.h. */
14393 $ac_includes_default 16670 $ac_includes_default
14394 #include <$ac_header> 16671 #include <$ac_header>
14395 _ACEOF 16672 _ACEOF
14396 rm -f conftest.$ac_objext 16673 rm -f conftest.$ac_objext
14397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 16674 if { (ac_try="$ac_compile"
14398 (eval $ac_compile) 2>conftest.er1 16675 case "(($ac_try" in
16676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16677 *) ac_try_echo=$ac_try;;
16678 esac
16679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16680 (eval "$ac_compile") 2>conftest.er1
14399 ac_status=$? 16681 ac_status=$?
14400 grep -v '^ *+' conftest.er1 >conftest.err 16682 grep -v '^ *+' conftest.er1 >conftest.err
14401 rm -f conftest.er1 16683 rm -f conftest.er1
14402 cat conftest.err >&5 16684 cat conftest.err >&5
14403 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14404 (exit $ac_status); } && 16686 (exit $ac_status); } &&
14405 { ac_try='test -z "$ac_c_werror_flag" 16687 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14406 || test ! -s conftest.err' 16688 { (case "(($ac_try" in
14407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14408 (eval $ac_try) 2>&5 16690 *) ac_try_echo=$ac_try;;
16691 esac
16692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16693 (eval "$ac_try") 2>&5
14409 ac_status=$? 16694 ac_status=$?
14410 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14411 (exit $ac_status); }; } && 16696 (exit $ac_status); }; } &&
14412 { ac_try='test -s conftest.$ac_objext' 16697 { ac_try='test -s conftest.$ac_objext'
14413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16698 { (case "(($ac_try" in
14414 (eval $ac_try) 2>&5 16699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16700 *) ac_try_echo=$ac_try;;
16701 esac
16702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16703 (eval "$ac_try") 2>&5
14415 ac_status=$? 16704 ac_status=$?
14416 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14417 (exit $ac_status); }; }; then 16706 (exit $ac_status); }; }; then
14418 ac_header_compiler=yes 16707 ac_header_compiler=yes
14419 else 16708 else
14420 echo "$as_me: failed program was:" >&5 16709 echo "$as_me: failed program was:" >&5
14421 sed 's/^/| /' conftest.$ac_ext >&5 16710 sed 's/^/| /' conftest.$ac_ext >&5
14422 16711
14423 ac_header_compiler=no 16712 ac_header_compiler=no
14424 fi 16713 fi
14425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 16714
14426 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 16715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14427 echo "${ECHO_T}$ac_header_compiler" >&6 16716 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16717 echo "${ECHO_T}$ac_header_compiler" >&6; }
14428 16718
14429 # Is the header present? 16719 # Is the header present?
14430 echo "$as_me:$LINENO: checking $ac_header presence" >&5 16720 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
14431 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 16721 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
14432 cat >conftest.$ac_ext <<_ACEOF 16722 cat >conftest.$ac_ext <<_ACEOF
14433 /* confdefs.h. */ 16723 /* confdefs.h. */
14434 _ACEOF 16724 _ACEOF
14435 cat confdefs.h >>conftest.$ac_ext 16725 cat confdefs.h >>conftest.$ac_ext
14436 cat >>conftest.$ac_ext <<_ACEOF 16726 cat >>conftest.$ac_ext <<_ACEOF
14437 /* end confdefs.h. */ 16727 /* end confdefs.h. */
14438 #include <$ac_header> 16728 #include <$ac_header>
14439 _ACEOF 16729 _ACEOF
14440 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 16730 if { (ac_try="$ac_cpp conftest.$ac_ext"
14441 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 16731 case "(($ac_try" in
16732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16733 *) ac_try_echo=$ac_try;;
16734 esac
16735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16736 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14442 ac_status=$? 16737 ac_status=$?
14443 grep -v '^ *+' conftest.er1 >conftest.err 16738 grep -v '^ *+' conftest.er1 >conftest.err
14444 rm -f conftest.er1 16739 rm -f conftest.er1
14445 cat conftest.err >&5 16740 cat conftest.err >&5
14446 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14460 echo "$as_me: failed program was:" >&5 16755 echo "$as_me: failed program was:" >&5
14461 sed 's/^/| /' conftest.$ac_ext >&5 16756 sed 's/^/| /' conftest.$ac_ext >&5
14462 16757
14463 ac_header_preproc=no 16758 ac_header_preproc=no
14464 fi 16759 fi
16760
14465 rm -f conftest.err conftest.$ac_ext 16761 rm -f conftest.err conftest.$ac_ext
14466 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 16762 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14467 echo "${ECHO_T}$ac_header_preproc" >&6 16763 echo "${ECHO_T}$ac_header_preproc" >&6; }
14468 16764
14469 # So? What about this header? 16765 # So? What about this header?
14470 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 16766 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14471 yes:no: ) 16767 yes:no: )
14472 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 16768 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14486 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 16782 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14487 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 16783 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14488 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 16784 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14489 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 16785 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14490 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 16786 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14491 ( 16787
14492 cat <<\_ASBOX
14493 ## ------------------------------------------ ##
14494 ## Report this to the AC_PACKAGE_NAME lists. ##
14495 ## ------------------------------------------ ##
14496 _ASBOX
14497 ) |
14498 sed "s/^/$as_me: WARNING: /" >&2
14499 ;; 16788 ;;
14500 esac 16789 esac
14501 echo "$as_me:$LINENO: checking for $ac_header" >&5 16790 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14502 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 16791 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14503 if eval "test \"\${$as_ac_Header+set}\" = set"; then 16792 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14504 echo $ECHO_N "(cached) $ECHO_C" >&6 16793 echo $ECHO_N "(cached) $ECHO_C" >&6
14505 else 16794 else
14506 eval "$as_ac_Header=\$ac_header_preproc" 16795 eval "$as_ac_Header=\$ac_header_preproc"
14507 fi 16796 fi
14508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 16797 ac_res=`eval echo '${'$as_ac_Header'}'`
14509 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 16798 { echo "$as_me:$LINENO: result: $ac_res" >&5
16799 echo "${ECHO_T}$ac_res" >&6; }
14510 16800
14511 fi 16801 fi
14512 if test `eval echo '${'$as_ac_Header'}'` = yes; then 16802 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14513 cat >>confdefs.h <<_ACEOF 16803 cat >>confdefs.h <<_ACEOF
14514 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 16804 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14597 sendto recvfrom getsockopt setsockopt getsockname getpeername \ 16887 sendto recvfrom getsockopt setsockopt getsockname getpeername \
14598 gai_strerror mkstemp getline getdelim mremap memmove fsync sync bzero \ 16888 gai_strerror mkstemp getline getdelim mremap memmove fsync sync bzero \
14599 memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign 16889 memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign
14600 do 16890 do
14601 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 16891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14602 echo "$as_me:$LINENO: checking for $ac_func" >&5 16892 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14603 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 16893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14604 if eval "test \"\${$as_ac_var+set}\" = set"; then 16894 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14605 echo $ECHO_N "(cached) $ECHO_C" >&6 16895 echo $ECHO_N "(cached) $ECHO_C" >&6
14606 else 16896 else
14607 cat >conftest.$ac_ext <<_ACEOF 16897 cat >conftest.$ac_ext <<_ACEOF
14608 /* confdefs.h. */ 16898 /* confdefs.h. */
14609 _ACEOF 16899 _ACEOF
14625 # include <assert.h> 16915 # include <assert.h>
14626 #endif 16916 #endif
14627 16917
14628 #undef $ac_func 16918 #undef $ac_func
14629 16919
14630 /* Override any gcc2 internal prototype to avoid an error. */ 16920 /* Override any GCC internal prototype to avoid an error.
16921 Use char because int might match the return type of a GCC
16922 builtin and then its argument prototype would still apply. */
14631 #ifdef __cplusplus 16923 #ifdef __cplusplus
14632 extern "C" 16924 extern "C"
14633 {
14634 #endif 16925 #endif
14635 /* We use char because int might match the return type of a gcc2
14636 builtin and then its argument prototype would still apply. */
14637 char $ac_func (); 16926 char $ac_func ();
14638 /* The GNU C library defines this for functions which it implements 16927 /* The GNU C library defines this for functions which it implements
14639 to always fail with ENOSYS. Some functions are actually named 16928 to always fail with ENOSYS. Some functions are actually named
14640 something starting with __ and the normal name is an alias. */ 16929 something starting with __ and the normal name is an alias. */
14641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 16930 #if defined __stub_$ac_func || defined __stub___$ac_func
14642 choke me 16931 choke me
14643 #else
14644 char (*f) () = $ac_func;
14645 #endif
14646 #ifdef __cplusplus
14647 }
14648 #endif 16932 #endif
14649 16933
14650 int 16934 int
14651 main () 16935 main ()
14652 { 16936 {
14653 return f != $ac_func; 16937 return $ac_func ();
14654 ; 16938 ;
14655 return 0; 16939 return 0;
14656 } 16940 }
14657 _ACEOF 16941 _ACEOF
14658 rm -f conftest.$ac_objext conftest$ac_exeext 16942 rm -f conftest.$ac_objext conftest$ac_exeext
14659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 16943 if { (ac_try="$ac_link"
14660 (eval $ac_link) 2>conftest.er1 16944 case "(($ac_try" in
16945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16946 *) ac_try_echo=$ac_try;;
16947 esac
16948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16949 (eval "$ac_link") 2>conftest.er1
14661 ac_status=$? 16950 ac_status=$?
14662 grep -v '^ *+' conftest.er1 >conftest.err 16951 grep -v '^ *+' conftest.er1 >conftest.err
14663 rm -f conftest.er1 16952 rm -f conftest.er1
14664 cat conftest.err >&5 16953 cat conftest.err >&5
14665 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14666 (exit $ac_status); } && 16955 (exit $ac_status); } &&
14667 { ac_try='test -z "$ac_c_werror_flag" 16956 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14668 || test ! -s conftest.err' 16957 { (case "(($ac_try" in
14669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14670 (eval $ac_try) 2>&5 16959 *) ac_try_echo=$ac_try;;
16960 esac
16961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16962 (eval "$ac_try") 2>&5
14671 ac_status=$? 16963 ac_status=$?
14672 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14673 (exit $ac_status); }; } && 16965 (exit $ac_status); }; } &&
14674 { ac_try='test -s conftest$ac_exeext' 16966 { ac_try='test -s conftest$ac_exeext'
14675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16967 { (case "(($ac_try" in
14676 (eval $ac_try) 2>&5 16968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16969 *) ac_try_echo=$ac_try;;
16970 esac
16971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16972 (eval "$ac_try") 2>&5
14677 ac_status=$? 16973 ac_status=$?
14678 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14679 (exit $ac_status); }; }; then 16975 (exit $ac_status); }; }; then
14680 eval "$as_ac_var=yes" 16976 eval "$as_ac_var=yes"
14681 else 16977 else
14682 echo "$as_me: failed program was:" >&5 16978 echo "$as_me: failed program was:" >&5
14683 sed 's/^/| /' conftest.$ac_ext >&5 16979 sed 's/^/| /' conftest.$ac_ext >&5
14684 16980
14685 eval "$as_ac_var=no" 16981 eval "$as_ac_var=no"
14686 fi 16982 fi
14687 rm -f conftest.err conftest.$ac_objext \ 16983
16984 rm -f core conftest.err conftest.$ac_objext \
14688 conftest$ac_exeext conftest.$ac_ext 16985 conftest$ac_exeext conftest.$ac_ext
14689 fi 16986 fi
14690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 16987 ac_res=`eval echo '${'$as_ac_var'}'`
14691 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 16988 { echo "$as_me:$LINENO: result: $ac_res" >&5
16989 echo "${ECHO_T}$ac_res" >&6; }
14692 if test `eval echo '${'$as_ac_var'}'` = yes; then 16990 if test `eval echo '${'$as_ac_var'}'` = yes; then
14693 cat >>confdefs.h <<_ACEOF 16991 cat >>confdefs.h <<_ACEOF
14694 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 16992 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14695 _ACEOF 16993 _ACEOF
14696 16994
14700 16998
14701 16999
14702 for ac_header in sys/un.h 17000 for ac_header in sys/un.h
14703 do 17001 do
14704 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 17002 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14705 if eval "test \"\${$as_ac_Header+set}\" = set"; then 17003 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14706 echo "$as_me:$LINENO: checking for $ac_header" >&5 17004 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14707 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 17005 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14708 if eval "test \"\${$as_ac_Header+set}\" = set"; then 17006 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14709 echo $ECHO_N "(cached) $ECHO_C" >&6 17007 echo $ECHO_N "(cached) $ECHO_C" >&6
14710 fi 17008 fi
14711 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 17009 ac_res=`eval echo '${'$as_ac_Header'}'`
14712 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 17010 { echo "$as_me:$LINENO: result: $ac_res" >&5
17011 echo "${ECHO_T}$ac_res" >&6; }
14713 else 17012 else
14714 # Is the header compilable? 17013 # Is the header compilable?
14715 echo "$as_me:$LINENO: checking $ac_header usability" >&5 17014 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
14716 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 17015 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
14717 cat >conftest.$ac_ext <<_ACEOF 17016 cat >conftest.$ac_ext <<_ACEOF
14718 /* confdefs.h. */ 17017 /* confdefs.h. */
14719 _ACEOF 17018 _ACEOF
14720 cat confdefs.h >>conftest.$ac_ext 17019 cat confdefs.h >>conftest.$ac_ext
14721 cat >>conftest.$ac_ext <<_ACEOF 17020 cat >>conftest.$ac_ext <<_ACEOF
14722 /* end confdefs.h. */ 17021 /* end confdefs.h. */
14723 $ac_includes_default 17022 $ac_includes_default
14724 #include <$ac_header> 17023 #include <$ac_header>
14725 _ACEOF 17024 _ACEOF
14726 rm -f conftest.$ac_objext 17025 rm -f conftest.$ac_objext
14727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 17026 if { (ac_try="$ac_compile"
14728 (eval $ac_compile) 2>conftest.er1 17027 case "(($ac_try" in
17028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17029 *) ac_try_echo=$ac_try;;
17030 esac
17031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17032 (eval "$ac_compile") 2>conftest.er1
14729 ac_status=$? 17033 ac_status=$?
14730 grep -v '^ *+' conftest.er1 >conftest.err 17034 grep -v '^ *+' conftest.er1 >conftest.err
14731 rm -f conftest.er1 17035 rm -f conftest.er1
14732 cat conftest.err >&5 17036 cat conftest.err >&5
14733 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14734 (exit $ac_status); } && 17038 (exit $ac_status); } &&
14735 { ac_try='test -z "$ac_c_werror_flag" 17039 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14736 || test ! -s conftest.err' 17040 { (case "(($ac_try" in
14737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14738 (eval $ac_try) 2>&5 17042 *) ac_try_echo=$ac_try;;
17043 esac
17044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17045 (eval "$ac_try") 2>&5
14739 ac_status=$? 17046 ac_status=$?
14740 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14741 (exit $ac_status); }; } && 17048 (exit $ac_status); }; } &&
14742 { ac_try='test -s conftest.$ac_objext' 17049 { ac_try='test -s conftest.$ac_objext'
14743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17050 { (case "(($ac_try" in
14744 (eval $ac_try) 2>&5 17051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17052 *) ac_try_echo=$ac_try;;
17053 esac
17054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17055 (eval "$ac_try") 2>&5
14745 ac_status=$? 17056 ac_status=$?
14746 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14747 (exit $ac_status); }; }; then 17058 (exit $ac_status); }; }; then
14748 ac_header_compiler=yes 17059 ac_header_compiler=yes
14749 else 17060 else
14750 echo "$as_me: failed program was:" >&5 17061 echo "$as_me: failed program was:" >&5
14751 sed 's/^/| /' conftest.$ac_ext >&5 17062 sed 's/^/| /' conftest.$ac_ext >&5
14752 17063
14753 ac_header_compiler=no 17064 ac_header_compiler=no
14754 fi 17065 fi
14755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 17066
14756 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 17067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14757 echo "${ECHO_T}$ac_header_compiler" >&6 17068 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17069 echo "${ECHO_T}$ac_header_compiler" >&6; }
14758 17070
14759 # Is the header present? 17071 # Is the header present?
14760 echo "$as_me:$LINENO: checking $ac_header presence" >&5 17072 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
14761 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 17073 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
14762 cat >conftest.$ac_ext <<_ACEOF 17074 cat >conftest.$ac_ext <<_ACEOF
14763 /* confdefs.h. */ 17075 /* confdefs.h. */
14764 _ACEOF 17076 _ACEOF
14765 cat confdefs.h >>conftest.$ac_ext 17077 cat confdefs.h >>conftest.$ac_ext
14766 cat >>conftest.$ac_ext <<_ACEOF 17078 cat >>conftest.$ac_ext <<_ACEOF
14767 /* end confdefs.h. */ 17079 /* end confdefs.h. */
14768 #include <$ac_header> 17080 #include <$ac_header>
14769 _ACEOF 17081 _ACEOF
14770 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 17082 if { (ac_try="$ac_cpp conftest.$ac_ext"
14771 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 17083 case "(($ac_try" in
17084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17085 *) ac_try_echo=$ac_try;;
17086 esac
17087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17088 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14772 ac_status=$? 17089 ac_status=$?
14773 grep -v '^ *+' conftest.er1 >conftest.err 17090 grep -v '^ *+' conftest.er1 >conftest.err
14774 rm -f conftest.er1 17091 rm -f conftest.er1
14775 cat conftest.err >&5 17092 cat conftest.err >&5
14776 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14790 echo "$as_me: failed program was:" >&5 17107 echo "$as_me: failed program was:" >&5
14791 sed 's/^/| /' conftest.$ac_ext >&5 17108 sed 's/^/| /' conftest.$ac_ext >&5
14792 17109
14793 ac_header_preproc=no 17110 ac_header_preproc=no
14794 fi 17111 fi
17112
14795 rm -f conftest.err conftest.$ac_ext 17113 rm -f conftest.err conftest.$ac_ext
14796 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 17114 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14797 echo "${ECHO_T}$ac_header_preproc" >&6 17115 echo "${ECHO_T}$ac_header_preproc" >&6; }
14798 17116
14799 # So? What about this header? 17117 # So? What about this header?
14800 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 17118 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14801 yes:no: ) 17119 yes:no: )
14802 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 17120 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14816 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 17134 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14817 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 17135 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14818 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 17136 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14819 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 17137 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14820 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 17138 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14821 ( 17139
14822 cat <<\_ASBOX
14823 ## ------------------------------------------ ##
14824 ## Report this to the AC_PACKAGE_NAME lists. ##
14825 ## ------------------------------------------ ##
14826 _ASBOX
14827 ) |
14828 sed "s/^/$as_me: WARNING: /" >&2
14829 ;; 17140 ;;
14830 esac 17141 esac
14831 echo "$as_me:$LINENO: checking for $ac_header" >&5 17142 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14832 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 17143 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14833 if eval "test \"\${$as_ac_Header+set}\" = set"; then 17144 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14834 echo $ECHO_N "(cached) $ECHO_C" >&6 17145 echo $ECHO_N "(cached) $ECHO_C" >&6
14835 else 17146 else
14836 eval "$as_ac_Header=\$ac_header_preproc" 17147 eval "$as_ac_Header=\$ac_header_preproc"
14837 fi 17148 fi
14838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 17149 ac_res=`eval echo '${'$as_ac_Header'}'`
14839 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 17150 { echo "$as_me:$LINENO: result: $ac_res" >&5
17151 echo "${ECHO_T}$ac_res" >&6; }
14840 17152
14841 fi 17153 fi
14842 if test `eval echo '${'$as_ac_Header'}'` = yes; then 17154 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14843 cat >>confdefs.h <<_ACEOF 17155 cat >>confdefs.h <<_ACEOF
14844 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 17156 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14853 17165
14854 17166
14855 for ac_header in stdlib.h sys/time.h unistd.h 17167 for ac_header in stdlib.h sys/time.h unistd.h
14856 do 17168 do
14857 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 17169 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14858 if eval "test \"\${$as_ac_Header+set}\" = set"; then 17170 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14859 echo "$as_me:$LINENO: checking for $ac_header" >&5 17171 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14860 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 17172 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14861 if eval "test \"\${$as_ac_Header+set}\" = set"; then 17173 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14862 echo $ECHO_N "(cached) $ECHO_C" >&6 17174 echo $ECHO_N "(cached) $ECHO_C" >&6
14863 fi 17175 fi
14864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 17176 ac_res=`eval echo '${'$as_ac_Header'}'`
14865 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 17177 { echo "$as_me:$LINENO: result: $ac_res" >&5
17178 echo "${ECHO_T}$ac_res" >&6; }
14866 else 17179 else
14867 # Is the header compilable? 17180 # Is the header compilable?
14868 echo "$as_me:$LINENO: checking $ac_header usability" >&5 17181 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
14869 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 17182 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
14870 cat >conftest.$ac_ext <<_ACEOF 17183 cat >conftest.$ac_ext <<_ACEOF
14871 /* confdefs.h. */ 17184 /* confdefs.h. */
14872 _ACEOF 17185 _ACEOF
14873 cat confdefs.h >>conftest.$ac_ext 17186 cat confdefs.h >>conftest.$ac_ext
14874 cat >>conftest.$ac_ext <<_ACEOF 17187 cat >>conftest.$ac_ext <<_ACEOF
14875 /* end confdefs.h. */ 17188 /* end confdefs.h. */
14876 $ac_includes_default 17189 $ac_includes_default
14877 #include <$ac_header> 17190 #include <$ac_header>
14878 _ACEOF 17191 _ACEOF
14879 rm -f conftest.$ac_objext 17192 rm -f conftest.$ac_objext
14880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 17193 if { (ac_try="$ac_compile"
14881 (eval $ac_compile) 2>conftest.er1 17194 case "(($ac_try" in
17195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17196 *) ac_try_echo=$ac_try;;
17197 esac
17198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17199 (eval "$ac_compile") 2>conftest.er1
14882 ac_status=$? 17200 ac_status=$?
14883 grep -v '^ *+' conftest.er1 >conftest.err 17201 grep -v '^ *+' conftest.er1 >conftest.err
14884 rm -f conftest.er1 17202 rm -f conftest.er1
14885 cat conftest.err >&5 17203 cat conftest.err >&5
14886 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14887 (exit $ac_status); } && 17205 (exit $ac_status); } &&
14888 { ac_try='test -z "$ac_c_werror_flag" 17206 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14889 || test ! -s conftest.err' 17207 { (case "(($ac_try" in
14890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14891 (eval $ac_try) 2>&5 17209 *) ac_try_echo=$ac_try;;
17210 esac
17211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17212 (eval "$ac_try") 2>&5
14892 ac_status=$? 17213 ac_status=$?
14893 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14894 (exit $ac_status); }; } && 17215 (exit $ac_status); }; } &&
14895 { ac_try='test -s conftest.$ac_objext' 17216 { ac_try='test -s conftest.$ac_objext'
14896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17217 { (case "(($ac_try" in
14897 (eval $ac_try) 2>&5 17218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17219 *) ac_try_echo=$ac_try;;
17220 esac
17221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17222 (eval "$ac_try") 2>&5
14898 ac_status=$? 17223 ac_status=$?
14899 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14900 (exit $ac_status); }; }; then 17225 (exit $ac_status); }; }; then
14901 ac_header_compiler=yes 17226 ac_header_compiler=yes
14902 else 17227 else
14903 echo "$as_me: failed program was:" >&5 17228 echo "$as_me: failed program was:" >&5
14904 sed 's/^/| /' conftest.$ac_ext >&5 17229 sed 's/^/| /' conftest.$ac_ext >&5
14905 17230
14906 ac_header_compiler=no 17231 ac_header_compiler=no
14907 fi 17232 fi
14908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 17233
14909 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 17234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14910 echo "${ECHO_T}$ac_header_compiler" >&6 17235 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17236 echo "${ECHO_T}$ac_header_compiler" >&6; }
14911 17237
14912 # Is the header present? 17238 # Is the header present?
14913 echo "$as_me:$LINENO: checking $ac_header presence" >&5 17239 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
14914 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 17240 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
14915 cat >conftest.$ac_ext <<_ACEOF 17241 cat >conftest.$ac_ext <<_ACEOF
14916 /* confdefs.h. */ 17242 /* confdefs.h. */
14917 _ACEOF 17243 _ACEOF
14918 cat confdefs.h >>conftest.$ac_ext 17244 cat confdefs.h >>conftest.$ac_ext
14919 cat >>conftest.$ac_ext <<_ACEOF 17245 cat >>conftest.$ac_ext <<_ACEOF
14920 /* end confdefs.h. */ 17246 /* end confdefs.h. */
14921 #include <$ac_header> 17247 #include <$ac_header>
14922 _ACEOF 17248 _ACEOF
14923 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 17249 if { (ac_try="$ac_cpp conftest.$ac_ext"
14924 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 17250 case "(($ac_try" in
17251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17252 *) ac_try_echo=$ac_try;;
17253 esac
17254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17255 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14925 ac_status=$? 17256 ac_status=$?
14926 grep -v '^ *+' conftest.er1 >conftest.err 17257 grep -v '^ *+' conftest.er1 >conftest.err
14927 rm -f conftest.er1 17258 rm -f conftest.er1
14928 cat conftest.err >&5 17259 cat conftest.err >&5
14929 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14943 echo "$as_me: failed program was:" >&5 17274 echo "$as_me: failed program was:" >&5
14944 sed 's/^/| /' conftest.$ac_ext >&5 17275 sed 's/^/| /' conftest.$ac_ext >&5
14945 17276
14946 ac_header_preproc=no 17277 ac_header_preproc=no
14947 fi 17278 fi
17279
14948 rm -f conftest.err conftest.$ac_ext 17280 rm -f conftest.err conftest.$ac_ext
14949 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 17281 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14950 echo "${ECHO_T}$ac_header_preproc" >&6 17282 echo "${ECHO_T}$ac_header_preproc" >&6; }
14951 17283
14952 # So? What about this header? 17284 # So? What about this header?
14953 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 17285 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14954 yes:no: ) 17286 yes:no: )
14955 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 17287 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14969 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 17301 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14970 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 17302 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14971 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 17303 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14972 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 17304 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14973 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 17305 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14974 ( 17306
14975 cat <<\_ASBOX
14976 ## ------------------------------------------ ##
14977 ## Report this to the AC_PACKAGE_NAME lists. ##
14978 ## ------------------------------------------ ##
14979 _ASBOX
14980 ) |
14981 sed "s/^/$as_me: WARNING: /" >&2
14982 ;; 17307 ;;
14983 esac 17308 esac
14984 echo "$as_me:$LINENO: checking for $ac_header" >&5 17309 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14985 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 17310 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14986 if eval "test \"\${$as_ac_Header+set}\" = set"; then 17311 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14987 echo $ECHO_N "(cached) $ECHO_C" >&6 17312 echo $ECHO_N "(cached) $ECHO_C" >&6
14988 else 17313 else
14989 eval "$as_ac_Header=\$ac_header_preproc" 17314 eval "$as_ac_Header=\$ac_header_preproc"
14990 fi 17315 fi
14991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 17316 ac_res=`eval echo '${'$as_ac_Header'}'`
14992 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 17317 { echo "$as_me:$LINENO: result: $ac_res" >&5
17318 echo "${ECHO_T}$ac_res" >&6; }
14993 17319
14994 fi 17320 fi
14995 if test `eval echo '${'$as_ac_Header'}'` = yes; then 17321 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14996 cat >>confdefs.h <<_ACEOF 17322 cat >>confdefs.h <<_ACEOF
14997 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 17323 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15003 17329
15004 17330
15005 for ac_func in alarm 17331 for ac_func in alarm
15006 do 17332 do
15007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 17333 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15008 echo "$as_me:$LINENO: checking for $ac_func" >&5 17334 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 17335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15010 if eval "test \"\${$as_ac_var+set}\" = set"; then 17336 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15011 echo $ECHO_N "(cached) $ECHO_C" >&6 17337 echo $ECHO_N "(cached) $ECHO_C" >&6
15012 else 17338 else
15013 cat >conftest.$ac_ext <<_ACEOF 17339 cat >conftest.$ac_ext <<_ACEOF
15014 /* confdefs.h. */ 17340 /* confdefs.h. */
15015 _ACEOF 17341 _ACEOF
15031 # include <assert.h> 17357 # include <assert.h>
15032 #endif 17358 #endif
15033 17359
15034 #undef $ac_func 17360 #undef $ac_func
15035 17361
15036 /* Override any gcc2 internal prototype to avoid an error. */ 17362 /* Override any GCC internal prototype to avoid an error.
17363 Use char because int might match the return type of a GCC
17364 builtin and then its argument prototype would still apply. */
15037 #ifdef __cplusplus 17365 #ifdef __cplusplus
15038 extern "C" 17366 extern "C"
15039 {
15040 #endif 17367 #endif
15041 /* We use char because int might match the return type of a gcc2
15042 builtin and then its argument prototype would still apply. */
15043 char $ac_func (); 17368 char $ac_func ();
15044 /* The GNU C library defines this for functions which it implements 17369 /* The GNU C library defines this for functions which it implements
15045 to always fail with ENOSYS. Some functions are actually named 17370 to always fail with ENOSYS. Some functions are actually named
15046 something starting with __ and the normal name is an alias. */ 17371 something starting with __ and the normal name is an alias. */
15047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 17372 #if defined __stub_$ac_func || defined __stub___$ac_func
15048 choke me 17373 choke me
15049 #else
15050 char (*f) () = $ac_func;
15051 #endif
15052 #ifdef __cplusplus
15053 }
15054 #endif 17374 #endif
15055 17375
15056 int 17376 int
15057 main () 17377 main ()
15058 { 17378 {
15059 return f != $ac_func; 17379 return $ac_func ();
15060 ; 17380 ;
15061 return 0; 17381 return 0;
15062 } 17382 }
15063 _ACEOF 17383 _ACEOF
15064 rm -f conftest.$ac_objext conftest$ac_exeext 17384 rm -f conftest.$ac_objext conftest$ac_exeext
15065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 17385 if { (ac_try="$ac_link"
15066 (eval $ac_link) 2>conftest.er1 17386 case "(($ac_try" in
17387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17388 *) ac_try_echo=$ac_try;;
17389 esac
17390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17391 (eval "$ac_link") 2>conftest.er1
15067 ac_status=$? 17392 ac_status=$?
15068 grep -v '^ *+' conftest.er1 >conftest.err 17393 grep -v '^ *+' conftest.er1 >conftest.err
15069 rm -f conftest.er1 17394 rm -f conftest.er1
15070 cat conftest.err >&5 17395 cat conftest.err >&5
15071 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15072 (exit $ac_status); } && 17397 (exit $ac_status); } &&
15073 { ac_try='test -z "$ac_c_werror_flag" 17398 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15074 || test ! -s conftest.err' 17399 { (case "(($ac_try" in
15075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15076 (eval $ac_try) 2>&5 17401 *) ac_try_echo=$ac_try;;
17402 esac
17403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17404 (eval "$ac_try") 2>&5
15077 ac_status=$? 17405 ac_status=$?
15078 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15079 (exit $ac_status); }; } && 17407 (exit $ac_status); }; } &&
15080 { ac_try='test -s conftest$ac_exeext' 17408 { ac_try='test -s conftest$ac_exeext'
15081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17409 { (case "(($ac_try" in
15082 (eval $ac_try) 2>&5 17410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17411 *) ac_try_echo=$ac_try;;
17412 esac
17413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17414 (eval "$ac_try") 2>&5
15083 ac_status=$? 17415 ac_status=$?
15084 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15085 (exit $ac_status); }; }; then 17417 (exit $ac_status); }; }; then
15086 eval "$as_ac_var=yes" 17418 eval "$as_ac_var=yes"
15087 else 17419 else
15088 echo "$as_me: failed program was:" >&5 17420 echo "$as_me: failed program was:" >&5
15089 sed 's/^/| /' conftest.$ac_ext >&5 17421 sed 's/^/| /' conftest.$ac_ext >&5
15090 17422
15091 eval "$as_ac_var=no" 17423 eval "$as_ac_var=no"
15092 fi 17424 fi
15093 rm -f conftest.err conftest.$ac_objext \ 17425
17426 rm -f core conftest.err conftest.$ac_objext \
15094 conftest$ac_exeext conftest.$ac_ext 17427 conftest$ac_exeext conftest.$ac_ext
15095 fi 17428 fi
15096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 17429 ac_res=`eval echo '${'$as_ac_var'}'`
15097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 17430 { echo "$as_me:$LINENO: result: $ac_res" >&5
17431 echo "${ECHO_T}$ac_res" >&6; }
15098 if test `eval echo '${'$as_ac_var'}'` = yes; then 17432 if test `eval echo '${'$as_ac_var'}'` = yes; then
15099 cat >>confdefs.h <<_ACEOF 17433 cat >>confdefs.h <<_ACEOF
15100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 17434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15101 _ACEOF 17435 _ACEOF
15102 17436
15103 fi 17437 fi
15104 done 17438 done
15105 17439
15106 echo "$as_me:$LINENO: checking for working mktime" >&5 17440 { echo "$as_me:$LINENO: checking for working mktime" >&5
15107 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6 17441 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6; }
15108 if test "${ac_cv_func_working_mktime+set}" = set; then 17442 if test "${ac_cv_func_working_mktime+set}" = set; then
15109 echo $ECHO_N "(cached) $ECHO_C" >&6 17443 echo $ECHO_N "(cached) $ECHO_C" >&6
15110 else 17444 else
15111 if test "$cross_compiling" = yes; then 17445 if test "$cross_compiling" = yes; then
15112 ac_cv_func_working_mktime=no 17446 ac_cv_func_working_mktime=no
15152 (char *) 0, "TZ=GMT0", "TZ=JST-9", 17486 (char *) 0, "TZ=GMT0", "TZ=JST-9",
15153 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00" 17487 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
15154 }; 17488 };
15155 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0])) 17489 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
15156 17490
15157 /* Fail if mktime fails to convert a date in the spring-forward gap. 17491 /* Return 0 if mktime fails to convert a date in the spring-forward gap.
15158 Based on a problem report from Andreas Jaeger. */ 17492 Based on a problem report from Andreas Jaeger. */
15159 static void 17493 static int
15160 spring_forward_gap () 17494 spring_forward_gap ()
15161 { 17495 {
15162 /* glibc (up to about 1998-10-07) failed this test. */ 17496 /* glibc (up to about 1998-10-07) failed this test. */
15163 struct tm tm; 17497 struct tm tm;
15164 17498
15173 tm.tm_mday = 5; 17507 tm.tm_mday = 5;
15174 tm.tm_hour = 2; 17508 tm.tm_hour = 2;
15175 tm.tm_min = 0; 17509 tm.tm_min = 0;
15176 tm.tm_sec = 0; 17510 tm.tm_sec = 0;
15177 tm.tm_isdst = -1; 17511 tm.tm_isdst = -1;
15178 if (mktime (&tm) == (time_t)-1) 17512 return mktime (&tm) != (time_t) -1;
15179 exit (1);
15180 } 17513 }
15181 17514
15182 static void 17515 static int
15183 mktime_test1 (now) 17516 mktime_test1 (now)
15184 time_t now; 17517 time_t now;
15185 { 17518 {
15186 struct tm *lt; 17519 struct tm *lt;
15187 if ((lt = localtime (&now)) && mktime (lt) != now) 17520 return ! (lt = localtime (&now)) || mktime (lt) == now;
15188 exit (1);
15189 } 17521 }
15190 17522
15191 static void 17523 static int
15192 mktime_test (now) 17524 mktime_test (now)
15193 time_t now; 17525 time_t now;
15194 { 17526 {
15195 mktime_test1 (now); 17527 return (mktime_test1 (now)
15196 mktime_test1 ((time_t) (time_t_max - now)); 17528 && mktime_test1 ((time_t) (time_t_max - now))
15197 mktime_test1 ((time_t) (time_t_min + now)); 17529 && mktime_test1 ((time_t) (time_t_min + now)));
15198 } 17530 }
15199 17531
15200 static void 17532 static int
15201 irix_6_4_bug () 17533 irix_6_4_bug ()
15202 { 17534 {
15203 /* Based on code from Ariel Faigon. */ 17535 /* Based on code from Ariel Faigon. */
15204 struct tm tm; 17536 struct tm tm;
15205 tm.tm_year = 96; 17537 tm.tm_year = 96;
15208 tm.tm_hour = 0; 17540 tm.tm_hour = 0;
15209 tm.tm_min = 0; 17541 tm.tm_min = 0;
15210 tm.tm_sec = 0; 17542 tm.tm_sec = 0;
15211 tm.tm_isdst = -1; 17543 tm.tm_isdst = -1;
15212 mktime (&tm); 17544 mktime (&tm);
15213 if (tm.tm_mon != 2 || tm.tm_mday != 31) 17545 return tm.tm_mon == 2 && tm.tm_mday == 31;
15214 exit (1);
15215 } 17546 }
15216 17547
15217 static void 17548 static int
15218 bigtime_test (j) 17549 bigtime_test (j)
15219 int j; 17550 int j;
15220 { 17551 {
15221 struct tm tm; 17552 struct tm tm;
15222 time_t now; 17553 time_t now;
15234 && lt->tm_sec == tm.tm_sec 17565 && lt->tm_sec == tm.tm_sec
15235 && lt->tm_yday == tm.tm_yday 17566 && lt->tm_yday == tm.tm_yday
15236 && lt->tm_wday == tm.tm_wday 17567 && lt->tm_wday == tm.tm_wday
15237 && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst) 17568 && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst)
15238 == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst)))) 17569 == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst))))
15239 exit (1); 17570 return 0;
15240 } 17571 }
17572 return 1;
15241 } 17573 }
15242 17574
15243 int 17575 int
15244 main () 17576 main ()
15245 { 17577 {
15262 { 17594 {
15263 if (tz_strings[i]) 17595 if (tz_strings[i])
15264 putenv (tz_strings[i]); 17596 putenv (tz_strings[i]);
15265 17597
15266 for (t = 0; t <= time_t_max - delta; t += delta) 17598 for (t = 0; t <= time_t_max - delta; t += delta)
15267 mktime_test (t); 17599 if (! mktime_test (t))
15268 mktime_test ((time_t) 1); 17600 return 1;
15269 mktime_test ((time_t) (60 * 60)); 17601 if (! (mktime_test ((time_t) 1)
15270 mktime_test ((time_t) (60 * 60 * 24)); 17602 && mktime_test ((time_t) (60 * 60))
17603 && mktime_test ((time_t) (60 * 60 * 24))))
17604 return 1;
15271 17605
15272 for (j = 1; 0 < j; j *= 2) 17606 for (j = 1; 0 < j; j *= 2)
15273 bigtime_test (j); 17607 if (! bigtime_test (j))
15274 bigtime_test (j - 1); 17608 return 1;
17609 if (! bigtime_test (j - 1))
17610 return 1;
15275 } 17611 }
15276 irix_6_4_bug (); 17612 return ! (irix_6_4_bug () && spring_forward_gap ());
15277 spring_forward_gap ();
15278 exit (0);
15279 } 17613 }
15280 _ACEOF 17614 _ACEOF
15281 rm -f conftest$ac_exeext 17615 rm -f conftest$ac_exeext
15282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 17616 if { (ac_try="$ac_link"
15283 (eval $ac_link) 2>&5 17617 case "(($ac_try" in
17618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17619 *) ac_try_echo=$ac_try;;
17620 esac
17621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17622 (eval "$ac_link") 2>&5
15284 ac_status=$? 17623 ac_status=$?
15285 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15286 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 17625 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17626 { (case "(($ac_try" in
15288 (eval $ac_try) 2>&5 17627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17628 *) ac_try_echo=$ac_try;;
17629 esac
17630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17631 (eval "$ac_try") 2>&5
15289 ac_status=$? 17632 ac_status=$?
15290 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15291 (exit $ac_status); }; }; then 17634 (exit $ac_status); }; }; then
15292 ac_cv_func_working_mktime=yes 17635 ac_cv_func_working_mktime=yes
15293 else 17636 else
15296 sed 's/^/| /' conftest.$ac_ext >&5 17639 sed 's/^/| /' conftest.$ac_ext >&5
15297 17640
15298 ( exit $ac_status ) 17641 ( exit $ac_status )
15299 ac_cv_func_working_mktime=no 17642 ac_cv_func_working_mktime=no
15300 fi 17643 fi
15301 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 17644 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15302 fi 17645 fi
15303 fi 17646
15304 echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5 17647
15305 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6 17648 fi
17649 { echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5
17650 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6; }
15306 if test $ac_cv_func_working_mktime = no; then 17651 if test $ac_cv_func_working_mktime = no; then
15307 case $LIBOBJS in 17652 case " $LIBOBJS " in
15308 "mktime.$ac_objext" | \
15309 *" mktime.$ac_objext" | \
15310 "mktime.$ac_objext "* | \
15311 *" mktime.$ac_objext "* ) ;; 17653 *" mktime.$ac_objext "* ) ;;
15312 *) LIBOBJS="$LIBOBJS mktime.$ac_objext" ;; 17654 *) LIBOBJS="$LIBOBJS mktime.$ac_objext"
17655 ;;
15313 esac 17656 esac
15314 17657
15315 fi 17658 fi
15316 17659
15317 if test "$ac_cv_func_working_mktime" = no; then 17660 if test "$ac_cv_func_working_mktime" = no; then
15331 { (exit 1); exit 1; }; } 17674 { (exit 1); exit 1; }; }
15332 17675
15333 ac_save_LIBS=$LIBS 17676 ac_save_LIBS=$LIBS
15334 17677
15335 # Check for getloadavg, but be sure not to touch the cache variable. 17678 # Check for getloadavg, but be sure not to touch the cache variable.
15336 (echo "$as_me:$LINENO: checking for getloadavg" >&5 17679 ({ echo "$as_me:$LINENO: checking for getloadavg" >&5
15337 echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6 17680 echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6; }
15338 if test "${ac_cv_func_getloadavg+set}" = set; then 17681 if test "${ac_cv_func_getloadavg+set}" = set; then
15339 echo $ECHO_N "(cached) $ECHO_C" >&6 17682 echo $ECHO_N "(cached) $ECHO_C" >&6
15340 else 17683 else
15341 cat >conftest.$ac_ext <<_ACEOF 17684 cat >conftest.$ac_ext <<_ACEOF
15342 /* confdefs.h. */ 17685 /* confdefs.h. */
15359 # include <assert.h> 17702 # include <assert.h>
15360 #endif 17703 #endif
15361 17704
15362 #undef getloadavg 17705 #undef getloadavg
15363 17706
15364 /* Override any gcc2 internal prototype to avoid an error. */ 17707 /* Override any GCC internal prototype to avoid an error.
17708 Use char because int might match the return type of a GCC
17709 builtin and then its argument prototype would still apply. */
15365 #ifdef __cplusplus 17710 #ifdef __cplusplus
15366 extern "C" 17711 extern "C"
15367 {
15368 #endif 17712 #endif
15369 /* We use char because int might match the return type of a gcc2
15370 builtin and then its argument prototype would still apply. */
15371 char getloadavg (); 17713 char getloadavg ();
15372 /* The GNU C library defines this for functions which it implements 17714 /* The GNU C library defines this for functions which it implements
15373 to always fail with ENOSYS. Some functions are actually named 17715 to always fail with ENOSYS. Some functions are actually named
15374 something starting with __ and the normal name is an alias. */ 17716 something starting with __ and the normal name is an alias. */
15375 #if defined (__stub_getloadavg) || defined (__stub___getloadavg) 17717 #if defined __stub_getloadavg || defined __stub___getloadavg
15376 choke me 17718 choke me
15377 #else
15378 char (*f) () = getloadavg;
15379 #endif
15380 #ifdef __cplusplus
15381 }
15382 #endif 17719 #endif
15383 17720
15384 int 17721 int
15385 main () 17722 main ()
15386 { 17723 {
15387 return f != getloadavg; 17724 return getloadavg ();
15388 ; 17725 ;
15389 return 0; 17726 return 0;
15390 } 17727 }
15391 _ACEOF 17728 _ACEOF
15392 rm -f conftest.$ac_objext conftest$ac_exeext 17729 rm -f conftest.$ac_objext conftest$ac_exeext
15393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 17730 if { (ac_try="$ac_link"
15394 (eval $ac_link) 2>conftest.er1 17731 case "(($ac_try" in
17732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17733 *) ac_try_echo=$ac_try;;
17734 esac
17735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17736 (eval "$ac_link") 2>conftest.er1
15395 ac_status=$? 17737 ac_status=$?
15396 grep -v '^ *+' conftest.er1 >conftest.err 17738 grep -v '^ *+' conftest.er1 >conftest.err
15397 rm -f conftest.er1 17739 rm -f conftest.er1
15398 cat conftest.err >&5 17740 cat conftest.err >&5
15399 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15400 (exit $ac_status); } && 17742 (exit $ac_status); } &&
15401 { ac_try='test -z "$ac_c_werror_flag" 17743 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15402 || test ! -s conftest.err' 17744 { (case "(($ac_try" in
15403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15404 (eval $ac_try) 2>&5 17746 *) ac_try_echo=$ac_try;;
17747 esac
17748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17749 (eval "$ac_try") 2>&5
15405 ac_status=$? 17750 ac_status=$?
15406 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15407 (exit $ac_status); }; } && 17752 (exit $ac_status); }; } &&
15408 { ac_try='test -s conftest$ac_exeext' 17753 { ac_try='test -s conftest$ac_exeext'
15409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17754 { (case "(($ac_try" in
15410 (eval $ac_try) 2>&5 17755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17756 *) ac_try_echo=$ac_try;;
17757 esac
17758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17759 (eval "$ac_try") 2>&5
15411 ac_status=$? 17760 ac_status=$?
15412 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15413 (exit $ac_status); }; }; then 17762 (exit $ac_status); }; }; then
15414 ac_cv_func_getloadavg=yes 17763 ac_cv_func_getloadavg=yes
15415 else 17764 else
15416 echo "$as_me: failed program was:" >&5 17765 echo "$as_me: failed program was:" >&5
15417 sed 's/^/| /' conftest.$ac_ext >&5 17766 sed 's/^/| /' conftest.$ac_ext >&5
15418 17767
15419 ac_cv_func_getloadavg=no 17768 ac_cv_func_getloadavg=no
15420 fi 17769 fi
15421 rm -f conftest.err conftest.$ac_objext \ 17770
17771 rm -f core conftest.err conftest.$ac_objext \
15422 conftest$ac_exeext conftest.$ac_ext 17772 conftest$ac_exeext conftest.$ac_ext
15423 fi 17773 fi
15424 echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg" >&5 17774 { echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg" >&5
15425 echo "${ECHO_T}$ac_cv_func_getloadavg" >&6 17775 echo "${ECHO_T}$ac_cv_func_getloadavg" >&6; }
15426 if test $ac_cv_func_getloadavg = yes; then 17776 if test $ac_cv_func_getloadavg = yes; then
15427 exit 0 17777 exit 0
15428 else 17778 else
15429 exit 1 17779 exit 1
15430 fi 17780 fi
15433 # On HPUX9, an unprivileged user can get load averages through this function. 17783 # On HPUX9, an unprivileged user can get load averages through this function.
15434 17784
15435 for ac_func in pstat_getdynamic 17785 for ac_func in pstat_getdynamic
15436 do 17786 do
15437 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 17787 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15438 echo "$as_me:$LINENO: checking for $ac_func" >&5 17788 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 17789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15440 if eval "test \"\${$as_ac_var+set}\" = set"; then 17790 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15441 echo $ECHO_N "(cached) $ECHO_C" >&6 17791 echo $ECHO_N "(cached) $ECHO_C" >&6
15442 else 17792 else
15443 cat >conftest.$ac_ext <<_ACEOF 17793 cat >conftest.$ac_ext <<_ACEOF
15444 /* confdefs.h. */ 17794 /* confdefs.h. */
15445 _ACEOF 17795 _ACEOF
15461 # include <assert.h> 17811 # include <assert.h>
15462 #endif 17812 #endif
15463 17813
15464 #undef $ac_func 17814 #undef $ac_func
15465 17815
15466 /* Override any gcc2 internal prototype to avoid an error. */ 17816 /* Override any GCC internal prototype to avoid an error.
17817 Use char because int might match the return type of a GCC
17818 builtin and then its argument prototype would still apply. */
15467 #ifdef __cplusplus 17819 #ifdef __cplusplus
15468 extern "C" 17820 extern "C"
15469 {
15470 #endif 17821 #endif
15471 /* We use char because int might match the return type of a gcc2
15472 builtin and then its argument prototype would still apply. */
15473 char $ac_func (); 17822 char $ac_func ();
15474 /* The GNU C library defines this for functions which it implements 17823 /* The GNU C library defines this for functions which it implements
15475 to always fail with ENOSYS. Some functions are actually named 17824 to always fail with ENOSYS. Some functions are actually named
15476 something starting with __ and the normal name is an alias. */ 17825 something starting with __ and the normal name is an alias. */
15477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 17826 #if defined __stub_$ac_func || defined __stub___$ac_func
15478 choke me 17827 choke me
15479 #else
15480 char (*f) () = $ac_func;
15481 #endif
15482 #ifdef __cplusplus
15483 }
15484 #endif 17828 #endif
15485 17829
15486 int 17830 int
15487 main () 17831 main ()
15488 { 17832 {
15489 return f != $ac_func; 17833 return $ac_func ();
15490 ; 17834 ;
15491 return 0; 17835 return 0;
15492 } 17836 }
15493 _ACEOF 17837 _ACEOF
15494 rm -f conftest.$ac_objext conftest$ac_exeext 17838 rm -f conftest.$ac_objext conftest$ac_exeext
15495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 17839 if { (ac_try="$ac_link"
15496 (eval $ac_link) 2>conftest.er1 17840 case "(($ac_try" in
17841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17842 *) ac_try_echo=$ac_try;;
17843 esac
17844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17845 (eval "$ac_link") 2>conftest.er1
15497 ac_status=$? 17846 ac_status=$?
15498 grep -v '^ *+' conftest.er1 >conftest.err 17847 grep -v '^ *+' conftest.er1 >conftest.err
15499 rm -f conftest.er1 17848 rm -f conftest.er1
15500 cat conftest.err >&5 17849 cat conftest.err >&5
15501 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15502 (exit $ac_status); } && 17851 (exit $ac_status); } &&
15503 { ac_try='test -z "$ac_c_werror_flag" 17852 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15504 || test ! -s conftest.err' 17853 { (case "(($ac_try" in
15505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15506 (eval $ac_try) 2>&5 17855 *) ac_try_echo=$ac_try;;
17856 esac
17857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17858 (eval "$ac_try") 2>&5
15507 ac_status=$? 17859 ac_status=$?
15508 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15509 (exit $ac_status); }; } && 17861 (exit $ac_status); }; } &&
15510 { ac_try='test -s conftest$ac_exeext' 17862 { ac_try='test -s conftest$ac_exeext'
15511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17863 { (case "(($ac_try" in
15512 (eval $ac_try) 2>&5 17864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17865 *) ac_try_echo=$ac_try;;
17866 esac
17867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17868 (eval "$ac_try") 2>&5
15513 ac_status=$? 17869 ac_status=$?
15514 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15515 (exit $ac_status); }; }; then 17871 (exit $ac_status); }; }; then
15516 eval "$as_ac_var=yes" 17872 eval "$as_ac_var=yes"
15517 else 17873 else
15518 echo "$as_me: failed program was:" >&5 17874 echo "$as_me: failed program was:" >&5
15519 sed 's/^/| /' conftest.$ac_ext >&5 17875 sed 's/^/| /' conftest.$ac_ext >&5
15520 17876
15521 eval "$as_ac_var=no" 17877 eval "$as_ac_var=no"
15522 fi 17878 fi
15523 rm -f conftest.err conftest.$ac_objext \ 17879
17880 rm -f core conftest.err conftest.$ac_objext \
15524 conftest$ac_exeext conftest.$ac_ext 17881 conftest$ac_exeext conftest.$ac_ext
15525 fi 17882 fi
15526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 17883 ac_res=`eval echo '${'$as_ac_var'}'`
15527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 17884 { echo "$as_me:$LINENO: result: $ac_res" >&5
17885 echo "${ECHO_T}$ac_res" >&6; }
15528 if test `eval echo '${'$as_ac_var'}'` = yes; then 17886 if test `eval echo '${'$as_ac_var'}'` = yes; then
15529 cat >>confdefs.h <<_ACEOF 17887 cat >>confdefs.h <<_ACEOF
15530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 17888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15531 _ACEOF 17889 _ACEOF
15532 17890
15534 done 17892 done
15535 17893
15536 17894
15537 # Solaris has libkstat which does not require root. 17895 # Solaris has libkstat which does not require root.
15538 17896
15539 echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5 17897 { echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5
15540 echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6 17898 echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6; }
15541 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then 17899 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then
15542 echo $ECHO_N "(cached) $ECHO_C" >&6 17900 echo $ECHO_N "(cached) $ECHO_C" >&6
15543 else 17901 else
15544 ac_check_lib_save_LIBS=$LIBS 17902 ac_check_lib_save_LIBS=$LIBS
15545 LIBS="-lkstat $LIBS" 17903 LIBS="-lkstat $LIBS"
15548 _ACEOF 17906 _ACEOF
15549 cat confdefs.h >>conftest.$ac_ext 17907 cat confdefs.h >>conftest.$ac_ext
15550 cat >>conftest.$ac_ext <<_ACEOF 17908 cat >>conftest.$ac_ext <<_ACEOF
15551 /* end confdefs.h. */ 17909 /* end confdefs.h. */
15552 17910
15553 /* Override any gcc2 internal prototype to avoid an error. */ 17911 /* Override any GCC internal prototype to avoid an error.
17912 Use char because int might match the return type of a GCC
17913 builtin and then its argument prototype would still apply. */
15554 #ifdef __cplusplus 17914 #ifdef __cplusplus
15555 extern "C" 17915 extern "C"
15556 #endif 17916 #endif
15557 /* We use char because int might match the return type of a gcc2
15558 builtin and then its argument prototype would still apply. */
15559 char kstat_open (); 17917 char kstat_open ();
15560 int 17918 int
15561 main () 17919 main ()
15562 { 17920 {
15563 kstat_open (); 17921 return kstat_open ();
15564 ; 17922 ;
15565 return 0; 17923 return 0;
15566 } 17924 }
15567 _ACEOF 17925 _ACEOF
15568 rm -f conftest.$ac_objext conftest$ac_exeext 17926 rm -f conftest.$ac_objext conftest$ac_exeext
15569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 17927 if { (ac_try="$ac_link"
15570 (eval $ac_link) 2>conftest.er1 17928 case "(($ac_try" in
17929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17930 *) ac_try_echo=$ac_try;;
17931 esac
17932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17933 (eval "$ac_link") 2>conftest.er1
15571 ac_status=$? 17934 ac_status=$?
15572 grep -v '^ *+' conftest.er1 >conftest.err 17935 grep -v '^ *+' conftest.er1 >conftest.err
15573 rm -f conftest.er1 17936 rm -f conftest.er1
15574 cat conftest.err >&5 17937 cat conftest.err >&5
15575 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15576 (exit $ac_status); } && 17939 (exit $ac_status); } &&
15577 { ac_try='test -z "$ac_c_werror_flag" 17940 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15578 || test ! -s conftest.err' 17941 { (case "(($ac_try" in
15579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15580 (eval $ac_try) 2>&5 17943 *) ac_try_echo=$ac_try;;
17944 esac
17945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17946 (eval "$ac_try") 2>&5
15581 ac_status=$? 17947 ac_status=$?
15582 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15583 (exit $ac_status); }; } && 17949 (exit $ac_status); }; } &&
15584 { ac_try='test -s conftest$ac_exeext' 17950 { ac_try='test -s conftest$ac_exeext'
15585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17951 { (case "(($ac_try" in
15586 (eval $ac_try) 2>&5 17952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17953 *) ac_try_echo=$ac_try;;
17954 esac
17955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17956 (eval "$ac_try") 2>&5
15587 ac_status=$? 17957 ac_status=$?
15588 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15589 (exit $ac_status); }; }; then 17959 (exit $ac_status); }; }; then
15590 ac_cv_lib_kstat_kstat_open=yes 17960 ac_cv_lib_kstat_kstat_open=yes
15591 else 17961 else
15592 echo "$as_me: failed program was:" >&5 17962 echo "$as_me: failed program was:" >&5
15593 sed 's/^/| /' conftest.$ac_ext >&5 17963 sed 's/^/| /' conftest.$ac_ext >&5
15594 17964
15595 ac_cv_lib_kstat_kstat_open=no 17965 ac_cv_lib_kstat_kstat_open=no
15596 fi 17966 fi
15597 rm -f conftest.err conftest.$ac_objext \ 17967
17968 rm -f core conftest.err conftest.$ac_objext \
15598 conftest$ac_exeext conftest.$ac_ext 17969 conftest$ac_exeext conftest.$ac_ext
15599 LIBS=$ac_check_lib_save_LIBS 17970 LIBS=$ac_check_lib_save_LIBS
15600 fi 17971 fi
15601 echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5 17972 { echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5
15602 echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6 17973 echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6; }
15603 if test $ac_cv_lib_kstat_kstat_open = yes; then 17974 if test $ac_cv_lib_kstat_kstat_open = yes; then
15604 cat >>confdefs.h <<_ACEOF 17975 cat >>confdefs.h <<_ACEOF
15605 #define HAVE_LIBKSTAT 1 17976 #define HAVE_LIBKSTAT 1
15606 _ACEOF 17977 _ACEOF
15607 17978
15614 # Some systems with -lutil have (and need) -lkvm as well, some do not. 17985 # Some systems with -lutil have (and need) -lkvm as well, some do not.
15615 # On Solaris, -lkvm requires nlist from -lelf, so check that first 17986 # On Solaris, -lkvm requires nlist from -lelf, so check that first
15616 # to get the right answer into the cache. 17987 # to get the right answer into the cache.
15617 # For kstat on solaris, we need libelf to force the definition of SVR4 below. 17988 # For kstat on solaris, we need libelf to force the definition of SVR4 below.
15618 if test $ac_have_func = no; then 17989 if test $ac_have_func = no; then
15619 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5 17990 { echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
15620 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6 17991 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6; }
15621 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then 17992 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
15622 echo $ECHO_N "(cached) $ECHO_C" >&6 17993 echo $ECHO_N "(cached) $ECHO_C" >&6
15623 else 17994 else
15624 ac_check_lib_save_LIBS=$LIBS 17995 ac_check_lib_save_LIBS=$LIBS
15625 LIBS="-lelf $LIBS" 17996 LIBS="-lelf $LIBS"
15628 _ACEOF 17999 _ACEOF
15629 cat confdefs.h >>conftest.$ac_ext 18000 cat confdefs.h >>conftest.$ac_ext
15630 cat >>conftest.$ac_ext <<_ACEOF 18001 cat >>conftest.$ac_ext <<_ACEOF
15631 /* end confdefs.h. */ 18002 /* end confdefs.h. */
15632 18003
15633 /* Override any gcc2 internal prototype to avoid an error. */ 18004 /* Override any GCC internal prototype to avoid an error.
18005 Use char because int might match the return type of a GCC
18006 builtin and then its argument prototype would still apply. */
15634 #ifdef __cplusplus 18007 #ifdef __cplusplus
15635 extern "C" 18008 extern "C"
15636 #endif 18009 #endif
15637 /* We use char because int might match the return type of a gcc2
15638 builtin and then its argument prototype would still apply. */
15639 char elf_begin (); 18010 char elf_begin ();
15640 int 18011 int
15641 main () 18012 main ()
15642 { 18013 {
15643 elf_begin (); 18014 return elf_begin ();
15644 ; 18015 ;
15645 return 0; 18016 return 0;
15646 } 18017 }
15647 _ACEOF 18018 _ACEOF
15648 rm -f conftest.$ac_objext conftest$ac_exeext 18019 rm -f conftest.$ac_objext conftest$ac_exeext
15649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 18020 if { (ac_try="$ac_link"
15650 (eval $ac_link) 2>conftest.er1 18021 case "(($ac_try" in
18022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18023 *) ac_try_echo=$ac_try;;
18024 esac
18025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18026 (eval "$ac_link") 2>conftest.er1
15651 ac_status=$? 18027 ac_status=$?
15652 grep -v '^ *+' conftest.er1 >conftest.err 18028 grep -v '^ *+' conftest.er1 >conftest.err
15653 rm -f conftest.er1 18029 rm -f conftest.er1
15654 cat conftest.err >&5 18030 cat conftest.err >&5
15655 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15656 (exit $ac_status); } && 18032 (exit $ac_status); } &&
15657 { ac_try='test -z "$ac_c_werror_flag" 18033 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15658 || test ! -s conftest.err' 18034 { (case "(($ac_try" in
15659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15660 (eval $ac_try) 2>&5 18036 *) ac_try_echo=$ac_try;;
18037 esac
18038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18039 (eval "$ac_try") 2>&5
15661 ac_status=$? 18040 ac_status=$?
15662 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15663 (exit $ac_status); }; } && 18042 (exit $ac_status); }; } &&
15664 { ac_try='test -s conftest$ac_exeext' 18043 { ac_try='test -s conftest$ac_exeext'
15665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18044 { (case "(($ac_try" in
15666 (eval $ac_try) 2>&5 18045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18046 *) ac_try_echo=$ac_try;;
18047 esac
18048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18049 (eval "$ac_try") 2>&5
15667 ac_status=$? 18050 ac_status=$?
15668 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15669 (exit $ac_status); }; }; then 18052 (exit $ac_status); }; }; then
15670 ac_cv_lib_elf_elf_begin=yes 18053 ac_cv_lib_elf_elf_begin=yes
15671 else 18054 else
15672 echo "$as_me: failed program was:" >&5 18055 echo "$as_me: failed program was:" >&5
15673 sed 's/^/| /' conftest.$ac_ext >&5 18056 sed 's/^/| /' conftest.$ac_ext >&5
15674 18057
15675 ac_cv_lib_elf_elf_begin=no 18058 ac_cv_lib_elf_elf_begin=no
15676 fi 18059 fi
15677 rm -f conftest.err conftest.$ac_objext \ 18060
18061 rm -f core conftest.err conftest.$ac_objext \
15678 conftest$ac_exeext conftest.$ac_ext 18062 conftest$ac_exeext conftest.$ac_ext
15679 LIBS=$ac_check_lib_save_LIBS 18063 LIBS=$ac_check_lib_save_LIBS
15680 fi 18064 fi
15681 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5 18065 { echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
15682 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6 18066 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6; }
15683 if test $ac_cv_lib_elf_elf_begin = yes; then 18067 if test $ac_cv_lib_elf_elf_begin = yes; then
15684 LIBS="-lelf $LIBS" 18068 LIBS="-lelf $LIBS"
15685 fi 18069 fi
15686 18070
15687 fi 18071 fi
15688 if test $ac_have_func = no; then 18072 if test $ac_have_func = no; then
15689 echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5 18073 { echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5
15690 echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6 18074 echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6; }
15691 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then 18075 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then
15692 echo $ECHO_N "(cached) $ECHO_C" >&6 18076 echo $ECHO_N "(cached) $ECHO_C" >&6
15693 else 18077 else
15694 ac_check_lib_save_LIBS=$LIBS 18078 ac_check_lib_save_LIBS=$LIBS
15695 LIBS="-lkvm $LIBS" 18079 LIBS="-lkvm $LIBS"
15698 _ACEOF 18082 _ACEOF
15699 cat confdefs.h >>conftest.$ac_ext 18083 cat confdefs.h >>conftest.$ac_ext
15700 cat >>conftest.$ac_ext <<_ACEOF 18084 cat >>conftest.$ac_ext <<_ACEOF
15701 /* end confdefs.h. */ 18085 /* end confdefs.h. */
15702 18086
15703 /* Override any gcc2 internal prototype to avoid an error. */ 18087 /* Override any GCC internal prototype to avoid an error.
18088 Use char because int might match the return type of a GCC
18089 builtin and then its argument prototype would still apply. */
15704 #ifdef __cplusplus 18090 #ifdef __cplusplus
15705 extern "C" 18091 extern "C"
15706 #endif 18092 #endif
15707 /* We use char because int might match the return type of a gcc2
15708 builtin and then its argument prototype would still apply. */
15709 char kvm_open (); 18093 char kvm_open ();
15710 int 18094 int
15711 main () 18095 main ()
15712 { 18096 {
15713 kvm_open (); 18097 return kvm_open ();
15714 ; 18098 ;
15715 return 0; 18099 return 0;
15716 } 18100 }
15717 _ACEOF 18101 _ACEOF
15718 rm -f conftest.$ac_objext conftest$ac_exeext 18102 rm -f conftest.$ac_objext conftest$ac_exeext
15719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 18103 if { (ac_try="$ac_link"
15720 (eval $ac_link) 2>conftest.er1 18104 case "(($ac_try" in
18105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18106 *) ac_try_echo=$ac_try;;
18107 esac
18108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18109 (eval "$ac_link") 2>conftest.er1
15721 ac_status=$? 18110 ac_status=$?
15722 grep -v '^ *+' conftest.er1 >conftest.err 18111 grep -v '^ *+' conftest.er1 >conftest.err
15723 rm -f conftest.er1 18112 rm -f conftest.er1
15724 cat conftest.err >&5 18113 cat conftest.err >&5
15725 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15726 (exit $ac_status); } && 18115 (exit $ac_status); } &&
15727 { ac_try='test -z "$ac_c_werror_flag" 18116 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15728 || test ! -s conftest.err' 18117 { (case "(($ac_try" in
15729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15730 (eval $ac_try) 2>&5 18119 *) ac_try_echo=$ac_try;;
18120 esac
18121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18122 (eval "$ac_try") 2>&5
15731 ac_status=$? 18123 ac_status=$?
15732 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15733 (exit $ac_status); }; } && 18125 (exit $ac_status); }; } &&
15734 { ac_try='test -s conftest$ac_exeext' 18126 { ac_try='test -s conftest$ac_exeext'
15735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18127 { (case "(($ac_try" in
15736 (eval $ac_try) 2>&5 18128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18129 *) ac_try_echo=$ac_try;;
18130 esac
18131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18132 (eval "$ac_try") 2>&5
15737 ac_status=$? 18133 ac_status=$?
15738 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15739 (exit $ac_status); }; }; then 18135 (exit $ac_status); }; }; then
15740 ac_cv_lib_kvm_kvm_open=yes 18136 ac_cv_lib_kvm_kvm_open=yes
15741 else 18137 else
15742 echo "$as_me: failed program was:" >&5 18138 echo "$as_me: failed program was:" >&5
15743 sed 's/^/| /' conftest.$ac_ext >&5 18139 sed 's/^/| /' conftest.$ac_ext >&5
15744 18140
15745 ac_cv_lib_kvm_kvm_open=no 18141 ac_cv_lib_kvm_kvm_open=no
15746 fi 18142 fi
15747 rm -f conftest.err conftest.$ac_objext \ 18143
18144 rm -f core conftest.err conftest.$ac_objext \
15748 conftest$ac_exeext conftest.$ac_ext 18145 conftest$ac_exeext conftest.$ac_ext
15749 LIBS=$ac_check_lib_save_LIBS 18146 LIBS=$ac_check_lib_save_LIBS
15750 fi 18147 fi
15751 echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5 18148 { echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5
15752 echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6 18149 echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6; }
15753 if test $ac_cv_lib_kvm_kvm_open = yes; then 18150 if test $ac_cv_lib_kvm_kvm_open = yes; then
15754 LIBS="-lkvm $LIBS" 18151 LIBS="-lkvm $LIBS"
15755 fi 18152 fi
15756 18153
15757 # Check for the 4.4BSD definition of getloadavg. 18154 # Check for the 4.4BSD definition of getloadavg.
15758 echo "$as_me:$LINENO: checking for getloadavg in -lutil" >&5 18155 { echo "$as_me:$LINENO: checking for getloadavg in -lutil" >&5
15759 echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6 18156 echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6; }
15760 if test "${ac_cv_lib_util_getloadavg+set}" = set; then 18157 if test "${ac_cv_lib_util_getloadavg+set}" = set; then
15761 echo $ECHO_N "(cached) $ECHO_C" >&6 18158 echo $ECHO_N "(cached) $ECHO_C" >&6
15762 else 18159 else
15763 ac_check_lib_save_LIBS=$LIBS 18160 ac_check_lib_save_LIBS=$LIBS
15764 LIBS="-lutil $LIBS" 18161 LIBS="-lutil $LIBS"
15767 _ACEOF 18164 _ACEOF
15768 cat confdefs.h >>conftest.$ac_ext 18165 cat confdefs.h >>conftest.$ac_ext
15769 cat >>conftest.$ac_ext <<_ACEOF 18166 cat >>conftest.$ac_ext <<_ACEOF
15770 /* end confdefs.h. */ 18167 /* end confdefs.h. */
15771 18168
15772 /* Override any gcc2 internal prototype to avoid an error. */ 18169 /* Override any GCC internal prototype to avoid an error.
18170 Use char because int might match the return type of a GCC
18171 builtin and then its argument prototype would still apply. */
15773 #ifdef __cplusplus 18172 #ifdef __cplusplus
15774 extern "C" 18173 extern "C"
15775 #endif 18174 #endif
15776 /* We use char because int might match the return type of a gcc2
15777 builtin and then its argument prototype would still apply. */
15778 char getloadavg (); 18175 char getloadavg ();
15779 int 18176 int
15780 main () 18177 main ()
15781 { 18178 {
15782 getloadavg (); 18179 return getloadavg ();
15783 ; 18180 ;
15784 return 0; 18181 return 0;
15785 } 18182 }
15786 _ACEOF 18183 _ACEOF
15787 rm -f conftest.$ac_objext conftest$ac_exeext 18184 rm -f conftest.$ac_objext conftest$ac_exeext
15788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 18185 if { (ac_try="$ac_link"
15789 (eval $ac_link) 2>conftest.er1 18186 case "(($ac_try" in
18187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18188 *) ac_try_echo=$ac_try;;
18189 esac
18190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18191 (eval "$ac_link") 2>conftest.er1
15790 ac_status=$? 18192 ac_status=$?
15791 grep -v '^ *+' conftest.er1 >conftest.err 18193 grep -v '^ *+' conftest.er1 >conftest.err
15792 rm -f conftest.er1 18194 rm -f conftest.er1
15793 cat conftest.err >&5 18195 cat conftest.err >&5
15794 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15795 (exit $ac_status); } && 18197 (exit $ac_status); } &&
15796 { ac_try='test -z "$ac_c_werror_flag" 18198 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15797 || test ! -s conftest.err' 18199 { (case "(($ac_try" in
15798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15799 (eval $ac_try) 2>&5 18201 *) ac_try_echo=$ac_try;;
18202 esac
18203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18204 (eval "$ac_try") 2>&5
15800 ac_status=$? 18205 ac_status=$?
15801 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15802 (exit $ac_status); }; } && 18207 (exit $ac_status); }; } &&
15803 { ac_try='test -s conftest$ac_exeext' 18208 { ac_try='test -s conftest$ac_exeext'
15804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18209 { (case "(($ac_try" in
15805 (eval $ac_try) 2>&5 18210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18211 *) ac_try_echo=$ac_try;;
18212 esac
18213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18214 (eval "$ac_try") 2>&5
15806 ac_status=$? 18215 ac_status=$?
15807 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15808 (exit $ac_status); }; }; then 18217 (exit $ac_status); }; }; then
15809 ac_cv_lib_util_getloadavg=yes 18218 ac_cv_lib_util_getloadavg=yes
15810 else 18219 else
15811 echo "$as_me: failed program was:" >&5 18220 echo "$as_me: failed program was:" >&5
15812 sed 's/^/| /' conftest.$ac_ext >&5 18221 sed 's/^/| /' conftest.$ac_ext >&5
15813 18222
15814 ac_cv_lib_util_getloadavg=no 18223 ac_cv_lib_util_getloadavg=no
15815 fi 18224 fi
15816 rm -f conftest.err conftest.$ac_objext \ 18225
18226 rm -f core conftest.err conftest.$ac_objext \
15817 conftest$ac_exeext conftest.$ac_ext 18227 conftest$ac_exeext conftest.$ac_ext
15818 LIBS=$ac_check_lib_save_LIBS 18228 LIBS=$ac_check_lib_save_LIBS
15819 fi 18229 fi
15820 echo "$as_me:$LINENO: result: $ac_cv_lib_util_getloadavg" >&5 18230 { echo "$as_me:$LINENO: result: $ac_cv_lib_util_getloadavg" >&5
15821 echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6 18231 echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6; }
15822 if test $ac_cv_lib_util_getloadavg = yes; then 18232 if test $ac_cv_lib_util_getloadavg = yes; then
15823 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes 18233 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes
15824 fi 18234 fi
15825 18235
15826 fi 18236 fi
15828 if test $ac_have_func = no; then 18238 if test $ac_have_func = no; then
15829 # There is a commonly available library for RS/6000 AIX. 18239 # There is a commonly available library for RS/6000 AIX.
15830 # Since it is not a standard part of AIX, it might be installed locally. 18240 # Since it is not a standard part of AIX, it might be installed locally.
15831 ac_getloadavg_LIBS=$LIBS 18241 ac_getloadavg_LIBS=$LIBS
15832 LIBS="-L/usr/local/lib $LIBS" 18242 LIBS="-L/usr/local/lib $LIBS"
15833 echo "$as_me:$LINENO: checking for getloadavg in -lgetloadavg" >&5 18243 { echo "$as_me:$LINENO: checking for getloadavg in -lgetloadavg" >&5
15834 echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6 18244 echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6; }
15835 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then 18245 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then
15836 echo $ECHO_N "(cached) $ECHO_C" >&6 18246 echo $ECHO_N "(cached) $ECHO_C" >&6
15837 else 18247 else
15838 ac_check_lib_save_LIBS=$LIBS 18248 ac_check_lib_save_LIBS=$LIBS
15839 LIBS="-lgetloadavg $LIBS" 18249 LIBS="-lgetloadavg $LIBS"
15842 _ACEOF 18252 _ACEOF
15843 cat confdefs.h >>conftest.$ac_ext 18253 cat confdefs.h >>conftest.$ac_ext
15844 cat >>conftest.$ac_ext <<_ACEOF 18254 cat >>conftest.$ac_ext <<_ACEOF
15845 /* end confdefs.h. */ 18255 /* end confdefs.h. */
15846 18256
15847 /* Override any gcc2 internal prototype to avoid an error. */ 18257 /* Override any GCC internal prototype to avoid an error.
18258 Use char because int might match the return type of a GCC
18259 builtin and then its argument prototype would still apply. */
15848 #ifdef __cplusplus 18260 #ifdef __cplusplus
15849 extern "C" 18261 extern "C"
15850 #endif 18262 #endif
15851 /* We use char because int might match the return type of a gcc2
15852 builtin and then its argument prototype would still apply. */
15853 char getloadavg (); 18263 char getloadavg ();
15854 int 18264 int
15855 main () 18265 main ()
15856 { 18266 {
15857 getloadavg (); 18267 return getloadavg ();
15858 ; 18268 ;
15859 return 0; 18269 return 0;
15860 } 18270 }
15861 _ACEOF 18271 _ACEOF
15862 rm -f conftest.$ac_objext conftest$ac_exeext 18272 rm -f conftest.$ac_objext conftest$ac_exeext
15863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 18273 if { (ac_try="$ac_link"
15864 (eval $ac_link) 2>conftest.er1 18274 case "(($ac_try" in
18275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18276 *) ac_try_echo=$ac_try;;
18277 esac
18278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18279 (eval "$ac_link") 2>conftest.er1
15865 ac_status=$? 18280 ac_status=$?
15866 grep -v '^ *+' conftest.er1 >conftest.err 18281 grep -v '^ *+' conftest.er1 >conftest.err
15867 rm -f conftest.er1 18282 rm -f conftest.er1
15868 cat conftest.err >&5 18283 cat conftest.err >&5
15869 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15870 (exit $ac_status); } && 18285 (exit $ac_status); } &&
15871 { ac_try='test -z "$ac_c_werror_flag" 18286 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15872 || test ! -s conftest.err' 18287 { (case "(($ac_try" in
15873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15874 (eval $ac_try) 2>&5 18289 *) ac_try_echo=$ac_try;;
18290 esac
18291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18292 (eval "$ac_try") 2>&5
15875 ac_status=$? 18293 ac_status=$?
15876 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15877 (exit $ac_status); }; } && 18295 (exit $ac_status); }; } &&
15878 { ac_try='test -s conftest$ac_exeext' 18296 { ac_try='test -s conftest$ac_exeext'
15879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18297 { (case "(($ac_try" in
15880 (eval $ac_try) 2>&5 18298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18299 *) ac_try_echo=$ac_try;;
18300 esac
18301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18302 (eval "$ac_try") 2>&5
15881 ac_status=$? 18303 ac_status=$?
15882 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15883 (exit $ac_status); }; }; then 18305 (exit $ac_status); }; }; then
15884 ac_cv_lib_getloadavg_getloadavg=yes 18306 ac_cv_lib_getloadavg_getloadavg=yes
15885 else 18307 else
15886 echo "$as_me: failed program was:" >&5 18308 echo "$as_me: failed program was:" >&5
15887 sed 's/^/| /' conftest.$ac_ext >&5 18309 sed 's/^/| /' conftest.$ac_ext >&5
15888 18310
15889 ac_cv_lib_getloadavg_getloadavg=no 18311 ac_cv_lib_getloadavg_getloadavg=no
15890 fi 18312 fi
15891 rm -f conftest.err conftest.$ac_objext \ 18313
18314 rm -f core conftest.err conftest.$ac_objext \
15892 conftest$ac_exeext conftest.$ac_ext 18315 conftest$ac_exeext conftest.$ac_ext
15893 LIBS=$ac_check_lib_save_LIBS 18316 LIBS=$ac_check_lib_save_LIBS
15894 fi 18317 fi
15895 echo "$as_me:$LINENO: result: $ac_cv_lib_getloadavg_getloadavg" >&5 18318 { echo "$as_me:$LINENO: result: $ac_cv_lib_getloadavg_getloadavg" >&5
15896 echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6 18319 echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6; }
15897 if test $ac_cv_lib_getloadavg_getloadavg = yes; then 18320 if test $ac_cv_lib_getloadavg_getloadavg = yes; then
15898 LIBS="-lgetloadavg $LIBS" 18321 LIBS="-lgetloadavg $LIBS"
15899 else 18322 else
15900 LIBS=$ac_getloadavg_LIBS 18323 LIBS=$ac_getloadavg_LIBS
15901 fi 18324 fi
15906 # otherwise set up the replacement function. 18329 # otherwise set up the replacement function.
15907 18330
15908 for ac_func in getloadavg 18331 for ac_func in getloadavg
15909 do 18332 do
15910 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 18333 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15911 echo "$as_me:$LINENO: checking for $ac_func" >&5 18334 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 18335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15913 if eval "test \"\${$as_ac_var+set}\" = set"; then 18336 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15914 echo $ECHO_N "(cached) $ECHO_C" >&6 18337 echo $ECHO_N "(cached) $ECHO_C" >&6
15915 else 18338 else
15916 cat >conftest.$ac_ext <<_ACEOF 18339 cat >conftest.$ac_ext <<_ACEOF
15917 /* confdefs.h. */ 18340 /* confdefs.h. */
15918 _ACEOF 18341 _ACEOF
15934 # include <assert.h> 18357 # include <assert.h>
15935 #endif 18358 #endif
15936 18359
15937 #undef $ac_func 18360 #undef $ac_func
15938 18361
15939 /* Override any gcc2 internal prototype to avoid an error. */ 18362 /* Override any GCC internal prototype to avoid an error.
18363 Use char because int might match the return type of a GCC
18364 builtin and then its argument prototype would still apply. */
15940 #ifdef __cplusplus 18365 #ifdef __cplusplus
15941 extern "C" 18366 extern "C"
15942 {
15943 #endif 18367 #endif
15944 /* We use char because int might match the return type of a gcc2
15945 builtin and then its argument prototype would still apply. */
15946 char $ac_func (); 18368 char $ac_func ();
15947 /* The GNU C library defines this for functions which it implements 18369 /* The GNU C library defines this for functions which it implements
15948 to always fail with ENOSYS. Some functions are actually named 18370 to always fail with ENOSYS. Some functions are actually named
15949 something starting with __ and the normal name is an alias. */ 18371 something starting with __ and the normal name is an alias. */
15950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 18372 #if defined __stub_$ac_func || defined __stub___$ac_func
15951 choke me 18373 choke me
15952 #else
15953 char (*f) () = $ac_func;
15954 #endif
15955 #ifdef __cplusplus
15956 }
15957 #endif 18374 #endif
15958 18375
15959 int 18376 int
15960 main () 18377 main ()
15961 { 18378 {
15962 return f != $ac_func; 18379 return $ac_func ();
15963 ; 18380 ;
15964 return 0; 18381 return 0;
15965 } 18382 }
15966 _ACEOF 18383 _ACEOF
15967 rm -f conftest.$ac_objext conftest$ac_exeext 18384 rm -f conftest.$ac_objext conftest$ac_exeext
15968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 18385 if { (ac_try="$ac_link"
15969 (eval $ac_link) 2>conftest.er1 18386 case "(($ac_try" in
18387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18388 *) ac_try_echo=$ac_try;;
18389 esac
18390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18391 (eval "$ac_link") 2>conftest.er1
15970 ac_status=$? 18392 ac_status=$?
15971 grep -v '^ *+' conftest.er1 >conftest.err 18393 grep -v '^ *+' conftest.er1 >conftest.err
15972 rm -f conftest.er1 18394 rm -f conftest.er1
15973 cat conftest.err >&5 18395 cat conftest.err >&5
15974 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15975 (exit $ac_status); } && 18397 (exit $ac_status); } &&
15976 { ac_try='test -z "$ac_c_werror_flag" 18398 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15977 || test ! -s conftest.err' 18399 { (case "(($ac_try" in
15978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15979 (eval $ac_try) 2>&5 18401 *) ac_try_echo=$ac_try;;
18402 esac
18403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18404 (eval "$ac_try") 2>&5
15980 ac_status=$? 18405 ac_status=$?
15981 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15982 (exit $ac_status); }; } && 18407 (exit $ac_status); }; } &&
15983 { ac_try='test -s conftest$ac_exeext' 18408 { ac_try='test -s conftest$ac_exeext'
15984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18409 { (case "(($ac_try" in
15985 (eval $ac_try) 2>&5 18410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18411 *) ac_try_echo=$ac_try;;
18412 esac
18413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18414 (eval "$ac_try") 2>&5
15986 ac_status=$? 18415 ac_status=$?
15987 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15988 (exit $ac_status); }; }; then 18417 (exit $ac_status); }; }; then
15989 eval "$as_ac_var=yes" 18418 eval "$as_ac_var=yes"
15990 else 18419 else
15991 echo "$as_me: failed program was:" >&5 18420 echo "$as_me: failed program was:" >&5
15992 sed 's/^/| /' conftest.$ac_ext >&5 18421 sed 's/^/| /' conftest.$ac_ext >&5
15993 18422
15994 eval "$as_ac_var=no" 18423 eval "$as_ac_var=no"
15995 fi 18424 fi
15996 rm -f conftest.err conftest.$ac_objext \ 18425
18426 rm -f core conftest.err conftest.$ac_objext \
15997 conftest$ac_exeext conftest.$ac_ext 18427 conftest$ac_exeext conftest.$ac_ext
15998 fi 18428 fi
15999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 18429 ac_res=`eval echo '${'$as_ac_var'}'`
16000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 18430 { echo "$as_me:$LINENO: result: $ac_res" >&5
18431 echo "${ECHO_T}$ac_res" >&6; }
16001 if test `eval echo '${'$as_ac_var'}'` = yes; then 18432 if test `eval echo '${'$as_ac_var'}'` = yes; then
16002 cat >>confdefs.h <<_ACEOF 18433 cat >>confdefs.h <<_ACEOF
16003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 18434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16004 _ACEOF 18435 _ACEOF
16005 18436
16006 else 18437 else
16007 case $LIBOBJS in 18438 case " $LIBOBJS " in
16008 "getloadavg.$ac_objext" | \
16009 *" getloadavg.$ac_objext" | \
16010 "getloadavg.$ac_objext "* | \
16011 *" getloadavg.$ac_objext "* ) ;; 18439 *" getloadavg.$ac_objext "* ) ;;
16012 *) LIBOBJS="$LIBOBJS getloadavg.$ac_objext" ;; 18440 *) LIBOBJS="$LIBOBJS getloadavg.$ac_objext"
18441 ;;
16013 esac 18442 esac
16014 18443
16015 18444
16016 cat >>confdefs.h <<\_ACEOF 18445 cat >>confdefs.h <<\_ACEOF
16017 #define C_GETLOADAVG 1 18446 #define C_GETLOADAVG 1
16018 _ACEOF 18447 _ACEOF
16019 18448
16020 # Figure out what our getloadavg.c needs. 18449 # Figure out what our getloadavg.c needs.
16021 ac_have_func=no 18450 ac_have_func=no
16022 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then 18451 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
16023 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5 18452 { echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
16024 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6 18453 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6; }
16025 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then 18454 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
16026 echo $ECHO_N "(cached) $ECHO_C" >&6 18455 echo $ECHO_N "(cached) $ECHO_C" >&6
16027 fi 18456 fi
16028 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5 18457 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
16029 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6 18458 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6; }
16030 else 18459 else
16031 # Is the header compilable? 18460 # Is the header compilable?
16032 echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5 18461 { echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5
16033 echo $ECHO_N "checking sys/dg_sys_info.h usability... $ECHO_C" >&6 18462 echo $ECHO_N "checking sys/dg_sys_info.h usability... $ECHO_C" >&6; }
16034 cat >conftest.$ac_ext <<_ACEOF 18463 cat >conftest.$ac_ext <<_ACEOF
16035 /* confdefs.h. */ 18464 /* confdefs.h. */
16036 _ACEOF 18465 _ACEOF
16037 cat confdefs.h >>conftest.$ac_ext 18466 cat confdefs.h >>conftest.$ac_ext
16038 cat >>conftest.$ac_ext <<_ACEOF 18467 cat >>conftest.$ac_ext <<_ACEOF
16039 /* end confdefs.h. */ 18468 /* end confdefs.h. */
16040 $ac_includes_default 18469 $ac_includes_default
16041 #include <sys/dg_sys_info.h> 18470 #include <sys/dg_sys_info.h>
16042 _ACEOF 18471 _ACEOF
16043 rm -f conftest.$ac_objext 18472 rm -f conftest.$ac_objext
16044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 18473 if { (ac_try="$ac_compile"
16045 (eval $ac_compile) 2>conftest.er1 18474 case "(($ac_try" in
18475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18476 *) ac_try_echo=$ac_try;;
18477 esac
18478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18479 (eval "$ac_compile") 2>conftest.er1
16046 ac_status=$? 18480 ac_status=$?
16047 grep -v '^ *+' conftest.er1 >conftest.err 18481 grep -v '^ *+' conftest.er1 >conftest.err
16048 rm -f conftest.er1 18482 rm -f conftest.er1
16049 cat conftest.err >&5 18483 cat conftest.err >&5
16050 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16051 (exit $ac_status); } && 18485 (exit $ac_status); } &&
16052 { ac_try='test -z "$ac_c_werror_flag" 18486 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16053 || test ! -s conftest.err' 18487 { (case "(($ac_try" in
16054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16055 (eval $ac_try) 2>&5 18489 *) ac_try_echo=$ac_try;;
18490 esac
18491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18492 (eval "$ac_try") 2>&5
16056 ac_status=$? 18493 ac_status=$?
16057 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16058 (exit $ac_status); }; } && 18495 (exit $ac_status); }; } &&
16059 { ac_try='test -s conftest.$ac_objext' 18496 { ac_try='test -s conftest.$ac_objext'
16060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18497 { (case "(($ac_try" in
16061 (eval $ac_try) 2>&5 18498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18499 *) ac_try_echo=$ac_try;;
18500 esac
18501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18502 (eval "$ac_try") 2>&5
16062 ac_status=$? 18503 ac_status=$?
16063 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16064 (exit $ac_status); }; }; then 18505 (exit $ac_status); }; }; then
16065 ac_header_compiler=yes 18506 ac_header_compiler=yes
16066 else 18507 else
16067 echo "$as_me: failed program was:" >&5 18508 echo "$as_me: failed program was:" >&5
16068 sed 's/^/| /' conftest.$ac_ext >&5 18509 sed 's/^/| /' conftest.$ac_ext >&5
16069 18510
16070 ac_header_compiler=no 18511 ac_header_compiler=no
16071 fi 18512 fi
16072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 18513
16073 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 18514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16074 echo "${ECHO_T}$ac_header_compiler" >&6 18515 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18516 echo "${ECHO_T}$ac_header_compiler" >&6; }
16075 18517
16076 # Is the header present? 18518 # Is the header present?
16077 echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5 18519 { echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5
16078 echo $ECHO_N "checking sys/dg_sys_info.h presence... $ECHO_C" >&6 18520 echo $ECHO_N "checking sys/dg_sys_info.h presence... $ECHO_C" >&6; }
16079 cat >conftest.$ac_ext <<_ACEOF 18521 cat >conftest.$ac_ext <<_ACEOF
16080 /* confdefs.h. */ 18522 /* confdefs.h. */
16081 _ACEOF 18523 _ACEOF
16082 cat confdefs.h >>conftest.$ac_ext 18524 cat confdefs.h >>conftest.$ac_ext
16083 cat >>conftest.$ac_ext <<_ACEOF 18525 cat >>conftest.$ac_ext <<_ACEOF
16084 /* end confdefs.h. */ 18526 /* end confdefs.h. */
16085 #include <sys/dg_sys_info.h> 18527 #include <sys/dg_sys_info.h>
16086 _ACEOF 18528 _ACEOF
16087 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 18529 if { (ac_try="$ac_cpp conftest.$ac_ext"
16088 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 18530 case "(($ac_try" in
18531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18532 *) ac_try_echo=$ac_try;;
18533 esac
18534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18535 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16089 ac_status=$? 18536 ac_status=$?
16090 grep -v '^ *+' conftest.er1 >conftest.err 18537 grep -v '^ *+' conftest.er1 >conftest.err
16091 rm -f conftest.er1 18538 rm -f conftest.er1
16092 cat conftest.err >&5 18539 cat conftest.err >&5
16093 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16107 echo "$as_me: failed program was:" >&5 18554 echo "$as_me: failed program was:" >&5
16108 sed 's/^/| /' conftest.$ac_ext >&5 18555 sed 's/^/| /' conftest.$ac_ext >&5
16109 18556
16110 ac_header_preproc=no 18557 ac_header_preproc=no
16111 fi 18558 fi
18559
16112 rm -f conftest.err conftest.$ac_ext 18560 rm -f conftest.err conftest.$ac_ext
16113 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 18561 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16114 echo "${ECHO_T}$ac_header_preproc" >&6 18562 echo "${ECHO_T}$ac_header_preproc" >&6; }
16115 18563
16116 # So? What about this header? 18564 # So? What about this header?
16117 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 18565 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16118 yes:no: ) 18566 yes:no: )
16119 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5 18567 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5
16133 echo "$as_me: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&2;} 18581 echo "$as_me: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&2;}
16134 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5 18582 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5
16135 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;} 18583 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;}
16136 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&5 18584 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&5
16137 echo "$as_me: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&2;} 18585 echo "$as_me: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&2;}
16138 ( 18586
16139 cat <<\_ASBOX
16140 ## ------------------------------------------ ##
16141 ## Report this to the AC_PACKAGE_NAME lists. ##
16142 ## ------------------------------------------ ##
16143 _ASBOX
16144 ) |
16145 sed "s/^/$as_me: WARNING: /" >&2
16146 ;; 18587 ;;
16147 esac 18588 esac
16148 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5 18589 { echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
16149 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6 18590 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6; }
16150 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then 18591 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
16151 echo $ECHO_N "(cached) $ECHO_C" >&6 18592 echo $ECHO_N "(cached) $ECHO_C" >&6
16152 else 18593 else
16153 ac_cv_header_sys_dg_sys_info_h=$ac_header_preproc 18594 ac_cv_header_sys_dg_sys_info_h=$ac_header_preproc
16154 fi 18595 fi
16155 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5 18596 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
16156 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6 18597 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6; }
16157 18598
16158 fi 18599 fi
16159 if test $ac_cv_header_sys_dg_sys_info_h = yes; then 18600 if test $ac_cv_header_sys_dg_sys_info_h = yes; then
16160 ac_have_func=yes 18601 ac_have_func=yes
16161 18602
16162 cat >>confdefs.h <<\_ACEOF 18603 cat >>confdefs.h <<\_ACEOF
16163 #define DGUX 1 18604 #define DGUX 1
16164 _ACEOF 18605 _ACEOF
16165 18606
16166 18607
16167 echo "$as_me:$LINENO: checking for dg_sys_info in -ldgc" >&5 18608 { echo "$as_me:$LINENO: checking for dg_sys_info in -ldgc" >&5
16168 echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6 18609 echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6; }
16169 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then 18610 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then
16170 echo $ECHO_N "(cached) $ECHO_C" >&6 18611 echo $ECHO_N "(cached) $ECHO_C" >&6
16171 else 18612 else
16172 ac_check_lib_save_LIBS=$LIBS 18613 ac_check_lib_save_LIBS=$LIBS
16173 LIBS="-ldgc $LIBS" 18614 LIBS="-ldgc $LIBS"
16176 _ACEOF 18617 _ACEOF
16177 cat confdefs.h >>conftest.$ac_ext 18618 cat confdefs.h >>conftest.$ac_ext
16178 cat >>conftest.$ac_ext <<_ACEOF 18619 cat >>conftest.$ac_ext <<_ACEOF
16179 /* end confdefs.h. */ 18620 /* end confdefs.h. */
16180 18621
16181 /* Override any gcc2 internal prototype to avoid an error. */ 18622 /* Override any GCC internal prototype to avoid an error.
18623 Use char because int might match the return type of a GCC
18624 builtin and then its argument prototype would still apply. */
16182 #ifdef __cplusplus 18625 #ifdef __cplusplus
16183 extern "C" 18626 extern "C"
16184 #endif 18627 #endif
16185 /* We use char because int might match the return type of a gcc2
16186 builtin and then its argument prototype would still apply. */
16187 char dg_sys_info (); 18628 char dg_sys_info ();
16188 int 18629 int
16189 main () 18630 main ()
16190 { 18631 {
16191 dg_sys_info (); 18632 return dg_sys_info ();
16192 ; 18633 ;
16193 return 0; 18634 return 0;
16194 } 18635 }
16195 _ACEOF 18636 _ACEOF
16196 rm -f conftest.$ac_objext conftest$ac_exeext 18637 rm -f conftest.$ac_objext conftest$ac_exeext
16197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 18638 if { (ac_try="$ac_link"
16198 (eval $ac_link) 2>conftest.er1 18639 case "(($ac_try" in
18640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18641 *) ac_try_echo=$ac_try;;
18642 esac
18643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18644 (eval "$ac_link") 2>conftest.er1
16199 ac_status=$? 18645 ac_status=$?
16200 grep -v '^ *+' conftest.er1 >conftest.err 18646 grep -v '^ *+' conftest.er1 >conftest.err
16201 rm -f conftest.er1 18647 rm -f conftest.er1
16202 cat conftest.err >&5 18648 cat conftest.err >&5
16203 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16204 (exit $ac_status); } && 18650 (exit $ac_status); } &&
16205 { ac_try='test -z "$ac_c_werror_flag" 18651 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16206 || test ! -s conftest.err' 18652 { (case "(($ac_try" in
16207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16208 (eval $ac_try) 2>&5 18654 *) ac_try_echo=$ac_try;;
18655 esac
18656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18657 (eval "$ac_try") 2>&5
16209 ac_status=$? 18658 ac_status=$?
16210 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16211 (exit $ac_status); }; } && 18660 (exit $ac_status); }; } &&
16212 { ac_try='test -s conftest$ac_exeext' 18661 { ac_try='test -s conftest$ac_exeext'
16213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18662 { (case "(($ac_try" in
16214 (eval $ac_try) 2>&5 18663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18664 *) ac_try_echo=$ac_try;;
18665 esac
18666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18667 (eval "$ac_try") 2>&5
16215 ac_status=$? 18668 ac_status=$?
16216 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16217 (exit $ac_status); }; }; then 18670 (exit $ac_status); }; }; then
16218 ac_cv_lib_dgc_dg_sys_info=yes 18671 ac_cv_lib_dgc_dg_sys_info=yes
16219 else 18672 else
16220 echo "$as_me: failed program was:" >&5 18673 echo "$as_me: failed program was:" >&5
16221 sed 's/^/| /' conftest.$ac_ext >&5 18674 sed 's/^/| /' conftest.$ac_ext >&5
16222 18675
16223 ac_cv_lib_dgc_dg_sys_info=no 18676 ac_cv_lib_dgc_dg_sys_info=no
16224 fi 18677 fi
16225 rm -f conftest.err conftest.$ac_objext \ 18678
18679 rm -f core conftest.err conftest.$ac_objext \
16226 conftest$ac_exeext conftest.$ac_ext 18680 conftest$ac_exeext conftest.$ac_ext
16227 LIBS=$ac_check_lib_save_LIBS 18681 LIBS=$ac_check_lib_save_LIBS
16228 fi 18682 fi
16229 echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_dg_sys_info" >&5 18683 { echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_dg_sys_info" >&5
16230 echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6 18684 echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6; }
16231 if test $ac_cv_lib_dgc_dg_sys_info = yes; then 18685 if test $ac_cv_lib_dgc_dg_sys_info = yes; then
16232 cat >>confdefs.h <<_ACEOF 18686 cat >>confdefs.h <<_ACEOF
16233 #define HAVE_LIBDGC 1 18687 #define HAVE_LIBDGC 1
16234 _ACEOF 18688 _ACEOF
16235 18689
16240 fi 18694 fi
16241 18695
16242 18696
16243 18697
16244 if test "${ac_cv_header_locale_h+set}" = set; then 18698 if test "${ac_cv_header_locale_h+set}" = set; then
16245 echo "$as_me:$LINENO: checking for locale.h" >&5 18699 { echo "$as_me:$LINENO: checking for locale.h" >&5
16246 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6 18700 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6; }
16247 if test "${ac_cv_header_locale_h+set}" = set; then 18701 if test "${ac_cv_header_locale_h+set}" = set; then
16248 echo $ECHO_N "(cached) $ECHO_C" >&6 18702 echo $ECHO_N "(cached) $ECHO_C" >&6
16249 fi 18703 fi
16250 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5 18704 { echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
16251 echo "${ECHO_T}$ac_cv_header_locale_h" >&6 18705 echo "${ECHO_T}$ac_cv_header_locale_h" >&6; }
16252 else 18706 else
16253 # Is the header compilable? 18707 # Is the header compilable?
16254 echo "$as_me:$LINENO: checking locale.h usability" >&5 18708 { echo "$as_me:$LINENO: checking locale.h usability" >&5
16255 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6 18709 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6; }
16256 cat >conftest.$ac_ext <<_ACEOF 18710 cat >conftest.$ac_ext <<_ACEOF
16257 /* confdefs.h. */ 18711 /* confdefs.h. */
16258 _ACEOF 18712 _ACEOF
16259 cat confdefs.h >>conftest.$ac_ext 18713 cat confdefs.h >>conftest.$ac_ext
16260 cat >>conftest.$ac_ext <<_ACEOF 18714 cat >>conftest.$ac_ext <<_ACEOF
16261 /* end confdefs.h. */ 18715 /* end confdefs.h. */
16262 $ac_includes_default 18716 $ac_includes_default
16263 #include <locale.h> 18717 #include <locale.h>
16264 _ACEOF 18718 _ACEOF
16265 rm -f conftest.$ac_objext 18719 rm -f conftest.$ac_objext
16266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 18720 if { (ac_try="$ac_compile"
16267 (eval $ac_compile) 2>conftest.er1 18721 case "(($ac_try" in
18722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18723 *) ac_try_echo=$ac_try;;
18724 esac
18725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18726 (eval "$ac_compile") 2>conftest.er1
16268 ac_status=$? 18727 ac_status=$?
16269 grep -v '^ *+' conftest.er1 >conftest.err 18728 grep -v '^ *+' conftest.er1 >conftest.err
16270 rm -f conftest.er1 18729 rm -f conftest.er1
16271 cat conftest.err >&5 18730 cat conftest.err >&5
16272 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16273 (exit $ac_status); } && 18732 (exit $ac_status); } &&
16274 { ac_try='test -z "$ac_c_werror_flag" 18733 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16275 || test ! -s conftest.err' 18734 { (case "(($ac_try" in
16276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16277 (eval $ac_try) 2>&5 18736 *) ac_try_echo=$ac_try;;
18737 esac
18738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18739 (eval "$ac_try") 2>&5
16278 ac_status=$? 18740 ac_status=$?
16279 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16280 (exit $ac_status); }; } && 18742 (exit $ac_status); }; } &&
16281 { ac_try='test -s conftest.$ac_objext' 18743 { ac_try='test -s conftest.$ac_objext'
16282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18744 { (case "(($ac_try" in
16283 (eval $ac_try) 2>&5 18745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18746 *) ac_try_echo=$ac_try;;
18747 esac
18748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18749 (eval "$ac_try") 2>&5
16284 ac_status=$? 18750 ac_status=$?
16285 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16286 (exit $ac_status); }; }; then 18752 (exit $ac_status); }; }; then
16287 ac_header_compiler=yes 18753 ac_header_compiler=yes
16288 else 18754 else
16289 echo "$as_me: failed program was:" >&5 18755 echo "$as_me: failed program was:" >&5
16290 sed 's/^/| /' conftest.$ac_ext >&5 18756 sed 's/^/| /' conftest.$ac_ext >&5
16291 18757
16292 ac_header_compiler=no 18758 ac_header_compiler=no
16293 fi 18759 fi
16294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 18760
16295 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 18761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16296 echo "${ECHO_T}$ac_header_compiler" >&6 18762 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18763 echo "${ECHO_T}$ac_header_compiler" >&6; }
16297 18764
16298 # Is the header present? 18765 # Is the header present?
16299 echo "$as_me:$LINENO: checking locale.h presence" >&5 18766 { echo "$as_me:$LINENO: checking locale.h presence" >&5
16300 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6 18767 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6; }
16301 cat >conftest.$ac_ext <<_ACEOF 18768 cat >conftest.$ac_ext <<_ACEOF
16302 /* confdefs.h. */ 18769 /* confdefs.h. */
16303 _ACEOF 18770 _ACEOF
16304 cat confdefs.h >>conftest.$ac_ext 18771 cat confdefs.h >>conftest.$ac_ext
16305 cat >>conftest.$ac_ext <<_ACEOF 18772 cat >>conftest.$ac_ext <<_ACEOF
16306 /* end confdefs.h. */ 18773 /* end confdefs.h. */
16307 #include <locale.h> 18774 #include <locale.h>
16308 _ACEOF 18775 _ACEOF
16309 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 18776 if { (ac_try="$ac_cpp conftest.$ac_ext"
16310 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 18777 case "(($ac_try" in
18778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18779 *) ac_try_echo=$ac_try;;
18780 esac
18781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18782 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16311 ac_status=$? 18783 ac_status=$?
16312 grep -v '^ *+' conftest.er1 >conftest.err 18784 grep -v '^ *+' conftest.er1 >conftest.err
16313 rm -f conftest.er1 18785 rm -f conftest.er1
16314 cat conftest.err >&5 18786 cat conftest.err >&5
16315 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16329 echo "$as_me: failed program was:" >&5 18801 echo "$as_me: failed program was:" >&5
16330 sed 's/^/| /' conftest.$ac_ext >&5 18802 sed 's/^/| /' conftest.$ac_ext >&5
16331 18803
16332 ac_header_preproc=no 18804 ac_header_preproc=no
16333 fi 18805 fi
18806
16334 rm -f conftest.err conftest.$ac_ext 18807 rm -f conftest.err conftest.$ac_ext
16335 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 18808 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16336 echo "${ECHO_T}$ac_header_preproc" >&6 18809 echo "${ECHO_T}$ac_header_preproc" >&6; }
16337 18810
16338 # So? What about this header? 18811 # So? What about this header?
16339 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 18812 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16340 yes:no: ) 18813 yes:no: )
16341 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5 18814 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
16355 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;} 18828 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
16356 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5 18829 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
16357 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;} 18830 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
16358 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5 18831 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
16359 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;} 18832 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
16360 ( 18833
16361 cat <<\_ASBOX
16362 ## ------------------------------------------ ##
16363 ## Report this to the AC_PACKAGE_NAME lists. ##
16364 ## ------------------------------------------ ##
16365 _ASBOX
16366 ) |
16367 sed "s/^/$as_me: WARNING: /" >&2
16368 ;; 18834 ;;
16369 esac 18835 esac
16370 echo "$as_me:$LINENO: checking for locale.h" >&5 18836 { echo "$as_me:$LINENO: checking for locale.h" >&5
16371 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6 18837 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6; }
16372 if test "${ac_cv_header_locale_h+set}" = set; then 18838 if test "${ac_cv_header_locale_h+set}" = set; then
16373 echo $ECHO_N "(cached) $ECHO_C" >&6 18839 echo $ECHO_N "(cached) $ECHO_C" >&6
16374 else 18840 else
16375 ac_cv_header_locale_h=$ac_header_preproc 18841 ac_cv_header_locale_h=$ac_header_preproc
16376 fi 18842 fi
16377 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5 18843 { echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
16378 echo "${ECHO_T}$ac_cv_header_locale_h" >&6 18844 echo "${ECHO_T}$ac_cv_header_locale_h" >&6; }
16379 18845
16380 fi 18846 fi
16381 18847
16382 18848
16383 18849
16384 for ac_func in setlocale 18850 for ac_func in setlocale
16385 do 18851 do
16386 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 18852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16387 echo "$as_me:$LINENO: checking for $ac_func" >&5 18853 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16388 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 18854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16389 if eval "test \"\${$as_ac_var+set}\" = set"; then 18855 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16390 echo $ECHO_N "(cached) $ECHO_C" >&6 18856 echo $ECHO_N "(cached) $ECHO_C" >&6
16391 else 18857 else
16392 cat >conftest.$ac_ext <<_ACEOF 18858 cat >conftest.$ac_ext <<_ACEOF
16393 /* confdefs.h. */ 18859 /* confdefs.h. */
16394 _ACEOF 18860 _ACEOF
16410 # include <assert.h> 18876 # include <assert.h>
16411 #endif 18877 #endif
16412 18878
16413 #undef $ac_func 18879 #undef $ac_func
16414 18880
16415 /* Override any gcc2 internal prototype to avoid an error. */ 18881 /* Override any GCC internal prototype to avoid an error.
18882 Use char because int might match the return type of a GCC
18883 builtin and then its argument prototype would still apply. */
16416 #ifdef __cplusplus 18884 #ifdef __cplusplus
16417 extern "C" 18885 extern "C"
16418 {
16419 #endif 18886 #endif
16420 /* We use char because int might match the return type of a gcc2
16421 builtin and then its argument prototype would still apply. */
16422 char $ac_func (); 18887 char $ac_func ();
16423 /* The GNU C library defines this for functions which it implements 18888 /* The GNU C library defines this for functions which it implements
16424 to always fail with ENOSYS. Some functions are actually named 18889 to always fail with ENOSYS. Some functions are actually named
16425 something starting with __ and the normal name is an alias. */ 18890 something starting with __ and the normal name is an alias. */
16426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 18891 #if defined __stub_$ac_func || defined __stub___$ac_func
16427 choke me 18892 choke me
16428 #else
16429 char (*f) () = $ac_func;
16430 #endif
16431 #ifdef __cplusplus
16432 }
16433 #endif 18893 #endif
16434 18894
16435 int 18895 int
16436 main () 18896 main ()
16437 { 18897 {
16438 return f != $ac_func; 18898 return $ac_func ();
16439 ; 18899 ;
16440 return 0; 18900 return 0;
16441 } 18901 }
16442 _ACEOF 18902 _ACEOF
16443 rm -f conftest.$ac_objext conftest$ac_exeext 18903 rm -f conftest.$ac_objext conftest$ac_exeext
16444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 18904 if { (ac_try="$ac_link"
16445 (eval $ac_link) 2>conftest.er1 18905 case "(($ac_try" in
18906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18907 *) ac_try_echo=$ac_try;;
18908 esac
18909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18910 (eval "$ac_link") 2>conftest.er1
16446 ac_status=$? 18911 ac_status=$?
16447 grep -v '^ *+' conftest.er1 >conftest.err 18912 grep -v '^ *+' conftest.er1 >conftest.err
16448 rm -f conftest.er1 18913 rm -f conftest.er1
16449 cat conftest.err >&5 18914 cat conftest.err >&5
16450 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16451 (exit $ac_status); } && 18916 (exit $ac_status); } &&
16452 { ac_try='test -z "$ac_c_werror_flag" 18917 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16453 || test ! -s conftest.err' 18918 { (case "(($ac_try" in
16454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16455 (eval $ac_try) 2>&5 18920 *) ac_try_echo=$ac_try;;
18921 esac
18922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18923 (eval "$ac_try") 2>&5
16456 ac_status=$? 18924 ac_status=$?
16457 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16458 (exit $ac_status); }; } && 18926 (exit $ac_status); }; } &&
16459 { ac_try='test -s conftest$ac_exeext' 18927 { ac_try='test -s conftest$ac_exeext'
16460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18928 { (case "(($ac_try" in
16461 (eval $ac_try) 2>&5 18929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18930 *) ac_try_echo=$ac_try;;
18931 esac
18932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18933 (eval "$ac_try") 2>&5
16462 ac_status=$? 18934 ac_status=$?
16463 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16464 (exit $ac_status); }; }; then 18936 (exit $ac_status); }; }; then
16465 eval "$as_ac_var=yes" 18937 eval "$as_ac_var=yes"
16466 else 18938 else
16467 echo "$as_me: failed program was:" >&5 18939 echo "$as_me: failed program was:" >&5
16468 sed 's/^/| /' conftest.$ac_ext >&5 18940 sed 's/^/| /' conftest.$ac_ext >&5
16469 18941
16470 eval "$as_ac_var=no" 18942 eval "$as_ac_var=no"
16471 fi 18943 fi
16472 rm -f conftest.err conftest.$ac_objext \ 18944
18945 rm -f core conftest.err conftest.$ac_objext \
16473 conftest$ac_exeext conftest.$ac_ext 18946 conftest$ac_exeext conftest.$ac_ext
16474 fi 18947 fi
16475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 18948 ac_res=`eval echo '${'$as_ac_var'}'`
16476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 18949 { echo "$as_me:$LINENO: result: $ac_res" >&5
18950 echo "${ECHO_T}$ac_res" >&6; }
16477 if test `eval echo '${'$as_ac_var'}'` = yes; then 18951 if test `eval echo '${'$as_ac_var'}'` = yes; then
16478 cat >>confdefs.h <<_ACEOF 18952 cat >>confdefs.h <<_ACEOF
16479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 18953 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16480 _ACEOF 18954 _ACEOF
16481 18955
16495 18969
16496 fi 18970 fi
16497 18971
16498 if test $ac_have_func = no; then 18972 if test $ac_have_func = no; then
16499 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then 18973 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
16500 echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5 18974 { echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5
16501 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6 18975 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6; }
16502 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then 18976 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
16503 echo $ECHO_N "(cached) $ECHO_C" >&6 18977 echo $ECHO_N "(cached) $ECHO_C" >&6
16504 fi 18978 fi
16505 echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5 18979 { echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
16506 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6 18980 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6; }
16507 else 18981 else
16508 # Is the header compilable? 18982 # Is the header compilable?
16509 echo "$as_me:$LINENO: checking inq_stats/cpustats.h usability" >&5 18983 { echo "$as_me:$LINENO: checking inq_stats/cpustats.h usability" >&5
16510 echo $ECHO_N "checking inq_stats/cpustats.h usability... $ECHO_C" >&6 18984 echo $ECHO_N "checking inq_stats/cpustats.h usability... $ECHO_C" >&6; }
16511 cat >conftest.$ac_ext <<_ACEOF 18985 cat >conftest.$ac_ext <<_ACEOF
16512 /* confdefs.h. */ 18986 /* confdefs.h. */
16513 _ACEOF 18987 _ACEOF
16514 cat confdefs.h >>conftest.$ac_ext 18988 cat confdefs.h >>conftest.$ac_ext
16515 cat >>conftest.$ac_ext <<_ACEOF 18989 cat >>conftest.$ac_ext <<_ACEOF
16516 /* end confdefs.h. */ 18990 /* end confdefs.h. */
16517 $ac_includes_default 18991 $ac_includes_default
16518 #include <inq_stats/cpustats.h> 18992 #include <inq_stats/cpustats.h>
16519 _ACEOF 18993 _ACEOF
16520 rm -f conftest.$ac_objext 18994 rm -f conftest.$ac_objext
16521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 18995 if { (ac_try="$ac_compile"
16522 (eval $ac_compile) 2>conftest.er1 18996 case "(($ac_try" in
18997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18998 *) ac_try_echo=$ac_try;;
18999 esac
19000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19001 (eval "$ac_compile") 2>conftest.er1
16523 ac_status=$? 19002 ac_status=$?
16524 grep -v '^ *+' conftest.er1 >conftest.err 19003 grep -v '^ *+' conftest.er1 >conftest.err
16525 rm -f conftest.er1 19004 rm -f conftest.er1
16526 cat conftest.err >&5 19005 cat conftest.err >&5
16527 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16528 (exit $ac_status); } && 19007 (exit $ac_status); } &&
16529 { ac_try='test -z "$ac_c_werror_flag" 19008 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16530 || test ! -s conftest.err' 19009 { (case "(($ac_try" in
16531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16532 (eval $ac_try) 2>&5 19011 *) ac_try_echo=$ac_try;;
19012 esac
19013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19014 (eval "$ac_try") 2>&5
16533 ac_status=$? 19015 ac_status=$?
16534 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16535 (exit $ac_status); }; } && 19017 (exit $ac_status); }; } &&
16536 { ac_try='test -s conftest.$ac_objext' 19018 { ac_try='test -s conftest.$ac_objext'
16537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19019 { (case "(($ac_try" in
16538 (eval $ac_try) 2>&5 19020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19021 *) ac_try_echo=$ac_try;;
19022 esac
19023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19024 (eval "$ac_try") 2>&5
16539 ac_status=$? 19025 ac_status=$?
16540 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16541 (exit $ac_status); }; }; then 19027 (exit $ac_status); }; }; then
16542 ac_header_compiler=yes 19028 ac_header_compiler=yes
16543 else 19029 else
16544 echo "$as_me: failed program was:" >&5 19030 echo "$as_me: failed program was:" >&5
16545 sed 's/^/| /' conftest.$ac_ext >&5 19031 sed 's/^/| /' conftest.$ac_ext >&5
16546 19032
16547 ac_header_compiler=no 19033 ac_header_compiler=no
16548 fi 19034 fi
16549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 19035
16550 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 19036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16551 echo "${ECHO_T}$ac_header_compiler" >&6 19037 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19038 echo "${ECHO_T}$ac_header_compiler" >&6; }
16552 19039
16553 # Is the header present? 19040 # Is the header present?
16554 echo "$as_me:$LINENO: checking inq_stats/cpustats.h presence" >&5 19041 { echo "$as_me:$LINENO: checking inq_stats/cpustats.h presence" >&5
16555 echo $ECHO_N "checking inq_stats/cpustats.h presence... $ECHO_C" >&6 19042 echo $ECHO_N "checking inq_stats/cpustats.h presence... $ECHO_C" >&6; }
16556 cat >conftest.$ac_ext <<_ACEOF 19043 cat >conftest.$ac_ext <<_ACEOF
16557 /* confdefs.h. */ 19044 /* confdefs.h. */
16558 _ACEOF 19045 _ACEOF
16559 cat confdefs.h >>conftest.$ac_ext 19046 cat confdefs.h >>conftest.$ac_ext
16560 cat >>conftest.$ac_ext <<_ACEOF 19047 cat >>conftest.$ac_ext <<_ACEOF
16561 /* end confdefs.h. */ 19048 /* end confdefs.h. */
16562 #include <inq_stats/cpustats.h> 19049 #include <inq_stats/cpustats.h>
16563 _ACEOF 19050 _ACEOF
16564 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 19051 if { (ac_try="$ac_cpp conftest.$ac_ext"
16565 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 19052 case "(($ac_try" in
19053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19054 *) ac_try_echo=$ac_try;;
19055 esac
19056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19057 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16566 ac_status=$? 19058 ac_status=$?
16567 grep -v '^ *+' conftest.er1 >conftest.err 19059 grep -v '^ *+' conftest.er1 >conftest.err
16568 rm -f conftest.er1 19060 rm -f conftest.er1
16569 cat conftest.err >&5 19061 cat conftest.err >&5
16570 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16584 echo "$as_me: failed program was:" >&5 19076 echo "$as_me: failed program was:" >&5
16585 sed 's/^/| /' conftest.$ac_ext >&5 19077 sed 's/^/| /' conftest.$ac_ext >&5
16586 19078
16587 ac_header_preproc=no 19079 ac_header_preproc=no
16588 fi 19080 fi
19081
16589 rm -f conftest.err conftest.$ac_ext 19082 rm -f conftest.err conftest.$ac_ext
16590 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 19083 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16591 echo "${ECHO_T}$ac_header_preproc" >&6 19084 echo "${ECHO_T}$ac_header_preproc" >&6; }
16592 19085
16593 # So? What about this header? 19086 # So? What about this header?
16594 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 19087 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16595 yes:no: ) 19088 yes:no: )
16596 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5 19089 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5
16610 echo "$as_me: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;} 19103 echo "$as_me: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;}
16611 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&5 19104 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&5
16612 echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;} 19105 echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;}
16613 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&5 19106 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&5
16614 echo "$as_me: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&2;} 19107 echo "$as_me: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&2;}
16615 ( 19108
16616 cat <<\_ASBOX
16617 ## ------------------------------------------ ##
16618 ## Report this to the AC_PACKAGE_NAME lists. ##
16619 ## ------------------------------------------ ##
16620 _ASBOX
16621 ) |
16622 sed "s/^/$as_me: WARNING: /" >&2
16623 ;; 19109 ;;
16624 esac 19110 esac
16625 echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5 19111 { echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5
16626 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6 19112 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6; }
16627 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then 19113 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
16628 echo $ECHO_N "(cached) $ECHO_C" >&6 19114 echo $ECHO_N "(cached) $ECHO_C" >&6
16629 else 19115 else
16630 ac_cv_header_inq_stats_cpustats_h=$ac_header_preproc 19116 ac_cv_header_inq_stats_cpustats_h=$ac_header_preproc
16631 fi 19117 fi
16632 echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5 19118 { echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
16633 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6 19119 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6; }
16634 19120
16635 fi 19121 fi
16636 if test $ac_cv_header_inq_stats_cpustats_h = yes; then 19122 if test $ac_cv_header_inq_stats_cpustats_h = yes; then
16637 ac_have_func=yes 19123 ac_have_func=yes
16638 19124
16650 19136
16651 fi 19137 fi
16652 19138
16653 if test $ac_have_func = no; then 19139 if test $ac_have_func = no; then
16654 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then 19140 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
16655 echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5 19141 { echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5
16656 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6 19142 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6; }
16657 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then 19143 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
16658 echo $ECHO_N "(cached) $ECHO_C" >&6 19144 echo $ECHO_N "(cached) $ECHO_C" >&6
16659 fi 19145 fi
16660 echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5 19146 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
16661 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6 19147 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6; }
16662 else 19148 else
16663 # Is the header compilable? 19149 # Is the header compilable?
16664 echo "$as_me:$LINENO: checking sys/cpustats.h usability" >&5 19150 { echo "$as_me:$LINENO: checking sys/cpustats.h usability" >&5
16665 echo $ECHO_N "checking sys/cpustats.h usability... $ECHO_C" >&6 19151 echo $ECHO_N "checking sys/cpustats.h usability... $ECHO_C" >&6; }
16666 cat >conftest.$ac_ext <<_ACEOF 19152 cat >conftest.$ac_ext <<_ACEOF
16667 /* confdefs.h. */ 19153 /* confdefs.h. */
16668 _ACEOF 19154 _ACEOF
16669 cat confdefs.h >>conftest.$ac_ext 19155 cat confdefs.h >>conftest.$ac_ext
16670 cat >>conftest.$ac_ext <<_ACEOF 19156 cat >>conftest.$ac_ext <<_ACEOF
16671 /* end confdefs.h. */ 19157 /* end confdefs.h. */
16672 $ac_includes_default 19158 $ac_includes_default
16673 #include <sys/cpustats.h> 19159 #include <sys/cpustats.h>
16674 _ACEOF 19160 _ACEOF
16675 rm -f conftest.$ac_objext 19161 rm -f conftest.$ac_objext
16676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 19162 if { (ac_try="$ac_compile"
16677 (eval $ac_compile) 2>conftest.er1 19163 case "(($ac_try" in
19164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19165 *) ac_try_echo=$ac_try;;
19166 esac
19167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19168 (eval "$ac_compile") 2>conftest.er1
16678 ac_status=$? 19169 ac_status=$?
16679 grep -v '^ *+' conftest.er1 >conftest.err 19170 grep -v '^ *+' conftest.er1 >conftest.err
16680 rm -f conftest.er1 19171 rm -f conftest.er1
16681 cat conftest.err >&5 19172 cat conftest.err >&5
16682 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16683 (exit $ac_status); } && 19174 (exit $ac_status); } &&
16684 { ac_try='test -z "$ac_c_werror_flag" 19175 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16685 || test ! -s conftest.err' 19176 { (case "(($ac_try" in
16686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16687 (eval $ac_try) 2>&5 19178 *) ac_try_echo=$ac_try;;
19179 esac
19180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19181 (eval "$ac_try") 2>&5
16688 ac_status=$? 19182 ac_status=$?
16689 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16690 (exit $ac_status); }; } && 19184 (exit $ac_status); }; } &&
16691 { ac_try='test -s conftest.$ac_objext' 19185 { ac_try='test -s conftest.$ac_objext'
16692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19186 { (case "(($ac_try" in
16693 (eval $ac_try) 2>&5 19187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19188 *) ac_try_echo=$ac_try;;
19189 esac
19190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19191 (eval "$ac_try") 2>&5
16694 ac_status=$? 19192 ac_status=$?
16695 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16696 (exit $ac_status); }; }; then 19194 (exit $ac_status); }; }; then
16697 ac_header_compiler=yes 19195 ac_header_compiler=yes
16698 else 19196 else
16699 echo "$as_me: failed program was:" >&5 19197 echo "$as_me: failed program was:" >&5
16700 sed 's/^/| /' conftest.$ac_ext >&5 19198 sed 's/^/| /' conftest.$ac_ext >&5
16701 19199
16702 ac_header_compiler=no 19200 ac_header_compiler=no
16703 fi 19201 fi
16704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 19202
16705 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 19203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16706 echo "${ECHO_T}$ac_header_compiler" >&6 19204 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19205 echo "${ECHO_T}$ac_header_compiler" >&6; }
16707 19206
16708 # Is the header present? 19207 # Is the header present?
16709 echo "$as_me:$LINENO: checking sys/cpustats.h presence" >&5 19208 { echo "$as_me:$LINENO: checking sys/cpustats.h presence" >&5
16710 echo $ECHO_N "checking sys/cpustats.h presence... $ECHO_C" >&6 19209 echo $ECHO_N "checking sys/cpustats.h presence... $ECHO_C" >&6; }
16711 cat >conftest.$ac_ext <<_ACEOF 19210 cat >conftest.$ac_ext <<_ACEOF
16712 /* confdefs.h. */ 19211 /* confdefs.h. */
16713 _ACEOF 19212 _ACEOF
16714 cat confdefs.h >>conftest.$ac_ext 19213 cat confdefs.h >>conftest.$ac_ext
16715 cat >>conftest.$ac_ext <<_ACEOF 19214 cat >>conftest.$ac_ext <<_ACEOF
16716 /* end confdefs.h. */ 19215 /* end confdefs.h. */
16717 #include <sys/cpustats.h> 19216 #include <sys/cpustats.h>
16718 _ACEOF 19217 _ACEOF
16719 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 19218 if { (ac_try="$ac_cpp conftest.$ac_ext"
16720 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 19219 case "(($ac_try" in
19220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19221 *) ac_try_echo=$ac_try;;
19222 esac
19223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19224 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16721 ac_status=$? 19225 ac_status=$?
16722 grep -v '^ *+' conftest.er1 >conftest.err 19226 grep -v '^ *+' conftest.er1 >conftest.err
16723 rm -f conftest.er1 19227 rm -f conftest.er1
16724 cat conftest.err >&5 19228 cat conftest.err >&5
16725 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16739 echo "$as_me: failed program was:" >&5 19243 echo "$as_me: failed program was:" >&5
16740 sed 's/^/| /' conftest.$ac_ext >&5 19244 sed 's/^/| /' conftest.$ac_ext >&5
16741 19245
16742 ac_header_preproc=no 19246 ac_header_preproc=no
16743 fi 19247 fi
19248
16744 rm -f conftest.err conftest.$ac_ext 19249 rm -f conftest.err conftest.$ac_ext
16745 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 19250 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16746 echo "${ECHO_T}$ac_header_preproc" >&6 19251 echo "${ECHO_T}$ac_header_preproc" >&6; }
16747 19252
16748 # So? What about this header? 19253 # So? What about this header?
16749 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 19254 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16750 yes:no: ) 19255 yes:no: )
16751 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5 19256 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5
16765 echo "$as_me: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;} 19270 echo "$as_me: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;}
16766 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&5 19271 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&5
16767 echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;} 19272 echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;}
16768 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&5 19273 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&5
16769 echo "$as_me: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&2;} 19274 echo "$as_me: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&2;}
16770 ( 19275
16771 cat <<\_ASBOX
16772 ## ------------------------------------------ ##
16773 ## Report this to the AC_PACKAGE_NAME lists. ##
16774 ## ------------------------------------------ ##
16775 _ASBOX
16776 ) |
16777 sed "s/^/$as_me: WARNING: /" >&2
16778 ;; 19276 ;;
16779 esac 19277 esac
16780 echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5 19278 { echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5
16781 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6 19279 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6; }
16782 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then 19280 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
16783 echo $ECHO_N "(cached) $ECHO_C" >&6 19281 echo $ECHO_N "(cached) $ECHO_C" >&6
16784 else 19282 else
16785 ac_cv_header_sys_cpustats_h=$ac_header_preproc 19283 ac_cv_header_sys_cpustats_h=$ac_header_preproc
16786 fi 19284 fi
16787 echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5 19285 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
16788 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6 19286 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6; }
16789 19287
16790 fi 19288 fi
16791 if test $ac_cv_header_sys_cpustats_h = yes; then 19289 if test $ac_cv_header_sys_cpustats_h = yes; then
16792 ac_have_func=yes; cat >>confdefs.h <<\_ACEOF 19290 ac_have_func=yes; cat >>confdefs.h <<\_ACEOF
16793 #define UMAX 1 19291 #define UMAX 1
16801 if test $ac_have_func = no; then 19299 if test $ac_have_func = no; then
16802 19300
16803 for ac_header in mach/mach.h 19301 for ac_header in mach/mach.h
16804 do 19302 do
16805 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 19303 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16806 if eval "test \"\${$as_ac_Header+set}\" = set"; then 19304 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16807 echo "$as_me:$LINENO: checking for $ac_header" >&5 19305 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16808 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 19306 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16809 if eval "test \"\${$as_ac_Header+set}\" = set"; then 19307 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16810 echo $ECHO_N "(cached) $ECHO_C" >&6 19308 echo $ECHO_N "(cached) $ECHO_C" >&6
16811 fi 19309 fi
16812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 19310 ac_res=`eval echo '${'$as_ac_Header'}'`
16813 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 19311 { echo "$as_me:$LINENO: result: $ac_res" >&5
19312 echo "${ECHO_T}$ac_res" >&6; }
16814 else 19313 else
16815 # Is the header compilable? 19314 # Is the header compilable?
16816 echo "$as_me:$LINENO: checking $ac_header usability" >&5 19315 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
16817 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 19316 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
16818 cat >conftest.$ac_ext <<_ACEOF 19317 cat >conftest.$ac_ext <<_ACEOF
16819 /* confdefs.h. */ 19318 /* confdefs.h. */
16820 _ACEOF 19319 _ACEOF
16821 cat confdefs.h >>conftest.$ac_ext 19320 cat confdefs.h >>conftest.$ac_ext
16822 cat >>conftest.$ac_ext <<_ACEOF 19321 cat >>conftest.$ac_ext <<_ACEOF
16823 /* end confdefs.h. */ 19322 /* end confdefs.h. */
16824 $ac_includes_default 19323 $ac_includes_default
16825 #include <$ac_header> 19324 #include <$ac_header>
16826 _ACEOF 19325 _ACEOF
16827 rm -f conftest.$ac_objext 19326 rm -f conftest.$ac_objext
16828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 19327 if { (ac_try="$ac_compile"
16829 (eval $ac_compile) 2>conftest.er1 19328 case "(($ac_try" in
19329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19330 *) ac_try_echo=$ac_try;;
19331 esac
19332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19333 (eval "$ac_compile") 2>conftest.er1
16830 ac_status=$? 19334 ac_status=$?
16831 grep -v '^ *+' conftest.er1 >conftest.err 19335 grep -v '^ *+' conftest.er1 >conftest.err
16832 rm -f conftest.er1 19336 rm -f conftest.er1
16833 cat conftest.err >&5 19337 cat conftest.err >&5
16834 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16835 (exit $ac_status); } && 19339 (exit $ac_status); } &&
16836 { ac_try='test -z "$ac_c_werror_flag" 19340 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16837 || test ! -s conftest.err' 19341 { (case "(($ac_try" in
16838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16839 (eval $ac_try) 2>&5 19343 *) ac_try_echo=$ac_try;;
19344 esac
19345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19346 (eval "$ac_try") 2>&5
16840 ac_status=$? 19347 ac_status=$?
16841 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16842 (exit $ac_status); }; } && 19349 (exit $ac_status); }; } &&
16843 { ac_try='test -s conftest.$ac_objext' 19350 { ac_try='test -s conftest.$ac_objext'
16844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19351 { (case "(($ac_try" in
16845 (eval $ac_try) 2>&5 19352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19353 *) ac_try_echo=$ac_try;;
19354 esac
19355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19356 (eval "$ac_try") 2>&5
16846 ac_status=$? 19357 ac_status=$?
16847 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16848 (exit $ac_status); }; }; then 19359 (exit $ac_status); }; }; then
16849 ac_header_compiler=yes 19360 ac_header_compiler=yes
16850 else 19361 else
16851 echo "$as_me: failed program was:" >&5 19362 echo "$as_me: failed program was:" >&5
16852 sed 's/^/| /' conftest.$ac_ext >&5 19363 sed 's/^/| /' conftest.$ac_ext >&5
16853 19364
16854 ac_header_compiler=no 19365 ac_header_compiler=no
16855 fi 19366 fi
16856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 19367
16857 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 19368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16858 echo "${ECHO_T}$ac_header_compiler" >&6 19369 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19370 echo "${ECHO_T}$ac_header_compiler" >&6; }
16859 19371
16860 # Is the header present? 19372 # Is the header present?
16861 echo "$as_me:$LINENO: checking $ac_header presence" >&5 19373 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
16862 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 19374 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
16863 cat >conftest.$ac_ext <<_ACEOF 19375 cat >conftest.$ac_ext <<_ACEOF
16864 /* confdefs.h. */ 19376 /* confdefs.h. */
16865 _ACEOF 19377 _ACEOF
16866 cat confdefs.h >>conftest.$ac_ext 19378 cat confdefs.h >>conftest.$ac_ext
16867 cat >>conftest.$ac_ext <<_ACEOF 19379 cat >>conftest.$ac_ext <<_ACEOF
16868 /* end confdefs.h. */ 19380 /* end confdefs.h. */
16869 #include <$ac_header> 19381 #include <$ac_header>
16870 _ACEOF 19382 _ACEOF
16871 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 19383 if { (ac_try="$ac_cpp conftest.$ac_ext"
16872 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 19384 case "(($ac_try" in
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_cpp conftest.$ac_ext") 2>conftest.er1
16873 ac_status=$? 19390 ac_status=$?
16874 grep -v '^ *+' conftest.er1 >conftest.err 19391 grep -v '^ *+' conftest.er1 >conftest.err
16875 rm -f conftest.er1 19392 rm -f conftest.er1
16876 cat conftest.err >&5 19393 cat conftest.err >&5
16877 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16891 echo "$as_me: failed program was:" >&5 19408 echo "$as_me: failed program was:" >&5
16892 sed 's/^/| /' conftest.$ac_ext >&5 19409 sed 's/^/| /' conftest.$ac_ext >&5
16893 19410
16894 ac_header_preproc=no 19411 ac_header_preproc=no
16895 fi 19412 fi
19413
16896 rm -f conftest.err conftest.$ac_ext 19414 rm -f conftest.err conftest.$ac_ext
16897 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 19415 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16898 echo "${ECHO_T}$ac_header_preproc" >&6 19416 echo "${ECHO_T}$ac_header_preproc" >&6; }
16899 19417
16900 # So? What about this header? 19418 # So? What about this header?
16901 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 19419 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16902 yes:no: ) 19420 yes:no: )
16903 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 19421 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16917 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 19435 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16918 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 19436 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16919 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 19437 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16920 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 19438 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16921 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 19439 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16922 ( 19440
16923 cat <<\_ASBOX
16924 ## ------------------------------------------ ##
16925 ## Report this to the AC_PACKAGE_NAME lists. ##
16926 ## ------------------------------------------ ##
16927 _ASBOX
16928 ) |
16929 sed "s/^/$as_me: WARNING: /" >&2
16930 ;; 19441 ;;
16931 esac 19442 esac
16932 echo "$as_me:$LINENO: checking for $ac_header" >&5 19443 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16933 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 19444 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16934 if eval "test \"\${$as_ac_Header+set}\" = set"; then 19445 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16935 echo $ECHO_N "(cached) $ECHO_C" >&6 19446 echo $ECHO_N "(cached) $ECHO_C" >&6
16936 else 19447 else
16937 eval "$as_ac_Header=\$ac_header_preproc" 19448 eval "$as_ac_Header=\$ac_header_preproc"
16938 fi 19449 fi
16939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 19450 ac_res=`eval echo '${'$as_ac_Header'}'`
16940 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 19451 { echo "$as_me:$LINENO: result: $ac_res" >&5
19452 echo "${ECHO_T}$ac_res" >&6; }
16941 19453
16942 fi 19454 fi
16943 if test `eval echo '${'$as_ac_Header'}'` = yes; then 19455 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16944 cat >>confdefs.h <<_ACEOF 19456 cat >>confdefs.h <<_ACEOF
16945 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 19457 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16953 19465
16954 19466
16955 for ac_header in nlist.h 19467 for ac_header in nlist.h
16956 do 19468 do
16957 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 19469 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16958 if eval "test \"\${$as_ac_Header+set}\" = set"; then 19470 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16959 echo "$as_me:$LINENO: checking for $ac_header" >&5 19471 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16960 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 19472 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16961 if eval "test \"\${$as_ac_Header+set}\" = set"; then 19473 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16962 echo $ECHO_N "(cached) $ECHO_C" >&6 19474 echo $ECHO_N "(cached) $ECHO_C" >&6
16963 fi 19475 fi
16964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 19476 ac_res=`eval echo '${'$as_ac_Header'}'`
16965 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 19477 { echo "$as_me:$LINENO: result: $ac_res" >&5
19478 echo "${ECHO_T}$ac_res" >&6; }
16966 else 19479 else
16967 # Is the header compilable? 19480 # Is the header compilable?
16968 echo "$as_me:$LINENO: checking $ac_header usability" >&5 19481 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
16969 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 19482 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
16970 cat >conftest.$ac_ext <<_ACEOF 19483 cat >conftest.$ac_ext <<_ACEOF
16971 /* confdefs.h. */ 19484 /* confdefs.h. */
16972 _ACEOF 19485 _ACEOF
16973 cat confdefs.h >>conftest.$ac_ext 19486 cat confdefs.h >>conftest.$ac_ext
16974 cat >>conftest.$ac_ext <<_ACEOF 19487 cat >>conftest.$ac_ext <<_ACEOF
16975 /* end confdefs.h. */ 19488 /* end confdefs.h. */
16976 $ac_includes_default 19489 $ac_includes_default
16977 #include <$ac_header> 19490 #include <$ac_header>
16978 _ACEOF 19491 _ACEOF
16979 rm -f conftest.$ac_objext 19492 rm -f conftest.$ac_objext
16980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 19493 if { (ac_try="$ac_compile"
16981 (eval $ac_compile) 2>conftest.er1 19494 case "(($ac_try" in
19495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19496 *) ac_try_echo=$ac_try;;
19497 esac
19498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19499 (eval "$ac_compile") 2>conftest.er1
16982 ac_status=$? 19500 ac_status=$?
16983 grep -v '^ *+' conftest.er1 >conftest.err 19501 grep -v '^ *+' conftest.er1 >conftest.err
16984 rm -f conftest.er1 19502 rm -f conftest.er1
16985 cat conftest.err >&5 19503 cat conftest.err >&5
16986 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16987 (exit $ac_status); } && 19505 (exit $ac_status); } &&
16988 { ac_try='test -z "$ac_c_werror_flag" 19506 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16989 || test ! -s conftest.err' 19507 { (case "(($ac_try" in
16990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16991 (eval $ac_try) 2>&5 19509 *) ac_try_echo=$ac_try;;
19510 esac
19511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19512 (eval "$ac_try") 2>&5
16992 ac_status=$? 19513 ac_status=$?
16993 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16994 (exit $ac_status); }; } && 19515 (exit $ac_status); }; } &&
16995 { ac_try='test -s conftest.$ac_objext' 19516 { ac_try='test -s conftest.$ac_objext'
16996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19517 { (case "(($ac_try" in
16997 (eval $ac_try) 2>&5 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_try") 2>&5
16998 ac_status=$? 19523 ac_status=$?
16999 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17000 (exit $ac_status); }; }; then 19525 (exit $ac_status); }; }; then
17001 ac_header_compiler=yes 19526 ac_header_compiler=yes
17002 else 19527 else
17003 echo "$as_me: failed program was:" >&5 19528 echo "$as_me: failed program was:" >&5
17004 sed 's/^/| /' conftest.$ac_ext >&5 19529 sed 's/^/| /' conftest.$ac_ext >&5
17005 19530
17006 ac_header_compiler=no 19531 ac_header_compiler=no
17007 fi 19532 fi
17008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 19533
17009 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 19534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17010 echo "${ECHO_T}$ac_header_compiler" >&6 19535 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19536 echo "${ECHO_T}$ac_header_compiler" >&6; }
17011 19537
17012 # Is the header present? 19538 # Is the header present?
17013 echo "$as_me:$LINENO: checking $ac_header presence" >&5 19539 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
17014 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 19540 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
17015 cat >conftest.$ac_ext <<_ACEOF 19541 cat >conftest.$ac_ext <<_ACEOF
17016 /* confdefs.h. */ 19542 /* confdefs.h. */
17017 _ACEOF 19543 _ACEOF
17018 cat confdefs.h >>conftest.$ac_ext 19544 cat confdefs.h >>conftest.$ac_ext
17019 cat >>conftest.$ac_ext <<_ACEOF 19545 cat >>conftest.$ac_ext <<_ACEOF
17020 /* end confdefs.h. */ 19546 /* end confdefs.h. */
17021 #include <$ac_header> 19547 #include <$ac_header>
17022 _ACEOF 19548 _ACEOF
17023 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 19549 if { (ac_try="$ac_cpp conftest.$ac_ext"
17024 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 19550 case "(($ac_try" in
19551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19552 *) ac_try_echo=$ac_try;;
19553 esac
19554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19555 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17025 ac_status=$? 19556 ac_status=$?
17026 grep -v '^ *+' conftest.er1 >conftest.err 19557 grep -v '^ *+' conftest.er1 >conftest.err
17027 rm -f conftest.er1 19558 rm -f conftest.er1
17028 cat conftest.err >&5 19559 cat conftest.err >&5
17029 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17043 echo "$as_me: failed program was:" >&5 19574 echo "$as_me: failed program was:" >&5
17044 sed 's/^/| /' conftest.$ac_ext >&5 19575 sed 's/^/| /' conftest.$ac_ext >&5
17045 19576
17046 ac_header_preproc=no 19577 ac_header_preproc=no
17047 fi 19578 fi
19579
17048 rm -f conftest.err conftest.$ac_ext 19580 rm -f conftest.err conftest.$ac_ext
17049 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 19581 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17050 echo "${ECHO_T}$ac_header_preproc" >&6 19582 echo "${ECHO_T}$ac_header_preproc" >&6; }
17051 19583
17052 # So? What about this header? 19584 # So? What about this header?
17053 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 19585 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17054 yes:no: ) 19586 yes:no: )
17055 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 19587 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17069 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 19601 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17070 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 19602 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17071 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 19603 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17072 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 19604 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17073 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 19605 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17074 ( 19606
17075 cat <<\_ASBOX
17076 ## ------------------------------------------ ##
17077 ## Report this to the AC_PACKAGE_NAME lists. ##
17078 ## ------------------------------------------ ##
17079 _ASBOX
17080 ) |
17081 sed "s/^/$as_me: WARNING: /" >&2
17082 ;; 19607 ;;
17083 esac 19608 esac
17084 echo "$as_me:$LINENO: checking for $ac_header" >&5 19609 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17085 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 19610 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17086 if eval "test \"\${$as_ac_Header+set}\" = set"; then 19611 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17087 echo $ECHO_N "(cached) $ECHO_C" >&6 19612 echo $ECHO_N "(cached) $ECHO_C" >&6
17088 else 19613 else
17089 eval "$as_ac_Header=\$ac_header_preproc" 19614 eval "$as_ac_Header=\$ac_header_preproc"
17090 fi 19615 fi
17091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 19616 ac_res=`eval echo '${'$as_ac_Header'}'`
17092 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 19617 { echo "$as_me:$LINENO: result: $ac_res" >&5
19618 echo "${ECHO_T}$ac_res" >&6; }
17093 19619
17094 fi 19620 fi
17095 if test `eval echo '${'$as_ac_Header'}'` = yes; then 19621 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17096 cat >>confdefs.h <<_ACEOF 19622 cat >>confdefs.h <<_ACEOF
17097 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 19623 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17098 _ACEOF 19624 _ACEOF
17099 echo "$as_me:$LINENO: checking for struct nlist.n_un.n_name" >&5 19625 { echo "$as_me:$LINENO: checking for struct nlist.n_un.n_name" >&5
17100 echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6 19626 echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6; }
17101 if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then 19627 if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then
17102 echo $ECHO_N "(cached) $ECHO_C" >&6 19628 echo $ECHO_N "(cached) $ECHO_C" >&6
17103 else 19629 else
17104 cat >conftest.$ac_ext <<_ACEOF 19630 cat >conftest.$ac_ext <<_ACEOF
17105 /* confdefs.h. */ 19631 /* confdefs.h. */
17118 ; 19644 ;
17119 return 0; 19645 return 0;
17120 } 19646 }
17121 _ACEOF 19647 _ACEOF
17122 rm -f conftest.$ac_objext 19648 rm -f conftest.$ac_objext
17123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 19649 if { (ac_try="$ac_compile"
17124 (eval $ac_compile) 2>conftest.er1 19650 case "(($ac_try" in
19651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19652 *) ac_try_echo=$ac_try;;
19653 esac
19654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19655 (eval "$ac_compile") 2>conftest.er1
17125 ac_status=$? 19656 ac_status=$?
17126 grep -v '^ *+' conftest.er1 >conftest.err 19657 grep -v '^ *+' conftest.er1 >conftest.err
17127 rm -f conftest.er1 19658 rm -f conftest.er1
17128 cat conftest.err >&5 19659 cat conftest.err >&5
17129 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17130 (exit $ac_status); } && 19661 (exit $ac_status); } &&
17131 { ac_try='test -z "$ac_c_werror_flag" 19662 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17132 || test ! -s conftest.err' 19663 { (case "(($ac_try" in
17133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17134 (eval $ac_try) 2>&5 19665 *) ac_try_echo=$ac_try;;
19666 esac
19667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19668 (eval "$ac_try") 2>&5
17135 ac_status=$? 19669 ac_status=$?
17136 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17137 (exit $ac_status); }; } && 19671 (exit $ac_status); }; } &&
17138 { ac_try='test -s conftest.$ac_objext' 19672 { ac_try='test -s conftest.$ac_objext'
17139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19673 { (case "(($ac_try" in
17140 (eval $ac_try) 2>&5 19674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19675 *) ac_try_echo=$ac_try;;
19676 esac
19677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19678 (eval "$ac_try") 2>&5
17141 ac_status=$? 19679 ac_status=$?
17142 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17143 (exit $ac_status); }; }; then 19681 (exit $ac_status); }; }; then
17144 ac_cv_member_struct_nlist_n_un_n_name=yes 19682 ac_cv_member_struct_nlist_n_un_n_name=yes
17145 else 19683 else
17146 echo "$as_me: failed program was:" >&5 19684 echo "$as_me: failed program was:" >&5
17147 sed 's/^/| /' conftest.$ac_ext >&5 19685 sed 's/^/| /' conftest.$ac_ext >&5
17148 19686
17149 cat >conftest.$ac_ext <<_ACEOF 19687 cat >conftest.$ac_ext <<_ACEOF
17150 /* confdefs.h. */ 19688 /* confdefs.h. */
17151 _ACEOF 19689 _ACEOF
17152 cat confdefs.h >>conftest.$ac_ext 19690 cat confdefs.h >>conftest.$ac_ext
17153 cat >>conftest.$ac_ext <<_ACEOF 19691 cat >>conftest.$ac_ext <<_ACEOF
17154 /* end confdefs.h. */ 19692 /* end confdefs.h. */
17163 ; 19701 ;
17164 return 0; 19702 return 0;
17165 } 19703 }
17166 _ACEOF 19704 _ACEOF
17167 rm -f conftest.$ac_objext 19705 rm -f conftest.$ac_objext
17168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 19706 if { (ac_try="$ac_compile"
17169 (eval $ac_compile) 2>conftest.er1 19707 case "(($ac_try" in
19708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19709 *) ac_try_echo=$ac_try;;
19710 esac
19711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19712 (eval "$ac_compile") 2>conftest.er1
17170 ac_status=$? 19713 ac_status=$?
17171 grep -v '^ *+' conftest.er1 >conftest.err 19714 grep -v '^ *+' conftest.er1 >conftest.err
17172 rm -f conftest.er1 19715 rm -f conftest.er1
17173 cat conftest.err >&5 19716 cat conftest.err >&5
17174 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17175 (exit $ac_status); } && 19718 (exit $ac_status); } &&
17176 { ac_try='test -z "$ac_c_werror_flag" 19719 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17177 || test ! -s conftest.err' 19720 { (case "(($ac_try" in
17178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17179 (eval $ac_try) 2>&5 19722 *) ac_try_echo=$ac_try;;
19723 esac
19724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19725 (eval "$ac_try") 2>&5
17180 ac_status=$? 19726 ac_status=$?
17181 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17182 (exit $ac_status); }; } && 19728 (exit $ac_status); }; } &&
17183 { ac_try='test -s conftest.$ac_objext' 19729 { ac_try='test -s conftest.$ac_objext'
17184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19730 { (case "(($ac_try" in
17185 (eval $ac_try) 2>&5 19731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19732 *) ac_try_echo=$ac_try;;
19733 esac
19734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19735 (eval "$ac_try") 2>&5
17186 ac_status=$? 19736 ac_status=$?
17187 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17188 (exit $ac_status); }; }; then 19738 (exit $ac_status); }; }; then
17189 ac_cv_member_struct_nlist_n_un_n_name=yes 19739 ac_cv_member_struct_nlist_n_un_n_name=yes
17190 else 19740 else
17191 echo "$as_me: failed program was:" >&5 19741 echo "$as_me: failed program was:" >&5
17192 sed 's/^/| /' conftest.$ac_ext >&5 19742 sed 's/^/| /' conftest.$ac_ext >&5
17193 19743
17194 ac_cv_member_struct_nlist_n_un_n_name=no 19744 ac_cv_member_struct_nlist_n_un_n_name=no
17195 fi 19745 fi
17196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 19746
17197 fi 19747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 19748 fi
17199 fi 19749
17200 echo "$as_me:$LINENO: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5 19750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17201 echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6 19751 fi
19752 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5
19753 echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6; }
17202 if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then 19754 if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then
17203 19755
17204 cat >>confdefs.h <<_ACEOF 19756 cat >>confdefs.h <<_ACEOF
17205 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 19757 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1
17206 _ACEOF 19758 _ACEOF
17220 fi 19772 fi
17221 done 19773 done
17222 19774
17223 19775
17224 # Some definitions of getloadavg require that the program be installed setgid. 19776 # Some definitions of getloadavg require that the program be installed setgid.
17225 echo "$as_me:$LINENO: checking whether getloadavg requires setgid" >&5 19777 { echo "$as_me:$LINENO: checking whether getloadavg requires setgid" >&5
17226 echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6 19778 echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6; }
17227 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then 19779 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then
17228 echo $ECHO_N "(cached) $ECHO_C" >&6 19780 echo $ECHO_N "(cached) $ECHO_C" >&6
17229 else 19781 else
17230 cat >conftest.$ac_ext <<_ACEOF 19782 cat >conftest.$ac_ext <<_ACEOF
17231 /* confdefs.h. */ 19783 /* confdefs.h. */
17245 ac_cv_func_getloadavg_setgid=no 19797 ac_cv_func_getloadavg_setgid=no
17246 fi 19798 fi
17247 rm -f conftest* 19799 rm -f conftest*
17248 19800
17249 fi 19801 fi
17250 echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg_setgid" >&5 19802 { echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg_setgid" >&5
17251 echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6 19803 echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6; }
17252 if test $ac_cv_func_getloadavg_setgid = yes; then 19804 if test $ac_cv_func_getloadavg_setgid = yes; then
17253 NEED_SETGID=true 19805 NEED_SETGID=true
17254 19806
17255 cat >>confdefs.h <<\_ACEOF 19807 cat >>confdefs.h <<\_ACEOF
17256 #define GETLOADAVG_PRIVILEGED 1 19808 #define GETLOADAVG_PRIVILEGED 1
17259 else 19811 else
17260 NEED_SETGID=false 19812 NEED_SETGID=false
17261 fi 19813 fi
17262 19814
17263 if test $ac_cv_func_getloadavg_setgid = yes; then 19815 if test $ac_cv_func_getloadavg_setgid = yes; then
17264 echo "$as_me:$LINENO: checking group of /dev/kmem" >&5 19816 { echo "$as_me:$LINENO: checking group of /dev/kmem" >&5
17265 echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6 19817 echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6; }
17266 if test "${ac_cv_group_kmem+set}" = set; then 19818 if test "${ac_cv_group_kmem+set}" = set; then
17267 echo $ECHO_N "(cached) $ECHO_C" >&6 19819 echo $ECHO_N "(cached) $ECHO_C" >&6
17268 else 19820 else
17269 # On Solaris, /dev/kmem is a symlink. Get info on the real file. 19821 # On Solaris, /dev/kmem is a symlink. Get info on the real file.
17270 ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null` 19822 ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null`
17274 | sed -ne 's/[ ][ ]*/ /g; 19826 | sed -ne 's/[ ][ ]*/ /g;
17275 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/; 19827 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/;
17276 / /s/.* //;p;'` 19828 / /s/.* //;p;'`
17277 19829
17278 fi 19830 fi
17279 echo "$as_me:$LINENO: result: $ac_cv_group_kmem" >&5 19831 { echo "$as_me:$LINENO: result: $ac_cv_group_kmem" >&5
17280 echo "${ECHO_T}$ac_cv_group_kmem" >&6 19832 echo "${ECHO_T}$ac_cv_group_kmem" >&6; }
17281 KMEM_GROUP=$ac_cv_group_kmem 19833 KMEM_GROUP=$ac_cv_group_kmem
17282 fi 19834 fi
17283 if test "x$ac_save_LIBS" = x; then 19835 if test "x$ac_save_LIBS" = x; then
17284 GETLOADAVG_LIBS=$LIBS 19836 GETLOADAVG_LIBS=$LIBS
17285 else 19837 else
17287 fi 19839 fi
17288 LIBS=$ac_save_LIBS 19840 LIBS=$ac_save_LIBS
17289 19841
17290 19842
17291 19843
17292 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5 19844 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
17293 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6 19845 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
17294 if test "${ac_cv_sys_largefile_source+set}" = set; then 19846 if test "${ac_cv_sys_largefile_source+set}" = set; then
17295 echo $ECHO_N "(cached) $ECHO_C" >&6 19847 echo $ECHO_N "(cached) $ECHO_C" >&6
17296 else 19848 else
17297 while :; do 19849 while :; do
17298 ac_cv_sys_largefile_source=no 19850 ac_cv_sys_largefile_source=no
17310 ; 19862 ;
17311 return 0; 19863 return 0;
17312 } 19864 }
17313 _ACEOF 19865 _ACEOF
17314 rm -f conftest.$ac_objext 19866 rm -f conftest.$ac_objext
17315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 19867 if { (ac_try="$ac_compile"
17316 (eval $ac_compile) 2>conftest.er1 19868 case "(($ac_try" in
19869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19870 *) ac_try_echo=$ac_try;;
19871 esac
19872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19873 (eval "$ac_compile") 2>conftest.er1
17317 ac_status=$? 19874 ac_status=$?
17318 grep -v '^ *+' conftest.er1 >conftest.err 19875 grep -v '^ *+' conftest.er1 >conftest.err
17319 rm -f conftest.er1 19876 rm -f conftest.er1
17320 cat conftest.err >&5 19877 cat conftest.err >&5
17321 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17322 (exit $ac_status); } && 19879 (exit $ac_status); } &&
17323 { ac_try='test -z "$ac_c_werror_flag" 19880 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17324 || test ! -s conftest.err' 19881 { (case "(($ac_try" in
17325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17326 (eval $ac_try) 2>&5 19883 *) ac_try_echo=$ac_try;;
19884 esac
19885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19886 (eval "$ac_try") 2>&5
17327 ac_status=$? 19887 ac_status=$?
17328 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17329 (exit $ac_status); }; } && 19889 (exit $ac_status); }; } &&
17330 { ac_try='test -s conftest.$ac_objext' 19890 { ac_try='test -s conftest.$ac_objext'
17331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19891 { (case "(($ac_try" in
17332 (eval $ac_try) 2>&5 19892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19893 *) ac_try_echo=$ac_try;;
19894 esac
19895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19896 (eval "$ac_try") 2>&5
17333 ac_status=$? 19897 ac_status=$?
17334 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17335 (exit $ac_status); }; }; then 19899 (exit $ac_status); }; }; then
17336 break 19900 break
17337 else 19901 else
17338 echo "$as_me: failed program was:" >&5 19902 echo "$as_me: failed program was:" >&5
17339 sed 's/^/| /' conftest.$ac_ext >&5 19903 sed 's/^/| /' conftest.$ac_ext >&5
17340 19904
17341 fi 19905
17342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 19906 fi
19907
19908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17343 cat >conftest.$ac_ext <<_ACEOF 19909 cat >conftest.$ac_ext <<_ACEOF
17344 /* confdefs.h. */ 19910 /* confdefs.h. */
17345 _ACEOF 19911 _ACEOF
17346 cat confdefs.h >>conftest.$ac_ext 19912 cat confdefs.h >>conftest.$ac_ext
17347 cat >>conftest.$ac_ext <<_ACEOF 19913 cat >>conftest.$ac_ext <<_ACEOF
17355 ; 19921 ;
17356 return 0; 19922 return 0;
17357 } 19923 }
17358 _ACEOF 19924 _ACEOF
17359 rm -f conftest.$ac_objext 19925 rm -f conftest.$ac_objext
17360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 19926 if { (ac_try="$ac_compile"
17361 (eval $ac_compile) 2>conftest.er1 19927 case "(($ac_try" in
19928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19929 *) ac_try_echo=$ac_try;;
19930 esac
19931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19932 (eval "$ac_compile") 2>conftest.er1
17362 ac_status=$? 19933 ac_status=$?
17363 grep -v '^ *+' conftest.er1 >conftest.err 19934 grep -v '^ *+' conftest.er1 >conftest.err
17364 rm -f conftest.er1 19935 rm -f conftest.er1
17365 cat conftest.err >&5 19936 cat conftest.err >&5
17366 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17367 (exit $ac_status); } && 19938 (exit $ac_status); } &&
17368 { ac_try='test -z "$ac_c_werror_flag" 19939 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17369 || test ! -s conftest.err' 19940 { (case "(($ac_try" in
17370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17371 (eval $ac_try) 2>&5 19942 *) ac_try_echo=$ac_try;;
19943 esac
19944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19945 (eval "$ac_try") 2>&5
17372 ac_status=$? 19946 ac_status=$?
17373 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17374 (exit $ac_status); }; } && 19948 (exit $ac_status); }; } &&
17375 { ac_try='test -s conftest.$ac_objext' 19949 { ac_try='test -s conftest.$ac_objext'
17376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19950 { (case "(($ac_try" in
17377 (eval $ac_try) 2>&5 19951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19952 *) ac_try_echo=$ac_try;;
19953 esac
19954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19955 (eval "$ac_try") 2>&5
17378 ac_status=$? 19956 ac_status=$?
17379 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17380 (exit $ac_status); }; }; then 19958 (exit $ac_status); }; }; then
17381 ac_cv_sys_largefile_source=1; break 19959 ac_cv_sys_largefile_source=1; break
17382 else 19960 else
17383 echo "$as_me: failed program was:" >&5 19961 echo "$as_me: failed program was:" >&5
17384 sed 's/^/| /' conftest.$ac_ext >&5 19962 sed 's/^/| /' conftest.$ac_ext >&5
17385 19963
17386 fi 19964
17387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 19965 fi
19966
19967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17388 break 19968 break
17389 done 19969 done
17390 fi 19970 fi
17391 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5 19971 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
17392 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6 19972 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
17393 if test "$ac_cv_sys_largefile_source" != no; then 19973 if test "$ac_cv_sys_largefile_source" != no; then
17394 19974
17395 cat >>confdefs.h <<_ACEOF 19975 cat >>confdefs.h <<_ACEOF
17396 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source 19976 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
17397 _ACEOF 19977 _ACEOF
17400 rm -f conftest* 19980 rm -f conftest*
17401 19981
17402 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug 19982 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
17403 # in glibc 2.1.3, but that breaks too many other things. 19983 # in glibc 2.1.3, but that breaks too many other things.
17404 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. 19984 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
17405 echo "$as_me:$LINENO: checking for fseeko" >&5 19985 { echo "$as_me:$LINENO: checking for fseeko" >&5
17406 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6 19986 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6; }
17407 if test "${ac_cv_func_fseeko+set}" = set; then 19987 if test "${ac_cv_func_fseeko+set}" = set; then
17408 echo $ECHO_N "(cached) $ECHO_C" >&6 19988 echo $ECHO_N "(cached) $ECHO_C" >&6
17409 else 19989 else
17410 cat >conftest.$ac_ext <<_ACEOF 19990 cat >conftest.$ac_ext <<_ACEOF
17411 /* confdefs.h. */ 19991 /* confdefs.h. */
17421 ; 20001 ;
17422 return 0; 20002 return 0;
17423 } 20003 }
17424 _ACEOF 20004 _ACEOF
17425 rm -f conftest.$ac_objext conftest$ac_exeext 20005 rm -f conftest.$ac_objext conftest$ac_exeext
17426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 20006 if { (ac_try="$ac_link"
17427 (eval $ac_link) 2>conftest.er1 20007 case "(($ac_try" in
20008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20009 *) ac_try_echo=$ac_try;;
20010 esac
20011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20012 (eval "$ac_link") 2>conftest.er1
17428 ac_status=$? 20013 ac_status=$?
17429 grep -v '^ *+' conftest.er1 >conftest.err 20014 grep -v '^ *+' conftest.er1 >conftest.err
17430 rm -f conftest.er1 20015 rm -f conftest.er1
17431 cat conftest.err >&5 20016 cat conftest.err >&5
17432 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17433 (exit $ac_status); } && 20018 (exit $ac_status); } &&
17434 { ac_try='test -z "$ac_c_werror_flag" 20019 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17435 || test ! -s conftest.err' 20020 { (case "(($ac_try" in
17436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17437 (eval $ac_try) 2>&5 20022 *) ac_try_echo=$ac_try;;
20023 esac
20024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20025 (eval "$ac_try") 2>&5
17438 ac_status=$? 20026 ac_status=$?
17439 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17440 (exit $ac_status); }; } && 20028 (exit $ac_status); }; } &&
17441 { ac_try='test -s conftest$ac_exeext' 20029 { ac_try='test -s conftest$ac_exeext'
17442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20030 { (case "(($ac_try" in
17443 (eval $ac_try) 2>&5 20031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20032 *) ac_try_echo=$ac_try;;
20033 esac
20034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20035 (eval "$ac_try") 2>&5
17444 ac_status=$? 20036 ac_status=$?
17445 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17446 (exit $ac_status); }; }; then 20038 (exit $ac_status); }; }; then
17447 ac_cv_func_fseeko=yes 20039 ac_cv_func_fseeko=yes
17448 else 20040 else
17449 echo "$as_me: failed program was:" >&5 20041 echo "$as_me: failed program was:" >&5
17450 sed 's/^/| /' conftest.$ac_ext >&5 20042 sed 's/^/| /' conftest.$ac_ext >&5
17451 20043
17452 ac_cv_func_fseeko=no 20044 ac_cv_func_fseeko=no
17453 fi 20045 fi
17454 rm -f conftest.err conftest.$ac_objext \ 20046
20047 rm -f core conftest.err conftest.$ac_objext \
17455 conftest$ac_exeext conftest.$ac_ext 20048 conftest$ac_exeext conftest.$ac_ext
17456 fi 20049 fi
17457 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5 20050 { echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
17458 echo "${ECHO_T}$ac_cv_func_fseeko" >&6 20051 echo "${ECHO_T}$ac_cv_func_fseeko" >&6; }
17459 if test $ac_cv_func_fseeko = yes; then 20052 if test $ac_cv_func_fseeko = yes; then
17460 20053
17461 cat >>confdefs.h <<\_ACEOF 20054 cat >>confdefs.h <<\_ACEOF
17462 #define HAVE_FSEEKO 1 20055 #define HAVE_FSEEKO 1
17463 _ACEOF 20056 _ACEOF
17490 GETOPT_H= 20083 GETOPT_H=
17491 20084
17492 for ac_header in getopt.h 20085 for ac_header in getopt.h
17493 do 20086 do
17494 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 20087 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17495 if eval "test \"\${$as_ac_Header+set}\" = set"; then 20088 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17496 echo "$as_me:$LINENO: checking for $ac_header" >&5 20089 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 20090 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17498 if eval "test \"\${$as_ac_Header+set}\" = set"; then 20091 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17499 echo $ECHO_N "(cached) $ECHO_C" >&6 20092 echo $ECHO_N "(cached) $ECHO_C" >&6
17500 fi 20093 fi
17501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 20094 ac_res=`eval echo '${'$as_ac_Header'}'`
17502 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 20095 { echo "$as_me:$LINENO: result: $ac_res" >&5
20096 echo "${ECHO_T}$ac_res" >&6; }
17503 else 20097 else
17504 # Is the header compilable? 20098 # Is the header compilable?
17505 echo "$as_me:$LINENO: checking $ac_header usability" >&5 20099 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
17506 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 20100 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
17507 cat >conftest.$ac_ext <<_ACEOF 20101 cat >conftest.$ac_ext <<_ACEOF
17508 /* confdefs.h. */ 20102 /* confdefs.h. */
17509 _ACEOF 20103 _ACEOF
17510 cat confdefs.h >>conftest.$ac_ext 20104 cat confdefs.h >>conftest.$ac_ext
17511 cat >>conftest.$ac_ext <<_ACEOF 20105 cat >>conftest.$ac_ext <<_ACEOF
17512 /* end confdefs.h. */ 20106 /* end confdefs.h. */
17513 $ac_includes_default 20107 $ac_includes_default
17514 #include <$ac_header> 20108 #include <$ac_header>
17515 _ACEOF 20109 _ACEOF
17516 rm -f conftest.$ac_objext 20110 rm -f conftest.$ac_objext
17517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 20111 if { (ac_try="$ac_compile"
17518 (eval $ac_compile) 2>conftest.er1 20112 case "(($ac_try" in
20113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20114 *) ac_try_echo=$ac_try;;
20115 esac
20116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20117 (eval "$ac_compile") 2>conftest.er1
17519 ac_status=$? 20118 ac_status=$?
17520 grep -v '^ *+' conftest.er1 >conftest.err 20119 grep -v '^ *+' conftest.er1 >conftest.err
17521 rm -f conftest.er1 20120 rm -f conftest.er1
17522 cat conftest.err >&5 20121 cat conftest.err >&5
17523 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17524 (exit $ac_status); } && 20123 (exit $ac_status); } &&
17525 { ac_try='test -z "$ac_c_werror_flag" 20124 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17526 || test ! -s conftest.err' 20125 { (case "(($ac_try" in
17527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17528 (eval $ac_try) 2>&5 20127 *) ac_try_echo=$ac_try;;
20128 esac
20129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20130 (eval "$ac_try") 2>&5
17529 ac_status=$? 20131 ac_status=$?
17530 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17531 (exit $ac_status); }; } && 20133 (exit $ac_status); }; } &&
17532 { ac_try='test -s conftest.$ac_objext' 20134 { ac_try='test -s conftest.$ac_objext'
17533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20135 { (case "(($ac_try" in
17534 (eval $ac_try) 2>&5 20136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20137 *) ac_try_echo=$ac_try;;
20138 esac
20139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20140 (eval "$ac_try") 2>&5
17535 ac_status=$? 20141 ac_status=$?
17536 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17537 (exit $ac_status); }; }; then 20143 (exit $ac_status); }; }; then
17538 ac_header_compiler=yes 20144 ac_header_compiler=yes
17539 else 20145 else
17540 echo "$as_me: failed program was:" >&5 20146 echo "$as_me: failed program was:" >&5
17541 sed 's/^/| /' conftest.$ac_ext >&5 20147 sed 's/^/| /' conftest.$ac_ext >&5
17542 20148
17543 ac_header_compiler=no 20149 ac_header_compiler=no
17544 fi 20150 fi
17545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 20151
17546 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 20152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17547 echo "${ECHO_T}$ac_header_compiler" >&6 20153 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20154 echo "${ECHO_T}$ac_header_compiler" >&6; }
17548 20155
17549 # Is the header present? 20156 # Is the header present?
17550 echo "$as_me:$LINENO: checking $ac_header presence" >&5 20157 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
17551 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 20158 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
17552 cat >conftest.$ac_ext <<_ACEOF 20159 cat >conftest.$ac_ext <<_ACEOF
17553 /* confdefs.h. */ 20160 /* confdefs.h. */
17554 _ACEOF 20161 _ACEOF
17555 cat confdefs.h >>conftest.$ac_ext 20162 cat confdefs.h >>conftest.$ac_ext
17556 cat >>conftest.$ac_ext <<_ACEOF 20163 cat >>conftest.$ac_ext <<_ACEOF
17557 /* end confdefs.h. */ 20164 /* end confdefs.h. */
17558 #include <$ac_header> 20165 #include <$ac_header>
17559 _ACEOF 20166 _ACEOF
17560 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 20167 if { (ac_try="$ac_cpp conftest.$ac_ext"
17561 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 20168 case "(($ac_try" in
20169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20170 *) ac_try_echo=$ac_try;;
20171 esac
20172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20173 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17562 ac_status=$? 20174 ac_status=$?
17563 grep -v '^ *+' conftest.er1 >conftest.err 20175 grep -v '^ *+' conftest.er1 >conftest.err
17564 rm -f conftest.er1 20176 rm -f conftest.er1
17565 cat conftest.err >&5 20177 cat conftest.err >&5
17566 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17580 echo "$as_me: failed program was:" >&5 20192 echo "$as_me: failed program was:" >&5
17581 sed 's/^/| /' conftest.$ac_ext >&5 20193 sed 's/^/| /' conftest.$ac_ext >&5
17582 20194
17583 ac_header_preproc=no 20195 ac_header_preproc=no
17584 fi 20196 fi
20197
17585 rm -f conftest.err conftest.$ac_ext 20198 rm -f conftest.err conftest.$ac_ext
17586 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 20199 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17587 echo "${ECHO_T}$ac_header_preproc" >&6 20200 echo "${ECHO_T}$ac_header_preproc" >&6; }
17588 20201
17589 # So? What about this header? 20202 # So? What about this header?
17590 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 20203 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17591 yes:no: ) 20204 yes:no: )
17592 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 20205 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17606 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 20219 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17607 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 20220 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17608 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 20221 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17609 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 20222 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17610 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 20223 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17611 ( 20224
17612 cat <<\_ASBOX
17613 ## ------------------------------------------ ##
17614 ## Report this to the AC_PACKAGE_NAME lists. ##
17615 ## ------------------------------------------ ##
17616 _ASBOX
17617 ) |
17618 sed "s/^/$as_me: WARNING: /" >&2
17619 ;; 20225 ;;
17620 esac 20226 esac
17621 echo "$as_me:$LINENO: checking for $ac_header" >&5 20227 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17622 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 20228 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17623 if eval "test \"\${$as_ac_Header+set}\" = set"; then 20229 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17624 echo $ECHO_N "(cached) $ECHO_C" >&6 20230 echo $ECHO_N "(cached) $ECHO_C" >&6
17625 else 20231 else
17626 eval "$as_ac_Header=\$ac_header_preproc" 20232 eval "$as_ac_Header=\$ac_header_preproc"
17627 fi 20233 fi
17628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 20234 ac_res=`eval echo '${'$as_ac_Header'}'`
17629 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 20235 { echo "$as_me:$LINENO: result: $ac_res" >&5
20236 echo "${ECHO_T}$ac_res" >&6; }
17630 20237
17631 fi 20238 fi
17632 if test `eval echo '${'$as_ac_Header'}'` = yes; then 20239 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17633 cat >>confdefs.h <<_ACEOF 20240 cat >>confdefs.h <<_ACEOF
17634 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 20241 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17643 if test -z "$GETOPT_H"; then 20250 if test -z "$GETOPT_H"; then
17644 20251
17645 for ac_func in getopt_long_only 20252 for ac_func in getopt_long_only
17646 do 20253 do
17647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 20254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17648 echo "$as_me:$LINENO: checking for $ac_func" >&5 20255 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 20256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17650 if eval "test \"\${$as_ac_var+set}\" = set"; then 20257 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17651 echo $ECHO_N "(cached) $ECHO_C" >&6 20258 echo $ECHO_N "(cached) $ECHO_C" >&6
17652 else 20259 else
17653 cat >conftest.$ac_ext <<_ACEOF 20260 cat >conftest.$ac_ext <<_ACEOF
17654 /* confdefs.h. */ 20261 /* confdefs.h. */
17655 _ACEOF 20262 _ACEOF
17671 # include <assert.h> 20278 # include <assert.h>
17672 #endif 20279 #endif
17673 20280
17674 #undef $ac_func 20281 #undef $ac_func
17675 20282
17676 /* Override any gcc2 internal prototype to avoid an error. */ 20283 /* Override any GCC internal prototype to avoid an error.
20284 Use char because int might match the return type of a GCC
20285 builtin and then its argument prototype would still apply. */
17677 #ifdef __cplusplus 20286 #ifdef __cplusplus
17678 extern "C" 20287 extern "C"
17679 {
17680 #endif 20288 #endif
17681 /* We use char because int might match the return type of a gcc2
17682 builtin and then its argument prototype would still apply. */
17683 char $ac_func (); 20289 char $ac_func ();
17684 /* The GNU C library defines this for functions which it implements 20290 /* The GNU C library defines this for functions which it implements
17685 to always fail with ENOSYS. Some functions are actually named 20291 to always fail with ENOSYS. Some functions are actually named
17686 something starting with __ and the normal name is an alias. */ 20292 something starting with __ and the normal name is an alias. */
17687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 20293 #if defined __stub_$ac_func || defined __stub___$ac_func
17688 choke me 20294 choke me
17689 #else
17690 char (*f) () = $ac_func;
17691 #endif
17692 #ifdef __cplusplus
17693 }
17694 #endif 20295 #endif
17695 20296
17696 int 20297 int
17697 main () 20298 main ()
17698 { 20299 {
17699 return f != $ac_func; 20300 return $ac_func ();
17700 ; 20301 ;
17701 return 0; 20302 return 0;
17702 } 20303 }
17703 _ACEOF 20304 _ACEOF
17704 rm -f conftest.$ac_objext conftest$ac_exeext 20305 rm -f conftest.$ac_objext conftest$ac_exeext
17705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 20306 if { (ac_try="$ac_link"
17706 (eval $ac_link) 2>conftest.er1 20307 case "(($ac_try" in
20308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20309 *) ac_try_echo=$ac_try;;
20310 esac
20311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20312 (eval "$ac_link") 2>conftest.er1
17707 ac_status=$? 20313 ac_status=$?
17708 grep -v '^ *+' conftest.er1 >conftest.err 20314 grep -v '^ *+' conftest.er1 >conftest.err
17709 rm -f conftest.er1 20315 rm -f conftest.er1
17710 cat conftest.err >&5 20316 cat conftest.err >&5
17711 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17712 (exit $ac_status); } && 20318 (exit $ac_status); } &&
17713 { ac_try='test -z "$ac_c_werror_flag" 20319 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17714 || test ! -s conftest.err' 20320 { (case "(($ac_try" in
17715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17716 (eval $ac_try) 2>&5 20322 *) ac_try_echo=$ac_try;;
20323 esac
20324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20325 (eval "$ac_try") 2>&5
17717 ac_status=$? 20326 ac_status=$?
17718 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17719 (exit $ac_status); }; } && 20328 (exit $ac_status); }; } &&
17720 { ac_try='test -s conftest$ac_exeext' 20329 { ac_try='test -s conftest$ac_exeext'
17721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20330 { (case "(($ac_try" in
17722 (eval $ac_try) 2>&5 20331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20332 *) ac_try_echo=$ac_try;;
20333 esac
20334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20335 (eval "$ac_try") 2>&5
17723 ac_status=$? 20336 ac_status=$?
17724 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17725 (exit $ac_status); }; }; then 20338 (exit $ac_status); }; }; then
17726 eval "$as_ac_var=yes" 20339 eval "$as_ac_var=yes"
17727 else 20340 else
17728 echo "$as_me: failed program was:" >&5 20341 echo "$as_me: failed program was:" >&5
17729 sed 's/^/| /' conftest.$ac_ext >&5 20342 sed 's/^/| /' conftest.$ac_ext >&5
17730 20343
17731 eval "$as_ac_var=no" 20344 eval "$as_ac_var=no"
17732 fi 20345 fi
17733 rm -f conftest.err conftest.$ac_objext \ 20346
20347 rm -f core conftest.err conftest.$ac_objext \
17734 conftest$ac_exeext conftest.$ac_ext 20348 conftest$ac_exeext conftest.$ac_ext
17735 fi 20349 fi
17736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 20350 ac_res=`eval echo '${'$as_ac_var'}'`
17737 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 20351 { echo "$as_me:$LINENO: result: $ac_res" >&5
20352 echo "${ECHO_T}$ac_res" >&6; }
17738 if test `eval echo '${'$as_ac_var'}'` = yes; then 20353 if test `eval echo '${'$as_ac_var'}'` = yes; then
17739 cat >>confdefs.h <<_ACEOF 20354 cat >>confdefs.h <<_ACEOF
17740 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 20355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17741 _ACEOF 20356 _ACEOF
17742 20357
17746 done 20361 done
17747 20362
17748 fi 20363 fi
17749 20364
17750 if test -z "$GETOPT_H"; then 20365 if test -z "$GETOPT_H"; then
17751 echo "$as_me:$LINENO: checking whether optreset is declared" >&5 20366 { echo "$as_me:$LINENO: checking whether optreset is declared" >&5
17752 echo $ECHO_N "checking whether optreset is declared... $ECHO_C" >&6 20367 echo $ECHO_N "checking whether optreset is declared... $ECHO_C" >&6; }
17753 if test "${ac_cv_have_decl_optreset+set}" = set; then 20368 if test "${ac_cv_have_decl_optreset+set}" = set; then
17754 echo $ECHO_N "(cached) $ECHO_C" >&6 20369 echo $ECHO_N "(cached) $ECHO_C" >&6
17755 else 20370 else
17756 cat >conftest.$ac_ext <<_ACEOF 20371 cat >conftest.$ac_ext <<_ACEOF
17757 /* confdefs.h. */ 20372 /* confdefs.h. */
17764 int 20379 int
17765 main () 20380 main ()
17766 { 20381 {
17767 #ifndef optreset 20382 #ifndef optreset
17768 char *p = (char *) optreset; 20383 char *p = (char *) optreset;
20384 return !p;
17769 #endif 20385 #endif
17770 20386
17771 ; 20387 ;
17772 return 0; 20388 return 0;
17773 } 20389 }
17774 _ACEOF 20390 _ACEOF
17775 rm -f conftest.$ac_objext 20391 rm -f conftest.$ac_objext
17776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 20392 if { (ac_try="$ac_compile"
17777 (eval $ac_compile) 2>conftest.er1 20393 case "(($ac_try" in
20394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20395 *) ac_try_echo=$ac_try;;
20396 esac
20397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20398 (eval "$ac_compile") 2>conftest.er1
17778 ac_status=$? 20399 ac_status=$?
17779 grep -v '^ *+' conftest.er1 >conftest.err 20400 grep -v '^ *+' conftest.er1 >conftest.err
17780 rm -f conftest.er1 20401 rm -f conftest.er1
17781 cat conftest.err >&5 20402 cat conftest.err >&5
17782 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17783 (exit $ac_status); } && 20404 (exit $ac_status); } &&
17784 { ac_try='test -z "$ac_c_werror_flag" 20405 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17785 || test ! -s conftest.err' 20406 { (case "(($ac_try" in
17786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17787 (eval $ac_try) 2>&5 20408 *) ac_try_echo=$ac_try;;
20409 esac
20410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20411 (eval "$ac_try") 2>&5
17788 ac_status=$? 20412 ac_status=$?
17789 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17790 (exit $ac_status); }; } && 20414 (exit $ac_status); }; } &&
17791 { ac_try='test -s conftest.$ac_objext' 20415 { ac_try='test -s conftest.$ac_objext'
17792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20416 { (case "(($ac_try" in
17793 (eval $ac_try) 2>&5 20417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20418 *) ac_try_echo=$ac_try;;
20419 esac
20420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20421 (eval "$ac_try") 2>&5
17794 ac_status=$? 20422 ac_status=$?
17795 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17796 (exit $ac_status); }; }; then 20424 (exit $ac_status); }; }; then
17797 ac_cv_have_decl_optreset=yes 20425 ac_cv_have_decl_optreset=yes
17798 else 20426 else
17799 echo "$as_me: failed program was:" >&5 20427 echo "$as_me: failed program was:" >&5
17800 sed 's/^/| /' conftest.$ac_ext >&5 20428 sed 's/^/| /' conftest.$ac_ext >&5
17801 20429
17802 ac_cv_have_decl_optreset=no 20430 ac_cv_have_decl_optreset=no
17803 fi 20431 fi
17804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 20432
17805 fi 20433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17806 echo "$as_me:$LINENO: result: $ac_cv_have_decl_optreset" >&5 20434 fi
17807 echo "${ECHO_T}$ac_cv_have_decl_optreset" >&6 20435 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_optreset" >&5
20436 echo "${ECHO_T}$ac_cv_have_decl_optreset" >&6; }
17808 if test $ac_cv_have_decl_optreset = yes; then 20437 if test $ac_cv_have_decl_optreset = yes; then
17809 GETOPT_H=getopt.h 20438 GETOPT_H=getopt.h
17810 fi 20439 fi
17811 20440
17812 fi 20441 fi
17813 20442
17814 if test -z "$GETOPT_H"; then 20443 if test -z "$GETOPT_H"; then
17815 echo "$as_me:$LINENO: checking for working GNU getopt function" >&5 20444 { echo "$as_me:$LINENO: checking for working GNU getopt function" >&5
17816 echo $ECHO_N "checking for working GNU getopt function... $ECHO_C" >&6 20445 echo $ECHO_N "checking for working GNU getopt function... $ECHO_C" >&6; }
17817 if test "${gl_cv_func_gnu_getopt+set}" = set; then 20446 if test "${gl_cv_func_gnu_getopt+set}" = set; then
17818 echo $ECHO_N "(cached) $ECHO_C" >&6 20447 echo $ECHO_N "(cached) $ECHO_C" >&6
17819 else 20448 else
17820 if test "$cross_compiling" = yes; then 20449 if test "$cross_compiling" = yes; then
17821 echo "$as_me:$LINENO: checking whether getopt_clip is declared" >&5 20450 { echo "$as_me:$LINENO: checking whether getopt_clip is declared" >&5
17822 echo $ECHO_N "checking whether getopt_clip is declared... $ECHO_C" >&6 20451 echo $ECHO_N "checking whether getopt_clip is declared... $ECHO_C" >&6; }
17823 if test "${ac_cv_have_decl_getopt_clip+set}" = set; then 20452 if test "${ac_cv_have_decl_getopt_clip+set}" = set; then
17824 echo $ECHO_N "(cached) $ECHO_C" >&6 20453 echo $ECHO_N "(cached) $ECHO_C" >&6
17825 else 20454 else
17826 cat >conftest.$ac_ext <<_ACEOF 20455 cat >conftest.$ac_ext <<_ACEOF
17827 /* confdefs.h. */ 20456 /* confdefs.h. */
17834 int 20463 int
17835 main () 20464 main ()
17836 { 20465 {
17837 #ifndef getopt_clip 20466 #ifndef getopt_clip
17838 char *p = (char *) getopt_clip; 20467 char *p = (char *) getopt_clip;
20468 return !p;
17839 #endif 20469 #endif
17840 20470
17841 ; 20471 ;
17842 return 0; 20472 return 0;
17843 } 20473 }
17844 _ACEOF 20474 _ACEOF
17845 rm -f conftest.$ac_objext 20475 rm -f conftest.$ac_objext
17846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 20476 if { (ac_try="$ac_compile"
17847 (eval $ac_compile) 2>conftest.er1 20477 case "(($ac_try" in
20478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20479 *) ac_try_echo=$ac_try;;
20480 esac
20481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20482 (eval "$ac_compile") 2>conftest.er1
17848 ac_status=$? 20483 ac_status=$?
17849 grep -v '^ *+' conftest.er1 >conftest.err 20484 grep -v '^ *+' conftest.er1 >conftest.err
17850 rm -f conftest.er1 20485 rm -f conftest.er1
17851 cat conftest.err >&5 20486 cat conftest.err >&5
17852 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17853 (exit $ac_status); } && 20488 (exit $ac_status); } &&
17854 { ac_try='test -z "$ac_c_werror_flag" 20489 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17855 || test ! -s conftest.err' 20490 { (case "(($ac_try" in
17856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17857 (eval $ac_try) 2>&5 20492 *) ac_try_echo=$ac_try;;
20493 esac
20494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20495 (eval "$ac_try") 2>&5
17858 ac_status=$? 20496 ac_status=$?
17859 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17860 (exit $ac_status); }; } && 20498 (exit $ac_status); }; } &&
17861 { ac_try='test -s conftest.$ac_objext' 20499 { ac_try='test -s conftest.$ac_objext'
17862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20500 { (case "(($ac_try" in
17863 (eval $ac_try) 2>&5 20501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20502 *) ac_try_echo=$ac_try;;
20503 esac
20504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20505 (eval "$ac_try") 2>&5
17864 ac_status=$? 20506 ac_status=$?
17865 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17866 (exit $ac_status); }; }; then 20508 (exit $ac_status); }; }; then
17867 ac_cv_have_decl_getopt_clip=yes 20509 ac_cv_have_decl_getopt_clip=yes
17868 else 20510 else
17869 echo "$as_me: failed program was:" >&5 20511 echo "$as_me: failed program was:" >&5
17870 sed 's/^/| /' conftest.$ac_ext >&5 20512 sed 's/^/| /' conftest.$ac_ext >&5
17871 20513
17872 ac_cv_have_decl_getopt_clip=no 20514 ac_cv_have_decl_getopt_clip=no
17873 fi 20515 fi
17874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 20516
17875 fi 20517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17876 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt_clip" >&5 20518 fi
17877 echo "${ECHO_T}$ac_cv_have_decl_getopt_clip" >&6 20519 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt_clip" >&5
20520 echo "${ECHO_T}$ac_cv_have_decl_getopt_clip" >&6; }
17878 if test $ac_cv_have_decl_getopt_clip = yes; then 20521 if test $ac_cv_have_decl_getopt_clip = yes; then
17879 gl_cv_func_gnu_getopt=no 20522 gl_cv_func_gnu_getopt=no
17880 else 20523 else
17881 gl_cv_func_gnu_getopt=yes 20524 gl_cv_func_gnu_getopt=yes
17882 fi 20525 fi
17902 ; 20545 ;
17903 return 0; 20546 return 0;
17904 } 20547 }
17905 _ACEOF 20548 _ACEOF
17906 rm -f conftest$ac_exeext 20549 rm -f conftest$ac_exeext
17907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 20550 if { (ac_try="$ac_link"
17908 (eval $ac_link) 2>&5 20551 case "(($ac_try" in
20552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20553 *) ac_try_echo=$ac_try;;
20554 esac
20555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20556 (eval "$ac_link") 2>&5
17909 ac_status=$? 20557 ac_status=$?
17910 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17911 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 20559 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20560 { (case "(($ac_try" in
17913 (eval $ac_try) 2>&5 20561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20562 *) ac_try_echo=$ac_try;;
20563 esac
20564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20565 (eval "$ac_try") 2>&5
17914 ac_status=$? 20566 ac_status=$?
17915 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17916 (exit $ac_status); }; }; then 20568 (exit $ac_status); }; }; then
17917 gl_cv_func_gnu_getopt=yes 20569 gl_cv_func_gnu_getopt=yes
17918 else 20570 else
17921 sed 's/^/| /' conftest.$ac_ext >&5 20573 sed 's/^/| /' conftest.$ac_ext >&5
17922 20574
17923 ( exit $ac_status ) 20575 ( exit $ac_status )
17924 gl_cv_func_gnu_getopt=no 20576 gl_cv_func_gnu_getopt=no
17925 fi 20577 fi
17926 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 20578 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17927 fi 20579 fi
17928 fi 20580
17929 echo "$as_me:$LINENO: result: $gl_cv_func_gnu_getopt" >&5 20581
17930 echo "${ECHO_T}$gl_cv_func_gnu_getopt" >&6 20582 fi
20583 { echo "$as_me:$LINENO: result: $gl_cv_func_gnu_getopt" >&5
20584 echo "${ECHO_T}$gl_cv_func_gnu_getopt" >&6; }
17931 if test "$gl_cv_func_gnu_getopt" = "no"; then 20585 if test "$gl_cv_func_gnu_getopt" = "no"; then
17932 GETOPT_H=getopt.h 20586 GETOPT_H=getopt.h
17933 fi 20587 fi
17934 fi 20588 fi
17935 20589
17952 fi 20606 fi
17953 20607
17954 20608
17955 20609
17956 20610
17957 echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5 20611 { echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5
17958 echo $ECHO_N "checking whether getpgrp requires zero arguments... $ECHO_C" >&6 20612 echo $ECHO_N "checking whether getpgrp requires zero arguments... $ECHO_C" >&6; }
17959 if test "${ac_cv_func_getpgrp_void+set}" = set; then 20613 if test "${ac_cv_func_getpgrp_void+set}" = set; then
17960 echo $ECHO_N "(cached) $ECHO_C" >&6 20614 echo $ECHO_N "(cached) $ECHO_C" >&6
17961 else 20615 else
17962 # Use it with a single arg. 20616 # Use it with a single arg.
17963 cat >conftest.$ac_ext <<_ACEOF 20617 cat >conftest.$ac_ext <<_ACEOF
17974 ; 20628 ;
17975 return 0; 20629 return 0;
17976 } 20630 }
17977 _ACEOF 20631 _ACEOF
17978 rm -f conftest.$ac_objext 20632 rm -f conftest.$ac_objext
17979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 20633 if { (ac_try="$ac_compile"
17980 (eval $ac_compile) 2>conftest.er1 20634 case "(($ac_try" in
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_compile") 2>conftest.er1
17981 ac_status=$? 20640 ac_status=$?
17982 grep -v '^ *+' conftest.er1 >conftest.err 20641 grep -v '^ *+' conftest.er1 >conftest.err
17983 rm -f conftest.er1 20642 rm -f conftest.er1
17984 cat conftest.err >&5 20643 cat conftest.err >&5
17985 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17986 (exit $ac_status); } && 20645 (exit $ac_status); } &&
17987 { ac_try='test -z "$ac_c_werror_flag" 20646 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17988 || test ! -s conftest.err' 20647 { (case "(($ac_try" in
17989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17990 (eval $ac_try) 2>&5 20649 *) ac_try_echo=$ac_try;;
20650 esac
20651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20652 (eval "$ac_try") 2>&5
17991 ac_status=$? 20653 ac_status=$?
17992 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17993 (exit $ac_status); }; } && 20655 (exit $ac_status); }; } &&
17994 { ac_try='test -s conftest.$ac_objext' 20656 { ac_try='test -s conftest.$ac_objext'
17995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20657 { (case "(($ac_try" in
17996 (eval $ac_try) 2>&5 20658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20659 *) ac_try_echo=$ac_try;;
20660 esac
20661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20662 (eval "$ac_try") 2>&5
17997 ac_status=$? 20663 ac_status=$?
17998 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17999 (exit $ac_status); }; }; then 20665 (exit $ac_status); }; }; then
18000 ac_cv_func_getpgrp_void=no 20666 ac_cv_func_getpgrp_void=no
18001 else 20667 else
18002 echo "$as_me: failed program was:" >&5 20668 echo "$as_me: failed program was:" >&5
18003 sed 's/^/| /' conftest.$ac_ext >&5 20669 sed 's/^/| /' conftest.$ac_ext >&5
18004 20670
18005 ac_cv_func_getpgrp_void=yes 20671 ac_cv_func_getpgrp_void=yes
18006 fi 20672 fi
18007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 20673
18008 20674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18009 fi 20675
18010 echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5 20676 fi
18011 echo "${ECHO_T}$ac_cv_func_getpgrp_void" >&6 20677 { echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5
20678 echo "${ECHO_T}$ac_cv_func_getpgrp_void" >&6; }
18012 if test $ac_cv_func_getpgrp_void = yes; then 20679 if test $ac_cv_func_getpgrp_void = yes; then
18013 20680
18014 cat >>confdefs.h <<\_ACEOF 20681 cat >>confdefs.h <<\_ACEOF
18015 #define GETPGRP_VOID 1 20682 #define GETPGRP_VOID 1
18016 _ACEOF 20683 _ACEOF
18020 20687
18021 20688
18022 for ac_func in strftime 20689 for ac_func in strftime
18023 do 20690 do
18024 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 20691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18025 echo "$as_me:$LINENO: checking for $ac_func" >&5 20692 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18026 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 20693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18027 if eval "test \"\${$as_ac_var+set}\" = set"; then 20694 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18028 echo $ECHO_N "(cached) $ECHO_C" >&6 20695 echo $ECHO_N "(cached) $ECHO_C" >&6
18029 else 20696 else
18030 cat >conftest.$ac_ext <<_ACEOF 20697 cat >conftest.$ac_ext <<_ACEOF
18031 /* confdefs.h. */ 20698 /* confdefs.h. */
18032 _ACEOF 20699 _ACEOF
18048 # include <assert.h> 20715 # include <assert.h>
18049 #endif 20716 #endif
18050 20717
18051 #undef $ac_func 20718 #undef $ac_func
18052 20719
18053 /* Override any gcc2 internal prototype to avoid an error. */ 20720 /* Override any GCC internal prototype to avoid an error.
20721 Use char because int might match the return type of a GCC
20722 builtin and then its argument prototype would still apply. */
18054 #ifdef __cplusplus 20723 #ifdef __cplusplus
18055 extern "C" 20724 extern "C"
18056 {
18057 #endif 20725 #endif
18058 /* We use char because int might match the return type of a gcc2
18059 builtin and then its argument prototype would still apply. */
18060 char $ac_func (); 20726 char $ac_func ();
18061 /* The GNU C library defines this for functions which it implements 20727 /* The GNU C library defines this for functions which it implements
18062 to always fail with ENOSYS. Some functions are actually named 20728 to always fail with ENOSYS. Some functions are actually named
18063 something starting with __ and the normal name is an alias. */ 20729 something starting with __ and the normal name is an alias. */
18064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 20730 #if defined __stub_$ac_func || defined __stub___$ac_func
18065 choke me 20731 choke me
18066 #else
18067 char (*f) () = $ac_func;
18068 #endif
18069 #ifdef __cplusplus
18070 }
18071 #endif 20732 #endif
18072 20733
18073 int 20734 int
18074 main () 20735 main ()
18075 { 20736 {
18076 return f != $ac_func; 20737 return $ac_func ();
18077 ; 20738 ;
18078 return 0; 20739 return 0;
18079 } 20740 }
18080 _ACEOF 20741 _ACEOF
18081 rm -f conftest.$ac_objext conftest$ac_exeext 20742 rm -f conftest.$ac_objext conftest$ac_exeext
18082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 20743 if { (ac_try="$ac_link"
18083 (eval $ac_link) 2>conftest.er1 20744 case "(($ac_try" in
20745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20746 *) ac_try_echo=$ac_try;;
20747 esac
20748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20749 (eval "$ac_link") 2>conftest.er1
18084 ac_status=$? 20750 ac_status=$?
18085 grep -v '^ *+' conftest.er1 >conftest.err 20751 grep -v '^ *+' conftest.er1 >conftest.err
18086 rm -f conftest.er1 20752 rm -f conftest.er1
18087 cat conftest.err >&5 20753 cat conftest.err >&5
18088 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18089 (exit $ac_status); } && 20755 (exit $ac_status); } &&
18090 { ac_try='test -z "$ac_c_werror_flag" 20756 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18091 || test ! -s conftest.err' 20757 { (case "(($ac_try" in
18092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18093 (eval $ac_try) 2>&5 20759 *) ac_try_echo=$ac_try;;
20760 esac
20761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20762 (eval "$ac_try") 2>&5
18094 ac_status=$? 20763 ac_status=$?
18095 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18096 (exit $ac_status); }; } && 20765 (exit $ac_status); }; } &&
18097 { ac_try='test -s conftest$ac_exeext' 20766 { ac_try='test -s conftest$ac_exeext'
18098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20767 { (case "(($ac_try" in
18099 (eval $ac_try) 2>&5 20768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20769 *) ac_try_echo=$ac_try;;
20770 esac
20771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20772 (eval "$ac_try") 2>&5
18100 ac_status=$? 20773 ac_status=$?
18101 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18102 (exit $ac_status); }; }; then 20775 (exit $ac_status); }; }; then
18103 eval "$as_ac_var=yes" 20776 eval "$as_ac_var=yes"
18104 else 20777 else
18105 echo "$as_me: failed program was:" >&5 20778 echo "$as_me: failed program was:" >&5
18106 sed 's/^/| /' conftest.$ac_ext >&5 20779 sed 's/^/| /' conftest.$ac_ext >&5
18107 20780
18108 eval "$as_ac_var=no" 20781 eval "$as_ac_var=no"
18109 fi 20782 fi
18110 rm -f conftest.err conftest.$ac_objext \ 20783
20784 rm -f core conftest.err conftest.$ac_objext \
18111 conftest$ac_exeext conftest.$ac_ext 20785 conftest$ac_exeext conftest.$ac_ext
18112 fi 20786 fi
18113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 20787 ac_res=`eval echo '${'$as_ac_var'}'`
18114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 20788 { echo "$as_me:$LINENO: result: $ac_res" >&5
20789 echo "${ECHO_T}$ac_res" >&6; }
18115 if test `eval echo '${'$as_ac_var'}'` = yes; then 20790 if test `eval echo '${'$as_ac_var'}'` = yes; then
18116 cat >>confdefs.h <<_ACEOF 20791 cat >>confdefs.h <<_ACEOF
18117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 20792 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18118 _ACEOF 20793 _ACEOF
18119 20794
18120 else 20795 else
18121 # strftime is in -lintl on SCO UNIX. 20796 # strftime is in -lintl on SCO UNIX.
18122 echo "$as_me:$LINENO: checking for strftime in -lintl" >&5 20797 { echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
18123 echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6 20798 echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6; }
18124 if test "${ac_cv_lib_intl_strftime+set}" = set; then 20799 if test "${ac_cv_lib_intl_strftime+set}" = set; then
18125 echo $ECHO_N "(cached) $ECHO_C" >&6 20800 echo $ECHO_N "(cached) $ECHO_C" >&6
18126 else 20801 else
18127 ac_check_lib_save_LIBS=$LIBS 20802 ac_check_lib_save_LIBS=$LIBS
18128 LIBS="-lintl $LIBS" 20803 LIBS="-lintl $LIBS"
18131 _ACEOF 20806 _ACEOF
18132 cat confdefs.h >>conftest.$ac_ext 20807 cat confdefs.h >>conftest.$ac_ext
18133 cat >>conftest.$ac_ext <<_ACEOF 20808 cat >>conftest.$ac_ext <<_ACEOF
18134 /* end confdefs.h. */ 20809 /* end confdefs.h. */
18135 20810
18136 /* Override any gcc2 internal prototype to avoid an error. */ 20811 /* Override any GCC internal prototype to avoid an error.
20812 Use char because int might match the return type of a GCC
20813 builtin and then its argument prototype would still apply. */
18137 #ifdef __cplusplus 20814 #ifdef __cplusplus
18138 extern "C" 20815 extern "C"
18139 #endif 20816 #endif
18140 /* We use char because int might match the return type of a gcc2
18141 builtin and then its argument prototype would still apply. */
18142 char strftime (); 20817 char strftime ();
18143 int 20818 int
18144 main () 20819 main ()
18145 { 20820 {
18146 strftime (); 20821 return strftime ();
18147 ; 20822 ;
18148 return 0; 20823 return 0;
18149 } 20824 }
18150 _ACEOF 20825 _ACEOF
18151 rm -f conftest.$ac_objext conftest$ac_exeext 20826 rm -f conftest.$ac_objext conftest$ac_exeext
18152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 20827 if { (ac_try="$ac_link"
18153 (eval $ac_link) 2>conftest.er1 20828 case "(($ac_try" in
20829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20830 *) ac_try_echo=$ac_try;;
20831 esac
20832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20833 (eval "$ac_link") 2>conftest.er1
18154 ac_status=$? 20834 ac_status=$?
18155 grep -v '^ *+' conftest.er1 >conftest.err 20835 grep -v '^ *+' conftest.er1 >conftest.err
18156 rm -f conftest.er1 20836 rm -f conftest.er1
18157 cat conftest.err >&5 20837 cat conftest.err >&5
18158 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18159 (exit $ac_status); } && 20839 (exit $ac_status); } &&
18160 { ac_try='test -z "$ac_c_werror_flag" 20840 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18161 || test ! -s conftest.err' 20841 { (case "(($ac_try" in
18162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18163 (eval $ac_try) 2>&5 20843 *) ac_try_echo=$ac_try;;
20844 esac
20845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20846 (eval "$ac_try") 2>&5
18164 ac_status=$? 20847 ac_status=$?
18165 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18166 (exit $ac_status); }; } && 20849 (exit $ac_status); }; } &&
18167 { ac_try='test -s conftest$ac_exeext' 20850 { ac_try='test -s conftest$ac_exeext'
18168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20851 { (case "(($ac_try" in
18169 (eval $ac_try) 2>&5 20852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20853 *) ac_try_echo=$ac_try;;
20854 esac
20855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20856 (eval "$ac_try") 2>&5
18170 ac_status=$? 20857 ac_status=$?
18171 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18172 (exit $ac_status); }; }; then 20859 (exit $ac_status); }; }; then
18173 ac_cv_lib_intl_strftime=yes 20860 ac_cv_lib_intl_strftime=yes
18174 else 20861 else
18175 echo "$as_me: failed program was:" >&5 20862 echo "$as_me: failed program was:" >&5
18176 sed 's/^/| /' conftest.$ac_ext >&5 20863 sed 's/^/| /' conftest.$ac_ext >&5
18177 20864
18178 ac_cv_lib_intl_strftime=no 20865 ac_cv_lib_intl_strftime=no
18179 fi 20866 fi
18180 rm -f conftest.err conftest.$ac_objext \ 20867
20868 rm -f core conftest.err conftest.$ac_objext \
18181 conftest$ac_exeext conftest.$ac_ext 20869 conftest$ac_exeext conftest.$ac_ext
18182 LIBS=$ac_check_lib_save_LIBS 20870 LIBS=$ac_check_lib_save_LIBS
18183 fi 20871 fi
18184 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5 20872 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
18185 echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6 20873 echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6; }
18186 if test $ac_cv_lib_intl_strftime = yes; then 20874 if test $ac_cv_lib_intl_strftime = yes; then
18187 cat >>confdefs.h <<\_ACEOF 20875 cat >>confdefs.h <<\_ACEOF
18188 #define HAVE_STRFTIME 1 20876 #define HAVE_STRFTIME 1
18189 _ACEOF 20877 _ACEOF
18190 20878
18198 # UNIX98 PTYs. 20886 # UNIX98 PTYs.
18199 20887
18200 for ac_func in grantpt 20888 for ac_func in grantpt
18201 do 20889 do
18202 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 20890 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18203 echo "$as_me:$LINENO: checking for $ac_func" >&5 20891 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 20892 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18205 if eval "test \"\${$as_ac_var+set}\" = set"; then 20893 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18206 echo $ECHO_N "(cached) $ECHO_C" >&6 20894 echo $ECHO_N "(cached) $ECHO_C" >&6
18207 else 20895 else
18208 cat >conftest.$ac_ext <<_ACEOF 20896 cat >conftest.$ac_ext <<_ACEOF
18209 /* confdefs.h. */ 20897 /* confdefs.h. */
18210 _ACEOF 20898 _ACEOF
18226 # include <assert.h> 20914 # include <assert.h>
18227 #endif 20915 #endif
18228 20916
18229 #undef $ac_func 20917 #undef $ac_func
18230 20918
18231 /* Override any gcc2 internal prototype to avoid an error. */ 20919 /* Override any GCC internal prototype to avoid an error.
20920 Use char because int might match the return type of a GCC
20921 builtin and then its argument prototype would still apply. */
18232 #ifdef __cplusplus 20922 #ifdef __cplusplus
18233 extern "C" 20923 extern "C"
18234 {
18235 #endif 20924 #endif
18236 /* We use char because int might match the return type of a gcc2
18237 builtin and then its argument prototype would still apply. */
18238 char $ac_func (); 20925 char $ac_func ();
18239 /* The GNU C library defines this for functions which it implements 20926 /* The GNU C library defines this for functions which it implements
18240 to always fail with ENOSYS. Some functions are actually named 20927 to always fail with ENOSYS. Some functions are actually named
18241 something starting with __ and the normal name is an alias. */ 20928 something starting with __ and the normal name is an alias. */
18242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 20929 #if defined __stub_$ac_func || defined __stub___$ac_func
18243 choke me 20930 choke me
18244 #else
18245 char (*f) () = $ac_func;
18246 #endif
18247 #ifdef __cplusplus
18248 }
18249 #endif 20931 #endif
18250 20932
18251 int 20933 int
18252 main () 20934 main ()
18253 { 20935 {
18254 return f != $ac_func; 20936 return $ac_func ();
18255 ; 20937 ;
18256 return 0; 20938 return 0;
18257 } 20939 }
18258 _ACEOF 20940 _ACEOF
18259 rm -f conftest.$ac_objext conftest$ac_exeext 20941 rm -f conftest.$ac_objext conftest$ac_exeext
18260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 20942 if { (ac_try="$ac_link"
18261 (eval $ac_link) 2>conftest.er1 20943 case "(($ac_try" in
20944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20945 *) ac_try_echo=$ac_try;;
20946 esac
20947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20948 (eval "$ac_link") 2>conftest.er1
18262 ac_status=$? 20949 ac_status=$?
18263 grep -v '^ *+' conftest.er1 >conftest.err 20950 grep -v '^ *+' conftest.er1 >conftest.err
18264 rm -f conftest.er1 20951 rm -f conftest.er1
18265 cat conftest.err >&5 20952 cat conftest.err >&5
18266 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18267 (exit $ac_status); } && 20954 (exit $ac_status); } &&
18268 { ac_try='test -z "$ac_c_werror_flag" 20955 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18269 || test ! -s conftest.err' 20956 { (case "(($ac_try" in
18270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18271 (eval $ac_try) 2>&5 20958 *) ac_try_echo=$ac_try;;
20959 esac
20960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20961 (eval "$ac_try") 2>&5
18272 ac_status=$? 20962 ac_status=$?
18273 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18274 (exit $ac_status); }; } && 20964 (exit $ac_status); }; } &&
18275 { ac_try='test -s conftest$ac_exeext' 20965 { ac_try='test -s conftest$ac_exeext'
18276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20966 { (case "(($ac_try" in
18277 (eval $ac_try) 2>&5 20967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20968 *) ac_try_echo=$ac_try;;
20969 esac
20970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20971 (eval "$ac_try") 2>&5
18278 ac_status=$? 20972 ac_status=$?
18279 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18280 (exit $ac_status); }; }; then 20974 (exit $ac_status); }; }; then
18281 eval "$as_ac_var=yes" 20975 eval "$as_ac_var=yes"
18282 else 20976 else
18283 echo "$as_me: failed program was:" >&5 20977 echo "$as_me: failed program was:" >&5
18284 sed 's/^/| /' conftest.$ac_ext >&5 20978 sed 's/^/| /' conftest.$ac_ext >&5
18285 20979
18286 eval "$as_ac_var=no" 20980 eval "$as_ac_var=no"
18287 fi 20981 fi
18288 rm -f conftest.err conftest.$ac_objext \ 20982
20983 rm -f core conftest.err conftest.$ac_objext \
18289 conftest$ac_exeext conftest.$ac_ext 20984 conftest$ac_exeext conftest.$ac_ext
18290 fi 20985 fi
18291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 20986 ac_res=`eval echo '${'$as_ac_var'}'`
18292 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 20987 { echo "$as_me:$LINENO: result: $ac_res" >&5
20988 echo "${ECHO_T}$ac_res" >&6; }
18293 if test `eval echo '${'$as_ac_var'}'` = yes; then 20989 if test `eval echo '${'$as_ac_var'}'` = yes; then
18294 cat >>confdefs.h <<_ACEOF 20990 cat >>confdefs.h <<_ACEOF
18295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 20991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18296 _ACEOF 20992 _ACEOF
18297 20993
18302 # PTY-related GNU extensions. 20998 # PTY-related GNU extensions.
18303 20999
18304 for ac_func in getpt 21000 for ac_func in getpt
18305 do 21001 do
18306 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 21002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18307 echo "$as_me:$LINENO: checking for $ac_func" >&5 21003 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 21004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18309 if eval "test \"\${$as_ac_var+set}\" = set"; then 21005 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18310 echo $ECHO_N "(cached) $ECHO_C" >&6 21006 echo $ECHO_N "(cached) $ECHO_C" >&6
18311 else 21007 else
18312 cat >conftest.$ac_ext <<_ACEOF 21008 cat >conftest.$ac_ext <<_ACEOF
18313 /* confdefs.h. */ 21009 /* confdefs.h. */
18314 _ACEOF 21010 _ACEOF
18330 # include <assert.h> 21026 # include <assert.h>
18331 #endif 21027 #endif
18332 21028
18333 #undef $ac_func 21029 #undef $ac_func
18334 21030
18335 /* Override any gcc2 internal prototype to avoid an error. */ 21031 /* Override any GCC internal prototype to avoid an error.
21032 Use char because int might match the return type of a GCC
21033 builtin and then its argument prototype would still apply. */
18336 #ifdef __cplusplus 21034 #ifdef __cplusplus
18337 extern "C" 21035 extern "C"
18338 {
18339 #endif 21036 #endif
18340 /* We use char because int might match the return type of a gcc2
18341 builtin and then its argument prototype would still apply. */
18342 char $ac_func (); 21037 char $ac_func ();
18343 /* The GNU C library defines this for functions which it implements 21038 /* The GNU C library defines this for functions which it implements
18344 to always fail with ENOSYS. Some functions are actually named 21039 to always fail with ENOSYS. Some functions are actually named
18345 something starting with __ and the normal name is an alias. */ 21040 something starting with __ and the normal name is an alias. */
18346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 21041 #if defined __stub_$ac_func || defined __stub___$ac_func
18347 choke me 21042 choke me
18348 #else
18349 char (*f) () = $ac_func;
18350 #endif
18351 #ifdef __cplusplus
18352 }
18353 #endif 21043 #endif
18354 21044
18355 int 21045 int
18356 main () 21046 main ()
18357 { 21047 {
18358 return f != $ac_func; 21048 return $ac_func ();
18359 ; 21049 ;
18360 return 0; 21050 return 0;
18361 } 21051 }
18362 _ACEOF 21052 _ACEOF
18363 rm -f conftest.$ac_objext conftest$ac_exeext 21053 rm -f conftest.$ac_objext conftest$ac_exeext
18364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 21054 if { (ac_try="$ac_link"
18365 (eval $ac_link) 2>conftest.er1 21055 case "(($ac_try" in
21056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21057 *) ac_try_echo=$ac_try;;
21058 esac
21059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21060 (eval "$ac_link") 2>conftest.er1
18366 ac_status=$? 21061 ac_status=$?
18367 grep -v '^ *+' conftest.er1 >conftest.err 21062 grep -v '^ *+' conftest.er1 >conftest.err
18368 rm -f conftest.er1 21063 rm -f conftest.er1
18369 cat conftest.err >&5 21064 cat conftest.err >&5
18370 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18371 (exit $ac_status); } && 21066 (exit $ac_status); } &&
18372 { ac_try='test -z "$ac_c_werror_flag" 21067 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18373 || test ! -s conftest.err' 21068 { (case "(($ac_try" in
18374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18375 (eval $ac_try) 2>&5 21070 *) ac_try_echo=$ac_try;;
21071 esac
21072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21073 (eval "$ac_try") 2>&5
18376 ac_status=$? 21074 ac_status=$?
18377 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18378 (exit $ac_status); }; } && 21076 (exit $ac_status); }; } &&
18379 { ac_try='test -s conftest$ac_exeext' 21077 { ac_try='test -s conftest$ac_exeext'
18380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21078 { (case "(($ac_try" in
18381 (eval $ac_try) 2>&5 21079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21080 *) ac_try_echo=$ac_try;;
21081 esac
21082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21083 (eval "$ac_try") 2>&5
18382 ac_status=$? 21084 ac_status=$?
18383 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18384 (exit $ac_status); }; }; then 21086 (exit $ac_status); }; }; then
18385 eval "$as_ac_var=yes" 21087 eval "$as_ac_var=yes"
18386 else 21088 else
18387 echo "$as_me: failed program was:" >&5 21089 echo "$as_me: failed program was:" >&5
18388 sed 's/^/| /' conftest.$ac_ext >&5 21090 sed 's/^/| /' conftest.$ac_ext >&5
18389 21091
18390 eval "$as_ac_var=no" 21092 eval "$as_ac_var=no"
18391 fi 21093 fi
18392 rm -f conftest.err conftest.$ac_objext \ 21094
21095 rm -f core conftest.err conftest.$ac_objext \
18393 conftest$ac_exeext conftest.$ac_ext 21096 conftest$ac_exeext conftest.$ac_ext
18394 fi 21097 fi
18395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 21098 ac_res=`eval echo '${'$as_ac_var'}'`
18396 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 21099 { echo "$as_me:$LINENO: result: $ac_res" >&5
21100 echo "${ECHO_T}$ac_res" >&6; }
18397 if test `eval echo '${'$as_ac_var'}'` = yes; then 21101 if test `eval echo '${'$as_ac_var'}'` = yes; then
18398 cat >>confdefs.h <<_ACEOF 21102 cat >>confdefs.h <<_ACEOF
18399 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 21103 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18400 _ACEOF 21104 _ACEOF
18401 21105
18406 # Check this now, so that we will NOT find the above functions in ncurses. 21110 # Check this now, so that we will NOT find the above functions in ncurses.
18407 # That is because we have not set up to link ncurses in lib-src. 21111 # That is because we have not set up to link ncurses in lib-src.
18408 # It's better to believe a function is not available 21112 # It's better to believe a function is not available
18409 # than to expect to find it in ncurses. 21113 # than to expect to find it in ncurses.
18410 21114
18411 echo "$as_me:$LINENO: checking for tparm in -lncurses" >&5 21115 { echo "$as_me:$LINENO: checking for tparm in -lncurses" >&5
18412 echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6 21116 echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6; }
18413 if test "${ac_cv_lib_ncurses_tparm+set}" = set; then 21117 if test "${ac_cv_lib_ncurses_tparm+set}" = set; then
18414 echo $ECHO_N "(cached) $ECHO_C" >&6 21118 echo $ECHO_N "(cached) $ECHO_C" >&6
18415 else 21119 else
18416 ac_check_lib_save_LIBS=$LIBS 21120 ac_check_lib_save_LIBS=$LIBS
18417 LIBS="-lncurses $LIBS" 21121 LIBS="-lncurses $LIBS"
18420 _ACEOF 21124 _ACEOF
18421 cat confdefs.h >>conftest.$ac_ext 21125 cat confdefs.h >>conftest.$ac_ext
18422 cat >>conftest.$ac_ext <<_ACEOF 21126 cat >>conftest.$ac_ext <<_ACEOF
18423 /* end confdefs.h. */ 21127 /* end confdefs.h. */
18424 21128
18425 /* Override any gcc2 internal prototype to avoid an error. */ 21129 /* Override any GCC internal prototype to avoid an error.
21130 Use char because int might match the return type of a GCC
21131 builtin and then its argument prototype would still apply. */
18426 #ifdef __cplusplus 21132 #ifdef __cplusplus
18427 extern "C" 21133 extern "C"
18428 #endif 21134 #endif
18429 /* We use char because int might match the return type of a gcc2
18430 builtin and then its argument prototype would still apply. */
18431 char tparm (); 21135 char tparm ();
18432 int 21136 int
18433 main () 21137 main ()
18434 { 21138 {
18435 tparm (); 21139 return tparm ();
18436 ; 21140 ;
18437 return 0; 21141 return 0;
18438 } 21142 }
18439 _ACEOF 21143 _ACEOF
18440 rm -f conftest.$ac_objext conftest$ac_exeext 21144 rm -f conftest.$ac_objext conftest$ac_exeext
18441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 21145 if { (ac_try="$ac_link"
18442 (eval $ac_link) 2>conftest.er1 21146 case "(($ac_try" in
21147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21148 *) ac_try_echo=$ac_try;;
21149 esac
21150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21151 (eval "$ac_link") 2>conftest.er1
18443 ac_status=$? 21152 ac_status=$?
18444 grep -v '^ *+' conftest.er1 >conftest.err 21153 grep -v '^ *+' conftest.er1 >conftest.err
18445 rm -f conftest.er1 21154 rm -f conftest.er1
18446 cat conftest.err >&5 21155 cat conftest.err >&5
18447 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18448 (exit $ac_status); } && 21157 (exit $ac_status); } &&
18449 { ac_try='test -z "$ac_c_werror_flag" 21158 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18450 || test ! -s conftest.err' 21159 { (case "(($ac_try" in
18451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18452 (eval $ac_try) 2>&5 21161 *) ac_try_echo=$ac_try;;
21162 esac
21163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21164 (eval "$ac_try") 2>&5
18453 ac_status=$? 21165 ac_status=$?
18454 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18455 (exit $ac_status); }; } && 21167 (exit $ac_status); }; } &&
18456 { ac_try='test -s conftest$ac_exeext' 21168 { ac_try='test -s conftest$ac_exeext'
18457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21169 { (case "(($ac_try" in
18458 (eval $ac_try) 2>&5 21170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21171 *) ac_try_echo=$ac_try;;
21172 esac
21173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21174 (eval "$ac_try") 2>&5
18459 ac_status=$? 21175 ac_status=$?
18460 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18461 (exit $ac_status); }; }; then 21177 (exit $ac_status); }; }; then
18462 ac_cv_lib_ncurses_tparm=yes 21178 ac_cv_lib_ncurses_tparm=yes
18463 else 21179 else
18464 echo "$as_me: failed program was:" >&5 21180 echo "$as_me: failed program was:" >&5
18465 sed 's/^/| /' conftest.$ac_ext >&5 21181 sed 's/^/| /' conftest.$ac_ext >&5
18466 21182
18467 ac_cv_lib_ncurses_tparm=no 21183 ac_cv_lib_ncurses_tparm=no
18468 fi 21184 fi
18469 rm -f conftest.err conftest.$ac_objext \ 21185
21186 rm -f core conftest.err conftest.$ac_objext \
18470 conftest$ac_exeext conftest.$ac_ext 21187 conftest$ac_exeext conftest.$ac_ext
18471 LIBS=$ac_check_lib_save_LIBS 21188 LIBS=$ac_check_lib_save_LIBS
18472 fi 21189 fi
18473 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_tparm" >&5 21190 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_tparm" >&5
18474 echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6 21191 echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6; }
18475 if test $ac_cv_lib_ncurses_tparm = yes; then 21192 if test $ac_cv_lib_ncurses_tparm = yes; then
18476 cat >>confdefs.h <<_ACEOF 21193 cat >>confdefs.h <<_ACEOF
18477 #define HAVE_LIBNCURSES 1 21194 #define HAVE_LIBNCURSES 1
18478 _ACEOF 21195 _ACEOF
18479 21196
18484 21201
18485 # Do we need the Hesiod library to provide the support routines? 21202 # Do we need the Hesiod library to provide the support routines?
18486 if test "$with_hesiod" = yes ; then 21203 if test "$with_hesiod" = yes ; then
18487 # Don't set $LIBS here -- see comments above. 21204 # Don't set $LIBS here -- see comments above.
18488 resolv=no 21205 resolv=no
18489 echo "$as_me:$LINENO: checking for res_send" >&5 21206 { echo "$as_me:$LINENO: checking for res_send" >&5
18490 echo $ECHO_N "checking for res_send... $ECHO_C" >&6 21207 echo $ECHO_N "checking for res_send... $ECHO_C" >&6; }
18491 if test "${ac_cv_func_res_send+set}" = set; then 21208 if test "${ac_cv_func_res_send+set}" = set; then
18492 echo $ECHO_N "(cached) $ECHO_C" >&6 21209 echo $ECHO_N "(cached) $ECHO_C" >&6
18493 else 21210 else
18494 cat >conftest.$ac_ext <<_ACEOF 21211 cat >conftest.$ac_ext <<_ACEOF
18495 /* confdefs.h. */ 21212 /* confdefs.h. */
18512 # include <assert.h> 21229 # include <assert.h>
18513 #endif 21230 #endif
18514 21231
18515 #undef res_send 21232 #undef res_send
18516 21233
18517 /* Override any gcc2 internal prototype to avoid an error. */ 21234 /* Override any GCC internal prototype to avoid an error.
21235 Use char because int might match the return type of a GCC
21236 builtin and then its argument prototype would still apply. */
18518 #ifdef __cplusplus 21237 #ifdef __cplusplus
18519 extern "C" 21238 extern "C"
18520 {
18521 #endif 21239 #endif
18522 /* We use char because int might match the return type of a gcc2
18523 builtin and then its argument prototype would still apply. */
18524 char res_send (); 21240 char res_send ();
18525 /* The GNU C library defines this for functions which it implements 21241 /* The GNU C library defines this for functions which it implements
18526 to always fail with ENOSYS. Some functions are actually named 21242 to always fail with ENOSYS. Some functions are actually named
18527 something starting with __ and the normal name is an alias. */ 21243 something starting with __ and the normal name is an alias. */
18528 #if defined (__stub_res_send) || defined (__stub___res_send) 21244 #if defined __stub_res_send || defined __stub___res_send
18529 choke me 21245 choke me
18530 #else
18531 char (*f) () = res_send;
18532 #endif
18533 #ifdef __cplusplus
18534 }
18535 #endif 21246 #endif
18536 21247
18537 int 21248 int
18538 main () 21249 main ()
18539 { 21250 {
18540 return f != res_send; 21251 return res_send ();
18541 ; 21252 ;
18542 return 0; 21253 return 0;
18543 } 21254 }
18544 _ACEOF 21255 _ACEOF
18545 rm -f conftest.$ac_objext conftest$ac_exeext 21256 rm -f conftest.$ac_objext conftest$ac_exeext
18546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 21257 if { (ac_try="$ac_link"
18547 (eval $ac_link) 2>conftest.er1 21258 case "(($ac_try" in
21259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21260 *) ac_try_echo=$ac_try;;
21261 esac
21262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21263 (eval "$ac_link") 2>conftest.er1
18548 ac_status=$? 21264 ac_status=$?
18549 grep -v '^ *+' conftest.er1 >conftest.err 21265 grep -v '^ *+' conftest.er1 >conftest.err
18550 rm -f conftest.er1 21266 rm -f conftest.er1
18551 cat conftest.err >&5 21267 cat conftest.err >&5
18552 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18553 (exit $ac_status); } && 21269 (exit $ac_status); } &&
18554 { ac_try='test -z "$ac_c_werror_flag" 21270 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18555 || test ! -s conftest.err' 21271 { (case "(($ac_try" in
18556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18557 (eval $ac_try) 2>&5 21273 *) ac_try_echo=$ac_try;;
21274 esac
21275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21276 (eval "$ac_try") 2>&5
18558 ac_status=$? 21277 ac_status=$?
18559 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18560 (exit $ac_status); }; } && 21279 (exit $ac_status); }; } &&
18561 { ac_try='test -s conftest$ac_exeext' 21280 { ac_try='test -s conftest$ac_exeext'
18562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21281 { (case "(($ac_try" in
18563 (eval $ac_try) 2>&5 21282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21283 *) ac_try_echo=$ac_try;;
21284 esac
21285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21286 (eval "$ac_try") 2>&5
18564 ac_status=$? 21287 ac_status=$?
18565 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18566 (exit $ac_status); }; }; then 21289 (exit $ac_status); }; }; then
18567 ac_cv_func_res_send=yes 21290 ac_cv_func_res_send=yes
18568 else 21291 else
18569 echo "$as_me: failed program was:" >&5 21292 echo "$as_me: failed program was:" >&5
18570 sed 's/^/| /' conftest.$ac_ext >&5 21293 sed 's/^/| /' conftest.$ac_ext >&5
18571 21294
18572 ac_cv_func_res_send=no 21295 ac_cv_func_res_send=no
18573 fi 21296 fi
18574 rm -f conftest.err conftest.$ac_objext \ 21297
21298 rm -f core conftest.err conftest.$ac_objext \
18575 conftest$ac_exeext conftest.$ac_ext 21299 conftest$ac_exeext conftest.$ac_ext
18576 fi 21300 fi
18577 echo "$as_me:$LINENO: result: $ac_cv_func_res_send" >&5 21301 { echo "$as_me:$LINENO: result: $ac_cv_func_res_send" >&5
18578 echo "${ECHO_T}$ac_cv_func_res_send" >&6 21302 echo "${ECHO_T}$ac_cv_func_res_send" >&6; }
18579 if test $ac_cv_func_res_send = yes; then 21303 if test $ac_cv_func_res_send = yes; then
18580 : 21304 :
18581 else 21305 else
18582 echo "$as_me:$LINENO: checking for __res_send" >&5 21306 { echo "$as_me:$LINENO: checking for __res_send" >&5
18583 echo $ECHO_N "checking for __res_send... $ECHO_C" >&6 21307 echo $ECHO_N "checking for __res_send... $ECHO_C" >&6; }
18584 if test "${ac_cv_func___res_send+set}" = set; then 21308 if test "${ac_cv_func___res_send+set}" = set; then
18585 echo $ECHO_N "(cached) $ECHO_C" >&6 21309 echo $ECHO_N "(cached) $ECHO_C" >&6
18586 else 21310 else
18587 cat >conftest.$ac_ext <<_ACEOF 21311 cat >conftest.$ac_ext <<_ACEOF
18588 /* confdefs.h. */ 21312 /* confdefs.h. */
18605 # include <assert.h> 21329 # include <assert.h>
18606 #endif 21330 #endif
18607 21331
18608 #undef __res_send 21332 #undef __res_send
18609 21333
18610 /* Override any gcc2 internal prototype to avoid an error. */ 21334 /* Override any GCC internal prototype to avoid an error.
21335 Use char because int might match the return type of a GCC
21336 builtin and then its argument prototype would still apply. */
18611 #ifdef __cplusplus 21337 #ifdef __cplusplus
18612 extern "C" 21338 extern "C"
18613 {
18614 #endif 21339 #endif
18615 /* We use char because int might match the return type of a gcc2
18616 builtin and then its argument prototype would still apply. */
18617 char __res_send (); 21340 char __res_send ();
18618 /* The GNU C library defines this for functions which it implements 21341 /* The GNU C library defines this for functions which it implements
18619 to always fail with ENOSYS. Some functions are actually named 21342 to always fail with ENOSYS. Some functions are actually named
18620 something starting with __ and the normal name is an alias. */ 21343 something starting with __ and the normal name is an alias. */
18621 #if defined (__stub___res_send) || defined (__stub_____res_send) 21344 #if defined __stub___res_send || defined __stub_____res_send
18622 choke me 21345 choke me
18623 #else
18624 char (*f) () = __res_send;
18625 #endif
18626 #ifdef __cplusplus
18627 }
18628 #endif 21346 #endif
18629 21347
18630 int 21348 int
18631 main () 21349 main ()
18632 { 21350 {
18633 return f != __res_send; 21351 return __res_send ();
18634 ; 21352 ;
18635 return 0; 21353 return 0;
18636 } 21354 }
18637 _ACEOF 21355 _ACEOF
18638 rm -f conftest.$ac_objext conftest$ac_exeext 21356 rm -f conftest.$ac_objext conftest$ac_exeext
18639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 21357 if { (ac_try="$ac_link"
18640 (eval $ac_link) 2>conftest.er1 21358 case "(($ac_try" in
21359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21360 *) ac_try_echo=$ac_try;;
21361 esac
21362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21363 (eval "$ac_link") 2>conftest.er1
18641 ac_status=$? 21364 ac_status=$?
18642 grep -v '^ *+' conftest.er1 >conftest.err 21365 grep -v '^ *+' conftest.er1 >conftest.err
18643 rm -f conftest.er1 21366 rm -f conftest.er1
18644 cat conftest.err >&5 21367 cat conftest.err >&5
18645 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18646 (exit $ac_status); } && 21369 (exit $ac_status); } &&
18647 { ac_try='test -z "$ac_c_werror_flag" 21370 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18648 || test ! -s conftest.err' 21371 { (case "(($ac_try" in
18649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18650 (eval $ac_try) 2>&5 21373 *) ac_try_echo=$ac_try;;
21374 esac
21375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21376 (eval "$ac_try") 2>&5
18651 ac_status=$? 21377 ac_status=$?
18652 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18653 (exit $ac_status); }; } && 21379 (exit $ac_status); }; } &&
18654 { ac_try='test -s conftest$ac_exeext' 21380 { ac_try='test -s conftest$ac_exeext'
18655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21381 { (case "(($ac_try" in
18656 (eval $ac_try) 2>&5 21382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21383 *) ac_try_echo=$ac_try;;
21384 esac
21385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21386 (eval "$ac_try") 2>&5
18657 ac_status=$? 21387 ac_status=$?
18658 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18659 (exit $ac_status); }; }; then 21389 (exit $ac_status); }; }; then
18660 ac_cv_func___res_send=yes 21390 ac_cv_func___res_send=yes
18661 else 21391 else
18662 echo "$as_me: failed program was:" >&5 21392 echo "$as_me: failed program was:" >&5
18663 sed 's/^/| /' conftest.$ac_ext >&5 21393 sed 's/^/| /' conftest.$ac_ext >&5
18664 21394
18665 ac_cv_func___res_send=no 21395 ac_cv_func___res_send=no
18666 fi 21396 fi
18667 rm -f conftest.err conftest.$ac_objext \ 21397
21398 rm -f core conftest.err conftest.$ac_objext \
18668 conftest$ac_exeext conftest.$ac_ext 21399 conftest$ac_exeext conftest.$ac_ext
18669 fi 21400 fi
18670 echo "$as_me:$LINENO: result: $ac_cv_func___res_send" >&5 21401 { echo "$as_me:$LINENO: result: $ac_cv_func___res_send" >&5
18671 echo "${ECHO_T}$ac_cv_func___res_send" >&6 21402 echo "${ECHO_T}$ac_cv_func___res_send" >&6; }
18672 if test $ac_cv_func___res_send = yes; then 21403 if test $ac_cv_func___res_send = yes; then
18673 : 21404 :
18674 else 21405 else
18675 echo "$as_me:$LINENO: checking for res_send in -lresolv" >&5 21406 { echo "$as_me:$LINENO: checking for res_send in -lresolv" >&5
18676 echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6 21407 echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6; }
18677 if test "${ac_cv_lib_resolv_res_send+set}" = set; then 21408 if test "${ac_cv_lib_resolv_res_send+set}" = set; then
18678 echo $ECHO_N "(cached) $ECHO_C" >&6 21409 echo $ECHO_N "(cached) $ECHO_C" >&6
18679 else 21410 else
18680 ac_check_lib_save_LIBS=$LIBS 21411 ac_check_lib_save_LIBS=$LIBS
18681 LIBS="-lresolv $LIBS" 21412 LIBS="-lresolv $LIBS"
18684 _ACEOF 21415 _ACEOF
18685 cat confdefs.h >>conftest.$ac_ext 21416 cat confdefs.h >>conftest.$ac_ext
18686 cat >>conftest.$ac_ext <<_ACEOF 21417 cat >>conftest.$ac_ext <<_ACEOF
18687 /* end confdefs.h. */ 21418 /* end confdefs.h. */
18688 21419
18689 /* Override any gcc2 internal prototype to avoid an error. */ 21420 /* Override any GCC internal prototype to avoid an error.
21421 Use char because int might match the return type of a GCC
21422 builtin and then its argument prototype would still apply. */
18690 #ifdef __cplusplus 21423 #ifdef __cplusplus
18691 extern "C" 21424 extern "C"
18692 #endif 21425 #endif
18693 /* We use char because int might match the return type of a gcc2
18694 builtin and then its argument prototype would still apply. */
18695 char res_send (); 21426 char res_send ();
18696 int 21427 int
18697 main () 21428 main ()
18698 { 21429 {
18699 res_send (); 21430 return res_send ();
18700 ; 21431 ;
18701 return 0; 21432 return 0;
18702 } 21433 }
18703 _ACEOF 21434 _ACEOF
18704 rm -f conftest.$ac_objext conftest$ac_exeext 21435 rm -f conftest.$ac_objext conftest$ac_exeext
18705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 21436 if { (ac_try="$ac_link"
18706 (eval $ac_link) 2>conftest.er1 21437 case "(($ac_try" in
21438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21439 *) ac_try_echo=$ac_try;;
21440 esac
21441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21442 (eval "$ac_link") 2>conftest.er1
18707 ac_status=$? 21443 ac_status=$?
18708 grep -v '^ *+' conftest.er1 >conftest.err 21444 grep -v '^ *+' conftest.er1 >conftest.err
18709 rm -f conftest.er1 21445 rm -f conftest.er1
18710 cat conftest.err >&5 21446 cat conftest.err >&5
18711 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18712 (exit $ac_status); } && 21448 (exit $ac_status); } &&
18713 { ac_try='test -z "$ac_c_werror_flag" 21449 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18714 || test ! -s conftest.err' 21450 { (case "(($ac_try" in
18715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18716 (eval $ac_try) 2>&5 21452 *) ac_try_echo=$ac_try;;
21453 esac
21454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21455 (eval "$ac_try") 2>&5
18717 ac_status=$? 21456 ac_status=$?
18718 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18719 (exit $ac_status); }; } && 21458 (exit $ac_status); }; } &&
18720 { ac_try='test -s conftest$ac_exeext' 21459 { ac_try='test -s conftest$ac_exeext'
18721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21460 { (case "(($ac_try" in
18722 (eval $ac_try) 2>&5 21461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21462 *) ac_try_echo=$ac_try;;
21463 esac
21464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21465 (eval "$ac_try") 2>&5
18723 ac_status=$? 21466 ac_status=$?
18724 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18725 (exit $ac_status); }; }; then 21468 (exit $ac_status); }; }; then
18726 ac_cv_lib_resolv_res_send=yes 21469 ac_cv_lib_resolv_res_send=yes
18727 else 21470 else
18728 echo "$as_me: failed program was:" >&5 21471 echo "$as_me: failed program was:" >&5
18729 sed 's/^/| /' conftest.$ac_ext >&5 21472 sed 's/^/| /' conftest.$ac_ext >&5
18730 21473
18731 ac_cv_lib_resolv_res_send=no 21474 ac_cv_lib_resolv_res_send=no
18732 fi 21475 fi
18733 rm -f conftest.err conftest.$ac_objext \ 21476
21477 rm -f core conftest.err conftest.$ac_objext \
18734 conftest$ac_exeext conftest.$ac_ext 21478 conftest$ac_exeext conftest.$ac_ext
18735 LIBS=$ac_check_lib_save_LIBS 21479 LIBS=$ac_check_lib_save_LIBS
18736 fi 21480 fi
18737 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_send" >&5 21481 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_send" >&5
18738 echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6 21482 echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6; }
18739 if test $ac_cv_lib_resolv_res_send = yes; then 21483 if test $ac_cv_lib_resolv_res_send = yes; then
18740 resolv=yes 21484 resolv=yes
18741 else 21485 else
18742 echo "$as_me:$LINENO: checking for __res_send in -lresolv" >&5 21486 { echo "$as_me:$LINENO: checking for __res_send in -lresolv" >&5
18743 echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6 21487 echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6; }
18744 if test "${ac_cv_lib_resolv___res_send+set}" = set; then 21488 if test "${ac_cv_lib_resolv___res_send+set}" = set; then
18745 echo $ECHO_N "(cached) $ECHO_C" >&6 21489 echo $ECHO_N "(cached) $ECHO_C" >&6
18746 else 21490 else
18747 ac_check_lib_save_LIBS=$LIBS 21491 ac_check_lib_save_LIBS=$LIBS
18748 LIBS="-lresolv $LIBS" 21492 LIBS="-lresolv $LIBS"
18751 _ACEOF 21495 _ACEOF
18752 cat confdefs.h >>conftest.$ac_ext 21496 cat confdefs.h >>conftest.$ac_ext
18753 cat >>conftest.$ac_ext <<_ACEOF 21497 cat >>conftest.$ac_ext <<_ACEOF
18754 /* end confdefs.h. */ 21498 /* end confdefs.h. */
18755 21499
18756 /* Override any gcc2 internal prototype to avoid an error. */ 21500 /* Override any GCC internal prototype to avoid an error.
21501 Use char because int might match the return type of a GCC
21502 builtin and then its argument prototype would still apply. */
18757 #ifdef __cplusplus 21503 #ifdef __cplusplus
18758 extern "C" 21504 extern "C"
18759 #endif 21505 #endif
18760 /* We use char because int might match the return type of a gcc2
18761 builtin and then its argument prototype would still apply. */
18762 char __res_send (); 21506 char __res_send ();
18763 int 21507 int
18764 main () 21508 main ()
18765 { 21509 {
18766 __res_send (); 21510 return __res_send ();
18767 ; 21511 ;
18768 return 0; 21512 return 0;
18769 } 21513 }
18770 _ACEOF 21514 _ACEOF
18771 rm -f conftest.$ac_objext conftest$ac_exeext 21515 rm -f conftest.$ac_objext conftest$ac_exeext
18772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 21516 if { (ac_try="$ac_link"
18773 (eval $ac_link) 2>conftest.er1 21517 case "(($ac_try" in
21518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21519 *) ac_try_echo=$ac_try;;
21520 esac
21521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21522 (eval "$ac_link") 2>conftest.er1
18774 ac_status=$? 21523 ac_status=$?
18775 grep -v '^ *+' conftest.er1 >conftest.err 21524 grep -v '^ *+' conftest.er1 >conftest.err
18776 rm -f conftest.er1 21525 rm -f conftest.er1
18777 cat conftest.err >&5 21526 cat conftest.err >&5
18778 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18779 (exit $ac_status); } && 21528 (exit $ac_status); } &&
18780 { ac_try='test -z "$ac_c_werror_flag" 21529 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18781 || test ! -s conftest.err' 21530 { (case "(($ac_try" in
18782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18783 (eval $ac_try) 2>&5 21532 *) ac_try_echo=$ac_try;;
21533 esac
21534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21535 (eval "$ac_try") 2>&5
18784 ac_status=$? 21536 ac_status=$?
18785 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18786 (exit $ac_status); }; } && 21538 (exit $ac_status); }; } &&
18787 { ac_try='test -s conftest$ac_exeext' 21539 { ac_try='test -s conftest$ac_exeext'
18788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21540 { (case "(($ac_try" in
18789 (eval $ac_try) 2>&5 21541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21542 *) ac_try_echo=$ac_try;;
21543 esac
21544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21545 (eval "$ac_try") 2>&5
18790 ac_status=$? 21546 ac_status=$?
18791 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18792 (exit $ac_status); }; }; then 21548 (exit $ac_status); }; }; then
18793 ac_cv_lib_resolv___res_send=yes 21549 ac_cv_lib_resolv___res_send=yes
18794 else 21550 else
18795 echo "$as_me: failed program was:" >&5 21551 echo "$as_me: failed program was:" >&5
18796 sed 's/^/| /' conftest.$ac_ext >&5 21552 sed 's/^/| /' conftest.$ac_ext >&5
18797 21553
18798 ac_cv_lib_resolv___res_send=no 21554 ac_cv_lib_resolv___res_send=no
18799 fi 21555 fi
18800 rm -f conftest.err conftest.$ac_objext \ 21556
21557 rm -f core conftest.err conftest.$ac_objext \
18801 conftest$ac_exeext conftest.$ac_ext 21558 conftest$ac_exeext conftest.$ac_ext
18802 LIBS=$ac_check_lib_save_LIBS 21559 LIBS=$ac_check_lib_save_LIBS
18803 fi 21560 fi
18804 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___res_send" >&5 21561 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___res_send" >&5
18805 echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6 21562 echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6; }
18806 if test $ac_cv_lib_resolv___res_send = yes; then 21563 if test $ac_cv_lib_resolv___res_send = yes; then
18807 resolv=yes 21564 resolv=yes
18808 fi 21565 fi
18809 21566
18810 fi 21567 fi
18821 _ACEOF 21578 _ACEOF
18822 21579
18823 else 21580 else
18824 RESOLVLIB= 21581 RESOLVLIB=
18825 fi 21582 fi
18826 echo "$as_me:$LINENO: checking for hes_getmailhost" >&5 21583 { echo "$as_me:$LINENO: checking for hes_getmailhost" >&5
18827 echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6 21584 echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6; }
18828 if test "${ac_cv_func_hes_getmailhost+set}" = set; then 21585 if test "${ac_cv_func_hes_getmailhost+set}" = set; then
18829 echo $ECHO_N "(cached) $ECHO_C" >&6 21586 echo $ECHO_N "(cached) $ECHO_C" >&6
18830 else 21587 else
18831 cat >conftest.$ac_ext <<_ACEOF 21588 cat >conftest.$ac_ext <<_ACEOF
18832 /* confdefs.h. */ 21589 /* confdefs.h. */
18849 # include <assert.h> 21606 # include <assert.h>
18850 #endif 21607 #endif
18851 21608
18852 #undef hes_getmailhost 21609 #undef hes_getmailhost
18853 21610
18854 /* Override any gcc2 internal prototype to avoid an error. */ 21611 /* Override any GCC internal prototype to avoid an error.
21612 Use char because int might match the return type of a GCC
21613 builtin and then its argument prototype would still apply. */
18855 #ifdef __cplusplus 21614 #ifdef __cplusplus
18856 extern "C" 21615 extern "C"
18857 {
18858 #endif 21616 #endif
18859 /* We use char because int might match the return type of a gcc2
18860 builtin and then its argument prototype would still apply. */
18861 char hes_getmailhost (); 21617 char hes_getmailhost ();
18862 /* The GNU C library defines this for functions which it implements 21618 /* The GNU C library defines this for functions which it implements
18863 to always fail with ENOSYS. Some functions are actually named 21619 to always fail with ENOSYS. Some functions are actually named
18864 something starting with __ and the normal name is an alias. */ 21620 something starting with __ and the normal name is an alias. */
18865 #if defined (__stub_hes_getmailhost) || defined (__stub___hes_getmailhost) 21621 #if defined __stub_hes_getmailhost || defined __stub___hes_getmailhost
18866 choke me 21622 choke me
18867 #else
18868 char (*f) () = hes_getmailhost;
18869 #endif
18870 #ifdef __cplusplus
18871 }
18872 #endif 21623 #endif
18873 21624
18874 int 21625 int
18875 main () 21626 main ()
18876 { 21627 {
18877 return f != hes_getmailhost; 21628 return hes_getmailhost ();
18878 ; 21629 ;
18879 return 0; 21630 return 0;
18880 } 21631 }
18881 _ACEOF 21632 _ACEOF
18882 rm -f conftest.$ac_objext conftest$ac_exeext 21633 rm -f conftest.$ac_objext conftest$ac_exeext
18883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 21634 if { (ac_try="$ac_link"
18884 (eval $ac_link) 2>conftest.er1 21635 case "(($ac_try" in
21636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21637 *) ac_try_echo=$ac_try;;
21638 esac
21639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21640 (eval "$ac_link") 2>conftest.er1
18885 ac_status=$? 21641 ac_status=$?
18886 grep -v '^ *+' conftest.er1 >conftest.err 21642 grep -v '^ *+' conftest.er1 >conftest.err
18887 rm -f conftest.er1 21643 rm -f conftest.er1
18888 cat conftest.err >&5 21644 cat conftest.err >&5
18889 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18890 (exit $ac_status); } && 21646 (exit $ac_status); } &&
18891 { ac_try='test -z "$ac_c_werror_flag" 21647 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18892 || test ! -s conftest.err' 21648 { (case "(($ac_try" in
18893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18894 (eval $ac_try) 2>&5 21650 *) ac_try_echo=$ac_try;;
21651 esac
21652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21653 (eval "$ac_try") 2>&5
18895 ac_status=$? 21654 ac_status=$?
18896 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18897 (exit $ac_status); }; } && 21656 (exit $ac_status); }; } &&
18898 { ac_try='test -s conftest$ac_exeext' 21657 { ac_try='test -s conftest$ac_exeext'
18899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21658 { (case "(($ac_try" in
18900 (eval $ac_try) 2>&5 21659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21660 *) ac_try_echo=$ac_try;;
21661 esac
21662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21663 (eval "$ac_try") 2>&5
18901 ac_status=$? 21664 ac_status=$?
18902 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18903 (exit $ac_status); }; }; then 21666 (exit $ac_status); }; }; then
18904 ac_cv_func_hes_getmailhost=yes 21667 ac_cv_func_hes_getmailhost=yes
18905 else 21668 else
18906 echo "$as_me: failed program was:" >&5 21669 echo "$as_me: failed program was:" >&5
18907 sed 's/^/| /' conftest.$ac_ext >&5 21670 sed 's/^/| /' conftest.$ac_ext >&5
18908 21671
18909 ac_cv_func_hes_getmailhost=no 21672 ac_cv_func_hes_getmailhost=no
18910 fi 21673 fi
18911 rm -f conftest.err conftest.$ac_objext \ 21674
21675 rm -f core conftest.err conftest.$ac_objext \
18912 conftest$ac_exeext conftest.$ac_ext 21676 conftest$ac_exeext conftest.$ac_ext
18913 fi 21677 fi
18914 echo "$as_me:$LINENO: result: $ac_cv_func_hes_getmailhost" >&5 21678 { echo "$as_me:$LINENO: result: $ac_cv_func_hes_getmailhost" >&5
18915 echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6 21679 echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6; }
18916 if test $ac_cv_func_hes_getmailhost = yes; then 21680 if test $ac_cv_func_hes_getmailhost = yes; then
18917 : 21681 :
18918 else 21682 else
18919 echo "$as_me:$LINENO: checking for hes_getmailhost in -lhesiod" >&5 21683 { echo "$as_me:$LINENO: checking for hes_getmailhost in -lhesiod" >&5
18920 echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6 21684 echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6; }
18921 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then 21685 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then
18922 echo $ECHO_N "(cached) $ECHO_C" >&6 21686 echo $ECHO_N "(cached) $ECHO_C" >&6
18923 else 21687 else
18924 ac_check_lib_save_LIBS=$LIBS 21688 ac_check_lib_save_LIBS=$LIBS
18925 LIBS="-lhesiod $RESOLVLIB $LIBS" 21689 LIBS="-lhesiod $RESOLVLIB $LIBS"
18928 _ACEOF 21692 _ACEOF
18929 cat confdefs.h >>conftest.$ac_ext 21693 cat confdefs.h >>conftest.$ac_ext
18930 cat >>conftest.$ac_ext <<_ACEOF 21694 cat >>conftest.$ac_ext <<_ACEOF
18931 /* end confdefs.h. */ 21695 /* end confdefs.h. */
18932 21696
18933 /* Override any gcc2 internal prototype to avoid an error. */ 21697 /* Override any GCC internal prototype to avoid an error.
21698 Use char because int might match the return type of a GCC
21699 builtin and then its argument prototype would still apply. */
18934 #ifdef __cplusplus 21700 #ifdef __cplusplus
18935 extern "C" 21701 extern "C"
18936 #endif 21702 #endif
18937 /* We use char because int might match the return type of a gcc2
18938 builtin and then its argument prototype would still apply. */
18939 char hes_getmailhost (); 21703 char hes_getmailhost ();
18940 int 21704 int
18941 main () 21705 main ()
18942 { 21706 {
18943 hes_getmailhost (); 21707 return hes_getmailhost ();
18944 ; 21708 ;
18945 return 0; 21709 return 0;
18946 } 21710 }
18947 _ACEOF 21711 _ACEOF
18948 rm -f conftest.$ac_objext conftest$ac_exeext 21712 rm -f conftest.$ac_objext conftest$ac_exeext
18949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 21713 if { (ac_try="$ac_link"
18950 (eval $ac_link) 2>conftest.er1 21714 case "(($ac_try" in
21715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21716 *) ac_try_echo=$ac_try;;
21717 esac
21718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21719 (eval "$ac_link") 2>conftest.er1
18951 ac_status=$? 21720 ac_status=$?
18952 grep -v '^ *+' conftest.er1 >conftest.err 21721 grep -v '^ *+' conftest.er1 >conftest.err
18953 rm -f conftest.er1 21722 rm -f conftest.er1
18954 cat conftest.err >&5 21723 cat conftest.err >&5
18955 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18956 (exit $ac_status); } && 21725 (exit $ac_status); } &&
18957 { ac_try='test -z "$ac_c_werror_flag" 21726 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18958 || test ! -s conftest.err' 21727 { (case "(($ac_try" in
18959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18960 (eval $ac_try) 2>&5 21729 *) ac_try_echo=$ac_try;;
21730 esac
21731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21732 (eval "$ac_try") 2>&5
18961 ac_status=$? 21733 ac_status=$?
18962 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18963 (exit $ac_status); }; } && 21735 (exit $ac_status); }; } &&
18964 { ac_try='test -s conftest$ac_exeext' 21736 { ac_try='test -s conftest$ac_exeext'
18965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21737 { (case "(($ac_try" in
18966 (eval $ac_try) 2>&5 21738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21739 *) ac_try_echo=$ac_try;;
21740 esac
21741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21742 (eval "$ac_try") 2>&5
18967 ac_status=$? 21743 ac_status=$?
18968 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18969 (exit $ac_status); }; }; then 21745 (exit $ac_status); }; }; then
18970 ac_cv_lib_hesiod_hes_getmailhost=yes 21746 ac_cv_lib_hesiod_hes_getmailhost=yes
18971 else 21747 else
18972 echo "$as_me: failed program was:" >&5 21748 echo "$as_me: failed program was:" >&5
18973 sed 's/^/| /' conftest.$ac_ext >&5 21749 sed 's/^/| /' conftest.$ac_ext >&5
18974 21750
18975 ac_cv_lib_hesiod_hes_getmailhost=no 21751 ac_cv_lib_hesiod_hes_getmailhost=no
18976 fi 21752 fi
18977 rm -f conftest.err conftest.$ac_objext \ 21753
21754 rm -f core conftest.err conftest.$ac_objext \
18978 conftest$ac_exeext conftest.$ac_ext 21755 conftest$ac_exeext conftest.$ac_ext
18979 LIBS=$ac_check_lib_save_LIBS 21756 LIBS=$ac_check_lib_save_LIBS
18980 fi 21757 fi
18981 echo "$as_me:$LINENO: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 21758 { echo "$as_me:$LINENO: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
18982 echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6 21759 echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6; }
18983 if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then 21760 if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then
18984 21761
18985 cat >>confdefs.h <<\_ACEOF 21762 cat >>confdefs.h <<\_ACEOF
18986 #define HAVE_LIBHESIOD 1 21763 #define HAVE_LIBHESIOD 1
18987 _ACEOF 21764 _ACEOF
18995 fi 21772 fi
18996 21773
18997 # These tell us which Kerberos-related libraries to use. 21774 # These tell us which Kerberos-related libraries to use.
18998 if test "${with_kerberos+set}" = set; then 21775 if test "${with_kerberos+set}" = set; then
18999 21776
19000 echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5 21777 { echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5
19001 echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6 21778 echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6; }
19002 if test "${ac_cv_lib_com_err_com_err+set}" = set; then 21779 if test "${ac_cv_lib_com_err_com_err+set}" = set; then
19003 echo $ECHO_N "(cached) $ECHO_C" >&6 21780 echo $ECHO_N "(cached) $ECHO_C" >&6
19004 else 21781 else
19005 ac_check_lib_save_LIBS=$LIBS 21782 ac_check_lib_save_LIBS=$LIBS
19006 LIBS="-lcom_err $LIBS" 21783 LIBS="-lcom_err $LIBS"
19009 _ACEOF 21786 _ACEOF
19010 cat confdefs.h >>conftest.$ac_ext 21787 cat confdefs.h >>conftest.$ac_ext
19011 cat >>conftest.$ac_ext <<_ACEOF 21788 cat >>conftest.$ac_ext <<_ACEOF
19012 /* end confdefs.h. */ 21789 /* end confdefs.h. */
19013 21790
19014 /* Override any gcc2 internal prototype to avoid an error. */ 21791 /* Override any GCC internal prototype to avoid an error.
21792 Use char because int might match the return type of a GCC
21793 builtin and then its argument prototype would still apply. */
19015 #ifdef __cplusplus 21794 #ifdef __cplusplus
19016 extern "C" 21795 extern "C"
19017 #endif 21796 #endif
19018 /* We use char because int might match the return type of a gcc2
19019 builtin and then its argument prototype would still apply. */
19020 char com_err (); 21797 char com_err ();
19021 int 21798 int
19022 main () 21799 main ()
19023 { 21800 {
19024 com_err (); 21801 return com_err ();
19025 ; 21802 ;
19026 return 0; 21803 return 0;
19027 } 21804 }
19028 _ACEOF 21805 _ACEOF
19029 rm -f conftest.$ac_objext conftest$ac_exeext 21806 rm -f conftest.$ac_objext conftest$ac_exeext
19030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 21807 if { (ac_try="$ac_link"
19031 (eval $ac_link) 2>conftest.er1 21808 case "(($ac_try" in
21809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21810 *) ac_try_echo=$ac_try;;
21811 esac
21812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21813 (eval "$ac_link") 2>conftest.er1
19032 ac_status=$? 21814 ac_status=$?
19033 grep -v '^ *+' conftest.er1 >conftest.err 21815 grep -v '^ *+' conftest.er1 >conftest.err
19034 rm -f conftest.er1 21816 rm -f conftest.er1
19035 cat conftest.err >&5 21817 cat conftest.err >&5
19036 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19037 (exit $ac_status); } && 21819 (exit $ac_status); } &&
19038 { ac_try='test -z "$ac_c_werror_flag" 21820 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19039 || test ! -s conftest.err' 21821 { (case "(($ac_try" in
19040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19041 (eval $ac_try) 2>&5 21823 *) ac_try_echo=$ac_try;;
21824 esac
21825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21826 (eval "$ac_try") 2>&5
19042 ac_status=$? 21827 ac_status=$?
19043 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19044 (exit $ac_status); }; } && 21829 (exit $ac_status); }; } &&
19045 { ac_try='test -s conftest$ac_exeext' 21830 { ac_try='test -s conftest$ac_exeext'
19046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21831 { (case "(($ac_try" in
19047 (eval $ac_try) 2>&5 21832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21833 *) ac_try_echo=$ac_try;;
21834 esac
21835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21836 (eval "$ac_try") 2>&5
19048 ac_status=$? 21837 ac_status=$?
19049 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19050 (exit $ac_status); }; }; then 21839 (exit $ac_status); }; }; then
19051 ac_cv_lib_com_err_com_err=yes 21840 ac_cv_lib_com_err_com_err=yes
19052 else 21841 else
19053 echo "$as_me: failed program was:" >&5 21842 echo "$as_me: failed program was:" >&5
19054 sed 's/^/| /' conftest.$ac_ext >&5 21843 sed 's/^/| /' conftest.$ac_ext >&5
19055 21844
19056 ac_cv_lib_com_err_com_err=no 21845 ac_cv_lib_com_err_com_err=no
19057 fi 21846 fi
19058 rm -f conftest.err conftest.$ac_objext \ 21847
21848 rm -f core conftest.err conftest.$ac_objext \
19059 conftest$ac_exeext conftest.$ac_ext 21849 conftest$ac_exeext conftest.$ac_ext
19060 LIBS=$ac_check_lib_save_LIBS 21850 LIBS=$ac_check_lib_save_LIBS
19061 fi 21851 fi
19062 echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5 21852 { echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5
19063 echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6 21853 echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6; }
19064 if test $ac_cv_lib_com_err_com_err = yes; then 21854 if test $ac_cv_lib_com_err_com_err = yes; then
19065 cat >>confdefs.h <<_ACEOF 21855 cat >>confdefs.h <<_ACEOF
19066 #define HAVE_LIBCOM_ERR 1 21856 #define HAVE_LIBCOM_ERR 1
19067 _ACEOF 21857 _ACEOF
19068 21858
19069 LIBS="-lcom_err $LIBS" 21859 LIBS="-lcom_err $LIBS"
19070 21860
19071 fi 21861 fi
19072 21862
19073 21863
19074 echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 21864 { echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
19075 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6 21865 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6; }
19076 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then 21866 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then
19077 echo $ECHO_N "(cached) $ECHO_C" >&6 21867 echo $ECHO_N "(cached) $ECHO_C" >&6
19078 else 21868 else
19079 ac_check_lib_save_LIBS=$LIBS 21869 ac_check_lib_save_LIBS=$LIBS
19080 LIBS="-lk5crypto $LIBS" 21870 LIBS="-lk5crypto $LIBS"
19083 _ACEOF 21873 _ACEOF
19084 cat confdefs.h >>conftest.$ac_ext 21874 cat confdefs.h >>conftest.$ac_ext
19085 cat >>conftest.$ac_ext <<_ACEOF 21875 cat >>conftest.$ac_ext <<_ACEOF
19086 /* end confdefs.h. */ 21876 /* end confdefs.h. */
19087 21877
19088 /* Override any gcc2 internal prototype to avoid an error. */ 21878 /* Override any GCC internal prototype to avoid an error.
21879 Use char because int might match the return type of a GCC
21880 builtin and then its argument prototype would still apply. */
19089 #ifdef __cplusplus 21881 #ifdef __cplusplus
19090 extern "C" 21882 extern "C"
19091 #endif 21883 #endif
19092 /* We use char because int might match the return type of a gcc2
19093 builtin and then its argument prototype would still apply. */
19094 char mit_des_cbc_encrypt (); 21884 char mit_des_cbc_encrypt ();
19095 int 21885 int
19096 main () 21886 main ()
19097 { 21887 {
19098 mit_des_cbc_encrypt (); 21888 return mit_des_cbc_encrypt ();
19099 ; 21889 ;
19100 return 0; 21890 return 0;
19101 } 21891 }
19102 _ACEOF 21892 _ACEOF
19103 rm -f conftest.$ac_objext conftest$ac_exeext 21893 rm -f conftest.$ac_objext conftest$ac_exeext
19104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 21894 if { (ac_try="$ac_link"
19105 (eval $ac_link) 2>conftest.er1 21895 case "(($ac_try" in
21896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21897 *) ac_try_echo=$ac_try;;
21898 esac
21899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21900 (eval "$ac_link") 2>conftest.er1
19106 ac_status=$? 21901 ac_status=$?
19107 grep -v '^ *+' conftest.er1 >conftest.err 21902 grep -v '^ *+' conftest.er1 >conftest.err
19108 rm -f conftest.er1 21903 rm -f conftest.er1
19109 cat conftest.err >&5 21904 cat conftest.err >&5
19110 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19111 (exit $ac_status); } && 21906 (exit $ac_status); } &&
19112 { ac_try='test -z "$ac_c_werror_flag" 21907 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19113 || test ! -s conftest.err' 21908 { (case "(($ac_try" in
19114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19115 (eval $ac_try) 2>&5 21910 *) ac_try_echo=$ac_try;;
21911 esac
21912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21913 (eval "$ac_try") 2>&5
19116 ac_status=$? 21914 ac_status=$?
19117 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19118 (exit $ac_status); }; } && 21916 (exit $ac_status); }; } &&
19119 { ac_try='test -s conftest$ac_exeext' 21917 { ac_try='test -s conftest$ac_exeext'
19120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21918 { (case "(($ac_try" in
19121 (eval $ac_try) 2>&5 21919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21920 *) ac_try_echo=$ac_try;;
21921 esac
21922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21923 (eval "$ac_try") 2>&5
19122 ac_status=$? 21924 ac_status=$?
19123 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19124 (exit $ac_status); }; }; then 21926 (exit $ac_status); }; }; then
19125 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes 21927 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes
19126 else 21928 else
19127 echo "$as_me: failed program was:" >&5 21929 echo "$as_me: failed program was:" >&5
19128 sed 's/^/| /' conftest.$ac_ext >&5 21930 sed 's/^/| /' conftest.$ac_ext >&5
19129 21931
19130 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no 21932 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no
19131 fi 21933 fi
19132 rm -f conftest.err conftest.$ac_objext \ 21934
21935 rm -f core conftest.err conftest.$ac_objext \
19133 conftest$ac_exeext conftest.$ac_ext 21936 conftest$ac_exeext conftest.$ac_ext
19134 LIBS=$ac_check_lib_save_LIBS 21937 LIBS=$ac_check_lib_save_LIBS
19135 fi 21938 fi
19136 echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 21939 { echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
19137 echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6 21940 echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6; }
19138 if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then 21941 if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then
19139 cat >>confdefs.h <<_ACEOF 21942 cat >>confdefs.h <<_ACEOF
19140 #define HAVE_LIBK5CRYPTO 1 21943 #define HAVE_LIBK5CRYPTO 1
19141 _ACEOF 21944 _ACEOF
19142 21945
19143 LIBS="-lk5crypto $LIBS" 21946 LIBS="-lk5crypto $LIBS"
19144 21947
19145 fi 21948 fi
19146 21949
19147 21950
19148 echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lcrypto" >&5 21951 { echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lcrypto" >&5
19149 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6 21952 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6; }
19150 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then 21953 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then
19151 echo $ECHO_N "(cached) $ECHO_C" >&6 21954 echo $ECHO_N "(cached) $ECHO_C" >&6
19152 else 21955 else
19153 ac_check_lib_save_LIBS=$LIBS 21956 ac_check_lib_save_LIBS=$LIBS
19154 LIBS="-lcrypto $LIBS" 21957 LIBS="-lcrypto $LIBS"
19157 _ACEOF 21960 _ACEOF
19158 cat confdefs.h >>conftest.$ac_ext 21961 cat confdefs.h >>conftest.$ac_ext
19159 cat >>conftest.$ac_ext <<_ACEOF 21962 cat >>conftest.$ac_ext <<_ACEOF
19160 /* end confdefs.h. */ 21963 /* end confdefs.h. */
19161 21964
19162 /* Override any gcc2 internal prototype to avoid an error. */ 21965 /* Override any GCC internal prototype to avoid an error.
21966 Use char because int might match the return type of a GCC
21967 builtin and then its argument prototype would still apply. */
19163 #ifdef __cplusplus 21968 #ifdef __cplusplus
19164 extern "C" 21969 extern "C"
19165 #endif 21970 #endif
19166 /* We use char because int might match the return type of a gcc2
19167 builtin and then its argument prototype would still apply. */
19168 char mit_des_cbc_encrypt (); 21971 char mit_des_cbc_encrypt ();
19169 int 21972 int
19170 main () 21973 main ()
19171 { 21974 {
19172 mit_des_cbc_encrypt (); 21975 return mit_des_cbc_encrypt ();
19173 ; 21976 ;
19174 return 0; 21977 return 0;
19175 } 21978 }
19176 _ACEOF 21979 _ACEOF
19177 rm -f conftest.$ac_objext conftest$ac_exeext 21980 rm -f conftest.$ac_objext conftest$ac_exeext
19178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 21981 if { (ac_try="$ac_link"
19179 (eval $ac_link) 2>conftest.er1 21982 case "(($ac_try" in
21983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21984 *) ac_try_echo=$ac_try;;
21985 esac
21986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21987 (eval "$ac_link") 2>conftest.er1
19180 ac_status=$? 21988 ac_status=$?
19181 grep -v '^ *+' conftest.er1 >conftest.err 21989 grep -v '^ *+' conftest.er1 >conftest.err
19182 rm -f conftest.er1 21990 rm -f conftest.er1
19183 cat conftest.err >&5 21991 cat conftest.err >&5
19184 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19185 (exit $ac_status); } && 21993 (exit $ac_status); } &&
19186 { ac_try='test -z "$ac_c_werror_flag" 21994 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19187 || test ! -s conftest.err' 21995 { (case "(($ac_try" in
19188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19189 (eval $ac_try) 2>&5 21997 *) ac_try_echo=$ac_try;;
21998 esac
21999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22000 (eval "$ac_try") 2>&5
19190 ac_status=$? 22001 ac_status=$?
19191 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19192 (exit $ac_status); }; } && 22003 (exit $ac_status); }; } &&
19193 { ac_try='test -s conftest$ac_exeext' 22004 { ac_try='test -s conftest$ac_exeext'
19194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22005 { (case "(($ac_try" in
19195 (eval $ac_try) 2>&5 22006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22007 *) ac_try_echo=$ac_try;;
22008 esac
22009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22010 (eval "$ac_try") 2>&5
19196 ac_status=$? 22011 ac_status=$?
19197 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19198 (exit $ac_status); }; }; then 22013 (exit $ac_status); }; }; then
19199 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes 22014 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes
19200 else 22015 else
19201 echo "$as_me: failed program was:" >&5 22016 echo "$as_me: failed program was:" >&5
19202 sed 's/^/| /' conftest.$ac_ext >&5 22017 sed 's/^/| /' conftest.$ac_ext >&5
19203 22018
19204 ac_cv_lib_crypto_mit_des_cbc_encrypt=no 22019 ac_cv_lib_crypto_mit_des_cbc_encrypt=no
19205 fi 22020 fi
19206 rm -f conftest.err conftest.$ac_objext \ 22021
22022 rm -f core conftest.err conftest.$ac_objext \
19207 conftest$ac_exeext conftest.$ac_ext 22023 conftest$ac_exeext conftest.$ac_ext
19208 LIBS=$ac_check_lib_save_LIBS 22024 LIBS=$ac_check_lib_save_LIBS
19209 fi 22025 fi
19210 echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 22026 { echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
19211 echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6 22027 echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6; }
19212 if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then 22028 if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then
19213 cat >>confdefs.h <<_ACEOF 22029 cat >>confdefs.h <<_ACEOF
19214 #define HAVE_LIBCRYPTO 1 22030 #define HAVE_LIBCRYPTO 1
19215 _ACEOF 22031 _ACEOF
19216 22032
19217 LIBS="-lcrypto $LIBS" 22033 LIBS="-lcrypto $LIBS"
19218 22034
19219 fi 22035 fi
19220 22036
19221 22037
19222 echo "$as_me:$LINENO: checking for krb5_init_context in -lkrb5" >&5 22038 { echo "$as_me:$LINENO: checking for krb5_init_context in -lkrb5" >&5
19223 echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6 22039 echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6; }
19224 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then 22040 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then
19225 echo $ECHO_N "(cached) $ECHO_C" >&6 22041 echo $ECHO_N "(cached) $ECHO_C" >&6
19226 else 22042 else
19227 ac_check_lib_save_LIBS=$LIBS 22043 ac_check_lib_save_LIBS=$LIBS
19228 LIBS="-lkrb5 $LIBS" 22044 LIBS="-lkrb5 $LIBS"
19231 _ACEOF 22047 _ACEOF
19232 cat confdefs.h >>conftest.$ac_ext 22048 cat confdefs.h >>conftest.$ac_ext
19233 cat >>conftest.$ac_ext <<_ACEOF 22049 cat >>conftest.$ac_ext <<_ACEOF
19234 /* end confdefs.h. */ 22050 /* end confdefs.h. */
19235 22051
19236 /* Override any gcc2 internal prototype to avoid an error. */ 22052 /* Override any GCC internal prototype to avoid an error.
22053 Use char because int might match the return type of a GCC
22054 builtin and then its argument prototype would still apply. */
19237 #ifdef __cplusplus 22055 #ifdef __cplusplus
19238 extern "C" 22056 extern "C"
19239 #endif 22057 #endif
19240 /* We use char because int might match the return type of a gcc2
19241 builtin and then its argument prototype would still apply. */
19242 char krb5_init_context (); 22058 char krb5_init_context ();
19243 int 22059 int
19244 main () 22060 main ()
19245 { 22061 {
19246 krb5_init_context (); 22062 return krb5_init_context ();
19247 ; 22063 ;
19248 return 0; 22064 return 0;
19249 } 22065 }
19250 _ACEOF 22066 _ACEOF
19251 rm -f conftest.$ac_objext conftest$ac_exeext 22067 rm -f conftest.$ac_objext conftest$ac_exeext
19252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 22068 if { (ac_try="$ac_link"
19253 (eval $ac_link) 2>conftest.er1 22069 case "(($ac_try" in
22070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22071 *) ac_try_echo=$ac_try;;
22072 esac
22073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22074 (eval "$ac_link") 2>conftest.er1
19254 ac_status=$? 22075 ac_status=$?
19255 grep -v '^ *+' conftest.er1 >conftest.err 22076 grep -v '^ *+' conftest.er1 >conftest.err
19256 rm -f conftest.er1 22077 rm -f conftest.er1
19257 cat conftest.err >&5 22078 cat conftest.err >&5
19258 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19259 (exit $ac_status); } && 22080 (exit $ac_status); } &&
19260 { ac_try='test -z "$ac_c_werror_flag" 22081 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19261 || test ! -s conftest.err' 22082 { (case "(($ac_try" in
19262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19263 (eval $ac_try) 2>&5 22084 *) ac_try_echo=$ac_try;;
22085 esac
22086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22087 (eval "$ac_try") 2>&5
19264 ac_status=$? 22088 ac_status=$?
19265 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19266 (exit $ac_status); }; } && 22090 (exit $ac_status); }; } &&
19267 { ac_try='test -s conftest$ac_exeext' 22091 { ac_try='test -s conftest$ac_exeext'
19268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22092 { (case "(($ac_try" in
19269 (eval $ac_try) 2>&5 22093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22094 *) ac_try_echo=$ac_try;;
22095 esac
22096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22097 (eval "$ac_try") 2>&5
19270 ac_status=$? 22098 ac_status=$?
19271 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19272 (exit $ac_status); }; }; then 22100 (exit $ac_status); }; }; then
19273 ac_cv_lib_krb5_krb5_init_context=yes 22101 ac_cv_lib_krb5_krb5_init_context=yes
19274 else 22102 else
19275 echo "$as_me: failed program was:" >&5 22103 echo "$as_me: failed program was:" >&5
19276 sed 's/^/| /' conftest.$ac_ext >&5 22104 sed 's/^/| /' conftest.$ac_ext >&5
19277 22105
19278 ac_cv_lib_krb5_krb5_init_context=no 22106 ac_cv_lib_krb5_krb5_init_context=no
19279 fi 22107 fi
19280 rm -f conftest.err conftest.$ac_objext \ 22108
22109 rm -f core conftest.err conftest.$ac_objext \
19281 conftest$ac_exeext conftest.$ac_ext 22110 conftest$ac_exeext conftest.$ac_ext
19282 LIBS=$ac_check_lib_save_LIBS 22111 LIBS=$ac_check_lib_save_LIBS
19283 fi 22112 fi
19284 echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_init_context" >&5 22113 { echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_init_context" >&5
19285 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6 22114 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6; }
19286 if test $ac_cv_lib_krb5_krb5_init_context = yes; then 22115 if test $ac_cv_lib_krb5_krb5_init_context = yes; then
19287 cat >>confdefs.h <<_ACEOF 22116 cat >>confdefs.h <<_ACEOF
19288 #define HAVE_LIBKRB5 1 22117 #define HAVE_LIBKRB5 1
19289 _ACEOF 22118 _ACEOF
19290 22119
19292 22121
19293 fi 22122 fi
19294 22123
19295 if test "${with_kerberos5+set}" != set; then 22124 if test "${with_kerberos5+set}" != set; then
19296 22125
19297 echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5 22126 { echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5
19298 echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6 22127 echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6; }
19299 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then 22128 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then
19300 echo $ECHO_N "(cached) $ECHO_C" >&6 22129 echo $ECHO_N "(cached) $ECHO_C" >&6
19301 else 22130 else
19302 ac_check_lib_save_LIBS=$LIBS 22131 ac_check_lib_save_LIBS=$LIBS
19303 LIBS="-ldes425 $LIBS" 22132 LIBS="-ldes425 $LIBS"
19306 _ACEOF 22135 _ACEOF
19307 cat confdefs.h >>conftest.$ac_ext 22136 cat confdefs.h >>conftest.$ac_ext
19308 cat >>conftest.$ac_ext <<_ACEOF 22137 cat >>conftest.$ac_ext <<_ACEOF
19309 /* end confdefs.h. */ 22138 /* end confdefs.h. */
19310 22139
19311 /* Override any gcc2 internal prototype to avoid an error. */ 22140 /* Override any GCC internal prototype to avoid an error.
22141 Use char because int might match the return type of a GCC
22142 builtin and then its argument prototype would still apply. */
19312 #ifdef __cplusplus 22143 #ifdef __cplusplus
19313 extern "C" 22144 extern "C"
19314 #endif 22145 #endif
19315 /* We use char because int might match the return type of a gcc2
19316 builtin and then its argument prototype would still apply. */
19317 char des_cbc_encrypt (); 22146 char des_cbc_encrypt ();
19318 int 22147 int
19319 main () 22148 main ()
19320 { 22149 {
19321 des_cbc_encrypt (); 22150 return des_cbc_encrypt ();
19322 ; 22151 ;
19323 return 0; 22152 return 0;
19324 } 22153 }
19325 _ACEOF 22154 _ACEOF
19326 rm -f conftest.$ac_objext conftest$ac_exeext 22155 rm -f conftest.$ac_objext conftest$ac_exeext
19327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 22156 if { (ac_try="$ac_link"
19328 (eval $ac_link) 2>conftest.er1 22157 case "(($ac_try" in
22158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22159 *) ac_try_echo=$ac_try;;
22160 esac
22161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22162 (eval "$ac_link") 2>conftest.er1
19329 ac_status=$? 22163 ac_status=$?
19330 grep -v '^ *+' conftest.er1 >conftest.err 22164 grep -v '^ *+' conftest.er1 >conftest.err
19331 rm -f conftest.er1 22165 rm -f conftest.er1
19332 cat conftest.err >&5 22166 cat conftest.err >&5
19333 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19334 (exit $ac_status); } && 22168 (exit $ac_status); } &&
19335 { ac_try='test -z "$ac_c_werror_flag" 22169 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19336 || test ! -s conftest.err' 22170 { (case "(($ac_try" in
19337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19338 (eval $ac_try) 2>&5 22172 *) ac_try_echo=$ac_try;;
22173 esac
22174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22175 (eval "$ac_try") 2>&5
19339 ac_status=$? 22176 ac_status=$?
19340 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19341 (exit $ac_status); }; } && 22178 (exit $ac_status); }; } &&
19342 { ac_try='test -s conftest$ac_exeext' 22179 { ac_try='test -s conftest$ac_exeext'
19343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22180 { (case "(($ac_try" in
19344 (eval $ac_try) 2>&5 22181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22182 *) ac_try_echo=$ac_try;;
22183 esac
22184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22185 (eval "$ac_try") 2>&5
19345 ac_status=$? 22186 ac_status=$?
19346 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19347 (exit $ac_status); }; }; then 22188 (exit $ac_status); }; }; then
19348 ac_cv_lib_des425_des_cbc_encrypt=yes 22189 ac_cv_lib_des425_des_cbc_encrypt=yes
19349 else 22190 else
19350 echo "$as_me: failed program was:" >&5 22191 echo "$as_me: failed program was:" >&5
19351 sed 's/^/| /' conftest.$ac_ext >&5 22192 sed 's/^/| /' conftest.$ac_ext >&5
19352 22193
19353 ac_cv_lib_des425_des_cbc_encrypt=no 22194 ac_cv_lib_des425_des_cbc_encrypt=no
19354 fi 22195 fi
19355 rm -f conftest.err conftest.$ac_objext \ 22196
22197 rm -f core conftest.err conftest.$ac_objext \
19356 conftest$ac_exeext conftest.$ac_ext 22198 conftest$ac_exeext conftest.$ac_ext
19357 LIBS=$ac_check_lib_save_LIBS 22199 LIBS=$ac_check_lib_save_LIBS
19358 fi 22200 fi
19359 echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 22201 { echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
19360 echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6 22202 echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6; }
19361 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then 22203 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then
19362 cat >>confdefs.h <<_ACEOF 22204 cat >>confdefs.h <<_ACEOF
19363 #define HAVE_LIBDES425 1 22205 #define HAVE_LIBDES425 1
19364 _ACEOF 22206 _ACEOF
19365 22207
19366 LIBS="-ldes425 $LIBS" 22208 LIBS="-ldes425 $LIBS"
19367 22209
19368 else 22210 else
19369 22211
19370 echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5 22212 { echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5
19371 echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6 22213 echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6; }
19372 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then 22214 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then
19373 echo $ECHO_N "(cached) $ECHO_C" >&6 22215 echo $ECHO_N "(cached) $ECHO_C" >&6
19374 else 22216 else
19375 ac_check_lib_save_LIBS=$LIBS 22217 ac_check_lib_save_LIBS=$LIBS
19376 LIBS="-ldes $LIBS" 22218 LIBS="-ldes $LIBS"
19379 _ACEOF 22221 _ACEOF
19380 cat confdefs.h >>conftest.$ac_ext 22222 cat confdefs.h >>conftest.$ac_ext
19381 cat >>conftest.$ac_ext <<_ACEOF 22223 cat >>conftest.$ac_ext <<_ACEOF
19382 /* end confdefs.h. */ 22224 /* end confdefs.h. */
19383 22225
19384 /* Override any gcc2 internal prototype to avoid an error. */ 22226 /* Override any GCC internal prototype to avoid an error.
22227 Use char because int might match the return type of a GCC
22228 builtin and then its argument prototype would still apply. */
19385 #ifdef __cplusplus 22229 #ifdef __cplusplus
19386 extern "C" 22230 extern "C"
19387 #endif 22231 #endif
19388 /* We use char because int might match the return type of a gcc2
19389 builtin and then its argument prototype would still apply. */
19390 char des_cbc_encrypt (); 22232 char des_cbc_encrypt ();
19391 int 22233 int
19392 main () 22234 main ()
19393 { 22235 {
19394 des_cbc_encrypt (); 22236 return des_cbc_encrypt ();
19395 ; 22237 ;
19396 return 0; 22238 return 0;
19397 } 22239 }
19398 _ACEOF 22240 _ACEOF
19399 rm -f conftest.$ac_objext conftest$ac_exeext 22241 rm -f conftest.$ac_objext conftest$ac_exeext
19400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 22242 if { (ac_try="$ac_link"
19401 (eval $ac_link) 2>conftest.er1 22243 case "(($ac_try" in
22244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22245 *) ac_try_echo=$ac_try;;
22246 esac
22247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22248 (eval "$ac_link") 2>conftest.er1
19402 ac_status=$? 22249 ac_status=$?
19403 grep -v '^ *+' conftest.er1 >conftest.err 22250 grep -v '^ *+' conftest.er1 >conftest.err
19404 rm -f conftest.er1 22251 rm -f conftest.er1
19405 cat conftest.err >&5 22252 cat conftest.err >&5
19406 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19407 (exit $ac_status); } && 22254 (exit $ac_status); } &&
19408 { ac_try='test -z "$ac_c_werror_flag" 22255 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19409 || test ! -s conftest.err' 22256 { (case "(($ac_try" in
19410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19411 (eval $ac_try) 2>&5 22258 *) ac_try_echo=$ac_try;;
22259 esac
22260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22261 (eval "$ac_try") 2>&5
19412 ac_status=$? 22262 ac_status=$?
19413 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19414 (exit $ac_status); }; } && 22264 (exit $ac_status); }; } &&
19415 { ac_try='test -s conftest$ac_exeext' 22265 { ac_try='test -s conftest$ac_exeext'
19416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22266 { (case "(($ac_try" in
19417 (eval $ac_try) 2>&5 22267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22268 *) ac_try_echo=$ac_try;;
22269 esac
22270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22271 (eval "$ac_try") 2>&5
19418 ac_status=$? 22272 ac_status=$?
19419 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19420 (exit $ac_status); }; }; then 22274 (exit $ac_status); }; }; then
19421 ac_cv_lib_des_des_cbc_encrypt=yes 22275 ac_cv_lib_des_des_cbc_encrypt=yes
19422 else 22276 else
19423 echo "$as_me: failed program was:" >&5 22277 echo "$as_me: failed program was:" >&5
19424 sed 's/^/| /' conftest.$ac_ext >&5 22278 sed 's/^/| /' conftest.$ac_ext >&5
19425 22279
19426 ac_cv_lib_des_des_cbc_encrypt=no 22280 ac_cv_lib_des_des_cbc_encrypt=no
19427 fi 22281 fi
19428 rm -f conftest.err conftest.$ac_objext \ 22282
22283 rm -f core conftest.err conftest.$ac_objext \
19429 conftest$ac_exeext conftest.$ac_ext 22284 conftest$ac_exeext conftest.$ac_ext
19430 LIBS=$ac_check_lib_save_LIBS 22285 LIBS=$ac_check_lib_save_LIBS
19431 fi 22286 fi
19432 echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 22287 { echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
19433 echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6 22288 echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6; }
19434 if test $ac_cv_lib_des_des_cbc_encrypt = yes; then 22289 if test $ac_cv_lib_des_des_cbc_encrypt = yes; then
19435 cat >>confdefs.h <<_ACEOF 22290 cat >>confdefs.h <<_ACEOF
19436 #define HAVE_LIBDES 1 22291 #define HAVE_LIBDES 1
19437 _ACEOF 22292 _ACEOF
19438 22293
19441 fi 22296 fi
19442 22297
19443 fi 22298 fi
19444 22299
19445 22300
19446 echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb4" >&5 22301 { echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb4" >&5
19447 echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6 22302 echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6; }
19448 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then 22303 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then
19449 echo $ECHO_N "(cached) $ECHO_C" >&6 22304 echo $ECHO_N "(cached) $ECHO_C" >&6
19450 else 22305 else
19451 ac_check_lib_save_LIBS=$LIBS 22306 ac_check_lib_save_LIBS=$LIBS
19452 LIBS="-lkrb4 $LIBS" 22307 LIBS="-lkrb4 $LIBS"
19455 _ACEOF 22310 _ACEOF
19456 cat confdefs.h >>conftest.$ac_ext 22311 cat confdefs.h >>conftest.$ac_ext
19457 cat >>conftest.$ac_ext <<_ACEOF 22312 cat >>conftest.$ac_ext <<_ACEOF
19458 /* end confdefs.h. */ 22313 /* end confdefs.h. */
19459 22314
19460 /* Override any gcc2 internal prototype to avoid an error. */ 22315 /* Override any GCC internal prototype to avoid an error.
22316 Use char because int might match the return type of a GCC
22317 builtin and then its argument prototype would still apply. */
19461 #ifdef __cplusplus 22318 #ifdef __cplusplus
19462 extern "C" 22319 extern "C"
19463 #endif 22320 #endif
19464 /* We use char because int might match the return type of a gcc2
19465 builtin and then its argument prototype would still apply. */
19466 char krb_get_cred (); 22321 char krb_get_cred ();
19467 int 22322 int
19468 main () 22323 main ()
19469 { 22324 {
19470 krb_get_cred (); 22325 return krb_get_cred ();
19471 ; 22326 ;
19472 return 0; 22327 return 0;
19473 } 22328 }
19474 _ACEOF 22329 _ACEOF
19475 rm -f conftest.$ac_objext conftest$ac_exeext 22330 rm -f conftest.$ac_objext conftest$ac_exeext
19476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 22331 if { (ac_try="$ac_link"
19477 (eval $ac_link) 2>conftest.er1 22332 case "(($ac_try" in
22333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22334 *) ac_try_echo=$ac_try;;
22335 esac
22336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22337 (eval "$ac_link") 2>conftest.er1
19478 ac_status=$? 22338 ac_status=$?
19479 grep -v '^ *+' conftest.er1 >conftest.err 22339 grep -v '^ *+' conftest.er1 >conftest.err
19480 rm -f conftest.er1 22340 rm -f conftest.er1
19481 cat conftest.err >&5 22341 cat conftest.err >&5
19482 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19483 (exit $ac_status); } && 22343 (exit $ac_status); } &&
19484 { ac_try='test -z "$ac_c_werror_flag" 22344 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19485 || test ! -s conftest.err' 22345 { (case "(($ac_try" in
19486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19487 (eval $ac_try) 2>&5 22347 *) ac_try_echo=$ac_try;;
22348 esac
22349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22350 (eval "$ac_try") 2>&5
19488 ac_status=$? 22351 ac_status=$?
19489 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19490 (exit $ac_status); }; } && 22353 (exit $ac_status); }; } &&
19491 { ac_try='test -s conftest$ac_exeext' 22354 { ac_try='test -s conftest$ac_exeext'
19492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22355 { (case "(($ac_try" in
19493 (eval $ac_try) 2>&5 22356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22357 *) ac_try_echo=$ac_try;;
22358 esac
22359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22360 (eval "$ac_try") 2>&5
19494 ac_status=$? 22361 ac_status=$?
19495 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19496 (exit $ac_status); }; }; then 22363 (exit $ac_status); }; }; then
19497 ac_cv_lib_krb4_krb_get_cred=yes 22364 ac_cv_lib_krb4_krb_get_cred=yes
19498 else 22365 else
19499 echo "$as_me: failed program was:" >&5 22366 echo "$as_me: failed program was:" >&5
19500 sed 's/^/| /' conftest.$ac_ext >&5 22367 sed 's/^/| /' conftest.$ac_ext >&5
19501 22368
19502 ac_cv_lib_krb4_krb_get_cred=no 22369 ac_cv_lib_krb4_krb_get_cred=no
19503 fi 22370 fi
19504 rm -f conftest.err conftest.$ac_objext \ 22371
22372 rm -f core conftest.err conftest.$ac_objext \
19505 conftest$ac_exeext conftest.$ac_ext 22373 conftest$ac_exeext conftest.$ac_ext
19506 LIBS=$ac_check_lib_save_LIBS 22374 LIBS=$ac_check_lib_save_LIBS
19507 fi 22375 fi
19508 echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_get_cred" >&5 22376 { echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_get_cred" >&5
19509 echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6 22377 echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6; }
19510 if test $ac_cv_lib_krb4_krb_get_cred = yes; then 22378 if test $ac_cv_lib_krb4_krb_get_cred = yes; then
19511 cat >>confdefs.h <<_ACEOF 22379 cat >>confdefs.h <<_ACEOF
19512 #define HAVE_LIBKRB4 1 22380 #define HAVE_LIBKRB4 1
19513 _ACEOF 22381 _ACEOF
19514 22382
19515 LIBS="-lkrb4 $LIBS" 22383 LIBS="-lkrb4 $LIBS"
19516 22384
19517 else 22385 else
19518 22386
19519 echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb" >&5 22387 { echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb" >&5
19520 echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6 22388 echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6; }
19521 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then 22389 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then
19522 echo $ECHO_N "(cached) $ECHO_C" >&6 22390 echo $ECHO_N "(cached) $ECHO_C" >&6
19523 else 22391 else
19524 ac_check_lib_save_LIBS=$LIBS 22392 ac_check_lib_save_LIBS=$LIBS
19525 LIBS="-lkrb $LIBS" 22393 LIBS="-lkrb $LIBS"
19528 _ACEOF 22396 _ACEOF
19529 cat confdefs.h >>conftest.$ac_ext 22397 cat confdefs.h >>conftest.$ac_ext
19530 cat >>conftest.$ac_ext <<_ACEOF 22398 cat >>conftest.$ac_ext <<_ACEOF
19531 /* end confdefs.h. */ 22399 /* end confdefs.h. */
19532 22400
19533 /* Override any gcc2 internal prototype to avoid an error. */ 22401 /* Override any GCC internal prototype to avoid an error.
22402 Use char because int might match the return type of a GCC
22403 builtin and then its argument prototype would still apply. */
19534 #ifdef __cplusplus 22404 #ifdef __cplusplus
19535 extern "C" 22405 extern "C"
19536 #endif 22406 #endif
19537 /* We use char because int might match the return type of a gcc2
19538 builtin and then its argument prototype would still apply. */
19539 char krb_get_cred (); 22407 char krb_get_cred ();
19540 int 22408 int
19541 main () 22409 main ()
19542 { 22410 {
19543 krb_get_cred (); 22411 return krb_get_cred ();
19544 ; 22412 ;
19545 return 0; 22413 return 0;
19546 } 22414 }
19547 _ACEOF 22415 _ACEOF
19548 rm -f conftest.$ac_objext conftest$ac_exeext 22416 rm -f conftest.$ac_objext conftest$ac_exeext
19549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 22417 if { (ac_try="$ac_link"
19550 (eval $ac_link) 2>conftest.er1 22418 case "(($ac_try" in
22419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22420 *) ac_try_echo=$ac_try;;
22421 esac
22422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22423 (eval "$ac_link") 2>conftest.er1
19551 ac_status=$? 22424 ac_status=$?
19552 grep -v '^ *+' conftest.er1 >conftest.err 22425 grep -v '^ *+' conftest.er1 >conftest.err
19553 rm -f conftest.er1 22426 rm -f conftest.er1
19554 cat conftest.err >&5 22427 cat conftest.err >&5
19555 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19556 (exit $ac_status); } && 22429 (exit $ac_status); } &&
19557 { ac_try='test -z "$ac_c_werror_flag" 22430 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19558 || test ! -s conftest.err' 22431 { (case "(($ac_try" in
19559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19560 (eval $ac_try) 2>&5 22433 *) ac_try_echo=$ac_try;;
22434 esac
22435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22436 (eval "$ac_try") 2>&5
19561 ac_status=$? 22437 ac_status=$?
19562 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19563 (exit $ac_status); }; } && 22439 (exit $ac_status); }; } &&
19564 { ac_try='test -s conftest$ac_exeext' 22440 { ac_try='test -s conftest$ac_exeext'
19565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22441 { (case "(($ac_try" in
19566 (eval $ac_try) 2>&5 22442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22443 *) ac_try_echo=$ac_try;;
22444 esac
22445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22446 (eval "$ac_try") 2>&5
19567 ac_status=$? 22447 ac_status=$?
19568 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19569 (exit $ac_status); }; }; then 22449 (exit $ac_status); }; }; then
19570 ac_cv_lib_krb_krb_get_cred=yes 22450 ac_cv_lib_krb_krb_get_cred=yes
19571 else 22451 else
19572 echo "$as_me: failed program was:" >&5 22452 echo "$as_me: failed program was:" >&5
19573 sed 's/^/| /' conftest.$ac_ext >&5 22453 sed 's/^/| /' conftest.$ac_ext >&5
19574 22454
19575 ac_cv_lib_krb_krb_get_cred=no 22455 ac_cv_lib_krb_krb_get_cred=no
19576 fi 22456 fi
19577 rm -f conftest.err conftest.$ac_objext \ 22457
22458 rm -f core conftest.err conftest.$ac_objext \
19578 conftest$ac_exeext conftest.$ac_ext 22459 conftest$ac_exeext conftest.$ac_ext
19579 LIBS=$ac_check_lib_save_LIBS 22460 LIBS=$ac_check_lib_save_LIBS
19580 fi 22461 fi
19581 echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_get_cred" >&5 22462 { echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_get_cred" >&5
19582 echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6 22463 echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6; }
19583 if test $ac_cv_lib_krb_krb_get_cred = yes; then 22464 if test $ac_cv_lib_krb_krb_get_cred = yes; then
19584 cat >>confdefs.h <<_ACEOF 22465 cat >>confdefs.h <<_ACEOF
19585 #define HAVE_LIBKRB 1 22466 #define HAVE_LIBKRB 1
19586 _ACEOF 22467 _ACEOF
19587 22468
19596 if test "${with_kerberos5+set}" = set; then 22477 if test "${with_kerberos5+set}" = set; then
19597 22478
19598 for ac_header in krb5.h 22479 for ac_header in krb5.h
19599 do 22480 do
19600 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 22481 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19601 if eval "test \"\${$as_ac_Header+set}\" = set"; then 22482 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19602 echo "$as_me:$LINENO: checking for $ac_header" >&5 22483 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19603 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 22484 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19604 if eval "test \"\${$as_ac_Header+set}\" = set"; then 22485 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19605 echo $ECHO_N "(cached) $ECHO_C" >&6 22486 echo $ECHO_N "(cached) $ECHO_C" >&6
19606 fi 22487 fi
19607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 22488 ac_res=`eval echo '${'$as_ac_Header'}'`
19608 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 22489 { echo "$as_me:$LINENO: result: $ac_res" >&5
22490 echo "${ECHO_T}$ac_res" >&6; }
19609 else 22491 else
19610 # Is the header compilable? 22492 # Is the header compilable?
19611 echo "$as_me:$LINENO: checking $ac_header usability" >&5 22493 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
19612 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 22494 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
19613 cat >conftest.$ac_ext <<_ACEOF 22495 cat >conftest.$ac_ext <<_ACEOF
19614 /* confdefs.h. */ 22496 /* confdefs.h. */
19615 _ACEOF 22497 _ACEOF
19616 cat confdefs.h >>conftest.$ac_ext 22498 cat confdefs.h >>conftest.$ac_ext
19617 cat >>conftest.$ac_ext <<_ACEOF 22499 cat >>conftest.$ac_ext <<_ACEOF
19618 /* end confdefs.h. */ 22500 /* end confdefs.h. */
19619 $ac_includes_default 22501 $ac_includes_default
19620 #include <$ac_header> 22502 #include <$ac_header>
19621 _ACEOF 22503 _ACEOF
19622 rm -f conftest.$ac_objext 22504 rm -f conftest.$ac_objext
19623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 22505 if { (ac_try="$ac_compile"
19624 (eval $ac_compile) 2>conftest.er1 22506 case "(($ac_try" in
22507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22508 *) ac_try_echo=$ac_try;;
22509 esac
22510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22511 (eval "$ac_compile") 2>conftest.er1
19625 ac_status=$? 22512 ac_status=$?
19626 grep -v '^ *+' conftest.er1 >conftest.err 22513 grep -v '^ *+' conftest.er1 >conftest.err
19627 rm -f conftest.er1 22514 rm -f conftest.er1
19628 cat conftest.err >&5 22515 cat conftest.err >&5
19629 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19630 (exit $ac_status); } && 22517 (exit $ac_status); } &&
19631 { ac_try='test -z "$ac_c_werror_flag" 22518 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19632 || test ! -s conftest.err' 22519 { (case "(($ac_try" in
19633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19634 (eval $ac_try) 2>&5 22521 *) ac_try_echo=$ac_try;;
22522 esac
22523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22524 (eval "$ac_try") 2>&5
19635 ac_status=$? 22525 ac_status=$?
19636 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19637 (exit $ac_status); }; } && 22527 (exit $ac_status); }; } &&
19638 { ac_try='test -s conftest.$ac_objext' 22528 { ac_try='test -s conftest.$ac_objext'
19639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22529 { (case "(($ac_try" in
19640 (eval $ac_try) 2>&5 22530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22531 *) ac_try_echo=$ac_try;;
22532 esac
22533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22534 (eval "$ac_try") 2>&5
19641 ac_status=$? 22535 ac_status=$?
19642 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19643 (exit $ac_status); }; }; then 22537 (exit $ac_status); }; }; then
19644 ac_header_compiler=yes 22538 ac_header_compiler=yes
19645 else 22539 else
19646 echo "$as_me: failed program was:" >&5 22540 echo "$as_me: failed program was:" >&5
19647 sed 's/^/| /' conftest.$ac_ext >&5 22541 sed 's/^/| /' conftest.$ac_ext >&5
19648 22542
19649 ac_header_compiler=no 22543 ac_header_compiler=no
19650 fi 22544 fi
19651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 22545
19652 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 22546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19653 echo "${ECHO_T}$ac_header_compiler" >&6 22547 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22548 echo "${ECHO_T}$ac_header_compiler" >&6; }
19654 22549
19655 # Is the header present? 22550 # Is the header present?
19656 echo "$as_me:$LINENO: checking $ac_header presence" >&5 22551 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
19657 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 22552 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
19658 cat >conftest.$ac_ext <<_ACEOF 22553 cat >conftest.$ac_ext <<_ACEOF
19659 /* confdefs.h. */ 22554 /* confdefs.h. */
19660 _ACEOF 22555 _ACEOF
19661 cat confdefs.h >>conftest.$ac_ext 22556 cat confdefs.h >>conftest.$ac_ext
19662 cat >>conftest.$ac_ext <<_ACEOF 22557 cat >>conftest.$ac_ext <<_ACEOF
19663 /* end confdefs.h. */ 22558 /* end confdefs.h. */
19664 #include <$ac_header> 22559 #include <$ac_header>
19665 _ACEOF 22560 _ACEOF
19666 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 22561 if { (ac_try="$ac_cpp conftest.$ac_ext"
19667 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 22562 case "(($ac_try" in
22563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22564 *) ac_try_echo=$ac_try;;
22565 esac
22566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22567 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19668 ac_status=$? 22568 ac_status=$?
19669 grep -v '^ *+' conftest.er1 >conftest.err 22569 grep -v '^ *+' conftest.er1 >conftest.err
19670 rm -f conftest.er1 22570 rm -f conftest.er1
19671 cat conftest.err >&5 22571 cat conftest.err >&5
19672 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19686 echo "$as_me: failed program was:" >&5 22586 echo "$as_me: failed program was:" >&5
19687 sed 's/^/| /' conftest.$ac_ext >&5 22587 sed 's/^/| /' conftest.$ac_ext >&5
19688 22588
19689 ac_header_preproc=no 22589 ac_header_preproc=no
19690 fi 22590 fi
22591
19691 rm -f conftest.err conftest.$ac_ext 22592 rm -f conftest.err conftest.$ac_ext
19692 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 22593 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19693 echo "${ECHO_T}$ac_header_preproc" >&6 22594 echo "${ECHO_T}$ac_header_preproc" >&6; }
19694 22595
19695 # So? What about this header? 22596 # So? What about this header?
19696 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 22597 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19697 yes:no: ) 22598 yes:no: )
19698 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 22599 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19712 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 22613 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19713 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 22614 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19714 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 22615 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19715 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 22616 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19716 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 22617 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19717 ( 22618
19718 cat <<\_ASBOX
19719 ## ------------------------------------------ ##
19720 ## Report this to the AC_PACKAGE_NAME lists. ##
19721 ## ------------------------------------------ ##
19722 _ASBOX
19723 ) |
19724 sed "s/^/$as_me: WARNING: /" >&2
19725 ;; 22619 ;;
19726 esac 22620 esac
19727 echo "$as_me:$LINENO: checking for $ac_header" >&5 22621 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19728 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 22622 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19729 if eval "test \"\${$as_ac_Header+set}\" = set"; then 22623 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19730 echo $ECHO_N "(cached) $ECHO_C" >&6 22624 echo $ECHO_N "(cached) $ECHO_C" >&6
19731 else 22625 else
19732 eval "$as_ac_Header=\$ac_header_preproc" 22626 eval "$as_ac_Header=\$ac_header_preproc"
19733 fi 22627 fi
19734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 22628 ac_res=`eval echo '${'$as_ac_Header'}'`
19735 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 22629 { echo "$as_me:$LINENO: result: $ac_res" >&5
22630 echo "${ECHO_T}$ac_res" >&6; }
19736 22631
19737 fi 22632 fi
19738 if test `eval echo '${'$as_ac_Header'}'` = yes; then 22633 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19739 cat >>confdefs.h <<_ACEOF 22634 cat >>confdefs.h <<_ACEOF
19740 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 22635 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19747 else 22642 else
19748 22643
19749 for ac_header in des.h 22644 for ac_header in des.h
19750 do 22645 do
19751 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 22646 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19752 if eval "test \"\${$as_ac_Header+set}\" = set"; then 22647 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19753 echo "$as_me:$LINENO: checking for $ac_header" >&5 22648 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19754 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 22649 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19755 if eval "test \"\${$as_ac_Header+set}\" = set"; then 22650 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19756 echo $ECHO_N "(cached) $ECHO_C" >&6 22651 echo $ECHO_N "(cached) $ECHO_C" >&6
19757 fi 22652 fi
19758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 22653 ac_res=`eval echo '${'$as_ac_Header'}'`
19759 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 22654 { echo "$as_me:$LINENO: result: $ac_res" >&5
22655 echo "${ECHO_T}$ac_res" >&6; }
19760 else 22656 else
19761 # Is the header compilable? 22657 # Is the header compilable?
19762 echo "$as_me:$LINENO: checking $ac_header usability" >&5 22658 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
19763 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 22659 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
19764 cat >conftest.$ac_ext <<_ACEOF 22660 cat >conftest.$ac_ext <<_ACEOF
19765 /* confdefs.h. */ 22661 /* confdefs.h. */
19766 _ACEOF 22662 _ACEOF
19767 cat confdefs.h >>conftest.$ac_ext 22663 cat confdefs.h >>conftest.$ac_ext
19768 cat >>conftest.$ac_ext <<_ACEOF 22664 cat >>conftest.$ac_ext <<_ACEOF
19769 /* end confdefs.h. */ 22665 /* end confdefs.h. */
19770 $ac_includes_default 22666 $ac_includes_default
19771 #include <$ac_header> 22667 #include <$ac_header>
19772 _ACEOF 22668 _ACEOF
19773 rm -f conftest.$ac_objext 22669 rm -f conftest.$ac_objext
19774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 22670 if { (ac_try="$ac_compile"
19775 (eval $ac_compile) 2>conftest.er1 22671 case "(($ac_try" in
22672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22673 *) ac_try_echo=$ac_try;;
22674 esac
22675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22676 (eval "$ac_compile") 2>conftest.er1
19776 ac_status=$? 22677 ac_status=$?
19777 grep -v '^ *+' conftest.er1 >conftest.err 22678 grep -v '^ *+' conftest.er1 >conftest.err
19778 rm -f conftest.er1 22679 rm -f conftest.er1
19779 cat conftest.err >&5 22680 cat conftest.err >&5
19780 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19781 (exit $ac_status); } && 22682 (exit $ac_status); } &&
19782 { ac_try='test -z "$ac_c_werror_flag" 22683 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19783 || test ! -s conftest.err' 22684 { (case "(($ac_try" in
19784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19785 (eval $ac_try) 2>&5 22686 *) ac_try_echo=$ac_try;;
22687 esac
22688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22689 (eval "$ac_try") 2>&5
19786 ac_status=$? 22690 ac_status=$?
19787 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19788 (exit $ac_status); }; } && 22692 (exit $ac_status); }; } &&
19789 { ac_try='test -s conftest.$ac_objext' 22693 { ac_try='test -s conftest.$ac_objext'
19790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22694 { (case "(($ac_try" in
19791 (eval $ac_try) 2>&5 22695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22696 *) ac_try_echo=$ac_try;;
22697 esac
22698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22699 (eval "$ac_try") 2>&5
19792 ac_status=$? 22700 ac_status=$?
19793 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19794 (exit $ac_status); }; }; then 22702 (exit $ac_status); }; }; then
19795 ac_header_compiler=yes 22703 ac_header_compiler=yes
19796 else 22704 else
19797 echo "$as_me: failed program was:" >&5 22705 echo "$as_me: failed program was:" >&5
19798 sed 's/^/| /' conftest.$ac_ext >&5 22706 sed 's/^/| /' conftest.$ac_ext >&5
19799 22707
19800 ac_header_compiler=no 22708 ac_header_compiler=no
19801 fi 22709 fi
19802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 22710
19803 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 22711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19804 echo "${ECHO_T}$ac_header_compiler" >&6 22712 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22713 echo "${ECHO_T}$ac_header_compiler" >&6; }
19805 22714
19806 # Is the header present? 22715 # Is the header present?
19807 echo "$as_me:$LINENO: checking $ac_header presence" >&5 22716 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
19808 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 22717 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
19809 cat >conftest.$ac_ext <<_ACEOF 22718 cat >conftest.$ac_ext <<_ACEOF
19810 /* confdefs.h. */ 22719 /* confdefs.h. */
19811 _ACEOF 22720 _ACEOF
19812 cat confdefs.h >>conftest.$ac_ext 22721 cat confdefs.h >>conftest.$ac_ext
19813 cat >>conftest.$ac_ext <<_ACEOF 22722 cat >>conftest.$ac_ext <<_ACEOF
19814 /* end confdefs.h. */ 22723 /* end confdefs.h. */
19815 #include <$ac_header> 22724 #include <$ac_header>
19816 _ACEOF 22725 _ACEOF
19817 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 22726 if { (ac_try="$ac_cpp conftest.$ac_ext"
19818 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 22727 case "(($ac_try" in
22728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22729 *) ac_try_echo=$ac_try;;
22730 esac
22731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22732 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19819 ac_status=$? 22733 ac_status=$?
19820 grep -v '^ *+' conftest.er1 >conftest.err 22734 grep -v '^ *+' conftest.er1 >conftest.err
19821 rm -f conftest.er1 22735 rm -f conftest.er1
19822 cat conftest.err >&5 22736 cat conftest.err >&5
19823 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19837 echo "$as_me: failed program was:" >&5 22751 echo "$as_me: failed program was:" >&5
19838 sed 's/^/| /' conftest.$ac_ext >&5 22752 sed 's/^/| /' conftest.$ac_ext >&5
19839 22753
19840 ac_header_preproc=no 22754 ac_header_preproc=no
19841 fi 22755 fi
22756
19842 rm -f conftest.err conftest.$ac_ext 22757 rm -f conftest.err conftest.$ac_ext
19843 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 22758 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19844 echo "${ECHO_T}$ac_header_preproc" >&6 22759 echo "${ECHO_T}$ac_header_preproc" >&6; }
19845 22760
19846 # So? What about this header? 22761 # So? What about this header?
19847 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 22762 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19848 yes:no: ) 22763 yes:no: )
19849 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 22764 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19863 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 22778 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19864 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 22779 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19865 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 22780 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19866 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 22781 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19867 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 22782 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19868 ( 22783
19869 cat <<\_ASBOX
19870 ## ------------------------------------------ ##
19871 ## Report this to the AC_PACKAGE_NAME lists. ##
19872 ## ------------------------------------------ ##
19873 _ASBOX
19874 ) |
19875 sed "s/^/$as_me: WARNING: /" >&2
19876 ;; 22784 ;;
19877 esac 22785 esac
19878 echo "$as_me:$LINENO: checking for $ac_header" >&5 22786 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19879 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 22787 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19880 if eval "test \"\${$as_ac_Header+set}\" = set"; then 22788 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19881 echo $ECHO_N "(cached) $ECHO_C" >&6 22789 echo $ECHO_N "(cached) $ECHO_C" >&6
19882 else 22790 else
19883 eval "$as_ac_Header=\$ac_header_preproc" 22791 eval "$as_ac_Header=\$ac_header_preproc"
19884 fi 22792 fi
19885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 22793 ac_res=`eval echo '${'$as_ac_Header'}'`
19886 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 22794 { echo "$as_me:$LINENO: result: $ac_res" >&5
22795 echo "${ECHO_T}$ac_res" >&6; }
19887 22796
19888 fi 22797 fi
19889 if test `eval echo '${'$as_ac_Header'}'` = yes; then 22798 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19890 cat >>confdefs.h <<_ACEOF 22799 cat >>confdefs.h <<_ACEOF
19891 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 22800 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19894 else 22803 else
19895 22804
19896 for ac_header in kerberosIV/des.h 22805 for ac_header in kerberosIV/des.h
19897 do 22806 do
19898 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 22807 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19899 if eval "test \"\${$as_ac_Header+set}\" = set"; then 22808 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19900 echo "$as_me:$LINENO: checking for $ac_header" >&5 22809 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19901 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 22810 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19902 if eval "test \"\${$as_ac_Header+set}\" = set"; then 22811 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19903 echo $ECHO_N "(cached) $ECHO_C" >&6 22812 echo $ECHO_N "(cached) $ECHO_C" >&6
19904 fi 22813 fi
19905 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 22814 ac_res=`eval echo '${'$as_ac_Header'}'`
19906 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 22815 { echo "$as_me:$LINENO: result: $ac_res" >&5
22816 echo "${ECHO_T}$ac_res" >&6; }
19907 else 22817 else
19908 # Is the header compilable? 22818 # Is the header compilable?
19909 echo "$as_me:$LINENO: checking $ac_header usability" >&5 22819 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
19910 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 22820 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
19911 cat >conftest.$ac_ext <<_ACEOF 22821 cat >conftest.$ac_ext <<_ACEOF
19912 /* confdefs.h. */ 22822 /* confdefs.h. */
19913 _ACEOF 22823 _ACEOF
19914 cat confdefs.h >>conftest.$ac_ext 22824 cat confdefs.h >>conftest.$ac_ext
19915 cat >>conftest.$ac_ext <<_ACEOF 22825 cat >>conftest.$ac_ext <<_ACEOF
19916 /* end confdefs.h. */ 22826 /* end confdefs.h. */
19917 $ac_includes_default 22827 $ac_includes_default
19918 #include <$ac_header> 22828 #include <$ac_header>
19919 _ACEOF 22829 _ACEOF
19920 rm -f conftest.$ac_objext 22830 rm -f conftest.$ac_objext
19921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 22831 if { (ac_try="$ac_compile"
19922 (eval $ac_compile) 2>conftest.er1 22832 case "(($ac_try" in
22833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22834 *) ac_try_echo=$ac_try;;
22835 esac
22836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22837 (eval "$ac_compile") 2>conftest.er1
19923 ac_status=$? 22838 ac_status=$?
19924 grep -v '^ *+' conftest.er1 >conftest.err 22839 grep -v '^ *+' conftest.er1 >conftest.err
19925 rm -f conftest.er1 22840 rm -f conftest.er1
19926 cat conftest.err >&5 22841 cat conftest.err >&5
19927 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19928 (exit $ac_status); } && 22843 (exit $ac_status); } &&
19929 { ac_try='test -z "$ac_c_werror_flag" 22844 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19930 || test ! -s conftest.err' 22845 { (case "(($ac_try" in
19931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19932 (eval $ac_try) 2>&5 22847 *) ac_try_echo=$ac_try;;
22848 esac
22849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22850 (eval "$ac_try") 2>&5
19933 ac_status=$? 22851 ac_status=$?
19934 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19935 (exit $ac_status); }; } && 22853 (exit $ac_status); }; } &&
19936 { ac_try='test -s conftest.$ac_objext' 22854 { ac_try='test -s conftest.$ac_objext'
19937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22855 { (case "(($ac_try" in
19938 (eval $ac_try) 2>&5 22856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22857 *) ac_try_echo=$ac_try;;
22858 esac
22859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22860 (eval "$ac_try") 2>&5
19939 ac_status=$? 22861 ac_status=$?
19940 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19941 (exit $ac_status); }; }; then 22863 (exit $ac_status); }; }; then
19942 ac_header_compiler=yes 22864 ac_header_compiler=yes
19943 else 22865 else
19944 echo "$as_me: failed program was:" >&5 22866 echo "$as_me: failed program was:" >&5
19945 sed 's/^/| /' conftest.$ac_ext >&5 22867 sed 's/^/| /' conftest.$ac_ext >&5
19946 22868
19947 ac_header_compiler=no 22869 ac_header_compiler=no
19948 fi 22870 fi
19949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 22871
19950 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 22872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19951 echo "${ECHO_T}$ac_header_compiler" >&6 22873 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22874 echo "${ECHO_T}$ac_header_compiler" >&6; }
19952 22875
19953 # Is the header present? 22876 # Is the header present?
19954 echo "$as_me:$LINENO: checking $ac_header presence" >&5 22877 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
19955 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 22878 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
19956 cat >conftest.$ac_ext <<_ACEOF 22879 cat >conftest.$ac_ext <<_ACEOF
19957 /* confdefs.h. */ 22880 /* confdefs.h. */
19958 _ACEOF 22881 _ACEOF
19959 cat confdefs.h >>conftest.$ac_ext 22882 cat confdefs.h >>conftest.$ac_ext
19960 cat >>conftest.$ac_ext <<_ACEOF 22883 cat >>conftest.$ac_ext <<_ACEOF
19961 /* end confdefs.h. */ 22884 /* end confdefs.h. */
19962 #include <$ac_header> 22885 #include <$ac_header>
19963 _ACEOF 22886 _ACEOF
19964 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 22887 if { (ac_try="$ac_cpp conftest.$ac_ext"
19965 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 22888 case "(($ac_try" in
22889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22890 *) ac_try_echo=$ac_try;;
22891 esac
22892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22893 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19966 ac_status=$? 22894 ac_status=$?
19967 grep -v '^ *+' conftest.er1 >conftest.err 22895 grep -v '^ *+' conftest.er1 >conftest.err
19968 rm -f conftest.er1 22896 rm -f conftest.er1
19969 cat conftest.err >&5 22897 cat conftest.err >&5
19970 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19984 echo "$as_me: failed program was:" >&5 22912 echo "$as_me: failed program was:" >&5
19985 sed 's/^/| /' conftest.$ac_ext >&5 22913 sed 's/^/| /' conftest.$ac_ext >&5
19986 22914
19987 ac_header_preproc=no 22915 ac_header_preproc=no
19988 fi 22916 fi
22917
19989 rm -f conftest.err conftest.$ac_ext 22918 rm -f conftest.err conftest.$ac_ext
19990 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 22919 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19991 echo "${ECHO_T}$ac_header_preproc" >&6 22920 echo "${ECHO_T}$ac_header_preproc" >&6; }
19992 22921
19993 # So? What about this header? 22922 # So? What about this header?
19994 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 22923 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19995 yes:no: ) 22924 yes:no: )
19996 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 22925 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20010 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 22939 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20011 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 22940 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20012 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 22941 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20013 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 22942 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20014 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 22943 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20015 ( 22944
20016 cat <<\_ASBOX
20017 ## ------------------------------------------ ##
20018 ## Report this to the AC_PACKAGE_NAME lists. ##
20019 ## ------------------------------------------ ##
20020 _ASBOX
20021 ) |
20022 sed "s/^/$as_me: WARNING: /" >&2
20023 ;; 22945 ;;
20024 esac 22946 esac
20025 echo "$as_me:$LINENO: checking for $ac_header" >&5 22947 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20026 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 22948 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20027 if eval "test \"\${$as_ac_Header+set}\" = set"; then 22949 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20028 echo $ECHO_N "(cached) $ECHO_C" >&6 22950 echo $ECHO_N "(cached) $ECHO_C" >&6
20029 else 22951 else
20030 eval "$as_ac_Header=\$ac_header_preproc" 22952 eval "$as_ac_Header=\$ac_header_preproc"
20031 fi 22953 fi
20032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 22954 ac_res=`eval echo '${'$as_ac_Header'}'`
20033 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 22955 { echo "$as_me:$LINENO: result: $ac_res" >&5
22956 echo "${ECHO_T}$ac_res" >&6; }
20034 22957
20035 fi 22958 fi
20036 if test `eval echo '${'$as_ac_Header'}'` = yes; then 22959 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20037 cat >>confdefs.h <<_ACEOF 22960 cat >>confdefs.h <<_ACEOF
20038 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 22961 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20041 else 22964 else
20042 22965
20043 for ac_header in kerberos/des.h 22966 for ac_header in kerberos/des.h
20044 do 22967 do
20045 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 22968 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20046 if eval "test \"\${$as_ac_Header+set}\" = set"; then 22969 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20047 echo "$as_me:$LINENO: checking for $ac_header" >&5 22970 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20048 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 22971 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20049 if eval "test \"\${$as_ac_Header+set}\" = set"; then 22972 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20050 echo $ECHO_N "(cached) $ECHO_C" >&6 22973 echo $ECHO_N "(cached) $ECHO_C" >&6
20051 fi 22974 fi
20052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 22975 ac_res=`eval echo '${'$as_ac_Header'}'`
20053 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 22976 { echo "$as_me:$LINENO: result: $ac_res" >&5
22977 echo "${ECHO_T}$ac_res" >&6; }
20054 else 22978 else
20055 # Is the header compilable? 22979 # Is the header compilable?
20056 echo "$as_me:$LINENO: checking $ac_header usability" >&5 22980 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
20057 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 22981 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
20058 cat >conftest.$ac_ext <<_ACEOF 22982 cat >conftest.$ac_ext <<_ACEOF
20059 /* confdefs.h. */ 22983 /* confdefs.h. */
20060 _ACEOF 22984 _ACEOF
20061 cat confdefs.h >>conftest.$ac_ext 22985 cat confdefs.h >>conftest.$ac_ext
20062 cat >>conftest.$ac_ext <<_ACEOF 22986 cat >>conftest.$ac_ext <<_ACEOF
20063 /* end confdefs.h. */ 22987 /* end confdefs.h. */
20064 $ac_includes_default 22988 $ac_includes_default
20065 #include <$ac_header> 22989 #include <$ac_header>
20066 _ACEOF 22990 _ACEOF
20067 rm -f conftest.$ac_objext 22991 rm -f conftest.$ac_objext
20068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 22992 if { (ac_try="$ac_compile"
20069 (eval $ac_compile) 2>conftest.er1 22993 case "(($ac_try" in
22994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22995 *) ac_try_echo=$ac_try;;
22996 esac
22997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22998 (eval "$ac_compile") 2>conftest.er1
20070 ac_status=$? 22999 ac_status=$?
20071 grep -v '^ *+' conftest.er1 >conftest.err 23000 grep -v '^ *+' conftest.er1 >conftest.err
20072 rm -f conftest.er1 23001 rm -f conftest.er1
20073 cat conftest.err >&5 23002 cat conftest.err >&5
20074 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20075 (exit $ac_status); } && 23004 (exit $ac_status); } &&
20076 { ac_try='test -z "$ac_c_werror_flag" 23005 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20077 || test ! -s conftest.err' 23006 { (case "(($ac_try" in
20078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20079 (eval $ac_try) 2>&5 23008 *) ac_try_echo=$ac_try;;
23009 esac
23010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23011 (eval "$ac_try") 2>&5
20080 ac_status=$? 23012 ac_status=$?
20081 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20082 (exit $ac_status); }; } && 23014 (exit $ac_status); }; } &&
20083 { ac_try='test -s conftest.$ac_objext' 23015 { ac_try='test -s conftest.$ac_objext'
20084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23016 { (case "(($ac_try" in
20085 (eval $ac_try) 2>&5 23017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23018 *) ac_try_echo=$ac_try;;
23019 esac
23020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23021 (eval "$ac_try") 2>&5
20086 ac_status=$? 23022 ac_status=$?
20087 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20088 (exit $ac_status); }; }; then 23024 (exit $ac_status); }; }; then
20089 ac_header_compiler=yes 23025 ac_header_compiler=yes
20090 else 23026 else
20091 echo "$as_me: failed program was:" >&5 23027 echo "$as_me: failed program was:" >&5
20092 sed 's/^/| /' conftest.$ac_ext >&5 23028 sed 's/^/| /' conftest.$ac_ext >&5
20093 23029
20094 ac_header_compiler=no 23030 ac_header_compiler=no
20095 fi 23031 fi
20096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 23032
20097 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 23033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20098 echo "${ECHO_T}$ac_header_compiler" >&6 23034 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23035 echo "${ECHO_T}$ac_header_compiler" >&6; }
20099 23036
20100 # Is the header present? 23037 # Is the header present?
20101 echo "$as_me:$LINENO: checking $ac_header presence" >&5 23038 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
20102 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 23039 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
20103 cat >conftest.$ac_ext <<_ACEOF 23040 cat >conftest.$ac_ext <<_ACEOF
20104 /* confdefs.h. */ 23041 /* confdefs.h. */
20105 _ACEOF 23042 _ACEOF
20106 cat confdefs.h >>conftest.$ac_ext 23043 cat confdefs.h >>conftest.$ac_ext
20107 cat >>conftest.$ac_ext <<_ACEOF 23044 cat >>conftest.$ac_ext <<_ACEOF
20108 /* end confdefs.h. */ 23045 /* end confdefs.h. */
20109 #include <$ac_header> 23046 #include <$ac_header>
20110 _ACEOF 23047 _ACEOF
20111 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 23048 if { (ac_try="$ac_cpp conftest.$ac_ext"
20112 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 23049 case "(($ac_try" in
23050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23051 *) ac_try_echo=$ac_try;;
23052 esac
23053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23054 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20113 ac_status=$? 23055 ac_status=$?
20114 grep -v '^ *+' conftest.er1 >conftest.err 23056 grep -v '^ *+' conftest.er1 >conftest.err
20115 rm -f conftest.er1 23057 rm -f conftest.er1
20116 cat conftest.err >&5 23058 cat conftest.err >&5
20117 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20131 echo "$as_me: failed program was:" >&5 23073 echo "$as_me: failed program was:" >&5
20132 sed 's/^/| /' conftest.$ac_ext >&5 23074 sed 's/^/| /' conftest.$ac_ext >&5
20133 23075
20134 ac_header_preproc=no 23076 ac_header_preproc=no
20135 fi 23077 fi
23078
20136 rm -f conftest.err conftest.$ac_ext 23079 rm -f conftest.err conftest.$ac_ext
20137 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 23080 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20138 echo "${ECHO_T}$ac_header_preproc" >&6 23081 echo "${ECHO_T}$ac_header_preproc" >&6; }
20139 23082
20140 # So? What about this header? 23083 # So? What about this header?
20141 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 23084 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20142 yes:no: ) 23085 yes:no: )
20143 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 23086 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20157 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 23100 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20158 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 23101 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20159 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 23102 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20160 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 23103 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20161 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 23104 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20162 ( 23105
20163 cat <<\_ASBOX
20164 ## ------------------------------------------ ##
20165 ## Report this to the AC_PACKAGE_NAME lists. ##
20166 ## ------------------------------------------ ##
20167 _ASBOX
20168 ) |
20169 sed "s/^/$as_me: WARNING: /" >&2
20170 ;; 23106 ;;
20171 esac 23107 esac
20172 echo "$as_me:$LINENO: checking for $ac_header" >&5 23108 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20173 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 23109 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20174 if eval "test \"\${$as_ac_Header+set}\" = set"; then 23110 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20175 echo $ECHO_N "(cached) $ECHO_C" >&6 23111 echo $ECHO_N "(cached) $ECHO_C" >&6
20176 else 23112 else
20177 eval "$as_ac_Header=\$ac_header_preproc" 23113 eval "$as_ac_Header=\$ac_header_preproc"
20178 fi 23114 fi
20179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 23115 ac_res=`eval echo '${'$as_ac_Header'}'`
20180 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 23116 { echo "$as_me:$LINENO: result: $ac_res" >&5
23117 echo "${ECHO_T}$ac_res" >&6; }
20181 23118
20182 fi 23119 fi
20183 if test `eval echo '${'$as_ac_Header'}'` = yes; then 23120 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20184 cat >>confdefs.h <<_ACEOF 23121 cat >>confdefs.h <<_ACEOF
20185 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 23122 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20199 23136
20200 23137
20201 for ac_header in krb.h 23138 for ac_header in krb.h
20202 do 23139 do
20203 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 23140 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20204 if eval "test \"\${$as_ac_Header+set}\" = set"; then 23141 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20205 echo "$as_me:$LINENO: checking for $ac_header" >&5 23142 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20206 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 23143 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20207 if eval "test \"\${$as_ac_Header+set}\" = set"; then 23144 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20208 echo $ECHO_N "(cached) $ECHO_C" >&6 23145 echo $ECHO_N "(cached) $ECHO_C" >&6
20209 fi 23146 fi
20210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 23147 ac_res=`eval echo '${'$as_ac_Header'}'`
20211 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 23148 { echo "$as_me:$LINENO: result: $ac_res" >&5
23149 echo "${ECHO_T}$ac_res" >&6; }
20212 else 23150 else
20213 # Is the header compilable? 23151 # Is the header compilable?
20214 echo "$as_me:$LINENO: checking $ac_header usability" >&5 23152 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
20215 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 23153 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
20216 cat >conftest.$ac_ext <<_ACEOF 23154 cat >conftest.$ac_ext <<_ACEOF
20217 /* confdefs.h. */ 23155 /* confdefs.h. */
20218 _ACEOF 23156 _ACEOF
20219 cat confdefs.h >>conftest.$ac_ext 23157 cat confdefs.h >>conftest.$ac_ext
20220 cat >>conftest.$ac_ext <<_ACEOF 23158 cat >>conftest.$ac_ext <<_ACEOF
20221 /* end confdefs.h. */ 23159 /* end confdefs.h. */
20222 $ac_includes_default 23160 $ac_includes_default
20223 #include <$ac_header> 23161 #include <$ac_header>
20224 _ACEOF 23162 _ACEOF
20225 rm -f conftest.$ac_objext 23163 rm -f conftest.$ac_objext
20226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 23164 if { (ac_try="$ac_compile"
20227 (eval $ac_compile) 2>conftest.er1 23165 case "(($ac_try" in
23166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23167 *) ac_try_echo=$ac_try;;
23168 esac
23169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23170 (eval "$ac_compile") 2>conftest.er1
20228 ac_status=$? 23171 ac_status=$?
20229 grep -v '^ *+' conftest.er1 >conftest.err 23172 grep -v '^ *+' conftest.er1 >conftest.err
20230 rm -f conftest.er1 23173 rm -f conftest.er1
20231 cat conftest.err >&5 23174 cat conftest.err >&5
20232 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20233 (exit $ac_status); } && 23176 (exit $ac_status); } &&
20234 { ac_try='test -z "$ac_c_werror_flag" 23177 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20235 || test ! -s conftest.err' 23178 { (case "(($ac_try" in
20236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20237 (eval $ac_try) 2>&5 23180 *) ac_try_echo=$ac_try;;
23181 esac
23182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23183 (eval "$ac_try") 2>&5
20238 ac_status=$? 23184 ac_status=$?
20239 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20240 (exit $ac_status); }; } && 23186 (exit $ac_status); }; } &&
20241 { ac_try='test -s conftest.$ac_objext' 23187 { ac_try='test -s conftest.$ac_objext'
20242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23188 { (case "(($ac_try" in
20243 (eval $ac_try) 2>&5 23189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23190 *) ac_try_echo=$ac_try;;
23191 esac
23192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23193 (eval "$ac_try") 2>&5
20244 ac_status=$? 23194 ac_status=$?
20245 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20246 (exit $ac_status); }; }; then 23196 (exit $ac_status); }; }; then
20247 ac_header_compiler=yes 23197 ac_header_compiler=yes
20248 else 23198 else
20249 echo "$as_me: failed program was:" >&5 23199 echo "$as_me: failed program was:" >&5
20250 sed 's/^/| /' conftest.$ac_ext >&5 23200 sed 's/^/| /' conftest.$ac_ext >&5
20251 23201
20252 ac_header_compiler=no 23202 ac_header_compiler=no
20253 fi 23203 fi
20254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 23204
20255 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 23205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20256 echo "${ECHO_T}$ac_header_compiler" >&6 23206 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23207 echo "${ECHO_T}$ac_header_compiler" >&6; }
20257 23208
20258 # Is the header present? 23209 # Is the header present?
20259 echo "$as_me:$LINENO: checking $ac_header presence" >&5 23210 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
20260 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 23211 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
20261 cat >conftest.$ac_ext <<_ACEOF 23212 cat >conftest.$ac_ext <<_ACEOF
20262 /* confdefs.h. */ 23213 /* confdefs.h. */
20263 _ACEOF 23214 _ACEOF
20264 cat confdefs.h >>conftest.$ac_ext 23215 cat confdefs.h >>conftest.$ac_ext
20265 cat >>conftest.$ac_ext <<_ACEOF 23216 cat >>conftest.$ac_ext <<_ACEOF
20266 /* end confdefs.h. */ 23217 /* end confdefs.h. */
20267 #include <$ac_header> 23218 #include <$ac_header>
20268 _ACEOF 23219 _ACEOF
20269 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 23220 if { (ac_try="$ac_cpp conftest.$ac_ext"
20270 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 23221 case "(($ac_try" in
23222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23223 *) ac_try_echo=$ac_try;;
23224 esac
23225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23226 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20271 ac_status=$? 23227 ac_status=$?
20272 grep -v '^ *+' conftest.er1 >conftest.err 23228 grep -v '^ *+' conftest.er1 >conftest.err
20273 rm -f conftest.er1 23229 rm -f conftest.er1
20274 cat conftest.err >&5 23230 cat conftest.err >&5
20275 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20289 echo "$as_me: failed program was:" >&5 23245 echo "$as_me: failed program was:" >&5
20290 sed 's/^/| /' conftest.$ac_ext >&5 23246 sed 's/^/| /' conftest.$ac_ext >&5
20291 23247
20292 ac_header_preproc=no 23248 ac_header_preproc=no
20293 fi 23249 fi
23250
20294 rm -f conftest.err conftest.$ac_ext 23251 rm -f conftest.err conftest.$ac_ext
20295 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 23252 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20296 echo "${ECHO_T}$ac_header_preproc" >&6 23253 echo "${ECHO_T}$ac_header_preproc" >&6; }
20297 23254
20298 # So? What about this header? 23255 # So? What about this header?
20299 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 23256 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20300 yes:no: ) 23257 yes:no: )
20301 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 23258 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20315 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 23272 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20316 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 23273 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20317 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 23274 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20318 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 23275 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20319 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 23276 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20320 ( 23277
20321 cat <<\_ASBOX
20322 ## ------------------------------------------ ##
20323 ## Report this to the AC_PACKAGE_NAME lists. ##
20324 ## ------------------------------------------ ##
20325 _ASBOX
20326 ) |
20327 sed "s/^/$as_me: WARNING: /" >&2
20328 ;; 23278 ;;
20329 esac 23279 esac
20330 echo "$as_me:$LINENO: checking for $ac_header" >&5 23280 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20331 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 23281 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20332 if eval "test \"\${$as_ac_Header+set}\" = set"; then 23282 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20333 echo $ECHO_N "(cached) $ECHO_C" >&6 23283 echo $ECHO_N "(cached) $ECHO_C" >&6
20334 else 23284 else
20335 eval "$as_ac_Header=\$ac_header_preproc" 23285 eval "$as_ac_Header=\$ac_header_preproc"
20336 fi 23286 fi
20337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 23287 ac_res=`eval echo '${'$as_ac_Header'}'`
20338 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 23288 { echo "$as_me:$LINENO: result: $ac_res" >&5
23289 echo "${ECHO_T}$ac_res" >&6; }
20339 23290
20340 fi 23291 fi
20341 if test `eval echo '${'$as_ac_Header'}'` = yes; then 23292 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20342 cat >>confdefs.h <<_ACEOF 23293 cat >>confdefs.h <<_ACEOF
20343 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 23294 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20346 else 23297 else
20347 23298
20348 for ac_header in kerberosIV/krb.h 23299 for ac_header in kerberosIV/krb.h
20349 do 23300 do
20350 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 23301 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20351 if eval "test \"\${$as_ac_Header+set}\" = set"; then 23302 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20352 echo "$as_me:$LINENO: checking for $ac_header" >&5 23303 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20353 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 23304 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20354 if eval "test \"\${$as_ac_Header+set}\" = set"; then 23305 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20355 echo $ECHO_N "(cached) $ECHO_C" >&6 23306 echo $ECHO_N "(cached) $ECHO_C" >&6
20356 fi 23307 fi
20357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 23308 ac_res=`eval echo '${'$as_ac_Header'}'`
20358 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 23309 { echo "$as_me:$LINENO: result: $ac_res" >&5
23310 echo "${ECHO_T}$ac_res" >&6; }
20359 else 23311 else
20360 # Is the header compilable? 23312 # Is the header compilable?
20361 echo "$as_me:$LINENO: checking $ac_header usability" >&5 23313 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
20362 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 23314 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
20363 cat >conftest.$ac_ext <<_ACEOF 23315 cat >conftest.$ac_ext <<_ACEOF
20364 /* confdefs.h. */ 23316 /* confdefs.h. */
20365 _ACEOF 23317 _ACEOF
20366 cat confdefs.h >>conftest.$ac_ext 23318 cat confdefs.h >>conftest.$ac_ext
20367 cat >>conftest.$ac_ext <<_ACEOF 23319 cat >>conftest.$ac_ext <<_ACEOF
20368 /* end confdefs.h. */ 23320 /* end confdefs.h. */
20369 $ac_includes_default 23321 $ac_includes_default
20370 #include <$ac_header> 23322 #include <$ac_header>
20371 _ACEOF 23323 _ACEOF
20372 rm -f conftest.$ac_objext 23324 rm -f conftest.$ac_objext
20373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 23325 if { (ac_try="$ac_compile"
20374 (eval $ac_compile) 2>conftest.er1 23326 case "(($ac_try" in
23327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23328 *) ac_try_echo=$ac_try;;
23329 esac
23330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23331 (eval "$ac_compile") 2>conftest.er1
20375 ac_status=$? 23332 ac_status=$?
20376 grep -v '^ *+' conftest.er1 >conftest.err 23333 grep -v '^ *+' conftest.er1 >conftest.err
20377 rm -f conftest.er1 23334 rm -f conftest.er1
20378 cat conftest.err >&5 23335 cat conftest.err >&5
20379 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20380 (exit $ac_status); } && 23337 (exit $ac_status); } &&
20381 { ac_try='test -z "$ac_c_werror_flag" 23338 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20382 || test ! -s conftest.err' 23339 { (case "(($ac_try" in
20383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20384 (eval $ac_try) 2>&5 23341 *) ac_try_echo=$ac_try;;
23342 esac
23343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23344 (eval "$ac_try") 2>&5
20385 ac_status=$? 23345 ac_status=$?
20386 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20387 (exit $ac_status); }; } && 23347 (exit $ac_status); }; } &&
20388 { ac_try='test -s conftest.$ac_objext' 23348 { ac_try='test -s conftest.$ac_objext'
20389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23349 { (case "(($ac_try" in
20390 (eval $ac_try) 2>&5 23350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23351 *) ac_try_echo=$ac_try;;
23352 esac
23353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23354 (eval "$ac_try") 2>&5
20391 ac_status=$? 23355 ac_status=$?
20392 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20393 (exit $ac_status); }; }; then 23357 (exit $ac_status); }; }; then
20394 ac_header_compiler=yes 23358 ac_header_compiler=yes
20395 else 23359 else
20396 echo "$as_me: failed program was:" >&5 23360 echo "$as_me: failed program was:" >&5
20397 sed 's/^/| /' conftest.$ac_ext >&5 23361 sed 's/^/| /' conftest.$ac_ext >&5
20398 23362
20399 ac_header_compiler=no 23363 ac_header_compiler=no
20400 fi 23364 fi
20401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 23365
20402 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 23366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20403 echo "${ECHO_T}$ac_header_compiler" >&6 23367 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23368 echo "${ECHO_T}$ac_header_compiler" >&6; }
20404 23369
20405 # Is the header present? 23370 # Is the header present?
20406 echo "$as_me:$LINENO: checking $ac_header presence" >&5 23371 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
20407 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 23372 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
20408 cat >conftest.$ac_ext <<_ACEOF 23373 cat >conftest.$ac_ext <<_ACEOF
20409 /* confdefs.h. */ 23374 /* confdefs.h. */
20410 _ACEOF 23375 _ACEOF
20411 cat confdefs.h >>conftest.$ac_ext 23376 cat confdefs.h >>conftest.$ac_ext
20412 cat >>conftest.$ac_ext <<_ACEOF 23377 cat >>conftest.$ac_ext <<_ACEOF
20413 /* end confdefs.h. */ 23378 /* end confdefs.h. */
20414 #include <$ac_header> 23379 #include <$ac_header>
20415 _ACEOF 23380 _ACEOF
20416 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 23381 if { (ac_try="$ac_cpp conftest.$ac_ext"
20417 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 23382 case "(($ac_try" in
23383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23384 *) ac_try_echo=$ac_try;;
23385 esac
23386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23387 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20418 ac_status=$? 23388 ac_status=$?
20419 grep -v '^ *+' conftest.er1 >conftest.err 23389 grep -v '^ *+' conftest.er1 >conftest.err
20420 rm -f conftest.er1 23390 rm -f conftest.er1
20421 cat conftest.err >&5 23391 cat conftest.err >&5
20422 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20436 echo "$as_me: failed program was:" >&5 23406 echo "$as_me: failed program was:" >&5
20437 sed 's/^/| /' conftest.$ac_ext >&5 23407 sed 's/^/| /' conftest.$ac_ext >&5
20438 23408
20439 ac_header_preproc=no 23409 ac_header_preproc=no
20440 fi 23410 fi
23411
20441 rm -f conftest.err conftest.$ac_ext 23412 rm -f conftest.err conftest.$ac_ext
20442 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 23413 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20443 echo "${ECHO_T}$ac_header_preproc" >&6 23414 echo "${ECHO_T}$ac_header_preproc" >&6; }
20444 23415
20445 # So? What about this header? 23416 # So? What about this header?
20446 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 23417 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20447 yes:no: ) 23418 yes:no: )
20448 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 23419 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20462 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 23433 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20463 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 23434 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20464 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 23435 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20465 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 23436 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20466 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 23437 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20467 ( 23438
20468 cat <<\_ASBOX
20469 ## ------------------------------------------ ##
20470 ## Report this to the AC_PACKAGE_NAME lists. ##
20471 ## ------------------------------------------ ##
20472 _ASBOX
20473 ) |
20474 sed "s/^/$as_me: WARNING: /" >&2
20475 ;; 23439 ;;
20476 esac 23440 esac
20477 echo "$as_me:$LINENO: checking for $ac_header" >&5 23441 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 23442 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20479 if eval "test \"\${$as_ac_Header+set}\" = set"; then 23443 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20480 echo $ECHO_N "(cached) $ECHO_C" >&6 23444 echo $ECHO_N "(cached) $ECHO_C" >&6
20481 else 23445 else
20482 eval "$as_ac_Header=\$ac_header_preproc" 23446 eval "$as_ac_Header=\$ac_header_preproc"
20483 fi 23447 fi
20484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 23448 ac_res=`eval echo '${'$as_ac_Header'}'`
20485 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 23449 { echo "$as_me:$LINENO: result: $ac_res" >&5
23450 echo "${ECHO_T}$ac_res" >&6; }
20486 23451
20487 fi 23452 fi
20488 if test `eval echo '${'$as_ac_Header'}'` = yes; then 23453 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20489 cat >>confdefs.h <<_ACEOF 23454 cat >>confdefs.h <<_ACEOF
20490 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 23455 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20493 else 23458 else
20494 23459
20495 for ac_header in kerberos/krb.h 23460 for ac_header in kerberos/krb.h
20496 do 23461 do
20497 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 23462 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20498 if eval "test \"\${$as_ac_Header+set}\" = set"; then 23463 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20499 echo "$as_me:$LINENO: checking for $ac_header" >&5 23464 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20500 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 23465 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20501 if eval "test \"\${$as_ac_Header+set}\" = set"; then 23466 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20502 echo $ECHO_N "(cached) $ECHO_C" >&6 23467 echo $ECHO_N "(cached) $ECHO_C" >&6
20503 fi 23468 fi
20504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 23469 ac_res=`eval echo '${'$as_ac_Header'}'`
20505 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 23470 { echo "$as_me:$LINENO: result: $ac_res" >&5
23471 echo "${ECHO_T}$ac_res" >&6; }
20506 else 23472 else
20507 # Is the header compilable? 23473 # Is the header compilable?
20508 echo "$as_me:$LINENO: checking $ac_header usability" >&5 23474 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
20509 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 23475 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
20510 cat >conftest.$ac_ext <<_ACEOF 23476 cat >conftest.$ac_ext <<_ACEOF
20511 /* confdefs.h. */ 23477 /* confdefs.h. */
20512 _ACEOF 23478 _ACEOF
20513 cat confdefs.h >>conftest.$ac_ext 23479 cat confdefs.h >>conftest.$ac_ext
20514 cat >>conftest.$ac_ext <<_ACEOF 23480 cat >>conftest.$ac_ext <<_ACEOF
20515 /* end confdefs.h. */ 23481 /* end confdefs.h. */
20516 $ac_includes_default 23482 $ac_includes_default
20517 #include <$ac_header> 23483 #include <$ac_header>
20518 _ACEOF 23484 _ACEOF
20519 rm -f conftest.$ac_objext 23485 rm -f conftest.$ac_objext
20520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 23486 if { (ac_try="$ac_compile"
20521 (eval $ac_compile) 2>conftest.er1 23487 case "(($ac_try" in
23488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23489 *) ac_try_echo=$ac_try;;
23490 esac
23491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23492 (eval "$ac_compile") 2>conftest.er1
20522 ac_status=$? 23493 ac_status=$?
20523 grep -v '^ *+' conftest.er1 >conftest.err 23494 grep -v '^ *+' conftest.er1 >conftest.err
20524 rm -f conftest.er1 23495 rm -f conftest.er1
20525 cat conftest.err >&5 23496 cat conftest.err >&5
20526 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20527 (exit $ac_status); } && 23498 (exit $ac_status); } &&
20528 { ac_try='test -z "$ac_c_werror_flag" 23499 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20529 || test ! -s conftest.err' 23500 { (case "(($ac_try" in
20530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20531 (eval $ac_try) 2>&5 23502 *) ac_try_echo=$ac_try;;
23503 esac
23504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23505 (eval "$ac_try") 2>&5
20532 ac_status=$? 23506 ac_status=$?
20533 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20534 (exit $ac_status); }; } && 23508 (exit $ac_status); }; } &&
20535 { ac_try='test -s conftest.$ac_objext' 23509 { ac_try='test -s conftest.$ac_objext'
20536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23510 { (case "(($ac_try" in
20537 (eval $ac_try) 2>&5 23511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23512 *) ac_try_echo=$ac_try;;
23513 esac
23514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23515 (eval "$ac_try") 2>&5
20538 ac_status=$? 23516 ac_status=$?
20539 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20540 (exit $ac_status); }; }; then 23518 (exit $ac_status); }; }; then
20541 ac_header_compiler=yes 23519 ac_header_compiler=yes
20542 else 23520 else
20543 echo "$as_me: failed program was:" >&5 23521 echo "$as_me: failed program was:" >&5
20544 sed 's/^/| /' conftest.$ac_ext >&5 23522 sed 's/^/| /' conftest.$ac_ext >&5
20545 23523
20546 ac_header_compiler=no 23524 ac_header_compiler=no
20547 fi 23525 fi
20548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 23526
20549 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 23527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20550 echo "${ECHO_T}$ac_header_compiler" >&6 23528 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23529 echo "${ECHO_T}$ac_header_compiler" >&6; }
20551 23530
20552 # Is the header present? 23531 # Is the header present?
20553 echo "$as_me:$LINENO: checking $ac_header presence" >&5 23532 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
20554 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 23533 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
20555 cat >conftest.$ac_ext <<_ACEOF 23534 cat >conftest.$ac_ext <<_ACEOF
20556 /* confdefs.h. */ 23535 /* confdefs.h. */
20557 _ACEOF 23536 _ACEOF
20558 cat confdefs.h >>conftest.$ac_ext 23537 cat confdefs.h >>conftest.$ac_ext
20559 cat >>conftest.$ac_ext <<_ACEOF 23538 cat >>conftest.$ac_ext <<_ACEOF
20560 /* end confdefs.h. */ 23539 /* end confdefs.h. */
20561 #include <$ac_header> 23540 #include <$ac_header>
20562 _ACEOF 23541 _ACEOF
20563 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 23542 if { (ac_try="$ac_cpp conftest.$ac_ext"
20564 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 23543 case "(($ac_try" in
23544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23545 *) ac_try_echo=$ac_try;;
23546 esac
23547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23548 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20565 ac_status=$? 23549 ac_status=$?
20566 grep -v '^ *+' conftest.er1 >conftest.err 23550 grep -v '^ *+' conftest.er1 >conftest.err
20567 rm -f conftest.er1 23551 rm -f conftest.er1
20568 cat conftest.err >&5 23552 cat conftest.err >&5
20569 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20583 echo "$as_me: failed program was:" >&5 23567 echo "$as_me: failed program was:" >&5
20584 sed 's/^/| /' conftest.$ac_ext >&5 23568 sed 's/^/| /' conftest.$ac_ext >&5
20585 23569
20586 ac_header_preproc=no 23570 ac_header_preproc=no
20587 fi 23571 fi
23572
20588 rm -f conftest.err conftest.$ac_ext 23573 rm -f conftest.err conftest.$ac_ext
20589 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 23574 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20590 echo "${ECHO_T}$ac_header_preproc" >&6 23575 echo "${ECHO_T}$ac_header_preproc" >&6; }
20591 23576
20592 # So? What about this header? 23577 # So? What about this header?
20593 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 23578 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20594 yes:no: ) 23579 yes:no: )
20595 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 23580 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20609 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 23594 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20610 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 23595 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20611 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 23596 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20612 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 23597 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20613 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 23598 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20614 ( 23599
20615 cat <<\_ASBOX
20616 ## ------------------------------------------ ##
20617 ## Report this to the AC_PACKAGE_NAME lists. ##
20618 ## ------------------------------------------ ##
20619 _ASBOX
20620 ) |
20621 sed "s/^/$as_me: WARNING: /" >&2
20622 ;; 23600 ;;
20623 esac 23601 esac
20624 echo "$as_me:$LINENO: checking for $ac_header" >&5 23602 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20625 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 23603 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20626 if eval "test \"\${$as_ac_Header+set}\" = set"; then 23604 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20627 echo $ECHO_N "(cached) $ECHO_C" >&6 23605 echo $ECHO_N "(cached) $ECHO_C" >&6
20628 else 23606 else
20629 eval "$as_ac_Header=\$ac_header_preproc" 23607 eval "$as_ac_Header=\$ac_header_preproc"
20630 fi 23608 fi
20631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 23609 ac_res=`eval echo '${'$as_ac_Header'}'`
20632 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 23610 { echo "$as_me:$LINENO: result: $ac_res" >&5
23611 echo "${ECHO_T}$ac_res" >&6; }
20633 23612
20634 fi 23613 fi
20635 if test `eval echo '${'$as_ac_Header'}'` = yes; then 23614 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20636 cat >>confdefs.h <<_ACEOF 23615 cat >>confdefs.h <<_ACEOF
20637 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 23616 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20652 fi 23631 fi
20653 23632
20654 for ac_header in com_err.h 23633 for ac_header in com_err.h
20655 do 23634 do
20656 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 23635 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20657 if eval "test \"\${$as_ac_Header+set}\" = set"; then 23636 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20658 echo "$as_me:$LINENO: checking for $ac_header" >&5 23637 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20659 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 23638 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20660 if eval "test \"\${$as_ac_Header+set}\" = set"; then 23639 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20661 echo $ECHO_N "(cached) $ECHO_C" >&6 23640 echo $ECHO_N "(cached) $ECHO_C" >&6
20662 fi 23641 fi
20663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 23642 ac_res=`eval echo '${'$as_ac_Header'}'`
20664 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 23643 { echo "$as_me:$LINENO: result: $ac_res" >&5
23644 echo "${ECHO_T}$ac_res" >&6; }
20665 else 23645 else
20666 # Is the header compilable? 23646 # Is the header compilable?
20667 echo "$as_me:$LINENO: checking $ac_header usability" >&5 23647 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
20668 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 23648 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
20669 cat >conftest.$ac_ext <<_ACEOF 23649 cat >conftest.$ac_ext <<_ACEOF
20670 /* confdefs.h. */ 23650 /* confdefs.h. */
20671 _ACEOF 23651 _ACEOF
20672 cat confdefs.h >>conftest.$ac_ext 23652 cat confdefs.h >>conftest.$ac_ext
20673 cat >>conftest.$ac_ext <<_ACEOF 23653 cat >>conftest.$ac_ext <<_ACEOF
20674 /* end confdefs.h. */ 23654 /* end confdefs.h. */
20675 $ac_includes_default 23655 $ac_includes_default
20676 #include <$ac_header> 23656 #include <$ac_header>
20677 _ACEOF 23657 _ACEOF
20678 rm -f conftest.$ac_objext 23658 rm -f conftest.$ac_objext
20679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 23659 if { (ac_try="$ac_compile"
20680 (eval $ac_compile) 2>conftest.er1 23660 case "(($ac_try" in
23661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23662 *) ac_try_echo=$ac_try;;
23663 esac
23664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23665 (eval "$ac_compile") 2>conftest.er1
20681 ac_status=$? 23666 ac_status=$?
20682 grep -v '^ *+' conftest.er1 >conftest.err 23667 grep -v '^ *+' conftest.er1 >conftest.err
20683 rm -f conftest.er1 23668 rm -f conftest.er1
20684 cat conftest.err >&5 23669 cat conftest.err >&5
20685 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20686 (exit $ac_status); } && 23671 (exit $ac_status); } &&
20687 { ac_try='test -z "$ac_c_werror_flag" 23672 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20688 || test ! -s conftest.err' 23673 { (case "(($ac_try" in
20689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20690 (eval $ac_try) 2>&5 23675 *) ac_try_echo=$ac_try;;
23676 esac
23677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23678 (eval "$ac_try") 2>&5
20691 ac_status=$? 23679 ac_status=$?
20692 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20693 (exit $ac_status); }; } && 23681 (exit $ac_status); }; } &&
20694 { ac_try='test -s conftest.$ac_objext' 23682 { ac_try='test -s conftest.$ac_objext'
20695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23683 { (case "(($ac_try" in
20696 (eval $ac_try) 2>&5 23684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23685 *) ac_try_echo=$ac_try;;
23686 esac
23687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23688 (eval "$ac_try") 2>&5
20697 ac_status=$? 23689 ac_status=$?
20698 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20699 (exit $ac_status); }; }; then 23691 (exit $ac_status); }; }; then
20700 ac_header_compiler=yes 23692 ac_header_compiler=yes
20701 else 23693 else
20702 echo "$as_me: failed program was:" >&5 23694 echo "$as_me: failed program was:" >&5
20703 sed 's/^/| /' conftest.$ac_ext >&5 23695 sed 's/^/| /' conftest.$ac_ext >&5
20704 23696
20705 ac_header_compiler=no 23697 ac_header_compiler=no
20706 fi 23698 fi
20707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 23699
20708 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 23700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20709 echo "${ECHO_T}$ac_header_compiler" >&6 23701 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23702 echo "${ECHO_T}$ac_header_compiler" >&6; }
20710 23703
20711 # Is the header present? 23704 # Is the header present?
20712 echo "$as_me:$LINENO: checking $ac_header presence" >&5 23705 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
20713 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 23706 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
20714 cat >conftest.$ac_ext <<_ACEOF 23707 cat >conftest.$ac_ext <<_ACEOF
20715 /* confdefs.h. */ 23708 /* confdefs.h. */
20716 _ACEOF 23709 _ACEOF
20717 cat confdefs.h >>conftest.$ac_ext 23710 cat confdefs.h >>conftest.$ac_ext
20718 cat >>conftest.$ac_ext <<_ACEOF 23711 cat >>conftest.$ac_ext <<_ACEOF
20719 /* end confdefs.h. */ 23712 /* end confdefs.h. */
20720 #include <$ac_header> 23713 #include <$ac_header>
20721 _ACEOF 23714 _ACEOF
20722 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 23715 if { (ac_try="$ac_cpp conftest.$ac_ext"
20723 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 23716 case "(($ac_try" in
23717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23718 *) ac_try_echo=$ac_try;;
23719 esac
23720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23721 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20724 ac_status=$? 23722 ac_status=$?
20725 grep -v '^ *+' conftest.er1 >conftest.err 23723 grep -v '^ *+' conftest.er1 >conftest.err
20726 rm -f conftest.er1 23724 rm -f conftest.er1
20727 cat conftest.err >&5 23725 cat conftest.err >&5
20728 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20742 echo "$as_me: failed program was:" >&5 23740 echo "$as_me: failed program was:" >&5
20743 sed 's/^/| /' conftest.$ac_ext >&5 23741 sed 's/^/| /' conftest.$ac_ext >&5
20744 23742
20745 ac_header_preproc=no 23743 ac_header_preproc=no
20746 fi 23744 fi
23745
20747 rm -f conftest.err conftest.$ac_ext 23746 rm -f conftest.err conftest.$ac_ext
20748 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 23747 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20749 echo "${ECHO_T}$ac_header_preproc" >&6 23748 echo "${ECHO_T}$ac_header_preproc" >&6; }
20750 23749
20751 # So? What about this header? 23750 # So? What about this header?
20752 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 23751 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20753 yes:no: ) 23752 yes:no: )
20754 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 23753 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20768 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 23767 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20769 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 23768 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20770 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 23769 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20771 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 23770 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20772 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 23771 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20773 ( 23772
20774 cat <<\_ASBOX
20775 ## ------------------------------------------ ##
20776 ## Report this to the AC_PACKAGE_NAME lists. ##
20777 ## ------------------------------------------ ##
20778 _ASBOX
20779 ) |
20780 sed "s/^/$as_me: WARNING: /" >&2
20781 ;; 23773 ;;
20782 esac 23774 esac
20783 echo "$as_me:$LINENO: checking for $ac_header" >&5 23775 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20784 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 23776 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20785 if eval "test \"\${$as_ac_Header+set}\" = set"; then 23777 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20786 echo $ECHO_N "(cached) $ECHO_C" >&6 23778 echo $ECHO_N "(cached) $ECHO_C" >&6
20787 else 23779 else
20788 eval "$as_ac_Header=\$ac_header_preproc" 23780 eval "$as_ac_Header=\$ac_header_preproc"
20789 fi 23781 fi
20790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 23782 ac_res=`eval echo '${'$as_ac_Header'}'`
20791 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 23783 { echo "$as_me:$LINENO: result: $ac_res" >&5
23784 echo "${ECHO_T}$ac_res" >&6; }
20792 23785
20793 fi 23786 fi
20794 if test `eval echo '${'$as_ac_Header'}'` = yes; then 23787 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20795 cat >>confdefs.h <<_ACEOF 23788 cat >>confdefs.h <<_ACEOF
20796 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 23789 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20803 fi 23796 fi
20804 23797
20805 # Solaris requires -lintl if you want strerror (which calls dgettext) 23798 # Solaris requires -lintl if you want strerror (which calls dgettext)
20806 # to return localized messages. 23799 # to return localized messages.
20807 23800
20808 echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5 23801 { echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
20809 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6 23802 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; }
20810 if test "${ac_cv_lib_intl_dgettext+set}" = set; then 23803 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
20811 echo $ECHO_N "(cached) $ECHO_C" >&6 23804 echo $ECHO_N "(cached) $ECHO_C" >&6
20812 else 23805 else
20813 ac_check_lib_save_LIBS=$LIBS 23806 ac_check_lib_save_LIBS=$LIBS
20814 LIBS="-lintl $LIBS" 23807 LIBS="-lintl $LIBS"
20817 _ACEOF 23810 _ACEOF
20818 cat confdefs.h >>conftest.$ac_ext 23811 cat confdefs.h >>conftest.$ac_ext
20819 cat >>conftest.$ac_ext <<_ACEOF 23812 cat >>conftest.$ac_ext <<_ACEOF
20820 /* end confdefs.h. */ 23813 /* end confdefs.h. */
20821 23814
20822 /* Override any gcc2 internal prototype to avoid an error. */ 23815 /* Override any GCC internal prototype to avoid an error.
23816 Use char because int might match the return type of a GCC
23817 builtin and then its argument prototype would still apply. */
20823 #ifdef __cplusplus 23818 #ifdef __cplusplus
20824 extern "C" 23819 extern "C"
20825 #endif 23820 #endif
20826 /* We use char because int might match the return type of a gcc2
20827 builtin and then its argument prototype would still apply. */
20828 char dgettext (); 23821 char dgettext ();
20829 int 23822 int
20830 main () 23823 main ()
20831 { 23824 {
20832 dgettext (); 23825 return dgettext ();
20833 ; 23826 ;
20834 return 0; 23827 return 0;
20835 } 23828 }
20836 _ACEOF 23829 _ACEOF
20837 rm -f conftest.$ac_objext conftest$ac_exeext 23830 rm -f conftest.$ac_objext conftest$ac_exeext
20838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 23831 if { (ac_try="$ac_link"
20839 (eval $ac_link) 2>conftest.er1 23832 case "(($ac_try" in
23833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23834 *) ac_try_echo=$ac_try;;
23835 esac
23836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23837 (eval "$ac_link") 2>conftest.er1
20840 ac_status=$? 23838 ac_status=$?
20841 grep -v '^ *+' conftest.er1 >conftest.err 23839 grep -v '^ *+' conftest.er1 >conftest.err
20842 rm -f conftest.er1 23840 rm -f conftest.er1
20843 cat conftest.err >&5 23841 cat conftest.err >&5
20844 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20845 (exit $ac_status); } && 23843 (exit $ac_status); } &&
20846 { ac_try='test -z "$ac_c_werror_flag" 23844 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20847 || test ! -s conftest.err' 23845 { (case "(($ac_try" in
20848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20849 (eval $ac_try) 2>&5 23847 *) ac_try_echo=$ac_try;;
23848 esac
23849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23850 (eval "$ac_try") 2>&5
20850 ac_status=$? 23851 ac_status=$?
20851 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20852 (exit $ac_status); }; } && 23853 (exit $ac_status); }; } &&
20853 { ac_try='test -s conftest$ac_exeext' 23854 { ac_try='test -s conftest$ac_exeext'
20854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23855 { (case "(($ac_try" in
20855 (eval $ac_try) 2>&5 23856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23857 *) ac_try_echo=$ac_try;;
23858 esac
23859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23860 (eval "$ac_try") 2>&5
20856 ac_status=$? 23861 ac_status=$?
20857 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20858 (exit $ac_status); }; }; then 23863 (exit $ac_status); }; }; then
20859 ac_cv_lib_intl_dgettext=yes 23864 ac_cv_lib_intl_dgettext=yes
20860 else 23865 else
20861 echo "$as_me: failed program was:" >&5 23866 echo "$as_me: failed program was:" >&5
20862 sed 's/^/| /' conftest.$ac_ext >&5 23867 sed 's/^/| /' conftest.$ac_ext >&5
20863 23868
20864 ac_cv_lib_intl_dgettext=no 23869 ac_cv_lib_intl_dgettext=no
20865 fi 23870 fi
20866 rm -f conftest.err conftest.$ac_objext \ 23871
23872 rm -f core conftest.err conftest.$ac_objext \
20867 conftest$ac_exeext conftest.$ac_ext 23873 conftest$ac_exeext conftest.$ac_ext
20868 LIBS=$ac_check_lib_save_LIBS 23874 LIBS=$ac_check_lib_save_LIBS
20869 fi 23875 fi
20870 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5 23876 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
20871 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6 23877 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; }
20872 if test $ac_cv_lib_intl_dgettext = yes; then 23878 if test $ac_cv_lib_intl_dgettext = yes; then
20873 cat >>confdefs.h <<_ACEOF 23879 cat >>confdefs.h <<_ACEOF
20874 #define HAVE_LIBINTL 1 23880 #define HAVE_LIBINTL 1
20875 _ACEOF 23881 _ACEOF
20876 23882
20877 LIBS="-lintl $LIBS" 23883 LIBS="-lintl $LIBS"
20878 23884
20879 fi 23885 fi
20880 23886
20881 23887
20882 echo "$as_me:$LINENO: checking whether localtime caches TZ" >&5 23888 { echo "$as_me:$LINENO: checking whether localtime caches TZ" >&5
20883 echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6 23889 echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6; }
20884 if test "${emacs_cv_localtime_cache+set}" = set; then 23890 if test "${emacs_cv_localtime_cache+set}" = set; then
20885 echo $ECHO_N "(cached) $ECHO_C" >&6 23891 echo $ECHO_N "(cached) $ECHO_C" >&6
20886 else 23892 else
20887 if test x$ac_cv_func_tzset = xyes; then 23893 if test x$ac_cv_func_tzset = xyes; then
20888 if test "$cross_compiling" = yes; then 23894 if test "$cross_compiling" = yes; then
20924 exit (1); 23930 exit (1);
20925 exit (0); 23931 exit (0);
20926 } 23932 }
20927 _ACEOF 23933 _ACEOF
20928 rm -f conftest$ac_exeext 23934 rm -f conftest$ac_exeext
20929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 23935 if { (ac_try="$ac_link"
20930 (eval $ac_link) 2>&5 23936 case "(($ac_try" in
23937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23938 *) ac_try_echo=$ac_try;;
23939 esac
23940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23941 (eval "$ac_link") 2>&5
20931 ac_status=$? 23942 ac_status=$?
20932 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20933 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 23944 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23945 { (case "(($ac_try" in
20935 (eval $ac_try) 2>&5 23946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23947 *) ac_try_echo=$ac_try;;
23948 esac
23949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23950 (eval "$ac_try") 2>&5
20936 ac_status=$? 23951 ac_status=$?
20937 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20938 (exit $ac_status); }; }; then 23953 (exit $ac_status); }; }; then
20939 emacs_cv_localtime_cache=no 23954 emacs_cv_localtime_cache=no
20940 else 23955 else
20943 sed 's/^/| /' conftest.$ac_ext >&5 23958 sed 's/^/| /' conftest.$ac_ext >&5
20944 23959
20945 ( exit $ac_status ) 23960 ( exit $ac_status )
20946 emacs_cv_localtime_cache=yes 23961 emacs_cv_localtime_cache=yes
20947 fi 23962 fi
20948 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 23963 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20949 fi 23964 fi
23965
23966
20950 else 23967 else
20951 # If we lack tzset, report that localtime does not cache TZ, 23968 # If we lack tzset, report that localtime does not cache TZ,
20952 # since we can't invalidate the cache if we don't have tzset. 23969 # since we can't invalidate the cache if we don't have tzset.
20953 emacs_cv_localtime_cache=no 23970 emacs_cv_localtime_cache=no
20954 fi 23971 fi
20955 fi 23972 fi
20956 echo "$as_me:$LINENO: result: $emacs_cv_localtime_cache" >&5 23973 { echo "$as_me:$LINENO: result: $emacs_cv_localtime_cache" >&5
20957 echo "${ECHO_T}$emacs_cv_localtime_cache" >&6 23974 echo "${ECHO_T}$emacs_cv_localtime_cache" >&6; }
20958 if test $emacs_cv_localtime_cache = yes; then 23975 if test $emacs_cv_localtime_cache = yes; then
20959 23976
20960 cat >>confdefs.h <<\_ACEOF 23977 cat >>confdefs.h <<\_ACEOF
20961 #define LOCALTIME_CACHE 1 23978 #define LOCALTIME_CACHE 1
20962 _ACEOF 23979 _ACEOF
20966 if test "x$HAVE_TIMEVAL" = xyes; then 23983 if test "x$HAVE_TIMEVAL" = xyes; then
20967 23984
20968 for ac_func in gettimeofday 23985 for ac_func in gettimeofday
20969 do 23986 do
20970 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 23987 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20971 echo "$as_me:$LINENO: checking for $ac_func" >&5 23988 { echo "$as_me:$LINENO: checking for $ac_func" >&5
20972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 23989 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
20973 if eval "test \"\${$as_ac_var+set}\" = set"; then 23990 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20974 echo $ECHO_N "(cached) $ECHO_C" >&6 23991 echo $ECHO_N "(cached) $ECHO_C" >&6
20975 else 23992 else
20976 cat >conftest.$ac_ext <<_ACEOF 23993 cat >conftest.$ac_ext <<_ACEOF
20977 /* confdefs.h. */ 23994 /* confdefs.h. */
20978 _ACEOF 23995 _ACEOF
20994 # include <assert.h> 24011 # include <assert.h>
20995 #endif 24012 #endif
20996 24013
20997 #undef $ac_func 24014 #undef $ac_func
20998 24015
20999 /* Override any gcc2 internal prototype to avoid an error. */ 24016 /* Override any GCC internal prototype to avoid an error.
24017 Use char because int might match the return type of a GCC
24018 builtin and then its argument prototype would still apply. */
21000 #ifdef __cplusplus 24019 #ifdef __cplusplus
21001 extern "C" 24020 extern "C"
21002 {
21003 #endif 24021 #endif
21004 /* We use char because int might match the return type of a gcc2
21005 builtin and then its argument prototype would still apply. */
21006 char $ac_func (); 24022 char $ac_func ();
21007 /* The GNU C library defines this for functions which it implements 24023 /* The GNU C library defines this for functions which it implements
21008 to always fail with ENOSYS. Some functions are actually named 24024 to always fail with ENOSYS. Some functions are actually named
21009 something starting with __ and the normal name is an alias. */ 24025 something starting with __ and the normal name is an alias. */
21010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 24026 #if defined __stub_$ac_func || defined __stub___$ac_func
21011 choke me 24027 choke me
21012 #else
21013 char (*f) () = $ac_func;
21014 #endif
21015 #ifdef __cplusplus
21016 }
21017 #endif 24028 #endif
21018 24029
21019 int 24030 int
21020 main () 24031 main ()
21021 { 24032 {
21022 return f != $ac_func; 24033 return $ac_func ();
21023 ; 24034 ;
21024 return 0; 24035 return 0;
21025 } 24036 }
21026 _ACEOF 24037 _ACEOF
21027 rm -f conftest.$ac_objext conftest$ac_exeext 24038 rm -f conftest.$ac_objext conftest$ac_exeext
21028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 24039 if { (ac_try="$ac_link"
21029 (eval $ac_link) 2>conftest.er1 24040 case "(($ac_try" in
24041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24042 *) ac_try_echo=$ac_try;;
24043 esac
24044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24045 (eval "$ac_link") 2>conftest.er1
21030 ac_status=$? 24046 ac_status=$?
21031 grep -v '^ *+' conftest.er1 >conftest.err 24047 grep -v '^ *+' conftest.er1 >conftest.err
21032 rm -f conftest.er1 24048 rm -f conftest.er1
21033 cat conftest.err >&5 24049 cat conftest.err >&5
21034 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21035 (exit $ac_status); } && 24051 (exit $ac_status); } &&
21036 { ac_try='test -z "$ac_c_werror_flag" 24052 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21037 || test ! -s conftest.err' 24053 { (case "(($ac_try" in
21038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21039 (eval $ac_try) 2>&5 24055 *) ac_try_echo=$ac_try;;
24056 esac
24057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24058 (eval "$ac_try") 2>&5
21040 ac_status=$? 24059 ac_status=$?
21041 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21042 (exit $ac_status); }; } && 24061 (exit $ac_status); }; } &&
21043 { ac_try='test -s conftest$ac_exeext' 24062 { ac_try='test -s conftest$ac_exeext'
21044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24063 { (case "(($ac_try" in
21045 (eval $ac_try) 2>&5 24064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24065 *) ac_try_echo=$ac_try;;
24066 esac
24067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24068 (eval "$ac_try") 2>&5
21046 ac_status=$? 24069 ac_status=$?
21047 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21048 (exit $ac_status); }; }; then 24071 (exit $ac_status); }; }; then
21049 eval "$as_ac_var=yes" 24072 eval "$as_ac_var=yes"
21050 else 24073 else
21051 echo "$as_me: failed program was:" >&5 24074 echo "$as_me: failed program was:" >&5
21052 sed 's/^/| /' conftest.$ac_ext >&5 24075 sed 's/^/| /' conftest.$ac_ext >&5
21053 24076
21054 eval "$as_ac_var=no" 24077 eval "$as_ac_var=no"
21055 fi 24078 fi
21056 rm -f conftest.err conftest.$ac_objext \ 24079
24080 rm -f core conftest.err conftest.$ac_objext \
21057 conftest$ac_exeext conftest.$ac_ext 24081 conftest$ac_exeext conftest.$ac_ext
21058 fi 24082 fi
21059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 24083 ac_res=`eval echo '${'$as_ac_var'}'`
21060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 24084 { echo "$as_me:$LINENO: result: $ac_res" >&5
24085 echo "${ECHO_T}$ac_res" >&6; }
21061 if test `eval echo '${'$as_ac_var'}'` = yes; then 24086 if test `eval echo '${'$as_ac_var'}'` = yes; then
21062 cat >>confdefs.h <<_ACEOF 24087 cat >>confdefs.h <<_ACEOF
21063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 24088 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21064 _ACEOF 24089 _ACEOF
21065 24090
21066 fi 24091 fi
21067 done 24092 done
21068 24093
21069 if test $ac_cv_func_gettimeofday = yes; then 24094 if test $ac_cv_func_gettimeofday = yes; then
21070 echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5 24095 { echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
21071 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6 24096 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6; }
21072 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then 24097 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
21073 echo $ECHO_N "(cached) $ECHO_C" >&6 24098 echo $ECHO_N "(cached) $ECHO_C" >&6
21074 else 24099 else
21075 cat >conftest.$ac_ext <<_ACEOF 24100 cat >conftest.$ac_ext <<_ACEOF
21076 /* confdefs.h. */ 24101 /* confdefs.h. */
21097 ; 24122 ;
21098 return 0; 24123 return 0;
21099 } 24124 }
21100 _ACEOF 24125 _ACEOF
21101 rm -f conftest.$ac_objext 24126 rm -f conftest.$ac_objext
21102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 24127 if { (ac_try="$ac_compile"
21103 (eval $ac_compile) 2>conftest.er1 24128 case "(($ac_try" in
24129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24130 *) ac_try_echo=$ac_try;;
24131 esac
24132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24133 (eval "$ac_compile") 2>conftest.er1
21104 ac_status=$? 24134 ac_status=$?
21105 grep -v '^ *+' conftest.er1 >conftest.err 24135 grep -v '^ *+' conftest.er1 >conftest.err
21106 rm -f conftest.er1 24136 rm -f conftest.er1
21107 cat conftest.err >&5 24137 cat conftest.err >&5
21108 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21109 (exit $ac_status); } && 24139 (exit $ac_status); } &&
21110 { ac_try='test -z "$ac_c_werror_flag" 24140 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21111 || test ! -s conftest.err' 24141 { (case "(($ac_try" in
21112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21113 (eval $ac_try) 2>&5 24143 *) ac_try_echo=$ac_try;;
24144 esac
24145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24146 (eval "$ac_try") 2>&5
21114 ac_status=$? 24147 ac_status=$?
21115 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21116 (exit $ac_status); }; } && 24149 (exit $ac_status); }; } &&
21117 { ac_try='test -s conftest.$ac_objext' 24150 { ac_try='test -s conftest.$ac_objext'
21118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24151 { (case "(($ac_try" in
21119 (eval $ac_try) 2>&5 24152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24153 *) ac_try_echo=$ac_try;;
24154 esac
24155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24156 (eval "$ac_try") 2>&5
21120 ac_status=$? 24157 ac_status=$?
21121 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21122 (exit $ac_status); }; }; then 24159 (exit $ac_status); }; }; then
21123 emacs_cv_gettimeofday_two_arguments=yes 24160 emacs_cv_gettimeofday_two_arguments=yes
21124 else 24161 else
21125 echo "$as_me: failed program was:" >&5 24162 echo "$as_me: failed program was:" >&5
21126 sed 's/^/| /' conftest.$ac_ext >&5 24163 sed 's/^/| /' conftest.$ac_ext >&5
21127 24164
21128 emacs_cv_gettimeofday_two_arguments=no 24165 emacs_cv_gettimeofday_two_arguments=no
21129 fi 24166 fi
21130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 24167
21131 fi 24168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21132 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5 24169 fi
21133 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6 24170 { echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
24171 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6; }
21134 if test $emacs_cv_gettimeofday_two_arguments = no; then 24172 if test $emacs_cv_gettimeofday_two_arguments = no; then
21135 24173
21136 cat >>confdefs.h <<\_ACEOF 24174 cat >>confdefs.h <<\_ACEOF
21137 #define GETTIMEOFDAY_ONE_ARGUMENT 1 24175 #define GETTIMEOFDAY_ONE_ARGUMENT 1
21138 _ACEOF 24176 _ACEOF
21140 fi 24178 fi
21141 fi 24179 fi
21142 fi 24180 fi
21143 24181
21144 ok_so_far=yes 24182 ok_so_far=yes
21145 echo "$as_me:$LINENO: checking for socket" >&5 24183 { echo "$as_me:$LINENO: checking for socket" >&5
21146 echo $ECHO_N "checking for socket... $ECHO_C" >&6 24184 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
21147 if test "${ac_cv_func_socket+set}" = set; then 24185 if test "${ac_cv_func_socket+set}" = set; then
21148 echo $ECHO_N "(cached) $ECHO_C" >&6 24186 echo $ECHO_N "(cached) $ECHO_C" >&6
21149 else 24187 else
21150 cat >conftest.$ac_ext <<_ACEOF 24188 cat >conftest.$ac_ext <<_ACEOF
21151 /* confdefs.h. */ 24189 /* confdefs.h. */
21168 # include <assert.h> 24206 # include <assert.h>
21169 #endif 24207 #endif
21170 24208
21171 #undef socket 24209 #undef socket
21172 24210
21173 /* Override any gcc2 internal prototype to avoid an error. */ 24211 /* Override any GCC internal prototype to avoid an error.
24212 Use char because int might match the return type of a GCC
24213 builtin and then its argument prototype would still apply. */
21174 #ifdef __cplusplus 24214 #ifdef __cplusplus
21175 extern "C" 24215 extern "C"
21176 {
21177 #endif 24216 #endif
21178 /* We use char because int might match the return type of a gcc2
21179 builtin and then its argument prototype would still apply. */
21180 char socket (); 24217 char socket ();
21181 /* The GNU C library defines this for functions which it implements 24218 /* The GNU C library defines this for functions which it implements
21182 to always fail with ENOSYS. Some functions are actually named 24219 to always fail with ENOSYS. Some functions are actually named
21183 something starting with __ and the normal name is an alias. */ 24220 something starting with __ and the normal name is an alias. */
21184 #if defined (__stub_socket) || defined (__stub___socket) 24221 #if defined __stub_socket || defined __stub___socket
21185 choke me 24222 choke me
21186 #else
21187 char (*f) () = socket;
21188 #endif
21189 #ifdef __cplusplus
21190 }
21191 #endif 24223 #endif
21192 24224
21193 int 24225 int
21194 main () 24226 main ()
21195 { 24227 {
21196 return f != socket; 24228 return socket ();
21197 ; 24229 ;
21198 return 0; 24230 return 0;
21199 } 24231 }
21200 _ACEOF 24232 _ACEOF
21201 rm -f conftest.$ac_objext conftest$ac_exeext 24233 rm -f conftest.$ac_objext conftest$ac_exeext
21202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 24234 if { (ac_try="$ac_link"
21203 (eval $ac_link) 2>conftest.er1 24235 case "(($ac_try" in
24236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24237 *) ac_try_echo=$ac_try;;
24238 esac
24239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24240 (eval "$ac_link") 2>conftest.er1
21204 ac_status=$? 24241 ac_status=$?
21205 grep -v '^ *+' conftest.er1 >conftest.err 24242 grep -v '^ *+' conftest.er1 >conftest.err
21206 rm -f conftest.er1 24243 rm -f conftest.er1
21207 cat conftest.err >&5 24244 cat conftest.err >&5
21208 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21209 (exit $ac_status); } && 24246 (exit $ac_status); } &&
21210 { ac_try='test -z "$ac_c_werror_flag" 24247 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21211 || test ! -s conftest.err' 24248 { (case "(($ac_try" in
21212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21213 (eval $ac_try) 2>&5 24250 *) ac_try_echo=$ac_try;;
24251 esac
24252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24253 (eval "$ac_try") 2>&5
21214 ac_status=$? 24254 ac_status=$?
21215 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21216 (exit $ac_status); }; } && 24256 (exit $ac_status); }; } &&
21217 { ac_try='test -s conftest$ac_exeext' 24257 { ac_try='test -s conftest$ac_exeext'
21218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24258 { (case "(($ac_try" in
21219 (eval $ac_try) 2>&5 24259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24260 *) ac_try_echo=$ac_try;;
24261 esac
24262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24263 (eval "$ac_try") 2>&5
21220 ac_status=$? 24264 ac_status=$?
21221 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21222 (exit $ac_status); }; }; then 24266 (exit $ac_status); }; }; then
21223 ac_cv_func_socket=yes 24267 ac_cv_func_socket=yes
21224 else 24268 else
21225 echo "$as_me: failed program was:" >&5 24269 echo "$as_me: failed program was:" >&5
21226 sed 's/^/| /' conftest.$ac_ext >&5 24270 sed 's/^/| /' conftest.$ac_ext >&5
21227 24271
21228 ac_cv_func_socket=no 24272 ac_cv_func_socket=no
21229 fi 24273 fi
21230 rm -f conftest.err conftest.$ac_objext \ 24274
24275 rm -f core conftest.err conftest.$ac_objext \
21231 conftest$ac_exeext conftest.$ac_ext 24276 conftest$ac_exeext conftest.$ac_ext
21232 fi 24277 fi
21233 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5 24278 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
21234 echo "${ECHO_T}$ac_cv_func_socket" >&6 24279 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
21235 if test $ac_cv_func_socket = yes; then 24280 if test $ac_cv_func_socket = yes; then
21236 : 24281 :
21237 else 24282 else
21238 ok_so_far=no 24283 ok_so_far=no
21239 fi 24284 fi
21240 24285
21241 if test $ok_so_far = yes; then 24286 if test $ok_so_far = yes; then
21242 if test "${ac_cv_header_netinet_in_h+set}" = set; then 24287 if test "${ac_cv_header_netinet_in_h+set}" = set; then
21243 echo "$as_me:$LINENO: checking for netinet/in.h" >&5 24288 { echo "$as_me:$LINENO: checking for netinet/in.h" >&5
21244 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6 24289 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6; }
21245 if test "${ac_cv_header_netinet_in_h+set}" = set; then 24290 if test "${ac_cv_header_netinet_in_h+set}" = set; then
21246 echo $ECHO_N "(cached) $ECHO_C" >&6 24291 echo $ECHO_N "(cached) $ECHO_C" >&6
21247 fi 24292 fi
21248 echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 24293 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5
21249 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6 24294 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6; }
21250 else 24295 else
21251 # Is the header compilable? 24296 # Is the header compilable?
21252 echo "$as_me:$LINENO: checking netinet/in.h usability" >&5 24297 { echo "$as_me:$LINENO: checking netinet/in.h usability" >&5
21253 echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6 24298 echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6; }
21254 cat >conftest.$ac_ext <<_ACEOF 24299 cat >conftest.$ac_ext <<_ACEOF
21255 /* confdefs.h. */ 24300 /* confdefs.h. */
21256 _ACEOF 24301 _ACEOF
21257 cat confdefs.h >>conftest.$ac_ext 24302 cat confdefs.h >>conftest.$ac_ext
21258 cat >>conftest.$ac_ext <<_ACEOF 24303 cat >>conftest.$ac_ext <<_ACEOF
21259 /* end confdefs.h. */ 24304 /* end confdefs.h. */
21260 $ac_includes_default 24305 $ac_includes_default
21261 #include <netinet/in.h> 24306 #include <netinet/in.h>
21262 _ACEOF 24307 _ACEOF
21263 rm -f conftest.$ac_objext 24308 rm -f conftest.$ac_objext
21264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 24309 if { (ac_try="$ac_compile"
21265 (eval $ac_compile) 2>conftest.er1 24310 case "(($ac_try" in
24311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24312 *) ac_try_echo=$ac_try;;
24313 esac
24314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24315 (eval "$ac_compile") 2>conftest.er1
21266 ac_status=$? 24316 ac_status=$?
21267 grep -v '^ *+' conftest.er1 >conftest.err 24317 grep -v '^ *+' conftest.er1 >conftest.err
21268 rm -f conftest.er1 24318 rm -f conftest.er1
21269 cat conftest.err >&5 24319 cat conftest.err >&5
21270 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21271 (exit $ac_status); } && 24321 (exit $ac_status); } &&
21272 { ac_try='test -z "$ac_c_werror_flag" 24322 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21273 || test ! -s conftest.err' 24323 { (case "(($ac_try" in
21274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21275 (eval $ac_try) 2>&5 24325 *) ac_try_echo=$ac_try;;
24326 esac
24327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24328 (eval "$ac_try") 2>&5
21276 ac_status=$? 24329 ac_status=$?
21277 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21278 (exit $ac_status); }; } && 24331 (exit $ac_status); }; } &&
21279 { ac_try='test -s conftest.$ac_objext' 24332 { ac_try='test -s conftest.$ac_objext'
21280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24333 { (case "(($ac_try" in
21281 (eval $ac_try) 2>&5 24334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24335 *) ac_try_echo=$ac_try;;
24336 esac
24337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24338 (eval "$ac_try") 2>&5
21282 ac_status=$? 24339 ac_status=$?
21283 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21284 (exit $ac_status); }; }; then 24341 (exit $ac_status); }; }; then
21285 ac_header_compiler=yes 24342 ac_header_compiler=yes
21286 else 24343 else
21287 echo "$as_me: failed program was:" >&5 24344 echo "$as_me: failed program was:" >&5
21288 sed 's/^/| /' conftest.$ac_ext >&5 24345 sed 's/^/| /' conftest.$ac_ext >&5
21289 24346
21290 ac_header_compiler=no 24347 ac_header_compiler=no
21291 fi 24348 fi
21292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 24349
21293 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 24350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21294 echo "${ECHO_T}$ac_header_compiler" >&6 24351 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24352 echo "${ECHO_T}$ac_header_compiler" >&6; }
21295 24353
21296 # Is the header present? 24354 # Is the header present?
21297 echo "$as_me:$LINENO: checking netinet/in.h presence" >&5 24355 { echo "$as_me:$LINENO: checking netinet/in.h presence" >&5
21298 echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6 24356 echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6; }
21299 cat >conftest.$ac_ext <<_ACEOF 24357 cat >conftest.$ac_ext <<_ACEOF
21300 /* confdefs.h. */ 24358 /* confdefs.h. */
21301 _ACEOF 24359 _ACEOF
21302 cat confdefs.h >>conftest.$ac_ext 24360 cat confdefs.h >>conftest.$ac_ext
21303 cat >>conftest.$ac_ext <<_ACEOF 24361 cat >>conftest.$ac_ext <<_ACEOF
21304 /* end confdefs.h. */ 24362 /* end confdefs.h. */
21305 #include <netinet/in.h> 24363 #include <netinet/in.h>
21306 _ACEOF 24364 _ACEOF
21307 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 24365 if { (ac_try="$ac_cpp conftest.$ac_ext"
21308 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 24366 case "(($ac_try" in
24367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24368 *) ac_try_echo=$ac_try;;
24369 esac
24370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24371 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21309 ac_status=$? 24372 ac_status=$?
21310 grep -v '^ *+' conftest.er1 >conftest.err 24373 grep -v '^ *+' conftest.er1 >conftest.err
21311 rm -f conftest.er1 24374 rm -f conftest.er1
21312 cat conftest.err >&5 24375 cat conftest.err >&5
21313 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21327 echo "$as_me: failed program was:" >&5 24390 echo "$as_me: failed program was:" >&5
21328 sed 's/^/| /' conftest.$ac_ext >&5 24391 sed 's/^/| /' conftest.$ac_ext >&5
21329 24392
21330 ac_header_preproc=no 24393 ac_header_preproc=no
21331 fi 24394 fi
24395
21332 rm -f conftest.err conftest.$ac_ext 24396 rm -f conftest.err conftest.$ac_ext
21333 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 24397 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21334 echo "${ECHO_T}$ac_header_preproc" >&6 24398 echo "${ECHO_T}$ac_header_preproc" >&6; }
21335 24399
21336 # So? What about this header? 24400 # So? What about this header?
21337 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 24401 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21338 yes:no: ) 24402 yes:no: )
21339 { echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5 24403 { echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5
21353 echo "$as_me: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&2;} 24417 echo "$as_me: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&2;}
21354 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5 24418 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5
21355 echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;} 24419 echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;}
21356 { echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5 24420 { echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5
21357 echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;} 24421 echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;}
21358 ( 24422
21359 cat <<\_ASBOX
21360 ## ------------------------------------------ ##
21361 ## Report this to the AC_PACKAGE_NAME lists. ##
21362 ## ------------------------------------------ ##
21363 _ASBOX
21364 ) |
21365 sed "s/^/$as_me: WARNING: /" >&2
21366 ;; 24423 ;;
21367 esac 24424 esac
21368 echo "$as_me:$LINENO: checking for netinet/in.h" >&5 24425 { echo "$as_me:$LINENO: checking for netinet/in.h" >&5
21369 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6 24426 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6; }
21370 if test "${ac_cv_header_netinet_in_h+set}" = set; then 24427 if test "${ac_cv_header_netinet_in_h+set}" = set; then
21371 echo $ECHO_N "(cached) $ECHO_C" >&6 24428 echo $ECHO_N "(cached) $ECHO_C" >&6
21372 else 24429 else
21373 ac_cv_header_netinet_in_h=$ac_header_preproc 24430 ac_cv_header_netinet_in_h=$ac_header_preproc
21374 fi 24431 fi
21375 echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 24432 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5
21376 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6 24433 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6; }
21377 24434
21378 fi 24435 fi
21379 if test $ac_cv_header_netinet_in_h = yes; then 24436 if test $ac_cv_header_netinet_in_h = yes; then
21380 : 24437 :
21381 else 24438 else
21384 24441
21385 24442
21386 fi 24443 fi
21387 if test $ok_so_far = yes; then 24444 if test $ok_so_far = yes; then
21388 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 24445 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
21389 echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 24446 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
21390 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 24447 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; }
21391 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 24448 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
21392 echo $ECHO_N "(cached) $ECHO_C" >&6 24449 echo $ECHO_N "(cached) $ECHO_C" >&6
21393 fi 24450 fi
21394 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 24451 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
21395 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 24452 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; }
21396 else 24453 else
21397 # Is the header compilable? 24454 # Is the header compilable?
21398 echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 24455 { echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5
21399 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6 24456 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6; }
21400 cat >conftest.$ac_ext <<_ACEOF 24457 cat >conftest.$ac_ext <<_ACEOF
21401 /* confdefs.h. */ 24458 /* confdefs.h. */
21402 _ACEOF 24459 _ACEOF
21403 cat confdefs.h >>conftest.$ac_ext 24460 cat confdefs.h >>conftest.$ac_ext
21404 cat >>conftest.$ac_ext <<_ACEOF 24461 cat >>conftest.$ac_ext <<_ACEOF
21405 /* end confdefs.h. */ 24462 /* end confdefs.h. */
21406 $ac_includes_default 24463 $ac_includes_default
21407 #include <arpa/inet.h> 24464 #include <arpa/inet.h>
21408 _ACEOF 24465 _ACEOF
21409 rm -f conftest.$ac_objext 24466 rm -f conftest.$ac_objext
21410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 24467 if { (ac_try="$ac_compile"
21411 (eval $ac_compile) 2>conftest.er1 24468 case "(($ac_try" in
24469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24470 *) ac_try_echo=$ac_try;;
24471 esac
24472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24473 (eval "$ac_compile") 2>conftest.er1
21412 ac_status=$? 24474 ac_status=$?
21413 grep -v '^ *+' conftest.er1 >conftest.err 24475 grep -v '^ *+' conftest.er1 >conftest.err
21414 rm -f conftest.er1 24476 rm -f conftest.er1
21415 cat conftest.err >&5 24477 cat conftest.err >&5
21416 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21417 (exit $ac_status); } && 24479 (exit $ac_status); } &&
21418 { ac_try='test -z "$ac_c_werror_flag" 24480 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21419 || test ! -s conftest.err' 24481 { (case "(($ac_try" in
21420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21421 (eval $ac_try) 2>&5 24483 *) ac_try_echo=$ac_try;;
24484 esac
24485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24486 (eval "$ac_try") 2>&5
21422 ac_status=$? 24487 ac_status=$?
21423 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21424 (exit $ac_status); }; } && 24489 (exit $ac_status); }; } &&
21425 { ac_try='test -s conftest.$ac_objext' 24490 { ac_try='test -s conftest.$ac_objext'
21426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24491 { (case "(($ac_try" in
21427 (eval $ac_try) 2>&5 24492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24493 *) ac_try_echo=$ac_try;;
24494 esac
24495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24496 (eval "$ac_try") 2>&5
21428 ac_status=$? 24497 ac_status=$?
21429 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21430 (exit $ac_status); }; }; then 24499 (exit $ac_status); }; }; then
21431 ac_header_compiler=yes 24500 ac_header_compiler=yes
21432 else 24501 else
21433 echo "$as_me: failed program was:" >&5 24502 echo "$as_me: failed program was:" >&5
21434 sed 's/^/| /' conftest.$ac_ext >&5 24503 sed 's/^/| /' conftest.$ac_ext >&5
21435 24504
21436 ac_header_compiler=no 24505 ac_header_compiler=no
21437 fi 24506 fi
21438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 24507
21439 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 24508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21440 echo "${ECHO_T}$ac_header_compiler" >&6 24509 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24510 echo "${ECHO_T}$ac_header_compiler" >&6; }
21441 24511
21442 # Is the header present? 24512 # Is the header present?
21443 echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 24513 { echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5
21444 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6 24514 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6; }
21445 cat >conftest.$ac_ext <<_ACEOF 24515 cat >conftest.$ac_ext <<_ACEOF
21446 /* confdefs.h. */ 24516 /* confdefs.h. */
21447 _ACEOF 24517 _ACEOF
21448 cat confdefs.h >>conftest.$ac_ext 24518 cat confdefs.h >>conftest.$ac_ext
21449 cat >>conftest.$ac_ext <<_ACEOF 24519 cat >>conftest.$ac_ext <<_ACEOF
21450 /* end confdefs.h. */ 24520 /* end confdefs.h. */
21451 #include <arpa/inet.h> 24521 #include <arpa/inet.h>
21452 _ACEOF 24522 _ACEOF
21453 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 24523 if { (ac_try="$ac_cpp conftest.$ac_ext"
21454 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 24524 case "(($ac_try" in
24525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24526 *) ac_try_echo=$ac_try;;
24527 esac
24528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24529 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21455 ac_status=$? 24530 ac_status=$?
21456 grep -v '^ *+' conftest.er1 >conftest.err 24531 grep -v '^ *+' conftest.er1 >conftest.err
21457 rm -f conftest.er1 24532 rm -f conftest.er1
21458 cat conftest.err >&5 24533 cat conftest.err >&5
21459 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21473 echo "$as_me: failed program was:" >&5 24548 echo "$as_me: failed program was:" >&5
21474 sed 's/^/| /' conftest.$ac_ext >&5 24549 sed 's/^/| /' conftest.$ac_ext >&5
21475 24550
21476 ac_header_preproc=no 24551 ac_header_preproc=no
21477 fi 24552 fi
24553
21478 rm -f conftest.err conftest.$ac_ext 24554 rm -f conftest.err conftest.$ac_ext
21479 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 24555 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21480 echo "${ECHO_T}$ac_header_preproc" >&6 24556 echo "${ECHO_T}$ac_header_preproc" >&6; }
21481 24557
21482 # So? What about this header? 24558 # So? What about this header?
21483 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 24559 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21484 yes:no: ) 24560 yes:no: )
21485 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5 24561 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5
21499 echo "$as_me: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&2;} 24575 echo "$as_me: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&2;}
21500 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 24576 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5
21501 echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;} 24577 echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;}
21502 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 24578 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5
21503 echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;} 24579 echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;}
21504 ( 24580
21505 cat <<\_ASBOX
21506 ## ------------------------------------------ ##
21507 ## Report this to the AC_PACKAGE_NAME lists. ##
21508 ## ------------------------------------------ ##
21509 _ASBOX
21510 ) |
21511 sed "s/^/$as_me: WARNING: /" >&2
21512 ;; 24581 ;;
21513 esac 24582 esac
21514 echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 24583 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
21515 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 24584 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; }
21516 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 24585 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
21517 echo $ECHO_N "(cached) $ECHO_C" >&6 24586 echo $ECHO_N "(cached) $ECHO_C" >&6
21518 else 24587 else
21519 ac_cv_header_arpa_inet_h=$ac_header_preproc 24588 ac_cv_header_arpa_inet_h=$ac_header_preproc
21520 fi 24589 fi
21521 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 24590 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
21522 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 24591 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; }
21523 24592
21524 fi 24593 fi
21525 if test $ac_cv_header_arpa_inet_h = yes; then 24594 if test $ac_cv_header_arpa_inet_h = yes; then
21526 : 24595 :
21527 else 24596 else
21540 24609
21541 24610
21542 for ac_header in sys/ioctl.h 24611 for ac_header in sys/ioctl.h
21543 do 24612 do
21544 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 24613 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21545 if eval "test \"\${$as_ac_Header+set}\" = set"; then 24614 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21546 echo "$as_me:$LINENO: checking for $ac_header" >&5 24615 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21547 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 24616 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21548 if eval "test \"\${$as_ac_Header+set}\" = set"; then 24617 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21549 echo $ECHO_N "(cached) $ECHO_C" >&6 24618 echo $ECHO_N "(cached) $ECHO_C" >&6
21550 fi 24619 fi
21551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 24620 ac_res=`eval echo '${'$as_ac_Header'}'`
21552 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 24621 { echo "$as_me:$LINENO: result: $ac_res" >&5
24622 echo "${ECHO_T}$ac_res" >&6; }
21553 else 24623 else
21554 # Is the header compilable? 24624 # Is the header compilable?
21555 echo "$as_me:$LINENO: checking $ac_header usability" >&5 24625 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
21556 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 24626 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21557 cat >conftest.$ac_ext <<_ACEOF 24627 cat >conftest.$ac_ext <<_ACEOF
21558 /* confdefs.h. */ 24628 /* confdefs.h. */
21559 _ACEOF 24629 _ACEOF
21560 cat confdefs.h >>conftest.$ac_ext 24630 cat confdefs.h >>conftest.$ac_ext
21561 cat >>conftest.$ac_ext <<_ACEOF 24631 cat >>conftest.$ac_ext <<_ACEOF
21562 /* end confdefs.h. */ 24632 /* end confdefs.h. */
21563 $ac_includes_default 24633 $ac_includes_default
21564 #include <$ac_header> 24634 #include <$ac_header>
21565 _ACEOF 24635 _ACEOF
21566 rm -f conftest.$ac_objext 24636 rm -f conftest.$ac_objext
21567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 24637 if { (ac_try="$ac_compile"
21568 (eval $ac_compile) 2>conftest.er1 24638 case "(($ac_try" in
24639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24640 *) ac_try_echo=$ac_try;;
24641 esac
24642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24643 (eval "$ac_compile") 2>conftest.er1
21569 ac_status=$? 24644 ac_status=$?
21570 grep -v '^ *+' conftest.er1 >conftest.err 24645 grep -v '^ *+' conftest.er1 >conftest.err
21571 rm -f conftest.er1 24646 rm -f conftest.er1
21572 cat conftest.err >&5 24647 cat conftest.err >&5
21573 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21574 (exit $ac_status); } && 24649 (exit $ac_status); } &&
21575 { ac_try='test -z "$ac_c_werror_flag" 24650 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21576 || test ! -s conftest.err' 24651 { (case "(($ac_try" in
21577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21578 (eval $ac_try) 2>&5 24653 *) ac_try_echo=$ac_try;;
24654 esac
24655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24656 (eval "$ac_try") 2>&5
21579 ac_status=$? 24657 ac_status=$?
21580 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21581 (exit $ac_status); }; } && 24659 (exit $ac_status); }; } &&
21582 { ac_try='test -s conftest.$ac_objext' 24660 { ac_try='test -s conftest.$ac_objext'
21583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24661 { (case "(($ac_try" in
21584 (eval $ac_try) 2>&5 24662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24663 *) ac_try_echo=$ac_try;;
24664 esac
24665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24666 (eval "$ac_try") 2>&5
21585 ac_status=$? 24667 ac_status=$?
21586 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21587 (exit $ac_status); }; }; then 24669 (exit $ac_status); }; }; then
21588 ac_header_compiler=yes 24670 ac_header_compiler=yes
21589 else 24671 else
21590 echo "$as_me: failed program was:" >&5 24672 echo "$as_me: failed program was:" >&5
21591 sed 's/^/| /' conftest.$ac_ext >&5 24673 sed 's/^/| /' conftest.$ac_ext >&5
21592 24674
21593 ac_header_compiler=no 24675 ac_header_compiler=no
21594 fi 24676 fi
21595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 24677
21596 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 24678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21597 echo "${ECHO_T}$ac_header_compiler" >&6 24679 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24680 echo "${ECHO_T}$ac_header_compiler" >&6; }
21598 24681
21599 # Is the header present? 24682 # Is the header present?
21600 echo "$as_me:$LINENO: checking $ac_header presence" >&5 24683 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
21601 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 24684 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21602 cat >conftest.$ac_ext <<_ACEOF 24685 cat >conftest.$ac_ext <<_ACEOF
21603 /* confdefs.h. */ 24686 /* confdefs.h. */
21604 _ACEOF 24687 _ACEOF
21605 cat confdefs.h >>conftest.$ac_ext 24688 cat confdefs.h >>conftest.$ac_ext
21606 cat >>conftest.$ac_ext <<_ACEOF 24689 cat >>conftest.$ac_ext <<_ACEOF
21607 /* end confdefs.h. */ 24690 /* end confdefs.h. */
21608 #include <$ac_header> 24691 #include <$ac_header>
21609 _ACEOF 24692 _ACEOF
21610 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 24693 if { (ac_try="$ac_cpp conftest.$ac_ext"
21611 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 24694 case "(($ac_try" in
24695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24696 *) ac_try_echo=$ac_try;;
24697 esac
24698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24699 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21612 ac_status=$? 24700 ac_status=$?
21613 grep -v '^ *+' conftest.er1 >conftest.err 24701 grep -v '^ *+' conftest.er1 >conftest.err
21614 rm -f conftest.er1 24702 rm -f conftest.er1
21615 cat conftest.err >&5 24703 cat conftest.err >&5
21616 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21630 echo "$as_me: failed program was:" >&5 24718 echo "$as_me: failed program was:" >&5
21631 sed 's/^/| /' conftest.$ac_ext >&5 24719 sed 's/^/| /' conftest.$ac_ext >&5
21632 24720
21633 ac_header_preproc=no 24721 ac_header_preproc=no
21634 fi 24722 fi
24723
21635 rm -f conftest.err conftest.$ac_ext 24724 rm -f conftest.err conftest.$ac_ext
21636 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 24725 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21637 echo "${ECHO_T}$ac_header_preproc" >&6 24726 echo "${ECHO_T}$ac_header_preproc" >&6; }
21638 24727
21639 # So? What about this header? 24728 # So? What about this header?
21640 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 24729 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21641 yes:no: ) 24730 yes:no: )
21642 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 24731 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21656 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 24745 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21657 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 24746 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21658 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 24747 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21659 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 24748 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21660 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 24749 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21661 ( 24750
21662 cat <<\_ASBOX
21663 ## ------------------------------------------ ##
21664 ## Report this to the AC_PACKAGE_NAME lists. ##
21665 ## ------------------------------------------ ##
21666 _ASBOX
21667 ) |
21668 sed "s/^/$as_me: WARNING: /" >&2
21669 ;; 24751 ;;
21670 esac 24752 esac
21671 echo "$as_me:$LINENO: checking for $ac_header" >&5 24753 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21672 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 24754 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21673 if eval "test \"\${$as_ac_Header+set}\" = set"; then 24755 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21674 echo $ECHO_N "(cached) $ECHO_C" >&6 24756 echo $ECHO_N "(cached) $ECHO_C" >&6
21675 else 24757 else
21676 eval "$as_ac_Header=\$ac_header_preproc" 24758 eval "$as_ac_Header=\$ac_header_preproc"
21677 fi 24759 fi
21678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 24760 ac_res=`eval echo '${'$as_ac_Header'}'`
21679 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 24761 { echo "$as_me:$LINENO: result: $ac_res" >&5
24762 echo "${ECHO_T}$ac_res" >&6; }
21680 24763
21681 fi 24764 fi
21682 if test `eval echo '${'$as_ac_Header'}'` = yes; then 24765 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21683 cat >>confdefs.h <<_ACEOF 24766 cat >>confdefs.h <<_ACEOF
21684 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 24767 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21695 #define HAVE_AIX_SMT_EXP 1 24778 #define HAVE_AIX_SMT_EXP 1
21696 _ACEOF 24779 _ACEOF
21697 24780
21698 fi 24781 fi
21699 24782
21700 echo "$as_me:$LINENO: checking whether system supports dynamic ptys" >&5 24783 { echo "$as_me:$LINENO: checking whether system supports dynamic ptys" >&5
21701 echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6 24784 echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6; }
21702 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then 24785 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then
21703 echo "$as_me:$LINENO: result: yes" >&5 24786 { echo "$as_me:$LINENO: result: yes" >&5
21704 echo "${ECHO_T}yes" >&6 24787 echo "${ECHO_T}yes" >&6; }
21705 24788
21706 cat >>confdefs.h <<\_ACEOF 24789 cat >>confdefs.h <<\_ACEOF
21707 #define HAVE_DEV_PTMX 1 24790 #define HAVE_DEV_PTMX 1
21708 _ACEOF 24791 _ACEOF
21709 24792
21710 else 24793 else
21711 echo "$as_me:$LINENO: result: no" >&5 24794 { echo "$as_me:$LINENO: result: no" >&5
21712 echo "${ECHO_T}no" >&6 24795 echo "${ECHO_T}no" >&6; }
21713 fi 24796 fi
21714 24797
21715 echo "$as_me:$LINENO: checking for pid_t" >&5 24798 { echo "$as_me:$LINENO: checking for pid_t" >&5
21716 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 24799 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
21717 if test "${ac_cv_type_pid_t+set}" = set; then 24800 if test "${ac_cv_type_pid_t+set}" = set; then
21718 echo $ECHO_N "(cached) $ECHO_C" >&6 24801 echo $ECHO_N "(cached) $ECHO_C" >&6
21719 else 24802 else
21720 cat >conftest.$ac_ext <<_ACEOF 24803 cat >conftest.$ac_ext <<_ACEOF
21721 /* confdefs.h. */ 24804 /* confdefs.h. */
21722 _ACEOF 24805 _ACEOF
21723 cat confdefs.h >>conftest.$ac_ext 24806 cat confdefs.h >>conftest.$ac_ext
21724 cat >>conftest.$ac_ext <<_ACEOF 24807 cat >>conftest.$ac_ext <<_ACEOF
21725 /* end confdefs.h. */ 24808 /* end confdefs.h. */
21726 $ac_includes_default 24809 $ac_includes_default
24810 typedef pid_t ac__type_new_;
21727 int 24811 int
21728 main () 24812 main ()
21729 { 24813 {
21730 if ((pid_t *) 0) 24814 if ((ac__type_new_ *) 0)
21731 return 0; 24815 return 0;
21732 if (sizeof (pid_t)) 24816 if (sizeof (ac__type_new_))
21733 return 0; 24817 return 0;
21734 ; 24818 ;
21735 return 0; 24819 return 0;
21736 } 24820 }
21737 _ACEOF 24821 _ACEOF
21738 rm -f conftest.$ac_objext 24822 rm -f conftest.$ac_objext
21739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 24823 if { (ac_try="$ac_compile"
21740 (eval $ac_compile) 2>conftest.er1 24824 case "(($ac_try" in
24825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24826 *) ac_try_echo=$ac_try;;
24827 esac
24828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24829 (eval "$ac_compile") 2>conftest.er1
21741 ac_status=$? 24830 ac_status=$?
21742 grep -v '^ *+' conftest.er1 >conftest.err 24831 grep -v '^ *+' conftest.er1 >conftest.err
21743 rm -f conftest.er1 24832 rm -f conftest.er1
21744 cat conftest.err >&5 24833 cat conftest.err >&5
21745 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21746 (exit $ac_status); } && 24835 (exit $ac_status); } &&
21747 { ac_try='test -z "$ac_c_werror_flag" 24836 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21748 || test ! -s conftest.err' 24837 { (case "(($ac_try" in
21749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21750 (eval $ac_try) 2>&5 24839 *) ac_try_echo=$ac_try;;
24840 esac
24841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24842 (eval "$ac_try") 2>&5
21751 ac_status=$? 24843 ac_status=$?
21752 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21753 (exit $ac_status); }; } && 24845 (exit $ac_status); }; } &&
21754 { ac_try='test -s conftest.$ac_objext' 24846 { ac_try='test -s conftest.$ac_objext'
21755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24847 { (case "(($ac_try" in
21756 (eval $ac_try) 2>&5 24848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24849 *) ac_try_echo=$ac_try;;
24850 esac
24851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24852 (eval "$ac_try") 2>&5
21757 ac_status=$? 24853 ac_status=$?
21758 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21759 (exit $ac_status); }; }; then 24855 (exit $ac_status); }; }; then
21760 ac_cv_type_pid_t=yes 24856 ac_cv_type_pid_t=yes
21761 else 24857 else
21762 echo "$as_me: failed program was:" >&5 24858 echo "$as_me: failed program was:" >&5
21763 sed 's/^/| /' conftest.$ac_ext >&5 24859 sed 's/^/| /' conftest.$ac_ext >&5
21764 24860
21765 ac_cv_type_pid_t=no 24861 ac_cv_type_pid_t=no
21766 fi 24862 fi
21767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 24863
21768 fi 24864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21769 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 24865 fi
21770 echo "${ECHO_T}$ac_cv_type_pid_t" >&6 24866 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
24867 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
21771 if test $ac_cv_type_pid_t = yes; then 24868 if test $ac_cv_type_pid_t = yes; then
21772 : 24869 :
21773 else 24870 else
21774 24871
21775 cat >>confdefs.h <<_ACEOF 24872 cat >>confdefs.h <<_ACEOF
21777 _ACEOF 24874 _ACEOF
21778 24875
21779 fi 24876 fi
21780 24877
21781 24878
21782 24879 for ac_header in vfork.h
21783 for ac_header in unistd.h vfork.h
21784 do 24880 do
21785 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 24881 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21786 if eval "test \"\${$as_ac_Header+set}\" = set"; then 24882 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21787 echo "$as_me:$LINENO: checking for $ac_header" >&5 24883 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21788 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 24884 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21789 if eval "test \"\${$as_ac_Header+set}\" = set"; then 24885 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21790 echo $ECHO_N "(cached) $ECHO_C" >&6 24886 echo $ECHO_N "(cached) $ECHO_C" >&6
21791 fi 24887 fi
21792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 24888 ac_res=`eval echo '${'$as_ac_Header'}'`
21793 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 24889 { echo "$as_me:$LINENO: result: $ac_res" >&5
24890 echo "${ECHO_T}$ac_res" >&6; }
21794 else 24891 else
21795 # Is the header compilable? 24892 # Is the header compilable?
21796 echo "$as_me:$LINENO: checking $ac_header usability" >&5 24893 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
21797 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 24894 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21798 cat >conftest.$ac_ext <<_ACEOF 24895 cat >conftest.$ac_ext <<_ACEOF
21799 /* confdefs.h. */ 24896 /* confdefs.h. */
21800 _ACEOF 24897 _ACEOF
21801 cat confdefs.h >>conftest.$ac_ext 24898 cat confdefs.h >>conftest.$ac_ext
21802 cat >>conftest.$ac_ext <<_ACEOF 24899 cat >>conftest.$ac_ext <<_ACEOF
21803 /* end confdefs.h. */ 24900 /* end confdefs.h. */
21804 $ac_includes_default 24901 $ac_includes_default
21805 #include <$ac_header> 24902 #include <$ac_header>
21806 _ACEOF 24903 _ACEOF
21807 rm -f conftest.$ac_objext 24904 rm -f conftest.$ac_objext
21808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 24905 if { (ac_try="$ac_compile"
21809 (eval $ac_compile) 2>conftest.er1 24906 case "(($ac_try" in
24907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24908 *) ac_try_echo=$ac_try;;
24909 esac
24910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24911 (eval "$ac_compile") 2>conftest.er1
21810 ac_status=$? 24912 ac_status=$?
21811 grep -v '^ *+' conftest.er1 >conftest.err 24913 grep -v '^ *+' conftest.er1 >conftest.err
21812 rm -f conftest.er1 24914 rm -f conftest.er1
21813 cat conftest.err >&5 24915 cat conftest.err >&5
21814 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21815 (exit $ac_status); } && 24917 (exit $ac_status); } &&
21816 { ac_try='test -z "$ac_c_werror_flag" 24918 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21817 || test ! -s conftest.err' 24919 { (case "(($ac_try" in
21818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21819 (eval $ac_try) 2>&5 24921 *) ac_try_echo=$ac_try;;
24922 esac
24923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24924 (eval "$ac_try") 2>&5
21820 ac_status=$? 24925 ac_status=$?
21821 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21822 (exit $ac_status); }; } && 24927 (exit $ac_status); }; } &&
21823 { ac_try='test -s conftest.$ac_objext' 24928 { ac_try='test -s conftest.$ac_objext'
21824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24929 { (case "(($ac_try" in
21825 (eval $ac_try) 2>&5 24930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24931 *) ac_try_echo=$ac_try;;
24932 esac
24933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24934 (eval "$ac_try") 2>&5
21826 ac_status=$? 24935 ac_status=$?
21827 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21828 (exit $ac_status); }; }; then 24937 (exit $ac_status); }; }; then
21829 ac_header_compiler=yes 24938 ac_header_compiler=yes
21830 else 24939 else
21831 echo "$as_me: failed program was:" >&5 24940 echo "$as_me: failed program was:" >&5
21832 sed 's/^/| /' conftest.$ac_ext >&5 24941 sed 's/^/| /' conftest.$ac_ext >&5
21833 24942
21834 ac_header_compiler=no 24943 ac_header_compiler=no
21835 fi 24944 fi
21836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 24945
21837 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 24946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21838 echo "${ECHO_T}$ac_header_compiler" >&6 24947 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24948 echo "${ECHO_T}$ac_header_compiler" >&6; }
21839 24949
21840 # Is the header present? 24950 # Is the header present?
21841 echo "$as_me:$LINENO: checking $ac_header presence" >&5 24951 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
21842 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 24952 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21843 cat >conftest.$ac_ext <<_ACEOF 24953 cat >conftest.$ac_ext <<_ACEOF
21844 /* confdefs.h. */ 24954 /* confdefs.h. */
21845 _ACEOF 24955 _ACEOF
21846 cat confdefs.h >>conftest.$ac_ext 24956 cat confdefs.h >>conftest.$ac_ext
21847 cat >>conftest.$ac_ext <<_ACEOF 24957 cat >>conftest.$ac_ext <<_ACEOF
21848 /* end confdefs.h. */ 24958 /* end confdefs.h. */
21849 #include <$ac_header> 24959 #include <$ac_header>
21850 _ACEOF 24960 _ACEOF
21851 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 24961 if { (ac_try="$ac_cpp conftest.$ac_ext"
21852 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 24962 case "(($ac_try" in
24963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24964 *) ac_try_echo=$ac_try;;
24965 esac
24966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24967 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21853 ac_status=$? 24968 ac_status=$?
21854 grep -v '^ *+' conftest.er1 >conftest.err 24969 grep -v '^ *+' conftest.er1 >conftest.err
21855 rm -f conftest.er1 24970 rm -f conftest.er1
21856 cat conftest.err >&5 24971 cat conftest.err >&5
21857 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21871 echo "$as_me: failed program was:" >&5 24986 echo "$as_me: failed program was:" >&5
21872 sed 's/^/| /' conftest.$ac_ext >&5 24987 sed 's/^/| /' conftest.$ac_ext >&5
21873 24988
21874 ac_header_preproc=no 24989 ac_header_preproc=no
21875 fi 24990 fi
24991
21876 rm -f conftest.err conftest.$ac_ext 24992 rm -f conftest.err conftest.$ac_ext
21877 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 24993 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21878 echo "${ECHO_T}$ac_header_preproc" >&6 24994 echo "${ECHO_T}$ac_header_preproc" >&6; }
21879 24995
21880 # So? What about this header? 24996 # So? What about this header?
21881 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 24997 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21882 yes:no: ) 24998 yes:no: )
21883 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 24999 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21897 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 25013 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21898 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 25014 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21899 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 25015 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21900 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 25016 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21901 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 25017 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21902 ( 25018
21903 cat <<\_ASBOX
21904 ## ------------------------------------------ ##
21905 ## Report this to the AC_PACKAGE_NAME lists. ##
21906 ## ------------------------------------------ ##
21907 _ASBOX
21908 ) |
21909 sed "s/^/$as_me: WARNING: /" >&2
21910 ;; 25019 ;;
21911 esac 25020 esac
21912 echo "$as_me:$LINENO: checking for $ac_header" >&5 25021 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21913 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 25022 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21914 if eval "test \"\${$as_ac_Header+set}\" = set"; then 25023 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21915 echo $ECHO_N "(cached) $ECHO_C" >&6 25024 echo $ECHO_N "(cached) $ECHO_C" >&6
21916 else 25025 else
21917 eval "$as_ac_Header=\$ac_header_preproc" 25026 eval "$as_ac_Header=\$ac_header_preproc"
21918 fi 25027 fi
21919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 25028 ac_res=`eval echo '${'$as_ac_Header'}'`
21920 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 25029 { echo "$as_me:$LINENO: result: $ac_res" >&5
25030 echo "${ECHO_T}$ac_res" >&6; }
21921 25031
21922 fi 25032 fi
21923 if test `eval echo '${'$as_ac_Header'}'` = yes; then 25033 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21924 cat >>confdefs.h <<_ACEOF 25034 cat >>confdefs.h <<_ACEOF
21925 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 25035 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21932 25042
21933 25043
21934 for ac_func in fork vfork 25044 for ac_func in fork vfork
21935 do 25045 do
21936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 25046 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21937 echo "$as_me:$LINENO: checking for $ac_func" >&5 25047 { echo "$as_me:$LINENO: checking for $ac_func" >&5
21938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 25048 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
21939 if eval "test \"\${$as_ac_var+set}\" = set"; then 25049 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21940 echo $ECHO_N "(cached) $ECHO_C" >&6 25050 echo $ECHO_N "(cached) $ECHO_C" >&6
21941 else 25051 else
21942 cat >conftest.$ac_ext <<_ACEOF 25052 cat >conftest.$ac_ext <<_ACEOF
21943 /* confdefs.h. */ 25053 /* confdefs.h. */
21944 _ACEOF 25054 _ACEOF
21960 # include <assert.h> 25070 # include <assert.h>
21961 #endif 25071 #endif
21962 25072
21963 #undef $ac_func 25073 #undef $ac_func
21964 25074
21965 /* Override any gcc2 internal prototype to avoid an error. */ 25075 /* Override any GCC internal prototype to avoid an error.
25076 Use char because int might match the return type of a GCC
25077 builtin and then its argument prototype would still apply. */
21966 #ifdef __cplusplus 25078 #ifdef __cplusplus
21967 extern "C" 25079 extern "C"
21968 {
21969 #endif 25080 #endif
21970 /* We use char because int might match the return type of a gcc2
21971 builtin and then its argument prototype would still apply. */
21972 char $ac_func (); 25081 char $ac_func ();
21973 /* The GNU C library defines this for functions which it implements 25082 /* The GNU C library defines this for functions which it implements
21974 to always fail with ENOSYS. Some functions are actually named 25083 to always fail with ENOSYS. Some functions are actually named
21975 something starting with __ and the normal name is an alias. */ 25084 something starting with __ and the normal name is an alias. */
21976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 25085 #if defined __stub_$ac_func || defined __stub___$ac_func
21977 choke me 25086 choke me
21978 #else
21979 char (*f) () = $ac_func;
21980 #endif
21981 #ifdef __cplusplus
21982 }
21983 #endif 25087 #endif
21984 25088
21985 int 25089 int
21986 main () 25090 main ()
21987 { 25091 {
21988 return f != $ac_func; 25092 return $ac_func ();
21989 ; 25093 ;
21990 return 0; 25094 return 0;
21991 } 25095 }
21992 _ACEOF 25096 _ACEOF
21993 rm -f conftest.$ac_objext conftest$ac_exeext 25097 rm -f conftest.$ac_objext conftest$ac_exeext
21994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 25098 if { (ac_try="$ac_link"
21995 (eval $ac_link) 2>conftest.er1 25099 case "(($ac_try" in
25100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25101 *) ac_try_echo=$ac_try;;
25102 esac
25103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25104 (eval "$ac_link") 2>conftest.er1
21996 ac_status=$? 25105 ac_status=$?
21997 grep -v '^ *+' conftest.er1 >conftest.err 25106 grep -v '^ *+' conftest.er1 >conftest.err
21998 rm -f conftest.er1 25107 rm -f conftest.er1
21999 cat conftest.err >&5 25108 cat conftest.err >&5
22000 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22001 (exit $ac_status); } && 25110 (exit $ac_status); } &&
22002 { ac_try='test -z "$ac_c_werror_flag" 25111 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22003 || test ! -s conftest.err' 25112 { (case "(($ac_try" in
22004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 25113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22005 (eval $ac_try) 2>&5 25114 *) ac_try_echo=$ac_try;;
25115 esac
25116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25117 (eval "$ac_try") 2>&5
22006 ac_status=$? 25118 ac_status=$?
22007 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22008 (exit $ac_status); }; } && 25120 (exit $ac_status); }; } &&
22009 { ac_try='test -s conftest$ac_exeext' 25121 { ac_try='test -s conftest$ac_exeext'
22010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 25122 { (case "(($ac_try" in
22011 (eval $ac_try) 2>&5 25123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25124 *) ac_try_echo=$ac_try;;
25125 esac
25126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25127 (eval "$ac_try") 2>&5
22012 ac_status=$? 25128 ac_status=$?
22013 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22014 (exit $ac_status); }; }; then 25130 (exit $ac_status); }; }; then
22015 eval "$as_ac_var=yes" 25131 eval "$as_ac_var=yes"
22016 else 25132 else
22017 echo "$as_me: failed program was:" >&5 25133 echo "$as_me: failed program was:" >&5
22018 sed 's/^/| /' conftest.$ac_ext >&5 25134 sed 's/^/| /' conftest.$ac_ext >&5
22019 25135
22020 eval "$as_ac_var=no" 25136 eval "$as_ac_var=no"
22021 fi 25137 fi
22022 rm -f conftest.err conftest.$ac_objext \ 25138
25139 rm -f core conftest.err conftest.$ac_objext \
22023 conftest$ac_exeext conftest.$ac_ext 25140 conftest$ac_exeext conftest.$ac_ext
22024 fi 25141 fi
22025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 25142 ac_res=`eval echo '${'$as_ac_var'}'`
22026 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 25143 { echo "$as_me:$LINENO: result: $ac_res" >&5
25144 echo "${ECHO_T}$ac_res" >&6; }
22027 if test `eval echo '${'$as_ac_var'}'` = yes; then 25145 if test `eval echo '${'$as_ac_var'}'` = yes; then
22028 cat >>confdefs.h <<_ACEOF 25146 cat >>confdefs.h <<_ACEOF
22029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 25147 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22030 _ACEOF 25148 _ACEOF
22031 25149
22032 fi 25150 fi
22033 done 25151 done
22034 25152
22035 if test "x$ac_cv_func_fork" = xyes; then 25153 if test "x$ac_cv_func_fork" = xyes; then
22036 echo "$as_me:$LINENO: checking for working fork" >&5 25154 { echo "$as_me:$LINENO: checking for working fork" >&5
22037 echo $ECHO_N "checking for working fork... $ECHO_C" >&6 25155 echo $ECHO_N "checking for working fork... $ECHO_C" >&6; }
22038 if test "${ac_cv_func_fork_works+set}" = set; then 25156 if test "${ac_cv_func_fork_works+set}" = set; then
22039 echo $ECHO_N "(cached) $ECHO_C" >&6 25157 echo $ECHO_N "(cached) $ECHO_C" >&6
22040 else 25158 else
22041 if test "$cross_compiling" = yes; then 25159 if test "$cross_compiling" = yes; then
22042 ac_cv_func_fork_works=cross 25160 ac_cv_func_fork_works=cross
22043 else 25161 else
22044 cat >conftest.$ac_ext <<_ACEOF 25162 cat >conftest.$ac_ext <<_ACEOF
22045 /* By Ruediger Kuhlmann. */ 25163 /* confdefs.h. */
22046 #include <sys/types.h> 25164 _ACEOF
22047 #if HAVE_UNISTD_H 25165 cat confdefs.h >>conftest.$ac_ext
22048 # include <unistd.h> 25166 cat >>conftest.$ac_ext <<_ACEOF
22049 #endif 25167 /* end confdefs.h. */
22050 /* Some systems only have a dummy stub for fork() */ 25168 $ac_includes_default
22051 int main () 25169 int
22052 { 25170 main ()
22053 if (fork() < 0) 25171 {
22054 exit (1); 25172
22055 exit (0); 25173 /* By Ruediger Kuhlmann. */
22056 } 25174 return fork () < 0;
25175
25176 ;
25177 return 0;
25178 }
22057 _ACEOF 25179 _ACEOF
22058 rm -f conftest$ac_exeext 25180 rm -f conftest$ac_exeext
22059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 25181 if { (ac_try="$ac_link"
22060 (eval $ac_link) 2>&5 25182 case "(($ac_try" in
25183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25184 *) ac_try_echo=$ac_try;;
25185 esac
25186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25187 (eval "$ac_link") 2>&5
22061 ac_status=$? 25188 ac_status=$?
22062 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22063 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 25190 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 25191 { (case "(($ac_try" in
22065 (eval $ac_try) 2>&5 25192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25193 *) ac_try_echo=$ac_try;;
25194 esac
25195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25196 (eval "$ac_try") 2>&5
22066 ac_status=$? 25197 ac_status=$?
22067 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22068 (exit $ac_status); }; }; then 25199 (exit $ac_status); }; }; then
22069 ac_cv_func_fork_works=yes 25200 ac_cv_func_fork_works=yes
22070 else 25201 else
22073 sed 's/^/| /' conftest.$ac_ext >&5 25204 sed 's/^/| /' conftest.$ac_ext >&5
22074 25205
22075 ( exit $ac_status ) 25206 ( exit $ac_status )
22076 ac_cv_func_fork_works=no 25207 ac_cv_func_fork_works=no
22077 fi 25208 fi
22078 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 25209 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22079 fi 25210 fi
22080 fi 25211
22081 echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5 25212
22082 echo "${ECHO_T}$ac_cv_func_fork_works" >&6 25213 fi
25214 { echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
25215 echo "${ECHO_T}$ac_cv_func_fork_works" >&6; }
22083 25216
22084 else 25217 else
22085 ac_cv_func_fork_works=$ac_cv_func_fork 25218 ac_cv_func_fork_works=$ac_cv_func_fork
22086 fi 25219 fi
22087 if test "x$ac_cv_func_fork_works" = xcross; then 25220 if test "x$ac_cv_func_fork_works" = xcross; then
22097 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 25230 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
22098 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} 25231 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
22099 fi 25232 fi
22100 ac_cv_func_vfork_works=$ac_cv_func_vfork 25233 ac_cv_func_vfork_works=$ac_cv_func_vfork
22101 if test "x$ac_cv_func_vfork" = xyes; then 25234 if test "x$ac_cv_func_vfork" = xyes; then
22102 echo "$as_me:$LINENO: checking for working vfork" >&5 25235 { echo "$as_me:$LINENO: checking for working vfork" >&5
22103 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6 25236 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6; }
22104 if test "${ac_cv_func_vfork_works+set}" = set; then 25237 if test "${ac_cv_func_vfork_works+set}" = set; then
22105 echo $ECHO_N "(cached) $ECHO_C" >&6 25238 echo $ECHO_N "(cached) $ECHO_C" >&6
22106 else 25239 else
22107 if test "$cross_compiling" = yes; then 25240 if test "$cross_compiling" = yes; then
22108 ac_cv_func_vfork_works=cross 25241 ac_cv_func_vfork_works=cross
22112 _ACEOF 25245 _ACEOF
22113 cat confdefs.h >>conftest.$ac_ext 25246 cat confdefs.h >>conftest.$ac_ext
22114 cat >>conftest.$ac_ext <<_ACEOF 25247 cat >>conftest.$ac_ext <<_ACEOF
22115 /* end confdefs.h. */ 25248 /* end confdefs.h. */
22116 /* Thanks to Paul Eggert for this test. */ 25249 /* Thanks to Paul Eggert for this test. */
22117 #include <stdio.h> 25250 $ac_includes_default
22118 #include <stdlib.h>
22119 #include <sys/types.h>
22120 #include <sys/stat.h>
22121 #include <sys/wait.h> 25251 #include <sys/wait.h>
22122 #if HAVE_UNISTD_H
22123 # include <unistd.h>
22124 #endif
22125 #if HAVE_VFORK_H 25252 #if HAVE_VFORK_H
22126 # include <vfork.h> 25253 # include <vfork.h>
22127 #endif 25254 #endif
22128 /* On some sparc systems, changes by the child to local and incoming 25255 /* On some sparc systems, changes by the child to local and incoming
22129 argument registers are propagated back to the parent. The compiler 25256 argument registers are propagated back to the parent. The compiler
22191 int status; 25318 int status;
22192 struct stat st; 25319 struct stat st;
22193 25320
22194 while (wait(&status) != child) 25321 while (wait(&status) != child)
22195 ; 25322 ;
22196 exit( 25323 return (
22197 /* Was there some problem with vforking? */ 25324 /* Was there some problem with vforking? */
22198 child < 0 25325 child < 0
22199 25326
22200 /* Did the child fail? (This shouldn't happen.) */ 25327 /* Did the child fail? (This shouldn't happen.) */
22201 || status 25328 || status
22208 ); 25335 );
22209 } 25336 }
22210 } 25337 }
22211 _ACEOF 25338 _ACEOF
22212 rm -f conftest$ac_exeext 25339 rm -f conftest$ac_exeext
22213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 25340 if { (ac_try="$ac_link"
22214 (eval $ac_link) 2>&5 25341 case "(($ac_try" in
25342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25343 *) ac_try_echo=$ac_try;;
25344 esac
25345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25346 (eval "$ac_link") 2>&5
22215 ac_status=$? 25347 ac_status=$?
22216 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22217 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 25349 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 25350 { (case "(($ac_try" in
22219 (eval $ac_try) 2>&5 25351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25352 *) ac_try_echo=$ac_try;;
25353 esac
25354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25355 (eval "$ac_try") 2>&5
22220 ac_status=$? 25356 ac_status=$?
22221 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22222 (exit $ac_status); }; }; then 25358 (exit $ac_status); }; }; then
22223 ac_cv_func_vfork_works=yes 25359 ac_cv_func_vfork_works=yes
22224 else 25360 else
22227 sed 's/^/| /' conftest.$ac_ext >&5 25363 sed 's/^/| /' conftest.$ac_ext >&5
22228 25364
22229 ( exit $ac_status ) 25365 ( exit $ac_status )
22230 ac_cv_func_vfork_works=no 25366 ac_cv_func_vfork_works=no
22231 fi 25367 fi
22232 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 25368 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22233 fi 25369 fi
22234 fi 25370
22235 echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5 25371
22236 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6 25372 fi
25373 { echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
25374 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6; }
22237 25375
22238 fi; 25376 fi;
22239 if test "x$ac_cv_func_fork_works" = xcross; then 25377 if test "x$ac_cv_func_fork_works" = xcross; then
22240 ac_cv_func_vfork_works=$ac_cv_func_vfork 25378 ac_cv_func_vfork_works=$ac_cv_func_vfork
22241 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5 25379 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
22262 _ACEOF 25400 _ACEOF
22263 25401
22264 fi 25402 fi
22265 25403
22266 25404
22267 echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5 25405 { echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
22268 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6 25406 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6; }
22269 if test "${emacs_cv_langinfo_codeset+set}" = set; then 25407 if test "${emacs_cv_langinfo_codeset+set}" = set; then
22270 echo $ECHO_N "(cached) $ECHO_C" >&6 25408 echo $ECHO_N "(cached) $ECHO_C" >&6
22271 else 25409 else
22272 cat >conftest.$ac_ext <<_ACEOF 25410 cat >conftest.$ac_ext <<_ACEOF
22273 /* confdefs.h. */ 25411 /* confdefs.h. */
22283 ; 25421 ;
22284 return 0; 25422 return 0;
22285 } 25423 }
22286 _ACEOF 25424 _ACEOF
22287 rm -f conftest.$ac_objext conftest$ac_exeext 25425 rm -f conftest.$ac_objext conftest$ac_exeext
22288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 25426 if { (ac_try="$ac_link"
22289 (eval $ac_link) 2>conftest.er1 25427 case "(($ac_try" in
25428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25429 *) ac_try_echo=$ac_try;;
25430 esac
25431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25432 (eval "$ac_link") 2>conftest.er1
22290 ac_status=$? 25433 ac_status=$?
22291 grep -v '^ *+' conftest.er1 >conftest.err 25434 grep -v '^ *+' conftest.er1 >conftest.err
22292 rm -f conftest.er1 25435 rm -f conftest.er1
22293 cat conftest.err >&5 25436 cat conftest.err >&5
22294 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22295 (exit $ac_status); } && 25438 (exit $ac_status); } &&
22296 { ac_try='test -z "$ac_c_werror_flag" 25439 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22297 || test ! -s conftest.err' 25440 { (case "(($ac_try" in
22298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 25441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22299 (eval $ac_try) 2>&5 25442 *) ac_try_echo=$ac_try;;
25443 esac
25444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25445 (eval "$ac_try") 2>&5
22300 ac_status=$? 25446 ac_status=$?
22301 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22302 (exit $ac_status); }; } && 25448 (exit $ac_status); }; } &&
22303 { ac_try='test -s conftest$ac_exeext' 25449 { ac_try='test -s conftest$ac_exeext'
22304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 25450 { (case "(($ac_try" in
22305 (eval $ac_try) 2>&5 25451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25452 *) ac_try_echo=$ac_try;;
25453 esac
25454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25455 (eval "$ac_try") 2>&5
22306 ac_status=$? 25456 ac_status=$?
22307 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22308 (exit $ac_status); }; }; then 25458 (exit $ac_status); }; }; then
22309 emacs_cv_langinfo_codeset=yes 25459 emacs_cv_langinfo_codeset=yes
22310 else 25460 else
22311 echo "$as_me: failed program was:" >&5 25461 echo "$as_me: failed program was:" >&5
22312 sed 's/^/| /' conftest.$ac_ext >&5 25462 sed 's/^/| /' conftest.$ac_ext >&5
22313 25463
22314 emacs_cv_langinfo_codeset=no 25464 emacs_cv_langinfo_codeset=no
22315 fi 25465 fi
22316 rm -f conftest.err conftest.$ac_objext \ 25466
25467 rm -f core conftest.err conftest.$ac_objext \
22317 conftest$ac_exeext conftest.$ac_ext 25468 conftest$ac_exeext conftest.$ac_ext
22318 25469
22319 fi 25470 fi
22320 echo "$as_me:$LINENO: result: $emacs_cv_langinfo_codeset" >&5 25471 { echo "$as_me:$LINENO: result: $emacs_cv_langinfo_codeset" >&5
22321 echo "${ECHO_T}$emacs_cv_langinfo_codeset" >&6 25472 echo "${ECHO_T}$emacs_cv_langinfo_codeset" >&6; }
22322 if test $emacs_cv_langinfo_codeset = yes; then 25473 if test $emacs_cv_langinfo_codeset = yes; then
22323 25474
22324 cat >>confdefs.h <<\_ACEOF 25475 cat >>confdefs.h <<\_ACEOF
22325 #define HAVE_LANGINFO_CODESET 1 25476 #define HAVE_LANGINFO_CODESET 1
22326 _ACEOF 25477 _ACEOF
22327 25478
22328 fi 25479 fi
22329 25480
22330 echo "$as_me:$LINENO: checking for size_t" >&5 25481 { echo "$as_me:$LINENO: checking for size_t" >&5
22331 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 25482 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
22332 if test "${ac_cv_type_size_t+set}" = set; then 25483 if test "${ac_cv_type_size_t+set}" = set; then
22333 echo $ECHO_N "(cached) $ECHO_C" >&6 25484 echo $ECHO_N "(cached) $ECHO_C" >&6
22334 else 25485 else
22335 cat >conftest.$ac_ext <<_ACEOF 25486 cat >conftest.$ac_ext <<_ACEOF
22336 /* confdefs.h. */ 25487 /* confdefs.h. */
22337 _ACEOF 25488 _ACEOF
22338 cat confdefs.h >>conftest.$ac_ext 25489 cat confdefs.h >>conftest.$ac_ext
22339 cat >>conftest.$ac_ext <<_ACEOF 25490 cat >>conftest.$ac_ext <<_ACEOF
22340 /* end confdefs.h. */ 25491 /* end confdefs.h. */
22341 $ac_includes_default 25492 $ac_includes_default
25493 typedef size_t ac__type_new_;
22342 int 25494 int
22343 main () 25495 main ()
22344 { 25496 {
22345 if ((size_t *) 0) 25497 if ((ac__type_new_ *) 0)
22346 return 0; 25498 return 0;
22347 if (sizeof (size_t)) 25499 if (sizeof (ac__type_new_))
22348 return 0; 25500 return 0;
22349 ; 25501 ;
22350 return 0; 25502 return 0;
22351 } 25503 }
22352 _ACEOF 25504 _ACEOF
22353 rm -f conftest.$ac_objext 25505 rm -f conftest.$ac_objext
22354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 25506 if { (ac_try="$ac_compile"
22355 (eval $ac_compile) 2>conftest.er1 25507 case "(($ac_try" in
25508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25509 *) ac_try_echo=$ac_try;;
25510 esac
25511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25512 (eval "$ac_compile") 2>conftest.er1
22356 ac_status=$? 25513 ac_status=$?
22357 grep -v '^ *+' conftest.er1 >conftest.err 25514 grep -v '^ *+' conftest.er1 >conftest.err
22358 rm -f conftest.er1 25515 rm -f conftest.er1
22359 cat conftest.err >&5 25516 cat conftest.err >&5
22360 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22361 (exit $ac_status); } && 25518 (exit $ac_status); } &&
22362 { ac_try='test -z "$ac_c_werror_flag" 25519 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22363 || test ! -s conftest.err' 25520 { (case "(($ac_try" in
22364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 25521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22365 (eval $ac_try) 2>&5 25522 *) ac_try_echo=$ac_try;;
25523 esac
25524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25525 (eval "$ac_try") 2>&5
22366 ac_status=$? 25526 ac_status=$?
22367 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22368 (exit $ac_status); }; } && 25528 (exit $ac_status); }; } &&
22369 { ac_try='test -s conftest.$ac_objext' 25529 { ac_try='test -s conftest.$ac_objext'
22370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 25530 { (case "(($ac_try" in
22371 (eval $ac_try) 2>&5 25531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25532 *) ac_try_echo=$ac_try;;
25533 esac
25534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25535 (eval "$ac_try") 2>&5
22372 ac_status=$? 25536 ac_status=$?
22373 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22374 (exit $ac_status); }; }; then 25538 (exit $ac_status); }; }; then
22375 ac_cv_type_size_t=yes 25539 ac_cv_type_size_t=yes
22376 else 25540 else
22377 echo "$as_me: failed program was:" >&5 25541 echo "$as_me: failed program was:" >&5
22378 sed 's/^/| /' conftest.$ac_ext >&5 25542 sed 's/^/| /' conftest.$ac_ext >&5
22379 25543
22380 ac_cv_type_size_t=no 25544 ac_cv_type_size_t=no
22381 fi 25545 fi
22382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 25546
22383 fi 25547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22384 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 25548 fi
22385 echo "${ECHO_T}$ac_cv_type_size_t" >&6 25549 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
25550 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
22386 if test $ac_cv_type_size_t = yes; then 25551 if test $ac_cv_type_size_t = yes; then
22387 25552
22388 cat >>confdefs.h <<_ACEOF 25553 cat >>confdefs.h <<_ACEOF
22389 #define HAVE_SIZE_T 1 25554 #define HAVE_SIZE_T 1
22390 _ACEOF 25555 _ACEOF
22391 25556
22392 25557
22393 fi 25558 fi
22394 25559
22395 25560
22396 echo "$as_me:$LINENO: checking for mbstate_t" >&5 25561 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
22397 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6 25562 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
22398 if test "${ac_cv_type_mbstate_t+set}" = set; then 25563 if test "${ac_cv_type_mbstate_t+set}" = set; then
22399 echo $ECHO_N "(cached) $ECHO_C" >&6 25564 echo $ECHO_N "(cached) $ECHO_C" >&6
22400 else 25565 else
22401 cat >conftest.$ac_ext <<_ACEOF 25566 cat >conftest.$ac_ext <<_ACEOF
22402 /* confdefs.h. */ 25567 /* confdefs.h. */
22413 ; 25578 ;
22414 return 0; 25579 return 0;
22415 } 25580 }
22416 _ACEOF 25581 _ACEOF
22417 rm -f conftest.$ac_objext 25582 rm -f conftest.$ac_objext
22418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 25583 if { (ac_try="$ac_compile"
22419 (eval $ac_compile) 2>conftest.er1 25584 case "(($ac_try" in
25585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25586 *) ac_try_echo=$ac_try;;
25587 esac
25588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25589 (eval "$ac_compile") 2>conftest.er1
22420 ac_status=$? 25590 ac_status=$?
22421 grep -v '^ *+' conftest.er1 >conftest.err 25591 grep -v '^ *+' conftest.er1 >conftest.err
22422 rm -f conftest.er1 25592 rm -f conftest.er1
22423 cat conftest.err >&5 25593 cat conftest.err >&5
22424 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22425 (exit $ac_status); } && 25595 (exit $ac_status); } &&
22426 { ac_try='test -z "$ac_c_werror_flag" 25596 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22427 || test ! -s conftest.err' 25597 { (case "(($ac_try" in
22428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 25598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22429 (eval $ac_try) 2>&5 25599 *) ac_try_echo=$ac_try;;
25600 esac
25601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25602 (eval "$ac_try") 2>&5
22430 ac_status=$? 25603 ac_status=$?
22431 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22432 (exit $ac_status); }; } && 25605 (exit $ac_status); }; } &&
22433 { ac_try='test -s conftest.$ac_objext' 25606 { ac_try='test -s conftest.$ac_objext'
22434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 25607 { (case "(($ac_try" in
22435 (eval $ac_try) 2>&5 25608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25609 *) ac_try_echo=$ac_try;;
25610 esac
25611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25612 (eval "$ac_try") 2>&5
22436 ac_status=$? 25613 ac_status=$?
22437 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22438 (exit $ac_status); }; }; then 25615 (exit $ac_status); }; }; then
22439 ac_cv_type_mbstate_t=yes 25616 ac_cv_type_mbstate_t=yes
22440 else 25617 else
22441 echo "$as_me: failed program was:" >&5 25618 echo "$as_me: failed program was:" >&5
22442 sed 's/^/| /' conftest.$ac_ext >&5 25619 sed 's/^/| /' conftest.$ac_ext >&5
22443 25620
22444 ac_cv_type_mbstate_t=no 25621 ac_cv_type_mbstate_t=no
22445 fi 25622 fi
22446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 25623
22447 fi 25624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22448 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5 25625 fi
22449 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6 25626 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
25627 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
22450 if test $ac_cv_type_mbstate_t = yes; then 25628 if test $ac_cv_type_mbstate_t = yes; then
22451 25629
22452 cat >>confdefs.h <<\_ACEOF 25630 cat >>confdefs.h <<\_ACEOF
22453 #define HAVE_MBSTATE_T 1 25631 #define HAVE_MBSTATE_T 1
22454 _ACEOF 25632 _ACEOF
22459 #define mbstate_t int 25637 #define mbstate_t int
22460 _ACEOF 25638 _ACEOF
22461 25639
22462 fi 25640 fi
22463 25641
22464 echo "$as_me:$LINENO: checking for C restrict keyword" >&5 25642 { echo "$as_me:$LINENO: checking for C restrict keyword" >&5
22465 echo $ECHO_N "checking for C restrict keyword... $ECHO_C" >&6 25643 echo $ECHO_N "checking for C restrict keyword... $ECHO_C" >&6; }
22466 if test "${emacs_cv_c_restrict+set}" = set; then 25644 if test "${emacs_cv_c_restrict+set}" = set; then
22467 echo $ECHO_N "(cached) $ECHO_C" >&6 25645 echo $ECHO_N "(cached) $ECHO_C" >&6
22468 else 25646 else
22469 cat >conftest.$ac_ext <<_ACEOF 25647 cat >conftest.$ac_ext <<_ACEOF
22470 /* confdefs.h. */ 25648 /* confdefs.h. */
22480 ; 25658 ;
22481 return 0; 25659 return 0;
22482 } 25660 }
22483 _ACEOF 25661 _ACEOF
22484 rm -f conftest.$ac_objext 25662 rm -f conftest.$ac_objext
22485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 25663 if { (ac_try="$ac_compile"
22486 (eval $ac_compile) 2>conftest.er1 25664 case "(($ac_try" in
25665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25666 *) ac_try_echo=$ac_try;;
25667 esac
25668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25669 (eval "$ac_compile") 2>conftest.er1
22487 ac_status=$? 25670 ac_status=$?
22488 grep -v '^ *+' conftest.er1 >conftest.err 25671 grep -v '^ *+' conftest.er1 >conftest.err
22489 rm -f conftest.er1 25672 rm -f conftest.er1
22490 cat conftest.err >&5 25673 cat conftest.err >&5
22491 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22492 (exit $ac_status); } && 25675 (exit $ac_status); } &&
22493 { ac_try='test -z "$ac_c_werror_flag" 25676 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22494 || test ! -s conftest.err' 25677 { (case "(($ac_try" in
22495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 25678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22496 (eval $ac_try) 2>&5 25679 *) ac_try_echo=$ac_try;;
25680 esac
25681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25682 (eval "$ac_try") 2>&5
22497 ac_status=$? 25683 ac_status=$?
22498 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22499 (exit $ac_status); }; } && 25685 (exit $ac_status); }; } &&
22500 { ac_try='test -s conftest.$ac_objext' 25686 { ac_try='test -s conftest.$ac_objext'
22501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 25687 { (case "(($ac_try" in
22502 (eval $ac_try) 2>&5 25688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25689 *) ac_try_echo=$ac_try;;
25690 esac
25691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25692 (eval "$ac_try") 2>&5
22503 ac_status=$? 25693 ac_status=$?
22504 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22505 (exit $ac_status); }; }; then 25695 (exit $ac_status); }; }; then
22506 emacs_cv_c_restrict=yes 25696 emacs_cv_c_restrict=yes
22507 else 25697 else
22508 echo "$as_me: failed program was:" >&5 25698 echo "$as_me: failed program was:" >&5
22509 sed 's/^/| /' conftest.$ac_ext >&5 25699 sed 's/^/| /' conftest.$ac_ext >&5
22510 25700
22511 cat >conftest.$ac_ext <<_ACEOF 25701 cat >conftest.$ac_ext <<_ACEOF
22512 /* confdefs.h. */ 25702 /* confdefs.h. */
22513 _ACEOF 25703 _ACEOF
22514 cat confdefs.h >>conftest.$ac_ext 25704 cat confdefs.h >>conftest.$ac_ext
22515 cat >>conftest.$ac_ext <<_ACEOF 25705 cat >>conftest.$ac_ext <<_ACEOF
22516 /* end confdefs.h. */ 25706 /* end confdefs.h. */
22522 ; 25712 ;
22523 return 0; 25713 return 0;
22524 } 25714 }
22525 _ACEOF 25715 _ACEOF
22526 rm -f conftest.$ac_objext 25716 rm -f conftest.$ac_objext
22527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 25717 if { (ac_try="$ac_compile"
22528 (eval $ac_compile) 2>conftest.er1 25718 case "(($ac_try" in
25719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25720 *) ac_try_echo=$ac_try;;
25721 esac
25722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25723 (eval "$ac_compile") 2>conftest.er1
22529 ac_status=$? 25724 ac_status=$?
22530 grep -v '^ *+' conftest.er1 >conftest.err 25725 grep -v '^ *+' conftest.er1 >conftest.err
22531 rm -f conftest.er1 25726 rm -f conftest.er1
22532 cat conftest.err >&5 25727 cat conftest.err >&5
22533 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22534 (exit $ac_status); } && 25729 (exit $ac_status); } &&
22535 { ac_try='test -z "$ac_c_werror_flag" 25730 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22536 || test ! -s conftest.err' 25731 { (case "(($ac_try" in
22537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 25732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22538 (eval $ac_try) 2>&5 25733 *) ac_try_echo=$ac_try;;
25734 esac
25735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25736 (eval "$ac_try") 2>&5
22539 ac_status=$? 25737 ac_status=$?
22540 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22541 (exit $ac_status); }; } && 25739 (exit $ac_status); }; } &&
22542 { ac_try='test -s conftest.$ac_objext' 25740 { ac_try='test -s conftest.$ac_objext'
22543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 25741 { (case "(($ac_try" in
22544 (eval $ac_try) 2>&5 25742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25743 *) ac_try_echo=$ac_try;;
25744 esac
25745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25746 (eval "$ac_try") 2>&5
22545 ac_status=$? 25747 ac_status=$?
22546 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22547 (exit $ac_status); }; }; then 25749 (exit $ac_status); }; }; then
22548 emacs_cv_c_restrict=__restrict 25750 emacs_cv_c_restrict=__restrict
22549 else 25751 else
22550 echo "$as_me: failed program was:" >&5 25752 echo "$as_me: failed program was:" >&5
22551 sed 's/^/| /' conftest.$ac_ext >&5 25753 sed 's/^/| /' conftest.$ac_ext >&5
22552 25754
22553 emacs_cv_c_restrict=no 25755 emacs_cv_c_restrict=no
22554 fi 25756 fi
22555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 25757
22556 fi 25758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 25759 fi
22558 fi 25760
22559 echo "$as_me:$LINENO: result: $emacs_cv_c_restrict" >&5 25761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22560 echo "${ECHO_T}$emacs_cv_c_restrict" >&6 25762 fi
25763 { echo "$as_me:$LINENO: result: $emacs_cv_c_restrict" >&5
25764 echo "${ECHO_T}$emacs_cv_c_restrict" >&6; }
22561 case "$emacs_cv_c_restrict" in 25765 case "$emacs_cv_c_restrict" in
22562 yes) emacs_restrict=restrict;; 25766 yes) emacs_restrict=restrict;;
22563 no) emacs_restrict="";; 25767 no) emacs_restrict="";;
22564 *) emacs_restrict="$emacs_cv_c_restrict";; 25768 *) emacs_restrict="$emacs_cv_c_restrict";;
22565 esac 25769 esac
22569 #define __restrict $emacs_restrict 25773 #define __restrict $emacs_restrict
22570 _ACEOF 25774 _ACEOF
22571 25775
22572 fi 25776 fi
22573 25777
22574 echo "$as_me:$LINENO: checking for C restricted array declarations" >&5 25778 { echo "$as_me:$LINENO: checking for C restricted array declarations" >&5
22575 echo $ECHO_N "checking for C restricted array declarations... $ECHO_C" >&6 25779 echo $ECHO_N "checking for C restricted array declarations... $ECHO_C" >&6; }
22576 if test "${emacs_cv_c_restrict_arr+set}" = set; then 25780 if test "${emacs_cv_c_restrict_arr+set}" = set; then
22577 echo $ECHO_N "(cached) $ECHO_C" >&6 25781 echo $ECHO_N "(cached) $ECHO_C" >&6
22578 else 25782 else
22579 cat >conftest.$ac_ext <<_ACEOF 25783 cat >conftest.$ac_ext <<_ACEOF
22580 /* confdefs.h. */ 25784 /* confdefs.h. */
22590 ; 25794 ;
22591 return 0; 25795 return 0;
22592 } 25796 }
22593 _ACEOF 25797 _ACEOF
22594 rm -f conftest.$ac_objext 25798 rm -f conftest.$ac_objext
22595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 25799 if { (ac_try="$ac_compile"
22596 (eval $ac_compile) 2>conftest.er1 25800 case "(($ac_try" in
25801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25802 *) ac_try_echo=$ac_try;;
25803 esac
25804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25805 (eval "$ac_compile") 2>conftest.er1
22597 ac_status=$? 25806 ac_status=$?
22598 grep -v '^ *+' conftest.er1 >conftest.err 25807 grep -v '^ *+' conftest.er1 >conftest.err
22599 rm -f conftest.er1 25808 rm -f conftest.er1
22600 cat conftest.err >&5 25809 cat conftest.err >&5
22601 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22602 (exit $ac_status); } && 25811 (exit $ac_status); } &&
22603 { ac_try='test -z "$ac_c_werror_flag" 25812 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22604 || test ! -s conftest.err' 25813 { (case "(($ac_try" in
22605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 25814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22606 (eval $ac_try) 2>&5 25815 *) ac_try_echo=$ac_try;;
25816 esac
25817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25818 (eval "$ac_try") 2>&5
22607 ac_status=$? 25819 ac_status=$?
22608 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22609 (exit $ac_status); }; } && 25821 (exit $ac_status); }; } &&
22610 { ac_try='test -s conftest.$ac_objext' 25822 { ac_try='test -s conftest.$ac_objext'
22611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 25823 { (case "(($ac_try" in
22612 (eval $ac_try) 2>&5 25824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25825 *) ac_try_echo=$ac_try;;
25826 esac
25827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25828 (eval "$ac_try") 2>&5
22613 ac_status=$? 25829 ac_status=$?
22614 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22615 (exit $ac_status); }; }; then 25831 (exit $ac_status); }; }; then
22616 emacs_cv_c_restrict_arr=yes 25832 emacs_cv_c_restrict_arr=yes
22617 else 25833 else
22618 echo "$as_me: failed program was:" >&5 25834 echo "$as_me: failed program was:" >&5
22619 sed 's/^/| /' conftest.$ac_ext >&5 25835 sed 's/^/| /' conftest.$ac_ext >&5
22620 25836
22621 emacs_cv_c_restrict_arr=no 25837 emacs_cv_c_restrict_arr=no
22622 fi 25838 fi
22623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 25839
22624 fi 25840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22625 echo "$as_me:$LINENO: result: $emacs_cv_c_restrict_arr" >&5 25841 fi
22626 echo "${ECHO_T}$emacs_cv_c_restrict_arr" >&6 25842 { echo "$as_me:$LINENO: result: $emacs_cv_c_restrict_arr" >&5
25843 echo "${ECHO_T}$emacs_cv_c_restrict_arr" >&6; }
22627 if test "$emacs_cv_c_restrict_arr" = yes; then 25844 if test "$emacs_cv_c_restrict_arr" = yes; then
22628 25845
22629 cat >>confdefs.h <<\_ACEOF 25846 cat >>confdefs.h <<\_ACEOF
22630 #define __restrict_arr __restrict 25847 #define __restrict_arr __restrict
22631 _ACEOF 25848 _ACEOF
22853 CPP_NEED_TRADITIONAL=yes 26070 CPP_NEED_TRADITIONAL=yes
22854 fi 26071 fi
22855 rm -f conftest* 26072 rm -f conftest*
22856 26073
22857 26074
22858 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" 26075 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"
22859 ac_config_commands="$ac_config_commands default" 26076
26077 ac_config_commands="$ac_config_commands default"
26078
22860 cat >confcache <<\_ACEOF 26079 cat >confcache <<\_ACEOF
22861 # This file is a shell script that caches the results of configure 26080 # This file is a shell script that caches the results of configure
22862 # tests run on this system so they can be shared between configure 26081 # tests run on this system so they can be shared between configure
22863 # scripts and configure runs, see configure's option --config-cache. 26082 # scripts and configure runs, see configure's option --config-cache.
22864 # It is not useful on other systems. If it contains results you don't 26083 # It is not useful on other systems. If it contains results you don't
22873 26092
22874 _ACEOF 26093 _ACEOF
22875 26094
22876 # The following way of writing the cache mishandles newlines in values, 26095 # The following way of writing the cache mishandles newlines in values,
22877 # but we know of no workaround that is simple, portable, and efficient. 26096 # but we know of no workaround that is simple, portable, and efficient.
22878 # So, don't put newlines in cache variables' values. 26097 # So, we kill variables containing newlines.
22879 # Ultrix sh set writes to stderr and can't be redirected directly, 26098 # Ultrix sh set writes to stderr and can't be redirected directly,
22880 # and sets the high bit in the cache file unless we assign to the vars. 26099 # and sets the high bit in the cache file unless we assign to the vars.
22881 { 26100 (
26101 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26102 eval ac_val=\$$ac_var
26103 case $ac_val in #(
26104 *${as_nl}*)
26105 case $ac_var in #(
26106 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
26107 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
26108 esac
26109 case $ac_var in #(
26110 _ | IFS | as_nl) ;; #(
26111 *) $as_unset $ac_var ;;
26112 esac ;;
26113 esac
26114 done
26115
22882 (set) 2>&1 | 26116 (set) 2>&1 |
22883 case `(ac_space=' '; set | grep ac_space) 2>&1` in 26117 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22884 *ac_space=\ *) 26118 *${as_nl}ac_space=\ *)
22885 # `set' does not quote correctly, so add quotes (double-quote 26119 # `set' does not quote correctly, so add quotes (double-quote
22886 # substitution turns \\\\ into \\, and sed turns \\ into \). 26120 # substitution turns \\\\ into \\, and sed turns \\ into \).
22887 sed -n \ 26121 sed -n \
22888 "s/'/'\\\\''/g; 26122 "s/'/'\\\\''/g;
22889 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 26123 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22890 ;; 26124 ;; #(
22891 *) 26125 *)
22892 # `set' quotes correctly as required by POSIX, so do not add quotes. 26126 # `set' quotes correctly as required by POSIX, so do not add quotes.
22893 sed -n \ 26127 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22894 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22895 ;; 26128 ;;
22896 esac; 26129 esac |
22897 } | 26130 sort
26131 ) |
22898 sed ' 26132 sed '
26133 /^ac_cv_env_/b end
22899 t clear 26134 t clear
22900 : clear 26135 :clear
22901 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 26136 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22902 t end 26137 t end
22903 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 26138 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22904 : end' >>confcache 26139 :end' >>confcache
22905 if diff $cache_file confcache >/dev/null 2>&1; then :; else 26140 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22906 if test -w $cache_file; then 26141 if test -w "$cache_file"; then
22907 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 26142 test "x$cache_file" != "x/dev/null" &&
26143 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
26144 echo "$as_me: updating cache $cache_file" >&6;}
22908 cat confcache >$cache_file 26145 cat confcache >$cache_file
22909 else 26146 else
22910 echo "not updating unwritable cache $cache_file" 26147 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
26148 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22911 fi 26149 fi
22912 fi 26150 fi
22913 rm -f confcache 26151 rm -f confcache
22914 26152
22915 test "x$prefix" = xNONE && prefix=$ac_default_prefix 26153 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22916 # Let make expand exec_prefix. 26154 # Let make expand exec_prefix.
22917 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 26155 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22918
22919 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22920 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22921 # trailing colons and then remove the whole line if VPATH becomes empty
22922 # (actually we leave an empty line to preserve line numbers).
22923 if test "x$srcdir" = x.; then
22924 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22925 s/:*\$(srcdir):*/:/;
22926 s/:*\${srcdir}:*/:/;
22927 s/:*@srcdir@:*/:/;
22928 s/^\([^=]*=[ ]*\):*/\1/;
22929 s/:*$//;
22930 s/^[^=]*=[ ]*$//;
22931 }'
22932 fi
22933 26156
22934 DEFS=-DHAVE_CONFIG_H 26157 DEFS=-DHAVE_CONFIG_H
22935 26158
22936 ac_libobjs= 26159 ac_libobjs=
22937 ac_ltlibobjs= 26160 ac_ltlibobjs=
22938 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 26161 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22939 # 1. Remove the extension, and $U if already installed. 26162 # 1. Remove the extension, and $U if already installed.
22940 ac_i=`echo "$ac_i" | 26163 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22941 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 26164 ac_i=`echo "$ac_i" | sed "$ac_script"`
22942 # 2. Add them. 26165 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22943 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 26166 # will be set to the directory where LIBOBJS objects are built.
22944 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 26167 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26168 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22945 done 26169 done
22946 LIBOBJS=$ac_libobjs 26170 LIBOBJS=$ac_libobjs
22947 26171
22948 LTLIBOBJS=$ac_ltlibobjs 26172 LTLIBOBJS=$ac_ltlibobjs
22949 26173
22977 emulate sh 26201 emulate sh
22978 NULLCMD=: 26202 NULLCMD=:
22979 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 26203 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22980 # is contrary to our usage. Disable this feature. 26204 # is contrary to our usage. Disable this feature.
22981 alias -g '${1+"$@"}'='"$@"' 26205 alias -g '${1+"$@"}'='"$@"'
22982 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 26206 setopt NO_GLOB_SUBST
22983 set -o posix 26207 else
22984 fi 26208 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
26209 fi
26210 BIN_SH=xpg4; export BIN_SH # for Tru64
22985 DUALCASE=1; export DUALCASE # for MKS sh 26211 DUALCASE=1; export DUALCASE # for MKS sh
22986 26212
22987 # Support unset when possible. 26213
22988 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 26214 # PATH needs CR
22989 as_unset=unset
22990 else
22991 as_unset=false
22992 fi
22993
22994
22995 # Work around bugs in pre-3.0 UWIN ksh.
22996 $as_unset ENV MAIL MAILPATH
22997 PS1='$ '
22998 PS2='> '
22999 PS4='+ '
23000
23001 # NLS nuisances.
23002 for as_var in \
23003 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
23004 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23005 LC_TELEPHONE LC_TIME
23006 do
23007 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
23008 eval $as_var=C; export $as_var
23009 else
23010 $as_unset $as_var
23011 fi
23012 done
23013
23014 # Required to use basename.
23015 if expr a : '\(a\)' >/dev/null 2>&1; then
23016 as_expr=expr
23017 else
23018 as_expr=false
23019 fi
23020
23021 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
23022 as_basename=basename
23023 else
23024 as_basename=false
23025 fi
23026
23027
23028 # Name of the executable.
23029 as_me=`$as_basename "$0" ||
23030 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23031 X"$0" : 'X\(//\)$' \| \
23032 X"$0" : 'X\(/\)$' \| \
23033 . : '\(.\)' 2>/dev/null ||
23034 echo X/"$0" |
23035 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
23036 /^X\/\(\/\/\)$/{ s//\1/; q; }
23037 /^X\/\(\/\).*/{ s//\1/; q; }
23038 s/.*/./; q'`
23039
23040
23041 # PATH needs CR, and LINENO needs CR and PATH.
23042 # Avoid depending upon Character Ranges. 26215 # Avoid depending upon Character Ranges.
23043 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 26216 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23044 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 26217 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23045 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 26218 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23046 as_cr_digits='0123456789' 26219 as_cr_digits='0123456789'
23057 PATH_SEPARATOR=: 26230 PATH_SEPARATOR=:
23058 fi 26231 fi
23059 rm -f conf$$.sh 26232 rm -f conf$$.sh
23060 fi 26233 fi
23061 26234
23062 26235 # Support unset when possible.
23063 as_lineno_1=$LINENO 26236 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
23064 as_lineno_2=$LINENO 26237 as_unset=unset
23065 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 26238 else
23066 test "x$as_lineno_1" != "x$as_lineno_2" && 26239 as_unset=false
23067 test "x$as_lineno_3" = "x$as_lineno_2" || { 26240 fi
23068 # Find who we are. Look in the path if we contain no path at all 26241
23069 # relative or not. 26242
23070 case $0 in 26243 # IFS
23071 *[\\/]* ) as_myself=$0 ;; 26244 # We need space, tab and new line, in precisely that order. Quoting is
23072 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 26245 # there to prevent editors from complaining about space-tab.
26246 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
26247 # splitting by setting IFS to empty value.)
26248 as_nl='
26249 '
26250 IFS=" "" $as_nl"
26251
26252 # Find who we are. Look in the path if we contain no directory separator.
26253 case $0 in
26254 *[\\/]* ) as_myself=$0 ;;
26255 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23073 for as_dir in $PATH 26256 for as_dir in $PATH
23074 do 26257 do
23075 IFS=$as_save_IFS 26258 IFS=$as_save_IFS
23076 test -z "$as_dir" && as_dir=. 26259 test -z "$as_dir" && as_dir=.
23077 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 26260 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23078 done 26261 done
23079 26262 IFS=$as_save_IFS
23080 ;; 26263
23081 esac 26264 ;;
23082 # We did not find ourselves, most probably we were run as `sh COMMAND' 26265 esac
23083 # in which case we are not to be found in the path. 26266 # We did not find ourselves, most probably we were run as `sh COMMAND'
23084 if test "x$as_myself" = x; then 26267 # in which case we are not to be found in the path.
23085 as_myself=$0 26268 if test "x$as_myself" = x; then
26269 as_myself=$0
26270 fi
26271 if test ! -f "$as_myself"; then
26272 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26273 { (exit 1); exit 1; }
26274 fi
26275
26276 # Work around bugs in pre-3.0 UWIN ksh.
26277 for as_var in ENV MAIL MAILPATH
26278 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
26279 done
26280 PS1='$ '
26281 PS2='> '
26282 PS4='+ '
26283
26284 # NLS nuisances.
26285 for as_var in \
26286 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
26287 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
26288 LC_TELEPHONE LC_TIME
26289 do
26290 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
26291 eval $as_var=C; export $as_var
26292 else
26293 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
23086 fi 26294 fi
23087 if test ! -f "$as_myself"; then 26295 done
23088 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 26296
23089 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 26297 # Required to use basename.
23090 { (exit 1); exit 1; }; } 26298 if expr a : '\(a\)' >/dev/null 2>&1 &&
23091 fi 26299 test "X`expr 00001 : '.*\(...\)'`" = X001; then
23092 case $CONFIG_SHELL in 26300 as_expr=expr
23093 '') 26301 else
23094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 26302 as_expr=false
23095 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 26303 fi
23096 do 26304
23097 IFS=$as_save_IFS 26305 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23098 test -z "$as_dir" && as_dir=. 26306 as_basename=basename
23099 for as_base in sh bash ksh sh5; do 26307 else
23100 case $as_dir in 26308 as_basename=false
23101 /*) 26309 fi
23102 if ("$as_dir/$as_base" -c ' 26310
26311
26312 # Name of the executable.
26313 as_me=`$as_basename -- "$0" ||
26314 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26315 X"$0" : 'X\(//\)$' \| \
26316 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
26317 echo X/"$0" |
26318 sed '/^.*\/\([^/][^/]*\)\/*$/{
26319 s//\1/
26320 q
26321 }
26322 /^X\/\(\/\/\)$/{
26323 s//\1/
26324 q
26325 }
26326 /^X\/\(\/\).*/{
26327 s//\1/
26328 q
26329 }
26330 s/.*/./; q'`
26331
26332 # CDPATH.
26333 $as_unset CDPATH
26334
26335
26336
23103 as_lineno_1=$LINENO 26337 as_lineno_1=$LINENO
23104 as_lineno_2=$LINENO 26338 as_lineno_2=$LINENO
23105 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23106 test "x$as_lineno_1" != "x$as_lineno_2" && 26339 test "x$as_lineno_1" != "x$as_lineno_2" &&
23107 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 26340 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
23108 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
23109 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
23110 CONFIG_SHELL=$as_dir/$as_base
23111 export CONFIG_SHELL
23112 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
23113 fi;;
23114 esac
23115 done
23116 done
23117 ;;
23118 esac
23119 26341
23120 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 26342 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23121 # uniformly replaced by the line number. The first 'sed' inserts a 26343 # uniformly replaced by the line number. The first 'sed' inserts a
23122 # line-number line before each line; the second 'sed' does the real 26344 # line-number line after each line using $LINENO; the second 'sed'
23123 # work. The second script uses 'N' to pair each line-number line 26345 # does the real work. The second script uses 'N' to pair each
23124 # with the numbered line, and appends trailing '-' during 26346 # line-number line with the line containing $LINENO, and appends
23125 # substitution so that $LINENO is not a special case at line end. 26347 # trailing '-' during substitution so that $LINENO is not a special
26348 # case at line end.
23126 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 26349 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23127 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 26350 # scripts with optimization help from Paolo Bonzini. Blame Lee
23128 sed '=' <$as_myself | 26351 # E. McMahon (1931-1989) for sed's syntax. :-)
26352 sed -n '
26353 p
26354 /[$]LINENO/=
26355 ' <$as_myself |
23129 sed ' 26356 sed '
26357 s/[$]LINENO.*/&-/
26358 t lineno
26359 b
26360 :lineno
23130 N 26361 N
23131 s,$,-, 26362 :loop
23132 : loop 26363 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
23133 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
23134 t loop 26364 t loop
23135 s,-$,, 26365 s/-\n.*//
23136 s,^['$as_cr_digits']*\n,,
23137 ' >$as_me.lineno && 26366 ' >$as_me.lineno &&
23138 chmod +x $as_me.lineno || 26367 chmod +x "$as_me.lineno" ||
23139 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 26368 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
23140 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
23141 { (exit 1); exit 1; }; } 26369 { (exit 1); exit 1; }; }
23142 26370
23143 # Don't try to exec as it changes $[0], causing all sort of problems 26371 # Don't try to exec as it changes $[0], causing all sort of problems
23144 # (the dirname of $[0] is not the place where we might find the 26372 # (the dirname of $[0] is not the place where we might find the
23145 # original and so on. Autoconf is especially sensible to this). 26373 # original and so on. Autoconf is especially sensitive to this).
23146 . ./$as_me.lineno 26374 . "./$as_me.lineno"
23147 # Exit status is that of the last command. 26375 # Exit status is that of the last command.
23148 exit 26376 exit
23149 } 26377 }
23150 26378
23151 26379
23152 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 26380 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
23153 *c*,-n*) ECHO_N= ECHO_C=' 26381 as_dirname=dirname
23154 ' ECHO_T=' ' ;; 26382 else
23155 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 26383 as_dirname=false
23156 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 26384 fi
23157 esac 26385
23158 26386 ECHO_C= ECHO_N= ECHO_T=
23159 if expr a : '\(a\)' >/dev/null 2>&1; then 26387 case `echo -n x` in
26388 -n*)
26389 case `echo 'x\c'` in
26390 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
26391 *) ECHO_C='\c';;
26392 esac;;
26393 *)
26394 ECHO_N='-n';;
26395 esac
26396
26397 if expr a : '\(a\)' >/dev/null 2>&1 &&
26398 test "X`expr 00001 : '.*\(...\)'`" = X001; then
23160 as_expr=expr 26399 as_expr=expr
23161 else 26400 else
23162 as_expr=false 26401 as_expr=false
23163 fi 26402 fi
23164 26403
23165 rm -f conf$$ conf$$.exe conf$$.file 26404 rm -f conf$$ conf$$.exe conf$$.file
26405 if test -d conf$$.dir; then
26406 rm -f conf$$.dir/conf$$.file
26407 else
26408 rm -f conf$$.dir
26409 mkdir conf$$.dir
26410 fi
23166 echo >conf$$.file 26411 echo >conf$$.file
23167 if ln -s conf$$.file conf$$ 2>/dev/null; then 26412 if ln -s conf$$.file conf$$ 2>/dev/null; then
23168 # We could just check for DJGPP; but this test a) works b) is more generic 26413 as_ln_s='ln -s'
23169 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 26414 # ... but there are two gotchas:
23170 if test -f conf$$.exe; then 26415 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23171 # Don't use ln at all; we don't have any links 26416 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
26417 # In both cases, we have to default to `cp -p'.
26418 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
23172 as_ln_s='cp -p' 26419 as_ln_s='cp -p'
23173 else
23174 as_ln_s='ln -s'
23175 fi
23176 elif ln conf$$.file conf$$ 2>/dev/null; then 26420 elif ln conf$$.file conf$$ 2>/dev/null; then
23177 as_ln_s=ln 26421 as_ln_s=ln
23178 else 26422 else
23179 as_ln_s='cp -p' 26423 as_ln_s='cp -p'
23180 fi 26424 fi
23181 rm -f conf$$ conf$$.exe conf$$.file 26425 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
26426 rmdir conf$$.dir 2>/dev/null
23182 26427
23183 if mkdir -p . 2>/dev/null; then 26428 if mkdir -p . 2>/dev/null; then
23184 as_mkdir_p=: 26429 as_mkdir_p=:
23185 else 26430 else
23186 test -d ./-p && rmdir ./-p 26431 test -d ./-p && rmdir ./-p
23187 as_mkdir_p=false 26432 as_mkdir_p=false
23188 fi 26433 fi
23189 26434
23190 as_executable_p="test -f" 26435 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
26436 # systems may use methods other than mode bits to determine executability.
26437 cat >conf$$.file <<_ASEOF
26438 #! /bin/sh
26439 exit 0
26440 _ASEOF
26441 chmod +x conf$$.file
26442 if test -x conf$$.file >/dev/null 2>&1; then
26443 as_executable_p="test -x"
26444 else
26445 as_executable_p=:
26446 fi
26447 rm -f conf$$.file
23191 26448
23192 # Sed expression to map a string onto a valid CPP name. 26449 # Sed expression to map a string onto a valid CPP name.
23193 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 26450 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23194 26451
23195 # Sed expression to map a string onto a valid variable name. 26452 # Sed expression to map a string onto a valid variable name.
23196 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 26453 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23197 26454
23198 26455
23199 # IFS
23200 # We need space, tab and new line, in precisely that order.
23201 as_nl='
23202 '
23203 IFS=" $as_nl"
23204
23205 # CDPATH.
23206 $as_unset CDPATH
23207
23208 exec 6>&1 26456 exec 6>&1
23209 26457
23210 # Open the log real soon, to keep \$[0] and so on meaningful, and to 26458 # Save the log message, to keep $[0] and so on meaningful, and to
23211 # report actual input values of CONFIG_FILES etc. instead of their 26459 # report actual input values of CONFIG_FILES etc. instead of their
23212 # values after options handling. Logging --version etc. is OK. 26460 # values after options handling.
23213 exec 5>>config.log 26461 ac_log="
23214 {
23215 echo
23216 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23217 ## Running $as_me. ##
23218 _ASBOX
23219 } >&5
23220 cat >&5 <<_CSEOF
23221
23222 This file was extended by $as_me, which was 26462 This file was extended by $as_me, which was
23223 generated by GNU Autoconf 2.59. Invocation command line was 26463 generated by GNU Autoconf 2.60. Invocation command line was
23224 26464
23225 CONFIG_FILES = $CONFIG_FILES 26465 CONFIG_FILES = $CONFIG_FILES
23226 CONFIG_HEADERS = $CONFIG_HEADERS 26466 CONFIG_HEADERS = $CONFIG_HEADERS
23227 CONFIG_LINKS = $CONFIG_LINKS 26467 CONFIG_LINKS = $CONFIG_LINKS
23228 CONFIG_COMMANDS = $CONFIG_COMMANDS 26468 CONFIG_COMMANDS = $CONFIG_COMMANDS
23229 $ $0 $@ 26469 $ $0 $@
23230 26470
23231 _CSEOF 26471 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23232 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 26472 "
23233 echo >&5 26473
23234 _ACEOF 26474 _ACEOF
23235 26475
26476 cat >>$CONFIG_STATUS <<_ACEOF
23236 # Files that config.status was made for. 26477 # Files that config.status was made for.
23237 if test -n "$ac_config_files"; then 26478 config_files="$ac_config_files"
23238 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 26479 config_headers="$ac_config_headers"
23239 fi 26480 config_commands="$ac_config_commands"
23240 26481
23241 if test -n "$ac_config_headers"; then 26482 _ACEOF
23242 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
23243 fi
23244
23245 if test -n "$ac_config_links"; then
23246 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
23247 fi
23248
23249 if test -n "$ac_config_commands"; then
23250 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
23251 fi
23252 26483
23253 cat >>$CONFIG_STATUS <<\_ACEOF 26484 cat >>$CONFIG_STATUS <<\_ACEOF
23254
23255 ac_cs_usage="\ 26485 ac_cs_usage="\
23256 \`$as_me' instantiates files from templates according to the 26486 \`$as_me' instantiates files from templates according to the
23257 current configuration. 26487 current configuration.
23258 26488
23259 Usage: $0 [OPTIONS] [FILE]... 26489 Usage: $0 [OPTIONS] [FILE]...
23276 26506
23277 Configuration commands: 26507 Configuration commands:
23278 $config_commands 26508 $config_commands
23279 26509
23280 Report bugs to <bug-autoconf@gnu.org>." 26510 Report bugs to <bug-autoconf@gnu.org>."
23281 _ACEOF 26511
23282 26512 _ACEOF
23283 cat >>$CONFIG_STATUS <<_ACEOF 26513 cat >>$CONFIG_STATUS <<_ACEOF
23284 ac_cs_version="\\ 26514 ac_cs_version="\\
23285 config.status 26515 config.status
23286 configured by $0, generated by GNU Autoconf 2.59, 26516 configured by $0, generated by GNU Autoconf 2.60,
23287 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 26517 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
23288 26518
23289 Copyright (C) 2003 Free Software Foundation, Inc. 26519 Copyright (C) 2006 Free Software Foundation, Inc.
23290 This config.status script is free software; the Free Software Foundation 26520 This config.status script is free software; the Free Software Foundation
23291 gives unlimited permission to copy, distribute and modify it." 26521 gives unlimited permission to copy, distribute and modify it."
23292 srcdir=$srcdir 26522
23293 INSTALL="$INSTALL" 26523 ac_pwd='$ac_pwd'
26524 srcdir='$srcdir'
26525 INSTALL='$INSTALL'
23294 _ACEOF 26526 _ACEOF
23295 26527
23296 cat >>$CONFIG_STATUS <<\_ACEOF 26528 cat >>$CONFIG_STATUS <<\_ACEOF
23297 # If no file are specified by the user, then we need to provide default 26529 # If no file are specified by the user, then we need to provide default
23298 # value. By we need to know if files were specified by the user. 26530 # value. By we need to know if files were specified by the user.
23299 ac_need_defaults=: 26531 ac_need_defaults=:
23300 while test $# != 0 26532 while test $# != 0
23301 do 26533 do
23302 case $1 in 26534 case $1 in
23303 --*=*) 26535 --*=*)
23304 ac_option=`expr "x$1" : 'x\([^=]*\)='` 26536 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23305 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 26537 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23306 ac_shift=: 26538 ac_shift=:
23307 ;; 26539 ;;
23308 -*) 26540 *)
23309 ac_option=$1 26541 ac_option=$1
23310 ac_optarg=$2 26542 ac_optarg=$2
23311 ac_shift=shift 26543 ac_shift=shift
23312 ;; 26544 ;;
23313 *) # This is not an option, so the user has probably given explicit
23314 # arguments.
23315 ac_option=$1
23316 ac_need_defaults=false;;
23317 esac 26545 esac
23318 26546
23319 case $ac_option in 26547 case $ac_option in
23320 # Handling of the options. 26548 # Handling of the options.
23321 _ACEOF
23322 cat >>$CONFIG_STATUS <<\_ACEOF
23323 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 26549 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23324 ac_cs_recheck=: ;; 26550 ac_cs_recheck=: ;;
23325 --version | --vers* | -V ) 26551 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23326 echo "$ac_cs_version"; exit 0 ;; 26552 echo "$ac_cs_version"; exit ;;
23327 --he | --h) 26553 --debug | --debu | --deb | --de | --d | -d )
23328 # Conflict between --help and --header
23329 { { echo "$as_me:$LINENO: error: ambiguous option: $1
23330 Try \`$0 --help' for more information." >&5
23331 echo "$as_me: error: ambiguous option: $1
23332 Try \`$0 --help' for more information." >&2;}
23333 { (exit 1); exit 1; }; };;
23334 --help | --hel | -h )
23335 echo "$ac_cs_usage"; exit 0 ;;
23336 --debug | --d* | -d )
23337 debug=: ;; 26554 debug=: ;;
23338 --file | --fil | --fi | --f ) 26555 --file | --fil | --fi | --f )
23339 $ac_shift 26556 $ac_shift
23340 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 26557 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
23341 ac_need_defaults=false;; 26558 ac_need_defaults=false;;
23342 --header | --heade | --head | --hea ) 26559 --header | --heade | --head | --hea )
23343 $ac_shift 26560 $ac_shift
23344 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 26561 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
23345 ac_need_defaults=false;; 26562 ac_need_defaults=false;;
26563 --he | --h)
26564 # Conflict between --help and --header
26565 { echo "$as_me: error: ambiguous option: $1
26566 Try \`$0 --help' for more information." >&2
26567 { (exit 1); exit 1; }; };;
26568 --help | --hel | -h )
26569 echo "$ac_cs_usage"; exit ;;
23346 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 26570 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23347 | -silent | --silent | --silen | --sile | --sil | --si | --s) 26571 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23348 ac_cs_silent=: ;; 26572 ac_cs_silent=: ;;
23349 26573
23350 # This is an error. 26574 # This is an error.
23351 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 26575 -*) { echo "$as_me: error: unrecognized option: $1
23352 Try \`$0 --help' for more information." >&5 26576 Try \`$0 --help' for more information." >&2
23353 echo "$as_me: error: unrecognized option: $1
23354 Try \`$0 --help' for more information." >&2;}
23355 { (exit 1); exit 1; }; } ;; 26577 { (exit 1); exit 1; }; } ;;
23356 26578
23357 *) ac_config_targets="$ac_config_targets $1" ;; 26579 *) ac_config_targets="$ac_config_targets $1"
26580 ac_need_defaults=false ;;
23358 26581
23359 esac 26582 esac
23360 shift 26583 shift
23361 done 26584 done
23362 26585
23368 fi 26591 fi
23369 26592
23370 _ACEOF 26593 _ACEOF
23371 cat >>$CONFIG_STATUS <<_ACEOF 26594 cat >>$CONFIG_STATUS <<_ACEOF
23372 if \$ac_cs_recheck; then 26595 if \$ac_cs_recheck; then
23373 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 26596 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23374 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 26597 CONFIG_SHELL=$SHELL
23375 fi 26598 export CONFIG_SHELL
23376 26599 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23377 _ACEOF 26600 fi
23378 26601
26602 _ACEOF
26603 cat >>$CONFIG_STATUS <<\_ACEOF
26604 exec 5>>config.log
26605 {
26606 echo
26607 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
26608 ## Running $as_me. ##
26609 _ASBOX
26610 echo "$ac_log"
26611 } >&5
26612
26613 _ACEOF
23379 cat >>$CONFIG_STATUS <<_ACEOF 26614 cat >>$CONFIG_STATUS <<_ACEOF
23380 # 26615 #
23381 # INIT-COMMANDS section. 26616 # INIT-COMMANDS
23382 # 26617 #
23383
23384 GCC="$GCC" NON_GNU_CPP="$NON_GNU_CPP" CPP="$CPP" CPP_NEED_TRADITIONAL="$CPP_NEED_TRADITIONAL" CPPFLAGS="$CPPFLAGS" 26618 GCC="$GCC" NON_GNU_CPP="$NON_GNU_CPP" CPP="$CPP" CPP_NEED_TRADITIONAL="$CPP_NEED_TRADITIONAL" CPPFLAGS="$CPPFLAGS"
23385 26619
23386 _ACEOF 26620 _ACEOF
23387 26621
23388
23389
23390 cat >>$CONFIG_STATUS <<\_ACEOF 26622 cat >>$CONFIG_STATUS <<\_ACEOF
26623
26624 # Handling of arguments.
23391 for ac_config_target in $ac_config_targets 26625 for ac_config_target in $ac_config_targets
23392 do 26626 do
23393 case "$ac_config_target" in 26627 case $ac_config_target in
23394 # Handling of arguments. 26628 "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;;
23395 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 26629 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
23396 "lib-src/Makefile.c" ) CONFIG_FILES="$CONFIG_FILES lib-src/Makefile.c:lib-src/Makefile.in" ;; 26630 "lib-src/Makefile.c") CONFIG_FILES="$CONFIG_FILES lib-src/Makefile.c:lib-src/Makefile.in" ;;
23397 "oldXMenu/Makefile" ) CONFIG_FILES="$CONFIG_FILES oldXMenu/Makefile" ;; 26631 "oldXMenu/Makefile") CONFIG_FILES="$CONFIG_FILES oldXMenu/Makefile" ;;
23398 "man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; 26632 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
23399 "lwlib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lwlib/Makefile" ;; 26633 "lwlib/Makefile") CONFIG_FILES="$CONFIG_FILES lwlib/Makefile" ;;
23400 "src/Makefile.c" ) CONFIG_FILES="$CONFIG_FILES src/Makefile.c:src/Makefile.in" ;; 26634 "src/Makefile.c") CONFIG_FILES="$CONFIG_FILES src/Makefile.c:src/Makefile.in" ;;
23401 "lisp/Makefile" ) CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;; 26635 "lisp/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;;
23402 "lispref/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispref/Makefile" ;; 26636 "lispref/Makefile") CONFIG_FILES="$CONFIG_FILES lispref/Makefile" ;;
23403 "lispintro/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispintro/Makefile" ;; 26637 "lispintro/Makefile") CONFIG_FILES="$CONFIG_FILES lispintro/Makefile" ;;
23404 "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; 26638 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;
23405 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 26639 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
23406 "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;; 26640
23407 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 26641 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23408 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 26642 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23409 { (exit 1); exit 1; }; };; 26643 { (exit 1); exit 1; }; };;
23410 esac 26644 esac
23411 done 26645 done
26646
23412 26647
23413 # If the user did not use the arguments to specify the items to instantiate, 26648 # If the user did not use the arguments to specify the items to instantiate,
23414 # then the envvar interface is used. Set only those that are not. 26649 # then the envvar interface is used. Set only those that are not.
23415 # We use the long form for the default assignment because of an extremely 26650 # We use the long form for the default assignment because of an extremely
23416 # bizarre bug on SunOS 4.1.3. 26651 # bizarre bug on SunOS 4.1.3.
23419 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 26654 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23420 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 26655 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23421 fi 26656 fi
23422 26657
23423 # Have a temporary directory for convenience. Make it in the build tree 26658 # Have a temporary directory for convenience. Make it in the build tree
23424 # simply because there is no reason to put it here, and in addition, 26659 # simply because there is no reason against having it here, and in addition,
23425 # creating and moving files from /tmp can sometimes cause problems. 26660 # creating and moving files from /tmp can sometimes cause problems.
23426 # Create a temporary directory, and hook for its removal unless debugging. 26661 # Hook for its removal unless debugging.
26662 # Note that there is a small window in which the directory will not be cleaned:
26663 # after its creation but before its name has been assigned to `$tmp'.
23427 $debug || 26664 $debug ||
23428 { 26665 {
23429 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 26666 tmp=
26667 trap 'exit_status=$?
26668 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
26669 ' 0
23430 trap '{ (exit 1); exit 1; }' 1 2 13 15 26670 trap '{ (exit 1); exit 1; }' 1 2 13 15
23431 } 26671 }
23432
23433 # Create a (secure) tmp directory for tmp files. 26672 # Create a (secure) tmp directory for tmp files.
23434 26673
23435 { 26674 {
23436 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 26675 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23437 test -n "$tmp" && test -d "$tmp" 26676 test -n "$tmp" && test -d "$tmp"
23438 } || 26677 } ||
23439 { 26678 {
23440 tmp=./confstat$$-$RANDOM 26679 tmp=./conf$$-$RANDOM
23441 (umask 077 && mkdir $tmp) 26680 (umask 077 && mkdir "$tmp")
23442 } || 26681 } ||
23443 { 26682 {
23444 echo "$me: cannot create a temporary directory in ." >&2 26683 echo "$me: cannot create a temporary directory in ." >&2
23445 { (exit 1); exit 1; } 26684 { (exit 1); exit 1; }
23446 } 26685 }
23447 26686
23448 _ACEOF
23449
23450 cat >>$CONFIG_STATUS <<_ACEOF
23451
23452 # 26687 #
23453 # CONFIG_FILES section. 26688 # Set up the sed scripts for CONFIG_FILES section.
23454 # 26689 #
23455 26690
23456 # No need to generate the scripts if there are no CONFIG_FILES. 26691 # No need to generate the scripts if there are no CONFIG_FILES.
23457 # This happens for instance when ./config.status config.h 26692 # This happens for instance when ./config.status config.h
23458 if test -n "\$CONFIG_FILES"; then 26693 if test -n "$CONFIG_FILES"; then
23459 # Protect against being on the right side of a sed subst in config.status. 26694
23460 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 26695 _ACEOF
23461 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 26696
23462 s,@SHELL@,$SHELL,;t t 26697
23463 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 26698
23464 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 26699 ac_delim='%!_!# '
23465 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 26700 for ac_last_try in false false false false false :; do
23466 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 26701 cat >conf$$subs.sed <<_ACEOF
23467 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 26702 SHELL!$SHELL$ac_delim
23468 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 26703 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23469 s,@exec_prefix@,$exec_prefix,;t t 26704 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23470 s,@prefix@,$prefix,;t t 26705 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23471 s,@program_transform_name@,$program_transform_name,;t t 26706 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23472 s,@bindir@,$bindir,;t t 26707 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23473 s,@sbindir@,$sbindir,;t t 26708 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23474 s,@libexecdir@,$libexecdir,;t t 26709 exec_prefix!$exec_prefix$ac_delim
23475 s,@datadir@,$datadir,;t t 26710 prefix!$prefix$ac_delim
23476 s,@sysconfdir@,$sysconfdir,;t t 26711 program_transform_name!$program_transform_name$ac_delim
23477 s,@sharedstatedir@,$sharedstatedir,;t t 26712 bindir!$bindir$ac_delim
23478 s,@localstatedir@,$localstatedir,;t t 26713 sbindir!$sbindir$ac_delim
23479 s,@libdir@,$libdir,;t t 26714 libexecdir!$libexecdir$ac_delim
23480 s,@includedir@,$includedir,;t t 26715 datarootdir!$datarootdir$ac_delim
23481 s,@oldincludedir@,$oldincludedir,;t t 26716 datadir!$datadir$ac_delim
23482 s,@infodir@,$infodir,;t t 26717 sysconfdir!$sysconfdir$ac_delim
23483 s,@mandir@,$mandir,;t t 26718 sharedstatedir!$sharedstatedir$ac_delim
23484 s,@build_alias@,$build_alias,;t t 26719 localstatedir!$localstatedir$ac_delim
23485 s,@host_alias@,$host_alias,;t t 26720 includedir!$includedir$ac_delim
23486 s,@target_alias@,$target_alias,;t t 26721 oldincludedir!$oldincludedir$ac_delim
23487 s,@DEFS@,$DEFS,;t t 26722 docdir!$docdir$ac_delim
23488 s,@ECHO_C@,$ECHO_C,;t t 26723 infodir!$infodir$ac_delim
23489 s,@ECHO_N@,$ECHO_N,;t t 26724 htmldir!$htmldir$ac_delim
23490 s,@ECHO_T@,$ECHO_T,;t t 26725 dvidir!$dvidir$ac_delim
23491 s,@LIBS@,$LIBS,;t t 26726 pdfdir!$pdfdir$ac_delim
23492 s,@MAINT@,$MAINT,;t t 26727 psdir!$psdir$ac_delim
23493 s,@build@,$build,;t t 26728 libdir!$libdir$ac_delim
23494 s,@build_cpu@,$build_cpu,;t t 26729 localedir!$localedir$ac_delim
23495 s,@build_vendor@,$build_vendor,;t t 26730 mandir!$mandir$ac_delim
23496 s,@build_os@,$build_os,;t t 26731 DEFS!$DEFS$ac_delim
23497 s,@host@,$host,;t t 26732 ECHO_C!$ECHO_C$ac_delim
23498 s,@host_cpu@,$host_cpu,;t t 26733 ECHO_N!$ECHO_N$ac_delim
23499 s,@host_vendor@,$host_vendor,;t t 26734 ECHO_T!$ECHO_T$ac_delim
23500 s,@host_os@,$host_os,;t t 26735 LIBS!$LIBS$ac_delim
23501 s,@CC@,$CC,;t t 26736 build_alias!$build_alias$ac_delim
23502 s,@CFLAGS@,$CFLAGS,;t t 26737 host_alias!$host_alias$ac_delim
23503 s,@LDFLAGS@,$LDFLAGS,;t t 26738 target_alias!$target_alias$ac_delim
23504 s,@CPPFLAGS@,$CPPFLAGS,;t t 26739 MAINT!$MAINT$ac_delim
23505 s,@ac_ct_CC@,$ac_ct_CC,;t t 26740 build!$build$ac_delim
23506 s,@EXEEXT@,$EXEEXT,;t t 26741 build_cpu!$build_cpu$ac_delim
23507 s,@OBJEXT@,$OBJEXT,;t t 26742 build_vendor!$build_vendor$ac_delim
23508 s,@CPP@,$CPP,;t t 26743 build_os!$build_os$ac_delim
23509 s,@EGREP@,$EGREP,;t t 26744 host!$host$ac_delim
23510 s,@LN_S@,$LN_S,;t t 26745 host_cpu!$host_cpu$ac_delim
23511 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 26746 host_vendor!$host_vendor$ac_delim
23512 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 26747 host_os!$host_os$ac_delim
23513 s,@INSTALL_DATA@,$INSTALL_DATA,;t t 26748 CC!$CC$ac_delim
23514 s,@RANLIB@,$RANLIB,;t t 26749 CFLAGS!$CFLAGS$ac_delim
23515 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 26750 LDFLAGS!$LDFLAGS$ac_delim
23516 s,@INSTALL_INFO@,$INSTALL_INFO,;t t 26751 CPPFLAGS!$CPPFLAGS$ac_delim
23517 s,@GZIP_PROG@,$GZIP_PROG,;t t 26752 ac_ct_CC!$ac_ct_CC$ac_delim
23518 s,@LIBSOUND@,$LIBSOUND,;t t 26753 EXEEXT!$EXEEXT$ac_delim
23519 s,@PKG_CONFIG@,$PKG_CONFIG,;t t 26754 OBJEXT!$OBJEXT$ac_delim
23520 s,@ALSA_CFLAGS@,$ALSA_CFLAGS,;t t 26755 CPP!$CPP$ac_delim
23521 s,@ALSA_LIBS@,$ALSA_LIBS,;t t 26756 GREP!$GREP$ac_delim
23522 s,@CFLAGS_SOUND@,$CFLAGS_SOUND,;t t 26757 EGREP!$EGREP$ac_delim
23523 s,@SET_MAKE@,$SET_MAKE,;t t 26758 LN_S!$LN_S$ac_delim
23524 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t 26759 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23525 s,@GTK_LIBS@,$GTK_LIBS,;t t 26760 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23526 s,@ALLOCA@,$ALLOCA,;t t 26761 INSTALL_DATA!$INSTALL_DATA$ac_delim
23527 s,@liblockfile@,$liblockfile,;t t 26762 RANLIB!$RANLIB$ac_delim
23528 s,@LIBOBJS@,$LIBOBJS,;t t 26763 INSTALL_INFO!$INSTALL_INFO$ac_delim
23529 s,@NEED_SETGID@,$NEED_SETGID,;t t 26764 GZIP_PROG!$GZIP_PROG$ac_delim
23530 s,@KMEM_GROUP@,$KMEM_GROUP,;t t 26765 LIBSOUND!$LIBSOUND$ac_delim
23531 s,@GETLOADAVG_LIBS@,$GETLOADAVG_LIBS,;t t 26766 PKG_CONFIG!$PKG_CONFIG$ac_delim
23532 s,@GETOPT_H@,$GETOPT_H,;t t 26767 ALSA_CFLAGS!$ALSA_CFLAGS$ac_delim
23533 s,@GETOPTOBJS@,$GETOPTOBJS,;t t 26768 ALSA_LIBS!$ALSA_LIBS$ac_delim
23534 s,@version@,$version,;t t 26769 CFLAGS_SOUND!$CFLAGS_SOUND$ac_delim
23535 s,@configuration@,$configuration,;t t 26770 SET_MAKE!$SET_MAKE$ac_delim
23536 s,@canonical@,$canonical,;t t 26771 XMKMF!$XMKMF$ac_delim
23537 s,@srcdir@,$srcdir,;t t 26772 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
23538 s,@lispdir@,$lispdir,;t t 26773 GTK_LIBS!$GTK_LIBS$ac_delim
23539 s,@locallisppath@,$locallisppath,;t t 26774 ALLOCA!$ALLOCA$ac_delim
23540 s,@lisppath@,$lisppath,;t t 26775 liblockfile!$liblockfile$ac_delim
23541 s,@x_default_search_path@,$x_default_search_path,;t t 26776 LIBOBJS!$LIBOBJS$ac_delim
23542 s,@etcdir@,$etcdir,;t t 26777 NEED_SETGID!$NEED_SETGID$ac_delim
23543 s,@archlibdir@,$archlibdir,;t t 26778 KMEM_GROUP!$KMEM_GROUP$ac_delim
23544 s,@docdir@,$docdir,;t t 26779 GETLOADAVG_LIBS!$GETLOADAVG_LIBS$ac_delim
23545 s,@bitmapdir@,$bitmapdir,;t t 26780 GETOPT_H!$GETOPT_H$ac_delim
23546 s,@gamedir@,$gamedir,;t t 26781 GETOPTOBJS!$GETOPTOBJS$ac_delim
23547 s,@gameuser@,$gameuser,;t t 26782 version!$version$ac_delim
23548 s,@c_switch_system@,$c_switch_system,;t t 26783 configuration!$configuration$ac_delim
23549 s,@c_switch_machine@,$c_switch_machine,;t t 26784 canonical!$canonical$ac_delim
23550 s,@LD_SWITCH_X_SITE@,$LD_SWITCH_X_SITE,;t t 26785 srcdir!$srcdir$ac_delim
23551 s,@LD_SWITCH_X_SITE_AUX@,$LD_SWITCH_X_SITE_AUX,;t t 26786 lispdir!$lispdir$ac_delim
23552 s,@C_SWITCH_X_SITE@,$C_SWITCH_X_SITE,;t t 26787 locallisppath!$locallisppath$ac_delim
23553 s,@X_TOOLKIT_TYPE@,$X_TOOLKIT_TYPE,;t t 26788 lisppath!$lisppath$ac_delim
23554 s,@machfile@,$machfile,;t t 26789 x_default_search_path!$x_default_search_path$ac_delim
23555 s,@opsysfile@,$opsysfile,;t t 26790 etcdir!$etcdir$ac_delim
23556 s,@carbon_appdir@,$carbon_appdir,;t t 26791 archlibdir!$archlibdir$ac_delim
23557 s,@LTLIBOBJS@,$LTLIBOBJS,;t t 26792 bitmapdir!$bitmapdir$ac_delim
23558 CEOF 26793 gamedir!$gamedir$ac_delim
23559 26794 gameuser!$gameuser$ac_delim
23560 _ACEOF 26795 c_switch_system!$c_switch_system$ac_delim
23561 26796 c_switch_machine!$c_switch_machine$ac_delim
23562 cat >>$CONFIG_STATUS <<\_ACEOF 26797 LD_SWITCH_X_SITE!$LD_SWITCH_X_SITE$ac_delim
23563 # Split the substitutions into bite-sized pieces for seds with 26798 LD_SWITCH_X_SITE_AUX!$LD_SWITCH_X_SITE_AUX$ac_delim
23564 # small command number limits, like on Digital OSF/1 and HP-UX. 26799 _ACEOF
23565 ac_max_sed_lines=48 26800
23566 ac_sed_frag=1 # Number of current file. 26801 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
23567 ac_beg=1 # First line for current file. 26802 break
23568 ac_end=$ac_max_sed_lines # Line after last line for current file. 26803 elif $ac_last_try; then
23569 ac_more_lines=: 26804 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23570 ac_sed_cmds= 26805 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23571 while $ac_more_lines; do 26806 { (exit 1); exit 1; }; }
23572 if test $ac_beg -gt 1; then 26807 else
23573 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 26808 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23574 else 26809 fi
23575 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 26810 done
26811
26812 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
26813 if test -n "$ac_eof"; then
26814 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
26815 ac_eof=`expr $ac_eof + 1`
26816 fi
26817
26818 cat >>$CONFIG_STATUS <<_ACEOF
26819 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
26820 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26821 _ACEOF
26822 sed '
26823 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
26824 s/^/s,@/; s/!/@,|#_!!_#|/
26825 :n
26826 t n
26827 s/'"$ac_delim"'$/,g/; t
26828 s/$/\\/; p
26829 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
26830 ' >>$CONFIG_STATUS <conf$$subs.sed
26831 rm -f conf$$subs.sed
26832 cat >>$CONFIG_STATUS <<_ACEOF
26833 CEOF$ac_eof
26834 _ACEOF
26835
26836
26837 ac_delim='%!_!# '
26838 for ac_last_try in false false false false false :; do
26839 cat >conf$$subs.sed <<_ACEOF
26840 C_SWITCH_X_SITE!$C_SWITCH_X_SITE$ac_delim
26841 X_TOOLKIT_TYPE!$X_TOOLKIT_TYPE$ac_delim
26842 machfile!$machfile$ac_delim
26843 opsysfile!$opsysfile$ac_delim
26844 carbon_appdir!$carbon_appdir$ac_delim
26845 LTLIBOBJS!$LTLIBOBJS$ac_delim
26846 _ACEOF
26847
26848 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 6; then
26849 break
26850 elif $ac_last_try; then
26851 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26852 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26853 { (exit 1); exit 1; }; }
26854 else
26855 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26856 fi
26857 done
26858
26859 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
26860 if test -n "$ac_eof"; then
26861 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
26862 ac_eof=`expr $ac_eof + 1`
26863 fi
26864
26865 cat >>$CONFIG_STATUS <<_ACEOF
26866 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
26867 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
26868 _ACEOF
26869 sed '
26870 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
26871 s/^/s,@/; s/!/@,|#_!!_#|/
26872 :n
26873 t n
26874 s/'"$ac_delim"'$/,g/; t
26875 s/$/\\/; p
26876 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
26877 ' >>$CONFIG_STATUS <conf$$subs.sed
26878 rm -f conf$$subs.sed
26879 cat >>$CONFIG_STATUS <<_ACEOF
26880 :end
26881 s/|#_!!_#|//g
26882 CEOF$ac_eof
26883 _ACEOF
26884
26885
26886 # VPATH may cause trouble with some makes, so we remove $(srcdir),
26887 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
26888 # trailing colons and then remove the whole line if VPATH becomes empty
26889 # (actually we leave an empty line to preserve line numbers).
26890 if test "x$srcdir" = x.; then
26891 ac_vpsub='/^[ ]*VPATH[ ]*=/{
26892 s/:*\$(srcdir):*/:/
26893 s/:*\${srcdir}:*/:/
26894 s/:*@srcdir@:*/:/
26895 s/^\([^=]*=[ ]*\):*/\1/
26896 s/:*$//
26897 s/^[^=]*=[ ]*$//
26898 }'
26899 fi
26900
26901 cat >>$CONFIG_STATUS <<\_ACEOF
26902 fi # test -n "$CONFIG_FILES"
26903
26904
26905 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
26906 do
26907 case $ac_tag in
26908 :[FHLC]) ac_mode=$ac_tag; continue;;
26909 esac
26910 case $ac_mode$ac_tag in
26911 :[FHL]*:*);;
26912 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
26913 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
26914 { (exit 1); exit 1; }; };;
26915 :[FH]-) ac_tag=-:-;;
26916 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
26917 esac
26918 ac_save_IFS=$IFS
26919 IFS=:
26920 set x $ac_tag
26921 IFS=$ac_save_IFS
26922 shift
26923 ac_file=$1
26924 shift
26925
26926 case $ac_mode in
26927 :L) ac_source=$1;;
26928 :[FH])
26929 ac_file_inputs=
26930 for ac_f
26931 do
26932 case $ac_f in
26933 -) ac_f="$tmp/stdin";;
26934 *) # Look for the file first in the build tree, then in the source tree
26935 # (if the path is not absolute). The absolute path cannot be DOS-style,
26936 # because $ac_f cannot contain `:'.
26937 test -f "$ac_f" ||
26938 case $ac_f in
26939 [\\/$]*) false;;
26940 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
26941 esac ||
26942 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
26943 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
26944 { (exit 1); exit 1; }; };;
26945 esac
26946 ac_file_inputs="$ac_file_inputs $ac_f"
26947 done
26948
26949 # Let's still pretend it is `configure' which instantiates (i.e., don't
26950 # use $as_me), people would be surprised to read:
26951 # /* config.h. Generated by config.status. */
26952 configure_input="Generated from "`IFS=:
26953 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
26954 if test x"$ac_file" != x-; then
26955 configure_input="$ac_file. $configure_input"
26956 { echo "$as_me:$LINENO: creating $ac_file" >&5
26957 echo "$as_me: creating $ac_file" >&6;}
23576 fi 26958 fi
23577 if test ! -s $tmp/subs.frag; then 26959
23578 ac_more_lines=false 26960 case $ac_tag in
23579 else 26961 *:-:* | *:-) cat >"$tmp/stdin";;
23580 # The purpose of the label and of the branching condition is to 26962 esac
23581 # speed up the sed processing (if there are no `@' at all, there 26963 ;;
23582 # is no need to browse any of the substitutions).
23583 # These are the two extra sed commands mentioned above.
23584 (echo ':t
23585 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
23586 if test -z "$ac_sed_cmds"; then
23587 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
23588 else
23589 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
23590 fi
23591 ac_sed_frag=`expr $ac_sed_frag + 1`
23592 ac_beg=$ac_end
23593 ac_end=`expr $ac_end + $ac_max_sed_lines`
23594 fi
23595 done
23596 if test -z "$ac_sed_cmds"; then
23597 ac_sed_cmds=cat
23598 fi
23599 fi # test -n "$CONFIG_FILES"
23600
23601 _ACEOF
23602 cat >>$CONFIG_STATUS <<\_ACEOF
23603 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
23604 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23605 case $ac_file in
23606 - | *:- | *:-:* ) # input from stdin
23607 cat >$tmp/stdin
23608 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23609 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23610 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23611 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23612 * ) ac_file_in=$ac_file.in ;;
23613 esac 26964 esac
23614 26965
23615 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 26966 ac_dir=`$as_dirname -- "$ac_file" ||
23616 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
23617 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 26967 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23618 X"$ac_file" : 'X\(//\)[^/]' \| \ 26968 X"$ac_file" : 'X\(//\)[^/]' \| \
23619 X"$ac_file" : 'X\(//\)$' \| \ 26969 X"$ac_file" : 'X\(//\)$' \| \
23620 X"$ac_file" : 'X\(/\)' \| \ 26970 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23621 . : '\(.\)' 2>/dev/null ||
23622 echo X"$ac_file" | 26971 echo X"$ac_file" |
23623 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 26972 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23624 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 26973 s//\1/
23625 /^X\(\/\/\)$/{ s//\1/; q; } 26974 q
23626 /^X\(\/\).*/{ s//\1/; q; } 26975 }
23627 s/.*/./; q'` 26976 /^X\(\/\/\)[^/].*/{
23628 { if $as_mkdir_p; then 26977 s//\1/
23629 mkdir -p "$ac_dir" 26978 q
23630 else 26979 }
23631 as_dir="$ac_dir" 26980 /^X\(\/\/\)$/{
26981 s//\1/
26982 q
26983 }
26984 /^X\(\/\).*/{
26985 s//\1/
26986 q
26987 }
26988 s/.*/./; q'`
26989 { as_dir="$ac_dir"
26990 case $as_dir in #(
26991 -*) as_dir=./$as_dir;;
26992 esac
26993 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23632 as_dirs= 26994 as_dirs=
23633 while test ! -d "$as_dir"; do 26995 while :; do
23634 as_dirs="$as_dir $as_dirs" 26996 case $as_dir in #(
23635 as_dir=`(dirname "$as_dir") 2>/dev/null || 26997 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
26998 *) as_qdir=$as_dir;;
26999 esac
27000 as_dirs="'$as_qdir' $as_dirs"
27001 as_dir=`$as_dirname -- "$as_dir" ||
23636 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 27002 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23637 X"$as_dir" : 'X\(//\)[^/]' \| \ 27003 X"$as_dir" : 'X\(//\)[^/]' \| \
23638 X"$as_dir" : 'X\(//\)$' \| \ 27004 X"$as_dir" : 'X\(//\)$' \| \
23639 X"$as_dir" : 'X\(/\)' \| \ 27005 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23640 . : '\(.\)' 2>/dev/null ||
23641 echo X"$as_dir" | 27006 echo X"$as_dir" |
23642 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 27007 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23643 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 27008 s//\1/
23644 /^X\(\/\/\)$/{ s//\1/; q; } 27009 q
23645 /^X\(\/\).*/{ s//\1/; q; } 27010 }
23646 s/.*/./; q'` 27011 /^X\(\/\/\)[^/].*/{
27012 s//\1/
27013 q
27014 }
27015 /^X\(\/\/\)$/{
27016 s//\1/
27017 q
27018 }
27019 /^X\(\/\).*/{
27020 s//\1/
27021 q
27022 }
27023 s/.*/./; q'`
27024 test -d "$as_dir" && break
23647 done 27025 done
23648 test ! -n "$as_dirs" || mkdir $as_dirs 27026 test -z "$as_dirs" || eval "mkdir $as_dirs"
23649 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 27027 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23650 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 27028 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23651 { (exit 1); exit 1; }; }; } 27029 { (exit 1); exit 1; }; }; }
23652
23653 ac_builddir=. 27030 ac_builddir=.
23654 27031
23655 if test "$ac_dir" != .; then 27032 case "$ac_dir" in
27033 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
27034 *)
23656 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 27035 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23657 # A "../" for each directory in $ac_dir_suffix. 27036 # A ".." for each directory in $ac_dir_suffix.
23658 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 27037 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23659 else 27038 case $ac_top_builddir_sub in
23660 ac_dir_suffix= ac_top_builddir= 27039 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23661 fi 27040 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
27041 esac ;;
27042 esac
27043 ac_abs_top_builddir=$ac_pwd
27044 ac_abs_builddir=$ac_pwd$ac_dir_suffix
27045 # for backward compatibility:
27046 ac_top_builddir=$ac_top_build_prefix
23662 27047
23663 case $srcdir in 27048 case $srcdir in
23664 .) # No --srcdir option. We are building in place. 27049 .) # We are building in place.
23665 ac_srcdir=. 27050 ac_srcdir=.
23666 if test -z "$ac_top_builddir"; then 27051 ac_top_srcdir=$ac_top_builddir_sub
23667 ac_top_srcdir=. 27052 ac_abs_top_srcdir=$ac_pwd ;;
23668 else 27053 [\\/]* | ?:[\\/]* ) # Absolute name.
23669 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
23670 fi ;;
23671 [\\/]* | ?:[\\/]* ) # Absolute path.
23672 ac_srcdir=$srcdir$ac_dir_suffix; 27054 ac_srcdir=$srcdir$ac_dir_suffix;
23673 ac_top_srcdir=$srcdir ;; 27055 ac_top_srcdir=$srcdir
23674 *) # Relative path. 27056 ac_abs_top_srcdir=$srcdir ;;
23675 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 27057 *) # Relative name.
23676 ac_top_srcdir=$ac_top_builddir$srcdir ;; 27058 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23677 esac 27059 ac_top_srcdir=$ac_top_build_prefix$srcdir
23678 27060 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23679 # Do not use `cd foo && pwd` to compute absolute paths, because 27061 esac
23680 # the directories may not exist. 27062 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23681 case `pwd` in 27063
23682 .) ac_abs_builddir="$ac_dir";; 27064
23683 *) 27065 case $ac_mode in
23684 case "$ac_dir" in 27066 :F)
23685 .) ac_abs_builddir=`pwd`;; 27067 #
23686 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 27068 # CONFIG_FILE
23687 *) ac_abs_builddir=`pwd`/"$ac_dir";; 27069 #
23688 esac;;
23689 esac
23690 case $ac_abs_builddir in
23691 .) ac_abs_top_builddir=${ac_top_builddir}.;;
23692 *)
23693 case ${ac_top_builddir}. in
23694 .) ac_abs_top_builddir=$ac_abs_builddir;;
23695 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
23696 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
23697 esac;;
23698 esac
23699 case $ac_abs_builddir in
23700 .) ac_abs_srcdir=$ac_srcdir;;
23701 *)
23702 case $ac_srcdir in
23703 .) ac_abs_srcdir=$ac_abs_builddir;;
23704 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
23705 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
23706 esac;;
23707 esac
23708 case $ac_abs_builddir in
23709 .) ac_abs_top_srcdir=$ac_top_srcdir;;
23710 *)
23711 case $ac_top_srcdir in
23712 .) ac_abs_top_srcdir=$ac_abs_builddir;;
23713 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
23714 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
23715 esac;;
23716 esac
23717
23718 27070
23719 case $INSTALL in 27071 case $INSTALL in
23720 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 27072 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23721 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 27073 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
23722 esac 27074 esac
23723 27075 _ACEOF
23724 # Let's still pretend it is `configure' which instantiates (i.e., don't 27076
23725 # use $as_me), people would be surprised to read: 27077 cat >>$CONFIG_STATUS <<\_ACEOF
23726 # /* config.h. Generated by config.status. */ 27078 # If the template does not know about datarootdir, expand it.
23727 if test x"$ac_file" = x-; then 27079 # FIXME: This hack should be removed a few years after 2.60.
23728 configure_input= 27080 ac_datarootdir_hack=; ac_datarootdir_seen=
23729 else 27081
23730 configure_input="$ac_file. " 27082 case `sed -n '/datarootdir/ {
23731 fi 27083 p
23732 configure_input=$configure_input"Generated from `echo $ac_file_in | 27084 q
23733 sed 's,.*/,,'` by configure." 27085 }
23734 27086 /@datadir@/p
23735 # First look for the input files in the build tree, otherwise in the 27087 /@docdir@/p
23736 # src tree. 27088 /@infodir@/p
23737 ac_file_inputs=`IFS=: 27089 /@localedir@/p
23738 for f in $ac_file_in; do 27090 /@mandir@/p
23739 case $f in 27091 ' $ac_file_inputs` in
23740 -) echo $tmp/stdin ;; 27092 *datarootdir*) ac_datarootdir_seen=yes;;
23741 [\\/$]*) 27093 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23742 # Absolute (can't be DOS-style, as IFS=:) 27094 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23743 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 27095 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23744 echo "$as_me: error: cannot find input file: $f" >&2;} 27096 _ACEOF
23745 { (exit 1); exit 1; }; } 27097 cat >>$CONFIG_STATUS <<_ACEOF
23746 echo "$f";; 27098 ac_datarootdir_hack='
23747 *) # Relative 27099 s&@datadir@&$datadir&g
23748 if test -f "$f"; then 27100 s&@docdir@&$docdir&g
23749 # Build tree 27101 s&@infodir@&$infodir&g
23750 echo "$f" 27102 s&@localedir@&$localedir&g
23751 elif test -f "$srcdir/$f"; then 27103 s&@mandir@&$mandir&g
23752 # Source tree 27104 s&\\\${datarootdir}&$datarootdir&g' ;;
23753 echo "$srcdir/$f" 27105 esac
23754 else 27106 _ACEOF
23755 # /dev/null tree 27107
23756 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 27108 # Neutralize VPATH when `$srcdir' = `.'.
23757 echo "$as_me: error: cannot find input file: $f" >&2;} 27109 # Shell code in configure.ac might set extrasub.
23758 { (exit 1); exit 1; }; } 27110 # FIXME: do we really want to maintain this feature?
23759 fi;;
23760 esac
23761 done` || { (exit 1); exit 1; }
23762
23763 if test x"$ac_file" != x-; then
23764 { echo "$as_me:$LINENO: creating $ac_file" >&5
23765 echo "$as_me: creating $ac_file" >&6;}
23766 rm -f "$ac_file"
23767 fi
23768 _ACEOF
23769 cat >>$CONFIG_STATUS <<_ACEOF 27111 cat >>$CONFIG_STATUS <<_ACEOF
23770 sed "$ac_vpsub 27112 sed "$ac_vpsub
23771 $extrasub 27113 $extrasub
23772 _ACEOF 27114 _ACEOF
23773 cat >>$CONFIG_STATUS <<\_ACEOF 27115 cat >>$CONFIG_STATUS <<\_ACEOF
23774 :t 27116 :t
23775 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 27117 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23776 s,@configure_input@,$configure_input,;t t 27118 s&@configure_input@&$configure_input&;t t
23777 s,@srcdir@,$ac_srcdir,;t t 27119 s&@top_builddir@&$ac_top_builddir_sub&;t t
23778 s,@abs_srcdir@,$ac_abs_srcdir,;t t 27120 s&@srcdir@&$ac_srcdir&;t t
23779 s,@top_srcdir@,$ac_top_srcdir,;t t 27121 s&@abs_srcdir@&$ac_abs_srcdir&;t t
23780 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 27122 s&@top_srcdir@&$ac_top_srcdir&;t t
23781 s,@builddir@,$ac_builddir,;t t 27123 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
23782 s,@abs_builddir@,$ac_abs_builddir,;t t 27124 s&@builddir@&$ac_builddir&;t t
23783 s,@top_builddir@,$ac_top_builddir,;t t 27125 s&@abs_builddir@&$ac_abs_builddir&;t t
23784 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 27126 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
23785 s,@INSTALL@,$ac_INSTALL,;t t 27127 s&@INSTALL@&$ac_INSTALL&;t t
23786 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 27128 $ac_datarootdir_hack
23787 rm -f $tmp/stdin 27129 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
23788 if test x"$ac_file" != x-; then 27130
23789 mv $tmp/out $ac_file 27131 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23790 else 27132 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
23791 cat $tmp/out 27133 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
23792 rm -f $tmp/out 27134 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23793 fi 27135 which seems to be undefined. Please make sure it is defined." >&5
23794 27136 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23795 done 27137 which seems to be undefined. Please make sure it is defined." >&2;}
23796 _ACEOF 27138
23797 cat >>$CONFIG_STATUS <<\_ACEOF 27139 rm -f "$tmp/stdin"
23798 27140 case $ac_file in
23799 # 27141 -) cat "$tmp/out"; rm -f "$tmp/out";;
23800 # CONFIG_HEADER section. 27142 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23801 # 27143 esac
23802 27144 ;;
23803 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 27145 :H)
23804 # NAME is the cpp macro being defined and VALUE is the value it is being given. 27146 #
23805 # 27147 # CONFIG_HEADER
23806 # ac_d sets the value in "#define NAME VALUE" lines. 27148 #
23807 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 27149 _ACEOF
23808 ac_dB='[ ].*$,\1#\2' 27150
27151 # Transform confdefs.h into a sed script `conftest.defines', that
27152 # substitutes the proper values into config.h.in to produce config.h.
27153 rm -f conftest.defines conftest.tail
27154 # First, append a space to every undef/define line, to ease matching.
27155 echo 's/$/ /' >conftest.defines
27156 # Then, protect against being on the right side of a sed subst, or in
27157 # an unquoted here document, in config.status. If some macros were
27158 # called several times there might be several #defines for the same
27159 # symbol, which is useless. But do not sort them, since the last
27160 # AC_DEFINE must be honored.
27161 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
27162 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
27163 # NAME is the cpp macro being defined, VALUE is the value it is being given.
27164 # PARAMS is the parameter list in the macro definition--in most cases, it's
27165 # just an empty string.
27166 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
27167 ac_dB='\\)[ (].*,\\1define\\2'
23809 ac_dC=' ' 27168 ac_dC=' '
23810 ac_dD=',;t' 27169 ac_dD=' ,'
23811 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 27170
23812 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 27171 uniq confdefs.h |
23813 ac_uB='$,\1#\2define\3' 27172 sed -n '
23814 ac_uC=' ' 27173 t rset
23815 ac_uD=',;t' 27174 :rset
23816 27175 s/^[ ]*#[ ]*define[ ][ ]*//
23817 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 27176 t ok
23818 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 27177 d
23819 case $ac_file in 27178 :ok
23820 - | *:- | *:-:* ) # input from stdin 27179 s/[\\&,]/\\&/g
23821 cat >$tmp/stdin 27180 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23822 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 27181 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23823 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 27182 ' >>conftest.defines
23824 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 27183
23825 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 27184 # Remove the space that was appended to ease matching.
23826 * ) ac_file_in=$ac_file.in ;; 27185 # Then replace #undef with comments. This is necessary, for
23827 esac
23828
23829 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
23830 echo "$as_me: creating $ac_file" >&6;}
23831
23832 # First look for the input files in the build tree, otherwise in the
23833 # src tree.
23834 ac_file_inputs=`IFS=:
23835 for f in $ac_file_in; do
23836 case $f in
23837 -) echo $tmp/stdin ;;
23838 [\\/$]*)
23839 # Absolute (can't be DOS-style, as IFS=:)
23840 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23841 echo "$as_me: error: cannot find input file: $f" >&2;}
23842 { (exit 1); exit 1; }; }
23843 # Do quote $f, to prevent DOS paths from being IFS'd.
23844 echo "$f";;
23845 *) # Relative
23846 if test -f "$f"; then
23847 # Build tree
23848 echo "$f"
23849 elif test -f "$srcdir/$f"; then
23850 # Source tree
23851 echo "$srcdir/$f"
23852 else
23853 # /dev/null tree
23854 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23855 echo "$as_me: error: cannot find input file: $f" >&2;}
23856 { (exit 1); exit 1; }; }
23857 fi;;
23858 esac
23859 done` || { (exit 1); exit 1; }
23860 # Remove the trailing spaces.
23861 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
23862
23863 _ACEOF
23864
23865 # Transform confdefs.h into two sed scripts, `conftest.defines' and
23866 # `conftest.undefs', that substitutes the proper values into
23867 # config.h.in to produce config.h. The first handles `#define'
23868 # templates, and the second `#undef' templates.
23869 # And first: Protect against being on the right side of a sed subst in
23870 # config.status. Protect against being in an unquoted here document
23871 # in config.status.
23872 rm -f conftest.defines conftest.undefs
23873 # Using a here document instead of a string reduces the quoting nightmare.
23874 # Putting comments in sed scripts is not portable.
23875 #
23876 # `end' is used to avoid that the second main sed command (meant for
23877 # 0-ary CPP macros) applies to n-ary macro definitions.
23878 # See the Autoconf documentation for `clear'.
23879 cat >confdef2sed.sed <<\_ACEOF
23880 s/[\\&,]/\\&/g
23881 s,[\\$`],\\&,g
23882 t clear
23883 : clear
23884 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
23885 t end
23886 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
23887 : end
23888 _ACEOF
23889 # If some macros were called several times there might be several times
23890 # the same #defines, which is useless. Nevertheless, we may not want to
23891 # sort them, since we want the *last* AC-DEFINE to be honored.
23892 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
23893 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
23894 rm -f confdef2sed.sed
23895
23896 # This sed command replaces #undef with comments. This is necessary, for
23897 # example, in the case of _POSIX_SOURCE, which is predefined and required 27186 # example, in the case of _POSIX_SOURCE, which is predefined and required
23898 # on some systems where configure will not decide to define it. 27187 # on some systems where configure will not decide to define it.
23899 cat >>conftest.undefs <<\_ACEOF 27188 # (The regexp can be short, since the line contains either #define or #undef.)
23900 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 27189 echo 's/ $//
23901 _ACEOF 27190 s,^[ #]*u.*,/* & */,' >>conftest.defines
23902 27191
23903 # Break up conftest.defines because some shells have a limit on the size 27192 # Break up conftest.defines:
23904 # of here documents, and old seds have small limits too (100 cmds). 27193 ac_max_sed_lines=50
23905 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 27194
23906 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 27195 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23907 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 27196 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23908 echo ' :' >>$CONFIG_STATUS 27197 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23909 rm -f conftest.tail 27198 # et cetera.
23910 while grep . conftest.defines >/dev/null 27199 ac_in='$ac_file_inputs'
27200 ac_out='"$tmp/out1"'
27201 ac_nxt='"$tmp/out2"'
27202
27203 while :
23911 do 27204 do
23912 # Write a limited-size here document to $tmp/defines.sed. 27205 # Write a here document:
23913 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 27206 cat >>$CONFIG_STATUS <<_ACEOF
23914 # Speed up: don't consider the non `#define' lines. 27207 # First, check the format of the line:
23915 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 27208 cat >"\$tmp/defines.sed" <<\\CEOF
23916 # Work around the forget-to-reset-the-flag bug. 27209 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
23917 echo 't clr' >>$CONFIG_STATUS 27210 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
23918 echo ': clr' >>$CONFIG_STATUS 27211 b
23919 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 27212 :def
27213 _ACEOF
27214 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
23920 echo 'CEOF 27215 echo 'CEOF
23921 sed -f $tmp/defines.sed $tmp/in >$tmp/out 27216 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
23922 rm -f $tmp/in 27217 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
23923 mv $tmp/out $tmp/in 27218 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
23924 ' >>$CONFIG_STATUS 27219 grep . conftest.tail >/dev/null || break
23925 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
23926 rm -f conftest.defines 27220 rm -f conftest.defines
23927 mv conftest.tail conftest.defines 27221 mv conftest.tail conftest.defines
23928 done 27222 done
23929 rm -f conftest.defines 27223 rm -f conftest.defines conftest.tail
23930 echo ' fi # grep' >>$CONFIG_STATUS 27224
23931 echo >>$CONFIG_STATUS 27225 echo "ac_result=$ac_in" >>$CONFIG_STATUS
23932
23933 # Break up conftest.undefs because some shells have a limit on the size
23934 # of here documents, and old seds have small limits too (100 cmds).
23935 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
23936 rm -f conftest.tail
23937 while grep . conftest.undefs >/dev/null
23938 do
23939 # Write a limited-size here document to $tmp/undefs.sed.
23940 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
23941 # Speed up: don't consider the non `#undef'
23942 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
23943 # Work around the forget-to-reset-the-flag bug.
23944 echo 't clr' >>$CONFIG_STATUS
23945 echo ': clr' >>$CONFIG_STATUS
23946 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
23947 echo 'CEOF
23948 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
23949 rm -f $tmp/in
23950 mv $tmp/out $tmp/in
23951 ' >>$CONFIG_STATUS
23952 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
23953 rm -f conftest.undefs
23954 mv conftest.tail conftest.undefs
23955 done
23956 rm -f conftest.undefs
23957
23958 cat >>$CONFIG_STATUS <<\_ACEOF 27226 cat >>$CONFIG_STATUS <<\_ACEOF
23959 # Let's still pretend it is `configure' which instantiates (i.e., don't
23960 # use $as_me), people would be surprised to read:
23961 # /* config.h. Generated by config.status. */
23962 if test x"$ac_file" = x-; then
23963 echo "/* Generated by configure. */" >$tmp/config.h
23964 else
23965 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
23966 fi
23967 cat $tmp/in >>$tmp/config.h
23968 rm -f $tmp/in
23969 if test x"$ac_file" != x-; then 27227 if test x"$ac_file" != x-; then
23970 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 27228 echo "/* $configure_input */" >"$tmp/config.h"
27229 cat "$ac_result" >>"$tmp/config.h"
27230 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
23971 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 27231 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23972 echo "$as_me: $ac_file is unchanged" >&6;} 27232 echo "$as_me: $ac_file is unchanged" >&6;}
23973 else 27233 else
23974 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
23975 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23976 X"$ac_file" : 'X\(//\)[^/]' \| \
23977 X"$ac_file" : 'X\(//\)$' \| \
23978 X"$ac_file" : 'X\(/\)' \| \
23979 . : '\(.\)' 2>/dev/null ||
23980 echo X"$ac_file" |
23981 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23982 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23983 /^X\(\/\/\)$/{ s//\1/; q; }
23984 /^X\(\/\).*/{ s//\1/; q; }
23985 s/.*/./; q'`
23986 { if $as_mkdir_p; then
23987 mkdir -p "$ac_dir"
23988 else
23989 as_dir="$ac_dir"
23990 as_dirs=
23991 while test ! -d "$as_dir"; do
23992 as_dirs="$as_dir $as_dirs"
23993 as_dir=`(dirname "$as_dir") 2>/dev/null ||
23994 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23995 X"$as_dir" : 'X\(//\)[^/]' \| \
23996 X"$as_dir" : 'X\(//\)$' \| \
23997 X"$as_dir" : 'X\(/\)' \| \
23998 . : '\(.\)' 2>/dev/null ||
23999 echo X"$as_dir" |
24000 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24001 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24002 /^X\(\/\/\)$/{ s//\1/; q; }
24003 /^X\(\/\).*/{ s//\1/; q; }
24004 s/.*/./; q'`
24005 done
24006 test ! -n "$as_dirs" || mkdir $as_dirs
24007 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24008 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24009 { (exit 1); exit 1; }; }; }
24010
24011 rm -f $ac_file 27234 rm -f $ac_file
24012 mv $tmp/config.h $ac_file 27235 mv "$tmp/config.h" $ac_file
24013 fi 27236 fi
24014 else 27237 else
24015 cat $tmp/config.h 27238 echo "/* $configure_input */"
24016 rm -f $tmp/config.h 27239 cat "$ac_result"
24017 fi 27240 fi
24018 done 27241 rm -f "$tmp/out12"
24019 _ACEOF 27242 ;;
24020 cat >>$CONFIG_STATUS <<\_ACEOF 27243
24021 27244 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
24022 # 27245 echo "$as_me: executing $ac_file commands" >&6;}
24023 # CONFIG_COMMANDS section. 27246 ;;
24024 # 27247 esac
24025 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue 27248
24026 ac_dest=`echo "$ac_file" | sed 's,:.*,,'` 27249
24027 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` 27250 case $ac_file$ac_mode in
24028 ac_dir=`(dirname "$ac_dest") 2>/dev/null || 27251 "default":C)
24029 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24030 X"$ac_dest" : 'X\(//\)[^/]' \| \
24031 X"$ac_dest" : 'X\(//\)$' \| \
24032 X"$ac_dest" : 'X\(/\)' \| \
24033 . : '\(.\)' 2>/dev/null ||
24034 echo X"$ac_dest" |
24035 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24036 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24037 /^X\(\/\/\)$/{ s//\1/; q; }
24038 /^X\(\/\).*/{ s//\1/; q; }
24039 s/.*/./; q'`
24040 { if $as_mkdir_p; then
24041 mkdir -p "$ac_dir"
24042 else
24043 as_dir="$ac_dir"
24044 as_dirs=
24045 while test ! -d "$as_dir"; do
24046 as_dirs="$as_dir $as_dirs"
24047 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24048 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24049 X"$as_dir" : 'X\(//\)[^/]' \| \
24050 X"$as_dir" : 'X\(//\)$' \| \
24051 X"$as_dir" : 'X\(/\)' \| \
24052 . : '\(.\)' 2>/dev/null ||
24053 echo X"$as_dir" |
24054 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24055 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24056 /^X\(\/\/\)$/{ s//\1/; q; }
24057 /^X\(\/\).*/{ s//\1/; q; }
24058 s/.*/./; q'`
24059 done
24060 test ! -n "$as_dirs" || mkdir $as_dirs
24061 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24062 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24063 { (exit 1); exit 1; }; }; }
24064
24065 ac_builddir=.
24066
24067 if test "$ac_dir" != .; then
24068 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24069 # A "../" for each directory in $ac_dir_suffix.
24070 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24071 else
24072 ac_dir_suffix= ac_top_builddir=
24073 fi
24074
24075 case $srcdir in
24076 .) # No --srcdir option. We are building in place.
24077 ac_srcdir=.
24078 if test -z "$ac_top_builddir"; then
24079 ac_top_srcdir=.
24080 else
24081 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24082 fi ;;
24083 [\\/]* | ?:[\\/]* ) # Absolute path.
24084 ac_srcdir=$srcdir$ac_dir_suffix;
24085 ac_top_srcdir=$srcdir ;;
24086 *) # Relative path.
24087 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24088 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24089 esac
24090
24091 # Do not use `cd foo && pwd` to compute absolute paths, because
24092 # the directories may not exist.
24093 case `pwd` in
24094 .) ac_abs_builddir="$ac_dir";;
24095 *)
24096 case "$ac_dir" in
24097 .) ac_abs_builddir=`pwd`;;
24098 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
24099 *) ac_abs_builddir=`pwd`/"$ac_dir";;
24100 esac;;
24101 esac
24102 case $ac_abs_builddir in
24103 .) ac_abs_top_builddir=${ac_top_builddir}.;;
24104 *)
24105 case ${ac_top_builddir}. in
24106 .) ac_abs_top_builddir=$ac_abs_builddir;;
24107 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
24108 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
24109 esac;;
24110 esac
24111 case $ac_abs_builddir in
24112 .) ac_abs_srcdir=$ac_srcdir;;
24113 *)
24114 case $ac_srcdir in
24115 .) ac_abs_srcdir=$ac_abs_builddir;;
24116 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
24117 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
24118 esac;;
24119 esac
24120 case $ac_abs_builddir in
24121 .) ac_abs_top_srcdir=$ac_top_srcdir;;
24122 *)
24123 case $ac_top_srcdir in
24124 .) ac_abs_top_srcdir=$ac_abs_builddir;;
24125 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
24126 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
24127 esac;;
24128 esac
24129
24130
24131 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
24132 echo "$as_me: executing $ac_dest commands" >&6;}
24133 case $ac_dest in
24134 default )
24135 27252
24136 ### Make the necessary directories, if they don't exist. 27253 ### Make the necessary directories, if they don't exist.
24137 for dir in etc lisp ; do 27254 for dir in etc lisp ; do
24138 test -d ${dir} || mkdir ${dir} 27255 test -d ${dir} || mkdir ${dir}
24139 done 27256 done
24202 27319
24203 # This is how we know whether to re-run configure in certain cases. 27320 # This is how we know whether to re-run configure in certain cases.
24204 touch src/config.stamp 27321 touch src/config.stamp
24205 27322
24206 ;; 27323 ;;
27324
24207 esac 27325 esac
24208 done 27326 done # for ac_tag
24209 _ACEOF 27327
24210
24211 cat >>$CONFIG_STATUS <<\_ACEOF
24212 27328
24213 { (exit 0); exit 0; } 27329 { (exit 0); exit 0; }
24214 _ACEOF 27330 _ACEOF
24215 chmod +x $CONFIG_STATUS 27331 chmod +x $CONFIG_STATUS
24216 ac_clean_files=$ac_clean_files_save 27332 ac_clean_files=$ac_clean_files_save