Mercurial > emacs
comparison configure @ 74760:1b8ea6fcd267 EMACS_PRETEST_22_0_92
Regenerate.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Tue, 19 Dec 2006 19:48:48 +0000 |
parents | 5dc48c97ce7b |
children | 3ecc464eb15c |
comparison
equal
deleted
inserted
replaced
74759:73ea4cc2cd07 | 74760:1b8ea6fcd267 |
---|---|
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.60. | 3 # Generated by GNU Autoconf 2.59. |
4 # | 4 # |
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | 5 # Copyright (C) 2003 Free Software Foundation, Inc. |
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | |
7 # This configure script is free software; the Free Software Foundation | 6 # This configure script is free software; the Free Software Foundation |
8 # gives unlimited permission to copy, distribute and modify it. | 7 # gives unlimited permission to copy, distribute and modify it. |
9 ## --------------------- ## | 8 ## --------------------- ## |
10 ## M4sh Initialization. ## | 9 ## M4sh Initialization. ## |
11 ## --------------------- ## | 10 ## --------------------- ## |
15 emulate sh | 14 emulate sh |
16 NULLCMD=: | 15 NULLCMD=: |
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | 16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
18 # is contrary to our usage. Disable this feature. | 17 # is contrary to our usage. Disable this feature. |
19 alias -g '${1+"$@"}'='"$@"' | 18 alias -g '${1+"$@"}'='"$@"' |
20 setopt NO_GLOB_SUBST | 19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
21 else | 20 set -o posix |
22 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac | 21 fi |
23 fi | |
24 BIN_SH=xpg4; export BIN_SH # for Tru64 | |
25 DUALCASE=1; export DUALCASE # for MKS sh | 22 DUALCASE=1; export DUALCASE # for MKS sh |
26 | 23 |
27 | 24 # Support unset when possible. |
28 # PATH needs CR | 25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
26 as_unset=unset | |
27 else | |
28 as_unset=false | |
29 fi | |
30 | |
31 | |
32 # Work around bugs in pre-3.0 UWIN ksh. | |
33 $as_unset ENV MAIL MAILPATH | |
34 PS1='$ ' | |
35 PS2='> ' | |
36 PS4='+ ' | |
37 | |
38 # NLS nuisances. | |
39 for as_var in \ | |
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | |
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | |
42 LC_TELEPHONE LC_TIME | |
43 do | |
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | |
45 eval $as_var=C; export $as_var | |
46 else | |
47 $as_unset $as_var | |
48 fi | |
49 done | |
50 | |
51 # Required to use basename. | |
52 if expr a : '\(a\)' >/dev/null 2>&1; then | |
53 as_expr=expr | |
54 else | |
55 as_expr=false | |
56 fi | |
57 | |
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then | |
59 as_basename=basename | |
60 else | |
61 as_basename=false | |
62 fi | |
63 | |
64 | |
65 # Name of the executable. | |
66 as_me=`$as_basename "$0" || | |
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
68 X"$0" : 'X\(//\)$' \| \ | |
69 X"$0" : 'X\(/\)$' \| \ | |
70 . : '\(.\)' 2>/dev/null || | |
71 echo X/"$0" | | |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | |
73 /^X\/\(\/\/\)$/{ s//\1/; q; } | |
74 /^X\/\(\/\).*/{ s//\1/; q; } | |
75 s/.*/./; q'` | |
76 | |
77 | |
78 # PATH needs CR, and LINENO needs CR and PATH. | |
29 # Avoid depending upon Character Ranges. | 79 # Avoid depending upon Character Ranges. |
30 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 80 as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
31 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
32 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
33 as_cr_digits='0123456789' | 83 as_cr_digits='0123456789' |
44 PATH_SEPARATOR=: | 94 PATH_SEPARATOR=: |
45 fi | 95 fi |
46 rm -f conf$$.sh | 96 rm -f conf$$.sh |
47 fi | 97 fi |
48 | 98 |
49 # Support unset when possible. | 99 |
50 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | 100 as_lineno_1=$LINENO |
51 as_unset=unset | 101 as_lineno_2=$LINENO |
52 else | 102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
53 as_unset=false | 103 test "x$as_lineno_1" != "x$as_lineno_2" && |
54 fi | 104 test "x$as_lineno_3" = "x$as_lineno_2" || { |
55 | 105 # Find who we are. Look in the path if we contain no path at all |
56 | 106 # relative or not. |
57 # IFS | 107 case $0 in |
58 # We need space, tab and new line, in precisely that order. Quoting is | 108 *[\\/]* ) as_myself=$0 ;; |
59 # there to prevent editors from complaining about space-tab. | 109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
60 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | |
61 # splitting by setting IFS to empty value.) | |
62 as_nl=' | |
63 ' | |
64 IFS=" "" $as_nl" | |
65 | |
66 # Find who we are. Look in the path if we contain no directory separator. | |
67 case $0 in | |
68 *[\\/]* ) as_myself=$0 ;; | |
69 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
70 for as_dir in $PATH | 110 for as_dir in $PATH |
71 do | 111 do |
72 IFS=$as_save_IFS | 112 IFS=$as_save_IFS |
73 test -z "$as_dir" && as_dir=. | 113 test -z "$as_dir" && as_dir=. |
74 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
75 done | 115 done |
76 IFS=$as_save_IFS | 116 |
77 | 117 ;; |
78 ;; | 118 esac |
79 esac | 119 # We did not find ourselves, most probably we were run as `sh COMMAND' |
80 # We did not find ourselves, most probably we were run as `sh COMMAND' | 120 # in which case we are not to be found in the path. |
81 # in which case we are not to be found in the path. | 121 if test "x$as_myself" = x; then |
82 if test "x$as_myself" = x; then | 122 as_myself=$0 |
83 as_myself=$0 | |
84 fi | |
85 if test ! -f "$as_myself"; then | |
86 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | |
87 { (exit 1); exit 1; } | |
88 fi | |
89 | |
90 # Work around bugs in pre-3.0 UWIN ksh. | |
91 for as_var in ENV MAIL MAILPATH | |
92 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | |
93 done | |
94 PS1='$ ' | |
95 PS2='> ' | |
96 PS4='+ ' | |
97 | |
98 # NLS nuisances. | |
99 for as_var in \ | |
100 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | |
101 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | |
102 LC_TELEPHONE LC_TIME | |
103 do | |
104 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | |
105 eval $as_var=C; export $as_var | |
106 else | |
107 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | |
108 fi | 123 fi |
109 done | 124 if test ! -f "$as_myself"; then |
110 | 125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 |
111 # Required to use basename. | 126 { (exit 1); exit 1; }; } |
112 if expr a : '\(a\)' >/dev/null 2>&1 && | 127 fi |
113 test "X`expr 00001 : '.*\(...\)'`" = X001; then | 128 case $CONFIG_SHELL in |
114 as_expr=expr | 129 '') |
115 else | |
116 as_expr=false | |
117 fi | |
118 | |
119 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | |
120 as_basename=basename | |
121 else | |
122 as_basename=false | |
123 fi | |
124 | |
125 | |
126 # Name of the executable. | |
127 as_me=`$as_basename -- "$0" || | |
128 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
129 X"$0" : 'X\(//\)$' \| \ | |
130 X"$0" : 'X\(/\)' \| . 2>/dev/null || | |
131 echo X/"$0" | | |
132 sed '/^.*\/\([^/][^/]*\)\/*$/{ | |
133 s//\1/ | |
134 q | |
135 } | |
136 /^X\/\(\/\/\)$/{ | |
137 s//\1/ | |
138 q | |
139 } | |
140 /^X\/\(\/\).*/{ | |
141 s//\1/ | |
142 q | |
143 } | |
144 s/.*/./; q'` | |
145 | |
146 # CDPATH. | |
147 $as_unset CDPATH | |
148 | |
149 | |
150 if test "x$CONFIG_SHELL" = x; then | |
151 if (eval ":") 2>/dev/null; then | |
152 as_have_required=yes | |
153 else | |
154 as_have_required=no | |
155 fi | |
156 | |
157 if test $as_have_required = yes && (eval ": | |
158 (as_func_return () { | |
159 (exit \$1) | |
160 } | |
161 as_func_success () { | |
162 as_func_return 0 | |
163 } | |
164 as_func_failure () { | |
165 as_func_return 1 | |
166 } | |
167 as_func_ret_success () { | |
168 return 0 | |
169 } | |
170 as_func_ret_failure () { | |
171 return 1 | |
172 } | |
173 | |
174 exitcode=0 | |
175 if as_func_success; then | |
176 : | |
177 else | |
178 exitcode=1 | |
179 echo as_func_success failed. | |
180 fi | |
181 | |
182 if as_func_failure; then | |
183 exitcode=1 | |
184 echo as_func_failure succeeded. | |
185 fi | |
186 | |
187 if as_func_ret_success; then | |
188 : | |
189 else | |
190 exitcode=1 | |
191 echo as_func_ret_success failed. | |
192 fi | |
193 | |
194 if as_func_ret_failure; then | |
195 exitcode=1 | |
196 echo as_func_ret_failure succeeded. | |
197 fi | |
198 | |
199 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | |
200 : | |
201 else | |
202 exitcode=1 | |
203 echo positional parameters were not saved. | |
204 fi | |
205 | |
206 test \$exitcode = 0) || { (exit 1); exit 1; } | |
207 | |
208 ( | |
209 as_lineno_1=\$LINENO | |
210 as_lineno_2=\$LINENO | |
211 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && | |
212 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } | |
213 ") 2> /dev/null; then | |
214 : | |
215 else | |
216 as_candidate_shells= | |
217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
218 for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | 131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
219 do | 132 do |
220 IFS=$as_save_IFS | 133 IFS=$as_save_IFS |
221 test -z "$as_dir" && as_dir=. | 134 test -z "$as_dir" && as_dir=. |
222 case $as_dir in | 135 for as_base in sh bash ksh sh5; do |
136 case $as_dir in | |
223 /*) | 137 /*) |
224 for as_base in sh bash ksh sh5; do | 138 if ("$as_dir/$as_base" -c ' |
225 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" | |
226 done;; | |
227 esac | |
228 done | |
229 IFS=$as_save_IFS | |
230 | |
231 | |
232 for as_shell in $as_candidate_shells $SHELL; do | |
233 # Try only shells that exist, to save several forks. | |
234 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | |
235 { ("$as_shell") 2> /dev/null <<\_ASEOF | |
236 # Be Bourne compatible | |
237 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
238 emulate sh | |
239 NULLCMD=: | |
240 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | |
241 # is contrary to our usage. Disable this feature. | |
242 alias -g '${1+"$@"}'='"$@"' | |
243 setopt NO_GLOB_SUBST | |
244 else | |
245 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac | |
246 fi | |
247 BIN_SH=xpg4; export BIN_SH # for Tru64 | |
248 DUALCASE=1; export DUALCASE # for MKS sh | |
249 | |
250 : | |
251 _ASEOF | |
252 }; then | |
253 CONFIG_SHELL=$as_shell | |
254 as_have_required=yes | |
255 if { "$as_shell" 2> /dev/null <<\_ASEOF | |
256 # Be Bourne compatible | |
257 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
258 emulate sh | |
259 NULLCMD=: | |
260 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | |
261 # is contrary to our usage. Disable this feature. | |
262 alias -g '${1+"$@"}'='"$@"' | |
263 setopt NO_GLOB_SUBST | |
264 else | |
265 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac | |
266 fi | |
267 BIN_SH=xpg4; export BIN_SH # for Tru64 | |
268 DUALCASE=1; export DUALCASE # for MKS sh | |
269 | |
270 : | |
271 (as_func_return () { | |
272 (exit $1) | |
273 } | |
274 as_func_success () { | |
275 as_func_return 0 | |
276 } | |
277 as_func_failure () { | |
278 as_func_return 1 | |
279 } | |
280 as_func_ret_success () { | |
281 return 0 | |
282 } | |
283 as_func_ret_failure () { | |
284 return 1 | |
285 } | |
286 | |
287 exitcode=0 | |
288 if as_func_success; then | |
289 : | |
290 else | |
291 exitcode=1 | |
292 echo as_func_success failed. | |
293 fi | |
294 | |
295 if as_func_failure; then | |
296 exitcode=1 | |
297 echo as_func_failure succeeded. | |
298 fi | |
299 | |
300 if as_func_ret_success; then | |
301 : | |
302 else | |
303 exitcode=1 | |
304 echo as_func_ret_success failed. | |
305 fi | |
306 | |
307 if as_func_ret_failure; then | |
308 exitcode=1 | |
309 echo as_func_ret_failure succeeded. | |
310 fi | |
311 | |
312 if ( set x; as_func_ret_success y && test x = "$1" ); then | |
313 : | |
314 else | |
315 exitcode=1 | |
316 echo positional parameters were not saved. | |
317 fi | |
318 | |
319 test $exitcode = 0) || { (exit 1); exit 1; } | |
320 | |
321 ( | |
322 as_lineno_1=$LINENO | 139 as_lineno_1=$LINENO |
323 as_lineno_2=$LINENO | 140 as_lineno_2=$LINENO |
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | |
324 test "x$as_lineno_1" != "x$as_lineno_2" && | 142 test "x$as_lineno_1" != "x$as_lineno_2" && |
325 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } | 143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
326 | 144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
327 _ASEOF | 145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
328 }; then | 146 CONFIG_SHELL=$as_dir/$as_base |
329 break | 147 export CONFIG_SHELL |
330 fi | 148 exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
331 | 149 fi;; |
332 fi | 150 esac |
333 | 151 done |
334 done | 152 done |
335 | 153 ;; |
336 if test "x$CONFIG_SHELL" != x; then | 154 esac |
337 for as_var in BASH_ENV ENV | |
338 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | |
339 done | |
340 export CONFIG_SHELL | |
341 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} | |
342 fi | |
343 | |
344 | |
345 if test $as_have_required = no; then | |
346 echo This script requires a shell more modern than all the | |
347 echo shells that I found on your system. Please install a | |
348 echo modern shell, or manually run the script under such a | |
349 echo shell if you do have one. | |
350 { (exit 1); exit 1; } | |
351 fi | |
352 | |
353 | |
354 fi | |
355 | |
356 fi | |
357 | |
358 | |
359 | |
360 (eval "as_func_return () { | |
361 (exit \$1) | |
362 } | |
363 as_func_success () { | |
364 as_func_return 0 | |
365 } | |
366 as_func_failure () { | |
367 as_func_return 1 | |
368 } | |
369 as_func_ret_success () { | |
370 return 0 | |
371 } | |
372 as_func_ret_failure () { | |
373 return 1 | |
374 } | |
375 | |
376 exitcode=0 | |
377 if as_func_success; then | |
378 : | |
379 else | |
380 exitcode=1 | |
381 echo as_func_success failed. | |
382 fi | |
383 | |
384 if as_func_failure; then | |
385 exitcode=1 | |
386 echo as_func_failure succeeded. | |
387 fi | |
388 | |
389 if as_func_ret_success; then | |
390 : | |
391 else | |
392 exitcode=1 | |
393 echo as_func_ret_success failed. | |
394 fi | |
395 | |
396 if as_func_ret_failure; then | |
397 exitcode=1 | |
398 echo as_func_ret_failure succeeded. | |
399 fi | |
400 | |
401 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | |
402 : | |
403 else | |
404 exitcode=1 | |
405 echo positional parameters were not saved. | |
406 fi | |
407 | |
408 test \$exitcode = 0") || { | |
409 echo No shell found that supports shell functions. | |
410 echo Please tell autoconf@gnu.org about your system, | |
411 echo including any error possibly output before this | |
412 echo message | |
413 } | |
414 | |
415 | |
416 | |
417 as_lineno_1=$LINENO | |
418 as_lineno_2=$LINENO | |
419 test "x$as_lineno_1" != "x$as_lineno_2" && | |
420 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { | |
421 | 155 |
422 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | 156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
423 # uniformly replaced by the line number. The first 'sed' inserts a | 157 # uniformly replaced by the line number. The first 'sed' inserts a |
424 # line-number line after each line using $LINENO; the second 'sed' | 158 # line-number line before each line; the second 'sed' does the real |
425 # does the real work. The second script uses 'N' to pair each | 159 # work. The second script uses 'N' to pair each line-number line |
426 # line-number line with the line containing $LINENO, and appends | 160 # with the numbered line, and appends trailing '-' during |
427 # trailing '-' during substitution so that $LINENO is not a special | 161 # substitution so that $LINENO is not a special case at line end. |
428 # case at line end. | |
429 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | 162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
430 # scripts with optimization help from Paolo Bonzini. Blame Lee | 163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
431 # E. McMahon (1931-1989) for sed's syntax. :-) | 164 sed '=' <$as_myself | |
432 sed -n ' | |
433 p | |
434 /[$]LINENO/= | |
435 ' <$as_myself | | |
436 sed ' | 165 sed ' |
437 s/[$]LINENO.*/&-/ | |
438 t lineno | |
439 b | |
440 :lineno | |
441 N | 166 N |
442 :loop | 167 s,$,-, |
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | 168 : loop |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | |
444 t loop | 170 t loop |
445 s/-\n.*// | 171 s,-$,, |
172 s,^['$as_cr_digits']*\n,, | |
446 ' >$as_me.lineno && | 173 ' >$as_me.lineno && |
447 chmod +x "$as_me.lineno" || | 174 chmod +x $as_me.lineno || |
448 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | 175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
449 { (exit 1); exit 1; }; } | 176 { (exit 1); exit 1; }; } |
450 | 177 |
451 # Don't try to exec as it changes $[0], causing all sort of problems | 178 # Don't try to exec as it changes $[0], causing all sort of problems |
452 # (the dirname of $[0] is not the place where we might find the | 179 # (the dirname of $[0] is not the place where we might find the |
453 # original and so on. Autoconf is especially sensitive to this). | 180 # original and so on. Autoconf is especially sensible to this). |
454 . "./$as_me.lineno" | 181 . ./$as_me.lineno |
455 # Exit status is that of the last command. | 182 # Exit status is that of the last command. |
456 exit | 183 exit |
457 } | 184 } |
458 | 185 |
459 | 186 |
460 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | 187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
461 as_dirname=dirname | 188 *c*,-n*) ECHO_N= ECHO_C=' |
462 else | 189 ' ECHO_T=' ' ;; |
463 as_dirname=false | 190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
464 fi | 191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
465 | |
466 ECHO_C= ECHO_N= ECHO_T= | |
467 case `echo -n x` in | |
468 -n*) | |
469 case `echo 'x\c'` in | |
470 *c*) ECHO_T=' ';; # ECHO_T is single tab character. | |
471 *) ECHO_C='\c';; | |
472 esac;; | |
473 *) | |
474 ECHO_N='-n';; | |
475 esac | 192 esac |
476 | 193 |
477 if expr a : '\(a\)' >/dev/null 2>&1 && | 194 if expr a : '\(a\)' >/dev/null 2>&1; then |
478 test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
479 as_expr=expr | 195 as_expr=expr |
480 else | 196 else |
481 as_expr=false | 197 as_expr=false |
482 fi | 198 fi |
483 | 199 |
484 rm -f conf$$ conf$$.exe conf$$.file | 200 rm -f conf$$ conf$$.exe conf$$.file |
485 if test -d conf$$.dir; then | |
486 rm -f conf$$.dir/conf$$.file | |
487 else | |
488 rm -f conf$$.dir | |
489 mkdir conf$$.dir | |
490 fi | |
491 echo >conf$$.file | 201 echo >conf$$.file |
492 if ln -s conf$$.file conf$$ 2>/dev/null; then | 202 if ln -s conf$$.file conf$$ 2>/dev/null; then |
493 as_ln_s='ln -s' | 203 # We could just check for DJGPP; but this test a) works b) is more generic |
494 # ... but there are two gotchas: | 204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | 205 if test -f conf$$.exe; then |
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | 206 # Don't use ln at all; we don't have any links |
497 # In both cases, we have to default to `cp -p'. | |
498 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | |
499 as_ln_s='cp -p' | 207 as_ln_s='cp -p' |
208 else | |
209 as_ln_s='ln -s' | |
210 fi | |
500 elif ln conf$$.file conf$$ 2>/dev/null; then | 211 elif ln conf$$.file conf$$ 2>/dev/null; then |
501 as_ln_s=ln | 212 as_ln_s=ln |
502 else | 213 else |
503 as_ln_s='cp -p' | 214 as_ln_s='cp -p' |
504 fi | 215 fi |
505 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | 216 rm -f conf$$ conf$$.exe conf$$.file |
506 rmdir conf$$.dir 2>/dev/null | |
507 | 217 |
508 if mkdir -p . 2>/dev/null; then | 218 if mkdir -p . 2>/dev/null; then |
509 as_mkdir_p=: | 219 as_mkdir_p=: |
510 else | 220 else |
511 test -d ./-p && rmdir ./-p | 221 test -d ./-p && rmdir ./-p |
512 as_mkdir_p=false | 222 as_mkdir_p=false |
513 fi | 223 fi |
514 | 224 |
515 # Find out whether ``test -x'' works. Don't use a zero-byte file, as | 225 as_executable_p="test -f" |
516 # systems may use methods other than mode bits to determine executability. | |
517 cat >conf$$.file <<_ASEOF | |
518 #! /bin/sh | |
519 exit 0 | |
520 _ASEOF | |
521 chmod +x conf$$.file | |
522 if test -x conf$$.file >/dev/null 2>&1; then | |
523 as_executable_p="test -x" | |
524 else | |
525 as_executable_p=: | |
526 fi | |
527 rm -f conf$$.file | |
528 | 226 |
529 # Sed expression to map a string onto a valid CPP name. | 227 # Sed expression to map a string onto a valid CPP name. |
530 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | 228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
531 | 229 |
532 # Sed expression to map a string onto a valid variable name. | 230 # Sed expression to map a string onto a valid variable name. |
533 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | 231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
534 | 232 |
535 | 233 |
536 | 234 # IFS |
537 exec 7<&0 </dev/null 6>&1 | 235 # We need space, tab and new line, in precisely that order. |
236 as_nl=' | |
237 ' | |
238 IFS=" $as_nl" | |
239 | |
240 # CDPATH. | |
241 $as_unset CDPATH | |
242 | |
538 | 243 |
539 # Name of the host. | 244 # Name of the host. |
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | 245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
541 # so uname gets run too. | 246 # so uname gets run too. |
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | 247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
543 | 248 |
249 exec 6>&1 | |
250 | |
544 # | 251 # |
545 # Initializations. | 252 # Initializations. |
546 # | 253 # |
547 ac_default_prefix=/usr/local | 254 ac_default_prefix=/usr/local |
548 ac_clean_files= | |
549 ac_config_libobj_dir=. | 255 ac_config_libobj_dir=. |
550 LIBOBJS= | |
551 cross_compiling=no | 256 cross_compiling=no |
552 subdirs= | 257 subdirs= |
553 MFLAGS= | 258 MFLAGS= |
554 MAKEFLAGS= | 259 MAKEFLAGS= |
555 SHELL=${CONFIG_SHELL-/bin/sh} | 260 SHELL=${CONFIG_SHELL-/bin/sh} |
261 | |
262 # Maximum number of lines to put in a shell here document. | |
263 # This variable seems obsolete. It should probably be removed, and | |
264 # only ac_max_sed_lines should be used. | |
265 : ${ac_max_here_lines=38} | |
556 | 266 |
557 # Identity of this package. | 267 # Identity of this package. |
558 PACKAGE_NAME= | 268 PACKAGE_NAME= |
559 PACKAGE_TARNAME= | 269 PACKAGE_TARNAME= |
560 PACKAGE_VERSION= | 270 PACKAGE_VERSION= |
589 #if HAVE_STRINGS_H | 299 #if HAVE_STRINGS_H |
590 # include <strings.h> | 300 # include <strings.h> |
591 #endif | 301 #endif |
592 #if HAVE_INTTYPES_H | 302 #if HAVE_INTTYPES_H |
593 # include <inttypes.h> | 303 # include <inttypes.h> |
594 #endif | 304 #else |
595 #if HAVE_STDINT_H | 305 # if HAVE_STDINT_H |
596 # include <stdint.h> | 306 # include <stdint.h> |
307 # endif | |
597 #endif | 308 #endif |
598 #if HAVE_UNISTD_H | 309 #if HAVE_UNISTD_H |
599 # include <unistd.h> | 310 # include <unistd.h> |
600 #endif" | 311 #endif" |
601 | 312 |
602 ac_subst_vars='SHELL | 313 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS MAINT build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP LN_S INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA RANLIB ac_ct_RANLIB INSTALL_INFO GZIP_PROG LIBSOUND PKG_CONFIG ALSA_CFLAGS ALSA_LIBS CFLAGS_SOUND SET_MAKE GTK_CFLAGS GTK_LIBS ALLOCA liblockfile LIBOBJS NEED_SETGID KMEM_GROUP GETLOADAVG_LIBS GETOPT_H GETOPTOBJS version configuration canonical srcdir lispdir locallisppath lisppath x_default_search_path etcdir archlibdir docdir bitmapdir gamedir gameuser c_switch_system c_switch_machine LD_SWITCH_X_SITE LD_SWITCH_X_SITE_AUX C_SWITCH_X_SITE X_TOOLKIT_TYPE machfile opsysfile carbon_appdir LTLIBOBJS' |
603 PATH_SEPARATOR | |
604 PACKAGE_NAME | |
605 PACKAGE_TARNAME | |
606 PACKAGE_VERSION | |
607 PACKAGE_STRING | |
608 PACKAGE_BUGREPORT | |
609 exec_prefix | |
610 prefix | |
611 program_transform_name | |
612 bindir | |
613 sbindir | |
614 libexecdir | |
615 datarootdir | |
616 datadir | |
617 sysconfdir | |
618 sharedstatedir | |
619 localstatedir | |
620 includedir | |
621 oldincludedir | |
622 docdir | |
623 infodir | |
624 htmldir | |
625 dvidir | |
626 pdfdir | |
627 psdir | |
628 libdir | |
629 localedir | |
630 mandir | |
631 DEFS | |
632 ECHO_C | |
633 ECHO_N | |
634 ECHO_T | |
635 LIBS | |
636 build_alias | |
637 host_alias | |
638 target_alias | |
639 MAINT | |
640 build | |
641 build_cpu | |
642 build_vendor | |
643 build_os | |
644 host | |
645 host_cpu | |
646 host_vendor | |
647 host_os | |
648 CC | |
649 CFLAGS | |
650 LDFLAGS | |
651 CPPFLAGS | |
652 ac_ct_CC | |
653 EXEEXT | |
654 OBJEXT | |
655 CPP | |
656 GREP | |
657 EGREP | |
658 LN_S | |
659 INSTALL_PROGRAM | |
660 INSTALL_SCRIPT | |
661 INSTALL_DATA | |
662 RANLIB | |
663 INSTALL_INFO | |
664 GZIP_PROG | |
665 LIBSOUND | |
666 PKG_CONFIG | |
667 ALSA_CFLAGS | |
668 ALSA_LIBS | |
669 CFLAGS_SOUND | |
670 SET_MAKE | |
671 XMKMF | |
672 GTK_CFLAGS | |
673 GTK_LIBS | |
674 ALLOCA | |
675 liblockfile | |
676 LIBOBJS | |
677 NEED_SETGID | |
678 KMEM_GROUP | |
679 GETLOADAVG_LIBS | |
680 GETOPT_H | |
681 GETOPTOBJS | |
682 version | |
683 configuration | |
684 canonical | |
685 srcdir | |
686 lispdir | |
687 locallisppath | |
688 lisppath | |
689 x_default_search_path | |
690 etcdir | |
691 archlibdir | |
692 bitmapdir | |
693 gamedir | |
694 gameuser | |
695 c_switch_system | |
696 c_switch_machine | |
697 LD_SWITCH_X_SITE | |
698 LD_SWITCH_X_SITE_AUX | |
699 C_SWITCH_X_SITE | |
700 X_TOOLKIT_TYPE | |
701 machfile | |
702 opsysfile | |
703 carbon_appdir | |
704 LTLIBOBJS' | |
705 ac_subst_files='' | 314 ac_subst_files='' |
706 ac_precious_vars='build_alias | |
707 host_alias | |
708 target_alias | |
709 CC | |
710 CFLAGS | |
711 LDFLAGS | |
712 CPPFLAGS | |
713 CPP | |
714 XMKMF' | |
715 | |
716 | 315 |
717 # Initialize some variables set by options. | 316 # Initialize some variables set by options. |
718 ac_init_help= | 317 ac_init_help= |
719 ac_init_version=false | 318 ac_init_version=false |
720 # The variables have the same names as the options, with | 319 # The variables have the same names as the options, with |
737 # Installation directory options. | 336 # Installation directory options. |
738 # These are left unexpanded so users can "make install exec_prefix=/foo" | 337 # These are left unexpanded so users can "make install exec_prefix=/foo" |
739 # and all the variables that are supposed to be based on exec_prefix | 338 # and all the variables that are supposed to be based on exec_prefix |
740 # by default will actually change. | 339 # by default will actually change. |
741 # Use braces instead of parens because sh, perl, etc. also accept them. | 340 # Use braces instead of parens because sh, perl, etc. also accept them. |
742 # (The list follows the same order as the GNU Coding Standards.) | |
743 bindir='${exec_prefix}/bin' | 341 bindir='${exec_prefix}/bin' |
744 sbindir='${exec_prefix}/sbin' | 342 sbindir='${exec_prefix}/sbin' |
745 libexecdir='${exec_prefix}/libexec' | 343 libexecdir='${exec_prefix}/libexec' |
746 datarootdir='${prefix}/share' | 344 datadir='${prefix}/share' |
747 datadir='${datarootdir}' | |
748 sysconfdir='${prefix}/etc' | 345 sysconfdir='${prefix}/etc' |
749 sharedstatedir='${prefix}/com' | 346 sharedstatedir='${prefix}/com' |
750 localstatedir='${prefix}/var' | 347 localstatedir='${prefix}/var' |
348 libdir='${exec_prefix}/lib' | |
751 includedir='${prefix}/include' | 349 includedir='${prefix}/include' |
752 oldincludedir='/usr/include' | 350 oldincludedir='/usr/include' |
753 docdir='${datarootdir}/doc/${PACKAGE}' | 351 infodir='${prefix}/info' |
754 infodir='${datarootdir}/info' | 352 mandir='${prefix}/man' |
755 htmldir='${docdir}' | |
756 dvidir='${docdir}' | |
757 pdfdir='${docdir}' | |
758 psdir='${docdir}' | |
759 libdir='${exec_prefix}/lib' | |
760 localedir='${datarootdir}/locale' | |
761 mandir='${datarootdir}/man' | |
762 | 353 |
763 ac_prev= | 354 ac_prev= |
764 ac_dashdash= | |
765 for ac_option | 355 for ac_option |
766 do | 356 do |
767 # If the previous option needs an argument, assign it. | 357 # If the previous option needs an argument, assign it. |
768 if test -n "$ac_prev"; then | 358 if test -n "$ac_prev"; then |
769 eval $ac_prev=\$ac_option | 359 eval "$ac_prev=\$ac_option" |
770 ac_prev= | 360 ac_prev= |
771 continue | 361 continue |
772 fi | 362 fi |
773 | 363 |
364 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` | |
365 | |
366 # Accept the important Cygnus configure options, so we can diagnose typos. | |
367 | |
774 case $ac_option in | 368 case $ac_option in |
775 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | |
776 *) ac_optarg=yes ;; | |
777 esac | |
778 | |
779 # Accept the important Cygnus configure options, so we can diagnose typos. | |
780 | |
781 case $ac_dashdash$ac_option in | |
782 --) | |
783 ac_dashdash=yes ;; | |
784 | 369 |
785 -bindir | --bindir | --bindi | --bind | --bin | --bi) | 370 -bindir | --bindir | --bindi | --bind | --bin | --bi) |
786 ac_prev=bindir ;; | 371 ac_prev=bindir ;; |
787 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | 372 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
788 bindir=$ac_optarg ;; | 373 bindir=$ac_optarg ;; |
800 cache_file=$ac_optarg ;; | 385 cache_file=$ac_optarg ;; |
801 | 386 |
802 --config-cache | -C) | 387 --config-cache | -C) |
803 cache_file=config.cache ;; | 388 cache_file=config.cache ;; |
804 | 389 |
805 -datadir | --datadir | --datadi | --datad) | 390 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
806 ac_prev=datadir ;; | 391 ac_prev=datadir ;; |
807 -datadir=* | --datadir=* | --datadi=* | --datad=*) | 392 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
393 | --da=*) | |
808 datadir=$ac_optarg ;; | 394 datadir=$ac_optarg ;; |
809 | |
810 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | |
811 | --dataroo | --dataro | --datar) | |
812 ac_prev=datarootdir ;; | |
813 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | |
814 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) | |
815 datarootdir=$ac_optarg ;; | |
816 | 395 |
817 -disable-* | --disable-*) | 396 -disable-* | --disable-*) |
818 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | 397 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
819 # Reject names that are not valid shell variable names. | 398 # Reject names that are not valid shell variable names. |
820 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | 399 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
821 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | 400 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
822 { (exit 1); exit 1; }; } | 401 { (exit 1); exit 1; }; } |
823 ac_feature=`echo $ac_feature | sed 's/-/_/g'` | 402 ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
824 eval enable_$ac_feature=no ;; | 403 eval "enable_$ac_feature=no" ;; |
825 | |
826 -docdir | --docdir | --docdi | --doc | --do) | |
827 ac_prev=docdir ;; | |
828 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) | |
829 docdir=$ac_optarg ;; | |
830 | |
831 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) | |
832 ac_prev=dvidir ;; | |
833 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) | |
834 dvidir=$ac_optarg ;; | |
835 | 404 |
836 -enable-* | --enable-*) | 405 -enable-* | --enable-*) |
837 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | 406 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
838 # Reject names that are not valid shell variable names. | 407 # Reject names that are not valid shell variable names. |
839 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | 408 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
840 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | 409 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
841 { (exit 1); exit 1; }; } | 410 { (exit 1); exit 1; }; } |
842 ac_feature=`echo $ac_feature | sed 's/-/_/g'` | 411 ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
843 eval enable_$ac_feature=\$ac_optarg ;; | 412 case $ac_option in |
413 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | |
414 *) ac_optarg=yes ;; | |
415 esac | |
416 eval "enable_$ac_feature='$ac_optarg'" ;; | |
844 | 417 |
845 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | 418 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
846 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | 419 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
847 | --exec | --exe | --ex) | 420 | --exec | --exe | --ex) |
848 ac_prev=exec_prefix ;; | 421 ac_prev=exec_prefix ;; |
865 -host | --host | --hos | --ho) | 438 -host | --host | --hos | --ho) |
866 ac_prev=host_alias ;; | 439 ac_prev=host_alias ;; |
867 -host=* | --host=* | --hos=* | --ho=*) | 440 -host=* | --host=* | --hos=* | --ho=*) |
868 host_alias=$ac_optarg ;; | 441 host_alias=$ac_optarg ;; |
869 | 442 |
870 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) | |
871 ac_prev=htmldir ;; | |
872 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | |
873 | --ht=*) | |
874 htmldir=$ac_optarg ;; | |
875 | |
876 -includedir | --includedir | --includedi | --included | --include \ | 443 -includedir | --includedir | --includedi | --included | --include \ |
877 | --includ | --inclu | --incl | --inc) | 444 | --includ | --inclu | --incl | --inc) |
878 ac_prev=includedir ;; | 445 ac_prev=includedir ;; |
879 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | 446 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
880 | --includ=* | --inclu=* | --incl=* | --inc=*) | 447 | --includ=* | --inclu=* | --incl=* | --inc=*) |
895 ac_prev=libexecdir ;; | 462 ac_prev=libexecdir ;; |
896 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | 463 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
897 | --libexe=* | --libex=* | --libe=*) | 464 | --libexe=* | --libex=* | --libe=*) |
898 libexecdir=$ac_optarg ;; | 465 libexecdir=$ac_optarg ;; |
899 | 466 |
900 -localedir | --localedir | --localedi | --localed | --locale) | |
901 ac_prev=localedir ;; | |
902 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) | |
903 localedir=$ac_optarg ;; | |
904 | |
905 -localstatedir | --localstatedir | --localstatedi | --localstated \ | 467 -localstatedir | --localstatedir | --localstatedi | --localstated \ |
906 | --localstate | --localstat | --localsta | --localst | --locals) | 468 | --localstate | --localstat | --localsta | --localst \ |
469 | --locals | --local | --loca | --loc | --lo) | |
907 ac_prev=localstatedir ;; | 470 ac_prev=localstatedir ;; |
908 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | 471 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
909 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) | 472 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
473 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) | |
910 localstatedir=$ac_optarg ;; | 474 localstatedir=$ac_optarg ;; |
911 | 475 |
912 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | 476 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
913 ac_prev=mandir ;; | 477 ac_prev=mandir ;; |
914 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | 478 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
969 | --program-transfo=* | --program-transf=* \ | 533 | --program-transfo=* | --program-transf=* \ |
970 | --program-trans=* | --program-tran=* \ | 534 | --program-trans=* | --program-tran=* \ |
971 | --progr-tra=* | --program-tr=* | --program-t=*) | 535 | --progr-tra=* | --program-tr=* | --program-t=*) |
972 program_transform_name=$ac_optarg ;; | 536 program_transform_name=$ac_optarg ;; |
973 | 537 |
974 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) | |
975 ac_prev=pdfdir ;; | |
976 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) | |
977 pdfdir=$ac_optarg ;; | |
978 | |
979 -psdir | --psdir | --psdi | --psd | --ps) | |
980 ac_prev=psdir ;; | |
981 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) | |
982 psdir=$ac_optarg ;; | |
983 | |
984 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 538 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
985 | -silent | --silent | --silen | --sile | --sil) | 539 | -silent | --silent | --silen | --sile | --sil) |
986 silent=yes ;; | 540 silent=yes ;; |
987 | 541 |
988 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | 542 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
1035 # Reject names that are not valid shell variable names. | 589 # Reject names that are not valid shell variable names. |
1036 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | 590 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
1037 { echo "$as_me: error: invalid package name: $ac_package" >&2 | 591 { echo "$as_me: error: invalid package name: $ac_package" >&2 |
1038 { (exit 1); exit 1; }; } | 592 { (exit 1); exit 1; }; } |
1039 ac_package=`echo $ac_package| sed 's/-/_/g'` | 593 ac_package=`echo $ac_package| sed 's/-/_/g'` |
1040 eval with_$ac_package=\$ac_optarg ;; | 594 case $ac_option in |
595 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | |
596 *) ac_optarg=yes ;; | |
597 esac | |
598 eval "with_$ac_package='$ac_optarg'" ;; | |
1041 | 599 |
1042 -without-* | --without-*) | 600 -without-* | --without-*) |
1043 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` | 601 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1044 # Reject names that are not valid shell variable names. | 602 # Reject names that are not valid shell variable names. |
1045 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | 603 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
1046 { echo "$as_me: error: invalid package name: $ac_package" >&2 | 604 { echo "$as_me: error: invalid package name: $ac_package" >&2 |
1047 { (exit 1); exit 1; }; } | 605 { (exit 1); exit 1; }; } |
1048 ac_package=`echo $ac_package | sed 's/-/_/g'` | 606 ac_package=`echo $ac_package | sed 's/-/_/g'` |
1049 eval with_$ac_package=no ;; | 607 eval "with_$ac_package=no" ;; |
1050 | 608 |
1051 --x) | 609 --x) |
1052 # Obsolete; use --with-x. | 610 # Obsolete; use --with-x. |
1053 with_x=yes ;; | 611 with_x=yes ;; |
1054 | 612 |
1075 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | 633 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1076 # Reject names that are not valid shell variable names. | 634 # Reject names that are not valid shell variable names. |
1077 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && | 635 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
1078 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 | 636 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
1079 { (exit 1); exit 1; }; } | 637 { (exit 1); exit 1; }; } |
1080 eval $ac_envvar=\$ac_optarg | 638 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` |
639 eval "$ac_envvar='$ac_optarg'" | |
1081 export $ac_envvar ;; | 640 export $ac_envvar ;; |
1082 | 641 |
1083 *) | 642 *) |
1084 # FIXME: should be removed in autoconf 3.0. | 643 # FIXME: should be removed in autoconf 3.0. |
1085 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | 644 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1095 ac_option=--`echo $ac_prev | sed 's/_/-/g'` | 654 ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1096 { echo "$as_me: error: missing argument to $ac_option" >&2 | 655 { echo "$as_me: error: missing argument to $ac_option" >&2 |
1097 { (exit 1); exit 1; }; } | 656 { (exit 1); exit 1; }; } |
1098 fi | 657 fi |
1099 | 658 |
1100 # Be sure to have absolute directory names. | 659 # Be sure to have absolute paths. |
1101 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ | 660 for ac_var in exec_prefix prefix |
1102 datadir sysconfdir sharedstatedir localstatedir includedir \ | |
1103 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ | |
1104 libdir localedir mandir | |
1105 do | 661 do |
1106 eval ac_val=\$$ac_var | 662 eval ac_val=$`echo $ac_var` |
1107 case $ac_val in | 663 case $ac_val in |
1108 [\\/$]* | ?:[\\/]* ) continue;; | 664 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; |
1109 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | 665 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
666 { (exit 1); exit 1; }; };; | |
1110 esac | 667 esac |
1111 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | 668 done |
1112 { (exit 1); exit 1; }; } | 669 |
670 # Be sure to have absolute paths. | |
671 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ | |
672 localstatedir libdir includedir oldincludedir infodir mandir | |
673 do | |
674 eval ac_val=$`echo $ac_var` | |
675 case $ac_val in | |
676 [\\/$]* | ?:[\\/]* ) ;; | |
677 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | |
678 { (exit 1); exit 1; }; };; | |
679 esac | |
1113 done | 680 done |
1114 | 681 |
1115 # There might be people who depend on the old broken behavior: `$host' | 682 # There might be people who depend on the old broken behavior: `$host' |
1116 # used to hold the argument of --host etc. | 683 # used to hold the argument of --host etc. |
1117 # FIXME: To remove some day. | 684 # FIXME: To remove some day. |
1134 test -n "$host_alias" && ac_tool_prefix=$host_alias- | 701 test -n "$host_alias" && ac_tool_prefix=$host_alias- |
1135 | 702 |
1136 test "$silent" = yes && exec 6>/dev/null | 703 test "$silent" = yes && exec 6>/dev/null |
1137 | 704 |
1138 | 705 |
1139 ac_pwd=`pwd` && test -n "$ac_pwd" && | |
1140 ac_ls_di=`ls -di .` && | |
1141 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | |
1142 { echo "$as_me: error: Working directory cannot be determined" >&2 | |
1143 { (exit 1); exit 1; }; } | |
1144 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | |
1145 { echo "$as_me: error: pwd does not report name of working directory" >&2 | |
1146 { (exit 1); exit 1; }; } | |
1147 | |
1148 | |
1149 # Find the source files, if location was not specified. | 706 # Find the source files, if location was not specified. |
1150 if test -z "$srcdir"; then | 707 if test -z "$srcdir"; then |
1151 ac_srcdir_defaulted=yes | 708 ac_srcdir_defaulted=yes |
1152 # Try the directory containing this script, then the parent directory. | 709 # Try the directory containing this script, then its parent. |
1153 ac_confdir=`$as_dirname -- "$0" || | 710 ac_confdir=`(dirname "$0") 2>/dev/null || |
1154 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 711 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
1155 X"$0" : 'X\(//\)[^/]' \| \ | 712 X"$0" : 'X\(//\)[^/]' \| \ |
1156 X"$0" : 'X\(//\)$' \| \ | 713 X"$0" : 'X\(//\)$' \| \ |
1157 X"$0" : 'X\(/\)' \| . 2>/dev/null || | 714 X"$0" : 'X\(/\)' \| \ |
715 . : '\(.\)' 2>/dev/null || | |
1158 echo X"$0" | | 716 echo X"$0" | |
1159 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | 717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
1160 s//\1/ | 718 /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
1161 q | 719 /^X\(\/\/\)$/{ s//\1/; q; } |
1162 } | 720 /^X\(\/\).*/{ s//\1/; q; } |
1163 /^X\(\/\/\)[^/].*/{ | 721 s/.*/./; q'` |
1164 s//\1/ | |
1165 q | |
1166 } | |
1167 /^X\(\/\/\)$/{ | |
1168 s//\1/ | |
1169 q | |
1170 } | |
1171 /^X\(\/\).*/{ | |
1172 s//\1/ | |
1173 q | |
1174 } | |
1175 s/.*/./; q'` | |
1176 srcdir=$ac_confdir | 722 srcdir=$ac_confdir |
1177 if test ! -r "$srcdir/$ac_unique_file"; then | 723 if test ! -r $srcdir/$ac_unique_file; then |
1178 srcdir=.. | 724 srcdir=.. |
1179 fi | 725 fi |
1180 else | 726 else |
1181 ac_srcdir_defaulted=no | 727 ac_srcdir_defaulted=no |
1182 fi | 728 fi |
1183 if test ! -r "$srcdir/$ac_unique_file"; then | 729 if test ! -r $srcdir/$ac_unique_file; then |
1184 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | 730 if test "$ac_srcdir_defaulted" = yes; then |
1185 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 | 731 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 |
1186 { (exit 1); exit 1; }; } | 732 { (exit 1); exit 1; }; } |
1187 fi | 733 else |
1188 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | 734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
1189 ac_abs_confdir=`( | |
1190 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 | |
1191 { (exit 1); exit 1; }; } | 735 { (exit 1); exit 1; }; } |
1192 pwd)` | 736 fi |
1193 # When building in place, set srcdir=. | 737 fi |
1194 if test "$ac_abs_confdir" = "$ac_pwd"; then | 738 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || |
1195 srcdir=. | 739 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 |
1196 fi | 740 { (exit 1); exit 1; }; } |
1197 # Remove unnecessary trailing slashes from srcdir. | 741 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` |
1198 # Double slashes in file names in object file debugging info | 742 ac_env_build_alias_set=${build_alias+set} |
1199 # mess up M-x gdb in Emacs. | 743 ac_env_build_alias_value=$build_alias |
1200 case $srcdir in | 744 ac_cv_env_build_alias_set=${build_alias+set} |
1201 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; | 745 ac_cv_env_build_alias_value=$build_alias |
1202 esac | 746 ac_env_host_alias_set=${host_alias+set} |
1203 for ac_var in $ac_precious_vars; do | 747 ac_env_host_alias_value=$host_alias |
1204 eval ac_env_${ac_var}_set=\${${ac_var}+set} | 748 ac_cv_env_host_alias_set=${host_alias+set} |
1205 eval ac_env_${ac_var}_value=\$${ac_var} | 749 ac_cv_env_host_alias_value=$host_alias |
1206 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} | 750 ac_env_target_alias_set=${target_alias+set} |
1207 eval ac_cv_env_${ac_var}_value=\$${ac_var} | 751 ac_env_target_alias_value=$target_alias |
1208 done | 752 ac_cv_env_target_alias_set=${target_alias+set} |
753 ac_cv_env_target_alias_value=$target_alias | |
754 ac_env_CC_set=${CC+set} | |
755 ac_env_CC_value=$CC | |
756 ac_cv_env_CC_set=${CC+set} | |
757 ac_cv_env_CC_value=$CC | |
758 ac_env_CFLAGS_set=${CFLAGS+set} | |
759 ac_env_CFLAGS_value=$CFLAGS | |
760 ac_cv_env_CFLAGS_set=${CFLAGS+set} | |
761 ac_cv_env_CFLAGS_value=$CFLAGS | |
762 ac_env_LDFLAGS_set=${LDFLAGS+set} | |
763 ac_env_LDFLAGS_value=$LDFLAGS | |
764 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} | |
765 ac_cv_env_LDFLAGS_value=$LDFLAGS | |
766 ac_env_CPPFLAGS_set=${CPPFLAGS+set} | |
767 ac_env_CPPFLAGS_value=$CPPFLAGS | |
768 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} | |
769 ac_cv_env_CPPFLAGS_value=$CPPFLAGS | |
770 ac_env_CPP_set=${CPP+set} | |
771 ac_env_CPP_value=$CPP | |
772 ac_cv_env_CPP_set=${CPP+set} | |
773 ac_cv_env_CPP_value=$CPP | |
1209 | 774 |
1210 # | 775 # |
1211 # Report the --help message. | 776 # Report the --help message. |
1212 # | 777 # |
1213 if test "$ac_init_help" = "long"; then | 778 if test "$ac_init_help" = "long"; then |
1232 --cache-file=FILE cache test results in FILE [disabled] | 797 --cache-file=FILE cache test results in FILE [disabled] |
1233 -C, --config-cache alias for \`--cache-file=config.cache' | 798 -C, --config-cache alias for \`--cache-file=config.cache' |
1234 -n, --no-create do not create output files | 799 -n, --no-create do not create output files |
1235 --srcdir=DIR find the sources in DIR [configure dir or \`..'] | 800 --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
1236 | 801 |
802 _ACEOF | |
803 | |
804 cat <<_ACEOF | |
1237 Installation directories: | 805 Installation directories: |
1238 --prefix=PREFIX install architecture-independent files in PREFIX | 806 --prefix=PREFIX install architecture-independent files in PREFIX |
1239 [$ac_default_prefix] | 807 [$ac_default_prefix] |
1240 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | 808 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
1241 [PREFIX] | 809 [PREFIX] |
1249 | 817 |
1250 Fine tuning of the installation directories: | 818 Fine tuning of the installation directories: |
1251 --bindir=DIR user executables [EPREFIX/bin] | 819 --bindir=DIR user executables [EPREFIX/bin] |
1252 --sbindir=DIR system admin executables [EPREFIX/sbin] | 820 --sbindir=DIR system admin executables [EPREFIX/sbin] |
1253 --libexecdir=DIR program executables [EPREFIX/libexec] | 821 --libexecdir=DIR program executables [EPREFIX/libexec] |
822 --datadir=DIR read-only architecture-independent data [PREFIX/share] | |
1254 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | 823 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1255 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | 824 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1256 --localstatedir=DIR modifiable single-machine data [PREFIX/var] | 825 --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
1257 --libdir=DIR object code libraries [EPREFIX/lib] | 826 --libdir=DIR object code libraries [EPREFIX/lib] |
1258 --includedir=DIR C header files [PREFIX/include] | 827 --includedir=DIR C header files [PREFIX/include] |
1259 --oldincludedir=DIR C header files for non-gcc [/usr/include] | 828 --oldincludedir=DIR C header files for non-gcc [/usr/include] |
1260 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] | 829 --infodir=DIR info documentation [PREFIX/info] |
1261 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] | 830 --mandir=DIR man documentation [PREFIX/man] |
1262 --infodir=DIR info documentation [DATAROOTDIR/info] | |
1263 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] | |
1264 --mandir=DIR man documentation [DATAROOTDIR/man] | |
1265 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] | |
1266 --htmldir=DIR html documentation [DOCDIR] | |
1267 --dvidir=DIR dvi documentation [DOCDIR] | |
1268 --pdfdir=DIR pdf documentation [DOCDIR] | |
1269 --psdir=DIR ps documentation [DOCDIR] | |
1270 _ACEOF | 831 _ACEOF |
1271 | 832 |
1272 cat <<\_ACEOF | 833 cat <<\_ACEOF |
1273 | 834 |
1274 Program names: | 835 Program names: |
1330 Some influential environment variables: | 891 Some influential environment variables: |
1331 CC C compiler command | 892 CC C compiler command |
1332 CFLAGS C compiler flags | 893 CFLAGS C compiler flags |
1333 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | 894 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1334 nonstandard directory <lib dir> | 895 nonstandard directory <lib dir> |
1335 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if | 896 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have |
1336 you have headers in a nonstandard directory <include dir> | 897 headers in a nonstandard directory <include dir> |
1337 CPP C preprocessor | 898 CPP C preprocessor |
1338 XMKMF Path to xmkmf, Makefile generator for X Window System | |
1339 | 899 |
1340 Use these variables to override the choices made by `configure' or to help | 900 Use these variables to override the choices made by `configure' or to help |
1341 it to find libraries and programs with nonstandard names/locations. | 901 it to find libraries and programs with nonstandard names/locations. |
1342 | 902 |
1343 _ACEOF | 903 _ACEOF |
1344 ac_status=$? | |
1345 fi | 904 fi |
1346 | 905 |
1347 if test "$ac_init_help" = "recursive"; then | 906 if test "$ac_init_help" = "recursive"; then |
1348 # If there are subdirs, report their specific --help. | 907 # If there are subdirs, report their specific --help. |
908 ac_popdir=`pwd` | |
1349 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | 909 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
1350 test -d "$ac_dir" || continue | 910 test -d $ac_dir || continue |
1351 ac_builddir=. | 911 ac_builddir=. |
1352 | 912 |
1353 case "$ac_dir" in | 913 if test "$ac_dir" != .; then |
1354 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | 914 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
915 # A "../" for each directory in $ac_dir_suffix. | |
916 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | |
917 else | |
918 ac_dir_suffix= ac_top_builddir= | |
919 fi | |
920 | |
921 case $srcdir in | |
922 .) # No --srcdir option. We are building in place. | |
923 ac_srcdir=. | |
924 if test -z "$ac_top_builddir"; then | |
925 ac_top_srcdir=. | |
926 else | |
927 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | |
928 fi ;; | |
929 [\\/]* | ?:[\\/]* ) # Absolute path. | |
930 ac_srcdir=$srcdir$ac_dir_suffix; | |
931 ac_top_srcdir=$srcdir ;; | |
932 *) # Relative path. | |
933 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | |
934 ac_top_srcdir=$ac_top_builddir$srcdir ;; | |
935 esac | |
936 | |
937 # Do not use `cd foo && pwd` to compute absolute paths, because | |
938 # the directories may not exist. | |
939 case `pwd` in | |
940 .) ac_abs_builddir="$ac_dir";; | |
1355 *) | 941 *) |
1356 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 942 case "$ac_dir" in |
1357 # A ".." for each directory in $ac_dir_suffix. | 943 .) ac_abs_builddir=`pwd`;; |
1358 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` | 944 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
1359 case $ac_top_builddir_sub in | 945 *) ac_abs_builddir=`pwd`/"$ac_dir";; |
1360 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | 946 esac;; |
1361 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | |
1362 esac ;; | |
1363 esac | 947 esac |
1364 ac_abs_top_builddir=$ac_pwd | 948 case $ac_abs_builddir in |
1365 ac_abs_builddir=$ac_pwd$ac_dir_suffix | 949 .) ac_abs_top_builddir=${ac_top_builddir}.;; |
1366 # for backward compatibility: | 950 *) |
1367 ac_top_builddir=$ac_top_build_prefix | 951 case ${ac_top_builddir}. in |
1368 | 952 .) ac_abs_top_builddir=$ac_abs_builddir;; |
1369 case $srcdir in | 953 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
1370 .) # We are building in place. | 954 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
1371 ac_srcdir=. | 955 esac;; |
1372 ac_top_srcdir=$ac_top_builddir_sub | |
1373 ac_abs_top_srcdir=$ac_pwd ;; | |
1374 [\\/]* | ?:[\\/]* ) # Absolute name. | |
1375 ac_srcdir=$srcdir$ac_dir_suffix; | |
1376 ac_top_srcdir=$srcdir | |
1377 ac_abs_top_srcdir=$srcdir ;; | |
1378 *) # Relative name. | |
1379 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | |
1380 ac_top_srcdir=$ac_top_build_prefix$srcdir | |
1381 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | |
1382 esac | 956 esac |
1383 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | 957 case $ac_abs_builddir in |
1384 | 958 .) ac_abs_srcdir=$ac_srcdir;; |
1385 cd "$ac_dir" || { ac_status=$?; continue; } | 959 *) |
1386 # Check for guested configure. | 960 case $ac_srcdir in |
1387 if test -f "$ac_srcdir/configure.gnu"; then | 961 .) ac_abs_srcdir=$ac_abs_builddir;; |
1388 echo && | 962 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
1389 $SHELL "$ac_srcdir/configure.gnu" --help=recursive | 963 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
1390 elif test -f "$ac_srcdir/configure"; then | 964 esac;; |
1391 echo && | 965 esac |
1392 $SHELL "$ac_srcdir/configure" --help=recursive | 966 case $ac_abs_builddir in |
967 .) ac_abs_top_srcdir=$ac_top_srcdir;; | |
968 *) | |
969 case $ac_top_srcdir in | |
970 .) ac_abs_top_srcdir=$ac_abs_builddir;; | |
971 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | |
972 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | |
973 esac;; | |
974 esac | |
975 | |
976 cd $ac_dir | |
977 # Check for guested configure; otherwise get Cygnus style configure. | |
978 if test -f $ac_srcdir/configure.gnu; then | |
979 echo | |
980 $SHELL $ac_srcdir/configure.gnu --help=recursive | |
981 elif test -f $ac_srcdir/configure; then | |
982 echo | |
983 $SHELL $ac_srcdir/configure --help=recursive | |
984 elif test -f $ac_srcdir/configure.ac || | |
985 test -f $ac_srcdir/configure.in; then | |
986 echo | |
987 $ac_configure --help | |
1393 else | 988 else |
1394 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | 989 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1395 fi || ac_status=$? | 990 fi |
1396 cd "$ac_pwd" || { ac_status=$?; break; } | 991 cd "$ac_popdir" |
1397 done | 992 done |
1398 fi | 993 fi |
1399 | 994 |
1400 test -n "$ac_init_help" && exit $ac_status | 995 test -n "$ac_init_help" && exit 0 |
1401 if $ac_init_version; then | 996 if $ac_init_version; then |
1402 cat <<\_ACEOF | 997 cat <<\_ACEOF |
1403 configure | 998 |
1404 generated by GNU Autoconf 2.60 | 999 Copyright (C) 2003 Free Software Foundation, Inc. |
1405 | |
1406 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | |
1407 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | |
1408 This configure script is free software; the Free Software Foundation | 1000 This configure script is free software; the Free Software Foundation |
1409 gives unlimited permission to copy, distribute and modify it. | 1001 gives unlimited permission to copy, distribute and modify it. |
1410 _ACEOF | 1002 _ACEOF |
1411 exit | 1003 exit 0 |
1412 fi | 1004 fi |
1413 cat >config.log <<_ACEOF | 1005 exec 5>config.log |
1006 cat >&5 <<_ACEOF | |
1414 This file contains any messages produced by compilers while | 1007 This file contains any messages produced by compilers while |
1415 running configure, to aid debugging if configure makes a mistake. | 1008 running configure, to aid debugging if configure makes a mistake. |
1416 | 1009 |
1417 It was created by $as_me, which was | 1010 It was created by $as_me, which was |
1418 generated by GNU Autoconf 2.60. Invocation command line was | 1011 generated by GNU Autoconf 2.59. Invocation command line was |
1419 | 1012 |
1420 $ $0 $@ | 1013 $ $0 $@ |
1421 | 1014 |
1422 _ACEOF | 1015 _ACEOF |
1423 exec 5>>config.log | |
1424 { | 1016 { |
1425 cat <<_ASUNAME | 1017 cat <<_ASUNAME |
1426 ## --------- ## | 1018 ## --------- ## |
1427 ## Platform. ## | 1019 ## Platform. ## |
1428 ## --------- ## | 1020 ## --------- ## |
1437 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` | 1029 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
1438 | 1030 |
1439 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | 1031 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
1440 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | 1032 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
1441 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | 1033 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
1442 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` | 1034 hostinfo = `(hostinfo) 2>/dev/null || echo unknown` |
1443 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` | 1035 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
1444 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | 1036 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
1445 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | 1037 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
1446 | 1038 |
1447 _ASUNAME | 1039 _ASUNAME |
1451 do | 1043 do |
1452 IFS=$as_save_IFS | 1044 IFS=$as_save_IFS |
1453 test -z "$as_dir" && as_dir=. | 1045 test -z "$as_dir" && as_dir=. |
1454 echo "PATH: $as_dir" | 1046 echo "PATH: $as_dir" |
1455 done | 1047 done |
1456 IFS=$as_save_IFS | |
1457 | 1048 |
1458 } >&5 | 1049 } >&5 |
1459 | 1050 |
1460 cat >&5 <<_ACEOF | 1051 cat >&5 <<_ACEOF |
1461 | 1052 |
1473 # Also quote any args containing shell meta-characters. | 1064 # Also quote any args containing shell meta-characters. |
1474 # Make two passes to allow for proper duplicate-argument suppression. | 1065 # Make two passes to allow for proper duplicate-argument suppression. |
1475 ac_configure_args= | 1066 ac_configure_args= |
1476 ac_configure_args0= | 1067 ac_configure_args0= |
1477 ac_configure_args1= | 1068 ac_configure_args1= |
1069 ac_sep= | |
1478 ac_must_keep_next=false | 1070 ac_must_keep_next=false |
1479 for ac_pass in 1 2 | 1071 for ac_pass in 1 2 |
1480 do | 1072 do |
1481 for ac_arg | 1073 for ac_arg |
1482 do | 1074 do |
1483 case $ac_arg in | 1075 case $ac_arg in |
1484 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | 1076 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
1485 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 1077 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1486 | -silent | --silent | --silen | --sile | --sil) | 1078 | -silent | --silent | --silen | --sile | --sil) |
1487 continue ;; | 1079 continue ;; |
1488 *\'*) | 1080 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
1489 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | 1081 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1490 esac | 1082 esac |
1491 case $ac_pass in | 1083 case $ac_pass in |
1492 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; | 1084 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
1493 2) | 1085 2) |
1505 esac | 1097 esac |
1506 ;; | 1098 ;; |
1507 -* ) ac_must_keep_next=true ;; | 1099 -* ) ac_must_keep_next=true ;; |
1508 esac | 1100 esac |
1509 fi | 1101 fi |
1510 ac_configure_args="$ac_configure_args '$ac_arg'" | 1102 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
1103 # Get rid of the leading space. | |
1104 ac_sep=" " | |
1511 ;; | 1105 ;; |
1512 esac | 1106 esac |
1513 done | 1107 done |
1514 done | 1108 done |
1515 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } | 1109 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
1516 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } | 1110 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
1517 | 1111 |
1518 # When interrupted or exit'd, cleanup temporary files, and complete | 1112 # When interrupted or exit'd, cleanup temporary files, and complete |
1519 # config.log. We remove comments because anyway the quotes in there | 1113 # config.log. We remove comments because anyway the quotes in there |
1520 # would cause problems or look ugly. | 1114 # would cause problems or look ugly. |
1521 # WARNING: Use '\'' to represent an apostrophe within the trap. | 1115 # WARNING: Be sure not to use single quotes in there, as some shells, |
1522 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. | 1116 # such as our DU 5.0 friend, will then `close' the trap. |
1523 trap 'exit_status=$? | 1117 trap 'exit_status=$? |
1524 # Save into config.log some information that might help in debugging. | 1118 # Save into config.log some information that might help in debugging. |
1525 { | 1119 { |
1526 echo | 1120 echo |
1527 | 1121 |
1530 ## Cache variables. ## | 1124 ## Cache variables. ## |
1531 ## ---------------- ## | 1125 ## ---------------- ## |
1532 _ASBOX | 1126 _ASBOX |
1533 echo | 1127 echo |
1534 # The following way of writing the cache mishandles newlines in values, | 1128 # The following way of writing the cache mishandles newlines in values, |
1535 ( | 1129 { |
1536 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | |
1537 eval ac_val=\$$ac_var | |
1538 case $ac_val in #( | |
1539 *${as_nl}*) | |
1540 case $ac_var in #( | |
1541 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 | |
1542 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; | |
1543 esac | |
1544 case $ac_var in #( | |
1545 _ | IFS | as_nl) ;; #( | |
1546 *) $as_unset $ac_var ;; | |
1547 esac ;; | |
1548 esac | |
1549 done | |
1550 (set) 2>&1 | | 1130 (set) 2>&1 | |
1551 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( | 1131 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
1552 *${as_nl}ac_space=\ *) | 1132 *ac_space=\ *) |
1553 sed -n \ | 1133 sed -n \ |
1554 "s/'\''/'\''\\\\'\'''\''/g; | 1134 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
1555 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" | 1135 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
1556 ;; #( | 1136 ;; |
1557 *) | 1137 *) |
1558 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | 1138 sed -n \ |
1139 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | |
1559 ;; | 1140 ;; |
1560 esac | | 1141 esac; |
1561 sort | 1142 } |
1562 ) | |
1563 echo | 1143 echo |
1564 | 1144 |
1565 cat <<\_ASBOX | 1145 cat <<\_ASBOX |
1566 ## ----------------- ## | 1146 ## ----------------- ## |
1567 ## Output variables. ## | 1147 ## Output variables. ## |
1568 ## ----------------- ## | 1148 ## ----------------- ## |
1569 _ASBOX | 1149 _ASBOX |
1570 echo | 1150 echo |
1571 for ac_var in $ac_subst_vars | 1151 for ac_var in $ac_subst_vars |
1572 do | 1152 do |
1573 eval ac_val=\$$ac_var | 1153 eval ac_val=$`echo $ac_var` |
1574 case $ac_val in | 1154 echo "$ac_var='"'"'$ac_val'"'"'" |
1575 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | |
1576 esac | |
1577 echo "$ac_var='\''$ac_val'\''" | |
1578 done | sort | 1155 done | sort |
1579 echo | 1156 echo |
1580 | 1157 |
1581 if test -n "$ac_subst_files"; then | 1158 if test -n "$ac_subst_files"; then |
1582 cat <<\_ASBOX | 1159 cat <<\_ASBOX |
1583 ## ------------------- ## | 1160 ## ------------- ## |
1584 ## File substitutions. ## | 1161 ## Output files. ## |
1585 ## ------------------- ## | 1162 ## ------------- ## |
1586 _ASBOX | 1163 _ASBOX |
1587 echo | 1164 echo |
1588 for ac_var in $ac_subst_files | 1165 for ac_var in $ac_subst_files |
1589 do | 1166 do |
1590 eval ac_val=\$$ac_var | 1167 eval ac_val=$`echo $ac_var` |
1591 case $ac_val in | 1168 echo "$ac_var='"'"'$ac_val'"'"'" |
1592 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | |
1593 esac | |
1594 echo "$ac_var='\''$ac_val'\''" | |
1595 done | sort | 1169 done | sort |
1596 echo | 1170 echo |
1597 fi | 1171 fi |
1598 | 1172 |
1599 if test -s confdefs.h; then | 1173 if test -s confdefs.h; then |
1601 ## ----------- ## | 1175 ## ----------- ## |
1602 ## confdefs.h. ## | 1176 ## confdefs.h. ## |
1603 ## ----------- ## | 1177 ## ----------- ## |
1604 _ASBOX | 1178 _ASBOX |
1605 echo | 1179 echo |
1606 cat confdefs.h | 1180 sed "/^$/d" confdefs.h | sort |
1607 echo | 1181 echo |
1608 fi | 1182 fi |
1609 test "$ac_signal" != 0 && | 1183 test "$ac_signal" != 0 && |
1610 echo "$as_me: caught signal $ac_signal" | 1184 echo "$as_me: caught signal $ac_signal" |
1611 echo "$as_me: exit $exit_status" | 1185 echo "$as_me: exit $exit_status" |
1612 } >&5 | 1186 } >&5 |
1613 rm -f core *.core core.conftest.* && | 1187 rm -f core *.core && |
1614 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && | 1188 rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
1615 exit $exit_status | 1189 exit $exit_status |
1616 ' 0 | 1190 ' 0 |
1617 for ac_signal in 1 2 13 15; do | 1191 for ac_signal in 1 2 13 15; do |
1618 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | 1192 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
1619 done | 1193 done |
1620 ac_signal=0 | 1194 ac_signal=0 |
1621 | 1195 |
1622 # confdefs.h avoids OS command line length limits that DEFS can exceed. | 1196 # confdefs.h avoids OS command line length limits that DEFS can exceed. |
1623 rm -f -r conftest* confdefs.h | 1197 rm -rf conftest* confdefs.h |
1198 # AIX cpp loses on an empty file, so make sure it contains at least a newline. | |
1199 echo >confdefs.h | |
1624 | 1200 |
1625 # Predefined preprocessor variables. | 1201 # Predefined preprocessor variables. |
1626 | 1202 |
1627 cat >>confdefs.h <<_ACEOF | 1203 cat >>confdefs.h <<_ACEOF |
1628 #define PACKAGE_NAME "$PACKAGE_NAME" | 1204 #define PACKAGE_NAME "$PACKAGE_NAME" |
1649 _ACEOF | 1225 _ACEOF |
1650 | 1226 |
1651 | 1227 |
1652 # Let the site file select an alternate cache file if it wants to. | 1228 # Let the site file select an alternate cache file if it wants to. |
1653 # Prefer explicitly selected file to automatically selected ones. | 1229 # Prefer explicitly selected file to automatically selected ones. |
1654 if test -n "$CONFIG_SITE"; then | 1230 if test -z "$CONFIG_SITE"; then |
1655 set x "$CONFIG_SITE" | 1231 if test "x$prefix" != xNONE; then |
1656 elif test "x$prefix" != xNONE; then | 1232 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" |
1657 set x "$prefix/share/config.site" "$prefix/etc/config.site" | 1233 else |
1658 else | 1234 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
1659 set x "$ac_default_prefix/share/config.site" \ | 1235 fi |
1660 "$ac_default_prefix/etc/config.site" | 1236 fi |
1661 fi | 1237 for ac_site_file in $CONFIG_SITE; do |
1662 shift | |
1663 for ac_site_file | |
1664 do | |
1665 if test -r "$ac_site_file"; then | 1238 if test -r "$ac_site_file"; then |
1666 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 | 1239 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
1667 echo "$as_me: loading site script $ac_site_file" >&6;} | 1240 echo "$as_me: loading site script $ac_site_file" >&6;} |
1668 sed 's/^/| /' "$ac_site_file" >&5 | 1241 sed 's/^/| /' "$ac_site_file" >&5 |
1669 . "$ac_site_file" | 1242 . "$ac_site_file" |
1675 # files actually), so we avoid doing that. | 1248 # files actually), so we avoid doing that. |
1676 if test -f "$cache_file"; then | 1249 if test -f "$cache_file"; then |
1677 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 | 1250 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
1678 echo "$as_me: loading cache $cache_file" >&6;} | 1251 echo "$as_me: loading cache $cache_file" >&6;} |
1679 case $cache_file in | 1252 case $cache_file in |
1680 [\\/]* | ?:[\\/]* ) . "$cache_file";; | 1253 [\\/]* | ?:[\\/]* ) . $cache_file;; |
1681 *) . "./$cache_file";; | 1254 *) . ./$cache_file;; |
1682 esac | 1255 esac |
1683 fi | 1256 fi |
1684 else | 1257 else |
1685 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 | 1258 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
1686 echo "$as_me: creating cache $cache_file" >&6;} | 1259 echo "$as_me: creating cache $cache_file" >&6;} |
1688 fi | 1261 fi |
1689 | 1262 |
1690 # Check that the precious variables saved in the cache have kept the same | 1263 # Check that the precious variables saved in the cache have kept the same |
1691 # value. | 1264 # value. |
1692 ac_cache_corrupted=false | 1265 ac_cache_corrupted=false |
1693 for ac_var in $ac_precious_vars; do | 1266 for ac_var in `(set) 2>&1 | |
1267 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do | |
1694 eval ac_old_set=\$ac_cv_env_${ac_var}_set | 1268 eval ac_old_set=\$ac_cv_env_${ac_var}_set |
1695 eval ac_new_set=\$ac_env_${ac_var}_set | 1269 eval ac_new_set=\$ac_env_${ac_var}_set |
1696 eval ac_old_val=\$ac_cv_env_${ac_var}_value | 1270 eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
1697 eval ac_new_val=\$ac_env_${ac_var}_value | 1271 eval ac_new_val="\$ac_env_${ac_var}_value" |
1698 case $ac_old_set,$ac_new_set in | 1272 case $ac_old_set,$ac_new_set in |
1699 set,) | 1273 set,) |
1700 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | 1274 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
1701 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | 1275 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
1702 ac_cache_corrupted=: ;; | 1276 ac_cache_corrupted=: ;; |
1717 fi;; | 1291 fi;; |
1718 esac | 1292 esac |
1719 # Pass precious variables to config.status. | 1293 # Pass precious variables to config.status. |
1720 if test "$ac_new_set" = set; then | 1294 if test "$ac_new_set" = set; then |
1721 case $ac_new_val in | 1295 case $ac_new_val in |
1722 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | 1296 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
1297 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | |
1723 *) ac_arg=$ac_var=$ac_new_val ;; | 1298 *) ac_arg=$ac_var=$ac_new_val ;; |
1724 esac | 1299 esac |
1725 case " $ac_configure_args " in | 1300 case " $ac_configure_args " in |
1726 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | 1301 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
1727 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | 1302 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
1734 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 | 1309 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
1735 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | 1310 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
1736 { (exit 1); exit 1; }; } | 1311 { (exit 1); exit 1; }; } |
1737 fi | 1312 fi |
1738 | 1313 |
1739 | |
1740 | |
1741 | |
1742 | |
1743 | |
1744 | |
1745 | |
1746 | |
1747 | |
1748 | |
1749 | |
1750 | |
1751 | |
1752 | |
1753 | |
1754 | |
1755 ac_ext=c | 1314 ac_ext=c |
1756 ac_cpp='$CPP $CPPFLAGS' | 1315 ac_cpp='$CPP $CPPFLAGS' |
1757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 1316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 1317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1759 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 1318 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1760 | 1319 |
1761 | 1320 |
1762 ac_config_headers="$ac_config_headers src/config.h:src/config.in" | 1321 |
1322 | |
1323 | |
1324 | |
1325 | |
1326 | |
1327 | |
1328 | |
1329 | |
1330 | |
1331 | |
1332 | |
1333 | |
1334 | |
1335 | |
1336 | |
1337 | |
1338 ac_config_headers="$ac_config_headers src/config.h:src/config.in" | |
1763 | 1339 |
1764 | 1340 |
1765 test "$program_prefix" != NONE && | 1341 test "$program_prefix" != NONE && |
1766 program_transform_name="s&^&$program_prefix&;$program_transform_name" | 1342 program_transform_name="s,^,$program_prefix,;$program_transform_name" |
1767 # Use a double $ so make ignores it. | 1343 # Use a double $ so make ignores it. |
1768 test "$program_suffix" != NONE && | 1344 test "$program_suffix" != NONE && |
1769 program_transform_name="s&\$&$program_suffix&;$program_transform_name" | 1345 program_transform_name="s,\$,$program_suffix,;$program_transform_name" |
1770 # Double any \ or $. echo might interpret backslashes. | 1346 # Double any \ or $. echo might interpret backslashes. |
1771 # By default was `s,x,x', remove it if useless. | 1347 # By default was `s,x,x', remove it if useless. |
1772 cat <<\_ACEOF >conftest.sed | 1348 cat <<\_ACEOF >conftest.sed |
1773 s/[\\$]/&&/g;s/;s,x,x,$// | 1349 s/[\\$]/&&/g;s/;s,x,x,$// |
1774 _ACEOF | 1350 _ACEOF |
1775 program_transform_name=`echo $program_transform_name | sed -f conftest.sed` | 1351 program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
1776 rm -f conftest.sed | 1352 rm conftest.sed |
1777 | 1353 |
1778 | 1354 |
1779 lispdir='${datadir}/emacs/${version}/lisp' | 1355 lispdir='${datadir}/emacs/${version}/lisp' |
1780 locallisppath='${datadir}/emacs/${version}/site-lisp:'\ | 1356 locallisppath='${datadir}/emacs/${version}/site-lisp:'\ |
1781 '${datadir}/emacs/site-lisp' | 1357 '${datadir}/emacs/site-lisp' |
1786 gamedir='${localstatedir}/games/emacs' | 1362 gamedir='${localstatedir}/games/emacs' |
1787 | 1363 |
1788 gameuser=games | 1364 gameuser=games |
1789 | 1365 |
1790 | 1366 |
1791 # Check whether --with-gcc was given. | 1367 # Check whether --with-gcc or --without-gcc was given. |
1792 if test "${with_gcc+set}" = set; then | 1368 if test "${with_gcc+set}" = set; then |
1793 withval=$with_gcc; | 1369 withval="$with_gcc" |
1794 fi | 1370 |
1795 | 1371 fi; |
1796 | 1372 |
1797 # Check whether --with-pop was given. | 1373 # Check whether --with-pop or --without-pop was given. |
1798 if test "${with_pop+set}" = set; then | 1374 if test "${with_pop+set}" = set; then |
1799 withval=$with_pop; if test "$withval" = yes; then | 1375 withval="$with_pop" |
1376 if test "$withval" = yes; then | |
1800 cat >>confdefs.h <<\_ACEOF | 1377 cat >>confdefs.h <<\_ACEOF |
1801 #define MAIL_USE_POP 1 | 1378 #define MAIL_USE_POP 1 |
1802 _ACEOF | 1379 _ACEOF |
1803 | 1380 |
1804 else : | 1381 else : |
1806 else | 1383 else |
1807 cat >>confdefs.h <<\_ACEOF | 1384 cat >>confdefs.h <<\_ACEOF |
1808 #define MAIL_USE_POP 1 | 1385 #define MAIL_USE_POP 1 |
1809 _ACEOF | 1386 _ACEOF |
1810 | 1387 |
1811 fi | 1388 fi; |
1812 | 1389 |
1813 | 1390 |
1814 | 1391 # Check whether --with-kerberos or --without-kerberos was given. |
1815 # Check whether --with-kerberos was given. | |
1816 if test "${with_kerberos+set}" = set; then | 1392 if test "${with_kerberos+set}" = set; then |
1817 withval=$with_kerberos; cat >>confdefs.h <<\_ACEOF | 1393 withval="$with_kerberos" |
1394 cat >>confdefs.h <<\_ACEOF | |
1818 #define KERBEROS 1 | 1395 #define KERBEROS 1 |
1819 _ACEOF | 1396 _ACEOF |
1820 | 1397 |
1821 fi | 1398 fi; |
1822 | 1399 |
1823 | 1400 |
1824 | 1401 # Check whether --with-kerberos5 or --without-kerberos5 was given. |
1825 # Check whether --with-kerberos5 was given. | |
1826 if test "${with_kerberos5+set}" = set; then | 1402 if test "${with_kerberos5+set}" = set; then |
1827 withval=$with_kerberos5; if test "${with_kerberos5+set}" = set; then | 1403 withval="$with_kerberos5" |
1404 if test "${with_kerberos5+set}" = set; then | |
1828 if test "${with_kerberos+set}" != set; then | 1405 if test "${with_kerberos+set}" != set; then |
1829 with_kerberos=yes | 1406 with_kerberos=yes |
1830 cat >>confdefs.h <<\_ACEOF | 1407 cat >>confdefs.h <<\_ACEOF |
1831 #define KERBEROS 1 | 1408 #define KERBEROS 1 |
1832 _ACEOF | 1409 _ACEOF |
1836 | 1413 |
1837 cat >>confdefs.h <<\_ACEOF | 1414 cat >>confdefs.h <<\_ACEOF |
1838 #define KERBEROS5 1 | 1415 #define KERBEROS5 1 |
1839 _ACEOF | 1416 _ACEOF |
1840 | 1417 |
1841 fi | 1418 fi; |
1842 | 1419 |
1843 | 1420 # Check whether --with-hesiod or --without-hesiod was given. |
1844 # Check whether --with-hesiod was given. | |
1845 if test "${with_hesiod+set}" = set; then | 1421 if test "${with_hesiod+set}" = set; then |
1846 withval=$with_hesiod; | 1422 withval="$with_hesiod" |
1423 | |
1847 cat >>confdefs.h <<\_ACEOF | 1424 cat >>confdefs.h <<\_ACEOF |
1848 #define HESIOD 1 | 1425 #define HESIOD 1 |
1849 _ACEOF | 1426 _ACEOF |
1850 | 1427 |
1851 fi | 1428 fi; |
1852 | 1429 |
1853 | 1430 |
1854 | 1431 # Check whether --with-sound or --without-sound was given. |
1855 # Check whether --with-sound was given. | |
1856 if test "${with_sound+set}" = set; then | 1432 if test "${with_sound+set}" = set; then |
1857 withval=$with_sound; | 1433 withval="$with_sound" |
1858 fi | 1434 |
1859 | 1435 fi; |
1860 | 1436 |
1861 | 1437 |
1862 # Check whether --with-x-toolkit was given. | 1438 # Check whether --with-x-toolkit or --without-x-toolkit was given. |
1863 if test "${with_x_toolkit+set}" = set; then | 1439 if test "${with_x_toolkit+set}" = set; then |
1864 withval=$with_x_toolkit; case "${withval}" in | 1440 withval="$with_x_toolkit" |
1441 case "${withval}" in | |
1865 y | ye | yes ) val=athena ;; | 1442 y | ye | yes ) val=athena ;; |
1866 n | no ) val=no ;; | 1443 n | no ) val=no ;; |
1867 l | lu | luc | luci | lucid ) val=lucid ;; | 1444 l | lu | luc | luci | lucid ) val=lucid ;; |
1868 a | at | ath | athe | athen | athena ) val=athena ;; | 1445 a | at | ath | athe | athen | athena ) val=athena ;; |
1869 m | mo | mot | moti | motif ) val=motif ;; | 1446 m | mo | mot | moti | motif ) val=motif ;; |
1878 { (exit 1); exit 1; }; } | 1455 { (exit 1); exit 1; }; } |
1879 ;; | 1456 ;; |
1880 esac | 1457 esac |
1881 with_x_toolkit=$val | 1458 with_x_toolkit=$val |
1882 | 1459 |
1883 fi | 1460 fi; |
1884 | 1461 |
1885 | 1462 # Check whether --with-xpm or --without-xpm was given. |
1886 # Check whether --with-xpm was given. | |
1887 if test "${with_xpm+set}" = set; then | 1463 if test "${with_xpm+set}" = set; then |
1888 withval=$with_xpm; | 1464 withval="$with_xpm" |
1889 fi | 1465 |
1890 | 1466 fi; |
1891 | 1467 |
1892 # Check whether --with-jpeg was given. | 1468 # Check whether --with-jpeg or --without-jpeg was given. |
1893 if test "${with_jpeg+set}" = set; then | 1469 if test "${with_jpeg+set}" = set; then |
1894 withval=$with_jpeg; | 1470 withval="$with_jpeg" |
1895 fi | 1471 |
1896 | 1472 fi; |
1897 | 1473 |
1898 # Check whether --with-tiff was given. | 1474 # Check whether --with-tiff or --without-tiff was given. |
1899 if test "${with_tiff+set}" = set; then | 1475 if test "${with_tiff+set}" = set; then |
1900 withval=$with_tiff; | 1476 withval="$with_tiff" |
1901 fi | 1477 |
1902 | 1478 fi; |
1903 | 1479 |
1904 # Check whether --with-gif was given. | 1480 # Check whether --with-gif or --without-gif was given. |
1905 if test "${with_gif+set}" = set; then | 1481 if test "${with_gif+set}" = set; then |
1906 withval=$with_gif; | 1482 withval="$with_gif" |
1907 fi | 1483 |
1908 | 1484 fi; |
1909 | 1485 |
1910 # Check whether --with-png was given. | 1486 # Check whether --with-png or --without-png was given. |
1911 if test "${with_png+set}" = set; then | 1487 if test "${with_png+set}" = set; then |
1912 withval=$with_png; | 1488 withval="$with_png" |
1913 fi | 1489 |
1914 | 1490 fi; |
1915 | 1491 |
1916 # Check whether --with-gtk was given. | 1492 # Check whether --with-gtk or --without-gtk was given. |
1917 if test "${with_gtk+set}" = set; then | 1493 if test "${with_gtk+set}" = set; then |
1918 withval=$with_gtk; | 1494 withval="$with_gtk" |
1919 fi | 1495 |
1920 | 1496 fi; |
1921 | 1497 |
1922 # Check whether --with-pkg-config-prog was given. | 1498 # Check whether --with-pkg-config-prog or --without-pkg-config-prog was given. |
1923 if test "${with_pkg_config_prog+set}" = set; then | 1499 if test "${with_pkg_config_prog+set}" = set; then |
1924 withval=$with_pkg_config_prog; | 1500 withval="$with_pkg_config_prog" |
1925 fi | 1501 |
1926 | 1502 fi; |
1927 | 1503 |
1928 # Check whether --with-toolkit-scroll-bars was given. | 1504 # Check whether --with-toolkit-scroll-bars or --without-toolkit-scroll-bars was given. |
1929 if test "${with_toolkit_scroll_bars+set}" = set; then | 1505 if test "${with_toolkit_scroll_bars+set}" = set; then |
1930 withval=$with_toolkit_scroll_bars; | 1506 withval="$with_toolkit_scroll_bars" |
1931 fi | 1507 |
1932 | 1508 fi; |
1933 | 1509 |
1934 # Check whether --with-xim was given. | 1510 # Check whether --with-xim or --without-xim was given. |
1935 if test "${with_xim+set}" = set; then | 1511 if test "${with_xim+set}" = set; then |
1936 withval=$with_xim; | 1512 withval="$with_xim" |
1937 fi | 1513 |
1938 | 1514 fi; |
1939 | 1515 |
1940 # Check whether --with-carbon was given. | 1516 # Check whether --with-carbon or --without-carbon was given. |
1941 if test "${with_carbon+set}" = set; then | 1517 if test "${with_carbon+set}" = set; then |
1942 withval=$with_carbon; | 1518 withval="$with_carbon" |
1943 fi | 1519 |
1944 | 1520 fi; |
1945 # Check whether --enable-carbon-app was given. | 1521 # Check whether --enable-carbon-app or --disable-carbon-app was given. |
1946 if test "${enable_carbon_app+set}" = set; then | 1522 if test "${enable_carbon_app+set}" = set; then |
1947 enableval=$enable_carbon_app; carbon_appdir_x=${enableval} | 1523 enableval="$enable_carbon_app" |
1948 fi | 1524 carbon_appdir_x=${enableval} |
1949 | 1525 fi; |
1950 | 1526 |
1951 # Check whether --enable-asserts was given. | 1527 # Check whether --enable-asserts or --disable-asserts was given. |
1952 if test "${enable_asserts+set}" = set; then | 1528 if test "${enable_asserts+set}" = set; then |
1953 enableval=$enable_asserts; USE_XASSERTS=$enableval | 1529 enableval="$enable_asserts" |
1530 USE_XASSERTS=$enableval | |
1954 else | 1531 else |
1955 USE_XASSERTS=no | 1532 USE_XASSERTS=no |
1956 fi | 1533 fi; |
1957 | 1534 |
1958 | 1535 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. |
1959 # Check whether --enable-maintainer-mode was given. | |
1960 if test "${enable_maintainer_mode+set}" = set; then | 1536 if test "${enable_maintainer_mode+set}" = set; then |
1961 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval | 1537 enableval="$enable_maintainer_mode" |
1538 USE_MAINTAINER_MODE=$enableval | |
1962 else | 1539 else |
1963 USE_MAINTAINER_MODE=no | 1540 USE_MAINTAINER_MODE=no |
1964 fi | 1541 fi; |
1965 | |
1966 if test $USE_MAINTAINER_MODE = yes; then | 1542 if test $USE_MAINTAINER_MODE = yes; then |
1967 MAINT= | 1543 MAINT= |
1968 else | 1544 else |
1969 MAINT=# | 1545 MAINT=# |
1970 fi | 1546 fi |
1971 | 1547 |
1972 | 1548 |
1973 # Check whether --enable-locallisppath was given. | 1549 # Check whether --enable-locallisppath or --disable-locallisppath was given. |
1974 if test "${enable_locallisppath+set}" = set; then | 1550 if test "${enable_locallisppath+set}" = set; then |
1975 enableval=$enable_locallisppath; if test "${enableval}" = "no"; then | 1551 enableval="$enable_locallisppath" |
1552 if test "${enableval}" = "no"; then | |
1976 locallisppath= | 1553 locallisppath= |
1977 elif test "${enableval}" != "yes"; then | 1554 elif test "${enableval}" != "yes"; then |
1978 locallisppath=${enableval} | 1555 locallisppath=${enableval} |
1979 fi | 1556 fi |
1980 fi | 1557 fi; |
1981 | |
1982 | 1558 |
1983 #### Make srcdir absolute, if it isn't already. It's important to | 1559 #### Make srcdir absolute, if it isn't already. It's important to |
1984 #### avoid running the path through pwd unnecessarily, since pwd can | 1560 #### avoid running the path through pwd unnecessarily, since pwd can |
1985 #### give you automounter prefixes, which can go away. We do all this | 1561 #### give you automounter prefixes, which can go away. We do all this |
1986 #### so Emacs can find its files when run uninstalled. | 1562 #### so Emacs can find its files when run uninstalled. |
2025 #### names of the m/*.h and s/*.h files we should use. | 1601 #### names of the m/*.h and s/*.h files we should use. |
2026 | 1602 |
2027 ### Canonicalize the configuration name. | 1603 ### Canonicalize the configuration name. |
2028 | 1604 |
2029 ac_aux_dir= | 1605 ac_aux_dir= |
2030 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do | 1606 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
2031 if test -f "$ac_dir/install-sh"; then | 1607 if test -f $ac_dir/install-sh; then |
2032 ac_aux_dir=$ac_dir | 1608 ac_aux_dir=$ac_dir |
2033 ac_install_sh="$ac_aux_dir/install-sh -c" | 1609 ac_install_sh="$ac_aux_dir/install-sh -c" |
2034 break | 1610 break |
2035 elif test -f "$ac_dir/install.sh"; then | 1611 elif test -f $ac_dir/install.sh; then |
2036 ac_aux_dir=$ac_dir | 1612 ac_aux_dir=$ac_dir |
2037 ac_install_sh="$ac_aux_dir/install.sh -c" | 1613 ac_install_sh="$ac_aux_dir/install.sh -c" |
2038 break | 1614 break |
2039 elif test -f "$ac_dir/shtool"; then | 1615 elif test -f $ac_dir/shtool; then |
2040 ac_aux_dir=$ac_dir | 1616 ac_aux_dir=$ac_dir |
2041 ac_install_sh="$ac_aux_dir/shtool install -c" | 1617 ac_install_sh="$ac_aux_dir/shtool install -c" |
2042 break | 1618 break |
2043 fi | 1619 fi |
2044 done | 1620 done |
2045 if test -z "$ac_aux_dir"; then | 1621 if test -z "$ac_aux_dir"; then |
2046 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 | 1622 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 |
2047 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} | 1623 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} |
2048 { (exit 1); exit 1; }; } | 1624 { (exit 1); exit 1; }; } |
2049 fi | 1625 fi |
2050 | 1626 ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
2051 # These three variables are undocumented and unsupported, | 1627 ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
2052 # and are intended to be withdrawn in a future Autoconf release. | 1628 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
2053 # They can cause serious problems if a builder's source tree is in a directory | |
2054 # whose full name contains unusual characters. | |
2055 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. | |
2056 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. | |
2057 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. | |
2058 | |
2059 | 1629 |
2060 # Make sure we can run config.sub. | 1630 # Make sure we can run config.sub. |
2061 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || | 1631 $ac_config_sub sun4 >/dev/null 2>&1 || |
2062 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 | 1632 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
2063 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} | 1633 echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
2064 { (exit 1); exit 1; }; } | 1634 { (exit 1); exit 1; }; } |
2065 | 1635 |
2066 { echo "$as_me:$LINENO: checking build system type" >&5 | 1636 echo "$as_me:$LINENO: checking build system type" >&5 |
2067 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } | 1637 echo $ECHO_N "checking build system type... $ECHO_C" >&6 |
2068 if test "${ac_cv_build+set}" = set; then | 1638 if test "${ac_cv_build+set}" = set; then |
2069 echo $ECHO_N "(cached) $ECHO_C" >&6 | 1639 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2070 else | 1640 else |
2071 ac_build_alias=$build_alias | 1641 ac_cv_build_alias=$build_alias |
2072 test "x$ac_build_alias" = x && | 1642 test -z "$ac_cv_build_alias" && |
2073 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` | 1643 ac_cv_build_alias=`$ac_config_guess` |
2074 test "x$ac_build_alias" = x && | 1644 test -z "$ac_cv_build_alias" && |
2075 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 | 1645 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
2076 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | 1646 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
2077 { (exit 1); exit 1; }; } | 1647 { (exit 1); exit 1; }; } |
2078 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || | 1648 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || |
2079 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 | 1649 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 |
2080 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} | 1650 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} |
2081 { (exit 1); exit 1; }; } | 1651 { (exit 1); exit 1; }; } |
2082 | 1652 |
2083 fi | 1653 fi |
2084 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 | 1654 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
2085 echo "${ECHO_T}$ac_cv_build" >&6; } | 1655 echo "${ECHO_T}$ac_cv_build" >&6 |
2086 case $ac_cv_build in | |
2087 *-*-*) ;; | |
2088 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 | |
2089 echo "$as_me: error: invalid value of canonical build" >&2;} | |
2090 { (exit 1); exit 1; }; };; | |
2091 esac | |
2092 build=$ac_cv_build | 1656 build=$ac_cv_build |
2093 ac_save_IFS=$IFS; IFS='-' | 1657 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
2094 set x $ac_cv_build | 1658 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
2095 shift | 1659 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
2096 build_cpu=$1 | 1660 |
2097 build_vendor=$2 | 1661 |
2098 shift; shift | 1662 echo "$as_me:$LINENO: checking host system type" >&5 |
2099 # Remember, the first character of IFS is used to create $*, | 1663 echo $ECHO_N "checking host system type... $ECHO_C" >&6 |
2100 # except with old shells: | |
2101 build_os=$* | |
2102 IFS=$ac_save_IFS | |
2103 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac | |
2104 | |
2105 | |
2106 { echo "$as_me:$LINENO: checking host system type" >&5 | |
2107 echo $ECHO_N "checking host system type... $ECHO_C" >&6; } | |
2108 if test "${ac_cv_host+set}" = set; then | 1664 if test "${ac_cv_host+set}" = set; then |
2109 echo $ECHO_N "(cached) $ECHO_C" >&6 | 1665 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2110 else | 1666 else |
2111 if test "x$host_alias" = x; then | 1667 ac_cv_host_alias=$host_alias |
2112 ac_cv_host=$ac_cv_build | 1668 test -z "$ac_cv_host_alias" && |
2113 else | 1669 ac_cv_host_alias=$ac_cv_build_alias |
2114 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || | 1670 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || |
2115 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 | 1671 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 |
2116 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} | 1672 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} |
2117 { (exit 1); exit 1; }; } | 1673 { (exit 1); exit 1; }; } |
2118 fi | 1674 |
2119 | 1675 fi |
2120 fi | 1676 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
2121 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 | 1677 echo "${ECHO_T}$ac_cv_host" >&6 |
2122 echo "${ECHO_T}$ac_cv_host" >&6; } | |
2123 case $ac_cv_host in | |
2124 *-*-*) ;; | |
2125 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 | |
2126 echo "$as_me: error: invalid value of canonical host" >&2;} | |
2127 { (exit 1); exit 1; }; };; | |
2128 esac | |
2129 host=$ac_cv_host | 1678 host=$ac_cv_host |
2130 ac_save_IFS=$IFS; IFS='-' | 1679 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
2131 set x $ac_cv_host | 1680 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
2132 shift | 1681 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
2133 host_cpu=$1 | |
2134 host_vendor=$2 | |
2135 shift; shift | |
2136 # Remember, the first character of IFS is used to create $*, | |
2137 # except with old shells: | |
2138 host_os=$* | |
2139 IFS=$ac_save_IFS | |
2140 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac | |
2141 | 1682 |
2142 | 1683 |
2143 canonical=$host | 1684 canonical=$host |
2144 configuration=${host_alias-$host} | 1685 configuration=${host_alias-$host} |
2145 | 1686 |
3185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 2726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3186 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 2727 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3187 if test -n "$ac_tool_prefix"; then | 2728 if test -n "$ac_tool_prefix"; then |
3188 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | 2729 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
3189 set dummy ${ac_tool_prefix}gcc; ac_word=$2 | 2730 set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
3190 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2731 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 2732 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3192 if test "${ac_cv_prog_CC+set}" = set; then | 2733 if test "${ac_cv_prog_CC+set}" = set; then |
3193 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2734 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3194 else | 2735 else |
3195 if test -n "$CC"; then | 2736 if test -n "$CC"; then |
3196 ac_cv_prog_CC="$CC" # Let the user override the test. | 2737 ac_cv_prog_CC="$CC" # Let the user override the test. |
3199 for as_dir in $PATH | 2740 for as_dir in $PATH |
3200 do | 2741 do |
3201 IFS=$as_save_IFS | 2742 IFS=$as_save_IFS |
3202 test -z "$as_dir" && as_dir=. | 2743 test -z "$as_dir" && as_dir=. |
3203 for ac_exec_ext in '' $ac_executable_extensions; do | 2744 for ac_exec_ext in '' $ac_executable_extensions; do |
3204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then | 2745 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3205 ac_cv_prog_CC="${ac_tool_prefix}gcc" | 2746 ac_cv_prog_CC="${ac_tool_prefix}gcc" |
3206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2747 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3207 break 2 | 2748 break 2 |
3208 fi | 2749 fi |
3209 done | 2750 done |
3210 done | 2751 done |
3211 IFS=$as_save_IFS | |
3212 | 2752 |
3213 fi | 2753 fi |
3214 fi | 2754 fi |
3215 CC=$ac_cv_prog_CC | 2755 CC=$ac_cv_prog_CC |
3216 if test -n "$CC"; then | 2756 if test -n "$CC"; then |
3217 { echo "$as_me:$LINENO: result: $CC" >&5 | 2757 echo "$as_me:$LINENO: result: $CC" >&5 |
3218 echo "${ECHO_T}$CC" >&6; } | 2758 echo "${ECHO_T}$CC" >&6 |
3219 else | 2759 else |
3220 { echo "$as_me:$LINENO: result: no" >&5 | 2760 echo "$as_me:$LINENO: result: no" >&5 |
3221 echo "${ECHO_T}no" >&6; } | 2761 echo "${ECHO_T}no" >&6 |
3222 fi | 2762 fi |
3223 | |
3224 | 2763 |
3225 fi | 2764 fi |
3226 if test -z "$ac_cv_prog_CC"; then | 2765 if test -z "$ac_cv_prog_CC"; then |
3227 ac_ct_CC=$CC | 2766 ac_ct_CC=$CC |
3228 # Extract the first word of "gcc", so it can be a program name with args. | 2767 # Extract the first word of "gcc", so it can be a program name with args. |
3229 set dummy gcc; ac_word=$2 | 2768 set dummy gcc; ac_word=$2 |
3230 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2769 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 2770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3232 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 2771 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
3233 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2772 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3234 else | 2773 else |
3235 if test -n "$ac_ct_CC"; then | 2774 if test -n "$ac_ct_CC"; then |
3236 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 2775 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3239 for as_dir in $PATH | 2778 for as_dir in $PATH |
3240 do | 2779 do |
3241 IFS=$as_save_IFS | 2780 IFS=$as_save_IFS |
3242 test -z "$as_dir" && as_dir=. | 2781 test -z "$as_dir" && as_dir=. |
3243 for ac_exec_ext in '' $ac_executable_extensions; do | 2782 for ac_exec_ext in '' $ac_executable_extensions; do |
3244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then | 2783 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3245 ac_cv_prog_ac_ct_CC="gcc" | 2784 ac_cv_prog_ac_ct_CC="gcc" |
3246 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3247 break 2 | 2786 break 2 |
3248 fi | 2787 fi |
3249 done | 2788 done |
3250 done | 2789 done |
3251 IFS=$as_save_IFS | |
3252 | 2790 |
3253 fi | 2791 fi |
3254 fi | 2792 fi |
3255 ac_ct_CC=$ac_cv_prog_ac_ct_CC | 2793 ac_ct_CC=$ac_cv_prog_ac_ct_CC |
3256 if test -n "$ac_ct_CC"; then | 2794 if test -n "$ac_ct_CC"; then |
3257 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 2795 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
3258 echo "${ECHO_T}$ac_ct_CC" >&6; } | 2796 echo "${ECHO_T}$ac_ct_CC" >&6 |
3259 else | 2797 else |
3260 { echo "$as_me:$LINENO: result: no" >&5 | 2798 echo "$as_me:$LINENO: result: no" >&5 |
3261 echo "${ECHO_T}no" >&6; } | 2799 echo "${ECHO_T}no" >&6 |
3262 fi | 2800 fi |
3263 | 2801 |
3264 if test "x$ac_ct_CC" = x; then | 2802 CC=$ac_ct_CC |
3265 CC="" | |
3266 else | |
3267 case $cross_compiling:$ac_tool_warned in | |
3268 yes:) | |
3269 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | |
3270 whose name does not start with the host triplet. If you think this | |
3271 configuration is useful to you, please write to autoconf@gnu.org." >&5 | |
3272 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | |
3273 whose name does not start with the host triplet. If you think this | |
3274 configuration is useful to you, please write to autoconf@gnu.org." >&2;} | |
3275 ac_tool_warned=yes ;; | |
3276 esac | |
3277 CC=$ac_ct_CC | |
3278 fi | |
3279 else | 2803 else |
3280 CC="$ac_cv_prog_CC" | 2804 CC="$ac_cv_prog_CC" |
3281 fi | 2805 fi |
3282 | 2806 |
3283 if test -z "$CC"; then | 2807 if test -z "$CC"; then |
3284 if test -n "$ac_tool_prefix"; then | 2808 if test -n "$ac_tool_prefix"; then |
3285 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | 2809 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
3286 set dummy ${ac_tool_prefix}cc; ac_word=$2 | 2810 set dummy ${ac_tool_prefix}cc; ac_word=$2 |
3287 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2811 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 2812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3289 if test "${ac_cv_prog_CC+set}" = set; then | 2813 if test "${ac_cv_prog_CC+set}" = set; then |
3290 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2814 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3291 else | 2815 else |
3292 if test -n "$CC"; then | 2816 if test -n "$CC"; then |
3293 ac_cv_prog_CC="$CC" # Let the user override the test. | 2817 ac_cv_prog_CC="$CC" # Let the user override the test. |
3296 for as_dir in $PATH | 2820 for as_dir in $PATH |
3297 do | 2821 do |
3298 IFS=$as_save_IFS | 2822 IFS=$as_save_IFS |
3299 test -z "$as_dir" && as_dir=. | 2823 test -z "$as_dir" && as_dir=. |
3300 for ac_exec_ext in '' $ac_executable_extensions; do | 2824 for ac_exec_ext in '' $ac_executable_extensions; do |
3301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then | 2825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3302 ac_cv_prog_CC="${ac_tool_prefix}cc" | 2826 ac_cv_prog_CC="${ac_tool_prefix}cc" |
3303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3304 break 2 | 2828 break 2 |
3305 fi | 2829 fi |
3306 done | 2830 done |
3307 done | 2831 done |
3308 IFS=$as_save_IFS | |
3309 | 2832 |
3310 fi | 2833 fi |
3311 fi | 2834 fi |
3312 CC=$ac_cv_prog_CC | 2835 CC=$ac_cv_prog_CC |
3313 if test -n "$CC"; then | 2836 if test -n "$CC"; then |
3314 { echo "$as_me:$LINENO: result: $CC" >&5 | 2837 echo "$as_me:$LINENO: result: $CC" >&5 |
3315 echo "${ECHO_T}$CC" >&6; } | 2838 echo "${ECHO_T}$CC" >&6 |
3316 else | 2839 else |
3317 { echo "$as_me:$LINENO: result: no" >&5 | 2840 echo "$as_me:$LINENO: result: no" >&5 |
3318 echo "${ECHO_T}no" >&6; } | 2841 echo "${ECHO_T}no" >&6 |
3319 fi | 2842 fi |
3320 | 2843 |
3321 | 2844 fi |
2845 if test -z "$ac_cv_prog_CC"; then | |
2846 ac_ct_CC=$CC | |
2847 # Extract the first word of "cc", so it can be a program name with args. | |
2848 set dummy cc; ac_word=$2 | |
2849 echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
2850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
2851 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | |
2852 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2853 else | |
2854 if test -n "$ac_ct_CC"; then | |
2855 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
2856 else | |
2857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2858 for as_dir in $PATH | |
2859 do | |
2860 IFS=$as_save_IFS | |
2861 test -z "$as_dir" && as_dir=. | |
2862 for ac_exec_ext in '' $ac_executable_extensions; do | |
2863 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
2864 ac_cv_prog_ac_ct_CC="cc" | |
2865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2866 break 2 | |
3322 fi | 2867 fi |
2868 done | |
2869 done | |
2870 | |
2871 fi | |
2872 fi | |
2873 ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
2874 if test -n "$ac_ct_CC"; then | |
2875 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | |
2876 echo "${ECHO_T}$ac_ct_CC" >&6 | |
2877 else | |
2878 echo "$as_me:$LINENO: result: no" >&5 | |
2879 echo "${ECHO_T}no" >&6 | |
2880 fi | |
2881 | |
2882 CC=$ac_ct_CC | |
2883 else | |
2884 CC="$ac_cv_prog_CC" | |
2885 fi | |
2886 | |
3323 fi | 2887 fi |
3324 if test -z "$CC"; then | 2888 if test -z "$CC"; then |
3325 # Extract the first word of "cc", so it can be a program name with args. | 2889 # Extract the first word of "cc", so it can be a program name with args. |
3326 set dummy cc; ac_word=$2 | 2890 set dummy cc; ac_word=$2 |
3327 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2891 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 2892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3329 if test "${ac_cv_prog_CC+set}" = set; then | 2893 if test "${ac_cv_prog_CC+set}" = set; then |
3330 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2894 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3331 else | 2895 else |
3332 if test -n "$CC"; then | 2896 if test -n "$CC"; then |
3333 ac_cv_prog_CC="$CC" # Let the user override the test. | 2897 ac_cv_prog_CC="$CC" # Let the user override the test. |
3337 for as_dir in $PATH | 2901 for as_dir in $PATH |
3338 do | 2902 do |
3339 IFS=$as_save_IFS | 2903 IFS=$as_save_IFS |
3340 test -z "$as_dir" && as_dir=. | 2904 test -z "$as_dir" && as_dir=. |
3341 for ac_exec_ext in '' $ac_executable_extensions; do | 2905 for ac_exec_ext in '' $ac_executable_extensions; do |
3342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then | 2906 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3343 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | 2907 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
3344 ac_prog_rejected=yes | 2908 ac_prog_rejected=yes |
3345 continue | 2909 continue |
3346 fi | 2910 fi |
3347 ac_cv_prog_CC="cc" | 2911 ac_cv_prog_CC="cc" |
3348 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3349 break 2 | 2913 break 2 |
3350 fi | 2914 fi |
3351 done | 2915 done |
3352 done | 2916 done |
3353 IFS=$as_save_IFS | |
3354 | 2917 |
3355 if test $ac_prog_rejected = yes; then | 2918 if test $ac_prog_rejected = yes; then |
3356 # We found a bogon in the path, so make sure we never use it. | 2919 # We found a bogon in the path, so make sure we never use it. |
3357 set dummy $ac_cv_prog_CC | 2920 set dummy $ac_cv_prog_CC |
3358 shift | 2921 shift |
3366 fi | 2929 fi |
3367 fi | 2930 fi |
3368 fi | 2931 fi |
3369 CC=$ac_cv_prog_CC | 2932 CC=$ac_cv_prog_CC |
3370 if test -n "$CC"; then | 2933 if test -n "$CC"; then |
3371 { echo "$as_me:$LINENO: result: $CC" >&5 | 2934 echo "$as_me:$LINENO: result: $CC" >&5 |
3372 echo "${ECHO_T}$CC" >&6; } | 2935 echo "${ECHO_T}$CC" >&6 |
3373 else | 2936 else |
3374 { echo "$as_me:$LINENO: result: no" >&5 | 2937 echo "$as_me:$LINENO: result: no" >&5 |
3375 echo "${ECHO_T}no" >&6; } | 2938 echo "${ECHO_T}no" >&6 |
3376 fi | 2939 fi |
3377 | |
3378 | 2940 |
3379 fi | 2941 fi |
3380 if test -z "$CC"; then | 2942 if test -z "$CC"; then |
3381 if test -n "$ac_tool_prefix"; then | 2943 if test -n "$ac_tool_prefix"; then |
3382 for ac_prog in cl.exe | 2944 for ac_prog in cl |
3383 do | 2945 do |
3384 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 2946 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
3385 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 2947 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
3386 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2948 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 2949 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3388 if test "${ac_cv_prog_CC+set}" = set; then | 2950 if test "${ac_cv_prog_CC+set}" = set; then |
3389 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2951 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3390 else | 2952 else |
3391 if test -n "$CC"; then | 2953 if test -n "$CC"; then |
3392 ac_cv_prog_CC="$CC" # Let the user override the test. | 2954 ac_cv_prog_CC="$CC" # Let the user override the test. |
3395 for as_dir in $PATH | 2957 for as_dir in $PATH |
3396 do | 2958 do |
3397 IFS=$as_save_IFS | 2959 IFS=$as_save_IFS |
3398 test -z "$as_dir" && as_dir=. | 2960 test -z "$as_dir" && as_dir=. |
3399 for ac_exec_ext in '' $ac_executable_extensions; do | 2961 for ac_exec_ext in '' $ac_executable_extensions; do |
3400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then | 2962 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3401 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 2963 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
3402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2964 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3403 break 2 | 2965 break 2 |
3404 fi | 2966 fi |
3405 done | 2967 done |
3406 done | 2968 done |
3407 IFS=$as_save_IFS | |
3408 | 2969 |
3409 fi | 2970 fi |
3410 fi | 2971 fi |
3411 CC=$ac_cv_prog_CC | 2972 CC=$ac_cv_prog_CC |
3412 if test -n "$CC"; then | 2973 if test -n "$CC"; then |
3413 { echo "$as_me:$LINENO: result: $CC" >&5 | 2974 echo "$as_me:$LINENO: result: $CC" >&5 |
3414 echo "${ECHO_T}$CC" >&6; } | 2975 echo "${ECHO_T}$CC" >&6 |
3415 else | 2976 else |
3416 { echo "$as_me:$LINENO: result: no" >&5 | 2977 echo "$as_me:$LINENO: result: no" >&5 |
3417 echo "${ECHO_T}no" >&6; } | 2978 echo "${ECHO_T}no" >&6 |
3418 fi | 2979 fi |
3419 | |
3420 | 2980 |
3421 test -n "$CC" && break | 2981 test -n "$CC" && break |
3422 done | 2982 done |
3423 fi | 2983 fi |
3424 if test -z "$CC"; then | 2984 if test -z "$CC"; then |
3425 ac_ct_CC=$CC | 2985 ac_ct_CC=$CC |
3426 for ac_prog in cl.exe | 2986 for ac_prog in cl |
3427 do | 2987 do |
3428 # Extract the first word of "$ac_prog", so it can be a program name with args. | 2988 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3429 set dummy $ac_prog; ac_word=$2 | 2989 set dummy $ac_prog; ac_word=$2 |
3430 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2990 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3431 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 2991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3432 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 2992 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
3433 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2993 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3434 else | 2994 else |
3435 if test -n "$ac_ct_CC"; then | 2995 if test -n "$ac_ct_CC"; then |
3436 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 2996 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3439 for as_dir in $PATH | 2999 for as_dir in $PATH |
3440 do | 3000 do |
3441 IFS=$as_save_IFS | 3001 IFS=$as_save_IFS |
3442 test -z "$as_dir" && as_dir=. | 3002 test -z "$as_dir" && as_dir=. |
3443 for ac_exec_ext in '' $ac_executable_extensions; do | 3003 for ac_exec_ext in '' $ac_executable_extensions; do |
3444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then | 3004 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3445 ac_cv_prog_ac_ct_CC="$ac_prog" | 3005 ac_cv_prog_ac_ct_CC="$ac_prog" |
3446 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3447 break 2 | 3007 break 2 |
3448 fi | 3008 fi |
3449 done | 3009 done |
3450 done | 3010 done |
3451 IFS=$as_save_IFS | |
3452 | 3011 |
3453 fi | 3012 fi |
3454 fi | 3013 fi |
3455 ac_ct_CC=$ac_cv_prog_ac_ct_CC | 3014 ac_ct_CC=$ac_cv_prog_ac_ct_CC |
3456 if test -n "$ac_ct_CC"; then | 3015 if test -n "$ac_ct_CC"; then |
3457 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 3016 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
3458 echo "${ECHO_T}$ac_ct_CC" >&6; } | 3017 echo "${ECHO_T}$ac_ct_CC" >&6 |
3459 else | 3018 else |
3460 { echo "$as_me:$LINENO: result: no" >&5 | 3019 echo "$as_me:$LINENO: result: no" >&5 |
3461 echo "${ECHO_T}no" >&6; } | 3020 echo "${ECHO_T}no" >&6 |
3462 fi | 3021 fi |
3463 | |
3464 | 3022 |
3465 test -n "$ac_ct_CC" && break | 3023 test -n "$ac_ct_CC" && break |
3466 done | 3024 done |
3467 | 3025 |
3468 if test "x$ac_ct_CC" = x; then | 3026 CC=$ac_ct_CC |
3469 CC="" | |
3470 else | |
3471 case $cross_compiling:$ac_tool_warned in | |
3472 yes:) | |
3473 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | |
3474 whose name does not start with the host triplet. If you think this | |
3475 configuration is useful to you, please write to autoconf@gnu.org." >&5 | |
3476 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | |
3477 whose name does not start with the host triplet. If you think this | |
3478 configuration is useful to you, please write to autoconf@gnu.org." >&2;} | |
3479 ac_tool_warned=yes ;; | |
3480 esac | |
3481 CC=$ac_ct_CC | |
3482 fi | |
3483 fi | 3027 fi |
3484 | 3028 |
3485 fi | 3029 fi |
3486 | 3030 |
3487 | 3031 |
3490 echo "$as_me: error: no acceptable C compiler found in \$PATH | 3034 echo "$as_me: error: no acceptable C compiler found in \$PATH |
3491 See \`config.log' for more details." >&2;} | 3035 See \`config.log' for more details." >&2;} |
3492 { (exit 1); exit 1; }; } | 3036 { (exit 1); exit 1; }; } |
3493 | 3037 |
3494 # Provide some information about the compiler. | 3038 # Provide some information about the compiler. |
3495 echo "$as_me:$LINENO: checking for C compiler version" >&5 | 3039 echo "$as_me:$LINENO:" \ |
3040 "checking for C compiler version" >&5 | |
3496 ac_compiler=`set X $ac_compile; echo $2` | 3041 ac_compiler=`set X $ac_compile; echo $2` |
3497 { (ac_try="$ac_compiler --version >&5" | 3042 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
3498 case "(($ac_try" in | 3043 (eval $ac_compiler --version </dev/null >&5) 2>&5 |
3499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3500 *) ac_try_echo=$ac_try;; | |
3501 esac | |
3502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3503 (eval "$ac_compiler --version >&5") 2>&5 | |
3504 ac_status=$? | 3044 ac_status=$? |
3505 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3045 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3506 (exit $ac_status); } | 3046 (exit $ac_status); } |
3507 { (ac_try="$ac_compiler -v >&5" | 3047 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
3508 case "(($ac_try" in | 3048 (eval $ac_compiler -v </dev/null >&5) 2>&5 |
3509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3510 *) ac_try_echo=$ac_try;; | |
3511 esac | |
3512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3513 (eval "$ac_compiler -v >&5") 2>&5 | |
3514 ac_status=$? | 3049 ac_status=$? |
3515 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3050 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3516 (exit $ac_status); } | 3051 (exit $ac_status); } |
3517 { (ac_try="$ac_compiler -V >&5" | 3052 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
3518 case "(($ac_try" in | 3053 (eval $ac_compiler -V </dev/null >&5) 2>&5 |
3519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3520 *) ac_try_echo=$ac_try;; | |
3521 esac | |
3522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3523 (eval "$ac_compiler -V >&5") 2>&5 | |
3524 ac_status=$? | 3054 ac_status=$? |
3525 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3055 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3526 (exit $ac_status); } | 3056 (exit $ac_status); } |
3527 | 3057 |
3528 cat >conftest.$ac_ext <<_ACEOF | 3058 cat >conftest.$ac_ext <<_ACEOF |
3543 ac_clean_files_save=$ac_clean_files | 3073 ac_clean_files_save=$ac_clean_files |
3544 ac_clean_files="$ac_clean_files a.out a.exe b.out" | 3074 ac_clean_files="$ac_clean_files a.out a.exe b.out" |
3545 # Try to create an executable without -o first, disregard a.out. | 3075 # Try to create an executable without -o first, disregard a.out. |
3546 # It will help us diagnose broken compilers, and finding out an intuition | 3076 # It will help us diagnose broken compilers, and finding out an intuition |
3547 # of exeext. | 3077 # of exeext. |
3548 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 | 3078 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
3549 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } | 3079 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 |
3550 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | 3080 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
3551 # | 3081 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
3552 # List of possible output files, starting from the most likely. | 3082 (eval $ac_link_default) 2>&5 |
3553 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) | |
3554 # only as a last resort. b.out is created by i960 compilers. | |
3555 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' | |
3556 # | |
3557 # The IRIX 6 linker writes into existing files which may not be | |
3558 # executable, retaining their permissions. Remove them first so a | |
3559 # subsequent execution test works. | |
3560 ac_rmfiles= | |
3561 for ac_file in $ac_files | |
3562 do | |
3563 case $ac_file in | |
3564 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; | |
3565 * ) ac_rmfiles="$ac_rmfiles $ac_file";; | |
3566 esac | |
3567 done | |
3568 rm -f $ac_rmfiles | |
3569 | |
3570 if { (ac_try="$ac_link_default" | |
3571 case "(($ac_try" in | |
3572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3573 *) ac_try_echo=$ac_try;; | |
3574 esac | |
3575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3576 (eval "$ac_link_default") 2>&5 | |
3577 ac_status=$? | 3083 ac_status=$? |
3578 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3084 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3579 (exit $ac_status); }; then | 3085 (exit $ac_status); }; then |
3580 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. | 3086 # Find the output, starting from the most likely. This scheme is |
3581 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' | 3087 # not robust to junk in `.', hence go to wildcards (a.*) only as a last |
3582 # in a Makefile. We should not override ac_cv_exeext if it was cached, | 3088 # resort. |
3583 # so that the user can short-circuit this test for compilers unknown to | 3089 |
3584 # Autoconf. | 3090 # Be careful to initialize this variable, since it used to be cached. |
3585 for ac_file in $ac_files | 3091 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. |
3092 ac_cv_exeext= | |
3093 # b.out is created by i960 compilers. | |
3094 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out | |
3586 do | 3095 do |
3587 test -f "$ac_file" || continue | 3096 test -f "$ac_file" || continue |
3588 case $ac_file in | 3097 case $ac_file in |
3589 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) | 3098 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
3099 ;; | |
3100 conftest.$ac_ext ) | |
3101 # This is the source file. | |
3590 ;; | 3102 ;; |
3591 [ab].out ) | 3103 [ab].out ) |
3592 # We found the default executable, but exeext='' is most | 3104 # We found the default executable, but exeext='' is most |
3593 # certainly right. | 3105 # certainly right. |
3594 break;; | 3106 break;; |
3595 *.* ) | 3107 *.* ) |
3596 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; | 3108 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
3597 then :; else | 3109 # FIXME: I believe we export ac_cv_exeext for Libtool, |
3598 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 3110 # but it would be cool to find out if it's true. Does anybody |
3599 fi | 3111 # maintain Libtool? --akim. |
3600 # We set ac_cv_exeext here because the later test for it is not | 3112 export ac_cv_exeext |
3601 # safe: cross compilers may not add the suffix if given an `-o' | |
3602 # argument, so we may need to know it at that point already. | |
3603 # Even if this section looks crufty: it has the advantage of | |
3604 # actually working. | |
3605 break;; | 3113 break;; |
3606 * ) | 3114 * ) |
3607 break;; | 3115 break;; |
3608 esac | 3116 esac |
3609 done | 3117 done |
3610 test "$ac_cv_exeext" = no && ac_cv_exeext= | |
3611 | |
3612 else | 3118 else |
3613 echo "$as_me: failed program was:" >&5 | 3119 echo "$as_me: failed program was:" >&5 |
3614 sed 's/^/| /' conftest.$ac_ext >&5 | 3120 sed 's/^/| /' conftest.$ac_ext >&5 |
3615 | 3121 |
3616 { { echo "$as_me:$LINENO: error: C compiler cannot create executables | 3122 { { echo "$as_me:$LINENO: error: C compiler cannot create executables |
3619 See \`config.log' for more details." >&2;} | 3125 See \`config.log' for more details." >&2;} |
3620 { (exit 77); exit 77; }; } | 3126 { (exit 77); exit 77; }; } |
3621 fi | 3127 fi |
3622 | 3128 |
3623 ac_exeext=$ac_cv_exeext | 3129 ac_exeext=$ac_cv_exeext |
3624 { echo "$as_me:$LINENO: result: $ac_file" >&5 | 3130 echo "$as_me:$LINENO: result: $ac_file" >&5 |
3625 echo "${ECHO_T}$ac_file" >&6; } | 3131 echo "${ECHO_T}$ac_file" >&6 |
3626 | 3132 |
3627 # Check that the compiler produces executables we can run. If not, either | 3133 # Check the compiler produces executables we can run. If not, either |
3628 # the compiler is broken, or we cross compile. | 3134 # the compiler is broken, or we cross compile. |
3629 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 | 3135 echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
3630 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } | 3136 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 |
3631 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | 3137 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
3632 # If not cross compiling, check that we can run a simple program. | 3138 # If not cross compiling, check that we can run a simple program. |
3633 if test "$cross_compiling" != yes; then | 3139 if test "$cross_compiling" != yes; then |
3634 if { ac_try='./$ac_file' | 3140 if { ac_try='./$ac_file' |
3635 { (case "(($ac_try" in | 3141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3142 (eval $ac_try) 2>&5 |
3637 *) ac_try_echo=$ac_try;; | |
3638 esac | |
3639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3640 (eval "$ac_try") 2>&5 | |
3641 ac_status=$? | 3143 ac_status=$? |
3642 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3144 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3643 (exit $ac_status); }; }; then | 3145 (exit $ac_status); }; }; then |
3644 cross_compiling=no | 3146 cross_compiling=no |
3645 else | 3147 else |
3654 See \`config.log' for more details." >&2;} | 3156 See \`config.log' for more details." >&2;} |
3655 { (exit 1); exit 1; }; } | 3157 { (exit 1); exit 1; }; } |
3656 fi | 3158 fi |
3657 fi | 3159 fi |
3658 fi | 3160 fi |
3659 { echo "$as_me:$LINENO: result: yes" >&5 | 3161 echo "$as_me:$LINENO: result: yes" >&5 |
3660 echo "${ECHO_T}yes" >&6; } | 3162 echo "${ECHO_T}yes" >&6 |
3661 | 3163 |
3662 rm -f a.out a.exe conftest$ac_cv_exeext b.out | 3164 rm -f a.out a.exe conftest$ac_cv_exeext b.out |
3663 ac_clean_files=$ac_clean_files_save | 3165 ac_clean_files=$ac_clean_files_save |
3664 # Check that the compiler produces executables we can run. If not, either | 3166 # Check the compiler produces executables we can run. If not, either |
3665 # the compiler is broken, or we cross compile. | 3167 # the compiler is broken, or we cross compile. |
3666 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | 3168 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
3667 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } | 3169 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 |
3668 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 | 3170 echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
3669 echo "${ECHO_T}$cross_compiling" >&6; } | 3171 echo "${ECHO_T}$cross_compiling" >&6 |
3670 | 3172 |
3671 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 | 3173 echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
3672 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } | 3174 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 |
3673 if { (ac_try="$ac_link" | 3175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3674 case "(($ac_try" in | 3176 (eval $ac_link) 2>&5 |
3675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3676 *) ac_try_echo=$ac_try;; | |
3677 esac | |
3678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3679 (eval "$ac_link") 2>&5 | |
3680 ac_status=$? | 3177 ac_status=$? |
3681 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3178 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3682 (exit $ac_status); }; then | 3179 (exit $ac_status); }; then |
3683 # If both `conftest.exe' and `conftest' are `present' (well, observable) | 3180 # If both `conftest.exe' and `conftest' are `present' (well, observable) |
3684 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | 3181 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
3685 # work properly (i.e., refer to `conftest.exe'), while it won't with | 3182 # work properly (i.e., refer to `conftest.exe'), while it won't with |
3686 # `rm'. | 3183 # `rm'. |
3687 for ac_file in conftest.exe conftest conftest.*; do | 3184 for ac_file in conftest.exe conftest conftest.*; do |
3688 test -f "$ac_file" || continue | 3185 test -f "$ac_file" || continue |
3689 case $ac_file in | 3186 case $ac_file in |
3690 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; | 3187 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
3691 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 3188 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
3189 export ac_cv_exeext | |
3692 break;; | 3190 break;; |
3693 * ) break;; | 3191 * ) break;; |
3694 esac | 3192 esac |
3695 done | 3193 done |
3696 else | 3194 else |
3700 See \`config.log' for more details." >&2;} | 3198 See \`config.log' for more details." >&2;} |
3701 { (exit 1); exit 1; }; } | 3199 { (exit 1); exit 1; }; } |
3702 fi | 3200 fi |
3703 | 3201 |
3704 rm -f conftest$ac_cv_exeext | 3202 rm -f conftest$ac_cv_exeext |
3705 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | 3203 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
3706 echo "${ECHO_T}$ac_cv_exeext" >&6; } | 3204 echo "${ECHO_T}$ac_cv_exeext" >&6 |
3707 | 3205 |
3708 rm -f conftest.$ac_ext | 3206 rm -f conftest.$ac_ext |
3709 EXEEXT=$ac_cv_exeext | 3207 EXEEXT=$ac_cv_exeext |
3710 ac_exeext=$EXEEXT | 3208 ac_exeext=$EXEEXT |
3711 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 | 3209 echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
3712 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } | 3210 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 |
3713 if test "${ac_cv_objext+set}" = set; then | 3211 if test "${ac_cv_objext+set}" = set; then |
3714 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3212 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3715 else | 3213 else |
3716 cat >conftest.$ac_ext <<_ACEOF | 3214 cat >conftest.$ac_ext <<_ACEOF |
3717 /* confdefs.h. */ | 3215 /* confdefs.h. */ |
3727 ; | 3225 ; |
3728 return 0; | 3226 return 0; |
3729 } | 3227 } |
3730 _ACEOF | 3228 _ACEOF |
3731 rm -f conftest.o conftest.obj | 3229 rm -f conftest.o conftest.obj |
3732 if { (ac_try="$ac_compile" | 3230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3733 case "(($ac_try" in | 3231 (eval $ac_compile) 2>&5 |
3734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3735 *) ac_try_echo=$ac_try;; | |
3736 esac | |
3737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3738 (eval "$ac_compile") 2>&5 | |
3739 ac_status=$? | 3232 ac_status=$? |
3740 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3233 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3741 (exit $ac_status); }; then | 3234 (exit $ac_status); }; then |
3742 for ac_file in conftest.o conftest.obj conftest.*; do | 3235 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do |
3743 test -f "$ac_file" || continue; | |
3744 case $ac_file in | 3236 case $ac_file in |
3745 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; | 3237 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; |
3746 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | 3238 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
3747 break;; | 3239 break;; |
3748 esac | 3240 esac |
3749 done | 3241 done |
3750 else | 3242 else |
3758 { (exit 1); exit 1; }; } | 3250 { (exit 1); exit 1; }; } |
3759 fi | 3251 fi |
3760 | 3252 |
3761 rm -f conftest.$ac_cv_objext conftest.$ac_ext | 3253 rm -f conftest.$ac_cv_objext conftest.$ac_ext |
3762 fi | 3254 fi |
3763 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | 3255 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
3764 echo "${ECHO_T}$ac_cv_objext" >&6; } | 3256 echo "${ECHO_T}$ac_cv_objext" >&6 |
3765 OBJEXT=$ac_cv_objext | 3257 OBJEXT=$ac_cv_objext |
3766 ac_objext=$OBJEXT | 3258 ac_objext=$OBJEXT |
3767 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | 3259 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
3768 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } | 3260 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
3769 if test "${ac_cv_c_compiler_gnu+set}" = set; then | 3261 if test "${ac_cv_c_compiler_gnu+set}" = set; then |
3770 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3262 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3771 else | 3263 else |
3772 cat >conftest.$ac_ext <<_ACEOF | 3264 cat >conftest.$ac_ext <<_ACEOF |
3773 /* confdefs.h. */ | 3265 /* confdefs.h. */ |
3786 ; | 3278 ; |
3787 return 0; | 3279 return 0; |
3788 } | 3280 } |
3789 _ACEOF | 3281 _ACEOF |
3790 rm -f conftest.$ac_objext | 3282 rm -f conftest.$ac_objext |
3791 if { (ac_try="$ac_compile" | 3283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3792 case "(($ac_try" in | 3284 (eval $ac_compile) 2>conftest.er1 |
3793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3794 *) ac_try_echo=$ac_try;; | |
3795 esac | |
3796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3797 (eval "$ac_compile") 2>conftest.er1 | |
3798 ac_status=$? | 3285 ac_status=$? |
3799 grep -v '^ *+' conftest.er1 >conftest.err | 3286 grep -v '^ *+' conftest.er1 >conftest.err |
3800 rm -f conftest.er1 | 3287 rm -f conftest.er1 |
3801 cat conftest.err >&5 | 3288 cat conftest.err >&5 |
3802 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3289 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3803 (exit $ac_status); } && | 3290 (exit $ac_status); } && |
3804 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 3291 { ac_try='test -z "$ac_c_werror_flag" |
3805 { (case "(($ac_try" in | 3292 || test ! -s conftest.err' |
3806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3807 *) ac_try_echo=$ac_try;; | 3294 (eval $ac_try) 2>&5 |
3808 esac | |
3809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3810 (eval "$ac_try") 2>&5 | |
3811 ac_status=$? | 3295 ac_status=$? |
3812 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3296 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3813 (exit $ac_status); }; } && | 3297 (exit $ac_status); }; } && |
3814 { ac_try='test -s conftest.$ac_objext' | 3298 { ac_try='test -s conftest.$ac_objext' |
3815 { (case "(($ac_try" in | 3299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3300 (eval $ac_try) 2>&5 |
3817 *) ac_try_echo=$ac_try;; | |
3818 esac | |
3819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3820 (eval "$ac_try") 2>&5 | |
3821 ac_status=$? | 3301 ac_status=$? |
3822 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3302 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3823 (exit $ac_status); }; }; then | 3303 (exit $ac_status); }; }; then |
3824 ac_compiler_gnu=yes | 3304 ac_compiler_gnu=yes |
3825 else | 3305 else |
3826 echo "$as_me: failed program was:" >&5 | 3306 echo "$as_me: failed program was:" >&5 |
3827 sed 's/^/| /' conftest.$ac_ext >&5 | 3307 sed 's/^/| /' conftest.$ac_ext >&5 |
3828 | 3308 |
3829 ac_compiler_gnu=no | 3309 ac_compiler_gnu=no |
3830 fi | 3310 fi |
3831 | 3311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
3833 ac_cv_c_compiler_gnu=$ac_compiler_gnu | 3312 ac_cv_c_compiler_gnu=$ac_compiler_gnu |
3834 | 3313 |
3835 fi | 3314 fi |
3836 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | 3315 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
3837 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } | 3316 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
3838 GCC=`test $ac_compiler_gnu = yes && echo yes` | 3317 GCC=`test $ac_compiler_gnu = yes && echo yes` |
3839 ac_test_CFLAGS=${CFLAGS+set} | 3318 ac_test_CFLAGS=${CFLAGS+set} |
3840 ac_save_CFLAGS=$CFLAGS | 3319 ac_save_CFLAGS=$CFLAGS |
3841 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | 3320 CFLAGS="-g" |
3842 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } | 3321 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
3322 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 | |
3843 if test "${ac_cv_prog_cc_g+set}" = set; then | 3323 if test "${ac_cv_prog_cc_g+set}" = set; then |
3844 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3324 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3845 else | 3325 else |
3846 ac_save_c_werror_flag=$ac_c_werror_flag | 3326 cat >conftest.$ac_ext <<_ACEOF |
3847 ac_c_werror_flag=yes | |
3848 ac_cv_prog_cc_g=no | |
3849 CFLAGS="-g" | |
3850 cat >conftest.$ac_ext <<_ACEOF | |
3851 /* confdefs.h. */ | 3327 /* confdefs.h. */ |
3852 _ACEOF | 3328 _ACEOF |
3853 cat confdefs.h >>conftest.$ac_ext | 3329 cat confdefs.h >>conftest.$ac_ext |
3854 cat >>conftest.$ac_ext <<_ACEOF | 3330 cat >>conftest.$ac_ext <<_ACEOF |
3855 /* end confdefs.h. */ | 3331 /* end confdefs.h. */ |
3861 ; | 3337 ; |
3862 return 0; | 3338 return 0; |
3863 } | 3339 } |
3864 _ACEOF | 3340 _ACEOF |
3865 rm -f conftest.$ac_objext | 3341 rm -f conftest.$ac_objext |
3866 if { (ac_try="$ac_compile" | 3342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3867 case "(($ac_try" in | 3343 (eval $ac_compile) 2>conftest.er1 |
3868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3869 *) ac_try_echo=$ac_try;; | |
3870 esac | |
3871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3872 (eval "$ac_compile") 2>conftest.er1 | |
3873 ac_status=$? | 3344 ac_status=$? |
3874 grep -v '^ *+' conftest.er1 >conftest.err | 3345 grep -v '^ *+' conftest.er1 >conftest.err |
3875 rm -f conftest.er1 | 3346 rm -f conftest.er1 |
3876 cat conftest.err >&5 | 3347 cat conftest.err >&5 |
3877 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3348 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3878 (exit $ac_status); } && | 3349 (exit $ac_status); } && |
3879 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 3350 { ac_try='test -z "$ac_c_werror_flag" |
3880 { (case "(($ac_try" in | 3351 || test ! -s conftest.err' |
3881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3882 *) ac_try_echo=$ac_try;; | 3353 (eval $ac_try) 2>&5 |
3883 esac | |
3884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3885 (eval "$ac_try") 2>&5 | |
3886 ac_status=$? | 3354 ac_status=$? |
3887 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3355 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3888 (exit $ac_status); }; } && | 3356 (exit $ac_status); }; } && |
3889 { ac_try='test -s conftest.$ac_objext' | 3357 { ac_try='test -s conftest.$ac_objext' |
3890 { (case "(($ac_try" in | 3358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3359 (eval $ac_try) 2>&5 |
3892 *) ac_try_echo=$ac_try;; | |
3893 esac | |
3894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3895 (eval "$ac_try") 2>&5 | |
3896 ac_status=$? | 3360 ac_status=$? |
3897 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3361 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3898 (exit $ac_status); }; }; then | 3362 (exit $ac_status); }; }; then |
3899 ac_cv_prog_cc_g=yes | 3363 ac_cv_prog_cc_g=yes |
3900 else | 3364 else |
3901 echo "$as_me: failed program was:" >&5 | 3365 echo "$as_me: failed program was:" >&5 |
3902 sed 's/^/| /' conftest.$ac_ext >&5 | 3366 sed 's/^/| /' conftest.$ac_ext >&5 |
3903 | 3367 |
3904 CFLAGS="" | 3368 ac_cv_prog_cc_g=no |
3905 cat >conftest.$ac_ext <<_ACEOF | 3369 fi |
3906 /* confdefs.h. */ | 3370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3907 _ACEOF | 3371 fi |
3908 cat confdefs.h >>conftest.$ac_ext | 3372 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
3909 cat >>conftest.$ac_ext <<_ACEOF | 3373 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
3910 /* end confdefs.h. */ | |
3911 | |
3912 int | |
3913 main () | |
3914 { | |
3915 | |
3916 ; | |
3917 return 0; | |
3918 } | |
3919 _ACEOF | |
3920 rm -f conftest.$ac_objext | |
3921 if { (ac_try="$ac_compile" | |
3922 case "(($ac_try" in | |
3923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3924 *) ac_try_echo=$ac_try;; | |
3925 esac | |
3926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3927 (eval "$ac_compile") 2>conftest.er1 | |
3928 ac_status=$? | |
3929 grep -v '^ *+' conftest.er1 >conftest.err | |
3930 rm -f conftest.er1 | |
3931 cat conftest.err >&5 | |
3932 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3933 (exit $ac_status); } && | |
3934 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
3935 { (case "(($ac_try" in | |
3936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3937 *) ac_try_echo=$ac_try;; | |
3938 esac | |
3939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3940 (eval "$ac_try") 2>&5 | |
3941 ac_status=$? | |
3942 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3943 (exit $ac_status); }; } && | |
3944 { ac_try='test -s conftest.$ac_objext' | |
3945 { (case "(($ac_try" in | |
3946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3947 *) ac_try_echo=$ac_try;; | |
3948 esac | |
3949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3950 (eval "$ac_try") 2>&5 | |
3951 ac_status=$? | |
3952 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3953 (exit $ac_status); }; }; then | |
3954 : | |
3955 else | |
3956 echo "$as_me: failed program was:" >&5 | |
3957 sed 's/^/| /' conftest.$ac_ext >&5 | |
3958 | |
3959 ac_c_werror_flag=$ac_save_c_werror_flag | |
3960 CFLAGS="-g" | |
3961 cat >conftest.$ac_ext <<_ACEOF | |
3962 /* confdefs.h. */ | |
3963 _ACEOF | |
3964 cat confdefs.h >>conftest.$ac_ext | |
3965 cat >>conftest.$ac_ext <<_ACEOF | |
3966 /* end confdefs.h. */ | |
3967 | |
3968 int | |
3969 main () | |
3970 { | |
3971 | |
3972 ; | |
3973 return 0; | |
3974 } | |
3975 _ACEOF | |
3976 rm -f conftest.$ac_objext | |
3977 if { (ac_try="$ac_compile" | |
3978 case "(($ac_try" in | |
3979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3980 *) ac_try_echo=$ac_try;; | |
3981 esac | |
3982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3983 (eval "$ac_compile") 2>conftest.er1 | |
3984 ac_status=$? | |
3985 grep -v '^ *+' conftest.er1 >conftest.err | |
3986 rm -f conftest.er1 | |
3987 cat conftest.err >&5 | |
3988 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3989 (exit $ac_status); } && | |
3990 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
3991 { (case "(($ac_try" in | |
3992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3993 *) ac_try_echo=$ac_try;; | |
3994 esac | |
3995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3996 (eval "$ac_try") 2>&5 | |
3997 ac_status=$? | |
3998 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3999 (exit $ac_status); }; } && | |
4000 { ac_try='test -s conftest.$ac_objext' | |
4001 { (case "(($ac_try" in | |
4002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4003 *) ac_try_echo=$ac_try;; | |
4004 esac | |
4005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4006 (eval "$ac_try") 2>&5 | |
4007 ac_status=$? | |
4008 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4009 (exit $ac_status); }; }; then | |
4010 ac_cv_prog_cc_g=yes | |
4011 else | |
4012 echo "$as_me: failed program was:" >&5 | |
4013 sed 's/^/| /' conftest.$ac_ext >&5 | |
4014 | |
4015 | |
4016 fi | |
4017 | |
4018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
4019 fi | |
4020 | |
4021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
4022 fi | |
4023 | |
4024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
4025 ac_c_werror_flag=$ac_save_c_werror_flag | |
4026 fi | |
4027 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | |
4028 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } | |
4029 if test "$ac_test_CFLAGS" = set; then | 3374 if test "$ac_test_CFLAGS" = set; then |
4030 CFLAGS=$ac_save_CFLAGS | 3375 CFLAGS=$ac_save_CFLAGS |
4031 elif test $ac_cv_prog_cc_g = yes; then | 3376 elif test $ac_cv_prog_cc_g = yes; then |
4032 if test "$GCC" = yes; then | 3377 if test "$GCC" = yes; then |
4033 CFLAGS="-g -O2" | 3378 CFLAGS="-g -O2" |
4039 CFLAGS="-O2" | 3384 CFLAGS="-O2" |
4040 else | 3385 else |
4041 CFLAGS= | 3386 CFLAGS= |
4042 fi | 3387 fi |
4043 fi | 3388 fi |
4044 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 | 3389 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
4045 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } | 3390 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
4046 if test "${ac_cv_prog_cc_c89+set}" = set; then | 3391 if test "${ac_cv_prog_cc_stdc+set}" = set; then |
4047 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3392 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4048 else | 3393 else |
4049 ac_cv_prog_cc_c89=no | 3394 ac_cv_prog_cc_stdc=no |
4050 ac_save_CC=$CC | 3395 ac_save_CC=$CC |
4051 cat >conftest.$ac_ext <<_ACEOF | 3396 cat >conftest.$ac_ext <<_ACEOF |
4052 /* confdefs.h. */ | 3397 /* confdefs.h. */ |
4053 _ACEOF | 3398 _ACEOF |
4054 cat confdefs.h >>conftest.$ac_ext | 3399 cat confdefs.h >>conftest.$ac_ext |
4078 } | 3423 } |
4079 | 3424 |
4080 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | 3425 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
4081 function prototypes and stuff, but not '\xHH' hex character constants. | 3426 function prototypes and stuff, but not '\xHH' hex character constants. |
4082 These don't provoke an error unfortunately, instead are silently treated | 3427 These don't provoke an error unfortunately, instead are silently treated |
4083 as 'x'. The following induces an error, until -std is added to get | 3428 as 'x'. The following induces an error, until -std1 is added to get |
4084 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | 3429 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
4085 array size at least. It's necessary to write '\x00'==0 to get something | 3430 array size at least. It's necessary to write '\x00'==0 to get something |
4086 that's true only with -std. */ | 3431 that's true only with -std1. */ |
4087 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | 3432 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
4088 | |
4089 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | |
4090 inside strings and character constants. */ | |
4091 #define FOO(x) 'x' | |
4092 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | |
4093 | 3433 |
4094 int test (int i, double x); | 3434 int test (int i, double x); |
4095 struct s1 {int (*f) (int a);}; | 3435 struct s1 {int (*f) (int a);}; |
4096 struct s2 {int (*f) (double a);}; | 3436 struct s2 {int (*f) (double a);}; |
4097 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | 3437 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
4103 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | 3443 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
4104 ; | 3444 ; |
4105 return 0; | 3445 return 0; |
4106 } | 3446 } |
4107 _ACEOF | 3447 _ACEOF |
4108 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ | 3448 # Don't try gcc -ansi; that turns off useful extensions and |
4109 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | 3449 # breaks some systems' header files. |
3450 # AIX -qlanglvl=ansi | |
3451 # Ultrix and OSF/1 -std1 | |
3452 # HP-UX 10.20 and later -Ae | |
3453 # HP-UX older versions -Aa -D_HPUX_SOURCE | |
3454 # SVR4 -Xc -D__EXTENSIONS__ | |
3455 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | |
4110 do | 3456 do |
4111 CC="$ac_save_CC $ac_arg" | 3457 CC="$ac_save_CC $ac_arg" |
4112 rm -f conftest.$ac_objext | 3458 rm -f conftest.$ac_objext |
4113 if { (ac_try="$ac_compile" | 3459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4114 case "(($ac_try" in | 3460 (eval $ac_compile) 2>conftest.er1 |
4115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4116 *) ac_try_echo=$ac_try;; | |
4117 esac | |
4118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4119 (eval "$ac_compile") 2>conftest.er1 | |
4120 ac_status=$? | 3461 ac_status=$? |
4121 grep -v '^ *+' conftest.er1 >conftest.err | 3462 grep -v '^ *+' conftest.er1 >conftest.err |
4122 rm -f conftest.er1 | 3463 rm -f conftest.er1 |
4123 cat conftest.err >&5 | 3464 cat conftest.err >&5 |
4124 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3465 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4125 (exit $ac_status); } && | 3466 (exit $ac_status); } && |
4126 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 3467 { ac_try='test -z "$ac_c_werror_flag" |
4127 { (case "(($ac_try" in | 3468 || test ! -s conftest.err' |
4128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4129 *) ac_try_echo=$ac_try;; | 3470 (eval $ac_try) 2>&5 |
4130 esac | |
4131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4132 (eval "$ac_try") 2>&5 | |
4133 ac_status=$? | 3471 ac_status=$? |
4134 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3472 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4135 (exit $ac_status); }; } && | 3473 (exit $ac_status); }; } && |
4136 { ac_try='test -s conftest.$ac_objext' | 3474 { ac_try='test -s conftest.$ac_objext' |
4137 { (case "(($ac_try" in | 3475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3476 (eval $ac_try) 2>&5 |
4139 *) ac_try_echo=$ac_try;; | |
4140 esac | |
4141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4142 (eval "$ac_try") 2>&5 | |
4143 ac_status=$? | 3477 ac_status=$? |
4144 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3478 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4145 (exit $ac_status); }; }; then | 3479 (exit $ac_status); }; }; then |
4146 ac_cv_prog_cc_c89=$ac_arg | 3480 ac_cv_prog_cc_stdc=$ac_arg |
3481 break | |
4147 else | 3482 else |
4148 echo "$as_me: failed program was:" >&5 | 3483 echo "$as_me: failed program was:" >&5 |
4149 sed 's/^/| /' conftest.$ac_ext >&5 | 3484 sed 's/^/| /' conftest.$ac_ext >&5 |
4150 | 3485 |
4151 | 3486 fi |
4152 fi | 3487 rm -f conftest.err conftest.$ac_objext |
4153 | |
4154 rm -f core conftest.err conftest.$ac_objext | |
4155 test "x$ac_cv_prog_cc_c89" != "xno" && break | |
4156 done | 3488 done |
4157 rm -f conftest.$ac_ext | 3489 rm -f conftest.$ac_ext conftest.$ac_objext |
4158 CC=$ac_save_CC | 3490 CC=$ac_save_CC |
4159 | 3491 |
4160 fi | 3492 fi |
4161 # AC_CACHE_VAL | 3493 |
4162 case "x$ac_cv_prog_cc_c89" in | 3494 case "x$ac_cv_prog_cc_stdc" in |
4163 x) | 3495 x|xno) |
4164 { echo "$as_me:$LINENO: result: none needed" >&5 | 3496 echo "$as_me:$LINENO: result: none needed" >&5 |
4165 echo "${ECHO_T}none needed" >&6; } ;; | 3497 echo "${ECHO_T}none needed" >&6 ;; |
4166 xno) | |
4167 { echo "$as_me:$LINENO: result: unsupported" >&5 | |
4168 echo "${ECHO_T}unsupported" >&6; } ;; | |
4169 *) | 3498 *) |
4170 CC="$CC $ac_cv_prog_cc_c89" | 3499 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
4171 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 | 3500 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
4172 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; | 3501 CC="$CC $ac_cv_prog_cc_stdc" ;; |
4173 esac | 3502 esac |
4174 | 3503 |
4175 | 3504 # Some people use a C++ compiler to compile C. Since we use `exit', |
3505 # in C++ we need to declare it. In case someone uses the same compiler | |
3506 # for both compiling C and C++ we need to have the C++ compiler decide | |
3507 # the declaration of exit, since it's the most demanding environment. | |
3508 cat >conftest.$ac_ext <<_ACEOF | |
3509 #ifndef __cplusplus | |
3510 choke me | |
3511 #endif | |
3512 _ACEOF | |
3513 rm -f conftest.$ac_objext | |
3514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
3515 (eval $ac_compile) 2>conftest.er1 | |
3516 ac_status=$? | |
3517 grep -v '^ *+' conftest.er1 >conftest.err | |
3518 rm -f conftest.er1 | |
3519 cat conftest.err >&5 | |
3520 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3521 (exit $ac_status); } && | |
3522 { ac_try='test -z "$ac_c_werror_flag" | |
3523 || test ! -s conftest.err' | |
3524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
3525 (eval $ac_try) 2>&5 | |
3526 ac_status=$? | |
3527 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3528 (exit $ac_status); }; } && | |
3529 { ac_try='test -s conftest.$ac_objext' | |
3530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
3531 (eval $ac_try) 2>&5 | |
3532 ac_status=$? | |
3533 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3534 (exit $ac_status); }; }; then | |
3535 for ac_declaration in \ | |
3536 '' \ | |
3537 'extern "C" void std::exit (int) throw (); using std::exit;' \ | |
3538 'extern "C" void std::exit (int); using std::exit;' \ | |
3539 'extern "C" void exit (int) throw ();' \ | |
3540 'extern "C" void exit (int);' \ | |
3541 'void exit (int);' | |
3542 do | |
3543 cat >conftest.$ac_ext <<_ACEOF | |
3544 /* confdefs.h. */ | |
3545 _ACEOF | |
3546 cat confdefs.h >>conftest.$ac_ext | |
3547 cat >>conftest.$ac_ext <<_ACEOF | |
3548 /* end confdefs.h. */ | |
3549 $ac_declaration | |
3550 #include <stdlib.h> | |
3551 int | |
3552 main () | |
3553 { | |
3554 exit (42); | |
3555 ; | |
3556 return 0; | |
3557 } | |
3558 _ACEOF | |
3559 rm -f conftest.$ac_objext | |
3560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
3561 (eval $ac_compile) 2>conftest.er1 | |
3562 ac_status=$? | |
3563 grep -v '^ *+' conftest.er1 >conftest.err | |
3564 rm -f conftest.er1 | |
3565 cat conftest.err >&5 | |
3566 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3567 (exit $ac_status); } && | |
3568 { ac_try='test -z "$ac_c_werror_flag" | |
3569 || test ! -s conftest.err' | |
3570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
3571 (eval $ac_try) 2>&5 | |
3572 ac_status=$? | |
3573 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3574 (exit $ac_status); }; } && | |
3575 { ac_try='test -s conftest.$ac_objext' | |
3576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
3577 (eval $ac_try) 2>&5 | |
3578 ac_status=$? | |
3579 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3580 (exit $ac_status); }; }; then | |
3581 : | |
3582 else | |
3583 echo "$as_me: failed program was:" >&5 | |
3584 sed 's/^/| /' conftest.$ac_ext >&5 | |
3585 | |
3586 continue | |
3587 fi | |
3588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | |
3589 cat >conftest.$ac_ext <<_ACEOF | |
3590 /* confdefs.h. */ | |
3591 _ACEOF | |
3592 cat confdefs.h >>conftest.$ac_ext | |
3593 cat >>conftest.$ac_ext <<_ACEOF | |
3594 /* end confdefs.h. */ | |
3595 $ac_declaration | |
3596 int | |
3597 main () | |
3598 { | |
3599 exit (42); | |
3600 ; | |
3601 return 0; | |
3602 } | |
3603 _ACEOF | |
3604 rm -f conftest.$ac_objext | |
3605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
3606 (eval $ac_compile) 2>conftest.er1 | |
3607 ac_status=$? | |
3608 grep -v '^ *+' conftest.er1 >conftest.err | |
3609 rm -f conftest.er1 | |
3610 cat conftest.err >&5 | |
3611 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3612 (exit $ac_status); } && | |
3613 { ac_try='test -z "$ac_c_werror_flag" | |
3614 || test ! -s conftest.err' | |
3615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
3616 (eval $ac_try) 2>&5 | |
3617 ac_status=$? | |
3618 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3619 (exit $ac_status); }; } && | |
3620 { ac_try='test -s conftest.$ac_objext' | |
3621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
3622 (eval $ac_try) 2>&5 | |
3623 ac_status=$? | |
3624 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3625 (exit $ac_status); }; }; then | |
3626 break | |
3627 else | |
3628 echo "$as_me: failed program was:" >&5 | |
3629 sed 's/^/| /' conftest.$ac_ext >&5 | |
3630 | |
3631 fi | |
3632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | |
3633 done | |
3634 rm -f conftest* | |
3635 if test -n "$ac_declaration"; then | |
3636 echo '#ifdef __cplusplus' >>confdefs.h | |
3637 echo $ac_declaration >>confdefs.h | |
3638 echo '#endif' >>confdefs.h | |
3639 fi | |
3640 | |
3641 else | |
3642 echo "$as_me: failed program was:" >&5 | |
3643 sed 's/^/| /' conftest.$ac_ext >&5 | |
3644 | |
3645 fi | |
3646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | |
4176 ac_ext=c | 3647 ac_ext=c |
4177 ac_cpp='$CPP $CPPFLAGS' | 3648 ac_cpp='$CPP $CPPFLAGS' |
4178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 3649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 3650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4180 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3651 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4216 ac_ext=c | 3687 ac_ext=c |
4217 ac_cpp='$CPP $CPPFLAGS' | 3688 ac_cpp='$CPP $CPPFLAGS' |
4218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 3689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 3690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4220 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3691 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4221 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | 3692 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
4222 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } | 3693 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
4223 # On Suns, sometimes $CPP names a directory. | 3694 # On Suns, sometimes $CPP names a directory. |
4224 if test -n "$CPP" && test -d "$CPP"; then | 3695 if test -n "$CPP" && test -d "$CPP"; then |
4225 CPP= | 3696 CPP= |
4226 fi | 3697 fi |
4227 if test -z "$CPP"; then | 3698 if test -z "$CPP"; then |
4251 #else | 3722 #else |
4252 # include <assert.h> | 3723 # include <assert.h> |
4253 #endif | 3724 #endif |
4254 Syntax error | 3725 Syntax error |
4255 _ACEOF | 3726 _ACEOF |
4256 if { (ac_try="$ac_cpp conftest.$ac_ext" | 3727 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4257 case "(($ac_try" in | 3728 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4259 *) ac_try_echo=$ac_try;; | |
4260 esac | |
4261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4262 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
4263 ac_status=$? | 3729 ac_status=$? |
4264 grep -v '^ *+' conftest.er1 >conftest.err | 3730 grep -v '^ *+' conftest.er1 >conftest.err |
4265 rm -f conftest.er1 | 3731 rm -f conftest.er1 |
4266 cat conftest.err >&5 | 3732 cat conftest.err >&5 |
4267 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3733 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4282 sed 's/^/| /' conftest.$ac_ext >&5 | 3748 sed 's/^/| /' conftest.$ac_ext >&5 |
4283 | 3749 |
4284 # Broken: fails on valid input. | 3750 # Broken: fails on valid input. |
4285 continue | 3751 continue |
4286 fi | 3752 fi |
4287 | |
4288 rm -f conftest.err conftest.$ac_ext | 3753 rm -f conftest.err conftest.$ac_ext |
4289 | 3754 |
4290 # OK, works on sane cases. Now check whether nonexistent headers | 3755 # OK, works on sane cases. Now check whether non-existent headers |
4291 # can be detected and how. | 3756 # can be detected and how. |
4292 cat >conftest.$ac_ext <<_ACEOF | 3757 cat >conftest.$ac_ext <<_ACEOF |
4293 /* confdefs.h. */ | 3758 /* confdefs.h. */ |
4294 _ACEOF | 3759 _ACEOF |
4295 cat confdefs.h >>conftest.$ac_ext | 3760 cat confdefs.h >>conftest.$ac_ext |
4296 cat >>conftest.$ac_ext <<_ACEOF | 3761 cat >>conftest.$ac_ext <<_ACEOF |
4297 /* end confdefs.h. */ | 3762 /* end confdefs.h. */ |
4298 #include <ac_nonexistent.h> | 3763 #include <ac_nonexistent.h> |
4299 _ACEOF | 3764 _ACEOF |
4300 if { (ac_try="$ac_cpp conftest.$ac_ext" | 3765 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4301 case "(($ac_try" in | 3766 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4303 *) ac_try_echo=$ac_try;; | |
4304 esac | |
4305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4306 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
4307 ac_status=$? | 3767 ac_status=$? |
4308 grep -v '^ *+' conftest.er1 >conftest.err | 3768 grep -v '^ *+' conftest.er1 >conftest.err |
4309 rm -f conftest.er1 | 3769 rm -f conftest.er1 |
4310 cat conftest.err >&5 | 3770 cat conftest.err >&5 |
4311 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3771 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4328 | 3788 |
4329 # Passes both tests. | 3789 # Passes both tests. |
4330 ac_preproc_ok=: | 3790 ac_preproc_ok=: |
4331 break | 3791 break |
4332 fi | 3792 fi |
4333 | |
4334 rm -f conftest.err conftest.$ac_ext | 3793 rm -f conftest.err conftest.$ac_ext |
4335 | 3794 |
4336 done | 3795 done |
4337 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 3796 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
4338 rm -f conftest.err conftest.$ac_ext | 3797 rm -f conftest.err conftest.$ac_ext |
4346 fi | 3805 fi |
4347 CPP=$ac_cv_prog_CPP | 3806 CPP=$ac_cv_prog_CPP |
4348 else | 3807 else |
4349 ac_cv_prog_CPP=$CPP | 3808 ac_cv_prog_CPP=$CPP |
4350 fi | 3809 fi |
4351 { echo "$as_me:$LINENO: result: $CPP" >&5 | 3810 echo "$as_me:$LINENO: result: $CPP" >&5 |
4352 echo "${ECHO_T}$CPP" >&6; } | 3811 echo "${ECHO_T}$CPP" >&6 |
4353 ac_preproc_ok=false | 3812 ac_preproc_ok=false |
4354 for ac_c_preproc_warn_flag in '' yes | 3813 for ac_c_preproc_warn_flag in '' yes |
4355 do | 3814 do |
4356 # Use a header file that comes with gcc, so configuring glibc | 3815 # Use a header file that comes with gcc, so configuring glibc |
4357 # with a fresh cross-compiler works. | 3816 # with a fresh cross-compiler works. |
4370 #else | 3829 #else |
4371 # include <assert.h> | 3830 # include <assert.h> |
4372 #endif | 3831 #endif |
4373 Syntax error | 3832 Syntax error |
4374 _ACEOF | 3833 _ACEOF |
4375 if { (ac_try="$ac_cpp conftest.$ac_ext" | 3834 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4376 case "(($ac_try" in | 3835 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4378 *) ac_try_echo=$ac_try;; | |
4379 esac | |
4380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4381 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
4382 ac_status=$? | 3836 ac_status=$? |
4383 grep -v '^ *+' conftest.er1 >conftest.err | 3837 grep -v '^ *+' conftest.er1 >conftest.err |
4384 rm -f conftest.er1 | 3838 rm -f conftest.er1 |
4385 cat conftest.err >&5 | 3839 cat conftest.err >&5 |
4386 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3840 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4401 sed 's/^/| /' conftest.$ac_ext >&5 | 3855 sed 's/^/| /' conftest.$ac_ext >&5 |
4402 | 3856 |
4403 # Broken: fails on valid input. | 3857 # Broken: fails on valid input. |
4404 continue | 3858 continue |
4405 fi | 3859 fi |
4406 | |
4407 rm -f conftest.err conftest.$ac_ext | 3860 rm -f conftest.err conftest.$ac_ext |
4408 | 3861 |
4409 # OK, works on sane cases. Now check whether nonexistent headers | 3862 # OK, works on sane cases. Now check whether non-existent headers |
4410 # can be detected and how. | 3863 # can be detected and how. |
4411 cat >conftest.$ac_ext <<_ACEOF | 3864 cat >conftest.$ac_ext <<_ACEOF |
4412 /* confdefs.h. */ | 3865 /* confdefs.h. */ |
4413 _ACEOF | 3866 _ACEOF |
4414 cat confdefs.h >>conftest.$ac_ext | 3867 cat confdefs.h >>conftest.$ac_ext |
4415 cat >>conftest.$ac_ext <<_ACEOF | 3868 cat >>conftest.$ac_ext <<_ACEOF |
4416 /* end confdefs.h. */ | 3869 /* end confdefs.h. */ |
4417 #include <ac_nonexistent.h> | 3870 #include <ac_nonexistent.h> |
4418 _ACEOF | 3871 _ACEOF |
4419 if { (ac_try="$ac_cpp conftest.$ac_ext" | 3872 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4420 case "(($ac_try" in | 3873 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4422 *) ac_try_echo=$ac_try;; | |
4423 esac | |
4424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4425 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
4426 ac_status=$? | 3874 ac_status=$? |
4427 grep -v '^ *+' conftest.er1 >conftest.err | 3875 grep -v '^ *+' conftest.er1 >conftest.err |
4428 rm -f conftest.er1 | 3876 rm -f conftest.er1 |
4429 cat conftest.err >&5 | 3877 cat conftest.err >&5 |
4430 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3878 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4447 | 3895 |
4448 # Passes both tests. | 3896 # Passes both tests. |
4449 ac_preproc_ok=: | 3897 ac_preproc_ok=: |
4450 break | 3898 break |
4451 fi | 3899 fi |
4452 | |
4453 rm -f conftest.err conftest.$ac_ext | 3900 rm -f conftest.err conftest.$ac_ext |
4454 | 3901 |
4455 done | 3902 done |
4456 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 3903 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
4457 rm -f conftest.err conftest.$ac_ext | 3904 rm -f conftest.err conftest.$ac_ext |
4470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 3917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 3918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4472 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3919 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4473 | 3920 |
4474 | 3921 |
4475 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 | 3922 echo "$as_me:$LINENO: checking for egrep" >&5 |
4476 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } | 3923 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
4477 if test "${ac_cv_path_GREP+set}" = set; then | 3924 if test "${ac_cv_prog_egrep+set}" = set; then |
4478 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3925 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4479 else | 3926 else |
4480 # Extract the first word of "grep ggrep" to use in msg output | 3927 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 |
4481 if test -z "$GREP"; then | 3928 then ac_cv_prog_egrep='grep -E' |
4482 set dummy grep ggrep; ac_prog_name=$2 | 3929 else ac_cv_prog_egrep='egrep' |
4483 if test "${ac_cv_path_GREP+set}" = set; then | |
4484 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4485 else | |
4486 ac_path_GREP_found=false | |
4487 # Loop through the user's path and test for each of PROGNAME-LIST | |
4488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
4489 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |
4490 do | |
4491 IFS=$as_save_IFS | |
4492 test -z "$as_dir" && as_dir=. | |
4493 for ac_prog in grep ggrep; do | |
4494 for ac_exec_ext in '' $ac_executable_extensions; do | |
4495 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | |
4496 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue | |
4497 # Check for GNU ac_path_GREP and select it if it is found. | |
4498 # Check for GNU $ac_path_GREP | |
4499 case `"$ac_path_GREP" --version 2>&1` in | |
4500 *GNU*) | |
4501 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; | |
4502 *) | |
4503 ac_count=0 | |
4504 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" | |
4505 while : | |
4506 do | |
4507 cat "conftest.in" "conftest.in" >"conftest.tmp" | |
4508 mv "conftest.tmp" "conftest.in" | |
4509 cp "conftest.in" "conftest.nl" | |
4510 echo 'GREP' >> "conftest.nl" | |
4511 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break | |
4512 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
4513 ac_count=`expr $ac_count + 1` | |
4514 if test $ac_count -gt ${ac_path_GREP_max-0}; then | |
4515 # Best one so far, save it but keep looking for a better one | |
4516 ac_cv_path_GREP="$ac_path_GREP" | |
4517 ac_path_GREP_max=$ac_count | |
4518 fi | 3930 fi |
4519 # 10*(2^10) chars as input seems more than enough | 3931 fi |
4520 test $ac_count -gt 10 && break | 3932 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 |
4521 done | 3933 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 |
4522 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | 3934 EGREP=$ac_cv_prog_egrep |
4523 esac | 3935 |
4524 | 3936 |
4525 | 3937 |
4526 $ac_path_GREP_found && break 3 | 3938 echo "$as_me:$LINENO: checking for AIX" >&5 |
4527 done | 3939 echo $ECHO_N "checking for AIX... $ECHO_C" >&6 |
4528 done | |
4529 | |
4530 done | |
4531 IFS=$as_save_IFS | |
4532 | |
4533 | |
4534 fi | |
4535 | |
4536 GREP="$ac_cv_path_GREP" | |
4537 if test -z "$GREP"; then | |
4538 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 | |
4539 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | |
4540 { (exit 1); exit 1; }; } | |
4541 fi | |
4542 | |
4543 else | |
4544 ac_cv_path_GREP=$GREP | |
4545 fi | |
4546 | |
4547 | |
4548 fi | |
4549 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 | |
4550 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } | |
4551 GREP="$ac_cv_path_GREP" | |
4552 | |
4553 | |
4554 { echo "$as_me:$LINENO: checking for egrep" >&5 | |
4555 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } | |
4556 if test "${ac_cv_path_EGREP+set}" = set; then | |
4557 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4558 else | |
4559 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | |
4560 then ac_cv_path_EGREP="$GREP -E" | |
4561 else | |
4562 # Extract the first word of "egrep" to use in msg output | |
4563 if test -z "$EGREP"; then | |
4564 set dummy egrep; ac_prog_name=$2 | |
4565 if test "${ac_cv_path_EGREP+set}" = set; then | |
4566 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4567 else | |
4568 ac_path_EGREP_found=false | |
4569 # Loop through the user's path and test for each of PROGNAME-LIST | |
4570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
4571 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |
4572 do | |
4573 IFS=$as_save_IFS | |
4574 test -z "$as_dir" && as_dir=. | |
4575 for ac_prog in egrep; do | |
4576 for ac_exec_ext in '' $ac_executable_extensions; do | |
4577 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | |
4578 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue | |
4579 # Check for GNU ac_path_EGREP and select it if it is found. | |
4580 # Check for GNU $ac_path_EGREP | |
4581 case `"$ac_path_EGREP" --version 2>&1` in | |
4582 *GNU*) | |
4583 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; | |
4584 *) | |
4585 ac_count=0 | |
4586 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" | |
4587 while : | |
4588 do | |
4589 cat "conftest.in" "conftest.in" >"conftest.tmp" | |
4590 mv "conftest.tmp" "conftest.in" | |
4591 cp "conftest.in" "conftest.nl" | |
4592 echo 'EGREP' >> "conftest.nl" | |
4593 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break | |
4594 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
4595 ac_count=`expr $ac_count + 1` | |
4596 if test $ac_count -gt ${ac_path_EGREP_max-0}; then | |
4597 # Best one so far, save it but keep looking for a better one | |
4598 ac_cv_path_EGREP="$ac_path_EGREP" | |
4599 ac_path_EGREP_max=$ac_count | |
4600 fi | |
4601 # 10*(2^10) chars as input seems more than enough | |
4602 test $ac_count -gt 10 && break | |
4603 done | |
4604 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | |
4605 esac | |
4606 | |
4607 | |
4608 $ac_path_EGREP_found && break 3 | |
4609 done | |
4610 done | |
4611 | |
4612 done | |
4613 IFS=$as_save_IFS | |
4614 | |
4615 | |
4616 fi | |
4617 | |
4618 EGREP="$ac_cv_path_EGREP" | |
4619 if test -z "$EGREP"; then | |
4620 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 | |
4621 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | |
4622 { (exit 1); exit 1; }; } | |
4623 fi | |
4624 | |
4625 else | |
4626 ac_cv_path_EGREP=$EGREP | |
4627 fi | |
4628 | |
4629 | |
4630 fi | |
4631 fi | |
4632 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 | |
4633 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } | |
4634 EGREP="$ac_cv_path_EGREP" | |
4635 | |
4636 | |
4637 | |
4638 { echo "$as_me:$LINENO: checking for AIX" >&5 | |
4639 echo $ECHO_N "checking for AIX... $ECHO_C" >&6; } | |
4640 cat >conftest.$ac_ext <<_ACEOF | 3940 cat >conftest.$ac_ext <<_ACEOF |
4641 /* confdefs.h. */ | 3941 /* confdefs.h. */ |
4642 _ACEOF | 3942 _ACEOF |
4643 cat confdefs.h >>conftest.$ac_ext | 3943 cat confdefs.h >>conftest.$ac_ext |
4644 cat >>conftest.$ac_ext <<_ACEOF | 3944 cat >>conftest.$ac_ext <<_ACEOF |
4648 #endif | 3948 #endif |
4649 | 3949 |
4650 _ACEOF | 3950 _ACEOF |
4651 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3951 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4652 $EGREP "yes" >/dev/null 2>&1; then | 3952 $EGREP "yes" >/dev/null 2>&1; then |
4653 { echo "$as_me:$LINENO: result: yes" >&5 | 3953 echo "$as_me:$LINENO: result: yes" >&5 |
4654 echo "${ECHO_T}yes" >&6; } | 3954 echo "${ECHO_T}yes" >&6 |
4655 cat >>confdefs.h <<\_ACEOF | 3955 cat >>confdefs.h <<\_ACEOF |
4656 #define _ALL_SOURCE 1 | 3956 #define _ALL_SOURCE 1 |
4657 _ACEOF | 3957 _ACEOF |
4658 | 3958 |
4659 else | 3959 else |
4660 { echo "$as_me:$LINENO: result: no" >&5 | 3960 echo "$as_me:$LINENO: result: no" >&5 |
4661 echo "${ECHO_T}no" >&6; } | 3961 echo "${ECHO_T}no" >&6 |
4662 fi | 3962 fi |
4663 rm -f conftest* | 3963 rm -f conftest* |
4664 | 3964 |
4665 | 3965 |
4666 | 3966 |
4669 _ACEOF | 3969 _ACEOF |
4670 | 3970 |
4671 | 3971 |
4672 | 3972 |
4673 ### Use -Wno-pointer-sign if the compiler supports it | 3973 ### Use -Wno-pointer-sign if the compiler supports it |
4674 { echo "$as_me:$LINENO: checking whether gcc understands -Wno-pointer-sign" >&5 | 3974 echo "$as_me:$LINENO: checking whether gcc understands -Wno-pointer-sign" >&5 |
4675 echo $ECHO_N "checking whether gcc understands -Wno-pointer-sign... $ECHO_C" >&6; } | 3975 echo $ECHO_N "checking whether gcc understands -Wno-pointer-sign... $ECHO_C" >&6 |
4676 SAVE_CFLAGS="$CFLAGS" | 3976 SAVE_CFLAGS="$CFLAGS" |
4677 CFLAGS="$CFLAGS -Wno-pointer-sign" | 3977 CFLAGS="$CFLAGS -Wno-pointer-sign" |
4678 cat >conftest.$ac_ext <<_ACEOF | 3978 cat >conftest.$ac_ext <<_ACEOF |
4679 /* confdefs.h. */ | 3979 /* confdefs.h. */ |
4680 _ACEOF | 3980 _ACEOF |
4689 ; | 3989 ; |
4690 return 0; | 3990 return 0; |
4691 } | 3991 } |
4692 _ACEOF | 3992 _ACEOF |
4693 rm -f conftest.$ac_objext | 3993 rm -f conftest.$ac_objext |
4694 if { (ac_try="$ac_compile" | 3994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4695 case "(($ac_try" in | 3995 (eval $ac_compile) 2>conftest.er1 |
4696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4697 *) ac_try_echo=$ac_try;; | |
4698 esac | |
4699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4700 (eval "$ac_compile") 2>conftest.er1 | |
4701 ac_status=$? | 3996 ac_status=$? |
4702 grep -v '^ *+' conftest.er1 >conftest.err | 3997 grep -v '^ *+' conftest.er1 >conftest.err |
4703 rm -f conftest.er1 | 3998 rm -f conftest.er1 |
4704 cat conftest.err >&5 | 3999 cat conftest.err >&5 |
4705 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4000 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4706 (exit $ac_status); } && | 4001 (exit $ac_status); } && |
4707 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 4002 { ac_try='test -z "$ac_c_werror_flag" |
4708 { (case "(($ac_try" in | 4003 || test ! -s conftest.err' |
4709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 4004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4710 *) ac_try_echo=$ac_try;; | 4005 (eval $ac_try) 2>&5 |
4711 esac | |
4712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4713 (eval "$ac_try") 2>&5 | |
4714 ac_status=$? | 4006 ac_status=$? |
4715 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4007 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4716 (exit $ac_status); }; } && | 4008 (exit $ac_status); }; } && |
4717 { ac_try='test -s conftest.$ac_objext' | 4009 { ac_try='test -s conftest.$ac_objext' |
4718 { (case "(($ac_try" in | 4010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 4011 (eval $ac_try) 2>&5 |
4720 *) ac_try_echo=$ac_try;; | |
4721 esac | |
4722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4723 (eval "$ac_try") 2>&5 | |
4724 ac_status=$? | 4012 ac_status=$? |
4725 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4013 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4726 (exit $ac_status); }; }; then | 4014 (exit $ac_status); }; }; then |
4727 has_option=yes | 4015 has_option=yes |
4728 else | 4016 else |
4729 echo "$as_me: failed program was:" >&5 | 4017 echo "$as_me: failed program was:" >&5 |
4730 sed 's/^/| /' conftest.$ac_ext >&5 | 4018 sed 's/^/| /' conftest.$ac_ext >&5 |
4731 | 4019 |
4732 has_option=no | 4020 has_option=no |
4733 fi | 4021 fi |
4734 | 4022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
4736 if test $has_option = yes; then | 4023 if test $has_option = yes; then |
4737 C_WARNINGS_SWITCH="-Wno-pointer-sign $C_WARNINGS_SWITCH" | 4024 C_WARNINGS_SWITCH="-Wno-pointer-sign $C_WARNINGS_SWITCH" |
4738 fi | 4025 fi |
4739 { echo "$as_me:$LINENO: result: $has_option" >&5 | 4026 echo "$as_me:$LINENO: result: $has_option" >&5 |
4740 echo "${ECHO_T}$has_option" >&6; } | 4027 echo "${ECHO_T}$has_option" >&6 |
4741 CFLAGS="$SAVE_CFLAGS" | 4028 CFLAGS="$SAVE_CFLAGS" |
4742 unset has_option | 4029 unset has_option |
4743 unset SAVE_CFLAGS | 4030 unset SAVE_CFLAGS |
4744 | 4031 |
4745 #### Some other nice autoconf tests. | 4032 #### Some other nice autoconf tests. |
4746 | 4033 |
4747 { echo "$as_me:$LINENO: checking whether ln -s works" >&5 | 4034 echo "$as_me:$LINENO: checking whether ln -s works" >&5 |
4748 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; } | 4035 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 |
4749 LN_S=$as_ln_s | 4036 LN_S=$as_ln_s |
4750 if test "$LN_S" = "ln -s"; then | 4037 if test "$LN_S" = "ln -s"; then |
4751 { echo "$as_me:$LINENO: result: yes" >&5 | 4038 echo "$as_me:$LINENO: result: yes" >&5 |
4752 echo "${ECHO_T}yes" >&6; } | 4039 echo "${ECHO_T}yes" >&6 |
4753 else | 4040 else |
4754 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5 | 4041 echo "$as_me:$LINENO: result: no, using $LN_S" >&5 |
4755 echo "${ECHO_T}no, using $LN_S" >&6; } | 4042 echo "${ECHO_T}no, using $LN_S" >&6 |
4756 fi | 4043 fi |
4757 | 4044 |
4758 ac_ext=c | 4045 ac_ext=c |
4759 ac_cpp='$CPP $CPPFLAGS' | 4046 ac_cpp='$CPP $CPPFLAGS' |
4760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 4047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 4048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4762 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 4049 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4763 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | 4050 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
4764 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } | 4051 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
4765 # On Suns, sometimes $CPP names a directory. | 4052 # On Suns, sometimes $CPP names a directory. |
4766 if test -n "$CPP" && test -d "$CPP"; then | 4053 if test -n "$CPP" && test -d "$CPP"; then |
4767 CPP= | 4054 CPP= |
4768 fi | 4055 fi |
4769 if test -z "$CPP"; then | 4056 if test -z "$CPP"; then |
4793 #else | 4080 #else |
4794 # include <assert.h> | 4081 # include <assert.h> |
4795 #endif | 4082 #endif |
4796 Syntax error | 4083 Syntax error |
4797 _ACEOF | 4084 _ACEOF |
4798 if { (ac_try="$ac_cpp conftest.$ac_ext" | 4085 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4799 case "(($ac_try" in | 4086 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4801 *) ac_try_echo=$ac_try;; | |
4802 esac | |
4803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4804 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
4805 ac_status=$? | 4087 ac_status=$? |
4806 grep -v '^ *+' conftest.er1 >conftest.err | 4088 grep -v '^ *+' conftest.er1 >conftest.err |
4807 rm -f conftest.er1 | 4089 rm -f conftest.er1 |
4808 cat conftest.err >&5 | 4090 cat conftest.err >&5 |
4809 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4091 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4824 sed 's/^/| /' conftest.$ac_ext >&5 | 4106 sed 's/^/| /' conftest.$ac_ext >&5 |
4825 | 4107 |
4826 # Broken: fails on valid input. | 4108 # Broken: fails on valid input. |
4827 continue | 4109 continue |
4828 fi | 4110 fi |
4829 | |
4830 rm -f conftest.err conftest.$ac_ext | 4111 rm -f conftest.err conftest.$ac_ext |
4831 | 4112 |
4832 # OK, works on sane cases. Now check whether nonexistent headers | 4113 # OK, works on sane cases. Now check whether non-existent headers |
4833 # can be detected and how. | 4114 # can be detected and how. |
4834 cat >conftest.$ac_ext <<_ACEOF | 4115 cat >conftest.$ac_ext <<_ACEOF |
4835 /* confdefs.h. */ | 4116 /* confdefs.h. */ |
4836 _ACEOF | 4117 _ACEOF |
4837 cat confdefs.h >>conftest.$ac_ext | 4118 cat confdefs.h >>conftest.$ac_ext |
4838 cat >>conftest.$ac_ext <<_ACEOF | 4119 cat >>conftest.$ac_ext <<_ACEOF |
4839 /* end confdefs.h. */ | 4120 /* end confdefs.h. */ |
4840 #include <ac_nonexistent.h> | 4121 #include <ac_nonexistent.h> |
4841 _ACEOF | 4122 _ACEOF |
4842 if { (ac_try="$ac_cpp conftest.$ac_ext" | 4123 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4843 case "(($ac_try" in | 4124 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4845 *) ac_try_echo=$ac_try;; | |
4846 esac | |
4847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4848 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
4849 ac_status=$? | 4125 ac_status=$? |
4850 grep -v '^ *+' conftest.er1 >conftest.err | 4126 grep -v '^ *+' conftest.er1 >conftest.err |
4851 rm -f conftest.er1 | 4127 rm -f conftest.er1 |
4852 cat conftest.err >&5 | 4128 cat conftest.err >&5 |
4853 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4129 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4870 | 4146 |
4871 # Passes both tests. | 4147 # Passes both tests. |
4872 ac_preproc_ok=: | 4148 ac_preproc_ok=: |
4873 break | 4149 break |
4874 fi | 4150 fi |
4875 | |
4876 rm -f conftest.err conftest.$ac_ext | 4151 rm -f conftest.err conftest.$ac_ext |
4877 | 4152 |
4878 done | 4153 done |
4879 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 4154 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
4880 rm -f conftest.err conftest.$ac_ext | 4155 rm -f conftest.err conftest.$ac_ext |
4888 fi | 4163 fi |
4889 CPP=$ac_cv_prog_CPP | 4164 CPP=$ac_cv_prog_CPP |
4890 else | 4165 else |
4891 ac_cv_prog_CPP=$CPP | 4166 ac_cv_prog_CPP=$CPP |
4892 fi | 4167 fi |
4893 { echo "$as_me:$LINENO: result: $CPP" >&5 | 4168 echo "$as_me:$LINENO: result: $CPP" >&5 |
4894 echo "${ECHO_T}$CPP" >&6; } | 4169 echo "${ECHO_T}$CPP" >&6 |
4895 ac_preproc_ok=false | 4170 ac_preproc_ok=false |
4896 for ac_c_preproc_warn_flag in '' yes | 4171 for ac_c_preproc_warn_flag in '' yes |
4897 do | 4172 do |
4898 # Use a header file that comes with gcc, so configuring glibc | 4173 # Use a header file that comes with gcc, so configuring glibc |
4899 # with a fresh cross-compiler works. | 4174 # with a fresh cross-compiler works. |
4912 #else | 4187 #else |
4913 # include <assert.h> | 4188 # include <assert.h> |
4914 #endif | 4189 #endif |
4915 Syntax error | 4190 Syntax error |
4916 _ACEOF | 4191 _ACEOF |
4917 if { (ac_try="$ac_cpp conftest.$ac_ext" | 4192 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4918 case "(($ac_try" in | 4193 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4920 *) ac_try_echo=$ac_try;; | |
4921 esac | |
4922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4923 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
4924 ac_status=$? | 4194 ac_status=$? |
4925 grep -v '^ *+' conftest.er1 >conftest.err | 4195 grep -v '^ *+' conftest.er1 >conftest.err |
4926 rm -f conftest.er1 | 4196 rm -f conftest.er1 |
4927 cat conftest.err >&5 | 4197 cat conftest.err >&5 |
4928 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4198 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4943 sed 's/^/| /' conftest.$ac_ext >&5 | 4213 sed 's/^/| /' conftest.$ac_ext >&5 |
4944 | 4214 |
4945 # Broken: fails on valid input. | 4215 # Broken: fails on valid input. |
4946 continue | 4216 continue |
4947 fi | 4217 fi |
4948 | |
4949 rm -f conftest.err conftest.$ac_ext | 4218 rm -f conftest.err conftest.$ac_ext |
4950 | 4219 |
4951 # OK, works on sane cases. Now check whether nonexistent headers | 4220 # OK, works on sane cases. Now check whether non-existent headers |
4952 # can be detected and how. | 4221 # can be detected and how. |
4953 cat >conftest.$ac_ext <<_ACEOF | 4222 cat >conftest.$ac_ext <<_ACEOF |
4954 /* confdefs.h. */ | 4223 /* confdefs.h. */ |
4955 _ACEOF | 4224 _ACEOF |
4956 cat confdefs.h >>conftest.$ac_ext | 4225 cat confdefs.h >>conftest.$ac_ext |
4957 cat >>conftest.$ac_ext <<_ACEOF | 4226 cat >>conftest.$ac_ext <<_ACEOF |
4958 /* end confdefs.h. */ | 4227 /* end confdefs.h. */ |
4959 #include <ac_nonexistent.h> | 4228 #include <ac_nonexistent.h> |
4960 _ACEOF | 4229 _ACEOF |
4961 if { (ac_try="$ac_cpp conftest.$ac_ext" | 4230 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4962 case "(($ac_try" in | 4231 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4964 *) ac_try_echo=$ac_try;; | |
4965 esac | |
4966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4967 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
4968 ac_status=$? | 4232 ac_status=$? |
4969 grep -v '^ *+' conftest.er1 >conftest.err | 4233 grep -v '^ *+' conftest.er1 >conftest.err |
4970 rm -f conftest.er1 | 4234 rm -f conftest.er1 |
4971 cat conftest.err >&5 | 4235 cat conftest.err >&5 |
4972 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4236 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4989 | 4253 |
4990 # Passes both tests. | 4254 # Passes both tests. |
4991 ac_preproc_ok=: | 4255 ac_preproc_ok=: |
4992 break | 4256 break |
4993 fi | 4257 fi |
4994 | |
4995 rm -f conftest.err conftest.$ac_ext | 4258 rm -f conftest.err conftest.$ac_ext |
4996 | 4259 |
4997 done | 4260 done |
4998 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 4261 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
4999 rm -f conftest.err conftest.$ac_ext | 4262 rm -f conftest.err conftest.$ac_ext |
5024 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 4287 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
5025 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 4288 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
5026 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 4289 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
5027 # OS/2's system install, which has a completely different semantic | 4290 # OS/2's system install, which has a completely different semantic |
5028 # ./install, which can be erroneously created by make from ./install.sh. | 4291 # ./install, which can be erroneously created by make from ./install.sh. |
5029 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | 4292 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
5030 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } | 4293 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
5031 if test -z "$INSTALL"; then | 4294 if test -z "$INSTALL"; then |
5032 if test "${ac_cv_path_install+set}" = set; then | 4295 if test "${ac_cv_path_install+set}" = set; then |
5033 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4296 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5034 else | 4297 else |
5035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 4298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5047 # OSF1 and SCO ODT 3.0 have their own names for install. | 4310 # OSF1 and SCO ODT 3.0 have their own names for install. |
5048 # Don't use installbsd from OSF since it installs stuff as root | 4311 # Don't use installbsd from OSF since it installs stuff as root |
5049 # by default. | 4312 # by default. |
5050 for ac_prog in ginstall scoinst install; do | 4313 for ac_prog in ginstall scoinst install; do |
5051 for ac_exec_ext in '' $ac_executable_extensions; do | 4314 for ac_exec_ext in '' $ac_executable_extensions; do |
5052 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then | 4315 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
5053 if test $ac_prog = install && | 4316 if test $ac_prog = install && |
5054 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 4317 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
5055 # AIX install. It has an incompatible calling convention. | 4318 # AIX install. It has an incompatible calling convention. |
5056 : | 4319 : |
5057 elif test $ac_prog = install && | 4320 elif test $ac_prog = install && |
5066 done | 4329 done |
5067 done | 4330 done |
5068 ;; | 4331 ;; |
5069 esac | 4332 esac |
5070 done | 4333 done |
5071 IFS=$as_save_IFS | |
5072 | 4334 |
5073 | 4335 |
5074 fi | 4336 fi |
5075 if test "${ac_cv_path_install+set}" = set; then | 4337 if test "${ac_cv_path_install+set}" = set; then |
5076 INSTALL=$ac_cv_path_install | 4338 INSTALL=$ac_cv_path_install |
5077 else | 4339 else |
5078 # As a last resort, use the slow shell script. Don't cache a | 4340 # As a last resort, use the slow shell script. We don't cache a |
5079 # value for INSTALL within a source directory, because that will | 4341 # path for INSTALL within a source directory, because that will |
5080 # break other packages using the cache if that directory is | 4342 # break other packages using the cache if that directory is |
5081 # removed, or if the value is a relative name. | 4343 # removed, or if the path is relative. |
5082 INSTALL=$ac_install_sh | 4344 INSTALL=$ac_install_sh |
5083 fi | 4345 fi |
5084 fi | 4346 fi |
5085 { echo "$as_me:$LINENO: result: $INSTALL" >&5 | 4347 echo "$as_me:$LINENO: result: $INSTALL" >&5 |
5086 echo "${ECHO_T}$INSTALL" >&6; } | 4348 echo "${ECHO_T}$INSTALL" >&6 |
5087 | 4349 |
5088 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 4350 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
5089 # It thinks the first close brace ends the variable substitution. | 4351 # It thinks the first close brace ends the variable substitution. |
5090 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | 4352 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
5091 | 4353 |
5095 | 4357 |
5096 if test "x$RANLIB" = x; then | 4358 if test "x$RANLIB" = x; then |
5097 if test -n "$ac_tool_prefix"; then | 4359 if test -n "$ac_tool_prefix"; then |
5098 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | 4360 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
5099 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | 4361 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
5100 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 4362 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 4363 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
5102 if test "${ac_cv_prog_RANLIB+set}" = set; then | 4364 if test "${ac_cv_prog_RANLIB+set}" = set; then |
5103 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4365 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5104 else | 4366 else |
5105 if test -n "$RANLIB"; then | 4367 if test -n "$RANLIB"; then |
5106 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 4368 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
5109 for as_dir in $PATH | 4371 for as_dir in $PATH |
5110 do | 4372 do |
5111 IFS=$as_save_IFS | 4373 IFS=$as_save_IFS |
5112 test -z "$as_dir" && as_dir=. | 4374 test -z "$as_dir" && as_dir=. |
5113 for ac_exec_ext in '' $ac_executable_extensions; do | 4375 for ac_exec_ext in '' $ac_executable_extensions; do |
5114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then | 4376 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5115 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" | 4377 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
5116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5117 break 2 | 4379 break 2 |
5118 fi | 4380 fi |
5119 done | 4381 done |
5120 done | 4382 done |
5121 IFS=$as_save_IFS | |
5122 | 4383 |
5123 fi | 4384 fi |
5124 fi | 4385 fi |
5125 RANLIB=$ac_cv_prog_RANLIB | 4386 RANLIB=$ac_cv_prog_RANLIB |
5126 if test -n "$RANLIB"; then | 4387 if test -n "$RANLIB"; then |
5127 { echo "$as_me:$LINENO: result: $RANLIB" >&5 | 4388 echo "$as_me:$LINENO: result: $RANLIB" >&5 |
5128 echo "${ECHO_T}$RANLIB" >&6; } | 4389 echo "${ECHO_T}$RANLIB" >&6 |
5129 else | 4390 else |
5130 { echo "$as_me:$LINENO: result: no" >&5 | 4391 echo "$as_me:$LINENO: result: no" >&5 |
5131 echo "${ECHO_T}no" >&6; } | 4392 echo "${ECHO_T}no" >&6 |
5132 fi | 4393 fi |
5133 | |
5134 | 4394 |
5135 fi | 4395 fi |
5136 if test -z "$ac_cv_prog_RANLIB"; then | 4396 if test -z "$ac_cv_prog_RANLIB"; then |
5137 ac_ct_RANLIB=$RANLIB | 4397 ac_ct_RANLIB=$RANLIB |
5138 # Extract the first word of "ranlib", so it can be a program name with args. | 4398 # Extract the first word of "ranlib", so it can be a program name with args. |
5139 set dummy ranlib; ac_word=$2 | 4399 set dummy ranlib; ac_word=$2 |
5140 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 4400 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 4401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
5142 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then | 4402 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
5143 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4403 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5144 else | 4404 else |
5145 if test -n "$ac_ct_RANLIB"; then | 4405 if test -n "$ac_ct_RANLIB"; then |
5146 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. | 4406 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
5149 for as_dir in $PATH | 4409 for as_dir in $PATH |
5150 do | 4410 do |
5151 IFS=$as_save_IFS | 4411 IFS=$as_save_IFS |
5152 test -z "$as_dir" && as_dir=. | 4412 test -z "$as_dir" && as_dir=. |
5153 for ac_exec_ext in '' $ac_executable_extensions; do | 4413 for ac_exec_ext in '' $ac_executable_extensions; do |
5154 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then | 4414 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5155 ac_cv_prog_ac_ct_RANLIB="ranlib" | 4415 ac_cv_prog_ac_ct_RANLIB="ranlib" |
5156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4416 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5157 break 2 | 4417 break 2 |
5158 fi | 4418 fi |
5159 done | 4419 done |
5160 done | 4420 done |
5161 IFS=$as_save_IFS | 4421 |
5162 | 4422 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" |
5163 fi | 4423 fi |
5164 fi | 4424 fi |
5165 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB | 4425 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
5166 if test -n "$ac_ct_RANLIB"; then | 4426 if test -n "$ac_ct_RANLIB"; then |
5167 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 | 4427 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
5168 echo "${ECHO_T}$ac_ct_RANLIB" >&6; } | 4428 echo "${ECHO_T}$ac_ct_RANLIB" >&6 |
5169 else | 4429 else |
5170 { echo "$as_me:$LINENO: result: no" >&5 | 4430 echo "$as_me:$LINENO: result: no" >&5 |
5171 echo "${ECHO_T}no" >&6; } | 4431 echo "${ECHO_T}no" >&6 |
5172 fi | 4432 fi |
5173 | 4433 |
5174 if test "x$ac_ct_RANLIB" = x; then | 4434 RANLIB=$ac_ct_RANLIB |
5175 RANLIB=":" | |
5176 else | |
5177 case $cross_compiling:$ac_tool_warned in | |
5178 yes:) | |
5179 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | |
5180 whose name does not start with the host triplet. If you think this | |
5181 configuration is useful to you, please write to autoconf@gnu.org." >&5 | |
5182 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | |
5183 whose name does not start with the host triplet. If you think this | |
5184 configuration is useful to you, please write to autoconf@gnu.org." >&2;} | |
5185 ac_tool_warned=yes ;; | |
5186 esac | |
5187 RANLIB=$ac_ct_RANLIB | |
5188 fi | |
5189 else | 4435 else |
5190 RANLIB="$ac_cv_prog_RANLIB" | 4436 RANLIB="$ac_cv_prog_RANLIB" |
5191 fi | 4437 fi |
5192 | 4438 |
5193 fi | 4439 fi |
5194 # Extract the first word of "install-info", so it can be a program name with args. | 4440 # Extract the first word of "install-info", so it can be a program name with args. |
5195 set dummy install-info; ac_word=$2 | 4441 set dummy install-info; ac_word=$2 |
5196 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 4442 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5197 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 4443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
5198 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then | 4444 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then |
5199 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4445 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5200 else | 4446 else |
5201 case $INSTALL_INFO in | 4447 case $INSTALL_INFO in |
5202 [\\/]* | ?:[\\/]*) | 4448 [\\/]* | ?:[\\/]*) |
5207 for as_dir in $PATH | 4453 for as_dir in $PATH |
5208 do | 4454 do |
5209 IFS=$as_save_IFS | 4455 IFS=$as_save_IFS |
5210 test -z "$as_dir" && as_dir=. | 4456 test -z "$as_dir" && as_dir=. |
5211 for ac_exec_ext in '' $ac_executable_extensions; do | 4457 for ac_exec_ext in '' $ac_executable_extensions; do |
5212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then | 4458 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5213 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" | 4459 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" |
5214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5215 break 2 | 4461 break 2 |
5216 fi | 4462 fi |
5217 done | 4463 done |
5218 done | 4464 done |
5219 IFS=$as_save_IFS | |
5220 | 4465 |
5221 ;; | 4466 ;; |
5222 esac | 4467 esac |
5223 fi | 4468 fi |
5224 INSTALL_INFO=$ac_cv_path_INSTALL_INFO | 4469 INSTALL_INFO=$ac_cv_path_INSTALL_INFO |
4470 | |
5225 if test -n "$INSTALL_INFO"; then | 4471 if test -n "$INSTALL_INFO"; then |
5226 { echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 | 4472 echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 |
5227 echo "${ECHO_T}$INSTALL_INFO" >&6; } | 4473 echo "${ECHO_T}$INSTALL_INFO" >&6 |
5228 else | 4474 else |
5229 { echo "$as_me:$LINENO: result: no" >&5 | 4475 echo "$as_me:$LINENO: result: no" >&5 |
5230 echo "${ECHO_T}no" >&6; } | 4476 echo "${ECHO_T}no" >&6 |
5231 fi | 4477 fi |
5232 | |
5233 | 4478 |
5234 # Extract the first word of "install-info", so it can be a program name with args. | 4479 # Extract the first word of "install-info", so it can be a program name with args. |
5235 set dummy install-info; ac_word=$2 | 4480 set dummy install-info; ac_word=$2 |
5236 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 4481 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5237 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 4482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
5238 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then | 4483 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then |
5239 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4484 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5240 else | 4485 else |
5241 case $INSTALL_INFO in | 4486 case $INSTALL_INFO in |
5242 [\\/]* | ?:[\\/]*) | 4487 [\\/]* | ?:[\\/]*) |
5247 for as_dir in /usr/sbin | 4492 for as_dir in /usr/sbin |
5248 do | 4493 do |
5249 IFS=$as_save_IFS | 4494 IFS=$as_save_IFS |
5250 test -z "$as_dir" && as_dir=. | 4495 test -z "$as_dir" && as_dir=. |
5251 for ac_exec_ext in '' $ac_executable_extensions; do | 4496 for ac_exec_ext in '' $ac_executable_extensions; do |
5252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then | 4497 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5253 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" | 4498 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" |
5254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5255 break 2 | 4500 break 2 |
5256 fi | 4501 fi |
5257 done | 4502 done |
5258 done | 4503 done |
5259 IFS=$as_save_IFS | |
5260 | 4504 |
5261 ;; | 4505 ;; |
5262 esac | 4506 esac |
5263 fi | 4507 fi |
5264 INSTALL_INFO=$ac_cv_path_INSTALL_INFO | 4508 INSTALL_INFO=$ac_cv_path_INSTALL_INFO |
4509 | |
5265 if test -n "$INSTALL_INFO"; then | 4510 if test -n "$INSTALL_INFO"; then |
5266 { echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 | 4511 echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 |
5267 echo "${ECHO_T}$INSTALL_INFO" >&6; } | 4512 echo "${ECHO_T}$INSTALL_INFO" >&6 |
5268 else | 4513 else |
5269 { echo "$as_me:$LINENO: result: no" >&5 | 4514 echo "$as_me:$LINENO: result: no" >&5 |
5270 echo "${ECHO_T}no" >&6; } | 4515 echo "${ECHO_T}no" >&6 |
5271 fi | 4516 fi |
5272 | |
5273 | 4517 |
5274 # Extract the first word of "install-info", so it can be a program name with args. | 4518 # Extract the first word of "install-info", so it can be a program name with args. |
5275 set dummy install-info; ac_word=$2 | 4519 set dummy install-info; ac_word=$2 |
5276 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 4520 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 4521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
5278 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then | 4522 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then |
5279 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4523 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5280 else | 4524 else |
5281 case $INSTALL_INFO in | 4525 case $INSTALL_INFO in |
5282 [\\/]* | ?:[\\/]*) | 4526 [\\/]* | ?:[\\/]*) |
5287 for as_dir in /sbin | 4531 for as_dir in /sbin |
5288 do | 4532 do |
5289 IFS=$as_save_IFS | 4533 IFS=$as_save_IFS |
5290 test -z "$as_dir" && as_dir=. | 4534 test -z "$as_dir" && as_dir=. |
5291 for ac_exec_ext in '' $ac_executable_extensions; do | 4535 for ac_exec_ext in '' $ac_executable_extensions; do |
5292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then | 4536 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5293 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" | 4537 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" |
5294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4538 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5295 break 2 | 4539 break 2 |
5296 fi | 4540 fi |
5297 done | 4541 done |
5298 done | 4542 done |
5299 IFS=$as_save_IFS | |
5300 | 4543 |
5301 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO=":" | 4544 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO=":" |
5302 ;; | 4545 ;; |
5303 esac | 4546 esac |
5304 fi | 4547 fi |
5305 INSTALL_INFO=$ac_cv_path_INSTALL_INFO | 4548 INSTALL_INFO=$ac_cv_path_INSTALL_INFO |
4549 | |
5306 if test -n "$INSTALL_INFO"; then | 4550 if test -n "$INSTALL_INFO"; then |
5307 { echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 | 4551 echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 |
5308 echo "${ECHO_T}$INSTALL_INFO" >&6; } | 4552 echo "${ECHO_T}$INSTALL_INFO" >&6 |
5309 else | 4553 else |
5310 { echo "$as_me:$LINENO: result: no" >&5 | 4554 echo "$as_me:$LINENO: result: no" >&5 |
5311 echo "${ECHO_T}no" >&6; } | 4555 echo "${ECHO_T}no" >&6 |
5312 fi | 4556 fi |
5313 | |
5314 | 4557 |
5315 # Extract the first word of "gzip", so it can be a program name with args. | 4558 # Extract the first word of "gzip", so it can be a program name with args. |
5316 set dummy gzip; ac_word=$2 | 4559 set dummy gzip; ac_word=$2 |
5317 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 4560 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5318 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 4561 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
5319 if test "${ac_cv_path_GZIP_PROG+set}" = set; then | 4562 if test "${ac_cv_path_GZIP_PROG+set}" = set; then |
5320 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4563 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5321 else | 4564 else |
5322 case $GZIP_PROG in | 4565 case $GZIP_PROG in |
5323 [\\/]* | ?:[\\/]*) | 4566 [\\/]* | ?:[\\/]*) |
5328 for as_dir in $PATH | 4571 for as_dir in $PATH |
5329 do | 4572 do |
5330 IFS=$as_save_IFS | 4573 IFS=$as_save_IFS |
5331 test -z "$as_dir" && as_dir=. | 4574 test -z "$as_dir" && as_dir=. |
5332 for ac_exec_ext in '' $ac_executable_extensions; do | 4575 for ac_exec_ext in '' $ac_executable_extensions; do |
5333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then | 4576 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5334 ac_cv_path_GZIP_PROG="$as_dir/$ac_word$ac_exec_ext" | 4577 ac_cv_path_GZIP_PROG="$as_dir/$ac_word$ac_exec_ext" |
5335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5336 break 2 | 4579 break 2 |
5337 fi | 4580 fi |
5338 done | 4581 done |
5339 done | 4582 done |
5340 IFS=$as_save_IFS | |
5341 | 4583 |
5342 ;; | 4584 ;; |
5343 esac | 4585 esac |
5344 fi | 4586 fi |
5345 GZIP_PROG=$ac_cv_path_GZIP_PROG | 4587 GZIP_PROG=$ac_cv_path_GZIP_PROG |
4588 | |
5346 if test -n "$GZIP_PROG"; then | 4589 if test -n "$GZIP_PROG"; then |
5347 { echo "$as_me:$LINENO: result: $GZIP_PROG" >&5 | 4590 echo "$as_me:$LINENO: result: $GZIP_PROG" >&5 |
5348 echo "${ECHO_T}$GZIP_PROG" >&6; } | 4591 echo "${ECHO_T}$GZIP_PROG" >&6 |
5349 else | 4592 else |
5350 { echo "$as_me:$LINENO: result: no" >&5 | 4593 echo "$as_me:$LINENO: result: no" >&5 |
5351 echo "${ECHO_T}no" >&6; } | 4594 echo "${ECHO_T}no" >&6 |
5352 fi | 4595 fi |
5353 | |
5354 | 4596 |
5355 | 4597 |
5356 | 4598 |
5357 if test x$GCC = xyes && test "x$GCC_LINK_TEST_OPTIONS" != x | 4599 if test x$GCC = xyes && test "x$GCC_LINK_TEST_OPTIONS" != x |
5358 then | 4600 then |
5370 LDFLAGS="$LDFLAGS -Wl,-znocombreloc" | 4612 LDFLAGS="$LDFLAGS -Wl,-znocombreloc" |
5371 else | 4613 else |
5372 LDFLAGS="$LDFLAGS -znocombreloc" | 4614 LDFLAGS="$LDFLAGS -znocombreloc" |
5373 fi | 4615 fi |
5374 | 4616 |
5375 { echo "$as_me:$LINENO: checking for -znocombreloc" >&5 | 4617 echo "$as_me:$LINENO: checking for -znocombreloc" >&5 |
5376 echo $ECHO_N "checking for -znocombreloc... $ECHO_C" >&6; } | 4618 echo $ECHO_N "checking for -znocombreloc... $ECHO_C" >&6 |
5377 cat >conftest.$ac_ext <<_ACEOF | 4619 cat >conftest.$ac_ext <<_ACEOF |
5378 main(){return 0;} | 4620 main(){return 0;} |
5379 _ACEOF | 4621 _ACEOF |
5380 rm -f conftest.$ac_objext conftest$ac_exeext | 4622 rm -f conftest.$ac_objext conftest$ac_exeext |
5381 if { (ac_try="$ac_link" | 4623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5382 case "(($ac_try" in | 4624 (eval $ac_link) 2>conftest.er1 |
5383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5384 *) ac_try_echo=$ac_try;; | |
5385 esac | |
5386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5387 (eval "$ac_link") 2>conftest.er1 | |
5388 ac_status=$? | 4625 ac_status=$? |
5389 grep -v '^ *+' conftest.er1 >conftest.err | 4626 grep -v '^ *+' conftest.er1 >conftest.err |
5390 rm -f conftest.er1 | 4627 rm -f conftest.er1 |
5391 cat conftest.err >&5 | 4628 cat conftest.err >&5 |
5392 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4629 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5393 (exit $ac_status); } && | 4630 (exit $ac_status); } && |
5394 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 4631 { ac_try='test -z "$ac_c_werror_flag" |
5395 { (case "(($ac_try" in | 4632 || test ! -s conftest.err' |
5396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 4633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5397 *) ac_try_echo=$ac_try;; | 4634 (eval $ac_try) 2>&5 |
5398 esac | |
5399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5400 (eval "$ac_try") 2>&5 | |
5401 ac_status=$? | 4635 ac_status=$? |
5402 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4636 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5403 (exit $ac_status); }; } && | 4637 (exit $ac_status); }; } && |
5404 { ac_try='test -s conftest$ac_exeext' | 4638 { ac_try='test -s conftest$ac_exeext' |
5405 { (case "(($ac_try" in | 4639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 4640 (eval $ac_try) 2>&5 |
5407 *) ac_try_echo=$ac_try;; | |
5408 esac | |
5409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5410 (eval "$ac_try") 2>&5 | |
5411 ac_status=$? | 4641 ac_status=$? |
5412 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4642 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5413 (exit $ac_status); }; }; then | 4643 (exit $ac_status); }; }; then |
5414 { echo "$as_me:$LINENO: result: yes" >&5 | 4644 echo "$as_me:$LINENO: result: yes" >&5 |
5415 echo "${ECHO_T}yes" >&6; } | 4645 echo "${ECHO_T}yes" >&6 |
5416 else | 4646 else |
5417 echo "$as_me: failed program was:" >&5 | 4647 echo "$as_me: failed program was:" >&5 |
5418 sed 's/^/| /' conftest.$ac_ext >&5 | 4648 sed 's/^/| /' conftest.$ac_ext >&5 |
5419 | 4649 |
5420 LDFLAGS=$late_LDFLAGS | 4650 LDFLAGS=$late_LDFLAGS |
5421 { echo "$as_me:$LINENO: result: no" >&5 | 4651 echo "$as_me:$LINENO: result: no" >&5 |
5422 echo "${ECHO_T}no" >&6; } | 4652 echo "${ECHO_T}no" >&6 |
5423 fi | 4653 fi |
5424 | 4654 rm -f conftest.err conftest.$ac_objext \ |
5425 rm -f core conftest.err conftest.$ac_objext \ | |
5426 conftest$ac_exeext conftest.$ac_ext | 4655 conftest$ac_exeext conftest.$ac_ext |
5427 | 4656 |
5428 #### Extract some information from the operating system and machine files. | 4657 #### Extract some information from the operating system and machine files. |
5429 | 4658 |
5430 { echo "$as_me:$LINENO: checking the machine- and system-dependent files to find out | 4659 { echo "$as_me:$LINENO: checking the machine- and system-dependent files to find out |
5574 CPPFLAGS="$c_switch_system $c_switch_machine $CPPFLAGS" | 4803 CPPFLAGS="$c_switch_system $c_switch_machine $CPPFLAGS" |
5575 fi | 4804 fi |
5576 | 4805 |
5577 | 4806 |
5578 | 4807 |
5579 # Check whether --enable-largefile was given. | 4808 # Check whether --enable-largefile or --disable-largefile was given. |
5580 if test "${enable_largefile+set}" = set; then | 4809 if test "${enable_largefile+set}" = set; then |
5581 enableval=$enable_largefile; | 4810 enableval="$enable_largefile" |
5582 fi | 4811 |
5583 | 4812 fi; |
5584 if test "$enable_largefile" != no; then | 4813 if test "$enable_largefile" != no; then |
5585 | 4814 |
5586 { echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5 | 4815 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5 |
5587 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6; } | 4816 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6 |
5588 if test "${ac_cv_sys_largefile_CC+set}" = set; then | 4817 if test "${ac_cv_sys_largefile_CC+set}" = set; then |
5589 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4818 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5590 else | 4819 else |
5591 ac_cv_sys_largefile_CC=no | 4820 ac_cv_sys_largefile_CC=no |
5592 if test "$GCC" != yes; then | 4821 if test "$GCC" != yes; then |
5593 ac_save_CC=$CC | 4822 ac_save_CC=$CC |
5594 while :; do | 4823 while :; do |
5595 # IRIX 6.2 and later do not support large files by default, | 4824 # IRIX 6.2 and later do not support large files by default, |
5596 # so use the C compiler's -n32 option if that helps. | 4825 # so use the C compiler's -n32 option if that helps. |
5597 cat >conftest.$ac_ext <<_ACEOF | 4826 cat >conftest.$ac_ext <<_ACEOF |
5598 /* confdefs.h. */ | 4827 /* confdefs.h. */ |
5599 _ACEOF | 4828 _ACEOF |
5600 cat confdefs.h >>conftest.$ac_ext | 4829 cat confdefs.h >>conftest.$ac_ext |
5601 cat >>conftest.$ac_ext <<_ACEOF | 4830 cat >>conftest.$ac_ext <<_ACEOF |
5615 | 4844 |
5616 ; | 4845 ; |
5617 return 0; | 4846 return 0; |
5618 } | 4847 } |
5619 _ACEOF | 4848 _ACEOF |
5620 rm -f conftest.$ac_objext | 4849 rm -f conftest.$ac_objext |
5621 if { (ac_try="$ac_compile" | 4850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5622 case "(($ac_try" in | 4851 (eval $ac_compile) 2>conftest.er1 |
5623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5624 *) ac_try_echo=$ac_try;; | |
5625 esac | |
5626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5627 (eval "$ac_compile") 2>conftest.er1 | |
5628 ac_status=$? | 4852 ac_status=$? |
5629 grep -v '^ *+' conftest.er1 >conftest.err | 4853 grep -v '^ *+' conftest.er1 >conftest.err |
5630 rm -f conftest.er1 | 4854 rm -f conftest.er1 |
5631 cat conftest.err >&5 | 4855 cat conftest.err >&5 |
5632 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4856 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5633 (exit $ac_status); } && | 4857 (exit $ac_status); } && |
5634 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 4858 { ac_try='test -z "$ac_c_werror_flag" |
5635 { (case "(($ac_try" in | 4859 || test ! -s conftest.err' |
5636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 4860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5637 *) ac_try_echo=$ac_try;; | 4861 (eval $ac_try) 2>&5 |
5638 esac | |
5639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5640 (eval "$ac_try") 2>&5 | |
5641 ac_status=$? | 4862 ac_status=$? |
5642 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4863 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5643 (exit $ac_status); }; } && | 4864 (exit $ac_status); }; } && |
5644 { ac_try='test -s conftest.$ac_objext' | 4865 { ac_try='test -s conftest.$ac_objext' |
5645 { (case "(($ac_try" in | 4866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 4867 (eval $ac_try) 2>&5 |
5647 *) ac_try_echo=$ac_try;; | |
5648 esac | |
5649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5650 (eval "$ac_try") 2>&5 | |
5651 ac_status=$? | 4868 ac_status=$? |
5652 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4869 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5653 (exit $ac_status); }; }; then | 4870 (exit $ac_status); }; }; then |
5654 break | 4871 break |
5655 else | 4872 else |
5656 echo "$as_me: failed program was:" >&5 | 4873 echo "$as_me: failed program was:" >&5 |
5657 sed 's/^/| /' conftest.$ac_ext >&5 | 4874 sed 's/^/| /' conftest.$ac_ext >&5 |
5658 | 4875 |
5659 | 4876 fi |
5660 fi | 4877 rm -f conftest.err conftest.$ac_objext |
5661 | 4878 CC="$CC -n32" |
5662 rm -f core conftest.err conftest.$ac_objext | 4879 rm -f conftest.$ac_objext |
5663 CC="$CC -n32" | 4880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5664 rm -f conftest.$ac_objext | 4881 (eval $ac_compile) 2>conftest.er1 |
5665 if { (ac_try="$ac_compile" | |
5666 case "(($ac_try" in | |
5667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5668 *) ac_try_echo=$ac_try;; | |
5669 esac | |
5670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5671 (eval "$ac_compile") 2>conftest.er1 | |
5672 ac_status=$? | 4882 ac_status=$? |
5673 grep -v '^ *+' conftest.er1 >conftest.err | 4883 grep -v '^ *+' conftest.er1 >conftest.err |
5674 rm -f conftest.er1 | 4884 rm -f conftest.er1 |
5675 cat conftest.err >&5 | 4885 cat conftest.err >&5 |
5676 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4886 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5677 (exit $ac_status); } && | 4887 (exit $ac_status); } && |
5678 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 4888 { ac_try='test -z "$ac_c_werror_flag" |
5679 { (case "(($ac_try" in | 4889 || test ! -s conftest.err' |
5680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 4890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5681 *) ac_try_echo=$ac_try;; | 4891 (eval $ac_try) 2>&5 |
5682 esac | |
5683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5684 (eval "$ac_try") 2>&5 | |
5685 ac_status=$? | 4892 ac_status=$? |
5686 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4893 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5687 (exit $ac_status); }; } && | 4894 (exit $ac_status); }; } && |
5688 { ac_try='test -s conftest.$ac_objext' | 4895 { ac_try='test -s conftest.$ac_objext' |
5689 { (case "(($ac_try" in | 4896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 4897 (eval $ac_try) 2>&5 |
5691 *) ac_try_echo=$ac_try;; | |
5692 esac | |
5693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5694 (eval "$ac_try") 2>&5 | |
5695 ac_status=$? | 4898 ac_status=$? |
5696 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4899 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5697 (exit $ac_status); }; }; then | 4900 (exit $ac_status); }; }; then |
5698 ac_cv_sys_largefile_CC=' -n32'; break | 4901 ac_cv_sys_largefile_CC=' -n32'; break |
5699 else | 4902 else |
5700 echo "$as_me: failed program was:" >&5 | 4903 echo "$as_me: failed program was:" >&5 |
5701 sed 's/^/| /' conftest.$ac_ext >&5 | 4904 sed 's/^/| /' conftest.$ac_ext >&5 |
5702 | 4905 |
5703 | 4906 fi |
5704 fi | 4907 rm -f conftest.err conftest.$ac_objext |
5705 | |
5706 rm -f core conftest.err conftest.$ac_objext | |
5707 break | 4908 break |
5708 done | 4909 done |
5709 CC=$ac_save_CC | 4910 CC=$ac_save_CC |
5710 rm -f conftest.$ac_ext | 4911 rm -f conftest.$ac_ext |
5711 fi | 4912 fi |
5712 fi | 4913 fi |
5713 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5 | 4914 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5 |
5714 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6; } | 4915 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6 |
5715 if test "$ac_cv_sys_largefile_CC" != no; then | 4916 if test "$ac_cv_sys_largefile_CC" != no; then |
5716 CC=$CC$ac_cv_sys_largefile_CC | 4917 CC=$CC$ac_cv_sys_largefile_CC |
5717 fi | 4918 fi |
5718 | 4919 |
5719 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5 | 4920 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5 |
5720 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; } | 4921 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6 |
5721 if test "${ac_cv_sys_file_offset_bits+set}" = set; then | 4922 if test "${ac_cv_sys_file_offset_bits+set}" = set; then |
5722 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4923 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5723 else | 4924 else |
5724 while :; do | 4925 while :; do |
5725 ac_cv_sys_file_offset_bits=no | 4926 ac_cv_sys_file_offset_bits=no |
5745 ; | 4946 ; |
5746 return 0; | 4947 return 0; |
5747 } | 4948 } |
5748 _ACEOF | 4949 _ACEOF |
5749 rm -f conftest.$ac_objext | 4950 rm -f conftest.$ac_objext |
5750 if { (ac_try="$ac_compile" | 4951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5751 case "(($ac_try" in | 4952 (eval $ac_compile) 2>conftest.er1 |
5752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5753 *) ac_try_echo=$ac_try;; | |
5754 esac | |
5755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5756 (eval "$ac_compile") 2>conftest.er1 | |
5757 ac_status=$? | 4953 ac_status=$? |
5758 grep -v '^ *+' conftest.er1 >conftest.err | 4954 grep -v '^ *+' conftest.er1 >conftest.err |
5759 rm -f conftest.er1 | 4955 rm -f conftest.er1 |
5760 cat conftest.err >&5 | 4956 cat conftest.err >&5 |
5761 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4957 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5762 (exit $ac_status); } && | 4958 (exit $ac_status); } && |
5763 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 4959 { ac_try='test -z "$ac_c_werror_flag" |
5764 { (case "(($ac_try" in | 4960 || test ! -s conftest.err' |
5765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 4961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5766 *) ac_try_echo=$ac_try;; | 4962 (eval $ac_try) 2>&5 |
5767 esac | |
5768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5769 (eval "$ac_try") 2>&5 | |
5770 ac_status=$? | 4963 ac_status=$? |
5771 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4964 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5772 (exit $ac_status); }; } && | 4965 (exit $ac_status); }; } && |
5773 { ac_try='test -s conftest.$ac_objext' | 4966 { ac_try='test -s conftest.$ac_objext' |
5774 { (case "(($ac_try" in | 4967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 4968 (eval $ac_try) 2>&5 |
5776 *) ac_try_echo=$ac_try;; | |
5777 esac | |
5778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5779 (eval "$ac_try") 2>&5 | |
5780 ac_status=$? | 4969 ac_status=$? |
5781 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4970 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5782 (exit $ac_status); }; }; then | 4971 (exit $ac_status); }; }; then |
5783 break | 4972 break |
5784 else | 4973 else |
5785 echo "$as_me: failed program was:" >&5 | 4974 echo "$as_me: failed program was:" >&5 |
5786 sed 's/^/| /' conftest.$ac_ext >&5 | 4975 sed 's/^/| /' conftest.$ac_ext >&5 |
5787 | 4976 |
5788 | 4977 fi |
5789 fi | 4978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5790 | |
5791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
5792 cat >conftest.$ac_ext <<_ACEOF | 4979 cat >conftest.$ac_ext <<_ACEOF |
5793 /* confdefs.h. */ | 4980 /* confdefs.h. */ |
5794 _ACEOF | 4981 _ACEOF |
5795 cat confdefs.h >>conftest.$ac_ext | 4982 cat confdefs.h >>conftest.$ac_ext |
5796 cat >>conftest.$ac_ext <<_ACEOF | 4983 cat >>conftest.$ac_ext <<_ACEOF |
5812 ; | 4999 ; |
5813 return 0; | 5000 return 0; |
5814 } | 5001 } |
5815 _ACEOF | 5002 _ACEOF |
5816 rm -f conftest.$ac_objext | 5003 rm -f conftest.$ac_objext |
5817 if { (ac_try="$ac_compile" | 5004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5818 case "(($ac_try" in | 5005 (eval $ac_compile) 2>conftest.er1 |
5819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5820 *) ac_try_echo=$ac_try;; | |
5821 esac | |
5822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5823 (eval "$ac_compile") 2>conftest.er1 | |
5824 ac_status=$? | 5006 ac_status=$? |
5825 grep -v '^ *+' conftest.er1 >conftest.err | 5007 grep -v '^ *+' conftest.er1 >conftest.err |
5826 rm -f conftest.er1 | 5008 rm -f conftest.er1 |
5827 cat conftest.err >&5 | 5009 cat conftest.err >&5 |
5828 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5010 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5829 (exit $ac_status); } && | 5011 (exit $ac_status); } && |
5830 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 5012 { ac_try='test -z "$ac_c_werror_flag" |
5831 { (case "(($ac_try" in | 5013 || test ! -s conftest.err' |
5832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 5014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5833 *) ac_try_echo=$ac_try;; | 5015 (eval $ac_try) 2>&5 |
5834 esac | |
5835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5836 (eval "$ac_try") 2>&5 | |
5837 ac_status=$? | 5016 ac_status=$? |
5838 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5017 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5839 (exit $ac_status); }; } && | 5018 (exit $ac_status); }; } && |
5840 { ac_try='test -s conftest.$ac_objext' | 5019 { ac_try='test -s conftest.$ac_objext' |
5841 { (case "(($ac_try" in | 5020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 5021 (eval $ac_try) 2>&5 |
5843 *) ac_try_echo=$ac_try;; | |
5844 esac | |
5845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5846 (eval "$ac_try") 2>&5 | |
5847 ac_status=$? | 5022 ac_status=$? |
5848 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5023 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5849 (exit $ac_status); }; }; then | 5024 (exit $ac_status); }; }; then |
5850 ac_cv_sys_file_offset_bits=64; break | 5025 ac_cv_sys_file_offset_bits=64; break |
5851 else | 5026 else |
5852 echo "$as_me: failed program was:" >&5 | 5027 echo "$as_me: failed program was:" >&5 |
5853 sed 's/^/| /' conftest.$ac_ext >&5 | 5028 sed 's/^/| /' conftest.$ac_ext >&5 |
5854 | 5029 |
5855 | 5030 fi |
5856 fi | 5031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5857 | |
5858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
5859 break | 5032 break |
5860 done | 5033 done |
5861 fi | 5034 fi |
5862 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5 | 5035 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5 |
5863 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; } | 5036 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6 |
5864 if test "$ac_cv_sys_file_offset_bits" != no; then | 5037 if test "$ac_cv_sys_file_offset_bits" != no; then |
5865 | 5038 |
5866 cat >>confdefs.h <<_ACEOF | 5039 cat >>confdefs.h <<_ACEOF |
5867 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits | 5040 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits |
5868 _ACEOF | 5041 _ACEOF |
5869 | 5042 |
5870 fi | 5043 fi |
5871 rm -f conftest* | 5044 rm -f conftest* |
5872 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5 | 5045 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5 |
5873 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; } | 5046 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6 |
5874 if test "${ac_cv_sys_large_files+set}" = set; then | 5047 if test "${ac_cv_sys_large_files+set}" = set; then |
5875 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5048 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5876 else | 5049 else |
5877 while :; do | 5050 while :; do |
5878 ac_cv_sys_large_files=no | 5051 ac_cv_sys_large_files=no |
5898 ; | 5071 ; |
5899 return 0; | 5072 return 0; |
5900 } | 5073 } |
5901 _ACEOF | 5074 _ACEOF |
5902 rm -f conftest.$ac_objext | 5075 rm -f conftest.$ac_objext |
5903 if { (ac_try="$ac_compile" | 5076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5904 case "(($ac_try" in | 5077 (eval $ac_compile) 2>conftest.er1 |
5905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5906 *) ac_try_echo=$ac_try;; | |
5907 esac | |
5908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5909 (eval "$ac_compile") 2>conftest.er1 | |
5910 ac_status=$? | 5078 ac_status=$? |
5911 grep -v '^ *+' conftest.er1 >conftest.err | 5079 grep -v '^ *+' conftest.er1 >conftest.err |
5912 rm -f conftest.er1 | 5080 rm -f conftest.er1 |
5913 cat conftest.err >&5 | 5081 cat conftest.err >&5 |
5914 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5082 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5915 (exit $ac_status); } && | 5083 (exit $ac_status); } && |
5916 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 5084 { ac_try='test -z "$ac_c_werror_flag" |
5917 { (case "(($ac_try" in | 5085 || test ! -s conftest.err' |
5918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 5086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5919 *) ac_try_echo=$ac_try;; | 5087 (eval $ac_try) 2>&5 |
5920 esac | |
5921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5922 (eval "$ac_try") 2>&5 | |
5923 ac_status=$? | 5088 ac_status=$? |
5924 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5089 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5925 (exit $ac_status); }; } && | 5090 (exit $ac_status); }; } && |
5926 { ac_try='test -s conftest.$ac_objext' | 5091 { ac_try='test -s conftest.$ac_objext' |
5927 { (case "(($ac_try" in | 5092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 5093 (eval $ac_try) 2>&5 |
5929 *) ac_try_echo=$ac_try;; | |
5930 esac | |
5931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5932 (eval "$ac_try") 2>&5 | |
5933 ac_status=$? | 5094 ac_status=$? |
5934 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5095 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5935 (exit $ac_status); }; }; then | 5096 (exit $ac_status); }; }; then |
5936 break | 5097 break |
5937 else | 5098 else |
5938 echo "$as_me: failed program was:" >&5 | 5099 echo "$as_me: failed program was:" >&5 |
5939 sed 's/^/| /' conftest.$ac_ext >&5 | 5100 sed 's/^/| /' conftest.$ac_ext >&5 |
5940 | 5101 |
5941 | 5102 fi |
5942 fi | 5103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5943 | |
5944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
5945 cat >conftest.$ac_ext <<_ACEOF | 5104 cat >conftest.$ac_ext <<_ACEOF |
5946 /* confdefs.h. */ | 5105 /* confdefs.h. */ |
5947 _ACEOF | 5106 _ACEOF |
5948 cat confdefs.h >>conftest.$ac_ext | 5107 cat confdefs.h >>conftest.$ac_ext |
5949 cat >>conftest.$ac_ext <<_ACEOF | 5108 cat >>conftest.$ac_ext <<_ACEOF |
5965 ; | 5124 ; |
5966 return 0; | 5125 return 0; |
5967 } | 5126 } |
5968 _ACEOF | 5127 _ACEOF |
5969 rm -f conftest.$ac_objext | 5128 rm -f conftest.$ac_objext |
5970 if { (ac_try="$ac_compile" | 5129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5971 case "(($ac_try" in | 5130 (eval $ac_compile) 2>conftest.er1 |
5972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5973 *) ac_try_echo=$ac_try;; | |
5974 esac | |
5975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5976 (eval "$ac_compile") 2>conftest.er1 | |
5977 ac_status=$? | 5131 ac_status=$? |
5978 grep -v '^ *+' conftest.er1 >conftest.err | 5132 grep -v '^ *+' conftest.er1 >conftest.err |
5979 rm -f conftest.er1 | 5133 rm -f conftest.er1 |
5980 cat conftest.err >&5 | 5134 cat conftest.err >&5 |
5981 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5135 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5982 (exit $ac_status); } && | 5136 (exit $ac_status); } && |
5983 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 5137 { ac_try='test -z "$ac_c_werror_flag" |
5984 { (case "(($ac_try" in | 5138 || test ! -s conftest.err' |
5985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 5139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5986 *) ac_try_echo=$ac_try;; | 5140 (eval $ac_try) 2>&5 |
5987 esac | |
5988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5989 (eval "$ac_try") 2>&5 | |
5990 ac_status=$? | 5141 ac_status=$? |
5991 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5142 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5992 (exit $ac_status); }; } && | 5143 (exit $ac_status); }; } && |
5993 { ac_try='test -s conftest.$ac_objext' | 5144 { ac_try='test -s conftest.$ac_objext' |
5994 { (case "(($ac_try" in | 5145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 5146 (eval $ac_try) 2>&5 |
5996 *) ac_try_echo=$ac_try;; | |
5997 esac | |
5998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5999 (eval "$ac_try") 2>&5 | |
6000 ac_status=$? | 5147 ac_status=$? |
6001 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5148 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6002 (exit $ac_status); }; }; then | 5149 (exit $ac_status); }; }; then |
6003 ac_cv_sys_large_files=1; break | 5150 ac_cv_sys_large_files=1; break |
6004 else | 5151 else |
6005 echo "$as_me: failed program was:" >&5 | 5152 echo "$as_me: failed program was:" >&5 |
6006 sed 's/^/| /' conftest.$ac_ext >&5 | 5153 sed 's/^/| /' conftest.$ac_ext >&5 |
6007 | 5154 |
6008 | 5155 fi |
6009 fi | 5156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
6010 | |
6011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
6012 break | 5157 break |
6013 done | 5158 done |
6014 fi | 5159 fi |
6015 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5 | 5160 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5 |
6016 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; } | 5161 echo "${ECHO_T}$ac_cv_sys_large_files" >&6 |
6017 if test "$ac_cv_sys_large_files" != no; then | 5162 if test "$ac_cv_sys_large_files" != no; then |
6018 | 5163 |
6019 cat >>confdefs.h <<_ACEOF | 5164 cat >>confdefs.h <<_ACEOF |
6020 #define _LARGE_FILES $ac_cv_sys_large_files | 5165 #define _LARGE_FILES $ac_cv_sys_large_files |
6021 _ACEOF | 5166 _ACEOF |
6042 | 5187 |
6043 | 5188 |
6044 | 5189 |
6045 if test "${with_sound}" != "no"; then | 5190 if test "${with_sound}" != "no"; then |
6046 # Sound support for GNU/Linux and the free BSDs. | 5191 # Sound support for GNU/Linux and the free BSDs. |
6047 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | 5192 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
6048 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } | 5193 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
6049 if test "${ac_cv_header_stdc+set}" = set; then | 5194 if test "${ac_cv_header_stdc+set}" = set; then |
6050 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5195 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6051 else | 5196 else |
6052 cat >conftest.$ac_ext <<_ACEOF | 5197 cat >conftest.$ac_ext <<_ACEOF |
6053 /* confdefs.h. */ | 5198 /* confdefs.h. */ |
6067 ; | 5212 ; |
6068 return 0; | 5213 return 0; |
6069 } | 5214 } |
6070 _ACEOF | 5215 _ACEOF |
6071 rm -f conftest.$ac_objext | 5216 rm -f conftest.$ac_objext |
6072 if { (ac_try="$ac_compile" | 5217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6073 case "(($ac_try" in | 5218 (eval $ac_compile) 2>conftest.er1 |
6074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6075 *) ac_try_echo=$ac_try;; | |
6076 esac | |
6077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6078 (eval "$ac_compile") 2>conftest.er1 | |
6079 ac_status=$? | 5219 ac_status=$? |
6080 grep -v '^ *+' conftest.er1 >conftest.err | 5220 grep -v '^ *+' conftest.er1 >conftest.err |
6081 rm -f conftest.er1 | 5221 rm -f conftest.er1 |
6082 cat conftest.err >&5 | 5222 cat conftest.err >&5 |
6083 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5223 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6084 (exit $ac_status); } && | 5224 (exit $ac_status); } && |
6085 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 5225 { ac_try='test -z "$ac_c_werror_flag" |
6086 { (case "(($ac_try" in | 5226 || test ! -s conftest.err' |
6087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 5227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6088 *) ac_try_echo=$ac_try;; | 5228 (eval $ac_try) 2>&5 |
6089 esac | |
6090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6091 (eval "$ac_try") 2>&5 | |
6092 ac_status=$? | 5229 ac_status=$? |
6093 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5230 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6094 (exit $ac_status); }; } && | 5231 (exit $ac_status); }; } && |
6095 { ac_try='test -s conftest.$ac_objext' | 5232 { ac_try='test -s conftest.$ac_objext' |
6096 { (case "(($ac_try" in | 5233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 5234 (eval $ac_try) 2>&5 |
6098 *) ac_try_echo=$ac_try;; | |
6099 esac | |
6100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6101 (eval "$ac_try") 2>&5 | |
6102 ac_status=$? | 5235 ac_status=$? |
6103 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5236 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6104 (exit $ac_status); }; }; then | 5237 (exit $ac_status); }; }; then |
6105 ac_cv_header_stdc=yes | 5238 ac_cv_header_stdc=yes |
6106 else | 5239 else |
6107 echo "$as_me: failed program was:" >&5 | 5240 echo "$as_me: failed program was:" >&5 |
6108 sed 's/^/| /' conftest.$ac_ext >&5 | 5241 sed 's/^/| /' conftest.$ac_ext >&5 |
6109 | 5242 |
6110 ac_cv_header_stdc=no | 5243 ac_cv_header_stdc=no |
6111 fi | 5244 fi |
6112 | 5245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
6113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
6114 | 5246 |
6115 if test $ac_cv_header_stdc = yes; then | 5247 if test $ac_cv_header_stdc = yes; then |
6116 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 5248 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
6117 cat >conftest.$ac_ext <<_ACEOF | 5249 cat >conftest.$ac_ext <<_ACEOF |
6118 /* confdefs.h. */ | 5250 /* confdefs.h. */ |
6164 _ACEOF | 5296 _ACEOF |
6165 cat confdefs.h >>conftest.$ac_ext | 5297 cat confdefs.h >>conftest.$ac_ext |
6166 cat >>conftest.$ac_ext <<_ACEOF | 5298 cat >>conftest.$ac_ext <<_ACEOF |
6167 /* end confdefs.h. */ | 5299 /* end confdefs.h. */ |
6168 #include <ctype.h> | 5300 #include <ctype.h> |
6169 #include <stdlib.h> | |
6170 #if ((' ' & 0x0FF) == 0x020) | 5301 #if ((' ' & 0x0FF) == 0x020) |
6171 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 5302 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
6172 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 5303 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
6173 #else | 5304 #else |
6174 # define ISLOWER(c) \ | 5305 # define ISLOWER(c) \ |
6184 { | 5315 { |
6185 int i; | 5316 int i; |
6186 for (i = 0; i < 256; i++) | 5317 for (i = 0; i < 256; i++) |
6187 if (XOR (islower (i), ISLOWER (i)) | 5318 if (XOR (islower (i), ISLOWER (i)) |
6188 || toupper (i) != TOUPPER (i)) | 5319 || toupper (i) != TOUPPER (i)) |
6189 return 2; | 5320 exit(2); |
6190 return 0; | 5321 exit (0); |
6191 } | 5322 } |
6192 _ACEOF | 5323 _ACEOF |
6193 rm -f conftest$ac_exeext | 5324 rm -f conftest$ac_exeext |
6194 if { (ac_try="$ac_link" | 5325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6195 case "(($ac_try" in | 5326 (eval $ac_link) 2>&5 |
6196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6197 *) ac_try_echo=$ac_try;; | |
6198 esac | |
6199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6200 (eval "$ac_link") 2>&5 | |
6201 ac_status=$? | 5327 ac_status=$? |
6202 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5328 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6203 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 5329 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
6204 { (case "(($ac_try" in | 5330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 5331 (eval $ac_try) 2>&5 |
6206 *) ac_try_echo=$ac_try;; | |
6207 esac | |
6208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6209 (eval "$ac_try") 2>&5 | |
6210 ac_status=$? | 5332 ac_status=$? |
6211 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5333 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6212 (exit $ac_status); }; }; then | 5334 (exit $ac_status); }; }; then |
6213 : | 5335 : |
6214 else | 5336 else |
6217 sed 's/^/| /' conftest.$ac_ext >&5 | 5339 sed 's/^/| /' conftest.$ac_ext >&5 |
6218 | 5340 |
6219 ( exit $ac_status ) | 5341 ( exit $ac_status ) |
6220 ac_cv_header_stdc=no | 5342 ac_cv_header_stdc=no |
6221 fi | 5343 fi |
6222 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 5344 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
6223 fi | 5345 fi |
6224 | 5346 fi |
6225 | 5347 fi |
6226 fi | 5348 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
6227 fi | 5349 echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
6228 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | |
6229 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } | |
6230 if test $ac_cv_header_stdc = yes; then | 5350 if test $ac_cv_header_stdc = yes; then |
6231 | 5351 |
6232 cat >>confdefs.h <<\_ACEOF | 5352 cat >>confdefs.h <<\_ACEOF |
6233 #define STDC_HEADERS 1 | 5353 #define STDC_HEADERS 1 |
6234 _ACEOF | 5354 _ACEOF |
6247 | 5367 |
6248 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | 5368 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
6249 inttypes.h stdint.h unistd.h | 5369 inttypes.h stdint.h unistd.h |
6250 do | 5370 do |
6251 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 5371 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6252 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 5372 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6253 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 5373 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
6254 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 5374 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6255 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5375 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6256 else | 5376 else |
6257 cat >conftest.$ac_ext <<_ACEOF | 5377 cat >conftest.$ac_ext <<_ACEOF |
6258 /* confdefs.h. */ | 5378 /* confdefs.h. */ |
6259 _ACEOF | 5379 _ACEOF |
6263 $ac_includes_default | 5383 $ac_includes_default |
6264 | 5384 |
6265 #include <$ac_header> | 5385 #include <$ac_header> |
6266 _ACEOF | 5386 _ACEOF |
6267 rm -f conftest.$ac_objext | 5387 rm -f conftest.$ac_objext |
6268 if { (ac_try="$ac_compile" | 5388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6269 case "(($ac_try" in | 5389 (eval $ac_compile) 2>conftest.er1 |
6270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6271 *) ac_try_echo=$ac_try;; | |
6272 esac | |
6273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6274 (eval "$ac_compile") 2>conftest.er1 | |
6275 ac_status=$? | 5390 ac_status=$? |
6276 grep -v '^ *+' conftest.er1 >conftest.err | 5391 grep -v '^ *+' conftest.er1 >conftest.err |
6277 rm -f conftest.er1 | 5392 rm -f conftest.er1 |
6278 cat conftest.err >&5 | 5393 cat conftest.err >&5 |
6279 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5394 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6280 (exit $ac_status); } && | 5395 (exit $ac_status); } && |
6281 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 5396 { ac_try='test -z "$ac_c_werror_flag" |
6282 { (case "(($ac_try" in | 5397 || test ! -s conftest.err' |
6283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 5398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6284 *) ac_try_echo=$ac_try;; | 5399 (eval $ac_try) 2>&5 |
6285 esac | |
6286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6287 (eval "$ac_try") 2>&5 | |
6288 ac_status=$? | 5400 ac_status=$? |
6289 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5401 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6290 (exit $ac_status); }; } && | 5402 (exit $ac_status); }; } && |
6291 { ac_try='test -s conftest.$ac_objext' | 5403 { ac_try='test -s conftest.$ac_objext' |
6292 { (case "(($ac_try" in | 5404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 5405 (eval $ac_try) 2>&5 |
6294 *) ac_try_echo=$ac_try;; | |
6295 esac | |
6296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6297 (eval "$ac_try") 2>&5 | |
6298 ac_status=$? | 5406 ac_status=$? |
6299 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5407 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6300 (exit $ac_status); }; }; then | 5408 (exit $ac_status); }; }; then |
6301 eval "$as_ac_Header=yes" | 5409 eval "$as_ac_Header=yes" |
6302 else | 5410 else |
6303 echo "$as_me: failed program was:" >&5 | 5411 echo "$as_me: failed program was:" >&5 |
6304 sed 's/^/| /' conftest.$ac_ext >&5 | 5412 sed 's/^/| /' conftest.$ac_ext >&5 |
6305 | 5413 |
6306 eval "$as_ac_Header=no" | 5414 eval "$as_ac_Header=no" |
6307 fi | 5415 fi |
6308 | 5416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
6309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5417 fi |
6310 fi | 5418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
6311 ac_res=`eval echo '${'$as_ac_Header'}'` | 5419 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
6312 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
6313 echo "${ECHO_T}$ac_res" >&6; } | |
6314 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 5420 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
6315 cat >>confdefs.h <<_ACEOF | 5421 cat >>confdefs.h <<_ACEOF |
6316 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 5422 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
6317 _ACEOF | 5423 _ACEOF |
6318 | 5424 |
6325 | 5431 |
6326 | 5432 |
6327 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h | 5433 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h |
6328 do | 5434 do |
6329 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 5435 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6330 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 5436 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6331 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 5437 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6332 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 5438 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
6333 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 5439 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6334 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5440 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6335 fi | 5441 fi |
6336 ac_res=`eval echo '${'$as_ac_Header'}'` | 5442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
6337 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 5443 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
6338 echo "${ECHO_T}$ac_res" >&6; } | |
6339 else | 5444 else |
6340 # Is the header compilable? | 5445 # Is the header compilable? |
6341 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 5446 echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
6342 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | 5447 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
6343 cat >conftest.$ac_ext <<_ACEOF | 5448 cat >conftest.$ac_ext <<_ACEOF |
6344 /* confdefs.h. */ | 5449 /* confdefs.h. */ |
6345 _ACEOF | 5450 _ACEOF |
6346 cat confdefs.h >>conftest.$ac_ext | 5451 cat confdefs.h >>conftest.$ac_ext |
6347 cat >>conftest.$ac_ext <<_ACEOF | 5452 cat >>conftest.$ac_ext <<_ACEOF |
6348 /* end confdefs.h. */ | 5453 /* end confdefs.h. */ |
6349 $ac_includes_default | 5454 $ac_includes_default |
6350 #include <$ac_header> | 5455 #include <$ac_header> |
6351 _ACEOF | 5456 _ACEOF |
6352 rm -f conftest.$ac_objext | 5457 rm -f conftest.$ac_objext |
6353 if { (ac_try="$ac_compile" | 5458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6354 case "(($ac_try" in | 5459 (eval $ac_compile) 2>conftest.er1 |
6355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6356 *) ac_try_echo=$ac_try;; | |
6357 esac | |
6358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6359 (eval "$ac_compile") 2>conftest.er1 | |
6360 ac_status=$? | 5460 ac_status=$? |
6361 grep -v '^ *+' conftest.er1 >conftest.err | 5461 grep -v '^ *+' conftest.er1 >conftest.err |
6362 rm -f conftest.er1 | 5462 rm -f conftest.er1 |
6363 cat conftest.err >&5 | 5463 cat conftest.err >&5 |
6364 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5464 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6365 (exit $ac_status); } && | 5465 (exit $ac_status); } && |
6366 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 5466 { ac_try='test -z "$ac_c_werror_flag" |
6367 { (case "(($ac_try" in | 5467 || test ! -s conftest.err' |
6368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 5468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6369 *) ac_try_echo=$ac_try;; | 5469 (eval $ac_try) 2>&5 |
6370 esac | |
6371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6372 (eval "$ac_try") 2>&5 | |
6373 ac_status=$? | 5470 ac_status=$? |
6374 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5471 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6375 (exit $ac_status); }; } && | 5472 (exit $ac_status); }; } && |
6376 { ac_try='test -s conftest.$ac_objext' | 5473 { ac_try='test -s conftest.$ac_objext' |
6377 { (case "(($ac_try" in | 5474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 5475 (eval $ac_try) 2>&5 |
6379 *) ac_try_echo=$ac_try;; | |
6380 esac | |
6381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6382 (eval "$ac_try") 2>&5 | |
6383 ac_status=$? | 5476 ac_status=$? |
6384 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5477 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6385 (exit $ac_status); }; }; then | 5478 (exit $ac_status); }; }; then |
6386 ac_header_compiler=yes | 5479 ac_header_compiler=yes |
6387 else | 5480 else |
6388 echo "$as_me: failed program was:" >&5 | 5481 echo "$as_me: failed program was:" >&5 |
6389 sed 's/^/| /' conftest.$ac_ext >&5 | 5482 sed 's/^/| /' conftest.$ac_ext >&5 |
6390 | 5483 |
6391 ac_header_compiler=no | 5484 ac_header_compiler=no |
6392 fi | 5485 fi |
6393 | 5486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
6394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5487 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
6395 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 5488 echo "${ECHO_T}$ac_header_compiler" >&6 |
6396 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
6397 | 5489 |
6398 # Is the header present? | 5490 # Is the header present? |
6399 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 5491 echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
6400 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | 5492 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
6401 cat >conftest.$ac_ext <<_ACEOF | 5493 cat >conftest.$ac_ext <<_ACEOF |
6402 /* confdefs.h. */ | 5494 /* confdefs.h. */ |
6403 _ACEOF | 5495 _ACEOF |
6404 cat confdefs.h >>conftest.$ac_ext | 5496 cat confdefs.h >>conftest.$ac_ext |
6405 cat >>conftest.$ac_ext <<_ACEOF | 5497 cat >>conftest.$ac_ext <<_ACEOF |
6406 /* end confdefs.h. */ | 5498 /* end confdefs.h. */ |
6407 #include <$ac_header> | 5499 #include <$ac_header> |
6408 _ACEOF | 5500 _ACEOF |
6409 if { (ac_try="$ac_cpp conftest.$ac_ext" | 5501 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
6410 case "(($ac_try" in | 5502 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
6411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6412 *) ac_try_echo=$ac_try;; | |
6413 esac | |
6414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6415 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
6416 ac_status=$? | 5503 ac_status=$? |
6417 grep -v '^ *+' conftest.er1 >conftest.err | 5504 grep -v '^ *+' conftest.er1 >conftest.err |
6418 rm -f conftest.er1 | 5505 rm -f conftest.er1 |
6419 cat conftest.err >&5 | 5506 cat conftest.err >&5 |
6420 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5507 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6434 echo "$as_me: failed program was:" >&5 | 5521 echo "$as_me: failed program was:" >&5 |
6435 sed 's/^/| /' conftest.$ac_ext >&5 | 5522 sed 's/^/| /' conftest.$ac_ext >&5 |
6436 | 5523 |
6437 ac_header_preproc=no | 5524 ac_header_preproc=no |
6438 fi | 5525 fi |
6439 | |
6440 rm -f conftest.err conftest.$ac_ext | 5526 rm -f conftest.err conftest.$ac_ext |
6441 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 5527 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
6442 echo "${ECHO_T}$ac_header_preproc" >&6; } | 5528 echo "${ECHO_T}$ac_header_preproc" >&6 |
6443 | 5529 |
6444 # So? What about this header? | 5530 # So? What about this header? |
6445 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 5531 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
6446 yes:no: ) | 5532 yes:no: ) |
6447 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 5533 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
6461 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | 5547 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
6462 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 5548 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
6463 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 5549 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
6464 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 5550 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
6465 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 5551 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
6466 | 5552 ( |
5553 cat <<\_ASBOX | |
5554 ## ------------------------------------------ ## | |
5555 ## Report this to the AC_PACKAGE_NAME lists. ## | |
5556 ## ------------------------------------------ ## | |
5557 _ASBOX | |
5558 ) | | |
5559 sed "s/^/$as_me: WARNING: /" >&2 | |
6467 ;; | 5560 ;; |
6468 esac | 5561 esac |
6469 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 5562 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6470 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 5563 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
6471 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 5564 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6472 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5565 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6473 else | 5566 else |
6474 eval "$as_ac_Header=\$ac_header_preproc" | 5567 eval "$as_ac_Header=\$ac_header_preproc" |
6475 fi | 5568 fi |
6476 ac_res=`eval echo '${'$as_ac_Header'}'` | 5569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
6477 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 5570 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
6478 echo "${ECHO_T}$ac_res" >&6; } | |
6479 | 5571 |
6480 fi | 5572 fi |
6481 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 5573 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
6482 cat >>confdefs.h <<_ACEOF | 5574 cat >>confdefs.h <<_ACEOF |
6483 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 5575 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
6486 fi | 5578 fi |
6487 | 5579 |
6488 done | 5580 done |
6489 | 5581 |
6490 # Emulation library used on NetBSD. | 5582 # Emulation library used on NetBSD. |
6491 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5 | 5583 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5 |
6492 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; } | 5584 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6 |
6493 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then | 5585 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then |
6494 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5586 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6495 else | 5587 else |
6496 ac_check_lib_save_LIBS=$LIBS | 5588 ac_check_lib_save_LIBS=$LIBS |
6497 LIBS="-lossaudio $LIBS" | 5589 LIBS="-lossaudio $LIBS" |
6500 _ACEOF | 5592 _ACEOF |
6501 cat confdefs.h >>conftest.$ac_ext | 5593 cat confdefs.h >>conftest.$ac_ext |
6502 cat >>conftest.$ac_ext <<_ACEOF | 5594 cat >>conftest.$ac_ext <<_ACEOF |
6503 /* end confdefs.h. */ | 5595 /* end confdefs.h. */ |
6504 | 5596 |
6505 /* Override any GCC internal prototype to avoid an error. | 5597 /* Override any gcc2 internal prototype to avoid an error. */ |
6506 Use char because int might match the return type of a GCC | |
6507 builtin and then its argument prototype would still apply. */ | |
6508 #ifdef __cplusplus | 5598 #ifdef __cplusplus |
6509 extern "C" | 5599 extern "C" |
6510 #endif | 5600 #endif |
5601 /* We use char because int might match the return type of a gcc2 | |
5602 builtin and then its argument prototype would still apply. */ | |
6511 char _oss_ioctl (); | 5603 char _oss_ioctl (); |
6512 int | 5604 int |
6513 main () | 5605 main () |
6514 { | 5606 { |
6515 return _oss_ioctl (); | 5607 _oss_ioctl (); |
6516 ; | 5608 ; |
6517 return 0; | 5609 return 0; |
6518 } | 5610 } |
6519 _ACEOF | 5611 _ACEOF |
6520 rm -f conftest.$ac_objext conftest$ac_exeext | 5612 rm -f conftest.$ac_objext conftest$ac_exeext |
6521 if { (ac_try="$ac_link" | 5613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6522 case "(($ac_try" in | 5614 (eval $ac_link) 2>conftest.er1 |
6523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6524 *) ac_try_echo=$ac_try;; | |
6525 esac | |
6526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6527 (eval "$ac_link") 2>conftest.er1 | |
6528 ac_status=$? | 5615 ac_status=$? |
6529 grep -v '^ *+' conftest.er1 >conftest.err | 5616 grep -v '^ *+' conftest.er1 >conftest.err |
6530 rm -f conftest.er1 | 5617 rm -f conftest.er1 |
6531 cat conftest.err >&5 | 5618 cat conftest.err >&5 |
6532 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5619 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6533 (exit $ac_status); } && | 5620 (exit $ac_status); } && |
6534 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 5621 { ac_try='test -z "$ac_c_werror_flag" |
6535 { (case "(($ac_try" in | 5622 || test ! -s conftest.err' |
6536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 5623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6537 *) ac_try_echo=$ac_try;; | 5624 (eval $ac_try) 2>&5 |
6538 esac | |
6539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6540 (eval "$ac_try") 2>&5 | |
6541 ac_status=$? | 5625 ac_status=$? |
6542 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5626 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6543 (exit $ac_status); }; } && | 5627 (exit $ac_status); }; } && |
6544 { ac_try='test -s conftest$ac_exeext' | 5628 { ac_try='test -s conftest$ac_exeext' |
6545 { (case "(($ac_try" in | 5629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 5630 (eval $ac_try) 2>&5 |
6547 *) ac_try_echo=$ac_try;; | |
6548 esac | |
6549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6550 (eval "$ac_try") 2>&5 | |
6551 ac_status=$? | 5631 ac_status=$? |
6552 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5632 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6553 (exit $ac_status); }; }; then | 5633 (exit $ac_status); }; }; then |
6554 ac_cv_lib_ossaudio__oss_ioctl=yes | 5634 ac_cv_lib_ossaudio__oss_ioctl=yes |
6555 else | 5635 else |
6556 echo "$as_me: failed program was:" >&5 | 5636 echo "$as_me: failed program was:" >&5 |
6557 sed 's/^/| /' conftest.$ac_ext >&5 | 5637 sed 's/^/| /' conftest.$ac_ext >&5 |
6558 | 5638 |
6559 ac_cv_lib_ossaudio__oss_ioctl=no | 5639 ac_cv_lib_ossaudio__oss_ioctl=no |
6560 fi | 5640 fi |
6561 | 5641 rm -f conftest.err conftest.$ac_objext \ |
6562 rm -f core conftest.err conftest.$ac_objext \ | |
6563 conftest$ac_exeext conftest.$ac_ext | 5642 conftest$ac_exeext conftest.$ac_ext |
6564 LIBS=$ac_check_lib_save_LIBS | 5643 LIBS=$ac_check_lib_save_LIBS |
6565 fi | 5644 fi |
6566 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 | 5645 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 |
6567 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; } | 5646 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6 |
6568 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then | 5647 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then |
6569 LIBSOUND=-lossaudio | 5648 LIBSOUND=-lossaudio |
6570 else | 5649 else |
6571 LIBSOUND= | 5650 LIBSOUND= |
6572 fi | 5651 fi |
6582 succeeded=no | 5661 succeeded=no |
6583 | 5662 |
6584 if test -z "$PKG_CONFIG"; then | 5663 if test -z "$PKG_CONFIG"; then |
6585 # Extract the first word of "pkg-config", so it can be a program name with args. | 5664 # Extract the first word of "pkg-config", so it can be a program name with args. |
6586 set dummy pkg-config; ac_word=$2 | 5665 set dummy pkg-config; ac_word=$2 |
6587 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 5666 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6588 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 5667 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
6589 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then | 5668 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
6590 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5669 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6591 else | 5670 else |
6592 case $PKG_CONFIG in | 5671 case $PKG_CONFIG in |
6593 [\\/]* | ?:[\\/]*) | 5672 [\\/]* | ?:[\\/]*) |
6598 for as_dir in $PATH | 5677 for as_dir in $PATH |
6599 do | 5678 do |
6600 IFS=$as_save_IFS | 5679 IFS=$as_save_IFS |
6601 test -z "$as_dir" && as_dir=. | 5680 test -z "$as_dir" && as_dir=. |
6602 for ac_exec_ext in '' $ac_executable_extensions; do | 5681 for ac_exec_ext in '' $ac_executable_extensions; do |
6603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then | 5682 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6604 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 5683 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
6605 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6606 break 2 | 5685 break 2 |
6607 fi | 5686 fi |
6608 done | 5687 done |
6609 done | 5688 done |
6610 IFS=$as_save_IFS | |
6611 | 5689 |
6612 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 5690 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
6613 ;; | 5691 ;; |
6614 esac | 5692 esac |
6615 fi | 5693 fi |
6616 PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 5694 PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
5695 | |
6617 if test -n "$PKG_CONFIG"; then | 5696 if test -n "$PKG_CONFIG"; then |
6618 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 | 5697 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
6619 echo "${ECHO_T}$PKG_CONFIG" >&6; } | 5698 echo "${ECHO_T}$PKG_CONFIG" >&6 |
6620 else | 5699 else |
6621 { echo "$as_me:$LINENO: result: no" >&5 | 5700 echo "$as_me:$LINENO: result: no" >&5 |
6622 echo "${ECHO_T}no" >&6; } | 5701 echo "${ECHO_T}no" >&6 |
6623 fi | 5702 fi |
6624 | |
6625 | 5703 |
6626 fi | 5704 fi |
6627 | 5705 |
6628 if test "$PKG_CONFIG" = "no" ; then | 5706 if test "$PKG_CONFIG" = "no" ; then |
6629 HAVE_ALSA=no | 5707 HAVE_ALSA=no |
6630 else | 5708 else |
6631 PKG_CONFIG_MIN_VERSION=0.9.0 | 5709 PKG_CONFIG_MIN_VERSION=0.9.0 |
6632 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 5710 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
6633 { echo "$as_me:$LINENO: checking for $ALSA_MODULES" >&5 | 5711 echo "$as_me:$LINENO: checking for $ALSA_MODULES" >&5 |
6634 echo $ECHO_N "checking for $ALSA_MODULES... $ECHO_C" >&6; } | 5712 echo $ECHO_N "checking for $ALSA_MODULES... $ECHO_C" >&6 |
6635 | 5713 |
6636 if $PKG_CONFIG --exists "$ALSA_MODULES" 2>&5; then | 5714 if $PKG_CONFIG --exists "$ALSA_MODULES" 2>&5; then |
6637 { echo "$as_me:$LINENO: result: yes" >&5 | 5715 echo "$as_me:$LINENO: result: yes" >&5 |
6638 echo "${ECHO_T}yes" >&6; } | 5716 echo "${ECHO_T}yes" >&6 |
6639 succeeded=yes | 5717 succeeded=yes |
6640 | 5718 |
6641 { echo "$as_me:$LINENO: checking ALSA_CFLAGS" >&5 | 5719 echo "$as_me:$LINENO: checking ALSA_CFLAGS" >&5 |
6642 echo $ECHO_N "checking ALSA_CFLAGS... $ECHO_C" >&6; } | 5720 echo $ECHO_N "checking ALSA_CFLAGS... $ECHO_C" >&6 |
6643 ALSA_CFLAGS=`$PKG_CONFIG --cflags "$ALSA_MODULES"` | 5721 ALSA_CFLAGS=`$PKG_CONFIG --cflags "$ALSA_MODULES"` |
6644 { echo "$as_me:$LINENO: result: $ALSA_CFLAGS" >&5 | 5722 echo "$as_me:$LINENO: result: $ALSA_CFLAGS" >&5 |
6645 echo "${ECHO_T}$ALSA_CFLAGS" >&6; } | 5723 echo "${ECHO_T}$ALSA_CFLAGS" >&6 |
6646 | 5724 |
6647 { echo "$as_me:$LINENO: checking ALSA_LIBS" >&5 | 5725 echo "$as_me:$LINENO: checking ALSA_LIBS" >&5 |
6648 echo $ECHO_N "checking ALSA_LIBS... $ECHO_C" >&6; } | 5726 echo $ECHO_N "checking ALSA_LIBS... $ECHO_C" >&6 |
6649 ALSA_LIBS=`$PKG_CONFIG --libs "$ALSA_MODULES"` | 5727 ALSA_LIBS=`$PKG_CONFIG --libs "$ALSA_MODULES"` |
6650 { echo "$as_me:$LINENO: result: $ALSA_LIBS" >&5 | 5728 echo "$as_me:$LINENO: result: $ALSA_LIBS" >&5 |
6651 echo "${ECHO_T}$ALSA_LIBS" >&6; } | 5729 echo "${ECHO_T}$ALSA_LIBS" >&6 |
6652 else | 5730 else |
6653 { echo "$as_me:$LINENO: result: no" >&5 | 5731 echo "$as_me:$LINENO: result: no" >&5 |
6654 echo "${ECHO_T}no" >&6; } | 5732 echo "${ECHO_T}no" >&6 |
6655 ALSA_CFLAGS="" | 5733 ALSA_CFLAGS="" |
6656 ALSA_LIBS="" | 5734 ALSA_LIBS="" |
6657 ## If we have a custom action on failure, don't print errors, but | 5735 ## If we have a custom action on failure, don't print errors, but |
6658 ## do set a variable so people can do so. | 5736 ## do set a variable so people can do so. |
6659 ALSA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$ALSA_MODULES"` | 5737 ALSA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$ALSA_MODULES"` |
6716 termcap.h stdio_ext.h fcntl.h strings.h coff.h pty.h sys/mman.h \ | 5794 termcap.h stdio_ext.h fcntl.h strings.h coff.h pty.h sys/mman.h \ |
6717 sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \ | 5795 sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \ |
6718 sys/utsname.h pwd.h | 5796 sys/utsname.h pwd.h |
6719 do | 5797 do |
6720 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 5798 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6721 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 5799 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6722 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 5800 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6723 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 5801 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
6724 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 5802 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6725 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5803 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6726 fi | 5804 fi |
6727 ac_res=`eval echo '${'$as_ac_Header'}'` | 5805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
6728 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 5806 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
6729 echo "${ECHO_T}$ac_res" >&6; } | |
6730 else | 5807 else |
6731 # Is the header compilable? | 5808 # Is the header compilable? |
6732 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 5809 echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
6733 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | 5810 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
6734 cat >conftest.$ac_ext <<_ACEOF | 5811 cat >conftest.$ac_ext <<_ACEOF |
6735 /* confdefs.h. */ | 5812 /* confdefs.h. */ |
6736 _ACEOF | 5813 _ACEOF |
6737 cat confdefs.h >>conftest.$ac_ext | 5814 cat confdefs.h >>conftest.$ac_ext |
6738 cat >>conftest.$ac_ext <<_ACEOF | 5815 cat >>conftest.$ac_ext <<_ACEOF |
6739 /* end confdefs.h. */ | 5816 /* end confdefs.h. */ |
6740 $ac_includes_default | 5817 $ac_includes_default |
6741 #include <$ac_header> | 5818 #include <$ac_header> |
6742 _ACEOF | 5819 _ACEOF |
6743 rm -f conftest.$ac_objext | 5820 rm -f conftest.$ac_objext |
6744 if { (ac_try="$ac_compile" | 5821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6745 case "(($ac_try" in | 5822 (eval $ac_compile) 2>conftest.er1 |
6746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6747 *) ac_try_echo=$ac_try;; | |
6748 esac | |
6749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6750 (eval "$ac_compile") 2>conftest.er1 | |
6751 ac_status=$? | 5823 ac_status=$? |
6752 grep -v '^ *+' conftest.er1 >conftest.err | 5824 grep -v '^ *+' conftest.er1 >conftest.err |
6753 rm -f conftest.er1 | 5825 rm -f conftest.er1 |
6754 cat conftest.err >&5 | 5826 cat conftest.err >&5 |
6755 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5827 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6756 (exit $ac_status); } && | 5828 (exit $ac_status); } && |
6757 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 5829 { ac_try='test -z "$ac_c_werror_flag" |
6758 { (case "(($ac_try" in | 5830 || test ! -s conftest.err' |
6759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 5831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6760 *) ac_try_echo=$ac_try;; | 5832 (eval $ac_try) 2>&5 |
6761 esac | |
6762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6763 (eval "$ac_try") 2>&5 | |
6764 ac_status=$? | 5833 ac_status=$? |
6765 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5834 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6766 (exit $ac_status); }; } && | 5835 (exit $ac_status); }; } && |
6767 { ac_try='test -s conftest.$ac_objext' | 5836 { ac_try='test -s conftest.$ac_objext' |
6768 { (case "(($ac_try" in | 5837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 5838 (eval $ac_try) 2>&5 |
6770 *) ac_try_echo=$ac_try;; | |
6771 esac | |
6772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6773 (eval "$ac_try") 2>&5 | |
6774 ac_status=$? | 5839 ac_status=$? |
6775 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5840 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6776 (exit $ac_status); }; }; then | 5841 (exit $ac_status); }; }; then |
6777 ac_header_compiler=yes | 5842 ac_header_compiler=yes |
6778 else | 5843 else |
6779 echo "$as_me: failed program was:" >&5 | 5844 echo "$as_me: failed program was:" >&5 |
6780 sed 's/^/| /' conftest.$ac_ext >&5 | 5845 sed 's/^/| /' conftest.$ac_ext >&5 |
6781 | 5846 |
6782 ac_header_compiler=no | 5847 ac_header_compiler=no |
6783 fi | 5848 fi |
6784 | 5849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
6785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5850 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
6786 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 5851 echo "${ECHO_T}$ac_header_compiler" >&6 |
6787 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
6788 | 5852 |
6789 # Is the header present? | 5853 # Is the header present? |
6790 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 5854 echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
6791 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | 5855 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
6792 cat >conftest.$ac_ext <<_ACEOF | 5856 cat >conftest.$ac_ext <<_ACEOF |
6793 /* confdefs.h. */ | 5857 /* confdefs.h. */ |
6794 _ACEOF | 5858 _ACEOF |
6795 cat confdefs.h >>conftest.$ac_ext | 5859 cat confdefs.h >>conftest.$ac_ext |
6796 cat >>conftest.$ac_ext <<_ACEOF | 5860 cat >>conftest.$ac_ext <<_ACEOF |
6797 /* end confdefs.h. */ | 5861 /* end confdefs.h. */ |
6798 #include <$ac_header> | 5862 #include <$ac_header> |
6799 _ACEOF | 5863 _ACEOF |
6800 if { (ac_try="$ac_cpp conftest.$ac_ext" | 5864 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
6801 case "(($ac_try" in | 5865 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
6802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6803 *) ac_try_echo=$ac_try;; | |
6804 esac | |
6805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6806 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
6807 ac_status=$? | 5866 ac_status=$? |
6808 grep -v '^ *+' conftest.er1 >conftest.err | 5867 grep -v '^ *+' conftest.er1 >conftest.err |
6809 rm -f conftest.er1 | 5868 rm -f conftest.er1 |
6810 cat conftest.err >&5 | 5869 cat conftest.err >&5 |
6811 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5870 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6825 echo "$as_me: failed program was:" >&5 | 5884 echo "$as_me: failed program was:" >&5 |
6826 sed 's/^/| /' conftest.$ac_ext >&5 | 5885 sed 's/^/| /' conftest.$ac_ext >&5 |
6827 | 5886 |
6828 ac_header_preproc=no | 5887 ac_header_preproc=no |
6829 fi | 5888 fi |
6830 | |
6831 rm -f conftest.err conftest.$ac_ext | 5889 rm -f conftest.err conftest.$ac_ext |
6832 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 5890 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
6833 echo "${ECHO_T}$ac_header_preproc" >&6; } | 5891 echo "${ECHO_T}$ac_header_preproc" >&6 |
6834 | 5892 |
6835 # So? What about this header? | 5893 # So? What about this header? |
6836 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 5894 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
6837 yes:no: ) | 5895 yes:no: ) |
6838 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 5896 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
6852 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | 5910 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
6853 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 5911 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
6854 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 5912 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
6855 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 5913 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
6856 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 5914 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
6857 | 5915 ( |
5916 cat <<\_ASBOX | |
5917 ## ------------------------------------------ ## | |
5918 ## Report this to the AC_PACKAGE_NAME lists. ## | |
5919 ## ------------------------------------------ ## | |
5920 _ASBOX | |
5921 ) | | |
5922 sed "s/^/$as_me: WARNING: /" >&2 | |
6858 ;; | 5923 ;; |
6859 esac | 5924 esac |
6860 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 5925 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6861 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 5926 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
6862 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 5927 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6863 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5928 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6864 else | 5929 else |
6865 eval "$as_ac_Header=\$ac_header_preproc" | 5930 eval "$as_ac_Header=\$ac_header_preproc" |
6866 fi | 5931 fi |
6867 ac_res=`eval echo '${'$as_ac_Header'}'` | 5932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
6868 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 5933 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
6869 echo "${ECHO_T}$ac_res" >&6; } | |
6870 | 5934 |
6871 fi | 5935 fi |
6872 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 5936 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
6873 cat >>confdefs.h <<_ACEOF | 5937 cat >>confdefs.h <<_ACEOF |
6874 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 5938 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
6877 fi | 5941 fi |
6878 | 5942 |
6879 done | 5943 done |
6880 | 5944 |
6881 | 5945 |
6882 { echo "$as_me:$LINENO: checking if personality LINUX32 can be set" >&5 | 5946 echo "$as_me:$LINENO: checking if personality LINUX32 can be set" >&5 |
6883 echo $ECHO_N "checking if personality LINUX32 can be set... $ECHO_C" >&6; } | 5947 echo $ECHO_N "checking if personality LINUX32 can be set... $ECHO_C" >&6 |
6884 cat >conftest.$ac_ext <<_ACEOF | 5948 cat >conftest.$ac_ext <<_ACEOF |
6885 /* confdefs.h. */ | 5949 /* confdefs.h. */ |
6886 _ACEOF | 5950 _ACEOF |
6887 cat confdefs.h >>conftest.$ac_ext | 5951 cat confdefs.h >>conftest.$ac_ext |
6888 cat >>conftest.$ac_ext <<_ACEOF | 5952 cat >>conftest.$ac_ext <<_ACEOF |
6895 ; | 5959 ; |
6896 return 0; | 5960 return 0; |
6897 } | 5961 } |
6898 _ACEOF | 5962 _ACEOF |
6899 rm -f conftest.$ac_objext | 5963 rm -f conftest.$ac_objext |
6900 if { (ac_try="$ac_compile" | 5964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6901 case "(($ac_try" in | 5965 (eval $ac_compile) 2>conftest.er1 |
6902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6903 *) ac_try_echo=$ac_try;; | |
6904 esac | |
6905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6906 (eval "$ac_compile") 2>conftest.er1 | |
6907 ac_status=$? | 5966 ac_status=$? |
6908 grep -v '^ *+' conftest.er1 >conftest.err | 5967 grep -v '^ *+' conftest.er1 >conftest.err |
6909 rm -f conftest.er1 | 5968 rm -f conftest.er1 |
6910 cat conftest.err >&5 | 5969 cat conftest.err >&5 |
6911 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5970 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6912 (exit $ac_status); } && | 5971 (exit $ac_status); } && |
6913 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 5972 { ac_try='test -z "$ac_c_werror_flag" |
6914 { (case "(($ac_try" in | 5973 || test ! -s conftest.err' |
6915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 5974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6916 *) ac_try_echo=$ac_try;; | 5975 (eval $ac_try) 2>&5 |
6917 esac | |
6918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6919 (eval "$ac_try") 2>&5 | |
6920 ac_status=$? | 5976 ac_status=$? |
6921 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5977 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6922 (exit $ac_status); }; } && | 5978 (exit $ac_status); }; } && |
6923 { ac_try='test -s conftest.$ac_objext' | 5979 { ac_try='test -s conftest.$ac_objext' |
6924 { (case "(($ac_try" in | 5980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 5981 (eval $ac_try) 2>&5 |
6926 *) ac_try_echo=$ac_try;; | |
6927 esac | |
6928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6929 (eval "$ac_try") 2>&5 | |
6930 ac_status=$? | 5982 ac_status=$? |
6931 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5983 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6932 (exit $ac_status); }; }; then | 5984 (exit $ac_status); }; }; then |
6933 emacs_cv_personality_linux32=yes | 5985 emacs_cv_personality_linux32=yes |
6934 else | 5986 else |
6935 echo "$as_me: failed program was:" >&5 | 5987 echo "$as_me: failed program was:" >&5 |
6936 sed 's/^/| /' conftest.$ac_ext >&5 | 5988 sed 's/^/| /' conftest.$ac_ext >&5 |
6937 | 5989 |
6938 emacs_cv_personality_linux32=no | 5990 emacs_cv_personality_linux32=no |
6939 fi | 5991 fi |
6940 | 5992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
6941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5993 echo "$as_me:$LINENO: result: $emacs_cv_personality_linux32" >&5 |
6942 { echo "$as_me:$LINENO: result: $emacs_cv_personality_linux32" >&5 | 5994 echo "${ECHO_T}$emacs_cv_personality_linux32" >&6 |
6943 echo "${ECHO_T}$emacs_cv_personality_linux32" >&6; } | |
6944 | 5995 |
6945 if test $emacs_cv_personality_linux32 = yes; then | 5996 if test $emacs_cv_personality_linux32 = yes; then |
6946 | 5997 |
6947 cat >>confdefs.h <<\_ACEOF | 5998 cat >>confdefs.h <<\_ACEOF |
6948 #define HAVE_PERSONALITY_LINUX32 1 | 5999 #define HAVE_PERSONALITY_LINUX32 1 |
6952 | 6003 |
6953 | 6004 |
6954 for ac_header in term.h | 6005 for ac_header in term.h |
6955 do | 6006 do |
6956 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 6007 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6957 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 6008 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6958 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 6009 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
6959 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 6010 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6960 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6011 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6961 else | 6012 else |
6962 cat >conftest.$ac_ext <<_ACEOF | 6013 cat >conftest.$ac_ext <<_ACEOF |
6963 /* confdefs.h. */ | 6014 /* confdefs.h. */ |
6964 _ACEOF | 6015 _ACEOF |
6965 cat confdefs.h >>conftest.$ac_ext | 6016 cat confdefs.h >>conftest.$ac_ext |
6966 cat >>conftest.$ac_ext <<_ACEOF | 6017 cat >>conftest.$ac_ext <<_ACEOF |
6967 /* end confdefs.h. */ | 6018 /* end confdefs.h. */ |
6968 #include <$ac_header> | 6019 #include <$ac_header> |
6969 _ACEOF | 6020 _ACEOF |
6970 if { (ac_try="$ac_cpp conftest.$ac_ext" | 6021 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
6971 case "(($ac_try" in | 6022 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
6972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6973 *) ac_try_echo=$ac_try;; | |
6974 esac | |
6975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6976 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
6977 ac_status=$? | 6023 ac_status=$? |
6978 grep -v '^ *+' conftest.er1 >conftest.err | 6024 grep -v '^ *+' conftest.er1 >conftest.err |
6979 rm -f conftest.er1 | 6025 rm -f conftest.er1 |
6980 cat conftest.err >&5 | 6026 cat conftest.err >&5 |
6981 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6027 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6995 echo "$as_me: failed program was:" >&5 | 6041 echo "$as_me: failed program was:" >&5 |
6996 sed 's/^/| /' conftest.$ac_ext >&5 | 6042 sed 's/^/| /' conftest.$ac_ext >&5 |
6997 | 6043 |
6998 eval "$as_ac_Header=no" | 6044 eval "$as_ac_Header=no" |
6999 fi | 6045 fi |
7000 | |
7001 rm -f conftest.err conftest.$ac_ext | 6046 rm -f conftest.err conftest.$ac_ext |
7002 fi | 6047 fi |
7003 ac_res=`eval echo '${'$as_ac_Header'}'` | 6048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
7004 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 6049 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
7005 echo "${ECHO_T}$ac_res" >&6; } | |
7006 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 6050 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
7007 cat >>confdefs.h <<_ACEOF | 6051 cat >>confdefs.h <<_ACEOF |
7008 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 6052 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
7009 _ACEOF | 6053 _ACEOF |
7010 | 6054 |
7011 fi | 6055 fi |
7012 | 6056 |
7013 done | 6057 done |
7014 | 6058 |
7015 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | 6059 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
7016 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } | 6060 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
7017 if test "${ac_cv_header_stdc+set}" = set; then | 6061 if test "${ac_cv_header_stdc+set}" = set; then |
7018 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6062 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7019 else | 6063 else |
7020 cat >conftest.$ac_ext <<_ACEOF | 6064 cat >conftest.$ac_ext <<_ACEOF |
7021 /* confdefs.h. */ | 6065 /* confdefs.h. */ |
7035 ; | 6079 ; |
7036 return 0; | 6080 return 0; |
7037 } | 6081 } |
7038 _ACEOF | 6082 _ACEOF |
7039 rm -f conftest.$ac_objext | 6083 rm -f conftest.$ac_objext |
7040 if { (ac_try="$ac_compile" | 6084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7041 case "(($ac_try" in | 6085 (eval $ac_compile) 2>conftest.er1 |
7042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7043 *) ac_try_echo=$ac_try;; | |
7044 esac | |
7045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7046 (eval "$ac_compile") 2>conftest.er1 | |
7047 ac_status=$? | 6086 ac_status=$? |
7048 grep -v '^ *+' conftest.er1 >conftest.err | 6087 grep -v '^ *+' conftest.er1 >conftest.err |
7049 rm -f conftest.er1 | 6088 rm -f conftest.er1 |
7050 cat conftest.err >&5 | 6089 cat conftest.err >&5 |
7051 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6090 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7052 (exit $ac_status); } && | 6091 (exit $ac_status); } && |
7053 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 6092 { ac_try='test -z "$ac_c_werror_flag" |
7054 { (case "(($ac_try" in | 6093 || test ! -s conftest.err' |
7055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 6094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7056 *) ac_try_echo=$ac_try;; | 6095 (eval $ac_try) 2>&5 |
7057 esac | |
7058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7059 (eval "$ac_try") 2>&5 | |
7060 ac_status=$? | 6096 ac_status=$? |
7061 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6097 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7062 (exit $ac_status); }; } && | 6098 (exit $ac_status); }; } && |
7063 { ac_try='test -s conftest.$ac_objext' | 6099 { ac_try='test -s conftest.$ac_objext' |
7064 { (case "(($ac_try" in | 6100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 6101 (eval $ac_try) 2>&5 |
7066 *) ac_try_echo=$ac_try;; | |
7067 esac | |
7068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7069 (eval "$ac_try") 2>&5 | |
7070 ac_status=$? | 6102 ac_status=$? |
7071 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6103 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7072 (exit $ac_status); }; }; then | 6104 (exit $ac_status); }; }; then |
7073 ac_cv_header_stdc=yes | 6105 ac_cv_header_stdc=yes |
7074 else | 6106 else |
7075 echo "$as_me: failed program was:" >&5 | 6107 echo "$as_me: failed program was:" >&5 |
7076 sed 's/^/| /' conftest.$ac_ext >&5 | 6108 sed 's/^/| /' conftest.$ac_ext >&5 |
7077 | 6109 |
7078 ac_cv_header_stdc=no | 6110 ac_cv_header_stdc=no |
7079 fi | 6111 fi |
7080 | 6112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
7081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
7082 | 6113 |
7083 if test $ac_cv_header_stdc = yes; then | 6114 if test $ac_cv_header_stdc = yes; then |
7084 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 6115 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
7085 cat >conftest.$ac_ext <<_ACEOF | 6116 cat >conftest.$ac_ext <<_ACEOF |
7086 /* confdefs.h. */ | 6117 /* confdefs.h. */ |
7132 _ACEOF | 6163 _ACEOF |
7133 cat confdefs.h >>conftest.$ac_ext | 6164 cat confdefs.h >>conftest.$ac_ext |
7134 cat >>conftest.$ac_ext <<_ACEOF | 6165 cat >>conftest.$ac_ext <<_ACEOF |
7135 /* end confdefs.h. */ | 6166 /* end confdefs.h. */ |
7136 #include <ctype.h> | 6167 #include <ctype.h> |
7137 #include <stdlib.h> | |
7138 #if ((' ' & 0x0FF) == 0x020) | 6168 #if ((' ' & 0x0FF) == 0x020) |
7139 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 6169 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
7140 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 6170 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
7141 #else | 6171 #else |
7142 # define ISLOWER(c) \ | 6172 # define ISLOWER(c) \ |
7152 { | 6182 { |
7153 int i; | 6183 int i; |
7154 for (i = 0; i < 256; i++) | 6184 for (i = 0; i < 256; i++) |
7155 if (XOR (islower (i), ISLOWER (i)) | 6185 if (XOR (islower (i), ISLOWER (i)) |
7156 || toupper (i) != TOUPPER (i)) | 6186 || toupper (i) != TOUPPER (i)) |
7157 return 2; | 6187 exit(2); |
7158 return 0; | 6188 exit (0); |
7159 } | 6189 } |
7160 _ACEOF | 6190 _ACEOF |
7161 rm -f conftest$ac_exeext | 6191 rm -f conftest$ac_exeext |
7162 if { (ac_try="$ac_link" | 6192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7163 case "(($ac_try" in | 6193 (eval $ac_link) 2>&5 |
7164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7165 *) ac_try_echo=$ac_try;; | |
7166 esac | |
7167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7168 (eval "$ac_link") 2>&5 | |
7169 ac_status=$? | 6194 ac_status=$? |
7170 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6195 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7171 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 6196 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
7172 { (case "(($ac_try" in | 6197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 6198 (eval $ac_try) 2>&5 |
7174 *) ac_try_echo=$ac_try;; | |
7175 esac | |
7176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7177 (eval "$ac_try") 2>&5 | |
7178 ac_status=$? | 6199 ac_status=$? |
7179 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6200 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7180 (exit $ac_status); }; }; then | 6201 (exit $ac_status); }; }; then |
7181 : | 6202 : |
7182 else | 6203 else |
7185 sed 's/^/| /' conftest.$ac_ext >&5 | 6206 sed 's/^/| /' conftest.$ac_ext >&5 |
7186 | 6207 |
7187 ( exit $ac_status ) | 6208 ( exit $ac_status ) |
7188 ac_cv_header_stdc=no | 6209 ac_cv_header_stdc=no |
7189 fi | 6210 fi |
7190 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 6211 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
7191 fi | 6212 fi |
7192 | 6213 fi |
7193 | 6214 fi |
7194 fi | 6215 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
7195 fi | 6216 echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
7196 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | |
7197 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } | |
7198 if test $ac_cv_header_stdc = yes; then | 6217 if test $ac_cv_header_stdc = yes; then |
7199 | 6218 |
7200 cat >>confdefs.h <<\_ACEOF | 6219 cat >>confdefs.h <<\_ACEOF |
7201 #define STDC_HEADERS 1 | 6220 #define STDC_HEADERS 1 |
7202 _ACEOF | 6221 _ACEOF |
7203 | 6222 |
7204 fi | 6223 fi |
7205 | 6224 |
7206 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 | 6225 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 |
7207 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; } | 6226 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 |
7208 if test "${ac_cv_header_time+set}" = set; then | 6227 if test "${ac_cv_header_time+set}" = set; then |
7209 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6228 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7210 else | 6229 else |
7211 cat >conftest.$ac_ext <<_ACEOF | 6230 cat >conftest.$ac_ext <<_ACEOF |
7212 /* confdefs.h. */ | 6231 /* confdefs.h. */ |
7226 ; | 6245 ; |
7227 return 0; | 6246 return 0; |
7228 } | 6247 } |
7229 _ACEOF | 6248 _ACEOF |
7230 rm -f conftest.$ac_objext | 6249 rm -f conftest.$ac_objext |
7231 if { (ac_try="$ac_compile" | 6250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7232 case "(($ac_try" in | 6251 (eval $ac_compile) 2>conftest.er1 |
7233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7234 *) ac_try_echo=$ac_try;; | |
7235 esac | |
7236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7237 (eval "$ac_compile") 2>conftest.er1 | |
7238 ac_status=$? | 6252 ac_status=$? |
7239 grep -v '^ *+' conftest.er1 >conftest.err | 6253 grep -v '^ *+' conftest.er1 >conftest.err |
7240 rm -f conftest.er1 | 6254 rm -f conftest.er1 |
7241 cat conftest.err >&5 | 6255 cat conftest.err >&5 |
7242 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6256 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7243 (exit $ac_status); } && | 6257 (exit $ac_status); } && |
7244 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 6258 { ac_try='test -z "$ac_c_werror_flag" |
7245 { (case "(($ac_try" in | 6259 || test ! -s conftest.err' |
7246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 6260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7247 *) ac_try_echo=$ac_try;; | 6261 (eval $ac_try) 2>&5 |
7248 esac | |
7249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7250 (eval "$ac_try") 2>&5 | |
7251 ac_status=$? | 6262 ac_status=$? |
7252 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6263 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7253 (exit $ac_status); }; } && | 6264 (exit $ac_status); }; } && |
7254 { ac_try='test -s conftest.$ac_objext' | 6265 { ac_try='test -s conftest.$ac_objext' |
7255 { (case "(($ac_try" in | 6266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 6267 (eval $ac_try) 2>&5 |
7257 *) ac_try_echo=$ac_try;; | |
7258 esac | |
7259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7260 (eval "$ac_try") 2>&5 | |
7261 ac_status=$? | 6268 ac_status=$? |
7262 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6269 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7263 (exit $ac_status); }; }; then | 6270 (exit $ac_status); }; }; then |
7264 ac_cv_header_time=yes | 6271 ac_cv_header_time=yes |
7265 else | 6272 else |
7266 echo "$as_me: failed program was:" >&5 | 6273 echo "$as_me: failed program was:" >&5 |
7267 sed 's/^/| /' conftest.$ac_ext >&5 | 6274 sed 's/^/| /' conftest.$ac_ext >&5 |
7268 | 6275 |
7269 ac_cv_header_time=no | 6276 ac_cv_header_time=no |
7270 fi | 6277 fi |
7271 | 6278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
7272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6279 fi |
7273 fi | 6280 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 |
7274 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 | 6281 echo "${ECHO_T}$ac_cv_header_time" >&6 |
7275 echo "${ECHO_T}$ac_cv_header_time" >&6; } | |
7276 if test $ac_cv_header_time = yes; then | 6282 if test $ac_cv_header_time = yes; then |
7277 | 6283 |
7278 cat >>confdefs.h <<\_ACEOF | 6284 cat >>confdefs.h <<\_ACEOF |
7279 #define TIME_WITH_SYS_TIME 1 | 6285 #define TIME_WITH_SYS_TIME 1 |
7280 _ACEOF | 6286 _ACEOF |
7281 | 6287 |
7282 fi | 6288 fi |
7283 | 6289 |
7284 { echo "$as_me:$LINENO: checking whether sys_siglist is declared" >&5 | 6290 echo "$as_me:$LINENO: checking whether sys_siglist is declared" >&5 |
7285 echo $ECHO_N "checking whether sys_siglist is declared... $ECHO_C" >&6; } | 6291 echo $ECHO_N "checking whether sys_siglist is declared... $ECHO_C" >&6 |
7286 if test "${ac_cv_have_decl_sys_siglist+set}" = set; then | 6292 if test "${ac_cv_have_decl_sys_siglist+set}" = set; then |
7287 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6293 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7288 else | 6294 else |
7289 cat >conftest.$ac_ext <<_ACEOF | 6295 cat >conftest.$ac_ext <<_ACEOF |
7290 /* confdefs.h. */ | 6296 /* confdefs.h. */ |
7296 int | 6302 int |
7297 main () | 6303 main () |
7298 { | 6304 { |
7299 #ifndef sys_siglist | 6305 #ifndef sys_siglist |
7300 char *p = (char *) sys_siglist; | 6306 char *p = (char *) sys_siglist; |
7301 return !p; | |
7302 #endif | 6307 #endif |
7303 | 6308 |
7304 ; | 6309 ; |
7305 return 0; | 6310 return 0; |
7306 } | 6311 } |
7307 _ACEOF | 6312 _ACEOF |
7308 rm -f conftest.$ac_objext | 6313 rm -f conftest.$ac_objext |
7309 if { (ac_try="$ac_compile" | 6314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7310 case "(($ac_try" in | 6315 (eval $ac_compile) 2>conftest.er1 |
7311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7312 *) ac_try_echo=$ac_try;; | |
7313 esac | |
7314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7315 (eval "$ac_compile") 2>conftest.er1 | |
7316 ac_status=$? | 6316 ac_status=$? |
7317 grep -v '^ *+' conftest.er1 >conftest.err | 6317 grep -v '^ *+' conftest.er1 >conftest.err |
7318 rm -f conftest.er1 | 6318 rm -f conftest.er1 |
7319 cat conftest.err >&5 | 6319 cat conftest.err >&5 |
7320 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6320 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7321 (exit $ac_status); } && | 6321 (exit $ac_status); } && |
7322 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 6322 { ac_try='test -z "$ac_c_werror_flag" |
7323 { (case "(($ac_try" in | 6323 || test ! -s conftest.err' |
7324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 6324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7325 *) ac_try_echo=$ac_try;; | 6325 (eval $ac_try) 2>&5 |
7326 esac | |
7327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7328 (eval "$ac_try") 2>&5 | |
7329 ac_status=$? | 6326 ac_status=$? |
7330 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6327 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7331 (exit $ac_status); }; } && | 6328 (exit $ac_status); }; } && |
7332 { ac_try='test -s conftest.$ac_objext' | 6329 { ac_try='test -s conftest.$ac_objext' |
7333 { (case "(($ac_try" in | 6330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 6331 (eval $ac_try) 2>&5 |
7335 *) ac_try_echo=$ac_try;; | |
7336 esac | |
7337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7338 (eval "$ac_try") 2>&5 | |
7339 ac_status=$? | 6332 ac_status=$? |
7340 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6333 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7341 (exit $ac_status); }; }; then | 6334 (exit $ac_status); }; }; then |
7342 ac_cv_have_decl_sys_siglist=yes | 6335 ac_cv_have_decl_sys_siglist=yes |
7343 else | 6336 else |
7344 echo "$as_me: failed program was:" >&5 | 6337 echo "$as_me: failed program was:" >&5 |
7345 sed 's/^/| /' conftest.$ac_ext >&5 | 6338 sed 's/^/| /' conftest.$ac_ext >&5 |
7346 | 6339 |
7347 ac_cv_have_decl_sys_siglist=no | 6340 ac_cv_have_decl_sys_siglist=no |
7348 fi | 6341 fi |
7349 | 6342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
7350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6343 fi |
7351 fi | 6344 echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5 |
7352 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5 | 6345 echo "${ECHO_T}$ac_cv_have_decl_sys_siglist" >&6 |
7353 echo "${ECHO_T}$ac_cv_have_decl_sys_siglist" >&6; } | |
7354 if test $ac_cv_have_decl_sys_siglist = yes; then | 6346 if test $ac_cv_have_decl_sys_siglist = yes; then |
7355 | 6347 |
7356 cat >>confdefs.h <<_ACEOF | 6348 cat >>confdefs.h <<_ACEOF |
7357 #define HAVE_DECL_SYS_SIGLIST 1 | 6349 #define HAVE_DECL_SYS_SIGLIST 1 |
7358 _ACEOF | 6350 _ACEOF |
7367 fi | 6359 fi |
7368 | 6360 |
7369 | 6361 |
7370 if test $ac_cv_have_decl_sys_siglist != yes; then | 6362 if test $ac_cv_have_decl_sys_siglist != yes; then |
7371 # For Tru64, at least: | 6363 # For Tru64, at least: |
7372 { echo "$as_me:$LINENO: checking whether __sys_siglist is declared" >&5 | 6364 echo "$as_me:$LINENO: checking whether __sys_siglist is declared" >&5 |
7373 echo $ECHO_N "checking whether __sys_siglist is declared... $ECHO_C" >&6; } | 6365 echo $ECHO_N "checking whether __sys_siglist is declared... $ECHO_C" >&6 |
7374 if test "${ac_cv_have_decl___sys_siglist+set}" = set; then | 6366 if test "${ac_cv_have_decl___sys_siglist+set}" = set; then |
7375 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6367 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7376 else | 6368 else |
7377 cat >conftest.$ac_ext <<_ACEOF | 6369 cat >conftest.$ac_ext <<_ACEOF |
7378 /* confdefs.h. */ | 6370 /* confdefs.h. */ |
7384 int | 6376 int |
7385 main () | 6377 main () |
7386 { | 6378 { |
7387 #ifndef __sys_siglist | 6379 #ifndef __sys_siglist |
7388 char *p = (char *) __sys_siglist; | 6380 char *p = (char *) __sys_siglist; |
7389 return !p; | |
7390 #endif | 6381 #endif |
7391 | 6382 |
7392 ; | 6383 ; |
7393 return 0; | 6384 return 0; |
7394 } | 6385 } |
7395 _ACEOF | 6386 _ACEOF |
7396 rm -f conftest.$ac_objext | 6387 rm -f conftest.$ac_objext |
7397 if { (ac_try="$ac_compile" | 6388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7398 case "(($ac_try" in | 6389 (eval $ac_compile) 2>conftest.er1 |
7399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7400 *) ac_try_echo=$ac_try;; | |
7401 esac | |
7402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7403 (eval "$ac_compile") 2>conftest.er1 | |
7404 ac_status=$? | 6390 ac_status=$? |
7405 grep -v '^ *+' conftest.er1 >conftest.err | 6391 grep -v '^ *+' conftest.er1 >conftest.err |
7406 rm -f conftest.er1 | 6392 rm -f conftest.er1 |
7407 cat conftest.err >&5 | 6393 cat conftest.err >&5 |
7408 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6394 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7409 (exit $ac_status); } && | 6395 (exit $ac_status); } && |
7410 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 6396 { ac_try='test -z "$ac_c_werror_flag" |
7411 { (case "(($ac_try" in | 6397 || test ! -s conftest.err' |
7412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 6398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7413 *) ac_try_echo=$ac_try;; | 6399 (eval $ac_try) 2>&5 |
7414 esac | |
7415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7416 (eval "$ac_try") 2>&5 | |
7417 ac_status=$? | 6400 ac_status=$? |
7418 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6401 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7419 (exit $ac_status); }; } && | 6402 (exit $ac_status); }; } && |
7420 { ac_try='test -s conftest.$ac_objext' | 6403 { ac_try='test -s conftest.$ac_objext' |
7421 { (case "(($ac_try" in | 6404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 6405 (eval $ac_try) 2>&5 |
7423 *) ac_try_echo=$ac_try;; | |
7424 esac | |
7425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7426 (eval "$ac_try") 2>&5 | |
7427 ac_status=$? | 6406 ac_status=$? |
7428 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6407 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7429 (exit $ac_status); }; }; then | 6408 (exit $ac_status); }; }; then |
7430 ac_cv_have_decl___sys_siglist=yes | 6409 ac_cv_have_decl___sys_siglist=yes |
7431 else | 6410 else |
7432 echo "$as_me: failed program was:" >&5 | 6411 echo "$as_me: failed program was:" >&5 |
7433 sed 's/^/| /' conftest.$ac_ext >&5 | 6412 sed 's/^/| /' conftest.$ac_ext >&5 |
7434 | 6413 |
7435 ac_cv_have_decl___sys_siglist=no | 6414 ac_cv_have_decl___sys_siglist=no |
7436 fi | 6415 fi |
7437 | 6416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
7438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6417 fi |
7439 fi | 6418 echo "$as_me:$LINENO: result: $ac_cv_have_decl___sys_siglist" >&5 |
7440 { echo "$as_me:$LINENO: result: $ac_cv_have_decl___sys_siglist" >&5 | 6419 echo "${ECHO_T}$ac_cv_have_decl___sys_siglist" >&6 |
7441 echo "${ECHO_T}$ac_cv_have_decl___sys_siglist" >&6; } | |
7442 if test $ac_cv_have_decl___sys_siglist = yes; then | 6420 if test $ac_cv_have_decl___sys_siglist = yes; then |
7443 | 6421 |
7444 cat >>confdefs.h <<_ACEOF | 6422 cat >>confdefs.h <<_ACEOF |
7445 #define HAVE_DECL___SYS_SIGLIST 1 | 6423 #define HAVE_DECL___SYS_SIGLIST 1 |
7446 _ACEOF | 6424 _ACEOF |
7461 #define sys_siglist __sys_siglist | 6439 #define sys_siglist __sys_siglist |
7462 _ACEOF | 6440 _ACEOF |
7463 | 6441 |
7464 fi | 6442 fi |
7465 fi | 6443 fi |
7466 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 6444 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
7467 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; } | 6445 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6 |
7468 if test "${ac_cv_header_sys_wait_h+set}" = set; then | 6446 if test "${ac_cv_header_sys_wait_h+set}" = set; then |
7469 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6447 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7470 else | 6448 else |
7471 cat >conftest.$ac_ext <<_ACEOF | 6449 cat >conftest.$ac_ext <<_ACEOF |
7472 /* confdefs.h. */ | 6450 /* confdefs.h. */ |
7475 cat >>conftest.$ac_ext <<_ACEOF | 6453 cat >>conftest.$ac_ext <<_ACEOF |
7476 /* end confdefs.h. */ | 6454 /* end confdefs.h. */ |
7477 #include <sys/types.h> | 6455 #include <sys/types.h> |
7478 #include <sys/wait.h> | 6456 #include <sys/wait.h> |
7479 #ifndef WEXITSTATUS | 6457 #ifndef WEXITSTATUS |
7480 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8) | 6458 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
7481 #endif | 6459 #endif |
7482 #ifndef WIFEXITED | 6460 #ifndef WIFEXITED |
7483 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0) | 6461 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0) |
7484 #endif | 6462 #endif |
7485 | 6463 |
7492 ; | 6470 ; |
7493 return 0; | 6471 return 0; |
7494 } | 6472 } |
7495 _ACEOF | 6473 _ACEOF |
7496 rm -f conftest.$ac_objext | 6474 rm -f conftest.$ac_objext |
7497 if { (ac_try="$ac_compile" | 6475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7498 case "(($ac_try" in | 6476 (eval $ac_compile) 2>conftest.er1 |
7499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7500 *) ac_try_echo=$ac_try;; | |
7501 esac | |
7502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7503 (eval "$ac_compile") 2>conftest.er1 | |
7504 ac_status=$? | 6477 ac_status=$? |
7505 grep -v '^ *+' conftest.er1 >conftest.err | 6478 grep -v '^ *+' conftest.er1 >conftest.err |
7506 rm -f conftest.er1 | 6479 rm -f conftest.er1 |
7507 cat conftest.err >&5 | 6480 cat conftest.err >&5 |
7508 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6481 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7509 (exit $ac_status); } && | 6482 (exit $ac_status); } && |
7510 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 6483 { ac_try='test -z "$ac_c_werror_flag" |
7511 { (case "(($ac_try" in | 6484 || test ! -s conftest.err' |
7512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 6485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7513 *) ac_try_echo=$ac_try;; | 6486 (eval $ac_try) 2>&5 |
7514 esac | |
7515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7516 (eval "$ac_try") 2>&5 | |
7517 ac_status=$? | 6487 ac_status=$? |
7518 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6488 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7519 (exit $ac_status); }; } && | 6489 (exit $ac_status); }; } && |
7520 { ac_try='test -s conftest.$ac_objext' | 6490 { ac_try='test -s conftest.$ac_objext' |
7521 { (case "(($ac_try" in | 6491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 6492 (eval $ac_try) 2>&5 |
7523 *) ac_try_echo=$ac_try;; | |
7524 esac | |
7525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7526 (eval "$ac_try") 2>&5 | |
7527 ac_status=$? | 6493 ac_status=$? |
7528 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6494 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7529 (exit $ac_status); }; }; then | 6495 (exit $ac_status); }; }; then |
7530 ac_cv_header_sys_wait_h=yes | 6496 ac_cv_header_sys_wait_h=yes |
7531 else | 6497 else |
7532 echo "$as_me: failed program was:" >&5 | 6498 echo "$as_me: failed program was:" >&5 |
7533 sed 's/^/| /' conftest.$ac_ext >&5 | 6499 sed 's/^/| /' conftest.$ac_ext >&5 |
7534 | 6500 |
7535 ac_cv_header_sys_wait_h=no | 6501 ac_cv_header_sys_wait_h=no |
7536 fi | 6502 fi |
7537 | 6503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
7538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6504 fi |
7539 fi | 6505 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5 |
7540 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5 | 6506 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6 |
7541 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; } | |
7542 if test $ac_cv_header_sys_wait_h = yes; then | 6507 if test $ac_cv_header_sys_wait_h = yes; then |
7543 | 6508 |
7544 cat >>confdefs.h <<\_ACEOF | 6509 cat >>confdefs.h <<\_ACEOF |
7545 #define HAVE_SYS_WAIT_H 1 | 6510 #define HAVE_SYS_WAIT_H 1 |
7546 _ACEOF | 6511 _ACEOF |
7547 | 6512 |
7548 fi | 6513 fi |
7549 | 6514 |
7550 | 6515 |
7551 { echo "$as_me:$LINENO: checking for struct utimbuf" >&5 | 6516 echo "$as_me:$LINENO: checking for struct utimbuf" >&5 |
7552 echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6; } | 6517 echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6 |
7553 if test "${emacs_cv_struct_utimbuf+set}" = set; then | 6518 if test "${emacs_cv_struct_utimbuf+set}" = set; then |
7554 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6519 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7555 else | 6520 else |
7556 cat >conftest.$ac_ext <<_ACEOF | 6521 cat >conftest.$ac_ext <<_ACEOF |
7557 /* confdefs.h. */ | 6522 /* confdefs.h. */ |
7579 ; | 6544 ; |
7580 return 0; | 6545 return 0; |
7581 } | 6546 } |
7582 _ACEOF | 6547 _ACEOF |
7583 rm -f conftest.$ac_objext | 6548 rm -f conftest.$ac_objext |
7584 if { (ac_try="$ac_compile" | 6549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7585 case "(($ac_try" in | 6550 (eval $ac_compile) 2>conftest.er1 |
7586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7587 *) ac_try_echo=$ac_try;; | |
7588 esac | |
7589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7590 (eval "$ac_compile") 2>conftest.er1 | |
7591 ac_status=$? | 6551 ac_status=$? |
7592 grep -v '^ *+' conftest.er1 >conftest.err | 6552 grep -v '^ *+' conftest.er1 >conftest.err |
7593 rm -f conftest.er1 | 6553 rm -f conftest.er1 |
7594 cat conftest.err >&5 | 6554 cat conftest.err >&5 |
7595 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6555 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7596 (exit $ac_status); } && | 6556 (exit $ac_status); } && |
7597 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 6557 { ac_try='test -z "$ac_c_werror_flag" |
7598 { (case "(($ac_try" in | 6558 || test ! -s conftest.err' |
7599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 6559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7600 *) ac_try_echo=$ac_try;; | 6560 (eval $ac_try) 2>&5 |
7601 esac | |
7602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7603 (eval "$ac_try") 2>&5 | |
7604 ac_status=$? | 6561 ac_status=$? |
7605 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6562 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7606 (exit $ac_status); }; } && | 6563 (exit $ac_status); }; } && |
7607 { ac_try='test -s conftest.$ac_objext' | 6564 { ac_try='test -s conftest.$ac_objext' |
7608 { (case "(($ac_try" in | 6565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 6566 (eval $ac_try) 2>&5 |
7610 *) ac_try_echo=$ac_try;; | |
7611 esac | |
7612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7613 (eval "$ac_try") 2>&5 | |
7614 ac_status=$? | 6567 ac_status=$? |
7615 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6568 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7616 (exit $ac_status); }; }; then | 6569 (exit $ac_status); }; }; then |
7617 emacs_cv_struct_utimbuf=yes | 6570 emacs_cv_struct_utimbuf=yes |
7618 else | 6571 else |
7619 echo "$as_me: failed program was:" >&5 | 6572 echo "$as_me: failed program was:" >&5 |
7620 sed 's/^/| /' conftest.$ac_ext >&5 | 6573 sed 's/^/| /' conftest.$ac_ext >&5 |
7621 | 6574 |
7622 emacs_cv_struct_utimbuf=no | 6575 emacs_cv_struct_utimbuf=no |
7623 fi | 6576 fi |
7624 | 6577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
7625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6578 fi |
7626 fi | 6579 echo "$as_me:$LINENO: result: $emacs_cv_struct_utimbuf" >&5 |
7627 { echo "$as_me:$LINENO: result: $emacs_cv_struct_utimbuf" >&5 | 6580 echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6 |
7628 echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6; } | |
7629 if test $emacs_cv_struct_utimbuf = yes; then | 6581 if test $emacs_cv_struct_utimbuf = yes; then |
7630 | 6582 |
7631 cat >>confdefs.h <<\_ACEOF | 6583 cat >>confdefs.h <<\_ACEOF |
7632 #define HAVE_STRUCT_UTIMBUF 1 | 6584 #define HAVE_STRUCT_UTIMBUF 1 |
7633 _ACEOF | 6585 _ACEOF |
7634 | 6586 |
7635 fi | 6587 fi |
7636 | 6588 |
7637 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5 | 6589 echo "$as_me:$LINENO: checking return type of signal handlers" >&5 |
7638 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; } | 6590 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 |
7639 if test "${ac_cv_type_signal+set}" = set; then | 6591 if test "${ac_cv_type_signal+set}" = set; then |
7640 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6592 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7641 else | 6593 else |
7642 cat >conftest.$ac_ext <<_ACEOF | 6594 cat >conftest.$ac_ext <<_ACEOF |
7643 /* confdefs.h. */ | 6595 /* confdefs.h. */ |
7645 cat confdefs.h >>conftest.$ac_ext | 6597 cat confdefs.h >>conftest.$ac_ext |
7646 cat >>conftest.$ac_ext <<_ACEOF | 6598 cat >>conftest.$ac_ext <<_ACEOF |
7647 /* end confdefs.h. */ | 6599 /* end confdefs.h. */ |
7648 #include <sys/types.h> | 6600 #include <sys/types.h> |
7649 #include <signal.h> | 6601 #include <signal.h> |
6602 #ifdef signal | |
6603 # undef signal | |
6604 #endif | |
6605 #ifdef __cplusplus | |
6606 extern "C" void (*signal (int, void (*)(int)))(int); | |
6607 #else | |
6608 void (*signal ()) (); | |
6609 #endif | |
7650 | 6610 |
7651 int | 6611 int |
7652 main () | 6612 main () |
7653 { | 6613 { |
7654 return *(signal (0, 0)) (0) == 1; | 6614 int i; |
7655 ; | 6615 ; |
7656 return 0; | 6616 return 0; |
7657 } | 6617 } |
7658 _ACEOF | 6618 _ACEOF |
7659 rm -f conftest.$ac_objext | 6619 rm -f conftest.$ac_objext |
7660 if { (ac_try="$ac_compile" | 6620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7661 case "(($ac_try" in | 6621 (eval $ac_compile) 2>conftest.er1 |
7662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7663 *) ac_try_echo=$ac_try;; | |
7664 esac | |
7665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7666 (eval "$ac_compile") 2>conftest.er1 | |
7667 ac_status=$? | 6622 ac_status=$? |
7668 grep -v '^ *+' conftest.er1 >conftest.err | 6623 grep -v '^ *+' conftest.er1 >conftest.err |
7669 rm -f conftest.er1 | 6624 rm -f conftest.er1 |
7670 cat conftest.err >&5 | 6625 cat conftest.err >&5 |
7671 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6626 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7672 (exit $ac_status); } && | 6627 (exit $ac_status); } && |
7673 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 6628 { ac_try='test -z "$ac_c_werror_flag" |
7674 { (case "(($ac_try" in | 6629 || test ! -s conftest.err' |
7675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 6630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7676 *) ac_try_echo=$ac_try;; | 6631 (eval $ac_try) 2>&5 |
7677 esac | |
7678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7679 (eval "$ac_try") 2>&5 | |
7680 ac_status=$? | 6632 ac_status=$? |
7681 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6633 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7682 (exit $ac_status); }; } && | 6634 (exit $ac_status); }; } && |
7683 { ac_try='test -s conftest.$ac_objext' | 6635 { ac_try='test -s conftest.$ac_objext' |
7684 { (case "(($ac_try" in | 6636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 6637 (eval $ac_try) 2>&5 |
7686 *) ac_try_echo=$ac_try;; | |
7687 esac | |
7688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7689 (eval "$ac_try") 2>&5 | |
7690 ac_status=$? | 6638 ac_status=$? |
7691 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6639 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7692 (exit $ac_status); }; }; then | 6640 (exit $ac_status); }; }; then |
7693 ac_cv_type_signal=int | 6641 ac_cv_type_signal=void |
7694 else | 6642 else |
7695 echo "$as_me: failed program was:" >&5 | 6643 echo "$as_me: failed program was:" >&5 |
7696 sed 's/^/| /' conftest.$ac_ext >&5 | 6644 sed 's/^/| /' conftest.$ac_ext >&5 |
7697 | 6645 |
7698 ac_cv_type_signal=void | 6646 ac_cv_type_signal=int |
7699 fi | 6647 fi |
7700 | 6648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
7701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6649 fi |
7702 fi | 6650 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 |
7703 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 | 6651 echo "${ECHO_T}$ac_cv_type_signal" >&6 |
7704 echo "${ECHO_T}$ac_cv_type_signal" >&6; } | |
7705 | 6652 |
7706 cat >>confdefs.h <<_ACEOF | 6653 cat >>confdefs.h <<_ACEOF |
7707 #define RETSIGTYPE $ac_cv_type_signal | 6654 #define RETSIGTYPE $ac_cv_type_signal |
7708 _ACEOF | 6655 _ACEOF |
7709 | 6656 |
7710 | 6657 |
7711 | 6658 |
7712 { echo "$as_me:$LINENO: checking for speed_t" >&5 | 6659 echo "$as_me:$LINENO: checking for speed_t" >&5 |
7713 echo $ECHO_N "checking for speed_t... $ECHO_C" >&6; } | 6660 echo $ECHO_N "checking for speed_t... $ECHO_C" >&6 |
7714 if test "${emacs_cv_speed_t+set}" = set; then | 6661 if test "${emacs_cv_speed_t+set}" = set; then |
7715 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6662 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7716 else | 6663 else |
7717 cat >conftest.$ac_ext <<_ACEOF | 6664 cat >conftest.$ac_ext <<_ACEOF |
7718 /* confdefs.h. */ | 6665 /* confdefs.h. */ |
7728 ; | 6675 ; |
7729 return 0; | 6676 return 0; |
7730 } | 6677 } |
7731 _ACEOF | 6678 _ACEOF |
7732 rm -f conftest.$ac_objext | 6679 rm -f conftest.$ac_objext |
7733 if { (ac_try="$ac_compile" | 6680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7734 case "(($ac_try" in | 6681 (eval $ac_compile) 2>conftest.er1 |
7735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7736 *) ac_try_echo=$ac_try;; | |
7737 esac | |
7738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7739 (eval "$ac_compile") 2>conftest.er1 | |
7740 ac_status=$? | 6682 ac_status=$? |
7741 grep -v '^ *+' conftest.er1 >conftest.err | 6683 grep -v '^ *+' conftest.er1 >conftest.err |
7742 rm -f conftest.er1 | 6684 rm -f conftest.er1 |
7743 cat conftest.err >&5 | 6685 cat conftest.err >&5 |
7744 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6686 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7745 (exit $ac_status); } && | 6687 (exit $ac_status); } && |
7746 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 6688 { ac_try='test -z "$ac_c_werror_flag" |
7747 { (case "(($ac_try" in | 6689 || test ! -s conftest.err' |
7748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 6690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7749 *) ac_try_echo=$ac_try;; | 6691 (eval $ac_try) 2>&5 |
7750 esac | |
7751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7752 (eval "$ac_try") 2>&5 | |
7753 ac_status=$? | 6692 ac_status=$? |
7754 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6693 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7755 (exit $ac_status); }; } && | 6694 (exit $ac_status); }; } && |
7756 { ac_try='test -s conftest.$ac_objext' | 6695 { ac_try='test -s conftest.$ac_objext' |
7757 { (case "(($ac_try" in | 6696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 6697 (eval $ac_try) 2>&5 |
7759 *) ac_try_echo=$ac_try;; | |
7760 esac | |
7761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7762 (eval "$ac_try") 2>&5 | |
7763 ac_status=$? | 6698 ac_status=$? |
7764 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6699 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7765 (exit $ac_status); }; }; then | 6700 (exit $ac_status); }; }; then |
7766 emacs_cv_speed_t=yes | 6701 emacs_cv_speed_t=yes |
7767 else | 6702 else |
7768 echo "$as_me: failed program was:" >&5 | 6703 echo "$as_me: failed program was:" >&5 |
7769 sed 's/^/| /' conftest.$ac_ext >&5 | 6704 sed 's/^/| /' conftest.$ac_ext >&5 |
7770 | 6705 |
7771 emacs_cv_speed_t=no | 6706 emacs_cv_speed_t=no |
7772 fi | 6707 fi |
7773 | 6708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
7774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6709 fi |
7775 fi | 6710 echo "$as_me:$LINENO: result: $emacs_cv_speed_t" >&5 |
7776 { echo "$as_me:$LINENO: result: $emacs_cv_speed_t" >&5 | 6711 echo "${ECHO_T}$emacs_cv_speed_t" >&6 |
7777 echo "${ECHO_T}$emacs_cv_speed_t" >&6; } | |
7778 if test $emacs_cv_speed_t = yes; then | 6712 if test $emacs_cv_speed_t = yes; then |
7779 | 6713 |
7780 cat >>confdefs.h <<\_ACEOF | 6714 cat >>confdefs.h <<\_ACEOF |
7781 #define HAVE_SPEED_T 1 | 6715 #define HAVE_SPEED_T 1 |
7782 _ACEOF | 6716 _ACEOF |
7783 | 6717 |
7784 fi | 6718 fi |
7785 | 6719 |
7786 { echo "$as_me:$LINENO: checking for struct timeval" >&5 | 6720 echo "$as_me:$LINENO: checking for struct timeval" >&5 |
7787 echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6; } | 6721 echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6 |
7788 if test "${emacs_cv_struct_timeval+set}" = set; then | 6722 if test "${emacs_cv_struct_timeval+set}" = set; then |
7789 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6723 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7790 else | 6724 else |
7791 cat >conftest.$ac_ext <<_ACEOF | 6725 cat >conftest.$ac_ext <<_ACEOF |
7792 /* confdefs.h. */ | 6726 /* confdefs.h. */ |
7811 ; | 6745 ; |
7812 return 0; | 6746 return 0; |
7813 } | 6747 } |
7814 _ACEOF | 6748 _ACEOF |
7815 rm -f conftest.$ac_objext | 6749 rm -f conftest.$ac_objext |
7816 if { (ac_try="$ac_compile" | 6750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7817 case "(($ac_try" in | 6751 (eval $ac_compile) 2>conftest.er1 |
7818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7819 *) ac_try_echo=$ac_try;; | |
7820 esac | |
7821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7822 (eval "$ac_compile") 2>conftest.er1 | |
7823 ac_status=$? | 6752 ac_status=$? |
7824 grep -v '^ *+' conftest.er1 >conftest.err | 6753 grep -v '^ *+' conftest.er1 >conftest.err |
7825 rm -f conftest.er1 | 6754 rm -f conftest.er1 |
7826 cat conftest.err >&5 | 6755 cat conftest.err >&5 |
7827 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6756 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7828 (exit $ac_status); } && | 6757 (exit $ac_status); } && |
7829 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 6758 { ac_try='test -z "$ac_c_werror_flag" |
7830 { (case "(($ac_try" in | 6759 || test ! -s conftest.err' |
7831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 6760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7832 *) ac_try_echo=$ac_try;; | 6761 (eval $ac_try) 2>&5 |
7833 esac | |
7834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7835 (eval "$ac_try") 2>&5 | |
7836 ac_status=$? | 6762 ac_status=$? |
7837 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6763 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7838 (exit $ac_status); }; } && | 6764 (exit $ac_status); }; } && |
7839 { ac_try='test -s conftest.$ac_objext' | 6765 { ac_try='test -s conftest.$ac_objext' |
7840 { (case "(($ac_try" in | 6766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 6767 (eval $ac_try) 2>&5 |
7842 *) ac_try_echo=$ac_try;; | |
7843 esac | |
7844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7845 (eval "$ac_try") 2>&5 | |
7846 ac_status=$? | 6768 ac_status=$? |
7847 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6769 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7848 (exit $ac_status); }; }; then | 6770 (exit $ac_status); }; }; then |
7849 emacs_cv_struct_timeval=yes | 6771 emacs_cv_struct_timeval=yes |
7850 else | 6772 else |
7851 echo "$as_me: failed program was:" >&5 | 6773 echo "$as_me: failed program was:" >&5 |
7852 sed 's/^/| /' conftest.$ac_ext >&5 | 6774 sed 's/^/| /' conftest.$ac_ext >&5 |
7853 | 6775 |
7854 emacs_cv_struct_timeval=no | 6776 emacs_cv_struct_timeval=no |
7855 fi | 6777 fi |
7856 | 6778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
7857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6779 fi |
7858 fi | 6780 echo "$as_me:$LINENO: result: $emacs_cv_struct_timeval" >&5 |
7859 { echo "$as_me:$LINENO: result: $emacs_cv_struct_timeval" >&5 | 6781 echo "${ECHO_T}$emacs_cv_struct_timeval" >&6 |
7860 echo "${ECHO_T}$emacs_cv_struct_timeval" >&6; } | |
7861 HAVE_TIMEVAL=$emacs_cv_struct_timeval | 6782 HAVE_TIMEVAL=$emacs_cv_struct_timeval |
7862 if test $emacs_cv_struct_timeval = yes; then | 6783 if test $emacs_cv_struct_timeval = yes; then |
7863 | 6784 |
7864 cat >>confdefs.h <<\_ACEOF | 6785 cat >>confdefs.h <<\_ACEOF |
7865 #define HAVE_TIMEVAL 1 | 6786 #define HAVE_TIMEVAL 1 |
7866 _ACEOF | 6787 _ACEOF |
7867 | 6788 |
7868 fi | 6789 fi |
7869 | 6790 |
7870 { echo "$as_me:$LINENO: checking for struct exception" >&5 | 6791 echo "$as_me:$LINENO: checking for struct exception" >&5 |
7871 echo $ECHO_N "checking for struct exception... $ECHO_C" >&6; } | 6792 echo $ECHO_N "checking for struct exception... $ECHO_C" >&6 |
7872 if test "${emacs_cv_struct_exception+set}" = set; then | 6793 if test "${emacs_cv_struct_exception+set}" = set; then |
7873 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6794 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7874 else | 6795 else |
7875 cat >conftest.$ac_ext <<_ACEOF | 6796 cat >conftest.$ac_ext <<_ACEOF |
7876 /* confdefs.h. */ | 6797 /* confdefs.h. */ |
7886 ; | 6807 ; |
7887 return 0; | 6808 return 0; |
7888 } | 6809 } |
7889 _ACEOF | 6810 _ACEOF |
7890 rm -f conftest.$ac_objext | 6811 rm -f conftest.$ac_objext |
7891 if { (ac_try="$ac_compile" | 6812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7892 case "(($ac_try" in | 6813 (eval $ac_compile) 2>conftest.er1 |
7893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7894 *) ac_try_echo=$ac_try;; | |
7895 esac | |
7896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7897 (eval "$ac_compile") 2>conftest.er1 | |
7898 ac_status=$? | 6814 ac_status=$? |
7899 grep -v '^ *+' conftest.er1 >conftest.err | 6815 grep -v '^ *+' conftest.er1 >conftest.err |
7900 rm -f conftest.er1 | 6816 rm -f conftest.er1 |
7901 cat conftest.err >&5 | 6817 cat conftest.err >&5 |
7902 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6818 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7903 (exit $ac_status); } && | 6819 (exit $ac_status); } && |
7904 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 6820 { ac_try='test -z "$ac_c_werror_flag" |
7905 { (case "(($ac_try" in | 6821 || test ! -s conftest.err' |
7906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 6822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7907 *) ac_try_echo=$ac_try;; | 6823 (eval $ac_try) 2>&5 |
7908 esac | |
7909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7910 (eval "$ac_try") 2>&5 | |
7911 ac_status=$? | 6824 ac_status=$? |
7912 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6825 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7913 (exit $ac_status); }; } && | 6826 (exit $ac_status); }; } && |
7914 { ac_try='test -s conftest.$ac_objext' | 6827 { ac_try='test -s conftest.$ac_objext' |
7915 { (case "(($ac_try" in | 6828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 6829 (eval $ac_try) 2>&5 |
7917 *) ac_try_echo=$ac_try;; | |
7918 esac | |
7919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7920 (eval "$ac_try") 2>&5 | |
7921 ac_status=$? | 6830 ac_status=$? |
7922 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6831 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7923 (exit $ac_status); }; }; then | 6832 (exit $ac_status); }; }; then |
7924 emacs_cv_struct_exception=yes | 6833 emacs_cv_struct_exception=yes |
7925 else | 6834 else |
7926 echo "$as_me: failed program was:" >&5 | 6835 echo "$as_me: failed program was:" >&5 |
7927 sed 's/^/| /' conftest.$ac_ext >&5 | 6836 sed 's/^/| /' conftest.$ac_ext >&5 |
7928 | 6837 |
7929 emacs_cv_struct_exception=no | 6838 emacs_cv_struct_exception=no |
7930 fi | 6839 fi |
7931 | 6840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
7932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6841 fi |
7933 fi | 6842 echo "$as_me:$LINENO: result: $emacs_cv_struct_exception" >&5 |
7934 { echo "$as_me:$LINENO: result: $emacs_cv_struct_exception" >&5 | 6843 echo "${ECHO_T}$emacs_cv_struct_exception" >&6 |
7935 echo "${ECHO_T}$emacs_cv_struct_exception" >&6; } | |
7936 HAVE_EXCEPTION=$emacs_cv_struct_exception | 6844 HAVE_EXCEPTION=$emacs_cv_struct_exception |
7937 if test $emacs_cv_struct_exception != yes; then | 6845 if test $emacs_cv_struct_exception != yes; then |
7938 | 6846 |
7939 cat >>confdefs.h <<\_ACEOF | 6847 cat >>confdefs.h <<\_ACEOF |
7940 #define NO_MATHERR 1 | 6848 #define NO_MATHERR 1 |
7944 | 6852 |
7945 | 6853 |
7946 for ac_header in sys/socket.h | 6854 for ac_header in sys/socket.h |
7947 do | 6855 do |
7948 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 6856 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7949 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 6857 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
7950 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 6858 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7951 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 6859 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
7952 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 6860 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
7953 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6861 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7954 fi | 6862 fi |
7955 ac_res=`eval echo '${'$as_ac_Header'}'` | 6863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
7956 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 6864 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
7957 echo "${ECHO_T}$ac_res" >&6; } | |
7958 else | 6865 else |
7959 # Is the header compilable? | 6866 # Is the header compilable? |
7960 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 6867 echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
7961 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | 6868 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
7962 cat >conftest.$ac_ext <<_ACEOF | 6869 cat >conftest.$ac_ext <<_ACEOF |
7963 /* confdefs.h. */ | 6870 /* confdefs.h. */ |
7964 _ACEOF | 6871 _ACEOF |
7965 cat confdefs.h >>conftest.$ac_ext | 6872 cat confdefs.h >>conftest.$ac_ext |
7966 cat >>conftest.$ac_ext <<_ACEOF | 6873 cat >>conftest.$ac_ext <<_ACEOF |
7967 /* end confdefs.h. */ | 6874 /* end confdefs.h. */ |
7968 $ac_includes_default | 6875 $ac_includes_default |
7969 #include <$ac_header> | 6876 #include <$ac_header> |
7970 _ACEOF | 6877 _ACEOF |
7971 rm -f conftest.$ac_objext | 6878 rm -f conftest.$ac_objext |
7972 if { (ac_try="$ac_compile" | 6879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7973 case "(($ac_try" in | 6880 (eval $ac_compile) 2>conftest.er1 |
7974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7975 *) ac_try_echo=$ac_try;; | |
7976 esac | |
7977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7978 (eval "$ac_compile") 2>conftest.er1 | |
7979 ac_status=$? | 6881 ac_status=$? |
7980 grep -v '^ *+' conftest.er1 >conftest.err | 6882 grep -v '^ *+' conftest.er1 >conftest.err |
7981 rm -f conftest.er1 | 6883 rm -f conftest.er1 |
7982 cat conftest.err >&5 | 6884 cat conftest.err >&5 |
7983 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6885 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7984 (exit $ac_status); } && | 6886 (exit $ac_status); } && |
7985 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 6887 { ac_try='test -z "$ac_c_werror_flag" |
7986 { (case "(($ac_try" in | 6888 || test ! -s conftest.err' |
7987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 6889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7988 *) ac_try_echo=$ac_try;; | 6890 (eval $ac_try) 2>&5 |
7989 esac | |
7990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7991 (eval "$ac_try") 2>&5 | |
7992 ac_status=$? | 6891 ac_status=$? |
7993 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6892 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7994 (exit $ac_status); }; } && | 6893 (exit $ac_status); }; } && |
7995 { ac_try='test -s conftest.$ac_objext' | 6894 { ac_try='test -s conftest.$ac_objext' |
7996 { (case "(($ac_try" in | 6895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 6896 (eval $ac_try) 2>&5 |
7998 *) ac_try_echo=$ac_try;; | |
7999 esac | |
8000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8001 (eval "$ac_try") 2>&5 | |
8002 ac_status=$? | 6897 ac_status=$? |
8003 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6898 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8004 (exit $ac_status); }; }; then | 6899 (exit $ac_status); }; }; then |
8005 ac_header_compiler=yes | 6900 ac_header_compiler=yes |
8006 else | 6901 else |
8007 echo "$as_me: failed program was:" >&5 | 6902 echo "$as_me: failed program was:" >&5 |
8008 sed 's/^/| /' conftest.$ac_ext >&5 | 6903 sed 's/^/| /' conftest.$ac_ext >&5 |
8009 | 6904 |
8010 ac_header_compiler=no | 6905 ac_header_compiler=no |
8011 fi | 6906 fi |
8012 | 6907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
8013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6908 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
8014 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 6909 echo "${ECHO_T}$ac_header_compiler" >&6 |
8015 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
8016 | 6910 |
8017 # Is the header present? | 6911 # Is the header present? |
8018 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 6912 echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
8019 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | 6913 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
8020 cat >conftest.$ac_ext <<_ACEOF | 6914 cat >conftest.$ac_ext <<_ACEOF |
8021 /* confdefs.h. */ | 6915 /* confdefs.h. */ |
8022 _ACEOF | 6916 _ACEOF |
8023 cat confdefs.h >>conftest.$ac_ext | 6917 cat confdefs.h >>conftest.$ac_ext |
8024 cat >>conftest.$ac_ext <<_ACEOF | 6918 cat >>conftest.$ac_ext <<_ACEOF |
8025 /* end confdefs.h. */ | 6919 /* end confdefs.h. */ |
8026 #include <$ac_header> | 6920 #include <$ac_header> |
8027 _ACEOF | 6921 _ACEOF |
8028 if { (ac_try="$ac_cpp conftest.$ac_ext" | 6922 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
8029 case "(($ac_try" in | 6923 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
8030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8031 *) ac_try_echo=$ac_try;; | |
8032 esac | |
8033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8034 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
8035 ac_status=$? | 6924 ac_status=$? |
8036 grep -v '^ *+' conftest.er1 >conftest.err | 6925 grep -v '^ *+' conftest.er1 >conftest.err |
8037 rm -f conftest.er1 | 6926 rm -f conftest.er1 |
8038 cat conftest.err >&5 | 6927 cat conftest.err >&5 |
8039 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6928 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8053 echo "$as_me: failed program was:" >&5 | 6942 echo "$as_me: failed program was:" >&5 |
8054 sed 's/^/| /' conftest.$ac_ext >&5 | 6943 sed 's/^/| /' conftest.$ac_ext >&5 |
8055 | 6944 |
8056 ac_header_preproc=no | 6945 ac_header_preproc=no |
8057 fi | 6946 fi |
8058 | |
8059 rm -f conftest.err conftest.$ac_ext | 6947 rm -f conftest.err conftest.$ac_ext |
8060 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 6948 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
8061 echo "${ECHO_T}$ac_header_preproc" >&6; } | 6949 echo "${ECHO_T}$ac_header_preproc" >&6 |
8062 | 6950 |
8063 # So? What about this header? | 6951 # So? What about this header? |
8064 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 6952 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
8065 yes:no: ) | 6953 yes:no: ) |
8066 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 6954 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
8080 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | 6968 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
8081 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 6969 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
8082 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 6970 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
8083 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 6971 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
8084 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 6972 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
8085 | 6973 ( |
6974 cat <<\_ASBOX | |
6975 ## ------------------------------------------ ## | |
6976 ## Report this to the AC_PACKAGE_NAME lists. ## | |
6977 ## ------------------------------------------ ## | |
6978 _ASBOX | |
6979 ) | | |
6980 sed "s/^/$as_me: WARNING: /" >&2 | |
8086 ;; | 6981 ;; |
8087 esac | 6982 esac |
8088 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 6983 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
8089 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 6984 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
8090 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 6985 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
8091 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6986 echo $ECHO_N "(cached) $ECHO_C" >&6 |
8092 else | 6987 else |
8093 eval "$as_ac_Header=\$ac_header_preproc" | 6988 eval "$as_ac_Header=\$ac_header_preproc" |
8094 fi | 6989 fi |
8095 ac_res=`eval echo '${'$as_ac_Header'}'` | 6990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
8096 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 6991 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
8097 echo "${ECHO_T}$ac_res" >&6; } | |
8098 | 6992 |
8099 fi | 6993 fi |
8100 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 6994 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
8101 cat >>confdefs.h <<_ACEOF | 6995 cat >>confdefs.h <<_ACEOF |
8102 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 6996 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
8108 | 7002 |
8109 | 7003 |
8110 for ac_header in net/if.h | 7004 for ac_header in net/if.h |
8111 do | 7005 do |
8112 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 7006 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
8113 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 7007 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
8114 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 7008 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
8115 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 7009 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
8116 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7010 echo $ECHO_N "(cached) $ECHO_C" >&6 |
8117 else | 7011 else |
8118 cat >conftest.$ac_ext <<_ACEOF | 7012 cat >conftest.$ac_ext <<_ACEOF |
8119 /* confdefs.h. */ | 7013 /* confdefs.h. */ |
8120 _ACEOF | 7014 _ACEOF |
8127 #endif | 7021 #endif |
8128 | 7022 |
8129 #include <$ac_header> | 7023 #include <$ac_header> |
8130 _ACEOF | 7024 _ACEOF |
8131 rm -f conftest.$ac_objext | 7025 rm -f conftest.$ac_objext |
8132 if { (ac_try="$ac_compile" | 7026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8133 case "(($ac_try" in | 7027 (eval $ac_compile) 2>conftest.er1 |
8134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8135 *) ac_try_echo=$ac_try;; | |
8136 esac | |
8137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8138 (eval "$ac_compile") 2>conftest.er1 | |
8139 ac_status=$? | 7028 ac_status=$? |
8140 grep -v '^ *+' conftest.er1 >conftest.err | 7029 grep -v '^ *+' conftest.er1 >conftest.err |
8141 rm -f conftest.er1 | 7030 rm -f conftest.er1 |
8142 cat conftest.err >&5 | 7031 cat conftest.err >&5 |
8143 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7032 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8144 (exit $ac_status); } && | 7033 (exit $ac_status); } && |
8145 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 7034 { ac_try='test -z "$ac_c_werror_flag" |
8146 { (case "(($ac_try" in | 7035 || test ! -s conftest.err' |
8147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 7036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8148 *) ac_try_echo=$ac_try;; | 7037 (eval $ac_try) 2>&5 |
8149 esac | |
8150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8151 (eval "$ac_try") 2>&5 | |
8152 ac_status=$? | 7038 ac_status=$? |
8153 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7039 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8154 (exit $ac_status); }; } && | 7040 (exit $ac_status); }; } && |
8155 { ac_try='test -s conftest.$ac_objext' | 7041 { ac_try='test -s conftest.$ac_objext' |
8156 { (case "(($ac_try" in | 7042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 7043 (eval $ac_try) 2>&5 |
8158 *) ac_try_echo=$ac_try;; | |
8159 esac | |
8160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8161 (eval "$ac_try") 2>&5 | |
8162 ac_status=$? | 7044 ac_status=$? |
8163 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7045 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8164 (exit $ac_status); }; }; then | 7046 (exit $ac_status); }; }; then |
8165 eval "$as_ac_Header=yes" | 7047 eval "$as_ac_Header=yes" |
8166 else | 7048 else |
8167 echo "$as_me: failed program was:" >&5 | 7049 echo "$as_me: failed program was:" >&5 |
8168 sed 's/^/| /' conftest.$ac_ext >&5 | 7050 sed 's/^/| /' conftest.$ac_ext >&5 |
8169 | 7051 |
8170 eval "$as_ac_Header=no" | 7052 eval "$as_ac_Header=no" |
8171 fi | 7053 fi |
8172 | 7054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
8173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7055 fi |
8174 fi | 7056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
8175 ac_res=`eval echo '${'$as_ac_Header'}'` | 7057 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
8176 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
8177 echo "${ECHO_T}$ac_res" >&6; } | |
8178 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 7058 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
8179 cat >>confdefs.h <<_ACEOF | 7059 cat >>confdefs.h <<_ACEOF |
8180 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 7060 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
8181 _ACEOF | 7061 _ACEOF |
8182 | 7062 |
8183 fi | 7063 fi |
8184 | 7064 |
8185 done | 7065 done |
8186 | 7066 |
8187 | 7067 |
8188 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 | 7068 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 |
8189 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; } | 7069 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 |
8190 if test "${ac_cv_struct_tm+set}" = set; then | 7070 if test "${ac_cv_struct_tm+set}" = set; then |
8191 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7071 echo $ECHO_N "(cached) $ECHO_C" >&6 |
8192 else | 7072 else |
8193 cat >conftest.$ac_ext <<_ACEOF | 7073 cat >conftest.$ac_ext <<_ACEOF |
8194 /* confdefs.h. */ | 7074 /* confdefs.h. */ |
8206 ; | 7086 ; |
8207 return 0; | 7087 return 0; |
8208 } | 7088 } |
8209 _ACEOF | 7089 _ACEOF |
8210 rm -f conftest.$ac_objext | 7090 rm -f conftest.$ac_objext |
8211 if { (ac_try="$ac_compile" | 7091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8212 case "(($ac_try" in | 7092 (eval $ac_compile) 2>conftest.er1 |
8213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8214 *) ac_try_echo=$ac_try;; | |
8215 esac | |
8216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8217 (eval "$ac_compile") 2>conftest.er1 | |
8218 ac_status=$? | 7093 ac_status=$? |
8219 grep -v '^ *+' conftest.er1 >conftest.err | 7094 grep -v '^ *+' conftest.er1 >conftest.err |
8220 rm -f conftest.er1 | 7095 rm -f conftest.er1 |
8221 cat conftest.err >&5 | 7096 cat conftest.err >&5 |
8222 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7097 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8223 (exit $ac_status); } && | 7098 (exit $ac_status); } && |
8224 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 7099 { ac_try='test -z "$ac_c_werror_flag" |
8225 { (case "(($ac_try" in | 7100 || test ! -s conftest.err' |
8226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 7101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8227 *) ac_try_echo=$ac_try;; | 7102 (eval $ac_try) 2>&5 |
8228 esac | |
8229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8230 (eval "$ac_try") 2>&5 | |
8231 ac_status=$? | 7103 ac_status=$? |
8232 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7104 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8233 (exit $ac_status); }; } && | 7105 (exit $ac_status); }; } && |
8234 { ac_try='test -s conftest.$ac_objext' | 7106 { ac_try='test -s conftest.$ac_objext' |
8235 { (case "(($ac_try" in | 7107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 7108 (eval $ac_try) 2>&5 |
8237 *) ac_try_echo=$ac_try;; | |
8238 esac | |
8239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8240 (eval "$ac_try") 2>&5 | |
8241 ac_status=$? | 7109 ac_status=$? |
8242 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7110 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8243 (exit $ac_status); }; }; then | 7111 (exit $ac_status); }; }; then |
8244 ac_cv_struct_tm=time.h | 7112 ac_cv_struct_tm=time.h |
8245 else | 7113 else |
8246 echo "$as_me: failed program was:" >&5 | 7114 echo "$as_me: failed program was:" >&5 |
8247 sed 's/^/| /' conftest.$ac_ext >&5 | 7115 sed 's/^/| /' conftest.$ac_ext >&5 |
8248 | 7116 |
8249 ac_cv_struct_tm=sys/time.h | 7117 ac_cv_struct_tm=sys/time.h |
8250 fi | 7118 fi |
8251 | 7119 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
8252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7120 fi |
8253 fi | 7121 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 |
8254 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 | 7122 echo "${ECHO_T}$ac_cv_struct_tm" >&6 |
8255 echo "${ECHO_T}$ac_cv_struct_tm" >&6; } | |
8256 if test $ac_cv_struct_tm = sys/time.h; then | 7123 if test $ac_cv_struct_tm = sys/time.h; then |
8257 | 7124 |
8258 cat >>confdefs.h <<\_ACEOF | 7125 cat >>confdefs.h <<\_ACEOF |
8259 #define TM_IN_SYS_TIME 1 | 7126 #define TM_IN_SYS_TIME 1 |
8260 _ACEOF | 7127 _ACEOF |
8261 | 7128 |
8262 fi | 7129 fi |
8263 | 7130 |
8264 { echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5 | 7131 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5 |
8265 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6; } | 7132 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6 |
8266 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then | 7133 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then |
8267 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7134 echo $ECHO_N "(cached) $ECHO_C" >&6 |
8268 else | 7135 else |
8269 cat >conftest.$ac_ext <<_ACEOF | 7136 cat >conftest.$ac_ext <<_ACEOF |
8270 /* confdefs.h. */ | 7137 /* confdefs.h. */ |
8285 ; | 7152 ; |
8286 return 0; | 7153 return 0; |
8287 } | 7154 } |
8288 _ACEOF | 7155 _ACEOF |
8289 rm -f conftest.$ac_objext | 7156 rm -f conftest.$ac_objext |
8290 if { (ac_try="$ac_compile" | 7157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8291 case "(($ac_try" in | 7158 (eval $ac_compile) 2>conftest.er1 |
8292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8293 *) ac_try_echo=$ac_try;; | |
8294 esac | |
8295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8296 (eval "$ac_compile") 2>conftest.er1 | |
8297 ac_status=$? | 7159 ac_status=$? |
8298 grep -v '^ *+' conftest.er1 >conftest.err | 7160 grep -v '^ *+' conftest.er1 >conftest.err |
8299 rm -f conftest.er1 | 7161 rm -f conftest.er1 |
8300 cat conftest.err >&5 | 7162 cat conftest.err >&5 |
8301 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7163 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8302 (exit $ac_status); } && | 7164 (exit $ac_status); } && |
8303 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 7165 { ac_try='test -z "$ac_c_werror_flag" |
8304 { (case "(($ac_try" in | 7166 || test ! -s conftest.err' |
8305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 7167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8306 *) ac_try_echo=$ac_try;; | 7168 (eval $ac_try) 2>&5 |
8307 esac | |
8308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8309 (eval "$ac_try") 2>&5 | |
8310 ac_status=$? | 7169 ac_status=$? |
8311 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7170 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8312 (exit $ac_status); }; } && | 7171 (exit $ac_status); }; } && |
8313 { ac_try='test -s conftest.$ac_objext' | 7172 { ac_try='test -s conftest.$ac_objext' |
8314 { (case "(($ac_try" in | 7173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 7174 (eval $ac_try) 2>&5 |
8316 *) ac_try_echo=$ac_try;; | |
8317 esac | |
8318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8319 (eval "$ac_try") 2>&5 | |
8320 ac_status=$? | 7175 ac_status=$? |
8321 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7176 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8322 (exit $ac_status); }; }; then | 7177 (exit $ac_status); }; }; then |
8323 ac_cv_member_struct_tm_tm_zone=yes | 7178 ac_cv_member_struct_tm_tm_zone=yes |
8324 else | 7179 else |
8325 echo "$as_me: failed program was:" >&5 | 7180 echo "$as_me: failed program was:" >&5 |
8326 sed 's/^/| /' conftest.$ac_ext >&5 | 7181 sed 's/^/| /' conftest.$ac_ext >&5 |
8327 | 7182 |
8328 cat >conftest.$ac_ext <<_ACEOF | 7183 cat >conftest.$ac_ext <<_ACEOF |
8329 /* confdefs.h. */ | 7184 /* confdefs.h. */ |
8330 _ACEOF | 7185 _ACEOF |
8331 cat confdefs.h >>conftest.$ac_ext | 7186 cat confdefs.h >>conftest.$ac_ext |
8332 cat >>conftest.$ac_ext <<_ACEOF | 7187 cat >>conftest.$ac_ext <<_ACEOF |
8333 /* end confdefs.h. */ | 7188 /* end confdefs.h. */ |
8344 ; | 7199 ; |
8345 return 0; | 7200 return 0; |
8346 } | 7201 } |
8347 _ACEOF | 7202 _ACEOF |
8348 rm -f conftest.$ac_objext | 7203 rm -f conftest.$ac_objext |
8349 if { (ac_try="$ac_compile" | 7204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8350 case "(($ac_try" in | 7205 (eval $ac_compile) 2>conftest.er1 |
8351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8352 *) ac_try_echo=$ac_try;; | |
8353 esac | |
8354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8355 (eval "$ac_compile") 2>conftest.er1 | |
8356 ac_status=$? | 7206 ac_status=$? |
8357 grep -v '^ *+' conftest.er1 >conftest.err | 7207 grep -v '^ *+' conftest.er1 >conftest.err |
8358 rm -f conftest.er1 | 7208 rm -f conftest.er1 |
8359 cat conftest.err >&5 | 7209 cat conftest.err >&5 |
8360 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7210 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8361 (exit $ac_status); } && | 7211 (exit $ac_status); } && |
8362 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 7212 { ac_try='test -z "$ac_c_werror_flag" |
8363 { (case "(($ac_try" in | 7213 || test ! -s conftest.err' |
8364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 7214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8365 *) ac_try_echo=$ac_try;; | 7215 (eval $ac_try) 2>&5 |
8366 esac | |
8367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8368 (eval "$ac_try") 2>&5 | |
8369 ac_status=$? | 7216 ac_status=$? |
8370 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7217 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8371 (exit $ac_status); }; } && | 7218 (exit $ac_status); }; } && |
8372 { ac_try='test -s conftest.$ac_objext' | 7219 { ac_try='test -s conftest.$ac_objext' |
8373 { (case "(($ac_try" in | 7220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 7221 (eval $ac_try) 2>&5 |
8375 *) ac_try_echo=$ac_try;; | |
8376 esac | |
8377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8378 (eval "$ac_try") 2>&5 | |
8379 ac_status=$? | 7222 ac_status=$? |
8380 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7223 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8381 (exit $ac_status); }; }; then | 7224 (exit $ac_status); }; }; then |
8382 ac_cv_member_struct_tm_tm_zone=yes | 7225 ac_cv_member_struct_tm_tm_zone=yes |
8383 else | 7226 else |
8384 echo "$as_me: failed program was:" >&5 | 7227 echo "$as_me: failed program was:" >&5 |
8385 sed 's/^/| /' conftest.$ac_ext >&5 | 7228 sed 's/^/| /' conftest.$ac_ext >&5 |
8386 | 7229 |
8387 ac_cv_member_struct_tm_tm_zone=no | 7230 ac_cv_member_struct_tm_tm_zone=no |
8388 fi | 7231 fi |
8389 | 7232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
8390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7233 fi |
8391 fi | 7234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
8392 | 7235 fi |
8393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7236 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5 |
8394 fi | 7237 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6 |
8395 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5 | |
8396 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6; } | |
8397 if test $ac_cv_member_struct_tm_tm_zone = yes; then | 7238 if test $ac_cv_member_struct_tm_tm_zone = yes; then |
8398 | 7239 |
8399 cat >>confdefs.h <<_ACEOF | 7240 cat >>confdefs.h <<_ACEOF |
8400 #define HAVE_STRUCT_TM_TM_ZONE 1 | 7241 #define HAVE_STRUCT_TM_TM_ZONE 1 |
8401 _ACEOF | 7242 _ACEOF |
8408 cat >>confdefs.h <<\_ACEOF | 7249 cat >>confdefs.h <<\_ACEOF |
8409 #define HAVE_TM_ZONE 1 | 7250 #define HAVE_TM_ZONE 1 |
8410 _ACEOF | 7251 _ACEOF |
8411 | 7252 |
8412 else | 7253 else |
8413 { echo "$as_me:$LINENO: checking whether tzname is declared" >&5 | 7254 echo "$as_me:$LINENO: checking for tzname" >&5 |
8414 echo $ECHO_N "checking whether tzname is declared... $ECHO_C" >&6; } | 7255 echo $ECHO_N "checking for tzname... $ECHO_C" >&6 |
8415 if test "${ac_cv_have_decl_tzname+set}" = set; then | 7256 if test "${ac_cv_var_tzname+set}" = set; then |
8416 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7257 echo $ECHO_N "(cached) $ECHO_C" >&6 |
8417 else | 7258 else |
8418 cat >conftest.$ac_ext <<_ACEOF | 7259 cat >conftest.$ac_ext <<_ACEOF |
8419 /* confdefs.h. */ | 7260 /* confdefs.h. */ |
8420 _ACEOF | 7261 _ACEOF |
8421 cat confdefs.h >>conftest.$ac_ext | 7262 cat confdefs.h >>conftest.$ac_ext |
8422 cat >>conftest.$ac_ext <<_ACEOF | 7263 cat >>conftest.$ac_ext <<_ACEOF |
8423 /* end confdefs.h. */ | 7264 /* end confdefs.h. */ |
8424 #include <time.h> | 7265 #include <time.h> |
7266 #ifndef tzname /* For SGI. */ | |
7267 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | |
7268 #endif | |
8425 | 7269 |
8426 int | 7270 int |
8427 main () | 7271 main () |
8428 { | 7272 { |
8429 #ifndef tzname | 7273 atoi(*tzname); |
8430 char *p = (char *) tzname; | |
8431 return !p; | |
8432 #endif | |
8433 | |
8434 ; | 7274 ; |
8435 return 0; | 7275 return 0; |
8436 } | 7276 } |
8437 _ACEOF | 7277 _ACEOF |
8438 rm -f conftest.$ac_objext | 7278 rm -f conftest.$ac_objext conftest$ac_exeext |
8439 if { (ac_try="$ac_compile" | 7279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8440 case "(($ac_try" in | 7280 (eval $ac_link) 2>conftest.er1 |
8441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8442 *) ac_try_echo=$ac_try;; | |
8443 esac | |
8444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8445 (eval "$ac_compile") 2>conftest.er1 | |
8446 ac_status=$? | 7281 ac_status=$? |
8447 grep -v '^ *+' conftest.er1 >conftest.err | 7282 grep -v '^ *+' conftest.er1 >conftest.err |
8448 rm -f conftest.er1 | 7283 rm -f conftest.er1 |
8449 cat conftest.err >&5 | 7284 cat conftest.err >&5 |
8450 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7285 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8451 (exit $ac_status); } && | 7286 (exit $ac_status); } && |
8452 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 7287 { ac_try='test -z "$ac_c_werror_flag" |
8453 { (case "(($ac_try" in | 7288 || test ! -s conftest.err' |
8454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 7289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8455 *) ac_try_echo=$ac_try;; | 7290 (eval $ac_try) 2>&5 |
8456 esac | |
8457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8458 (eval "$ac_try") 2>&5 | |
8459 ac_status=$? | 7291 ac_status=$? |
8460 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7292 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8461 (exit $ac_status); }; } && | 7293 (exit $ac_status); }; } && |
8462 { ac_try='test -s conftest.$ac_objext' | 7294 { ac_try='test -s conftest$ac_exeext' |
8463 { (case "(($ac_try" in | 7295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 7296 (eval $ac_try) 2>&5 |
8465 *) ac_try_echo=$ac_try;; | |
8466 esac | |
8467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8468 (eval "$ac_try") 2>&5 | |
8469 ac_status=$? | 7297 ac_status=$? |
8470 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7298 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8471 (exit $ac_status); }; }; then | 7299 (exit $ac_status); }; }; then |
8472 ac_cv_have_decl_tzname=yes | 7300 ac_cv_var_tzname=yes |
8473 else | 7301 else |
8474 echo "$as_me: failed program was:" >&5 | 7302 echo "$as_me: failed program was:" >&5 |
8475 sed 's/^/| /' conftest.$ac_ext >&5 | 7303 sed 's/^/| /' conftest.$ac_ext >&5 |
8476 | 7304 |
8477 ac_cv_have_decl_tzname=no | 7305 ac_cv_var_tzname=no |
8478 fi | 7306 fi |
8479 | 7307 rm -f conftest.err conftest.$ac_objext \ |
8480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
8481 fi | |
8482 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5 | |
8483 echo "${ECHO_T}$ac_cv_have_decl_tzname" >&6; } | |
8484 if test $ac_cv_have_decl_tzname = yes; then | |
8485 | |
8486 cat >>confdefs.h <<_ACEOF | |
8487 #define HAVE_DECL_TZNAME 1 | |
8488 _ACEOF | |
8489 | |
8490 | |
8491 else | |
8492 cat >>confdefs.h <<_ACEOF | |
8493 #define HAVE_DECL_TZNAME 0 | |
8494 _ACEOF | |
8495 | |
8496 | |
8497 fi | |
8498 | |
8499 | |
8500 { echo "$as_me:$LINENO: checking for tzname" >&5 | |
8501 echo $ECHO_N "checking for tzname... $ECHO_C" >&6; } | |
8502 if test "${ac_cv_var_tzname+set}" = set; then | |
8503 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
8504 else | |
8505 cat >conftest.$ac_ext <<_ACEOF | |
8506 /* confdefs.h. */ | |
8507 _ACEOF | |
8508 cat confdefs.h >>conftest.$ac_ext | |
8509 cat >>conftest.$ac_ext <<_ACEOF | |
8510 /* end confdefs.h. */ | |
8511 #include <time.h> | |
8512 #if !HAVE_DECL_TZNAME | |
8513 extern char *tzname[]; | |
8514 #endif | |
8515 | |
8516 int | |
8517 main () | |
8518 { | |
8519 return tzname[0][0]; | |
8520 ; | |
8521 return 0; | |
8522 } | |
8523 _ACEOF | |
8524 rm -f conftest.$ac_objext conftest$ac_exeext | |
8525 if { (ac_try="$ac_link" | |
8526 case "(($ac_try" in | |
8527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8528 *) ac_try_echo=$ac_try;; | |
8529 esac | |
8530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8531 (eval "$ac_link") 2>conftest.er1 | |
8532 ac_status=$? | |
8533 grep -v '^ *+' conftest.er1 >conftest.err | |
8534 rm -f conftest.er1 | |
8535 cat conftest.err >&5 | |
8536 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8537 (exit $ac_status); } && | |
8538 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
8539 { (case "(($ac_try" in | |
8540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8541 *) ac_try_echo=$ac_try;; | |
8542 esac | |
8543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8544 (eval "$ac_try") 2>&5 | |
8545 ac_status=$? | |
8546 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8547 (exit $ac_status); }; } && | |
8548 { ac_try='test -s conftest$ac_exeext' | |
8549 { (case "(($ac_try" in | |
8550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8551 *) ac_try_echo=$ac_try;; | |
8552 esac | |
8553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8554 (eval "$ac_try") 2>&5 | |
8555 ac_status=$? | |
8556 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8557 (exit $ac_status); }; }; then | |
8558 ac_cv_var_tzname=yes | |
8559 else | |
8560 echo "$as_me: failed program was:" >&5 | |
8561 sed 's/^/| /' conftest.$ac_ext >&5 | |
8562 | |
8563 ac_cv_var_tzname=no | |
8564 fi | |
8565 | |
8566 rm -f core conftest.err conftest.$ac_objext \ | |
8567 conftest$ac_exeext conftest.$ac_ext | 7308 conftest$ac_exeext conftest.$ac_ext |
8568 fi | 7309 fi |
8569 { echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5 | 7310 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5 |
8570 echo "${ECHO_T}$ac_cv_var_tzname" >&6; } | 7311 echo "${ECHO_T}$ac_cv_var_tzname" >&6 |
8571 if test $ac_cv_var_tzname = yes; then | 7312 if test $ac_cv_var_tzname = yes; then |
8572 | 7313 |
8573 cat >>confdefs.h <<\_ACEOF | 7314 cat >>confdefs.h <<\_ACEOF |
8574 #define HAVE_TZNAME 1 | 7315 #define HAVE_TZNAME 1 |
8575 _ACEOF | 7316 _ACEOF |
8576 | 7317 |
8577 fi | 7318 fi |
8578 fi | 7319 fi |
8579 | 7320 |
8580 { echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5 | 7321 echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5 |
8581 echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6; } | 7322 echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6 |
8582 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then | 7323 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then |
8583 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7324 echo $ECHO_N "(cached) $ECHO_C" >&6 |
8584 else | 7325 else |
8585 cat >conftest.$ac_ext <<_ACEOF | 7326 cat >conftest.$ac_ext <<_ACEOF |
8586 /* confdefs.h. */ | 7327 /* confdefs.h. */ |
8599 ; | 7340 ; |
8600 return 0; | 7341 return 0; |
8601 } | 7342 } |
8602 _ACEOF | 7343 _ACEOF |
8603 rm -f conftest.$ac_objext | 7344 rm -f conftest.$ac_objext |
8604 if { (ac_try="$ac_compile" | 7345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8605 case "(($ac_try" in | 7346 (eval $ac_compile) 2>conftest.er1 |
8606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8607 *) ac_try_echo=$ac_try;; | |
8608 esac | |
8609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8610 (eval "$ac_compile") 2>conftest.er1 | |
8611 ac_status=$? | 7347 ac_status=$? |
8612 grep -v '^ *+' conftest.er1 >conftest.err | 7348 grep -v '^ *+' conftest.er1 >conftest.err |
8613 rm -f conftest.er1 | 7349 rm -f conftest.er1 |
8614 cat conftest.err >&5 | 7350 cat conftest.err >&5 |
8615 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7351 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8616 (exit $ac_status); } && | 7352 (exit $ac_status); } && |
8617 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 7353 { ac_try='test -z "$ac_c_werror_flag" |
8618 { (case "(($ac_try" in | 7354 || test ! -s conftest.err' |
8619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 7355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8620 *) ac_try_echo=$ac_try;; | 7356 (eval $ac_try) 2>&5 |
8621 esac | |
8622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8623 (eval "$ac_try") 2>&5 | |
8624 ac_status=$? | 7357 ac_status=$? |
8625 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7358 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8626 (exit $ac_status); }; } && | 7359 (exit $ac_status); }; } && |
8627 { ac_try='test -s conftest.$ac_objext' | 7360 { ac_try='test -s conftest.$ac_objext' |
8628 { (case "(($ac_try" in | 7361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 7362 (eval $ac_try) 2>&5 |
8630 *) ac_try_echo=$ac_try;; | |
8631 esac | |
8632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8633 (eval "$ac_try") 2>&5 | |
8634 ac_status=$? | 7363 ac_status=$? |
8635 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7364 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8636 (exit $ac_status); }; }; then | 7365 (exit $ac_status); }; }; then |
8637 ac_cv_member_struct_tm_tm_gmtoff=yes | 7366 ac_cv_member_struct_tm_tm_gmtoff=yes |
8638 else | 7367 else |
8639 echo "$as_me: failed program was:" >&5 | 7368 echo "$as_me: failed program was:" >&5 |
8640 sed 's/^/| /' conftest.$ac_ext >&5 | 7369 sed 's/^/| /' conftest.$ac_ext >&5 |
8641 | 7370 |
8642 cat >conftest.$ac_ext <<_ACEOF | 7371 cat >conftest.$ac_ext <<_ACEOF |
8643 /* confdefs.h. */ | 7372 /* confdefs.h. */ |
8644 _ACEOF | 7373 _ACEOF |
8645 cat confdefs.h >>conftest.$ac_ext | 7374 cat confdefs.h >>conftest.$ac_ext |
8646 cat >>conftest.$ac_ext <<_ACEOF | 7375 cat >>conftest.$ac_ext <<_ACEOF |
8647 /* end confdefs.h. */ | 7376 /* end confdefs.h. */ |
8656 ; | 7385 ; |
8657 return 0; | 7386 return 0; |
8658 } | 7387 } |
8659 _ACEOF | 7388 _ACEOF |
8660 rm -f conftest.$ac_objext | 7389 rm -f conftest.$ac_objext |
8661 if { (ac_try="$ac_compile" | 7390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8662 case "(($ac_try" in | 7391 (eval $ac_compile) 2>conftest.er1 |
8663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8664 *) ac_try_echo=$ac_try;; | |
8665 esac | |
8666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8667 (eval "$ac_compile") 2>conftest.er1 | |
8668 ac_status=$? | 7392 ac_status=$? |
8669 grep -v '^ *+' conftest.er1 >conftest.err | 7393 grep -v '^ *+' conftest.er1 >conftest.err |
8670 rm -f conftest.er1 | 7394 rm -f conftest.er1 |
8671 cat conftest.err >&5 | 7395 cat conftest.err >&5 |
8672 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7396 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8673 (exit $ac_status); } && | 7397 (exit $ac_status); } && |
8674 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 7398 { ac_try='test -z "$ac_c_werror_flag" |
8675 { (case "(($ac_try" in | 7399 || test ! -s conftest.err' |
8676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 7400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8677 *) ac_try_echo=$ac_try;; | 7401 (eval $ac_try) 2>&5 |
8678 esac | |
8679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8680 (eval "$ac_try") 2>&5 | |
8681 ac_status=$? | 7402 ac_status=$? |
8682 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7403 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8683 (exit $ac_status); }; } && | 7404 (exit $ac_status); }; } && |
8684 { ac_try='test -s conftest.$ac_objext' | 7405 { ac_try='test -s conftest.$ac_objext' |
8685 { (case "(($ac_try" in | 7406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 7407 (eval $ac_try) 2>&5 |
8687 *) ac_try_echo=$ac_try;; | |
8688 esac | |
8689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8690 (eval "$ac_try") 2>&5 | |
8691 ac_status=$? | 7408 ac_status=$? |
8692 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7409 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8693 (exit $ac_status); }; }; then | 7410 (exit $ac_status); }; }; then |
8694 ac_cv_member_struct_tm_tm_gmtoff=yes | 7411 ac_cv_member_struct_tm_tm_gmtoff=yes |
8695 else | 7412 else |
8696 echo "$as_me: failed program was:" >&5 | 7413 echo "$as_me: failed program was:" >&5 |
8697 sed 's/^/| /' conftest.$ac_ext >&5 | 7414 sed 's/^/| /' conftest.$ac_ext >&5 |
8698 | 7415 |
8699 ac_cv_member_struct_tm_tm_gmtoff=no | 7416 ac_cv_member_struct_tm_tm_gmtoff=no |
8700 fi | 7417 fi |
8701 | 7418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
8702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7419 fi |
8703 fi | 7420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
8704 | 7421 fi |
8705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7422 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5 |
8706 fi | 7423 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6 |
8707 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5 | |
8708 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6; } | |
8709 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then | 7424 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then |
8710 | 7425 |
8711 cat >>confdefs.h <<\_ACEOF | 7426 cat >>confdefs.h <<\_ACEOF |
8712 #define HAVE_TM_GMTOFF 1 | 7427 #define HAVE_TM_GMTOFF 1 |
8713 _ACEOF | 7428 _ACEOF |
8714 | 7429 |
8715 fi | 7430 fi |
8716 | 7431 |
8717 { echo "$as_me:$LINENO: checking for struct ifreq.ifr_flags" >&5 | 7432 echo "$as_me:$LINENO: checking for struct ifreq.ifr_flags" >&5 |
8718 echo $ECHO_N "checking for struct ifreq.ifr_flags... $ECHO_C" >&6; } | 7433 echo $ECHO_N "checking for struct ifreq.ifr_flags... $ECHO_C" >&6 |
8719 if test "${ac_cv_member_struct_ifreq_ifr_flags+set}" = set; then | 7434 if test "${ac_cv_member_struct_ifreq_ifr_flags+set}" = set; then |
8720 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7435 echo $ECHO_N "(cached) $ECHO_C" >&6 |
8721 else | 7436 else |
8722 cat >conftest.$ac_ext <<_ACEOF | 7437 cat >conftest.$ac_ext <<_ACEOF |
8723 /* confdefs.h. */ | 7438 /* confdefs.h. */ |
8742 ; | 7457 ; |
8743 return 0; | 7458 return 0; |
8744 } | 7459 } |
8745 _ACEOF | 7460 _ACEOF |
8746 rm -f conftest.$ac_objext | 7461 rm -f conftest.$ac_objext |
8747 if { (ac_try="$ac_compile" | 7462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8748 case "(($ac_try" in | 7463 (eval $ac_compile) 2>conftest.er1 |
8749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8750 *) ac_try_echo=$ac_try;; | |
8751 esac | |
8752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8753 (eval "$ac_compile") 2>conftest.er1 | |
8754 ac_status=$? | 7464 ac_status=$? |
8755 grep -v '^ *+' conftest.er1 >conftest.err | 7465 grep -v '^ *+' conftest.er1 >conftest.err |
8756 rm -f conftest.er1 | 7466 rm -f conftest.er1 |
8757 cat conftest.err >&5 | 7467 cat conftest.err >&5 |
8758 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7468 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8759 (exit $ac_status); } && | 7469 (exit $ac_status); } && |
8760 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 7470 { ac_try='test -z "$ac_c_werror_flag" |
8761 { (case "(($ac_try" in | 7471 || test ! -s conftest.err' |
8762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 7472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8763 *) ac_try_echo=$ac_try;; | 7473 (eval $ac_try) 2>&5 |
8764 esac | |
8765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8766 (eval "$ac_try") 2>&5 | |
8767 ac_status=$? | 7474 ac_status=$? |
8768 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7475 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8769 (exit $ac_status); }; } && | 7476 (exit $ac_status); }; } && |
8770 { ac_try='test -s conftest.$ac_objext' | 7477 { ac_try='test -s conftest.$ac_objext' |
8771 { (case "(($ac_try" in | 7478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 7479 (eval $ac_try) 2>&5 |
8773 *) ac_try_echo=$ac_try;; | |
8774 esac | |
8775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8776 (eval "$ac_try") 2>&5 | |
8777 ac_status=$? | 7480 ac_status=$? |
8778 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7481 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8779 (exit $ac_status); }; }; then | 7482 (exit $ac_status); }; }; then |
8780 ac_cv_member_struct_ifreq_ifr_flags=yes | 7483 ac_cv_member_struct_ifreq_ifr_flags=yes |
8781 else | 7484 else |
8782 echo "$as_me: failed program was:" >&5 | 7485 echo "$as_me: failed program was:" >&5 |
8783 sed 's/^/| /' conftest.$ac_ext >&5 | 7486 sed 's/^/| /' conftest.$ac_ext >&5 |
8784 | 7487 |
8785 cat >conftest.$ac_ext <<_ACEOF | 7488 cat >conftest.$ac_ext <<_ACEOF |
8786 /* confdefs.h. */ | 7489 /* confdefs.h. */ |
8787 _ACEOF | 7490 _ACEOF |
8788 cat confdefs.h >>conftest.$ac_ext | 7491 cat confdefs.h >>conftest.$ac_ext |
8789 cat >>conftest.$ac_ext <<_ACEOF | 7492 cat >>conftest.$ac_ext <<_ACEOF |
8790 /* end confdefs.h. */ | 7493 /* end confdefs.h. */ |
8805 ; | 7508 ; |
8806 return 0; | 7509 return 0; |
8807 } | 7510 } |
8808 _ACEOF | 7511 _ACEOF |
8809 rm -f conftest.$ac_objext | 7512 rm -f conftest.$ac_objext |
8810 if { (ac_try="$ac_compile" | 7513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8811 case "(($ac_try" in | 7514 (eval $ac_compile) 2>conftest.er1 |
8812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8813 *) ac_try_echo=$ac_try;; | |
8814 esac | |
8815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8816 (eval "$ac_compile") 2>conftest.er1 | |
8817 ac_status=$? | 7515 ac_status=$? |
8818 grep -v '^ *+' conftest.er1 >conftest.err | 7516 grep -v '^ *+' conftest.er1 >conftest.err |
8819 rm -f conftest.er1 | 7517 rm -f conftest.er1 |
8820 cat conftest.err >&5 | 7518 cat conftest.err >&5 |
8821 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7519 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8822 (exit $ac_status); } && | 7520 (exit $ac_status); } && |
8823 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 7521 { ac_try='test -z "$ac_c_werror_flag" |
8824 { (case "(($ac_try" in | 7522 || test ! -s conftest.err' |
8825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 7523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8826 *) ac_try_echo=$ac_try;; | 7524 (eval $ac_try) 2>&5 |
8827 esac | |
8828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8829 (eval "$ac_try") 2>&5 | |
8830 ac_status=$? | 7525 ac_status=$? |
8831 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7526 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8832 (exit $ac_status); }; } && | 7527 (exit $ac_status); }; } && |
8833 { ac_try='test -s conftest.$ac_objext' | 7528 { ac_try='test -s conftest.$ac_objext' |
8834 { (case "(($ac_try" in | 7529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 7530 (eval $ac_try) 2>&5 |
8836 *) ac_try_echo=$ac_try;; | |
8837 esac | |
8838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8839 (eval "$ac_try") 2>&5 | |
8840 ac_status=$? | 7531 ac_status=$? |
8841 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7532 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8842 (exit $ac_status); }; }; then | 7533 (exit $ac_status); }; }; then |
8843 ac_cv_member_struct_ifreq_ifr_flags=yes | 7534 ac_cv_member_struct_ifreq_ifr_flags=yes |
8844 else | 7535 else |
8845 echo "$as_me: failed program was:" >&5 | 7536 echo "$as_me: failed program was:" >&5 |
8846 sed 's/^/| /' conftest.$ac_ext >&5 | 7537 sed 's/^/| /' conftest.$ac_ext >&5 |
8847 | 7538 |
8848 ac_cv_member_struct_ifreq_ifr_flags=no | 7539 ac_cv_member_struct_ifreq_ifr_flags=no |
8849 fi | 7540 fi |
8850 | 7541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
8851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7542 fi |
8852 fi | 7543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
8853 | 7544 fi |
8854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7545 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_flags" >&5 |
8855 fi | 7546 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_flags" >&6 |
8856 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_flags" >&5 | |
8857 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_flags" >&6; } | |
8858 if test $ac_cv_member_struct_ifreq_ifr_flags = yes; then | 7547 if test $ac_cv_member_struct_ifreq_ifr_flags = yes; then |
8859 | 7548 |
8860 cat >>confdefs.h <<_ACEOF | 7549 cat >>confdefs.h <<_ACEOF |
8861 #define HAVE_STRUCT_IFREQ_IFR_FLAGS 1 | 7550 #define HAVE_STRUCT_IFREQ_IFR_FLAGS 1 |
8862 _ACEOF | 7551 _ACEOF |
8863 | 7552 |
8864 | 7553 |
8865 fi | 7554 fi |
8866 { echo "$as_me:$LINENO: checking for struct ifreq.ifr_hwaddr" >&5 | 7555 echo "$as_me:$LINENO: checking for struct ifreq.ifr_hwaddr" >&5 |
8867 echo $ECHO_N "checking for struct ifreq.ifr_hwaddr... $ECHO_C" >&6; } | 7556 echo $ECHO_N "checking for struct ifreq.ifr_hwaddr... $ECHO_C" >&6 |
8868 if test "${ac_cv_member_struct_ifreq_ifr_hwaddr+set}" = set; then | 7557 if test "${ac_cv_member_struct_ifreq_ifr_hwaddr+set}" = set; then |
8869 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7558 echo $ECHO_N "(cached) $ECHO_C" >&6 |
8870 else | 7559 else |
8871 cat >conftest.$ac_ext <<_ACEOF | 7560 cat >conftest.$ac_ext <<_ACEOF |
8872 /* confdefs.h. */ | 7561 /* confdefs.h. */ |
8891 ; | 7580 ; |
8892 return 0; | 7581 return 0; |
8893 } | 7582 } |
8894 _ACEOF | 7583 _ACEOF |
8895 rm -f conftest.$ac_objext | 7584 rm -f conftest.$ac_objext |
8896 if { (ac_try="$ac_compile" | 7585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8897 case "(($ac_try" in | 7586 (eval $ac_compile) 2>conftest.er1 |
8898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8899 *) ac_try_echo=$ac_try;; | |
8900 esac | |
8901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8902 (eval "$ac_compile") 2>conftest.er1 | |
8903 ac_status=$? | 7587 ac_status=$? |
8904 grep -v '^ *+' conftest.er1 >conftest.err | 7588 grep -v '^ *+' conftest.er1 >conftest.err |
8905 rm -f conftest.er1 | 7589 rm -f conftest.er1 |
8906 cat conftest.err >&5 | 7590 cat conftest.err >&5 |
8907 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7591 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8908 (exit $ac_status); } && | 7592 (exit $ac_status); } && |
8909 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 7593 { ac_try='test -z "$ac_c_werror_flag" |
8910 { (case "(($ac_try" in | 7594 || test ! -s conftest.err' |
8911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 7595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8912 *) ac_try_echo=$ac_try;; | 7596 (eval $ac_try) 2>&5 |
8913 esac | |
8914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8915 (eval "$ac_try") 2>&5 | |
8916 ac_status=$? | 7597 ac_status=$? |
8917 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7598 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8918 (exit $ac_status); }; } && | 7599 (exit $ac_status); }; } && |
8919 { ac_try='test -s conftest.$ac_objext' | 7600 { ac_try='test -s conftest.$ac_objext' |
8920 { (case "(($ac_try" in | 7601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 7602 (eval $ac_try) 2>&5 |
8922 *) ac_try_echo=$ac_try;; | |
8923 esac | |
8924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8925 (eval "$ac_try") 2>&5 | |
8926 ac_status=$? | 7603 ac_status=$? |
8927 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7604 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8928 (exit $ac_status); }; }; then | 7605 (exit $ac_status); }; }; then |
8929 ac_cv_member_struct_ifreq_ifr_hwaddr=yes | 7606 ac_cv_member_struct_ifreq_ifr_hwaddr=yes |
8930 else | 7607 else |
8931 echo "$as_me: failed program was:" >&5 | 7608 echo "$as_me: failed program was:" >&5 |
8932 sed 's/^/| /' conftest.$ac_ext >&5 | 7609 sed 's/^/| /' conftest.$ac_ext >&5 |
8933 | 7610 |
8934 cat >conftest.$ac_ext <<_ACEOF | 7611 cat >conftest.$ac_ext <<_ACEOF |
8935 /* confdefs.h. */ | 7612 /* confdefs.h. */ |
8936 _ACEOF | 7613 _ACEOF |
8937 cat confdefs.h >>conftest.$ac_ext | 7614 cat confdefs.h >>conftest.$ac_ext |
8938 cat >>conftest.$ac_ext <<_ACEOF | 7615 cat >>conftest.$ac_ext <<_ACEOF |
8939 /* end confdefs.h. */ | 7616 /* end confdefs.h. */ |
8954 ; | 7631 ; |
8955 return 0; | 7632 return 0; |
8956 } | 7633 } |
8957 _ACEOF | 7634 _ACEOF |
8958 rm -f conftest.$ac_objext | 7635 rm -f conftest.$ac_objext |
8959 if { (ac_try="$ac_compile" | 7636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8960 case "(($ac_try" in | 7637 (eval $ac_compile) 2>conftest.er1 |
8961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8962 *) ac_try_echo=$ac_try;; | |
8963 esac | |
8964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8965 (eval "$ac_compile") 2>conftest.er1 | |
8966 ac_status=$? | 7638 ac_status=$? |
8967 grep -v '^ *+' conftest.er1 >conftest.err | 7639 grep -v '^ *+' conftest.er1 >conftest.err |
8968 rm -f conftest.er1 | 7640 rm -f conftest.er1 |
8969 cat conftest.err >&5 | 7641 cat conftest.err >&5 |
8970 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7642 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8971 (exit $ac_status); } && | 7643 (exit $ac_status); } && |
8972 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 7644 { ac_try='test -z "$ac_c_werror_flag" |
8973 { (case "(($ac_try" in | 7645 || test ! -s conftest.err' |
8974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 7646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8975 *) ac_try_echo=$ac_try;; | 7647 (eval $ac_try) 2>&5 |
8976 esac | |
8977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8978 (eval "$ac_try") 2>&5 | |
8979 ac_status=$? | 7648 ac_status=$? |
8980 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7649 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8981 (exit $ac_status); }; } && | 7650 (exit $ac_status); }; } && |
8982 { ac_try='test -s conftest.$ac_objext' | 7651 { ac_try='test -s conftest.$ac_objext' |
8983 { (case "(($ac_try" in | 7652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 7653 (eval $ac_try) 2>&5 |
8985 *) ac_try_echo=$ac_try;; | |
8986 esac | |
8987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8988 (eval "$ac_try") 2>&5 | |
8989 ac_status=$? | 7654 ac_status=$? |
8990 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7655 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8991 (exit $ac_status); }; }; then | 7656 (exit $ac_status); }; }; then |
8992 ac_cv_member_struct_ifreq_ifr_hwaddr=yes | 7657 ac_cv_member_struct_ifreq_ifr_hwaddr=yes |
8993 else | 7658 else |
8994 echo "$as_me: failed program was:" >&5 | 7659 echo "$as_me: failed program was:" >&5 |
8995 sed 's/^/| /' conftest.$ac_ext >&5 | 7660 sed 's/^/| /' conftest.$ac_ext >&5 |
8996 | 7661 |
8997 ac_cv_member_struct_ifreq_ifr_hwaddr=no | 7662 ac_cv_member_struct_ifreq_ifr_hwaddr=no |
8998 fi | 7663 fi |
8999 | 7664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
9000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7665 fi |
9001 fi | 7666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
9002 | 7667 fi |
9003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7668 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_hwaddr" >&5 |
9004 fi | 7669 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_hwaddr" >&6 |
9005 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_hwaddr" >&5 | |
9006 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_hwaddr" >&6; } | |
9007 if test $ac_cv_member_struct_ifreq_ifr_hwaddr = yes; then | 7670 if test $ac_cv_member_struct_ifreq_ifr_hwaddr = yes; then |
9008 | 7671 |
9009 cat >>confdefs.h <<_ACEOF | 7672 cat >>confdefs.h <<_ACEOF |
9010 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1 | 7673 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1 |
9011 _ACEOF | 7674 _ACEOF |
9012 | 7675 |
9013 | 7676 |
9014 fi | 7677 fi |
9015 { echo "$as_me:$LINENO: checking for struct ifreq.ifr_netmask" >&5 | 7678 echo "$as_me:$LINENO: checking for struct ifreq.ifr_netmask" >&5 |
9016 echo $ECHO_N "checking for struct ifreq.ifr_netmask... $ECHO_C" >&6; } | 7679 echo $ECHO_N "checking for struct ifreq.ifr_netmask... $ECHO_C" >&6 |
9017 if test "${ac_cv_member_struct_ifreq_ifr_netmask+set}" = set; then | 7680 if test "${ac_cv_member_struct_ifreq_ifr_netmask+set}" = set; then |
9018 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7681 echo $ECHO_N "(cached) $ECHO_C" >&6 |
9019 else | 7682 else |
9020 cat >conftest.$ac_ext <<_ACEOF | 7683 cat >conftest.$ac_ext <<_ACEOF |
9021 /* confdefs.h. */ | 7684 /* confdefs.h. */ |
9040 ; | 7703 ; |
9041 return 0; | 7704 return 0; |
9042 } | 7705 } |
9043 _ACEOF | 7706 _ACEOF |
9044 rm -f conftest.$ac_objext | 7707 rm -f conftest.$ac_objext |
9045 if { (ac_try="$ac_compile" | 7708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
9046 case "(($ac_try" in | 7709 (eval $ac_compile) 2>conftest.er1 |
9047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9048 *) ac_try_echo=$ac_try;; | |
9049 esac | |
9050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9051 (eval "$ac_compile") 2>conftest.er1 | |
9052 ac_status=$? | 7710 ac_status=$? |
9053 grep -v '^ *+' conftest.er1 >conftest.err | 7711 grep -v '^ *+' conftest.er1 >conftest.err |
9054 rm -f conftest.er1 | 7712 rm -f conftest.er1 |
9055 cat conftest.err >&5 | 7713 cat conftest.err >&5 |
9056 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7714 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9057 (exit $ac_status); } && | 7715 (exit $ac_status); } && |
9058 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 7716 { ac_try='test -z "$ac_c_werror_flag" |
9059 { (case "(($ac_try" in | 7717 || test ! -s conftest.err' |
9060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 7718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9061 *) ac_try_echo=$ac_try;; | 7719 (eval $ac_try) 2>&5 |
9062 esac | |
9063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9064 (eval "$ac_try") 2>&5 | |
9065 ac_status=$? | 7720 ac_status=$? |
9066 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7721 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9067 (exit $ac_status); }; } && | 7722 (exit $ac_status); }; } && |
9068 { ac_try='test -s conftest.$ac_objext' | 7723 { ac_try='test -s conftest.$ac_objext' |
9069 { (case "(($ac_try" in | 7724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 7725 (eval $ac_try) 2>&5 |
9071 *) ac_try_echo=$ac_try;; | |
9072 esac | |
9073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9074 (eval "$ac_try") 2>&5 | |
9075 ac_status=$? | 7726 ac_status=$? |
9076 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7727 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9077 (exit $ac_status); }; }; then | 7728 (exit $ac_status); }; }; then |
9078 ac_cv_member_struct_ifreq_ifr_netmask=yes | 7729 ac_cv_member_struct_ifreq_ifr_netmask=yes |
9079 else | 7730 else |
9080 echo "$as_me: failed program was:" >&5 | 7731 echo "$as_me: failed program was:" >&5 |
9081 sed 's/^/| /' conftest.$ac_ext >&5 | 7732 sed 's/^/| /' conftest.$ac_ext >&5 |
9082 | 7733 |
9083 cat >conftest.$ac_ext <<_ACEOF | 7734 cat >conftest.$ac_ext <<_ACEOF |
9084 /* confdefs.h. */ | 7735 /* confdefs.h. */ |
9085 _ACEOF | 7736 _ACEOF |
9086 cat confdefs.h >>conftest.$ac_ext | 7737 cat confdefs.h >>conftest.$ac_ext |
9087 cat >>conftest.$ac_ext <<_ACEOF | 7738 cat >>conftest.$ac_ext <<_ACEOF |
9088 /* end confdefs.h. */ | 7739 /* end confdefs.h. */ |
9103 ; | 7754 ; |
9104 return 0; | 7755 return 0; |
9105 } | 7756 } |
9106 _ACEOF | 7757 _ACEOF |
9107 rm -f conftest.$ac_objext | 7758 rm -f conftest.$ac_objext |
9108 if { (ac_try="$ac_compile" | 7759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
9109 case "(($ac_try" in | 7760 (eval $ac_compile) 2>conftest.er1 |
9110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9111 *) ac_try_echo=$ac_try;; | |
9112 esac | |
9113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9114 (eval "$ac_compile") 2>conftest.er1 | |
9115 ac_status=$? | 7761 ac_status=$? |
9116 grep -v '^ *+' conftest.er1 >conftest.err | 7762 grep -v '^ *+' conftest.er1 >conftest.err |
9117 rm -f conftest.er1 | 7763 rm -f conftest.er1 |
9118 cat conftest.err >&5 | 7764 cat conftest.err >&5 |
9119 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7765 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9120 (exit $ac_status); } && | 7766 (exit $ac_status); } && |
9121 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 7767 { ac_try='test -z "$ac_c_werror_flag" |
9122 { (case "(($ac_try" in | 7768 || test ! -s conftest.err' |
9123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 7769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9124 *) ac_try_echo=$ac_try;; | 7770 (eval $ac_try) 2>&5 |
9125 esac | |
9126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9127 (eval "$ac_try") 2>&5 | |
9128 ac_status=$? | 7771 ac_status=$? |
9129 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7772 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9130 (exit $ac_status); }; } && | 7773 (exit $ac_status); }; } && |
9131 { ac_try='test -s conftest.$ac_objext' | 7774 { ac_try='test -s conftest.$ac_objext' |
9132 { (case "(($ac_try" in | 7775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 7776 (eval $ac_try) 2>&5 |
9134 *) ac_try_echo=$ac_try;; | |
9135 esac | |
9136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9137 (eval "$ac_try") 2>&5 | |
9138 ac_status=$? | 7777 ac_status=$? |
9139 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7778 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9140 (exit $ac_status); }; }; then | 7779 (exit $ac_status); }; }; then |
9141 ac_cv_member_struct_ifreq_ifr_netmask=yes | 7780 ac_cv_member_struct_ifreq_ifr_netmask=yes |
9142 else | 7781 else |
9143 echo "$as_me: failed program was:" >&5 | 7782 echo "$as_me: failed program was:" >&5 |
9144 sed 's/^/| /' conftest.$ac_ext >&5 | 7783 sed 's/^/| /' conftest.$ac_ext >&5 |
9145 | 7784 |
9146 ac_cv_member_struct_ifreq_ifr_netmask=no | 7785 ac_cv_member_struct_ifreq_ifr_netmask=no |
9147 fi | 7786 fi |
9148 | 7787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
9149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7788 fi |
9150 fi | 7789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
9151 | 7790 fi |
9152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7791 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_netmask" >&5 |
9153 fi | 7792 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_netmask" >&6 |
9154 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_netmask" >&5 | |
9155 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_netmask" >&6; } | |
9156 if test $ac_cv_member_struct_ifreq_ifr_netmask = yes; then | 7793 if test $ac_cv_member_struct_ifreq_ifr_netmask = yes; then |
9157 | 7794 |
9158 cat >>confdefs.h <<_ACEOF | 7795 cat >>confdefs.h <<_ACEOF |
9159 #define HAVE_STRUCT_IFREQ_IFR_NETMASK 1 | 7796 #define HAVE_STRUCT_IFREQ_IFR_NETMASK 1 |
9160 _ACEOF | 7797 _ACEOF |
9161 | 7798 |
9162 | 7799 |
9163 fi | 7800 fi |
9164 { echo "$as_me:$LINENO: checking for struct ifreq.ifr_broadaddr" >&5 | 7801 echo "$as_me:$LINENO: checking for struct ifreq.ifr_broadaddr" >&5 |
9165 echo $ECHO_N "checking for struct ifreq.ifr_broadaddr... $ECHO_C" >&6; } | 7802 echo $ECHO_N "checking for struct ifreq.ifr_broadaddr... $ECHO_C" >&6 |
9166 if test "${ac_cv_member_struct_ifreq_ifr_broadaddr+set}" = set; then | 7803 if test "${ac_cv_member_struct_ifreq_ifr_broadaddr+set}" = set; then |
9167 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7804 echo $ECHO_N "(cached) $ECHO_C" >&6 |
9168 else | 7805 else |
9169 cat >conftest.$ac_ext <<_ACEOF | 7806 cat >conftest.$ac_ext <<_ACEOF |
9170 /* confdefs.h. */ | 7807 /* confdefs.h. */ |
9189 ; | 7826 ; |
9190 return 0; | 7827 return 0; |
9191 } | 7828 } |
9192 _ACEOF | 7829 _ACEOF |
9193 rm -f conftest.$ac_objext | 7830 rm -f conftest.$ac_objext |
9194 if { (ac_try="$ac_compile" | 7831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
9195 case "(($ac_try" in | 7832 (eval $ac_compile) 2>conftest.er1 |
9196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9197 *) ac_try_echo=$ac_try;; | |
9198 esac | |
9199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9200 (eval "$ac_compile") 2>conftest.er1 | |
9201 ac_status=$? | 7833 ac_status=$? |
9202 grep -v '^ *+' conftest.er1 >conftest.err | 7834 grep -v '^ *+' conftest.er1 >conftest.err |
9203 rm -f conftest.er1 | 7835 rm -f conftest.er1 |
9204 cat conftest.err >&5 | 7836 cat conftest.err >&5 |
9205 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7837 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9206 (exit $ac_status); } && | 7838 (exit $ac_status); } && |
9207 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 7839 { ac_try='test -z "$ac_c_werror_flag" |
9208 { (case "(($ac_try" in | 7840 || test ! -s conftest.err' |
9209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 7841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9210 *) ac_try_echo=$ac_try;; | 7842 (eval $ac_try) 2>&5 |
9211 esac | |
9212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9213 (eval "$ac_try") 2>&5 | |
9214 ac_status=$? | 7843 ac_status=$? |
9215 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7844 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9216 (exit $ac_status); }; } && | 7845 (exit $ac_status); }; } && |
9217 { ac_try='test -s conftest.$ac_objext' | 7846 { ac_try='test -s conftest.$ac_objext' |
9218 { (case "(($ac_try" in | 7847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 7848 (eval $ac_try) 2>&5 |
9220 *) ac_try_echo=$ac_try;; | |
9221 esac | |
9222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9223 (eval "$ac_try") 2>&5 | |
9224 ac_status=$? | 7849 ac_status=$? |
9225 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7850 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9226 (exit $ac_status); }; }; then | 7851 (exit $ac_status); }; }; then |
9227 ac_cv_member_struct_ifreq_ifr_broadaddr=yes | 7852 ac_cv_member_struct_ifreq_ifr_broadaddr=yes |
9228 else | 7853 else |
9229 echo "$as_me: failed program was:" >&5 | 7854 echo "$as_me: failed program was:" >&5 |
9230 sed 's/^/| /' conftest.$ac_ext >&5 | 7855 sed 's/^/| /' conftest.$ac_ext >&5 |
9231 | 7856 |
9232 cat >conftest.$ac_ext <<_ACEOF | 7857 cat >conftest.$ac_ext <<_ACEOF |
9233 /* confdefs.h. */ | 7858 /* confdefs.h. */ |
9234 _ACEOF | 7859 _ACEOF |
9235 cat confdefs.h >>conftest.$ac_ext | 7860 cat confdefs.h >>conftest.$ac_ext |
9236 cat >>conftest.$ac_ext <<_ACEOF | 7861 cat >>conftest.$ac_ext <<_ACEOF |
9237 /* end confdefs.h. */ | 7862 /* end confdefs.h. */ |
9252 ; | 7877 ; |
9253 return 0; | 7878 return 0; |
9254 } | 7879 } |
9255 _ACEOF | 7880 _ACEOF |
9256 rm -f conftest.$ac_objext | 7881 rm -f conftest.$ac_objext |
9257 if { (ac_try="$ac_compile" | 7882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
9258 case "(($ac_try" in | 7883 (eval $ac_compile) 2>conftest.er1 |
9259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9260 *) ac_try_echo=$ac_try;; | |
9261 esac | |
9262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9263 (eval "$ac_compile") 2>conftest.er1 | |
9264 ac_status=$? | 7884 ac_status=$? |
9265 grep -v '^ *+' conftest.er1 >conftest.err | 7885 grep -v '^ *+' conftest.er1 >conftest.err |
9266 rm -f conftest.er1 | 7886 rm -f conftest.er1 |
9267 cat conftest.err >&5 | 7887 cat conftest.err >&5 |
9268 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7888 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9269 (exit $ac_status); } && | 7889 (exit $ac_status); } && |
9270 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 7890 { ac_try='test -z "$ac_c_werror_flag" |
9271 { (case "(($ac_try" in | 7891 || test ! -s conftest.err' |
9272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 7892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9273 *) ac_try_echo=$ac_try;; | 7893 (eval $ac_try) 2>&5 |
9274 esac | |
9275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9276 (eval "$ac_try") 2>&5 | |
9277 ac_status=$? | 7894 ac_status=$? |
9278 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7895 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9279 (exit $ac_status); }; } && | 7896 (exit $ac_status); }; } && |
9280 { ac_try='test -s conftest.$ac_objext' | 7897 { ac_try='test -s conftest.$ac_objext' |
9281 { (case "(($ac_try" in | 7898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 7899 (eval $ac_try) 2>&5 |
9283 *) ac_try_echo=$ac_try;; | |
9284 esac | |
9285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9286 (eval "$ac_try") 2>&5 | |
9287 ac_status=$? | 7900 ac_status=$? |
9288 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7901 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9289 (exit $ac_status); }; }; then | 7902 (exit $ac_status); }; }; then |
9290 ac_cv_member_struct_ifreq_ifr_broadaddr=yes | 7903 ac_cv_member_struct_ifreq_ifr_broadaddr=yes |
9291 else | 7904 else |
9292 echo "$as_me: failed program was:" >&5 | 7905 echo "$as_me: failed program was:" >&5 |
9293 sed 's/^/| /' conftest.$ac_ext >&5 | 7906 sed 's/^/| /' conftest.$ac_ext >&5 |
9294 | 7907 |
9295 ac_cv_member_struct_ifreq_ifr_broadaddr=no | 7908 ac_cv_member_struct_ifreq_ifr_broadaddr=no |
9296 fi | 7909 fi |
9297 | 7910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
9298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7911 fi |
9299 fi | 7912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
9300 | 7913 fi |
9301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7914 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_broadaddr" >&5 |
9302 fi | 7915 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_broadaddr" >&6 |
9303 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_broadaddr" >&5 | |
9304 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_broadaddr" >&6; } | |
9305 if test $ac_cv_member_struct_ifreq_ifr_broadaddr = yes; then | 7916 if test $ac_cv_member_struct_ifreq_ifr_broadaddr = yes; then |
9306 | 7917 |
9307 cat >>confdefs.h <<_ACEOF | 7918 cat >>confdefs.h <<_ACEOF |
9308 #define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1 | 7919 #define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1 |
9309 _ACEOF | 7920 _ACEOF |
9310 | 7921 |
9311 | 7922 |
9312 fi | 7923 fi |
9313 { echo "$as_me:$LINENO: checking for struct ifreq.ifr_addr" >&5 | 7924 echo "$as_me:$LINENO: checking for struct ifreq.ifr_addr" >&5 |
9314 echo $ECHO_N "checking for struct ifreq.ifr_addr... $ECHO_C" >&6; } | 7925 echo $ECHO_N "checking for struct ifreq.ifr_addr... $ECHO_C" >&6 |
9315 if test "${ac_cv_member_struct_ifreq_ifr_addr+set}" = set; then | 7926 if test "${ac_cv_member_struct_ifreq_ifr_addr+set}" = set; then |
9316 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7927 echo $ECHO_N "(cached) $ECHO_C" >&6 |
9317 else | 7928 else |
9318 cat >conftest.$ac_ext <<_ACEOF | 7929 cat >conftest.$ac_ext <<_ACEOF |
9319 /* confdefs.h. */ | 7930 /* confdefs.h. */ |
9338 ; | 7949 ; |
9339 return 0; | 7950 return 0; |
9340 } | 7951 } |
9341 _ACEOF | 7952 _ACEOF |
9342 rm -f conftest.$ac_objext | 7953 rm -f conftest.$ac_objext |
9343 if { (ac_try="$ac_compile" | 7954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
9344 case "(($ac_try" in | 7955 (eval $ac_compile) 2>conftest.er1 |
9345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9346 *) ac_try_echo=$ac_try;; | |
9347 esac | |
9348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9349 (eval "$ac_compile") 2>conftest.er1 | |
9350 ac_status=$? | 7956 ac_status=$? |
9351 grep -v '^ *+' conftest.er1 >conftest.err | 7957 grep -v '^ *+' conftest.er1 >conftest.err |
9352 rm -f conftest.er1 | 7958 rm -f conftest.er1 |
9353 cat conftest.err >&5 | 7959 cat conftest.err >&5 |
9354 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7960 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9355 (exit $ac_status); } && | 7961 (exit $ac_status); } && |
9356 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 7962 { ac_try='test -z "$ac_c_werror_flag" |
9357 { (case "(($ac_try" in | 7963 || test ! -s conftest.err' |
9358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 7964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9359 *) ac_try_echo=$ac_try;; | 7965 (eval $ac_try) 2>&5 |
9360 esac | |
9361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9362 (eval "$ac_try") 2>&5 | |
9363 ac_status=$? | 7966 ac_status=$? |
9364 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7967 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9365 (exit $ac_status); }; } && | 7968 (exit $ac_status); }; } && |
9366 { ac_try='test -s conftest.$ac_objext' | 7969 { ac_try='test -s conftest.$ac_objext' |
9367 { (case "(($ac_try" in | 7970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 7971 (eval $ac_try) 2>&5 |
9369 *) ac_try_echo=$ac_try;; | |
9370 esac | |
9371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9372 (eval "$ac_try") 2>&5 | |
9373 ac_status=$? | 7972 ac_status=$? |
9374 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7973 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9375 (exit $ac_status); }; }; then | 7974 (exit $ac_status); }; }; then |
9376 ac_cv_member_struct_ifreq_ifr_addr=yes | 7975 ac_cv_member_struct_ifreq_ifr_addr=yes |
9377 else | 7976 else |
9378 echo "$as_me: failed program was:" >&5 | 7977 echo "$as_me: failed program was:" >&5 |
9379 sed 's/^/| /' conftest.$ac_ext >&5 | 7978 sed 's/^/| /' conftest.$ac_ext >&5 |
9380 | 7979 |
9381 cat >conftest.$ac_ext <<_ACEOF | 7980 cat >conftest.$ac_ext <<_ACEOF |
9382 /* confdefs.h. */ | 7981 /* confdefs.h. */ |
9383 _ACEOF | 7982 _ACEOF |
9384 cat confdefs.h >>conftest.$ac_ext | 7983 cat confdefs.h >>conftest.$ac_ext |
9385 cat >>conftest.$ac_ext <<_ACEOF | 7984 cat >>conftest.$ac_ext <<_ACEOF |
9386 /* end confdefs.h. */ | 7985 /* end confdefs.h. */ |
9401 ; | 8000 ; |
9402 return 0; | 8001 return 0; |
9403 } | 8002 } |
9404 _ACEOF | 8003 _ACEOF |
9405 rm -f conftest.$ac_objext | 8004 rm -f conftest.$ac_objext |
9406 if { (ac_try="$ac_compile" | 8005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
9407 case "(($ac_try" in | 8006 (eval $ac_compile) 2>conftest.er1 |
9408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9409 *) ac_try_echo=$ac_try;; | |
9410 esac | |
9411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9412 (eval "$ac_compile") 2>conftest.er1 | |
9413 ac_status=$? | 8007 ac_status=$? |
9414 grep -v '^ *+' conftest.er1 >conftest.err | 8008 grep -v '^ *+' conftest.er1 >conftest.err |
9415 rm -f conftest.er1 | 8009 rm -f conftest.er1 |
9416 cat conftest.err >&5 | 8010 cat conftest.err >&5 |
9417 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8011 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9418 (exit $ac_status); } && | 8012 (exit $ac_status); } && |
9419 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 8013 { ac_try='test -z "$ac_c_werror_flag" |
9420 { (case "(($ac_try" in | 8014 || test ! -s conftest.err' |
9421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 8015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9422 *) ac_try_echo=$ac_try;; | 8016 (eval $ac_try) 2>&5 |
9423 esac | |
9424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9425 (eval "$ac_try") 2>&5 | |
9426 ac_status=$? | 8017 ac_status=$? |
9427 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8018 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9428 (exit $ac_status); }; } && | 8019 (exit $ac_status); }; } && |
9429 { ac_try='test -s conftest.$ac_objext' | 8020 { ac_try='test -s conftest.$ac_objext' |
9430 { (case "(($ac_try" in | 8021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 8022 (eval $ac_try) 2>&5 |
9432 *) ac_try_echo=$ac_try;; | |
9433 esac | |
9434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9435 (eval "$ac_try") 2>&5 | |
9436 ac_status=$? | 8023 ac_status=$? |
9437 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8024 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9438 (exit $ac_status); }; }; then | 8025 (exit $ac_status); }; }; then |
9439 ac_cv_member_struct_ifreq_ifr_addr=yes | 8026 ac_cv_member_struct_ifreq_ifr_addr=yes |
9440 else | 8027 else |
9441 echo "$as_me: failed program was:" >&5 | 8028 echo "$as_me: failed program was:" >&5 |
9442 sed 's/^/| /' conftest.$ac_ext >&5 | 8029 sed 's/^/| /' conftest.$ac_ext >&5 |
9443 | 8030 |
9444 ac_cv_member_struct_ifreq_ifr_addr=no | 8031 ac_cv_member_struct_ifreq_ifr_addr=no |
9445 fi | 8032 fi |
9446 | 8033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
9447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 8034 fi |
9448 fi | 8035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
9449 | 8036 fi |
9450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 8037 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_addr" >&5 |
9451 fi | 8038 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_addr" >&6 |
9452 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_addr" >&5 | |
9453 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_addr" >&6; } | |
9454 if test $ac_cv_member_struct_ifreq_ifr_addr = yes; then | 8039 if test $ac_cv_member_struct_ifreq_ifr_addr = yes; then |
9455 | 8040 |
9456 cat >>confdefs.h <<_ACEOF | 8041 cat >>confdefs.h <<_ACEOF |
9457 #define HAVE_STRUCT_IFREQ_IFR_ADDR 1 | 8042 #define HAVE_STRUCT_IFREQ_IFR_ADDR 1 |
9458 _ACEOF | 8043 _ACEOF |
9460 | 8045 |
9461 fi | 8046 fi |
9462 | 8047 |
9463 | 8048 |
9464 | 8049 |
9465 { echo "$as_me:$LINENO: checking for function prototypes" >&5 | 8050 echo "$as_me:$LINENO: checking for function prototypes" >&5 |
9466 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6; } | 8051 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 |
9467 if test "$ac_cv_prog_cc_c89" != no; then | 8052 if test "$ac_cv_prog_cc_stdc" != no; then |
9468 { echo "$as_me:$LINENO: result: yes" >&5 | 8053 echo "$as_me:$LINENO: result: yes" >&5 |
9469 echo "${ECHO_T}yes" >&6; } | 8054 echo "${ECHO_T}yes" >&6 |
9470 | 8055 |
9471 cat >>confdefs.h <<\_ACEOF | 8056 cat >>confdefs.h <<\_ACEOF |
9472 #define PROTOTYPES 1 | 8057 #define PROTOTYPES 1 |
9473 _ACEOF | 8058 _ACEOF |
9474 | 8059 |
9476 cat >>confdefs.h <<\_ACEOF | 8061 cat >>confdefs.h <<\_ACEOF |
9477 #define __PROTOTYPES 1 | 8062 #define __PROTOTYPES 1 |
9478 _ACEOF | 8063 _ACEOF |
9479 | 8064 |
9480 else | 8065 else |
9481 { echo "$as_me:$LINENO: result: no" >&5 | 8066 echo "$as_me:$LINENO: result: no" >&5 |
9482 echo "${ECHO_T}no" >&6; } | 8067 echo "${ECHO_T}no" >&6 |
9483 fi | 8068 fi |
9484 | 8069 |
9485 { echo "$as_me:$LINENO: checking for working volatile" >&5 | 8070 echo "$as_me:$LINENO: checking for working volatile" >&5 |
9486 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6; } | 8071 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6 |
9487 if test "${ac_cv_c_volatile+set}" = set; then | 8072 if test "${ac_cv_c_volatile+set}" = set; then |
9488 echo $ECHO_N "(cached) $ECHO_C" >&6 | 8073 echo $ECHO_N "(cached) $ECHO_C" >&6 |
9489 else | 8074 else |
9490 cat >conftest.$ac_ext <<_ACEOF | 8075 cat >conftest.$ac_ext <<_ACEOF |
9491 /* confdefs.h. */ | 8076 /* confdefs.h. */ |
9497 int | 8082 int |
9498 main () | 8083 main () |
9499 { | 8084 { |
9500 | 8085 |
9501 volatile int x; | 8086 volatile int x; |
9502 int * volatile y = (int *) 0; | 8087 int * volatile y; |
9503 return !x && !y; | |
9504 ; | 8088 ; |
9505 return 0; | 8089 return 0; |
9506 } | 8090 } |
9507 _ACEOF | 8091 _ACEOF |
9508 rm -f conftest.$ac_objext | 8092 rm -f conftest.$ac_objext |
9509 if { (ac_try="$ac_compile" | 8093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
9510 case "(($ac_try" in | 8094 (eval $ac_compile) 2>conftest.er1 |
9511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9512 *) ac_try_echo=$ac_try;; | |
9513 esac | |
9514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9515 (eval "$ac_compile") 2>conftest.er1 | |
9516 ac_status=$? | 8095 ac_status=$? |
9517 grep -v '^ *+' conftest.er1 >conftest.err | 8096 grep -v '^ *+' conftest.er1 >conftest.err |
9518 rm -f conftest.er1 | 8097 rm -f conftest.er1 |
9519 cat conftest.err >&5 | 8098 cat conftest.err >&5 |
9520 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8099 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9521 (exit $ac_status); } && | 8100 (exit $ac_status); } && |
9522 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 8101 { ac_try='test -z "$ac_c_werror_flag" |
9523 { (case "(($ac_try" in | 8102 || test ! -s conftest.err' |
9524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 8103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9525 *) ac_try_echo=$ac_try;; | 8104 (eval $ac_try) 2>&5 |
9526 esac | |
9527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9528 (eval "$ac_try") 2>&5 | |
9529 ac_status=$? | 8105 ac_status=$? |
9530 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8106 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9531 (exit $ac_status); }; } && | 8107 (exit $ac_status); }; } && |
9532 { ac_try='test -s conftest.$ac_objext' | 8108 { ac_try='test -s conftest.$ac_objext' |
9533 { (case "(($ac_try" in | 8109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 8110 (eval $ac_try) 2>&5 |
9535 *) ac_try_echo=$ac_try;; | |
9536 esac | |
9537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9538 (eval "$ac_try") 2>&5 | |
9539 ac_status=$? | 8111 ac_status=$? |
9540 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8112 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9541 (exit $ac_status); }; }; then | 8113 (exit $ac_status); }; }; then |
9542 ac_cv_c_volatile=yes | 8114 ac_cv_c_volatile=yes |
9543 else | 8115 else |
9544 echo "$as_me: failed program was:" >&5 | 8116 echo "$as_me: failed program was:" >&5 |
9545 sed 's/^/| /' conftest.$ac_ext >&5 | 8117 sed 's/^/| /' conftest.$ac_ext >&5 |
9546 | 8118 |
9547 ac_cv_c_volatile=no | 8119 ac_cv_c_volatile=no |
9548 fi | 8120 fi |
9549 | 8121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
9550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 8122 fi |
9551 fi | 8123 echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5 |
9552 { echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5 | 8124 echo "${ECHO_T}$ac_cv_c_volatile" >&6 |
9553 echo "${ECHO_T}$ac_cv_c_volatile" >&6; } | |
9554 if test $ac_cv_c_volatile = no; then | 8125 if test $ac_cv_c_volatile = no; then |
9555 | 8126 |
9556 cat >>confdefs.h <<\_ACEOF | 8127 cat >>confdefs.h <<\_ACEOF |
9557 #define volatile | 8128 #define volatile |
9558 _ACEOF | 8129 _ACEOF |
9559 | 8130 |
9560 fi | 8131 fi |
9561 | 8132 |
9562 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 | 8133 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
9563 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; } | 8134 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
9564 if test "${ac_cv_c_const+set}" = set; then | 8135 if test "${ac_cv_c_const+set}" = set; then |
9565 echo $ECHO_N "(cached) $ECHO_C" >&6 | 8136 echo $ECHO_N "(cached) $ECHO_C" >&6 |
9566 else | 8137 else |
9567 cat >conftest.$ac_ext <<_ACEOF | 8138 cat >conftest.$ac_ext <<_ACEOF |
9568 /* confdefs.h. */ | 8139 /* confdefs.h. */ |
9598 { /* SCO 3.2v4 cc rejects this. */ | 8169 { /* SCO 3.2v4 cc rejects this. */ |
9599 char *t; | 8170 char *t; |
9600 char const *s = 0 ? (char *) 0 : (char const *) 0; | 8171 char const *s = 0 ? (char *) 0 : (char const *) 0; |
9601 | 8172 |
9602 *t++ = 0; | 8173 *t++ = 0; |
9603 if (s) return 0; | |
9604 } | 8174 } |
9605 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ | 8175 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
9606 int x[] = {25, 17}; | 8176 int x[] = {25, 17}; |
9607 const int *foo = &x[0]; | 8177 const int *foo = &x[0]; |
9608 ++foo; | 8178 ++foo; |
9617 struct s { int j; const int *ap[3]; }; | 8187 struct s { int j; const int *ap[3]; }; |
9618 struct s *b; b->j = 5; | 8188 struct s *b; b->j = 5; |
9619 } | 8189 } |
9620 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ | 8190 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
9621 const int foo = 10; | 8191 const int foo = 10; |
9622 if (!foo) return 0; | |
9623 } | 8192 } |
9624 return !x[0] && !zero.x; | |
9625 #endif | 8193 #endif |
9626 | 8194 |
9627 ; | 8195 ; |
9628 return 0; | 8196 return 0; |
9629 } | 8197 } |
9630 _ACEOF | 8198 _ACEOF |
9631 rm -f conftest.$ac_objext | 8199 rm -f conftest.$ac_objext |
9632 if { (ac_try="$ac_compile" | 8200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
9633 case "(($ac_try" in | 8201 (eval $ac_compile) 2>conftest.er1 |
9634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9635 *) ac_try_echo=$ac_try;; | |
9636 esac | |
9637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9638 (eval "$ac_compile") 2>conftest.er1 | |
9639 ac_status=$? | 8202 ac_status=$? |
9640 grep -v '^ *+' conftest.er1 >conftest.err | 8203 grep -v '^ *+' conftest.er1 >conftest.err |
9641 rm -f conftest.er1 | 8204 rm -f conftest.er1 |
9642 cat conftest.err >&5 | 8205 cat conftest.err >&5 |
9643 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8206 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9644 (exit $ac_status); } && | 8207 (exit $ac_status); } && |
9645 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 8208 { ac_try='test -z "$ac_c_werror_flag" |
9646 { (case "(($ac_try" in | 8209 || test ! -s conftest.err' |
9647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 8210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9648 *) ac_try_echo=$ac_try;; | 8211 (eval $ac_try) 2>&5 |
9649 esac | |
9650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9651 (eval "$ac_try") 2>&5 | |
9652 ac_status=$? | 8212 ac_status=$? |
9653 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8213 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9654 (exit $ac_status); }; } && | 8214 (exit $ac_status); }; } && |
9655 { ac_try='test -s conftest.$ac_objext' | 8215 { ac_try='test -s conftest.$ac_objext' |
9656 { (case "(($ac_try" in | 8216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 8217 (eval $ac_try) 2>&5 |
9658 *) ac_try_echo=$ac_try;; | |
9659 esac | |
9660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9661 (eval "$ac_try") 2>&5 | |
9662 ac_status=$? | 8218 ac_status=$? |
9663 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8219 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9664 (exit $ac_status); }; }; then | 8220 (exit $ac_status); }; }; then |
9665 ac_cv_c_const=yes | 8221 ac_cv_c_const=yes |
9666 else | 8222 else |
9667 echo "$as_me: failed program was:" >&5 | 8223 echo "$as_me: failed program was:" >&5 |
9668 sed 's/^/| /' conftest.$ac_ext >&5 | 8224 sed 's/^/| /' conftest.$ac_ext >&5 |
9669 | 8225 |
9670 ac_cv_c_const=no | 8226 ac_cv_c_const=no |
9671 fi | 8227 fi |
9672 | 8228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
9673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 8229 fi |
9674 fi | 8230 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
9675 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 | 8231 echo "${ECHO_T}$ac_cv_c_const" >&6 |
9676 echo "${ECHO_T}$ac_cv_c_const" >&6; } | |
9677 if test $ac_cv_c_const = no; then | 8232 if test $ac_cv_c_const = no; then |
9678 | 8233 |
9679 cat >>confdefs.h <<\_ACEOF | 8234 cat >>confdefs.h <<\_ACEOF |
9680 #define const | 8235 #define const |
9681 _ACEOF | 8236 _ACEOF |
9682 | 8237 |
9683 fi | 8238 fi |
9684 | 8239 |
9685 { echo "$as_me:$LINENO: checking for void * support" >&5 | 8240 echo "$as_me:$LINENO: checking for void * support" >&5 |
9686 echo $ECHO_N "checking for void * support... $ECHO_C" >&6; } | 8241 echo $ECHO_N "checking for void * support... $ECHO_C" >&6 |
9687 if test "${emacs_cv_void_star+set}" = set; then | 8242 if test "${emacs_cv_void_star+set}" = set; then |
9688 echo $ECHO_N "(cached) $ECHO_C" >&6 | 8243 echo $ECHO_N "(cached) $ECHO_C" >&6 |
9689 else | 8244 else |
9690 cat >conftest.$ac_ext <<_ACEOF | 8245 cat >conftest.$ac_ext <<_ACEOF |
9691 /* confdefs.h. */ | 8246 /* confdefs.h. */ |
9701 ; | 8256 ; |
9702 return 0; | 8257 return 0; |
9703 } | 8258 } |
9704 _ACEOF | 8259 _ACEOF |
9705 rm -f conftest.$ac_objext | 8260 rm -f conftest.$ac_objext |
9706 if { (ac_try="$ac_compile" | 8261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
9707 case "(($ac_try" in | 8262 (eval $ac_compile) 2>conftest.er1 |
9708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9709 *) ac_try_echo=$ac_try;; | |
9710 esac | |
9711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9712 (eval "$ac_compile") 2>conftest.er1 | |
9713 ac_status=$? | 8263 ac_status=$? |
9714 grep -v '^ *+' conftest.er1 >conftest.err | 8264 grep -v '^ *+' conftest.er1 >conftest.err |
9715 rm -f conftest.er1 | 8265 rm -f conftest.er1 |
9716 cat conftest.err >&5 | 8266 cat conftest.err >&5 |
9717 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8267 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9718 (exit $ac_status); } && | 8268 (exit $ac_status); } && |
9719 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 8269 { ac_try='test -z "$ac_c_werror_flag" |
9720 { (case "(($ac_try" in | 8270 || test ! -s conftest.err' |
9721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 8271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9722 *) ac_try_echo=$ac_try;; | 8272 (eval $ac_try) 2>&5 |
9723 esac | |
9724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9725 (eval "$ac_try") 2>&5 | |
9726 ac_status=$? | 8273 ac_status=$? |
9727 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8274 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9728 (exit $ac_status); }; } && | 8275 (exit $ac_status); }; } && |
9729 { ac_try='test -s conftest.$ac_objext' | 8276 { ac_try='test -s conftest.$ac_objext' |
9730 { (case "(($ac_try" in | 8277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 8278 (eval $ac_try) 2>&5 |
9732 *) ac_try_echo=$ac_try;; | |
9733 esac | |
9734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9735 (eval "$ac_try") 2>&5 | |
9736 ac_status=$? | 8279 ac_status=$? |
9737 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8280 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9738 (exit $ac_status); }; }; then | 8281 (exit $ac_status); }; }; then |
9739 emacs_cv_void_star=yes | 8282 emacs_cv_void_star=yes |
9740 else | 8283 else |
9741 echo "$as_me: failed program was:" >&5 | 8284 echo "$as_me: failed program was:" >&5 |
9742 sed 's/^/| /' conftest.$ac_ext >&5 | 8285 sed 's/^/| /' conftest.$ac_ext >&5 |
9743 | 8286 |
9744 emacs_cv_void_star=no | 8287 emacs_cv_void_star=no |
9745 fi | 8288 fi |
9746 | 8289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
9747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 8290 fi |
9748 fi | 8291 echo "$as_me:$LINENO: result: $emacs_cv_void_star" >&5 |
9749 { echo "$as_me:$LINENO: result: $emacs_cv_void_star" >&5 | 8292 echo "${ECHO_T}$emacs_cv_void_star" >&6 |
9750 echo "${ECHO_T}$emacs_cv_void_star" >&6; } | |
9751 if test $emacs_cv_void_star = yes; then | 8293 if test $emacs_cv_void_star = yes; then |
9752 cat >>confdefs.h <<\_ACEOF | 8294 cat >>confdefs.h <<\_ACEOF |
9753 #define POINTER_TYPE void | 8295 #define POINTER_TYPE void |
9754 _ACEOF | 8296 _ACEOF |
9755 | 8297 |
9762 | 8304 |
9763 | 8305 |
9764 | 8306 |
9765 | 8307 |
9766 | 8308 |
9767 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | 8309 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
9768 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } | 8310 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
9769 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | 8311 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` |
9770 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then | 8312 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
9771 echo $ECHO_N "(cached) $ECHO_C" >&6 | 8313 echo $ECHO_N "(cached) $ECHO_C" >&6 |
9772 else | 8314 else |
9773 cat >conftest.make <<\_ACEOF | 8315 cat >conftest.make <<\_ACEOF |
9774 SHELL = /bin/sh | |
9775 all: | 8316 all: |
9776 @echo '@@@%%%=$(MAKE)=@@@%%%' | 8317 @echo 'ac_maketemp="$(MAKE)"' |
9777 _ACEOF | 8318 _ACEOF |
9778 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | 8319 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
9779 case `${MAKE-make} -f conftest.make 2>/dev/null` in | 8320 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` |
9780 *@@@%%%=?*=@@@%%%*) | 8321 if test -n "$ac_maketemp"; then |
9781 eval ac_cv_prog_make_${ac_make}_set=yes;; | 8322 eval ac_cv_prog_make_${ac_make}_set=yes |
9782 *) | 8323 else |
9783 eval ac_cv_prog_make_${ac_make}_set=no;; | 8324 eval ac_cv_prog_make_${ac_make}_set=no |
9784 esac | 8325 fi |
9785 rm -f conftest.make | 8326 rm -f conftest.make |
9786 fi | 8327 fi |
9787 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then | 8328 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
9788 { echo "$as_me:$LINENO: result: yes" >&5 | 8329 echo "$as_me:$LINENO: result: yes" >&5 |
9789 echo "${ECHO_T}yes" >&6; } | 8330 echo "${ECHO_T}yes" >&6 |
9790 SET_MAKE= | 8331 SET_MAKE= |
9791 else | 8332 else |
9792 { echo "$as_me:$LINENO: result: no" >&5 | 8333 echo "$as_me:$LINENO: result: no" >&5 |
9793 echo "${ECHO_T}no" >&6; } | 8334 echo "${ECHO_T}no" >&6 |
9794 SET_MAKE="MAKE=${MAKE-make}" | 8335 SET_MAKE="MAKE=${MAKE-make}" |
9795 fi | 8336 fi |
9796 | 8337 |
9797 | 8338 |
9798 { echo "$as_me:$LINENO: checking for long file names" >&5 | 8339 echo "$as_me:$LINENO: checking for long file names" >&5 |
9799 echo $ECHO_N "checking for long file names... $ECHO_C" >&6; } | 8340 echo $ECHO_N "checking for long file names... $ECHO_C" >&6 |
9800 if test "${ac_cv_sys_long_file_names+set}" = set; then | 8341 if test "${ac_cv_sys_long_file_names+set}" = set; then |
9801 echo $ECHO_N "(cached) $ECHO_C" >&6 | 8342 echo $ECHO_N "(cached) $ECHO_C" >&6 |
9802 else | 8343 else |
9803 ac_cv_sys_long_file_names=yes | 8344 ac_cv_sys_long_file_names=yes |
9804 # Test for long file names in all the places we know might matter: | 8345 # Test for long file names in all the places we know might matter: |
9805 # . the current directory, where building will happen | 8346 # . the current directory, where building will happen |
9806 # $prefix/lib where we will be installing things | 8347 # $prefix/lib where we will be installing things |
9807 # $exec_prefix/lib likewise | 8348 # $exec_prefix/lib likewise |
8349 # eval it to expand exec_prefix. | |
9808 # $TMPDIR if set, where it might want to write temporary files | 8350 # $TMPDIR if set, where it might want to write temporary files |
8351 # if $TMPDIR is not set: | |
9809 # /tmp where it might want to write temporary files | 8352 # /tmp where it might want to write temporary files |
9810 # /var/tmp likewise | 8353 # /var/tmp likewise |
9811 # /usr/tmp likewise | 8354 # /usr/tmp likewise |
9812 for ac_dir in . "$TMPDIR" /tmp /var/tmp /usr/tmp "$prefix/lib" "$exec_prefix/lib"; do | 8355 if test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then |
9813 # Skip $TMPDIR if it is empty or bogus, and skip $exec_prefix/lib | 8356 ac_tmpdirs=$TMPDIR |
9814 # in the usual case where exec_prefix is '${prefix}'. | 8357 else |
9815 case $ac_dir in #( | 8358 ac_tmpdirs='/tmp /var/tmp /usr/tmp' |
9816 . | /* | ?:[\\/]*) ;; #( | 8359 fi |
9817 *) continue;; | 8360 for ac_dir in . $ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do |
9818 esac | 8361 test -d $ac_dir || continue |
9819 test -w "$ac_dir/." || continue # It is less confusing to not echo anything here. | 8362 test -w $ac_dir || continue # It is less confusing to not echo anything here. |
9820 ac_xdir=$ac_dir/cf$$ | 8363 ac_xdir=$ac_dir/cf$$ |
9821 (umask 077 && mkdir "$ac_xdir" 2>/dev/null) || continue | 8364 (umask 077 && mkdir $ac_xdir 2>/dev/null) || continue |
9822 ac_tf1=$ac_xdir/conftest9012345 | 8365 ac_tf1=$ac_xdir/conftest9012345 |
9823 ac_tf2=$ac_xdir/conftest9012346 | 8366 ac_tf2=$ac_xdir/conftest9012346 |
9824 touch "$ac_tf1" 2>/dev/null && test -f "$ac_tf1" && test ! -f "$ac_tf2" || | 8367 (echo 1 >$ac_tf1) 2>/dev/null |
8368 (echo 2 >$ac_tf2) 2>/dev/null | |
8369 ac_val=`cat $ac_tf1 2>/dev/null` | |
8370 if test ! -f $ac_tf1 || test "$ac_val" != 1; then | |
9825 ac_cv_sys_long_file_names=no | 8371 ac_cv_sys_long_file_names=no |
9826 rm -f -r "$ac_xdir" 2>/dev/null | 8372 rm -rf $ac_xdir 2>/dev/null |
9827 test $ac_cv_sys_long_file_names = no && break | 8373 break |
8374 fi | |
8375 rm -rf $ac_xdir 2>/dev/null | |
9828 done | 8376 done |
9829 fi | 8377 fi |
9830 { echo "$as_me:$LINENO: result: $ac_cv_sys_long_file_names" >&5 | 8378 echo "$as_me:$LINENO: result: $ac_cv_sys_long_file_names" >&5 |
9831 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6; } | 8379 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6 |
9832 if test $ac_cv_sys_long_file_names = yes; then | 8380 if test $ac_cv_sys_long_file_names = yes; then |
9833 | 8381 |
9834 cat >>confdefs.h <<\_ACEOF | 8382 cat >>confdefs.h <<\_ACEOF |
9835 #define HAVE_LONG_FILE_NAMES 1 | 8383 #define HAVE_LONG_FILE_NAMES 1 |
9836 _ACEOF | 8384 _ACEOF |
9838 fi | 8386 fi |
9839 | 8387 |
9840 | 8388 |
9841 #### Choose a window system. | 8389 #### Choose a window system. |
9842 | 8390 |
9843 { echo "$as_me:$LINENO: checking for X" >&5 | 8391 echo "$as_me:$LINENO: checking for X" >&5 |
9844 echo $ECHO_N "checking for X... $ECHO_C" >&6; } | 8392 echo $ECHO_N "checking for X... $ECHO_C" >&6 |
9845 | 8393 |
9846 | 8394 ac_path_x_has_been_run=yes |
9847 # Check whether --with-x was given. | 8395 |
8396 # Check whether --with-x or --without-x was given. | |
9848 if test "${with_x+set}" = set; then | 8397 if test "${with_x+set}" = set; then |
9849 withval=$with_x; | 8398 withval="$with_x" |
9850 fi | 8399 |
9851 | 8400 fi; |
9852 # $have_x is `yes', `no', `disabled', or empty when we do not yet know. | 8401 # $have_x is `yes', `no', `disabled', or empty when we do not yet know. |
9853 if test "x$with_x" = xno; then | 8402 if test "x$with_x" = xno; then |
9854 # The user explicitly disabled X. | 8403 # The user explicitly disabled X. |
9855 have_x=disabled | 8404 have_x=disabled |
9856 else | 8405 else |
9857 case $x_includes,$x_libraries in #( | 8406 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then |
9858 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5 | 8407 # Both variables are already set. |
9859 echo "$as_me: error: Cannot use X directory names containing '" >&2;} | 8408 have_x=yes |
9860 { (exit 1); exit 1; }; };; #( | 8409 else |
9861 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then | 8410 if test "${ac_cv_have_x+set}" = set; then |
9862 echo $ECHO_N "(cached) $ECHO_C" >&6 | 8411 echo $ECHO_N "(cached) $ECHO_C" >&6 |
9863 else | 8412 else |
9864 # One or both of the vars are not set, and there is no cached value. | 8413 # One or both of the vars are not set, and there is no cached value. |
9865 ac_x_includes=no ac_x_libraries=no | 8414 ac_x_includes=no ac_x_libraries=no |
9866 rm -f -r conftest.dir | 8415 rm -fr conftest.dir |
9867 if mkdir conftest.dir; then | 8416 if mkdir conftest.dir; then |
9868 cd conftest.dir | 8417 cd conftest.dir |
8418 # Make sure to not put "make" in the Imakefile rules, since we grep it out. | |
9869 cat >Imakefile <<'_ACEOF' | 8419 cat >Imakefile <<'_ACEOF' |
9870 incroot: | 8420 acfindx: |
9871 @echo incroot='${INCROOT}' | 8421 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"' |
9872 usrlibdir: | 8422 _ACEOF |
9873 @echo usrlibdir='${USRLIBDIR}' | 8423 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then |
9874 libdir: | |
9875 @echo libdir='${LIBDIR}' | |
9876 _ACEOF | |
9877 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then | |
9878 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | 8424 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
9879 for ac_var in incroot usrlibdir libdir; do | 8425 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make` |
9880 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" | |
9881 done | |
9882 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. | 8426 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. |
9883 for ac_extension in a so sl; do | 8427 for ac_extension in a so sl; do |
9884 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" && | 8428 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension && |
9885 test -f "$ac_im_libdir/libX11.$ac_extension"; then | 8429 test -f $ac_im_libdir/libX11.$ac_extension; then |
9886 ac_im_usrlibdir=$ac_im_libdir; break | 8430 ac_im_usrlibdir=$ac_im_libdir; break |
9887 fi | 8431 fi |
9888 done | 8432 done |
9889 # Screen out bogus values from the imake configuration. They are | 8433 # Screen out bogus values from the imake configuration. They are |
9890 # bogus both because they are the default anyway, and because | 8434 # bogus both because they are the default anyway, and because |
9891 # using them would break gcc on systems where it needs fixed includes. | 8435 # using them would break gcc on systems where it needs fixed includes. |
9892 case $ac_im_incroot in | 8436 case $ac_im_incroot in |
9893 /usr/include) ac_x_includes= ;; | 8437 /usr/include) ;; |
9894 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; | 8438 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; |
9895 esac | 8439 esac |
9896 case $ac_im_usrlibdir in | 8440 case $ac_im_usrlibdir in |
9897 /usr/lib | /lib) ;; | 8441 /usr/lib | /lib) ;; |
9898 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; | 8442 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; |
9899 esac | 8443 esac |
9900 fi | 8444 fi |
9901 cd .. | 8445 cd .. |
9902 rm -f -r conftest.dir | 8446 rm -fr conftest.dir |
9903 fi | 8447 fi |
9904 | 8448 |
9905 # Standard set of common directories for X headers. | 8449 # Standard set of common directories for X headers. |
9906 # Check X11 before X11Rn because it is often a symlink to the current release. | 8450 # Check X11 before X11Rn because it is often a symlink to the current release. |
9907 ac_x_header_dirs=' | 8451 ac_x_header_dirs=' |
9938 | 8482 |
9939 /usr/openwin/include | 8483 /usr/openwin/include |
9940 /usr/openwin/share/include' | 8484 /usr/openwin/share/include' |
9941 | 8485 |
9942 if test "$ac_x_includes" = no; then | 8486 if test "$ac_x_includes" = no; then |
9943 # Guess where to find include files, by looking for Xlib.h. | 8487 # Guess where to find include files, by looking for a specified header file. |
9944 # First, try using that file with no special directory specified. | 8488 # First, try using that file with no special directory specified. |
9945 cat >conftest.$ac_ext <<_ACEOF | 8489 cat >conftest.$ac_ext <<_ACEOF |
9946 /* confdefs.h. */ | 8490 /* confdefs.h. */ |
9947 _ACEOF | 8491 _ACEOF |
9948 cat confdefs.h >>conftest.$ac_ext | 8492 cat confdefs.h >>conftest.$ac_ext |
9949 cat >>conftest.$ac_ext <<_ACEOF | 8493 cat >>conftest.$ac_ext <<_ACEOF |
9950 /* end confdefs.h. */ | 8494 /* end confdefs.h. */ |
9951 #include <X11/Xlib.h> | 8495 #include <X11/Intrinsic.h> |
9952 _ACEOF | 8496 _ACEOF |
9953 if { (ac_try="$ac_cpp conftest.$ac_ext" | 8497 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
9954 case "(($ac_try" in | 8498 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
9955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9956 *) ac_try_echo=$ac_try;; | |
9957 esac | |
9958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9959 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
9960 ac_status=$? | 8499 ac_status=$? |
9961 grep -v '^ *+' conftest.er1 >conftest.err | 8500 grep -v '^ *+' conftest.er1 >conftest.err |
9962 rm -f conftest.er1 | 8501 rm -f conftest.er1 |
9963 cat conftest.err >&5 | 8502 cat conftest.err >&5 |
9964 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8503 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9978 else | 8517 else |
9979 echo "$as_me: failed program was:" >&5 | 8518 echo "$as_me: failed program was:" >&5 |
9980 sed 's/^/| /' conftest.$ac_ext >&5 | 8519 sed 's/^/| /' conftest.$ac_ext >&5 |
9981 | 8520 |
9982 for ac_dir in $ac_x_header_dirs; do | 8521 for ac_dir in $ac_x_header_dirs; do |
9983 if test -r "$ac_dir/X11/Xlib.h"; then | 8522 if test -r "$ac_dir/X11/Intrinsic.h"; then |
9984 ac_x_includes=$ac_dir | 8523 ac_x_includes=$ac_dir |
9985 break | 8524 break |
9986 fi | 8525 fi |
9987 done | 8526 done |
9988 fi | 8527 fi |
9989 | |
9990 rm -f conftest.err conftest.$ac_ext | 8528 rm -f conftest.err conftest.$ac_ext |
9991 fi # $ac_x_includes = no | 8529 fi # $ac_x_includes = no |
9992 | 8530 |
9993 if test "$ac_x_libraries" = no; then | 8531 if test "$ac_x_libraries" = no; then |
9994 # Check for the libraries. | 8532 # Check for the libraries. |
10000 /* confdefs.h. */ | 8538 /* confdefs.h. */ |
10001 _ACEOF | 8539 _ACEOF |
10002 cat confdefs.h >>conftest.$ac_ext | 8540 cat confdefs.h >>conftest.$ac_ext |
10003 cat >>conftest.$ac_ext <<_ACEOF | 8541 cat >>conftest.$ac_ext <<_ACEOF |
10004 /* end confdefs.h. */ | 8542 /* end confdefs.h. */ |
10005 #include <X11/Xlib.h> | 8543 #include <X11/Intrinsic.h> |
10006 int | 8544 int |
10007 main () | 8545 main () |
10008 { | 8546 { |
10009 XrmInitialize () | 8547 XtMalloc (0) |
10010 ; | 8548 ; |
10011 return 0; | 8549 return 0; |
10012 } | 8550 } |
10013 _ACEOF | 8551 _ACEOF |
10014 rm -f conftest.$ac_objext conftest$ac_exeext | 8552 rm -f conftest.$ac_objext conftest$ac_exeext |
10015 if { (ac_try="$ac_link" | 8553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10016 case "(($ac_try" in | 8554 (eval $ac_link) 2>conftest.er1 |
10017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10018 *) ac_try_echo=$ac_try;; | |
10019 esac | |
10020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
10021 (eval "$ac_link") 2>conftest.er1 | |
10022 ac_status=$? | 8555 ac_status=$? |
10023 grep -v '^ *+' conftest.er1 >conftest.err | 8556 grep -v '^ *+' conftest.er1 >conftest.err |
10024 rm -f conftest.er1 | 8557 rm -f conftest.er1 |
10025 cat conftest.err >&5 | 8558 cat conftest.err >&5 |
10026 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8559 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10027 (exit $ac_status); } && | 8560 (exit $ac_status); } && |
10028 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 8561 { ac_try='test -z "$ac_c_werror_flag" |
10029 { (case "(($ac_try" in | 8562 || test ! -s conftest.err' |
10030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 8563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10031 *) ac_try_echo=$ac_try;; | 8564 (eval $ac_try) 2>&5 |
10032 esac | |
10033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
10034 (eval "$ac_try") 2>&5 | |
10035 ac_status=$? | 8565 ac_status=$? |
10036 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8566 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10037 (exit $ac_status); }; } && | 8567 (exit $ac_status); }; } && |
10038 { ac_try='test -s conftest$ac_exeext' | 8568 { ac_try='test -s conftest$ac_exeext' |
10039 { (case "(($ac_try" in | 8569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 8570 (eval $ac_try) 2>&5 |
10041 *) ac_try_echo=$ac_try;; | |
10042 esac | |
10043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
10044 (eval "$ac_try") 2>&5 | |
10045 ac_status=$? | 8571 ac_status=$? |
10046 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8572 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10047 (exit $ac_status); }; }; then | 8573 (exit $ac_status); }; }; then |
10048 LIBS=$ac_save_LIBS | 8574 LIBS=$ac_save_LIBS |
10049 # We can link X programs with no special library path. | 8575 # We can link X programs with no special library path. |
10050 ac_x_libraries= | 8576 ac_x_libraries= |
10051 else | 8577 else |
10052 echo "$as_me: failed program was:" >&5 | 8578 echo "$as_me: failed program was:" >&5 |
10053 sed 's/^/| /' conftest.$ac_ext >&5 | 8579 sed 's/^/| /' conftest.$ac_ext >&5 |
10054 | 8580 |
10055 LIBS=$ac_save_LIBS | 8581 LIBS=$ac_save_LIBS |
10056 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` | 8582 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` |
10057 do | 8583 do |
10058 # Don't even attempt the hair of trying to link an X program! | 8584 # Don't even attempt the hair of trying to link an X program! |
10059 for ac_extension in a so sl; do | 8585 for ac_extension in a so sl; do |
10060 if test -r "$ac_dir/libXt.$ac_extension"; then | 8586 if test -r $ac_dir/libXt.$ac_extension; then |
10061 ac_x_libraries=$ac_dir | 8587 ac_x_libraries=$ac_dir |
10062 break 2 | 8588 break 2 |
10063 fi | 8589 fi |
10064 done | 8590 done |
10065 done | 8591 done |
10066 fi | 8592 fi |
10067 | 8593 rm -f conftest.err conftest.$ac_objext \ |
10068 rm -f core conftest.err conftest.$ac_objext \ | |
10069 conftest$ac_exeext conftest.$ac_ext | 8594 conftest$ac_exeext conftest.$ac_ext |
10070 fi # $ac_x_libraries = no | 8595 fi # $ac_x_libraries = no |
10071 | 8596 |
10072 case $ac_x_includes,$ac_x_libraries in #( | 8597 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then |
10073 no,* | *,no | *\'*) | 8598 # Didn't find X anywhere. Cache the known absence of X. |
10074 # Didn't find X, or a directory has "'" in its name. | 8599 ac_cv_have_x="have_x=no" |
10075 ac_cv_have_x="have_x=no";; #( | 8600 else |
10076 *) | 8601 # Record where we found X for the cache. |
10077 # Record where we found X for the cache. | 8602 ac_cv_have_x="have_x=yes \ |
10078 ac_cv_have_x="have_x=yes\ | 8603 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries" |
10079 ac_x_includes='$ac_x_includes'\ | 8604 fi |
10080 ac_x_libraries='$ac_x_libraries'" | 8605 fi |
10081 esac | 8606 |
10082 fi | 8607 fi |
10083 ;; #( | |
10084 *) have_x=yes;; | |
10085 esac | |
10086 eval "$ac_cv_have_x" | 8608 eval "$ac_cv_have_x" |
10087 fi # $with_x != no | 8609 fi # $with_x != no |
10088 | 8610 |
10089 if test "$have_x" != yes; then | 8611 if test "$have_x" != yes; then |
10090 { echo "$as_me:$LINENO: result: $have_x" >&5 | 8612 echo "$as_me:$LINENO: result: $have_x" >&5 |
10091 echo "${ECHO_T}$have_x" >&6; } | 8613 echo "${ECHO_T}$have_x" >&6 |
10092 no_x=yes | 8614 no_x=yes |
10093 else | 8615 else |
10094 # If each of the values was on the command line, it overrides each guess. | 8616 # If each of the values was on the command line, it overrides each guess. |
10095 test "x$x_includes" = xNONE && x_includes=$ac_x_includes | 8617 test "x$x_includes" = xNONE && x_includes=$ac_x_includes |
10096 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries | 8618 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries |
10097 # Update the cache value to reflect the command line values. | 8619 # Update the cache value to reflect the command line values. |
10098 ac_cv_have_x="have_x=yes\ | 8620 ac_cv_have_x="have_x=yes \ |
10099 ac_x_includes='$x_includes'\ | 8621 ac_x_includes=$x_includes ac_x_libraries=$x_libraries" |
10100 ac_x_libraries='$x_libraries'" | 8622 # It might be that x_includes is empty (headers are found in the |
10101 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 | 8623 # standard search path. Then output the corresponding message |
10102 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; } | 8624 ac_out_x_includes=$x_includes |
8625 test "x$x_includes" = x && ac_out_x_includes="in standard search path" | |
8626 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5 | |
8627 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6 | |
10103 fi | 8628 fi |
10104 | 8629 |
10105 if test "$no_x" = yes; then | 8630 if test "$no_x" = yes; then |
10106 window_system=none | 8631 window_system=none |
10107 else | 8632 else |
10157 fi | 8682 fi |
10158 | 8683 |
10159 HAVE_CARBON=no | 8684 HAVE_CARBON=no |
10160 if test "${with_carbon}" != no; then | 8685 if test "${with_carbon}" != no; then |
10161 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then | 8686 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then |
10162 { echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5 | 8687 echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5 |
10163 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6; } | 8688 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6 |
10164 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then | 8689 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then |
10165 echo $ECHO_N "(cached) $ECHO_C" >&6 | 8690 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10166 fi | 8691 fi |
10167 { echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5 | 8692 echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5 |
10168 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6; } | 8693 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6 |
10169 else | 8694 else |
10170 # Is the header compilable? | 8695 # Is the header compilable? |
10171 { echo "$as_me:$LINENO: checking Carbon/Carbon.h usability" >&5 | 8696 echo "$as_me:$LINENO: checking Carbon/Carbon.h usability" >&5 |
10172 echo $ECHO_N "checking Carbon/Carbon.h usability... $ECHO_C" >&6; } | 8697 echo $ECHO_N "checking Carbon/Carbon.h usability... $ECHO_C" >&6 |
10173 cat >conftest.$ac_ext <<_ACEOF | 8698 cat >conftest.$ac_ext <<_ACEOF |
10174 /* confdefs.h. */ | 8699 /* confdefs.h. */ |
10175 _ACEOF | 8700 _ACEOF |
10176 cat confdefs.h >>conftest.$ac_ext | 8701 cat confdefs.h >>conftest.$ac_ext |
10177 cat >>conftest.$ac_ext <<_ACEOF | 8702 cat >>conftest.$ac_ext <<_ACEOF |
10178 /* end confdefs.h. */ | 8703 /* end confdefs.h. */ |
10179 $ac_includes_default | 8704 $ac_includes_default |
10180 #include <Carbon/Carbon.h> | 8705 #include <Carbon/Carbon.h> |
10181 _ACEOF | 8706 _ACEOF |
10182 rm -f conftest.$ac_objext | 8707 rm -f conftest.$ac_objext |
10183 if { (ac_try="$ac_compile" | 8708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
10184 case "(($ac_try" in | 8709 (eval $ac_compile) 2>conftest.er1 |
10185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10186 *) ac_try_echo=$ac_try;; | |
10187 esac | |
10188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
10189 (eval "$ac_compile") 2>conftest.er1 | |
10190 ac_status=$? | 8710 ac_status=$? |
10191 grep -v '^ *+' conftest.er1 >conftest.err | 8711 grep -v '^ *+' conftest.er1 >conftest.err |
10192 rm -f conftest.er1 | 8712 rm -f conftest.er1 |
10193 cat conftest.err >&5 | 8713 cat conftest.err >&5 |
10194 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8714 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10195 (exit $ac_status); } && | 8715 (exit $ac_status); } && |
10196 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 8716 { ac_try='test -z "$ac_c_werror_flag" |
10197 { (case "(($ac_try" in | 8717 || test ! -s conftest.err' |
10198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 8718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10199 *) ac_try_echo=$ac_try;; | 8719 (eval $ac_try) 2>&5 |
10200 esac | |
10201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
10202 (eval "$ac_try") 2>&5 | |
10203 ac_status=$? | 8720 ac_status=$? |
10204 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8721 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10205 (exit $ac_status); }; } && | 8722 (exit $ac_status); }; } && |
10206 { ac_try='test -s conftest.$ac_objext' | 8723 { ac_try='test -s conftest.$ac_objext' |
10207 { (case "(($ac_try" in | 8724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 8725 (eval $ac_try) 2>&5 |
10209 *) ac_try_echo=$ac_try;; | |
10210 esac | |
10211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
10212 (eval "$ac_try") 2>&5 | |
10213 ac_status=$? | 8726 ac_status=$? |
10214 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8727 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10215 (exit $ac_status); }; }; then | 8728 (exit $ac_status); }; }; then |
10216 ac_header_compiler=yes | 8729 ac_header_compiler=yes |
10217 else | 8730 else |
10218 echo "$as_me: failed program was:" >&5 | 8731 echo "$as_me: failed program was:" >&5 |
10219 sed 's/^/| /' conftest.$ac_ext >&5 | 8732 sed 's/^/| /' conftest.$ac_ext >&5 |
10220 | 8733 |
10221 ac_header_compiler=no | 8734 ac_header_compiler=no |
10222 fi | 8735 fi |
10223 | 8736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 8737 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
10225 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 8738 echo "${ECHO_T}$ac_header_compiler" >&6 |
10226 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
10227 | 8739 |
10228 # Is the header present? | 8740 # Is the header present? |
10229 { echo "$as_me:$LINENO: checking Carbon/Carbon.h presence" >&5 | 8741 echo "$as_me:$LINENO: checking Carbon/Carbon.h presence" >&5 |
10230 echo $ECHO_N "checking Carbon/Carbon.h presence... $ECHO_C" >&6; } | 8742 echo $ECHO_N "checking Carbon/Carbon.h presence... $ECHO_C" >&6 |
10231 cat >conftest.$ac_ext <<_ACEOF | 8743 cat >conftest.$ac_ext <<_ACEOF |
10232 /* confdefs.h. */ | 8744 /* confdefs.h. */ |
10233 _ACEOF | 8745 _ACEOF |
10234 cat confdefs.h >>conftest.$ac_ext | 8746 cat confdefs.h >>conftest.$ac_ext |
10235 cat >>conftest.$ac_ext <<_ACEOF | 8747 cat >>conftest.$ac_ext <<_ACEOF |
10236 /* end confdefs.h. */ | 8748 /* end confdefs.h. */ |
10237 #include <Carbon/Carbon.h> | 8749 #include <Carbon/Carbon.h> |
10238 _ACEOF | 8750 _ACEOF |
10239 if { (ac_try="$ac_cpp conftest.$ac_ext" | 8751 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
10240 case "(($ac_try" in | 8752 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
10241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10242 *) ac_try_echo=$ac_try;; | |
10243 esac | |
10244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
10245 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
10246 ac_status=$? | 8753 ac_status=$? |
10247 grep -v '^ *+' conftest.er1 >conftest.err | 8754 grep -v '^ *+' conftest.er1 >conftest.err |
10248 rm -f conftest.er1 | 8755 rm -f conftest.er1 |
10249 cat conftest.err >&5 | 8756 cat conftest.err >&5 |
10250 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8757 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10264 echo "$as_me: failed program was:" >&5 | 8771 echo "$as_me: failed program was:" >&5 |
10265 sed 's/^/| /' conftest.$ac_ext >&5 | 8772 sed 's/^/| /' conftest.$ac_ext >&5 |
10266 | 8773 |
10267 ac_header_preproc=no | 8774 ac_header_preproc=no |
10268 fi | 8775 fi |
10269 | |
10270 rm -f conftest.err conftest.$ac_ext | 8776 rm -f conftest.err conftest.$ac_ext |
10271 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 8777 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
10272 echo "${ECHO_T}$ac_header_preproc" >&6; } | 8778 echo "${ECHO_T}$ac_header_preproc" >&6 |
10273 | 8779 |
10274 # So? What about this header? | 8780 # So? What about this header? |
10275 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 8781 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
10276 yes:no: ) | 8782 yes:no: ) |
10277 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&5 | 8783 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
10291 echo "$as_me: WARNING: Carbon/Carbon.h: section \"Present But Cannot Be Compiled\"" >&2;} | 8797 echo "$as_me: WARNING: Carbon/Carbon.h: section \"Present But Cannot Be Compiled\"" >&2;} |
10292 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&5 | 8798 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&5 |
10293 echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&2;} | 8799 echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&2;} |
10294 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&5 | 8800 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&5 |
10295 echo "$as_me: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&2;} | 8801 echo "$as_me: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&2;} |
10296 | 8802 ( |
8803 cat <<\_ASBOX | |
8804 ## ------------------------------------------ ## | |
8805 ## Report this to the AC_PACKAGE_NAME lists. ## | |
8806 ## ------------------------------------------ ## | |
8807 _ASBOX | |
8808 ) | | |
8809 sed "s/^/$as_me: WARNING: /" >&2 | |
10297 ;; | 8810 ;; |
10298 esac | 8811 esac |
10299 { echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5 | 8812 echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5 |
10300 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6; } | 8813 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6 |
10301 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then | 8814 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then |
10302 echo $ECHO_N "(cached) $ECHO_C" >&6 | 8815 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10303 else | 8816 else |
10304 ac_cv_header_Carbon_Carbon_h=$ac_header_preproc | 8817 ac_cv_header_Carbon_Carbon_h=$ac_header_preproc |
10305 fi | 8818 fi |
10306 { echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5 | 8819 echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5 |
10307 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6; } | 8820 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6 |
10308 | 8821 |
10309 fi | 8822 fi |
10310 if test $ac_cv_header_Carbon_Carbon_h = yes; then | 8823 if test $ac_cv_header_Carbon_Carbon_h = yes; then |
10311 HAVE_CARBON=yes | 8824 HAVE_CARBON=yes |
10312 fi | 8825 fi |
10376 | 8889 |
10377 # Do the opsystem or machine files prohibit the use of the GNU malloc? | 8890 # Do the opsystem or machine files prohibit the use of the GNU malloc? |
10378 # Assume not, until told otherwise. | 8891 # Assume not, until told otherwise. |
10379 GNU_MALLOC=yes | 8892 GNU_MALLOC=yes |
10380 doug_lea_malloc=yes | 8893 doug_lea_malloc=yes |
10381 { echo "$as_me:$LINENO: checking for malloc_get_state" >&5 | 8894 echo "$as_me:$LINENO: checking for malloc_get_state" >&5 |
10382 echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6; } | 8895 echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6 |
10383 if test "${ac_cv_func_malloc_get_state+set}" = set; then | 8896 if test "${ac_cv_func_malloc_get_state+set}" = set; then |
10384 echo $ECHO_N "(cached) $ECHO_C" >&6 | 8897 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10385 else | 8898 else |
10386 cat >conftest.$ac_ext <<_ACEOF | 8899 cat >conftest.$ac_ext <<_ACEOF |
10387 /* confdefs.h. */ | 8900 /* confdefs.h. */ |
10404 # include <assert.h> | 8917 # include <assert.h> |
10405 #endif | 8918 #endif |
10406 | 8919 |
10407 #undef malloc_get_state | 8920 #undef malloc_get_state |
10408 | 8921 |
10409 /* Override any GCC internal prototype to avoid an error. | 8922 /* Override any gcc2 internal prototype to avoid an error. */ |
10410 Use char because int might match the return type of a GCC | |
10411 builtin and then its argument prototype would still apply. */ | |
10412 #ifdef __cplusplus | 8923 #ifdef __cplusplus |
10413 extern "C" | 8924 extern "C" |
8925 { | |
10414 #endif | 8926 #endif |
8927 /* We use char because int might match the return type of a gcc2 | |
8928 builtin and then its argument prototype would still apply. */ | |
10415 char malloc_get_state (); | 8929 char malloc_get_state (); |
10416 /* The GNU C library defines this for functions which it implements | 8930 /* The GNU C library defines this for functions which it implements |
10417 to always fail with ENOSYS. Some functions are actually named | 8931 to always fail with ENOSYS. Some functions are actually named |
10418 something starting with __ and the normal name is an alias. */ | 8932 something starting with __ and the normal name is an alias. */ |
10419 #if defined __stub_malloc_get_state || defined __stub___malloc_get_state | 8933 #if defined (__stub_malloc_get_state) || defined (__stub___malloc_get_state) |
10420 choke me | 8934 choke me |
8935 #else | |
8936 char (*f) () = malloc_get_state; | |
8937 #endif | |
8938 #ifdef __cplusplus | |
8939 } | |
10421 #endif | 8940 #endif |
10422 | 8941 |
10423 int | 8942 int |
10424 main () | 8943 main () |
10425 { | 8944 { |
10426 return malloc_get_state (); | 8945 return f != malloc_get_state; |
10427 ; | 8946 ; |
10428 return 0; | 8947 return 0; |
10429 } | 8948 } |
10430 _ACEOF | 8949 _ACEOF |
10431 rm -f conftest.$ac_objext conftest$ac_exeext | 8950 rm -f conftest.$ac_objext conftest$ac_exeext |
10432 if { (ac_try="$ac_link" | 8951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10433 case "(($ac_try" in | 8952 (eval $ac_link) 2>conftest.er1 |
10434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10435 *) ac_try_echo=$ac_try;; | |
10436 esac | |
10437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
10438 (eval "$ac_link") 2>conftest.er1 | |
10439 ac_status=$? | 8953 ac_status=$? |
10440 grep -v '^ *+' conftest.er1 >conftest.err | 8954 grep -v '^ *+' conftest.er1 >conftest.err |
10441 rm -f conftest.er1 | 8955 rm -f conftest.er1 |
10442 cat conftest.err >&5 | 8956 cat conftest.err >&5 |
10443 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8957 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10444 (exit $ac_status); } && | 8958 (exit $ac_status); } && |
10445 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 8959 { ac_try='test -z "$ac_c_werror_flag" |
10446 { (case "(($ac_try" in | 8960 || test ! -s conftest.err' |
10447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 8961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10448 *) ac_try_echo=$ac_try;; | 8962 (eval $ac_try) 2>&5 |
10449 esac | |
10450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
10451 (eval "$ac_try") 2>&5 | |
10452 ac_status=$? | 8963 ac_status=$? |
10453 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8964 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10454 (exit $ac_status); }; } && | 8965 (exit $ac_status); }; } && |
10455 { ac_try='test -s conftest$ac_exeext' | 8966 { ac_try='test -s conftest$ac_exeext' |
10456 { (case "(($ac_try" in | 8967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 8968 (eval $ac_try) 2>&5 |
10458 *) ac_try_echo=$ac_try;; | |
10459 esac | |
10460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
10461 (eval "$ac_try") 2>&5 | |
10462 ac_status=$? | 8969 ac_status=$? |
10463 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8970 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10464 (exit $ac_status); }; }; then | 8971 (exit $ac_status); }; }; then |
10465 ac_cv_func_malloc_get_state=yes | 8972 ac_cv_func_malloc_get_state=yes |
10466 else | 8973 else |
10467 echo "$as_me: failed program was:" >&5 | 8974 echo "$as_me: failed program was:" >&5 |
10468 sed 's/^/| /' conftest.$ac_ext >&5 | 8975 sed 's/^/| /' conftest.$ac_ext >&5 |
10469 | 8976 |
10470 ac_cv_func_malloc_get_state=no | 8977 ac_cv_func_malloc_get_state=no |
10471 fi | 8978 fi |
10472 | 8979 rm -f conftest.err conftest.$ac_objext \ |
10473 rm -f core conftest.err conftest.$ac_objext \ | |
10474 conftest$ac_exeext conftest.$ac_ext | 8980 conftest$ac_exeext conftest.$ac_ext |
10475 fi | 8981 fi |
10476 { echo "$as_me:$LINENO: result: $ac_cv_func_malloc_get_state" >&5 | 8982 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_get_state" >&5 |
10477 echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6; } | 8983 echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6 |
10478 if test $ac_cv_func_malloc_get_state = yes; then | 8984 if test $ac_cv_func_malloc_get_state = yes; then |
10479 : | 8985 : |
10480 else | 8986 else |
10481 doug_lea_malloc=no | 8987 doug_lea_malloc=no |
10482 fi | 8988 fi |
10483 | 8989 |
10484 { echo "$as_me:$LINENO: checking for malloc_set_state" >&5 | 8990 echo "$as_me:$LINENO: checking for malloc_set_state" >&5 |
10485 echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6; } | 8991 echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6 |
10486 if test "${ac_cv_func_malloc_set_state+set}" = set; then | 8992 if test "${ac_cv_func_malloc_set_state+set}" = set; then |
10487 echo $ECHO_N "(cached) $ECHO_C" >&6 | 8993 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10488 else | 8994 else |
10489 cat >conftest.$ac_ext <<_ACEOF | 8995 cat >conftest.$ac_ext <<_ACEOF |
10490 /* confdefs.h. */ | 8996 /* confdefs.h. */ |
10507 # include <assert.h> | 9013 # include <assert.h> |
10508 #endif | 9014 #endif |
10509 | 9015 |
10510 #undef malloc_set_state | 9016 #undef malloc_set_state |
10511 | 9017 |
10512 /* Override any GCC internal prototype to avoid an error. | 9018 /* Override any gcc2 internal prototype to avoid an error. */ |
10513 Use char because int might match the return type of a GCC | |
10514 builtin and then its argument prototype would still apply. */ | |
10515 #ifdef __cplusplus | 9019 #ifdef __cplusplus |
10516 extern "C" | 9020 extern "C" |
9021 { | |
10517 #endif | 9022 #endif |
9023 /* We use char because int might match the return type of a gcc2 | |
9024 builtin and then its argument prototype would still apply. */ | |
10518 char malloc_set_state (); | 9025 char malloc_set_state (); |
10519 /* The GNU C library defines this for functions which it implements | 9026 /* The GNU C library defines this for functions which it implements |
10520 to always fail with ENOSYS. Some functions are actually named | 9027 to always fail with ENOSYS. Some functions are actually named |
10521 something starting with __ and the normal name is an alias. */ | 9028 something starting with __ and the normal name is an alias. */ |
10522 #if defined __stub_malloc_set_state || defined __stub___malloc_set_state | 9029 #if defined (__stub_malloc_set_state) || defined (__stub___malloc_set_state) |
10523 choke me | 9030 choke me |
9031 #else | |
9032 char (*f) () = malloc_set_state; | |
9033 #endif | |
9034 #ifdef __cplusplus | |
9035 } | |
10524 #endif | 9036 #endif |
10525 | 9037 |
10526 int | 9038 int |
10527 main () | 9039 main () |
10528 { | 9040 { |
10529 return malloc_set_state (); | 9041 return f != malloc_set_state; |
10530 ; | 9042 ; |
10531 return 0; | 9043 return 0; |
10532 } | 9044 } |
10533 _ACEOF | 9045 _ACEOF |
10534 rm -f conftest.$ac_objext conftest$ac_exeext | 9046 rm -f conftest.$ac_objext conftest$ac_exeext |
10535 if { (ac_try="$ac_link" | 9047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10536 case "(($ac_try" in | 9048 (eval $ac_link) 2>conftest.er1 |
10537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10538 *) ac_try_echo=$ac_try;; | |
10539 esac | |
10540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
10541 (eval "$ac_link") 2>conftest.er1 | |
10542 ac_status=$? | 9049 ac_status=$? |
10543 grep -v '^ *+' conftest.er1 >conftest.err | 9050 grep -v '^ *+' conftest.er1 >conftest.err |
10544 rm -f conftest.er1 | 9051 rm -f conftest.er1 |
10545 cat conftest.err >&5 | 9052 cat conftest.err >&5 |
10546 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9053 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10547 (exit $ac_status); } && | 9054 (exit $ac_status); } && |
10548 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 9055 { ac_try='test -z "$ac_c_werror_flag" |
10549 { (case "(($ac_try" in | 9056 || test ! -s conftest.err' |
10550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 9057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10551 *) ac_try_echo=$ac_try;; | 9058 (eval $ac_try) 2>&5 |
10552 esac | |
10553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
10554 (eval "$ac_try") 2>&5 | |
10555 ac_status=$? | 9059 ac_status=$? |
10556 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9060 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10557 (exit $ac_status); }; } && | 9061 (exit $ac_status); }; } && |
10558 { ac_try='test -s conftest$ac_exeext' | 9062 { ac_try='test -s conftest$ac_exeext' |
10559 { (case "(($ac_try" in | 9063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 9064 (eval $ac_try) 2>&5 |
10561 *) ac_try_echo=$ac_try;; | |
10562 esac | |
10563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
10564 (eval "$ac_try") 2>&5 | |
10565 ac_status=$? | 9065 ac_status=$? |
10566 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9066 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10567 (exit $ac_status); }; }; then | 9067 (exit $ac_status); }; }; then |
10568 ac_cv_func_malloc_set_state=yes | 9068 ac_cv_func_malloc_set_state=yes |
10569 else | 9069 else |
10570 echo "$as_me: failed program was:" >&5 | 9070 echo "$as_me: failed program was:" >&5 |
10571 sed 's/^/| /' conftest.$ac_ext >&5 | 9071 sed 's/^/| /' conftest.$ac_ext >&5 |
10572 | 9072 |
10573 ac_cv_func_malloc_set_state=no | 9073 ac_cv_func_malloc_set_state=no |
10574 fi | 9074 fi |
10575 | 9075 rm -f conftest.err conftest.$ac_objext \ |
10576 rm -f core conftest.err conftest.$ac_objext \ | |
10577 conftest$ac_exeext conftest.$ac_ext | 9076 conftest$ac_exeext conftest.$ac_ext |
10578 fi | 9077 fi |
10579 { echo "$as_me:$LINENO: result: $ac_cv_func_malloc_set_state" >&5 | 9078 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_set_state" >&5 |
10580 echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6; } | 9079 echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6 |
10581 if test $ac_cv_func_malloc_set_state = yes; then | 9080 if test $ac_cv_func_malloc_set_state = yes; then |
10582 : | 9081 : |
10583 else | 9082 else |
10584 doug_lea_malloc=no | 9083 doug_lea_malloc=no |
10585 fi | 9084 fi |
10586 | 9085 |
10587 { echo "$as_me:$LINENO: checking whether __after_morecore_hook exists" >&5 | 9086 echo "$as_me:$LINENO: checking whether __after_morecore_hook exists" >&5 |
10588 echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6; } | 9087 echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6 |
10589 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then | 9088 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then |
10590 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9089 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10591 else | 9090 else |
10592 cat >conftest.$ac_ext <<_ACEOF | 9091 cat >conftest.$ac_ext <<_ACEOF |
10593 /* confdefs.h. */ | 9092 /* confdefs.h. */ |
10603 ; | 9102 ; |
10604 return 0; | 9103 return 0; |
10605 } | 9104 } |
10606 _ACEOF | 9105 _ACEOF |
10607 rm -f conftest.$ac_objext conftest$ac_exeext | 9106 rm -f conftest.$ac_objext conftest$ac_exeext |
10608 if { (ac_try="$ac_link" | 9107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10609 case "(($ac_try" in | 9108 (eval $ac_link) 2>conftest.er1 |
10610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10611 *) ac_try_echo=$ac_try;; | |
10612 esac | |
10613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
10614 (eval "$ac_link") 2>conftest.er1 | |
10615 ac_status=$? | 9109 ac_status=$? |
10616 grep -v '^ *+' conftest.er1 >conftest.err | 9110 grep -v '^ *+' conftest.er1 >conftest.err |
10617 rm -f conftest.er1 | 9111 rm -f conftest.er1 |
10618 cat conftest.err >&5 | 9112 cat conftest.err >&5 |
10619 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9113 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10620 (exit $ac_status); } && | 9114 (exit $ac_status); } && |
10621 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 9115 { ac_try='test -z "$ac_c_werror_flag" |
10622 { (case "(($ac_try" in | 9116 || test ! -s conftest.err' |
10623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 9117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10624 *) ac_try_echo=$ac_try;; | 9118 (eval $ac_try) 2>&5 |
10625 esac | |
10626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
10627 (eval "$ac_try") 2>&5 | |
10628 ac_status=$? | 9119 ac_status=$? |
10629 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9120 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10630 (exit $ac_status); }; } && | 9121 (exit $ac_status); }; } && |
10631 { ac_try='test -s conftest$ac_exeext' | 9122 { ac_try='test -s conftest$ac_exeext' |
10632 { (case "(($ac_try" in | 9123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 9124 (eval $ac_try) 2>&5 |
10634 *) ac_try_echo=$ac_try;; | |
10635 esac | |
10636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
10637 (eval "$ac_try") 2>&5 | |
10638 ac_status=$? | 9125 ac_status=$? |
10639 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9126 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10640 (exit $ac_status); }; }; then | 9127 (exit $ac_status); }; }; then |
10641 emacs_cv_var___after_morecore_hook=yes | 9128 emacs_cv_var___after_morecore_hook=yes |
10642 else | 9129 else |
10643 echo "$as_me: failed program was:" >&5 | 9130 echo "$as_me: failed program was:" >&5 |
10644 sed 's/^/| /' conftest.$ac_ext >&5 | 9131 sed 's/^/| /' conftest.$ac_ext >&5 |
10645 | 9132 |
10646 emacs_cv_var___after_morecore_hook=no | 9133 emacs_cv_var___after_morecore_hook=no |
10647 fi | 9134 fi |
10648 | 9135 rm -f conftest.err conftest.$ac_objext \ |
10649 rm -f core conftest.err conftest.$ac_objext \ | |
10650 conftest$ac_exeext conftest.$ac_ext | 9136 conftest$ac_exeext conftest.$ac_ext |
10651 fi | 9137 fi |
10652 { echo "$as_me:$LINENO: result: $emacs_cv_var___after_morecore_hook" >&5 | 9138 echo "$as_me:$LINENO: result: $emacs_cv_var___after_morecore_hook" >&5 |
10653 echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6; } | 9139 echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6 |
10654 if test $emacs_cv_var___after_morecore_hook = no; then | 9140 if test $emacs_cv_var___after_morecore_hook = no; then |
10655 doug_lea_malloc=no | 9141 doug_lea_malloc=no |
10656 fi | 9142 fi |
10657 if test "${system_malloc}" = "yes"; then | 9143 if test "${system_malloc}" = "yes"; then |
10658 GNU_MALLOC=no | 9144 GNU_MALLOC=no |
10679 | 9165 |
10680 | 9166 |
10681 for ac_header in stdlib.h unistd.h | 9167 for ac_header in stdlib.h unistd.h |
10682 do | 9168 do |
10683 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 9169 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10684 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 9170 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
10685 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 9171 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
10686 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 9172 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
10687 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 9173 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
10688 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9174 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10689 fi | 9175 fi |
10690 ac_res=`eval echo '${'$as_ac_Header'}'` | 9176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
10691 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 9177 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
10692 echo "${ECHO_T}$ac_res" >&6; } | |
10693 else | 9178 else |
10694 # Is the header compilable? | 9179 # Is the header compilable? |
10695 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 9180 echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
10696 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | 9181 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
10697 cat >conftest.$ac_ext <<_ACEOF | 9182 cat >conftest.$ac_ext <<_ACEOF |
10698 /* confdefs.h. */ | 9183 /* confdefs.h. */ |
10699 _ACEOF | 9184 _ACEOF |
10700 cat confdefs.h >>conftest.$ac_ext | 9185 cat confdefs.h >>conftest.$ac_ext |
10701 cat >>conftest.$ac_ext <<_ACEOF | 9186 cat >>conftest.$ac_ext <<_ACEOF |
10702 /* end confdefs.h. */ | 9187 /* end confdefs.h. */ |
10703 $ac_includes_default | 9188 $ac_includes_default |
10704 #include <$ac_header> | 9189 #include <$ac_header> |
10705 _ACEOF | 9190 _ACEOF |
10706 rm -f conftest.$ac_objext | 9191 rm -f conftest.$ac_objext |
10707 if { (ac_try="$ac_compile" | 9192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
10708 case "(($ac_try" in | 9193 (eval $ac_compile) 2>conftest.er1 |
10709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10710 *) ac_try_echo=$ac_try;; | |
10711 esac | |
10712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
10713 (eval "$ac_compile") 2>conftest.er1 | |
10714 ac_status=$? | 9194 ac_status=$? |
10715 grep -v '^ *+' conftest.er1 >conftest.err | 9195 grep -v '^ *+' conftest.er1 >conftest.err |
10716 rm -f conftest.er1 | 9196 rm -f conftest.er1 |
10717 cat conftest.err >&5 | 9197 cat conftest.err >&5 |
10718 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9198 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10719 (exit $ac_status); } && | 9199 (exit $ac_status); } && |
10720 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 9200 { ac_try='test -z "$ac_c_werror_flag" |
10721 { (case "(($ac_try" in | 9201 || test ! -s conftest.err' |
10722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 9202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10723 *) ac_try_echo=$ac_try;; | 9203 (eval $ac_try) 2>&5 |
10724 esac | |
10725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
10726 (eval "$ac_try") 2>&5 | |
10727 ac_status=$? | 9204 ac_status=$? |
10728 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9205 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10729 (exit $ac_status); }; } && | 9206 (exit $ac_status); }; } && |
10730 { ac_try='test -s conftest.$ac_objext' | 9207 { ac_try='test -s conftest.$ac_objext' |
10731 { (case "(($ac_try" in | 9208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 9209 (eval $ac_try) 2>&5 |
10733 *) ac_try_echo=$ac_try;; | |
10734 esac | |
10735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
10736 (eval "$ac_try") 2>&5 | |
10737 ac_status=$? | 9210 ac_status=$? |
10738 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9211 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10739 (exit $ac_status); }; }; then | 9212 (exit $ac_status); }; }; then |
10740 ac_header_compiler=yes | 9213 ac_header_compiler=yes |
10741 else | 9214 else |
10742 echo "$as_me: failed program was:" >&5 | 9215 echo "$as_me: failed program was:" >&5 |
10743 sed 's/^/| /' conftest.$ac_ext >&5 | 9216 sed 's/^/| /' conftest.$ac_ext >&5 |
10744 | 9217 |
10745 ac_header_compiler=no | 9218 ac_header_compiler=no |
10746 fi | 9219 fi |
10747 | 9220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 9221 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
10749 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 9222 echo "${ECHO_T}$ac_header_compiler" >&6 |
10750 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
10751 | 9223 |
10752 # Is the header present? | 9224 # Is the header present? |
10753 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 9225 echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
10754 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | 9226 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
10755 cat >conftest.$ac_ext <<_ACEOF | 9227 cat >conftest.$ac_ext <<_ACEOF |
10756 /* confdefs.h. */ | 9228 /* confdefs.h. */ |
10757 _ACEOF | 9229 _ACEOF |
10758 cat confdefs.h >>conftest.$ac_ext | 9230 cat confdefs.h >>conftest.$ac_ext |
10759 cat >>conftest.$ac_ext <<_ACEOF | 9231 cat >>conftest.$ac_ext <<_ACEOF |
10760 /* end confdefs.h. */ | 9232 /* end confdefs.h. */ |
10761 #include <$ac_header> | 9233 #include <$ac_header> |
10762 _ACEOF | 9234 _ACEOF |
10763 if { (ac_try="$ac_cpp conftest.$ac_ext" | 9235 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
10764 case "(($ac_try" in | 9236 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
10765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10766 *) ac_try_echo=$ac_try;; | |
10767 esac | |
10768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
10769 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
10770 ac_status=$? | 9237 ac_status=$? |
10771 grep -v '^ *+' conftest.er1 >conftest.err | 9238 grep -v '^ *+' conftest.er1 >conftest.err |
10772 rm -f conftest.er1 | 9239 rm -f conftest.er1 |
10773 cat conftest.err >&5 | 9240 cat conftest.err >&5 |
10774 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9241 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10788 echo "$as_me: failed program was:" >&5 | 9255 echo "$as_me: failed program was:" >&5 |
10789 sed 's/^/| /' conftest.$ac_ext >&5 | 9256 sed 's/^/| /' conftest.$ac_ext >&5 |
10790 | 9257 |
10791 ac_header_preproc=no | 9258 ac_header_preproc=no |
10792 fi | 9259 fi |
10793 | |
10794 rm -f conftest.err conftest.$ac_ext | 9260 rm -f conftest.err conftest.$ac_ext |
10795 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 9261 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
10796 echo "${ECHO_T}$ac_header_preproc" >&6; } | 9262 echo "${ECHO_T}$ac_header_preproc" >&6 |
10797 | 9263 |
10798 # So? What about this header? | 9264 # So? What about this header? |
10799 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 9265 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
10800 yes:no: ) | 9266 yes:no: ) |
10801 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 9267 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
10815 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | 9281 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
10816 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 9282 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
10817 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 9283 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
10818 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 9284 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
10819 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 9285 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
10820 | 9286 ( |
9287 cat <<\_ASBOX | |
9288 ## ------------------------------------------ ## | |
9289 ## Report this to the AC_PACKAGE_NAME lists. ## | |
9290 ## ------------------------------------------ ## | |
9291 _ASBOX | |
9292 ) | | |
9293 sed "s/^/$as_me: WARNING: /" >&2 | |
10821 ;; | 9294 ;; |
10822 esac | 9295 esac |
10823 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 9296 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
10824 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 9297 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
10825 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 9298 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
10826 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9299 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10827 else | 9300 else |
10828 eval "$as_ac_Header=\$ac_header_preproc" | 9301 eval "$as_ac_Header=\$ac_header_preproc" |
10829 fi | 9302 fi |
10830 ac_res=`eval echo '${'$as_ac_Header'}'` | 9303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
10831 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 9304 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
10832 echo "${ECHO_T}$ac_res" >&6; } | |
10833 | 9305 |
10834 fi | 9306 fi |
10835 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 9307 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
10836 cat >>confdefs.h <<_ACEOF | 9308 cat >>confdefs.h <<_ACEOF |
10837 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 9309 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
10843 | 9315 |
10844 | 9316 |
10845 for ac_func in getpagesize | 9317 for ac_func in getpagesize |
10846 do | 9318 do |
10847 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 9319 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10848 { echo "$as_me:$LINENO: checking for $ac_func" >&5 | 9320 echo "$as_me:$LINENO: checking for $ac_func" >&5 |
10849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 9321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
10850 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 9322 if eval "test \"\${$as_ac_var+set}\" = set"; then |
10851 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9323 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10852 else | 9324 else |
10853 cat >conftest.$ac_ext <<_ACEOF | 9325 cat >conftest.$ac_ext <<_ACEOF |
10854 /* confdefs.h. */ | 9326 /* confdefs.h. */ |
10855 _ACEOF | 9327 _ACEOF |
10871 # include <assert.h> | 9343 # include <assert.h> |
10872 #endif | 9344 #endif |
10873 | 9345 |
10874 #undef $ac_func | 9346 #undef $ac_func |
10875 | 9347 |
10876 /* Override any GCC internal prototype to avoid an error. | 9348 /* Override any gcc2 internal prototype to avoid an error. */ |
10877 Use char because int might match the return type of a GCC | |
10878 builtin and then its argument prototype would still apply. */ | |
10879 #ifdef __cplusplus | 9349 #ifdef __cplusplus |
10880 extern "C" | 9350 extern "C" |
9351 { | |
10881 #endif | 9352 #endif |
9353 /* We use char because int might match the return type of a gcc2 | |
9354 builtin and then its argument prototype would still apply. */ | |
10882 char $ac_func (); | 9355 char $ac_func (); |
10883 /* The GNU C library defines this for functions which it implements | 9356 /* The GNU C library defines this for functions which it implements |
10884 to always fail with ENOSYS. Some functions are actually named | 9357 to always fail with ENOSYS. Some functions are actually named |
10885 something starting with __ and the normal name is an alias. */ | 9358 something starting with __ and the normal name is an alias. */ |
10886 #if defined __stub_$ac_func || defined __stub___$ac_func | 9359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
10887 choke me | 9360 choke me |
9361 #else | |
9362 char (*f) () = $ac_func; | |
9363 #endif | |
9364 #ifdef __cplusplus | |
9365 } | |
10888 #endif | 9366 #endif |
10889 | 9367 |
10890 int | 9368 int |
10891 main () | 9369 main () |
10892 { | 9370 { |
10893 return $ac_func (); | 9371 return f != $ac_func; |
10894 ; | 9372 ; |
10895 return 0; | 9373 return 0; |
10896 } | 9374 } |
10897 _ACEOF | 9375 _ACEOF |
10898 rm -f conftest.$ac_objext conftest$ac_exeext | 9376 rm -f conftest.$ac_objext conftest$ac_exeext |
10899 if { (ac_try="$ac_link" | 9377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10900 case "(($ac_try" in | 9378 (eval $ac_link) 2>conftest.er1 |
10901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10902 *) ac_try_echo=$ac_try;; | |
10903 esac | |
10904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
10905 (eval "$ac_link") 2>conftest.er1 | |
10906 ac_status=$? | 9379 ac_status=$? |
10907 grep -v '^ *+' conftest.er1 >conftest.err | 9380 grep -v '^ *+' conftest.er1 >conftest.err |
10908 rm -f conftest.er1 | 9381 rm -f conftest.er1 |
10909 cat conftest.err >&5 | 9382 cat conftest.err >&5 |
10910 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9383 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10911 (exit $ac_status); } && | 9384 (exit $ac_status); } && |
10912 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 9385 { ac_try='test -z "$ac_c_werror_flag" |
10913 { (case "(($ac_try" in | 9386 || test ! -s conftest.err' |
10914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 9387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10915 *) ac_try_echo=$ac_try;; | 9388 (eval $ac_try) 2>&5 |
10916 esac | |
10917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
10918 (eval "$ac_try") 2>&5 | |
10919 ac_status=$? | 9389 ac_status=$? |
10920 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9390 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10921 (exit $ac_status); }; } && | 9391 (exit $ac_status); }; } && |
10922 { ac_try='test -s conftest$ac_exeext' | 9392 { ac_try='test -s conftest$ac_exeext' |
10923 { (case "(($ac_try" in | 9393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 9394 (eval $ac_try) 2>&5 |
10925 *) ac_try_echo=$ac_try;; | |
10926 esac | |
10927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
10928 (eval "$ac_try") 2>&5 | |
10929 ac_status=$? | 9395 ac_status=$? |
10930 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9396 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10931 (exit $ac_status); }; }; then | 9397 (exit $ac_status); }; }; then |
10932 eval "$as_ac_var=yes" | 9398 eval "$as_ac_var=yes" |
10933 else | 9399 else |
10934 echo "$as_me: failed program was:" >&5 | 9400 echo "$as_me: failed program was:" >&5 |
10935 sed 's/^/| /' conftest.$ac_ext >&5 | 9401 sed 's/^/| /' conftest.$ac_ext >&5 |
10936 | 9402 |
10937 eval "$as_ac_var=no" | 9403 eval "$as_ac_var=no" |
10938 fi | 9404 fi |
10939 | 9405 rm -f conftest.err conftest.$ac_objext \ |
10940 rm -f core conftest.err conftest.$ac_objext \ | |
10941 conftest$ac_exeext conftest.$ac_ext | 9406 conftest$ac_exeext conftest.$ac_ext |
10942 fi | 9407 fi |
10943 ac_res=`eval echo '${'$as_ac_var'}'` | 9408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
10944 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 9409 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
10945 echo "${ECHO_T}$ac_res" >&6; } | |
10946 if test `eval echo '${'$as_ac_var'}'` = yes; then | 9410 if test `eval echo '${'$as_ac_var'}'` = yes; then |
10947 cat >>confdefs.h <<_ACEOF | 9411 cat >>confdefs.h <<_ACEOF |
10948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 9412 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
10949 _ACEOF | 9413 _ACEOF |
10950 | 9414 |
10951 fi | 9415 fi |
10952 done | 9416 done |
10953 | 9417 |
10954 { echo "$as_me:$LINENO: checking for working mmap" >&5 | 9418 echo "$as_me:$LINENO: checking for working mmap" >&5 |
10955 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; } | 9419 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6 |
10956 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then | 9420 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then |
10957 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9421 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10958 else | 9422 else |
10959 if test "$cross_compiling" = yes; then | 9423 if test "$cross_compiling" = yes; then |
10960 ac_cv_func_mmap_fixed_mapped=no | 9424 ac_cv_func_mmap_fixed_mapped=no |
11045 pagesize = getpagesize (); | 9509 pagesize = getpagesize (); |
11046 | 9510 |
11047 /* First, make a file with some known garbage in it. */ | 9511 /* First, make a file with some known garbage in it. */ |
11048 data = (char *) malloc (pagesize); | 9512 data = (char *) malloc (pagesize); |
11049 if (!data) | 9513 if (!data) |
11050 return 1; | 9514 exit (1); |
11051 for (i = 0; i < pagesize; ++i) | 9515 for (i = 0; i < pagesize; ++i) |
11052 *(data + i) = rand (); | 9516 *(data + i) = rand (); |
11053 umask (0); | 9517 umask (0); |
11054 fd = creat ("conftest.mmap", 0600); | 9518 fd = creat ("conftest.mmap", 0600); |
11055 if (fd < 0) | 9519 if (fd < 0) |
11056 return 1; | 9520 exit (1); |
11057 if (write (fd, data, pagesize) != pagesize) | 9521 if (write (fd, data, pagesize) != pagesize) |
11058 return 1; | 9522 exit (1); |
11059 close (fd); | 9523 close (fd); |
11060 | 9524 |
11061 /* Next, try to mmap the file at a fixed address which already has | 9525 /* Next, try to mmap the file at a fixed address which already has |
11062 something else allocated at it. If we can, also make sure that | 9526 something else allocated at it. If we can, also make sure that |
11063 we see the same garbage. */ | 9527 we see the same garbage. */ |
11064 fd = open ("conftest.mmap", O_RDWR); | 9528 fd = open ("conftest.mmap", O_RDWR); |
11065 if (fd < 0) | 9529 if (fd < 0) |
11066 return 1; | 9530 exit (1); |
11067 data2 = (char *) malloc (2 * pagesize); | 9531 data2 = (char *) malloc (2 * pagesize); |
11068 if (!data2) | 9532 if (!data2) |
11069 return 1; | 9533 exit (1); |
11070 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1); | 9534 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1); |
11071 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, | 9535 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, |
11072 MAP_PRIVATE | MAP_FIXED, fd, 0L)) | 9536 MAP_PRIVATE | MAP_FIXED, fd, 0L)) |
11073 return 1; | 9537 exit (1); |
11074 for (i = 0; i < pagesize; ++i) | 9538 for (i = 0; i < pagesize; ++i) |
11075 if (*(data + i) != *(data2 + i)) | 9539 if (*(data + i) != *(data2 + i)) |
11076 return 1; | 9540 exit (1); |
11077 | 9541 |
11078 /* Finally, make sure that changes to the mapped area do not | 9542 /* Finally, make sure that changes to the mapped area do not |
11079 percolate back to the file as seen by read(). (This is a bug on | 9543 percolate back to the file as seen by read(). (This is a bug on |
11080 some variants of i386 svr4.0.) */ | 9544 some variants of i386 svr4.0.) */ |
11081 for (i = 0; i < pagesize; ++i) | 9545 for (i = 0; i < pagesize; ++i) |
11082 *(data2 + i) = *(data2 + i) + 1; | 9546 *(data2 + i) = *(data2 + i) + 1; |
11083 data3 = (char *) malloc (pagesize); | 9547 data3 = (char *) malloc (pagesize); |
11084 if (!data3) | 9548 if (!data3) |
11085 return 1; | 9549 exit (1); |
11086 if (read (fd, data3, pagesize) != pagesize) | 9550 if (read (fd, data3, pagesize) != pagesize) |
11087 return 1; | 9551 exit (1); |
11088 for (i = 0; i < pagesize; ++i) | 9552 for (i = 0; i < pagesize; ++i) |
11089 if (*(data + i) != *(data3 + i)) | 9553 if (*(data + i) != *(data3 + i)) |
11090 return 1; | 9554 exit (1); |
11091 close (fd); | 9555 close (fd); |
11092 return 0; | 9556 exit (0); |
11093 } | 9557 } |
11094 _ACEOF | 9558 _ACEOF |
11095 rm -f conftest$ac_exeext | 9559 rm -f conftest$ac_exeext |
11096 if { (ac_try="$ac_link" | 9560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
11097 case "(($ac_try" in | 9561 (eval $ac_link) 2>&5 |
11098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11099 *) ac_try_echo=$ac_try;; | |
11100 esac | |
11101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11102 (eval "$ac_link") 2>&5 | |
11103 ac_status=$? | 9562 ac_status=$? |
11104 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9563 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11105 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 9564 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
11106 { (case "(($ac_try" in | 9565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 9566 (eval $ac_try) 2>&5 |
11108 *) ac_try_echo=$ac_try;; | |
11109 esac | |
11110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11111 (eval "$ac_try") 2>&5 | |
11112 ac_status=$? | 9567 ac_status=$? |
11113 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9568 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11114 (exit $ac_status); }; }; then | 9569 (exit $ac_status); }; }; then |
11115 ac_cv_func_mmap_fixed_mapped=yes | 9570 ac_cv_func_mmap_fixed_mapped=yes |
11116 else | 9571 else |
11119 sed 's/^/| /' conftest.$ac_ext >&5 | 9574 sed 's/^/| /' conftest.$ac_ext >&5 |
11120 | 9575 |
11121 ( exit $ac_status ) | 9576 ( exit $ac_status ) |
11122 ac_cv_func_mmap_fixed_mapped=no | 9577 ac_cv_func_mmap_fixed_mapped=no |
11123 fi | 9578 fi |
11124 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 9579 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11125 fi | 9580 fi |
11126 | 9581 fi |
11127 | 9582 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5 |
11128 fi | 9583 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6 |
11129 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5 | |
11130 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; } | |
11131 if test $ac_cv_func_mmap_fixed_mapped = yes; then | 9584 if test $ac_cv_func_mmap_fixed_mapped = yes; then |
11132 | 9585 |
11133 cat >>confdefs.h <<\_ACEOF | 9586 cat >>confdefs.h <<\_ACEOF |
11134 #define HAVE_MMAP 1 | 9587 #define HAVE_MMAP 1 |
11135 _ACEOF | 9588 _ACEOF |
11142 fi | 9595 fi |
11143 | 9596 |
11144 LIBS="$libsrc_libs $LIBS" | 9597 LIBS="$libsrc_libs $LIBS" |
11145 | 9598 |
11146 | 9599 |
11147 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5 | 9600 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5 |
11148 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; } | 9601 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6 |
11149 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then | 9602 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then |
11150 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9603 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11151 else | 9604 else |
11152 ac_check_lib_save_LIBS=$LIBS | 9605 ac_check_lib_save_LIBS=$LIBS |
11153 LIBS="-ldnet $LIBS" | 9606 LIBS="-ldnet $LIBS" |
11156 _ACEOF | 9609 _ACEOF |
11157 cat confdefs.h >>conftest.$ac_ext | 9610 cat confdefs.h >>conftest.$ac_ext |
11158 cat >>conftest.$ac_ext <<_ACEOF | 9611 cat >>conftest.$ac_ext <<_ACEOF |
11159 /* end confdefs.h. */ | 9612 /* end confdefs.h. */ |
11160 | 9613 |
11161 /* Override any GCC internal prototype to avoid an error. | 9614 /* Override any gcc2 internal prototype to avoid an error. */ |
11162 Use char because int might match the return type of a GCC | |
11163 builtin and then its argument prototype would still apply. */ | |
11164 #ifdef __cplusplus | 9615 #ifdef __cplusplus |
11165 extern "C" | 9616 extern "C" |
11166 #endif | 9617 #endif |
9618 /* We use char because int might match the return type of a gcc2 | |
9619 builtin and then its argument prototype would still apply. */ | |
11167 char dnet_ntoa (); | 9620 char dnet_ntoa (); |
11168 int | 9621 int |
11169 main () | 9622 main () |
11170 { | 9623 { |
11171 return dnet_ntoa (); | 9624 dnet_ntoa (); |
11172 ; | 9625 ; |
11173 return 0; | 9626 return 0; |
11174 } | 9627 } |
11175 _ACEOF | 9628 _ACEOF |
11176 rm -f conftest.$ac_objext conftest$ac_exeext | 9629 rm -f conftest.$ac_objext conftest$ac_exeext |
11177 if { (ac_try="$ac_link" | 9630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
11178 case "(($ac_try" in | 9631 (eval $ac_link) 2>conftest.er1 |
11179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11180 *) ac_try_echo=$ac_try;; | |
11181 esac | |
11182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11183 (eval "$ac_link") 2>conftest.er1 | |
11184 ac_status=$? | 9632 ac_status=$? |
11185 grep -v '^ *+' conftest.er1 >conftest.err | 9633 grep -v '^ *+' conftest.er1 >conftest.err |
11186 rm -f conftest.er1 | 9634 rm -f conftest.er1 |
11187 cat conftest.err >&5 | 9635 cat conftest.err >&5 |
11188 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9636 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11189 (exit $ac_status); } && | 9637 (exit $ac_status); } && |
11190 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 9638 { ac_try='test -z "$ac_c_werror_flag" |
11191 { (case "(($ac_try" in | 9639 || test ! -s conftest.err' |
11192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 9640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11193 *) ac_try_echo=$ac_try;; | 9641 (eval $ac_try) 2>&5 |
11194 esac | |
11195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11196 (eval "$ac_try") 2>&5 | |
11197 ac_status=$? | 9642 ac_status=$? |
11198 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9643 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11199 (exit $ac_status); }; } && | 9644 (exit $ac_status); }; } && |
11200 { ac_try='test -s conftest$ac_exeext' | 9645 { ac_try='test -s conftest$ac_exeext' |
11201 { (case "(($ac_try" in | 9646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 9647 (eval $ac_try) 2>&5 |
11203 *) ac_try_echo=$ac_try;; | |
11204 esac | |
11205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11206 (eval "$ac_try") 2>&5 | |
11207 ac_status=$? | 9648 ac_status=$? |
11208 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9649 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11209 (exit $ac_status); }; }; then | 9650 (exit $ac_status); }; }; then |
11210 ac_cv_lib_dnet_dnet_ntoa=yes | 9651 ac_cv_lib_dnet_dnet_ntoa=yes |
11211 else | 9652 else |
11212 echo "$as_me: failed program was:" >&5 | 9653 echo "$as_me: failed program was:" >&5 |
11213 sed 's/^/| /' conftest.$ac_ext >&5 | 9654 sed 's/^/| /' conftest.$ac_ext >&5 |
11214 | 9655 |
11215 ac_cv_lib_dnet_dnet_ntoa=no | 9656 ac_cv_lib_dnet_dnet_ntoa=no |
11216 fi | 9657 fi |
11217 | 9658 rm -f conftest.err conftest.$ac_objext \ |
11218 rm -f core conftest.err conftest.$ac_objext \ | |
11219 conftest$ac_exeext conftest.$ac_ext | 9659 conftest$ac_exeext conftest.$ac_ext |
11220 LIBS=$ac_check_lib_save_LIBS | 9660 LIBS=$ac_check_lib_save_LIBS |
11221 fi | 9661 fi |
11222 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 | 9662 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 |
11223 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; } | 9663 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6 |
11224 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then | 9664 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then |
11225 cat >>confdefs.h <<_ACEOF | 9665 cat >>confdefs.h <<_ACEOF |
11226 #define HAVE_LIBDNET 1 | 9666 #define HAVE_LIBDNET 1 |
11227 _ACEOF | 9667 _ACEOF |
11228 | 9668 |
11229 LIBS="-ldnet $LIBS" | 9669 LIBS="-ldnet $LIBS" |
11230 | 9670 |
11231 fi | 9671 fi |
11232 | 9672 |
11233 | 9673 |
11234 { echo "$as_me:$LINENO: checking for main in -lXbsd" >&5 | 9674 echo "$as_me:$LINENO: checking for main in -lXbsd" >&5 |
11235 echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6; } | 9675 echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6 |
11236 if test "${ac_cv_lib_Xbsd_main+set}" = set; then | 9676 if test "${ac_cv_lib_Xbsd_main+set}" = set; then |
11237 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9677 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11238 else | 9678 else |
11239 ac_check_lib_save_LIBS=$LIBS | 9679 ac_check_lib_save_LIBS=$LIBS |
11240 LIBS="-lXbsd $LIBS" | 9680 LIBS="-lXbsd $LIBS" |
11247 | 9687 |
11248 | 9688 |
11249 int | 9689 int |
11250 main () | 9690 main () |
11251 { | 9691 { |
11252 return main (); | 9692 main (); |
11253 ; | 9693 ; |
11254 return 0; | 9694 return 0; |
11255 } | 9695 } |
11256 _ACEOF | 9696 _ACEOF |
11257 rm -f conftest.$ac_objext conftest$ac_exeext | 9697 rm -f conftest.$ac_objext conftest$ac_exeext |
11258 if { (ac_try="$ac_link" | 9698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
11259 case "(($ac_try" in | 9699 (eval $ac_link) 2>conftest.er1 |
11260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11261 *) ac_try_echo=$ac_try;; | |
11262 esac | |
11263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11264 (eval "$ac_link") 2>conftest.er1 | |
11265 ac_status=$? | 9700 ac_status=$? |
11266 grep -v '^ *+' conftest.er1 >conftest.err | 9701 grep -v '^ *+' conftest.er1 >conftest.err |
11267 rm -f conftest.er1 | 9702 rm -f conftest.er1 |
11268 cat conftest.err >&5 | 9703 cat conftest.err >&5 |
11269 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9704 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11270 (exit $ac_status); } && | 9705 (exit $ac_status); } && |
11271 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 9706 { ac_try='test -z "$ac_c_werror_flag" |
11272 { (case "(($ac_try" in | 9707 || test ! -s conftest.err' |
11273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 9708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11274 *) ac_try_echo=$ac_try;; | 9709 (eval $ac_try) 2>&5 |
11275 esac | |
11276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11277 (eval "$ac_try") 2>&5 | |
11278 ac_status=$? | 9710 ac_status=$? |
11279 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9711 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11280 (exit $ac_status); }; } && | 9712 (exit $ac_status); }; } && |
11281 { ac_try='test -s conftest$ac_exeext' | 9713 { ac_try='test -s conftest$ac_exeext' |
11282 { (case "(($ac_try" in | 9714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 9715 (eval $ac_try) 2>&5 |
11284 *) ac_try_echo=$ac_try;; | |
11285 esac | |
11286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11287 (eval "$ac_try") 2>&5 | |
11288 ac_status=$? | 9716 ac_status=$? |
11289 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9717 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11290 (exit $ac_status); }; }; then | 9718 (exit $ac_status); }; }; then |
11291 ac_cv_lib_Xbsd_main=yes | 9719 ac_cv_lib_Xbsd_main=yes |
11292 else | 9720 else |
11293 echo "$as_me: failed program was:" >&5 | 9721 echo "$as_me: failed program was:" >&5 |
11294 sed 's/^/| /' conftest.$ac_ext >&5 | 9722 sed 's/^/| /' conftest.$ac_ext >&5 |
11295 | 9723 |
11296 ac_cv_lib_Xbsd_main=no | 9724 ac_cv_lib_Xbsd_main=no |
11297 fi | 9725 fi |
11298 | 9726 rm -f conftest.err conftest.$ac_objext \ |
11299 rm -f core conftest.err conftest.$ac_objext \ | |
11300 conftest$ac_exeext conftest.$ac_ext | 9727 conftest$ac_exeext conftest.$ac_ext |
11301 LIBS=$ac_check_lib_save_LIBS | 9728 LIBS=$ac_check_lib_save_LIBS |
11302 fi | 9729 fi |
11303 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xbsd_main" >&5 | 9730 echo "$as_me:$LINENO: result: $ac_cv_lib_Xbsd_main" >&5 |
11304 echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6; } | 9731 echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6 |
11305 if test $ac_cv_lib_Xbsd_main = yes; then | 9732 if test $ac_cv_lib_Xbsd_main = yes; then |
11306 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" | 9733 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" |
11307 fi | 9734 fi |
11308 | 9735 |
11309 | 9736 |
11310 | 9737 |
11311 { echo "$as_me:$LINENO: checking for cma_open in -lpthreads" >&5 | 9738 echo "$as_me:$LINENO: checking for cma_open in -lpthreads" >&5 |
11312 echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6; } | 9739 echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6 |
11313 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then | 9740 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then |
11314 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9741 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11315 else | 9742 else |
11316 ac_check_lib_save_LIBS=$LIBS | 9743 ac_check_lib_save_LIBS=$LIBS |
11317 LIBS="-lpthreads $LIBS" | 9744 LIBS="-lpthreads $LIBS" |
11320 _ACEOF | 9747 _ACEOF |
11321 cat confdefs.h >>conftest.$ac_ext | 9748 cat confdefs.h >>conftest.$ac_ext |
11322 cat >>conftest.$ac_ext <<_ACEOF | 9749 cat >>conftest.$ac_ext <<_ACEOF |
11323 /* end confdefs.h. */ | 9750 /* end confdefs.h. */ |
11324 | 9751 |
11325 /* Override any GCC internal prototype to avoid an error. | 9752 /* Override any gcc2 internal prototype to avoid an error. */ |
11326 Use char because int might match the return type of a GCC | |
11327 builtin and then its argument prototype would still apply. */ | |
11328 #ifdef __cplusplus | 9753 #ifdef __cplusplus |
11329 extern "C" | 9754 extern "C" |
11330 #endif | 9755 #endif |
9756 /* We use char because int might match the return type of a gcc2 | |
9757 builtin and then its argument prototype would still apply. */ | |
11331 char cma_open (); | 9758 char cma_open (); |
11332 int | 9759 int |
11333 main () | 9760 main () |
11334 { | 9761 { |
11335 return cma_open (); | 9762 cma_open (); |
11336 ; | 9763 ; |
11337 return 0; | 9764 return 0; |
11338 } | 9765 } |
11339 _ACEOF | 9766 _ACEOF |
11340 rm -f conftest.$ac_objext conftest$ac_exeext | 9767 rm -f conftest.$ac_objext conftest$ac_exeext |
11341 if { (ac_try="$ac_link" | 9768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
11342 case "(($ac_try" in | 9769 (eval $ac_link) 2>conftest.er1 |
11343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11344 *) ac_try_echo=$ac_try;; | |
11345 esac | |
11346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11347 (eval "$ac_link") 2>conftest.er1 | |
11348 ac_status=$? | 9770 ac_status=$? |
11349 grep -v '^ *+' conftest.er1 >conftest.err | 9771 grep -v '^ *+' conftest.er1 >conftest.err |
11350 rm -f conftest.er1 | 9772 rm -f conftest.er1 |
11351 cat conftest.err >&5 | 9773 cat conftest.err >&5 |
11352 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9774 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11353 (exit $ac_status); } && | 9775 (exit $ac_status); } && |
11354 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 9776 { ac_try='test -z "$ac_c_werror_flag" |
11355 { (case "(($ac_try" in | 9777 || test ! -s conftest.err' |
11356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 9778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11357 *) ac_try_echo=$ac_try;; | 9779 (eval $ac_try) 2>&5 |
11358 esac | |
11359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11360 (eval "$ac_try") 2>&5 | |
11361 ac_status=$? | 9780 ac_status=$? |
11362 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9781 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11363 (exit $ac_status); }; } && | 9782 (exit $ac_status); }; } && |
11364 { ac_try='test -s conftest$ac_exeext' | 9783 { ac_try='test -s conftest$ac_exeext' |
11365 { (case "(($ac_try" in | 9784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 9785 (eval $ac_try) 2>&5 |
11367 *) ac_try_echo=$ac_try;; | |
11368 esac | |
11369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11370 (eval "$ac_try") 2>&5 | |
11371 ac_status=$? | 9786 ac_status=$? |
11372 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9787 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11373 (exit $ac_status); }; }; then | 9788 (exit $ac_status); }; }; then |
11374 ac_cv_lib_pthreads_cma_open=yes | 9789 ac_cv_lib_pthreads_cma_open=yes |
11375 else | 9790 else |
11376 echo "$as_me: failed program was:" >&5 | 9791 echo "$as_me: failed program was:" >&5 |
11377 sed 's/^/| /' conftest.$ac_ext >&5 | 9792 sed 's/^/| /' conftest.$ac_ext >&5 |
11378 | 9793 |
11379 ac_cv_lib_pthreads_cma_open=no | 9794 ac_cv_lib_pthreads_cma_open=no |
11380 fi | 9795 fi |
11381 | 9796 rm -f conftest.err conftest.$ac_objext \ |
11382 rm -f core conftest.err conftest.$ac_objext \ | |
11383 conftest$ac_exeext conftest.$ac_ext | 9797 conftest$ac_exeext conftest.$ac_ext |
11384 LIBS=$ac_check_lib_save_LIBS | 9798 LIBS=$ac_check_lib_save_LIBS |
11385 fi | 9799 fi |
11386 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_cma_open" >&5 | 9800 echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_cma_open" >&5 |
11387 echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6; } | 9801 echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6 |
11388 if test $ac_cv_lib_pthreads_cma_open = yes; then | 9802 if test $ac_cv_lib_pthreads_cma_open = yes; then |
11389 cat >>confdefs.h <<_ACEOF | 9803 cat >>confdefs.h <<_ACEOF |
11390 #define HAVE_LIBPTHREADS 1 | 9804 #define HAVE_LIBPTHREADS 1 |
11391 _ACEOF | 9805 _ACEOF |
11392 | 9806 |
11393 LIBS="-lpthreads $LIBS" | 9807 LIBS="-lpthreads $LIBS" |
11394 | 9808 |
11395 fi | 9809 fi |
11396 | 9810 |
11397 | 9811 |
11398 { echo "$as_me:$LINENO: checking for XFree86 in /usr/X386" >&5 | 9812 echo "$as_me:$LINENO: checking for XFree86 in /usr/X386" >&5 |
11399 echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6; } | 9813 echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6 |
11400 if test -d /usr/X386/include; then | 9814 if test -d /usr/X386/include; then |
11401 HAVE_XFREE386=yes | 9815 HAVE_XFREE386=yes |
11402 : ${C_SWITCH_X_SITE="-I/usr/X386/include"} | 9816 : ${C_SWITCH_X_SITE="-I/usr/X386/include"} |
11403 else | 9817 else |
11404 HAVE_XFREE386=no | 9818 HAVE_XFREE386=no |
11405 fi | 9819 fi |
11406 { echo "$as_me:$LINENO: result: $HAVE_XFREE386" >&5 | 9820 echo "$as_me:$LINENO: result: $HAVE_XFREE386" >&5 |
11407 echo "${ECHO_T}$HAVE_XFREE386" >&6; } | 9821 echo "${ECHO_T}$HAVE_XFREE386" >&6 |
11408 | 9822 |
11409 | 9823 |
11410 case ${host_os} in | 9824 case ${host_os} in |
11411 aix*) | 9825 aix*) |
11412 { echo "$as_me:$LINENO: checking for -bbigtoc option" >&5 | 9826 echo "$as_me:$LINENO: checking for -bbigtoc option" >&5 |
11413 echo $ECHO_N "checking for -bbigtoc option... $ECHO_C" >&6; } | 9827 echo $ECHO_N "checking for -bbigtoc option... $ECHO_C" >&6 |
11414 if test "${gdb_cv_bigtoc+set}" = set; then | 9828 if test "${gdb_cv_bigtoc+set}" = set; then |
11415 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9829 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11416 else | 9830 else |
11417 | 9831 |
11418 case $GCC in | 9832 case $GCC in |
11435 ; | 9849 ; |
11436 return 0; | 9850 return 0; |
11437 } | 9851 } |
11438 _ACEOF | 9852 _ACEOF |
11439 rm -f conftest.$ac_objext conftest$ac_exeext | 9853 rm -f conftest.$ac_objext conftest$ac_exeext |
11440 if { (ac_try="$ac_link" | 9854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
11441 case "(($ac_try" in | 9855 (eval $ac_link) 2>conftest.er1 |
11442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11443 *) ac_try_echo=$ac_try;; | |
11444 esac | |
11445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11446 (eval "$ac_link") 2>conftest.er1 | |
11447 ac_status=$? | 9856 ac_status=$? |
11448 grep -v '^ *+' conftest.er1 >conftest.err | 9857 grep -v '^ *+' conftest.er1 >conftest.err |
11449 rm -f conftest.er1 | 9858 rm -f conftest.er1 |
11450 cat conftest.err >&5 | 9859 cat conftest.err >&5 |
11451 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9860 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11452 (exit $ac_status); } && | 9861 (exit $ac_status); } && |
11453 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 9862 { ac_try='test -z "$ac_c_werror_flag" |
11454 { (case "(($ac_try" in | 9863 || test ! -s conftest.err' |
11455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 9864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11456 *) ac_try_echo=$ac_try;; | 9865 (eval $ac_try) 2>&5 |
11457 esac | |
11458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11459 (eval "$ac_try") 2>&5 | |
11460 ac_status=$? | 9866 ac_status=$? |
11461 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9867 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11462 (exit $ac_status); }; } && | 9868 (exit $ac_status); }; } && |
11463 { ac_try='test -s conftest$ac_exeext' | 9869 { ac_try='test -s conftest$ac_exeext' |
11464 { (case "(($ac_try" in | 9870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 9871 (eval $ac_try) 2>&5 |
11466 *) ac_try_echo=$ac_try;; | |
11467 esac | |
11468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11469 (eval "$ac_try") 2>&5 | |
11470 ac_status=$? | 9872 ac_status=$? |
11471 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9873 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11472 (exit $ac_status); }; }; then | 9874 (exit $ac_status); }; }; then |
11473 : | 9875 : |
11474 else | 9876 else |
11475 echo "$as_me: failed program was:" >&5 | 9877 echo "$as_me: failed program was:" >&5 |
11476 sed 's/^/| /' conftest.$ac_ext >&5 | 9878 sed 's/^/| /' conftest.$ac_ext >&5 |
11477 | 9879 |
11478 gdb_cv_bigtoc= | 9880 gdb_cv_bigtoc= |
11479 fi | 9881 fi |
11480 | 9882 rm -f conftest.err conftest.$ac_objext \ |
11481 rm -f core conftest.err conftest.$ac_objext \ | |
11482 conftest$ac_exeext conftest.$ac_ext | 9883 conftest$ac_exeext conftest.$ac_ext |
11483 | 9884 |
11484 fi | 9885 fi |
11485 { echo "$as_me:$LINENO: result: $gdb_cv_bigtoc" >&5 | 9886 echo "$as_me:$LINENO: result: $gdb_cv_bigtoc" >&5 |
11486 echo "${ECHO_T}$gdb_cv_bigtoc" >&6; } | 9887 echo "${ECHO_T}$gdb_cv_bigtoc" >&6 |
11487 ;; | 9888 ;; |
11488 esac | 9889 esac |
11489 | 9890 |
11490 # Change CFLAGS and CPPFLAGS temporarily so that C_SWITCH_X_SITE gets | 9891 # Change CFLAGS and CPPFLAGS temporarily so that C_SWITCH_X_SITE gets |
11491 # used for the tests that follow. We set them back to REAL_CFLAGS and | 9892 # used for the tests that follow. We set them back to REAL_CFLAGS and |
11508 LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH | 9909 LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH |
11509 export LD_RUN_PATH | 9910 export LD_RUN_PATH |
11510 fi | 9911 fi |
11511 | 9912 |
11512 if test "${opsys}" = "gnu-linux"; then | 9913 if test "${opsys}" = "gnu-linux"; then |
11513 { echo "$as_me:$LINENO: checking whether X on GNU/Linux needs -b to link" >&5 | 9914 echo "$as_me:$LINENO: checking whether X on GNU/Linux needs -b to link" >&5 |
11514 echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6; } | 9915 echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6 |
11515 cat >conftest.$ac_ext <<_ACEOF | 9916 cat >conftest.$ac_ext <<_ACEOF |
11516 /* confdefs.h. */ | 9917 /* confdefs.h. */ |
11517 _ACEOF | 9918 _ACEOF |
11518 cat confdefs.h >>conftest.$ac_ext | 9919 cat confdefs.h >>conftest.$ac_ext |
11519 cat >>conftest.$ac_ext <<_ACEOF | 9920 cat >>conftest.$ac_ext <<_ACEOF |
11526 ; | 9927 ; |
11527 return 0; | 9928 return 0; |
11528 } | 9929 } |
11529 _ACEOF | 9930 _ACEOF |
11530 rm -f conftest.$ac_objext conftest$ac_exeext | 9931 rm -f conftest.$ac_objext conftest$ac_exeext |
11531 if { (ac_try="$ac_link" | 9932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
11532 case "(($ac_try" in | 9933 (eval $ac_link) 2>conftest.er1 |
11533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11534 *) ac_try_echo=$ac_try;; | |
11535 esac | |
11536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11537 (eval "$ac_link") 2>conftest.er1 | |
11538 ac_status=$? | 9934 ac_status=$? |
11539 grep -v '^ *+' conftest.er1 >conftest.err | 9935 grep -v '^ *+' conftest.er1 >conftest.err |
11540 rm -f conftest.er1 | 9936 rm -f conftest.er1 |
11541 cat conftest.err >&5 | 9937 cat conftest.err >&5 |
11542 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9938 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11543 (exit $ac_status); } && | 9939 (exit $ac_status); } && |
11544 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 9940 { ac_try='test -z "$ac_c_werror_flag" |
11545 { (case "(($ac_try" in | 9941 || test ! -s conftest.err' |
11546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 9942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11547 *) ac_try_echo=$ac_try;; | 9943 (eval $ac_try) 2>&5 |
11548 esac | |
11549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11550 (eval "$ac_try") 2>&5 | |
11551 ac_status=$? | 9944 ac_status=$? |
11552 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9945 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11553 (exit $ac_status); }; } && | 9946 (exit $ac_status); }; } && |
11554 { ac_try='test -s conftest$ac_exeext' | 9947 { ac_try='test -s conftest$ac_exeext' |
11555 { (case "(($ac_try" in | 9948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 9949 (eval $ac_try) 2>&5 |
11557 *) ac_try_echo=$ac_try;; | |
11558 esac | |
11559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11560 (eval "$ac_try") 2>&5 | |
11561 ac_status=$? | 9950 ac_status=$? |
11562 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9951 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11563 (exit $ac_status); }; }; then | 9952 (exit $ac_status); }; }; then |
11564 xlinux_first_failure=no | 9953 xlinux_first_failure=no |
11565 else | 9954 else |
11566 echo "$as_me: failed program was:" >&5 | 9955 echo "$as_me: failed program was:" >&5 |
11567 sed 's/^/| /' conftest.$ac_ext >&5 | 9956 sed 's/^/| /' conftest.$ac_ext >&5 |
11568 | 9957 |
11569 xlinux_first_failure=yes | 9958 xlinux_first_failure=yes |
11570 fi | 9959 fi |
11571 | 9960 rm -f conftest.err conftest.$ac_objext \ |
11572 rm -f core conftest.err conftest.$ac_objext \ | |
11573 conftest$ac_exeext conftest.$ac_ext | 9961 conftest$ac_exeext conftest.$ac_ext |
11574 if test "${xlinux_first_failure}" = "yes"; then | 9962 if test "${xlinux_first_failure}" = "yes"; then |
11575 OLD_LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE" | 9963 OLD_LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE" |
11576 OLD_C_SWITCH_X_SITE="$C_SWITCH_X_SITE" | 9964 OLD_C_SWITCH_X_SITE="$C_SWITCH_X_SITE" |
11577 OLD_CPPFLAGS="$CPPFLAGS" | 9965 OLD_CPPFLAGS="$CPPFLAGS" |
11594 ; | 9982 ; |
11595 return 0; | 9983 return 0; |
11596 } | 9984 } |
11597 _ACEOF | 9985 _ACEOF |
11598 rm -f conftest.$ac_objext conftest$ac_exeext | 9986 rm -f conftest.$ac_objext conftest$ac_exeext |
11599 if { (ac_try="$ac_link" | 9987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
11600 case "(($ac_try" in | 9988 (eval $ac_link) 2>conftest.er1 |
11601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11602 *) ac_try_echo=$ac_try;; | |
11603 esac | |
11604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11605 (eval "$ac_link") 2>conftest.er1 | |
11606 ac_status=$? | 9989 ac_status=$? |
11607 grep -v '^ *+' conftest.er1 >conftest.err | 9990 grep -v '^ *+' conftest.er1 >conftest.err |
11608 rm -f conftest.er1 | 9991 rm -f conftest.er1 |
11609 cat conftest.err >&5 | 9992 cat conftest.err >&5 |
11610 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9993 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11611 (exit $ac_status); } && | 9994 (exit $ac_status); } && |
11612 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 9995 { ac_try='test -z "$ac_c_werror_flag" |
11613 { (case "(($ac_try" in | 9996 || test ! -s conftest.err' |
11614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 9997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11615 *) ac_try_echo=$ac_try;; | 9998 (eval $ac_try) 2>&5 |
11616 esac | |
11617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11618 (eval "$ac_try") 2>&5 | |
11619 ac_status=$? | 9999 ac_status=$? |
11620 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10000 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11621 (exit $ac_status); }; } && | 10001 (exit $ac_status); }; } && |
11622 { ac_try='test -s conftest$ac_exeext' | 10002 { ac_try='test -s conftest$ac_exeext' |
11623 { (case "(($ac_try" in | 10003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 10004 (eval $ac_try) 2>&5 |
11625 *) ac_try_echo=$ac_try;; | |
11626 esac | |
11627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11628 (eval "$ac_try") 2>&5 | |
11629 ac_status=$? | 10005 ac_status=$? |
11630 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10006 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11631 (exit $ac_status); }; }; then | 10007 (exit $ac_status); }; }; then |
11632 xlinux_second_failure=no | 10008 xlinux_second_failure=no |
11633 else | 10009 else |
11634 echo "$as_me: failed program was:" >&5 | 10010 echo "$as_me: failed program was:" >&5 |
11635 sed 's/^/| /' conftest.$ac_ext >&5 | 10011 sed 's/^/| /' conftest.$ac_ext >&5 |
11636 | 10012 |
11637 xlinux_second_failure=yes | 10013 xlinux_second_failure=yes |
11638 fi | 10014 fi |
11639 | 10015 rm -f conftest.err conftest.$ac_objext \ |
11640 rm -f core conftest.err conftest.$ac_objext \ | |
11641 conftest$ac_exeext conftest.$ac_ext | 10016 conftest$ac_exeext conftest.$ac_ext |
11642 if test "${xlinux_second_failure}" = "yes"; then | 10017 if test "${xlinux_second_failure}" = "yes"; then |
11643 # If we get the same failure with -b, there is no use adding -b. | 10018 # If we get the same failure with -b, there is no use adding -b. |
11644 # So take it out. This plays safe. | 10019 # So take it out. This plays safe. |
11645 LD_SWITCH_X_SITE="$OLD_LD_SWITCH_X_SITE" | 10020 LD_SWITCH_X_SITE="$OLD_LD_SWITCH_X_SITE" |
11646 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE" | 10021 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE" |
11647 CPPFLAGS="$OLD_CPPFLAGS" | 10022 CPPFLAGS="$OLD_CPPFLAGS" |
11648 LIBS="$OLD_LIBS" | 10023 LIBS="$OLD_LIBS" |
11649 { echo "$as_me:$LINENO: result: no" >&5 | 10024 echo "$as_me:$LINENO: result: no" >&5 |
11650 echo "${ECHO_T}no" >&6; } | 10025 echo "${ECHO_T}no" >&6 |
11651 else | 10026 else |
11652 { echo "$as_me:$LINENO: result: yes" >&5 | 10027 echo "$as_me:$LINENO: result: yes" >&5 |
11653 echo "${ECHO_T}yes" >&6; } | 10028 echo "${ECHO_T}yes" >&6 |
11654 fi | 10029 fi |
11655 else | 10030 else |
11656 { echo "$as_me:$LINENO: result: no" >&5 | 10031 echo "$as_me:$LINENO: result: no" >&5 |
11657 echo "${ECHO_T}no" >&6; } | 10032 echo "${ECHO_T}no" >&6 |
11658 fi | 10033 fi |
11659 fi | 10034 fi |
11660 | 10035 |
11661 # Reportedly, some broken Solaris systems have XKBlib.h but are missing | 10036 # Reportedly, some broken Solaris systems have XKBlib.h but are missing |
11662 # header files included from there. | 10037 # header files included from there. |
11663 { echo "$as_me:$LINENO: checking for Xkb" >&5 | 10038 echo "$as_me:$LINENO: checking for Xkb" >&5 |
11664 echo $ECHO_N "checking for Xkb... $ECHO_C" >&6; } | 10039 echo $ECHO_N "checking for Xkb... $ECHO_C" >&6 |
11665 cat >conftest.$ac_ext <<_ACEOF | 10040 cat >conftest.$ac_ext <<_ACEOF |
11666 /* confdefs.h. */ | 10041 /* confdefs.h. */ |
11667 _ACEOF | 10042 _ACEOF |
11668 cat confdefs.h >>conftest.$ac_ext | 10043 cat confdefs.h >>conftest.$ac_ext |
11669 cat >>conftest.$ac_ext <<_ACEOF | 10044 cat >>conftest.$ac_ext <<_ACEOF |
11677 ; | 10052 ; |
11678 return 0; | 10053 return 0; |
11679 } | 10054 } |
11680 _ACEOF | 10055 _ACEOF |
11681 rm -f conftest.$ac_objext conftest$ac_exeext | 10056 rm -f conftest.$ac_objext conftest$ac_exeext |
11682 if { (ac_try="$ac_link" | 10057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
11683 case "(($ac_try" in | 10058 (eval $ac_link) 2>conftest.er1 |
11684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11685 *) ac_try_echo=$ac_try;; | |
11686 esac | |
11687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11688 (eval "$ac_link") 2>conftest.er1 | |
11689 ac_status=$? | 10059 ac_status=$? |
11690 grep -v '^ *+' conftest.er1 >conftest.err | 10060 grep -v '^ *+' conftest.er1 >conftest.err |
11691 rm -f conftest.er1 | 10061 rm -f conftest.er1 |
11692 cat conftest.err >&5 | 10062 cat conftest.err >&5 |
11693 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10063 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11694 (exit $ac_status); } && | 10064 (exit $ac_status); } && |
11695 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 10065 { ac_try='test -z "$ac_c_werror_flag" |
11696 { (case "(($ac_try" in | 10066 || test ! -s conftest.err' |
11697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 10067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11698 *) ac_try_echo=$ac_try;; | 10068 (eval $ac_try) 2>&5 |
11699 esac | |
11700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11701 (eval "$ac_try") 2>&5 | |
11702 ac_status=$? | 10069 ac_status=$? |
11703 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10070 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11704 (exit $ac_status); }; } && | 10071 (exit $ac_status); }; } && |
11705 { ac_try='test -s conftest$ac_exeext' | 10072 { ac_try='test -s conftest$ac_exeext' |
11706 { (case "(($ac_try" in | 10073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 10074 (eval $ac_try) 2>&5 |
11708 *) ac_try_echo=$ac_try;; | |
11709 esac | |
11710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11711 (eval "$ac_try") 2>&5 | |
11712 ac_status=$? | 10075 ac_status=$? |
11713 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10076 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11714 (exit $ac_status); }; }; then | 10077 (exit $ac_status); }; }; then |
11715 emacs_xkb=yes | 10078 emacs_xkb=yes |
11716 else | 10079 else |
11717 echo "$as_me: failed program was:" >&5 | 10080 echo "$as_me: failed program was:" >&5 |
11718 sed 's/^/| /' conftest.$ac_ext >&5 | 10081 sed 's/^/| /' conftest.$ac_ext >&5 |
11719 | 10082 |
11720 emacs_xkb=no | 10083 emacs_xkb=no |
11721 fi | 10084 fi |
11722 | 10085 rm -f conftest.err conftest.$ac_objext \ |
11723 rm -f core conftest.err conftest.$ac_objext \ | |
11724 conftest$ac_exeext conftest.$ac_ext | 10086 conftest$ac_exeext conftest.$ac_ext |
11725 { echo "$as_me:$LINENO: result: $emacs_xkb" >&5 | 10087 echo "$as_me:$LINENO: result: $emacs_xkb" >&5 |
11726 echo "${ECHO_T}$emacs_xkb" >&6; } | 10088 echo "${ECHO_T}$emacs_xkb" >&6 |
11727 if test $emacs_xkb = yes; then | 10089 if test $emacs_xkb = yes; then |
11728 | 10090 |
11729 cat >>confdefs.h <<\_ACEOF | 10091 cat >>confdefs.h <<\_ACEOF |
11730 #define HAVE_XKBGETKEYBOARD 1 | 10092 #define HAVE_XKBGETKEYBOARD 1 |
11731 _ACEOF | 10093 _ACEOF |
11738 | 10100 |
11739 for ac_func in XrmSetDatabase XScreenResourceString \ | 10101 for ac_func in XrmSetDatabase XScreenResourceString \ |
11740 XScreenNumberOfScreen XSetWMProtocols | 10102 XScreenNumberOfScreen XSetWMProtocols |
11741 do | 10103 do |
11742 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 10104 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11743 { echo "$as_me:$LINENO: checking for $ac_func" >&5 | 10105 echo "$as_me:$LINENO: checking for $ac_func" >&5 |
11744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 10106 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
11745 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 10107 if eval "test \"\${$as_ac_var+set}\" = set"; then |
11746 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10108 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11747 else | 10109 else |
11748 cat >conftest.$ac_ext <<_ACEOF | 10110 cat >conftest.$ac_ext <<_ACEOF |
11749 /* confdefs.h. */ | 10111 /* confdefs.h. */ |
11750 _ACEOF | 10112 _ACEOF |
11766 # include <assert.h> | 10128 # include <assert.h> |
11767 #endif | 10129 #endif |
11768 | 10130 |
11769 #undef $ac_func | 10131 #undef $ac_func |
11770 | 10132 |
11771 /* Override any GCC internal prototype to avoid an error. | 10133 /* Override any gcc2 internal prototype to avoid an error. */ |
11772 Use char because int might match the return type of a GCC | |
11773 builtin and then its argument prototype would still apply. */ | |
11774 #ifdef __cplusplus | 10134 #ifdef __cplusplus |
11775 extern "C" | 10135 extern "C" |
10136 { | |
11776 #endif | 10137 #endif |
10138 /* We use char because int might match the return type of a gcc2 | |
10139 builtin and then its argument prototype would still apply. */ | |
11777 char $ac_func (); | 10140 char $ac_func (); |
11778 /* The GNU C library defines this for functions which it implements | 10141 /* The GNU C library defines this for functions which it implements |
11779 to always fail with ENOSYS. Some functions are actually named | 10142 to always fail with ENOSYS. Some functions are actually named |
11780 something starting with __ and the normal name is an alias. */ | 10143 something starting with __ and the normal name is an alias. */ |
11781 #if defined __stub_$ac_func || defined __stub___$ac_func | 10144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
11782 choke me | 10145 choke me |
10146 #else | |
10147 char (*f) () = $ac_func; | |
10148 #endif | |
10149 #ifdef __cplusplus | |
10150 } | |
11783 #endif | 10151 #endif |
11784 | 10152 |
11785 int | 10153 int |
11786 main () | 10154 main () |
11787 { | 10155 { |
11788 return $ac_func (); | 10156 return f != $ac_func; |
11789 ; | 10157 ; |
11790 return 0; | 10158 return 0; |
11791 } | 10159 } |
11792 _ACEOF | 10160 _ACEOF |
11793 rm -f conftest.$ac_objext conftest$ac_exeext | 10161 rm -f conftest.$ac_objext conftest$ac_exeext |
11794 if { (ac_try="$ac_link" | 10162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
11795 case "(($ac_try" in | 10163 (eval $ac_link) 2>conftest.er1 |
11796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11797 *) ac_try_echo=$ac_try;; | |
11798 esac | |
11799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11800 (eval "$ac_link") 2>conftest.er1 | |
11801 ac_status=$? | 10164 ac_status=$? |
11802 grep -v '^ *+' conftest.er1 >conftest.err | 10165 grep -v '^ *+' conftest.er1 >conftest.err |
11803 rm -f conftest.er1 | 10166 rm -f conftest.er1 |
11804 cat conftest.err >&5 | 10167 cat conftest.err >&5 |
11805 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10168 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11806 (exit $ac_status); } && | 10169 (exit $ac_status); } && |
11807 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 10170 { ac_try='test -z "$ac_c_werror_flag" |
11808 { (case "(($ac_try" in | 10171 || test ! -s conftest.err' |
11809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 10172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11810 *) ac_try_echo=$ac_try;; | 10173 (eval $ac_try) 2>&5 |
11811 esac | |
11812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11813 (eval "$ac_try") 2>&5 | |
11814 ac_status=$? | 10174 ac_status=$? |
11815 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10175 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11816 (exit $ac_status); }; } && | 10176 (exit $ac_status); }; } && |
11817 { ac_try='test -s conftest$ac_exeext' | 10177 { ac_try='test -s conftest$ac_exeext' |
11818 { (case "(($ac_try" in | 10178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 10179 (eval $ac_try) 2>&5 |
11820 *) ac_try_echo=$ac_try;; | |
11821 esac | |
11822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11823 (eval "$ac_try") 2>&5 | |
11824 ac_status=$? | 10180 ac_status=$? |
11825 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10181 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11826 (exit $ac_status); }; }; then | 10182 (exit $ac_status); }; }; then |
11827 eval "$as_ac_var=yes" | 10183 eval "$as_ac_var=yes" |
11828 else | 10184 else |
11829 echo "$as_me: failed program was:" >&5 | 10185 echo "$as_me: failed program was:" >&5 |
11830 sed 's/^/| /' conftest.$ac_ext >&5 | 10186 sed 's/^/| /' conftest.$ac_ext >&5 |
11831 | 10187 |
11832 eval "$as_ac_var=no" | 10188 eval "$as_ac_var=no" |
11833 fi | 10189 fi |
11834 | 10190 rm -f conftest.err conftest.$ac_objext \ |
11835 rm -f core conftest.err conftest.$ac_objext \ | |
11836 conftest$ac_exeext conftest.$ac_ext | 10191 conftest$ac_exeext conftest.$ac_ext |
11837 fi | 10192 fi |
11838 ac_res=`eval echo '${'$as_ac_var'}'` | 10193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
11839 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 10194 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
11840 echo "${ECHO_T}$ac_res" >&6; } | |
11841 if test `eval echo '${'$as_ac_var'}'` = yes; then | 10195 if test `eval echo '${'$as_ac_var'}'` = yes; then |
11842 cat >>confdefs.h <<_ACEOF | 10196 cat >>confdefs.h <<_ACEOF |
11843 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 10197 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
11844 _ACEOF | 10198 _ACEOF |
11845 | 10199 |
11847 done | 10201 done |
11848 | 10202 |
11849 fi | 10203 fi |
11850 | 10204 |
11851 if test "${window_system}" = "x11"; then | 10205 if test "${window_system}" = "x11"; then |
11852 { echo "$as_me:$LINENO: checking X11 version 6" >&5 | 10206 echo "$as_me:$LINENO: checking X11 version 6" >&5 |
11853 echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6; } | 10207 echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6 |
11854 if test "${emacs_cv_x11_version_6+set}" = set; then | 10208 if test "${emacs_cv_x11_version_6+set}" = set; then |
11855 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10209 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11856 else | 10210 else |
11857 cat >conftest.$ac_ext <<_ACEOF | 10211 cat >conftest.$ac_ext <<_ACEOF |
11858 /* confdefs.h. */ | 10212 /* confdefs.h. */ |
11871 ; | 10225 ; |
11872 return 0; | 10226 return 0; |
11873 } | 10227 } |
11874 _ACEOF | 10228 _ACEOF |
11875 rm -f conftest.$ac_objext conftest$ac_exeext | 10229 rm -f conftest.$ac_objext conftest$ac_exeext |
11876 if { (ac_try="$ac_link" | 10230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
11877 case "(($ac_try" in | 10231 (eval $ac_link) 2>conftest.er1 |
11878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11879 *) ac_try_echo=$ac_try;; | |
11880 esac | |
11881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11882 (eval "$ac_link") 2>conftest.er1 | |
11883 ac_status=$? | 10232 ac_status=$? |
11884 grep -v '^ *+' conftest.er1 >conftest.err | 10233 grep -v '^ *+' conftest.er1 >conftest.err |
11885 rm -f conftest.er1 | 10234 rm -f conftest.er1 |
11886 cat conftest.err >&5 | 10235 cat conftest.err >&5 |
11887 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10236 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11888 (exit $ac_status); } && | 10237 (exit $ac_status); } && |
11889 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 10238 { ac_try='test -z "$ac_c_werror_flag" |
11890 { (case "(($ac_try" in | 10239 || test ! -s conftest.err' |
11891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 10240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11892 *) ac_try_echo=$ac_try;; | 10241 (eval $ac_try) 2>&5 |
11893 esac | |
11894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11895 (eval "$ac_try") 2>&5 | |
11896 ac_status=$? | 10242 ac_status=$? |
11897 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10243 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11898 (exit $ac_status); }; } && | 10244 (exit $ac_status); }; } && |
11899 { ac_try='test -s conftest$ac_exeext' | 10245 { ac_try='test -s conftest$ac_exeext' |
11900 { (case "(($ac_try" in | 10246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 10247 (eval $ac_try) 2>&5 |
11902 *) ac_try_echo=$ac_try;; | |
11903 esac | |
11904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11905 (eval "$ac_try") 2>&5 | |
11906 ac_status=$? | 10248 ac_status=$? |
11907 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10249 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11908 (exit $ac_status); }; }; then | 10250 (exit $ac_status); }; }; then |
11909 emacs_cv_x11_version_6=yes | 10251 emacs_cv_x11_version_6=yes |
11910 else | 10252 else |
11911 echo "$as_me: failed program was:" >&5 | 10253 echo "$as_me: failed program was:" >&5 |
11912 sed 's/^/| /' conftest.$ac_ext >&5 | 10254 sed 's/^/| /' conftest.$ac_ext >&5 |
11913 | 10255 |
11914 emacs_cv_x11_version_6=no | 10256 emacs_cv_x11_version_6=no |
11915 fi | 10257 fi |
11916 | 10258 rm -f conftest.err conftest.$ac_objext \ |
11917 rm -f core conftest.err conftest.$ac_objext \ | |
11918 conftest$ac_exeext conftest.$ac_ext | 10259 conftest$ac_exeext conftest.$ac_ext |
11919 fi | 10260 fi |
11920 | 10261 |
11921 if test $emacs_cv_x11_version_6 = yes; then | 10262 if test $emacs_cv_x11_version_6 = yes; then |
11922 { echo "$as_me:$LINENO: result: 6 or newer" >&5 | 10263 echo "$as_me:$LINENO: result: 6 or newer" >&5 |
11923 echo "${ECHO_T}6 or newer" >&6; } | 10264 echo "${ECHO_T}6 or newer" >&6 |
11924 | 10265 |
11925 cat >>confdefs.h <<\_ACEOF | 10266 cat >>confdefs.h <<\_ACEOF |
11926 #define HAVE_X11R6 1 | 10267 #define HAVE_X11R6 1 |
11927 _ACEOF | 10268 _ACEOF |
11928 | 10269 |
11929 else | 10270 else |
11930 { echo "$as_me:$LINENO: result: before 6" >&5 | 10271 echo "$as_me:$LINENO: result: before 6" >&5 |
11931 echo "${ECHO_T}before 6" >&6; } | 10272 echo "${ECHO_T}before 6" >&6 |
11932 fi | 10273 fi |
11933 fi | 10274 fi |
11934 | 10275 |
11935 if test "${window_system}" = "x11"; then | 10276 if test "${window_system}" = "x11"; then |
11936 { echo "$as_me:$LINENO: checking X11 version 5" >&5 | 10277 echo "$as_me:$LINENO: checking X11 version 5" >&5 |
11937 echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6; } | 10278 echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6 |
11938 if test "${emacs_cv_x11_version_5+set}" = set; then | 10279 if test "${emacs_cv_x11_version_5+set}" = set; then |
11939 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10280 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11940 else | 10281 else |
11941 cat >conftest.$ac_ext <<_ACEOF | 10282 cat >conftest.$ac_ext <<_ACEOF |
11942 /* confdefs.h. */ | 10283 /* confdefs.h. */ |
11955 ; | 10296 ; |
11956 return 0; | 10297 return 0; |
11957 } | 10298 } |
11958 _ACEOF | 10299 _ACEOF |
11959 rm -f conftest.$ac_objext conftest$ac_exeext | 10300 rm -f conftest.$ac_objext conftest$ac_exeext |
11960 if { (ac_try="$ac_link" | 10301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
11961 case "(($ac_try" in | 10302 (eval $ac_link) 2>conftest.er1 |
11962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11963 *) ac_try_echo=$ac_try;; | |
11964 esac | |
11965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11966 (eval "$ac_link") 2>conftest.er1 | |
11967 ac_status=$? | 10303 ac_status=$? |
11968 grep -v '^ *+' conftest.er1 >conftest.err | 10304 grep -v '^ *+' conftest.er1 >conftest.err |
11969 rm -f conftest.er1 | 10305 rm -f conftest.er1 |
11970 cat conftest.err >&5 | 10306 cat conftest.err >&5 |
11971 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10307 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11972 (exit $ac_status); } && | 10308 (exit $ac_status); } && |
11973 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 10309 { ac_try='test -z "$ac_c_werror_flag" |
11974 { (case "(($ac_try" in | 10310 || test ! -s conftest.err' |
11975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 10311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11976 *) ac_try_echo=$ac_try;; | 10312 (eval $ac_try) 2>&5 |
11977 esac | |
11978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11979 (eval "$ac_try") 2>&5 | |
11980 ac_status=$? | 10313 ac_status=$? |
11981 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10314 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11982 (exit $ac_status); }; } && | 10315 (exit $ac_status); }; } && |
11983 { ac_try='test -s conftest$ac_exeext' | 10316 { ac_try='test -s conftest$ac_exeext' |
11984 { (case "(($ac_try" in | 10317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 10318 (eval $ac_try) 2>&5 |
11986 *) ac_try_echo=$ac_try;; | |
11987 esac | |
11988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11989 (eval "$ac_try") 2>&5 | |
11990 ac_status=$? | 10319 ac_status=$? |
11991 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10320 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11992 (exit $ac_status); }; }; then | 10321 (exit $ac_status); }; }; then |
11993 emacs_cv_x11_version_5=yes | 10322 emacs_cv_x11_version_5=yes |
11994 else | 10323 else |
11995 echo "$as_me: failed program was:" >&5 | 10324 echo "$as_me: failed program was:" >&5 |
11996 sed 's/^/| /' conftest.$ac_ext >&5 | 10325 sed 's/^/| /' conftest.$ac_ext >&5 |
11997 | 10326 |
11998 emacs_cv_x11_version_5=no | 10327 emacs_cv_x11_version_5=no |
11999 fi | 10328 fi |
12000 | 10329 rm -f conftest.err conftest.$ac_objext \ |
12001 rm -f core conftest.err conftest.$ac_objext \ | |
12002 conftest$ac_exeext conftest.$ac_ext | 10330 conftest$ac_exeext conftest.$ac_ext |
12003 fi | 10331 fi |
12004 | 10332 |
12005 if test $emacs_cv_x11_version_5 = yes; then | 10333 if test $emacs_cv_x11_version_5 = yes; then |
12006 { echo "$as_me:$LINENO: result: 5 or newer" >&5 | 10334 echo "$as_me:$LINENO: result: 5 or newer" >&5 |
12007 echo "${ECHO_T}5 or newer" >&6; } | 10335 echo "${ECHO_T}5 or newer" >&6 |
12008 HAVE_X11R5=yes | 10336 HAVE_X11R5=yes |
12009 | 10337 |
12010 cat >>confdefs.h <<\_ACEOF | 10338 cat >>confdefs.h <<\_ACEOF |
12011 #define HAVE_X11R5 1 | 10339 #define HAVE_X11R5 1 |
12012 _ACEOF | 10340 _ACEOF |
12013 | 10341 |
12014 else | 10342 else |
12015 HAVE_X11R5=no | 10343 HAVE_X11R5=no |
12016 { echo "$as_me:$LINENO: result: before 5" >&5 | 10344 echo "$as_me:$LINENO: result: before 5" >&5 |
12017 echo "${ECHO_T}before 5" >&6; } | 10345 echo "${ECHO_T}before 5" >&6 |
12018 fi | 10346 fi |
12019 fi | 10347 fi |
12020 | 10348 |
12021 HAVE_GTK=no | 10349 HAVE_GTK=no |
12022 if test "${with_gtk}" = "yes" && test "$USE_X_TOOLKIT" = "gtk"; then | 10350 if test "${with_gtk}" = "yes" && test "$USE_X_TOOLKIT" = "gtk"; then |
12039 succeeded=no | 10367 succeeded=no |
12040 | 10368 |
12041 if test -z "$PKG_CONFIG"; then | 10369 if test -z "$PKG_CONFIG"; then |
12042 # Extract the first word of "pkg-config", so it can be a program name with args. | 10370 # Extract the first word of "pkg-config", so it can be a program name with args. |
12043 set dummy pkg-config; ac_word=$2 | 10371 set dummy pkg-config; ac_word=$2 |
12044 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 10372 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
12045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 10373 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
12046 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then | 10374 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
12047 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10375 echo $ECHO_N "(cached) $ECHO_C" >&6 |
12048 else | 10376 else |
12049 case $PKG_CONFIG in | 10377 case $PKG_CONFIG in |
12050 [\\/]* | ?:[\\/]*) | 10378 [\\/]* | ?:[\\/]*) |
12055 for as_dir in $PATH | 10383 for as_dir in $PATH |
12056 do | 10384 do |
12057 IFS=$as_save_IFS | 10385 IFS=$as_save_IFS |
12058 test -z "$as_dir" && as_dir=. | 10386 test -z "$as_dir" && as_dir=. |
12059 for ac_exec_ext in '' $ac_executable_extensions; do | 10387 for ac_exec_ext in '' $ac_executable_extensions; do |
12060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then | 10388 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
12061 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 10389 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
12062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 10390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
12063 break 2 | 10391 break 2 |
12064 fi | 10392 fi |
12065 done | 10393 done |
12066 done | 10394 done |
12067 IFS=$as_save_IFS | |
12068 | 10395 |
12069 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 10396 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
12070 ;; | 10397 ;; |
12071 esac | 10398 esac |
12072 fi | 10399 fi |
12073 PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 10400 PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
10401 | |
12074 if test -n "$PKG_CONFIG"; then | 10402 if test -n "$PKG_CONFIG"; then |
12075 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 | 10403 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
12076 echo "${ECHO_T}$PKG_CONFIG" >&6; } | 10404 echo "${ECHO_T}$PKG_CONFIG" >&6 |
12077 else | 10405 else |
12078 { echo "$as_me:$LINENO: result: no" >&5 | 10406 echo "$as_me:$LINENO: result: no" >&5 |
12079 echo "${ECHO_T}no" >&6; } | 10407 echo "${ECHO_T}no" >&6 |
12080 fi | 10408 fi |
12081 | |
12082 | 10409 |
12083 fi | 10410 fi |
12084 | 10411 |
12085 if test "$PKG_CONFIG" = "no" ; then | 10412 if test "$PKG_CONFIG" = "no" ; then |
12086 { { echo "$as_me:$LINENO: error: | 10413 { { echo "$as_me:$LINENO: error: |
12089 *** The pkg-config script could not be found. Make sure it is in your path, or give the full path to pkg-config with the PKG_CONFIG environment variable or --with-pkg-config-prog. Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." >&2;} | 10416 *** The pkg-config script could not be found. Make sure it is in your path, or give the full path to pkg-config with the PKG_CONFIG environment variable or --with-pkg-config-prog. Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." >&2;} |
12090 { (exit 1); exit 1; }; } | 10417 { (exit 1); exit 1; }; } |
12091 else | 10418 else |
12092 PKG_CONFIG_MIN_VERSION=0.9.0 | 10419 PKG_CONFIG_MIN_VERSION=0.9.0 |
12093 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 10420 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
12094 { echo "$as_me:$LINENO: checking for $GTK_MODULES" >&5 | 10421 echo "$as_me:$LINENO: checking for $GTK_MODULES" >&5 |
12095 echo $ECHO_N "checking for $GTK_MODULES... $ECHO_C" >&6; } | 10422 echo $ECHO_N "checking for $GTK_MODULES... $ECHO_C" >&6 |
12096 | 10423 |
12097 if $PKG_CONFIG --exists "$GTK_MODULES" 2>&5; then | 10424 if $PKG_CONFIG --exists "$GTK_MODULES" 2>&5; then |
12098 { echo "$as_me:$LINENO: result: yes" >&5 | 10425 echo "$as_me:$LINENO: result: yes" >&5 |
12099 echo "${ECHO_T}yes" >&6; } | 10426 echo "${ECHO_T}yes" >&6 |
12100 succeeded=yes | 10427 succeeded=yes |
12101 | 10428 |
12102 { echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5 | 10429 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5 |
12103 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6; } | 10430 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6 |
12104 GTK_CFLAGS=`$PKG_CONFIG --cflags "$GTK_MODULES"` | 10431 GTK_CFLAGS=`$PKG_CONFIG --cflags "$GTK_MODULES"` |
12105 { echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5 | 10432 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5 |
12106 echo "${ECHO_T}$GTK_CFLAGS" >&6; } | 10433 echo "${ECHO_T}$GTK_CFLAGS" >&6 |
12107 | 10434 |
12108 { echo "$as_me:$LINENO: checking GTK_LIBS" >&5 | 10435 echo "$as_me:$LINENO: checking GTK_LIBS" >&5 |
12109 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6; } | 10436 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6 |
12110 GTK_LIBS=`$PKG_CONFIG --libs "$GTK_MODULES"` | 10437 GTK_LIBS=`$PKG_CONFIG --libs "$GTK_MODULES"` |
12111 { echo "$as_me:$LINENO: result: $GTK_LIBS" >&5 | 10438 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5 |
12112 echo "${ECHO_T}$GTK_LIBS" >&6; } | 10439 echo "${ECHO_T}$GTK_LIBS" >&6 |
12113 else | 10440 else |
12114 { echo "$as_me:$LINENO: result: no" >&5 | 10441 echo "$as_me:$LINENO: result: no" >&5 |
12115 echo "${ECHO_T}no" >&6; } | 10442 echo "${ECHO_T}no" >&6 |
12116 GTK_CFLAGS="" | 10443 GTK_CFLAGS="" |
12117 GTK_LIBS="" | 10444 GTK_LIBS="" |
12118 ## If we have a custom action on failure, don't print errors, but | 10445 ## If we have a custom action on failure, don't print errors, but |
12119 ## do set a variable so people can do so. | 10446 ## do set a variable so people can do so. |
12120 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$GTK_MODULES"` | 10447 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$GTK_MODULES"` |
12145 GTK_COMPILES=no | 10472 GTK_COMPILES=no |
12146 | 10473 |
12147 for ac_func in gtk_main | 10474 for ac_func in gtk_main |
12148 do | 10475 do |
12149 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 10476 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12150 { echo "$as_me:$LINENO: checking for $ac_func" >&5 | 10477 echo "$as_me:$LINENO: checking for $ac_func" >&5 |
12151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 10478 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
12152 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 10479 if eval "test \"\${$as_ac_var+set}\" = set"; then |
12153 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10480 echo $ECHO_N "(cached) $ECHO_C" >&6 |
12154 else | 10481 else |
12155 cat >conftest.$ac_ext <<_ACEOF | 10482 cat >conftest.$ac_ext <<_ACEOF |
12156 /* confdefs.h. */ | 10483 /* confdefs.h. */ |
12157 _ACEOF | 10484 _ACEOF |
12173 # include <assert.h> | 10500 # include <assert.h> |
12174 #endif | 10501 #endif |
12175 | 10502 |
12176 #undef $ac_func | 10503 #undef $ac_func |
12177 | 10504 |
12178 /* Override any GCC internal prototype to avoid an error. | 10505 /* Override any gcc2 internal prototype to avoid an error. */ |
12179 Use char because int might match the return type of a GCC | |
12180 builtin and then its argument prototype would still apply. */ | |
12181 #ifdef __cplusplus | 10506 #ifdef __cplusplus |
12182 extern "C" | 10507 extern "C" |
10508 { | |
12183 #endif | 10509 #endif |
10510 /* We use char because int might match the return type of a gcc2 | |
10511 builtin and then its argument prototype would still apply. */ | |
12184 char $ac_func (); | 10512 char $ac_func (); |
12185 /* The GNU C library defines this for functions which it implements | 10513 /* The GNU C library defines this for functions which it implements |
12186 to always fail with ENOSYS. Some functions are actually named | 10514 to always fail with ENOSYS. Some functions are actually named |
12187 something starting with __ and the normal name is an alias. */ | 10515 something starting with __ and the normal name is an alias. */ |
12188 #if defined __stub_$ac_func || defined __stub___$ac_func | 10516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
12189 choke me | 10517 choke me |
10518 #else | |
10519 char (*f) () = $ac_func; | |
10520 #endif | |
10521 #ifdef __cplusplus | |
10522 } | |
12190 #endif | 10523 #endif |
12191 | 10524 |
12192 int | 10525 int |
12193 main () | 10526 main () |
12194 { | 10527 { |
12195 return $ac_func (); | 10528 return f != $ac_func; |
12196 ; | 10529 ; |
12197 return 0; | 10530 return 0; |
12198 } | 10531 } |
12199 _ACEOF | 10532 _ACEOF |
12200 rm -f conftest.$ac_objext conftest$ac_exeext | 10533 rm -f conftest.$ac_objext conftest$ac_exeext |
12201 if { (ac_try="$ac_link" | 10534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12202 case "(($ac_try" in | 10535 (eval $ac_link) 2>conftest.er1 |
12203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
12204 *) ac_try_echo=$ac_try;; | |
12205 esac | |
12206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
12207 (eval "$ac_link") 2>conftest.er1 | |
12208 ac_status=$? | 10536 ac_status=$? |
12209 grep -v '^ *+' conftest.er1 >conftest.err | 10537 grep -v '^ *+' conftest.er1 >conftest.err |
12210 rm -f conftest.er1 | 10538 rm -f conftest.er1 |
12211 cat conftest.err >&5 | 10539 cat conftest.err >&5 |
12212 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10540 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12213 (exit $ac_status); } && | 10541 (exit $ac_status); } && |
12214 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 10542 { ac_try='test -z "$ac_c_werror_flag" |
12215 { (case "(($ac_try" in | 10543 || test ! -s conftest.err' |
12216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 10544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12217 *) ac_try_echo=$ac_try;; | 10545 (eval $ac_try) 2>&5 |
12218 esac | |
12219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
12220 (eval "$ac_try") 2>&5 | |
12221 ac_status=$? | 10546 ac_status=$? |
12222 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10547 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12223 (exit $ac_status); }; } && | 10548 (exit $ac_status); }; } && |
12224 { ac_try='test -s conftest$ac_exeext' | 10549 { ac_try='test -s conftest$ac_exeext' |
12225 { (case "(($ac_try" in | 10550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 10551 (eval $ac_try) 2>&5 |
12227 *) ac_try_echo=$ac_try;; | |
12228 esac | |
12229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
12230 (eval "$ac_try") 2>&5 | |
12231 ac_status=$? | 10552 ac_status=$? |
12232 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10553 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12233 (exit $ac_status); }; }; then | 10554 (exit $ac_status); }; }; then |
12234 eval "$as_ac_var=yes" | 10555 eval "$as_ac_var=yes" |
12235 else | 10556 else |
12236 echo "$as_me: failed program was:" >&5 | 10557 echo "$as_me: failed program was:" >&5 |
12237 sed 's/^/| /' conftest.$ac_ext >&5 | 10558 sed 's/^/| /' conftest.$ac_ext >&5 |
12238 | 10559 |
12239 eval "$as_ac_var=no" | 10560 eval "$as_ac_var=no" |
12240 fi | 10561 fi |
12241 | 10562 rm -f conftest.err conftest.$ac_objext \ |
12242 rm -f core conftest.err conftest.$ac_objext \ | |
12243 conftest$ac_exeext conftest.$ac_ext | 10563 conftest$ac_exeext conftest.$ac_ext |
12244 fi | 10564 fi |
12245 ac_res=`eval echo '${'$as_ac_var'}'` | 10565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
12246 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 10566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
12247 echo "${ECHO_T}$ac_res" >&6; } | |
12248 if test `eval echo '${'$as_ac_var'}'` = yes; then | 10567 if test `eval echo '${'$as_ac_var'}'` = yes; then |
12249 cat >>confdefs.h <<_ACEOF | 10568 cat >>confdefs.h <<_ACEOF |
12250 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 10569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12251 _ACEOF | 10570 _ACEOF |
12252 GTK_COMPILES=yes | 10571 GTK_COMPILES=yes |
12274 HAVE_GTK_MULTIDISPLAY=no | 10593 HAVE_GTK_MULTIDISPLAY=no |
12275 | 10594 |
12276 for ac_func in gdk_display_open | 10595 for ac_func in gdk_display_open |
12277 do | 10596 do |
12278 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 10597 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12279 { echo "$as_me:$LINENO: checking for $ac_func" >&5 | 10598 echo "$as_me:$LINENO: checking for $ac_func" >&5 |
12280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 10599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
12281 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 10600 if eval "test \"\${$as_ac_var+set}\" = set"; then |
12282 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10601 echo $ECHO_N "(cached) $ECHO_C" >&6 |
12283 else | 10602 else |
12284 cat >conftest.$ac_ext <<_ACEOF | 10603 cat >conftest.$ac_ext <<_ACEOF |
12285 /* confdefs.h. */ | 10604 /* confdefs.h. */ |
12286 _ACEOF | 10605 _ACEOF |
12302 # include <assert.h> | 10621 # include <assert.h> |
12303 #endif | 10622 #endif |
12304 | 10623 |
12305 #undef $ac_func | 10624 #undef $ac_func |
12306 | 10625 |
12307 /* Override any GCC internal prototype to avoid an error. | 10626 /* Override any gcc2 internal prototype to avoid an error. */ |
12308 Use char because int might match the return type of a GCC | |
12309 builtin and then its argument prototype would still apply. */ | |
12310 #ifdef __cplusplus | 10627 #ifdef __cplusplus |
12311 extern "C" | 10628 extern "C" |
10629 { | |
12312 #endif | 10630 #endif |
10631 /* We use char because int might match the return type of a gcc2 | |
10632 builtin and then its argument prototype would still apply. */ | |
12313 char $ac_func (); | 10633 char $ac_func (); |
12314 /* The GNU C library defines this for functions which it implements | 10634 /* The GNU C library defines this for functions which it implements |
12315 to always fail with ENOSYS. Some functions are actually named | 10635 to always fail with ENOSYS. Some functions are actually named |
12316 something starting with __ and the normal name is an alias. */ | 10636 something starting with __ and the normal name is an alias. */ |
12317 #if defined __stub_$ac_func || defined __stub___$ac_func | 10637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
12318 choke me | 10638 choke me |
10639 #else | |
10640 char (*f) () = $ac_func; | |
10641 #endif | |
10642 #ifdef __cplusplus | |
10643 } | |
12319 #endif | 10644 #endif |
12320 | 10645 |
12321 int | 10646 int |
12322 main () | 10647 main () |
12323 { | 10648 { |
12324 return $ac_func (); | 10649 return f != $ac_func; |
12325 ; | 10650 ; |
12326 return 0; | 10651 return 0; |
12327 } | 10652 } |
12328 _ACEOF | 10653 _ACEOF |
12329 rm -f conftest.$ac_objext conftest$ac_exeext | 10654 rm -f conftest.$ac_objext conftest$ac_exeext |
12330 if { (ac_try="$ac_link" | 10655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12331 case "(($ac_try" in | 10656 (eval $ac_link) 2>conftest.er1 |
12332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
12333 *) ac_try_echo=$ac_try;; | |
12334 esac | |
12335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
12336 (eval "$ac_link") 2>conftest.er1 | |
12337 ac_status=$? | 10657 ac_status=$? |
12338 grep -v '^ *+' conftest.er1 >conftest.err | 10658 grep -v '^ *+' conftest.er1 >conftest.err |
12339 rm -f conftest.er1 | 10659 rm -f conftest.er1 |
12340 cat conftest.err >&5 | 10660 cat conftest.err >&5 |
12341 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10661 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12342 (exit $ac_status); } && | 10662 (exit $ac_status); } && |
12343 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 10663 { ac_try='test -z "$ac_c_werror_flag" |
12344 { (case "(($ac_try" in | 10664 || test ! -s conftest.err' |
12345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 10665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12346 *) ac_try_echo=$ac_try;; | 10666 (eval $ac_try) 2>&5 |
12347 esac | |
12348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
12349 (eval "$ac_try") 2>&5 | |
12350 ac_status=$? | 10667 ac_status=$? |
12351 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10668 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12352 (exit $ac_status); }; } && | 10669 (exit $ac_status); }; } && |
12353 { ac_try='test -s conftest$ac_exeext' | 10670 { ac_try='test -s conftest$ac_exeext' |
12354 { (case "(($ac_try" in | 10671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 10672 (eval $ac_try) 2>&5 |
12356 *) ac_try_echo=$ac_try;; | |
12357 esac | |
12358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
12359 (eval "$ac_try") 2>&5 | |
12360 ac_status=$? | 10673 ac_status=$? |
12361 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10674 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12362 (exit $ac_status); }; }; then | 10675 (exit $ac_status); }; }; then |
12363 eval "$as_ac_var=yes" | 10676 eval "$as_ac_var=yes" |
12364 else | 10677 else |
12365 echo "$as_me: failed program was:" >&5 | 10678 echo "$as_me: failed program was:" >&5 |
12366 sed 's/^/| /' conftest.$ac_ext >&5 | 10679 sed 's/^/| /' conftest.$ac_ext >&5 |
12367 | 10680 |
12368 eval "$as_ac_var=no" | 10681 eval "$as_ac_var=no" |
12369 fi | 10682 fi |
12370 | 10683 rm -f conftest.err conftest.$ac_objext \ |
12371 rm -f core conftest.err conftest.$ac_objext \ | |
12372 conftest$ac_exeext conftest.$ac_ext | 10684 conftest$ac_exeext conftest.$ac_ext |
12373 fi | 10685 fi |
12374 ac_res=`eval echo '${'$as_ac_var'}'` | 10686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
12375 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 10687 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
12376 echo "${ECHO_T}$ac_res" >&6; } | |
12377 if test `eval echo '${'$as_ac_var'}'` = yes; then | 10688 if test `eval echo '${'$as_ac_var'}'` = yes; then |
12378 cat >>confdefs.h <<_ACEOF | 10689 cat >>confdefs.h <<_ACEOF |
12379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 10690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12380 _ACEOF | 10691 _ACEOF |
12381 HAVE_GTK_MULTIDISPLAY=yes | 10692 HAVE_GTK_MULTIDISPLAY=yes |
12392 HAVE_GTK_FILE_SELECTION=no | 10703 HAVE_GTK_FILE_SELECTION=no |
12393 | 10704 |
12394 for ac_func in gtk_file_selection_new | 10705 for ac_func in gtk_file_selection_new |
12395 do | 10706 do |
12396 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 10707 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12397 { echo "$as_me:$LINENO: checking for $ac_func" >&5 | 10708 echo "$as_me:$LINENO: checking for $ac_func" >&5 |
12398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 10709 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
12399 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 10710 if eval "test \"\${$as_ac_var+set}\" = set"; then |
12400 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10711 echo $ECHO_N "(cached) $ECHO_C" >&6 |
12401 else | 10712 else |
12402 cat >conftest.$ac_ext <<_ACEOF | 10713 cat >conftest.$ac_ext <<_ACEOF |
12403 /* confdefs.h. */ | 10714 /* confdefs.h. */ |
12404 _ACEOF | 10715 _ACEOF |
12420 # include <assert.h> | 10731 # include <assert.h> |
12421 #endif | 10732 #endif |
12422 | 10733 |
12423 #undef $ac_func | 10734 #undef $ac_func |
12424 | 10735 |
12425 /* Override any GCC internal prototype to avoid an error. | 10736 /* Override any gcc2 internal prototype to avoid an error. */ |
12426 Use char because int might match the return type of a GCC | |
12427 builtin and then its argument prototype would still apply. */ | |
12428 #ifdef __cplusplus | 10737 #ifdef __cplusplus |
12429 extern "C" | 10738 extern "C" |
10739 { | |
12430 #endif | 10740 #endif |
10741 /* We use char because int might match the return type of a gcc2 | |
10742 builtin and then its argument prototype would still apply. */ | |
12431 char $ac_func (); | 10743 char $ac_func (); |
12432 /* The GNU C library defines this for functions which it implements | 10744 /* The GNU C library defines this for functions which it implements |
12433 to always fail with ENOSYS. Some functions are actually named | 10745 to always fail with ENOSYS. Some functions are actually named |
12434 something starting with __ and the normal name is an alias. */ | 10746 something starting with __ and the normal name is an alias. */ |
12435 #if defined __stub_$ac_func || defined __stub___$ac_func | 10747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
12436 choke me | 10748 choke me |
10749 #else | |
10750 char (*f) () = $ac_func; | |
10751 #endif | |
10752 #ifdef __cplusplus | |
10753 } | |
12437 #endif | 10754 #endif |
12438 | 10755 |
12439 int | 10756 int |
12440 main () | 10757 main () |
12441 { | 10758 { |
12442 return $ac_func (); | 10759 return f != $ac_func; |
12443 ; | 10760 ; |
12444 return 0; | 10761 return 0; |
12445 } | 10762 } |
12446 _ACEOF | 10763 _ACEOF |
12447 rm -f conftest.$ac_objext conftest$ac_exeext | 10764 rm -f conftest.$ac_objext conftest$ac_exeext |
12448 if { (ac_try="$ac_link" | 10765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12449 case "(($ac_try" in | 10766 (eval $ac_link) 2>conftest.er1 |
12450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
12451 *) ac_try_echo=$ac_try;; | |
12452 esac | |
12453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
12454 (eval "$ac_link") 2>conftest.er1 | |
12455 ac_status=$? | 10767 ac_status=$? |
12456 grep -v '^ *+' conftest.er1 >conftest.err | 10768 grep -v '^ *+' conftest.er1 >conftest.err |
12457 rm -f conftest.er1 | 10769 rm -f conftest.er1 |
12458 cat conftest.err >&5 | 10770 cat conftest.err >&5 |
12459 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10771 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12460 (exit $ac_status); } && | 10772 (exit $ac_status); } && |
12461 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 10773 { ac_try='test -z "$ac_c_werror_flag" |
12462 { (case "(($ac_try" in | 10774 || test ! -s conftest.err' |
12463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 10775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12464 *) ac_try_echo=$ac_try;; | 10776 (eval $ac_try) 2>&5 |
12465 esac | |
12466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
12467 (eval "$ac_try") 2>&5 | |
12468 ac_status=$? | 10777 ac_status=$? |
12469 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10778 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12470 (exit $ac_status); }; } && | 10779 (exit $ac_status); }; } && |
12471 { ac_try='test -s conftest$ac_exeext' | 10780 { ac_try='test -s conftest$ac_exeext' |
12472 { (case "(($ac_try" in | 10781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 10782 (eval $ac_try) 2>&5 |
12474 *) ac_try_echo=$ac_try;; | |
12475 esac | |
12476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
12477 (eval "$ac_try") 2>&5 | |
12478 ac_status=$? | 10783 ac_status=$? |
12479 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10784 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12480 (exit $ac_status); }; }; then | 10785 (exit $ac_status); }; }; then |
12481 eval "$as_ac_var=yes" | 10786 eval "$as_ac_var=yes" |
12482 else | 10787 else |
12483 echo "$as_me: failed program was:" >&5 | 10788 echo "$as_me: failed program was:" >&5 |
12484 sed 's/^/| /' conftest.$ac_ext >&5 | 10789 sed 's/^/| /' conftest.$ac_ext >&5 |
12485 | 10790 |
12486 eval "$as_ac_var=no" | 10791 eval "$as_ac_var=no" |
12487 fi | 10792 fi |
12488 | 10793 rm -f conftest.err conftest.$ac_objext \ |
12489 rm -f core conftest.err conftest.$ac_objext \ | |
12490 conftest$ac_exeext conftest.$ac_ext | 10794 conftest$ac_exeext conftest.$ac_ext |
12491 fi | 10795 fi |
12492 ac_res=`eval echo '${'$as_ac_var'}'` | 10796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
12493 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 10797 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
12494 echo "${ECHO_T}$ac_res" >&6; } | |
12495 if test `eval echo '${'$as_ac_var'}'` = yes; then | 10798 if test `eval echo '${'$as_ac_var'}'` = yes; then |
12496 cat >>confdefs.h <<_ACEOF | 10799 cat >>confdefs.h <<_ACEOF |
12497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 10800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12498 _ACEOF | 10801 _ACEOF |
12499 HAVE_GTK_FILE_SELECTION=yes | 10802 HAVE_GTK_FILE_SELECTION=yes |
12504 HAVE_GTK_FILE_CHOOSER=no | 10807 HAVE_GTK_FILE_CHOOSER=no |
12505 | 10808 |
12506 for ac_func in gtk_file_chooser_dialog_new | 10809 for ac_func in gtk_file_chooser_dialog_new |
12507 do | 10810 do |
12508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 10811 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12509 { echo "$as_me:$LINENO: checking for $ac_func" >&5 | 10812 echo "$as_me:$LINENO: checking for $ac_func" >&5 |
12510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 10813 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
12511 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 10814 if eval "test \"\${$as_ac_var+set}\" = set"; then |
12512 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10815 echo $ECHO_N "(cached) $ECHO_C" >&6 |
12513 else | 10816 else |
12514 cat >conftest.$ac_ext <<_ACEOF | 10817 cat >conftest.$ac_ext <<_ACEOF |
12515 /* confdefs.h. */ | 10818 /* confdefs.h. */ |
12516 _ACEOF | 10819 _ACEOF |
12532 # include <assert.h> | 10835 # include <assert.h> |
12533 #endif | 10836 #endif |
12534 | 10837 |
12535 #undef $ac_func | 10838 #undef $ac_func |
12536 | 10839 |
12537 /* Override any GCC internal prototype to avoid an error. | 10840 /* Override any gcc2 internal prototype to avoid an error. */ |
12538 Use char because int might match the return type of a GCC | |
12539 builtin and then its argument prototype would still apply. */ | |
12540 #ifdef __cplusplus | 10841 #ifdef __cplusplus |
12541 extern "C" | 10842 extern "C" |
10843 { | |
12542 #endif | 10844 #endif |
10845 /* We use char because int might match the return type of a gcc2 | |
10846 builtin and then its argument prototype would still apply. */ | |
12543 char $ac_func (); | 10847 char $ac_func (); |
12544 /* The GNU C library defines this for functions which it implements | 10848 /* The GNU C library defines this for functions which it implements |
12545 to always fail with ENOSYS. Some functions are actually named | 10849 to always fail with ENOSYS. Some functions are actually named |
12546 something starting with __ and the normal name is an alias. */ | 10850 something starting with __ and the normal name is an alias. */ |
12547 #if defined __stub_$ac_func || defined __stub___$ac_func | 10851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
12548 choke me | 10852 choke me |
10853 #else | |
10854 char (*f) () = $ac_func; | |
10855 #endif | |
10856 #ifdef __cplusplus | |
10857 } | |
12549 #endif | 10858 #endif |
12550 | 10859 |
12551 int | 10860 int |
12552 main () | 10861 main () |
12553 { | 10862 { |
12554 return $ac_func (); | 10863 return f != $ac_func; |
12555 ; | 10864 ; |
12556 return 0; | 10865 return 0; |
12557 } | 10866 } |
12558 _ACEOF | 10867 _ACEOF |
12559 rm -f conftest.$ac_objext conftest$ac_exeext | 10868 rm -f conftest.$ac_objext conftest$ac_exeext |
12560 if { (ac_try="$ac_link" | 10869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12561 case "(($ac_try" in | 10870 (eval $ac_link) 2>conftest.er1 |
12562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
12563 *) ac_try_echo=$ac_try;; | |
12564 esac | |
12565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
12566 (eval "$ac_link") 2>conftest.er1 | |
12567 ac_status=$? | 10871 ac_status=$? |
12568 grep -v '^ *+' conftest.er1 >conftest.err | 10872 grep -v '^ *+' conftest.er1 >conftest.err |
12569 rm -f conftest.er1 | 10873 rm -f conftest.er1 |
12570 cat conftest.err >&5 | 10874 cat conftest.err >&5 |
12571 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10875 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12572 (exit $ac_status); } && | 10876 (exit $ac_status); } && |
12573 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 10877 { ac_try='test -z "$ac_c_werror_flag" |
12574 { (case "(($ac_try" in | 10878 || test ! -s conftest.err' |
12575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 10879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12576 *) ac_try_echo=$ac_try;; | 10880 (eval $ac_try) 2>&5 |
12577 esac | |
12578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
12579 (eval "$ac_try") 2>&5 | |
12580 ac_status=$? | 10881 ac_status=$? |
12581 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10882 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12582 (exit $ac_status); }; } && | 10883 (exit $ac_status); }; } && |
12583 { ac_try='test -s conftest$ac_exeext' | 10884 { ac_try='test -s conftest$ac_exeext' |
12584 { (case "(($ac_try" in | 10885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 10886 (eval $ac_try) 2>&5 |
12586 *) ac_try_echo=$ac_try;; | |
12587 esac | |
12588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
12589 (eval "$ac_try") 2>&5 | |
12590 ac_status=$? | 10887 ac_status=$? |
12591 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10888 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12592 (exit $ac_status); }; }; then | 10889 (exit $ac_status); }; }; then |
12593 eval "$as_ac_var=yes" | 10890 eval "$as_ac_var=yes" |
12594 else | 10891 else |
12595 echo "$as_me: failed program was:" >&5 | 10892 echo "$as_me: failed program was:" >&5 |
12596 sed 's/^/| /' conftest.$ac_ext >&5 | 10893 sed 's/^/| /' conftest.$ac_ext >&5 |
12597 | 10894 |
12598 eval "$as_ac_var=no" | 10895 eval "$as_ac_var=no" |
12599 fi | 10896 fi |
12600 | 10897 rm -f conftest.err conftest.$ac_objext \ |
12601 rm -f core conftest.err conftest.$ac_objext \ | |
12602 conftest$ac_exeext conftest.$ac_ext | 10898 conftest$ac_exeext conftest.$ac_ext |
12603 fi | 10899 fi |
12604 ac_res=`eval echo '${'$as_ac_var'}'` | 10900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
12605 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 10901 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
12606 echo "${ECHO_T}$ac_res" >&6; } | |
12607 if test `eval echo '${'$as_ac_var'}'` = yes; then | 10902 if test `eval echo '${'$as_ac_var'}'` = yes; then |
12608 cat >>confdefs.h <<_ACEOF | 10903 cat >>confdefs.h <<_ACEOF |
12609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 10904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12610 _ACEOF | 10905 _ACEOF |
12611 HAVE_GTK_FILE_CHOOSER=yes | 10906 HAVE_GTK_FILE_CHOOSER=yes |
12626 HAVE_GTK_AND_PTHREAD=no | 10921 HAVE_GTK_AND_PTHREAD=no |
12627 | 10922 |
12628 for ac_header in pthread.h | 10923 for ac_header in pthread.h |
12629 do | 10924 do |
12630 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 10925 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
12631 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 10926 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
12632 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 10927 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
12633 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 10928 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
12634 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 10929 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
12635 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10930 echo $ECHO_N "(cached) $ECHO_C" >&6 |
12636 fi | 10931 fi |
12637 ac_res=`eval echo '${'$as_ac_Header'}'` | 10932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
12638 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 10933 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
12639 echo "${ECHO_T}$ac_res" >&6; } | |
12640 else | 10934 else |
12641 # Is the header compilable? | 10935 # Is the header compilable? |
12642 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 10936 echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
12643 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | 10937 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
12644 cat >conftest.$ac_ext <<_ACEOF | 10938 cat >conftest.$ac_ext <<_ACEOF |
12645 /* confdefs.h. */ | 10939 /* confdefs.h. */ |
12646 _ACEOF | 10940 _ACEOF |
12647 cat confdefs.h >>conftest.$ac_ext | 10941 cat confdefs.h >>conftest.$ac_ext |
12648 cat >>conftest.$ac_ext <<_ACEOF | 10942 cat >>conftest.$ac_ext <<_ACEOF |
12649 /* end confdefs.h. */ | 10943 /* end confdefs.h. */ |
12650 $ac_includes_default | 10944 $ac_includes_default |
12651 #include <$ac_header> | 10945 #include <$ac_header> |
12652 _ACEOF | 10946 _ACEOF |
12653 rm -f conftest.$ac_objext | 10947 rm -f conftest.$ac_objext |
12654 if { (ac_try="$ac_compile" | 10948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
12655 case "(($ac_try" in | 10949 (eval $ac_compile) 2>conftest.er1 |
12656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
12657 *) ac_try_echo=$ac_try;; | |
12658 esac | |
12659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
12660 (eval "$ac_compile") 2>conftest.er1 | |
12661 ac_status=$? | 10950 ac_status=$? |
12662 grep -v '^ *+' conftest.er1 >conftest.err | 10951 grep -v '^ *+' conftest.er1 >conftest.err |
12663 rm -f conftest.er1 | 10952 rm -f conftest.er1 |
12664 cat conftest.err >&5 | 10953 cat conftest.err >&5 |
12665 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10954 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12666 (exit $ac_status); } && | 10955 (exit $ac_status); } && |
12667 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 10956 { ac_try='test -z "$ac_c_werror_flag" |
12668 { (case "(($ac_try" in | 10957 || test ! -s conftest.err' |
12669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 10958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12670 *) ac_try_echo=$ac_try;; | 10959 (eval $ac_try) 2>&5 |
12671 esac | |
12672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
12673 (eval "$ac_try") 2>&5 | |
12674 ac_status=$? | 10960 ac_status=$? |
12675 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10961 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12676 (exit $ac_status); }; } && | 10962 (exit $ac_status); }; } && |
12677 { ac_try='test -s conftest.$ac_objext' | 10963 { ac_try='test -s conftest.$ac_objext' |
12678 { (case "(($ac_try" in | 10964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 10965 (eval $ac_try) 2>&5 |
12680 *) ac_try_echo=$ac_try;; | |
12681 esac | |
12682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
12683 (eval "$ac_try") 2>&5 | |
12684 ac_status=$? | 10966 ac_status=$? |
12685 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10967 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12686 (exit $ac_status); }; }; then | 10968 (exit $ac_status); }; }; then |
12687 ac_header_compiler=yes | 10969 ac_header_compiler=yes |
12688 else | 10970 else |
12689 echo "$as_me: failed program was:" >&5 | 10971 echo "$as_me: failed program was:" >&5 |
12690 sed 's/^/| /' conftest.$ac_ext >&5 | 10972 sed 's/^/| /' conftest.$ac_ext >&5 |
12691 | 10973 |
12692 ac_header_compiler=no | 10974 ac_header_compiler=no |
12693 fi | 10975 fi |
12694 | 10976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
12695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 10977 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
12696 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 10978 echo "${ECHO_T}$ac_header_compiler" >&6 |
12697 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
12698 | 10979 |
12699 # Is the header present? | 10980 # Is the header present? |
12700 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 10981 echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
12701 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | 10982 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
12702 cat >conftest.$ac_ext <<_ACEOF | 10983 cat >conftest.$ac_ext <<_ACEOF |
12703 /* confdefs.h. */ | 10984 /* confdefs.h. */ |
12704 _ACEOF | 10985 _ACEOF |
12705 cat confdefs.h >>conftest.$ac_ext | 10986 cat confdefs.h >>conftest.$ac_ext |
12706 cat >>conftest.$ac_ext <<_ACEOF | 10987 cat >>conftest.$ac_ext <<_ACEOF |
12707 /* end confdefs.h. */ | 10988 /* end confdefs.h. */ |
12708 #include <$ac_header> | 10989 #include <$ac_header> |
12709 _ACEOF | 10990 _ACEOF |
12710 if { (ac_try="$ac_cpp conftest.$ac_ext" | 10991 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
12711 case "(($ac_try" in | 10992 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
12712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
12713 *) ac_try_echo=$ac_try;; | |
12714 esac | |
12715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
12716 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
12717 ac_status=$? | 10993 ac_status=$? |
12718 grep -v '^ *+' conftest.er1 >conftest.err | 10994 grep -v '^ *+' conftest.er1 >conftest.err |
12719 rm -f conftest.er1 | 10995 rm -f conftest.er1 |
12720 cat conftest.err >&5 | 10996 cat conftest.err >&5 |
12721 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10997 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12735 echo "$as_me: failed program was:" >&5 | 11011 echo "$as_me: failed program was:" >&5 |
12736 sed 's/^/| /' conftest.$ac_ext >&5 | 11012 sed 's/^/| /' conftest.$ac_ext >&5 |
12737 | 11013 |
12738 ac_header_preproc=no | 11014 ac_header_preproc=no |
12739 fi | 11015 fi |
12740 | |
12741 rm -f conftest.err conftest.$ac_ext | 11016 rm -f conftest.err conftest.$ac_ext |
12742 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 11017 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
12743 echo "${ECHO_T}$ac_header_preproc" >&6; } | 11018 echo "${ECHO_T}$ac_header_preproc" >&6 |
12744 | 11019 |
12745 # So? What about this header? | 11020 # So? What about this header? |
12746 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 11021 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
12747 yes:no: ) | 11022 yes:no: ) |
12748 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 11023 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
12762 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | 11037 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
12763 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 11038 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
12764 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 11039 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
12765 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 11040 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
12766 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 11041 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
12767 | 11042 ( |
11043 cat <<\_ASBOX | |
11044 ## ------------------------------------------ ## | |
11045 ## Report this to the AC_PACKAGE_NAME lists. ## | |
11046 ## ------------------------------------------ ## | |
11047 _ASBOX | |
11048 ) | | |
11049 sed "s/^/$as_me: WARNING: /" >&2 | |
12768 ;; | 11050 ;; |
12769 esac | 11051 esac |
12770 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 11052 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
12771 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 11053 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
12772 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 11054 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
12773 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11055 echo $ECHO_N "(cached) $ECHO_C" >&6 |
12774 else | 11056 else |
12775 eval "$as_ac_Header=\$ac_header_preproc" | 11057 eval "$as_ac_Header=\$ac_header_preproc" |
12776 fi | 11058 fi |
12777 ac_res=`eval echo '${'$as_ac_Header'}'` | 11059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
12778 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 11060 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
12779 echo "${ECHO_T}$ac_res" >&6; } | |
12780 | 11061 |
12781 fi | 11062 fi |
12782 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 11063 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
12783 cat >>confdefs.h <<_ACEOF | 11064 cat >>confdefs.h <<_ACEOF |
12784 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 11065 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
12787 fi | 11068 fi |
12788 | 11069 |
12789 done | 11070 done |
12790 | 11071 |
12791 if test "$ac_cv_header_pthread_h"; then | 11072 if test "$ac_cv_header_pthread_h"; then |
12792 { echo "$as_me:$LINENO: checking for pthread_self in -lpthread" >&5 | 11073 echo "$as_me:$LINENO: checking for pthread_self in -lpthread" >&5 |
12793 echo $ECHO_N "checking for pthread_self in -lpthread... $ECHO_C" >&6; } | 11074 echo $ECHO_N "checking for pthread_self in -lpthread... $ECHO_C" >&6 |
12794 if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then | 11075 if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then |
12795 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11076 echo $ECHO_N "(cached) $ECHO_C" >&6 |
12796 else | 11077 else |
12797 ac_check_lib_save_LIBS=$LIBS | 11078 ac_check_lib_save_LIBS=$LIBS |
12798 LIBS="-lpthread $LIBS" | 11079 LIBS="-lpthread $LIBS" |
12801 _ACEOF | 11082 _ACEOF |
12802 cat confdefs.h >>conftest.$ac_ext | 11083 cat confdefs.h >>conftest.$ac_ext |
12803 cat >>conftest.$ac_ext <<_ACEOF | 11084 cat >>conftest.$ac_ext <<_ACEOF |
12804 /* end confdefs.h. */ | 11085 /* end confdefs.h. */ |
12805 | 11086 |
12806 /* Override any GCC internal prototype to avoid an error. | 11087 /* Override any gcc2 internal prototype to avoid an error. */ |
12807 Use char because int might match the return type of a GCC | |
12808 builtin and then its argument prototype would still apply. */ | |
12809 #ifdef __cplusplus | 11088 #ifdef __cplusplus |
12810 extern "C" | 11089 extern "C" |
12811 #endif | 11090 #endif |
11091 /* We use char because int might match the return type of a gcc2 | |
11092 builtin and then its argument prototype would still apply. */ | |
12812 char pthread_self (); | 11093 char pthread_self (); |
12813 int | 11094 int |
12814 main () | 11095 main () |
12815 { | 11096 { |
12816 return pthread_self (); | 11097 pthread_self (); |
12817 ; | 11098 ; |
12818 return 0; | 11099 return 0; |
12819 } | 11100 } |
12820 _ACEOF | 11101 _ACEOF |
12821 rm -f conftest.$ac_objext conftest$ac_exeext | 11102 rm -f conftest.$ac_objext conftest$ac_exeext |
12822 if { (ac_try="$ac_link" | 11103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12823 case "(($ac_try" in | 11104 (eval $ac_link) 2>conftest.er1 |
12824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
12825 *) ac_try_echo=$ac_try;; | |
12826 esac | |
12827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
12828 (eval "$ac_link") 2>conftest.er1 | |
12829 ac_status=$? | 11105 ac_status=$? |
12830 grep -v '^ *+' conftest.er1 >conftest.err | 11106 grep -v '^ *+' conftest.er1 >conftest.err |
12831 rm -f conftest.er1 | 11107 rm -f conftest.er1 |
12832 cat conftest.err >&5 | 11108 cat conftest.err >&5 |
12833 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11109 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12834 (exit $ac_status); } && | 11110 (exit $ac_status); } && |
12835 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 11111 { ac_try='test -z "$ac_c_werror_flag" |
12836 { (case "(($ac_try" in | 11112 || test ! -s conftest.err' |
12837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 11113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12838 *) ac_try_echo=$ac_try;; | 11114 (eval $ac_try) 2>&5 |
12839 esac | |
12840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
12841 (eval "$ac_try") 2>&5 | |
12842 ac_status=$? | 11115 ac_status=$? |
12843 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11116 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12844 (exit $ac_status); }; } && | 11117 (exit $ac_status); }; } && |
12845 { ac_try='test -s conftest$ac_exeext' | 11118 { ac_try='test -s conftest$ac_exeext' |
12846 { (case "(($ac_try" in | 11119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 11120 (eval $ac_try) 2>&5 |
12848 *) ac_try_echo=$ac_try;; | |
12849 esac | |
12850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
12851 (eval "$ac_try") 2>&5 | |
12852 ac_status=$? | 11121 ac_status=$? |
12853 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11122 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12854 (exit $ac_status); }; }; then | 11123 (exit $ac_status); }; }; then |
12855 ac_cv_lib_pthread_pthread_self=yes | 11124 ac_cv_lib_pthread_pthread_self=yes |
12856 else | 11125 else |
12857 echo "$as_me: failed program was:" >&5 | 11126 echo "$as_me: failed program was:" >&5 |
12858 sed 's/^/| /' conftest.$ac_ext >&5 | 11127 sed 's/^/| /' conftest.$ac_ext >&5 |
12859 | 11128 |
12860 ac_cv_lib_pthread_pthread_self=no | 11129 ac_cv_lib_pthread_pthread_self=no |
12861 fi | 11130 fi |
12862 | 11131 rm -f conftest.err conftest.$ac_objext \ |
12863 rm -f core conftest.err conftest.$ac_objext \ | |
12864 conftest$ac_exeext conftest.$ac_ext | 11132 conftest$ac_exeext conftest.$ac_ext |
12865 LIBS=$ac_check_lib_save_LIBS | 11133 LIBS=$ac_check_lib_save_LIBS |
12866 fi | 11134 fi |
12867 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_self" >&5 | 11135 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_self" >&5 |
12868 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_self" >&6; } | 11136 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_self" >&6 |
12869 if test $ac_cv_lib_pthread_pthread_self = yes; then | 11137 if test $ac_cv_lib_pthread_pthread_self = yes; then |
12870 HAVE_GTK_AND_PTHREAD=yes | 11138 HAVE_GTK_AND_PTHREAD=yes |
12871 fi | 11139 fi |
12872 | 11140 |
12873 fi | 11141 fi |
12882 fi | 11150 fi |
12883 fi | 11151 fi |
12884 | 11152 |
12885 if test x"${USE_X_TOOLKIT}" = xmaybe; then | 11153 if test x"${USE_X_TOOLKIT}" = xmaybe; then |
12886 if test x"${HAVE_X11R5}" = xyes; then | 11154 if test x"${HAVE_X11R5}" = xyes; then |
12887 { echo "$as_me:$LINENO: checking X11 version 5 with Xaw" >&5 | 11155 echo "$as_me:$LINENO: checking X11 version 5 with Xaw" >&5 |
12888 echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6; } | 11156 echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6 |
12889 if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then | 11157 if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then |
12890 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11158 echo $ECHO_N "(cached) $ECHO_C" >&6 |
12891 else | 11159 else |
12892 cat >conftest.$ac_ext <<_ACEOF | 11160 cat >conftest.$ac_ext <<_ACEOF |
12893 /* confdefs.h. */ | 11161 /* confdefs.h. */ |
12905 ; | 11173 ; |
12906 return 0; | 11174 return 0; |
12907 } | 11175 } |
12908 _ACEOF | 11176 _ACEOF |
12909 rm -f conftest.$ac_objext conftest$ac_exeext | 11177 rm -f conftest.$ac_objext conftest$ac_exeext |
12910 if { (ac_try="$ac_link" | 11178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12911 case "(($ac_try" in | 11179 (eval $ac_link) 2>conftest.er1 |
12912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
12913 *) ac_try_echo=$ac_try;; | |
12914 esac | |
12915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
12916 (eval "$ac_link") 2>conftest.er1 | |
12917 ac_status=$? | 11180 ac_status=$? |
12918 grep -v '^ *+' conftest.er1 >conftest.err | 11181 grep -v '^ *+' conftest.er1 >conftest.err |
12919 rm -f conftest.er1 | 11182 rm -f conftest.er1 |
12920 cat conftest.err >&5 | 11183 cat conftest.err >&5 |
12921 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11184 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12922 (exit $ac_status); } && | 11185 (exit $ac_status); } && |
12923 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 11186 { ac_try='test -z "$ac_c_werror_flag" |
12924 { (case "(($ac_try" in | 11187 || test ! -s conftest.err' |
12925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 11188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12926 *) ac_try_echo=$ac_try;; | 11189 (eval $ac_try) 2>&5 |
12927 esac | |
12928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
12929 (eval "$ac_try") 2>&5 | |
12930 ac_status=$? | 11190 ac_status=$? |
12931 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11191 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12932 (exit $ac_status); }; } && | 11192 (exit $ac_status); }; } && |
12933 { ac_try='test -s conftest$ac_exeext' | 11193 { ac_try='test -s conftest$ac_exeext' |
12934 { (case "(($ac_try" in | 11194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 11195 (eval $ac_try) 2>&5 |
12936 *) ac_try_echo=$ac_try;; | |
12937 esac | |
12938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
12939 (eval "$ac_try") 2>&5 | |
12940 ac_status=$? | 11196 ac_status=$? |
12941 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11197 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12942 (exit $ac_status); }; }; then | 11198 (exit $ac_status); }; }; then |
12943 emacs_cv_x11_version_5_with_xaw=yes | 11199 emacs_cv_x11_version_5_with_xaw=yes |
12944 else | 11200 else |
12945 echo "$as_me: failed program was:" >&5 | 11201 echo "$as_me: failed program was:" >&5 |
12946 sed 's/^/| /' conftest.$ac_ext >&5 | 11202 sed 's/^/| /' conftest.$ac_ext >&5 |
12947 | 11203 |
12948 emacs_cv_x11_version_5_with_xaw=no | 11204 emacs_cv_x11_version_5_with_xaw=no |
12949 fi | 11205 fi |
12950 | 11206 rm -f conftest.err conftest.$ac_objext \ |
12951 rm -f core conftest.err conftest.$ac_objext \ | |
12952 conftest$ac_exeext conftest.$ac_ext | 11207 conftest$ac_exeext conftest.$ac_ext |
12953 fi | 11208 fi |
12954 | 11209 |
12955 if test $emacs_cv_x11_version_5_with_xaw = yes; then | 11210 if test $emacs_cv_x11_version_5_with_xaw = yes; then |
12956 { echo "$as_me:$LINENO: result: 5 or newer, with Xaw; use toolkit by default" >&5 | 11211 echo "$as_me:$LINENO: result: 5 or newer, with Xaw; use toolkit by default" >&5 |
12957 echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6; } | 11212 echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6 |
12958 USE_X_TOOLKIT=LUCID | 11213 USE_X_TOOLKIT=LUCID |
12959 else | 11214 else |
12960 { echo "$as_me:$LINENO: result: before 5 or no Xaw; do not use toolkit by default" >&5 | 11215 echo "$as_me:$LINENO: result: before 5 or no Xaw; do not use toolkit by default" >&5 |
12961 echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6; } | 11216 echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6 |
12962 USE_X_TOOLKIT=none | 11217 USE_X_TOOLKIT=none |
12963 fi | 11218 fi |
12964 else | 11219 else |
12965 USE_X_TOOLKIT=none | 11220 USE_X_TOOLKIT=none |
12966 fi | 11221 fi |
12967 fi | 11222 fi |
12968 | 11223 |
12969 X_TOOLKIT_TYPE=$USE_X_TOOLKIT | 11224 X_TOOLKIT_TYPE=$USE_X_TOOLKIT |
12970 | 11225 |
12971 if test "${USE_X_TOOLKIT}" != "none"; then | 11226 if test "${USE_X_TOOLKIT}" != "none"; then |
12972 { echo "$as_me:$LINENO: checking X11 toolkit version" >&5 | 11227 echo "$as_me:$LINENO: checking X11 toolkit version" >&5 |
12973 echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6; } | 11228 echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6 |
12974 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then | 11229 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then |
12975 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11230 echo $ECHO_N "(cached) $ECHO_C" >&6 |
12976 else | 11231 else |
12977 cat >conftest.$ac_ext <<_ACEOF | 11232 cat >conftest.$ac_ext <<_ACEOF |
12978 /* confdefs.h. */ | 11233 /* confdefs.h. */ |
12991 ; | 11246 ; |
12992 return 0; | 11247 return 0; |
12993 } | 11248 } |
12994 _ACEOF | 11249 _ACEOF |
12995 rm -f conftest.$ac_objext conftest$ac_exeext | 11250 rm -f conftest.$ac_objext conftest$ac_exeext |
12996 if { (ac_try="$ac_link" | 11251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12997 case "(($ac_try" in | 11252 (eval $ac_link) 2>conftest.er1 |
12998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
12999 *) ac_try_echo=$ac_try;; | |
13000 esac | |
13001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13002 (eval "$ac_link") 2>conftest.er1 | |
13003 ac_status=$? | 11253 ac_status=$? |
13004 grep -v '^ *+' conftest.er1 >conftest.err | 11254 grep -v '^ *+' conftest.er1 >conftest.err |
13005 rm -f conftest.er1 | 11255 rm -f conftest.er1 |
13006 cat conftest.err >&5 | 11256 cat conftest.err >&5 |
13007 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11257 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13008 (exit $ac_status); } && | 11258 (exit $ac_status); } && |
13009 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 11259 { ac_try='test -z "$ac_c_werror_flag" |
13010 { (case "(($ac_try" in | 11260 || test ! -s conftest.err' |
13011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 11261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13012 *) ac_try_echo=$ac_try;; | 11262 (eval $ac_try) 2>&5 |
13013 esac | |
13014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13015 (eval "$ac_try") 2>&5 | |
13016 ac_status=$? | 11263 ac_status=$? |
13017 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11264 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13018 (exit $ac_status); }; } && | 11265 (exit $ac_status); }; } && |
13019 { ac_try='test -s conftest$ac_exeext' | 11266 { ac_try='test -s conftest$ac_exeext' |
13020 { (case "(($ac_try" in | 11267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 11268 (eval $ac_try) 2>&5 |
13022 *) ac_try_echo=$ac_try;; | |
13023 esac | |
13024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13025 (eval "$ac_try") 2>&5 | |
13026 ac_status=$? | 11269 ac_status=$? |
13027 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11270 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13028 (exit $ac_status); }; }; then | 11271 (exit $ac_status); }; }; then |
13029 emacs_cv_x11_toolkit_version_6=yes | 11272 emacs_cv_x11_toolkit_version_6=yes |
13030 else | 11273 else |
13031 echo "$as_me: failed program was:" >&5 | 11274 echo "$as_me: failed program was:" >&5 |
13032 sed 's/^/| /' conftest.$ac_ext >&5 | 11275 sed 's/^/| /' conftest.$ac_ext >&5 |
13033 | 11276 |
13034 emacs_cv_x11_toolkit_version_6=no | 11277 emacs_cv_x11_toolkit_version_6=no |
13035 fi | 11278 fi |
13036 | 11279 rm -f conftest.err conftest.$ac_objext \ |
13037 rm -f core conftest.err conftest.$ac_objext \ | |
13038 conftest$ac_exeext conftest.$ac_ext | 11280 conftest$ac_exeext conftest.$ac_ext |
13039 fi | 11281 fi |
13040 | 11282 |
13041 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6 | 11283 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6 |
13042 if test $emacs_cv_x11_toolkit_version_6 = yes; then | 11284 if test $emacs_cv_x11_toolkit_version_6 = yes; then |
13043 { echo "$as_me:$LINENO: result: 6 or newer" >&5 | 11285 echo "$as_me:$LINENO: result: 6 or newer" >&5 |
13044 echo "${ECHO_T}6 or newer" >&6; } | 11286 echo "${ECHO_T}6 or newer" >&6 |
13045 | 11287 |
13046 cat >>confdefs.h <<\_ACEOF | 11288 cat >>confdefs.h <<\_ACEOF |
13047 #define HAVE_X11XTR6 1 | 11289 #define HAVE_X11XTR6 1 |
13048 _ACEOF | 11290 _ACEOF |
13049 | 11291 |
13050 else | 11292 else |
13051 { echo "$as_me:$LINENO: result: before 6" >&5 | 11293 echo "$as_me:$LINENO: result: before 6" >&5 |
13052 echo "${ECHO_T}before 6" >&6; } | 11294 echo "${ECHO_T}before 6" >&6 |
13053 fi | 11295 fi |
13054 | 11296 |
13055 OLDLIBS="$LIBS" | 11297 OLDLIBS="$LIBS" |
13056 if test x$HAVE_X11XTR6 = xyes; then | 11298 if test x$HAVE_X11XTR6 = xyes; then |
13057 LIBS="-lXt -lSM -lICE $LIBS" | 11299 LIBS="-lXt -lSM -lICE $LIBS" |
13058 else | 11300 else |
13059 LIBS="-lXt $LIBS" | 11301 LIBS="-lXt $LIBS" |
13060 fi | 11302 fi |
13061 | 11303 |
13062 { echo "$as_me:$LINENO: checking for XmuConvertStandardSelection in -lXmu" >&5 | 11304 echo "$as_me:$LINENO: checking for XmuConvertStandardSelection in -lXmu" >&5 |
13063 echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6; } | 11305 echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6 |
13064 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then | 11306 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then |
13065 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11307 echo $ECHO_N "(cached) $ECHO_C" >&6 |
13066 else | 11308 else |
13067 ac_check_lib_save_LIBS=$LIBS | 11309 ac_check_lib_save_LIBS=$LIBS |
13068 LIBS="-lXmu $LIBS" | 11310 LIBS="-lXmu $LIBS" |
13071 _ACEOF | 11313 _ACEOF |
13072 cat confdefs.h >>conftest.$ac_ext | 11314 cat confdefs.h >>conftest.$ac_ext |
13073 cat >>conftest.$ac_ext <<_ACEOF | 11315 cat >>conftest.$ac_ext <<_ACEOF |
13074 /* end confdefs.h. */ | 11316 /* end confdefs.h. */ |
13075 | 11317 |
13076 /* Override any GCC internal prototype to avoid an error. | 11318 /* Override any gcc2 internal prototype to avoid an error. */ |
13077 Use char because int might match the return type of a GCC | |
13078 builtin and then its argument prototype would still apply. */ | |
13079 #ifdef __cplusplus | 11319 #ifdef __cplusplus |
13080 extern "C" | 11320 extern "C" |
13081 #endif | 11321 #endif |
11322 /* We use char because int might match the return type of a gcc2 | |
11323 builtin and then its argument prototype would still apply. */ | |
13082 char XmuConvertStandardSelection (); | 11324 char XmuConvertStandardSelection (); |
13083 int | 11325 int |
13084 main () | 11326 main () |
13085 { | 11327 { |
13086 return XmuConvertStandardSelection (); | 11328 XmuConvertStandardSelection (); |
13087 ; | 11329 ; |
13088 return 0; | 11330 return 0; |
13089 } | 11331 } |
13090 _ACEOF | 11332 _ACEOF |
13091 rm -f conftest.$ac_objext conftest$ac_exeext | 11333 rm -f conftest.$ac_objext conftest$ac_exeext |
13092 if { (ac_try="$ac_link" | 11334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
13093 case "(($ac_try" in | 11335 (eval $ac_link) 2>conftest.er1 |
13094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13095 *) ac_try_echo=$ac_try;; | |
13096 esac | |
13097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13098 (eval "$ac_link") 2>conftest.er1 | |
13099 ac_status=$? | 11336 ac_status=$? |
13100 grep -v '^ *+' conftest.er1 >conftest.err | 11337 grep -v '^ *+' conftest.er1 >conftest.err |
13101 rm -f conftest.er1 | 11338 rm -f conftest.er1 |
13102 cat conftest.err >&5 | 11339 cat conftest.err >&5 |
13103 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11340 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13104 (exit $ac_status); } && | 11341 (exit $ac_status); } && |
13105 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 11342 { ac_try='test -z "$ac_c_werror_flag" |
13106 { (case "(($ac_try" in | 11343 || test ! -s conftest.err' |
13107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 11344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13108 *) ac_try_echo=$ac_try;; | 11345 (eval $ac_try) 2>&5 |
13109 esac | |
13110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13111 (eval "$ac_try") 2>&5 | |
13112 ac_status=$? | 11346 ac_status=$? |
13113 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11347 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13114 (exit $ac_status); }; } && | 11348 (exit $ac_status); }; } && |
13115 { ac_try='test -s conftest$ac_exeext' | 11349 { ac_try='test -s conftest$ac_exeext' |
13116 { (case "(($ac_try" in | 11350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 11351 (eval $ac_try) 2>&5 |
13118 *) ac_try_echo=$ac_try;; | |
13119 esac | |
13120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13121 (eval "$ac_try") 2>&5 | |
13122 ac_status=$? | 11352 ac_status=$? |
13123 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11353 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13124 (exit $ac_status); }; }; then | 11354 (exit $ac_status); }; }; then |
13125 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes | 11355 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes |
13126 else | 11356 else |
13127 echo "$as_me: failed program was:" >&5 | 11357 echo "$as_me: failed program was:" >&5 |
13128 sed 's/^/| /' conftest.$ac_ext >&5 | 11358 sed 's/^/| /' conftest.$ac_ext >&5 |
13129 | 11359 |
13130 ac_cv_lib_Xmu_XmuConvertStandardSelection=no | 11360 ac_cv_lib_Xmu_XmuConvertStandardSelection=no |
13131 fi | 11361 fi |
13132 | 11362 rm -f conftest.err conftest.$ac_objext \ |
13133 rm -f core conftest.err conftest.$ac_objext \ | |
13134 conftest$ac_exeext conftest.$ac_ext | 11363 conftest$ac_exeext conftest.$ac_ext |
13135 LIBS=$ac_check_lib_save_LIBS | 11364 LIBS=$ac_check_lib_save_LIBS |
13136 fi | 11365 fi |
13137 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 | 11366 echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 |
13138 echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6; } | 11367 echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6 |
13139 if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then | 11368 if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then |
13140 cat >>confdefs.h <<_ACEOF | 11369 cat >>confdefs.h <<_ACEOF |
13141 #define HAVE_LIBXMU 1 | 11370 #define HAVE_LIBXMU 1 |
13142 _ACEOF | 11371 _ACEOF |
13143 | 11372 |
13150 | 11379 |
13151 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D. | 11380 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D. |
13152 if test "${HAVE_X11}" = "yes"; then | 11381 if test "${HAVE_X11}" = "yes"; then |
13153 if test "${USE_X_TOOLKIT}" != "none"; then | 11382 if test "${USE_X_TOOLKIT}" != "none"; then |
13154 | 11383 |
13155 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5 | 11384 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5 |
13156 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; } | 11385 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6 |
13157 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then | 11386 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then |
13158 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11387 echo $ECHO_N "(cached) $ECHO_C" >&6 |
13159 else | 11388 else |
13160 ac_check_lib_save_LIBS=$LIBS | 11389 ac_check_lib_save_LIBS=$LIBS |
13161 LIBS="-lXext $LIBS" | 11390 LIBS="-lXext $LIBS" |
13164 _ACEOF | 11393 _ACEOF |
13165 cat confdefs.h >>conftest.$ac_ext | 11394 cat confdefs.h >>conftest.$ac_ext |
13166 cat >>conftest.$ac_ext <<_ACEOF | 11395 cat >>conftest.$ac_ext <<_ACEOF |
13167 /* end confdefs.h. */ | 11396 /* end confdefs.h. */ |
13168 | 11397 |
13169 /* Override any GCC internal prototype to avoid an error. | 11398 /* Override any gcc2 internal prototype to avoid an error. */ |
13170 Use char because int might match the return type of a GCC | |
13171 builtin and then its argument prototype would still apply. */ | |
13172 #ifdef __cplusplus | 11399 #ifdef __cplusplus |
13173 extern "C" | 11400 extern "C" |
13174 #endif | 11401 #endif |
11402 /* We use char because int might match the return type of a gcc2 | |
11403 builtin and then its argument prototype would still apply. */ | |
13175 char XShapeQueryExtension (); | 11404 char XShapeQueryExtension (); |
13176 int | 11405 int |
13177 main () | 11406 main () |
13178 { | 11407 { |
13179 return XShapeQueryExtension (); | 11408 XShapeQueryExtension (); |
13180 ; | 11409 ; |
13181 return 0; | 11410 return 0; |
13182 } | 11411 } |
13183 _ACEOF | 11412 _ACEOF |
13184 rm -f conftest.$ac_objext conftest$ac_exeext | 11413 rm -f conftest.$ac_objext conftest$ac_exeext |
13185 if { (ac_try="$ac_link" | 11414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
13186 case "(($ac_try" in | 11415 (eval $ac_link) 2>conftest.er1 |
13187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13188 *) ac_try_echo=$ac_try;; | |
13189 esac | |
13190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13191 (eval "$ac_link") 2>conftest.er1 | |
13192 ac_status=$? | 11416 ac_status=$? |
13193 grep -v '^ *+' conftest.er1 >conftest.err | 11417 grep -v '^ *+' conftest.er1 >conftest.err |
13194 rm -f conftest.er1 | 11418 rm -f conftest.er1 |
13195 cat conftest.err >&5 | 11419 cat conftest.err >&5 |
13196 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11420 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13197 (exit $ac_status); } && | 11421 (exit $ac_status); } && |
13198 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 11422 { ac_try='test -z "$ac_c_werror_flag" |
13199 { (case "(($ac_try" in | 11423 || test ! -s conftest.err' |
13200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 11424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13201 *) ac_try_echo=$ac_try;; | 11425 (eval $ac_try) 2>&5 |
13202 esac | |
13203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13204 (eval "$ac_try") 2>&5 | |
13205 ac_status=$? | 11426 ac_status=$? |
13206 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11427 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13207 (exit $ac_status); }; } && | 11428 (exit $ac_status); }; } && |
13208 { ac_try='test -s conftest$ac_exeext' | 11429 { ac_try='test -s conftest$ac_exeext' |
13209 { (case "(($ac_try" in | 11430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 11431 (eval $ac_try) 2>&5 |
13211 *) ac_try_echo=$ac_try;; | |
13212 esac | |
13213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13214 (eval "$ac_try") 2>&5 | |
13215 ac_status=$? | 11432 ac_status=$? |
13216 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11433 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13217 (exit $ac_status); }; }; then | 11434 (exit $ac_status); }; }; then |
13218 ac_cv_lib_Xext_XShapeQueryExtension=yes | 11435 ac_cv_lib_Xext_XShapeQueryExtension=yes |
13219 else | 11436 else |
13220 echo "$as_me: failed program was:" >&5 | 11437 echo "$as_me: failed program was:" >&5 |
13221 sed 's/^/| /' conftest.$ac_ext >&5 | 11438 sed 's/^/| /' conftest.$ac_ext >&5 |
13222 | 11439 |
13223 ac_cv_lib_Xext_XShapeQueryExtension=no | 11440 ac_cv_lib_Xext_XShapeQueryExtension=no |
13224 fi | 11441 fi |
13225 | 11442 rm -f conftest.err conftest.$ac_objext \ |
13226 rm -f core conftest.err conftest.$ac_objext \ | |
13227 conftest$ac_exeext conftest.$ac_ext | 11443 conftest$ac_exeext conftest.$ac_ext |
13228 LIBS=$ac_check_lib_save_LIBS | 11444 LIBS=$ac_check_lib_save_LIBS |
13229 fi | 11445 fi |
13230 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 | 11446 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 |
13231 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; } | 11447 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6 |
13232 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then | 11448 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then |
13233 cat >>confdefs.h <<_ACEOF | 11449 cat >>confdefs.h <<_ACEOF |
13234 #define HAVE_LIBXEXT 1 | 11450 #define HAVE_LIBXEXT 1 |
13235 _ACEOF | 11451 _ACEOF |
13236 | 11452 |
13240 | 11456 |
13241 fi | 11457 fi |
13242 fi | 11458 fi |
13243 | 11459 |
13244 if test "${USE_X_TOOLKIT}" = "MOTIF"; then | 11460 if test "${USE_X_TOOLKIT}" = "MOTIF"; then |
13245 { echo "$as_me:$LINENO: checking for Motif version 2.1" >&5 | 11461 echo "$as_me:$LINENO: checking for Motif version 2.1" >&5 |
13246 echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6; } | 11462 echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6 |
13247 if test "${emacs_cv_motif_version_2_1+set}" = set; then | 11463 if test "${emacs_cv_motif_version_2_1+set}" = set; then |
13248 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11464 echo $ECHO_N "(cached) $ECHO_C" >&6 |
13249 else | 11465 else |
13250 cat >conftest.$ac_ext <<_ACEOF | 11466 cat >conftest.$ac_ext <<_ACEOF |
13251 /* confdefs.h. */ | 11467 /* confdefs.h. */ |
13265 ; | 11481 ; |
13266 return 0; | 11482 return 0; |
13267 } | 11483 } |
13268 _ACEOF | 11484 _ACEOF |
13269 rm -f conftest.$ac_objext | 11485 rm -f conftest.$ac_objext |
13270 if { (ac_try="$ac_compile" | 11486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
13271 case "(($ac_try" in | 11487 (eval $ac_compile) 2>conftest.er1 |
13272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13273 *) ac_try_echo=$ac_try;; | |
13274 esac | |
13275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13276 (eval "$ac_compile") 2>conftest.er1 | |
13277 ac_status=$? | 11488 ac_status=$? |
13278 grep -v '^ *+' conftest.er1 >conftest.err | 11489 grep -v '^ *+' conftest.er1 >conftest.err |
13279 rm -f conftest.er1 | 11490 rm -f conftest.er1 |
13280 cat conftest.err >&5 | 11491 cat conftest.err >&5 |
13281 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11492 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13282 (exit $ac_status); } && | 11493 (exit $ac_status); } && |
13283 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 11494 { ac_try='test -z "$ac_c_werror_flag" |
13284 { (case "(($ac_try" in | 11495 || test ! -s conftest.err' |
13285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 11496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13286 *) ac_try_echo=$ac_try;; | 11497 (eval $ac_try) 2>&5 |
13287 esac | |
13288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13289 (eval "$ac_try") 2>&5 | |
13290 ac_status=$? | 11498 ac_status=$? |
13291 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11499 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13292 (exit $ac_status); }; } && | 11500 (exit $ac_status); }; } && |
13293 { ac_try='test -s conftest.$ac_objext' | 11501 { ac_try='test -s conftest.$ac_objext' |
13294 { (case "(($ac_try" in | 11502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 11503 (eval $ac_try) 2>&5 |
13296 *) ac_try_echo=$ac_try;; | |
13297 esac | |
13298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13299 (eval "$ac_try") 2>&5 | |
13300 ac_status=$? | 11504 ac_status=$? |
13301 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11505 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13302 (exit $ac_status); }; }; then | 11506 (exit $ac_status); }; }; then |
13303 emacs_cv_motif_version_2_1=yes | 11507 emacs_cv_motif_version_2_1=yes |
13304 else | 11508 else |
13305 echo "$as_me: failed program was:" >&5 | 11509 echo "$as_me: failed program was:" >&5 |
13306 sed 's/^/| /' conftest.$ac_ext >&5 | 11510 sed 's/^/| /' conftest.$ac_ext >&5 |
13307 | 11511 |
13308 emacs_cv_motif_version_2_1=no | 11512 emacs_cv_motif_version_2_1=no |
13309 fi | 11513 fi |
13310 | 11514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
13311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 11515 fi |
13312 fi | 11516 echo "$as_me:$LINENO: result: $emacs_cv_motif_version_2_1" >&5 |
13313 { echo "$as_me:$LINENO: result: $emacs_cv_motif_version_2_1" >&5 | 11517 echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6 |
13314 echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6; } | |
13315 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1 | 11518 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1 |
13316 if test $emacs_cv_motif_version_2_1 = yes; then | 11519 if test $emacs_cv_motif_version_2_1 = yes; then |
13317 HAVE_LIBXP=no | 11520 HAVE_LIBXP=no |
13318 | 11521 |
13319 cat >>confdefs.h <<\_ACEOF | 11522 cat >>confdefs.h <<\_ACEOF |
13320 #define HAVE_MOTIF_2_1 1 | 11523 #define HAVE_MOTIF_2_1 1 |
13321 _ACEOF | 11524 _ACEOF |
13322 | 11525 |
13323 { echo "$as_me:$LINENO: checking for XpCreateContext in -lXp" >&5 | 11526 echo "$as_me:$LINENO: checking for XpCreateContext in -lXp" >&5 |
13324 echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6; } | 11527 echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6 |
13325 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then | 11528 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then |
13326 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11529 echo $ECHO_N "(cached) $ECHO_C" >&6 |
13327 else | 11530 else |
13328 ac_check_lib_save_LIBS=$LIBS | 11531 ac_check_lib_save_LIBS=$LIBS |
13329 LIBS="-lXp $LIBS" | 11532 LIBS="-lXp $LIBS" |
13332 _ACEOF | 11535 _ACEOF |
13333 cat confdefs.h >>conftest.$ac_ext | 11536 cat confdefs.h >>conftest.$ac_ext |
13334 cat >>conftest.$ac_ext <<_ACEOF | 11537 cat >>conftest.$ac_ext <<_ACEOF |
13335 /* end confdefs.h. */ | 11538 /* end confdefs.h. */ |
13336 | 11539 |
13337 /* Override any GCC internal prototype to avoid an error. | 11540 /* Override any gcc2 internal prototype to avoid an error. */ |
13338 Use char because int might match the return type of a GCC | |
13339 builtin and then its argument prototype would still apply. */ | |
13340 #ifdef __cplusplus | 11541 #ifdef __cplusplus |
13341 extern "C" | 11542 extern "C" |
13342 #endif | 11543 #endif |
11544 /* We use char because int might match the return type of a gcc2 | |
11545 builtin and then its argument prototype would still apply. */ | |
13343 char XpCreateContext (); | 11546 char XpCreateContext (); |
13344 int | 11547 int |
13345 main () | 11548 main () |
13346 { | 11549 { |
13347 return XpCreateContext (); | 11550 XpCreateContext (); |
13348 ; | 11551 ; |
13349 return 0; | 11552 return 0; |
13350 } | 11553 } |
13351 _ACEOF | 11554 _ACEOF |
13352 rm -f conftest.$ac_objext conftest$ac_exeext | 11555 rm -f conftest.$ac_objext conftest$ac_exeext |
13353 if { (ac_try="$ac_link" | 11556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
13354 case "(($ac_try" in | 11557 (eval $ac_link) 2>conftest.er1 |
13355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13356 *) ac_try_echo=$ac_try;; | |
13357 esac | |
13358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13359 (eval "$ac_link") 2>conftest.er1 | |
13360 ac_status=$? | 11558 ac_status=$? |
13361 grep -v '^ *+' conftest.er1 >conftest.err | 11559 grep -v '^ *+' conftest.er1 >conftest.err |
13362 rm -f conftest.er1 | 11560 rm -f conftest.er1 |
13363 cat conftest.err >&5 | 11561 cat conftest.err >&5 |
13364 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11562 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13365 (exit $ac_status); } && | 11563 (exit $ac_status); } && |
13366 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 11564 { ac_try='test -z "$ac_c_werror_flag" |
13367 { (case "(($ac_try" in | 11565 || test ! -s conftest.err' |
13368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 11566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13369 *) ac_try_echo=$ac_try;; | 11567 (eval $ac_try) 2>&5 |
13370 esac | |
13371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13372 (eval "$ac_try") 2>&5 | |
13373 ac_status=$? | 11568 ac_status=$? |
13374 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11569 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13375 (exit $ac_status); }; } && | 11570 (exit $ac_status); }; } && |
13376 { ac_try='test -s conftest$ac_exeext' | 11571 { ac_try='test -s conftest$ac_exeext' |
13377 { (case "(($ac_try" in | 11572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 11573 (eval $ac_try) 2>&5 |
13379 *) ac_try_echo=$ac_try;; | |
13380 esac | |
13381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13382 (eval "$ac_try") 2>&5 | |
13383 ac_status=$? | 11574 ac_status=$? |
13384 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11575 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13385 (exit $ac_status); }; }; then | 11576 (exit $ac_status); }; }; then |
13386 ac_cv_lib_Xp_XpCreateContext=yes | 11577 ac_cv_lib_Xp_XpCreateContext=yes |
13387 else | 11578 else |
13388 echo "$as_me: failed program was:" >&5 | 11579 echo "$as_me: failed program was:" >&5 |
13389 sed 's/^/| /' conftest.$ac_ext >&5 | 11580 sed 's/^/| /' conftest.$ac_ext >&5 |
13390 | 11581 |
13391 ac_cv_lib_Xp_XpCreateContext=no | 11582 ac_cv_lib_Xp_XpCreateContext=no |
13392 fi | 11583 fi |
13393 | 11584 rm -f conftest.err conftest.$ac_objext \ |
13394 rm -f core conftest.err conftest.$ac_objext \ | |
13395 conftest$ac_exeext conftest.$ac_ext | 11585 conftest$ac_exeext conftest.$ac_ext |
13396 LIBS=$ac_check_lib_save_LIBS | 11586 LIBS=$ac_check_lib_save_LIBS |
13397 fi | 11587 fi |
13398 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpCreateContext" >&5 | 11588 echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpCreateContext" >&5 |
13399 echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6; } | 11589 echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6 |
13400 if test $ac_cv_lib_Xp_XpCreateContext = yes; then | 11590 if test $ac_cv_lib_Xp_XpCreateContext = yes; then |
13401 HAVE_LIBXP=yes | 11591 HAVE_LIBXP=yes |
13402 fi | 11592 fi |
13403 | 11593 |
13404 if test ${HAVE_LIBXP} = yes; then | 11594 if test ${HAVE_LIBXP} = yes; then |
13407 #define HAVE_LIBXP 1 | 11597 #define HAVE_LIBXP 1 |
13408 _ACEOF | 11598 _ACEOF |
13409 | 11599 |
13410 fi | 11600 fi |
13411 else | 11601 else |
13412 { echo "$as_me:$LINENO: checking for LessTif where some systems put it" >&5 | 11602 echo "$as_me:$LINENO: checking for LessTif where some systems put it" >&5 |
13413 echo $ECHO_N "checking for LessTif where some systems put it... $ECHO_C" >&6; } | 11603 echo $ECHO_N "checking for LessTif where some systems put it... $ECHO_C" >&6 |
13414 if test "${emacs_cv_lesstif+set}" = set; then | 11604 if test "${emacs_cv_lesstif+set}" = set; then |
13415 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11605 echo $ECHO_N "(cached) $ECHO_C" >&6 |
13416 else | 11606 else |
13417 # We put this in CFLAGS temporarily to precede other -I options | 11607 # We put this in CFLAGS temporarily to precede other -I options |
13418 # that might be in CFLAGS temporarily. | 11608 # that might be in CFLAGS temporarily. |
13435 ; | 11625 ; |
13436 return 0; | 11626 return 0; |
13437 } | 11627 } |
13438 _ACEOF | 11628 _ACEOF |
13439 rm -f conftest.$ac_objext | 11629 rm -f conftest.$ac_objext |
13440 if { (ac_try="$ac_compile" | 11630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
13441 case "(($ac_try" in | 11631 (eval $ac_compile) 2>conftest.er1 |
13442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13443 *) ac_try_echo=$ac_try;; | |
13444 esac | |
13445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13446 (eval "$ac_compile") 2>conftest.er1 | |
13447 ac_status=$? | 11632 ac_status=$? |
13448 grep -v '^ *+' conftest.er1 >conftest.err | 11633 grep -v '^ *+' conftest.er1 >conftest.err |
13449 rm -f conftest.er1 | 11634 rm -f conftest.er1 |
13450 cat conftest.err >&5 | 11635 cat conftest.err >&5 |
13451 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11636 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13452 (exit $ac_status); } && | 11637 (exit $ac_status); } && |
13453 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 11638 { ac_try='test -z "$ac_c_werror_flag" |
13454 { (case "(($ac_try" in | 11639 || test ! -s conftest.err' |
13455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 11640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13456 *) ac_try_echo=$ac_try;; | 11641 (eval $ac_try) 2>&5 |
13457 esac | |
13458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13459 (eval "$ac_try") 2>&5 | |
13460 ac_status=$? | 11642 ac_status=$? |
13461 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11643 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13462 (exit $ac_status); }; } && | 11644 (exit $ac_status); }; } && |
13463 { ac_try='test -s conftest.$ac_objext' | 11645 { ac_try='test -s conftest.$ac_objext' |
13464 { (case "(($ac_try" in | 11646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 11647 (eval $ac_try) 2>&5 |
13466 *) ac_try_echo=$ac_try;; | |
13467 esac | |
13468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13469 (eval "$ac_try") 2>&5 | |
13470 ac_status=$? | 11648 ac_status=$? |
13471 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11649 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13472 (exit $ac_status); }; }; then | 11650 (exit $ac_status); }; }; then |
13473 emacs_cv_lesstif=yes | 11651 emacs_cv_lesstif=yes |
13474 else | 11652 else |
13475 echo "$as_me: failed program was:" >&5 | 11653 echo "$as_me: failed program was:" >&5 |
13476 sed 's/^/| /' conftest.$ac_ext >&5 | 11654 sed 's/^/| /' conftest.$ac_ext >&5 |
13477 | 11655 |
13478 emacs_cv_lesstif=no | 11656 emacs_cv_lesstif=no |
13479 fi | 11657 fi |
13480 | 11658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
13481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 11659 fi |
13482 fi | 11660 echo "$as_me:$LINENO: result: $emacs_cv_lesstif" >&5 |
13483 { echo "$as_me:$LINENO: result: $emacs_cv_lesstif" >&5 | 11661 echo "${ECHO_T}$emacs_cv_lesstif" >&6 |
13484 echo "${ECHO_T}$emacs_cv_lesstif" >&6; } | |
13485 if test $emacs_cv_lesstif = yes; then | 11662 if test $emacs_cv_lesstif = yes; then |
13486 # Make sure this -I option remains in CPPFLAGS after it is set | 11663 # Make sure this -I option remains in CPPFLAGS after it is set |
13487 # back to REAL_CPPFLAGS. | 11664 # back to REAL_CPPFLAGS. |
13488 # There is no need to change REAL_CFLAGS, because REAL_CFLAGS does not | 11665 # There is no need to change REAL_CFLAGS, because REAL_CFLAGS does not |
13489 # have those other -I options anyway. Ultimately, having this | 11666 # have those other -I options anyway. Ultimately, having this |
13499 | 11676 |
13500 ### Is -lXaw3d available? | 11677 ### Is -lXaw3d available? |
13501 HAVE_XAW3D=no | 11678 HAVE_XAW3D=no |
13502 if test "${HAVE_X11}" = "yes"; then | 11679 if test "${HAVE_X11}" = "yes"; then |
13503 if test "${USE_X_TOOLKIT}" != "none" && test "${with_toolkit_scroll_bars}" != "no"; then | 11680 if test "${USE_X_TOOLKIT}" != "none" && test "${with_toolkit_scroll_bars}" != "no"; then |
13504 { echo "$as_me:$LINENO: checking for X11/Xaw3d/Scrollbar.h" >&5 | 11681 echo "$as_me:$LINENO: checking for X11/Xaw3d/Scrollbar.h" >&5 |
13505 echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6; } | 11682 echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6 |
13506 if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then | 11683 if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then |
13507 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11684 echo $ECHO_N "(cached) $ECHO_C" >&6 |
13508 else | 11685 else |
13509 cat >conftest.$ac_ext <<_ACEOF | 11686 cat >conftest.$ac_ext <<_ACEOF |
13510 /* confdefs.h. */ | 11687 /* confdefs.h. */ |
13512 cat confdefs.h >>conftest.$ac_ext | 11689 cat confdefs.h >>conftest.$ac_ext |
13513 cat >>conftest.$ac_ext <<_ACEOF | 11690 cat >>conftest.$ac_ext <<_ACEOF |
13514 /* end confdefs.h. */ | 11691 /* end confdefs.h. */ |
13515 #include <X11/Xaw3d/Scrollbar.h> | 11692 #include <X11/Xaw3d/Scrollbar.h> |
13516 _ACEOF | 11693 _ACEOF |
13517 if { (ac_try="$ac_cpp conftest.$ac_ext" | 11694 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
13518 case "(($ac_try" in | 11695 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
13519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13520 *) ac_try_echo=$ac_try;; | |
13521 esac | |
13522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13523 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
13524 ac_status=$? | 11696 ac_status=$? |
13525 grep -v '^ *+' conftest.er1 >conftest.err | 11697 grep -v '^ *+' conftest.er1 >conftest.err |
13526 rm -f conftest.er1 | 11698 rm -f conftest.er1 |
13527 cat conftest.err >&5 | 11699 cat conftest.err >&5 |
13528 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11700 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13542 echo "$as_me: failed program was:" >&5 | 11714 echo "$as_me: failed program was:" >&5 |
13543 sed 's/^/| /' conftest.$ac_ext >&5 | 11715 sed 's/^/| /' conftest.$ac_ext >&5 |
13544 | 11716 |
13545 ac_cv_header_X11_Xaw3d_Scrollbar_h=no | 11717 ac_cv_header_X11_Xaw3d_Scrollbar_h=no |
13546 fi | 11718 fi |
13547 | |
13548 rm -f conftest.err conftest.$ac_ext | 11719 rm -f conftest.err conftest.$ac_ext |
13549 fi | 11720 fi |
13550 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5 | 11721 echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5 |
13551 echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6; } | 11722 echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6 |
13552 if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then | 11723 if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then |
13553 { echo "$as_me:$LINENO: checking for XawScrollbarSetThumb in -lXaw3d" >&5 | 11724 echo "$as_me:$LINENO: checking for XawScrollbarSetThumb in -lXaw3d" >&5 |
13554 echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6; } | 11725 echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6 |
13555 if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then | 11726 if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then |
13556 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11727 echo $ECHO_N "(cached) $ECHO_C" >&6 |
13557 else | 11728 else |
13558 ac_check_lib_save_LIBS=$LIBS | 11729 ac_check_lib_save_LIBS=$LIBS |
13559 LIBS="-lXaw3d $LIBS" | 11730 LIBS="-lXaw3d $LIBS" |
13562 _ACEOF | 11733 _ACEOF |
13563 cat confdefs.h >>conftest.$ac_ext | 11734 cat confdefs.h >>conftest.$ac_ext |
13564 cat >>conftest.$ac_ext <<_ACEOF | 11735 cat >>conftest.$ac_ext <<_ACEOF |
13565 /* end confdefs.h. */ | 11736 /* end confdefs.h. */ |
13566 | 11737 |
13567 /* Override any GCC internal prototype to avoid an error. | 11738 /* Override any gcc2 internal prototype to avoid an error. */ |
13568 Use char because int might match the return type of a GCC | |
13569 builtin and then its argument prototype would still apply. */ | |
13570 #ifdef __cplusplus | 11739 #ifdef __cplusplus |
13571 extern "C" | 11740 extern "C" |
13572 #endif | 11741 #endif |
11742 /* We use char because int might match the return type of a gcc2 | |
11743 builtin and then its argument prototype would still apply. */ | |
13573 char XawScrollbarSetThumb (); | 11744 char XawScrollbarSetThumb (); |
13574 int | 11745 int |
13575 main () | 11746 main () |
13576 { | 11747 { |
13577 return XawScrollbarSetThumb (); | 11748 XawScrollbarSetThumb (); |
13578 ; | 11749 ; |
13579 return 0; | 11750 return 0; |
13580 } | 11751 } |
13581 _ACEOF | 11752 _ACEOF |
13582 rm -f conftest.$ac_objext conftest$ac_exeext | 11753 rm -f conftest.$ac_objext conftest$ac_exeext |
13583 if { (ac_try="$ac_link" | 11754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
13584 case "(($ac_try" in | 11755 (eval $ac_link) 2>conftest.er1 |
13585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13586 *) ac_try_echo=$ac_try;; | |
13587 esac | |
13588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13589 (eval "$ac_link") 2>conftest.er1 | |
13590 ac_status=$? | 11756 ac_status=$? |
13591 grep -v '^ *+' conftest.er1 >conftest.err | 11757 grep -v '^ *+' conftest.er1 >conftest.err |
13592 rm -f conftest.er1 | 11758 rm -f conftest.er1 |
13593 cat conftest.err >&5 | 11759 cat conftest.err >&5 |
13594 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11760 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13595 (exit $ac_status); } && | 11761 (exit $ac_status); } && |
13596 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 11762 { ac_try='test -z "$ac_c_werror_flag" |
13597 { (case "(($ac_try" in | 11763 || test ! -s conftest.err' |
13598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 11764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13599 *) ac_try_echo=$ac_try;; | 11765 (eval $ac_try) 2>&5 |
13600 esac | |
13601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13602 (eval "$ac_try") 2>&5 | |
13603 ac_status=$? | 11766 ac_status=$? |
13604 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11767 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13605 (exit $ac_status); }; } && | 11768 (exit $ac_status); }; } && |
13606 { ac_try='test -s conftest$ac_exeext' | 11769 { ac_try='test -s conftest$ac_exeext' |
13607 { (case "(($ac_try" in | 11770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 11771 (eval $ac_try) 2>&5 |
13609 *) ac_try_echo=$ac_try;; | |
13610 esac | |
13611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13612 (eval "$ac_try") 2>&5 | |
13613 ac_status=$? | 11772 ac_status=$? |
13614 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11773 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13615 (exit $ac_status); }; }; then | 11774 (exit $ac_status); }; }; then |
13616 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes | 11775 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes |
13617 else | 11776 else |
13618 echo "$as_me: failed program was:" >&5 | 11777 echo "$as_me: failed program was:" >&5 |
13619 sed 's/^/| /' conftest.$ac_ext >&5 | 11778 sed 's/^/| /' conftest.$ac_ext >&5 |
13620 | 11779 |
13621 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=no | 11780 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=no |
13622 fi | 11781 fi |
13623 | 11782 rm -f conftest.err conftest.$ac_objext \ |
13624 rm -f core conftest.err conftest.$ac_objext \ | |
13625 conftest$ac_exeext conftest.$ac_ext | 11783 conftest$ac_exeext conftest.$ac_ext |
13626 LIBS=$ac_check_lib_save_LIBS | 11784 LIBS=$ac_check_lib_save_LIBS |
13627 fi | 11785 fi |
13628 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5 | 11786 echo "$as_me:$LINENO: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5 |
13629 echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6; } | 11787 echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6 |
13630 if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then | 11788 if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then |
13631 HAVE_XAW3D=yes | 11789 HAVE_XAW3D=yes |
13632 fi | 11790 fi |
13633 | 11791 |
13634 fi | 11792 fi |
13694 ; | 11852 ; |
13695 return 0; | 11853 return 0; |
13696 } | 11854 } |
13697 _ACEOF | 11855 _ACEOF |
13698 rm -f conftest.$ac_objext | 11856 rm -f conftest.$ac_objext |
13699 if { (ac_try="$ac_compile" | 11857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
13700 case "(($ac_try" in | 11858 (eval $ac_compile) 2>conftest.er1 |
13701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13702 *) ac_try_echo=$ac_try;; | |
13703 esac | |
13704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13705 (eval "$ac_compile") 2>conftest.er1 | |
13706 ac_status=$? | 11859 ac_status=$? |
13707 grep -v '^ *+' conftest.er1 >conftest.err | 11860 grep -v '^ *+' conftest.er1 >conftest.err |
13708 rm -f conftest.er1 | 11861 rm -f conftest.er1 |
13709 cat conftest.err >&5 | 11862 cat conftest.err >&5 |
13710 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11863 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13711 (exit $ac_status); } && | 11864 (exit $ac_status); } && |
13712 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 11865 { ac_try='test -z "$ac_c_werror_flag" |
13713 { (case "(($ac_try" in | 11866 || test ! -s conftest.err' |
13714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 11867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13715 *) ac_try_echo=$ac_try;; | 11868 (eval $ac_try) 2>&5 |
13716 esac | |
13717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13718 (eval "$ac_try") 2>&5 | |
13719 ac_status=$? | 11869 ac_status=$? |
13720 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11870 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13721 (exit $ac_status); }; } && | 11871 (exit $ac_status); }; } && |
13722 { ac_try='test -s conftest.$ac_objext' | 11872 { ac_try='test -s conftest.$ac_objext' |
13723 { (case "(($ac_try" in | 11873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 11874 (eval $ac_try) 2>&5 |
13725 *) ac_try_echo=$ac_try;; | |
13726 esac | |
13727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13728 (eval "$ac_try") 2>&5 | |
13729 ac_status=$? | 11875 ac_status=$? |
13730 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11876 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13731 (exit $ac_status); }; }; then | 11877 (exit $ac_status); }; }; then |
13732 HAVE_XIM=yes | 11878 HAVE_XIM=yes |
13733 | 11879 |
13737 | 11883 |
13738 else | 11884 else |
13739 echo "$as_me: failed program was:" >&5 | 11885 echo "$as_me: failed program was:" >&5 |
13740 sed 's/^/| /' conftest.$ac_ext >&5 | 11886 sed 's/^/| /' conftest.$ac_ext >&5 |
13741 | 11887 |
13742 HAVE_XIM=no | 11888 HAVE_XIM=no |
13743 fi | 11889 fi |
13744 | 11890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
13745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
13746 | 11891 |
13747 | 11892 |
13748 if test "${with_xim}" != "no"; then | 11893 if test "${with_xim}" != "no"; then |
13749 | 11894 |
13750 cat >>confdefs.h <<\_ACEOF | 11895 cat >>confdefs.h <<\_ACEOF |
13788 ; | 11933 ; |
13789 return 0; | 11934 return 0; |
13790 } | 11935 } |
13791 _ACEOF | 11936 _ACEOF |
13792 rm -f conftest.$ac_objext | 11937 rm -f conftest.$ac_objext |
13793 if { (ac_try="$ac_compile" | 11938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
13794 case "(($ac_try" in | 11939 (eval $ac_compile) 2>conftest.er1 |
13795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13796 *) ac_try_echo=$ac_try;; | |
13797 esac | |
13798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13799 (eval "$ac_compile") 2>conftest.er1 | |
13800 ac_status=$? | 11940 ac_status=$? |
13801 grep -v '^ *+' conftest.er1 >conftest.err | 11941 grep -v '^ *+' conftest.er1 >conftest.err |
13802 rm -f conftest.er1 | 11942 rm -f conftest.er1 |
13803 cat conftest.err >&5 | 11943 cat conftest.err >&5 |
13804 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11944 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13805 (exit $ac_status); } && | 11945 (exit $ac_status); } && |
13806 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 11946 { ac_try='test -z "$ac_c_werror_flag" |
13807 { (case "(($ac_try" in | 11947 || test ! -s conftest.err' |
13808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 11948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13809 *) ac_try_echo=$ac_try;; | 11949 (eval $ac_try) 2>&5 |
13810 esac | |
13811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13812 (eval "$ac_try") 2>&5 | |
13813 ac_status=$? | 11950 ac_status=$? |
13814 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11951 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13815 (exit $ac_status); }; } && | 11952 (exit $ac_status); }; } && |
13816 { ac_try='test -s conftest.$ac_objext' | 11953 { ac_try='test -s conftest.$ac_objext' |
13817 { (case "(($ac_try" in | 11954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 11955 (eval $ac_try) 2>&5 |
13819 *) ac_try_echo=$ac_try;; | |
13820 esac | |
13821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13822 (eval "$ac_try") 2>&5 | |
13823 ac_status=$? | 11956 ac_status=$? |
13824 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11957 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13825 (exit $ac_status); }; }; then | 11958 (exit $ac_status); }; }; then |
13826 emacs_cv_arg6_star=yes | 11959 emacs_cv_arg6_star=yes |
13827 else | 11960 else |
13828 echo "$as_me: failed program was:" >&5 | 11961 echo "$as_me: failed program was:" >&5 |
13829 sed 's/^/| /' conftest.$ac_ext >&5 | 11962 sed 's/^/| /' conftest.$ac_ext >&5 |
13830 | 11963 |
13831 | 11964 fi |
13832 fi | 11965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
13833 | |
13834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
13835 | 11966 |
13836 if test "$emacs_cv_arg6_star" = yes; then | 11967 if test "$emacs_cv_arg6_star" = yes; then |
13837 cat >>confdefs.h <<\_ACEOF | 11968 cat >>confdefs.h <<\_ACEOF |
13838 #define XRegisterIMInstantiateCallback_arg6 XPointer* | 11969 #define XRegisterIMInstantiateCallback_arg6 XPointer* |
13839 _ACEOF | 11970 _ACEOF |
13850 ### Use -lXpm if available, unless `--with-xpm=no'. | 11981 ### Use -lXpm if available, unless `--with-xpm=no'. |
13851 HAVE_XPM=no | 11982 HAVE_XPM=no |
13852 if test "${HAVE_X11}" = "yes"; then | 11983 if test "${HAVE_X11}" = "yes"; then |
13853 if test "${with_xpm}" != "no"; then | 11984 if test "${with_xpm}" != "no"; then |
13854 if test "${ac_cv_header_X11_xpm_h+set}" = set; then | 11985 if test "${ac_cv_header_X11_xpm_h+set}" = set; then |
13855 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5 | 11986 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5 |
13856 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; } | 11987 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6 |
13857 if test "${ac_cv_header_X11_xpm_h+set}" = set; then | 11988 if test "${ac_cv_header_X11_xpm_h+set}" = set; then |
13858 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11989 echo $ECHO_N "(cached) $ECHO_C" >&6 |
13859 fi | 11990 fi |
13860 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5 | 11991 echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5 |
13861 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6; } | 11992 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6 |
13862 else | 11993 else |
13863 # Is the header compilable? | 11994 # Is the header compilable? |
13864 { echo "$as_me:$LINENO: checking X11/xpm.h usability" >&5 | 11995 echo "$as_me:$LINENO: checking X11/xpm.h usability" >&5 |
13865 echo $ECHO_N "checking X11/xpm.h usability... $ECHO_C" >&6; } | 11996 echo $ECHO_N "checking X11/xpm.h usability... $ECHO_C" >&6 |
13866 cat >conftest.$ac_ext <<_ACEOF | 11997 cat >conftest.$ac_ext <<_ACEOF |
13867 /* confdefs.h. */ | 11998 /* confdefs.h. */ |
13868 _ACEOF | 11999 _ACEOF |
13869 cat confdefs.h >>conftest.$ac_ext | 12000 cat confdefs.h >>conftest.$ac_ext |
13870 cat >>conftest.$ac_ext <<_ACEOF | 12001 cat >>conftest.$ac_ext <<_ACEOF |
13871 /* end confdefs.h. */ | 12002 /* end confdefs.h. */ |
13872 $ac_includes_default | 12003 $ac_includes_default |
13873 #include <X11/xpm.h> | 12004 #include <X11/xpm.h> |
13874 _ACEOF | 12005 _ACEOF |
13875 rm -f conftest.$ac_objext | 12006 rm -f conftest.$ac_objext |
13876 if { (ac_try="$ac_compile" | 12007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
13877 case "(($ac_try" in | 12008 (eval $ac_compile) 2>conftest.er1 |
13878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13879 *) ac_try_echo=$ac_try;; | |
13880 esac | |
13881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13882 (eval "$ac_compile") 2>conftest.er1 | |
13883 ac_status=$? | 12009 ac_status=$? |
13884 grep -v '^ *+' conftest.er1 >conftest.err | 12010 grep -v '^ *+' conftest.er1 >conftest.err |
13885 rm -f conftest.er1 | 12011 rm -f conftest.er1 |
13886 cat conftest.err >&5 | 12012 cat conftest.err >&5 |
13887 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12013 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13888 (exit $ac_status); } && | 12014 (exit $ac_status); } && |
13889 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 12015 { ac_try='test -z "$ac_c_werror_flag" |
13890 { (case "(($ac_try" in | 12016 || test ! -s conftest.err' |
13891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 12017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13892 *) ac_try_echo=$ac_try;; | 12018 (eval $ac_try) 2>&5 |
13893 esac | |
13894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13895 (eval "$ac_try") 2>&5 | |
13896 ac_status=$? | 12019 ac_status=$? |
13897 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12020 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13898 (exit $ac_status); }; } && | 12021 (exit $ac_status); }; } && |
13899 { ac_try='test -s conftest.$ac_objext' | 12022 { ac_try='test -s conftest.$ac_objext' |
13900 { (case "(($ac_try" in | 12023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 12024 (eval $ac_try) 2>&5 |
13902 *) ac_try_echo=$ac_try;; | |
13903 esac | |
13904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13905 (eval "$ac_try") 2>&5 | |
13906 ac_status=$? | 12025 ac_status=$? |
13907 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12026 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13908 (exit $ac_status); }; }; then | 12027 (exit $ac_status); }; }; then |
13909 ac_header_compiler=yes | 12028 ac_header_compiler=yes |
13910 else | 12029 else |
13911 echo "$as_me: failed program was:" >&5 | 12030 echo "$as_me: failed program was:" >&5 |
13912 sed 's/^/| /' conftest.$ac_ext >&5 | 12031 sed 's/^/| /' conftest.$ac_ext >&5 |
13913 | 12032 |
13914 ac_header_compiler=no | 12033 ac_header_compiler=no |
13915 fi | 12034 fi |
13916 | 12035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
13917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 12036 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
13918 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 12037 echo "${ECHO_T}$ac_header_compiler" >&6 |
13919 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
13920 | 12038 |
13921 # Is the header present? | 12039 # Is the header present? |
13922 { echo "$as_me:$LINENO: checking X11/xpm.h presence" >&5 | 12040 echo "$as_me:$LINENO: checking X11/xpm.h presence" >&5 |
13923 echo $ECHO_N "checking X11/xpm.h presence... $ECHO_C" >&6; } | 12041 echo $ECHO_N "checking X11/xpm.h presence... $ECHO_C" >&6 |
13924 cat >conftest.$ac_ext <<_ACEOF | 12042 cat >conftest.$ac_ext <<_ACEOF |
13925 /* confdefs.h. */ | 12043 /* confdefs.h. */ |
13926 _ACEOF | 12044 _ACEOF |
13927 cat confdefs.h >>conftest.$ac_ext | 12045 cat confdefs.h >>conftest.$ac_ext |
13928 cat >>conftest.$ac_ext <<_ACEOF | 12046 cat >>conftest.$ac_ext <<_ACEOF |
13929 /* end confdefs.h. */ | 12047 /* end confdefs.h. */ |
13930 #include <X11/xpm.h> | 12048 #include <X11/xpm.h> |
13931 _ACEOF | 12049 _ACEOF |
13932 if { (ac_try="$ac_cpp conftest.$ac_ext" | 12050 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
13933 case "(($ac_try" in | 12051 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
13934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13935 *) ac_try_echo=$ac_try;; | |
13936 esac | |
13937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13938 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
13939 ac_status=$? | 12052 ac_status=$? |
13940 grep -v '^ *+' conftest.er1 >conftest.err | 12053 grep -v '^ *+' conftest.er1 >conftest.err |
13941 rm -f conftest.er1 | 12054 rm -f conftest.er1 |
13942 cat conftest.err >&5 | 12055 cat conftest.err >&5 |
13943 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12056 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13957 echo "$as_me: failed program was:" >&5 | 12070 echo "$as_me: failed program was:" >&5 |
13958 sed 's/^/| /' conftest.$ac_ext >&5 | 12071 sed 's/^/| /' conftest.$ac_ext >&5 |
13959 | 12072 |
13960 ac_header_preproc=no | 12073 ac_header_preproc=no |
13961 fi | 12074 fi |
13962 | |
13963 rm -f conftest.err conftest.$ac_ext | 12075 rm -f conftest.err conftest.$ac_ext |
13964 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 12076 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
13965 echo "${ECHO_T}$ac_header_preproc" >&6; } | 12077 echo "${ECHO_T}$ac_header_preproc" >&6 |
13966 | 12078 |
13967 # So? What about this header? | 12079 # So? What about this header? |
13968 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 12080 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
13969 yes:no: ) | 12081 yes:no: ) |
13970 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&5 | 12082 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
13984 echo "$as_me: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&2;} | 12096 echo "$as_me: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&2;} |
13985 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&5 | 12097 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&5 |
13986 echo "$as_me: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&2;} | 12098 echo "$as_me: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&2;} |
13987 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&5 | 12099 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&5 |
13988 echo "$as_me: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&2;} | 12100 echo "$as_me: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&2;} |
13989 | 12101 ( |
12102 cat <<\_ASBOX | |
12103 ## ------------------------------------------ ## | |
12104 ## Report this to the AC_PACKAGE_NAME lists. ## | |
12105 ## ------------------------------------------ ## | |
12106 _ASBOX | |
12107 ) | | |
12108 sed "s/^/$as_me: WARNING: /" >&2 | |
13990 ;; | 12109 ;; |
13991 esac | 12110 esac |
13992 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5 | 12111 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5 |
13993 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; } | 12112 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6 |
13994 if test "${ac_cv_header_X11_xpm_h+set}" = set; then | 12113 if test "${ac_cv_header_X11_xpm_h+set}" = set; then |
13995 echo $ECHO_N "(cached) $ECHO_C" >&6 | 12114 echo $ECHO_N "(cached) $ECHO_C" >&6 |
13996 else | 12115 else |
13997 ac_cv_header_X11_xpm_h=$ac_header_preproc | 12116 ac_cv_header_X11_xpm_h=$ac_header_preproc |
13998 fi | 12117 fi |
13999 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5 | 12118 echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5 |
14000 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6; } | 12119 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6 |
14001 | 12120 |
14002 fi | 12121 fi |
14003 if test $ac_cv_header_X11_xpm_h = yes; then | 12122 if test $ac_cv_header_X11_xpm_h = yes; then |
14004 { echo "$as_me:$LINENO: checking for XpmReadFileToPixmap in -lXpm" >&5 | 12123 echo "$as_me:$LINENO: checking for XpmReadFileToPixmap in -lXpm" >&5 |
14005 echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6; } | 12124 echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6 |
14006 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then | 12125 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then |
14007 echo $ECHO_N "(cached) $ECHO_C" >&6 | 12126 echo $ECHO_N "(cached) $ECHO_C" >&6 |
14008 else | 12127 else |
14009 ac_check_lib_save_LIBS=$LIBS | 12128 ac_check_lib_save_LIBS=$LIBS |
14010 LIBS="-lXpm -lX11 $LIBS" | 12129 LIBS="-lXpm -lX11 $LIBS" |
14013 _ACEOF | 12132 _ACEOF |
14014 cat confdefs.h >>conftest.$ac_ext | 12133 cat confdefs.h >>conftest.$ac_ext |
14015 cat >>conftest.$ac_ext <<_ACEOF | 12134 cat >>conftest.$ac_ext <<_ACEOF |
14016 /* end confdefs.h. */ | 12135 /* end confdefs.h. */ |
14017 | 12136 |
14018 /* Override any GCC internal prototype to avoid an error. | 12137 /* Override any gcc2 internal prototype to avoid an error. */ |
14019 Use char because int might match the return type of a GCC | |
14020 builtin and then its argument prototype would still apply. */ | |
14021 #ifdef __cplusplus | 12138 #ifdef __cplusplus |
14022 extern "C" | 12139 extern "C" |
14023 #endif | 12140 #endif |
12141 /* We use char because int might match the return type of a gcc2 | |
12142 builtin and then its argument prototype would still apply. */ | |
14024 char XpmReadFileToPixmap (); | 12143 char XpmReadFileToPixmap (); |
14025 int | 12144 int |
14026 main () | 12145 main () |
14027 { | 12146 { |
14028 return XpmReadFileToPixmap (); | 12147 XpmReadFileToPixmap (); |
14029 ; | 12148 ; |
14030 return 0; | 12149 return 0; |
14031 } | 12150 } |
14032 _ACEOF | 12151 _ACEOF |
14033 rm -f conftest.$ac_objext conftest$ac_exeext | 12152 rm -f conftest.$ac_objext conftest$ac_exeext |
14034 if { (ac_try="$ac_link" | 12153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
14035 case "(($ac_try" in | 12154 (eval $ac_link) 2>conftest.er1 |
14036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14037 *) ac_try_echo=$ac_try;; | |
14038 esac | |
14039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14040 (eval "$ac_link") 2>conftest.er1 | |
14041 ac_status=$? | 12155 ac_status=$? |
14042 grep -v '^ *+' conftest.er1 >conftest.err | 12156 grep -v '^ *+' conftest.er1 >conftest.err |
14043 rm -f conftest.er1 | 12157 rm -f conftest.er1 |
14044 cat conftest.err >&5 | 12158 cat conftest.err >&5 |
14045 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12159 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14046 (exit $ac_status); } && | 12160 (exit $ac_status); } && |
14047 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 12161 { ac_try='test -z "$ac_c_werror_flag" |
14048 { (case "(($ac_try" in | 12162 || test ! -s conftest.err' |
14049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 12163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14050 *) ac_try_echo=$ac_try;; | 12164 (eval $ac_try) 2>&5 |
14051 esac | |
14052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14053 (eval "$ac_try") 2>&5 | |
14054 ac_status=$? | 12165 ac_status=$? |
14055 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12166 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14056 (exit $ac_status); }; } && | 12167 (exit $ac_status); }; } && |
14057 { ac_try='test -s conftest$ac_exeext' | 12168 { ac_try='test -s conftest$ac_exeext' |
14058 { (case "(($ac_try" in | 12169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 12170 (eval $ac_try) 2>&5 |
14060 *) ac_try_echo=$ac_try;; | |
14061 esac | |
14062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14063 (eval "$ac_try") 2>&5 | |
14064 ac_status=$? | 12171 ac_status=$? |
14065 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12172 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14066 (exit $ac_status); }; }; then | 12173 (exit $ac_status); }; }; then |
14067 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes | 12174 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes |
14068 else | 12175 else |
14069 echo "$as_me: failed program was:" >&5 | 12176 echo "$as_me: failed program was:" >&5 |
14070 sed 's/^/| /' conftest.$ac_ext >&5 | 12177 sed 's/^/| /' conftest.$ac_ext >&5 |
14071 | 12178 |
14072 ac_cv_lib_Xpm_XpmReadFileToPixmap=no | 12179 ac_cv_lib_Xpm_XpmReadFileToPixmap=no |
14073 fi | 12180 fi |
14074 | 12181 rm -f conftest.err conftest.$ac_objext \ |
14075 rm -f core conftest.err conftest.$ac_objext \ | |
14076 conftest$ac_exeext conftest.$ac_ext | 12182 conftest$ac_exeext conftest.$ac_ext |
14077 LIBS=$ac_check_lib_save_LIBS | 12183 LIBS=$ac_check_lib_save_LIBS |
14078 fi | 12184 fi |
14079 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 | 12185 echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 |
14080 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; } | 12186 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6 |
14081 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then | 12187 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then |
14082 HAVE_XPM=yes | 12188 HAVE_XPM=yes |
14083 fi | 12189 fi |
14084 | 12190 |
14085 fi | 12191 fi |
14086 | 12192 |
14087 | 12193 |
14088 if test "${HAVE_XPM}" = "yes"; then | 12194 if test "${HAVE_XPM}" = "yes"; then |
14089 { echo "$as_me:$LINENO: checking for XpmReturnAllocPixels preprocessor define" >&5 | 12195 echo "$as_me:$LINENO: checking for XpmReturnAllocPixels preprocessor define" >&5 |
14090 echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6; } | 12196 echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6 |
14091 cat >conftest.$ac_ext <<_ACEOF | 12197 cat >conftest.$ac_ext <<_ACEOF |
14092 /* confdefs.h. */ | 12198 /* confdefs.h. */ |
14093 _ACEOF | 12199 _ACEOF |
14094 cat confdefs.h >>conftest.$ac_ext | 12200 cat confdefs.h >>conftest.$ac_ext |
14095 cat >>conftest.$ac_ext <<_ACEOF | 12201 cat >>conftest.$ac_ext <<_ACEOF |
14108 fi | 12214 fi |
14109 rm -f conftest* | 12215 rm -f conftest* |
14110 | 12216 |
14111 | 12217 |
14112 if test "${HAVE_XPM}" = "yes"; then | 12218 if test "${HAVE_XPM}" = "yes"; then |
14113 { echo "$as_me:$LINENO: result: yes" >&5 | 12219 echo "$as_me:$LINENO: result: yes" >&5 |
14114 echo "${ECHO_T}yes" >&6; } | 12220 echo "${ECHO_T}yes" >&6 |
14115 else | 12221 else |
14116 { echo "$as_me:$LINENO: result: no" >&5 | 12222 echo "$as_me:$LINENO: result: no" >&5 |
14117 echo "${ECHO_T}no" >&6; } | 12223 echo "${ECHO_T}no" >&6 |
14118 fi | 12224 fi |
14119 fi | 12225 fi |
14120 fi | 12226 fi |
14121 | 12227 |
14122 if test "${HAVE_XPM}" = "yes"; then | 12228 if test "${HAVE_XPM}" = "yes"; then |
14131 ### Use -ljpeg if available, unless `--with-jpeg=no'. | 12237 ### Use -ljpeg if available, unless `--with-jpeg=no'. |
14132 HAVE_JPEG=no | 12238 HAVE_JPEG=no |
14133 if test "${HAVE_X11}" = "yes"; then | 12239 if test "${HAVE_X11}" = "yes"; then |
14134 if test "${with_jpeg}" != "no"; then | 12240 if test "${with_jpeg}" != "no"; then |
14135 if test "${ac_cv_header_jerror_h+set}" = set; then | 12241 if test "${ac_cv_header_jerror_h+set}" = set; then |
14136 { echo "$as_me:$LINENO: checking for jerror.h" >&5 | 12242 echo "$as_me:$LINENO: checking for jerror.h" >&5 |
14137 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6; } | 12243 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6 |
14138 if test "${ac_cv_header_jerror_h+set}" = set; then | 12244 if test "${ac_cv_header_jerror_h+set}" = set; then |
14139 echo $ECHO_N "(cached) $ECHO_C" >&6 | 12245 echo $ECHO_N "(cached) $ECHO_C" >&6 |
14140 fi | 12246 fi |
14141 { echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5 | 12247 echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5 |
14142 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6; } | 12248 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6 |
14143 else | 12249 else |
14144 # Is the header compilable? | 12250 # Is the header compilable? |
14145 { echo "$as_me:$LINENO: checking jerror.h usability" >&5 | 12251 echo "$as_me:$LINENO: checking jerror.h usability" >&5 |
14146 echo $ECHO_N "checking jerror.h usability... $ECHO_C" >&6; } | 12252 echo $ECHO_N "checking jerror.h usability... $ECHO_C" >&6 |
14147 cat >conftest.$ac_ext <<_ACEOF | 12253 cat >conftest.$ac_ext <<_ACEOF |
14148 /* confdefs.h. */ | 12254 /* confdefs.h. */ |
14149 _ACEOF | 12255 _ACEOF |
14150 cat confdefs.h >>conftest.$ac_ext | 12256 cat confdefs.h >>conftest.$ac_ext |
14151 cat >>conftest.$ac_ext <<_ACEOF | 12257 cat >>conftest.$ac_ext <<_ACEOF |
14152 /* end confdefs.h. */ | 12258 /* end confdefs.h. */ |
14153 $ac_includes_default | 12259 $ac_includes_default |
14154 #include <jerror.h> | 12260 #include <jerror.h> |
14155 _ACEOF | 12261 _ACEOF |
14156 rm -f conftest.$ac_objext | 12262 rm -f conftest.$ac_objext |
14157 if { (ac_try="$ac_compile" | 12263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
14158 case "(($ac_try" in | 12264 (eval $ac_compile) 2>conftest.er1 |
14159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14160 *) ac_try_echo=$ac_try;; | |
14161 esac | |
14162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14163 (eval "$ac_compile") 2>conftest.er1 | |
14164 ac_status=$? | 12265 ac_status=$? |
14165 grep -v '^ *+' conftest.er1 >conftest.err | 12266 grep -v '^ *+' conftest.er1 >conftest.err |
14166 rm -f conftest.er1 | 12267 rm -f conftest.er1 |
14167 cat conftest.err >&5 | 12268 cat conftest.err >&5 |
14168 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12269 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14169 (exit $ac_status); } && | 12270 (exit $ac_status); } && |
14170 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 12271 { ac_try='test -z "$ac_c_werror_flag" |
14171 { (case "(($ac_try" in | 12272 || test ! -s conftest.err' |
14172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 12273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14173 *) ac_try_echo=$ac_try;; | 12274 (eval $ac_try) 2>&5 |
14174 esac | |
14175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14176 (eval "$ac_try") 2>&5 | |
14177 ac_status=$? | 12275 ac_status=$? |
14178 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12276 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14179 (exit $ac_status); }; } && | 12277 (exit $ac_status); }; } && |
14180 { ac_try='test -s conftest.$ac_objext' | 12278 { ac_try='test -s conftest.$ac_objext' |
14181 { (case "(($ac_try" in | 12279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 12280 (eval $ac_try) 2>&5 |
14183 *) ac_try_echo=$ac_try;; | |
14184 esac | |
14185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14186 (eval "$ac_try") 2>&5 | |
14187 ac_status=$? | 12281 ac_status=$? |
14188 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12282 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14189 (exit $ac_status); }; }; then | 12283 (exit $ac_status); }; }; then |
14190 ac_header_compiler=yes | 12284 ac_header_compiler=yes |
14191 else | 12285 else |
14192 echo "$as_me: failed program was:" >&5 | 12286 echo "$as_me: failed program was:" >&5 |
14193 sed 's/^/| /' conftest.$ac_ext >&5 | 12287 sed 's/^/| /' conftest.$ac_ext >&5 |
14194 | 12288 |
14195 ac_header_compiler=no | 12289 ac_header_compiler=no |
14196 fi | 12290 fi |
14197 | 12291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
14198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 12292 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
14199 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 12293 echo "${ECHO_T}$ac_header_compiler" >&6 |
14200 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
14201 | 12294 |
14202 # Is the header present? | 12295 # Is the header present? |
14203 { echo "$as_me:$LINENO: checking jerror.h presence" >&5 | 12296 echo "$as_me:$LINENO: checking jerror.h presence" >&5 |
14204 echo $ECHO_N "checking jerror.h presence... $ECHO_C" >&6; } | 12297 echo $ECHO_N "checking jerror.h presence... $ECHO_C" >&6 |
14205 cat >conftest.$ac_ext <<_ACEOF | 12298 cat >conftest.$ac_ext <<_ACEOF |
14206 /* confdefs.h. */ | 12299 /* confdefs.h. */ |
14207 _ACEOF | 12300 _ACEOF |
14208 cat confdefs.h >>conftest.$ac_ext | 12301 cat confdefs.h >>conftest.$ac_ext |
14209 cat >>conftest.$ac_ext <<_ACEOF | 12302 cat >>conftest.$ac_ext <<_ACEOF |
14210 /* end confdefs.h. */ | 12303 /* end confdefs.h. */ |
14211 #include <jerror.h> | 12304 #include <jerror.h> |
14212 _ACEOF | 12305 _ACEOF |
14213 if { (ac_try="$ac_cpp conftest.$ac_ext" | 12306 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
14214 case "(($ac_try" in | 12307 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
14215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14216 *) ac_try_echo=$ac_try;; | |
14217 esac | |
14218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14219 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
14220 ac_status=$? | 12308 ac_status=$? |
14221 grep -v '^ *+' conftest.er1 >conftest.err | 12309 grep -v '^ *+' conftest.er1 >conftest.err |
14222 rm -f conftest.er1 | 12310 rm -f conftest.er1 |
14223 cat conftest.err >&5 | 12311 cat conftest.err >&5 |
14224 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12312 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14238 echo "$as_me: failed program was:" >&5 | 12326 echo "$as_me: failed program was:" >&5 |
14239 sed 's/^/| /' conftest.$ac_ext >&5 | 12327 sed 's/^/| /' conftest.$ac_ext >&5 |
14240 | 12328 |
14241 ac_header_preproc=no | 12329 ac_header_preproc=no |
14242 fi | 12330 fi |
14243 | |
14244 rm -f conftest.err conftest.$ac_ext | 12331 rm -f conftest.err conftest.$ac_ext |
14245 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 12332 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
14246 echo "${ECHO_T}$ac_header_preproc" >&6; } | 12333 echo "${ECHO_T}$ac_header_preproc" >&6 |
14247 | 12334 |
14248 # So? What about this header? | 12335 # So? What about this header? |
14249 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 12336 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
14250 yes:no: ) | 12337 yes:no: ) |
14251 { echo "$as_me:$LINENO: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&5 | 12338 { echo "$as_me:$LINENO: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
14265 echo "$as_me: WARNING: jerror.h: section \"Present But Cannot Be Compiled\"" >&2;} | 12352 echo "$as_me: WARNING: jerror.h: section \"Present But Cannot Be Compiled\"" >&2;} |
14266 { echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the preprocessor's result" >&5 | 12353 { echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the preprocessor's result" >&5 |
14267 echo "$as_me: WARNING: jerror.h: proceeding with the preprocessor's result" >&2;} | 12354 echo "$as_me: WARNING: jerror.h: proceeding with the preprocessor's result" >&2;} |
14268 { echo "$as_me:$LINENO: WARNING: jerror.h: in the future, the compiler will take precedence" >&5 | 12355 { echo "$as_me:$LINENO: WARNING: jerror.h: in the future, the compiler will take precedence" >&5 |
14269 echo "$as_me: WARNING: jerror.h: in the future, the compiler will take precedence" >&2;} | 12356 echo "$as_me: WARNING: jerror.h: in the future, the compiler will take precedence" >&2;} |
14270 | 12357 ( |
12358 cat <<\_ASBOX | |
12359 ## ------------------------------------------ ## | |
12360 ## Report this to the AC_PACKAGE_NAME lists. ## | |
12361 ## ------------------------------------------ ## | |
12362 _ASBOX | |
12363 ) | | |
12364 sed "s/^/$as_me: WARNING: /" >&2 | |
14271 ;; | 12365 ;; |
14272 esac | 12366 esac |
14273 { echo "$as_me:$LINENO: checking for jerror.h" >&5 | 12367 echo "$as_me:$LINENO: checking for jerror.h" >&5 |
14274 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6; } | 12368 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6 |
14275 if test "${ac_cv_header_jerror_h+set}" = set; then | 12369 if test "${ac_cv_header_jerror_h+set}" = set; then |
14276 echo $ECHO_N "(cached) $ECHO_C" >&6 | 12370 echo $ECHO_N "(cached) $ECHO_C" >&6 |
14277 else | 12371 else |
14278 ac_cv_header_jerror_h=$ac_header_preproc | 12372 ac_cv_header_jerror_h=$ac_header_preproc |
14279 fi | 12373 fi |
14280 { echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5 | 12374 echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5 |
14281 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6; } | 12375 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6 |
14282 | 12376 |
14283 fi | 12377 fi |
14284 if test $ac_cv_header_jerror_h = yes; then | 12378 if test $ac_cv_header_jerror_h = yes; then |
14285 { echo "$as_me:$LINENO: checking for jpeg_destroy_compress in -ljpeg" >&5 | 12379 echo "$as_me:$LINENO: checking for jpeg_destroy_compress in -ljpeg" >&5 |
14286 echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6; } | 12380 echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6 |
14287 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then | 12381 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then |
14288 echo $ECHO_N "(cached) $ECHO_C" >&6 | 12382 echo $ECHO_N "(cached) $ECHO_C" >&6 |
14289 else | 12383 else |
14290 ac_check_lib_save_LIBS=$LIBS | 12384 ac_check_lib_save_LIBS=$LIBS |
14291 LIBS="-ljpeg $LIBS" | 12385 LIBS="-ljpeg $LIBS" |
14294 _ACEOF | 12388 _ACEOF |
14295 cat confdefs.h >>conftest.$ac_ext | 12389 cat confdefs.h >>conftest.$ac_ext |
14296 cat >>conftest.$ac_ext <<_ACEOF | 12390 cat >>conftest.$ac_ext <<_ACEOF |
14297 /* end confdefs.h. */ | 12391 /* end confdefs.h. */ |
14298 | 12392 |
14299 /* Override any GCC internal prototype to avoid an error. | 12393 /* Override any gcc2 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. */ | |
14302 #ifdef __cplusplus | 12394 #ifdef __cplusplus |
14303 extern "C" | 12395 extern "C" |
14304 #endif | 12396 #endif |
12397 /* We use char because int might match the return type of a gcc2 | |
12398 builtin and then its argument prototype would still apply. */ | |
14305 char jpeg_destroy_compress (); | 12399 char jpeg_destroy_compress (); |
14306 int | 12400 int |
14307 main () | 12401 main () |
14308 { | 12402 { |
14309 return jpeg_destroy_compress (); | 12403 jpeg_destroy_compress (); |
14310 ; | 12404 ; |
14311 return 0; | 12405 return 0; |
14312 } | 12406 } |
14313 _ACEOF | 12407 _ACEOF |
14314 rm -f conftest.$ac_objext conftest$ac_exeext | 12408 rm -f conftest.$ac_objext conftest$ac_exeext |
14315 if { (ac_try="$ac_link" | 12409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
14316 case "(($ac_try" in | 12410 (eval $ac_link) 2>conftest.er1 |
14317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14318 *) ac_try_echo=$ac_try;; | |
14319 esac | |
14320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14321 (eval "$ac_link") 2>conftest.er1 | |
14322 ac_status=$? | 12411 ac_status=$? |
14323 grep -v '^ *+' conftest.er1 >conftest.err | 12412 grep -v '^ *+' conftest.er1 >conftest.err |
14324 rm -f conftest.er1 | 12413 rm -f conftest.er1 |
14325 cat conftest.err >&5 | 12414 cat conftest.err >&5 |
14326 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12415 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14327 (exit $ac_status); } && | 12416 (exit $ac_status); } && |
14328 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 12417 { ac_try='test -z "$ac_c_werror_flag" |
14329 { (case "(($ac_try" in | 12418 || test ! -s conftest.err' |
14330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 12419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14331 *) ac_try_echo=$ac_try;; | 12420 (eval $ac_try) 2>&5 |
14332 esac | |
14333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14334 (eval "$ac_try") 2>&5 | |
14335 ac_status=$? | 12421 ac_status=$? |
14336 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12422 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14337 (exit $ac_status); }; } && | 12423 (exit $ac_status); }; } && |
14338 { ac_try='test -s conftest$ac_exeext' | 12424 { ac_try='test -s conftest$ac_exeext' |
14339 { (case "(($ac_try" in | 12425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 12426 (eval $ac_try) 2>&5 |
14341 *) ac_try_echo=$ac_try;; | |
14342 esac | |
14343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14344 (eval "$ac_try") 2>&5 | |
14345 ac_status=$? | 12427 ac_status=$? |
14346 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12428 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14347 (exit $ac_status); }; }; then | 12429 (exit $ac_status); }; }; then |
14348 ac_cv_lib_jpeg_jpeg_destroy_compress=yes | 12430 ac_cv_lib_jpeg_jpeg_destroy_compress=yes |
14349 else | 12431 else |
14350 echo "$as_me: failed program was:" >&5 | 12432 echo "$as_me: failed program was:" >&5 |
14351 sed 's/^/| /' conftest.$ac_ext >&5 | 12433 sed 's/^/| /' conftest.$ac_ext >&5 |
14352 | 12434 |
14353 ac_cv_lib_jpeg_jpeg_destroy_compress=no | 12435 ac_cv_lib_jpeg_jpeg_destroy_compress=no |
14354 fi | 12436 fi |
14355 | 12437 rm -f conftest.err conftest.$ac_objext \ |
14356 rm -f core conftest.err conftest.$ac_objext \ | |
14357 conftest$ac_exeext conftest.$ac_ext | 12438 conftest$ac_exeext conftest.$ac_ext |
14358 LIBS=$ac_check_lib_save_LIBS | 12439 LIBS=$ac_check_lib_save_LIBS |
14359 fi | 12440 fi |
14360 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 | 12441 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 |
14361 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6; } | 12442 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6 |
14362 if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then | 12443 if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then |
14363 HAVE_JPEG=yes | 12444 HAVE_JPEG=yes |
14364 fi | 12445 fi |
14365 | 12446 |
14366 fi | 12447 fi |
14409 | 12490 |
14410 | 12491 |
14411 for ac_header in png.h libpng/png.h | 12492 for ac_header in png.h libpng/png.h |
14412 do | 12493 do |
14413 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 12494 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
14414 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 12495 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
14415 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 12496 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
14416 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 12497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
14417 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 12498 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
14418 echo $ECHO_N "(cached) $ECHO_C" >&6 | 12499 echo $ECHO_N "(cached) $ECHO_C" >&6 |
14419 fi | 12500 fi |
14420 ac_res=`eval echo '${'$as_ac_Header'}'` | 12501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
14421 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 12502 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
14422 echo "${ECHO_T}$ac_res" >&6; } | |
14423 else | 12503 else |
14424 # Is the header compilable? | 12504 # Is the header compilable? |
14425 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 12505 echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
14426 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | 12506 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
14427 cat >conftest.$ac_ext <<_ACEOF | 12507 cat >conftest.$ac_ext <<_ACEOF |
14428 /* confdefs.h. */ | 12508 /* confdefs.h. */ |
14429 _ACEOF | 12509 _ACEOF |
14430 cat confdefs.h >>conftest.$ac_ext | 12510 cat confdefs.h >>conftest.$ac_ext |
14431 cat >>conftest.$ac_ext <<_ACEOF | 12511 cat >>conftest.$ac_ext <<_ACEOF |
14432 /* end confdefs.h. */ | 12512 /* end confdefs.h. */ |
14433 $ac_includes_default | 12513 $ac_includes_default |
14434 #include <$ac_header> | 12514 #include <$ac_header> |
14435 _ACEOF | 12515 _ACEOF |
14436 rm -f conftest.$ac_objext | 12516 rm -f conftest.$ac_objext |
14437 if { (ac_try="$ac_compile" | 12517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
14438 case "(($ac_try" in | 12518 (eval $ac_compile) 2>conftest.er1 |
14439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14440 *) ac_try_echo=$ac_try;; | |
14441 esac | |
14442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14443 (eval "$ac_compile") 2>conftest.er1 | |
14444 ac_status=$? | 12519 ac_status=$? |
14445 grep -v '^ *+' conftest.er1 >conftest.err | 12520 grep -v '^ *+' conftest.er1 >conftest.err |
14446 rm -f conftest.er1 | 12521 rm -f conftest.er1 |
14447 cat conftest.err >&5 | 12522 cat conftest.err >&5 |
14448 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12523 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14449 (exit $ac_status); } && | 12524 (exit $ac_status); } && |
14450 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 12525 { ac_try='test -z "$ac_c_werror_flag" |
14451 { (case "(($ac_try" in | 12526 || test ! -s conftest.err' |
14452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 12527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14453 *) ac_try_echo=$ac_try;; | 12528 (eval $ac_try) 2>&5 |
14454 esac | |
14455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14456 (eval "$ac_try") 2>&5 | |
14457 ac_status=$? | 12529 ac_status=$? |
14458 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12530 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14459 (exit $ac_status); }; } && | 12531 (exit $ac_status); }; } && |
14460 { ac_try='test -s conftest.$ac_objext' | 12532 { ac_try='test -s conftest.$ac_objext' |
14461 { (case "(($ac_try" in | 12533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 12534 (eval $ac_try) 2>&5 |
14463 *) ac_try_echo=$ac_try;; | |
14464 esac | |
14465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14466 (eval "$ac_try") 2>&5 | |
14467 ac_status=$? | 12535 ac_status=$? |
14468 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12536 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14469 (exit $ac_status); }; }; then | 12537 (exit $ac_status); }; }; then |
14470 ac_header_compiler=yes | 12538 ac_header_compiler=yes |
14471 else | 12539 else |
14472 echo "$as_me: failed program was:" >&5 | 12540 echo "$as_me: failed program was:" >&5 |
14473 sed 's/^/| /' conftest.$ac_ext >&5 | 12541 sed 's/^/| /' conftest.$ac_ext >&5 |
14474 | 12542 |
14475 ac_header_compiler=no | 12543 ac_header_compiler=no |
14476 fi | 12544 fi |
14477 | 12545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
14478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 12546 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
14479 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 12547 echo "${ECHO_T}$ac_header_compiler" >&6 |
14480 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
14481 | 12548 |
14482 # Is the header present? | 12549 # Is the header present? |
14483 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 12550 echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
14484 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | 12551 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
14485 cat >conftest.$ac_ext <<_ACEOF | 12552 cat >conftest.$ac_ext <<_ACEOF |
14486 /* confdefs.h. */ | 12553 /* confdefs.h. */ |
14487 _ACEOF | 12554 _ACEOF |
14488 cat confdefs.h >>conftest.$ac_ext | 12555 cat confdefs.h >>conftest.$ac_ext |
14489 cat >>conftest.$ac_ext <<_ACEOF | 12556 cat >>conftest.$ac_ext <<_ACEOF |
14490 /* end confdefs.h. */ | 12557 /* end confdefs.h. */ |
14491 #include <$ac_header> | 12558 #include <$ac_header> |
14492 _ACEOF | 12559 _ACEOF |
14493 if { (ac_try="$ac_cpp conftest.$ac_ext" | 12560 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
14494 case "(($ac_try" in | 12561 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
14495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14496 *) ac_try_echo=$ac_try;; | |
14497 esac | |
14498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14499 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
14500 ac_status=$? | 12562 ac_status=$? |
14501 grep -v '^ *+' conftest.er1 >conftest.err | 12563 grep -v '^ *+' conftest.er1 >conftest.err |
14502 rm -f conftest.er1 | 12564 rm -f conftest.er1 |
14503 cat conftest.err >&5 | 12565 cat conftest.err >&5 |
14504 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12566 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14518 echo "$as_me: failed program was:" >&5 | 12580 echo "$as_me: failed program was:" >&5 |
14519 sed 's/^/| /' conftest.$ac_ext >&5 | 12581 sed 's/^/| /' conftest.$ac_ext >&5 |
14520 | 12582 |
14521 ac_header_preproc=no | 12583 ac_header_preproc=no |
14522 fi | 12584 fi |
14523 | |
14524 rm -f conftest.err conftest.$ac_ext | 12585 rm -f conftest.err conftest.$ac_ext |
14525 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 12586 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
14526 echo "${ECHO_T}$ac_header_preproc" >&6; } | 12587 echo "${ECHO_T}$ac_header_preproc" >&6 |
14527 | 12588 |
14528 # So? What about this header? | 12589 # So? What about this header? |
14529 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 12590 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
14530 yes:no: ) | 12591 yes:no: ) |
14531 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 12592 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
14545 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | 12606 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
14546 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 12607 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
14547 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 12608 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
14548 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 12609 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
14549 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 12610 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
14550 | 12611 ( |
12612 cat <<\_ASBOX | |
12613 ## ------------------------------------------ ## | |
12614 ## Report this to the AC_PACKAGE_NAME lists. ## | |
12615 ## ------------------------------------------ ## | |
12616 _ASBOX | |
12617 ) | | |
12618 sed "s/^/$as_me: WARNING: /" >&2 | |
14551 ;; | 12619 ;; |
14552 esac | 12620 esac |
14553 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 12621 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
14554 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 12622 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
14555 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 12623 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
14556 echo $ECHO_N "(cached) $ECHO_C" >&6 | 12624 echo $ECHO_N "(cached) $ECHO_C" >&6 |
14557 else | 12625 else |
14558 eval "$as_ac_Header=\$ac_header_preproc" | 12626 eval "$as_ac_Header=\$ac_header_preproc" |
14559 fi | 12627 fi |
14560 ac_res=`eval echo '${'$as_ac_Header'}'` | 12628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
14561 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 12629 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
14562 echo "${ECHO_T}$ac_res" >&6; } | |
14563 | 12630 |
14564 fi | 12631 fi |
14565 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 12632 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
14566 cat >>confdefs.h <<_ACEOF | 12633 cat >>confdefs.h <<_ACEOF |
14567 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 12634 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
14570 fi | 12637 fi |
14571 | 12638 |
14572 done | 12639 done |
14573 | 12640 |
14574 if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then | 12641 if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then |
14575 { echo "$as_me:$LINENO: checking for png_get_channels in -lpng" >&5 | 12642 echo "$as_me:$LINENO: checking for png_get_channels in -lpng" >&5 |
14576 echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6; } | 12643 echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6 |
14577 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then | 12644 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then |
14578 echo $ECHO_N "(cached) $ECHO_C" >&6 | 12645 echo $ECHO_N "(cached) $ECHO_C" >&6 |
14579 else | 12646 else |
14580 ac_check_lib_save_LIBS=$LIBS | 12647 ac_check_lib_save_LIBS=$LIBS |
14581 LIBS="-lpng -lz -lm $LIBS" | 12648 LIBS="-lpng -lz -lm $LIBS" |
14584 _ACEOF | 12651 _ACEOF |
14585 cat confdefs.h >>conftest.$ac_ext | 12652 cat confdefs.h >>conftest.$ac_ext |
14586 cat >>conftest.$ac_ext <<_ACEOF | 12653 cat >>conftest.$ac_ext <<_ACEOF |
14587 /* end confdefs.h. */ | 12654 /* end confdefs.h. */ |
14588 | 12655 |
14589 /* Override any GCC internal prototype to avoid an error. | 12656 /* Override any gcc2 internal prototype to avoid an error. */ |
14590 Use char because int might match the return type of a GCC | |
14591 builtin and then its argument prototype would still apply. */ | |
14592 #ifdef __cplusplus | 12657 #ifdef __cplusplus |
14593 extern "C" | 12658 extern "C" |
14594 #endif | 12659 #endif |
12660 /* We use char because int might match the return type of a gcc2 | |
12661 builtin and then its argument prototype would still apply. */ | |
14595 char png_get_channels (); | 12662 char png_get_channels (); |
14596 int | 12663 int |
14597 main () | 12664 main () |
14598 { | 12665 { |
14599 return png_get_channels (); | 12666 png_get_channels (); |
14600 ; | 12667 ; |
14601 return 0; | 12668 return 0; |
14602 } | 12669 } |
14603 _ACEOF | 12670 _ACEOF |
14604 rm -f conftest.$ac_objext conftest$ac_exeext | 12671 rm -f conftest.$ac_objext conftest$ac_exeext |
14605 if { (ac_try="$ac_link" | 12672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
14606 case "(($ac_try" in | 12673 (eval $ac_link) 2>conftest.er1 |
14607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14608 *) ac_try_echo=$ac_try;; | |
14609 esac | |
14610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14611 (eval "$ac_link") 2>conftest.er1 | |
14612 ac_status=$? | 12674 ac_status=$? |
14613 grep -v '^ *+' conftest.er1 >conftest.err | 12675 grep -v '^ *+' conftest.er1 >conftest.err |
14614 rm -f conftest.er1 | 12676 rm -f conftest.er1 |
14615 cat conftest.err >&5 | 12677 cat conftest.err >&5 |
14616 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12678 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14617 (exit $ac_status); } && | 12679 (exit $ac_status); } && |
14618 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 12680 { ac_try='test -z "$ac_c_werror_flag" |
14619 { (case "(($ac_try" in | 12681 || test ! -s conftest.err' |
14620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 12682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14621 *) ac_try_echo=$ac_try;; | 12683 (eval $ac_try) 2>&5 |
14622 esac | |
14623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14624 (eval "$ac_try") 2>&5 | |
14625 ac_status=$? | 12684 ac_status=$? |
14626 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12685 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14627 (exit $ac_status); }; } && | 12686 (exit $ac_status); }; } && |
14628 { ac_try='test -s conftest$ac_exeext' | 12687 { ac_try='test -s conftest$ac_exeext' |
14629 { (case "(($ac_try" in | 12688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 12689 (eval $ac_try) 2>&5 |
14631 *) ac_try_echo=$ac_try;; | |
14632 esac | |
14633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14634 (eval "$ac_try") 2>&5 | |
14635 ac_status=$? | 12690 ac_status=$? |
14636 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12691 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14637 (exit $ac_status); }; }; then | 12692 (exit $ac_status); }; }; then |
14638 ac_cv_lib_png_png_get_channels=yes | 12693 ac_cv_lib_png_png_get_channels=yes |
14639 else | 12694 else |
14640 echo "$as_me: failed program was:" >&5 | 12695 echo "$as_me: failed program was:" >&5 |
14641 sed 's/^/| /' conftest.$ac_ext >&5 | 12696 sed 's/^/| /' conftest.$ac_ext >&5 |
14642 | 12697 |
14643 ac_cv_lib_png_png_get_channels=no | 12698 ac_cv_lib_png_png_get_channels=no |
14644 fi | 12699 fi |
14645 | 12700 rm -f conftest.err conftest.$ac_objext \ |
14646 rm -f core conftest.err conftest.$ac_objext \ | |
14647 conftest$ac_exeext conftest.$ac_ext | 12701 conftest$ac_exeext conftest.$ac_ext |
14648 LIBS=$ac_check_lib_save_LIBS | 12702 LIBS=$ac_check_lib_save_LIBS |
14649 fi | 12703 fi |
14650 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_get_channels" >&5 | 12704 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_get_channels" >&5 |
14651 echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6; } | 12705 echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6 |
14652 if test $ac_cv_lib_png_png_get_channels = yes; then | 12706 if test $ac_cv_lib_png_png_get_channels = yes; then |
14653 HAVE_PNG=yes | 12707 HAVE_PNG=yes |
14654 fi | 12708 fi |
14655 | 12709 |
14656 fi | 12710 fi |
14668 ### Use -ltiff if available, unless `--with-tiff=no'. | 12722 ### Use -ltiff if available, unless `--with-tiff=no'. |
14669 HAVE_TIFF=no | 12723 HAVE_TIFF=no |
14670 if test "${HAVE_X11}" = "yes"; then | 12724 if test "${HAVE_X11}" = "yes"; then |
14671 if test "${with_tiff}" != "no"; then | 12725 if test "${with_tiff}" != "no"; then |
14672 if test "${ac_cv_header_tiffio_h+set}" = set; then | 12726 if test "${ac_cv_header_tiffio_h+set}" = set; then |
14673 { echo "$as_me:$LINENO: checking for tiffio.h" >&5 | 12727 echo "$as_me:$LINENO: checking for tiffio.h" >&5 |
14674 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; } | 12728 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6 |
14675 if test "${ac_cv_header_tiffio_h+set}" = set; then | 12729 if test "${ac_cv_header_tiffio_h+set}" = set; then |
14676 echo $ECHO_N "(cached) $ECHO_C" >&6 | 12730 echo $ECHO_N "(cached) $ECHO_C" >&6 |
14677 fi | 12731 fi |
14678 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5 | 12732 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5 |
14679 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; } | 12733 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6 |
14680 else | 12734 else |
14681 # Is the header compilable? | 12735 # Is the header compilable? |
14682 { echo "$as_me:$LINENO: checking tiffio.h usability" >&5 | 12736 echo "$as_me:$LINENO: checking tiffio.h usability" >&5 |
14683 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6; } | 12737 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6 |
14684 cat >conftest.$ac_ext <<_ACEOF | 12738 cat >conftest.$ac_ext <<_ACEOF |
14685 /* confdefs.h. */ | 12739 /* confdefs.h. */ |
14686 _ACEOF | 12740 _ACEOF |
14687 cat confdefs.h >>conftest.$ac_ext | 12741 cat confdefs.h >>conftest.$ac_ext |
14688 cat >>conftest.$ac_ext <<_ACEOF | 12742 cat >>conftest.$ac_ext <<_ACEOF |
14689 /* end confdefs.h. */ | 12743 /* end confdefs.h. */ |
14690 $ac_includes_default | 12744 $ac_includes_default |
14691 #include <tiffio.h> | 12745 #include <tiffio.h> |
14692 _ACEOF | 12746 _ACEOF |
14693 rm -f conftest.$ac_objext | 12747 rm -f conftest.$ac_objext |
14694 if { (ac_try="$ac_compile" | 12748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
14695 case "(($ac_try" in | 12749 (eval $ac_compile) 2>conftest.er1 |
14696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14697 *) ac_try_echo=$ac_try;; | |
14698 esac | |
14699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14700 (eval "$ac_compile") 2>conftest.er1 | |
14701 ac_status=$? | 12750 ac_status=$? |
14702 grep -v '^ *+' conftest.er1 >conftest.err | 12751 grep -v '^ *+' conftest.er1 >conftest.err |
14703 rm -f conftest.er1 | 12752 rm -f conftest.er1 |
14704 cat conftest.err >&5 | 12753 cat conftest.err >&5 |
14705 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12754 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14706 (exit $ac_status); } && | 12755 (exit $ac_status); } && |
14707 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 12756 { ac_try='test -z "$ac_c_werror_flag" |
14708 { (case "(($ac_try" in | 12757 || test ! -s conftest.err' |
14709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 12758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14710 *) ac_try_echo=$ac_try;; | 12759 (eval $ac_try) 2>&5 |
14711 esac | |
14712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14713 (eval "$ac_try") 2>&5 | |
14714 ac_status=$? | 12760 ac_status=$? |
14715 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12761 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14716 (exit $ac_status); }; } && | 12762 (exit $ac_status); }; } && |
14717 { ac_try='test -s conftest.$ac_objext' | 12763 { ac_try='test -s conftest.$ac_objext' |
14718 { (case "(($ac_try" in | 12764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 12765 (eval $ac_try) 2>&5 |
14720 *) ac_try_echo=$ac_try;; | |
14721 esac | |
14722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14723 (eval "$ac_try") 2>&5 | |
14724 ac_status=$? | 12766 ac_status=$? |
14725 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12767 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14726 (exit $ac_status); }; }; then | 12768 (exit $ac_status); }; }; then |
14727 ac_header_compiler=yes | 12769 ac_header_compiler=yes |
14728 else | 12770 else |
14729 echo "$as_me: failed program was:" >&5 | 12771 echo "$as_me: failed program was:" >&5 |
14730 sed 's/^/| /' conftest.$ac_ext >&5 | 12772 sed 's/^/| /' conftest.$ac_ext >&5 |
14731 | 12773 |
14732 ac_header_compiler=no | 12774 ac_header_compiler=no |
14733 fi | 12775 fi |
14734 | 12776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
14735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 12777 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
14736 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 12778 echo "${ECHO_T}$ac_header_compiler" >&6 |
14737 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
14738 | 12779 |
14739 # Is the header present? | 12780 # Is the header present? |
14740 { echo "$as_me:$LINENO: checking tiffio.h presence" >&5 | 12781 echo "$as_me:$LINENO: checking tiffio.h presence" >&5 |
14741 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6; } | 12782 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6 |
14742 cat >conftest.$ac_ext <<_ACEOF | 12783 cat >conftest.$ac_ext <<_ACEOF |
14743 /* confdefs.h. */ | 12784 /* confdefs.h. */ |
14744 _ACEOF | 12785 _ACEOF |
14745 cat confdefs.h >>conftest.$ac_ext | 12786 cat confdefs.h >>conftest.$ac_ext |
14746 cat >>conftest.$ac_ext <<_ACEOF | 12787 cat >>conftest.$ac_ext <<_ACEOF |
14747 /* end confdefs.h. */ | 12788 /* end confdefs.h. */ |
14748 #include <tiffio.h> | 12789 #include <tiffio.h> |
14749 _ACEOF | 12790 _ACEOF |
14750 if { (ac_try="$ac_cpp conftest.$ac_ext" | 12791 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
14751 case "(($ac_try" in | 12792 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
14752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14753 *) ac_try_echo=$ac_try;; | |
14754 esac | |
14755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14756 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
14757 ac_status=$? | 12793 ac_status=$? |
14758 grep -v '^ *+' conftest.er1 >conftest.err | 12794 grep -v '^ *+' conftest.er1 >conftest.err |
14759 rm -f conftest.er1 | 12795 rm -f conftest.er1 |
14760 cat conftest.err >&5 | 12796 cat conftest.err >&5 |
14761 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12797 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14775 echo "$as_me: failed program was:" >&5 | 12811 echo "$as_me: failed program was:" >&5 |
14776 sed 's/^/| /' conftest.$ac_ext >&5 | 12812 sed 's/^/| /' conftest.$ac_ext >&5 |
14777 | 12813 |
14778 ac_header_preproc=no | 12814 ac_header_preproc=no |
14779 fi | 12815 fi |
14780 | |
14781 rm -f conftest.err conftest.$ac_ext | 12816 rm -f conftest.err conftest.$ac_ext |
14782 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 12817 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
14783 echo "${ECHO_T}$ac_header_preproc" >&6; } | 12818 echo "${ECHO_T}$ac_header_preproc" >&6 |
14784 | 12819 |
14785 # So? What about this header? | 12820 # So? What about this header? |
14786 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 12821 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
14787 yes:no: ) | 12822 yes:no: ) |
14788 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5 | 12823 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
14802 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;} | 12837 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;} |
14803 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5 | 12838 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5 |
14804 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;} | 12839 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;} |
14805 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5 | 12840 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5 |
14806 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;} | 12841 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;} |
14807 | 12842 ( |
12843 cat <<\_ASBOX | |
12844 ## ------------------------------------------ ## | |
12845 ## Report this to the AC_PACKAGE_NAME lists. ## | |
12846 ## ------------------------------------------ ## | |
12847 _ASBOX | |
12848 ) | | |
12849 sed "s/^/$as_me: WARNING: /" >&2 | |
14808 ;; | 12850 ;; |
14809 esac | 12851 esac |
14810 { echo "$as_me:$LINENO: checking for tiffio.h" >&5 | 12852 echo "$as_me:$LINENO: checking for tiffio.h" >&5 |
14811 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; } | 12853 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6 |
14812 if test "${ac_cv_header_tiffio_h+set}" = set; then | 12854 if test "${ac_cv_header_tiffio_h+set}" = set; then |
14813 echo $ECHO_N "(cached) $ECHO_C" >&6 | 12855 echo $ECHO_N "(cached) $ECHO_C" >&6 |
14814 else | 12856 else |
14815 ac_cv_header_tiffio_h=$ac_header_preproc | 12857 ac_cv_header_tiffio_h=$ac_header_preproc |
14816 fi | 12858 fi |
14817 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5 | 12859 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5 |
14818 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; } | 12860 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6 |
14819 | 12861 |
14820 fi | 12862 fi |
14821 if test $ac_cv_header_tiffio_h = yes; then | 12863 if test $ac_cv_header_tiffio_h = yes; then |
14822 tifflibs="-lz -lm" | 12864 tifflibs="-lz -lm" |
14823 # At least one tiff package requires the jpeg library. | 12865 # At least one tiff package requires the jpeg library. |
14824 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi | 12866 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi |
14825 { echo "$as_me:$LINENO: checking for TIFFGetVersion in -ltiff" >&5 | 12867 echo "$as_me:$LINENO: checking for TIFFGetVersion in -ltiff" >&5 |
14826 echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6; } | 12868 echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6 |
14827 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then | 12869 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then |
14828 echo $ECHO_N "(cached) $ECHO_C" >&6 | 12870 echo $ECHO_N "(cached) $ECHO_C" >&6 |
14829 else | 12871 else |
14830 ac_check_lib_save_LIBS=$LIBS | 12872 ac_check_lib_save_LIBS=$LIBS |
14831 LIBS="-ltiff $tifflibs $LIBS" | 12873 LIBS="-ltiff $tifflibs $LIBS" |
14834 _ACEOF | 12876 _ACEOF |
14835 cat confdefs.h >>conftest.$ac_ext | 12877 cat confdefs.h >>conftest.$ac_ext |
14836 cat >>conftest.$ac_ext <<_ACEOF | 12878 cat >>conftest.$ac_ext <<_ACEOF |
14837 /* end confdefs.h. */ | 12879 /* end confdefs.h. */ |
14838 | 12880 |
14839 /* Override any GCC internal prototype to avoid an error. | 12881 /* Override any gcc2 internal prototype to avoid an error. */ |
14840 Use char because int might match the return type of a GCC | |
14841 builtin and then its argument prototype would still apply. */ | |
14842 #ifdef __cplusplus | 12882 #ifdef __cplusplus |
14843 extern "C" | 12883 extern "C" |
14844 #endif | 12884 #endif |
12885 /* We use char because int might match the return type of a gcc2 | |
12886 builtin and then its argument prototype would still apply. */ | |
14845 char TIFFGetVersion (); | 12887 char TIFFGetVersion (); |
14846 int | 12888 int |
14847 main () | 12889 main () |
14848 { | 12890 { |
14849 return TIFFGetVersion (); | 12891 TIFFGetVersion (); |
14850 ; | 12892 ; |
14851 return 0; | 12893 return 0; |
14852 } | 12894 } |
14853 _ACEOF | 12895 _ACEOF |
14854 rm -f conftest.$ac_objext conftest$ac_exeext | 12896 rm -f conftest.$ac_objext conftest$ac_exeext |
14855 if { (ac_try="$ac_link" | 12897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
14856 case "(($ac_try" in | 12898 (eval $ac_link) 2>conftest.er1 |
14857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14858 *) ac_try_echo=$ac_try;; | |
14859 esac | |
14860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14861 (eval "$ac_link") 2>conftest.er1 | |
14862 ac_status=$? | 12899 ac_status=$? |
14863 grep -v '^ *+' conftest.er1 >conftest.err | 12900 grep -v '^ *+' conftest.er1 >conftest.err |
14864 rm -f conftest.er1 | 12901 rm -f conftest.er1 |
14865 cat conftest.err >&5 | 12902 cat conftest.err >&5 |
14866 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12903 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14867 (exit $ac_status); } && | 12904 (exit $ac_status); } && |
14868 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 12905 { ac_try='test -z "$ac_c_werror_flag" |
14869 { (case "(($ac_try" in | 12906 || test ! -s conftest.err' |
14870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 12907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14871 *) ac_try_echo=$ac_try;; | 12908 (eval $ac_try) 2>&5 |
14872 esac | |
14873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14874 (eval "$ac_try") 2>&5 | |
14875 ac_status=$? | 12909 ac_status=$? |
14876 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12910 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14877 (exit $ac_status); }; } && | 12911 (exit $ac_status); }; } && |
14878 { ac_try='test -s conftest$ac_exeext' | 12912 { ac_try='test -s conftest$ac_exeext' |
14879 { (case "(($ac_try" in | 12913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 12914 (eval $ac_try) 2>&5 |
14881 *) ac_try_echo=$ac_try;; | |
14882 esac | |
14883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14884 (eval "$ac_try") 2>&5 | |
14885 ac_status=$? | 12915 ac_status=$? |
14886 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12916 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14887 (exit $ac_status); }; }; then | 12917 (exit $ac_status); }; }; then |
14888 ac_cv_lib_tiff_TIFFGetVersion=yes | 12918 ac_cv_lib_tiff_TIFFGetVersion=yes |
14889 else | 12919 else |
14890 echo "$as_me: failed program was:" >&5 | 12920 echo "$as_me: failed program was:" >&5 |
14891 sed 's/^/| /' conftest.$ac_ext >&5 | 12921 sed 's/^/| /' conftest.$ac_ext >&5 |
14892 | 12922 |
14893 ac_cv_lib_tiff_TIFFGetVersion=no | 12923 ac_cv_lib_tiff_TIFFGetVersion=no |
14894 fi | 12924 fi |
14895 | 12925 rm -f conftest.err conftest.$ac_objext \ |
14896 rm -f core conftest.err conftest.$ac_objext \ | |
14897 conftest$ac_exeext conftest.$ac_ext | 12926 conftest$ac_exeext conftest.$ac_ext |
14898 LIBS=$ac_check_lib_save_LIBS | 12927 LIBS=$ac_check_lib_save_LIBS |
14899 fi | 12928 fi |
14900 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 | 12929 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 |
14901 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6; } | 12930 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6 |
14902 if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then | 12931 if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then |
14903 HAVE_TIFF=yes | 12932 HAVE_TIFF=yes |
14904 fi | 12933 fi |
14905 | 12934 |
14906 fi | 12935 fi |
14920 ### Use -lgif if available, unless `--with-gif=no'. | 12949 ### Use -lgif if available, unless `--with-gif=no'. |
14921 HAVE_GIF=no | 12950 HAVE_GIF=no |
14922 if test "${HAVE_X11}" = "yes"; then | 12951 if test "${HAVE_X11}" = "yes"; then |
14923 if test "${with_gif}" != "no"; then | 12952 if test "${with_gif}" != "no"; then |
14924 if test "${ac_cv_header_gif_lib_h+set}" = set; then | 12953 if test "${ac_cv_header_gif_lib_h+set}" = set; then |
14925 { echo "$as_me:$LINENO: checking for gif_lib.h" >&5 | 12954 echo "$as_me:$LINENO: checking for gif_lib.h" >&5 |
14926 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6; } | 12955 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6 |
14927 if test "${ac_cv_header_gif_lib_h+set}" = set; then | 12956 if test "${ac_cv_header_gif_lib_h+set}" = set; then |
14928 echo $ECHO_N "(cached) $ECHO_C" >&6 | 12957 echo $ECHO_N "(cached) $ECHO_C" >&6 |
14929 fi | 12958 fi |
14930 { echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5 | 12959 echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5 |
14931 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6; } | 12960 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6 |
14932 else | 12961 else |
14933 # Is the header compilable? | 12962 # Is the header compilable? |
14934 { echo "$as_me:$LINENO: checking gif_lib.h usability" >&5 | 12963 echo "$as_me:$LINENO: checking gif_lib.h usability" >&5 |
14935 echo $ECHO_N "checking gif_lib.h usability... $ECHO_C" >&6; } | 12964 echo $ECHO_N "checking gif_lib.h usability... $ECHO_C" >&6 |
14936 cat >conftest.$ac_ext <<_ACEOF | 12965 cat >conftest.$ac_ext <<_ACEOF |
14937 /* confdefs.h. */ | 12966 /* confdefs.h. */ |
14938 _ACEOF | 12967 _ACEOF |
14939 cat confdefs.h >>conftest.$ac_ext | 12968 cat confdefs.h >>conftest.$ac_ext |
14940 cat >>conftest.$ac_ext <<_ACEOF | 12969 cat >>conftest.$ac_ext <<_ACEOF |
14941 /* end confdefs.h. */ | 12970 /* end confdefs.h. */ |
14942 $ac_includes_default | 12971 $ac_includes_default |
14943 #include <gif_lib.h> | 12972 #include <gif_lib.h> |
14944 _ACEOF | 12973 _ACEOF |
14945 rm -f conftest.$ac_objext | 12974 rm -f conftest.$ac_objext |
14946 if { (ac_try="$ac_compile" | 12975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
14947 case "(($ac_try" in | 12976 (eval $ac_compile) 2>conftest.er1 |
14948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14949 *) ac_try_echo=$ac_try;; | |
14950 esac | |
14951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14952 (eval "$ac_compile") 2>conftest.er1 | |
14953 ac_status=$? | 12977 ac_status=$? |
14954 grep -v '^ *+' conftest.er1 >conftest.err | 12978 grep -v '^ *+' conftest.er1 >conftest.err |
14955 rm -f conftest.er1 | 12979 rm -f conftest.er1 |
14956 cat conftest.err >&5 | 12980 cat conftest.err >&5 |
14957 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12981 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14958 (exit $ac_status); } && | 12982 (exit $ac_status); } && |
14959 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 12983 { ac_try='test -z "$ac_c_werror_flag" |
14960 { (case "(($ac_try" in | 12984 || test ! -s conftest.err' |
14961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 12985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14962 *) ac_try_echo=$ac_try;; | 12986 (eval $ac_try) 2>&5 |
14963 esac | |
14964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14965 (eval "$ac_try") 2>&5 | |
14966 ac_status=$? | 12987 ac_status=$? |
14967 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12988 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14968 (exit $ac_status); }; } && | 12989 (exit $ac_status); }; } && |
14969 { ac_try='test -s conftest.$ac_objext' | 12990 { ac_try='test -s conftest.$ac_objext' |
14970 { (case "(($ac_try" in | 12991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 12992 (eval $ac_try) 2>&5 |
14972 *) ac_try_echo=$ac_try;; | |
14973 esac | |
14974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14975 (eval "$ac_try") 2>&5 | |
14976 ac_status=$? | 12993 ac_status=$? |
14977 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12994 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14978 (exit $ac_status); }; }; then | 12995 (exit $ac_status); }; }; then |
14979 ac_header_compiler=yes | 12996 ac_header_compiler=yes |
14980 else | 12997 else |
14981 echo "$as_me: failed program was:" >&5 | 12998 echo "$as_me: failed program was:" >&5 |
14982 sed 's/^/| /' conftest.$ac_ext >&5 | 12999 sed 's/^/| /' conftest.$ac_ext >&5 |
14983 | 13000 |
14984 ac_header_compiler=no | 13001 ac_header_compiler=no |
14985 fi | 13002 fi |
14986 | 13003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
14987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 13004 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
14988 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 13005 echo "${ECHO_T}$ac_header_compiler" >&6 |
14989 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
14990 | 13006 |
14991 # Is the header present? | 13007 # Is the header present? |
14992 { echo "$as_me:$LINENO: checking gif_lib.h presence" >&5 | 13008 echo "$as_me:$LINENO: checking gif_lib.h presence" >&5 |
14993 echo $ECHO_N "checking gif_lib.h presence... $ECHO_C" >&6; } | 13009 echo $ECHO_N "checking gif_lib.h presence... $ECHO_C" >&6 |
14994 cat >conftest.$ac_ext <<_ACEOF | 13010 cat >conftest.$ac_ext <<_ACEOF |
14995 /* confdefs.h. */ | 13011 /* confdefs.h. */ |
14996 _ACEOF | 13012 _ACEOF |
14997 cat confdefs.h >>conftest.$ac_ext | 13013 cat confdefs.h >>conftest.$ac_ext |
14998 cat >>conftest.$ac_ext <<_ACEOF | 13014 cat >>conftest.$ac_ext <<_ACEOF |
14999 /* end confdefs.h. */ | 13015 /* end confdefs.h. */ |
15000 #include <gif_lib.h> | 13016 #include <gif_lib.h> |
15001 _ACEOF | 13017 _ACEOF |
15002 if { (ac_try="$ac_cpp conftest.$ac_ext" | 13018 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
15003 case "(($ac_try" in | 13019 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
15004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15005 *) ac_try_echo=$ac_try;; | |
15006 esac | |
15007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15008 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
15009 ac_status=$? | 13020 ac_status=$? |
15010 grep -v '^ *+' conftest.er1 >conftest.err | 13021 grep -v '^ *+' conftest.er1 >conftest.err |
15011 rm -f conftest.er1 | 13022 rm -f conftest.er1 |
15012 cat conftest.err >&5 | 13023 cat conftest.err >&5 |
15013 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13024 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15027 echo "$as_me: failed program was:" >&5 | 13038 echo "$as_me: failed program was:" >&5 |
15028 sed 's/^/| /' conftest.$ac_ext >&5 | 13039 sed 's/^/| /' conftest.$ac_ext >&5 |
15029 | 13040 |
15030 ac_header_preproc=no | 13041 ac_header_preproc=no |
15031 fi | 13042 fi |
15032 | |
15033 rm -f conftest.err conftest.$ac_ext | 13043 rm -f conftest.err conftest.$ac_ext |
15034 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 13044 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
15035 echo "${ECHO_T}$ac_header_preproc" >&6; } | 13045 echo "${ECHO_T}$ac_header_preproc" >&6 |
15036 | 13046 |
15037 # So? What about this header? | 13047 # So? What about this header? |
15038 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 13048 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
15039 yes:no: ) | 13049 yes:no: ) |
15040 { echo "$as_me:$LINENO: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&5 | 13050 { echo "$as_me:$LINENO: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
15054 echo "$as_me: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&2;} | 13064 echo "$as_me: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&2;} |
15055 { echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&5 | 13065 { echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&5 |
15056 echo "$as_me: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&2;} | 13066 echo "$as_me: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&2;} |
15057 { echo "$as_me:$LINENO: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&5 | 13067 { echo "$as_me:$LINENO: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&5 |
15058 echo "$as_me: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&2;} | 13068 echo "$as_me: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&2;} |
15059 | 13069 ( |
13070 cat <<\_ASBOX | |
13071 ## ------------------------------------------ ## | |
13072 ## Report this to the AC_PACKAGE_NAME lists. ## | |
13073 ## ------------------------------------------ ## | |
13074 _ASBOX | |
13075 ) | | |
13076 sed "s/^/$as_me: WARNING: /" >&2 | |
15060 ;; | 13077 ;; |
15061 esac | 13078 esac |
15062 { echo "$as_me:$LINENO: checking for gif_lib.h" >&5 | 13079 echo "$as_me:$LINENO: checking for gif_lib.h" >&5 |
15063 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6; } | 13080 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6 |
15064 if test "${ac_cv_header_gif_lib_h+set}" = set; then | 13081 if test "${ac_cv_header_gif_lib_h+set}" = set; then |
15065 echo $ECHO_N "(cached) $ECHO_C" >&6 | 13082 echo $ECHO_N "(cached) $ECHO_C" >&6 |
15066 else | 13083 else |
15067 ac_cv_header_gif_lib_h=$ac_header_preproc | 13084 ac_cv_header_gif_lib_h=$ac_header_preproc |
15068 fi | 13085 fi |
15069 { echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5 | 13086 echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5 |
15070 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6; } | 13087 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6 |
15071 | 13088 |
15072 fi | 13089 fi |
15073 if test $ac_cv_header_gif_lib_h = yes; then | 13090 if test $ac_cv_header_gif_lib_h = yes; then |
15074 # EGifPutExtensionLast only exists from version libungif-4.1.0b1. | 13091 # EGifPutExtensionLast only exists from version libungif-4.1.0b1. |
15075 # Earlier versions can crash Emacs. | 13092 # Earlier versions can crash Emacs. |
15076 { echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lungif" >&5 | 13093 echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lungif" >&5 |
15077 echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6; } | 13094 echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6 |
15078 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then | 13095 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then |
15079 echo $ECHO_N "(cached) $ECHO_C" >&6 | 13096 echo $ECHO_N "(cached) $ECHO_C" >&6 |
15080 else | 13097 else |
15081 ac_check_lib_save_LIBS=$LIBS | 13098 ac_check_lib_save_LIBS=$LIBS |
15082 LIBS="-lungif $LIBS" | 13099 LIBS="-lungif $LIBS" |
15085 _ACEOF | 13102 _ACEOF |
15086 cat confdefs.h >>conftest.$ac_ext | 13103 cat confdefs.h >>conftest.$ac_ext |
15087 cat >>conftest.$ac_ext <<_ACEOF | 13104 cat >>conftest.$ac_ext <<_ACEOF |
15088 /* end confdefs.h. */ | 13105 /* end confdefs.h. */ |
15089 | 13106 |
15090 /* Override any GCC internal prototype to avoid an error. | 13107 /* Override any gcc2 internal prototype to avoid an error. */ |
15091 Use char because int might match the return type of a GCC | |
15092 builtin and then its argument prototype would still apply. */ | |
15093 #ifdef __cplusplus | 13108 #ifdef __cplusplus |
15094 extern "C" | 13109 extern "C" |
15095 #endif | 13110 #endif |
13111 /* We use char because int might match the return type of a gcc2 | |
13112 builtin and then its argument prototype would still apply. */ | |
15096 char EGifPutExtensionLast (); | 13113 char EGifPutExtensionLast (); |
15097 int | 13114 int |
15098 main () | 13115 main () |
15099 { | 13116 { |
15100 return EGifPutExtensionLast (); | 13117 EGifPutExtensionLast (); |
15101 ; | 13118 ; |
15102 return 0; | 13119 return 0; |
15103 } | 13120 } |
15104 _ACEOF | 13121 _ACEOF |
15105 rm -f conftest.$ac_objext conftest$ac_exeext | 13122 rm -f conftest.$ac_objext conftest$ac_exeext |
15106 if { (ac_try="$ac_link" | 13123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
15107 case "(($ac_try" in | 13124 (eval $ac_link) 2>conftest.er1 |
15108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15109 *) ac_try_echo=$ac_try;; | |
15110 esac | |
15111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15112 (eval "$ac_link") 2>conftest.er1 | |
15113 ac_status=$? | 13125 ac_status=$? |
15114 grep -v '^ *+' conftest.er1 >conftest.err | 13126 grep -v '^ *+' conftest.er1 >conftest.err |
15115 rm -f conftest.er1 | 13127 rm -f conftest.er1 |
15116 cat conftest.err >&5 | 13128 cat conftest.err >&5 |
15117 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13129 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15118 (exit $ac_status); } && | 13130 (exit $ac_status); } && |
15119 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 13131 { ac_try='test -z "$ac_c_werror_flag" |
15120 { (case "(($ac_try" in | 13132 || test ! -s conftest.err' |
15121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 13133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
15122 *) ac_try_echo=$ac_try;; | 13134 (eval $ac_try) 2>&5 |
15123 esac | |
15124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15125 (eval "$ac_try") 2>&5 | |
15126 ac_status=$? | 13135 ac_status=$? |
15127 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13136 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15128 (exit $ac_status); }; } && | 13137 (exit $ac_status); }; } && |
15129 { ac_try='test -s conftest$ac_exeext' | 13138 { ac_try='test -s conftest$ac_exeext' |
15130 { (case "(($ac_try" in | 13139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
15131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 13140 (eval $ac_try) 2>&5 |
15132 *) ac_try_echo=$ac_try;; | |
15133 esac | |
15134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15135 (eval "$ac_try") 2>&5 | |
15136 ac_status=$? | 13141 ac_status=$? |
15137 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13142 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15138 (exit $ac_status); }; }; then | 13143 (exit $ac_status); }; }; then |
15139 ac_cv_lib_ungif_EGifPutExtensionLast=yes | 13144 ac_cv_lib_ungif_EGifPutExtensionLast=yes |
15140 else | 13145 else |
15141 echo "$as_me: failed program was:" >&5 | 13146 echo "$as_me: failed program was:" >&5 |
15142 sed 's/^/| /' conftest.$ac_ext >&5 | 13147 sed 's/^/| /' conftest.$ac_ext >&5 |
15143 | 13148 |
15144 ac_cv_lib_ungif_EGifPutExtensionLast=no | 13149 ac_cv_lib_ungif_EGifPutExtensionLast=no |
15145 fi | 13150 fi |
15146 | 13151 rm -f conftest.err conftest.$ac_objext \ |
15147 rm -f core conftest.err conftest.$ac_objext \ | |
15148 conftest$ac_exeext conftest.$ac_ext | 13152 conftest$ac_exeext conftest.$ac_ext |
15149 LIBS=$ac_check_lib_save_LIBS | 13153 LIBS=$ac_check_lib_save_LIBS |
15150 fi | 13154 fi |
15151 { echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 | 13155 echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 |
15152 echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; } | 13156 echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6 |
15153 if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then | 13157 if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then |
15154 HAVE_GIF=yes | 13158 HAVE_GIF=yes |
15155 fi | 13159 fi |
15156 | 13160 |
15157 fi | 13161 fi |
15167 | 13171 |
15168 fi | 13172 fi |
15169 fi | 13173 fi |
15170 | 13174 |
15171 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then | 13175 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then |
15172 { echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5 | 13176 echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5 |
15173 echo $ECHO_N "checking for malloc/malloc.h... $ECHO_C" >&6; } | 13177 echo $ECHO_N "checking for malloc/malloc.h... $ECHO_C" >&6 |
15174 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then | 13178 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then |
15175 echo $ECHO_N "(cached) $ECHO_C" >&6 | 13179 echo $ECHO_N "(cached) $ECHO_C" >&6 |
15176 fi | 13180 fi |
15177 { echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5 | 13181 echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5 |
15178 echo "${ECHO_T}$ac_cv_header_malloc_malloc_h" >&6; } | 13182 echo "${ECHO_T}$ac_cv_header_malloc_malloc_h" >&6 |
15179 else | 13183 else |
15180 # Is the header compilable? | 13184 # Is the header compilable? |
15181 { echo "$as_me:$LINENO: checking malloc/malloc.h usability" >&5 | 13185 echo "$as_me:$LINENO: checking malloc/malloc.h usability" >&5 |
15182 echo $ECHO_N "checking malloc/malloc.h usability... $ECHO_C" >&6; } | 13186 echo $ECHO_N "checking malloc/malloc.h usability... $ECHO_C" >&6 |
15183 cat >conftest.$ac_ext <<_ACEOF | 13187 cat >conftest.$ac_ext <<_ACEOF |
15184 /* confdefs.h. */ | 13188 /* confdefs.h. */ |
15185 _ACEOF | 13189 _ACEOF |
15186 cat confdefs.h >>conftest.$ac_ext | 13190 cat confdefs.h >>conftest.$ac_ext |
15187 cat >>conftest.$ac_ext <<_ACEOF | 13191 cat >>conftest.$ac_ext <<_ACEOF |
15188 /* end confdefs.h. */ | 13192 /* end confdefs.h. */ |
15189 $ac_includes_default | 13193 $ac_includes_default |
15190 #include <malloc/malloc.h> | 13194 #include <malloc/malloc.h> |
15191 _ACEOF | 13195 _ACEOF |
15192 rm -f conftest.$ac_objext | 13196 rm -f conftest.$ac_objext |
15193 if { (ac_try="$ac_compile" | 13197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
15194 case "(($ac_try" in | 13198 (eval $ac_compile) 2>conftest.er1 |
15195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15196 *) ac_try_echo=$ac_try;; | |
15197 esac | |
15198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15199 (eval "$ac_compile") 2>conftest.er1 | |
15200 ac_status=$? | 13199 ac_status=$? |
15201 grep -v '^ *+' conftest.er1 >conftest.err | 13200 grep -v '^ *+' conftest.er1 >conftest.err |
15202 rm -f conftest.er1 | 13201 rm -f conftest.er1 |
15203 cat conftest.err >&5 | 13202 cat conftest.err >&5 |
15204 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13203 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15205 (exit $ac_status); } && | 13204 (exit $ac_status); } && |
15206 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 13205 { ac_try='test -z "$ac_c_werror_flag" |
15207 { (case "(($ac_try" in | 13206 || test ! -s conftest.err' |
15208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 13207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
15209 *) ac_try_echo=$ac_try;; | 13208 (eval $ac_try) 2>&5 |
15210 esac | |
15211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15212 (eval "$ac_try") 2>&5 | |
15213 ac_status=$? | 13209 ac_status=$? |
15214 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13210 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15215 (exit $ac_status); }; } && | 13211 (exit $ac_status); }; } && |
15216 { ac_try='test -s conftest.$ac_objext' | 13212 { ac_try='test -s conftest.$ac_objext' |
15217 { (case "(($ac_try" in | 13213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
15218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 13214 (eval $ac_try) 2>&5 |
15219 *) ac_try_echo=$ac_try;; | |
15220 esac | |
15221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15222 (eval "$ac_try") 2>&5 | |
15223 ac_status=$? | 13215 ac_status=$? |
15224 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13216 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15225 (exit $ac_status); }; }; then | 13217 (exit $ac_status); }; }; then |
15226 ac_header_compiler=yes | 13218 ac_header_compiler=yes |
15227 else | 13219 else |
15228 echo "$as_me: failed program was:" >&5 | 13220 echo "$as_me: failed program was:" >&5 |
15229 sed 's/^/| /' conftest.$ac_ext >&5 | 13221 sed 's/^/| /' conftest.$ac_ext >&5 |
15230 | 13222 |
15231 ac_header_compiler=no | 13223 ac_header_compiler=no |
15232 fi | 13224 fi |
15233 | 13225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
15234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 13226 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
15235 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 13227 echo "${ECHO_T}$ac_header_compiler" >&6 |
15236 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
15237 | 13228 |
15238 # Is the header present? | 13229 # Is the header present? |
15239 { echo "$as_me:$LINENO: checking malloc/malloc.h presence" >&5 | 13230 echo "$as_me:$LINENO: checking malloc/malloc.h presence" >&5 |
15240 echo $ECHO_N "checking malloc/malloc.h presence... $ECHO_C" >&6; } | 13231 echo $ECHO_N "checking malloc/malloc.h presence... $ECHO_C" >&6 |
15241 cat >conftest.$ac_ext <<_ACEOF | 13232 cat >conftest.$ac_ext <<_ACEOF |
15242 /* confdefs.h. */ | 13233 /* confdefs.h. */ |
15243 _ACEOF | 13234 _ACEOF |
15244 cat confdefs.h >>conftest.$ac_ext | 13235 cat confdefs.h >>conftest.$ac_ext |
15245 cat >>conftest.$ac_ext <<_ACEOF | 13236 cat >>conftest.$ac_ext <<_ACEOF |
15246 /* end confdefs.h. */ | 13237 /* end confdefs.h. */ |
15247 #include <malloc/malloc.h> | 13238 #include <malloc/malloc.h> |
15248 _ACEOF | 13239 _ACEOF |
15249 if { (ac_try="$ac_cpp conftest.$ac_ext" | 13240 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
15250 case "(($ac_try" in | 13241 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
15251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15252 *) ac_try_echo=$ac_try;; | |
15253 esac | |
15254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15255 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
15256 ac_status=$? | 13242 ac_status=$? |
15257 grep -v '^ *+' conftest.er1 >conftest.err | 13243 grep -v '^ *+' conftest.er1 >conftest.err |
15258 rm -f conftest.er1 | 13244 rm -f conftest.er1 |
15259 cat conftest.err >&5 | 13245 cat conftest.err >&5 |
15260 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13246 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15274 echo "$as_me: failed program was:" >&5 | 13260 echo "$as_me: failed program was:" >&5 |
15275 sed 's/^/| /' conftest.$ac_ext >&5 | 13261 sed 's/^/| /' conftest.$ac_ext >&5 |
15276 | 13262 |
15277 ac_header_preproc=no | 13263 ac_header_preproc=no |
15278 fi | 13264 fi |
15279 | |
15280 rm -f conftest.err conftest.$ac_ext | 13265 rm -f conftest.err conftest.$ac_ext |
15281 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 13266 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
15282 echo "${ECHO_T}$ac_header_preproc" >&6; } | 13267 echo "${ECHO_T}$ac_header_preproc" >&6 |
15283 | 13268 |
15284 # So? What about this header? | 13269 # So? What about this header? |
15285 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 13270 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
15286 yes:no: ) | 13271 yes:no: ) |
15287 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5 | 13272 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
15301 echo "$as_me: WARNING: malloc/malloc.h: section \"Present But Cannot Be Compiled\"" >&2;} | 13286 echo "$as_me: WARNING: malloc/malloc.h: section \"Present But Cannot Be Compiled\"" >&2;} |
15302 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&5 | 13287 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&5 |
15303 echo "$as_me: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&2;} | 13288 echo "$as_me: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&2;} |
15304 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&5 | 13289 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&5 |
15305 echo "$as_me: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&2;} | 13290 echo "$as_me: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&2;} |
15306 | 13291 ( |
13292 cat <<\_ASBOX | |
13293 ## ------------------------------------------ ## | |
13294 ## Report this to the AC_PACKAGE_NAME lists. ## | |
13295 ## ------------------------------------------ ## | |
13296 _ASBOX | |
13297 ) | | |
13298 sed "s/^/$as_me: WARNING: /" >&2 | |
15307 ;; | 13299 ;; |
15308 esac | 13300 esac |
15309 { echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5 | 13301 echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5 |
15310 echo $ECHO_N "checking for malloc/malloc.h... $ECHO_C" >&6; } | 13302 echo $ECHO_N "checking for malloc/malloc.h... $ECHO_C" >&6 |
15311 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then | 13303 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then |
15312 echo $ECHO_N "(cached) $ECHO_C" >&6 | 13304 echo $ECHO_N "(cached) $ECHO_C" >&6 |
15313 else | 13305 else |
15314 ac_cv_header_malloc_malloc_h=$ac_header_preproc | 13306 ac_cv_header_malloc_malloc_h=$ac_header_preproc |
15315 fi | 13307 fi |
15316 { echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5 | 13308 echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5 |
15317 echo "${ECHO_T}$ac_cv_header_malloc_malloc_h" >&6; } | 13309 echo "${ECHO_T}$ac_cv_header_malloc_malloc_h" >&6 |
15318 | 13310 |
15319 fi | 13311 fi |
15320 if test $ac_cv_header_malloc_malloc_h = yes; then | 13312 if test $ac_cv_header_malloc_malloc_h = yes; then |
15321 | 13313 |
15322 cat >>confdefs.h <<\_ACEOF | 13314 cat >>confdefs.h <<\_ACEOF |
15348 | 13340 |
15349 ### Use session management (-lSM -lICE) if available | 13341 ### Use session management (-lSM -lICE) if available |
15350 HAVE_X_SM=no | 13342 HAVE_X_SM=no |
15351 if test "${HAVE_X11}" = "yes"; then | 13343 if test "${HAVE_X11}" = "yes"; then |
15352 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then | 13344 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then |
15353 { echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5 | 13345 echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5 |
15354 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6; } | 13346 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6 |
15355 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then | 13347 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then |
15356 echo $ECHO_N "(cached) $ECHO_C" >&6 | 13348 echo $ECHO_N "(cached) $ECHO_C" >&6 |
15357 fi | 13349 fi |
15358 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5 | 13350 echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5 |
15359 echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6; } | 13351 echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6 |
15360 else | 13352 else |
15361 # Is the header compilable? | 13353 # Is the header compilable? |
15362 { echo "$as_me:$LINENO: checking X11/SM/SMlib.h usability" >&5 | 13354 echo "$as_me:$LINENO: checking X11/SM/SMlib.h usability" >&5 |
15363 echo $ECHO_N "checking X11/SM/SMlib.h usability... $ECHO_C" >&6; } | 13355 echo $ECHO_N "checking X11/SM/SMlib.h usability... $ECHO_C" >&6 |
15364 cat >conftest.$ac_ext <<_ACEOF | 13356 cat >conftest.$ac_ext <<_ACEOF |
15365 /* confdefs.h. */ | 13357 /* confdefs.h. */ |
15366 _ACEOF | 13358 _ACEOF |
15367 cat confdefs.h >>conftest.$ac_ext | 13359 cat confdefs.h >>conftest.$ac_ext |
15368 cat >>conftest.$ac_ext <<_ACEOF | 13360 cat >>conftest.$ac_ext <<_ACEOF |
15369 /* end confdefs.h. */ | 13361 /* end confdefs.h. */ |
15370 $ac_includes_default | 13362 $ac_includes_default |
15371 #include <X11/SM/SMlib.h> | 13363 #include <X11/SM/SMlib.h> |
15372 _ACEOF | 13364 _ACEOF |
15373 rm -f conftest.$ac_objext | 13365 rm -f conftest.$ac_objext |
15374 if { (ac_try="$ac_compile" | 13366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
15375 case "(($ac_try" in | 13367 (eval $ac_compile) 2>conftest.er1 |
15376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15377 *) ac_try_echo=$ac_try;; | |
15378 esac | |
15379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15380 (eval "$ac_compile") 2>conftest.er1 | |
15381 ac_status=$? | 13368 ac_status=$? |
15382 grep -v '^ *+' conftest.er1 >conftest.err | 13369 grep -v '^ *+' conftest.er1 >conftest.err |
15383 rm -f conftest.er1 | 13370 rm -f conftest.er1 |
15384 cat conftest.err >&5 | 13371 cat conftest.err >&5 |
15385 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13372 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15386 (exit $ac_status); } && | 13373 (exit $ac_status); } && |
15387 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 13374 { ac_try='test -z "$ac_c_werror_flag" |
15388 { (case "(($ac_try" in | 13375 || test ! -s conftest.err' |
15389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 13376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
15390 *) ac_try_echo=$ac_try;; | 13377 (eval $ac_try) 2>&5 |
15391 esac | |
15392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15393 (eval "$ac_try") 2>&5 | |
15394 ac_status=$? | 13378 ac_status=$? |
15395 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13379 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15396 (exit $ac_status); }; } && | 13380 (exit $ac_status); }; } && |
15397 { ac_try='test -s conftest.$ac_objext' | 13381 { ac_try='test -s conftest.$ac_objext' |
15398 { (case "(($ac_try" in | 13382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
15399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 13383 (eval $ac_try) 2>&5 |
15400 *) ac_try_echo=$ac_try;; | |
15401 esac | |
15402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15403 (eval "$ac_try") 2>&5 | |
15404 ac_status=$? | 13384 ac_status=$? |
15405 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13385 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15406 (exit $ac_status); }; }; then | 13386 (exit $ac_status); }; }; then |
15407 ac_header_compiler=yes | 13387 ac_header_compiler=yes |
15408 else | 13388 else |
15409 echo "$as_me: failed program was:" >&5 | 13389 echo "$as_me: failed program was:" >&5 |
15410 sed 's/^/| /' conftest.$ac_ext >&5 | 13390 sed 's/^/| /' conftest.$ac_ext >&5 |
15411 | 13391 |
15412 ac_header_compiler=no | 13392 ac_header_compiler=no |
15413 fi | 13393 fi |
15414 | 13394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
15415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 13395 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
15416 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 13396 echo "${ECHO_T}$ac_header_compiler" >&6 |
15417 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
15418 | 13397 |
15419 # Is the header present? | 13398 # Is the header present? |
15420 { echo "$as_me:$LINENO: checking X11/SM/SMlib.h presence" >&5 | 13399 echo "$as_me:$LINENO: checking X11/SM/SMlib.h presence" >&5 |
15421 echo $ECHO_N "checking X11/SM/SMlib.h presence... $ECHO_C" >&6; } | 13400 echo $ECHO_N "checking X11/SM/SMlib.h presence... $ECHO_C" >&6 |
15422 cat >conftest.$ac_ext <<_ACEOF | 13401 cat >conftest.$ac_ext <<_ACEOF |
15423 /* confdefs.h. */ | 13402 /* confdefs.h. */ |
15424 _ACEOF | 13403 _ACEOF |
15425 cat confdefs.h >>conftest.$ac_ext | 13404 cat confdefs.h >>conftest.$ac_ext |
15426 cat >>conftest.$ac_ext <<_ACEOF | 13405 cat >>conftest.$ac_ext <<_ACEOF |
15427 /* end confdefs.h. */ | 13406 /* end confdefs.h. */ |
15428 #include <X11/SM/SMlib.h> | 13407 #include <X11/SM/SMlib.h> |
15429 _ACEOF | 13408 _ACEOF |
15430 if { (ac_try="$ac_cpp conftest.$ac_ext" | 13409 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
15431 case "(($ac_try" in | 13410 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
15432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15433 *) ac_try_echo=$ac_try;; | |
15434 esac | |
15435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15436 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
15437 ac_status=$? | 13411 ac_status=$? |
15438 grep -v '^ *+' conftest.er1 >conftest.err | 13412 grep -v '^ *+' conftest.er1 >conftest.err |
15439 rm -f conftest.er1 | 13413 rm -f conftest.er1 |
15440 cat conftest.err >&5 | 13414 cat conftest.err >&5 |
15441 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13415 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15455 echo "$as_me: failed program was:" >&5 | 13429 echo "$as_me: failed program was:" >&5 |
15456 sed 's/^/| /' conftest.$ac_ext >&5 | 13430 sed 's/^/| /' conftest.$ac_ext >&5 |
15457 | 13431 |
15458 ac_header_preproc=no | 13432 ac_header_preproc=no |
15459 fi | 13433 fi |
15460 | |
15461 rm -f conftest.err conftest.$ac_ext | 13434 rm -f conftest.err conftest.$ac_ext |
15462 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 13435 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
15463 echo "${ECHO_T}$ac_header_preproc" >&6; } | 13436 echo "${ECHO_T}$ac_header_preproc" >&6 |
15464 | 13437 |
15465 # So? What about this header? | 13438 # So? What about this header? |
15466 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 13439 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
15467 yes:no: ) | 13440 yes:no: ) |
15468 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 | 13441 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
15482 echo "$as_me: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compiled\"" >&2;} | 13455 echo "$as_me: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compiled\"" >&2;} |
15483 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&5 | 13456 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&5 |
15484 echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&2;} | 13457 echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&2;} |
15485 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&5 | 13458 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&5 |
15486 echo "$as_me: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&2;} | 13459 echo "$as_me: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&2;} |
15487 | 13460 ( |
13461 cat <<\_ASBOX | |
13462 ## ------------------------------------------ ## | |
13463 ## Report this to the AC_PACKAGE_NAME lists. ## | |
13464 ## ------------------------------------------ ## | |
13465 _ASBOX | |
13466 ) | | |
13467 sed "s/^/$as_me: WARNING: /" >&2 | |
15488 ;; | 13468 ;; |
15489 esac | 13469 esac |
15490 { echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5 | 13470 echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5 |
15491 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6; } | 13471 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6 |
15492 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then | 13472 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then |
15493 echo $ECHO_N "(cached) $ECHO_C" >&6 | 13473 echo $ECHO_N "(cached) $ECHO_C" >&6 |
15494 else | 13474 else |
15495 ac_cv_header_X11_SM_SMlib_h=$ac_header_preproc | 13475 ac_cv_header_X11_SM_SMlib_h=$ac_header_preproc |
15496 fi | 13476 fi |
15497 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5 | 13477 echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5 |
15498 echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6; } | 13478 echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6 |
15499 | 13479 |
15500 fi | 13480 fi |
15501 if test $ac_cv_header_X11_SM_SMlib_h = yes; then | 13481 if test $ac_cv_header_X11_SM_SMlib_h = yes; then |
15502 { echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5 | 13482 echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5 |
15503 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6; } | 13483 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6 |
15504 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then | 13484 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then |
15505 echo $ECHO_N "(cached) $ECHO_C" >&6 | 13485 echo $ECHO_N "(cached) $ECHO_C" >&6 |
15506 else | 13486 else |
15507 ac_check_lib_save_LIBS=$LIBS | 13487 ac_check_lib_save_LIBS=$LIBS |
15508 LIBS="-lSM -lICE $LIBS" | 13488 LIBS="-lSM -lICE $LIBS" |
15511 _ACEOF | 13491 _ACEOF |
15512 cat confdefs.h >>conftest.$ac_ext | 13492 cat confdefs.h >>conftest.$ac_ext |
15513 cat >>conftest.$ac_ext <<_ACEOF | 13493 cat >>conftest.$ac_ext <<_ACEOF |
15514 /* end confdefs.h. */ | 13494 /* end confdefs.h. */ |
15515 | 13495 |
15516 /* Override any GCC internal prototype to avoid an error. | 13496 /* Override any gcc2 internal prototype to avoid an error. */ |
15517 Use char because int might match the return type of a GCC | |
15518 builtin and then its argument prototype would still apply. */ | |
15519 #ifdef __cplusplus | 13497 #ifdef __cplusplus |
15520 extern "C" | 13498 extern "C" |
15521 #endif | 13499 #endif |
13500 /* We use char because int might match the return type of a gcc2 | |
13501 builtin and then its argument prototype would still apply. */ | |
15522 char SmcOpenConnection (); | 13502 char SmcOpenConnection (); |
15523 int | 13503 int |
15524 main () | 13504 main () |
15525 { | 13505 { |
15526 return SmcOpenConnection (); | 13506 SmcOpenConnection (); |
15527 ; | 13507 ; |
15528 return 0; | 13508 return 0; |
15529 } | 13509 } |
15530 _ACEOF | 13510 _ACEOF |
15531 rm -f conftest.$ac_objext conftest$ac_exeext | 13511 rm -f conftest.$ac_objext conftest$ac_exeext |
15532 if { (ac_try="$ac_link" | 13512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
15533 case "(($ac_try" in | 13513 (eval $ac_link) 2>conftest.er1 |
15534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15535 *) ac_try_echo=$ac_try;; | |
15536 esac | |
15537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15538 (eval "$ac_link") 2>conftest.er1 | |
15539 ac_status=$? | 13514 ac_status=$? |
15540 grep -v '^ *+' conftest.er1 >conftest.err | 13515 grep -v '^ *+' conftest.er1 >conftest.err |
15541 rm -f conftest.er1 | 13516 rm -f conftest.er1 |
15542 cat conftest.err >&5 | 13517 cat conftest.err >&5 |
15543 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13518 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15544 (exit $ac_status); } && | 13519 (exit $ac_status); } && |
15545 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 13520 { ac_try='test -z "$ac_c_werror_flag" |
15546 { (case "(($ac_try" in | 13521 || test ! -s conftest.err' |
15547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 13522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
15548 *) ac_try_echo=$ac_try;; | 13523 (eval $ac_try) 2>&5 |
15549 esac | |
15550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15551 (eval "$ac_try") 2>&5 | |
15552 ac_status=$? | 13524 ac_status=$? |
15553 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13525 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15554 (exit $ac_status); }; } && | 13526 (exit $ac_status); }; } && |
15555 { ac_try='test -s conftest$ac_exeext' | 13527 { ac_try='test -s conftest$ac_exeext' |
15556 { (case "(($ac_try" in | 13528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
15557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 13529 (eval $ac_try) 2>&5 |
15558 *) ac_try_echo=$ac_try;; | |
15559 esac | |
15560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15561 (eval "$ac_try") 2>&5 | |
15562 ac_status=$? | 13530 ac_status=$? |
15563 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13531 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15564 (exit $ac_status); }; }; then | 13532 (exit $ac_status); }; }; then |
15565 ac_cv_lib_SM_SmcOpenConnection=yes | 13533 ac_cv_lib_SM_SmcOpenConnection=yes |
15566 else | 13534 else |
15567 echo "$as_me: failed program was:" >&5 | 13535 echo "$as_me: failed program was:" >&5 |
15568 sed 's/^/| /' conftest.$ac_ext >&5 | 13536 sed 's/^/| /' conftest.$ac_ext >&5 |
15569 | 13537 |
15570 ac_cv_lib_SM_SmcOpenConnection=no | 13538 ac_cv_lib_SM_SmcOpenConnection=no |
15571 fi | 13539 fi |
15572 | 13540 rm -f conftest.err conftest.$ac_objext \ |
15573 rm -f core conftest.err conftest.$ac_objext \ | |
15574 conftest$ac_exeext conftest.$ac_ext | 13541 conftest$ac_exeext conftest.$ac_ext |
15575 LIBS=$ac_check_lib_save_LIBS | 13542 LIBS=$ac_check_lib_save_LIBS |
15576 fi | 13543 fi |
15577 { echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5 | 13544 echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5 |
15578 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6; } | 13545 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6 |
15579 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then | 13546 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then |
15580 HAVE_X_SM=yes | 13547 HAVE_X_SM=yes |
15581 fi | 13548 fi |
15582 | 13549 |
15583 fi | 13550 fi |
15596 esac | 13563 esac |
15597 fi | 13564 fi |
15598 fi | 13565 fi |
15599 | 13566 |
15600 # If netdb.h doesn't declare h_errno, we must declare it by hand. | 13567 # If netdb.h doesn't declare h_errno, we must declare it by hand. |
15601 { echo "$as_me:$LINENO: checking whether netdb declares h_errno" >&5 | 13568 echo "$as_me:$LINENO: checking whether netdb declares h_errno" >&5 |
15602 echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6; } | 13569 echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6 |
15603 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then | 13570 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then |
15604 echo $ECHO_N "(cached) $ECHO_C" >&6 | 13571 echo $ECHO_N "(cached) $ECHO_C" >&6 |
15605 else | 13572 else |
15606 cat >conftest.$ac_ext <<_ACEOF | 13573 cat >conftest.$ac_ext <<_ACEOF |
15607 /* confdefs.h. */ | 13574 /* confdefs.h. */ |
15617 ; | 13584 ; |
15618 return 0; | 13585 return 0; |
15619 } | 13586 } |
15620 _ACEOF | 13587 _ACEOF |
15621 rm -f conftest.$ac_objext conftest$ac_exeext | 13588 rm -f conftest.$ac_objext conftest$ac_exeext |
15622 if { (ac_try="$ac_link" | 13589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
15623 case "(($ac_try" in | 13590 (eval $ac_link) 2>conftest.er1 |
15624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15625 *) ac_try_echo=$ac_try;; | |
15626 esac | |
15627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15628 (eval "$ac_link") 2>conftest.er1 | |
15629 ac_status=$? | 13591 ac_status=$? |
15630 grep -v '^ *+' conftest.er1 >conftest.err | 13592 grep -v '^ *+' conftest.er1 >conftest.err |
15631 rm -f conftest.er1 | 13593 rm -f conftest.er1 |
15632 cat conftest.err >&5 | 13594 cat conftest.err >&5 |
15633 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13595 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15634 (exit $ac_status); } && | 13596 (exit $ac_status); } && |
15635 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 13597 { ac_try='test -z "$ac_c_werror_flag" |
15636 { (case "(($ac_try" in | 13598 || test ! -s conftest.err' |
15637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 13599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
15638 *) ac_try_echo=$ac_try;; | 13600 (eval $ac_try) 2>&5 |
15639 esac | |
15640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15641 (eval "$ac_try") 2>&5 | |
15642 ac_status=$? | 13601 ac_status=$? |
15643 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13602 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15644 (exit $ac_status); }; } && | 13603 (exit $ac_status); }; } && |
15645 { ac_try='test -s conftest$ac_exeext' | 13604 { ac_try='test -s conftest$ac_exeext' |
15646 { (case "(($ac_try" in | 13605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
15647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 13606 (eval $ac_try) 2>&5 |
15648 *) ac_try_echo=$ac_try;; | |
15649 esac | |
15650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15651 (eval "$ac_try") 2>&5 | |
15652 ac_status=$? | 13607 ac_status=$? |
15653 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13608 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15654 (exit $ac_status); }; }; then | 13609 (exit $ac_status); }; }; then |
15655 emacs_cv_netdb_declares_h_errno=yes | 13610 emacs_cv_netdb_declares_h_errno=yes |
15656 else | 13611 else |
15657 echo "$as_me: failed program was:" >&5 | 13612 echo "$as_me: failed program was:" >&5 |
15658 sed 's/^/| /' conftest.$ac_ext >&5 | 13613 sed 's/^/| /' conftest.$ac_ext >&5 |
15659 | 13614 |
15660 emacs_cv_netdb_declares_h_errno=no | 13615 emacs_cv_netdb_declares_h_errno=no |
15661 fi | 13616 fi |
15662 | 13617 rm -f conftest.err conftest.$ac_objext \ |
15663 rm -f core conftest.err conftest.$ac_objext \ | |
15664 conftest$ac_exeext conftest.$ac_ext | 13618 conftest$ac_exeext conftest.$ac_ext |
15665 fi | 13619 fi |
15666 { echo "$as_me:$LINENO: result: $emacs_cv_netdb_declares_h_errno" >&5 | 13620 echo "$as_me:$LINENO: result: $emacs_cv_netdb_declares_h_errno" >&5 |
15667 echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6; } | 13621 echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6 |
15668 if test $emacs_cv_netdb_declares_h_errno = yes; then | 13622 if test $emacs_cv_netdb_declares_h_errno = yes; then |
15669 | 13623 |
15670 cat >>confdefs.h <<\_ACEOF | 13624 cat >>confdefs.h <<\_ACEOF |
15671 #define HAVE_H_ERRNO 1 | 13625 #define HAVE_H_ERRNO 1 |
15672 _ACEOF | 13626 _ACEOF |
15673 | 13627 |
15674 fi | 13628 fi |
15675 | 13629 |
15676 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 13630 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
15677 # for constant arguments. Useless! | 13631 # for constant arguments. Useless! |
15678 { echo "$as_me:$LINENO: checking for working alloca.h" >&5 | 13632 echo "$as_me:$LINENO: checking for working alloca.h" >&5 |
15679 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; } | 13633 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 |
15680 if test "${ac_cv_working_alloca_h+set}" = set; then | 13634 if test "${ac_cv_working_alloca_h+set}" = set; then |
15681 echo $ECHO_N "(cached) $ECHO_C" >&6 | 13635 echo $ECHO_N "(cached) $ECHO_C" >&6 |
15682 else | 13636 else |
15683 cat >conftest.$ac_ext <<_ACEOF | 13637 cat >conftest.$ac_ext <<_ACEOF |
15684 /* confdefs.h. */ | 13638 /* confdefs.h. */ |
15689 #include <alloca.h> | 13643 #include <alloca.h> |
15690 int | 13644 int |
15691 main () | 13645 main () |
15692 { | 13646 { |
15693 char *p = (char *) alloca (2 * sizeof (int)); | 13647 char *p = (char *) alloca (2 * sizeof (int)); |
15694 if (p) return 0; | |
15695 ; | 13648 ; |
15696 return 0; | 13649 return 0; |
15697 } | 13650 } |
15698 _ACEOF | 13651 _ACEOF |
15699 rm -f conftest.$ac_objext conftest$ac_exeext | 13652 rm -f conftest.$ac_objext conftest$ac_exeext |
15700 if { (ac_try="$ac_link" | 13653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
15701 case "(($ac_try" in | 13654 (eval $ac_link) 2>conftest.er1 |
15702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15703 *) ac_try_echo=$ac_try;; | |
15704 esac | |
15705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15706 (eval "$ac_link") 2>conftest.er1 | |
15707 ac_status=$? | 13655 ac_status=$? |
15708 grep -v '^ *+' conftest.er1 >conftest.err | 13656 grep -v '^ *+' conftest.er1 >conftest.err |
15709 rm -f conftest.er1 | 13657 rm -f conftest.er1 |
15710 cat conftest.err >&5 | 13658 cat conftest.err >&5 |
15711 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13659 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15712 (exit $ac_status); } && | 13660 (exit $ac_status); } && |
15713 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 13661 { ac_try='test -z "$ac_c_werror_flag" |
15714 { (case "(($ac_try" in | 13662 || test ! -s conftest.err' |
15715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 13663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
15716 *) ac_try_echo=$ac_try;; | 13664 (eval $ac_try) 2>&5 |
15717 esac | |
15718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15719 (eval "$ac_try") 2>&5 | |
15720 ac_status=$? | 13665 ac_status=$? |
15721 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13666 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15722 (exit $ac_status); }; } && | 13667 (exit $ac_status); }; } && |
15723 { ac_try='test -s conftest$ac_exeext' | 13668 { ac_try='test -s conftest$ac_exeext' |
15724 { (case "(($ac_try" in | 13669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
15725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 13670 (eval $ac_try) 2>&5 |
15726 *) ac_try_echo=$ac_try;; | |
15727 esac | |
15728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15729 (eval "$ac_try") 2>&5 | |
15730 ac_status=$? | 13671 ac_status=$? |
15731 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13672 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15732 (exit $ac_status); }; }; then | 13673 (exit $ac_status); }; }; then |
15733 ac_cv_working_alloca_h=yes | 13674 ac_cv_working_alloca_h=yes |
15734 else | 13675 else |
15735 echo "$as_me: failed program was:" >&5 | 13676 echo "$as_me: failed program was:" >&5 |
15736 sed 's/^/| /' conftest.$ac_ext >&5 | 13677 sed 's/^/| /' conftest.$ac_ext >&5 |
15737 | 13678 |
15738 ac_cv_working_alloca_h=no | 13679 ac_cv_working_alloca_h=no |
15739 fi | 13680 fi |
15740 | 13681 rm -f conftest.err conftest.$ac_objext \ |
15741 rm -f core conftest.err conftest.$ac_objext \ | |
15742 conftest$ac_exeext conftest.$ac_ext | 13682 conftest$ac_exeext conftest.$ac_ext |
15743 fi | 13683 fi |
15744 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 | 13684 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 |
15745 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; } | 13685 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 |
15746 if test $ac_cv_working_alloca_h = yes; then | 13686 if test $ac_cv_working_alloca_h = yes; then |
15747 | 13687 |
15748 cat >>confdefs.h <<\_ACEOF | 13688 cat >>confdefs.h <<\_ACEOF |
15749 #define HAVE_ALLOCA_H 1 | 13689 #define HAVE_ALLOCA_H 1 |
15750 _ACEOF | 13690 _ACEOF |
15751 | 13691 |
15752 fi | 13692 fi |
15753 | 13693 |
15754 { echo "$as_me:$LINENO: checking for alloca" >&5 | 13694 echo "$as_me:$LINENO: checking for alloca" >&5 |
15755 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; } | 13695 echo $ECHO_N "checking for alloca... $ECHO_C" >&6 |
15756 if test "${ac_cv_func_alloca_works+set}" = set; then | 13696 if test "${ac_cv_func_alloca_works+set}" = set; then |
15757 echo $ECHO_N "(cached) $ECHO_C" >&6 | 13697 echo $ECHO_N "(cached) $ECHO_C" >&6 |
15758 else | 13698 else |
15759 cat >conftest.$ac_ext <<_ACEOF | 13699 cat >conftest.$ac_ext <<_ACEOF |
15760 /* confdefs.h. */ | 13700 /* confdefs.h. */ |
15785 | 13725 |
15786 int | 13726 int |
15787 main () | 13727 main () |
15788 { | 13728 { |
15789 char *p = (char *) alloca (1); | 13729 char *p = (char *) alloca (1); |
15790 if (p) return 0; | |
15791 ; | 13730 ; |
15792 return 0; | 13731 return 0; |
15793 } | 13732 } |
15794 _ACEOF | 13733 _ACEOF |
15795 rm -f conftest.$ac_objext conftest$ac_exeext | 13734 rm -f conftest.$ac_objext conftest$ac_exeext |
15796 if { (ac_try="$ac_link" | 13735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
15797 case "(($ac_try" in | 13736 (eval $ac_link) 2>conftest.er1 |
15798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15799 *) ac_try_echo=$ac_try;; | |
15800 esac | |
15801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15802 (eval "$ac_link") 2>conftest.er1 | |
15803 ac_status=$? | 13737 ac_status=$? |
15804 grep -v '^ *+' conftest.er1 >conftest.err | 13738 grep -v '^ *+' conftest.er1 >conftest.err |
15805 rm -f conftest.er1 | 13739 rm -f conftest.er1 |
15806 cat conftest.err >&5 | 13740 cat conftest.err >&5 |
15807 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13741 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15808 (exit $ac_status); } && | 13742 (exit $ac_status); } && |
15809 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 13743 { ac_try='test -z "$ac_c_werror_flag" |
15810 { (case "(($ac_try" in | 13744 || test ! -s conftest.err' |
15811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 13745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
15812 *) ac_try_echo=$ac_try;; | 13746 (eval $ac_try) 2>&5 |
15813 esac | |
15814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15815 (eval "$ac_try") 2>&5 | |
15816 ac_status=$? | 13747 ac_status=$? |
15817 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13748 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15818 (exit $ac_status); }; } && | 13749 (exit $ac_status); }; } && |
15819 { ac_try='test -s conftest$ac_exeext' | 13750 { ac_try='test -s conftest$ac_exeext' |
15820 { (case "(($ac_try" in | 13751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
15821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 13752 (eval $ac_try) 2>&5 |
15822 *) ac_try_echo=$ac_try;; | |
15823 esac | |
15824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15825 (eval "$ac_try") 2>&5 | |
15826 ac_status=$? | 13753 ac_status=$? |
15827 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13754 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15828 (exit $ac_status); }; }; then | 13755 (exit $ac_status); }; }; then |
15829 ac_cv_func_alloca_works=yes | 13756 ac_cv_func_alloca_works=yes |
15830 else | 13757 else |
15831 echo "$as_me: failed program was:" >&5 | 13758 echo "$as_me: failed program was:" >&5 |
15832 sed 's/^/| /' conftest.$ac_ext >&5 | 13759 sed 's/^/| /' conftest.$ac_ext >&5 |
15833 | 13760 |
15834 ac_cv_func_alloca_works=no | 13761 ac_cv_func_alloca_works=no |
15835 fi | 13762 fi |
15836 | 13763 rm -f conftest.err conftest.$ac_objext \ |
15837 rm -f core conftest.err conftest.$ac_objext \ | |
15838 conftest$ac_exeext conftest.$ac_ext | 13764 conftest$ac_exeext conftest.$ac_ext |
15839 fi | 13765 fi |
15840 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 | 13766 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 |
15841 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; } | 13767 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 |
15842 | 13768 |
15843 if test $ac_cv_func_alloca_works = yes; then | 13769 if test $ac_cv_func_alloca_works = yes; then |
15844 | 13770 |
15845 cat >>confdefs.h <<\_ACEOF | 13771 cat >>confdefs.h <<\_ACEOF |
15846 #define HAVE_ALLOCA 1 | 13772 #define HAVE_ALLOCA 1 |
15850 # The SVR3 libPW and SVR4 libucb both contain incompatible functions | 13776 # The SVR3 libPW and SVR4 libucb both contain incompatible functions |
15851 # that cause trouble. Some versions do not even contain alloca or | 13777 # that cause trouble. Some versions do not even contain alloca or |
15852 # contain a buggy version. If you still want to use their alloca, | 13778 # contain a buggy version. If you still want to use their alloca, |
15853 # use ar to extract alloca.o from them instead of compiling alloca.c. | 13779 # use ar to extract alloca.o from them instead of compiling alloca.c. |
15854 | 13780 |
15855 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext | 13781 ALLOCA=alloca.$ac_objext |
15856 | 13782 |
15857 cat >>confdefs.h <<\_ACEOF | 13783 cat >>confdefs.h <<\_ACEOF |
15858 #define C_ALLOCA 1 | 13784 #define C_ALLOCA 1 |
15859 _ACEOF | 13785 _ACEOF |
15860 | 13786 |
15861 | 13787 |
15862 { echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 | 13788 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 |
15863 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; } | 13789 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 |
15864 if test "${ac_cv_os_cray+set}" = set; then | 13790 if test "${ac_cv_os_cray+set}" = set; then |
15865 echo $ECHO_N "(cached) $ECHO_C" >&6 | 13791 echo $ECHO_N "(cached) $ECHO_C" >&6 |
15866 else | 13792 else |
15867 cat >conftest.$ac_ext <<_ACEOF | 13793 cat >conftest.$ac_ext <<_ACEOF |
15868 /* confdefs.h. */ | 13794 /* confdefs.h. */ |
15869 _ACEOF | 13795 _ACEOF |
15870 cat confdefs.h >>conftest.$ac_ext | 13796 cat confdefs.h >>conftest.$ac_ext |
15871 cat >>conftest.$ac_ext <<_ACEOF | 13797 cat >>conftest.$ac_ext <<_ACEOF |
15872 /* end confdefs.h. */ | 13798 /* end confdefs.h. */ |
15873 #if defined CRAY && ! defined CRAY2 | 13799 #if defined(CRAY) && ! defined(CRAY2) |
15874 webecray | 13800 webecray |
15875 #else | 13801 #else |
15876 wenotbecray | 13802 wenotbecray |
15877 #endif | 13803 #endif |
15878 | 13804 |
15884 ac_cv_os_cray=no | 13810 ac_cv_os_cray=no |
15885 fi | 13811 fi |
15886 rm -f conftest* | 13812 rm -f conftest* |
15887 | 13813 |
15888 fi | 13814 fi |
15889 { echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 | 13815 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 |
15890 echo "${ECHO_T}$ac_cv_os_cray" >&6; } | 13816 echo "${ECHO_T}$ac_cv_os_cray" >&6 |
15891 if test $ac_cv_os_cray = yes; then | 13817 if test $ac_cv_os_cray = yes; then |
15892 for ac_func in _getb67 GETB67 getb67; do | 13818 for ac_func in _getb67 GETB67 getb67; do |
15893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 13819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
15894 { echo "$as_me:$LINENO: checking for $ac_func" >&5 | 13820 echo "$as_me:$LINENO: checking for $ac_func" >&5 |
15895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 13821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
15896 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 13822 if eval "test \"\${$as_ac_var+set}\" = set"; then |
15897 echo $ECHO_N "(cached) $ECHO_C" >&6 | 13823 echo $ECHO_N "(cached) $ECHO_C" >&6 |
15898 else | 13824 else |
15899 cat >conftest.$ac_ext <<_ACEOF | 13825 cat >conftest.$ac_ext <<_ACEOF |
15900 /* confdefs.h. */ | 13826 /* confdefs.h. */ |
15901 _ACEOF | 13827 _ACEOF |
15917 # include <assert.h> | 13843 # include <assert.h> |
15918 #endif | 13844 #endif |
15919 | 13845 |
15920 #undef $ac_func | 13846 #undef $ac_func |
15921 | 13847 |
15922 /* Override any GCC internal prototype to avoid an error. | 13848 /* Override any gcc2 internal prototype to avoid an error. */ |
15923 Use char because int might match the return type of a GCC | |
15924 builtin and then its argument prototype would still apply. */ | |
15925 #ifdef __cplusplus | 13849 #ifdef __cplusplus |
15926 extern "C" | 13850 extern "C" |
13851 { | |
15927 #endif | 13852 #endif |
13853 /* We use char because int might match the return type of a gcc2 | |
13854 builtin and then its argument prototype would still apply. */ | |
15928 char $ac_func (); | 13855 char $ac_func (); |
15929 /* The GNU C library defines this for functions which it implements | 13856 /* The GNU C library defines this for functions which it implements |
15930 to always fail with ENOSYS. Some functions are actually named | 13857 to always fail with ENOSYS. Some functions are actually named |
15931 something starting with __ and the normal name is an alias. */ | 13858 something starting with __ and the normal name is an alias. */ |
15932 #if defined __stub_$ac_func || defined __stub___$ac_func | 13859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
15933 choke me | 13860 choke me |
13861 #else | |
13862 char (*f) () = $ac_func; | |
13863 #endif | |
13864 #ifdef __cplusplus | |
13865 } | |
15934 #endif | 13866 #endif |
15935 | 13867 |
15936 int | 13868 int |
15937 main () | 13869 main () |
15938 { | 13870 { |
15939 return $ac_func (); | 13871 return f != $ac_func; |
15940 ; | 13872 ; |
15941 return 0; | 13873 return 0; |
15942 } | 13874 } |
15943 _ACEOF | 13875 _ACEOF |
15944 rm -f conftest.$ac_objext conftest$ac_exeext | 13876 rm -f conftest.$ac_objext conftest$ac_exeext |
15945 if { (ac_try="$ac_link" | 13877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
15946 case "(($ac_try" in | 13878 (eval $ac_link) 2>conftest.er1 |
15947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15948 *) ac_try_echo=$ac_try;; | |
15949 esac | |
15950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15951 (eval "$ac_link") 2>conftest.er1 | |
15952 ac_status=$? | 13879 ac_status=$? |
15953 grep -v '^ *+' conftest.er1 >conftest.err | 13880 grep -v '^ *+' conftest.er1 >conftest.err |
15954 rm -f conftest.er1 | 13881 rm -f conftest.er1 |
15955 cat conftest.err >&5 | 13882 cat conftest.err >&5 |
15956 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13883 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15957 (exit $ac_status); } && | 13884 (exit $ac_status); } && |
15958 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 13885 { ac_try='test -z "$ac_c_werror_flag" |
15959 { (case "(($ac_try" in | 13886 || test ! -s conftest.err' |
15960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 13887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
15961 *) ac_try_echo=$ac_try;; | 13888 (eval $ac_try) 2>&5 |
15962 esac | |
15963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15964 (eval "$ac_try") 2>&5 | |
15965 ac_status=$? | 13889 ac_status=$? |
15966 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13890 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15967 (exit $ac_status); }; } && | 13891 (exit $ac_status); }; } && |
15968 { ac_try='test -s conftest$ac_exeext' | 13892 { ac_try='test -s conftest$ac_exeext' |
15969 { (case "(($ac_try" in | 13893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
15970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 13894 (eval $ac_try) 2>&5 |
15971 *) ac_try_echo=$ac_try;; | |
15972 esac | |
15973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15974 (eval "$ac_try") 2>&5 | |
15975 ac_status=$? | 13895 ac_status=$? |
15976 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13896 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15977 (exit $ac_status); }; }; then | 13897 (exit $ac_status); }; }; then |
15978 eval "$as_ac_var=yes" | 13898 eval "$as_ac_var=yes" |
15979 else | 13899 else |
15980 echo "$as_me: failed program was:" >&5 | 13900 echo "$as_me: failed program was:" >&5 |
15981 sed 's/^/| /' conftest.$ac_ext >&5 | 13901 sed 's/^/| /' conftest.$ac_ext >&5 |
15982 | 13902 |
15983 eval "$as_ac_var=no" | 13903 eval "$as_ac_var=no" |
15984 fi | 13904 fi |
15985 | 13905 rm -f conftest.err conftest.$ac_objext \ |
15986 rm -f core conftest.err conftest.$ac_objext \ | |
15987 conftest$ac_exeext conftest.$ac_ext | 13906 conftest$ac_exeext conftest.$ac_ext |
15988 fi | 13907 fi |
15989 ac_res=`eval echo '${'$as_ac_var'}'` | 13908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
15990 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 13909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
15991 echo "${ECHO_T}$ac_res" >&6; } | |
15992 if test `eval echo '${'$as_ac_var'}'` = yes; then | 13910 if test `eval echo '${'$as_ac_var'}'` = yes; then |
15993 | 13911 |
15994 cat >>confdefs.h <<_ACEOF | 13912 cat >>confdefs.h <<_ACEOF |
15995 #define CRAY_STACKSEG_END $ac_func | 13913 #define CRAY_STACKSEG_END $ac_func |
15996 _ACEOF | 13914 _ACEOF |
15999 fi | 13917 fi |
16000 | 13918 |
16001 done | 13919 done |
16002 fi | 13920 fi |
16003 | 13921 |
16004 { echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 | 13922 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 |
16005 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; } | 13923 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 |
16006 if test "${ac_cv_c_stack_direction+set}" = set; then | 13924 if test "${ac_cv_c_stack_direction+set}" = set; then |
16007 echo $ECHO_N "(cached) $ECHO_C" >&6 | 13925 echo $ECHO_N "(cached) $ECHO_C" >&6 |
16008 else | 13926 else |
16009 if test "$cross_compiling" = yes; then | 13927 if test "$cross_compiling" = yes; then |
16010 ac_cv_c_stack_direction=0 | 13928 ac_cv_c_stack_direction=0 |
16013 /* confdefs.h. */ | 13931 /* confdefs.h. */ |
16014 _ACEOF | 13932 _ACEOF |
16015 cat confdefs.h >>conftest.$ac_ext | 13933 cat confdefs.h >>conftest.$ac_ext |
16016 cat >>conftest.$ac_ext <<_ACEOF | 13934 cat >>conftest.$ac_ext <<_ACEOF |
16017 /* end confdefs.h. */ | 13935 /* end confdefs.h. */ |
16018 $ac_includes_default | |
16019 int | 13936 int |
16020 find_stack_direction () | 13937 find_stack_direction () |
16021 { | 13938 { |
16022 static char *addr = 0; | 13939 static char *addr = 0; |
16023 auto char dummy; | 13940 auto char dummy; |
16031 } | 13948 } |
16032 | 13949 |
16033 int | 13950 int |
16034 main () | 13951 main () |
16035 { | 13952 { |
16036 return find_stack_direction () < 0; | 13953 exit (find_stack_direction () < 0); |
16037 } | 13954 } |
16038 _ACEOF | 13955 _ACEOF |
16039 rm -f conftest$ac_exeext | 13956 rm -f conftest$ac_exeext |
16040 if { (ac_try="$ac_link" | 13957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
16041 case "(($ac_try" in | 13958 (eval $ac_link) 2>&5 |
16042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16043 *) ac_try_echo=$ac_try;; | |
16044 esac | |
16045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
16046 (eval "$ac_link") 2>&5 | |
16047 ac_status=$? | 13959 ac_status=$? |
16048 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13960 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16049 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 13961 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
16050 { (case "(($ac_try" in | 13962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
16051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 13963 (eval $ac_try) 2>&5 |
16052 *) ac_try_echo=$ac_try;; | |
16053 esac | |
16054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
16055 (eval "$ac_try") 2>&5 | |
16056 ac_status=$? | 13964 ac_status=$? |
16057 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13965 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16058 (exit $ac_status); }; }; then | 13966 (exit $ac_status); }; }; then |
16059 ac_cv_c_stack_direction=1 | 13967 ac_cv_c_stack_direction=1 |
16060 else | 13968 else |
16063 sed 's/^/| /' conftest.$ac_ext >&5 | 13971 sed 's/^/| /' conftest.$ac_ext >&5 |
16064 | 13972 |
16065 ( exit $ac_status ) | 13973 ( exit $ac_status ) |
16066 ac_cv_c_stack_direction=-1 | 13974 ac_cv_c_stack_direction=-1 |
16067 fi | 13975 fi |
16068 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 13976 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
16069 fi | 13977 fi |
16070 | 13978 fi |
16071 | 13979 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 |
16072 fi | 13980 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 |
16073 { echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 | |
16074 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; } | |
16075 | 13981 |
16076 cat >>confdefs.h <<_ACEOF | 13982 cat >>confdefs.h <<_ACEOF |
16077 #define STACK_DIRECTION $ac_cv_c_stack_direction | 13983 #define STACK_DIRECTION $ac_cv_c_stack_direction |
16078 _ACEOF | 13984 _ACEOF |
16079 | 13985 |
16082 | 13988 |
16083 | 13989 |
16084 # fmod, logb, and frexp are found in -lm on most systems. | 13990 # fmod, logb, and frexp are found in -lm on most systems. |
16085 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. | 13991 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. |
16086 | 13992 |
16087 { echo "$as_me:$LINENO: checking for sqrt in -lm" >&5 | 13993 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5 |
16088 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6; } | 13994 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6 |
16089 if test "${ac_cv_lib_m_sqrt+set}" = set; then | 13995 if test "${ac_cv_lib_m_sqrt+set}" = set; then |
16090 echo $ECHO_N "(cached) $ECHO_C" >&6 | 13996 echo $ECHO_N "(cached) $ECHO_C" >&6 |
16091 else | 13997 else |
16092 ac_check_lib_save_LIBS=$LIBS | 13998 ac_check_lib_save_LIBS=$LIBS |
16093 LIBS="-lm $LIBS" | 13999 LIBS="-lm $LIBS" |
16096 _ACEOF | 14002 _ACEOF |
16097 cat confdefs.h >>conftest.$ac_ext | 14003 cat confdefs.h >>conftest.$ac_ext |
16098 cat >>conftest.$ac_ext <<_ACEOF | 14004 cat >>conftest.$ac_ext <<_ACEOF |
16099 /* end confdefs.h. */ | 14005 /* end confdefs.h. */ |
16100 | 14006 |
16101 /* Override any GCC internal prototype to avoid an error. | 14007 /* Override any gcc2 internal prototype to avoid an error. */ |
16102 Use char because int might match the return type of a GCC | |
16103 builtin and then its argument prototype would still apply. */ | |
16104 #ifdef __cplusplus | 14008 #ifdef __cplusplus |
16105 extern "C" | 14009 extern "C" |
16106 #endif | 14010 #endif |
14011 /* We use char because int might match the return type of a gcc2 | |
14012 builtin and then its argument prototype would still apply. */ | |
16107 char sqrt (); | 14013 char sqrt (); |
16108 int | 14014 int |
16109 main () | 14015 main () |
16110 { | 14016 { |
16111 return sqrt (); | 14017 sqrt (); |
16112 ; | 14018 ; |
16113 return 0; | 14019 return 0; |
16114 } | 14020 } |
16115 _ACEOF | 14021 _ACEOF |
16116 rm -f conftest.$ac_objext conftest$ac_exeext | 14022 rm -f conftest.$ac_objext conftest$ac_exeext |
16117 if { (ac_try="$ac_link" | 14023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
16118 case "(($ac_try" in | 14024 (eval $ac_link) 2>conftest.er1 |
16119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16120 *) ac_try_echo=$ac_try;; | |
16121 esac | |
16122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
16123 (eval "$ac_link") 2>conftest.er1 | |
16124 ac_status=$? | 14025 ac_status=$? |
16125 grep -v '^ *+' conftest.er1 >conftest.err | 14026 grep -v '^ *+' conftest.er1 >conftest.err |
16126 rm -f conftest.er1 | 14027 rm -f conftest.er1 |
16127 cat conftest.err >&5 | 14028 cat conftest.err >&5 |
16128 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14029 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16129 (exit $ac_status); } && | 14030 (exit $ac_status); } && |
16130 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 14031 { ac_try='test -z "$ac_c_werror_flag" |
16131 { (case "(($ac_try" in | 14032 || test ! -s conftest.err' |
16132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 14033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
16133 *) ac_try_echo=$ac_try;; | 14034 (eval $ac_try) 2>&5 |
16134 esac | |
16135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
16136 (eval "$ac_try") 2>&5 | |
16137 ac_status=$? | 14035 ac_status=$? |
16138 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14036 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16139 (exit $ac_status); }; } && | 14037 (exit $ac_status); }; } && |
16140 { ac_try='test -s conftest$ac_exeext' | 14038 { ac_try='test -s conftest$ac_exeext' |
16141 { (case "(($ac_try" in | 14039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
16142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 14040 (eval $ac_try) 2>&5 |
16143 *) ac_try_echo=$ac_try;; | |
16144 esac | |
16145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
16146 (eval "$ac_try") 2>&5 | |
16147 ac_status=$? | 14041 ac_status=$? |
16148 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14042 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16149 (exit $ac_status); }; }; then | 14043 (exit $ac_status); }; }; then |
16150 ac_cv_lib_m_sqrt=yes | 14044 ac_cv_lib_m_sqrt=yes |
16151 else | 14045 else |
16152 echo "$as_me: failed program was:" >&5 | 14046 echo "$as_me: failed program was:" >&5 |
16153 sed 's/^/| /' conftest.$ac_ext >&5 | 14047 sed 's/^/| /' conftest.$ac_ext >&5 |
16154 | 14048 |
16155 ac_cv_lib_m_sqrt=no | 14049 ac_cv_lib_m_sqrt=no |
16156 fi | 14050 fi |
16157 | 14051 rm -f conftest.err conftest.$ac_objext \ |
16158 rm -f core conftest.err conftest.$ac_objext \ | |
16159 conftest$ac_exeext conftest.$ac_ext | 14052 conftest$ac_exeext conftest.$ac_ext |
16160 LIBS=$ac_check_lib_save_LIBS | 14053 LIBS=$ac_check_lib_save_LIBS |
16161 fi | 14054 fi |
16162 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5 | 14055 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5 |
16163 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6; } | 14056 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6 |
16164 if test $ac_cv_lib_m_sqrt = yes; then | 14057 if test $ac_cv_lib_m_sqrt = yes; then |
16165 cat >>confdefs.h <<_ACEOF | 14058 cat >>confdefs.h <<_ACEOF |
16166 #define HAVE_LIBM 1 | 14059 #define HAVE_LIBM 1 |
16167 _ACEOF | 14060 _ACEOF |
16168 | 14061 |
16172 | 14065 |
16173 | 14066 |
16174 # Check for mail-locking functions in a "mail" library. Probably this should | 14067 # Check for mail-locking functions in a "mail" library. Probably this should |
16175 # have the same check as for liblockfile below. | 14068 # have the same check as for liblockfile below. |
16176 | 14069 |
16177 { echo "$as_me:$LINENO: checking for maillock in -lmail" >&5 | 14070 echo "$as_me:$LINENO: checking for maillock in -lmail" >&5 |
16178 echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6; } | 14071 echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6 |
16179 if test "${ac_cv_lib_mail_maillock+set}" = set; then | 14072 if test "${ac_cv_lib_mail_maillock+set}" = set; then |
16180 echo $ECHO_N "(cached) $ECHO_C" >&6 | 14073 echo $ECHO_N "(cached) $ECHO_C" >&6 |
16181 else | 14074 else |
16182 ac_check_lib_save_LIBS=$LIBS | 14075 ac_check_lib_save_LIBS=$LIBS |
16183 LIBS="-lmail $LIBS" | 14076 LIBS="-lmail $LIBS" |
16186 _ACEOF | 14079 _ACEOF |
16187 cat confdefs.h >>conftest.$ac_ext | 14080 cat confdefs.h >>conftest.$ac_ext |
16188 cat >>conftest.$ac_ext <<_ACEOF | 14081 cat >>conftest.$ac_ext <<_ACEOF |
16189 /* end confdefs.h. */ | 14082 /* end confdefs.h. */ |
16190 | 14083 |
16191 /* Override any GCC internal prototype to avoid an error. | 14084 /* Override any gcc2 internal prototype to avoid an error. */ |
16192 Use char because int might match the return type of a GCC | |
16193 builtin and then its argument prototype would still apply. */ | |
16194 #ifdef __cplusplus | 14085 #ifdef __cplusplus |
16195 extern "C" | 14086 extern "C" |
16196 #endif | 14087 #endif |
14088 /* We use char because int might match the return type of a gcc2 | |
14089 builtin and then its argument prototype would still apply. */ | |
16197 char maillock (); | 14090 char maillock (); |
16198 int | 14091 int |
16199 main () | 14092 main () |
16200 { | 14093 { |
16201 return maillock (); | 14094 maillock (); |
16202 ; | 14095 ; |
16203 return 0; | 14096 return 0; |
16204 } | 14097 } |
16205 _ACEOF | 14098 _ACEOF |
16206 rm -f conftest.$ac_objext conftest$ac_exeext | 14099 rm -f conftest.$ac_objext conftest$ac_exeext |
16207 if { (ac_try="$ac_link" | 14100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
16208 case "(($ac_try" in | 14101 (eval $ac_link) 2>conftest.er1 |
16209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16210 *) ac_try_echo=$ac_try;; | |
16211 esac | |
16212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
16213 (eval "$ac_link") 2>conftest.er1 | |
16214 ac_status=$? | 14102 ac_status=$? |
16215 grep -v '^ *+' conftest.er1 >conftest.err | 14103 grep -v '^ *+' conftest.er1 >conftest.err |
16216 rm -f conftest.er1 | 14104 rm -f conftest.er1 |
16217 cat conftest.err >&5 | 14105 cat conftest.err >&5 |
16218 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14106 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16219 (exit $ac_status); } && | 14107 (exit $ac_status); } && |
16220 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 14108 { ac_try='test -z "$ac_c_werror_flag" |
16221 { (case "(($ac_try" in | 14109 || test ! -s conftest.err' |
16222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 14110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
16223 *) ac_try_echo=$ac_try;; | 14111 (eval $ac_try) 2>&5 |
16224 esac | |
16225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
16226 (eval "$ac_try") 2>&5 | |
16227 ac_status=$? | 14112 ac_status=$? |
16228 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14113 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16229 (exit $ac_status); }; } && | 14114 (exit $ac_status); }; } && |
16230 { ac_try='test -s conftest$ac_exeext' | 14115 { ac_try='test -s conftest$ac_exeext' |
16231 { (case "(($ac_try" in | 14116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
16232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 14117 (eval $ac_try) 2>&5 |
16233 *) ac_try_echo=$ac_try;; | |
16234 esac | |
16235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
16236 (eval "$ac_try") 2>&5 | |
16237 ac_status=$? | 14118 ac_status=$? |
16238 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14119 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16239 (exit $ac_status); }; }; then | 14120 (exit $ac_status); }; }; then |
16240 ac_cv_lib_mail_maillock=yes | 14121 ac_cv_lib_mail_maillock=yes |
16241 else | 14122 else |
16242 echo "$as_me: failed program was:" >&5 | 14123 echo "$as_me: failed program was:" >&5 |
16243 sed 's/^/| /' conftest.$ac_ext >&5 | 14124 sed 's/^/| /' conftest.$ac_ext >&5 |
16244 | 14125 |
16245 ac_cv_lib_mail_maillock=no | 14126 ac_cv_lib_mail_maillock=no |
16246 fi | 14127 fi |
16247 | 14128 rm -f conftest.err conftest.$ac_objext \ |
16248 rm -f core conftest.err conftest.$ac_objext \ | |
16249 conftest$ac_exeext conftest.$ac_ext | 14129 conftest$ac_exeext conftest.$ac_ext |
16250 LIBS=$ac_check_lib_save_LIBS | 14130 LIBS=$ac_check_lib_save_LIBS |
16251 fi | 14131 fi |
16252 { echo "$as_me:$LINENO: result: $ac_cv_lib_mail_maillock" >&5 | 14132 echo "$as_me:$LINENO: result: $ac_cv_lib_mail_maillock" >&5 |
16253 echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6; } | 14133 echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6 |
16254 if test $ac_cv_lib_mail_maillock = yes; then | 14134 if test $ac_cv_lib_mail_maillock = yes; then |
16255 cat >>confdefs.h <<_ACEOF | 14135 cat >>confdefs.h <<_ACEOF |
16256 #define HAVE_LIBMAIL 1 | 14136 #define HAVE_LIBMAIL 1 |
16257 _ACEOF | 14137 _ACEOF |
16258 | 14138 |
16259 LIBS="-lmail $LIBS" | 14139 LIBS="-lmail $LIBS" |
16260 | 14140 |
16261 fi | 14141 fi |
16262 | 14142 |
16263 | 14143 |
16264 { echo "$as_me:$LINENO: checking for maillock in -llockfile" >&5 | 14144 echo "$as_me:$LINENO: checking for maillock in -llockfile" >&5 |
16265 echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6; } | 14145 echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6 |
16266 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then | 14146 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then |
16267 echo $ECHO_N "(cached) $ECHO_C" >&6 | 14147 echo $ECHO_N "(cached) $ECHO_C" >&6 |
16268 else | 14148 else |
16269 ac_check_lib_save_LIBS=$LIBS | 14149 ac_check_lib_save_LIBS=$LIBS |
16270 LIBS="-llockfile $LIBS" | 14150 LIBS="-llockfile $LIBS" |
16273 _ACEOF | 14153 _ACEOF |
16274 cat confdefs.h >>conftest.$ac_ext | 14154 cat confdefs.h >>conftest.$ac_ext |
16275 cat >>conftest.$ac_ext <<_ACEOF | 14155 cat >>conftest.$ac_ext <<_ACEOF |
16276 /* end confdefs.h. */ | 14156 /* end confdefs.h. */ |
16277 | 14157 |
16278 /* Override any GCC internal prototype to avoid an error. | 14158 /* Override any gcc2 internal prototype to avoid an error. */ |
16279 Use char because int might match the return type of a GCC | |
16280 builtin and then its argument prototype would still apply. */ | |
16281 #ifdef __cplusplus | 14159 #ifdef __cplusplus |
16282 extern "C" | 14160 extern "C" |
16283 #endif | 14161 #endif |
14162 /* We use char because int might match the return type of a gcc2 | |
14163 builtin and then its argument prototype would still apply. */ | |
16284 char maillock (); | 14164 char maillock (); |
16285 int | 14165 int |
16286 main () | 14166 main () |
16287 { | 14167 { |
16288 return maillock (); | 14168 maillock (); |
16289 ; | 14169 ; |
16290 return 0; | 14170 return 0; |
16291 } | 14171 } |
16292 _ACEOF | 14172 _ACEOF |
16293 rm -f conftest.$ac_objext conftest$ac_exeext | 14173 rm -f conftest.$ac_objext conftest$ac_exeext |
16294 if { (ac_try="$ac_link" | 14174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
16295 case "(($ac_try" in | 14175 (eval $ac_link) 2>conftest.er1 |
16296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16297 *) ac_try_echo=$ac_try;; | |
16298 esac | |
16299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
16300 (eval "$ac_link") 2>conftest.er1 | |
16301 ac_status=$? | 14176 ac_status=$? |
16302 grep -v '^ *+' conftest.er1 >conftest.err | 14177 grep -v '^ *+' conftest.er1 >conftest.err |
16303 rm -f conftest.er1 | 14178 rm -f conftest.er1 |
16304 cat conftest.err >&5 | 14179 cat conftest.err >&5 |
16305 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14180 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16306 (exit $ac_status); } && | 14181 (exit $ac_status); } && |
16307 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 14182 { ac_try='test -z "$ac_c_werror_flag" |
16308 { (case "(($ac_try" in | 14183 || test ! -s conftest.err' |
16309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 14184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
16310 *) ac_try_echo=$ac_try;; | 14185 (eval $ac_try) 2>&5 |
16311 esac | |
16312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
16313 (eval "$ac_try") 2>&5 | |
16314 ac_status=$? | 14186 ac_status=$? |
16315 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14187 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16316 (exit $ac_status); }; } && | 14188 (exit $ac_status); }; } && |
16317 { ac_try='test -s conftest$ac_exeext' | 14189 { ac_try='test -s conftest$ac_exeext' |
16318 { (case "(($ac_try" in | 14190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
16319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 14191 (eval $ac_try) 2>&5 |
16320 *) ac_try_echo=$ac_try;; | |
16321 esac | |
16322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
16323 (eval "$ac_try") 2>&5 | |
16324 ac_status=$? | 14192 ac_status=$? |
16325 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14193 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16326 (exit $ac_status); }; }; then | 14194 (exit $ac_status); }; }; then |
16327 ac_cv_lib_lockfile_maillock=yes | 14195 ac_cv_lib_lockfile_maillock=yes |
16328 else | 14196 else |
16329 echo "$as_me: failed program was:" >&5 | 14197 echo "$as_me: failed program was:" >&5 |
16330 sed 's/^/| /' conftest.$ac_ext >&5 | 14198 sed 's/^/| /' conftest.$ac_ext >&5 |
16331 | 14199 |
16332 ac_cv_lib_lockfile_maillock=no | 14200 ac_cv_lib_lockfile_maillock=no |
16333 fi | 14201 fi |
16334 | 14202 rm -f conftest.err conftest.$ac_objext \ |
16335 rm -f core conftest.err conftest.$ac_objext \ | |
16336 conftest$ac_exeext conftest.$ac_ext | 14203 conftest$ac_exeext conftest.$ac_ext |
16337 LIBS=$ac_check_lib_save_LIBS | 14204 LIBS=$ac_check_lib_save_LIBS |
16338 fi | 14205 fi |
16339 { echo "$as_me:$LINENO: result: $ac_cv_lib_lockfile_maillock" >&5 | 14206 echo "$as_me:$LINENO: result: $ac_cv_lib_lockfile_maillock" >&5 |
16340 echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6; } | 14207 echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6 |
16341 if test $ac_cv_lib_lockfile_maillock = yes; then | 14208 if test $ac_cv_lib_lockfile_maillock = yes; then |
16342 cat >>confdefs.h <<_ACEOF | 14209 cat >>confdefs.h <<_ACEOF |
16343 #define HAVE_LIBLOCKFILE 1 | 14210 #define HAVE_LIBLOCKFILE 1 |
16344 _ACEOF | 14211 _ACEOF |
16345 | 14212 |
16351 # locking (e.g. Debian). If we couldn't link against liblockfile | 14218 # locking (e.g. Debian). If we couldn't link against liblockfile |
16352 # (no liblockfile.a installed), ensure that we don't need to. | 14219 # (no liblockfile.a installed), ensure that we don't need to. |
16353 if test "$ac_cv_lib_lockfile_maillock" = no; then | 14220 if test "$ac_cv_lib_lockfile_maillock" = no; then |
16354 # Extract the first word of "liblockfile.so", so it can be a program name with args. | 14221 # Extract the first word of "liblockfile.so", so it can be a program name with args. |
16355 set dummy liblockfile.so; ac_word=$2 | 14222 set dummy liblockfile.so; ac_word=$2 |
16356 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 14223 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
16357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 14224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
16358 if test "${ac_cv_prog_liblockfile+set}" = set; then | 14225 if test "${ac_cv_prog_liblockfile+set}" = set; then |
16359 echo $ECHO_N "(cached) $ECHO_C" >&6 | 14226 echo $ECHO_N "(cached) $ECHO_C" >&6 |
16360 else | 14227 else |
16361 if test -n "$liblockfile"; then | 14228 if test -n "$liblockfile"; then |
16362 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test. | 14229 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test. |
16366 for as_dir in $as_dummy | 14233 for as_dir in $as_dummy |
16367 do | 14234 do |
16368 IFS=$as_save_IFS | 14235 IFS=$as_save_IFS |
16369 test -z "$as_dir" && as_dir=. | 14236 test -z "$as_dir" && as_dir=. |
16370 for ac_exec_ext in '' $ac_executable_extensions; do | 14237 for ac_exec_ext in '' $ac_executable_extensions; do |
16371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then | 14238 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
16372 ac_cv_prog_liblockfile="yes" | 14239 ac_cv_prog_liblockfile="yes" |
16373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 14240 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
16374 break 2 | 14241 break 2 |
16375 fi | 14242 fi |
16376 done | 14243 done |
16377 done | 14244 done |
16378 IFS=$as_save_IFS | |
16379 | 14245 |
16380 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no" | 14246 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no" |
16381 fi | 14247 fi |
16382 fi | 14248 fi |
16383 liblockfile=$ac_cv_prog_liblockfile | 14249 liblockfile=$ac_cv_prog_liblockfile |
16384 if test -n "$liblockfile"; then | 14250 if test -n "$liblockfile"; then |
16385 { echo "$as_me:$LINENO: result: $liblockfile" >&5 | 14251 echo "$as_me:$LINENO: result: $liblockfile" >&5 |
16386 echo "${ECHO_T}$liblockfile" >&6; } | 14252 echo "${ECHO_T}$liblockfile" >&6 |
16387 else | 14253 else |
16388 { echo "$as_me:$LINENO: result: no" >&5 | 14254 echo "$as_me:$LINENO: result: no" >&5 |
16389 echo "${ECHO_T}no" >&6; } | 14255 echo "${ECHO_T}no" >&6 |
16390 fi | 14256 fi |
16391 | |
16392 | 14257 |
16393 if test $ac_cv_prog_liblockfile = yes; then | 14258 if test $ac_cv_prog_liblockfile = yes; then |
16394 { { echo "$as_me:$LINENO: error: Shared liblockfile found but can't link against it. | 14259 { { echo "$as_me:$LINENO: error: Shared liblockfile found but can't link against it. |
16395 This probably means that movemail could lose mail. | 14260 This probably means that movemail could lose mail. |
16396 There may be a \`development' package to install containing liblockfile." >&5 | 14261 There may be a \`development' package to install containing liblockfile." >&5 |
16403 fi | 14268 fi |
16404 | 14269 |
16405 for ac_func in touchlock | 14270 for ac_func in touchlock |
16406 do | 14271 do |
16407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 14272 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
16408 { echo "$as_me:$LINENO: checking for $ac_func" >&5 | 14273 echo "$as_me:$LINENO: checking for $ac_func" >&5 |
16409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 14274 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
16410 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 14275 if eval "test \"\${$as_ac_var+set}\" = set"; then |
16411 echo $ECHO_N "(cached) $ECHO_C" >&6 | 14276 echo $ECHO_N "(cached) $ECHO_C" >&6 |
16412 else | 14277 else |
16413 cat >conftest.$ac_ext <<_ACEOF | 14278 cat >conftest.$ac_ext <<_ACEOF |
16414 /* confdefs.h. */ | 14279 /* confdefs.h. */ |
16415 _ACEOF | 14280 _ACEOF |
16431 # include <assert.h> | 14296 # include <assert.h> |
16432 #endif | 14297 #endif |
16433 | 14298 |
16434 #undef $ac_func | 14299 #undef $ac_func |
16435 | 14300 |
16436 /* Override any GCC internal prototype to avoid an error. | 14301 /* Override any gcc2 internal prototype to avoid an error. */ |
16437 Use char because int might match the return type of a GCC | |
16438 builtin and then its argument prototype would still apply. */ | |
16439 #ifdef __cplusplus | 14302 #ifdef __cplusplus |
16440 extern "C" | 14303 extern "C" |
14304 { | |
16441 #endif | 14305 #endif |
14306 /* We use char because int might match the return type of a gcc2 | |
14307 builtin and then its argument prototype would still apply. */ | |
16442 char $ac_func (); | 14308 char $ac_func (); |
16443 /* The GNU C library defines this for functions which it implements | 14309 /* The GNU C library defines this for functions which it implements |
16444 to always fail with ENOSYS. Some functions are actually named | 14310 to always fail with ENOSYS. Some functions are actually named |
16445 something starting with __ and the normal name is an alias. */ | 14311 something starting with __ and the normal name is an alias. */ |
16446 #if defined __stub_$ac_func || defined __stub___$ac_func | 14312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
16447 choke me | 14313 choke me |
14314 #else | |
14315 char (*f) () = $ac_func; | |
14316 #endif | |
14317 #ifdef __cplusplus | |
14318 } | |
16448 #endif | 14319 #endif |
16449 | 14320 |
16450 int | 14321 int |
16451 main () | 14322 main () |
16452 { | 14323 { |
16453 return $ac_func (); | 14324 return f != $ac_func; |
16454 ; | 14325 ; |
16455 return 0; | 14326 return 0; |
16456 } | 14327 } |
16457 _ACEOF | 14328 _ACEOF |
16458 rm -f conftest.$ac_objext conftest$ac_exeext | 14329 rm -f conftest.$ac_objext conftest$ac_exeext |
16459 if { (ac_try="$ac_link" | 14330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
16460 case "(($ac_try" in | 14331 (eval $ac_link) 2>conftest.er1 |
16461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16462 *) ac_try_echo=$ac_try;; | |
16463 esac | |
16464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
16465 (eval "$ac_link") 2>conftest.er1 | |
16466 ac_status=$? | 14332 ac_status=$? |
16467 grep -v '^ *+' conftest.er1 >conftest.err | 14333 grep -v '^ *+' conftest.er1 >conftest.err |
16468 rm -f conftest.er1 | 14334 rm -f conftest.er1 |
16469 cat conftest.err >&5 | 14335 cat conftest.err >&5 |
16470 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14336 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16471 (exit $ac_status); } && | 14337 (exit $ac_status); } && |
16472 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 14338 { ac_try='test -z "$ac_c_werror_flag" |
16473 { (case "(($ac_try" in | 14339 || test ! -s conftest.err' |
16474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 14340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
16475 *) ac_try_echo=$ac_try;; | 14341 (eval $ac_try) 2>&5 |
16476 esac | |
16477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
16478 (eval "$ac_try") 2>&5 | |
16479 ac_status=$? | 14342 ac_status=$? |
16480 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14343 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16481 (exit $ac_status); }; } && | 14344 (exit $ac_status); }; } && |
16482 { ac_try='test -s conftest$ac_exeext' | 14345 { ac_try='test -s conftest$ac_exeext' |
16483 { (case "(($ac_try" in | 14346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
16484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 14347 (eval $ac_try) 2>&5 |
16485 *) ac_try_echo=$ac_try;; | |
16486 esac | |
16487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
16488 (eval "$ac_try") 2>&5 | |
16489 ac_status=$? | 14348 ac_status=$? |
16490 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14349 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16491 (exit $ac_status); }; }; then | 14350 (exit $ac_status); }; }; then |
16492 eval "$as_ac_var=yes" | 14351 eval "$as_ac_var=yes" |
16493 else | 14352 else |
16494 echo "$as_me: failed program was:" >&5 | 14353 echo "$as_me: failed program was:" >&5 |
16495 sed 's/^/| /' conftest.$ac_ext >&5 | 14354 sed 's/^/| /' conftest.$ac_ext >&5 |
16496 | 14355 |
16497 eval "$as_ac_var=no" | 14356 eval "$as_ac_var=no" |
16498 fi | 14357 fi |
16499 | 14358 rm -f conftest.err conftest.$ac_objext \ |
16500 rm -f core conftest.err conftest.$ac_objext \ | |
16501 conftest$ac_exeext conftest.$ac_ext | 14359 conftest$ac_exeext conftest.$ac_ext |
16502 fi | 14360 fi |
16503 ac_res=`eval echo '${'$as_ac_var'}'` | 14361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
16504 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 14362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
16505 echo "${ECHO_T}$ac_res" >&6; } | |
16506 if test `eval echo '${'$as_ac_var'}'` = yes; then | 14363 if test `eval echo '${'$as_ac_var'}'` = yes; then |
16507 cat >>confdefs.h <<_ACEOF | 14364 cat >>confdefs.h <<_ACEOF |
16508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 14365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
16509 _ACEOF | 14366 _ACEOF |
16510 | 14367 |
16513 | 14370 |
16514 | 14371 |
16515 for ac_header in maillock.h | 14372 for ac_header in maillock.h |
16516 do | 14373 do |
16517 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 14374 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
16518 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 14375 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
16519 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 14376 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
16520 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 14377 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
16521 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 14378 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
16522 echo $ECHO_N "(cached) $ECHO_C" >&6 | 14379 echo $ECHO_N "(cached) $ECHO_C" >&6 |
16523 fi | 14380 fi |
16524 ac_res=`eval echo '${'$as_ac_Header'}'` | 14381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
16525 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 14382 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
16526 echo "${ECHO_T}$ac_res" >&6; } | |
16527 else | 14383 else |
16528 # Is the header compilable? | 14384 # Is the header compilable? |
16529 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 14385 echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
16530 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | 14386 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
16531 cat >conftest.$ac_ext <<_ACEOF | 14387 cat >conftest.$ac_ext <<_ACEOF |
16532 /* confdefs.h. */ | 14388 /* confdefs.h. */ |
16533 _ACEOF | 14389 _ACEOF |
16534 cat confdefs.h >>conftest.$ac_ext | 14390 cat confdefs.h >>conftest.$ac_ext |
16535 cat >>conftest.$ac_ext <<_ACEOF | 14391 cat >>conftest.$ac_ext <<_ACEOF |
16536 /* end confdefs.h. */ | 14392 /* end confdefs.h. */ |
16537 $ac_includes_default | 14393 $ac_includes_default |
16538 #include <$ac_header> | 14394 #include <$ac_header> |
16539 _ACEOF | 14395 _ACEOF |
16540 rm -f conftest.$ac_objext | 14396 rm -f conftest.$ac_objext |
16541 if { (ac_try="$ac_compile" | 14397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
16542 case "(($ac_try" in | 14398 (eval $ac_compile) 2>conftest.er1 |
16543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16544 *) ac_try_echo=$ac_try;; | |
16545 esac | |
16546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
16547 (eval "$ac_compile") 2>conftest.er1 | |
16548 ac_status=$? | 14399 ac_status=$? |
16549 grep -v '^ *+' conftest.er1 >conftest.err | 14400 grep -v '^ *+' conftest.er1 >conftest.err |
16550 rm -f conftest.er1 | 14401 rm -f conftest.er1 |
16551 cat conftest.err >&5 | 14402 cat conftest.err >&5 |
16552 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14403 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16553 (exit $ac_status); } && | 14404 (exit $ac_status); } && |
16554 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 14405 { ac_try='test -z "$ac_c_werror_flag" |
16555 { (case "(($ac_try" in | 14406 || test ! -s conftest.err' |
16556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 14407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
16557 *) ac_try_echo=$ac_try;; | 14408 (eval $ac_try) 2>&5 |
16558 esac | |
16559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
16560 (eval "$ac_try") 2>&5 | |
16561 ac_status=$? | 14409 ac_status=$? |
16562 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14410 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16563 (exit $ac_status); }; } && | 14411 (exit $ac_status); }; } && |
16564 { ac_try='test -s conftest.$ac_objext' | 14412 { ac_try='test -s conftest.$ac_objext' |
16565 { (case "(($ac_try" in | 14413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
16566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 14414 (eval $ac_try) 2>&5 |
16567 *) ac_try_echo=$ac_try;; | |
16568 esac | |
16569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
16570 (eval "$ac_try") 2>&5 | |
16571 ac_status=$? | 14415 ac_status=$? |
16572 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14416 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16573 (exit $ac_status); }; }; then | 14417 (exit $ac_status); }; }; then |
16574 ac_header_compiler=yes | 14418 ac_header_compiler=yes |
16575 else | 14419 else |
16576 echo "$as_me: failed program was:" >&5 | 14420 echo "$as_me: failed program was:" >&5 |
16577 sed 's/^/| /' conftest.$ac_ext >&5 | 14421 sed 's/^/| /' conftest.$ac_ext >&5 |
16578 | 14422 |
16579 ac_header_compiler=no | 14423 ac_header_compiler=no |
16580 fi | 14424 fi |
16581 | 14425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
16582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 14426 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
16583 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 14427 echo "${ECHO_T}$ac_header_compiler" >&6 |
16584 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
16585 | 14428 |
16586 # Is the header present? | 14429 # Is the header present? |
16587 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 14430 echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
16588 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | 14431 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
16589 cat >conftest.$ac_ext <<_ACEOF | 14432 cat >conftest.$ac_ext <<_ACEOF |
16590 /* confdefs.h. */ | 14433 /* confdefs.h. */ |
16591 _ACEOF | 14434 _ACEOF |
16592 cat confdefs.h >>conftest.$ac_ext | 14435 cat confdefs.h >>conftest.$ac_ext |
16593 cat >>conftest.$ac_ext <<_ACEOF | 14436 cat >>conftest.$ac_ext <<_ACEOF |
16594 /* end confdefs.h. */ | 14437 /* end confdefs.h. */ |
16595 #include <$ac_header> | 14438 #include <$ac_header> |
16596 _ACEOF | 14439 _ACEOF |
16597 if { (ac_try="$ac_cpp conftest.$ac_ext" | 14440 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
16598 case "(($ac_try" in | 14441 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
16599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16600 *) ac_try_echo=$ac_try;; | |
16601 esac | |
16602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
16603 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
16604 ac_status=$? | 14442 ac_status=$? |
16605 grep -v '^ *+' conftest.er1 >conftest.err | 14443 grep -v '^ *+' conftest.er1 >conftest.err |
16606 rm -f conftest.er1 | 14444 rm -f conftest.er1 |
16607 cat conftest.err >&5 | 14445 cat conftest.err >&5 |
16608 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14446 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16622 echo "$as_me: failed program was:" >&5 | 14460 echo "$as_me: failed program was:" >&5 |
16623 sed 's/^/| /' conftest.$ac_ext >&5 | 14461 sed 's/^/| /' conftest.$ac_ext >&5 |
16624 | 14462 |
16625 ac_header_preproc=no | 14463 ac_header_preproc=no |
16626 fi | 14464 fi |
16627 | |
16628 rm -f conftest.err conftest.$ac_ext | 14465 rm -f conftest.err conftest.$ac_ext |
16629 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 14466 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
16630 echo "${ECHO_T}$ac_header_preproc" >&6; } | 14467 echo "${ECHO_T}$ac_header_preproc" >&6 |
16631 | 14468 |
16632 # So? What about this header? | 14469 # So? What about this header? |
16633 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 14470 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
16634 yes:no: ) | 14471 yes:no: ) |
16635 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 14472 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
16649 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | 14486 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
16650 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 14487 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
16651 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 14488 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
16652 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 14489 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
16653 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 14490 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
16654 | 14491 ( |
14492 cat <<\_ASBOX | |
14493 ## ------------------------------------------ ## | |
14494 ## Report this to the AC_PACKAGE_NAME lists. ## | |
14495 ## ------------------------------------------ ## | |
14496 _ASBOX | |
14497 ) | | |
14498 sed "s/^/$as_me: WARNING: /" >&2 | |
16655 ;; | 14499 ;; |
16656 esac | 14500 esac |
16657 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 14501 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
16658 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 14502 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
16659 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 14503 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
16660 echo $ECHO_N "(cached) $ECHO_C" >&6 | 14504 echo $ECHO_N "(cached) $ECHO_C" >&6 |
16661 else | 14505 else |
16662 eval "$as_ac_Header=\$ac_header_preproc" | 14506 eval "$as_ac_Header=\$ac_header_preproc" |
16663 fi | 14507 fi |
16664 ac_res=`eval echo '${'$as_ac_Header'}'` | 14508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
16665 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 14509 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
16666 echo "${ECHO_T}$ac_res" >&6; } | |
16667 | 14510 |
16668 fi | 14511 fi |
16669 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 14512 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
16670 cat >>confdefs.h <<_ACEOF | 14513 cat >>confdefs.h <<_ACEOF |
16671 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 14514 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
16754 sendto recvfrom getsockopt setsockopt getsockname getpeername \ | 14597 sendto recvfrom getsockopt setsockopt getsockname getpeername \ |
16755 gai_strerror mkstemp getline getdelim mremap memmove fsync sync bzero \ | 14598 gai_strerror mkstemp getline getdelim mremap memmove fsync sync bzero \ |
16756 memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign | 14599 memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign |
16757 do | 14600 do |
16758 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 14601 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
16759 { echo "$as_me:$LINENO: checking for $ac_func" >&5 | 14602 echo "$as_me:$LINENO: checking for $ac_func" >&5 |
16760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 14603 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
16761 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 14604 if eval "test \"\${$as_ac_var+set}\" = set"; then |
16762 echo $ECHO_N "(cached) $ECHO_C" >&6 | 14605 echo $ECHO_N "(cached) $ECHO_C" >&6 |
16763 else | 14606 else |
16764 cat >conftest.$ac_ext <<_ACEOF | 14607 cat >conftest.$ac_ext <<_ACEOF |
16765 /* confdefs.h. */ | 14608 /* confdefs.h. */ |
16766 _ACEOF | 14609 _ACEOF |
16782 # include <assert.h> | 14625 # include <assert.h> |
16783 #endif | 14626 #endif |
16784 | 14627 |
16785 #undef $ac_func | 14628 #undef $ac_func |
16786 | 14629 |
16787 /* Override any GCC internal prototype to avoid an error. | 14630 /* Override any gcc2 internal prototype to avoid an error. */ |
16788 Use char because int might match the return type of a GCC | |
16789 builtin and then its argument prototype would still apply. */ | |
16790 #ifdef __cplusplus | 14631 #ifdef __cplusplus |
16791 extern "C" | 14632 extern "C" |
14633 { | |
16792 #endif | 14634 #endif |
14635 /* We use char because int might match the return type of a gcc2 | |
14636 builtin and then its argument prototype would still apply. */ | |
16793 char $ac_func (); | 14637 char $ac_func (); |
16794 /* The GNU C library defines this for functions which it implements | 14638 /* The GNU C library defines this for functions which it implements |
16795 to always fail with ENOSYS. Some functions are actually named | 14639 to always fail with ENOSYS. Some functions are actually named |
16796 something starting with __ and the normal name is an alias. */ | 14640 something starting with __ and the normal name is an alias. */ |
16797 #if defined __stub_$ac_func || defined __stub___$ac_func | 14641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
16798 choke me | 14642 choke me |
14643 #else | |
14644 char (*f) () = $ac_func; | |
14645 #endif | |
14646 #ifdef __cplusplus | |
14647 } | |
16799 #endif | 14648 #endif |
16800 | 14649 |
16801 int | 14650 int |
16802 main () | 14651 main () |
16803 { | 14652 { |
16804 return $ac_func (); | 14653 return f != $ac_func; |
16805 ; | 14654 ; |
16806 return 0; | 14655 return 0; |
16807 } | 14656 } |
16808 _ACEOF | 14657 _ACEOF |
16809 rm -f conftest.$ac_objext conftest$ac_exeext | 14658 rm -f conftest.$ac_objext conftest$ac_exeext |
16810 if { (ac_try="$ac_link" | 14659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
16811 case "(($ac_try" in | 14660 (eval $ac_link) 2>conftest.er1 |
16812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16813 *) ac_try_echo=$ac_try;; | |
16814 esac | |
16815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
16816 (eval "$ac_link") 2>conftest.er1 | |
16817 ac_status=$? | 14661 ac_status=$? |
16818 grep -v '^ *+' conftest.er1 >conftest.err | 14662 grep -v '^ *+' conftest.er1 >conftest.err |
16819 rm -f conftest.er1 | 14663 rm -f conftest.er1 |
16820 cat conftest.err >&5 | 14664 cat conftest.err >&5 |
16821 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14665 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16822 (exit $ac_status); } && | 14666 (exit $ac_status); } && |
16823 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 14667 { ac_try='test -z "$ac_c_werror_flag" |
16824 { (case "(($ac_try" in | 14668 || test ! -s conftest.err' |
16825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 14669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
16826 *) ac_try_echo=$ac_try;; | 14670 (eval $ac_try) 2>&5 |
16827 esac | |
16828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
16829 (eval "$ac_try") 2>&5 | |
16830 ac_status=$? | 14671 ac_status=$? |
16831 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14672 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16832 (exit $ac_status); }; } && | 14673 (exit $ac_status); }; } && |
16833 { ac_try='test -s conftest$ac_exeext' | 14674 { ac_try='test -s conftest$ac_exeext' |
16834 { (case "(($ac_try" in | 14675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
16835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 14676 (eval $ac_try) 2>&5 |
16836 *) ac_try_echo=$ac_try;; | |
16837 esac | |
16838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
16839 (eval "$ac_try") 2>&5 | |
16840 ac_status=$? | 14677 ac_status=$? |
16841 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14678 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16842 (exit $ac_status); }; }; then | 14679 (exit $ac_status); }; }; then |
16843 eval "$as_ac_var=yes" | 14680 eval "$as_ac_var=yes" |
16844 else | 14681 else |
16845 echo "$as_me: failed program was:" >&5 | 14682 echo "$as_me: failed program was:" >&5 |
16846 sed 's/^/| /' conftest.$ac_ext >&5 | 14683 sed 's/^/| /' conftest.$ac_ext >&5 |
16847 | 14684 |
16848 eval "$as_ac_var=no" | 14685 eval "$as_ac_var=no" |
16849 fi | 14686 fi |
16850 | 14687 rm -f conftest.err conftest.$ac_objext \ |
16851 rm -f core conftest.err conftest.$ac_objext \ | |
16852 conftest$ac_exeext conftest.$ac_ext | 14688 conftest$ac_exeext conftest.$ac_ext |
16853 fi | 14689 fi |
16854 ac_res=`eval echo '${'$as_ac_var'}'` | 14690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
16855 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 14691 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
16856 echo "${ECHO_T}$ac_res" >&6; } | |
16857 if test `eval echo '${'$as_ac_var'}'` = yes; then | 14692 if test `eval echo '${'$as_ac_var'}'` = yes; then |
16858 cat >>confdefs.h <<_ACEOF | 14693 cat >>confdefs.h <<_ACEOF |
16859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 14694 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
16860 _ACEOF | 14695 _ACEOF |
16861 | 14696 |
16865 | 14700 |
16866 | 14701 |
16867 for ac_header in sys/un.h | 14702 for ac_header in sys/un.h |
16868 do | 14703 do |
16869 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 14704 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
16870 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 14705 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
16871 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 14706 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
16872 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 14707 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
16873 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 14708 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
16874 echo $ECHO_N "(cached) $ECHO_C" >&6 | 14709 echo $ECHO_N "(cached) $ECHO_C" >&6 |
16875 fi | 14710 fi |
16876 ac_res=`eval echo '${'$as_ac_Header'}'` | 14711 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
16877 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 14712 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
16878 echo "${ECHO_T}$ac_res" >&6; } | |
16879 else | 14713 else |
16880 # Is the header compilable? | 14714 # Is the header compilable? |
16881 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 14715 echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
16882 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | 14716 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
16883 cat >conftest.$ac_ext <<_ACEOF | 14717 cat >conftest.$ac_ext <<_ACEOF |
16884 /* confdefs.h. */ | 14718 /* confdefs.h. */ |
16885 _ACEOF | 14719 _ACEOF |
16886 cat confdefs.h >>conftest.$ac_ext | 14720 cat confdefs.h >>conftest.$ac_ext |
16887 cat >>conftest.$ac_ext <<_ACEOF | 14721 cat >>conftest.$ac_ext <<_ACEOF |
16888 /* end confdefs.h. */ | 14722 /* end confdefs.h. */ |
16889 $ac_includes_default | 14723 $ac_includes_default |
16890 #include <$ac_header> | 14724 #include <$ac_header> |
16891 _ACEOF | 14725 _ACEOF |
16892 rm -f conftest.$ac_objext | 14726 rm -f conftest.$ac_objext |
16893 if { (ac_try="$ac_compile" | 14727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
16894 case "(($ac_try" in | 14728 (eval $ac_compile) 2>conftest.er1 |
16895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16896 *) ac_try_echo=$ac_try;; | |
16897 esac | |
16898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
16899 (eval "$ac_compile") 2>conftest.er1 | |
16900 ac_status=$? | 14729 ac_status=$? |
16901 grep -v '^ *+' conftest.er1 >conftest.err | 14730 grep -v '^ *+' conftest.er1 >conftest.err |
16902 rm -f conftest.er1 | 14731 rm -f conftest.er1 |
16903 cat conftest.err >&5 | 14732 cat conftest.err >&5 |
16904 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14733 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16905 (exit $ac_status); } && | 14734 (exit $ac_status); } && |
16906 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 14735 { ac_try='test -z "$ac_c_werror_flag" |
16907 { (case "(($ac_try" in | 14736 || test ! -s conftest.err' |
16908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 14737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
16909 *) ac_try_echo=$ac_try;; | 14738 (eval $ac_try) 2>&5 |
16910 esac | |
16911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
16912 (eval "$ac_try") 2>&5 | |
16913 ac_status=$? | 14739 ac_status=$? |
16914 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14740 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16915 (exit $ac_status); }; } && | 14741 (exit $ac_status); }; } && |
16916 { ac_try='test -s conftest.$ac_objext' | 14742 { ac_try='test -s conftest.$ac_objext' |
16917 { (case "(($ac_try" in | 14743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
16918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 14744 (eval $ac_try) 2>&5 |
16919 *) ac_try_echo=$ac_try;; | |
16920 esac | |
16921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
16922 (eval "$ac_try") 2>&5 | |
16923 ac_status=$? | 14745 ac_status=$? |
16924 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14746 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16925 (exit $ac_status); }; }; then | 14747 (exit $ac_status); }; }; then |
16926 ac_header_compiler=yes | 14748 ac_header_compiler=yes |
16927 else | 14749 else |
16928 echo "$as_me: failed program was:" >&5 | 14750 echo "$as_me: failed program was:" >&5 |
16929 sed 's/^/| /' conftest.$ac_ext >&5 | 14751 sed 's/^/| /' conftest.$ac_ext >&5 |
16930 | 14752 |
16931 ac_header_compiler=no | 14753 ac_header_compiler=no |
16932 fi | 14754 fi |
16933 | 14755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
16934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 14756 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
16935 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 14757 echo "${ECHO_T}$ac_header_compiler" >&6 |
16936 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
16937 | 14758 |
16938 # Is the header present? | 14759 # Is the header present? |
16939 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 14760 echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
16940 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | 14761 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
16941 cat >conftest.$ac_ext <<_ACEOF | 14762 cat >conftest.$ac_ext <<_ACEOF |
16942 /* confdefs.h. */ | 14763 /* confdefs.h. */ |
16943 _ACEOF | 14764 _ACEOF |
16944 cat confdefs.h >>conftest.$ac_ext | 14765 cat confdefs.h >>conftest.$ac_ext |
16945 cat >>conftest.$ac_ext <<_ACEOF | 14766 cat >>conftest.$ac_ext <<_ACEOF |
16946 /* end confdefs.h. */ | 14767 /* end confdefs.h. */ |
16947 #include <$ac_header> | 14768 #include <$ac_header> |
16948 _ACEOF | 14769 _ACEOF |
16949 if { (ac_try="$ac_cpp conftest.$ac_ext" | 14770 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
16950 case "(($ac_try" in | 14771 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
16951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16952 *) ac_try_echo=$ac_try;; | |
16953 esac | |
16954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
16955 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
16956 ac_status=$? | 14772 ac_status=$? |
16957 grep -v '^ *+' conftest.er1 >conftest.err | 14773 grep -v '^ *+' conftest.er1 >conftest.err |
16958 rm -f conftest.er1 | 14774 rm -f conftest.er1 |
16959 cat conftest.err >&5 | 14775 cat conftest.err >&5 |
16960 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14776 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16974 echo "$as_me: failed program was:" >&5 | 14790 echo "$as_me: failed program was:" >&5 |
16975 sed 's/^/| /' conftest.$ac_ext >&5 | 14791 sed 's/^/| /' conftest.$ac_ext >&5 |
16976 | 14792 |
16977 ac_header_preproc=no | 14793 ac_header_preproc=no |
16978 fi | 14794 fi |
16979 | |
16980 rm -f conftest.err conftest.$ac_ext | 14795 rm -f conftest.err conftest.$ac_ext |
16981 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 14796 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
16982 echo "${ECHO_T}$ac_header_preproc" >&6; } | 14797 echo "${ECHO_T}$ac_header_preproc" >&6 |
16983 | 14798 |
16984 # So? What about this header? | 14799 # So? What about this header? |
16985 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 14800 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
16986 yes:no: ) | 14801 yes:no: ) |
16987 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 14802 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
17001 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | 14816 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
17002 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 14817 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
17003 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 14818 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
17004 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 14819 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
17005 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 14820 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
17006 | 14821 ( |
14822 cat <<\_ASBOX | |
14823 ## ------------------------------------------ ## | |
14824 ## Report this to the AC_PACKAGE_NAME lists. ## | |
14825 ## ------------------------------------------ ## | |
14826 _ASBOX | |
14827 ) | | |
14828 sed "s/^/$as_me: WARNING: /" >&2 | |
17007 ;; | 14829 ;; |
17008 esac | 14830 esac |
17009 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 14831 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
17010 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 14832 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
17011 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 14833 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
17012 echo $ECHO_N "(cached) $ECHO_C" >&6 | 14834 echo $ECHO_N "(cached) $ECHO_C" >&6 |
17013 else | 14835 else |
17014 eval "$as_ac_Header=\$ac_header_preproc" | 14836 eval "$as_ac_Header=\$ac_header_preproc" |
17015 fi | 14837 fi |
17016 ac_res=`eval echo '${'$as_ac_Header'}'` | 14838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
17017 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 14839 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
17018 echo "${ECHO_T}$ac_res" >&6; } | |
17019 | 14840 |
17020 fi | 14841 fi |
17021 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 14842 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
17022 cat >>confdefs.h <<_ACEOF | 14843 cat >>confdefs.h <<_ACEOF |
17023 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 14844 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
17032 | 14853 |
17033 | 14854 |
17034 for ac_header in stdlib.h sys/time.h unistd.h | 14855 for ac_header in stdlib.h sys/time.h unistd.h |
17035 do | 14856 do |
17036 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 14857 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
17037 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 14858 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
17038 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 14859 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
17039 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 14860 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
17040 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 14861 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
17041 echo $ECHO_N "(cached) $ECHO_C" >&6 | 14862 echo $ECHO_N "(cached) $ECHO_C" >&6 |
17042 fi | 14863 fi |
17043 ac_res=`eval echo '${'$as_ac_Header'}'` | 14864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
17044 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 14865 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
17045 echo "${ECHO_T}$ac_res" >&6; } | |
17046 else | 14866 else |
17047 # Is the header compilable? | 14867 # Is the header compilable? |
17048 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 14868 echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
17049 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | 14869 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
17050 cat >conftest.$ac_ext <<_ACEOF | 14870 cat >conftest.$ac_ext <<_ACEOF |
17051 /* confdefs.h. */ | 14871 /* confdefs.h. */ |
17052 _ACEOF | 14872 _ACEOF |
17053 cat confdefs.h >>conftest.$ac_ext | 14873 cat confdefs.h >>conftest.$ac_ext |
17054 cat >>conftest.$ac_ext <<_ACEOF | 14874 cat >>conftest.$ac_ext <<_ACEOF |
17055 /* end confdefs.h. */ | 14875 /* end confdefs.h. */ |
17056 $ac_includes_default | 14876 $ac_includes_default |
17057 #include <$ac_header> | 14877 #include <$ac_header> |
17058 _ACEOF | 14878 _ACEOF |
17059 rm -f conftest.$ac_objext | 14879 rm -f conftest.$ac_objext |
17060 if { (ac_try="$ac_compile" | 14880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
17061 case "(($ac_try" in | 14881 (eval $ac_compile) 2>conftest.er1 |
17062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17063 *) ac_try_echo=$ac_try;; | |
17064 esac | |
17065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17066 (eval "$ac_compile") 2>conftest.er1 | |
17067 ac_status=$? | 14882 ac_status=$? |
17068 grep -v '^ *+' conftest.er1 >conftest.err | 14883 grep -v '^ *+' conftest.er1 >conftest.err |
17069 rm -f conftest.er1 | 14884 rm -f conftest.er1 |
17070 cat conftest.err >&5 | 14885 cat conftest.err >&5 |
17071 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14886 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17072 (exit $ac_status); } && | 14887 (exit $ac_status); } && |
17073 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 14888 { ac_try='test -z "$ac_c_werror_flag" |
17074 { (case "(($ac_try" in | 14889 || test ! -s conftest.err' |
17075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 14890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17076 *) ac_try_echo=$ac_try;; | 14891 (eval $ac_try) 2>&5 |
17077 esac | |
17078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17079 (eval "$ac_try") 2>&5 | |
17080 ac_status=$? | 14892 ac_status=$? |
17081 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14893 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17082 (exit $ac_status); }; } && | 14894 (exit $ac_status); }; } && |
17083 { ac_try='test -s conftest.$ac_objext' | 14895 { ac_try='test -s conftest.$ac_objext' |
17084 { (case "(($ac_try" in | 14896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 14897 (eval $ac_try) 2>&5 |
17086 *) ac_try_echo=$ac_try;; | |
17087 esac | |
17088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17089 (eval "$ac_try") 2>&5 | |
17090 ac_status=$? | 14898 ac_status=$? |
17091 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14899 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17092 (exit $ac_status); }; }; then | 14900 (exit $ac_status); }; }; then |
17093 ac_header_compiler=yes | 14901 ac_header_compiler=yes |
17094 else | 14902 else |
17095 echo "$as_me: failed program was:" >&5 | 14903 echo "$as_me: failed program was:" >&5 |
17096 sed 's/^/| /' conftest.$ac_ext >&5 | 14904 sed 's/^/| /' conftest.$ac_ext >&5 |
17097 | 14905 |
17098 ac_header_compiler=no | 14906 ac_header_compiler=no |
17099 fi | 14907 fi |
17100 | 14908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
17101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 14909 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
17102 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 14910 echo "${ECHO_T}$ac_header_compiler" >&6 |
17103 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
17104 | 14911 |
17105 # Is the header present? | 14912 # Is the header present? |
17106 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 14913 echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
17107 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | 14914 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
17108 cat >conftest.$ac_ext <<_ACEOF | 14915 cat >conftest.$ac_ext <<_ACEOF |
17109 /* confdefs.h. */ | 14916 /* confdefs.h. */ |
17110 _ACEOF | 14917 _ACEOF |
17111 cat confdefs.h >>conftest.$ac_ext | 14918 cat confdefs.h >>conftest.$ac_ext |
17112 cat >>conftest.$ac_ext <<_ACEOF | 14919 cat >>conftest.$ac_ext <<_ACEOF |
17113 /* end confdefs.h. */ | 14920 /* end confdefs.h. */ |
17114 #include <$ac_header> | 14921 #include <$ac_header> |
17115 _ACEOF | 14922 _ACEOF |
17116 if { (ac_try="$ac_cpp conftest.$ac_ext" | 14923 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
17117 case "(($ac_try" in | 14924 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
17118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17119 *) ac_try_echo=$ac_try;; | |
17120 esac | |
17121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17122 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
17123 ac_status=$? | 14925 ac_status=$? |
17124 grep -v '^ *+' conftest.er1 >conftest.err | 14926 grep -v '^ *+' conftest.er1 >conftest.err |
17125 rm -f conftest.er1 | 14927 rm -f conftest.er1 |
17126 cat conftest.err >&5 | 14928 cat conftest.err >&5 |
17127 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14929 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17141 echo "$as_me: failed program was:" >&5 | 14943 echo "$as_me: failed program was:" >&5 |
17142 sed 's/^/| /' conftest.$ac_ext >&5 | 14944 sed 's/^/| /' conftest.$ac_ext >&5 |
17143 | 14945 |
17144 ac_header_preproc=no | 14946 ac_header_preproc=no |
17145 fi | 14947 fi |
17146 | |
17147 rm -f conftest.err conftest.$ac_ext | 14948 rm -f conftest.err conftest.$ac_ext |
17148 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 14949 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
17149 echo "${ECHO_T}$ac_header_preproc" >&6; } | 14950 echo "${ECHO_T}$ac_header_preproc" >&6 |
17150 | 14951 |
17151 # So? What about this header? | 14952 # So? What about this header? |
17152 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 14953 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
17153 yes:no: ) | 14954 yes:no: ) |
17154 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 14955 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
17168 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | 14969 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
17169 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 14970 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
17170 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 14971 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
17171 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 14972 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
17172 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 14973 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
17173 | 14974 ( |
14975 cat <<\_ASBOX | |
14976 ## ------------------------------------------ ## | |
14977 ## Report this to the AC_PACKAGE_NAME lists. ## | |
14978 ## ------------------------------------------ ## | |
14979 _ASBOX | |
14980 ) | | |
14981 sed "s/^/$as_me: WARNING: /" >&2 | |
17174 ;; | 14982 ;; |
17175 esac | 14983 esac |
17176 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 14984 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
17177 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 14985 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
17178 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 14986 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
17179 echo $ECHO_N "(cached) $ECHO_C" >&6 | 14987 echo $ECHO_N "(cached) $ECHO_C" >&6 |
17180 else | 14988 else |
17181 eval "$as_ac_Header=\$ac_header_preproc" | 14989 eval "$as_ac_Header=\$ac_header_preproc" |
17182 fi | 14990 fi |
17183 ac_res=`eval echo '${'$as_ac_Header'}'` | 14991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
17184 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 14992 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
17185 echo "${ECHO_T}$ac_res" >&6; } | |
17186 | 14993 |
17187 fi | 14994 fi |
17188 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 14995 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
17189 cat >>confdefs.h <<_ACEOF | 14996 cat >>confdefs.h <<_ACEOF |
17190 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 14997 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
17196 | 15003 |
17197 | 15004 |
17198 for ac_func in alarm | 15005 for ac_func in alarm |
17199 do | 15006 do |
17200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 15007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
17201 { echo "$as_me:$LINENO: checking for $ac_func" >&5 | 15008 echo "$as_me:$LINENO: checking for $ac_func" >&5 |
17202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 15009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
17203 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 15010 if eval "test \"\${$as_ac_var+set}\" = set"; then |
17204 echo $ECHO_N "(cached) $ECHO_C" >&6 | 15011 echo $ECHO_N "(cached) $ECHO_C" >&6 |
17205 else | 15012 else |
17206 cat >conftest.$ac_ext <<_ACEOF | 15013 cat >conftest.$ac_ext <<_ACEOF |
17207 /* confdefs.h. */ | 15014 /* confdefs.h. */ |
17208 _ACEOF | 15015 _ACEOF |
17224 # include <assert.h> | 15031 # include <assert.h> |
17225 #endif | 15032 #endif |
17226 | 15033 |
17227 #undef $ac_func | 15034 #undef $ac_func |
17228 | 15035 |
17229 /* Override any GCC internal prototype to avoid an error. | 15036 /* Override any gcc2 internal prototype to avoid an error. */ |
17230 Use char because int might match the return type of a GCC | |
17231 builtin and then its argument prototype would still apply. */ | |
17232 #ifdef __cplusplus | 15037 #ifdef __cplusplus |
17233 extern "C" | 15038 extern "C" |
15039 { | |
17234 #endif | 15040 #endif |
15041 /* We use char because int might match the return type of a gcc2 | |
15042 builtin and then its argument prototype would still apply. */ | |
17235 char $ac_func (); | 15043 char $ac_func (); |
17236 /* The GNU C library defines this for functions which it implements | 15044 /* The GNU C library defines this for functions which it implements |
17237 to always fail with ENOSYS. Some functions are actually named | 15045 to always fail with ENOSYS. Some functions are actually named |
17238 something starting with __ and the normal name is an alias. */ | 15046 something starting with __ and the normal name is an alias. */ |
17239 #if defined __stub_$ac_func || defined __stub___$ac_func | 15047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
17240 choke me | 15048 choke me |
15049 #else | |
15050 char (*f) () = $ac_func; | |
15051 #endif | |
15052 #ifdef __cplusplus | |
15053 } | |
17241 #endif | 15054 #endif |
17242 | 15055 |
17243 int | 15056 int |
17244 main () | 15057 main () |
17245 { | 15058 { |
17246 return $ac_func (); | 15059 return f != $ac_func; |
17247 ; | 15060 ; |
17248 return 0; | 15061 return 0; |
17249 } | 15062 } |
17250 _ACEOF | 15063 _ACEOF |
17251 rm -f conftest.$ac_objext conftest$ac_exeext | 15064 rm -f conftest.$ac_objext conftest$ac_exeext |
17252 if { (ac_try="$ac_link" | 15065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
17253 case "(($ac_try" in | 15066 (eval $ac_link) 2>conftest.er1 |
17254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17255 *) ac_try_echo=$ac_try;; | |
17256 esac | |
17257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17258 (eval "$ac_link") 2>conftest.er1 | |
17259 ac_status=$? | 15067 ac_status=$? |
17260 grep -v '^ *+' conftest.er1 >conftest.err | 15068 grep -v '^ *+' conftest.er1 >conftest.err |
17261 rm -f conftest.er1 | 15069 rm -f conftest.er1 |
17262 cat conftest.err >&5 | 15070 cat conftest.err >&5 |
17263 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15071 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17264 (exit $ac_status); } && | 15072 (exit $ac_status); } && |
17265 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 15073 { ac_try='test -z "$ac_c_werror_flag" |
17266 { (case "(($ac_try" in | 15074 || test ! -s conftest.err' |
17267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 15075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17268 *) ac_try_echo=$ac_try;; | 15076 (eval $ac_try) 2>&5 |
17269 esac | |
17270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17271 (eval "$ac_try") 2>&5 | |
17272 ac_status=$? | 15077 ac_status=$? |
17273 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15078 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17274 (exit $ac_status); }; } && | 15079 (exit $ac_status); }; } && |
17275 { ac_try='test -s conftest$ac_exeext' | 15080 { ac_try='test -s conftest$ac_exeext' |
17276 { (case "(($ac_try" in | 15081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 15082 (eval $ac_try) 2>&5 |
17278 *) ac_try_echo=$ac_try;; | |
17279 esac | |
17280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17281 (eval "$ac_try") 2>&5 | |
17282 ac_status=$? | 15083 ac_status=$? |
17283 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15084 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17284 (exit $ac_status); }; }; then | 15085 (exit $ac_status); }; }; then |
17285 eval "$as_ac_var=yes" | 15086 eval "$as_ac_var=yes" |
17286 else | 15087 else |
17287 echo "$as_me: failed program was:" >&5 | 15088 echo "$as_me: failed program was:" >&5 |
17288 sed 's/^/| /' conftest.$ac_ext >&5 | 15089 sed 's/^/| /' conftest.$ac_ext >&5 |
17289 | 15090 |
17290 eval "$as_ac_var=no" | 15091 eval "$as_ac_var=no" |
17291 fi | 15092 fi |
17292 | 15093 rm -f conftest.err conftest.$ac_objext \ |
17293 rm -f core conftest.err conftest.$ac_objext \ | |
17294 conftest$ac_exeext conftest.$ac_ext | 15094 conftest$ac_exeext conftest.$ac_ext |
17295 fi | 15095 fi |
17296 ac_res=`eval echo '${'$as_ac_var'}'` | 15096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
17297 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 15097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
17298 echo "${ECHO_T}$ac_res" >&6; } | |
17299 if test `eval echo '${'$as_ac_var'}'` = yes; then | 15098 if test `eval echo '${'$as_ac_var'}'` = yes; then |
17300 cat >>confdefs.h <<_ACEOF | 15099 cat >>confdefs.h <<_ACEOF |
17301 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 15100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
17302 _ACEOF | 15101 _ACEOF |
17303 | 15102 |
17304 fi | 15103 fi |
17305 done | 15104 done |
17306 | 15105 |
17307 { echo "$as_me:$LINENO: checking for working mktime" >&5 | 15106 echo "$as_me:$LINENO: checking for working mktime" >&5 |
17308 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6; } | 15107 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6 |
17309 if test "${ac_cv_func_working_mktime+set}" = set; then | 15108 if test "${ac_cv_func_working_mktime+set}" = set; then |
17310 echo $ECHO_N "(cached) $ECHO_C" >&6 | 15109 echo $ECHO_N "(cached) $ECHO_C" >&6 |
17311 else | 15110 else |
17312 if test "$cross_compiling" = yes; then | 15111 if test "$cross_compiling" = yes; then |
17313 ac_cv_func_working_mktime=no | 15112 ac_cv_func_working_mktime=no |
17353 (char *) 0, "TZ=GMT0", "TZ=JST-9", | 15152 (char *) 0, "TZ=GMT0", "TZ=JST-9", |
17354 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00" | 15153 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00" |
17355 }; | 15154 }; |
17356 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0])) | 15155 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0])) |
17357 | 15156 |
17358 /* Return 0 if mktime fails to convert a date in the spring-forward gap. | 15157 /* Fail if mktime fails to convert a date in the spring-forward gap. |
17359 Based on a problem report from Andreas Jaeger. */ | 15158 Based on a problem report from Andreas Jaeger. */ |
17360 static int | 15159 static void |
17361 spring_forward_gap () | 15160 spring_forward_gap () |
17362 { | 15161 { |
17363 /* glibc (up to about 1998-10-07) failed this test. */ | 15162 /* glibc (up to about 1998-10-07) failed this test. */ |
17364 struct tm tm; | 15163 struct tm tm; |
17365 | 15164 |
17374 tm.tm_mday = 5; | 15173 tm.tm_mday = 5; |
17375 tm.tm_hour = 2; | 15174 tm.tm_hour = 2; |
17376 tm.tm_min = 0; | 15175 tm.tm_min = 0; |
17377 tm.tm_sec = 0; | 15176 tm.tm_sec = 0; |
17378 tm.tm_isdst = -1; | 15177 tm.tm_isdst = -1; |
17379 return mktime (&tm) != (time_t) -1; | 15178 if (mktime (&tm) == (time_t)-1) |
15179 exit (1); | |
17380 } | 15180 } |
17381 | 15181 |
17382 static int | 15182 static void |
17383 mktime_test1 (now) | 15183 mktime_test1 (now) |
17384 time_t now; | 15184 time_t now; |
17385 { | 15185 { |
17386 struct tm *lt; | 15186 struct tm *lt; |
17387 return ! (lt = localtime (&now)) || mktime (lt) == now; | 15187 if ((lt = localtime (&now)) && mktime (lt) != now) |
15188 exit (1); | |
17388 } | 15189 } |
17389 | 15190 |
17390 static int | 15191 static void |
17391 mktime_test (now) | 15192 mktime_test (now) |
17392 time_t now; | 15193 time_t now; |
17393 { | 15194 { |
17394 return (mktime_test1 (now) | 15195 mktime_test1 (now); |
17395 && mktime_test1 ((time_t) (time_t_max - now)) | 15196 mktime_test1 ((time_t) (time_t_max - now)); |
17396 && mktime_test1 ((time_t) (time_t_min + now))); | 15197 mktime_test1 ((time_t) (time_t_min + now)); |
17397 } | 15198 } |
17398 | 15199 |
17399 static int | 15200 static void |
17400 irix_6_4_bug () | 15201 irix_6_4_bug () |
17401 { | 15202 { |
17402 /* Based on code from Ariel Faigon. */ | 15203 /* Based on code from Ariel Faigon. */ |
17403 struct tm tm; | 15204 struct tm tm; |
17404 tm.tm_year = 96; | 15205 tm.tm_year = 96; |
17407 tm.tm_hour = 0; | 15208 tm.tm_hour = 0; |
17408 tm.tm_min = 0; | 15209 tm.tm_min = 0; |
17409 tm.tm_sec = 0; | 15210 tm.tm_sec = 0; |
17410 tm.tm_isdst = -1; | 15211 tm.tm_isdst = -1; |
17411 mktime (&tm); | 15212 mktime (&tm); |
17412 return tm.tm_mon == 2 && tm.tm_mday == 31; | 15213 if (tm.tm_mon != 2 || tm.tm_mday != 31) |
15214 exit (1); | |
17413 } | 15215 } |
17414 | 15216 |
17415 static int | 15217 static void |
17416 bigtime_test (j) | 15218 bigtime_test (j) |
17417 int j; | 15219 int j; |
17418 { | 15220 { |
17419 struct tm tm; | 15221 struct tm tm; |
17420 time_t now; | 15222 time_t now; |
17432 && lt->tm_sec == tm.tm_sec | 15234 && lt->tm_sec == tm.tm_sec |
17433 && lt->tm_yday == tm.tm_yday | 15235 && lt->tm_yday == tm.tm_yday |
17434 && lt->tm_wday == tm.tm_wday | 15236 && lt->tm_wday == tm.tm_wday |
17435 && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst) | 15237 && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst) |
17436 == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst)))) | 15238 == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst)))) |
17437 return 0; | 15239 exit (1); |
17438 } | 15240 } |
17439 return 1; | |
17440 } | 15241 } |
17441 | 15242 |
17442 int | 15243 int |
17443 main () | 15244 main () |
17444 { | 15245 { |
17461 { | 15262 { |
17462 if (tz_strings[i]) | 15263 if (tz_strings[i]) |
17463 putenv (tz_strings[i]); | 15264 putenv (tz_strings[i]); |
17464 | 15265 |
17465 for (t = 0; t <= time_t_max - delta; t += delta) | 15266 for (t = 0; t <= time_t_max - delta; t += delta) |
17466 if (! mktime_test (t)) | 15267 mktime_test (t); |
17467 return 1; | 15268 mktime_test ((time_t) 1); |
17468 if (! (mktime_test ((time_t) 1) | 15269 mktime_test ((time_t) (60 * 60)); |
17469 && mktime_test ((time_t) (60 * 60)) | 15270 mktime_test ((time_t) (60 * 60 * 24)); |
17470 && mktime_test ((time_t) (60 * 60 * 24)))) | |
17471 return 1; | |
17472 | 15271 |
17473 for (j = 1; 0 < j; j *= 2) | 15272 for (j = 1; 0 < j; j *= 2) |
17474 if (! bigtime_test (j)) | 15273 bigtime_test (j); |
17475 return 1; | 15274 bigtime_test (j - 1); |
17476 if (! bigtime_test (j - 1)) | |
17477 return 1; | |
17478 } | 15275 } |
17479 return ! (irix_6_4_bug () && spring_forward_gap ()); | 15276 irix_6_4_bug (); |
15277 spring_forward_gap (); | |
15278 exit (0); | |
17480 } | 15279 } |
17481 _ACEOF | 15280 _ACEOF |
17482 rm -f conftest$ac_exeext | 15281 rm -f conftest$ac_exeext |
17483 if { (ac_try="$ac_link" | 15282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
17484 case "(($ac_try" in | 15283 (eval $ac_link) 2>&5 |
17485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17486 *) ac_try_echo=$ac_try;; | |
17487 esac | |
17488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17489 (eval "$ac_link") 2>&5 | |
17490 ac_status=$? | 15284 ac_status=$? |
17491 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15285 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17492 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 15286 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
17493 { (case "(($ac_try" in | 15287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 15288 (eval $ac_try) 2>&5 |
17495 *) ac_try_echo=$ac_try;; | |
17496 esac | |
17497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17498 (eval "$ac_try") 2>&5 | |
17499 ac_status=$? | 15289 ac_status=$? |
17500 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15290 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17501 (exit $ac_status); }; }; then | 15291 (exit $ac_status); }; }; then |
17502 ac_cv_func_working_mktime=yes | 15292 ac_cv_func_working_mktime=yes |
17503 else | 15293 else |
17506 sed 's/^/| /' conftest.$ac_ext >&5 | 15296 sed 's/^/| /' conftest.$ac_ext >&5 |
17507 | 15297 |
17508 ( exit $ac_status ) | 15298 ( exit $ac_status ) |
17509 ac_cv_func_working_mktime=no | 15299 ac_cv_func_working_mktime=no |
17510 fi | 15300 fi |
17511 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 15301 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
17512 fi | 15302 fi |
17513 | 15303 fi |
17514 | 15304 echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5 |
17515 fi | 15305 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6 |
17516 { echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5 | |
17517 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6; } | |
17518 if test $ac_cv_func_working_mktime = no; then | 15306 if test $ac_cv_func_working_mktime = no; then |
17519 case " $LIBOBJS " in | 15307 case $LIBOBJS in |
15308 "mktime.$ac_objext" | \ | |
15309 *" mktime.$ac_objext" | \ | |
15310 "mktime.$ac_objext "* | \ | |
17520 *" mktime.$ac_objext "* ) ;; | 15311 *" mktime.$ac_objext "* ) ;; |
17521 *) LIBOBJS="$LIBOBJS mktime.$ac_objext" | 15312 *) LIBOBJS="$LIBOBJS mktime.$ac_objext" ;; |
17522 ;; | |
17523 esac | 15313 esac |
17524 | 15314 |
17525 fi | 15315 fi |
17526 | 15316 |
17527 if test "$ac_cv_func_working_mktime" = no; then | 15317 if test "$ac_cv_func_working_mktime" = no; then |
17541 { (exit 1); exit 1; }; } | 15331 { (exit 1); exit 1; }; } |
17542 | 15332 |
17543 ac_save_LIBS=$LIBS | 15333 ac_save_LIBS=$LIBS |
17544 | 15334 |
17545 # Check for getloadavg, but be sure not to touch the cache variable. | 15335 # Check for getloadavg, but be sure not to touch the cache variable. |
17546 ({ echo "$as_me:$LINENO: checking for getloadavg" >&5 | 15336 (echo "$as_me:$LINENO: checking for getloadavg" >&5 |
17547 echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6; } | 15337 echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6 |
17548 if test "${ac_cv_func_getloadavg+set}" = set; then | 15338 if test "${ac_cv_func_getloadavg+set}" = set; then |
17549 echo $ECHO_N "(cached) $ECHO_C" >&6 | 15339 echo $ECHO_N "(cached) $ECHO_C" >&6 |
17550 else | 15340 else |
17551 cat >conftest.$ac_ext <<_ACEOF | 15341 cat >conftest.$ac_ext <<_ACEOF |
17552 /* confdefs.h. */ | 15342 /* confdefs.h. */ |
17569 # include <assert.h> | 15359 # include <assert.h> |
17570 #endif | 15360 #endif |
17571 | 15361 |
17572 #undef getloadavg | 15362 #undef getloadavg |
17573 | 15363 |
17574 /* Override any GCC internal prototype to avoid an error. | 15364 /* Override any gcc2 internal prototype to avoid an error. */ |
17575 Use char because int might match the return type of a GCC | |
17576 builtin and then its argument prototype would still apply. */ | |
17577 #ifdef __cplusplus | 15365 #ifdef __cplusplus |
17578 extern "C" | 15366 extern "C" |
15367 { | |
17579 #endif | 15368 #endif |
15369 /* We use char because int might match the return type of a gcc2 | |
15370 builtin and then its argument prototype would still apply. */ | |
17580 char getloadavg (); | 15371 char getloadavg (); |
17581 /* The GNU C library defines this for functions which it implements | 15372 /* The GNU C library defines this for functions which it implements |
17582 to always fail with ENOSYS. Some functions are actually named | 15373 to always fail with ENOSYS. Some functions are actually named |
17583 something starting with __ and the normal name is an alias. */ | 15374 something starting with __ and the normal name is an alias. */ |
17584 #if defined __stub_getloadavg || defined __stub___getloadavg | 15375 #if defined (__stub_getloadavg) || defined (__stub___getloadavg) |
17585 choke me | 15376 choke me |
15377 #else | |
15378 char (*f) () = getloadavg; | |
15379 #endif | |
15380 #ifdef __cplusplus | |
15381 } | |
17586 #endif | 15382 #endif |
17587 | 15383 |
17588 int | 15384 int |
17589 main () | 15385 main () |
17590 { | 15386 { |
17591 return getloadavg (); | 15387 return f != getloadavg; |
17592 ; | 15388 ; |
17593 return 0; | 15389 return 0; |
17594 } | 15390 } |
17595 _ACEOF | 15391 _ACEOF |
17596 rm -f conftest.$ac_objext conftest$ac_exeext | 15392 rm -f conftest.$ac_objext conftest$ac_exeext |
17597 if { (ac_try="$ac_link" | 15393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
17598 case "(($ac_try" in | 15394 (eval $ac_link) 2>conftest.er1 |
17599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17600 *) ac_try_echo=$ac_try;; | |
17601 esac | |
17602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17603 (eval "$ac_link") 2>conftest.er1 | |
17604 ac_status=$? | 15395 ac_status=$? |
17605 grep -v '^ *+' conftest.er1 >conftest.err | 15396 grep -v '^ *+' conftest.er1 >conftest.err |
17606 rm -f conftest.er1 | 15397 rm -f conftest.er1 |
17607 cat conftest.err >&5 | 15398 cat conftest.err >&5 |
17608 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15399 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17609 (exit $ac_status); } && | 15400 (exit $ac_status); } && |
17610 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 15401 { ac_try='test -z "$ac_c_werror_flag" |
17611 { (case "(($ac_try" in | 15402 || test ! -s conftest.err' |
17612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 15403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17613 *) ac_try_echo=$ac_try;; | 15404 (eval $ac_try) 2>&5 |
17614 esac | |
17615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17616 (eval "$ac_try") 2>&5 | |
17617 ac_status=$? | 15405 ac_status=$? |
17618 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15406 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17619 (exit $ac_status); }; } && | 15407 (exit $ac_status); }; } && |
17620 { ac_try='test -s conftest$ac_exeext' | 15408 { ac_try='test -s conftest$ac_exeext' |
17621 { (case "(($ac_try" in | 15409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 15410 (eval $ac_try) 2>&5 |
17623 *) ac_try_echo=$ac_try;; | |
17624 esac | |
17625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17626 (eval "$ac_try") 2>&5 | |
17627 ac_status=$? | 15411 ac_status=$? |
17628 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15412 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17629 (exit $ac_status); }; }; then | 15413 (exit $ac_status); }; }; then |
17630 ac_cv_func_getloadavg=yes | 15414 ac_cv_func_getloadavg=yes |
17631 else | 15415 else |
17632 echo "$as_me: failed program was:" >&5 | 15416 echo "$as_me: failed program was:" >&5 |
17633 sed 's/^/| /' conftest.$ac_ext >&5 | 15417 sed 's/^/| /' conftest.$ac_ext >&5 |
17634 | 15418 |
17635 ac_cv_func_getloadavg=no | 15419 ac_cv_func_getloadavg=no |
17636 fi | 15420 fi |
17637 | 15421 rm -f conftest.err conftest.$ac_objext \ |
17638 rm -f core conftest.err conftest.$ac_objext \ | |
17639 conftest$ac_exeext conftest.$ac_ext | 15422 conftest$ac_exeext conftest.$ac_ext |
17640 fi | 15423 fi |
17641 { echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg" >&5 | 15424 echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg" >&5 |
17642 echo "${ECHO_T}$ac_cv_func_getloadavg" >&6; } | 15425 echo "${ECHO_T}$ac_cv_func_getloadavg" >&6 |
17643 if test $ac_cv_func_getloadavg = yes; then | 15426 if test $ac_cv_func_getloadavg = yes; then |
17644 exit 0 | 15427 exit 0 |
17645 else | 15428 else |
17646 exit 1 | 15429 exit 1 |
17647 fi | 15430 fi |
17650 # On HPUX9, an unprivileged user can get load averages through this function. | 15433 # On HPUX9, an unprivileged user can get load averages through this function. |
17651 | 15434 |
17652 for ac_func in pstat_getdynamic | 15435 for ac_func in pstat_getdynamic |
17653 do | 15436 do |
17654 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 15437 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
17655 { echo "$as_me:$LINENO: checking for $ac_func" >&5 | 15438 echo "$as_me:$LINENO: checking for $ac_func" >&5 |
17656 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 15439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
17657 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 15440 if eval "test \"\${$as_ac_var+set}\" = set"; then |
17658 echo $ECHO_N "(cached) $ECHO_C" >&6 | 15441 echo $ECHO_N "(cached) $ECHO_C" >&6 |
17659 else | 15442 else |
17660 cat >conftest.$ac_ext <<_ACEOF | 15443 cat >conftest.$ac_ext <<_ACEOF |
17661 /* confdefs.h. */ | 15444 /* confdefs.h. */ |
17662 _ACEOF | 15445 _ACEOF |
17678 # include <assert.h> | 15461 # include <assert.h> |
17679 #endif | 15462 #endif |
17680 | 15463 |
17681 #undef $ac_func | 15464 #undef $ac_func |
17682 | 15465 |
17683 /* Override any GCC internal prototype to avoid an error. | 15466 /* Override any gcc2 internal prototype to avoid an error. */ |
17684 Use char because int might match the return type of a GCC | |
17685 builtin and then its argument prototype would still apply. */ | |
17686 #ifdef __cplusplus | 15467 #ifdef __cplusplus |
17687 extern "C" | 15468 extern "C" |
15469 { | |
17688 #endif | 15470 #endif |
15471 /* We use char because int might match the return type of a gcc2 | |
15472 builtin and then its argument prototype would still apply. */ | |
17689 char $ac_func (); | 15473 char $ac_func (); |
17690 /* The GNU C library defines this for functions which it implements | 15474 /* The GNU C library defines this for functions which it implements |
17691 to always fail with ENOSYS. Some functions are actually named | 15475 to always fail with ENOSYS. Some functions are actually named |
17692 something starting with __ and the normal name is an alias. */ | 15476 something starting with __ and the normal name is an alias. */ |
17693 #if defined __stub_$ac_func || defined __stub___$ac_func | 15477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
17694 choke me | 15478 choke me |
15479 #else | |
15480 char (*f) () = $ac_func; | |
15481 #endif | |
15482 #ifdef __cplusplus | |
15483 } | |
17695 #endif | 15484 #endif |
17696 | 15485 |
17697 int | 15486 int |
17698 main () | 15487 main () |
17699 { | 15488 { |
17700 return $ac_func (); | 15489 return f != $ac_func; |
17701 ; | 15490 ; |
17702 return 0; | 15491 return 0; |
17703 } | 15492 } |
17704 _ACEOF | 15493 _ACEOF |
17705 rm -f conftest.$ac_objext conftest$ac_exeext | 15494 rm -f conftest.$ac_objext conftest$ac_exeext |
17706 if { (ac_try="$ac_link" | 15495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
17707 case "(($ac_try" in | 15496 (eval $ac_link) 2>conftest.er1 |
17708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17709 *) ac_try_echo=$ac_try;; | |
17710 esac | |
17711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17712 (eval "$ac_link") 2>conftest.er1 | |
17713 ac_status=$? | 15497 ac_status=$? |
17714 grep -v '^ *+' conftest.er1 >conftest.err | 15498 grep -v '^ *+' conftest.er1 >conftest.err |
17715 rm -f conftest.er1 | 15499 rm -f conftest.er1 |
17716 cat conftest.err >&5 | 15500 cat conftest.err >&5 |
17717 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15501 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17718 (exit $ac_status); } && | 15502 (exit $ac_status); } && |
17719 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 15503 { ac_try='test -z "$ac_c_werror_flag" |
17720 { (case "(($ac_try" in | 15504 || test ! -s conftest.err' |
17721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 15505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17722 *) ac_try_echo=$ac_try;; | 15506 (eval $ac_try) 2>&5 |
17723 esac | |
17724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17725 (eval "$ac_try") 2>&5 | |
17726 ac_status=$? | 15507 ac_status=$? |
17727 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15508 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17728 (exit $ac_status); }; } && | 15509 (exit $ac_status); }; } && |
17729 { ac_try='test -s conftest$ac_exeext' | 15510 { ac_try='test -s conftest$ac_exeext' |
17730 { (case "(($ac_try" in | 15511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 15512 (eval $ac_try) 2>&5 |
17732 *) ac_try_echo=$ac_try;; | |
17733 esac | |
17734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17735 (eval "$ac_try") 2>&5 | |
17736 ac_status=$? | 15513 ac_status=$? |
17737 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15514 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17738 (exit $ac_status); }; }; then | 15515 (exit $ac_status); }; }; then |
17739 eval "$as_ac_var=yes" | 15516 eval "$as_ac_var=yes" |
17740 else | 15517 else |
17741 echo "$as_me: failed program was:" >&5 | 15518 echo "$as_me: failed program was:" >&5 |
17742 sed 's/^/| /' conftest.$ac_ext >&5 | 15519 sed 's/^/| /' conftest.$ac_ext >&5 |
17743 | 15520 |
17744 eval "$as_ac_var=no" | 15521 eval "$as_ac_var=no" |
17745 fi | 15522 fi |
17746 | 15523 rm -f conftest.err conftest.$ac_objext \ |
17747 rm -f core conftest.err conftest.$ac_objext \ | |
17748 conftest$ac_exeext conftest.$ac_ext | 15524 conftest$ac_exeext conftest.$ac_ext |
17749 fi | 15525 fi |
17750 ac_res=`eval echo '${'$as_ac_var'}'` | 15526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
17751 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 15527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
17752 echo "${ECHO_T}$ac_res" >&6; } | |
17753 if test `eval echo '${'$as_ac_var'}'` = yes; then | 15528 if test `eval echo '${'$as_ac_var'}'` = yes; then |
17754 cat >>confdefs.h <<_ACEOF | 15529 cat >>confdefs.h <<_ACEOF |
17755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 15530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
17756 _ACEOF | 15531 _ACEOF |
17757 | 15532 |
17759 done | 15534 done |
17760 | 15535 |
17761 | 15536 |
17762 # Solaris has libkstat which does not require root. | 15537 # Solaris has libkstat which does not require root. |
17763 | 15538 |
17764 { echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5 | 15539 echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5 |
17765 echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6; } | 15540 echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6 |
17766 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then | 15541 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then |
17767 echo $ECHO_N "(cached) $ECHO_C" >&6 | 15542 echo $ECHO_N "(cached) $ECHO_C" >&6 |
17768 else | 15543 else |
17769 ac_check_lib_save_LIBS=$LIBS | 15544 ac_check_lib_save_LIBS=$LIBS |
17770 LIBS="-lkstat $LIBS" | 15545 LIBS="-lkstat $LIBS" |
17773 _ACEOF | 15548 _ACEOF |
17774 cat confdefs.h >>conftest.$ac_ext | 15549 cat confdefs.h >>conftest.$ac_ext |
17775 cat >>conftest.$ac_ext <<_ACEOF | 15550 cat >>conftest.$ac_ext <<_ACEOF |
17776 /* end confdefs.h. */ | 15551 /* end confdefs.h. */ |
17777 | 15552 |
17778 /* Override any GCC internal prototype to avoid an error. | 15553 /* Override any gcc2 internal prototype to avoid an error. */ |
17779 Use char because int might match the return type of a GCC | |
17780 builtin and then its argument prototype would still apply. */ | |
17781 #ifdef __cplusplus | 15554 #ifdef __cplusplus |
17782 extern "C" | 15555 extern "C" |
17783 #endif | 15556 #endif |
15557 /* We use char because int might match the return type of a gcc2 | |
15558 builtin and then its argument prototype would still apply. */ | |
17784 char kstat_open (); | 15559 char kstat_open (); |
17785 int | 15560 int |
17786 main () | 15561 main () |
17787 { | 15562 { |
17788 return kstat_open (); | 15563 kstat_open (); |
17789 ; | 15564 ; |
17790 return 0; | 15565 return 0; |
17791 } | 15566 } |
17792 _ACEOF | 15567 _ACEOF |
17793 rm -f conftest.$ac_objext conftest$ac_exeext | 15568 rm -f conftest.$ac_objext conftest$ac_exeext |
17794 if { (ac_try="$ac_link" | 15569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
17795 case "(($ac_try" in | 15570 (eval $ac_link) 2>conftest.er1 |
17796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17797 *) ac_try_echo=$ac_try;; | |
17798 esac | |
17799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17800 (eval "$ac_link") 2>conftest.er1 | |
17801 ac_status=$? | 15571 ac_status=$? |
17802 grep -v '^ *+' conftest.er1 >conftest.err | 15572 grep -v '^ *+' conftest.er1 >conftest.err |
17803 rm -f conftest.er1 | 15573 rm -f conftest.er1 |
17804 cat conftest.err >&5 | 15574 cat conftest.err >&5 |
17805 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15575 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17806 (exit $ac_status); } && | 15576 (exit $ac_status); } && |
17807 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 15577 { ac_try='test -z "$ac_c_werror_flag" |
17808 { (case "(($ac_try" in | 15578 || test ! -s conftest.err' |
17809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 15579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17810 *) ac_try_echo=$ac_try;; | 15580 (eval $ac_try) 2>&5 |
17811 esac | |
17812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17813 (eval "$ac_try") 2>&5 | |
17814 ac_status=$? | 15581 ac_status=$? |
17815 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15582 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17816 (exit $ac_status); }; } && | 15583 (exit $ac_status); }; } && |
17817 { ac_try='test -s conftest$ac_exeext' | 15584 { ac_try='test -s conftest$ac_exeext' |
17818 { (case "(($ac_try" in | 15585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 15586 (eval $ac_try) 2>&5 |
17820 *) ac_try_echo=$ac_try;; | |
17821 esac | |
17822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17823 (eval "$ac_try") 2>&5 | |
17824 ac_status=$? | 15587 ac_status=$? |
17825 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15588 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17826 (exit $ac_status); }; }; then | 15589 (exit $ac_status); }; }; then |
17827 ac_cv_lib_kstat_kstat_open=yes | 15590 ac_cv_lib_kstat_kstat_open=yes |
17828 else | 15591 else |
17829 echo "$as_me: failed program was:" >&5 | 15592 echo "$as_me: failed program was:" >&5 |
17830 sed 's/^/| /' conftest.$ac_ext >&5 | 15593 sed 's/^/| /' conftest.$ac_ext >&5 |
17831 | 15594 |
17832 ac_cv_lib_kstat_kstat_open=no | 15595 ac_cv_lib_kstat_kstat_open=no |
17833 fi | 15596 fi |
17834 | 15597 rm -f conftest.err conftest.$ac_objext \ |
17835 rm -f core conftest.err conftest.$ac_objext \ | |
17836 conftest$ac_exeext conftest.$ac_ext | 15598 conftest$ac_exeext conftest.$ac_ext |
17837 LIBS=$ac_check_lib_save_LIBS | 15599 LIBS=$ac_check_lib_save_LIBS |
17838 fi | 15600 fi |
17839 { echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5 | 15601 echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5 |
17840 echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6; } | 15602 echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6 |
17841 if test $ac_cv_lib_kstat_kstat_open = yes; then | 15603 if test $ac_cv_lib_kstat_kstat_open = yes; then |
17842 cat >>confdefs.h <<_ACEOF | 15604 cat >>confdefs.h <<_ACEOF |
17843 #define HAVE_LIBKSTAT 1 | 15605 #define HAVE_LIBKSTAT 1 |
17844 _ACEOF | 15606 _ACEOF |
17845 | 15607 |
17852 # Some systems with -lutil have (and need) -lkvm as well, some do not. | 15614 # Some systems with -lutil have (and need) -lkvm as well, some do not. |
17853 # On Solaris, -lkvm requires nlist from -lelf, so check that first | 15615 # On Solaris, -lkvm requires nlist from -lelf, so check that first |
17854 # to get the right answer into the cache. | 15616 # to get the right answer into the cache. |
17855 # For kstat on solaris, we need libelf to force the definition of SVR4 below. | 15617 # For kstat on solaris, we need libelf to force the definition of SVR4 below. |
17856 if test $ac_have_func = no; then | 15618 if test $ac_have_func = no; then |
17857 { echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5 | 15619 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5 |
17858 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6; } | 15620 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6 |
17859 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then | 15621 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then |
17860 echo $ECHO_N "(cached) $ECHO_C" >&6 | 15622 echo $ECHO_N "(cached) $ECHO_C" >&6 |
17861 else | 15623 else |
17862 ac_check_lib_save_LIBS=$LIBS | 15624 ac_check_lib_save_LIBS=$LIBS |
17863 LIBS="-lelf $LIBS" | 15625 LIBS="-lelf $LIBS" |
17866 _ACEOF | 15628 _ACEOF |
17867 cat confdefs.h >>conftest.$ac_ext | 15629 cat confdefs.h >>conftest.$ac_ext |
17868 cat >>conftest.$ac_ext <<_ACEOF | 15630 cat >>conftest.$ac_ext <<_ACEOF |
17869 /* end confdefs.h. */ | 15631 /* end confdefs.h. */ |
17870 | 15632 |
17871 /* Override any GCC internal prototype to avoid an error. | 15633 /* Override any gcc2 internal prototype to avoid an error. */ |
17872 Use char because int might match the return type of a GCC | |
17873 builtin and then its argument prototype would still apply. */ | |
17874 #ifdef __cplusplus | 15634 #ifdef __cplusplus |
17875 extern "C" | 15635 extern "C" |
17876 #endif | 15636 #endif |
15637 /* We use char because int might match the return type of a gcc2 | |
15638 builtin and then its argument prototype would still apply. */ | |
17877 char elf_begin (); | 15639 char elf_begin (); |
17878 int | 15640 int |
17879 main () | 15641 main () |
17880 { | 15642 { |
17881 return elf_begin (); | 15643 elf_begin (); |
17882 ; | 15644 ; |
17883 return 0; | 15645 return 0; |
17884 } | 15646 } |
17885 _ACEOF | 15647 _ACEOF |
17886 rm -f conftest.$ac_objext conftest$ac_exeext | 15648 rm -f conftest.$ac_objext conftest$ac_exeext |
17887 if { (ac_try="$ac_link" | 15649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
17888 case "(($ac_try" in | 15650 (eval $ac_link) 2>conftest.er1 |
17889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17890 *) ac_try_echo=$ac_try;; | |
17891 esac | |
17892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17893 (eval "$ac_link") 2>conftest.er1 | |
17894 ac_status=$? | 15651 ac_status=$? |
17895 grep -v '^ *+' conftest.er1 >conftest.err | 15652 grep -v '^ *+' conftest.er1 >conftest.err |
17896 rm -f conftest.er1 | 15653 rm -f conftest.er1 |
17897 cat conftest.err >&5 | 15654 cat conftest.err >&5 |
17898 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15655 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17899 (exit $ac_status); } && | 15656 (exit $ac_status); } && |
17900 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 15657 { ac_try='test -z "$ac_c_werror_flag" |
17901 { (case "(($ac_try" in | 15658 || test ! -s conftest.err' |
17902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 15659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17903 *) ac_try_echo=$ac_try;; | 15660 (eval $ac_try) 2>&5 |
17904 esac | |
17905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17906 (eval "$ac_try") 2>&5 | |
17907 ac_status=$? | 15661 ac_status=$? |
17908 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15662 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17909 (exit $ac_status); }; } && | 15663 (exit $ac_status); }; } && |
17910 { ac_try='test -s conftest$ac_exeext' | 15664 { ac_try='test -s conftest$ac_exeext' |
17911 { (case "(($ac_try" in | 15665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 15666 (eval $ac_try) 2>&5 |
17913 *) ac_try_echo=$ac_try;; | |
17914 esac | |
17915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17916 (eval "$ac_try") 2>&5 | |
17917 ac_status=$? | 15667 ac_status=$? |
17918 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15668 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17919 (exit $ac_status); }; }; then | 15669 (exit $ac_status); }; }; then |
17920 ac_cv_lib_elf_elf_begin=yes | 15670 ac_cv_lib_elf_elf_begin=yes |
17921 else | 15671 else |
17922 echo "$as_me: failed program was:" >&5 | 15672 echo "$as_me: failed program was:" >&5 |
17923 sed 's/^/| /' conftest.$ac_ext >&5 | 15673 sed 's/^/| /' conftest.$ac_ext >&5 |
17924 | 15674 |
17925 ac_cv_lib_elf_elf_begin=no | 15675 ac_cv_lib_elf_elf_begin=no |
17926 fi | 15676 fi |
17927 | 15677 rm -f conftest.err conftest.$ac_objext \ |
17928 rm -f core conftest.err conftest.$ac_objext \ | |
17929 conftest$ac_exeext conftest.$ac_ext | 15678 conftest$ac_exeext conftest.$ac_ext |
17930 LIBS=$ac_check_lib_save_LIBS | 15679 LIBS=$ac_check_lib_save_LIBS |
17931 fi | 15680 fi |
17932 { echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5 | 15681 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5 |
17933 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6; } | 15682 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6 |
17934 if test $ac_cv_lib_elf_elf_begin = yes; then | 15683 if test $ac_cv_lib_elf_elf_begin = yes; then |
17935 LIBS="-lelf $LIBS" | 15684 LIBS="-lelf $LIBS" |
17936 fi | 15685 fi |
17937 | 15686 |
17938 fi | 15687 fi |
17939 if test $ac_have_func = no; then | 15688 if test $ac_have_func = no; then |
17940 { echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5 | 15689 echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5 |
17941 echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6; } | 15690 echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6 |
17942 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then | 15691 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then |
17943 echo $ECHO_N "(cached) $ECHO_C" >&6 | 15692 echo $ECHO_N "(cached) $ECHO_C" >&6 |
17944 else | 15693 else |
17945 ac_check_lib_save_LIBS=$LIBS | 15694 ac_check_lib_save_LIBS=$LIBS |
17946 LIBS="-lkvm $LIBS" | 15695 LIBS="-lkvm $LIBS" |
17949 _ACEOF | 15698 _ACEOF |
17950 cat confdefs.h >>conftest.$ac_ext | 15699 cat confdefs.h >>conftest.$ac_ext |
17951 cat >>conftest.$ac_ext <<_ACEOF | 15700 cat >>conftest.$ac_ext <<_ACEOF |
17952 /* end confdefs.h. */ | 15701 /* end confdefs.h. */ |
17953 | 15702 |
17954 /* Override any GCC internal prototype to avoid an error. | 15703 /* Override any gcc2 internal prototype to avoid an error. */ |
17955 Use char because int might match the return type of a GCC | |
17956 builtin and then its argument prototype would still apply. */ | |
17957 #ifdef __cplusplus | 15704 #ifdef __cplusplus |
17958 extern "C" | 15705 extern "C" |
17959 #endif | 15706 #endif |
15707 /* We use char because int might match the return type of a gcc2 | |
15708 builtin and then its argument prototype would still apply. */ | |
17960 char kvm_open (); | 15709 char kvm_open (); |
17961 int | 15710 int |
17962 main () | 15711 main () |
17963 { | 15712 { |
17964 return kvm_open (); | 15713 kvm_open (); |
17965 ; | 15714 ; |
17966 return 0; | 15715 return 0; |
17967 } | 15716 } |
17968 _ACEOF | 15717 _ACEOF |
17969 rm -f conftest.$ac_objext conftest$ac_exeext | 15718 rm -f conftest.$ac_objext conftest$ac_exeext |
17970 if { (ac_try="$ac_link" | 15719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
17971 case "(($ac_try" in | 15720 (eval $ac_link) 2>conftest.er1 |
17972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17973 *) ac_try_echo=$ac_try;; | |
17974 esac | |
17975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17976 (eval "$ac_link") 2>conftest.er1 | |
17977 ac_status=$? | 15721 ac_status=$? |
17978 grep -v '^ *+' conftest.er1 >conftest.err | 15722 grep -v '^ *+' conftest.er1 >conftest.err |
17979 rm -f conftest.er1 | 15723 rm -f conftest.er1 |
17980 cat conftest.err >&5 | 15724 cat conftest.err >&5 |
17981 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15725 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17982 (exit $ac_status); } && | 15726 (exit $ac_status); } && |
17983 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 15727 { ac_try='test -z "$ac_c_werror_flag" |
17984 { (case "(($ac_try" in | 15728 || test ! -s conftest.err' |
17985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 15729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17986 *) ac_try_echo=$ac_try;; | 15730 (eval $ac_try) 2>&5 |
17987 esac | |
17988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17989 (eval "$ac_try") 2>&5 | |
17990 ac_status=$? | 15731 ac_status=$? |
17991 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15732 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17992 (exit $ac_status); }; } && | 15733 (exit $ac_status); }; } && |
17993 { ac_try='test -s conftest$ac_exeext' | 15734 { ac_try='test -s conftest$ac_exeext' |
17994 { (case "(($ac_try" in | 15735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 15736 (eval $ac_try) 2>&5 |
17996 *) ac_try_echo=$ac_try;; | |
17997 esac | |
17998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17999 (eval "$ac_try") 2>&5 | |
18000 ac_status=$? | 15737 ac_status=$? |
18001 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15738 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18002 (exit $ac_status); }; }; then | 15739 (exit $ac_status); }; }; then |
18003 ac_cv_lib_kvm_kvm_open=yes | 15740 ac_cv_lib_kvm_kvm_open=yes |
18004 else | 15741 else |
18005 echo "$as_me: failed program was:" >&5 | 15742 echo "$as_me: failed program was:" >&5 |
18006 sed 's/^/| /' conftest.$ac_ext >&5 | 15743 sed 's/^/| /' conftest.$ac_ext >&5 |
18007 | 15744 |
18008 ac_cv_lib_kvm_kvm_open=no | 15745 ac_cv_lib_kvm_kvm_open=no |
18009 fi | 15746 fi |
18010 | 15747 rm -f conftest.err conftest.$ac_objext \ |
18011 rm -f core conftest.err conftest.$ac_objext \ | |
18012 conftest$ac_exeext conftest.$ac_ext | 15748 conftest$ac_exeext conftest.$ac_ext |
18013 LIBS=$ac_check_lib_save_LIBS | 15749 LIBS=$ac_check_lib_save_LIBS |
18014 fi | 15750 fi |
18015 { echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5 | 15751 echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5 |
18016 echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6; } | 15752 echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6 |
18017 if test $ac_cv_lib_kvm_kvm_open = yes; then | 15753 if test $ac_cv_lib_kvm_kvm_open = yes; then |
18018 LIBS="-lkvm $LIBS" | 15754 LIBS="-lkvm $LIBS" |
18019 fi | 15755 fi |
18020 | 15756 |
18021 # Check for the 4.4BSD definition of getloadavg. | 15757 # Check for the 4.4BSD definition of getloadavg. |
18022 { echo "$as_me:$LINENO: checking for getloadavg in -lutil" >&5 | 15758 echo "$as_me:$LINENO: checking for getloadavg in -lutil" >&5 |
18023 echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6; } | 15759 echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6 |
18024 if test "${ac_cv_lib_util_getloadavg+set}" = set; then | 15760 if test "${ac_cv_lib_util_getloadavg+set}" = set; then |
18025 echo $ECHO_N "(cached) $ECHO_C" >&6 | 15761 echo $ECHO_N "(cached) $ECHO_C" >&6 |
18026 else | 15762 else |
18027 ac_check_lib_save_LIBS=$LIBS | 15763 ac_check_lib_save_LIBS=$LIBS |
18028 LIBS="-lutil $LIBS" | 15764 LIBS="-lutil $LIBS" |
18031 _ACEOF | 15767 _ACEOF |
18032 cat confdefs.h >>conftest.$ac_ext | 15768 cat confdefs.h >>conftest.$ac_ext |
18033 cat >>conftest.$ac_ext <<_ACEOF | 15769 cat >>conftest.$ac_ext <<_ACEOF |
18034 /* end confdefs.h. */ | 15770 /* end confdefs.h. */ |
18035 | 15771 |
18036 /* Override any GCC internal prototype to avoid an error. | 15772 /* Override any gcc2 internal prototype to avoid an error. */ |
18037 Use char because int might match the return type of a GCC | |
18038 builtin and then its argument prototype would still apply. */ | |
18039 #ifdef __cplusplus | 15773 #ifdef __cplusplus |
18040 extern "C" | 15774 extern "C" |
18041 #endif | 15775 #endif |
15776 /* We use char because int might match the return type of a gcc2 | |
15777 builtin and then its argument prototype would still apply. */ | |
18042 char getloadavg (); | 15778 char getloadavg (); |
18043 int | 15779 int |
18044 main () | 15780 main () |
18045 { | 15781 { |
18046 return getloadavg (); | 15782 getloadavg (); |
18047 ; | 15783 ; |
18048 return 0; | 15784 return 0; |
18049 } | 15785 } |
18050 _ACEOF | 15786 _ACEOF |
18051 rm -f conftest.$ac_objext conftest$ac_exeext | 15787 rm -f conftest.$ac_objext conftest$ac_exeext |
18052 if { (ac_try="$ac_link" | 15788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
18053 case "(($ac_try" in | 15789 (eval $ac_link) 2>conftest.er1 |
18054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18055 *) ac_try_echo=$ac_try;; | |
18056 esac | |
18057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18058 (eval "$ac_link") 2>conftest.er1 | |
18059 ac_status=$? | 15790 ac_status=$? |
18060 grep -v '^ *+' conftest.er1 >conftest.err | 15791 grep -v '^ *+' conftest.er1 >conftest.err |
18061 rm -f conftest.er1 | 15792 rm -f conftest.er1 |
18062 cat conftest.err >&5 | 15793 cat conftest.err >&5 |
18063 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15794 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18064 (exit $ac_status); } && | 15795 (exit $ac_status); } && |
18065 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 15796 { ac_try='test -z "$ac_c_werror_flag" |
18066 { (case "(($ac_try" in | 15797 || test ! -s conftest.err' |
18067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 15798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18068 *) ac_try_echo=$ac_try;; | 15799 (eval $ac_try) 2>&5 |
18069 esac | |
18070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18071 (eval "$ac_try") 2>&5 | |
18072 ac_status=$? | 15800 ac_status=$? |
18073 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15801 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18074 (exit $ac_status); }; } && | 15802 (exit $ac_status); }; } && |
18075 { ac_try='test -s conftest$ac_exeext' | 15803 { ac_try='test -s conftest$ac_exeext' |
18076 { (case "(($ac_try" in | 15804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 15805 (eval $ac_try) 2>&5 |
18078 *) ac_try_echo=$ac_try;; | |
18079 esac | |
18080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18081 (eval "$ac_try") 2>&5 | |
18082 ac_status=$? | 15806 ac_status=$? |
18083 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15807 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18084 (exit $ac_status); }; }; then | 15808 (exit $ac_status); }; }; then |
18085 ac_cv_lib_util_getloadavg=yes | 15809 ac_cv_lib_util_getloadavg=yes |
18086 else | 15810 else |
18087 echo "$as_me: failed program was:" >&5 | 15811 echo "$as_me: failed program was:" >&5 |
18088 sed 's/^/| /' conftest.$ac_ext >&5 | 15812 sed 's/^/| /' conftest.$ac_ext >&5 |
18089 | 15813 |
18090 ac_cv_lib_util_getloadavg=no | 15814 ac_cv_lib_util_getloadavg=no |
18091 fi | 15815 fi |
18092 | 15816 rm -f conftest.err conftest.$ac_objext \ |
18093 rm -f core conftest.err conftest.$ac_objext \ | |
18094 conftest$ac_exeext conftest.$ac_ext | 15817 conftest$ac_exeext conftest.$ac_ext |
18095 LIBS=$ac_check_lib_save_LIBS | 15818 LIBS=$ac_check_lib_save_LIBS |
18096 fi | 15819 fi |
18097 { echo "$as_me:$LINENO: result: $ac_cv_lib_util_getloadavg" >&5 | 15820 echo "$as_me:$LINENO: result: $ac_cv_lib_util_getloadavg" >&5 |
18098 echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6; } | 15821 echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6 |
18099 if test $ac_cv_lib_util_getloadavg = yes; then | 15822 if test $ac_cv_lib_util_getloadavg = yes; then |
18100 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes | 15823 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes |
18101 fi | 15824 fi |
18102 | 15825 |
18103 fi | 15826 fi |
18105 if test $ac_have_func = no; then | 15828 if test $ac_have_func = no; then |
18106 # There is a commonly available library for RS/6000 AIX. | 15829 # There is a commonly available library for RS/6000 AIX. |
18107 # Since it is not a standard part of AIX, it might be installed locally. | 15830 # Since it is not a standard part of AIX, it might be installed locally. |
18108 ac_getloadavg_LIBS=$LIBS | 15831 ac_getloadavg_LIBS=$LIBS |
18109 LIBS="-L/usr/local/lib $LIBS" | 15832 LIBS="-L/usr/local/lib $LIBS" |
18110 { echo "$as_me:$LINENO: checking for getloadavg in -lgetloadavg" >&5 | 15833 echo "$as_me:$LINENO: checking for getloadavg in -lgetloadavg" >&5 |
18111 echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6; } | 15834 echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6 |
18112 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then | 15835 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then |
18113 echo $ECHO_N "(cached) $ECHO_C" >&6 | 15836 echo $ECHO_N "(cached) $ECHO_C" >&6 |
18114 else | 15837 else |
18115 ac_check_lib_save_LIBS=$LIBS | 15838 ac_check_lib_save_LIBS=$LIBS |
18116 LIBS="-lgetloadavg $LIBS" | 15839 LIBS="-lgetloadavg $LIBS" |
18119 _ACEOF | 15842 _ACEOF |
18120 cat confdefs.h >>conftest.$ac_ext | 15843 cat confdefs.h >>conftest.$ac_ext |
18121 cat >>conftest.$ac_ext <<_ACEOF | 15844 cat >>conftest.$ac_ext <<_ACEOF |
18122 /* end confdefs.h. */ | 15845 /* end confdefs.h. */ |
18123 | 15846 |
18124 /* Override any GCC internal prototype to avoid an error. | 15847 /* Override any gcc2 internal prototype to avoid an error. */ |
18125 Use char because int might match the return type of a GCC | |
18126 builtin and then its argument prototype would still apply. */ | |
18127 #ifdef __cplusplus | 15848 #ifdef __cplusplus |
18128 extern "C" | 15849 extern "C" |
18129 #endif | 15850 #endif |
15851 /* We use char because int might match the return type of a gcc2 | |
15852 builtin and then its argument prototype would still apply. */ | |
18130 char getloadavg (); | 15853 char getloadavg (); |
18131 int | 15854 int |
18132 main () | 15855 main () |
18133 { | 15856 { |
18134 return getloadavg (); | 15857 getloadavg (); |
18135 ; | 15858 ; |
18136 return 0; | 15859 return 0; |
18137 } | 15860 } |
18138 _ACEOF | 15861 _ACEOF |
18139 rm -f conftest.$ac_objext conftest$ac_exeext | 15862 rm -f conftest.$ac_objext conftest$ac_exeext |
18140 if { (ac_try="$ac_link" | 15863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
18141 case "(($ac_try" in | 15864 (eval $ac_link) 2>conftest.er1 |
18142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18143 *) ac_try_echo=$ac_try;; | |
18144 esac | |
18145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18146 (eval "$ac_link") 2>conftest.er1 | |
18147 ac_status=$? | 15865 ac_status=$? |
18148 grep -v '^ *+' conftest.er1 >conftest.err | 15866 grep -v '^ *+' conftest.er1 >conftest.err |
18149 rm -f conftest.er1 | 15867 rm -f conftest.er1 |
18150 cat conftest.err >&5 | 15868 cat conftest.err >&5 |
18151 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15869 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18152 (exit $ac_status); } && | 15870 (exit $ac_status); } && |
18153 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 15871 { ac_try='test -z "$ac_c_werror_flag" |
18154 { (case "(($ac_try" in | 15872 || test ! -s conftest.err' |
18155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 15873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18156 *) ac_try_echo=$ac_try;; | 15874 (eval $ac_try) 2>&5 |
18157 esac | |
18158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18159 (eval "$ac_try") 2>&5 | |
18160 ac_status=$? | 15875 ac_status=$? |
18161 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15876 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18162 (exit $ac_status); }; } && | 15877 (exit $ac_status); }; } && |
18163 { ac_try='test -s conftest$ac_exeext' | 15878 { ac_try='test -s conftest$ac_exeext' |
18164 { (case "(($ac_try" in | 15879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 15880 (eval $ac_try) 2>&5 |
18166 *) ac_try_echo=$ac_try;; | |
18167 esac | |
18168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18169 (eval "$ac_try") 2>&5 | |
18170 ac_status=$? | 15881 ac_status=$? |
18171 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15882 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18172 (exit $ac_status); }; }; then | 15883 (exit $ac_status); }; }; then |
18173 ac_cv_lib_getloadavg_getloadavg=yes | 15884 ac_cv_lib_getloadavg_getloadavg=yes |
18174 else | 15885 else |
18175 echo "$as_me: failed program was:" >&5 | 15886 echo "$as_me: failed program was:" >&5 |
18176 sed 's/^/| /' conftest.$ac_ext >&5 | 15887 sed 's/^/| /' conftest.$ac_ext >&5 |
18177 | 15888 |
18178 ac_cv_lib_getloadavg_getloadavg=no | 15889 ac_cv_lib_getloadavg_getloadavg=no |
18179 fi | 15890 fi |
18180 | 15891 rm -f conftest.err conftest.$ac_objext \ |
18181 rm -f core conftest.err conftest.$ac_objext \ | |
18182 conftest$ac_exeext conftest.$ac_ext | 15892 conftest$ac_exeext conftest.$ac_ext |
18183 LIBS=$ac_check_lib_save_LIBS | 15893 LIBS=$ac_check_lib_save_LIBS |
18184 fi | 15894 fi |
18185 { echo "$as_me:$LINENO: result: $ac_cv_lib_getloadavg_getloadavg" >&5 | 15895 echo "$as_me:$LINENO: result: $ac_cv_lib_getloadavg_getloadavg" >&5 |
18186 echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6; } | 15896 echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6 |
18187 if test $ac_cv_lib_getloadavg_getloadavg = yes; then | 15897 if test $ac_cv_lib_getloadavg_getloadavg = yes; then |
18188 LIBS="-lgetloadavg $LIBS" | 15898 LIBS="-lgetloadavg $LIBS" |
18189 else | 15899 else |
18190 LIBS=$ac_getloadavg_LIBS | 15900 LIBS=$ac_getloadavg_LIBS |
18191 fi | 15901 fi |
18196 # otherwise set up the replacement function. | 15906 # otherwise set up the replacement function. |
18197 | 15907 |
18198 for ac_func in getloadavg | 15908 for ac_func in getloadavg |
18199 do | 15909 do |
18200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 15910 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
18201 { echo "$as_me:$LINENO: checking for $ac_func" >&5 | 15911 echo "$as_me:$LINENO: checking for $ac_func" >&5 |
18202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 15912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
18203 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 15913 if eval "test \"\${$as_ac_var+set}\" = set"; then |
18204 echo $ECHO_N "(cached) $ECHO_C" >&6 | 15914 echo $ECHO_N "(cached) $ECHO_C" >&6 |
18205 else | 15915 else |
18206 cat >conftest.$ac_ext <<_ACEOF | 15916 cat >conftest.$ac_ext <<_ACEOF |
18207 /* confdefs.h. */ | 15917 /* confdefs.h. */ |
18208 _ACEOF | 15918 _ACEOF |
18224 # include <assert.h> | 15934 # include <assert.h> |
18225 #endif | 15935 #endif |
18226 | 15936 |
18227 #undef $ac_func | 15937 #undef $ac_func |
18228 | 15938 |
18229 /* Override any GCC internal prototype to avoid an error. | 15939 /* Override any gcc2 internal prototype to avoid an error. */ |
18230 Use char because int might match the return type of a GCC | |
18231 builtin and then its argument prototype would still apply. */ | |
18232 #ifdef __cplusplus | 15940 #ifdef __cplusplus |
18233 extern "C" | 15941 extern "C" |
15942 { | |
18234 #endif | 15943 #endif |
15944 /* We use char because int might match the return type of a gcc2 | |
15945 builtin and then its argument prototype would still apply. */ | |
18235 char $ac_func (); | 15946 char $ac_func (); |
18236 /* The GNU C library defines this for functions which it implements | 15947 /* The GNU C library defines this for functions which it implements |
18237 to always fail with ENOSYS. Some functions are actually named | 15948 to always fail with ENOSYS. Some functions are actually named |
18238 something starting with __ and the normal name is an alias. */ | 15949 something starting with __ and the normal name is an alias. */ |
18239 #if defined __stub_$ac_func || defined __stub___$ac_func | 15950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
18240 choke me | 15951 choke me |
15952 #else | |
15953 char (*f) () = $ac_func; | |
15954 #endif | |
15955 #ifdef __cplusplus | |
15956 } | |
18241 #endif | 15957 #endif |
18242 | 15958 |
18243 int | 15959 int |
18244 main () | 15960 main () |
18245 { | 15961 { |
18246 return $ac_func (); | 15962 return f != $ac_func; |
18247 ; | 15963 ; |
18248 return 0; | 15964 return 0; |
18249 } | 15965 } |
18250 _ACEOF | 15966 _ACEOF |
18251 rm -f conftest.$ac_objext conftest$ac_exeext | 15967 rm -f conftest.$ac_objext conftest$ac_exeext |
18252 if { (ac_try="$ac_link" | 15968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
18253 case "(($ac_try" in | 15969 (eval $ac_link) 2>conftest.er1 |
18254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18255 *) ac_try_echo=$ac_try;; | |
18256 esac | |
18257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18258 (eval "$ac_link") 2>conftest.er1 | |
18259 ac_status=$? | 15970 ac_status=$? |
18260 grep -v '^ *+' conftest.er1 >conftest.err | 15971 grep -v '^ *+' conftest.er1 >conftest.err |
18261 rm -f conftest.er1 | 15972 rm -f conftest.er1 |
18262 cat conftest.err >&5 | 15973 cat conftest.err >&5 |
18263 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15974 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18264 (exit $ac_status); } && | 15975 (exit $ac_status); } && |
18265 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 15976 { ac_try='test -z "$ac_c_werror_flag" |
18266 { (case "(($ac_try" in | 15977 || test ! -s conftest.err' |
18267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 15978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18268 *) ac_try_echo=$ac_try;; | 15979 (eval $ac_try) 2>&5 |
18269 esac | |
18270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18271 (eval "$ac_try") 2>&5 | |
18272 ac_status=$? | 15980 ac_status=$? |
18273 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15981 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18274 (exit $ac_status); }; } && | 15982 (exit $ac_status); }; } && |
18275 { ac_try='test -s conftest$ac_exeext' | 15983 { ac_try='test -s conftest$ac_exeext' |
18276 { (case "(($ac_try" in | 15984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 15985 (eval $ac_try) 2>&5 |
18278 *) ac_try_echo=$ac_try;; | |
18279 esac | |
18280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18281 (eval "$ac_try") 2>&5 | |
18282 ac_status=$? | 15986 ac_status=$? |
18283 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15987 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18284 (exit $ac_status); }; }; then | 15988 (exit $ac_status); }; }; then |
18285 eval "$as_ac_var=yes" | 15989 eval "$as_ac_var=yes" |
18286 else | 15990 else |
18287 echo "$as_me: failed program was:" >&5 | 15991 echo "$as_me: failed program was:" >&5 |
18288 sed 's/^/| /' conftest.$ac_ext >&5 | 15992 sed 's/^/| /' conftest.$ac_ext >&5 |
18289 | 15993 |
18290 eval "$as_ac_var=no" | 15994 eval "$as_ac_var=no" |
18291 fi | 15995 fi |
18292 | 15996 rm -f conftest.err conftest.$ac_objext \ |
18293 rm -f core conftest.err conftest.$ac_objext \ | |
18294 conftest$ac_exeext conftest.$ac_ext | 15997 conftest$ac_exeext conftest.$ac_ext |
18295 fi | 15998 fi |
18296 ac_res=`eval echo '${'$as_ac_var'}'` | 15999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
18297 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 16000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
18298 echo "${ECHO_T}$ac_res" >&6; } | |
18299 if test `eval echo '${'$as_ac_var'}'` = yes; then | 16001 if test `eval echo '${'$as_ac_var'}'` = yes; then |
18300 cat >>confdefs.h <<_ACEOF | 16002 cat >>confdefs.h <<_ACEOF |
18301 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 16003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
18302 _ACEOF | 16004 _ACEOF |
18303 | 16005 |
18304 else | 16006 else |
18305 case " $LIBOBJS " in | 16007 case $LIBOBJS in |
16008 "getloadavg.$ac_objext" | \ | |
16009 *" getloadavg.$ac_objext" | \ | |
16010 "getloadavg.$ac_objext "* | \ | |
18306 *" getloadavg.$ac_objext "* ) ;; | 16011 *" getloadavg.$ac_objext "* ) ;; |
18307 *) LIBOBJS="$LIBOBJS getloadavg.$ac_objext" | 16012 *) LIBOBJS="$LIBOBJS getloadavg.$ac_objext" ;; |
18308 ;; | |
18309 esac | 16013 esac |
18310 | 16014 |
18311 | 16015 |
18312 cat >>confdefs.h <<\_ACEOF | 16016 cat >>confdefs.h <<\_ACEOF |
18313 #define C_GETLOADAVG 1 | 16017 #define C_GETLOADAVG 1 |
18314 _ACEOF | 16018 _ACEOF |
18315 | 16019 |
18316 # Figure out what our getloadavg.c needs. | 16020 # Figure out what our getloadavg.c needs. |
18317 ac_have_func=no | 16021 ac_have_func=no |
18318 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then | 16022 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then |
18319 { echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5 | 16023 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5 |
18320 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6; } | 16024 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6 |
18321 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then | 16025 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then |
18322 echo $ECHO_N "(cached) $ECHO_C" >&6 | 16026 echo $ECHO_N "(cached) $ECHO_C" >&6 |
18323 fi | 16027 fi |
18324 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5 | 16028 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5 |
18325 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6; } | 16029 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6 |
18326 else | 16030 else |
18327 # Is the header compilable? | 16031 # Is the header compilable? |
18328 { echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5 | 16032 echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5 |
18329 echo $ECHO_N "checking sys/dg_sys_info.h usability... $ECHO_C" >&6; } | 16033 echo $ECHO_N "checking sys/dg_sys_info.h usability... $ECHO_C" >&6 |
18330 cat >conftest.$ac_ext <<_ACEOF | 16034 cat >conftest.$ac_ext <<_ACEOF |
18331 /* confdefs.h. */ | 16035 /* confdefs.h. */ |
18332 _ACEOF | 16036 _ACEOF |
18333 cat confdefs.h >>conftest.$ac_ext | 16037 cat confdefs.h >>conftest.$ac_ext |
18334 cat >>conftest.$ac_ext <<_ACEOF | 16038 cat >>conftest.$ac_ext <<_ACEOF |
18335 /* end confdefs.h. */ | 16039 /* end confdefs.h. */ |
18336 $ac_includes_default | 16040 $ac_includes_default |
18337 #include <sys/dg_sys_info.h> | 16041 #include <sys/dg_sys_info.h> |
18338 _ACEOF | 16042 _ACEOF |
18339 rm -f conftest.$ac_objext | 16043 rm -f conftest.$ac_objext |
18340 if { (ac_try="$ac_compile" | 16044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
18341 case "(($ac_try" in | 16045 (eval $ac_compile) 2>conftest.er1 |
18342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18343 *) ac_try_echo=$ac_try;; | |
18344 esac | |
18345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18346 (eval "$ac_compile") 2>conftest.er1 | |
18347 ac_status=$? | 16046 ac_status=$? |
18348 grep -v '^ *+' conftest.er1 >conftest.err | 16047 grep -v '^ *+' conftest.er1 >conftest.err |
18349 rm -f conftest.er1 | 16048 rm -f conftest.er1 |
18350 cat conftest.err >&5 | 16049 cat conftest.err >&5 |
18351 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16050 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18352 (exit $ac_status); } && | 16051 (exit $ac_status); } && |
18353 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 16052 { ac_try='test -z "$ac_c_werror_flag" |
18354 { (case "(($ac_try" in | 16053 || test ! -s conftest.err' |
18355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 16054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18356 *) ac_try_echo=$ac_try;; | 16055 (eval $ac_try) 2>&5 |
18357 esac | |
18358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18359 (eval "$ac_try") 2>&5 | |
18360 ac_status=$? | 16056 ac_status=$? |
18361 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16057 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18362 (exit $ac_status); }; } && | 16058 (exit $ac_status); }; } && |
18363 { ac_try='test -s conftest.$ac_objext' | 16059 { ac_try='test -s conftest.$ac_objext' |
18364 { (case "(($ac_try" in | 16060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 16061 (eval $ac_try) 2>&5 |
18366 *) ac_try_echo=$ac_try;; | |
18367 esac | |
18368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18369 (eval "$ac_try") 2>&5 | |
18370 ac_status=$? | 16062 ac_status=$? |
18371 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16063 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18372 (exit $ac_status); }; }; then | 16064 (exit $ac_status); }; }; then |
18373 ac_header_compiler=yes | 16065 ac_header_compiler=yes |
18374 else | 16066 else |
18375 echo "$as_me: failed program was:" >&5 | 16067 echo "$as_me: failed program was:" >&5 |
18376 sed 's/^/| /' conftest.$ac_ext >&5 | 16068 sed 's/^/| /' conftest.$ac_ext >&5 |
18377 | 16069 |
18378 ac_header_compiler=no | 16070 ac_header_compiler=no |
18379 fi | 16071 fi |
18380 | 16072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
18381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 16073 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
18382 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 16074 echo "${ECHO_T}$ac_header_compiler" >&6 |
18383 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
18384 | 16075 |
18385 # Is the header present? | 16076 # Is the header present? |
18386 { echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5 | 16077 echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5 |
18387 echo $ECHO_N "checking sys/dg_sys_info.h presence... $ECHO_C" >&6; } | 16078 echo $ECHO_N "checking sys/dg_sys_info.h presence... $ECHO_C" >&6 |
18388 cat >conftest.$ac_ext <<_ACEOF | 16079 cat >conftest.$ac_ext <<_ACEOF |
18389 /* confdefs.h. */ | 16080 /* confdefs.h. */ |
18390 _ACEOF | 16081 _ACEOF |
18391 cat confdefs.h >>conftest.$ac_ext | 16082 cat confdefs.h >>conftest.$ac_ext |
18392 cat >>conftest.$ac_ext <<_ACEOF | 16083 cat >>conftest.$ac_ext <<_ACEOF |
18393 /* end confdefs.h. */ | 16084 /* end confdefs.h. */ |
18394 #include <sys/dg_sys_info.h> | 16085 #include <sys/dg_sys_info.h> |
18395 _ACEOF | 16086 _ACEOF |
18396 if { (ac_try="$ac_cpp conftest.$ac_ext" | 16087 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
18397 case "(($ac_try" in | 16088 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
18398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18399 *) ac_try_echo=$ac_try;; | |
18400 esac | |
18401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18402 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
18403 ac_status=$? | 16089 ac_status=$? |
18404 grep -v '^ *+' conftest.er1 >conftest.err | 16090 grep -v '^ *+' conftest.er1 >conftest.err |
18405 rm -f conftest.er1 | 16091 rm -f conftest.er1 |
18406 cat conftest.err >&5 | 16092 cat conftest.err >&5 |
18407 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16093 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18421 echo "$as_me: failed program was:" >&5 | 16107 echo "$as_me: failed program was:" >&5 |
18422 sed 's/^/| /' conftest.$ac_ext >&5 | 16108 sed 's/^/| /' conftest.$ac_ext >&5 |
18423 | 16109 |
18424 ac_header_preproc=no | 16110 ac_header_preproc=no |
18425 fi | 16111 fi |
18426 | |
18427 rm -f conftest.err conftest.$ac_ext | 16112 rm -f conftest.err conftest.$ac_ext |
18428 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 16113 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
18429 echo "${ECHO_T}$ac_header_preproc" >&6; } | 16114 echo "${ECHO_T}$ac_header_preproc" >&6 |
18430 | 16115 |
18431 # So? What about this header? | 16116 # So? What about this header? |
18432 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 16117 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
18433 yes:no: ) | 16118 yes:no: ) |
18434 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5 | 16119 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
18448 echo "$as_me: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&2;} | 16133 echo "$as_me: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&2;} |
18449 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5 | 16134 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5 |
18450 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;} | 16135 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;} |
18451 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&5 | 16136 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&5 |
18452 echo "$as_me: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&2;} | 16137 echo "$as_me: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&2;} |
18453 | 16138 ( |
16139 cat <<\_ASBOX | |
16140 ## ------------------------------------------ ## | |
16141 ## Report this to the AC_PACKAGE_NAME lists. ## | |
16142 ## ------------------------------------------ ## | |
16143 _ASBOX | |
16144 ) | | |
16145 sed "s/^/$as_me: WARNING: /" >&2 | |
18454 ;; | 16146 ;; |
18455 esac | 16147 esac |
18456 { echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5 | 16148 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5 |
18457 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6; } | 16149 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6 |
18458 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then | 16150 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then |
18459 echo $ECHO_N "(cached) $ECHO_C" >&6 | 16151 echo $ECHO_N "(cached) $ECHO_C" >&6 |
18460 else | 16152 else |
18461 ac_cv_header_sys_dg_sys_info_h=$ac_header_preproc | 16153 ac_cv_header_sys_dg_sys_info_h=$ac_header_preproc |
18462 fi | 16154 fi |
18463 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5 | 16155 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5 |
18464 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6; } | 16156 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6 |
18465 | 16157 |
18466 fi | 16158 fi |
18467 if test $ac_cv_header_sys_dg_sys_info_h = yes; then | 16159 if test $ac_cv_header_sys_dg_sys_info_h = yes; then |
18468 ac_have_func=yes | 16160 ac_have_func=yes |
18469 | 16161 |
18470 cat >>confdefs.h <<\_ACEOF | 16162 cat >>confdefs.h <<\_ACEOF |
18471 #define DGUX 1 | 16163 #define DGUX 1 |
18472 _ACEOF | 16164 _ACEOF |
18473 | 16165 |
18474 | 16166 |
18475 { echo "$as_me:$LINENO: checking for dg_sys_info in -ldgc" >&5 | 16167 echo "$as_me:$LINENO: checking for dg_sys_info in -ldgc" >&5 |
18476 echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6; } | 16168 echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6 |
18477 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then | 16169 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then |
18478 echo $ECHO_N "(cached) $ECHO_C" >&6 | 16170 echo $ECHO_N "(cached) $ECHO_C" >&6 |
18479 else | 16171 else |
18480 ac_check_lib_save_LIBS=$LIBS | 16172 ac_check_lib_save_LIBS=$LIBS |
18481 LIBS="-ldgc $LIBS" | 16173 LIBS="-ldgc $LIBS" |
18484 _ACEOF | 16176 _ACEOF |
18485 cat confdefs.h >>conftest.$ac_ext | 16177 cat confdefs.h >>conftest.$ac_ext |
18486 cat >>conftest.$ac_ext <<_ACEOF | 16178 cat >>conftest.$ac_ext <<_ACEOF |
18487 /* end confdefs.h. */ | 16179 /* end confdefs.h. */ |
18488 | 16180 |
18489 /* Override any GCC internal prototype to avoid an error. | 16181 /* Override any gcc2 internal prototype to avoid an error. */ |
18490 Use char because int might match the return type of a GCC | |
18491 builtin and then its argument prototype would still apply. */ | |
18492 #ifdef __cplusplus | 16182 #ifdef __cplusplus |
18493 extern "C" | 16183 extern "C" |
18494 #endif | 16184 #endif |
16185 /* We use char because int might match the return type of a gcc2 | |
16186 builtin and then its argument prototype would still apply. */ | |
18495 char dg_sys_info (); | 16187 char dg_sys_info (); |
18496 int | 16188 int |
18497 main () | 16189 main () |
18498 { | 16190 { |
18499 return dg_sys_info (); | 16191 dg_sys_info (); |
18500 ; | 16192 ; |
18501 return 0; | 16193 return 0; |
18502 } | 16194 } |
18503 _ACEOF | 16195 _ACEOF |
18504 rm -f conftest.$ac_objext conftest$ac_exeext | 16196 rm -f conftest.$ac_objext conftest$ac_exeext |
18505 if { (ac_try="$ac_link" | 16197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
18506 case "(($ac_try" in | 16198 (eval $ac_link) 2>conftest.er1 |
18507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18508 *) ac_try_echo=$ac_try;; | |
18509 esac | |
18510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18511 (eval "$ac_link") 2>conftest.er1 | |
18512 ac_status=$? | 16199 ac_status=$? |
18513 grep -v '^ *+' conftest.er1 >conftest.err | 16200 grep -v '^ *+' conftest.er1 >conftest.err |
18514 rm -f conftest.er1 | 16201 rm -f conftest.er1 |
18515 cat conftest.err >&5 | 16202 cat conftest.err >&5 |
18516 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16203 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18517 (exit $ac_status); } && | 16204 (exit $ac_status); } && |
18518 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 16205 { ac_try='test -z "$ac_c_werror_flag" |
18519 { (case "(($ac_try" in | 16206 || test ! -s conftest.err' |
18520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 16207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18521 *) ac_try_echo=$ac_try;; | 16208 (eval $ac_try) 2>&5 |
18522 esac | |
18523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18524 (eval "$ac_try") 2>&5 | |
18525 ac_status=$? | 16209 ac_status=$? |
18526 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16210 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18527 (exit $ac_status); }; } && | 16211 (exit $ac_status); }; } && |
18528 { ac_try='test -s conftest$ac_exeext' | 16212 { ac_try='test -s conftest$ac_exeext' |
18529 { (case "(($ac_try" in | 16213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 16214 (eval $ac_try) 2>&5 |
18531 *) ac_try_echo=$ac_try;; | |
18532 esac | |
18533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18534 (eval "$ac_try") 2>&5 | |
18535 ac_status=$? | 16215 ac_status=$? |
18536 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16216 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18537 (exit $ac_status); }; }; then | 16217 (exit $ac_status); }; }; then |
18538 ac_cv_lib_dgc_dg_sys_info=yes | 16218 ac_cv_lib_dgc_dg_sys_info=yes |
18539 else | 16219 else |
18540 echo "$as_me: failed program was:" >&5 | 16220 echo "$as_me: failed program was:" >&5 |
18541 sed 's/^/| /' conftest.$ac_ext >&5 | 16221 sed 's/^/| /' conftest.$ac_ext >&5 |
18542 | 16222 |
18543 ac_cv_lib_dgc_dg_sys_info=no | 16223 ac_cv_lib_dgc_dg_sys_info=no |
18544 fi | 16224 fi |
18545 | 16225 rm -f conftest.err conftest.$ac_objext \ |
18546 rm -f core conftest.err conftest.$ac_objext \ | |
18547 conftest$ac_exeext conftest.$ac_ext | 16226 conftest$ac_exeext conftest.$ac_ext |
18548 LIBS=$ac_check_lib_save_LIBS | 16227 LIBS=$ac_check_lib_save_LIBS |
18549 fi | 16228 fi |
18550 { echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_dg_sys_info" >&5 | 16229 echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_dg_sys_info" >&5 |
18551 echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6; } | 16230 echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6 |
18552 if test $ac_cv_lib_dgc_dg_sys_info = yes; then | 16231 if test $ac_cv_lib_dgc_dg_sys_info = yes; then |
18553 cat >>confdefs.h <<_ACEOF | 16232 cat >>confdefs.h <<_ACEOF |
18554 #define HAVE_LIBDGC 1 | 16233 #define HAVE_LIBDGC 1 |
18555 _ACEOF | 16234 _ACEOF |
18556 | 16235 |
18561 fi | 16240 fi |
18562 | 16241 |
18563 | 16242 |
18564 | 16243 |
18565 if test "${ac_cv_header_locale_h+set}" = set; then | 16244 if test "${ac_cv_header_locale_h+set}" = set; then |
18566 { echo "$as_me:$LINENO: checking for locale.h" >&5 | 16245 echo "$as_me:$LINENO: checking for locale.h" >&5 |
18567 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6; } | 16246 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6 |
18568 if test "${ac_cv_header_locale_h+set}" = set; then | 16247 if test "${ac_cv_header_locale_h+set}" = set; then |
18569 echo $ECHO_N "(cached) $ECHO_C" >&6 | 16248 echo $ECHO_N "(cached) $ECHO_C" >&6 |
18570 fi | 16249 fi |
18571 { echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5 | 16250 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5 |
18572 echo "${ECHO_T}$ac_cv_header_locale_h" >&6; } | 16251 echo "${ECHO_T}$ac_cv_header_locale_h" >&6 |
18573 else | 16252 else |
18574 # Is the header compilable? | 16253 # Is the header compilable? |
18575 { echo "$as_me:$LINENO: checking locale.h usability" >&5 | 16254 echo "$as_me:$LINENO: checking locale.h usability" >&5 |
18576 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6; } | 16255 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6 |
18577 cat >conftest.$ac_ext <<_ACEOF | 16256 cat >conftest.$ac_ext <<_ACEOF |
18578 /* confdefs.h. */ | 16257 /* confdefs.h. */ |
18579 _ACEOF | 16258 _ACEOF |
18580 cat confdefs.h >>conftest.$ac_ext | 16259 cat confdefs.h >>conftest.$ac_ext |
18581 cat >>conftest.$ac_ext <<_ACEOF | 16260 cat >>conftest.$ac_ext <<_ACEOF |
18582 /* end confdefs.h. */ | 16261 /* end confdefs.h. */ |
18583 $ac_includes_default | 16262 $ac_includes_default |
18584 #include <locale.h> | 16263 #include <locale.h> |
18585 _ACEOF | 16264 _ACEOF |
18586 rm -f conftest.$ac_objext | 16265 rm -f conftest.$ac_objext |
18587 if { (ac_try="$ac_compile" | 16266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
18588 case "(($ac_try" in | 16267 (eval $ac_compile) 2>conftest.er1 |
18589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18590 *) ac_try_echo=$ac_try;; | |
18591 esac | |
18592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18593 (eval "$ac_compile") 2>conftest.er1 | |
18594 ac_status=$? | 16268 ac_status=$? |
18595 grep -v '^ *+' conftest.er1 >conftest.err | 16269 grep -v '^ *+' conftest.er1 >conftest.err |
18596 rm -f conftest.er1 | 16270 rm -f conftest.er1 |
18597 cat conftest.err >&5 | 16271 cat conftest.err >&5 |
18598 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16272 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18599 (exit $ac_status); } && | 16273 (exit $ac_status); } && |
18600 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 16274 { ac_try='test -z "$ac_c_werror_flag" |
18601 { (case "(($ac_try" in | 16275 || test ! -s conftest.err' |
18602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 16276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18603 *) ac_try_echo=$ac_try;; | 16277 (eval $ac_try) 2>&5 |
18604 esac | |
18605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18606 (eval "$ac_try") 2>&5 | |
18607 ac_status=$? | 16278 ac_status=$? |
18608 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16279 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18609 (exit $ac_status); }; } && | 16280 (exit $ac_status); }; } && |
18610 { ac_try='test -s conftest.$ac_objext' | 16281 { ac_try='test -s conftest.$ac_objext' |
18611 { (case "(($ac_try" in | 16282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 16283 (eval $ac_try) 2>&5 |
18613 *) ac_try_echo=$ac_try;; | |
18614 esac | |
18615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18616 (eval "$ac_try") 2>&5 | |
18617 ac_status=$? | 16284 ac_status=$? |
18618 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16285 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18619 (exit $ac_status); }; }; then | 16286 (exit $ac_status); }; }; then |
18620 ac_header_compiler=yes | 16287 ac_header_compiler=yes |
18621 else | 16288 else |
18622 echo "$as_me: failed program was:" >&5 | 16289 echo "$as_me: failed program was:" >&5 |
18623 sed 's/^/| /' conftest.$ac_ext >&5 | 16290 sed 's/^/| /' conftest.$ac_ext >&5 |
18624 | 16291 |
18625 ac_header_compiler=no | 16292 ac_header_compiler=no |
18626 fi | 16293 fi |
18627 | 16294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
18628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 16295 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
18629 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 16296 echo "${ECHO_T}$ac_header_compiler" >&6 |
18630 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
18631 | 16297 |
18632 # Is the header present? | 16298 # Is the header present? |
18633 { echo "$as_me:$LINENO: checking locale.h presence" >&5 | 16299 echo "$as_me:$LINENO: checking locale.h presence" >&5 |
18634 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6; } | 16300 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6 |
18635 cat >conftest.$ac_ext <<_ACEOF | 16301 cat >conftest.$ac_ext <<_ACEOF |
18636 /* confdefs.h. */ | 16302 /* confdefs.h. */ |
18637 _ACEOF | 16303 _ACEOF |
18638 cat confdefs.h >>conftest.$ac_ext | 16304 cat confdefs.h >>conftest.$ac_ext |
18639 cat >>conftest.$ac_ext <<_ACEOF | 16305 cat >>conftest.$ac_ext <<_ACEOF |
18640 /* end confdefs.h. */ | 16306 /* end confdefs.h. */ |
18641 #include <locale.h> | 16307 #include <locale.h> |
18642 _ACEOF | 16308 _ACEOF |
18643 if { (ac_try="$ac_cpp conftest.$ac_ext" | 16309 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
18644 case "(($ac_try" in | 16310 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
18645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18646 *) ac_try_echo=$ac_try;; | |
18647 esac | |
18648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18649 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
18650 ac_status=$? | 16311 ac_status=$? |
18651 grep -v '^ *+' conftest.er1 >conftest.err | 16312 grep -v '^ *+' conftest.er1 >conftest.err |
18652 rm -f conftest.er1 | 16313 rm -f conftest.er1 |
18653 cat conftest.err >&5 | 16314 cat conftest.err >&5 |
18654 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16315 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18668 echo "$as_me: failed program was:" >&5 | 16329 echo "$as_me: failed program was:" >&5 |
18669 sed 's/^/| /' conftest.$ac_ext >&5 | 16330 sed 's/^/| /' conftest.$ac_ext >&5 |
18670 | 16331 |
18671 ac_header_preproc=no | 16332 ac_header_preproc=no |
18672 fi | 16333 fi |
18673 | |
18674 rm -f conftest.err conftest.$ac_ext | 16334 rm -f conftest.err conftest.$ac_ext |
18675 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 16335 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
18676 echo "${ECHO_T}$ac_header_preproc" >&6; } | 16336 echo "${ECHO_T}$ac_header_preproc" >&6 |
18677 | 16337 |
18678 # So? What about this header? | 16338 # So? What about this header? |
18679 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 16339 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
18680 yes:no: ) | 16340 yes:no: ) |
18681 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5 | 16341 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
18695 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;} | 16355 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;} |
18696 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5 | 16356 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5 |
18697 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;} | 16357 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;} |
18698 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5 | 16358 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5 |
18699 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;} | 16359 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;} |
18700 | 16360 ( |
16361 cat <<\_ASBOX | |
16362 ## ------------------------------------------ ## | |
16363 ## Report this to the AC_PACKAGE_NAME lists. ## | |
16364 ## ------------------------------------------ ## | |
16365 _ASBOX | |
16366 ) | | |
16367 sed "s/^/$as_me: WARNING: /" >&2 | |
18701 ;; | 16368 ;; |
18702 esac | 16369 esac |
18703 { echo "$as_me:$LINENO: checking for locale.h" >&5 | 16370 echo "$as_me:$LINENO: checking for locale.h" >&5 |
18704 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6; } | 16371 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6 |
18705 if test "${ac_cv_header_locale_h+set}" = set; then | 16372 if test "${ac_cv_header_locale_h+set}" = set; then |
18706 echo $ECHO_N "(cached) $ECHO_C" >&6 | 16373 echo $ECHO_N "(cached) $ECHO_C" >&6 |
18707 else | 16374 else |
18708 ac_cv_header_locale_h=$ac_header_preproc | 16375 ac_cv_header_locale_h=$ac_header_preproc |
18709 fi | 16376 fi |
18710 { echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5 | 16377 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5 |
18711 echo "${ECHO_T}$ac_cv_header_locale_h" >&6; } | 16378 echo "${ECHO_T}$ac_cv_header_locale_h" >&6 |
18712 | 16379 |
18713 fi | 16380 fi |
18714 | 16381 |
18715 | 16382 |
18716 | 16383 |
18717 for ac_func in setlocale | 16384 for ac_func in setlocale |
18718 do | 16385 do |
18719 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 16386 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
18720 { echo "$as_me:$LINENO: checking for $ac_func" >&5 | 16387 echo "$as_me:$LINENO: checking for $ac_func" >&5 |
18721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 16388 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
18722 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 16389 if eval "test \"\${$as_ac_var+set}\" = set"; then |
18723 echo $ECHO_N "(cached) $ECHO_C" >&6 | 16390 echo $ECHO_N "(cached) $ECHO_C" >&6 |
18724 else | 16391 else |
18725 cat >conftest.$ac_ext <<_ACEOF | 16392 cat >conftest.$ac_ext <<_ACEOF |
18726 /* confdefs.h. */ | 16393 /* confdefs.h. */ |
18727 _ACEOF | 16394 _ACEOF |
18743 # include <assert.h> | 16410 # include <assert.h> |
18744 #endif | 16411 #endif |
18745 | 16412 |
18746 #undef $ac_func | 16413 #undef $ac_func |
18747 | 16414 |
18748 /* Override any GCC internal prototype to avoid an error. | 16415 /* Override any gcc2 internal prototype to avoid an error. */ |
18749 Use char because int might match the return type of a GCC | |
18750 builtin and then its argument prototype would still apply. */ | |
18751 #ifdef __cplusplus | 16416 #ifdef __cplusplus |
18752 extern "C" | 16417 extern "C" |
16418 { | |
18753 #endif | 16419 #endif |
16420 /* We use char because int might match the return type of a gcc2 | |
16421 builtin and then its argument prototype would still apply. */ | |
18754 char $ac_func (); | 16422 char $ac_func (); |
18755 /* The GNU C library defines this for functions which it implements | 16423 /* The GNU C library defines this for functions which it implements |
18756 to always fail with ENOSYS. Some functions are actually named | 16424 to always fail with ENOSYS. Some functions are actually named |
18757 something starting with __ and the normal name is an alias. */ | 16425 something starting with __ and the normal name is an alias. */ |
18758 #if defined __stub_$ac_func || defined __stub___$ac_func | 16426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
18759 choke me | 16427 choke me |
16428 #else | |
16429 char (*f) () = $ac_func; | |
16430 #endif | |
16431 #ifdef __cplusplus | |
16432 } | |
18760 #endif | 16433 #endif |
18761 | 16434 |
18762 int | 16435 int |
18763 main () | 16436 main () |
18764 { | 16437 { |
18765 return $ac_func (); | 16438 return f != $ac_func; |
18766 ; | 16439 ; |
18767 return 0; | 16440 return 0; |
18768 } | 16441 } |
18769 _ACEOF | 16442 _ACEOF |
18770 rm -f conftest.$ac_objext conftest$ac_exeext | 16443 rm -f conftest.$ac_objext conftest$ac_exeext |
18771 if { (ac_try="$ac_link" | 16444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
18772 case "(($ac_try" in | 16445 (eval $ac_link) 2>conftest.er1 |
18773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18774 *) ac_try_echo=$ac_try;; | |
18775 esac | |
18776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18777 (eval "$ac_link") 2>conftest.er1 | |
18778 ac_status=$? | 16446 ac_status=$? |
18779 grep -v '^ *+' conftest.er1 >conftest.err | 16447 grep -v '^ *+' conftest.er1 >conftest.err |
18780 rm -f conftest.er1 | 16448 rm -f conftest.er1 |
18781 cat conftest.err >&5 | 16449 cat conftest.err >&5 |
18782 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16450 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18783 (exit $ac_status); } && | 16451 (exit $ac_status); } && |
18784 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 16452 { ac_try='test -z "$ac_c_werror_flag" |
18785 { (case "(($ac_try" in | 16453 || test ! -s conftest.err' |
18786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 16454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18787 *) ac_try_echo=$ac_try;; | 16455 (eval $ac_try) 2>&5 |
18788 esac | |
18789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18790 (eval "$ac_try") 2>&5 | |
18791 ac_status=$? | 16456 ac_status=$? |
18792 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16457 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18793 (exit $ac_status); }; } && | 16458 (exit $ac_status); }; } && |
18794 { ac_try='test -s conftest$ac_exeext' | 16459 { ac_try='test -s conftest$ac_exeext' |
18795 { (case "(($ac_try" in | 16460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 16461 (eval $ac_try) 2>&5 |
18797 *) ac_try_echo=$ac_try;; | |
18798 esac | |
18799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18800 (eval "$ac_try") 2>&5 | |
18801 ac_status=$? | 16462 ac_status=$? |
18802 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16463 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18803 (exit $ac_status); }; }; then | 16464 (exit $ac_status); }; }; then |
18804 eval "$as_ac_var=yes" | 16465 eval "$as_ac_var=yes" |
18805 else | 16466 else |
18806 echo "$as_me: failed program was:" >&5 | 16467 echo "$as_me: failed program was:" >&5 |
18807 sed 's/^/| /' conftest.$ac_ext >&5 | 16468 sed 's/^/| /' conftest.$ac_ext >&5 |
18808 | 16469 |
18809 eval "$as_ac_var=no" | 16470 eval "$as_ac_var=no" |
18810 fi | 16471 fi |
18811 | 16472 rm -f conftest.err conftest.$ac_objext \ |
18812 rm -f core conftest.err conftest.$ac_objext \ | |
18813 conftest$ac_exeext conftest.$ac_ext | 16473 conftest$ac_exeext conftest.$ac_ext |
18814 fi | 16474 fi |
18815 ac_res=`eval echo '${'$as_ac_var'}'` | 16475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
18816 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 16476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
18817 echo "${ECHO_T}$ac_res" >&6; } | |
18818 if test `eval echo '${'$as_ac_var'}'` = yes; then | 16477 if test `eval echo '${'$as_ac_var'}'` = yes; then |
18819 cat >>confdefs.h <<_ACEOF | 16478 cat >>confdefs.h <<_ACEOF |
18820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 16479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
18821 _ACEOF | 16480 _ACEOF |
18822 | 16481 |
18836 | 16495 |
18837 fi | 16496 fi |
18838 | 16497 |
18839 if test $ac_have_func = no; then | 16498 if test $ac_have_func = no; then |
18840 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then | 16499 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then |
18841 { echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5 | 16500 echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5 |
18842 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6; } | 16501 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6 |
18843 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then | 16502 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then |
18844 echo $ECHO_N "(cached) $ECHO_C" >&6 | 16503 echo $ECHO_N "(cached) $ECHO_C" >&6 |
18845 fi | 16504 fi |
18846 { echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5 | 16505 echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5 |
18847 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6; } | 16506 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6 |
18848 else | 16507 else |
18849 # Is the header compilable? | 16508 # Is the header compilable? |
18850 { echo "$as_me:$LINENO: checking inq_stats/cpustats.h usability" >&5 | 16509 echo "$as_me:$LINENO: checking inq_stats/cpustats.h usability" >&5 |
18851 echo $ECHO_N "checking inq_stats/cpustats.h usability... $ECHO_C" >&6; } | 16510 echo $ECHO_N "checking inq_stats/cpustats.h usability... $ECHO_C" >&6 |
18852 cat >conftest.$ac_ext <<_ACEOF | 16511 cat >conftest.$ac_ext <<_ACEOF |
18853 /* confdefs.h. */ | 16512 /* confdefs.h. */ |
18854 _ACEOF | 16513 _ACEOF |
18855 cat confdefs.h >>conftest.$ac_ext | 16514 cat confdefs.h >>conftest.$ac_ext |
18856 cat >>conftest.$ac_ext <<_ACEOF | 16515 cat >>conftest.$ac_ext <<_ACEOF |
18857 /* end confdefs.h. */ | 16516 /* end confdefs.h. */ |
18858 $ac_includes_default | 16517 $ac_includes_default |
18859 #include <inq_stats/cpustats.h> | 16518 #include <inq_stats/cpustats.h> |
18860 _ACEOF | 16519 _ACEOF |
18861 rm -f conftest.$ac_objext | 16520 rm -f conftest.$ac_objext |
18862 if { (ac_try="$ac_compile" | 16521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
18863 case "(($ac_try" in | 16522 (eval $ac_compile) 2>conftest.er1 |
18864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18865 *) ac_try_echo=$ac_try;; | |
18866 esac | |
18867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18868 (eval "$ac_compile") 2>conftest.er1 | |
18869 ac_status=$? | 16523 ac_status=$? |
18870 grep -v '^ *+' conftest.er1 >conftest.err | 16524 grep -v '^ *+' conftest.er1 >conftest.err |
18871 rm -f conftest.er1 | 16525 rm -f conftest.er1 |
18872 cat conftest.err >&5 | 16526 cat conftest.err >&5 |
18873 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16527 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18874 (exit $ac_status); } && | 16528 (exit $ac_status); } && |
18875 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 16529 { ac_try='test -z "$ac_c_werror_flag" |
18876 { (case "(($ac_try" in | 16530 || test ! -s conftest.err' |
18877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 16531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18878 *) ac_try_echo=$ac_try;; | 16532 (eval $ac_try) 2>&5 |
18879 esac | |
18880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18881 (eval "$ac_try") 2>&5 | |
18882 ac_status=$? | 16533 ac_status=$? |
18883 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16534 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18884 (exit $ac_status); }; } && | 16535 (exit $ac_status); }; } && |
18885 { ac_try='test -s conftest.$ac_objext' | 16536 { ac_try='test -s conftest.$ac_objext' |
18886 { (case "(($ac_try" in | 16537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 16538 (eval $ac_try) 2>&5 |
18888 *) ac_try_echo=$ac_try;; | |
18889 esac | |
18890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18891 (eval "$ac_try") 2>&5 | |
18892 ac_status=$? | 16539 ac_status=$? |
18893 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16540 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18894 (exit $ac_status); }; }; then | 16541 (exit $ac_status); }; }; then |
18895 ac_header_compiler=yes | 16542 ac_header_compiler=yes |
18896 else | 16543 else |
18897 echo "$as_me: failed program was:" >&5 | 16544 echo "$as_me: failed program was:" >&5 |
18898 sed 's/^/| /' conftest.$ac_ext >&5 | 16545 sed 's/^/| /' conftest.$ac_ext >&5 |
18899 | 16546 |
18900 ac_header_compiler=no | 16547 ac_header_compiler=no |
18901 fi | 16548 fi |
18902 | 16549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
18903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 16550 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
18904 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 16551 echo "${ECHO_T}$ac_header_compiler" >&6 |
18905 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
18906 | 16552 |
18907 # Is the header present? | 16553 # Is the header present? |
18908 { echo "$as_me:$LINENO: checking inq_stats/cpustats.h presence" >&5 | 16554 echo "$as_me:$LINENO: checking inq_stats/cpustats.h presence" >&5 |
18909 echo $ECHO_N "checking inq_stats/cpustats.h presence... $ECHO_C" >&6; } | 16555 echo $ECHO_N "checking inq_stats/cpustats.h presence... $ECHO_C" >&6 |
18910 cat >conftest.$ac_ext <<_ACEOF | 16556 cat >conftest.$ac_ext <<_ACEOF |
18911 /* confdefs.h. */ | 16557 /* confdefs.h. */ |
18912 _ACEOF | 16558 _ACEOF |
18913 cat confdefs.h >>conftest.$ac_ext | 16559 cat confdefs.h >>conftest.$ac_ext |
18914 cat >>conftest.$ac_ext <<_ACEOF | 16560 cat >>conftest.$ac_ext <<_ACEOF |
18915 /* end confdefs.h. */ | 16561 /* end confdefs.h. */ |
18916 #include <inq_stats/cpustats.h> | 16562 #include <inq_stats/cpustats.h> |
18917 _ACEOF | 16563 _ACEOF |
18918 if { (ac_try="$ac_cpp conftest.$ac_ext" | 16564 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
18919 case "(($ac_try" in | 16565 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
18920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18921 *) ac_try_echo=$ac_try;; | |
18922 esac | |
18923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18924 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
18925 ac_status=$? | 16566 ac_status=$? |
18926 grep -v '^ *+' conftest.er1 >conftest.err | 16567 grep -v '^ *+' conftest.er1 >conftest.err |
18927 rm -f conftest.er1 | 16568 rm -f conftest.er1 |
18928 cat conftest.err >&5 | 16569 cat conftest.err >&5 |
18929 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16570 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18943 echo "$as_me: failed program was:" >&5 | 16584 echo "$as_me: failed program was:" >&5 |
18944 sed 's/^/| /' conftest.$ac_ext >&5 | 16585 sed 's/^/| /' conftest.$ac_ext >&5 |
18945 | 16586 |
18946 ac_header_preproc=no | 16587 ac_header_preproc=no |
18947 fi | 16588 fi |
18948 | |
18949 rm -f conftest.err conftest.$ac_ext | 16589 rm -f conftest.err conftest.$ac_ext |
18950 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 16590 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
18951 echo "${ECHO_T}$ac_header_preproc" >&6; } | 16591 echo "${ECHO_T}$ac_header_preproc" >&6 |
18952 | 16592 |
18953 # So? What about this header? | 16593 # So? What about this header? |
18954 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 16594 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
18955 yes:no: ) | 16595 yes:no: ) |
18956 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5 | 16596 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
18970 echo "$as_me: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;} | 16610 echo "$as_me: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;} |
18971 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&5 | 16611 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&5 |
18972 echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;} | 16612 echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;} |
18973 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&5 | 16613 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&5 |
18974 echo "$as_me: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&2;} | 16614 echo "$as_me: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&2;} |
18975 | 16615 ( |
16616 cat <<\_ASBOX | |
16617 ## ------------------------------------------ ## | |
16618 ## Report this to the AC_PACKAGE_NAME lists. ## | |
16619 ## ------------------------------------------ ## | |
16620 _ASBOX | |
16621 ) | | |
16622 sed "s/^/$as_me: WARNING: /" >&2 | |
18976 ;; | 16623 ;; |
18977 esac | 16624 esac |
18978 { echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5 | 16625 echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5 |
18979 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6; } | 16626 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6 |
18980 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then | 16627 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then |
18981 echo $ECHO_N "(cached) $ECHO_C" >&6 | 16628 echo $ECHO_N "(cached) $ECHO_C" >&6 |
18982 else | 16629 else |
18983 ac_cv_header_inq_stats_cpustats_h=$ac_header_preproc | 16630 ac_cv_header_inq_stats_cpustats_h=$ac_header_preproc |
18984 fi | 16631 fi |
18985 { echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5 | 16632 echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5 |
18986 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6; } | 16633 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6 |
18987 | 16634 |
18988 fi | 16635 fi |
18989 if test $ac_cv_header_inq_stats_cpustats_h = yes; then | 16636 if test $ac_cv_header_inq_stats_cpustats_h = yes; then |
18990 ac_have_func=yes | 16637 ac_have_func=yes |
18991 | 16638 |
19003 | 16650 |
19004 fi | 16651 fi |
19005 | 16652 |
19006 if test $ac_have_func = no; then | 16653 if test $ac_have_func = no; then |
19007 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then | 16654 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then |
19008 { echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5 | 16655 echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5 |
19009 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6; } | 16656 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6 |
19010 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then | 16657 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then |
19011 echo $ECHO_N "(cached) $ECHO_C" >&6 | 16658 echo $ECHO_N "(cached) $ECHO_C" >&6 |
19012 fi | 16659 fi |
19013 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5 | 16660 echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5 |
19014 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6; } | 16661 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6 |
19015 else | 16662 else |
19016 # Is the header compilable? | 16663 # Is the header compilable? |
19017 { echo "$as_me:$LINENO: checking sys/cpustats.h usability" >&5 | 16664 echo "$as_me:$LINENO: checking sys/cpustats.h usability" >&5 |
19018 echo $ECHO_N "checking sys/cpustats.h usability... $ECHO_C" >&6; } | 16665 echo $ECHO_N "checking sys/cpustats.h usability... $ECHO_C" >&6 |
19019 cat >conftest.$ac_ext <<_ACEOF | 16666 cat >conftest.$ac_ext <<_ACEOF |
19020 /* confdefs.h. */ | 16667 /* confdefs.h. */ |
19021 _ACEOF | 16668 _ACEOF |
19022 cat confdefs.h >>conftest.$ac_ext | 16669 cat confdefs.h >>conftest.$ac_ext |
19023 cat >>conftest.$ac_ext <<_ACEOF | 16670 cat >>conftest.$ac_ext <<_ACEOF |
19024 /* end confdefs.h. */ | 16671 /* end confdefs.h. */ |
19025 $ac_includes_default | 16672 $ac_includes_default |
19026 #include <sys/cpustats.h> | 16673 #include <sys/cpustats.h> |
19027 _ACEOF | 16674 _ACEOF |
19028 rm -f conftest.$ac_objext | 16675 rm -f conftest.$ac_objext |
19029 if { (ac_try="$ac_compile" | 16676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
19030 case "(($ac_try" in | 16677 (eval $ac_compile) 2>conftest.er1 |
19031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19032 *) ac_try_echo=$ac_try;; | |
19033 esac | |
19034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19035 (eval "$ac_compile") 2>conftest.er1 | |
19036 ac_status=$? | 16678 ac_status=$? |
19037 grep -v '^ *+' conftest.er1 >conftest.err | 16679 grep -v '^ *+' conftest.er1 >conftest.err |
19038 rm -f conftest.er1 | 16680 rm -f conftest.er1 |
19039 cat conftest.err >&5 | 16681 cat conftest.err >&5 |
19040 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16682 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19041 (exit $ac_status); } && | 16683 (exit $ac_status); } && |
19042 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 16684 { ac_try='test -z "$ac_c_werror_flag" |
19043 { (case "(($ac_try" in | 16685 || test ! -s conftest.err' |
19044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 16686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19045 *) ac_try_echo=$ac_try;; | 16687 (eval $ac_try) 2>&5 |
19046 esac | |
19047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19048 (eval "$ac_try") 2>&5 | |
19049 ac_status=$? | 16688 ac_status=$? |
19050 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16689 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19051 (exit $ac_status); }; } && | 16690 (exit $ac_status); }; } && |
19052 { ac_try='test -s conftest.$ac_objext' | 16691 { ac_try='test -s conftest.$ac_objext' |
19053 { (case "(($ac_try" in | 16692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 16693 (eval $ac_try) 2>&5 |
19055 *) ac_try_echo=$ac_try;; | |
19056 esac | |
19057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19058 (eval "$ac_try") 2>&5 | |
19059 ac_status=$? | 16694 ac_status=$? |
19060 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16695 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19061 (exit $ac_status); }; }; then | 16696 (exit $ac_status); }; }; then |
19062 ac_header_compiler=yes | 16697 ac_header_compiler=yes |
19063 else | 16698 else |
19064 echo "$as_me: failed program was:" >&5 | 16699 echo "$as_me: failed program was:" >&5 |
19065 sed 's/^/| /' conftest.$ac_ext >&5 | 16700 sed 's/^/| /' conftest.$ac_ext >&5 |
19066 | 16701 |
19067 ac_header_compiler=no | 16702 ac_header_compiler=no |
19068 fi | 16703 fi |
19069 | 16704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
19070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 16705 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
19071 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 16706 echo "${ECHO_T}$ac_header_compiler" >&6 |
19072 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
19073 | 16707 |
19074 # Is the header present? | 16708 # Is the header present? |
19075 { echo "$as_me:$LINENO: checking sys/cpustats.h presence" >&5 | 16709 echo "$as_me:$LINENO: checking sys/cpustats.h presence" >&5 |
19076 echo $ECHO_N "checking sys/cpustats.h presence... $ECHO_C" >&6; } | 16710 echo $ECHO_N "checking sys/cpustats.h presence... $ECHO_C" >&6 |
19077 cat >conftest.$ac_ext <<_ACEOF | 16711 cat >conftest.$ac_ext <<_ACEOF |
19078 /* confdefs.h. */ | 16712 /* confdefs.h. */ |
19079 _ACEOF | 16713 _ACEOF |
19080 cat confdefs.h >>conftest.$ac_ext | 16714 cat confdefs.h >>conftest.$ac_ext |
19081 cat >>conftest.$ac_ext <<_ACEOF | 16715 cat >>conftest.$ac_ext <<_ACEOF |
19082 /* end confdefs.h. */ | 16716 /* end confdefs.h. */ |
19083 #include <sys/cpustats.h> | 16717 #include <sys/cpustats.h> |
19084 _ACEOF | 16718 _ACEOF |
19085 if { (ac_try="$ac_cpp conftest.$ac_ext" | 16719 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
19086 case "(($ac_try" in | 16720 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
19087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19088 *) ac_try_echo=$ac_try;; | |
19089 esac | |
19090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19091 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
19092 ac_status=$? | 16721 ac_status=$? |
19093 grep -v '^ *+' conftest.er1 >conftest.err | 16722 grep -v '^ *+' conftest.er1 >conftest.err |
19094 rm -f conftest.er1 | 16723 rm -f conftest.er1 |
19095 cat conftest.err >&5 | 16724 cat conftest.err >&5 |
19096 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16725 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19110 echo "$as_me: failed program was:" >&5 | 16739 echo "$as_me: failed program was:" >&5 |
19111 sed 's/^/| /' conftest.$ac_ext >&5 | 16740 sed 's/^/| /' conftest.$ac_ext >&5 |
19112 | 16741 |
19113 ac_header_preproc=no | 16742 ac_header_preproc=no |
19114 fi | 16743 fi |
19115 | |
19116 rm -f conftest.err conftest.$ac_ext | 16744 rm -f conftest.err conftest.$ac_ext |
19117 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 16745 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
19118 echo "${ECHO_T}$ac_header_preproc" >&6; } | 16746 echo "${ECHO_T}$ac_header_preproc" >&6 |
19119 | 16747 |
19120 # So? What about this header? | 16748 # So? What about this header? |
19121 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 16749 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
19122 yes:no: ) | 16750 yes:no: ) |
19123 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5 | 16751 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
19137 echo "$as_me: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;} | 16765 echo "$as_me: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;} |
19138 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&5 | 16766 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&5 |
19139 echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;} | 16767 echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;} |
19140 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&5 | 16768 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&5 |
19141 echo "$as_me: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&2;} | 16769 echo "$as_me: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&2;} |
19142 | 16770 ( |
16771 cat <<\_ASBOX | |
16772 ## ------------------------------------------ ## | |
16773 ## Report this to the AC_PACKAGE_NAME lists. ## | |
16774 ## ------------------------------------------ ## | |
16775 _ASBOX | |
16776 ) | | |
16777 sed "s/^/$as_me: WARNING: /" >&2 | |
19143 ;; | 16778 ;; |
19144 esac | 16779 esac |
19145 { echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5 | 16780 echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5 |
19146 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6; } | 16781 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6 |
19147 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then | 16782 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then |
19148 echo $ECHO_N "(cached) $ECHO_C" >&6 | 16783 echo $ECHO_N "(cached) $ECHO_C" >&6 |
19149 else | 16784 else |
19150 ac_cv_header_sys_cpustats_h=$ac_header_preproc | 16785 ac_cv_header_sys_cpustats_h=$ac_header_preproc |
19151 fi | 16786 fi |
19152 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5 | 16787 echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5 |
19153 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6; } | 16788 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6 |
19154 | 16789 |
19155 fi | 16790 fi |
19156 if test $ac_cv_header_sys_cpustats_h = yes; then | 16791 if test $ac_cv_header_sys_cpustats_h = yes; then |
19157 ac_have_func=yes; cat >>confdefs.h <<\_ACEOF | 16792 ac_have_func=yes; cat >>confdefs.h <<\_ACEOF |
19158 #define UMAX 1 | 16793 #define UMAX 1 |
19166 if test $ac_have_func = no; then | 16801 if test $ac_have_func = no; then |
19167 | 16802 |
19168 for ac_header in mach/mach.h | 16803 for ac_header in mach/mach.h |
19169 do | 16804 do |
19170 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 16805 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
19171 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 16806 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
19172 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 16807 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
19173 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 16808 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
19174 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 16809 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
19175 echo $ECHO_N "(cached) $ECHO_C" >&6 | 16810 echo $ECHO_N "(cached) $ECHO_C" >&6 |
19176 fi | 16811 fi |
19177 ac_res=`eval echo '${'$as_ac_Header'}'` | 16812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
19178 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 16813 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
19179 echo "${ECHO_T}$ac_res" >&6; } | |
19180 else | 16814 else |
19181 # Is the header compilable? | 16815 # Is the header compilable? |
19182 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 16816 echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
19183 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | 16817 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
19184 cat >conftest.$ac_ext <<_ACEOF | 16818 cat >conftest.$ac_ext <<_ACEOF |
19185 /* confdefs.h. */ | 16819 /* confdefs.h. */ |
19186 _ACEOF | 16820 _ACEOF |
19187 cat confdefs.h >>conftest.$ac_ext | 16821 cat confdefs.h >>conftest.$ac_ext |
19188 cat >>conftest.$ac_ext <<_ACEOF | 16822 cat >>conftest.$ac_ext <<_ACEOF |
19189 /* end confdefs.h. */ | 16823 /* end confdefs.h. */ |
19190 $ac_includes_default | 16824 $ac_includes_default |
19191 #include <$ac_header> | 16825 #include <$ac_header> |
19192 _ACEOF | 16826 _ACEOF |
19193 rm -f conftest.$ac_objext | 16827 rm -f conftest.$ac_objext |
19194 if { (ac_try="$ac_compile" | 16828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
19195 case "(($ac_try" in | 16829 (eval $ac_compile) 2>conftest.er1 |
19196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19197 *) ac_try_echo=$ac_try;; | |
19198 esac | |
19199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19200 (eval "$ac_compile") 2>conftest.er1 | |
19201 ac_status=$? | 16830 ac_status=$? |
19202 grep -v '^ *+' conftest.er1 >conftest.err | 16831 grep -v '^ *+' conftest.er1 >conftest.err |
19203 rm -f conftest.er1 | 16832 rm -f conftest.er1 |
19204 cat conftest.err >&5 | 16833 cat conftest.err >&5 |
19205 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16834 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19206 (exit $ac_status); } && | 16835 (exit $ac_status); } && |
19207 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 16836 { ac_try='test -z "$ac_c_werror_flag" |
19208 { (case "(($ac_try" in | 16837 || test ! -s conftest.err' |
19209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 16838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19210 *) ac_try_echo=$ac_try;; | 16839 (eval $ac_try) 2>&5 |
19211 esac | |
19212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19213 (eval "$ac_try") 2>&5 | |
19214 ac_status=$? | 16840 ac_status=$? |
19215 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16841 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19216 (exit $ac_status); }; } && | 16842 (exit $ac_status); }; } && |
19217 { ac_try='test -s conftest.$ac_objext' | 16843 { ac_try='test -s conftest.$ac_objext' |
19218 { (case "(($ac_try" in | 16844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 16845 (eval $ac_try) 2>&5 |
19220 *) ac_try_echo=$ac_try;; | |
19221 esac | |
19222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19223 (eval "$ac_try") 2>&5 | |
19224 ac_status=$? | 16846 ac_status=$? |
19225 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16847 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19226 (exit $ac_status); }; }; then | 16848 (exit $ac_status); }; }; then |
19227 ac_header_compiler=yes | 16849 ac_header_compiler=yes |
19228 else | 16850 else |
19229 echo "$as_me: failed program was:" >&5 | 16851 echo "$as_me: failed program was:" >&5 |
19230 sed 's/^/| /' conftest.$ac_ext >&5 | 16852 sed 's/^/| /' conftest.$ac_ext >&5 |
19231 | 16853 |
19232 ac_header_compiler=no | 16854 ac_header_compiler=no |
19233 fi | 16855 fi |
19234 | 16856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
19235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 16857 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
19236 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 16858 echo "${ECHO_T}$ac_header_compiler" >&6 |
19237 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
19238 | 16859 |
19239 # Is the header present? | 16860 # Is the header present? |
19240 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 16861 echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
19241 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | 16862 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
19242 cat >conftest.$ac_ext <<_ACEOF | 16863 cat >conftest.$ac_ext <<_ACEOF |
19243 /* confdefs.h. */ | 16864 /* confdefs.h. */ |
19244 _ACEOF | 16865 _ACEOF |
19245 cat confdefs.h >>conftest.$ac_ext | 16866 cat confdefs.h >>conftest.$ac_ext |
19246 cat >>conftest.$ac_ext <<_ACEOF | 16867 cat >>conftest.$ac_ext <<_ACEOF |
19247 /* end confdefs.h. */ | 16868 /* end confdefs.h. */ |
19248 #include <$ac_header> | 16869 #include <$ac_header> |
19249 _ACEOF | 16870 _ACEOF |
19250 if { (ac_try="$ac_cpp conftest.$ac_ext" | 16871 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
19251 case "(($ac_try" in | 16872 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
19252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19253 *) ac_try_echo=$ac_try;; | |
19254 esac | |
19255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19256 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
19257 ac_status=$? | 16873 ac_status=$? |
19258 grep -v '^ *+' conftest.er1 >conftest.err | 16874 grep -v '^ *+' conftest.er1 >conftest.err |
19259 rm -f conftest.er1 | 16875 rm -f conftest.er1 |
19260 cat conftest.err >&5 | 16876 cat conftest.err >&5 |
19261 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16877 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19275 echo "$as_me: failed program was:" >&5 | 16891 echo "$as_me: failed program was:" >&5 |
19276 sed 's/^/| /' conftest.$ac_ext >&5 | 16892 sed 's/^/| /' conftest.$ac_ext >&5 |
19277 | 16893 |
19278 ac_header_preproc=no | 16894 ac_header_preproc=no |
19279 fi | 16895 fi |
19280 | |
19281 rm -f conftest.err conftest.$ac_ext | 16896 rm -f conftest.err conftest.$ac_ext |
19282 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 16897 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
19283 echo "${ECHO_T}$ac_header_preproc" >&6; } | 16898 echo "${ECHO_T}$ac_header_preproc" >&6 |
19284 | 16899 |
19285 # So? What about this header? | 16900 # So? What about this header? |
19286 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 16901 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
19287 yes:no: ) | 16902 yes:no: ) |
19288 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 16903 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
19302 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | 16917 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
19303 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 16918 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
19304 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 16919 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
19305 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 16920 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
19306 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 16921 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
19307 | 16922 ( |
16923 cat <<\_ASBOX | |
16924 ## ------------------------------------------ ## | |
16925 ## Report this to the AC_PACKAGE_NAME lists. ## | |
16926 ## ------------------------------------------ ## | |
16927 _ASBOX | |
16928 ) | | |
16929 sed "s/^/$as_me: WARNING: /" >&2 | |
19308 ;; | 16930 ;; |
19309 esac | 16931 esac |
19310 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 16932 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
19311 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 16933 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
19312 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 16934 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
19313 echo $ECHO_N "(cached) $ECHO_C" >&6 | 16935 echo $ECHO_N "(cached) $ECHO_C" >&6 |
19314 else | 16936 else |
19315 eval "$as_ac_Header=\$ac_header_preproc" | 16937 eval "$as_ac_Header=\$ac_header_preproc" |
19316 fi | 16938 fi |
19317 ac_res=`eval echo '${'$as_ac_Header'}'` | 16939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
19318 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 16940 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
19319 echo "${ECHO_T}$ac_res" >&6; } | |
19320 | 16941 |
19321 fi | 16942 fi |
19322 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 16943 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
19323 cat >>confdefs.h <<_ACEOF | 16944 cat >>confdefs.h <<_ACEOF |
19324 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 16945 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
19332 | 16953 |
19333 | 16954 |
19334 for ac_header in nlist.h | 16955 for ac_header in nlist.h |
19335 do | 16956 do |
19336 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 16957 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
19337 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 16958 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
19338 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 16959 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
19339 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 16960 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
19340 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 16961 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
19341 echo $ECHO_N "(cached) $ECHO_C" >&6 | 16962 echo $ECHO_N "(cached) $ECHO_C" >&6 |
19342 fi | 16963 fi |
19343 ac_res=`eval echo '${'$as_ac_Header'}'` | 16964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
19344 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 16965 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
19345 echo "${ECHO_T}$ac_res" >&6; } | |
19346 else | 16966 else |
19347 # Is the header compilable? | 16967 # Is the header compilable? |
19348 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 16968 echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
19349 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | 16969 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
19350 cat >conftest.$ac_ext <<_ACEOF | 16970 cat >conftest.$ac_ext <<_ACEOF |
19351 /* confdefs.h. */ | 16971 /* confdefs.h. */ |
19352 _ACEOF | 16972 _ACEOF |
19353 cat confdefs.h >>conftest.$ac_ext | 16973 cat confdefs.h >>conftest.$ac_ext |
19354 cat >>conftest.$ac_ext <<_ACEOF | 16974 cat >>conftest.$ac_ext <<_ACEOF |
19355 /* end confdefs.h. */ | 16975 /* end confdefs.h. */ |
19356 $ac_includes_default | 16976 $ac_includes_default |
19357 #include <$ac_header> | 16977 #include <$ac_header> |
19358 _ACEOF | 16978 _ACEOF |
19359 rm -f conftest.$ac_objext | 16979 rm -f conftest.$ac_objext |
19360 if { (ac_try="$ac_compile" | 16980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
19361 case "(($ac_try" in | 16981 (eval $ac_compile) 2>conftest.er1 |
19362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19363 *) ac_try_echo=$ac_try;; | |
19364 esac | |
19365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19366 (eval "$ac_compile") 2>conftest.er1 | |
19367 ac_status=$? | 16982 ac_status=$? |
19368 grep -v '^ *+' conftest.er1 >conftest.err | 16983 grep -v '^ *+' conftest.er1 >conftest.err |
19369 rm -f conftest.er1 | 16984 rm -f conftest.er1 |
19370 cat conftest.err >&5 | 16985 cat conftest.err >&5 |
19371 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16986 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19372 (exit $ac_status); } && | 16987 (exit $ac_status); } && |
19373 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 16988 { ac_try='test -z "$ac_c_werror_flag" |
19374 { (case "(($ac_try" in | 16989 || test ! -s conftest.err' |
19375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 16990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19376 *) ac_try_echo=$ac_try;; | 16991 (eval $ac_try) 2>&5 |
19377 esac | |
19378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19379 (eval "$ac_try") 2>&5 | |
19380 ac_status=$? | 16992 ac_status=$? |
19381 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16993 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19382 (exit $ac_status); }; } && | 16994 (exit $ac_status); }; } && |
19383 { ac_try='test -s conftest.$ac_objext' | 16995 { ac_try='test -s conftest.$ac_objext' |
19384 { (case "(($ac_try" in | 16996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 16997 (eval $ac_try) 2>&5 |
19386 *) ac_try_echo=$ac_try;; | |
19387 esac | |
19388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19389 (eval "$ac_try") 2>&5 | |
19390 ac_status=$? | 16998 ac_status=$? |
19391 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16999 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19392 (exit $ac_status); }; }; then | 17000 (exit $ac_status); }; }; then |
19393 ac_header_compiler=yes | 17001 ac_header_compiler=yes |
19394 else | 17002 else |
19395 echo "$as_me: failed program was:" >&5 | 17003 echo "$as_me: failed program was:" >&5 |
19396 sed 's/^/| /' conftest.$ac_ext >&5 | 17004 sed 's/^/| /' conftest.$ac_ext >&5 |
19397 | 17005 |
19398 ac_header_compiler=no | 17006 ac_header_compiler=no |
19399 fi | 17007 fi |
19400 | 17008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
19401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 17009 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
19402 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 17010 echo "${ECHO_T}$ac_header_compiler" >&6 |
19403 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
19404 | 17011 |
19405 # Is the header present? | 17012 # Is the header present? |
19406 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 17013 echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
19407 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | 17014 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
19408 cat >conftest.$ac_ext <<_ACEOF | 17015 cat >conftest.$ac_ext <<_ACEOF |
19409 /* confdefs.h. */ | 17016 /* confdefs.h. */ |
19410 _ACEOF | 17017 _ACEOF |
19411 cat confdefs.h >>conftest.$ac_ext | 17018 cat confdefs.h >>conftest.$ac_ext |
19412 cat >>conftest.$ac_ext <<_ACEOF | 17019 cat >>conftest.$ac_ext <<_ACEOF |
19413 /* end confdefs.h. */ | 17020 /* end confdefs.h. */ |
19414 #include <$ac_header> | 17021 #include <$ac_header> |
19415 _ACEOF | 17022 _ACEOF |
19416 if { (ac_try="$ac_cpp conftest.$ac_ext" | 17023 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
19417 case "(($ac_try" in | 17024 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
19418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19419 *) ac_try_echo=$ac_try;; | |
19420 esac | |
19421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19422 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
19423 ac_status=$? | 17025 ac_status=$? |
19424 grep -v '^ *+' conftest.er1 >conftest.err | 17026 grep -v '^ *+' conftest.er1 >conftest.err |
19425 rm -f conftest.er1 | 17027 rm -f conftest.er1 |
19426 cat conftest.err >&5 | 17028 cat conftest.err >&5 |
19427 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17029 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19441 echo "$as_me: failed program was:" >&5 | 17043 echo "$as_me: failed program was:" >&5 |
19442 sed 's/^/| /' conftest.$ac_ext >&5 | 17044 sed 's/^/| /' conftest.$ac_ext >&5 |
19443 | 17045 |
19444 ac_header_preproc=no | 17046 ac_header_preproc=no |
19445 fi | 17047 fi |
19446 | |
19447 rm -f conftest.err conftest.$ac_ext | 17048 rm -f conftest.err conftest.$ac_ext |
19448 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 17049 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
19449 echo "${ECHO_T}$ac_header_preproc" >&6; } | 17050 echo "${ECHO_T}$ac_header_preproc" >&6 |
19450 | 17051 |
19451 # So? What about this header? | 17052 # So? What about this header? |
19452 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 17053 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
19453 yes:no: ) | 17054 yes:no: ) |
19454 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 17055 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
19468 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | 17069 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
19469 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 17070 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
19470 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 17071 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
19471 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 17072 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
19472 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 17073 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
19473 | 17074 ( |
17075 cat <<\_ASBOX | |
17076 ## ------------------------------------------ ## | |
17077 ## Report this to the AC_PACKAGE_NAME lists. ## | |
17078 ## ------------------------------------------ ## | |
17079 _ASBOX | |
17080 ) | | |
17081 sed "s/^/$as_me: WARNING: /" >&2 | |
19474 ;; | 17082 ;; |
19475 esac | 17083 esac |
19476 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 17084 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
19477 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 17085 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
19478 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 17086 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
19479 echo $ECHO_N "(cached) $ECHO_C" >&6 | 17087 echo $ECHO_N "(cached) $ECHO_C" >&6 |
19480 else | 17088 else |
19481 eval "$as_ac_Header=\$ac_header_preproc" | 17089 eval "$as_ac_Header=\$ac_header_preproc" |
19482 fi | 17090 fi |
19483 ac_res=`eval echo '${'$as_ac_Header'}'` | 17091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
19484 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 17092 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
19485 echo "${ECHO_T}$ac_res" >&6; } | |
19486 | 17093 |
19487 fi | 17094 fi |
19488 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 17095 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
19489 cat >>confdefs.h <<_ACEOF | 17096 cat >>confdefs.h <<_ACEOF |
19490 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 17097 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
19491 _ACEOF | 17098 _ACEOF |
19492 { echo "$as_me:$LINENO: checking for struct nlist.n_un.n_name" >&5 | 17099 echo "$as_me:$LINENO: checking for struct nlist.n_un.n_name" >&5 |
19493 echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6; } | 17100 echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6 |
19494 if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then | 17101 if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then |
19495 echo $ECHO_N "(cached) $ECHO_C" >&6 | 17102 echo $ECHO_N "(cached) $ECHO_C" >&6 |
19496 else | 17103 else |
19497 cat >conftest.$ac_ext <<_ACEOF | 17104 cat >conftest.$ac_ext <<_ACEOF |
19498 /* confdefs.h. */ | 17105 /* confdefs.h. */ |
19511 ; | 17118 ; |
19512 return 0; | 17119 return 0; |
19513 } | 17120 } |
19514 _ACEOF | 17121 _ACEOF |
19515 rm -f conftest.$ac_objext | 17122 rm -f conftest.$ac_objext |
19516 if { (ac_try="$ac_compile" | 17123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
19517 case "(($ac_try" in | 17124 (eval $ac_compile) 2>conftest.er1 |
19518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19519 *) ac_try_echo=$ac_try;; | |
19520 esac | |
19521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19522 (eval "$ac_compile") 2>conftest.er1 | |
19523 ac_status=$? | 17125 ac_status=$? |
19524 grep -v '^ *+' conftest.er1 >conftest.err | 17126 grep -v '^ *+' conftest.er1 >conftest.err |
19525 rm -f conftest.er1 | 17127 rm -f conftest.er1 |
19526 cat conftest.err >&5 | 17128 cat conftest.err >&5 |
19527 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17129 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19528 (exit $ac_status); } && | 17130 (exit $ac_status); } && |
19529 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 17131 { ac_try='test -z "$ac_c_werror_flag" |
19530 { (case "(($ac_try" in | 17132 || test ! -s conftest.err' |
19531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 17133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19532 *) ac_try_echo=$ac_try;; | 17134 (eval $ac_try) 2>&5 |
19533 esac | |
19534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19535 (eval "$ac_try") 2>&5 | |
19536 ac_status=$? | 17135 ac_status=$? |
19537 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17136 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19538 (exit $ac_status); }; } && | 17137 (exit $ac_status); }; } && |
19539 { ac_try='test -s conftest.$ac_objext' | 17138 { ac_try='test -s conftest.$ac_objext' |
19540 { (case "(($ac_try" in | 17139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 17140 (eval $ac_try) 2>&5 |
19542 *) ac_try_echo=$ac_try;; | |
19543 esac | |
19544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19545 (eval "$ac_try") 2>&5 | |
19546 ac_status=$? | 17141 ac_status=$? |
19547 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17142 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19548 (exit $ac_status); }; }; then | 17143 (exit $ac_status); }; }; then |
19549 ac_cv_member_struct_nlist_n_un_n_name=yes | 17144 ac_cv_member_struct_nlist_n_un_n_name=yes |
19550 else | 17145 else |
19551 echo "$as_me: failed program was:" >&5 | 17146 echo "$as_me: failed program was:" >&5 |
19552 sed 's/^/| /' conftest.$ac_ext >&5 | 17147 sed 's/^/| /' conftest.$ac_ext >&5 |
19553 | 17148 |
19554 cat >conftest.$ac_ext <<_ACEOF | 17149 cat >conftest.$ac_ext <<_ACEOF |
19555 /* confdefs.h. */ | 17150 /* confdefs.h. */ |
19556 _ACEOF | 17151 _ACEOF |
19557 cat confdefs.h >>conftest.$ac_ext | 17152 cat confdefs.h >>conftest.$ac_ext |
19558 cat >>conftest.$ac_ext <<_ACEOF | 17153 cat >>conftest.$ac_ext <<_ACEOF |
19559 /* end confdefs.h. */ | 17154 /* end confdefs.h. */ |
19568 ; | 17163 ; |
19569 return 0; | 17164 return 0; |
19570 } | 17165 } |
19571 _ACEOF | 17166 _ACEOF |
19572 rm -f conftest.$ac_objext | 17167 rm -f conftest.$ac_objext |
19573 if { (ac_try="$ac_compile" | 17168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
19574 case "(($ac_try" in | 17169 (eval $ac_compile) 2>conftest.er1 |
19575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19576 *) ac_try_echo=$ac_try;; | |
19577 esac | |
19578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19579 (eval "$ac_compile") 2>conftest.er1 | |
19580 ac_status=$? | 17170 ac_status=$? |
19581 grep -v '^ *+' conftest.er1 >conftest.err | 17171 grep -v '^ *+' conftest.er1 >conftest.err |
19582 rm -f conftest.er1 | 17172 rm -f conftest.er1 |
19583 cat conftest.err >&5 | 17173 cat conftest.err >&5 |
19584 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17174 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19585 (exit $ac_status); } && | 17175 (exit $ac_status); } && |
19586 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 17176 { ac_try='test -z "$ac_c_werror_flag" |
19587 { (case "(($ac_try" in | 17177 || test ! -s conftest.err' |
19588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 17178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19589 *) ac_try_echo=$ac_try;; | 17179 (eval $ac_try) 2>&5 |
19590 esac | |
19591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19592 (eval "$ac_try") 2>&5 | |
19593 ac_status=$? | 17180 ac_status=$? |
19594 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17181 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19595 (exit $ac_status); }; } && | 17182 (exit $ac_status); }; } && |
19596 { ac_try='test -s conftest.$ac_objext' | 17183 { ac_try='test -s conftest.$ac_objext' |
19597 { (case "(($ac_try" in | 17184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 17185 (eval $ac_try) 2>&5 |
19599 *) ac_try_echo=$ac_try;; | |
19600 esac | |
19601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19602 (eval "$ac_try") 2>&5 | |
19603 ac_status=$? | 17186 ac_status=$? |
19604 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17187 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19605 (exit $ac_status); }; }; then | 17188 (exit $ac_status); }; }; then |
19606 ac_cv_member_struct_nlist_n_un_n_name=yes | 17189 ac_cv_member_struct_nlist_n_un_n_name=yes |
19607 else | 17190 else |
19608 echo "$as_me: failed program was:" >&5 | 17191 echo "$as_me: failed program was:" >&5 |
19609 sed 's/^/| /' conftest.$ac_ext >&5 | 17192 sed 's/^/| /' conftest.$ac_ext >&5 |
19610 | 17193 |
19611 ac_cv_member_struct_nlist_n_un_n_name=no | 17194 ac_cv_member_struct_nlist_n_un_n_name=no |
19612 fi | 17195 fi |
19613 | 17196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
19614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 17197 fi |
19615 fi | 17198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
19616 | 17199 fi |
19617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 17200 echo "$as_me:$LINENO: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5 |
19618 fi | 17201 echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6 |
19619 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5 | |
19620 echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6; } | |
19621 if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then | 17202 if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then |
19622 | 17203 |
19623 cat >>confdefs.h <<_ACEOF | 17204 cat >>confdefs.h <<_ACEOF |
19624 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 | 17205 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 |
19625 _ACEOF | 17206 _ACEOF |
19639 fi | 17220 fi |
19640 done | 17221 done |
19641 | 17222 |
19642 | 17223 |
19643 # Some definitions of getloadavg require that the program be installed setgid. | 17224 # Some definitions of getloadavg require that the program be installed setgid. |
19644 { echo "$as_me:$LINENO: checking whether getloadavg requires setgid" >&5 | 17225 echo "$as_me:$LINENO: checking whether getloadavg requires setgid" >&5 |
19645 echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6; } | 17226 echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6 |
19646 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then | 17227 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then |
19647 echo $ECHO_N "(cached) $ECHO_C" >&6 | 17228 echo $ECHO_N "(cached) $ECHO_C" >&6 |
19648 else | 17229 else |
19649 cat >conftest.$ac_ext <<_ACEOF | 17230 cat >conftest.$ac_ext <<_ACEOF |
19650 /* confdefs.h. */ | 17231 /* confdefs.h. */ |
19664 ac_cv_func_getloadavg_setgid=no | 17245 ac_cv_func_getloadavg_setgid=no |
19665 fi | 17246 fi |
19666 rm -f conftest* | 17247 rm -f conftest* |
19667 | 17248 |
19668 fi | 17249 fi |
19669 { echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg_setgid" >&5 | 17250 echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg_setgid" >&5 |
19670 echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6; } | 17251 echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6 |
19671 if test $ac_cv_func_getloadavg_setgid = yes; then | 17252 if test $ac_cv_func_getloadavg_setgid = yes; then |
19672 NEED_SETGID=true | 17253 NEED_SETGID=true |
19673 | 17254 |
19674 cat >>confdefs.h <<\_ACEOF | 17255 cat >>confdefs.h <<\_ACEOF |
19675 #define GETLOADAVG_PRIVILEGED 1 | 17256 #define GETLOADAVG_PRIVILEGED 1 |
19678 else | 17259 else |
19679 NEED_SETGID=false | 17260 NEED_SETGID=false |
19680 fi | 17261 fi |
19681 | 17262 |
19682 if test $ac_cv_func_getloadavg_setgid = yes; then | 17263 if test $ac_cv_func_getloadavg_setgid = yes; then |
19683 { echo "$as_me:$LINENO: checking group of /dev/kmem" >&5 | 17264 echo "$as_me:$LINENO: checking group of /dev/kmem" >&5 |
19684 echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6; } | 17265 echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6 |
19685 if test "${ac_cv_group_kmem+set}" = set; then | 17266 if test "${ac_cv_group_kmem+set}" = set; then |
19686 echo $ECHO_N "(cached) $ECHO_C" >&6 | 17267 echo $ECHO_N "(cached) $ECHO_C" >&6 |
19687 else | 17268 else |
19688 # On Solaris, /dev/kmem is a symlink. Get info on the real file. | 17269 # On Solaris, /dev/kmem is a symlink. Get info on the real file. |
19689 ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null` | 17270 ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null` |
19693 | sed -ne 's/[ ][ ]*/ /g; | 17274 | sed -ne 's/[ ][ ]*/ /g; |
19694 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/; | 17275 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/; |
19695 / /s/.* //;p;'` | 17276 / /s/.* //;p;'` |
19696 | 17277 |
19697 fi | 17278 fi |
19698 { echo "$as_me:$LINENO: result: $ac_cv_group_kmem" >&5 | 17279 echo "$as_me:$LINENO: result: $ac_cv_group_kmem" >&5 |
19699 echo "${ECHO_T}$ac_cv_group_kmem" >&6; } | 17280 echo "${ECHO_T}$ac_cv_group_kmem" >&6 |
19700 KMEM_GROUP=$ac_cv_group_kmem | 17281 KMEM_GROUP=$ac_cv_group_kmem |
19701 fi | 17282 fi |
19702 if test "x$ac_save_LIBS" = x; then | 17283 if test "x$ac_save_LIBS" = x; then |
19703 GETLOADAVG_LIBS=$LIBS | 17284 GETLOADAVG_LIBS=$LIBS |
19704 else | 17285 else |
19706 fi | 17287 fi |
19707 LIBS=$ac_save_LIBS | 17288 LIBS=$ac_save_LIBS |
19708 | 17289 |
19709 | 17290 |
19710 | 17291 |
19711 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5 | 17292 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5 |
19712 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; } | 17293 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6 |
19713 if test "${ac_cv_sys_largefile_source+set}" = set; then | 17294 if test "${ac_cv_sys_largefile_source+set}" = set; then |
19714 echo $ECHO_N "(cached) $ECHO_C" >&6 | 17295 echo $ECHO_N "(cached) $ECHO_C" >&6 |
19715 else | 17296 else |
19716 while :; do | 17297 while :; do |
19717 ac_cv_sys_largefile_source=no | 17298 ac_cv_sys_largefile_source=no |
19729 ; | 17310 ; |
19730 return 0; | 17311 return 0; |
19731 } | 17312 } |
19732 _ACEOF | 17313 _ACEOF |
19733 rm -f conftest.$ac_objext | 17314 rm -f conftest.$ac_objext |
19734 if { (ac_try="$ac_compile" | 17315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
19735 case "(($ac_try" in | 17316 (eval $ac_compile) 2>conftest.er1 |
19736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19737 *) ac_try_echo=$ac_try;; | |
19738 esac | |
19739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19740 (eval "$ac_compile") 2>conftest.er1 | |
19741 ac_status=$? | 17317 ac_status=$? |
19742 grep -v '^ *+' conftest.er1 >conftest.err | 17318 grep -v '^ *+' conftest.er1 >conftest.err |
19743 rm -f conftest.er1 | 17319 rm -f conftest.er1 |
19744 cat conftest.err >&5 | 17320 cat conftest.err >&5 |
19745 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17321 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19746 (exit $ac_status); } && | 17322 (exit $ac_status); } && |
19747 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 17323 { ac_try='test -z "$ac_c_werror_flag" |
19748 { (case "(($ac_try" in | 17324 || test ! -s conftest.err' |
19749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 17325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19750 *) ac_try_echo=$ac_try;; | 17326 (eval $ac_try) 2>&5 |
19751 esac | |
19752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19753 (eval "$ac_try") 2>&5 | |
19754 ac_status=$? | 17327 ac_status=$? |
19755 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17328 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19756 (exit $ac_status); }; } && | 17329 (exit $ac_status); }; } && |
19757 { ac_try='test -s conftest.$ac_objext' | 17330 { ac_try='test -s conftest.$ac_objext' |
19758 { (case "(($ac_try" in | 17331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 17332 (eval $ac_try) 2>&5 |
19760 *) ac_try_echo=$ac_try;; | |
19761 esac | |
19762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19763 (eval "$ac_try") 2>&5 | |
19764 ac_status=$? | 17333 ac_status=$? |
19765 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17334 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19766 (exit $ac_status); }; }; then | 17335 (exit $ac_status); }; }; then |
19767 break | 17336 break |
19768 else | 17337 else |
19769 echo "$as_me: failed program was:" >&5 | 17338 echo "$as_me: failed program was:" >&5 |
19770 sed 's/^/| /' conftest.$ac_ext >&5 | 17339 sed 's/^/| /' conftest.$ac_ext >&5 |
19771 | 17340 |
19772 | 17341 fi |
19773 fi | 17342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
19774 | |
19775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
19776 cat >conftest.$ac_ext <<_ACEOF | 17343 cat >conftest.$ac_ext <<_ACEOF |
19777 /* confdefs.h. */ | 17344 /* confdefs.h. */ |
19778 _ACEOF | 17345 _ACEOF |
19779 cat confdefs.h >>conftest.$ac_ext | 17346 cat confdefs.h >>conftest.$ac_ext |
19780 cat >>conftest.$ac_ext <<_ACEOF | 17347 cat >>conftest.$ac_ext <<_ACEOF |
19788 ; | 17355 ; |
19789 return 0; | 17356 return 0; |
19790 } | 17357 } |
19791 _ACEOF | 17358 _ACEOF |
19792 rm -f conftest.$ac_objext | 17359 rm -f conftest.$ac_objext |
19793 if { (ac_try="$ac_compile" | 17360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
19794 case "(($ac_try" in | 17361 (eval $ac_compile) 2>conftest.er1 |
19795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19796 *) ac_try_echo=$ac_try;; | |
19797 esac | |
19798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19799 (eval "$ac_compile") 2>conftest.er1 | |
19800 ac_status=$? | 17362 ac_status=$? |
19801 grep -v '^ *+' conftest.er1 >conftest.err | 17363 grep -v '^ *+' conftest.er1 >conftest.err |
19802 rm -f conftest.er1 | 17364 rm -f conftest.er1 |
19803 cat conftest.err >&5 | 17365 cat conftest.err >&5 |
19804 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17366 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19805 (exit $ac_status); } && | 17367 (exit $ac_status); } && |
19806 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 17368 { ac_try='test -z "$ac_c_werror_flag" |
19807 { (case "(($ac_try" in | 17369 || test ! -s conftest.err' |
19808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 17370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19809 *) ac_try_echo=$ac_try;; | 17371 (eval $ac_try) 2>&5 |
19810 esac | |
19811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19812 (eval "$ac_try") 2>&5 | |
19813 ac_status=$? | 17372 ac_status=$? |
19814 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17373 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19815 (exit $ac_status); }; } && | 17374 (exit $ac_status); }; } && |
19816 { ac_try='test -s conftest.$ac_objext' | 17375 { ac_try='test -s conftest.$ac_objext' |
19817 { (case "(($ac_try" in | 17376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 17377 (eval $ac_try) 2>&5 |
19819 *) ac_try_echo=$ac_try;; | |
19820 esac | |
19821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19822 (eval "$ac_try") 2>&5 | |
19823 ac_status=$? | 17378 ac_status=$? |
19824 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17379 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19825 (exit $ac_status); }; }; then | 17380 (exit $ac_status); }; }; then |
19826 ac_cv_sys_largefile_source=1; break | 17381 ac_cv_sys_largefile_source=1; break |
19827 else | 17382 else |
19828 echo "$as_me: failed program was:" >&5 | 17383 echo "$as_me: failed program was:" >&5 |
19829 sed 's/^/| /' conftest.$ac_ext >&5 | 17384 sed 's/^/| /' conftest.$ac_ext >&5 |
19830 | 17385 |
19831 | 17386 fi |
19832 fi | 17387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
19833 | |
19834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
19835 break | 17388 break |
19836 done | 17389 done |
19837 fi | 17390 fi |
19838 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5 | 17391 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5 |
19839 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; } | 17392 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6 |
19840 if test "$ac_cv_sys_largefile_source" != no; then | 17393 if test "$ac_cv_sys_largefile_source" != no; then |
19841 | 17394 |
19842 cat >>confdefs.h <<_ACEOF | 17395 cat >>confdefs.h <<_ACEOF |
19843 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source | 17396 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source |
19844 _ACEOF | 17397 _ACEOF |
19847 rm -f conftest* | 17400 rm -f conftest* |
19848 | 17401 |
19849 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug | 17402 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug |
19850 # in glibc 2.1.3, but that breaks too many other things. | 17403 # in glibc 2.1.3, but that breaks too many other things. |
19851 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. | 17404 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. |
19852 { echo "$as_me:$LINENO: checking for fseeko" >&5 | 17405 echo "$as_me:$LINENO: checking for fseeko" >&5 |
19853 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6; } | 17406 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6 |
19854 if test "${ac_cv_func_fseeko+set}" = set; then | 17407 if test "${ac_cv_func_fseeko+set}" = set; then |
19855 echo $ECHO_N "(cached) $ECHO_C" >&6 | 17408 echo $ECHO_N "(cached) $ECHO_C" >&6 |
19856 else | 17409 else |
19857 cat >conftest.$ac_ext <<_ACEOF | 17410 cat >conftest.$ac_ext <<_ACEOF |
19858 /* confdefs.h. */ | 17411 /* confdefs.h. */ |
19868 ; | 17421 ; |
19869 return 0; | 17422 return 0; |
19870 } | 17423 } |
19871 _ACEOF | 17424 _ACEOF |
19872 rm -f conftest.$ac_objext conftest$ac_exeext | 17425 rm -f conftest.$ac_objext conftest$ac_exeext |
19873 if { (ac_try="$ac_link" | 17426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
19874 case "(($ac_try" in | 17427 (eval $ac_link) 2>conftest.er1 |
19875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19876 *) ac_try_echo=$ac_try;; | |
19877 esac | |
19878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19879 (eval "$ac_link") 2>conftest.er1 | |
19880 ac_status=$? | 17428 ac_status=$? |
19881 grep -v '^ *+' conftest.er1 >conftest.err | 17429 grep -v '^ *+' conftest.er1 >conftest.err |
19882 rm -f conftest.er1 | 17430 rm -f conftest.er1 |
19883 cat conftest.err >&5 | 17431 cat conftest.err >&5 |
19884 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17432 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19885 (exit $ac_status); } && | 17433 (exit $ac_status); } && |
19886 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 17434 { ac_try='test -z "$ac_c_werror_flag" |
19887 { (case "(($ac_try" in | 17435 || test ! -s conftest.err' |
19888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 17436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19889 *) ac_try_echo=$ac_try;; | 17437 (eval $ac_try) 2>&5 |
19890 esac | |
19891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19892 (eval "$ac_try") 2>&5 | |
19893 ac_status=$? | 17438 ac_status=$? |
19894 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17439 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19895 (exit $ac_status); }; } && | 17440 (exit $ac_status); }; } && |
19896 { ac_try='test -s conftest$ac_exeext' | 17441 { ac_try='test -s conftest$ac_exeext' |
19897 { (case "(($ac_try" in | 17442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 17443 (eval $ac_try) 2>&5 |
19899 *) ac_try_echo=$ac_try;; | |
19900 esac | |
19901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19902 (eval "$ac_try") 2>&5 | |
19903 ac_status=$? | 17444 ac_status=$? |
19904 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17445 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19905 (exit $ac_status); }; }; then | 17446 (exit $ac_status); }; }; then |
19906 ac_cv_func_fseeko=yes | 17447 ac_cv_func_fseeko=yes |
19907 else | 17448 else |
19908 echo "$as_me: failed program was:" >&5 | 17449 echo "$as_me: failed program was:" >&5 |
19909 sed 's/^/| /' conftest.$ac_ext >&5 | 17450 sed 's/^/| /' conftest.$ac_ext >&5 |
19910 | 17451 |
19911 ac_cv_func_fseeko=no | 17452 ac_cv_func_fseeko=no |
19912 fi | 17453 fi |
19913 | 17454 rm -f conftest.err conftest.$ac_objext \ |
19914 rm -f core conftest.err conftest.$ac_objext \ | |
19915 conftest$ac_exeext conftest.$ac_ext | 17455 conftest$ac_exeext conftest.$ac_ext |
19916 fi | 17456 fi |
19917 { echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5 | 17457 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5 |
19918 echo "${ECHO_T}$ac_cv_func_fseeko" >&6; } | 17458 echo "${ECHO_T}$ac_cv_func_fseeko" >&6 |
19919 if test $ac_cv_func_fseeko = yes; then | 17459 if test $ac_cv_func_fseeko = yes; then |
19920 | 17460 |
19921 cat >>confdefs.h <<\_ACEOF | 17461 cat >>confdefs.h <<\_ACEOF |
19922 #define HAVE_FSEEKO 1 | 17462 #define HAVE_FSEEKO 1 |
19923 _ACEOF | 17463 _ACEOF |
19950 GETOPT_H= | 17490 GETOPT_H= |
19951 | 17491 |
19952 for ac_header in getopt.h | 17492 for ac_header in getopt.h |
19953 do | 17493 do |
19954 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 17494 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
19955 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 17495 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
19956 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 17496 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
19957 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 17497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
19958 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 17498 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
19959 echo $ECHO_N "(cached) $ECHO_C" >&6 | 17499 echo $ECHO_N "(cached) $ECHO_C" >&6 |
19960 fi | 17500 fi |
19961 ac_res=`eval echo '${'$as_ac_Header'}'` | 17501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
19962 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 17502 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
19963 echo "${ECHO_T}$ac_res" >&6; } | |
19964 else | 17503 else |
19965 # Is the header compilable? | 17504 # Is the header compilable? |
19966 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 17505 echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
19967 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | 17506 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
19968 cat >conftest.$ac_ext <<_ACEOF | 17507 cat >conftest.$ac_ext <<_ACEOF |
19969 /* confdefs.h. */ | 17508 /* confdefs.h. */ |
19970 _ACEOF | 17509 _ACEOF |
19971 cat confdefs.h >>conftest.$ac_ext | 17510 cat confdefs.h >>conftest.$ac_ext |
19972 cat >>conftest.$ac_ext <<_ACEOF | 17511 cat >>conftest.$ac_ext <<_ACEOF |
19973 /* end confdefs.h. */ | 17512 /* end confdefs.h. */ |
19974 $ac_includes_default | 17513 $ac_includes_default |
19975 #include <$ac_header> | 17514 #include <$ac_header> |
19976 _ACEOF | 17515 _ACEOF |
19977 rm -f conftest.$ac_objext | 17516 rm -f conftest.$ac_objext |
19978 if { (ac_try="$ac_compile" | 17517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
19979 case "(($ac_try" in | 17518 (eval $ac_compile) 2>conftest.er1 |
19980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19981 *) ac_try_echo=$ac_try;; | |
19982 esac | |
19983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19984 (eval "$ac_compile") 2>conftest.er1 | |
19985 ac_status=$? | 17519 ac_status=$? |
19986 grep -v '^ *+' conftest.er1 >conftest.err | 17520 grep -v '^ *+' conftest.er1 >conftest.err |
19987 rm -f conftest.er1 | 17521 rm -f conftest.er1 |
19988 cat conftest.err >&5 | 17522 cat conftest.err >&5 |
19989 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17523 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19990 (exit $ac_status); } && | 17524 (exit $ac_status); } && |
19991 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 17525 { ac_try='test -z "$ac_c_werror_flag" |
19992 { (case "(($ac_try" in | 17526 || test ! -s conftest.err' |
19993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 17527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19994 *) ac_try_echo=$ac_try;; | 17528 (eval $ac_try) 2>&5 |
19995 esac | |
19996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19997 (eval "$ac_try") 2>&5 | |
19998 ac_status=$? | 17529 ac_status=$? |
19999 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17530 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20000 (exit $ac_status); }; } && | 17531 (exit $ac_status); }; } && |
20001 { ac_try='test -s conftest.$ac_objext' | 17532 { ac_try='test -s conftest.$ac_objext' |
20002 { (case "(($ac_try" in | 17533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 17534 (eval $ac_try) 2>&5 |
20004 *) ac_try_echo=$ac_try;; | |
20005 esac | |
20006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20007 (eval "$ac_try") 2>&5 | |
20008 ac_status=$? | 17535 ac_status=$? |
20009 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17536 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20010 (exit $ac_status); }; }; then | 17537 (exit $ac_status); }; }; then |
20011 ac_header_compiler=yes | 17538 ac_header_compiler=yes |
20012 else | 17539 else |
20013 echo "$as_me: failed program was:" >&5 | 17540 echo "$as_me: failed program was:" >&5 |
20014 sed 's/^/| /' conftest.$ac_ext >&5 | 17541 sed 's/^/| /' conftest.$ac_ext >&5 |
20015 | 17542 |
20016 ac_header_compiler=no | 17543 ac_header_compiler=no |
20017 fi | 17544 fi |
20018 | 17545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
20019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 17546 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
20020 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 17547 echo "${ECHO_T}$ac_header_compiler" >&6 |
20021 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
20022 | 17548 |
20023 # Is the header present? | 17549 # Is the header present? |
20024 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 17550 echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
20025 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | 17551 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
20026 cat >conftest.$ac_ext <<_ACEOF | 17552 cat >conftest.$ac_ext <<_ACEOF |
20027 /* confdefs.h. */ | 17553 /* confdefs.h. */ |
20028 _ACEOF | 17554 _ACEOF |
20029 cat confdefs.h >>conftest.$ac_ext | 17555 cat confdefs.h >>conftest.$ac_ext |
20030 cat >>conftest.$ac_ext <<_ACEOF | 17556 cat >>conftest.$ac_ext <<_ACEOF |
20031 /* end confdefs.h. */ | 17557 /* end confdefs.h. */ |
20032 #include <$ac_header> | 17558 #include <$ac_header> |
20033 _ACEOF | 17559 _ACEOF |
20034 if { (ac_try="$ac_cpp conftest.$ac_ext" | 17560 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
20035 case "(($ac_try" in | 17561 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
20036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20037 *) ac_try_echo=$ac_try;; | |
20038 esac | |
20039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20040 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
20041 ac_status=$? | 17562 ac_status=$? |
20042 grep -v '^ *+' conftest.er1 >conftest.err | 17563 grep -v '^ *+' conftest.er1 >conftest.err |
20043 rm -f conftest.er1 | 17564 rm -f conftest.er1 |
20044 cat conftest.err >&5 | 17565 cat conftest.err >&5 |
20045 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17566 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20059 echo "$as_me: failed program was:" >&5 | 17580 echo "$as_me: failed program was:" >&5 |
20060 sed 's/^/| /' conftest.$ac_ext >&5 | 17581 sed 's/^/| /' conftest.$ac_ext >&5 |
20061 | 17582 |
20062 ac_header_preproc=no | 17583 ac_header_preproc=no |
20063 fi | 17584 fi |
20064 | |
20065 rm -f conftest.err conftest.$ac_ext | 17585 rm -f conftest.err conftest.$ac_ext |
20066 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 17586 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
20067 echo "${ECHO_T}$ac_header_preproc" >&6; } | 17587 echo "${ECHO_T}$ac_header_preproc" >&6 |
20068 | 17588 |
20069 # So? What about this header? | 17589 # So? What about this header? |
20070 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 17590 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
20071 yes:no: ) | 17591 yes:no: ) |
20072 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 17592 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
20086 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | 17606 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
20087 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 17607 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
20088 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 17608 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
20089 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 17609 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
20090 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 17610 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
20091 | 17611 ( |
17612 cat <<\_ASBOX | |
17613 ## ------------------------------------------ ## | |
17614 ## Report this to the AC_PACKAGE_NAME lists. ## | |
17615 ## ------------------------------------------ ## | |
17616 _ASBOX | |
17617 ) | | |
17618 sed "s/^/$as_me: WARNING: /" >&2 | |
20092 ;; | 17619 ;; |
20093 esac | 17620 esac |
20094 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 17621 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
20095 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 17622 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
20096 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 17623 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
20097 echo $ECHO_N "(cached) $ECHO_C" >&6 | 17624 echo $ECHO_N "(cached) $ECHO_C" >&6 |
20098 else | 17625 else |
20099 eval "$as_ac_Header=\$ac_header_preproc" | 17626 eval "$as_ac_Header=\$ac_header_preproc" |
20100 fi | 17627 fi |
20101 ac_res=`eval echo '${'$as_ac_Header'}'` | 17628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
20102 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 17629 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
20103 echo "${ECHO_T}$ac_res" >&6; } | |
20104 | 17630 |
20105 fi | 17631 fi |
20106 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 17632 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
20107 cat >>confdefs.h <<_ACEOF | 17633 cat >>confdefs.h <<_ACEOF |
20108 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 17634 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
20117 if test -z "$GETOPT_H"; then | 17643 if test -z "$GETOPT_H"; then |
20118 | 17644 |
20119 for ac_func in getopt_long_only | 17645 for ac_func in getopt_long_only |
20120 do | 17646 do |
20121 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 17647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
20122 { echo "$as_me:$LINENO: checking for $ac_func" >&5 | 17648 echo "$as_me:$LINENO: checking for $ac_func" >&5 |
20123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 17649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
20124 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 17650 if eval "test \"\${$as_ac_var+set}\" = set"; then |
20125 echo $ECHO_N "(cached) $ECHO_C" >&6 | 17651 echo $ECHO_N "(cached) $ECHO_C" >&6 |
20126 else | 17652 else |
20127 cat >conftest.$ac_ext <<_ACEOF | 17653 cat >conftest.$ac_ext <<_ACEOF |
20128 /* confdefs.h. */ | 17654 /* confdefs.h. */ |
20129 _ACEOF | 17655 _ACEOF |
20145 # include <assert.h> | 17671 # include <assert.h> |
20146 #endif | 17672 #endif |
20147 | 17673 |
20148 #undef $ac_func | 17674 #undef $ac_func |
20149 | 17675 |
20150 /* Override any GCC internal prototype to avoid an error. | 17676 /* Override any gcc2 internal prototype to avoid an error. */ |
20151 Use char because int might match the return type of a GCC | |
20152 builtin and then its argument prototype would still apply. */ | |
20153 #ifdef __cplusplus | 17677 #ifdef __cplusplus |
20154 extern "C" | 17678 extern "C" |
17679 { | |
20155 #endif | 17680 #endif |
17681 /* We use char because int might match the return type of a gcc2 | |
17682 builtin and then its argument prototype would still apply. */ | |
20156 char $ac_func (); | 17683 char $ac_func (); |
20157 /* The GNU C library defines this for functions which it implements | 17684 /* The GNU C library defines this for functions which it implements |
20158 to always fail with ENOSYS. Some functions are actually named | 17685 to always fail with ENOSYS. Some functions are actually named |
20159 something starting with __ and the normal name is an alias. */ | 17686 something starting with __ and the normal name is an alias. */ |
20160 #if defined __stub_$ac_func || defined __stub___$ac_func | 17687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
20161 choke me | 17688 choke me |
17689 #else | |
17690 char (*f) () = $ac_func; | |
17691 #endif | |
17692 #ifdef __cplusplus | |
17693 } | |
20162 #endif | 17694 #endif |
20163 | 17695 |
20164 int | 17696 int |
20165 main () | 17697 main () |
20166 { | 17698 { |
20167 return $ac_func (); | 17699 return f != $ac_func; |
20168 ; | 17700 ; |
20169 return 0; | 17701 return 0; |
20170 } | 17702 } |
20171 _ACEOF | 17703 _ACEOF |
20172 rm -f conftest.$ac_objext conftest$ac_exeext | 17704 rm -f conftest.$ac_objext conftest$ac_exeext |
20173 if { (ac_try="$ac_link" | 17705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
20174 case "(($ac_try" in | 17706 (eval $ac_link) 2>conftest.er1 |
20175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20176 *) ac_try_echo=$ac_try;; | |
20177 esac | |
20178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20179 (eval "$ac_link") 2>conftest.er1 | |
20180 ac_status=$? | 17707 ac_status=$? |
20181 grep -v '^ *+' conftest.er1 >conftest.err | 17708 grep -v '^ *+' conftest.er1 >conftest.err |
20182 rm -f conftest.er1 | 17709 rm -f conftest.er1 |
20183 cat conftest.err >&5 | 17710 cat conftest.err >&5 |
20184 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17711 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20185 (exit $ac_status); } && | 17712 (exit $ac_status); } && |
20186 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 17713 { ac_try='test -z "$ac_c_werror_flag" |
20187 { (case "(($ac_try" in | 17714 || test ! -s conftest.err' |
20188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 17715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20189 *) ac_try_echo=$ac_try;; | 17716 (eval $ac_try) 2>&5 |
20190 esac | |
20191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20192 (eval "$ac_try") 2>&5 | |
20193 ac_status=$? | 17717 ac_status=$? |
20194 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17718 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20195 (exit $ac_status); }; } && | 17719 (exit $ac_status); }; } && |
20196 { ac_try='test -s conftest$ac_exeext' | 17720 { ac_try='test -s conftest$ac_exeext' |
20197 { (case "(($ac_try" in | 17721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 17722 (eval $ac_try) 2>&5 |
20199 *) ac_try_echo=$ac_try;; | |
20200 esac | |
20201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20202 (eval "$ac_try") 2>&5 | |
20203 ac_status=$? | 17723 ac_status=$? |
20204 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17724 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20205 (exit $ac_status); }; }; then | 17725 (exit $ac_status); }; }; then |
20206 eval "$as_ac_var=yes" | 17726 eval "$as_ac_var=yes" |
20207 else | 17727 else |
20208 echo "$as_me: failed program was:" >&5 | 17728 echo "$as_me: failed program was:" >&5 |
20209 sed 's/^/| /' conftest.$ac_ext >&5 | 17729 sed 's/^/| /' conftest.$ac_ext >&5 |
20210 | 17730 |
20211 eval "$as_ac_var=no" | 17731 eval "$as_ac_var=no" |
20212 fi | 17732 fi |
20213 | 17733 rm -f conftest.err conftest.$ac_objext \ |
20214 rm -f core conftest.err conftest.$ac_objext \ | |
20215 conftest$ac_exeext conftest.$ac_ext | 17734 conftest$ac_exeext conftest.$ac_ext |
20216 fi | 17735 fi |
20217 ac_res=`eval echo '${'$as_ac_var'}'` | 17736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
20218 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 17737 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
20219 echo "${ECHO_T}$ac_res" >&6; } | |
20220 if test `eval echo '${'$as_ac_var'}'` = yes; then | 17738 if test `eval echo '${'$as_ac_var'}'` = yes; then |
20221 cat >>confdefs.h <<_ACEOF | 17739 cat >>confdefs.h <<_ACEOF |
20222 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 17740 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
20223 _ACEOF | 17741 _ACEOF |
20224 | 17742 |
20228 done | 17746 done |
20229 | 17747 |
20230 fi | 17748 fi |
20231 | 17749 |
20232 if test -z "$GETOPT_H"; then | 17750 if test -z "$GETOPT_H"; then |
20233 { echo "$as_me:$LINENO: checking whether optreset is declared" >&5 | 17751 echo "$as_me:$LINENO: checking whether optreset is declared" >&5 |
20234 echo $ECHO_N "checking whether optreset is declared... $ECHO_C" >&6; } | 17752 echo $ECHO_N "checking whether optreset is declared... $ECHO_C" >&6 |
20235 if test "${ac_cv_have_decl_optreset+set}" = set; then | 17753 if test "${ac_cv_have_decl_optreset+set}" = set; then |
20236 echo $ECHO_N "(cached) $ECHO_C" >&6 | 17754 echo $ECHO_N "(cached) $ECHO_C" >&6 |
20237 else | 17755 else |
20238 cat >conftest.$ac_ext <<_ACEOF | 17756 cat >conftest.$ac_ext <<_ACEOF |
20239 /* confdefs.h. */ | 17757 /* confdefs.h. */ |
20246 int | 17764 int |
20247 main () | 17765 main () |
20248 { | 17766 { |
20249 #ifndef optreset | 17767 #ifndef optreset |
20250 char *p = (char *) optreset; | 17768 char *p = (char *) optreset; |
20251 return !p; | |
20252 #endif | 17769 #endif |
20253 | 17770 |
20254 ; | 17771 ; |
20255 return 0; | 17772 return 0; |
20256 } | 17773 } |
20257 _ACEOF | 17774 _ACEOF |
20258 rm -f conftest.$ac_objext | 17775 rm -f conftest.$ac_objext |
20259 if { (ac_try="$ac_compile" | 17776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
20260 case "(($ac_try" in | 17777 (eval $ac_compile) 2>conftest.er1 |
20261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20262 *) ac_try_echo=$ac_try;; | |
20263 esac | |
20264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20265 (eval "$ac_compile") 2>conftest.er1 | |
20266 ac_status=$? | 17778 ac_status=$? |
20267 grep -v '^ *+' conftest.er1 >conftest.err | 17779 grep -v '^ *+' conftest.er1 >conftest.err |
20268 rm -f conftest.er1 | 17780 rm -f conftest.er1 |
20269 cat conftest.err >&5 | 17781 cat conftest.err >&5 |
20270 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17782 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20271 (exit $ac_status); } && | 17783 (exit $ac_status); } && |
20272 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 17784 { ac_try='test -z "$ac_c_werror_flag" |
20273 { (case "(($ac_try" in | 17785 || test ! -s conftest.err' |
20274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 17786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20275 *) ac_try_echo=$ac_try;; | 17787 (eval $ac_try) 2>&5 |
20276 esac | |
20277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20278 (eval "$ac_try") 2>&5 | |
20279 ac_status=$? | 17788 ac_status=$? |
20280 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17789 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20281 (exit $ac_status); }; } && | 17790 (exit $ac_status); }; } && |
20282 { ac_try='test -s conftest.$ac_objext' | 17791 { ac_try='test -s conftest.$ac_objext' |
20283 { (case "(($ac_try" in | 17792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 17793 (eval $ac_try) 2>&5 |
20285 *) ac_try_echo=$ac_try;; | |
20286 esac | |
20287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20288 (eval "$ac_try") 2>&5 | |
20289 ac_status=$? | 17794 ac_status=$? |
20290 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17795 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20291 (exit $ac_status); }; }; then | 17796 (exit $ac_status); }; }; then |
20292 ac_cv_have_decl_optreset=yes | 17797 ac_cv_have_decl_optreset=yes |
20293 else | 17798 else |
20294 echo "$as_me: failed program was:" >&5 | 17799 echo "$as_me: failed program was:" >&5 |
20295 sed 's/^/| /' conftest.$ac_ext >&5 | 17800 sed 's/^/| /' conftest.$ac_ext >&5 |
20296 | 17801 |
20297 ac_cv_have_decl_optreset=no | 17802 ac_cv_have_decl_optreset=no |
20298 fi | 17803 fi |
20299 | 17804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
20300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 17805 fi |
20301 fi | 17806 echo "$as_me:$LINENO: result: $ac_cv_have_decl_optreset" >&5 |
20302 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_optreset" >&5 | 17807 echo "${ECHO_T}$ac_cv_have_decl_optreset" >&6 |
20303 echo "${ECHO_T}$ac_cv_have_decl_optreset" >&6; } | |
20304 if test $ac_cv_have_decl_optreset = yes; then | 17808 if test $ac_cv_have_decl_optreset = yes; then |
20305 GETOPT_H=getopt.h | 17809 GETOPT_H=getopt.h |
20306 fi | 17810 fi |
20307 | 17811 |
20308 fi | 17812 fi |
20309 | 17813 |
20310 if test -z "$GETOPT_H"; then | 17814 if test -z "$GETOPT_H"; then |
20311 { echo "$as_me:$LINENO: checking for working GNU getopt function" >&5 | 17815 echo "$as_me:$LINENO: checking for working GNU getopt function" >&5 |
20312 echo $ECHO_N "checking for working GNU getopt function... $ECHO_C" >&6; } | 17816 echo $ECHO_N "checking for working GNU getopt function... $ECHO_C" >&6 |
20313 if test "${gl_cv_func_gnu_getopt+set}" = set; then | 17817 if test "${gl_cv_func_gnu_getopt+set}" = set; then |
20314 echo $ECHO_N "(cached) $ECHO_C" >&6 | 17818 echo $ECHO_N "(cached) $ECHO_C" >&6 |
20315 else | 17819 else |
20316 if test "$cross_compiling" = yes; then | 17820 if test "$cross_compiling" = yes; then |
20317 { echo "$as_me:$LINENO: checking whether getopt_clip is declared" >&5 | 17821 echo "$as_me:$LINENO: checking whether getopt_clip is declared" >&5 |
20318 echo $ECHO_N "checking whether getopt_clip is declared... $ECHO_C" >&6; } | 17822 echo $ECHO_N "checking whether getopt_clip is declared... $ECHO_C" >&6 |
20319 if test "${ac_cv_have_decl_getopt_clip+set}" = set; then | 17823 if test "${ac_cv_have_decl_getopt_clip+set}" = set; then |
20320 echo $ECHO_N "(cached) $ECHO_C" >&6 | 17824 echo $ECHO_N "(cached) $ECHO_C" >&6 |
20321 else | 17825 else |
20322 cat >conftest.$ac_ext <<_ACEOF | 17826 cat >conftest.$ac_ext <<_ACEOF |
20323 /* confdefs.h. */ | 17827 /* confdefs.h. */ |
20330 int | 17834 int |
20331 main () | 17835 main () |
20332 { | 17836 { |
20333 #ifndef getopt_clip | 17837 #ifndef getopt_clip |
20334 char *p = (char *) getopt_clip; | 17838 char *p = (char *) getopt_clip; |
20335 return !p; | |
20336 #endif | 17839 #endif |
20337 | 17840 |
20338 ; | 17841 ; |
20339 return 0; | 17842 return 0; |
20340 } | 17843 } |
20341 _ACEOF | 17844 _ACEOF |
20342 rm -f conftest.$ac_objext | 17845 rm -f conftest.$ac_objext |
20343 if { (ac_try="$ac_compile" | 17846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
20344 case "(($ac_try" in | 17847 (eval $ac_compile) 2>conftest.er1 |
20345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20346 *) ac_try_echo=$ac_try;; | |
20347 esac | |
20348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20349 (eval "$ac_compile") 2>conftest.er1 | |
20350 ac_status=$? | 17848 ac_status=$? |
20351 grep -v '^ *+' conftest.er1 >conftest.err | 17849 grep -v '^ *+' conftest.er1 >conftest.err |
20352 rm -f conftest.er1 | 17850 rm -f conftest.er1 |
20353 cat conftest.err >&5 | 17851 cat conftest.err >&5 |
20354 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17852 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20355 (exit $ac_status); } && | 17853 (exit $ac_status); } && |
20356 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 17854 { ac_try='test -z "$ac_c_werror_flag" |
20357 { (case "(($ac_try" in | 17855 || test ! -s conftest.err' |
20358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 17856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20359 *) ac_try_echo=$ac_try;; | 17857 (eval $ac_try) 2>&5 |
20360 esac | |
20361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20362 (eval "$ac_try") 2>&5 | |
20363 ac_status=$? | 17858 ac_status=$? |
20364 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17859 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20365 (exit $ac_status); }; } && | 17860 (exit $ac_status); }; } && |
20366 { ac_try='test -s conftest.$ac_objext' | 17861 { ac_try='test -s conftest.$ac_objext' |
20367 { (case "(($ac_try" in | 17862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 17863 (eval $ac_try) 2>&5 |
20369 *) ac_try_echo=$ac_try;; | |
20370 esac | |
20371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20372 (eval "$ac_try") 2>&5 | |
20373 ac_status=$? | 17864 ac_status=$? |
20374 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17865 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20375 (exit $ac_status); }; }; then | 17866 (exit $ac_status); }; }; then |
20376 ac_cv_have_decl_getopt_clip=yes | 17867 ac_cv_have_decl_getopt_clip=yes |
20377 else | 17868 else |
20378 echo "$as_me: failed program was:" >&5 | 17869 echo "$as_me: failed program was:" >&5 |
20379 sed 's/^/| /' conftest.$ac_ext >&5 | 17870 sed 's/^/| /' conftest.$ac_ext >&5 |
20380 | 17871 |
20381 ac_cv_have_decl_getopt_clip=no | 17872 ac_cv_have_decl_getopt_clip=no |
20382 fi | 17873 fi |
20383 | 17874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
20384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 17875 fi |
20385 fi | 17876 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt_clip" >&5 |
20386 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt_clip" >&5 | 17877 echo "${ECHO_T}$ac_cv_have_decl_getopt_clip" >&6 |
20387 echo "${ECHO_T}$ac_cv_have_decl_getopt_clip" >&6; } | |
20388 if test $ac_cv_have_decl_getopt_clip = yes; then | 17878 if test $ac_cv_have_decl_getopt_clip = yes; then |
20389 gl_cv_func_gnu_getopt=no | 17879 gl_cv_func_gnu_getopt=no |
20390 else | 17880 else |
20391 gl_cv_func_gnu_getopt=yes | 17881 gl_cv_func_gnu_getopt=yes |
20392 fi | 17882 fi |
20412 ; | 17902 ; |
20413 return 0; | 17903 return 0; |
20414 } | 17904 } |
20415 _ACEOF | 17905 _ACEOF |
20416 rm -f conftest$ac_exeext | 17906 rm -f conftest$ac_exeext |
20417 if { (ac_try="$ac_link" | 17907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
20418 case "(($ac_try" in | 17908 (eval $ac_link) 2>&5 |
20419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20420 *) ac_try_echo=$ac_try;; | |
20421 esac | |
20422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20423 (eval "$ac_link") 2>&5 | |
20424 ac_status=$? | 17909 ac_status=$? |
20425 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17910 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20426 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 17911 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
20427 { (case "(($ac_try" in | 17912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 17913 (eval $ac_try) 2>&5 |
20429 *) ac_try_echo=$ac_try;; | |
20430 esac | |
20431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20432 (eval "$ac_try") 2>&5 | |
20433 ac_status=$? | 17914 ac_status=$? |
20434 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17915 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20435 (exit $ac_status); }; }; then | 17916 (exit $ac_status); }; }; then |
20436 gl_cv_func_gnu_getopt=yes | 17917 gl_cv_func_gnu_getopt=yes |
20437 else | 17918 else |
20440 sed 's/^/| /' conftest.$ac_ext >&5 | 17921 sed 's/^/| /' conftest.$ac_ext >&5 |
20441 | 17922 |
20442 ( exit $ac_status ) | 17923 ( exit $ac_status ) |
20443 gl_cv_func_gnu_getopt=no | 17924 gl_cv_func_gnu_getopt=no |
20444 fi | 17925 fi |
20445 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 17926 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
20446 fi | 17927 fi |
20447 | 17928 fi |
20448 | 17929 echo "$as_me:$LINENO: result: $gl_cv_func_gnu_getopt" >&5 |
20449 fi | 17930 echo "${ECHO_T}$gl_cv_func_gnu_getopt" >&6 |
20450 { echo "$as_me:$LINENO: result: $gl_cv_func_gnu_getopt" >&5 | |
20451 echo "${ECHO_T}$gl_cv_func_gnu_getopt" >&6; } | |
20452 if test "$gl_cv_func_gnu_getopt" = "no"; then | 17931 if test "$gl_cv_func_gnu_getopt" = "no"; then |
20453 GETOPT_H=getopt.h | 17932 GETOPT_H=getopt.h |
20454 fi | 17933 fi |
20455 fi | 17934 fi |
20456 | 17935 |
20473 fi | 17952 fi |
20474 | 17953 |
20475 | 17954 |
20476 | 17955 |
20477 | 17956 |
20478 { echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5 | 17957 echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5 |
20479 echo $ECHO_N "checking whether getpgrp requires zero arguments... $ECHO_C" >&6; } | 17958 echo $ECHO_N "checking whether getpgrp requires zero arguments... $ECHO_C" >&6 |
20480 if test "${ac_cv_func_getpgrp_void+set}" = set; then | 17959 if test "${ac_cv_func_getpgrp_void+set}" = set; then |
20481 echo $ECHO_N "(cached) $ECHO_C" >&6 | 17960 echo $ECHO_N "(cached) $ECHO_C" >&6 |
20482 else | 17961 else |
20483 # Use it with a single arg. | 17962 # Use it with a single arg. |
20484 cat >conftest.$ac_ext <<_ACEOF | 17963 cat >conftest.$ac_ext <<_ACEOF |
20495 ; | 17974 ; |
20496 return 0; | 17975 return 0; |
20497 } | 17976 } |
20498 _ACEOF | 17977 _ACEOF |
20499 rm -f conftest.$ac_objext | 17978 rm -f conftest.$ac_objext |
20500 if { (ac_try="$ac_compile" | 17979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
20501 case "(($ac_try" in | 17980 (eval $ac_compile) 2>conftest.er1 |
20502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20503 *) ac_try_echo=$ac_try;; | |
20504 esac | |
20505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20506 (eval "$ac_compile") 2>conftest.er1 | |
20507 ac_status=$? | 17981 ac_status=$? |
20508 grep -v '^ *+' conftest.er1 >conftest.err | 17982 grep -v '^ *+' conftest.er1 >conftest.err |
20509 rm -f conftest.er1 | 17983 rm -f conftest.er1 |
20510 cat conftest.err >&5 | 17984 cat conftest.err >&5 |
20511 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17985 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20512 (exit $ac_status); } && | 17986 (exit $ac_status); } && |
20513 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 17987 { ac_try='test -z "$ac_c_werror_flag" |
20514 { (case "(($ac_try" in | 17988 || test ! -s conftest.err' |
20515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 17989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20516 *) ac_try_echo=$ac_try;; | 17990 (eval $ac_try) 2>&5 |
20517 esac | |
20518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20519 (eval "$ac_try") 2>&5 | |
20520 ac_status=$? | 17991 ac_status=$? |
20521 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17992 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20522 (exit $ac_status); }; } && | 17993 (exit $ac_status); }; } && |
20523 { ac_try='test -s conftest.$ac_objext' | 17994 { ac_try='test -s conftest.$ac_objext' |
20524 { (case "(($ac_try" in | 17995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 17996 (eval $ac_try) 2>&5 |
20526 *) ac_try_echo=$ac_try;; | |
20527 esac | |
20528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20529 (eval "$ac_try") 2>&5 | |
20530 ac_status=$? | 17997 ac_status=$? |
20531 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17998 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20532 (exit $ac_status); }; }; then | 17999 (exit $ac_status); }; }; then |
20533 ac_cv_func_getpgrp_void=no | 18000 ac_cv_func_getpgrp_void=no |
20534 else | 18001 else |
20535 echo "$as_me: failed program was:" >&5 | 18002 echo "$as_me: failed program was:" >&5 |
20536 sed 's/^/| /' conftest.$ac_ext >&5 | 18003 sed 's/^/| /' conftest.$ac_ext >&5 |
20537 | 18004 |
20538 ac_cv_func_getpgrp_void=yes | 18005 ac_cv_func_getpgrp_void=yes |
20539 fi | 18006 fi |
20540 | 18007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
20541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 18008 |
20542 | 18009 fi |
20543 fi | 18010 echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5 |
20544 { echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5 | 18011 echo "${ECHO_T}$ac_cv_func_getpgrp_void" >&6 |
20545 echo "${ECHO_T}$ac_cv_func_getpgrp_void" >&6; } | |
20546 if test $ac_cv_func_getpgrp_void = yes; then | 18012 if test $ac_cv_func_getpgrp_void = yes; then |
20547 | 18013 |
20548 cat >>confdefs.h <<\_ACEOF | 18014 cat >>confdefs.h <<\_ACEOF |
20549 #define GETPGRP_VOID 1 | 18015 #define GETPGRP_VOID 1 |
20550 _ACEOF | 18016 _ACEOF |
20554 | 18020 |
20555 | 18021 |
20556 for ac_func in strftime | 18022 for ac_func in strftime |
20557 do | 18023 do |
20558 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 18024 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
20559 { echo "$as_me:$LINENO: checking for $ac_func" >&5 | 18025 echo "$as_me:$LINENO: checking for $ac_func" >&5 |
20560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 18026 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
20561 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 18027 if eval "test \"\${$as_ac_var+set}\" = set"; then |
20562 echo $ECHO_N "(cached) $ECHO_C" >&6 | 18028 echo $ECHO_N "(cached) $ECHO_C" >&6 |
20563 else | 18029 else |
20564 cat >conftest.$ac_ext <<_ACEOF | 18030 cat >conftest.$ac_ext <<_ACEOF |
20565 /* confdefs.h. */ | 18031 /* confdefs.h. */ |
20566 _ACEOF | 18032 _ACEOF |
20582 # include <assert.h> | 18048 # include <assert.h> |
20583 #endif | 18049 #endif |
20584 | 18050 |
20585 #undef $ac_func | 18051 #undef $ac_func |
20586 | 18052 |
20587 /* Override any GCC internal prototype to avoid an error. | 18053 /* Override any gcc2 internal prototype to avoid an error. */ |
20588 Use char because int might match the return type of a GCC | |
20589 builtin and then its argument prototype would still apply. */ | |
20590 #ifdef __cplusplus | 18054 #ifdef __cplusplus |
20591 extern "C" | 18055 extern "C" |
18056 { | |
20592 #endif | 18057 #endif |
18058 /* We use char because int might match the return type of a gcc2 | |
18059 builtin and then its argument prototype would still apply. */ | |
20593 char $ac_func (); | 18060 char $ac_func (); |
20594 /* The GNU C library defines this for functions which it implements | 18061 /* The GNU C library defines this for functions which it implements |
20595 to always fail with ENOSYS. Some functions are actually named | 18062 to always fail with ENOSYS. Some functions are actually named |
20596 something starting with __ and the normal name is an alias. */ | 18063 something starting with __ and the normal name is an alias. */ |
20597 #if defined __stub_$ac_func || defined __stub___$ac_func | 18064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
20598 choke me | 18065 choke me |
18066 #else | |
18067 char (*f) () = $ac_func; | |
18068 #endif | |
18069 #ifdef __cplusplus | |
18070 } | |
20599 #endif | 18071 #endif |
20600 | 18072 |
20601 int | 18073 int |
20602 main () | 18074 main () |
20603 { | 18075 { |
20604 return $ac_func (); | 18076 return f != $ac_func; |
20605 ; | 18077 ; |
20606 return 0; | 18078 return 0; |
20607 } | 18079 } |
20608 _ACEOF | 18080 _ACEOF |
20609 rm -f conftest.$ac_objext conftest$ac_exeext | 18081 rm -f conftest.$ac_objext conftest$ac_exeext |
20610 if { (ac_try="$ac_link" | 18082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
20611 case "(($ac_try" in | 18083 (eval $ac_link) 2>conftest.er1 |
20612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20613 *) ac_try_echo=$ac_try;; | |
20614 esac | |
20615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20616 (eval "$ac_link") 2>conftest.er1 | |
20617 ac_status=$? | 18084 ac_status=$? |
20618 grep -v '^ *+' conftest.er1 >conftest.err | 18085 grep -v '^ *+' conftest.er1 >conftest.err |
20619 rm -f conftest.er1 | 18086 rm -f conftest.er1 |
20620 cat conftest.err >&5 | 18087 cat conftest.err >&5 |
20621 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18088 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20622 (exit $ac_status); } && | 18089 (exit $ac_status); } && |
20623 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 18090 { ac_try='test -z "$ac_c_werror_flag" |
20624 { (case "(($ac_try" in | 18091 || test ! -s conftest.err' |
20625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 18092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20626 *) ac_try_echo=$ac_try;; | 18093 (eval $ac_try) 2>&5 |
20627 esac | |
20628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20629 (eval "$ac_try") 2>&5 | |
20630 ac_status=$? | 18094 ac_status=$? |
20631 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18095 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20632 (exit $ac_status); }; } && | 18096 (exit $ac_status); }; } && |
20633 { ac_try='test -s conftest$ac_exeext' | 18097 { ac_try='test -s conftest$ac_exeext' |
20634 { (case "(($ac_try" in | 18098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 18099 (eval $ac_try) 2>&5 |
20636 *) ac_try_echo=$ac_try;; | |
20637 esac | |
20638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20639 (eval "$ac_try") 2>&5 | |
20640 ac_status=$? | 18100 ac_status=$? |
20641 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18101 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20642 (exit $ac_status); }; }; then | 18102 (exit $ac_status); }; }; then |
20643 eval "$as_ac_var=yes" | 18103 eval "$as_ac_var=yes" |
20644 else | 18104 else |
20645 echo "$as_me: failed program was:" >&5 | 18105 echo "$as_me: failed program was:" >&5 |
20646 sed 's/^/| /' conftest.$ac_ext >&5 | 18106 sed 's/^/| /' conftest.$ac_ext >&5 |
20647 | 18107 |
20648 eval "$as_ac_var=no" | 18108 eval "$as_ac_var=no" |
20649 fi | 18109 fi |
20650 | 18110 rm -f conftest.err conftest.$ac_objext \ |
20651 rm -f core conftest.err conftest.$ac_objext \ | |
20652 conftest$ac_exeext conftest.$ac_ext | 18111 conftest$ac_exeext conftest.$ac_ext |
20653 fi | 18112 fi |
20654 ac_res=`eval echo '${'$as_ac_var'}'` | 18113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
20655 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 18114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
20656 echo "${ECHO_T}$ac_res" >&6; } | |
20657 if test `eval echo '${'$as_ac_var'}'` = yes; then | 18115 if test `eval echo '${'$as_ac_var'}'` = yes; then |
20658 cat >>confdefs.h <<_ACEOF | 18116 cat >>confdefs.h <<_ACEOF |
20659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 18117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
20660 _ACEOF | 18118 _ACEOF |
20661 | 18119 |
20662 else | 18120 else |
20663 # strftime is in -lintl on SCO UNIX. | 18121 # strftime is in -lintl on SCO UNIX. |
20664 { echo "$as_me:$LINENO: checking for strftime in -lintl" >&5 | 18122 echo "$as_me:$LINENO: checking for strftime in -lintl" >&5 |
20665 echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6; } | 18123 echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6 |
20666 if test "${ac_cv_lib_intl_strftime+set}" = set; then | 18124 if test "${ac_cv_lib_intl_strftime+set}" = set; then |
20667 echo $ECHO_N "(cached) $ECHO_C" >&6 | 18125 echo $ECHO_N "(cached) $ECHO_C" >&6 |
20668 else | 18126 else |
20669 ac_check_lib_save_LIBS=$LIBS | 18127 ac_check_lib_save_LIBS=$LIBS |
20670 LIBS="-lintl $LIBS" | 18128 LIBS="-lintl $LIBS" |
20673 _ACEOF | 18131 _ACEOF |
20674 cat confdefs.h >>conftest.$ac_ext | 18132 cat confdefs.h >>conftest.$ac_ext |
20675 cat >>conftest.$ac_ext <<_ACEOF | 18133 cat >>conftest.$ac_ext <<_ACEOF |
20676 /* end confdefs.h. */ | 18134 /* end confdefs.h. */ |
20677 | 18135 |
20678 /* Override any GCC internal prototype to avoid an error. | 18136 /* Override any gcc2 internal prototype to avoid an error. */ |
20679 Use char because int might match the return type of a GCC | |
20680 builtin and then its argument prototype would still apply. */ | |
20681 #ifdef __cplusplus | 18137 #ifdef __cplusplus |
20682 extern "C" | 18138 extern "C" |
20683 #endif | 18139 #endif |
18140 /* We use char because int might match the return type of a gcc2 | |
18141 builtin and then its argument prototype would still apply. */ | |
20684 char strftime (); | 18142 char strftime (); |
20685 int | 18143 int |
20686 main () | 18144 main () |
20687 { | 18145 { |
20688 return strftime (); | 18146 strftime (); |
20689 ; | 18147 ; |
20690 return 0; | 18148 return 0; |
20691 } | 18149 } |
20692 _ACEOF | 18150 _ACEOF |
20693 rm -f conftest.$ac_objext conftest$ac_exeext | 18151 rm -f conftest.$ac_objext conftest$ac_exeext |
20694 if { (ac_try="$ac_link" | 18152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
20695 case "(($ac_try" in | 18153 (eval $ac_link) 2>conftest.er1 |
20696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20697 *) ac_try_echo=$ac_try;; | |
20698 esac | |
20699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20700 (eval "$ac_link") 2>conftest.er1 | |
20701 ac_status=$? | 18154 ac_status=$? |
20702 grep -v '^ *+' conftest.er1 >conftest.err | 18155 grep -v '^ *+' conftest.er1 >conftest.err |
20703 rm -f conftest.er1 | 18156 rm -f conftest.er1 |
20704 cat conftest.err >&5 | 18157 cat conftest.err >&5 |
20705 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18158 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20706 (exit $ac_status); } && | 18159 (exit $ac_status); } && |
20707 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 18160 { ac_try='test -z "$ac_c_werror_flag" |
20708 { (case "(($ac_try" in | 18161 || test ! -s conftest.err' |
20709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 18162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20710 *) ac_try_echo=$ac_try;; | 18163 (eval $ac_try) 2>&5 |
20711 esac | |
20712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20713 (eval "$ac_try") 2>&5 | |
20714 ac_status=$? | 18164 ac_status=$? |
20715 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18165 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20716 (exit $ac_status); }; } && | 18166 (exit $ac_status); }; } && |
20717 { ac_try='test -s conftest$ac_exeext' | 18167 { ac_try='test -s conftest$ac_exeext' |
20718 { (case "(($ac_try" in | 18168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 18169 (eval $ac_try) 2>&5 |
20720 *) ac_try_echo=$ac_try;; | |
20721 esac | |
20722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20723 (eval "$ac_try") 2>&5 | |
20724 ac_status=$? | 18170 ac_status=$? |
20725 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18171 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20726 (exit $ac_status); }; }; then | 18172 (exit $ac_status); }; }; then |
20727 ac_cv_lib_intl_strftime=yes | 18173 ac_cv_lib_intl_strftime=yes |
20728 else | 18174 else |
20729 echo "$as_me: failed program was:" >&5 | 18175 echo "$as_me: failed program was:" >&5 |
20730 sed 's/^/| /' conftest.$ac_ext >&5 | 18176 sed 's/^/| /' conftest.$ac_ext >&5 |
20731 | 18177 |
20732 ac_cv_lib_intl_strftime=no | 18178 ac_cv_lib_intl_strftime=no |
20733 fi | 18179 fi |
20734 | 18180 rm -f conftest.err conftest.$ac_objext \ |
20735 rm -f core conftest.err conftest.$ac_objext \ | |
20736 conftest$ac_exeext conftest.$ac_ext | 18181 conftest$ac_exeext conftest.$ac_ext |
20737 LIBS=$ac_check_lib_save_LIBS | 18182 LIBS=$ac_check_lib_save_LIBS |
20738 fi | 18183 fi |
20739 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5 | 18184 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5 |
20740 echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6; } | 18185 echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6 |
20741 if test $ac_cv_lib_intl_strftime = yes; then | 18186 if test $ac_cv_lib_intl_strftime = yes; then |
20742 cat >>confdefs.h <<\_ACEOF | 18187 cat >>confdefs.h <<\_ACEOF |
20743 #define HAVE_STRFTIME 1 | 18188 #define HAVE_STRFTIME 1 |
20744 _ACEOF | 18189 _ACEOF |
20745 | 18190 |
20753 # UNIX98 PTYs. | 18198 # UNIX98 PTYs. |
20754 | 18199 |
20755 for ac_func in grantpt | 18200 for ac_func in grantpt |
20756 do | 18201 do |
20757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 18202 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
20758 { echo "$as_me:$LINENO: checking for $ac_func" >&5 | 18203 echo "$as_me:$LINENO: checking for $ac_func" >&5 |
20759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 18204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
20760 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 18205 if eval "test \"\${$as_ac_var+set}\" = set"; then |
20761 echo $ECHO_N "(cached) $ECHO_C" >&6 | 18206 echo $ECHO_N "(cached) $ECHO_C" >&6 |
20762 else | 18207 else |
20763 cat >conftest.$ac_ext <<_ACEOF | 18208 cat >conftest.$ac_ext <<_ACEOF |
20764 /* confdefs.h. */ | 18209 /* confdefs.h. */ |
20765 _ACEOF | 18210 _ACEOF |
20781 # include <assert.h> | 18226 # include <assert.h> |
20782 #endif | 18227 #endif |
20783 | 18228 |
20784 #undef $ac_func | 18229 #undef $ac_func |
20785 | 18230 |
20786 /* Override any GCC internal prototype to avoid an error. | 18231 /* Override any gcc2 internal prototype to avoid an error. */ |
20787 Use char because int might match the return type of a GCC | |
20788 builtin and then its argument prototype would still apply. */ | |
20789 #ifdef __cplusplus | 18232 #ifdef __cplusplus |
20790 extern "C" | 18233 extern "C" |
18234 { | |
20791 #endif | 18235 #endif |
18236 /* We use char because int might match the return type of a gcc2 | |
18237 builtin and then its argument prototype would still apply. */ | |
20792 char $ac_func (); | 18238 char $ac_func (); |
20793 /* The GNU C library defines this for functions which it implements | 18239 /* The GNU C library defines this for functions which it implements |
20794 to always fail with ENOSYS. Some functions are actually named | 18240 to always fail with ENOSYS. Some functions are actually named |
20795 something starting with __ and the normal name is an alias. */ | 18241 something starting with __ and the normal name is an alias. */ |
20796 #if defined __stub_$ac_func || defined __stub___$ac_func | 18242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
20797 choke me | 18243 choke me |
18244 #else | |
18245 char (*f) () = $ac_func; | |
18246 #endif | |
18247 #ifdef __cplusplus | |
18248 } | |
20798 #endif | 18249 #endif |
20799 | 18250 |
20800 int | 18251 int |
20801 main () | 18252 main () |
20802 { | 18253 { |
20803 return $ac_func (); | 18254 return f != $ac_func; |
20804 ; | 18255 ; |
20805 return 0; | 18256 return 0; |
20806 } | 18257 } |
20807 _ACEOF | 18258 _ACEOF |
20808 rm -f conftest.$ac_objext conftest$ac_exeext | 18259 rm -f conftest.$ac_objext conftest$ac_exeext |
20809 if { (ac_try="$ac_link" | 18260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
20810 case "(($ac_try" in | 18261 (eval $ac_link) 2>conftest.er1 |
20811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20812 *) ac_try_echo=$ac_try;; | |
20813 esac | |
20814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20815 (eval "$ac_link") 2>conftest.er1 | |
20816 ac_status=$? | 18262 ac_status=$? |
20817 grep -v '^ *+' conftest.er1 >conftest.err | 18263 grep -v '^ *+' conftest.er1 >conftest.err |
20818 rm -f conftest.er1 | 18264 rm -f conftest.er1 |
20819 cat conftest.err >&5 | 18265 cat conftest.err >&5 |
20820 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18266 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20821 (exit $ac_status); } && | 18267 (exit $ac_status); } && |
20822 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 18268 { ac_try='test -z "$ac_c_werror_flag" |
20823 { (case "(($ac_try" in | 18269 || test ! -s conftest.err' |
20824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 18270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20825 *) ac_try_echo=$ac_try;; | 18271 (eval $ac_try) 2>&5 |
20826 esac | |
20827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20828 (eval "$ac_try") 2>&5 | |
20829 ac_status=$? | 18272 ac_status=$? |
20830 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18273 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20831 (exit $ac_status); }; } && | 18274 (exit $ac_status); }; } && |
20832 { ac_try='test -s conftest$ac_exeext' | 18275 { ac_try='test -s conftest$ac_exeext' |
20833 { (case "(($ac_try" in | 18276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 18277 (eval $ac_try) 2>&5 |
20835 *) ac_try_echo=$ac_try;; | |
20836 esac | |
20837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20838 (eval "$ac_try") 2>&5 | |
20839 ac_status=$? | 18278 ac_status=$? |
20840 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18279 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20841 (exit $ac_status); }; }; then | 18280 (exit $ac_status); }; }; then |
20842 eval "$as_ac_var=yes" | 18281 eval "$as_ac_var=yes" |
20843 else | 18282 else |
20844 echo "$as_me: failed program was:" >&5 | 18283 echo "$as_me: failed program was:" >&5 |
20845 sed 's/^/| /' conftest.$ac_ext >&5 | 18284 sed 's/^/| /' conftest.$ac_ext >&5 |
20846 | 18285 |
20847 eval "$as_ac_var=no" | 18286 eval "$as_ac_var=no" |
20848 fi | 18287 fi |
20849 | 18288 rm -f conftest.err conftest.$ac_objext \ |
20850 rm -f core conftest.err conftest.$ac_objext \ | |
20851 conftest$ac_exeext conftest.$ac_ext | 18289 conftest$ac_exeext conftest.$ac_ext |
20852 fi | 18290 fi |
20853 ac_res=`eval echo '${'$as_ac_var'}'` | 18291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
20854 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 18292 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
20855 echo "${ECHO_T}$ac_res" >&6; } | |
20856 if test `eval echo '${'$as_ac_var'}'` = yes; then | 18293 if test `eval echo '${'$as_ac_var'}'` = yes; then |
20857 cat >>confdefs.h <<_ACEOF | 18294 cat >>confdefs.h <<_ACEOF |
20858 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 18295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
20859 _ACEOF | 18296 _ACEOF |
20860 | 18297 |
20865 # PTY-related GNU extensions. | 18302 # PTY-related GNU extensions. |
20866 | 18303 |
20867 for ac_func in getpt | 18304 for ac_func in getpt |
20868 do | 18305 do |
20869 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 18306 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
20870 { echo "$as_me:$LINENO: checking for $ac_func" >&5 | 18307 echo "$as_me:$LINENO: checking for $ac_func" >&5 |
20871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 18308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
20872 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 18309 if eval "test \"\${$as_ac_var+set}\" = set"; then |
20873 echo $ECHO_N "(cached) $ECHO_C" >&6 | 18310 echo $ECHO_N "(cached) $ECHO_C" >&6 |
20874 else | 18311 else |
20875 cat >conftest.$ac_ext <<_ACEOF | 18312 cat >conftest.$ac_ext <<_ACEOF |
20876 /* confdefs.h. */ | 18313 /* confdefs.h. */ |
20877 _ACEOF | 18314 _ACEOF |
20893 # include <assert.h> | 18330 # include <assert.h> |
20894 #endif | 18331 #endif |
20895 | 18332 |
20896 #undef $ac_func | 18333 #undef $ac_func |
20897 | 18334 |
20898 /* Override any GCC internal prototype to avoid an error. | 18335 /* Override any gcc2 internal prototype to avoid an error. */ |
20899 Use char because int might match the return type of a GCC | |
20900 builtin and then its argument prototype would still apply. */ | |
20901 #ifdef __cplusplus | 18336 #ifdef __cplusplus |
20902 extern "C" | 18337 extern "C" |
18338 { | |
20903 #endif | 18339 #endif |
18340 /* We use char because int might match the return type of a gcc2 | |
18341 builtin and then its argument prototype would still apply. */ | |
20904 char $ac_func (); | 18342 char $ac_func (); |
20905 /* The GNU C library defines this for functions which it implements | 18343 /* The GNU C library defines this for functions which it implements |
20906 to always fail with ENOSYS. Some functions are actually named | 18344 to always fail with ENOSYS. Some functions are actually named |
20907 something starting with __ and the normal name is an alias. */ | 18345 something starting with __ and the normal name is an alias. */ |
20908 #if defined __stub_$ac_func || defined __stub___$ac_func | 18346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
20909 choke me | 18347 choke me |
18348 #else | |
18349 char (*f) () = $ac_func; | |
18350 #endif | |
18351 #ifdef __cplusplus | |
18352 } | |
20910 #endif | 18353 #endif |
20911 | 18354 |
20912 int | 18355 int |
20913 main () | 18356 main () |
20914 { | 18357 { |
20915 return $ac_func (); | 18358 return f != $ac_func; |
20916 ; | 18359 ; |
20917 return 0; | 18360 return 0; |
20918 } | 18361 } |
20919 _ACEOF | 18362 _ACEOF |
20920 rm -f conftest.$ac_objext conftest$ac_exeext | 18363 rm -f conftest.$ac_objext conftest$ac_exeext |
20921 if { (ac_try="$ac_link" | 18364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
20922 case "(($ac_try" in | 18365 (eval $ac_link) 2>conftest.er1 |
20923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20924 *) ac_try_echo=$ac_try;; | |
20925 esac | |
20926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20927 (eval "$ac_link") 2>conftest.er1 | |
20928 ac_status=$? | 18366 ac_status=$? |
20929 grep -v '^ *+' conftest.er1 >conftest.err | 18367 grep -v '^ *+' conftest.er1 >conftest.err |
20930 rm -f conftest.er1 | 18368 rm -f conftest.er1 |
20931 cat conftest.err >&5 | 18369 cat conftest.err >&5 |
20932 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18370 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20933 (exit $ac_status); } && | 18371 (exit $ac_status); } && |
20934 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 18372 { ac_try='test -z "$ac_c_werror_flag" |
20935 { (case "(($ac_try" in | 18373 || test ! -s conftest.err' |
20936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 18374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20937 *) ac_try_echo=$ac_try;; | 18375 (eval $ac_try) 2>&5 |
20938 esac | |
20939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20940 (eval "$ac_try") 2>&5 | |
20941 ac_status=$? | 18376 ac_status=$? |
20942 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18377 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20943 (exit $ac_status); }; } && | 18378 (exit $ac_status); }; } && |
20944 { ac_try='test -s conftest$ac_exeext' | 18379 { ac_try='test -s conftest$ac_exeext' |
20945 { (case "(($ac_try" in | 18380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 18381 (eval $ac_try) 2>&5 |
20947 *) ac_try_echo=$ac_try;; | |
20948 esac | |
20949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20950 (eval "$ac_try") 2>&5 | |
20951 ac_status=$? | 18382 ac_status=$? |
20952 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18383 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20953 (exit $ac_status); }; }; then | 18384 (exit $ac_status); }; }; then |
20954 eval "$as_ac_var=yes" | 18385 eval "$as_ac_var=yes" |
20955 else | 18386 else |
20956 echo "$as_me: failed program was:" >&5 | 18387 echo "$as_me: failed program was:" >&5 |
20957 sed 's/^/| /' conftest.$ac_ext >&5 | 18388 sed 's/^/| /' conftest.$ac_ext >&5 |
20958 | 18389 |
20959 eval "$as_ac_var=no" | 18390 eval "$as_ac_var=no" |
20960 fi | 18391 fi |
20961 | 18392 rm -f conftest.err conftest.$ac_objext \ |
20962 rm -f core conftest.err conftest.$ac_objext \ | |
20963 conftest$ac_exeext conftest.$ac_ext | 18393 conftest$ac_exeext conftest.$ac_ext |
20964 fi | 18394 fi |
20965 ac_res=`eval echo '${'$as_ac_var'}'` | 18395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
20966 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 18396 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
20967 echo "${ECHO_T}$ac_res" >&6; } | |
20968 if test `eval echo '${'$as_ac_var'}'` = yes; then | 18397 if test `eval echo '${'$as_ac_var'}'` = yes; then |
20969 cat >>confdefs.h <<_ACEOF | 18398 cat >>confdefs.h <<_ACEOF |
20970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 18399 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
20971 _ACEOF | 18400 _ACEOF |
20972 | 18401 |
20977 # Check this now, so that we will NOT find the above functions in ncurses. | 18406 # Check this now, so that we will NOT find the above functions in ncurses. |
20978 # That is because we have not set up to link ncurses in lib-src. | 18407 # That is because we have not set up to link ncurses in lib-src. |
20979 # It's better to believe a function is not available | 18408 # It's better to believe a function is not available |
20980 # than to expect to find it in ncurses. | 18409 # than to expect to find it in ncurses. |
20981 | 18410 |
20982 { echo "$as_me:$LINENO: checking for tparm in -lncurses" >&5 | 18411 echo "$as_me:$LINENO: checking for tparm in -lncurses" >&5 |
20983 echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6; } | 18412 echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6 |
20984 if test "${ac_cv_lib_ncurses_tparm+set}" = set; then | 18413 if test "${ac_cv_lib_ncurses_tparm+set}" = set; then |
20985 echo $ECHO_N "(cached) $ECHO_C" >&6 | 18414 echo $ECHO_N "(cached) $ECHO_C" >&6 |
20986 else | 18415 else |
20987 ac_check_lib_save_LIBS=$LIBS | 18416 ac_check_lib_save_LIBS=$LIBS |
20988 LIBS="-lncurses $LIBS" | 18417 LIBS="-lncurses $LIBS" |
20991 _ACEOF | 18420 _ACEOF |
20992 cat confdefs.h >>conftest.$ac_ext | 18421 cat confdefs.h >>conftest.$ac_ext |
20993 cat >>conftest.$ac_ext <<_ACEOF | 18422 cat >>conftest.$ac_ext <<_ACEOF |
20994 /* end confdefs.h. */ | 18423 /* end confdefs.h. */ |
20995 | 18424 |
20996 /* Override any GCC internal prototype to avoid an error. | 18425 /* Override any gcc2 internal prototype to avoid an error. */ |
20997 Use char because int might match the return type of a GCC | |
20998 builtin and then its argument prototype would still apply. */ | |
20999 #ifdef __cplusplus | 18426 #ifdef __cplusplus |
21000 extern "C" | 18427 extern "C" |
21001 #endif | 18428 #endif |
18429 /* We use char because int might match the return type of a gcc2 | |
18430 builtin and then its argument prototype would still apply. */ | |
21002 char tparm (); | 18431 char tparm (); |
21003 int | 18432 int |
21004 main () | 18433 main () |
21005 { | 18434 { |
21006 return tparm (); | 18435 tparm (); |
21007 ; | 18436 ; |
21008 return 0; | 18437 return 0; |
21009 } | 18438 } |
21010 _ACEOF | 18439 _ACEOF |
21011 rm -f conftest.$ac_objext conftest$ac_exeext | 18440 rm -f conftest.$ac_objext conftest$ac_exeext |
21012 if { (ac_try="$ac_link" | 18441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
21013 case "(($ac_try" in | 18442 (eval $ac_link) 2>conftest.er1 |
21014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21015 *) ac_try_echo=$ac_try;; | |
21016 esac | |
21017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21018 (eval "$ac_link") 2>conftest.er1 | |
21019 ac_status=$? | 18443 ac_status=$? |
21020 grep -v '^ *+' conftest.er1 >conftest.err | 18444 grep -v '^ *+' conftest.er1 >conftest.err |
21021 rm -f conftest.er1 | 18445 rm -f conftest.er1 |
21022 cat conftest.err >&5 | 18446 cat conftest.err >&5 |
21023 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18447 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21024 (exit $ac_status); } && | 18448 (exit $ac_status); } && |
21025 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 18449 { ac_try='test -z "$ac_c_werror_flag" |
21026 { (case "(($ac_try" in | 18450 || test ! -s conftest.err' |
21027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 18451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21028 *) ac_try_echo=$ac_try;; | 18452 (eval $ac_try) 2>&5 |
21029 esac | |
21030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21031 (eval "$ac_try") 2>&5 | |
21032 ac_status=$? | 18453 ac_status=$? |
21033 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18454 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21034 (exit $ac_status); }; } && | 18455 (exit $ac_status); }; } && |
21035 { ac_try='test -s conftest$ac_exeext' | 18456 { ac_try='test -s conftest$ac_exeext' |
21036 { (case "(($ac_try" in | 18457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 18458 (eval $ac_try) 2>&5 |
21038 *) ac_try_echo=$ac_try;; | |
21039 esac | |
21040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21041 (eval "$ac_try") 2>&5 | |
21042 ac_status=$? | 18459 ac_status=$? |
21043 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18460 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21044 (exit $ac_status); }; }; then | 18461 (exit $ac_status); }; }; then |
21045 ac_cv_lib_ncurses_tparm=yes | 18462 ac_cv_lib_ncurses_tparm=yes |
21046 else | 18463 else |
21047 echo "$as_me: failed program was:" >&5 | 18464 echo "$as_me: failed program was:" >&5 |
21048 sed 's/^/| /' conftest.$ac_ext >&5 | 18465 sed 's/^/| /' conftest.$ac_ext >&5 |
21049 | 18466 |
21050 ac_cv_lib_ncurses_tparm=no | 18467 ac_cv_lib_ncurses_tparm=no |
21051 fi | 18468 fi |
21052 | 18469 rm -f conftest.err conftest.$ac_objext \ |
21053 rm -f core conftest.err conftest.$ac_objext \ | |
21054 conftest$ac_exeext conftest.$ac_ext | 18470 conftest$ac_exeext conftest.$ac_ext |
21055 LIBS=$ac_check_lib_save_LIBS | 18471 LIBS=$ac_check_lib_save_LIBS |
21056 fi | 18472 fi |
21057 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_tparm" >&5 | 18473 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_tparm" >&5 |
21058 echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6; } | 18474 echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6 |
21059 if test $ac_cv_lib_ncurses_tparm = yes; then | 18475 if test $ac_cv_lib_ncurses_tparm = yes; then |
21060 cat >>confdefs.h <<_ACEOF | 18476 cat >>confdefs.h <<_ACEOF |
21061 #define HAVE_LIBNCURSES 1 | 18477 #define HAVE_LIBNCURSES 1 |
21062 _ACEOF | 18478 _ACEOF |
21063 | 18479 |
21068 | 18484 |
21069 # Do we need the Hesiod library to provide the support routines? | 18485 # Do we need the Hesiod library to provide the support routines? |
21070 if test "$with_hesiod" = yes ; then | 18486 if test "$with_hesiod" = yes ; then |
21071 # Don't set $LIBS here -- see comments above. | 18487 # Don't set $LIBS here -- see comments above. |
21072 resolv=no | 18488 resolv=no |
21073 { echo "$as_me:$LINENO: checking for res_send" >&5 | 18489 echo "$as_me:$LINENO: checking for res_send" >&5 |
21074 echo $ECHO_N "checking for res_send... $ECHO_C" >&6; } | 18490 echo $ECHO_N "checking for res_send... $ECHO_C" >&6 |
21075 if test "${ac_cv_func_res_send+set}" = set; then | 18491 if test "${ac_cv_func_res_send+set}" = set; then |
21076 echo $ECHO_N "(cached) $ECHO_C" >&6 | 18492 echo $ECHO_N "(cached) $ECHO_C" >&6 |
21077 else | 18493 else |
21078 cat >conftest.$ac_ext <<_ACEOF | 18494 cat >conftest.$ac_ext <<_ACEOF |
21079 /* confdefs.h. */ | 18495 /* confdefs.h. */ |
21096 # include <assert.h> | 18512 # include <assert.h> |
21097 #endif | 18513 #endif |
21098 | 18514 |
21099 #undef res_send | 18515 #undef res_send |
21100 | 18516 |
21101 /* Override any GCC internal prototype to avoid an error. | 18517 /* Override any gcc2 internal prototype to avoid an error. */ |
21102 Use char because int might match the return type of a GCC | |
21103 builtin and then its argument prototype would still apply. */ | |
21104 #ifdef __cplusplus | 18518 #ifdef __cplusplus |
21105 extern "C" | 18519 extern "C" |
18520 { | |
21106 #endif | 18521 #endif |
18522 /* We use char because int might match the return type of a gcc2 | |
18523 builtin and then its argument prototype would still apply. */ | |
21107 char res_send (); | 18524 char res_send (); |
21108 /* The GNU C library defines this for functions which it implements | 18525 /* The GNU C library defines this for functions which it implements |
21109 to always fail with ENOSYS. Some functions are actually named | 18526 to always fail with ENOSYS. Some functions are actually named |
21110 something starting with __ and the normal name is an alias. */ | 18527 something starting with __ and the normal name is an alias. */ |
21111 #if defined __stub_res_send || defined __stub___res_send | 18528 #if defined (__stub_res_send) || defined (__stub___res_send) |
21112 choke me | 18529 choke me |
18530 #else | |
18531 char (*f) () = res_send; | |
18532 #endif | |
18533 #ifdef __cplusplus | |
18534 } | |
21113 #endif | 18535 #endif |
21114 | 18536 |
21115 int | 18537 int |
21116 main () | 18538 main () |
21117 { | 18539 { |
21118 return res_send (); | 18540 return f != res_send; |
21119 ; | 18541 ; |
21120 return 0; | 18542 return 0; |
21121 } | 18543 } |
21122 _ACEOF | 18544 _ACEOF |
21123 rm -f conftest.$ac_objext conftest$ac_exeext | 18545 rm -f conftest.$ac_objext conftest$ac_exeext |
21124 if { (ac_try="$ac_link" | 18546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
21125 case "(($ac_try" in | 18547 (eval $ac_link) 2>conftest.er1 |
21126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21127 *) ac_try_echo=$ac_try;; | |
21128 esac | |
21129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21130 (eval "$ac_link") 2>conftest.er1 | |
21131 ac_status=$? | 18548 ac_status=$? |
21132 grep -v '^ *+' conftest.er1 >conftest.err | 18549 grep -v '^ *+' conftest.er1 >conftest.err |
21133 rm -f conftest.er1 | 18550 rm -f conftest.er1 |
21134 cat conftest.err >&5 | 18551 cat conftest.err >&5 |
21135 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18552 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21136 (exit $ac_status); } && | 18553 (exit $ac_status); } && |
21137 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 18554 { ac_try='test -z "$ac_c_werror_flag" |
21138 { (case "(($ac_try" in | 18555 || test ! -s conftest.err' |
21139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 18556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21140 *) ac_try_echo=$ac_try;; | 18557 (eval $ac_try) 2>&5 |
21141 esac | |
21142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21143 (eval "$ac_try") 2>&5 | |
21144 ac_status=$? | 18558 ac_status=$? |
21145 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18559 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21146 (exit $ac_status); }; } && | 18560 (exit $ac_status); }; } && |
21147 { ac_try='test -s conftest$ac_exeext' | 18561 { ac_try='test -s conftest$ac_exeext' |
21148 { (case "(($ac_try" in | 18562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 18563 (eval $ac_try) 2>&5 |
21150 *) ac_try_echo=$ac_try;; | |
21151 esac | |
21152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21153 (eval "$ac_try") 2>&5 | |
21154 ac_status=$? | 18564 ac_status=$? |
21155 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18565 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21156 (exit $ac_status); }; }; then | 18566 (exit $ac_status); }; }; then |
21157 ac_cv_func_res_send=yes | 18567 ac_cv_func_res_send=yes |
21158 else | 18568 else |
21159 echo "$as_me: failed program was:" >&5 | 18569 echo "$as_me: failed program was:" >&5 |
21160 sed 's/^/| /' conftest.$ac_ext >&5 | 18570 sed 's/^/| /' conftest.$ac_ext >&5 |
21161 | 18571 |
21162 ac_cv_func_res_send=no | 18572 ac_cv_func_res_send=no |
21163 fi | 18573 fi |
21164 | 18574 rm -f conftest.err conftest.$ac_objext \ |
21165 rm -f core conftest.err conftest.$ac_objext \ | |
21166 conftest$ac_exeext conftest.$ac_ext | 18575 conftest$ac_exeext conftest.$ac_ext |
21167 fi | 18576 fi |
21168 { echo "$as_me:$LINENO: result: $ac_cv_func_res_send" >&5 | 18577 echo "$as_me:$LINENO: result: $ac_cv_func_res_send" >&5 |
21169 echo "${ECHO_T}$ac_cv_func_res_send" >&6; } | 18578 echo "${ECHO_T}$ac_cv_func_res_send" >&6 |
21170 if test $ac_cv_func_res_send = yes; then | 18579 if test $ac_cv_func_res_send = yes; then |
21171 : | 18580 : |
21172 else | 18581 else |
21173 { echo "$as_me:$LINENO: checking for __res_send" >&5 | 18582 echo "$as_me:$LINENO: checking for __res_send" >&5 |
21174 echo $ECHO_N "checking for __res_send... $ECHO_C" >&6; } | 18583 echo $ECHO_N "checking for __res_send... $ECHO_C" >&6 |
21175 if test "${ac_cv_func___res_send+set}" = set; then | 18584 if test "${ac_cv_func___res_send+set}" = set; then |
21176 echo $ECHO_N "(cached) $ECHO_C" >&6 | 18585 echo $ECHO_N "(cached) $ECHO_C" >&6 |
21177 else | 18586 else |
21178 cat >conftest.$ac_ext <<_ACEOF | 18587 cat >conftest.$ac_ext <<_ACEOF |
21179 /* confdefs.h. */ | 18588 /* confdefs.h. */ |
21196 # include <assert.h> | 18605 # include <assert.h> |
21197 #endif | 18606 #endif |
21198 | 18607 |
21199 #undef __res_send | 18608 #undef __res_send |
21200 | 18609 |
21201 /* Override any GCC internal prototype to avoid an error. | 18610 /* Override any gcc2 internal prototype to avoid an error. */ |
21202 Use char because int might match the return type of a GCC | |
21203 builtin and then its argument prototype would still apply. */ | |
21204 #ifdef __cplusplus | 18611 #ifdef __cplusplus |
21205 extern "C" | 18612 extern "C" |
18613 { | |
21206 #endif | 18614 #endif |
18615 /* We use char because int might match the return type of a gcc2 | |
18616 builtin and then its argument prototype would still apply. */ | |
21207 char __res_send (); | 18617 char __res_send (); |
21208 /* The GNU C library defines this for functions which it implements | 18618 /* The GNU C library defines this for functions which it implements |
21209 to always fail with ENOSYS. Some functions are actually named | 18619 to always fail with ENOSYS. Some functions are actually named |
21210 something starting with __ and the normal name is an alias. */ | 18620 something starting with __ and the normal name is an alias. */ |
21211 #if defined __stub___res_send || defined __stub_____res_send | 18621 #if defined (__stub___res_send) || defined (__stub_____res_send) |
21212 choke me | 18622 choke me |
18623 #else | |
18624 char (*f) () = __res_send; | |
18625 #endif | |
18626 #ifdef __cplusplus | |
18627 } | |
21213 #endif | 18628 #endif |
21214 | 18629 |
21215 int | 18630 int |
21216 main () | 18631 main () |
21217 { | 18632 { |
21218 return __res_send (); | 18633 return f != __res_send; |
21219 ; | 18634 ; |
21220 return 0; | 18635 return 0; |
21221 } | 18636 } |
21222 _ACEOF | 18637 _ACEOF |
21223 rm -f conftest.$ac_objext conftest$ac_exeext | 18638 rm -f conftest.$ac_objext conftest$ac_exeext |
21224 if { (ac_try="$ac_link" | 18639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
21225 case "(($ac_try" in | 18640 (eval $ac_link) 2>conftest.er1 |
21226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21227 *) ac_try_echo=$ac_try;; | |
21228 esac | |
21229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21230 (eval "$ac_link") 2>conftest.er1 | |
21231 ac_status=$? | 18641 ac_status=$? |
21232 grep -v '^ *+' conftest.er1 >conftest.err | 18642 grep -v '^ *+' conftest.er1 >conftest.err |
21233 rm -f conftest.er1 | 18643 rm -f conftest.er1 |
21234 cat conftest.err >&5 | 18644 cat conftest.err >&5 |
21235 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18645 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21236 (exit $ac_status); } && | 18646 (exit $ac_status); } && |
21237 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 18647 { ac_try='test -z "$ac_c_werror_flag" |
21238 { (case "(($ac_try" in | 18648 || test ! -s conftest.err' |
21239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 18649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21240 *) ac_try_echo=$ac_try;; | 18650 (eval $ac_try) 2>&5 |
21241 esac | |
21242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21243 (eval "$ac_try") 2>&5 | |
21244 ac_status=$? | 18651 ac_status=$? |
21245 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18652 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21246 (exit $ac_status); }; } && | 18653 (exit $ac_status); }; } && |
21247 { ac_try='test -s conftest$ac_exeext' | 18654 { ac_try='test -s conftest$ac_exeext' |
21248 { (case "(($ac_try" in | 18655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 18656 (eval $ac_try) 2>&5 |
21250 *) ac_try_echo=$ac_try;; | |
21251 esac | |
21252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21253 (eval "$ac_try") 2>&5 | |
21254 ac_status=$? | 18657 ac_status=$? |
21255 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18658 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21256 (exit $ac_status); }; }; then | 18659 (exit $ac_status); }; }; then |
21257 ac_cv_func___res_send=yes | 18660 ac_cv_func___res_send=yes |
21258 else | 18661 else |
21259 echo "$as_me: failed program was:" >&5 | 18662 echo "$as_me: failed program was:" >&5 |
21260 sed 's/^/| /' conftest.$ac_ext >&5 | 18663 sed 's/^/| /' conftest.$ac_ext >&5 |
21261 | 18664 |
21262 ac_cv_func___res_send=no | 18665 ac_cv_func___res_send=no |
21263 fi | 18666 fi |
21264 | 18667 rm -f conftest.err conftest.$ac_objext \ |
21265 rm -f core conftest.err conftest.$ac_objext \ | |
21266 conftest$ac_exeext conftest.$ac_ext | 18668 conftest$ac_exeext conftest.$ac_ext |
21267 fi | 18669 fi |
21268 { echo "$as_me:$LINENO: result: $ac_cv_func___res_send" >&5 | 18670 echo "$as_me:$LINENO: result: $ac_cv_func___res_send" >&5 |
21269 echo "${ECHO_T}$ac_cv_func___res_send" >&6; } | 18671 echo "${ECHO_T}$ac_cv_func___res_send" >&6 |
21270 if test $ac_cv_func___res_send = yes; then | 18672 if test $ac_cv_func___res_send = yes; then |
21271 : | 18673 : |
21272 else | 18674 else |
21273 { echo "$as_me:$LINENO: checking for res_send in -lresolv" >&5 | 18675 echo "$as_me:$LINENO: checking for res_send in -lresolv" >&5 |
21274 echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6; } | 18676 echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6 |
21275 if test "${ac_cv_lib_resolv_res_send+set}" = set; then | 18677 if test "${ac_cv_lib_resolv_res_send+set}" = set; then |
21276 echo $ECHO_N "(cached) $ECHO_C" >&6 | 18678 echo $ECHO_N "(cached) $ECHO_C" >&6 |
21277 else | 18679 else |
21278 ac_check_lib_save_LIBS=$LIBS | 18680 ac_check_lib_save_LIBS=$LIBS |
21279 LIBS="-lresolv $LIBS" | 18681 LIBS="-lresolv $LIBS" |
21282 _ACEOF | 18684 _ACEOF |
21283 cat confdefs.h >>conftest.$ac_ext | 18685 cat confdefs.h >>conftest.$ac_ext |
21284 cat >>conftest.$ac_ext <<_ACEOF | 18686 cat >>conftest.$ac_ext <<_ACEOF |
21285 /* end confdefs.h. */ | 18687 /* end confdefs.h. */ |
21286 | 18688 |
21287 /* Override any GCC internal prototype to avoid an error. | 18689 /* Override any gcc2 internal prototype to avoid an error. */ |
21288 Use char because int might match the return type of a GCC | |
21289 builtin and then its argument prototype would still apply. */ | |
21290 #ifdef __cplusplus | 18690 #ifdef __cplusplus |
21291 extern "C" | 18691 extern "C" |
21292 #endif | 18692 #endif |
18693 /* We use char because int might match the return type of a gcc2 | |
18694 builtin and then its argument prototype would still apply. */ | |
21293 char res_send (); | 18695 char res_send (); |
21294 int | 18696 int |
21295 main () | 18697 main () |
21296 { | 18698 { |
21297 return res_send (); | 18699 res_send (); |
21298 ; | 18700 ; |
21299 return 0; | 18701 return 0; |
21300 } | 18702 } |
21301 _ACEOF | 18703 _ACEOF |
21302 rm -f conftest.$ac_objext conftest$ac_exeext | 18704 rm -f conftest.$ac_objext conftest$ac_exeext |
21303 if { (ac_try="$ac_link" | 18705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
21304 case "(($ac_try" in | 18706 (eval $ac_link) 2>conftest.er1 |
21305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21306 *) ac_try_echo=$ac_try;; | |
21307 esac | |
21308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21309 (eval "$ac_link") 2>conftest.er1 | |
21310 ac_status=$? | 18707 ac_status=$? |
21311 grep -v '^ *+' conftest.er1 >conftest.err | 18708 grep -v '^ *+' conftest.er1 >conftest.err |
21312 rm -f conftest.er1 | 18709 rm -f conftest.er1 |
21313 cat conftest.err >&5 | 18710 cat conftest.err >&5 |
21314 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18711 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21315 (exit $ac_status); } && | 18712 (exit $ac_status); } && |
21316 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 18713 { ac_try='test -z "$ac_c_werror_flag" |
21317 { (case "(($ac_try" in | 18714 || test ! -s conftest.err' |
21318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 18715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21319 *) ac_try_echo=$ac_try;; | 18716 (eval $ac_try) 2>&5 |
21320 esac | |
21321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21322 (eval "$ac_try") 2>&5 | |
21323 ac_status=$? | 18717 ac_status=$? |
21324 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18718 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21325 (exit $ac_status); }; } && | 18719 (exit $ac_status); }; } && |
21326 { ac_try='test -s conftest$ac_exeext' | 18720 { ac_try='test -s conftest$ac_exeext' |
21327 { (case "(($ac_try" in | 18721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 18722 (eval $ac_try) 2>&5 |
21329 *) ac_try_echo=$ac_try;; | |
21330 esac | |
21331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21332 (eval "$ac_try") 2>&5 | |
21333 ac_status=$? | 18723 ac_status=$? |
21334 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18724 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21335 (exit $ac_status); }; }; then | 18725 (exit $ac_status); }; }; then |
21336 ac_cv_lib_resolv_res_send=yes | 18726 ac_cv_lib_resolv_res_send=yes |
21337 else | 18727 else |
21338 echo "$as_me: failed program was:" >&5 | 18728 echo "$as_me: failed program was:" >&5 |
21339 sed 's/^/| /' conftest.$ac_ext >&5 | 18729 sed 's/^/| /' conftest.$ac_ext >&5 |
21340 | 18730 |
21341 ac_cv_lib_resolv_res_send=no | 18731 ac_cv_lib_resolv_res_send=no |
21342 fi | 18732 fi |
21343 | 18733 rm -f conftest.err conftest.$ac_objext \ |
21344 rm -f core conftest.err conftest.$ac_objext \ | |
21345 conftest$ac_exeext conftest.$ac_ext | 18734 conftest$ac_exeext conftest.$ac_ext |
21346 LIBS=$ac_check_lib_save_LIBS | 18735 LIBS=$ac_check_lib_save_LIBS |
21347 fi | 18736 fi |
21348 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_send" >&5 | 18737 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_send" >&5 |
21349 echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6; } | 18738 echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6 |
21350 if test $ac_cv_lib_resolv_res_send = yes; then | 18739 if test $ac_cv_lib_resolv_res_send = yes; then |
21351 resolv=yes | 18740 resolv=yes |
21352 else | 18741 else |
21353 { echo "$as_me:$LINENO: checking for __res_send in -lresolv" >&5 | 18742 echo "$as_me:$LINENO: checking for __res_send in -lresolv" >&5 |
21354 echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6; } | 18743 echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6 |
21355 if test "${ac_cv_lib_resolv___res_send+set}" = set; then | 18744 if test "${ac_cv_lib_resolv___res_send+set}" = set; then |
21356 echo $ECHO_N "(cached) $ECHO_C" >&6 | 18745 echo $ECHO_N "(cached) $ECHO_C" >&6 |
21357 else | 18746 else |
21358 ac_check_lib_save_LIBS=$LIBS | 18747 ac_check_lib_save_LIBS=$LIBS |
21359 LIBS="-lresolv $LIBS" | 18748 LIBS="-lresolv $LIBS" |
21362 _ACEOF | 18751 _ACEOF |
21363 cat confdefs.h >>conftest.$ac_ext | 18752 cat confdefs.h >>conftest.$ac_ext |
21364 cat >>conftest.$ac_ext <<_ACEOF | 18753 cat >>conftest.$ac_ext <<_ACEOF |
21365 /* end confdefs.h. */ | 18754 /* end confdefs.h. */ |
21366 | 18755 |
21367 /* Override any GCC internal prototype to avoid an error. | 18756 /* Override any gcc2 internal prototype to avoid an error. */ |
21368 Use char because int might match the return type of a GCC | |
21369 builtin and then its argument prototype would still apply. */ | |
21370 #ifdef __cplusplus | 18757 #ifdef __cplusplus |
21371 extern "C" | 18758 extern "C" |
21372 #endif | 18759 #endif |
18760 /* We use char because int might match the return type of a gcc2 | |
18761 builtin and then its argument prototype would still apply. */ | |
21373 char __res_send (); | 18762 char __res_send (); |
21374 int | 18763 int |
21375 main () | 18764 main () |
21376 { | 18765 { |
21377 return __res_send (); | 18766 __res_send (); |
21378 ; | 18767 ; |
21379 return 0; | 18768 return 0; |
21380 } | 18769 } |
21381 _ACEOF | 18770 _ACEOF |
21382 rm -f conftest.$ac_objext conftest$ac_exeext | 18771 rm -f conftest.$ac_objext conftest$ac_exeext |
21383 if { (ac_try="$ac_link" | 18772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
21384 case "(($ac_try" in | 18773 (eval $ac_link) 2>conftest.er1 |
21385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21386 *) ac_try_echo=$ac_try;; | |
21387 esac | |
21388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21389 (eval "$ac_link") 2>conftest.er1 | |
21390 ac_status=$? | 18774 ac_status=$? |
21391 grep -v '^ *+' conftest.er1 >conftest.err | 18775 grep -v '^ *+' conftest.er1 >conftest.err |
21392 rm -f conftest.er1 | 18776 rm -f conftest.er1 |
21393 cat conftest.err >&5 | 18777 cat conftest.err >&5 |
21394 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18778 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21395 (exit $ac_status); } && | 18779 (exit $ac_status); } && |
21396 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 18780 { ac_try='test -z "$ac_c_werror_flag" |
21397 { (case "(($ac_try" in | 18781 || test ! -s conftest.err' |
21398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 18782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21399 *) ac_try_echo=$ac_try;; | 18783 (eval $ac_try) 2>&5 |
21400 esac | |
21401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21402 (eval "$ac_try") 2>&5 | |
21403 ac_status=$? | 18784 ac_status=$? |
21404 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18785 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21405 (exit $ac_status); }; } && | 18786 (exit $ac_status); }; } && |
21406 { ac_try='test -s conftest$ac_exeext' | 18787 { ac_try='test -s conftest$ac_exeext' |
21407 { (case "(($ac_try" in | 18788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 18789 (eval $ac_try) 2>&5 |
21409 *) ac_try_echo=$ac_try;; | |
21410 esac | |
21411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21412 (eval "$ac_try") 2>&5 | |
21413 ac_status=$? | 18790 ac_status=$? |
21414 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18791 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21415 (exit $ac_status); }; }; then | 18792 (exit $ac_status); }; }; then |
21416 ac_cv_lib_resolv___res_send=yes | 18793 ac_cv_lib_resolv___res_send=yes |
21417 else | 18794 else |
21418 echo "$as_me: failed program was:" >&5 | 18795 echo "$as_me: failed program was:" >&5 |
21419 sed 's/^/| /' conftest.$ac_ext >&5 | 18796 sed 's/^/| /' conftest.$ac_ext >&5 |
21420 | 18797 |
21421 ac_cv_lib_resolv___res_send=no | 18798 ac_cv_lib_resolv___res_send=no |
21422 fi | 18799 fi |
21423 | 18800 rm -f conftest.err conftest.$ac_objext \ |
21424 rm -f core conftest.err conftest.$ac_objext \ | |
21425 conftest$ac_exeext conftest.$ac_ext | 18801 conftest$ac_exeext conftest.$ac_ext |
21426 LIBS=$ac_check_lib_save_LIBS | 18802 LIBS=$ac_check_lib_save_LIBS |
21427 fi | 18803 fi |
21428 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___res_send" >&5 | 18804 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___res_send" >&5 |
21429 echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6; } | 18805 echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6 |
21430 if test $ac_cv_lib_resolv___res_send = yes; then | 18806 if test $ac_cv_lib_resolv___res_send = yes; then |
21431 resolv=yes | 18807 resolv=yes |
21432 fi | 18808 fi |
21433 | 18809 |
21434 fi | 18810 fi |
21445 _ACEOF | 18821 _ACEOF |
21446 | 18822 |
21447 else | 18823 else |
21448 RESOLVLIB= | 18824 RESOLVLIB= |
21449 fi | 18825 fi |
21450 { echo "$as_me:$LINENO: checking for hes_getmailhost" >&5 | 18826 echo "$as_me:$LINENO: checking for hes_getmailhost" >&5 |
21451 echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6; } | 18827 echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6 |
21452 if test "${ac_cv_func_hes_getmailhost+set}" = set; then | 18828 if test "${ac_cv_func_hes_getmailhost+set}" = set; then |
21453 echo $ECHO_N "(cached) $ECHO_C" >&6 | 18829 echo $ECHO_N "(cached) $ECHO_C" >&6 |
21454 else | 18830 else |
21455 cat >conftest.$ac_ext <<_ACEOF | 18831 cat >conftest.$ac_ext <<_ACEOF |
21456 /* confdefs.h. */ | 18832 /* confdefs.h. */ |
21473 # include <assert.h> | 18849 # include <assert.h> |
21474 #endif | 18850 #endif |
21475 | 18851 |
21476 #undef hes_getmailhost | 18852 #undef hes_getmailhost |
21477 | 18853 |
21478 /* Override any GCC internal prototype to avoid an error. | 18854 /* Override any gcc2 internal prototype to avoid an error. */ |
21479 Use char because int might match the return type of a GCC | |
21480 builtin and then its argument prototype would still apply. */ | |
21481 #ifdef __cplusplus | 18855 #ifdef __cplusplus |
21482 extern "C" | 18856 extern "C" |
18857 { | |
21483 #endif | 18858 #endif |
18859 /* We use char because int might match the return type of a gcc2 | |
18860 builtin and then its argument prototype would still apply. */ | |
21484 char hes_getmailhost (); | 18861 char hes_getmailhost (); |
21485 /* The GNU C library defines this for functions which it implements | 18862 /* The GNU C library defines this for functions which it implements |
21486 to always fail with ENOSYS. Some functions are actually named | 18863 to always fail with ENOSYS. Some functions are actually named |
21487 something starting with __ and the normal name is an alias. */ | 18864 something starting with __ and the normal name is an alias. */ |
21488 #if defined __stub_hes_getmailhost || defined __stub___hes_getmailhost | 18865 #if defined (__stub_hes_getmailhost) || defined (__stub___hes_getmailhost) |
21489 choke me | 18866 choke me |
18867 #else | |
18868 char (*f) () = hes_getmailhost; | |
18869 #endif | |
18870 #ifdef __cplusplus | |
18871 } | |
21490 #endif | 18872 #endif |
21491 | 18873 |
21492 int | 18874 int |
21493 main () | 18875 main () |
21494 { | 18876 { |
21495 return hes_getmailhost (); | 18877 return f != hes_getmailhost; |
21496 ; | 18878 ; |
21497 return 0; | 18879 return 0; |
21498 } | 18880 } |
21499 _ACEOF | 18881 _ACEOF |
21500 rm -f conftest.$ac_objext conftest$ac_exeext | 18882 rm -f conftest.$ac_objext conftest$ac_exeext |
21501 if { (ac_try="$ac_link" | 18883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
21502 case "(($ac_try" in | 18884 (eval $ac_link) 2>conftest.er1 |
21503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21504 *) ac_try_echo=$ac_try;; | |
21505 esac | |
21506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21507 (eval "$ac_link") 2>conftest.er1 | |
21508 ac_status=$? | 18885 ac_status=$? |
21509 grep -v '^ *+' conftest.er1 >conftest.err | 18886 grep -v '^ *+' conftest.er1 >conftest.err |
21510 rm -f conftest.er1 | 18887 rm -f conftest.er1 |
21511 cat conftest.err >&5 | 18888 cat conftest.err >&5 |
21512 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18889 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21513 (exit $ac_status); } && | 18890 (exit $ac_status); } && |
21514 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 18891 { ac_try='test -z "$ac_c_werror_flag" |
21515 { (case "(($ac_try" in | 18892 || test ! -s conftest.err' |
21516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 18893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21517 *) ac_try_echo=$ac_try;; | 18894 (eval $ac_try) 2>&5 |
21518 esac | |
21519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21520 (eval "$ac_try") 2>&5 | |
21521 ac_status=$? | 18895 ac_status=$? |
21522 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18896 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21523 (exit $ac_status); }; } && | 18897 (exit $ac_status); }; } && |
21524 { ac_try='test -s conftest$ac_exeext' | 18898 { ac_try='test -s conftest$ac_exeext' |
21525 { (case "(($ac_try" in | 18899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 18900 (eval $ac_try) 2>&5 |
21527 *) ac_try_echo=$ac_try;; | |
21528 esac | |
21529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21530 (eval "$ac_try") 2>&5 | |
21531 ac_status=$? | 18901 ac_status=$? |
21532 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18902 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21533 (exit $ac_status); }; }; then | 18903 (exit $ac_status); }; }; then |
21534 ac_cv_func_hes_getmailhost=yes | 18904 ac_cv_func_hes_getmailhost=yes |
21535 else | 18905 else |
21536 echo "$as_me: failed program was:" >&5 | 18906 echo "$as_me: failed program was:" >&5 |
21537 sed 's/^/| /' conftest.$ac_ext >&5 | 18907 sed 's/^/| /' conftest.$ac_ext >&5 |
21538 | 18908 |
21539 ac_cv_func_hes_getmailhost=no | 18909 ac_cv_func_hes_getmailhost=no |
21540 fi | 18910 fi |
21541 | 18911 rm -f conftest.err conftest.$ac_objext \ |
21542 rm -f core conftest.err conftest.$ac_objext \ | |
21543 conftest$ac_exeext conftest.$ac_ext | 18912 conftest$ac_exeext conftest.$ac_ext |
21544 fi | 18913 fi |
21545 { echo "$as_me:$LINENO: result: $ac_cv_func_hes_getmailhost" >&5 | 18914 echo "$as_me:$LINENO: result: $ac_cv_func_hes_getmailhost" >&5 |
21546 echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6; } | 18915 echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6 |
21547 if test $ac_cv_func_hes_getmailhost = yes; then | 18916 if test $ac_cv_func_hes_getmailhost = yes; then |
21548 : | 18917 : |
21549 else | 18918 else |
21550 { echo "$as_me:$LINENO: checking for hes_getmailhost in -lhesiod" >&5 | 18919 echo "$as_me:$LINENO: checking for hes_getmailhost in -lhesiod" >&5 |
21551 echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6; } | 18920 echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6 |
21552 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then | 18921 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then |
21553 echo $ECHO_N "(cached) $ECHO_C" >&6 | 18922 echo $ECHO_N "(cached) $ECHO_C" >&6 |
21554 else | 18923 else |
21555 ac_check_lib_save_LIBS=$LIBS | 18924 ac_check_lib_save_LIBS=$LIBS |
21556 LIBS="-lhesiod $RESOLVLIB $LIBS" | 18925 LIBS="-lhesiod $RESOLVLIB $LIBS" |
21559 _ACEOF | 18928 _ACEOF |
21560 cat confdefs.h >>conftest.$ac_ext | 18929 cat confdefs.h >>conftest.$ac_ext |
21561 cat >>conftest.$ac_ext <<_ACEOF | 18930 cat >>conftest.$ac_ext <<_ACEOF |
21562 /* end confdefs.h. */ | 18931 /* end confdefs.h. */ |
21563 | 18932 |
21564 /* Override any GCC internal prototype to avoid an error. | 18933 /* Override any gcc2 internal prototype to avoid an error. */ |
21565 Use char because int might match the return type of a GCC | |
21566 builtin and then its argument prototype would still apply. */ | |
21567 #ifdef __cplusplus | 18934 #ifdef __cplusplus |
21568 extern "C" | 18935 extern "C" |
21569 #endif | 18936 #endif |
18937 /* We use char because int might match the return type of a gcc2 | |
18938 builtin and then its argument prototype would still apply. */ | |
21570 char hes_getmailhost (); | 18939 char hes_getmailhost (); |
21571 int | 18940 int |
21572 main () | 18941 main () |
21573 { | 18942 { |
21574 return hes_getmailhost (); | 18943 hes_getmailhost (); |
21575 ; | 18944 ; |
21576 return 0; | 18945 return 0; |
21577 } | 18946 } |
21578 _ACEOF | 18947 _ACEOF |
21579 rm -f conftest.$ac_objext conftest$ac_exeext | 18948 rm -f conftest.$ac_objext conftest$ac_exeext |
21580 if { (ac_try="$ac_link" | 18949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
21581 case "(($ac_try" in | 18950 (eval $ac_link) 2>conftest.er1 |
21582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21583 *) ac_try_echo=$ac_try;; | |
21584 esac | |
21585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21586 (eval "$ac_link") 2>conftest.er1 | |
21587 ac_status=$? | 18951 ac_status=$? |
21588 grep -v '^ *+' conftest.er1 >conftest.err | 18952 grep -v '^ *+' conftest.er1 >conftest.err |
21589 rm -f conftest.er1 | 18953 rm -f conftest.er1 |
21590 cat conftest.err >&5 | 18954 cat conftest.err >&5 |
21591 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18955 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21592 (exit $ac_status); } && | 18956 (exit $ac_status); } && |
21593 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 18957 { ac_try='test -z "$ac_c_werror_flag" |
21594 { (case "(($ac_try" in | 18958 || test ! -s conftest.err' |
21595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 18959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21596 *) ac_try_echo=$ac_try;; | 18960 (eval $ac_try) 2>&5 |
21597 esac | |
21598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21599 (eval "$ac_try") 2>&5 | |
21600 ac_status=$? | 18961 ac_status=$? |
21601 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18962 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21602 (exit $ac_status); }; } && | 18963 (exit $ac_status); }; } && |
21603 { ac_try='test -s conftest$ac_exeext' | 18964 { ac_try='test -s conftest$ac_exeext' |
21604 { (case "(($ac_try" in | 18965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 18966 (eval $ac_try) 2>&5 |
21606 *) ac_try_echo=$ac_try;; | |
21607 esac | |
21608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21609 (eval "$ac_try") 2>&5 | |
21610 ac_status=$? | 18967 ac_status=$? |
21611 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18968 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21612 (exit $ac_status); }; }; then | 18969 (exit $ac_status); }; }; then |
21613 ac_cv_lib_hesiod_hes_getmailhost=yes | 18970 ac_cv_lib_hesiod_hes_getmailhost=yes |
21614 else | 18971 else |
21615 echo "$as_me: failed program was:" >&5 | 18972 echo "$as_me: failed program was:" >&5 |
21616 sed 's/^/| /' conftest.$ac_ext >&5 | 18973 sed 's/^/| /' conftest.$ac_ext >&5 |
21617 | 18974 |
21618 ac_cv_lib_hesiod_hes_getmailhost=no | 18975 ac_cv_lib_hesiod_hes_getmailhost=no |
21619 fi | 18976 fi |
21620 | 18977 rm -f conftest.err conftest.$ac_objext \ |
21621 rm -f core conftest.err conftest.$ac_objext \ | |
21622 conftest$ac_exeext conftest.$ac_ext | 18978 conftest$ac_exeext conftest.$ac_ext |
21623 LIBS=$ac_check_lib_save_LIBS | 18979 LIBS=$ac_check_lib_save_LIBS |
21624 fi | 18980 fi |
21625 { echo "$as_me:$LINENO: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 | 18981 echo "$as_me:$LINENO: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 |
21626 echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6; } | 18982 echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6 |
21627 if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then | 18983 if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then |
21628 | 18984 |
21629 cat >>confdefs.h <<\_ACEOF | 18985 cat >>confdefs.h <<\_ACEOF |
21630 #define HAVE_LIBHESIOD 1 | 18986 #define HAVE_LIBHESIOD 1 |
21631 _ACEOF | 18987 _ACEOF |
21639 fi | 18995 fi |
21640 | 18996 |
21641 # These tell us which Kerberos-related libraries to use. | 18997 # These tell us which Kerberos-related libraries to use. |
21642 if test "${with_kerberos+set}" = set; then | 18998 if test "${with_kerberos+set}" = set; then |
21643 | 18999 |
21644 { echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5 | 19000 echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5 |
21645 echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6; } | 19001 echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6 |
21646 if test "${ac_cv_lib_com_err_com_err+set}" = set; then | 19002 if test "${ac_cv_lib_com_err_com_err+set}" = set; then |
21647 echo $ECHO_N "(cached) $ECHO_C" >&6 | 19003 echo $ECHO_N "(cached) $ECHO_C" >&6 |
21648 else | 19004 else |
21649 ac_check_lib_save_LIBS=$LIBS | 19005 ac_check_lib_save_LIBS=$LIBS |
21650 LIBS="-lcom_err $LIBS" | 19006 LIBS="-lcom_err $LIBS" |
21653 _ACEOF | 19009 _ACEOF |
21654 cat confdefs.h >>conftest.$ac_ext | 19010 cat confdefs.h >>conftest.$ac_ext |
21655 cat >>conftest.$ac_ext <<_ACEOF | 19011 cat >>conftest.$ac_ext <<_ACEOF |
21656 /* end confdefs.h. */ | 19012 /* end confdefs.h. */ |
21657 | 19013 |
21658 /* Override any GCC internal prototype to avoid an error. | 19014 /* Override any gcc2 internal prototype to avoid an error. */ |
21659 Use char because int might match the return type of a GCC | |
21660 builtin and then its argument prototype would still apply. */ | |
21661 #ifdef __cplusplus | 19015 #ifdef __cplusplus |
21662 extern "C" | 19016 extern "C" |
21663 #endif | 19017 #endif |
19018 /* We use char because int might match the return type of a gcc2 | |
19019 builtin and then its argument prototype would still apply. */ | |
21664 char com_err (); | 19020 char com_err (); |
21665 int | 19021 int |
21666 main () | 19022 main () |
21667 { | 19023 { |
21668 return com_err (); | 19024 com_err (); |
21669 ; | 19025 ; |
21670 return 0; | 19026 return 0; |
21671 } | 19027 } |
21672 _ACEOF | 19028 _ACEOF |
21673 rm -f conftest.$ac_objext conftest$ac_exeext | 19029 rm -f conftest.$ac_objext conftest$ac_exeext |
21674 if { (ac_try="$ac_link" | 19030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
21675 case "(($ac_try" in | 19031 (eval $ac_link) 2>conftest.er1 |
21676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21677 *) ac_try_echo=$ac_try;; | |
21678 esac | |
21679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21680 (eval "$ac_link") 2>conftest.er1 | |
21681 ac_status=$? | 19032 ac_status=$? |
21682 grep -v '^ *+' conftest.er1 >conftest.err | 19033 grep -v '^ *+' conftest.er1 >conftest.err |
21683 rm -f conftest.er1 | 19034 rm -f conftest.er1 |
21684 cat conftest.err >&5 | 19035 cat conftest.err >&5 |
21685 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19036 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21686 (exit $ac_status); } && | 19037 (exit $ac_status); } && |
21687 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 19038 { ac_try='test -z "$ac_c_werror_flag" |
21688 { (case "(($ac_try" in | 19039 || test ! -s conftest.err' |
21689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 19040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21690 *) ac_try_echo=$ac_try;; | 19041 (eval $ac_try) 2>&5 |
21691 esac | |
21692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21693 (eval "$ac_try") 2>&5 | |
21694 ac_status=$? | 19042 ac_status=$? |
21695 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19043 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21696 (exit $ac_status); }; } && | 19044 (exit $ac_status); }; } && |
21697 { ac_try='test -s conftest$ac_exeext' | 19045 { ac_try='test -s conftest$ac_exeext' |
21698 { (case "(($ac_try" in | 19046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 19047 (eval $ac_try) 2>&5 |
21700 *) ac_try_echo=$ac_try;; | |
21701 esac | |
21702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21703 (eval "$ac_try") 2>&5 | |
21704 ac_status=$? | 19048 ac_status=$? |
21705 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19049 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21706 (exit $ac_status); }; }; then | 19050 (exit $ac_status); }; }; then |
21707 ac_cv_lib_com_err_com_err=yes | 19051 ac_cv_lib_com_err_com_err=yes |
21708 else | 19052 else |
21709 echo "$as_me: failed program was:" >&5 | 19053 echo "$as_me: failed program was:" >&5 |
21710 sed 's/^/| /' conftest.$ac_ext >&5 | 19054 sed 's/^/| /' conftest.$ac_ext >&5 |
21711 | 19055 |
21712 ac_cv_lib_com_err_com_err=no | 19056 ac_cv_lib_com_err_com_err=no |
21713 fi | 19057 fi |
21714 | 19058 rm -f conftest.err conftest.$ac_objext \ |
21715 rm -f core conftest.err conftest.$ac_objext \ | |
21716 conftest$ac_exeext conftest.$ac_ext | 19059 conftest$ac_exeext conftest.$ac_ext |
21717 LIBS=$ac_check_lib_save_LIBS | 19060 LIBS=$ac_check_lib_save_LIBS |
21718 fi | 19061 fi |
21719 { echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5 | 19062 echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5 |
21720 echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6; } | 19063 echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6 |
21721 if test $ac_cv_lib_com_err_com_err = yes; then | 19064 if test $ac_cv_lib_com_err_com_err = yes; then |
21722 cat >>confdefs.h <<_ACEOF | 19065 cat >>confdefs.h <<_ACEOF |
21723 #define HAVE_LIBCOM_ERR 1 | 19066 #define HAVE_LIBCOM_ERR 1 |
21724 _ACEOF | 19067 _ACEOF |
21725 | 19068 |
21726 LIBS="-lcom_err $LIBS" | 19069 LIBS="-lcom_err $LIBS" |
21727 | 19070 |
21728 fi | 19071 fi |
21729 | 19072 |
21730 | 19073 |
21731 { echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 | 19074 echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 |
21732 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6; } | 19075 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6 |
21733 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then | 19076 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then |
21734 echo $ECHO_N "(cached) $ECHO_C" >&6 | 19077 echo $ECHO_N "(cached) $ECHO_C" >&6 |
21735 else | 19078 else |
21736 ac_check_lib_save_LIBS=$LIBS | 19079 ac_check_lib_save_LIBS=$LIBS |
21737 LIBS="-lk5crypto $LIBS" | 19080 LIBS="-lk5crypto $LIBS" |
21740 _ACEOF | 19083 _ACEOF |
21741 cat confdefs.h >>conftest.$ac_ext | 19084 cat confdefs.h >>conftest.$ac_ext |
21742 cat >>conftest.$ac_ext <<_ACEOF | 19085 cat >>conftest.$ac_ext <<_ACEOF |
21743 /* end confdefs.h. */ | 19086 /* end confdefs.h. */ |
21744 | 19087 |
21745 /* Override any GCC internal prototype to avoid an error. | 19088 /* Override any gcc2 internal prototype to avoid an error. */ |
21746 Use char because int might match the return type of a GCC | |
21747 builtin and then its argument prototype would still apply. */ | |
21748 #ifdef __cplusplus | 19089 #ifdef __cplusplus |
21749 extern "C" | 19090 extern "C" |
21750 #endif | 19091 #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. */ | |
21751 char mit_des_cbc_encrypt (); | 19094 char mit_des_cbc_encrypt (); |
21752 int | 19095 int |
21753 main () | 19096 main () |
21754 { | 19097 { |
21755 return mit_des_cbc_encrypt (); | 19098 mit_des_cbc_encrypt (); |
21756 ; | 19099 ; |
21757 return 0; | 19100 return 0; |
21758 } | 19101 } |
21759 _ACEOF | 19102 _ACEOF |
21760 rm -f conftest.$ac_objext conftest$ac_exeext | 19103 rm -f conftest.$ac_objext conftest$ac_exeext |
21761 if { (ac_try="$ac_link" | 19104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
21762 case "(($ac_try" in | 19105 (eval $ac_link) 2>conftest.er1 |
21763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21764 *) ac_try_echo=$ac_try;; | |
21765 esac | |
21766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21767 (eval "$ac_link") 2>conftest.er1 | |
21768 ac_status=$? | 19106 ac_status=$? |
21769 grep -v '^ *+' conftest.er1 >conftest.err | 19107 grep -v '^ *+' conftest.er1 >conftest.err |
21770 rm -f conftest.er1 | 19108 rm -f conftest.er1 |
21771 cat conftest.err >&5 | 19109 cat conftest.err >&5 |
21772 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19110 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21773 (exit $ac_status); } && | 19111 (exit $ac_status); } && |
21774 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 19112 { ac_try='test -z "$ac_c_werror_flag" |
21775 { (case "(($ac_try" in | 19113 || test ! -s conftest.err' |
21776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 19114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21777 *) ac_try_echo=$ac_try;; | 19115 (eval $ac_try) 2>&5 |
21778 esac | |
21779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21780 (eval "$ac_try") 2>&5 | |
21781 ac_status=$? | 19116 ac_status=$? |
21782 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19117 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21783 (exit $ac_status); }; } && | 19118 (exit $ac_status); }; } && |
21784 { ac_try='test -s conftest$ac_exeext' | 19119 { ac_try='test -s conftest$ac_exeext' |
21785 { (case "(($ac_try" in | 19120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 19121 (eval $ac_try) 2>&5 |
21787 *) ac_try_echo=$ac_try;; | |
21788 esac | |
21789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21790 (eval "$ac_try") 2>&5 | |
21791 ac_status=$? | 19122 ac_status=$? |
21792 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19123 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21793 (exit $ac_status); }; }; then | 19124 (exit $ac_status); }; }; then |
21794 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes | 19125 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes |
21795 else | 19126 else |
21796 echo "$as_me: failed program was:" >&5 | 19127 echo "$as_me: failed program was:" >&5 |
21797 sed 's/^/| /' conftest.$ac_ext >&5 | 19128 sed 's/^/| /' conftest.$ac_ext >&5 |
21798 | 19129 |
21799 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no | 19130 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no |
21800 fi | 19131 fi |
21801 | 19132 rm -f conftest.err conftest.$ac_objext \ |
21802 rm -f core conftest.err conftest.$ac_objext \ | |
21803 conftest$ac_exeext conftest.$ac_ext | 19133 conftest$ac_exeext conftest.$ac_ext |
21804 LIBS=$ac_check_lib_save_LIBS | 19134 LIBS=$ac_check_lib_save_LIBS |
21805 fi | 19135 fi |
21806 { echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 | 19136 echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 |
21807 echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6; } | 19137 echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6 |
21808 if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then | 19138 if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then |
21809 cat >>confdefs.h <<_ACEOF | 19139 cat >>confdefs.h <<_ACEOF |
21810 #define HAVE_LIBK5CRYPTO 1 | 19140 #define HAVE_LIBK5CRYPTO 1 |
21811 _ACEOF | 19141 _ACEOF |
21812 | 19142 |
21813 LIBS="-lk5crypto $LIBS" | 19143 LIBS="-lk5crypto $LIBS" |
21814 | 19144 |
21815 fi | 19145 fi |
21816 | 19146 |
21817 | 19147 |
21818 { echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lcrypto" >&5 | 19148 echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lcrypto" >&5 |
21819 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6; } | 19149 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6 |
21820 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then | 19150 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then |
21821 echo $ECHO_N "(cached) $ECHO_C" >&6 | 19151 echo $ECHO_N "(cached) $ECHO_C" >&6 |
21822 else | 19152 else |
21823 ac_check_lib_save_LIBS=$LIBS | 19153 ac_check_lib_save_LIBS=$LIBS |
21824 LIBS="-lcrypto $LIBS" | 19154 LIBS="-lcrypto $LIBS" |
21827 _ACEOF | 19157 _ACEOF |
21828 cat confdefs.h >>conftest.$ac_ext | 19158 cat confdefs.h >>conftest.$ac_ext |
21829 cat >>conftest.$ac_ext <<_ACEOF | 19159 cat >>conftest.$ac_ext <<_ACEOF |
21830 /* end confdefs.h. */ | 19160 /* end confdefs.h. */ |
21831 | 19161 |
21832 /* Override any GCC internal prototype to avoid an error. | 19162 /* Override any gcc2 internal prototype to avoid an error. */ |
21833 Use char because int might match the return type of a GCC | |
21834 builtin and then its argument prototype would still apply. */ | |
21835 #ifdef __cplusplus | 19163 #ifdef __cplusplus |
21836 extern "C" | 19164 extern "C" |
21837 #endif | 19165 #endif |
19166 /* We use char because int might match the return type of a gcc2 | |
19167 builtin and then its argument prototype would still apply. */ | |
21838 char mit_des_cbc_encrypt (); | 19168 char mit_des_cbc_encrypt (); |
21839 int | 19169 int |
21840 main () | 19170 main () |
21841 { | 19171 { |
21842 return mit_des_cbc_encrypt (); | 19172 mit_des_cbc_encrypt (); |
21843 ; | 19173 ; |
21844 return 0; | 19174 return 0; |
21845 } | 19175 } |
21846 _ACEOF | 19176 _ACEOF |
21847 rm -f conftest.$ac_objext conftest$ac_exeext | 19177 rm -f conftest.$ac_objext conftest$ac_exeext |
21848 if { (ac_try="$ac_link" | 19178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
21849 case "(($ac_try" in | 19179 (eval $ac_link) 2>conftest.er1 |
21850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21851 *) ac_try_echo=$ac_try;; | |
21852 esac | |
21853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21854 (eval "$ac_link") 2>conftest.er1 | |
21855 ac_status=$? | 19180 ac_status=$? |
21856 grep -v '^ *+' conftest.er1 >conftest.err | 19181 grep -v '^ *+' conftest.er1 >conftest.err |
21857 rm -f conftest.er1 | 19182 rm -f conftest.er1 |
21858 cat conftest.err >&5 | 19183 cat conftest.err >&5 |
21859 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19184 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21860 (exit $ac_status); } && | 19185 (exit $ac_status); } && |
21861 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 19186 { ac_try='test -z "$ac_c_werror_flag" |
21862 { (case "(($ac_try" in | 19187 || test ! -s conftest.err' |
21863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 19188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21864 *) ac_try_echo=$ac_try;; | 19189 (eval $ac_try) 2>&5 |
21865 esac | |
21866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21867 (eval "$ac_try") 2>&5 | |
21868 ac_status=$? | 19190 ac_status=$? |
21869 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19191 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21870 (exit $ac_status); }; } && | 19192 (exit $ac_status); }; } && |
21871 { ac_try='test -s conftest$ac_exeext' | 19193 { ac_try='test -s conftest$ac_exeext' |
21872 { (case "(($ac_try" in | 19194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 19195 (eval $ac_try) 2>&5 |
21874 *) ac_try_echo=$ac_try;; | |
21875 esac | |
21876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21877 (eval "$ac_try") 2>&5 | |
21878 ac_status=$? | 19196 ac_status=$? |
21879 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19197 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21880 (exit $ac_status); }; }; then | 19198 (exit $ac_status); }; }; then |
21881 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes | 19199 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes |
21882 else | 19200 else |
21883 echo "$as_me: failed program was:" >&5 | 19201 echo "$as_me: failed program was:" >&5 |
21884 sed 's/^/| /' conftest.$ac_ext >&5 | 19202 sed 's/^/| /' conftest.$ac_ext >&5 |
21885 | 19203 |
21886 ac_cv_lib_crypto_mit_des_cbc_encrypt=no | 19204 ac_cv_lib_crypto_mit_des_cbc_encrypt=no |
21887 fi | 19205 fi |
21888 | 19206 rm -f conftest.err conftest.$ac_objext \ |
21889 rm -f core conftest.err conftest.$ac_objext \ | |
21890 conftest$ac_exeext conftest.$ac_ext | 19207 conftest$ac_exeext conftest.$ac_ext |
21891 LIBS=$ac_check_lib_save_LIBS | 19208 LIBS=$ac_check_lib_save_LIBS |
21892 fi | 19209 fi |
21893 { echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 | 19210 echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 |
21894 echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6; } | 19211 echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6 |
21895 if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then | 19212 if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then |
21896 cat >>confdefs.h <<_ACEOF | 19213 cat >>confdefs.h <<_ACEOF |
21897 #define HAVE_LIBCRYPTO 1 | 19214 #define HAVE_LIBCRYPTO 1 |
21898 _ACEOF | 19215 _ACEOF |
21899 | 19216 |
21900 LIBS="-lcrypto $LIBS" | 19217 LIBS="-lcrypto $LIBS" |
21901 | 19218 |
21902 fi | 19219 fi |
21903 | 19220 |
21904 | 19221 |
21905 { echo "$as_me:$LINENO: checking for krb5_init_context in -lkrb5" >&5 | 19222 echo "$as_me:$LINENO: checking for krb5_init_context in -lkrb5" >&5 |
21906 echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6; } | 19223 echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6 |
21907 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then | 19224 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then |
21908 echo $ECHO_N "(cached) $ECHO_C" >&6 | 19225 echo $ECHO_N "(cached) $ECHO_C" >&6 |
21909 else | 19226 else |
21910 ac_check_lib_save_LIBS=$LIBS | 19227 ac_check_lib_save_LIBS=$LIBS |
21911 LIBS="-lkrb5 $LIBS" | 19228 LIBS="-lkrb5 $LIBS" |
21914 _ACEOF | 19231 _ACEOF |
21915 cat confdefs.h >>conftest.$ac_ext | 19232 cat confdefs.h >>conftest.$ac_ext |
21916 cat >>conftest.$ac_ext <<_ACEOF | 19233 cat >>conftest.$ac_ext <<_ACEOF |
21917 /* end confdefs.h. */ | 19234 /* end confdefs.h. */ |
21918 | 19235 |
21919 /* Override any GCC internal prototype to avoid an error. | 19236 /* Override any gcc2 internal prototype to avoid an error. */ |
21920 Use char because int might match the return type of a GCC | |
21921 builtin and then its argument prototype would still apply. */ | |
21922 #ifdef __cplusplus | 19237 #ifdef __cplusplus |
21923 extern "C" | 19238 extern "C" |
21924 #endif | 19239 #endif |
19240 /* We use char because int might match the return type of a gcc2 | |
19241 builtin and then its argument prototype would still apply. */ | |
21925 char krb5_init_context (); | 19242 char krb5_init_context (); |
21926 int | 19243 int |
21927 main () | 19244 main () |
21928 { | 19245 { |
21929 return krb5_init_context (); | 19246 krb5_init_context (); |
21930 ; | 19247 ; |
21931 return 0; | 19248 return 0; |
21932 } | 19249 } |
21933 _ACEOF | 19250 _ACEOF |
21934 rm -f conftest.$ac_objext conftest$ac_exeext | 19251 rm -f conftest.$ac_objext conftest$ac_exeext |
21935 if { (ac_try="$ac_link" | 19252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
21936 case "(($ac_try" in | 19253 (eval $ac_link) 2>conftest.er1 |
21937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21938 *) ac_try_echo=$ac_try;; | |
21939 esac | |
21940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21941 (eval "$ac_link") 2>conftest.er1 | |
21942 ac_status=$? | 19254 ac_status=$? |
21943 grep -v '^ *+' conftest.er1 >conftest.err | 19255 grep -v '^ *+' conftest.er1 >conftest.err |
21944 rm -f conftest.er1 | 19256 rm -f conftest.er1 |
21945 cat conftest.err >&5 | 19257 cat conftest.err >&5 |
21946 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19258 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21947 (exit $ac_status); } && | 19259 (exit $ac_status); } && |
21948 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 19260 { ac_try='test -z "$ac_c_werror_flag" |
21949 { (case "(($ac_try" in | 19261 || test ! -s conftest.err' |
21950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 19262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21951 *) ac_try_echo=$ac_try;; | 19263 (eval $ac_try) 2>&5 |
21952 esac | |
21953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21954 (eval "$ac_try") 2>&5 | |
21955 ac_status=$? | 19264 ac_status=$? |
21956 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19265 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21957 (exit $ac_status); }; } && | 19266 (exit $ac_status); }; } && |
21958 { ac_try='test -s conftest$ac_exeext' | 19267 { ac_try='test -s conftest$ac_exeext' |
21959 { (case "(($ac_try" in | 19268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 19269 (eval $ac_try) 2>&5 |
21961 *) ac_try_echo=$ac_try;; | |
21962 esac | |
21963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21964 (eval "$ac_try") 2>&5 | |
21965 ac_status=$? | 19270 ac_status=$? |
21966 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19271 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21967 (exit $ac_status); }; }; then | 19272 (exit $ac_status); }; }; then |
21968 ac_cv_lib_krb5_krb5_init_context=yes | 19273 ac_cv_lib_krb5_krb5_init_context=yes |
21969 else | 19274 else |
21970 echo "$as_me: failed program was:" >&5 | 19275 echo "$as_me: failed program was:" >&5 |
21971 sed 's/^/| /' conftest.$ac_ext >&5 | 19276 sed 's/^/| /' conftest.$ac_ext >&5 |
21972 | 19277 |
21973 ac_cv_lib_krb5_krb5_init_context=no | 19278 ac_cv_lib_krb5_krb5_init_context=no |
21974 fi | 19279 fi |
21975 | 19280 rm -f conftest.err conftest.$ac_objext \ |
21976 rm -f core conftest.err conftest.$ac_objext \ | |
21977 conftest$ac_exeext conftest.$ac_ext | 19281 conftest$ac_exeext conftest.$ac_ext |
21978 LIBS=$ac_check_lib_save_LIBS | 19282 LIBS=$ac_check_lib_save_LIBS |
21979 fi | 19283 fi |
21980 { echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_init_context" >&5 | 19284 echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_init_context" >&5 |
21981 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6; } | 19285 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6 |
21982 if test $ac_cv_lib_krb5_krb5_init_context = yes; then | 19286 if test $ac_cv_lib_krb5_krb5_init_context = yes; then |
21983 cat >>confdefs.h <<_ACEOF | 19287 cat >>confdefs.h <<_ACEOF |
21984 #define HAVE_LIBKRB5 1 | 19288 #define HAVE_LIBKRB5 1 |
21985 _ACEOF | 19289 _ACEOF |
21986 | 19290 |
21988 | 19292 |
21989 fi | 19293 fi |
21990 | 19294 |
21991 if test "${with_kerberos5+set}" != set; then | 19295 if test "${with_kerberos5+set}" != set; then |
21992 | 19296 |
21993 { echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5 | 19297 echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5 |
21994 echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6; } | 19298 echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6 |
21995 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then | 19299 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then |
21996 echo $ECHO_N "(cached) $ECHO_C" >&6 | 19300 echo $ECHO_N "(cached) $ECHO_C" >&6 |
21997 else | 19301 else |
21998 ac_check_lib_save_LIBS=$LIBS | 19302 ac_check_lib_save_LIBS=$LIBS |
21999 LIBS="-ldes425 $LIBS" | 19303 LIBS="-ldes425 $LIBS" |
22002 _ACEOF | 19306 _ACEOF |
22003 cat confdefs.h >>conftest.$ac_ext | 19307 cat confdefs.h >>conftest.$ac_ext |
22004 cat >>conftest.$ac_ext <<_ACEOF | 19308 cat >>conftest.$ac_ext <<_ACEOF |
22005 /* end confdefs.h. */ | 19309 /* end confdefs.h. */ |
22006 | 19310 |
22007 /* Override any GCC internal prototype to avoid an error. | 19311 /* Override any gcc2 internal prototype to avoid an error. */ |
22008 Use char because int might match the return type of a GCC | |
22009 builtin and then its argument prototype would still apply. */ | |
22010 #ifdef __cplusplus | 19312 #ifdef __cplusplus |
22011 extern "C" | 19313 extern "C" |
22012 #endif | 19314 #endif |
19315 /* We use char because int might match the return type of a gcc2 | |
19316 builtin and then its argument prototype would still apply. */ | |
22013 char des_cbc_encrypt (); | 19317 char des_cbc_encrypt (); |
22014 int | 19318 int |
22015 main () | 19319 main () |
22016 { | 19320 { |
22017 return des_cbc_encrypt (); | 19321 des_cbc_encrypt (); |
22018 ; | 19322 ; |
22019 return 0; | 19323 return 0; |
22020 } | 19324 } |
22021 _ACEOF | 19325 _ACEOF |
22022 rm -f conftest.$ac_objext conftest$ac_exeext | 19326 rm -f conftest.$ac_objext conftest$ac_exeext |
22023 if { (ac_try="$ac_link" | 19327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
22024 case "(($ac_try" in | 19328 (eval $ac_link) 2>conftest.er1 |
22025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22026 *) ac_try_echo=$ac_try;; | |
22027 esac | |
22028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22029 (eval "$ac_link") 2>conftest.er1 | |
22030 ac_status=$? | 19329 ac_status=$? |
22031 grep -v '^ *+' conftest.er1 >conftest.err | 19330 grep -v '^ *+' conftest.er1 >conftest.err |
22032 rm -f conftest.er1 | 19331 rm -f conftest.er1 |
22033 cat conftest.err >&5 | 19332 cat conftest.err >&5 |
22034 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19333 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22035 (exit $ac_status); } && | 19334 (exit $ac_status); } && |
22036 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 19335 { ac_try='test -z "$ac_c_werror_flag" |
22037 { (case "(($ac_try" in | 19336 || test ! -s conftest.err' |
22038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 19337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
22039 *) ac_try_echo=$ac_try;; | 19338 (eval $ac_try) 2>&5 |
22040 esac | |
22041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22042 (eval "$ac_try") 2>&5 | |
22043 ac_status=$? | 19339 ac_status=$? |
22044 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19340 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22045 (exit $ac_status); }; } && | 19341 (exit $ac_status); }; } && |
22046 { ac_try='test -s conftest$ac_exeext' | 19342 { ac_try='test -s conftest$ac_exeext' |
22047 { (case "(($ac_try" in | 19343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
22048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 19344 (eval $ac_try) 2>&5 |
22049 *) ac_try_echo=$ac_try;; | |
22050 esac | |
22051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22052 (eval "$ac_try") 2>&5 | |
22053 ac_status=$? | 19345 ac_status=$? |
22054 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19346 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22055 (exit $ac_status); }; }; then | 19347 (exit $ac_status); }; }; then |
22056 ac_cv_lib_des425_des_cbc_encrypt=yes | 19348 ac_cv_lib_des425_des_cbc_encrypt=yes |
22057 else | 19349 else |
22058 echo "$as_me: failed program was:" >&5 | 19350 echo "$as_me: failed program was:" >&5 |
22059 sed 's/^/| /' conftest.$ac_ext >&5 | 19351 sed 's/^/| /' conftest.$ac_ext >&5 |
22060 | 19352 |
22061 ac_cv_lib_des425_des_cbc_encrypt=no | 19353 ac_cv_lib_des425_des_cbc_encrypt=no |
22062 fi | 19354 fi |
22063 | 19355 rm -f conftest.err conftest.$ac_objext \ |
22064 rm -f core conftest.err conftest.$ac_objext \ | |
22065 conftest$ac_exeext conftest.$ac_ext | 19356 conftest$ac_exeext conftest.$ac_ext |
22066 LIBS=$ac_check_lib_save_LIBS | 19357 LIBS=$ac_check_lib_save_LIBS |
22067 fi | 19358 fi |
22068 { echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 | 19359 echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 |
22069 echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6; } | 19360 echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6 |
22070 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then | 19361 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then |
22071 cat >>confdefs.h <<_ACEOF | 19362 cat >>confdefs.h <<_ACEOF |
22072 #define HAVE_LIBDES425 1 | 19363 #define HAVE_LIBDES425 1 |
22073 _ACEOF | 19364 _ACEOF |
22074 | 19365 |
22075 LIBS="-ldes425 $LIBS" | 19366 LIBS="-ldes425 $LIBS" |
22076 | 19367 |
22077 else | 19368 else |
22078 | 19369 |
22079 { echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5 | 19370 echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5 |
22080 echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6; } | 19371 echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6 |
22081 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then | 19372 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then |
22082 echo $ECHO_N "(cached) $ECHO_C" >&6 | 19373 echo $ECHO_N "(cached) $ECHO_C" >&6 |
22083 else | 19374 else |
22084 ac_check_lib_save_LIBS=$LIBS | 19375 ac_check_lib_save_LIBS=$LIBS |
22085 LIBS="-ldes $LIBS" | 19376 LIBS="-ldes $LIBS" |
22088 _ACEOF | 19379 _ACEOF |
22089 cat confdefs.h >>conftest.$ac_ext | 19380 cat confdefs.h >>conftest.$ac_ext |
22090 cat >>conftest.$ac_ext <<_ACEOF | 19381 cat >>conftest.$ac_ext <<_ACEOF |
22091 /* end confdefs.h. */ | 19382 /* end confdefs.h. */ |
22092 | 19383 |
22093 /* Override any GCC internal prototype to avoid an error. | 19384 /* Override any gcc2 internal prototype to avoid an error. */ |
22094 Use char because int might match the return type of a GCC | |
22095 builtin and then its argument prototype would still apply. */ | |
22096 #ifdef __cplusplus | 19385 #ifdef __cplusplus |
22097 extern "C" | 19386 extern "C" |
22098 #endif | 19387 #endif |
19388 /* We use char because int might match the return type of a gcc2 | |
19389 builtin and then its argument prototype would still apply. */ | |
22099 char des_cbc_encrypt (); | 19390 char des_cbc_encrypt (); |
22100 int | 19391 int |
22101 main () | 19392 main () |
22102 { | 19393 { |
22103 return des_cbc_encrypt (); | 19394 des_cbc_encrypt (); |
22104 ; | 19395 ; |
22105 return 0; | 19396 return 0; |
22106 } | 19397 } |
22107 _ACEOF | 19398 _ACEOF |
22108 rm -f conftest.$ac_objext conftest$ac_exeext | 19399 rm -f conftest.$ac_objext conftest$ac_exeext |
22109 if { (ac_try="$ac_link" | 19400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
22110 case "(($ac_try" in | 19401 (eval $ac_link) 2>conftest.er1 |
22111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22112 *) ac_try_echo=$ac_try;; | |
22113 esac | |
22114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22115 (eval "$ac_link") 2>conftest.er1 | |
22116 ac_status=$? | 19402 ac_status=$? |
22117 grep -v '^ *+' conftest.er1 >conftest.err | 19403 grep -v '^ *+' conftest.er1 >conftest.err |
22118 rm -f conftest.er1 | 19404 rm -f conftest.er1 |
22119 cat conftest.err >&5 | 19405 cat conftest.err >&5 |
22120 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19406 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22121 (exit $ac_status); } && | 19407 (exit $ac_status); } && |
22122 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 19408 { ac_try='test -z "$ac_c_werror_flag" |
22123 { (case "(($ac_try" in | 19409 || test ! -s conftest.err' |
22124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 19410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
22125 *) ac_try_echo=$ac_try;; | 19411 (eval $ac_try) 2>&5 |
22126 esac | |
22127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22128 (eval "$ac_try") 2>&5 | |
22129 ac_status=$? | 19412 ac_status=$? |
22130 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19413 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22131 (exit $ac_status); }; } && | 19414 (exit $ac_status); }; } && |
22132 { ac_try='test -s conftest$ac_exeext' | 19415 { ac_try='test -s conftest$ac_exeext' |
22133 { (case "(($ac_try" in | 19416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
22134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 19417 (eval $ac_try) 2>&5 |
22135 *) ac_try_echo=$ac_try;; | |
22136 esac | |
22137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22138 (eval "$ac_try") 2>&5 | |
22139 ac_status=$? | 19418 ac_status=$? |
22140 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19419 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22141 (exit $ac_status); }; }; then | 19420 (exit $ac_status); }; }; then |
22142 ac_cv_lib_des_des_cbc_encrypt=yes | 19421 ac_cv_lib_des_des_cbc_encrypt=yes |
22143 else | 19422 else |
22144 echo "$as_me: failed program was:" >&5 | 19423 echo "$as_me: failed program was:" >&5 |
22145 sed 's/^/| /' conftest.$ac_ext >&5 | 19424 sed 's/^/| /' conftest.$ac_ext >&5 |
22146 | 19425 |
22147 ac_cv_lib_des_des_cbc_encrypt=no | 19426 ac_cv_lib_des_des_cbc_encrypt=no |
22148 fi | 19427 fi |
22149 | 19428 rm -f conftest.err conftest.$ac_objext \ |
22150 rm -f core conftest.err conftest.$ac_objext \ | |
22151 conftest$ac_exeext conftest.$ac_ext | 19429 conftest$ac_exeext conftest.$ac_ext |
22152 LIBS=$ac_check_lib_save_LIBS | 19430 LIBS=$ac_check_lib_save_LIBS |
22153 fi | 19431 fi |
22154 { echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 | 19432 echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 |
22155 echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6; } | 19433 echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6 |
22156 if test $ac_cv_lib_des_des_cbc_encrypt = yes; then | 19434 if test $ac_cv_lib_des_des_cbc_encrypt = yes; then |
22157 cat >>confdefs.h <<_ACEOF | 19435 cat >>confdefs.h <<_ACEOF |
22158 #define HAVE_LIBDES 1 | 19436 #define HAVE_LIBDES 1 |
22159 _ACEOF | 19437 _ACEOF |
22160 | 19438 |
22163 fi | 19441 fi |
22164 | 19442 |
22165 fi | 19443 fi |
22166 | 19444 |
22167 | 19445 |
22168 { echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb4" >&5 | 19446 echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb4" >&5 |
22169 echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6; } | 19447 echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6 |
22170 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then | 19448 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then |
22171 echo $ECHO_N "(cached) $ECHO_C" >&6 | 19449 echo $ECHO_N "(cached) $ECHO_C" >&6 |
22172 else | 19450 else |
22173 ac_check_lib_save_LIBS=$LIBS | 19451 ac_check_lib_save_LIBS=$LIBS |
22174 LIBS="-lkrb4 $LIBS" | 19452 LIBS="-lkrb4 $LIBS" |
22177 _ACEOF | 19455 _ACEOF |
22178 cat confdefs.h >>conftest.$ac_ext | 19456 cat confdefs.h >>conftest.$ac_ext |
22179 cat >>conftest.$ac_ext <<_ACEOF | 19457 cat >>conftest.$ac_ext <<_ACEOF |
22180 /* end confdefs.h. */ | 19458 /* end confdefs.h. */ |
22181 | 19459 |
22182 /* Override any GCC internal prototype to avoid an error. | 19460 /* Override any gcc2 internal prototype to avoid an error. */ |
22183 Use char because int might match the return type of a GCC | |
22184 builtin and then its argument prototype would still apply. */ | |
22185 #ifdef __cplusplus | 19461 #ifdef __cplusplus |
22186 extern "C" | 19462 extern "C" |
22187 #endif | 19463 #endif |
19464 /* We use char because int might match the return type of a gcc2 | |
19465 builtin and then its argument prototype would still apply. */ | |
22188 char krb_get_cred (); | 19466 char krb_get_cred (); |
22189 int | 19467 int |
22190 main () | 19468 main () |
22191 { | 19469 { |
22192 return krb_get_cred (); | 19470 krb_get_cred (); |
22193 ; | 19471 ; |
22194 return 0; | 19472 return 0; |
22195 } | 19473 } |
22196 _ACEOF | 19474 _ACEOF |
22197 rm -f conftest.$ac_objext conftest$ac_exeext | 19475 rm -f conftest.$ac_objext conftest$ac_exeext |
22198 if { (ac_try="$ac_link" | 19476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
22199 case "(($ac_try" in | 19477 (eval $ac_link) 2>conftest.er1 |
22200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22201 *) ac_try_echo=$ac_try;; | |
22202 esac | |
22203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22204 (eval "$ac_link") 2>conftest.er1 | |
22205 ac_status=$? | 19478 ac_status=$? |
22206 grep -v '^ *+' conftest.er1 >conftest.err | 19479 grep -v '^ *+' conftest.er1 >conftest.err |
22207 rm -f conftest.er1 | 19480 rm -f conftest.er1 |
22208 cat conftest.err >&5 | 19481 cat conftest.err >&5 |
22209 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19482 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22210 (exit $ac_status); } && | 19483 (exit $ac_status); } && |
22211 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 19484 { ac_try='test -z "$ac_c_werror_flag" |
22212 { (case "(($ac_try" in | 19485 || test ! -s conftest.err' |
22213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 19486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
22214 *) ac_try_echo=$ac_try;; | 19487 (eval $ac_try) 2>&5 |
22215 esac | |
22216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22217 (eval "$ac_try") 2>&5 | |
22218 ac_status=$? | 19488 ac_status=$? |
22219 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19489 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22220 (exit $ac_status); }; } && | 19490 (exit $ac_status); }; } && |
22221 { ac_try='test -s conftest$ac_exeext' | 19491 { ac_try='test -s conftest$ac_exeext' |
22222 { (case "(($ac_try" in | 19492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
22223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 19493 (eval $ac_try) 2>&5 |
22224 *) ac_try_echo=$ac_try;; | |
22225 esac | |
22226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22227 (eval "$ac_try") 2>&5 | |
22228 ac_status=$? | 19494 ac_status=$? |
22229 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19495 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22230 (exit $ac_status); }; }; then | 19496 (exit $ac_status); }; }; then |
22231 ac_cv_lib_krb4_krb_get_cred=yes | 19497 ac_cv_lib_krb4_krb_get_cred=yes |
22232 else | 19498 else |
22233 echo "$as_me: failed program was:" >&5 | 19499 echo "$as_me: failed program was:" >&5 |
22234 sed 's/^/| /' conftest.$ac_ext >&5 | 19500 sed 's/^/| /' conftest.$ac_ext >&5 |
22235 | 19501 |
22236 ac_cv_lib_krb4_krb_get_cred=no | 19502 ac_cv_lib_krb4_krb_get_cred=no |
22237 fi | 19503 fi |
22238 | 19504 rm -f conftest.err conftest.$ac_objext \ |
22239 rm -f core conftest.err conftest.$ac_objext \ | |
22240 conftest$ac_exeext conftest.$ac_ext | 19505 conftest$ac_exeext conftest.$ac_ext |
22241 LIBS=$ac_check_lib_save_LIBS | 19506 LIBS=$ac_check_lib_save_LIBS |
22242 fi | 19507 fi |
22243 { echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_get_cred" >&5 | 19508 echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_get_cred" >&5 |
22244 echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6; } | 19509 echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6 |
22245 if test $ac_cv_lib_krb4_krb_get_cred = yes; then | 19510 if test $ac_cv_lib_krb4_krb_get_cred = yes; then |
22246 cat >>confdefs.h <<_ACEOF | 19511 cat >>confdefs.h <<_ACEOF |
22247 #define HAVE_LIBKRB4 1 | 19512 #define HAVE_LIBKRB4 1 |
22248 _ACEOF | 19513 _ACEOF |
22249 | 19514 |
22250 LIBS="-lkrb4 $LIBS" | 19515 LIBS="-lkrb4 $LIBS" |
22251 | 19516 |
22252 else | 19517 else |
22253 | 19518 |
22254 { echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb" >&5 | 19519 echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb" >&5 |
22255 echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6; } | 19520 echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6 |
22256 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then | 19521 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then |
22257 echo $ECHO_N "(cached) $ECHO_C" >&6 | 19522 echo $ECHO_N "(cached) $ECHO_C" >&6 |
22258 else | 19523 else |
22259 ac_check_lib_save_LIBS=$LIBS | 19524 ac_check_lib_save_LIBS=$LIBS |
22260 LIBS="-lkrb $LIBS" | 19525 LIBS="-lkrb $LIBS" |
22263 _ACEOF | 19528 _ACEOF |
22264 cat confdefs.h >>conftest.$ac_ext | 19529 cat confdefs.h >>conftest.$ac_ext |
22265 cat >>conftest.$ac_ext <<_ACEOF | 19530 cat >>conftest.$ac_ext <<_ACEOF |
22266 /* end confdefs.h. */ | 19531 /* end confdefs.h. */ |
22267 | 19532 |
22268 /* Override any GCC internal prototype to avoid an error. | 19533 /* Override any gcc2 internal prototype to avoid an error. */ |
22269 Use char because int might match the return type of a GCC | |
22270 builtin and then its argument prototype would still apply. */ | |
22271 #ifdef __cplusplus | 19534 #ifdef __cplusplus |
22272 extern "C" | 19535 extern "C" |
22273 #endif | 19536 #endif |
19537 /* We use char because int might match the return type of a gcc2 | |
19538 builtin and then its argument prototype would still apply. */ | |
22274 char krb_get_cred (); | 19539 char krb_get_cred (); |
22275 int | 19540 int |
22276 main () | 19541 main () |
22277 { | 19542 { |
22278 return krb_get_cred (); | 19543 krb_get_cred (); |
22279 ; | 19544 ; |
22280 return 0; | 19545 return 0; |
22281 } | 19546 } |
22282 _ACEOF | 19547 _ACEOF |
22283 rm -f conftest.$ac_objext conftest$ac_exeext | 19548 rm -f conftest.$ac_objext conftest$ac_exeext |
22284 if { (ac_try="$ac_link" | 19549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
22285 case "(($ac_try" in | 19550 (eval $ac_link) 2>conftest.er1 |
22286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22287 *) ac_try_echo=$ac_try;; | |
22288 esac | |
22289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22290 (eval "$ac_link") 2>conftest.er1 | |
22291 ac_status=$? | 19551 ac_status=$? |
22292 grep -v '^ *+' conftest.er1 >conftest.err | 19552 grep -v '^ *+' conftest.er1 >conftest.err |
22293 rm -f conftest.er1 | 19553 rm -f conftest.er1 |
22294 cat conftest.err >&5 | 19554 cat conftest.err >&5 |
22295 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19555 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22296 (exit $ac_status); } && | 19556 (exit $ac_status); } && |
22297 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 19557 { ac_try='test -z "$ac_c_werror_flag" |
22298 { (case "(($ac_try" in | 19558 || test ! -s conftest.err' |
22299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 19559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
22300 *) ac_try_echo=$ac_try;; | 19560 (eval $ac_try) 2>&5 |
22301 esac | |
22302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22303 (eval "$ac_try") 2>&5 | |
22304 ac_status=$? | 19561 ac_status=$? |
22305 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19562 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22306 (exit $ac_status); }; } && | 19563 (exit $ac_status); }; } && |
22307 { ac_try='test -s conftest$ac_exeext' | 19564 { ac_try='test -s conftest$ac_exeext' |
22308 { (case "(($ac_try" in | 19565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
22309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 19566 (eval $ac_try) 2>&5 |
22310 *) ac_try_echo=$ac_try;; | |
22311 esac | |
22312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22313 (eval "$ac_try") 2>&5 | |
22314 ac_status=$? | 19567 ac_status=$? |
22315 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19568 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22316 (exit $ac_status); }; }; then | 19569 (exit $ac_status); }; }; then |
22317 ac_cv_lib_krb_krb_get_cred=yes | 19570 ac_cv_lib_krb_krb_get_cred=yes |
22318 else | 19571 else |
22319 echo "$as_me: failed program was:" >&5 | 19572 echo "$as_me: failed program was:" >&5 |
22320 sed 's/^/| /' conftest.$ac_ext >&5 | 19573 sed 's/^/| /' conftest.$ac_ext >&5 |
22321 | 19574 |
22322 ac_cv_lib_krb_krb_get_cred=no | 19575 ac_cv_lib_krb_krb_get_cred=no |
22323 fi | 19576 fi |
22324 | 19577 rm -f conftest.err conftest.$ac_objext \ |
22325 rm -f core conftest.err conftest.$ac_objext \ | |
22326 conftest$ac_exeext conftest.$ac_ext | 19578 conftest$ac_exeext conftest.$ac_ext |
22327 LIBS=$ac_check_lib_save_LIBS | 19579 LIBS=$ac_check_lib_save_LIBS |
22328 fi | 19580 fi |
22329 { echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_get_cred" >&5 | 19581 echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_get_cred" >&5 |
22330 echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6; } | 19582 echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6 |
22331 if test $ac_cv_lib_krb_krb_get_cred = yes; then | 19583 if test $ac_cv_lib_krb_krb_get_cred = yes; then |
22332 cat >>confdefs.h <<_ACEOF | 19584 cat >>confdefs.h <<_ACEOF |
22333 #define HAVE_LIBKRB 1 | 19585 #define HAVE_LIBKRB 1 |
22334 _ACEOF | 19586 _ACEOF |
22335 | 19587 |
22344 if test "${with_kerberos5+set}" = set; then | 19596 if test "${with_kerberos5+set}" = set; then |
22345 | 19597 |
22346 for ac_header in krb5.h | 19598 for ac_header in krb5.h |
22347 do | 19599 do |
22348 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 19600 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
22349 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 19601 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
22350 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 19602 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
22351 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 19603 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
22352 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 19604 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
22353 echo $ECHO_N "(cached) $ECHO_C" >&6 | 19605 echo $ECHO_N "(cached) $ECHO_C" >&6 |
22354 fi | 19606 fi |
22355 ac_res=`eval echo '${'$as_ac_Header'}'` | 19607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
22356 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 19608 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
22357 echo "${ECHO_T}$ac_res" >&6; } | |
22358 else | 19609 else |
22359 # Is the header compilable? | 19610 # Is the header compilable? |
22360 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 19611 echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
22361 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | 19612 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
22362 cat >conftest.$ac_ext <<_ACEOF | 19613 cat >conftest.$ac_ext <<_ACEOF |
22363 /* confdefs.h. */ | 19614 /* confdefs.h. */ |
22364 _ACEOF | 19615 _ACEOF |
22365 cat confdefs.h >>conftest.$ac_ext | 19616 cat confdefs.h >>conftest.$ac_ext |
22366 cat >>conftest.$ac_ext <<_ACEOF | 19617 cat >>conftest.$ac_ext <<_ACEOF |
22367 /* end confdefs.h. */ | 19618 /* end confdefs.h. */ |
22368 $ac_includes_default | 19619 $ac_includes_default |
22369 #include <$ac_header> | 19620 #include <$ac_header> |
22370 _ACEOF | 19621 _ACEOF |
22371 rm -f conftest.$ac_objext | 19622 rm -f conftest.$ac_objext |
22372 if { (ac_try="$ac_compile" | 19623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
22373 case "(($ac_try" in | 19624 (eval $ac_compile) 2>conftest.er1 |
22374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22375 *) ac_try_echo=$ac_try;; | |
22376 esac | |
22377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22378 (eval "$ac_compile") 2>conftest.er1 | |
22379 ac_status=$? | 19625 ac_status=$? |
22380 grep -v '^ *+' conftest.er1 >conftest.err | 19626 grep -v '^ *+' conftest.er1 >conftest.err |
22381 rm -f conftest.er1 | 19627 rm -f conftest.er1 |
22382 cat conftest.err >&5 | 19628 cat conftest.err >&5 |
22383 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19629 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22384 (exit $ac_status); } && | 19630 (exit $ac_status); } && |
22385 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 19631 { ac_try='test -z "$ac_c_werror_flag" |
22386 { (case "(($ac_try" in | 19632 || test ! -s conftest.err' |
22387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 19633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
22388 *) ac_try_echo=$ac_try;; | 19634 (eval $ac_try) 2>&5 |
22389 esac | |
22390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22391 (eval "$ac_try") 2>&5 | |
22392 ac_status=$? | 19635 ac_status=$? |
22393 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19636 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22394 (exit $ac_status); }; } && | 19637 (exit $ac_status); }; } && |
22395 { ac_try='test -s conftest.$ac_objext' | 19638 { ac_try='test -s conftest.$ac_objext' |
22396 { (case "(($ac_try" in | 19639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
22397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 19640 (eval $ac_try) 2>&5 |
22398 *) ac_try_echo=$ac_try;; | |
22399 esac | |
22400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22401 (eval "$ac_try") 2>&5 | |
22402 ac_status=$? | 19641 ac_status=$? |
22403 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19642 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22404 (exit $ac_status); }; }; then | 19643 (exit $ac_status); }; }; then |
22405 ac_header_compiler=yes | 19644 ac_header_compiler=yes |
22406 else | 19645 else |
22407 echo "$as_me: failed program was:" >&5 | 19646 echo "$as_me: failed program was:" >&5 |
22408 sed 's/^/| /' conftest.$ac_ext >&5 | 19647 sed 's/^/| /' conftest.$ac_ext >&5 |
22409 | 19648 |
22410 ac_header_compiler=no | 19649 ac_header_compiler=no |
22411 fi | 19650 fi |
22412 | 19651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
22413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 19652 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
22414 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 19653 echo "${ECHO_T}$ac_header_compiler" >&6 |
22415 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
22416 | 19654 |
22417 # Is the header present? | 19655 # Is the header present? |
22418 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 19656 echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
22419 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | 19657 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
22420 cat >conftest.$ac_ext <<_ACEOF | 19658 cat >conftest.$ac_ext <<_ACEOF |
22421 /* confdefs.h. */ | 19659 /* confdefs.h. */ |
22422 _ACEOF | 19660 _ACEOF |
22423 cat confdefs.h >>conftest.$ac_ext | 19661 cat confdefs.h >>conftest.$ac_ext |
22424 cat >>conftest.$ac_ext <<_ACEOF | 19662 cat >>conftest.$ac_ext <<_ACEOF |
22425 /* end confdefs.h. */ | 19663 /* end confdefs.h. */ |
22426 #include <$ac_header> | 19664 #include <$ac_header> |
22427 _ACEOF | 19665 _ACEOF |
22428 if { (ac_try="$ac_cpp conftest.$ac_ext" | 19666 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
22429 case "(($ac_try" in | 19667 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
22430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22431 *) ac_try_echo=$ac_try;; | |
22432 esac | |
22433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22434 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
22435 ac_status=$? | 19668 ac_status=$? |
22436 grep -v '^ *+' conftest.er1 >conftest.err | 19669 grep -v '^ *+' conftest.er1 >conftest.err |
22437 rm -f conftest.er1 | 19670 rm -f conftest.er1 |
22438 cat conftest.err >&5 | 19671 cat conftest.err >&5 |
22439 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19672 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22453 echo "$as_me: failed program was:" >&5 | 19686 echo "$as_me: failed program was:" >&5 |
22454 sed 's/^/| /' conftest.$ac_ext >&5 | 19687 sed 's/^/| /' conftest.$ac_ext >&5 |
22455 | 19688 |
22456 ac_header_preproc=no | 19689 ac_header_preproc=no |
22457 fi | 19690 fi |
22458 | |
22459 rm -f conftest.err conftest.$ac_ext | 19691 rm -f conftest.err conftest.$ac_ext |
22460 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 19692 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
22461 echo "${ECHO_T}$ac_header_preproc" >&6; } | 19693 echo "${ECHO_T}$ac_header_preproc" >&6 |
22462 | 19694 |
22463 # So? What about this header? | 19695 # So? What about this header? |
22464 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 19696 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
22465 yes:no: ) | 19697 yes:no: ) |
22466 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 19698 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
22480 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | 19712 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
22481 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 19713 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
22482 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 19714 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
22483 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 19715 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
22484 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 19716 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
22485 | 19717 ( |
19718 cat <<\_ASBOX | |
19719 ## ------------------------------------------ ## | |
19720 ## Report this to the AC_PACKAGE_NAME lists. ## | |
19721 ## ------------------------------------------ ## | |
19722 _ASBOX | |
19723 ) | | |
19724 sed "s/^/$as_me: WARNING: /" >&2 | |
22486 ;; | 19725 ;; |
22487 esac | 19726 esac |
22488 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 19727 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
22489 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 19728 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
22490 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 19729 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
22491 echo $ECHO_N "(cached) $ECHO_C" >&6 | 19730 echo $ECHO_N "(cached) $ECHO_C" >&6 |
22492 else | 19731 else |
22493 eval "$as_ac_Header=\$ac_header_preproc" | 19732 eval "$as_ac_Header=\$ac_header_preproc" |
22494 fi | 19733 fi |
22495 ac_res=`eval echo '${'$as_ac_Header'}'` | 19734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
22496 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 19735 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
22497 echo "${ECHO_T}$ac_res" >&6; } | |
22498 | 19736 |
22499 fi | 19737 fi |
22500 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 19738 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
22501 cat >>confdefs.h <<_ACEOF | 19739 cat >>confdefs.h <<_ACEOF |
22502 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 19740 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
22509 else | 19747 else |
22510 | 19748 |
22511 for ac_header in des.h | 19749 for ac_header in des.h |
22512 do | 19750 do |
22513 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 19751 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
22514 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 19752 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
22515 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 19753 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
22516 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 19754 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
22517 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 19755 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
22518 echo $ECHO_N "(cached) $ECHO_C" >&6 | 19756 echo $ECHO_N "(cached) $ECHO_C" >&6 |
22519 fi | 19757 fi |
22520 ac_res=`eval echo '${'$as_ac_Header'}'` | 19758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
22521 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 19759 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
22522 echo "${ECHO_T}$ac_res" >&6; } | |
22523 else | 19760 else |
22524 # Is the header compilable? | 19761 # Is the header compilable? |
22525 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 19762 echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
22526 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | 19763 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
22527 cat >conftest.$ac_ext <<_ACEOF | 19764 cat >conftest.$ac_ext <<_ACEOF |
22528 /* confdefs.h. */ | 19765 /* confdefs.h. */ |
22529 _ACEOF | 19766 _ACEOF |
22530 cat confdefs.h >>conftest.$ac_ext | 19767 cat confdefs.h >>conftest.$ac_ext |
22531 cat >>conftest.$ac_ext <<_ACEOF | 19768 cat >>conftest.$ac_ext <<_ACEOF |
22532 /* end confdefs.h. */ | 19769 /* end confdefs.h. */ |
22533 $ac_includes_default | 19770 $ac_includes_default |
22534 #include <$ac_header> | 19771 #include <$ac_header> |
22535 _ACEOF | 19772 _ACEOF |
22536 rm -f conftest.$ac_objext | 19773 rm -f conftest.$ac_objext |
22537 if { (ac_try="$ac_compile" | 19774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
22538 case "(($ac_try" in | 19775 (eval $ac_compile) 2>conftest.er1 |
22539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22540 *) ac_try_echo=$ac_try;; | |
22541 esac | |
22542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22543 (eval "$ac_compile") 2>conftest.er1 | |
22544 ac_status=$? | 19776 ac_status=$? |
22545 grep -v '^ *+' conftest.er1 >conftest.err | 19777 grep -v '^ *+' conftest.er1 >conftest.err |
22546 rm -f conftest.er1 | 19778 rm -f conftest.er1 |
22547 cat conftest.err >&5 | 19779 cat conftest.err >&5 |
22548 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19780 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22549 (exit $ac_status); } && | 19781 (exit $ac_status); } && |
22550 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 19782 { ac_try='test -z "$ac_c_werror_flag" |
22551 { (case "(($ac_try" in | 19783 || test ! -s conftest.err' |
22552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 19784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
22553 *) ac_try_echo=$ac_try;; | 19785 (eval $ac_try) 2>&5 |
22554 esac | |
22555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22556 (eval "$ac_try") 2>&5 | |
22557 ac_status=$? | 19786 ac_status=$? |
22558 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19787 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22559 (exit $ac_status); }; } && | 19788 (exit $ac_status); }; } && |
22560 { ac_try='test -s conftest.$ac_objext' | 19789 { ac_try='test -s conftest.$ac_objext' |
22561 { (case "(($ac_try" in | 19790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
22562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 19791 (eval $ac_try) 2>&5 |
22563 *) ac_try_echo=$ac_try;; | |
22564 esac | |
22565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22566 (eval "$ac_try") 2>&5 | |
22567 ac_status=$? | 19792 ac_status=$? |
22568 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19793 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22569 (exit $ac_status); }; }; then | 19794 (exit $ac_status); }; }; then |
22570 ac_header_compiler=yes | 19795 ac_header_compiler=yes |
22571 else | 19796 else |
22572 echo "$as_me: failed program was:" >&5 | 19797 echo "$as_me: failed program was:" >&5 |
22573 sed 's/^/| /' conftest.$ac_ext >&5 | 19798 sed 's/^/| /' conftest.$ac_ext >&5 |
22574 | 19799 |
22575 ac_header_compiler=no | 19800 ac_header_compiler=no |
22576 fi | 19801 fi |
22577 | 19802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
22578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 19803 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
22579 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 19804 echo "${ECHO_T}$ac_header_compiler" >&6 |
22580 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
22581 | 19805 |
22582 # Is the header present? | 19806 # Is the header present? |
22583 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 19807 echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
22584 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | 19808 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
22585 cat >conftest.$ac_ext <<_ACEOF | 19809 cat >conftest.$ac_ext <<_ACEOF |
22586 /* confdefs.h. */ | 19810 /* confdefs.h. */ |
22587 _ACEOF | 19811 _ACEOF |
22588 cat confdefs.h >>conftest.$ac_ext | 19812 cat confdefs.h >>conftest.$ac_ext |
22589 cat >>conftest.$ac_ext <<_ACEOF | 19813 cat >>conftest.$ac_ext <<_ACEOF |
22590 /* end confdefs.h. */ | 19814 /* end confdefs.h. */ |
22591 #include <$ac_header> | 19815 #include <$ac_header> |
22592 _ACEOF | 19816 _ACEOF |
22593 if { (ac_try="$ac_cpp conftest.$ac_ext" | 19817 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
22594 case "(($ac_try" in | 19818 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
22595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22596 *) ac_try_echo=$ac_try;; | |
22597 esac | |
22598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22599 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
22600 ac_status=$? | 19819 ac_status=$? |
22601 grep -v '^ *+' conftest.er1 >conftest.err | 19820 grep -v '^ *+' conftest.er1 >conftest.err |
22602 rm -f conftest.er1 | 19821 rm -f conftest.er1 |
22603 cat conftest.err >&5 | 19822 cat conftest.err >&5 |
22604 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19823 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22618 echo "$as_me: failed program was:" >&5 | 19837 echo "$as_me: failed program was:" >&5 |
22619 sed 's/^/| /' conftest.$ac_ext >&5 | 19838 sed 's/^/| /' conftest.$ac_ext >&5 |
22620 | 19839 |
22621 ac_header_preproc=no | 19840 ac_header_preproc=no |
22622 fi | 19841 fi |
22623 | |
22624 rm -f conftest.err conftest.$ac_ext | 19842 rm -f conftest.err conftest.$ac_ext |
22625 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 19843 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
22626 echo "${ECHO_T}$ac_header_preproc" >&6; } | 19844 echo "${ECHO_T}$ac_header_preproc" >&6 |
22627 | 19845 |
22628 # So? What about this header? | 19846 # So? What about this header? |
22629 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 19847 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
22630 yes:no: ) | 19848 yes:no: ) |
22631 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 19849 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
22645 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | 19863 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
22646 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 19864 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
22647 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 19865 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
22648 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 19866 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
22649 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 19867 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
22650 | 19868 ( |
19869 cat <<\_ASBOX | |
19870 ## ------------------------------------------ ## | |
19871 ## Report this to the AC_PACKAGE_NAME lists. ## | |
19872 ## ------------------------------------------ ## | |
19873 _ASBOX | |
19874 ) | | |
19875 sed "s/^/$as_me: WARNING: /" >&2 | |
22651 ;; | 19876 ;; |
22652 esac | 19877 esac |
22653 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 19878 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
22654 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 19879 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
22655 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 19880 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
22656 echo $ECHO_N "(cached) $ECHO_C" >&6 | 19881 echo $ECHO_N "(cached) $ECHO_C" >&6 |
22657 else | 19882 else |
22658 eval "$as_ac_Header=\$ac_header_preproc" | 19883 eval "$as_ac_Header=\$ac_header_preproc" |
22659 fi | 19884 fi |
22660 ac_res=`eval echo '${'$as_ac_Header'}'` | 19885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
22661 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 19886 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
22662 echo "${ECHO_T}$ac_res" >&6; } | |
22663 | 19887 |
22664 fi | 19888 fi |
22665 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 19889 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
22666 cat >>confdefs.h <<_ACEOF | 19890 cat >>confdefs.h <<_ACEOF |
22667 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 19891 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
22670 else | 19894 else |
22671 | 19895 |
22672 for ac_header in kerberosIV/des.h | 19896 for ac_header in kerberosIV/des.h |
22673 do | 19897 do |
22674 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 19898 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
22675 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 19899 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
22676 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 19900 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
22677 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 19901 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
22678 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 19902 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
22679 echo $ECHO_N "(cached) $ECHO_C" >&6 | 19903 echo $ECHO_N "(cached) $ECHO_C" >&6 |
22680 fi | 19904 fi |
22681 ac_res=`eval echo '${'$as_ac_Header'}'` | 19905 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
22682 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 19906 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
22683 echo "${ECHO_T}$ac_res" >&6; } | |
22684 else | 19907 else |
22685 # Is the header compilable? | 19908 # Is the header compilable? |
22686 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 19909 echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
22687 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | 19910 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
22688 cat >conftest.$ac_ext <<_ACEOF | 19911 cat >conftest.$ac_ext <<_ACEOF |
22689 /* confdefs.h. */ | 19912 /* confdefs.h. */ |
22690 _ACEOF | 19913 _ACEOF |
22691 cat confdefs.h >>conftest.$ac_ext | 19914 cat confdefs.h >>conftest.$ac_ext |
22692 cat >>conftest.$ac_ext <<_ACEOF | 19915 cat >>conftest.$ac_ext <<_ACEOF |
22693 /* end confdefs.h. */ | 19916 /* end confdefs.h. */ |
22694 $ac_includes_default | 19917 $ac_includes_default |
22695 #include <$ac_header> | 19918 #include <$ac_header> |
22696 _ACEOF | 19919 _ACEOF |
22697 rm -f conftest.$ac_objext | 19920 rm -f conftest.$ac_objext |
22698 if { (ac_try="$ac_compile" | 19921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
22699 case "(($ac_try" in | 19922 (eval $ac_compile) 2>conftest.er1 |
22700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22701 *) ac_try_echo=$ac_try;; | |
22702 esac | |
22703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22704 (eval "$ac_compile") 2>conftest.er1 | |
22705 ac_status=$? | 19923 ac_status=$? |
22706 grep -v '^ *+' conftest.er1 >conftest.err | 19924 grep -v '^ *+' conftest.er1 >conftest.err |
22707 rm -f conftest.er1 | 19925 rm -f conftest.er1 |
22708 cat conftest.err >&5 | 19926 cat conftest.err >&5 |
22709 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19927 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22710 (exit $ac_status); } && | 19928 (exit $ac_status); } && |
22711 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 19929 { ac_try='test -z "$ac_c_werror_flag" |
22712 { (case "(($ac_try" in | 19930 || test ! -s conftest.err' |
22713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 19931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
22714 *) ac_try_echo=$ac_try;; | 19932 (eval $ac_try) 2>&5 |
22715 esac | |
22716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22717 (eval "$ac_try") 2>&5 | |
22718 ac_status=$? | 19933 ac_status=$? |
22719 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19934 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22720 (exit $ac_status); }; } && | 19935 (exit $ac_status); }; } && |
22721 { ac_try='test -s conftest.$ac_objext' | 19936 { ac_try='test -s conftest.$ac_objext' |
22722 { (case "(($ac_try" in | 19937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
22723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 19938 (eval $ac_try) 2>&5 |
22724 *) ac_try_echo=$ac_try;; | |
22725 esac | |
22726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22727 (eval "$ac_try") 2>&5 | |
22728 ac_status=$? | 19939 ac_status=$? |
22729 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19940 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22730 (exit $ac_status); }; }; then | 19941 (exit $ac_status); }; }; then |
22731 ac_header_compiler=yes | 19942 ac_header_compiler=yes |
22732 else | 19943 else |
22733 echo "$as_me: failed program was:" >&5 | 19944 echo "$as_me: failed program was:" >&5 |
22734 sed 's/^/| /' conftest.$ac_ext >&5 | 19945 sed 's/^/| /' conftest.$ac_ext >&5 |
22735 | 19946 |
22736 ac_header_compiler=no | 19947 ac_header_compiler=no |
22737 fi | 19948 fi |
22738 | 19949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
22739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 19950 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
22740 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 19951 echo "${ECHO_T}$ac_header_compiler" >&6 |
22741 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
22742 | 19952 |
22743 # Is the header present? | 19953 # Is the header present? |
22744 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 19954 echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
22745 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | 19955 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
22746 cat >conftest.$ac_ext <<_ACEOF | 19956 cat >conftest.$ac_ext <<_ACEOF |
22747 /* confdefs.h. */ | 19957 /* confdefs.h. */ |
22748 _ACEOF | 19958 _ACEOF |
22749 cat confdefs.h >>conftest.$ac_ext | 19959 cat confdefs.h >>conftest.$ac_ext |
22750 cat >>conftest.$ac_ext <<_ACEOF | 19960 cat >>conftest.$ac_ext <<_ACEOF |
22751 /* end confdefs.h. */ | 19961 /* end confdefs.h. */ |
22752 #include <$ac_header> | 19962 #include <$ac_header> |
22753 _ACEOF | 19963 _ACEOF |
22754 if { (ac_try="$ac_cpp conftest.$ac_ext" | 19964 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
22755 case "(($ac_try" in | 19965 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
22756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22757 *) ac_try_echo=$ac_try;; | |
22758 esac | |
22759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22760 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
22761 ac_status=$? | 19966 ac_status=$? |
22762 grep -v '^ *+' conftest.er1 >conftest.err | 19967 grep -v '^ *+' conftest.er1 >conftest.err |
22763 rm -f conftest.er1 | 19968 rm -f conftest.er1 |
22764 cat conftest.err >&5 | 19969 cat conftest.err >&5 |
22765 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19970 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22779 echo "$as_me: failed program was:" >&5 | 19984 echo "$as_me: failed program was:" >&5 |
22780 sed 's/^/| /' conftest.$ac_ext >&5 | 19985 sed 's/^/| /' conftest.$ac_ext >&5 |
22781 | 19986 |
22782 ac_header_preproc=no | 19987 ac_header_preproc=no |
22783 fi | 19988 fi |
22784 | |
22785 rm -f conftest.err conftest.$ac_ext | 19989 rm -f conftest.err conftest.$ac_ext |
22786 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 19990 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
22787 echo "${ECHO_T}$ac_header_preproc" >&6; } | 19991 echo "${ECHO_T}$ac_header_preproc" >&6 |
22788 | 19992 |
22789 # So? What about this header? | 19993 # So? What about this header? |
22790 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 19994 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
22791 yes:no: ) | 19995 yes:no: ) |
22792 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 19996 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
22806 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | 20010 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
22807 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 20011 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
22808 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 20012 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
22809 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 20013 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
22810 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 20014 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
22811 | 20015 ( |
20016 cat <<\_ASBOX | |
20017 ## ------------------------------------------ ## | |
20018 ## Report this to the AC_PACKAGE_NAME lists. ## | |
20019 ## ------------------------------------------ ## | |
20020 _ASBOX | |
20021 ) | | |
20022 sed "s/^/$as_me: WARNING: /" >&2 | |
22812 ;; | 20023 ;; |
22813 esac | 20024 esac |
22814 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 20025 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
22815 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 20026 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
22816 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 20027 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
22817 echo $ECHO_N "(cached) $ECHO_C" >&6 | 20028 echo $ECHO_N "(cached) $ECHO_C" >&6 |
22818 else | 20029 else |
22819 eval "$as_ac_Header=\$ac_header_preproc" | 20030 eval "$as_ac_Header=\$ac_header_preproc" |
22820 fi | 20031 fi |
22821 ac_res=`eval echo '${'$as_ac_Header'}'` | 20032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
22822 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 20033 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
22823 echo "${ECHO_T}$ac_res" >&6; } | |
22824 | 20034 |
22825 fi | 20035 fi |
22826 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 20036 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
22827 cat >>confdefs.h <<_ACEOF | 20037 cat >>confdefs.h <<_ACEOF |
22828 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 20038 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
22831 else | 20041 else |
22832 | 20042 |
22833 for ac_header in kerberos/des.h | 20043 for ac_header in kerberos/des.h |
22834 do | 20044 do |
22835 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 20045 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
22836 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 20046 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
22837 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 20047 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
22838 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 20048 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
22839 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 20049 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
22840 echo $ECHO_N "(cached) $ECHO_C" >&6 | 20050 echo $ECHO_N "(cached) $ECHO_C" >&6 |
22841 fi | 20051 fi |
22842 ac_res=`eval echo '${'$as_ac_Header'}'` | 20052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
22843 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 20053 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
22844 echo "${ECHO_T}$ac_res" >&6; } | |
22845 else | 20054 else |
22846 # Is the header compilable? | 20055 # Is the header compilable? |
22847 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 20056 echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
22848 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | 20057 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
22849 cat >conftest.$ac_ext <<_ACEOF | 20058 cat >conftest.$ac_ext <<_ACEOF |
22850 /* confdefs.h. */ | 20059 /* confdefs.h. */ |
22851 _ACEOF | 20060 _ACEOF |
22852 cat confdefs.h >>conftest.$ac_ext | 20061 cat confdefs.h >>conftest.$ac_ext |
22853 cat >>conftest.$ac_ext <<_ACEOF | 20062 cat >>conftest.$ac_ext <<_ACEOF |
22854 /* end confdefs.h. */ | 20063 /* end confdefs.h. */ |
22855 $ac_includes_default | 20064 $ac_includes_default |
22856 #include <$ac_header> | 20065 #include <$ac_header> |
22857 _ACEOF | 20066 _ACEOF |
22858 rm -f conftest.$ac_objext | 20067 rm -f conftest.$ac_objext |
22859 if { (ac_try="$ac_compile" | 20068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
22860 case "(($ac_try" in | 20069 (eval $ac_compile) 2>conftest.er1 |
22861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22862 *) ac_try_echo=$ac_try;; | |
22863 esac | |
22864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22865 (eval "$ac_compile") 2>conftest.er1 | |
22866 ac_status=$? | 20070 ac_status=$? |
22867 grep -v '^ *+' conftest.er1 >conftest.err | 20071 grep -v '^ *+' conftest.er1 >conftest.err |
22868 rm -f conftest.er1 | 20072 rm -f conftest.er1 |
22869 cat conftest.err >&5 | 20073 cat conftest.err >&5 |
22870 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20074 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22871 (exit $ac_status); } && | 20075 (exit $ac_status); } && |
22872 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 20076 { ac_try='test -z "$ac_c_werror_flag" |
22873 { (case "(($ac_try" in | 20077 || test ! -s conftest.err' |
22874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 20078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
22875 *) ac_try_echo=$ac_try;; | 20079 (eval $ac_try) 2>&5 |
22876 esac | |
22877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22878 (eval "$ac_try") 2>&5 | |
22879 ac_status=$? | 20080 ac_status=$? |
22880 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20081 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22881 (exit $ac_status); }; } && | 20082 (exit $ac_status); }; } && |
22882 { ac_try='test -s conftest.$ac_objext' | 20083 { ac_try='test -s conftest.$ac_objext' |
22883 { (case "(($ac_try" in | 20084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
22884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 20085 (eval $ac_try) 2>&5 |
22885 *) ac_try_echo=$ac_try;; | |
22886 esac | |
22887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22888 (eval "$ac_try") 2>&5 | |
22889 ac_status=$? | 20086 ac_status=$? |
22890 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20087 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22891 (exit $ac_status); }; }; then | 20088 (exit $ac_status); }; }; then |
22892 ac_header_compiler=yes | 20089 ac_header_compiler=yes |
22893 else | 20090 else |
22894 echo "$as_me: failed program was:" >&5 | 20091 echo "$as_me: failed program was:" >&5 |
22895 sed 's/^/| /' conftest.$ac_ext >&5 | 20092 sed 's/^/| /' conftest.$ac_ext >&5 |
22896 | 20093 |
22897 ac_header_compiler=no | 20094 ac_header_compiler=no |
22898 fi | 20095 fi |
22899 | 20096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
22900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 20097 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
22901 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 20098 echo "${ECHO_T}$ac_header_compiler" >&6 |
22902 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
22903 | 20099 |
22904 # Is the header present? | 20100 # Is the header present? |
22905 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 20101 echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
22906 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | 20102 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
22907 cat >conftest.$ac_ext <<_ACEOF | 20103 cat >conftest.$ac_ext <<_ACEOF |
22908 /* confdefs.h. */ | 20104 /* confdefs.h. */ |
22909 _ACEOF | 20105 _ACEOF |
22910 cat confdefs.h >>conftest.$ac_ext | 20106 cat confdefs.h >>conftest.$ac_ext |
22911 cat >>conftest.$ac_ext <<_ACEOF | 20107 cat >>conftest.$ac_ext <<_ACEOF |
22912 /* end confdefs.h. */ | 20108 /* end confdefs.h. */ |
22913 #include <$ac_header> | 20109 #include <$ac_header> |
22914 _ACEOF | 20110 _ACEOF |
22915 if { (ac_try="$ac_cpp conftest.$ac_ext" | 20111 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
22916 case "(($ac_try" in | 20112 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
22917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22918 *) ac_try_echo=$ac_try;; | |
22919 esac | |
22920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22921 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
22922 ac_status=$? | 20113 ac_status=$? |
22923 grep -v '^ *+' conftest.er1 >conftest.err | 20114 grep -v '^ *+' conftest.er1 >conftest.err |
22924 rm -f conftest.er1 | 20115 rm -f conftest.er1 |
22925 cat conftest.err >&5 | 20116 cat conftest.err >&5 |
22926 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20117 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22940 echo "$as_me: failed program was:" >&5 | 20131 echo "$as_me: failed program was:" >&5 |
22941 sed 's/^/| /' conftest.$ac_ext >&5 | 20132 sed 's/^/| /' conftest.$ac_ext >&5 |
22942 | 20133 |
22943 ac_header_preproc=no | 20134 ac_header_preproc=no |
22944 fi | 20135 fi |
22945 | |
22946 rm -f conftest.err conftest.$ac_ext | 20136 rm -f conftest.err conftest.$ac_ext |
22947 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 20137 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
22948 echo "${ECHO_T}$ac_header_preproc" >&6; } | 20138 echo "${ECHO_T}$ac_header_preproc" >&6 |
22949 | 20139 |
22950 # So? What about this header? | 20140 # So? What about this header? |
22951 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 20141 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
22952 yes:no: ) | 20142 yes:no: ) |
22953 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 20143 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
22967 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | 20157 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
22968 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 20158 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
22969 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 20159 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
22970 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 20160 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
22971 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 20161 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
22972 | 20162 ( |
20163 cat <<\_ASBOX | |
20164 ## ------------------------------------------ ## | |
20165 ## Report this to the AC_PACKAGE_NAME lists. ## | |
20166 ## ------------------------------------------ ## | |
20167 _ASBOX | |
20168 ) | | |
20169 sed "s/^/$as_me: WARNING: /" >&2 | |
22973 ;; | 20170 ;; |
22974 esac | 20171 esac |
22975 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 20172 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
22976 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 20173 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
22977 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 20174 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
22978 echo $ECHO_N "(cached) $ECHO_C" >&6 | 20175 echo $ECHO_N "(cached) $ECHO_C" >&6 |
22979 else | 20176 else |
22980 eval "$as_ac_Header=\$ac_header_preproc" | 20177 eval "$as_ac_Header=\$ac_header_preproc" |
22981 fi | 20178 fi |
22982 ac_res=`eval echo '${'$as_ac_Header'}'` | 20179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
22983 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 20180 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
22984 echo "${ECHO_T}$ac_res" >&6; } | |
22985 | 20181 |
22986 fi | 20182 fi |
22987 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 20183 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
22988 cat >>confdefs.h <<_ACEOF | 20184 cat >>confdefs.h <<_ACEOF |
22989 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 20185 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
23003 | 20199 |
23004 | 20200 |
23005 for ac_header in krb.h | 20201 for ac_header in krb.h |
23006 do | 20202 do |
23007 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 20203 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
23008 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 20204 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
23009 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 20205 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
23010 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 20206 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
23011 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 20207 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
23012 echo $ECHO_N "(cached) $ECHO_C" >&6 | 20208 echo $ECHO_N "(cached) $ECHO_C" >&6 |
23013 fi | 20209 fi |
23014 ac_res=`eval echo '${'$as_ac_Header'}'` | 20210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
23015 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 20211 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
23016 echo "${ECHO_T}$ac_res" >&6; } | |
23017 else | 20212 else |
23018 # Is the header compilable? | 20213 # Is the header compilable? |
23019 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 20214 echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
23020 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | 20215 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
23021 cat >conftest.$ac_ext <<_ACEOF | 20216 cat >conftest.$ac_ext <<_ACEOF |
23022 /* confdefs.h. */ | 20217 /* confdefs.h. */ |
23023 _ACEOF | 20218 _ACEOF |
23024 cat confdefs.h >>conftest.$ac_ext | 20219 cat confdefs.h >>conftest.$ac_ext |
23025 cat >>conftest.$ac_ext <<_ACEOF | 20220 cat >>conftest.$ac_ext <<_ACEOF |
23026 /* end confdefs.h. */ | 20221 /* end confdefs.h. */ |
23027 $ac_includes_default | 20222 $ac_includes_default |
23028 #include <$ac_header> | 20223 #include <$ac_header> |
23029 _ACEOF | 20224 _ACEOF |
23030 rm -f conftest.$ac_objext | 20225 rm -f conftest.$ac_objext |
23031 if { (ac_try="$ac_compile" | 20226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
23032 case "(($ac_try" in | 20227 (eval $ac_compile) 2>conftest.er1 |
23033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23034 *) ac_try_echo=$ac_try;; | |
23035 esac | |
23036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
23037 (eval "$ac_compile") 2>conftest.er1 | |
23038 ac_status=$? | 20228 ac_status=$? |
23039 grep -v '^ *+' conftest.er1 >conftest.err | 20229 grep -v '^ *+' conftest.er1 >conftest.err |
23040 rm -f conftest.er1 | 20230 rm -f conftest.er1 |
23041 cat conftest.err >&5 | 20231 cat conftest.err >&5 |
23042 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20232 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23043 (exit $ac_status); } && | 20233 (exit $ac_status); } && |
23044 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 20234 { ac_try='test -z "$ac_c_werror_flag" |
23045 { (case "(($ac_try" in | 20235 || test ! -s conftest.err' |
23046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 20236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
23047 *) ac_try_echo=$ac_try;; | 20237 (eval $ac_try) 2>&5 |
23048 esac | |
23049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
23050 (eval "$ac_try") 2>&5 | |
23051 ac_status=$? | 20238 ac_status=$? |
23052 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20239 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23053 (exit $ac_status); }; } && | 20240 (exit $ac_status); }; } && |
23054 { ac_try='test -s conftest.$ac_objext' | 20241 { ac_try='test -s conftest.$ac_objext' |
23055 { (case "(($ac_try" in | 20242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
23056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 20243 (eval $ac_try) 2>&5 |
23057 *) ac_try_echo=$ac_try;; | |
23058 esac | |
23059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
23060 (eval "$ac_try") 2>&5 | |
23061 ac_status=$? | 20244 ac_status=$? |
23062 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20245 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23063 (exit $ac_status); }; }; then | 20246 (exit $ac_status); }; }; then |
23064 ac_header_compiler=yes | 20247 ac_header_compiler=yes |
23065 else | 20248 else |
23066 echo "$as_me: failed program was:" >&5 | 20249 echo "$as_me: failed program was:" >&5 |
23067 sed 's/^/| /' conftest.$ac_ext >&5 | 20250 sed 's/^/| /' conftest.$ac_ext >&5 |
23068 | 20251 |
23069 ac_header_compiler=no | 20252 ac_header_compiler=no |
23070 fi | 20253 fi |
23071 | 20254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
23072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 20255 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
23073 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 20256 echo "${ECHO_T}$ac_header_compiler" >&6 |
23074 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
23075 | 20257 |
23076 # Is the header present? | 20258 # Is the header present? |
23077 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 20259 echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
23078 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | 20260 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
23079 cat >conftest.$ac_ext <<_ACEOF | 20261 cat >conftest.$ac_ext <<_ACEOF |
23080 /* confdefs.h. */ | 20262 /* confdefs.h. */ |
23081 _ACEOF | 20263 _ACEOF |
23082 cat confdefs.h >>conftest.$ac_ext | 20264 cat confdefs.h >>conftest.$ac_ext |
23083 cat >>conftest.$ac_ext <<_ACEOF | 20265 cat >>conftest.$ac_ext <<_ACEOF |
23084 /* end confdefs.h. */ | 20266 /* end confdefs.h. */ |
23085 #include <$ac_header> | 20267 #include <$ac_header> |
23086 _ACEOF | 20268 _ACEOF |
23087 if { (ac_try="$ac_cpp conftest.$ac_ext" | 20269 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
23088 case "(($ac_try" in | 20270 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
23089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23090 *) ac_try_echo=$ac_try;; | |
23091 esac | |
23092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
23093 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
23094 ac_status=$? | 20271 ac_status=$? |
23095 grep -v '^ *+' conftest.er1 >conftest.err | 20272 grep -v '^ *+' conftest.er1 >conftest.err |
23096 rm -f conftest.er1 | 20273 rm -f conftest.er1 |
23097 cat conftest.err >&5 | 20274 cat conftest.err >&5 |
23098 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20275 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23112 echo "$as_me: failed program was:" >&5 | 20289 echo "$as_me: failed program was:" >&5 |
23113 sed 's/^/| /' conftest.$ac_ext >&5 | 20290 sed 's/^/| /' conftest.$ac_ext >&5 |
23114 | 20291 |
23115 ac_header_preproc=no | 20292 ac_header_preproc=no |
23116 fi | 20293 fi |
23117 | |
23118 rm -f conftest.err conftest.$ac_ext | 20294 rm -f conftest.err conftest.$ac_ext |
23119 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 20295 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
23120 echo "${ECHO_T}$ac_header_preproc" >&6; } | 20296 echo "${ECHO_T}$ac_header_preproc" >&6 |
23121 | 20297 |
23122 # So? What about this header? | 20298 # So? What about this header? |
23123 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 20299 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
23124 yes:no: ) | 20300 yes:no: ) |
23125 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 20301 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
23139 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | 20315 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
23140 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 20316 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
23141 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 20317 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
23142 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 20318 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
23143 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 20319 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
23144 | 20320 ( |
20321 cat <<\_ASBOX | |
20322 ## ------------------------------------------ ## | |
20323 ## Report this to the AC_PACKAGE_NAME lists. ## | |
20324 ## ------------------------------------------ ## | |
20325 _ASBOX | |
20326 ) | | |
20327 sed "s/^/$as_me: WARNING: /" >&2 | |
23145 ;; | 20328 ;; |
23146 esac | 20329 esac |
23147 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 20330 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
23148 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 20331 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
23149 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 20332 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
23150 echo $ECHO_N "(cached) $ECHO_C" >&6 | 20333 echo $ECHO_N "(cached) $ECHO_C" >&6 |
23151 else | 20334 else |
23152 eval "$as_ac_Header=\$ac_header_preproc" | 20335 eval "$as_ac_Header=\$ac_header_preproc" |
23153 fi | 20336 fi |
23154 ac_res=`eval echo '${'$as_ac_Header'}'` | 20337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
23155 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 20338 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
23156 echo "${ECHO_T}$ac_res" >&6; } | |
23157 | 20339 |
23158 fi | 20340 fi |
23159 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 20341 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
23160 cat >>confdefs.h <<_ACEOF | 20342 cat >>confdefs.h <<_ACEOF |
23161 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 20343 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
23164 else | 20346 else |
23165 | 20347 |
23166 for ac_header in kerberosIV/krb.h | 20348 for ac_header in kerberosIV/krb.h |
23167 do | 20349 do |
23168 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 20350 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
23169 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 20351 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
23170 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 20352 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
23171 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 20353 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
23172 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 20354 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
23173 echo $ECHO_N "(cached) $ECHO_C" >&6 | 20355 echo $ECHO_N "(cached) $ECHO_C" >&6 |
23174 fi | 20356 fi |
23175 ac_res=`eval echo '${'$as_ac_Header'}'` | 20357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
23176 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 20358 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
23177 echo "${ECHO_T}$ac_res" >&6; } | |
23178 else | 20359 else |
23179 # Is the header compilable? | 20360 # Is the header compilable? |
23180 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 20361 echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
23181 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | 20362 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
23182 cat >conftest.$ac_ext <<_ACEOF | 20363 cat >conftest.$ac_ext <<_ACEOF |
23183 /* confdefs.h. */ | 20364 /* confdefs.h. */ |
23184 _ACEOF | 20365 _ACEOF |
23185 cat confdefs.h >>conftest.$ac_ext | 20366 cat confdefs.h >>conftest.$ac_ext |
23186 cat >>conftest.$ac_ext <<_ACEOF | 20367 cat >>conftest.$ac_ext <<_ACEOF |
23187 /* end confdefs.h. */ | 20368 /* end confdefs.h. */ |
23188 $ac_includes_default | 20369 $ac_includes_default |
23189 #include <$ac_header> | 20370 #include <$ac_header> |
23190 _ACEOF | 20371 _ACEOF |
23191 rm -f conftest.$ac_objext | 20372 rm -f conftest.$ac_objext |
23192 if { (ac_try="$ac_compile" | 20373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
23193 case "(($ac_try" in | 20374 (eval $ac_compile) 2>conftest.er1 |
23194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23195 *) ac_try_echo=$ac_try;; | |
23196 esac | |
23197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
23198 (eval "$ac_compile") 2>conftest.er1 | |
23199 ac_status=$? | 20375 ac_status=$? |
23200 grep -v '^ *+' conftest.er1 >conftest.err | 20376 grep -v '^ *+' conftest.er1 >conftest.err |
23201 rm -f conftest.er1 | 20377 rm -f conftest.er1 |
23202 cat conftest.err >&5 | 20378 cat conftest.err >&5 |
23203 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20379 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23204 (exit $ac_status); } && | 20380 (exit $ac_status); } && |
23205 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 20381 { ac_try='test -z "$ac_c_werror_flag" |
23206 { (case "(($ac_try" in | 20382 || test ! -s conftest.err' |
23207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 20383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
23208 *) ac_try_echo=$ac_try;; | 20384 (eval $ac_try) 2>&5 |
23209 esac | |
23210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
23211 (eval "$ac_try") 2>&5 | |
23212 ac_status=$? | 20385 ac_status=$? |
23213 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20386 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23214 (exit $ac_status); }; } && | 20387 (exit $ac_status); }; } && |
23215 { ac_try='test -s conftest.$ac_objext' | 20388 { ac_try='test -s conftest.$ac_objext' |
23216 { (case "(($ac_try" in | 20389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
23217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 20390 (eval $ac_try) 2>&5 |
23218 *) ac_try_echo=$ac_try;; | |
23219 esac | |
23220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
23221 (eval "$ac_try") 2>&5 | |
23222 ac_status=$? | 20391 ac_status=$? |
23223 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20392 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23224 (exit $ac_status); }; }; then | 20393 (exit $ac_status); }; }; then |
23225 ac_header_compiler=yes | 20394 ac_header_compiler=yes |
23226 else | 20395 else |
23227 echo "$as_me: failed program was:" >&5 | 20396 echo "$as_me: failed program was:" >&5 |
23228 sed 's/^/| /' conftest.$ac_ext >&5 | 20397 sed 's/^/| /' conftest.$ac_ext >&5 |
23229 | 20398 |
23230 ac_header_compiler=no | 20399 ac_header_compiler=no |
23231 fi | 20400 fi |
23232 | 20401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
23233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 20402 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
23234 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 20403 echo "${ECHO_T}$ac_header_compiler" >&6 |
23235 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
23236 | 20404 |
23237 # Is the header present? | 20405 # Is the header present? |
23238 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 20406 echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
23239 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | 20407 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
23240 cat >conftest.$ac_ext <<_ACEOF | 20408 cat >conftest.$ac_ext <<_ACEOF |
23241 /* confdefs.h. */ | 20409 /* confdefs.h. */ |
23242 _ACEOF | 20410 _ACEOF |
23243 cat confdefs.h >>conftest.$ac_ext | 20411 cat confdefs.h >>conftest.$ac_ext |
23244 cat >>conftest.$ac_ext <<_ACEOF | 20412 cat >>conftest.$ac_ext <<_ACEOF |
23245 /* end confdefs.h. */ | 20413 /* end confdefs.h. */ |
23246 #include <$ac_header> | 20414 #include <$ac_header> |
23247 _ACEOF | 20415 _ACEOF |
23248 if { (ac_try="$ac_cpp conftest.$ac_ext" | 20416 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
23249 case "(($ac_try" in | 20417 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
23250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23251 *) ac_try_echo=$ac_try;; | |
23252 esac | |
23253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
23254 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
23255 ac_status=$? | 20418 ac_status=$? |
23256 grep -v '^ *+' conftest.er1 >conftest.err | 20419 grep -v '^ *+' conftest.er1 >conftest.err |
23257 rm -f conftest.er1 | 20420 rm -f conftest.er1 |
23258 cat conftest.err >&5 | 20421 cat conftest.err >&5 |
23259 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20422 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23273 echo "$as_me: failed program was:" >&5 | 20436 echo "$as_me: failed program was:" >&5 |
23274 sed 's/^/| /' conftest.$ac_ext >&5 | 20437 sed 's/^/| /' conftest.$ac_ext >&5 |
23275 | 20438 |
23276 ac_header_preproc=no | 20439 ac_header_preproc=no |
23277 fi | 20440 fi |
23278 | |
23279 rm -f conftest.err conftest.$ac_ext | 20441 rm -f conftest.err conftest.$ac_ext |
23280 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 20442 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
23281 echo "${ECHO_T}$ac_header_preproc" >&6; } | 20443 echo "${ECHO_T}$ac_header_preproc" >&6 |
23282 | 20444 |
23283 # So? What about this header? | 20445 # So? What about this header? |
23284 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 20446 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
23285 yes:no: ) | 20447 yes:no: ) |
23286 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 20448 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
23300 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | 20462 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
23301 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 20463 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
23302 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 20464 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
23303 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 20465 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
23304 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 20466 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
23305 | 20467 ( |
20468 cat <<\_ASBOX | |
20469 ## ------------------------------------------ ## | |
20470 ## Report this to the AC_PACKAGE_NAME lists. ## | |
20471 ## ------------------------------------------ ## | |
20472 _ASBOX | |
20473 ) | | |
20474 sed "s/^/$as_me: WARNING: /" >&2 | |
23306 ;; | 20475 ;; |
23307 esac | 20476 esac |
23308 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 20477 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
23309 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 20478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
23310 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 20479 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
23311 echo $ECHO_N "(cached) $ECHO_C" >&6 | 20480 echo $ECHO_N "(cached) $ECHO_C" >&6 |
23312 else | 20481 else |
23313 eval "$as_ac_Header=\$ac_header_preproc" | 20482 eval "$as_ac_Header=\$ac_header_preproc" |
23314 fi | 20483 fi |
23315 ac_res=`eval echo '${'$as_ac_Header'}'` | 20484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
23316 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 20485 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
23317 echo "${ECHO_T}$ac_res" >&6; } | |
23318 | 20486 |
23319 fi | 20487 fi |
23320 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 20488 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
23321 cat >>confdefs.h <<_ACEOF | 20489 cat >>confdefs.h <<_ACEOF |
23322 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 20490 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
23325 else | 20493 else |
23326 | 20494 |
23327 for ac_header in kerberos/krb.h | 20495 for ac_header in kerberos/krb.h |
23328 do | 20496 do |
23329 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 20497 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
23330 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 20498 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
23331 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 20499 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
23332 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 20500 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
23333 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 20501 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
23334 echo $ECHO_N "(cached) $ECHO_C" >&6 | 20502 echo $ECHO_N "(cached) $ECHO_C" >&6 |
23335 fi | 20503 fi |
23336 ac_res=`eval echo '${'$as_ac_Header'}'` | 20504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
23337 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 20505 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
23338 echo "${ECHO_T}$ac_res" >&6; } | |
23339 else | 20506 else |
23340 # Is the header compilable? | 20507 # Is the header compilable? |
23341 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 20508 echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
23342 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | 20509 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
23343 cat >conftest.$ac_ext <<_ACEOF | 20510 cat >conftest.$ac_ext <<_ACEOF |
23344 /* confdefs.h. */ | 20511 /* confdefs.h. */ |
23345 _ACEOF | 20512 _ACEOF |
23346 cat confdefs.h >>conftest.$ac_ext | 20513 cat confdefs.h >>conftest.$ac_ext |
23347 cat >>conftest.$ac_ext <<_ACEOF | 20514 cat >>conftest.$ac_ext <<_ACEOF |
23348 /* end confdefs.h. */ | 20515 /* end confdefs.h. */ |
23349 $ac_includes_default | 20516 $ac_includes_default |
23350 #include <$ac_header> | 20517 #include <$ac_header> |
23351 _ACEOF | 20518 _ACEOF |
23352 rm -f conftest.$ac_objext | 20519 rm -f conftest.$ac_objext |
23353 if { (ac_try="$ac_compile" | 20520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
23354 case "(($ac_try" in | 20521 (eval $ac_compile) 2>conftest.er1 |
23355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23356 *) ac_try_echo=$ac_try;; | |
23357 esac | |
23358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
23359 (eval "$ac_compile") 2>conftest.er1 | |
23360 ac_status=$? | 20522 ac_status=$? |
23361 grep -v '^ *+' conftest.er1 >conftest.err | 20523 grep -v '^ *+' conftest.er1 >conftest.err |
23362 rm -f conftest.er1 | 20524 rm -f conftest.er1 |
23363 cat conftest.err >&5 | 20525 cat conftest.err >&5 |
23364 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20526 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23365 (exit $ac_status); } && | 20527 (exit $ac_status); } && |
23366 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 20528 { ac_try='test -z "$ac_c_werror_flag" |
23367 { (case "(($ac_try" in | 20529 || test ! -s conftest.err' |
23368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 20530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
23369 *) ac_try_echo=$ac_try;; | 20531 (eval $ac_try) 2>&5 |
23370 esac | |
23371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
23372 (eval "$ac_try") 2>&5 | |
23373 ac_status=$? | 20532 ac_status=$? |
23374 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20533 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23375 (exit $ac_status); }; } && | 20534 (exit $ac_status); }; } && |
23376 { ac_try='test -s conftest.$ac_objext' | 20535 { ac_try='test -s conftest.$ac_objext' |
23377 { (case "(($ac_try" in | 20536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
23378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 20537 (eval $ac_try) 2>&5 |
23379 *) ac_try_echo=$ac_try;; | |
23380 esac | |
23381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
23382 (eval "$ac_try") 2>&5 | |
23383 ac_status=$? | 20538 ac_status=$? |
23384 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20539 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23385 (exit $ac_status); }; }; then | 20540 (exit $ac_status); }; }; then |
23386 ac_header_compiler=yes | 20541 ac_header_compiler=yes |
23387 else | 20542 else |
23388 echo "$as_me: failed program was:" >&5 | 20543 echo "$as_me: failed program was:" >&5 |
23389 sed 's/^/| /' conftest.$ac_ext >&5 | 20544 sed 's/^/| /' conftest.$ac_ext >&5 |
23390 | 20545 |
23391 ac_header_compiler=no | 20546 ac_header_compiler=no |
23392 fi | 20547 fi |
23393 | 20548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
23394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 20549 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
23395 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 20550 echo "${ECHO_T}$ac_header_compiler" >&6 |
23396 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
23397 | 20551 |
23398 # Is the header present? | 20552 # Is the header present? |
23399 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 20553 echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
23400 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | 20554 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
23401 cat >conftest.$ac_ext <<_ACEOF | 20555 cat >conftest.$ac_ext <<_ACEOF |
23402 /* confdefs.h. */ | 20556 /* confdefs.h. */ |
23403 _ACEOF | 20557 _ACEOF |
23404 cat confdefs.h >>conftest.$ac_ext | 20558 cat confdefs.h >>conftest.$ac_ext |
23405 cat >>conftest.$ac_ext <<_ACEOF | 20559 cat >>conftest.$ac_ext <<_ACEOF |
23406 /* end confdefs.h. */ | 20560 /* end confdefs.h. */ |
23407 #include <$ac_header> | 20561 #include <$ac_header> |
23408 _ACEOF | 20562 _ACEOF |
23409 if { (ac_try="$ac_cpp conftest.$ac_ext" | 20563 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
23410 case "(($ac_try" in | 20564 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
23411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23412 *) ac_try_echo=$ac_try;; | |
23413 esac | |
23414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
23415 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
23416 ac_status=$? | 20565 ac_status=$? |
23417 grep -v '^ *+' conftest.er1 >conftest.err | 20566 grep -v '^ *+' conftest.er1 >conftest.err |
23418 rm -f conftest.er1 | 20567 rm -f conftest.er1 |
23419 cat conftest.err >&5 | 20568 cat conftest.err >&5 |
23420 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20569 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23434 echo "$as_me: failed program was:" >&5 | 20583 echo "$as_me: failed program was:" >&5 |
23435 sed 's/^/| /' conftest.$ac_ext >&5 | 20584 sed 's/^/| /' conftest.$ac_ext >&5 |
23436 | 20585 |
23437 ac_header_preproc=no | 20586 ac_header_preproc=no |
23438 fi | 20587 fi |
23439 | |
23440 rm -f conftest.err conftest.$ac_ext | 20588 rm -f conftest.err conftest.$ac_ext |
23441 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 20589 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
23442 echo "${ECHO_T}$ac_header_preproc" >&6; } | 20590 echo "${ECHO_T}$ac_header_preproc" >&6 |
23443 | 20591 |
23444 # So? What about this header? | 20592 # So? What about this header? |
23445 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 20593 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
23446 yes:no: ) | 20594 yes:no: ) |
23447 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 20595 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
23461 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | 20609 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
23462 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 20610 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
23463 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 20611 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
23464 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 20612 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
23465 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 20613 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
23466 | 20614 ( |
20615 cat <<\_ASBOX | |
20616 ## ------------------------------------------ ## | |
20617 ## Report this to the AC_PACKAGE_NAME lists. ## | |
20618 ## ------------------------------------------ ## | |
20619 _ASBOX | |
20620 ) | | |
20621 sed "s/^/$as_me: WARNING: /" >&2 | |
23467 ;; | 20622 ;; |
23468 esac | 20623 esac |
23469 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 20624 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
23470 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 20625 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
23471 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 20626 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
23472 echo $ECHO_N "(cached) $ECHO_C" >&6 | 20627 echo $ECHO_N "(cached) $ECHO_C" >&6 |
23473 else | 20628 else |
23474 eval "$as_ac_Header=\$ac_header_preproc" | 20629 eval "$as_ac_Header=\$ac_header_preproc" |
23475 fi | 20630 fi |
23476 ac_res=`eval echo '${'$as_ac_Header'}'` | 20631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
23477 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 20632 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
23478 echo "${ECHO_T}$ac_res" >&6; } | |
23479 | 20633 |
23480 fi | 20634 fi |
23481 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 20635 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
23482 cat >>confdefs.h <<_ACEOF | 20636 cat >>confdefs.h <<_ACEOF |
23483 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 20637 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
23498 fi | 20652 fi |
23499 | 20653 |
23500 for ac_header in com_err.h | 20654 for ac_header in com_err.h |
23501 do | 20655 do |
23502 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 20656 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
23503 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 20657 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
23504 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 20658 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
23505 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 20659 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
23506 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 20660 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
23507 echo $ECHO_N "(cached) $ECHO_C" >&6 | 20661 echo $ECHO_N "(cached) $ECHO_C" >&6 |
23508 fi | 20662 fi |
23509 ac_res=`eval echo '${'$as_ac_Header'}'` | 20663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
23510 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 20664 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
23511 echo "${ECHO_T}$ac_res" >&6; } | |
23512 else | 20665 else |
23513 # Is the header compilable? | 20666 # Is the header compilable? |
23514 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 20667 echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
23515 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | 20668 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
23516 cat >conftest.$ac_ext <<_ACEOF | 20669 cat >conftest.$ac_ext <<_ACEOF |
23517 /* confdefs.h. */ | 20670 /* confdefs.h. */ |
23518 _ACEOF | 20671 _ACEOF |
23519 cat confdefs.h >>conftest.$ac_ext | 20672 cat confdefs.h >>conftest.$ac_ext |
23520 cat >>conftest.$ac_ext <<_ACEOF | 20673 cat >>conftest.$ac_ext <<_ACEOF |
23521 /* end confdefs.h. */ | 20674 /* end confdefs.h. */ |
23522 $ac_includes_default | 20675 $ac_includes_default |
23523 #include <$ac_header> | 20676 #include <$ac_header> |
23524 _ACEOF | 20677 _ACEOF |
23525 rm -f conftest.$ac_objext | 20678 rm -f conftest.$ac_objext |
23526 if { (ac_try="$ac_compile" | 20679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
23527 case "(($ac_try" in | 20680 (eval $ac_compile) 2>conftest.er1 |
23528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23529 *) ac_try_echo=$ac_try;; | |
23530 esac | |
23531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
23532 (eval "$ac_compile") 2>conftest.er1 | |
23533 ac_status=$? | 20681 ac_status=$? |
23534 grep -v '^ *+' conftest.er1 >conftest.err | 20682 grep -v '^ *+' conftest.er1 >conftest.err |
23535 rm -f conftest.er1 | 20683 rm -f conftest.er1 |
23536 cat conftest.err >&5 | 20684 cat conftest.err >&5 |
23537 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20685 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23538 (exit $ac_status); } && | 20686 (exit $ac_status); } && |
23539 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 20687 { ac_try='test -z "$ac_c_werror_flag" |
23540 { (case "(($ac_try" in | 20688 || test ! -s conftest.err' |
23541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 20689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
23542 *) ac_try_echo=$ac_try;; | 20690 (eval $ac_try) 2>&5 |
23543 esac | |
23544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
23545 (eval "$ac_try") 2>&5 | |
23546 ac_status=$? | 20691 ac_status=$? |
23547 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20692 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23548 (exit $ac_status); }; } && | 20693 (exit $ac_status); }; } && |
23549 { ac_try='test -s conftest.$ac_objext' | 20694 { ac_try='test -s conftest.$ac_objext' |
23550 { (case "(($ac_try" in | 20695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
23551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 20696 (eval $ac_try) 2>&5 |
23552 *) ac_try_echo=$ac_try;; | |
23553 esac | |
23554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
23555 (eval "$ac_try") 2>&5 | |
23556 ac_status=$? | 20697 ac_status=$? |
23557 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20698 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23558 (exit $ac_status); }; }; then | 20699 (exit $ac_status); }; }; then |
23559 ac_header_compiler=yes | 20700 ac_header_compiler=yes |
23560 else | 20701 else |
23561 echo "$as_me: failed program was:" >&5 | 20702 echo "$as_me: failed program was:" >&5 |
23562 sed 's/^/| /' conftest.$ac_ext >&5 | 20703 sed 's/^/| /' conftest.$ac_ext >&5 |
23563 | 20704 |
23564 ac_header_compiler=no | 20705 ac_header_compiler=no |
23565 fi | 20706 fi |
23566 | 20707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
23567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 20708 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
23568 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 20709 echo "${ECHO_T}$ac_header_compiler" >&6 |
23569 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
23570 | 20710 |
23571 # Is the header present? | 20711 # Is the header present? |
23572 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 20712 echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
23573 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | 20713 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
23574 cat >conftest.$ac_ext <<_ACEOF | 20714 cat >conftest.$ac_ext <<_ACEOF |
23575 /* confdefs.h. */ | 20715 /* confdefs.h. */ |
23576 _ACEOF | 20716 _ACEOF |
23577 cat confdefs.h >>conftest.$ac_ext | 20717 cat confdefs.h >>conftest.$ac_ext |
23578 cat >>conftest.$ac_ext <<_ACEOF | 20718 cat >>conftest.$ac_ext <<_ACEOF |
23579 /* end confdefs.h. */ | 20719 /* end confdefs.h. */ |
23580 #include <$ac_header> | 20720 #include <$ac_header> |
23581 _ACEOF | 20721 _ACEOF |
23582 if { (ac_try="$ac_cpp conftest.$ac_ext" | 20722 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
23583 case "(($ac_try" in | 20723 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
23584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23585 *) ac_try_echo=$ac_try;; | |
23586 esac | |
23587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
23588 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
23589 ac_status=$? | 20724 ac_status=$? |
23590 grep -v '^ *+' conftest.er1 >conftest.err | 20725 grep -v '^ *+' conftest.er1 >conftest.err |
23591 rm -f conftest.er1 | 20726 rm -f conftest.er1 |
23592 cat conftest.err >&5 | 20727 cat conftest.err >&5 |
23593 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20728 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23607 echo "$as_me: failed program was:" >&5 | 20742 echo "$as_me: failed program was:" >&5 |
23608 sed 's/^/| /' conftest.$ac_ext >&5 | 20743 sed 's/^/| /' conftest.$ac_ext >&5 |
23609 | 20744 |
23610 ac_header_preproc=no | 20745 ac_header_preproc=no |
23611 fi | 20746 fi |
23612 | |
23613 rm -f conftest.err conftest.$ac_ext | 20747 rm -f conftest.err conftest.$ac_ext |
23614 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 20748 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
23615 echo "${ECHO_T}$ac_header_preproc" >&6; } | 20749 echo "${ECHO_T}$ac_header_preproc" >&6 |
23616 | 20750 |
23617 # So? What about this header? | 20751 # So? What about this header? |
23618 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 20752 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
23619 yes:no: ) | 20753 yes:no: ) |
23620 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 20754 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
23634 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | 20768 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
23635 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 20769 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
23636 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 20770 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
23637 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 20771 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
23638 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 20772 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
23639 | 20773 ( |
20774 cat <<\_ASBOX | |
20775 ## ------------------------------------------ ## | |
20776 ## Report this to the AC_PACKAGE_NAME lists. ## | |
20777 ## ------------------------------------------ ## | |
20778 _ASBOX | |
20779 ) | | |
20780 sed "s/^/$as_me: WARNING: /" >&2 | |
23640 ;; | 20781 ;; |
23641 esac | 20782 esac |
23642 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 20783 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
23643 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 20784 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
23644 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 20785 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
23645 echo $ECHO_N "(cached) $ECHO_C" >&6 | 20786 echo $ECHO_N "(cached) $ECHO_C" >&6 |
23646 else | 20787 else |
23647 eval "$as_ac_Header=\$ac_header_preproc" | 20788 eval "$as_ac_Header=\$ac_header_preproc" |
23648 fi | 20789 fi |
23649 ac_res=`eval echo '${'$as_ac_Header'}'` | 20790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
23650 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 20791 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
23651 echo "${ECHO_T}$ac_res" >&6; } | |
23652 | 20792 |
23653 fi | 20793 fi |
23654 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 20794 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
23655 cat >>confdefs.h <<_ACEOF | 20795 cat >>confdefs.h <<_ACEOF |
23656 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 20796 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
23663 fi | 20803 fi |
23664 | 20804 |
23665 # Solaris requires -lintl if you want strerror (which calls dgettext) | 20805 # Solaris requires -lintl if you want strerror (which calls dgettext) |
23666 # to return localized messages. | 20806 # to return localized messages. |
23667 | 20807 |
23668 { echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5 | 20808 echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5 |
23669 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; } | 20809 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6 |
23670 if test "${ac_cv_lib_intl_dgettext+set}" = set; then | 20810 if test "${ac_cv_lib_intl_dgettext+set}" = set; then |
23671 echo $ECHO_N "(cached) $ECHO_C" >&6 | 20811 echo $ECHO_N "(cached) $ECHO_C" >&6 |
23672 else | 20812 else |
23673 ac_check_lib_save_LIBS=$LIBS | 20813 ac_check_lib_save_LIBS=$LIBS |
23674 LIBS="-lintl $LIBS" | 20814 LIBS="-lintl $LIBS" |
23677 _ACEOF | 20817 _ACEOF |
23678 cat confdefs.h >>conftest.$ac_ext | 20818 cat confdefs.h >>conftest.$ac_ext |
23679 cat >>conftest.$ac_ext <<_ACEOF | 20819 cat >>conftest.$ac_ext <<_ACEOF |
23680 /* end confdefs.h. */ | 20820 /* end confdefs.h. */ |
23681 | 20821 |
23682 /* Override any GCC internal prototype to avoid an error. | 20822 /* Override any gcc2 internal prototype to avoid an error. */ |
23683 Use char because int might match the return type of a GCC | |
23684 builtin and then its argument prototype would still apply. */ | |
23685 #ifdef __cplusplus | 20823 #ifdef __cplusplus |
23686 extern "C" | 20824 extern "C" |
23687 #endif | 20825 #endif |
20826 /* We use char because int might match the return type of a gcc2 | |
20827 builtin and then its argument prototype would still apply. */ | |
23688 char dgettext (); | 20828 char dgettext (); |
23689 int | 20829 int |
23690 main () | 20830 main () |
23691 { | 20831 { |
23692 return dgettext (); | 20832 dgettext (); |
23693 ; | 20833 ; |
23694 return 0; | 20834 return 0; |
23695 } | 20835 } |
23696 _ACEOF | 20836 _ACEOF |
23697 rm -f conftest.$ac_objext conftest$ac_exeext | 20837 rm -f conftest.$ac_objext conftest$ac_exeext |
23698 if { (ac_try="$ac_link" | 20838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
23699 case "(($ac_try" in | 20839 (eval $ac_link) 2>conftest.er1 |
23700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23701 *) ac_try_echo=$ac_try;; | |
23702 esac | |
23703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
23704 (eval "$ac_link") 2>conftest.er1 | |
23705 ac_status=$? | 20840 ac_status=$? |
23706 grep -v '^ *+' conftest.er1 >conftest.err | 20841 grep -v '^ *+' conftest.er1 >conftest.err |
23707 rm -f conftest.er1 | 20842 rm -f conftest.er1 |
23708 cat conftest.err >&5 | 20843 cat conftest.err >&5 |
23709 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20844 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23710 (exit $ac_status); } && | 20845 (exit $ac_status); } && |
23711 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 20846 { ac_try='test -z "$ac_c_werror_flag" |
23712 { (case "(($ac_try" in | 20847 || test ! -s conftest.err' |
23713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 20848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
23714 *) ac_try_echo=$ac_try;; | 20849 (eval $ac_try) 2>&5 |
23715 esac | |
23716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
23717 (eval "$ac_try") 2>&5 | |
23718 ac_status=$? | 20850 ac_status=$? |
23719 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20851 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23720 (exit $ac_status); }; } && | 20852 (exit $ac_status); }; } && |
23721 { ac_try='test -s conftest$ac_exeext' | 20853 { ac_try='test -s conftest$ac_exeext' |
23722 { (case "(($ac_try" in | 20854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
23723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 20855 (eval $ac_try) 2>&5 |
23724 *) ac_try_echo=$ac_try;; | |
23725 esac | |
23726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
23727 (eval "$ac_try") 2>&5 | |
23728 ac_status=$? | 20856 ac_status=$? |
23729 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20857 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23730 (exit $ac_status); }; }; then | 20858 (exit $ac_status); }; }; then |
23731 ac_cv_lib_intl_dgettext=yes | 20859 ac_cv_lib_intl_dgettext=yes |
23732 else | 20860 else |
23733 echo "$as_me: failed program was:" >&5 | 20861 echo "$as_me: failed program was:" >&5 |
23734 sed 's/^/| /' conftest.$ac_ext >&5 | 20862 sed 's/^/| /' conftest.$ac_ext >&5 |
23735 | 20863 |
23736 ac_cv_lib_intl_dgettext=no | 20864 ac_cv_lib_intl_dgettext=no |
23737 fi | 20865 fi |
23738 | 20866 rm -f conftest.err conftest.$ac_objext \ |
23739 rm -f core conftest.err conftest.$ac_objext \ | |
23740 conftest$ac_exeext conftest.$ac_ext | 20867 conftest$ac_exeext conftest.$ac_ext |
23741 LIBS=$ac_check_lib_save_LIBS | 20868 LIBS=$ac_check_lib_save_LIBS |
23742 fi | 20869 fi |
23743 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5 | 20870 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5 |
23744 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; } | 20871 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6 |
23745 if test $ac_cv_lib_intl_dgettext = yes; then | 20872 if test $ac_cv_lib_intl_dgettext = yes; then |
23746 cat >>confdefs.h <<_ACEOF | 20873 cat >>confdefs.h <<_ACEOF |
23747 #define HAVE_LIBINTL 1 | 20874 #define HAVE_LIBINTL 1 |
23748 _ACEOF | 20875 _ACEOF |
23749 | 20876 |
23750 LIBS="-lintl $LIBS" | 20877 LIBS="-lintl $LIBS" |
23751 | 20878 |
23752 fi | 20879 fi |
23753 | 20880 |
23754 | 20881 |
23755 { echo "$as_me:$LINENO: checking whether localtime caches TZ" >&5 | 20882 echo "$as_me:$LINENO: checking whether localtime caches TZ" >&5 |
23756 echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6; } | 20883 echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6 |
23757 if test "${emacs_cv_localtime_cache+set}" = set; then | 20884 if test "${emacs_cv_localtime_cache+set}" = set; then |
23758 echo $ECHO_N "(cached) $ECHO_C" >&6 | 20885 echo $ECHO_N "(cached) $ECHO_C" >&6 |
23759 else | 20886 else |
23760 if test x$ac_cv_func_tzset = xyes; then | 20887 if test x$ac_cv_func_tzset = xyes; then |
23761 if test "$cross_compiling" = yes; then | 20888 if test "$cross_compiling" = yes; then |
23797 exit (1); | 20924 exit (1); |
23798 exit (0); | 20925 exit (0); |
23799 } | 20926 } |
23800 _ACEOF | 20927 _ACEOF |
23801 rm -f conftest$ac_exeext | 20928 rm -f conftest$ac_exeext |
23802 if { (ac_try="$ac_link" | 20929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
23803 case "(($ac_try" in | 20930 (eval $ac_link) 2>&5 |
23804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23805 *) ac_try_echo=$ac_try;; | |
23806 esac | |
23807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
23808 (eval "$ac_link") 2>&5 | |
23809 ac_status=$? | 20931 ac_status=$? |
23810 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20932 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23811 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 20933 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
23812 { (case "(($ac_try" in | 20934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
23813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 20935 (eval $ac_try) 2>&5 |
23814 *) ac_try_echo=$ac_try;; | |
23815 esac | |
23816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
23817 (eval "$ac_try") 2>&5 | |
23818 ac_status=$? | 20936 ac_status=$? |
23819 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20937 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23820 (exit $ac_status); }; }; then | 20938 (exit $ac_status); }; }; then |
23821 emacs_cv_localtime_cache=no | 20939 emacs_cv_localtime_cache=no |
23822 else | 20940 else |
23825 sed 's/^/| /' conftest.$ac_ext >&5 | 20943 sed 's/^/| /' conftest.$ac_ext >&5 |
23826 | 20944 |
23827 ( exit $ac_status ) | 20945 ( exit $ac_status ) |
23828 emacs_cv_localtime_cache=yes | 20946 emacs_cv_localtime_cache=yes |
23829 fi | 20947 fi |
23830 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 20948 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
23831 fi | 20949 fi |
23832 | |
23833 | |
23834 else | 20950 else |
23835 # If we lack tzset, report that localtime does not cache TZ, | 20951 # If we lack tzset, report that localtime does not cache TZ, |
23836 # since we can't invalidate the cache if we don't have tzset. | 20952 # since we can't invalidate the cache if we don't have tzset. |
23837 emacs_cv_localtime_cache=no | 20953 emacs_cv_localtime_cache=no |
23838 fi | 20954 fi |
23839 fi | 20955 fi |
23840 { echo "$as_me:$LINENO: result: $emacs_cv_localtime_cache" >&5 | 20956 echo "$as_me:$LINENO: result: $emacs_cv_localtime_cache" >&5 |
23841 echo "${ECHO_T}$emacs_cv_localtime_cache" >&6; } | 20957 echo "${ECHO_T}$emacs_cv_localtime_cache" >&6 |
23842 if test $emacs_cv_localtime_cache = yes; then | 20958 if test $emacs_cv_localtime_cache = yes; then |
23843 | 20959 |
23844 cat >>confdefs.h <<\_ACEOF | 20960 cat >>confdefs.h <<\_ACEOF |
23845 #define LOCALTIME_CACHE 1 | 20961 #define LOCALTIME_CACHE 1 |
23846 _ACEOF | 20962 _ACEOF |
23850 if test "x$HAVE_TIMEVAL" = xyes; then | 20966 if test "x$HAVE_TIMEVAL" = xyes; then |
23851 | 20967 |
23852 for ac_func in gettimeofday | 20968 for ac_func in gettimeofday |
23853 do | 20969 do |
23854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 20970 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
23855 { echo "$as_me:$LINENO: checking for $ac_func" >&5 | 20971 echo "$as_me:$LINENO: checking for $ac_func" >&5 |
23856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 20972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
23857 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 20973 if eval "test \"\${$as_ac_var+set}\" = set"; then |
23858 echo $ECHO_N "(cached) $ECHO_C" >&6 | 20974 echo $ECHO_N "(cached) $ECHO_C" >&6 |
23859 else | 20975 else |
23860 cat >conftest.$ac_ext <<_ACEOF | 20976 cat >conftest.$ac_ext <<_ACEOF |
23861 /* confdefs.h. */ | 20977 /* confdefs.h. */ |
23862 _ACEOF | 20978 _ACEOF |
23878 # include <assert.h> | 20994 # include <assert.h> |
23879 #endif | 20995 #endif |
23880 | 20996 |
23881 #undef $ac_func | 20997 #undef $ac_func |
23882 | 20998 |
23883 /* Override any GCC internal prototype to avoid an error. | 20999 /* Override any gcc2 internal prototype to avoid an error. */ |
23884 Use char because int might match the return type of a GCC | |
23885 builtin and then its argument prototype would still apply. */ | |
23886 #ifdef __cplusplus | 21000 #ifdef __cplusplus |
23887 extern "C" | 21001 extern "C" |
21002 { | |
23888 #endif | 21003 #endif |
21004 /* We use char because int might match the return type of a gcc2 | |
21005 builtin and then its argument prototype would still apply. */ | |
23889 char $ac_func (); | 21006 char $ac_func (); |
23890 /* The GNU C library defines this for functions which it implements | 21007 /* The GNU C library defines this for functions which it implements |
23891 to always fail with ENOSYS. Some functions are actually named | 21008 to always fail with ENOSYS. Some functions are actually named |
23892 something starting with __ and the normal name is an alias. */ | 21009 something starting with __ and the normal name is an alias. */ |
23893 #if defined __stub_$ac_func || defined __stub___$ac_func | 21010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
23894 choke me | 21011 choke me |
21012 #else | |
21013 char (*f) () = $ac_func; | |
21014 #endif | |
21015 #ifdef __cplusplus | |
21016 } | |
23895 #endif | 21017 #endif |
23896 | 21018 |
23897 int | 21019 int |
23898 main () | 21020 main () |
23899 { | 21021 { |
23900 return $ac_func (); | 21022 return f != $ac_func; |
23901 ; | 21023 ; |
23902 return 0; | 21024 return 0; |
23903 } | 21025 } |
23904 _ACEOF | 21026 _ACEOF |
23905 rm -f conftest.$ac_objext conftest$ac_exeext | 21027 rm -f conftest.$ac_objext conftest$ac_exeext |
23906 if { (ac_try="$ac_link" | 21028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
23907 case "(($ac_try" in | 21029 (eval $ac_link) 2>conftest.er1 |
23908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23909 *) ac_try_echo=$ac_try;; | |
23910 esac | |
23911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
23912 (eval "$ac_link") 2>conftest.er1 | |
23913 ac_status=$? | 21030 ac_status=$? |
23914 grep -v '^ *+' conftest.er1 >conftest.err | 21031 grep -v '^ *+' conftest.er1 >conftest.err |
23915 rm -f conftest.er1 | 21032 rm -f conftest.er1 |
23916 cat conftest.err >&5 | 21033 cat conftest.err >&5 |
23917 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21034 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23918 (exit $ac_status); } && | 21035 (exit $ac_status); } && |
23919 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 21036 { ac_try='test -z "$ac_c_werror_flag" |
23920 { (case "(($ac_try" in | 21037 || test ! -s conftest.err' |
23921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 21038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
23922 *) ac_try_echo=$ac_try;; | 21039 (eval $ac_try) 2>&5 |
23923 esac | |
23924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
23925 (eval "$ac_try") 2>&5 | |
23926 ac_status=$? | 21040 ac_status=$? |
23927 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21041 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23928 (exit $ac_status); }; } && | 21042 (exit $ac_status); }; } && |
23929 { ac_try='test -s conftest$ac_exeext' | 21043 { ac_try='test -s conftest$ac_exeext' |
23930 { (case "(($ac_try" in | 21044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
23931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 21045 (eval $ac_try) 2>&5 |
23932 *) ac_try_echo=$ac_try;; | |
23933 esac | |
23934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
23935 (eval "$ac_try") 2>&5 | |
23936 ac_status=$? | 21046 ac_status=$? |
23937 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21047 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23938 (exit $ac_status); }; }; then | 21048 (exit $ac_status); }; }; then |
23939 eval "$as_ac_var=yes" | 21049 eval "$as_ac_var=yes" |
23940 else | 21050 else |
23941 echo "$as_me: failed program was:" >&5 | 21051 echo "$as_me: failed program was:" >&5 |
23942 sed 's/^/| /' conftest.$ac_ext >&5 | 21052 sed 's/^/| /' conftest.$ac_ext >&5 |
23943 | 21053 |
23944 eval "$as_ac_var=no" | 21054 eval "$as_ac_var=no" |
23945 fi | 21055 fi |
23946 | 21056 rm -f conftest.err conftest.$ac_objext \ |
23947 rm -f core conftest.err conftest.$ac_objext \ | |
23948 conftest$ac_exeext conftest.$ac_ext | 21057 conftest$ac_exeext conftest.$ac_ext |
23949 fi | 21058 fi |
23950 ac_res=`eval echo '${'$as_ac_var'}'` | 21059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
23951 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 21060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
23952 echo "${ECHO_T}$ac_res" >&6; } | |
23953 if test `eval echo '${'$as_ac_var'}'` = yes; then | 21061 if test `eval echo '${'$as_ac_var'}'` = yes; then |
23954 cat >>confdefs.h <<_ACEOF | 21062 cat >>confdefs.h <<_ACEOF |
23955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 21063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
23956 _ACEOF | 21064 _ACEOF |
23957 | 21065 |
23958 fi | 21066 fi |
23959 done | 21067 done |
23960 | 21068 |
23961 if test $ac_cv_func_gettimeofday = yes; then | 21069 if test $ac_cv_func_gettimeofday = yes; then |
23962 { echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5 | 21070 echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5 |
23963 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6; } | 21071 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6 |
23964 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then | 21072 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then |
23965 echo $ECHO_N "(cached) $ECHO_C" >&6 | 21073 echo $ECHO_N "(cached) $ECHO_C" >&6 |
23966 else | 21074 else |
23967 cat >conftest.$ac_ext <<_ACEOF | 21075 cat >conftest.$ac_ext <<_ACEOF |
23968 /* confdefs.h. */ | 21076 /* confdefs.h. */ |
23989 ; | 21097 ; |
23990 return 0; | 21098 return 0; |
23991 } | 21099 } |
23992 _ACEOF | 21100 _ACEOF |
23993 rm -f conftest.$ac_objext | 21101 rm -f conftest.$ac_objext |
23994 if { (ac_try="$ac_compile" | 21102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
23995 case "(($ac_try" in | 21103 (eval $ac_compile) 2>conftest.er1 |
23996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23997 *) ac_try_echo=$ac_try;; | |
23998 esac | |
23999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24000 (eval "$ac_compile") 2>conftest.er1 | |
24001 ac_status=$? | 21104 ac_status=$? |
24002 grep -v '^ *+' conftest.er1 >conftest.err | 21105 grep -v '^ *+' conftest.er1 >conftest.err |
24003 rm -f conftest.er1 | 21106 rm -f conftest.er1 |
24004 cat conftest.err >&5 | 21107 cat conftest.err >&5 |
24005 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21108 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24006 (exit $ac_status); } && | 21109 (exit $ac_status); } && |
24007 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 21110 { ac_try='test -z "$ac_c_werror_flag" |
24008 { (case "(($ac_try" in | 21111 || test ! -s conftest.err' |
24009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 21112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
24010 *) ac_try_echo=$ac_try;; | 21113 (eval $ac_try) 2>&5 |
24011 esac | |
24012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24013 (eval "$ac_try") 2>&5 | |
24014 ac_status=$? | 21114 ac_status=$? |
24015 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21115 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24016 (exit $ac_status); }; } && | 21116 (exit $ac_status); }; } && |
24017 { ac_try='test -s conftest.$ac_objext' | 21117 { ac_try='test -s conftest.$ac_objext' |
24018 { (case "(($ac_try" in | 21118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
24019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 21119 (eval $ac_try) 2>&5 |
24020 *) ac_try_echo=$ac_try;; | |
24021 esac | |
24022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24023 (eval "$ac_try") 2>&5 | |
24024 ac_status=$? | 21120 ac_status=$? |
24025 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21121 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24026 (exit $ac_status); }; }; then | 21122 (exit $ac_status); }; }; then |
24027 emacs_cv_gettimeofday_two_arguments=yes | 21123 emacs_cv_gettimeofday_two_arguments=yes |
24028 else | 21124 else |
24029 echo "$as_me: failed program was:" >&5 | 21125 echo "$as_me: failed program was:" >&5 |
24030 sed 's/^/| /' conftest.$ac_ext >&5 | 21126 sed 's/^/| /' conftest.$ac_ext >&5 |
24031 | 21127 |
24032 emacs_cv_gettimeofday_two_arguments=no | 21128 emacs_cv_gettimeofday_two_arguments=no |
24033 fi | 21129 fi |
24034 | 21130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
24035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 21131 fi |
24036 fi | 21132 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5 |
24037 { echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5 | 21133 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6 |
24038 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6; } | |
24039 if test $emacs_cv_gettimeofday_two_arguments = no; then | 21134 if test $emacs_cv_gettimeofday_two_arguments = no; then |
24040 | 21135 |
24041 cat >>confdefs.h <<\_ACEOF | 21136 cat >>confdefs.h <<\_ACEOF |
24042 #define GETTIMEOFDAY_ONE_ARGUMENT 1 | 21137 #define GETTIMEOFDAY_ONE_ARGUMENT 1 |
24043 _ACEOF | 21138 _ACEOF |
24045 fi | 21140 fi |
24046 fi | 21141 fi |
24047 fi | 21142 fi |
24048 | 21143 |
24049 ok_so_far=yes | 21144 ok_so_far=yes |
24050 { echo "$as_me:$LINENO: checking for socket" >&5 | 21145 echo "$as_me:$LINENO: checking for socket" >&5 |
24051 echo $ECHO_N "checking for socket... $ECHO_C" >&6; } | 21146 echo $ECHO_N "checking for socket... $ECHO_C" >&6 |
24052 if test "${ac_cv_func_socket+set}" = set; then | 21147 if test "${ac_cv_func_socket+set}" = set; then |
24053 echo $ECHO_N "(cached) $ECHO_C" >&6 | 21148 echo $ECHO_N "(cached) $ECHO_C" >&6 |
24054 else | 21149 else |
24055 cat >conftest.$ac_ext <<_ACEOF | 21150 cat >conftest.$ac_ext <<_ACEOF |
24056 /* confdefs.h. */ | 21151 /* confdefs.h. */ |
24073 # include <assert.h> | 21168 # include <assert.h> |
24074 #endif | 21169 #endif |
24075 | 21170 |
24076 #undef socket | 21171 #undef socket |
24077 | 21172 |
24078 /* Override any GCC internal prototype to avoid an error. | 21173 /* Override any gcc2 internal prototype to avoid an error. */ |
24079 Use char because int might match the return type of a GCC | |
24080 builtin and then its argument prototype would still apply. */ | |
24081 #ifdef __cplusplus | 21174 #ifdef __cplusplus |
24082 extern "C" | 21175 extern "C" |
21176 { | |
24083 #endif | 21177 #endif |
21178 /* We use char because int might match the return type of a gcc2 | |
21179 builtin and then its argument prototype would still apply. */ | |
24084 char socket (); | 21180 char socket (); |
24085 /* The GNU C library defines this for functions which it implements | 21181 /* The GNU C library defines this for functions which it implements |
24086 to always fail with ENOSYS. Some functions are actually named | 21182 to always fail with ENOSYS. Some functions are actually named |
24087 something starting with __ and the normal name is an alias. */ | 21183 something starting with __ and the normal name is an alias. */ |
24088 #if defined __stub_socket || defined __stub___socket | 21184 #if defined (__stub_socket) || defined (__stub___socket) |
24089 choke me | 21185 choke me |
21186 #else | |
21187 char (*f) () = socket; | |
21188 #endif | |
21189 #ifdef __cplusplus | |
21190 } | |
24090 #endif | 21191 #endif |
24091 | 21192 |
24092 int | 21193 int |
24093 main () | 21194 main () |
24094 { | 21195 { |
24095 return socket (); | 21196 return f != socket; |
24096 ; | 21197 ; |
24097 return 0; | 21198 return 0; |
24098 } | 21199 } |
24099 _ACEOF | 21200 _ACEOF |
24100 rm -f conftest.$ac_objext conftest$ac_exeext | 21201 rm -f conftest.$ac_objext conftest$ac_exeext |
24101 if { (ac_try="$ac_link" | 21202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
24102 case "(($ac_try" in | 21203 (eval $ac_link) 2>conftest.er1 |
24103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
24104 *) ac_try_echo=$ac_try;; | |
24105 esac | |
24106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24107 (eval "$ac_link") 2>conftest.er1 | |
24108 ac_status=$? | 21204 ac_status=$? |
24109 grep -v '^ *+' conftest.er1 >conftest.err | 21205 grep -v '^ *+' conftest.er1 >conftest.err |
24110 rm -f conftest.er1 | 21206 rm -f conftest.er1 |
24111 cat conftest.err >&5 | 21207 cat conftest.err >&5 |
24112 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21208 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24113 (exit $ac_status); } && | 21209 (exit $ac_status); } && |
24114 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 21210 { ac_try='test -z "$ac_c_werror_flag" |
24115 { (case "(($ac_try" in | 21211 || test ! -s conftest.err' |
24116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 21212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
24117 *) ac_try_echo=$ac_try;; | 21213 (eval $ac_try) 2>&5 |
24118 esac | |
24119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24120 (eval "$ac_try") 2>&5 | |
24121 ac_status=$? | 21214 ac_status=$? |
24122 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21215 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24123 (exit $ac_status); }; } && | 21216 (exit $ac_status); }; } && |
24124 { ac_try='test -s conftest$ac_exeext' | 21217 { ac_try='test -s conftest$ac_exeext' |
24125 { (case "(($ac_try" in | 21218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
24126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 21219 (eval $ac_try) 2>&5 |
24127 *) ac_try_echo=$ac_try;; | |
24128 esac | |
24129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24130 (eval "$ac_try") 2>&5 | |
24131 ac_status=$? | 21220 ac_status=$? |
24132 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21221 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24133 (exit $ac_status); }; }; then | 21222 (exit $ac_status); }; }; then |
24134 ac_cv_func_socket=yes | 21223 ac_cv_func_socket=yes |
24135 else | 21224 else |
24136 echo "$as_me: failed program was:" >&5 | 21225 echo "$as_me: failed program was:" >&5 |
24137 sed 's/^/| /' conftest.$ac_ext >&5 | 21226 sed 's/^/| /' conftest.$ac_ext >&5 |
24138 | 21227 |
24139 ac_cv_func_socket=no | 21228 ac_cv_func_socket=no |
24140 fi | 21229 fi |
24141 | 21230 rm -f conftest.err conftest.$ac_objext \ |
24142 rm -f core conftest.err conftest.$ac_objext \ | |
24143 conftest$ac_exeext conftest.$ac_ext | 21231 conftest$ac_exeext conftest.$ac_ext |
24144 fi | 21232 fi |
24145 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5 | 21233 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5 |
24146 echo "${ECHO_T}$ac_cv_func_socket" >&6; } | 21234 echo "${ECHO_T}$ac_cv_func_socket" >&6 |
24147 if test $ac_cv_func_socket = yes; then | 21235 if test $ac_cv_func_socket = yes; then |
24148 : | 21236 : |
24149 else | 21237 else |
24150 ok_so_far=no | 21238 ok_so_far=no |
24151 fi | 21239 fi |
24152 | 21240 |
24153 if test $ok_so_far = yes; then | 21241 if test $ok_so_far = yes; then |
24154 if test "${ac_cv_header_netinet_in_h+set}" = set; then | 21242 if test "${ac_cv_header_netinet_in_h+set}" = set; then |
24155 { echo "$as_me:$LINENO: checking for netinet/in.h" >&5 | 21243 echo "$as_me:$LINENO: checking for netinet/in.h" >&5 |
24156 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6; } | 21244 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6 |
24157 if test "${ac_cv_header_netinet_in_h+set}" = set; then | 21245 if test "${ac_cv_header_netinet_in_h+set}" = set; then |
24158 echo $ECHO_N "(cached) $ECHO_C" >&6 | 21246 echo $ECHO_N "(cached) $ECHO_C" >&6 |
24159 fi | 21247 fi |
24160 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 | 21248 echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 |
24161 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6; } | 21249 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6 |
24162 else | 21250 else |
24163 # Is the header compilable? | 21251 # Is the header compilable? |
24164 { echo "$as_me:$LINENO: checking netinet/in.h usability" >&5 | 21252 echo "$as_me:$LINENO: checking netinet/in.h usability" >&5 |
24165 echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6; } | 21253 echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6 |
24166 cat >conftest.$ac_ext <<_ACEOF | 21254 cat >conftest.$ac_ext <<_ACEOF |
24167 /* confdefs.h. */ | 21255 /* confdefs.h. */ |
24168 _ACEOF | 21256 _ACEOF |
24169 cat confdefs.h >>conftest.$ac_ext | 21257 cat confdefs.h >>conftest.$ac_ext |
24170 cat >>conftest.$ac_ext <<_ACEOF | 21258 cat >>conftest.$ac_ext <<_ACEOF |
24171 /* end confdefs.h. */ | 21259 /* end confdefs.h. */ |
24172 $ac_includes_default | 21260 $ac_includes_default |
24173 #include <netinet/in.h> | 21261 #include <netinet/in.h> |
24174 _ACEOF | 21262 _ACEOF |
24175 rm -f conftest.$ac_objext | 21263 rm -f conftest.$ac_objext |
24176 if { (ac_try="$ac_compile" | 21264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
24177 case "(($ac_try" in | 21265 (eval $ac_compile) 2>conftest.er1 |
24178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
24179 *) ac_try_echo=$ac_try;; | |
24180 esac | |
24181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24182 (eval "$ac_compile") 2>conftest.er1 | |
24183 ac_status=$? | 21266 ac_status=$? |
24184 grep -v '^ *+' conftest.er1 >conftest.err | 21267 grep -v '^ *+' conftest.er1 >conftest.err |
24185 rm -f conftest.er1 | 21268 rm -f conftest.er1 |
24186 cat conftest.err >&5 | 21269 cat conftest.err >&5 |
24187 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21270 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24188 (exit $ac_status); } && | 21271 (exit $ac_status); } && |
24189 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 21272 { ac_try='test -z "$ac_c_werror_flag" |
24190 { (case "(($ac_try" in | 21273 || test ! -s conftest.err' |
24191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 21274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
24192 *) ac_try_echo=$ac_try;; | 21275 (eval $ac_try) 2>&5 |
24193 esac | |
24194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24195 (eval "$ac_try") 2>&5 | |
24196 ac_status=$? | 21276 ac_status=$? |
24197 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21277 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24198 (exit $ac_status); }; } && | 21278 (exit $ac_status); }; } && |
24199 { ac_try='test -s conftest.$ac_objext' | 21279 { ac_try='test -s conftest.$ac_objext' |
24200 { (case "(($ac_try" in | 21280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
24201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 21281 (eval $ac_try) 2>&5 |
24202 *) ac_try_echo=$ac_try;; | |
24203 esac | |
24204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24205 (eval "$ac_try") 2>&5 | |
24206 ac_status=$? | 21282 ac_status=$? |
24207 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21283 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24208 (exit $ac_status); }; }; then | 21284 (exit $ac_status); }; }; then |
24209 ac_header_compiler=yes | 21285 ac_header_compiler=yes |
24210 else | 21286 else |
24211 echo "$as_me: failed program was:" >&5 | 21287 echo "$as_me: failed program was:" >&5 |
24212 sed 's/^/| /' conftest.$ac_ext >&5 | 21288 sed 's/^/| /' conftest.$ac_ext >&5 |
24213 | 21289 |
24214 ac_header_compiler=no | 21290 ac_header_compiler=no |
24215 fi | 21291 fi |
24216 | 21292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
24217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 21293 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
24218 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 21294 echo "${ECHO_T}$ac_header_compiler" >&6 |
24219 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
24220 | 21295 |
24221 # Is the header present? | 21296 # Is the header present? |
24222 { echo "$as_me:$LINENO: checking netinet/in.h presence" >&5 | 21297 echo "$as_me:$LINENO: checking netinet/in.h presence" >&5 |
24223 echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6; } | 21298 echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6 |
24224 cat >conftest.$ac_ext <<_ACEOF | 21299 cat >conftest.$ac_ext <<_ACEOF |
24225 /* confdefs.h. */ | 21300 /* confdefs.h. */ |
24226 _ACEOF | 21301 _ACEOF |
24227 cat confdefs.h >>conftest.$ac_ext | 21302 cat confdefs.h >>conftest.$ac_ext |
24228 cat >>conftest.$ac_ext <<_ACEOF | 21303 cat >>conftest.$ac_ext <<_ACEOF |
24229 /* end confdefs.h. */ | 21304 /* end confdefs.h. */ |
24230 #include <netinet/in.h> | 21305 #include <netinet/in.h> |
24231 _ACEOF | 21306 _ACEOF |
24232 if { (ac_try="$ac_cpp conftest.$ac_ext" | 21307 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
24233 case "(($ac_try" in | 21308 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
24234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
24235 *) ac_try_echo=$ac_try;; | |
24236 esac | |
24237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24238 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
24239 ac_status=$? | 21309 ac_status=$? |
24240 grep -v '^ *+' conftest.er1 >conftest.err | 21310 grep -v '^ *+' conftest.er1 >conftest.err |
24241 rm -f conftest.er1 | 21311 rm -f conftest.er1 |
24242 cat conftest.err >&5 | 21312 cat conftest.err >&5 |
24243 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21313 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24257 echo "$as_me: failed program was:" >&5 | 21327 echo "$as_me: failed program was:" >&5 |
24258 sed 's/^/| /' conftest.$ac_ext >&5 | 21328 sed 's/^/| /' conftest.$ac_ext >&5 |
24259 | 21329 |
24260 ac_header_preproc=no | 21330 ac_header_preproc=no |
24261 fi | 21331 fi |
24262 | |
24263 rm -f conftest.err conftest.$ac_ext | 21332 rm -f conftest.err conftest.$ac_ext |
24264 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 21333 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
24265 echo "${ECHO_T}$ac_header_preproc" >&6; } | 21334 echo "${ECHO_T}$ac_header_preproc" >&6 |
24266 | 21335 |
24267 # So? What about this header? | 21336 # So? What about this header? |
24268 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 21337 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
24269 yes:no: ) | 21338 yes:no: ) |
24270 { echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5 | 21339 { echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
24284 echo "$as_me: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&2;} | 21353 echo "$as_me: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&2;} |
24285 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5 | 21354 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5 |
24286 echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;} | 21355 echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;} |
24287 { echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5 | 21356 { echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5 |
24288 echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;} | 21357 echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;} |
24289 | 21358 ( |
21359 cat <<\_ASBOX | |
21360 ## ------------------------------------------ ## | |
21361 ## Report this to the AC_PACKAGE_NAME lists. ## | |
21362 ## ------------------------------------------ ## | |
21363 _ASBOX | |
21364 ) | | |
21365 sed "s/^/$as_me: WARNING: /" >&2 | |
24290 ;; | 21366 ;; |
24291 esac | 21367 esac |
24292 { echo "$as_me:$LINENO: checking for netinet/in.h" >&5 | 21368 echo "$as_me:$LINENO: checking for netinet/in.h" >&5 |
24293 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6; } | 21369 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6 |
24294 if test "${ac_cv_header_netinet_in_h+set}" = set; then | 21370 if test "${ac_cv_header_netinet_in_h+set}" = set; then |
24295 echo $ECHO_N "(cached) $ECHO_C" >&6 | 21371 echo $ECHO_N "(cached) $ECHO_C" >&6 |
24296 else | 21372 else |
24297 ac_cv_header_netinet_in_h=$ac_header_preproc | 21373 ac_cv_header_netinet_in_h=$ac_header_preproc |
24298 fi | 21374 fi |
24299 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 | 21375 echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 |
24300 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6; } | 21376 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6 |
24301 | 21377 |
24302 fi | 21378 fi |
24303 if test $ac_cv_header_netinet_in_h = yes; then | 21379 if test $ac_cv_header_netinet_in_h = yes; then |
24304 : | 21380 : |
24305 else | 21381 else |
24308 | 21384 |
24309 | 21385 |
24310 fi | 21386 fi |
24311 if test $ok_so_far = yes; then | 21387 if test $ok_so_far = yes; then |
24312 if test "${ac_cv_header_arpa_inet_h+set}" = set; then | 21388 if test "${ac_cv_header_arpa_inet_h+set}" = set; then |
24313 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 | 21389 echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 |
24314 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } | 21390 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 |
24315 if test "${ac_cv_header_arpa_inet_h+set}" = set; then | 21391 if test "${ac_cv_header_arpa_inet_h+set}" = set; then |
24316 echo $ECHO_N "(cached) $ECHO_C" >&6 | 21392 echo $ECHO_N "(cached) $ECHO_C" >&6 |
24317 fi | 21393 fi |
24318 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 | 21394 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 |
24319 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } | 21395 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 |
24320 else | 21396 else |
24321 # Is the header compilable? | 21397 # Is the header compilable? |
24322 { echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 | 21398 echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 |
24323 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6; } | 21399 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6 |
24324 cat >conftest.$ac_ext <<_ACEOF | 21400 cat >conftest.$ac_ext <<_ACEOF |
24325 /* confdefs.h. */ | 21401 /* confdefs.h. */ |
24326 _ACEOF | 21402 _ACEOF |
24327 cat confdefs.h >>conftest.$ac_ext | 21403 cat confdefs.h >>conftest.$ac_ext |
24328 cat >>conftest.$ac_ext <<_ACEOF | 21404 cat >>conftest.$ac_ext <<_ACEOF |
24329 /* end confdefs.h. */ | 21405 /* end confdefs.h. */ |
24330 $ac_includes_default | 21406 $ac_includes_default |
24331 #include <arpa/inet.h> | 21407 #include <arpa/inet.h> |
24332 _ACEOF | 21408 _ACEOF |
24333 rm -f conftest.$ac_objext | 21409 rm -f conftest.$ac_objext |
24334 if { (ac_try="$ac_compile" | 21410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
24335 case "(($ac_try" in | 21411 (eval $ac_compile) 2>conftest.er1 |
24336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
24337 *) ac_try_echo=$ac_try;; | |
24338 esac | |
24339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24340 (eval "$ac_compile") 2>conftest.er1 | |
24341 ac_status=$? | 21412 ac_status=$? |
24342 grep -v '^ *+' conftest.er1 >conftest.err | 21413 grep -v '^ *+' conftest.er1 >conftest.err |
24343 rm -f conftest.er1 | 21414 rm -f conftest.er1 |
24344 cat conftest.err >&5 | 21415 cat conftest.err >&5 |
24345 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21416 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24346 (exit $ac_status); } && | 21417 (exit $ac_status); } && |
24347 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 21418 { ac_try='test -z "$ac_c_werror_flag" |
24348 { (case "(($ac_try" in | 21419 || test ! -s conftest.err' |
24349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 21420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
24350 *) ac_try_echo=$ac_try;; | 21421 (eval $ac_try) 2>&5 |
24351 esac | |
24352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24353 (eval "$ac_try") 2>&5 | |
24354 ac_status=$? | 21422 ac_status=$? |
24355 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21423 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24356 (exit $ac_status); }; } && | 21424 (exit $ac_status); }; } && |
24357 { ac_try='test -s conftest.$ac_objext' | 21425 { ac_try='test -s conftest.$ac_objext' |
24358 { (case "(($ac_try" in | 21426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
24359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 21427 (eval $ac_try) 2>&5 |
24360 *) ac_try_echo=$ac_try;; | |
24361 esac | |
24362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24363 (eval "$ac_try") 2>&5 | |
24364 ac_status=$? | 21428 ac_status=$? |
24365 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21429 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24366 (exit $ac_status); }; }; then | 21430 (exit $ac_status); }; }; then |
24367 ac_header_compiler=yes | 21431 ac_header_compiler=yes |
24368 else | 21432 else |
24369 echo "$as_me: failed program was:" >&5 | 21433 echo "$as_me: failed program was:" >&5 |
24370 sed 's/^/| /' conftest.$ac_ext >&5 | 21434 sed 's/^/| /' conftest.$ac_ext >&5 |
24371 | 21435 |
24372 ac_header_compiler=no | 21436 ac_header_compiler=no |
24373 fi | 21437 fi |
24374 | 21438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
24375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 21439 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
24376 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 21440 echo "${ECHO_T}$ac_header_compiler" >&6 |
24377 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
24378 | 21441 |
24379 # Is the header present? | 21442 # Is the header present? |
24380 { echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 | 21443 echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 |
24381 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6; } | 21444 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6 |
24382 cat >conftest.$ac_ext <<_ACEOF | 21445 cat >conftest.$ac_ext <<_ACEOF |
24383 /* confdefs.h. */ | 21446 /* confdefs.h. */ |
24384 _ACEOF | 21447 _ACEOF |
24385 cat confdefs.h >>conftest.$ac_ext | 21448 cat confdefs.h >>conftest.$ac_ext |
24386 cat >>conftest.$ac_ext <<_ACEOF | 21449 cat >>conftest.$ac_ext <<_ACEOF |
24387 /* end confdefs.h. */ | 21450 /* end confdefs.h. */ |
24388 #include <arpa/inet.h> | 21451 #include <arpa/inet.h> |
24389 _ACEOF | 21452 _ACEOF |
24390 if { (ac_try="$ac_cpp conftest.$ac_ext" | 21453 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
24391 case "(($ac_try" in | 21454 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
24392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
24393 *) ac_try_echo=$ac_try;; | |
24394 esac | |
24395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24396 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
24397 ac_status=$? | 21455 ac_status=$? |
24398 grep -v '^ *+' conftest.er1 >conftest.err | 21456 grep -v '^ *+' conftest.er1 >conftest.err |
24399 rm -f conftest.er1 | 21457 rm -f conftest.er1 |
24400 cat conftest.err >&5 | 21458 cat conftest.err >&5 |
24401 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21459 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24415 echo "$as_me: failed program was:" >&5 | 21473 echo "$as_me: failed program was:" >&5 |
24416 sed 's/^/| /' conftest.$ac_ext >&5 | 21474 sed 's/^/| /' conftest.$ac_ext >&5 |
24417 | 21475 |
24418 ac_header_preproc=no | 21476 ac_header_preproc=no |
24419 fi | 21477 fi |
24420 | |
24421 rm -f conftest.err conftest.$ac_ext | 21478 rm -f conftest.err conftest.$ac_ext |
24422 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 21479 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
24423 echo "${ECHO_T}$ac_header_preproc" >&6; } | 21480 echo "${ECHO_T}$ac_header_preproc" >&6 |
24424 | 21481 |
24425 # So? What about this header? | 21482 # So? What about this header? |
24426 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 21483 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
24427 yes:no: ) | 21484 yes:no: ) |
24428 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5 | 21485 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
24442 echo "$as_me: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&2;} | 21499 echo "$as_me: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&2;} |
24443 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 | 21500 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 |
24444 echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;} | 21501 echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;} |
24445 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 | 21502 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 |
24446 echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;} | 21503 echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;} |
24447 | 21504 ( |
21505 cat <<\_ASBOX | |
21506 ## ------------------------------------------ ## | |
21507 ## Report this to the AC_PACKAGE_NAME lists. ## | |
21508 ## ------------------------------------------ ## | |
21509 _ASBOX | |
21510 ) | | |
21511 sed "s/^/$as_me: WARNING: /" >&2 | |
24448 ;; | 21512 ;; |
24449 esac | 21513 esac |
24450 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 | 21514 echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 |
24451 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } | 21515 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 |
24452 if test "${ac_cv_header_arpa_inet_h+set}" = set; then | 21516 if test "${ac_cv_header_arpa_inet_h+set}" = set; then |
24453 echo $ECHO_N "(cached) $ECHO_C" >&6 | 21517 echo $ECHO_N "(cached) $ECHO_C" >&6 |
24454 else | 21518 else |
24455 ac_cv_header_arpa_inet_h=$ac_header_preproc | 21519 ac_cv_header_arpa_inet_h=$ac_header_preproc |
24456 fi | 21520 fi |
24457 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 | 21521 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 |
24458 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } | 21522 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 |
24459 | 21523 |
24460 fi | 21524 fi |
24461 if test $ac_cv_header_arpa_inet_h = yes; then | 21525 if test $ac_cv_header_arpa_inet_h = yes; then |
24462 : | 21526 : |
24463 else | 21527 else |
24476 | 21540 |
24477 | 21541 |
24478 for ac_header in sys/ioctl.h | 21542 for ac_header in sys/ioctl.h |
24479 do | 21543 do |
24480 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 21544 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
24481 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 21545 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
24482 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 21546 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
24483 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 21547 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
24484 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 21548 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
24485 echo $ECHO_N "(cached) $ECHO_C" >&6 | 21549 echo $ECHO_N "(cached) $ECHO_C" >&6 |
24486 fi | 21550 fi |
24487 ac_res=`eval echo '${'$as_ac_Header'}'` | 21551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
24488 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 21552 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
24489 echo "${ECHO_T}$ac_res" >&6; } | |
24490 else | 21553 else |
24491 # Is the header compilable? | 21554 # Is the header compilable? |
24492 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 21555 echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
24493 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | 21556 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
24494 cat >conftest.$ac_ext <<_ACEOF | 21557 cat >conftest.$ac_ext <<_ACEOF |
24495 /* confdefs.h. */ | 21558 /* confdefs.h. */ |
24496 _ACEOF | 21559 _ACEOF |
24497 cat confdefs.h >>conftest.$ac_ext | 21560 cat confdefs.h >>conftest.$ac_ext |
24498 cat >>conftest.$ac_ext <<_ACEOF | 21561 cat >>conftest.$ac_ext <<_ACEOF |
24499 /* end confdefs.h. */ | 21562 /* end confdefs.h. */ |
24500 $ac_includes_default | 21563 $ac_includes_default |
24501 #include <$ac_header> | 21564 #include <$ac_header> |
24502 _ACEOF | 21565 _ACEOF |
24503 rm -f conftest.$ac_objext | 21566 rm -f conftest.$ac_objext |
24504 if { (ac_try="$ac_compile" | 21567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
24505 case "(($ac_try" in | 21568 (eval $ac_compile) 2>conftest.er1 |
24506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
24507 *) ac_try_echo=$ac_try;; | |
24508 esac | |
24509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24510 (eval "$ac_compile") 2>conftest.er1 | |
24511 ac_status=$? | 21569 ac_status=$? |
24512 grep -v '^ *+' conftest.er1 >conftest.err | 21570 grep -v '^ *+' conftest.er1 >conftest.err |
24513 rm -f conftest.er1 | 21571 rm -f conftest.er1 |
24514 cat conftest.err >&5 | 21572 cat conftest.err >&5 |
24515 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21573 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24516 (exit $ac_status); } && | 21574 (exit $ac_status); } && |
24517 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 21575 { ac_try='test -z "$ac_c_werror_flag" |
24518 { (case "(($ac_try" in | 21576 || test ! -s conftest.err' |
24519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 21577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
24520 *) ac_try_echo=$ac_try;; | 21578 (eval $ac_try) 2>&5 |
24521 esac | |
24522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24523 (eval "$ac_try") 2>&5 | |
24524 ac_status=$? | 21579 ac_status=$? |
24525 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21580 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24526 (exit $ac_status); }; } && | 21581 (exit $ac_status); }; } && |
24527 { ac_try='test -s conftest.$ac_objext' | 21582 { ac_try='test -s conftest.$ac_objext' |
24528 { (case "(($ac_try" in | 21583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
24529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 21584 (eval $ac_try) 2>&5 |
24530 *) ac_try_echo=$ac_try;; | |
24531 esac | |
24532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24533 (eval "$ac_try") 2>&5 | |
24534 ac_status=$? | 21585 ac_status=$? |
24535 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21586 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24536 (exit $ac_status); }; }; then | 21587 (exit $ac_status); }; }; then |
24537 ac_header_compiler=yes | 21588 ac_header_compiler=yes |
24538 else | 21589 else |
24539 echo "$as_me: failed program was:" >&5 | 21590 echo "$as_me: failed program was:" >&5 |
24540 sed 's/^/| /' conftest.$ac_ext >&5 | 21591 sed 's/^/| /' conftest.$ac_ext >&5 |
24541 | 21592 |
24542 ac_header_compiler=no | 21593 ac_header_compiler=no |
24543 fi | 21594 fi |
24544 | 21595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
24545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 21596 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
24546 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 21597 echo "${ECHO_T}$ac_header_compiler" >&6 |
24547 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
24548 | 21598 |
24549 # Is the header present? | 21599 # Is the header present? |
24550 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 21600 echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
24551 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | 21601 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
24552 cat >conftest.$ac_ext <<_ACEOF | 21602 cat >conftest.$ac_ext <<_ACEOF |
24553 /* confdefs.h. */ | 21603 /* confdefs.h. */ |
24554 _ACEOF | 21604 _ACEOF |
24555 cat confdefs.h >>conftest.$ac_ext | 21605 cat confdefs.h >>conftest.$ac_ext |
24556 cat >>conftest.$ac_ext <<_ACEOF | 21606 cat >>conftest.$ac_ext <<_ACEOF |
24557 /* end confdefs.h. */ | 21607 /* end confdefs.h. */ |
24558 #include <$ac_header> | 21608 #include <$ac_header> |
24559 _ACEOF | 21609 _ACEOF |
24560 if { (ac_try="$ac_cpp conftest.$ac_ext" | 21610 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
24561 case "(($ac_try" in | 21611 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
24562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
24563 *) ac_try_echo=$ac_try;; | |
24564 esac | |
24565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24566 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
24567 ac_status=$? | 21612 ac_status=$? |
24568 grep -v '^ *+' conftest.er1 >conftest.err | 21613 grep -v '^ *+' conftest.er1 >conftest.err |
24569 rm -f conftest.er1 | 21614 rm -f conftest.er1 |
24570 cat conftest.err >&5 | 21615 cat conftest.err >&5 |
24571 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21616 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24585 echo "$as_me: failed program was:" >&5 | 21630 echo "$as_me: failed program was:" >&5 |
24586 sed 's/^/| /' conftest.$ac_ext >&5 | 21631 sed 's/^/| /' conftest.$ac_ext >&5 |
24587 | 21632 |
24588 ac_header_preproc=no | 21633 ac_header_preproc=no |
24589 fi | 21634 fi |
24590 | |
24591 rm -f conftest.err conftest.$ac_ext | 21635 rm -f conftest.err conftest.$ac_ext |
24592 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 21636 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
24593 echo "${ECHO_T}$ac_header_preproc" >&6; } | 21637 echo "${ECHO_T}$ac_header_preproc" >&6 |
24594 | 21638 |
24595 # So? What about this header? | 21639 # So? What about this header? |
24596 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 21640 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
24597 yes:no: ) | 21641 yes:no: ) |
24598 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 21642 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
24612 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | 21656 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
24613 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 21657 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
24614 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 21658 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
24615 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 21659 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
24616 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 21660 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
24617 | 21661 ( |
21662 cat <<\_ASBOX | |
21663 ## ------------------------------------------ ## | |
21664 ## Report this to the AC_PACKAGE_NAME lists. ## | |
21665 ## ------------------------------------------ ## | |
21666 _ASBOX | |
21667 ) | | |
21668 sed "s/^/$as_me: WARNING: /" >&2 | |
24618 ;; | 21669 ;; |
24619 esac | 21670 esac |
24620 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 21671 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
24621 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 21672 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
24622 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 21673 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
24623 echo $ECHO_N "(cached) $ECHO_C" >&6 | 21674 echo $ECHO_N "(cached) $ECHO_C" >&6 |
24624 else | 21675 else |
24625 eval "$as_ac_Header=\$ac_header_preproc" | 21676 eval "$as_ac_Header=\$ac_header_preproc" |
24626 fi | 21677 fi |
24627 ac_res=`eval echo '${'$as_ac_Header'}'` | 21678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
24628 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 21679 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
24629 echo "${ECHO_T}$ac_res" >&6; } | |
24630 | 21680 |
24631 fi | 21681 fi |
24632 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 21682 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
24633 cat >>confdefs.h <<_ACEOF | 21683 cat >>confdefs.h <<_ACEOF |
24634 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 21684 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
24645 #define HAVE_AIX_SMT_EXP 1 | 21695 #define HAVE_AIX_SMT_EXP 1 |
24646 _ACEOF | 21696 _ACEOF |
24647 | 21697 |
24648 fi | 21698 fi |
24649 | 21699 |
24650 { echo "$as_me:$LINENO: checking whether system supports dynamic ptys" >&5 | 21700 echo "$as_me:$LINENO: checking whether system supports dynamic ptys" >&5 |
24651 echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6; } | 21701 echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6 |
24652 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then | 21702 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then |
24653 { echo "$as_me:$LINENO: result: yes" >&5 | 21703 echo "$as_me:$LINENO: result: yes" >&5 |
24654 echo "${ECHO_T}yes" >&6; } | 21704 echo "${ECHO_T}yes" >&6 |
24655 | 21705 |
24656 cat >>confdefs.h <<\_ACEOF | 21706 cat >>confdefs.h <<\_ACEOF |
24657 #define HAVE_DEV_PTMX 1 | 21707 #define HAVE_DEV_PTMX 1 |
24658 _ACEOF | 21708 _ACEOF |
24659 | 21709 |
24660 else | 21710 else |
24661 { echo "$as_me:$LINENO: result: no" >&5 | 21711 echo "$as_me:$LINENO: result: no" >&5 |
24662 echo "${ECHO_T}no" >&6; } | 21712 echo "${ECHO_T}no" >&6 |
24663 fi | 21713 fi |
24664 | 21714 |
24665 { echo "$as_me:$LINENO: checking for pid_t" >&5 | 21715 echo "$as_me:$LINENO: checking for pid_t" >&5 |
24666 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; } | 21716 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 |
24667 if test "${ac_cv_type_pid_t+set}" = set; then | 21717 if test "${ac_cv_type_pid_t+set}" = set; then |
24668 echo $ECHO_N "(cached) $ECHO_C" >&6 | 21718 echo $ECHO_N "(cached) $ECHO_C" >&6 |
24669 else | 21719 else |
24670 cat >conftest.$ac_ext <<_ACEOF | 21720 cat >conftest.$ac_ext <<_ACEOF |
24671 /* confdefs.h. */ | 21721 /* confdefs.h. */ |
24672 _ACEOF | 21722 _ACEOF |
24673 cat confdefs.h >>conftest.$ac_ext | 21723 cat confdefs.h >>conftest.$ac_ext |
24674 cat >>conftest.$ac_ext <<_ACEOF | 21724 cat >>conftest.$ac_ext <<_ACEOF |
24675 /* end confdefs.h. */ | 21725 /* end confdefs.h. */ |
24676 $ac_includes_default | 21726 $ac_includes_default |
24677 typedef pid_t ac__type_new_; | |
24678 int | 21727 int |
24679 main () | 21728 main () |
24680 { | 21729 { |
24681 if ((ac__type_new_ *) 0) | 21730 if ((pid_t *) 0) |
24682 return 0; | 21731 return 0; |
24683 if (sizeof (ac__type_new_)) | 21732 if (sizeof (pid_t)) |
24684 return 0; | 21733 return 0; |
24685 ; | 21734 ; |
24686 return 0; | 21735 return 0; |
24687 } | 21736 } |
24688 _ACEOF | 21737 _ACEOF |
24689 rm -f conftest.$ac_objext | 21738 rm -f conftest.$ac_objext |
24690 if { (ac_try="$ac_compile" | 21739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
24691 case "(($ac_try" in | 21740 (eval $ac_compile) 2>conftest.er1 |
24692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
24693 *) ac_try_echo=$ac_try;; | |
24694 esac | |
24695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24696 (eval "$ac_compile") 2>conftest.er1 | |
24697 ac_status=$? | 21741 ac_status=$? |
24698 grep -v '^ *+' conftest.er1 >conftest.err | 21742 grep -v '^ *+' conftest.er1 >conftest.err |
24699 rm -f conftest.er1 | 21743 rm -f conftest.er1 |
24700 cat conftest.err >&5 | 21744 cat conftest.err >&5 |
24701 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21745 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24702 (exit $ac_status); } && | 21746 (exit $ac_status); } && |
24703 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 21747 { ac_try='test -z "$ac_c_werror_flag" |
24704 { (case "(($ac_try" in | 21748 || test ! -s conftest.err' |
24705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 21749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
24706 *) ac_try_echo=$ac_try;; | 21750 (eval $ac_try) 2>&5 |
24707 esac | |
24708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24709 (eval "$ac_try") 2>&5 | |
24710 ac_status=$? | 21751 ac_status=$? |
24711 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21752 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24712 (exit $ac_status); }; } && | 21753 (exit $ac_status); }; } && |
24713 { ac_try='test -s conftest.$ac_objext' | 21754 { ac_try='test -s conftest.$ac_objext' |
24714 { (case "(($ac_try" in | 21755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
24715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 21756 (eval $ac_try) 2>&5 |
24716 *) ac_try_echo=$ac_try;; | |
24717 esac | |
24718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24719 (eval "$ac_try") 2>&5 | |
24720 ac_status=$? | 21757 ac_status=$? |
24721 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21758 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24722 (exit $ac_status); }; }; then | 21759 (exit $ac_status); }; }; then |
24723 ac_cv_type_pid_t=yes | 21760 ac_cv_type_pid_t=yes |
24724 else | 21761 else |
24725 echo "$as_me: failed program was:" >&5 | 21762 echo "$as_me: failed program was:" >&5 |
24726 sed 's/^/| /' conftest.$ac_ext >&5 | 21763 sed 's/^/| /' conftest.$ac_ext >&5 |
24727 | 21764 |
24728 ac_cv_type_pid_t=no | 21765 ac_cv_type_pid_t=no |
24729 fi | 21766 fi |
24730 | 21767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
24731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 21768 fi |
24732 fi | 21769 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 |
24733 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 | 21770 echo "${ECHO_T}$ac_cv_type_pid_t" >&6 |
24734 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; } | |
24735 if test $ac_cv_type_pid_t = yes; then | 21771 if test $ac_cv_type_pid_t = yes; then |
24736 : | 21772 : |
24737 else | 21773 else |
24738 | 21774 |
24739 cat >>confdefs.h <<_ACEOF | 21775 cat >>confdefs.h <<_ACEOF |
24741 _ACEOF | 21777 _ACEOF |
24742 | 21778 |
24743 fi | 21779 fi |
24744 | 21780 |
24745 | 21781 |
24746 for ac_header in vfork.h | 21782 |
21783 for ac_header in unistd.h vfork.h | |
24747 do | 21784 do |
24748 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 21785 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
24749 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 21786 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
24750 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 21787 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
24751 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 21788 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
24752 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 21789 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
24753 echo $ECHO_N "(cached) $ECHO_C" >&6 | 21790 echo $ECHO_N "(cached) $ECHO_C" >&6 |
24754 fi | 21791 fi |
24755 ac_res=`eval echo '${'$as_ac_Header'}'` | 21792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
24756 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 21793 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
24757 echo "${ECHO_T}$ac_res" >&6; } | |
24758 else | 21794 else |
24759 # Is the header compilable? | 21795 # Is the header compilable? |
24760 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 21796 echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
24761 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | 21797 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
24762 cat >conftest.$ac_ext <<_ACEOF | 21798 cat >conftest.$ac_ext <<_ACEOF |
24763 /* confdefs.h. */ | 21799 /* confdefs.h. */ |
24764 _ACEOF | 21800 _ACEOF |
24765 cat confdefs.h >>conftest.$ac_ext | 21801 cat confdefs.h >>conftest.$ac_ext |
24766 cat >>conftest.$ac_ext <<_ACEOF | 21802 cat >>conftest.$ac_ext <<_ACEOF |
24767 /* end confdefs.h. */ | 21803 /* end confdefs.h. */ |
24768 $ac_includes_default | 21804 $ac_includes_default |
24769 #include <$ac_header> | 21805 #include <$ac_header> |
24770 _ACEOF | 21806 _ACEOF |
24771 rm -f conftest.$ac_objext | 21807 rm -f conftest.$ac_objext |
24772 if { (ac_try="$ac_compile" | 21808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
24773 case "(($ac_try" in | 21809 (eval $ac_compile) 2>conftest.er1 |
24774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
24775 *) ac_try_echo=$ac_try;; | |
24776 esac | |
24777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24778 (eval "$ac_compile") 2>conftest.er1 | |
24779 ac_status=$? | 21810 ac_status=$? |
24780 grep -v '^ *+' conftest.er1 >conftest.err | 21811 grep -v '^ *+' conftest.er1 >conftest.err |
24781 rm -f conftest.er1 | 21812 rm -f conftest.er1 |
24782 cat conftest.err >&5 | 21813 cat conftest.err >&5 |
24783 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21814 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24784 (exit $ac_status); } && | 21815 (exit $ac_status); } && |
24785 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 21816 { ac_try='test -z "$ac_c_werror_flag" |
24786 { (case "(($ac_try" in | 21817 || test ! -s conftest.err' |
24787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 21818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
24788 *) ac_try_echo=$ac_try;; | 21819 (eval $ac_try) 2>&5 |
24789 esac | |
24790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24791 (eval "$ac_try") 2>&5 | |
24792 ac_status=$? | 21820 ac_status=$? |
24793 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21821 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24794 (exit $ac_status); }; } && | 21822 (exit $ac_status); }; } && |
24795 { ac_try='test -s conftest.$ac_objext' | 21823 { ac_try='test -s conftest.$ac_objext' |
24796 { (case "(($ac_try" in | 21824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
24797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 21825 (eval $ac_try) 2>&5 |
24798 *) ac_try_echo=$ac_try;; | |
24799 esac | |
24800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24801 (eval "$ac_try") 2>&5 | |
24802 ac_status=$? | 21826 ac_status=$? |
24803 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21827 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24804 (exit $ac_status); }; }; then | 21828 (exit $ac_status); }; }; then |
24805 ac_header_compiler=yes | 21829 ac_header_compiler=yes |
24806 else | 21830 else |
24807 echo "$as_me: failed program was:" >&5 | 21831 echo "$as_me: failed program was:" >&5 |
24808 sed 's/^/| /' conftest.$ac_ext >&5 | 21832 sed 's/^/| /' conftest.$ac_ext >&5 |
24809 | 21833 |
24810 ac_header_compiler=no | 21834 ac_header_compiler=no |
24811 fi | 21835 fi |
24812 | 21836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
24813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 21837 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
24814 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 21838 echo "${ECHO_T}$ac_header_compiler" >&6 |
24815 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
24816 | 21839 |
24817 # Is the header present? | 21840 # Is the header present? |
24818 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 21841 echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
24819 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | 21842 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
24820 cat >conftest.$ac_ext <<_ACEOF | 21843 cat >conftest.$ac_ext <<_ACEOF |
24821 /* confdefs.h. */ | 21844 /* confdefs.h. */ |
24822 _ACEOF | 21845 _ACEOF |
24823 cat confdefs.h >>conftest.$ac_ext | 21846 cat confdefs.h >>conftest.$ac_ext |
24824 cat >>conftest.$ac_ext <<_ACEOF | 21847 cat >>conftest.$ac_ext <<_ACEOF |
24825 /* end confdefs.h. */ | 21848 /* end confdefs.h. */ |
24826 #include <$ac_header> | 21849 #include <$ac_header> |
24827 _ACEOF | 21850 _ACEOF |
24828 if { (ac_try="$ac_cpp conftest.$ac_ext" | 21851 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
24829 case "(($ac_try" in | 21852 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
24830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
24831 *) ac_try_echo=$ac_try;; | |
24832 esac | |
24833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24834 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
24835 ac_status=$? | 21853 ac_status=$? |
24836 grep -v '^ *+' conftest.er1 >conftest.err | 21854 grep -v '^ *+' conftest.er1 >conftest.err |
24837 rm -f conftest.er1 | 21855 rm -f conftest.er1 |
24838 cat conftest.err >&5 | 21856 cat conftest.err >&5 |
24839 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21857 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24853 echo "$as_me: failed program was:" >&5 | 21871 echo "$as_me: failed program was:" >&5 |
24854 sed 's/^/| /' conftest.$ac_ext >&5 | 21872 sed 's/^/| /' conftest.$ac_ext >&5 |
24855 | 21873 |
24856 ac_header_preproc=no | 21874 ac_header_preproc=no |
24857 fi | 21875 fi |
24858 | |
24859 rm -f conftest.err conftest.$ac_ext | 21876 rm -f conftest.err conftest.$ac_ext |
24860 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 21877 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
24861 echo "${ECHO_T}$ac_header_preproc" >&6; } | 21878 echo "${ECHO_T}$ac_header_preproc" >&6 |
24862 | 21879 |
24863 # So? What about this header? | 21880 # So? What about this header? |
24864 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 21881 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
24865 yes:no: ) | 21882 yes:no: ) |
24866 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 21883 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
24880 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | 21897 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
24881 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 21898 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
24882 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 21899 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
24883 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 21900 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
24884 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 21901 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
24885 | 21902 ( |
21903 cat <<\_ASBOX | |
21904 ## ------------------------------------------ ## | |
21905 ## Report this to the AC_PACKAGE_NAME lists. ## | |
21906 ## ------------------------------------------ ## | |
21907 _ASBOX | |
21908 ) | | |
21909 sed "s/^/$as_me: WARNING: /" >&2 | |
24886 ;; | 21910 ;; |
24887 esac | 21911 esac |
24888 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 21912 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
24889 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 21913 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
24890 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 21914 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
24891 echo $ECHO_N "(cached) $ECHO_C" >&6 | 21915 echo $ECHO_N "(cached) $ECHO_C" >&6 |
24892 else | 21916 else |
24893 eval "$as_ac_Header=\$ac_header_preproc" | 21917 eval "$as_ac_Header=\$ac_header_preproc" |
24894 fi | 21918 fi |
24895 ac_res=`eval echo '${'$as_ac_Header'}'` | 21919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
24896 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 21920 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
24897 echo "${ECHO_T}$ac_res" >&6; } | |
24898 | 21921 |
24899 fi | 21922 fi |
24900 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 21923 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
24901 cat >>confdefs.h <<_ACEOF | 21924 cat >>confdefs.h <<_ACEOF |
24902 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 21925 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
24909 | 21932 |
24910 | 21933 |
24911 for ac_func in fork vfork | 21934 for ac_func in fork vfork |
24912 do | 21935 do |
24913 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 21936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
24914 { echo "$as_me:$LINENO: checking for $ac_func" >&5 | 21937 echo "$as_me:$LINENO: checking for $ac_func" >&5 |
24915 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 21938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
24916 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 21939 if eval "test \"\${$as_ac_var+set}\" = set"; then |
24917 echo $ECHO_N "(cached) $ECHO_C" >&6 | 21940 echo $ECHO_N "(cached) $ECHO_C" >&6 |
24918 else | 21941 else |
24919 cat >conftest.$ac_ext <<_ACEOF | 21942 cat >conftest.$ac_ext <<_ACEOF |
24920 /* confdefs.h. */ | 21943 /* confdefs.h. */ |
24921 _ACEOF | 21944 _ACEOF |
24937 # include <assert.h> | 21960 # include <assert.h> |
24938 #endif | 21961 #endif |
24939 | 21962 |
24940 #undef $ac_func | 21963 #undef $ac_func |
24941 | 21964 |
24942 /* Override any GCC internal prototype to avoid an error. | 21965 /* Override any gcc2 internal prototype to avoid an error. */ |
24943 Use char because int might match the return type of a GCC | |
24944 builtin and then its argument prototype would still apply. */ | |
24945 #ifdef __cplusplus | 21966 #ifdef __cplusplus |
24946 extern "C" | 21967 extern "C" |
21968 { | |
24947 #endif | 21969 #endif |
21970 /* We use char because int might match the return type of a gcc2 | |
21971 builtin and then its argument prototype would still apply. */ | |
24948 char $ac_func (); | 21972 char $ac_func (); |
24949 /* The GNU C library defines this for functions which it implements | 21973 /* The GNU C library defines this for functions which it implements |
24950 to always fail with ENOSYS. Some functions are actually named | 21974 to always fail with ENOSYS. Some functions are actually named |
24951 something starting with __ and the normal name is an alias. */ | 21975 something starting with __ and the normal name is an alias. */ |
24952 #if defined __stub_$ac_func || defined __stub___$ac_func | 21976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
24953 choke me | 21977 choke me |
21978 #else | |
21979 char (*f) () = $ac_func; | |
21980 #endif | |
21981 #ifdef __cplusplus | |
21982 } | |
24954 #endif | 21983 #endif |
24955 | 21984 |
24956 int | 21985 int |
24957 main () | 21986 main () |
24958 { | 21987 { |
24959 return $ac_func (); | 21988 return f != $ac_func; |
24960 ; | 21989 ; |
24961 return 0; | 21990 return 0; |
24962 } | 21991 } |
24963 _ACEOF | 21992 _ACEOF |
24964 rm -f conftest.$ac_objext conftest$ac_exeext | 21993 rm -f conftest.$ac_objext conftest$ac_exeext |
24965 if { (ac_try="$ac_link" | 21994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
24966 case "(($ac_try" in | 21995 (eval $ac_link) 2>conftest.er1 |
24967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
24968 *) ac_try_echo=$ac_try;; | |
24969 esac | |
24970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24971 (eval "$ac_link") 2>conftest.er1 | |
24972 ac_status=$? | 21996 ac_status=$? |
24973 grep -v '^ *+' conftest.er1 >conftest.err | 21997 grep -v '^ *+' conftest.er1 >conftest.err |
24974 rm -f conftest.er1 | 21998 rm -f conftest.er1 |
24975 cat conftest.err >&5 | 21999 cat conftest.err >&5 |
24976 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22000 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24977 (exit $ac_status); } && | 22001 (exit $ac_status); } && |
24978 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 22002 { ac_try='test -z "$ac_c_werror_flag" |
24979 { (case "(($ac_try" in | 22003 || test ! -s conftest.err' |
24980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 22004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
24981 *) ac_try_echo=$ac_try;; | 22005 (eval $ac_try) 2>&5 |
24982 esac | |
24983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24984 (eval "$ac_try") 2>&5 | |
24985 ac_status=$? | 22006 ac_status=$? |
24986 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22007 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24987 (exit $ac_status); }; } && | 22008 (exit $ac_status); }; } && |
24988 { ac_try='test -s conftest$ac_exeext' | 22009 { ac_try='test -s conftest$ac_exeext' |
24989 { (case "(($ac_try" in | 22010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
24990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 22011 (eval $ac_try) 2>&5 |
24991 *) ac_try_echo=$ac_try;; | |
24992 esac | |
24993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24994 (eval "$ac_try") 2>&5 | |
24995 ac_status=$? | 22012 ac_status=$? |
24996 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22013 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24997 (exit $ac_status); }; }; then | 22014 (exit $ac_status); }; }; then |
24998 eval "$as_ac_var=yes" | 22015 eval "$as_ac_var=yes" |
24999 else | 22016 else |
25000 echo "$as_me: failed program was:" >&5 | 22017 echo "$as_me: failed program was:" >&5 |
25001 sed 's/^/| /' conftest.$ac_ext >&5 | 22018 sed 's/^/| /' conftest.$ac_ext >&5 |
25002 | 22019 |
25003 eval "$as_ac_var=no" | 22020 eval "$as_ac_var=no" |
25004 fi | 22021 fi |
25005 | 22022 rm -f conftest.err conftest.$ac_objext \ |
25006 rm -f core conftest.err conftest.$ac_objext \ | |
25007 conftest$ac_exeext conftest.$ac_ext | 22023 conftest$ac_exeext conftest.$ac_ext |
25008 fi | 22024 fi |
25009 ac_res=`eval echo '${'$as_ac_var'}'` | 22025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
25010 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 22026 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
25011 echo "${ECHO_T}$ac_res" >&6; } | |
25012 if test `eval echo '${'$as_ac_var'}'` = yes; then | 22027 if test `eval echo '${'$as_ac_var'}'` = yes; then |
25013 cat >>confdefs.h <<_ACEOF | 22028 cat >>confdefs.h <<_ACEOF |
25014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 22029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
25015 _ACEOF | 22030 _ACEOF |
25016 | 22031 |
25017 fi | 22032 fi |
25018 done | 22033 done |
25019 | 22034 |
25020 if test "x$ac_cv_func_fork" = xyes; then | 22035 if test "x$ac_cv_func_fork" = xyes; then |
25021 { echo "$as_me:$LINENO: checking for working fork" >&5 | 22036 echo "$as_me:$LINENO: checking for working fork" >&5 |
25022 echo $ECHO_N "checking for working fork... $ECHO_C" >&6; } | 22037 echo $ECHO_N "checking for working fork... $ECHO_C" >&6 |
25023 if test "${ac_cv_func_fork_works+set}" = set; then | 22038 if test "${ac_cv_func_fork_works+set}" = set; then |
25024 echo $ECHO_N "(cached) $ECHO_C" >&6 | 22039 echo $ECHO_N "(cached) $ECHO_C" >&6 |
25025 else | 22040 else |
25026 if test "$cross_compiling" = yes; then | 22041 if test "$cross_compiling" = yes; then |
25027 ac_cv_func_fork_works=cross | 22042 ac_cv_func_fork_works=cross |
25028 else | 22043 else |
25029 cat >conftest.$ac_ext <<_ACEOF | 22044 cat >conftest.$ac_ext <<_ACEOF |
25030 /* confdefs.h. */ | 22045 /* By Ruediger Kuhlmann. */ |
25031 _ACEOF | 22046 #include <sys/types.h> |
25032 cat confdefs.h >>conftest.$ac_ext | 22047 #if HAVE_UNISTD_H |
25033 cat >>conftest.$ac_ext <<_ACEOF | 22048 # include <unistd.h> |
25034 /* end confdefs.h. */ | 22049 #endif |
25035 $ac_includes_default | 22050 /* Some systems only have a dummy stub for fork() */ |
25036 int | 22051 int main () |
25037 main () | 22052 { |
25038 { | 22053 if (fork() < 0) |
25039 | 22054 exit (1); |
25040 /* By Ruediger Kuhlmann. */ | 22055 exit (0); |
25041 return fork () < 0; | 22056 } |
25042 | |
25043 ; | |
25044 return 0; | |
25045 } | |
25046 _ACEOF | 22057 _ACEOF |
25047 rm -f conftest$ac_exeext | 22058 rm -f conftest$ac_exeext |
25048 if { (ac_try="$ac_link" | 22059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
25049 case "(($ac_try" in | 22060 (eval $ac_link) 2>&5 |
25050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
25051 *) ac_try_echo=$ac_try;; | |
25052 esac | |
25053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
25054 (eval "$ac_link") 2>&5 | |
25055 ac_status=$? | 22061 ac_status=$? |
25056 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22062 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
25057 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 22063 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
25058 { (case "(($ac_try" in | 22064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
25059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 22065 (eval $ac_try) 2>&5 |
25060 *) ac_try_echo=$ac_try;; | |
25061 esac | |
25062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
25063 (eval "$ac_try") 2>&5 | |
25064 ac_status=$? | 22066 ac_status=$? |
25065 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22067 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
25066 (exit $ac_status); }; }; then | 22068 (exit $ac_status); }; }; then |
25067 ac_cv_func_fork_works=yes | 22069 ac_cv_func_fork_works=yes |
25068 else | 22070 else |
25071 sed 's/^/| /' conftest.$ac_ext >&5 | 22073 sed 's/^/| /' conftest.$ac_ext >&5 |
25072 | 22074 |
25073 ( exit $ac_status ) | 22075 ( exit $ac_status ) |
25074 ac_cv_func_fork_works=no | 22076 ac_cv_func_fork_works=no |
25075 fi | 22077 fi |
25076 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 22078 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
25077 fi | 22079 fi |
25078 | 22080 fi |
25079 | 22081 echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5 |
25080 fi | 22082 echo "${ECHO_T}$ac_cv_func_fork_works" >&6 |
25081 { echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5 | |
25082 echo "${ECHO_T}$ac_cv_func_fork_works" >&6; } | |
25083 | 22083 |
25084 else | 22084 else |
25085 ac_cv_func_fork_works=$ac_cv_func_fork | 22085 ac_cv_func_fork_works=$ac_cv_func_fork |
25086 fi | 22086 fi |
25087 if test "x$ac_cv_func_fork_works" = xcross; then | 22087 if test "x$ac_cv_func_fork_works" = xcross; then |
25097 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 | 22097 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 |
25098 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} | 22098 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} |
25099 fi | 22099 fi |
25100 ac_cv_func_vfork_works=$ac_cv_func_vfork | 22100 ac_cv_func_vfork_works=$ac_cv_func_vfork |
25101 if test "x$ac_cv_func_vfork" = xyes; then | 22101 if test "x$ac_cv_func_vfork" = xyes; then |
25102 { echo "$as_me:$LINENO: checking for working vfork" >&5 | 22102 echo "$as_me:$LINENO: checking for working vfork" >&5 |
25103 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6; } | 22103 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6 |
25104 if test "${ac_cv_func_vfork_works+set}" = set; then | 22104 if test "${ac_cv_func_vfork_works+set}" = set; then |
25105 echo $ECHO_N "(cached) $ECHO_C" >&6 | 22105 echo $ECHO_N "(cached) $ECHO_C" >&6 |
25106 else | 22106 else |
25107 if test "$cross_compiling" = yes; then | 22107 if test "$cross_compiling" = yes; then |
25108 ac_cv_func_vfork_works=cross | 22108 ac_cv_func_vfork_works=cross |
25112 _ACEOF | 22112 _ACEOF |
25113 cat confdefs.h >>conftest.$ac_ext | 22113 cat confdefs.h >>conftest.$ac_ext |
25114 cat >>conftest.$ac_ext <<_ACEOF | 22114 cat >>conftest.$ac_ext <<_ACEOF |
25115 /* end confdefs.h. */ | 22115 /* end confdefs.h. */ |
25116 /* Thanks to Paul Eggert for this test. */ | 22116 /* Thanks to Paul Eggert for this test. */ |
25117 $ac_includes_default | 22117 #include <stdio.h> |
22118 #include <stdlib.h> | |
22119 #include <sys/types.h> | |
22120 #include <sys/stat.h> | |
25118 #include <sys/wait.h> | 22121 #include <sys/wait.h> |
22122 #if HAVE_UNISTD_H | |
22123 # include <unistd.h> | |
22124 #endif | |
25119 #if HAVE_VFORK_H | 22125 #if HAVE_VFORK_H |
25120 # include <vfork.h> | 22126 # include <vfork.h> |
25121 #endif | 22127 #endif |
25122 /* On some sparc systems, changes by the child to local and incoming | 22128 /* On some sparc systems, changes by the child to local and incoming |
25123 argument registers are propagated back to the parent. The compiler | 22129 argument registers are propagated back to the parent. The compiler |
25185 int status; | 22191 int status; |
25186 struct stat st; | 22192 struct stat st; |
25187 | 22193 |
25188 while (wait(&status) != child) | 22194 while (wait(&status) != child) |
25189 ; | 22195 ; |
25190 return ( | 22196 exit( |
25191 /* Was there some problem with vforking? */ | 22197 /* Was there some problem with vforking? */ |
25192 child < 0 | 22198 child < 0 |
25193 | 22199 |
25194 /* Did the child fail? (This shouldn't happen.) */ | 22200 /* Did the child fail? (This shouldn't happen.) */ |
25195 || status | 22201 || status |
25202 ); | 22208 ); |
25203 } | 22209 } |
25204 } | 22210 } |
25205 _ACEOF | 22211 _ACEOF |
25206 rm -f conftest$ac_exeext | 22212 rm -f conftest$ac_exeext |
25207 if { (ac_try="$ac_link" | 22213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
25208 case "(($ac_try" in | 22214 (eval $ac_link) 2>&5 |
25209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
25210 *) ac_try_echo=$ac_try;; | |
25211 esac | |
25212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
25213 (eval "$ac_link") 2>&5 | |
25214 ac_status=$? | 22215 ac_status=$? |
25215 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22216 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
25216 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 22217 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
25217 { (case "(($ac_try" in | 22218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
25218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 22219 (eval $ac_try) 2>&5 |
25219 *) ac_try_echo=$ac_try;; | |
25220 esac | |
25221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
25222 (eval "$ac_try") 2>&5 | |
25223 ac_status=$? | 22220 ac_status=$? |
25224 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22221 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
25225 (exit $ac_status); }; }; then | 22222 (exit $ac_status); }; }; then |
25226 ac_cv_func_vfork_works=yes | 22223 ac_cv_func_vfork_works=yes |
25227 else | 22224 else |
25230 sed 's/^/| /' conftest.$ac_ext >&5 | 22227 sed 's/^/| /' conftest.$ac_ext >&5 |
25231 | 22228 |
25232 ( exit $ac_status ) | 22229 ( exit $ac_status ) |
25233 ac_cv_func_vfork_works=no | 22230 ac_cv_func_vfork_works=no |
25234 fi | 22231 fi |
25235 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 22232 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
25236 fi | 22233 fi |
25237 | 22234 fi |
25238 | 22235 echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5 |
25239 fi | 22236 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6 |
25240 { echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5 | |
25241 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6; } | |
25242 | 22237 |
25243 fi; | 22238 fi; |
25244 if test "x$ac_cv_func_fork_works" = xcross; then | 22239 if test "x$ac_cv_func_fork_works" = xcross; then |
25245 ac_cv_func_vfork_works=$ac_cv_func_vfork | 22240 ac_cv_func_vfork_works=$ac_cv_func_vfork |
25246 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5 | 22241 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5 |
25267 _ACEOF | 22262 _ACEOF |
25268 | 22263 |
25269 fi | 22264 fi |
25270 | 22265 |
25271 | 22266 |
25272 { echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5 | 22267 echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5 |
25273 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6; } | 22268 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6 |
25274 if test "${emacs_cv_langinfo_codeset+set}" = set; then | 22269 if test "${emacs_cv_langinfo_codeset+set}" = set; then |
25275 echo $ECHO_N "(cached) $ECHO_C" >&6 | 22270 echo $ECHO_N "(cached) $ECHO_C" >&6 |
25276 else | 22271 else |
25277 cat >conftest.$ac_ext <<_ACEOF | 22272 cat >conftest.$ac_ext <<_ACEOF |
25278 /* confdefs.h. */ | 22273 /* confdefs.h. */ |
25288 ; | 22283 ; |
25289 return 0; | 22284 return 0; |
25290 } | 22285 } |
25291 _ACEOF | 22286 _ACEOF |
25292 rm -f conftest.$ac_objext conftest$ac_exeext | 22287 rm -f conftest.$ac_objext conftest$ac_exeext |
25293 if { (ac_try="$ac_link" | 22288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
25294 case "(($ac_try" in | 22289 (eval $ac_link) 2>conftest.er1 |
25295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
25296 *) ac_try_echo=$ac_try;; | |
25297 esac | |
25298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
25299 (eval "$ac_link") 2>conftest.er1 | |
25300 ac_status=$? | 22290 ac_status=$? |
25301 grep -v '^ *+' conftest.er1 >conftest.err | 22291 grep -v '^ *+' conftest.er1 >conftest.err |
25302 rm -f conftest.er1 | 22292 rm -f conftest.er1 |
25303 cat conftest.err >&5 | 22293 cat conftest.err >&5 |
25304 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22294 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
25305 (exit $ac_status); } && | 22295 (exit $ac_status); } && |
25306 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 22296 { ac_try='test -z "$ac_c_werror_flag" |
25307 { (case "(($ac_try" in | 22297 || test ! -s conftest.err' |
25308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 22298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
25309 *) ac_try_echo=$ac_try;; | 22299 (eval $ac_try) 2>&5 |
25310 esac | |
25311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
25312 (eval "$ac_try") 2>&5 | |
25313 ac_status=$? | 22300 ac_status=$? |
25314 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22301 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
25315 (exit $ac_status); }; } && | 22302 (exit $ac_status); }; } && |
25316 { ac_try='test -s conftest$ac_exeext' | 22303 { ac_try='test -s conftest$ac_exeext' |
25317 { (case "(($ac_try" in | 22304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
25318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 22305 (eval $ac_try) 2>&5 |
25319 *) ac_try_echo=$ac_try;; | |
25320 esac | |
25321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
25322 (eval "$ac_try") 2>&5 | |
25323 ac_status=$? | 22306 ac_status=$? |
25324 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22307 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
25325 (exit $ac_status); }; }; then | 22308 (exit $ac_status); }; }; then |
25326 emacs_cv_langinfo_codeset=yes | 22309 emacs_cv_langinfo_codeset=yes |
25327 else | 22310 else |
25328 echo "$as_me: failed program was:" >&5 | 22311 echo "$as_me: failed program was:" >&5 |
25329 sed 's/^/| /' conftest.$ac_ext >&5 | 22312 sed 's/^/| /' conftest.$ac_ext >&5 |
25330 | 22313 |
25331 emacs_cv_langinfo_codeset=no | 22314 emacs_cv_langinfo_codeset=no |
25332 fi | 22315 fi |
25333 | 22316 rm -f conftest.err conftest.$ac_objext \ |
25334 rm -f core conftest.err conftest.$ac_objext \ | |
25335 conftest$ac_exeext conftest.$ac_ext | 22317 conftest$ac_exeext conftest.$ac_ext |
25336 | 22318 |
25337 fi | 22319 fi |
25338 { echo "$as_me:$LINENO: result: $emacs_cv_langinfo_codeset" >&5 | 22320 echo "$as_me:$LINENO: result: $emacs_cv_langinfo_codeset" >&5 |
25339 echo "${ECHO_T}$emacs_cv_langinfo_codeset" >&6; } | 22321 echo "${ECHO_T}$emacs_cv_langinfo_codeset" >&6 |
25340 if test $emacs_cv_langinfo_codeset = yes; then | 22322 if test $emacs_cv_langinfo_codeset = yes; then |
25341 | 22323 |
25342 cat >>confdefs.h <<\_ACEOF | 22324 cat >>confdefs.h <<\_ACEOF |
25343 #define HAVE_LANGINFO_CODESET 1 | 22325 #define HAVE_LANGINFO_CODESET 1 |
25344 _ACEOF | 22326 _ACEOF |
25345 | 22327 |
25346 fi | 22328 fi |
25347 | 22329 |
25348 { echo "$as_me:$LINENO: checking for size_t" >&5 | 22330 echo "$as_me:$LINENO: checking for size_t" >&5 |
25349 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; } | 22331 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 |
25350 if test "${ac_cv_type_size_t+set}" = set; then | 22332 if test "${ac_cv_type_size_t+set}" = set; then |
25351 echo $ECHO_N "(cached) $ECHO_C" >&6 | 22333 echo $ECHO_N "(cached) $ECHO_C" >&6 |
25352 else | 22334 else |
25353 cat >conftest.$ac_ext <<_ACEOF | 22335 cat >conftest.$ac_ext <<_ACEOF |
25354 /* confdefs.h. */ | 22336 /* confdefs.h. */ |
25355 _ACEOF | 22337 _ACEOF |
25356 cat confdefs.h >>conftest.$ac_ext | 22338 cat confdefs.h >>conftest.$ac_ext |
25357 cat >>conftest.$ac_ext <<_ACEOF | 22339 cat >>conftest.$ac_ext <<_ACEOF |
25358 /* end confdefs.h. */ | 22340 /* end confdefs.h. */ |
25359 $ac_includes_default | 22341 $ac_includes_default |
25360 typedef size_t ac__type_new_; | |
25361 int | 22342 int |
25362 main () | 22343 main () |
25363 { | 22344 { |
25364 if ((ac__type_new_ *) 0) | 22345 if ((size_t *) 0) |
25365 return 0; | 22346 return 0; |
25366 if (sizeof (ac__type_new_)) | 22347 if (sizeof (size_t)) |
25367 return 0; | 22348 return 0; |
25368 ; | 22349 ; |
25369 return 0; | 22350 return 0; |
25370 } | 22351 } |
25371 _ACEOF | 22352 _ACEOF |
25372 rm -f conftest.$ac_objext | 22353 rm -f conftest.$ac_objext |
25373 if { (ac_try="$ac_compile" | 22354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
25374 case "(($ac_try" in | 22355 (eval $ac_compile) 2>conftest.er1 |
25375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
25376 *) ac_try_echo=$ac_try;; | |
25377 esac | |
25378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
25379 (eval "$ac_compile") 2>conftest.er1 | |
25380 ac_status=$? | 22356 ac_status=$? |
25381 grep -v '^ *+' conftest.er1 >conftest.err | 22357 grep -v '^ *+' conftest.er1 >conftest.err |
25382 rm -f conftest.er1 | 22358 rm -f conftest.er1 |
25383 cat conftest.err >&5 | 22359 cat conftest.err >&5 |
25384 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22360 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
25385 (exit $ac_status); } && | 22361 (exit $ac_status); } && |
25386 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 22362 { ac_try='test -z "$ac_c_werror_flag" |
25387 { (case "(($ac_try" in | 22363 || test ! -s conftest.err' |
25388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 22364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
25389 *) ac_try_echo=$ac_try;; | 22365 (eval $ac_try) 2>&5 |
25390 esac | |
25391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
25392 (eval "$ac_try") 2>&5 | |
25393 ac_status=$? | 22366 ac_status=$? |
25394 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22367 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
25395 (exit $ac_status); }; } && | 22368 (exit $ac_status); }; } && |
25396 { ac_try='test -s conftest.$ac_objext' | 22369 { ac_try='test -s conftest.$ac_objext' |
25397 { (case "(($ac_try" in | 22370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
25398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 22371 (eval $ac_try) 2>&5 |
25399 *) ac_try_echo=$ac_try;; | |
25400 esac | |
25401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
25402 (eval "$ac_try") 2>&5 | |
25403 ac_status=$? | 22372 ac_status=$? |
25404 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22373 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
25405 (exit $ac_status); }; }; then | 22374 (exit $ac_status); }; }; then |
25406 ac_cv_type_size_t=yes | 22375 ac_cv_type_size_t=yes |
25407 else | 22376 else |
25408 echo "$as_me: failed program was:" >&5 | 22377 echo "$as_me: failed program was:" >&5 |
25409 sed 's/^/| /' conftest.$ac_ext >&5 | 22378 sed 's/^/| /' conftest.$ac_ext >&5 |
25410 | 22379 |
25411 ac_cv_type_size_t=no | 22380 ac_cv_type_size_t=no |
25412 fi | 22381 fi |
25413 | 22382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
25414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 22383 fi |
25415 fi | 22384 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 |
25416 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 | 22385 echo "${ECHO_T}$ac_cv_type_size_t" >&6 |
25417 echo "${ECHO_T}$ac_cv_type_size_t" >&6; } | |
25418 if test $ac_cv_type_size_t = yes; then | 22386 if test $ac_cv_type_size_t = yes; then |
25419 | 22387 |
25420 cat >>confdefs.h <<_ACEOF | 22388 cat >>confdefs.h <<_ACEOF |
25421 #define HAVE_SIZE_T 1 | 22389 #define HAVE_SIZE_T 1 |
25422 _ACEOF | 22390 _ACEOF |
25423 | 22391 |
25424 | 22392 |
25425 fi | 22393 fi |
25426 | 22394 |
25427 | 22395 |
25428 { echo "$as_me:$LINENO: checking for mbstate_t" >&5 | 22396 echo "$as_me:$LINENO: checking for mbstate_t" >&5 |
25429 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; } | 22397 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6 |
25430 if test "${ac_cv_type_mbstate_t+set}" = set; then | 22398 if test "${ac_cv_type_mbstate_t+set}" = set; then |
25431 echo $ECHO_N "(cached) $ECHO_C" >&6 | 22399 echo $ECHO_N "(cached) $ECHO_C" >&6 |
25432 else | 22400 else |
25433 cat >conftest.$ac_ext <<_ACEOF | 22401 cat >conftest.$ac_ext <<_ACEOF |
25434 /* confdefs.h. */ | 22402 /* confdefs.h. */ |
25445 ; | 22413 ; |
25446 return 0; | 22414 return 0; |
25447 } | 22415 } |
25448 _ACEOF | 22416 _ACEOF |
25449 rm -f conftest.$ac_objext | 22417 rm -f conftest.$ac_objext |
25450 if { (ac_try="$ac_compile" | 22418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
25451 case "(($ac_try" in | 22419 (eval $ac_compile) 2>conftest.er1 |
25452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
25453 *) ac_try_echo=$ac_try;; | |
25454 esac | |
25455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
25456 (eval "$ac_compile") 2>conftest.er1 | |
25457 ac_status=$? | 22420 ac_status=$? |
25458 grep -v '^ *+' conftest.er1 >conftest.err | 22421 grep -v '^ *+' conftest.er1 >conftest.err |
25459 rm -f conftest.er1 | 22422 rm -f conftest.er1 |
25460 cat conftest.err >&5 | 22423 cat conftest.err >&5 |
25461 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22424 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
25462 (exit $ac_status); } && | 22425 (exit $ac_status); } && |
25463 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 22426 { ac_try='test -z "$ac_c_werror_flag" |
25464 { (case "(($ac_try" in | 22427 || test ! -s conftest.err' |
25465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 22428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
25466 *) ac_try_echo=$ac_try;; | 22429 (eval $ac_try) 2>&5 |
25467 esac | |
25468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
25469 (eval "$ac_try") 2>&5 | |
25470 ac_status=$? | 22430 ac_status=$? |
25471 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22431 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
25472 (exit $ac_status); }; } && | 22432 (exit $ac_status); }; } && |
25473 { ac_try='test -s conftest.$ac_objext' | 22433 { ac_try='test -s conftest.$ac_objext' |
25474 { (case "(($ac_try" in | 22434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
25475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 22435 (eval $ac_try) 2>&5 |
25476 *) ac_try_echo=$ac_try;; | |
25477 esac | |
25478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
25479 (eval "$ac_try") 2>&5 | |
25480 ac_status=$? | 22436 ac_status=$? |
25481 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22437 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
25482 (exit $ac_status); }; }; then | 22438 (exit $ac_status); }; }; then |
25483 ac_cv_type_mbstate_t=yes | 22439 ac_cv_type_mbstate_t=yes |
25484 else | 22440 else |
25485 echo "$as_me: failed program was:" >&5 | 22441 echo "$as_me: failed program was:" >&5 |
25486 sed 's/^/| /' conftest.$ac_ext >&5 | 22442 sed 's/^/| /' conftest.$ac_ext >&5 |
25487 | 22443 |
25488 ac_cv_type_mbstate_t=no | 22444 ac_cv_type_mbstate_t=no |
25489 fi | 22445 fi |
25490 | 22446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
25491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 22447 fi |
25492 fi | 22448 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5 |
25493 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5 | 22449 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6 |
25494 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; } | |
25495 if test $ac_cv_type_mbstate_t = yes; then | 22450 if test $ac_cv_type_mbstate_t = yes; then |
25496 | 22451 |
25497 cat >>confdefs.h <<\_ACEOF | 22452 cat >>confdefs.h <<\_ACEOF |
25498 #define HAVE_MBSTATE_T 1 | 22453 #define HAVE_MBSTATE_T 1 |
25499 _ACEOF | 22454 _ACEOF |
25504 #define mbstate_t int | 22459 #define mbstate_t int |
25505 _ACEOF | 22460 _ACEOF |
25506 | 22461 |
25507 fi | 22462 fi |
25508 | 22463 |
25509 { echo "$as_me:$LINENO: checking for C restrict keyword" >&5 | 22464 echo "$as_me:$LINENO: checking for C restrict keyword" >&5 |
25510 echo $ECHO_N "checking for C restrict keyword... $ECHO_C" >&6; } | 22465 echo $ECHO_N "checking for C restrict keyword... $ECHO_C" >&6 |
25511 if test "${emacs_cv_c_restrict+set}" = set; then | 22466 if test "${emacs_cv_c_restrict+set}" = set; then |
25512 echo $ECHO_N "(cached) $ECHO_C" >&6 | 22467 echo $ECHO_N "(cached) $ECHO_C" >&6 |
25513 else | 22468 else |
25514 cat >conftest.$ac_ext <<_ACEOF | 22469 cat >conftest.$ac_ext <<_ACEOF |
25515 /* confdefs.h. */ | 22470 /* confdefs.h. */ |
25525 ; | 22480 ; |
25526 return 0; | 22481 return 0; |
25527 } | 22482 } |
25528 _ACEOF | 22483 _ACEOF |
25529 rm -f conftest.$ac_objext | 22484 rm -f conftest.$ac_objext |
25530 if { (ac_try="$ac_compile" | 22485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
25531 case "(($ac_try" in | 22486 (eval $ac_compile) 2>conftest.er1 |
25532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
25533 *) ac_try_echo=$ac_try;; | |
25534 esac | |
25535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
25536 (eval "$ac_compile") 2>conftest.er1 | |
25537 ac_status=$? | 22487 ac_status=$? |
25538 grep -v '^ *+' conftest.er1 >conftest.err | 22488 grep -v '^ *+' conftest.er1 >conftest.err |
25539 rm -f conftest.er1 | 22489 rm -f conftest.er1 |
25540 cat conftest.err >&5 | 22490 cat conftest.err >&5 |
25541 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22491 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
25542 (exit $ac_status); } && | 22492 (exit $ac_status); } && |
25543 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 22493 { ac_try='test -z "$ac_c_werror_flag" |
25544 { (case "(($ac_try" in | 22494 || test ! -s conftest.err' |
25545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 22495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
25546 *) ac_try_echo=$ac_try;; | 22496 (eval $ac_try) 2>&5 |
25547 esac | |
25548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
25549 (eval "$ac_try") 2>&5 | |
25550 ac_status=$? | 22497 ac_status=$? |
25551 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22498 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
25552 (exit $ac_status); }; } && | 22499 (exit $ac_status); }; } && |
25553 { ac_try='test -s conftest.$ac_objext' | 22500 { ac_try='test -s conftest.$ac_objext' |
25554 { (case "(($ac_try" in | 22501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
25555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 22502 (eval $ac_try) 2>&5 |
25556 *) ac_try_echo=$ac_try;; | |
25557 esac | |
25558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
25559 (eval "$ac_try") 2>&5 | |
25560 ac_status=$? | 22503 ac_status=$? |
25561 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22504 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
25562 (exit $ac_status); }; }; then | 22505 (exit $ac_status); }; }; then |
25563 emacs_cv_c_restrict=yes | 22506 emacs_cv_c_restrict=yes |
25564 else | 22507 else |
25565 echo "$as_me: failed program was:" >&5 | 22508 echo "$as_me: failed program was:" >&5 |
25566 sed 's/^/| /' conftest.$ac_ext >&5 | 22509 sed 's/^/| /' conftest.$ac_ext >&5 |
25567 | 22510 |
25568 cat >conftest.$ac_ext <<_ACEOF | 22511 cat >conftest.$ac_ext <<_ACEOF |
25569 /* confdefs.h. */ | 22512 /* confdefs.h. */ |
25570 _ACEOF | 22513 _ACEOF |
25571 cat confdefs.h >>conftest.$ac_ext | 22514 cat confdefs.h >>conftest.$ac_ext |
25572 cat >>conftest.$ac_ext <<_ACEOF | 22515 cat >>conftest.$ac_ext <<_ACEOF |
25573 /* end confdefs.h. */ | 22516 /* end confdefs.h. */ |
25579 ; | 22522 ; |
25580 return 0; | 22523 return 0; |
25581 } | 22524 } |
25582 _ACEOF | 22525 _ACEOF |
25583 rm -f conftest.$ac_objext | 22526 rm -f conftest.$ac_objext |
25584 if { (ac_try="$ac_compile" | 22527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
25585 case "(($ac_try" in | 22528 (eval $ac_compile) 2>conftest.er1 |
25586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
25587 *) ac_try_echo=$ac_try;; | |
25588 esac | |
25589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
25590 (eval "$ac_compile") 2>conftest.er1 | |
25591 ac_status=$? | 22529 ac_status=$? |
25592 grep -v '^ *+' conftest.er1 >conftest.err | 22530 grep -v '^ *+' conftest.er1 >conftest.err |
25593 rm -f conftest.er1 | 22531 rm -f conftest.er1 |
25594 cat conftest.err >&5 | 22532 cat conftest.err >&5 |
25595 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22533 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
25596 (exit $ac_status); } && | 22534 (exit $ac_status); } && |
25597 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 22535 { ac_try='test -z "$ac_c_werror_flag" |
25598 { (case "(($ac_try" in | 22536 || test ! -s conftest.err' |
25599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 22537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
25600 *) ac_try_echo=$ac_try;; | 22538 (eval $ac_try) 2>&5 |
25601 esac | |
25602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
25603 (eval "$ac_try") 2>&5 | |
25604 ac_status=$? | 22539 ac_status=$? |
25605 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22540 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
25606 (exit $ac_status); }; } && | 22541 (exit $ac_status); }; } && |
25607 { ac_try='test -s conftest.$ac_objext' | 22542 { ac_try='test -s conftest.$ac_objext' |
25608 { (case "(($ac_try" in | 22543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
25609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 22544 (eval $ac_try) 2>&5 |
25610 *) ac_try_echo=$ac_try;; | |
25611 esac | |
25612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
25613 (eval "$ac_try") 2>&5 | |
25614 ac_status=$? | 22545 ac_status=$? |
25615 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22546 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
25616 (exit $ac_status); }; }; then | 22547 (exit $ac_status); }; }; then |
25617 emacs_cv_c_restrict=__restrict | 22548 emacs_cv_c_restrict=__restrict |
25618 else | 22549 else |
25619 echo "$as_me: failed program was:" >&5 | 22550 echo "$as_me: failed program was:" >&5 |
25620 sed 's/^/| /' conftest.$ac_ext >&5 | 22551 sed 's/^/| /' conftest.$ac_ext >&5 |
25621 | 22552 |
25622 emacs_cv_c_restrict=no | 22553 emacs_cv_c_restrict=no |
25623 fi | 22554 fi |
25624 | 22555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
25625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 22556 fi |
25626 fi | 22557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
25627 | 22558 fi |
25628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 22559 echo "$as_me:$LINENO: result: $emacs_cv_c_restrict" >&5 |
25629 fi | 22560 echo "${ECHO_T}$emacs_cv_c_restrict" >&6 |
25630 { echo "$as_me:$LINENO: result: $emacs_cv_c_restrict" >&5 | |
25631 echo "${ECHO_T}$emacs_cv_c_restrict" >&6; } | |
25632 case "$emacs_cv_c_restrict" in | 22561 case "$emacs_cv_c_restrict" in |
25633 yes) emacs_restrict=restrict;; | 22562 yes) emacs_restrict=restrict;; |
25634 no) emacs_restrict="";; | 22563 no) emacs_restrict="";; |
25635 *) emacs_restrict="$emacs_cv_c_restrict";; | 22564 *) emacs_restrict="$emacs_cv_c_restrict";; |
25636 esac | 22565 esac |
25640 #define __restrict $emacs_restrict | 22569 #define __restrict $emacs_restrict |
25641 _ACEOF | 22570 _ACEOF |
25642 | 22571 |
25643 fi | 22572 fi |
25644 | 22573 |
25645 { echo "$as_me:$LINENO: checking for C restricted array declarations" >&5 | 22574 echo "$as_me:$LINENO: checking for C restricted array declarations" >&5 |
25646 echo $ECHO_N "checking for C restricted array declarations... $ECHO_C" >&6; } | 22575 echo $ECHO_N "checking for C restricted array declarations... $ECHO_C" >&6 |
25647 if test "${emacs_cv_c_restrict_arr+set}" = set; then | 22576 if test "${emacs_cv_c_restrict_arr+set}" = set; then |
25648 echo $ECHO_N "(cached) $ECHO_C" >&6 | 22577 echo $ECHO_N "(cached) $ECHO_C" >&6 |
25649 else | 22578 else |
25650 cat >conftest.$ac_ext <<_ACEOF | 22579 cat >conftest.$ac_ext <<_ACEOF |
25651 /* confdefs.h. */ | 22580 /* confdefs.h. */ |
25661 ; | 22590 ; |
25662 return 0; | 22591 return 0; |
25663 } | 22592 } |
25664 _ACEOF | 22593 _ACEOF |
25665 rm -f conftest.$ac_objext | 22594 rm -f conftest.$ac_objext |
25666 if { (ac_try="$ac_compile" | 22595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
25667 case "(($ac_try" in | 22596 (eval $ac_compile) 2>conftest.er1 |
25668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
25669 *) ac_try_echo=$ac_try;; | |
25670 esac | |
25671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
25672 (eval "$ac_compile") 2>conftest.er1 | |
25673 ac_status=$? | 22597 ac_status=$? |
25674 grep -v '^ *+' conftest.er1 >conftest.err | 22598 grep -v '^ *+' conftest.er1 >conftest.err |
25675 rm -f conftest.er1 | 22599 rm -f conftest.er1 |
25676 cat conftest.err >&5 | 22600 cat conftest.err >&5 |
25677 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22601 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
25678 (exit $ac_status); } && | 22602 (exit $ac_status); } && |
25679 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 22603 { ac_try='test -z "$ac_c_werror_flag" |
25680 { (case "(($ac_try" in | 22604 || test ! -s conftest.err' |
25681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 22605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
25682 *) ac_try_echo=$ac_try;; | 22606 (eval $ac_try) 2>&5 |
25683 esac | |
25684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
25685 (eval "$ac_try") 2>&5 | |
25686 ac_status=$? | 22607 ac_status=$? |
25687 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22608 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
25688 (exit $ac_status); }; } && | 22609 (exit $ac_status); }; } && |
25689 { ac_try='test -s conftest.$ac_objext' | 22610 { ac_try='test -s conftest.$ac_objext' |
25690 { (case "(($ac_try" in | 22611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
25691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 22612 (eval $ac_try) 2>&5 |
25692 *) ac_try_echo=$ac_try;; | |
25693 esac | |
25694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
25695 (eval "$ac_try") 2>&5 | |
25696 ac_status=$? | 22613 ac_status=$? |
25697 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22614 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
25698 (exit $ac_status); }; }; then | 22615 (exit $ac_status); }; }; then |
25699 emacs_cv_c_restrict_arr=yes | 22616 emacs_cv_c_restrict_arr=yes |
25700 else | 22617 else |
25701 echo "$as_me: failed program was:" >&5 | 22618 echo "$as_me: failed program was:" >&5 |
25702 sed 's/^/| /' conftest.$ac_ext >&5 | 22619 sed 's/^/| /' conftest.$ac_ext >&5 |
25703 | 22620 |
25704 emacs_cv_c_restrict_arr=no | 22621 emacs_cv_c_restrict_arr=no |
25705 fi | 22622 fi |
25706 | 22623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
25707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 22624 fi |
25708 fi | 22625 echo "$as_me:$LINENO: result: $emacs_cv_c_restrict_arr" >&5 |
25709 { echo "$as_me:$LINENO: result: $emacs_cv_c_restrict_arr" >&5 | 22626 echo "${ECHO_T}$emacs_cv_c_restrict_arr" >&6 |
25710 echo "${ECHO_T}$emacs_cv_c_restrict_arr" >&6; } | |
25711 if test "$emacs_cv_c_restrict_arr" = yes; then | 22627 if test "$emacs_cv_c_restrict_arr" = yes; then |
25712 | 22628 |
25713 cat >>confdefs.h <<\_ACEOF | 22629 cat >>confdefs.h <<\_ACEOF |
25714 #define __restrict_arr __restrict | 22630 #define __restrict_arr __restrict |
25715 _ACEOF | 22631 _ACEOF |
25937 CPP_NEED_TRADITIONAL=yes | 22853 CPP_NEED_TRADITIONAL=yes |
25938 fi | 22854 fi |
25939 rm -f conftest* | 22855 rm -f conftest* |
25940 | 22856 |
25941 | 22857 |
25942 ac_config_files="$ac_config_files Makefile lib-src/Makefile.c:lib-src/Makefile.in oldXMenu/Makefile man/Makefile lwlib/Makefile src/Makefile.c:src/Makefile.in lisp/Makefile lispref/Makefile lispintro/Makefile leim/Makefile" | 22858 ac_config_files="$ac_config_files Makefile lib-src/Makefile.c:lib-src/Makefile.in oldXMenu/Makefile man/Makefile lwlib/Makefile src/Makefile.c:src/Makefile.in lisp/Makefile lispref/Makefile lispintro/Makefile leim/Makefile" |
25943 | 22859 ac_config_commands="$ac_config_commands default" |
25944 ac_config_commands="$ac_config_commands default" | |
25945 | |
25946 cat >confcache <<\_ACEOF | 22860 cat >confcache <<\_ACEOF |
25947 # This file is a shell script that caches the results of configure | 22861 # This file is a shell script that caches the results of configure |
25948 # tests run on this system so they can be shared between configure | 22862 # tests run on this system so they can be shared between configure |
25949 # scripts and configure runs, see configure's option --config-cache. | 22863 # scripts and configure runs, see configure's option --config-cache. |
25950 # It is not useful on other systems. If it contains results you don't | 22864 # It is not useful on other systems. If it contains results you don't |
25959 | 22873 |
25960 _ACEOF | 22874 _ACEOF |
25961 | 22875 |
25962 # The following way of writing the cache mishandles newlines in values, | 22876 # The following way of writing the cache mishandles newlines in values, |
25963 # but we know of no workaround that is simple, portable, and efficient. | 22877 # but we know of no workaround that is simple, portable, and efficient. |
25964 # So, we kill variables containing newlines. | 22878 # So, don't put newlines in cache variables' values. |
25965 # Ultrix sh set writes to stderr and can't be redirected directly, | 22879 # Ultrix sh set writes to stderr and can't be redirected directly, |
25966 # and sets the high bit in the cache file unless we assign to the vars. | 22880 # and sets the high bit in the cache file unless we assign to the vars. |
25967 ( | 22881 { |
25968 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do | |
25969 eval ac_val=\$$ac_var | |
25970 case $ac_val in #( | |
25971 *${as_nl}*) | |
25972 case $ac_var in #( | |
25973 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 | |
25974 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; | |
25975 esac | |
25976 case $ac_var in #( | |
25977 _ | IFS | as_nl) ;; #( | |
25978 *) $as_unset $ac_var ;; | |
25979 esac ;; | |
25980 esac | |
25981 done | |
25982 | |
25983 (set) 2>&1 | | 22882 (set) 2>&1 | |
25984 case $as_nl`(ac_space=' '; set) 2>&1` in #( | 22883 case `(ac_space=' '; set | grep ac_space) 2>&1` in |
25985 *${as_nl}ac_space=\ *) | 22884 *ac_space=\ *) |
25986 # `set' does not quote correctly, so add quotes (double-quote | 22885 # `set' does not quote correctly, so add quotes (double-quote |
25987 # substitution turns \\\\ into \\, and sed turns \\ into \). | 22886 # substitution turns \\\\ into \\, and sed turns \\ into \). |
25988 sed -n \ | 22887 sed -n \ |
25989 "s/'/'\\\\''/g; | 22888 "s/'/'\\\\''/g; |
25990 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | 22889 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
25991 ;; #( | 22890 ;; |
25992 *) | 22891 *) |
25993 # `set' quotes correctly as required by POSIX, so do not add quotes. | 22892 # `set' quotes correctly as required by POSIX, so do not add quotes. |
25994 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | 22893 sed -n \ |
22894 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | |
25995 ;; | 22895 ;; |
25996 esac | | 22896 esac; |
25997 sort | 22897 } | |
25998 ) | | |
25999 sed ' | 22898 sed ' |
26000 /^ac_cv_env_/b end | |
26001 t clear | 22899 t clear |
26002 :clear | 22900 : clear |
26003 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | 22901 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
26004 t end | 22902 t end |
26005 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | 22903 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
26006 :end' >>confcache | 22904 : end' >>confcache |
26007 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else | 22905 if diff $cache_file confcache >/dev/null 2>&1; then :; else |
26008 if test -w "$cache_file"; then | 22906 if test -w $cache_file; then |
26009 test "x$cache_file" != "x/dev/null" && | 22907 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
26010 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 | |
26011 echo "$as_me: updating cache $cache_file" >&6;} | |
26012 cat confcache >$cache_file | 22908 cat confcache >$cache_file |
26013 else | 22909 else |
26014 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 | 22910 echo "not updating unwritable cache $cache_file" |
26015 echo "$as_me: not updating unwritable cache $cache_file" >&6;} | |
26016 fi | 22911 fi |
26017 fi | 22912 fi |
26018 rm -f confcache | 22913 rm -f confcache |
26019 | 22914 |
26020 test "x$prefix" = xNONE && prefix=$ac_default_prefix | 22915 test "x$prefix" = xNONE && prefix=$ac_default_prefix |
26021 # Let make expand exec_prefix. | 22916 # Let make expand exec_prefix. |
26022 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | 22917 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
22918 | |
22919 # VPATH may cause trouble with some makes, so we remove $(srcdir), | |
22920 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | |
22921 # trailing colons and then remove the whole line if VPATH becomes empty | |
22922 # (actually we leave an empty line to preserve line numbers). | |
22923 if test "x$srcdir" = x.; then | |
22924 ac_vpsub='/^[ ]*VPATH[ ]*=/{ | |
22925 s/:*\$(srcdir):*/:/; | |
22926 s/:*\${srcdir}:*/:/; | |
22927 s/:*@srcdir@:*/:/; | |
22928 s/^\([^=]*=[ ]*\):*/\1/; | |
22929 s/:*$//; | |
22930 s/^[^=]*=[ ]*$//; | |
22931 }' | |
22932 fi | |
26023 | 22933 |
26024 DEFS=-DHAVE_CONFIG_H | 22934 DEFS=-DHAVE_CONFIG_H |
26025 | 22935 |
26026 ac_libobjs= | 22936 ac_libobjs= |
26027 ac_ltlibobjs= | 22937 ac_ltlibobjs= |
26028 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | 22938 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
26029 # 1. Remove the extension, and $U if already installed. | 22939 # 1. Remove the extension, and $U if already installed. |
26030 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | 22940 ac_i=`echo "$ac_i" | |
26031 ac_i=`echo "$ac_i" | sed "$ac_script"` | 22941 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
26032 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | 22942 # 2. Add them. |
26033 # will be set to the directory where LIBOBJS objects are built. | 22943 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
26034 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" | 22944 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
26035 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' | |
26036 done | 22945 done |
26037 LIBOBJS=$ac_libobjs | 22946 LIBOBJS=$ac_libobjs |
26038 | 22947 |
26039 LTLIBOBJS=$ac_ltlibobjs | 22948 LTLIBOBJS=$ac_ltlibobjs |
26040 | 22949 |
26068 emulate sh | 22977 emulate sh |
26069 NULLCMD=: | 22978 NULLCMD=: |
26070 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | 22979 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
26071 # is contrary to our usage. Disable this feature. | 22980 # is contrary to our usage. Disable this feature. |
26072 alias -g '${1+"$@"}'='"$@"' | 22981 alias -g '${1+"$@"}'='"$@"' |
26073 setopt NO_GLOB_SUBST | 22982 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
26074 else | 22983 set -o posix |
26075 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac | 22984 fi |
26076 fi | |
26077 BIN_SH=xpg4; export BIN_SH # for Tru64 | |
26078 DUALCASE=1; export DUALCASE # for MKS sh | 22985 DUALCASE=1; export DUALCASE # for MKS sh |
26079 | 22986 |
26080 | 22987 # Support unset when possible. |
26081 # PATH needs CR | 22988 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
22989 as_unset=unset | |
22990 else | |
22991 as_unset=false | |
22992 fi | |
22993 | |
22994 | |
22995 # Work around bugs in pre-3.0 UWIN ksh. | |
22996 $as_unset ENV MAIL MAILPATH | |
22997 PS1='$ ' | |
22998 PS2='> ' | |
22999 PS4='+ ' | |
23000 | |
23001 # NLS nuisances. | |
23002 for as_var in \ | |
23003 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | |
23004 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | |
23005 LC_TELEPHONE LC_TIME | |
23006 do | |
23007 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | |
23008 eval $as_var=C; export $as_var | |
23009 else | |
23010 $as_unset $as_var | |
23011 fi | |
23012 done | |
23013 | |
23014 # Required to use basename. | |
23015 if expr a : '\(a\)' >/dev/null 2>&1; then | |
23016 as_expr=expr | |
23017 else | |
23018 as_expr=false | |
23019 fi | |
23020 | |
23021 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then | |
23022 as_basename=basename | |
23023 else | |
23024 as_basename=false | |
23025 fi | |
23026 | |
23027 | |
23028 # Name of the executable. | |
23029 as_me=`$as_basename "$0" || | |
23030 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
23031 X"$0" : 'X\(//\)$' \| \ | |
23032 X"$0" : 'X\(/\)$' \| \ | |
23033 . : '\(.\)' 2>/dev/null || | |
23034 echo X/"$0" | | |
23035 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | |
23036 /^X\/\(\/\/\)$/{ s//\1/; q; } | |
23037 /^X\/\(\/\).*/{ s//\1/; q; } | |
23038 s/.*/./; q'` | |
23039 | |
23040 | |
23041 # PATH needs CR, and LINENO needs CR and PATH. | |
26082 # Avoid depending upon Character Ranges. | 23042 # Avoid depending upon Character Ranges. |
26083 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 23043 as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
26084 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 23044 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
26085 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 23045 as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
26086 as_cr_digits='0123456789' | 23046 as_cr_digits='0123456789' |
26097 PATH_SEPARATOR=: | 23057 PATH_SEPARATOR=: |
26098 fi | 23058 fi |
26099 rm -f conf$$.sh | 23059 rm -f conf$$.sh |
26100 fi | 23060 fi |
26101 | 23061 |
26102 # Support unset when possible. | 23062 |
26103 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | 23063 as_lineno_1=$LINENO |
26104 as_unset=unset | 23064 as_lineno_2=$LINENO |
26105 else | 23065 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
26106 as_unset=false | 23066 test "x$as_lineno_1" != "x$as_lineno_2" && |
26107 fi | 23067 test "x$as_lineno_3" = "x$as_lineno_2" || { |
26108 | 23068 # Find who we are. Look in the path if we contain no path at all |
26109 | 23069 # relative or not. |
26110 # IFS | 23070 case $0 in |
26111 # We need space, tab and new line, in precisely that order. Quoting is | 23071 *[\\/]* ) as_myself=$0 ;; |
26112 # there to prevent editors from complaining about space-tab. | 23072 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
26113 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | |
26114 # splitting by setting IFS to empty value.) | |
26115 as_nl=' | |
26116 ' | |
26117 IFS=" "" $as_nl" | |
26118 | |
26119 # Find who we are. Look in the path if we contain no directory separator. | |
26120 case $0 in | |
26121 *[\\/]* ) as_myself=$0 ;; | |
26122 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
26123 for as_dir in $PATH | 23073 for as_dir in $PATH |
26124 do | 23074 do |
26125 IFS=$as_save_IFS | 23075 IFS=$as_save_IFS |
26126 test -z "$as_dir" && as_dir=. | 23076 test -z "$as_dir" && as_dir=. |
26127 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 23077 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
26128 done | 23078 done |
26129 IFS=$as_save_IFS | 23079 |
26130 | 23080 ;; |
26131 ;; | 23081 esac |
26132 esac | 23082 # We did not find ourselves, most probably we were run as `sh COMMAND' |
26133 # We did not find ourselves, most probably we were run as `sh COMMAND' | 23083 # in which case we are not to be found in the path. |
26134 # in which case we are not to be found in the path. | 23084 if test "x$as_myself" = x; then |
26135 if test "x$as_myself" = x; then | 23085 as_myself=$0 |
26136 as_myself=$0 | 23086 fi |
26137 fi | 23087 if test ! -f "$as_myself"; then |
26138 if test ! -f "$as_myself"; then | 23088 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 |
26139 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | 23089 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} |
26140 { (exit 1); exit 1; } | 23090 { (exit 1); exit 1; }; } |
26141 fi | 23091 fi |
26142 | 23092 case $CONFIG_SHELL in |
26143 # Work around bugs in pre-3.0 UWIN ksh. | 23093 '') |
26144 for as_var in ENV MAIL MAILPATH | 23094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
26145 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | 23095 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
26146 done | |
26147 PS1='$ ' | |
26148 PS2='> ' | |
26149 PS4='+ ' | |
26150 | |
26151 # NLS nuisances. | |
26152 for as_var in \ | |
26153 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | |
26154 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | |
26155 LC_TELEPHONE LC_TIME | |
26156 do | 23096 do |
26157 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | 23097 IFS=$as_save_IFS |
26158 eval $as_var=C; export $as_var | 23098 test -z "$as_dir" && as_dir=. |
26159 else | 23099 for as_base in sh bash ksh sh5; do |
26160 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | 23100 case $as_dir in |
26161 fi | 23101 /*) |
26162 done | 23102 if ("$as_dir/$as_base" -c ' |
26163 | |
26164 # Required to use basename. | |
26165 if expr a : '\(a\)' >/dev/null 2>&1 && | |
26166 test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
26167 as_expr=expr | |
26168 else | |
26169 as_expr=false | |
26170 fi | |
26171 | |
26172 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | |
26173 as_basename=basename | |
26174 else | |
26175 as_basename=false | |
26176 fi | |
26177 | |
26178 | |
26179 # Name of the executable. | |
26180 as_me=`$as_basename -- "$0" || | |
26181 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
26182 X"$0" : 'X\(//\)$' \| \ | |
26183 X"$0" : 'X\(/\)' \| . 2>/dev/null || | |
26184 echo X/"$0" | | |
26185 sed '/^.*\/\([^/][^/]*\)\/*$/{ | |
26186 s//\1/ | |
26187 q | |
26188 } | |
26189 /^X\/\(\/\/\)$/{ | |
26190 s//\1/ | |
26191 q | |
26192 } | |
26193 /^X\/\(\/\).*/{ | |
26194 s//\1/ | |
26195 q | |
26196 } | |
26197 s/.*/./; q'` | |
26198 | |
26199 # CDPATH. | |
26200 $as_unset CDPATH | |
26201 | |
26202 | |
26203 | |
26204 as_lineno_1=$LINENO | 23103 as_lineno_1=$LINENO |
26205 as_lineno_2=$LINENO | 23104 as_lineno_2=$LINENO |
23105 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | |
26206 test "x$as_lineno_1" != "x$as_lineno_2" && | 23106 test "x$as_lineno_1" != "x$as_lineno_2" && |
26207 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { | 23107 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
23108 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } | |
23109 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } | |
23110 CONFIG_SHELL=$as_dir/$as_base | |
23111 export CONFIG_SHELL | |
23112 exec "$CONFIG_SHELL" "$0" ${1+"$@"} | |
23113 fi;; | |
23114 esac | |
23115 done | |
23116 done | |
23117 ;; | |
23118 esac | |
26208 | 23119 |
26209 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | 23120 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
26210 # uniformly replaced by the line number. The first 'sed' inserts a | 23121 # uniformly replaced by the line number. The first 'sed' inserts a |
26211 # line-number line after each line using $LINENO; the second 'sed' | 23122 # line-number line before each line; the second 'sed' does the real |
26212 # does the real work. The second script uses 'N' to pair each | 23123 # work. The second script uses 'N' to pair each line-number line |
26213 # line-number line with the line containing $LINENO, and appends | 23124 # with the numbered line, and appends trailing '-' during |
26214 # trailing '-' during substitution so that $LINENO is not a special | 23125 # substitution so that $LINENO is not a special case at line end. |
26215 # case at line end. | |
26216 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | 23126 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
26217 # scripts with optimization help from Paolo Bonzini. Blame Lee | 23127 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
26218 # E. McMahon (1931-1989) for sed's syntax. :-) | 23128 sed '=' <$as_myself | |
26219 sed -n ' | |
26220 p | |
26221 /[$]LINENO/= | |
26222 ' <$as_myself | | |
26223 sed ' | 23129 sed ' |
26224 s/[$]LINENO.*/&-/ | |
26225 t lineno | |
26226 b | |
26227 :lineno | |
26228 N | 23130 N |
26229 :loop | 23131 s,$,-, |
26230 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | 23132 : loop |
23133 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | |
26231 t loop | 23134 t loop |
26232 s/-\n.*// | 23135 s,-$,, |
23136 s,^['$as_cr_digits']*\n,, | |
26233 ' >$as_me.lineno && | 23137 ' >$as_me.lineno && |
26234 chmod +x "$as_me.lineno" || | 23138 chmod +x $as_me.lineno || |
26235 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | 23139 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 |
23140 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} | |
26236 { (exit 1); exit 1; }; } | 23141 { (exit 1); exit 1; }; } |
26237 | 23142 |
26238 # Don't try to exec as it changes $[0], causing all sort of problems | 23143 # Don't try to exec as it changes $[0], causing all sort of problems |
26239 # (the dirname of $[0] is not the place where we might find the | 23144 # (the dirname of $[0] is not the place where we might find the |
26240 # original and so on. Autoconf is especially sensitive to this). | 23145 # original and so on. Autoconf is especially sensible to this). |
26241 . "./$as_me.lineno" | 23146 . ./$as_me.lineno |
26242 # Exit status is that of the last command. | 23147 # Exit status is that of the last command. |
26243 exit | 23148 exit |
26244 } | 23149 } |
26245 | 23150 |
26246 | 23151 |
26247 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | 23152 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
26248 as_dirname=dirname | 23153 *c*,-n*) ECHO_N= ECHO_C=' |
26249 else | 23154 ' ECHO_T=' ' ;; |
26250 as_dirname=false | 23155 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
26251 fi | 23156 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
26252 | |
26253 ECHO_C= ECHO_N= ECHO_T= | |
26254 case `echo -n x` in | |
26255 -n*) | |
26256 case `echo 'x\c'` in | |
26257 *c*) ECHO_T=' ';; # ECHO_T is single tab character. | |
26258 *) ECHO_C='\c';; | |
26259 esac;; | |
26260 *) | |
26261 ECHO_N='-n';; | |
26262 esac | 23157 esac |
26263 | 23158 |
26264 if expr a : '\(a\)' >/dev/null 2>&1 && | 23159 if expr a : '\(a\)' >/dev/null 2>&1; then |
26265 test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
26266 as_expr=expr | 23160 as_expr=expr |
26267 else | 23161 else |
26268 as_expr=false | 23162 as_expr=false |
26269 fi | 23163 fi |
26270 | 23164 |
26271 rm -f conf$$ conf$$.exe conf$$.file | 23165 rm -f conf$$ conf$$.exe conf$$.file |
26272 if test -d conf$$.dir; then | |
26273 rm -f conf$$.dir/conf$$.file | |
26274 else | |
26275 rm -f conf$$.dir | |
26276 mkdir conf$$.dir | |
26277 fi | |
26278 echo >conf$$.file | 23166 echo >conf$$.file |
26279 if ln -s conf$$.file conf$$ 2>/dev/null; then | 23167 if ln -s conf$$.file conf$$ 2>/dev/null; then |
26280 as_ln_s='ln -s' | 23168 # We could just check for DJGPP; but this test a) works b) is more generic |
26281 # ... but there are two gotchas: | 23169 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
26282 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | 23170 if test -f conf$$.exe; then |
26283 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | 23171 # Don't use ln at all; we don't have any links |
26284 # In both cases, we have to default to `cp -p'. | |
26285 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | |
26286 as_ln_s='cp -p' | 23172 as_ln_s='cp -p' |
23173 else | |
23174 as_ln_s='ln -s' | |
23175 fi | |
26287 elif ln conf$$.file conf$$ 2>/dev/null; then | 23176 elif ln conf$$.file conf$$ 2>/dev/null; then |
26288 as_ln_s=ln | 23177 as_ln_s=ln |
26289 else | 23178 else |
26290 as_ln_s='cp -p' | 23179 as_ln_s='cp -p' |
26291 fi | 23180 fi |
26292 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | 23181 rm -f conf$$ conf$$.exe conf$$.file |
26293 rmdir conf$$.dir 2>/dev/null | |
26294 | 23182 |
26295 if mkdir -p . 2>/dev/null; then | 23183 if mkdir -p . 2>/dev/null; then |
26296 as_mkdir_p=: | 23184 as_mkdir_p=: |
26297 else | 23185 else |
26298 test -d ./-p && rmdir ./-p | 23186 test -d ./-p && rmdir ./-p |
26299 as_mkdir_p=false | 23187 as_mkdir_p=false |
26300 fi | 23188 fi |
26301 | 23189 |
26302 # Find out whether ``test -x'' works. Don't use a zero-byte file, as | 23190 as_executable_p="test -f" |
26303 # systems may use methods other than mode bits to determine executability. | |
26304 cat >conf$$.file <<_ASEOF | |
26305 #! /bin/sh | |
26306 exit 0 | |
26307 _ASEOF | |
26308 chmod +x conf$$.file | |
26309 if test -x conf$$.file >/dev/null 2>&1; then | |
26310 as_executable_p="test -x" | |
26311 else | |
26312 as_executable_p=: | |
26313 fi | |
26314 rm -f conf$$.file | |
26315 | 23191 |
26316 # Sed expression to map a string onto a valid CPP name. | 23192 # Sed expression to map a string onto a valid CPP name. |
26317 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | 23193 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
26318 | 23194 |
26319 # Sed expression to map a string onto a valid variable name. | 23195 # Sed expression to map a string onto a valid variable name. |
26320 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | 23196 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
26321 | 23197 |
26322 | 23198 |
23199 # IFS | |
23200 # We need space, tab and new line, in precisely that order. | |
23201 as_nl=' | |
23202 ' | |
23203 IFS=" $as_nl" | |
23204 | |
23205 # CDPATH. | |
23206 $as_unset CDPATH | |
23207 | |
26323 exec 6>&1 | 23208 exec 6>&1 |
26324 | 23209 |
26325 # Save the log message, to keep $[0] and so on meaningful, and to | 23210 # Open the log real soon, to keep \$[0] and so on meaningful, and to |
26326 # report actual input values of CONFIG_FILES etc. instead of their | 23211 # report actual input values of CONFIG_FILES etc. instead of their |
26327 # values after options handling. | 23212 # values after options handling. Logging --version etc. is OK. |
26328 ac_log=" | 23213 exec 5>>config.log |
23214 { | |
23215 echo | |
23216 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | |
23217 ## Running $as_me. ## | |
23218 _ASBOX | |
23219 } >&5 | |
23220 cat >&5 <<_CSEOF | |
23221 | |
26329 This file was extended by $as_me, which was | 23222 This file was extended by $as_me, which was |
26330 generated by GNU Autoconf 2.60. Invocation command line was | 23223 generated by GNU Autoconf 2.59. Invocation command line was |
26331 | 23224 |
26332 CONFIG_FILES = $CONFIG_FILES | 23225 CONFIG_FILES = $CONFIG_FILES |
26333 CONFIG_HEADERS = $CONFIG_HEADERS | 23226 CONFIG_HEADERS = $CONFIG_HEADERS |
26334 CONFIG_LINKS = $CONFIG_LINKS | 23227 CONFIG_LINKS = $CONFIG_LINKS |
26335 CONFIG_COMMANDS = $CONFIG_COMMANDS | 23228 CONFIG_COMMANDS = $CONFIG_COMMANDS |
26336 $ $0 $@ | 23229 $ $0 $@ |
26337 | 23230 |
26338 on `(hostname || uname -n) 2>/dev/null | sed 1q` | 23231 _CSEOF |
26339 " | 23232 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 |
26340 | 23233 echo >&5 |
26341 _ACEOF | 23234 _ACEOF |
26342 | 23235 |
26343 cat >>$CONFIG_STATUS <<_ACEOF | |
26344 # Files that config.status was made for. | 23236 # Files that config.status was made for. |
26345 config_files="$ac_config_files" | 23237 if test -n "$ac_config_files"; then |
26346 config_headers="$ac_config_headers" | 23238 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS |
26347 config_commands="$ac_config_commands" | 23239 fi |
26348 | 23240 |
26349 _ACEOF | 23241 if test -n "$ac_config_headers"; then |
23242 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS | |
23243 fi | |
23244 | |
23245 if test -n "$ac_config_links"; then | |
23246 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS | |
23247 fi | |
23248 | |
23249 if test -n "$ac_config_commands"; then | |
23250 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS | |
23251 fi | |
26350 | 23252 |
26351 cat >>$CONFIG_STATUS <<\_ACEOF | 23253 cat >>$CONFIG_STATUS <<\_ACEOF |
23254 | |
26352 ac_cs_usage="\ | 23255 ac_cs_usage="\ |
26353 \`$as_me' instantiates files from templates according to the | 23256 \`$as_me' instantiates files from templates according to the |
26354 current configuration. | 23257 current configuration. |
26355 | 23258 |
26356 Usage: $0 [OPTIONS] [FILE]... | 23259 Usage: $0 [OPTIONS] [FILE]... |
26373 | 23276 |
26374 Configuration commands: | 23277 Configuration commands: |
26375 $config_commands | 23278 $config_commands |
26376 | 23279 |
26377 Report bugs to <bug-autoconf@gnu.org>." | 23280 Report bugs to <bug-autoconf@gnu.org>." |
26378 | 23281 _ACEOF |
26379 _ACEOF | 23282 |
26380 cat >>$CONFIG_STATUS <<_ACEOF | 23283 cat >>$CONFIG_STATUS <<_ACEOF |
26381 ac_cs_version="\\ | 23284 ac_cs_version="\\ |
26382 config.status | 23285 config.status |
26383 configured by $0, generated by GNU Autoconf 2.60, | 23286 configured by $0, generated by GNU Autoconf 2.59, |
26384 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" | 23287 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
26385 | 23288 |
26386 Copyright (C) 2006 Free Software Foundation, Inc. | 23289 Copyright (C) 2003 Free Software Foundation, Inc. |
26387 This config.status script is free software; the Free Software Foundation | 23290 This config.status script is free software; the Free Software Foundation |
26388 gives unlimited permission to copy, distribute and modify it." | 23291 gives unlimited permission to copy, distribute and modify it." |
26389 | 23292 srcdir=$srcdir |
26390 ac_pwd='$ac_pwd' | 23293 INSTALL="$INSTALL" |
26391 srcdir='$srcdir' | |
26392 INSTALL='$INSTALL' | |
26393 _ACEOF | 23294 _ACEOF |
26394 | 23295 |
26395 cat >>$CONFIG_STATUS <<\_ACEOF | 23296 cat >>$CONFIG_STATUS <<\_ACEOF |
26396 # If no file are specified by the user, then we need to provide default | 23297 # If no file are specified by the user, then we need to provide default |
26397 # value. By we need to know if files were specified by the user. | 23298 # value. By we need to know if files were specified by the user. |
26398 ac_need_defaults=: | 23299 ac_need_defaults=: |
26399 while test $# != 0 | 23300 while test $# != 0 |
26400 do | 23301 do |
26401 case $1 in | 23302 case $1 in |
26402 --*=*) | 23303 --*=*) |
26403 ac_option=`expr "X$1" : 'X\([^=]*\)='` | 23304 ac_option=`expr "x$1" : 'x\([^=]*\)='` |
26404 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | 23305 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` |
26405 ac_shift=: | 23306 ac_shift=: |
26406 ;; | 23307 ;; |
26407 *) | 23308 -*) |
26408 ac_option=$1 | 23309 ac_option=$1 |
26409 ac_optarg=$2 | 23310 ac_optarg=$2 |
26410 ac_shift=shift | 23311 ac_shift=shift |
26411 ;; | 23312 ;; |
23313 *) # This is not an option, so the user has probably given explicit | |
23314 # arguments. | |
23315 ac_option=$1 | |
23316 ac_need_defaults=false;; | |
26412 esac | 23317 esac |
26413 | 23318 |
26414 case $ac_option in | 23319 case $ac_option in |
26415 # Handling of the options. | 23320 # Handling of the options. |
23321 _ACEOF | |
23322 cat >>$CONFIG_STATUS <<\_ACEOF | |
26416 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | 23323 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
26417 ac_cs_recheck=: ;; | 23324 ac_cs_recheck=: ;; |
26418 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) | 23325 --version | --vers* | -V ) |
26419 echo "$ac_cs_version"; exit ;; | 23326 echo "$ac_cs_version"; exit 0 ;; |
26420 --debug | --debu | --deb | --de | --d | -d ) | 23327 --he | --h) |
23328 # Conflict between --help and --header | |
23329 { { echo "$as_me:$LINENO: error: ambiguous option: $1 | |
23330 Try \`$0 --help' for more information." >&5 | |
23331 echo "$as_me: error: ambiguous option: $1 | |
23332 Try \`$0 --help' for more information." >&2;} | |
23333 { (exit 1); exit 1; }; };; | |
23334 --help | --hel | -h ) | |
23335 echo "$ac_cs_usage"; exit 0 ;; | |
23336 --debug | --d* | -d ) | |
26421 debug=: ;; | 23337 debug=: ;; |
26422 --file | --fil | --fi | --f ) | 23338 --file | --fil | --fi | --f ) |
26423 $ac_shift | 23339 $ac_shift |
26424 CONFIG_FILES="$CONFIG_FILES $ac_optarg" | 23340 CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
26425 ac_need_defaults=false;; | 23341 ac_need_defaults=false;; |
26426 --header | --heade | --head | --hea ) | 23342 --header | --heade | --head | --hea ) |
26427 $ac_shift | 23343 $ac_shift |
26428 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" | 23344 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
26429 ac_need_defaults=false;; | 23345 ac_need_defaults=false;; |
26430 --he | --h) | |
26431 # Conflict between --help and --header | |
26432 { echo "$as_me: error: ambiguous option: $1 | |
26433 Try \`$0 --help' for more information." >&2 | |
26434 { (exit 1); exit 1; }; };; | |
26435 --help | --hel | -h ) | |
26436 echo "$ac_cs_usage"; exit ;; | |
26437 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 23346 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
26438 | -silent | --silent | --silen | --sile | --sil | --si | --s) | 23347 | -silent | --silent | --silen | --sile | --sil | --si | --s) |
26439 ac_cs_silent=: ;; | 23348 ac_cs_silent=: ;; |
26440 | 23349 |
26441 # This is an error. | 23350 # This is an error. |
26442 -*) { echo "$as_me: error: unrecognized option: $1 | 23351 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 |
26443 Try \`$0 --help' for more information." >&2 | 23352 Try \`$0 --help' for more information." >&5 |
23353 echo "$as_me: error: unrecognized option: $1 | |
23354 Try \`$0 --help' for more information." >&2;} | |
26444 { (exit 1); exit 1; }; } ;; | 23355 { (exit 1); exit 1; }; } ;; |
26445 | 23356 |
26446 *) ac_config_targets="$ac_config_targets $1" | 23357 *) ac_config_targets="$ac_config_targets $1" ;; |
26447 ac_need_defaults=false ;; | |
26448 | 23358 |
26449 esac | 23359 esac |
26450 shift | 23360 shift |
26451 done | 23361 done |
26452 | 23362 |
26458 fi | 23368 fi |
26459 | 23369 |
26460 _ACEOF | 23370 _ACEOF |
26461 cat >>$CONFIG_STATUS <<_ACEOF | 23371 cat >>$CONFIG_STATUS <<_ACEOF |
26462 if \$ac_cs_recheck; then | 23372 if \$ac_cs_recheck; then |
26463 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 | 23373 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
26464 CONFIG_SHELL=$SHELL | 23374 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
26465 export CONFIG_SHELL | 23375 fi |
26466 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | 23376 |
26467 fi | 23377 _ACEOF |
26468 | 23378 |
26469 _ACEOF | |
26470 cat >>$CONFIG_STATUS <<\_ACEOF | |
26471 exec 5>>config.log | |
26472 { | |
26473 echo | |
26474 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | |
26475 ## Running $as_me. ## | |
26476 _ASBOX | |
26477 echo "$ac_log" | |
26478 } >&5 | |
26479 | |
26480 _ACEOF | |
26481 cat >>$CONFIG_STATUS <<_ACEOF | 23379 cat >>$CONFIG_STATUS <<_ACEOF |
26482 # | 23380 # |
26483 # INIT-COMMANDS | 23381 # INIT-COMMANDS section. |
26484 # | 23382 # |
23383 | |
26485 GCC="$GCC" NON_GNU_CPP="$NON_GNU_CPP" CPP="$CPP" CPP_NEED_TRADITIONAL="$CPP_NEED_TRADITIONAL" CPPFLAGS="$CPPFLAGS" | 23384 GCC="$GCC" NON_GNU_CPP="$NON_GNU_CPP" CPP="$CPP" CPP_NEED_TRADITIONAL="$CPP_NEED_TRADITIONAL" CPPFLAGS="$CPPFLAGS" |
26486 | 23385 |
26487 _ACEOF | 23386 _ACEOF |
26488 | 23387 |
23388 | |
23389 | |
26489 cat >>$CONFIG_STATUS <<\_ACEOF | 23390 cat >>$CONFIG_STATUS <<\_ACEOF |
26490 | |
26491 # Handling of arguments. | |
26492 for ac_config_target in $ac_config_targets | 23391 for ac_config_target in $ac_config_targets |
26493 do | 23392 do |
26494 case $ac_config_target in | 23393 case "$ac_config_target" in |
26495 "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;; | 23394 # Handling of arguments. |
26496 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; | 23395 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
26497 "lib-src/Makefile.c") CONFIG_FILES="$CONFIG_FILES lib-src/Makefile.c:lib-src/Makefile.in" ;; | 23396 "lib-src/Makefile.c" ) CONFIG_FILES="$CONFIG_FILES lib-src/Makefile.c:lib-src/Makefile.in" ;; |
26498 "oldXMenu/Makefile") CONFIG_FILES="$CONFIG_FILES oldXMenu/Makefile" ;; | 23397 "oldXMenu/Makefile" ) CONFIG_FILES="$CONFIG_FILES oldXMenu/Makefile" ;; |
26499 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; | 23398 "man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; |
26500 "lwlib/Makefile") CONFIG_FILES="$CONFIG_FILES lwlib/Makefile" ;; | 23399 "lwlib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lwlib/Makefile" ;; |
26501 "src/Makefile.c") CONFIG_FILES="$CONFIG_FILES src/Makefile.c:src/Makefile.in" ;; | 23400 "src/Makefile.c" ) CONFIG_FILES="$CONFIG_FILES src/Makefile.c:src/Makefile.in" ;; |
26502 "lisp/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;; | 23401 "lisp/Makefile" ) CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;; |
26503 "lispref/Makefile") CONFIG_FILES="$CONFIG_FILES lispref/Makefile" ;; | 23402 "lispref/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispref/Makefile" ;; |
26504 "lispintro/Makefile") CONFIG_FILES="$CONFIG_FILES lispintro/Makefile" ;; | 23403 "lispintro/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispintro/Makefile" ;; |
26505 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; | 23404 "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; |
26506 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; | 23405 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; |
26507 | 23406 "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;; |
26508 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 | 23407 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
26509 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | 23408 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
26510 { (exit 1); exit 1; }; };; | 23409 { (exit 1); exit 1; }; };; |
26511 esac | 23410 esac |
26512 done | 23411 done |
26513 | |
26514 | 23412 |
26515 # If the user did not use the arguments to specify the items to instantiate, | 23413 # If the user did not use the arguments to specify the items to instantiate, |
26516 # then the envvar interface is used. Set only those that are not. | 23414 # then the envvar interface is used. Set only those that are not. |
26517 # We use the long form for the default assignment because of an extremely | 23415 # We use the long form for the default assignment because of an extremely |
26518 # bizarre bug on SunOS 4.1.3. | 23416 # bizarre bug on SunOS 4.1.3. |
26521 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers | 23419 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
26522 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands | 23420 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
26523 fi | 23421 fi |
26524 | 23422 |
26525 # Have a temporary directory for convenience. Make it in the build tree | 23423 # Have a temporary directory for convenience. Make it in the build tree |
26526 # simply because there is no reason against having it here, and in addition, | 23424 # simply because there is no reason to put it here, and in addition, |
26527 # creating and moving files from /tmp can sometimes cause problems. | 23425 # creating and moving files from /tmp can sometimes cause problems. |
26528 # Hook for its removal unless debugging. | 23426 # Create a temporary directory, and hook for its removal unless debugging. |
26529 # Note that there is a small window in which the directory will not be cleaned: | |
26530 # after its creation but before its name has been assigned to `$tmp'. | |
26531 $debug || | 23427 $debug || |
26532 { | 23428 { |
26533 tmp= | 23429 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 |
26534 trap 'exit_status=$? | |
26535 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status | |
26536 ' 0 | |
26537 trap '{ (exit 1); exit 1; }' 1 2 13 15 | 23430 trap '{ (exit 1); exit 1; }' 1 2 13 15 |
26538 } | 23431 } |
23432 | |
26539 # Create a (secure) tmp directory for tmp files. | 23433 # Create a (secure) tmp directory for tmp files. |
26540 | 23434 |
26541 { | 23435 { |
26542 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && | 23436 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && |
26543 test -n "$tmp" && test -d "$tmp" | 23437 test -n "$tmp" && test -d "$tmp" |
26544 } || | 23438 } || |
26545 { | 23439 { |
26546 tmp=./conf$$-$RANDOM | 23440 tmp=./confstat$$-$RANDOM |
26547 (umask 077 && mkdir "$tmp") | 23441 (umask 077 && mkdir $tmp) |
26548 } || | 23442 } || |
26549 { | 23443 { |
26550 echo "$me: cannot create a temporary directory in ." >&2 | 23444 echo "$me: cannot create a temporary directory in ." >&2 |
26551 { (exit 1); exit 1; } | 23445 { (exit 1); exit 1; } |
26552 } | 23446 } |
26553 | 23447 |
23448 _ACEOF | |
23449 | |
23450 cat >>$CONFIG_STATUS <<_ACEOF | |
23451 | |
26554 # | 23452 # |
26555 # Set up the sed scripts for CONFIG_FILES section. | 23453 # CONFIG_FILES section. |
26556 # | 23454 # |
26557 | 23455 |
26558 # No need to generate the scripts if there are no CONFIG_FILES. | 23456 # No need to generate the scripts if there are no CONFIG_FILES. |
26559 # This happens for instance when ./config.status config.h | 23457 # This happens for instance when ./config.status config.h |
26560 if test -n "$CONFIG_FILES"; then | 23458 if test -n "\$CONFIG_FILES"; then |
26561 | 23459 # Protect against being on the right side of a sed subst in config.status. |
26562 _ACEOF | 23460 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; |
26563 | 23461 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF |
26564 | 23462 s,@SHELL@,$SHELL,;t t |
26565 | 23463 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t |
26566 ac_delim='%!_!# ' | 23464 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t |
26567 for ac_last_try in false false false false false :; do | 23465 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t |
26568 cat >conf$$subs.sed <<_ACEOF | 23466 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t |
26569 SHELL!$SHELL$ac_delim | 23467 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t |
26570 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim | 23468 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t |
26571 PACKAGE_NAME!$PACKAGE_NAME$ac_delim | 23469 s,@exec_prefix@,$exec_prefix,;t t |
26572 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim | 23470 s,@prefix@,$prefix,;t t |
26573 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim | 23471 s,@program_transform_name@,$program_transform_name,;t t |
26574 PACKAGE_STRING!$PACKAGE_STRING$ac_delim | 23472 s,@bindir@,$bindir,;t t |
26575 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim | 23473 s,@sbindir@,$sbindir,;t t |
26576 exec_prefix!$exec_prefix$ac_delim | 23474 s,@libexecdir@,$libexecdir,;t t |
26577 prefix!$prefix$ac_delim | 23475 s,@datadir@,$datadir,;t t |
26578 program_transform_name!$program_transform_name$ac_delim | 23476 s,@sysconfdir@,$sysconfdir,;t t |
26579 bindir!$bindir$ac_delim | 23477 s,@sharedstatedir@,$sharedstatedir,;t t |
26580 sbindir!$sbindir$ac_delim | 23478 s,@localstatedir@,$localstatedir,;t t |
26581 libexecdir!$libexecdir$ac_delim | 23479 s,@libdir@,$libdir,;t t |
26582 datarootdir!$datarootdir$ac_delim | 23480 s,@includedir@,$includedir,;t t |
26583 datadir!$datadir$ac_delim | 23481 s,@oldincludedir@,$oldincludedir,;t t |
26584 sysconfdir!$sysconfdir$ac_delim | 23482 s,@infodir@,$infodir,;t t |
26585 sharedstatedir!$sharedstatedir$ac_delim | 23483 s,@mandir@,$mandir,;t t |
26586 localstatedir!$localstatedir$ac_delim | 23484 s,@build_alias@,$build_alias,;t t |
26587 includedir!$includedir$ac_delim | 23485 s,@host_alias@,$host_alias,;t t |
26588 oldincludedir!$oldincludedir$ac_delim | 23486 s,@target_alias@,$target_alias,;t t |
26589 docdir!$docdir$ac_delim | 23487 s,@DEFS@,$DEFS,;t t |
26590 infodir!$infodir$ac_delim | 23488 s,@ECHO_C@,$ECHO_C,;t t |
26591 htmldir!$htmldir$ac_delim | 23489 s,@ECHO_N@,$ECHO_N,;t t |
26592 dvidir!$dvidir$ac_delim | 23490 s,@ECHO_T@,$ECHO_T,;t t |
26593 pdfdir!$pdfdir$ac_delim | 23491 s,@LIBS@,$LIBS,;t t |
26594 psdir!$psdir$ac_delim | 23492 s,@MAINT@,$MAINT,;t t |
26595 libdir!$libdir$ac_delim | 23493 s,@build@,$build,;t t |
26596 localedir!$localedir$ac_delim | 23494 s,@build_cpu@,$build_cpu,;t t |
26597 mandir!$mandir$ac_delim | 23495 s,@build_vendor@,$build_vendor,;t t |
26598 DEFS!$DEFS$ac_delim | 23496 s,@build_os@,$build_os,;t t |
26599 ECHO_C!$ECHO_C$ac_delim | 23497 s,@host@,$host,;t t |
26600 ECHO_N!$ECHO_N$ac_delim | 23498 s,@host_cpu@,$host_cpu,;t t |
26601 ECHO_T!$ECHO_T$ac_delim | 23499 s,@host_vendor@,$host_vendor,;t t |
26602 LIBS!$LIBS$ac_delim | 23500 s,@host_os@,$host_os,;t t |
26603 build_alias!$build_alias$ac_delim | 23501 s,@CC@,$CC,;t t |
26604 host_alias!$host_alias$ac_delim | 23502 s,@CFLAGS@,$CFLAGS,;t t |
26605 target_alias!$target_alias$ac_delim | 23503 s,@LDFLAGS@,$LDFLAGS,;t t |
26606 MAINT!$MAINT$ac_delim | 23504 s,@CPPFLAGS@,$CPPFLAGS,;t t |
26607 build!$build$ac_delim | 23505 s,@ac_ct_CC@,$ac_ct_CC,;t t |
26608 build_cpu!$build_cpu$ac_delim | 23506 s,@EXEEXT@,$EXEEXT,;t t |
26609 build_vendor!$build_vendor$ac_delim | 23507 s,@OBJEXT@,$OBJEXT,;t t |
26610 build_os!$build_os$ac_delim | 23508 s,@CPP@,$CPP,;t t |
26611 host!$host$ac_delim | 23509 s,@EGREP@,$EGREP,;t t |
26612 host_cpu!$host_cpu$ac_delim | 23510 s,@LN_S@,$LN_S,;t t |
26613 host_vendor!$host_vendor$ac_delim | 23511 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
26614 host_os!$host_os$ac_delim | 23512 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
26615 CC!$CC$ac_delim | 23513 s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
26616 CFLAGS!$CFLAGS$ac_delim | 23514 s,@RANLIB@,$RANLIB,;t t |
26617 LDFLAGS!$LDFLAGS$ac_delim | 23515 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t |
26618 CPPFLAGS!$CPPFLAGS$ac_delim | 23516 s,@INSTALL_INFO@,$INSTALL_INFO,;t t |
26619 ac_ct_CC!$ac_ct_CC$ac_delim | 23517 s,@GZIP_PROG@,$GZIP_PROG,;t t |
26620 EXEEXT!$EXEEXT$ac_delim | 23518 s,@LIBSOUND@,$LIBSOUND,;t t |
26621 OBJEXT!$OBJEXT$ac_delim | 23519 s,@PKG_CONFIG@,$PKG_CONFIG,;t t |
26622 CPP!$CPP$ac_delim | 23520 s,@ALSA_CFLAGS@,$ALSA_CFLAGS,;t t |
26623 GREP!$GREP$ac_delim | 23521 s,@ALSA_LIBS@,$ALSA_LIBS,;t t |
26624 EGREP!$EGREP$ac_delim | 23522 s,@CFLAGS_SOUND@,$CFLAGS_SOUND,;t t |
26625 LN_S!$LN_S$ac_delim | 23523 s,@SET_MAKE@,$SET_MAKE,;t t |
26626 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim | 23524 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t |
26627 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim | 23525 s,@GTK_LIBS@,$GTK_LIBS,;t t |
26628 INSTALL_DATA!$INSTALL_DATA$ac_delim | 23526 s,@ALLOCA@,$ALLOCA,;t t |
26629 RANLIB!$RANLIB$ac_delim | 23527 s,@liblockfile@,$liblockfile,;t t |
26630 INSTALL_INFO!$INSTALL_INFO$ac_delim | 23528 s,@LIBOBJS@,$LIBOBJS,;t t |
26631 GZIP_PROG!$GZIP_PROG$ac_delim | 23529 s,@NEED_SETGID@,$NEED_SETGID,;t t |
26632 LIBSOUND!$LIBSOUND$ac_delim | 23530 s,@KMEM_GROUP@,$KMEM_GROUP,;t t |
26633 PKG_CONFIG!$PKG_CONFIG$ac_delim | 23531 s,@GETLOADAVG_LIBS@,$GETLOADAVG_LIBS,;t t |
26634 ALSA_CFLAGS!$ALSA_CFLAGS$ac_delim | 23532 s,@GETOPT_H@,$GETOPT_H,;t t |
26635 ALSA_LIBS!$ALSA_LIBS$ac_delim | 23533 s,@GETOPTOBJS@,$GETOPTOBJS,;t t |
26636 CFLAGS_SOUND!$CFLAGS_SOUND$ac_delim | 23534 s,@version@,$version,;t t |
26637 SET_MAKE!$SET_MAKE$ac_delim | 23535 s,@configuration@,$configuration,;t t |
26638 XMKMF!$XMKMF$ac_delim | 23536 s,@canonical@,$canonical,;t t |
26639 GTK_CFLAGS!$GTK_CFLAGS$ac_delim | 23537 s,@srcdir@,$srcdir,;t t |
26640 GTK_LIBS!$GTK_LIBS$ac_delim | 23538 s,@lispdir@,$lispdir,;t t |
26641 ALLOCA!$ALLOCA$ac_delim | 23539 s,@locallisppath@,$locallisppath,;t t |
26642 liblockfile!$liblockfile$ac_delim | 23540 s,@lisppath@,$lisppath,;t t |
26643 LIBOBJS!$LIBOBJS$ac_delim | 23541 s,@x_default_search_path@,$x_default_search_path,;t t |
26644 NEED_SETGID!$NEED_SETGID$ac_delim | 23542 s,@etcdir@,$etcdir,;t t |
26645 KMEM_GROUP!$KMEM_GROUP$ac_delim | 23543 s,@archlibdir@,$archlibdir,;t t |
26646 GETLOADAVG_LIBS!$GETLOADAVG_LIBS$ac_delim | 23544 s,@docdir@,$docdir,;t t |
26647 GETOPT_H!$GETOPT_H$ac_delim | 23545 s,@bitmapdir@,$bitmapdir,;t t |
26648 GETOPTOBJS!$GETOPTOBJS$ac_delim | 23546 s,@gamedir@,$gamedir,;t t |
26649 version!$version$ac_delim | 23547 s,@gameuser@,$gameuser,;t t |
26650 configuration!$configuration$ac_delim | 23548 s,@c_switch_system@,$c_switch_system,;t t |
26651 canonical!$canonical$ac_delim | 23549 s,@c_switch_machine@,$c_switch_machine,;t t |
26652 srcdir!$srcdir$ac_delim | 23550 s,@LD_SWITCH_X_SITE@,$LD_SWITCH_X_SITE,;t t |
26653 lispdir!$lispdir$ac_delim | 23551 s,@LD_SWITCH_X_SITE_AUX@,$LD_SWITCH_X_SITE_AUX,;t t |
26654 locallisppath!$locallisppath$ac_delim | 23552 s,@C_SWITCH_X_SITE@,$C_SWITCH_X_SITE,;t t |
26655 lisppath!$lisppath$ac_delim | 23553 s,@X_TOOLKIT_TYPE@,$X_TOOLKIT_TYPE,;t t |
26656 x_default_search_path!$x_default_search_path$ac_delim | 23554 s,@machfile@,$machfile,;t t |
26657 etcdir!$etcdir$ac_delim | 23555 s,@opsysfile@,$opsysfile,;t t |
26658 archlibdir!$archlibdir$ac_delim | 23556 s,@carbon_appdir@,$carbon_appdir,;t t |
26659 bitmapdir!$bitmapdir$ac_delim | 23557 s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
26660 gamedir!$gamedir$ac_delim | 23558 CEOF |
26661 gameuser!$gameuser$ac_delim | 23559 |
26662 c_switch_system!$c_switch_system$ac_delim | 23560 _ACEOF |
26663 c_switch_machine!$c_switch_machine$ac_delim | 23561 |
26664 LD_SWITCH_X_SITE!$LD_SWITCH_X_SITE$ac_delim | 23562 cat >>$CONFIG_STATUS <<\_ACEOF |
26665 LD_SWITCH_X_SITE_AUX!$LD_SWITCH_X_SITE_AUX$ac_delim | 23563 # Split the substitutions into bite-sized pieces for seds with |
26666 _ACEOF | 23564 # small command number limits, like on Digital OSF/1 and HP-UX. |
26667 | 23565 ac_max_sed_lines=48 |
26668 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then | 23566 ac_sed_frag=1 # Number of current file. |
26669 break | 23567 ac_beg=1 # First line for current file. |
26670 elif $ac_last_try; then | 23568 ac_end=$ac_max_sed_lines # Line after last line for current file. |
26671 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | 23569 ac_more_lines=: |
26672 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | 23570 ac_sed_cmds= |
26673 { (exit 1); exit 1; }; } | 23571 while $ac_more_lines; do |
26674 else | 23572 if test $ac_beg -gt 1; then |
26675 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | 23573 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
23574 else | |
23575 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | |
23576 fi | |
23577 if test ! -s $tmp/subs.frag; then | |
23578 ac_more_lines=false | |
23579 else | |
23580 # The purpose of the label and of the branching condition is to | |
23581 # speed up the sed processing (if there are no `@' at all, there | |
23582 # is no need to browse any of the substitutions). | |
23583 # These are the two extra sed commands mentioned above. | |
23584 (echo ':t | |
23585 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed | |
23586 if test -z "$ac_sed_cmds"; then | |
23587 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" | |
23588 else | |
23589 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" | |
23590 fi | |
23591 ac_sed_frag=`expr $ac_sed_frag + 1` | |
23592 ac_beg=$ac_end | |
23593 ac_end=`expr $ac_end + $ac_max_sed_lines` | |
23594 fi | |
23595 done | |
23596 if test -z "$ac_sed_cmds"; then | |
23597 ac_sed_cmds=cat | |
26676 fi | 23598 fi |
26677 done | 23599 fi # test -n "$CONFIG_FILES" |
26678 | 23600 |
26679 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` | 23601 _ACEOF |
26680 if test -n "$ac_eof"; then | |
26681 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` | |
26682 ac_eof=`expr $ac_eof + 1` | |
26683 fi | |
26684 | |
26685 cat >>$CONFIG_STATUS <<_ACEOF | |
26686 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof | |
26687 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | |
26688 _ACEOF | |
26689 sed ' | |
26690 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g | |
26691 s/^/s,@/; s/!/@,|#_!!_#|/ | |
26692 :n | |
26693 t n | |
26694 s/'"$ac_delim"'$/,g/; t | |
26695 s/$/\\/; p | |
26696 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n | |
26697 ' >>$CONFIG_STATUS <conf$$subs.sed | |
26698 rm -f conf$$subs.sed | |
26699 cat >>$CONFIG_STATUS <<_ACEOF | |
26700 CEOF$ac_eof | |
26701 _ACEOF | |
26702 | |
26703 | |
26704 ac_delim='%!_!# ' | |
26705 for ac_last_try in false false false false false :; do | |
26706 cat >conf$$subs.sed <<_ACEOF | |
26707 C_SWITCH_X_SITE!$C_SWITCH_X_SITE$ac_delim | |
26708 X_TOOLKIT_TYPE!$X_TOOLKIT_TYPE$ac_delim | |
26709 machfile!$machfile$ac_delim | |
26710 opsysfile!$opsysfile$ac_delim | |
26711 carbon_appdir!$carbon_appdir$ac_delim | |
26712 LTLIBOBJS!$LTLIBOBJS$ac_delim | |
26713 _ACEOF | |
26714 | |
26715 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 6; then | |
26716 break | |
26717 elif $ac_last_try; then | |
26718 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | |
26719 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | |
26720 { (exit 1); exit 1; }; } | |
26721 else | |
26722 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | |
26723 fi | |
26724 done | |
26725 | |
26726 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` | |
26727 if test -n "$ac_eof"; then | |
26728 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` | |
26729 ac_eof=`expr $ac_eof + 1` | |
26730 fi | |
26731 | |
26732 cat >>$CONFIG_STATUS <<_ACEOF | |
26733 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof | |
26734 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end | |
26735 _ACEOF | |
26736 sed ' | |
26737 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g | |
26738 s/^/s,@/; s/!/@,|#_!!_#|/ | |
26739 :n | |
26740 t n | |
26741 s/'"$ac_delim"'$/,g/; t | |
26742 s/$/\\/; p | |
26743 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n | |
26744 ' >>$CONFIG_STATUS <conf$$subs.sed | |
26745 rm -f conf$$subs.sed | |
26746 cat >>$CONFIG_STATUS <<_ACEOF | |
26747 :end | |
26748 s/|#_!!_#|//g | |
26749 CEOF$ac_eof | |
26750 _ACEOF | |
26751 | |
26752 | |
26753 # VPATH may cause trouble with some makes, so we remove $(srcdir), | |
26754 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | |
26755 # trailing colons and then remove the whole line if VPATH becomes empty | |
26756 # (actually we leave an empty line to preserve line numbers). | |
26757 if test "x$srcdir" = x.; then | |
26758 ac_vpsub='/^[ ]*VPATH[ ]*=/{ | |
26759 s/:*\$(srcdir):*/:/ | |
26760 s/:*\${srcdir}:*/:/ | |
26761 s/:*@srcdir@:*/:/ | |
26762 s/^\([^=]*=[ ]*\):*/\1/ | |
26763 s/:*$// | |
26764 s/^[^=]*=[ ]*$// | |
26765 }' | |
26766 fi | |
26767 | |
26768 cat >>$CONFIG_STATUS <<\_ACEOF | 23602 cat >>$CONFIG_STATUS <<\_ACEOF |
26769 fi # test -n "$CONFIG_FILES" | 23603 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue |
26770 | 23604 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
26771 | 23605 case $ac_file in |
26772 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS | 23606 - | *:- | *:-:* ) # input from stdin |
26773 do | 23607 cat >$tmp/stdin |
26774 case $ac_tag in | 23608 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
26775 :[FHLC]) ac_mode=$ac_tag; continue;; | 23609 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
23610 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | |
23611 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | |
23612 * ) ac_file_in=$ac_file.in ;; | |
26776 esac | 23613 esac |
26777 case $ac_mode$ac_tag in | 23614 |
26778 :[FHL]*:*);; | 23615 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
26779 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 | 23616 ac_dir=`(dirname "$ac_file") 2>/dev/null || |
26780 echo "$as_me: error: Invalid tag $ac_tag." >&2;} | |
26781 { (exit 1); exit 1; }; };; | |
26782 :[FH]-) ac_tag=-:-;; | |
26783 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | |
26784 esac | |
26785 ac_save_IFS=$IFS | |
26786 IFS=: | |
26787 set x $ac_tag | |
26788 IFS=$ac_save_IFS | |
26789 shift | |
26790 ac_file=$1 | |
26791 shift | |
26792 | |
26793 case $ac_mode in | |
26794 :L) ac_source=$1;; | |
26795 :[FH]) | |
26796 ac_file_inputs= | |
26797 for ac_f | |
26798 do | |
26799 case $ac_f in | |
26800 -) ac_f="$tmp/stdin";; | |
26801 *) # Look for the file first in the build tree, then in the source tree | |
26802 # (if the path is not absolute). The absolute path cannot be DOS-style, | |
26803 # because $ac_f cannot contain `:'. | |
26804 test -f "$ac_f" || | |
26805 case $ac_f in | |
26806 [\\/$]*) false;; | |
26807 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | |
26808 esac || | |
26809 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 | |
26810 echo "$as_me: error: cannot find input file: $ac_f" >&2;} | |
26811 { (exit 1); exit 1; }; };; | |
26812 esac | |
26813 ac_file_inputs="$ac_file_inputs $ac_f" | |
26814 done | |
26815 | |
26816 # Let's still pretend it is `configure' which instantiates (i.e., don't | |
26817 # use $as_me), people would be surprised to read: | |
26818 # /* config.h. Generated by config.status. */ | |
26819 configure_input="Generated from "`IFS=: | |
26820 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." | |
26821 if test x"$ac_file" != x-; then | |
26822 configure_input="$ac_file. $configure_input" | |
26823 { echo "$as_me:$LINENO: creating $ac_file" >&5 | |
26824 echo "$as_me: creating $ac_file" >&6;} | |
26825 fi | |
26826 | |
26827 case $ac_tag in | |
26828 *:-:* | *:-) cat >"$tmp/stdin";; | |
26829 esac | |
26830 ;; | |
26831 esac | |
26832 | |
26833 ac_dir=`$as_dirname -- "$ac_file" || | |
26834 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 23617 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
26835 X"$ac_file" : 'X\(//\)[^/]' \| \ | 23618 X"$ac_file" : 'X\(//\)[^/]' \| \ |
26836 X"$ac_file" : 'X\(//\)$' \| \ | 23619 X"$ac_file" : 'X\(//\)$' \| \ |
26837 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || | 23620 X"$ac_file" : 'X\(/\)' \| \ |
23621 . : '\(.\)' 2>/dev/null || | |
26838 echo X"$ac_file" | | 23622 echo X"$ac_file" | |
26839 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | 23623 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
26840 s//\1/ | 23624 /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
26841 q | 23625 /^X\(\/\/\)$/{ s//\1/; q; } |
26842 } | 23626 /^X\(\/\).*/{ s//\1/; q; } |
26843 /^X\(\/\/\)[^/].*/{ | 23627 s/.*/./; q'` |
26844 s//\1/ | 23628 { if $as_mkdir_p; then |
26845 q | 23629 mkdir -p "$ac_dir" |
26846 } | 23630 else |
26847 /^X\(\/\/\)$/{ | 23631 as_dir="$ac_dir" |
26848 s//\1/ | |
26849 q | |
26850 } | |
26851 /^X\(\/\).*/{ | |
26852 s//\1/ | |
26853 q | |
26854 } | |
26855 s/.*/./; q'` | |
26856 { as_dir="$ac_dir" | |
26857 case $as_dir in #( | |
26858 -*) as_dir=./$as_dir;; | |
26859 esac | |
26860 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { | |
26861 as_dirs= | 23632 as_dirs= |
26862 while :; do | 23633 while test ! -d "$as_dir"; do |
26863 case $as_dir in #( | 23634 as_dirs="$as_dir $as_dirs" |
26864 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( | 23635 as_dir=`(dirname "$as_dir") 2>/dev/null || |
26865 *) as_qdir=$as_dir;; | |
26866 esac | |
26867 as_dirs="'$as_qdir' $as_dirs" | |
26868 as_dir=`$as_dirname -- "$as_dir" || | |
26869 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 23636 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
26870 X"$as_dir" : 'X\(//\)[^/]' \| \ | 23637 X"$as_dir" : 'X\(//\)[^/]' \| \ |
26871 X"$as_dir" : 'X\(//\)$' \| \ | 23638 X"$as_dir" : 'X\(//\)$' \| \ |
26872 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | 23639 X"$as_dir" : 'X\(/\)' \| \ |
23640 . : '\(.\)' 2>/dev/null || | |
26873 echo X"$as_dir" | | 23641 echo X"$as_dir" | |
26874 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | 23642 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
26875 s//\1/ | 23643 /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
26876 q | 23644 /^X\(\/\/\)$/{ s//\1/; q; } |
26877 } | 23645 /^X\(\/\).*/{ s//\1/; q; } |
26878 /^X\(\/\/\)[^/].*/{ | 23646 s/.*/./; q'` |
26879 s//\1/ | |
26880 q | |
26881 } | |
26882 /^X\(\/\/\)$/{ | |
26883 s//\1/ | |
26884 q | |
26885 } | |
26886 /^X\(\/\).*/{ | |
26887 s//\1/ | |
26888 q | |
26889 } | |
26890 s/.*/./; q'` | |
26891 test -d "$as_dir" && break | |
26892 done | 23647 done |
26893 test -z "$as_dirs" || eval "mkdir $as_dirs" | 23648 test ! -n "$as_dirs" || mkdir $as_dirs |
26894 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 | 23649 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
26895 echo "$as_me: error: cannot create directory $as_dir" >&2;} | 23650 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
26896 { (exit 1); exit 1; }; }; } | 23651 { (exit 1); exit 1; }; }; } |
23652 | |
26897 ac_builddir=. | 23653 ac_builddir=. |
26898 | 23654 |
26899 case "$ac_dir" in | 23655 if test "$ac_dir" != .; then |
26900 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | 23656 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
23657 # A "../" for each directory in $ac_dir_suffix. | |
23658 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | |
23659 else | |
23660 ac_dir_suffix= ac_top_builddir= | |
23661 fi | |
23662 | |
23663 case $srcdir in | |
23664 .) # No --srcdir option. We are building in place. | |
23665 ac_srcdir=. | |
23666 if test -z "$ac_top_builddir"; then | |
23667 ac_top_srcdir=. | |
23668 else | |
23669 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | |
23670 fi ;; | |
23671 [\\/]* | ?:[\\/]* ) # Absolute path. | |
23672 ac_srcdir=$srcdir$ac_dir_suffix; | |
23673 ac_top_srcdir=$srcdir ;; | |
23674 *) # Relative path. | |
23675 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | |
23676 ac_top_srcdir=$ac_top_builddir$srcdir ;; | |
23677 esac | |
23678 | |
23679 # Do not use `cd foo && pwd` to compute absolute paths, because | |
23680 # the directories may not exist. | |
23681 case `pwd` in | |
23682 .) ac_abs_builddir="$ac_dir";; | |
26901 *) | 23683 *) |
26902 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 23684 case "$ac_dir" in |
26903 # A ".." for each directory in $ac_dir_suffix. | 23685 .) ac_abs_builddir=`pwd`;; |
26904 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` | 23686 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
26905 case $ac_top_builddir_sub in | 23687 *) ac_abs_builddir=`pwd`/"$ac_dir";; |
26906 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | 23688 esac;; |
26907 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | |
26908 esac ;; | |
26909 esac | 23689 esac |
26910 ac_abs_top_builddir=$ac_pwd | 23690 case $ac_abs_builddir in |
26911 ac_abs_builddir=$ac_pwd$ac_dir_suffix | 23691 .) ac_abs_top_builddir=${ac_top_builddir}.;; |
26912 # for backward compatibility: | 23692 *) |
26913 ac_top_builddir=$ac_top_build_prefix | 23693 case ${ac_top_builddir}. in |
26914 | 23694 .) ac_abs_top_builddir=$ac_abs_builddir;; |
26915 case $srcdir in | 23695 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
26916 .) # We are building in place. | 23696 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
26917 ac_srcdir=. | 23697 esac;; |
26918 ac_top_srcdir=$ac_top_builddir_sub | |
26919 ac_abs_top_srcdir=$ac_pwd ;; | |
26920 [\\/]* | ?:[\\/]* ) # Absolute name. | |
26921 ac_srcdir=$srcdir$ac_dir_suffix; | |
26922 ac_top_srcdir=$srcdir | |
26923 ac_abs_top_srcdir=$srcdir ;; | |
26924 *) # Relative name. | |
26925 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | |
26926 ac_top_srcdir=$ac_top_build_prefix$srcdir | |
26927 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | |
26928 esac | 23698 esac |
26929 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | 23699 case $ac_abs_builddir in |
26930 | 23700 .) ac_abs_srcdir=$ac_srcdir;; |
26931 | 23701 *) |
26932 case $ac_mode in | 23702 case $ac_srcdir in |
26933 :F) | 23703 .) ac_abs_srcdir=$ac_abs_builddir;; |
26934 # | 23704 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
26935 # CONFIG_FILE | 23705 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
26936 # | 23706 esac;; |
23707 esac | |
23708 case $ac_abs_builddir in | |
23709 .) ac_abs_top_srcdir=$ac_top_srcdir;; | |
23710 *) | |
23711 case $ac_top_srcdir in | |
23712 .) ac_abs_top_srcdir=$ac_abs_builddir;; | |
23713 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | |
23714 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | |
23715 esac;; | |
23716 esac | |
23717 | |
26937 | 23718 |
26938 case $INSTALL in | 23719 case $INSTALL in |
26939 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | 23720 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
26940 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; | 23721 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
26941 esac | 23722 esac |
26942 _ACEOF | 23723 |
26943 | 23724 # Let's still pretend it is `configure' which instantiates (i.e., don't |
26944 cat >>$CONFIG_STATUS <<\_ACEOF | 23725 # use $as_me), people would be surprised to read: |
26945 # If the template does not know about datarootdir, expand it. | 23726 # /* config.h. Generated by config.status. */ |
26946 # FIXME: This hack should be removed a few years after 2.60. | 23727 if test x"$ac_file" = x-; then |
26947 ac_datarootdir_hack=; ac_datarootdir_seen= | 23728 configure_input= |
26948 | 23729 else |
26949 case `sed -n '/datarootdir/ { | 23730 configure_input="$ac_file. " |
26950 p | 23731 fi |
26951 q | 23732 configure_input=$configure_input"Generated from `echo $ac_file_in | |
26952 } | 23733 sed 's,.*/,,'` by configure." |
26953 /@datadir@/p | 23734 |
26954 /@docdir@/p | 23735 # First look for the input files in the build tree, otherwise in the |
26955 /@infodir@/p | 23736 # src tree. |
26956 /@localedir@/p | 23737 ac_file_inputs=`IFS=: |
26957 /@mandir@/p | 23738 for f in $ac_file_in; do |
26958 ' $ac_file_inputs` in | 23739 case $f in |
26959 *datarootdir*) ac_datarootdir_seen=yes;; | 23740 -) echo $tmp/stdin ;; |
26960 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) | 23741 [\\/$]*) |
26961 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 | 23742 # Absolute (can't be DOS-style, as IFS=:) |
26962 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} | 23743 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
26963 _ACEOF | 23744 echo "$as_me: error: cannot find input file: $f" >&2;} |
26964 cat >>$CONFIG_STATUS <<_ACEOF | 23745 { (exit 1); exit 1; }; } |
26965 ac_datarootdir_hack=' | 23746 echo "$f";; |
26966 s&@datadir@&$datadir&g | 23747 *) # Relative |
26967 s&@docdir@&$docdir&g | 23748 if test -f "$f"; then |
26968 s&@infodir@&$infodir&g | 23749 # Build tree |
26969 s&@localedir@&$localedir&g | 23750 echo "$f" |
26970 s&@mandir@&$mandir&g | 23751 elif test -f "$srcdir/$f"; then |
26971 s&\\\${datarootdir}&$datarootdir&g' ;; | 23752 # Source tree |
26972 esac | 23753 echo "$srcdir/$f" |
26973 _ACEOF | 23754 else |
26974 | 23755 # /dev/null tree |
26975 # Neutralize VPATH when `$srcdir' = `.'. | 23756 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
26976 # Shell code in configure.ac might set extrasub. | 23757 echo "$as_me: error: cannot find input file: $f" >&2;} |
26977 # FIXME: do we really want to maintain this feature? | 23758 { (exit 1); exit 1; }; } |
23759 fi;; | |
23760 esac | |
23761 done` || { (exit 1); exit 1; } | |
23762 | |
23763 if test x"$ac_file" != x-; then | |
23764 { echo "$as_me:$LINENO: creating $ac_file" >&5 | |
23765 echo "$as_me: creating $ac_file" >&6;} | |
23766 rm -f "$ac_file" | |
23767 fi | |
23768 _ACEOF | |
26978 cat >>$CONFIG_STATUS <<_ACEOF | 23769 cat >>$CONFIG_STATUS <<_ACEOF |
26979 sed "$ac_vpsub | 23770 sed "$ac_vpsub |
26980 $extrasub | 23771 $extrasub |
26981 _ACEOF | 23772 _ACEOF |
26982 cat >>$CONFIG_STATUS <<\_ACEOF | 23773 cat >>$CONFIG_STATUS <<\_ACEOF |
26983 :t | 23774 :t |
26984 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | 23775 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
26985 s&@configure_input@&$configure_input&;t t | 23776 s,@configure_input@,$configure_input,;t t |
26986 s&@top_builddir@&$ac_top_builddir_sub&;t t | 23777 s,@srcdir@,$ac_srcdir,;t t |
26987 s&@srcdir@&$ac_srcdir&;t t | 23778 s,@abs_srcdir@,$ac_abs_srcdir,;t t |
26988 s&@abs_srcdir@&$ac_abs_srcdir&;t t | 23779 s,@top_srcdir@,$ac_top_srcdir,;t t |
26989 s&@top_srcdir@&$ac_top_srcdir&;t t | 23780 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t |
26990 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t | 23781 s,@builddir@,$ac_builddir,;t t |
26991 s&@builddir@&$ac_builddir&;t t | 23782 s,@abs_builddir@,$ac_abs_builddir,;t t |
26992 s&@abs_builddir@&$ac_abs_builddir&;t t | 23783 s,@top_builddir@,$ac_top_builddir,;t t |
26993 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t | 23784 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t |
26994 s&@INSTALL@&$ac_INSTALL&;t t | 23785 s,@INSTALL@,$ac_INSTALL,;t t |
26995 $ac_datarootdir_hack | 23786 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out |
26996 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out | 23787 rm -f $tmp/stdin |
26997 | 23788 if test x"$ac_file" != x-; then |
26998 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | 23789 mv $tmp/out $ac_file |
26999 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && | 23790 else |
27000 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && | 23791 cat $tmp/out |
27001 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 23792 rm -f $tmp/out |
27002 which seems to be undefined. Please make sure it is defined." >&5 | 23793 fi |
27003 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 23794 |
27004 which seems to be undefined. Please make sure it is defined." >&2;} | 23795 done |
27005 | 23796 _ACEOF |
27006 rm -f "$tmp/stdin" | 23797 cat >>$CONFIG_STATUS <<\_ACEOF |
23798 | |
23799 # | |
23800 # CONFIG_HEADER section. | |
23801 # | |
23802 | |
23803 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where | |
23804 # NAME is the cpp macro being defined and VALUE is the value it is being given. | |
23805 # | |
23806 # ac_d sets the value in "#define NAME VALUE" lines. | |
23807 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' | |
23808 ac_dB='[ ].*$,\1#\2' | |
23809 ac_dC=' ' | |
23810 ac_dD=',;t' | |
23811 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". | |
23812 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' | |
23813 ac_uB='$,\1#\2define\3' | |
23814 ac_uC=' ' | |
23815 ac_uD=',;t' | |
23816 | |
23817 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue | |
23818 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | |
27007 case $ac_file in | 23819 case $ac_file in |
27008 -) cat "$tmp/out"; rm -f "$tmp/out";; | 23820 - | *:- | *:-:* ) # input from stdin |
27009 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; | 23821 cat >$tmp/stdin |
23822 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | |
23823 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | |
23824 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | |
23825 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | |
23826 * ) ac_file_in=$ac_file.in ;; | |
27010 esac | 23827 esac |
27011 ;; | 23828 |
27012 :H) | 23829 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 |
27013 # | 23830 echo "$as_me: creating $ac_file" >&6;} |
27014 # CONFIG_HEADER | 23831 |
27015 # | 23832 # First look for the input files in the build tree, otherwise in the |
27016 _ACEOF | 23833 # src tree. |
27017 | 23834 ac_file_inputs=`IFS=: |
27018 # Transform confdefs.h into a sed script `conftest.defines', that | 23835 for f in $ac_file_in; do |
27019 # substitutes the proper values into config.h.in to produce config.h. | 23836 case $f in |
27020 rm -f conftest.defines conftest.tail | 23837 -) echo $tmp/stdin ;; |
27021 # First, append a space to every undef/define line, to ease matching. | 23838 [\\/$]*) |
27022 echo 's/$/ /' >conftest.defines | 23839 # Absolute (can't be DOS-style, as IFS=:) |
27023 # Then, protect against being on the right side of a sed subst, or in | 23840 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
27024 # an unquoted here document, in config.status. If some macros were | 23841 echo "$as_me: error: cannot find input file: $f" >&2;} |
27025 # called several times there might be several #defines for the same | 23842 { (exit 1); exit 1; }; } |
27026 # symbol, which is useless. But do not sort them, since the last | 23843 # Do quote $f, to prevent DOS paths from being IFS'd. |
27027 # AC_DEFINE must be honored. | 23844 echo "$f";; |
27028 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* | 23845 *) # Relative |
27029 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where | 23846 if test -f "$f"; then |
27030 # NAME is the cpp macro being defined, VALUE is the value it is being given. | 23847 # Build tree |
27031 # PARAMS is the parameter list in the macro definition--in most cases, it's | 23848 echo "$f" |
27032 # just an empty string. | 23849 elif test -f "$srcdir/$f"; then |
27033 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' | 23850 # Source tree |
27034 ac_dB='\\)[ (].*,\\1define\\2' | 23851 echo "$srcdir/$f" |
27035 ac_dC=' ' | 23852 else |
27036 ac_dD=' ,' | 23853 # /dev/null tree |
27037 | 23854 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
27038 uniq confdefs.h | | 23855 echo "$as_me: error: cannot find input file: $f" >&2;} |
27039 sed -n ' | 23856 { (exit 1); exit 1; }; } |
27040 t rset | 23857 fi;; |
27041 :rset | 23858 esac |
27042 s/^[ ]*#[ ]*define[ ][ ]*// | 23859 done` || { (exit 1); exit 1; } |
27043 t ok | 23860 # Remove the trailing spaces. |
27044 d | 23861 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
27045 :ok | 23862 |
27046 s/[\\&,]/\\&/g | 23863 _ACEOF |
27047 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p | 23864 |
27048 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p | 23865 # Transform confdefs.h into two sed scripts, `conftest.defines' and |
27049 ' >>conftest.defines | 23866 # `conftest.undefs', that substitutes the proper values into |
27050 | 23867 # config.h.in to produce config.h. The first handles `#define' |
27051 # Remove the space that was appended to ease matching. | 23868 # templates, and the second `#undef' templates. |
27052 # Then replace #undef with comments. This is necessary, for | 23869 # And first: Protect against being on the right side of a sed subst in |
23870 # config.status. Protect against being in an unquoted here document | |
23871 # in config.status. | |
23872 rm -f conftest.defines conftest.undefs | |
23873 # Using a here document instead of a string reduces the quoting nightmare. | |
23874 # Putting comments in sed scripts is not portable. | |
23875 # | |
23876 # `end' is used to avoid that the second main sed command (meant for | |
23877 # 0-ary CPP macros) applies to n-ary macro definitions. | |
23878 # See the Autoconf documentation for `clear'. | |
23879 cat >confdef2sed.sed <<\_ACEOF | |
23880 s/[\\&,]/\\&/g | |
23881 s,[\\$`],\\&,g | |
23882 t clear | |
23883 : clear | |
23884 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp | |
23885 t end | |
23886 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp | |
23887 : end | |
23888 _ACEOF | |
23889 # If some macros were called several times there might be several times | |
23890 # the same #defines, which is useless. Nevertheless, we may not want to | |
23891 # sort them, since we want the *last* AC-DEFINE to be honored. | |
23892 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines | |
23893 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs | |
23894 rm -f confdef2sed.sed | |
23895 | |
23896 # This sed command replaces #undef with comments. This is necessary, for | |
27053 # example, in the case of _POSIX_SOURCE, which is predefined and required | 23897 # example, in the case of _POSIX_SOURCE, which is predefined and required |
27054 # on some systems where configure will not decide to define it. | 23898 # on some systems where configure will not decide to define it. |
27055 # (The regexp can be short, since the line contains either #define or #undef.) | 23899 cat >>conftest.undefs <<\_ACEOF |
27056 echo 's/ $// | 23900 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
27057 s,^[ #]*u.*,/* & */,' >>conftest.defines | 23901 _ACEOF |
27058 | 23902 |
27059 # Break up conftest.defines: | 23903 # Break up conftest.defines because some shells have a limit on the size |
27060 ac_max_sed_lines=50 | 23904 # of here documents, and old seds have small limits too (100 cmds). |
27061 | 23905 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
27062 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" | 23906 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
27063 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" | 23907 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
27064 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" | 23908 echo ' :' >>$CONFIG_STATUS |
27065 # et cetera. | 23909 rm -f conftest.tail |
27066 ac_in='$ac_file_inputs' | 23910 while grep . conftest.defines >/dev/null |
27067 ac_out='"$tmp/out1"' | |
27068 ac_nxt='"$tmp/out2"' | |
27069 | |
27070 while : | |
27071 do | 23911 do |
27072 # Write a here document: | 23912 # Write a limited-size here document to $tmp/defines.sed. |
27073 cat >>$CONFIG_STATUS <<_ACEOF | 23913 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS |
27074 # First, check the format of the line: | 23914 # Speed up: don't consider the non `#define' lines. |
27075 cat >"\$tmp/defines.sed" <<\\CEOF | 23915 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
27076 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def | 23916 # Work around the forget-to-reset-the-flag bug. |
27077 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def | 23917 echo 't clr' >>$CONFIG_STATUS |
27078 b | 23918 echo ': clr' >>$CONFIG_STATUS |
27079 :def | 23919 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS |
27080 _ACEOF | |
27081 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS | |
27082 echo 'CEOF | 23920 echo 'CEOF |
27083 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS | 23921 sed -f $tmp/defines.sed $tmp/in >$tmp/out |
27084 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in | 23922 rm -f $tmp/in |
27085 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail | 23923 mv $tmp/out $tmp/in |
27086 grep . conftest.tail >/dev/null || break | 23924 ' >>$CONFIG_STATUS |
23925 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail | |
27087 rm -f conftest.defines | 23926 rm -f conftest.defines |
27088 mv conftest.tail conftest.defines | 23927 mv conftest.tail conftest.defines |
27089 done | 23928 done |
27090 rm -f conftest.defines conftest.tail | 23929 rm -f conftest.defines |
27091 | 23930 echo ' fi # grep' >>$CONFIG_STATUS |
27092 echo "ac_result=$ac_in" >>$CONFIG_STATUS | 23931 echo >>$CONFIG_STATUS |
23932 | |
23933 # Break up conftest.undefs because some shells have a limit on the size | |
23934 # of here documents, and old seds have small limits too (100 cmds). | |
23935 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS | |
23936 rm -f conftest.tail | |
23937 while grep . conftest.undefs >/dev/null | |
23938 do | |
23939 # Write a limited-size here document to $tmp/undefs.sed. | |
23940 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS | |
23941 # Speed up: don't consider the non `#undef' | |
23942 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS | |
23943 # Work around the forget-to-reset-the-flag bug. | |
23944 echo 't clr' >>$CONFIG_STATUS | |
23945 echo ': clr' >>$CONFIG_STATUS | |
23946 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS | |
23947 echo 'CEOF | |
23948 sed -f $tmp/undefs.sed $tmp/in >$tmp/out | |
23949 rm -f $tmp/in | |
23950 mv $tmp/out $tmp/in | |
23951 ' >>$CONFIG_STATUS | |
23952 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail | |
23953 rm -f conftest.undefs | |
23954 mv conftest.tail conftest.undefs | |
23955 done | |
23956 rm -f conftest.undefs | |
23957 | |
27093 cat >>$CONFIG_STATUS <<\_ACEOF | 23958 cat >>$CONFIG_STATUS <<\_ACEOF |
23959 # Let's still pretend it is `configure' which instantiates (i.e., don't | |
23960 # use $as_me), people would be surprised to read: | |
23961 # /* config.h. Generated by config.status. */ | |
23962 if test x"$ac_file" = x-; then | |
23963 echo "/* Generated by configure. */" >$tmp/config.h | |
23964 else | |
23965 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h | |
23966 fi | |
23967 cat $tmp/in >>$tmp/config.h | |
23968 rm -f $tmp/in | |
27094 if test x"$ac_file" != x-; then | 23969 if test x"$ac_file" != x-; then |
27095 echo "/* $configure_input */" >"$tmp/config.h" | 23970 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then |
27096 cat "$ac_result" >>"$tmp/config.h" | |
27097 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then | |
27098 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 | 23971 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
27099 echo "$as_me: $ac_file is unchanged" >&6;} | 23972 echo "$as_me: $ac_file is unchanged" >&6;} |
27100 else | 23973 else |
23974 ac_dir=`(dirname "$ac_file") 2>/dev/null || | |
23975 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
23976 X"$ac_file" : 'X\(//\)[^/]' \| \ | |
23977 X"$ac_file" : 'X\(//\)$' \| \ | |
23978 X"$ac_file" : 'X\(/\)' \| \ | |
23979 . : '\(.\)' 2>/dev/null || | |
23980 echo X"$ac_file" | | |
23981 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | |
23982 /^X\(\/\/\)[^/].*/{ s//\1/; q; } | |
23983 /^X\(\/\/\)$/{ s//\1/; q; } | |
23984 /^X\(\/\).*/{ s//\1/; q; } | |
23985 s/.*/./; q'` | |
23986 { if $as_mkdir_p; then | |
23987 mkdir -p "$ac_dir" | |
23988 else | |
23989 as_dir="$ac_dir" | |
23990 as_dirs= | |
23991 while test ! -d "$as_dir"; do | |
23992 as_dirs="$as_dir $as_dirs" | |
23993 as_dir=`(dirname "$as_dir") 2>/dev/null || | |
23994 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
23995 X"$as_dir" : 'X\(//\)[^/]' \| \ | |
23996 X"$as_dir" : 'X\(//\)$' \| \ | |
23997 X"$as_dir" : 'X\(/\)' \| \ | |
23998 . : '\(.\)' 2>/dev/null || | |
23999 echo X"$as_dir" | | |
24000 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | |
24001 /^X\(\/\/\)[^/].*/{ s//\1/; q; } | |
24002 /^X\(\/\/\)$/{ s//\1/; q; } | |
24003 /^X\(\/\).*/{ s//\1/; q; } | |
24004 s/.*/./; q'` | |
24005 done | |
24006 test ! -n "$as_dirs" || mkdir $as_dirs | |
24007 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | |
24008 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | |
24009 { (exit 1); exit 1; }; }; } | |
24010 | |
27101 rm -f $ac_file | 24011 rm -f $ac_file |
27102 mv "$tmp/config.h" $ac_file | 24012 mv $tmp/config.h $ac_file |
27103 fi | 24013 fi |
27104 else | 24014 else |
27105 echo "/* $configure_input */" | 24015 cat $tmp/config.h |
27106 cat "$ac_result" | 24016 rm -f $tmp/config.h |
27107 fi | 24017 fi |
27108 rm -f "$tmp/out12" | 24018 done |
27109 ;; | 24019 _ACEOF |
27110 | 24020 cat >>$CONFIG_STATUS <<\_ACEOF |
27111 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 | 24021 |
27112 echo "$as_me: executing $ac_file commands" >&6;} | 24022 # |
27113 ;; | 24023 # CONFIG_COMMANDS section. |
27114 esac | 24024 # |
27115 | 24025 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue |
27116 | 24026 ac_dest=`echo "$ac_file" | sed 's,:.*,,'` |
27117 case $ac_file$ac_mode in | 24027 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` |
27118 "default":C) | 24028 ac_dir=`(dirname "$ac_dest") 2>/dev/null || |
24029 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
24030 X"$ac_dest" : 'X\(//\)[^/]' \| \ | |
24031 X"$ac_dest" : 'X\(//\)$' \| \ | |
24032 X"$ac_dest" : 'X\(/\)' \| \ | |
24033 . : '\(.\)' 2>/dev/null || | |
24034 echo X"$ac_dest" | | |
24035 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | |
24036 /^X\(\/\/\)[^/].*/{ s//\1/; q; } | |
24037 /^X\(\/\/\)$/{ s//\1/; q; } | |
24038 /^X\(\/\).*/{ s//\1/; q; } | |
24039 s/.*/./; q'` | |
24040 { if $as_mkdir_p; then | |
24041 mkdir -p "$ac_dir" | |
24042 else | |
24043 as_dir="$ac_dir" | |
24044 as_dirs= | |
24045 while test ! -d "$as_dir"; do | |
24046 as_dirs="$as_dir $as_dirs" | |
24047 as_dir=`(dirname "$as_dir") 2>/dev/null || | |
24048 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
24049 X"$as_dir" : 'X\(//\)[^/]' \| \ | |
24050 X"$as_dir" : 'X\(//\)$' \| \ | |
24051 X"$as_dir" : 'X\(/\)' \| \ | |
24052 . : '\(.\)' 2>/dev/null || | |
24053 echo X"$as_dir" | | |
24054 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | |
24055 /^X\(\/\/\)[^/].*/{ s//\1/; q; } | |
24056 /^X\(\/\/\)$/{ s//\1/; q; } | |
24057 /^X\(\/\).*/{ s//\1/; q; } | |
24058 s/.*/./; q'` | |
24059 done | |
24060 test ! -n "$as_dirs" || mkdir $as_dirs | |
24061 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | |
24062 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | |
24063 { (exit 1); exit 1; }; }; } | |
24064 | |
24065 ac_builddir=. | |
24066 | |
24067 if test "$ac_dir" != .; then | |
24068 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | |
24069 # A "../" for each directory in $ac_dir_suffix. | |
24070 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | |
24071 else | |
24072 ac_dir_suffix= ac_top_builddir= | |
24073 fi | |
24074 | |
24075 case $srcdir in | |
24076 .) # No --srcdir option. We are building in place. | |
24077 ac_srcdir=. | |
24078 if test -z "$ac_top_builddir"; then | |
24079 ac_top_srcdir=. | |
24080 else | |
24081 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | |
24082 fi ;; | |
24083 [\\/]* | ?:[\\/]* ) # Absolute path. | |
24084 ac_srcdir=$srcdir$ac_dir_suffix; | |
24085 ac_top_srcdir=$srcdir ;; | |
24086 *) # Relative path. | |
24087 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | |
24088 ac_top_srcdir=$ac_top_builddir$srcdir ;; | |
24089 esac | |
24090 | |
24091 # Do not use `cd foo && pwd` to compute absolute paths, because | |
24092 # the directories may not exist. | |
24093 case `pwd` in | |
24094 .) ac_abs_builddir="$ac_dir";; | |
24095 *) | |
24096 case "$ac_dir" in | |
24097 .) ac_abs_builddir=`pwd`;; | |
24098 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; | |
24099 *) ac_abs_builddir=`pwd`/"$ac_dir";; | |
24100 esac;; | |
24101 esac | |
24102 case $ac_abs_builddir in | |
24103 .) ac_abs_top_builddir=${ac_top_builddir}.;; | |
24104 *) | |
24105 case ${ac_top_builddir}. in | |
24106 .) ac_abs_top_builddir=$ac_abs_builddir;; | |
24107 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; | |
24108 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; | |
24109 esac;; | |
24110 esac | |
24111 case $ac_abs_builddir in | |
24112 .) ac_abs_srcdir=$ac_srcdir;; | |
24113 *) | |
24114 case $ac_srcdir in | |
24115 .) ac_abs_srcdir=$ac_abs_builddir;; | |
24116 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; | |
24117 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; | |
24118 esac;; | |
24119 esac | |
24120 case $ac_abs_builddir in | |
24121 .) ac_abs_top_srcdir=$ac_top_srcdir;; | |
24122 *) | |
24123 case $ac_top_srcdir in | |
24124 .) ac_abs_top_srcdir=$ac_abs_builddir;; | |
24125 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | |
24126 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | |
24127 esac;; | |
24128 esac | |
24129 | |
24130 | |
24131 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 | |
24132 echo "$as_me: executing $ac_dest commands" >&6;} | |
24133 case $ac_dest in | |
24134 default ) | |
27119 | 24135 |
27120 ### Make the necessary directories, if they don't exist. | 24136 ### Make the necessary directories, if they don't exist. |
27121 for dir in etc lisp ; do | 24137 for dir in etc lisp ; do |
27122 test -d ${dir} || mkdir ${dir} | 24138 test -d ${dir} || mkdir ${dir} |
27123 done | 24139 done |
27186 | 24202 |
27187 # This is how we know whether to re-run configure in certain cases. | 24203 # This is how we know whether to re-run configure in certain cases. |
27188 touch src/config.stamp | 24204 touch src/config.stamp |
27189 | 24205 |
27190 ;; | 24206 ;; |
27191 | |
27192 esac | 24207 esac |
27193 done # for ac_tag | 24208 done |
27194 | 24209 _ACEOF |
24210 | |
24211 cat >>$CONFIG_STATUS <<\_ACEOF | |
27195 | 24212 |
27196 { (exit 0); exit 0; } | 24213 { (exit 0); exit 0; } |
27197 _ACEOF | 24214 _ACEOF |
27198 chmod +x $CONFIG_STATUS | 24215 chmod +x $CONFIG_STATUS |
27199 ac_clean_files=$ac_clean_files_save | 24216 ac_clean_files=$ac_clean_files_save |