aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorKaroly Lorentey2006-12-03 12:25:18 +0000
committerKaroly Lorentey2006-12-03 12:25:18 +0000
commitd6e01aa592f7326dffeafa6e97180a1cc39fe7ea (patch)
tree5a22b785cfee1d77d6452607450a12ca82eeecd3 /configure
parent14bcc1e098410087a837313e2fc822319ff2e8ca (diff)
parent4975e69596a64247e8995d1ff9084b98a9a5ed0d (diff)
downloademacs-d6e01aa592f7326dffeafa6e97180a1cc39fe7ea.tar.gz
emacs-d6e01aa592f7326dffeafa6e97180a1cc39fe7ea.zip
Merged from emacs@sv.gnu.org.
Patches applied: * emacs@sv.gnu.org/emacs--devo--0--patch-479 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-480 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-481 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-482 Merge from gnus--rel--5.10 * emacs@sv.gnu.org/emacs--devo--0--patch-483 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-484 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-485 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-153 Merge from emacs--devo--0 * emacs@sv.gnu.org/gnus--rel--5.10--patch-154 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-155 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-585
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure15428
1 files changed, 7714 insertions, 7714 deletions
diff --git a/configure b/configure
index 46d171ec733..f8089fc2b23 100755
--- a/configure
+++ b/configure
@@ -1,25 +1,54 @@
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.61.
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## --------------------- ##
11 12
12# Be Bourne compatible 13# Be more Bourne compatible
14DUALCASE=1; export DUALCASE # for MKS sh
13if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 15if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14 emulate sh 16 emulate sh
15 NULLCMD=: 17 NULLCMD=:
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature. 19 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"' 20 alias -g '${1+"$@"}'='"$@"'
19elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 21 setopt NO_GLOB_SUBST
20 set -o posix 22else
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
25esac
26
27fi
28
29
30
31
32# PATH needs CR
33# Avoid depending upon Character Ranges.
34as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37as_cr_digits='0123456789'
38as_cr_alnum=$as_cr_Letters$as_cr_digits
39
40# The user is always right.
41if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
44 chmod +x conf$$.sh
45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46 PATH_SEPARATOR=';'
47 else
48 PATH_SEPARATOR=:
49 fi
50 rm -f conf$$.sh
21fi 51fi
22DUALCASE=1; export DUALCASE # for MKS sh
23 52
24# Support unset when possible. 53# Support unset when possible.
25if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 54if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
@@ -29,8 +58,43 @@ else
29fi 58fi
30 59
31 60
61# IFS
62# We need space, tab and new line, in precisely that order. Quoting is
63# there to prevent editors from complaining about space-tab.
64# (If _AS_PATH_WALK were called with IFS unset, it would disable word
65# splitting by setting IFS to empty value.)
66as_nl='
67'
68IFS=" "" $as_nl"
69
70# Find who we are. Look in the path if we contain no directory separator.
71case $0 in
72 *[\\/]* ) as_myself=$0 ;;
73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74for as_dir in $PATH
75do
76 IFS=$as_save_IFS
77 test -z "$as_dir" && as_dir=.
78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79done
80IFS=$as_save_IFS
81
82 ;;
83esac
84# We did not find ourselves, most probably we were run as `sh COMMAND'
85# in which case we are not to be found in the path.
86if test "x$as_myself" = x; then
87 as_myself=$0
88fi
89if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91 { (exit 1); exit 1; }
92fi
93
32# Work around bugs in pre-3.0 UWIN ksh. 94# Work around bugs in pre-3.0 UWIN ksh.
33$as_unset ENV MAIL MAILPATH 95for as_var in ENV MAIL MAILPATH
96do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
97done
34PS1='$ ' 98PS1='$ '
35PS2='> ' 99PS2='> '
36PS4='+ ' 100PS4='+ '
@@ -44,18 +108,19 @@ do
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var 109 eval $as_var=C; export $as_var
46 else 110 else
47 $as_unset $as_var 111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
48 fi 112 fi
49done 113done
50 114
51# Required to use basename. 115# Required to use basename.
52if expr a : '\(a\)' >/dev/null 2>&1; then 116if expr a : '\(a\)' >/dev/null 2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53 as_expr=expr 118 as_expr=expr
54else 119else
55 as_expr=false 120 as_expr=false
56fi 121fi
57 122
58if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 123if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
59 as_basename=basename 124 as_basename=basename
60else 125else
61 as_basename=false 126 as_basename=false
@@ -63,157 +128,388 @@ fi
63 128
64 129
65# Name of the executable. 130# Name of the executable.
66as_me=`$as_basename "$0" || 131as_me=`$as_basename -- "$0" ||
67$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 132$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \ 133 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \ 134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
70 . : '\(.\)' 2>/dev/null ||
71echo X/"$0" | 135echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 136 sed '/^.*\/\([^/][^/]*\)\/*$/{
73 /^X\/\(\/\/\)$/{ s//\1/; q; } 137 s//\1/
74 /^X\/\(\/\).*/{ s//\1/; q; } 138 q
75 s/.*/./; q'` 139 }
140 /^X\/\(\/\/\)$/{
141 s//\1/
142 q
143 }
144 /^X\/\(\/\).*/{
145 s//\1/
146 q
147 }
148 s/.*/./; q'`
76 149
150# CDPATH.
151$as_unset CDPATH
77 152
78# PATH needs CR, and LINENO needs CR and PATH.
79# Avoid depending upon Character Ranges.
80as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83as_cr_digits='0123456789'
84as_cr_alnum=$as_cr_Letters$as_cr_digits
85 153
86# The user is always right. 154if test "x$CONFIG_SHELL" = x; then
87if test "${PATH_SEPARATOR+set}" != set; then 155 if (eval ":") 2>/dev/null; then
88 echo "#! /bin/sh" >conf$$.sh 156 as_have_required=yes
89 echo "exit 0" >>conf$$.sh 157else
90 chmod +x conf$$.sh 158 as_have_required=no
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92 PATH_SEPARATOR=';'
93 else
94 PATH_SEPARATOR=:
95 fi
96 rm -f conf$$.sh
97fi 159fi
98 160
161 if test $as_have_required = yes && (eval ":
162(as_func_return () {
163 (exit \$1)
164}
165as_func_success () {
166 as_func_return 0
167}
168as_func_failure () {
169 as_func_return 1
170}
171as_func_ret_success () {
172 return 0
173}
174as_func_ret_failure () {
175 return 1
176}
99 177
100 as_lineno_1=$LINENO 178exitcode=0
101 as_lineno_2=$LINENO 179if as_func_success; then
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 180 :
103 test "x$as_lineno_1" != "x$as_lineno_2" && 181else
104 test "x$as_lineno_3" = "x$as_lineno_2" || { 182 exitcode=1
105 # Find who we are. Look in the path if we contain no path at all 183 echo as_func_success failed.
106 # relative or not. 184fi
107 case $0 in
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110for as_dir in $PATH
111do
112 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115done
116 185
117 ;; 186if as_func_failure; then
118 esac 187 exitcode=1
119 # We did not find ourselves, most probably we were run as `sh COMMAND' 188 echo as_func_failure succeeded.
120 # in which case we are not to be found in the path. 189fi
121 if test "x$as_myself" = x; then 190
122 as_myself=$0 191if as_func_ret_success; then
123 fi 192 :
124 if test ! -f "$as_myself"; then 193else
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 194 exitcode=1
126 { (exit 1); exit 1; }; } 195 echo as_func_ret_success failed.
127 fi 196fi
128 case $CONFIG_SHELL in 197
129 '') 198if as_func_ret_failure; then
199 exitcode=1
200 echo as_func_ret_failure succeeded.
201fi
202
203if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
204 :
205else
206 exitcode=1
207 echo positional parameters were not saved.
208fi
209
210test \$exitcode = 0) || { (exit 1); exit 1; }
211
212(
213 as_lineno_1=\$LINENO
214 as_lineno_2=\$LINENO
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217") 2> /dev/null; then
218 :
219else
220 as_candidate_shells=
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 222for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132do 223do
133 IFS=$as_save_IFS 224 IFS=$as_save_IFS
134 test -z "$as_dir" && as_dir=. 225 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do 226 case $as_dir in
136 case $as_dir in
137 /*) 227 /*)
138 if ("$as_dir/$as_base" -c ' 228 for as_base in sh bash ksh sh5; do
229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
230 done;;
231 esac
232done
233IFS=$as_save_IFS
234
235
236 for as_shell in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev/null <<\_ASEOF
240if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241 emulate sh
242 NULLCMD=:
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
246 setopt NO_GLOB_SUBST
247else
248 case `(set -o) 2>/dev/null` in
249 *posix*) set -o posix ;;
250esac
251
252fi
253
254
255:
256_ASEOF
257}; then
258 CONFIG_SHELL=$as_shell
259 as_have_required=yes
260 if { "$as_shell" 2> /dev/null <<\_ASEOF
261if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 emulate sh
263 NULLCMD=:
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
267 setopt NO_GLOB_SUBST
268else
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
271esac
272
273fi
274
275
276:
277(as_func_return () {
278 (exit $1)
279}
280as_func_success () {
281 as_func_return 0
282}
283as_func_failure () {
284 as_func_return 1
285}
286as_func_ret_success () {
287 return 0
288}
289as_func_ret_failure () {
290 return 1
291}
292
293exitcode=0
294if as_func_success; then
295 :
296else
297 exitcode=1
298 echo as_func_success failed.
299fi
300
301if as_func_failure; then
302 exitcode=1
303 echo as_func_failure succeeded.
304fi
305
306if as_func_ret_success; then
307 :
308else
309 exitcode=1
310 echo as_func_ret_success failed.
311fi
312
313if as_func_ret_failure; then
314 exitcode=1
315 echo as_func_ret_failure succeeded.
316fi
317
318if ( set x; as_func_ret_success y && test x = "$1" ); then
319 :
320else
321 exitcode=1
322 echo positional parameters were not saved.
323fi
324
325test $exitcode = 0) || { (exit 1); exit 1; }
326
327(
139 as_lineno_1=$LINENO 328 as_lineno_1=$LINENO
140 as_lineno_2=$LINENO 329 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" && 330 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 331 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; } 332
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 333_ASEOF
146 CONFIG_SHELL=$as_dir/$as_base 334}; then
147 export CONFIG_SHELL 335 break
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 336fi
149 fi;; 337
150 esac 338fi
151 done 339
152done 340 done
153;; 341
154 esac 342 if test "x$CONFIG_SHELL" != x; then
343 for as_var in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345 done
346 export CONFIG_SHELL
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348fi
349
350
351 if test $as_have_required = no; then
352 echo This script requires a shell more modern than all the
353 echo shells that I found on your system. Please install a
354 echo modern shell, or manually run the script under such a
355 echo shell if you do have one.
356 { (exit 1); exit 1; }
357fi
358
359
360fi
361
362fi
363
364
365
366(eval "as_func_return () {
367 (exit \$1)
368}
369as_func_success () {
370 as_func_return 0
371}
372as_func_failure () {
373 as_func_return 1
374}
375as_func_ret_success () {
376 return 0
377}
378as_func_ret_failure () {
379 return 1
380}
381
382exitcode=0
383if as_func_success; then
384 :
385else
386 exitcode=1
387 echo as_func_success failed.
388fi
389
390if as_func_failure; then
391 exitcode=1
392 echo as_func_failure succeeded.
393fi
394
395if as_func_ret_success; then
396 :
397else
398 exitcode=1
399 echo as_func_ret_success failed.
400fi
401
402if as_func_ret_failure; then
403 exitcode=1
404 echo as_func_ret_failure succeeded.
405fi
406
407if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
408 :
409else
410 exitcode=1
411 echo positional parameters were not saved.
412fi
413
414test \$exitcode = 0") || {
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system,
417 echo including any error possibly output before this
418 echo message
419}
420
421
422
423 as_lineno_1=$LINENO
424 as_lineno_2=$LINENO
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
155 427
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 428 # 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 429 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real 430 # line-number line after each line using $LINENO; the second 'sed'
159 # work. The second script uses 'N' to pair each line-number line 431 # does the real work. The second script uses 'N' to pair each
160 # with the numbered line, and appends trailing '-' during 432 # line-number line with the line containing $LINENO, and appends
161 # substitution so that $LINENO is not a special case at line end. 433 # trailing '-' during substitution so that $LINENO is not a special
434 # case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 436 # scripts with optimization help from Paolo Bonzini. Blame Lee
164 sed '=' <$as_myself | 437 # E. McMahon (1931-1989) for sed's syntax. :-)
438 sed -n '
439 p
440 /[$]LINENO/=
441 ' <$as_myself |
165 sed ' 442 sed '
443 s/[$]LINENO.*/&-/
444 t lineno
445 b
446 :lineno
166 N 447 N
167 s,$,-, 448 :loop
168 : loop 449 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 450 t loop
171 s,-$,, 451 s/-\n.*//
172 s,^['$as_cr_digits']*\n,,
173 ' >$as_me.lineno && 452 ' >$as_me.lineno &&
174 chmod +x $as_me.lineno || 453 chmod +x "$as_me.lineno" ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; } 455 { (exit 1); exit 1; }; }
177 456
178 # Don't try to exec as it changes $[0], causing all sort of problems 457 # 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 458 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this). 459 # original and so on. Autoconf is especially sensitive to this).
181 . ./$as_me.lineno 460 . "./$as_me.lineno"
182 # Exit status is that of the last command. 461 # Exit status is that of the last command.
183 exit 462 exit
184} 463}
185 464
186 465
187case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 466if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
188 *c*,-n*) ECHO_N= ECHO_C=' 467 as_dirname=dirname
189' ECHO_T=' ' ;; 468else
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 469 as_dirname=false
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 470fi
471
472ECHO_C= ECHO_N= ECHO_T=
473case `echo -n x` in
474-n*)
475 case `echo 'x\c'` in
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 *) ECHO_C='\c';;
478 esac;;
479*)
480 ECHO_N='-n';;
192esac 481esac
193 482
194if expr a : '\(a\)' >/dev/null 2>&1; then 483if expr a : '\(a\)' >/dev/null 2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then
195 as_expr=expr 485 as_expr=expr
196else 486else
197 as_expr=false 487 as_expr=false
198fi 488fi
199 489
200rm -f conf$$ conf$$.exe conf$$.file 490rm -f conf$$ conf$$.exe conf$$.file
491if test -d conf$$.dir; then
492 rm -f conf$$.dir/conf$$.file
493else
494 rm -f conf$$.dir
495 mkdir conf$$.dir
496fi
201echo >conf$$.file 497echo >conf$$.file
202if ln -s conf$$.file conf$$ 2>/dev/null; then 498if 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 499 as_ln_s='ln -s'
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 500 # ... but there are two gotchas:
205 if test -f conf$$.exe; then 501 # 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 502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
207 as_ln_s='cp -p' 505 as_ln_s='cp -p'
208 else
209 as_ln_s='ln -s'
210 fi
211elif ln conf$$.file conf$$ 2>/dev/null; then 506elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln 507 as_ln_s=ln
213else 508else
214 as_ln_s='cp -p' 509 as_ln_s='cp -p'
215fi 510fi
216rm -f conf$$ conf$$.exe conf$$.file 511rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512rmdir conf$$.dir 2>/dev/null
217 513
218if mkdir -p . 2>/dev/null; then 514if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=: 515 as_mkdir_p=:
@@ -222,7 +518,28 @@ else
222 as_mkdir_p=false 518 as_mkdir_p=false
223fi 519fi
224 520
225as_executable_p="test -f" 521if test -x / >/dev/null 2>&1; then
522 as_test_x='test -x'
523else
524 if ls -dL / >/dev/null 2>&1; then
525 as_ls_L_option=L
526 else
527 as_ls_L_option=
528 fi
529 as_test_x='
530 eval sh -c '\''
531 if test -d "$1"; then
532 test -d "$1/.";
533 else
534 case $1 in
535 -*)set "./$1";;
536 esac;
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
539 '\'' sh
540 '
541fi
542as_executable_p=$as_test_x
226 543
227# Sed expression to map a string onto a valid CPP name. 544# Sed expression to map a string onto a valid CPP name.
228as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 545as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
@@ -231,39 +548,27 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 548as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232 549
233 550
234# IFS
235# We need space, tab and new line, in precisely that order.
236as_nl='
237'
238IFS=" $as_nl"
239
240# CDPATH.
241$as_unset CDPATH
242 551
552exec 7<&0 </dev/null 6>&1
243 553
244# Name of the host. 554# Name of the host.
245# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 555# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246# so uname gets run too. 556# so uname gets run too.
247ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 557ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248 558
249exec 6>&1
250
251# 559#
252# Initializations. 560# Initializations.
253# 561#
254ac_default_prefix=/usr/local 562ac_default_prefix=/usr/local
563ac_clean_files=
255ac_config_libobj_dir=. 564ac_config_libobj_dir=.
565LIBOBJS=
256cross_compiling=no 566cross_compiling=no
257subdirs= 567subdirs=
258MFLAGS= 568MFLAGS=
259MAKEFLAGS= 569MAKEFLAGS=
260SHELL=${CONFIG_SHELL-/bin/sh} 570SHELL=${CONFIG_SHELL-/bin/sh}
261 571
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
267# Identity of this package. 572# Identity of this package.
268PACKAGE_NAME= 573PACKAGE_NAME=
269PACKAGE_TARNAME= 574PACKAGE_TARNAME=
@@ -276,42 +581,156 @@ ac_config_libobj_dir=src
276# Factoring default headers for most tests. 581# Factoring default headers for most tests.
277ac_includes_default="\ 582ac_includes_default="\
278#include <stdio.h> 583#include <stdio.h>
279#if HAVE_SYS_TYPES_H 584#ifdef HAVE_SYS_TYPES_H
280# include <sys/types.h> 585# include <sys/types.h>
281#endif 586#endif
282#if HAVE_SYS_STAT_H 587#ifdef HAVE_SYS_STAT_H
283# include <sys/stat.h> 588# include <sys/stat.h>
284#endif 589#endif
285#if STDC_HEADERS 590#ifdef STDC_HEADERS
286# include <stdlib.h> 591# include <stdlib.h>
287# include <stddef.h> 592# include <stddef.h>
288#else 593#else
289# if HAVE_STDLIB_H 594# ifdef HAVE_STDLIB_H
290# include <stdlib.h> 595# include <stdlib.h>
291# endif 596# endif
292#endif 597#endif
293#if HAVE_STRING_H 598#ifdef HAVE_STRING_H
294# if !STDC_HEADERS && HAVE_MEMORY_H 599# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
295# include <memory.h> 600# include <memory.h>
296# endif 601# endif
297# include <string.h> 602# include <string.h>
298#endif 603#endif
299#if HAVE_STRINGS_H 604#ifdef HAVE_STRINGS_H
300# include <strings.h> 605# include <strings.h>
301#endif 606#endif
302#if HAVE_INTTYPES_H 607#ifdef HAVE_INTTYPES_H
303# include <inttypes.h> 608# include <inttypes.h>
304#else
305# if HAVE_STDINT_H
306# include <stdint.h>
307# endif
308#endif 609#endif
309#if HAVE_UNISTD_H 610#ifdef HAVE_STDINT_H
611# include <stdint.h>
612#endif
613#ifdef HAVE_UNISTD_H
310# include <unistd.h> 614# include <unistd.h>
311#endif" 615#endif"
312 616
313ac_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' 617ac_header_list=
618ac_func_list=
619ac_subst_vars='SHELL
620PATH_SEPARATOR
621PACKAGE_NAME
622PACKAGE_TARNAME
623PACKAGE_VERSION
624PACKAGE_STRING
625PACKAGE_BUGREPORT
626exec_prefix
627prefix
628program_transform_name
629bindir
630sbindir
631libexecdir
632datarootdir
633datadir
634sysconfdir
635sharedstatedir
636localstatedir
637includedir
638oldincludedir
639docdir
640infodir
641htmldir
642dvidir
643pdfdir
644psdir
645libdir
646localedir
647mandir
648DEFS
649ECHO_C
650ECHO_N
651ECHO_T
652LIBS
653build_alias
654host_alias
655target_alias
656MAINT
657build
658build_cpu
659build_vendor
660build_os
661host
662host_cpu
663host_vendor
664host_os
665CC
666CFLAGS
667LDFLAGS
668CPPFLAGS
669ac_ct_CC
670EXEEXT
671OBJEXT
672CPP
673GREP
674EGREP
675LN_S
676INSTALL_PROGRAM
677INSTALL_SCRIPT
678INSTALL_DATA
679RANLIB
680INSTALL_INFO
681GZIP_PROG
682LIBSOUND
683PKG_CONFIG
684ALSA_CFLAGS
685ALSA_LIBS
686CFLAGS_SOUND
687SET_MAKE
688XMKMF
689GTK_CFLAGS
690GTK_LIBS
691ALLOCA
692liblockfile
693LIBOBJS
694NEED_SETGID
695KMEM_GROUP
696GETLOADAVG_LIBS
697GETOPT_H
698GETOPTOBJS
699version
700configuration
701canonical
702srcdir
703lispdir
704locallisppath
705lisppath
706x_default_search_path
707etcdir
708archlibdir
709bitmapdir
710gamedir
711gameuser
712c_switch_system
713c_switch_machine
714LD_SWITCH_X_SITE
715LD_SWITCH_X_SITE_AUX
716C_SWITCH_X_SITE
717X_TOOLKIT_TYPE
718machfile
719opsysfile
720carbon_appdir
721LTLIBOBJS'
314ac_subst_files='' 722ac_subst_files=''
723 ac_precious_vars='build_alias
724host_alias
725target_alias
726CC
727CFLAGS
728LDFLAGS
729LIBS
730CPPFLAGS
731CPP
732XMKMF'
733
315 734
316# Initialize some variables set by options. 735# Initialize some variables set by options.
317ac_init_help= 736ac_init_help=
@@ -338,34 +757,48 @@ x_libraries=NONE
338# and all the variables that are supposed to be based on exec_prefix 757# and all the variables that are supposed to be based on exec_prefix
339# by default will actually change. 758# by default will actually change.
340# Use braces instead of parens because sh, perl, etc. also accept them. 759# Use braces instead of parens because sh, perl, etc. also accept them.
760# (The list follows the same order as the GNU Coding Standards.)
341bindir='${exec_prefix}/bin' 761bindir='${exec_prefix}/bin'
342sbindir='${exec_prefix}/sbin' 762sbindir='${exec_prefix}/sbin'
343libexecdir='${exec_prefix}/libexec' 763libexecdir='${exec_prefix}/libexec'
344datadir='${prefix}/share' 764datarootdir='${prefix}/share'
765datadir='${datarootdir}'
345sysconfdir='${prefix}/etc' 766sysconfdir='${prefix}/etc'
346sharedstatedir='${prefix}/com' 767sharedstatedir='${prefix}/com'
347localstatedir='${prefix}/var' 768localstatedir='${prefix}/var'
348libdir='${exec_prefix}/lib'
349includedir='${prefix}/include' 769includedir='${prefix}/include'
350oldincludedir='/usr/include' 770oldincludedir='/usr/include'
351infodir='${prefix}/info' 771docdir='${datarootdir}/doc/${PACKAGE}'
352mandir='${prefix}/man' 772infodir='${datarootdir}/info'
773htmldir='${docdir}'
774dvidir='${docdir}'
775pdfdir='${docdir}'
776psdir='${docdir}'
777libdir='${exec_prefix}/lib'
778localedir='${datarootdir}/locale'
779mandir='${datarootdir}/man'
353 780
354ac_prev= 781ac_prev=
782ac_dashdash=
355for ac_option 783for ac_option
356do 784do
357 # If the previous option needs an argument, assign it. 785 # If the previous option needs an argument, assign it.
358 if test -n "$ac_prev"; then 786 if test -n "$ac_prev"; then
359 eval "$ac_prev=\$ac_option" 787 eval $ac_prev=\$ac_option
360 ac_prev= 788 ac_prev=
361 continue 789 continue
362 fi 790 fi
363 791
364 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 792 case $ac_option in
793 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
794 *) ac_optarg=yes ;;
795 esac
365 796
366 # Accept the important Cygnus configure options, so we can diagnose typos. 797 # Accept the important Cygnus configure options, so we can diagnose typos.
367 798
368 case $ac_option in 799 case $ac_dashdash$ac_option in
800 --)
801 ac_dashdash=yes ;;
369 802
370 -bindir | --bindir | --bindi | --bind | --bin | --bi) 803 -bindir | --bindir | --bindi | --bind | --bin | --bi)
371 ac_prev=bindir ;; 804 ac_prev=bindir ;;
@@ -387,33 +820,45 @@ do
387 --config-cache | -C) 820 --config-cache | -C)
388 cache_file=config.cache ;; 821 cache_file=config.cache ;;
389 822
390 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 823 -datadir | --datadir | --datadi | --datad)
391 ac_prev=datadir ;; 824 ac_prev=datadir ;;
392 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 825 -datadir=* | --datadir=* | --datadi=* | --datad=*)
393 | --da=*)
394 datadir=$ac_optarg ;; 826 datadir=$ac_optarg ;;
395 827
828 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
829 | --dataroo | --dataro | --datar)
830 ac_prev=datarootdir ;;
831 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
832 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
833 datarootdir=$ac_optarg ;;
834
396 -disable-* | --disable-*) 835 -disable-* | --disable-*)
397 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 836 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
398 # Reject names that are not valid shell variable names. 837 # Reject names that are not valid shell variable names.
399 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 838 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
400 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 839 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
401 { (exit 1); exit 1; }; } 840 { (exit 1); exit 1; }; }
402 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 841 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
403 eval "enable_$ac_feature=no" ;; 842 eval enable_$ac_feature=no ;;
843
844 -docdir | --docdir | --docdi | --doc | --do)
845 ac_prev=docdir ;;
846 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
847 docdir=$ac_optarg ;;
848
849 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
850 ac_prev=dvidir ;;
851 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
852 dvidir=$ac_optarg ;;
404 853
405 -enable-* | --enable-*) 854 -enable-* | --enable-*)
406 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 855 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
407 # Reject names that are not valid shell variable names. 856 # Reject names that are not valid shell variable names.
408 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 857 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
409 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 858 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
410 { (exit 1); exit 1; }; } 859 { (exit 1); exit 1; }; }
411 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 860 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
412 case $ac_option in 861 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 862
418 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 863 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
419 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 864 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
@@ -440,6 +885,12 @@ do
440 -host=* | --host=* | --hos=* | --ho=*) 885 -host=* | --host=* | --hos=* | --ho=*)
441 host_alias=$ac_optarg ;; 886 host_alias=$ac_optarg ;;
442 887
888 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
889 ac_prev=htmldir ;;
890 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
891 | --ht=*)
892 htmldir=$ac_optarg ;;
893
443 -includedir | --includedir | --includedi | --included | --include \ 894 -includedir | --includedir | --includedi | --included | --include \
444 | --includ | --inclu | --incl | --inc) 895 | --includ | --inclu | --incl | --inc)
445 ac_prev=includedir ;; 896 ac_prev=includedir ;;
@@ -464,13 +915,16 @@ do
464 | --libexe=* | --libex=* | --libe=*) 915 | --libexe=* | --libex=* | --libe=*)
465 libexecdir=$ac_optarg ;; 916 libexecdir=$ac_optarg ;;
466 917
918 -localedir | --localedir | --localedi | --localed | --locale)
919 ac_prev=localedir ;;
920 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
921 localedir=$ac_optarg ;;
922
467 -localstatedir | --localstatedir | --localstatedi | --localstated \ 923 -localstatedir | --localstatedir | --localstatedi | --localstated \
468 | --localstate | --localstat | --localsta | --localst \ 924 | --localstate | --localstat | --localsta | --localst | --locals)
469 | --locals | --local | --loca | --loc | --lo)
470 ac_prev=localstatedir ;; 925 ac_prev=localstatedir ;;
471 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 926 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
472 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 927 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
473 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
474 localstatedir=$ac_optarg ;; 928 localstatedir=$ac_optarg ;;
475 929
476 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 930 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
@@ -535,6 +989,16 @@ do
535 | --progr-tra=* | --program-tr=* | --program-t=*) 989 | --progr-tra=* | --program-tr=* | --program-t=*)
536 program_transform_name=$ac_optarg ;; 990 program_transform_name=$ac_optarg ;;
537 991
992 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
993 ac_prev=pdfdir ;;
994 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
995 pdfdir=$ac_optarg ;;
996
997 -psdir | --psdir | --psdi | --psd | --ps)
998 ac_prev=psdir ;;
999 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1000 psdir=$ac_optarg ;;
1001
538 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1002 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
539 | -silent | --silent | --silen | --sile | --sil) 1003 | -silent | --silent | --silen | --sile | --sil)
540 silent=yes ;; 1004 silent=yes ;;
@@ -587,24 +1051,20 @@ do
587 -with-* | --with-*) 1051 -with-* | --with-*)
588 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1052 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
589 # Reject names that are not valid shell variable names. 1053 # Reject names that are not valid shell variable names.
590 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 1054 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
591 { echo "$as_me: error: invalid package name: $ac_package" >&2 1055 { echo "$as_me: error: invalid package name: $ac_package" >&2
592 { (exit 1); exit 1; }; } 1056 { (exit 1); exit 1; }; }
593 ac_package=`echo $ac_package| sed 's/-/_/g'` 1057 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
594 case $ac_option in 1058 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 1059
600 -without-* | --without-*) 1060 -without-* | --without-*)
601 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1061 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
602 # Reject names that are not valid shell variable names. 1062 # Reject names that are not valid shell variable names.
603 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 1063 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
604 { echo "$as_me: error: invalid package name: $ac_package" >&2 1064 { echo "$as_me: error: invalid package name: $ac_package" >&2
605 { (exit 1); exit 1; }; } 1065 { (exit 1); exit 1; }; }
606 ac_package=`echo $ac_package | sed 's/-/_/g'` 1066 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
607 eval "with_$ac_package=no" ;; 1067 eval with_$ac_package=no ;;
608 1068
609 --x) 1069 --x)
610 # Obsolete; use --with-x. 1070 # Obsolete; use --with-x.
@@ -635,8 +1095,7 @@ Try \`$0 --help' for more information." >&2
635 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1095 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
636 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1096 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
637 { (exit 1); exit 1; }; } 1097 { (exit 1); exit 1; }; }
638 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 1098 eval $ac_envvar=\$ac_optarg
639 eval "$ac_envvar='$ac_optarg'"
640 export $ac_envvar ;; 1099 export $ac_envvar ;;
641 1100
642 *) 1101 *)
@@ -656,27 +1115,19 @@ if test -n "$ac_prev"; then
656 { (exit 1); exit 1; }; } 1115 { (exit 1); exit 1; }; }
657fi 1116fi
658 1117
659# Be sure to have absolute paths. 1118# Be sure to have absolute directory names.
660for ac_var in exec_prefix prefix 1119for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
661do 1120 datadir sysconfdir sharedstatedir localstatedir includedir \
662 eval ac_val=$`echo $ac_var` 1121 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
663 case $ac_val in 1122 libdir localedir mandir
664 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
665 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
666 { (exit 1); exit 1; }; };;
667 esac
668done
669
670# Be sure to have absolute paths.
671for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
672 localstatedir libdir includedir oldincludedir infodir mandir
673do 1123do
674 eval ac_val=$`echo $ac_var` 1124 eval ac_val=\$$ac_var
675 case $ac_val in 1125 case $ac_val in
676 [\\/$]* | ?:[\\/]* ) ;; 1126 [\\/$]* | ?:[\\/]* ) continue;;
677 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1127 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
678 { (exit 1); exit 1; }; };;
679 esac 1128 esac
1129 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1130 { (exit 1); exit 1; }; }
680done 1131done
681 1132
682# There might be people who depend on the old broken behavior: `$host' 1133# There might be people who depend on the old broken behavior: `$host'
@@ -703,74 +1154,76 @@ test -n "$host_alias" && ac_tool_prefix=$host_alias-
703test "$silent" = yes && exec 6>/dev/null 1154test "$silent" = yes && exec 6>/dev/null
704 1155
705 1156
1157ac_pwd=`pwd` && test -n "$ac_pwd" &&
1158ac_ls_di=`ls -di .` &&
1159ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1160 { echo "$as_me: error: Working directory cannot be determined" >&2
1161 { (exit 1); exit 1; }; }
1162test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1163 { echo "$as_me: error: pwd does not report name of working directory" >&2
1164 { (exit 1); exit 1; }; }
1165
1166
706# Find the source files, if location was not specified. 1167# Find the source files, if location was not specified.
707if test -z "$srcdir"; then 1168if test -z "$srcdir"; then
708 ac_srcdir_defaulted=yes 1169 ac_srcdir_defaulted=yes
709 # Try the directory containing this script, then its parent. 1170 # Try the directory containing this script, then the parent directory.
710 ac_confdir=`(dirname "$0") 2>/dev/null || 1171 ac_confdir=`$as_dirname -- "$0" ||
711$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1172$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
712 X"$0" : 'X\(//\)[^/]' \| \ 1173 X"$0" : 'X\(//\)[^/]' \| \
713 X"$0" : 'X\(//\)$' \| \ 1174 X"$0" : 'X\(//\)$' \| \
714 X"$0" : 'X\(/\)' \| \ 1175 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
715 . : '\(.\)' 2>/dev/null ||
716echo X"$0" | 1176echo X"$0" |
717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 1177 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
718 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 1178 s//\1/
719 /^X\(\/\/\)$/{ s//\1/; q; } 1179 q
720 /^X\(\/\).*/{ s//\1/; q; } 1180 }
721 s/.*/./; q'` 1181 /^X\(\/\/\)[^/].*/{
1182 s//\1/
1183 q
1184 }
1185 /^X\(\/\/\)$/{
1186 s//\1/
1187 q
1188 }
1189 /^X\(\/\).*/{
1190 s//\1/
1191 q
1192 }
1193 s/.*/./; q'`
722 srcdir=$ac_confdir 1194 srcdir=$ac_confdir
723 if test ! -r $srcdir/$ac_unique_file; then 1195 if test ! -r "$srcdir/$ac_unique_file"; then
724 srcdir=.. 1196 srcdir=..
725 fi 1197 fi
726else 1198else
727 ac_srcdir_defaulted=no 1199 ac_srcdir_defaulted=no
728fi 1200fi
729if test ! -r $srcdir/$ac_unique_file; then 1201if test ! -r "$srcdir/$ac_unique_file"; then
730 if test "$ac_srcdir_defaulted" = yes; then 1202 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 1203 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
732 { (exit 1); exit 1; }; } 1204 { (exit 1); exit 1; }; }
733 else
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
735 { (exit 1); exit 1; }; }
736 fi
737fi 1205fi
738(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 1206ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
739 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 1207ac_abs_confdir=`(
1208 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
740 { (exit 1); exit 1; }; } 1209 { (exit 1); exit 1; }; }
741srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 1210 pwd)`
742ac_env_build_alias_set=${build_alias+set} 1211# When building in place, set srcdir=.
743ac_env_build_alias_value=$build_alias 1212if test "$ac_abs_confdir" = "$ac_pwd"; then
744ac_cv_env_build_alias_set=${build_alias+set} 1213 srcdir=.
745ac_cv_env_build_alias_value=$build_alias 1214fi
746ac_env_host_alias_set=${host_alias+set} 1215# Remove unnecessary trailing slashes from srcdir.
747ac_env_host_alias_value=$host_alias 1216# Double slashes in file names in object file debugging info
748ac_cv_env_host_alias_set=${host_alias+set} 1217# mess up M-x gdb in Emacs.
749ac_cv_env_host_alias_value=$host_alias 1218case $srcdir in
750ac_env_target_alias_set=${target_alias+set} 1219*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
751ac_env_target_alias_value=$target_alias 1220esac
752ac_cv_env_target_alias_set=${target_alias+set} 1221for ac_var in $ac_precious_vars; do
753ac_cv_env_target_alias_value=$target_alias 1222 eval ac_env_${ac_var}_set=\${${ac_var}+set}
754ac_env_CC_set=${CC+set} 1223 eval ac_env_${ac_var}_value=\$${ac_var}
755ac_env_CC_value=$CC 1224 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
756ac_cv_env_CC_set=${CC+set} 1225 eval ac_cv_env_${ac_var}_value=\$${ac_var}
757ac_cv_env_CC_value=$CC 1226done
758ac_env_CFLAGS_set=${CFLAGS+set}
759ac_env_CFLAGS_value=$CFLAGS
760ac_cv_env_CFLAGS_set=${CFLAGS+set}
761ac_cv_env_CFLAGS_value=$CFLAGS
762ac_env_LDFLAGS_set=${LDFLAGS+set}
763ac_env_LDFLAGS_value=$LDFLAGS
764ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
765ac_cv_env_LDFLAGS_value=$LDFLAGS
766ac_env_CPPFLAGS_set=${CPPFLAGS+set}
767ac_env_CPPFLAGS_value=$CPPFLAGS
768ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
769ac_cv_env_CPPFLAGS_value=$CPPFLAGS
770ac_env_CPP_set=${CPP+set}
771ac_env_CPP_value=$CPP
772ac_cv_env_CPP_set=${CPP+set}
773ac_cv_env_CPP_value=$CPP
774 1227
775# 1228#
776# Report the --help message. 1229# Report the --help message.
@@ -799,9 +1252,6 @@ Configuration:
799 -n, --no-create do not create output files 1252 -n, --no-create do not create output files
800 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1253 --srcdir=DIR find the sources in DIR [configure dir or \`..']
801 1254
802_ACEOF
803
804 cat <<_ACEOF
805Installation directories: 1255Installation directories:
806 --prefix=PREFIX install architecture-independent files in PREFIX 1256 --prefix=PREFIX install architecture-independent files in PREFIX
807 [$ac_default_prefix] 1257 [$ac_default_prefix]
@@ -819,15 +1269,22 @@ Fine tuning of the installation directories:
819 --bindir=DIR user executables [EPREFIX/bin] 1269 --bindir=DIR user executables [EPREFIX/bin]
820 --sbindir=DIR system admin executables [EPREFIX/sbin] 1270 --sbindir=DIR system admin executables [EPREFIX/sbin]
821 --libexecdir=DIR program executables [EPREFIX/libexec] 1271 --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] 1272 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
824 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1273 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
825 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1274 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
826 --libdir=DIR object code libraries [EPREFIX/lib] 1275 --libdir=DIR object code libraries [EPREFIX/lib]
827 --includedir=DIR C header files [PREFIX/include] 1276 --includedir=DIR C header files [PREFIX/include]
828 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1277 --oldincludedir=DIR C header files for non-gcc [/usr/include]
829 --infodir=DIR info documentation [PREFIX/info] 1278 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
830 --mandir=DIR man documentation [PREFIX/man] 1279 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1280 --infodir=DIR info documentation [DATAROOTDIR/info]
1281 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1282 --mandir=DIR man documentation [DATAROOTDIR/man]
1283 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1284 --htmldir=DIR html documentation [DOCDIR]
1285 --dvidir=DIR dvi documentation [DOCDIR]
1286 --pdfdir=DIR pdf documentation [DOCDIR]
1287 --psdir=DIR ps documentation [DOCDIR]
831_ACEOF 1288_ACEOF
832 1289
833 cat <<\_ACEOF 1290 cat <<\_ACEOF
@@ -893,126 +1350,96 @@ Some influential environment variables:
893 CFLAGS C compiler flags 1350 CFLAGS C compiler flags
894 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1351 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
895 nonstandard directory <lib dir> 1352 nonstandard directory <lib dir>
896 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 1353 LIBS libraries to pass to the linker, e.g. -l<library>
897 headers in a nonstandard directory <include dir> 1354 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1355 you have headers in a nonstandard directory <include dir>
898 CPP C preprocessor 1356 CPP C preprocessor
1357 XMKMF Path to xmkmf, Makefile generator for X Window System
899 1358
900Use these variables to override the choices made by `configure' or to help 1359Use these variables to override the choices made by `configure' or to help
901it to find libraries and programs with nonstandard names/locations. 1360it to find libraries and programs with nonstandard names/locations.
902 1361
903_ACEOF 1362_ACEOF
1363ac_status=$?
904fi 1364fi
905 1365
906if test "$ac_init_help" = "recursive"; then 1366if test "$ac_init_help" = "recursive"; then
907 # If there are subdirs, report their specific --help. 1367 # 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 1368 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
910 test -d $ac_dir || continue 1369 test -d "$ac_dir" || continue
911 ac_builddir=. 1370 ac_builddir=.
912 1371
913if test "$ac_dir" != .; then 1372case "$ac_dir" in
1373.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1374*)
914 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1375 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
915 # A "../" for each directory in $ac_dir_suffix. 1376 # A ".." for each directory in $ac_dir_suffix.
916 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 1377 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
917else 1378 case $ac_top_builddir_sub in
918 ac_dir_suffix= ac_top_builddir= 1379 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
919fi 1380 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1381 esac ;;
1382esac
1383ac_abs_top_builddir=$ac_pwd
1384ac_abs_builddir=$ac_pwd$ac_dir_suffix
1385# for backward compatibility:
1386ac_top_builddir=$ac_top_build_prefix
920 1387
921case $srcdir in 1388case $srcdir in
922 .) # No --srcdir option. We are building in place. 1389 .) # We are building in place.
923 ac_srcdir=. 1390 ac_srcdir=.
924 if test -z "$ac_top_builddir"; then 1391 ac_top_srcdir=$ac_top_builddir_sub
925 ac_top_srcdir=. 1392 ac_abs_top_srcdir=$ac_pwd ;;
926 else 1393 [\\/]* | ?:[\\/]* ) # Absolute name.
927 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
928 fi ;;
929 [\\/]* | ?:[\\/]* ) # Absolute path.
930 ac_srcdir=$srcdir$ac_dir_suffix; 1394 ac_srcdir=$srcdir$ac_dir_suffix;
931 ac_top_srcdir=$srcdir ;; 1395 ac_top_srcdir=$srcdir
932 *) # Relative path. 1396 ac_abs_top_srcdir=$srcdir ;;
933 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 1397 *) # Relative name.
934 ac_top_srcdir=$ac_top_builddir$srcdir ;; 1398 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1399 ac_top_srcdir=$ac_top_build_prefix$srcdir
1400 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
935esac 1401esac
936 1402ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
937# Do not use `cd foo && pwd` to compute absolute paths, because 1403
938# the directories may not exist. 1404 cd "$ac_dir" || { ac_status=$?; continue; }
939case `pwd` in 1405 # Check for guested configure.
940.) ac_abs_builddir="$ac_dir";; 1406 if test -f "$ac_srcdir/configure.gnu"; then
941*) 1407 echo &&
942 case "$ac_dir" in 1408 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
943 .) ac_abs_builddir=`pwd`;; 1409 elif test -f "$ac_srcdir/configure"; then
944 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 1410 echo &&
945 *) ac_abs_builddir=`pwd`/"$ac_dir";; 1411 $SHELL "$ac_srcdir/configure" --help=recursive
946 esac;;
947esac
948case $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;;
956esac
957case $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;;
965esac
966case $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;;
974esac
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 1412 else
989 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1413 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
990 fi 1414 fi || ac_status=$?
991 cd "$ac_popdir" 1415 cd "$ac_pwd" || { ac_status=$?; break; }
992 done 1416 done
993fi 1417fi
994 1418
995test -n "$ac_init_help" && exit 0 1419test -n "$ac_init_help" && exit $ac_status
996if $ac_init_version; then 1420if $ac_init_version; then
997 cat <<\_ACEOF 1421 cat <<\_ACEOF
1422configure
1423generated by GNU Autoconf 2.61
998 1424
999Copyright (C) 2003 Free Software Foundation, Inc. 1425Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
14262002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1000This configure script is free software; the Free Software Foundation 1427This configure script is free software; the Free Software Foundation
1001gives unlimited permission to copy, distribute and modify it. 1428gives unlimited permission to copy, distribute and modify it.
1002_ACEOF 1429_ACEOF
1003 exit 0 1430 exit
1004fi 1431fi
1005exec 5>config.log 1432cat >config.log <<_ACEOF
1006cat >&5 <<_ACEOF
1007This file contains any messages produced by compilers while 1433This file contains any messages produced by compilers while
1008running configure, to aid debugging if configure makes a mistake. 1434running configure, to aid debugging if configure makes a mistake.
1009 1435
1010It was created by $as_me, which was 1436It was created by $as_me, which was
1011generated by GNU Autoconf 2.59. Invocation command line was 1437generated by GNU Autoconf 2.61. Invocation command line was
1012 1438
1013 $ $0 $@ 1439 $ $0 $@
1014 1440
1015_ACEOF 1441_ACEOF
1442exec 5>>config.log
1016{ 1443{
1017cat <<_ASUNAME 1444cat <<_ASUNAME
1018## --------- ## 1445## --------- ##
@@ -1031,7 +1458,7 @@ uname -v = `(uname -v) 2>/dev/null || echo unknown`
1031/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1458/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1032/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1459/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` 1460/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1034hostinfo = `(hostinfo) 2>/dev/null || echo unknown` 1461/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1035/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1462/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1036/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1463/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1037/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1464/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
@@ -1045,6 +1472,7 @@ do
1045 test -z "$as_dir" && as_dir=. 1472 test -z "$as_dir" && as_dir=.
1046 echo "PATH: $as_dir" 1473 echo "PATH: $as_dir"
1047done 1474done
1475IFS=$as_save_IFS
1048 1476
1049} >&5 1477} >&5
1050 1478
@@ -1066,7 +1494,6 @@ _ACEOF
1066ac_configure_args= 1494ac_configure_args=
1067ac_configure_args0= 1495ac_configure_args0=
1068ac_configure_args1= 1496ac_configure_args1=
1069ac_sep=
1070ac_must_keep_next=false 1497ac_must_keep_next=false
1071for ac_pass in 1 2 1498for ac_pass in 1 2
1072do 1499do
@@ -1077,7 +1504,7 @@ do
1077 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1504 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1078 | -silent | --silent | --silen | --sile | --sil) 1505 | -silent | --silent | --silen | --sile | --sil)
1079 continue ;; 1506 continue ;;
1080 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1507 *\'*)
1081 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1508 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1082 esac 1509 esac
1083 case $ac_pass in 1510 case $ac_pass in
@@ -1099,9 +1526,7 @@ do
1099 -* ) ac_must_keep_next=true ;; 1526 -* ) ac_must_keep_next=true ;;
1100 esac 1527 esac
1101 fi 1528 fi
1102 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1529 ac_configure_args="$ac_configure_args '$ac_arg'"
1103 # Get rid of the leading space.
1104 ac_sep=" "
1105 ;; 1530 ;;
1106 esac 1531 esac
1107 done 1532 done
@@ -1112,8 +1537,8 @@ $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_
1112# When interrupted or exit'd, cleanup temporary files, and complete 1537# When interrupted or exit'd, cleanup temporary files, and complete
1113# config.log. We remove comments because anyway the quotes in there 1538# config.log. We remove comments because anyway the quotes in there
1114# would cause problems or look ugly. 1539# would cause problems or look ugly.
1115# WARNING: Be sure not to use single quotes in there, as some shells, 1540# WARNING: Use '\'' to represent an apostrophe within the trap.
1116# such as our DU 5.0 friend, will then `close' the trap. 1541# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1117trap 'exit_status=$? 1542trap 'exit_status=$?
1118 # Save into config.log some information that might help in debugging. 1543 # Save into config.log some information that might help in debugging.
1119 { 1544 {
@@ -1126,20 +1551,34 @@ trap 'exit_status=$?
1126_ASBOX 1551_ASBOX
1127 echo 1552 echo
1128 # The following way of writing the cache mishandles newlines in values, 1553 # The following way of writing the cache mishandles newlines in values,
1129{ 1554(
1555 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1556 eval ac_val=\$$ac_var
1557 case $ac_val in #(
1558 *${as_nl}*)
1559 case $ac_var in #(
1560 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1561echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1562 esac
1563 case $ac_var in #(
1564 _ | IFS | as_nl) ;; #(
1565 *) $as_unset $ac_var ;;
1566 esac ;;
1567 esac
1568 done
1130 (set) 2>&1 | 1569 (set) 2>&1 |
1131 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1570 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1132 *ac_space=\ *) 1571 *${as_nl}ac_space=\ *)
1133 sed -n \ 1572 sed -n \
1134 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1573 "s/'\''/'\''\\\\'\'''\''/g;
1135 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1574 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1136 ;; 1575 ;; #(
1137 *) 1576 *)
1138 sed -n \ 1577 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1139 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1140 ;; 1578 ;;
1141 esac; 1579 esac |
1142} 1580 sort
1581)
1143 echo 1582 echo
1144 1583
1145 cat <<\_ASBOX 1584 cat <<\_ASBOX
@@ -1150,22 +1589,28 @@ _ASBOX
1150 echo 1589 echo
1151 for ac_var in $ac_subst_vars 1590 for ac_var in $ac_subst_vars
1152 do 1591 do
1153 eval ac_val=$`echo $ac_var` 1592 eval ac_val=\$$ac_var
1154 echo "$ac_var='"'"'$ac_val'"'"'" 1593 case $ac_val in
1594 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1595 esac
1596 echo "$ac_var='\''$ac_val'\''"
1155 done | sort 1597 done | sort
1156 echo 1598 echo
1157 1599
1158 if test -n "$ac_subst_files"; then 1600 if test -n "$ac_subst_files"; then
1159 cat <<\_ASBOX 1601 cat <<\_ASBOX
1160## ------------- ## 1602## ------------------- ##
1161## Output files. ## 1603## File substitutions. ##
1162## ------------- ## 1604## ------------------- ##
1163_ASBOX 1605_ASBOX
1164 echo 1606 echo
1165 for ac_var in $ac_subst_files 1607 for ac_var in $ac_subst_files
1166 do 1608 do
1167 eval ac_val=$`echo $ac_var` 1609 eval ac_val=\$$ac_var
1168 echo "$ac_var='"'"'$ac_val'"'"'" 1610 case $ac_val in
1611 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1612 esac
1613 echo "$ac_var='\''$ac_val'\''"
1169 done | sort 1614 done | sort
1170 echo 1615 echo
1171 fi 1616 fi
@@ -1177,26 +1622,24 @@ _ASBOX
1177## ----------- ## 1622## ----------- ##
1178_ASBOX 1623_ASBOX
1179 echo 1624 echo
1180 sed "/^$/d" confdefs.h | sort 1625 cat confdefs.h
1181 echo 1626 echo
1182 fi 1627 fi
1183 test "$ac_signal" != 0 && 1628 test "$ac_signal" != 0 &&
1184 echo "$as_me: caught signal $ac_signal" 1629 echo "$as_me: caught signal $ac_signal"
1185 echo "$as_me: exit $exit_status" 1630 echo "$as_me: exit $exit_status"
1186 } >&5 1631 } >&5
1187 rm -f core *.core && 1632 rm -f core *.core core.conftest.* &&
1188 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 1633 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1189 exit $exit_status 1634 exit $exit_status
1190 ' 0 1635' 0
1191for ac_signal in 1 2 13 15; do 1636for ac_signal in 1 2 13 15; do
1192 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1637 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1193done 1638done
1194ac_signal=0 1639ac_signal=0
1195 1640
1196# confdefs.h avoids OS command line length limits that DEFS can exceed. 1641# confdefs.h avoids OS command line length limits that DEFS can exceed.
1197rm -rf conftest* confdefs.h 1642rm -f -r conftest* confdefs.h
1198# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1199echo >confdefs.h
1200 1643
1201# Predefined preprocessor variables. 1644# Predefined preprocessor variables.
1202 1645
@@ -1227,14 +1670,17 @@ _ACEOF
1227 1670
1228# Let the site file select an alternate cache file if it wants to. 1671# Let the site file select an alternate cache file if it wants to.
1229# Prefer explicitly selected file to automatically selected ones. 1672# Prefer explicitly selected file to automatically selected ones.
1230if test -z "$CONFIG_SITE"; then 1673if test -n "$CONFIG_SITE"; then
1231 if test "x$prefix" != xNONE; then 1674 set x "$CONFIG_SITE"
1232 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1675elif test "x$prefix" != xNONE; then
1233 else 1676 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" 1677else
1235 fi 1678 set x "$ac_default_prefix/share/config.site" \
1679 "$ac_default_prefix/etc/config.site"
1236fi 1680fi
1237for ac_site_file in $CONFIG_SITE; do 1681shift
1682for ac_site_file
1683do
1238 if test -r "$ac_site_file"; then 1684 if test -r "$ac_site_file"; then
1239 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1685 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1240echo "$as_me: loading site script $ac_site_file" >&6;} 1686echo "$as_me: loading site script $ac_site_file" >&6;}
@@ -1250,8 +1696,8 @@ if test -r "$cache_file"; then
1250 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1696 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1251echo "$as_me: loading cache $cache_file" >&6;} 1697echo "$as_me: loading cache $cache_file" >&6;}
1252 case $cache_file in 1698 case $cache_file in
1253 [\\/]* | ?:[\\/]* ) . $cache_file;; 1699 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1254 *) . ./$cache_file;; 1700 *) . "./$cache_file";;
1255 esac 1701 esac
1256 fi 1702 fi
1257else 1703else
@@ -1260,15 +1706,17 @@ echo "$as_me: creating cache $cache_file" >&6;}
1260 >$cache_file 1706 >$cache_file
1261fi 1707fi
1262 1708
1709ac_header_list="$ac_header_list sys/time.h"
1710ac_header_list="$ac_header_list unistd.h"
1711ac_func_list="$ac_func_list alarm"
1263# Check that the precious variables saved in the cache have kept the same 1712# Check that the precious variables saved in the cache have kept the same
1264# value. 1713# value.
1265ac_cache_corrupted=false 1714ac_cache_corrupted=false
1266for ac_var in `(set) 2>&1 | 1715for 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 1716 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1269 eval ac_new_set=\$ac_env_${ac_var}_set 1717 eval ac_new_set=\$ac_env_${ac_var}_set
1270 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1718 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1271 eval ac_new_val="\$ac_env_${ac_var}_value" 1719 eval ac_new_val=\$ac_env_${ac_var}_value
1272 case $ac_old_set,$ac_new_set in 1720 case $ac_old_set,$ac_new_set in
1273 set,) 1721 set,)
1274 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1722 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
@@ -1293,8 +1741,7 @@ echo "$as_me: current value: $ac_new_val" >&2;}
1293 # Pass precious variables to config.status. 1741 # Pass precious variables to config.status.
1294 if test "$ac_new_set" = set; then 1742 if test "$ac_new_set" = set; then
1295 case $ac_new_val in 1743 case $ac_new_val in
1296 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1744 *\'*) 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 ;; 1745 *) ac_arg=$ac_var=$ac_new_val ;;
1299 esac 1746 esac
1300 case " $ac_configure_args " in 1747 case " $ac_configure_args " in
@@ -1311,12 +1758,6 @@ echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start ov
1311 { (exit 1); exit 1; }; } 1758 { (exit 1); exit 1; }; }
1312fi 1759fi
1313 1760
1314ac_ext=c
1315ac_cpp='$CPP $CPPFLAGS'
1316ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1317ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1318ac_compiler_gnu=$ac_cv_c_compiler_gnu
1319
1320 1761
1321 1762
1322 1763
@@ -1333,23 +1774,28 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
1333 1774
1334 1775
1335 1776
1777ac_ext=c
1778ac_cpp='$CPP $CPPFLAGS'
1779ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1780ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1781ac_compiler_gnu=$ac_cv_c_compiler_gnu
1336 1782
1337 1783
1338 ac_config_headers="$ac_config_headers src/config.h:src/config.in" 1784ac_config_headers="$ac_config_headers src/config.h:src/config.in"
1339 1785
1340 1786
1341test "$program_prefix" != NONE && 1787test "$program_prefix" != NONE &&
1342 program_transform_name="s,^,$program_prefix,;$program_transform_name" 1788 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1343# Use a double $ so make ignores it. 1789# Use a double $ so make ignores it.
1344test "$program_suffix" != NONE && 1790test "$program_suffix" != NONE &&
1345 program_transform_name="s,\$,$program_suffix,;$program_transform_name" 1791 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1346# Double any \ or $. echo might interpret backslashes. 1792# Double any \ or $. echo might interpret backslashes.
1347# By default was `s,x,x', remove it if useless. 1793# By default was `s,x,x', remove it if useless.
1348cat <<\_ACEOF >conftest.sed 1794cat <<\_ACEOF >conftest.sed
1349s/[\\$]/&&/g;s/;s,x,x,$// 1795s/[\\$]/&&/g;s/;s,x,x,$//
1350_ACEOF 1796_ACEOF
1351program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 1797program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1352rm conftest.sed 1798rm -f conftest.sed
1353 1799
1354 1800
1355lispdir='${datadir}/emacs/${version}/lisp' 1801lispdir='${datadir}/emacs/${version}/lisp'
@@ -1364,16 +1810,15 @@ gamedir='${localstatedir}/games/emacs'
1364gameuser=games 1810gameuser=games
1365 1811
1366 1812
1367# Check whether --with-gcc or --without-gcc was given. 1813# Check whether --with-gcc was given.
1368if test "${with_gcc+set}" = set; then 1814if test "${with_gcc+set}" = set; then
1369 withval="$with_gcc" 1815 withval=$with_gcc;
1816fi
1370 1817
1371fi;
1372 1818
1373# Check whether --with-pop or --without-pop was given. 1819# Check whether --with-pop was given.
1374if test "${with_pop+set}" = set; then 1820if test "${with_pop+set}" = set; then
1375 withval="$with_pop" 1821 withval=$with_pop; if test "$withval" = yes; then
1376 if test "$withval" = yes; then
1377 cat >>confdefs.h <<\_ACEOF 1822 cat >>confdefs.h <<\_ACEOF
1378#define MAIL_USE_POP 1 1823#define MAIL_USE_POP 1
1379_ACEOF 1824_ACEOF
@@ -1385,23 +1830,23 @@ else
1385#define MAIL_USE_POP 1 1830#define MAIL_USE_POP 1
1386_ACEOF 1831_ACEOF
1387 1832
1388fi; 1833fi
1389 1834
1390 1835
1391# Check whether --with-kerberos or --without-kerberos was given. 1836
1837# Check whether --with-kerberos was given.
1392if test "${with_kerberos+set}" = set; then 1838if test "${with_kerberos+set}" = set; then
1393 withval="$with_kerberos" 1839 withval=$with_kerberos; cat >>confdefs.h <<\_ACEOF
1394 cat >>confdefs.h <<\_ACEOF
1395#define KERBEROS 1 1840#define KERBEROS 1
1396_ACEOF 1841_ACEOF
1397 1842
1398fi; 1843fi
1844
1399 1845
1400 1846
1401# Check whether --with-kerberos5 or --without-kerberos5 was given. 1847# Check whether --with-kerberos5 was given.
1402if test "${with_kerberos5+set}" = set; then 1848if test "${with_kerberos5+set}" = set; then
1403 withval="$with_kerberos5" 1849 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 1850 if test "${with_kerberos+set}" != set; then
1406 with_kerberos=yes 1851 with_kerberos=yes
1407 cat >>confdefs.h <<\_ACEOF 1852 cat >>confdefs.h <<\_ACEOF
@@ -1415,30 +1860,30 @@ cat >>confdefs.h <<\_ACEOF
1415#define KERBEROS5 1 1860#define KERBEROS5 1
1416_ACEOF 1861_ACEOF
1417 1862
1418fi; 1863fi
1419 1864
1420# Check whether --with-hesiod or --without-hesiod was given.
1421if test "${with_hesiod+set}" = set; then
1422 withval="$with_hesiod"
1423 1865
1866# Check whether --with-hesiod was given.
1867if test "${with_hesiod+set}" = set; then
1868 withval=$with_hesiod;
1424cat >>confdefs.h <<\_ACEOF 1869cat >>confdefs.h <<\_ACEOF
1425#define HESIOD 1 1870#define HESIOD 1
1426_ACEOF 1871_ACEOF
1427 1872
1428fi; 1873fi
1874
1429 1875
1430 1876
1431# Check whether --with-sound or --without-sound was given. 1877# Check whether --with-sound was given.
1432if test "${with_sound+set}" = set; then 1878if test "${with_sound+set}" = set; then
1433 withval="$with_sound" 1879 withval=$with_sound;
1880fi
1434 1881
1435fi;
1436 1882
1437 1883
1438# Check whether --with-x-toolkit or --without-x-toolkit was given. 1884# Check whether --with-x-toolkit was given.
1439if test "${with_x_toolkit+set}" = set; then 1885if test "${with_x_toolkit+set}" = set; then
1440 withval="$with_x_toolkit" 1886 withval=$with_x_toolkit; case "${withval}" in
1441 case "${withval}" in
1442 y | ye | yes ) val=athena ;; 1887 y | ye | yes ) val=athena ;;
1443 n | no ) val=no ;; 1888 n | no ) val=no ;;
1444 l | lu | luc | luci | lucid ) val=lucid ;; 1889 l | lu | luc | luci | lucid ) val=lucid ;;
@@ -1457,88 +1902,89 @@ Currently, \`yes', \`athena' and \`lucid' are synonyms." >&2;}
1457 esac 1902 esac
1458 with_x_toolkit=$val 1903 with_x_toolkit=$val
1459 1904
1460fi; 1905fi
1906
1461 1907
1462# Check whether --with-xpm or --without-xpm was given. 1908# Check whether --with-xpm was given.
1463if test "${with_xpm+set}" = set; then 1909if test "${with_xpm+set}" = set; then
1464 withval="$with_xpm" 1910 withval=$with_xpm;
1911fi
1465 1912
1466fi;
1467 1913
1468# Check whether --with-jpeg or --without-jpeg was given. 1914# Check whether --with-jpeg was given.
1469if test "${with_jpeg+set}" = set; then 1915if test "${with_jpeg+set}" = set; then
1470 withval="$with_jpeg" 1916 withval=$with_jpeg;
1917fi
1471 1918
1472fi;
1473 1919
1474# Check whether --with-tiff or --without-tiff was given. 1920# Check whether --with-tiff was given.
1475if test "${with_tiff+set}" = set; then 1921if test "${with_tiff+set}" = set; then
1476 withval="$with_tiff" 1922 withval=$with_tiff;
1923fi
1477 1924
1478fi;
1479 1925
1480# Check whether --with-gif or --without-gif was given. 1926# Check whether --with-gif was given.
1481if test "${with_gif+set}" = set; then 1927if test "${with_gif+set}" = set; then
1482 withval="$with_gif" 1928 withval=$with_gif;
1929fi
1483 1930
1484fi;
1485 1931
1486# Check whether --with-png or --without-png was given. 1932# Check whether --with-png was given.
1487if test "${with_png+set}" = set; then 1933if test "${with_png+set}" = set; then
1488 withval="$with_png" 1934 withval=$with_png;
1935fi
1489 1936
1490fi;
1491 1937
1492# Check whether --with-gtk or --without-gtk was given. 1938# Check whether --with-gtk was given.
1493if test "${with_gtk+set}" = set; then 1939if test "${with_gtk+set}" = set; then
1494 withval="$with_gtk" 1940 withval=$with_gtk;
1941fi
1495 1942
1496fi;
1497 1943
1498# Check whether --with-pkg-config-prog or --without-pkg-config-prog was given. 1944# Check whether --with-pkg-config-prog was given.
1499if test "${with_pkg_config_prog+set}" = set; then 1945if test "${with_pkg_config_prog+set}" = set; then
1500 withval="$with_pkg_config_prog" 1946 withval=$with_pkg_config_prog;
1947fi
1501 1948
1502fi;
1503 1949
1504# Check whether --with-toolkit-scroll-bars or --without-toolkit-scroll-bars was given. 1950# Check whether --with-toolkit-scroll-bars was given.
1505if test "${with_toolkit_scroll_bars+set}" = set; then 1951if test "${with_toolkit_scroll_bars+set}" = set; then
1506 withval="$with_toolkit_scroll_bars" 1952 withval=$with_toolkit_scroll_bars;
1953fi
1507 1954
1508fi;
1509 1955
1510# Check whether --with-xim or --without-xim was given. 1956# Check whether --with-xim was given.
1511if test "${with_xim+set}" = set; then 1957if test "${with_xim+set}" = set; then
1512 withval="$with_xim" 1958 withval=$with_xim;
1959fi
1513 1960
1514fi;
1515 1961
1516# Check whether --with-carbon or --without-carbon was given. 1962# Check whether --with-carbon was given.
1517if test "${with_carbon+set}" = set; then 1963if test "${with_carbon+set}" = set; then
1518 withval="$with_carbon" 1964 withval=$with_carbon;
1965fi
1519 1966
1520fi; 1967# Check whether --enable-carbon-app was given.
1521# Check whether --enable-carbon-app or --disable-carbon-app was given.
1522if test "${enable_carbon_app+set}" = set; then 1968if test "${enable_carbon_app+set}" = set; then
1523 enableval="$enable_carbon_app" 1969 enableval=$enable_carbon_app; carbon_appdir_x=${enableval}
1524 carbon_appdir_x=${enableval} 1970fi
1525fi; 1971
1526 1972
1527# Check whether --enable-asserts or --disable-asserts was given. 1973# Check whether --enable-asserts was given.
1528if test "${enable_asserts+set}" = set; then 1974if test "${enable_asserts+set}" = set; then
1529 enableval="$enable_asserts" 1975 enableval=$enable_asserts; USE_XASSERTS=$enableval
1530 USE_XASSERTS=$enableval
1531else 1976else
1532 USE_XASSERTS=no 1977 USE_XASSERTS=no
1533fi; 1978fi
1979
1534 1980
1535# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. 1981# Check whether --enable-maintainer-mode was given.
1536if test "${enable_maintainer_mode+set}" = set; then 1982if test "${enable_maintainer_mode+set}" = set; then
1537 enableval="$enable_maintainer_mode" 1983 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
1538 USE_MAINTAINER_MODE=$enableval
1539else 1984else
1540 USE_MAINTAINER_MODE=no 1985 USE_MAINTAINER_MODE=no
1541fi; 1986fi
1987
1542if test $USE_MAINTAINER_MODE = yes; then 1988if test $USE_MAINTAINER_MODE = yes; then
1543 MAINT= 1989 MAINT=
1544else 1990else
@@ -1546,15 +1992,15 @@ else
1546fi 1992fi
1547 1993
1548 1994
1549# Check whether --enable-locallisppath or --disable-locallisppath was given. 1995# Check whether --enable-locallisppath was given.
1550if test "${enable_locallisppath+set}" = set; then 1996if test "${enable_locallisppath+set}" = set; then
1551 enableval="$enable_locallisppath" 1997 enableval=$enable_locallisppath; if test "${enableval}" = "no"; then
1552 if test "${enableval}" = "no"; then
1553 locallisppath= 1998 locallisppath=
1554elif test "${enableval}" != "yes"; then 1999elif test "${enableval}" != "yes"; then
1555 locallisppath=${enableval} 2000 locallisppath=${enableval}
1556fi 2001fi
1557fi; 2002fi
2003
1558 2004
1559#### Make srcdir absolute, if it isn't already. It's important to 2005#### Make srcdir absolute, if it isn't already. It's important to
1560#### avoid running the path through pwd unnecessarily, since pwd can 2006#### avoid running the path through pwd unnecessarily, since pwd can
@@ -1603,82 +2049,117 @@ fi
1603### Canonicalize the configuration name. 2049### Canonicalize the configuration name.
1604 2050
1605ac_aux_dir= 2051ac_aux_dir=
1606for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 2052for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1607 if test -f $ac_dir/install-sh; then 2053 if test -f "$ac_dir/install-sh"; then
1608 ac_aux_dir=$ac_dir 2054 ac_aux_dir=$ac_dir
1609 ac_install_sh="$ac_aux_dir/install-sh -c" 2055 ac_install_sh="$ac_aux_dir/install-sh -c"
1610 break 2056 break
1611 elif test -f $ac_dir/install.sh; then 2057 elif test -f "$ac_dir/install.sh"; then
1612 ac_aux_dir=$ac_dir 2058 ac_aux_dir=$ac_dir
1613 ac_install_sh="$ac_aux_dir/install.sh -c" 2059 ac_install_sh="$ac_aux_dir/install.sh -c"
1614 break 2060 break
1615 elif test -f $ac_dir/shtool; then 2061 elif test -f "$ac_dir/shtool"; then
1616 ac_aux_dir=$ac_dir 2062 ac_aux_dir=$ac_dir
1617 ac_install_sh="$ac_aux_dir/shtool install -c" 2063 ac_install_sh="$ac_aux_dir/shtool install -c"
1618 break 2064 break
1619 fi 2065 fi
1620done 2066done
1621if test -z "$ac_aux_dir"; then 2067if test -z "$ac_aux_dir"; then
1622 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 2068 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1623echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 2069echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1624 { (exit 1); exit 1; }; } 2070 { (exit 1); exit 1; }; }
1625fi 2071fi
1626ac_config_guess="$SHELL $ac_aux_dir/config.guess" 2072
1627ac_config_sub="$SHELL $ac_aux_dir/config.sub" 2073# These three variables are undocumented and unsupported,
1628ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 2074# and are intended to be withdrawn in a future Autoconf release.
2075# They can cause serious problems if a builder's source tree is in a directory
2076# whose full name contains unusual characters.
2077ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2078ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2079ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2080
1629 2081
1630# Make sure we can run config.sub. 2082# Make sure we can run config.sub.
1631$ac_config_sub sun4 >/dev/null 2>&1 || 2083$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1632 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 2084 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1633echo "$as_me: error: cannot run $ac_config_sub" >&2;} 2085echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1634 { (exit 1); exit 1; }; } 2086 { (exit 1); exit 1; }; }
1635 2087
1636echo "$as_me:$LINENO: checking build system type" >&5 2088{ echo "$as_me:$LINENO: checking build system type" >&5
1637echo $ECHO_N "checking build system type... $ECHO_C" >&6 2089echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1638if test "${ac_cv_build+set}" = set; then 2090if test "${ac_cv_build+set}" = set; then
1639 echo $ECHO_N "(cached) $ECHO_C" >&6 2091 echo $ECHO_N "(cached) $ECHO_C" >&6
1640else 2092else
1641 ac_cv_build_alias=$build_alias 2093 ac_build_alias=$build_alias
1642test -z "$ac_cv_build_alias" && 2094test "x$ac_build_alias" = x &&
1643 ac_cv_build_alias=`$ac_config_guess` 2095 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1644test -z "$ac_cv_build_alias" && 2096test "x$ac_build_alias" = x &&
1645 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 2097 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1646echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 2098echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1647 { (exit 1); exit 1; }; } 2099 { (exit 1); exit 1; }; }
1648ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 2100ac_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 2101 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1650echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 2102echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1651 { (exit 1); exit 1; }; } 2103 { (exit 1); exit 1; }; }
1652 2104
1653fi 2105fi
1654echo "$as_me:$LINENO: result: $ac_cv_build" >&5 2106{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1655echo "${ECHO_T}$ac_cv_build" >&6 2107echo "${ECHO_T}$ac_cv_build" >&6; }
2108case $ac_cv_build in
2109*-*-*) ;;
2110*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2111echo "$as_me: error: invalid value of canonical build" >&2;}
2112 { (exit 1); exit 1; }; };;
2113esac
1656build=$ac_cv_build 2114build=$ac_cv_build
1657build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 2115ac_save_IFS=$IFS; IFS='-'
1658build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 2116set x $ac_cv_build
1659build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 2117shift
1660 2118build_cpu=$1
1661 2119build_vendor=$2
1662echo "$as_me:$LINENO: checking host system type" >&5 2120shift; shift
1663echo $ECHO_N "checking host system type... $ECHO_C" >&6 2121# Remember, the first character of IFS is used to create $*,
2122# except with old shells:
2123build_os=$*
2124IFS=$ac_save_IFS
2125case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2126
2127
2128{ echo "$as_me:$LINENO: checking host system type" >&5
2129echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1664if test "${ac_cv_host+set}" = set; then 2130if test "${ac_cv_host+set}" = set; then
1665 echo $ECHO_N "(cached) $ECHO_C" >&6 2131 echo $ECHO_N "(cached) $ECHO_C" >&6
1666else 2132else
1667 ac_cv_host_alias=$host_alias 2133 if test "x$host_alias" = x; then
1668test -z "$ac_cv_host_alias" && 2134 ac_cv_host=$ac_cv_build
1669 ac_cv_host_alias=$ac_cv_build_alias 2135else
1670ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 2136 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 2137 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1672echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 2138echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1673 { (exit 1); exit 1; }; } 2139 { (exit 1); exit 1; }; }
2140fi
1674 2141
1675fi 2142fi
1676echo "$as_me:$LINENO: result: $ac_cv_host" >&5 2143{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1677echo "${ECHO_T}$ac_cv_host" >&6 2144echo "${ECHO_T}$ac_cv_host" >&6; }
2145case $ac_cv_host in
2146*-*-*) ;;
2147*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2148echo "$as_me: error: invalid value of canonical host" >&2;}
2149 { (exit 1); exit 1; }; };;
2150esac
1678host=$ac_cv_host 2151host=$ac_cv_host
1679host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 2152ac_save_IFS=$IFS; IFS='-'
1680host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 2153set x $ac_cv_host
1681host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 2154shift
2155host_cpu=$1
2156host_vendor=$2
2157shift; shift
2158# Remember, the first character of IFS is used to create $*,
2159# except with old shells:
2160host_os=$*
2161IFS=$ac_save_IFS
2162case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1682 2163
1683 2164
1684canonical=$host 2165canonical=$host
@@ -2723,8 +3204,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
2723if test -n "$ac_tool_prefix"; then 3204if test -n "$ac_tool_prefix"; then
2724 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3205 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2725set dummy ${ac_tool_prefix}gcc; ac_word=$2 3206set dummy ${ac_tool_prefix}gcc; ac_word=$2
2726echo "$as_me:$LINENO: checking for $ac_word" >&5 3207{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2727echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3208echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2728if test "${ac_cv_prog_CC+set}" = set; then 3209if test "${ac_cv_prog_CC+set}" = set; then
2729 echo $ECHO_N "(cached) $ECHO_C" >&6 3210 echo $ECHO_N "(cached) $ECHO_C" >&6
2730else 3211else
@@ -2737,32 +3218,34 @@ do
2737 IFS=$as_save_IFS 3218 IFS=$as_save_IFS
2738 test -z "$as_dir" && as_dir=. 3219 test -z "$as_dir" && as_dir=.
2739 for ac_exec_ext in '' $ac_executable_extensions; do 3220 for ac_exec_ext in '' $ac_executable_extensions; do
2740 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2741 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3222 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3223 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2743 break 2 3224 break 2
2744 fi 3225 fi
2745done 3226done
2746done 3227done
3228IFS=$as_save_IFS
2747 3229
2748fi 3230fi
2749fi 3231fi
2750CC=$ac_cv_prog_CC 3232CC=$ac_cv_prog_CC
2751if test -n "$CC"; then 3233if test -n "$CC"; then
2752 echo "$as_me:$LINENO: result: $CC" >&5 3234 { echo "$as_me:$LINENO: result: $CC" >&5
2753echo "${ECHO_T}$CC" >&6 3235echo "${ECHO_T}$CC" >&6; }
2754else 3236else
2755 echo "$as_me:$LINENO: result: no" >&5 3237 { echo "$as_me:$LINENO: result: no" >&5
2756echo "${ECHO_T}no" >&6 3238echo "${ECHO_T}no" >&6; }
2757fi 3239fi
2758 3240
3241
2759fi 3242fi
2760if test -z "$ac_cv_prog_CC"; then 3243if test -z "$ac_cv_prog_CC"; then
2761 ac_ct_CC=$CC 3244 ac_ct_CC=$CC
2762 # Extract the first word of "gcc", so it can be a program name with args. 3245 # Extract the first word of "gcc", so it can be a program name with args.
2763set dummy gcc; ac_word=$2 3246set dummy gcc; ac_word=$2
2764echo "$as_me:$LINENO: checking for $ac_word" >&5 3247{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2765echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3248echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2766if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 3249if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2767 echo $ECHO_N "(cached) $ECHO_C" >&6 3250 echo $ECHO_N "(cached) $ECHO_C" >&6
2768else 3251else
@@ -2775,36 +3258,51 @@ do
2775 IFS=$as_save_IFS 3258 IFS=$as_save_IFS
2776 test -z "$as_dir" && as_dir=. 3259 test -z "$as_dir" && as_dir=.
2777 for ac_exec_ext in '' $ac_executable_extensions; do 3260 for ac_exec_ext in '' $ac_executable_extensions; do
2778 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2779 ac_cv_prog_ac_ct_CC="gcc" 3262 ac_cv_prog_ac_ct_CC="gcc"
2780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2781 break 2 3264 break 2
2782 fi 3265 fi
2783done 3266done
2784done 3267done
3268IFS=$as_save_IFS
2785 3269
2786fi 3270fi
2787fi 3271fi
2788ac_ct_CC=$ac_cv_prog_ac_ct_CC 3272ac_ct_CC=$ac_cv_prog_ac_ct_CC
2789if test -n "$ac_ct_CC"; then 3273if test -n "$ac_ct_CC"; then
2790 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 3274 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2791echo "${ECHO_T}$ac_ct_CC" >&6 3275echo "${ECHO_T}$ac_ct_CC" >&6; }
2792else 3276else
2793 echo "$as_me:$LINENO: result: no" >&5 3277 { echo "$as_me:$LINENO: result: no" >&5
2794echo "${ECHO_T}no" >&6 3278echo "${ECHO_T}no" >&6; }
2795fi 3279fi
2796 3280
2797 CC=$ac_ct_CC 3281 if test "x$ac_ct_CC" = x; then
3282 CC=""
3283 else
3284 case $cross_compiling:$ac_tool_warned in
3285yes:)
3286{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3287whose name does not start with the host triplet. If you think this
3288configuration is useful to you, please write to autoconf@gnu.org." >&5
3289echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3290whose name does not start with the host triplet. If you think this
3291configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3292ac_tool_warned=yes ;;
3293esac
3294 CC=$ac_ct_CC
3295 fi
2798else 3296else
2799 CC="$ac_cv_prog_CC" 3297 CC="$ac_cv_prog_CC"
2800fi 3298fi
2801 3299
2802if test -z "$CC"; then 3300if test -z "$CC"; then
2803 if test -n "$ac_tool_prefix"; then 3301 if test -n "$ac_tool_prefix"; then
2804 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3302 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2805set dummy ${ac_tool_prefix}cc; ac_word=$2 3303set dummy ${ac_tool_prefix}cc; ac_word=$2
2806echo "$as_me:$LINENO: checking for $ac_word" >&5 3304{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2807echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3305echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2808if test "${ac_cv_prog_CC+set}" = set; then 3306if test "${ac_cv_prog_CC+set}" = set; then
2809 echo $ECHO_N "(cached) $ECHO_C" >&6 3307 echo $ECHO_N "(cached) $ECHO_C" >&6
2810else 3308else
@@ -2817,74 +3315,34 @@ do
2817 IFS=$as_save_IFS 3315 IFS=$as_save_IFS
2818 test -z "$as_dir" && as_dir=. 3316 test -z "$as_dir" && as_dir=.
2819 for ac_exec_ext in '' $ac_executable_extensions; do 3317 for ac_exec_ext in '' $ac_executable_extensions; do
2820 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2821 ac_cv_prog_CC="${ac_tool_prefix}cc" 3319 ac_cv_prog_CC="${ac_tool_prefix}cc"
2822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2823 break 2 3321 break 2
2824 fi 3322 fi
2825done 3323done
2826done 3324done
3325IFS=$as_save_IFS
2827 3326
2828fi 3327fi
2829fi 3328fi
2830CC=$ac_cv_prog_CC 3329CC=$ac_cv_prog_CC
2831if test -n "$CC"; then 3330if test -n "$CC"; then
2832 echo "$as_me:$LINENO: result: $CC" >&5 3331 { echo "$as_me:$LINENO: result: $CC" >&5
2833echo "${ECHO_T}$CC" >&6 3332echo "${ECHO_T}$CC" >&6; }
2834else 3333else
2835 echo "$as_me:$LINENO: result: no" >&5 3334 { echo "$as_me:$LINENO: result: no" >&5
2836echo "${ECHO_T}no" >&6 3335echo "${ECHO_T}no" >&6; }
2837fi 3336fi
2838 3337
2839fi
2840if test -z "$ac_cv_prog_CC"; then
2841 ac_ct_CC=$CC
2842 # Extract the first word of "cc", so it can be a program name with args.
2843set dummy cc; ac_word=$2
2844echo "$as_me:$LINENO: checking for $ac_word" >&5
2845echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2846if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2847 echo $ECHO_N "(cached) $ECHO_C" >&6
2848else
2849 if test -n "$ac_ct_CC"; then
2850 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2851else
2852as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2853for as_dir in $PATH
2854do
2855 IFS=$as_save_IFS
2856 test -z "$as_dir" && as_dir=.
2857 for ac_exec_ext in '' $ac_executable_extensions; do
2858 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2859 ac_cv_prog_ac_ct_CC="cc"
2860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2861 break 2
2862 fi
2863done
2864done
2865
2866fi
2867fi
2868ac_ct_CC=$ac_cv_prog_ac_ct_CC
2869if test -n "$ac_ct_CC"; then
2870 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2871echo "${ECHO_T}$ac_ct_CC" >&6
2872else
2873 echo "$as_me:$LINENO: result: no" >&5
2874echo "${ECHO_T}no" >&6
2875fi
2876
2877 CC=$ac_ct_CC
2878else
2879 CC="$ac_cv_prog_CC"
2880fi
2881 3338
3339 fi
2882fi 3340fi
2883if test -z "$CC"; then 3341if test -z "$CC"; then
2884 # Extract the first word of "cc", so it can be a program name with args. 3342 # Extract the first word of "cc", so it can be a program name with args.
2885set dummy cc; ac_word=$2 3343set dummy cc; ac_word=$2
2886echo "$as_me:$LINENO: checking for $ac_word" >&5 3344{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2887echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3345echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2888if test "${ac_cv_prog_CC+set}" = set; then 3346if test "${ac_cv_prog_CC+set}" = set; then
2889 echo $ECHO_N "(cached) $ECHO_C" >&6 3347 echo $ECHO_N "(cached) $ECHO_C" >&6
2890else 3348else
@@ -2898,7 +3356,7 @@ do
2898 IFS=$as_save_IFS 3356 IFS=$as_save_IFS
2899 test -z "$as_dir" && as_dir=. 3357 test -z "$as_dir" && as_dir=.
2900 for ac_exec_ext in '' $ac_executable_extensions; do 3358 for ac_exec_ext in '' $ac_executable_extensions; do
2901 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2902 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3360 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2903 ac_prog_rejected=yes 3361 ac_prog_rejected=yes
2904 continue 3362 continue
@@ -2909,6 +3367,7 @@ do
2909 fi 3367 fi
2910done 3368done
2911done 3369done
3370IFS=$as_save_IFS
2912 3371
2913if test $ac_prog_rejected = yes; then 3372if test $ac_prog_rejected = yes; then
2914 # We found a bogon in the path, so make sure we never use it. 3373 # We found a bogon in the path, so make sure we never use it.
@@ -2926,22 +3385,23 @@ fi
2926fi 3385fi
2927CC=$ac_cv_prog_CC 3386CC=$ac_cv_prog_CC
2928if test -n "$CC"; then 3387if test -n "$CC"; then
2929 echo "$as_me:$LINENO: result: $CC" >&5 3388 { echo "$as_me:$LINENO: result: $CC" >&5
2930echo "${ECHO_T}$CC" >&6 3389echo "${ECHO_T}$CC" >&6; }
2931else 3390else
2932 echo "$as_me:$LINENO: result: no" >&5 3391 { echo "$as_me:$LINENO: result: no" >&5
2933echo "${ECHO_T}no" >&6 3392echo "${ECHO_T}no" >&6; }
2934fi 3393fi
2935 3394
3395
2936fi 3396fi
2937if test -z "$CC"; then 3397if test -z "$CC"; then
2938 if test -n "$ac_tool_prefix"; then 3398 if test -n "$ac_tool_prefix"; then
2939 for ac_prog in cl 3399 for ac_prog in cl.exe
2940 do 3400 do
2941 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3401 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2942set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3402set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2943echo "$as_me:$LINENO: checking for $ac_word" >&5 3403{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2944echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3404echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2945if test "${ac_cv_prog_CC+set}" = set; then 3405if test "${ac_cv_prog_CC+set}" = set; then
2946 echo $ECHO_N "(cached) $ECHO_C" >&6 3406 echo $ECHO_N "(cached) $ECHO_C" >&6
2947else 3407else
@@ -2954,36 +3414,38 @@ do
2954 IFS=$as_save_IFS 3414 IFS=$as_save_IFS
2955 test -z "$as_dir" && as_dir=. 3415 test -z "$as_dir" && as_dir=.
2956 for ac_exec_ext in '' $ac_executable_extensions; do 3416 for ac_exec_ext in '' $ac_executable_extensions; do
2957 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2958 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3418 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2959 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3419 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2960 break 2 3420 break 2
2961 fi 3421 fi
2962done 3422done
2963done 3423done
3424IFS=$as_save_IFS
2964 3425
2965fi 3426fi
2966fi 3427fi
2967CC=$ac_cv_prog_CC 3428CC=$ac_cv_prog_CC
2968if test -n "$CC"; then 3429if test -n "$CC"; then
2969 echo "$as_me:$LINENO: result: $CC" >&5 3430 { echo "$as_me:$LINENO: result: $CC" >&5
2970echo "${ECHO_T}$CC" >&6 3431echo "${ECHO_T}$CC" >&6; }
2971else 3432else
2972 echo "$as_me:$LINENO: result: no" >&5 3433 { echo "$as_me:$LINENO: result: no" >&5
2973echo "${ECHO_T}no" >&6 3434echo "${ECHO_T}no" >&6; }
2974fi 3435fi
2975 3436
3437
2976 test -n "$CC" && break 3438 test -n "$CC" && break
2977 done 3439 done
2978fi 3440fi
2979if test -z "$CC"; then 3441if test -z "$CC"; then
2980 ac_ct_CC=$CC 3442 ac_ct_CC=$CC
2981 for ac_prog in cl 3443 for ac_prog in cl.exe
2982do 3444do
2983 # Extract the first word of "$ac_prog", so it can be a program name with args. 3445 # Extract the first word of "$ac_prog", so it can be a program name with args.
2984set dummy $ac_prog; ac_word=$2 3446set dummy $ac_prog; ac_word=$2
2985echo "$as_me:$LINENO: checking for $ac_word" >&5 3447{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2986echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3448echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2987if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 3449if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2988 echo $ECHO_N "(cached) $ECHO_C" >&6 3450 echo $ECHO_N "(cached) $ECHO_C" >&6
2989else 3451else
@@ -2996,29 +3458,45 @@ do
2996 IFS=$as_save_IFS 3458 IFS=$as_save_IFS
2997 test -z "$as_dir" && as_dir=. 3459 test -z "$as_dir" && as_dir=.
2998 for ac_exec_ext in '' $ac_executable_extensions; do 3460 for ac_exec_ext in '' $ac_executable_extensions; do
2999 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3000 ac_cv_prog_ac_ct_CC="$ac_prog" 3462 ac_cv_prog_ac_ct_CC="$ac_prog"
3001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3002 break 2 3464 break 2
3003 fi 3465 fi
3004done 3466done
3005done 3467done
3468IFS=$as_save_IFS
3006 3469
3007fi 3470fi
3008fi 3471fi
3009ac_ct_CC=$ac_cv_prog_ac_ct_CC 3472ac_ct_CC=$ac_cv_prog_ac_ct_CC
3010if test -n "$ac_ct_CC"; then 3473if test -n "$ac_ct_CC"; then
3011 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 3474 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3012echo "${ECHO_T}$ac_ct_CC" >&6 3475echo "${ECHO_T}$ac_ct_CC" >&6; }
3013else 3476else
3014 echo "$as_me:$LINENO: result: no" >&5 3477 { echo "$as_me:$LINENO: result: no" >&5
3015echo "${ECHO_T}no" >&6 3478echo "${ECHO_T}no" >&6; }
3016fi 3479fi
3017 3480
3481
3018 test -n "$ac_ct_CC" && break 3482 test -n "$ac_ct_CC" && break
3019done 3483done
3020 3484
3021 CC=$ac_ct_CC 3485 if test "x$ac_ct_CC" = x; then
3486 CC=""
3487 else
3488 case $cross_compiling:$ac_tool_warned in
3489yes:)
3490{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3491whose name does not start with the host triplet. If you think this
3492configuration is useful to you, please write to autoconf@gnu.org." >&5
3493echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3494whose name does not start with the host triplet. If you think this
3495configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3496ac_tool_warned=yes ;;
3497esac
3498 CC=$ac_ct_CC
3499 fi
3022fi 3500fi
3023 3501
3024fi 3502fi
@@ -3031,21 +3509,35 @@ See \`config.log' for more details." >&2;}
3031 { (exit 1); exit 1; }; } 3509 { (exit 1); exit 1; }; }
3032 3510
3033# Provide some information about the compiler. 3511# Provide some information about the compiler.
3034echo "$as_me:$LINENO:" \ 3512echo "$as_me:$LINENO: checking for C compiler version" >&5
3035 "checking for C compiler version" >&5
3036ac_compiler=`set X $ac_compile; echo $2` 3513ac_compiler=`set X $ac_compile; echo $2`
3037{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 3514{ (ac_try="$ac_compiler --version >&5"
3038 (eval $ac_compiler --version </dev/null >&5) 2>&5 3515case "(($ac_try" in
3516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3517 *) ac_try_echo=$ac_try;;
3518esac
3519eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3520 (eval "$ac_compiler --version >&5") 2>&5
3039 ac_status=$? 3521 ac_status=$?
3040 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3041 (exit $ac_status); } 3523 (exit $ac_status); }
3042{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 3524{ (ac_try="$ac_compiler -v >&5"
3043 (eval $ac_compiler -v </dev/null >&5) 2>&5 3525case "(($ac_try" in
3526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3527 *) ac_try_echo=$ac_try;;
3528esac
3529eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3530 (eval "$ac_compiler -v >&5") 2>&5
3044 ac_status=$? 3531 ac_status=$?
3045 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3046 (exit $ac_status); } 3533 (exit $ac_status); }
3047{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 3534{ (ac_try="$ac_compiler -V >&5"
3048 (eval $ac_compiler -V </dev/null >&5) 2>&5 3535case "(($ac_try" in
3536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3537 *) ac_try_echo=$ac_try;;
3538esac
3539eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3540 (eval "$ac_compiler -V >&5") 2>&5
3049 ac_status=$? 3541 ac_status=$?
3050 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3051 (exit $ac_status); } 3543 (exit $ac_status); }
@@ -3070,47 +3562,77 @@ ac_clean_files="$ac_clean_files a.out a.exe b.out"
3070# Try to create an executable without -o first, disregard a.out. 3562# Try to create an executable without -o first, disregard a.out.
3071# It will help us diagnose broken compilers, and finding out an intuition 3563# It will help us diagnose broken compilers, and finding out an intuition
3072# of exeext. 3564# of exeext.
3073echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 3565{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3074echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 3566echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3075ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3567ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3076if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 3568#
3077 (eval $ac_link_default) 2>&5 3569# List of possible output files, starting from the most likely.
3570# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3571# only as a last resort. b.out is created by i960 compilers.
3572ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3573#
3574# The IRIX 6 linker writes into existing files which may not be
3575# executable, retaining their permissions. Remove them first so a
3576# subsequent execution test works.
3577ac_rmfiles=
3578for ac_file in $ac_files
3579do
3580 case $ac_file in
3581 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3582 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3583 esac
3584done
3585rm -f $ac_rmfiles
3586
3587if { (ac_try="$ac_link_default"
3588case "(($ac_try" in
3589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3590 *) ac_try_echo=$ac_try;;
3591esac
3592eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3593 (eval "$ac_link_default") 2>&5
3078 ac_status=$? 3594 ac_status=$?
3079 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3080 (exit $ac_status); }; then 3596 (exit $ac_status); }; then
3081 # Find the output, starting from the most likely. This scheme is 3597 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3082# not robust to junk in `.', hence go to wildcards (a.*) only as a last 3598# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3083# resort. 3599# in a Makefile. We should not override ac_cv_exeext if it was cached,
3084 3600# so that the user can short-circuit this test for compilers unknown to
3085# Be careful to initialize this variable, since it used to be cached. 3601# Autoconf.
3086# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 3602for ac_file in $ac_files ''
3087ac_cv_exeext=
3088# b.out is created by i960 compilers.
3089for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
3090do 3603do
3091 test -f "$ac_file" || continue 3604 test -f "$ac_file" || continue
3092 case $ac_file in 3605 case $ac_file in
3093 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 3606 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3094 ;;
3095 conftest.$ac_ext )
3096 # This is the source file.
3097 ;; 3607 ;;
3098 [ab].out ) 3608 [ab].out )
3099 # We found the default executable, but exeext='' is most 3609 # We found the default executable, but exeext='' is most
3100 # certainly right. 3610 # certainly right.
3101 break;; 3611 break;;
3102 *.* ) 3612 *.* )
3103 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3613 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3104 # FIXME: I believe we export ac_cv_exeext for Libtool, 3614 then :; else
3105 # but it would be cool to find out if it's true. Does anybody 3615 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3106 # maintain Libtool? --akim. 3616 fi
3107 export ac_cv_exeext 3617 # We set ac_cv_exeext here because the later test for it is not
3618 # safe: cross compilers may not add the suffix if given an `-o'
3619 # argument, so we may need to know it at that point already.
3620 # Even if this section looks crufty: it has the advantage of
3621 # actually working.
3108 break;; 3622 break;;
3109 * ) 3623 * )
3110 break;; 3624 break;;
3111 esac 3625 esac
3112done 3626done
3627test "$ac_cv_exeext" = no && ac_cv_exeext=
3628
3113else 3629else
3630 ac_file=''
3631fi
3632
3633{ echo "$as_me:$LINENO: result: $ac_file" >&5
3634echo "${ECHO_T}$ac_file" >&6; }
3635if test -z "$ac_file"; then
3114 echo "$as_me: failed program was:" >&5 3636 echo "$as_me: failed program was:" >&5
3115sed 's/^/| /' conftest.$ac_ext >&5 3637sed 's/^/| /' conftest.$ac_ext >&5
3116 3638
@@ -3122,19 +3644,21 @@ See \`config.log' for more details." >&2;}
3122fi 3644fi
3123 3645
3124ac_exeext=$ac_cv_exeext 3646ac_exeext=$ac_cv_exeext
3125echo "$as_me:$LINENO: result: $ac_file" >&5
3126echo "${ECHO_T}$ac_file" >&6
3127 3647
3128# Check the compiler produces executables we can run. If not, either 3648# Check that the compiler produces executables we can run. If not, either
3129# the compiler is broken, or we cross compile. 3649# the compiler is broken, or we cross compile.
3130echo "$as_me:$LINENO: checking whether the C compiler works" >&5 3650{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3131echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 3651echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3132# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 3652# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3133# If not cross compiling, check that we can run a simple program. 3653# If not cross compiling, check that we can run a simple program.
3134if test "$cross_compiling" != yes; then 3654if test "$cross_compiling" != yes; then
3135 if { ac_try='./$ac_file' 3655 if { ac_try='./$ac_file'
3136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3656 { (case "(($ac_try" in
3137 (eval $ac_try) 2>&5 3657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3658 *) ac_try_echo=$ac_try;;
3659esac
3660eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3661 (eval "$ac_try") 2>&5
3138 ac_status=$? 3662 ac_status=$?
3139 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3140 (exit $ac_status); }; }; then 3664 (exit $ac_status); }; }; then
@@ -3153,22 +3677,27 @@ See \`config.log' for more details." >&2;}
3153 fi 3677 fi
3154 fi 3678 fi
3155fi 3679fi
3156echo "$as_me:$LINENO: result: yes" >&5 3680{ echo "$as_me:$LINENO: result: yes" >&5
3157echo "${ECHO_T}yes" >&6 3681echo "${ECHO_T}yes" >&6; }
3158 3682
3159rm -f a.out a.exe conftest$ac_cv_exeext b.out 3683rm -f a.out a.exe conftest$ac_cv_exeext b.out
3160ac_clean_files=$ac_clean_files_save 3684ac_clean_files=$ac_clean_files_save
3161# Check the compiler produces executables we can run. If not, either 3685# Check that the compiler produces executables we can run. If not, either
3162# the compiler is broken, or we cross compile. 3686# the compiler is broken, or we cross compile.
3163echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 3687{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3164echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 3688echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3165echo "$as_me:$LINENO: result: $cross_compiling" >&5 3689{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
3166echo "${ECHO_T}$cross_compiling" >&6 3690echo "${ECHO_T}$cross_compiling" >&6; }
3167 3691
3168echo "$as_me:$LINENO: checking for suffix of executables" >&5 3692{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
3169echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 3693echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3170if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3694if { (ac_try="$ac_link"
3171 (eval $ac_link) 2>&5 3695case "(($ac_try" in
3696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3697 *) ac_try_echo=$ac_try;;
3698esac
3699eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3700 (eval "$ac_link") 2>&5
3172 ac_status=$? 3701 ac_status=$?
3173 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3174 (exit $ac_status); }; then 3703 (exit $ac_status); }; then
@@ -3179,9 +3708,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3179for ac_file in conftest.exe conftest conftest.*; do 3708for ac_file in conftest.exe conftest conftest.*; do
3180 test -f "$ac_file" || continue 3709 test -f "$ac_file" || continue
3181 case $ac_file in 3710 case $ac_file in
3182 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 3711 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3183 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3712 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3184 export ac_cv_exeext
3185 break;; 3713 break;;
3186 * ) break;; 3714 * ) break;;
3187 esac 3715 esac
@@ -3195,14 +3723,14 @@ See \`config.log' for more details." >&2;}
3195fi 3723fi
3196 3724
3197rm -f conftest$ac_cv_exeext 3725rm -f conftest$ac_cv_exeext
3198echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 3726{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3199echo "${ECHO_T}$ac_cv_exeext" >&6 3727echo "${ECHO_T}$ac_cv_exeext" >&6; }
3200 3728
3201rm -f conftest.$ac_ext 3729rm -f conftest.$ac_ext
3202EXEEXT=$ac_cv_exeext 3730EXEEXT=$ac_cv_exeext
3203ac_exeext=$EXEEXT 3731ac_exeext=$EXEEXT
3204echo "$as_me:$LINENO: checking for suffix of object files" >&5 3732{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
3205echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 3733echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3206if test "${ac_cv_objext+set}" = set; then 3734if test "${ac_cv_objext+set}" = set; then
3207 echo $ECHO_N "(cached) $ECHO_C" >&6 3735 echo $ECHO_N "(cached) $ECHO_C" >&6
3208else 3736else
@@ -3222,14 +3750,20 @@ main ()
3222} 3750}
3223_ACEOF 3751_ACEOF
3224rm -f conftest.o conftest.obj 3752rm -f conftest.o conftest.obj
3225if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3753if { (ac_try="$ac_compile"
3226 (eval $ac_compile) 2>&5 3754case "(($ac_try" in
3755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3756 *) ac_try_echo=$ac_try;;
3757esac
3758eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3759 (eval "$ac_compile") 2>&5
3227 ac_status=$? 3760 ac_status=$?
3228 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3229 (exit $ac_status); }; then 3762 (exit $ac_status); }; then
3230 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 3763 for ac_file in conftest.o conftest.obj conftest.*; do
3764 test -f "$ac_file" || continue;
3231 case $ac_file in 3765 case $ac_file in
3232 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 3766 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3233 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3767 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3234 break;; 3768 break;;
3235 esac 3769 esac
@@ -3247,12 +3781,12 @@ fi
3247 3781
3248rm -f conftest.$ac_cv_objext conftest.$ac_ext 3782rm -f conftest.$ac_cv_objext conftest.$ac_ext
3249fi 3783fi
3250echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 3784{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3251echo "${ECHO_T}$ac_cv_objext" >&6 3785echo "${ECHO_T}$ac_cv_objext" >&6; }
3252OBJEXT=$ac_cv_objext 3786OBJEXT=$ac_cv_objext
3253ac_objext=$OBJEXT 3787ac_objext=$OBJEXT
3254echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 3788{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3255echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 3789echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3256if test "${ac_cv_c_compiler_gnu+set}" = set; then 3790if test "${ac_cv_c_compiler_gnu+set}" = set; then
3257 echo $ECHO_N "(cached) $ECHO_C" >&6 3791 echo $ECHO_N "(cached) $ECHO_C" >&6
3258else 3792else
@@ -3275,49 +3809,49 @@ main ()
3275} 3809}
3276_ACEOF 3810_ACEOF
3277rm -f conftest.$ac_objext 3811rm -f conftest.$ac_objext
3278if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3812if { (ac_try="$ac_compile"
3279 (eval $ac_compile) 2>conftest.er1 3813case "(($ac_try" in
3814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3815 *) ac_try_echo=$ac_try;;
3816esac
3817eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3818 (eval "$ac_compile") 2>conftest.er1
3280 ac_status=$? 3819 ac_status=$?
3281 grep -v '^ *+' conftest.er1 >conftest.err 3820 grep -v '^ *+' conftest.er1 >conftest.err
3282 rm -f conftest.er1 3821 rm -f conftest.er1
3283 cat conftest.err >&5 3822 cat conftest.err >&5
3284 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3285 (exit $ac_status); } && 3824 (exit $ac_status); } && {
3286 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 3825 test -z "$ac_c_werror_flag" ||
3287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3826 test ! -s conftest.err
3288 (eval $ac_try) 2>&5 3827 } && test -s conftest.$ac_objext; then
3289 ac_status=$?
3290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3291 (exit $ac_status); }; } &&
3292 { ac_try='test -s conftest.$ac_objext'
3293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3294 (eval $ac_try) 2>&5
3295 ac_status=$?
3296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3297 (exit $ac_status); }; }; then
3298 ac_compiler_gnu=yes 3828 ac_compiler_gnu=yes
3299else 3829else
3300 echo "$as_me: failed program was:" >&5 3830 echo "$as_me: failed program was:" >&5
3301sed 's/^/| /' conftest.$ac_ext >&5 3831sed 's/^/| /' conftest.$ac_ext >&5
3302 3832
3303ac_compiler_gnu=no 3833 ac_compiler_gnu=no
3304fi 3834fi
3305rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3835
3836rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3306ac_cv_c_compiler_gnu=$ac_compiler_gnu 3837ac_cv_c_compiler_gnu=$ac_compiler_gnu
3307 3838
3308fi 3839fi
3309echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 3840{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3310echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 3841echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3311GCC=`test $ac_compiler_gnu = yes && echo yes` 3842GCC=`test $ac_compiler_gnu = yes && echo yes`
3312ac_test_CFLAGS=${CFLAGS+set} 3843ac_test_CFLAGS=${CFLAGS+set}
3313ac_save_CFLAGS=$CFLAGS 3844ac_save_CFLAGS=$CFLAGS
3314CFLAGS="-g" 3845{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3315echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 3846echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3316echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3317if test "${ac_cv_prog_cc_g+set}" = set; then 3847if test "${ac_cv_prog_cc_g+set}" = set; then
3318 echo $ECHO_N "(cached) $ECHO_C" >&6 3848 echo $ECHO_N "(cached) $ECHO_C" >&6
3319else 3849else
3320 cat >conftest.$ac_ext <<_ACEOF 3850 ac_save_c_werror_flag=$ac_c_werror_flag
3851 ac_c_werror_flag=yes
3852 ac_cv_prog_cc_g=no
3853 CFLAGS="-g"
3854 cat >conftest.$ac_ext <<_ACEOF
3321/* confdefs.h. */ 3855/* confdefs.h. */
3322_ACEOF 3856_ACEOF
3323cat confdefs.h >>conftest.$ac_ext 3857cat confdefs.h >>conftest.$ac_ext
@@ -3333,37 +3867,118 @@ main ()
3333} 3867}
3334_ACEOF 3868_ACEOF
3335rm -f conftest.$ac_objext 3869rm -f conftest.$ac_objext
3336if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3870if { (ac_try="$ac_compile"
3337 (eval $ac_compile) 2>conftest.er1 3871case "(($ac_try" in
3872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3873 *) ac_try_echo=$ac_try;;
3874esac
3875eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3876 (eval "$ac_compile") 2>conftest.er1
3338 ac_status=$? 3877 ac_status=$?
3339 grep -v '^ *+' conftest.er1 >conftest.err 3878 grep -v '^ *+' conftest.er1 >conftest.err
3340 rm -f conftest.er1 3879 rm -f conftest.er1
3341 cat conftest.err >&5 3880 cat conftest.err >&5
3342 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3343 (exit $ac_status); } && 3882 (exit $ac_status); } && {
3344 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 3883 test -z "$ac_c_werror_flag" ||
3345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3884 test ! -s conftest.err
3346 (eval $ac_try) 2>&5 3885 } && test -s conftest.$ac_objext; then
3886 ac_cv_prog_cc_g=yes
3887else
3888 echo "$as_me: failed program was:" >&5
3889sed 's/^/| /' conftest.$ac_ext >&5
3890
3891 CFLAGS=""
3892 cat >conftest.$ac_ext <<_ACEOF
3893/* confdefs.h. */
3894_ACEOF
3895cat confdefs.h >>conftest.$ac_ext
3896cat >>conftest.$ac_ext <<_ACEOF
3897/* end confdefs.h. */
3898
3899int
3900main ()
3901{
3902
3903 ;
3904 return 0;
3905}
3906_ACEOF
3907rm -f conftest.$ac_objext
3908if { (ac_try="$ac_compile"
3909case "(($ac_try" in
3910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3911 *) ac_try_echo=$ac_try;;
3912esac
3913eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3914 (eval "$ac_compile") 2>conftest.er1
3347 ac_status=$? 3915 ac_status=$?
3916 grep -v '^ *+' conftest.er1 >conftest.err
3917 rm -f conftest.er1
3918 cat conftest.err >&5
3348 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3349 (exit $ac_status); }; } && 3920 (exit $ac_status); } && {
3350 { ac_try='test -s conftest.$ac_objext' 3921 test -z "$ac_c_werror_flag" ||
3351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3922 test ! -s conftest.err
3352 (eval $ac_try) 2>&5 3923 } && test -s conftest.$ac_objext; then
3924 :
3925else
3926 echo "$as_me: failed program was:" >&5
3927sed 's/^/| /' conftest.$ac_ext >&5
3928
3929 ac_c_werror_flag=$ac_save_c_werror_flag
3930 CFLAGS="-g"
3931 cat >conftest.$ac_ext <<_ACEOF
3932/* confdefs.h. */
3933_ACEOF
3934cat confdefs.h >>conftest.$ac_ext
3935cat >>conftest.$ac_ext <<_ACEOF
3936/* end confdefs.h. */
3937
3938int
3939main ()
3940{
3941
3942 ;
3943 return 0;
3944}
3945_ACEOF
3946rm -f conftest.$ac_objext
3947if { (ac_try="$ac_compile"
3948case "(($ac_try" in
3949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3950 *) ac_try_echo=$ac_try;;
3951esac
3952eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3953 (eval "$ac_compile") 2>conftest.er1
3353 ac_status=$? 3954 ac_status=$?
3955 grep -v '^ *+' conftest.er1 >conftest.err
3956 rm -f conftest.er1
3957 cat conftest.err >&5
3354 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3355 (exit $ac_status); }; }; then 3959 (exit $ac_status); } && {
3960 test -z "$ac_c_werror_flag" ||
3961 test ! -s conftest.err
3962 } && test -s conftest.$ac_objext; then
3356 ac_cv_prog_cc_g=yes 3963 ac_cv_prog_cc_g=yes
3357else 3964else
3358 echo "$as_me: failed program was:" >&5 3965 echo "$as_me: failed program was:" >&5
3359sed 's/^/| /' conftest.$ac_ext >&5 3966sed 's/^/| /' conftest.$ac_ext >&5
3360 3967
3361ac_cv_prog_cc_g=no 3968
3362fi 3969fi
3363rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3970
3971rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3364fi 3972fi
3365echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3973
3366echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 3974rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3975fi
3976
3977rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3978 ac_c_werror_flag=$ac_save_c_werror_flag
3979fi
3980{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3981echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3367if test "$ac_test_CFLAGS" = set; then 3982if test "$ac_test_CFLAGS" = set; then
3368 CFLAGS=$ac_save_CFLAGS 3983 CFLAGS=$ac_save_CFLAGS
3369elif test $ac_cv_prog_cc_g = yes; then 3984elif test $ac_cv_prog_cc_g = yes; then
@@ -3379,12 +3994,12 @@ else
3379 CFLAGS= 3994 CFLAGS=
3380 fi 3995 fi
3381fi 3996fi
3382echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 3997{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3383echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 3998echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3384if test "${ac_cv_prog_cc_stdc+set}" = set; then 3999if test "${ac_cv_prog_cc_c89+set}" = set; then
3385 echo $ECHO_N "(cached) $ECHO_C" >&6 4000 echo $ECHO_N "(cached) $ECHO_C" >&6
3386else 4001else
3387 ac_cv_prog_cc_stdc=no 4002 ac_cv_prog_cc_c89=no
3388ac_save_CC=$CC 4003ac_save_CC=$CC
3389cat >conftest.$ac_ext <<_ACEOF 4004cat >conftest.$ac_ext <<_ACEOF
3390/* confdefs.h. */ 4005/* confdefs.h. */
@@ -3418,12 +4033,17 @@ static char *f (char * (*g) (char **, int), char **p, ...)
3418/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4033/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3419 function prototypes and stuff, but not '\xHH' hex character constants. 4034 function prototypes and stuff, but not '\xHH' hex character constants.
3420 These don't provoke an error unfortunately, instead are silently treated 4035 These don't provoke an error unfortunately, instead are silently treated
3421 as 'x'. The following induces an error, until -std1 is added to get 4036 as 'x'. The following induces an error, until -std is added to get
3422 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4037 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3423 array size at least. It's necessary to write '\x00'==0 to get something 4038 array size at least. It's necessary to write '\x00'==0 to get something
3424 that's true only with -std1. */ 4039 that's true only with -std. */
3425int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4040int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3426 4041
4042/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4043 inside strings and character constants. */
4044#define FOO(x) 'x'
4045int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4046
3427int test (int i, double x); 4047int test (int i, double x);
3428struct s1 {int (*f) (int a);}; 4048struct s1 {int (*f) (int a);};
3429struct s2 {int (*f) (double a);}; 4049struct s2 {int (*f) (double a);};
@@ -3438,201 +4058,57 @@ return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3438 return 0; 4058 return 0;
3439} 4059}
3440_ACEOF 4060_ACEOF
3441# Don't try gcc -ansi; that turns off useful extensions and 4061for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3442# breaks some systems' header files. 4062 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3443# AIX -qlanglvl=ansi
3444# Ultrix and OSF/1 -std1
3445# HP-UX 10.20 and later -Ae
3446# HP-UX older versions -Aa -D_HPUX_SOURCE
3447# SVR4 -Xc -D__EXTENSIONS__
3448for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3449do 4063do
3450 CC="$ac_save_CC $ac_arg" 4064 CC="$ac_save_CC $ac_arg"
3451 rm -f conftest.$ac_objext 4065 rm -f conftest.$ac_objext
3452if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4066if { (ac_try="$ac_compile"
3453 (eval $ac_compile) 2>conftest.er1 4067case "(($ac_try" in
4068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4069 *) ac_try_echo=$ac_try;;
4070esac
4071eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4072 (eval "$ac_compile") 2>conftest.er1
3454 ac_status=$? 4073 ac_status=$?
3455 grep -v '^ *+' conftest.er1 >conftest.err 4074 grep -v '^ *+' conftest.er1 >conftest.err
3456 rm -f conftest.er1 4075 rm -f conftest.er1
3457 cat conftest.err >&5 4076 cat conftest.err >&5
3458 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3459 (exit $ac_status); } && 4078 (exit $ac_status); } && {
3460 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4079 test -z "$ac_c_werror_flag" ||
3461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4080 test ! -s conftest.err
3462 (eval $ac_try) 2>&5 4081 } && test -s conftest.$ac_objext; then
3463 ac_status=$? 4082 ac_cv_prog_cc_c89=$ac_arg
3464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3465 (exit $ac_status); }; } &&
3466 { ac_try='test -s conftest.$ac_objext'
3467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3468 (eval $ac_try) 2>&5
3469 ac_status=$?
3470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3471 (exit $ac_status); }; }; then
3472 ac_cv_prog_cc_stdc=$ac_arg
3473break
3474else 4083else
3475 echo "$as_me: failed program was:" >&5 4084 echo "$as_me: failed program was:" >&5
3476sed 's/^/| /' conftest.$ac_ext >&5 4085sed 's/^/| /' conftest.$ac_ext >&5
3477 4086
4087
3478fi 4088fi
3479rm -f conftest.err conftest.$ac_objext 4089
4090rm -f core conftest.err conftest.$ac_objext
4091 test "x$ac_cv_prog_cc_c89" != "xno" && break
3480done 4092done
3481rm -f conftest.$ac_ext conftest.$ac_objext 4093rm -f conftest.$ac_ext
3482CC=$ac_save_CC 4094CC=$ac_save_CC
3483 4095
3484fi 4096fi
3485 4097# AC_CACHE_VAL
3486case "x$ac_cv_prog_cc_stdc" in 4098case "x$ac_cv_prog_cc_c89" in
3487 x|xno) 4099 x)
3488 echo "$as_me:$LINENO: result: none needed" >&5 4100 { echo "$as_me:$LINENO: result: none needed" >&5
3489echo "${ECHO_T}none needed" >&6 ;; 4101echo "${ECHO_T}none needed" >&6; } ;;
4102 xno)
4103 { echo "$as_me:$LINENO: result: unsupported" >&5
4104echo "${ECHO_T}unsupported" >&6; } ;;
3490 *) 4105 *)
3491 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 4106 CC="$CC $ac_cv_prog_cc_c89"
3492echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 4107 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3493 CC="$CC $ac_cv_prog_cc_stdc" ;; 4108echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3494esac 4109esac
3495 4110
3496# Some people use a C++ compiler to compile C. Since we use `exit',
3497# in C++ we need to declare it. In case someone uses the same compiler
3498# for both compiling C and C++ we need to have the C++ compiler decide
3499# the declaration of exit, since it's the most demanding environment.
3500cat >conftest.$ac_ext <<_ACEOF
3501#ifndef __cplusplus
3502 choke me
3503#endif
3504_ACEOF
3505rm -f conftest.$ac_objext
3506if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3507 (eval $ac_compile) 2>conftest.er1
3508 ac_status=$?
3509 grep -v '^ *+' conftest.er1 >conftest.err
3510 rm -f conftest.er1
3511 cat conftest.err >&5
3512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3513 (exit $ac_status); } &&
3514 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3516 (eval $ac_try) 2>&5
3517 ac_status=$?
3518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3519 (exit $ac_status); }; } &&
3520 { ac_try='test -s conftest.$ac_objext'
3521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3522 (eval $ac_try) 2>&5
3523 ac_status=$?
3524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3525 (exit $ac_status); }; }; then
3526 for ac_declaration in \
3527 '' \
3528 'extern "C" void std::exit (int) throw (); using std::exit;' \
3529 'extern "C" void std::exit (int); using std::exit;' \
3530 'extern "C" void exit (int) throw ();' \
3531 'extern "C" void exit (int);' \
3532 'void exit (int);'
3533do
3534 cat >conftest.$ac_ext <<_ACEOF
3535/* confdefs.h. */
3536_ACEOF
3537cat confdefs.h >>conftest.$ac_ext
3538cat >>conftest.$ac_ext <<_ACEOF
3539/* end confdefs.h. */
3540$ac_declaration
3541#include <stdlib.h>
3542int
3543main ()
3544{
3545exit (42);
3546 ;
3547 return 0;
3548}
3549_ACEOF
3550rm -f conftest.$ac_objext
3551if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3552 (eval $ac_compile) 2>conftest.er1
3553 ac_status=$?
3554 grep -v '^ *+' conftest.er1 >conftest.err
3555 rm -f conftest.er1
3556 cat conftest.err >&5
3557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3558 (exit $ac_status); } &&
3559 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3561 (eval $ac_try) 2>&5
3562 ac_status=$?
3563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3564 (exit $ac_status); }; } &&
3565 { ac_try='test -s conftest.$ac_objext'
3566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3567 (eval $ac_try) 2>&5
3568 ac_status=$?
3569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3570 (exit $ac_status); }; }; then
3571 :
3572else
3573 echo "$as_me: failed program was:" >&5
3574sed 's/^/| /' conftest.$ac_ext >&5
3575
3576continue
3577fi
3578rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3579 cat >conftest.$ac_ext <<_ACEOF
3580/* confdefs.h. */
3581_ACEOF
3582cat confdefs.h >>conftest.$ac_ext
3583cat >>conftest.$ac_ext <<_ACEOF
3584/* end confdefs.h. */
3585$ac_declaration
3586int
3587main ()
3588{
3589exit (42);
3590 ;
3591 return 0;
3592}
3593_ACEOF
3594rm -f conftest.$ac_objext
3595if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3596 (eval $ac_compile) 2>conftest.er1
3597 ac_status=$?
3598 grep -v '^ *+' conftest.er1 >conftest.err
3599 rm -f conftest.er1
3600 cat conftest.err >&5
3601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3602 (exit $ac_status); } &&
3603 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3605 (eval $ac_try) 2>&5
3606 ac_status=$?
3607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3608 (exit $ac_status); }; } &&
3609 { ac_try='test -s conftest.$ac_objext'
3610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3611 (eval $ac_try) 2>&5
3612 ac_status=$?
3613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3614 (exit $ac_status); }; }; then
3615 break
3616else
3617 echo "$as_me: failed program was:" >&5
3618sed 's/^/| /' conftest.$ac_ext >&5
3619
3620fi
3621rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3622done
3623rm -f conftest*
3624if test -n "$ac_declaration"; then
3625 echo '#ifdef __cplusplus' >>confdefs.h
3626 echo $ac_declaration >>confdefs.h
3627 echo '#endif' >>confdefs.h
3628fi
3629
3630else
3631 echo "$as_me: failed program was:" >&5
3632sed 's/^/| /' conftest.$ac_ext >&5
3633 4111
3634fi
3635rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3636ac_ext=c 4112ac_ext=c
3637ac_cpp='$CPP $CPPFLAGS' 4113ac_cpp='$CPP $CPPFLAGS'
3638ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4114ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -3678,8 +4154,8 @@ ac_cpp='$CPP $CPPFLAGS'
3678ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4154ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3679ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4155ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3680ac_compiler_gnu=$ac_cv_c_compiler_gnu 4156ac_compiler_gnu=$ac_cv_c_compiler_gnu
3681echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 4157{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3682echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 4158echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3683# On Suns, sometimes $CPP names a directory. 4159# On Suns, sometimes $CPP names a directory.
3684if test -n "$CPP" && test -d "$CPP"; then 4160if test -n "$CPP" && test -d "$CPP"; then
3685 CPP= 4161 CPP=
@@ -3713,24 +4189,22 @@ cat >>conftest.$ac_ext <<_ACEOF
3713#endif 4189#endif
3714 Syntax error 4190 Syntax error
3715_ACEOF 4191_ACEOF
3716if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4192if { (ac_try="$ac_cpp conftest.$ac_ext"
3717 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4193case "(($ac_try" in
4194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4195 *) ac_try_echo=$ac_try;;
4196esac
4197eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4198 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3718 ac_status=$? 4199 ac_status=$?
3719 grep -v '^ *+' conftest.er1 >conftest.err 4200 grep -v '^ *+' conftest.er1 >conftest.err
3720 rm -f conftest.er1 4201 rm -f conftest.er1
3721 cat conftest.err >&5 4202 cat conftest.err >&5
3722 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3723 (exit $ac_status); } >/dev/null; then 4204 (exit $ac_status); } >/dev/null && {
3724 if test -s conftest.err; then 4205 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3725 ac_cpp_err=$ac_c_preproc_warn_flag 4206 test ! -s conftest.err
3726 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4207 }; then
3727 else
3728 ac_cpp_err=
3729 fi
3730else
3731 ac_cpp_err=yes
3732fi
3733if test -z "$ac_cpp_err"; then
3734 : 4208 :
3735else 4209else
3736 echo "$as_me: failed program was:" >&5 4210 echo "$as_me: failed program was:" >&5
@@ -3739,9 +4213,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
3739 # Broken: fails on valid input. 4213 # Broken: fails on valid input.
3740continue 4214continue
3741fi 4215fi
4216
3742rm -f conftest.err conftest.$ac_ext 4217rm -f conftest.err conftest.$ac_ext
3743 4218
3744 # OK, works on sane cases. Now check whether non-existent headers 4219 # OK, works on sane cases. Now check whether nonexistent headers
3745 # can be detected and how. 4220 # can be detected and how.
3746 cat >conftest.$ac_ext <<_ACEOF 4221 cat >conftest.$ac_ext <<_ACEOF
3747/* confdefs.h. */ 4222/* confdefs.h. */
@@ -3751,24 +4226,22 @@ cat >>conftest.$ac_ext <<_ACEOF
3751/* end confdefs.h. */ 4226/* end confdefs.h. */
3752#include <ac_nonexistent.h> 4227#include <ac_nonexistent.h>
3753_ACEOF 4228_ACEOF
3754if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4229if { (ac_try="$ac_cpp conftest.$ac_ext"
3755 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4230case "(($ac_try" in
4231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4232 *) ac_try_echo=$ac_try;;
4233esac
4234eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4235 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3756 ac_status=$? 4236 ac_status=$?
3757 grep -v '^ *+' conftest.er1 >conftest.err 4237 grep -v '^ *+' conftest.er1 >conftest.err
3758 rm -f conftest.er1 4238 rm -f conftest.er1
3759 cat conftest.err >&5 4239 cat conftest.err >&5
3760 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3761 (exit $ac_status); } >/dev/null; then 4241 (exit $ac_status); } >/dev/null && {
3762 if test -s conftest.err; then 4242 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3763 ac_cpp_err=$ac_c_preproc_warn_flag 4243 test ! -s conftest.err
3764 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4244 }; then
3765 else
3766 ac_cpp_err=
3767 fi
3768else
3769 ac_cpp_err=yes
3770fi
3771if test -z "$ac_cpp_err"; then
3772 # Broken: success on invalid input. 4245 # Broken: success on invalid input.
3773continue 4246continue
3774else 4247else
@@ -3779,6 +4252,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
3779ac_preproc_ok=: 4252ac_preproc_ok=:
3780break 4253break
3781fi 4254fi
4255
3782rm -f conftest.err conftest.$ac_ext 4256rm -f conftest.err conftest.$ac_ext
3783 4257
3784done 4258done
@@ -3796,8 +4270,8 @@ fi
3796else 4270else
3797 ac_cv_prog_CPP=$CPP 4271 ac_cv_prog_CPP=$CPP
3798fi 4272fi
3799echo "$as_me:$LINENO: result: $CPP" >&5 4273{ echo "$as_me:$LINENO: result: $CPP" >&5
3800echo "${ECHO_T}$CPP" >&6 4274echo "${ECHO_T}$CPP" >&6; }
3801ac_preproc_ok=false 4275ac_preproc_ok=false
3802for ac_c_preproc_warn_flag in '' yes 4276for ac_c_preproc_warn_flag in '' yes
3803do 4277do
@@ -3820,24 +4294,22 @@ cat >>conftest.$ac_ext <<_ACEOF
3820#endif 4294#endif
3821 Syntax error 4295 Syntax error
3822_ACEOF 4296_ACEOF
3823if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4297if { (ac_try="$ac_cpp conftest.$ac_ext"
3824 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4298case "(($ac_try" in
4299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4300 *) ac_try_echo=$ac_try;;
4301esac
4302eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4303 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3825 ac_status=$? 4304 ac_status=$?
3826 grep -v '^ *+' conftest.er1 >conftest.err 4305 grep -v '^ *+' conftest.er1 >conftest.err
3827 rm -f conftest.er1 4306 rm -f conftest.er1
3828 cat conftest.err >&5 4307 cat conftest.err >&5
3829 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3830 (exit $ac_status); } >/dev/null; then 4309 (exit $ac_status); } >/dev/null && {
3831 if test -s conftest.err; then 4310 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3832 ac_cpp_err=$ac_c_preproc_warn_flag 4311 test ! -s conftest.err
3833 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4312 }; then
3834 else
3835 ac_cpp_err=
3836 fi
3837else
3838 ac_cpp_err=yes
3839fi
3840if test -z "$ac_cpp_err"; then
3841 : 4313 :
3842else 4314else
3843 echo "$as_me: failed program was:" >&5 4315 echo "$as_me: failed program was:" >&5
@@ -3846,9 +4318,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
3846 # Broken: fails on valid input. 4318 # Broken: fails on valid input.
3847continue 4319continue
3848fi 4320fi
4321
3849rm -f conftest.err conftest.$ac_ext 4322rm -f conftest.err conftest.$ac_ext
3850 4323
3851 # OK, works on sane cases. Now check whether non-existent headers 4324 # OK, works on sane cases. Now check whether nonexistent headers
3852 # can be detected and how. 4325 # can be detected and how.
3853 cat >conftest.$ac_ext <<_ACEOF 4326 cat >conftest.$ac_ext <<_ACEOF
3854/* confdefs.h. */ 4327/* confdefs.h. */
@@ -3858,24 +4331,22 @@ cat >>conftest.$ac_ext <<_ACEOF
3858/* end confdefs.h. */ 4331/* end confdefs.h. */
3859#include <ac_nonexistent.h> 4332#include <ac_nonexistent.h>
3860_ACEOF 4333_ACEOF
3861if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4334if { (ac_try="$ac_cpp conftest.$ac_ext"
3862 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4335case "(($ac_try" in
4336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4337 *) ac_try_echo=$ac_try;;
4338esac
4339eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4340 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3863 ac_status=$? 4341 ac_status=$?
3864 grep -v '^ *+' conftest.er1 >conftest.err 4342 grep -v '^ *+' conftest.er1 >conftest.err
3865 rm -f conftest.er1 4343 rm -f conftest.er1
3866 cat conftest.err >&5 4344 cat conftest.err >&5
3867 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3868 (exit $ac_status); } >/dev/null; then 4346 (exit $ac_status); } >/dev/null && {
3869 if test -s conftest.err; then 4347 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3870 ac_cpp_err=$ac_c_preproc_warn_flag 4348 test ! -s conftest.err
3871 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4349 }; then
3872 else
3873 ac_cpp_err=
3874 fi
3875else
3876 ac_cpp_err=yes
3877fi
3878if test -z "$ac_cpp_err"; then
3879 # Broken: success on invalid input. 4350 # Broken: success on invalid input.
3880continue 4351continue
3881else 4352else
@@ -3886,6 +4357,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
3886ac_preproc_ok=: 4357ac_preproc_ok=:
3887break 4358break
3888fi 4359fi
4360
3889rm -f conftest.err conftest.$ac_ext 4361rm -f conftest.err conftest.$ac_ext
3890 4362
3891done 4363done
@@ -3908,24 +4380,171 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
3908ac_compiler_gnu=$ac_cv_c_compiler_gnu 4380ac_compiler_gnu=$ac_cv_c_compiler_gnu
3909 4381
3910 4382
3911echo "$as_me:$LINENO: checking for egrep" >&5 4383{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3912echo $ECHO_N "checking for egrep... $ECHO_C" >&6 4384echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3913if test "${ac_cv_prog_egrep+set}" = set; then 4385if test "${ac_cv_path_GREP+set}" = set; then
3914 echo $ECHO_N "(cached) $ECHO_C" >&6 4386 echo $ECHO_N "(cached) $ECHO_C" >&6
3915else 4387else
3916 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 4388 # Extract the first word of "grep ggrep" to use in msg output
3917 then ac_cv_prog_egrep='grep -E' 4389if test -z "$GREP"; then
3918 else ac_cv_prog_egrep='egrep' 4390set dummy grep ggrep; ac_prog_name=$2
4391if test "${ac_cv_path_GREP+set}" = set; then
4392 echo $ECHO_N "(cached) $ECHO_C" >&6
4393else
4394 ac_path_GREP_found=false
4395# Loop through the user's path and test for each of PROGNAME-LIST
4396as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4397for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4398do
4399 IFS=$as_save_IFS
4400 test -z "$as_dir" && as_dir=.
4401 for ac_prog in grep ggrep; do
4402 for ac_exec_ext in '' $ac_executable_extensions; do
4403 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4404 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4405 # Check for GNU ac_path_GREP and select it if it is found.
4406 # Check for GNU $ac_path_GREP
4407case `"$ac_path_GREP" --version 2>&1` in
4408*GNU*)
4409 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4410*)
4411 ac_count=0
4412 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4413 while :
4414 do
4415 cat "conftest.in" "conftest.in" >"conftest.tmp"
4416 mv "conftest.tmp" "conftest.in"
4417 cp "conftest.in" "conftest.nl"
4418 echo 'GREP' >> "conftest.nl"
4419 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4420 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4421 ac_count=`expr $ac_count + 1`
4422 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4423 # Best one so far, save it but keep looking for a better one
4424 ac_cv_path_GREP="$ac_path_GREP"
4425 ac_path_GREP_max=$ac_count
3919 fi 4426 fi
4427 # 10*(2^10) chars as input seems more than enough
4428 test $ac_count -gt 10 && break
4429 done
4430 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4431esac
4432
4433
4434 $ac_path_GREP_found && break 3
4435 done
4436done
4437
4438done
4439IFS=$as_save_IFS
4440
4441
4442fi
4443
4444GREP="$ac_cv_path_GREP"
4445if test -z "$GREP"; then
4446 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4447echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4448 { (exit 1); exit 1; }; }
4449fi
4450
4451else
4452 ac_cv_path_GREP=$GREP
3920fi 4453fi
3921echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3922echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3923 EGREP=$ac_cv_prog_egrep
3924 4454
3925 4455
4456fi
4457{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4458echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4459 GREP="$ac_cv_path_GREP"
3926 4460
3927echo "$as_me:$LINENO: checking for AIX" >&5 4461
3928echo $ECHO_N "checking for AIX... $ECHO_C" >&6 4462{ echo "$as_me:$LINENO: checking for egrep" >&5
4463echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4464if test "${ac_cv_path_EGREP+set}" = set; then
4465 echo $ECHO_N "(cached) $ECHO_C" >&6
4466else
4467 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4468 then ac_cv_path_EGREP="$GREP -E"
4469 else
4470 # Extract the first word of "egrep" to use in msg output
4471if test -z "$EGREP"; then
4472set dummy egrep; ac_prog_name=$2
4473if test "${ac_cv_path_EGREP+set}" = set; then
4474 echo $ECHO_N "(cached) $ECHO_C" >&6
4475else
4476 ac_path_EGREP_found=false
4477# Loop through the user's path and test for each of PROGNAME-LIST
4478as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4479for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4480do
4481 IFS=$as_save_IFS
4482 test -z "$as_dir" && as_dir=.
4483 for ac_prog in egrep; do
4484 for ac_exec_ext in '' $ac_executable_extensions; do
4485 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4486 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4487 # Check for GNU ac_path_EGREP and select it if it is found.
4488 # Check for GNU $ac_path_EGREP
4489case `"$ac_path_EGREP" --version 2>&1` in
4490*GNU*)
4491 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4492*)
4493 ac_count=0
4494 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4495 while :
4496 do
4497 cat "conftest.in" "conftest.in" >"conftest.tmp"
4498 mv "conftest.tmp" "conftest.in"
4499 cp "conftest.in" "conftest.nl"
4500 echo 'EGREP' >> "conftest.nl"
4501 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4502 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4503 ac_count=`expr $ac_count + 1`
4504 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4505 # Best one so far, save it but keep looking for a better one
4506 ac_cv_path_EGREP="$ac_path_EGREP"
4507 ac_path_EGREP_max=$ac_count
4508 fi
4509 # 10*(2^10) chars as input seems more than enough
4510 test $ac_count -gt 10 && break
4511 done
4512 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4513esac
4514
4515
4516 $ac_path_EGREP_found && break 3
4517 done
4518done
4519
4520done
4521IFS=$as_save_IFS
4522
4523
4524fi
4525
4526EGREP="$ac_cv_path_EGREP"
4527if test -z "$EGREP"; then
4528 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4529echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4530 { (exit 1); exit 1; }; }
4531fi
4532
4533else
4534 ac_cv_path_EGREP=$EGREP
4535fi
4536
4537
4538 fi
4539fi
4540{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4541echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4542 EGREP="$ac_cv_path_EGREP"
4543
4544
4545
4546{ echo "$as_me:$LINENO: checking for AIX" >&5
4547echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
3929cat >conftest.$ac_ext <<_ACEOF 4548cat >conftest.$ac_ext <<_ACEOF
3930/* confdefs.h. */ 4549/* confdefs.h. */
3931_ACEOF 4550_ACEOF
@@ -3939,15 +4558,15 @@ cat >>conftest.$ac_ext <<_ACEOF
3939_ACEOF 4558_ACEOF
3940if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4559if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3941 $EGREP "yes" >/dev/null 2>&1; then 4560 $EGREP "yes" >/dev/null 2>&1; then
3942 echo "$as_me:$LINENO: result: yes" >&5 4561 { echo "$as_me:$LINENO: result: yes" >&5
3943echo "${ECHO_T}yes" >&6 4562echo "${ECHO_T}yes" >&6; }
3944cat >>confdefs.h <<\_ACEOF 4563cat >>confdefs.h <<\_ACEOF
3945#define _ALL_SOURCE 1 4564#define _ALL_SOURCE 1
3946_ACEOF 4565_ACEOF
3947 4566
3948else 4567else
3949 echo "$as_me:$LINENO: result: no" >&5 4568 { echo "$as_me:$LINENO: result: no" >&5
3950echo "${ECHO_T}no" >&6 4569echo "${ECHO_T}no" >&6; }
3951fi 4570fi
3952rm -f conftest* 4571rm -f conftest*
3953 4572
@@ -3960,8 +4579,8 @@ _ACEOF
3960 4579
3961 4580
3962### Use -Wno-pointer-sign if the compiler supports it 4581### Use -Wno-pointer-sign if the compiler supports it
3963echo "$as_me:$LINENO: checking whether gcc understands -Wno-pointer-sign" >&5 4582{ echo "$as_me:$LINENO: checking whether gcc understands -Wno-pointer-sign" >&5
3964echo $ECHO_N "checking whether gcc understands -Wno-pointer-sign... $ECHO_C" >&6 4583echo $ECHO_N "checking whether gcc understands -Wno-pointer-sign... $ECHO_C" >&6; }
3965SAVE_CFLAGS="$CFLAGS" 4584SAVE_CFLAGS="$CFLAGS"
3966CFLAGS="$CFLAGS -Wno-pointer-sign" 4585CFLAGS="$CFLAGS -Wno-pointer-sign"
3967cat >conftest.$ac_ext <<_ACEOF 4586cat >conftest.$ac_ext <<_ACEOF
@@ -3980,54 +4599,51 @@ main ()
3980} 4599}
3981_ACEOF 4600_ACEOF
3982rm -f conftest.$ac_objext 4601rm -f conftest.$ac_objext
3983if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4602if { (ac_try="$ac_compile"
3984 (eval $ac_compile) 2>conftest.er1 4603case "(($ac_try" in
4604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4605 *) ac_try_echo=$ac_try;;
4606esac
4607eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4608 (eval "$ac_compile") 2>conftest.er1
3985 ac_status=$? 4609 ac_status=$?
3986 grep -v '^ *+' conftest.er1 >conftest.err 4610 grep -v '^ *+' conftest.er1 >conftest.err
3987 rm -f conftest.er1 4611 rm -f conftest.er1
3988 cat conftest.err >&5 4612 cat conftest.err >&5
3989 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3990 (exit $ac_status); } && 4614 (exit $ac_status); } && {
3991 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4615 test -z "$ac_c_werror_flag" ||
3992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4616 test ! -s conftest.err
3993 (eval $ac_try) 2>&5 4617 } && test -s conftest.$ac_objext; then
3994 ac_status=$?
3995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3996 (exit $ac_status); }; } &&
3997 { ac_try='test -s conftest.$ac_objext'
3998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3999 (eval $ac_try) 2>&5
4000 ac_status=$?
4001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4002 (exit $ac_status); }; }; then
4003 has_option=yes 4618 has_option=yes
4004else 4619else
4005 echo "$as_me: failed program was:" >&5 4620 echo "$as_me: failed program was:" >&5
4006sed 's/^/| /' conftest.$ac_ext >&5 4621sed 's/^/| /' conftest.$ac_ext >&5
4007 4622
4008has_option=no 4623 has_option=no
4009fi 4624fi
4010rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4625
4626rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4011if test $has_option = yes; then 4627if test $has_option = yes; then
4012 C_WARNINGS_SWITCH="-Wno-pointer-sign $C_WARNINGS_SWITCH" 4628 C_WARNINGS_SWITCH="-Wno-pointer-sign $C_WARNINGS_SWITCH"
4013fi 4629fi
4014echo "$as_me:$LINENO: result: $has_option" >&5 4630{ echo "$as_me:$LINENO: result: $has_option" >&5
4015echo "${ECHO_T}$has_option" >&6 4631echo "${ECHO_T}$has_option" >&6; }
4016CFLAGS="$SAVE_CFLAGS" 4632CFLAGS="$SAVE_CFLAGS"
4017unset has_option 4633unset has_option
4018unset SAVE_CFLAGS 4634unset SAVE_CFLAGS
4019 4635
4020#### Some other nice autoconf tests. 4636#### Some other nice autoconf tests.
4021 4637
4022echo "$as_me:$LINENO: checking whether ln -s works" >&5 4638{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
4023echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 4639echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4024LN_S=$as_ln_s 4640LN_S=$as_ln_s
4025if test "$LN_S" = "ln -s"; then 4641if test "$LN_S" = "ln -s"; then
4026 echo "$as_me:$LINENO: result: yes" >&5 4642 { echo "$as_me:$LINENO: result: yes" >&5
4027echo "${ECHO_T}yes" >&6 4643echo "${ECHO_T}yes" >&6; }
4028else 4644else
4029 echo "$as_me:$LINENO: result: no, using $LN_S" >&5 4645 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4030echo "${ECHO_T}no, using $LN_S" >&6 4646echo "${ECHO_T}no, using $LN_S" >&6; }
4031fi 4647fi
4032 4648
4033ac_ext=c 4649ac_ext=c
@@ -4035,8 +4651,8 @@ ac_cpp='$CPP $CPPFLAGS'
4035ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4651ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4036ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4652ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4037ac_compiler_gnu=$ac_cv_c_compiler_gnu 4653ac_compiler_gnu=$ac_cv_c_compiler_gnu
4038echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 4654{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4039echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 4655echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4040# On Suns, sometimes $CPP names a directory. 4656# On Suns, sometimes $CPP names a directory.
4041if test -n "$CPP" && test -d "$CPP"; then 4657if test -n "$CPP" && test -d "$CPP"; then
4042 CPP= 4658 CPP=
@@ -4070,24 +4686,22 @@ cat >>conftest.$ac_ext <<_ACEOF
4070#endif 4686#endif
4071 Syntax error 4687 Syntax error
4072_ACEOF 4688_ACEOF
4073if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4689if { (ac_try="$ac_cpp conftest.$ac_ext"
4074 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4690case "(($ac_try" in
4691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4692 *) ac_try_echo=$ac_try;;
4693esac
4694eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4695 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4075 ac_status=$? 4696 ac_status=$?
4076 grep -v '^ *+' conftest.er1 >conftest.err 4697 grep -v '^ *+' conftest.er1 >conftest.err
4077 rm -f conftest.er1 4698 rm -f conftest.er1
4078 cat conftest.err >&5 4699 cat conftest.err >&5
4079 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4080 (exit $ac_status); } >/dev/null; then 4701 (exit $ac_status); } >/dev/null && {
4081 if test -s conftest.err; then 4702 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4082 ac_cpp_err=$ac_c_preproc_warn_flag 4703 test ! -s conftest.err
4083 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4704 }; then
4084 else
4085 ac_cpp_err=
4086 fi
4087else
4088 ac_cpp_err=yes
4089fi
4090if test -z "$ac_cpp_err"; then
4091 : 4705 :
4092else 4706else
4093 echo "$as_me: failed program was:" >&5 4707 echo "$as_me: failed program was:" >&5
@@ -4096,9 +4710,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
4096 # Broken: fails on valid input. 4710 # Broken: fails on valid input.
4097continue 4711continue
4098fi 4712fi
4713
4099rm -f conftest.err conftest.$ac_ext 4714rm -f conftest.err conftest.$ac_ext
4100 4715
4101 # OK, works on sane cases. Now check whether non-existent headers 4716 # OK, works on sane cases. Now check whether nonexistent headers
4102 # can be detected and how. 4717 # can be detected and how.
4103 cat >conftest.$ac_ext <<_ACEOF 4718 cat >conftest.$ac_ext <<_ACEOF
4104/* confdefs.h. */ 4719/* confdefs.h. */
@@ -4108,24 +4723,22 @@ cat >>conftest.$ac_ext <<_ACEOF
4108/* end confdefs.h. */ 4723/* end confdefs.h. */
4109#include <ac_nonexistent.h> 4724#include <ac_nonexistent.h>
4110_ACEOF 4725_ACEOF
4111if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4726if { (ac_try="$ac_cpp conftest.$ac_ext"
4112 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4727case "(($ac_try" in
4728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4729 *) ac_try_echo=$ac_try;;
4730esac
4731eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4732 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4113 ac_status=$? 4733 ac_status=$?
4114 grep -v '^ *+' conftest.er1 >conftest.err 4734 grep -v '^ *+' conftest.er1 >conftest.err
4115 rm -f conftest.er1 4735 rm -f conftest.er1
4116 cat conftest.err >&5 4736 cat conftest.err >&5
4117 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4118 (exit $ac_status); } >/dev/null; then 4738 (exit $ac_status); } >/dev/null && {
4119 if test -s conftest.err; then 4739 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4120 ac_cpp_err=$ac_c_preproc_warn_flag 4740 test ! -s conftest.err
4121 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4741 }; then
4122 else
4123 ac_cpp_err=
4124 fi
4125else
4126 ac_cpp_err=yes
4127fi
4128if test -z "$ac_cpp_err"; then
4129 # Broken: success on invalid input. 4742 # Broken: success on invalid input.
4130continue 4743continue
4131else 4744else
@@ -4136,6 +4749,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
4136ac_preproc_ok=: 4749ac_preproc_ok=:
4137break 4750break
4138fi 4751fi
4752
4139rm -f conftest.err conftest.$ac_ext 4753rm -f conftest.err conftest.$ac_ext
4140 4754
4141done 4755done
@@ -4153,8 +4767,8 @@ fi
4153else 4767else
4154 ac_cv_prog_CPP=$CPP 4768 ac_cv_prog_CPP=$CPP
4155fi 4769fi
4156echo "$as_me:$LINENO: result: $CPP" >&5 4770{ echo "$as_me:$LINENO: result: $CPP" >&5
4157echo "${ECHO_T}$CPP" >&6 4771echo "${ECHO_T}$CPP" >&6; }
4158ac_preproc_ok=false 4772ac_preproc_ok=false
4159for ac_c_preproc_warn_flag in '' yes 4773for ac_c_preproc_warn_flag in '' yes
4160do 4774do
@@ -4177,24 +4791,22 @@ cat >>conftest.$ac_ext <<_ACEOF
4177#endif 4791#endif
4178 Syntax error 4792 Syntax error
4179_ACEOF 4793_ACEOF
4180if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4794if { (ac_try="$ac_cpp conftest.$ac_ext"
4181 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4795case "(($ac_try" in
4796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4797 *) ac_try_echo=$ac_try;;
4798esac
4799eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4800 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4182 ac_status=$? 4801 ac_status=$?
4183 grep -v '^ *+' conftest.er1 >conftest.err 4802 grep -v '^ *+' conftest.er1 >conftest.err
4184 rm -f conftest.er1 4803 rm -f conftest.er1
4185 cat conftest.err >&5 4804 cat conftest.err >&5
4186 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4187 (exit $ac_status); } >/dev/null; then 4806 (exit $ac_status); } >/dev/null && {
4188 if test -s conftest.err; then 4807 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4189 ac_cpp_err=$ac_c_preproc_warn_flag 4808 test ! -s conftest.err
4190 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4809 }; then
4191 else
4192 ac_cpp_err=
4193 fi
4194else
4195 ac_cpp_err=yes
4196fi
4197if test -z "$ac_cpp_err"; then
4198 : 4810 :
4199else 4811else
4200 echo "$as_me: failed program was:" >&5 4812 echo "$as_me: failed program was:" >&5
@@ -4203,9 +4815,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
4203 # Broken: fails on valid input. 4815 # Broken: fails on valid input.
4204continue 4816continue
4205fi 4817fi
4818
4206rm -f conftest.err conftest.$ac_ext 4819rm -f conftest.err conftest.$ac_ext
4207 4820
4208 # OK, works on sane cases. Now check whether non-existent headers 4821 # OK, works on sane cases. Now check whether nonexistent headers
4209 # can be detected and how. 4822 # can be detected and how.
4210 cat >conftest.$ac_ext <<_ACEOF 4823 cat >conftest.$ac_ext <<_ACEOF
4211/* confdefs.h. */ 4824/* confdefs.h. */
@@ -4215,24 +4828,22 @@ cat >>conftest.$ac_ext <<_ACEOF
4215/* end confdefs.h. */ 4828/* end confdefs.h. */
4216#include <ac_nonexistent.h> 4829#include <ac_nonexistent.h>
4217_ACEOF 4830_ACEOF
4218if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4831if { (ac_try="$ac_cpp conftest.$ac_ext"
4219 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4832case "(($ac_try" in
4833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4834 *) ac_try_echo=$ac_try;;
4835esac
4836eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4837 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4220 ac_status=$? 4838 ac_status=$?
4221 grep -v '^ *+' conftest.er1 >conftest.err 4839 grep -v '^ *+' conftest.er1 >conftest.err
4222 rm -f conftest.er1 4840 rm -f conftest.er1
4223 cat conftest.err >&5 4841 cat conftest.err >&5
4224 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4225 (exit $ac_status); } >/dev/null; then 4843 (exit $ac_status); } >/dev/null && {
4226 if test -s conftest.err; then 4844 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4227 ac_cpp_err=$ac_c_preproc_warn_flag 4845 test ! -s conftest.err
4228 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4846 }; then
4229 else
4230 ac_cpp_err=
4231 fi
4232else
4233 ac_cpp_err=yes
4234fi
4235if test -z "$ac_cpp_err"; then
4236 # Broken: success on invalid input. 4847 # Broken: success on invalid input.
4237continue 4848continue
4238else 4849else
@@ -4243,6 +4854,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
4243ac_preproc_ok=: 4854ac_preproc_ok=:
4244break 4855break
4245fi 4856fi
4857
4246rm -f conftest.err conftest.$ac_ext 4858rm -f conftest.err conftest.$ac_ext
4247 4859
4248done 4860done
@@ -4277,8 +4889,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
4277# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 4889# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4278# OS/2's system install, which has a completely different semantic 4890# OS/2's system install, which has a completely different semantic
4279# ./install, which can be erroneously created by make from ./install.sh. 4891# ./install, which can be erroneously created by make from ./install.sh.
4280echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 4892{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4281echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 4893echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
4282if test -z "$INSTALL"; then 4894if test -z "$INSTALL"; then
4283if test "${ac_cv_path_install+set}" = set; then 4895if test "${ac_cv_path_install+set}" = set; then
4284 echo $ECHO_N "(cached) $ECHO_C" >&6 4896 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -4300,7 +4912,7 @@ case $as_dir/ in
4300 # by default. 4912 # by default.
4301 for ac_prog in ginstall scoinst install; do 4913 for ac_prog in ginstall scoinst install; do
4302 for ac_exec_ext in '' $ac_executable_extensions; do 4914 for ac_exec_ext in '' $ac_executable_extensions; do
4303 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 4915 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4304 if test $ac_prog = install && 4916 if test $ac_prog = install &&
4305 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 4917 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4306 # AIX install. It has an incompatible calling convention. 4918 # AIX install. It has an incompatible calling convention.
@@ -4319,21 +4931,22 @@ case $as_dir/ in
4319 ;; 4931 ;;
4320esac 4932esac
4321done 4933done
4934IFS=$as_save_IFS
4322 4935
4323 4936
4324fi 4937fi
4325 if test "${ac_cv_path_install+set}" = set; then 4938 if test "${ac_cv_path_install+set}" = set; then
4326 INSTALL=$ac_cv_path_install 4939 INSTALL=$ac_cv_path_install
4327 else 4940 else
4328 # As a last resort, use the slow shell script. We don't cache a 4941 # As a last resort, use the slow shell script. Don't cache a
4329 # path for INSTALL within a source directory, because that will 4942 # value for INSTALL within a source directory, because that will
4330 # break other packages using the cache if that directory is 4943 # break other packages using the cache if that directory is
4331 # removed, or if the path is relative. 4944 # removed, or if the value is a relative name.
4332 INSTALL=$ac_install_sh 4945 INSTALL=$ac_install_sh
4333 fi 4946 fi
4334fi 4947fi
4335echo "$as_me:$LINENO: result: $INSTALL" >&5 4948{ echo "$as_me:$LINENO: result: $INSTALL" >&5
4336echo "${ECHO_T}$INSTALL" >&6 4949echo "${ECHO_T}$INSTALL" >&6; }
4337 4950
4338# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 4951# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4339# It thinks the first close brace ends the variable substitution. 4952# It thinks the first close brace ends the variable substitution.
@@ -4347,8 +4960,8 @@ if test "x$RANLIB" = x; then
4347 if test -n "$ac_tool_prefix"; then 4960 if test -n "$ac_tool_prefix"; then
4348 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 4961 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4349set dummy ${ac_tool_prefix}ranlib; ac_word=$2 4962set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4350echo "$as_me:$LINENO: checking for $ac_word" >&5 4963{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4351echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4964echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4352if test "${ac_cv_prog_RANLIB+set}" = set; then 4965if test "${ac_cv_prog_RANLIB+set}" = set; then
4353 echo $ECHO_N "(cached) $ECHO_C" >&6 4966 echo $ECHO_N "(cached) $ECHO_C" >&6
4354else 4967else
@@ -4361,32 +4974,34 @@ do
4361 IFS=$as_save_IFS 4974 IFS=$as_save_IFS
4362 test -z "$as_dir" && as_dir=. 4975 test -z "$as_dir" && as_dir=.
4363 for ac_exec_ext in '' $ac_executable_extensions; do 4976 for ac_exec_ext in '' $ac_executable_extensions; do
4364 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4365 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 4978 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4979 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4367 break 2 4980 break 2
4368 fi 4981 fi
4369done 4982done
4370done 4983done
4984IFS=$as_save_IFS
4371 4985
4372fi 4986fi
4373fi 4987fi
4374RANLIB=$ac_cv_prog_RANLIB 4988RANLIB=$ac_cv_prog_RANLIB
4375if test -n "$RANLIB"; then 4989if test -n "$RANLIB"; then
4376 echo "$as_me:$LINENO: result: $RANLIB" >&5 4990 { echo "$as_me:$LINENO: result: $RANLIB" >&5
4377echo "${ECHO_T}$RANLIB" >&6 4991echo "${ECHO_T}$RANLIB" >&6; }
4378else 4992else
4379 echo "$as_me:$LINENO: result: no" >&5 4993 { echo "$as_me:$LINENO: result: no" >&5
4380echo "${ECHO_T}no" >&6 4994echo "${ECHO_T}no" >&6; }
4381fi 4995fi
4382 4996
4997
4383fi 4998fi
4384if test -z "$ac_cv_prog_RANLIB"; then 4999if test -z "$ac_cv_prog_RANLIB"; then
4385 ac_ct_RANLIB=$RANLIB 5000 ac_ct_RANLIB=$RANLIB
4386 # Extract the first word of "ranlib", so it can be a program name with args. 5001 # Extract the first word of "ranlib", so it can be a program name with args.
4387set dummy ranlib; ac_word=$2 5002set dummy ranlib; ac_word=$2
4388echo "$as_me:$LINENO: checking for $ac_word" >&5 5003{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4389echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 5004echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4390if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 5005if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4391 echo $ECHO_N "(cached) $ECHO_C" >&6 5006 echo $ECHO_N "(cached) $ECHO_C" >&6
4392else 5007else
@@ -4399,27 +5014,41 @@ do
4399 IFS=$as_save_IFS 5014 IFS=$as_save_IFS
4400 test -z "$as_dir" && as_dir=. 5015 test -z "$as_dir" && as_dir=.
4401 for ac_exec_ext in '' $ac_executable_extensions; do 5016 for ac_exec_ext in '' $ac_executable_extensions; do
4402 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4403 ac_cv_prog_ac_ct_RANLIB="ranlib" 5018 ac_cv_prog_ac_ct_RANLIB="ranlib"
4404 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5019 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4405 break 2 5020 break 2
4406 fi 5021 fi
4407done 5022done
4408done 5023done
5024IFS=$as_save_IFS
4409 5025
4410 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4411fi 5026fi
4412fi 5027fi
4413ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 5028ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4414if test -n "$ac_ct_RANLIB"; then 5029if test -n "$ac_ct_RANLIB"; then
4415 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 5030 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4416echo "${ECHO_T}$ac_ct_RANLIB" >&6 5031echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
4417else 5032else
4418 echo "$as_me:$LINENO: result: no" >&5 5033 { echo "$as_me:$LINENO: result: no" >&5
4419echo "${ECHO_T}no" >&6 5034echo "${ECHO_T}no" >&6; }
4420fi 5035fi
4421 5036
4422 RANLIB=$ac_ct_RANLIB 5037 if test "x$ac_ct_RANLIB" = x; then
5038 RANLIB=":"
5039 else
5040 case $cross_compiling:$ac_tool_warned in
5041yes:)
5042{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5043whose name does not start with the host triplet. If you think this
5044configuration is useful to you, please write to autoconf@gnu.org." >&5
5045echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5046whose name does not start with the host triplet. If you think this
5047configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5048ac_tool_warned=yes ;;
5049esac
5050 RANLIB=$ac_ct_RANLIB
5051 fi
4423else 5052else
4424 RANLIB="$ac_cv_prog_RANLIB" 5053 RANLIB="$ac_cv_prog_RANLIB"
4425fi 5054fi
@@ -4427,8 +5056,8 @@ fi
4427fi 5056fi
4428# Extract the first word of "install-info", so it can be a program name with args. 5057# Extract the first word of "install-info", so it can be a program name with args.
4429set dummy install-info; ac_word=$2 5058set dummy install-info; ac_word=$2
4430echo "$as_me:$LINENO: checking for $ac_word" >&5 5059{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4431echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 5060echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4432if test "${ac_cv_path_INSTALL_INFO+set}" = set; then 5061if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
4433 echo $ECHO_N "(cached) $ECHO_C" >&6 5062 echo $ECHO_N "(cached) $ECHO_C" >&6
4434else 5063else
@@ -4443,31 +5072,32 @@ do
4443 IFS=$as_save_IFS 5072 IFS=$as_save_IFS
4444 test -z "$as_dir" && as_dir=. 5073 test -z "$as_dir" && as_dir=.
4445 for ac_exec_ext in '' $ac_executable_extensions; do 5074 for ac_exec_ext in '' $ac_executable_extensions; do
4446 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4447 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" 5076 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext"
4448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5077 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4449 break 2 5078 break 2
4450 fi 5079 fi
4451done 5080done
4452done 5081done
5082IFS=$as_save_IFS
4453 5083
4454 ;; 5084 ;;
4455esac 5085esac
4456fi 5086fi
4457INSTALL_INFO=$ac_cv_path_INSTALL_INFO 5087INSTALL_INFO=$ac_cv_path_INSTALL_INFO
4458
4459if test -n "$INSTALL_INFO"; then 5088if test -n "$INSTALL_INFO"; then
4460 echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 5089 { echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
4461echo "${ECHO_T}$INSTALL_INFO" >&6 5090echo "${ECHO_T}$INSTALL_INFO" >&6; }
4462else 5091else
4463 echo "$as_me:$LINENO: result: no" >&5 5092 { echo "$as_me:$LINENO: result: no" >&5
4464echo "${ECHO_T}no" >&6 5093echo "${ECHO_T}no" >&6; }
4465fi 5094fi
4466 5095
5096
4467# Extract the first word of "install-info", so it can be a program name with args. 5097# Extract the first word of "install-info", so it can be a program name with args.
4468set dummy install-info; ac_word=$2 5098set dummy install-info; ac_word=$2
4469echo "$as_me:$LINENO: checking for $ac_word" >&5 5099{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4470echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 5100echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4471if test "${ac_cv_path_INSTALL_INFO+set}" = set; then 5101if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
4472 echo $ECHO_N "(cached) $ECHO_C" >&6 5102 echo $ECHO_N "(cached) $ECHO_C" >&6
4473else 5103else
@@ -4482,31 +5112,32 @@ do
4482 IFS=$as_save_IFS 5112 IFS=$as_save_IFS
4483 test -z "$as_dir" && as_dir=. 5113 test -z "$as_dir" && as_dir=.
4484 for ac_exec_ext in '' $ac_executable_extensions; do 5114 for ac_exec_ext in '' $ac_executable_extensions; do
4485 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4486 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" 5116 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext"
4487 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
4488 break 2 5118 break 2
4489 fi 5119 fi
4490done 5120done
4491done 5121done
5122IFS=$as_save_IFS
4492 5123
4493 ;; 5124 ;;
4494esac 5125esac
4495fi 5126fi
4496INSTALL_INFO=$ac_cv_path_INSTALL_INFO 5127INSTALL_INFO=$ac_cv_path_INSTALL_INFO
4497
4498if test -n "$INSTALL_INFO"; then 5128if test -n "$INSTALL_INFO"; then
4499 echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 5129 { echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
4500echo "${ECHO_T}$INSTALL_INFO" >&6 5130echo "${ECHO_T}$INSTALL_INFO" >&6; }
4501else 5131else
4502 echo "$as_me:$LINENO: result: no" >&5 5132 { echo "$as_me:$LINENO: result: no" >&5
4503echo "${ECHO_T}no" >&6 5133echo "${ECHO_T}no" >&6; }
4504fi 5134fi
4505 5135
5136
4506# Extract the first word of "install-info", so it can be a program name with args. 5137# Extract the first word of "install-info", so it can be a program name with args.
4507set dummy install-info; ac_word=$2 5138set dummy install-info; ac_word=$2
4508echo "$as_me:$LINENO: checking for $ac_word" >&5 5139{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4509echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 5140echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4510if test "${ac_cv_path_INSTALL_INFO+set}" = set; then 5141if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
4511 echo $ECHO_N "(cached) $ECHO_C" >&6 5142 echo $ECHO_N "(cached) $ECHO_C" >&6
4512else 5143else
@@ -4521,32 +5152,33 @@ do
4521 IFS=$as_save_IFS 5152 IFS=$as_save_IFS
4522 test -z "$as_dir" && as_dir=. 5153 test -z "$as_dir" && as_dir=.
4523 for ac_exec_ext in '' $ac_executable_extensions; do 5154 for ac_exec_ext in '' $ac_executable_extensions; do
4524 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4525 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" 5156 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext"
4526 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
4527 break 2 5158 break 2
4528 fi 5159 fi
4529done 5160done
4530done 5161done
5162IFS=$as_save_IFS
4531 5163
4532 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO=":" 5164 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO=":"
4533 ;; 5165 ;;
4534esac 5166esac
4535fi 5167fi
4536INSTALL_INFO=$ac_cv_path_INSTALL_INFO 5168INSTALL_INFO=$ac_cv_path_INSTALL_INFO
4537
4538if test -n "$INSTALL_INFO"; then 5169if test -n "$INSTALL_INFO"; then
4539 echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 5170 { echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
4540echo "${ECHO_T}$INSTALL_INFO" >&6 5171echo "${ECHO_T}$INSTALL_INFO" >&6; }
4541else 5172else
4542 echo "$as_me:$LINENO: result: no" >&5 5173 { echo "$as_me:$LINENO: result: no" >&5
4543echo "${ECHO_T}no" >&6 5174echo "${ECHO_T}no" >&6; }
4544fi 5175fi
4545 5176
5177
4546# Extract the first word of "gzip", so it can be a program name with args. 5178# Extract the first word of "gzip", so it can be a program name with args.
4547set dummy gzip; ac_word=$2 5179set dummy gzip; ac_word=$2
4548echo "$as_me:$LINENO: checking for $ac_word" >&5 5180{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4549echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 5181echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4550if test "${ac_cv_path_GZIP_PROG+set}" = set; then 5182if test "${ac_cv_path_GZIP_PROG+set}" = set; then
4551 echo $ECHO_N "(cached) $ECHO_C" >&6 5183 echo $ECHO_N "(cached) $ECHO_C" >&6
4552else 5184else
@@ -4561,29 +5193,30 @@ do
4561 IFS=$as_save_IFS 5193 IFS=$as_save_IFS
4562 test -z "$as_dir" && as_dir=. 5194 test -z "$as_dir" && as_dir=.
4563 for ac_exec_ext in '' $ac_executable_extensions; do 5195 for ac_exec_ext in '' $ac_executable_extensions; do
4564 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4565 ac_cv_path_GZIP_PROG="$as_dir/$ac_word$ac_exec_ext" 5197 ac_cv_path_GZIP_PROG="$as_dir/$ac_word$ac_exec_ext"
4566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4567 break 2 5199 break 2
4568 fi 5200 fi
4569done 5201done
4570done 5202done
5203IFS=$as_save_IFS
4571 5204
4572 ;; 5205 ;;
4573esac 5206esac
4574fi 5207fi
4575GZIP_PROG=$ac_cv_path_GZIP_PROG 5208GZIP_PROG=$ac_cv_path_GZIP_PROG
4576
4577if test -n "$GZIP_PROG"; then 5209if test -n "$GZIP_PROG"; then
4578 echo "$as_me:$LINENO: result: $GZIP_PROG" >&5 5210 { echo "$as_me:$LINENO: result: $GZIP_PROG" >&5
4579echo "${ECHO_T}$GZIP_PROG" >&6 5211echo "${ECHO_T}$GZIP_PROG" >&6; }
4580else 5212else
4581 echo "$as_me:$LINENO: result: no" >&5 5213 { echo "$as_me:$LINENO: result: no" >&5
4582echo "${ECHO_T}no" >&6 5214echo "${ECHO_T}no" >&6; }
4583fi 5215fi
4584 5216
4585 5217
4586 5218
5219
4587if test x$GCC = xyes && test "x$GCC_LINK_TEST_OPTIONS" != x 5220if test x$GCC = xyes && test "x$GCC_LINK_TEST_OPTIONS" != x
4588then 5221then
4589 ac_link="$ac_link $GCC_LINK_TEST_OPTIONS" 5222 ac_link="$ac_link $GCC_LINK_TEST_OPTIONS"
@@ -4602,43 +5235,41 @@ else
4602 LDFLAGS="$LDFLAGS -znocombreloc" 5235 LDFLAGS="$LDFLAGS -znocombreloc"
4603fi 5236fi
4604 5237
4605echo "$as_me:$LINENO: checking for -znocombreloc" >&5 5238{ echo "$as_me:$LINENO: checking for -znocombreloc" >&5
4606echo $ECHO_N "checking for -znocombreloc... $ECHO_C" >&6 5239echo $ECHO_N "checking for -znocombreloc... $ECHO_C" >&6; }
4607cat >conftest.$ac_ext <<_ACEOF 5240cat >conftest.$ac_ext <<_ACEOF
4608main(){return 0;} 5241main(){return 0;}
4609_ACEOF 5242_ACEOF
4610rm -f conftest.$ac_objext conftest$ac_exeext 5243rm -f conftest.$ac_objext conftest$ac_exeext
4611if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5244if { (ac_try="$ac_link"
4612 (eval $ac_link) 2>conftest.er1 5245case "(($ac_try" in
5246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5247 *) ac_try_echo=$ac_try;;
5248esac
5249eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5250 (eval "$ac_link") 2>conftest.er1
4613 ac_status=$? 5251 ac_status=$?
4614 grep -v '^ *+' conftest.er1 >conftest.err 5252 grep -v '^ *+' conftest.er1 >conftest.err
4615 rm -f conftest.er1 5253 rm -f conftest.er1
4616 cat conftest.err >&5 5254 cat conftest.err >&5
4617 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4618 (exit $ac_status); } && 5256 (exit $ac_status); } && {
4619 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5257 test -z "$ac_c_werror_flag" ||
4620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5258 test ! -s conftest.err
4621 (eval $ac_try) 2>&5 5259 } && test -s conftest$ac_exeext &&
4622 ac_status=$? 5260 $as_test_x conftest$ac_exeext; then
4623 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5261 { echo "$as_me:$LINENO: result: yes" >&5
4624 (exit $ac_status); }; } && 5262echo "${ECHO_T}yes" >&6; }
4625 { ac_try='test -s conftest$ac_exeext'
4626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4627 (eval $ac_try) 2>&5
4628 ac_status=$?
4629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4630 (exit $ac_status); }; }; then
4631 echo "$as_me:$LINENO: result: yes" >&5
4632echo "${ECHO_T}yes" >&6
4633else 5263else
4634 echo "$as_me: failed program was:" >&5 5264 echo "$as_me: failed program was:" >&5
4635sed 's/^/| /' conftest.$ac_ext >&5 5265sed 's/^/| /' conftest.$ac_ext >&5
4636 5266
4637LDFLAGS=$late_LDFLAGS 5267 LDFLAGS=$late_LDFLAGS
4638 echo "$as_me:$LINENO: result: no" >&5 5268 { echo "$as_me:$LINENO: result: no" >&5
4639echo "${ECHO_T}no" >&6 5269echo "${ECHO_T}no" >&6; }
4640fi 5270fi
4641rm -f conftest.err conftest.$ac_objext \ 5271
5272rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4642 conftest$ac_exeext conftest.$ac_ext 5273 conftest$ac_exeext conftest.$ac_ext
4643 5274
4644#### Extract some information from the operating system and machine files. 5275#### Extract some information from the operating system and machine files.
@@ -4792,15 +5423,15 @@ fi
4792 5423
4793 5424
4794 5425
4795# Check whether --enable-largefile or --disable-largefile was given. 5426# Check whether --enable-largefile was given.
4796if test "${enable_largefile+set}" = set; then 5427if test "${enable_largefile+set}" = set; then
4797 enableval="$enable_largefile" 5428 enableval=$enable_largefile;
5429fi
4798 5430
4799fi;
4800if test "$enable_largefile" != no; then 5431if test "$enable_largefile" != no; then
4801 5432
4802 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5 5433 { echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4803echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6 5434echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6; }
4804if test "${ac_cv_sys_largefile_CC+set}" = set; then 5435if test "${ac_cv_sys_largefile_CC+set}" = set; then
4805 echo $ECHO_N "(cached) $ECHO_C" >&6 5436 echo $ECHO_N "(cached) $ECHO_C" >&6
4806else 5437else
@@ -4808,8 +5439,8 @@ else
4808 if test "$GCC" != yes; then 5439 if test "$GCC" != yes; then
4809 ac_save_CC=$CC 5440 ac_save_CC=$CC
4810 while :; do 5441 while :; do
4811 # IRIX 6.2 and later do not support large files by default, 5442 # IRIX 6.2 and later do not support large files by default,
4812 # so use the C compiler's -n32 option if that helps. 5443 # so use the C compiler's -n32 option if that helps.
4813 cat >conftest.$ac_ext <<_ACEOF 5444 cat >conftest.$ac_ext <<_ACEOF
4814/* confdefs.h. */ 5445/* confdefs.h. */
4815_ACEOF 5446_ACEOF
@@ -4833,82 +5464,77 @@ main ()
4833 return 0; 5464 return 0;
4834} 5465}
4835_ACEOF 5466_ACEOF
4836 rm -f conftest.$ac_objext 5467 rm -f conftest.$ac_objext
4837if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5468if { (ac_try="$ac_compile"
4838 (eval $ac_compile) 2>conftest.er1 5469case "(($ac_try" in
5470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5471 *) ac_try_echo=$ac_try;;
5472esac
5473eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5474 (eval "$ac_compile") 2>conftest.er1
4839 ac_status=$? 5475 ac_status=$?
4840 grep -v '^ *+' conftest.er1 >conftest.err 5476 grep -v '^ *+' conftest.er1 >conftest.err
4841 rm -f conftest.er1 5477 rm -f conftest.er1
4842 cat conftest.err >&5 5478 cat conftest.err >&5
4843 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4844 (exit $ac_status); } && 5480 (exit $ac_status); } && {
4845 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5481 test -z "$ac_c_werror_flag" ||
4846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5482 test ! -s conftest.err
4847 (eval $ac_try) 2>&5 5483 } && test -s conftest.$ac_objext; then
4848 ac_status=$?
4849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4850 (exit $ac_status); }; } &&
4851 { ac_try='test -s conftest.$ac_objext'
4852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4853 (eval $ac_try) 2>&5
4854 ac_status=$?
4855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4856 (exit $ac_status); }; }; then
4857 break 5484 break
4858else 5485else
4859 echo "$as_me: failed program was:" >&5 5486 echo "$as_me: failed program was:" >&5
4860sed 's/^/| /' conftest.$ac_ext >&5 5487sed 's/^/| /' conftest.$ac_ext >&5
4861 5488
5489
4862fi 5490fi
4863rm -f conftest.err conftest.$ac_objext 5491
4864 CC="$CC -n32" 5492rm -f core conftest.err conftest.$ac_objext
4865 rm -f conftest.$ac_objext 5493 CC="$CC -n32"
4866if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5494 rm -f conftest.$ac_objext
4867 (eval $ac_compile) 2>conftest.er1 5495if { (ac_try="$ac_compile"
5496case "(($ac_try" in
5497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5498 *) ac_try_echo=$ac_try;;
5499esac
5500eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5501 (eval "$ac_compile") 2>conftest.er1
4868 ac_status=$? 5502 ac_status=$?
4869 grep -v '^ *+' conftest.er1 >conftest.err 5503 grep -v '^ *+' conftest.er1 >conftest.err
4870 rm -f conftest.er1 5504 rm -f conftest.er1
4871 cat conftest.err >&5 5505 cat conftest.err >&5
4872 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4873 (exit $ac_status); } && 5507 (exit $ac_status); } && {
4874 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5508 test -z "$ac_c_werror_flag" ||
4875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5509 test ! -s conftest.err
4876 (eval $ac_try) 2>&5 5510 } && test -s conftest.$ac_objext; then
4877 ac_status=$?
4878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4879 (exit $ac_status); }; } &&
4880 { ac_try='test -s conftest.$ac_objext'
4881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4882 (eval $ac_try) 2>&5
4883 ac_status=$?
4884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4885 (exit $ac_status); }; }; then
4886 ac_cv_sys_largefile_CC=' -n32'; break 5511 ac_cv_sys_largefile_CC=' -n32'; break
4887else 5512else
4888 echo "$as_me: failed program was:" >&5 5513 echo "$as_me: failed program was:" >&5
4889sed 's/^/| /' conftest.$ac_ext >&5 5514sed 's/^/| /' conftest.$ac_ext >&5
4890 5515
5516
4891fi 5517fi
4892rm -f conftest.err conftest.$ac_objext 5518
5519rm -f core conftest.err conftest.$ac_objext
4893 break 5520 break
4894 done 5521 done
4895 CC=$ac_save_CC 5522 CC=$ac_save_CC
4896 rm -f conftest.$ac_ext 5523 rm -f conftest.$ac_ext
4897 fi 5524 fi
4898fi 5525fi
4899echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5 5526{ echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4900echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6 5527echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6; }
4901 if test "$ac_cv_sys_largefile_CC" != no; then 5528 if test "$ac_cv_sys_largefile_CC" != no; then
4902 CC=$CC$ac_cv_sys_largefile_CC 5529 CC=$CC$ac_cv_sys_largefile_CC
4903 fi 5530 fi
4904 5531
4905 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5 5532 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4906echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6 5533echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
4907if test "${ac_cv_sys_file_offset_bits+set}" = set; then 5534if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4908 echo $ECHO_N "(cached) $ECHO_C" >&6 5535 echo $ECHO_N "(cached) $ECHO_C" >&6
4909else 5536else
4910 while :; do 5537 while :; do
4911 ac_cv_sys_file_offset_bits=no
4912 cat >conftest.$ac_ext <<_ACEOF 5538 cat >conftest.$ac_ext <<_ACEOF
4913/* confdefs.h. */ 5539/* confdefs.h. */
4914_ACEOF 5540_ACEOF
@@ -4933,33 +5559,31 @@ main ()
4933} 5559}
4934_ACEOF 5560_ACEOF
4935rm -f conftest.$ac_objext 5561rm -f conftest.$ac_objext
4936if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5562if { (ac_try="$ac_compile"
4937 (eval $ac_compile) 2>conftest.er1 5563case "(($ac_try" in
5564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5565 *) ac_try_echo=$ac_try;;
5566esac
5567eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5568 (eval "$ac_compile") 2>conftest.er1
4938 ac_status=$? 5569 ac_status=$?
4939 grep -v '^ *+' conftest.er1 >conftest.err 5570 grep -v '^ *+' conftest.er1 >conftest.err
4940 rm -f conftest.er1 5571 rm -f conftest.er1
4941 cat conftest.err >&5 5572 cat conftest.err >&5
4942 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4943 (exit $ac_status); } && 5574 (exit $ac_status); } && {
4944 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5575 test -z "$ac_c_werror_flag" ||
4945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5576 test ! -s conftest.err
4946 (eval $ac_try) 2>&5 5577 } && test -s conftest.$ac_objext; then
4947 ac_status=$? 5578 ac_cv_sys_file_offset_bits=no; break
4948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4949 (exit $ac_status); }; } &&
4950 { ac_try='test -s conftest.$ac_objext'
4951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4952 (eval $ac_try) 2>&5
4953 ac_status=$?
4954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4955 (exit $ac_status); }; }; then
4956 break
4957else 5579else
4958 echo "$as_me: failed program was:" >&5 5580 echo "$as_me: failed program was:" >&5
4959sed 's/^/| /' conftest.$ac_ext >&5 5581sed 's/^/| /' conftest.$ac_ext >&5
4960 5582
5583
4961fi 5584fi
4962rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5585
5586rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4963 cat >conftest.$ac_ext <<_ACEOF 5587 cat >conftest.$ac_ext <<_ACEOF
4964/* confdefs.h. */ 5588/* confdefs.h. */
4965_ACEOF 5589_ACEOF
@@ -4985,53 +5609,53 @@ main ()
4985} 5609}
4986_ACEOF 5610_ACEOF
4987rm -f conftest.$ac_objext 5611rm -f conftest.$ac_objext
4988if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5612if { (ac_try="$ac_compile"
4989 (eval $ac_compile) 2>conftest.er1 5613case "(($ac_try" in
5614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5615 *) ac_try_echo=$ac_try;;
5616esac
5617eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5618 (eval "$ac_compile") 2>conftest.er1
4990 ac_status=$? 5619 ac_status=$?
4991 grep -v '^ *+' conftest.er1 >conftest.err 5620 grep -v '^ *+' conftest.er1 >conftest.err
4992 rm -f conftest.er1 5621 rm -f conftest.er1
4993 cat conftest.err >&5 5622 cat conftest.err >&5
4994 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4995 (exit $ac_status); } && 5624 (exit $ac_status); } && {
4996 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5625 test -z "$ac_c_werror_flag" ||
4997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5626 test ! -s conftest.err
4998 (eval $ac_try) 2>&5 5627 } && test -s conftest.$ac_objext; then
4999 ac_status=$?
5000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5001 (exit $ac_status); }; } &&
5002 { ac_try='test -s conftest.$ac_objext'
5003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5004 (eval $ac_try) 2>&5
5005 ac_status=$?
5006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5007 (exit $ac_status); }; }; then
5008 ac_cv_sys_file_offset_bits=64; break 5628 ac_cv_sys_file_offset_bits=64; break
5009else 5629else
5010 echo "$as_me: failed program was:" >&5 5630 echo "$as_me: failed program was:" >&5
5011sed 's/^/| /' conftest.$ac_ext >&5 5631sed 's/^/| /' conftest.$ac_ext >&5
5012 5632
5633
5013fi 5634fi
5014rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5635
5636rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5637 ac_cv_sys_file_offset_bits=unknown
5015 break 5638 break
5016done 5639done
5017fi 5640fi
5018echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5 5641{ echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
5019echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6 5642echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
5020if test "$ac_cv_sys_file_offset_bits" != no; then 5643case $ac_cv_sys_file_offset_bits in #(
5021 5644 no | unknown) ;;
5645 *)
5022cat >>confdefs.h <<_ACEOF 5646cat >>confdefs.h <<_ACEOF
5023#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 5647#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5024_ACEOF 5648_ACEOF
5025 5649;;
5026fi 5650esac
5027rm -f conftest* 5651rm -f conftest*
5028 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5 5652 if test $ac_cv_sys_file_offset_bits = unknown; then
5029echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6 5653 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
5654echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
5030if test "${ac_cv_sys_large_files+set}" = set; then 5655if test "${ac_cv_sys_large_files+set}" = set; then
5031 echo $ECHO_N "(cached) $ECHO_C" >&6 5656 echo $ECHO_N "(cached) $ECHO_C" >&6
5032else 5657else
5033 while :; do 5658 while :; do
5034 ac_cv_sys_large_files=no
5035 cat >conftest.$ac_ext <<_ACEOF 5659 cat >conftest.$ac_ext <<_ACEOF
5036/* confdefs.h. */ 5660/* confdefs.h. */
5037_ACEOF 5661_ACEOF
@@ -5056,33 +5680,31 @@ main ()
5056} 5680}
5057_ACEOF 5681_ACEOF
5058rm -f conftest.$ac_objext 5682rm -f conftest.$ac_objext
5059if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5683if { (ac_try="$ac_compile"
5060 (eval $ac_compile) 2>conftest.er1 5684case "(($ac_try" in
5685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5686 *) ac_try_echo=$ac_try;;
5687esac
5688eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5689 (eval "$ac_compile") 2>conftest.er1
5061 ac_status=$? 5690 ac_status=$?
5062 grep -v '^ *+' conftest.er1 >conftest.err 5691 grep -v '^ *+' conftest.er1 >conftest.err
5063 rm -f conftest.er1 5692 rm -f conftest.er1
5064 cat conftest.err >&5 5693 cat conftest.err >&5
5065 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5066 (exit $ac_status); } && 5695 (exit $ac_status); } && {
5067 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5696 test -z "$ac_c_werror_flag" ||
5068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5697 test ! -s conftest.err
5069 (eval $ac_try) 2>&5 5698 } && test -s conftest.$ac_objext; then
5070 ac_status=$? 5699 ac_cv_sys_large_files=no; break
5071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5072 (exit $ac_status); }; } &&
5073 { ac_try='test -s conftest.$ac_objext'
5074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5075 (eval $ac_try) 2>&5
5076 ac_status=$?
5077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5078 (exit $ac_status); }; }; then
5079 break
5080else 5700else
5081 echo "$as_me: failed program was:" >&5 5701 echo "$as_me: failed program was:" >&5
5082sed 's/^/| /' conftest.$ac_ext >&5 5702sed 's/^/| /' conftest.$ac_ext >&5
5083 5703
5704
5084fi 5705fi
5085rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5706
5707rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5086 cat >conftest.$ac_ext <<_ACEOF 5708 cat >conftest.$ac_ext <<_ACEOF
5087/* confdefs.h. */ 5709/* confdefs.h. */
5088_ACEOF 5710_ACEOF
@@ -5108,46 +5730,47 @@ main ()
5108} 5730}
5109_ACEOF 5731_ACEOF
5110rm -f conftest.$ac_objext 5732rm -f conftest.$ac_objext
5111if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5733if { (ac_try="$ac_compile"
5112 (eval $ac_compile) 2>conftest.er1 5734case "(($ac_try" in
5735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5736 *) ac_try_echo=$ac_try;;
5737esac
5738eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5739 (eval "$ac_compile") 2>conftest.er1
5113 ac_status=$? 5740 ac_status=$?
5114 grep -v '^ *+' conftest.er1 >conftest.err 5741 grep -v '^ *+' conftest.er1 >conftest.err
5115 rm -f conftest.er1 5742 rm -f conftest.er1
5116 cat conftest.err >&5 5743 cat conftest.err >&5
5117 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5118 (exit $ac_status); } && 5745 (exit $ac_status); } && {
5119 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5746 test -z "$ac_c_werror_flag" ||
5120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5747 test ! -s conftest.err
5121 (eval $ac_try) 2>&5 5748 } && test -s conftest.$ac_objext; then
5122 ac_status=$?
5123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5124 (exit $ac_status); }; } &&
5125 { ac_try='test -s conftest.$ac_objext'
5126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5127 (eval $ac_try) 2>&5
5128 ac_status=$?
5129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5130 (exit $ac_status); }; }; then
5131 ac_cv_sys_large_files=1; break 5749 ac_cv_sys_large_files=1; break
5132else 5750else
5133 echo "$as_me: failed program was:" >&5 5751 echo "$as_me: failed program was:" >&5
5134sed 's/^/| /' conftest.$ac_ext >&5 5752sed 's/^/| /' conftest.$ac_ext >&5
5135 5753
5754
5136fi 5755fi
5137rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5756
5757rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5758 ac_cv_sys_large_files=unknown
5138 break 5759 break
5139done 5760done
5140fi 5761fi
5141echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5 5762{ echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
5142echo "${ECHO_T}$ac_cv_sys_large_files" >&6 5763echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
5143if test "$ac_cv_sys_large_files" != no; then 5764case $ac_cv_sys_large_files in #(
5144 5765 no | unknown) ;;
5766 *)
5145cat >>confdefs.h <<_ACEOF 5767cat >>confdefs.h <<_ACEOF
5146#define _LARGE_FILES $ac_cv_sys_large_files 5768#define _LARGE_FILES $ac_cv_sys_large_files
5147_ACEOF 5769_ACEOF
5148 5770;;
5149fi 5771esac
5150rm -f conftest* 5772rm -f conftest*
5773 fi
5151fi 5774fi
5152 5775
5153 5776
@@ -5157,8 +5780,8 @@ fi
5157 5780
5158if test "${with_sound}" != "no"; then 5781if test "${with_sound}" != "no"; then
5159 # Sound support for GNU/Linux and the free BSDs. 5782 # Sound support for GNU/Linux and the free BSDs.
5160 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 5783 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5161echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 5784echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5162if test "${ac_cv_header_stdc+set}" = set; then 5785if test "${ac_cv_header_stdc+set}" = set; then
5163 echo $ECHO_N "(cached) $ECHO_C" >&6 5786 echo $ECHO_N "(cached) $ECHO_C" >&6
5164else 5787else
@@ -5182,34 +5805,31 @@ main ()
5182} 5805}
5183_ACEOF 5806_ACEOF
5184rm -f conftest.$ac_objext 5807rm -f conftest.$ac_objext
5185if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5808if { (ac_try="$ac_compile"
5186 (eval $ac_compile) 2>conftest.er1 5809case "(($ac_try" in
5810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5811 *) ac_try_echo=$ac_try;;
5812esac
5813eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5814 (eval "$ac_compile") 2>conftest.er1
5187 ac_status=$? 5815 ac_status=$?
5188 grep -v '^ *+' conftest.er1 >conftest.err 5816 grep -v '^ *+' conftest.er1 >conftest.err
5189 rm -f conftest.er1 5817 rm -f conftest.er1
5190 cat conftest.err >&5 5818 cat conftest.err >&5
5191 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5192 (exit $ac_status); } && 5820 (exit $ac_status); } && {
5193 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5821 test -z "$ac_c_werror_flag" ||
5194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5822 test ! -s conftest.err
5195 (eval $ac_try) 2>&5 5823 } && test -s conftest.$ac_objext; then
5196 ac_status=$?
5197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5198 (exit $ac_status); }; } &&
5199 { ac_try='test -s conftest.$ac_objext'
5200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5201 (eval $ac_try) 2>&5
5202 ac_status=$?
5203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5204 (exit $ac_status); }; }; then
5205 ac_cv_header_stdc=yes 5824 ac_cv_header_stdc=yes
5206else 5825else
5207 echo "$as_me: failed program was:" >&5 5826 echo "$as_me: failed program was:" >&5
5208sed 's/^/| /' conftest.$ac_ext >&5 5827sed 's/^/| /' conftest.$ac_ext >&5
5209 5828
5210ac_cv_header_stdc=no 5829 ac_cv_header_stdc=no
5211fi 5830fi
5212rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5831
5832rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5213 5833
5214if test $ac_cv_header_stdc = yes; then 5834if test $ac_cv_header_stdc = yes; then
5215 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 5835 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
@@ -5265,6 +5885,7 @@ cat confdefs.h >>conftest.$ac_ext
5265cat >>conftest.$ac_ext <<_ACEOF 5885cat >>conftest.$ac_ext <<_ACEOF
5266/* end confdefs.h. */ 5886/* end confdefs.h. */
5267#include <ctype.h> 5887#include <ctype.h>
5888#include <stdlib.h>
5268#if ((' ' & 0x0FF) == 0x020) 5889#if ((' ' & 0x0FF) == 0x020)
5269# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 5890# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5270# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 5891# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
@@ -5284,18 +5905,27 @@ main ()
5284 for (i = 0; i < 256; i++) 5905 for (i = 0; i < 256; i++)
5285 if (XOR (islower (i), ISLOWER (i)) 5906 if (XOR (islower (i), ISLOWER (i))
5286 || toupper (i) != TOUPPER (i)) 5907 || toupper (i) != TOUPPER (i))
5287 exit(2); 5908 return 2;
5288 exit (0); 5909 return 0;
5289} 5910}
5290_ACEOF 5911_ACEOF
5291rm -f conftest$ac_exeext 5912rm -f conftest$ac_exeext
5292if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5913if { (ac_try="$ac_link"
5293 (eval $ac_link) 2>&5 5914case "(($ac_try" in
5915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5916 *) ac_try_echo=$ac_try;;
5917esac
5918eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5919 (eval "$ac_link") 2>&5
5294 ac_status=$? 5920 ac_status=$?
5295 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5296 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5922 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5923 { (case "(($ac_try" in
5298 (eval $ac_try) 2>&5 5924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5925 *) ac_try_echo=$ac_try;;
5926esac
5927eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5928 (eval "$ac_try") 2>&5
5299 ac_status=$? 5929 ac_status=$?
5300 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5301 (exit $ac_status); }; }; then 5931 (exit $ac_status); }; }; then
@@ -5308,12 +5938,14 @@ sed 's/^/| /' conftest.$ac_ext >&5
5308( exit $ac_status ) 5938( exit $ac_status )
5309ac_cv_header_stdc=no 5939ac_cv_header_stdc=no
5310fi 5940fi
5311rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5941rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5312fi 5942fi
5943
5944
5313fi 5945fi
5314fi 5946fi
5315echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 5947{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5316echo "${ECHO_T}$ac_cv_header_stdc" >&6 5948echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5317if test $ac_cv_header_stdc = yes; then 5949if test $ac_cv_header_stdc = yes; then
5318 5950
5319cat >>confdefs.h <<\_ACEOF 5951cat >>confdefs.h <<\_ACEOF
@@ -5336,9 +5968,9 @@ for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5336 inttypes.h stdint.h unistd.h 5968 inttypes.h stdint.h unistd.h
5337do 5969do
5338as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5970as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5339echo "$as_me:$LINENO: checking for $ac_header" >&5 5971{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5340echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5972echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5341if eval "test \"\${$as_ac_Header+set}\" = set"; then 5973if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5342 echo $ECHO_N "(cached) $ECHO_C" >&6 5974 echo $ECHO_N "(cached) $ECHO_C" >&6
5343else 5975else
5344 cat >conftest.$ac_ext <<_ACEOF 5976 cat >conftest.$ac_ext <<_ACEOF
@@ -5352,37 +5984,35 @@ $ac_includes_default
5352#include <$ac_header> 5984#include <$ac_header>
5353_ACEOF 5985_ACEOF
5354rm -f conftest.$ac_objext 5986rm -f conftest.$ac_objext
5355if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5987if { (ac_try="$ac_compile"
5356 (eval $ac_compile) 2>conftest.er1 5988case "(($ac_try" in
5989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5990 *) ac_try_echo=$ac_try;;
5991esac
5992eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5993 (eval "$ac_compile") 2>conftest.er1
5357 ac_status=$? 5994 ac_status=$?
5358 grep -v '^ *+' conftest.er1 >conftest.err 5995 grep -v '^ *+' conftest.er1 >conftest.err
5359 rm -f conftest.er1 5996 rm -f conftest.er1
5360 cat conftest.err >&5 5997 cat conftest.err >&5
5361 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5362 (exit $ac_status); } && 5999 (exit $ac_status); } && {
5363 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 6000 test -z "$ac_c_werror_flag" ||
5364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6001 test ! -s conftest.err
5365 (eval $ac_try) 2>&5 6002 } && test -s conftest.$ac_objext; then
5366 ac_status=$?
5367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5368 (exit $ac_status); }; } &&
5369 { ac_try='test -s conftest.$ac_objext'
5370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5371 (eval $ac_try) 2>&5
5372 ac_status=$?
5373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5374 (exit $ac_status); }; }; then
5375 eval "$as_ac_Header=yes" 6003 eval "$as_ac_Header=yes"
5376else 6004else
5377 echo "$as_me: failed program was:" >&5 6005 echo "$as_me: failed program was:" >&5
5378sed 's/^/| /' conftest.$ac_ext >&5 6006sed 's/^/| /' conftest.$ac_ext >&5
5379 6007
5380eval "$as_ac_Header=no" 6008 eval "$as_ac_Header=no"
5381fi 6009fi
5382rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6010
6011rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5383fi 6012fi
5384echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 6013ac_res=`eval echo '${'$as_ac_Header'}'`
5385echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6014 { echo "$as_me:$LINENO: result: $ac_res" >&5
6015echo "${ECHO_T}$ac_res" >&6; }
5386if test `eval echo '${'$as_ac_Header'}'` = yes; then 6016if test `eval echo '${'$as_ac_Header'}'` = yes; then
5387 cat >>confdefs.h <<_ACEOF 6017 cat >>confdefs.h <<_ACEOF
5388#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6018#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
@@ -5399,18 +6029,19 @@ done
5399for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h 6029for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h
5400do 6030do
5401as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6031as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5402if eval "test \"\${$as_ac_Header+set}\" = set"; then 6032if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5403 echo "$as_me:$LINENO: checking for $ac_header" >&5 6033 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5404echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 6034echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5405if eval "test \"\${$as_ac_Header+set}\" = set"; then 6035if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5406 echo $ECHO_N "(cached) $ECHO_C" >&6 6036 echo $ECHO_N "(cached) $ECHO_C" >&6
5407fi 6037fi
5408echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 6038ac_res=`eval echo '${'$as_ac_Header'}'`
5409echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6039 { echo "$as_me:$LINENO: result: $ac_res" >&5
6040echo "${ECHO_T}$ac_res" >&6; }
5410else 6041else
5411 # Is the header compilable? 6042 # Is the header compilable?
5412echo "$as_me:$LINENO: checking $ac_header usability" >&5 6043{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5413echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 6044echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5414cat >conftest.$ac_ext <<_ACEOF 6045cat >conftest.$ac_ext <<_ACEOF
5415/* confdefs.h. */ 6046/* confdefs.h. */
5416_ACEOF 6047_ACEOF
@@ -5421,40 +6052,37 @@ $ac_includes_default
5421#include <$ac_header> 6052#include <$ac_header>
5422_ACEOF 6053_ACEOF
5423rm -f conftest.$ac_objext 6054rm -f conftest.$ac_objext
5424if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6055if { (ac_try="$ac_compile"
5425 (eval $ac_compile) 2>conftest.er1 6056case "(($ac_try" in
6057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6058 *) ac_try_echo=$ac_try;;
6059esac
6060eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6061 (eval "$ac_compile") 2>conftest.er1
5426 ac_status=$? 6062 ac_status=$?
5427 grep -v '^ *+' conftest.er1 >conftest.err 6063 grep -v '^ *+' conftest.er1 >conftest.err
5428 rm -f conftest.er1 6064 rm -f conftest.er1
5429 cat conftest.err >&5 6065 cat conftest.err >&5
5430 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5431 (exit $ac_status); } && 6067 (exit $ac_status); } && {
5432 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 6068 test -z "$ac_c_werror_flag" ||
5433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6069 test ! -s conftest.err
5434 (eval $ac_try) 2>&5 6070 } && test -s conftest.$ac_objext; then
5435 ac_status=$?
5436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5437 (exit $ac_status); }; } &&
5438 { ac_try='test -s conftest.$ac_objext'
5439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5440 (eval $ac_try) 2>&5
5441 ac_status=$?
5442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5443 (exit $ac_status); }; }; then
5444 ac_header_compiler=yes 6071 ac_header_compiler=yes
5445else 6072else
5446 echo "$as_me: failed program was:" >&5 6073 echo "$as_me: failed program was:" >&5
5447sed 's/^/| /' conftest.$ac_ext >&5 6074sed 's/^/| /' conftest.$ac_ext >&5
5448 6075
5449ac_header_compiler=no 6076 ac_header_compiler=no
5450fi 6077fi
5451rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6078
5452echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6079rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5453echo "${ECHO_T}$ac_header_compiler" >&6 6080{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6081echo "${ECHO_T}$ac_header_compiler" >&6; }
5454 6082
5455# Is the header present? 6083# Is the header present?
5456echo "$as_me:$LINENO: checking $ac_header presence" >&5 6084{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5457echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 6085echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5458cat >conftest.$ac_ext <<_ACEOF 6086cat >conftest.$ac_ext <<_ACEOF
5459/* confdefs.h. */ 6087/* confdefs.h. */
5460_ACEOF 6088_ACEOF
@@ -5463,24 +6091,22 @@ cat >>conftest.$ac_ext <<_ACEOF
5463/* end confdefs.h. */ 6091/* end confdefs.h. */
5464#include <$ac_header> 6092#include <$ac_header>
5465_ACEOF 6093_ACEOF
5466if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6094if { (ac_try="$ac_cpp conftest.$ac_ext"
5467 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6095case "(($ac_try" in
6096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6097 *) ac_try_echo=$ac_try;;
6098esac
6099eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6100 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5468 ac_status=$? 6101 ac_status=$?
5469 grep -v '^ *+' conftest.er1 >conftest.err 6102 grep -v '^ *+' conftest.er1 >conftest.err
5470 rm -f conftest.er1 6103 rm -f conftest.er1
5471 cat conftest.err >&5 6104 cat conftest.err >&5
5472 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5473 (exit $ac_status); } >/dev/null; then 6106 (exit $ac_status); } >/dev/null && {
5474 if test -s conftest.err; then 6107 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5475 ac_cpp_err=$ac_c_preproc_warn_flag 6108 test ! -s conftest.err
5476 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 6109 }; then
5477 else
5478 ac_cpp_err=
5479 fi
5480else
5481 ac_cpp_err=yes
5482fi
5483if test -z "$ac_cpp_err"; then
5484 ac_header_preproc=yes 6110 ac_header_preproc=yes
5485else 6111else
5486 echo "$as_me: failed program was:" >&5 6112 echo "$as_me: failed program was:" >&5
@@ -5488,9 +6114,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
5488 6114
5489 ac_header_preproc=no 6115 ac_header_preproc=no
5490fi 6116fi
6117
5491rm -f conftest.err conftest.$ac_ext 6118rm -f conftest.err conftest.$ac_ext
5492echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6119{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5493echo "${ECHO_T}$ac_header_preproc" >&6 6120echo "${ECHO_T}$ac_header_preproc" >&6; }
5494 6121
5495# So? What about this header? 6122# So? What about this header?
5496case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6123case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
@@ -5514,25 +6141,19 @@ echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\
5514echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6141echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5515 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6142 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5516echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6143echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5517 ( 6144
5518 cat <<\_ASBOX
5519## ------------------------------------------ ##
5520## Report this to the AC_PACKAGE_NAME lists. ##
5521## ------------------------------------------ ##
5522_ASBOX
5523 ) |
5524 sed "s/^/$as_me: WARNING: /" >&2
5525 ;; 6145 ;;
5526esac 6146esac
5527echo "$as_me:$LINENO: checking for $ac_header" >&5 6147{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5528echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 6148echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5529if eval "test \"\${$as_ac_Header+set}\" = set"; then 6149if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5530 echo $ECHO_N "(cached) $ECHO_C" >&6 6150 echo $ECHO_N "(cached) $ECHO_C" >&6
5531else 6151else
5532 eval "$as_ac_Header=\$ac_header_preproc" 6152 eval "$as_ac_Header=\$ac_header_preproc"
5533fi 6153fi
5534echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 6154ac_res=`eval echo '${'$as_ac_Header'}'`
5535echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6155 { echo "$as_me:$LINENO: result: $ac_res" >&5
6156echo "${ECHO_T}$ac_res" >&6; }
5536 6157
5537fi 6158fi
5538if test `eval echo '${'$as_ac_Header'}'` = yes; then 6159if test `eval echo '${'$as_ac_Header'}'` = yes; then
@@ -5545,8 +6166,8 @@ fi
5545done 6166done
5546 6167
5547 # Emulation library used on NetBSD. 6168 # Emulation library used on NetBSD.
5548 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5 6169 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
5549echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6 6170echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
5550if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then 6171if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
5551 echo $ECHO_N "(cached) $ECHO_C" >&6 6172 echo $ECHO_N "(cached) $ECHO_C" >&6
5552else 6173else
@@ -5559,55 +6180,53 @@ cat confdefs.h >>conftest.$ac_ext
5559cat >>conftest.$ac_ext <<_ACEOF 6180cat >>conftest.$ac_ext <<_ACEOF
5560/* end confdefs.h. */ 6181/* end confdefs.h. */
5561 6182
5562/* Override any gcc2 internal prototype to avoid an error. */ 6183/* Override any GCC internal prototype to avoid an error.
6184 Use char because int might match the return type of a GCC
6185 builtin and then its argument prototype would still apply. */
5563#ifdef __cplusplus 6186#ifdef __cplusplus
5564extern "C" 6187extern "C"
5565#endif 6188#endif
5566/* We use char because int might match the return type of a gcc2
5567 builtin and then its argument prototype would still apply. */
5568char _oss_ioctl (); 6189char _oss_ioctl ();
5569int 6190int
5570main () 6191main ()
5571{ 6192{
5572_oss_ioctl (); 6193return _oss_ioctl ();
5573 ; 6194 ;
5574 return 0; 6195 return 0;
5575} 6196}
5576_ACEOF 6197_ACEOF
5577rm -f conftest.$ac_objext conftest$ac_exeext 6198rm -f conftest.$ac_objext conftest$ac_exeext
5578if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6199if { (ac_try="$ac_link"
5579 (eval $ac_link) 2>conftest.er1 6200case "(($ac_try" in
6201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6202 *) ac_try_echo=$ac_try;;
6203esac
6204eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6205 (eval "$ac_link") 2>conftest.er1
5580 ac_status=$? 6206 ac_status=$?
5581 grep -v '^ *+' conftest.er1 >conftest.err 6207 grep -v '^ *+' conftest.er1 >conftest.err
5582 rm -f conftest.er1 6208 rm -f conftest.er1
5583 cat conftest.err >&5 6209 cat conftest.err >&5
5584 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5585 (exit $ac_status); } && 6211 (exit $ac_status); } && {
5586 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 6212 test -z "$ac_c_werror_flag" ||
5587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6213 test ! -s conftest.err
5588 (eval $ac_try) 2>&5 6214 } && test -s conftest$ac_exeext &&
5589 ac_status=$? 6215 $as_test_x conftest$ac_exeext; then
5590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5591 (exit $ac_status); }; } &&
5592 { ac_try='test -s conftest$ac_exeext'
5593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5594 (eval $ac_try) 2>&5
5595 ac_status=$?
5596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5597 (exit $ac_status); }; }; then
5598 ac_cv_lib_ossaudio__oss_ioctl=yes 6216 ac_cv_lib_ossaudio__oss_ioctl=yes
5599else 6217else
5600 echo "$as_me: failed program was:" >&5 6218 echo "$as_me: failed program was:" >&5
5601sed 's/^/| /' conftest.$ac_ext >&5 6219sed 's/^/| /' conftest.$ac_ext >&5
5602 6220
5603ac_cv_lib_ossaudio__oss_ioctl=no 6221 ac_cv_lib_ossaudio__oss_ioctl=no
5604fi 6222fi
5605rm -f conftest.err conftest.$ac_objext \ 6223
6224rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5606 conftest$ac_exeext conftest.$ac_ext 6225 conftest$ac_exeext conftest.$ac_ext
5607LIBS=$ac_check_lib_save_LIBS 6226LIBS=$ac_check_lib_save_LIBS
5608fi 6227fi
5609echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 6228{ echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5610echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6 6229echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5611if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then 6230if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
5612 LIBSOUND=-lossaudio 6231 LIBSOUND=-lossaudio
5613else 6232else
@@ -5627,8 +6246,8 @@ fi
5627 if test -z "$PKG_CONFIG"; then 6246 if test -z "$PKG_CONFIG"; then
5628 # Extract the first word of "pkg-config", so it can be a program name with args. 6247 # Extract the first word of "pkg-config", so it can be a program name with args.
5629set dummy pkg-config; ac_word=$2 6248set dummy pkg-config; ac_word=$2
5630echo "$as_me:$LINENO: checking for $ac_word" >&5 6249{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5631echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 6250echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5632if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 6251if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
5633 echo $ECHO_N "(cached) $ECHO_C" >&6 6252 echo $ECHO_N "(cached) $ECHO_C" >&6
5634else 6253else
@@ -5643,28 +6262,29 @@ do
5643 IFS=$as_save_IFS 6262 IFS=$as_save_IFS
5644 test -z "$as_dir" && as_dir=. 6263 test -z "$as_dir" && as_dir=.
5645 for ac_exec_ext in '' $ac_executable_extensions; do 6264 for ac_exec_ext in '' $ac_executable_extensions; do
5646 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5647 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 6266 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5648 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5649 break 2 6268 break 2
5650 fi 6269 fi
5651done 6270done
5652done 6271done
6272IFS=$as_save_IFS
5653 6273
5654 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" 6274 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
5655 ;; 6275 ;;
5656esac 6276esac
5657fi 6277fi
5658PKG_CONFIG=$ac_cv_path_PKG_CONFIG 6278PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5659
5660if test -n "$PKG_CONFIG"; then 6279if test -n "$PKG_CONFIG"; then
5661 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 6280 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
5662echo "${ECHO_T}$PKG_CONFIG" >&6 6281echo "${ECHO_T}$PKG_CONFIG" >&6; }
5663else 6282else
5664 echo "$as_me:$LINENO: result: no" >&5 6283 { echo "$as_me:$LINENO: result: no" >&5
5665echo "${ECHO_T}no" >&6 6284echo "${ECHO_T}no" >&6; }
5666fi 6285fi
5667 6286
6287
5668 fi 6288 fi
5669 6289
5670 if test "$PKG_CONFIG" = "no" ; then 6290 if test "$PKG_CONFIG" = "no" ; then
@@ -5672,28 +6292,28 @@ fi
5672 else 6292 else
5673 PKG_CONFIG_MIN_VERSION=0.9.0 6293 PKG_CONFIG_MIN_VERSION=0.9.0
5674 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 6294 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
5675 echo "$as_me:$LINENO: checking for $ALSA_MODULES" >&5 6295 { echo "$as_me:$LINENO: checking for $ALSA_MODULES" >&5
5676echo $ECHO_N "checking for $ALSA_MODULES... $ECHO_C" >&6 6296echo $ECHO_N "checking for $ALSA_MODULES... $ECHO_C" >&6; }
5677 6297
5678 if $PKG_CONFIG --exists "$ALSA_MODULES" 2>&5; then 6298 if $PKG_CONFIG --exists "$ALSA_MODULES" 2>&5; then
5679 echo "$as_me:$LINENO: result: yes" >&5 6299 { echo "$as_me:$LINENO: result: yes" >&5
5680echo "${ECHO_T}yes" >&6 6300echo "${ECHO_T}yes" >&6; }
5681 succeeded=yes 6301 succeeded=yes
5682 6302
5683 echo "$as_me:$LINENO: checking ALSA_CFLAGS" >&5 6303 { echo "$as_me:$LINENO: checking ALSA_CFLAGS" >&5
5684echo $ECHO_N "checking ALSA_CFLAGS... $ECHO_C" >&6 6304echo $ECHO_N "checking ALSA_CFLAGS... $ECHO_C" >&6; }
5685 ALSA_CFLAGS=`$PKG_CONFIG --cflags "$ALSA_MODULES"` 6305 ALSA_CFLAGS=`$PKG_CONFIG --cflags "$ALSA_MODULES"`
5686 echo "$as_me:$LINENO: result: $ALSA_CFLAGS" >&5 6306 { echo "$as_me:$LINENO: result: $ALSA_CFLAGS" >&5
5687echo "${ECHO_T}$ALSA_CFLAGS" >&6 6307echo "${ECHO_T}$ALSA_CFLAGS" >&6; }
5688 6308
5689 echo "$as_me:$LINENO: checking ALSA_LIBS" >&5 6309 { echo "$as_me:$LINENO: checking ALSA_LIBS" >&5
5690echo $ECHO_N "checking ALSA_LIBS... $ECHO_C" >&6 6310echo $ECHO_N "checking ALSA_LIBS... $ECHO_C" >&6; }
5691 ALSA_LIBS=`$PKG_CONFIG --libs "$ALSA_MODULES"` 6311 ALSA_LIBS=`$PKG_CONFIG --libs "$ALSA_MODULES"`
5692 echo "$as_me:$LINENO: result: $ALSA_LIBS" >&5 6312 { echo "$as_me:$LINENO: result: $ALSA_LIBS" >&5
5693echo "${ECHO_T}$ALSA_LIBS" >&6 6313echo "${ECHO_T}$ALSA_LIBS" >&6; }
5694 else 6314 else
5695 echo "$as_me:$LINENO: result: no" >&5 6315 { echo "$as_me:$LINENO: result: no" >&5
5696echo "${ECHO_T}no" >&6 6316echo "${ECHO_T}no" >&6; }
5697 ALSA_CFLAGS="" 6317 ALSA_CFLAGS=""
5698 ALSA_LIBS="" 6318 ALSA_LIBS=""
5699 ## If we have a custom action on failure, don't print errors, but 6319 ## If we have a custom action on failure, don't print errors, but
@@ -5760,18 +6380,19 @@ for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \
5760 sys/utsname.h pwd.h 6380 sys/utsname.h pwd.h
5761do 6381do
5762as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6382as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5763if eval "test \"\${$as_ac_Header+set}\" = set"; then 6383if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5764 echo "$as_me:$LINENO: checking for $ac_header" >&5 6384 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5765echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 6385echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5766if eval "test \"\${$as_ac_Header+set}\" = set"; then 6386if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5767 echo $ECHO_N "(cached) $ECHO_C" >&6 6387 echo $ECHO_N "(cached) $ECHO_C" >&6
5768fi 6388fi
5769echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 6389ac_res=`eval echo '${'$as_ac_Header'}'`
5770echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6390 { echo "$as_me:$LINENO: result: $ac_res" >&5
6391echo "${ECHO_T}$ac_res" >&6; }
5771else 6392else
5772 # Is the header compilable? 6393 # Is the header compilable?
5773echo "$as_me:$LINENO: checking $ac_header usability" >&5 6394{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5774echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 6395echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5775cat >conftest.$ac_ext <<_ACEOF 6396cat >conftest.$ac_ext <<_ACEOF
5776/* confdefs.h. */ 6397/* confdefs.h. */
5777_ACEOF 6398_ACEOF
@@ -5782,40 +6403,37 @@ $ac_includes_default
5782#include <$ac_header> 6403#include <$ac_header>
5783_ACEOF 6404_ACEOF
5784rm -f conftest.$ac_objext 6405rm -f conftest.$ac_objext
5785if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6406if { (ac_try="$ac_compile"
5786 (eval $ac_compile) 2>conftest.er1 6407case "(($ac_try" in
6408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6409 *) ac_try_echo=$ac_try;;
6410esac
6411eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6412 (eval "$ac_compile") 2>conftest.er1
5787 ac_status=$? 6413 ac_status=$?
5788 grep -v '^ *+' conftest.er1 >conftest.err 6414 grep -v '^ *+' conftest.er1 >conftest.err
5789 rm -f conftest.er1 6415 rm -f conftest.er1
5790 cat conftest.err >&5 6416 cat conftest.err >&5
5791 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5792 (exit $ac_status); } && 6418 (exit $ac_status); } && {
5793 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 6419 test -z "$ac_c_werror_flag" ||
5794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6420 test ! -s conftest.err
5795 (eval $ac_try) 2>&5 6421 } && test -s conftest.$ac_objext; then
5796 ac_status=$?
5797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5798 (exit $ac_status); }; } &&
5799 { ac_try='test -s conftest.$ac_objext'
5800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5801 (eval $ac_try) 2>&5
5802 ac_status=$?
5803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5804 (exit $ac_status); }; }; then
5805 ac_header_compiler=yes 6422 ac_header_compiler=yes
5806else 6423else
5807 echo "$as_me: failed program was:" >&5 6424 echo "$as_me: failed program was:" >&5
5808sed 's/^/| /' conftest.$ac_ext >&5 6425sed 's/^/| /' conftest.$ac_ext >&5
5809 6426
5810ac_header_compiler=no 6427 ac_header_compiler=no
5811fi 6428fi
5812rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6429
5813echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6430rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5814echo "${ECHO_T}$ac_header_compiler" >&6 6431{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6432echo "${ECHO_T}$ac_header_compiler" >&6; }
5815 6433
5816# Is the header present? 6434# Is the header present?
5817echo "$as_me:$LINENO: checking $ac_header presence" >&5 6435{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5818echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 6436echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5819cat >conftest.$ac_ext <<_ACEOF 6437cat >conftest.$ac_ext <<_ACEOF
5820/* confdefs.h. */ 6438/* confdefs.h. */
5821_ACEOF 6439_ACEOF
@@ -5824,24 +6442,22 @@ cat >>conftest.$ac_ext <<_ACEOF
5824/* end confdefs.h. */ 6442/* end confdefs.h. */
5825#include <$ac_header> 6443#include <$ac_header>
5826_ACEOF 6444_ACEOF
5827if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6445if { (ac_try="$ac_cpp conftest.$ac_ext"
5828 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6446case "(($ac_try" in
6447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6448 *) ac_try_echo=$ac_try;;
6449esac
6450eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6451 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5829 ac_status=$? 6452 ac_status=$?
5830 grep -v '^ *+' conftest.er1 >conftest.err 6453 grep -v '^ *+' conftest.er1 >conftest.err
5831 rm -f conftest.er1 6454 rm -f conftest.er1
5832 cat conftest.err >&5 6455 cat conftest.err >&5
5833 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5834 (exit $ac_status); } >/dev/null; then 6457 (exit $ac_status); } >/dev/null && {
5835 if test -s conftest.err; then 6458 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5836 ac_cpp_err=$ac_c_preproc_warn_flag 6459 test ! -s conftest.err
5837 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 6460 }; then
5838 else
5839 ac_cpp_err=
5840 fi
5841else
5842 ac_cpp_err=yes
5843fi
5844if test -z "$ac_cpp_err"; then
5845 ac_header_preproc=yes 6461 ac_header_preproc=yes
5846else 6462else
5847 echo "$as_me: failed program was:" >&5 6463 echo "$as_me: failed program was:" >&5
@@ -5849,9 +6465,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
5849 6465
5850 ac_header_preproc=no 6466 ac_header_preproc=no
5851fi 6467fi
6468
5852rm -f conftest.err conftest.$ac_ext 6469rm -f conftest.err conftest.$ac_ext
5853echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6470{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5854echo "${ECHO_T}$ac_header_preproc" >&6 6471echo "${ECHO_T}$ac_header_preproc" >&6; }
5855 6472
5856# So? What about this header? 6473# So? What about this header?
5857case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6474case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
@@ -5875,25 +6492,19 @@ echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\
5875echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6492echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5876 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6493 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5877echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6494echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5878 ( 6495
5879 cat <<\_ASBOX
5880## ------------------------------------------ ##
5881## Report this to the AC_PACKAGE_NAME lists. ##
5882## ------------------------------------------ ##
5883_ASBOX
5884 ) |
5885 sed "s/^/$as_me: WARNING: /" >&2
5886 ;; 6496 ;;
5887esac 6497esac
5888echo "$as_me:$LINENO: checking for $ac_header" >&5 6498{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5889echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 6499echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5890if eval "test \"\${$as_ac_Header+set}\" = set"; then 6500if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5891 echo $ECHO_N "(cached) $ECHO_C" >&6 6501 echo $ECHO_N "(cached) $ECHO_C" >&6
5892else 6502else
5893 eval "$as_ac_Header=\$ac_header_preproc" 6503 eval "$as_ac_Header=\$ac_header_preproc"
5894fi 6504fi
5895echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 6505ac_res=`eval echo '${'$as_ac_Header'}'`
5896echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6506 { echo "$as_me:$LINENO: result: $ac_res" >&5
6507echo "${ECHO_T}$ac_res" >&6; }
5897 6508
5898fi 6509fi
5899if test `eval echo '${'$as_ac_Header'}'` = yes; then 6510if test `eval echo '${'$as_ac_Header'}'` = yes; then
@@ -5906,8 +6517,8 @@ fi
5906done 6517done
5907 6518
5908 6519
5909echo "$as_me:$LINENO: checking if personality LINUX32 can be set" >&5 6520{ echo "$as_me:$LINENO: checking if personality LINUX32 can be set" >&5
5910echo $ECHO_N "checking if personality LINUX32 can be set... $ECHO_C" >&6 6521echo $ECHO_N "checking if personality LINUX32 can be set... $ECHO_C" >&6; }
5911cat >conftest.$ac_ext <<_ACEOF 6522cat >conftest.$ac_ext <<_ACEOF
5912/* confdefs.h. */ 6523/* confdefs.h. */
5913_ACEOF 6524_ACEOF
@@ -5924,36 +6535,33 @@ personality (PER_LINUX32)
5924} 6535}
5925_ACEOF 6536_ACEOF
5926rm -f conftest.$ac_objext 6537rm -f conftest.$ac_objext
5927if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6538if { (ac_try="$ac_compile"
5928 (eval $ac_compile) 2>conftest.er1 6539case "(($ac_try" in
6540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6541 *) ac_try_echo=$ac_try;;
6542esac
6543eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6544 (eval "$ac_compile") 2>conftest.er1
5929 ac_status=$? 6545 ac_status=$?
5930 grep -v '^ *+' conftest.er1 >conftest.err 6546 grep -v '^ *+' conftest.er1 >conftest.err
5931 rm -f conftest.er1 6547 rm -f conftest.er1
5932 cat conftest.err >&5 6548 cat conftest.err >&5
5933 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5934 (exit $ac_status); } && 6550 (exit $ac_status); } && {
5935 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 6551 test -z "$ac_c_werror_flag" ||
5936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6552 test ! -s conftest.err
5937 (eval $ac_try) 2>&5 6553 } && test -s conftest.$ac_objext; then
5938 ac_status=$?
5939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5940 (exit $ac_status); }; } &&
5941 { ac_try='test -s conftest.$ac_objext'
5942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5943 (eval $ac_try) 2>&5
5944 ac_status=$?
5945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5946 (exit $ac_status); }; }; then
5947 emacs_cv_personality_linux32=yes 6554 emacs_cv_personality_linux32=yes
5948else 6555else
5949 echo "$as_me: failed program was:" >&5 6556 echo "$as_me: failed program was:" >&5
5950sed 's/^/| /' conftest.$ac_ext >&5 6557sed 's/^/| /' conftest.$ac_ext >&5
5951 6558
5952emacs_cv_personality_linux32=no 6559 emacs_cv_personality_linux32=no
5953fi 6560fi
5954rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6561
5955echo "$as_me:$LINENO: result: $emacs_cv_personality_linux32" >&5 6562rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5956echo "${ECHO_T}$emacs_cv_personality_linux32" >&6 6563{ echo "$as_me:$LINENO: result: $emacs_cv_personality_linux32" >&5
6564echo "${ECHO_T}$emacs_cv_personality_linux32" >&6; }
5957 6565
5958if test $emacs_cv_personality_linux32 = yes; then 6566if test $emacs_cv_personality_linux32 = yes; then
5959 6567
@@ -5967,9 +6575,9 @@ fi
5967for ac_header in term.h 6575for ac_header in term.h
5968do 6576do
5969as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6577as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5970echo "$as_me:$LINENO: checking for $ac_header" >&5 6578{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5971echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 6579echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5972if eval "test \"\${$as_ac_Header+set}\" = set"; then 6580if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5973 echo $ECHO_N "(cached) $ECHO_C" >&6 6581 echo $ECHO_N "(cached) $ECHO_C" >&6
5974else 6582else
5975 cat >conftest.$ac_ext <<_ACEOF 6583 cat >conftest.$ac_ext <<_ACEOF
@@ -5980,24 +6588,22 @@ cat >>conftest.$ac_ext <<_ACEOF
5980/* end confdefs.h. */ 6588/* end confdefs.h. */
5981#include <$ac_header> 6589#include <$ac_header>
5982_ACEOF 6590_ACEOF
5983if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6591if { (ac_try="$ac_cpp conftest.$ac_ext"
5984 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6592case "(($ac_try" in
6593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6594 *) ac_try_echo=$ac_try;;
6595esac
6596eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6597 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5985 ac_status=$? 6598 ac_status=$?
5986 grep -v '^ *+' conftest.er1 >conftest.err 6599 grep -v '^ *+' conftest.er1 >conftest.err
5987 rm -f conftest.er1 6600 rm -f conftest.er1
5988 cat conftest.err >&5 6601 cat conftest.err >&5
5989 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5990 (exit $ac_status); } >/dev/null; then 6603 (exit $ac_status); } >/dev/null && {
5991 if test -s conftest.err; then 6604 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5992 ac_cpp_err=$ac_c_preproc_warn_flag 6605 test ! -s conftest.err
5993 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 6606 }; then
5994 else
5995 ac_cpp_err=
5996 fi
5997else
5998 ac_cpp_err=yes
5999fi
6000if test -z "$ac_cpp_err"; then
6001 eval "$as_ac_Header=yes" 6607 eval "$as_ac_Header=yes"
6002else 6608else
6003 echo "$as_me: failed program was:" >&5 6609 echo "$as_me: failed program was:" >&5
@@ -6005,10 +6611,12 @@ sed 's/^/| /' conftest.$ac_ext >&5
6005 6611
6006 eval "$as_ac_Header=no" 6612 eval "$as_ac_Header=no"
6007fi 6613fi
6614
6008rm -f conftest.err conftest.$ac_ext 6615rm -f conftest.err conftest.$ac_ext
6009fi 6616fi
6010echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 6617ac_res=`eval echo '${'$as_ac_Header'}'`
6011echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6618 { echo "$as_me:$LINENO: result: $ac_res" >&5
6619echo "${ECHO_T}$ac_res" >&6; }
6012if test `eval echo '${'$as_ac_Header'}'` = yes; then 6620if test `eval echo '${'$as_ac_Header'}'` = yes; then
6013 cat >>confdefs.h <<_ACEOF 6621 cat >>confdefs.h <<_ACEOF
6014#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6622#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
@@ -6018,8 +6626,8 @@ fi
6018 6626
6019done 6627done
6020 6628
6021echo "$as_me:$LINENO: checking for ANSI C header files" >&5 6629{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6022echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 6630echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6023if test "${ac_cv_header_stdc+set}" = set; then 6631if test "${ac_cv_header_stdc+set}" = set; then
6024 echo $ECHO_N "(cached) $ECHO_C" >&6 6632 echo $ECHO_N "(cached) $ECHO_C" >&6
6025else 6633else
@@ -6043,34 +6651,31 @@ main ()
6043} 6651}
6044_ACEOF 6652_ACEOF
6045rm -f conftest.$ac_objext 6653rm -f conftest.$ac_objext
6046if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6654if { (ac_try="$ac_compile"
6047 (eval $ac_compile) 2>conftest.er1 6655case "(($ac_try" in
6656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6657 *) ac_try_echo=$ac_try;;
6658esac
6659eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6660 (eval "$ac_compile") 2>conftest.er1
6048 ac_status=$? 6661 ac_status=$?
6049 grep -v '^ *+' conftest.er1 >conftest.err 6662 grep -v '^ *+' conftest.er1 >conftest.err
6050 rm -f conftest.er1 6663 rm -f conftest.er1
6051 cat conftest.err >&5 6664 cat conftest.err >&5
6052 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6053 (exit $ac_status); } && 6666 (exit $ac_status); } && {
6054 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 6667 test -z "$ac_c_werror_flag" ||
6055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6668 test ! -s conftest.err
6056 (eval $ac_try) 2>&5 6669 } && test -s conftest.$ac_objext; then
6057 ac_status=$?
6058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6059 (exit $ac_status); }; } &&
6060 { ac_try='test -s conftest.$ac_objext'
6061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6062 (eval $ac_try) 2>&5
6063 ac_status=$?
6064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6065 (exit $ac_status); }; }; then
6066 ac_cv_header_stdc=yes 6670 ac_cv_header_stdc=yes
6067else 6671else
6068 echo "$as_me: failed program was:" >&5 6672 echo "$as_me: failed program was:" >&5
6069sed 's/^/| /' conftest.$ac_ext >&5 6673sed 's/^/| /' conftest.$ac_ext >&5
6070 6674
6071ac_cv_header_stdc=no 6675 ac_cv_header_stdc=no
6072fi 6676fi
6073rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6677
6678rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6074 6679
6075if test $ac_cv_header_stdc = yes; then 6680if test $ac_cv_header_stdc = yes; then
6076 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 6681 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
@@ -6126,6 +6731,7 @@ cat confdefs.h >>conftest.$ac_ext
6126cat >>conftest.$ac_ext <<_ACEOF 6731cat >>conftest.$ac_ext <<_ACEOF
6127/* end confdefs.h. */ 6732/* end confdefs.h. */
6128#include <ctype.h> 6733#include <ctype.h>
6734#include <stdlib.h>
6129#if ((' ' & 0x0FF) == 0x020) 6735#if ((' ' & 0x0FF) == 0x020)
6130# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 6736# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6131# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 6737# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
@@ -6145,18 +6751,27 @@ main ()
6145 for (i = 0; i < 256; i++) 6751 for (i = 0; i < 256; i++)
6146 if (XOR (islower (i), ISLOWER (i)) 6752 if (XOR (islower (i), ISLOWER (i))
6147 || toupper (i) != TOUPPER (i)) 6753 || toupper (i) != TOUPPER (i))
6148 exit(2); 6754 return 2;
6149 exit (0); 6755 return 0;
6150} 6756}
6151_ACEOF 6757_ACEOF
6152rm -f conftest$ac_exeext 6758rm -f conftest$ac_exeext
6153if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6759if { (ac_try="$ac_link"
6154 (eval $ac_link) 2>&5 6760case "(($ac_try" in
6761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6762 *) ac_try_echo=$ac_try;;
6763esac
6764eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6765 (eval "$ac_link") 2>&5
6155 ac_status=$? 6766 ac_status=$?
6156 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6157 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6768 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6769 { (case "(($ac_try" in
6159 (eval $ac_try) 2>&5 6770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6771 *) ac_try_echo=$ac_try;;
6772esac
6773eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6774 (eval "$ac_try") 2>&5
6160 ac_status=$? 6775 ac_status=$?
6161 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6162 (exit $ac_status); }; }; then 6777 (exit $ac_status); }; }; then
@@ -6169,12 +6784,14 @@ sed 's/^/| /' conftest.$ac_ext >&5
6169( exit $ac_status ) 6784( exit $ac_status )
6170ac_cv_header_stdc=no 6785ac_cv_header_stdc=no
6171fi 6786fi
6172rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6787rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6173fi 6788fi
6789
6790
6174fi 6791fi
6175fi 6792fi
6176echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 6793{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6177echo "${ECHO_T}$ac_cv_header_stdc" >&6 6794echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6178if test $ac_cv_header_stdc = yes; then 6795if test $ac_cv_header_stdc = yes; then
6179 6796
6180cat >>confdefs.h <<\_ACEOF 6797cat >>confdefs.h <<\_ACEOF
@@ -6183,8 +6800,8 @@ _ACEOF
6183 6800
6184fi 6801fi
6185 6802
6186echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 6803{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6187echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 6804echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
6188if test "${ac_cv_header_time+set}" = set; then 6805if test "${ac_cv_header_time+set}" = set; then
6189 echo $ECHO_N "(cached) $ECHO_C" >&6 6806 echo $ECHO_N "(cached) $ECHO_C" >&6
6190else 6807else
@@ -6208,37 +6825,34 @@ return 0;
6208} 6825}
6209_ACEOF 6826_ACEOF
6210rm -f conftest.$ac_objext 6827rm -f conftest.$ac_objext
6211if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6828if { (ac_try="$ac_compile"
6212 (eval $ac_compile) 2>conftest.er1 6829case "(($ac_try" in
6830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6831 *) ac_try_echo=$ac_try;;
6832esac
6833eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6834 (eval "$ac_compile") 2>conftest.er1
6213 ac_status=$? 6835 ac_status=$?
6214 grep -v '^ *+' conftest.er1 >conftest.err 6836 grep -v '^ *+' conftest.er1 >conftest.err
6215 rm -f conftest.er1 6837 rm -f conftest.er1
6216 cat conftest.err >&5 6838 cat conftest.err >&5
6217 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6218 (exit $ac_status); } && 6840 (exit $ac_status); } && {
6219 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 6841 test -z "$ac_c_werror_flag" ||
6220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6842 test ! -s conftest.err
6221 (eval $ac_try) 2>&5 6843 } && test -s conftest.$ac_objext; then
6222 ac_status=$?
6223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6224 (exit $ac_status); }; } &&
6225 { ac_try='test -s conftest.$ac_objext'
6226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6227 (eval $ac_try) 2>&5
6228 ac_status=$?
6229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6230 (exit $ac_status); }; }; then
6231 ac_cv_header_time=yes 6844 ac_cv_header_time=yes
6232else 6845else
6233 echo "$as_me: failed program was:" >&5 6846 echo "$as_me: failed program was:" >&5
6234sed 's/^/| /' conftest.$ac_ext >&5 6847sed 's/^/| /' conftest.$ac_ext >&5
6235 6848
6236ac_cv_header_time=no 6849 ac_cv_header_time=no
6237fi 6850fi
6238rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6851
6852rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6239fi 6853fi
6240echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 6854{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6241echo "${ECHO_T}$ac_cv_header_time" >&6 6855echo "${ECHO_T}$ac_cv_header_time" >&6; }
6242if test $ac_cv_header_time = yes; then 6856if test $ac_cv_header_time = yes; then
6243 6857
6244cat >>confdefs.h <<\_ACEOF 6858cat >>confdefs.h <<\_ACEOF
@@ -6247,8 +6861,8 @@ _ACEOF
6247 6861
6248fi 6862fi
6249 6863
6250echo "$as_me:$LINENO: checking whether sys_siglist is declared" >&5 6864{ echo "$as_me:$LINENO: checking whether sys_siglist is declared" >&5
6251echo $ECHO_N "checking whether sys_siglist is declared... $ECHO_C" >&6 6865echo $ECHO_N "checking whether sys_siglist is declared... $ECHO_C" >&6; }
6252if test "${ac_cv_have_decl_sys_siglist+set}" = set; then 6866if test "${ac_cv_have_decl_sys_siglist+set}" = set; then
6253 echo $ECHO_N "(cached) $ECHO_C" >&6 6867 echo $ECHO_N "(cached) $ECHO_C" >&6
6254else 6868else
@@ -6263,7 +6877,7 @@ int
6263main () 6877main ()
6264{ 6878{
6265#ifndef sys_siglist 6879#ifndef sys_siglist
6266 char *p = (char *) sys_siglist; 6880 (void) sys_siglist;
6267#endif 6881#endif
6268 6882
6269 ; 6883 ;
@@ -6271,37 +6885,34 @@ main ()
6271} 6885}
6272_ACEOF 6886_ACEOF
6273rm -f conftest.$ac_objext 6887rm -f conftest.$ac_objext
6274if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6888if { (ac_try="$ac_compile"
6275 (eval $ac_compile) 2>conftest.er1 6889case "(($ac_try" in
6890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6891 *) ac_try_echo=$ac_try;;
6892esac
6893eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6894 (eval "$ac_compile") 2>conftest.er1
6276 ac_status=$? 6895 ac_status=$?
6277 grep -v '^ *+' conftest.er1 >conftest.err 6896 grep -v '^ *+' conftest.er1 >conftest.err
6278 rm -f conftest.er1 6897 rm -f conftest.er1
6279 cat conftest.err >&5 6898 cat conftest.err >&5
6280 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6281 (exit $ac_status); } && 6900 (exit $ac_status); } && {
6282 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 6901 test -z "$ac_c_werror_flag" ||
6283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6902 test ! -s conftest.err
6284 (eval $ac_try) 2>&5 6903 } && test -s conftest.$ac_objext; then
6285 ac_status=$?
6286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6287 (exit $ac_status); }; } &&
6288 { ac_try='test -s conftest.$ac_objext'
6289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6290 (eval $ac_try) 2>&5
6291 ac_status=$?
6292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6293 (exit $ac_status); }; }; then
6294 ac_cv_have_decl_sys_siglist=yes 6904 ac_cv_have_decl_sys_siglist=yes
6295else 6905else
6296 echo "$as_me: failed program was:" >&5 6906 echo "$as_me: failed program was:" >&5
6297sed 's/^/| /' conftest.$ac_ext >&5 6907sed 's/^/| /' conftest.$ac_ext >&5
6298 6908
6299ac_cv_have_decl_sys_siglist=no 6909 ac_cv_have_decl_sys_siglist=no
6300fi 6910fi
6301rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6911
6912rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6302fi 6913fi
6303echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5 6914{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5
6304echo "${ECHO_T}$ac_cv_have_decl_sys_siglist" >&6 6915echo "${ECHO_T}$ac_cv_have_decl_sys_siglist" >&6; }
6305if test $ac_cv_have_decl_sys_siglist = yes; then 6916if test $ac_cv_have_decl_sys_siglist = yes; then
6306 6917
6307cat >>confdefs.h <<_ACEOF 6918cat >>confdefs.h <<_ACEOF
@@ -6320,8 +6931,8 @@ fi
6320 6931
6321if test $ac_cv_have_decl_sys_siglist != yes; then 6932if test $ac_cv_have_decl_sys_siglist != yes; then
6322 # For Tru64, at least: 6933 # For Tru64, at least:
6323 echo "$as_me:$LINENO: checking whether __sys_siglist is declared" >&5 6934 { echo "$as_me:$LINENO: checking whether __sys_siglist is declared" >&5
6324echo $ECHO_N "checking whether __sys_siglist is declared... $ECHO_C" >&6 6935echo $ECHO_N "checking whether __sys_siglist is declared... $ECHO_C" >&6; }
6325if test "${ac_cv_have_decl___sys_siglist+set}" = set; then 6936if test "${ac_cv_have_decl___sys_siglist+set}" = set; then
6326 echo $ECHO_N "(cached) $ECHO_C" >&6 6937 echo $ECHO_N "(cached) $ECHO_C" >&6
6327else 6938else
@@ -6336,7 +6947,7 @@ int
6336main () 6947main ()
6337{ 6948{
6338#ifndef __sys_siglist 6949#ifndef __sys_siglist
6339 char *p = (char *) __sys_siglist; 6950 (void) __sys_siglist;
6340#endif 6951#endif
6341 6952
6342 ; 6953 ;
@@ -6344,37 +6955,34 @@ main ()
6344} 6955}
6345_ACEOF 6956_ACEOF
6346rm -f conftest.$ac_objext 6957rm -f conftest.$ac_objext
6347if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6958if { (ac_try="$ac_compile"
6348 (eval $ac_compile) 2>conftest.er1 6959case "(($ac_try" in
6960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6961 *) ac_try_echo=$ac_try;;
6962esac
6963eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6964 (eval "$ac_compile") 2>conftest.er1
6349 ac_status=$? 6965 ac_status=$?
6350 grep -v '^ *+' conftest.er1 >conftest.err 6966 grep -v '^ *+' conftest.er1 >conftest.err
6351 rm -f conftest.er1 6967 rm -f conftest.er1
6352 cat conftest.err >&5 6968 cat conftest.err >&5
6353 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6354 (exit $ac_status); } && 6970 (exit $ac_status); } && {
6355 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 6971 test -z "$ac_c_werror_flag" ||
6356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6972 test ! -s conftest.err
6357 (eval $ac_try) 2>&5 6973 } && test -s conftest.$ac_objext; then
6358 ac_status=$?
6359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6360 (exit $ac_status); }; } &&
6361 { ac_try='test -s conftest.$ac_objext'
6362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6363 (eval $ac_try) 2>&5
6364 ac_status=$?
6365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6366 (exit $ac_status); }; }; then
6367 ac_cv_have_decl___sys_siglist=yes 6974 ac_cv_have_decl___sys_siglist=yes
6368else 6975else
6369 echo "$as_me: failed program was:" >&5 6976 echo "$as_me: failed program was:" >&5
6370sed 's/^/| /' conftest.$ac_ext >&5 6977sed 's/^/| /' conftest.$ac_ext >&5
6371 6978
6372ac_cv_have_decl___sys_siglist=no 6979 ac_cv_have_decl___sys_siglist=no
6373fi 6980fi
6374rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6981
6982rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6375fi 6983fi
6376echo "$as_me:$LINENO: result: $ac_cv_have_decl___sys_siglist" >&5 6984{ echo "$as_me:$LINENO: result: $ac_cv_have_decl___sys_siglist" >&5
6377echo "${ECHO_T}$ac_cv_have_decl___sys_siglist" >&6 6985echo "${ECHO_T}$ac_cv_have_decl___sys_siglist" >&6; }
6378if test $ac_cv_have_decl___sys_siglist = yes; then 6986if test $ac_cv_have_decl___sys_siglist = yes; then
6379 6987
6380cat >>confdefs.h <<_ACEOF 6988cat >>confdefs.h <<_ACEOF
@@ -6399,8 +7007,8 @@ _ACEOF
6399 7007
6400 fi 7008 fi
6401fi 7009fi
6402echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 7010{ echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
6403echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6 7011echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
6404if test "${ac_cv_header_sys_wait_h+set}" = set; then 7012if test "${ac_cv_header_sys_wait_h+set}" = set; then
6405 echo $ECHO_N "(cached) $ECHO_C" >&6 7013 echo $ECHO_N "(cached) $ECHO_C" >&6
6406else 7014else
@@ -6413,7 +7021,7 @@ cat >>conftest.$ac_ext <<_ACEOF
6413#include <sys/types.h> 7021#include <sys/types.h>
6414#include <sys/wait.h> 7022#include <sys/wait.h>
6415#ifndef WEXITSTATUS 7023#ifndef WEXITSTATUS
6416# define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) 7024# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6417#endif 7025#endif
6418#ifndef WIFEXITED 7026#ifndef WIFEXITED
6419# define WIFEXITED(stat_val) (((stat_val) & 255) == 0) 7027# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
@@ -6430,37 +7038,34 @@ main ()
6430} 7038}
6431_ACEOF 7039_ACEOF
6432rm -f conftest.$ac_objext 7040rm -f conftest.$ac_objext
6433if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7041if { (ac_try="$ac_compile"
6434 (eval $ac_compile) 2>conftest.er1 7042case "(($ac_try" in
7043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7044 *) ac_try_echo=$ac_try;;
7045esac
7046eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7047 (eval "$ac_compile") 2>conftest.er1
6435 ac_status=$? 7048 ac_status=$?
6436 grep -v '^ *+' conftest.er1 >conftest.err 7049 grep -v '^ *+' conftest.er1 >conftest.err
6437 rm -f conftest.er1 7050 rm -f conftest.er1
6438 cat conftest.err >&5 7051 cat conftest.err >&5
6439 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6440 (exit $ac_status); } && 7053 (exit $ac_status); } && {
6441 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7054 test -z "$ac_c_werror_flag" ||
6442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7055 test ! -s conftest.err
6443 (eval $ac_try) 2>&5 7056 } && test -s conftest.$ac_objext; then
6444 ac_status=$?
6445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6446 (exit $ac_status); }; } &&
6447 { ac_try='test -s conftest.$ac_objext'
6448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6449 (eval $ac_try) 2>&5
6450 ac_status=$?
6451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6452 (exit $ac_status); }; }; then
6453 ac_cv_header_sys_wait_h=yes 7057 ac_cv_header_sys_wait_h=yes
6454else 7058else
6455 echo "$as_me: failed program was:" >&5 7059 echo "$as_me: failed program was:" >&5
6456sed 's/^/| /' conftest.$ac_ext >&5 7060sed 's/^/| /' conftest.$ac_ext >&5
6457 7061
6458ac_cv_header_sys_wait_h=no 7062 ac_cv_header_sys_wait_h=no
6459fi 7063fi
6460rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7064
7065rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6461fi 7066fi
6462echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5 7067{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
6463echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6 7068echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
6464if test $ac_cv_header_sys_wait_h = yes; then 7069if test $ac_cv_header_sys_wait_h = yes; then
6465 7070
6466cat >>confdefs.h <<\_ACEOF 7071cat >>confdefs.h <<\_ACEOF
@@ -6470,8 +7075,8 @@ _ACEOF
6470fi 7075fi
6471 7076
6472 7077
6473echo "$as_me:$LINENO: checking for struct utimbuf" >&5 7078{ echo "$as_me:$LINENO: checking for struct utimbuf" >&5
6474echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6 7079echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6; }
6475if test "${emacs_cv_struct_utimbuf+set}" = set; then 7080if test "${emacs_cv_struct_utimbuf+set}" = set; then
6476 echo $ECHO_N "(cached) $ECHO_C" >&6 7081 echo $ECHO_N "(cached) $ECHO_C" >&6
6477else 7082else
@@ -6503,37 +7108,34 @@ static struct utimbuf x; x.actime = x.modtime;
6503} 7108}
6504_ACEOF 7109_ACEOF
6505rm -f conftest.$ac_objext 7110rm -f conftest.$ac_objext
6506if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7111if { (ac_try="$ac_compile"
6507 (eval $ac_compile) 2>conftest.er1 7112case "(($ac_try" in
7113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7114 *) ac_try_echo=$ac_try;;
7115esac
7116eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7117 (eval "$ac_compile") 2>conftest.er1
6508 ac_status=$? 7118 ac_status=$?
6509 grep -v '^ *+' conftest.er1 >conftest.err 7119 grep -v '^ *+' conftest.er1 >conftest.err
6510 rm -f conftest.er1 7120 rm -f conftest.er1
6511 cat conftest.err >&5 7121 cat conftest.err >&5
6512 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6513 (exit $ac_status); } && 7123 (exit $ac_status); } && {
6514 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7124 test -z "$ac_c_werror_flag" ||
6515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7125 test ! -s conftest.err
6516 (eval $ac_try) 2>&5 7126 } && test -s conftest.$ac_objext; then
6517 ac_status=$?
6518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6519 (exit $ac_status); }; } &&
6520 { ac_try='test -s conftest.$ac_objext'
6521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6522 (eval $ac_try) 2>&5
6523 ac_status=$?
6524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6525 (exit $ac_status); }; }; then
6526 emacs_cv_struct_utimbuf=yes 7127 emacs_cv_struct_utimbuf=yes
6527else 7128else
6528 echo "$as_me: failed program was:" >&5 7129 echo "$as_me: failed program was:" >&5
6529sed 's/^/| /' conftest.$ac_ext >&5 7130sed 's/^/| /' conftest.$ac_ext >&5
6530 7131
6531emacs_cv_struct_utimbuf=no 7132 emacs_cv_struct_utimbuf=no
6532fi 7133fi
6533rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7134
7135rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6534fi 7136fi
6535echo "$as_me:$LINENO: result: $emacs_cv_struct_utimbuf" >&5 7137{ echo "$as_me:$LINENO: result: $emacs_cv_struct_utimbuf" >&5
6536echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6 7138echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6; }
6537if test $emacs_cv_struct_utimbuf = yes; then 7139if test $emacs_cv_struct_utimbuf = yes; then
6538 7140
6539cat >>confdefs.h <<\_ACEOF 7141cat >>confdefs.h <<\_ACEOF
@@ -6542,8 +7144,8 @@ _ACEOF
6542 7144
6543fi 7145fi
6544 7146
6545echo "$as_me:$LINENO: checking return type of signal handlers" >&5 7147{ echo "$as_me:$LINENO: checking return type of signal handlers" >&5
6546echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 7148echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
6547if test "${ac_cv_type_signal+set}" = set; then 7149if test "${ac_cv_type_signal+set}" = set; then
6548 echo $ECHO_N "(cached) $ECHO_C" >&6 7150 echo $ECHO_N "(cached) $ECHO_C" >&6
6549else 7151else
@@ -6555,55 +7157,44 @@ cat >>conftest.$ac_ext <<_ACEOF
6555/* end confdefs.h. */ 7157/* end confdefs.h. */
6556#include <sys/types.h> 7158#include <sys/types.h>
6557#include <signal.h> 7159#include <signal.h>
6558#ifdef signal
6559# undef signal
6560#endif
6561#ifdef __cplusplus
6562extern "C" void (*signal (int, void (*)(int)))(int);
6563#else
6564void (*signal ()) ();
6565#endif
6566 7160
6567int 7161int
6568main () 7162main ()
6569{ 7163{
6570int i; 7164return *(signal (0, 0)) (0) == 1;
6571 ; 7165 ;
6572 return 0; 7166 return 0;
6573} 7167}
6574_ACEOF 7168_ACEOF
6575rm -f conftest.$ac_objext 7169rm -f conftest.$ac_objext
6576if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7170if { (ac_try="$ac_compile"
6577 (eval $ac_compile) 2>conftest.er1 7171case "(($ac_try" in
7172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7173 *) ac_try_echo=$ac_try;;
7174esac
7175eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7176 (eval "$ac_compile") 2>conftest.er1
6578 ac_status=$? 7177 ac_status=$?
6579 grep -v '^ *+' conftest.er1 >conftest.err 7178 grep -v '^ *+' conftest.er1 >conftest.err
6580 rm -f conftest.er1 7179 rm -f conftest.er1
6581 cat conftest.err >&5 7180 cat conftest.err >&5
6582 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6583 (exit $ac_status); } && 7182 (exit $ac_status); } && {
6584 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7183 test -z "$ac_c_werror_flag" ||
6585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7184 test ! -s conftest.err
6586 (eval $ac_try) 2>&5 7185 } && test -s conftest.$ac_objext; then
6587 ac_status=$? 7186 ac_cv_type_signal=int
6588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6589 (exit $ac_status); }; } &&
6590 { ac_try='test -s conftest.$ac_objext'
6591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6592 (eval $ac_try) 2>&5
6593 ac_status=$?
6594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6595 (exit $ac_status); }; }; then
6596 ac_cv_type_signal=void
6597else 7187else
6598 echo "$as_me: failed program was:" >&5 7188 echo "$as_me: failed program was:" >&5
6599sed 's/^/| /' conftest.$ac_ext >&5 7189sed 's/^/| /' conftest.$ac_ext >&5
6600 7190
6601ac_cv_type_signal=int 7191 ac_cv_type_signal=void
6602fi 7192fi
6603rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7193
7194rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6604fi 7195fi
6605echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 7196{ echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
6606echo "${ECHO_T}$ac_cv_type_signal" >&6 7197echo "${ECHO_T}$ac_cv_type_signal" >&6; }
6607 7198
6608cat >>confdefs.h <<_ACEOF 7199cat >>confdefs.h <<_ACEOF
6609#define RETSIGTYPE $ac_cv_type_signal 7200#define RETSIGTYPE $ac_cv_type_signal
@@ -6611,8 +7202,8 @@ _ACEOF
6611 7202
6612 7203
6613 7204
6614echo "$as_me:$LINENO: checking for speed_t" >&5 7205{ echo "$as_me:$LINENO: checking for speed_t" >&5
6615echo $ECHO_N "checking for speed_t... $ECHO_C" >&6 7206echo $ECHO_N "checking for speed_t... $ECHO_C" >&6; }
6616if test "${emacs_cv_speed_t+set}" = set; then 7207if test "${emacs_cv_speed_t+set}" = set; then
6617 echo $ECHO_N "(cached) $ECHO_C" >&6 7208 echo $ECHO_N "(cached) $ECHO_C" >&6
6618else 7209else
@@ -6632,37 +7223,34 @@ speed_t x = 1;
6632} 7223}
6633_ACEOF 7224_ACEOF
6634rm -f conftest.$ac_objext 7225rm -f conftest.$ac_objext
6635if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7226if { (ac_try="$ac_compile"
6636 (eval $ac_compile) 2>conftest.er1 7227case "(($ac_try" in
7228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7229 *) ac_try_echo=$ac_try;;
7230esac
7231eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7232 (eval "$ac_compile") 2>conftest.er1
6637 ac_status=$? 7233 ac_status=$?
6638 grep -v '^ *+' conftest.er1 >conftest.err 7234 grep -v '^ *+' conftest.er1 >conftest.err
6639 rm -f conftest.er1 7235 rm -f conftest.er1
6640 cat conftest.err >&5 7236 cat conftest.err >&5
6641 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6642 (exit $ac_status); } && 7238 (exit $ac_status); } && {
6643 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7239 test -z "$ac_c_werror_flag" ||
6644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7240 test ! -s conftest.err
6645 (eval $ac_try) 2>&5 7241 } && test -s conftest.$ac_objext; then
6646 ac_status=$?
6647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6648 (exit $ac_status); }; } &&
6649 { ac_try='test -s conftest.$ac_objext'
6650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6651 (eval $ac_try) 2>&5
6652 ac_status=$?
6653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6654 (exit $ac_status); }; }; then
6655 emacs_cv_speed_t=yes 7242 emacs_cv_speed_t=yes
6656else 7243else
6657 echo "$as_me: failed program was:" >&5 7244 echo "$as_me: failed program was:" >&5
6658sed 's/^/| /' conftest.$ac_ext >&5 7245sed 's/^/| /' conftest.$ac_ext >&5
6659 7246
6660emacs_cv_speed_t=no 7247 emacs_cv_speed_t=no
6661fi 7248fi
6662rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7249
7250rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6663fi 7251fi
6664echo "$as_me:$LINENO: result: $emacs_cv_speed_t" >&5 7252{ echo "$as_me:$LINENO: result: $emacs_cv_speed_t" >&5
6665echo "${ECHO_T}$emacs_cv_speed_t" >&6 7253echo "${ECHO_T}$emacs_cv_speed_t" >&6; }
6666if test $emacs_cv_speed_t = yes; then 7254if test $emacs_cv_speed_t = yes; then
6667 7255
6668cat >>confdefs.h <<\_ACEOF 7256cat >>confdefs.h <<\_ACEOF
@@ -6671,8 +7259,8 @@ _ACEOF
6671 7259
6672fi 7260fi
6673 7261
6674echo "$as_me:$LINENO: checking for struct timeval" >&5 7262{ echo "$as_me:$LINENO: checking for struct timeval" >&5
6675echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6 7263echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6; }
6676if test "${emacs_cv_struct_timeval+set}" = set; then 7264if test "${emacs_cv_struct_timeval+set}" = set; then
6677 echo $ECHO_N "(cached) $ECHO_C" >&6 7265 echo $ECHO_N "(cached) $ECHO_C" >&6
6678else 7266else
@@ -6701,37 +7289,34 @@ static struct timeval x; x.tv_sec = x.tv_usec;
6701} 7289}
6702_ACEOF 7290_ACEOF
6703rm -f conftest.$ac_objext 7291rm -f conftest.$ac_objext
6704if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7292if { (ac_try="$ac_compile"
6705 (eval $ac_compile) 2>conftest.er1 7293case "(($ac_try" in
7294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7295 *) ac_try_echo=$ac_try;;
7296esac
7297eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7298 (eval "$ac_compile") 2>conftest.er1
6706 ac_status=$? 7299 ac_status=$?
6707 grep -v '^ *+' conftest.er1 >conftest.err 7300 grep -v '^ *+' conftest.er1 >conftest.err
6708 rm -f conftest.er1 7301 rm -f conftest.er1
6709 cat conftest.err >&5 7302 cat conftest.err >&5
6710 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6711 (exit $ac_status); } && 7304 (exit $ac_status); } && {
6712 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7305 test -z "$ac_c_werror_flag" ||
6713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7306 test ! -s conftest.err
6714 (eval $ac_try) 2>&5 7307 } && test -s conftest.$ac_objext; then
6715 ac_status=$?
6716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6717 (exit $ac_status); }; } &&
6718 { ac_try='test -s conftest.$ac_objext'
6719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6720 (eval $ac_try) 2>&5
6721 ac_status=$?
6722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6723 (exit $ac_status); }; }; then
6724 emacs_cv_struct_timeval=yes 7308 emacs_cv_struct_timeval=yes
6725else 7309else
6726 echo "$as_me: failed program was:" >&5 7310 echo "$as_me: failed program was:" >&5
6727sed 's/^/| /' conftest.$ac_ext >&5 7311sed 's/^/| /' conftest.$ac_ext >&5
6728 7312
6729emacs_cv_struct_timeval=no 7313 emacs_cv_struct_timeval=no
6730fi 7314fi
6731rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7315
7316rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6732fi 7317fi
6733echo "$as_me:$LINENO: result: $emacs_cv_struct_timeval" >&5 7318{ echo "$as_me:$LINENO: result: $emacs_cv_struct_timeval" >&5
6734echo "${ECHO_T}$emacs_cv_struct_timeval" >&6 7319echo "${ECHO_T}$emacs_cv_struct_timeval" >&6; }
6735HAVE_TIMEVAL=$emacs_cv_struct_timeval 7320HAVE_TIMEVAL=$emacs_cv_struct_timeval
6736if test $emacs_cv_struct_timeval = yes; then 7321if test $emacs_cv_struct_timeval = yes; then
6737 7322
@@ -6741,8 +7326,8 @@ _ACEOF
6741 7326
6742fi 7327fi
6743 7328
6744echo "$as_me:$LINENO: checking for struct exception" >&5 7329{ echo "$as_me:$LINENO: checking for struct exception" >&5
6745echo $ECHO_N "checking for struct exception... $ECHO_C" >&6 7330echo $ECHO_N "checking for struct exception... $ECHO_C" >&6; }
6746if test "${emacs_cv_struct_exception+set}" = set; then 7331if test "${emacs_cv_struct_exception+set}" = set; then
6747 echo $ECHO_N "(cached) $ECHO_C" >&6 7332 echo $ECHO_N "(cached) $ECHO_C" >&6
6748else 7333else
@@ -6762,37 +7347,34 @@ static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1;
6762} 7347}
6763_ACEOF 7348_ACEOF
6764rm -f conftest.$ac_objext 7349rm -f conftest.$ac_objext
6765if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7350if { (ac_try="$ac_compile"
6766 (eval $ac_compile) 2>conftest.er1 7351case "(($ac_try" in
7352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7353 *) ac_try_echo=$ac_try;;
7354esac
7355eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7356 (eval "$ac_compile") 2>conftest.er1
6767 ac_status=$? 7357 ac_status=$?
6768 grep -v '^ *+' conftest.er1 >conftest.err 7358 grep -v '^ *+' conftest.er1 >conftest.err
6769 rm -f conftest.er1 7359 rm -f conftest.er1
6770 cat conftest.err >&5 7360 cat conftest.err >&5
6771 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6772 (exit $ac_status); } && 7362 (exit $ac_status); } && {
6773 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7363 test -z "$ac_c_werror_flag" ||
6774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7364 test ! -s conftest.err
6775 (eval $ac_try) 2>&5 7365 } && test -s conftest.$ac_objext; then
6776 ac_status=$?
6777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6778 (exit $ac_status); }; } &&
6779 { ac_try='test -s conftest.$ac_objext'
6780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6781 (eval $ac_try) 2>&5
6782 ac_status=$?
6783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6784 (exit $ac_status); }; }; then
6785 emacs_cv_struct_exception=yes 7366 emacs_cv_struct_exception=yes
6786else 7367else
6787 echo "$as_me: failed program was:" >&5 7368 echo "$as_me: failed program was:" >&5
6788sed 's/^/| /' conftest.$ac_ext >&5 7369sed 's/^/| /' conftest.$ac_ext >&5
6789 7370
6790emacs_cv_struct_exception=no 7371 emacs_cv_struct_exception=no
6791fi 7372fi
6792rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7373
7374rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6793fi 7375fi
6794echo "$as_me:$LINENO: result: $emacs_cv_struct_exception" >&5 7376{ echo "$as_me:$LINENO: result: $emacs_cv_struct_exception" >&5
6795echo "${ECHO_T}$emacs_cv_struct_exception" >&6 7377echo "${ECHO_T}$emacs_cv_struct_exception" >&6; }
6796HAVE_EXCEPTION=$emacs_cv_struct_exception 7378HAVE_EXCEPTION=$emacs_cv_struct_exception
6797if test $emacs_cv_struct_exception != yes; then 7379if test $emacs_cv_struct_exception != yes; then
6798 7380
@@ -6806,18 +7388,19 @@ fi
6806for ac_header in sys/socket.h 7388for ac_header in sys/socket.h
6807do 7389do
6808as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7390as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6809if eval "test \"\${$as_ac_Header+set}\" = set"; then 7391if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6810 echo "$as_me:$LINENO: checking for $ac_header" >&5 7392 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6811echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7393echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6812if eval "test \"\${$as_ac_Header+set}\" = set"; then 7394if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6813 echo $ECHO_N "(cached) $ECHO_C" >&6 7395 echo $ECHO_N "(cached) $ECHO_C" >&6
6814fi 7396fi
6815echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7397ac_res=`eval echo '${'$as_ac_Header'}'`
6816echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7398 { echo "$as_me:$LINENO: result: $ac_res" >&5
7399echo "${ECHO_T}$ac_res" >&6; }
6817else 7400else
6818 # Is the header compilable? 7401 # Is the header compilable?
6819echo "$as_me:$LINENO: checking $ac_header usability" >&5 7402{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
6820echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 7403echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6821cat >conftest.$ac_ext <<_ACEOF 7404cat >conftest.$ac_ext <<_ACEOF
6822/* confdefs.h. */ 7405/* confdefs.h. */
6823_ACEOF 7406_ACEOF
@@ -6828,40 +7411,37 @@ $ac_includes_default
6828#include <$ac_header> 7411#include <$ac_header>
6829_ACEOF 7412_ACEOF
6830rm -f conftest.$ac_objext 7413rm -f conftest.$ac_objext
6831if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7414if { (ac_try="$ac_compile"
6832 (eval $ac_compile) 2>conftest.er1 7415case "(($ac_try" in
7416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7417 *) ac_try_echo=$ac_try;;
7418esac
7419eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7420 (eval "$ac_compile") 2>conftest.er1
6833 ac_status=$? 7421 ac_status=$?
6834 grep -v '^ *+' conftest.er1 >conftest.err 7422 grep -v '^ *+' conftest.er1 >conftest.err
6835 rm -f conftest.er1 7423 rm -f conftest.er1
6836 cat conftest.err >&5 7424 cat conftest.err >&5
6837 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6838 (exit $ac_status); } && 7426 (exit $ac_status); } && {
6839 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7427 test -z "$ac_c_werror_flag" ||
6840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7428 test ! -s conftest.err
6841 (eval $ac_try) 2>&5 7429 } && test -s conftest.$ac_objext; then
6842 ac_status=$?
6843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6844 (exit $ac_status); }; } &&
6845 { ac_try='test -s conftest.$ac_objext'
6846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6847 (eval $ac_try) 2>&5
6848 ac_status=$?
6849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6850 (exit $ac_status); }; }; then
6851 ac_header_compiler=yes 7430 ac_header_compiler=yes
6852else 7431else
6853 echo "$as_me: failed program was:" >&5 7432 echo "$as_me: failed program was:" >&5
6854sed 's/^/| /' conftest.$ac_ext >&5 7433sed 's/^/| /' conftest.$ac_ext >&5
6855 7434
6856ac_header_compiler=no 7435 ac_header_compiler=no
6857fi 7436fi
6858rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7437
6859echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7438rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6860echo "${ECHO_T}$ac_header_compiler" >&6 7439{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7440echo "${ECHO_T}$ac_header_compiler" >&6; }
6861 7441
6862# Is the header present? 7442# Is the header present?
6863echo "$as_me:$LINENO: checking $ac_header presence" >&5 7443{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
6864echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 7444echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6865cat >conftest.$ac_ext <<_ACEOF 7445cat >conftest.$ac_ext <<_ACEOF
6866/* confdefs.h. */ 7446/* confdefs.h. */
6867_ACEOF 7447_ACEOF
@@ -6870,24 +7450,22 @@ cat >>conftest.$ac_ext <<_ACEOF
6870/* end confdefs.h. */ 7450/* end confdefs.h. */
6871#include <$ac_header> 7451#include <$ac_header>
6872_ACEOF 7452_ACEOF
6873if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 7453if { (ac_try="$ac_cpp conftest.$ac_ext"
6874 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7454case "(($ac_try" in
7455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7456 *) ac_try_echo=$ac_try;;
7457esac
7458eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7459 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6875 ac_status=$? 7460 ac_status=$?
6876 grep -v '^ *+' conftest.er1 >conftest.err 7461 grep -v '^ *+' conftest.er1 >conftest.err
6877 rm -f conftest.er1 7462 rm -f conftest.er1
6878 cat conftest.err >&5 7463 cat conftest.err >&5
6879 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6880 (exit $ac_status); } >/dev/null; then 7465 (exit $ac_status); } >/dev/null && {
6881 if test -s conftest.err; then 7466 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6882 ac_cpp_err=$ac_c_preproc_warn_flag 7467 test ! -s conftest.err
6883 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 7468 }; then
6884 else
6885 ac_cpp_err=
6886 fi
6887else
6888 ac_cpp_err=yes
6889fi
6890if test -z "$ac_cpp_err"; then
6891 ac_header_preproc=yes 7469 ac_header_preproc=yes
6892else 7470else
6893 echo "$as_me: failed program was:" >&5 7471 echo "$as_me: failed program was:" >&5
@@ -6895,9 +7473,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
6895 7473
6896 ac_header_preproc=no 7474 ac_header_preproc=no
6897fi 7475fi
7476
6898rm -f conftest.err conftest.$ac_ext 7477rm -f conftest.err conftest.$ac_ext
6899echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7478{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6900echo "${ECHO_T}$ac_header_preproc" >&6 7479echo "${ECHO_T}$ac_header_preproc" >&6; }
6901 7480
6902# So? What about this header? 7481# So? What about this header?
6903case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7482case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
@@ -6921,25 +7500,19 @@ echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\
6921echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7500echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6922 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7501 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6923echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7502echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6924 ( 7503
6925 cat <<\_ASBOX
6926## ------------------------------------------ ##
6927## Report this to the AC_PACKAGE_NAME lists. ##
6928## ------------------------------------------ ##
6929_ASBOX
6930 ) |
6931 sed "s/^/$as_me: WARNING: /" >&2
6932 ;; 7504 ;;
6933esac 7505esac
6934echo "$as_me:$LINENO: checking for $ac_header" >&5 7506{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6935echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7507echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6936if eval "test \"\${$as_ac_Header+set}\" = set"; then 7508if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6937 echo $ECHO_N "(cached) $ECHO_C" >&6 7509 echo $ECHO_N "(cached) $ECHO_C" >&6
6938else 7510else
6939 eval "$as_ac_Header=\$ac_header_preproc" 7511 eval "$as_ac_Header=\$ac_header_preproc"
6940fi 7512fi
6941echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7513ac_res=`eval echo '${'$as_ac_Header'}'`
6942echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7514 { echo "$as_me:$LINENO: result: $ac_res" >&5
7515echo "${ECHO_T}$ac_res" >&6; }
6943 7516
6944fi 7517fi
6945if test `eval echo '${'$as_ac_Header'}'` = yes; then 7518if test `eval echo '${'$as_ac_Header'}'` = yes; then
@@ -6955,9 +7528,9 @@ done
6955for ac_header in net/if.h 7528for ac_header in net/if.h
6956do 7529do
6957as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7530as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6958echo "$as_me:$LINENO: checking for $ac_header" >&5 7531{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6959echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7532echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6960if eval "test \"\${$as_ac_Header+set}\" = set"; then 7533if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6961 echo $ECHO_N "(cached) $ECHO_C" >&6 7534 echo $ECHO_N "(cached) $ECHO_C" >&6
6962else 7535else
6963 cat >conftest.$ac_ext <<_ACEOF 7536 cat >conftest.$ac_ext <<_ACEOF
@@ -6974,37 +7547,35 @@ $ac_includes_default
6974#include <$ac_header> 7547#include <$ac_header>
6975_ACEOF 7548_ACEOF
6976rm -f conftest.$ac_objext 7549rm -f conftest.$ac_objext
6977if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7550if { (ac_try="$ac_compile"
6978 (eval $ac_compile) 2>conftest.er1 7551case "(($ac_try" in
7552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7553 *) ac_try_echo=$ac_try;;
7554esac
7555eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7556 (eval "$ac_compile") 2>conftest.er1
6979 ac_status=$? 7557 ac_status=$?
6980 grep -v '^ *+' conftest.er1 >conftest.err 7558 grep -v '^ *+' conftest.er1 >conftest.err
6981 rm -f conftest.er1 7559 rm -f conftest.er1
6982 cat conftest.err >&5 7560 cat conftest.err >&5
6983 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6984 (exit $ac_status); } && 7562 (exit $ac_status); } && {
6985 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7563 test -z "$ac_c_werror_flag" ||
6986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7564 test ! -s conftest.err
6987 (eval $ac_try) 2>&5 7565 } && test -s conftest.$ac_objext; then
6988 ac_status=$?
6989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6990 (exit $ac_status); }; } &&
6991 { ac_try='test -s conftest.$ac_objext'
6992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6993 (eval $ac_try) 2>&5
6994 ac_status=$?
6995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6996 (exit $ac_status); }; }; then
6997 eval "$as_ac_Header=yes" 7566 eval "$as_ac_Header=yes"
6998else 7567else
6999 echo "$as_me: failed program was:" >&5 7568 echo "$as_me: failed program was:" >&5
7000sed 's/^/| /' conftest.$ac_ext >&5 7569sed 's/^/| /' conftest.$ac_ext >&5
7001 7570
7002eval "$as_ac_Header=no" 7571 eval "$as_ac_Header=no"
7003fi 7572fi
7004rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7573
7574rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7005fi 7575fi
7006echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7576ac_res=`eval echo '${'$as_ac_Header'}'`
7007echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7577 { echo "$as_me:$LINENO: result: $ac_res" >&5
7578echo "${ECHO_T}$ac_res" >&6; }
7008if test `eval echo '${'$as_ac_Header'}'` = yes; then 7579if test `eval echo '${'$as_ac_Header'}'` = yes; then
7009 cat >>confdefs.h <<_ACEOF 7580 cat >>confdefs.h <<_ACEOF
7010#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7581#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
@@ -7015,8 +7586,8 @@ fi
7015done 7586done
7016 7587
7017 7588
7018echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 7589{ echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
7019echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 7590echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
7020if test "${ac_cv_struct_tm+set}" = set; then 7591if test "${ac_cv_struct_tm+set}" = set; then
7021 echo $ECHO_N "(cached) $ECHO_C" >&6 7592 echo $ECHO_N "(cached) $ECHO_C" >&6
7022else 7593else
@@ -7032,43 +7603,42 @@ cat >>conftest.$ac_ext <<_ACEOF
7032int 7603int
7033main () 7604main ()
7034{ 7605{
7035struct tm *tp; tp->tm_sec; 7606struct tm tm;
7607 int *p = &tm.tm_sec;
7608 return !p;
7036 ; 7609 ;
7037 return 0; 7610 return 0;
7038} 7611}
7039_ACEOF 7612_ACEOF
7040rm -f conftest.$ac_objext 7613rm -f conftest.$ac_objext
7041if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7614if { (ac_try="$ac_compile"
7042 (eval $ac_compile) 2>conftest.er1 7615case "(($ac_try" in
7616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7617 *) ac_try_echo=$ac_try;;
7618esac
7619eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7620 (eval "$ac_compile") 2>conftest.er1
7043 ac_status=$? 7621 ac_status=$?
7044 grep -v '^ *+' conftest.er1 >conftest.err 7622 grep -v '^ *+' conftest.er1 >conftest.err
7045 rm -f conftest.er1 7623 rm -f conftest.er1
7046 cat conftest.err >&5 7624 cat conftest.err >&5
7047 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7048 (exit $ac_status); } && 7626 (exit $ac_status); } && {
7049 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7627 test -z "$ac_c_werror_flag" ||
7050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7628 test ! -s conftest.err
7051 (eval $ac_try) 2>&5 7629 } && test -s conftest.$ac_objext; then
7052 ac_status=$?
7053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7054 (exit $ac_status); }; } &&
7055 { ac_try='test -s conftest.$ac_objext'
7056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7057 (eval $ac_try) 2>&5
7058 ac_status=$?
7059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7060 (exit $ac_status); }; }; then
7061 ac_cv_struct_tm=time.h 7630 ac_cv_struct_tm=time.h
7062else 7631else
7063 echo "$as_me: failed program was:" >&5 7632 echo "$as_me: failed program was:" >&5
7064sed 's/^/| /' conftest.$ac_ext >&5 7633sed 's/^/| /' conftest.$ac_ext >&5
7065 7634
7066ac_cv_struct_tm=sys/time.h 7635 ac_cv_struct_tm=sys/time.h
7067fi 7636fi
7068rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7637
7638rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7069fi 7639fi
7070echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 7640{ echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
7071echo "${ECHO_T}$ac_cv_struct_tm" >&6 7641echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
7072if test $ac_cv_struct_tm = sys/time.h; then 7642if test $ac_cv_struct_tm = sys/time.h; then
7073 7643
7074cat >>confdefs.h <<\_ACEOF 7644cat >>confdefs.h <<\_ACEOF
@@ -7077,8 +7647,8 @@ _ACEOF
7077 7647
7078fi 7648fi
7079 7649
7080echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5 7650{ echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
7081echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6 7651echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6; }
7082if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then 7652if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
7083 echo $ECHO_N "(cached) $ECHO_C" >&6 7653 echo $ECHO_N "(cached) $ECHO_C" >&6
7084else 7654else
@@ -7103,32 +7673,28 @@ return 0;
7103} 7673}
7104_ACEOF 7674_ACEOF
7105rm -f conftest.$ac_objext 7675rm -f conftest.$ac_objext
7106if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7676if { (ac_try="$ac_compile"
7107 (eval $ac_compile) 2>conftest.er1 7677case "(($ac_try" in
7678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7679 *) ac_try_echo=$ac_try;;
7680esac
7681eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7682 (eval "$ac_compile") 2>conftest.er1
7108 ac_status=$? 7683 ac_status=$?
7109 grep -v '^ *+' conftest.er1 >conftest.err 7684 grep -v '^ *+' conftest.er1 >conftest.err
7110 rm -f conftest.er1 7685 rm -f conftest.er1
7111 cat conftest.err >&5 7686 cat conftest.err >&5
7112 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7113 (exit $ac_status); } && 7688 (exit $ac_status); } && {
7114 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7689 test -z "$ac_c_werror_flag" ||
7115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7690 test ! -s conftest.err
7116 (eval $ac_try) 2>&5 7691 } && test -s conftest.$ac_objext; then
7117 ac_status=$?
7118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7119 (exit $ac_status); }; } &&
7120 { ac_try='test -s conftest.$ac_objext'
7121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7122 (eval $ac_try) 2>&5
7123 ac_status=$?
7124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7125 (exit $ac_status); }; }; then
7126 ac_cv_member_struct_tm_tm_zone=yes 7692 ac_cv_member_struct_tm_tm_zone=yes
7127else 7693else
7128 echo "$as_me: failed program was:" >&5 7694 echo "$as_me: failed program was:" >&5
7129sed 's/^/| /' conftest.$ac_ext >&5 7695sed 's/^/| /' conftest.$ac_ext >&5
7130 7696
7131cat >conftest.$ac_ext <<_ACEOF 7697 cat >conftest.$ac_ext <<_ACEOF
7132/* confdefs.h. */ 7698/* confdefs.h. */
7133_ACEOF 7699_ACEOF
7134cat confdefs.h >>conftest.$ac_ext 7700cat confdefs.h >>conftest.$ac_ext
@@ -7149,39 +7715,37 @@ return 0;
7149} 7715}
7150_ACEOF 7716_ACEOF
7151rm -f conftest.$ac_objext 7717rm -f conftest.$ac_objext
7152if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7718if { (ac_try="$ac_compile"
7153 (eval $ac_compile) 2>conftest.er1 7719case "(($ac_try" in
7720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7721 *) ac_try_echo=$ac_try;;
7722esac
7723eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7724 (eval "$ac_compile") 2>conftest.er1
7154 ac_status=$? 7725 ac_status=$?
7155 grep -v '^ *+' conftest.er1 >conftest.err 7726 grep -v '^ *+' conftest.er1 >conftest.err
7156 rm -f conftest.er1 7727 rm -f conftest.er1
7157 cat conftest.err >&5 7728 cat conftest.err >&5
7158 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7159 (exit $ac_status); } && 7730 (exit $ac_status); } && {
7160 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7731 test -z "$ac_c_werror_flag" ||
7161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7732 test ! -s conftest.err
7162 (eval $ac_try) 2>&5 7733 } && test -s conftest.$ac_objext; then
7163 ac_status=$?
7164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7165 (exit $ac_status); }; } &&
7166 { ac_try='test -s conftest.$ac_objext'
7167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7168 (eval $ac_try) 2>&5
7169 ac_status=$?
7170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7171 (exit $ac_status); }; }; then
7172 ac_cv_member_struct_tm_tm_zone=yes 7734 ac_cv_member_struct_tm_tm_zone=yes
7173else 7735else
7174 echo "$as_me: failed program was:" >&5 7736 echo "$as_me: failed program was:" >&5
7175sed 's/^/| /' conftest.$ac_ext >&5 7737sed 's/^/| /' conftest.$ac_ext >&5
7176 7738
7177ac_cv_member_struct_tm_tm_zone=no 7739 ac_cv_member_struct_tm_tm_zone=no
7178fi 7740fi
7179rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7741
7742rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7180fi 7743fi
7181rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7744
7745rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7182fi 7746fi
7183echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5 7747{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
7184echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6 7748echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6; }
7185if test $ac_cv_member_struct_tm_tm_zone = yes; then 7749if test $ac_cv_member_struct_tm_tm_zone = yes; then
7186 7750
7187cat >>confdefs.h <<_ACEOF 7751cat >>confdefs.h <<_ACEOF
@@ -7198,8 +7762,77 @@ cat >>confdefs.h <<\_ACEOF
7198_ACEOF 7762_ACEOF
7199 7763
7200else 7764else
7201 echo "$as_me:$LINENO: checking for tzname" >&5 7765 { echo "$as_me:$LINENO: checking whether tzname is declared" >&5
7202echo $ECHO_N "checking for tzname... $ECHO_C" >&6 7766echo $ECHO_N "checking whether tzname is declared... $ECHO_C" >&6; }
7767if test "${ac_cv_have_decl_tzname+set}" = set; then
7768 echo $ECHO_N "(cached) $ECHO_C" >&6
7769else
7770 cat >conftest.$ac_ext <<_ACEOF
7771/* confdefs.h. */
7772_ACEOF
7773cat confdefs.h >>conftest.$ac_ext
7774cat >>conftest.$ac_ext <<_ACEOF
7775/* end confdefs.h. */
7776#include <time.h>
7777
7778int
7779main ()
7780{
7781#ifndef tzname
7782 (void) tzname;
7783#endif
7784
7785 ;
7786 return 0;
7787}
7788_ACEOF
7789rm -f conftest.$ac_objext
7790if { (ac_try="$ac_compile"
7791case "(($ac_try" in
7792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7793 *) ac_try_echo=$ac_try;;
7794esac
7795eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7796 (eval "$ac_compile") 2>conftest.er1
7797 ac_status=$?
7798 grep -v '^ *+' conftest.er1 >conftest.err
7799 rm -f conftest.er1
7800 cat conftest.err >&5
7801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7802 (exit $ac_status); } && {
7803 test -z "$ac_c_werror_flag" ||
7804 test ! -s conftest.err
7805 } && test -s conftest.$ac_objext; then
7806 ac_cv_have_decl_tzname=yes
7807else
7808 echo "$as_me: failed program was:" >&5
7809sed 's/^/| /' conftest.$ac_ext >&5
7810
7811 ac_cv_have_decl_tzname=no
7812fi
7813
7814rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7815fi
7816{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5
7817echo "${ECHO_T}$ac_cv_have_decl_tzname" >&6; }
7818if test $ac_cv_have_decl_tzname = yes; then
7819
7820cat >>confdefs.h <<_ACEOF
7821#define HAVE_DECL_TZNAME 1
7822_ACEOF
7823
7824
7825else
7826 cat >>confdefs.h <<_ACEOF
7827#define HAVE_DECL_TZNAME 0
7828_ACEOF
7829
7830
7831fi
7832
7833
7834 { echo "$as_me:$LINENO: checking for tzname" >&5
7835echo $ECHO_N "checking for tzname... $ECHO_C" >&6; }
7203if test "${ac_cv_var_tzname+set}" = set; then 7836if test "${ac_cv_var_tzname+set}" = set; then
7204 echo $ECHO_N "(cached) $ECHO_C" >&6 7837 echo $ECHO_N "(cached) $ECHO_C" >&6
7205else 7838else
@@ -7210,51 +7843,49 @@ cat confdefs.h >>conftest.$ac_ext
7210cat >>conftest.$ac_ext <<_ACEOF 7843cat >>conftest.$ac_ext <<_ACEOF
7211/* end confdefs.h. */ 7844/* end confdefs.h. */
7212#include <time.h> 7845#include <time.h>
7213#ifndef tzname /* For SGI. */ 7846#if !HAVE_DECL_TZNAME
7214extern char *tzname[]; /* RS6000 and others reject char **tzname. */ 7847extern char *tzname[];
7215#endif 7848#endif
7216 7849
7217int 7850int
7218main () 7851main ()
7219{ 7852{
7220atoi(*tzname); 7853return tzname[0][0];
7221 ; 7854 ;
7222 return 0; 7855 return 0;
7223} 7856}
7224_ACEOF 7857_ACEOF
7225rm -f conftest.$ac_objext conftest$ac_exeext 7858rm -f conftest.$ac_objext conftest$ac_exeext
7226if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7859if { (ac_try="$ac_link"
7227 (eval $ac_link) 2>conftest.er1 7860case "(($ac_try" in
7861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7862 *) ac_try_echo=$ac_try;;
7863esac
7864eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7865 (eval "$ac_link") 2>conftest.er1
7228 ac_status=$? 7866 ac_status=$?
7229 grep -v '^ *+' conftest.er1 >conftest.err 7867 grep -v '^ *+' conftest.er1 >conftest.err
7230 rm -f conftest.er1 7868 rm -f conftest.er1
7231 cat conftest.err >&5 7869 cat conftest.err >&5
7232 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7233 (exit $ac_status); } && 7871 (exit $ac_status); } && {
7234 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7872 test -z "$ac_c_werror_flag" ||
7235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7873 test ! -s conftest.err
7236 (eval $ac_try) 2>&5 7874 } && test -s conftest$ac_exeext &&
7237 ac_status=$? 7875 $as_test_x conftest$ac_exeext; then
7238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7239 (exit $ac_status); }; } &&
7240 { ac_try='test -s conftest$ac_exeext'
7241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7242 (eval $ac_try) 2>&5
7243 ac_status=$?
7244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7245 (exit $ac_status); }; }; then
7246 ac_cv_var_tzname=yes 7876 ac_cv_var_tzname=yes
7247else 7877else
7248 echo "$as_me: failed program was:" >&5 7878 echo "$as_me: failed program was:" >&5
7249sed 's/^/| /' conftest.$ac_ext >&5 7879sed 's/^/| /' conftest.$ac_ext >&5
7250 7880
7251ac_cv_var_tzname=no 7881 ac_cv_var_tzname=no
7252fi 7882fi
7253rm -f conftest.err conftest.$ac_objext \ 7883
7884rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7254 conftest$ac_exeext conftest.$ac_ext 7885 conftest$ac_exeext conftest.$ac_ext
7255fi 7886fi
7256echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5 7887{ echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
7257echo "${ECHO_T}$ac_cv_var_tzname" >&6 7888echo "${ECHO_T}$ac_cv_var_tzname" >&6; }
7258 if test $ac_cv_var_tzname = yes; then 7889 if test $ac_cv_var_tzname = yes; then
7259 7890
7260cat >>confdefs.h <<\_ACEOF 7891cat >>confdefs.h <<\_ACEOF
@@ -7264,8 +7895,8 @@ _ACEOF
7264 fi 7895 fi
7265fi 7896fi
7266 7897
7267echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5 7898{ echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5
7268echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6 7899echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6; }
7269if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then 7900if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
7270 echo $ECHO_N "(cached) $ECHO_C" >&6 7901 echo $ECHO_N "(cached) $ECHO_C" >&6
7271else 7902else
@@ -7288,32 +7919,28 @@ return 0;
7288} 7919}
7289_ACEOF 7920_ACEOF
7290rm -f conftest.$ac_objext 7921rm -f conftest.$ac_objext
7291if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7922if { (ac_try="$ac_compile"
7292 (eval $ac_compile) 2>conftest.er1 7923case "(($ac_try" in
7924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7925 *) ac_try_echo=$ac_try;;
7926esac
7927eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7928 (eval "$ac_compile") 2>conftest.er1
7293 ac_status=$? 7929 ac_status=$?
7294 grep -v '^ *+' conftest.er1 >conftest.err 7930 grep -v '^ *+' conftest.er1 >conftest.err
7295 rm -f conftest.er1 7931 rm -f conftest.er1
7296 cat conftest.err >&5 7932 cat conftest.err >&5
7297 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7298 (exit $ac_status); } && 7934 (exit $ac_status); } && {
7299 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7935 test -z "$ac_c_werror_flag" ||
7300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7936 test ! -s conftest.err
7301 (eval $ac_try) 2>&5 7937 } && test -s conftest.$ac_objext; then
7302 ac_status=$?
7303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7304 (exit $ac_status); }; } &&
7305 { ac_try='test -s conftest.$ac_objext'
7306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7307 (eval $ac_try) 2>&5
7308 ac_status=$?
7309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7310 (exit $ac_status); }; }; then
7311 ac_cv_member_struct_tm_tm_gmtoff=yes 7938 ac_cv_member_struct_tm_tm_gmtoff=yes
7312else 7939else
7313 echo "$as_me: failed program was:" >&5 7940 echo "$as_me: failed program was:" >&5
7314sed 's/^/| /' conftest.$ac_ext >&5 7941sed 's/^/| /' conftest.$ac_ext >&5
7315 7942
7316cat >conftest.$ac_ext <<_ACEOF 7943 cat >conftest.$ac_ext <<_ACEOF
7317/* confdefs.h. */ 7944/* confdefs.h. */
7318_ACEOF 7945_ACEOF
7319cat confdefs.h >>conftest.$ac_ext 7946cat confdefs.h >>conftest.$ac_ext
@@ -7332,39 +7959,37 @@ return 0;
7332} 7959}
7333_ACEOF 7960_ACEOF
7334rm -f conftest.$ac_objext 7961rm -f conftest.$ac_objext
7335if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7962if { (ac_try="$ac_compile"
7336 (eval $ac_compile) 2>conftest.er1 7963case "(($ac_try" in
7964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7965 *) ac_try_echo=$ac_try;;
7966esac
7967eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7968 (eval "$ac_compile") 2>conftest.er1
7337 ac_status=$? 7969 ac_status=$?
7338 grep -v '^ *+' conftest.er1 >conftest.err 7970 grep -v '^ *+' conftest.er1 >conftest.err
7339 rm -f conftest.er1 7971 rm -f conftest.er1
7340 cat conftest.err >&5 7972 cat conftest.err >&5
7341 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7342 (exit $ac_status); } && 7974 (exit $ac_status); } && {
7343 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7975 test -z "$ac_c_werror_flag" ||
7344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7976 test ! -s conftest.err
7345 (eval $ac_try) 2>&5 7977 } && test -s conftest.$ac_objext; then
7346 ac_status=$?
7347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7348 (exit $ac_status); }; } &&
7349 { ac_try='test -s conftest.$ac_objext'
7350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7351 (eval $ac_try) 2>&5
7352 ac_status=$?
7353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7354 (exit $ac_status); }; }; then
7355 ac_cv_member_struct_tm_tm_gmtoff=yes 7978 ac_cv_member_struct_tm_tm_gmtoff=yes
7356else 7979else
7357 echo "$as_me: failed program was:" >&5 7980 echo "$as_me: failed program was:" >&5
7358sed 's/^/| /' conftest.$ac_ext >&5 7981sed 's/^/| /' conftest.$ac_ext >&5
7359 7982
7360ac_cv_member_struct_tm_tm_gmtoff=no 7983 ac_cv_member_struct_tm_tm_gmtoff=no
7361fi 7984fi
7362rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7985
7986rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7363fi 7987fi
7364rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7988
7989rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7365fi 7990fi
7366echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5 7991{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
7367echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6 7992echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6; }
7368if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then 7993if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
7369 7994
7370cat >>confdefs.h <<\_ACEOF 7995cat >>confdefs.h <<\_ACEOF
@@ -7373,8 +7998,8 @@ _ACEOF
7373 7998
7374fi 7999fi
7375 8000
7376echo "$as_me:$LINENO: checking for struct ifreq.ifr_flags" >&5 8001{ echo "$as_me:$LINENO: checking for struct ifreq.ifr_flags" >&5
7377echo $ECHO_N "checking for struct ifreq.ifr_flags... $ECHO_C" >&6 8002echo $ECHO_N "checking for struct ifreq.ifr_flags... $ECHO_C" >&6; }
7378if test "${ac_cv_member_struct_ifreq_ifr_flags+set}" = set; then 8003if test "${ac_cv_member_struct_ifreq_ifr_flags+set}" = set; then
7379 echo $ECHO_N "(cached) $ECHO_C" >&6 8004 echo $ECHO_N "(cached) $ECHO_C" >&6
7380else 8005else
@@ -7403,32 +8028,28 @@ return 0;
7403} 8028}
7404_ACEOF 8029_ACEOF
7405rm -f conftest.$ac_objext 8030rm -f conftest.$ac_objext
7406if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8031if { (ac_try="$ac_compile"
7407 (eval $ac_compile) 2>conftest.er1 8032case "(($ac_try" in
8033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8034 *) ac_try_echo=$ac_try;;
8035esac
8036eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8037 (eval "$ac_compile") 2>conftest.er1
7408 ac_status=$? 8038 ac_status=$?
7409 grep -v '^ *+' conftest.er1 >conftest.err 8039 grep -v '^ *+' conftest.er1 >conftest.err
7410 rm -f conftest.er1 8040 rm -f conftest.er1
7411 cat conftest.err >&5 8041 cat conftest.err >&5
7412 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7413 (exit $ac_status); } && 8043 (exit $ac_status); } && {
7414 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 8044 test -z "$ac_c_werror_flag" ||
7415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8045 test ! -s conftest.err
7416 (eval $ac_try) 2>&5 8046 } && test -s conftest.$ac_objext; then
7417 ac_status=$?
7418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7419 (exit $ac_status); }; } &&
7420 { ac_try='test -s conftest.$ac_objext'
7421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7422 (eval $ac_try) 2>&5
7423 ac_status=$?
7424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7425 (exit $ac_status); }; }; then
7426 ac_cv_member_struct_ifreq_ifr_flags=yes 8047 ac_cv_member_struct_ifreq_ifr_flags=yes
7427else 8048else
7428 echo "$as_me: failed program was:" >&5 8049 echo "$as_me: failed program was:" >&5
7429sed 's/^/| /' conftest.$ac_ext >&5 8050sed 's/^/| /' conftest.$ac_ext >&5
7430 8051
7431cat >conftest.$ac_ext <<_ACEOF 8052 cat >conftest.$ac_ext <<_ACEOF
7432/* confdefs.h. */ 8053/* confdefs.h. */
7433_ACEOF 8054_ACEOF
7434cat confdefs.h >>conftest.$ac_ext 8055cat confdefs.h >>conftest.$ac_ext
@@ -7453,39 +8074,37 @@ return 0;
7453} 8074}
7454_ACEOF 8075_ACEOF
7455rm -f conftest.$ac_objext 8076rm -f conftest.$ac_objext
7456if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8077if { (ac_try="$ac_compile"
7457 (eval $ac_compile) 2>conftest.er1 8078case "(($ac_try" in
8079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8080 *) ac_try_echo=$ac_try;;
8081esac
8082eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8083 (eval "$ac_compile") 2>conftest.er1
7458 ac_status=$? 8084 ac_status=$?
7459 grep -v '^ *+' conftest.er1 >conftest.err 8085 grep -v '^ *+' conftest.er1 >conftest.err
7460 rm -f conftest.er1 8086 rm -f conftest.er1
7461 cat conftest.err >&5 8087 cat conftest.err >&5
7462 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7463 (exit $ac_status); } && 8089 (exit $ac_status); } && {
7464 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 8090 test -z "$ac_c_werror_flag" ||
7465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8091 test ! -s conftest.err
7466 (eval $ac_try) 2>&5 8092 } && test -s conftest.$ac_objext; then
7467 ac_status=$?
7468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7469 (exit $ac_status); }; } &&
7470 { ac_try='test -s conftest.$ac_objext'
7471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7472 (eval $ac_try) 2>&5
7473 ac_status=$?
7474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7475 (exit $ac_status); }; }; then
7476 ac_cv_member_struct_ifreq_ifr_flags=yes 8093 ac_cv_member_struct_ifreq_ifr_flags=yes
7477else 8094else
7478 echo "$as_me: failed program was:" >&5 8095 echo "$as_me: failed program was:" >&5
7479sed 's/^/| /' conftest.$ac_ext >&5 8096sed 's/^/| /' conftest.$ac_ext >&5
7480 8097
7481ac_cv_member_struct_ifreq_ifr_flags=no 8098 ac_cv_member_struct_ifreq_ifr_flags=no
7482fi 8099fi
7483rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8100
8101rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7484fi 8102fi
7485rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8103
8104rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7486fi 8105fi
7487echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_flags" >&5 8106{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_flags" >&5
7488echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_flags" >&6 8107echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_flags" >&6; }
7489if test $ac_cv_member_struct_ifreq_ifr_flags = yes; then 8108if test $ac_cv_member_struct_ifreq_ifr_flags = yes; then
7490 8109
7491cat >>confdefs.h <<_ACEOF 8110cat >>confdefs.h <<_ACEOF
@@ -7494,8 +8113,8 @@ _ACEOF
7494 8113
7495 8114
7496fi 8115fi
7497echo "$as_me:$LINENO: checking for struct ifreq.ifr_hwaddr" >&5 8116{ echo "$as_me:$LINENO: checking for struct ifreq.ifr_hwaddr" >&5
7498echo $ECHO_N "checking for struct ifreq.ifr_hwaddr... $ECHO_C" >&6 8117echo $ECHO_N "checking for struct ifreq.ifr_hwaddr... $ECHO_C" >&6; }
7499if test "${ac_cv_member_struct_ifreq_ifr_hwaddr+set}" = set; then 8118if test "${ac_cv_member_struct_ifreq_ifr_hwaddr+set}" = set; then
7500 echo $ECHO_N "(cached) $ECHO_C" >&6 8119 echo $ECHO_N "(cached) $ECHO_C" >&6
7501else 8120else
@@ -7524,32 +8143,28 @@ return 0;
7524} 8143}
7525_ACEOF 8144_ACEOF
7526rm -f conftest.$ac_objext 8145rm -f conftest.$ac_objext
7527if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8146if { (ac_try="$ac_compile"
7528 (eval $ac_compile) 2>conftest.er1 8147case "(($ac_try" in
8148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8149 *) ac_try_echo=$ac_try;;
8150esac
8151eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8152 (eval "$ac_compile") 2>conftest.er1
7529 ac_status=$? 8153 ac_status=$?
7530 grep -v '^ *+' conftest.er1 >conftest.err 8154 grep -v '^ *+' conftest.er1 >conftest.err
7531 rm -f conftest.er1 8155 rm -f conftest.er1
7532 cat conftest.err >&5 8156 cat conftest.err >&5
7533 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7534 (exit $ac_status); } && 8158 (exit $ac_status); } && {
7535 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 8159 test -z "$ac_c_werror_flag" ||
7536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8160 test ! -s conftest.err
7537 (eval $ac_try) 2>&5 8161 } && test -s conftest.$ac_objext; then
7538 ac_status=$?
7539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7540 (exit $ac_status); }; } &&
7541 { ac_try='test -s conftest.$ac_objext'
7542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7543 (eval $ac_try) 2>&5
7544 ac_status=$?
7545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7546 (exit $ac_status); }; }; then
7547 ac_cv_member_struct_ifreq_ifr_hwaddr=yes 8162 ac_cv_member_struct_ifreq_ifr_hwaddr=yes
7548else 8163else
7549 echo "$as_me: failed program was:" >&5 8164 echo "$as_me: failed program was:" >&5
7550sed 's/^/| /' conftest.$ac_ext >&5 8165sed 's/^/| /' conftest.$ac_ext >&5
7551 8166
7552cat >conftest.$ac_ext <<_ACEOF 8167 cat >conftest.$ac_ext <<_ACEOF
7553/* confdefs.h. */ 8168/* confdefs.h. */
7554_ACEOF 8169_ACEOF
7555cat confdefs.h >>conftest.$ac_ext 8170cat confdefs.h >>conftest.$ac_ext
@@ -7574,39 +8189,37 @@ return 0;
7574} 8189}
7575_ACEOF 8190_ACEOF
7576rm -f conftest.$ac_objext 8191rm -f conftest.$ac_objext
7577if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8192if { (ac_try="$ac_compile"
7578 (eval $ac_compile) 2>conftest.er1 8193case "(($ac_try" in
8194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8195 *) ac_try_echo=$ac_try;;
8196esac
8197eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8198 (eval "$ac_compile") 2>conftest.er1
7579 ac_status=$? 8199 ac_status=$?
7580 grep -v '^ *+' conftest.er1 >conftest.err 8200 grep -v '^ *+' conftest.er1 >conftest.err
7581 rm -f conftest.er1 8201 rm -f conftest.er1
7582 cat conftest.err >&5 8202 cat conftest.err >&5
7583 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7584 (exit $ac_status); } && 8204 (exit $ac_status); } && {
7585 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 8205 test -z "$ac_c_werror_flag" ||
7586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8206 test ! -s conftest.err
7587 (eval $ac_try) 2>&5 8207 } && test -s conftest.$ac_objext; then
7588 ac_status=$?
7589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7590 (exit $ac_status); }; } &&
7591 { ac_try='test -s conftest.$ac_objext'
7592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7593 (eval $ac_try) 2>&5
7594 ac_status=$?
7595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7596 (exit $ac_status); }; }; then
7597 ac_cv_member_struct_ifreq_ifr_hwaddr=yes 8208 ac_cv_member_struct_ifreq_ifr_hwaddr=yes
7598else 8209else
7599 echo "$as_me: failed program was:" >&5 8210 echo "$as_me: failed program was:" >&5
7600sed 's/^/| /' conftest.$ac_ext >&5 8211sed 's/^/| /' conftest.$ac_ext >&5
7601 8212
7602ac_cv_member_struct_ifreq_ifr_hwaddr=no 8213 ac_cv_member_struct_ifreq_ifr_hwaddr=no
7603fi 8214fi
7604rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8215
8216rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7605fi 8217fi
7606rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8218
8219rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7607fi 8220fi
7608echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_hwaddr" >&5 8221{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_hwaddr" >&5
7609echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_hwaddr" >&6 8222echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_hwaddr" >&6; }
7610if test $ac_cv_member_struct_ifreq_ifr_hwaddr = yes; then 8223if test $ac_cv_member_struct_ifreq_ifr_hwaddr = yes; then
7611 8224
7612cat >>confdefs.h <<_ACEOF 8225cat >>confdefs.h <<_ACEOF
@@ -7615,8 +8228,8 @@ _ACEOF
7615 8228
7616 8229
7617fi 8230fi
7618echo "$as_me:$LINENO: checking for struct ifreq.ifr_netmask" >&5 8231{ echo "$as_me:$LINENO: checking for struct ifreq.ifr_netmask" >&5
7619echo $ECHO_N "checking for struct ifreq.ifr_netmask... $ECHO_C" >&6 8232echo $ECHO_N "checking for struct ifreq.ifr_netmask... $ECHO_C" >&6; }
7620if test "${ac_cv_member_struct_ifreq_ifr_netmask+set}" = set; then 8233if test "${ac_cv_member_struct_ifreq_ifr_netmask+set}" = set; then
7621 echo $ECHO_N "(cached) $ECHO_C" >&6 8234 echo $ECHO_N "(cached) $ECHO_C" >&6
7622else 8235else
@@ -7645,32 +8258,28 @@ return 0;
7645} 8258}
7646_ACEOF 8259_ACEOF
7647rm -f conftest.$ac_objext 8260rm -f conftest.$ac_objext
7648if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8261if { (ac_try="$ac_compile"
7649 (eval $ac_compile) 2>conftest.er1 8262case "(($ac_try" in
8263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8264 *) ac_try_echo=$ac_try;;
8265esac
8266eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8267 (eval "$ac_compile") 2>conftest.er1
7650 ac_status=$? 8268 ac_status=$?
7651 grep -v '^ *+' conftest.er1 >conftest.err 8269 grep -v '^ *+' conftest.er1 >conftest.err
7652 rm -f conftest.er1 8270 rm -f conftest.er1
7653 cat conftest.err >&5 8271 cat conftest.err >&5
7654 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7655 (exit $ac_status); } && 8273 (exit $ac_status); } && {
7656 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 8274 test -z "$ac_c_werror_flag" ||
7657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8275 test ! -s conftest.err
7658 (eval $ac_try) 2>&5 8276 } && test -s conftest.$ac_objext; then
7659 ac_status=$?
7660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7661 (exit $ac_status); }; } &&
7662 { ac_try='test -s conftest.$ac_objext'
7663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7664 (eval $ac_try) 2>&5
7665 ac_status=$?
7666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7667 (exit $ac_status); }; }; then
7668 ac_cv_member_struct_ifreq_ifr_netmask=yes 8277 ac_cv_member_struct_ifreq_ifr_netmask=yes
7669else 8278else
7670 echo "$as_me: failed program was:" >&5 8279 echo "$as_me: failed program was:" >&5
7671sed 's/^/| /' conftest.$ac_ext >&5 8280sed 's/^/| /' conftest.$ac_ext >&5
7672 8281
7673cat >conftest.$ac_ext <<_ACEOF 8282 cat >conftest.$ac_ext <<_ACEOF
7674/* confdefs.h. */ 8283/* confdefs.h. */
7675_ACEOF 8284_ACEOF
7676cat confdefs.h >>conftest.$ac_ext 8285cat confdefs.h >>conftest.$ac_ext
@@ -7695,39 +8304,37 @@ return 0;
7695} 8304}
7696_ACEOF 8305_ACEOF
7697rm -f conftest.$ac_objext 8306rm -f conftest.$ac_objext
7698if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8307if { (ac_try="$ac_compile"
7699 (eval $ac_compile) 2>conftest.er1 8308case "(($ac_try" in
8309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8310 *) ac_try_echo=$ac_try;;
8311esac
8312eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8313 (eval "$ac_compile") 2>conftest.er1
7700 ac_status=$? 8314 ac_status=$?
7701 grep -v '^ *+' conftest.er1 >conftest.err 8315 grep -v '^ *+' conftest.er1 >conftest.err
7702 rm -f conftest.er1 8316 rm -f conftest.er1
7703 cat conftest.err >&5 8317 cat conftest.err >&5
7704 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7705 (exit $ac_status); } && 8319 (exit $ac_status); } && {
7706 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 8320 test -z "$ac_c_werror_flag" ||
7707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8321 test ! -s conftest.err
7708 (eval $ac_try) 2>&5 8322 } && test -s conftest.$ac_objext; then
7709 ac_status=$?
7710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7711 (exit $ac_status); }; } &&
7712 { ac_try='test -s conftest.$ac_objext'
7713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7714 (eval $ac_try) 2>&5
7715 ac_status=$?
7716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7717 (exit $ac_status); }; }; then
7718 ac_cv_member_struct_ifreq_ifr_netmask=yes 8323 ac_cv_member_struct_ifreq_ifr_netmask=yes
7719else 8324else
7720 echo "$as_me: failed program was:" >&5 8325 echo "$as_me: failed program was:" >&5
7721sed 's/^/| /' conftest.$ac_ext >&5 8326sed 's/^/| /' conftest.$ac_ext >&5
7722 8327
7723ac_cv_member_struct_ifreq_ifr_netmask=no 8328 ac_cv_member_struct_ifreq_ifr_netmask=no
7724fi 8329fi
7725rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8330
8331rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7726fi 8332fi
7727rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8333
8334rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7728fi 8335fi
7729echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_netmask" >&5 8336{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_netmask" >&5
7730echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_netmask" >&6 8337echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_netmask" >&6; }
7731if test $ac_cv_member_struct_ifreq_ifr_netmask = yes; then 8338if test $ac_cv_member_struct_ifreq_ifr_netmask = yes; then
7732 8339
7733cat >>confdefs.h <<_ACEOF 8340cat >>confdefs.h <<_ACEOF
@@ -7736,8 +8343,8 @@ _ACEOF
7736 8343
7737 8344
7738fi 8345fi
7739echo "$as_me:$LINENO: checking for struct ifreq.ifr_broadaddr" >&5 8346{ echo "$as_me:$LINENO: checking for struct ifreq.ifr_broadaddr" >&5
7740echo $ECHO_N "checking for struct ifreq.ifr_broadaddr... $ECHO_C" >&6 8347echo $ECHO_N "checking for struct ifreq.ifr_broadaddr... $ECHO_C" >&6; }
7741if test "${ac_cv_member_struct_ifreq_ifr_broadaddr+set}" = set; then 8348if test "${ac_cv_member_struct_ifreq_ifr_broadaddr+set}" = set; then
7742 echo $ECHO_N "(cached) $ECHO_C" >&6 8349 echo $ECHO_N "(cached) $ECHO_C" >&6
7743else 8350else
@@ -7766,32 +8373,28 @@ return 0;
7766} 8373}
7767_ACEOF 8374_ACEOF
7768rm -f conftest.$ac_objext 8375rm -f conftest.$ac_objext
7769if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8376if { (ac_try="$ac_compile"
7770 (eval $ac_compile) 2>conftest.er1 8377case "(($ac_try" in
8378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8379 *) ac_try_echo=$ac_try;;
8380esac
8381eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8382 (eval "$ac_compile") 2>conftest.er1
7771 ac_status=$? 8383 ac_status=$?
7772 grep -v '^ *+' conftest.er1 >conftest.err 8384 grep -v '^ *+' conftest.er1 >conftest.err
7773 rm -f conftest.er1 8385 rm -f conftest.er1
7774 cat conftest.err >&5 8386 cat conftest.err >&5
7775 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7776 (exit $ac_status); } && 8388 (exit $ac_status); } && {
7777 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 8389 test -z "$ac_c_werror_flag" ||
7778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8390 test ! -s conftest.err
7779 (eval $ac_try) 2>&5 8391 } && test -s conftest.$ac_objext; then
7780 ac_status=$?
7781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7782 (exit $ac_status); }; } &&
7783 { ac_try='test -s conftest.$ac_objext'
7784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7785 (eval $ac_try) 2>&5
7786 ac_status=$?
7787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7788 (exit $ac_status); }; }; then
7789 ac_cv_member_struct_ifreq_ifr_broadaddr=yes 8392 ac_cv_member_struct_ifreq_ifr_broadaddr=yes
7790else 8393else
7791 echo "$as_me: failed program was:" >&5 8394 echo "$as_me: failed program was:" >&5
7792sed 's/^/| /' conftest.$ac_ext >&5 8395sed 's/^/| /' conftest.$ac_ext >&5
7793 8396
7794cat >conftest.$ac_ext <<_ACEOF 8397 cat >conftest.$ac_ext <<_ACEOF
7795/* confdefs.h. */ 8398/* confdefs.h. */
7796_ACEOF 8399_ACEOF
7797cat confdefs.h >>conftest.$ac_ext 8400cat confdefs.h >>conftest.$ac_ext
@@ -7816,39 +8419,37 @@ return 0;
7816} 8419}
7817_ACEOF 8420_ACEOF
7818rm -f conftest.$ac_objext 8421rm -f conftest.$ac_objext
7819if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8422if { (ac_try="$ac_compile"
7820 (eval $ac_compile) 2>conftest.er1 8423case "(($ac_try" in
8424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8425 *) ac_try_echo=$ac_try;;
8426esac
8427eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8428 (eval "$ac_compile") 2>conftest.er1
7821 ac_status=$? 8429 ac_status=$?
7822 grep -v '^ *+' conftest.er1 >conftest.err 8430 grep -v '^ *+' conftest.er1 >conftest.err
7823 rm -f conftest.er1 8431 rm -f conftest.er1
7824 cat conftest.err >&5 8432 cat conftest.err >&5
7825 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7826 (exit $ac_status); } && 8434 (exit $ac_status); } && {
7827 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 8435 test -z "$ac_c_werror_flag" ||
7828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8436 test ! -s conftest.err
7829 (eval $ac_try) 2>&5 8437 } && test -s conftest.$ac_objext; then
7830 ac_status=$?
7831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7832 (exit $ac_status); }; } &&
7833 { ac_try='test -s conftest.$ac_objext'
7834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7835 (eval $ac_try) 2>&5
7836 ac_status=$?
7837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7838 (exit $ac_status); }; }; then
7839 ac_cv_member_struct_ifreq_ifr_broadaddr=yes 8438 ac_cv_member_struct_ifreq_ifr_broadaddr=yes
7840else 8439else
7841 echo "$as_me: failed program was:" >&5 8440 echo "$as_me: failed program was:" >&5
7842sed 's/^/| /' conftest.$ac_ext >&5 8441sed 's/^/| /' conftest.$ac_ext >&5
7843 8442
7844ac_cv_member_struct_ifreq_ifr_broadaddr=no 8443 ac_cv_member_struct_ifreq_ifr_broadaddr=no
7845fi 8444fi
7846rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8445
8446rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7847fi 8447fi
7848rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8448
8449rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7849fi 8450fi
7850echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_broadaddr" >&5 8451{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_broadaddr" >&5
7851echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_broadaddr" >&6 8452echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_broadaddr" >&6; }
7852if test $ac_cv_member_struct_ifreq_ifr_broadaddr = yes; then 8453if test $ac_cv_member_struct_ifreq_ifr_broadaddr = yes; then
7853 8454
7854cat >>confdefs.h <<_ACEOF 8455cat >>confdefs.h <<_ACEOF
@@ -7857,8 +8458,8 @@ _ACEOF
7857 8458
7858 8459
7859fi 8460fi
7860echo "$as_me:$LINENO: checking for struct ifreq.ifr_addr" >&5 8461{ echo "$as_me:$LINENO: checking for struct ifreq.ifr_addr" >&5
7861echo $ECHO_N "checking for struct ifreq.ifr_addr... $ECHO_C" >&6 8462echo $ECHO_N "checking for struct ifreq.ifr_addr... $ECHO_C" >&6; }
7862if test "${ac_cv_member_struct_ifreq_ifr_addr+set}" = set; then 8463if test "${ac_cv_member_struct_ifreq_ifr_addr+set}" = set; then
7863 echo $ECHO_N "(cached) $ECHO_C" >&6 8464 echo $ECHO_N "(cached) $ECHO_C" >&6
7864else 8465else
@@ -7887,32 +8488,28 @@ return 0;
7887} 8488}
7888_ACEOF 8489_ACEOF
7889rm -f conftest.$ac_objext 8490rm -f conftest.$ac_objext
7890if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8491if { (ac_try="$ac_compile"
7891 (eval $ac_compile) 2>conftest.er1 8492case "(($ac_try" in
8493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8494 *) ac_try_echo=$ac_try;;
8495esac
8496eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8497 (eval "$ac_compile") 2>conftest.er1
7892 ac_status=$? 8498 ac_status=$?
7893 grep -v '^ *+' conftest.er1 >conftest.err 8499 grep -v '^ *+' conftest.er1 >conftest.err
7894 rm -f conftest.er1 8500 rm -f conftest.er1
7895 cat conftest.err >&5 8501 cat conftest.err >&5
7896 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7897 (exit $ac_status); } && 8503 (exit $ac_status); } && {
7898 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 8504 test -z "$ac_c_werror_flag" ||
7899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8505 test ! -s conftest.err
7900 (eval $ac_try) 2>&5 8506 } && test -s conftest.$ac_objext; then
7901 ac_status=$?
7902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7903 (exit $ac_status); }; } &&
7904 { ac_try='test -s conftest.$ac_objext'
7905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7906 (eval $ac_try) 2>&5
7907 ac_status=$?
7908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7909 (exit $ac_status); }; }; then
7910 ac_cv_member_struct_ifreq_ifr_addr=yes 8507 ac_cv_member_struct_ifreq_ifr_addr=yes
7911else 8508else
7912 echo "$as_me: failed program was:" >&5 8509 echo "$as_me: failed program was:" >&5
7913sed 's/^/| /' conftest.$ac_ext >&5 8510sed 's/^/| /' conftest.$ac_ext >&5
7914 8511
7915cat >conftest.$ac_ext <<_ACEOF 8512 cat >conftest.$ac_ext <<_ACEOF
7916/* confdefs.h. */ 8513/* confdefs.h. */
7917_ACEOF 8514_ACEOF
7918cat confdefs.h >>conftest.$ac_ext 8515cat confdefs.h >>conftest.$ac_ext
@@ -7937,39 +8534,37 @@ return 0;
7937} 8534}
7938_ACEOF 8535_ACEOF
7939rm -f conftest.$ac_objext 8536rm -f conftest.$ac_objext
7940if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8537if { (ac_try="$ac_compile"
7941 (eval $ac_compile) 2>conftest.er1 8538case "(($ac_try" in
8539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8540 *) ac_try_echo=$ac_try;;
8541esac
8542eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8543 (eval "$ac_compile") 2>conftest.er1
7942 ac_status=$? 8544 ac_status=$?
7943 grep -v '^ *+' conftest.er1 >conftest.err 8545 grep -v '^ *+' conftest.er1 >conftest.err
7944 rm -f conftest.er1 8546 rm -f conftest.er1
7945 cat conftest.err >&5 8547 cat conftest.err >&5
7946 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7947 (exit $ac_status); } && 8549 (exit $ac_status); } && {
7948 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 8550 test -z "$ac_c_werror_flag" ||
7949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8551 test ! -s conftest.err
7950 (eval $ac_try) 2>&5 8552 } && test -s conftest.$ac_objext; then
7951 ac_status=$?
7952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7953 (exit $ac_status); }; } &&
7954 { ac_try='test -s conftest.$ac_objext'
7955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7956 (eval $ac_try) 2>&5
7957 ac_status=$?
7958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7959 (exit $ac_status); }; }; then
7960 ac_cv_member_struct_ifreq_ifr_addr=yes 8553 ac_cv_member_struct_ifreq_ifr_addr=yes
7961else 8554else
7962 echo "$as_me: failed program was:" >&5 8555 echo "$as_me: failed program was:" >&5
7963sed 's/^/| /' conftest.$ac_ext >&5 8556sed 's/^/| /' conftest.$ac_ext >&5
7964 8557
7965ac_cv_member_struct_ifreq_ifr_addr=no 8558 ac_cv_member_struct_ifreq_ifr_addr=no
7966fi 8559fi
7967rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8560
8561rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7968fi 8562fi
7969rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8563
8564rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7970fi 8565fi
7971echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_addr" >&5 8566{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_addr" >&5
7972echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_addr" >&6 8567echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_addr" >&6; }
7973if test $ac_cv_member_struct_ifreq_ifr_addr = yes; then 8568if test $ac_cv_member_struct_ifreq_ifr_addr = yes; then
7974 8569
7975cat >>confdefs.h <<_ACEOF 8570cat >>confdefs.h <<_ACEOF
@@ -7981,11 +8576,11 @@ fi
7981 8576
7982 8577
7983 8578
7984echo "$as_me:$LINENO: checking for function prototypes" >&5 8579{ echo "$as_me:$LINENO: checking for function prototypes" >&5
7985echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 8580echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6; }
7986if test "$ac_cv_prog_cc_stdc" != no; then 8581if test "$ac_cv_prog_cc_c89" != no; then
7987 echo "$as_me:$LINENO: result: yes" >&5 8582 { echo "$as_me:$LINENO: result: yes" >&5
7988echo "${ECHO_T}yes" >&6 8583echo "${ECHO_T}yes" >&6; }
7989 8584
7990cat >>confdefs.h <<\_ACEOF 8585cat >>confdefs.h <<\_ACEOF
7991#define PROTOTYPES 1 8586#define PROTOTYPES 1
@@ -7997,12 +8592,12 @@ cat >>confdefs.h <<\_ACEOF
7997_ACEOF 8592_ACEOF
7998 8593
7999else 8594else
8000 echo "$as_me:$LINENO: result: no" >&5 8595 { echo "$as_me:$LINENO: result: no" >&5
8001echo "${ECHO_T}no" >&6 8596echo "${ECHO_T}no" >&6; }
8002fi 8597fi
8003 8598
8004echo "$as_me:$LINENO: checking for working volatile" >&5 8599{ echo "$as_me:$LINENO: checking for working volatile" >&5
8005echo $ECHO_N "checking for working volatile... $ECHO_C" >&6 8600echo $ECHO_N "checking for working volatile... $ECHO_C" >&6; }
8006if test "${ac_cv_c_volatile+set}" = set; then 8601if test "${ac_cv_c_volatile+set}" = set; then
8007 echo $ECHO_N "(cached) $ECHO_C" >&6 8602 echo $ECHO_N "(cached) $ECHO_C" >&6
8008else 8603else
@@ -8018,43 +8613,41 @@ main ()
8018{ 8613{
8019 8614
8020volatile int x; 8615volatile int x;
8021int * volatile y; 8616int * volatile y = (int *) 0;
8617return !x && !y;
8022 ; 8618 ;
8023 return 0; 8619 return 0;
8024} 8620}
8025_ACEOF 8621_ACEOF
8026rm -f conftest.$ac_objext 8622rm -f conftest.$ac_objext
8027if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8623if { (ac_try="$ac_compile"
8028 (eval $ac_compile) 2>conftest.er1 8624case "(($ac_try" in
8625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8626 *) ac_try_echo=$ac_try;;
8627esac
8628eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8629 (eval "$ac_compile") 2>conftest.er1
8029 ac_status=$? 8630 ac_status=$?
8030 grep -v '^ *+' conftest.er1 >conftest.err 8631 grep -v '^ *+' conftest.er1 >conftest.err
8031 rm -f conftest.er1 8632 rm -f conftest.er1
8032 cat conftest.err >&5 8633 cat conftest.err >&5
8033 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8034 (exit $ac_status); } && 8635 (exit $ac_status); } && {
8035 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 8636 test -z "$ac_c_werror_flag" ||
8036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8637 test ! -s conftest.err
8037 (eval $ac_try) 2>&5 8638 } && test -s conftest.$ac_objext; then
8038 ac_status=$?
8039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8040 (exit $ac_status); }; } &&
8041 { ac_try='test -s conftest.$ac_objext'
8042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8043 (eval $ac_try) 2>&5
8044 ac_status=$?
8045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8046 (exit $ac_status); }; }; then
8047 ac_cv_c_volatile=yes 8639 ac_cv_c_volatile=yes
8048else 8640else
8049 echo "$as_me: failed program was:" >&5 8641 echo "$as_me: failed program was:" >&5
8050sed 's/^/| /' conftest.$ac_ext >&5 8642sed 's/^/| /' conftest.$ac_ext >&5
8051 8643
8052ac_cv_c_volatile=no 8644 ac_cv_c_volatile=no
8053fi 8645fi
8054rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8646
8647rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8055fi 8648fi
8056echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5 8649{ echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
8057echo "${ECHO_T}$ac_cv_c_volatile" >&6 8650echo "${ECHO_T}$ac_cv_c_volatile" >&6; }
8058if test $ac_cv_c_volatile = no; then 8651if test $ac_cv_c_volatile = no; then
8059 8652
8060cat >>confdefs.h <<\_ACEOF 8653cat >>confdefs.h <<\_ACEOF
@@ -8063,8 +8656,8 @@ _ACEOF
8063 8656
8064fi 8657fi
8065 8658
8066echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 8659{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
8067echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 8660echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
8068if test "${ac_cv_c_const+set}" = set; then 8661if test "${ac_cv_c_const+set}" = set; then
8069 echo $ECHO_N "(cached) $ECHO_C" >&6 8662 echo $ECHO_N "(cached) $ECHO_C" >&6
8070else 8663else
@@ -8082,10 +8675,10 @@ main ()
8082#ifndef __cplusplus 8675#ifndef __cplusplus
8083 /* Ultrix mips cc rejects this. */ 8676 /* Ultrix mips cc rejects this. */
8084 typedef int charset[2]; 8677 typedef int charset[2];
8085 const charset x; 8678 const charset cs;
8086 /* SunOS 4.1.1 cc rejects this. */ 8679 /* SunOS 4.1.1 cc rejects this. */
8087 char const *const *ccp; 8680 char const *const *pcpcc;
8088 char **p; 8681 char **ppc;
8089 /* NEC SVR4.0.2 mips cc rejects this. */ 8682 /* NEC SVR4.0.2 mips cc rejects this. */
8090 struct point {int x, y;}; 8683 struct point {int x, y;};
8091 static struct point const zero = {0,0}; 8684 static struct point const zero = {0,0};
@@ -8094,16 +8687,17 @@ main ()
8094 an arm of an if-expression whose if-part is not a constant 8687 an arm of an if-expression whose if-part is not a constant
8095 expression */ 8688 expression */
8096 const char *g = "string"; 8689 const char *g = "string";
8097 ccp = &g + (g ? g-g : 0); 8690 pcpcc = &g + (g ? g-g : 0);
8098 /* HPUX 7.0 cc rejects these. */ 8691 /* HPUX 7.0 cc rejects these. */
8099 ++ccp; 8692 ++pcpcc;
8100 p = (char**) ccp; 8693 ppc = (char**) pcpcc;
8101 ccp = (char const *const *) p; 8694 pcpcc = (char const *const *) ppc;
8102 { /* SCO 3.2v4 cc rejects this. */ 8695 { /* SCO 3.2v4 cc rejects this. */
8103 char *t; 8696 char *t;
8104 char const *s = 0 ? (char *) 0 : (char const *) 0; 8697 char const *s = 0 ? (char *) 0 : (char const *) 0;
8105 8698
8106 *t++ = 0; 8699 *t++ = 0;
8700 if (s) return 0;
8107 } 8701 }
8108 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 8702 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8109 int x[] = {25, 17}; 8703 int x[] = {25, 17};
@@ -8122,7 +8716,9 @@ main ()
8122 } 8716 }
8123 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 8717 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8124 const int foo = 10; 8718 const int foo = 10;
8719 if (!foo) return 0;
8125 } 8720 }
8721 return !cs[0] && !zero.x;
8126#endif 8722#endif
8127 8723
8128 ; 8724 ;
@@ -8130,37 +8726,34 @@ main ()
8130} 8726}
8131_ACEOF 8727_ACEOF
8132rm -f conftest.$ac_objext 8728rm -f conftest.$ac_objext
8133if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8729if { (ac_try="$ac_compile"
8134 (eval $ac_compile) 2>conftest.er1 8730case "(($ac_try" in
8731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8732 *) ac_try_echo=$ac_try;;
8733esac
8734eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8735 (eval "$ac_compile") 2>conftest.er1
8135 ac_status=$? 8736 ac_status=$?
8136 grep -v '^ *+' conftest.er1 >conftest.err 8737 grep -v '^ *+' conftest.er1 >conftest.err
8137 rm -f conftest.er1 8738 rm -f conftest.er1
8138 cat conftest.err >&5 8739 cat conftest.err >&5
8139 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8140 (exit $ac_status); } && 8741 (exit $ac_status); } && {
8141 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 8742 test -z "$ac_c_werror_flag" ||
8142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8743 test ! -s conftest.err
8143 (eval $ac_try) 2>&5 8744 } && test -s conftest.$ac_objext; then
8144 ac_status=$?
8145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8146 (exit $ac_status); }; } &&
8147 { ac_try='test -s conftest.$ac_objext'
8148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8149 (eval $ac_try) 2>&5
8150 ac_status=$?
8151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8152 (exit $ac_status); }; }; then
8153 ac_cv_c_const=yes 8745 ac_cv_c_const=yes
8154else 8746else
8155 echo "$as_me: failed program was:" >&5 8747 echo "$as_me: failed program was:" >&5
8156sed 's/^/| /' conftest.$ac_ext >&5 8748sed 's/^/| /' conftest.$ac_ext >&5
8157 8749
8158ac_cv_c_const=no 8750 ac_cv_c_const=no
8159fi 8751fi
8160rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8752
8753rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8161fi 8754fi
8162echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 8755{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
8163echo "${ECHO_T}$ac_cv_c_const" >&6 8756echo "${ECHO_T}$ac_cv_c_const" >&6; }
8164if test $ac_cv_c_const = no; then 8757if test $ac_cv_c_const = no; then
8165 8758
8166cat >>confdefs.h <<\_ACEOF 8759cat >>confdefs.h <<\_ACEOF
@@ -8169,8 +8762,8 @@ _ACEOF
8169 8762
8170fi 8763fi
8171 8764
8172echo "$as_me:$LINENO: checking for void * support" >&5 8765{ echo "$as_me:$LINENO: checking for void * support" >&5
8173echo $ECHO_N "checking for void * support... $ECHO_C" >&6 8766echo $ECHO_N "checking for void * support... $ECHO_C" >&6; }
8174if test "${emacs_cv_void_star+set}" = set; then 8767if test "${emacs_cv_void_star+set}" = set; then
8175 echo $ECHO_N "(cached) $ECHO_C" >&6 8768 echo $ECHO_N "(cached) $ECHO_C" >&6
8176else 8769else
@@ -8190,37 +8783,34 @@ void * foo;
8190} 8783}
8191_ACEOF 8784_ACEOF
8192rm -f conftest.$ac_objext 8785rm -f conftest.$ac_objext
8193if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8786if { (ac_try="$ac_compile"
8194 (eval $ac_compile) 2>conftest.er1 8787case "(($ac_try" in
8788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8789 *) ac_try_echo=$ac_try;;
8790esac
8791eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8792 (eval "$ac_compile") 2>conftest.er1
8195 ac_status=$? 8793 ac_status=$?
8196 grep -v '^ *+' conftest.er1 >conftest.err 8794 grep -v '^ *+' conftest.er1 >conftest.err
8197 rm -f conftest.er1 8795 rm -f conftest.er1
8198 cat conftest.err >&5 8796 cat conftest.err >&5
8199 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8200 (exit $ac_status); } && 8798 (exit $ac_status); } && {
8201 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 8799 test -z "$ac_c_werror_flag" ||
8202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8800 test ! -s conftest.err
8203 (eval $ac_try) 2>&5 8801 } && test -s conftest.$ac_objext; then
8204 ac_status=$?
8205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8206 (exit $ac_status); }; } &&
8207 { ac_try='test -s conftest.$ac_objext'
8208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8209 (eval $ac_try) 2>&5
8210 ac_status=$?
8211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8212 (exit $ac_status); }; }; then
8213 emacs_cv_void_star=yes 8802 emacs_cv_void_star=yes
8214else 8803else
8215 echo "$as_me: failed program was:" >&5 8804 echo "$as_me: failed program was:" >&5
8216sed 's/^/| /' conftest.$ac_ext >&5 8805sed 's/^/| /' conftest.$ac_ext >&5
8217 8806
8218emacs_cv_void_star=no 8807 emacs_cv_void_star=no
8219fi 8808fi
8220rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8809
8810rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8221fi 8811fi
8222echo "$as_me:$LINENO: result: $emacs_cv_void_star" >&5 8812{ echo "$as_me:$LINENO: result: $emacs_cv_void_star" >&5
8223echo "${ECHO_T}$emacs_cv_void_star" >&6 8813echo "${ECHO_T}$emacs_cv_void_star" >&6; }
8224if test $emacs_cv_void_star = yes; then 8814if test $emacs_cv_void_star = yes; then
8225 cat >>confdefs.h <<\_ACEOF 8815 cat >>confdefs.h <<\_ACEOF
8226#define POINTER_TYPE void 8816#define POINTER_TYPE void
@@ -8237,38 +8827,39 @@ fi
8237 8827
8238 8828
8239 8829
8240echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 8830{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
8241echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 8831echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
8242set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 8832set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
8243if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 8833if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
8244 echo $ECHO_N "(cached) $ECHO_C" >&6 8834 echo $ECHO_N "(cached) $ECHO_C" >&6
8245else 8835else
8246 cat >conftest.make <<\_ACEOF 8836 cat >conftest.make <<\_ACEOF
8837SHELL = /bin/sh
8247all: 8838all:
8248 @echo 'ac_maketemp="$(MAKE)"' 8839 @echo '@@@%%%=$(MAKE)=@@@%%%'
8249_ACEOF 8840_ACEOF
8250# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 8841# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
8251eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 8842case `${MAKE-make} -f conftest.make 2>/dev/null` in
8252if test -n "$ac_maketemp"; then 8843 *@@@%%%=?*=@@@%%%*)
8253 eval ac_cv_prog_make_${ac_make}_set=yes 8844 eval ac_cv_prog_make_${ac_make}_set=yes;;
8254else 8845 *)
8255 eval ac_cv_prog_make_${ac_make}_set=no 8846 eval ac_cv_prog_make_${ac_make}_set=no;;
8256fi 8847esac
8257rm -f conftest.make 8848rm -f conftest.make
8258fi 8849fi
8259if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 8850if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
8260 echo "$as_me:$LINENO: result: yes" >&5 8851 { echo "$as_me:$LINENO: result: yes" >&5
8261echo "${ECHO_T}yes" >&6 8852echo "${ECHO_T}yes" >&6; }
8262 SET_MAKE= 8853 SET_MAKE=
8263else 8854else
8264 echo "$as_me:$LINENO: result: no" >&5 8855 { echo "$as_me:$LINENO: result: no" >&5
8265echo "${ECHO_T}no" >&6 8856echo "${ECHO_T}no" >&6; }
8266 SET_MAKE="MAKE=${MAKE-make}" 8857 SET_MAKE="MAKE=${MAKE-make}"
8267fi 8858fi
8268 8859
8269 8860
8270echo "$as_me:$LINENO: checking for long file names" >&5 8861{ echo "$as_me:$LINENO: checking for long file names" >&5
8271echo $ECHO_N "checking for long file names... $ECHO_C" >&6 8862echo $ECHO_N "checking for long file names... $ECHO_C" >&6; }
8272if test "${ac_cv_sys_long_file_names+set}" = set; then 8863if test "${ac_cv_sys_long_file_names+set}" = set; then
8273 echo $ECHO_N "(cached) $ECHO_C" >&6 8864 echo $ECHO_N "(cached) $ECHO_C" >&6
8274else 8865else
@@ -8277,37 +8868,30 @@ else
8277# . the current directory, where building will happen 8868# . the current directory, where building will happen
8278# $prefix/lib where we will be installing things 8869# $prefix/lib where we will be installing things
8279# $exec_prefix/lib likewise 8870# $exec_prefix/lib likewise
8280# eval it to expand exec_prefix.
8281# $TMPDIR if set, where it might want to write temporary files 8871# $TMPDIR if set, where it might want to write temporary files
8282# if $TMPDIR is not set:
8283# /tmp where it might want to write temporary files 8872# /tmp where it might want to write temporary files
8284# /var/tmp likewise 8873# /var/tmp likewise
8285# /usr/tmp likewise 8874# /usr/tmp likewise
8286if test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then 8875for ac_dir in . "$TMPDIR" /tmp /var/tmp /usr/tmp "$prefix/lib" "$exec_prefix/lib"; do
8287 ac_tmpdirs=$TMPDIR 8876 # Skip $TMPDIR if it is empty or bogus, and skip $exec_prefix/lib
8288else 8877 # in the usual case where exec_prefix is '${prefix}'.
8289 ac_tmpdirs='/tmp /var/tmp /usr/tmp' 8878 case $ac_dir in #(
8290fi 8879 . | /* | ?:[\\/]*) ;; #(
8291for ac_dir in . $ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do 8880 *) continue;;
8292 test -d $ac_dir || continue 8881 esac
8293 test -w $ac_dir || continue # It is less confusing to not echo anything here. 8882 test -w "$ac_dir/." || continue # It is less confusing to not echo anything here.
8294 ac_xdir=$ac_dir/cf$$ 8883 ac_xdir=$ac_dir/cf$$
8295 (umask 077 && mkdir $ac_xdir 2>/dev/null) || continue 8884 (umask 077 && mkdir "$ac_xdir" 2>/dev/null) || continue
8296 ac_tf1=$ac_xdir/conftest9012345 8885 ac_tf1=$ac_xdir/conftest9012345
8297 ac_tf2=$ac_xdir/conftest9012346 8886 ac_tf2=$ac_xdir/conftest9012346
8298 (echo 1 >$ac_tf1) 2>/dev/null 8887 touch "$ac_tf1" 2>/dev/null && test -f "$ac_tf1" && test ! -f "$ac_tf2" ||
8299 (echo 2 >$ac_tf2) 2>/dev/null
8300 ac_val=`cat $ac_tf1 2>/dev/null`
8301 if test ! -f $ac_tf1 || test "$ac_val" != 1; then
8302 ac_cv_sys_long_file_names=no 8888 ac_cv_sys_long_file_names=no
8303 rm -rf $ac_xdir 2>/dev/null 8889 rm -f -r "$ac_xdir" 2>/dev/null
8304 break 8890 test $ac_cv_sys_long_file_names = no && break
8305 fi
8306 rm -rf $ac_xdir 2>/dev/null
8307done 8891done
8308fi 8892fi
8309echo "$as_me:$LINENO: result: $ac_cv_sys_long_file_names" >&5 8893{ echo "$as_me:$LINENO: result: $ac_cv_sys_long_file_names" >&5
8310echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6 8894echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6; }
8311if test $ac_cv_sys_long_file_names = yes; then 8895if test $ac_cv_sys_long_file_names = yes; then
8312 8896
8313cat >>confdefs.h <<\_ACEOF 8897cat >>confdefs.h <<\_ACEOF
@@ -8319,45 +8903,49 @@ fi
8319 8903
8320#### Choose a window system. 8904#### Choose a window system.
8321 8905
8322echo "$as_me:$LINENO: checking for X" >&5 8906{ echo "$as_me:$LINENO: checking for X" >&5
8323echo $ECHO_N "checking for X... $ECHO_C" >&6 8907echo $ECHO_N "checking for X... $ECHO_C" >&6; }
8324 8908
8325ac_path_x_has_been_run=yes
8326 8909
8327# Check whether --with-x or --without-x was given. 8910# Check whether --with-x was given.
8328if test "${with_x+set}" = set; then 8911if test "${with_x+set}" = set; then
8329 withval="$with_x" 8912 withval=$with_x;
8913fi
8330 8914
8331fi;
8332# $have_x is `yes', `no', `disabled', or empty when we do not yet know. 8915# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8333if test "x$with_x" = xno; then 8916if test "x$with_x" = xno; then
8334 # The user explicitly disabled X. 8917 # The user explicitly disabled X.
8335 have_x=disabled 8918 have_x=disabled
8336else 8919else
8337 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then 8920 case $x_includes,$x_libraries in #(
8338 # Both variables are already set. 8921 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
8339 have_x=yes 8922echo "$as_me: error: Cannot use X directory names containing '" >&2;}
8340 else 8923 { (exit 1); exit 1; }; };; #(
8341 if test "${ac_cv_have_x+set}" = set; then 8924 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
8342 echo $ECHO_N "(cached) $ECHO_C" >&6 8925 echo $ECHO_N "(cached) $ECHO_C" >&6
8343else 8926else
8344 # One or both of the vars are not set, and there is no cached value. 8927 # One or both of the vars are not set, and there is no cached value.
8345ac_x_includes=no ac_x_libraries=no 8928ac_x_includes=no ac_x_libraries=no
8346rm -fr conftest.dir 8929rm -f -r conftest.dir
8347if mkdir conftest.dir; then 8930if mkdir conftest.dir; then
8348 cd conftest.dir 8931 cd conftest.dir
8349 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
8350 cat >Imakefile <<'_ACEOF' 8932 cat >Imakefile <<'_ACEOF'
8351acfindx: 8933incroot:
8352 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"' 8934 @echo incroot='${INCROOT}'
8353_ACEOF 8935usrlibdir:
8354 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then 8936 @echo usrlibdir='${USRLIBDIR}'
8937libdir:
8938 @echo libdir='${LIBDIR}'
8939_ACEOF
8940 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8355 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 8941 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
8356 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make` 8942 for ac_var in incroot usrlibdir libdir; do
8943 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8944 done
8357 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. 8945 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8358 for ac_extension in a so sl; do 8946 for ac_extension in a so sl; do
8359 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension && 8947 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8360 test -f $ac_im_libdir/libX11.$ac_extension; then 8948 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8361 ac_im_usrlibdir=$ac_im_libdir; break 8949 ac_im_usrlibdir=$ac_im_libdir; break
8362 fi 8950 fi
8363 done 8951 done
@@ -8365,7 +8953,7 @@ _ACEOF
8365 # bogus both because they are the default anyway, and because 8953 # bogus both because they are the default anyway, and because
8366 # using them would break gcc on systems where it needs fixed includes. 8954 # using them would break gcc on systems where it needs fixed includes.
8367 case $ac_im_incroot in 8955 case $ac_im_incroot in
8368 /usr/include) ;; 8956 /usr/include) ac_x_includes= ;;
8369 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; 8957 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8370 esac 8958 esac
8371 case $ac_im_usrlibdir in 8959 case $ac_im_usrlibdir in
@@ -8374,7 +8962,7 @@ _ACEOF
8374 esac 8962 esac
8375 fi 8963 fi
8376 cd .. 8964 cd ..
8377 rm -fr conftest.dir 8965 rm -f -r conftest.dir
8378fi 8966fi
8379 8967
8380# Standard set of common directories for X headers. 8968# Standard set of common directories for X headers.
@@ -8415,7 +9003,7 @@ ac_x_header_dirs='
8415/usr/openwin/share/include' 9003/usr/openwin/share/include'
8416 9004
8417if test "$ac_x_includes" = no; then 9005if test "$ac_x_includes" = no; then
8418 # Guess where to find include files, by looking for a specified header file. 9006 # Guess where to find include files, by looking for Xlib.h.
8419 # First, try using that file with no special directory specified. 9007 # First, try using that file with no special directory specified.
8420 cat >conftest.$ac_ext <<_ACEOF 9008 cat >conftest.$ac_ext <<_ACEOF
8421/* confdefs.h. */ 9009/* confdefs.h. */
@@ -8425,24 +9013,22 @@ cat >>conftest.$ac_ext <<_ACEOF
8425/* end confdefs.h. */ 9013/* end confdefs.h. */
8426#include <X11/Xlib.h> 9014#include <X11/Xlib.h>
8427_ACEOF 9015_ACEOF
8428if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 9016if { (ac_try="$ac_cpp conftest.$ac_ext"
8429 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9017case "(($ac_try" in
9018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9019 *) ac_try_echo=$ac_try;;
9020esac
9021eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9022 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8430 ac_status=$? 9023 ac_status=$?
8431 grep -v '^ *+' conftest.er1 >conftest.err 9024 grep -v '^ *+' conftest.er1 >conftest.err
8432 rm -f conftest.er1 9025 rm -f conftest.er1
8433 cat conftest.err >&5 9026 cat conftest.err >&5
8434 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8435 (exit $ac_status); } >/dev/null; then 9028 (exit $ac_status); } >/dev/null && {
8436 if test -s conftest.err; then 9029 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8437 ac_cpp_err=$ac_c_preproc_warn_flag 9030 test ! -s conftest.err
8438 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 9031 }; then
8439 else
8440 ac_cpp_err=
8441 fi
8442else
8443 ac_cpp_err=yes
8444fi
8445if test -z "$ac_cpp_err"; then
8446 # We can compile using X headers with no special include directory. 9032 # We can compile using X headers with no special include directory.
8447ac_x_includes= 9033ac_x_includes=
8448else 9034else
@@ -8456,6 +9042,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
8456 fi 9042 fi
8457done 9043done
8458fi 9044fi
9045
8459rm -f conftest.err conftest.$ac_ext 9046rm -f conftest.err conftest.$ac_ext
8460fi # $ac_x_includes = no 9047fi # $ac_x_includes = no
8461 9048
@@ -8481,26 +9068,23 @@ XrmInitialize ()
8481} 9068}
8482_ACEOF 9069_ACEOF
8483rm -f conftest.$ac_objext conftest$ac_exeext 9070rm -f conftest.$ac_objext conftest$ac_exeext
8484if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9071if { (ac_try="$ac_link"
8485 (eval $ac_link) 2>conftest.er1 9072case "(($ac_try" in
9073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9074 *) ac_try_echo=$ac_try;;
9075esac
9076eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9077 (eval "$ac_link") 2>conftest.er1
8486 ac_status=$? 9078 ac_status=$?
8487 grep -v '^ *+' conftest.er1 >conftest.err 9079 grep -v '^ *+' conftest.er1 >conftest.err
8488 rm -f conftest.er1 9080 rm -f conftest.er1
8489 cat conftest.err >&5 9081 cat conftest.err >&5
8490 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8491 (exit $ac_status); } && 9083 (exit $ac_status); } && {
8492 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 9084 test -z "$ac_c_werror_flag" ||
8493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9085 test ! -s conftest.err
8494 (eval $ac_try) 2>&5 9086 } && test -s conftest$ac_exeext &&
8495 ac_status=$? 9087 $as_test_x conftest$ac_exeext; then
8496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8497 (exit $ac_status); }; } &&
8498 { ac_try='test -s conftest$ac_exeext'
8499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8500 (eval $ac_try) 2>&5
8501 ac_status=$?
8502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8503 (exit $ac_status); }; }; then
8504 LIBS=$ac_save_LIBS 9088 LIBS=$ac_save_LIBS
8505# We can link X programs with no special library path. 9089# We can link X programs with no special library path.
8506ac_x_libraries= 9090ac_x_libraries=
@@ -8508,53 +9092,54 @@ else
8508 echo "$as_me: failed program was:" >&5 9092 echo "$as_me: failed program was:" >&5
8509sed 's/^/| /' conftest.$ac_ext >&5 9093sed 's/^/| /' conftest.$ac_ext >&5
8510 9094
8511LIBS=$ac_save_LIBS 9095 LIBS=$ac_save_LIBS
8512for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` 9096for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8513do 9097do
8514 # Don't even attempt the hair of trying to link an X program! 9098 # Don't even attempt the hair of trying to link an X program!
8515 for ac_extension in a so sl; do 9099 for ac_extension in a so sl; do
8516 if test -r $ac_dir/libX11.$ac_extension; then 9100 if test -r "$ac_dir/libX11.$ac_extension"; then
8517 ac_x_libraries=$ac_dir 9101 ac_x_libraries=$ac_dir
8518 break 2 9102 break 2
8519 fi 9103 fi
8520 done 9104 done
8521done 9105done
8522fi 9106fi
8523rm -f conftest.err conftest.$ac_objext \ 9107
9108rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8524 conftest$ac_exeext conftest.$ac_ext 9109 conftest$ac_exeext conftest.$ac_ext
8525fi # $ac_x_libraries = no 9110fi # $ac_x_libraries = no
8526 9111
8527if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then 9112case $ac_x_includes,$ac_x_libraries in #(
8528 # Didn't find X anywhere. Cache the known absence of X. 9113 no,* | *,no | *\'*)
8529 ac_cv_have_x="have_x=no" 9114 # Didn't find X, or a directory has "'" in its name.
8530else 9115 ac_cv_have_x="have_x=no";; #(
8531 # Record where we found X for the cache. 9116 *)
8532 ac_cv_have_x="have_x=yes \ 9117 # Record where we found X for the cache.
8533 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries" 9118 ac_cv_have_x="have_x=yes\
8534fi 9119 ac_x_includes='$ac_x_includes'\
9120 ac_x_libraries='$ac_x_libraries'"
9121esac
8535fi 9122fi
8536 9123;; #(
8537 fi 9124 *) have_x=yes;;
9125 esac
8538 eval "$ac_cv_have_x" 9126 eval "$ac_cv_have_x"
8539fi # $with_x != no 9127fi # $with_x != no
8540 9128
8541if test "$have_x" != yes; then 9129if test "$have_x" != yes; then
8542 echo "$as_me:$LINENO: result: $have_x" >&5 9130 { echo "$as_me:$LINENO: result: $have_x" >&5
8543echo "${ECHO_T}$have_x" >&6 9131echo "${ECHO_T}$have_x" >&6; }
8544 no_x=yes 9132 no_x=yes
8545else 9133else
8546 # If each of the values was on the command line, it overrides each guess. 9134 # If each of the values was on the command line, it overrides each guess.
8547 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 9135 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8548 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 9136 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8549 # Update the cache value to reflect the command line values. 9137 # Update the cache value to reflect the command line values.
8550 ac_cv_have_x="have_x=yes \ 9138 ac_cv_have_x="have_x=yes\
8551 ac_x_includes=$x_includes ac_x_libraries=$x_libraries" 9139 ac_x_includes='$x_includes'\
8552 # It might be that x_includes is empty (headers are found in the 9140 ac_x_libraries='$x_libraries'"
8553 # standard search path. Then output the corresponding message 9141 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
8554 ac_out_x_includes=$x_includes 9142echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
8555 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
8556 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
8557echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
8558fi 9143fi
8559 9144
8560if test "$no_x" = yes; then 9145if test "$no_x" = yes; then
@@ -8563,11 +9148,18 @@ else
8563 window_system=x11 9148 window_system=x11
8564fi 9149fi
8565 9150
8566if test "${x_libraries}" != NONE && test -n "${x_libraries}"; then 9151if test "${x_libraries}" != NONE; then
8567 LD_SWITCH_X_SITE=-L`echo ${x_libraries} | sed -e "s/:/ -L/g"` 9152 if test -n "${x_libraries}"; then
8568 LD_SWITCH_X_SITE_AUX=-R`echo ${x_libraries} | sed -e "s/:/ -R/g"` 9153 LD_SWITCH_X_SITE=-L`echo ${x_libraries} | sed -e "s/:/ -L/g"`
9154 LD_SWITCH_X_SITE_AUX=-R`echo ${x_libraries} | sed -e "s/:/ -R/g"`
9155 fi
8569 x_default_search_path="" 9156 x_default_search_path=""
8570 for x_library in `echo ${x_libraries} | sed -e "s/:/ /g"`; do 9157 x_search_path=${x_libraries}
9158 if test -z "${x_search_path}"; then
9159 x_search_path=/usr/lib
9160 fi
9161 for x_library in `echo ${x_search_path}: | \
9162 sed -e "s/:/ /g" -e p -e "s:/lib[^ /]* :/share :g"`; do
8571 x_search_path="\ 9163 x_search_path="\
8572${x_library}/X11/%L/%T/%N%C%S:\ 9164${x_library}/X11/%L/%T/%N%C%S:\
8573${x_library}/X11/%l/%T/%N%C%S:\ 9165${x_library}/X11/%l/%T/%N%C%S:\
@@ -8607,17 +9199,17 @@ fi
8607HAVE_CARBON=no 9199HAVE_CARBON=no
8608if test "${with_carbon}" != no; then 9200if test "${with_carbon}" != no; then
8609 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then 9201 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
8610 echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5 9202 { echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
8611echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6 9203echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6; }
8612if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then 9204if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
8613 echo $ECHO_N "(cached) $ECHO_C" >&6 9205 echo $ECHO_N "(cached) $ECHO_C" >&6
8614fi 9206fi
8615echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5 9207{ echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
8616echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6 9208echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6; }
8617else 9209else
8618 # Is the header compilable? 9210 # Is the header compilable?
8619echo "$as_me:$LINENO: checking Carbon/Carbon.h usability" >&5 9211{ echo "$as_me:$LINENO: checking Carbon/Carbon.h usability" >&5
8620echo $ECHO_N "checking Carbon/Carbon.h usability... $ECHO_C" >&6 9212echo $ECHO_N "checking Carbon/Carbon.h usability... $ECHO_C" >&6; }
8621cat >conftest.$ac_ext <<_ACEOF 9213cat >conftest.$ac_ext <<_ACEOF
8622/* confdefs.h. */ 9214/* confdefs.h. */
8623_ACEOF 9215_ACEOF
@@ -8628,40 +9220,37 @@ $ac_includes_default
8628#include <Carbon/Carbon.h> 9220#include <Carbon/Carbon.h>
8629_ACEOF 9221_ACEOF
8630rm -f conftest.$ac_objext 9222rm -f conftest.$ac_objext
8631if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9223if { (ac_try="$ac_compile"
8632 (eval $ac_compile) 2>conftest.er1 9224case "(($ac_try" in
9225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9226 *) ac_try_echo=$ac_try;;
9227esac
9228eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9229 (eval "$ac_compile") 2>conftest.er1
8633 ac_status=$? 9230 ac_status=$?
8634 grep -v '^ *+' conftest.er1 >conftest.err 9231 grep -v '^ *+' conftest.er1 >conftest.err
8635 rm -f conftest.er1 9232 rm -f conftest.er1
8636 cat conftest.err >&5 9233 cat conftest.err >&5
8637 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8638 (exit $ac_status); } && 9235 (exit $ac_status); } && {
8639 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 9236 test -z "$ac_c_werror_flag" ||
8640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9237 test ! -s conftest.err
8641 (eval $ac_try) 2>&5 9238 } && test -s conftest.$ac_objext; then
8642 ac_status=$?
8643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8644 (exit $ac_status); }; } &&
8645 { ac_try='test -s conftest.$ac_objext'
8646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8647 (eval $ac_try) 2>&5
8648 ac_status=$?
8649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8650 (exit $ac_status); }; }; then
8651 ac_header_compiler=yes 9239 ac_header_compiler=yes
8652else 9240else
8653 echo "$as_me: failed program was:" >&5 9241 echo "$as_me: failed program was:" >&5
8654sed 's/^/| /' conftest.$ac_ext >&5 9242sed 's/^/| /' conftest.$ac_ext >&5
8655 9243
8656ac_header_compiler=no 9244 ac_header_compiler=no
8657fi 9245fi
8658rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 9246
8659echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9247rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8660echo "${ECHO_T}$ac_header_compiler" >&6 9248{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9249echo "${ECHO_T}$ac_header_compiler" >&6; }
8661 9250
8662# Is the header present? 9251# Is the header present?
8663echo "$as_me:$LINENO: checking Carbon/Carbon.h presence" >&5 9252{ echo "$as_me:$LINENO: checking Carbon/Carbon.h presence" >&5
8664echo $ECHO_N "checking Carbon/Carbon.h presence... $ECHO_C" >&6 9253echo $ECHO_N "checking Carbon/Carbon.h presence... $ECHO_C" >&6; }
8665cat >conftest.$ac_ext <<_ACEOF 9254cat >conftest.$ac_ext <<_ACEOF
8666/* confdefs.h. */ 9255/* confdefs.h. */
8667_ACEOF 9256_ACEOF
@@ -8670,24 +9259,22 @@ cat >>conftest.$ac_ext <<_ACEOF
8670/* end confdefs.h. */ 9259/* end confdefs.h. */
8671#include <Carbon/Carbon.h> 9260#include <Carbon/Carbon.h>
8672_ACEOF 9261_ACEOF
8673if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 9262if { (ac_try="$ac_cpp conftest.$ac_ext"
8674 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9263case "(($ac_try" in
9264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9265 *) ac_try_echo=$ac_try;;
9266esac
9267eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9268 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8675 ac_status=$? 9269 ac_status=$?
8676 grep -v '^ *+' conftest.er1 >conftest.err 9270 grep -v '^ *+' conftest.er1 >conftest.err
8677 rm -f conftest.er1 9271 rm -f conftest.er1
8678 cat conftest.err >&5 9272 cat conftest.err >&5
8679 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8680 (exit $ac_status); } >/dev/null; then 9274 (exit $ac_status); } >/dev/null && {
8681 if test -s conftest.err; then 9275 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8682 ac_cpp_err=$ac_c_preproc_warn_flag 9276 test ! -s conftest.err
8683 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 9277 }; then
8684 else
8685 ac_cpp_err=
8686 fi
8687else
8688 ac_cpp_err=yes
8689fi
8690if test -z "$ac_cpp_err"; then
8691 ac_header_preproc=yes 9278 ac_header_preproc=yes
8692else 9279else
8693 echo "$as_me: failed program was:" >&5 9280 echo "$as_me: failed program was:" >&5
@@ -8695,9 +9282,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
8695 9282
8696 ac_header_preproc=no 9283 ac_header_preproc=no
8697fi 9284fi
9285
8698rm -f conftest.err conftest.$ac_ext 9286rm -f conftest.err conftest.$ac_ext
8699echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9287{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8700echo "${ECHO_T}$ac_header_preproc" >&6 9288echo "${ECHO_T}$ac_header_preproc" >&6; }
8701 9289
8702# So? What about this header? 9290# So? What about this header?
8703case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9291case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
@@ -8721,25 +9309,18 @@ echo "$as_me: WARNING: Carbon/Carbon.h: section \"Present But Cannot Be Comp
8721echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&2;} 9309echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&2;}
8722 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&5 9310 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&5
8723echo "$as_me: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&2;} 9311echo "$as_me: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&2;}
8724 ( 9312
8725 cat <<\_ASBOX
8726## ------------------------------------------ ##
8727## Report this to the AC_PACKAGE_NAME lists. ##
8728## ------------------------------------------ ##
8729_ASBOX
8730 ) |
8731 sed "s/^/$as_me: WARNING: /" >&2
8732 ;; 9313 ;;
8733esac 9314esac
8734echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5 9315{ echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
8735echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6 9316echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6; }
8736if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then 9317if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
8737 echo $ECHO_N "(cached) $ECHO_C" >&6 9318 echo $ECHO_N "(cached) $ECHO_C" >&6
8738else 9319else
8739 ac_cv_header_Carbon_Carbon_h=$ac_header_preproc 9320 ac_cv_header_Carbon_Carbon_h=$ac_header_preproc
8740fi 9321fi
8741echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5 9322{ echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
8742echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6 9323echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6; }
8743 9324
8744fi 9325fi
8745if test $ac_cv_header_Carbon_Carbon_h = yes; then 9326if test $ac_cv_header_Carbon_Carbon_h = yes; then
@@ -8807,8 +9388,8 @@ UNEXEC_SRC="`echo ${unexec} | sed 's/\.o/.c/'`"
8807# Assume not, until told otherwise. 9388# Assume not, until told otherwise.
8808GNU_MALLOC=yes 9389GNU_MALLOC=yes
8809doug_lea_malloc=yes 9390doug_lea_malloc=yes
8810echo "$as_me:$LINENO: checking for malloc_get_state" >&5 9391{ echo "$as_me:$LINENO: checking for malloc_get_state" >&5
8811echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6 9392echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6; }
8812if test "${ac_cv_func_malloc_get_state+set}" = set; then 9393if test "${ac_cv_func_malloc_get_state+set}" = set; then
8813 echo $ECHO_N "(cached) $ECHO_C" >&6 9394 echo $ECHO_N "(cached) $ECHO_C" >&6
8814else 9395else
@@ -8835,75 +9416,67 @@ cat >>conftest.$ac_ext <<_ACEOF
8835 9416
8836#undef malloc_get_state 9417#undef malloc_get_state
8837 9418
8838/* Override any gcc2 internal prototype to avoid an error. */ 9419/* Override any GCC internal prototype to avoid an error.
9420 Use char because int might match the return type of a GCC
9421 builtin and then its argument prototype would still apply. */
8839#ifdef __cplusplus 9422#ifdef __cplusplus
8840extern "C" 9423extern "C"
8841{
8842#endif 9424#endif
8843/* We use char because int might match the return type of a gcc2
8844 builtin and then its argument prototype would still apply. */
8845char malloc_get_state (); 9425char malloc_get_state ();
8846/* The GNU C library defines this for functions which it implements 9426/* The GNU C library defines this for functions which it implements
8847 to always fail with ENOSYS. Some functions are actually named 9427 to always fail with ENOSYS. Some functions are actually named
8848 something starting with __ and the normal name is an alias. */ 9428 something starting with __ and the normal name is an alias. */
8849#if defined (__stub_malloc_get_state) || defined (__stub___malloc_get_state) 9429#if defined __stub_malloc_get_state || defined __stub___malloc_get_state
8850choke me 9430choke me
8851#else
8852char (*f) () = malloc_get_state;
8853#endif
8854#ifdef __cplusplus
8855}
8856#endif 9431#endif
8857 9432
8858int 9433int
8859main () 9434main ()
8860{ 9435{
8861return f != malloc_get_state; 9436return malloc_get_state ();
8862 ; 9437 ;
8863 return 0; 9438 return 0;
8864} 9439}
8865_ACEOF 9440_ACEOF
8866rm -f conftest.$ac_objext conftest$ac_exeext 9441rm -f conftest.$ac_objext conftest$ac_exeext
8867if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9442if { (ac_try="$ac_link"
8868 (eval $ac_link) 2>conftest.er1 9443case "(($ac_try" in
9444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9445 *) ac_try_echo=$ac_try;;
9446esac
9447eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9448 (eval "$ac_link") 2>conftest.er1
8869 ac_status=$? 9449 ac_status=$?
8870 grep -v '^ *+' conftest.er1 >conftest.err 9450 grep -v '^ *+' conftest.er1 >conftest.err
8871 rm -f conftest.er1 9451 rm -f conftest.er1
8872 cat conftest.err >&5 9452 cat conftest.err >&5
8873 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8874 (exit $ac_status); } && 9454 (exit $ac_status); } && {
8875 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 9455 test -z "$ac_c_werror_flag" ||
8876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9456 test ! -s conftest.err
8877 (eval $ac_try) 2>&5 9457 } && test -s conftest$ac_exeext &&
8878 ac_status=$? 9458 $as_test_x conftest$ac_exeext; then
8879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8880 (exit $ac_status); }; } &&
8881 { ac_try='test -s conftest$ac_exeext'
8882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8883 (eval $ac_try) 2>&5
8884 ac_status=$?
8885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8886 (exit $ac_status); }; }; then
8887 ac_cv_func_malloc_get_state=yes 9459 ac_cv_func_malloc_get_state=yes
8888else 9460else
8889 echo "$as_me: failed program was:" >&5 9461 echo "$as_me: failed program was:" >&5
8890sed 's/^/| /' conftest.$ac_ext >&5 9462sed 's/^/| /' conftest.$ac_ext >&5
8891 9463
8892ac_cv_func_malloc_get_state=no 9464 ac_cv_func_malloc_get_state=no
8893fi 9465fi
8894rm -f conftest.err conftest.$ac_objext \ 9466
9467rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8895 conftest$ac_exeext conftest.$ac_ext 9468 conftest$ac_exeext conftest.$ac_ext
8896fi 9469fi
8897echo "$as_me:$LINENO: result: $ac_cv_func_malloc_get_state" >&5 9470{ echo "$as_me:$LINENO: result: $ac_cv_func_malloc_get_state" >&5
8898echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6 9471echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6; }
8899if test $ac_cv_func_malloc_get_state = yes; then 9472if test $ac_cv_func_malloc_get_state = yes; then
8900 : 9473 :
8901else 9474else
8902 doug_lea_malloc=no 9475 doug_lea_malloc=no
8903fi 9476fi
8904 9477
8905echo "$as_me:$LINENO: checking for malloc_set_state" >&5 9478{ echo "$as_me:$LINENO: checking for malloc_set_state" >&5
8906echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6 9479echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6; }
8907if test "${ac_cv_func_malloc_set_state+set}" = set; then 9480if test "${ac_cv_func_malloc_set_state+set}" = set; then
8908 echo $ECHO_N "(cached) $ECHO_C" >&6 9481 echo $ECHO_N "(cached) $ECHO_C" >&6
8909else 9482else
@@ -8930,75 +9503,67 @@ cat >>conftest.$ac_ext <<_ACEOF
8930 9503
8931#undef malloc_set_state 9504#undef malloc_set_state
8932 9505
8933/* Override any gcc2 internal prototype to avoid an error. */ 9506/* Override any GCC internal prototype to avoid an error.
9507 Use char because int might match the return type of a GCC
9508 builtin and then its argument prototype would still apply. */
8934#ifdef __cplusplus 9509#ifdef __cplusplus
8935extern "C" 9510extern "C"
8936{
8937#endif 9511#endif
8938/* We use char because int might match the return type of a gcc2
8939 builtin and then its argument prototype would still apply. */
8940char malloc_set_state (); 9512char malloc_set_state ();
8941/* The GNU C library defines this for functions which it implements 9513/* The GNU C library defines this for functions which it implements
8942 to always fail with ENOSYS. Some functions are actually named 9514 to always fail with ENOSYS. Some functions are actually named
8943 something starting with __ and the normal name is an alias. */ 9515 something starting with __ and the normal name is an alias. */
8944#if defined (__stub_malloc_set_state) || defined (__stub___malloc_set_state) 9516#if defined __stub_malloc_set_state || defined __stub___malloc_set_state
8945choke me 9517choke me
8946#else
8947char (*f) () = malloc_set_state;
8948#endif
8949#ifdef __cplusplus
8950}
8951#endif 9518#endif
8952 9519
8953int 9520int
8954main () 9521main ()
8955{ 9522{
8956return f != malloc_set_state; 9523return malloc_set_state ();
8957 ; 9524 ;
8958 return 0; 9525 return 0;
8959} 9526}
8960_ACEOF 9527_ACEOF
8961rm -f conftest.$ac_objext conftest$ac_exeext 9528rm -f conftest.$ac_objext conftest$ac_exeext
8962if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9529if { (ac_try="$ac_link"
8963 (eval $ac_link) 2>conftest.er1 9530case "(($ac_try" in
9531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9532 *) ac_try_echo=$ac_try;;
9533esac
9534eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9535 (eval "$ac_link") 2>conftest.er1
8964 ac_status=$? 9536 ac_status=$?
8965 grep -v '^ *+' conftest.er1 >conftest.err 9537 grep -v '^ *+' conftest.er1 >conftest.err
8966 rm -f conftest.er1 9538 rm -f conftest.er1
8967 cat conftest.err >&5 9539 cat conftest.err >&5
8968 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8969 (exit $ac_status); } && 9541 (exit $ac_status); } && {
8970 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 9542 test -z "$ac_c_werror_flag" ||
8971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9543 test ! -s conftest.err
8972 (eval $ac_try) 2>&5 9544 } && test -s conftest$ac_exeext &&
8973 ac_status=$? 9545 $as_test_x conftest$ac_exeext; then
8974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8975 (exit $ac_status); }; } &&
8976 { ac_try='test -s conftest$ac_exeext'
8977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8978 (eval $ac_try) 2>&5
8979 ac_status=$?
8980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8981 (exit $ac_status); }; }; then
8982 ac_cv_func_malloc_set_state=yes 9546 ac_cv_func_malloc_set_state=yes
8983else 9547else
8984 echo "$as_me: failed program was:" >&5 9548 echo "$as_me: failed program was:" >&5
8985sed 's/^/| /' conftest.$ac_ext >&5 9549sed 's/^/| /' conftest.$ac_ext >&5
8986 9550
8987ac_cv_func_malloc_set_state=no 9551 ac_cv_func_malloc_set_state=no
8988fi 9552fi
8989rm -f conftest.err conftest.$ac_objext \ 9553
9554rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8990 conftest$ac_exeext conftest.$ac_ext 9555 conftest$ac_exeext conftest.$ac_ext
8991fi 9556fi
8992echo "$as_me:$LINENO: result: $ac_cv_func_malloc_set_state" >&5 9557{ echo "$as_me:$LINENO: result: $ac_cv_func_malloc_set_state" >&5
8993echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6 9558echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6; }
8994if test $ac_cv_func_malloc_set_state = yes; then 9559if test $ac_cv_func_malloc_set_state = yes; then
8995 : 9560 :
8996else 9561else
8997 doug_lea_malloc=no 9562 doug_lea_malloc=no
8998fi 9563fi
8999 9564
9000echo "$as_me:$LINENO: checking whether __after_morecore_hook exists" >&5 9565{ echo "$as_me:$LINENO: checking whether __after_morecore_hook exists" >&5
9001echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6 9566echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6; }
9002if test "${emacs_cv_var___after_morecore_hook+set}" = set; then 9567if test "${emacs_cv_var___after_morecore_hook+set}" = set; then
9003 echo $ECHO_N "(cached) $ECHO_C" >&6 9568 echo $ECHO_N "(cached) $ECHO_C" >&6
9004else 9569else
@@ -9018,38 +9583,36 @@ __after_morecore_hook = 0
9018} 9583}
9019_ACEOF 9584_ACEOF
9020rm -f conftest.$ac_objext conftest$ac_exeext 9585rm -f conftest.$ac_objext conftest$ac_exeext
9021if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9586if { (ac_try="$ac_link"
9022 (eval $ac_link) 2>conftest.er1 9587case "(($ac_try" in
9588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9589 *) ac_try_echo=$ac_try;;
9590esac
9591eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9592 (eval "$ac_link") 2>conftest.er1
9023 ac_status=$? 9593 ac_status=$?
9024 grep -v '^ *+' conftest.er1 >conftest.err 9594 grep -v '^ *+' conftest.er1 >conftest.err
9025 rm -f conftest.er1 9595 rm -f conftest.er1
9026 cat conftest.err >&5 9596 cat conftest.err >&5
9027 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9028 (exit $ac_status); } && 9598 (exit $ac_status); } && {
9029 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 9599 test -z "$ac_c_werror_flag" ||
9030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9600 test ! -s conftest.err
9031 (eval $ac_try) 2>&5 9601 } && test -s conftest$ac_exeext &&
9032 ac_status=$? 9602 $as_test_x conftest$ac_exeext; then
9033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9034 (exit $ac_status); }; } &&
9035 { ac_try='test -s conftest$ac_exeext'
9036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9037 (eval $ac_try) 2>&5
9038 ac_status=$?
9039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9040 (exit $ac_status); }; }; then
9041 emacs_cv_var___after_morecore_hook=yes 9603 emacs_cv_var___after_morecore_hook=yes
9042else 9604else
9043 echo "$as_me: failed program was:" >&5 9605 echo "$as_me: failed program was:" >&5
9044sed 's/^/| /' conftest.$ac_ext >&5 9606sed 's/^/| /' conftest.$ac_ext >&5
9045 9607
9046emacs_cv_var___after_morecore_hook=no 9608 emacs_cv_var___after_morecore_hook=no
9047fi 9609fi
9048rm -f conftest.err conftest.$ac_objext \ 9610
9611rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9049 conftest$ac_exeext conftest.$ac_ext 9612 conftest$ac_exeext conftest.$ac_ext
9050fi 9613fi
9051echo "$as_me:$LINENO: result: $emacs_cv_var___after_morecore_hook" >&5 9614{ echo "$as_me:$LINENO: result: $emacs_cv_var___after_morecore_hook" >&5
9052echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6 9615echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6; }
9053if test $emacs_cv_var___after_morecore_hook = no; then 9616if test $emacs_cv_var___after_morecore_hook = no; then
9054 doug_lea_malloc=no 9617 doug_lea_malloc=no
9055fi 9618fi
@@ -9080,18 +9643,19 @@ fi
9080for ac_header in stdlib.h unistd.h 9643for ac_header in stdlib.h unistd.h
9081do 9644do
9082as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 9645as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9083if eval "test \"\${$as_ac_Header+set}\" = set"; then 9646if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9084 echo "$as_me:$LINENO: checking for $ac_header" >&5 9647 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9085echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 9648echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9086if eval "test \"\${$as_ac_Header+set}\" = set"; then 9649if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9087 echo $ECHO_N "(cached) $ECHO_C" >&6 9650 echo $ECHO_N "(cached) $ECHO_C" >&6
9088fi 9651fi
9089echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 9652ac_res=`eval echo '${'$as_ac_Header'}'`
9090echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 9653 { echo "$as_me:$LINENO: result: $ac_res" >&5
9654echo "${ECHO_T}$ac_res" >&6; }
9091else 9655else
9092 # Is the header compilable? 9656 # Is the header compilable?
9093echo "$as_me:$LINENO: checking $ac_header usability" >&5 9657{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
9094echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 9658echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9095cat >conftest.$ac_ext <<_ACEOF 9659cat >conftest.$ac_ext <<_ACEOF
9096/* confdefs.h. */ 9660/* confdefs.h. */
9097_ACEOF 9661_ACEOF
@@ -9102,40 +9666,37 @@ $ac_includes_default
9102#include <$ac_header> 9666#include <$ac_header>
9103_ACEOF 9667_ACEOF
9104rm -f conftest.$ac_objext 9668rm -f conftest.$ac_objext
9105if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9669if { (ac_try="$ac_compile"
9106 (eval $ac_compile) 2>conftest.er1 9670case "(($ac_try" in
9671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9672 *) ac_try_echo=$ac_try;;
9673esac
9674eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9675 (eval "$ac_compile") 2>conftest.er1
9107 ac_status=$? 9676 ac_status=$?
9108 grep -v '^ *+' conftest.er1 >conftest.err 9677 grep -v '^ *+' conftest.er1 >conftest.err
9109 rm -f conftest.er1 9678 rm -f conftest.er1
9110 cat conftest.err >&5 9679 cat conftest.err >&5
9111 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9112 (exit $ac_status); } && 9681 (exit $ac_status); } && {
9113 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 9682 test -z "$ac_c_werror_flag" ||
9114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9683 test ! -s conftest.err
9115 (eval $ac_try) 2>&5 9684 } && test -s conftest.$ac_objext; then
9116 ac_status=$?
9117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9118 (exit $ac_status); }; } &&
9119 { ac_try='test -s conftest.$ac_objext'
9120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9121 (eval $ac_try) 2>&5
9122 ac_status=$?
9123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9124 (exit $ac_status); }; }; then
9125 ac_header_compiler=yes 9685 ac_header_compiler=yes
9126else 9686else
9127 echo "$as_me: failed program was:" >&5 9687 echo "$as_me: failed program was:" >&5
9128sed 's/^/| /' conftest.$ac_ext >&5 9688sed 's/^/| /' conftest.$ac_ext >&5
9129 9689
9130ac_header_compiler=no 9690 ac_header_compiler=no
9131fi 9691fi
9132rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 9692
9133echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9693rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9134echo "${ECHO_T}$ac_header_compiler" >&6 9694{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9695echo "${ECHO_T}$ac_header_compiler" >&6; }
9135 9696
9136# Is the header present? 9697# Is the header present?
9137echo "$as_me:$LINENO: checking $ac_header presence" >&5 9698{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
9138echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 9699echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9139cat >conftest.$ac_ext <<_ACEOF 9700cat >conftest.$ac_ext <<_ACEOF
9140/* confdefs.h. */ 9701/* confdefs.h. */
9141_ACEOF 9702_ACEOF
@@ -9144,24 +9705,22 @@ cat >>conftest.$ac_ext <<_ACEOF
9144/* end confdefs.h. */ 9705/* end confdefs.h. */
9145#include <$ac_header> 9706#include <$ac_header>
9146_ACEOF 9707_ACEOF
9147if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 9708if { (ac_try="$ac_cpp conftest.$ac_ext"
9148 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9709case "(($ac_try" in
9710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9711 *) ac_try_echo=$ac_try;;
9712esac
9713eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9714 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9149 ac_status=$? 9715 ac_status=$?
9150 grep -v '^ *+' conftest.er1 >conftest.err 9716 grep -v '^ *+' conftest.er1 >conftest.err
9151 rm -f conftest.er1 9717 rm -f conftest.er1
9152 cat conftest.err >&5 9718 cat conftest.err >&5
9153 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9154 (exit $ac_status); } >/dev/null; then 9720 (exit $ac_status); } >/dev/null && {
9155 if test -s conftest.err; then 9721 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9156 ac_cpp_err=$ac_c_preproc_warn_flag 9722 test ! -s conftest.err
9157 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 9723 }; then
9158 else
9159 ac_cpp_err=
9160 fi
9161else
9162 ac_cpp_err=yes
9163fi
9164if test -z "$ac_cpp_err"; then
9165 ac_header_preproc=yes 9724 ac_header_preproc=yes
9166else 9725else
9167 echo "$as_me: failed program was:" >&5 9726 echo "$as_me: failed program was:" >&5
@@ -9169,9 +9728,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
9169 9728
9170 ac_header_preproc=no 9729 ac_header_preproc=no
9171fi 9730fi
9731
9172rm -f conftest.err conftest.$ac_ext 9732rm -f conftest.err conftest.$ac_ext
9173echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9733{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9174echo "${ECHO_T}$ac_header_preproc" >&6 9734echo "${ECHO_T}$ac_header_preproc" >&6; }
9175 9735
9176# So? What about this header? 9736# So? What about this header?
9177case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9737case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
@@ -9195,25 +9755,19 @@ echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\
9195echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9755echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9196 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 9756 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9197echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9757echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9198 ( 9758
9199 cat <<\_ASBOX
9200## ------------------------------------------ ##
9201## Report this to the AC_PACKAGE_NAME lists. ##
9202## ------------------------------------------ ##
9203_ASBOX
9204 ) |
9205 sed "s/^/$as_me: WARNING: /" >&2
9206 ;; 9759 ;;
9207esac 9760esac
9208echo "$as_me:$LINENO: checking for $ac_header" >&5 9761{ echo "$as_me:$LINENO: checking for $ac_header" >&5
9209echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 9762echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9210if eval "test \"\${$as_ac_Header+set}\" = set"; then 9763if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9211 echo $ECHO_N "(cached) $ECHO_C" >&6 9764 echo $ECHO_N "(cached) $ECHO_C" >&6
9212else 9765else
9213 eval "$as_ac_Header=\$ac_header_preproc" 9766 eval "$as_ac_Header=\$ac_header_preproc"
9214fi 9767fi
9215echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 9768ac_res=`eval echo '${'$as_ac_Header'}'`
9216echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 9769 { echo "$as_me:$LINENO: result: $ac_res" >&5
9770echo "${ECHO_T}$ac_res" >&6; }
9217 9771
9218fi 9772fi
9219if test `eval echo '${'$as_ac_Header'}'` = yes; then 9773if test `eval echo '${'$as_ac_Header'}'` = yes; then
@@ -9229,9 +9783,9 @@ done
9229for ac_func in getpagesize 9783for ac_func in getpagesize
9230do 9784do
9231as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9785as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9232echo "$as_me:$LINENO: checking for $ac_func" >&5 9786{ echo "$as_me:$LINENO: checking for $ac_func" >&5
9233echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9787echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9234if eval "test \"\${$as_ac_var+set}\" = set"; then 9788if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9235 echo $ECHO_N "(cached) $ECHO_C" >&6 9789 echo $ECHO_N "(cached) $ECHO_C" >&6
9236else 9790else
9237 cat >conftest.$ac_ext <<_ACEOF 9791 cat >conftest.$ac_ext <<_ACEOF
@@ -9257,67 +9811,60 @@ cat >>conftest.$ac_ext <<_ACEOF
9257 9811
9258#undef $ac_func 9812#undef $ac_func
9259 9813
9260/* Override any gcc2 internal prototype to avoid an error. */ 9814/* Override any GCC internal prototype to avoid an error.
9815 Use char because int might match the return type of a GCC
9816 builtin and then its argument prototype would still apply. */
9261#ifdef __cplusplus 9817#ifdef __cplusplus
9262extern "C" 9818extern "C"
9263{
9264#endif 9819#endif
9265/* We use char because int might match the return type of a gcc2
9266 builtin and then its argument prototype would still apply. */
9267char $ac_func (); 9820char $ac_func ();
9268/* The GNU C library defines this for functions which it implements 9821/* The GNU C library defines this for functions which it implements
9269 to always fail with ENOSYS. Some functions are actually named 9822 to always fail with ENOSYS. Some functions are actually named
9270 something starting with __ and the normal name is an alias. */ 9823 something starting with __ and the normal name is an alias. */
9271#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 9824#if defined __stub_$ac_func || defined __stub___$ac_func
9272choke me 9825choke me
9273#else
9274char (*f) () = $ac_func;
9275#endif
9276#ifdef __cplusplus
9277}
9278#endif 9826#endif
9279 9827
9280int 9828int
9281main () 9829main ()
9282{ 9830{
9283return f != $ac_func; 9831return $ac_func ();
9284 ; 9832 ;
9285 return 0; 9833 return 0;
9286} 9834}
9287_ACEOF 9835_ACEOF
9288rm -f conftest.$ac_objext conftest$ac_exeext 9836rm -f conftest.$ac_objext conftest$ac_exeext
9289if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9837if { (ac_try="$ac_link"
9290 (eval $ac_link) 2>conftest.er1 9838case "(($ac_try" in
9839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9840 *) ac_try_echo=$ac_try;;
9841esac
9842eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9843 (eval "$ac_link") 2>conftest.er1
9291 ac_status=$? 9844 ac_status=$?
9292 grep -v '^ *+' conftest.er1 >conftest.err 9845 grep -v '^ *+' conftest.er1 >conftest.err
9293 rm -f conftest.er1 9846 rm -f conftest.er1
9294 cat conftest.err >&5 9847 cat conftest.err >&5
9295 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9296 (exit $ac_status); } && 9849 (exit $ac_status); } && {
9297 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 9850 test -z "$ac_c_werror_flag" ||
9298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9851 test ! -s conftest.err
9299 (eval $ac_try) 2>&5 9852 } && test -s conftest$ac_exeext &&
9300 ac_status=$? 9853 $as_test_x conftest$ac_exeext; then
9301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9302 (exit $ac_status); }; } &&
9303 { ac_try='test -s conftest$ac_exeext'
9304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9305 (eval $ac_try) 2>&5
9306 ac_status=$?
9307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9308 (exit $ac_status); }; }; then
9309 eval "$as_ac_var=yes" 9854 eval "$as_ac_var=yes"
9310else 9855else
9311 echo "$as_me: failed program was:" >&5 9856 echo "$as_me: failed program was:" >&5
9312sed 's/^/| /' conftest.$ac_ext >&5 9857sed 's/^/| /' conftest.$ac_ext >&5
9313 9858
9314eval "$as_ac_var=no" 9859 eval "$as_ac_var=no"
9315fi 9860fi
9316rm -f conftest.err conftest.$ac_objext \ 9861
9862rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9317 conftest$ac_exeext conftest.$ac_ext 9863 conftest$ac_exeext conftest.$ac_ext
9318fi 9864fi
9319echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 9865ac_res=`eval echo '${'$as_ac_var'}'`
9320echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9866 { echo "$as_me:$LINENO: result: $ac_res" >&5
9867echo "${ECHO_T}$ac_res" >&6; }
9321if test `eval echo '${'$as_ac_var'}'` = yes; then 9868if test `eval echo '${'$as_ac_var'}'` = yes; then
9322 cat >>confdefs.h <<_ACEOF 9869 cat >>confdefs.h <<_ACEOF
9323#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 9870#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
@@ -9326,8 +9873,8 @@ _ACEOF
9326fi 9873fi
9327done 9874done
9328 9875
9329echo "$as_me:$LINENO: checking for working mmap" >&5 9876{ echo "$as_me:$LINENO: checking for working mmap" >&5
9330echo $ECHO_N "checking for working mmap... $ECHO_C" >&6 9877echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
9331if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then 9878if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
9332 echo $ECHO_N "(cached) $ECHO_C" >&6 9879 echo $ECHO_N "(cached) $ECHO_C" >&6
9333else 9880else
@@ -9369,21 +9916,21 @@ $ac_includes_default
9369#include <fcntl.h> 9916#include <fcntl.h>
9370#include <sys/mman.h> 9917#include <sys/mman.h>
9371 9918
9372#if !STDC_HEADERS && !HAVE_STDLIB_H 9919#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
9373char *malloc (); 9920char *malloc ();
9374#endif 9921#endif
9375 9922
9376/* This mess was copied from the GNU getpagesize.h. */ 9923/* This mess was copied from the GNU getpagesize.h. */
9377#if !HAVE_GETPAGESIZE 9924#ifndef HAVE_GETPAGESIZE
9378/* Assume that all systems that can run configure have sys/param.h. */ 9925/* Assume that all systems that can run configure have sys/param.h. */
9379# if !HAVE_SYS_PARAM_H 9926# ifndef HAVE_SYS_PARAM_H
9380# define HAVE_SYS_PARAM_H 1 9927# define HAVE_SYS_PARAM_H 1
9381# endif 9928# endif
9382 9929
9383# ifdef _SC_PAGESIZE 9930# ifdef _SC_PAGESIZE
9384# define getpagesize() sysconf(_SC_PAGESIZE) 9931# define getpagesize() sysconf(_SC_PAGESIZE)
9385# else /* no _SC_PAGESIZE */ 9932# else /* no _SC_PAGESIZE */
9386# if HAVE_SYS_PARAM_H 9933# ifdef HAVE_SYS_PARAM_H
9387# include <sys/param.h> 9934# include <sys/param.h>
9388# ifdef EXEC_PAGESIZE 9935# ifdef EXEC_PAGESIZE
9389# define getpagesize() EXEC_PAGESIZE 9936# define getpagesize() EXEC_PAGESIZE
@@ -9422,15 +9969,15 @@ main ()
9422 /* First, make a file with some known garbage in it. */ 9969 /* First, make a file with some known garbage in it. */
9423 data = (char *) malloc (pagesize); 9970 data = (char *) malloc (pagesize);
9424 if (!data) 9971 if (!data)
9425 exit (1); 9972 return 1;
9426 for (i = 0; i < pagesize; ++i) 9973 for (i = 0; i < pagesize; ++i)
9427 *(data + i) = rand (); 9974 *(data + i) = rand ();
9428 umask (0); 9975 umask (0);
9429 fd = creat ("conftest.mmap", 0600); 9976 fd = creat ("conftest.mmap", 0600);
9430 if (fd < 0) 9977 if (fd < 0)
9431 exit (1); 9978 return 1;
9432 if (write (fd, data, pagesize) != pagesize) 9979 if (write (fd, data, pagesize) != pagesize)
9433 exit (1); 9980 return 1;
9434 close (fd); 9981 close (fd);
9435 9982
9436 /* Next, try to mmap the file at a fixed address which already has 9983 /* Next, try to mmap the file at a fixed address which already has
@@ -9438,17 +9985,17 @@ main ()
9438 we see the same garbage. */ 9985 we see the same garbage. */
9439 fd = open ("conftest.mmap", O_RDWR); 9986 fd = open ("conftest.mmap", O_RDWR);
9440 if (fd < 0) 9987 if (fd < 0)
9441 exit (1); 9988 return 1;
9442 data2 = (char *) malloc (2 * pagesize); 9989 data2 = (char *) malloc (2 * pagesize);
9443 if (!data2) 9990 if (!data2)
9444 exit (1); 9991 return 1;
9445 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1); 9992 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
9446 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, 9993 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
9447 MAP_PRIVATE | MAP_FIXED, fd, 0L)) 9994 MAP_PRIVATE | MAP_FIXED, fd, 0L))
9448 exit (1); 9995 return 1;
9449 for (i = 0; i < pagesize; ++i) 9996 for (i = 0; i < pagesize; ++i)
9450 if (*(data + i) != *(data2 + i)) 9997 if (*(data + i) != *(data2 + i))
9451 exit (1); 9998 return 1;
9452 9999
9453 /* Finally, make sure that changes to the mapped area do not 10000 /* Finally, make sure that changes to the mapped area do not
9454 percolate back to the file as seen by read(). (This is a bug on 10001 percolate back to the file as seen by read(). (This is a bug on
@@ -9457,24 +10004,33 @@ main ()
9457 *(data2 + i) = *(data2 + i) + 1; 10004 *(data2 + i) = *(data2 + i) + 1;
9458 data3 = (char *) malloc (pagesize); 10005 data3 = (char *) malloc (pagesize);
9459 if (!data3) 10006 if (!data3)
9460 exit (1); 10007 return 1;
9461 if (read (fd, data3, pagesize) != pagesize) 10008 if (read (fd, data3, pagesize) != pagesize)
9462 exit (1); 10009 return 1;
9463 for (i = 0; i < pagesize; ++i) 10010 for (i = 0; i < pagesize; ++i)
9464 if (*(data + i) != *(data3 + i)) 10011 if (*(data + i) != *(data3 + i))
9465 exit (1); 10012 return 1;
9466 close (fd); 10013 close (fd);
9467 exit (0); 10014 return 0;
9468} 10015}
9469_ACEOF 10016_ACEOF
9470rm -f conftest$ac_exeext 10017rm -f conftest$ac_exeext
9471if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10018if { (ac_try="$ac_link"
9472 (eval $ac_link) 2>&5 10019case "(($ac_try" in
10020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10021 *) ac_try_echo=$ac_try;;
10022esac
10023eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10024 (eval "$ac_link") 2>&5
9473 ac_status=$? 10025 ac_status=$?
9474 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9475 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 10027 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10028 { (case "(($ac_try" in
9477 (eval $ac_try) 2>&5 10029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10030 *) ac_try_echo=$ac_try;;
10031esac
10032eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10033 (eval "$ac_try") 2>&5
9478 ac_status=$? 10034 ac_status=$?
9479 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9480 (exit $ac_status); }; }; then 10036 (exit $ac_status); }; }; then
@@ -9487,11 +10043,13 @@ sed 's/^/| /' conftest.$ac_ext >&5
9487( exit $ac_status ) 10043( exit $ac_status )
9488ac_cv_func_mmap_fixed_mapped=no 10044ac_cv_func_mmap_fixed_mapped=no
9489fi 10045fi
9490rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10046rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9491fi 10047fi
10048
10049
9492fi 10050fi
9493echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5 10051{ echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
9494echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6 10052echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
9495if test $ac_cv_func_mmap_fixed_mapped = yes; then 10053if test $ac_cv_func_mmap_fixed_mapped = yes; then
9496 10054
9497cat >>confdefs.h <<\_ACEOF 10055cat >>confdefs.h <<\_ACEOF
@@ -9508,8 +10066,8 @@ fi
9508LIBS="$libsrc_libs $LIBS" 10066LIBS="$libsrc_libs $LIBS"
9509 10067
9510 10068
9511echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5 10069{ echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
9512echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6 10070echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
9513if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then 10071if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
9514 echo $ECHO_N "(cached) $ECHO_C" >&6 10072 echo $ECHO_N "(cached) $ECHO_C" >&6
9515else 10073else
@@ -9522,55 +10080,53 @@ cat confdefs.h >>conftest.$ac_ext
9522cat >>conftest.$ac_ext <<_ACEOF 10080cat >>conftest.$ac_ext <<_ACEOF
9523/* end confdefs.h. */ 10081/* end confdefs.h. */
9524 10082
9525/* Override any gcc2 internal prototype to avoid an error. */ 10083/* Override any GCC internal prototype to avoid an error.
10084 Use char because int might match the return type of a GCC
10085 builtin and then its argument prototype would still apply. */
9526#ifdef __cplusplus 10086#ifdef __cplusplus
9527extern "C" 10087extern "C"
9528#endif 10088#endif
9529/* We use char because int might match the return type of a gcc2
9530 builtin and then its argument prototype would still apply. */
9531char dnet_ntoa (); 10089char dnet_ntoa ();
9532int 10090int
9533main () 10091main ()
9534{ 10092{
9535dnet_ntoa (); 10093return dnet_ntoa ();
9536 ; 10094 ;
9537 return 0; 10095 return 0;
9538} 10096}
9539_ACEOF 10097_ACEOF
9540rm -f conftest.$ac_objext conftest$ac_exeext 10098rm -f conftest.$ac_objext conftest$ac_exeext
9541if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10099if { (ac_try="$ac_link"
9542 (eval $ac_link) 2>conftest.er1 10100case "(($ac_try" in
10101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10102 *) ac_try_echo=$ac_try;;
10103esac
10104eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10105 (eval "$ac_link") 2>conftest.er1
9543 ac_status=$? 10106 ac_status=$?
9544 grep -v '^ *+' conftest.er1 >conftest.err 10107 grep -v '^ *+' conftest.er1 >conftest.err
9545 rm -f conftest.er1 10108 rm -f conftest.er1
9546 cat conftest.err >&5 10109 cat conftest.err >&5
9547 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9548 (exit $ac_status); } && 10111 (exit $ac_status); } && {
9549 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10112 test -z "$ac_c_werror_flag" ||
9550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10113 test ! -s conftest.err
9551 (eval $ac_try) 2>&5 10114 } && test -s conftest$ac_exeext &&
9552 ac_status=$? 10115 $as_test_x conftest$ac_exeext; then
9553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9554 (exit $ac_status); }; } &&
9555 { ac_try='test -s conftest$ac_exeext'
9556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9557 (eval $ac_try) 2>&5
9558 ac_status=$?
9559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9560 (exit $ac_status); }; }; then
9561 ac_cv_lib_dnet_dnet_ntoa=yes 10116 ac_cv_lib_dnet_dnet_ntoa=yes
9562else 10117else
9563 echo "$as_me: failed program was:" >&5 10118 echo "$as_me: failed program was:" >&5
9564sed 's/^/| /' conftest.$ac_ext >&5 10119sed 's/^/| /' conftest.$ac_ext >&5
9565 10120
9566ac_cv_lib_dnet_dnet_ntoa=no 10121 ac_cv_lib_dnet_dnet_ntoa=no
9567fi 10122fi
9568rm -f conftest.err conftest.$ac_objext \ 10123
10124rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9569 conftest$ac_exeext conftest.$ac_ext 10125 conftest$ac_exeext conftest.$ac_ext
9570LIBS=$ac_check_lib_save_LIBS 10126LIBS=$ac_check_lib_save_LIBS
9571fi 10127fi
9572echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 10128{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9573echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6 10129echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9574if test $ac_cv_lib_dnet_dnet_ntoa = yes; then 10130if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
9575 cat >>confdefs.h <<_ACEOF 10131 cat >>confdefs.h <<_ACEOF
9576#define HAVE_LIBDNET 1 10132#define HAVE_LIBDNET 1
@@ -9581,8 +10137,8 @@ _ACEOF
9581fi 10137fi
9582 10138
9583 10139
9584echo "$as_me:$LINENO: checking for main in -lXbsd" >&5 10140{ echo "$as_me:$LINENO: checking for main in -lXbsd" >&5
9585echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6 10141echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6; }
9586if test "${ac_cv_lib_Xbsd_main+set}" = set; then 10142if test "${ac_cv_lib_Xbsd_main+set}" = set; then
9587 echo $ECHO_N "(cached) $ECHO_C" >&6 10143 echo $ECHO_N "(cached) $ECHO_C" >&6
9588else 10144else
@@ -9599,53 +10155,51 @@ cat >>conftest.$ac_ext <<_ACEOF
9599int 10155int
9600main () 10156main ()
9601{ 10157{
9602main (); 10158return main ();
9603 ; 10159 ;
9604 return 0; 10160 return 0;
9605} 10161}
9606_ACEOF 10162_ACEOF
9607rm -f conftest.$ac_objext conftest$ac_exeext 10163rm -f conftest.$ac_objext conftest$ac_exeext
9608if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10164if { (ac_try="$ac_link"
9609 (eval $ac_link) 2>conftest.er1 10165case "(($ac_try" in
10166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10167 *) ac_try_echo=$ac_try;;
10168esac
10169eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10170 (eval "$ac_link") 2>conftest.er1
9610 ac_status=$? 10171 ac_status=$?
9611 grep -v '^ *+' conftest.er1 >conftest.err 10172 grep -v '^ *+' conftest.er1 >conftest.err
9612 rm -f conftest.er1 10173 rm -f conftest.er1
9613 cat conftest.err >&5 10174 cat conftest.err >&5
9614 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9615 (exit $ac_status); } && 10176 (exit $ac_status); } && {
9616 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10177 test -z "$ac_c_werror_flag" ||
9617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10178 test ! -s conftest.err
9618 (eval $ac_try) 2>&5 10179 } && test -s conftest$ac_exeext &&
9619 ac_status=$? 10180 $as_test_x conftest$ac_exeext; then
9620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9621 (exit $ac_status); }; } &&
9622 { ac_try='test -s conftest$ac_exeext'
9623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9624 (eval $ac_try) 2>&5
9625 ac_status=$?
9626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9627 (exit $ac_status); }; }; then
9628 ac_cv_lib_Xbsd_main=yes 10181 ac_cv_lib_Xbsd_main=yes
9629else 10182else
9630 echo "$as_me: failed program was:" >&5 10183 echo "$as_me: failed program was:" >&5
9631sed 's/^/| /' conftest.$ac_ext >&5 10184sed 's/^/| /' conftest.$ac_ext >&5
9632 10185
9633ac_cv_lib_Xbsd_main=no 10186 ac_cv_lib_Xbsd_main=no
9634fi 10187fi
9635rm -f conftest.err conftest.$ac_objext \ 10188
10189rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9636 conftest$ac_exeext conftest.$ac_ext 10190 conftest$ac_exeext conftest.$ac_ext
9637LIBS=$ac_check_lib_save_LIBS 10191LIBS=$ac_check_lib_save_LIBS
9638fi 10192fi
9639echo "$as_me:$LINENO: result: $ac_cv_lib_Xbsd_main" >&5 10193{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xbsd_main" >&5
9640echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6 10194echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6; }
9641if test $ac_cv_lib_Xbsd_main = yes; then 10195if test $ac_cv_lib_Xbsd_main = yes; then
9642 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" 10196 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd"
9643fi 10197fi
9644 10198
9645 10199
9646 10200
9647echo "$as_me:$LINENO: checking for cma_open in -lpthreads" >&5 10201{ echo "$as_me:$LINENO: checking for cma_open in -lpthreads" >&5
9648echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6 10202echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6; }
9649if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then 10203if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then
9650 echo $ECHO_N "(cached) $ECHO_C" >&6 10204 echo $ECHO_N "(cached) $ECHO_C" >&6
9651else 10205else
@@ -9658,55 +10212,53 @@ cat confdefs.h >>conftest.$ac_ext
9658cat >>conftest.$ac_ext <<_ACEOF 10212cat >>conftest.$ac_ext <<_ACEOF
9659/* end confdefs.h. */ 10213/* end confdefs.h. */
9660 10214
9661/* Override any gcc2 internal prototype to avoid an error. */ 10215/* Override any GCC internal prototype to avoid an error.
10216 Use char because int might match the return type of a GCC
10217 builtin and then its argument prototype would still apply. */
9662#ifdef __cplusplus 10218#ifdef __cplusplus
9663extern "C" 10219extern "C"
9664#endif 10220#endif
9665/* We use char because int might match the return type of a gcc2
9666 builtin and then its argument prototype would still apply. */
9667char cma_open (); 10221char cma_open ();
9668int 10222int
9669main () 10223main ()
9670{ 10224{
9671cma_open (); 10225return cma_open ();
9672 ; 10226 ;
9673 return 0; 10227 return 0;
9674} 10228}
9675_ACEOF 10229_ACEOF
9676rm -f conftest.$ac_objext conftest$ac_exeext 10230rm -f conftest.$ac_objext conftest$ac_exeext
9677if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10231if { (ac_try="$ac_link"
9678 (eval $ac_link) 2>conftest.er1 10232case "(($ac_try" in
10233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10234 *) ac_try_echo=$ac_try;;
10235esac
10236eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10237 (eval "$ac_link") 2>conftest.er1
9679 ac_status=$? 10238 ac_status=$?
9680 grep -v '^ *+' conftest.er1 >conftest.err 10239 grep -v '^ *+' conftest.er1 >conftest.err
9681 rm -f conftest.er1 10240 rm -f conftest.er1
9682 cat conftest.err >&5 10241 cat conftest.err >&5
9683 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9684 (exit $ac_status); } && 10243 (exit $ac_status); } && {
9685 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10244 test -z "$ac_c_werror_flag" ||
9686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10245 test ! -s conftest.err
9687 (eval $ac_try) 2>&5 10246 } && test -s conftest$ac_exeext &&
9688 ac_status=$? 10247 $as_test_x conftest$ac_exeext; then
9689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9690 (exit $ac_status); }; } &&
9691 { ac_try='test -s conftest$ac_exeext'
9692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9693 (eval $ac_try) 2>&5
9694 ac_status=$?
9695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9696 (exit $ac_status); }; }; then
9697 ac_cv_lib_pthreads_cma_open=yes 10248 ac_cv_lib_pthreads_cma_open=yes
9698else 10249else
9699 echo "$as_me: failed program was:" >&5 10250 echo "$as_me: failed program was:" >&5
9700sed 's/^/| /' conftest.$ac_ext >&5 10251sed 's/^/| /' conftest.$ac_ext >&5
9701 10252
9702ac_cv_lib_pthreads_cma_open=no 10253 ac_cv_lib_pthreads_cma_open=no
9703fi 10254fi
9704rm -f conftest.err conftest.$ac_objext \ 10255
10256rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9705 conftest$ac_exeext conftest.$ac_ext 10257 conftest$ac_exeext conftest.$ac_ext
9706LIBS=$ac_check_lib_save_LIBS 10258LIBS=$ac_check_lib_save_LIBS
9707fi 10259fi
9708echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_cma_open" >&5 10260{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_cma_open" >&5
9709echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6 10261echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6; }
9710if test $ac_cv_lib_pthreads_cma_open = yes; then 10262if test $ac_cv_lib_pthreads_cma_open = yes; then
9711 cat >>confdefs.h <<_ACEOF 10263 cat >>confdefs.h <<_ACEOF
9712#define HAVE_LIBPTHREADS 1 10264#define HAVE_LIBPTHREADS 1
@@ -9717,22 +10269,22 @@ _ACEOF
9717fi 10269fi
9718 10270
9719 10271
9720echo "$as_me:$LINENO: checking for XFree86 in /usr/X386" >&5 10272{ echo "$as_me:$LINENO: checking for XFree86 in /usr/X386" >&5
9721echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6 10273echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6; }
9722if test -d /usr/X386/include; then 10274if test -d /usr/X386/include; then
9723 HAVE_XFREE386=yes 10275 HAVE_XFREE386=yes
9724 : ${C_SWITCH_X_SITE="-I/usr/X386/include"} 10276 : ${C_SWITCH_X_SITE="-I/usr/X386/include"}
9725else 10277else
9726 HAVE_XFREE386=no 10278 HAVE_XFREE386=no
9727fi 10279fi
9728echo "$as_me:$LINENO: result: $HAVE_XFREE386" >&5 10280{ echo "$as_me:$LINENO: result: $HAVE_XFREE386" >&5
9729echo "${ECHO_T}$HAVE_XFREE386" >&6 10281echo "${ECHO_T}$HAVE_XFREE386" >&6; }
9730 10282
9731 10283
9732case ${host_os} in 10284case ${host_os} in
9733aix*) 10285aix*)
9734 echo "$as_me:$LINENO: checking for -bbigtoc option" >&5 10286 { echo "$as_me:$LINENO: checking for -bbigtoc option" >&5
9735echo $ECHO_N "checking for -bbigtoc option... $ECHO_C" >&6 10287echo $ECHO_N "checking for -bbigtoc option... $ECHO_C" >&6; }
9736if test "${gdb_cv_bigtoc+set}" = set; then 10288if test "${gdb_cv_bigtoc+set}" = set; then
9737 echo $ECHO_N "(cached) $ECHO_C" >&6 10289 echo $ECHO_N "(cached) $ECHO_C" >&6
9738else 10290else
@@ -9759,39 +10311,37 @@ int i;
9759} 10311}
9760_ACEOF 10312_ACEOF
9761rm -f conftest.$ac_objext conftest$ac_exeext 10313rm -f conftest.$ac_objext conftest$ac_exeext
9762if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10314if { (ac_try="$ac_link"
9763 (eval $ac_link) 2>conftest.er1 10315case "(($ac_try" in
10316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10317 *) ac_try_echo=$ac_try;;
10318esac
10319eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10320 (eval "$ac_link") 2>conftest.er1
9764 ac_status=$? 10321 ac_status=$?
9765 grep -v '^ *+' conftest.er1 >conftest.err 10322 grep -v '^ *+' conftest.er1 >conftest.err
9766 rm -f conftest.er1 10323 rm -f conftest.er1
9767 cat conftest.err >&5 10324 cat conftest.err >&5
9768 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9769 (exit $ac_status); } && 10326 (exit $ac_status); } && {
9770 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10327 test -z "$ac_c_werror_flag" ||
9771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10328 test ! -s conftest.err
9772 (eval $ac_try) 2>&5 10329 } && test -s conftest$ac_exeext &&
9773 ac_status=$? 10330 $as_test_x conftest$ac_exeext; then
9774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9775 (exit $ac_status); }; } &&
9776 { ac_try='test -s conftest$ac_exeext'
9777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9778 (eval $ac_try) 2>&5
9779 ac_status=$?
9780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9781 (exit $ac_status); }; }; then
9782 : 10331 :
9783else 10332else
9784 echo "$as_me: failed program was:" >&5 10333 echo "$as_me: failed program was:" >&5
9785sed 's/^/| /' conftest.$ac_ext >&5 10334sed 's/^/| /' conftest.$ac_ext >&5
9786 10335
9787gdb_cv_bigtoc= 10336 gdb_cv_bigtoc=
9788fi 10337fi
9789rm -f conftest.err conftest.$ac_objext \ 10338
10339rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9790 conftest$ac_exeext conftest.$ac_ext 10340 conftest$ac_exeext conftest.$ac_ext
9791 10341
9792fi 10342fi
9793echo "$as_me:$LINENO: result: $gdb_cv_bigtoc" >&5 10343{ echo "$as_me:$LINENO: result: $gdb_cv_bigtoc" >&5
9794echo "${ECHO_T}$gdb_cv_bigtoc" >&6 10344echo "${ECHO_T}$gdb_cv_bigtoc" >&6; }
9795 ;; 10345 ;;
9796esac 10346esac
9797 10347
@@ -9818,8 +10368,8 @@ if test "${HAVE_X11}" = "yes"; then
9818 fi 10368 fi
9819 10369
9820 if test "${opsys}" = "gnu-linux"; then 10370 if test "${opsys}" = "gnu-linux"; then
9821 echo "$as_me:$LINENO: checking whether X on GNU/Linux needs -b to link" >&5 10371 { echo "$as_me:$LINENO: checking whether X on GNU/Linux needs -b to link" >&5
9822echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6 10372echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6; }
9823 cat >conftest.$ac_ext <<_ACEOF 10373 cat >conftest.$ac_ext <<_ACEOF
9824/* confdefs.h. */ 10374/* confdefs.h. */
9825_ACEOF 10375_ACEOF
@@ -9836,34 +10386,32 @@ XOpenDisplay ("foo");
9836} 10386}
9837_ACEOF 10387_ACEOF
9838rm -f conftest.$ac_objext conftest$ac_exeext 10388rm -f conftest.$ac_objext conftest$ac_exeext
9839if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10389if { (ac_try="$ac_link"
9840 (eval $ac_link) 2>conftest.er1 10390case "(($ac_try" in
10391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10392 *) ac_try_echo=$ac_try;;
10393esac
10394eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10395 (eval "$ac_link") 2>conftest.er1
9841 ac_status=$? 10396 ac_status=$?
9842 grep -v '^ *+' conftest.er1 >conftest.err 10397 grep -v '^ *+' conftest.er1 >conftest.err
9843 rm -f conftest.er1 10398 rm -f conftest.er1
9844 cat conftest.err >&5 10399 cat conftest.err >&5
9845 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9846 (exit $ac_status); } && 10401 (exit $ac_status); } && {
9847 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10402 test -z "$ac_c_werror_flag" ||
9848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10403 test ! -s conftest.err
9849 (eval $ac_try) 2>&5 10404 } && test -s conftest$ac_exeext &&
9850 ac_status=$? 10405 $as_test_x conftest$ac_exeext; then
9851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9852 (exit $ac_status); }; } &&
9853 { ac_try='test -s conftest$ac_exeext'
9854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9855 (eval $ac_try) 2>&5
9856 ac_status=$?
9857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9858 (exit $ac_status); }; }; then
9859 xlinux_first_failure=no 10406 xlinux_first_failure=no
9860else 10407else
9861 echo "$as_me: failed program was:" >&5 10408 echo "$as_me: failed program was:" >&5
9862sed 's/^/| /' conftest.$ac_ext >&5 10409sed 's/^/| /' conftest.$ac_ext >&5
9863 10410
9864xlinux_first_failure=yes 10411 xlinux_first_failure=yes
9865fi 10412fi
9866rm -f conftest.err conftest.$ac_objext \ 10413
10414rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9867 conftest$ac_exeext conftest.$ac_ext 10415 conftest$ac_exeext conftest.$ac_ext
9868 if test "${xlinux_first_failure}" = "yes"; then 10416 if test "${xlinux_first_failure}" = "yes"; then
9869 OLD_LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE" 10417 OLD_LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE"
@@ -9890,34 +10438,32 @@ XOpenDisplay ("foo");
9890} 10438}
9891_ACEOF 10439_ACEOF
9892rm -f conftest.$ac_objext conftest$ac_exeext 10440rm -f conftest.$ac_objext conftest$ac_exeext
9893if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10441if { (ac_try="$ac_link"
9894 (eval $ac_link) 2>conftest.er1 10442case "(($ac_try" in
10443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10444 *) ac_try_echo=$ac_try;;
10445esac
10446eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10447 (eval "$ac_link") 2>conftest.er1
9895 ac_status=$? 10448 ac_status=$?
9896 grep -v '^ *+' conftest.er1 >conftest.err 10449 grep -v '^ *+' conftest.er1 >conftest.err
9897 rm -f conftest.er1 10450 rm -f conftest.er1
9898 cat conftest.err >&5 10451 cat conftest.err >&5
9899 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9900 (exit $ac_status); } && 10453 (exit $ac_status); } && {
9901 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10454 test -z "$ac_c_werror_flag" ||
9902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10455 test ! -s conftest.err
9903 (eval $ac_try) 2>&5 10456 } && test -s conftest$ac_exeext &&
9904 ac_status=$? 10457 $as_test_x conftest$ac_exeext; then
9905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9906 (exit $ac_status); }; } &&
9907 { ac_try='test -s conftest$ac_exeext'
9908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9909 (eval $ac_try) 2>&5
9910 ac_status=$?
9911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9912 (exit $ac_status); }; }; then
9913 xlinux_second_failure=no 10458 xlinux_second_failure=no
9914else 10459else
9915 echo "$as_me: failed program was:" >&5 10460 echo "$as_me: failed program was:" >&5
9916sed 's/^/| /' conftest.$ac_ext >&5 10461sed 's/^/| /' conftest.$ac_ext >&5
9917 10462
9918xlinux_second_failure=yes 10463 xlinux_second_failure=yes
9919fi 10464fi
9920rm -f conftest.err conftest.$ac_objext \ 10465
10466rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9921 conftest$ac_exeext conftest.$ac_ext 10467 conftest$ac_exeext conftest.$ac_ext
9922 if test "${xlinux_second_failure}" = "yes"; then 10468 if test "${xlinux_second_failure}" = "yes"; then
9923 # If we get the same failure with -b, there is no use adding -b. 10469 # If we get the same failure with -b, there is no use adding -b.
@@ -9926,22 +10472,22 @@ rm -f conftest.err conftest.$ac_objext \
9926 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE" 10472 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE"
9927 CPPFLAGS="$OLD_CPPFLAGS" 10473 CPPFLAGS="$OLD_CPPFLAGS"
9928 LIBS="$OLD_LIBS" 10474 LIBS="$OLD_LIBS"
9929 echo "$as_me:$LINENO: result: no" >&5 10475 { echo "$as_me:$LINENO: result: no" >&5
9930echo "${ECHO_T}no" >&6 10476echo "${ECHO_T}no" >&6; }
9931 else 10477 else
9932 echo "$as_me:$LINENO: result: yes" >&5 10478 { echo "$as_me:$LINENO: result: yes" >&5
9933echo "${ECHO_T}yes" >&6 10479echo "${ECHO_T}yes" >&6; }
9934 fi 10480 fi
9935 else 10481 else
9936 echo "$as_me:$LINENO: result: no" >&5 10482 { echo "$as_me:$LINENO: result: no" >&5
9937echo "${ECHO_T}no" >&6 10483echo "${ECHO_T}no" >&6; }
9938 fi 10484 fi
9939 fi 10485 fi
9940 10486
9941 # Reportedly, some broken Solaris systems have XKBlib.h but are missing 10487 # Reportedly, some broken Solaris systems have XKBlib.h but are missing
9942 # header files included from there. 10488 # header files included from there.
9943 echo "$as_me:$LINENO: checking for Xkb" >&5 10489 { echo "$as_me:$LINENO: checking for Xkb" >&5
9944echo $ECHO_N "checking for Xkb... $ECHO_C" >&6 10490echo $ECHO_N "checking for Xkb... $ECHO_C" >&6; }
9945 cat >conftest.$ac_ext <<_ACEOF 10491 cat >conftest.$ac_ext <<_ACEOF
9946/* confdefs.h. */ 10492/* confdefs.h. */
9947_ACEOF 10493_ACEOF
@@ -9959,37 +10505,35 @@ XkbDescPtr kb = XkbGetKeyboard (0, XkbAllComponentsMask, XkbUseCoreKbd);
9959} 10505}
9960_ACEOF 10506_ACEOF
9961rm -f conftest.$ac_objext conftest$ac_exeext 10507rm -f conftest.$ac_objext conftest$ac_exeext
9962if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10508if { (ac_try="$ac_link"
9963 (eval $ac_link) 2>conftest.er1 10509case "(($ac_try" in
10510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10511 *) ac_try_echo=$ac_try;;
10512esac
10513eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10514 (eval "$ac_link") 2>conftest.er1
9964 ac_status=$? 10515 ac_status=$?
9965 grep -v '^ *+' conftest.er1 >conftest.err 10516 grep -v '^ *+' conftest.er1 >conftest.err
9966 rm -f conftest.er1 10517 rm -f conftest.er1
9967 cat conftest.err >&5 10518 cat conftest.err >&5
9968 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9969 (exit $ac_status); } && 10520 (exit $ac_status); } && {
9970 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10521 test -z "$ac_c_werror_flag" ||
9971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10522 test ! -s conftest.err
9972 (eval $ac_try) 2>&5 10523 } && test -s conftest$ac_exeext &&
9973 ac_status=$? 10524 $as_test_x conftest$ac_exeext; then
9974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9975 (exit $ac_status); }; } &&
9976 { ac_try='test -s conftest$ac_exeext'
9977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9978 (eval $ac_try) 2>&5
9979 ac_status=$?
9980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9981 (exit $ac_status); }; }; then
9982 emacs_xkb=yes 10525 emacs_xkb=yes
9983else 10526else
9984 echo "$as_me: failed program was:" >&5 10527 echo "$as_me: failed program was:" >&5
9985sed 's/^/| /' conftest.$ac_ext >&5 10528sed 's/^/| /' conftest.$ac_ext >&5
9986 10529
9987emacs_xkb=no 10530 emacs_xkb=no
9988fi 10531fi
9989rm -f conftest.err conftest.$ac_objext \ 10532
10533rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9990 conftest$ac_exeext conftest.$ac_ext 10534 conftest$ac_exeext conftest.$ac_ext
9991 echo "$as_me:$LINENO: result: $emacs_xkb" >&5 10535 { echo "$as_me:$LINENO: result: $emacs_xkb" >&5
9992echo "${ECHO_T}$emacs_xkb" >&6 10536echo "${ECHO_T}$emacs_xkb" >&6; }
9993 if test $emacs_xkb = yes; then 10537 if test $emacs_xkb = yes; then
9994 10538
9995cat >>confdefs.h <<\_ACEOF 10539cat >>confdefs.h <<\_ACEOF
@@ -10006,9 +10550,9 @@ for ac_func in XrmSetDatabase XScreenResourceString \
10006XScreenNumberOfScreen XSetWMProtocols 10550XScreenNumberOfScreen XSetWMProtocols
10007do 10551do
10008as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 10552as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10009echo "$as_me:$LINENO: checking for $ac_func" >&5 10553{ echo "$as_me:$LINENO: checking for $ac_func" >&5
10010echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 10554echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10011if eval "test \"\${$as_ac_var+set}\" = set"; then 10555if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10012 echo $ECHO_N "(cached) $ECHO_C" >&6 10556 echo $ECHO_N "(cached) $ECHO_C" >&6
10013else 10557else
10014 cat >conftest.$ac_ext <<_ACEOF 10558 cat >conftest.$ac_ext <<_ACEOF
@@ -10034,67 +10578,60 @@ cat >>conftest.$ac_ext <<_ACEOF
10034 10578
10035#undef $ac_func 10579#undef $ac_func
10036 10580
10037/* Override any gcc2 internal prototype to avoid an error. */ 10581/* Override any GCC internal prototype to avoid an error.
10582 Use char because int might match the return type of a GCC
10583 builtin and then its argument prototype would still apply. */
10038#ifdef __cplusplus 10584#ifdef __cplusplus
10039extern "C" 10585extern "C"
10040{
10041#endif 10586#endif
10042/* We use char because int might match the return type of a gcc2
10043 builtin and then its argument prototype would still apply. */
10044char $ac_func (); 10587char $ac_func ();
10045/* The GNU C library defines this for functions which it implements 10588/* The GNU C library defines this for functions which it implements
10046 to always fail with ENOSYS. Some functions are actually named 10589 to always fail with ENOSYS. Some functions are actually named
10047 something starting with __ and the normal name is an alias. */ 10590 something starting with __ and the normal name is an alias. */
10048#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 10591#if defined __stub_$ac_func || defined __stub___$ac_func
10049choke me 10592choke me
10050#else
10051char (*f) () = $ac_func;
10052#endif
10053#ifdef __cplusplus
10054}
10055#endif 10593#endif
10056 10594
10057int 10595int
10058main () 10596main ()
10059{ 10597{
10060return f != $ac_func; 10598return $ac_func ();
10061 ; 10599 ;
10062 return 0; 10600 return 0;
10063} 10601}
10064_ACEOF 10602_ACEOF
10065rm -f conftest.$ac_objext conftest$ac_exeext 10603rm -f conftest.$ac_objext conftest$ac_exeext
10066if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10604if { (ac_try="$ac_link"
10067 (eval $ac_link) 2>conftest.er1 10605case "(($ac_try" in
10606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10607 *) ac_try_echo=$ac_try;;
10608esac
10609eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10610 (eval "$ac_link") 2>conftest.er1
10068 ac_status=$? 10611 ac_status=$?
10069 grep -v '^ *+' conftest.er1 >conftest.err 10612 grep -v '^ *+' conftest.er1 >conftest.err
10070 rm -f conftest.er1 10613 rm -f conftest.er1
10071 cat conftest.err >&5 10614 cat conftest.err >&5
10072 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10073 (exit $ac_status); } && 10616 (exit $ac_status); } && {
10074 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10617 test -z "$ac_c_werror_flag" ||
10075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10618 test ! -s conftest.err
10076 (eval $ac_try) 2>&5 10619 } && test -s conftest$ac_exeext &&
10077 ac_status=$? 10620 $as_test_x conftest$ac_exeext; then
10078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10079 (exit $ac_status); }; } &&
10080 { ac_try='test -s conftest$ac_exeext'
10081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10082 (eval $ac_try) 2>&5
10083 ac_status=$?
10084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10085 (exit $ac_status); }; }; then
10086 eval "$as_ac_var=yes" 10621 eval "$as_ac_var=yes"
10087else 10622else
10088 echo "$as_me: failed program was:" >&5 10623 echo "$as_me: failed program was:" >&5
10089sed 's/^/| /' conftest.$ac_ext >&5 10624sed 's/^/| /' conftest.$ac_ext >&5
10090 10625
10091eval "$as_ac_var=no" 10626 eval "$as_ac_var=no"
10092fi 10627fi
10093rm -f conftest.err conftest.$ac_objext \ 10628
10629rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10094 conftest$ac_exeext conftest.$ac_ext 10630 conftest$ac_exeext conftest.$ac_ext
10095fi 10631fi
10096echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 10632ac_res=`eval echo '${'$as_ac_var'}'`
10097echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 10633 { echo "$as_me:$LINENO: result: $ac_res" >&5
10634echo "${ECHO_T}$ac_res" >&6; }
10098if test `eval echo '${'$as_ac_var'}'` = yes; then 10635if test `eval echo '${'$as_ac_var'}'` = yes; then
10099 cat >>confdefs.h <<_ACEOF 10636 cat >>confdefs.h <<_ACEOF
10100#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 10637#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
@@ -10106,8 +10643,8 @@ done
10106fi 10643fi
10107 10644
10108if test "${window_system}" = "x11"; then 10645if test "${window_system}" = "x11"; then
10109 echo "$as_me:$LINENO: checking X11 version 6" >&5 10646 { echo "$as_me:$LINENO: checking X11 version 6" >&5
10110echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6 10647echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6; }
10111 if test "${emacs_cv_x11_version_6+set}" = set; then 10648 if test "${emacs_cv_x11_version_6+set}" = set; then
10112 echo $ECHO_N "(cached) $ECHO_C" >&6 10649 echo $ECHO_N "(cached) $ECHO_C" >&6
10113else 10650else
@@ -10130,54 +10667,52 @@ fail;
10130} 10667}
10131_ACEOF 10668_ACEOF
10132rm -f conftest.$ac_objext conftest$ac_exeext 10669rm -f conftest.$ac_objext conftest$ac_exeext
10133if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10670if { (ac_try="$ac_link"
10134 (eval $ac_link) 2>conftest.er1 10671case "(($ac_try" in
10672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10673 *) ac_try_echo=$ac_try;;
10674esac
10675eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10676 (eval "$ac_link") 2>conftest.er1
10135 ac_status=$? 10677 ac_status=$?
10136 grep -v '^ *+' conftest.er1 >conftest.err 10678 grep -v '^ *+' conftest.er1 >conftest.err
10137 rm -f conftest.er1 10679 rm -f conftest.er1
10138 cat conftest.err >&5 10680 cat conftest.err >&5
10139 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10140 (exit $ac_status); } && 10682 (exit $ac_status); } && {
10141 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10683 test -z "$ac_c_werror_flag" ||
10142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10684 test ! -s conftest.err
10143 (eval $ac_try) 2>&5 10685 } && test -s conftest$ac_exeext &&
10144 ac_status=$? 10686 $as_test_x conftest$ac_exeext; then
10145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10146 (exit $ac_status); }; } &&
10147 { ac_try='test -s conftest$ac_exeext'
10148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10149 (eval $ac_try) 2>&5
10150 ac_status=$?
10151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10152 (exit $ac_status); }; }; then
10153 emacs_cv_x11_version_6=yes 10687 emacs_cv_x11_version_6=yes
10154else 10688else
10155 echo "$as_me: failed program was:" >&5 10689 echo "$as_me: failed program was:" >&5
10156sed 's/^/| /' conftest.$ac_ext >&5 10690sed 's/^/| /' conftest.$ac_ext >&5
10157 10691
10158emacs_cv_x11_version_6=no 10692 emacs_cv_x11_version_6=no
10159fi 10693fi
10160rm -f conftest.err conftest.$ac_objext \ 10694
10695rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10161 conftest$ac_exeext conftest.$ac_ext 10696 conftest$ac_exeext conftest.$ac_ext
10162fi 10697fi
10163 10698
10164 if test $emacs_cv_x11_version_6 = yes; then 10699 if test $emacs_cv_x11_version_6 = yes; then
10165 echo "$as_me:$LINENO: result: 6 or newer" >&5 10700 { echo "$as_me:$LINENO: result: 6 or newer" >&5
10166echo "${ECHO_T}6 or newer" >&6 10701echo "${ECHO_T}6 or newer" >&6; }
10167 10702
10168cat >>confdefs.h <<\_ACEOF 10703cat >>confdefs.h <<\_ACEOF
10169#define HAVE_X11R6 1 10704#define HAVE_X11R6 1
10170_ACEOF 10705_ACEOF
10171 10706
10172 else 10707 else
10173 echo "$as_me:$LINENO: result: before 6" >&5 10708 { echo "$as_me:$LINENO: result: before 6" >&5
10174echo "${ECHO_T}before 6" >&6 10709echo "${ECHO_T}before 6" >&6; }
10175 fi 10710 fi
10176fi 10711fi
10177 10712
10178if test "${window_system}" = "x11"; then 10713if test "${window_system}" = "x11"; then
10179 echo "$as_me:$LINENO: checking X11 version 5" >&5 10714 { echo "$as_me:$LINENO: checking X11 version 5" >&5
10180echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6 10715echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6; }
10181 if test "${emacs_cv_x11_version_5+set}" = set; then 10716 if test "${emacs_cv_x11_version_5+set}" = set; then
10182 echo $ECHO_N "(cached) $ECHO_C" >&6 10717 echo $ECHO_N "(cached) $ECHO_C" >&6
10183else 10718else
@@ -10200,40 +10735,38 @@ fail;
10200} 10735}
10201_ACEOF 10736_ACEOF
10202rm -f conftest.$ac_objext conftest$ac_exeext 10737rm -f conftest.$ac_objext conftest$ac_exeext
10203if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10738if { (ac_try="$ac_link"
10204 (eval $ac_link) 2>conftest.er1 10739case "(($ac_try" in
10740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10741 *) ac_try_echo=$ac_try;;
10742esac
10743eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10744 (eval "$ac_link") 2>conftest.er1
10205 ac_status=$? 10745 ac_status=$?
10206 grep -v '^ *+' conftest.er1 >conftest.err 10746 grep -v '^ *+' conftest.er1 >conftest.err
10207 rm -f conftest.er1 10747 rm -f conftest.er1
10208 cat conftest.err >&5 10748 cat conftest.err >&5
10209 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10210 (exit $ac_status); } && 10750 (exit $ac_status); } && {
10211 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10751 test -z "$ac_c_werror_flag" ||
10212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10752 test ! -s conftest.err
10213 (eval $ac_try) 2>&5 10753 } && test -s conftest$ac_exeext &&
10214 ac_status=$? 10754 $as_test_x conftest$ac_exeext; then
10215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10216 (exit $ac_status); }; } &&
10217 { ac_try='test -s conftest$ac_exeext'
10218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10219 (eval $ac_try) 2>&5
10220 ac_status=$?
10221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10222 (exit $ac_status); }; }; then
10223 emacs_cv_x11_version_5=yes 10755 emacs_cv_x11_version_5=yes
10224else 10756else
10225 echo "$as_me: failed program was:" >&5 10757 echo "$as_me: failed program was:" >&5
10226sed 's/^/| /' conftest.$ac_ext >&5 10758sed 's/^/| /' conftest.$ac_ext >&5
10227 10759
10228emacs_cv_x11_version_5=no 10760 emacs_cv_x11_version_5=no
10229fi 10761fi
10230rm -f conftest.err conftest.$ac_objext \ 10762
10763rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10231 conftest$ac_exeext conftest.$ac_ext 10764 conftest$ac_exeext conftest.$ac_ext
10232fi 10765fi
10233 10766
10234 if test $emacs_cv_x11_version_5 = yes; then 10767 if test $emacs_cv_x11_version_5 = yes; then
10235 echo "$as_me:$LINENO: result: 5 or newer" >&5 10768 { echo "$as_me:$LINENO: result: 5 or newer" >&5
10236echo "${ECHO_T}5 or newer" >&6 10769echo "${ECHO_T}5 or newer" >&6; }
10237 HAVE_X11R5=yes 10770 HAVE_X11R5=yes
10238 10771
10239cat >>confdefs.h <<\_ACEOF 10772cat >>confdefs.h <<\_ACEOF
@@ -10242,8 +10775,8 @@ _ACEOF
10242 10775
10243 else 10776 else
10244 HAVE_X11R5=no 10777 HAVE_X11R5=no
10245 echo "$as_me:$LINENO: result: before 5" >&5 10778 { echo "$as_me:$LINENO: result: before 5" >&5
10246echo "${ECHO_T}before 5" >&6 10779echo "${ECHO_T}before 5" >&6; }
10247 fi 10780 fi
10248fi 10781fi
10249 10782
@@ -10267,8 +10800,8 @@ echo "$as_me: error: Conflicting options, --with-gtk is incompatible with --with
10267 if test -z "$PKG_CONFIG"; then 10800 if test -z "$PKG_CONFIG"; then
10268 # Extract the first word of "pkg-config", so it can be a program name with args. 10801 # Extract the first word of "pkg-config", so it can be a program name with args.
10269set dummy pkg-config; ac_word=$2 10802set dummy pkg-config; ac_word=$2
10270echo "$as_me:$LINENO: checking for $ac_word" >&5 10803{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10271echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 10804echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10272if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 10805if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
10273 echo $ECHO_N "(cached) $ECHO_C" >&6 10806 echo $ECHO_N "(cached) $ECHO_C" >&6
10274else 10807else
@@ -10283,28 +10816,29 @@ do
10283 IFS=$as_save_IFS 10816 IFS=$as_save_IFS
10284 test -z "$as_dir" && as_dir=. 10817 test -z "$as_dir" && as_dir=.
10285 for ac_exec_ext in '' $ac_executable_extensions; do 10818 for ac_exec_ext in '' $ac_executable_extensions; do
10286 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10287 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 10820 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 10821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10289 break 2 10822 break 2
10290 fi 10823 fi
10291done 10824done
10292done 10825done
10826IFS=$as_save_IFS
10293 10827
10294 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" 10828 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
10295 ;; 10829 ;;
10296esac 10830esac
10297fi 10831fi
10298PKG_CONFIG=$ac_cv_path_PKG_CONFIG 10832PKG_CONFIG=$ac_cv_path_PKG_CONFIG
10299
10300if test -n "$PKG_CONFIG"; then 10833if test -n "$PKG_CONFIG"; then
10301 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 10834 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
10302echo "${ECHO_T}$PKG_CONFIG" >&6 10835echo "${ECHO_T}$PKG_CONFIG" >&6; }
10303else 10836else
10304 echo "$as_me:$LINENO: result: no" >&5 10837 { echo "$as_me:$LINENO: result: no" >&5
10305echo "${ECHO_T}no" >&6 10838echo "${ECHO_T}no" >&6; }
10306fi 10839fi
10307 10840
10841
10308 fi 10842 fi
10309 10843
10310 if test "$PKG_CONFIG" = "no" ; then 10844 if test "$PKG_CONFIG" = "no" ; then
@@ -10316,28 +10850,28 @@ echo "$as_me: error:
10316 else 10850 else
10317 PKG_CONFIG_MIN_VERSION=0.9.0 10851 PKG_CONFIG_MIN_VERSION=0.9.0
10318 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 10852 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
10319 echo "$as_me:$LINENO: checking for $GTK_MODULES" >&5 10853 { echo "$as_me:$LINENO: checking for $GTK_MODULES" >&5
10320echo $ECHO_N "checking for $GTK_MODULES... $ECHO_C" >&6 10854echo $ECHO_N "checking for $GTK_MODULES... $ECHO_C" >&6; }
10321 10855
10322 if $PKG_CONFIG --exists "$GTK_MODULES" 2>&5; then 10856 if $PKG_CONFIG --exists "$GTK_MODULES" 2>&5; then
10323 echo "$as_me:$LINENO: result: yes" >&5 10857 { echo "$as_me:$LINENO: result: yes" >&5
10324echo "${ECHO_T}yes" >&6 10858echo "${ECHO_T}yes" >&6; }
10325 succeeded=yes 10859 succeeded=yes
10326 10860
10327 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5 10861 { echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
10328echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6 10862echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6; }
10329 GTK_CFLAGS=`$PKG_CONFIG --cflags "$GTK_MODULES"` 10863 GTK_CFLAGS=`$PKG_CONFIG --cflags "$GTK_MODULES"`
10330 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5 10864 { echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
10331echo "${ECHO_T}$GTK_CFLAGS" >&6 10865echo "${ECHO_T}$GTK_CFLAGS" >&6; }
10332 10866
10333 echo "$as_me:$LINENO: checking GTK_LIBS" >&5 10867 { echo "$as_me:$LINENO: checking GTK_LIBS" >&5
10334echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6 10868echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6; }
10335 GTK_LIBS=`$PKG_CONFIG --libs "$GTK_MODULES"` 10869 GTK_LIBS=`$PKG_CONFIG --libs "$GTK_MODULES"`
10336 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5 10870 { echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
10337echo "${ECHO_T}$GTK_LIBS" >&6 10871echo "${ECHO_T}$GTK_LIBS" >&6; }
10338 else 10872 else
10339 echo "$as_me:$LINENO: result: no" >&5 10873 { echo "$as_me:$LINENO: result: no" >&5
10340echo "${ECHO_T}no" >&6 10874echo "${ECHO_T}no" >&6; }
10341 GTK_CFLAGS="" 10875 GTK_CFLAGS=""
10342 GTK_LIBS="" 10876 GTK_LIBS=""
10343 ## If we have a custom action on failure, don't print errors, but 10877 ## If we have a custom action on failure, don't print errors, but
@@ -10386,9 +10920,9 @@ _ACEOF
10386for ac_func in gtk_file_selection_new 10920for ac_func in gtk_file_selection_new
10387do 10921do
10388as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 10922as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10389echo "$as_me:$LINENO: checking for $ac_func" >&5 10923{ echo "$as_me:$LINENO: checking for $ac_func" >&5
10390echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 10924echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10391if eval "test \"\${$as_ac_var+set}\" = set"; then 10925if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10392 echo $ECHO_N "(cached) $ECHO_C" >&6 10926 echo $ECHO_N "(cached) $ECHO_C" >&6
10393else 10927else
10394 cat >conftest.$ac_ext <<_ACEOF 10928 cat >conftest.$ac_ext <<_ACEOF
@@ -10414,67 +10948,60 @@ cat >>conftest.$ac_ext <<_ACEOF
10414 10948
10415#undef $ac_func 10949#undef $ac_func
10416 10950
10417/* Override any gcc2 internal prototype to avoid an error. */ 10951/* Override any GCC internal prototype to avoid an error.
10952 Use char because int might match the return type of a GCC
10953 builtin and then its argument prototype would still apply. */
10418#ifdef __cplusplus 10954#ifdef __cplusplus
10419extern "C" 10955extern "C"
10420{
10421#endif 10956#endif
10422/* We use char because int might match the return type of a gcc2
10423 builtin and then its argument prototype would still apply. */
10424char $ac_func (); 10957char $ac_func ();
10425/* The GNU C library defines this for functions which it implements 10958/* The GNU C library defines this for functions which it implements
10426 to always fail with ENOSYS. Some functions are actually named 10959 to always fail with ENOSYS. Some functions are actually named
10427 something starting with __ and the normal name is an alias. */ 10960 something starting with __ and the normal name is an alias. */
10428#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 10961#if defined __stub_$ac_func || defined __stub___$ac_func
10429choke me 10962choke me
10430#else
10431char (*f) () = $ac_func;
10432#endif
10433#ifdef __cplusplus
10434}
10435#endif 10963#endif
10436 10964
10437int 10965int
10438main () 10966main ()
10439{ 10967{
10440return f != $ac_func; 10968return $ac_func ();
10441 ; 10969 ;
10442 return 0; 10970 return 0;
10443} 10971}
10444_ACEOF 10972_ACEOF
10445rm -f conftest.$ac_objext conftest$ac_exeext 10973rm -f conftest.$ac_objext conftest$ac_exeext
10446if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10974if { (ac_try="$ac_link"
10447 (eval $ac_link) 2>conftest.er1 10975case "(($ac_try" in
10976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10977 *) ac_try_echo=$ac_try;;
10978esac
10979eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10980 (eval "$ac_link") 2>conftest.er1
10448 ac_status=$? 10981 ac_status=$?
10449 grep -v '^ *+' conftest.er1 >conftest.err 10982 grep -v '^ *+' conftest.er1 >conftest.err
10450 rm -f conftest.er1 10983 rm -f conftest.er1
10451 cat conftest.err >&5 10984 cat conftest.err >&5
10452 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10453 (exit $ac_status); } && 10986 (exit $ac_status); } && {
10454 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10987 test -z "$ac_c_werror_flag" ||
10455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10988 test ! -s conftest.err
10456 (eval $ac_try) 2>&5 10989 } && test -s conftest$ac_exeext &&
10457 ac_status=$? 10990 $as_test_x conftest$ac_exeext; then
10458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10459 (exit $ac_status); }; } &&
10460 { ac_try='test -s conftest$ac_exeext'
10461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10462 (eval $ac_try) 2>&5
10463 ac_status=$?
10464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10465 (exit $ac_status); }; }; then
10466 eval "$as_ac_var=yes" 10991 eval "$as_ac_var=yes"
10467else 10992else
10468 echo "$as_me: failed program was:" >&5 10993 echo "$as_me: failed program was:" >&5
10469sed 's/^/| /' conftest.$ac_ext >&5 10994sed 's/^/| /' conftest.$ac_ext >&5
10470 10995
10471eval "$as_ac_var=no" 10996 eval "$as_ac_var=no"
10472fi 10997fi
10473rm -f conftest.err conftest.$ac_objext \ 10998
10999rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10474 conftest$ac_exeext conftest.$ac_ext 11000 conftest$ac_exeext conftest.$ac_ext
10475fi 11001fi
10476echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 11002ac_res=`eval echo '${'$as_ac_var'}'`
10477echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 11003 { echo "$as_me:$LINENO: result: $ac_res" >&5
11004echo "${ECHO_T}$ac_res" >&6; }
10478if test `eval echo '${'$as_ac_var'}'` = yes; then 11005if test `eval echo '${'$as_ac_var'}'` = yes; then
10479 cat >>confdefs.h <<_ACEOF 11006 cat >>confdefs.h <<_ACEOF
10480#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 11007#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
@@ -10489,9 +11016,9 @@ done
10489for ac_func in gtk_file_chooser_dialog_new 11016for ac_func in gtk_file_chooser_dialog_new
10490do 11017do
10491as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 11018as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10492echo "$as_me:$LINENO: checking for $ac_func" >&5 11019{ echo "$as_me:$LINENO: checking for $ac_func" >&5
10493echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 11020echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10494if eval "test \"\${$as_ac_var+set}\" = set"; then 11021if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10495 echo $ECHO_N "(cached) $ECHO_C" >&6 11022 echo $ECHO_N "(cached) $ECHO_C" >&6
10496else 11023else
10497 cat >conftest.$ac_ext <<_ACEOF 11024 cat >conftest.$ac_ext <<_ACEOF
@@ -10517,67 +11044,60 @@ cat >>conftest.$ac_ext <<_ACEOF
10517 11044
10518#undef $ac_func 11045#undef $ac_func
10519 11046
10520/* Override any gcc2 internal prototype to avoid an error. */ 11047/* Override any GCC internal prototype to avoid an error.
11048 Use char because int might match the return type of a GCC
11049 builtin and then its argument prototype would still apply. */
10521#ifdef __cplusplus 11050#ifdef __cplusplus
10522extern "C" 11051extern "C"
10523{
10524#endif 11052#endif
10525/* We use char because int might match the return type of a gcc2
10526 builtin and then its argument prototype would still apply. */
10527char $ac_func (); 11053char $ac_func ();
10528/* The GNU C library defines this for functions which it implements 11054/* The GNU C library defines this for functions which it implements
10529 to always fail with ENOSYS. Some functions are actually named 11055 to always fail with ENOSYS. Some functions are actually named
10530 something starting with __ and the normal name is an alias. */ 11056 something starting with __ and the normal name is an alias. */
10531#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 11057#if defined __stub_$ac_func || defined __stub___$ac_func
10532choke me 11058choke me
10533#else
10534char (*f) () = $ac_func;
10535#endif
10536#ifdef __cplusplus
10537}
10538#endif 11059#endif
10539 11060
10540int 11061int
10541main () 11062main ()
10542{ 11063{
10543return f != $ac_func; 11064return $ac_func ();
10544 ; 11065 ;
10545 return 0; 11066 return 0;
10546} 11067}
10547_ACEOF 11068_ACEOF
10548rm -f conftest.$ac_objext conftest$ac_exeext 11069rm -f conftest.$ac_objext conftest$ac_exeext
10549if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11070if { (ac_try="$ac_link"
10550 (eval $ac_link) 2>conftest.er1 11071case "(($ac_try" in
11072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11073 *) ac_try_echo=$ac_try;;
11074esac
11075eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11076 (eval "$ac_link") 2>conftest.er1
10551 ac_status=$? 11077 ac_status=$?
10552 grep -v '^ *+' conftest.er1 >conftest.err 11078 grep -v '^ *+' conftest.er1 >conftest.err
10553 rm -f conftest.er1 11079 rm -f conftest.er1
10554 cat conftest.err >&5 11080 cat conftest.err >&5
10555 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10556 (exit $ac_status); } && 11082 (exit $ac_status); } && {
10557 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 11083 test -z "$ac_c_werror_flag" ||
10558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11084 test ! -s conftest.err
10559 (eval $ac_try) 2>&5 11085 } && test -s conftest$ac_exeext &&
10560 ac_status=$? 11086 $as_test_x conftest$ac_exeext; then
10561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10562 (exit $ac_status); }; } &&
10563 { ac_try='test -s conftest$ac_exeext'
10564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10565 (eval $ac_try) 2>&5
10566 ac_status=$?
10567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10568 (exit $ac_status); }; }; then
10569 eval "$as_ac_var=yes" 11087 eval "$as_ac_var=yes"
10570else 11088else
10571 echo "$as_me: failed program was:" >&5 11089 echo "$as_me: failed program was:" >&5
10572sed 's/^/| /' conftest.$ac_ext >&5 11090sed 's/^/| /' conftest.$ac_ext >&5
10573 11091
10574eval "$as_ac_var=no" 11092 eval "$as_ac_var=no"
10575fi 11093fi
10576rm -f conftest.err conftest.$ac_objext \ 11094
11095rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10577 conftest$ac_exeext conftest.$ac_ext 11096 conftest$ac_exeext conftest.$ac_ext
10578fi 11097fi
10579echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 11098ac_res=`eval echo '${'$as_ac_var'}'`
10580echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 11099 { echo "$as_me:$LINENO: result: $ac_res" >&5
11100echo "${ECHO_T}$ac_res" >&6; }
10581if test `eval echo '${'$as_ac_var'}'` = yes; then 11101if test `eval echo '${'$as_ac_var'}'` = yes; then
10582 cat >>confdefs.h <<_ACEOF 11102 cat >>confdefs.h <<_ACEOF
10583#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 11103#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
@@ -10602,18 +11122,19 @@ _ACEOF
10602for ac_header in pthread.h 11122for ac_header in pthread.h
10603do 11123do
10604as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11124as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10605if eval "test \"\${$as_ac_Header+set}\" = set"; then 11125if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10606 echo "$as_me:$LINENO: checking for $ac_header" >&5 11126 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10607echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11127echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10608if eval "test \"\${$as_ac_Header+set}\" = set"; then 11128if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10609 echo $ECHO_N "(cached) $ECHO_C" >&6 11129 echo $ECHO_N "(cached) $ECHO_C" >&6
10610fi 11130fi
10611echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 11131ac_res=`eval echo '${'$as_ac_Header'}'`
10612echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11132 { echo "$as_me:$LINENO: result: $ac_res" >&5
11133echo "${ECHO_T}$ac_res" >&6; }
10613else 11134else
10614 # Is the header compilable? 11135 # Is the header compilable?
10615echo "$as_me:$LINENO: checking $ac_header usability" >&5 11136{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
10616echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 11137echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10617cat >conftest.$ac_ext <<_ACEOF 11138cat >conftest.$ac_ext <<_ACEOF
10618/* confdefs.h. */ 11139/* confdefs.h. */
10619_ACEOF 11140_ACEOF
@@ -10624,40 +11145,37 @@ $ac_includes_default
10624#include <$ac_header> 11145#include <$ac_header>
10625_ACEOF 11146_ACEOF
10626rm -f conftest.$ac_objext 11147rm -f conftest.$ac_objext
10627if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 11148if { (ac_try="$ac_compile"
10628 (eval $ac_compile) 2>conftest.er1 11149case "(($ac_try" in
11150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11151 *) ac_try_echo=$ac_try;;
11152esac
11153eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11154 (eval "$ac_compile") 2>conftest.er1
10629 ac_status=$? 11155 ac_status=$?
10630 grep -v '^ *+' conftest.er1 >conftest.err 11156 grep -v '^ *+' conftest.er1 >conftest.err
10631 rm -f conftest.er1 11157 rm -f conftest.er1
10632 cat conftest.err >&5 11158 cat conftest.err >&5
10633 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10634 (exit $ac_status); } && 11160 (exit $ac_status); } && {
10635 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 11161 test -z "$ac_c_werror_flag" ||
10636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11162 test ! -s conftest.err
10637 (eval $ac_try) 2>&5 11163 } && test -s conftest.$ac_objext; then
10638 ac_status=$?
10639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10640 (exit $ac_status); }; } &&
10641 { ac_try='test -s conftest.$ac_objext'
10642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10643 (eval $ac_try) 2>&5
10644 ac_status=$?
10645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10646 (exit $ac_status); }; }; then
10647 ac_header_compiler=yes 11164 ac_header_compiler=yes
10648else 11165else
10649 echo "$as_me: failed program was:" >&5 11166 echo "$as_me: failed program was:" >&5
10650sed 's/^/| /' conftest.$ac_ext >&5 11167sed 's/^/| /' conftest.$ac_ext >&5
10651 11168
10652ac_header_compiler=no 11169 ac_header_compiler=no
10653fi 11170fi
10654rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 11171
10655echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11172rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10656echo "${ECHO_T}$ac_header_compiler" >&6 11173{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11174echo "${ECHO_T}$ac_header_compiler" >&6; }
10657 11175
10658# Is the header present? 11176# Is the header present?
10659echo "$as_me:$LINENO: checking $ac_header presence" >&5 11177{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
10660echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 11178echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10661cat >conftest.$ac_ext <<_ACEOF 11179cat >conftest.$ac_ext <<_ACEOF
10662/* confdefs.h. */ 11180/* confdefs.h. */
10663_ACEOF 11181_ACEOF
@@ -10666,24 +11184,22 @@ cat >>conftest.$ac_ext <<_ACEOF
10666/* end confdefs.h. */ 11184/* end confdefs.h. */
10667#include <$ac_header> 11185#include <$ac_header>
10668_ACEOF 11186_ACEOF
10669if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 11187if { (ac_try="$ac_cpp conftest.$ac_ext"
10670 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11188case "(($ac_try" in
11189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11190 *) ac_try_echo=$ac_try;;
11191esac
11192eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11193 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10671 ac_status=$? 11194 ac_status=$?
10672 grep -v '^ *+' conftest.er1 >conftest.err 11195 grep -v '^ *+' conftest.er1 >conftest.err
10673 rm -f conftest.er1 11196 rm -f conftest.er1
10674 cat conftest.err >&5 11197 cat conftest.err >&5
10675 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10676 (exit $ac_status); } >/dev/null; then 11199 (exit $ac_status); } >/dev/null && {
10677 if test -s conftest.err; then 11200 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10678 ac_cpp_err=$ac_c_preproc_warn_flag 11201 test ! -s conftest.err
10679 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 11202 }; then
10680 else
10681 ac_cpp_err=
10682 fi
10683else
10684 ac_cpp_err=yes
10685fi
10686if test -z "$ac_cpp_err"; then
10687 ac_header_preproc=yes 11203 ac_header_preproc=yes
10688else 11204else
10689 echo "$as_me: failed program was:" >&5 11205 echo "$as_me: failed program was:" >&5
@@ -10691,9 +11207,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
10691 11207
10692 ac_header_preproc=no 11208 ac_header_preproc=no
10693fi 11209fi
11210
10694rm -f conftest.err conftest.$ac_ext 11211rm -f conftest.err conftest.$ac_ext
10695echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11212{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10696echo "${ECHO_T}$ac_header_preproc" >&6 11213echo "${ECHO_T}$ac_header_preproc" >&6; }
10697 11214
10698# So? What about this header? 11215# So? What about this header?
10699case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 11216case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
@@ -10717,25 +11234,19 @@ echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\
10717echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 11234echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10718 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 11235 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10719echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 11236echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10720 ( 11237
10721 cat <<\_ASBOX
10722## ------------------------------------------ ##
10723## Report this to the AC_PACKAGE_NAME lists. ##
10724## ------------------------------------------ ##
10725_ASBOX
10726 ) |
10727 sed "s/^/$as_me: WARNING: /" >&2
10728 ;; 11238 ;;
10729esac 11239esac
10730echo "$as_me:$LINENO: checking for $ac_header" >&5 11240{ echo "$as_me:$LINENO: checking for $ac_header" >&5
10731echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11241echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10732if eval "test \"\${$as_ac_Header+set}\" = set"; then 11242if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10733 echo $ECHO_N "(cached) $ECHO_C" >&6 11243 echo $ECHO_N "(cached) $ECHO_C" >&6
10734else 11244else
10735 eval "$as_ac_Header=\$ac_header_preproc" 11245 eval "$as_ac_Header=\$ac_header_preproc"
10736fi 11246fi
10737echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 11247ac_res=`eval echo '${'$as_ac_Header'}'`
10738echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11248 { echo "$as_me:$LINENO: result: $ac_res" >&5
11249echo "${ECHO_T}$ac_res" >&6; }
10739 11250
10740fi 11251fi
10741if test `eval echo '${'$as_ac_Header'}'` = yes; then 11252if test `eval echo '${'$as_ac_Header'}'` = yes; then
@@ -10748,8 +11259,8 @@ fi
10748done 11259done
10749 11260
10750 if test "$ac_cv_header_pthread_h"; then 11261 if test "$ac_cv_header_pthread_h"; then
10751 echo "$as_me:$LINENO: checking for pthread_self in -lpthread" >&5 11262 { echo "$as_me:$LINENO: checking for pthread_self in -lpthread" >&5
10752echo $ECHO_N "checking for pthread_self in -lpthread... $ECHO_C" >&6 11263echo $ECHO_N "checking for pthread_self in -lpthread... $ECHO_C" >&6; }
10753if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then 11264if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then
10754 echo $ECHO_N "(cached) $ECHO_C" >&6 11265 echo $ECHO_N "(cached) $ECHO_C" >&6
10755else 11266else
@@ -10762,55 +11273,53 @@ cat confdefs.h >>conftest.$ac_ext
10762cat >>conftest.$ac_ext <<_ACEOF 11273cat >>conftest.$ac_ext <<_ACEOF
10763/* end confdefs.h. */ 11274/* end confdefs.h. */
10764 11275
10765/* Override any gcc2 internal prototype to avoid an error. */ 11276/* Override any GCC internal prototype to avoid an error.
11277 Use char because int might match the return type of a GCC
11278 builtin and then its argument prototype would still apply. */
10766#ifdef __cplusplus 11279#ifdef __cplusplus
10767extern "C" 11280extern "C"
10768#endif 11281#endif
10769/* We use char because int might match the return type of a gcc2
10770 builtin and then its argument prototype would still apply. */
10771char pthread_self (); 11282char pthread_self ();
10772int 11283int
10773main () 11284main ()
10774{ 11285{
10775pthread_self (); 11286return pthread_self ();
10776 ; 11287 ;
10777 return 0; 11288 return 0;
10778} 11289}
10779_ACEOF 11290_ACEOF
10780rm -f conftest.$ac_objext conftest$ac_exeext 11291rm -f conftest.$ac_objext conftest$ac_exeext
10781if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11292if { (ac_try="$ac_link"
10782 (eval $ac_link) 2>conftest.er1 11293case "(($ac_try" in
11294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11295 *) ac_try_echo=$ac_try;;
11296esac
11297eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11298 (eval "$ac_link") 2>conftest.er1
10783 ac_status=$? 11299 ac_status=$?
10784 grep -v '^ *+' conftest.er1 >conftest.err 11300 grep -v '^ *+' conftest.er1 >conftest.err
10785 rm -f conftest.er1 11301 rm -f conftest.er1
10786 cat conftest.err >&5 11302 cat conftest.err >&5
10787 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10788 (exit $ac_status); } && 11304 (exit $ac_status); } && {
10789 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 11305 test -z "$ac_c_werror_flag" ||
10790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11306 test ! -s conftest.err
10791 (eval $ac_try) 2>&5 11307 } && test -s conftest$ac_exeext &&
10792 ac_status=$? 11308 $as_test_x conftest$ac_exeext; then
10793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10794 (exit $ac_status); }; } &&
10795 { ac_try='test -s conftest$ac_exeext'
10796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10797 (eval $ac_try) 2>&5
10798 ac_status=$?
10799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10800 (exit $ac_status); }; }; then
10801 ac_cv_lib_pthread_pthread_self=yes 11309 ac_cv_lib_pthread_pthread_self=yes
10802else 11310else
10803 echo "$as_me: failed program was:" >&5 11311 echo "$as_me: failed program was:" >&5
10804sed 's/^/| /' conftest.$ac_ext >&5 11312sed 's/^/| /' conftest.$ac_ext >&5
10805 11313
10806ac_cv_lib_pthread_pthread_self=no 11314 ac_cv_lib_pthread_pthread_self=no
10807fi 11315fi
10808rm -f conftest.err conftest.$ac_objext \ 11316
11317rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10809 conftest$ac_exeext conftest.$ac_ext 11318 conftest$ac_exeext conftest.$ac_ext
10810LIBS=$ac_check_lib_save_LIBS 11319LIBS=$ac_check_lib_save_LIBS
10811fi 11320fi
10812echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_self" >&5 11321{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_self" >&5
10813echo "${ECHO_T}$ac_cv_lib_pthread_pthread_self" >&6 11322echo "${ECHO_T}$ac_cv_lib_pthread_pthread_self" >&6; }
10814if test $ac_cv_lib_pthread_pthread_self = yes; then 11323if test $ac_cv_lib_pthread_pthread_self = yes; then
10815 HAVE_GTK_AND_PTHREAD=yes 11324 HAVE_GTK_AND_PTHREAD=yes
10816fi 11325fi
@@ -10829,8 +11338,8 @@ fi
10829 11338
10830if test x"${USE_X_TOOLKIT}" = xmaybe; then 11339if test x"${USE_X_TOOLKIT}" = xmaybe; then
10831 if test x"${HAVE_X11R5}" = xyes; then 11340 if test x"${HAVE_X11R5}" = xyes; then
10832 echo "$as_me:$LINENO: checking X11 version 5 with Xaw" >&5 11341 { echo "$as_me:$LINENO: checking X11 version 5 with Xaw" >&5
10833echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6 11342echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6; }
10834 if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then 11343 if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then
10835 echo $ECHO_N "(cached) $ECHO_C" >&6 11344 echo $ECHO_N "(cached) $ECHO_C" >&6
10836else 11345else
@@ -10852,44 +11361,42 @@ main ()
10852} 11361}
10853_ACEOF 11362_ACEOF
10854rm -f conftest.$ac_objext conftest$ac_exeext 11363rm -f conftest.$ac_objext conftest$ac_exeext
10855if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11364if { (ac_try="$ac_link"
10856 (eval $ac_link) 2>conftest.er1 11365case "(($ac_try" in
11366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11367 *) ac_try_echo=$ac_try;;
11368esac
11369eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11370 (eval "$ac_link") 2>conftest.er1
10857 ac_status=$? 11371 ac_status=$?
10858 grep -v '^ *+' conftest.er1 >conftest.err 11372 grep -v '^ *+' conftest.er1 >conftest.err
10859 rm -f conftest.er1 11373 rm -f conftest.er1
10860 cat conftest.err >&5 11374 cat conftest.err >&5
10861 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10862 (exit $ac_status); } && 11376 (exit $ac_status); } && {
10863 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 11377 test -z "$ac_c_werror_flag" ||
10864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11378 test ! -s conftest.err
10865 (eval $ac_try) 2>&5 11379 } && test -s conftest$ac_exeext &&
10866 ac_status=$? 11380 $as_test_x conftest$ac_exeext; then
10867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10868 (exit $ac_status); }; } &&
10869 { ac_try='test -s conftest$ac_exeext'
10870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10871 (eval $ac_try) 2>&5
10872 ac_status=$?
10873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10874 (exit $ac_status); }; }; then
10875 emacs_cv_x11_version_5_with_xaw=yes 11381 emacs_cv_x11_version_5_with_xaw=yes
10876else 11382else
10877 echo "$as_me: failed program was:" >&5 11383 echo "$as_me: failed program was:" >&5
10878sed 's/^/| /' conftest.$ac_ext >&5 11384sed 's/^/| /' conftest.$ac_ext >&5
10879 11385
10880emacs_cv_x11_version_5_with_xaw=no 11386 emacs_cv_x11_version_5_with_xaw=no
10881fi 11387fi
10882rm -f conftest.err conftest.$ac_objext \ 11388
11389rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10883 conftest$ac_exeext conftest.$ac_ext 11390 conftest$ac_exeext conftest.$ac_ext
10884fi 11391fi
10885 11392
10886 if test $emacs_cv_x11_version_5_with_xaw = yes; then 11393 if test $emacs_cv_x11_version_5_with_xaw = yes; then
10887 echo "$as_me:$LINENO: result: 5 or newer, with Xaw; use toolkit by default" >&5 11394 { echo "$as_me:$LINENO: result: 5 or newer, with Xaw; use toolkit by default" >&5
10888echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6 11395echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6; }
10889 USE_X_TOOLKIT=LUCID 11396 USE_X_TOOLKIT=LUCID
10890 else 11397 else
10891 echo "$as_me:$LINENO: result: before 5 or no Xaw; do not use toolkit by default" >&5 11398 { echo "$as_me:$LINENO: result: before 5 or no Xaw; do not use toolkit by default" >&5
10892echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6 11399echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6; }
10893 USE_X_TOOLKIT=none 11400 USE_X_TOOLKIT=none
10894 fi 11401 fi
10895 else 11402 else
@@ -10900,8 +11407,8 @@ fi
10900X_TOOLKIT_TYPE=$USE_X_TOOLKIT 11407X_TOOLKIT_TYPE=$USE_X_TOOLKIT
10901 11408
10902if test "${USE_X_TOOLKIT}" != "none"; then 11409if test "${USE_X_TOOLKIT}" != "none"; then
10903 echo "$as_me:$LINENO: checking X11 toolkit version" >&5 11410 { echo "$as_me:$LINENO: checking X11 toolkit version" >&5
10904echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6 11411echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6; }
10905 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then 11412 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then
10906 echo $ECHO_N "(cached) $ECHO_C" >&6 11413 echo $ECHO_N "(cached) $ECHO_C" >&6
10907else 11414else
@@ -10924,49 +11431,47 @@ fail;
10924} 11431}
10925_ACEOF 11432_ACEOF
10926rm -f conftest.$ac_objext conftest$ac_exeext 11433rm -f conftest.$ac_objext conftest$ac_exeext
10927if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11434if { (ac_try="$ac_link"
10928 (eval $ac_link) 2>conftest.er1 11435case "(($ac_try" in
11436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11437 *) ac_try_echo=$ac_try;;
11438esac
11439eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11440 (eval "$ac_link") 2>conftest.er1
10929 ac_status=$? 11441 ac_status=$?
10930 grep -v '^ *+' conftest.er1 >conftest.err 11442 grep -v '^ *+' conftest.er1 >conftest.err
10931 rm -f conftest.er1 11443 rm -f conftest.er1
10932 cat conftest.err >&5 11444 cat conftest.err >&5
10933 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10934 (exit $ac_status); } && 11446 (exit $ac_status); } && {
10935 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 11447 test -z "$ac_c_werror_flag" ||
10936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11448 test ! -s conftest.err
10937 (eval $ac_try) 2>&5 11449 } && test -s conftest$ac_exeext &&
10938 ac_status=$? 11450 $as_test_x conftest$ac_exeext; then
10939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10940 (exit $ac_status); }; } &&
10941 { ac_try='test -s conftest$ac_exeext'
10942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10943 (eval $ac_try) 2>&5
10944 ac_status=$?
10945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10946 (exit $ac_status); }; }; then
10947 emacs_cv_x11_toolkit_version_6=yes 11451 emacs_cv_x11_toolkit_version_6=yes
10948else 11452else
10949 echo "$as_me: failed program was:" >&5 11453 echo "$as_me: failed program was:" >&5
10950sed 's/^/| /' conftest.$ac_ext >&5 11454sed 's/^/| /' conftest.$ac_ext >&5
10951 11455
10952emacs_cv_x11_toolkit_version_6=no 11456 emacs_cv_x11_toolkit_version_6=no
10953fi 11457fi
10954rm -f conftest.err conftest.$ac_objext \ 11458
11459rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10955 conftest$ac_exeext conftest.$ac_ext 11460 conftest$ac_exeext conftest.$ac_ext
10956fi 11461fi
10957 11462
10958 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6 11463 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6
10959 if test $emacs_cv_x11_toolkit_version_6 = yes; then 11464 if test $emacs_cv_x11_toolkit_version_6 = yes; then
10960 echo "$as_me:$LINENO: result: 6 or newer" >&5 11465 { echo "$as_me:$LINENO: result: 6 or newer" >&5
10961echo "${ECHO_T}6 or newer" >&6 11466echo "${ECHO_T}6 or newer" >&6; }
10962 11467
10963cat >>confdefs.h <<\_ACEOF 11468cat >>confdefs.h <<\_ACEOF
10964#define HAVE_X11XTR6 1 11469#define HAVE_X11XTR6 1
10965_ACEOF 11470_ACEOF
10966 11471
10967 else 11472 else
10968 echo "$as_me:$LINENO: result: before 6" >&5 11473 { echo "$as_me:$LINENO: result: before 6" >&5
10969echo "${ECHO_T}before 6" >&6 11474echo "${ECHO_T}before 6" >&6; }
10970 fi 11475 fi
10971 11476
10972 OLDLIBS="$LIBS" 11477 OLDLIBS="$LIBS"
@@ -10976,8 +11481,8 @@ echo "${ECHO_T}before 6" >&6
10976 LIBS="-lXt $LIBS" 11481 LIBS="-lXt $LIBS"
10977 fi 11482 fi
10978 11483
10979echo "$as_me:$LINENO: checking for XmuConvertStandardSelection in -lXmu" >&5 11484{ echo "$as_me:$LINENO: checking for XmuConvertStandardSelection in -lXmu" >&5
10980echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6 11485echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6; }
10981if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then 11486if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then
10982 echo $ECHO_N "(cached) $ECHO_C" >&6 11487 echo $ECHO_N "(cached) $ECHO_C" >&6
10983else 11488else
@@ -10990,55 +11495,53 @@ cat confdefs.h >>conftest.$ac_ext
10990cat >>conftest.$ac_ext <<_ACEOF 11495cat >>conftest.$ac_ext <<_ACEOF
10991/* end confdefs.h. */ 11496/* end confdefs.h. */
10992 11497
10993/* Override any gcc2 internal prototype to avoid an error. */ 11498/* Override any GCC internal prototype to avoid an error.
11499 Use char because int might match the return type of a GCC
11500 builtin and then its argument prototype would still apply. */
10994#ifdef __cplusplus 11501#ifdef __cplusplus
10995extern "C" 11502extern "C"
10996#endif 11503#endif
10997/* We use char because int might match the return type of a gcc2
10998 builtin and then its argument prototype would still apply. */
10999char XmuConvertStandardSelection (); 11504char XmuConvertStandardSelection ();
11000int 11505int
11001main () 11506main ()
11002{ 11507{
11003XmuConvertStandardSelection (); 11508return XmuConvertStandardSelection ();
11004 ; 11509 ;
11005 return 0; 11510 return 0;
11006} 11511}
11007_ACEOF 11512_ACEOF
11008rm -f conftest.$ac_objext conftest$ac_exeext 11513rm -f conftest.$ac_objext conftest$ac_exeext
11009if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11514if { (ac_try="$ac_link"
11010 (eval $ac_link) 2>conftest.er1 11515case "(($ac_try" in
11516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11517 *) ac_try_echo=$ac_try;;
11518esac
11519eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11520 (eval "$ac_link") 2>conftest.er1
11011 ac_status=$? 11521 ac_status=$?
11012 grep -v '^ *+' conftest.er1 >conftest.err 11522 grep -v '^ *+' conftest.er1 >conftest.err
11013 rm -f conftest.er1 11523 rm -f conftest.er1
11014 cat conftest.err >&5 11524 cat conftest.err >&5
11015 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11016 (exit $ac_status); } && 11526 (exit $ac_status); } && {
11017 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 11527 test -z "$ac_c_werror_flag" ||
11018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11528 test ! -s conftest.err
11019 (eval $ac_try) 2>&5 11529 } && test -s conftest$ac_exeext &&
11020 ac_status=$? 11530 $as_test_x conftest$ac_exeext; then
11021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11022 (exit $ac_status); }; } &&
11023 { ac_try='test -s conftest$ac_exeext'
11024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11025 (eval $ac_try) 2>&5
11026 ac_status=$?
11027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11028 (exit $ac_status); }; }; then
11029 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes 11531 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes
11030else 11532else
11031 echo "$as_me: failed program was:" >&5 11533 echo "$as_me: failed program was:" >&5
11032sed 's/^/| /' conftest.$ac_ext >&5 11534sed 's/^/| /' conftest.$ac_ext >&5
11033 11535
11034ac_cv_lib_Xmu_XmuConvertStandardSelection=no 11536 ac_cv_lib_Xmu_XmuConvertStandardSelection=no
11035fi 11537fi
11036rm -f conftest.err conftest.$ac_objext \ 11538
11539rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11037 conftest$ac_exeext conftest.$ac_ext 11540 conftest$ac_exeext conftest.$ac_ext
11038LIBS=$ac_check_lib_save_LIBS 11541LIBS=$ac_check_lib_save_LIBS
11039fi 11542fi
11040echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 11543{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5
11041echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6 11544echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6; }
11042if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then 11545if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then
11043 cat >>confdefs.h <<_ACEOF 11546 cat >>confdefs.h <<_ACEOF
11044#define HAVE_LIBXMU 1 11547#define HAVE_LIBXMU 1
@@ -11055,8 +11558,8 @@ fi
11055if test "${HAVE_X11}" = "yes"; then 11558if test "${HAVE_X11}" = "yes"; then
11056 if test "${USE_X_TOOLKIT}" != "none"; then 11559 if test "${USE_X_TOOLKIT}" != "none"; then
11057 11560
11058echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5 11561{ echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
11059echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6 11562echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
11060if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then 11563if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
11061 echo $ECHO_N "(cached) $ECHO_C" >&6 11564 echo $ECHO_N "(cached) $ECHO_C" >&6
11062else 11565else
@@ -11069,55 +11572,53 @@ cat confdefs.h >>conftest.$ac_ext
11069cat >>conftest.$ac_ext <<_ACEOF 11572cat >>conftest.$ac_ext <<_ACEOF
11070/* end confdefs.h. */ 11573/* end confdefs.h. */
11071 11574
11072/* Override any gcc2 internal prototype to avoid an error. */ 11575/* Override any GCC internal prototype to avoid an error.
11576 Use char because int might match the return type of a GCC
11577 builtin and then its argument prototype would still apply. */
11073#ifdef __cplusplus 11578#ifdef __cplusplus
11074extern "C" 11579extern "C"
11075#endif 11580#endif
11076/* We use char because int might match the return type of a gcc2
11077 builtin and then its argument prototype would still apply. */
11078char XShapeQueryExtension (); 11581char XShapeQueryExtension ();
11079int 11582int
11080main () 11583main ()
11081{ 11584{
11082XShapeQueryExtension (); 11585return XShapeQueryExtension ();
11083 ; 11586 ;
11084 return 0; 11587 return 0;
11085} 11588}
11086_ACEOF 11589_ACEOF
11087rm -f conftest.$ac_objext conftest$ac_exeext 11590rm -f conftest.$ac_objext conftest$ac_exeext
11088if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11591if { (ac_try="$ac_link"
11089 (eval $ac_link) 2>conftest.er1 11592case "(($ac_try" in
11593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11594 *) ac_try_echo=$ac_try;;
11595esac
11596eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11597 (eval "$ac_link") 2>conftest.er1
11090 ac_status=$? 11598 ac_status=$?
11091 grep -v '^ *+' conftest.er1 >conftest.err 11599 grep -v '^ *+' conftest.er1 >conftest.err
11092 rm -f conftest.er1 11600 rm -f conftest.er1
11093 cat conftest.err >&5 11601 cat conftest.err >&5
11094 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11095 (exit $ac_status); } && 11603 (exit $ac_status); } && {
11096 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 11604 test -z "$ac_c_werror_flag" ||
11097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11605 test ! -s conftest.err
11098 (eval $ac_try) 2>&5 11606 } && test -s conftest$ac_exeext &&
11099 ac_status=$? 11607 $as_test_x conftest$ac_exeext; then
11100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11101 (exit $ac_status); }; } &&
11102 { ac_try='test -s conftest$ac_exeext'
11103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11104 (eval $ac_try) 2>&5
11105 ac_status=$?
11106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11107 (exit $ac_status); }; }; then
11108 ac_cv_lib_Xext_XShapeQueryExtension=yes 11608 ac_cv_lib_Xext_XShapeQueryExtension=yes
11109else 11609else
11110 echo "$as_me: failed program was:" >&5 11610 echo "$as_me: failed program was:" >&5
11111sed 's/^/| /' conftest.$ac_ext >&5 11611sed 's/^/| /' conftest.$ac_ext >&5
11112 11612
11113ac_cv_lib_Xext_XShapeQueryExtension=no 11613 ac_cv_lib_Xext_XShapeQueryExtension=no
11114fi 11614fi
11115rm -f conftest.err conftest.$ac_objext \ 11615
11616rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11116 conftest$ac_exeext conftest.$ac_ext 11617 conftest$ac_exeext conftest.$ac_ext
11117LIBS=$ac_check_lib_save_LIBS 11618LIBS=$ac_check_lib_save_LIBS
11118fi 11619fi
11119echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 11620{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11120echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6 11621echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11121if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then 11622if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
11122 cat >>confdefs.h <<_ACEOF 11623 cat >>confdefs.h <<_ACEOF
11123#define HAVE_LIBXEXT 1 11624#define HAVE_LIBXEXT 1
@@ -11131,8 +11632,8 @@ fi
11131fi 11632fi
11132 11633
11133if test "${USE_X_TOOLKIT}" = "MOTIF"; then 11634if test "${USE_X_TOOLKIT}" = "MOTIF"; then
11134 echo "$as_me:$LINENO: checking for Motif version 2.1" >&5 11635 { echo "$as_me:$LINENO: checking for Motif version 2.1" >&5
11135echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6 11636echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6; }
11136if test "${emacs_cv_motif_version_2_1+set}" = set; then 11637if test "${emacs_cv_motif_version_2_1+set}" = set; then
11137 echo $ECHO_N "(cached) $ECHO_C" >&6 11638 echo $ECHO_N "(cached) $ECHO_C" >&6
11138else 11639else
@@ -11156,37 +11657,34 @@ Motif version prior to 2.1.
11156} 11657}
11157_ACEOF 11658_ACEOF
11158rm -f conftest.$ac_objext 11659rm -f conftest.$ac_objext
11159if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 11660if { (ac_try="$ac_compile"
11160 (eval $ac_compile) 2>conftest.er1 11661case "(($ac_try" in
11662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11663 *) ac_try_echo=$ac_try;;
11664esac
11665eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11666 (eval "$ac_compile") 2>conftest.er1
11161 ac_status=$? 11667 ac_status=$?
11162 grep -v '^ *+' conftest.er1 >conftest.err 11668 grep -v '^ *+' conftest.er1 >conftest.err
11163 rm -f conftest.er1 11669 rm -f conftest.er1
11164 cat conftest.err >&5 11670 cat conftest.err >&5
11165 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11166 (exit $ac_status); } && 11672 (exit $ac_status); } && {
11167 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 11673 test -z "$ac_c_werror_flag" ||
11168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11674 test ! -s conftest.err
11169 (eval $ac_try) 2>&5 11675 } && test -s conftest.$ac_objext; then
11170 ac_status=$?
11171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11172 (exit $ac_status); }; } &&
11173 { ac_try='test -s conftest.$ac_objext'
11174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11175 (eval $ac_try) 2>&5
11176 ac_status=$?
11177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11178 (exit $ac_status); }; }; then
11179 emacs_cv_motif_version_2_1=yes 11676 emacs_cv_motif_version_2_1=yes
11180else 11677else
11181 echo "$as_me: failed program was:" >&5 11678 echo "$as_me: failed program was:" >&5
11182sed 's/^/| /' conftest.$ac_ext >&5 11679sed 's/^/| /' conftest.$ac_ext >&5
11183 11680
11184emacs_cv_motif_version_2_1=no 11681 emacs_cv_motif_version_2_1=no
11185fi 11682fi
11186rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 11683
11684rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11187fi 11685fi
11188echo "$as_me:$LINENO: result: $emacs_cv_motif_version_2_1" >&5 11686{ echo "$as_me:$LINENO: result: $emacs_cv_motif_version_2_1" >&5
11189echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6 11687echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6; }
11190 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1 11688 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1
11191 if test $emacs_cv_motif_version_2_1 = yes; then 11689 if test $emacs_cv_motif_version_2_1 = yes; then
11192 HAVE_LIBXP=no 11690 HAVE_LIBXP=no
@@ -11195,8 +11693,8 @@ cat >>confdefs.h <<\_ACEOF
11195#define HAVE_MOTIF_2_1 1 11693#define HAVE_MOTIF_2_1 1
11196_ACEOF 11694_ACEOF
11197 11695
11198 echo "$as_me:$LINENO: checking for XpCreateContext in -lXp" >&5 11696 { echo "$as_me:$LINENO: checking for XpCreateContext in -lXp" >&5
11199echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6 11697echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6; }
11200if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then 11698if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then
11201 echo $ECHO_N "(cached) $ECHO_C" >&6 11699 echo $ECHO_N "(cached) $ECHO_C" >&6
11202else 11700else
@@ -11209,55 +11707,53 @@ cat confdefs.h >>conftest.$ac_ext
11209cat >>conftest.$ac_ext <<_ACEOF 11707cat >>conftest.$ac_ext <<_ACEOF
11210/* end confdefs.h. */ 11708/* end confdefs.h. */
11211 11709
11212/* Override any gcc2 internal prototype to avoid an error. */ 11710/* Override any GCC internal prototype to avoid an error.
11711 Use char because int might match the return type of a GCC
11712 builtin and then its argument prototype would still apply. */
11213#ifdef __cplusplus 11713#ifdef __cplusplus
11214extern "C" 11714extern "C"
11215#endif 11715#endif
11216/* We use char because int might match the return type of a gcc2
11217 builtin and then its argument prototype would still apply. */
11218char XpCreateContext (); 11716char XpCreateContext ();
11219int 11717int
11220main () 11718main ()
11221{ 11719{
11222XpCreateContext (); 11720return XpCreateContext ();
11223 ; 11721 ;
11224 return 0; 11722 return 0;
11225} 11723}
11226_ACEOF 11724_ACEOF
11227rm -f conftest.$ac_objext conftest$ac_exeext 11725rm -f conftest.$ac_objext conftest$ac_exeext
11228if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11726if { (ac_try="$ac_link"
11229 (eval $ac_link) 2>conftest.er1 11727case "(($ac_try" in
11728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11729 *) ac_try_echo=$ac_try;;
11730esac
11731eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11732 (eval "$ac_link") 2>conftest.er1
11230 ac_status=$? 11733 ac_status=$?
11231 grep -v '^ *+' conftest.er1 >conftest.err 11734 grep -v '^ *+' conftest.er1 >conftest.err
11232 rm -f conftest.er1 11735 rm -f conftest.er1
11233 cat conftest.err >&5 11736 cat conftest.err >&5
11234 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11235 (exit $ac_status); } && 11738 (exit $ac_status); } && {
11236 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 11739 test -z "$ac_c_werror_flag" ||
11237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11740 test ! -s conftest.err
11238 (eval $ac_try) 2>&5 11741 } && test -s conftest$ac_exeext &&
11239 ac_status=$? 11742 $as_test_x conftest$ac_exeext; then
11240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11241 (exit $ac_status); }; } &&
11242 { ac_try='test -s conftest$ac_exeext'
11243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11244 (eval $ac_try) 2>&5
11245 ac_status=$?
11246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11247 (exit $ac_status); }; }; then
11248 ac_cv_lib_Xp_XpCreateContext=yes 11743 ac_cv_lib_Xp_XpCreateContext=yes
11249else 11744else
11250 echo "$as_me: failed program was:" >&5 11745 echo "$as_me: failed program was:" >&5
11251sed 's/^/| /' conftest.$ac_ext >&5 11746sed 's/^/| /' conftest.$ac_ext >&5
11252 11747
11253ac_cv_lib_Xp_XpCreateContext=no 11748 ac_cv_lib_Xp_XpCreateContext=no
11254fi 11749fi
11255rm -f conftest.err conftest.$ac_objext \ 11750
11751rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11256 conftest$ac_exeext conftest.$ac_ext 11752 conftest$ac_exeext conftest.$ac_ext
11257LIBS=$ac_check_lib_save_LIBS 11753LIBS=$ac_check_lib_save_LIBS
11258fi 11754fi
11259echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpCreateContext" >&5 11755{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpCreateContext" >&5
11260echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6 11756echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6; }
11261if test $ac_cv_lib_Xp_XpCreateContext = yes; then 11757if test $ac_cv_lib_Xp_XpCreateContext = yes; then
11262 HAVE_LIBXP=yes 11758 HAVE_LIBXP=yes
11263fi 11759fi
@@ -11270,8 +11766,8 @@ _ACEOF
11270 11766
11271 fi 11767 fi
11272 else 11768 else
11273 echo "$as_me:$LINENO: checking for LessTif where some systems put it" >&5 11769 { echo "$as_me:$LINENO: checking for LessTif where some systems put it" >&5
11274echo $ECHO_N "checking for LessTif where some systems put it... $ECHO_C" >&6 11770echo $ECHO_N "checking for LessTif where some systems put it... $ECHO_C" >&6; }
11275if test "${emacs_cv_lesstif+set}" = set; then 11771if test "${emacs_cv_lesstif+set}" = set; then
11276 echo $ECHO_N "(cached) $ECHO_C" >&6 11772 echo $ECHO_N "(cached) $ECHO_C" >&6
11277else 11773else
@@ -11298,37 +11794,34 @@ int x = 5;
11298} 11794}
11299_ACEOF 11795_ACEOF
11300rm -f conftest.$ac_objext 11796rm -f conftest.$ac_objext
11301if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 11797if { (ac_try="$ac_compile"
11302 (eval $ac_compile) 2>conftest.er1 11798case "(($ac_try" in
11799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11800 *) ac_try_echo=$ac_try;;
11801esac
11802eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11803 (eval "$ac_compile") 2>conftest.er1
11303 ac_status=$? 11804 ac_status=$?
11304 grep -v '^ *+' conftest.er1 >conftest.err 11805 grep -v '^ *+' conftest.er1 >conftest.err
11305 rm -f conftest.er1 11806 rm -f conftest.er1
11306 cat conftest.err >&5 11807 cat conftest.err >&5
11307 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11308 (exit $ac_status); } && 11809 (exit $ac_status); } && {
11309 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 11810 test -z "$ac_c_werror_flag" ||
11310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11811 test ! -s conftest.err
11311 (eval $ac_try) 2>&5 11812 } && test -s conftest.$ac_objext; then
11312 ac_status=$?
11313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11314 (exit $ac_status); }; } &&
11315 { ac_try='test -s conftest.$ac_objext'
11316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11317 (eval $ac_try) 2>&5
11318 ac_status=$?
11319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11320 (exit $ac_status); }; }; then
11321 emacs_cv_lesstif=yes 11813 emacs_cv_lesstif=yes
11322else 11814else
11323 echo "$as_me: failed program was:" >&5 11815 echo "$as_me: failed program was:" >&5
11324sed 's/^/| /' conftest.$ac_ext >&5 11816sed 's/^/| /' conftest.$ac_ext >&5
11325 11817
11326emacs_cv_lesstif=no 11818 emacs_cv_lesstif=no
11327fi 11819fi
11328rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 11820
11821rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11329fi 11822fi
11330echo "$as_me:$LINENO: result: $emacs_cv_lesstif" >&5 11823{ echo "$as_me:$LINENO: result: $emacs_cv_lesstif" >&5
11331echo "${ECHO_T}$emacs_cv_lesstif" >&6 11824echo "${ECHO_T}$emacs_cv_lesstif" >&6; }
11332 if test $emacs_cv_lesstif = yes; then 11825 if test $emacs_cv_lesstif = yes; then
11333 # Make sure this -I option remains in CPPFLAGS after it is set 11826 # Make sure this -I option remains in CPPFLAGS after it is set
11334 # back to REAL_CPPFLAGS. 11827 # back to REAL_CPPFLAGS.
@@ -11348,8 +11841,8 @@ fi
11348HAVE_XAW3D=no 11841HAVE_XAW3D=no
11349if test "${HAVE_X11}" = "yes"; then 11842if test "${HAVE_X11}" = "yes"; then
11350 if test "${USE_X_TOOLKIT}" != "none" && test "${with_toolkit_scroll_bars}" != "no"; then 11843 if test "${USE_X_TOOLKIT}" != "none" && test "${with_toolkit_scroll_bars}" != "no"; then
11351 echo "$as_me:$LINENO: checking for X11/Xaw3d/Scrollbar.h" >&5 11844 { echo "$as_me:$LINENO: checking for X11/Xaw3d/Scrollbar.h" >&5
11352echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6 11845echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6; }
11353if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then 11846if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then
11354 echo $ECHO_N "(cached) $ECHO_C" >&6 11847 echo $ECHO_N "(cached) $ECHO_C" >&6
11355else 11848else
@@ -11361,24 +11854,22 @@ cat >>conftest.$ac_ext <<_ACEOF
11361/* end confdefs.h. */ 11854/* end confdefs.h. */
11362#include <X11/Xaw3d/Scrollbar.h> 11855#include <X11/Xaw3d/Scrollbar.h>
11363_ACEOF 11856_ACEOF
11364if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 11857if { (ac_try="$ac_cpp conftest.$ac_ext"
11365 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11858case "(($ac_try" in
11859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11860 *) ac_try_echo=$ac_try;;
11861esac
11862eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11863 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11366 ac_status=$? 11864 ac_status=$?
11367 grep -v '^ *+' conftest.er1 >conftest.err 11865 grep -v '^ *+' conftest.er1 >conftest.err
11368 rm -f conftest.er1 11866 rm -f conftest.er1
11369 cat conftest.err >&5 11867 cat conftest.err >&5
11370 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11371 (exit $ac_status); } >/dev/null; then 11869 (exit $ac_status); } >/dev/null && {
11372 if test -s conftest.err; then 11870 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11373 ac_cpp_err=$ac_c_preproc_warn_flag 11871 test ! -s conftest.err
11374 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 11872 }; then
11375 else
11376 ac_cpp_err=
11377 fi
11378else
11379 ac_cpp_err=yes
11380fi
11381if test -z "$ac_cpp_err"; then
11382 ac_cv_header_X11_Xaw3d_Scrollbar_h=yes 11873 ac_cv_header_X11_Xaw3d_Scrollbar_h=yes
11383else 11874else
11384 echo "$as_me: failed program was:" >&5 11875 echo "$as_me: failed program was:" >&5
@@ -11386,13 +11877,14 @@ sed 's/^/| /' conftest.$ac_ext >&5
11386 11877
11387 ac_cv_header_X11_Xaw3d_Scrollbar_h=no 11878 ac_cv_header_X11_Xaw3d_Scrollbar_h=no
11388fi 11879fi
11880
11389rm -f conftest.err conftest.$ac_ext 11881rm -f conftest.err conftest.$ac_ext
11390fi 11882fi
11391echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5 11883{ echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5
11392echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6 11884echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6; }
11393if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then 11885if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then
11394 echo "$as_me:$LINENO: checking for XawScrollbarSetThumb in -lXaw3d" >&5 11886 { echo "$as_me:$LINENO: checking for XawScrollbarSetThumb in -lXaw3d" >&5
11395echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6 11887echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6; }
11396if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then 11888if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then
11397 echo $ECHO_N "(cached) $ECHO_C" >&6 11889 echo $ECHO_N "(cached) $ECHO_C" >&6
11398else 11890else
@@ -11405,55 +11897,53 @@ cat confdefs.h >>conftest.$ac_ext
11405cat >>conftest.$ac_ext <<_ACEOF 11897cat >>conftest.$ac_ext <<_ACEOF
11406/* end confdefs.h. */ 11898/* end confdefs.h. */
11407 11899
11408/* Override any gcc2 internal prototype to avoid an error. */ 11900/* Override any GCC internal prototype to avoid an error.
11901 Use char because int might match the return type of a GCC
11902 builtin and then its argument prototype would still apply. */
11409#ifdef __cplusplus 11903#ifdef __cplusplus
11410extern "C" 11904extern "C"
11411#endif 11905#endif
11412/* We use char because int might match the return type of a gcc2
11413 builtin and then its argument prototype would still apply. */
11414char XawScrollbarSetThumb (); 11906char XawScrollbarSetThumb ();
11415int 11907int
11416main () 11908main ()
11417{ 11909{
11418XawScrollbarSetThumb (); 11910return XawScrollbarSetThumb ();
11419 ; 11911 ;
11420 return 0; 11912 return 0;
11421} 11913}
11422_ACEOF 11914_ACEOF
11423rm -f conftest.$ac_objext conftest$ac_exeext 11915rm -f conftest.$ac_objext conftest$ac_exeext
11424if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11916if { (ac_try="$ac_link"
11425 (eval $ac_link) 2>conftest.er1 11917case "(($ac_try" in
11918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11919 *) ac_try_echo=$ac_try;;
11920esac
11921eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11922 (eval "$ac_link") 2>conftest.er1
11426 ac_status=$? 11923 ac_status=$?
11427 grep -v '^ *+' conftest.er1 >conftest.err 11924 grep -v '^ *+' conftest.er1 >conftest.err
11428 rm -f conftest.er1 11925 rm -f conftest.er1
11429 cat conftest.err >&5 11926 cat conftest.err >&5
11430 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11431 (exit $ac_status); } && 11928 (exit $ac_status); } && {
11432 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 11929 test -z "$ac_c_werror_flag" ||
11433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11930 test ! -s conftest.err
11434 (eval $ac_try) 2>&5 11931 } && test -s conftest$ac_exeext &&
11435 ac_status=$? 11932 $as_test_x conftest$ac_exeext; then
11436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11437 (exit $ac_status); }; } &&
11438 { ac_try='test -s conftest$ac_exeext'
11439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11440 (eval $ac_try) 2>&5
11441 ac_status=$?
11442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11443 (exit $ac_status); }; }; then
11444 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes 11933 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes
11445else 11934else
11446 echo "$as_me: failed program was:" >&5 11935 echo "$as_me: failed program was:" >&5
11447sed 's/^/| /' conftest.$ac_ext >&5 11936sed 's/^/| /' conftest.$ac_ext >&5
11448 11937
11449ac_cv_lib_Xaw3d_XawScrollbarSetThumb=no 11938 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=no
11450fi 11939fi
11451rm -f conftest.err conftest.$ac_objext \ 11940
11941rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11452 conftest$ac_exeext conftest.$ac_ext 11942 conftest$ac_exeext conftest.$ac_ext
11453LIBS=$ac_check_lib_save_LIBS 11943LIBS=$ac_check_lib_save_LIBS
11454fi 11944fi
11455echo "$as_me:$LINENO: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5 11945{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5
11456echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6 11946echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6; }
11457if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then 11947if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then
11458 HAVE_XAW3D=yes 11948 HAVE_XAW3D=yes
11459fi 11949fi
@@ -11523,26 +12013,22 @@ XIMProc callback;
11523} 12013}
11524_ACEOF 12014_ACEOF
11525rm -f conftest.$ac_objext 12015rm -f conftest.$ac_objext
11526if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 12016if { (ac_try="$ac_compile"
11527 (eval $ac_compile) 2>conftest.er1 12017case "(($ac_try" in
12018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12019 *) ac_try_echo=$ac_try;;
12020esac
12021eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12022 (eval "$ac_compile") 2>conftest.er1
11528 ac_status=$? 12023 ac_status=$?
11529 grep -v '^ *+' conftest.er1 >conftest.err 12024 grep -v '^ *+' conftest.er1 >conftest.err
11530 rm -f conftest.er1 12025 rm -f conftest.er1
11531 cat conftest.err >&5 12026 cat conftest.err >&5
11532 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11533 (exit $ac_status); } && 12028 (exit $ac_status); } && {
11534 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 12029 test -z "$ac_c_werror_flag" ||
11535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12030 test ! -s conftest.err
11536 (eval $ac_try) 2>&5 12031 } && test -s conftest.$ac_objext; then
11537 ac_status=$?
11538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11539 (exit $ac_status); }; } &&
11540 { ac_try='test -s conftest.$ac_objext'
11541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11542 (eval $ac_try) 2>&5
11543 ac_status=$?
11544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11545 (exit $ac_status); }; }; then
11546 HAVE_XIM=yes 12032 HAVE_XIM=yes
11547 12033
11548cat >>confdefs.h <<\_ACEOF 12034cat >>confdefs.h <<\_ACEOF
@@ -11553,9 +12039,10 @@ else
11553 echo "$as_me: failed program was:" >&5 12039 echo "$as_me: failed program was:" >&5
11554sed 's/^/| /' conftest.$ac_ext >&5 12040sed 's/^/| /' conftest.$ac_ext >&5
11555 12041
11556HAVE_XIM=no 12042 HAVE_XIM=no
11557fi 12043fi
11558rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 12044
12045rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11559 12046
11560 12047
11561if test "${with_xim}" != "no"; then 12048if test "${with_xim}" != "no"; then
@@ -11603,33 +12090,31 @@ extern Bool XRegisterIMInstantiateCallback(Display*, XrmDatabase, char*,
11603} 12090}
11604_ACEOF 12091_ACEOF
11605rm -f conftest.$ac_objext 12092rm -f conftest.$ac_objext
11606if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 12093if { (ac_try="$ac_compile"
11607 (eval $ac_compile) 2>conftest.er1 12094case "(($ac_try" in
12095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12096 *) ac_try_echo=$ac_try;;
12097esac
12098eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12099 (eval "$ac_compile") 2>conftest.er1
11608 ac_status=$? 12100 ac_status=$?
11609 grep -v '^ *+' conftest.er1 >conftest.err 12101 grep -v '^ *+' conftest.er1 >conftest.err
11610 rm -f conftest.er1 12102 rm -f conftest.er1
11611 cat conftest.err >&5 12103 cat conftest.err >&5
11612 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11613 (exit $ac_status); } && 12105 (exit $ac_status); } && {
11614 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 12106 test -z "$ac_c_werror_flag" ||
11615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12107 test ! -s conftest.err
11616 (eval $ac_try) 2>&5 12108 } && test -s conftest.$ac_objext; then
11617 ac_status=$?
11618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11619 (exit $ac_status); }; } &&
11620 { ac_try='test -s conftest.$ac_objext'
11621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11622 (eval $ac_try) 2>&5
11623 ac_status=$?
11624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11625 (exit $ac_status); }; }; then
11626 emacs_cv_arg6_star=yes 12109 emacs_cv_arg6_star=yes
11627else 12110else
11628 echo "$as_me: failed program was:" >&5 12111 echo "$as_me: failed program was:" >&5
11629sed 's/^/| /' conftest.$ac_ext >&5 12112sed 's/^/| /' conftest.$ac_ext >&5
11630 12113
12114
11631fi 12115fi
11632rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 12116
12117rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11633 12118
11634 if test "$emacs_cv_arg6_star" = yes; then 12119 if test "$emacs_cv_arg6_star" = yes; then
11635 cat >>confdefs.h <<\_ACEOF 12120 cat >>confdefs.h <<\_ACEOF
@@ -11650,17 +12135,17 @@ HAVE_XPM=no
11650if test "${HAVE_X11}" = "yes"; then 12135if test "${HAVE_X11}" = "yes"; then
11651 if test "${with_xpm}" != "no"; then 12136 if test "${with_xpm}" != "no"; then
11652 if test "${ac_cv_header_X11_xpm_h+set}" = set; then 12137 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
11653 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5 12138 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
11654echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6 12139echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
11655if test "${ac_cv_header_X11_xpm_h+set}" = set; then 12140if test "${ac_cv_header_X11_xpm_h+set}" = set; then
11656 echo $ECHO_N "(cached) $ECHO_C" >&6 12141 echo $ECHO_N "(cached) $ECHO_C" >&6
11657fi 12142fi
11658echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5 12143{ echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5
11659echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6 12144echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6; }
11660else 12145else
11661 # Is the header compilable? 12146 # Is the header compilable?
11662echo "$as_me:$LINENO: checking X11/xpm.h usability" >&5 12147{ echo "$as_me:$LINENO: checking X11/xpm.h usability" >&5
11663echo $ECHO_N "checking X11/xpm.h usability... $ECHO_C" >&6 12148echo $ECHO_N "checking X11/xpm.h usability... $ECHO_C" >&6; }
11664cat >conftest.$ac_ext <<_ACEOF 12149cat >conftest.$ac_ext <<_ACEOF
11665/* confdefs.h. */ 12150/* confdefs.h. */
11666_ACEOF 12151_ACEOF
@@ -11671,40 +12156,37 @@ $ac_includes_default
11671#include <X11/xpm.h> 12156#include <X11/xpm.h>
11672_ACEOF 12157_ACEOF
11673rm -f conftest.$ac_objext 12158rm -f conftest.$ac_objext
11674if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 12159if { (ac_try="$ac_compile"
11675 (eval $ac_compile) 2>conftest.er1 12160case "(($ac_try" in
12161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12162 *) ac_try_echo=$ac_try;;
12163esac
12164eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12165 (eval "$ac_compile") 2>conftest.er1
11676 ac_status=$? 12166 ac_status=$?
11677 grep -v '^ *+' conftest.er1 >conftest.err 12167 grep -v '^ *+' conftest.er1 >conftest.err
11678 rm -f conftest.er1 12168 rm -f conftest.er1
11679 cat conftest.err >&5 12169 cat conftest.err >&5
11680 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11681 (exit $ac_status); } && 12171 (exit $ac_status); } && {
11682 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 12172 test -z "$ac_c_werror_flag" ||
11683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12173 test ! -s conftest.err
11684 (eval $ac_try) 2>&5 12174 } && test -s conftest.$ac_objext; then
11685 ac_status=$?
11686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11687 (exit $ac_status); }; } &&
11688 { ac_try='test -s conftest.$ac_objext'
11689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11690 (eval $ac_try) 2>&5
11691 ac_status=$?
11692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11693 (exit $ac_status); }; }; then
11694 ac_header_compiler=yes 12175 ac_header_compiler=yes
11695else 12176else
11696 echo "$as_me: failed program was:" >&5 12177 echo "$as_me: failed program was:" >&5
11697sed 's/^/| /' conftest.$ac_ext >&5 12178sed 's/^/| /' conftest.$ac_ext >&5
11698 12179
11699ac_header_compiler=no 12180 ac_header_compiler=no
11700fi 12181fi
11701rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 12182
11702echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 12183rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11703echo "${ECHO_T}$ac_header_compiler" >&6 12184{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12185echo "${ECHO_T}$ac_header_compiler" >&6; }
11704 12186
11705# Is the header present? 12187# Is the header present?
11706echo "$as_me:$LINENO: checking X11/xpm.h presence" >&5 12188{ echo "$as_me:$LINENO: checking X11/xpm.h presence" >&5
11707echo $ECHO_N "checking X11/xpm.h presence... $ECHO_C" >&6 12189echo $ECHO_N "checking X11/xpm.h presence... $ECHO_C" >&6; }
11708cat >conftest.$ac_ext <<_ACEOF 12190cat >conftest.$ac_ext <<_ACEOF
11709/* confdefs.h. */ 12191/* confdefs.h. */
11710_ACEOF 12192_ACEOF
@@ -11713,24 +12195,22 @@ cat >>conftest.$ac_ext <<_ACEOF
11713/* end confdefs.h. */ 12195/* end confdefs.h. */
11714#include <X11/xpm.h> 12196#include <X11/xpm.h>
11715_ACEOF 12197_ACEOF
11716if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 12198if { (ac_try="$ac_cpp conftest.$ac_ext"
11717 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 12199case "(($ac_try" in
12200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12201 *) ac_try_echo=$ac_try;;
12202esac
12203eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12204 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11718 ac_status=$? 12205 ac_status=$?
11719 grep -v '^ *+' conftest.er1 >conftest.err 12206 grep -v '^ *+' conftest.er1 >conftest.err
11720 rm -f conftest.er1 12207 rm -f conftest.er1
11721 cat conftest.err >&5 12208 cat conftest.err >&5
11722 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11723 (exit $ac_status); } >/dev/null; then 12210 (exit $ac_status); } >/dev/null && {
11724 if test -s conftest.err; then 12211 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11725 ac_cpp_err=$ac_c_preproc_warn_flag 12212 test ! -s conftest.err
11726 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 12213 }; then
11727 else
11728 ac_cpp_err=
11729 fi
11730else
11731 ac_cpp_err=yes
11732fi
11733if test -z "$ac_cpp_err"; then
11734 ac_header_preproc=yes 12214 ac_header_preproc=yes
11735else 12215else
11736 echo "$as_me: failed program was:" >&5 12216 echo "$as_me: failed program was:" >&5
@@ -11738,9 +12218,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
11738 12218
11739 ac_header_preproc=no 12219 ac_header_preproc=no
11740fi 12220fi
12221
11741rm -f conftest.err conftest.$ac_ext 12222rm -f conftest.err conftest.$ac_ext
11742echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 12223{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11743echo "${ECHO_T}$ac_header_preproc" >&6 12224echo "${ECHO_T}$ac_header_preproc" >&6; }
11744 12225
11745# So? What about this header? 12226# So? What about this header?
11746case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 12227case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
@@ -11764,30 +12245,23 @@ echo "$as_me: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"
11764echo "$as_me: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&2;} 12245echo "$as_me: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&2;}
11765 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&5 12246 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&5
11766echo "$as_me: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&2;} 12247echo "$as_me: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&2;}
11767 ( 12248
11768 cat <<\_ASBOX
11769## ------------------------------------------ ##
11770## Report this to the AC_PACKAGE_NAME lists. ##
11771## ------------------------------------------ ##
11772_ASBOX
11773 ) |
11774 sed "s/^/$as_me: WARNING: /" >&2
11775 ;; 12249 ;;
11776esac 12250esac
11777echo "$as_me:$LINENO: checking for X11/xpm.h" >&5 12251{ echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
11778echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6 12252echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
11779if test "${ac_cv_header_X11_xpm_h+set}" = set; then 12253if test "${ac_cv_header_X11_xpm_h+set}" = set; then
11780 echo $ECHO_N "(cached) $ECHO_C" >&6 12254 echo $ECHO_N "(cached) $ECHO_C" >&6
11781else 12255else
11782 ac_cv_header_X11_xpm_h=$ac_header_preproc 12256 ac_cv_header_X11_xpm_h=$ac_header_preproc
11783fi 12257fi
11784echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5 12258{ echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5
11785echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6 12259echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6; }
11786 12260
11787fi 12261fi
11788if test $ac_cv_header_X11_xpm_h = yes; then 12262if test $ac_cv_header_X11_xpm_h = yes; then
11789 echo "$as_me:$LINENO: checking for XpmReadFileToPixmap in -lXpm" >&5 12263 { echo "$as_me:$LINENO: checking for XpmReadFileToPixmap in -lXpm" >&5
11790echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6 12264echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6; }
11791if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then 12265if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then
11792 echo $ECHO_N "(cached) $ECHO_C" >&6 12266 echo $ECHO_N "(cached) $ECHO_C" >&6
11793else 12267else
@@ -11800,55 +12274,53 @@ cat confdefs.h >>conftest.$ac_ext
11800cat >>conftest.$ac_ext <<_ACEOF 12274cat >>conftest.$ac_ext <<_ACEOF
11801/* end confdefs.h. */ 12275/* end confdefs.h. */
11802 12276
11803/* Override any gcc2 internal prototype to avoid an error. */ 12277/* Override any GCC internal prototype to avoid an error.
12278 Use char because int might match the return type of a GCC
12279 builtin and then its argument prototype would still apply. */
11804#ifdef __cplusplus 12280#ifdef __cplusplus
11805extern "C" 12281extern "C"
11806#endif 12282#endif
11807/* We use char because int might match the return type of a gcc2
11808 builtin and then its argument prototype would still apply. */
11809char XpmReadFileToPixmap (); 12283char XpmReadFileToPixmap ();
11810int 12284int
11811main () 12285main ()
11812{ 12286{
11813XpmReadFileToPixmap (); 12287return XpmReadFileToPixmap ();
11814 ; 12288 ;
11815 return 0; 12289 return 0;
11816} 12290}
11817_ACEOF 12291_ACEOF
11818rm -f conftest.$ac_objext conftest$ac_exeext 12292rm -f conftest.$ac_objext conftest$ac_exeext
11819if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 12293if { (ac_try="$ac_link"
11820 (eval $ac_link) 2>conftest.er1 12294case "(($ac_try" in
12295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12296 *) ac_try_echo=$ac_try;;
12297esac
12298eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12299 (eval "$ac_link") 2>conftest.er1
11821 ac_status=$? 12300 ac_status=$?
11822 grep -v '^ *+' conftest.er1 >conftest.err 12301 grep -v '^ *+' conftest.er1 >conftest.err
11823 rm -f conftest.er1 12302 rm -f conftest.er1
11824 cat conftest.err >&5 12303 cat conftest.err >&5
11825 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11826 (exit $ac_status); } && 12305 (exit $ac_status); } && {
11827 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 12306 test -z "$ac_c_werror_flag" ||
11828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12307 test ! -s conftest.err
11829 (eval $ac_try) 2>&5 12308 } && test -s conftest$ac_exeext &&
11830 ac_status=$? 12309 $as_test_x conftest$ac_exeext; then
11831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11832 (exit $ac_status); }; } &&
11833 { ac_try='test -s conftest$ac_exeext'
11834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11835 (eval $ac_try) 2>&5
11836 ac_status=$?
11837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11838 (exit $ac_status); }; }; then
11839 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes 12310 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes
11840else 12311else
11841 echo "$as_me: failed program was:" >&5 12312 echo "$as_me: failed program was:" >&5
11842sed 's/^/| /' conftest.$ac_ext >&5 12313sed 's/^/| /' conftest.$ac_ext >&5
11843 12314
11844ac_cv_lib_Xpm_XpmReadFileToPixmap=no 12315 ac_cv_lib_Xpm_XpmReadFileToPixmap=no
11845fi 12316fi
11846rm -f conftest.err conftest.$ac_objext \ 12317
12318rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11847 conftest$ac_exeext conftest.$ac_ext 12319 conftest$ac_exeext conftest.$ac_ext
11848LIBS=$ac_check_lib_save_LIBS 12320LIBS=$ac_check_lib_save_LIBS
11849fi 12321fi
11850echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 12322{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
11851echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6 12323echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; }
11852if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then 12324if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then
11853 HAVE_XPM=yes 12325 HAVE_XPM=yes
11854fi 12326fi
@@ -11857,8 +12329,8 @@ fi
11857 12329
11858 12330
11859 if test "${HAVE_XPM}" = "yes"; then 12331 if test "${HAVE_XPM}" = "yes"; then
11860 echo "$as_me:$LINENO: checking for XpmReturnAllocPixels preprocessor define" >&5 12332 { echo "$as_me:$LINENO: checking for XpmReturnAllocPixels preprocessor define" >&5
11861echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6 12333echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6; }
11862 cat >conftest.$ac_ext <<_ACEOF 12334 cat >conftest.$ac_ext <<_ACEOF
11863/* confdefs.h. */ 12335/* confdefs.h. */
11864_ACEOF 12336_ACEOF
@@ -11881,11 +12353,11 @@ rm -f conftest*
11881 12353
11882 12354
11883 if test "${HAVE_XPM}" = "yes"; then 12355 if test "${HAVE_XPM}" = "yes"; then
11884 echo "$as_me:$LINENO: result: yes" >&5 12356 { echo "$as_me:$LINENO: result: yes" >&5
11885echo "${ECHO_T}yes" >&6 12357echo "${ECHO_T}yes" >&6; }
11886 else 12358 else
11887 echo "$as_me:$LINENO: result: no" >&5 12359 { echo "$as_me:$LINENO: result: no" >&5
11888echo "${ECHO_T}no" >&6 12360echo "${ECHO_T}no" >&6; }
11889 fi 12361 fi
11890 fi 12362 fi
11891 fi 12363 fi
@@ -11904,17 +12376,17 @@ HAVE_JPEG=no
11904if test "${HAVE_X11}" = "yes"; then 12376if test "${HAVE_X11}" = "yes"; then
11905 if test "${with_jpeg}" != "no"; then 12377 if test "${with_jpeg}" != "no"; then
11906 if test "${ac_cv_header_jerror_h+set}" = set; then 12378 if test "${ac_cv_header_jerror_h+set}" = set; then
11907 echo "$as_me:$LINENO: checking for jerror.h" >&5 12379 { echo "$as_me:$LINENO: checking for jerror.h" >&5
11908echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6 12380echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6; }
11909if test "${ac_cv_header_jerror_h+set}" = set; then 12381if test "${ac_cv_header_jerror_h+set}" = set; then
11910 echo $ECHO_N "(cached) $ECHO_C" >&6 12382 echo $ECHO_N "(cached) $ECHO_C" >&6
11911fi 12383fi
11912echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5 12384{ echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5
11913echo "${ECHO_T}$ac_cv_header_jerror_h" >&6 12385echo "${ECHO_T}$ac_cv_header_jerror_h" >&6; }
11914else 12386else
11915 # Is the header compilable? 12387 # Is the header compilable?
11916echo "$as_me:$LINENO: checking jerror.h usability" >&5 12388{ echo "$as_me:$LINENO: checking jerror.h usability" >&5
11917echo $ECHO_N "checking jerror.h usability... $ECHO_C" >&6 12389echo $ECHO_N "checking jerror.h usability... $ECHO_C" >&6; }
11918cat >conftest.$ac_ext <<_ACEOF 12390cat >conftest.$ac_ext <<_ACEOF
11919/* confdefs.h. */ 12391/* confdefs.h. */
11920_ACEOF 12392_ACEOF
@@ -11925,40 +12397,37 @@ $ac_includes_default
11925#include <jerror.h> 12397#include <jerror.h>
11926_ACEOF 12398_ACEOF
11927rm -f conftest.$ac_objext 12399rm -f conftest.$ac_objext
11928if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 12400if { (ac_try="$ac_compile"
11929 (eval $ac_compile) 2>conftest.er1 12401case "(($ac_try" in
12402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12403 *) ac_try_echo=$ac_try;;
12404esac
12405eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12406 (eval "$ac_compile") 2>conftest.er1
11930 ac_status=$? 12407 ac_status=$?
11931 grep -v '^ *+' conftest.er1 >conftest.err 12408 grep -v '^ *+' conftest.er1 >conftest.err
11932 rm -f conftest.er1 12409 rm -f conftest.er1
11933 cat conftest.err >&5 12410 cat conftest.err >&5
11934 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11935 (exit $ac_status); } && 12412 (exit $ac_status); } && {
11936 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 12413 test -z "$ac_c_werror_flag" ||
11937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12414 test ! -s conftest.err
11938 (eval $ac_try) 2>&5 12415 } && test -s conftest.$ac_objext; then
11939 ac_status=$?
11940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11941 (exit $ac_status); }; } &&
11942 { ac_try='test -s conftest.$ac_objext'
11943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11944 (eval $ac_try) 2>&5
11945 ac_status=$?
11946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11947 (exit $ac_status); }; }; then
11948 ac_header_compiler=yes 12416 ac_header_compiler=yes
11949else 12417else
11950 echo "$as_me: failed program was:" >&5 12418 echo "$as_me: failed program was:" >&5
11951sed 's/^/| /' conftest.$ac_ext >&5 12419sed 's/^/| /' conftest.$ac_ext >&5
11952 12420
11953ac_header_compiler=no 12421 ac_header_compiler=no
11954fi 12422fi
11955rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 12423
11956echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 12424rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11957echo "${ECHO_T}$ac_header_compiler" >&6 12425{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12426echo "${ECHO_T}$ac_header_compiler" >&6; }
11958 12427
11959# Is the header present? 12428# Is the header present?
11960echo "$as_me:$LINENO: checking jerror.h presence" >&5 12429{ echo "$as_me:$LINENO: checking jerror.h presence" >&5
11961echo $ECHO_N "checking jerror.h presence... $ECHO_C" >&6 12430echo $ECHO_N "checking jerror.h presence... $ECHO_C" >&6; }
11962cat >conftest.$ac_ext <<_ACEOF 12431cat >conftest.$ac_ext <<_ACEOF
11963/* confdefs.h. */ 12432/* confdefs.h. */
11964_ACEOF 12433_ACEOF
@@ -11967,24 +12436,22 @@ cat >>conftest.$ac_ext <<_ACEOF
11967/* end confdefs.h. */ 12436/* end confdefs.h. */
11968#include <jerror.h> 12437#include <jerror.h>
11969_ACEOF 12438_ACEOF
11970if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 12439if { (ac_try="$ac_cpp conftest.$ac_ext"
11971 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 12440case "(($ac_try" in
12441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12442 *) ac_try_echo=$ac_try;;
12443esac
12444eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12445 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11972 ac_status=$? 12446 ac_status=$?
11973 grep -v '^ *+' conftest.er1 >conftest.err 12447 grep -v '^ *+' conftest.er1 >conftest.err
11974 rm -f conftest.er1 12448 rm -f conftest.er1
11975 cat conftest.err >&5 12449 cat conftest.err >&5
11976 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11977 (exit $ac_status); } >/dev/null; then 12451 (exit $ac_status); } >/dev/null && {
11978 if test -s conftest.err; then 12452 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11979 ac_cpp_err=$ac_c_preproc_warn_flag 12453 test ! -s conftest.err
11980 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 12454 }; then
11981 else
11982 ac_cpp_err=
11983 fi
11984else
11985 ac_cpp_err=yes
11986fi
11987if test -z "$ac_cpp_err"; then
11988 ac_header_preproc=yes 12455 ac_header_preproc=yes
11989else 12456else
11990 echo "$as_me: failed program was:" >&5 12457 echo "$as_me: failed program was:" >&5
@@ -11992,9 +12459,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
11992 12459
11993 ac_header_preproc=no 12460 ac_header_preproc=no
11994fi 12461fi
12462
11995rm -f conftest.err conftest.$ac_ext 12463rm -f conftest.err conftest.$ac_ext
11996echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 12464{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11997echo "${ECHO_T}$ac_header_preproc" >&6 12465echo "${ECHO_T}$ac_header_preproc" >&6; }
11998 12466
11999# So? What about this header? 12467# So? What about this header?
12000case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 12468case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
@@ -12018,30 +12486,23 @@ echo "$as_me: WARNING: jerror.h: section \"Present But Cannot Be Compiled\""
12018echo "$as_me: WARNING: jerror.h: proceeding with the preprocessor's result" >&2;} 12486echo "$as_me: WARNING: jerror.h: proceeding with the preprocessor's result" >&2;}
12019 { echo "$as_me:$LINENO: WARNING: jerror.h: in the future, the compiler will take precedence" >&5 12487 { echo "$as_me:$LINENO: WARNING: jerror.h: in the future, the compiler will take precedence" >&5
12020echo "$as_me: WARNING: jerror.h: in the future, the compiler will take precedence" >&2;} 12488echo "$as_me: WARNING: jerror.h: in the future, the compiler will take precedence" >&2;}
12021 ( 12489
12022 cat <<\_ASBOX
12023## ------------------------------------------ ##
12024## Report this to the AC_PACKAGE_NAME lists. ##
12025## ------------------------------------------ ##
12026_ASBOX
12027 ) |
12028 sed "s/^/$as_me: WARNING: /" >&2
12029 ;; 12490 ;;
12030esac 12491esac
12031echo "$as_me:$LINENO: checking for jerror.h" >&5 12492{ echo "$as_me:$LINENO: checking for jerror.h" >&5
12032echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6 12493echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6; }
12033if test "${ac_cv_header_jerror_h+set}" = set; then 12494if test "${ac_cv_header_jerror_h+set}" = set; then
12034 echo $ECHO_N "(cached) $ECHO_C" >&6 12495 echo $ECHO_N "(cached) $ECHO_C" >&6
12035else 12496else
12036 ac_cv_header_jerror_h=$ac_header_preproc 12497 ac_cv_header_jerror_h=$ac_header_preproc
12037fi 12498fi
12038echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5 12499{ echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5
12039echo "${ECHO_T}$ac_cv_header_jerror_h" >&6 12500echo "${ECHO_T}$ac_cv_header_jerror_h" >&6; }
12040 12501
12041fi 12502fi
12042if test $ac_cv_header_jerror_h = yes; then 12503if test $ac_cv_header_jerror_h = yes; then
12043 echo "$as_me:$LINENO: checking for jpeg_destroy_compress in -ljpeg" >&5 12504 { echo "$as_me:$LINENO: checking for jpeg_destroy_compress in -ljpeg" >&5
12044echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6 12505echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6; }
12045if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then 12506if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then
12046 echo $ECHO_N "(cached) $ECHO_C" >&6 12507 echo $ECHO_N "(cached) $ECHO_C" >&6
12047else 12508else
@@ -12054,55 +12515,53 @@ cat confdefs.h >>conftest.$ac_ext
12054cat >>conftest.$ac_ext <<_ACEOF 12515cat >>conftest.$ac_ext <<_ACEOF
12055/* end confdefs.h. */ 12516/* end confdefs.h. */
12056 12517
12057/* Override any gcc2 internal prototype to avoid an error. */ 12518/* Override any GCC internal prototype to avoid an error.
12519 Use char because int might match the return type of a GCC
12520 builtin and then its argument prototype would still apply. */
12058#ifdef __cplusplus 12521#ifdef __cplusplus
12059extern "C" 12522extern "C"
12060#endif 12523#endif
12061/* We use char because int might match the return type of a gcc2
12062 builtin and then its argument prototype would still apply. */
12063char jpeg_destroy_compress (); 12524char jpeg_destroy_compress ();
12064int 12525int
12065main () 12526main ()
12066{ 12527{
12067jpeg_destroy_compress (); 12528return jpeg_destroy_compress ();
12068 ; 12529 ;
12069 return 0; 12530 return 0;
12070} 12531}
12071_ACEOF 12532_ACEOF
12072rm -f conftest.$ac_objext conftest$ac_exeext 12533rm -f conftest.$ac_objext conftest$ac_exeext
12073if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 12534if { (ac_try="$ac_link"
12074 (eval $ac_link) 2>conftest.er1 12535case "(($ac_try" in
12536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12537 *) ac_try_echo=$ac_try;;
12538esac
12539eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12540 (eval "$ac_link") 2>conftest.er1
12075 ac_status=$? 12541 ac_status=$?
12076 grep -v '^ *+' conftest.er1 >conftest.err 12542 grep -v '^ *+' conftest.er1 >conftest.err
12077 rm -f conftest.er1 12543 rm -f conftest.er1
12078 cat conftest.err >&5 12544 cat conftest.err >&5
12079 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12080 (exit $ac_status); } && 12546 (exit $ac_status); } && {
12081 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 12547 test -z "$ac_c_werror_flag" ||
12082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12548 test ! -s conftest.err
12083 (eval $ac_try) 2>&5 12549 } && test -s conftest$ac_exeext &&
12084 ac_status=$? 12550 $as_test_x conftest$ac_exeext; then
12085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12086 (exit $ac_status); }; } &&
12087 { ac_try='test -s conftest$ac_exeext'
12088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12089 (eval $ac_try) 2>&5
12090 ac_status=$?
12091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12092 (exit $ac_status); }; }; then
12093 ac_cv_lib_jpeg_jpeg_destroy_compress=yes 12551 ac_cv_lib_jpeg_jpeg_destroy_compress=yes
12094else 12552else
12095 echo "$as_me: failed program was:" >&5 12553 echo "$as_me: failed program was:" >&5
12096sed 's/^/| /' conftest.$ac_ext >&5 12554sed 's/^/| /' conftest.$ac_ext >&5
12097 12555
12098ac_cv_lib_jpeg_jpeg_destroy_compress=no 12556 ac_cv_lib_jpeg_jpeg_destroy_compress=no
12099fi 12557fi
12100rm -f conftest.err conftest.$ac_objext \ 12558
12559rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12101 conftest$ac_exeext conftest.$ac_ext 12560 conftest$ac_exeext conftest.$ac_ext
12102LIBS=$ac_check_lib_save_LIBS 12561LIBS=$ac_check_lib_save_LIBS
12103fi 12562fi
12104echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 12563{ echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5
12105echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6 12564echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6; }
12106if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then 12565if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then
12107 HAVE_JPEG=yes 12566 HAVE_JPEG=yes
12108fi 12567fi
@@ -12155,18 +12614,19 @@ if test "${HAVE_X11}" = "yes"; then
12155for ac_header in png.h libpng/png.h 12614for ac_header in png.h libpng/png.h
12156do 12615do
12157as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 12616as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12158if eval "test \"\${$as_ac_Header+set}\" = set"; then 12617if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12159 echo "$as_me:$LINENO: checking for $ac_header" >&5 12618 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12160echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 12619echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12161if eval "test \"\${$as_ac_Header+set}\" = set"; then 12620if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12162 echo $ECHO_N "(cached) $ECHO_C" >&6 12621 echo $ECHO_N "(cached) $ECHO_C" >&6
12163fi 12622fi
12164echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 12623ac_res=`eval echo '${'$as_ac_Header'}'`
12165echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 12624 { echo "$as_me:$LINENO: result: $ac_res" >&5
12625echo "${ECHO_T}$ac_res" >&6; }
12166else 12626else
12167 # Is the header compilable? 12627 # Is the header compilable?
12168echo "$as_me:$LINENO: checking $ac_header usability" >&5 12628{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
12169echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 12629echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12170cat >conftest.$ac_ext <<_ACEOF 12630cat >conftest.$ac_ext <<_ACEOF
12171/* confdefs.h. */ 12631/* confdefs.h. */
12172_ACEOF 12632_ACEOF
@@ -12177,40 +12637,37 @@ $ac_includes_default
12177#include <$ac_header> 12637#include <$ac_header>
12178_ACEOF 12638_ACEOF
12179rm -f conftest.$ac_objext 12639rm -f conftest.$ac_objext
12180if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 12640if { (ac_try="$ac_compile"
12181 (eval $ac_compile) 2>conftest.er1 12641case "(($ac_try" in
12642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12643 *) ac_try_echo=$ac_try;;
12644esac
12645eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12646 (eval "$ac_compile") 2>conftest.er1
12182 ac_status=$? 12647 ac_status=$?
12183 grep -v '^ *+' conftest.er1 >conftest.err 12648 grep -v '^ *+' conftest.er1 >conftest.err
12184 rm -f conftest.er1 12649 rm -f conftest.er1
12185 cat conftest.err >&5 12650 cat conftest.err >&5
12186 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12187 (exit $ac_status); } && 12652 (exit $ac_status); } && {
12188 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 12653 test -z "$ac_c_werror_flag" ||
12189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12654 test ! -s conftest.err
12190 (eval $ac_try) 2>&5 12655 } && test -s conftest.$ac_objext; then
12191 ac_status=$?
12192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12193 (exit $ac_status); }; } &&
12194 { ac_try='test -s conftest.$ac_objext'
12195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12196 (eval $ac_try) 2>&5
12197 ac_status=$?
12198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12199 (exit $ac_status); }; }; then
12200 ac_header_compiler=yes 12656 ac_header_compiler=yes
12201else 12657else
12202 echo "$as_me: failed program was:" >&5 12658 echo "$as_me: failed program was:" >&5
12203sed 's/^/| /' conftest.$ac_ext >&5 12659sed 's/^/| /' conftest.$ac_ext >&5
12204 12660
12205ac_header_compiler=no 12661 ac_header_compiler=no
12206fi 12662fi
12207rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 12663
12208echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 12664rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12209echo "${ECHO_T}$ac_header_compiler" >&6 12665{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12666echo "${ECHO_T}$ac_header_compiler" >&6; }
12210 12667
12211# Is the header present? 12668# Is the header present?
12212echo "$as_me:$LINENO: checking $ac_header presence" >&5 12669{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
12213echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 12670echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12214cat >conftest.$ac_ext <<_ACEOF 12671cat >conftest.$ac_ext <<_ACEOF
12215/* confdefs.h. */ 12672/* confdefs.h. */
12216_ACEOF 12673_ACEOF
@@ -12219,24 +12676,22 @@ cat >>conftest.$ac_ext <<_ACEOF
12219/* end confdefs.h. */ 12676/* end confdefs.h. */
12220#include <$ac_header> 12677#include <$ac_header>
12221_ACEOF 12678_ACEOF
12222if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 12679if { (ac_try="$ac_cpp conftest.$ac_ext"
12223 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 12680case "(($ac_try" in
12681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12682 *) ac_try_echo=$ac_try;;
12683esac
12684eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12685 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12224 ac_status=$? 12686 ac_status=$?
12225 grep -v '^ *+' conftest.er1 >conftest.err 12687 grep -v '^ *+' conftest.er1 >conftest.err
12226 rm -f conftest.er1 12688 rm -f conftest.er1
12227 cat conftest.err >&5 12689 cat conftest.err >&5
12228 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12229 (exit $ac_status); } >/dev/null; then 12691 (exit $ac_status); } >/dev/null && {
12230 if test -s conftest.err; then 12692 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12231 ac_cpp_err=$ac_c_preproc_warn_flag 12693 test ! -s conftest.err
12232 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 12694 }; then
12233 else
12234 ac_cpp_err=
12235 fi
12236else
12237 ac_cpp_err=yes
12238fi
12239if test -z "$ac_cpp_err"; then
12240 ac_header_preproc=yes 12695 ac_header_preproc=yes
12241else 12696else
12242 echo "$as_me: failed program was:" >&5 12697 echo "$as_me: failed program was:" >&5
@@ -12244,9 +12699,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
12244 12699
12245 ac_header_preproc=no 12700 ac_header_preproc=no
12246fi 12701fi
12702
12247rm -f conftest.err conftest.$ac_ext 12703rm -f conftest.err conftest.$ac_ext
12248echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 12704{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12249echo "${ECHO_T}$ac_header_preproc" >&6 12705echo "${ECHO_T}$ac_header_preproc" >&6; }
12250 12706
12251# So? What about this header? 12707# So? What about this header?
12252case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 12708case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
@@ -12270,25 +12726,19 @@ echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\
12270echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 12726echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12271 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 12727 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12272echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 12728echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12273 ( 12729
12274 cat <<\_ASBOX
12275## ------------------------------------------ ##
12276## Report this to the AC_PACKAGE_NAME lists. ##
12277## ------------------------------------------ ##
12278_ASBOX
12279 ) |
12280 sed "s/^/$as_me: WARNING: /" >&2
12281 ;; 12730 ;;
12282esac 12731esac
12283echo "$as_me:$LINENO: checking for $ac_header" >&5 12732{ echo "$as_me:$LINENO: checking for $ac_header" >&5
12284echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 12733echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12285if eval "test \"\${$as_ac_Header+set}\" = set"; then 12734if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12286 echo $ECHO_N "(cached) $ECHO_C" >&6 12735 echo $ECHO_N "(cached) $ECHO_C" >&6
12287else 12736else
12288 eval "$as_ac_Header=\$ac_header_preproc" 12737 eval "$as_ac_Header=\$ac_header_preproc"
12289fi 12738fi
12290echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 12739ac_res=`eval echo '${'$as_ac_Header'}'`
12291echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 12740 { echo "$as_me:$LINENO: result: $ac_res" >&5
12741echo "${ECHO_T}$ac_res" >&6; }
12292 12742
12293fi 12743fi
12294if test `eval echo '${'$as_ac_Header'}'` = yes; then 12744if test `eval echo '${'$as_ac_Header'}'` = yes; then
@@ -12301,8 +12751,8 @@ fi
12301done 12751done
12302 12752
12303 if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then 12753 if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then
12304 echo "$as_me:$LINENO: checking for png_get_channels in -lpng" >&5 12754 { echo "$as_me:$LINENO: checking for png_get_channels in -lpng" >&5
12305echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6 12755echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6; }
12306if test "${ac_cv_lib_png_png_get_channels+set}" = set; then 12756if test "${ac_cv_lib_png_png_get_channels+set}" = set; then
12307 echo $ECHO_N "(cached) $ECHO_C" >&6 12757 echo $ECHO_N "(cached) $ECHO_C" >&6
12308else 12758else
@@ -12315,55 +12765,53 @@ cat confdefs.h >>conftest.$ac_ext
12315cat >>conftest.$ac_ext <<_ACEOF 12765cat >>conftest.$ac_ext <<_ACEOF
12316/* end confdefs.h. */ 12766/* end confdefs.h. */
12317 12767
12318/* Override any gcc2 internal prototype to avoid an error. */ 12768/* Override any GCC internal prototype to avoid an error.
12769 Use char because int might match the return type of a GCC
12770 builtin and then its argument prototype would still apply. */
12319#ifdef __cplusplus 12771#ifdef __cplusplus
12320extern "C" 12772extern "C"
12321#endif 12773#endif
12322/* We use char because int might match the return type of a gcc2
12323 builtin and then its argument prototype would still apply. */
12324char png_get_channels (); 12774char png_get_channels ();
12325int 12775int
12326main () 12776main ()
12327{ 12777{
12328png_get_channels (); 12778return png_get_channels ();
12329 ; 12779 ;
12330 return 0; 12780 return 0;
12331} 12781}
12332_ACEOF 12782_ACEOF
12333rm -f conftest.$ac_objext conftest$ac_exeext 12783rm -f conftest.$ac_objext conftest$ac_exeext
12334if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 12784if { (ac_try="$ac_link"
12335 (eval $ac_link) 2>conftest.er1 12785case "(($ac_try" in
12786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12787 *) ac_try_echo=$ac_try;;
12788esac
12789eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12790 (eval "$ac_link") 2>conftest.er1
12336 ac_status=$? 12791 ac_status=$?
12337 grep -v '^ *+' conftest.er1 >conftest.err 12792 grep -v '^ *+' conftest.er1 >conftest.err
12338 rm -f conftest.er1 12793 rm -f conftest.er1
12339 cat conftest.err >&5 12794 cat conftest.err >&5
12340 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12341 (exit $ac_status); } && 12796 (exit $ac_status); } && {
12342 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 12797 test -z "$ac_c_werror_flag" ||
12343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12798 test ! -s conftest.err
12344 (eval $ac_try) 2>&5 12799 } && test -s conftest$ac_exeext &&
12345 ac_status=$? 12800 $as_test_x conftest$ac_exeext; then
12346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12347 (exit $ac_status); }; } &&
12348 { ac_try='test -s conftest$ac_exeext'
12349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12350 (eval $ac_try) 2>&5
12351 ac_status=$?
12352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12353 (exit $ac_status); }; }; then
12354 ac_cv_lib_png_png_get_channels=yes 12801 ac_cv_lib_png_png_get_channels=yes
12355else 12802else
12356 echo "$as_me: failed program was:" >&5 12803 echo "$as_me: failed program was:" >&5
12357sed 's/^/| /' conftest.$ac_ext >&5 12804sed 's/^/| /' conftest.$ac_ext >&5
12358 12805
12359ac_cv_lib_png_png_get_channels=no 12806 ac_cv_lib_png_png_get_channels=no
12360fi 12807fi
12361rm -f conftest.err conftest.$ac_objext \ 12808
12809rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12362 conftest$ac_exeext conftest.$ac_ext 12810 conftest$ac_exeext conftest.$ac_ext
12363LIBS=$ac_check_lib_save_LIBS 12811LIBS=$ac_check_lib_save_LIBS
12364fi 12812fi
12365echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_get_channels" >&5 12813{ echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_get_channels" >&5
12366echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6 12814echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6; }
12367if test $ac_cv_lib_png_png_get_channels = yes; then 12815if test $ac_cv_lib_png_png_get_channels = yes; then
12368 HAVE_PNG=yes 12816 HAVE_PNG=yes
12369fi 12817fi
@@ -12385,17 +12833,17 @@ HAVE_TIFF=no
12385if test "${HAVE_X11}" = "yes"; then 12833if test "${HAVE_X11}" = "yes"; then
12386 if test "${with_tiff}" != "no"; then 12834 if test "${with_tiff}" != "no"; then
12387 if test "${ac_cv_header_tiffio_h+set}" = set; then 12835 if test "${ac_cv_header_tiffio_h+set}" = set; then
12388 echo "$as_me:$LINENO: checking for tiffio.h" >&5 12836 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
12389echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6 12837echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
12390if test "${ac_cv_header_tiffio_h+set}" = set; then 12838if test "${ac_cv_header_tiffio_h+set}" = set; then
12391 echo $ECHO_N "(cached) $ECHO_C" >&6 12839 echo $ECHO_N "(cached) $ECHO_C" >&6
12392fi 12840fi
12393echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5 12841{ echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
12394echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6 12842echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
12395else 12843else
12396 # Is the header compilable? 12844 # Is the header compilable?
12397echo "$as_me:$LINENO: checking tiffio.h usability" >&5 12845{ echo "$as_me:$LINENO: checking tiffio.h usability" >&5
12398echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6 12846echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6; }
12399cat >conftest.$ac_ext <<_ACEOF 12847cat >conftest.$ac_ext <<_ACEOF
12400/* confdefs.h. */ 12848/* confdefs.h. */
12401_ACEOF 12849_ACEOF
@@ -12406,40 +12854,37 @@ $ac_includes_default
12406#include <tiffio.h> 12854#include <tiffio.h>
12407_ACEOF 12855_ACEOF
12408rm -f conftest.$ac_objext 12856rm -f conftest.$ac_objext
12409if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 12857if { (ac_try="$ac_compile"
12410 (eval $ac_compile) 2>conftest.er1 12858case "(($ac_try" in
12859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12860 *) ac_try_echo=$ac_try;;
12861esac
12862eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12863 (eval "$ac_compile") 2>conftest.er1
12411 ac_status=$? 12864 ac_status=$?
12412 grep -v '^ *+' conftest.er1 >conftest.err 12865 grep -v '^ *+' conftest.er1 >conftest.err
12413 rm -f conftest.er1 12866 rm -f conftest.er1
12414 cat conftest.err >&5 12867 cat conftest.err >&5
12415 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12416 (exit $ac_status); } && 12869 (exit $ac_status); } && {
12417 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 12870 test -z "$ac_c_werror_flag" ||
12418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12871 test ! -s conftest.err
12419 (eval $ac_try) 2>&5 12872 } && test -s conftest.$ac_objext; then
12420 ac_status=$?
12421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12422 (exit $ac_status); }; } &&
12423 { ac_try='test -s conftest.$ac_objext'
12424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12425 (eval $ac_try) 2>&5
12426 ac_status=$?
12427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12428 (exit $ac_status); }; }; then
12429 ac_header_compiler=yes 12873 ac_header_compiler=yes
12430else 12874else
12431 echo "$as_me: failed program was:" >&5 12875 echo "$as_me: failed program was:" >&5
12432sed 's/^/| /' conftest.$ac_ext >&5 12876sed 's/^/| /' conftest.$ac_ext >&5
12433 12877
12434ac_header_compiler=no 12878 ac_header_compiler=no
12435fi 12879fi
12436rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 12880
12437echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 12881rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12438echo "${ECHO_T}$ac_header_compiler" >&6 12882{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12883echo "${ECHO_T}$ac_header_compiler" >&6; }
12439 12884
12440# Is the header present? 12885# Is the header present?
12441echo "$as_me:$LINENO: checking tiffio.h presence" >&5 12886{ echo "$as_me:$LINENO: checking tiffio.h presence" >&5
12442echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6 12887echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6; }
12443cat >conftest.$ac_ext <<_ACEOF 12888cat >conftest.$ac_ext <<_ACEOF
12444/* confdefs.h. */ 12889/* confdefs.h. */
12445_ACEOF 12890_ACEOF
@@ -12448,24 +12893,22 @@ cat >>conftest.$ac_ext <<_ACEOF
12448/* end confdefs.h. */ 12893/* end confdefs.h. */
12449#include <tiffio.h> 12894#include <tiffio.h>
12450_ACEOF 12895_ACEOF
12451if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 12896if { (ac_try="$ac_cpp conftest.$ac_ext"
12452 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 12897case "(($ac_try" in
12898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12899 *) ac_try_echo=$ac_try;;
12900esac
12901eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12902 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12453 ac_status=$? 12903 ac_status=$?
12454 grep -v '^ *+' conftest.er1 >conftest.err 12904 grep -v '^ *+' conftest.er1 >conftest.err
12455 rm -f conftest.er1 12905 rm -f conftest.er1
12456 cat conftest.err >&5 12906 cat conftest.err >&5
12457 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12458 (exit $ac_status); } >/dev/null; then 12908 (exit $ac_status); } >/dev/null && {
12459 if test -s conftest.err; then 12909 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12460 ac_cpp_err=$ac_c_preproc_warn_flag 12910 test ! -s conftest.err
12461 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 12911 }; then
12462 else
12463 ac_cpp_err=
12464 fi
12465else
12466 ac_cpp_err=yes
12467fi
12468if test -z "$ac_cpp_err"; then
12469 ac_header_preproc=yes 12912 ac_header_preproc=yes
12470else 12913else
12471 echo "$as_me: failed program was:" >&5 12914 echo "$as_me: failed program was:" >&5
@@ -12473,9 +12916,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
12473 12916
12474 ac_header_preproc=no 12917 ac_header_preproc=no
12475fi 12918fi
12919
12476rm -f conftest.err conftest.$ac_ext 12920rm -f conftest.err conftest.$ac_ext
12477echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 12921{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12478echo "${ECHO_T}$ac_header_preproc" >&6 12922echo "${ECHO_T}$ac_header_preproc" >&6; }
12479 12923
12480# So? What about this header? 12924# So? What about this header?
12481case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 12925case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
@@ -12499,33 +12943,26 @@ echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\""
12499echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;} 12943echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
12500 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5 12944 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
12501echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;} 12945echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
12502 ( 12946
12503 cat <<\_ASBOX
12504## ------------------------------------------ ##
12505## Report this to the AC_PACKAGE_NAME lists. ##
12506## ------------------------------------------ ##
12507_ASBOX
12508 ) |
12509 sed "s/^/$as_me: WARNING: /" >&2
12510 ;; 12947 ;;
12511esac 12948esac
12512echo "$as_me:$LINENO: checking for tiffio.h" >&5 12949{ echo "$as_me:$LINENO: checking for tiffio.h" >&5
12513echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6 12950echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
12514if test "${ac_cv_header_tiffio_h+set}" = set; then 12951if test "${ac_cv_header_tiffio_h+set}" = set; then
12515 echo $ECHO_N "(cached) $ECHO_C" >&6 12952 echo $ECHO_N "(cached) $ECHO_C" >&6
12516else 12953else
12517 ac_cv_header_tiffio_h=$ac_header_preproc 12954 ac_cv_header_tiffio_h=$ac_header_preproc
12518fi 12955fi
12519echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5 12956{ echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
12520echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6 12957echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
12521 12958
12522fi 12959fi
12523if test $ac_cv_header_tiffio_h = yes; then 12960if test $ac_cv_header_tiffio_h = yes; then
12524 tifflibs="-lz -lm" 12961 tifflibs="-lz -lm"
12525 # At least one tiff package requires the jpeg library. 12962 # At least one tiff package requires the jpeg library.
12526 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi 12963 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
12527 echo "$as_me:$LINENO: checking for TIFFGetVersion in -ltiff" >&5 12964 { echo "$as_me:$LINENO: checking for TIFFGetVersion in -ltiff" >&5
12528echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6 12965echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6; }
12529if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then 12966if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then
12530 echo $ECHO_N "(cached) $ECHO_C" >&6 12967 echo $ECHO_N "(cached) $ECHO_C" >&6
12531else 12968else
@@ -12538,55 +12975,53 @@ cat confdefs.h >>conftest.$ac_ext
12538cat >>conftest.$ac_ext <<_ACEOF 12975cat >>conftest.$ac_ext <<_ACEOF
12539/* end confdefs.h. */ 12976/* end confdefs.h. */
12540 12977
12541/* Override any gcc2 internal prototype to avoid an error. */ 12978/* Override any GCC internal prototype to avoid an error.
12979 Use char because int might match the return type of a GCC
12980 builtin and then its argument prototype would still apply. */
12542#ifdef __cplusplus 12981#ifdef __cplusplus
12543extern "C" 12982extern "C"
12544#endif 12983#endif
12545/* We use char because int might match the return type of a gcc2
12546 builtin and then its argument prototype would still apply. */
12547char TIFFGetVersion (); 12984char TIFFGetVersion ();
12548int 12985int
12549main () 12986main ()
12550{ 12987{
12551TIFFGetVersion (); 12988return TIFFGetVersion ();
12552 ; 12989 ;
12553 return 0; 12990 return 0;
12554} 12991}
12555_ACEOF 12992_ACEOF
12556rm -f conftest.$ac_objext conftest$ac_exeext 12993rm -f conftest.$ac_objext conftest$ac_exeext
12557if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 12994if { (ac_try="$ac_link"
12558 (eval $ac_link) 2>conftest.er1 12995case "(($ac_try" in
12996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12997 *) ac_try_echo=$ac_try;;
12998esac
12999eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13000 (eval "$ac_link") 2>conftest.er1
12559 ac_status=$? 13001 ac_status=$?
12560 grep -v '^ *+' conftest.er1 >conftest.err 13002 grep -v '^ *+' conftest.er1 >conftest.err
12561 rm -f conftest.er1 13003 rm -f conftest.er1
12562 cat conftest.err >&5 13004 cat conftest.err >&5
12563 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12564 (exit $ac_status); } && 13006 (exit $ac_status); } && {
12565 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 13007 test -z "$ac_c_werror_flag" ||
12566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13008 test ! -s conftest.err
12567 (eval $ac_try) 2>&5 13009 } && test -s conftest$ac_exeext &&
12568 ac_status=$? 13010 $as_test_x conftest$ac_exeext; then
12569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12570 (exit $ac_status); }; } &&
12571 { ac_try='test -s conftest$ac_exeext'
12572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12573 (eval $ac_try) 2>&5
12574 ac_status=$?
12575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12576 (exit $ac_status); }; }; then
12577 ac_cv_lib_tiff_TIFFGetVersion=yes 13011 ac_cv_lib_tiff_TIFFGetVersion=yes
12578else 13012else
12579 echo "$as_me: failed program was:" >&5 13013 echo "$as_me: failed program was:" >&5
12580sed 's/^/| /' conftest.$ac_ext >&5 13014sed 's/^/| /' conftest.$ac_ext >&5
12581 13015
12582ac_cv_lib_tiff_TIFFGetVersion=no 13016 ac_cv_lib_tiff_TIFFGetVersion=no
12583fi 13017fi
12584rm -f conftest.err conftest.$ac_objext \ 13018
13019rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12585 conftest$ac_exeext conftest.$ac_ext 13020 conftest$ac_exeext conftest.$ac_ext
12586LIBS=$ac_check_lib_save_LIBS 13021LIBS=$ac_check_lib_save_LIBS
12587fi 13022fi
12588echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 13023{ echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5
12589echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6 13024echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6; }
12590if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then 13025if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then
12591 HAVE_TIFF=yes 13026 HAVE_TIFF=yes
12592fi 13027fi
@@ -12610,17 +13045,17 @@ HAVE_GIF=no
12610if test "${HAVE_X11}" = "yes"; then 13045if test "${HAVE_X11}" = "yes"; then
12611 if test "${with_gif}" != "no"; then 13046 if test "${with_gif}" != "no"; then
12612 if test "${ac_cv_header_gif_lib_h+set}" = set; then 13047 if test "${ac_cv_header_gif_lib_h+set}" = set; then
12613 echo "$as_me:$LINENO: checking for gif_lib.h" >&5 13048 { echo "$as_me:$LINENO: checking for gif_lib.h" >&5
12614echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6 13049echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6; }
12615if test "${ac_cv_header_gif_lib_h+set}" = set; then 13050if test "${ac_cv_header_gif_lib_h+set}" = set; then
12616 echo $ECHO_N "(cached) $ECHO_C" >&6 13051 echo $ECHO_N "(cached) $ECHO_C" >&6
12617fi 13052fi
12618echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5 13053{ echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5
12619echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6 13054echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6; }
12620else 13055else
12621 # Is the header compilable? 13056 # Is the header compilable?
12622echo "$as_me:$LINENO: checking gif_lib.h usability" >&5 13057{ echo "$as_me:$LINENO: checking gif_lib.h usability" >&5
12623echo $ECHO_N "checking gif_lib.h usability... $ECHO_C" >&6 13058echo $ECHO_N "checking gif_lib.h usability... $ECHO_C" >&6; }
12624cat >conftest.$ac_ext <<_ACEOF 13059cat >conftest.$ac_ext <<_ACEOF
12625/* confdefs.h. */ 13060/* confdefs.h. */
12626_ACEOF 13061_ACEOF
@@ -12631,40 +13066,37 @@ $ac_includes_default
12631#include <gif_lib.h> 13066#include <gif_lib.h>
12632_ACEOF 13067_ACEOF
12633rm -f conftest.$ac_objext 13068rm -f conftest.$ac_objext
12634if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 13069if { (ac_try="$ac_compile"
12635 (eval $ac_compile) 2>conftest.er1 13070case "(($ac_try" in
13071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13072 *) ac_try_echo=$ac_try;;
13073esac
13074eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13075 (eval "$ac_compile") 2>conftest.er1
12636 ac_status=$? 13076 ac_status=$?
12637 grep -v '^ *+' conftest.er1 >conftest.err 13077 grep -v '^ *+' conftest.er1 >conftest.err
12638 rm -f conftest.er1 13078 rm -f conftest.er1
12639 cat conftest.err >&5 13079 cat conftest.err >&5
12640 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12641 (exit $ac_status); } && 13081 (exit $ac_status); } && {
12642 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 13082 test -z "$ac_c_werror_flag" ||
12643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13083 test ! -s conftest.err
12644 (eval $ac_try) 2>&5 13084 } && test -s conftest.$ac_objext; then
12645 ac_status=$?
12646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12647 (exit $ac_status); }; } &&
12648 { ac_try='test -s conftest.$ac_objext'
12649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12650 (eval $ac_try) 2>&5
12651 ac_status=$?
12652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12653 (exit $ac_status); }; }; then
12654 ac_header_compiler=yes 13085 ac_header_compiler=yes
12655else 13086else
12656 echo "$as_me: failed program was:" >&5 13087 echo "$as_me: failed program was:" >&5
12657sed 's/^/| /' conftest.$ac_ext >&5 13088sed 's/^/| /' conftest.$ac_ext >&5
12658 13089
12659ac_header_compiler=no 13090 ac_header_compiler=no
12660fi 13091fi
12661rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 13092
12662echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 13093rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12663echo "${ECHO_T}$ac_header_compiler" >&6 13094{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13095echo "${ECHO_T}$ac_header_compiler" >&6; }
12664 13096
12665# Is the header present? 13097# Is the header present?
12666echo "$as_me:$LINENO: checking gif_lib.h presence" >&5 13098{ echo "$as_me:$LINENO: checking gif_lib.h presence" >&5
12667echo $ECHO_N "checking gif_lib.h presence... $ECHO_C" >&6 13099echo $ECHO_N "checking gif_lib.h presence... $ECHO_C" >&6; }
12668cat >conftest.$ac_ext <<_ACEOF 13100cat >conftest.$ac_ext <<_ACEOF
12669/* confdefs.h. */ 13101/* confdefs.h. */
12670_ACEOF 13102_ACEOF
@@ -12673,24 +13105,22 @@ cat >>conftest.$ac_ext <<_ACEOF
12673/* end confdefs.h. */ 13105/* end confdefs.h. */
12674#include <gif_lib.h> 13106#include <gif_lib.h>
12675_ACEOF 13107_ACEOF
12676if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 13108if { (ac_try="$ac_cpp conftest.$ac_ext"
12677 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 13109case "(($ac_try" in
13110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13111 *) ac_try_echo=$ac_try;;
13112esac
13113eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13114 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12678 ac_status=$? 13115 ac_status=$?
12679 grep -v '^ *+' conftest.er1 >conftest.err 13116 grep -v '^ *+' conftest.er1 >conftest.err
12680 rm -f conftest.er1 13117 rm -f conftest.er1
12681 cat conftest.err >&5 13118 cat conftest.err >&5
12682 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12683 (exit $ac_status); } >/dev/null; then 13120 (exit $ac_status); } >/dev/null && {
12684 if test -s conftest.err; then 13121 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12685 ac_cpp_err=$ac_c_preproc_warn_flag 13122 test ! -s conftest.err
12686 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 13123 }; then
12687 else
12688 ac_cpp_err=
12689 fi
12690else
12691 ac_cpp_err=yes
12692fi
12693if test -z "$ac_cpp_err"; then
12694 ac_header_preproc=yes 13124 ac_header_preproc=yes
12695else 13125else
12696 echo "$as_me: failed program was:" >&5 13126 echo "$as_me: failed program was:" >&5
@@ -12698,9 +13128,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
12698 13128
12699 ac_header_preproc=no 13129 ac_header_preproc=no
12700fi 13130fi
13131
12701rm -f conftest.err conftest.$ac_ext 13132rm -f conftest.err conftest.$ac_ext
12702echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 13133{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12703echo "${ECHO_T}$ac_header_preproc" >&6 13134echo "${ECHO_T}$ac_header_preproc" >&6; }
12704 13135
12705# So? What about this header? 13136# So? What about this header?
12706case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 13137case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
@@ -12724,32 +13155,25 @@ echo "$as_me: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"
12724echo "$as_me: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&2;} 13155echo "$as_me: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&2;}
12725 { echo "$as_me:$LINENO: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&5 13156 { echo "$as_me:$LINENO: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&5
12726echo "$as_me: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&2;} 13157echo "$as_me: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&2;}
12727 ( 13158
12728 cat <<\_ASBOX
12729## ------------------------------------------ ##
12730## Report this to the AC_PACKAGE_NAME lists. ##
12731## ------------------------------------------ ##
12732_ASBOX
12733 ) |
12734 sed "s/^/$as_me: WARNING: /" >&2
12735 ;; 13159 ;;
12736esac 13160esac
12737echo "$as_me:$LINENO: checking for gif_lib.h" >&5 13161{ echo "$as_me:$LINENO: checking for gif_lib.h" >&5
12738echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6 13162echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6; }
12739if test "${ac_cv_header_gif_lib_h+set}" = set; then 13163if test "${ac_cv_header_gif_lib_h+set}" = set; then
12740 echo $ECHO_N "(cached) $ECHO_C" >&6 13164 echo $ECHO_N "(cached) $ECHO_C" >&6
12741else 13165else
12742 ac_cv_header_gif_lib_h=$ac_header_preproc 13166 ac_cv_header_gif_lib_h=$ac_header_preproc
12743fi 13167fi
12744echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5 13168{ echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5
12745echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6 13169echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6; }
12746 13170
12747fi 13171fi
12748if test $ac_cv_header_gif_lib_h = yes; then 13172if test $ac_cv_header_gif_lib_h = yes; then
12749 # EGifPutExtensionLast only exists from version libungif-4.1.0b1. 13173 # EGifPutExtensionLast only exists from version libungif-4.1.0b1.
12750# Earlier versions can crash Emacs. 13174# Earlier versions can crash Emacs.
12751 echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lungif" >&5 13175 { echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lungif" >&5
12752echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6 13176echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6; }
12753if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then 13177if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then
12754 echo $ECHO_N "(cached) $ECHO_C" >&6 13178 echo $ECHO_N "(cached) $ECHO_C" >&6
12755else 13179else
@@ -12762,55 +13186,53 @@ cat confdefs.h >>conftest.$ac_ext
12762cat >>conftest.$ac_ext <<_ACEOF 13186cat >>conftest.$ac_ext <<_ACEOF
12763/* end confdefs.h. */ 13187/* end confdefs.h. */
12764 13188
12765/* Override any gcc2 internal prototype to avoid an error. */ 13189/* Override any GCC internal prototype to avoid an error.
13190 Use char because int might match the return type of a GCC
13191 builtin and then its argument prototype would still apply. */
12766#ifdef __cplusplus 13192#ifdef __cplusplus
12767extern "C" 13193extern "C"
12768#endif 13194#endif
12769/* We use char because int might match the return type of a gcc2
12770 builtin and then its argument prototype would still apply. */
12771char EGifPutExtensionLast (); 13195char EGifPutExtensionLast ();
12772int 13196int
12773main () 13197main ()
12774{ 13198{
12775EGifPutExtensionLast (); 13199return EGifPutExtensionLast ();
12776 ; 13200 ;
12777 return 0; 13201 return 0;
12778} 13202}
12779_ACEOF 13203_ACEOF
12780rm -f conftest.$ac_objext conftest$ac_exeext 13204rm -f conftest.$ac_objext conftest$ac_exeext
12781if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 13205if { (ac_try="$ac_link"
12782 (eval $ac_link) 2>conftest.er1 13206case "(($ac_try" in
13207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13208 *) ac_try_echo=$ac_try;;
13209esac
13210eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13211 (eval "$ac_link") 2>conftest.er1
12783 ac_status=$? 13212 ac_status=$?
12784 grep -v '^ *+' conftest.er1 >conftest.err 13213 grep -v '^ *+' conftest.er1 >conftest.err
12785 rm -f conftest.er1 13214 rm -f conftest.er1
12786 cat conftest.err >&5 13215 cat conftest.err >&5
12787 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12788 (exit $ac_status); } && 13217 (exit $ac_status); } && {
12789 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 13218 test -z "$ac_c_werror_flag" ||
12790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13219 test ! -s conftest.err
12791 (eval $ac_try) 2>&5 13220 } && test -s conftest$ac_exeext &&
12792 ac_status=$? 13221 $as_test_x conftest$ac_exeext; then
12793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12794 (exit $ac_status); }; } &&
12795 { ac_try='test -s conftest$ac_exeext'
12796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12797 (eval $ac_try) 2>&5
12798 ac_status=$?
12799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12800 (exit $ac_status); }; }; then
12801 ac_cv_lib_ungif_EGifPutExtensionLast=yes 13222 ac_cv_lib_ungif_EGifPutExtensionLast=yes
12802else 13223else
12803 echo "$as_me: failed program was:" >&5 13224 echo "$as_me: failed program was:" >&5
12804sed 's/^/| /' conftest.$ac_ext >&5 13225sed 's/^/| /' conftest.$ac_ext >&5
12805 13226
12806ac_cv_lib_ungif_EGifPutExtensionLast=no 13227 ac_cv_lib_ungif_EGifPutExtensionLast=no
12807fi 13228fi
12808rm -f conftest.err conftest.$ac_objext \ 13229
13230rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12809 conftest$ac_exeext conftest.$ac_ext 13231 conftest$ac_exeext conftest.$ac_ext
12810LIBS=$ac_check_lib_save_LIBS 13232LIBS=$ac_check_lib_save_LIBS
12811fi 13233fi
12812echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 13234{ echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5
12813echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6 13235echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; }
12814if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then 13236if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then
12815 HAVE_GIF=yes 13237 HAVE_GIF=yes
12816fi 13238fi
@@ -12830,17 +13252,17 @@ _ACEOF
12830fi 13252fi
12831 13253
12832if test "${ac_cv_header_malloc_malloc_h+set}" = set; then 13254if test "${ac_cv_header_malloc_malloc_h+set}" = set; then
12833 echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5 13255 { echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5
12834echo $ECHO_N "checking for malloc/malloc.h... $ECHO_C" >&6 13256echo $ECHO_N "checking for malloc/malloc.h... $ECHO_C" >&6; }
12835if test "${ac_cv_header_malloc_malloc_h+set}" = set; then 13257if test "${ac_cv_header_malloc_malloc_h+set}" = set; then
12836 echo $ECHO_N "(cached) $ECHO_C" >&6 13258 echo $ECHO_N "(cached) $ECHO_C" >&6
12837fi 13259fi
12838echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5 13260{ echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5
12839echo "${ECHO_T}$ac_cv_header_malloc_malloc_h" >&6 13261echo "${ECHO_T}$ac_cv_header_malloc_malloc_h" >&6; }
12840else 13262else
12841 # Is the header compilable? 13263 # Is the header compilable?
12842echo "$as_me:$LINENO: checking malloc/malloc.h usability" >&5 13264{ echo "$as_me:$LINENO: checking malloc/malloc.h usability" >&5
12843echo $ECHO_N "checking malloc/malloc.h usability... $ECHO_C" >&6 13265echo $ECHO_N "checking malloc/malloc.h usability... $ECHO_C" >&6; }
12844cat >conftest.$ac_ext <<_ACEOF 13266cat >conftest.$ac_ext <<_ACEOF
12845/* confdefs.h. */ 13267/* confdefs.h. */
12846_ACEOF 13268_ACEOF
@@ -12851,40 +13273,37 @@ $ac_includes_default
12851#include <malloc/malloc.h> 13273#include <malloc/malloc.h>
12852_ACEOF 13274_ACEOF
12853rm -f conftest.$ac_objext 13275rm -f conftest.$ac_objext
12854if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 13276if { (ac_try="$ac_compile"
12855 (eval $ac_compile) 2>conftest.er1 13277case "(($ac_try" in
13278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13279 *) ac_try_echo=$ac_try;;
13280esac
13281eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13282 (eval "$ac_compile") 2>conftest.er1
12856 ac_status=$? 13283 ac_status=$?
12857 grep -v '^ *+' conftest.er1 >conftest.err 13284 grep -v '^ *+' conftest.er1 >conftest.err
12858 rm -f conftest.er1 13285 rm -f conftest.er1
12859 cat conftest.err >&5 13286 cat conftest.err >&5
12860 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12861 (exit $ac_status); } && 13288 (exit $ac_status); } && {
12862 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 13289 test -z "$ac_c_werror_flag" ||
12863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13290 test ! -s conftest.err
12864 (eval $ac_try) 2>&5 13291 } && test -s conftest.$ac_objext; then
12865 ac_status=$?
12866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12867 (exit $ac_status); }; } &&
12868 { ac_try='test -s conftest.$ac_objext'
12869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12870 (eval $ac_try) 2>&5
12871 ac_status=$?
12872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12873 (exit $ac_status); }; }; then
12874 ac_header_compiler=yes 13292 ac_header_compiler=yes
12875else 13293else
12876 echo "$as_me: failed program was:" >&5 13294 echo "$as_me: failed program was:" >&5
12877sed 's/^/| /' conftest.$ac_ext >&5 13295sed 's/^/| /' conftest.$ac_ext >&5
12878 13296
12879ac_header_compiler=no 13297 ac_header_compiler=no
12880fi 13298fi
12881rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 13299
12882echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 13300rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12883echo "${ECHO_T}$ac_header_compiler" >&6 13301{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13302echo "${ECHO_T}$ac_header_compiler" >&6; }
12884 13303
12885# Is the header present? 13304# Is the header present?
12886echo "$as_me:$LINENO: checking malloc/malloc.h presence" >&5 13305{ echo "$as_me:$LINENO: checking malloc/malloc.h presence" >&5
12887echo $ECHO_N "checking malloc/malloc.h presence... $ECHO_C" >&6 13306echo $ECHO_N "checking malloc/malloc.h presence... $ECHO_C" >&6; }
12888cat >conftest.$ac_ext <<_ACEOF 13307cat >conftest.$ac_ext <<_ACEOF
12889/* confdefs.h. */ 13308/* confdefs.h. */
12890_ACEOF 13309_ACEOF
@@ -12893,24 +13312,22 @@ cat >>conftest.$ac_ext <<_ACEOF
12893/* end confdefs.h. */ 13312/* end confdefs.h. */
12894#include <malloc/malloc.h> 13313#include <malloc/malloc.h>
12895_ACEOF 13314_ACEOF
12896if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 13315if { (ac_try="$ac_cpp conftest.$ac_ext"
12897 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 13316case "(($ac_try" in
13317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13318 *) ac_try_echo=$ac_try;;
13319esac
13320eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13321 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12898 ac_status=$? 13322 ac_status=$?
12899 grep -v '^ *+' conftest.er1 >conftest.err 13323 grep -v '^ *+' conftest.er1 >conftest.err
12900 rm -f conftest.er1 13324 rm -f conftest.er1
12901 cat conftest.err >&5 13325 cat conftest.err >&5
12902 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12903 (exit $ac_status); } >/dev/null; then 13327 (exit $ac_status); } >/dev/null && {
12904 if test -s conftest.err; then 13328 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12905 ac_cpp_err=$ac_c_preproc_warn_flag 13329 test ! -s conftest.err
12906 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 13330 }; then
12907 else
12908 ac_cpp_err=
12909 fi
12910else
12911 ac_cpp_err=yes
12912fi
12913if test -z "$ac_cpp_err"; then
12914 ac_header_preproc=yes 13331 ac_header_preproc=yes
12915else 13332else
12916 echo "$as_me: failed program was:" >&5 13333 echo "$as_me: failed program was:" >&5
@@ -12918,9 +13335,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
12918 13335
12919 ac_header_preproc=no 13336 ac_header_preproc=no
12920fi 13337fi
13338
12921rm -f conftest.err conftest.$ac_ext 13339rm -f conftest.err conftest.$ac_ext
12922echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 13340{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12923echo "${ECHO_T}$ac_header_preproc" >&6 13341echo "${ECHO_T}$ac_header_preproc" >&6; }
12924 13342
12925# So? What about this header? 13343# So? What about this header?
12926case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 13344case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
@@ -12944,25 +13362,18 @@ echo "$as_me: WARNING: malloc/malloc.h: section \"Present But Cannot Be Comp
12944echo "$as_me: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&2;} 13362echo "$as_me: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&2;}
12945 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&5 13363 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&5
12946echo "$as_me: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&2;} 13364echo "$as_me: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&2;}
12947 ( 13365
12948 cat <<\_ASBOX
12949## ------------------------------------------ ##
12950## Report this to the AC_PACKAGE_NAME lists. ##
12951## ------------------------------------------ ##
12952_ASBOX
12953 ) |
12954 sed "s/^/$as_me: WARNING: /" >&2
12955 ;; 13366 ;;
12956esac 13367esac
12957echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5 13368{ echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5
12958echo $ECHO_N "checking for malloc/malloc.h... $ECHO_C" >&6 13369echo $ECHO_N "checking for malloc/malloc.h... $ECHO_C" >&6; }
12959if test "${ac_cv_header_malloc_malloc_h+set}" = set; then 13370if test "${ac_cv_header_malloc_malloc_h+set}" = set; then
12960 echo $ECHO_N "(cached) $ECHO_C" >&6 13371 echo $ECHO_N "(cached) $ECHO_C" >&6
12961else 13372else
12962 ac_cv_header_malloc_malloc_h=$ac_header_preproc 13373 ac_cv_header_malloc_malloc_h=$ac_header_preproc
12963fi 13374fi
12964echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5 13375{ echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5
12965echo "${ECHO_T}$ac_cv_header_malloc_malloc_h" >&6 13376echo "${ECHO_T}$ac_cv_header_malloc_malloc_h" >&6; }
12966 13377
12967fi 13378fi
12968if test $ac_cv_header_malloc_malloc_h = yes; then 13379if test $ac_cv_header_malloc_malloc_h = yes; then
@@ -12995,8 +13406,8 @@ _ACEOF
12995 13406
12996 tmp_CFLAGS="$CFLAGS" 13407 tmp_CFLAGS="$CFLAGS"
12997 CFLAGS="$CFLAGS -framework Carbon" 13408 CFLAGS="$CFLAGS -framework Carbon"
12998 echo "$as_me:$LINENO: checking for CancelMenuTracking" >&5 13409 { echo "$as_me:$LINENO: checking for CancelMenuTracking" >&5
12999echo $ECHO_N "checking for CancelMenuTracking... $ECHO_C" >&6 13410echo $ECHO_N "checking for CancelMenuTracking... $ECHO_C" >&6; }
13000if test "${ac_cv_func_CancelMenuTracking+set}" = set; then 13411if test "${ac_cv_func_CancelMenuTracking+set}" = set; then
13001 echo $ECHO_N "(cached) $ECHO_C" >&6 13412 echo $ECHO_N "(cached) $ECHO_C" >&6
13002else 13413else
@@ -13023,67 +13434,59 @@ cat >>conftest.$ac_ext <<_ACEOF
13023 13434
13024#undef CancelMenuTracking 13435#undef CancelMenuTracking
13025 13436
13026/* Override any gcc2 internal prototype to avoid an error. */ 13437/* Override any GCC internal prototype to avoid an error.
13438 Use char because int might match the return type of a GCC
13439 builtin and then its argument prototype would still apply. */
13027#ifdef __cplusplus 13440#ifdef __cplusplus
13028extern "C" 13441extern "C"
13029{
13030#endif 13442#endif
13031/* We use char because int might match the return type of a gcc2
13032 builtin and then its argument prototype would still apply. */
13033char CancelMenuTracking (); 13443char CancelMenuTracking ();
13034/* The GNU C library defines this for functions which it implements 13444/* The GNU C library defines this for functions which it implements
13035 to always fail with ENOSYS. Some functions are actually named 13445 to always fail with ENOSYS. Some functions are actually named
13036 something starting with __ and the normal name is an alias. */ 13446 something starting with __ and the normal name is an alias. */
13037#if defined (__stub_CancelMenuTracking) || defined (__stub___CancelMenuTracking) 13447#if defined __stub_CancelMenuTracking || defined __stub___CancelMenuTracking
13038choke me 13448choke me
13039#else
13040char (*f) () = CancelMenuTracking;
13041#endif
13042#ifdef __cplusplus
13043}
13044#endif 13449#endif
13045 13450
13046int 13451int
13047main () 13452main ()
13048{ 13453{
13049return f != CancelMenuTracking; 13454return CancelMenuTracking ();
13050 ; 13455 ;
13051 return 0; 13456 return 0;
13052} 13457}
13053_ACEOF 13458_ACEOF
13054rm -f conftest.$ac_objext conftest$ac_exeext 13459rm -f conftest.$ac_objext conftest$ac_exeext
13055if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 13460if { (ac_try="$ac_link"
13056 (eval $ac_link) 2>conftest.er1 13461case "(($ac_try" in
13462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13463 *) ac_try_echo=$ac_try;;
13464esac
13465eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13466 (eval "$ac_link") 2>conftest.er1
13057 ac_status=$? 13467 ac_status=$?
13058 grep -v '^ *+' conftest.er1 >conftest.err 13468 grep -v '^ *+' conftest.er1 >conftest.err
13059 rm -f conftest.er1 13469 rm -f conftest.er1
13060 cat conftest.err >&5 13470 cat conftest.err >&5
13061 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13062 (exit $ac_status); } && 13472 (exit $ac_status); } && {
13063 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 13473 test -z "$ac_c_werror_flag" ||
13064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13474 test ! -s conftest.err
13065 (eval $ac_try) 2>&5 13475 } && test -s conftest$ac_exeext &&
13066 ac_status=$? 13476 $as_test_x conftest$ac_exeext; then
13067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13068 (exit $ac_status); }; } &&
13069 { ac_try='test -s conftest$ac_exeext'
13070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13071 (eval $ac_try) 2>&5
13072 ac_status=$?
13073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13074 (exit $ac_status); }; }; then
13075 ac_cv_func_CancelMenuTracking=yes 13477 ac_cv_func_CancelMenuTracking=yes
13076else 13478else
13077 echo "$as_me: failed program was:" >&5 13479 echo "$as_me: failed program was:" >&5
13078sed 's/^/| /' conftest.$ac_ext >&5 13480sed 's/^/| /' conftest.$ac_ext >&5
13079 13481
13080ac_cv_func_CancelMenuTracking=no 13482 ac_cv_func_CancelMenuTracking=no
13081fi 13483fi
13082rm -f conftest.err conftest.$ac_objext \ 13484
13485rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13083 conftest$ac_exeext conftest.$ac_ext 13486 conftest$ac_exeext conftest.$ac_ext
13084fi 13487fi
13085echo "$as_me:$LINENO: result: $ac_cv_func_CancelMenuTracking" >&5 13488{ echo "$as_me:$LINENO: result: $ac_cv_func_CancelMenuTracking" >&5
13086echo "${ECHO_T}$ac_cv_func_CancelMenuTracking" >&6 13489echo "${ECHO_T}$ac_cv_func_CancelMenuTracking" >&6; }
13087if test $ac_cv_func_CancelMenuTracking = yes; then 13490if test $ac_cv_func_CancelMenuTracking = yes; then
13088 have_cmt=yes 13491 have_cmt=yes
13089else 13492else
@@ -13104,17 +13507,17 @@ fi
13104HAVE_X_SM=no 13507HAVE_X_SM=no
13105if test "${HAVE_X11}" = "yes"; then 13508if test "${HAVE_X11}" = "yes"; then
13106 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then 13509 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
13107 echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5 13510 { echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5
13108echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6 13511echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6; }
13109if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then 13512if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
13110 echo $ECHO_N "(cached) $ECHO_C" >&6 13513 echo $ECHO_N "(cached) $ECHO_C" >&6
13111fi 13514fi
13112echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5 13515{ echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5
13113echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6 13516echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6; }
13114else 13517else
13115 # Is the header compilable? 13518 # Is the header compilable?
13116echo "$as_me:$LINENO: checking X11/SM/SMlib.h usability" >&5 13519{ echo "$as_me:$LINENO: checking X11/SM/SMlib.h usability" >&5
13117echo $ECHO_N "checking X11/SM/SMlib.h usability... $ECHO_C" >&6 13520echo $ECHO_N "checking X11/SM/SMlib.h usability... $ECHO_C" >&6; }
13118cat >conftest.$ac_ext <<_ACEOF 13521cat >conftest.$ac_ext <<_ACEOF
13119/* confdefs.h. */ 13522/* confdefs.h. */
13120_ACEOF 13523_ACEOF
@@ -13125,40 +13528,37 @@ $ac_includes_default
13125#include <X11/SM/SMlib.h> 13528#include <X11/SM/SMlib.h>
13126_ACEOF 13529_ACEOF
13127rm -f conftest.$ac_objext 13530rm -f conftest.$ac_objext
13128if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 13531if { (ac_try="$ac_compile"
13129 (eval $ac_compile) 2>conftest.er1 13532case "(($ac_try" in
13533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13534 *) ac_try_echo=$ac_try;;
13535esac
13536eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13537 (eval "$ac_compile") 2>conftest.er1
13130 ac_status=$? 13538 ac_status=$?
13131 grep -v '^ *+' conftest.er1 >conftest.err 13539 grep -v '^ *+' conftest.er1 >conftest.err
13132 rm -f conftest.er1 13540 rm -f conftest.er1
13133 cat conftest.err >&5 13541 cat conftest.err >&5
13134 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13135 (exit $ac_status); } && 13543 (exit $ac_status); } && {
13136 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 13544 test -z "$ac_c_werror_flag" ||
13137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13545 test ! -s conftest.err
13138 (eval $ac_try) 2>&5 13546 } && test -s conftest.$ac_objext; then
13139 ac_status=$?
13140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13141 (exit $ac_status); }; } &&
13142 { ac_try='test -s conftest.$ac_objext'
13143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13144 (eval $ac_try) 2>&5
13145 ac_status=$?
13146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13147 (exit $ac_status); }; }; then
13148 ac_header_compiler=yes 13547 ac_header_compiler=yes
13149else 13548else
13150 echo "$as_me: failed program was:" >&5 13549 echo "$as_me: failed program was:" >&5
13151sed 's/^/| /' conftest.$ac_ext >&5 13550sed 's/^/| /' conftest.$ac_ext >&5
13152 13551
13153ac_header_compiler=no 13552 ac_header_compiler=no
13154fi 13553fi
13155rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 13554
13156echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 13555rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13157echo "${ECHO_T}$ac_header_compiler" >&6 13556{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13557echo "${ECHO_T}$ac_header_compiler" >&6; }
13158 13558
13159# Is the header present? 13559# Is the header present?
13160echo "$as_me:$LINENO: checking X11/SM/SMlib.h presence" >&5 13560{ echo "$as_me:$LINENO: checking X11/SM/SMlib.h presence" >&5
13161echo $ECHO_N "checking X11/SM/SMlib.h presence... $ECHO_C" >&6 13561echo $ECHO_N "checking X11/SM/SMlib.h presence... $ECHO_C" >&6; }
13162cat >conftest.$ac_ext <<_ACEOF 13562cat >conftest.$ac_ext <<_ACEOF
13163/* confdefs.h. */ 13563/* confdefs.h. */
13164_ACEOF 13564_ACEOF
@@ -13167,24 +13567,22 @@ cat >>conftest.$ac_ext <<_ACEOF
13167/* end confdefs.h. */ 13567/* end confdefs.h. */
13168#include <X11/SM/SMlib.h> 13568#include <X11/SM/SMlib.h>
13169_ACEOF 13569_ACEOF
13170if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 13570if { (ac_try="$ac_cpp conftest.$ac_ext"
13171 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 13571case "(($ac_try" in
13572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13573 *) ac_try_echo=$ac_try;;
13574esac
13575eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13576 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13172 ac_status=$? 13577 ac_status=$?
13173 grep -v '^ *+' conftest.er1 >conftest.err 13578 grep -v '^ *+' conftest.er1 >conftest.err
13174 rm -f conftest.er1 13579 rm -f conftest.er1
13175 cat conftest.err >&5 13580 cat conftest.err >&5
13176 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13177 (exit $ac_status); } >/dev/null; then 13582 (exit $ac_status); } >/dev/null && {
13178 if test -s conftest.err; then 13583 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13179 ac_cpp_err=$ac_c_preproc_warn_flag 13584 test ! -s conftest.err
13180 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 13585 }; then
13181 else
13182 ac_cpp_err=
13183 fi
13184else
13185 ac_cpp_err=yes
13186fi
13187if test -z "$ac_cpp_err"; then
13188 ac_header_preproc=yes 13586 ac_header_preproc=yes
13189else 13587else
13190 echo "$as_me: failed program was:" >&5 13588 echo "$as_me: failed program was:" >&5
@@ -13192,9 +13590,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
13192 13590
13193 ac_header_preproc=no 13591 ac_header_preproc=no
13194fi 13592fi
13593
13195rm -f conftest.err conftest.$ac_ext 13594rm -f conftest.err conftest.$ac_ext
13196echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 13595{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13197echo "${ECHO_T}$ac_header_preproc" >&6 13596echo "${ECHO_T}$ac_header_preproc" >&6; }
13198 13597
13199# So? What about this header? 13598# So? What about this header?
13200case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 13599case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
@@ -13218,30 +13617,23 @@ echo "$as_me: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compi
13218echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&2;} 13617echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&2;}
13219 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&5 13618 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&5
13220echo "$as_me: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&2;} 13619echo "$as_me: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&2;}
13221 ( 13620
13222 cat <<\_ASBOX
13223## ------------------------------------------ ##
13224## Report this to the AC_PACKAGE_NAME lists. ##
13225## ------------------------------------------ ##
13226_ASBOX
13227 ) |
13228 sed "s/^/$as_me: WARNING: /" >&2
13229 ;; 13621 ;;
13230esac 13622esac
13231echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5 13623{ echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5
13232echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6 13624echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6; }
13233if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then 13625if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
13234 echo $ECHO_N "(cached) $ECHO_C" >&6 13626 echo $ECHO_N "(cached) $ECHO_C" >&6
13235else 13627else
13236 ac_cv_header_X11_SM_SMlib_h=$ac_header_preproc 13628 ac_cv_header_X11_SM_SMlib_h=$ac_header_preproc
13237fi 13629fi
13238echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5 13630{ echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5
13239echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6 13631echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6; }
13240 13632
13241fi 13633fi
13242if test $ac_cv_header_X11_SM_SMlib_h = yes; then 13634if test $ac_cv_header_X11_SM_SMlib_h = yes; then
13243 echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5 13635 { echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5
13244echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6 13636echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6; }
13245if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then 13637if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
13246 echo $ECHO_N "(cached) $ECHO_C" >&6 13638 echo $ECHO_N "(cached) $ECHO_C" >&6
13247else 13639else
@@ -13254,55 +13646,53 @@ cat confdefs.h >>conftest.$ac_ext
13254cat >>conftest.$ac_ext <<_ACEOF 13646cat >>conftest.$ac_ext <<_ACEOF
13255/* end confdefs.h. */ 13647/* end confdefs.h. */
13256 13648
13257/* Override any gcc2 internal prototype to avoid an error. */ 13649/* Override any GCC internal prototype to avoid an error.
13650 Use char because int might match the return type of a GCC
13651 builtin and then its argument prototype would still apply. */
13258#ifdef __cplusplus 13652#ifdef __cplusplus
13259extern "C" 13653extern "C"
13260#endif 13654#endif
13261/* We use char because int might match the return type of a gcc2
13262 builtin and then its argument prototype would still apply. */
13263char SmcOpenConnection (); 13655char SmcOpenConnection ();
13264int 13656int
13265main () 13657main ()
13266{ 13658{
13267SmcOpenConnection (); 13659return SmcOpenConnection ();
13268 ; 13660 ;
13269 return 0; 13661 return 0;
13270} 13662}
13271_ACEOF 13663_ACEOF
13272rm -f conftest.$ac_objext conftest$ac_exeext 13664rm -f conftest.$ac_objext conftest$ac_exeext
13273if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 13665if { (ac_try="$ac_link"
13274 (eval $ac_link) 2>conftest.er1 13666case "(($ac_try" in
13667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13668 *) ac_try_echo=$ac_try;;
13669esac
13670eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13671 (eval "$ac_link") 2>conftest.er1
13275 ac_status=$? 13672 ac_status=$?
13276 grep -v '^ *+' conftest.er1 >conftest.err 13673 grep -v '^ *+' conftest.er1 >conftest.err
13277 rm -f conftest.er1 13674 rm -f conftest.er1
13278 cat conftest.err >&5 13675 cat conftest.err >&5
13279 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13280 (exit $ac_status); } && 13677 (exit $ac_status); } && {
13281 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 13678 test -z "$ac_c_werror_flag" ||
13282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13679 test ! -s conftest.err
13283 (eval $ac_try) 2>&5 13680 } && test -s conftest$ac_exeext &&
13284 ac_status=$? 13681 $as_test_x conftest$ac_exeext; then
13285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13286 (exit $ac_status); }; } &&
13287 { ac_try='test -s conftest$ac_exeext'
13288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13289 (eval $ac_try) 2>&5
13290 ac_status=$?
13291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13292 (exit $ac_status); }; }; then
13293 ac_cv_lib_SM_SmcOpenConnection=yes 13682 ac_cv_lib_SM_SmcOpenConnection=yes
13294else 13683else
13295 echo "$as_me: failed program was:" >&5 13684 echo "$as_me: failed program was:" >&5
13296sed 's/^/| /' conftest.$ac_ext >&5 13685sed 's/^/| /' conftest.$ac_ext >&5
13297 13686
13298ac_cv_lib_SM_SmcOpenConnection=no 13687 ac_cv_lib_SM_SmcOpenConnection=no
13299fi 13688fi
13300rm -f conftest.err conftest.$ac_objext \ 13689
13690rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13301 conftest$ac_exeext conftest.$ac_ext 13691 conftest$ac_exeext conftest.$ac_ext
13302LIBS=$ac_check_lib_save_LIBS 13692LIBS=$ac_check_lib_save_LIBS
13303fi 13693fi
13304echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5 13694{ echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
13305echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6 13695echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6; }
13306if test $ac_cv_lib_SM_SmcOpenConnection = yes; then 13696if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
13307 HAVE_X_SM=yes 13697 HAVE_X_SM=yes
13308fi 13698fi
@@ -13325,8 +13715,8 @@ _ACEOF
13325fi 13715fi
13326 13716
13327# If netdb.h doesn't declare h_errno, we must declare it by hand. 13717# If netdb.h doesn't declare h_errno, we must declare it by hand.
13328echo "$as_me:$LINENO: checking whether netdb declares h_errno" >&5 13718{ echo "$as_me:$LINENO: checking whether netdb declares h_errno" >&5
13329echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6 13719echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6; }
13330if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then 13720if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then
13331 echo $ECHO_N "(cached) $ECHO_C" >&6 13721 echo $ECHO_N "(cached) $ECHO_C" >&6
13332else 13722else
@@ -13346,38 +13736,36 @@ return h_errno;
13346} 13736}
13347_ACEOF 13737_ACEOF
13348rm -f conftest.$ac_objext conftest$ac_exeext 13738rm -f conftest.$ac_objext conftest$ac_exeext
13349if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 13739if { (ac_try="$ac_link"
13350 (eval $ac_link) 2>conftest.er1 13740case "(($ac_try" in
13741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13742 *) ac_try_echo=$ac_try;;
13743esac
13744eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13745 (eval "$ac_link") 2>conftest.er1
13351 ac_status=$? 13746 ac_status=$?
13352 grep -v '^ *+' conftest.er1 >conftest.err 13747 grep -v '^ *+' conftest.er1 >conftest.err
13353 rm -f conftest.er1 13748 rm -f conftest.er1
13354 cat conftest.err >&5 13749 cat conftest.err >&5
13355 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13356 (exit $ac_status); } && 13751 (exit $ac_status); } && {
13357 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 13752 test -z "$ac_c_werror_flag" ||
13358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13753 test ! -s conftest.err
13359 (eval $ac_try) 2>&5 13754 } && test -s conftest$ac_exeext &&
13360 ac_status=$? 13755 $as_test_x conftest$ac_exeext; then
13361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13362 (exit $ac_status); }; } &&
13363 { ac_try='test -s conftest$ac_exeext'
13364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13365 (eval $ac_try) 2>&5
13366 ac_status=$?
13367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13368 (exit $ac_status); }; }; then
13369 emacs_cv_netdb_declares_h_errno=yes 13756 emacs_cv_netdb_declares_h_errno=yes
13370else 13757else
13371 echo "$as_me: failed program was:" >&5 13758 echo "$as_me: failed program was:" >&5
13372sed 's/^/| /' conftest.$ac_ext >&5 13759sed 's/^/| /' conftest.$ac_ext >&5
13373 13760
13374emacs_cv_netdb_declares_h_errno=no 13761 emacs_cv_netdb_declares_h_errno=no
13375fi 13762fi
13376rm -f conftest.err conftest.$ac_objext \ 13763
13764rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13377 conftest$ac_exeext conftest.$ac_ext 13765 conftest$ac_exeext conftest.$ac_ext
13378fi 13766fi
13379echo "$as_me:$LINENO: result: $emacs_cv_netdb_declares_h_errno" >&5 13767{ echo "$as_me:$LINENO: result: $emacs_cv_netdb_declares_h_errno" >&5
13380echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6 13768echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6; }
13381if test $emacs_cv_netdb_declares_h_errno = yes; then 13769if test $emacs_cv_netdb_declares_h_errno = yes; then
13382 13770
13383cat >>confdefs.h <<\_ACEOF 13771cat >>confdefs.h <<\_ACEOF
@@ -13388,8 +13776,8 @@ fi
13388 13776
13389# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 13777# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
13390# for constant arguments. Useless! 13778# for constant arguments. Useless!
13391echo "$as_me:$LINENO: checking for working alloca.h" >&5 13779{ echo "$as_me:$LINENO: checking for working alloca.h" >&5
13392echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 13780echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
13393if test "${ac_cv_working_alloca_h+set}" = set; then 13781if test "${ac_cv_working_alloca_h+set}" = set; then
13394 echo $ECHO_N "(cached) $ECHO_C" >&6 13782 echo $ECHO_N "(cached) $ECHO_C" >&6
13395else 13783else
@@ -13404,43 +13792,42 @@ int
13404main () 13792main ()
13405{ 13793{
13406char *p = (char *) alloca (2 * sizeof (int)); 13794char *p = (char *) alloca (2 * sizeof (int));
13795 if (p) return 0;
13407 ; 13796 ;
13408 return 0; 13797 return 0;
13409} 13798}
13410_ACEOF 13799_ACEOF
13411rm -f conftest.$ac_objext conftest$ac_exeext 13800rm -f conftest.$ac_objext conftest$ac_exeext
13412if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 13801if { (ac_try="$ac_link"
13413 (eval $ac_link) 2>conftest.er1 13802case "(($ac_try" in
13803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13804 *) ac_try_echo=$ac_try;;
13805esac
13806eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13807 (eval "$ac_link") 2>conftest.er1
13414 ac_status=$? 13808 ac_status=$?
13415 grep -v '^ *+' conftest.er1 >conftest.err 13809 grep -v '^ *+' conftest.er1 >conftest.err
13416 rm -f conftest.er1 13810 rm -f conftest.er1
13417 cat conftest.err >&5 13811 cat conftest.err >&5
13418 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13419 (exit $ac_status); } && 13813 (exit $ac_status); } && {
13420 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 13814 test -z "$ac_c_werror_flag" ||
13421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13815 test ! -s conftest.err
13422 (eval $ac_try) 2>&5 13816 } && test -s conftest$ac_exeext &&
13423 ac_status=$? 13817 $as_test_x conftest$ac_exeext; then
13424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13425 (exit $ac_status); }; } &&
13426 { ac_try='test -s conftest$ac_exeext'
13427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13428 (eval $ac_try) 2>&5
13429 ac_status=$?
13430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13431 (exit $ac_status); }; }; then
13432 ac_cv_working_alloca_h=yes 13818 ac_cv_working_alloca_h=yes
13433else 13819else
13434 echo "$as_me: failed program was:" >&5 13820 echo "$as_me: failed program was:" >&5
13435sed 's/^/| /' conftest.$ac_ext >&5 13821sed 's/^/| /' conftest.$ac_ext >&5
13436 13822
13437ac_cv_working_alloca_h=no 13823 ac_cv_working_alloca_h=no
13438fi 13824fi
13439rm -f conftest.err conftest.$ac_objext \ 13825
13826rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13440 conftest$ac_exeext conftest.$ac_ext 13827 conftest$ac_exeext conftest.$ac_ext
13441fi 13828fi
13442echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 13829{ echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
13443echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 13830echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
13444if test $ac_cv_working_alloca_h = yes; then 13831if test $ac_cv_working_alloca_h = yes; then
13445 13832
13446cat >>confdefs.h <<\_ACEOF 13833cat >>confdefs.h <<\_ACEOF
@@ -13449,8 +13836,8 @@ _ACEOF
13449 13836
13450fi 13837fi
13451 13838
13452echo "$as_me:$LINENO: checking for alloca" >&5 13839{ echo "$as_me:$LINENO: checking for alloca" >&5
13453echo $ECHO_N "checking for alloca... $ECHO_C" >&6 13840echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
13454if test "${ac_cv_func_alloca_works+set}" = set; then 13841if test "${ac_cv_func_alloca_works+set}" = set; then
13455 echo $ECHO_N "(cached) $ECHO_C" >&6 13842 echo $ECHO_N "(cached) $ECHO_C" >&6
13456else 13843else
@@ -13467,7 +13854,7 @@ cat >>conftest.$ac_ext <<_ACEOF
13467# include <malloc.h> 13854# include <malloc.h>
13468# define alloca _alloca 13855# define alloca _alloca
13469# else 13856# else
13470# if HAVE_ALLOCA_H 13857# ifdef HAVE_ALLOCA_H
13471# include <alloca.h> 13858# include <alloca.h>
13472# else 13859# else
13473# ifdef _AIX 13860# ifdef _AIX
@@ -13485,43 +13872,42 @@ int
13485main () 13872main ()
13486{ 13873{
13487char *p = (char *) alloca (1); 13874char *p = (char *) alloca (1);
13875 if (p) return 0;
13488 ; 13876 ;
13489 return 0; 13877 return 0;
13490} 13878}
13491_ACEOF 13879_ACEOF
13492rm -f conftest.$ac_objext conftest$ac_exeext 13880rm -f conftest.$ac_objext conftest$ac_exeext
13493if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 13881if { (ac_try="$ac_link"
13494 (eval $ac_link) 2>conftest.er1 13882case "(($ac_try" in
13883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13884 *) ac_try_echo=$ac_try;;
13885esac
13886eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13887 (eval "$ac_link") 2>conftest.er1
13495 ac_status=$? 13888 ac_status=$?
13496 grep -v '^ *+' conftest.er1 >conftest.err 13889 grep -v '^ *+' conftest.er1 >conftest.err
13497 rm -f conftest.er1 13890 rm -f conftest.er1
13498 cat conftest.err >&5 13891 cat conftest.err >&5
13499 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13500 (exit $ac_status); } && 13893 (exit $ac_status); } && {
13501 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 13894 test -z "$ac_c_werror_flag" ||
13502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13895 test ! -s conftest.err
13503 (eval $ac_try) 2>&5 13896 } && test -s conftest$ac_exeext &&
13504 ac_status=$? 13897 $as_test_x conftest$ac_exeext; then
13505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13506 (exit $ac_status); }; } &&
13507 { ac_try='test -s conftest$ac_exeext'
13508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13509 (eval $ac_try) 2>&5
13510 ac_status=$?
13511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13512 (exit $ac_status); }; }; then
13513 ac_cv_func_alloca_works=yes 13898 ac_cv_func_alloca_works=yes
13514else 13899else
13515 echo "$as_me: failed program was:" >&5 13900 echo "$as_me: failed program was:" >&5
13516sed 's/^/| /' conftest.$ac_ext >&5 13901sed 's/^/| /' conftest.$ac_ext >&5
13517 13902
13518ac_cv_func_alloca_works=no 13903 ac_cv_func_alloca_works=no
13519fi 13904fi
13520rm -f conftest.err conftest.$ac_objext \ 13905
13906rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13521 conftest$ac_exeext conftest.$ac_ext 13907 conftest$ac_exeext conftest.$ac_ext
13522fi 13908fi
13523echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 13909{ echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
13524echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 13910echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
13525 13911
13526if test $ac_cv_func_alloca_works = yes; then 13912if test $ac_cv_func_alloca_works = yes; then
13527 13913
@@ -13535,15 +13921,15 @@ else
13535# contain a buggy version. If you still want to use their alloca, 13921# contain a buggy version. If you still want to use their alloca,
13536# use ar to extract alloca.o from them instead of compiling alloca.c. 13922# use ar to extract alloca.o from them instead of compiling alloca.c.
13537 13923
13538ALLOCA=alloca.$ac_objext 13924ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
13539 13925
13540cat >>confdefs.h <<\_ACEOF 13926cat >>confdefs.h <<\_ACEOF
13541#define C_ALLOCA 1 13927#define C_ALLOCA 1
13542_ACEOF 13928_ACEOF
13543 13929
13544 13930
13545echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 13931{ echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
13546echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 13932echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
13547if test "${ac_cv_os_cray+set}" = set; then 13933if test "${ac_cv_os_cray+set}" = set; then
13548 echo $ECHO_N "(cached) $ECHO_C" >&6 13934 echo $ECHO_N "(cached) $ECHO_C" >&6
13549else 13935else
@@ -13553,7 +13939,7 @@ _ACEOF
13553cat confdefs.h >>conftest.$ac_ext 13939cat confdefs.h >>conftest.$ac_ext
13554cat >>conftest.$ac_ext <<_ACEOF 13940cat >>conftest.$ac_ext <<_ACEOF
13555/* end confdefs.h. */ 13941/* end confdefs.h. */
13556#if defined(CRAY) && ! defined(CRAY2) 13942#if defined CRAY && ! defined CRAY2
13557webecray 13943webecray
13558#else 13944#else
13559wenotbecray 13945wenotbecray
@@ -13569,14 +13955,14 @@ fi
13569rm -f conftest* 13955rm -f conftest*
13570 13956
13571fi 13957fi
13572echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 13958{ echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
13573echo "${ECHO_T}$ac_cv_os_cray" >&6 13959echo "${ECHO_T}$ac_cv_os_cray" >&6; }
13574if test $ac_cv_os_cray = yes; then 13960if test $ac_cv_os_cray = yes; then
13575 for ac_func in _getb67 GETB67 getb67; do 13961 for ac_func in _getb67 GETB67 getb67; do
13576 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 13962 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13577echo "$as_me:$LINENO: checking for $ac_func" >&5 13963{ echo "$as_me:$LINENO: checking for $ac_func" >&5
13578echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 13964echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13579if eval "test \"\${$as_ac_var+set}\" = set"; then 13965if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13580 echo $ECHO_N "(cached) $ECHO_C" >&6 13966 echo $ECHO_N "(cached) $ECHO_C" >&6
13581else 13967else
13582 cat >conftest.$ac_ext <<_ACEOF 13968 cat >conftest.$ac_ext <<_ACEOF
@@ -13602,67 +13988,60 @@ cat >>conftest.$ac_ext <<_ACEOF
13602 13988
13603#undef $ac_func 13989#undef $ac_func
13604 13990
13605/* Override any gcc2 internal prototype to avoid an error. */ 13991/* Override any GCC internal prototype to avoid an error.
13992 Use char because int might match the return type of a GCC
13993 builtin and then its argument prototype would still apply. */
13606#ifdef __cplusplus 13994#ifdef __cplusplus
13607extern "C" 13995extern "C"
13608{
13609#endif 13996#endif
13610/* We use char because int might match the return type of a gcc2
13611 builtin and then its argument prototype would still apply. */
13612char $ac_func (); 13997char $ac_func ();
13613/* The GNU C library defines this for functions which it implements 13998/* The GNU C library defines this for functions which it implements
13614 to always fail with ENOSYS. Some functions are actually named 13999 to always fail with ENOSYS. Some functions are actually named
13615 something starting with __ and the normal name is an alias. */ 14000 something starting with __ and the normal name is an alias. */
13616#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 14001#if defined __stub_$ac_func || defined __stub___$ac_func
13617choke me 14002choke me
13618#else
13619char (*f) () = $ac_func;
13620#endif
13621#ifdef __cplusplus
13622}
13623#endif 14003#endif
13624 14004
13625int 14005int
13626main () 14006main ()
13627{ 14007{
13628return f != $ac_func; 14008return $ac_func ();
13629 ; 14009 ;
13630 return 0; 14010 return 0;
13631} 14011}
13632_ACEOF 14012_ACEOF
13633rm -f conftest.$ac_objext conftest$ac_exeext 14013rm -f conftest.$ac_objext conftest$ac_exeext
13634if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 14014if { (ac_try="$ac_link"
13635 (eval $ac_link) 2>conftest.er1 14015case "(($ac_try" in
14016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14017 *) ac_try_echo=$ac_try;;
14018esac
14019eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14020 (eval "$ac_link") 2>conftest.er1
13636 ac_status=$? 14021 ac_status=$?
13637 grep -v '^ *+' conftest.er1 >conftest.err 14022 grep -v '^ *+' conftest.er1 >conftest.err
13638 rm -f conftest.er1 14023 rm -f conftest.er1
13639 cat conftest.err >&5 14024 cat conftest.err >&5
13640 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13641 (exit $ac_status); } && 14026 (exit $ac_status); } && {
13642 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 14027 test -z "$ac_c_werror_flag" ||
13643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14028 test ! -s conftest.err
13644 (eval $ac_try) 2>&5 14029 } && test -s conftest$ac_exeext &&
13645 ac_status=$? 14030 $as_test_x conftest$ac_exeext; then
13646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13647 (exit $ac_status); }; } &&
13648 { ac_try='test -s conftest$ac_exeext'
13649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13650 (eval $ac_try) 2>&5
13651 ac_status=$?
13652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13653 (exit $ac_status); }; }; then
13654 eval "$as_ac_var=yes" 14031 eval "$as_ac_var=yes"
13655else 14032else
13656 echo "$as_me: failed program was:" >&5 14033 echo "$as_me: failed program was:" >&5
13657sed 's/^/| /' conftest.$ac_ext >&5 14034sed 's/^/| /' conftest.$ac_ext >&5
13658 14035
13659eval "$as_ac_var=no" 14036 eval "$as_ac_var=no"
13660fi 14037fi
13661rm -f conftest.err conftest.$ac_objext \ 14038
14039rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13662 conftest$ac_exeext conftest.$ac_ext 14040 conftest$ac_exeext conftest.$ac_ext
13663fi 14041fi
13664echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 14042ac_res=`eval echo '${'$as_ac_var'}'`
13665echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 14043 { echo "$as_me:$LINENO: result: $ac_res" >&5
14044echo "${ECHO_T}$ac_res" >&6; }
13666if test `eval echo '${'$as_ac_var'}'` = yes; then 14045if test `eval echo '${'$as_ac_var'}'` = yes; then
13667 14046
13668cat >>confdefs.h <<_ACEOF 14047cat >>confdefs.h <<_ACEOF
@@ -13675,8 +14054,8 @@ fi
13675 done 14054 done
13676fi 14055fi
13677 14056
13678echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 14057{ echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
13679echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 14058echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
13680if test "${ac_cv_c_stack_direction+set}" = set; then 14059if test "${ac_cv_c_stack_direction+set}" = set; then
13681 echo $ECHO_N "(cached) $ECHO_C" >&6 14060 echo $ECHO_N "(cached) $ECHO_C" >&6
13682else 14061else
@@ -13689,6 +14068,7 @@ _ACEOF
13689cat confdefs.h >>conftest.$ac_ext 14068cat confdefs.h >>conftest.$ac_ext
13690cat >>conftest.$ac_ext <<_ACEOF 14069cat >>conftest.$ac_ext <<_ACEOF
13691/* end confdefs.h. */ 14070/* end confdefs.h. */
14071$ac_includes_default
13692int 14072int
13693find_stack_direction () 14073find_stack_direction ()
13694{ 14074{
@@ -13706,17 +14086,26 @@ find_stack_direction ()
13706int 14086int
13707main () 14087main ()
13708{ 14088{
13709 exit (find_stack_direction () < 0); 14089 return find_stack_direction () < 0;
13710} 14090}
13711_ACEOF 14091_ACEOF
13712rm -f conftest$ac_exeext 14092rm -f conftest$ac_exeext
13713if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 14093if { (ac_try="$ac_link"
13714 (eval $ac_link) 2>&5 14094case "(($ac_try" in
14095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14096 *) ac_try_echo=$ac_try;;
14097esac
14098eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14099 (eval "$ac_link") 2>&5
13715 ac_status=$? 14100 ac_status=$?
13716 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13717 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 14102 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14103 { (case "(($ac_try" in
13719 (eval $ac_try) 2>&5 14104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14105 *) ac_try_echo=$ac_try;;
14106esac
14107eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14108 (eval "$ac_try") 2>&5
13720 ac_status=$? 14109 ac_status=$?
13721 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13722 (exit $ac_status); }; }; then 14111 (exit $ac_status); }; }; then
@@ -13729,11 +14118,13 @@ sed 's/^/| /' conftest.$ac_ext >&5
13729( exit $ac_status ) 14118( exit $ac_status )
13730ac_cv_c_stack_direction=-1 14119ac_cv_c_stack_direction=-1
13731fi 14120fi
13732rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 14121rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13733fi 14122fi
14123
14124
13734fi 14125fi
13735echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 14126{ echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
13736echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 14127echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
13737 14128
13738cat >>confdefs.h <<_ACEOF 14129cat >>confdefs.h <<_ACEOF
13739#define STACK_DIRECTION $ac_cv_c_stack_direction 14130#define STACK_DIRECTION $ac_cv_c_stack_direction
@@ -13746,8 +14137,8 @@ fi
13746# fmod, logb, and frexp are found in -lm on most systems. 14137# fmod, logb, and frexp are found in -lm on most systems.
13747# On HPUX 9.01, -lm does not contain logb, so check for sqrt. 14138# On HPUX 9.01, -lm does not contain logb, so check for sqrt.
13748 14139
13749echo "$as_me:$LINENO: checking for sqrt in -lm" >&5 14140{ echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
13750echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6 14141echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6; }
13751if test "${ac_cv_lib_m_sqrt+set}" = set; then 14142if test "${ac_cv_lib_m_sqrt+set}" = set; then
13752 echo $ECHO_N "(cached) $ECHO_C" >&6 14143 echo $ECHO_N "(cached) $ECHO_C" >&6
13753else 14144else
@@ -13760,55 +14151,53 @@ cat confdefs.h >>conftest.$ac_ext
13760cat >>conftest.$ac_ext <<_ACEOF 14151cat >>conftest.$ac_ext <<_ACEOF
13761/* end confdefs.h. */ 14152/* end confdefs.h. */
13762 14153
13763/* Override any gcc2 internal prototype to avoid an error. */ 14154/* Override any GCC internal prototype to avoid an error.
14155 Use char because int might match the return type of a GCC
14156 builtin and then its argument prototype would still apply. */
13764#ifdef __cplusplus 14157#ifdef __cplusplus
13765extern "C" 14158extern "C"
13766#endif 14159#endif
13767/* We use char because int might match the return type of a gcc2
13768 builtin and then its argument prototype would still apply. */
13769char sqrt (); 14160char sqrt ();
13770int 14161int
13771main () 14162main ()
13772{ 14163{
13773sqrt (); 14164return sqrt ();
13774 ; 14165 ;
13775 return 0; 14166 return 0;
13776} 14167}
13777_ACEOF 14168_ACEOF
13778rm -f conftest.$ac_objext conftest$ac_exeext 14169rm -f conftest.$ac_objext conftest$ac_exeext
13779if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 14170if { (ac_try="$ac_link"
13780 (eval $ac_link) 2>conftest.er1 14171case "(($ac_try" in
14172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14173 *) ac_try_echo=$ac_try;;
14174esac
14175eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14176 (eval "$ac_link") 2>conftest.er1
13781 ac_status=$? 14177 ac_status=$?
13782 grep -v '^ *+' conftest.er1 >conftest.err 14178 grep -v '^ *+' conftest.er1 >conftest.err
13783 rm -f conftest.er1 14179 rm -f conftest.er1
13784 cat conftest.err >&5 14180 cat conftest.err >&5
13785 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13786 (exit $ac_status); } && 14182 (exit $ac_status); } && {
13787 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 14183 test -z "$ac_c_werror_flag" ||
13788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14184 test ! -s conftest.err
13789 (eval $ac_try) 2>&5 14185 } && test -s conftest$ac_exeext &&
13790 ac_status=$? 14186 $as_test_x conftest$ac_exeext; then
13791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13792 (exit $ac_status); }; } &&
13793 { ac_try='test -s conftest$ac_exeext'
13794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13795 (eval $ac_try) 2>&5
13796 ac_status=$?
13797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13798 (exit $ac_status); }; }; then
13799 ac_cv_lib_m_sqrt=yes 14187 ac_cv_lib_m_sqrt=yes
13800else 14188else
13801 echo "$as_me: failed program was:" >&5 14189 echo "$as_me: failed program was:" >&5
13802sed 's/^/| /' conftest.$ac_ext >&5 14190sed 's/^/| /' conftest.$ac_ext >&5
13803 14191
13804ac_cv_lib_m_sqrt=no 14192 ac_cv_lib_m_sqrt=no
13805fi 14193fi
13806rm -f conftest.err conftest.$ac_objext \ 14194
14195rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13807 conftest$ac_exeext conftest.$ac_ext 14196 conftest$ac_exeext conftest.$ac_ext
13808LIBS=$ac_check_lib_save_LIBS 14197LIBS=$ac_check_lib_save_LIBS
13809fi 14198fi
13810echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5 14199{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
13811echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6 14200echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6; }
13812if test $ac_cv_lib_m_sqrt = yes; then 14201if test $ac_cv_lib_m_sqrt = yes; then
13813 cat >>confdefs.h <<_ACEOF 14202 cat >>confdefs.h <<_ACEOF
13814#define HAVE_LIBM 1 14203#define HAVE_LIBM 1
@@ -13822,8 +14211,8 @@ fi
13822# Check for mail-locking functions in a "mail" library. Probably this should 14211# Check for mail-locking functions in a "mail" library. Probably this should
13823# have the same check as for liblockfile below. 14212# have the same check as for liblockfile below.
13824 14213
13825echo "$as_me:$LINENO: checking for maillock in -lmail" >&5 14214{ echo "$as_me:$LINENO: checking for maillock in -lmail" >&5
13826echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6 14215echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6; }
13827if test "${ac_cv_lib_mail_maillock+set}" = set; then 14216if test "${ac_cv_lib_mail_maillock+set}" = set; then
13828 echo $ECHO_N "(cached) $ECHO_C" >&6 14217 echo $ECHO_N "(cached) $ECHO_C" >&6
13829else 14218else
@@ -13836,55 +14225,53 @@ cat confdefs.h >>conftest.$ac_ext
13836cat >>conftest.$ac_ext <<_ACEOF 14225cat >>conftest.$ac_ext <<_ACEOF
13837/* end confdefs.h. */ 14226/* end confdefs.h. */
13838 14227
13839/* Override any gcc2 internal prototype to avoid an error. */ 14228/* Override any GCC internal prototype to avoid an error.
14229 Use char because int might match the return type of a GCC
14230 builtin and then its argument prototype would still apply. */
13840#ifdef __cplusplus 14231#ifdef __cplusplus
13841extern "C" 14232extern "C"
13842#endif 14233#endif
13843/* We use char because int might match the return type of a gcc2
13844 builtin and then its argument prototype would still apply. */
13845char maillock (); 14234char maillock ();
13846int 14235int
13847main () 14236main ()
13848{ 14237{
13849maillock (); 14238return maillock ();
13850 ; 14239 ;
13851 return 0; 14240 return 0;
13852} 14241}
13853_ACEOF 14242_ACEOF
13854rm -f conftest.$ac_objext conftest$ac_exeext 14243rm -f conftest.$ac_objext conftest$ac_exeext
13855if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 14244if { (ac_try="$ac_link"
13856 (eval $ac_link) 2>conftest.er1 14245case "(($ac_try" in
14246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14247 *) ac_try_echo=$ac_try;;
14248esac
14249eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14250 (eval "$ac_link") 2>conftest.er1
13857 ac_status=$? 14251 ac_status=$?
13858 grep -v '^ *+' conftest.er1 >conftest.err 14252 grep -v '^ *+' conftest.er1 >conftest.err
13859 rm -f conftest.er1 14253 rm -f conftest.er1
13860 cat conftest.err >&5 14254 cat conftest.err >&5
13861 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13862 (exit $ac_status); } && 14256 (exit $ac_status); } && {
13863 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 14257 test -z "$ac_c_werror_flag" ||
13864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14258 test ! -s conftest.err
13865 (eval $ac_try) 2>&5 14259 } && test -s conftest$ac_exeext &&
13866 ac_status=$? 14260 $as_test_x conftest$ac_exeext; then
13867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13868 (exit $ac_status); }; } &&
13869 { ac_try='test -s conftest$ac_exeext'
13870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13871 (eval $ac_try) 2>&5
13872 ac_status=$?
13873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13874 (exit $ac_status); }; }; then
13875 ac_cv_lib_mail_maillock=yes 14261 ac_cv_lib_mail_maillock=yes
13876else 14262else
13877 echo "$as_me: failed program was:" >&5 14263 echo "$as_me: failed program was:" >&5
13878sed 's/^/| /' conftest.$ac_ext >&5 14264sed 's/^/| /' conftest.$ac_ext >&5
13879 14265
13880ac_cv_lib_mail_maillock=no 14266 ac_cv_lib_mail_maillock=no
13881fi 14267fi
13882rm -f conftest.err conftest.$ac_objext \ 14268
14269rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13883 conftest$ac_exeext conftest.$ac_ext 14270 conftest$ac_exeext conftest.$ac_ext
13884LIBS=$ac_check_lib_save_LIBS 14271LIBS=$ac_check_lib_save_LIBS
13885fi 14272fi
13886echo "$as_me:$LINENO: result: $ac_cv_lib_mail_maillock" >&5 14273{ echo "$as_me:$LINENO: result: $ac_cv_lib_mail_maillock" >&5
13887echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6 14274echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6; }
13888if test $ac_cv_lib_mail_maillock = yes; then 14275if test $ac_cv_lib_mail_maillock = yes; then
13889 cat >>confdefs.h <<_ACEOF 14276 cat >>confdefs.h <<_ACEOF
13890#define HAVE_LIBMAIL 1 14277#define HAVE_LIBMAIL 1
@@ -13895,8 +14282,8 @@ _ACEOF
13895fi 14282fi
13896 14283
13897 14284
13898echo "$as_me:$LINENO: checking for maillock in -llockfile" >&5 14285{ echo "$as_me:$LINENO: checking for maillock in -llockfile" >&5
13899echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6 14286echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6; }
13900if test "${ac_cv_lib_lockfile_maillock+set}" = set; then 14287if test "${ac_cv_lib_lockfile_maillock+set}" = set; then
13901 echo $ECHO_N "(cached) $ECHO_C" >&6 14288 echo $ECHO_N "(cached) $ECHO_C" >&6
13902else 14289else
@@ -13909,55 +14296,53 @@ cat confdefs.h >>conftest.$ac_ext
13909cat >>conftest.$ac_ext <<_ACEOF 14296cat >>conftest.$ac_ext <<_ACEOF
13910/* end confdefs.h. */ 14297/* end confdefs.h. */
13911 14298
13912/* Override any gcc2 internal prototype to avoid an error. */ 14299/* Override any GCC internal prototype to avoid an error.
14300 Use char because int might match the return type of a GCC
14301 builtin and then its argument prototype would still apply. */
13913#ifdef __cplusplus 14302#ifdef __cplusplus
13914extern "C" 14303extern "C"
13915#endif 14304#endif
13916/* We use char because int might match the return type of a gcc2
13917 builtin and then its argument prototype would still apply. */
13918char maillock (); 14305char maillock ();
13919int 14306int
13920main () 14307main ()
13921{ 14308{
13922maillock (); 14309return maillock ();
13923 ; 14310 ;
13924 return 0; 14311 return 0;
13925} 14312}
13926_ACEOF 14313_ACEOF
13927rm -f conftest.$ac_objext conftest$ac_exeext 14314rm -f conftest.$ac_objext conftest$ac_exeext
13928if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 14315if { (ac_try="$ac_link"
13929 (eval $ac_link) 2>conftest.er1 14316case "(($ac_try" in
14317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14318 *) ac_try_echo=$ac_try;;
14319esac
14320eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14321 (eval "$ac_link") 2>conftest.er1
13930 ac_status=$? 14322 ac_status=$?
13931 grep -v '^ *+' conftest.er1 >conftest.err 14323 grep -v '^ *+' conftest.er1 >conftest.err
13932 rm -f conftest.er1 14324 rm -f conftest.er1
13933 cat conftest.err >&5 14325 cat conftest.err >&5
13934 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13935 (exit $ac_status); } && 14327 (exit $ac_status); } && {
13936 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 14328 test -z "$ac_c_werror_flag" ||
13937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14329 test ! -s conftest.err
13938 (eval $ac_try) 2>&5 14330 } && test -s conftest$ac_exeext &&
13939 ac_status=$? 14331 $as_test_x conftest$ac_exeext; then
13940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13941 (exit $ac_status); }; } &&
13942 { ac_try='test -s conftest$ac_exeext'
13943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13944 (eval $ac_try) 2>&5
13945 ac_status=$?
13946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13947 (exit $ac_status); }; }; then
13948 ac_cv_lib_lockfile_maillock=yes 14332 ac_cv_lib_lockfile_maillock=yes
13949else 14333else
13950 echo "$as_me: failed program was:" >&5 14334 echo "$as_me: failed program was:" >&5
13951sed 's/^/| /' conftest.$ac_ext >&5 14335sed 's/^/| /' conftest.$ac_ext >&5
13952 14336
13953ac_cv_lib_lockfile_maillock=no 14337 ac_cv_lib_lockfile_maillock=no
13954fi 14338fi
13955rm -f conftest.err conftest.$ac_objext \ 14339
14340rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13956 conftest$ac_exeext conftest.$ac_ext 14341 conftest$ac_exeext conftest.$ac_ext
13957LIBS=$ac_check_lib_save_LIBS 14342LIBS=$ac_check_lib_save_LIBS
13958fi 14343fi
13959echo "$as_me:$LINENO: result: $ac_cv_lib_lockfile_maillock" >&5 14344{ echo "$as_me:$LINENO: result: $ac_cv_lib_lockfile_maillock" >&5
13960echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6 14345echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6; }
13961if test $ac_cv_lib_lockfile_maillock = yes; then 14346if test $ac_cv_lib_lockfile_maillock = yes; then
13962 cat >>confdefs.h <<_ACEOF 14347 cat >>confdefs.h <<_ACEOF
13963#define HAVE_LIBLOCKFILE 1 14348#define HAVE_LIBLOCKFILE 1
@@ -13973,8 +14358,8 @@ fi
13973if test "$ac_cv_lib_lockfile_maillock" = no; then 14358if test "$ac_cv_lib_lockfile_maillock" = no; then
13974 # Extract the first word of "liblockfile.so", so it can be a program name with args. 14359 # Extract the first word of "liblockfile.so", so it can be a program name with args.
13975set dummy liblockfile.so; ac_word=$2 14360set dummy liblockfile.so; ac_word=$2
13976echo "$as_me:$LINENO: checking for $ac_word" >&5 14361{ echo "$as_me:$LINENO: checking for $ac_word" >&5
13977echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 14362echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13978if test "${ac_cv_prog_liblockfile+set}" = set; then 14363if test "${ac_cv_prog_liblockfile+set}" = set; then
13979 echo $ECHO_N "(cached) $ECHO_C" >&6 14364 echo $ECHO_N "(cached) $ECHO_C" >&6
13980else 14365else
@@ -13988,26 +14373,28 @@ do
13988 IFS=$as_save_IFS 14373 IFS=$as_save_IFS
13989 test -z "$as_dir" && as_dir=. 14374 test -z "$as_dir" && as_dir=.
13990 for ac_exec_ext in '' $ac_executable_extensions; do 14375 for ac_exec_ext in '' $ac_executable_extensions; do
13991 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13992 ac_cv_prog_liblockfile="yes" 14377 ac_cv_prog_liblockfile="yes"
13993 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 14378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13994 break 2 14379 break 2
13995 fi 14380 fi
13996done 14381done
13997done 14382done
14383IFS=$as_save_IFS
13998 14384
13999 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no" 14385 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no"
14000fi 14386fi
14001fi 14387fi
14002liblockfile=$ac_cv_prog_liblockfile 14388liblockfile=$ac_cv_prog_liblockfile
14003if test -n "$liblockfile"; then 14389if test -n "$liblockfile"; then
14004 echo "$as_me:$LINENO: result: $liblockfile" >&5 14390 { echo "$as_me:$LINENO: result: $liblockfile" >&5
14005echo "${ECHO_T}$liblockfile" >&6 14391echo "${ECHO_T}$liblockfile" >&6; }
14006else 14392else
14007 echo "$as_me:$LINENO: result: no" >&5 14393 { echo "$as_me:$LINENO: result: no" >&5
14008echo "${ECHO_T}no" >&6 14394echo "${ECHO_T}no" >&6; }
14009fi 14395fi
14010 14396
14397
14011 if test $ac_cv_prog_liblockfile = yes; then 14398 if test $ac_cv_prog_liblockfile = yes; then
14012 { { echo "$as_me:$LINENO: error: Shared liblockfile found but can't link against it. 14399 { { echo "$as_me:$LINENO: error: Shared liblockfile found but can't link against it.
14013This probably means that movemail could lose mail. 14400This probably means that movemail could lose mail.
@@ -14023,9 +14410,9 @@ fi
14023for ac_func in touchlock 14410for ac_func in touchlock
14024do 14411do
14025as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 14412as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14026echo "$as_me:$LINENO: checking for $ac_func" >&5 14413{ echo "$as_me:$LINENO: checking for $ac_func" >&5
14027echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 14414echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14028if eval "test \"\${$as_ac_var+set}\" = set"; then 14415if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14029 echo $ECHO_N "(cached) $ECHO_C" >&6 14416 echo $ECHO_N "(cached) $ECHO_C" >&6
14030else 14417else
14031 cat >conftest.$ac_ext <<_ACEOF 14418 cat >conftest.$ac_ext <<_ACEOF
@@ -14051,67 +14438,60 @@ cat >>conftest.$ac_ext <<_ACEOF
14051 14438
14052#undef $ac_func 14439#undef $ac_func
14053 14440
14054/* Override any gcc2 internal prototype to avoid an error. */ 14441/* Override any GCC internal prototype to avoid an error.
14442 Use char because int might match the return type of a GCC
14443 builtin and then its argument prototype would still apply. */
14055#ifdef __cplusplus 14444#ifdef __cplusplus
14056extern "C" 14445extern "C"
14057{
14058#endif 14446#endif
14059/* We use char because int might match the return type of a gcc2
14060 builtin and then its argument prototype would still apply. */
14061char $ac_func (); 14447char $ac_func ();
14062/* The GNU C library defines this for functions which it implements 14448/* The GNU C library defines this for functions which it implements
14063 to always fail with ENOSYS. Some functions are actually named 14449 to always fail with ENOSYS. Some functions are actually named
14064 something starting with __ and the normal name is an alias. */ 14450 something starting with __ and the normal name is an alias. */
14065#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 14451#if defined __stub_$ac_func || defined __stub___$ac_func
14066choke me 14452choke me
14067#else
14068char (*f) () = $ac_func;
14069#endif
14070#ifdef __cplusplus
14071}
14072#endif 14453#endif
14073 14454
14074int 14455int
14075main () 14456main ()
14076{ 14457{
14077return f != $ac_func; 14458return $ac_func ();
14078 ; 14459 ;
14079 return 0; 14460 return 0;
14080} 14461}
14081_ACEOF 14462_ACEOF
14082rm -f conftest.$ac_objext conftest$ac_exeext 14463rm -f conftest.$ac_objext conftest$ac_exeext
14083if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 14464if { (ac_try="$ac_link"
14084 (eval $ac_link) 2>conftest.er1 14465case "(($ac_try" in
14466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14467 *) ac_try_echo=$ac_try;;
14468esac
14469eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14470 (eval "$ac_link") 2>conftest.er1
14085 ac_status=$? 14471 ac_status=$?
14086 grep -v '^ *+' conftest.er1 >conftest.err 14472 grep -v '^ *+' conftest.er1 >conftest.err
14087 rm -f conftest.er1 14473 rm -f conftest.er1
14088 cat conftest.err >&5 14474 cat conftest.err >&5
14089 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14090 (exit $ac_status); } && 14476 (exit $ac_status); } && {
14091 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 14477 test -z "$ac_c_werror_flag" ||
14092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14478 test ! -s conftest.err
14093 (eval $ac_try) 2>&5 14479 } && test -s conftest$ac_exeext &&
14094 ac_status=$? 14480 $as_test_x conftest$ac_exeext; then
14095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14096 (exit $ac_status); }; } &&
14097 { ac_try='test -s conftest$ac_exeext'
14098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14099 (eval $ac_try) 2>&5
14100 ac_status=$?
14101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14102 (exit $ac_status); }; }; then
14103 eval "$as_ac_var=yes" 14481 eval "$as_ac_var=yes"
14104else 14482else
14105 echo "$as_me: failed program was:" >&5 14483 echo "$as_me: failed program was:" >&5
14106sed 's/^/| /' conftest.$ac_ext >&5 14484sed 's/^/| /' conftest.$ac_ext >&5
14107 14485
14108eval "$as_ac_var=no" 14486 eval "$as_ac_var=no"
14109fi 14487fi
14110rm -f conftest.err conftest.$ac_objext \ 14488
14489rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14111 conftest$ac_exeext conftest.$ac_ext 14490 conftest$ac_exeext conftest.$ac_ext
14112fi 14491fi
14113echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 14492ac_res=`eval echo '${'$as_ac_var'}'`
14114echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 14493 { echo "$as_me:$LINENO: result: $ac_res" >&5
14494echo "${ECHO_T}$ac_res" >&6; }
14115if test `eval echo '${'$as_ac_var'}'` = yes; then 14495if test `eval echo '${'$as_ac_var'}'` = yes; then
14116 cat >>confdefs.h <<_ACEOF 14496 cat >>confdefs.h <<_ACEOF
14117#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 14497#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
@@ -14124,18 +14504,19 @@ done
14124for ac_header in maillock.h 14504for ac_header in maillock.h
14125do 14505do
14126as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 14506as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14127if eval "test \"\${$as_ac_Header+set}\" = set"; then 14507if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14128 echo "$as_me:$LINENO: checking for $ac_header" >&5 14508 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14129echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 14509echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14130if eval "test \"\${$as_ac_Header+set}\" = set"; then 14510if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14131 echo $ECHO_N "(cached) $ECHO_C" >&6 14511 echo $ECHO_N "(cached) $ECHO_C" >&6
14132fi 14512fi
14133echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 14513ac_res=`eval echo '${'$as_ac_Header'}'`
14134echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 14514 { echo "$as_me:$LINENO: result: $ac_res" >&5
14515echo "${ECHO_T}$ac_res" >&6; }
14135else 14516else
14136 # Is the header compilable? 14517 # Is the header compilable?
14137echo "$as_me:$LINENO: checking $ac_header usability" >&5 14518{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
14138echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 14519echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
14139cat >conftest.$ac_ext <<_ACEOF 14520cat >conftest.$ac_ext <<_ACEOF
14140/* confdefs.h. */ 14521/* confdefs.h. */
14141_ACEOF 14522_ACEOF
@@ -14146,40 +14527,37 @@ $ac_includes_default
14146#include <$ac_header> 14527#include <$ac_header>
14147_ACEOF 14528_ACEOF
14148rm -f conftest.$ac_objext 14529rm -f conftest.$ac_objext
14149if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 14530if { (ac_try="$ac_compile"
14150 (eval $ac_compile) 2>conftest.er1 14531case "(($ac_try" in
14532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14533 *) ac_try_echo=$ac_try;;
14534esac
14535eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14536 (eval "$ac_compile") 2>conftest.er1
14151 ac_status=$? 14537 ac_status=$?
14152 grep -v '^ *+' conftest.er1 >conftest.err 14538 grep -v '^ *+' conftest.er1 >conftest.err
14153 rm -f conftest.er1 14539 rm -f conftest.er1
14154 cat conftest.err >&5 14540 cat conftest.err >&5
14155 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14156 (exit $ac_status); } && 14542 (exit $ac_status); } && {
14157 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 14543 test -z "$ac_c_werror_flag" ||
14158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14544 test ! -s conftest.err
14159 (eval $ac_try) 2>&5 14545 } && test -s conftest.$ac_objext; then
14160 ac_status=$?
14161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14162 (exit $ac_status); }; } &&
14163 { ac_try='test -s conftest.$ac_objext'
14164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14165 (eval $ac_try) 2>&5
14166 ac_status=$?
14167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14168 (exit $ac_status); }; }; then
14169 ac_header_compiler=yes 14546 ac_header_compiler=yes
14170else 14547else
14171 echo "$as_me: failed program was:" >&5 14548 echo "$as_me: failed program was:" >&5
14172sed 's/^/| /' conftest.$ac_ext >&5 14549sed 's/^/| /' conftest.$ac_ext >&5
14173 14550
14174ac_header_compiler=no 14551 ac_header_compiler=no
14175fi 14552fi
14176rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 14553
14177echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 14554rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14178echo "${ECHO_T}$ac_header_compiler" >&6 14555{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14556echo "${ECHO_T}$ac_header_compiler" >&6; }
14179 14557
14180# Is the header present? 14558# Is the header present?
14181echo "$as_me:$LINENO: checking $ac_header presence" >&5 14559{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
14182echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 14560echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
14183cat >conftest.$ac_ext <<_ACEOF 14561cat >conftest.$ac_ext <<_ACEOF
14184/* confdefs.h. */ 14562/* confdefs.h. */
14185_ACEOF 14563_ACEOF
@@ -14188,24 +14566,22 @@ cat >>conftest.$ac_ext <<_ACEOF
14188/* end confdefs.h. */ 14566/* end confdefs.h. */
14189#include <$ac_header> 14567#include <$ac_header>
14190_ACEOF 14568_ACEOF
14191if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 14569if { (ac_try="$ac_cpp conftest.$ac_ext"
14192 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 14570case "(($ac_try" in
14571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14572 *) ac_try_echo=$ac_try;;
14573esac
14574eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14575 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14193 ac_status=$? 14576 ac_status=$?
14194 grep -v '^ *+' conftest.er1 >conftest.err 14577 grep -v '^ *+' conftest.er1 >conftest.err
14195 rm -f conftest.er1 14578 rm -f conftest.er1
14196 cat conftest.err >&5 14579 cat conftest.err >&5
14197 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14198 (exit $ac_status); } >/dev/null; then 14581 (exit $ac_status); } >/dev/null && {
14199 if test -s conftest.err; then 14582 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14200 ac_cpp_err=$ac_c_preproc_warn_flag 14583 test ! -s conftest.err
14201 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 14584 }; then
14202 else
14203 ac_cpp_err=
14204 fi
14205else
14206 ac_cpp_err=yes
14207fi
14208if test -z "$ac_cpp_err"; then
14209 ac_header_preproc=yes 14585 ac_header_preproc=yes
14210else 14586else
14211 echo "$as_me: failed program was:" >&5 14587 echo "$as_me: failed program was:" >&5
@@ -14213,9 +14589,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
14213 14589
14214 ac_header_preproc=no 14590 ac_header_preproc=no
14215fi 14591fi
14592
14216rm -f conftest.err conftest.$ac_ext 14593rm -f conftest.err conftest.$ac_ext
14217echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 14594{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14218echo "${ECHO_T}$ac_header_preproc" >&6 14595echo "${ECHO_T}$ac_header_preproc" >&6; }
14219 14596
14220# So? What about this header? 14597# So? What about this header?
14221case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 14598case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
@@ -14239,25 +14616,19 @@ echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\
14239echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 14616echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14240 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 14617 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14241echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 14618echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14242 ( 14619
14243 cat <<\_ASBOX
14244## ------------------------------------------ ##
14245## Report this to the AC_PACKAGE_NAME lists. ##
14246## ------------------------------------------ ##
14247_ASBOX
14248 ) |
14249 sed "s/^/$as_me: WARNING: /" >&2
14250 ;; 14620 ;;
14251esac 14621esac
14252echo "$as_me:$LINENO: checking for $ac_header" >&5 14622{ echo "$as_me:$LINENO: checking for $ac_header" >&5
14253echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 14623echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14254if eval "test \"\${$as_ac_Header+set}\" = set"; then 14624if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14255 echo $ECHO_N "(cached) $ECHO_C" >&6 14625 echo $ECHO_N "(cached) $ECHO_C" >&6
14256else 14626else
14257 eval "$as_ac_Header=\$ac_header_preproc" 14627 eval "$as_ac_Header=\$ac_header_preproc"
14258fi 14628fi
14259echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 14629ac_res=`eval echo '${'$as_ac_Header'}'`
14260echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 14630 { echo "$as_me:$LINENO: result: $ac_res" >&5
14631echo "${ECHO_T}$ac_res" >&6; }
14261 14632
14262fi 14633fi
14263if test `eval echo '${'$as_ac_Header'}'` = yes; then 14634if test `eval echo '${'$as_ac_Header'}'` = yes; then
@@ -14349,9 +14720,9 @@ gai_strerror mkstemp getline getdelim mremap memmove fsync bzero \
14349memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign 14720memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign
14350do 14721do
14351as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 14722as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14352echo "$as_me:$LINENO: checking for $ac_func" >&5 14723{ echo "$as_me:$LINENO: checking for $ac_func" >&5
14353echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 14724echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14354if eval "test \"\${$as_ac_var+set}\" = set"; then 14725if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14355 echo $ECHO_N "(cached) $ECHO_C" >&6 14726 echo $ECHO_N "(cached) $ECHO_C" >&6
14356else 14727else
14357 cat >conftest.$ac_ext <<_ACEOF 14728 cat >conftest.$ac_ext <<_ACEOF
@@ -14377,67 +14748,60 @@ cat >>conftest.$ac_ext <<_ACEOF
14377 14748
14378#undef $ac_func 14749#undef $ac_func
14379 14750
14380/* Override any gcc2 internal prototype to avoid an error. */ 14751/* Override any GCC internal prototype to avoid an error.
14752 Use char because int might match the return type of a GCC
14753 builtin and then its argument prototype would still apply. */
14381#ifdef __cplusplus 14754#ifdef __cplusplus
14382extern "C" 14755extern "C"
14383{
14384#endif 14756#endif
14385/* We use char because int might match the return type of a gcc2
14386 builtin and then its argument prototype would still apply. */
14387char $ac_func (); 14757char $ac_func ();
14388/* The GNU C library defines this for functions which it implements 14758/* The GNU C library defines this for functions which it implements
14389 to always fail with ENOSYS. Some functions are actually named 14759 to always fail with ENOSYS. Some functions are actually named
14390 something starting with __ and the normal name is an alias. */ 14760 something starting with __ and the normal name is an alias. */
14391#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 14761#if defined __stub_$ac_func || defined __stub___$ac_func
14392choke me 14762choke me
14393#else
14394char (*f) () = $ac_func;
14395#endif
14396#ifdef __cplusplus
14397}
14398#endif 14763#endif
14399 14764
14400int 14765int
14401main () 14766main ()
14402{ 14767{
14403return f != $ac_func; 14768return $ac_func ();
14404 ; 14769 ;
14405 return 0; 14770 return 0;
14406} 14771}
14407_ACEOF 14772_ACEOF
14408rm -f conftest.$ac_objext conftest$ac_exeext 14773rm -f conftest.$ac_objext conftest$ac_exeext
14409if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 14774if { (ac_try="$ac_link"
14410 (eval $ac_link) 2>conftest.er1 14775case "(($ac_try" in
14776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14777 *) ac_try_echo=$ac_try;;
14778esac
14779eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14780 (eval "$ac_link") 2>conftest.er1
14411 ac_status=$? 14781 ac_status=$?
14412 grep -v '^ *+' conftest.er1 >conftest.err 14782 grep -v '^ *+' conftest.er1 >conftest.err
14413 rm -f conftest.er1 14783 rm -f conftest.er1
14414 cat conftest.err >&5 14784 cat conftest.err >&5
14415 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14416 (exit $ac_status); } && 14786 (exit $ac_status); } && {
14417 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 14787 test -z "$ac_c_werror_flag" ||
14418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14788 test ! -s conftest.err
14419 (eval $ac_try) 2>&5 14789 } && test -s conftest$ac_exeext &&
14420 ac_status=$? 14790 $as_test_x conftest$ac_exeext; then
14421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14422 (exit $ac_status); }; } &&
14423 { ac_try='test -s conftest$ac_exeext'
14424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14425 (eval $ac_try) 2>&5
14426 ac_status=$?
14427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14428 (exit $ac_status); }; }; then
14429 eval "$as_ac_var=yes" 14791 eval "$as_ac_var=yes"
14430else 14792else
14431 echo "$as_me: failed program was:" >&5 14793 echo "$as_me: failed program was:" >&5
14432sed 's/^/| /' conftest.$ac_ext >&5 14794sed 's/^/| /' conftest.$ac_ext >&5
14433 14795
14434eval "$as_ac_var=no" 14796 eval "$as_ac_var=no"
14435fi 14797fi
14436rm -f conftest.err conftest.$ac_objext \ 14798
14799rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14437 conftest$ac_exeext conftest.$ac_ext 14800 conftest$ac_exeext conftest.$ac_ext
14438fi 14801fi
14439echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 14802ac_res=`eval echo '${'$as_ac_var'}'`
14440echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 14803 { echo "$as_me:$LINENO: result: $ac_res" >&5
14804echo "${ECHO_T}$ac_res" >&6; }
14441if test `eval echo '${'$as_ac_var'}'` = yes; then 14805if test `eval echo '${'$as_ac_var'}'` = yes; then
14442 cat >>confdefs.h <<_ACEOF 14806 cat >>confdefs.h <<_ACEOF
14443#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 14807#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
@@ -14451,18 +14815,19 @@ done
14451for ac_header in sys/un.h 14815for ac_header in sys/un.h
14452do 14816do
14453as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 14817as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14454if eval "test \"\${$as_ac_Header+set}\" = set"; then 14818if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14455 echo "$as_me:$LINENO: checking for $ac_header" >&5 14819 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14456echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 14820echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14457if eval "test \"\${$as_ac_Header+set}\" = set"; then 14821if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14458 echo $ECHO_N "(cached) $ECHO_C" >&6 14822 echo $ECHO_N "(cached) $ECHO_C" >&6
14459fi 14823fi
14460echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 14824ac_res=`eval echo '${'$as_ac_Header'}'`
14461echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 14825 { echo "$as_me:$LINENO: result: $ac_res" >&5
14826echo "${ECHO_T}$ac_res" >&6; }
14462else 14827else
14463 # Is the header compilable? 14828 # Is the header compilable?
14464echo "$as_me:$LINENO: checking $ac_header usability" >&5 14829{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
14465echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 14830echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
14466cat >conftest.$ac_ext <<_ACEOF 14831cat >conftest.$ac_ext <<_ACEOF
14467/* confdefs.h. */ 14832/* confdefs.h. */
14468_ACEOF 14833_ACEOF
@@ -14473,40 +14838,37 @@ $ac_includes_default
14473#include <$ac_header> 14838#include <$ac_header>
14474_ACEOF 14839_ACEOF
14475rm -f conftest.$ac_objext 14840rm -f conftest.$ac_objext
14476if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 14841if { (ac_try="$ac_compile"
14477 (eval $ac_compile) 2>conftest.er1 14842case "(($ac_try" in
14843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14844 *) ac_try_echo=$ac_try;;
14845esac
14846eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14847 (eval "$ac_compile") 2>conftest.er1
14478 ac_status=$? 14848 ac_status=$?
14479 grep -v '^ *+' conftest.er1 >conftest.err 14849 grep -v '^ *+' conftest.er1 >conftest.err
14480 rm -f conftest.er1 14850 rm -f conftest.er1
14481 cat conftest.err >&5 14851 cat conftest.err >&5
14482 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14483 (exit $ac_status); } && 14853 (exit $ac_status); } && {
14484 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 14854 test -z "$ac_c_werror_flag" ||
14485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14855 test ! -s conftest.err
14486 (eval $ac_try) 2>&5 14856 } && test -s conftest.$ac_objext; then
14487 ac_status=$?
14488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14489 (exit $ac_status); }; } &&
14490 { ac_try='test -s conftest.$ac_objext'
14491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14492 (eval $ac_try) 2>&5
14493 ac_status=$?
14494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14495 (exit $ac_status); }; }; then
14496 ac_header_compiler=yes 14857 ac_header_compiler=yes
14497else 14858else
14498 echo "$as_me: failed program was:" >&5 14859 echo "$as_me: failed program was:" >&5
14499sed 's/^/| /' conftest.$ac_ext >&5 14860sed 's/^/| /' conftest.$ac_ext >&5
14500 14861
14501ac_header_compiler=no 14862 ac_header_compiler=no
14502fi 14863fi
14503rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 14864
14504echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 14865rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14505echo "${ECHO_T}$ac_header_compiler" >&6 14866{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14867echo "${ECHO_T}$ac_header_compiler" >&6; }
14506 14868
14507# Is the header present? 14869# Is the header present?
14508echo "$as_me:$LINENO: checking $ac_header presence" >&5 14870{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
14509echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 14871echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
14510cat >conftest.$ac_ext <<_ACEOF 14872cat >conftest.$ac_ext <<_ACEOF
14511/* confdefs.h. */ 14873/* confdefs.h. */
14512_ACEOF 14874_ACEOF
@@ -14515,24 +14877,22 @@ cat >>conftest.$ac_ext <<_ACEOF
14515/* end confdefs.h. */ 14877/* end confdefs.h. */
14516#include <$ac_header> 14878#include <$ac_header>
14517_ACEOF 14879_ACEOF
14518if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 14880if { (ac_try="$ac_cpp conftest.$ac_ext"
14519 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 14881case "(($ac_try" in
14882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14883 *) ac_try_echo=$ac_try;;
14884esac
14885eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14886 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14520 ac_status=$? 14887 ac_status=$?
14521 grep -v '^ *+' conftest.er1 >conftest.err 14888 grep -v '^ *+' conftest.er1 >conftest.err
14522 rm -f conftest.er1 14889 rm -f conftest.er1
14523 cat conftest.err >&5 14890 cat conftest.err >&5
14524 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14525 (exit $ac_status); } >/dev/null; then 14892 (exit $ac_status); } >/dev/null && {
14526 if test -s conftest.err; then 14893 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14527 ac_cpp_err=$ac_c_preproc_warn_flag 14894 test ! -s conftest.err
14528 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 14895 }; then
14529 else
14530 ac_cpp_err=
14531 fi
14532else
14533 ac_cpp_err=yes
14534fi
14535if test -z "$ac_cpp_err"; then
14536 ac_header_preproc=yes 14896 ac_header_preproc=yes
14537else 14897else
14538 echo "$as_me: failed program was:" >&5 14898 echo "$as_me: failed program was:" >&5
@@ -14540,9 +14900,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
14540 14900
14541 ac_header_preproc=no 14901 ac_header_preproc=no
14542fi 14902fi
14903
14543rm -f conftest.err conftest.$ac_ext 14904rm -f conftest.err conftest.$ac_ext
14544echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 14905{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14545echo "${ECHO_T}$ac_header_preproc" >&6 14906echo "${ECHO_T}$ac_header_preproc" >&6; }
14546 14907
14547# So? What about this header? 14908# So? What about this header?
14548case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 14909case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
@@ -14566,25 +14927,19 @@ echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\
14566echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 14927echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14567 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 14928 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14568echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 14929echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14569 ( 14930
14570 cat <<\_ASBOX
14571## ------------------------------------------ ##
14572## Report this to the AC_PACKAGE_NAME lists. ##
14573## ------------------------------------------ ##
14574_ASBOX
14575 ) |
14576 sed "s/^/$as_me: WARNING: /" >&2
14577 ;; 14931 ;;
14578esac 14932esac
14579echo "$as_me:$LINENO: checking for $ac_header" >&5 14933{ echo "$as_me:$LINENO: checking for $ac_header" >&5
14580echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 14934echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14581if eval "test \"\${$as_ac_Header+set}\" = set"; then 14935if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14582 echo $ECHO_N "(cached) $ECHO_C" >&6 14936 echo $ECHO_N "(cached) $ECHO_C" >&6
14583else 14937else
14584 eval "$as_ac_Header=\$ac_header_preproc" 14938 eval "$as_ac_Header=\$ac_header_preproc"
14585fi 14939fi
14586echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 14940ac_res=`eval echo '${'$as_ac_Header'}'`
14587echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 14941 { echo "$as_me:$LINENO: result: $ac_res" >&5
14942echo "${ECHO_T}$ac_res" >&6; }
14588 14943
14589fi 14944fi
14590if test `eval echo '${'$as_ac_Header'}'` = yes; then 14945if test `eval echo '${'$as_ac_Header'}'` = yes; then
@@ -14600,21 +14955,23 @@ done
14600 14955
14601 14956
14602 14957
14603for ac_header in stdlib.h sys/time.h unistd.h 14958
14959for ac_header in $ac_header_list
14604do 14960do
14605as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 14961as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14606if eval "test \"\${$as_ac_Header+set}\" = set"; then 14962if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14607 echo "$as_me:$LINENO: checking for $ac_header" >&5 14963 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14608echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 14964echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14609if eval "test \"\${$as_ac_Header+set}\" = set"; then 14965if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14610 echo $ECHO_N "(cached) $ECHO_C" >&6 14966 echo $ECHO_N "(cached) $ECHO_C" >&6
14611fi 14967fi
14612echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 14968ac_res=`eval echo '${'$as_ac_Header'}'`
14613echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 14969 { echo "$as_me:$LINENO: result: $ac_res" >&5
14970echo "${ECHO_T}$ac_res" >&6; }
14614else 14971else
14615 # Is the header compilable? 14972 # Is the header compilable?
14616echo "$as_me:$LINENO: checking $ac_header usability" >&5 14973{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
14617echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 14974echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
14618cat >conftest.$ac_ext <<_ACEOF 14975cat >conftest.$ac_ext <<_ACEOF
14619/* confdefs.h. */ 14976/* confdefs.h. */
14620_ACEOF 14977_ACEOF
@@ -14625,40 +14982,37 @@ $ac_includes_default
14625#include <$ac_header> 14982#include <$ac_header>
14626_ACEOF 14983_ACEOF
14627rm -f conftest.$ac_objext 14984rm -f conftest.$ac_objext
14628if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 14985if { (ac_try="$ac_compile"
14629 (eval $ac_compile) 2>conftest.er1 14986case "(($ac_try" in
14987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14988 *) ac_try_echo=$ac_try;;
14989esac
14990eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14991 (eval "$ac_compile") 2>conftest.er1
14630 ac_status=$? 14992 ac_status=$?
14631 grep -v '^ *+' conftest.er1 >conftest.err 14993 grep -v '^ *+' conftest.er1 >conftest.err
14632 rm -f conftest.er1 14994 rm -f conftest.er1
14633 cat conftest.err >&5 14995 cat conftest.err >&5
14634 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14635 (exit $ac_status); } && 14997 (exit $ac_status); } && {
14636 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 14998 test -z "$ac_c_werror_flag" ||
14637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14999 test ! -s conftest.err
14638 (eval $ac_try) 2>&5 15000 } && test -s conftest.$ac_objext; then
14639 ac_status=$?
14640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14641 (exit $ac_status); }; } &&
14642 { ac_try='test -s conftest.$ac_objext'
14643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14644 (eval $ac_try) 2>&5
14645 ac_status=$?
14646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14647 (exit $ac_status); }; }; then
14648 ac_header_compiler=yes 15001 ac_header_compiler=yes
14649else 15002else
14650 echo "$as_me: failed program was:" >&5 15003 echo "$as_me: failed program was:" >&5
14651sed 's/^/| /' conftest.$ac_ext >&5 15004sed 's/^/| /' conftest.$ac_ext >&5
14652 15005
14653ac_header_compiler=no 15006 ac_header_compiler=no
14654fi 15007fi
14655rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 15008
14656echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 15009rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14657echo "${ECHO_T}$ac_header_compiler" >&6 15010{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15011echo "${ECHO_T}$ac_header_compiler" >&6; }
14658 15012
14659# Is the header present? 15013# Is the header present?
14660echo "$as_me:$LINENO: checking $ac_header presence" >&5 15014{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
14661echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 15015echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
14662cat >conftest.$ac_ext <<_ACEOF 15016cat >conftest.$ac_ext <<_ACEOF
14663/* confdefs.h. */ 15017/* confdefs.h. */
14664_ACEOF 15018_ACEOF
@@ -14667,24 +15021,22 @@ cat >>conftest.$ac_ext <<_ACEOF
14667/* end confdefs.h. */ 15021/* end confdefs.h. */
14668#include <$ac_header> 15022#include <$ac_header>
14669_ACEOF 15023_ACEOF
14670if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 15024if { (ac_try="$ac_cpp conftest.$ac_ext"
14671 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 15025case "(($ac_try" in
15026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15027 *) ac_try_echo=$ac_try;;
15028esac
15029eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15030 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14672 ac_status=$? 15031 ac_status=$?
14673 grep -v '^ *+' conftest.er1 >conftest.err 15032 grep -v '^ *+' conftest.er1 >conftest.err
14674 rm -f conftest.er1 15033 rm -f conftest.er1
14675 cat conftest.err >&5 15034 cat conftest.err >&5
14676 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14677 (exit $ac_status); } >/dev/null; then 15036 (exit $ac_status); } >/dev/null && {
14678 if test -s conftest.err; then 15037 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14679 ac_cpp_err=$ac_c_preproc_warn_flag 15038 test ! -s conftest.err
14680 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 15039 }; then
14681 else
14682 ac_cpp_err=
14683 fi
14684else
14685 ac_cpp_err=yes
14686fi
14687if test -z "$ac_cpp_err"; then
14688 ac_header_preproc=yes 15040 ac_header_preproc=yes
14689else 15041else
14690 echo "$as_me: failed program was:" >&5 15042 echo "$as_me: failed program was:" >&5
@@ -14692,9 +15044,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
14692 15044
14693 ac_header_preproc=no 15045 ac_header_preproc=no
14694fi 15046fi
15047
14695rm -f conftest.err conftest.$ac_ext 15048rm -f conftest.err conftest.$ac_ext
14696echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 15049{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14697echo "${ECHO_T}$ac_header_preproc" >&6 15050echo "${ECHO_T}$ac_header_preproc" >&6; }
14698 15051
14699# So? What about this header? 15052# So? What about this header?
14700case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 15053case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
@@ -14718,25 +15071,19 @@ echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\
14718echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 15071echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14719 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 15072 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14720echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 15073echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14721 ( 15074
14722 cat <<\_ASBOX
14723## ------------------------------------------ ##
14724## Report this to the AC_PACKAGE_NAME lists. ##
14725## ------------------------------------------ ##
14726_ASBOX
14727 ) |
14728 sed "s/^/$as_me: WARNING: /" >&2
14729 ;; 15075 ;;
14730esac 15076esac
14731echo "$as_me:$LINENO: checking for $ac_header" >&5 15077{ echo "$as_me:$LINENO: checking for $ac_header" >&5
14732echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 15078echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14733if eval "test \"\${$as_ac_Header+set}\" = set"; then 15079if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14734 echo $ECHO_N "(cached) $ECHO_C" >&6 15080 echo $ECHO_N "(cached) $ECHO_C" >&6
14735else 15081else
14736 eval "$as_ac_Header=\$ac_header_preproc" 15082 eval "$as_ac_Header=\$ac_header_preproc"
14737fi 15083fi
14738echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 15084ac_res=`eval echo '${'$as_ac_Header'}'`
14739echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 15085 { echo "$as_me:$LINENO: result: $ac_res" >&5
15086echo "${ECHO_T}$ac_res" >&6; }
14740 15087
14741fi 15088fi
14742if test `eval echo '${'$as_ac_Header'}'` = yes; then 15089if test `eval echo '${'$as_ac_Header'}'` = yes; then
@@ -14749,12 +15096,19 @@ fi
14749done 15096done
14750 15097
14751 15098
14752for ac_func in alarm 15099
15100
15101
15102
15103
15104
15105
15106for ac_func in $ac_func_list
14753do 15107do
14754as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 15108as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14755echo "$as_me:$LINENO: checking for $ac_func" >&5 15109{ echo "$as_me:$LINENO: checking for $ac_func" >&5
14756echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 15110echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14757if eval "test \"\${$as_ac_var+set}\" = set"; then 15111if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14758 echo $ECHO_N "(cached) $ECHO_C" >&6 15112 echo $ECHO_N "(cached) $ECHO_C" >&6
14759else 15113else
14760 cat >conftest.$ac_ext <<_ACEOF 15114 cat >conftest.$ac_ext <<_ACEOF
@@ -14780,67 +15134,60 @@ cat >>conftest.$ac_ext <<_ACEOF
14780 15134
14781#undef $ac_func 15135#undef $ac_func
14782 15136
14783/* Override any gcc2 internal prototype to avoid an error. */ 15137/* Override any GCC internal prototype to avoid an error.
15138 Use char because int might match the return type of a GCC
15139 builtin and then its argument prototype would still apply. */
14784#ifdef __cplusplus 15140#ifdef __cplusplus
14785extern "C" 15141extern "C"
14786{
14787#endif 15142#endif
14788/* We use char because int might match the return type of a gcc2
14789 builtin and then its argument prototype would still apply. */
14790char $ac_func (); 15143char $ac_func ();
14791/* The GNU C library defines this for functions which it implements 15144/* The GNU C library defines this for functions which it implements
14792 to always fail with ENOSYS. Some functions are actually named 15145 to always fail with ENOSYS. Some functions are actually named
14793 something starting with __ and the normal name is an alias. */ 15146 something starting with __ and the normal name is an alias. */
14794#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 15147#if defined __stub_$ac_func || defined __stub___$ac_func
14795choke me 15148choke me
14796#else
14797char (*f) () = $ac_func;
14798#endif
14799#ifdef __cplusplus
14800}
14801#endif 15149#endif
14802 15150
14803int 15151int
14804main () 15152main ()
14805{ 15153{
14806return f != $ac_func; 15154return $ac_func ();
14807 ; 15155 ;
14808 return 0; 15156 return 0;
14809} 15157}
14810_ACEOF 15158_ACEOF
14811rm -f conftest.$ac_objext conftest$ac_exeext 15159rm -f conftest.$ac_objext conftest$ac_exeext
14812if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 15160if { (ac_try="$ac_link"
14813 (eval $ac_link) 2>conftest.er1 15161case "(($ac_try" in
15162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15163 *) ac_try_echo=$ac_try;;
15164esac
15165eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15166 (eval "$ac_link") 2>conftest.er1
14814 ac_status=$? 15167 ac_status=$?
14815 grep -v '^ *+' conftest.er1 >conftest.err 15168 grep -v '^ *+' conftest.er1 >conftest.err
14816 rm -f conftest.er1 15169 rm -f conftest.er1
14817 cat conftest.err >&5 15170 cat conftest.err >&5
14818 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14819 (exit $ac_status); } && 15172 (exit $ac_status); } && {
14820 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 15173 test -z "$ac_c_werror_flag" ||
14821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15174 test ! -s conftest.err
14822 (eval $ac_try) 2>&5 15175 } && test -s conftest$ac_exeext &&
14823 ac_status=$? 15176 $as_test_x conftest$ac_exeext; then
14824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14825 (exit $ac_status); }; } &&
14826 { ac_try='test -s conftest$ac_exeext'
14827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14828 (eval $ac_try) 2>&5
14829 ac_status=$?
14830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14831 (exit $ac_status); }; }; then
14832 eval "$as_ac_var=yes" 15177 eval "$as_ac_var=yes"
14833else 15178else
14834 echo "$as_me: failed program was:" >&5 15179 echo "$as_me: failed program was:" >&5
14835sed 's/^/| /' conftest.$ac_ext >&5 15180sed 's/^/| /' conftest.$ac_ext >&5
14836 15181
14837eval "$as_ac_var=no" 15182 eval "$as_ac_var=no"
14838fi 15183fi
14839rm -f conftest.err conftest.$ac_objext \ 15184
15185rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14840 conftest$ac_exeext conftest.$ac_ext 15186 conftest$ac_exeext conftest.$ac_ext
14841fi 15187fi
14842echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 15188ac_res=`eval echo '${'$as_ac_var'}'`
14843echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 15189 { echo "$as_me:$LINENO: result: $ac_res" >&5
15190echo "${ECHO_T}$ac_res" >&6; }
14844if test `eval echo '${'$as_ac_var'}'` = yes; then 15191if test `eval echo '${'$as_ac_var'}'` = yes; then
14845 cat >>confdefs.h <<_ACEOF 15192 cat >>confdefs.h <<_ACEOF
14846#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 15193#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
@@ -14849,8 +15196,24 @@ _ACEOF
14849fi 15196fi
14850done 15197done
14851 15198
14852echo "$as_me:$LINENO: checking for working mktime" >&5 15199
14853echo $ECHO_N "checking for working mktime... $ECHO_C" >&6 15200
15201
15202
15203
15204
15205
15206
15207
15208
15209
15210
15211
15212
15213
15214
15215{ echo "$as_me:$LINENO: checking for working mktime" >&5
15216echo $ECHO_N "checking for working mktime... $ECHO_C" >&6; }
14854if test "${ac_cv_func_working_mktime+set}" = set; then 15217if test "${ac_cv_func_working_mktime+set}" = set; then
14855 echo $ECHO_N "(cached) $ECHO_C" >&6 15218 echo $ECHO_N "(cached) $ECHO_C" >&6
14856else 15219else
@@ -14864,26 +15227,24 @@ cat confdefs.h >>conftest.$ac_ext
14864cat >>conftest.$ac_ext <<_ACEOF 15227cat >>conftest.$ac_ext <<_ACEOF
14865/* end confdefs.h. */ 15228/* end confdefs.h. */
14866/* Test program from Paul Eggert and Tony Leneis. */ 15229/* Test program from Paul Eggert and Tony Leneis. */
14867#if TIME_WITH_SYS_TIME 15230#ifdef TIME_WITH_SYS_TIME
14868# include <sys/time.h> 15231# include <sys/time.h>
14869# include <time.h> 15232# include <time.h>
14870#else 15233#else
14871# if HAVE_SYS_TIME_H 15234# ifdef HAVE_SYS_TIME_H
14872# include <sys/time.h> 15235# include <sys/time.h>
14873# else 15236# else
14874# include <time.h> 15237# include <time.h>
14875# endif 15238# endif
14876#endif 15239#endif
14877 15240
14878#if HAVE_STDLIB_H 15241#include <stdlib.h>
14879# include <stdlib.h>
14880#endif
14881 15242
14882#if HAVE_UNISTD_H 15243#ifdef HAVE_UNISTD_H
14883# include <unistd.h> 15244# include <unistd.h>
14884#endif 15245#endif
14885 15246
14886#if !HAVE_ALARM 15247#ifndef HAVE_ALARM
14887# define alarm(X) /* empty */ 15248# define alarm(X) /* empty */
14888#endif 15249#endif
14889 15250
@@ -14900,9 +15261,9 @@ static char *tz_strings[] = {
14900}; 15261};
14901#define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0])) 15262#define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
14902 15263
14903/* Fail if mktime fails to convert a date in the spring-forward gap. 15264/* Return 0 if mktime fails to convert a date in the spring-forward gap.
14904 Based on a problem report from Andreas Jaeger. */ 15265 Based on a problem report from Andreas Jaeger. */
14905static void 15266static int
14906spring_forward_gap () 15267spring_forward_gap ()
14907{ 15268{
14908 /* glibc (up to about 1998-10-07) failed this test. */ 15269 /* glibc (up to about 1998-10-07) failed this test. */
@@ -14921,29 +15282,27 @@ spring_forward_gap ()
14921 tm.tm_min = 0; 15282 tm.tm_min = 0;
14922 tm.tm_sec = 0; 15283 tm.tm_sec = 0;
14923 tm.tm_isdst = -1; 15284 tm.tm_isdst = -1;
14924 if (mktime (&tm) == (time_t)-1) 15285 return mktime (&tm) != (time_t) -1;
14925 exit (1);
14926} 15286}
14927 15287
14928static void 15288static int
14929mktime_test1 (now) 15289mktime_test1 (now)
14930 time_t now; 15290 time_t now;
14931{ 15291{
14932 struct tm *lt; 15292 struct tm *lt;
14933 if ((lt = localtime (&now)) && mktime (lt) != now) 15293 return ! (lt = localtime (&now)) || mktime (lt) == now;
14934 exit (1);
14935} 15294}
14936 15295
14937static void 15296static int
14938mktime_test (now) 15297mktime_test (now)
14939 time_t now; 15298 time_t now;
14940{ 15299{
14941 mktime_test1 (now); 15300 return (mktime_test1 (now)
14942 mktime_test1 ((time_t) (time_t_max - now)); 15301 && mktime_test1 ((time_t) (time_t_max - now))
14943 mktime_test1 ((time_t) (time_t_min + now)); 15302 && mktime_test1 ((time_t) (time_t_min + now)));
14944} 15303}
14945 15304
14946static void 15305static int
14947irix_6_4_bug () 15306irix_6_4_bug ()
14948{ 15307{
14949 /* Based on code from Ariel Faigon. */ 15308 /* Based on code from Ariel Faigon. */
@@ -14956,11 +15315,10 @@ irix_6_4_bug ()
14956 tm.tm_sec = 0; 15315 tm.tm_sec = 0;
14957 tm.tm_isdst = -1; 15316 tm.tm_isdst = -1;
14958 mktime (&tm); 15317 mktime (&tm);
14959 if (tm.tm_mon != 2 || tm.tm_mday != 31) 15318 return tm.tm_mon == 2 && tm.tm_mday == 31;
14960 exit (1);
14961} 15319}
14962 15320
14963static void 15321static int
14964bigtime_test (j) 15322bigtime_test (j)
14965 int j; 15323 int j;
14966{ 15324{
@@ -14982,8 +15340,39 @@ bigtime_test (j)
14982 && lt->tm_wday == tm.tm_wday 15340 && lt->tm_wday == tm.tm_wday
14983 && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst) 15341 && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst)
14984 == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst)))) 15342 == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst))))
14985 exit (1); 15343 return 0;
14986 } 15344 }
15345 return 1;
15346}
15347
15348static int
15349year_2050_test ()
15350{
15351 /* The correct answer for 2050-02-01 00:00:00 in Pacific time,
15352 ignoring leap seconds. */
15353 unsigned long int answer = 2527315200UL;
15354
15355 struct tm tm;
15356 time_t t;
15357 tm.tm_year = 2050 - 1900;
15358 tm.tm_mon = 2 - 1;
15359 tm.tm_mday = 1;
15360 tm.tm_hour = tm.tm_min = tm.tm_sec = 0;
15361 tm.tm_isdst = -1;
15362
15363 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
15364 instead of "TZ=America/Vancouver" in order to detect the bug even
15365 on systems that don't support the Olson extension, or don't have the
15366 full zoneinfo tables installed. */
15367 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
15368
15369 t = mktime (&tm);
15370
15371 /* Check that the result is either a failure, or close enough
15372 to the correct answer that we can assume the discrepancy is
15373 due to leap seconds. */
15374 return (t == (time_t) -1
15375 || (0 < t && answer - 120 <= t && t <= answer + 120));
14987} 15376}
14988 15377
14989int 15378int
@@ -15010,28 +15399,39 @@ main ()
15010 putenv (tz_strings[i]); 15399 putenv (tz_strings[i]);
15011 15400
15012 for (t = 0; t <= time_t_max - delta; t += delta) 15401 for (t = 0; t <= time_t_max - delta; t += delta)
15013 mktime_test (t); 15402 if (! mktime_test (t))
15014 mktime_test ((time_t) 1); 15403 return 1;
15015 mktime_test ((time_t) (60 * 60)); 15404 if (! (mktime_test ((time_t) 1)
15016 mktime_test ((time_t) (60 * 60 * 24)); 15405 && mktime_test ((time_t) (60 * 60))
15406 && mktime_test ((time_t) (60 * 60 * 24))))
15407 return 1;
15017 15408
15018 for (j = 1; 0 < j; j *= 2) 15409 for (j = 1; 0 < j; j *= 2)
15019 bigtime_test (j); 15410 if (! bigtime_test (j))
15020 bigtime_test (j - 1); 15411 return 1;
15412 if (! bigtime_test (j - 1))
15413 return 1;
15021 } 15414 }
15022 irix_6_4_bug (); 15415 return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ());
15023 spring_forward_gap ();
15024 exit (0);
15025} 15416}
15026_ACEOF 15417_ACEOF
15027rm -f conftest$ac_exeext 15418rm -f conftest$ac_exeext
15028if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 15419if { (ac_try="$ac_link"
15029 (eval $ac_link) 2>&5 15420case "(($ac_try" in
15421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15422 *) ac_try_echo=$ac_try;;
15423esac
15424eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15425 (eval "$ac_link") 2>&5
15030 ac_status=$? 15426 ac_status=$?
15031 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15032 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 15428 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15429 { (case "(($ac_try" in
15034 (eval $ac_try) 2>&5 15430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15431 *) ac_try_echo=$ac_try;;
15432esac
15433eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15434 (eval "$ac_try") 2>&5
15035 ac_status=$? 15435 ac_status=$?
15036 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15037 (exit $ac_status); }; }; then 15437 (exit $ac_status); }; }; then
@@ -15044,18 +15444,18 @@ sed 's/^/| /' conftest.$ac_ext >&5
15044( exit $ac_status ) 15444( exit $ac_status )
15045ac_cv_func_working_mktime=no 15445ac_cv_func_working_mktime=no
15046fi 15446fi
15047rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 15447rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15048fi 15448fi
15449
15450
15049fi 15451fi
15050echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5 15452{ echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5
15051echo "${ECHO_T}$ac_cv_func_working_mktime" >&6 15453echo "${ECHO_T}$ac_cv_func_working_mktime" >&6; }
15052if test $ac_cv_func_working_mktime = no; then 15454if test $ac_cv_func_working_mktime = no; then
15053 case $LIBOBJS in 15455 case " $LIBOBJS " in
15054 "mktime.$ac_objext" | \
15055 *" mktime.$ac_objext" | \
15056 "mktime.$ac_objext "* | \
15057 *" mktime.$ac_objext "* ) ;; 15456 *" mktime.$ac_objext "* ) ;;
15058 *) LIBOBJS="$LIBOBJS mktime.$ac_objext" ;; 15457 *) LIBOBJS="$LIBOBJS mktime.$ac_objext"
15458 ;;
15059esac 15459esac
15060 15460
15061fi 15461fi
@@ -15079,8 +15479,8 @@ echo "$as_me: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&2;
15079ac_save_LIBS=$LIBS 15479ac_save_LIBS=$LIBS
15080 15480
15081# Check for getloadavg, but be sure not to touch the cache variable. 15481# Check for getloadavg, but be sure not to touch the cache variable.
15082(echo "$as_me:$LINENO: checking for getloadavg" >&5 15482({ echo "$as_me:$LINENO: checking for getloadavg" >&5
15083echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6 15483echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6; }
15084if test "${ac_cv_func_getloadavg+set}" = set; then 15484if test "${ac_cv_func_getloadavg+set}" = set; then
15085 echo $ECHO_N "(cached) $ECHO_C" >&6 15485 echo $ECHO_N "(cached) $ECHO_C" >&6
15086else 15486else
@@ -15107,67 +15507,59 @@ cat >>conftest.$ac_ext <<_ACEOF
15107 15507
15108#undef getloadavg 15508#undef getloadavg
15109 15509
15110/* Override any gcc2 internal prototype to avoid an error. */ 15510/* Override any GCC internal prototype to avoid an error.
15511 Use char because int might match the return type of a GCC
15512 builtin and then its argument prototype would still apply. */
15111#ifdef __cplusplus 15513#ifdef __cplusplus
15112extern "C" 15514extern "C"
15113{
15114#endif 15515#endif
15115/* We use char because int might match the return type of a gcc2
15116 builtin and then its argument prototype would still apply. */
15117char getloadavg (); 15516char getloadavg ();
15118/* The GNU C library defines this for functions which it implements 15517/* The GNU C library defines this for functions which it implements
15119 to always fail with ENOSYS. Some functions are actually named 15518 to always fail with ENOSYS. Some functions are actually named
15120 something starting with __ and the normal name is an alias. */ 15519 something starting with __ and the normal name is an alias. */
15121#if defined (__stub_getloadavg) || defined (__stub___getloadavg) 15520#if defined __stub_getloadavg || defined __stub___getloadavg
15122choke me 15521choke me
15123#else
15124char (*f) () = getloadavg;
15125#endif
15126#ifdef __cplusplus
15127}
15128#endif 15522#endif
15129 15523
15130int 15524int
15131main () 15525main ()
15132{ 15526{
15133return f != getloadavg; 15527return getloadavg ();
15134 ; 15528 ;
15135 return 0; 15529 return 0;
15136} 15530}
15137_ACEOF 15531_ACEOF
15138rm -f conftest.$ac_objext conftest$ac_exeext 15532rm -f conftest.$ac_objext conftest$ac_exeext
15139if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 15533if { (ac_try="$ac_link"
15140 (eval $ac_link) 2>conftest.er1 15534case "(($ac_try" in
15535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15536 *) ac_try_echo=$ac_try;;
15537esac
15538eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15539 (eval "$ac_link") 2>conftest.er1
15141 ac_status=$? 15540 ac_status=$?
15142 grep -v '^ *+' conftest.er1 >conftest.err 15541 grep -v '^ *+' conftest.er1 >conftest.err
15143 rm -f conftest.er1 15542 rm -f conftest.er1
15144 cat conftest.err >&5 15543 cat conftest.err >&5
15145 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15146 (exit $ac_status); } && 15545 (exit $ac_status); } && {
15147 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 15546 test -z "$ac_c_werror_flag" ||
15148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15547 test ! -s conftest.err
15149 (eval $ac_try) 2>&5 15548 } && test -s conftest$ac_exeext &&
15150 ac_status=$? 15549 $as_test_x conftest$ac_exeext; then
15151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15152 (exit $ac_status); }; } &&
15153 { ac_try='test -s conftest$ac_exeext'
15154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15155 (eval $ac_try) 2>&5
15156 ac_status=$?
15157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15158 (exit $ac_status); }; }; then
15159 ac_cv_func_getloadavg=yes 15550 ac_cv_func_getloadavg=yes
15160else 15551else
15161 echo "$as_me: failed program was:" >&5 15552 echo "$as_me: failed program was:" >&5
15162sed 's/^/| /' conftest.$ac_ext >&5 15553sed 's/^/| /' conftest.$ac_ext >&5
15163 15554
15164ac_cv_func_getloadavg=no 15555 ac_cv_func_getloadavg=no
15165fi 15556fi
15166rm -f conftest.err conftest.$ac_objext \ 15557
15558rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15167 conftest$ac_exeext conftest.$ac_ext 15559 conftest$ac_exeext conftest.$ac_ext
15168fi 15560fi
15169echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg" >&5 15561{ echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg" >&5
15170echo "${ECHO_T}$ac_cv_func_getloadavg" >&6 15562echo "${ECHO_T}$ac_cv_func_getloadavg" >&6; }
15171if test $ac_cv_func_getloadavg = yes; then 15563if test $ac_cv_func_getloadavg = yes; then
15172 exit 0 15564 exit 0
15173else 15565else
@@ -15180,9 +15572,9 @@ fi
15180for ac_func in pstat_getdynamic 15572for ac_func in pstat_getdynamic
15181do 15573do
15182as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 15574as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15183echo "$as_me:$LINENO: checking for $ac_func" >&5 15575{ echo "$as_me:$LINENO: checking for $ac_func" >&5
15184echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 15576echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15185if eval "test \"\${$as_ac_var+set}\" = set"; then 15577if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15186 echo $ECHO_N "(cached) $ECHO_C" >&6 15578 echo $ECHO_N "(cached) $ECHO_C" >&6
15187else 15579else
15188 cat >conftest.$ac_ext <<_ACEOF 15580 cat >conftest.$ac_ext <<_ACEOF
@@ -15208,67 +15600,60 @@ cat >>conftest.$ac_ext <<_ACEOF
15208 15600
15209#undef $ac_func 15601#undef $ac_func
15210 15602
15211/* Override any gcc2 internal prototype to avoid an error. */ 15603/* Override any GCC internal prototype to avoid an error.
15604 Use char because int might match the return type of a GCC
15605 builtin and then its argument prototype would still apply. */
15212#ifdef __cplusplus 15606#ifdef __cplusplus
15213extern "C" 15607extern "C"
15214{
15215#endif 15608#endif
15216/* We use char because int might match the return type of a gcc2
15217 builtin and then its argument prototype would still apply. */
15218char $ac_func (); 15609char $ac_func ();
15219/* The GNU C library defines this for functions which it implements 15610/* The GNU C library defines this for functions which it implements
15220 to always fail with ENOSYS. Some functions are actually named 15611 to always fail with ENOSYS. Some functions are actually named
15221 something starting with __ and the normal name is an alias. */ 15612 something starting with __ and the normal name is an alias. */
15222#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 15613#if defined __stub_$ac_func || defined __stub___$ac_func
15223choke me 15614choke me
15224#else
15225char (*f) () = $ac_func;
15226#endif
15227#ifdef __cplusplus
15228}
15229#endif 15615#endif
15230 15616
15231int 15617int
15232main () 15618main ()
15233{ 15619{
15234return f != $ac_func; 15620return $ac_func ();
15235 ; 15621 ;
15236 return 0; 15622 return 0;
15237} 15623}
15238_ACEOF 15624_ACEOF
15239rm -f conftest.$ac_objext conftest$ac_exeext 15625rm -f conftest.$ac_objext conftest$ac_exeext
15240if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 15626if { (ac_try="$ac_link"
15241 (eval $ac_link) 2>conftest.er1 15627case "(($ac_try" in
15628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15629 *) ac_try_echo=$ac_try;;
15630esac
15631eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15632 (eval "$ac_link") 2>conftest.er1
15242 ac_status=$? 15633 ac_status=$?
15243 grep -v '^ *+' conftest.er1 >conftest.err 15634 grep -v '^ *+' conftest.er1 >conftest.err
15244 rm -f conftest.er1 15635 rm -f conftest.er1
15245 cat conftest.err >&5 15636 cat conftest.err >&5
15246 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15247 (exit $ac_status); } && 15638 (exit $ac_status); } && {
15248 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 15639 test -z "$ac_c_werror_flag" ||
15249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15640 test ! -s conftest.err
15250 (eval $ac_try) 2>&5 15641 } && test -s conftest$ac_exeext &&
15251 ac_status=$? 15642 $as_test_x conftest$ac_exeext; then
15252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15253 (exit $ac_status); }; } &&
15254 { ac_try='test -s conftest$ac_exeext'
15255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15256 (eval $ac_try) 2>&5
15257 ac_status=$?
15258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15259 (exit $ac_status); }; }; then
15260 eval "$as_ac_var=yes" 15643 eval "$as_ac_var=yes"
15261else 15644else
15262 echo "$as_me: failed program was:" >&5 15645 echo "$as_me: failed program was:" >&5
15263sed 's/^/| /' conftest.$ac_ext >&5 15646sed 's/^/| /' conftest.$ac_ext >&5
15264 15647
15265eval "$as_ac_var=no" 15648 eval "$as_ac_var=no"
15266fi 15649fi
15267rm -f conftest.err conftest.$ac_objext \ 15650
15651rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15268 conftest$ac_exeext conftest.$ac_ext 15652 conftest$ac_exeext conftest.$ac_ext
15269fi 15653fi
15270echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 15654ac_res=`eval echo '${'$as_ac_var'}'`
15271echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 15655 { echo "$as_me:$LINENO: result: $ac_res" >&5
15656echo "${ECHO_T}$ac_res" >&6; }
15272if test `eval echo '${'$as_ac_var'}'` = yes; then 15657if test `eval echo '${'$as_ac_var'}'` = yes; then
15273 cat >>confdefs.h <<_ACEOF 15658 cat >>confdefs.h <<_ACEOF
15274#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 15659#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
@@ -15280,8 +15665,8 @@ done
15280 15665
15281# Solaris has libkstat which does not require root. 15666# Solaris has libkstat which does not require root.
15282 15667
15283echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5 15668{ echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5
15284echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6 15669echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6; }
15285if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then 15670if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then
15286 echo $ECHO_N "(cached) $ECHO_C" >&6 15671 echo $ECHO_N "(cached) $ECHO_C" >&6
15287else 15672else
@@ -15294,55 +15679,53 @@ cat confdefs.h >>conftest.$ac_ext
15294cat >>conftest.$ac_ext <<_ACEOF 15679cat >>conftest.$ac_ext <<_ACEOF
15295/* end confdefs.h. */ 15680/* end confdefs.h. */
15296 15681
15297/* Override any gcc2 internal prototype to avoid an error. */ 15682/* Override any GCC internal prototype to avoid an error.
15683 Use char because int might match the return type of a GCC
15684 builtin and then its argument prototype would still apply. */
15298#ifdef __cplusplus 15685#ifdef __cplusplus
15299extern "C" 15686extern "C"
15300#endif 15687#endif
15301/* We use char because int might match the return type of a gcc2
15302 builtin and then its argument prototype would still apply. */
15303char kstat_open (); 15688char kstat_open ();
15304int 15689int
15305main () 15690main ()
15306{ 15691{
15307kstat_open (); 15692return kstat_open ();
15308 ; 15693 ;
15309 return 0; 15694 return 0;
15310} 15695}
15311_ACEOF 15696_ACEOF
15312rm -f conftest.$ac_objext conftest$ac_exeext 15697rm -f conftest.$ac_objext conftest$ac_exeext
15313if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 15698if { (ac_try="$ac_link"
15314 (eval $ac_link) 2>conftest.er1 15699case "(($ac_try" in
15700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15701 *) ac_try_echo=$ac_try;;
15702esac
15703eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15704 (eval "$ac_link") 2>conftest.er1
15315 ac_status=$? 15705 ac_status=$?
15316 grep -v '^ *+' conftest.er1 >conftest.err 15706 grep -v '^ *+' conftest.er1 >conftest.err
15317 rm -f conftest.er1 15707 rm -f conftest.er1
15318 cat conftest.err >&5 15708 cat conftest.err >&5
15319 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15320 (exit $ac_status); } && 15710 (exit $ac_status); } && {
15321 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 15711 test -z "$ac_c_werror_flag" ||
15322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15712 test ! -s conftest.err
15323 (eval $ac_try) 2>&5 15713 } && test -s conftest$ac_exeext &&
15324 ac_status=$? 15714 $as_test_x conftest$ac_exeext; then
15325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15326 (exit $ac_status); }; } &&
15327 { ac_try='test -s conftest$ac_exeext'
15328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15329 (eval $ac_try) 2>&5
15330 ac_status=$?
15331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15332 (exit $ac_status); }; }; then
15333 ac_cv_lib_kstat_kstat_open=yes 15715 ac_cv_lib_kstat_kstat_open=yes
15334else 15716else
15335 echo "$as_me: failed program was:" >&5 15717 echo "$as_me: failed program was:" >&5
15336sed 's/^/| /' conftest.$ac_ext >&5 15718sed 's/^/| /' conftest.$ac_ext >&5
15337 15719
15338ac_cv_lib_kstat_kstat_open=no 15720 ac_cv_lib_kstat_kstat_open=no
15339fi 15721fi
15340rm -f conftest.err conftest.$ac_objext \ 15722
15723rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15341 conftest$ac_exeext conftest.$ac_ext 15724 conftest$ac_exeext conftest.$ac_ext
15342LIBS=$ac_check_lib_save_LIBS 15725LIBS=$ac_check_lib_save_LIBS
15343fi 15726fi
15344echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5 15727{ echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5
15345echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6 15728echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6; }
15346if test $ac_cv_lib_kstat_kstat_open = yes; then 15729if test $ac_cv_lib_kstat_kstat_open = yes; then
15347 cat >>confdefs.h <<_ACEOF 15730 cat >>confdefs.h <<_ACEOF
15348#define HAVE_LIBKSTAT 1 15731#define HAVE_LIBKSTAT 1
@@ -15359,8 +15742,8 @@ test $ac_cv_lib_kstat_kstat_open = yes && ac_have_func=yes
15359# to get the right answer into the cache. 15742# to get the right answer into the cache.
15360# For kstat on solaris, we need libelf to force the definition of SVR4 below. 15743# For kstat on solaris, we need libelf to force the definition of SVR4 below.
15361if test $ac_have_func = no; then 15744if test $ac_have_func = no; then
15362 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5 15745 { echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
15363echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6 15746echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6; }
15364if test "${ac_cv_lib_elf_elf_begin+set}" = set; then 15747if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
15365 echo $ECHO_N "(cached) $ECHO_C" >&6 15748 echo $ECHO_N "(cached) $ECHO_C" >&6
15366else 15749else
@@ -15373,63 +15756,61 @@ cat confdefs.h >>conftest.$ac_ext
15373cat >>conftest.$ac_ext <<_ACEOF 15756cat >>conftest.$ac_ext <<_ACEOF
15374/* end confdefs.h. */ 15757/* end confdefs.h. */
15375 15758
15376/* Override any gcc2 internal prototype to avoid an error. */ 15759/* Override any GCC internal prototype to avoid an error.
15760 Use char because int might match the return type of a GCC
15761 builtin and then its argument prototype would still apply. */
15377#ifdef __cplusplus 15762#ifdef __cplusplus
15378extern "C" 15763extern "C"
15379#endif 15764#endif
15380/* We use char because int might match the return type of a gcc2
15381 builtin and then its argument prototype would still apply. */
15382char elf_begin (); 15765char elf_begin ();
15383int 15766int
15384main () 15767main ()
15385{ 15768{
15386elf_begin (); 15769return elf_begin ();
15387 ; 15770 ;
15388 return 0; 15771 return 0;
15389} 15772}
15390_ACEOF 15773_ACEOF
15391rm -f conftest.$ac_objext conftest$ac_exeext 15774rm -f conftest.$ac_objext conftest$ac_exeext
15392if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 15775if { (ac_try="$ac_link"
15393 (eval $ac_link) 2>conftest.er1 15776case "(($ac_try" in
15777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15778 *) ac_try_echo=$ac_try;;
15779esac
15780eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15781 (eval "$ac_link") 2>conftest.er1
15394 ac_status=$? 15782 ac_status=$?
15395 grep -v '^ *+' conftest.er1 >conftest.err 15783 grep -v '^ *+' conftest.er1 >conftest.err
15396 rm -f conftest.er1 15784 rm -f conftest.er1
15397 cat conftest.err >&5 15785 cat conftest.err >&5
15398 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15399 (exit $ac_status); } && 15787 (exit $ac_status); } && {
15400 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 15788 test -z "$ac_c_werror_flag" ||
15401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15789 test ! -s conftest.err
15402 (eval $ac_try) 2>&5 15790 } && test -s conftest$ac_exeext &&
15403 ac_status=$? 15791 $as_test_x conftest$ac_exeext; then
15404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15405 (exit $ac_status); }; } &&
15406 { ac_try='test -s conftest$ac_exeext'
15407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15408 (eval $ac_try) 2>&5
15409 ac_status=$?
15410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15411 (exit $ac_status); }; }; then
15412 ac_cv_lib_elf_elf_begin=yes 15792 ac_cv_lib_elf_elf_begin=yes
15413else 15793else
15414 echo "$as_me: failed program was:" >&5 15794 echo "$as_me: failed program was:" >&5
15415sed 's/^/| /' conftest.$ac_ext >&5 15795sed 's/^/| /' conftest.$ac_ext >&5
15416 15796
15417ac_cv_lib_elf_elf_begin=no 15797 ac_cv_lib_elf_elf_begin=no
15418fi 15798fi
15419rm -f conftest.err conftest.$ac_objext \ 15799
15800rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15420 conftest$ac_exeext conftest.$ac_ext 15801 conftest$ac_exeext conftest.$ac_ext
15421LIBS=$ac_check_lib_save_LIBS 15802LIBS=$ac_check_lib_save_LIBS
15422fi 15803fi
15423echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5 15804{ echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
15424echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6 15805echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6; }
15425if test $ac_cv_lib_elf_elf_begin = yes; then 15806if test $ac_cv_lib_elf_elf_begin = yes; then
15426 LIBS="-lelf $LIBS" 15807 LIBS="-lelf $LIBS"
15427fi 15808fi
15428 15809
15429fi 15810fi
15430if test $ac_have_func = no; then 15811if test $ac_have_func = no; then
15431 echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5 15812 { echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5
15432echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6 15813echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6; }
15433if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then 15814if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then
15434 echo $ECHO_N "(cached) $ECHO_C" >&6 15815 echo $ECHO_N "(cached) $ECHO_C" >&6
15435else 15816else
@@ -15442,62 +15823,60 @@ cat confdefs.h >>conftest.$ac_ext
15442cat >>conftest.$ac_ext <<_ACEOF 15823cat >>conftest.$ac_ext <<_ACEOF
15443/* end confdefs.h. */ 15824/* end confdefs.h. */
15444 15825
15445/* Override any gcc2 internal prototype to avoid an error. */ 15826/* Override any GCC internal prototype to avoid an error.
15827 Use char because int might match the return type of a GCC
15828 builtin and then its argument prototype would still apply. */
15446#ifdef __cplusplus 15829#ifdef __cplusplus
15447extern "C" 15830extern "C"
15448#endif 15831#endif
15449/* We use char because int might match the return type of a gcc2
15450 builtin and then its argument prototype would still apply. */
15451char kvm_open (); 15832char kvm_open ();
15452int 15833int
15453main () 15834main ()
15454{ 15835{
15455kvm_open (); 15836return kvm_open ();
15456 ; 15837 ;
15457 return 0; 15838 return 0;
15458} 15839}
15459_ACEOF 15840_ACEOF
15460rm -f conftest.$ac_objext conftest$ac_exeext 15841rm -f conftest.$ac_objext conftest$ac_exeext
15461if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 15842if { (ac_try="$ac_link"
15462 (eval $ac_link) 2>conftest.er1 15843case "(($ac_try" in
15844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15845 *) ac_try_echo=$ac_try;;
15846esac
15847eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15848 (eval "$ac_link") 2>conftest.er1
15463 ac_status=$? 15849 ac_status=$?
15464 grep -v '^ *+' conftest.er1 >conftest.err 15850 grep -v '^ *+' conftest.er1 >conftest.err
15465 rm -f conftest.er1 15851 rm -f conftest.er1
15466 cat conftest.err >&5 15852 cat conftest.err >&5
15467 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15468 (exit $ac_status); } && 15854 (exit $ac_status); } && {
15469 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 15855 test -z "$ac_c_werror_flag" ||
15470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15856 test ! -s conftest.err
15471 (eval $ac_try) 2>&5 15857 } && test -s conftest$ac_exeext &&
15472 ac_status=$? 15858 $as_test_x conftest$ac_exeext; then
15473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15474 (exit $ac_status); }; } &&
15475 { ac_try='test -s conftest$ac_exeext'
15476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15477 (eval $ac_try) 2>&5
15478 ac_status=$?
15479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15480 (exit $ac_status); }; }; then
15481 ac_cv_lib_kvm_kvm_open=yes 15859 ac_cv_lib_kvm_kvm_open=yes
15482else 15860else
15483 echo "$as_me: failed program was:" >&5 15861 echo "$as_me: failed program was:" >&5
15484sed 's/^/| /' conftest.$ac_ext >&5 15862sed 's/^/| /' conftest.$ac_ext >&5
15485 15863
15486ac_cv_lib_kvm_kvm_open=no 15864 ac_cv_lib_kvm_kvm_open=no
15487fi 15865fi
15488rm -f conftest.err conftest.$ac_objext \ 15866
15867rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15489 conftest$ac_exeext conftest.$ac_ext 15868 conftest$ac_exeext conftest.$ac_ext
15490LIBS=$ac_check_lib_save_LIBS 15869LIBS=$ac_check_lib_save_LIBS
15491fi 15870fi
15492echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5 15871{ echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5
15493echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6 15872echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6; }
15494if test $ac_cv_lib_kvm_kvm_open = yes; then 15873if test $ac_cv_lib_kvm_kvm_open = yes; then
15495 LIBS="-lkvm $LIBS" 15874 LIBS="-lkvm $LIBS"
15496fi 15875fi
15497 15876
15498 # Check for the 4.4BSD definition of getloadavg. 15877 # Check for the 4.4BSD definition of getloadavg.
15499 echo "$as_me:$LINENO: checking for getloadavg in -lutil" >&5 15878 { echo "$as_me:$LINENO: checking for getloadavg in -lutil" >&5
15500echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6 15879echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6; }
15501if test "${ac_cv_lib_util_getloadavg+set}" = set; then 15880if test "${ac_cv_lib_util_getloadavg+set}" = set; then
15502 echo $ECHO_N "(cached) $ECHO_C" >&6 15881 echo $ECHO_N "(cached) $ECHO_C" >&6
15503else 15882else
@@ -15510,55 +15889,53 @@ cat confdefs.h >>conftest.$ac_ext
15510cat >>conftest.$ac_ext <<_ACEOF 15889cat >>conftest.$ac_ext <<_ACEOF
15511/* end confdefs.h. */ 15890/* end confdefs.h. */
15512 15891
15513/* Override any gcc2 internal prototype to avoid an error. */ 15892/* Override any GCC internal prototype to avoid an error.
15893 Use char because int might match the return type of a GCC
15894 builtin and then its argument prototype would still apply. */
15514#ifdef __cplusplus 15895#ifdef __cplusplus
15515extern "C" 15896extern "C"
15516#endif 15897#endif
15517/* We use char because int might match the return type of a gcc2
15518 builtin and then its argument prototype would still apply. */
15519char getloadavg (); 15898char getloadavg ();
15520int 15899int
15521main () 15900main ()
15522{ 15901{
15523getloadavg (); 15902return getloadavg ();
15524 ; 15903 ;
15525 return 0; 15904 return 0;
15526} 15905}
15527_ACEOF 15906_ACEOF
15528rm -f conftest.$ac_objext conftest$ac_exeext 15907rm -f conftest.$ac_objext conftest$ac_exeext
15529if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 15908if { (ac_try="$ac_link"
15530 (eval $ac_link) 2>conftest.er1 15909case "(($ac_try" in
15910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15911 *) ac_try_echo=$ac_try;;
15912esac
15913eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15914 (eval "$ac_link") 2>conftest.er1
15531 ac_status=$? 15915 ac_status=$?
15532 grep -v '^ *+' conftest.er1 >conftest.err 15916 grep -v '^ *+' conftest.er1 >conftest.err
15533 rm -f conftest.er1 15917 rm -f conftest.er1
15534 cat conftest.err >&5 15918 cat conftest.err >&5
15535 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15536 (exit $ac_status); } && 15920 (exit $ac_status); } && {
15537 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 15921 test -z "$ac_c_werror_flag" ||
15538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15922 test ! -s conftest.err
15539 (eval $ac_try) 2>&5 15923 } && test -s conftest$ac_exeext &&
15540 ac_status=$? 15924 $as_test_x conftest$ac_exeext; then
15541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15542 (exit $ac_status); }; } &&
15543 { ac_try='test -s conftest$ac_exeext'
15544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15545 (eval $ac_try) 2>&5
15546 ac_status=$?
15547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15548 (exit $ac_status); }; }; then
15549 ac_cv_lib_util_getloadavg=yes 15925 ac_cv_lib_util_getloadavg=yes
15550else 15926else
15551 echo "$as_me: failed program was:" >&5 15927 echo "$as_me: failed program was:" >&5
15552sed 's/^/| /' conftest.$ac_ext >&5 15928sed 's/^/| /' conftest.$ac_ext >&5
15553 15929
15554ac_cv_lib_util_getloadavg=no 15930 ac_cv_lib_util_getloadavg=no
15555fi 15931fi
15556rm -f conftest.err conftest.$ac_objext \ 15932
15933rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15557 conftest$ac_exeext conftest.$ac_ext 15934 conftest$ac_exeext conftest.$ac_ext
15558LIBS=$ac_check_lib_save_LIBS 15935LIBS=$ac_check_lib_save_LIBS
15559fi 15936fi
15560echo "$as_me:$LINENO: result: $ac_cv_lib_util_getloadavg" >&5 15937{ echo "$as_me:$LINENO: result: $ac_cv_lib_util_getloadavg" >&5
15561echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6 15938echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6; }
15562if test $ac_cv_lib_util_getloadavg = yes; then 15939if test $ac_cv_lib_util_getloadavg = yes; then
15563 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes 15940 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes
15564fi 15941fi
@@ -15570,8 +15947,8 @@ if test $ac_have_func = no; then
15570 # Since it is not a standard part of AIX, it might be installed locally. 15947 # Since it is not a standard part of AIX, it might be installed locally.
15571 ac_getloadavg_LIBS=$LIBS 15948 ac_getloadavg_LIBS=$LIBS
15572 LIBS="-L/usr/local/lib $LIBS" 15949 LIBS="-L/usr/local/lib $LIBS"
15573 echo "$as_me:$LINENO: checking for getloadavg in -lgetloadavg" >&5 15950 { echo "$as_me:$LINENO: checking for getloadavg in -lgetloadavg" >&5
15574echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6 15951echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6; }
15575if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then 15952if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then
15576 echo $ECHO_N "(cached) $ECHO_C" >&6 15953 echo $ECHO_N "(cached) $ECHO_C" >&6
15577else 15954else
@@ -15584,55 +15961,53 @@ cat confdefs.h >>conftest.$ac_ext
15584cat >>conftest.$ac_ext <<_ACEOF 15961cat >>conftest.$ac_ext <<_ACEOF
15585/* end confdefs.h. */ 15962/* end confdefs.h. */
15586 15963
15587/* Override any gcc2 internal prototype to avoid an error. */ 15964/* Override any GCC internal prototype to avoid an error.
15965 Use char because int might match the return type of a GCC
15966 builtin and then its argument prototype would still apply. */
15588#ifdef __cplusplus 15967#ifdef __cplusplus
15589extern "C" 15968extern "C"
15590#endif 15969#endif
15591/* We use char because int might match the return type of a gcc2
15592 builtin and then its argument prototype would still apply. */
15593char getloadavg (); 15970char getloadavg ();
15594int 15971int
15595main () 15972main ()
15596{ 15973{
15597getloadavg (); 15974return getloadavg ();
15598 ; 15975 ;
15599 return 0; 15976 return 0;
15600} 15977}
15601_ACEOF 15978_ACEOF
15602rm -f conftest.$ac_objext conftest$ac_exeext 15979rm -f conftest.$ac_objext conftest$ac_exeext
15603if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 15980if { (ac_try="$ac_link"
15604 (eval $ac_link) 2>conftest.er1 15981case "(($ac_try" in
15982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15983 *) ac_try_echo=$ac_try;;
15984esac
15985eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15986 (eval "$ac_link") 2>conftest.er1
15605 ac_status=$? 15987 ac_status=$?
15606 grep -v '^ *+' conftest.er1 >conftest.err 15988 grep -v '^ *+' conftest.er1 >conftest.err
15607 rm -f conftest.er1 15989 rm -f conftest.er1
15608 cat conftest.err >&5 15990 cat conftest.err >&5
15609 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15610 (exit $ac_status); } && 15992 (exit $ac_status); } && {
15611 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 15993 test -z "$ac_c_werror_flag" ||
15612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15994 test ! -s conftest.err
15613 (eval $ac_try) 2>&5 15995 } && test -s conftest$ac_exeext &&
15614 ac_status=$? 15996 $as_test_x conftest$ac_exeext; then
15615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15616 (exit $ac_status); }; } &&
15617 { ac_try='test -s conftest$ac_exeext'
15618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15619 (eval $ac_try) 2>&5
15620 ac_status=$?
15621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15622 (exit $ac_status); }; }; then
15623 ac_cv_lib_getloadavg_getloadavg=yes 15997 ac_cv_lib_getloadavg_getloadavg=yes
15624else 15998else
15625 echo "$as_me: failed program was:" >&5 15999 echo "$as_me: failed program was:" >&5
15626sed 's/^/| /' conftest.$ac_ext >&5 16000sed 's/^/| /' conftest.$ac_ext >&5
15627 16001
15628ac_cv_lib_getloadavg_getloadavg=no 16002 ac_cv_lib_getloadavg_getloadavg=no
15629fi 16003fi
15630rm -f conftest.err conftest.$ac_objext \ 16004
16005rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15631 conftest$ac_exeext conftest.$ac_ext 16006 conftest$ac_exeext conftest.$ac_ext
15632LIBS=$ac_check_lib_save_LIBS 16007LIBS=$ac_check_lib_save_LIBS
15633fi 16008fi
15634echo "$as_me:$LINENO: result: $ac_cv_lib_getloadavg_getloadavg" >&5 16009{ echo "$as_me:$LINENO: result: $ac_cv_lib_getloadavg_getloadavg" >&5
15635echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6 16010echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6; }
15636if test $ac_cv_lib_getloadavg_getloadavg = yes; then 16011if test $ac_cv_lib_getloadavg_getloadavg = yes; then
15637 LIBS="-lgetloadavg $LIBS" 16012 LIBS="-lgetloadavg $LIBS"
15638else 16013else
@@ -15647,9 +16022,9 @@ fi
15647for ac_func in getloadavg 16022for ac_func in getloadavg
15648do 16023do
15649as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 16024as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15650echo "$as_me:$LINENO: checking for $ac_func" >&5 16025{ echo "$as_me:$LINENO: checking for $ac_func" >&5
15651echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 16026echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15652if eval "test \"\${$as_ac_var+set}\" = set"; then 16027if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15653 echo $ECHO_N "(cached) $ECHO_C" >&6 16028 echo $ECHO_N "(cached) $ECHO_C" >&6
15654else 16029else
15655 cat >conftest.$ac_ext <<_ACEOF 16030 cat >conftest.$ac_ext <<_ACEOF
@@ -15675,79 +16050,70 @@ cat >>conftest.$ac_ext <<_ACEOF
15675 16050
15676#undef $ac_func 16051#undef $ac_func
15677 16052
15678/* Override any gcc2 internal prototype to avoid an error. */ 16053/* Override any GCC internal prototype to avoid an error.
16054 Use char because int might match the return type of a GCC
16055 builtin and then its argument prototype would still apply. */
15679#ifdef __cplusplus 16056#ifdef __cplusplus
15680extern "C" 16057extern "C"
15681{
15682#endif 16058#endif
15683/* We use char because int might match the return type of a gcc2
15684 builtin and then its argument prototype would still apply. */
15685char $ac_func (); 16059char $ac_func ();
15686/* The GNU C library defines this for functions which it implements 16060/* The GNU C library defines this for functions which it implements
15687 to always fail with ENOSYS. Some functions are actually named 16061 to always fail with ENOSYS. Some functions are actually named
15688 something starting with __ and the normal name is an alias. */ 16062 something starting with __ and the normal name is an alias. */
15689#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 16063#if defined __stub_$ac_func || defined __stub___$ac_func
15690choke me 16064choke me
15691#else
15692char (*f) () = $ac_func;
15693#endif
15694#ifdef __cplusplus
15695}
15696#endif 16065#endif
15697 16066
15698int 16067int
15699main () 16068main ()
15700{ 16069{
15701return f != $ac_func; 16070return $ac_func ();
15702 ; 16071 ;
15703 return 0; 16072 return 0;
15704} 16073}
15705_ACEOF 16074_ACEOF
15706rm -f conftest.$ac_objext conftest$ac_exeext 16075rm -f conftest.$ac_objext conftest$ac_exeext
15707if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 16076if { (ac_try="$ac_link"
15708 (eval $ac_link) 2>conftest.er1 16077case "(($ac_try" in
16078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16079 *) ac_try_echo=$ac_try;;
16080esac
16081eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16082 (eval "$ac_link") 2>conftest.er1
15709 ac_status=$? 16083 ac_status=$?
15710 grep -v '^ *+' conftest.er1 >conftest.err 16084 grep -v '^ *+' conftest.er1 >conftest.err
15711 rm -f conftest.er1 16085 rm -f conftest.er1
15712 cat conftest.err >&5 16086 cat conftest.err >&5
15713 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15714 (exit $ac_status); } && 16088 (exit $ac_status); } && {
15715 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 16089 test -z "$ac_c_werror_flag" ||
15716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16090 test ! -s conftest.err
15717 (eval $ac_try) 2>&5 16091 } && test -s conftest$ac_exeext &&
15718 ac_status=$? 16092 $as_test_x conftest$ac_exeext; then
15719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15720 (exit $ac_status); }; } &&
15721 { ac_try='test -s conftest$ac_exeext'
15722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15723 (eval $ac_try) 2>&5
15724 ac_status=$?
15725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15726 (exit $ac_status); }; }; then
15727 eval "$as_ac_var=yes" 16093 eval "$as_ac_var=yes"
15728else 16094else
15729 echo "$as_me: failed program was:" >&5 16095 echo "$as_me: failed program was:" >&5
15730sed 's/^/| /' conftest.$ac_ext >&5 16096sed 's/^/| /' conftest.$ac_ext >&5
15731 16097
15732eval "$as_ac_var=no" 16098 eval "$as_ac_var=no"
15733fi 16099fi
15734rm -f conftest.err conftest.$ac_objext \ 16100
16101rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15735 conftest$ac_exeext conftest.$ac_ext 16102 conftest$ac_exeext conftest.$ac_ext
15736fi 16103fi
15737echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 16104ac_res=`eval echo '${'$as_ac_var'}'`
15738echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 16105 { echo "$as_me:$LINENO: result: $ac_res" >&5
16106echo "${ECHO_T}$ac_res" >&6; }
15739if test `eval echo '${'$as_ac_var'}'` = yes; then 16107if test `eval echo '${'$as_ac_var'}'` = yes; then
15740 cat >>confdefs.h <<_ACEOF 16108 cat >>confdefs.h <<_ACEOF
15741#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 16109#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15742_ACEOF 16110_ACEOF
15743 16111
15744else 16112else
15745 case $LIBOBJS in 16113 case " $LIBOBJS " in
15746 "getloadavg.$ac_objext" | \
15747 *" getloadavg.$ac_objext" | \
15748 "getloadavg.$ac_objext "* | \
15749 *" getloadavg.$ac_objext "* ) ;; 16114 *" getloadavg.$ac_objext "* ) ;;
15750 *) LIBOBJS="$LIBOBJS getloadavg.$ac_objext" ;; 16115 *) LIBOBJS="$LIBOBJS getloadavg.$ac_objext"
16116 ;;
15751esac 16117esac
15752 16118
15753 16119
@@ -15758,17 +16124,17 @@ _ACEOF
15758# Figure out what our getloadavg.c needs. 16124# Figure out what our getloadavg.c needs.
15759ac_have_func=no 16125ac_have_func=no
15760if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then 16126if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
15761 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5 16127 { echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
15762echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6 16128echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6; }
15763if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then 16129if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
15764 echo $ECHO_N "(cached) $ECHO_C" >&6 16130 echo $ECHO_N "(cached) $ECHO_C" >&6
15765fi 16131fi
15766echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5 16132{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
15767echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6 16133echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6; }
15768else 16134else
15769 # Is the header compilable? 16135 # Is the header compilable?
15770echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5 16136{ echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5
15771echo $ECHO_N "checking sys/dg_sys_info.h usability... $ECHO_C" >&6 16137echo $ECHO_N "checking sys/dg_sys_info.h usability... $ECHO_C" >&6; }
15772cat >conftest.$ac_ext <<_ACEOF 16138cat >conftest.$ac_ext <<_ACEOF
15773/* confdefs.h. */ 16139/* confdefs.h. */
15774_ACEOF 16140_ACEOF
@@ -15779,40 +16145,37 @@ $ac_includes_default
15779#include <sys/dg_sys_info.h> 16145#include <sys/dg_sys_info.h>
15780_ACEOF 16146_ACEOF
15781rm -f conftest.$ac_objext 16147rm -f conftest.$ac_objext
15782if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 16148if { (ac_try="$ac_compile"
15783 (eval $ac_compile) 2>conftest.er1 16149case "(($ac_try" in
16150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16151 *) ac_try_echo=$ac_try;;
16152esac
16153eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16154 (eval "$ac_compile") 2>conftest.er1
15784 ac_status=$? 16155 ac_status=$?
15785 grep -v '^ *+' conftest.er1 >conftest.err 16156 grep -v '^ *+' conftest.er1 >conftest.err
15786 rm -f conftest.er1 16157 rm -f conftest.er1
15787 cat conftest.err >&5 16158 cat conftest.err >&5
15788 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15789 (exit $ac_status); } && 16160 (exit $ac_status); } && {
15790 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 16161 test -z "$ac_c_werror_flag" ||
15791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16162 test ! -s conftest.err
15792 (eval $ac_try) 2>&5 16163 } && test -s conftest.$ac_objext; then
15793 ac_status=$?
15794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15795 (exit $ac_status); }; } &&
15796 { ac_try='test -s conftest.$ac_objext'
15797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15798 (eval $ac_try) 2>&5
15799 ac_status=$?
15800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15801 (exit $ac_status); }; }; then
15802 ac_header_compiler=yes 16164 ac_header_compiler=yes
15803else 16165else
15804 echo "$as_me: failed program was:" >&5 16166 echo "$as_me: failed program was:" >&5
15805sed 's/^/| /' conftest.$ac_ext >&5 16167sed 's/^/| /' conftest.$ac_ext >&5
15806 16168
15807ac_header_compiler=no 16169 ac_header_compiler=no
15808fi 16170fi
15809rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 16171
15810echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 16172rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15811echo "${ECHO_T}$ac_header_compiler" >&6 16173{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16174echo "${ECHO_T}$ac_header_compiler" >&6; }
15812 16175
15813# Is the header present? 16176# Is the header present?
15814echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5 16177{ echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5
15815echo $ECHO_N "checking sys/dg_sys_info.h presence... $ECHO_C" >&6 16178echo $ECHO_N "checking sys/dg_sys_info.h presence... $ECHO_C" >&6; }
15816cat >conftest.$ac_ext <<_ACEOF 16179cat >conftest.$ac_ext <<_ACEOF
15817/* confdefs.h. */ 16180/* confdefs.h. */
15818_ACEOF 16181_ACEOF
@@ -15821,24 +16184,22 @@ cat >>conftest.$ac_ext <<_ACEOF
15821/* end confdefs.h. */ 16184/* end confdefs.h. */
15822#include <sys/dg_sys_info.h> 16185#include <sys/dg_sys_info.h>
15823_ACEOF 16186_ACEOF
15824if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 16187if { (ac_try="$ac_cpp conftest.$ac_ext"
15825 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 16188case "(($ac_try" in
16189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16190 *) ac_try_echo=$ac_try;;
16191esac
16192eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16193 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15826 ac_status=$? 16194 ac_status=$?
15827 grep -v '^ *+' conftest.er1 >conftest.err 16195 grep -v '^ *+' conftest.er1 >conftest.err
15828 rm -f conftest.er1 16196 rm -f conftest.er1
15829 cat conftest.err >&5 16197 cat conftest.err >&5
15830 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15831 (exit $ac_status); } >/dev/null; then 16199 (exit $ac_status); } >/dev/null && {
15832 if test -s conftest.err; then 16200 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15833 ac_cpp_err=$ac_c_preproc_warn_flag 16201 test ! -s conftest.err
15834 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 16202 }; then
15835 else
15836 ac_cpp_err=
15837 fi
15838else
15839 ac_cpp_err=yes
15840fi
15841if test -z "$ac_cpp_err"; then
15842 ac_header_preproc=yes 16203 ac_header_preproc=yes
15843else 16204else
15844 echo "$as_me: failed program was:" >&5 16205 echo "$as_me: failed program was:" >&5
@@ -15846,9 +16207,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
15846 16207
15847 ac_header_preproc=no 16208 ac_header_preproc=no
15848fi 16209fi
16210
15849rm -f conftest.err conftest.$ac_ext 16211rm -f conftest.err conftest.$ac_ext
15850echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 16212{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15851echo "${ECHO_T}$ac_header_preproc" >&6 16213echo "${ECHO_T}$ac_header_preproc" >&6; }
15852 16214
15853# So? What about this header? 16215# So? What about this header?
15854case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 16216case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
@@ -15872,25 +16234,18 @@ echo "$as_me: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Co
15872echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;} 16234echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;}
15873 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&5 16235 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&5
15874echo "$as_me: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&2;} 16236echo "$as_me: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&2;}
15875 ( 16237
15876 cat <<\_ASBOX
15877## ------------------------------------------ ##
15878## Report this to the AC_PACKAGE_NAME lists. ##
15879## ------------------------------------------ ##
15880_ASBOX
15881 ) |
15882 sed "s/^/$as_me: WARNING: /" >&2
15883 ;; 16238 ;;
15884esac 16239esac
15885echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5 16240{ echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
15886echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6 16241echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6; }
15887if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then 16242if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
15888 echo $ECHO_N "(cached) $ECHO_C" >&6 16243 echo $ECHO_N "(cached) $ECHO_C" >&6
15889else 16244else
15890 ac_cv_header_sys_dg_sys_info_h=$ac_header_preproc 16245 ac_cv_header_sys_dg_sys_info_h=$ac_header_preproc
15891fi 16246fi
15892echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5 16247{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
15893echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6 16248echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6; }
15894 16249
15895fi 16250fi
15896if test $ac_cv_header_sys_dg_sys_info_h = yes; then 16251if test $ac_cv_header_sys_dg_sys_info_h = yes; then
@@ -15901,8 +16256,8 @@ cat >>confdefs.h <<\_ACEOF
15901_ACEOF 16256_ACEOF
15902 16257
15903 16258
15904echo "$as_me:$LINENO: checking for dg_sys_info in -ldgc" >&5 16259{ echo "$as_me:$LINENO: checking for dg_sys_info in -ldgc" >&5
15905echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6 16260echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6; }
15906if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then 16261if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then
15907 echo $ECHO_N "(cached) $ECHO_C" >&6 16262 echo $ECHO_N "(cached) $ECHO_C" >&6
15908else 16263else
@@ -15915,55 +16270,53 @@ cat confdefs.h >>conftest.$ac_ext
15915cat >>conftest.$ac_ext <<_ACEOF 16270cat >>conftest.$ac_ext <<_ACEOF
15916/* end confdefs.h. */ 16271/* end confdefs.h. */
15917 16272
15918/* Override any gcc2 internal prototype to avoid an error. */ 16273/* Override any GCC internal prototype to avoid an error.
16274 Use char because int might match the return type of a GCC
16275 builtin and then its argument prototype would still apply. */
15919#ifdef __cplusplus 16276#ifdef __cplusplus
15920extern "C" 16277extern "C"
15921#endif 16278#endif
15922/* We use char because int might match the return type of a gcc2
15923 builtin and then its argument prototype would still apply. */
15924char dg_sys_info (); 16279char dg_sys_info ();
15925int 16280int
15926main () 16281main ()
15927{ 16282{
15928dg_sys_info (); 16283return dg_sys_info ();
15929 ; 16284 ;
15930 return 0; 16285 return 0;
15931} 16286}
15932_ACEOF 16287_ACEOF
15933rm -f conftest.$ac_objext conftest$ac_exeext 16288rm -f conftest.$ac_objext conftest$ac_exeext
15934if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 16289if { (ac_try="$ac_link"
15935 (eval $ac_link) 2>conftest.er1 16290case "(($ac_try" in
16291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16292 *) ac_try_echo=$ac_try;;
16293esac
16294eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16295 (eval "$ac_link") 2>conftest.er1
15936 ac_status=$? 16296 ac_status=$?
15937 grep -v '^ *+' conftest.er1 >conftest.err 16297 grep -v '^ *+' conftest.er1 >conftest.err
15938 rm -f conftest.er1 16298 rm -f conftest.er1
15939 cat conftest.err >&5 16299 cat conftest.err >&5
15940 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15941 (exit $ac_status); } && 16301 (exit $ac_status); } && {
15942 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 16302 test -z "$ac_c_werror_flag" ||
15943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16303 test ! -s conftest.err
15944 (eval $ac_try) 2>&5 16304 } && test -s conftest$ac_exeext &&
15945 ac_status=$? 16305 $as_test_x conftest$ac_exeext; then
15946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15947 (exit $ac_status); }; } &&
15948 { ac_try='test -s conftest$ac_exeext'
15949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15950 (eval $ac_try) 2>&5
15951 ac_status=$?
15952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15953 (exit $ac_status); }; }; then
15954 ac_cv_lib_dgc_dg_sys_info=yes 16306 ac_cv_lib_dgc_dg_sys_info=yes
15955else 16307else
15956 echo "$as_me: failed program was:" >&5 16308 echo "$as_me: failed program was:" >&5
15957sed 's/^/| /' conftest.$ac_ext >&5 16309sed 's/^/| /' conftest.$ac_ext >&5
15958 16310
15959ac_cv_lib_dgc_dg_sys_info=no 16311 ac_cv_lib_dgc_dg_sys_info=no
15960fi 16312fi
15961rm -f conftest.err conftest.$ac_objext \ 16313
16314rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15962 conftest$ac_exeext conftest.$ac_ext 16315 conftest$ac_exeext conftest.$ac_ext
15963LIBS=$ac_check_lib_save_LIBS 16316LIBS=$ac_check_lib_save_LIBS
15964fi 16317fi
15965echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_dg_sys_info" >&5 16318{ echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_dg_sys_info" >&5
15966echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6 16319echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6; }
15967if test $ac_cv_lib_dgc_dg_sys_info = yes; then 16320if test $ac_cv_lib_dgc_dg_sys_info = yes; then
15968 cat >>confdefs.h <<_ACEOF 16321 cat >>confdefs.h <<_ACEOF
15969#define HAVE_LIBDGC 1 16322#define HAVE_LIBDGC 1
@@ -15978,17 +16331,17 @@ fi
15978 16331
15979 16332
15980if test "${ac_cv_header_locale_h+set}" = set; then 16333if test "${ac_cv_header_locale_h+set}" = set; then
15981 echo "$as_me:$LINENO: checking for locale.h" >&5 16334 { echo "$as_me:$LINENO: checking for locale.h" >&5
15982echo $ECHO_N "checking for locale.h... $ECHO_C" >&6 16335echo $ECHO_N "checking for locale.h... $ECHO_C" >&6; }
15983if test "${ac_cv_header_locale_h+set}" = set; then 16336if test "${ac_cv_header_locale_h+set}" = set; then
15984 echo $ECHO_N "(cached) $ECHO_C" >&6 16337 echo $ECHO_N "(cached) $ECHO_C" >&6
15985fi 16338fi
15986echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5 16339{ echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
15987echo "${ECHO_T}$ac_cv_header_locale_h" >&6 16340echo "${ECHO_T}$ac_cv_header_locale_h" >&6; }
15988else 16341else
15989 # Is the header compilable? 16342 # Is the header compilable?
15990echo "$as_me:$LINENO: checking locale.h usability" >&5 16343{ echo "$as_me:$LINENO: checking locale.h usability" >&5
15991echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6 16344echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6; }
15992cat >conftest.$ac_ext <<_ACEOF 16345cat >conftest.$ac_ext <<_ACEOF
15993/* confdefs.h. */ 16346/* confdefs.h. */
15994_ACEOF 16347_ACEOF
@@ -15999,40 +16352,37 @@ $ac_includes_default
15999#include <locale.h> 16352#include <locale.h>
16000_ACEOF 16353_ACEOF
16001rm -f conftest.$ac_objext 16354rm -f conftest.$ac_objext
16002if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 16355if { (ac_try="$ac_compile"
16003 (eval $ac_compile) 2>conftest.er1 16356case "(($ac_try" in
16357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16358 *) ac_try_echo=$ac_try;;
16359esac
16360eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16361 (eval "$ac_compile") 2>conftest.er1
16004 ac_status=$? 16362 ac_status=$?
16005 grep -v '^ *+' conftest.er1 >conftest.err 16363 grep -v '^ *+' conftest.er1 >conftest.err
16006 rm -f conftest.er1 16364 rm -f conftest.er1
16007 cat conftest.err >&5 16365 cat conftest.err >&5
16008 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16009 (exit $ac_status); } && 16367 (exit $ac_status); } && {
16010 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 16368 test -z "$ac_c_werror_flag" ||
16011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16369 test ! -s conftest.err
16012 (eval $ac_try) 2>&5 16370 } && test -s conftest.$ac_objext; then
16013 ac_status=$?
16014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16015 (exit $ac_status); }; } &&
16016 { ac_try='test -s conftest.$ac_objext'
16017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16018 (eval $ac_try) 2>&5
16019 ac_status=$?
16020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16021 (exit $ac_status); }; }; then
16022 ac_header_compiler=yes 16371 ac_header_compiler=yes
16023else 16372else
16024 echo "$as_me: failed program was:" >&5 16373 echo "$as_me: failed program was:" >&5
16025sed 's/^/| /' conftest.$ac_ext >&5 16374sed 's/^/| /' conftest.$ac_ext >&5
16026 16375
16027ac_header_compiler=no 16376 ac_header_compiler=no
16028fi 16377fi
16029rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 16378
16030echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 16379rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16031echo "${ECHO_T}$ac_header_compiler" >&6 16380{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16381echo "${ECHO_T}$ac_header_compiler" >&6; }
16032 16382
16033# Is the header present? 16383# Is the header present?
16034echo "$as_me:$LINENO: checking locale.h presence" >&5 16384{ echo "$as_me:$LINENO: checking locale.h presence" >&5
16035echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6 16385echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6; }
16036cat >conftest.$ac_ext <<_ACEOF 16386cat >conftest.$ac_ext <<_ACEOF
16037/* confdefs.h. */ 16387/* confdefs.h. */
16038_ACEOF 16388_ACEOF
@@ -16041,24 +16391,22 @@ cat >>conftest.$ac_ext <<_ACEOF
16041/* end confdefs.h. */ 16391/* end confdefs.h. */
16042#include <locale.h> 16392#include <locale.h>
16043_ACEOF 16393_ACEOF
16044if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 16394if { (ac_try="$ac_cpp conftest.$ac_ext"
16045 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 16395case "(($ac_try" in
16396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16397 *) ac_try_echo=$ac_try;;
16398esac
16399eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16400 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16046 ac_status=$? 16401 ac_status=$?
16047 grep -v '^ *+' conftest.er1 >conftest.err 16402 grep -v '^ *+' conftest.er1 >conftest.err
16048 rm -f conftest.er1 16403 rm -f conftest.er1
16049 cat conftest.err >&5 16404 cat conftest.err >&5
16050 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16051 (exit $ac_status); } >/dev/null; then 16406 (exit $ac_status); } >/dev/null && {
16052 if test -s conftest.err; then 16407 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16053 ac_cpp_err=$ac_c_preproc_warn_flag 16408 test ! -s conftest.err
16054 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 16409 }; then
16055 else
16056 ac_cpp_err=
16057 fi
16058else
16059 ac_cpp_err=yes
16060fi
16061if test -z "$ac_cpp_err"; then
16062 ac_header_preproc=yes 16410 ac_header_preproc=yes
16063else 16411else
16064 echo "$as_me: failed program was:" >&5 16412 echo "$as_me: failed program was:" >&5
@@ -16066,9 +16414,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
16066 16414
16067 ac_header_preproc=no 16415 ac_header_preproc=no
16068fi 16416fi
16417
16069rm -f conftest.err conftest.$ac_ext 16418rm -f conftest.err conftest.$ac_ext
16070echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 16419{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16071echo "${ECHO_T}$ac_header_preproc" >&6 16420echo "${ECHO_T}$ac_header_preproc" >&6; }
16072 16421
16073# So? What about this header? 16422# So? What about this header?
16074case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 16423case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
@@ -16092,25 +16441,18 @@ echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\""
16092echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;} 16441echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
16093 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5 16442 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
16094echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;} 16443echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
16095 ( 16444
16096 cat <<\_ASBOX
16097## ------------------------------------------ ##
16098## Report this to the AC_PACKAGE_NAME lists. ##
16099## ------------------------------------------ ##
16100_ASBOX
16101 ) |
16102 sed "s/^/$as_me: WARNING: /" >&2
16103 ;; 16445 ;;
16104esac 16446esac
16105echo "$as_me:$LINENO: checking for locale.h" >&5 16447{ echo "$as_me:$LINENO: checking for locale.h" >&5
16106echo $ECHO_N "checking for locale.h... $ECHO_C" >&6 16448echo $ECHO_N "checking for locale.h... $ECHO_C" >&6; }
16107if test "${ac_cv_header_locale_h+set}" = set; then 16449if test "${ac_cv_header_locale_h+set}" = set; then
16108 echo $ECHO_N "(cached) $ECHO_C" >&6 16450 echo $ECHO_N "(cached) $ECHO_C" >&6
16109else 16451else
16110 ac_cv_header_locale_h=$ac_header_preproc 16452 ac_cv_header_locale_h=$ac_header_preproc
16111fi 16453fi
16112echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5 16454{ echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
16113echo "${ECHO_T}$ac_cv_header_locale_h" >&6 16455echo "${ECHO_T}$ac_cv_header_locale_h" >&6; }
16114 16456
16115fi 16457fi
16116 16458
@@ -16119,9 +16461,9 @@ fi
16119for ac_func in setlocale 16461for ac_func in setlocale
16120do 16462do
16121as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 16463as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16122echo "$as_me:$LINENO: checking for $ac_func" >&5 16464{ echo "$as_me:$LINENO: checking for $ac_func" >&5
16123echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 16465echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16124if eval "test \"\${$as_ac_var+set}\" = set"; then 16466if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16125 echo $ECHO_N "(cached) $ECHO_C" >&6 16467 echo $ECHO_N "(cached) $ECHO_C" >&6
16126else 16468else
16127 cat >conftest.$ac_ext <<_ACEOF 16469 cat >conftest.$ac_ext <<_ACEOF
@@ -16147,67 +16489,60 @@ cat >>conftest.$ac_ext <<_ACEOF
16147 16489
16148#undef $ac_func 16490#undef $ac_func
16149 16491
16150/* Override any gcc2 internal prototype to avoid an error. */ 16492/* Override any GCC internal prototype to avoid an error.
16493 Use char because int might match the return type of a GCC
16494 builtin and then its argument prototype would still apply. */
16151#ifdef __cplusplus 16495#ifdef __cplusplus
16152extern "C" 16496extern "C"
16153{
16154#endif 16497#endif
16155/* We use char because int might match the return type of a gcc2
16156 builtin and then its argument prototype would still apply. */
16157char $ac_func (); 16498char $ac_func ();
16158/* The GNU C library defines this for functions which it implements 16499/* The GNU C library defines this for functions which it implements
16159 to always fail with ENOSYS. Some functions are actually named 16500 to always fail with ENOSYS. Some functions are actually named
16160 something starting with __ and the normal name is an alias. */ 16501 something starting with __ and the normal name is an alias. */
16161#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 16502#if defined __stub_$ac_func || defined __stub___$ac_func
16162choke me 16503choke me
16163#else
16164char (*f) () = $ac_func;
16165#endif
16166#ifdef __cplusplus
16167}
16168#endif 16504#endif
16169 16505
16170int 16506int
16171main () 16507main ()
16172{ 16508{
16173return f != $ac_func; 16509return $ac_func ();
16174 ; 16510 ;
16175 return 0; 16511 return 0;
16176} 16512}
16177_ACEOF 16513_ACEOF
16178rm -f conftest.$ac_objext conftest$ac_exeext 16514rm -f conftest.$ac_objext conftest$ac_exeext
16179if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 16515if { (ac_try="$ac_link"
16180 (eval $ac_link) 2>conftest.er1 16516case "(($ac_try" in
16517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16518 *) ac_try_echo=$ac_try;;
16519esac
16520eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16521 (eval "$ac_link") 2>conftest.er1
16181 ac_status=$? 16522 ac_status=$?
16182 grep -v '^ *+' conftest.er1 >conftest.err 16523 grep -v '^ *+' conftest.er1 >conftest.err
16183 rm -f conftest.er1 16524 rm -f conftest.er1
16184 cat conftest.err >&5 16525 cat conftest.err >&5
16185 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16186 (exit $ac_status); } && 16527 (exit $ac_status); } && {
16187 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 16528 test -z "$ac_c_werror_flag" ||
16188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16529 test ! -s conftest.err
16189 (eval $ac_try) 2>&5 16530 } && test -s conftest$ac_exeext &&
16190 ac_status=$? 16531 $as_test_x conftest$ac_exeext; then
16191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16192 (exit $ac_status); }; } &&
16193 { ac_try='test -s conftest$ac_exeext'
16194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16195 (eval $ac_try) 2>&5
16196 ac_status=$?
16197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16198 (exit $ac_status); }; }; then
16199 eval "$as_ac_var=yes" 16532 eval "$as_ac_var=yes"
16200else 16533else
16201 echo "$as_me: failed program was:" >&5 16534 echo "$as_me: failed program was:" >&5
16202sed 's/^/| /' conftest.$ac_ext >&5 16535sed 's/^/| /' conftest.$ac_ext >&5
16203 16536
16204eval "$as_ac_var=no" 16537 eval "$as_ac_var=no"
16205fi 16538fi
16206rm -f conftest.err conftest.$ac_objext \ 16539
16540rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16207 conftest$ac_exeext conftest.$ac_ext 16541 conftest$ac_exeext conftest.$ac_ext
16208fi 16542fi
16209echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 16543ac_res=`eval echo '${'$as_ac_var'}'`
16210echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 16544 { echo "$as_me:$LINENO: result: $ac_res" >&5
16545echo "${ECHO_T}$ac_res" >&6; }
16211if test `eval echo '${'$as_ac_var'}'` = yes; then 16546if test `eval echo '${'$as_ac_var'}'` = yes; then
16212 cat >>confdefs.h <<_ACEOF 16547 cat >>confdefs.h <<_ACEOF
16213#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 16548#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
@@ -16231,17 +16566,17 @@ fi
16231 16566
16232if test $ac_have_func = no; then 16567if test $ac_have_func = no; then
16233 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then 16568 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
16234 echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5 16569 { echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5
16235echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6 16570echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6; }
16236if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then 16571if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
16237 echo $ECHO_N "(cached) $ECHO_C" >&6 16572 echo $ECHO_N "(cached) $ECHO_C" >&6
16238fi 16573fi
16239echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5 16574{ echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
16240echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6 16575echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6; }
16241else 16576else
16242 # Is the header compilable? 16577 # Is the header compilable?
16243echo "$as_me:$LINENO: checking inq_stats/cpustats.h usability" >&5 16578{ echo "$as_me:$LINENO: checking inq_stats/cpustats.h usability" >&5
16244echo $ECHO_N "checking inq_stats/cpustats.h usability... $ECHO_C" >&6 16579echo $ECHO_N "checking inq_stats/cpustats.h usability... $ECHO_C" >&6; }
16245cat >conftest.$ac_ext <<_ACEOF 16580cat >conftest.$ac_ext <<_ACEOF
16246/* confdefs.h. */ 16581/* confdefs.h. */
16247_ACEOF 16582_ACEOF
@@ -16252,40 +16587,37 @@ $ac_includes_default
16252#include <inq_stats/cpustats.h> 16587#include <inq_stats/cpustats.h>
16253_ACEOF 16588_ACEOF
16254rm -f conftest.$ac_objext 16589rm -f conftest.$ac_objext
16255if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 16590if { (ac_try="$ac_compile"
16256 (eval $ac_compile) 2>conftest.er1 16591case "(($ac_try" in
16592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16593 *) ac_try_echo=$ac_try;;
16594esac
16595eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16596 (eval "$ac_compile") 2>conftest.er1
16257 ac_status=$? 16597 ac_status=$?
16258 grep -v '^ *+' conftest.er1 >conftest.err 16598 grep -v '^ *+' conftest.er1 >conftest.err
16259 rm -f conftest.er1 16599 rm -f conftest.er1
16260 cat conftest.err >&5 16600 cat conftest.err >&5
16261 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16262 (exit $ac_status); } && 16602 (exit $ac_status); } && {
16263 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 16603 test -z "$ac_c_werror_flag" ||
16264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16604 test ! -s conftest.err
16265 (eval $ac_try) 2>&5 16605 } && test -s conftest.$ac_objext; then
16266 ac_status=$?
16267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16268 (exit $ac_status); }; } &&
16269 { ac_try='test -s conftest.$ac_objext'
16270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16271 (eval $ac_try) 2>&5
16272 ac_status=$?
16273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16274 (exit $ac_status); }; }; then
16275 ac_header_compiler=yes 16606 ac_header_compiler=yes
16276else 16607else
16277 echo "$as_me: failed program was:" >&5 16608 echo "$as_me: failed program was:" >&5
16278sed 's/^/| /' conftest.$ac_ext >&5 16609sed 's/^/| /' conftest.$ac_ext >&5
16279 16610
16280ac_header_compiler=no 16611 ac_header_compiler=no
16281fi 16612fi
16282rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 16613
16283echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 16614rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16284echo "${ECHO_T}$ac_header_compiler" >&6 16615{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16616echo "${ECHO_T}$ac_header_compiler" >&6; }
16285 16617
16286# Is the header present? 16618# Is the header present?
16287echo "$as_me:$LINENO: checking inq_stats/cpustats.h presence" >&5 16619{ echo "$as_me:$LINENO: checking inq_stats/cpustats.h presence" >&5
16288echo $ECHO_N "checking inq_stats/cpustats.h presence... $ECHO_C" >&6 16620echo $ECHO_N "checking inq_stats/cpustats.h presence... $ECHO_C" >&6; }
16289cat >conftest.$ac_ext <<_ACEOF 16621cat >conftest.$ac_ext <<_ACEOF
16290/* confdefs.h. */ 16622/* confdefs.h. */
16291_ACEOF 16623_ACEOF
@@ -16294,24 +16626,22 @@ cat >>conftest.$ac_ext <<_ACEOF
16294/* end confdefs.h. */ 16626/* end confdefs.h. */
16295#include <inq_stats/cpustats.h> 16627#include <inq_stats/cpustats.h>
16296_ACEOF 16628_ACEOF
16297if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 16629if { (ac_try="$ac_cpp conftest.$ac_ext"
16298 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 16630case "(($ac_try" in
16631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16632 *) ac_try_echo=$ac_try;;
16633esac
16634eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16635 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16299 ac_status=$? 16636 ac_status=$?
16300 grep -v '^ *+' conftest.er1 >conftest.err 16637 grep -v '^ *+' conftest.er1 >conftest.err
16301 rm -f conftest.er1 16638 rm -f conftest.er1
16302 cat conftest.err >&5 16639 cat conftest.err >&5
16303 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16304 (exit $ac_status); } >/dev/null; then 16641 (exit $ac_status); } >/dev/null && {
16305 if test -s conftest.err; then 16642 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16306 ac_cpp_err=$ac_c_preproc_warn_flag 16643 test ! -s conftest.err
16307 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 16644 }; then
16308 else
16309 ac_cpp_err=
16310 fi
16311else
16312 ac_cpp_err=yes
16313fi
16314if test -z "$ac_cpp_err"; then
16315 ac_header_preproc=yes 16645 ac_header_preproc=yes
16316else 16646else
16317 echo "$as_me: failed program was:" >&5 16647 echo "$as_me: failed program was:" >&5
@@ -16319,9 +16649,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
16319 16649
16320 ac_header_preproc=no 16650 ac_header_preproc=no
16321fi 16651fi
16652
16322rm -f conftest.err conftest.$ac_ext 16653rm -f conftest.err conftest.$ac_ext
16323echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 16654{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16324echo "${ECHO_T}$ac_header_preproc" >&6 16655echo "${ECHO_T}$ac_header_preproc" >&6; }
16325 16656
16326# So? What about this header? 16657# So? What about this header?
16327case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 16658case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
@@ -16345,25 +16676,18 @@ echo "$as_me: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be
16345echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;} 16676echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;}
16346 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&5 16677 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&5
16347echo "$as_me: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&2;} 16678echo "$as_me: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&2;}
16348 ( 16679
16349 cat <<\_ASBOX
16350## ------------------------------------------ ##
16351## Report this to the AC_PACKAGE_NAME lists. ##
16352## ------------------------------------------ ##
16353_ASBOX
16354 ) |
16355 sed "s/^/$as_me: WARNING: /" >&2
16356 ;; 16680 ;;
16357esac 16681esac
16358echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5 16682{ echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5
16359echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6 16683echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6; }
16360if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then 16684if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
16361 echo $ECHO_N "(cached) $ECHO_C" >&6 16685 echo $ECHO_N "(cached) $ECHO_C" >&6
16362else 16686else
16363 ac_cv_header_inq_stats_cpustats_h=$ac_header_preproc 16687 ac_cv_header_inq_stats_cpustats_h=$ac_header_preproc
16364fi 16688fi
16365echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5 16689{ echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
16366echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6 16690echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6; }
16367 16691
16368fi 16692fi
16369if test $ac_cv_header_inq_stats_cpustats_h = yes; then 16693if test $ac_cv_header_inq_stats_cpustats_h = yes; then
@@ -16385,17 +16709,17 @@ fi
16385 16709
16386if test $ac_have_func = no; then 16710if test $ac_have_func = no; then
16387 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then 16711 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
16388 echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5 16712 { echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5
16389echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6 16713echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6; }
16390if test "${ac_cv_header_sys_cpustats_h+set}" = set; then 16714if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
16391 echo $ECHO_N "(cached) $ECHO_C" >&6 16715 echo $ECHO_N "(cached) $ECHO_C" >&6
16392fi 16716fi
16393echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5 16717{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
16394echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6 16718echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6; }
16395else 16719else
16396 # Is the header compilable? 16720 # Is the header compilable?
16397echo "$as_me:$LINENO: checking sys/cpustats.h usability" >&5 16721{ echo "$as_me:$LINENO: checking sys/cpustats.h usability" >&5
16398echo $ECHO_N "checking sys/cpustats.h usability... $ECHO_C" >&6 16722echo $ECHO_N "checking sys/cpustats.h usability... $ECHO_C" >&6; }
16399cat >conftest.$ac_ext <<_ACEOF 16723cat >conftest.$ac_ext <<_ACEOF
16400/* confdefs.h. */ 16724/* confdefs.h. */
16401_ACEOF 16725_ACEOF
@@ -16406,40 +16730,37 @@ $ac_includes_default
16406#include <sys/cpustats.h> 16730#include <sys/cpustats.h>
16407_ACEOF 16731_ACEOF
16408rm -f conftest.$ac_objext 16732rm -f conftest.$ac_objext
16409if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 16733if { (ac_try="$ac_compile"
16410 (eval $ac_compile) 2>conftest.er1 16734case "(($ac_try" in
16735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16736 *) ac_try_echo=$ac_try;;
16737esac
16738eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16739 (eval "$ac_compile") 2>conftest.er1
16411 ac_status=$? 16740 ac_status=$?
16412 grep -v '^ *+' conftest.er1 >conftest.err 16741 grep -v '^ *+' conftest.er1 >conftest.err
16413 rm -f conftest.er1 16742 rm -f conftest.er1
16414 cat conftest.err >&5 16743 cat conftest.err >&5
16415 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16416 (exit $ac_status); } && 16745 (exit $ac_status); } && {
16417 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 16746 test -z "$ac_c_werror_flag" ||
16418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16747 test ! -s conftest.err
16419 (eval $ac_try) 2>&5 16748 } && test -s conftest.$ac_objext; then
16420 ac_status=$?
16421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16422 (exit $ac_status); }; } &&
16423 { ac_try='test -s conftest.$ac_objext'
16424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16425 (eval $ac_try) 2>&5
16426 ac_status=$?
16427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16428 (exit $ac_status); }; }; then
16429 ac_header_compiler=yes 16749 ac_header_compiler=yes
16430else 16750else
16431 echo "$as_me: failed program was:" >&5 16751 echo "$as_me: failed program was:" >&5
16432sed 's/^/| /' conftest.$ac_ext >&5 16752sed 's/^/| /' conftest.$ac_ext >&5
16433 16753
16434ac_header_compiler=no 16754 ac_header_compiler=no
16435fi 16755fi
16436rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 16756
16437echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 16757rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16438echo "${ECHO_T}$ac_header_compiler" >&6 16758{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16759echo "${ECHO_T}$ac_header_compiler" >&6; }
16439 16760
16440# Is the header present? 16761# Is the header present?
16441echo "$as_me:$LINENO: checking sys/cpustats.h presence" >&5 16762{ echo "$as_me:$LINENO: checking sys/cpustats.h presence" >&5
16442echo $ECHO_N "checking sys/cpustats.h presence... $ECHO_C" >&6 16763echo $ECHO_N "checking sys/cpustats.h presence... $ECHO_C" >&6; }
16443cat >conftest.$ac_ext <<_ACEOF 16764cat >conftest.$ac_ext <<_ACEOF
16444/* confdefs.h. */ 16765/* confdefs.h. */
16445_ACEOF 16766_ACEOF
@@ -16448,24 +16769,22 @@ cat >>conftest.$ac_ext <<_ACEOF
16448/* end confdefs.h. */ 16769/* end confdefs.h. */
16449#include <sys/cpustats.h> 16770#include <sys/cpustats.h>
16450_ACEOF 16771_ACEOF
16451if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 16772if { (ac_try="$ac_cpp conftest.$ac_ext"
16452 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 16773case "(($ac_try" in
16774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16775 *) ac_try_echo=$ac_try;;
16776esac
16777eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16778 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16453 ac_status=$? 16779 ac_status=$?
16454 grep -v '^ *+' conftest.er1 >conftest.err 16780 grep -v '^ *+' conftest.er1 >conftest.err
16455 rm -f conftest.er1 16781 rm -f conftest.er1
16456 cat conftest.err >&5 16782 cat conftest.err >&5
16457 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16458 (exit $ac_status); } >/dev/null; then 16784 (exit $ac_status); } >/dev/null && {
16459 if test -s conftest.err; then 16785 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16460 ac_cpp_err=$ac_c_preproc_warn_flag 16786 test ! -s conftest.err
16461 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 16787 }; then
16462 else
16463 ac_cpp_err=
16464 fi
16465else
16466 ac_cpp_err=yes
16467fi
16468if test -z "$ac_cpp_err"; then
16469 ac_header_preproc=yes 16788 ac_header_preproc=yes
16470else 16789else
16471 echo "$as_me: failed program was:" >&5 16790 echo "$as_me: failed program was:" >&5
@@ -16473,9 +16792,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
16473 16792
16474 ac_header_preproc=no 16793 ac_header_preproc=no
16475fi 16794fi
16795
16476rm -f conftest.err conftest.$ac_ext 16796rm -f conftest.err conftest.$ac_ext
16477echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 16797{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16478echo "${ECHO_T}$ac_header_preproc" >&6 16798echo "${ECHO_T}$ac_header_preproc" >&6; }
16479 16799
16480# So? What about this header? 16800# So? What about this header?
16481case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 16801case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
@@ -16499,25 +16819,18 @@ echo "$as_me: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compi
16499echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;} 16819echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;}
16500 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&5 16820 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&5
16501echo "$as_me: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&2;} 16821echo "$as_me: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&2;}
16502 ( 16822
16503 cat <<\_ASBOX
16504## ------------------------------------------ ##
16505## Report this to the AC_PACKAGE_NAME lists. ##
16506## ------------------------------------------ ##
16507_ASBOX
16508 ) |
16509 sed "s/^/$as_me: WARNING: /" >&2
16510 ;; 16823 ;;
16511esac 16824esac
16512echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5 16825{ echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5
16513echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6 16826echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6; }
16514if test "${ac_cv_header_sys_cpustats_h+set}" = set; then 16827if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
16515 echo $ECHO_N "(cached) $ECHO_C" >&6 16828 echo $ECHO_N "(cached) $ECHO_C" >&6
16516else 16829else
16517 ac_cv_header_sys_cpustats_h=$ac_header_preproc 16830 ac_cv_header_sys_cpustats_h=$ac_header_preproc
16518fi 16831fi
16519echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5 16832{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
16520echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6 16833echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6; }
16521 16834
16522fi 16835fi
16523if test $ac_cv_header_sys_cpustats_h = yes; then 16836if test $ac_cv_header_sys_cpustats_h = yes; then
@@ -16535,18 +16848,19 @@ if test $ac_have_func = no; then
16535for ac_header in mach/mach.h 16848for ac_header in mach/mach.h
16536do 16849do
16537as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 16850as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16538if eval "test \"\${$as_ac_Header+set}\" = set"; then 16851if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16539 echo "$as_me:$LINENO: checking for $ac_header" >&5 16852 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16540echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 16853echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16541if eval "test \"\${$as_ac_Header+set}\" = set"; then 16854if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16542 echo $ECHO_N "(cached) $ECHO_C" >&6 16855 echo $ECHO_N "(cached) $ECHO_C" >&6
16543fi 16856fi
16544echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 16857ac_res=`eval echo '${'$as_ac_Header'}'`
16545echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 16858 { echo "$as_me:$LINENO: result: $ac_res" >&5
16859echo "${ECHO_T}$ac_res" >&6; }
16546else 16860else
16547 # Is the header compilable? 16861 # Is the header compilable?
16548echo "$as_me:$LINENO: checking $ac_header usability" >&5 16862{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
16549echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 16863echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
16550cat >conftest.$ac_ext <<_ACEOF 16864cat >conftest.$ac_ext <<_ACEOF
16551/* confdefs.h. */ 16865/* confdefs.h. */
16552_ACEOF 16866_ACEOF
@@ -16557,40 +16871,37 @@ $ac_includes_default
16557#include <$ac_header> 16871#include <$ac_header>
16558_ACEOF 16872_ACEOF
16559rm -f conftest.$ac_objext 16873rm -f conftest.$ac_objext
16560if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 16874if { (ac_try="$ac_compile"
16561 (eval $ac_compile) 2>conftest.er1 16875case "(($ac_try" in
16876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16877 *) ac_try_echo=$ac_try;;
16878esac
16879eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16880 (eval "$ac_compile") 2>conftest.er1
16562 ac_status=$? 16881 ac_status=$?
16563 grep -v '^ *+' conftest.er1 >conftest.err 16882 grep -v '^ *+' conftest.er1 >conftest.err
16564 rm -f conftest.er1 16883 rm -f conftest.er1
16565 cat conftest.err >&5 16884 cat conftest.err >&5
16566 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16567 (exit $ac_status); } && 16886 (exit $ac_status); } && {
16568 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 16887 test -z "$ac_c_werror_flag" ||
16569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16888 test ! -s conftest.err
16570 (eval $ac_try) 2>&5 16889 } && test -s conftest.$ac_objext; then
16571 ac_status=$?
16572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16573 (exit $ac_status); }; } &&
16574 { ac_try='test -s conftest.$ac_objext'
16575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16576 (eval $ac_try) 2>&5
16577 ac_status=$?
16578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16579 (exit $ac_status); }; }; then
16580 ac_header_compiler=yes 16890 ac_header_compiler=yes
16581else 16891else
16582 echo "$as_me: failed program was:" >&5 16892 echo "$as_me: failed program was:" >&5
16583sed 's/^/| /' conftest.$ac_ext >&5 16893sed 's/^/| /' conftest.$ac_ext >&5
16584 16894
16585ac_header_compiler=no 16895 ac_header_compiler=no
16586fi 16896fi
16587rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 16897
16588echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 16898rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16589echo "${ECHO_T}$ac_header_compiler" >&6 16899{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16900echo "${ECHO_T}$ac_header_compiler" >&6; }
16590 16901
16591# Is the header present? 16902# Is the header present?
16592echo "$as_me:$LINENO: checking $ac_header presence" >&5 16903{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
16593echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 16904echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
16594cat >conftest.$ac_ext <<_ACEOF 16905cat >conftest.$ac_ext <<_ACEOF
16595/* confdefs.h. */ 16906/* confdefs.h. */
16596_ACEOF 16907_ACEOF
@@ -16599,24 +16910,22 @@ cat >>conftest.$ac_ext <<_ACEOF
16599/* end confdefs.h. */ 16910/* end confdefs.h. */
16600#include <$ac_header> 16911#include <$ac_header>
16601_ACEOF 16912_ACEOF
16602if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 16913if { (ac_try="$ac_cpp conftest.$ac_ext"
16603 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 16914case "(($ac_try" in
16915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16916 *) ac_try_echo=$ac_try;;
16917esac
16918eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16919 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16604 ac_status=$? 16920 ac_status=$?
16605 grep -v '^ *+' conftest.er1 >conftest.err 16921 grep -v '^ *+' conftest.er1 >conftest.err
16606 rm -f conftest.er1 16922 rm -f conftest.er1
16607 cat conftest.err >&5 16923 cat conftest.err >&5
16608 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16609 (exit $ac_status); } >/dev/null; then 16925 (exit $ac_status); } >/dev/null && {
16610 if test -s conftest.err; then 16926 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16611 ac_cpp_err=$ac_c_preproc_warn_flag 16927 test ! -s conftest.err
16612 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 16928 }; then
16613 else
16614 ac_cpp_err=
16615 fi
16616else
16617 ac_cpp_err=yes
16618fi
16619if test -z "$ac_cpp_err"; then
16620 ac_header_preproc=yes 16929 ac_header_preproc=yes
16621else 16930else
16622 echo "$as_me: failed program was:" >&5 16931 echo "$as_me: failed program was:" >&5
@@ -16624,9 +16933,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
16624 16933
16625 ac_header_preproc=no 16934 ac_header_preproc=no
16626fi 16935fi
16936
16627rm -f conftest.err conftest.$ac_ext 16937rm -f conftest.err conftest.$ac_ext
16628echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 16938{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16629echo "${ECHO_T}$ac_header_preproc" >&6 16939echo "${ECHO_T}$ac_header_preproc" >&6; }
16630 16940
16631# So? What about this header? 16941# So? What about this header?
16632case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 16942case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
@@ -16650,25 +16960,19 @@ echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\
16650echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 16960echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16651 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 16961 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16652echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 16962echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16653 ( 16963
16654 cat <<\_ASBOX
16655## ------------------------------------------ ##
16656## Report this to the AC_PACKAGE_NAME lists. ##
16657## ------------------------------------------ ##
16658_ASBOX
16659 ) |
16660 sed "s/^/$as_me: WARNING: /" >&2
16661 ;; 16964 ;;
16662esac 16965esac
16663echo "$as_me:$LINENO: checking for $ac_header" >&5 16966{ echo "$as_me:$LINENO: checking for $ac_header" >&5
16664echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 16967echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16665if eval "test \"\${$as_ac_Header+set}\" = set"; then 16968if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16666 echo $ECHO_N "(cached) $ECHO_C" >&6 16969 echo $ECHO_N "(cached) $ECHO_C" >&6
16667else 16970else
16668 eval "$as_ac_Header=\$ac_header_preproc" 16971 eval "$as_ac_Header=\$ac_header_preproc"
16669fi 16972fi
16670echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 16973ac_res=`eval echo '${'$as_ac_Header'}'`
16671echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 16974 { echo "$as_me:$LINENO: result: $ac_res" >&5
16975echo "${ECHO_T}$ac_res" >&6; }
16672 16976
16673fi 16977fi
16674if test `eval echo '${'$as_ac_Header'}'` = yes; then 16978if test `eval echo '${'$as_ac_Header'}'` = yes; then
@@ -16686,18 +16990,19 @@ fi
16686for ac_header in nlist.h 16990for ac_header in nlist.h
16687do 16991do
16688as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 16992as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16689if eval "test \"\${$as_ac_Header+set}\" = set"; then 16993if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16690 echo "$as_me:$LINENO: checking for $ac_header" >&5 16994 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16691echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 16995echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16692if eval "test \"\${$as_ac_Header+set}\" = set"; then 16996if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16693 echo $ECHO_N "(cached) $ECHO_C" >&6 16997 echo $ECHO_N "(cached) $ECHO_C" >&6
16694fi 16998fi
16695echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 16999ac_res=`eval echo '${'$as_ac_Header'}'`
16696echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 17000 { echo "$as_me:$LINENO: result: $ac_res" >&5
17001echo "${ECHO_T}$ac_res" >&6; }
16697else 17002else
16698 # Is the header compilable? 17003 # Is the header compilable?
16699echo "$as_me:$LINENO: checking $ac_header usability" >&5 17004{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
16700echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 17005echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
16701cat >conftest.$ac_ext <<_ACEOF 17006cat >conftest.$ac_ext <<_ACEOF
16702/* confdefs.h. */ 17007/* confdefs.h. */
16703_ACEOF 17008_ACEOF
@@ -16708,40 +17013,37 @@ $ac_includes_default
16708#include <$ac_header> 17013#include <$ac_header>
16709_ACEOF 17014_ACEOF
16710rm -f conftest.$ac_objext 17015rm -f conftest.$ac_objext
16711if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 17016if { (ac_try="$ac_compile"
16712 (eval $ac_compile) 2>conftest.er1 17017case "(($ac_try" in
17018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17019 *) ac_try_echo=$ac_try;;
17020esac
17021eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17022 (eval "$ac_compile") 2>conftest.er1
16713 ac_status=$? 17023 ac_status=$?
16714 grep -v '^ *+' conftest.er1 >conftest.err 17024 grep -v '^ *+' conftest.er1 >conftest.err
16715 rm -f conftest.er1 17025 rm -f conftest.er1
16716 cat conftest.err >&5 17026 cat conftest.err >&5
16717 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16718 (exit $ac_status); } && 17028 (exit $ac_status); } && {
16719 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 17029 test -z "$ac_c_werror_flag" ||
16720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17030 test ! -s conftest.err
16721 (eval $ac_try) 2>&5 17031 } && test -s conftest.$ac_objext; then
16722 ac_status=$?
16723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16724 (exit $ac_status); }; } &&
16725 { ac_try='test -s conftest.$ac_objext'
16726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16727 (eval $ac_try) 2>&5
16728 ac_status=$?
16729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16730 (exit $ac_status); }; }; then
16731 ac_header_compiler=yes 17032 ac_header_compiler=yes
16732else 17033else
16733 echo "$as_me: failed program was:" >&5 17034 echo "$as_me: failed program was:" >&5
16734sed 's/^/| /' conftest.$ac_ext >&5 17035sed 's/^/| /' conftest.$ac_ext >&5
16735 17036
16736ac_header_compiler=no 17037 ac_header_compiler=no
16737fi 17038fi
16738rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 17039
16739echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 17040rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16740echo "${ECHO_T}$ac_header_compiler" >&6 17041{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17042echo "${ECHO_T}$ac_header_compiler" >&6; }
16741 17043
16742# Is the header present? 17044# Is the header present?
16743echo "$as_me:$LINENO: checking $ac_header presence" >&5 17045{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
16744echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 17046echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
16745cat >conftest.$ac_ext <<_ACEOF 17047cat >conftest.$ac_ext <<_ACEOF
16746/* confdefs.h. */ 17048/* confdefs.h. */
16747_ACEOF 17049_ACEOF
@@ -16750,24 +17052,22 @@ cat >>conftest.$ac_ext <<_ACEOF
16750/* end confdefs.h. */ 17052/* end confdefs.h. */
16751#include <$ac_header> 17053#include <$ac_header>
16752_ACEOF 17054_ACEOF
16753if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 17055if { (ac_try="$ac_cpp conftest.$ac_ext"
16754 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 17056case "(($ac_try" in
17057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17058 *) ac_try_echo=$ac_try;;
17059esac
17060eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17061 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16755 ac_status=$? 17062 ac_status=$?
16756 grep -v '^ *+' conftest.er1 >conftest.err 17063 grep -v '^ *+' conftest.er1 >conftest.err
16757 rm -f conftest.er1 17064 rm -f conftest.er1
16758 cat conftest.err >&5 17065 cat conftest.err >&5
16759 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16760 (exit $ac_status); } >/dev/null; then 17067 (exit $ac_status); } >/dev/null && {
16761 if test -s conftest.err; then 17068 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16762 ac_cpp_err=$ac_c_preproc_warn_flag 17069 test ! -s conftest.err
16763 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 17070 }; then
16764 else
16765 ac_cpp_err=
16766 fi
16767else
16768 ac_cpp_err=yes
16769fi
16770if test -z "$ac_cpp_err"; then
16771 ac_header_preproc=yes 17071 ac_header_preproc=yes
16772else 17072else
16773 echo "$as_me: failed program was:" >&5 17073 echo "$as_me: failed program was:" >&5
@@ -16775,9 +17075,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
16775 17075
16776 ac_header_preproc=no 17076 ac_header_preproc=no
16777fi 17077fi
17078
16778rm -f conftest.err conftest.$ac_ext 17079rm -f conftest.err conftest.$ac_ext
16779echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 17080{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16780echo "${ECHO_T}$ac_header_preproc" >&6 17081echo "${ECHO_T}$ac_header_preproc" >&6; }
16781 17082
16782# So? What about this header? 17083# So? What about this header?
16783case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 17084case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
@@ -16801,33 +17102,27 @@ echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\
16801echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 17102echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16802 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 17103 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16803echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 17104echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16804 ( 17105
16805 cat <<\_ASBOX
16806## ------------------------------------------ ##
16807## Report this to the AC_PACKAGE_NAME lists. ##
16808## ------------------------------------------ ##
16809_ASBOX
16810 ) |
16811 sed "s/^/$as_me: WARNING: /" >&2
16812 ;; 17106 ;;
16813esac 17107esac
16814echo "$as_me:$LINENO: checking for $ac_header" >&5 17108{ echo "$as_me:$LINENO: checking for $ac_header" >&5
16815echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 17109echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16816if eval "test \"\${$as_ac_Header+set}\" = set"; then 17110if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16817 echo $ECHO_N "(cached) $ECHO_C" >&6 17111 echo $ECHO_N "(cached) $ECHO_C" >&6
16818else 17112else
16819 eval "$as_ac_Header=\$ac_header_preproc" 17113 eval "$as_ac_Header=\$ac_header_preproc"
16820fi 17114fi
16821echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 17115ac_res=`eval echo '${'$as_ac_Header'}'`
16822echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 17116 { echo "$as_me:$LINENO: result: $ac_res" >&5
17117echo "${ECHO_T}$ac_res" >&6; }
16823 17118
16824fi 17119fi
16825if test `eval echo '${'$as_ac_Header'}'` = yes; then 17120if test `eval echo '${'$as_ac_Header'}'` = yes; then
16826 cat >>confdefs.h <<_ACEOF 17121 cat >>confdefs.h <<_ACEOF
16827#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 17122#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16828_ACEOF 17123_ACEOF
16829 echo "$as_me:$LINENO: checking for struct nlist.n_un.n_name" >&5 17124 { echo "$as_me:$LINENO: checking for struct nlist.n_un.n_name" >&5
16830echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6 17125echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6; }
16831if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then 17126if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then
16832 echo $ECHO_N "(cached) $ECHO_C" >&6 17127 echo $ECHO_N "(cached) $ECHO_C" >&6
16833else 17128else
@@ -16850,32 +17145,28 @@ return 0;
16850} 17145}
16851_ACEOF 17146_ACEOF
16852rm -f conftest.$ac_objext 17147rm -f conftest.$ac_objext
16853if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 17148if { (ac_try="$ac_compile"
16854 (eval $ac_compile) 2>conftest.er1 17149case "(($ac_try" in
17150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17151 *) ac_try_echo=$ac_try;;
17152esac
17153eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17154 (eval "$ac_compile") 2>conftest.er1
16855 ac_status=$? 17155 ac_status=$?
16856 grep -v '^ *+' conftest.er1 >conftest.err 17156 grep -v '^ *+' conftest.er1 >conftest.err
16857 rm -f conftest.er1 17157 rm -f conftest.er1
16858 cat conftest.err >&5 17158 cat conftest.err >&5
16859 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16860 (exit $ac_status); } && 17160 (exit $ac_status); } && {
16861 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 17161 test -z "$ac_c_werror_flag" ||
16862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17162 test ! -s conftest.err
16863 (eval $ac_try) 2>&5 17163 } && test -s conftest.$ac_objext; then
16864 ac_status=$?
16865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16866 (exit $ac_status); }; } &&
16867 { ac_try='test -s conftest.$ac_objext'
16868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16869 (eval $ac_try) 2>&5
16870 ac_status=$?
16871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16872 (exit $ac_status); }; }; then
16873 ac_cv_member_struct_nlist_n_un_n_name=yes 17164 ac_cv_member_struct_nlist_n_un_n_name=yes
16874else 17165else
16875 echo "$as_me: failed program was:" >&5 17166 echo "$as_me: failed program was:" >&5
16876sed 's/^/| /' conftest.$ac_ext >&5 17167sed 's/^/| /' conftest.$ac_ext >&5
16877 17168
16878cat >conftest.$ac_ext <<_ACEOF 17169 cat >conftest.$ac_ext <<_ACEOF
16879/* confdefs.h. */ 17170/* confdefs.h. */
16880_ACEOF 17171_ACEOF
16881cat confdefs.h >>conftest.$ac_ext 17172cat confdefs.h >>conftest.$ac_ext
@@ -16894,39 +17185,37 @@ return 0;
16894} 17185}
16895_ACEOF 17186_ACEOF
16896rm -f conftest.$ac_objext 17187rm -f conftest.$ac_objext
16897if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 17188if { (ac_try="$ac_compile"
16898 (eval $ac_compile) 2>conftest.er1 17189case "(($ac_try" in
17190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17191 *) ac_try_echo=$ac_try;;
17192esac
17193eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17194 (eval "$ac_compile") 2>conftest.er1
16899 ac_status=$? 17195 ac_status=$?
16900 grep -v '^ *+' conftest.er1 >conftest.err 17196 grep -v '^ *+' conftest.er1 >conftest.err
16901 rm -f conftest.er1 17197 rm -f conftest.er1
16902 cat conftest.err >&5 17198 cat conftest.err >&5
16903 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16904 (exit $ac_status); } && 17200 (exit $ac_status); } && {
16905 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 17201 test -z "$ac_c_werror_flag" ||
16906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17202 test ! -s conftest.err
16907 (eval $ac_try) 2>&5 17203 } && test -s conftest.$ac_objext; then
16908 ac_status=$?
16909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16910 (exit $ac_status); }; } &&
16911 { ac_try='test -s conftest.$ac_objext'
16912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16913 (eval $ac_try) 2>&5
16914 ac_status=$?
16915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16916 (exit $ac_status); }; }; then
16917 ac_cv_member_struct_nlist_n_un_n_name=yes 17204 ac_cv_member_struct_nlist_n_un_n_name=yes
16918else 17205else
16919 echo "$as_me: failed program was:" >&5 17206 echo "$as_me: failed program was:" >&5
16920sed 's/^/| /' conftest.$ac_ext >&5 17207sed 's/^/| /' conftest.$ac_ext >&5
16921 17208
16922ac_cv_member_struct_nlist_n_un_n_name=no 17209 ac_cv_member_struct_nlist_n_un_n_name=no
16923fi 17210fi
16924rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 17211
17212rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16925fi 17213fi
16926rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 17214
17215rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16927fi 17216fi
16928echo "$as_me:$LINENO: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5 17217{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5
16929echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6 17218echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6; }
16930if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then 17219if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then
16931 17220
16932cat >>confdefs.h <<_ACEOF 17221cat >>confdefs.h <<_ACEOF
@@ -16950,8 +17239,8 @@ done
16950 17239
16951 17240
16952# Some definitions of getloadavg require that the program be installed setgid. 17241# Some definitions of getloadavg require that the program be installed setgid.
16953echo "$as_me:$LINENO: checking whether getloadavg requires setgid" >&5 17242{ echo "$as_me:$LINENO: checking whether getloadavg requires setgid" >&5
16954echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6 17243echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6; }
16955if test "${ac_cv_func_getloadavg_setgid+set}" = set; then 17244if test "${ac_cv_func_getloadavg_setgid+set}" = set; then
16956 echo $ECHO_N "(cached) $ECHO_C" >&6 17245 echo $ECHO_N "(cached) $ECHO_C" >&6
16957else 17246else
@@ -16975,8 +17264,8 @@ fi
16975rm -f conftest* 17264rm -f conftest*
16976 17265
16977fi 17266fi
16978echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg_setgid" >&5 17267{ echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg_setgid" >&5
16979echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6 17268echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6; }
16980if test $ac_cv_func_getloadavg_setgid = yes; then 17269if test $ac_cv_func_getloadavg_setgid = yes; then
16981 NEED_SETGID=true 17270 NEED_SETGID=true
16982 17271
@@ -16989,8 +17278,8 @@ else
16989fi 17278fi
16990 17279
16991if test $ac_cv_func_getloadavg_setgid = yes; then 17280if test $ac_cv_func_getloadavg_setgid = yes; then
16992 echo "$as_me:$LINENO: checking group of /dev/kmem" >&5 17281 { echo "$as_me:$LINENO: checking group of /dev/kmem" >&5
16993echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6 17282echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6; }
16994if test "${ac_cv_group_kmem+set}" = set; then 17283if test "${ac_cv_group_kmem+set}" = set; then
16995 echo $ECHO_N "(cached) $ECHO_C" >&6 17284 echo $ECHO_N "(cached) $ECHO_C" >&6
16996else 17285else
@@ -17004,8 +17293,8 @@ else
17004 / /s/.* //;p;'` 17293 / /s/.* //;p;'`
17005 17294
17006fi 17295fi
17007echo "$as_me:$LINENO: result: $ac_cv_group_kmem" >&5 17296{ echo "$as_me:$LINENO: result: $ac_cv_group_kmem" >&5
17008echo "${ECHO_T}$ac_cv_group_kmem" >&6 17297echo "${ECHO_T}$ac_cv_group_kmem" >&6; }
17009 KMEM_GROUP=$ac_cv_group_kmem 17298 KMEM_GROUP=$ac_cv_group_kmem
17010fi 17299fi
17011if test "x$ac_save_LIBS" = x; then 17300if test "x$ac_save_LIBS" = x; then
@@ -17017,13 +17306,12 @@ LIBS=$ac_save_LIBS
17017 17306
17018 17307
17019 17308
17020echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5 17309{ echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
17021echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6 17310echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
17022if test "${ac_cv_sys_largefile_source+set}" = set; then 17311if test "${ac_cv_sys_largefile_source+set}" = set; then
17023 echo $ECHO_N "(cached) $ECHO_C" >&6 17312 echo $ECHO_N "(cached) $ECHO_C" >&6
17024else 17313else
17025 while :; do 17314 while :; do
17026 ac_cv_sys_largefile_source=no
17027 cat >conftest.$ac_ext <<_ACEOF 17315 cat >conftest.$ac_ext <<_ACEOF
17028/* confdefs.h. */ 17316/* confdefs.h. */
17029_ACEOF 17317_ACEOF
@@ -17034,39 +17322,39 @@ cat >>conftest.$ac_ext <<_ACEOF
17034int 17322int
17035main () 17323main ()
17036{ 17324{
17037return !fseeko; 17325return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
17038 ; 17326 ;
17039 return 0; 17327 return 0;
17040} 17328}
17041_ACEOF 17329_ACEOF
17042rm -f conftest.$ac_objext 17330rm -f conftest.$ac_objext conftest$ac_exeext
17043if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 17331if { (ac_try="$ac_link"
17044 (eval $ac_compile) 2>conftest.er1 17332case "(($ac_try" in
17333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17334 *) ac_try_echo=$ac_try;;
17335esac
17336eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17337 (eval "$ac_link") 2>conftest.er1
17045 ac_status=$? 17338 ac_status=$?
17046 grep -v '^ *+' conftest.er1 >conftest.err 17339 grep -v '^ *+' conftest.er1 >conftest.err
17047 rm -f conftest.er1 17340 rm -f conftest.er1
17048 cat conftest.err >&5 17341 cat conftest.err >&5
17049 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17050 (exit $ac_status); } && 17343 (exit $ac_status); } && {
17051 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 17344 test -z "$ac_c_werror_flag" ||
17052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17345 test ! -s conftest.err
17053 (eval $ac_try) 2>&5 17346 } && test -s conftest$ac_exeext &&
17054 ac_status=$? 17347 $as_test_x conftest$ac_exeext; then
17055 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17348 ac_cv_sys_largefile_source=no; break
17056 (exit $ac_status); }; } &&
17057 { ac_try='test -s conftest.$ac_objext'
17058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17059 (eval $ac_try) 2>&5
17060 ac_status=$?
17061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17062 (exit $ac_status); }; }; then
17063 break
17064else 17349else
17065 echo "$as_me: failed program was:" >&5 17350 echo "$as_me: failed program was:" >&5
17066sed 's/^/| /' conftest.$ac_ext >&5 17351sed 's/^/| /' conftest.$ac_ext >&5
17067 17352
17353
17068fi 17354fi
17069rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 17355
17356rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17357 conftest$ac_exeext conftest.$ac_ext
17070 cat >conftest.$ac_ext <<_ACEOF 17358 cat >conftest.$ac_ext <<_ACEOF
17071/* confdefs.h. */ 17359/* confdefs.h. */
17072_ACEOF 17360_ACEOF
@@ -17078,110 +17366,59 @@ cat >>conftest.$ac_ext <<_ACEOF
17078int 17366int
17079main () 17367main ()
17080{ 17368{
17081return !fseeko; 17369return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
17082 ; 17370 ;
17083 return 0; 17371 return 0;
17084} 17372}
17085_ACEOF 17373_ACEOF
17086rm -f conftest.$ac_objext 17374rm -f conftest.$ac_objext conftest$ac_exeext
17087if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 17375if { (ac_try="$ac_link"
17088 (eval $ac_compile) 2>conftest.er1 17376case "(($ac_try" in
17377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17378 *) ac_try_echo=$ac_try;;
17379esac
17380eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17381 (eval "$ac_link") 2>conftest.er1
17089 ac_status=$? 17382 ac_status=$?
17090 grep -v '^ *+' conftest.er1 >conftest.err 17383 grep -v '^ *+' conftest.er1 >conftest.err
17091 rm -f conftest.er1 17384 rm -f conftest.er1
17092 cat conftest.err >&5 17385 cat conftest.err >&5
17093 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17094 (exit $ac_status); } && 17387 (exit $ac_status); } && {
17095 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 17388 test -z "$ac_c_werror_flag" ||
17096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17389 test ! -s conftest.err
17097 (eval $ac_try) 2>&5 17390 } && test -s conftest$ac_exeext &&
17098 ac_status=$? 17391 $as_test_x conftest$ac_exeext; then
17099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17100 (exit $ac_status); }; } &&
17101 { ac_try='test -s conftest.$ac_objext'
17102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17103 (eval $ac_try) 2>&5
17104 ac_status=$?
17105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17106 (exit $ac_status); }; }; then
17107 ac_cv_sys_largefile_source=1; break 17392 ac_cv_sys_largefile_source=1; break
17108else 17393else
17109 echo "$as_me: failed program was:" >&5 17394 echo "$as_me: failed program was:" >&5
17110sed 's/^/| /' conftest.$ac_ext >&5 17395sed 's/^/| /' conftest.$ac_ext >&5
17111 17396
17397
17112fi 17398fi
17113rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 17399
17400rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17401 conftest$ac_exeext conftest.$ac_ext
17402 ac_cv_sys_largefile_source=unknown
17114 break 17403 break
17115done 17404done
17116fi 17405fi
17117echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5 17406{ echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
17118echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6 17407echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
17119if test "$ac_cv_sys_largefile_source" != no; then 17408case $ac_cv_sys_largefile_source in #(
17120 17409 no | unknown) ;;
17410 *)
17121cat >>confdefs.h <<_ACEOF 17411cat >>confdefs.h <<_ACEOF
17122#define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source 17412#define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
17123_ACEOF 17413_ACEOF
17124 17414;;
17125fi 17415esac
17126rm -f conftest* 17416rm -f conftest*
17127 17417
17128# We used to try defining _XOPEN_SOURCE=500 too, to work around a bug 17418# We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
17129# in glibc 2.1.3, but that breaks too many other things. 17419# in glibc 2.1.3, but that breaks too many other things.
17130# If you want fseeko and ftello with glibc, upgrade to a fixed glibc. 17420# If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
17131echo "$as_me:$LINENO: checking for fseeko" >&5 17421if test $ac_cv_sys_largefile_source != unknown; then
17132echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
17133if test "${ac_cv_func_fseeko+set}" = set; then
17134 echo $ECHO_N "(cached) $ECHO_C" >&6
17135else
17136 cat >conftest.$ac_ext <<_ACEOF
17137/* confdefs.h. */
17138_ACEOF
17139cat confdefs.h >>conftest.$ac_ext
17140cat >>conftest.$ac_ext <<_ACEOF
17141/* end confdefs.h. */
17142#include <stdio.h>
17143int
17144main ()
17145{
17146return fseeko && fseeko (stdin, 0, 0);
17147 ;
17148 return 0;
17149}
17150_ACEOF
17151rm -f conftest.$ac_objext conftest$ac_exeext
17152if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17153 (eval $ac_link) 2>conftest.er1
17154 ac_status=$?
17155 grep -v '^ *+' conftest.er1 >conftest.err
17156 rm -f conftest.er1
17157 cat conftest.err >&5
17158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17159 (exit $ac_status); } &&
17160 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17162 (eval $ac_try) 2>&5
17163 ac_status=$?
17164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17165 (exit $ac_status); }; } &&
17166 { ac_try='test -s conftest$ac_exeext'
17167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17168 (eval $ac_try) 2>&5
17169 ac_status=$?
17170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17171 (exit $ac_status); }; }; then
17172 ac_cv_func_fseeko=yes
17173else
17174 echo "$as_me: failed program was:" >&5
17175sed 's/^/| /' conftest.$ac_ext >&5
17176
17177ac_cv_func_fseeko=no
17178fi
17179rm -f conftest.err conftest.$ac_objext \
17180 conftest$ac_exeext conftest.$ac_ext
17181fi
17182echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
17183echo "${ECHO_T}$ac_cv_func_fseeko" >&6
17184if test $ac_cv_func_fseeko = yes; then
17185 17422
17186cat >>confdefs.h <<\_ACEOF 17423cat >>confdefs.h <<\_ACEOF
17187#define HAVE_FSEEKO 1 17424#define HAVE_FSEEKO 1
@@ -17217,18 +17454,19 @@ fi
17217for ac_header in getopt.h 17454for ac_header in getopt.h
17218do 17455do
17219as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 17456as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17220if eval "test \"\${$as_ac_Header+set}\" = set"; then 17457if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17221 echo "$as_me:$LINENO: checking for $ac_header" >&5 17458 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17222echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 17459echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17223if eval "test \"\${$as_ac_Header+set}\" = set"; then 17460if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17224 echo $ECHO_N "(cached) $ECHO_C" >&6 17461 echo $ECHO_N "(cached) $ECHO_C" >&6
17225fi 17462fi
17226echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 17463ac_res=`eval echo '${'$as_ac_Header'}'`
17227echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 17464 { echo "$as_me:$LINENO: result: $ac_res" >&5
17465echo "${ECHO_T}$ac_res" >&6; }
17228else 17466else
17229 # Is the header compilable? 17467 # Is the header compilable?
17230echo "$as_me:$LINENO: checking $ac_header usability" >&5 17468{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
17231echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 17469echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
17232cat >conftest.$ac_ext <<_ACEOF 17470cat >conftest.$ac_ext <<_ACEOF
17233/* confdefs.h. */ 17471/* confdefs.h. */
17234_ACEOF 17472_ACEOF
@@ -17239,40 +17477,37 @@ $ac_includes_default
17239#include <$ac_header> 17477#include <$ac_header>
17240_ACEOF 17478_ACEOF
17241rm -f conftest.$ac_objext 17479rm -f conftest.$ac_objext
17242if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 17480if { (ac_try="$ac_compile"
17243 (eval $ac_compile) 2>conftest.er1 17481case "(($ac_try" in
17482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17483 *) ac_try_echo=$ac_try;;
17484esac
17485eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17486 (eval "$ac_compile") 2>conftest.er1
17244 ac_status=$? 17487 ac_status=$?
17245 grep -v '^ *+' conftest.er1 >conftest.err 17488 grep -v '^ *+' conftest.er1 >conftest.err
17246 rm -f conftest.er1 17489 rm -f conftest.er1
17247 cat conftest.err >&5 17490 cat conftest.err >&5
17248 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17249 (exit $ac_status); } && 17492 (exit $ac_status); } && {
17250 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 17493 test -z "$ac_c_werror_flag" ||
17251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17494 test ! -s conftest.err
17252 (eval $ac_try) 2>&5 17495 } && test -s conftest.$ac_objext; then
17253 ac_status=$?
17254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17255 (exit $ac_status); }; } &&
17256 { ac_try='test -s conftest.$ac_objext'
17257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17258 (eval $ac_try) 2>&5
17259 ac_status=$?
17260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17261 (exit $ac_status); }; }; then
17262 ac_header_compiler=yes 17496 ac_header_compiler=yes
17263else 17497else
17264 echo "$as_me: failed program was:" >&5 17498 echo "$as_me: failed program was:" >&5
17265sed 's/^/| /' conftest.$ac_ext >&5 17499sed 's/^/| /' conftest.$ac_ext >&5
17266 17500
17267ac_header_compiler=no 17501 ac_header_compiler=no
17268fi 17502fi
17269rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 17503
17270echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 17504rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17271echo "${ECHO_T}$ac_header_compiler" >&6 17505{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17506echo "${ECHO_T}$ac_header_compiler" >&6; }
17272 17507
17273# Is the header present? 17508# Is the header present?
17274echo "$as_me:$LINENO: checking $ac_header presence" >&5 17509{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
17275echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 17510echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
17276cat >conftest.$ac_ext <<_ACEOF 17511cat >conftest.$ac_ext <<_ACEOF
17277/* confdefs.h. */ 17512/* confdefs.h. */
17278_ACEOF 17513_ACEOF
@@ -17281,24 +17516,22 @@ cat >>conftest.$ac_ext <<_ACEOF
17281/* end confdefs.h. */ 17516/* end confdefs.h. */
17282#include <$ac_header> 17517#include <$ac_header>
17283_ACEOF 17518_ACEOF
17284if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 17519if { (ac_try="$ac_cpp conftest.$ac_ext"
17285 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 17520case "(($ac_try" in
17521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17522 *) ac_try_echo=$ac_try;;
17523esac
17524eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17525 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17286 ac_status=$? 17526 ac_status=$?
17287 grep -v '^ *+' conftest.er1 >conftest.err 17527 grep -v '^ *+' conftest.er1 >conftest.err
17288 rm -f conftest.er1 17528 rm -f conftest.er1
17289 cat conftest.err >&5 17529 cat conftest.err >&5
17290 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17291 (exit $ac_status); } >/dev/null; then 17531 (exit $ac_status); } >/dev/null && {
17292 if test -s conftest.err; then 17532 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17293 ac_cpp_err=$ac_c_preproc_warn_flag 17533 test ! -s conftest.err
17294 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 17534 }; then
17295 else
17296 ac_cpp_err=
17297 fi
17298else
17299 ac_cpp_err=yes
17300fi
17301if test -z "$ac_cpp_err"; then
17302 ac_header_preproc=yes 17535 ac_header_preproc=yes
17303else 17536else
17304 echo "$as_me: failed program was:" >&5 17537 echo "$as_me: failed program was:" >&5
@@ -17306,9 +17539,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
17306 17539
17307 ac_header_preproc=no 17540 ac_header_preproc=no
17308fi 17541fi
17542
17309rm -f conftest.err conftest.$ac_ext 17543rm -f conftest.err conftest.$ac_ext
17310echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 17544{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17311echo "${ECHO_T}$ac_header_preproc" >&6 17545echo "${ECHO_T}$ac_header_preproc" >&6; }
17312 17546
17313# So? What about this header? 17547# So? What about this header?
17314case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 17548case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
@@ -17332,25 +17566,19 @@ echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\
17332echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 17566echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17333 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 17567 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17334echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 17568echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17335 ( 17569
17336 cat <<\_ASBOX
17337## ------------------------------------------ ##
17338## Report this to the AC_PACKAGE_NAME lists. ##
17339## ------------------------------------------ ##
17340_ASBOX
17341 ) |
17342 sed "s/^/$as_me: WARNING: /" >&2
17343 ;; 17570 ;;
17344esac 17571esac
17345echo "$as_me:$LINENO: checking for $ac_header" >&5 17572{ echo "$as_me:$LINENO: checking for $ac_header" >&5
17346echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 17573echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17347if eval "test \"\${$as_ac_Header+set}\" = set"; then 17574if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17348 echo $ECHO_N "(cached) $ECHO_C" >&6 17575 echo $ECHO_N "(cached) $ECHO_C" >&6
17349else 17576else
17350 eval "$as_ac_Header=\$ac_header_preproc" 17577 eval "$as_ac_Header=\$ac_header_preproc"
17351fi 17578fi
17352echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 17579ac_res=`eval echo '${'$as_ac_Header'}'`
17353echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 17580 { echo "$as_me:$LINENO: result: $ac_res" >&5
17581echo "${ECHO_T}$ac_res" >&6; }
17354 17582
17355fi 17583fi
17356if test `eval echo '${'$as_ac_Header'}'` = yes; then 17584if test `eval echo '${'$as_ac_Header'}'` = yes; then
@@ -17369,9 +17597,9 @@ done
17369for ac_func in getopt_long_only 17597for ac_func in getopt_long_only
17370do 17598do
17371as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 17599as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17372echo "$as_me:$LINENO: checking for $ac_func" >&5 17600{ echo "$as_me:$LINENO: checking for $ac_func" >&5
17373echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 17601echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17374if eval "test \"\${$as_ac_var+set}\" = set"; then 17602if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17375 echo $ECHO_N "(cached) $ECHO_C" >&6 17603 echo $ECHO_N "(cached) $ECHO_C" >&6
17376else 17604else
17377 cat >conftest.$ac_ext <<_ACEOF 17605 cat >conftest.$ac_ext <<_ACEOF
@@ -17397,67 +17625,60 @@ cat >>conftest.$ac_ext <<_ACEOF
17397 17625
17398#undef $ac_func 17626#undef $ac_func
17399 17627
17400/* Override any gcc2 internal prototype to avoid an error. */ 17628/* Override any GCC internal prototype to avoid an error.
17629 Use char because int might match the return type of a GCC
17630 builtin and then its argument prototype would still apply. */
17401#ifdef __cplusplus 17631#ifdef __cplusplus
17402extern "C" 17632extern "C"
17403{
17404#endif 17633#endif
17405/* We use char because int might match the return type of a gcc2
17406 builtin and then its argument prototype would still apply. */
17407char $ac_func (); 17634char $ac_func ();
17408/* The GNU C library defines this for functions which it implements 17635/* The GNU C library defines this for functions which it implements
17409 to always fail with ENOSYS. Some functions are actually named 17636 to always fail with ENOSYS. Some functions are actually named
17410 something starting with __ and the normal name is an alias. */ 17637 something starting with __ and the normal name is an alias. */
17411#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 17638#if defined __stub_$ac_func || defined __stub___$ac_func
17412choke me 17639choke me
17413#else
17414char (*f) () = $ac_func;
17415#endif
17416#ifdef __cplusplus
17417}
17418#endif 17640#endif
17419 17641
17420int 17642int
17421main () 17643main ()
17422{ 17644{
17423return f != $ac_func; 17645return $ac_func ();
17424 ; 17646 ;
17425 return 0; 17647 return 0;
17426} 17648}
17427_ACEOF 17649_ACEOF
17428rm -f conftest.$ac_objext conftest$ac_exeext 17650rm -f conftest.$ac_objext conftest$ac_exeext
17429if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 17651if { (ac_try="$ac_link"
17430 (eval $ac_link) 2>conftest.er1 17652case "(($ac_try" in
17653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17654 *) ac_try_echo=$ac_try;;
17655esac
17656eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17657 (eval "$ac_link") 2>conftest.er1
17431 ac_status=$? 17658 ac_status=$?
17432 grep -v '^ *+' conftest.er1 >conftest.err 17659 grep -v '^ *+' conftest.er1 >conftest.err
17433 rm -f conftest.er1 17660 rm -f conftest.er1
17434 cat conftest.err >&5 17661 cat conftest.err >&5
17435 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17436 (exit $ac_status); } && 17663 (exit $ac_status); } && {
17437 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 17664 test -z "$ac_c_werror_flag" ||
17438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17665 test ! -s conftest.err
17439 (eval $ac_try) 2>&5 17666 } && test -s conftest$ac_exeext &&
17440 ac_status=$? 17667 $as_test_x conftest$ac_exeext; then
17441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17442 (exit $ac_status); }; } &&
17443 { ac_try='test -s conftest$ac_exeext'
17444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17445 (eval $ac_try) 2>&5
17446 ac_status=$?
17447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17448 (exit $ac_status); }; }; then
17449 eval "$as_ac_var=yes" 17668 eval "$as_ac_var=yes"
17450else 17669else
17451 echo "$as_me: failed program was:" >&5 17670 echo "$as_me: failed program was:" >&5
17452sed 's/^/| /' conftest.$ac_ext >&5 17671sed 's/^/| /' conftest.$ac_ext >&5
17453 17672
17454eval "$as_ac_var=no" 17673 eval "$as_ac_var=no"
17455fi 17674fi
17456rm -f conftest.err conftest.$ac_objext \ 17675
17676rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17457 conftest$ac_exeext conftest.$ac_ext 17677 conftest$ac_exeext conftest.$ac_ext
17458fi 17678fi
17459echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 17679ac_res=`eval echo '${'$as_ac_var'}'`
17460echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 17680 { echo "$as_me:$LINENO: result: $ac_res" >&5
17681echo "${ECHO_T}$ac_res" >&6; }
17461if test `eval echo '${'$as_ac_var'}'` = yes; then 17682if test `eval echo '${'$as_ac_var'}'` = yes; then
17462 cat >>confdefs.h <<_ACEOF 17683 cat >>confdefs.h <<_ACEOF
17463#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 17684#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
@@ -17471,8 +17692,8 @@ done
17471 fi 17692 fi
17472 17693
17473 if test -z "$GETOPT_H"; then 17694 if test -z "$GETOPT_H"; then
17474 echo "$as_me:$LINENO: checking whether optreset is declared" >&5 17695 { echo "$as_me:$LINENO: checking whether optreset is declared" >&5
17475echo $ECHO_N "checking whether optreset is declared... $ECHO_C" >&6 17696echo $ECHO_N "checking whether optreset is declared... $ECHO_C" >&6; }
17476if test "${ac_cv_have_decl_optreset+set}" = set; then 17697if test "${ac_cv_have_decl_optreset+set}" = set; then
17477 echo $ECHO_N "(cached) $ECHO_C" >&6 17698 echo $ECHO_N "(cached) $ECHO_C" >&6
17478else 17699else
@@ -17488,7 +17709,7 @@ int
17488main () 17709main ()
17489{ 17710{
17490#ifndef optreset 17711#ifndef optreset
17491 char *p = (char *) optreset; 17712 (void) optreset;
17492#endif 17713#endif
17493 17714
17494 ; 17715 ;
@@ -17496,37 +17717,34 @@ main ()
17496} 17717}
17497_ACEOF 17718_ACEOF
17498rm -f conftest.$ac_objext 17719rm -f conftest.$ac_objext
17499if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 17720if { (ac_try="$ac_compile"
17500 (eval $ac_compile) 2>conftest.er1 17721case "(($ac_try" in
17722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17723 *) ac_try_echo=$ac_try;;
17724esac
17725eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17726 (eval "$ac_compile") 2>conftest.er1
17501 ac_status=$? 17727 ac_status=$?
17502 grep -v '^ *+' conftest.er1 >conftest.err 17728 grep -v '^ *+' conftest.er1 >conftest.err
17503 rm -f conftest.er1 17729 rm -f conftest.er1
17504 cat conftest.err >&5 17730 cat conftest.err >&5
17505 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17506 (exit $ac_status); } && 17732 (exit $ac_status); } && {
17507 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 17733 test -z "$ac_c_werror_flag" ||
17508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17734 test ! -s conftest.err
17509 (eval $ac_try) 2>&5 17735 } && test -s conftest.$ac_objext; then
17510 ac_status=$?
17511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17512 (exit $ac_status); }; } &&
17513 { ac_try='test -s conftest.$ac_objext'
17514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17515 (eval $ac_try) 2>&5
17516 ac_status=$?
17517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17518 (exit $ac_status); }; }; then
17519 ac_cv_have_decl_optreset=yes 17736 ac_cv_have_decl_optreset=yes
17520else 17737else
17521 echo "$as_me: failed program was:" >&5 17738 echo "$as_me: failed program was:" >&5
17522sed 's/^/| /' conftest.$ac_ext >&5 17739sed 's/^/| /' conftest.$ac_ext >&5
17523 17740
17524ac_cv_have_decl_optreset=no 17741 ac_cv_have_decl_optreset=no
17525fi 17742fi
17526rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 17743
17744rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17527fi 17745fi
17528echo "$as_me:$LINENO: result: $ac_cv_have_decl_optreset" >&5 17746{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_optreset" >&5
17529echo "${ECHO_T}$ac_cv_have_decl_optreset" >&6 17747echo "${ECHO_T}$ac_cv_have_decl_optreset" >&6; }
17530if test $ac_cv_have_decl_optreset = yes; then 17748if test $ac_cv_have_decl_optreset = yes; then
17531 GETOPT_H=getopt.h 17749 GETOPT_H=getopt.h
17532fi 17750fi
@@ -17534,14 +17752,14 @@ fi
17534 fi 17752 fi
17535 17753
17536 if test -z "$GETOPT_H"; then 17754 if test -z "$GETOPT_H"; then
17537 echo "$as_me:$LINENO: checking for working GNU getopt function" >&5 17755 { echo "$as_me:$LINENO: checking for working GNU getopt function" >&5
17538echo $ECHO_N "checking for working GNU getopt function... $ECHO_C" >&6 17756echo $ECHO_N "checking for working GNU getopt function... $ECHO_C" >&6; }
17539if test "${gl_cv_func_gnu_getopt+set}" = set; then 17757if test "${gl_cv_func_gnu_getopt+set}" = set; then
17540 echo $ECHO_N "(cached) $ECHO_C" >&6 17758 echo $ECHO_N "(cached) $ECHO_C" >&6
17541else 17759else
17542 if test "$cross_compiling" = yes; then 17760 if test "$cross_compiling" = yes; then
17543 echo "$as_me:$LINENO: checking whether getopt_clip is declared" >&5 17761 { echo "$as_me:$LINENO: checking whether getopt_clip is declared" >&5
17544echo $ECHO_N "checking whether getopt_clip is declared... $ECHO_C" >&6 17762echo $ECHO_N "checking whether getopt_clip is declared... $ECHO_C" >&6; }
17545if test "${ac_cv_have_decl_getopt_clip+set}" = set; then 17763if test "${ac_cv_have_decl_getopt_clip+set}" = set; then
17546 echo $ECHO_N "(cached) $ECHO_C" >&6 17764 echo $ECHO_N "(cached) $ECHO_C" >&6
17547else 17765else
@@ -17557,7 +17775,7 @@ int
17557main () 17775main ()
17558{ 17776{
17559#ifndef getopt_clip 17777#ifndef getopt_clip
17560 char *p = (char *) getopt_clip; 17778 (void) getopt_clip;
17561#endif 17779#endif
17562 17780
17563 ; 17781 ;
@@ -17565,37 +17783,34 @@ main ()
17565} 17783}
17566_ACEOF 17784_ACEOF
17567rm -f conftest.$ac_objext 17785rm -f conftest.$ac_objext
17568if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 17786if { (ac_try="$ac_compile"
17569 (eval $ac_compile) 2>conftest.er1 17787case "(($ac_try" in
17788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17789 *) ac_try_echo=$ac_try;;
17790esac
17791eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17792 (eval "$ac_compile") 2>conftest.er1
17570 ac_status=$? 17793 ac_status=$?
17571 grep -v '^ *+' conftest.er1 >conftest.err 17794 grep -v '^ *+' conftest.er1 >conftest.err
17572 rm -f conftest.er1 17795 rm -f conftest.er1
17573 cat conftest.err >&5 17796 cat conftest.err >&5
17574 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17575 (exit $ac_status); } && 17798 (exit $ac_status); } && {
17576 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 17799 test -z "$ac_c_werror_flag" ||
17577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17800 test ! -s conftest.err
17578 (eval $ac_try) 2>&5 17801 } && test -s conftest.$ac_objext; then
17579 ac_status=$?
17580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17581 (exit $ac_status); }; } &&
17582 { ac_try='test -s conftest.$ac_objext'
17583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17584 (eval $ac_try) 2>&5
17585 ac_status=$?
17586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17587 (exit $ac_status); }; }; then
17588 ac_cv_have_decl_getopt_clip=yes 17802 ac_cv_have_decl_getopt_clip=yes
17589else 17803else
17590 echo "$as_me: failed program was:" >&5 17804 echo "$as_me: failed program was:" >&5
17591sed 's/^/| /' conftest.$ac_ext >&5 17805sed 's/^/| /' conftest.$ac_ext >&5
17592 17806
17593ac_cv_have_decl_getopt_clip=no 17807 ac_cv_have_decl_getopt_clip=no
17594fi 17808fi
17595rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 17809
17810rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17596fi 17811fi
17597echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt_clip" >&5 17812{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt_clip" >&5
17598echo "${ECHO_T}$ac_cv_have_decl_getopt_clip" >&6 17813echo "${ECHO_T}$ac_cv_have_decl_getopt_clip" >&6; }
17599if test $ac_cv_have_decl_getopt_clip = yes; then 17814if test $ac_cv_have_decl_getopt_clip = yes; then
17600 gl_cv_func_gnu_getopt=no 17815 gl_cv_func_gnu_getopt=no
17601else 17816else
@@ -17625,13 +17840,22 @@ main ()
17625} 17840}
17626_ACEOF 17841_ACEOF
17627rm -f conftest$ac_exeext 17842rm -f conftest$ac_exeext
17628if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 17843if { (ac_try="$ac_link"
17629 (eval $ac_link) 2>&5 17844case "(($ac_try" in
17845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17846 *) ac_try_echo=$ac_try;;
17847esac
17848eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17849 (eval "$ac_link") 2>&5
17630 ac_status=$? 17850 ac_status=$?
17631 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17632 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 17852 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17853 { (case "(($ac_try" in
17634 (eval $ac_try) 2>&5 17854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17855 *) ac_try_echo=$ac_try;;
17856esac
17857eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17858 (eval "$ac_try") 2>&5
17635 ac_status=$? 17859 ac_status=$?
17636 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17637 (exit $ac_status); }; }; then 17861 (exit $ac_status); }; }; then
@@ -17644,11 +17868,13 @@ sed 's/^/| /' conftest.$ac_ext >&5
17644( exit $ac_status ) 17868( exit $ac_status )
17645gl_cv_func_gnu_getopt=no 17869gl_cv_func_gnu_getopt=no
17646fi 17870fi
17647rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 17871rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17648fi 17872fi
17873
17874
17649fi 17875fi
17650echo "$as_me:$LINENO: result: $gl_cv_func_gnu_getopt" >&5 17876{ echo "$as_me:$LINENO: result: $gl_cv_func_gnu_getopt" >&5
17651echo "${ECHO_T}$gl_cv_func_gnu_getopt" >&6 17877echo "${ECHO_T}$gl_cv_func_gnu_getopt" >&6; }
17652 if test "$gl_cv_func_gnu_getopt" = "no"; then 17878 if test "$gl_cv_func_gnu_getopt" = "no"; then
17653 GETOPT_H=getopt.h 17879 GETOPT_H=getopt.h
17654 fi 17880 fi
@@ -17675,8 +17901,8 @@ fi
17675 17901
17676 17902
17677 17903
17678echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5 17904{ echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5
17679echo $ECHO_N "checking whether getpgrp requires zero arguments... $ECHO_C" >&6 17905echo $ECHO_N "checking whether getpgrp requires zero arguments... $ECHO_C" >&6; }
17680if test "${ac_cv_func_getpgrp_void+set}" = set; then 17906if test "${ac_cv_func_getpgrp_void+set}" = set; then
17681 echo $ECHO_N "(cached) $ECHO_C" >&6 17907 echo $ECHO_N "(cached) $ECHO_C" >&6
17682else 17908else
@@ -17697,38 +17923,35 @@ getpgrp (0);
17697} 17923}
17698_ACEOF 17924_ACEOF
17699rm -f conftest.$ac_objext 17925rm -f conftest.$ac_objext
17700if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 17926if { (ac_try="$ac_compile"
17701 (eval $ac_compile) 2>conftest.er1 17927case "(($ac_try" in
17928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17929 *) ac_try_echo=$ac_try;;
17930esac
17931eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17932 (eval "$ac_compile") 2>conftest.er1
17702 ac_status=$? 17933 ac_status=$?
17703 grep -v '^ *+' conftest.er1 >conftest.err 17934 grep -v '^ *+' conftest.er1 >conftest.err
17704 rm -f conftest.er1 17935 rm -f conftest.er1
17705 cat conftest.err >&5 17936 cat conftest.err >&5
17706 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17707 (exit $ac_status); } && 17938 (exit $ac_status); } && {
17708 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 17939 test -z "$ac_c_werror_flag" ||
17709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17940 test ! -s conftest.err
17710 (eval $ac_try) 2>&5 17941 } && test -s conftest.$ac_objext; then
17711 ac_status=$?
17712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17713 (exit $ac_status); }; } &&
17714 { ac_try='test -s conftest.$ac_objext'
17715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17716 (eval $ac_try) 2>&5
17717 ac_status=$?
17718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17719 (exit $ac_status); }; }; then
17720 ac_cv_func_getpgrp_void=no 17942 ac_cv_func_getpgrp_void=no
17721else 17943else
17722 echo "$as_me: failed program was:" >&5 17944 echo "$as_me: failed program was:" >&5
17723sed 's/^/| /' conftest.$ac_ext >&5 17945sed 's/^/| /' conftest.$ac_ext >&5
17724 17946
17725ac_cv_func_getpgrp_void=yes 17947 ac_cv_func_getpgrp_void=yes
17726fi 17948fi
17727rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 17949
17950rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17728 17951
17729fi 17952fi
17730echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5 17953{ echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5
17731echo "${ECHO_T}$ac_cv_func_getpgrp_void" >&6 17954echo "${ECHO_T}$ac_cv_func_getpgrp_void" >&6; }
17732if test $ac_cv_func_getpgrp_void = yes; then 17955if test $ac_cv_func_getpgrp_void = yes; then
17733 17956
17734cat >>confdefs.h <<\_ACEOF 17957cat >>confdefs.h <<\_ACEOF
@@ -17742,9 +17965,9 @@ fi
17742for ac_func in strftime 17965for ac_func in strftime
17743do 17966do
17744as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 17967as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17745echo "$as_me:$LINENO: checking for $ac_func" >&5 17968{ echo "$as_me:$LINENO: checking for $ac_func" >&5
17746echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 17969echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17747if eval "test \"\${$as_ac_var+set}\" = set"; then 17970if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17748 echo $ECHO_N "(cached) $ECHO_C" >&6 17971 echo $ECHO_N "(cached) $ECHO_C" >&6
17749else 17972else
17750 cat >conftest.$ac_ext <<_ACEOF 17973 cat >conftest.$ac_ext <<_ACEOF
@@ -17770,67 +17993,60 @@ cat >>conftest.$ac_ext <<_ACEOF
17770 17993
17771#undef $ac_func 17994#undef $ac_func
17772 17995
17773/* Override any gcc2 internal prototype to avoid an error. */ 17996/* Override any GCC internal prototype to avoid an error.
17997 Use char because int might match the return type of a GCC
17998 builtin and then its argument prototype would still apply. */
17774#ifdef __cplusplus 17999#ifdef __cplusplus
17775extern "C" 18000extern "C"
17776{
17777#endif 18001#endif
17778/* We use char because int might match the return type of a gcc2
17779 builtin and then its argument prototype would still apply. */
17780char $ac_func (); 18002char $ac_func ();
17781/* The GNU C library defines this for functions which it implements 18003/* The GNU C library defines this for functions which it implements
17782 to always fail with ENOSYS. Some functions are actually named 18004 to always fail with ENOSYS. Some functions are actually named
17783 something starting with __ and the normal name is an alias. */ 18005 something starting with __ and the normal name is an alias. */
17784#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 18006#if defined __stub_$ac_func || defined __stub___$ac_func
17785choke me 18007choke me
17786#else
17787char (*f) () = $ac_func;
17788#endif
17789#ifdef __cplusplus
17790}
17791#endif 18008#endif
17792 18009
17793int 18010int
17794main () 18011main ()
17795{ 18012{
17796return f != $ac_func; 18013return $ac_func ();
17797 ; 18014 ;
17798 return 0; 18015 return 0;
17799} 18016}
17800_ACEOF 18017_ACEOF
17801rm -f conftest.$ac_objext conftest$ac_exeext 18018rm -f conftest.$ac_objext conftest$ac_exeext
17802if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 18019if { (ac_try="$ac_link"
17803 (eval $ac_link) 2>conftest.er1 18020case "(($ac_try" in
18021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18022 *) ac_try_echo=$ac_try;;
18023esac
18024eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18025 (eval "$ac_link") 2>conftest.er1
17804 ac_status=$? 18026 ac_status=$?
17805 grep -v '^ *+' conftest.er1 >conftest.err 18027 grep -v '^ *+' conftest.er1 >conftest.err
17806 rm -f conftest.er1 18028 rm -f conftest.er1
17807 cat conftest.err >&5 18029 cat conftest.err >&5
17808 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17809 (exit $ac_status); } && 18031 (exit $ac_status); } && {
17810 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 18032 test -z "$ac_c_werror_flag" ||
17811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18033 test ! -s conftest.err
17812 (eval $ac_try) 2>&5 18034 } && test -s conftest$ac_exeext &&
17813 ac_status=$? 18035 $as_test_x conftest$ac_exeext; then
17814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17815 (exit $ac_status); }; } &&
17816 { ac_try='test -s conftest$ac_exeext'
17817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17818 (eval $ac_try) 2>&5
17819 ac_status=$?
17820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17821 (exit $ac_status); }; }; then
17822 eval "$as_ac_var=yes" 18036 eval "$as_ac_var=yes"
17823else 18037else
17824 echo "$as_me: failed program was:" >&5 18038 echo "$as_me: failed program was:" >&5
17825sed 's/^/| /' conftest.$ac_ext >&5 18039sed 's/^/| /' conftest.$ac_ext >&5
17826 18040
17827eval "$as_ac_var=no" 18041 eval "$as_ac_var=no"
17828fi 18042fi
17829rm -f conftest.err conftest.$ac_objext \ 18043
18044rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17830 conftest$ac_exeext conftest.$ac_ext 18045 conftest$ac_exeext conftest.$ac_ext
17831fi 18046fi
17832echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 18047ac_res=`eval echo '${'$as_ac_var'}'`
17833echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 18048 { echo "$as_me:$LINENO: result: $ac_res" >&5
18049echo "${ECHO_T}$ac_res" >&6; }
17834if test `eval echo '${'$as_ac_var'}'` = yes; then 18050if test `eval echo '${'$as_ac_var'}'` = yes; then
17835 cat >>confdefs.h <<_ACEOF 18051 cat >>confdefs.h <<_ACEOF
17836#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 18052#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
@@ -17838,8 +18054,8 @@ _ACEOF
17838 18054
17839else 18055else
17840 # strftime is in -lintl on SCO UNIX. 18056 # strftime is in -lintl on SCO UNIX.
17841echo "$as_me:$LINENO: checking for strftime in -lintl" >&5 18057{ echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
17842echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6 18058echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6; }
17843if test "${ac_cv_lib_intl_strftime+set}" = set; then 18059if test "${ac_cv_lib_intl_strftime+set}" = set; then
17844 echo $ECHO_N "(cached) $ECHO_C" >&6 18060 echo $ECHO_N "(cached) $ECHO_C" >&6
17845else 18061else
@@ -17852,55 +18068,53 @@ cat confdefs.h >>conftest.$ac_ext
17852cat >>conftest.$ac_ext <<_ACEOF 18068cat >>conftest.$ac_ext <<_ACEOF
17853/* end confdefs.h. */ 18069/* end confdefs.h. */
17854 18070
17855/* Override any gcc2 internal prototype to avoid an error. */ 18071/* Override any GCC internal prototype to avoid an error.
18072 Use char because int might match the return type of a GCC
18073 builtin and then its argument prototype would still apply. */
17856#ifdef __cplusplus 18074#ifdef __cplusplus
17857extern "C" 18075extern "C"
17858#endif 18076#endif
17859/* We use char because int might match the return type of a gcc2
17860 builtin and then its argument prototype would still apply. */
17861char strftime (); 18077char strftime ();
17862int 18078int
17863main () 18079main ()
17864{ 18080{
17865strftime (); 18081return strftime ();
17866 ; 18082 ;
17867 return 0; 18083 return 0;
17868} 18084}
17869_ACEOF 18085_ACEOF
17870rm -f conftest.$ac_objext conftest$ac_exeext 18086rm -f conftest.$ac_objext conftest$ac_exeext
17871if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 18087if { (ac_try="$ac_link"
17872 (eval $ac_link) 2>conftest.er1 18088case "(($ac_try" in
18089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18090 *) ac_try_echo=$ac_try;;
18091esac
18092eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18093 (eval "$ac_link") 2>conftest.er1
17873 ac_status=$? 18094 ac_status=$?
17874 grep -v '^ *+' conftest.er1 >conftest.err 18095 grep -v '^ *+' conftest.er1 >conftest.err
17875 rm -f conftest.er1 18096 rm -f conftest.er1
17876 cat conftest.err >&5 18097 cat conftest.err >&5
17877 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17878 (exit $ac_status); } && 18099 (exit $ac_status); } && {
17879 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 18100 test -z "$ac_c_werror_flag" ||
17880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18101 test ! -s conftest.err
17881 (eval $ac_try) 2>&5 18102 } && test -s conftest$ac_exeext &&
17882 ac_status=$? 18103 $as_test_x conftest$ac_exeext; then
17883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17884 (exit $ac_status); }; } &&
17885 { ac_try='test -s conftest$ac_exeext'
17886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17887 (eval $ac_try) 2>&5
17888 ac_status=$?
17889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17890 (exit $ac_status); }; }; then
17891 ac_cv_lib_intl_strftime=yes 18104 ac_cv_lib_intl_strftime=yes
17892else 18105else
17893 echo "$as_me: failed program was:" >&5 18106 echo "$as_me: failed program was:" >&5
17894sed 's/^/| /' conftest.$ac_ext >&5 18107sed 's/^/| /' conftest.$ac_ext >&5
17895 18108
17896ac_cv_lib_intl_strftime=no 18109 ac_cv_lib_intl_strftime=no
17897fi 18110fi
17898rm -f conftest.err conftest.$ac_objext \ 18111
18112rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17899 conftest$ac_exeext conftest.$ac_ext 18113 conftest$ac_exeext conftest.$ac_ext
17900LIBS=$ac_check_lib_save_LIBS 18114LIBS=$ac_check_lib_save_LIBS
17901fi 18115fi
17902echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5 18116{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
17903echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6 18117echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6; }
17904if test $ac_cv_lib_intl_strftime = yes; then 18118if test $ac_cv_lib_intl_strftime = yes; then
17905 cat >>confdefs.h <<\_ACEOF 18119 cat >>confdefs.h <<\_ACEOF
17906#define HAVE_STRFTIME 1 18120#define HAVE_STRFTIME 1
@@ -17918,9 +18132,9 @@ done
17918for ac_func in grantpt 18132for ac_func in grantpt
17919do 18133do
17920as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 18134as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17921echo "$as_me:$LINENO: checking for $ac_func" >&5 18135{ echo "$as_me:$LINENO: checking for $ac_func" >&5
17922echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 18136echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17923if eval "test \"\${$as_ac_var+set}\" = set"; then 18137if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17924 echo $ECHO_N "(cached) $ECHO_C" >&6 18138 echo $ECHO_N "(cached) $ECHO_C" >&6
17925else 18139else
17926 cat >conftest.$ac_ext <<_ACEOF 18140 cat >conftest.$ac_ext <<_ACEOF
@@ -17946,67 +18160,60 @@ cat >>conftest.$ac_ext <<_ACEOF
17946 18160
17947#undef $ac_func 18161#undef $ac_func
17948 18162
17949/* Override any gcc2 internal prototype to avoid an error. */ 18163/* Override any GCC internal prototype to avoid an error.
18164 Use char because int might match the return type of a GCC
18165 builtin and then its argument prototype would still apply. */
17950#ifdef __cplusplus 18166#ifdef __cplusplus
17951extern "C" 18167extern "C"
17952{
17953#endif 18168#endif
17954/* We use char because int might match the return type of a gcc2
17955 builtin and then its argument prototype would still apply. */
17956char $ac_func (); 18169char $ac_func ();
17957/* The GNU C library defines this for functions which it implements 18170/* The GNU C library defines this for functions which it implements
17958 to always fail with ENOSYS. Some functions are actually named 18171 to always fail with ENOSYS. Some functions are actually named
17959 something starting with __ and the normal name is an alias. */ 18172 something starting with __ and the normal name is an alias. */
17960#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 18173#if defined __stub_$ac_func || defined __stub___$ac_func
17961choke me 18174choke me
17962#else
17963char (*f) () = $ac_func;
17964#endif
17965#ifdef __cplusplus
17966}
17967#endif 18175#endif
17968 18176
17969int 18177int
17970main () 18178main ()
17971{ 18179{
17972return f != $ac_func; 18180return $ac_func ();
17973 ; 18181 ;
17974 return 0; 18182 return 0;
17975} 18183}
17976_ACEOF 18184_ACEOF
17977rm -f conftest.$ac_objext conftest$ac_exeext 18185rm -f conftest.$ac_objext conftest$ac_exeext
17978if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 18186if { (ac_try="$ac_link"
17979 (eval $ac_link) 2>conftest.er1 18187case "(($ac_try" in
18188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18189 *) ac_try_echo=$ac_try;;
18190esac
18191eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18192 (eval "$ac_link") 2>conftest.er1
17980 ac_status=$? 18193 ac_status=$?
17981 grep -v '^ *+' conftest.er1 >conftest.err 18194 grep -v '^ *+' conftest.er1 >conftest.err
17982 rm -f conftest.er1 18195 rm -f conftest.er1
17983 cat conftest.err >&5 18196 cat conftest.err >&5
17984 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17985 (exit $ac_status); } && 18198 (exit $ac_status); } && {
17986 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 18199 test -z "$ac_c_werror_flag" ||
17987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18200 test ! -s conftest.err
17988 (eval $ac_try) 2>&5 18201 } && test -s conftest$ac_exeext &&
17989 ac_status=$? 18202 $as_test_x conftest$ac_exeext; then
17990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17991 (exit $ac_status); }; } &&
17992 { ac_try='test -s conftest$ac_exeext'
17993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17994 (eval $ac_try) 2>&5
17995 ac_status=$?
17996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17997 (exit $ac_status); }; }; then
17998 eval "$as_ac_var=yes" 18203 eval "$as_ac_var=yes"
17999else 18204else
18000 echo "$as_me: failed program was:" >&5 18205 echo "$as_me: failed program was:" >&5
18001sed 's/^/| /' conftest.$ac_ext >&5 18206sed 's/^/| /' conftest.$ac_ext >&5
18002 18207
18003eval "$as_ac_var=no" 18208 eval "$as_ac_var=no"
18004fi 18209fi
18005rm -f conftest.err conftest.$ac_objext \ 18210
18211rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18006 conftest$ac_exeext conftest.$ac_ext 18212 conftest$ac_exeext conftest.$ac_ext
18007fi 18213fi
18008echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 18214ac_res=`eval echo '${'$as_ac_var'}'`
18009echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 18215 { echo "$as_me:$LINENO: result: $ac_res" >&5
18216echo "${ECHO_T}$ac_res" >&6; }
18010if test `eval echo '${'$as_ac_var'}'` = yes; then 18217if test `eval echo '${'$as_ac_var'}'` = yes; then
18011 cat >>confdefs.h <<_ACEOF 18218 cat >>confdefs.h <<_ACEOF
18012#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 18219#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
@@ -18021,9 +18228,9 @@ done
18021for ac_func in getpt 18228for ac_func in getpt
18022do 18229do
18023as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 18230as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18024echo "$as_me:$LINENO: checking for $ac_func" >&5 18231{ echo "$as_me:$LINENO: checking for $ac_func" >&5
18025echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 18232echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18026if eval "test \"\${$as_ac_var+set}\" = set"; then 18233if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18027 echo $ECHO_N "(cached) $ECHO_C" >&6 18234 echo $ECHO_N "(cached) $ECHO_C" >&6
18028else 18235else
18029 cat >conftest.$ac_ext <<_ACEOF 18236 cat >conftest.$ac_ext <<_ACEOF
@@ -18049,67 +18256,60 @@ cat >>conftest.$ac_ext <<_ACEOF
18049 18256
18050#undef $ac_func 18257#undef $ac_func
18051 18258
18052/* Override any gcc2 internal prototype to avoid an error. */ 18259/* Override any GCC internal prototype to avoid an error.
18260 Use char because int might match the return type of a GCC
18261 builtin and then its argument prototype would still apply. */
18053#ifdef __cplusplus 18262#ifdef __cplusplus
18054extern "C" 18263extern "C"
18055{
18056#endif 18264#endif
18057/* We use char because int might match the return type of a gcc2
18058 builtin and then its argument prototype would still apply. */
18059char $ac_func (); 18265char $ac_func ();
18060/* The GNU C library defines this for functions which it implements 18266/* The GNU C library defines this for functions which it implements
18061 to always fail with ENOSYS. Some functions are actually named 18267 to always fail with ENOSYS. Some functions are actually named
18062 something starting with __ and the normal name is an alias. */ 18268 something starting with __ and the normal name is an alias. */
18063#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 18269#if defined __stub_$ac_func || defined __stub___$ac_func
18064choke me 18270choke me
18065#else
18066char (*f) () = $ac_func;
18067#endif
18068#ifdef __cplusplus
18069}
18070#endif 18271#endif
18071 18272
18072int 18273int
18073main () 18274main ()
18074{ 18275{
18075return f != $ac_func; 18276return $ac_func ();
18076 ; 18277 ;
18077 return 0; 18278 return 0;
18078} 18279}
18079_ACEOF 18280_ACEOF
18080rm -f conftest.$ac_objext conftest$ac_exeext 18281rm -f conftest.$ac_objext conftest$ac_exeext
18081if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 18282if { (ac_try="$ac_link"
18082 (eval $ac_link) 2>conftest.er1 18283case "(($ac_try" in
18284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18285 *) ac_try_echo=$ac_try;;
18286esac
18287eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18288 (eval "$ac_link") 2>conftest.er1
18083 ac_status=$? 18289 ac_status=$?
18084 grep -v '^ *+' conftest.er1 >conftest.err 18290 grep -v '^ *+' conftest.er1 >conftest.err
18085 rm -f conftest.er1 18291 rm -f conftest.er1
18086 cat conftest.err >&5 18292 cat conftest.err >&5
18087 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18088 (exit $ac_status); } && 18294 (exit $ac_status); } && {
18089 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 18295 test -z "$ac_c_werror_flag" ||
18090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18296 test ! -s conftest.err
18091 (eval $ac_try) 2>&5 18297 } && test -s conftest$ac_exeext &&
18092 ac_status=$? 18298 $as_test_x conftest$ac_exeext; then
18093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18094 (exit $ac_status); }; } &&
18095 { ac_try='test -s conftest$ac_exeext'
18096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18097 (eval $ac_try) 2>&5
18098 ac_status=$?
18099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18100 (exit $ac_status); }; }; then
18101 eval "$as_ac_var=yes" 18299 eval "$as_ac_var=yes"
18102else 18300else
18103 echo "$as_me: failed program was:" >&5 18301 echo "$as_me: failed program was:" >&5
18104sed 's/^/| /' conftest.$ac_ext >&5 18302sed 's/^/| /' conftest.$ac_ext >&5
18105 18303
18106eval "$as_ac_var=no" 18304 eval "$as_ac_var=no"
18107fi 18305fi
18108rm -f conftest.err conftest.$ac_objext \ 18306
18307rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18109 conftest$ac_exeext conftest.$ac_ext 18308 conftest$ac_exeext conftest.$ac_ext
18110fi 18309fi
18111echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 18310ac_res=`eval echo '${'$as_ac_var'}'`
18112echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 18311 { echo "$as_me:$LINENO: result: $ac_res" >&5
18312echo "${ECHO_T}$ac_res" >&6; }
18113if test `eval echo '${'$as_ac_var'}'` = yes; then 18313if test `eval echo '${'$as_ac_var'}'` = yes; then
18114 cat >>confdefs.h <<_ACEOF 18314 cat >>confdefs.h <<_ACEOF
18115#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 18315#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
@@ -18124,8 +18324,8 @@ done
18124# It's better to believe a function is not available 18324# It's better to believe a function is not available
18125# than to expect to find it in ncurses. 18325# than to expect to find it in ncurses.
18126 18326
18127echo "$as_me:$LINENO: checking for tparm in -lncurses" >&5 18327{ echo "$as_me:$LINENO: checking for tparm in -lncurses" >&5
18128echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6 18328echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6; }
18129if test "${ac_cv_lib_ncurses_tparm+set}" = set; then 18329if test "${ac_cv_lib_ncurses_tparm+set}" = set; then
18130 echo $ECHO_N "(cached) $ECHO_C" >&6 18330 echo $ECHO_N "(cached) $ECHO_C" >&6
18131else 18331else
@@ -18138,55 +18338,53 @@ cat confdefs.h >>conftest.$ac_ext
18138cat >>conftest.$ac_ext <<_ACEOF 18338cat >>conftest.$ac_ext <<_ACEOF
18139/* end confdefs.h. */ 18339/* end confdefs.h. */
18140 18340
18141/* Override any gcc2 internal prototype to avoid an error. */ 18341/* Override any GCC internal prototype to avoid an error.
18342 Use char because int might match the return type of a GCC
18343 builtin and then its argument prototype would still apply. */
18142#ifdef __cplusplus 18344#ifdef __cplusplus
18143extern "C" 18345extern "C"
18144#endif 18346#endif
18145/* We use char because int might match the return type of a gcc2
18146 builtin and then its argument prototype would still apply. */
18147char tparm (); 18347char tparm ();
18148int 18348int
18149main () 18349main ()
18150{ 18350{
18151tparm (); 18351return tparm ();
18152 ; 18352 ;
18153 return 0; 18353 return 0;
18154} 18354}
18155_ACEOF 18355_ACEOF
18156rm -f conftest.$ac_objext conftest$ac_exeext 18356rm -f conftest.$ac_objext conftest$ac_exeext
18157if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 18357if { (ac_try="$ac_link"
18158 (eval $ac_link) 2>conftest.er1 18358case "(($ac_try" in
18359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18360 *) ac_try_echo=$ac_try;;
18361esac
18362eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18363 (eval "$ac_link") 2>conftest.er1
18159 ac_status=$? 18364 ac_status=$?
18160 grep -v '^ *+' conftest.er1 >conftest.err 18365 grep -v '^ *+' conftest.er1 >conftest.err
18161 rm -f conftest.er1 18366 rm -f conftest.er1
18162 cat conftest.err >&5 18367 cat conftest.err >&5
18163 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18164 (exit $ac_status); } && 18369 (exit $ac_status); } && {
18165 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 18370 test -z "$ac_c_werror_flag" ||
18166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18371 test ! -s conftest.err
18167 (eval $ac_try) 2>&5 18372 } && test -s conftest$ac_exeext &&
18168 ac_status=$? 18373 $as_test_x conftest$ac_exeext; then
18169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18170 (exit $ac_status); }; } &&
18171 { ac_try='test -s conftest$ac_exeext'
18172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18173 (eval $ac_try) 2>&5
18174 ac_status=$?
18175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18176 (exit $ac_status); }; }; then
18177 ac_cv_lib_ncurses_tparm=yes 18374 ac_cv_lib_ncurses_tparm=yes
18178else 18375else
18179 echo "$as_me: failed program was:" >&5 18376 echo "$as_me: failed program was:" >&5
18180sed 's/^/| /' conftest.$ac_ext >&5 18377sed 's/^/| /' conftest.$ac_ext >&5
18181 18378
18182ac_cv_lib_ncurses_tparm=no 18379 ac_cv_lib_ncurses_tparm=no
18183fi 18380fi
18184rm -f conftest.err conftest.$ac_objext \ 18381
18382rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18185 conftest$ac_exeext conftest.$ac_ext 18383 conftest$ac_exeext conftest.$ac_ext
18186LIBS=$ac_check_lib_save_LIBS 18384LIBS=$ac_check_lib_save_LIBS
18187fi 18385fi
18188echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_tparm" >&5 18386{ echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_tparm" >&5
18189echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6 18387echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6; }
18190if test $ac_cv_lib_ncurses_tparm = yes; then 18388if test $ac_cv_lib_ncurses_tparm = yes; then
18191 cat >>confdefs.h <<_ACEOF 18389 cat >>confdefs.h <<_ACEOF
18192#define HAVE_LIBNCURSES 1 18390#define HAVE_LIBNCURSES 1
@@ -18201,8 +18399,8 @@ fi
18201if test "$with_hesiod" = yes ; then 18399if test "$with_hesiod" = yes ; then
18202 # Don't set $LIBS here -- see comments above. 18400 # Don't set $LIBS here -- see comments above.
18203 resolv=no 18401 resolv=no
18204 echo "$as_me:$LINENO: checking for res_send" >&5 18402 { echo "$as_me:$LINENO: checking for res_send" >&5
18205echo $ECHO_N "checking for res_send... $ECHO_C" >&6 18403echo $ECHO_N "checking for res_send... $ECHO_C" >&6; }
18206if test "${ac_cv_func_res_send+set}" = set; then 18404if test "${ac_cv_func_res_send+set}" = set; then
18207 echo $ECHO_N "(cached) $ECHO_C" >&6 18405 echo $ECHO_N "(cached) $ECHO_C" >&6
18208else 18406else
@@ -18229,72 +18427,64 @@ cat >>conftest.$ac_ext <<_ACEOF
18229 18427
18230#undef res_send 18428#undef res_send
18231 18429
18232/* Override any gcc2 internal prototype to avoid an error. */ 18430/* Override any GCC internal prototype to avoid an error.
18431 Use char because int might match the return type of a GCC
18432 builtin and then its argument prototype would still apply. */
18233#ifdef __cplusplus 18433#ifdef __cplusplus
18234extern "C" 18434extern "C"
18235{
18236#endif 18435#endif
18237/* We use char because int might match the return type of a gcc2
18238 builtin and then its argument prototype would still apply. */
18239char res_send (); 18436char res_send ();
18240/* The GNU C library defines this for functions which it implements 18437/* The GNU C library defines this for functions which it implements
18241 to always fail with ENOSYS. Some functions are actually named 18438 to always fail with ENOSYS. Some functions are actually named
18242 something starting with __ and the normal name is an alias. */ 18439 something starting with __ and the normal name is an alias. */
18243#if defined (__stub_res_send) || defined (__stub___res_send) 18440#if defined __stub_res_send || defined __stub___res_send
18244choke me 18441choke me
18245#else
18246char (*f) () = res_send;
18247#endif
18248#ifdef __cplusplus
18249}
18250#endif 18442#endif
18251 18443
18252int 18444int
18253main () 18445main ()
18254{ 18446{
18255return f != res_send; 18447return res_send ();
18256 ; 18448 ;
18257 return 0; 18449 return 0;
18258} 18450}
18259_ACEOF 18451_ACEOF
18260rm -f conftest.$ac_objext conftest$ac_exeext 18452rm -f conftest.$ac_objext conftest$ac_exeext
18261if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 18453if { (ac_try="$ac_link"
18262 (eval $ac_link) 2>conftest.er1 18454case "(($ac_try" in
18455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18456 *) ac_try_echo=$ac_try;;
18457esac
18458eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18459 (eval "$ac_link") 2>conftest.er1
18263 ac_status=$? 18460 ac_status=$?
18264 grep -v '^ *+' conftest.er1 >conftest.err 18461 grep -v '^ *+' conftest.er1 >conftest.err
18265 rm -f conftest.er1 18462 rm -f conftest.er1
18266 cat conftest.err >&5 18463 cat conftest.err >&5
18267 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18268 (exit $ac_status); } && 18465 (exit $ac_status); } && {
18269 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 18466 test -z "$ac_c_werror_flag" ||
18270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18467 test ! -s conftest.err
18271 (eval $ac_try) 2>&5 18468 } && test -s conftest$ac_exeext &&
18272 ac_status=$? 18469 $as_test_x conftest$ac_exeext; then
18273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18274 (exit $ac_status); }; } &&
18275 { ac_try='test -s conftest$ac_exeext'
18276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18277 (eval $ac_try) 2>&5
18278 ac_status=$?
18279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18280 (exit $ac_status); }; }; then
18281 ac_cv_func_res_send=yes 18470 ac_cv_func_res_send=yes
18282else 18471else
18283 echo "$as_me: failed program was:" >&5 18472 echo "$as_me: failed program was:" >&5
18284sed 's/^/| /' conftest.$ac_ext >&5 18473sed 's/^/| /' conftest.$ac_ext >&5
18285 18474
18286ac_cv_func_res_send=no 18475 ac_cv_func_res_send=no
18287fi 18476fi
18288rm -f conftest.err conftest.$ac_objext \ 18477
18478rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18289 conftest$ac_exeext conftest.$ac_ext 18479 conftest$ac_exeext conftest.$ac_ext
18290fi 18480fi
18291echo "$as_me:$LINENO: result: $ac_cv_func_res_send" >&5 18481{ echo "$as_me:$LINENO: result: $ac_cv_func_res_send" >&5
18292echo "${ECHO_T}$ac_cv_func_res_send" >&6 18482echo "${ECHO_T}$ac_cv_func_res_send" >&6; }
18293if test $ac_cv_func_res_send = yes; then 18483if test $ac_cv_func_res_send = yes; then
18294 : 18484 :
18295else 18485else
18296 echo "$as_me:$LINENO: checking for __res_send" >&5 18486 { echo "$as_me:$LINENO: checking for __res_send" >&5
18297echo $ECHO_N "checking for __res_send... $ECHO_C" >&6 18487echo $ECHO_N "checking for __res_send... $ECHO_C" >&6; }
18298if test "${ac_cv_func___res_send+set}" = set; then 18488if test "${ac_cv_func___res_send+set}" = set; then
18299 echo $ECHO_N "(cached) $ECHO_C" >&6 18489 echo $ECHO_N "(cached) $ECHO_C" >&6
18300else 18490else
@@ -18321,72 +18511,64 @@ cat >>conftest.$ac_ext <<_ACEOF
18321 18511
18322#undef __res_send 18512#undef __res_send
18323 18513
18324/* Override any gcc2 internal prototype to avoid an error. */ 18514/* Override any GCC internal prototype to avoid an error.
18515 Use char because int might match the return type of a GCC
18516 builtin and then its argument prototype would still apply. */
18325#ifdef __cplusplus 18517#ifdef __cplusplus
18326extern "C" 18518extern "C"
18327{
18328#endif 18519#endif
18329/* We use char because int might match the return type of a gcc2
18330 builtin and then its argument prototype would still apply. */
18331char __res_send (); 18520char __res_send ();
18332/* The GNU C library defines this for functions which it implements 18521/* The GNU C library defines this for functions which it implements
18333 to always fail with ENOSYS. Some functions are actually named 18522 to always fail with ENOSYS. Some functions are actually named
18334 something starting with __ and the normal name is an alias. */ 18523 something starting with __ and the normal name is an alias. */
18335#if defined (__stub___res_send) || defined (__stub_____res_send) 18524#if defined __stub___res_send || defined __stub_____res_send
18336choke me 18525choke me
18337#else
18338char (*f) () = __res_send;
18339#endif
18340#ifdef __cplusplus
18341}
18342#endif 18526#endif
18343 18527
18344int 18528int
18345main () 18529main ()
18346{ 18530{
18347return f != __res_send; 18531return __res_send ();
18348 ; 18532 ;
18349 return 0; 18533 return 0;
18350} 18534}
18351_ACEOF 18535_ACEOF
18352rm -f conftest.$ac_objext conftest$ac_exeext 18536rm -f conftest.$ac_objext conftest$ac_exeext
18353if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 18537if { (ac_try="$ac_link"
18354 (eval $ac_link) 2>conftest.er1 18538case "(($ac_try" in
18539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18540 *) ac_try_echo=$ac_try;;
18541esac
18542eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18543 (eval "$ac_link") 2>conftest.er1
18355 ac_status=$? 18544 ac_status=$?
18356 grep -v '^ *+' conftest.er1 >conftest.err 18545 grep -v '^ *+' conftest.er1 >conftest.err
18357 rm -f conftest.er1 18546 rm -f conftest.er1
18358 cat conftest.err >&5 18547 cat conftest.err >&5
18359 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18360 (exit $ac_status); } && 18549 (exit $ac_status); } && {
18361 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 18550 test -z "$ac_c_werror_flag" ||
18362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18551 test ! -s conftest.err
18363 (eval $ac_try) 2>&5 18552 } && test -s conftest$ac_exeext &&
18364 ac_status=$? 18553 $as_test_x conftest$ac_exeext; then
18365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18366 (exit $ac_status); }; } &&
18367 { ac_try='test -s conftest$ac_exeext'
18368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18369 (eval $ac_try) 2>&5
18370 ac_status=$?
18371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18372 (exit $ac_status); }; }; then
18373 ac_cv_func___res_send=yes 18554 ac_cv_func___res_send=yes
18374else 18555else
18375 echo "$as_me: failed program was:" >&5 18556 echo "$as_me: failed program was:" >&5
18376sed 's/^/| /' conftest.$ac_ext >&5 18557sed 's/^/| /' conftest.$ac_ext >&5
18377 18558
18378ac_cv_func___res_send=no 18559 ac_cv_func___res_send=no
18379fi 18560fi
18380rm -f conftest.err conftest.$ac_objext \ 18561
18562rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18381 conftest$ac_exeext conftest.$ac_ext 18563 conftest$ac_exeext conftest.$ac_ext
18382fi 18564fi
18383echo "$as_me:$LINENO: result: $ac_cv_func___res_send" >&5 18565{ echo "$as_me:$LINENO: result: $ac_cv_func___res_send" >&5
18384echo "${ECHO_T}$ac_cv_func___res_send" >&6 18566echo "${ECHO_T}$ac_cv_func___res_send" >&6; }
18385if test $ac_cv_func___res_send = yes; then 18567if test $ac_cv_func___res_send = yes; then
18386 : 18568 :
18387else 18569else
18388 echo "$as_me:$LINENO: checking for res_send in -lresolv" >&5 18570 { echo "$as_me:$LINENO: checking for res_send in -lresolv" >&5
18389echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6 18571echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6; }
18390if test "${ac_cv_lib_resolv_res_send+set}" = set; then 18572if test "${ac_cv_lib_resolv_res_send+set}" = set; then
18391 echo $ECHO_N "(cached) $ECHO_C" >&6 18573 echo $ECHO_N "(cached) $ECHO_C" >&6
18392else 18574else
@@ -18399,60 +18581,58 @@ cat confdefs.h >>conftest.$ac_ext
18399cat >>conftest.$ac_ext <<_ACEOF 18581cat >>conftest.$ac_ext <<_ACEOF
18400/* end confdefs.h. */ 18582/* end confdefs.h. */
18401 18583
18402/* Override any gcc2 internal prototype to avoid an error. */ 18584/* Override any GCC internal prototype to avoid an error.
18585 Use char because int might match the return type of a GCC
18586 builtin and then its argument prototype would still apply. */
18403#ifdef __cplusplus 18587#ifdef __cplusplus
18404extern "C" 18588extern "C"
18405#endif 18589#endif
18406/* We use char because int might match the return type of a gcc2
18407 builtin and then its argument prototype would still apply. */
18408char res_send (); 18590char res_send ();
18409int 18591int
18410main () 18592main ()
18411{ 18593{
18412res_send (); 18594return res_send ();
18413 ; 18595 ;
18414 return 0; 18596 return 0;
18415} 18597}
18416_ACEOF 18598_ACEOF
18417rm -f conftest.$ac_objext conftest$ac_exeext 18599rm -f conftest.$ac_objext conftest$ac_exeext
18418if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 18600if { (ac_try="$ac_link"
18419 (eval $ac_link) 2>conftest.er1 18601case "(($ac_try" in
18602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18603 *) ac_try_echo=$ac_try;;
18604esac
18605eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18606 (eval "$ac_link") 2>conftest.er1
18420 ac_status=$? 18607 ac_status=$?
18421 grep -v '^ *+' conftest.er1 >conftest.err 18608 grep -v '^ *+' conftest.er1 >conftest.err
18422 rm -f conftest.er1 18609 rm -f conftest.er1
18423 cat conftest.err >&5 18610 cat conftest.err >&5
18424 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18425 (exit $ac_status); } && 18612 (exit $ac_status); } && {
18426 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 18613 test -z "$ac_c_werror_flag" ||
18427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18614 test ! -s conftest.err
18428 (eval $ac_try) 2>&5 18615 } && test -s conftest$ac_exeext &&
18429 ac_status=$? 18616 $as_test_x conftest$ac_exeext; then
18430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18431 (exit $ac_status); }; } &&
18432 { ac_try='test -s conftest$ac_exeext'
18433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18434 (eval $ac_try) 2>&5
18435 ac_status=$?
18436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18437 (exit $ac_status); }; }; then
18438 ac_cv_lib_resolv_res_send=yes 18617 ac_cv_lib_resolv_res_send=yes
18439else 18618else
18440 echo "$as_me: failed program was:" >&5 18619 echo "$as_me: failed program was:" >&5
18441sed 's/^/| /' conftest.$ac_ext >&5 18620sed 's/^/| /' conftest.$ac_ext >&5
18442 18621
18443ac_cv_lib_resolv_res_send=no 18622 ac_cv_lib_resolv_res_send=no
18444fi 18623fi
18445rm -f conftest.err conftest.$ac_objext \ 18624
18625rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18446 conftest$ac_exeext conftest.$ac_ext 18626 conftest$ac_exeext conftest.$ac_ext
18447LIBS=$ac_check_lib_save_LIBS 18627LIBS=$ac_check_lib_save_LIBS
18448fi 18628fi
18449echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_send" >&5 18629{ echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_send" >&5
18450echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6 18630echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6; }
18451if test $ac_cv_lib_resolv_res_send = yes; then 18631if test $ac_cv_lib_resolv_res_send = yes; then
18452 resolv=yes 18632 resolv=yes
18453else 18633else
18454 echo "$as_me:$LINENO: checking for __res_send in -lresolv" >&5 18634 { echo "$as_me:$LINENO: checking for __res_send in -lresolv" >&5
18455echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6 18635echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6; }
18456if test "${ac_cv_lib_resolv___res_send+set}" = set; then 18636if test "${ac_cv_lib_resolv___res_send+set}" = set; then
18457 echo $ECHO_N "(cached) $ECHO_C" >&6 18637 echo $ECHO_N "(cached) $ECHO_C" >&6
18458else 18638else
@@ -18465,55 +18645,53 @@ cat confdefs.h >>conftest.$ac_ext
18465cat >>conftest.$ac_ext <<_ACEOF 18645cat >>conftest.$ac_ext <<_ACEOF
18466/* end confdefs.h. */ 18646/* end confdefs.h. */
18467 18647
18468/* Override any gcc2 internal prototype to avoid an error. */ 18648/* Override any GCC internal prototype to avoid an error.
18649 Use char because int might match the return type of a GCC
18650 builtin and then its argument prototype would still apply. */
18469#ifdef __cplusplus 18651#ifdef __cplusplus
18470extern "C" 18652extern "C"
18471#endif 18653#endif
18472/* We use char because int might match the return type of a gcc2
18473 builtin and then its argument prototype would still apply. */
18474char __res_send (); 18654char __res_send ();
18475int 18655int
18476main () 18656main ()
18477{ 18657{
18478__res_send (); 18658return __res_send ();
18479 ; 18659 ;
18480 return 0; 18660 return 0;
18481} 18661}
18482_ACEOF 18662_ACEOF
18483rm -f conftest.$ac_objext conftest$ac_exeext 18663rm -f conftest.$ac_objext conftest$ac_exeext
18484if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 18664if { (ac_try="$ac_link"
18485 (eval $ac_link) 2>conftest.er1 18665case "(($ac_try" in
18666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18667 *) ac_try_echo=$ac_try;;
18668esac
18669eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18670 (eval "$ac_link") 2>conftest.er1
18486 ac_status=$? 18671 ac_status=$?
18487 grep -v '^ *+' conftest.er1 >conftest.err 18672 grep -v '^ *+' conftest.er1 >conftest.err
18488 rm -f conftest.er1 18673 rm -f conftest.er1
18489 cat conftest.err >&5 18674 cat conftest.err >&5
18490 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18491 (exit $ac_status); } && 18676 (exit $ac_status); } && {
18492 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 18677 test -z "$ac_c_werror_flag" ||
18493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18678 test ! -s conftest.err
18494 (eval $ac_try) 2>&5 18679 } && test -s conftest$ac_exeext &&
18495 ac_status=$? 18680 $as_test_x conftest$ac_exeext; then
18496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18497 (exit $ac_status); }; } &&
18498 { ac_try='test -s conftest$ac_exeext'
18499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18500 (eval $ac_try) 2>&5
18501 ac_status=$?
18502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18503 (exit $ac_status); }; }; then
18504 ac_cv_lib_resolv___res_send=yes 18681 ac_cv_lib_resolv___res_send=yes
18505else 18682else
18506 echo "$as_me: failed program was:" >&5 18683 echo "$as_me: failed program was:" >&5
18507sed 's/^/| /' conftest.$ac_ext >&5 18684sed 's/^/| /' conftest.$ac_ext >&5
18508 18685
18509ac_cv_lib_resolv___res_send=no 18686 ac_cv_lib_resolv___res_send=no
18510fi 18687fi
18511rm -f conftest.err conftest.$ac_objext \ 18688
18689rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18512 conftest$ac_exeext conftest.$ac_ext 18690 conftest$ac_exeext conftest.$ac_ext
18513LIBS=$ac_check_lib_save_LIBS 18691LIBS=$ac_check_lib_save_LIBS
18514fi 18692fi
18515echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___res_send" >&5 18693{ echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___res_send" >&5
18516echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6 18694echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6; }
18517if test $ac_cv_lib_resolv___res_send = yes; then 18695if test $ac_cv_lib_resolv___res_send = yes; then
18518 resolv=yes 18696 resolv=yes
18519fi 18697fi
@@ -18534,8 +18712,8 @@ _ACEOF
18534 else 18712 else
18535 RESOLVLIB= 18713 RESOLVLIB=
18536 fi 18714 fi
18537 echo "$as_me:$LINENO: checking for hes_getmailhost" >&5 18715 { echo "$as_me:$LINENO: checking for hes_getmailhost" >&5
18538echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6 18716echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6; }
18539if test "${ac_cv_func_hes_getmailhost+set}" = set; then 18717if test "${ac_cv_func_hes_getmailhost+set}" = set; then
18540 echo $ECHO_N "(cached) $ECHO_C" >&6 18718 echo $ECHO_N "(cached) $ECHO_C" >&6
18541else 18719else
@@ -18562,72 +18740,64 @@ cat >>conftest.$ac_ext <<_ACEOF
18562 18740
18563#undef hes_getmailhost 18741#undef hes_getmailhost
18564 18742
18565/* Override any gcc2 internal prototype to avoid an error. */ 18743/* Override any GCC internal prototype to avoid an error.
18744 Use char because int might match the return type of a GCC
18745 builtin and then its argument prototype would still apply. */
18566#ifdef __cplusplus 18746#ifdef __cplusplus
18567extern "C" 18747extern "C"
18568{
18569#endif 18748#endif
18570/* We use char because int might match the return type of a gcc2
18571 builtin and then its argument prototype would still apply. */
18572char hes_getmailhost (); 18749char hes_getmailhost ();
18573/* The GNU C library defines this for functions which it implements 18750/* The GNU C library defines this for functions which it implements
18574 to always fail with ENOSYS. Some functions are actually named 18751 to always fail with ENOSYS. Some functions are actually named
18575 something starting with __ and the normal name is an alias. */ 18752 something starting with __ and the normal name is an alias. */
18576#if defined (__stub_hes_getmailhost) || defined (__stub___hes_getmailhost) 18753#if defined __stub_hes_getmailhost || defined __stub___hes_getmailhost
18577choke me 18754choke me
18578#else
18579char (*f) () = hes_getmailhost;
18580#endif
18581#ifdef __cplusplus
18582}
18583#endif 18755#endif
18584 18756
18585int 18757int
18586main () 18758main ()
18587{ 18759{
18588return f != hes_getmailhost; 18760return hes_getmailhost ();
18589 ; 18761 ;
18590 return 0; 18762 return 0;
18591} 18763}
18592_ACEOF 18764_ACEOF
18593rm -f conftest.$ac_objext conftest$ac_exeext 18765rm -f conftest.$ac_objext conftest$ac_exeext
18594if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 18766if { (ac_try="$ac_link"
18595 (eval $ac_link) 2>conftest.er1 18767case "(($ac_try" in
18768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18769 *) ac_try_echo=$ac_try;;
18770esac
18771eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18772 (eval "$ac_link") 2>conftest.er1
18596 ac_status=$? 18773 ac_status=$?
18597 grep -v '^ *+' conftest.er1 >conftest.err 18774 grep -v '^ *+' conftest.er1 >conftest.err
18598 rm -f conftest.er1 18775 rm -f conftest.er1
18599 cat conftest.err >&5 18776 cat conftest.err >&5
18600 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18601 (exit $ac_status); } && 18778 (exit $ac_status); } && {
18602 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 18779 test -z "$ac_c_werror_flag" ||
18603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18780 test ! -s conftest.err
18604 (eval $ac_try) 2>&5 18781 } && test -s conftest$ac_exeext &&
18605 ac_status=$? 18782 $as_test_x conftest$ac_exeext; then
18606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18607 (exit $ac_status); }; } &&
18608 { ac_try='test -s conftest$ac_exeext'
18609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18610 (eval $ac_try) 2>&5
18611 ac_status=$?
18612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18613 (exit $ac_status); }; }; then
18614 ac_cv_func_hes_getmailhost=yes 18783 ac_cv_func_hes_getmailhost=yes
18615else 18784else
18616 echo "$as_me: failed program was:" >&5 18785 echo "$as_me: failed program was:" >&5
18617sed 's/^/| /' conftest.$ac_ext >&5 18786sed 's/^/| /' conftest.$ac_ext >&5
18618 18787
18619ac_cv_func_hes_getmailhost=no 18788 ac_cv_func_hes_getmailhost=no
18620fi 18789fi
18621rm -f conftest.err conftest.$ac_objext \ 18790
18791rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18622 conftest$ac_exeext conftest.$ac_ext 18792 conftest$ac_exeext conftest.$ac_ext
18623fi 18793fi
18624echo "$as_me:$LINENO: result: $ac_cv_func_hes_getmailhost" >&5 18794{ echo "$as_me:$LINENO: result: $ac_cv_func_hes_getmailhost" >&5
18625echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6 18795echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6; }
18626if test $ac_cv_func_hes_getmailhost = yes; then 18796if test $ac_cv_func_hes_getmailhost = yes; then
18627 : 18797 :
18628else 18798else
18629 echo "$as_me:$LINENO: checking for hes_getmailhost in -lhesiod" >&5 18799 { echo "$as_me:$LINENO: checking for hes_getmailhost in -lhesiod" >&5
18630echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6 18800echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6; }
18631if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then 18801if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then
18632 echo $ECHO_N "(cached) $ECHO_C" >&6 18802 echo $ECHO_N "(cached) $ECHO_C" >&6
18633else 18803else
@@ -18640,55 +18810,53 @@ cat confdefs.h >>conftest.$ac_ext
18640cat >>conftest.$ac_ext <<_ACEOF 18810cat >>conftest.$ac_ext <<_ACEOF
18641/* end confdefs.h. */ 18811/* end confdefs.h. */
18642 18812
18643/* Override any gcc2 internal prototype to avoid an error. */ 18813/* Override any GCC internal prototype to avoid an error.
18814 Use char because int might match the return type of a GCC
18815 builtin and then its argument prototype would still apply. */
18644#ifdef __cplusplus 18816#ifdef __cplusplus
18645extern "C" 18817extern "C"
18646#endif 18818#endif
18647/* We use char because int might match the return type of a gcc2
18648 builtin and then its argument prototype would still apply. */
18649char hes_getmailhost (); 18819char hes_getmailhost ();
18650int 18820int
18651main () 18821main ()
18652{ 18822{
18653hes_getmailhost (); 18823return hes_getmailhost ();
18654 ; 18824 ;
18655 return 0; 18825 return 0;
18656} 18826}
18657_ACEOF 18827_ACEOF
18658rm -f conftest.$ac_objext conftest$ac_exeext 18828rm -f conftest.$ac_objext conftest$ac_exeext
18659if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 18829if { (ac_try="$ac_link"
18660 (eval $ac_link) 2>conftest.er1 18830case "(($ac_try" in
18831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18832 *) ac_try_echo=$ac_try;;
18833esac
18834eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18835 (eval "$ac_link") 2>conftest.er1
18661 ac_status=$? 18836 ac_status=$?
18662 grep -v '^ *+' conftest.er1 >conftest.err 18837 grep -v '^ *+' conftest.er1 >conftest.err
18663 rm -f conftest.er1 18838 rm -f conftest.er1
18664 cat conftest.err >&5 18839 cat conftest.err >&5
18665 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18666 (exit $ac_status); } && 18841 (exit $ac_status); } && {
18667 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 18842 test -z "$ac_c_werror_flag" ||
18668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18843 test ! -s conftest.err
18669 (eval $ac_try) 2>&5 18844 } && test -s conftest$ac_exeext &&
18670 ac_status=$? 18845 $as_test_x conftest$ac_exeext; then
18671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18672 (exit $ac_status); }; } &&
18673 { ac_try='test -s conftest$ac_exeext'
18674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18675 (eval $ac_try) 2>&5
18676 ac_status=$?
18677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18678 (exit $ac_status); }; }; then
18679 ac_cv_lib_hesiod_hes_getmailhost=yes 18846 ac_cv_lib_hesiod_hes_getmailhost=yes
18680else 18847else
18681 echo "$as_me: failed program was:" >&5 18848 echo "$as_me: failed program was:" >&5
18682sed 's/^/| /' conftest.$ac_ext >&5 18849sed 's/^/| /' conftest.$ac_ext >&5
18683 18850
18684ac_cv_lib_hesiod_hes_getmailhost=no 18851 ac_cv_lib_hesiod_hes_getmailhost=no
18685fi 18852fi
18686rm -f conftest.err conftest.$ac_objext \ 18853
18854rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18687 conftest$ac_exeext conftest.$ac_ext 18855 conftest$ac_exeext conftest.$ac_ext
18688LIBS=$ac_check_lib_save_LIBS 18856LIBS=$ac_check_lib_save_LIBS
18689fi 18857fi
18690echo "$as_me:$LINENO: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 18858{ echo "$as_me:$LINENO: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
18691echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6 18859echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6; }
18692if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then 18860if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then
18693 18861
18694cat >>confdefs.h <<\_ACEOF 18862cat >>confdefs.h <<\_ACEOF
@@ -18706,8 +18874,8 @@ fi
18706# These tell us which Kerberos-related libraries to use. 18874# These tell us which Kerberos-related libraries to use.
18707if test "${with_kerberos+set}" = set; then 18875if test "${with_kerberos+set}" = set; then
18708 18876
18709echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5 18877{ echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5
18710echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6 18878echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6; }
18711if test "${ac_cv_lib_com_err_com_err+set}" = set; then 18879if test "${ac_cv_lib_com_err_com_err+set}" = set; then
18712 echo $ECHO_N "(cached) $ECHO_C" >&6 18880 echo $ECHO_N "(cached) $ECHO_C" >&6
18713else 18881else
@@ -18720,55 +18888,53 @@ cat confdefs.h >>conftest.$ac_ext
18720cat >>conftest.$ac_ext <<_ACEOF 18888cat >>conftest.$ac_ext <<_ACEOF
18721/* end confdefs.h. */ 18889/* end confdefs.h. */
18722 18890
18723/* Override any gcc2 internal prototype to avoid an error. */ 18891/* Override any GCC internal prototype to avoid an error.
18892 Use char because int might match the return type of a GCC
18893 builtin and then its argument prototype would still apply. */
18724#ifdef __cplusplus 18894#ifdef __cplusplus
18725extern "C" 18895extern "C"
18726#endif 18896#endif
18727/* We use char because int might match the return type of a gcc2
18728 builtin and then its argument prototype would still apply. */
18729char com_err (); 18897char com_err ();
18730int 18898int
18731main () 18899main ()
18732{ 18900{
18733com_err (); 18901return com_err ();
18734 ; 18902 ;
18735 return 0; 18903 return 0;
18736} 18904}
18737_ACEOF 18905_ACEOF
18738rm -f conftest.$ac_objext conftest$ac_exeext 18906rm -f conftest.$ac_objext conftest$ac_exeext
18739if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 18907if { (ac_try="$ac_link"
18740 (eval $ac_link) 2>conftest.er1 18908case "(($ac_try" in
18909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18910 *) ac_try_echo=$ac_try;;
18911esac
18912eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18913 (eval "$ac_link") 2>conftest.er1
18741 ac_status=$? 18914 ac_status=$?
18742 grep -v '^ *+' conftest.er1 >conftest.err 18915 grep -v '^ *+' conftest.er1 >conftest.err
18743 rm -f conftest.er1 18916 rm -f conftest.er1
18744 cat conftest.err >&5 18917 cat conftest.err >&5
18745 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18746 (exit $ac_status); } && 18919 (exit $ac_status); } && {
18747 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 18920 test -z "$ac_c_werror_flag" ||
18748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18921 test ! -s conftest.err
18749 (eval $ac_try) 2>&5 18922 } && test -s conftest$ac_exeext &&
18750 ac_status=$? 18923 $as_test_x conftest$ac_exeext; then
18751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18752 (exit $ac_status); }; } &&
18753 { ac_try='test -s conftest$ac_exeext'
18754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18755 (eval $ac_try) 2>&5
18756 ac_status=$?
18757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18758 (exit $ac_status); }; }; then
18759 ac_cv_lib_com_err_com_err=yes 18924 ac_cv_lib_com_err_com_err=yes
18760else 18925else
18761 echo "$as_me: failed program was:" >&5 18926 echo "$as_me: failed program was:" >&5
18762sed 's/^/| /' conftest.$ac_ext >&5 18927sed 's/^/| /' conftest.$ac_ext >&5
18763 18928
18764ac_cv_lib_com_err_com_err=no 18929 ac_cv_lib_com_err_com_err=no
18765fi 18930fi
18766rm -f conftest.err conftest.$ac_objext \ 18931
18932rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18767 conftest$ac_exeext conftest.$ac_ext 18933 conftest$ac_exeext conftest.$ac_ext
18768LIBS=$ac_check_lib_save_LIBS 18934LIBS=$ac_check_lib_save_LIBS
18769fi 18935fi
18770echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5 18936{ echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5
18771echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6 18937echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6; }
18772if test $ac_cv_lib_com_err_com_err = yes; then 18938if test $ac_cv_lib_com_err_com_err = yes; then
18773 cat >>confdefs.h <<_ACEOF 18939 cat >>confdefs.h <<_ACEOF
18774#define HAVE_LIBCOM_ERR 1 18940#define HAVE_LIBCOM_ERR 1
@@ -18779,8 +18945,8 @@ _ACEOF
18779fi 18945fi
18780 18946
18781 18947
18782echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 18948{ echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
18783echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6 18949echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6; }
18784if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then 18950if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then
18785 echo $ECHO_N "(cached) $ECHO_C" >&6 18951 echo $ECHO_N "(cached) $ECHO_C" >&6
18786else 18952else
@@ -18793,55 +18959,53 @@ cat confdefs.h >>conftest.$ac_ext
18793cat >>conftest.$ac_ext <<_ACEOF 18959cat >>conftest.$ac_ext <<_ACEOF
18794/* end confdefs.h. */ 18960/* end confdefs.h. */
18795 18961
18796/* Override any gcc2 internal prototype to avoid an error. */ 18962/* Override any GCC internal prototype to avoid an error.
18963 Use char because int might match the return type of a GCC
18964 builtin and then its argument prototype would still apply. */
18797#ifdef __cplusplus 18965#ifdef __cplusplus
18798extern "C" 18966extern "C"
18799#endif 18967#endif
18800/* We use char because int might match the return type of a gcc2
18801 builtin and then its argument prototype would still apply. */
18802char mit_des_cbc_encrypt (); 18968char mit_des_cbc_encrypt ();
18803int 18969int
18804main () 18970main ()
18805{ 18971{
18806mit_des_cbc_encrypt (); 18972return mit_des_cbc_encrypt ();
18807 ; 18973 ;
18808 return 0; 18974 return 0;
18809} 18975}
18810_ACEOF 18976_ACEOF
18811rm -f conftest.$ac_objext conftest$ac_exeext 18977rm -f conftest.$ac_objext conftest$ac_exeext
18812if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 18978if { (ac_try="$ac_link"
18813 (eval $ac_link) 2>conftest.er1 18979case "(($ac_try" in
18980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18981 *) ac_try_echo=$ac_try;;
18982esac
18983eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18984 (eval "$ac_link") 2>conftest.er1
18814 ac_status=$? 18985 ac_status=$?
18815 grep -v '^ *+' conftest.er1 >conftest.err 18986 grep -v '^ *+' conftest.er1 >conftest.err
18816 rm -f conftest.er1 18987 rm -f conftest.er1
18817 cat conftest.err >&5 18988 cat conftest.err >&5
18818 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18819 (exit $ac_status); } && 18990 (exit $ac_status); } && {
18820 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 18991 test -z "$ac_c_werror_flag" ||
18821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18992 test ! -s conftest.err
18822 (eval $ac_try) 2>&5 18993 } && test -s conftest$ac_exeext &&
18823 ac_status=$? 18994 $as_test_x conftest$ac_exeext; then
18824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18825 (exit $ac_status); }; } &&
18826 { ac_try='test -s conftest$ac_exeext'
18827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18828 (eval $ac_try) 2>&5
18829 ac_status=$?
18830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18831 (exit $ac_status); }; }; then
18832 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes 18995 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes
18833else 18996else
18834 echo "$as_me: failed program was:" >&5 18997 echo "$as_me: failed program was:" >&5
18835sed 's/^/| /' conftest.$ac_ext >&5 18998sed 's/^/| /' conftest.$ac_ext >&5
18836 18999
18837ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no 19000 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no
18838fi 19001fi
18839rm -f conftest.err conftest.$ac_objext \ 19002
19003rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18840 conftest$ac_exeext conftest.$ac_ext 19004 conftest$ac_exeext conftest.$ac_ext
18841LIBS=$ac_check_lib_save_LIBS 19005LIBS=$ac_check_lib_save_LIBS
18842fi 19006fi
18843echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 19007{ echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
18844echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6 19008echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6; }
18845if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then 19009if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then
18846 cat >>confdefs.h <<_ACEOF 19010 cat >>confdefs.h <<_ACEOF
18847#define HAVE_LIBK5CRYPTO 1 19011#define HAVE_LIBK5CRYPTO 1
@@ -18852,8 +19016,8 @@ _ACEOF
18852fi 19016fi
18853 19017
18854 19018
18855echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lcrypto" >&5 19019{ echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lcrypto" >&5
18856echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6 19020echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6; }
18857if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then 19021if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then
18858 echo $ECHO_N "(cached) $ECHO_C" >&6 19022 echo $ECHO_N "(cached) $ECHO_C" >&6
18859else 19023else
@@ -18866,55 +19030,53 @@ cat confdefs.h >>conftest.$ac_ext
18866cat >>conftest.$ac_ext <<_ACEOF 19030cat >>conftest.$ac_ext <<_ACEOF
18867/* end confdefs.h. */ 19031/* end confdefs.h. */
18868 19032
18869/* Override any gcc2 internal prototype to avoid an error. */ 19033/* Override any GCC internal prototype to avoid an error.
19034 Use char because int might match the return type of a GCC
19035 builtin and then its argument prototype would still apply. */
18870#ifdef __cplusplus 19036#ifdef __cplusplus
18871extern "C" 19037extern "C"
18872#endif 19038#endif
18873/* We use char because int might match the return type of a gcc2
18874 builtin and then its argument prototype would still apply. */
18875char mit_des_cbc_encrypt (); 19039char mit_des_cbc_encrypt ();
18876int 19040int
18877main () 19041main ()
18878{ 19042{
18879mit_des_cbc_encrypt (); 19043return mit_des_cbc_encrypt ();
18880 ; 19044 ;
18881 return 0; 19045 return 0;
18882} 19046}
18883_ACEOF 19047_ACEOF
18884rm -f conftest.$ac_objext conftest$ac_exeext 19048rm -f conftest.$ac_objext conftest$ac_exeext
18885if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 19049if { (ac_try="$ac_link"
18886 (eval $ac_link) 2>conftest.er1 19050case "(($ac_try" in
19051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19052 *) ac_try_echo=$ac_try;;
19053esac
19054eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19055 (eval "$ac_link") 2>conftest.er1
18887 ac_status=$? 19056 ac_status=$?
18888 grep -v '^ *+' conftest.er1 >conftest.err 19057 grep -v '^ *+' conftest.er1 >conftest.err
18889 rm -f conftest.er1 19058 rm -f conftest.er1
18890 cat conftest.err >&5 19059 cat conftest.err >&5
18891 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18892 (exit $ac_status); } && 19061 (exit $ac_status); } && {
18893 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 19062 test -z "$ac_c_werror_flag" ||
18894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19063 test ! -s conftest.err
18895 (eval $ac_try) 2>&5 19064 } && test -s conftest$ac_exeext &&
18896 ac_status=$? 19065 $as_test_x conftest$ac_exeext; then
18897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18898 (exit $ac_status); }; } &&
18899 { ac_try='test -s conftest$ac_exeext'
18900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18901 (eval $ac_try) 2>&5
18902 ac_status=$?
18903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18904 (exit $ac_status); }; }; then
18905 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes 19066 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes
18906else 19067else
18907 echo "$as_me: failed program was:" >&5 19068 echo "$as_me: failed program was:" >&5
18908sed 's/^/| /' conftest.$ac_ext >&5 19069sed 's/^/| /' conftest.$ac_ext >&5
18909 19070
18910ac_cv_lib_crypto_mit_des_cbc_encrypt=no 19071 ac_cv_lib_crypto_mit_des_cbc_encrypt=no
18911fi 19072fi
18912rm -f conftest.err conftest.$ac_objext \ 19073
19074rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18913 conftest$ac_exeext conftest.$ac_ext 19075 conftest$ac_exeext conftest.$ac_ext
18914LIBS=$ac_check_lib_save_LIBS 19076LIBS=$ac_check_lib_save_LIBS
18915fi 19077fi
18916echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 19078{ echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
18917echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6 19079echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6; }
18918if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then 19080if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then
18919 cat >>confdefs.h <<_ACEOF 19081 cat >>confdefs.h <<_ACEOF
18920#define HAVE_LIBCRYPTO 1 19082#define HAVE_LIBCRYPTO 1
@@ -18925,8 +19087,8 @@ _ACEOF
18925fi 19087fi
18926 19088
18927 19089
18928echo "$as_me:$LINENO: checking for krb5_init_context in -lkrb5" >&5 19090{ echo "$as_me:$LINENO: checking for krb5_init_context in -lkrb5" >&5
18929echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6 19091echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6; }
18930if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then 19092if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then
18931 echo $ECHO_N "(cached) $ECHO_C" >&6 19093 echo $ECHO_N "(cached) $ECHO_C" >&6
18932else 19094else
@@ -18939,55 +19101,53 @@ cat confdefs.h >>conftest.$ac_ext
18939cat >>conftest.$ac_ext <<_ACEOF 19101cat >>conftest.$ac_ext <<_ACEOF
18940/* end confdefs.h. */ 19102/* end confdefs.h. */
18941 19103
18942/* Override any gcc2 internal prototype to avoid an error. */ 19104/* Override any GCC internal prototype to avoid an error.
19105 Use char because int might match the return type of a GCC
19106 builtin and then its argument prototype would still apply. */
18943#ifdef __cplusplus 19107#ifdef __cplusplus
18944extern "C" 19108extern "C"
18945#endif 19109#endif
18946/* We use char because int might match the return type of a gcc2
18947 builtin and then its argument prototype would still apply. */
18948char krb5_init_context (); 19110char krb5_init_context ();
18949int 19111int
18950main () 19112main ()
18951{ 19113{
18952krb5_init_context (); 19114return krb5_init_context ();
18953 ; 19115 ;
18954 return 0; 19116 return 0;
18955} 19117}
18956_ACEOF 19118_ACEOF
18957rm -f conftest.$ac_objext conftest$ac_exeext 19119rm -f conftest.$ac_objext conftest$ac_exeext
18958if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 19120if { (ac_try="$ac_link"
18959 (eval $ac_link) 2>conftest.er1 19121case "(($ac_try" in
19122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19123 *) ac_try_echo=$ac_try;;
19124esac
19125eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19126 (eval "$ac_link") 2>conftest.er1
18960 ac_status=$? 19127 ac_status=$?
18961 grep -v '^ *+' conftest.er1 >conftest.err 19128 grep -v '^ *+' conftest.er1 >conftest.err
18962 rm -f conftest.er1 19129 rm -f conftest.er1
18963 cat conftest.err >&5 19130 cat conftest.err >&5
18964 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18965 (exit $ac_status); } && 19132 (exit $ac_status); } && {
18966 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 19133 test -z "$ac_c_werror_flag" ||
18967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19134 test ! -s conftest.err
18968 (eval $ac_try) 2>&5 19135 } && test -s conftest$ac_exeext &&
18969 ac_status=$? 19136 $as_test_x conftest$ac_exeext; then
18970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18971 (exit $ac_status); }; } &&
18972 { ac_try='test -s conftest$ac_exeext'
18973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18974 (eval $ac_try) 2>&5
18975 ac_status=$?
18976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18977 (exit $ac_status); }; }; then
18978 ac_cv_lib_krb5_krb5_init_context=yes 19137 ac_cv_lib_krb5_krb5_init_context=yes
18979else 19138else
18980 echo "$as_me: failed program was:" >&5 19139 echo "$as_me: failed program was:" >&5
18981sed 's/^/| /' conftest.$ac_ext >&5 19140sed 's/^/| /' conftest.$ac_ext >&5
18982 19141
18983ac_cv_lib_krb5_krb5_init_context=no 19142 ac_cv_lib_krb5_krb5_init_context=no
18984fi 19143fi
18985rm -f conftest.err conftest.$ac_objext \ 19144
19145rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18986 conftest$ac_exeext conftest.$ac_ext 19146 conftest$ac_exeext conftest.$ac_ext
18987LIBS=$ac_check_lib_save_LIBS 19147LIBS=$ac_check_lib_save_LIBS
18988fi 19148fi
18989echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_init_context" >&5 19149{ echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_init_context" >&5
18990echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6 19150echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6; }
18991if test $ac_cv_lib_krb5_krb5_init_context = yes; then 19151if test $ac_cv_lib_krb5_krb5_init_context = yes; then
18992 cat >>confdefs.h <<_ACEOF 19152 cat >>confdefs.h <<_ACEOF
18993#define HAVE_LIBKRB5 1 19153#define HAVE_LIBKRB5 1
@@ -18999,8 +19159,8 @@ fi
18999 19159
19000 if test "${with_kerberos5+set}" != set; then 19160 if test "${with_kerberos5+set}" != set; then
19001 19161
19002echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5 19162{ echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5
19003echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6 19163echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6; }
19004if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then 19164if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then
19005 echo $ECHO_N "(cached) $ECHO_C" >&6 19165 echo $ECHO_N "(cached) $ECHO_C" >&6
19006else 19166else
@@ -19013,55 +19173,53 @@ cat confdefs.h >>conftest.$ac_ext
19013cat >>conftest.$ac_ext <<_ACEOF 19173cat >>conftest.$ac_ext <<_ACEOF
19014/* end confdefs.h. */ 19174/* end confdefs.h. */
19015 19175
19016/* Override any gcc2 internal prototype to avoid an error. */ 19176/* Override any GCC internal prototype to avoid an error.
19177 Use char because int might match the return type of a GCC
19178 builtin and then its argument prototype would still apply. */
19017#ifdef __cplusplus 19179#ifdef __cplusplus
19018extern "C" 19180extern "C"
19019#endif 19181#endif
19020/* We use char because int might match the return type of a gcc2
19021 builtin and then its argument prototype would still apply. */
19022char des_cbc_encrypt (); 19182char des_cbc_encrypt ();
19023int 19183int
19024main () 19184main ()
19025{ 19185{
19026des_cbc_encrypt (); 19186return des_cbc_encrypt ();
19027 ; 19187 ;
19028 return 0; 19188 return 0;
19029} 19189}
19030_ACEOF 19190_ACEOF
19031rm -f conftest.$ac_objext conftest$ac_exeext 19191rm -f conftest.$ac_objext conftest$ac_exeext
19032if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 19192if { (ac_try="$ac_link"
19033 (eval $ac_link) 2>conftest.er1 19193case "(($ac_try" in
19194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19195 *) ac_try_echo=$ac_try;;
19196esac
19197eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19198 (eval "$ac_link") 2>conftest.er1
19034 ac_status=$? 19199 ac_status=$?
19035 grep -v '^ *+' conftest.er1 >conftest.err 19200 grep -v '^ *+' conftest.er1 >conftest.err
19036 rm -f conftest.er1 19201 rm -f conftest.er1
19037 cat conftest.err >&5 19202 cat conftest.err >&5
19038 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19039 (exit $ac_status); } && 19204 (exit $ac_status); } && {
19040 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 19205 test -z "$ac_c_werror_flag" ||
19041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19206 test ! -s conftest.err
19042 (eval $ac_try) 2>&5 19207 } && test -s conftest$ac_exeext &&
19043 ac_status=$? 19208 $as_test_x conftest$ac_exeext; then
19044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19045 (exit $ac_status); }; } &&
19046 { ac_try='test -s conftest$ac_exeext'
19047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19048 (eval $ac_try) 2>&5
19049 ac_status=$?
19050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19051 (exit $ac_status); }; }; then
19052 ac_cv_lib_des425_des_cbc_encrypt=yes 19209 ac_cv_lib_des425_des_cbc_encrypt=yes
19053else 19210else
19054 echo "$as_me: failed program was:" >&5 19211 echo "$as_me: failed program was:" >&5
19055sed 's/^/| /' conftest.$ac_ext >&5 19212sed 's/^/| /' conftest.$ac_ext >&5
19056 19213
19057ac_cv_lib_des425_des_cbc_encrypt=no 19214 ac_cv_lib_des425_des_cbc_encrypt=no
19058fi 19215fi
19059rm -f conftest.err conftest.$ac_objext \ 19216
19217rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19060 conftest$ac_exeext conftest.$ac_ext 19218 conftest$ac_exeext conftest.$ac_ext
19061LIBS=$ac_check_lib_save_LIBS 19219LIBS=$ac_check_lib_save_LIBS
19062fi 19220fi
19063echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 19221{ echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
19064echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6 19222echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6; }
19065if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then 19223if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then
19066 cat >>confdefs.h <<_ACEOF 19224 cat >>confdefs.h <<_ACEOF
19067#define HAVE_LIBDES425 1 19225#define HAVE_LIBDES425 1
@@ -19071,8 +19229,8 @@ _ACEOF
19071 19229
19072else 19230else
19073 19231
19074echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5 19232{ echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5
19075echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6 19233echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6; }
19076if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then 19234if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then
19077 echo $ECHO_N "(cached) $ECHO_C" >&6 19235 echo $ECHO_N "(cached) $ECHO_C" >&6
19078else 19236else
@@ -19085,55 +19243,53 @@ cat confdefs.h >>conftest.$ac_ext
19085cat >>conftest.$ac_ext <<_ACEOF 19243cat >>conftest.$ac_ext <<_ACEOF
19086/* end confdefs.h. */ 19244/* end confdefs.h. */
19087 19245
19088/* Override any gcc2 internal prototype to avoid an error. */ 19246/* Override any GCC internal prototype to avoid an error.
19247 Use char because int might match the return type of a GCC
19248 builtin and then its argument prototype would still apply. */
19089#ifdef __cplusplus 19249#ifdef __cplusplus
19090extern "C" 19250extern "C"
19091#endif 19251#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. */
19094char des_cbc_encrypt (); 19252char des_cbc_encrypt ();
19095int 19253int
19096main () 19254main ()
19097{ 19255{
19098des_cbc_encrypt (); 19256return des_cbc_encrypt ();
19099 ; 19257 ;
19100 return 0; 19258 return 0;
19101} 19259}
19102_ACEOF 19260_ACEOF
19103rm -f conftest.$ac_objext conftest$ac_exeext 19261rm -f conftest.$ac_objext conftest$ac_exeext
19104if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 19262if { (ac_try="$ac_link"
19105 (eval $ac_link) 2>conftest.er1 19263case "(($ac_try" in
19264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19265 *) ac_try_echo=$ac_try;;
19266esac
19267eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19268 (eval "$ac_link") 2>conftest.er1
19106 ac_status=$? 19269 ac_status=$?
19107 grep -v '^ *+' conftest.er1 >conftest.err 19270 grep -v '^ *+' conftest.er1 >conftest.err
19108 rm -f conftest.er1 19271 rm -f conftest.er1
19109 cat conftest.err >&5 19272 cat conftest.err >&5
19110 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19111 (exit $ac_status); } && 19274 (exit $ac_status); } && {
19112 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 19275 test -z "$ac_c_werror_flag" ||
19113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19276 test ! -s conftest.err
19114 (eval $ac_try) 2>&5 19277 } && test -s conftest$ac_exeext &&
19115 ac_status=$? 19278 $as_test_x conftest$ac_exeext; then
19116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19117 (exit $ac_status); }; } &&
19118 { ac_try='test -s conftest$ac_exeext'
19119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19120 (eval $ac_try) 2>&5
19121 ac_status=$?
19122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19123 (exit $ac_status); }; }; then
19124 ac_cv_lib_des_des_cbc_encrypt=yes 19279 ac_cv_lib_des_des_cbc_encrypt=yes
19125else 19280else
19126 echo "$as_me: failed program was:" >&5 19281 echo "$as_me: failed program was:" >&5
19127sed 's/^/| /' conftest.$ac_ext >&5 19282sed 's/^/| /' conftest.$ac_ext >&5
19128 19283
19129ac_cv_lib_des_des_cbc_encrypt=no 19284 ac_cv_lib_des_des_cbc_encrypt=no
19130fi 19285fi
19131rm -f conftest.err conftest.$ac_objext \ 19286
19287rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19132 conftest$ac_exeext conftest.$ac_ext 19288 conftest$ac_exeext conftest.$ac_ext
19133LIBS=$ac_check_lib_save_LIBS 19289LIBS=$ac_check_lib_save_LIBS
19134fi 19290fi
19135echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 19291{ echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
19136echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6 19292echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6; }
19137if test $ac_cv_lib_des_des_cbc_encrypt = yes; then 19293if test $ac_cv_lib_des_des_cbc_encrypt = yes; then
19138 cat >>confdefs.h <<_ACEOF 19294 cat >>confdefs.h <<_ACEOF
19139#define HAVE_LIBDES 1 19295#define HAVE_LIBDES 1
@@ -19146,8 +19302,8 @@ fi
19146fi 19302fi
19147 19303
19148 19304
19149echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb4" >&5 19305{ echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb4" >&5
19150echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6 19306echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6; }
19151if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then 19307if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then
19152 echo $ECHO_N "(cached) $ECHO_C" >&6 19308 echo $ECHO_N "(cached) $ECHO_C" >&6
19153else 19309else
@@ -19160,55 +19316,53 @@ cat confdefs.h >>conftest.$ac_ext
19160cat >>conftest.$ac_ext <<_ACEOF 19316cat >>conftest.$ac_ext <<_ACEOF
19161/* end confdefs.h. */ 19317/* end confdefs.h. */
19162 19318
19163/* Override any gcc2 internal prototype to avoid an error. */ 19319/* Override any GCC internal prototype to avoid an error.
19320 Use char because int might match the return type of a GCC
19321 builtin and then its argument prototype would still apply. */
19164#ifdef __cplusplus 19322#ifdef __cplusplus
19165extern "C" 19323extern "C"
19166#endif 19324#endif
19167/* We use char because int might match the return type of a gcc2
19168 builtin and then its argument prototype would still apply. */
19169char krb_get_cred (); 19325char krb_get_cred ();
19170int 19326int
19171main () 19327main ()
19172{ 19328{
19173krb_get_cred (); 19329return krb_get_cred ();
19174 ; 19330 ;
19175 return 0; 19331 return 0;
19176} 19332}
19177_ACEOF 19333_ACEOF
19178rm -f conftest.$ac_objext conftest$ac_exeext 19334rm -f conftest.$ac_objext conftest$ac_exeext
19179if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 19335if { (ac_try="$ac_link"
19180 (eval $ac_link) 2>conftest.er1 19336case "(($ac_try" in
19337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19338 *) ac_try_echo=$ac_try;;
19339esac
19340eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19341 (eval "$ac_link") 2>conftest.er1
19181 ac_status=$? 19342 ac_status=$?
19182 grep -v '^ *+' conftest.er1 >conftest.err 19343 grep -v '^ *+' conftest.er1 >conftest.err
19183 rm -f conftest.er1 19344 rm -f conftest.er1
19184 cat conftest.err >&5 19345 cat conftest.err >&5
19185 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19186 (exit $ac_status); } && 19347 (exit $ac_status); } && {
19187 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 19348 test -z "$ac_c_werror_flag" ||
19188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19349 test ! -s conftest.err
19189 (eval $ac_try) 2>&5 19350 } && test -s conftest$ac_exeext &&
19190 ac_status=$? 19351 $as_test_x conftest$ac_exeext; then
19191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19192 (exit $ac_status); }; } &&
19193 { ac_try='test -s conftest$ac_exeext'
19194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19195 (eval $ac_try) 2>&5
19196 ac_status=$?
19197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19198 (exit $ac_status); }; }; then
19199 ac_cv_lib_krb4_krb_get_cred=yes 19352 ac_cv_lib_krb4_krb_get_cred=yes
19200else 19353else
19201 echo "$as_me: failed program was:" >&5 19354 echo "$as_me: failed program was:" >&5
19202sed 's/^/| /' conftest.$ac_ext >&5 19355sed 's/^/| /' conftest.$ac_ext >&5
19203 19356
19204ac_cv_lib_krb4_krb_get_cred=no 19357 ac_cv_lib_krb4_krb_get_cred=no
19205fi 19358fi
19206rm -f conftest.err conftest.$ac_objext \ 19359
19360rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19207 conftest$ac_exeext conftest.$ac_ext 19361 conftest$ac_exeext conftest.$ac_ext
19208LIBS=$ac_check_lib_save_LIBS 19362LIBS=$ac_check_lib_save_LIBS
19209fi 19363fi
19210echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_get_cred" >&5 19364{ echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_get_cred" >&5
19211echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6 19365echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6; }
19212if test $ac_cv_lib_krb4_krb_get_cred = yes; then 19366if test $ac_cv_lib_krb4_krb_get_cred = yes; then
19213 cat >>confdefs.h <<_ACEOF 19367 cat >>confdefs.h <<_ACEOF
19214#define HAVE_LIBKRB4 1 19368#define HAVE_LIBKRB4 1
@@ -19218,8 +19372,8 @@ _ACEOF
19218 19372
19219else 19373else
19220 19374
19221echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb" >&5 19375{ echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb" >&5
19222echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6 19376echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6; }
19223if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then 19377if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then
19224 echo $ECHO_N "(cached) $ECHO_C" >&6 19378 echo $ECHO_N "(cached) $ECHO_C" >&6
19225else 19379else
@@ -19232,55 +19386,53 @@ cat confdefs.h >>conftest.$ac_ext
19232cat >>conftest.$ac_ext <<_ACEOF 19386cat >>conftest.$ac_ext <<_ACEOF
19233/* end confdefs.h. */ 19387/* end confdefs.h. */
19234 19388
19235/* Override any gcc2 internal prototype to avoid an error. */ 19389/* Override any GCC internal prototype to avoid an error.
19390 Use char because int might match the return type of a GCC
19391 builtin and then its argument prototype would still apply. */
19236#ifdef __cplusplus 19392#ifdef __cplusplus
19237extern "C" 19393extern "C"
19238#endif 19394#endif
19239/* We use char because int might match the return type of a gcc2
19240 builtin and then its argument prototype would still apply. */
19241char krb_get_cred (); 19395char krb_get_cred ();
19242int 19396int
19243main () 19397main ()
19244{ 19398{
19245krb_get_cred (); 19399return krb_get_cred ();
19246 ; 19400 ;
19247 return 0; 19401 return 0;
19248} 19402}
19249_ACEOF 19403_ACEOF
19250rm -f conftest.$ac_objext conftest$ac_exeext 19404rm -f conftest.$ac_objext conftest$ac_exeext
19251if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 19405if { (ac_try="$ac_link"
19252 (eval $ac_link) 2>conftest.er1 19406case "(($ac_try" in
19407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19408 *) ac_try_echo=$ac_try;;
19409esac
19410eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19411 (eval "$ac_link") 2>conftest.er1
19253 ac_status=$? 19412 ac_status=$?
19254 grep -v '^ *+' conftest.er1 >conftest.err 19413 grep -v '^ *+' conftest.er1 >conftest.err
19255 rm -f conftest.er1 19414 rm -f conftest.er1
19256 cat conftest.err >&5 19415 cat conftest.err >&5
19257 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19258 (exit $ac_status); } && 19417 (exit $ac_status); } && {
19259 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 19418 test -z "$ac_c_werror_flag" ||
19260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19419 test ! -s conftest.err
19261 (eval $ac_try) 2>&5 19420 } && test -s conftest$ac_exeext &&
19262 ac_status=$? 19421 $as_test_x conftest$ac_exeext; then
19263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19264 (exit $ac_status); }; } &&
19265 { ac_try='test -s conftest$ac_exeext'
19266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19267 (eval $ac_try) 2>&5
19268 ac_status=$?
19269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19270 (exit $ac_status); }; }; then
19271 ac_cv_lib_krb_krb_get_cred=yes 19422 ac_cv_lib_krb_krb_get_cred=yes
19272else 19423else
19273 echo "$as_me: failed program was:" >&5 19424 echo "$as_me: failed program was:" >&5
19274sed 's/^/| /' conftest.$ac_ext >&5 19425sed 's/^/| /' conftest.$ac_ext >&5
19275 19426
19276ac_cv_lib_krb_krb_get_cred=no 19427 ac_cv_lib_krb_krb_get_cred=no
19277fi 19428fi
19278rm -f conftest.err conftest.$ac_objext \ 19429
19430rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19279 conftest$ac_exeext conftest.$ac_ext 19431 conftest$ac_exeext conftest.$ac_ext
19280LIBS=$ac_check_lib_save_LIBS 19432LIBS=$ac_check_lib_save_LIBS
19281fi 19433fi
19282echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_get_cred" >&5 19434{ echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_get_cred" >&5
19283echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6 19435echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6; }
19284if test $ac_cv_lib_krb_krb_get_cred = yes; then 19436if test $ac_cv_lib_krb_krb_get_cred = yes; then
19285 cat >>confdefs.h <<_ACEOF 19437 cat >>confdefs.h <<_ACEOF
19286#define HAVE_LIBKRB 1 19438#define HAVE_LIBKRB 1
@@ -19299,18 +19451,19 @@ fi
19299for ac_header in krb5.h 19451for ac_header in krb5.h
19300do 19452do
19301as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 19453as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19302if eval "test \"\${$as_ac_Header+set}\" = set"; then 19454if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19303 echo "$as_me:$LINENO: checking for $ac_header" >&5 19455 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19304echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 19456echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19305if eval "test \"\${$as_ac_Header+set}\" = set"; then 19457if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19306 echo $ECHO_N "(cached) $ECHO_C" >&6 19458 echo $ECHO_N "(cached) $ECHO_C" >&6
19307fi 19459fi
19308echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 19460ac_res=`eval echo '${'$as_ac_Header'}'`
19309echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 19461 { echo "$as_me:$LINENO: result: $ac_res" >&5
19462echo "${ECHO_T}$ac_res" >&6; }
19310else 19463else
19311 # Is the header compilable? 19464 # Is the header compilable?
19312echo "$as_me:$LINENO: checking $ac_header usability" >&5 19465{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
19313echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 19466echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
19314cat >conftest.$ac_ext <<_ACEOF 19467cat >conftest.$ac_ext <<_ACEOF
19315/* confdefs.h. */ 19468/* confdefs.h. */
19316_ACEOF 19469_ACEOF
@@ -19321,40 +19474,37 @@ $ac_includes_default
19321#include <$ac_header> 19474#include <$ac_header>
19322_ACEOF 19475_ACEOF
19323rm -f conftest.$ac_objext 19476rm -f conftest.$ac_objext
19324if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 19477if { (ac_try="$ac_compile"
19325 (eval $ac_compile) 2>conftest.er1 19478case "(($ac_try" in
19479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19480 *) ac_try_echo=$ac_try;;
19481esac
19482eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19483 (eval "$ac_compile") 2>conftest.er1
19326 ac_status=$? 19484 ac_status=$?
19327 grep -v '^ *+' conftest.er1 >conftest.err 19485 grep -v '^ *+' conftest.er1 >conftest.err
19328 rm -f conftest.er1 19486 rm -f conftest.er1
19329 cat conftest.err >&5 19487 cat conftest.err >&5
19330 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19331 (exit $ac_status); } && 19489 (exit $ac_status); } && {
19332 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 19490 test -z "$ac_c_werror_flag" ||
19333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19491 test ! -s conftest.err
19334 (eval $ac_try) 2>&5 19492 } && test -s conftest.$ac_objext; then
19335 ac_status=$?
19336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19337 (exit $ac_status); }; } &&
19338 { ac_try='test -s conftest.$ac_objext'
19339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19340 (eval $ac_try) 2>&5
19341 ac_status=$?
19342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19343 (exit $ac_status); }; }; then
19344 ac_header_compiler=yes 19493 ac_header_compiler=yes
19345else 19494else
19346 echo "$as_me: failed program was:" >&5 19495 echo "$as_me: failed program was:" >&5
19347sed 's/^/| /' conftest.$ac_ext >&5 19496sed 's/^/| /' conftest.$ac_ext >&5
19348 19497
19349ac_header_compiler=no 19498 ac_header_compiler=no
19350fi 19499fi
19351rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 19500
19352echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 19501rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19353echo "${ECHO_T}$ac_header_compiler" >&6 19502{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19503echo "${ECHO_T}$ac_header_compiler" >&6; }
19354 19504
19355# Is the header present? 19505# Is the header present?
19356echo "$as_me:$LINENO: checking $ac_header presence" >&5 19506{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
19357echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 19507echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
19358cat >conftest.$ac_ext <<_ACEOF 19508cat >conftest.$ac_ext <<_ACEOF
19359/* confdefs.h. */ 19509/* confdefs.h. */
19360_ACEOF 19510_ACEOF
@@ -19363,24 +19513,22 @@ cat >>conftest.$ac_ext <<_ACEOF
19363/* end confdefs.h. */ 19513/* end confdefs.h. */
19364#include <$ac_header> 19514#include <$ac_header>
19365_ACEOF 19515_ACEOF
19366if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 19516if { (ac_try="$ac_cpp conftest.$ac_ext"
19367 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 19517case "(($ac_try" in
19518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19519 *) ac_try_echo=$ac_try;;
19520esac
19521eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19522 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19368 ac_status=$? 19523 ac_status=$?
19369 grep -v '^ *+' conftest.er1 >conftest.err 19524 grep -v '^ *+' conftest.er1 >conftest.err
19370 rm -f conftest.er1 19525 rm -f conftest.er1
19371 cat conftest.err >&5 19526 cat conftest.err >&5
19372 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19373 (exit $ac_status); } >/dev/null; then 19528 (exit $ac_status); } >/dev/null && {
19374 if test -s conftest.err; then 19529 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19375 ac_cpp_err=$ac_c_preproc_warn_flag 19530 test ! -s conftest.err
19376 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 19531 }; then
19377 else
19378 ac_cpp_err=
19379 fi
19380else
19381 ac_cpp_err=yes
19382fi
19383if test -z "$ac_cpp_err"; then
19384 ac_header_preproc=yes 19532 ac_header_preproc=yes
19385else 19533else
19386 echo "$as_me: failed program was:" >&5 19534 echo "$as_me: failed program was:" >&5
@@ -19388,9 +19536,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
19388 19536
19389 ac_header_preproc=no 19537 ac_header_preproc=no
19390fi 19538fi
19539
19391rm -f conftest.err conftest.$ac_ext 19540rm -f conftest.err conftest.$ac_ext
19392echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 19541{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19393echo "${ECHO_T}$ac_header_preproc" >&6 19542echo "${ECHO_T}$ac_header_preproc" >&6; }
19394 19543
19395# So? What about this header? 19544# So? What about this header?
19396case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 19545case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
@@ -19414,25 +19563,19 @@ echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\
19414echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 19563echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19415 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 19564 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19416echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 19565echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19417 ( 19566
19418 cat <<\_ASBOX
19419## ------------------------------------------ ##
19420## Report this to the AC_PACKAGE_NAME lists. ##
19421## ------------------------------------------ ##
19422_ASBOX
19423 ) |
19424 sed "s/^/$as_me: WARNING: /" >&2
19425 ;; 19567 ;;
19426esac 19568esac
19427echo "$as_me:$LINENO: checking for $ac_header" >&5 19569{ echo "$as_me:$LINENO: checking for $ac_header" >&5
19428echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 19570echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19429if eval "test \"\${$as_ac_Header+set}\" = set"; then 19571if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19430 echo $ECHO_N "(cached) $ECHO_C" >&6 19572 echo $ECHO_N "(cached) $ECHO_C" >&6
19431else 19573else
19432 eval "$as_ac_Header=\$ac_header_preproc" 19574 eval "$as_ac_Header=\$ac_header_preproc"
19433fi 19575fi
19434echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 19576ac_res=`eval echo '${'$as_ac_Header'}'`
19435echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 19577 { echo "$as_me:$LINENO: result: $ac_res" >&5
19578echo "${ECHO_T}$ac_res" >&6; }
19436 19579
19437fi 19580fi
19438if test `eval echo '${'$as_ac_Header'}'` = yes; then 19581if test `eval echo '${'$as_ac_Header'}'` = yes; then
@@ -19449,18 +19592,19 @@ done
19449for ac_header in des.h 19592for ac_header in des.h
19450do 19593do
19451as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 19594as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19452if eval "test \"\${$as_ac_Header+set}\" = set"; then 19595if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19453 echo "$as_me:$LINENO: checking for $ac_header" >&5 19596 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19454echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 19597echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19455if eval "test \"\${$as_ac_Header+set}\" = set"; then 19598if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19456 echo $ECHO_N "(cached) $ECHO_C" >&6 19599 echo $ECHO_N "(cached) $ECHO_C" >&6
19457fi 19600fi
19458echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 19601ac_res=`eval echo '${'$as_ac_Header'}'`
19459echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 19602 { echo "$as_me:$LINENO: result: $ac_res" >&5
19603echo "${ECHO_T}$ac_res" >&6; }
19460else 19604else
19461 # Is the header compilable? 19605 # Is the header compilable?
19462echo "$as_me:$LINENO: checking $ac_header usability" >&5 19606{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
19463echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 19607echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
19464cat >conftest.$ac_ext <<_ACEOF 19608cat >conftest.$ac_ext <<_ACEOF
19465/* confdefs.h. */ 19609/* confdefs.h. */
19466_ACEOF 19610_ACEOF
@@ -19471,40 +19615,37 @@ $ac_includes_default
19471#include <$ac_header> 19615#include <$ac_header>
19472_ACEOF 19616_ACEOF
19473rm -f conftest.$ac_objext 19617rm -f conftest.$ac_objext
19474if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 19618if { (ac_try="$ac_compile"
19475 (eval $ac_compile) 2>conftest.er1 19619case "(($ac_try" in
19620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19621 *) ac_try_echo=$ac_try;;
19622esac
19623eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19624 (eval "$ac_compile") 2>conftest.er1
19476 ac_status=$? 19625 ac_status=$?
19477 grep -v '^ *+' conftest.er1 >conftest.err 19626 grep -v '^ *+' conftest.er1 >conftest.err
19478 rm -f conftest.er1 19627 rm -f conftest.er1
19479 cat conftest.err >&5 19628 cat conftest.err >&5
19480 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19481 (exit $ac_status); } && 19630 (exit $ac_status); } && {
19482 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 19631 test -z "$ac_c_werror_flag" ||
19483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19632 test ! -s conftest.err
19484 (eval $ac_try) 2>&5 19633 } && test -s conftest.$ac_objext; then
19485 ac_status=$?
19486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19487 (exit $ac_status); }; } &&
19488 { ac_try='test -s conftest.$ac_objext'
19489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19490 (eval $ac_try) 2>&5
19491 ac_status=$?
19492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19493 (exit $ac_status); }; }; then
19494 ac_header_compiler=yes 19634 ac_header_compiler=yes
19495else 19635else
19496 echo "$as_me: failed program was:" >&5 19636 echo "$as_me: failed program was:" >&5
19497sed 's/^/| /' conftest.$ac_ext >&5 19637sed 's/^/| /' conftest.$ac_ext >&5
19498 19638
19499ac_header_compiler=no 19639 ac_header_compiler=no
19500fi 19640fi
19501rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 19641
19502echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 19642rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19503echo "${ECHO_T}$ac_header_compiler" >&6 19643{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19644echo "${ECHO_T}$ac_header_compiler" >&6; }
19504 19645
19505# Is the header present? 19646# Is the header present?
19506echo "$as_me:$LINENO: checking $ac_header presence" >&5 19647{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
19507echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 19648echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
19508cat >conftest.$ac_ext <<_ACEOF 19649cat >conftest.$ac_ext <<_ACEOF
19509/* confdefs.h. */ 19650/* confdefs.h. */
19510_ACEOF 19651_ACEOF
@@ -19513,24 +19654,22 @@ cat >>conftest.$ac_ext <<_ACEOF
19513/* end confdefs.h. */ 19654/* end confdefs.h. */
19514#include <$ac_header> 19655#include <$ac_header>
19515_ACEOF 19656_ACEOF
19516if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 19657if { (ac_try="$ac_cpp conftest.$ac_ext"
19517 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 19658case "(($ac_try" in
19659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19660 *) ac_try_echo=$ac_try;;
19661esac
19662eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19663 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19518 ac_status=$? 19664 ac_status=$?
19519 grep -v '^ *+' conftest.er1 >conftest.err 19665 grep -v '^ *+' conftest.er1 >conftest.err
19520 rm -f conftest.er1 19666 rm -f conftest.er1
19521 cat conftest.err >&5 19667 cat conftest.err >&5
19522 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19523 (exit $ac_status); } >/dev/null; then 19669 (exit $ac_status); } >/dev/null && {
19524 if test -s conftest.err; then 19670 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19525 ac_cpp_err=$ac_c_preproc_warn_flag 19671 test ! -s conftest.err
19526 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 19672 }; then
19527 else
19528 ac_cpp_err=
19529 fi
19530else
19531 ac_cpp_err=yes
19532fi
19533if test -z "$ac_cpp_err"; then
19534 ac_header_preproc=yes 19673 ac_header_preproc=yes
19535else 19674else
19536 echo "$as_me: failed program was:" >&5 19675 echo "$as_me: failed program was:" >&5
@@ -19538,9 +19677,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
19538 19677
19539 ac_header_preproc=no 19678 ac_header_preproc=no
19540fi 19679fi
19680
19541rm -f conftest.err conftest.$ac_ext 19681rm -f conftest.err conftest.$ac_ext
19542echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 19682{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19543echo "${ECHO_T}$ac_header_preproc" >&6 19683echo "${ECHO_T}$ac_header_preproc" >&6; }
19544 19684
19545# So? What about this header? 19685# So? What about this header?
19546case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 19686case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
@@ -19564,25 +19704,19 @@ echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\
19564echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 19704echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19565 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 19705 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19566echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 19706echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19567 ( 19707
19568 cat <<\_ASBOX
19569## ------------------------------------------ ##
19570## Report this to the AC_PACKAGE_NAME lists. ##
19571## ------------------------------------------ ##
19572_ASBOX
19573 ) |
19574 sed "s/^/$as_me: WARNING: /" >&2
19575 ;; 19708 ;;
19576esac 19709esac
19577echo "$as_me:$LINENO: checking for $ac_header" >&5 19710{ echo "$as_me:$LINENO: checking for $ac_header" >&5
19578echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 19711echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19579if eval "test \"\${$as_ac_Header+set}\" = set"; then 19712if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19580 echo $ECHO_N "(cached) $ECHO_C" >&6 19713 echo $ECHO_N "(cached) $ECHO_C" >&6
19581else 19714else
19582 eval "$as_ac_Header=\$ac_header_preproc" 19715 eval "$as_ac_Header=\$ac_header_preproc"
19583fi 19716fi
19584echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 19717ac_res=`eval echo '${'$as_ac_Header'}'`
19585echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 19718 { echo "$as_me:$LINENO: result: $ac_res" >&5
19719echo "${ECHO_T}$ac_res" >&6; }
19586 19720
19587fi 19721fi
19588if test `eval echo '${'$as_ac_Header'}'` = yes; then 19722if test `eval echo '${'$as_ac_Header'}'` = yes; then
@@ -19595,18 +19729,19 @@ else
19595for ac_header in kerberosIV/des.h 19729for ac_header in kerberosIV/des.h
19596do 19730do
19597as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 19731as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19598if eval "test \"\${$as_ac_Header+set}\" = set"; then 19732if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19599 echo "$as_me:$LINENO: checking for $ac_header" >&5 19733 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19600echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 19734echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19601if eval "test \"\${$as_ac_Header+set}\" = set"; then 19735if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19602 echo $ECHO_N "(cached) $ECHO_C" >&6 19736 echo $ECHO_N "(cached) $ECHO_C" >&6
19603fi 19737fi
19604echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 19738ac_res=`eval echo '${'$as_ac_Header'}'`
19605echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 19739 { echo "$as_me:$LINENO: result: $ac_res" >&5
19740echo "${ECHO_T}$ac_res" >&6; }
19606else 19741else
19607 # Is the header compilable? 19742 # Is the header compilable?
19608echo "$as_me:$LINENO: checking $ac_header usability" >&5 19743{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
19609echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 19744echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
19610cat >conftest.$ac_ext <<_ACEOF 19745cat >conftest.$ac_ext <<_ACEOF
19611/* confdefs.h. */ 19746/* confdefs.h. */
19612_ACEOF 19747_ACEOF
@@ -19617,40 +19752,37 @@ $ac_includes_default
19617#include <$ac_header> 19752#include <$ac_header>
19618_ACEOF 19753_ACEOF
19619rm -f conftest.$ac_objext 19754rm -f conftest.$ac_objext
19620if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 19755if { (ac_try="$ac_compile"
19621 (eval $ac_compile) 2>conftest.er1 19756case "(($ac_try" in
19757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19758 *) ac_try_echo=$ac_try;;
19759esac
19760eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19761 (eval "$ac_compile") 2>conftest.er1
19622 ac_status=$? 19762 ac_status=$?
19623 grep -v '^ *+' conftest.er1 >conftest.err 19763 grep -v '^ *+' conftest.er1 >conftest.err
19624 rm -f conftest.er1 19764 rm -f conftest.er1
19625 cat conftest.err >&5 19765 cat conftest.err >&5
19626 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19627 (exit $ac_status); } && 19767 (exit $ac_status); } && {
19628 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 19768 test -z "$ac_c_werror_flag" ||
19629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19769 test ! -s conftest.err
19630 (eval $ac_try) 2>&5 19770 } && test -s conftest.$ac_objext; then
19631 ac_status=$?
19632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19633 (exit $ac_status); }; } &&
19634 { ac_try='test -s conftest.$ac_objext'
19635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19636 (eval $ac_try) 2>&5
19637 ac_status=$?
19638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19639 (exit $ac_status); }; }; then
19640 ac_header_compiler=yes 19771 ac_header_compiler=yes
19641else 19772else
19642 echo "$as_me: failed program was:" >&5 19773 echo "$as_me: failed program was:" >&5
19643sed 's/^/| /' conftest.$ac_ext >&5 19774sed 's/^/| /' conftest.$ac_ext >&5
19644 19775
19645ac_header_compiler=no 19776 ac_header_compiler=no
19646fi 19777fi
19647rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 19778
19648echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 19779rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19649echo "${ECHO_T}$ac_header_compiler" >&6 19780{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19781echo "${ECHO_T}$ac_header_compiler" >&6; }
19650 19782
19651# Is the header present? 19783# Is the header present?
19652echo "$as_me:$LINENO: checking $ac_header presence" >&5 19784{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
19653echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 19785echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
19654cat >conftest.$ac_ext <<_ACEOF 19786cat >conftest.$ac_ext <<_ACEOF
19655/* confdefs.h. */ 19787/* confdefs.h. */
19656_ACEOF 19788_ACEOF
@@ -19659,24 +19791,22 @@ cat >>conftest.$ac_ext <<_ACEOF
19659/* end confdefs.h. */ 19791/* end confdefs.h. */
19660#include <$ac_header> 19792#include <$ac_header>
19661_ACEOF 19793_ACEOF
19662if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 19794if { (ac_try="$ac_cpp conftest.$ac_ext"
19663 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 19795case "(($ac_try" in
19796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19797 *) ac_try_echo=$ac_try;;
19798esac
19799eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19800 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19664 ac_status=$? 19801 ac_status=$?
19665 grep -v '^ *+' conftest.er1 >conftest.err 19802 grep -v '^ *+' conftest.er1 >conftest.err
19666 rm -f conftest.er1 19803 rm -f conftest.er1
19667 cat conftest.err >&5 19804 cat conftest.err >&5
19668 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19669 (exit $ac_status); } >/dev/null; then 19806 (exit $ac_status); } >/dev/null && {
19670 if test -s conftest.err; then 19807 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19671 ac_cpp_err=$ac_c_preproc_warn_flag 19808 test ! -s conftest.err
19672 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 19809 }; then
19673 else
19674 ac_cpp_err=
19675 fi
19676else
19677 ac_cpp_err=yes
19678fi
19679if test -z "$ac_cpp_err"; then
19680 ac_header_preproc=yes 19810 ac_header_preproc=yes
19681else 19811else
19682 echo "$as_me: failed program was:" >&5 19812 echo "$as_me: failed program was:" >&5
@@ -19684,9 +19814,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
19684 19814
19685 ac_header_preproc=no 19815 ac_header_preproc=no
19686fi 19816fi
19817
19687rm -f conftest.err conftest.$ac_ext 19818rm -f conftest.err conftest.$ac_ext
19688echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 19819{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19689echo "${ECHO_T}$ac_header_preproc" >&6 19820echo "${ECHO_T}$ac_header_preproc" >&6; }
19690 19821
19691# So? What about this header? 19822# So? What about this header?
19692case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 19823case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
@@ -19710,25 +19841,19 @@ echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\
19710echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 19841echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19711 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 19842 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19712echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 19843echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19713 ( 19844
19714 cat <<\_ASBOX
19715## ------------------------------------------ ##
19716## Report this to the AC_PACKAGE_NAME lists. ##
19717## ------------------------------------------ ##
19718_ASBOX
19719 ) |
19720 sed "s/^/$as_me: WARNING: /" >&2
19721 ;; 19845 ;;
19722esac 19846esac
19723echo "$as_me:$LINENO: checking for $ac_header" >&5 19847{ echo "$as_me:$LINENO: checking for $ac_header" >&5
19724echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 19848echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19725if eval "test \"\${$as_ac_Header+set}\" = set"; then 19849if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19726 echo $ECHO_N "(cached) $ECHO_C" >&6 19850 echo $ECHO_N "(cached) $ECHO_C" >&6
19727else 19851else
19728 eval "$as_ac_Header=\$ac_header_preproc" 19852 eval "$as_ac_Header=\$ac_header_preproc"
19729fi 19853fi
19730echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 19854ac_res=`eval echo '${'$as_ac_Header'}'`
19731echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 19855 { echo "$as_me:$LINENO: result: $ac_res" >&5
19856echo "${ECHO_T}$ac_res" >&6; }
19732 19857
19733fi 19858fi
19734if test `eval echo '${'$as_ac_Header'}'` = yes; then 19859if test `eval echo '${'$as_ac_Header'}'` = yes; then
@@ -19741,18 +19866,19 @@ else
19741for ac_header in kerberos/des.h 19866for ac_header in kerberos/des.h
19742do 19867do
19743as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 19868as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19744if eval "test \"\${$as_ac_Header+set}\" = set"; then 19869if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19745 echo "$as_me:$LINENO: checking for $ac_header" >&5 19870 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19746echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 19871echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19747if eval "test \"\${$as_ac_Header+set}\" = set"; then 19872if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19748 echo $ECHO_N "(cached) $ECHO_C" >&6 19873 echo $ECHO_N "(cached) $ECHO_C" >&6
19749fi 19874fi
19750echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 19875ac_res=`eval echo '${'$as_ac_Header'}'`
19751echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 19876 { echo "$as_me:$LINENO: result: $ac_res" >&5
19877echo "${ECHO_T}$ac_res" >&6; }
19752else 19878else
19753 # Is the header compilable? 19879 # Is the header compilable?
19754echo "$as_me:$LINENO: checking $ac_header usability" >&5 19880{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
19755echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 19881echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
19756cat >conftest.$ac_ext <<_ACEOF 19882cat >conftest.$ac_ext <<_ACEOF
19757/* confdefs.h. */ 19883/* confdefs.h. */
19758_ACEOF 19884_ACEOF
@@ -19763,40 +19889,37 @@ $ac_includes_default
19763#include <$ac_header> 19889#include <$ac_header>
19764_ACEOF 19890_ACEOF
19765rm -f conftest.$ac_objext 19891rm -f conftest.$ac_objext
19766if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 19892if { (ac_try="$ac_compile"
19767 (eval $ac_compile) 2>conftest.er1 19893case "(($ac_try" in
19894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19895 *) ac_try_echo=$ac_try;;
19896esac
19897eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19898 (eval "$ac_compile") 2>conftest.er1
19768 ac_status=$? 19899 ac_status=$?
19769 grep -v '^ *+' conftest.er1 >conftest.err 19900 grep -v '^ *+' conftest.er1 >conftest.err
19770 rm -f conftest.er1 19901 rm -f conftest.er1
19771 cat conftest.err >&5 19902 cat conftest.err >&5
19772 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19773 (exit $ac_status); } && 19904 (exit $ac_status); } && {
19774 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 19905 test -z "$ac_c_werror_flag" ||
19775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19906 test ! -s conftest.err
19776 (eval $ac_try) 2>&5 19907 } && test -s conftest.$ac_objext; then
19777 ac_status=$?
19778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19779 (exit $ac_status); }; } &&
19780 { ac_try='test -s conftest.$ac_objext'
19781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19782 (eval $ac_try) 2>&5
19783 ac_status=$?
19784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19785 (exit $ac_status); }; }; then
19786 ac_header_compiler=yes 19908 ac_header_compiler=yes
19787else 19909else
19788 echo "$as_me: failed program was:" >&5 19910 echo "$as_me: failed program was:" >&5
19789sed 's/^/| /' conftest.$ac_ext >&5 19911sed 's/^/| /' conftest.$ac_ext >&5
19790 19912
19791ac_header_compiler=no 19913 ac_header_compiler=no
19792fi 19914fi
19793rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 19915
19794echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 19916rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19795echo "${ECHO_T}$ac_header_compiler" >&6 19917{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19918echo "${ECHO_T}$ac_header_compiler" >&6; }
19796 19919
19797# Is the header present? 19920# Is the header present?
19798echo "$as_me:$LINENO: checking $ac_header presence" >&5 19921{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
19799echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 19922echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
19800cat >conftest.$ac_ext <<_ACEOF 19923cat >conftest.$ac_ext <<_ACEOF
19801/* confdefs.h. */ 19924/* confdefs.h. */
19802_ACEOF 19925_ACEOF
@@ -19805,24 +19928,22 @@ cat >>conftest.$ac_ext <<_ACEOF
19805/* end confdefs.h. */ 19928/* end confdefs.h. */
19806#include <$ac_header> 19929#include <$ac_header>
19807_ACEOF 19930_ACEOF
19808if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 19931if { (ac_try="$ac_cpp conftest.$ac_ext"
19809 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 19932case "(($ac_try" in
19933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19934 *) ac_try_echo=$ac_try;;
19935esac
19936eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19937 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19810 ac_status=$? 19938 ac_status=$?
19811 grep -v '^ *+' conftest.er1 >conftest.err 19939 grep -v '^ *+' conftest.er1 >conftest.err
19812 rm -f conftest.er1 19940 rm -f conftest.er1
19813 cat conftest.err >&5 19941 cat conftest.err >&5
19814 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19815 (exit $ac_status); } >/dev/null; then 19943 (exit $ac_status); } >/dev/null && {
19816 if test -s conftest.err; then 19944 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19817 ac_cpp_err=$ac_c_preproc_warn_flag 19945 test ! -s conftest.err
19818 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 19946 }; then
19819 else
19820 ac_cpp_err=
19821 fi
19822else
19823 ac_cpp_err=yes
19824fi
19825if test -z "$ac_cpp_err"; then
19826 ac_header_preproc=yes 19947 ac_header_preproc=yes
19827else 19948else
19828 echo "$as_me: failed program was:" >&5 19949 echo "$as_me: failed program was:" >&5
@@ -19830,9 +19951,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
19830 19951
19831 ac_header_preproc=no 19952 ac_header_preproc=no
19832fi 19953fi
19954
19833rm -f conftest.err conftest.$ac_ext 19955rm -f conftest.err conftest.$ac_ext
19834echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 19956{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19835echo "${ECHO_T}$ac_header_preproc" >&6 19957echo "${ECHO_T}$ac_header_preproc" >&6; }
19836 19958
19837# So? What about this header? 19959# So? What about this header?
19838case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 19960case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
@@ -19856,25 +19978,19 @@ echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\
19856echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 19978echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19857 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 19979 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19858echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 19980echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19859 ( 19981
19860 cat <<\_ASBOX
19861## ------------------------------------------ ##
19862## Report this to the AC_PACKAGE_NAME lists. ##
19863## ------------------------------------------ ##
19864_ASBOX
19865 ) |
19866 sed "s/^/$as_me: WARNING: /" >&2
19867 ;; 19982 ;;
19868esac 19983esac
19869echo "$as_me:$LINENO: checking for $ac_header" >&5 19984{ echo "$as_me:$LINENO: checking for $ac_header" >&5
19870echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 19985echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19871if eval "test \"\${$as_ac_Header+set}\" = set"; then 19986if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19872 echo $ECHO_N "(cached) $ECHO_C" >&6 19987 echo $ECHO_N "(cached) $ECHO_C" >&6
19873else 19988else
19874 eval "$as_ac_Header=\$ac_header_preproc" 19989 eval "$as_ac_Header=\$ac_header_preproc"
19875fi 19990fi
19876echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 19991ac_res=`eval echo '${'$as_ac_Header'}'`
19877echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 19992 { echo "$as_me:$LINENO: result: $ac_res" >&5
19993echo "${ECHO_T}$ac_res" >&6; }
19878 19994
19879fi 19995fi
19880if test `eval echo '${'$as_ac_Header'}'` = yes; then 19996if test `eval echo '${'$as_ac_Header'}'` = yes; then
@@ -19898,18 +20014,19 @@ done
19898for ac_header in krb.h 20014for ac_header in krb.h
19899do 20015do
19900as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 20016as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19901if eval "test \"\${$as_ac_Header+set}\" = set"; then 20017if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19902 echo "$as_me:$LINENO: checking for $ac_header" >&5 20018 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19903echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 20019echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19904if eval "test \"\${$as_ac_Header+set}\" = set"; then 20020if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19905 echo $ECHO_N "(cached) $ECHO_C" >&6 20021 echo $ECHO_N "(cached) $ECHO_C" >&6
19906fi 20022fi
19907echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 20023ac_res=`eval echo '${'$as_ac_Header'}'`
19908echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 20024 { echo "$as_me:$LINENO: result: $ac_res" >&5
20025echo "${ECHO_T}$ac_res" >&6; }
19909else 20026else
19910 # Is the header compilable? 20027 # Is the header compilable?
19911echo "$as_me:$LINENO: checking $ac_header usability" >&5 20028{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
19912echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 20029echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
19913cat >conftest.$ac_ext <<_ACEOF 20030cat >conftest.$ac_ext <<_ACEOF
19914/* confdefs.h. */ 20031/* confdefs.h. */
19915_ACEOF 20032_ACEOF
@@ -19920,40 +20037,37 @@ $ac_includes_default
19920#include <$ac_header> 20037#include <$ac_header>
19921_ACEOF 20038_ACEOF
19922rm -f conftest.$ac_objext 20039rm -f conftest.$ac_objext
19923if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 20040if { (ac_try="$ac_compile"
19924 (eval $ac_compile) 2>conftest.er1 20041case "(($ac_try" in
20042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20043 *) ac_try_echo=$ac_try;;
20044esac
20045eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20046 (eval "$ac_compile") 2>conftest.er1
19925 ac_status=$? 20047 ac_status=$?
19926 grep -v '^ *+' conftest.er1 >conftest.err 20048 grep -v '^ *+' conftest.er1 >conftest.err
19927 rm -f conftest.er1 20049 rm -f conftest.er1
19928 cat conftest.err >&5 20050 cat conftest.err >&5
19929 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19930 (exit $ac_status); } && 20052 (exit $ac_status); } && {
19931 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 20053 test -z "$ac_c_werror_flag" ||
19932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20054 test ! -s conftest.err
19933 (eval $ac_try) 2>&5 20055 } && test -s conftest.$ac_objext; then
19934 ac_status=$?
19935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19936 (exit $ac_status); }; } &&
19937 { ac_try='test -s conftest.$ac_objext'
19938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19939 (eval $ac_try) 2>&5
19940 ac_status=$?
19941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19942 (exit $ac_status); }; }; then
19943 ac_header_compiler=yes 20056 ac_header_compiler=yes
19944else 20057else
19945 echo "$as_me: failed program was:" >&5 20058 echo "$as_me: failed program was:" >&5
19946sed 's/^/| /' conftest.$ac_ext >&5 20059sed 's/^/| /' conftest.$ac_ext >&5
19947 20060
19948ac_header_compiler=no 20061 ac_header_compiler=no
19949fi 20062fi
19950rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 20063
19951echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 20064rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19952echo "${ECHO_T}$ac_header_compiler" >&6 20065{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20066echo "${ECHO_T}$ac_header_compiler" >&6; }
19953 20067
19954# Is the header present? 20068# Is the header present?
19955echo "$as_me:$LINENO: checking $ac_header presence" >&5 20069{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
19956echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 20070echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
19957cat >conftest.$ac_ext <<_ACEOF 20071cat >conftest.$ac_ext <<_ACEOF
19958/* confdefs.h. */ 20072/* confdefs.h. */
19959_ACEOF 20073_ACEOF
@@ -19962,24 +20076,22 @@ cat >>conftest.$ac_ext <<_ACEOF
19962/* end confdefs.h. */ 20076/* end confdefs.h. */
19963#include <$ac_header> 20077#include <$ac_header>
19964_ACEOF 20078_ACEOF
19965if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 20079if { (ac_try="$ac_cpp conftest.$ac_ext"
19966 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 20080case "(($ac_try" in
20081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20082 *) ac_try_echo=$ac_try;;
20083esac
20084eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20085 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19967 ac_status=$? 20086 ac_status=$?
19968 grep -v '^ *+' conftest.er1 >conftest.err 20087 grep -v '^ *+' conftest.er1 >conftest.err
19969 rm -f conftest.er1 20088 rm -f conftest.er1
19970 cat conftest.err >&5 20089 cat conftest.err >&5
19971 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19972 (exit $ac_status); } >/dev/null; then 20091 (exit $ac_status); } >/dev/null && {
19973 if test -s conftest.err; then 20092 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19974 ac_cpp_err=$ac_c_preproc_warn_flag 20093 test ! -s conftest.err
19975 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 20094 }; then
19976 else
19977 ac_cpp_err=
19978 fi
19979else
19980 ac_cpp_err=yes
19981fi
19982if test -z "$ac_cpp_err"; then
19983 ac_header_preproc=yes 20095 ac_header_preproc=yes
19984else 20096else
19985 echo "$as_me: failed program was:" >&5 20097 echo "$as_me: failed program was:" >&5
@@ -19987,9 +20099,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
19987 20099
19988 ac_header_preproc=no 20100 ac_header_preproc=no
19989fi 20101fi
20102
19990rm -f conftest.err conftest.$ac_ext 20103rm -f conftest.err conftest.$ac_ext
19991echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 20104{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19992echo "${ECHO_T}$ac_header_preproc" >&6 20105echo "${ECHO_T}$ac_header_preproc" >&6; }
19993 20106
19994# So? What about this header? 20107# So? What about this header?
19995case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 20108case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
@@ -20013,25 +20126,19 @@ echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\
20013echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 20126echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20014 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 20127 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20015echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 20128echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20016 ( 20129
20017 cat <<\_ASBOX
20018## ------------------------------------------ ##
20019## Report this to the AC_PACKAGE_NAME lists. ##
20020## ------------------------------------------ ##
20021_ASBOX
20022 ) |
20023 sed "s/^/$as_me: WARNING: /" >&2
20024 ;; 20130 ;;
20025esac 20131esac
20026echo "$as_me:$LINENO: checking for $ac_header" >&5 20132{ echo "$as_me:$LINENO: checking for $ac_header" >&5
20027echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 20133echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20028if eval "test \"\${$as_ac_Header+set}\" = set"; then 20134if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20029 echo $ECHO_N "(cached) $ECHO_C" >&6 20135 echo $ECHO_N "(cached) $ECHO_C" >&6
20030else 20136else
20031 eval "$as_ac_Header=\$ac_header_preproc" 20137 eval "$as_ac_Header=\$ac_header_preproc"
20032fi 20138fi
20033echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 20139ac_res=`eval echo '${'$as_ac_Header'}'`
20034echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 20140 { echo "$as_me:$LINENO: result: $ac_res" >&5
20141echo "${ECHO_T}$ac_res" >&6; }
20035 20142
20036fi 20143fi
20037if test `eval echo '${'$as_ac_Header'}'` = yes; then 20144if test `eval echo '${'$as_ac_Header'}'` = yes; then
@@ -20044,18 +20151,19 @@ else
20044for ac_header in kerberosIV/krb.h 20151for ac_header in kerberosIV/krb.h
20045do 20152do
20046as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 20153as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20047if eval "test \"\${$as_ac_Header+set}\" = set"; then 20154if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20048 echo "$as_me:$LINENO: checking for $ac_header" >&5 20155 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20049echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 20156echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20050if eval "test \"\${$as_ac_Header+set}\" = set"; then 20157if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20051 echo $ECHO_N "(cached) $ECHO_C" >&6 20158 echo $ECHO_N "(cached) $ECHO_C" >&6
20052fi 20159fi
20053echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 20160ac_res=`eval echo '${'$as_ac_Header'}'`
20054echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 20161 { echo "$as_me:$LINENO: result: $ac_res" >&5
20162echo "${ECHO_T}$ac_res" >&6; }
20055else 20163else
20056 # Is the header compilable? 20164 # Is the header compilable?
20057echo "$as_me:$LINENO: checking $ac_header usability" >&5 20165{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
20058echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 20166echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
20059cat >conftest.$ac_ext <<_ACEOF 20167cat >conftest.$ac_ext <<_ACEOF
20060/* confdefs.h. */ 20168/* confdefs.h. */
20061_ACEOF 20169_ACEOF
@@ -20066,40 +20174,37 @@ $ac_includes_default
20066#include <$ac_header> 20174#include <$ac_header>
20067_ACEOF 20175_ACEOF
20068rm -f conftest.$ac_objext 20176rm -f conftest.$ac_objext
20069if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 20177if { (ac_try="$ac_compile"
20070 (eval $ac_compile) 2>conftest.er1 20178case "(($ac_try" in
20179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20180 *) ac_try_echo=$ac_try;;
20181esac
20182eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20183 (eval "$ac_compile") 2>conftest.er1
20071 ac_status=$? 20184 ac_status=$?
20072 grep -v '^ *+' conftest.er1 >conftest.err 20185 grep -v '^ *+' conftest.er1 >conftest.err
20073 rm -f conftest.er1 20186 rm -f conftest.er1
20074 cat conftest.err >&5 20187 cat conftest.err >&5
20075 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20076 (exit $ac_status); } && 20189 (exit $ac_status); } && {
20077 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 20190 test -z "$ac_c_werror_flag" ||
20078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20191 test ! -s conftest.err
20079 (eval $ac_try) 2>&5 20192 } && test -s conftest.$ac_objext; then
20080 ac_status=$?
20081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20082 (exit $ac_status); }; } &&
20083 { ac_try='test -s conftest.$ac_objext'
20084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20085 (eval $ac_try) 2>&5
20086 ac_status=$?
20087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20088 (exit $ac_status); }; }; then
20089 ac_header_compiler=yes 20193 ac_header_compiler=yes
20090else 20194else
20091 echo "$as_me: failed program was:" >&5 20195 echo "$as_me: failed program was:" >&5
20092sed 's/^/| /' conftest.$ac_ext >&5 20196sed 's/^/| /' conftest.$ac_ext >&5
20093 20197
20094ac_header_compiler=no 20198 ac_header_compiler=no
20095fi 20199fi
20096rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 20200
20097echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 20201rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20098echo "${ECHO_T}$ac_header_compiler" >&6 20202{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20203echo "${ECHO_T}$ac_header_compiler" >&6; }
20099 20204
20100# Is the header present? 20205# Is the header present?
20101echo "$as_me:$LINENO: checking $ac_header presence" >&5 20206{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
20102echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 20207echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
20103cat >conftest.$ac_ext <<_ACEOF 20208cat >conftest.$ac_ext <<_ACEOF
20104/* confdefs.h. */ 20209/* confdefs.h. */
20105_ACEOF 20210_ACEOF
@@ -20108,24 +20213,22 @@ cat >>conftest.$ac_ext <<_ACEOF
20108/* end confdefs.h. */ 20213/* end confdefs.h. */
20109#include <$ac_header> 20214#include <$ac_header>
20110_ACEOF 20215_ACEOF
20111if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 20216if { (ac_try="$ac_cpp conftest.$ac_ext"
20112 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 20217case "(($ac_try" in
20218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20219 *) ac_try_echo=$ac_try;;
20220esac
20221eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20222 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20113 ac_status=$? 20223 ac_status=$?
20114 grep -v '^ *+' conftest.er1 >conftest.err 20224 grep -v '^ *+' conftest.er1 >conftest.err
20115 rm -f conftest.er1 20225 rm -f conftest.er1
20116 cat conftest.err >&5 20226 cat conftest.err >&5
20117 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20118 (exit $ac_status); } >/dev/null; then 20228 (exit $ac_status); } >/dev/null && {
20119 if test -s conftest.err; then 20229 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20120 ac_cpp_err=$ac_c_preproc_warn_flag 20230 test ! -s conftest.err
20121 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 20231 }; then
20122 else
20123 ac_cpp_err=
20124 fi
20125else
20126 ac_cpp_err=yes
20127fi
20128if test -z "$ac_cpp_err"; then
20129 ac_header_preproc=yes 20232 ac_header_preproc=yes
20130else 20233else
20131 echo "$as_me: failed program was:" >&5 20234 echo "$as_me: failed program was:" >&5
@@ -20133,9 +20236,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
20133 20236
20134 ac_header_preproc=no 20237 ac_header_preproc=no
20135fi 20238fi
20239
20136rm -f conftest.err conftest.$ac_ext 20240rm -f conftest.err conftest.$ac_ext
20137echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 20241{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20138echo "${ECHO_T}$ac_header_preproc" >&6 20242echo "${ECHO_T}$ac_header_preproc" >&6; }
20139 20243
20140# So? What about this header? 20244# So? What about this header?
20141case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 20245case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
@@ -20159,25 +20263,19 @@ echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\
20159echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 20263echo "$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 20264 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20161echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 20265echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20162 ( 20266
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 ;; 20267 ;;
20171esac 20268esac
20172echo "$as_me:$LINENO: checking for $ac_header" >&5 20269{ echo "$as_me:$LINENO: checking for $ac_header" >&5
20173echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 20270echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20174if eval "test \"\${$as_ac_Header+set}\" = set"; then 20271if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20175 echo $ECHO_N "(cached) $ECHO_C" >&6 20272 echo $ECHO_N "(cached) $ECHO_C" >&6
20176else 20273else
20177 eval "$as_ac_Header=\$ac_header_preproc" 20274 eval "$as_ac_Header=\$ac_header_preproc"
20178fi 20275fi
20179echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 20276ac_res=`eval echo '${'$as_ac_Header'}'`
20180echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 20277 { echo "$as_me:$LINENO: result: $ac_res" >&5
20278echo "${ECHO_T}$ac_res" >&6; }
20181 20279
20182fi 20280fi
20183if test `eval echo '${'$as_ac_Header'}'` = yes; then 20281if test `eval echo '${'$as_ac_Header'}'` = yes; then
@@ -20190,18 +20288,19 @@ else
20190for ac_header in kerberos/krb.h 20288for ac_header in kerberos/krb.h
20191do 20289do
20192as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 20290as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20193if eval "test \"\${$as_ac_Header+set}\" = set"; then 20291if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20194 echo "$as_me:$LINENO: checking for $ac_header" >&5 20292 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20195echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 20293echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20196if eval "test \"\${$as_ac_Header+set}\" = set"; then 20294if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20197 echo $ECHO_N "(cached) $ECHO_C" >&6 20295 echo $ECHO_N "(cached) $ECHO_C" >&6
20198fi 20296fi
20199echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 20297ac_res=`eval echo '${'$as_ac_Header'}'`
20200echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 20298 { echo "$as_me:$LINENO: result: $ac_res" >&5
20299echo "${ECHO_T}$ac_res" >&6; }
20201else 20300else
20202 # Is the header compilable? 20301 # Is the header compilable?
20203echo "$as_me:$LINENO: checking $ac_header usability" >&5 20302{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
20204echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 20303echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
20205cat >conftest.$ac_ext <<_ACEOF 20304cat >conftest.$ac_ext <<_ACEOF
20206/* confdefs.h. */ 20305/* confdefs.h. */
20207_ACEOF 20306_ACEOF
@@ -20212,40 +20311,37 @@ $ac_includes_default
20212#include <$ac_header> 20311#include <$ac_header>
20213_ACEOF 20312_ACEOF
20214rm -f conftest.$ac_objext 20313rm -f conftest.$ac_objext
20215if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 20314if { (ac_try="$ac_compile"
20216 (eval $ac_compile) 2>conftest.er1 20315case "(($ac_try" in
20316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20317 *) ac_try_echo=$ac_try;;
20318esac
20319eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20320 (eval "$ac_compile") 2>conftest.er1
20217 ac_status=$? 20321 ac_status=$?
20218 grep -v '^ *+' conftest.er1 >conftest.err 20322 grep -v '^ *+' conftest.er1 >conftest.err
20219 rm -f conftest.er1 20323 rm -f conftest.er1
20220 cat conftest.err >&5 20324 cat conftest.err >&5
20221 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20222 (exit $ac_status); } && 20326 (exit $ac_status); } && {
20223 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 20327 test -z "$ac_c_werror_flag" ||
20224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20328 test ! -s conftest.err
20225 (eval $ac_try) 2>&5 20329 } && test -s conftest.$ac_objext; then
20226 ac_status=$?
20227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20228 (exit $ac_status); }; } &&
20229 { ac_try='test -s conftest.$ac_objext'
20230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20231 (eval $ac_try) 2>&5
20232 ac_status=$?
20233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20234 (exit $ac_status); }; }; then
20235 ac_header_compiler=yes 20330 ac_header_compiler=yes
20236else 20331else
20237 echo "$as_me: failed program was:" >&5 20332 echo "$as_me: failed program was:" >&5
20238sed 's/^/| /' conftest.$ac_ext >&5 20333sed 's/^/| /' conftest.$ac_ext >&5
20239 20334
20240ac_header_compiler=no 20335 ac_header_compiler=no
20241fi 20336fi
20242rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 20337
20243echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 20338rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20244echo "${ECHO_T}$ac_header_compiler" >&6 20339{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20340echo "${ECHO_T}$ac_header_compiler" >&6; }
20245 20341
20246# Is the header present? 20342# Is the header present?
20247echo "$as_me:$LINENO: checking $ac_header presence" >&5 20343{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
20248echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 20344echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
20249cat >conftest.$ac_ext <<_ACEOF 20345cat >conftest.$ac_ext <<_ACEOF
20250/* confdefs.h. */ 20346/* confdefs.h. */
20251_ACEOF 20347_ACEOF
@@ -20254,24 +20350,22 @@ cat >>conftest.$ac_ext <<_ACEOF
20254/* end confdefs.h. */ 20350/* end confdefs.h. */
20255#include <$ac_header> 20351#include <$ac_header>
20256_ACEOF 20352_ACEOF
20257if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 20353if { (ac_try="$ac_cpp conftest.$ac_ext"
20258 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 20354case "(($ac_try" in
20355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20356 *) ac_try_echo=$ac_try;;
20357esac
20358eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20359 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20259 ac_status=$? 20360 ac_status=$?
20260 grep -v '^ *+' conftest.er1 >conftest.err 20361 grep -v '^ *+' conftest.er1 >conftest.err
20261 rm -f conftest.er1 20362 rm -f conftest.er1
20262 cat conftest.err >&5 20363 cat conftest.err >&5
20263 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20264 (exit $ac_status); } >/dev/null; then 20365 (exit $ac_status); } >/dev/null && {
20265 if test -s conftest.err; then 20366 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20266 ac_cpp_err=$ac_c_preproc_warn_flag 20367 test ! -s conftest.err
20267 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 20368 }; then
20268 else
20269 ac_cpp_err=
20270 fi
20271else
20272 ac_cpp_err=yes
20273fi
20274if test -z "$ac_cpp_err"; then
20275 ac_header_preproc=yes 20369 ac_header_preproc=yes
20276else 20370else
20277 echo "$as_me: failed program was:" >&5 20371 echo "$as_me: failed program was:" >&5
@@ -20279,9 +20373,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
20279 20373
20280 ac_header_preproc=no 20374 ac_header_preproc=no
20281fi 20375fi
20376
20282rm -f conftest.err conftest.$ac_ext 20377rm -f conftest.err conftest.$ac_ext
20283echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 20378{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20284echo "${ECHO_T}$ac_header_preproc" >&6 20379echo "${ECHO_T}$ac_header_preproc" >&6; }
20285 20380
20286# So? What about this header? 20381# So? What about this header?
20287case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 20382case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
@@ -20305,25 +20400,19 @@ echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\
20305echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 20400echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20306 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 20401 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20307echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 20402echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20308 ( 20403
20309 cat <<\_ASBOX
20310## ------------------------------------------ ##
20311## Report this to the AC_PACKAGE_NAME lists. ##
20312## ------------------------------------------ ##
20313_ASBOX
20314 ) |
20315 sed "s/^/$as_me: WARNING: /" >&2
20316 ;; 20404 ;;
20317esac 20405esac
20318echo "$as_me:$LINENO: checking for $ac_header" >&5 20406{ echo "$as_me:$LINENO: checking for $ac_header" >&5
20319echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 20407echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20320if eval "test \"\${$as_ac_Header+set}\" = set"; then 20408if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20321 echo $ECHO_N "(cached) $ECHO_C" >&6 20409 echo $ECHO_N "(cached) $ECHO_C" >&6
20322else 20410else
20323 eval "$as_ac_Header=\$ac_header_preproc" 20411 eval "$as_ac_Header=\$ac_header_preproc"
20324fi 20412fi
20325echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 20413ac_res=`eval echo '${'$as_ac_Header'}'`
20326echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 20414 { echo "$as_me:$LINENO: result: $ac_res" >&5
20415echo "${ECHO_T}$ac_res" >&6; }
20327 20416
20328fi 20417fi
20329if test `eval echo '${'$as_ac_Header'}'` = yes; then 20418if test `eval echo '${'$as_ac_Header'}'` = yes; then
@@ -20348,18 +20437,19 @@ done
20348for ac_header in com_err.h 20437for ac_header in com_err.h
20349do 20438do
20350as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 20439as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20351if eval "test \"\${$as_ac_Header+set}\" = set"; then 20440if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20352 echo "$as_me:$LINENO: checking for $ac_header" >&5 20441 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20353echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 20442echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20354if eval "test \"\${$as_ac_Header+set}\" = set"; then 20443if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20355 echo $ECHO_N "(cached) $ECHO_C" >&6 20444 echo $ECHO_N "(cached) $ECHO_C" >&6
20356fi 20445fi
20357echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 20446ac_res=`eval echo '${'$as_ac_Header'}'`
20358echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 20447 { echo "$as_me:$LINENO: result: $ac_res" >&5
20448echo "${ECHO_T}$ac_res" >&6; }
20359else 20449else
20360 # Is the header compilable? 20450 # Is the header compilable?
20361echo "$as_me:$LINENO: checking $ac_header usability" >&5 20451{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
20362echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 20452echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
20363cat >conftest.$ac_ext <<_ACEOF 20453cat >conftest.$ac_ext <<_ACEOF
20364/* confdefs.h. */ 20454/* confdefs.h. */
20365_ACEOF 20455_ACEOF
@@ -20370,40 +20460,37 @@ $ac_includes_default
20370#include <$ac_header> 20460#include <$ac_header>
20371_ACEOF 20461_ACEOF
20372rm -f conftest.$ac_objext 20462rm -f conftest.$ac_objext
20373if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 20463if { (ac_try="$ac_compile"
20374 (eval $ac_compile) 2>conftest.er1 20464case "(($ac_try" in
20465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20466 *) ac_try_echo=$ac_try;;
20467esac
20468eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20469 (eval "$ac_compile") 2>conftest.er1
20375 ac_status=$? 20470 ac_status=$?
20376 grep -v '^ *+' conftest.er1 >conftest.err 20471 grep -v '^ *+' conftest.er1 >conftest.err
20377 rm -f conftest.er1 20472 rm -f conftest.er1
20378 cat conftest.err >&5 20473 cat conftest.err >&5
20379 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20380 (exit $ac_status); } && 20475 (exit $ac_status); } && {
20381 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 20476 test -z "$ac_c_werror_flag" ||
20382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20477 test ! -s conftest.err
20383 (eval $ac_try) 2>&5 20478 } && test -s conftest.$ac_objext; then
20384 ac_status=$?
20385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20386 (exit $ac_status); }; } &&
20387 { ac_try='test -s conftest.$ac_objext'
20388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20389 (eval $ac_try) 2>&5
20390 ac_status=$?
20391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20392 (exit $ac_status); }; }; then
20393 ac_header_compiler=yes 20479 ac_header_compiler=yes
20394else 20480else
20395 echo "$as_me: failed program was:" >&5 20481 echo "$as_me: failed program was:" >&5
20396sed 's/^/| /' conftest.$ac_ext >&5 20482sed 's/^/| /' conftest.$ac_ext >&5
20397 20483
20398ac_header_compiler=no 20484 ac_header_compiler=no
20399fi 20485fi
20400rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 20486
20401echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 20487rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20402echo "${ECHO_T}$ac_header_compiler" >&6 20488{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20489echo "${ECHO_T}$ac_header_compiler" >&6; }
20403 20490
20404# Is the header present? 20491# Is the header present?
20405echo "$as_me:$LINENO: checking $ac_header presence" >&5 20492{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
20406echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 20493echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
20407cat >conftest.$ac_ext <<_ACEOF 20494cat >conftest.$ac_ext <<_ACEOF
20408/* confdefs.h. */ 20495/* confdefs.h. */
20409_ACEOF 20496_ACEOF
@@ -20412,24 +20499,22 @@ cat >>conftest.$ac_ext <<_ACEOF
20412/* end confdefs.h. */ 20499/* end confdefs.h. */
20413#include <$ac_header> 20500#include <$ac_header>
20414_ACEOF 20501_ACEOF
20415if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 20502if { (ac_try="$ac_cpp conftest.$ac_ext"
20416 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 20503case "(($ac_try" in
20504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20505 *) ac_try_echo=$ac_try;;
20506esac
20507eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20508 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20417 ac_status=$? 20509 ac_status=$?
20418 grep -v '^ *+' conftest.er1 >conftest.err 20510 grep -v '^ *+' conftest.er1 >conftest.err
20419 rm -f conftest.er1 20511 rm -f conftest.er1
20420 cat conftest.err >&5 20512 cat conftest.err >&5
20421 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20422 (exit $ac_status); } >/dev/null; then 20514 (exit $ac_status); } >/dev/null && {
20423 if test -s conftest.err; then 20515 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20424 ac_cpp_err=$ac_c_preproc_warn_flag 20516 test ! -s conftest.err
20425 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 20517 }; then
20426 else
20427 ac_cpp_err=
20428 fi
20429else
20430 ac_cpp_err=yes
20431fi
20432if test -z "$ac_cpp_err"; then
20433 ac_header_preproc=yes 20518 ac_header_preproc=yes
20434else 20519else
20435 echo "$as_me: failed program was:" >&5 20520 echo "$as_me: failed program was:" >&5
@@ -20437,9 +20522,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
20437 20522
20438 ac_header_preproc=no 20523 ac_header_preproc=no
20439fi 20524fi
20525
20440rm -f conftest.err conftest.$ac_ext 20526rm -f conftest.err conftest.$ac_ext
20441echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 20527{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20442echo "${ECHO_T}$ac_header_preproc" >&6 20528echo "${ECHO_T}$ac_header_preproc" >&6; }
20443 20529
20444# So? What about this header? 20530# So? What about this header?
20445case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 20531case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
@@ -20463,25 +20549,19 @@ echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\
20463echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 20549echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20464 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 20550 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20465echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 20551echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20466 ( 20552
20467 cat <<\_ASBOX
20468## ------------------------------------------ ##
20469## Report this to the AC_PACKAGE_NAME lists. ##
20470## ------------------------------------------ ##
20471_ASBOX
20472 ) |
20473 sed "s/^/$as_me: WARNING: /" >&2
20474 ;; 20553 ;;
20475esac 20554esac
20476echo "$as_me:$LINENO: checking for $ac_header" >&5 20555{ echo "$as_me:$LINENO: checking for $ac_header" >&5
20477echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 20556echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20478if eval "test \"\${$as_ac_Header+set}\" = set"; then 20557if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20479 echo $ECHO_N "(cached) $ECHO_C" >&6 20558 echo $ECHO_N "(cached) $ECHO_C" >&6
20480else 20559else
20481 eval "$as_ac_Header=\$ac_header_preproc" 20560 eval "$as_ac_Header=\$ac_header_preproc"
20482fi 20561fi
20483echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 20562ac_res=`eval echo '${'$as_ac_Header'}'`
20484echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 20563 { echo "$as_me:$LINENO: result: $ac_res" >&5
20564echo "${ECHO_T}$ac_res" >&6; }
20485 20565
20486fi 20566fi
20487if test `eval echo '${'$as_ac_Header'}'` = yes; then 20567if test `eval echo '${'$as_ac_Header'}'` = yes; then
@@ -20498,8 +20578,8 @@ fi
20498# Solaris requires -lintl if you want strerror (which calls dgettext) 20578# Solaris requires -lintl if you want strerror (which calls dgettext)
20499# to return localized messages. 20579# to return localized messages.
20500 20580
20501echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5 20581{ echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
20502echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6 20582echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; }
20503if test "${ac_cv_lib_intl_dgettext+set}" = set; then 20583if test "${ac_cv_lib_intl_dgettext+set}" = set; then
20504 echo $ECHO_N "(cached) $ECHO_C" >&6 20584 echo $ECHO_N "(cached) $ECHO_C" >&6
20505else 20585else
@@ -20512,55 +20592,53 @@ cat confdefs.h >>conftest.$ac_ext
20512cat >>conftest.$ac_ext <<_ACEOF 20592cat >>conftest.$ac_ext <<_ACEOF
20513/* end confdefs.h. */ 20593/* end confdefs.h. */
20514 20594
20515/* Override any gcc2 internal prototype to avoid an error. */ 20595/* Override any GCC internal prototype to avoid an error.
20596 Use char because int might match the return type of a GCC
20597 builtin and then its argument prototype would still apply. */
20516#ifdef __cplusplus 20598#ifdef __cplusplus
20517extern "C" 20599extern "C"
20518#endif 20600#endif
20519/* We use char because int might match the return type of a gcc2
20520 builtin and then its argument prototype would still apply. */
20521char dgettext (); 20601char dgettext ();
20522int 20602int
20523main () 20603main ()
20524{ 20604{
20525dgettext (); 20605return dgettext ();
20526 ; 20606 ;
20527 return 0; 20607 return 0;
20528} 20608}
20529_ACEOF 20609_ACEOF
20530rm -f conftest.$ac_objext conftest$ac_exeext 20610rm -f conftest.$ac_objext conftest$ac_exeext
20531if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 20611if { (ac_try="$ac_link"
20532 (eval $ac_link) 2>conftest.er1 20612case "(($ac_try" in
20613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20614 *) ac_try_echo=$ac_try;;
20615esac
20616eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20617 (eval "$ac_link") 2>conftest.er1
20533 ac_status=$? 20618 ac_status=$?
20534 grep -v '^ *+' conftest.er1 >conftest.err 20619 grep -v '^ *+' conftest.er1 >conftest.err
20535 rm -f conftest.er1 20620 rm -f conftest.er1
20536 cat conftest.err >&5 20621 cat conftest.err >&5
20537 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20538 (exit $ac_status); } && 20623 (exit $ac_status); } && {
20539 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 20624 test -z "$ac_c_werror_flag" ||
20540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20625 test ! -s conftest.err
20541 (eval $ac_try) 2>&5 20626 } && test -s conftest$ac_exeext &&
20542 ac_status=$? 20627 $as_test_x conftest$ac_exeext; then
20543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20544 (exit $ac_status); }; } &&
20545 { ac_try='test -s conftest$ac_exeext'
20546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20547 (eval $ac_try) 2>&5
20548 ac_status=$?
20549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20550 (exit $ac_status); }; }; then
20551 ac_cv_lib_intl_dgettext=yes 20628 ac_cv_lib_intl_dgettext=yes
20552else 20629else
20553 echo "$as_me: failed program was:" >&5 20630 echo "$as_me: failed program was:" >&5
20554sed 's/^/| /' conftest.$ac_ext >&5 20631sed 's/^/| /' conftest.$ac_ext >&5
20555 20632
20556ac_cv_lib_intl_dgettext=no 20633 ac_cv_lib_intl_dgettext=no
20557fi 20634fi
20558rm -f conftest.err conftest.$ac_objext \ 20635
20636rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20559 conftest$ac_exeext conftest.$ac_ext 20637 conftest$ac_exeext conftest.$ac_ext
20560LIBS=$ac_check_lib_save_LIBS 20638LIBS=$ac_check_lib_save_LIBS
20561fi 20639fi
20562echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5 20640{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
20563echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6 20641echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; }
20564if test $ac_cv_lib_intl_dgettext = yes; then 20642if test $ac_cv_lib_intl_dgettext = yes; then
20565 cat >>confdefs.h <<_ACEOF 20643 cat >>confdefs.h <<_ACEOF
20566#define HAVE_LIBINTL 1 20644#define HAVE_LIBINTL 1
@@ -20571,8 +20649,8 @@ _ACEOF
20571fi 20649fi
20572 20650
20573 20651
20574echo "$as_me:$LINENO: checking whether localtime caches TZ" >&5 20652{ echo "$as_me:$LINENO: checking whether localtime caches TZ" >&5
20575echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6 20653echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6; }
20576if test "${emacs_cv_localtime_cache+set}" = set; then 20654if test "${emacs_cv_localtime_cache+set}" = set; then
20577 echo $ECHO_N "(cached) $ECHO_C" >&6 20655 echo $ECHO_N "(cached) $ECHO_C" >&6
20578else 20656else
@@ -20618,13 +20696,22 @@ main()
20618} 20696}
20619_ACEOF 20697_ACEOF
20620rm -f conftest$ac_exeext 20698rm -f conftest$ac_exeext
20621if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 20699if { (ac_try="$ac_link"
20622 (eval $ac_link) 2>&5 20700case "(($ac_try" in
20701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20702 *) ac_try_echo=$ac_try;;
20703esac
20704eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20705 (eval "$ac_link") 2>&5
20623 ac_status=$? 20706 ac_status=$?
20624 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20625 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 20708 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20709 { (case "(($ac_try" in
20627 (eval $ac_try) 2>&5 20710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20711 *) ac_try_echo=$ac_try;;
20712esac
20713eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20714 (eval "$ac_try") 2>&5
20628 ac_status=$? 20715 ac_status=$?
20629 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20630 (exit $ac_status); }; }; then 20717 (exit $ac_status); }; }; then
@@ -20637,16 +20724,18 @@ sed 's/^/| /' conftest.$ac_ext >&5
20637( exit $ac_status ) 20724( exit $ac_status )
20638emacs_cv_localtime_cache=yes 20725emacs_cv_localtime_cache=yes
20639fi 20726fi
20640rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 20727rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20641fi 20728fi
20729
20730
20642else 20731else
20643 # If we lack tzset, report that localtime does not cache TZ, 20732 # If we lack tzset, report that localtime does not cache TZ,
20644 # since we can't invalidate the cache if we don't have tzset. 20733 # since we can't invalidate the cache if we don't have tzset.
20645 emacs_cv_localtime_cache=no 20734 emacs_cv_localtime_cache=no
20646fi 20735fi
20647fi 20736fi
20648echo "$as_me:$LINENO: result: $emacs_cv_localtime_cache" >&5 20737{ echo "$as_me:$LINENO: result: $emacs_cv_localtime_cache" >&5
20649echo "${ECHO_T}$emacs_cv_localtime_cache" >&6 20738echo "${ECHO_T}$emacs_cv_localtime_cache" >&6; }
20650if test $emacs_cv_localtime_cache = yes; then 20739if test $emacs_cv_localtime_cache = yes; then
20651 20740
20652cat >>confdefs.h <<\_ACEOF 20741cat >>confdefs.h <<\_ACEOF
@@ -20660,9 +20749,9 @@ if test "x$HAVE_TIMEVAL" = xyes; then
20660for ac_func in gettimeofday 20749for ac_func in gettimeofday
20661do 20750do
20662as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 20751as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20663echo "$as_me:$LINENO: checking for $ac_func" >&5 20752{ echo "$as_me:$LINENO: checking for $ac_func" >&5
20664echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 20753echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
20665if eval "test \"\${$as_ac_var+set}\" = set"; then 20754if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20666 echo $ECHO_N "(cached) $ECHO_C" >&6 20755 echo $ECHO_N "(cached) $ECHO_C" >&6
20667else 20756else
20668 cat >conftest.$ac_ext <<_ACEOF 20757 cat >conftest.$ac_ext <<_ACEOF
@@ -20688,67 +20777,60 @@ cat >>conftest.$ac_ext <<_ACEOF
20688 20777
20689#undef $ac_func 20778#undef $ac_func
20690 20779
20691/* Override any gcc2 internal prototype to avoid an error. */ 20780/* Override any GCC internal prototype to avoid an error.
20781 Use char because int might match the return type of a GCC
20782 builtin and then its argument prototype would still apply. */
20692#ifdef __cplusplus 20783#ifdef __cplusplus
20693extern "C" 20784extern "C"
20694{
20695#endif 20785#endif
20696/* We use char because int might match the return type of a gcc2
20697 builtin and then its argument prototype would still apply. */
20698char $ac_func (); 20786char $ac_func ();
20699/* The GNU C library defines this for functions which it implements 20787/* The GNU C library defines this for functions which it implements
20700 to always fail with ENOSYS. Some functions are actually named 20788 to always fail with ENOSYS. Some functions are actually named
20701 something starting with __ and the normal name is an alias. */ 20789 something starting with __ and the normal name is an alias. */
20702#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 20790#if defined __stub_$ac_func || defined __stub___$ac_func
20703choke me 20791choke me
20704#else
20705char (*f) () = $ac_func;
20706#endif
20707#ifdef __cplusplus
20708}
20709#endif 20792#endif
20710 20793
20711int 20794int
20712main () 20795main ()
20713{ 20796{
20714return f != $ac_func; 20797return $ac_func ();
20715 ; 20798 ;
20716 return 0; 20799 return 0;
20717} 20800}
20718_ACEOF 20801_ACEOF
20719rm -f conftest.$ac_objext conftest$ac_exeext 20802rm -f conftest.$ac_objext conftest$ac_exeext
20720if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 20803if { (ac_try="$ac_link"
20721 (eval $ac_link) 2>conftest.er1 20804case "(($ac_try" in
20805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20806 *) ac_try_echo=$ac_try;;
20807esac
20808eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20809 (eval "$ac_link") 2>conftest.er1
20722 ac_status=$? 20810 ac_status=$?
20723 grep -v '^ *+' conftest.er1 >conftest.err 20811 grep -v '^ *+' conftest.er1 >conftest.err
20724 rm -f conftest.er1 20812 rm -f conftest.er1
20725 cat conftest.err >&5 20813 cat conftest.err >&5
20726 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20727 (exit $ac_status); } && 20815 (exit $ac_status); } && {
20728 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 20816 test -z "$ac_c_werror_flag" ||
20729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20817 test ! -s conftest.err
20730 (eval $ac_try) 2>&5 20818 } && test -s conftest$ac_exeext &&
20731 ac_status=$? 20819 $as_test_x conftest$ac_exeext; then
20732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20733 (exit $ac_status); }; } &&
20734 { ac_try='test -s conftest$ac_exeext'
20735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20736 (eval $ac_try) 2>&5
20737 ac_status=$?
20738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20739 (exit $ac_status); }; }; then
20740 eval "$as_ac_var=yes" 20820 eval "$as_ac_var=yes"
20741else 20821else
20742 echo "$as_me: failed program was:" >&5 20822 echo "$as_me: failed program was:" >&5
20743sed 's/^/| /' conftest.$ac_ext >&5 20823sed 's/^/| /' conftest.$ac_ext >&5
20744 20824
20745eval "$as_ac_var=no" 20825 eval "$as_ac_var=no"
20746fi 20826fi
20747rm -f conftest.err conftest.$ac_objext \ 20827
20828rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20748 conftest$ac_exeext conftest.$ac_ext 20829 conftest$ac_exeext conftest.$ac_ext
20749fi 20830fi
20750echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 20831ac_res=`eval echo '${'$as_ac_var'}'`
20751echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 20832 { echo "$as_me:$LINENO: result: $ac_res" >&5
20833echo "${ECHO_T}$ac_res" >&6; }
20752if test `eval echo '${'$as_ac_var'}'` = yes; then 20834if test `eval echo '${'$as_ac_var'}'` = yes; then
20753 cat >>confdefs.h <<_ACEOF 20835 cat >>confdefs.h <<_ACEOF
20754#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 20836#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
@@ -20758,8 +20840,8 @@ fi
20758done 20840done
20759 20841
20760 if test $ac_cv_func_gettimeofday = yes; then 20842 if test $ac_cv_func_gettimeofday = yes; then
20761 echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5 20843 { echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
20762echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6 20844echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6; }
20763if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then 20845if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
20764 echo $ECHO_N "(cached) $ECHO_C" >&6 20846 echo $ECHO_N "(cached) $ECHO_C" >&6
20765else 20847else
@@ -20790,37 +20872,34 @@ struct timeval time;
20790} 20872}
20791_ACEOF 20873_ACEOF
20792rm -f conftest.$ac_objext 20874rm -f conftest.$ac_objext
20793if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 20875if { (ac_try="$ac_compile"
20794 (eval $ac_compile) 2>conftest.er1 20876case "(($ac_try" in
20877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20878 *) ac_try_echo=$ac_try;;
20879esac
20880eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20881 (eval "$ac_compile") 2>conftest.er1
20795 ac_status=$? 20882 ac_status=$?
20796 grep -v '^ *+' conftest.er1 >conftest.err 20883 grep -v '^ *+' conftest.er1 >conftest.err
20797 rm -f conftest.er1 20884 rm -f conftest.er1
20798 cat conftest.err >&5 20885 cat conftest.err >&5
20799 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20800 (exit $ac_status); } && 20887 (exit $ac_status); } && {
20801 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 20888 test -z "$ac_c_werror_flag" ||
20802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20889 test ! -s conftest.err
20803 (eval $ac_try) 2>&5 20890 } && test -s conftest.$ac_objext; then
20804 ac_status=$?
20805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20806 (exit $ac_status); }; } &&
20807 { ac_try='test -s conftest.$ac_objext'
20808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20809 (eval $ac_try) 2>&5
20810 ac_status=$?
20811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20812 (exit $ac_status); }; }; then
20813 emacs_cv_gettimeofday_two_arguments=yes 20891 emacs_cv_gettimeofday_two_arguments=yes
20814else 20892else
20815 echo "$as_me: failed program was:" >&5 20893 echo "$as_me: failed program was:" >&5
20816sed 's/^/| /' conftest.$ac_ext >&5 20894sed 's/^/| /' conftest.$ac_ext >&5
20817 20895
20818emacs_cv_gettimeofday_two_arguments=no 20896 emacs_cv_gettimeofday_two_arguments=no
20819fi 20897fi
20820rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 20898
20899rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20821fi 20900fi
20822echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5 20901{ echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
20823echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6 20902echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6; }
20824 if test $emacs_cv_gettimeofday_two_arguments = no; then 20903 if test $emacs_cv_gettimeofday_two_arguments = no; then
20825 20904
20826cat >>confdefs.h <<\_ACEOF 20905cat >>confdefs.h <<\_ACEOF
@@ -20832,8 +20911,8 @@ _ACEOF
20832fi 20911fi
20833 20912
20834# This defines (or not) HAVE_TZNAME and HAVE_TM_ZONE. 20913# This defines (or not) HAVE_TZNAME and HAVE_TM_ZONE.
20835echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5 20914{ echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
20836echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6 20915echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6; }
20837if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then 20916if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
20838 echo $ECHO_N "(cached) $ECHO_C" >&6 20917 echo $ECHO_N "(cached) $ECHO_C" >&6
20839else 20918else
@@ -20858,32 +20937,28 @@ return 0;
20858} 20937}
20859_ACEOF 20938_ACEOF
20860rm -f conftest.$ac_objext 20939rm -f conftest.$ac_objext
20861if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 20940if { (ac_try="$ac_compile"
20862 (eval $ac_compile) 2>conftest.er1 20941case "(($ac_try" in
20942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20943 *) ac_try_echo=$ac_try;;
20944esac
20945eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20946 (eval "$ac_compile") 2>conftest.er1
20863 ac_status=$? 20947 ac_status=$?
20864 grep -v '^ *+' conftest.er1 >conftest.err 20948 grep -v '^ *+' conftest.er1 >conftest.err
20865 rm -f conftest.er1 20949 rm -f conftest.er1
20866 cat conftest.err >&5 20950 cat conftest.err >&5
20867 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20868 (exit $ac_status); } && 20952 (exit $ac_status); } && {
20869 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 20953 test -z "$ac_c_werror_flag" ||
20870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20954 test ! -s conftest.err
20871 (eval $ac_try) 2>&5 20955 } && test -s conftest.$ac_objext; then
20872 ac_status=$?
20873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20874 (exit $ac_status); }; } &&
20875 { ac_try='test -s conftest.$ac_objext'
20876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20877 (eval $ac_try) 2>&5
20878 ac_status=$?
20879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20880 (exit $ac_status); }; }; then
20881 ac_cv_member_struct_tm_tm_zone=yes 20956 ac_cv_member_struct_tm_tm_zone=yes
20882else 20957else
20883 echo "$as_me: failed program was:" >&5 20958 echo "$as_me: failed program was:" >&5
20884sed 's/^/| /' conftest.$ac_ext >&5 20959sed 's/^/| /' conftest.$ac_ext >&5
20885 20960
20886cat >conftest.$ac_ext <<_ACEOF 20961 cat >conftest.$ac_ext <<_ACEOF
20887/* confdefs.h. */ 20962/* confdefs.h. */
20888_ACEOF 20963_ACEOF
20889cat confdefs.h >>conftest.$ac_ext 20964cat confdefs.h >>conftest.$ac_ext
@@ -20904,39 +20979,37 @@ return 0;
20904} 20979}
20905_ACEOF 20980_ACEOF
20906rm -f conftest.$ac_objext 20981rm -f conftest.$ac_objext
20907if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 20982if { (ac_try="$ac_compile"
20908 (eval $ac_compile) 2>conftest.er1 20983case "(($ac_try" in
20984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20985 *) ac_try_echo=$ac_try;;
20986esac
20987eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20988 (eval "$ac_compile") 2>conftest.er1
20909 ac_status=$? 20989 ac_status=$?
20910 grep -v '^ *+' conftest.er1 >conftest.err 20990 grep -v '^ *+' conftest.er1 >conftest.err
20911 rm -f conftest.er1 20991 rm -f conftest.er1
20912 cat conftest.err >&5 20992 cat conftest.err >&5
20913 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20914 (exit $ac_status); } && 20994 (exit $ac_status); } && {
20915 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 20995 test -z "$ac_c_werror_flag" ||
20916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20996 test ! -s conftest.err
20917 (eval $ac_try) 2>&5 20997 } && test -s conftest.$ac_objext; then
20918 ac_status=$?
20919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20920 (exit $ac_status); }; } &&
20921 { ac_try='test -s conftest.$ac_objext'
20922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20923 (eval $ac_try) 2>&5
20924 ac_status=$?
20925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20926 (exit $ac_status); }; }; then
20927 ac_cv_member_struct_tm_tm_zone=yes 20998 ac_cv_member_struct_tm_tm_zone=yes
20928else 20999else
20929 echo "$as_me: failed program was:" >&5 21000 echo "$as_me: failed program was:" >&5
20930sed 's/^/| /' conftest.$ac_ext >&5 21001sed 's/^/| /' conftest.$ac_ext >&5
20931 21002
20932ac_cv_member_struct_tm_tm_zone=no 21003 ac_cv_member_struct_tm_tm_zone=no
20933fi 21004fi
20934rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 21005
21006rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20935fi 21007fi
20936rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 21008
21009rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20937fi 21010fi
20938echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5 21011{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
20939echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6 21012echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6; }
20940if test $ac_cv_member_struct_tm_tm_zone = yes; then 21013if test $ac_cv_member_struct_tm_tm_zone = yes; then
20941 21014
20942cat >>confdefs.h <<_ACEOF 21015cat >>confdefs.h <<_ACEOF
@@ -20953,8 +21026,77 @@ cat >>confdefs.h <<\_ACEOF
20953_ACEOF 21026_ACEOF
20954 21027
20955else 21028else
20956 echo "$as_me:$LINENO: checking for tzname" >&5 21029 { echo "$as_me:$LINENO: checking whether tzname is declared" >&5
20957echo $ECHO_N "checking for tzname... $ECHO_C" >&6 21030echo $ECHO_N "checking whether tzname is declared... $ECHO_C" >&6; }
21031if test "${ac_cv_have_decl_tzname+set}" = set; then
21032 echo $ECHO_N "(cached) $ECHO_C" >&6
21033else
21034 cat >conftest.$ac_ext <<_ACEOF
21035/* confdefs.h. */
21036_ACEOF
21037cat confdefs.h >>conftest.$ac_ext
21038cat >>conftest.$ac_ext <<_ACEOF
21039/* end confdefs.h. */
21040#include <time.h>
21041
21042int
21043main ()
21044{
21045#ifndef tzname
21046 (void) tzname;
21047#endif
21048
21049 ;
21050 return 0;
21051}
21052_ACEOF
21053rm -f conftest.$ac_objext
21054if { (ac_try="$ac_compile"
21055case "(($ac_try" in
21056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21057 *) ac_try_echo=$ac_try;;
21058esac
21059eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21060 (eval "$ac_compile") 2>conftest.er1
21061 ac_status=$?
21062 grep -v '^ *+' conftest.er1 >conftest.err
21063 rm -f conftest.er1
21064 cat conftest.err >&5
21065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21066 (exit $ac_status); } && {
21067 test -z "$ac_c_werror_flag" ||
21068 test ! -s conftest.err
21069 } && test -s conftest.$ac_objext; then
21070 ac_cv_have_decl_tzname=yes
21071else
21072 echo "$as_me: failed program was:" >&5
21073sed 's/^/| /' conftest.$ac_ext >&5
21074
21075 ac_cv_have_decl_tzname=no
21076fi
21077
21078rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21079fi
21080{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5
21081echo "${ECHO_T}$ac_cv_have_decl_tzname" >&6; }
21082if test $ac_cv_have_decl_tzname = yes; then
21083
21084cat >>confdefs.h <<_ACEOF
21085#define HAVE_DECL_TZNAME 1
21086_ACEOF
21087
21088
21089else
21090 cat >>confdefs.h <<_ACEOF
21091#define HAVE_DECL_TZNAME 0
21092_ACEOF
21093
21094
21095fi
21096
21097
21098 { echo "$as_me:$LINENO: checking for tzname" >&5
21099echo $ECHO_N "checking for tzname... $ECHO_C" >&6; }
20958if test "${ac_cv_var_tzname+set}" = set; then 21100if test "${ac_cv_var_tzname+set}" = set; then
20959 echo $ECHO_N "(cached) $ECHO_C" >&6 21101 echo $ECHO_N "(cached) $ECHO_C" >&6
20960else 21102else
@@ -20965,51 +21107,49 @@ cat confdefs.h >>conftest.$ac_ext
20965cat >>conftest.$ac_ext <<_ACEOF 21107cat >>conftest.$ac_ext <<_ACEOF
20966/* end confdefs.h. */ 21108/* end confdefs.h. */
20967#include <time.h> 21109#include <time.h>
20968#ifndef tzname /* For SGI. */ 21110#if !HAVE_DECL_TZNAME
20969extern char *tzname[]; /* RS6000 and others reject char **tzname. */ 21111extern char *tzname[];
20970#endif 21112#endif
20971 21113
20972int 21114int
20973main () 21115main ()
20974{ 21116{
20975atoi(*tzname); 21117return tzname[0][0];
20976 ; 21118 ;
20977 return 0; 21119 return 0;
20978} 21120}
20979_ACEOF 21121_ACEOF
20980rm -f conftest.$ac_objext conftest$ac_exeext 21122rm -f conftest.$ac_objext conftest$ac_exeext
20981if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 21123if { (ac_try="$ac_link"
20982 (eval $ac_link) 2>conftest.er1 21124case "(($ac_try" in
21125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21126 *) ac_try_echo=$ac_try;;
21127esac
21128eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21129 (eval "$ac_link") 2>conftest.er1
20983 ac_status=$? 21130 ac_status=$?
20984 grep -v '^ *+' conftest.er1 >conftest.err 21131 grep -v '^ *+' conftest.er1 >conftest.err
20985 rm -f conftest.er1 21132 rm -f conftest.er1
20986 cat conftest.err >&5 21133 cat conftest.err >&5
20987 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20988 (exit $ac_status); } && 21135 (exit $ac_status); } && {
20989 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 21136 test -z "$ac_c_werror_flag" ||
20990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21137 test ! -s conftest.err
20991 (eval $ac_try) 2>&5 21138 } && test -s conftest$ac_exeext &&
20992 ac_status=$? 21139 $as_test_x conftest$ac_exeext; then
20993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20994 (exit $ac_status); }; } &&
20995 { ac_try='test -s conftest$ac_exeext'
20996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20997 (eval $ac_try) 2>&5
20998 ac_status=$?
20999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21000 (exit $ac_status); }; }; then
21001 ac_cv_var_tzname=yes 21140 ac_cv_var_tzname=yes
21002else 21141else
21003 echo "$as_me: failed program was:" >&5 21142 echo "$as_me: failed program was:" >&5
21004sed 's/^/| /' conftest.$ac_ext >&5 21143sed 's/^/| /' conftest.$ac_ext >&5
21005 21144
21006ac_cv_var_tzname=no 21145 ac_cv_var_tzname=no
21007fi 21146fi
21008rm -f conftest.err conftest.$ac_objext \ 21147
21148rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21009 conftest$ac_exeext conftest.$ac_ext 21149 conftest$ac_exeext conftest.$ac_ext
21010fi 21150fi
21011echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5 21151{ echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
21012echo "${ECHO_T}$ac_cv_var_tzname" >&6 21152echo "${ECHO_T}$ac_cv_var_tzname" >&6; }
21013 if test $ac_cv_var_tzname = yes; then 21153 if test $ac_cv_var_tzname = yes; then
21014 21154
21015cat >>confdefs.h <<\_ACEOF 21155cat >>confdefs.h <<\_ACEOF
@@ -21021,8 +21161,8 @@ fi
21021 21161
21022 21162
21023if test "$ac_cv_func_gettimeofday" = yes; then 21163if test "$ac_cv_func_gettimeofday" = yes; then
21024 echo "$as_me:$LINENO: checking for struct timezone" >&5 21164 { echo "$as_me:$LINENO: checking for struct timezone" >&5
21025echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6 21165echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6; }
21026if test "${emacs_cv_struct_timezone+set}" = set; then 21166if test "${emacs_cv_struct_timezone+set}" = set; then
21027 echo $ECHO_N "(cached) $ECHO_C" >&6 21167 echo $ECHO_N "(cached) $ECHO_C" >&6
21028else 21168else
@@ -21042,26 +21182,22 @@ struct timezone tz;
21042} 21182}
21043_ACEOF 21183_ACEOF
21044rm -f conftest.$ac_objext 21184rm -f conftest.$ac_objext
21045if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 21185if { (ac_try="$ac_compile"
21046 (eval $ac_compile) 2>conftest.er1 21186case "(($ac_try" in
21187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21188 *) ac_try_echo=$ac_try;;
21189esac
21190eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21191 (eval "$ac_compile") 2>conftest.er1
21047 ac_status=$? 21192 ac_status=$?
21048 grep -v '^ *+' conftest.er1 >conftest.err 21193 grep -v '^ *+' conftest.er1 >conftest.err
21049 rm -f conftest.er1 21194 rm -f conftest.er1
21050 cat conftest.err >&5 21195 cat conftest.err >&5
21051 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21052 (exit $ac_status); } && 21197 (exit $ac_status); } && {
21053 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 21198 test -z "$ac_c_werror_flag" ||
21054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21199 test ! -s conftest.err
21055 (eval $ac_try) 2>&5 21200 } && test -s conftest.$ac_objext; then
21056 ac_status=$?
21057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21058 (exit $ac_status); }; } &&
21059 { ac_try='test -s conftest.$ac_objext'
21060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21061 (eval $ac_try) 2>&5
21062 ac_status=$?
21063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21064 (exit $ac_status); }; }; then
21065 if test "$cross_compiling" = yes; then 21201 if test "$cross_compiling" = yes; then
21066 emacs_cv_struct_timezone=yes 21202 emacs_cv_struct_timezone=yes
21067else 21203else
@@ -21089,13 +21225,22 @@ main () {
21089} 21225}
21090_ACEOF 21226_ACEOF
21091rm -f conftest$ac_exeext 21227rm -f conftest$ac_exeext
21092if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 21228if { (ac_try="$ac_link"
21093 (eval $ac_link) 2>&5 21229case "(($ac_try" in
21230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21231 *) ac_try_echo=$ac_try;;
21232esac
21233eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21234 (eval "$ac_link") 2>&5
21094 ac_status=$? 21235 ac_status=$?
21095 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21096 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 21237 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21238 { (case "(($ac_try" in
21098 (eval $ac_try) 2>&5 21239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21240 *) ac_try_echo=$ac_try;;
21241esac
21242eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21243 (eval "$ac_try") 2>&5
21099 ac_status=$? 21244 ac_status=$?
21100 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21101 (exit $ac_status); }; }; then 21246 (exit $ac_status); }; }; then
@@ -21108,23 +21253,26 @@ sed 's/^/| /' conftest.$ac_ext >&5
21108( exit $ac_status ) 21253( exit $ac_status )
21109emacs_cv_struct_timezone=no 21254emacs_cv_struct_timezone=no
21110fi 21255fi
21111rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 21256rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21112fi 21257fi
21258
21259
21113else 21260else
21114 echo "$as_me: failed program was:" >&5 21261 echo "$as_me: failed program was:" >&5
21115sed 's/^/| /' conftest.$ac_ext >&5 21262sed 's/^/| /' conftest.$ac_ext >&5
21116 21263
21117emacs_cv_struct_timezone=no 21264 emacs_cv_struct_timezone=no
21118fi 21265fi
21119rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 21266
21267rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21120fi 21268fi
21121echo "$as_me:$LINENO: result: $emacs_cv_struct_timezone" >&5 21269{ echo "$as_me:$LINENO: result: $emacs_cv_struct_timezone" >&5
21122echo "${ECHO_T}$emacs_cv_struct_timezone" >&6 21270echo "${ECHO_T}$emacs_cv_struct_timezone" >&6; }
21123fi 21271fi
21124 21272
21125ok_so_far=yes 21273ok_so_far=yes
21126echo "$as_me:$LINENO: checking for socket" >&5 21274{ echo "$as_me:$LINENO: checking for socket" >&5
21127echo $ECHO_N "checking for socket... $ECHO_C" >&6 21275echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
21128if test "${ac_cv_func_socket+set}" = set; then 21276if test "${ac_cv_func_socket+set}" = set; then
21129 echo $ECHO_N "(cached) $ECHO_C" >&6 21277 echo $ECHO_N "(cached) $ECHO_C" >&6
21130else 21278else
@@ -21151,67 +21299,59 @@ cat >>conftest.$ac_ext <<_ACEOF
21151 21299
21152#undef socket 21300#undef socket
21153 21301
21154/* Override any gcc2 internal prototype to avoid an error. */ 21302/* Override any GCC internal prototype to avoid an error.
21303 Use char because int might match the return type of a GCC
21304 builtin and then its argument prototype would still apply. */
21155#ifdef __cplusplus 21305#ifdef __cplusplus
21156extern "C" 21306extern "C"
21157{
21158#endif 21307#endif
21159/* We use char because int might match the return type of a gcc2
21160 builtin and then its argument prototype would still apply. */
21161char socket (); 21308char socket ();
21162/* The GNU C library defines this for functions which it implements 21309/* The GNU C library defines this for functions which it implements
21163 to always fail with ENOSYS. Some functions are actually named 21310 to always fail with ENOSYS. Some functions are actually named
21164 something starting with __ and the normal name is an alias. */ 21311 something starting with __ and the normal name is an alias. */
21165#if defined (__stub_socket) || defined (__stub___socket) 21312#if defined __stub_socket || defined __stub___socket
21166choke me 21313choke me
21167#else
21168char (*f) () = socket;
21169#endif
21170#ifdef __cplusplus
21171}
21172#endif 21314#endif
21173 21315
21174int 21316int
21175main () 21317main ()
21176{ 21318{
21177return f != socket; 21319return socket ();
21178 ; 21320 ;
21179 return 0; 21321 return 0;
21180} 21322}
21181_ACEOF 21323_ACEOF
21182rm -f conftest.$ac_objext conftest$ac_exeext 21324rm -f conftest.$ac_objext conftest$ac_exeext
21183if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 21325if { (ac_try="$ac_link"
21184 (eval $ac_link) 2>conftest.er1 21326case "(($ac_try" in
21327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21328 *) ac_try_echo=$ac_try;;
21329esac
21330eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21331 (eval "$ac_link") 2>conftest.er1
21185 ac_status=$? 21332 ac_status=$?
21186 grep -v '^ *+' conftest.er1 >conftest.err 21333 grep -v '^ *+' conftest.er1 >conftest.err
21187 rm -f conftest.er1 21334 rm -f conftest.er1
21188 cat conftest.err >&5 21335 cat conftest.err >&5
21189 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21190 (exit $ac_status); } && 21337 (exit $ac_status); } && {
21191 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 21338 test -z "$ac_c_werror_flag" ||
21192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21339 test ! -s conftest.err
21193 (eval $ac_try) 2>&5 21340 } && test -s conftest$ac_exeext &&
21194 ac_status=$? 21341 $as_test_x conftest$ac_exeext; then
21195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21196 (exit $ac_status); }; } &&
21197 { ac_try='test -s conftest$ac_exeext'
21198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21199 (eval $ac_try) 2>&5
21200 ac_status=$?
21201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21202 (exit $ac_status); }; }; then
21203 ac_cv_func_socket=yes 21342 ac_cv_func_socket=yes
21204else 21343else
21205 echo "$as_me: failed program was:" >&5 21344 echo "$as_me: failed program was:" >&5
21206sed 's/^/| /' conftest.$ac_ext >&5 21345sed 's/^/| /' conftest.$ac_ext >&5
21207 21346
21208ac_cv_func_socket=no 21347 ac_cv_func_socket=no
21209fi 21348fi
21210rm -f conftest.err conftest.$ac_objext \ 21349
21350rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21211 conftest$ac_exeext conftest.$ac_ext 21351 conftest$ac_exeext conftest.$ac_ext
21212fi 21352fi
21213echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5 21353{ echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
21214echo "${ECHO_T}$ac_cv_func_socket" >&6 21354echo "${ECHO_T}$ac_cv_func_socket" >&6; }
21215if test $ac_cv_func_socket = yes; then 21355if test $ac_cv_func_socket = yes; then
21216 : 21356 :
21217else 21357else
@@ -21220,17 +21360,17 @@ fi
21220 21360
21221if test $ok_so_far = yes; then 21361if test $ok_so_far = yes; then
21222 if test "${ac_cv_header_netinet_in_h+set}" = set; then 21362 if test "${ac_cv_header_netinet_in_h+set}" = set; then
21223 echo "$as_me:$LINENO: checking for netinet/in.h" >&5 21363 { echo "$as_me:$LINENO: checking for netinet/in.h" >&5
21224echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6 21364echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6; }
21225if test "${ac_cv_header_netinet_in_h+set}" = set; then 21365if test "${ac_cv_header_netinet_in_h+set}" = set; then
21226 echo $ECHO_N "(cached) $ECHO_C" >&6 21366 echo $ECHO_N "(cached) $ECHO_C" >&6
21227fi 21367fi
21228echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 21368{ echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5
21229echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6 21369echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6; }
21230else 21370else
21231 # Is the header compilable? 21371 # Is the header compilable?
21232echo "$as_me:$LINENO: checking netinet/in.h usability" >&5 21372{ echo "$as_me:$LINENO: checking netinet/in.h usability" >&5
21233echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6 21373echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6; }
21234cat >conftest.$ac_ext <<_ACEOF 21374cat >conftest.$ac_ext <<_ACEOF
21235/* confdefs.h. */ 21375/* confdefs.h. */
21236_ACEOF 21376_ACEOF
@@ -21241,40 +21381,37 @@ $ac_includes_default
21241#include <netinet/in.h> 21381#include <netinet/in.h>
21242_ACEOF 21382_ACEOF
21243rm -f conftest.$ac_objext 21383rm -f conftest.$ac_objext
21244if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 21384if { (ac_try="$ac_compile"
21245 (eval $ac_compile) 2>conftest.er1 21385case "(($ac_try" in
21386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21387 *) ac_try_echo=$ac_try;;
21388esac
21389eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21390 (eval "$ac_compile") 2>conftest.er1
21246 ac_status=$? 21391 ac_status=$?
21247 grep -v '^ *+' conftest.er1 >conftest.err 21392 grep -v '^ *+' conftest.er1 >conftest.err
21248 rm -f conftest.er1 21393 rm -f conftest.er1
21249 cat conftest.err >&5 21394 cat conftest.err >&5
21250 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21251 (exit $ac_status); } && 21396 (exit $ac_status); } && {
21252 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 21397 test -z "$ac_c_werror_flag" ||
21253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21398 test ! -s conftest.err
21254 (eval $ac_try) 2>&5 21399 } && test -s conftest.$ac_objext; then
21255 ac_status=$?
21256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21257 (exit $ac_status); }; } &&
21258 { ac_try='test -s conftest.$ac_objext'
21259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21260 (eval $ac_try) 2>&5
21261 ac_status=$?
21262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21263 (exit $ac_status); }; }; then
21264 ac_header_compiler=yes 21400 ac_header_compiler=yes
21265else 21401else
21266 echo "$as_me: failed program was:" >&5 21402 echo "$as_me: failed program was:" >&5
21267sed 's/^/| /' conftest.$ac_ext >&5 21403sed 's/^/| /' conftest.$ac_ext >&5
21268 21404
21269ac_header_compiler=no 21405 ac_header_compiler=no
21270fi 21406fi
21271rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 21407
21272echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 21408rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21273echo "${ECHO_T}$ac_header_compiler" >&6 21409{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21410echo "${ECHO_T}$ac_header_compiler" >&6; }
21274 21411
21275# Is the header present? 21412# Is the header present?
21276echo "$as_me:$LINENO: checking netinet/in.h presence" >&5 21413{ echo "$as_me:$LINENO: checking netinet/in.h presence" >&5
21277echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6 21414echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6; }
21278cat >conftest.$ac_ext <<_ACEOF 21415cat >conftest.$ac_ext <<_ACEOF
21279/* confdefs.h. */ 21416/* confdefs.h. */
21280_ACEOF 21417_ACEOF
@@ -21283,24 +21420,22 @@ cat >>conftest.$ac_ext <<_ACEOF
21283/* end confdefs.h. */ 21420/* end confdefs.h. */
21284#include <netinet/in.h> 21421#include <netinet/in.h>
21285_ACEOF 21422_ACEOF
21286if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 21423if { (ac_try="$ac_cpp conftest.$ac_ext"
21287 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 21424case "(($ac_try" in
21425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21426 *) ac_try_echo=$ac_try;;
21427esac
21428eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21429 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21288 ac_status=$? 21430 ac_status=$?
21289 grep -v '^ *+' conftest.er1 >conftest.err 21431 grep -v '^ *+' conftest.er1 >conftest.err
21290 rm -f conftest.er1 21432 rm -f conftest.er1
21291 cat conftest.err >&5 21433 cat conftest.err >&5
21292 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21293 (exit $ac_status); } >/dev/null; then 21435 (exit $ac_status); } >/dev/null && {
21294 if test -s conftest.err; then 21436 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21295 ac_cpp_err=$ac_c_preproc_warn_flag 21437 test ! -s conftest.err
21296 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 21438 }; then
21297 else
21298 ac_cpp_err=
21299 fi
21300else
21301 ac_cpp_err=yes
21302fi
21303if test -z "$ac_cpp_err"; then
21304 ac_header_preproc=yes 21439 ac_header_preproc=yes
21305else 21440else
21306 echo "$as_me: failed program was:" >&5 21441 echo "$as_me: failed program was:" >&5
@@ -21308,9 +21443,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
21308 21443
21309 ac_header_preproc=no 21444 ac_header_preproc=no
21310fi 21445fi
21446
21311rm -f conftest.err conftest.$ac_ext 21447rm -f conftest.err conftest.$ac_ext
21312echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 21448{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21313echo "${ECHO_T}$ac_header_preproc" >&6 21449echo "${ECHO_T}$ac_header_preproc" >&6; }
21314 21450
21315# So? What about this header? 21451# So? What about this header?
21316case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 21452case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
@@ -21334,25 +21470,18 @@ echo "$as_me: WARNING: netinet/in.h: section \"Present But Cannot Be Compile
21334echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;} 21470echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;}
21335 { echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5 21471 { echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5
21336echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;} 21472echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;}
21337 ( 21473
21338 cat <<\_ASBOX
21339## ------------------------------------------ ##
21340## Report this to the AC_PACKAGE_NAME lists. ##
21341## ------------------------------------------ ##
21342_ASBOX
21343 ) |
21344 sed "s/^/$as_me: WARNING: /" >&2
21345 ;; 21474 ;;
21346esac 21475esac
21347echo "$as_me:$LINENO: checking for netinet/in.h" >&5 21476{ echo "$as_me:$LINENO: checking for netinet/in.h" >&5
21348echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6 21477echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6; }
21349if test "${ac_cv_header_netinet_in_h+set}" = set; then 21478if test "${ac_cv_header_netinet_in_h+set}" = set; then
21350 echo $ECHO_N "(cached) $ECHO_C" >&6 21479 echo $ECHO_N "(cached) $ECHO_C" >&6
21351else 21480else
21352 ac_cv_header_netinet_in_h=$ac_header_preproc 21481 ac_cv_header_netinet_in_h=$ac_header_preproc
21353fi 21482fi
21354echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 21483{ echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5
21355echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6 21484echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6; }
21356 21485
21357fi 21486fi
21358if test $ac_cv_header_netinet_in_h = yes; then 21487if test $ac_cv_header_netinet_in_h = yes; then
@@ -21365,17 +21494,17 @@ fi
21365fi 21494fi
21366if test $ok_so_far = yes; then 21495if test $ok_so_far = yes; then
21367 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 21496 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
21368 echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 21497 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
21369echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 21498echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; }
21370if test "${ac_cv_header_arpa_inet_h+set}" = set; then 21499if test "${ac_cv_header_arpa_inet_h+set}" = set; then
21371 echo $ECHO_N "(cached) $ECHO_C" >&6 21500 echo $ECHO_N "(cached) $ECHO_C" >&6
21372fi 21501fi
21373echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 21502{ echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
21374echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 21503echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; }
21375else 21504else
21376 # Is the header compilable? 21505 # Is the header compilable?
21377echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 21506{ echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5
21378echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6 21507echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6; }
21379cat >conftest.$ac_ext <<_ACEOF 21508cat >conftest.$ac_ext <<_ACEOF
21380/* confdefs.h. */ 21509/* confdefs.h. */
21381_ACEOF 21510_ACEOF
@@ -21386,40 +21515,37 @@ $ac_includes_default
21386#include <arpa/inet.h> 21515#include <arpa/inet.h>
21387_ACEOF 21516_ACEOF
21388rm -f conftest.$ac_objext 21517rm -f conftest.$ac_objext
21389if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 21518if { (ac_try="$ac_compile"
21390 (eval $ac_compile) 2>conftest.er1 21519case "(($ac_try" in
21520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21521 *) ac_try_echo=$ac_try;;
21522esac
21523eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21524 (eval "$ac_compile") 2>conftest.er1
21391 ac_status=$? 21525 ac_status=$?
21392 grep -v '^ *+' conftest.er1 >conftest.err 21526 grep -v '^ *+' conftest.er1 >conftest.err
21393 rm -f conftest.er1 21527 rm -f conftest.er1
21394 cat conftest.err >&5 21528 cat conftest.err >&5
21395 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21396 (exit $ac_status); } && 21530 (exit $ac_status); } && {
21397 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 21531 test -z "$ac_c_werror_flag" ||
21398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21532 test ! -s conftest.err
21399 (eval $ac_try) 2>&5 21533 } && test -s conftest.$ac_objext; then
21400 ac_status=$?
21401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21402 (exit $ac_status); }; } &&
21403 { ac_try='test -s conftest.$ac_objext'
21404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21405 (eval $ac_try) 2>&5
21406 ac_status=$?
21407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21408 (exit $ac_status); }; }; then
21409 ac_header_compiler=yes 21534 ac_header_compiler=yes
21410else 21535else
21411 echo "$as_me: failed program was:" >&5 21536 echo "$as_me: failed program was:" >&5
21412sed 's/^/| /' conftest.$ac_ext >&5 21537sed 's/^/| /' conftest.$ac_ext >&5
21413 21538
21414ac_header_compiler=no 21539 ac_header_compiler=no
21415fi 21540fi
21416rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 21541
21417echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 21542rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21418echo "${ECHO_T}$ac_header_compiler" >&6 21543{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21544echo "${ECHO_T}$ac_header_compiler" >&6; }
21419 21545
21420# Is the header present? 21546# Is the header present?
21421echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 21547{ echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5
21422echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6 21548echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6; }
21423cat >conftest.$ac_ext <<_ACEOF 21549cat >conftest.$ac_ext <<_ACEOF
21424/* confdefs.h. */ 21550/* confdefs.h. */
21425_ACEOF 21551_ACEOF
@@ -21428,24 +21554,22 @@ cat >>conftest.$ac_ext <<_ACEOF
21428/* end confdefs.h. */ 21554/* end confdefs.h. */
21429#include <arpa/inet.h> 21555#include <arpa/inet.h>
21430_ACEOF 21556_ACEOF
21431if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 21557if { (ac_try="$ac_cpp conftest.$ac_ext"
21432 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 21558case "(($ac_try" in
21559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21560 *) ac_try_echo=$ac_try;;
21561esac
21562eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21563 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21433 ac_status=$? 21564 ac_status=$?
21434 grep -v '^ *+' conftest.er1 >conftest.err 21565 grep -v '^ *+' conftest.er1 >conftest.err
21435 rm -f conftest.er1 21566 rm -f conftest.er1
21436 cat conftest.err >&5 21567 cat conftest.err >&5
21437 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21438 (exit $ac_status); } >/dev/null; then 21569 (exit $ac_status); } >/dev/null && {
21439 if test -s conftest.err; then 21570 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21440 ac_cpp_err=$ac_c_preproc_warn_flag 21571 test ! -s conftest.err
21441 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 21572 }; then
21442 else
21443 ac_cpp_err=
21444 fi
21445else
21446 ac_cpp_err=yes
21447fi
21448if test -z "$ac_cpp_err"; then
21449 ac_header_preproc=yes 21573 ac_header_preproc=yes
21450else 21574else
21451 echo "$as_me: failed program was:" >&5 21575 echo "$as_me: failed program was:" >&5
@@ -21453,9 +21577,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
21453 21577
21454 ac_header_preproc=no 21578 ac_header_preproc=no
21455fi 21579fi
21580
21456rm -f conftest.err conftest.$ac_ext 21581rm -f conftest.err conftest.$ac_ext
21457echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 21582{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21458echo "${ECHO_T}$ac_header_preproc" >&6 21583echo "${ECHO_T}$ac_header_preproc" >&6; }
21459 21584
21460# So? What about this header? 21585# So? What about this header?
21461case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 21586case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
@@ -21479,25 +21604,18 @@ echo "$as_me: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled
21479echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;} 21604echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;}
21480 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 21605 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5
21481echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;} 21606echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;}
21482 ( 21607
21483 cat <<\_ASBOX
21484## ------------------------------------------ ##
21485## Report this to the AC_PACKAGE_NAME lists. ##
21486## ------------------------------------------ ##
21487_ASBOX
21488 ) |
21489 sed "s/^/$as_me: WARNING: /" >&2
21490 ;; 21608 ;;
21491esac 21609esac
21492echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 21610{ echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
21493echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 21611echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; }
21494if test "${ac_cv_header_arpa_inet_h+set}" = set; then 21612if test "${ac_cv_header_arpa_inet_h+set}" = set; then
21495 echo $ECHO_N "(cached) $ECHO_C" >&6 21613 echo $ECHO_N "(cached) $ECHO_C" >&6
21496else 21614else
21497 ac_cv_header_arpa_inet_h=$ac_header_preproc 21615 ac_cv_header_arpa_inet_h=$ac_header_preproc
21498fi 21616fi
21499echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 21617{ echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
21500echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 21618echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; }
21501 21619
21502fi 21620fi
21503if test $ac_cv_header_arpa_inet_h = yes; then 21621if test $ac_cv_header_arpa_inet_h = yes; then
@@ -21520,18 +21638,19 @@ fi
21520for ac_header in sys/ioctl.h 21638for ac_header in sys/ioctl.h
21521do 21639do
21522as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 21640as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21523if eval "test \"\${$as_ac_Header+set}\" = set"; then 21641if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21524 echo "$as_me:$LINENO: checking for $ac_header" >&5 21642 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21525echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 21643echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21526if eval "test \"\${$as_ac_Header+set}\" = set"; then 21644if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21527 echo $ECHO_N "(cached) $ECHO_C" >&6 21645 echo $ECHO_N "(cached) $ECHO_C" >&6
21528fi 21646fi
21529echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 21647ac_res=`eval echo '${'$as_ac_Header'}'`
21530echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 21648 { echo "$as_me:$LINENO: result: $ac_res" >&5
21649echo "${ECHO_T}$ac_res" >&6; }
21531else 21650else
21532 # Is the header compilable? 21651 # Is the header compilable?
21533echo "$as_me:$LINENO: checking $ac_header usability" >&5 21652{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
21534echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 21653echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21535cat >conftest.$ac_ext <<_ACEOF 21654cat >conftest.$ac_ext <<_ACEOF
21536/* confdefs.h. */ 21655/* confdefs.h. */
21537_ACEOF 21656_ACEOF
@@ -21542,40 +21661,37 @@ $ac_includes_default
21542#include <$ac_header> 21661#include <$ac_header>
21543_ACEOF 21662_ACEOF
21544rm -f conftest.$ac_objext 21663rm -f conftest.$ac_objext
21545if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 21664if { (ac_try="$ac_compile"
21546 (eval $ac_compile) 2>conftest.er1 21665case "(($ac_try" in
21666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21667 *) ac_try_echo=$ac_try;;
21668esac
21669eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21670 (eval "$ac_compile") 2>conftest.er1
21547 ac_status=$? 21671 ac_status=$?
21548 grep -v '^ *+' conftest.er1 >conftest.err 21672 grep -v '^ *+' conftest.er1 >conftest.err
21549 rm -f conftest.er1 21673 rm -f conftest.er1
21550 cat conftest.err >&5 21674 cat conftest.err >&5
21551 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21552 (exit $ac_status); } && 21676 (exit $ac_status); } && {
21553 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 21677 test -z "$ac_c_werror_flag" ||
21554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21678 test ! -s conftest.err
21555 (eval $ac_try) 2>&5 21679 } && test -s conftest.$ac_objext; then
21556 ac_status=$?
21557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21558 (exit $ac_status); }; } &&
21559 { ac_try='test -s conftest.$ac_objext'
21560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21561 (eval $ac_try) 2>&5
21562 ac_status=$?
21563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21564 (exit $ac_status); }; }; then
21565 ac_header_compiler=yes 21680 ac_header_compiler=yes
21566else 21681else
21567 echo "$as_me: failed program was:" >&5 21682 echo "$as_me: failed program was:" >&5
21568sed 's/^/| /' conftest.$ac_ext >&5 21683sed 's/^/| /' conftest.$ac_ext >&5
21569 21684
21570ac_header_compiler=no 21685 ac_header_compiler=no
21571fi 21686fi
21572rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 21687
21573echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 21688rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21574echo "${ECHO_T}$ac_header_compiler" >&6 21689{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21690echo "${ECHO_T}$ac_header_compiler" >&6; }
21575 21691
21576# Is the header present? 21692# Is the header present?
21577echo "$as_me:$LINENO: checking $ac_header presence" >&5 21693{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
21578echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 21694echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21579cat >conftest.$ac_ext <<_ACEOF 21695cat >conftest.$ac_ext <<_ACEOF
21580/* confdefs.h. */ 21696/* confdefs.h. */
21581_ACEOF 21697_ACEOF
@@ -21584,24 +21700,22 @@ cat >>conftest.$ac_ext <<_ACEOF
21584/* end confdefs.h. */ 21700/* end confdefs.h. */
21585#include <$ac_header> 21701#include <$ac_header>
21586_ACEOF 21702_ACEOF
21587if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 21703if { (ac_try="$ac_cpp conftest.$ac_ext"
21588 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 21704case "(($ac_try" in
21705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21706 *) ac_try_echo=$ac_try;;
21707esac
21708eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21709 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21589 ac_status=$? 21710 ac_status=$?
21590 grep -v '^ *+' conftest.er1 >conftest.err 21711 grep -v '^ *+' conftest.er1 >conftest.err
21591 rm -f conftest.er1 21712 rm -f conftest.er1
21592 cat conftest.err >&5 21713 cat conftest.err >&5
21593 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21594 (exit $ac_status); } >/dev/null; then 21715 (exit $ac_status); } >/dev/null && {
21595 if test -s conftest.err; then 21716 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21596 ac_cpp_err=$ac_c_preproc_warn_flag 21717 test ! -s conftest.err
21597 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 21718 }; then
21598 else
21599 ac_cpp_err=
21600 fi
21601else
21602 ac_cpp_err=yes
21603fi
21604if test -z "$ac_cpp_err"; then
21605 ac_header_preproc=yes 21719 ac_header_preproc=yes
21606else 21720else
21607 echo "$as_me: failed program was:" >&5 21721 echo "$as_me: failed program was:" >&5
@@ -21609,9 +21723,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
21609 21723
21610 ac_header_preproc=no 21724 ac_header_preproc=no
21611fi 21725fi
21726
21612rm -f conftest.err conftest.$ac_ext 21727rm -f conftest.err conftest.$ac_ext
21613echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 21728{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21614echo "${ECHO_T}$ac_header_preproc" >&6 21729echo "${ECHO_T}$ac_header_preproc" >&6; }
21615 21730
21616# So? What about this header? 21731# So? What about this header?
21617case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 21732case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
@@ -21635,25 +21750,19 @@ echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\
21635echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 21750echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21636 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 21751 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21637echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 21752echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21638 ( 21753
21639 cat <<\_ASBOX
21640## ------------------------------------------ ##
21641## Report this to the AC_PACKAGE_NAME lists. ##
21642## ------------------------------------------ ##
21643_ASBOX
21644 ) |
21645 sed "s/^/$as_me: WARNING: /" >&2
21646 ;; 21754 ;;
21647esac 21755esac
21648echo "$as_me:$LINENO: checking for $ac_header" >&5 21756{ echo "$as_me:$LINENO: checking for $ac_header" >&5
21649echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 21757echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21650if eval "test \"\${$as_ac_Header+set}\" = set"; then 21758if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21651 echo $ECHO_N "(cached) $ECHO_C" >&6 21759 echo $ECHO_N "(cached) $ECHO_C" >&6
21652else 21760else
21653 eval "$as_ac_Header=\$ac_header_preproc" 21761 eval "$as_ac_Header=\$ac_header_preproc"
21654fi 21762fi
21655echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 21763ac_res=`eval echo '${'$as_ac_Header'}'`
21656echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 21764 { echo "$as_me:$LINENO: result: $ac_res" >&5
21765echo "${ECHO_T}$ac_res" >&6; }
21657 21766
21658fi 21767fi
21659if test `eval echo '${'$as_ac_Header'}'` = yes; then 21768if test `eval echo '${'$as_ac_Header'}'` = yes; then
@@ -21674,23 +21783,23 @@ _ACEOF
21674 21783
21675fi 21784fi
21676 21785
21677echo "$as_me:$LINENO: checking whether system supports dynamic ptys" >&5 21786{ echo "$as_me:$LINENO: checking whether system supports dynamic ptys" >&5
21678echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6 21787echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6; }
21679if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then 21788if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then
21680 echo "$as_me:$LINENO: result: yes" >&5 21789 { echo "$as_me:$LINENO: result: yes" >&5
21681echo "${ECHO_T}yes" >&6 21790echo "${ECHO_T}yes" >&6; }
21682 21791
21683cat >>confdefs.h <<\_ACEOF 21792cat >>confdefs.h <<\_ACEOF
21684#define HAVE_DEV_PTMX 1 21793#define HAVE_DEV_PTMX 1
21685_ACEOF 21794_ACEOF
21686 21795
21687else 21796else
21688 echo "$as_me:$LINENO: result: no" >&5 21797 { echo "$as_me:$LINENO: result: no" >&5
21689echo "${ECHO_T}no" >&6 21798echo "${ECHO_T}no" >&6; }
21690fi 21799fi
21691 21800
21692echo "$as_me:$LINENO: checking for pid_t" >&5 21801{ echo "$as_me:$LINENO: checking for pid_t" >&5
21693echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 21802echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
21694if test "${ac_cv_type_pid_t+set}" = set; then 21803if test "${ac_cv_type_pid_t+set}" = set; then
21695 echo $ECHO_N "(cached) $ECHO_C" >&6 21804 echo $ECHO_N "(cached) $ECHO_C" >&6
21696else 21805else
@@ -21701,49 +21810,47 @@ cat confdefs.h >>conftest.$ac_ext
21701cat >>conftest.$ac_ext <<_ACEOF 21810cat >>conftest.$ac_ext <<_ACEOF
21702/* end confdefs.h. */ 21811/* end confdefs.h. */
21703$ac_includes_default 21812$ac_includes_default
21813typedef pid_t ac__type_new_;
21704int 21814int
21705main () 21815main ()
21706{ 21816{
21707if ((pid_t *) 0) 21817if ((ac__type_new_ *) 0)
21708 return 0; 21818 return 0;
21709if (sizeof (pid_t)) 21819if (sizeof (ac__type_new_))
21710 return 0; 21820 return 0;
21711 ; 21821 ;
21712 return 0; 21822 return 0;
21713} 21823}
21714_ACEOF 21824_ACEOF
21715rm -f conftest.$ac_objext 21825rm -f conftest.$ac_objext
21716if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 21826if { (ac_try="$ac_compile"
21717 (eval $ac_compile) 2>conftest.er1 21827case "(($ac_try" in
21828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21829 *) ac_try_echo=$ac_try;;
21830esac
21831eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21832 (eval "$ac_compile") 2>conftest.er1
21718 ac_status=$? 21833 ac_status=$?
21719 grep -v '^ *+' conftest.er1 >conftest.err 21834 grep -v '^ *+' conftest.er1 >conftest.err
21720 rm -f conftest.er1 21835 rm -f conftest.er1
21721 cat conftest.err >&5 21836 cat conftest.err >&5
21722 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21723 (exit $ac_status); } && 21838 (exit $ac_status); } && {
21724 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 21839 test -z "$ac_c_werror_flag" ||
21725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21840 test ! -s conftest.err
21726 (eval $ac_try) 2>&5 21841 } && test -s conftest.$ac_objext; then
21727 ac_status=$?
21728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21729 (exit $ac_status); }; } &&
21730 { ac_try='test -s conftest.$ac_objext'
21731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21732 (eval $ac_try) 2>&5
21733 ac_status=$?
21734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21735 (exit $ac_status); }; }; then
21736 ac_cv_type_pid_t=yes 21842 ac_cv_type_pid_t=yes
21737else 21843else
21738 echo "$as_me: failed program was:" >&5 21844 echo "$as_me: failed program was:" >&5
21739sed 's/^/| /' conftest.$ac_ext >&5 21845sed 's/^/| /' conftest.$ac_ext >&5
21740 21846
21741ac_cv_type_pid_t=no 21847 ac_cv_type_pid_t=no
21742fi 21848fi
21743rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 21849
21850rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21744fi 21851fi
21745echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 21852{ echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
21746echo "${ECHO_T}$ac_cv_type_pid_t" >&6 21853echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
21747if test $ac_cv_type_pid_t = yes; then 21854if test $ac_cv_type_pid_t = yes; then
21748 : 21855 :
21749else 21856else
@@ -21755,22 +21862,22 @@ _ACEOF
21755fi 21862fi
21756 21863
21757 21864
21758 21865for ac_header in vfork.h
21759for ac_header in unistd.h vfork.h
21760do 21866do
21761as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 21867as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21762if eval "test \"\${$as_ac_Header+set}\" = set"; then 21868if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21763 echo "$as_me:$LINENO: checking for $ac_header" >&5 21869 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21764echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 21870echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21765if eval "test \"\${$as_ac_Header+set}\" = set"; then 21871if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21766 echo $ECHO_N "(cached) $ECHO_C" >&6 21872 echo $ECHO_N "(cached) $ECHO_C" >&6
21767fi 21873fi
21768echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 21874ac_res=`eval echo '${'$as_ac_Header'}'`
21769echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 21875 { echo "$as_me:$LINENO: result: $ac_res" >&5
21876echo "${ECHO_T}$ac_res" >&6; }
21770else 21877else
21771 # Is the header compilable? 21878 # Is the header compilable?
21772echo "$as_me:$LINENO: checking $ac_header usability" >&5 21879{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
21773echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 21880echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21774cat >conftest.$ac_ext <<_ACEOF 21881cat >conftest.$ac_ext <<_ACEOF
21775/* confdefs.h. */ 21882/* confdefs.h. */
21776_ACEOF 21883_ACEOF
@@ -21781,40 +21888,37 @@ $ac_includes_default
21781#include <$ac_header> 21888#include <$ac_header>
21782_ACEOF 21889_ACEOF
21783rm -f conftest.$ac_objext 21890rm -f conftest.$ac_objext
21784if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 21891if { (ac_try="$ac_compile"
21785 (eval $ac_compile) 2>conftest.er1 21892case "(($ac_try" in
21893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21894 *) ac_try_echo=$ac_try;;
21895esac
21896eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21897 (eval "$ac_compile") 2>conftest.er1
21786 ac_status=$? 21898 ac_status=$?
21787 grep -v '^ *+' conftest.er1 >conftest.err 21899 grep -v '^ *+' conftest.er1 >conftest.err
21788 rm -f conftest.er1 21900 rm -f conftest.er1
21789 cat conftest.err >&5 21901 cat conftest.err >&5
21790 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21791 (exit $ac_status); } && 21903 (exit $ac_status); } && {
21792 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 21904 test -z "$ac_c_werror_flag" ||
21793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21905 test ! -s conftest.err
21794 (eval $ac_try) 2>&5 21906 } && test -s conftest.$ac_objext; then
21795 ac_status=$?
21796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21797 (exit $ac_status); }; } &&
21798 { ac_try='test -s conftest.$ac_objext'
21799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21800 (eval $ac_try) 2>&5
21801 ac_status=$?
21802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21803 (exit $ac_status); }; }; then
21804 ac_header_compiler=yes 21907 ac_header_compiler=yes
21805else 21908else
21806 echo "$as_me: failed program was:" >&5 21909 echo "$as_me: failed program was:" >&5
21807sed 's/^/| /' conftest.$ac_ext >&5 21910sed 's/^/| /' conftest.$ac_ext >&5
21808 21911
21809ac_header_compiler=no 21912 ac_header_compiler=no
21810fi 21913fi
21811rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 21914
21812echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 21915rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21813echo "${ECHO_T}$ac_header_compiler" >&6 21916{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21917echo "${ECHO_T}$ac_header_compiler" >&6; }
21814 21918
21815# Is the header present? 21919# Is the header present?
21816echo "$as_me:$LINENO: checking $ac_header presence" >&5 21920{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
21817echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 21921echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21818cat >conftest.$ac_ext <<_ACEOF 21922cat >conftest.$ac_ext <<_ACEOF
21819/* confdefs.h. */ 21923/* confdefs.h. */
21820_ACEOF 21924_ACEOF
@@ -21823,24 +21927,22 @@ cat >>conftest.$ac_ext <<_ACEOF
21823/* end confdefs.h. */ 21927/* end confdefs.h. */
21824#include <$ac_header> 21928#include <$ac_header>
21825_ACEOF 21929_ACEOF
21826if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 21930if { (ac_try="$ac_cpp conftest.$ac_ext"
21827 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 21931case "(($ac_try" in
21932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21933 *) ac_try_echo=$ac_try;;
21934esac
21935eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21936 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21828 ac_status=$? 21937 ac_status=$?
21829 grep -v '^ *+' conftest.er1 >conftest.err 21938 grep -v '^ *+' conftest.er1 >conftest.err
21830 rm -f conftest.er1 21939 rm -f conftest.er1
21831 cat conftest.err >&5 21940 cat conftest.err >&5
21832 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21833 (exit $ac_status); } >/dev/null; then 21942 (exit $ac_status); } >/dev/null && {
21834 if test -s conftest.err; then 21943 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21835 ac_cpp_err=$ac_c_preproc_warn_flag 21944 test ! -s conftest.err
21836 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 21945 }; then
21837 else
21838 ac_cpp_err=
21839 fi
21840else
21841 ac_cpp_err=yes
21842fi
21843if test -z "$ac_cpp_err"; then
21844 ac_header_preproc=yes 21946 ac_header_preproc=yes
21845else 21947else
21846 echo "$as_me: failed program was:" >&5 21948 echo "$as_me: failed program was:" >&5
@@ -21848,9 +21950,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
21848 21950
21849 ac_header_preproc=no 21951 ac_header_preproc=no
21850fi 21952fi
21953
21851rm -f conftest.err conftest.$ac_ext 21954rm -f conftest.err conftest.$ac_ext
21852echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 21955{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21853echo "${ECHO_T}$ac_header_preproc" >&6 21956echo "${ECHO_T}$ac_header_preproc" >&6; }
21854 21957
21855# So? What about this header? 21958# So? What about this header?
21856case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 21959case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
@@ -21874,25 +21977,19 @@ echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\
21874echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 21977echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21875 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 21978 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21876echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 21979echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21877 ( 21980
21878 cat <<\_ASBOX
21879## ------------------------------------------ ##
21880## Report this to the AC_PACKAGE_NAME lists. ##
21881## ------------------------------------------ ##
21882_ASBOX
21883 ) |
21884 sed "s/^/$as_me: WARNING: /" >&2
21885 ;; 21981 ;;
21886esac 21982esac
21887echo "$as_me:$LINENO: checking for $ac_header" >&5 21983{ echo "$as_me:$LINENO: checking for $ac_header" >&5
21888echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 21984echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21889if eval "test \"\${$as_ac_Header+set}\" = set"; then 21985if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21890 echo $ECHO_N "(cached) $ECHO_C" >&6 21986 echo $ECHO_N "(cached) $ECHO_C" >&6
21891else 21987else
21892 eval "$as_ac_Header=\$ac_header_preproc" 21988 eval "$as_ac_Header=\$ac_header_preproc"
21893fi 21989fi
21894echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 21990ac_res=`eval echo '${'$as_ac_Header'}'`
21895echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 21991 { echo "$as_me:$LINENO: result: $ac_res" >&5
21992echo "${ECHO_T}$ac_res" >&6; }
21896 21993
21897fi 21994fi
21898if test `eval echo '${'$as_ac_Header'}'` = yes; then 21995if test `eval echo '${'$as_ac_Header'}'` = yes; then
@@ -21909,9 +22006,9 @@ done
21909for ac_func in fork vfork 22006for ac_func in fork vfork
21910do 22007do
21911as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 22008as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21912echo "$as_me:$LINENO: checking for $ac_func" >&5 22009{ echo "$as_me:$LINENO: checking for $ac_func" >&5
21913echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 22010echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
21914if eval "test \"\${$as_ac_var+set}\" = set"; then 22011if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21915 echo $ECHO_N "(cached) $ECHO_C" >&6 22012 echo $ECHO_N "(cached) $ECHO_C" >&6
21916else 22013else
21917 cat >conftest.$ac_ext <<_ACEOF 22014 cat >conftest.$ac_ext <<_ACEOF
@@ -21937,67 +22034,60 @@ cat >>conftest.$ac_ext <<_ACEOF
21937 22034
21938#undef $ac_func 22035#undef $ac_func
21939 22036
21940/* Override any gcc2 internal prototype to avoid an error. */ 22037/* Override any GCC internal prototype to avoid an error.
22038 Use char because int might match the return type of a GCC
22039 builtin and then its argument prototype would still apply. */
21941#ifdef __cplusplus 22040#ifdef __cplusplus
21942extern "C" 22041extern "C"
21943{
21944#endif 22042#endif
21945/* We use char because int might match the return type of a gcc2
21946 builtin and then its argument prototype would still apply. */
21947char $ac_func (); 22043char $ac_func ();
21948/* The GNU C library defines this for functions which it implements 22044/* The GNU C library defines this for functions which it implements
21949 to always fail with ENOSYS. Some functions are actually named 22045 to always fail with ENOSYS. Some functions are actually named
21950 something starting with __ and the normal name is an alias. */ 22046 something starting with __ and the normal name is an alias. */
21951#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 22047#if defined __stub_$ac_func || defined __stub___$ac_func
21952choke me 22048choke me
21953#else
21954char (*f) () = $ac_func;
21955#endif
21956#ifdef __cplusplus
21957}
21958#endif 22049#endif
21959 22050
21960int 22051int
21961main () 22052main ()
21962{ 22053{
21963return f != $ac_func; 22054return $ac_func ();
21964 ; 22055 ;
21965 return 0; 22056 return 0;
21966} 22057}
21967_ACEOF 22058_ACEOF
21968rm -f conftest.$ac_objext conftest$ac_exeext 22059rm -f conftest.$ac_objext conftest$ac_exeext
21969if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 22060if { (ac_try="$ac_link"
21970 (eval $ac_link) 2>conftest.er1 22061case "(($ac_try" in
22062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22063 *) ac_try_echo=$ac_try;;
22064esac
22065eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22066 (eval "$ac_link") 2>conftest.er1
21971 ac_status=$? 22067 ac_status=$?
21972 grep -v '^ *+' conftest.er1 >conftest.err 22068 grep -v '^ *+' conftest.er1 >conftest.err
21973 rm -f conftest.er1 22069 rm -f conftest.er1
21974 cat conftest.err >&5 22070 cat conftest.err >&5
21975 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21976 (exit $ac_status); } && 22072 (exit $ac_status); } && {
21977 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 22073 test -z "$ac_c_werror_flag" ||
21978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22074 test ! -s conftest.err
21979 (eval $ac_try) 2>&5 22075 } && test -s conftest$ac_exeext &&
21980 ac_status=$? 22076 $as_test_x conftest$ac_exeext; then
21981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21982 (exit $ac_status); }; } &&
21983 { ac_try='test -s conftest$ac_exeext'
21984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21985 (eval $ac_try) 2>&5
21986 ac_status=$?
21987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21988 (exit $ac_status); }; }; then
21989 eval "$as_ac_var=yes" 22077 eval "$as_ac_var=yes"
21990else 22078else
21991 echo "$as_me: failed program was:" >&5 22079 echo "$as_me: failed program was:" >&5
21992sed 's/^/| /' conftest.$ac_ext >&5 22080sed 's/^/| /' conftest.$ac_ext >&5
21993 22081
21994eval "$as_ac_var=no" 22082 eval "$as_ac_var=no"
21995fi 22083fi
21996rm -f conftest.err conftest.$ac_objext \ 22084
22085rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21997 conftest$ac_exeext conftest.$ac_ext 22086 conftest$ac_exeext conftest.$ac_ext
21998fi 22087fi
21999echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 22088ac_res=`eval echo '${'$as_ac_var'}'`
22000echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 22089 { echo "$as_me:$LINENO: result: $ac_res" >&5
22090echo "${ECHO_T}$ac_res" >&6; }
22001if test `eval echo '${'$as_ac_var'}'` = yes; then 22091if test `eval echo '${'$as_ac_var'}'` = yes; then
22002 cat >>confdefs.h <<_ACEOF 22092 cat >>confdefs.h <<_ACEOF
22003#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 22093#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
@@ -22007,8 +22097,8 @@ fi
22007done 22097done
22008 22098
22009if test "x$ac_cv_func_fork" = xyes; then 22099if test "x$ac_cv_func_fork" = xyes; then
22010 echo "$as_me:$LINENO: checking for working fork" >&5 22100 { echo "$as_me:$LINENO: checking for working fork" >&5
22011echo $ECHO_N "checking for working fork... $ECHO_C" >&6 22101echo $ECHO_N "checking for working fork... $ECHO_C" >&6; }
22012if test "${ac_cv_func_fork_works+set}" = set; then 22102if test "${ac_cv_func_fork_works+set}" = set; then
22013 echo $ECHO_N "(cached) $ECHO_C" >&6 22103 echo $ECHO_N "(cached) $ECHO_C" >&6
22014else 22104else
@@ -22027,22 +22117,29 @@ main ()
22027{ 22117{
22028 22118
22029 /* By Ruediger Kuhlmann. */ 22119 /* By Ruediger Kuhlmann. */
22030 if (fork() < 0) 22120 return fork () < 0;
22031 exit (1);
22032 exit (0);
22033 22121
22034 ; 22122 ;
22035 return 0; 22123 return 0;
22036} 22124}
22037_ACEOF 22125_ACEOF
22038rm -f conftest$ac_exeext 22126rm -f conftest$ac_exeext
22039if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 22127if { (ac_try="$ac_link"
22040 (eval $ac_link) 2>&5 22128case "(($ac_try" in
22129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22130 *) ac_try_echo=$ac_try;;
22131esac
22132eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22133 (eval "$ac_link") 2>&5
22041 ac_status=$? 22134 ac_status=$?
22042 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22043 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 22136 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22137 { (case "(($ac_try" in
22045 (eval $ac_try) 2>&5 22138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22139 *) ac_try_echo=$ac_try;;
22140esac
22141eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22142 (eval "$ac_try") 2>&5
22046 ac_status=$? 22143 ac_status=$?
22047 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22048 (exit $ac_status); }; }; then 22145 (exit $ac_status); }; }; then
@@ -22055,11 +22152,13 @@ sed 's/^/| /' conftest.$ac_ext >&5
22055( exit $ac_status ) 22152( exit $ac_status )
22056ac_cv_func_fork_works=no 22153ac_cv_func_fork_works=no
22057fi 22154fi
22058rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 22155rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22059fi 22156fi
22157
22158
22060fi 22159fi
22061echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5 22160{ echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
22062echo "${ECHO_T}$ac_cv_func_fork_works" >&6 22161echo "${ECHO_T}$ac_cv_func_fork_works" >&6; }
22063 22162
22064else 22163else
22065 ac_cv_func_fork_works=$ac_cv_func_fork 22164 ac_cv_func_fork_works=$ac_cv_func_fork
@@ -22079,8 +22178,8 @@ echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross co
22079fi 22178fi
22080ac_cv_func_vfork_works=$ac_cv_func_vfork 22179ac_cv_func_vfork_works=$ac_cv_func_vfork
22081if test "x$ac_cv_func_vfork" = xyes; then 22180if test "x$ac_cv_func_vfork" = xyes; then
22082 echo "$as_me:$LINENO: checking for working vfork" >&5 22181 { echo "$as_me:$LINENO: checking for working vfork" >&5
22083echo $ECHO_N "checking for working vfork... $ECHO_C" >&6 22182echo $ECHO_N "checking for working vfork... $ECHO_C" >&6; }
22084if test "${ac_cv_func_vfork_works+set}" = set; then 22183if test "${ac_cv_func_vfork_works+set}" = set; then
22085 echo $ECHO_N "(cached) $ECHO_C" >&6 22184 echo $ECHO_N "(cached) $ECHO_C" >&6
22086else 22185else
@@ -22094,15 +22193,9 @@ cat confdefs.h >>conftest.$ac_ext
22094cat >>conftest.$ac_ext <<_ACEOF 22193cat >>conftest.$ac_ext <<_ACEOF
22095/* end confdefs.h. */ 22194/* end confdefs.h. */
22096/* Thanks to Paul Eggert for this test. */ 22195/* Thanks to Paul Eggert for this test. */
22097#include <stdio.h> 22196$ac_includes_default
22098#include <stdlib.h>
22099#include <sys/types.h>
22100#include <sys/stat.h>
22101#include <sys/wait.h> 22197#include <sys/wait.h>
22102#if HAVE_UNISTD_H 22198#ifdef HAVE_VFORK_H
22103# include <unistd.h>
22104#endif
22105#if HAVE_VFORK_H
22106# include <vfork.h> 22199# include <vfork.h>
22107#endif 22200#endif
22108/* On some sparc systems, changes by the child to local and incoming 22201/* On some sparc systems, changes by the child to local and incoming
@@ -22173,7 +22266,7 @@ main ()
22173 22266
22174 while (wait(&status) != child) 22267 while (wait(&status) != child)
22175 ; 22268 ;
22176 exit( 22269 return (
22177 /* Was there some problem with vforking? */ 22270 /* Was there some problem with vforking? */
22178 child < 0 22271 child < 0
22179 22272
@@ -22190,13 +22283,22 @@ main ()
22190} 22283}
22191_ACEOF 22284_ACEOF
22192rm -f conftest$ac_exeext 22285rm -f conftest$ac_exeext
22193if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 22286if { (ac_try="$ac_link"
22194 (eval $ac_link) 2>&5 22287case "(($ac_try" in
22288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22289 *) ac_try_echo=$ac_try;;
22290esac
22291eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22292 (eval "$ac_link") 2>&5
22195 ac_status=$? 22293 ac_status=$?
22196 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22197 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 22295 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22296 { (case "(($ac_try" in
22199 (eval $ac_try) 2>&5 22297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22298 *) ac_try_echo=$ac_try;;
22299esac
22300eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22301 (eval "$ac_try") 2>&5
22200 ac_status=$? 22302 ac_status=$?
22201 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22202 (exit $ac_status); }; }; then 22304 (exit $ac_status); }; }; then
@@ -22209,11 +22311,13 @@ sed 's/^/| /' conftest.$ac_ext >&5
22209( exit $ac_status ) 22311( exit $ac_status )
22210ac_cv_func_vfork_works=no 22312ac_cv_func_vfork_works=no
22211fi 22313fi
22212rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 22314rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22213fi 22315fi
22316
22317
22214fi 22318fi
22215echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5 22319{ echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
22216echo "${ECHO_T}$ac_cv_func_vfork_works" >&6 22320echo "${ECHO_T}$ac_cv_func_vfork_works" >&6; }
22217 22321
22218fi; 22322fi;
22219if test "x$ac_cv_func_fork_works" = xcross; then 22323if test "x$ac_cv_func_fork_works" = xcross; then
@@ -22244,8 +22348,8 @@ _ACEOF
22244fi 22348fi
22245 22349
22246 22350
22247echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5 22351{ echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
22248echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6 22352echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6; }
22249if test "${emacs_cv_langinfo_codeset+set}" = set; then 22353if test "${emacs_cv_langinfo_codeset+set}" = set; then
22250 echo $ECHO_N "(cached) $ECHO_C" >&6 22354 echo $ECHO_N "(cached) $ECHO_C" >&6
22251else 22355else
@@ -22265,39 +22369,37 @@ char* cs = nl_langinfo(CODESET);
22265} 22369}
22266_ACEOF 22370_ACEOF
22267rm -f conftest.$ac_objext conftest$ac_exeext 22371rm -f conftest.$ac_objext conftest$ac_exeext
22268if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 22372if { (ac_try="$ac_link"
22269 (eval $ac_link) 2>conftest.er1 22373case "(($ac_try" in
22374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22375 *) ac_try_echo=$ac_try;;
22376esac
22377eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22378 (eval "$ac_link") 2>conftest.er1
22270 ac_status=$? 22379 ac_status=$?
22271 grep -v '^ *+' conftest.er1 >conftest.err 22380 grep -v '^ *+' conftest.er1 >conftest.err
22272 rm -f conftest.er1 22381 rm -f conftest.er1
22273 cat conftest.err >&5 22382 cat conftest.err >&5
22274 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22275 (exit $ac_status); } && 22384 (exit $ac_status); } && {
22276 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 22385 test -z "$ac_c_werror_flag" ||
22277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22386 test ! -s conftest.err
22278 (eval $ac_try) 2>&5 22387 } && test -s conftest$ac_exeext &&
22279 ac_status=$? 22388 $as_test_x conftest$ac_exeext; then
22280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22281 (exit $ac_status); }; } &&
22282 { ac_try='test -s conftest$ac_exeext'
22283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22284 (eval $ac_try) 2>&5
22285 ac_status=$?
22286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22287 (exit $ac_status); }; }; then
22288 emacs_cv_langinfo_codeset=yes 22389 emacs_cv_langinfo_codeset=yes
22289else 22390else
22290 echo "$as_me: failed program was:" >&5 22391 echo "$as_me: failed program was:" >&5
22291sed 's/^/| /' conftest.$ac_ext >&5 22392sed 's/^/| /' conftest.$ac_ext >&5
22292 22393
22293emacs_cv_langinfo_codeset=no 22394 emacs_cv_langinfo_codeset=no
22294fi 22395fi
22295rm -f conftest.err conftest.$ac_objext \ 22396
22397rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22296 conftest$ac_exeext conftest.$ac_ext 22398 conftest$ac_exeext conftest.$ac_ext
22297 22399
22298fi 22400fi
22299echo "$as_me:$LINENO: result: $emacs_cv_langinfo_codeset" >&5 22401{ echo "$as_me:$LINENO: result: $emacs_cv_langinfo_codeset" >&5
22300echo "${ECHO_T}$emacs_cv_langinfo_codeset" >&6 22402echo "${ECHO_T}$emacs_cv_langinfo_codeset" >&6; }
22301if test $emacs_cv_langinfo_codeset = yes; then 22403if test $emacs_cv_langinfo_codeset = yes; then
22302 22404
22303cat >>confdefs.h <<\_ACEOF 22405cat >>confdefs.h <<\_ACEOF
@@ -22306,8 +22408,8 @@ _ACEOF
22306 22408
22307fi 22409fi
22308 22410
22309echo "$as_me:$LINENO: checking for size_t" >&5 22411{ echo "$as_me:$LINENO: checking for size_t" >&5
22310echo $ECHO_N "checking for size_t... $ECHO_C" >&6 22412echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
22311if test "${ac_cv_type_size_t+set}" = set; then 22413if test "${ac_cv_type_size_t+set}" = set; then
22312 echo $ECHO_N "(cached) $ECHO_C" >&6 22414 echo $ECHO_N "(cached) $ECHO_C" >&6
22313else 22415else
@@ -22318,49 +22420,47 @@ cat confdefs.h >>conftest.$ac_ext
22318cat >>conftest.$ac_ext <<_ACEOF 22420cat >>conftest.$ac_ext <<_ACEOF
22319/* end confdefs.h. */ 22421/* end confdefs.h. */
22320$ac_includes_default 22422$ac_includes_default
22423typedef size_t ac__type_new_;
22321int 22424int
22322main () 22425main ()
22323{ 22426{
22324if ((size_t *) 0) 22427if ((ac__type_new_ *) 0)
22325 return 0; 22428 return 0;
22326if (sizeof (size_t)) 22429if (sizeof (ac__type_new_))
22327 return 0; 22430 return 0;
22328 ; 22431 ;
22329 return 0; 22432 return 0;
22330} 22433}
22331_ACEOF 22434_ACEOF
22332rm -f conftest.$ac_objext 22435rm -f conftest.$ac_objext
22333if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 22436if { (ac_try="$ac_compile"
22334 (eval $ac_compile) 2>conftest.er1 22437case "(($ac_try" in
22438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22439 *) ac_try_echo=$ac_try;;
22440esac
22441eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22442 (eval "$ac_compile") 2>conftest.er1
22335 ac_status=$? 22443 ac_status=$?
22336 grep -v '^ *+' conftest.er1 >conftest.err 22444 grep -v '^ *+' conftest.er1 >conftest.err
22337 rm -f conftest.er1 22445 rm -f conftest.er1
22338 cat conftest.err >&5 22446 cat conftest.err >&5
22339 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22340 (exit $ac_status); } && 22448 (exit $ac_status); } && {
22341 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 22449 test -z "$ac_c_werror_flag" ||
22342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22450 test ! -s conftest.err
22343 (eval $ac_try) 2>&5 22451 } && test -s conftest.$ac_objext; then
22344 ac_status=$?
22345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22346 (exit $ac_status); }; } &&
22347 { ac_try='test -s conftest.$ac_objext'
22348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22349 (eval $ac_try) 2>&5
22350 ac_status=$?
22351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22352 (exit $ac_status); }; }; then
22353 ac_cv_type_size_t=yes 22452 ac_cv_type_size_t=yes
22354else 22453else
22355 echo "$as_me: failed program was:" >&5 22454 echo "$as_me: failed program was:" >&5
22356sed 's/^/| /' conftest.$ac_ext >&5 22455sed 's/^/| /' conftest.$ac_ext >&5
22357 22456
22358ac_cv_type_size_t=no 22457 ac_cv_type_size_t=no
22359fi 22458fi
22360rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 22459
22460rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22361fi 22461fi
22362echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 22462{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22363echo "${ECHO_T}$ac_cv_type_size_t" >&6 22463echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
22364if test $ac_cv_type_size_t = yes; then 22464if test $ac_cv_type_size_t = yes; then
22365 22465
22366cat >>confdefs.h <<_ACEOF 22466cat >>confdefs.h <<_ACEOF
@@ -22371,8 +22471,8 @@ _ACEOF
22371fi 22471fi
22372 22472
22373 22473
22374echo "$as_me:$LINENO: checking for mbstate_t" >&5 22474{ echo "$as_me:$LINENO: checking for mbstate_t" >&5
22375echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6 22475echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
22376if test "${ac_cv_type_mbstate_t+set}" = set; then 22476if test "${ac_cv_type_mbstate_t+set}" = set; then
22377 echo $ECHO_N "(cached) $ECHO_C" >&6 22477 echo $ECHO_N "(cached) $ECHO_C" >&6
22378else 22478else
@@ -22393,37 +22493,34 @@ mbstate_t x; return sizeof x;
22393} 22493}
22394_ACEOF 22494_ACEOF
22395rm -f conftest.$ac_objext 22495rm -f conftest.$ac_objext
22396if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 22496if { (ac_try="$ac_compile"
22397 (eval $ac_compile) 2>conftest.er1 22497case "(($ac_try" in
22498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22499 *) ac_try_echo=$ac_try;;
22500esac
22501eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22502 (eval "$ac_compile") 2>conftest.er1
22398 ac_status=$? 22503 ac_status=$?
22399 grep -v '^ *+' conftest.er1 >conftest.err 22504 grep -v '^ *+' conftest.er1 >conftest.err
22400 rm -f conftest.er1 22505 rm -f conftest.er1
22401 cat conftest.err >&5 22506 cat conftest.err >&5
22402 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22403 (exit $ac_status); } && 22508 (exit $ac_status); } && {
22404 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 22509 test -z "$ac_c_werror_flag" ||
22405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22510 test ! -s conftest.err
22406 (eval $ac_try) 2>&5 22511 } && test -s conftest.$ac_objext; then
22407 ac_status=$?
22408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22409 (exit $ac_status); }; } &&
22410 { ac_try='test -s conftest.$ac_objext'
22411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22412 (eval $ac_try) 2>&5
22413 ac_status=$?
22414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22415 (exit $ac_status); }; }; then
22416 ac_cv_type_mbstate_t=yes 22512 ac_cv_type_mbstate_t=yes
22417else 22513else
22418 echo "$as_me: failed program was:" >&5 22514 echo "$as_me: failed program was:" >&5
22419sed 's/^/| /' conftest.$ac_ext >&5 22515sed 's/^/| /' conftest.$ac_ext >&5
22420 22516
22421ac_cv_type_mbstate_t=no 22517 ac_cv_type_mbstate_t=no
22422fi 22518fi
22423rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 22519
22520rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22424fi 22521fi
22425echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5 22522{ echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
22426echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6 22523echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
22427 if test $ac_cv_type_mbstate_t = yes; then 22524 if test $ac_cv_type_mbstate_t = yes; then
22428 22525
22429cat >>confdefs.h <<\_ACEOF 22526cat >>confdefs.h <<\_ACEOF
@@ -22438,8 +22535,8 @@ _ACEOF
22438 22535
22439 fi 22536 fi
22440 22537
22441echo "$as_me:$LINENO: checking for C restrict keyword" >&5 22538{ echo "$as_me:$LINENO: checking for C restrict keyword" >&5
22442echo $ECHO_N "checking for C restrict keyword... $ECHO_C" >&6 22539echo $ECHO_N "checking for C restrict keyword... $ECHO_C" >&6; }
22443if test "${emacs_cv_c_restrict+set}" = set; then 22540if test "${emacs_cv_c_restrict+set}" = set; then
22444 echo $ECHO_N "(cached) $ECHO_C" >&6 22541 echo $ECHO_N "(cached) $ECHO_C" >&6
22445else 22542else
@@ -22459,32 +22556,28 @@ main ()
22459} 22556}
22460_ACEOF 22557_ACEOF
22461rm -f conftest.$ac_objext 22558rm -f conftest.$ac_objext
22462if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 22559if { (ac_try="$ac_compile"
22463 (eval $ac_compile) 2>conftest.er1 22560case "(($ac_try" in
22561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22562 *) ac_try_echo=$ac_try;;
22563esac
22564eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22565 (eval "$ac_compile") 2>conftest.er1
22464 ac_status=$? 22566 ac_status=$?
22465 grep -v '^ *+' conftest.er1 >conftest.err 22567 grep -v '^ *+' conftest.er1 >conftest.err
22466 rm -f conftest.er1 22568 rm -f conftest.er1
22467 cat conftest.err >&5 22569 cat conftest.err >&5
22468 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22469 (exit $ac_status); } && 22571 (exit $ac_status); } && {
22470 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 22572 test -z "$ac_c_werror_flag" ||
22471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22573 test ! -s conftest.err
22472 (eval $ac_try) 2>&5 22574 } && test -s conftest.$ac_objext; then
22473 ac_status=$?
22474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22475 (exit $ac_status); }; } &&
22476 { ac_try='test -s conftest.$ac_objext'
22477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22478 (eval $ac_try) 2>&5
22479 ac_status=$?
22480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22481 (exit $ac_status); }; }; then
22482 emacs_cv_c_restrict=yes 22575 emacs_cv_c_restrict=yes
22483else 22576else
22484 echo "$as_me: failed program was:" >&5 22577 echo "$as_me: failed program was:" >&5
22485sed 's/^/| /' conftest.$ac_ext >&5 22578sed 's/^/| /' conftest.$ac_ext >&5
22486 22579
22487cat >conftest.$ac_ext <<_ACEOF 22580 cat >conftest.$ac_ext <<_ACEOF
22488/* confdefs.h. */ 22581/* confdefs.h. */
22489_ACEOF 22582_ACEOF
22490cat confdefs.h >>conftest.$ac_ext 22583cat confdefs.h >>conftest.$ac_ext
@@ -22500,39 +22593,37 @@ main ()
22500} 22593}
22501_ACEOF 22594_ACEOF
22502rm -f conftest.$ac_objext 22595rm -f conftest.$ac_objext
22503if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 22596if { (ac_try="$ac_compile"
22504 (eval $ac_compile) 2>conftest.er1 22597case "(($ac_try" in
22598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22599 *) ac_try_echo=$ac_try;;
22600esac
22601eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22602 (eval "$ac_compile") 2>conftest.er1
22505 ac_status=$? 22603 ac_status=$?
22506 grep -v '^ *+' conftest.er1 >conftest.err 22604 grep -v '^ *+' conftest.er1 >conftest.err
22507 rm -f conftest.er1 22605 rm -f conftest.er1
22508 cat conftest.err >&5 22606 cat conftest.err >&5
22509 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22510 (exit $ac_status); } && 22608 (exit $ac_status); } && {
22511 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 22609 test -z "$ac_c_werror_flag" ||
22512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22610 test ! -s conftest.err
22513 (eval $ac_try) 2>&5 22611 } && test -s conftest.$ac_objext; then
22514 ac_status=$?
22515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22516 (exit $ac_status); }; } &&
22517 { ac_try='test -s conftest.$ac_objext'
22518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22519 (eval $ac_try) 2>&5
22520 ac_status=$?
22521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22522 (exit $ac_status); }; }; then
22523 emacs_cv_c_restrict=__restrict 22612 emacs_cv_c_restrict=__restrict
22524else 22613else
22525 echo "$as_me: failed program was:" >&5 22614 echo "$as_me: failed program was:" >&5
22526sed 's/^/| /' conftest.$ac_ext >&5 22615sed 's/^/| /' conftest.$ac_ext >&5
22527 22616
22528emacs_cv_c_restrict=no 22617 emacs_cv_c_restrict=no
22529fi 22618fi
22530rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 22619
22620rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22531fi 22621fi
22532rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 22622
22623rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22533fi 22624fi
22534echo "$as_me:$LINENO: result: $emacs_cv_c_restrict" >&5 22625{ echo "$as_me:$LINENO: result: $emacs_cv_c_restrict" >&5
22535echo "${ECHO_T}$emacs_cv_c_restrict" >&6 22626echo "${ECHO_T}$emacs_cv_c_restrict" >&6; }
22536case "$emacs_cv_c_restrict" in 22627case "$emacs_cv_c_restrict" in
22537 yes) emacs_restrict=restrict;; 22628 yes) emacs_restrict=restrict;;
22538 no) emacs_restrict="";; 22629 no) emacs_restrict="";;
@@ -22546,8 +22637,8 @@ _ACEOF
22546 22637
22547fi 22638fi
22548 22639
22549echo "$as_me:$LINENO: checking for C restricted array declarations" >&5 22640{ echo "$as_me:$LINENO: checking for C restricted array declarations" >&5
22550echo $ECHO_N "checking for C restricted array declarations... $ECHO_C" >&6 22641echo $ECHO_N "checking for C restricted array declarations... $ECHO_C" >&6; }
22551if test "${emacs_cv_c_restrict_arr+set}" = set; then 22642if test "${emacs_cv_c_restrict_arr+set}" = set; then
22552 echo $ECHO_N "(cached) $ECHO_C" >&6 22643 echo $ECHO_N "(cached) $ECHO_C" >&6
22553else 22644else
@@ -22567,37 +22658,34 @@ main ()
22567} 22658}
22568_ACEOF 22659_ACEOF
22569rm -f conftest.$ac_objext 22660rm -f conftest.$ac_objext
22570if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 22661if { (ac_try="$ac_compile"
22571 (eval $ac_compile) 2>conftest.er1 22662case "(($ac_try" in
22663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22664 *) ac_try_echo=$ac_try;;
22665esac
22666eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22667 (eval "$ac_compile") 2>conftest.er1
22572 ac_status=$? 22668 ac_status=$?
22573 grep -v '^ *+' conftest.er1 >conftest.err 22669 grep -v '^ *+' conftest.er1 >conftest.err
22574 rm -f conftest.er1 22670 rm -f conftest.er1
22575 cat conftest.err >&5 22671 cat conftest.err >&5
22576 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22577 (exit $ac_status); } && 22673 (exit $ac_status); } && {
22578 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 22674 test -z "$ac_c_werror_flag" ||
22579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22675 test ! -s conftest.err
22580 (eval $ac_try) 2>&5 22676 } && test -s conftest.$ac_objext; then
22581 ac_status=$?
22582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22583 (exit $ac_status); }; } &&
22584 { ac_try='test -s conftest.$ac_objext'
22585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22586 (eval $ac_try) 2>&5
22587 ac_status=$?
22588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22589 (exit $ac_status); }; }; then
22590 emacs_cv_c_restrict_arr=yes 22677 emacs_cv_c_restrict_arr=yes
22591else 22678else
22592 echo "$as_me: failed program was:" >&5 22679 echo "$as_me: failed program was:" >&5
22593sed 's/^/| /' conftest.$ac_ext >&5 22680sed 's/^/| /' conftest.$ac_ext >&5
22594 22681
22595emacs_cv_c_restrict_arr=no 22682 emacs_cv_c_restrict_arr=no
22596fi 22683fi
22597rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 22684
22685rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22598fi 22686fi
22599echo "$as_me:$LINENO: result: $emacs_cv_c_restrict_arr" >&5 22687{ echo "$as_me:$LINENO: result: $emacs_cv_c_restrict_arr" >&5
22600echo "${ECHO_T}$emacs_cv_c_restrict_arr" >&6 22688echo "${ECHO_T}$emacs_cv_c_restrict_arr" >&6; }
22601if test "$emacs_cv_c_restrict_arr" = yes; then 22689if test "$emacs_cv_c_restrict_arr" = yes; then
22602 22690
22603cat >>confdefs.h <<\_ACEOF 22691cat >>confdefs.h <<\_ACEOF
@@ -22829,8 +22917,10 @@ fi
22829rm -f conftest* 22917rm -f conftest*
22830 22918
22831 22919
22832 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" 22920ac_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"
22833 ac_config_commands="$ac_config_commands default" 22921
22922ac_config_commands="$ac_config_commands default"
22923
22834cat >confcache <<\_ACEOF 22924cat >confcache <<\_ACEOF
22835# This file is a shell script that caches the results of configure 22925# This file is a shell script that caches the results of configure
22836# tests run on this system so they can be shared between configure 22926# tests run on this system so they can be shared between configure
@@ -22849,39 +22939,58 @@ _ACEOF
22849 22939
22850# The following way of writing the cache mishandles newlines in values, 22940# The following way of writing the cache mishandles newlines in values,
22851# but we know of no workaround that is simple, portable, and efficient. 22941# but we know of no workaround that is simple, portable, and efficient.
22852# So, don't put newlines in cache variables' values. 22942# So, we kill variables containing newlines.
22853# Ultrix sh set writes to stderr and can't be redirected directly, 22943# Ultrix sh set writes to stderr and can't be redirected directly,
22854# and sets the high bit in the cache file unless we assign to the vars. 22944# and sets the high bit in the cache file unless we assign to the vars.
22855{ 22945(
22946 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22947 eval ac_val=\$$ac_var
22948 case $ac_val in #(
22949 *${as_nl}*)
22950 case $ac_var in #(
22951 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22952echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22953 esac
22954 case $ac_var in #(
22955 _ | IFS | as_nl) ;; #(
22956 *) $as_unset $ac_var ;;
22957 esac ;;
22958 esac
22959 done
22960
22856 (set) 2>&1 | 22961 (set) 2>&1 |
22857 case `(ac_space=' '; set | grep ac_space) 2>&1` in 22962 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22858 *ac_space=\ *) 22963 *${as_nl}ac_space=\ *)
22859 # `set' does not quote correctly, so add quotes (double-quote 22964 # `set' does not quote correctly, so add quotes (double-quote
22860 # substitution turns \\\\ into \\, and sed turns \\ into \). 22965 # substitution turns \\\\ into \\, and sed turns \\ into \).
22861 sed -n \ 22966 sed -n \
22862 "s/'/'\\\\''/g; 22967 "s/'/'\\\\''/g;
22863 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 22968 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22864 ;; 22969 ;; #(
22865 *) 22970 *)
22866 # `set' quotes correctly as required by POSIX, so do not add quotes. 22971 # `set' quotes correctly as required by POSIX, so do not add quotes.
22867 sed -n \ 22972 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22868 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22869 ;; 22973 ;;
22870 esac; 22974 esac |
22871} | 22975 sort
22976) |
22872 sed ' 22977 sed '
22978 /^ac_cv_env_/b end
22873 t clear 22979 t clear
22874 : clear 22980 :clear
22875 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 22981 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22876 t end 22982 t end
22877 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 22983 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22878 : end' >>confcache 22984 :end' >>confcache
22879if diff $cache_file confcache >/dev/null 2>&1; then :; else 22985if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22880 if test -w $cache_file; then 22986 if test -w "$cache_file"; then
22881 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 22987 test "x$cache_file" != "x/dev/null" &&
22988 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22989echo "$as_me: updating cache $cache_file" >&6;}
22882 cat confcache >$cache_file 22990 cat confcache >$cache_file
22883 else 22991 else
22884 echo "not updating unwritable cache $cache_file" 22992 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22993echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22885 fi 22994 fi
22886fi 22995fi
22887rm -f confcache 22996rm -f confcache
@@ -22890,32 +22999,18 @@ test "x$prefix" = xNONE && prefix=$ac_default_prefix
22890# Let make expand exec_prefix. 22999# Let make expand exec_prefix.
22891test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 23000test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22892 23001
22893# VPATH may cause trouble with some makes, so we remove $(srcdir),
22894# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22895# trailing colons and then remove the whole line if VPATH becomes empty
22896# (actually we leave an empty line to preserve line numbers).
22897if test "x$srcdir" = x.; then
22898 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22899s/:*\$(srcdir):*/:/;
22900s/:*\${srcdir}:*/:/;
22901s/:*@srcdir@:*/:/;
22902s/^\([^=]*=[ ]*\):*/\1/;
22903s/:*$//;
22904s/^[^=]*=[ ]*$//;
22905}'
22906fi
22907
22908DEFS=-DHAVE_CONFIG_H 23002DEFS=-DHAVE_CONFIG_H
22909 23003
22910ac_libobjs= 23004ac_libobjs=
22911ac_ltlibobjs= 23005ac_ltlibobjs=
22912for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 23006for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22913 # 1. Remove the extension, and $U if already installed. 23007 # 1. Remove the extension, and $U if already installed.
22914 ac_i=`echo "$ac_i" | 23008 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22915 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 23009 ac_i=`echo "$ac_i" | sed "$ac_script"`
22916 # 2. Add them. 23010 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22917 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 23011 # will be set to the directory where LIBOBJS objects are built.
22918 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 23012 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23013 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22919done 23014done
22920LIBOBJS=$ac_libobjs 23015LIBOBJS=$ac_libobjs
22921 23016
@@ -22946,17 +23041,45 @@ cat >>$CONFIG_STATUS <<\_ACEOF
22946## M4sh Initialization. ## 23041## M4sh Initialization. ##
22947## --------------------- ## 23042## --------------------- ##
22948 23043
22949# Be Bourne compatible 23044# Be more Bourne compatible
23045DUALCASE=1; export DUALCASE # for MKS sh
22950if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 23046if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22951 emulate sh 23047 emulate sh
22952 NULLCMD=: 23048 NULLCMD=:
22953 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 23049 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22954 # is contrary to our usage. Disable this feature. 23050 # is contrary to our usage. Disable this feature.
22955 alias -g '${1+"$@"}'='"$@"' 23051 alias -g '${1+"$@"}'='"$@"'
22956elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 23052 setopt NO_GLOB_SUBST
22957 set -o posix 23053else
23054 case `(set -o) 2>/dev/null` in
23055 *posix*) set -o posix ;;
23056esac
23057
23058fi
23059
23060
23061
23062
23063# PATH needs CR
23064# Avoid depending upon Character Ranges.
23065as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23066as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23067as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23068as_cr_digits='0123456789'
23069as_cr_alnum=$as_cr_Letters$as_cr_digits
23070
23071# The user is always right.
23072if test "${PATH_SEPARATOR+set}" != set; then
23073 echo "#! /bin/sh" >conf$$.sh
23074 echo "exit 0" >>conf$$.sh
23075 chmod +x conf$$.sh
23076 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
23077 PATH_SEPARATOR=';'
23078 else
23079 PATH_SEPARATOR=:
23080 fi
23081 rm -f conf$$.sh
22958fi 23082fi
22959DUALCASE=1; export DUALCASE # for MKS sh
22960 23083
22961# Support unset when possible. 23084# Support unset when possible.
22962if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 23085if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
@@ -22966,8 +23089,43 @@ else
22966fi 23089fi
22967 23090
22968 23091
23092# IFS
23093# We need space, tab and new line, in precisely that order. Quoting is
23094# there to prevent editors from complaining about space-tab.
23095# (If _AS_PATH_WALK were called with IFS unset, it would disable word
23096# splitting by setting IFS to empty value.)
23097as_nl='
23098'
23099IFS=" "" $as_nl"
23100
23101# Find who we are. Look in the path if we contain no directory separator.
23102case $0 in
23103 *[\\/]* ) as_myself=$0 ;;
23104 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23105for as_dir in $PATH
23106do
23107 IFS=$as_save_IFS
23108 test -z "$as_dir" && as_dir=.
23109 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23110done
23111IFS=$as_save_IFS
23112
23113 ;;
23114esac
23115# We did not find ourselves, most probably we were run as `sh COMMAND'
23116# in which case we are not to be found in the path.
23117if test "x$as_myself" = x; then
23118 as_myself=$0
23119fi
23120if test ! -f "$as_myself"; then
23121 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23122 { (exit 1); exit 1; }
23123fi
23124
22969# Work around bugs in pre-3.0 UWIN ksh. 23125# Work around bugs in pre-3.0 UWIN ksh.
22970$as_unset ENV MAIL MAILPATH 23126for as_var in ENV MAIL MAILPATH
23127do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
23128done
22971PS1='$ ' 23129PS1='$ '
22972PS2='> ' 23130PS2='> '
22973PS4='+ ' 23131PS4='+ '
@@ -22981,18 +23139,19 @@ do
22981 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 23139 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22982 eval $as_var=C; export $as_var 23140 eval $as_var=C; export $as_var
22983 else 23141 else
22984 $as_unset $as_var 23142 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22985 fi 23143 fi
22986done 23144done
22987 23145
22988# Required to use basename. 23146# Required to use basename.
22989if expr a : '\(a\)' >/dev/null 2>&1; then 23147if expr a : '\(a\)' >/dev/null 2>&1 &&
23148 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22990 as_expr=expr 23149 as_expr=expr
22991else 23150else
22992 as_expr=false 23151 as_expr=false
22993fi 23152fi
22994 23153
22995if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 23154if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22996 as_basename=basename 23155 as_basename=basename
22997else 23156else
22998 as_basename=false 23157 as_basename=false
@@ -23000,159 +23159,120 @@ fi
23000 23159
23001 23160
23002# Name of the executable. 23161# Name of the executable.
23003as_me=`$as_basename "$0" || 23162as_me=`$as_basename -- "$0" ||
23004$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 23163$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23005 X"$0" : 'X\(//\)$' \| \ 23164 X"$0" : 'X\(//\)$' \| \
23006 X"$0" : 'X\(/\)$' \| \ 23165 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23007 . : '\(.\)' 2>/dev/null ||
23008echo X/"$0" | 23166echo X/"$0" |
23009 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 23167 sed '/^.*\/\([^/][^/]*\)\/*$/{
23010 /^X\/\(\/\/\)$/{ s//\1/; q; } 23168 s//\1/
23011 /^X\/\(\/\).*/{ s//\1/; q; } 23169 q
23012 s/.*/./; q'` 23170 }
23013 23171 /^X\/\(\/\/\)$/{
23172 s//\1/
23173 q
23174 }
23175 /^X\/\(\/\).*/{
23176 s//\1/
23177 q
23178 }
23179 s/.*/./; q'`
23014 23180
23015# PATH needs CR, and LINENO needs CR and PATH. 23181# CDPATH.
23016# Avoid depending upon Character Ranges. 23182$as_unset CDPATH
23017as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23018as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23019as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23020as_cr_digits='0123456789'
23021as_cr_alnum=$as_cr_Letters$as_cr_digits
23022 23183
23023# The user is always right.
23024if test "${PATH_SEPARATOR+set}" != set; then
23025 echo "#! /bin/sh" >conf$$.sh
23026 echo "exit 0" >>conf$$.sh
23027 chmod +x conf$$.sh
23028 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
23029 PATH_SEPARATOR=';'
23030 else
23031 PATH_SEPARATOR=:
23032 fi
23033 rm -f conf$$.sh
23034fi
23035 23184
23036 23185
23037 as_lineno_1=$LINENO 23186 as_lineno_1=$LINENO
23038 as_lineno_2=$LINENO 23187 as_lineno_2=$LINENO
23039 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23040 test "x$as_lineno_1" != "x$as_lineno_2" && 23188 test "x$as_lineno_1" != "x$as_lineno_2" &&
23041 test "x$as_lineno_3" = "x$as_lineno_2" || { 23189 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
23042 # Find who we are. Look in the path if we contain no path at all
23043 # relative or not.
23044 case $0 in
23045 *[\\/]* ) as_myself=$0 ;;
23046 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23047for as_dir in $PATH
23048do
23049 IFS=$as_save_IFS
23050 test -z "$as_dir" && as_dir=.
23051 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23052done
23053
23054 ;;
23055 esac
23056 # We did not find ourselves, most probably we were run as `sh COMMAND'
23057 # in which case we are not to be found in the path.
23058 if test "x$as_myself" = x; then
23059 as_myself=$0
23060 fi
23061 if test ! -f "$as_myself"; then
23062 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
23063echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
23064 { (exit 1); exit 1; }; }
23065 fi
23066 case $CONFIG_SHELL in
23067 '')
23068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23069for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
23070do
23071 IFS=$as_save_IFS
23072 test -z "$as_dir" && as_dir=.
23073 for as_base in sh bash ksh sh5; do
23074 case $as_dir in
23075 /*)
23076 if ("$as_dir/$as_base" -c '
23077 as_lineno_1=$LINENO
23078 as_lineno_2=$LINENO
23079 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23080 test "x$as_lineno_1" != "x$as_lineno_2" &&
23081 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
23082 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
23083 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
23084 CONFIG_SHELL=$as_dir/$as_base
23085 export CONFIG_SHELL
23086 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
23087 fi;;
23088 esac
23089 done
23090done
23091;;
23092 esac
23093 23190
23094 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 23191 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23095 # uniformly replaced by the line number. The first 'sed' inserts a 23192 # uniformly replaced by the line number. The first 'sed' inserts a
23096 # line-number line before each line; the second 'sed' does the real 23193 # line-number line after each line using $LINENO; the second 'sed'
23097 # work. The second script uses 'N' to pair each line-number line 23194 # does the real work. The second script uses 'N' to pair each
23098 # with the numbered line, and appends trailing '-' during 23195 # line-number line with the line containing $LINENO, and appends
23099 # substitution so that $LINENO is not a special case at line end. 23196 # trailing '-' during substitution so that $LINENO is not a special
23197 # case at line end.
23100 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 23198 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23101 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 23199 # scripts with optimization help from Paolo Bonzini. Blame Lee
23102 sed '=' <$as_myself | 23200 # E. McMahon (1931-1989) for sed's syntax. :-)
23201 sed -n '
23202 p
23203 /[$]LINENO/=
23204 ' <$as_myself |
23103 sed ' 23205 sed '
23206 s/[$]LINENO.*/&-/
23207 t lineno
23208 b
23209 :lineno
23104 N 23210 N
23105 s,$,-, 23211 :loop
23106 : loop 23212 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
23107 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
23108 t loop 23213 t loop
23109 s,-$,, 23214 s/-\n.*//
23110 s,^['$as_cr_digits']*\n,,
23111 ' >$as_me.lineno && 23215 ' >$as_me.lineno &&
23112 chmod +x $as_me.lineno || 23216 chmod +x "$as_me.lineno" ||
23113 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 23217 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
23114echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
23115 { (exit 1); exit 1; }; } 23218 { (exit 1); exit 1; }; }
23116 23219
23117 # Don't try to exec as it changes $[0], causing all sort of problems 23220 # Don't try to exec as it changes $[0], causing all sort of problems
23118 # (the dirname of $[0] is not the place where we might find the 23221 # (the dirname of $[0] is not the place where we might find the
23119 # original and so on. Autoconf is especially sensible to this). 23222 # original and so on. Autoconf is especially sensitive to this).
23120 . ./$as_me.lineno 23223 . "./$as_me.lineno"
23121 # Exit status is that of the last command. 23224 # Exit status is that of the last command.
23122 exit 23225 exit
23123} 23226}
23124 23227
23125 23228
23126case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 23229if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
23127 *c*,-n*) ECHO_N= ECHO_C=' 23230 as_dirname=dirname
23128' ECHO_T=' ' ;; 23231else
23129 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 23232 as_dirname=false
23130 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 23233fi
23234
23235ECHO_C= ECHO_N= ECHO_T=
23236case `echo -n x` in
23237-n*)
23238 case `echo 'x\c'` in
23239 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
23240 *) ECHO_C='\c';;
23241 esac;;
23242*)
23243 ECHO_N='-n';;
23131esac 23244esac
23132 23245
23133if expr a : '\(a\)' >/dev/null 2>&1; then 23246if expr a : '\(a\)' >/dev/null 2>&1 &&
23247 test "X`expr 00001 : '.*\(...\)'`" = X001; then
23134 as_expr=expr 23248 as_expr=expr
23135else 23249else
23136 as_expr=false 23250 as_expr=false
23137fi 23251fi
23138 23252
23139rm -f conf$$ conf$$.exe conf$$.file 23253rm -f conf$$ conf$$.exe conf$$.file
23254if test -d conf$$.dir; then
23255 rm -f conf$$.dir/conf$$.file
23256else
23257 rm -f conf$$.dir
23258 mkdir conf$$.dir
23259fi
23140echo >conf$$.file 23260echo >conf$$.file
23141if ln -s conf$$.file conf$$ 2>/dev/null; then 23261if ln -s conf$$.file conf$$ 2>/dev/null; then
23142 # We could just check for DJGPP; but this test a) works b) is more generic 23262 as_ln_s='ln -s'
23143 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 23263 # ... but there are two gotchas:
23144 if test -f conf$$.exe; then 23264 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23145 # Don't use ln at all; we don't have any links 23265 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23266 # In both cases, we have to default to `cp -p'.
23267 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
23146 as_ln_s='cp -p' 23268 as_ln_s='cp -p'
23147 else
23148 as_ln_s='ln -s'
23149 fi
23150elif ln conf$$.file conf$$ 2>/dev/null; then 23269elif ln conf$$.file conf$$ 2>/dev/null; then
23151 as_ln_s=ln 23270 as_ln_s=ln
23152else 23271else
23153 as_ln_s='cp -p' 23272 as_ln_s='cp -p'
23154fi 23273fi
23155rm -f conf$$ conf$$.exe conf$$.file 23274rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
23275rmdir conf$$.dir 2>/dev/null
23156 23276
23157if mkdir -p . 2>/dev/null; then 23277if mkdir -p . 2>/dev/null; then
23158 as_mkdir_p=: 23278 as_mkdir_p=:
@@ -23161,7 +23281,28 @@ else
23161 as_mkdir_p=false 23281 as_mkdir_p=false
23162fi 23282fi
23163 23283
23164as_executable_p="test -f" 23284if test -x / >/dev/null 2>&1; then
23285 as_test_x='test -x'
23286else
23287 if ls -dL / >/dev/null 2>&1; then
23288 as_ls_L_option=L
23289 else
23290 as_ls_L_option=
23291 fi
23292 as_test_x='
23293 eval sh -c '\''
23294 if test -d "$1"; then
23295 test -d "$1/.";
23296 else
23297 case $1 in
23298 -*)set "./$1";;
23299 esac;
23300 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
23301 ???[sx]*):;;*)false;;esac;fi
23302 '\'' sh
23303 '
23304fi
23305as_executable_p=$as_test_x
23165 23306
23166# Sed expression to map a string onto a valid CPP name. 23307# Sed expression to map a string onto a valid CPP name.
23167as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 23308as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
@@ -23170,31 +23311,14 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23170as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 23311as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23171 23312
23172 23313
23173# IFS
23174# We need space, tab and new line, in precisely that order.
23175as_nl='
23176'
23177IFS=" $as_nl"
23178
23179# CDPATH.
23180$as_unset CDPATH
23181
23182exec 6>&1 23314exec 6>&1
23183 23315
23184# Open the log real soon, to keep \$[0] and so on meaningful, and to 23316# Save the log message, to keep $[0] and so on meaningful, and to
23185# report actual input values of CONFIG_FILES etc. instead of their 23317# report actual input values of CONFIG_FILES etc. instead of their
23186# values after options handling. Logging --version etc. is OK. 23318# values after options handling.
23187exec 5>>config.log 23319ac_log="
23188{
23189 echo
23190 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23191## Running $as_me. ##
23192_ASBOX
23193} >&5
23194cat >&5 <<_CSEOF
23195
23196This file was extended by $as_me, which was 23320This file was extended by $as_me, which was
23197generated by GNU Autoconf 2.59. Invocation command line was 23321generated by GNU Autoconf 2.61. Invocation command line was
23198 23322
23199 CONFIG_FILES = $CONFIG_FILES 23323 CONFIG_FILES = $CONFIG_FILES
23200 CONFIG_HEADERS = $CONFIG_HEADERS 23324 CONFIG_HEADERS = $CONFIG_HEADERS
@@ -23202,30 +23326,20 @@ generated by GNU Autoconf 2.59. Invocation command line was
23202 CONFIG_COMMANDS = $CONFIG_COMMANDS 23326 CONFIG_COMMANDS = $CONFIG_COMMANDS
23203 $ $0 $@ 23327 $ $0 $@
23204 23328
23205_CSEOF 23329on `(hostname || uname -n) 2>/dev/null | sed 1q`
23206echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 23330"
23207echo >&5 23331
23208_ACEOF 23332_ACEOF
23209 23333
23334cat >>$CONFIG_STATUS <<_ACEOF
23210# Files that config.status was made for. 23335# Files that config.status was made for.
23211if test -n "$ac_config_files"; then 23336config_files="$ac_config_files"
23212 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 23337config_headers="$ac_config_headers"
23213fi 23338config_commands="$ac_config_commands"
23214
23215if test -n "$ac_config_headers"; then
23216 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
23217fi
23218 23339
23219if test -n "$ac_config_links"; then 23340_ACEOF
23220 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
23221fi
23222
23223if test -n "$ac_config_commands"; then
23224 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
23225fi
23226 23341
23227cat >>$CONFIG_STATUS <<\_ACEOF 23342cat >>$CONFIG_STATUS <<\_ACEOF
23228
23229ac_cs_usage="\ 23343ac_cs_usage="\
23230\`$as_me' instantiates files from templates according to the 23344\`$as_me' instantiates files from templates according to the
23231current configuration. 23345current configuration.
@@ -23233,7 +23347,7 @@ current configuration.
23233Usage: $0 [OPTIONS] [FILE]... 23347Usage: $0 [OPTIONS] [FILE]...
23234 23348
23235 -h, --help print this help, then exit 23349 -h, --help print this help, then exit
23236 -V, --version print version number, then exit 23350 -V, --version print version number and configuration settings, then exit
23237 -q, --quiet do not print progress messages 23351 -q, --quiet do not print progress messages
23238 -d, --debug don't remove temporary files 23352 -d, --debug don't remove temporary files
23239 --recheck update $as_me by reconfiguring in the same conditions 23353 --recheck update $as_me by reconfiguring in the same conditions
@@ -23252,19 +23366,21 @@ Configuration commands:
23252$config_commands 23366$config_commands
23253 23367
23254Report bugs to <bug-autoconf@gnu.org>." 23368Report bugs to <bug-autoconf@gnu.org>."
23255_ACEOF
23256 23369
23370_ACEOF
23257cat >>$CONFIG_STATUS <<_ACEOF 23371cat >>$CONFIG_STATUS <<_ACEOF
23258ac_cs_version="\\ 23372ac_cs_version="\\
23259config.status 23373config.status
23260configured by $0, generated by GNU Autoconf 2.59, 23374configured by $0, generated by GNU Autoconf 2.61,
23261 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 23375 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
23262 23376
23263Copyright (C) 2003 Free Software Foundation, Inc. 23377Copyright (C) 2006 Free Software Foundation, Inc.
23264This config.status script is free software; the Free Software Foundation 23378This config.status script is free software; the Free Software Foundation
23265gives unlimited permission to copy, distribute and modify it." 23379gives unlimited permission to copy, distribute and modify it."
23266srcdir=$srcdir 23380
23267INSTALL="$INSTALL" 23381ac_pwd='$ac_pwd'
23382srcdir='$srcdir'
23383INSTALL='$INSTALL'
23268_ACEOF 23384_ACEOF
23269 23385
23270cat >>$CONFIG_STATUS <<\_ACEOF 23386cat >>$CONFIG_STATUS <<\_ACEOF
@@ -23275,39 +23391,24 @@ while test $# != 0
23275do 23391do
23276 case $1 in 23392 case $1 in
23277 --*=*) 23393 --*=*)
23278 ac_option=`expr "x$1" : 'x\([^=]*\)='` 23394 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23279 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 23395 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23280 ac_shift=: 23396 ac_shift=:
23281 ;; 23397 ;;
23282 -*) 23398 *)
23283 ac_option=$1 23399 ac_option=$1
23284 ac_optarg=$2 23400 ac_optarg=$2
23285 ac_shift=shift 23401 ac_shift=shift
23286 ;; 23402 ;;
23287 *) # This is not an option, so the user has probably given explicit
23288 # arguments.
23289 ac_option=$1
23290 ac_need_defaults=false;;
23291 esac 23403 esac
23292 23404
23293 case $ac_option in 23405 case $ac_option in
23294 # Handling of the options. 23406 # Handling of the options.
23295_ACEOF
23296cat >>$CONFIG_STATUS <<\_ACEOF
23297 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 23407 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23298 ac_cs_recheck=: ;; 23408 ac_cs_recheck=: ;;
23299 --version | --vers* | -V ) 23409 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23300 echo "$ac_cs_version"; exit 0 ;; 23410 echo "$ac_cs_version"; exit ;;
23301 --he | --h) 23411 --debug | --debu | --deb | --de | --d | -d )
23302 # Conflict between --help and --header
23303 { { echo "$as_me:$LINENO: error: ambiguous option: $1
23304Try \`$0 --help' for more information." >&5
23305echo "$as_me: error: ambiguous option: $1
23306Try \`$0 --help' for more information." >&2;}
23307 { (exit 1); exit 1; }; };;
23308 --help | --hel | -h )
23309 echo "$ac_cs_usage"; exit 0 ;;
23310 --debug | --d* | -d )
23311 debug=: ;; 23412 debug=: ;;
23312 --file | --fil | --fi | --f ) 23413 --file | --fil | --fi | --f )
23313 $ac_shift 23414 $ac_shift
@@ -23317,18 +23418,24 @@ Try \`$0 --help' for more information." >&2;}
23317 $ac_shift 23418 $ac_shift
23318 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 23419 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
23319 ac_need_defaults=false;; 23420 ac_need_defaults=false;;
23421 --he | --h)
23422 # Conflict between --help and --header
23423 { echo "$as_me: error: ambiguous option: $1
23424Try \`$0 --help' for more information." >&2
23425 { (exit 1); exit 1; }; };;
23426 --help | --hel | -h )
23427 echo "$ac_cs_usage"; exit ;;
23320 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 23428 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23321 | -silent | --silent | --silen | --sile | --sil | --si | --s) 23429 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23322 ac_cs_silent=: ;; 23430 ac_cs_silent=: ;;
23323 23431
23324 # This is an error. 23432 # This is an error.
23325 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 23433 -*) { echo "$as_me: error: unrecognized option: $1
23326Try \`$0 --help' for more information." >&5 23434Try \`$0 --help' for more information." >&2
23327echo "$as_me: error: unrecognized option: $1
23328Try \`$0 --help' for more information." >&2;}
23329 { (exit 1); exit 1; }; } ;; 23435 { (exit 1); exit 1; }; } ;;
23330 23436
23331 *) ac_config_targets="$ac_config_targets $1" ;; 23437 *) ac_config_targets="$ac_config_targets $1"
23438 ac_need_defaults=false ;;
23332 23439
23333 esac 23440 esac
23334 shift 23441 shift
@@ -23344,46 +23451,58 @@ fi
23344_ACEOF 23451_ACEOF
23345cat >>$CONFIG_STATUS <<_ACEOF 23452cat >>$CONFIG_STATUS <<_ACEOF
23346if \$ac_cs_recheck; then 23453if \$ac_cs_recheck; then
23347 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 23454 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23348 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 23455 CONFIG_SHELL=$SHELL
23456 export CONFIG_SHELL
23457 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23349fi 23458fi
23350 23459
23351_ACEOF 23460_ACEOF
23461cat >>$CONFIG_STATUS <<\_ACEOF
23462exec 5>>config.log
23463{
23464 echo
23465 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23466## Running $as_me. ##
23467_ASBOX
23468 echo "$ac_log"
23469} >&5
23352 23470
23471_ACEOF
23353cat >>$CONFIG_STATUS <<_ACEOF 23472cat >>$CONFIG_STATUS <<_ACEOF
23354# 23473#
23355# INIT-COMMANDS section. 23474# INIT-COMMANDS
23356# 23475#
23357
23358GCC="$GCC" NON_GNU_CPP="$NON_GNU_CPP" CPP="$CPP" CPP_NEED_TRADITIONAL="$CPP_NEED_TRADITIONAL" CPPFLAGS="$CPPFLAGS" 23476GCC="$GCC" NON_GNU_CPP="$NON_GNU_CPP" CPP="$CPP" CPP_NEED_TRADITIONAL="$CPP_NEED_TRADITIONAL" CPPFLAGS="$CPPFLAGS"
23359 23477
23360_ACEOF 23478_ACEOF
23361 23479
23362
23363
23364cat >>$CONFIG_STATUS <<\_ACEOF 23480cat >>$CONFIG_STATUS <<\_ACEOF
23481
23482# Handling of arguments.
23365for ac_config_target in $ac_config_targets 23483for ac_config_target in $ac_config_targets
23366do 23484do
23367 case "$ac_config_target" in 23485 case $ac_config_target in
23368 # Handling of arguments. 23486 "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;;
23369 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 23487 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
23370 "lib-src/Makefile.c" ) CONFIG_FILES="$CONFIG_FILES lib-src/Makefile.c:lib-src/Makefile.in" ;; 23488 "lib-src/Makefile.c") CONFIG_FILES="$CONFIG_FILES lib-src/Makefile.c:lib-src/Makefile.in" ;;
23371 "oldXMenu/Makefile" ) CONFIG_FILES="$CONFIG_FILES oldXMenu/Makefile" ;; 23489 "oldXMenu/Makefile") CONFIG_FILES="$CONFIG_FILES oldXMenu/Makefile" ;;
23372 "man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; 23490 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
23373 "lwlib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lwlib/Makefile" ;; 23491 "lwlib/Makefile") CONFIG_FILES="$CONFIG_FILES lwlib/Makefile" ;;
23374 "src/Makefile.c" ) CONFIG_FILES="$CONFIG_FILES src/Makefile.c:src/Makefile.in" ;; 23492 "src/Makefile.c") CONFIG_FILES="$CONFIG_FILES src/Makefile.c:src/Makefile.in" ;;
23375 "lisp/Makefile" ) CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;; 23493 "lisp/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;;
23376 "lispref/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispref/Makefile" ;; 23494 "lispref/Makefile") CONFIG_FILES="$CONFIG_FILES lispref/Makefile" ;;
23377 "lispintro/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispintro/Makefile" ;; 23495 "lispintro/Makefile") CONFIG_FILES="$CONFIG_FILES lispintro/Makefile" ;;
23378 "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; 23496 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;
23379 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 23497 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
23380 "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;; 23498
23381 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 23499 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23382echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 23500echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23383 { (exit 1); exit 1; }; };; 23501 { (exit 1); exit 1; }; };;
23384 esac 23502 esac
23385done 23503done
23386 23504
23505
23387# If the user did not use the arguments to specify the items to instantiate, 23506# If the user did not use the arguments to specify the items to instantiate,
23388# then the envvar interface is used. Set only those that are not. 23507# then the envvar interface is used. Set only those that are not.
23389# We use the long form for the default assignment because of an extremely 23508# We use the long form for the default assignment because of an extremely
@@ -23395,351 +23514,458 @@ if $ac_need_defaults; then
23395fi 23514fi
23396 23515
23397# Have a temporary directory for convenience. Make it in the build tree 23516# Have a temporary directory for convenience. Make it in the build tree
23398# simply because there is no reason to put it here, and in addition, 23517# simply because there is no reason against having it here, and in addition,
23399# creating and moving files from /tmp can sometimes cause problems. 23518# creating and moving files from /tmp can sometimes cause problems.
23400# Create a temporary directory, and hook for its removal unless debugging. 23519# Hook for its removal unless debugging.
23520# Note that there is a small window in which the directory will not be cleaned:
23521# after its creation but before its name has been assigned to `$tmp'.
23401$debug || 23522$debug ||
23402{ 23523{
23403 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 23524 tmp=
23525 trap 'exit_status=$?
23526 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23527' 0
23404 trap '{ (exit 1); exit 1; }' 1 2 13 15 23528 trap '{ (exit 1); exit 1; }' 1 2 13 15
23405} 23529}
23406
23407# Create a (secure) tmp directory for tmp files. 23530# Create a (secure) tmp directory for tmp files.
23408 23531
23409{ 23532{
23410 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 23533 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23411 test -n "$tmp" && test -d "$tmp" 23534 test -n "$tmp" && test -d "$tmp"
23412} || 23535} ||
23413{ 23536{
23414 tmp=./confstat$$-$RANDOM 23537 tmp=./conf$$-$RANDOM
23415 (umask 077 && mkdir $tmp) 23538 (umask 077 && mkdir "$tmp")
23416} || 23539} ||
23417{ 23540{
23418 echo "$me: cannot create a temporary directory in ." >&2 23541 echo "$me: cannot create a temporary directory in ." >&2
23419 { (exit 1); exit 1; } 23542 { (exit 1); exit 1; }
23420} 23543}
23421 23544
23422_ACEOF
23423
23424cat >>$CONFIG_STATUS <<_ACEOF
23425
23426# 23545#
23427# CONFIG_FILES section. 23546# Set up the sed scripts for CONFIG_FILES section.
23428# 23547#
23429 23548
23430# No need to generate the scripts if there are no CONFIG_FILES. 23549# No need to generate the scripts if there are no CONFIG_FILES.
23431# This happens for instance when ./config.status config.h 23550# This happens for instance when ./config.status config.h
23432if test -n "\$CONFIG_FILES"; then 23551if test -n "$CONFIG_FILES"; then
23433 # Protect against being on the right side of a sed subst in config.status. 23552
23434 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 23553_ACEOF
23435 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 23554
23436s,@SHELL@,$SHELL,;t t 23555
23437s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 23556
23438s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 23557ac_delim='%!_!# '
23439s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 23558for ac_last_try in false false false false false :; do
23440s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 23559 cat >conf$$subs.sed <<_ACEOF
23441s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 23560SHELL!$SHELL$ac_delim
23442s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 23561PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23443s,@exec_prefix@,$exec_prefix,;t t 23562PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23444s,@prefix@,$prefix,;t t 23563PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23445s,@program_transform_name@,$program_transform_name,;t t 23564PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23446s,@bindir@,$bindir,;t t 23565PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23447s,@sbindir@,$sbindir,;t t 23566PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23448s,@libexecdir@,$libexecdir,;t t 23567exec_prefix!$exec_prefix$ac_delim
23449s,@datadir@,$datadir,;t t 23568prefix!$prefix$ac_delim
23450s,@sysconfdir@,$sysconfdir,;t t 23569program_transform_name!$program_transform_name$ac_delim
23451s,@sharedstatedir@,$sharedstatedir,;t t 23570bindir!$bindir$ac_delim
23452s,@localstatedir@,$localstatedir,;t t 23571sbindir!$sbindir$ac_delim
23453s,@libdir@,$libdir,;t t 23572libexecdir!$libexecdir$ac_delim
23454s,@includedir@,$includedir,;t t 23573datarootdir!$datarootdir$ac_delim
23455s,@oldincludedir@,$oldincludedir,;t t 23574datadir!$datadir$ac_delim
23456s,@infodir@,$infodir,;t t 23575sysconfdir!$sysconfdir$ac_delim
23457s,@mandir@,$mandir,;t t 23576sharedstatedir!$sharedstatedir$ac_delim
23458s,@build_alias@,$build_alias,;t t 23577localstatedir!$localstatedir$ac_delim
23459s,@host_alias@,$host_alias,;t t 23578includedir!$includedir$ac_delim
23460s,@target_alias@,$target_alias,;t t 23579oldincludedir!$oldincludedir$ac_delim
23461s,@DEFS@,$DEFS,;t t 23580docdir!$docdir$ac_delim
23462s,@ECHO_C@,$ECHO_C,;t t 23581infodir!$infodir$ac_delim
23463s,@ECHO_N@,$ECHO_N,;t t 23582htmldir!$htmldir$ac_delim
23464s,@ECHO_T@,$ECHO_T,;t t 23583dvidir!$dvidir$ac_delim
23465s,@LIBS@,$LIBS,;t t 23584pdfdir!$pdfdir$ac_delim
23466s,@MAINT@,$MAINT,;t t 23585psdir!$psdir$ac_delim
23467s,@build@,$build,;t t 23586libdir!$libdir$ac_delim
23468s,@build_cpu@,$build_cpu,;t t 23587localedir!$localedir$ac_delim
23469s,@build_vendor@,$build_vendor,;t t 23588mandir!$mandir$ac_delim
23470s,@build_os@,$build_os,;t t 23589DEFS!$DEFS$ac_delim
23471s,@host@,$host,;t t 23590ECHO_C!$ECHO_C$ac_delim
23472s,@host_cpu@,$host_cpu,;t t 23591ECHO_N!$ECHO_N$ac_delim
23473s,@host_vendor@,$host_vendor,;t t 23592ECHO_T!$ECHO_T$ac_delim
23474s,@host_os@,$host_os,;t t 23593LIBS!$LIBS$ac_delim
23475s,@CC@,$CC,;t t 23594build_alias!$build_alias$ac_delim
23476s,@CFLAGS@,$CFLAGS,;t t 23595host_alias!$host_alias$ac_delim
23477s,@LDFLAGS@,$LDFLAGS,;t t 23596target_alias!$target_alias$ac_delim
23478s,@CPPFLAGS@,$CPPFLAGS,;t t 23597MAINT!$MAINT$ac_delim
23479s,@ac_ct_CC@,$ac_ct_CC,;t t 23598build!$build$ac_delim
23480s,@EXEEXT@,$EXEEXT,;t t 23599build_cpu!$build_cpu$ac_delim
23481s,@OBJEXT@,$OBJEXT,;t t 23600build_vendor!$build_vendor$ac_delim
23482s,@CPP@,$CPP,;t t 23601build_os!$build_os$ac_delim
23483s,@EGREP@,$EGREP,;t t 23602host!$host$ac_delim
23484s,@LN_S@,$LN_S,;t t 23603host_cpu!$host_cpu$ac_delim
23485s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 23604host_vendor!$host_vendor$ac_delim
23486s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 23605host_os!$host_os$ac_delim
23487s,@INSTALL_DATA@,$INSTALL_DATA,;t t 23606CC!$CC$ac_delim
23488s,@RANLIB@,$RANLIB,;t t 23607CFLAGS!$CFLAGS$ac_delim
23489s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 23608LDFLAGS!$LDFLAGS$ac_delim
23490s,@INSTALL_INFO@,$INSTALL_INFO,;t t 23609CPPFLAGS!$CPPFLAGS$ac_delim
23491s,@GZIP_PROG@,$GZIP_PROG,;t t 23610ac_ct_CC!$ac_ct_CC$ac_delim
23492s,@LIBSOUND@,$LIBSOUND,;t t 23611EXEEXT!$EXEEXT$ac_delim
23493s,@PKG_CONFIG@,$PKG_CONFIG,;t t 23612OBJEXT!$OBJEXT$ac_delim
23494s,@ALSA_CFLAGS@,$ALSA_CFLAGS,;t t 23613CPP!$CPP$ac_delim
23495s,@ALSA_LIBS@,$ALSA_LIBS,;t t 23614GREP!$GREP$ac_delim
23496s,@CFLAGS_SOUND@,$CFLAGS_SOUND,;t t 23615EGREP!$EGREP$ac_delim
23497s,@SET_MAKE@,$SET_MAKE,;t t 23616LN_S!$LN_S$ac_delim
23498s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t 23617INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23499s,@GTK_LIBS@,$GTK_LIBS,;t t 23618INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23500s,@ALLOCA@,$ALLOCA,;t t 23619INSTALL_DATA!$INSTALL_DATA$ac_delim
23501s,@liblockfile@,$liblockfile,;t t 23620RANLIB!$RANLIB$ac_delim
23502s,@LIBOBJS@,$LIBOBJS,;t t 23621INSTALL_INFO!$INSTALL_INFO$ac_delim
23503s,@NEED_SETGID@,$NEED_SETGID,;t t 23622GZIP_PROG!$GZIP_PROG$ac_delim
23504s,@KMEM_GROUP@,$KMEM_GROUP,;t t 23623LIBSOUND!$LIBSOUND$ac_delim
23505s,@GETLOADAVG_LIBS@,$GETLOADAVG_LIBS,;t t 23624PKG_CONFIG!$PKG_CONFIG$ac_delim
23506s,@GETOPT_H@,$GETOPT_H,;t t 23625ALSA_CFLAGS!$ALSA_CFLAGS$ac_delim
23507s,@GETOPTOBJS@,$GETOPTOBJS,;t t 23626ALSA_LIBS!$ALSA_LIBS$ac_delim
23508s,@version@,$version,;t t 23627CFLAGS_SOUND!$CFLAGS_SOUND$ac_delim
23509s,@configuration@,$configuration,;t t 23628SET_MAKE!$SET_MAKE$ac_delim
23510s,@canonical@,$canonical,;t t 23629XMKMF!$XMKMF$ac_delim
23511s,@srcdir@,$srcdir,;t t 23630GTK_CFLAGS!$GTK_CFLAGS$ac_delim
23512s,@lispdir@,$lispdir,;t t 23631GTK_LIBS!$GTK_LIBS$ac_delim
23513s,@locallisppath@,$locallisppath,;t t 23632ALLOCA!$ALLOCA$ac_delim
23514s,@lisppath@,$lisppath,;t t 23633liblockfile!$liblockfile$ac_delim
23515s,@x_default_search_path@,$x_default_search_path,;t t 23634LIBOBJS!$LIBOBJS$ac_delim
23516s,@etcdir@,$etcdir,;t t 23635NEED_SETGID!$NEED_SETGID$ac_delim
23517s,@archlibdir@,$archlibdir,;t t 23636KMEM_GROUP!$KMEM_GROUP$ac_delim
23518s,@docdir@,$docdir,;t t 23637GETLOADAVG_LIBS!$GETLOADAVG_LIBS$ac_delim
23519s,@bitmapdir@,$bitmapdir,;t t 23638GETOPT_H!$GETOPT_H$ac_delim
23520s,@gamedir@,$gamedir,;t t 23639GETOPTOBJS!$GETOPTOBJS$ac_delim
23521s,@gameuser@,$gameuser,;t t 23640version!$version$ac_delim
23522s,@c_switch_system@,$c_switch_system,;t t 23641configuration!$configuration$ac_delim
23523s,@c_switch_machine@,$c_switch_machine,;t t 23642canonical!$canonical$ac_delim
23524s,@LD_SWITCH_X_SITE@,$LD_SWITCH_X_SITE,;t t 23643srcdir!$srcdir$ac_delim
23525s,@LD_SWITCH_X_SITE_AUX@,$LD_SWITCH_X_SITE_AUX,;t t 23644lispdir!$lispdir$ac_delim
23526s,@C_SWITCH_X_SITE@,$C_SWITCH_X_SITE,;t t 23645locallisppath!$locallisppath$ac_delim
23527s,@X_TOOLKIT_TYPE@,$X_TOOLKIT_TYPE,;t t 23646lisppath!$lisppath$ac_delim
23528s,@machfile@,$machfile,;t t 23647x_default_search_path!$x_default_search_path$ac_delim
23529s,@opsysfile@,$opsysfile,;t t 23648etcdir!$etcdir$ac_delim
23530s,@carbon_appdir@,$carbon_appdir,;t t 23649archlibdir!$archlibdir$ac_delim
23531s,@LTLIBOBJS@,$LTLIBOBJS,;t t 23650bitmapdir!$bitmapdir$ac_delim
23532CEOF 23651gamedir!$gamedir$ac_delim
23533 23652gameuser!$gameuser$ac_delim
23534_ACEOF 23653c_switch_system!$c_switch_system$ac_delim
23535 23654c_switch_machine!$c_switch_machine$ac_delim
23536 cat >>$CONFIG_STATUS <<\_ACEOF 23655LD_SWITCH_X_SITE!$LD_SWITCH_X_SITE$ac_delim
23537 # Split the substitutions into bite-sized pieces for seds with 23656LD_SWITCH_X_SITE_AUX!$LD_SWITCH_X_SITE_AUX$ac_delim
23538 # small command number limits, like on Digital OSF/1 and HP-UX. 23657_ACEOF
23539 ac_max_sed_lines=48 23658
23540 ac_sed_frag=1 # Number of current file. 23659 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
23541 ac_beg=1 # First line for current file. 23660 break
23542 ac_end=$ac_max_sed_lines # Line after last line for current file. 23661 elif $ac_last_try; then
23543 ac_more_lines=: 23662 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23544 ac_sed_cmds= 23663echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23545 while $ac_more_lines; do 23664 { (exit 1); exit 1; }; }
23546 if test $ac_beg -gt 1; then 23665 else
23547 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 23666 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23548 else
23549 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23550 fi
23551 if test ! -s $tmp/subs.frag; then
23552 ac_more_lines=false
23553 else
23554 # The purpose of the label and of the branching condition is to
23555 # speed up the sed processing (if there are no `@' at all, there
23556 # is no need to browse any of the substitutions).
23557 # These are the two extra sed commands mentioned above.
23558 (echo ':t
23559 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
23560 if test -z "$ac_sed_cmds"; then
23561 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
23562 else
23563 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
23564 fi
23565 ac_sed_frag=`expr $ac_sed_frag + 1`
23566 ac_beg=$ac_end
23567 ac_end=`expr $ac_end + $ac_max_sed_lines`
23568 fi
23569 done
23570 if test -z "$ac_sed_cmds"; then
23571 ac_sed_cmds=cat
23572 fi 23667 fi
23573fi # test -n "$CONFIG_FILES" 23668done
23669
23670ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23671if test -n "$ac_eof"; then
23672 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23673 ac_eof=`expr $ac_eof + 1`
23674fi
23574 23675
23676cat >>$CONFIG_STATUS <<_ACEOF
23677cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23678/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23575_ACEOF 23679_ACEOF
23680sed '
23681s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23682s/^/s,@/; s/!/@,|#_!!_#|/
23683:n
23684t n
23685s/'"$ac_delim"'$/,g/; t
23686s/$/\\/; p
23687N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23688' >>$CONFIG_STATUS <conf$$subs.sed
23689rm -f conf$$subs.sed
23690cat >>$CONFIG_STATUS <<_ACEOF
23691CEOF$ac_eof
23692_ACEOF
23693
23694
23695ac_delim='%!_!# '
23696for ac_last_try in false false false false false :; do
23697 cat >conf$$subs.sed <<_ACEOF
23698C_SWITCH_X_SITE!$C_SWITCH_X_SITE$ac_delim
23699X_TOOLKIT_TYPE!$X_TOOLKIT_TYPE$ac_delim
23700machfile!$machfile$ac_delim
23701opsysfile!$opsysfile$ac_delim
23702carbon_appdir!$carbon_appdir$ac_delim
23703LTLIBOBJS!$LTLIBOBJS$ac_delim
23704_ACEOF
23705
23706 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 6; then
23707 break
23708 elif $ac_last_try; then
23709 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23710echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23711 { (exit 1); exit 1; }; }
23712 else
23713 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23714 fi
23715done
23716
23717ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23718if test -n "$ac_eof"; then
23719 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23720 ac_eof=`expr $ac_eof + 1`
23721fi
23722
23723cat >>$CONFIG_STATUS <<_ACEOF
23724cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23725/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23726_ACEOF
23727sed '
23728s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23729s/^/s,@/; s/!/@,|#_!!_#|/
23730:n
23731t n
23732s/'"$ac_delim"'$/,g/; t
23733s/$/\\/; p
23734N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23735' >>$CONFIG_STATUS <conf$$subs.sed
23736rm -f conf$$subs.sed
23737cat >>$CONFIG_STATUS <<_ACEOF
23738:end
23739s/|#_!!_#|//g
23740CEOF$ac_eof
23741_ACEOF
23742
23743
23744# VPATH may cause trouble with some makes, so we remove $(srcdir),
23745# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23746# trailing colons and then remove the whole line if VPATH becomes empty
23747# (actually we leave an empty line to preserve line numbers).
23748if test "x$srcdir" = x.; then
23749 ac_vpsub='/^[ ]*VPATH[ ]*=/{
23750s/:*\$(srcdir):*/:/
23751s/:*\${srcdir}:*/:/
23752s/:*@srcdir@:*/:/
23753s/^\([^=]*=[ ]*\):*/\1/
23754s/:*$//
23755s/^[^=]*=[ ]*$//
23756}'
23757fi
23758
23576cat >>$CONFIG_STATUS <<\_ACEOF 23759cat >>$CONFIG_STATUS <<\_ACEOF
23577for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 23760fi # test -n "$CONFIG_FILES"
23578 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 23761
23579 case $ac_file in 23762
23580 - | *:- | *:-:* ) # input from stdin 23763for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
23581 cat >$tmp/stdin 23764do
23582 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 23765 case $ac_tag in
23583 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 23766 :[FHLC]) ac_mode=$ac_tag; continue;;
23584 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 23767 esac
23585 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 23768 case $ac_mode$ac_tag in
23586 * ) ac_file_in=$ac_file.in ;; 23769 :[FHL]*:*);;
23770 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23771echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23772 { (exit 1); exit 1; }; };;
23773 :[FH]-) ac_tag=-:-;;
23774 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23775 esac
23776 ac_save_IFS=$IFS
23777 IFS=:
23778 set x $ac_tag
23779 IFS=$ac_save_IFS
23780 shift
23781 ac_file=$1
23782 shift
23783
23784 case $ac_mode in
23785 :L) ac_source=$1;;
23786 :[FH])
23787 ac_file_inputs=
23788 for ac_f
23789 do
23790 case $ac_f in
23791 -) ac_f="$tmp/stdin";;
23792 *) # Look for the file first in the build tree, then in the source tree
23793 # (if the path is not absolute). The absolute path cannot be DOS-style,
23794 # because $ac_f cannot contain `:'.
23795 test -f "$ac_f" ||
23796 case $ac_f in
23797 [\\/$]*) false;;
23798 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23799 esac ||
23800 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23801echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23802 { (exit 1); exit 1; }; };;
23803 esac
23804 ac_file_inputs="$ac_file_inputs $ac_f"
23805 done
23806
23807 # Let's still pretend it is `configure' which instantiates (i.e., don't
23808 # use $as_me), people would be surprised to read:
23809 # /* config.h. Generated by config.status. */
23810 configure_input="Generated from "`IFS=:
23811 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23812 if test x"$ac_file" != x-; then
23813 configure_input="$ac_file. $configure_input"
23814 { echo "$as_me:$LINENO: creating $ac_file" >&5
23815echo "$as_me: creating $ac_file" >&6;}
23816 fi
23817
23818 case $ac_tag in
23819 *:-:* | *:-) cat >"$tmp/stdin";;
23820 esac
23821 ;;
23587 esac 23822 esac
23588 23823
23589 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 23824 ac_dir=`$as_dirname -- "$ac_file" ||
23590 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
23591$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 23825$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23592 X"$ac_file" : 'X\(//\)[^/]' \| \ 23826 X"$ac_file" : 'X\(//\)[^/]' \| \
23593 X"$ac_file" : 'X\(//\)$' \| \ 23827 X"$ac_file" : 'X\(//\)$' \| \
23594 X"$ac_file" : 'X\(/\)' \| \ 23828 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23595 . : '\(.\)' 2>/dev/null ||
23596echo X"$ac_file" | 23829echo X"$ac_file" |
23597 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 23830 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23598 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 23831 s//\1/
23599 /^X\(\/\/\)$/{ s//\1/; q; } 23832 q
23600 /^X\(\/\).*/{ s//\1/; q; } 23833 }
23601 s/.*/./; q'` 23834 /^X\(\/\/\)[^/].*/{
23602 { if $as_mkdir_p; then 23835 s//\1/
23603 mkdir -p "$ac_dir" 23836 q
23604 else 23837 }
23605 as_dir="$ac_dir" 23838 /^X\(\/\/\)$/{
23839 s//\1/
23840 q
23841 }
23842 /^X\(\/\).*/{
23843 s//\1/
23844 q
23845 }
23846 s/.*/./; q'`
23847 { as_dir="$ac_dir"
23848 case $as_dir in #(
23849 -*) as_dir=./$as_dir;;
23850 esac
23851 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23606 as_dirs= 23852 as_dirs=
23607 while test ! -d "$as_dir"; do 23853 while :; do
23608 as_dirs="$as_dir $as_dirs" 23854 case $as_dir in #(
23609 as_dir=`(dirname "$as_dir") 2>/dev/null || 23855 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23856 *) as_qdir=$as_dir;;
23857 esac
23858 as_dirs="'$as_qdir' $as_dirs"
23859 as_dir=`$as_dirname -- "$as_dir" ||
23610$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 23860$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23611 X"$as_dir" : 'X\(//\)[^/]' \| \ 23861 X"$as_dir" : 'X\(//\)[^/]' \| \
23612 X"$as_dir" : 'X\(//\)$' \| \ 23862 X"$as_dir" : 'X\(//\)$' \| \
23613 X"$as_dir" : 'X\(/\)' \| \ 23863 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23614 . : '\(.\)' 2>/dev/null ||
23615echo X"$as_dir" | 23864echo X"$as_dir" |
23616 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 23865 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23617 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 23866 s//\1/
23618 /^X\(\/\/\)$/{ s//\1/; q; } 23867 q
23619 /^X\(\/\).*/{ s//\1/; q; } 23868 }
23620 s/.*/./; q'` 23869 /^X\(\/\/\)[^/].*/{
23870 s//\1/
23871 q
23872 }
23873 /^X\(\/\/\)$/{
23874 s//\1/
23875 q
23876 }
23877 /^X\(\/\).*/{
23878 s//\1/
23879 q
23880 }
23881 s/.*/./; q'`
23882 test -d "$as_dir" && break
23621 done 23883 done
23622 test ! -n "$as_dirs" || mkdir $as_dirs 23884 test -z "$as_dirs" || eval "mkdir $as_dirs"
23623 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 23885 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23624echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 23886echo "$as_me: error: cannot create directory $as_dir" >&2;}
23625 { (exit 1); exit 1; }; }; } 23887 { (exit 1); exit 1; }; }; }
23626
23627 ac_builddir=. 23888 ac_builddir=.
23628 23889
23629if test "$ac_dir" != .; then 23890case "$ac_dir" in
23891.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23892*)
23630 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 23893 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23631 # A "../" for each directory in $ac_dir_suffix. 23894 # A ".." for each directory in $ac_dir_suffix.
23632 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 23895 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23633else 23896 case $ac_top_builddir_sub in
23634 ac_dir_suffix= ac_top_builddir= 23897 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23635fi 23898 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23899 esac ;;
23900esac
23901ac_abs_top_builddir=$ac_pwd
23902ac_abs_builddir=$ac_pwd$ac_dir_suffix
23903# for backward compatibility:
23904ac_top_builddir=$ac_top_build_prefix
23636 23905
23637case $srcdir in 23906case $srcdir in
23638 .) # No --srcdir option. We are building in place. 23907 .) # We are building in place.
23639 ac_srcdir=. 23908 ac_srcdir=.
23640 if test -z "$ac_top_builddir"; then 23909 ac_top_srcdir=$ac_top_builddir_sub
23641 ac_top_srcdir=. 23910 ac_abs_top_srcdir=$ac_pwd ;;
23642 else 23911 [\\/]* | ?:[\\/]* ) # Absolute name.
23643 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
23644 fi ;;
23645 [\\/]* | ?:[\\/]* ) # Absolute path.
23646 ac_srcdir=$srcdir$ac_dir_suffix; 23912 ac_srcdir=$srcdir$ac_dir_suffix;
23647 ac_top_srcdir=$srcdir ;; 23913 ac_top_srcdir=$srcdir
23648 *) # Relative path. 23914 ac_abs_top_srcdir=$srcdir ;;
23649 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 23915 *) # Relative name.
23650 ac_top_srcdir=$ac_top_builddir$srcdir ;; 23916 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23917 ac_top_srcdir=$ac_top_build_prefix$srcdir
23918 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23651esac 23919esac
23920ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23652 23921
23653# Do not use `cd foo && pwd` to compute absolute paths, because
23654# the directories may not exist.
23655case `pwd` in
23656.) ac_abs_builddir="$ac_dir";;
23657*)
23658 case "$ac_dir" in
23659 .) ac_abs_builddir=`pwd`;;
23660 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
23661 *) ac_abs_builddir=`pwd`/"$ac_dir";;
23662 esac;;
23663esac
23664case $ac_abs_builddir in
23665.) ac_abs_top_builddir=${ac_top_builddir}.;;
23666*)
23667 case ${ac_top_builddir}. in
23668 .) ac_abs_top_builddir=$ac_abs_builddir;;
23669 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
23670 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
23671 esac;;
23672esac
23673case $ac_abs_builddir in
23674.) ac_abs_srcdir=$ac_srcdir;;
23675*)
23676 case $ac_srcdir in
23677 .) ac_abs_srcdir=$ac_abs_builddir;;
23678 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
23679 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
23680 esac;;
23681esac
23682case $ac_abs_builddir in
23683.) ac_abs_top_srcdir=$ac_top_srcdir;;
23684*)
23685 case $ac_top_srcdir in
23686 .) ac_abs_top_srcdir=$ac_abs_builddir;;
23687 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
23688 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
23689 esac;;
23690esac
23691 23922
23923 case $ac_mode in
23924 :F)
23925 #
23926 # CONFIG_FILE
23927 #
23692 23928
23693 case $INSTALL in 23929 case $INSTALL in
23694 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 23930 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23695 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 23931 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
23696 esac 23932 esac
23933_ACEOF
23697 23934
23698 # Let's still pretend it is `configure' which instantiates (i.e., don't 23935cat >>$CONFIG_STATUS <<\_ACEOF
23699 # use $as_me), people would be surprised to read: 23936# If the template does not know about datarootdir, expand it.
23700 # /* config.h. Generated by config.status. */ 23937# FIXME: This hack should be removed a few years after 2.60.
23701 if test x"$ac_file" = x-; then 23938ac_datarootdir_hack=; ac_datarootdir_seen=
23702 configure_input=
23703 else
23704 configure_input="$ac_file. "
23705 fi
23706 configure_input=$configure_input"Generated from `echo $ac_file_in |
23707 sed 's,.*/,,'` by configure."
23708
23709 # First look for the input files in the build tree, otherwise in the
23710 # src tree.
23711 ac_file_inputs=`IFS=:
23712 for f in $ac_file_in; do
23713 case $f in
23714 -) echo $tmp/stdin ;;
23715 [\\/$]*)
23716 # Absolute (can't be DOS-style, as IFS=:)
23717 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23718echo "$as_me: error: cannot find input file: $f" >&2;}
23719 { (exit 1); exit 1; }; }
23720 echo "$f";;
23721 *) # Relative
23722 if test -f "$f"; then
23723 # Build tree
23724 echo "$f"
23725 elif test -f "$srcdir/$f"; then
23726 # Source tree
23727 echo "$srcdir/$f"
23728 else
23729 # /dev/null tree
23730 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23731echo "$as_me: error: cannot find input file: $f" >&2;}
23732 { (exit 1); exit 1; }; }
23733 fi;;
23734 esac
23735 done` || { (exit 1); exit 1; }
23736 23939
23737 if test x"$ac_file" != x-; then 23940case `sed -n '/datarootdir/ {
23738 { echo "$as_me:$LINENO: creating $ac_file" >&5 23941 p
23739echo "$as_me: creating $ac_file" >&6;} 23942 q
23740 rm -f "$ac_file" 23943}
23741 fi 23944/@datadir@/p
23945/@docdir@/p
23946/@infodir@/p
23947/@localedir@/p
23948/@mandir@/p
23949' $ac_file_inputs` in
23950*datarootdir*) ac_datarootdir_seen=yes;;
23951*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23952 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23953echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23954_ACEOF
23955cat >>$CONFIG_STATUS <<_ACEOF
23956 ac_datarootdir_hack='
23957 s&@datadir@&$datadir&g
23958 s&@docdir@&$docdir&g
23959 s&@infodir@&$infodir&g
23960 s&@localedir@&$localedir&g
23961 s&@mandir@&$mandir&g
23962 s&\\\${datarootdir}&$datarootdir&g' ;;
23963esac
23742_ACEOF 23964_ACEOF
23965
23966# Neutralize VPATH when `$srcdir' = `.'.
23967# Shell code in configure.ac might set extrasub.
23968# FIXME: do we really want to maintain this feature?
23743cat >>$CONFIG_STATUS <<_ACEOF 23969cat >>$CONFIG_STATUS <<_ACEOF
23744 sed "$ac_vpsub 23970 sed "$ac_vpsub
23745$extrasub 23971$extrasub
@@ -23747,365 +23973,140 @@ _ACEOF
23747cat >>$CONFIG_STATUS <<\_ACEOF 23973cat >>$CONFIG_STATUS <<\_ACEOF
23748:t 23974:t
23749/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 23975/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23750s,@configure_input@,$configure_input,;t t 23976s&@configure_input@&$configure_input&;t t
23751s,@srcdir@,$ac_srcdir,;t t 23977s&@top_builddir@&$ac_top_builddir_sub&;t t
23752s,@abs_srcdir@,$ac_abs_srcdir,;t t 23978s&@srcdir@&$ac_srcdir&;t t
23753s,@top_srcdir@,$ac_top_srcdir,;t t 23979s&@abs_srcdir@&$ac_abs_srcdir&;t t
23754s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 23980s&@top_srcdir@&$ac_top_srcdir&;t t
23755s,@builddir@,$ac_builddir,;t t 23981s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
23756s,@abs_builddir@,$ac_abs_builddir,;t t 23982s&@builddir@&$ac_builddir&;t t
23757s,@top_builddir@,$ac_top_builddir,;t t 23983s&@abs_builddir@&$ac_abs_builddir&;t t
23758s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 23984s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
23759s,@INSTALL@,$ac_INSTALL,;t t 23985s&@INSTALL@&$ac_INSTALL&;t t
23760" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 23986$ac_datarootdir_hack
23761 rm -f $tmp/stdin 23987" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
23762 if test x"$ac_file" != x-; then 23988
23763 mv $tmp/out $ac_file 23989test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23764 else 23990 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
23765 cat $tmp/out 23991 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
23766 rm -f $tmp/out 23992 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23767 fi 23993which seems to be undefined. Please make sure it is defined." >&5
23768 23994echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23769done 23995which seems to be undefined. Please make sure it is defined." >&2;}
23770_ACEOF 23996
23771cat >>$CONFIG_STATUS <<\_ACEOF 23997 rm -f "$tmp/stdin"
23772
23773#
23774# CONFIG_HEADER section.
23775#
23776
23777# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
23778# NAME is the cpp macro being defined and VALUE is the value it is being given.
23779#
23780# ac_d sets the value in "#define NAME VALUE" lines.
23781ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
23782ac_dB='[ ].*$,\1#\2'
23783ac_dC=' '
23784ac_dD=',;t'
23785# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
23786ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
23787ac_uB='$,\1#\2define\3'
23788ac_uC=' '
23789ac_uD=',;t'
23790
23791for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
23792 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23793 case $ac_file in 23998 case $ac_file in
23794 - | *:- | *:-:* ) # input from stdin 23999 -) cat "$tmp/out"; rm -f "$tmp/out";;
23795 cat >$tmp/stdin 24000 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23796 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23797 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23798 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23799 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23800 * ) ac_file_in=$ac_file.in ;;
23801 esac 24001 esac
23802 24002 ;;
23803 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 24003 :H)
23804echo "$as_me: creating $ac_file" >&6;} 24004 #
23805 24005 # CONFIG_HEADER
23806 # First look for the input files in the build tree, otherwise in the 24006 #
23807 # src tree. 24007_ACEOF
23808 ac_file_inputs=`IFS=: 24008
23809 for f in $ac_file_in; do 24009# Transform confdefs.h into a sed script `conftest.defines', that
23810 case $f in 24010# substitutes the proper values into config.h.in to produce config.h.
23811 -) echo $tmp/stdin ;; 24011rm -f conftest.defines conftest.tail
23812 [\\/$]*) 24012# First, append a space to every undef/define line, to ease matching.
23813 # Absolute (can't be DOS-style, as IFS=:) 24013echo 's/$/ /' >conftest.defines
23814 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 24014# Then, protect against being on the right side of a sed subst, or in
23815echo "$as_me: error: cannot find input file: $f" >&2;} 24015# an unquoted here document, in config.status. If some macros were
23816 { (exit 1); exit 1; }; } 24016# called several times there might be several #defines for the same
23817 # Do quote $f, to prevent DOS paths from being IFS'd. 24017# symbol, which is useless. But do not sort them, since the last
23818 echo "$f";; 24018# AC_DEFINE must be honored.
23819 *) # Relative 24019ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23820 if test -f "$f"; then 24020# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23821 # Build tree 24021# NAME is the cpp macro being defined, VALUE is the value it is being given.
23822 echo "$f" 24022# PARAMS is the parameter list in the macro definition--in most cases, it's
23823 elif test -f "$srcdir/$f"; then 24023# just an empty string.
23824 # Source tree 24024ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
23825 echo "$srcdir/$f" 24025ac_dB='\\)[ (].*,\\1define\\2'
23826 else 24026ac_dC=' '
23827 # /dev/null tree 24027ac_dD=' ,'
23828 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 24028
23829echo "$as_me: error: cannot find input file: $f" >&2;} 24029uniq confdefs.h |
23830 { (exit 1); exit 1; }; } 24030 sed -n '
23831 fi;; 24031 t rset
23832 esac 24032 :rset
23833 done` || { (exit 1); exit 1; } 24033 s/^[ ]*#[ ]*define[ ][ ]*//
23834 # Remove the trailing spaces. 24034 t ok
23835 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 24035 d
23836 24036 :ok
23837_ACEOF 24037 s/[\\&,]/\\&/g
23838 24038 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23839# Transform confdefs.h into two sed scripts, `conftest.defines' and 24039 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23840# `conftest.undefs', that substitutes the proper values into 24040 ' >>conftest.defines
23841# config.h.in to produce config.h. The first handles `#define' 24041
23842# templates, and the second `#undef' templates. 24042# Remove the space that was appended to ease matching.
23843# And first: Protect against being on the right side of a sed subst in 24043# Then replace #undef with comments. This is necessary, for
23844# config.status. Protect against being in an unquoted here document
23845# in config.status.
23846rm -f conftest.defines conftest.undefs
23847# Using a here document instead of a string reduces the quoting nightmare.
23848# Putting comments in sed scripts is not portable.
23849#
23850# `end' is used to avoid that the second main sed command (meant for
23851# 0-ary CPP macros) applies to n-ary macro definitions.
23852# See the Autoconf documentation for `clear'.
23853cat >confdef2sed.sed <<\_ACEOF
23854s/[\\&,]/\\&/g
23855s,[\\$`],\\&,g
23856t clear
23857: clear
23858s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
23859t end
23860s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
23861: end
23862_ACEOF
23863# If some macros were called several times there might be several times
23864# the same #defines, which is useless. Nevertheless, we may not want to
23865# sort them, since we want the *last* AC-DEFINE to be honored.
23866uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
23867sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
23868rm -f confdef2sed.sed
23869
23870# This sed command replaces #undef with comments. This is necessary, for
23871# example, in the case of _POSIX_SOURCE, which is predefined and required 24044# example, in the case of _POSIX_SOURCE, which is predefined and required
23872# on some systems where configure will not decide to define it. 24045# on some systems where configure will not decide to define it.
23873cat >>conftest.undefs <<\_ACEOF 24046# (The regexp can be short, since the line contains either #define or #undef.)
23874s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 24047echo 's/ $//
23875_ACEOF 24048s,^[ #]*u.*,/* & */,' >>conftest.defines
23876 24049
23877# Break up conftest.defines because some shells have a limit on the size 24050# Break up conftest.defines:
23878# of here documents, and old seds have small limits too (100 cmds). 24051ac_max_sed_lines=50
23879echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 24052
23880echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 24053# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23881echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 24054# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23882echo ' :' >>$CONFIG_STATUS 24055# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23883rm -f conftest.tail 24056# et cetera.
23884while grep . conftest.defines >/dev/null 24057ac_in='$ac_file_inputs'
24058ac_out='"$tmp/out1"'
24059ac_nxt='"$tmp/out2"'
24060
24061while :
23885do 24062do
23886 # Write a limited-size here document to $tmp/defines.sed. 24063 # Write a here document:
23887 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 24064 cat >>$CONFIG_STATUS <<_ACEOF
23888 # Speed up: don't consider the non `#define' lines. 24065 # First, check the format of the line:
23889 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 24066 cat >"\$tmp/defines.sed" <<\\CEOF
23890 # Work around the forget-to-reset-the-flag bug. 24067/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
23891 echo 't clr' >>$CONFIG_STATUS 24068/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
23892 echo ': clr' >>$CONFIG_STATUS 24069b
23893 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 24070:def
24071_ACEOF
24072 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
23894 echo 'CEOF 24073 echo 'CEOF
23895 sed -f $tmp/defines.sed $tmp/in >$tmp/out 24074 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
23896 rm -f $tmp/in 24075 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
23897 mv $tmp/out $tmp/in 24076 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
23898' >>$CONFIG_STATUS 24077 grep . conftest.tail >/dev/null || break
23899 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
23900 rm -f conftest.defines 24078 rm -f conftest.defines
23901 mv conftest.tail conftest.defines 24079 mv conftest.tail conftest.defines
23902done 24080done
23903rm -f conftest.defines 24081rm -f conftest.defines conftest.tail
23904echo ' fi # grep' >>$CONFIG_STATUS
23905echo >>$CONFIG_STATUS
23906
23907# Break up conftest.undefs because some shells have a limit on the size
23908# of here documents, and old seds have small limits too (100 cmds).
23909echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
23910rm -f conftest.tail
23911while grep . conftest.undefs >/dev/null
23912do
23913 # Write a limited-size here document to $tmp/undefs.sed.
23914 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
23915 # Speed up: don't consider the non `#undef'
23916 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
23917 # Work around the forget-to-reset-the-flag bug.
23918 echo 't clr' >>$CONFIG_STATUS
23919 echo ': clr' >>$CONFIG_STATUS
23920 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
23921 echo 'CEOF
23922 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
23923 rm -f $tmp/in
23924 mv $tmp/out $tmp/in
23925' >>$CONFIG_STATUS
23926 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
23927 rm -f conftest.undefs
23928 mv conftest.tail conftest.undefs
23929done
23930rm -f conftest.undefs
23931 24082
24083echo "ac_result=$ac_in" >>$CONFIG_STATUS
23932cat >>$CONFIG_STATUS <<\_ACEOF 24084cat >>$CONFIG_STATUS <<\_ACEOF
23933 # Let's still pretend it is `configure' which instantiates (i.e., don't
23934 # use $as_me), people would be surprised to read:
23935 # /* config.h. Generated by config.status. */
23936 if test x"$ac_file" = x-; then
23937 echo "/* Generated by configure. */" >$tmp/config.h
23938 else
23939 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
23940 fi
23941 cat $tmp/in >>$tmp/config.h
23942 rm -f $tmp/in
23943 if test x"$ac_file" != x-; then 24085 if test x"$ac_file" != x-; then
23944 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 24086 echo "/* $configure_input */" >"$tmp/config.h"
24087 cat "$ac_result" >>"$tmp/config.h"
24088 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
23945 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 24089 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23946echo "$as_me: $ac_file is unchanged" >&6;} 24090echo "$as_me: $ac_file is unchanged" >&6;}
23947 else 24091 else
23948 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
23949$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23950 X"$ac_file" : 'X\(//\)[^/]' \| \
23951 X"$ac_file" : 'X\(//\)$' \| \
23952 X"$ac_file" : 'X\(/\)' \| \
23953 . : '\(.\)' 2>/dev/null ||
23954echo X"$ac_file" |
23955 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23956 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23957 /^X\(\/\/\)$/{ s//\1/; q; }
23958 /^X\(\/\).*/{ s//\1/; q; }
23959 s/.*/./; q'`
23960 { if $as_mkdir_p; then
23961 mkdir -p "$ac_dir"
23962 else
23963 as_dir="$ac_dir"
23964 as_dirs=
23965 while test ! -d "$as_dir"; do
23966 as_dirs="$as_dir $as_dirs"
23967 as_dir=`(dirname "$as_dir") 2>/dev/null ||
23968$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23969 X"$as_dir" : 'X\(//\)[^/]' \| \
23970 X"$as_dir" : 'X\(//\)$' \| \
23971 X"$as_dir" : 'X\(/\)' \| \
23972 . : '\(.\)' 2>/dev/null ||
23973echo X"$as_dir" |
23974 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23975 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23976 /^X\(\/\/\)$/{ s//\1/; q; }
23977 /^X\(\/\).*/{ s//\1/; q; }
23978 s/.*/./; q'`
23979 done
23980 test ! -n "$as_dirs" || mkdir $as_dirs
23981 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23982echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23983 { (exit 1); exit 1; }; }; }
23984
23985 rm -f $ac_file 24092 rm -f $ac_file
23986 mv $tmp/config.h $ac_file 24093 mv "$tmp/config.h" $ac_file
23987 fi 24094 fi
23988 else 24095 else
23989 cat $tmp/config.h 24096 echo "/* $configure_input */"
23990 rm -f $tmp/config.h 24097 cat "$ac_result"
23991 fi 24098 fi
23992done 24099 rm -f "$tmp/out12"
23993_ACEOF 24100 ;;
23994cat >>$CONFIG_STATUS <<\_ACEOF
23995
23996#
23997# CONFIG_COMMANDS section.
23998#
23999for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
24000 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
24001 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
24002 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
24003$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24004 X"$ac_dest" : 'X\(//\)[^/]' \| \
24005 X"$ac_dest" : 'X\(//\)$' \| \
24006 X"$ac_dest" : 'X\(/\)' \| \
24007 . : '\(.\)' 2>/dev/null ||
24008echo X"$ac_dest" |
24009 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24010 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24011 /^X\(\/\/\)$/{ s//\1/; q; }
24012 /^X\(\/\).*/{ s//\1/; q; }
24013 s/.*/./; q'`
24014 { if $as_mkdir_p; then
24015 mkdir -p "$ac_dir"
24016 else
24017 as_dir="$ac_dir"
24018 as_dirs=
24019 while test ! -d "$as_dir"; do
24020 as_dirs="$as_dir $as_dirs"
24021 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24022$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24023 X"$as_dir" : 'X\(//\)[^/]' \| \
24024 X"$as_dir" : 'X\(//\)$' \| \
24025 X"$as_dir" : 'X\(/\)' \| \
24026 . : '\(.\)' 2>/dev/null ||
24027echo X"$as_dir" |
24028 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24029 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24030 /^X\(\/\/\)$/{ s//\1/; q; }
24031 /^X\(\/\).*/{ s//\1/; q; }
24032 s/.*/./; q'`
24033 done
24034 test ! -n "$as_dirs" || mkdir $as_dirs
24035 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24036echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24037 { (exit 1); exit 1; }; }; }
24038
24039 ac_builddir=.
24040
24041if test "$ac_dir" != .; then
24042 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24043 # A "../" for each directory in $ac_dir_suffix.
24044 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24045else
24046 ac_dir_suffix= ac_top_builddir=
24047fi
24048
24049case $srcdir in
24050 .) # No --srcdir option. We are building in place.
24051 ac_srcdir=.
24052 if test -z "$ac_top_builddir"; then
24053 ac_top_srcdir=.
24054 else
24055 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24056 fi ;;
24057 [\\/]* | ?:[\\/]* ) # Absolute path.
24058 ac_srcdir=$srcdir$ac_dir_suffix;
24059 ac_top_srcdir=$srcdir ;;
24060 *) # Relative path.
24061 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24062 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24063esac
24064 24101
24065# Do not use `cd foo && pwd` to compute absolute paths, because 24102 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
24066# the directories may not exist. 24103echo "$as_me: executing $ac_file commands" >&6;}
24067case `pwd` in 24104 ;;
24068.) ac_abs_builddir="$ac_dir";; 24105 esac
24069*)
24070 case "$ac_dir" in
24071 .) ac_abs_builddir=`pwd`;;
24072 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
24073 *) ac_abs_builddir=`pwd`/"$ac_dir";;
24074 esac;;
24075esac
24076case $ac_abs_builddir in
24077.) ac_abs_top_builddir=${ac_top_builddir}.;;
24078*)
24079 case ${ac_top_builddir}. in
24080 .) ac_abs_top_builddir=$ac_abs_builddir;;
24081 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
24082 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
24083 esac;;
24084esac
24085case $ac_abs_builddir in
24086.) ac_abs_srcdir=$ac_srcdir;;
24087*)
24088 case $ac_srcdir in
24089 .) ac_abs_srcdir=$ac_abs_builddir;;
24090 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
24091 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
24092 esac;;
24093esac
24094case $ac_abs_builddir in
24095.) ac_abs_top_srcdir=$ac_top_srcdir;;
24096*)
24097 case $ac_top_srcdir in
24098 .) ac_abs_top_srcdir=$ac_abs_builddir;;
24099 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
24100 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
24101 esac;;
24102esac
24103 24106
24104 24107
24105 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 24108 case $ac_file$ac_mode in
24106echo "$as_me: executing $ac_dest commands" >&6;} 24109 "default":C)
24107 case $ac_dest in
24108 default )
24109 24110
24110### Make the necessary directories, if they don't exist. 24111### Make the necessary directories, if they don't exist.
24111for dir in etc lisp ; do 24112for dir in etc lisp ; do
@@ -24178,11 +24179,10 @@ fi
24178touch src/config.stamp 24179touch src/config.stamp
24179 24180
24180 ;; 24181 ;;
24182
24181 esac 24183 esac
24182done 24184done # for ac_tag
24183_ACEOF
24184 24185
24185cat >>$CONFIG_STATUS <<\_ACEOF
24186 24186
24187{ (exit 0); exit 0; } 24187{ (exit 0); exit 0; }
24188_ACEOF 24188_ACEOF