Line 0
Link Here
|
|
|
1 |
--- configure.orig 2008-06-07 13:51:15 UTC |
2 |
+++ configure |
3 |
@@ -1,60 +1,81 @@ |
4 |
#! /bin/sh |
5 |
# Guess values for system-dependent variables and create Makefiles. |
6 |
-# Generated by GNU Autoconf 2.61. |
7 |
+# Generated by GNU Autoconf 2.69. |
8 |
+# |
9 |
+# |
10 |
+# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
11 |
+# |
12 |
# |
13 |
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
14 |
-# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
15 |
# This configure script is free software; the Free Software Foundation |
16 |
# gives unlimited permission to copy, distribute and modify it. |
17 |
-## --------------------- ## |
18 |
-## M4sh Initialization. ## |
19 |
-## --------------------- ## |
20 |
+## -------------------- ## |
21 |
+## M4sh Initialization. ## |
22 |
+## -------------------- ## |
23 |
|
24 |
# Be more Bourne compatible |
25 |
DUALCASE=1; export DUALCASE # for MKS sh |
26 |
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
27 |
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
28 |
emulate sh |
29 |
NULLCMD=: |
30 |
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
31 |
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
32 |
# is contrary to our usage. Disable this feature. |
33 |
alias -g '${1+"$@"}'='"$@"' |
34 |
setopt NO_GLOB_SUBST |
35 |
else |
36 |
- case `(set -o) 2>/dev/null` in |
37 |
- *posix*) set -o posix ;; |
38 |
+ case `(set -o) 2>/dev/null` in #( |
39 |
+ *posix*) : |
40 |
+ set -o posix ;; #( |
41 |
+ *) : |
42 |
+ ;; |
43 |
esac |
44 |
- |
45 |
fi |
46 |
|
47 |
|
48 |
- |
49 |
- |
50 |
-# PATH needs CR |
51 |
-# Avoid depending upon Character Ranges. |
52 |
-as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
53 |
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
54 |
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
55 |
-as_cr_digits='0123456789' |
56 |
-as_cr_alnum=$as_cr_Letters$as_cr_digits |
57 |
- |
58 |
-# The user is always right. |
59 |
-if test "${PATH_SEPARATOR+set}" != set; then |
60 |
- echo "#! /bin/sh" >conf$$.sh |
61 |
- echo "exit 0" >>conf$$.sh |
62 |
- chmod +x conf$$.sh |
63 |
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
64 |
- PATH_SEPARATOR=';' |
65 |
+as_nl=' |
66 |
+' |
67 |
+export as_nl |
68 |
+# Printing a long string crashes Solaris 7 /usr/bin/printf. |
69 |
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
70 |
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
71 |
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
72 |
+# Prefer a ksh shell builtin over an external printf program on Solaris, |
73 |
+# but without wasting forks for bash or zsh. |
74 |
+if test -z "$BASH_VERSION$ZSH_VERSION" \ |
75 |
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
76 |
+ as_echo='print -r --' |
77 |
+ as_echo_n='print -rn --' |
78 |
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
79 |
+ as_echo='printf %s\n' |
80 |
+ as_echo_n='printf %s' |
81 |
+else |
82 |
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
83 |
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
84 |
+ as_echo_n='/usr/ucb/echo -n' |
85 |
else |
86 |
- PATH_SEPARATOR=: |
87 |
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
88 |
+ as_echo_n_body='eval |
89 |
+ arg=$1; |
90 |
+ case $arg in #( |
91 |
+ *"$as_nl"*) |
92 |
+ expr "X$arg" : "X\\(.*\\)$as_nl"; |
93 |
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
94 |
+ esac; |
95 |
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
96 |
+ ' |
97 |
+ export as_echo_n_body |
98 |
+ as_echo_n='sh -c $as_echo_n_body as_echo' |
99 |
fi |
100 |
- rm -f conf$$.sh |
101 |
+ export as_echo_body |
102 |
+ as_echo='sh -c $as_echo_body as_echo' |
103 |
fi |
104 |
|
105 |
-# Support unset when possible. |
106 |
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
107 |
- as_unset=unset |
108 |
-else |
109 |
- as_unset=false |
110 |
+# The user is always right. |
111 |
+if test "${PATH_SEPARATOR+set}" != set; then |
112 |
+ PATH_SEPARATOR=: |
113 |
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
114 |
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
115 |
+ PATH_SEPARATOR=';' |
116 |
+ } |
117 |
fi |
118 |
|
119 |
|
120 |
@@ -63,20 +84,19 @@ fi |
121 |
# there to prevent editors from complaining about space-tab. |
122 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
123 |
# splitting by setting IFS to empty value.) |
124 |
-as_nl=' |
125 |
-' |
126 |
IFS=" "" $as_nl" |
127 |
|
128 |
# Find who we are. Look in the path if we contain no directory separator. |
129 |
-case $0 in |
130 |
+as_myself= |
131 |
+case $0 in #(( |
132 |
*[\\/]* ) as_myself=$0 ;; |
133 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
134 |
for as_dir in $PATH |
135 |
do |
136 |
IFS=$as_save_IFS |
137 |
test -z "$as_dir" && as_dir=. |
138 |
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
139 |
-done |
140 |
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
141 |
+ done |
142 |
IFS=$as_save_IFS |
143 |
|
144 |
;; |
145 |
@@ -87,354 +107,366 @@ if test "x$as_myself" = x; then |
146 |
as_myself=$0 |
147 |
fi |
148 |
if test ! -f "$as_myself"; then |
149 |
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
150 |
- { (exit 1); exit 1; } |
151 |
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
152 |
+ exit 1 |
153 |
fi |
154 |
|
155 |
-# Work around bugs in pre-3.0 UWIN ksh. |
156 |
-for as_var in ENV MAIL MAILPATH |
157 |
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
158 |
+# Unset variables that we do not need and which cause bugs (e.g. in |
159 |
+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
160 |
+# suppresses any "Segmentation fault" message there. '((' could |
161 |
+# trigger a bug in pdksh 5.2.14. |
162 |
+for as_var in BASH_ENV ENV MAIL MAILPATH |
163 |
+do eval test x\${$as_var+set} = xset \ |
164 |
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
165 |
done |
166 |
PS1='$ ' |
167 |
PS2='> ' |
168 |
PS4='+ ' |
169 |
|
170 |
# NLS nuisances. |
171 |
-for as_var in \ |
172 |
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
173 |
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
174 |
- LC_TELEPHONE LC_TIME |
175 |
-do |
176 |
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
177 |
- eval $as_var=C; export $as_var |
178 |
- else |
179 |
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
180 |
- fi |
181 |
-done |
182 |
- |
183 |
-# Required to use basename. |
184 |
-if expr a : '\(a\)' >/dev/null 2>&1 && |
185 |
- test "X`expr 00001 : '.*\(...\)'`" = X001; then |
186 |
- as_expr=expr |
187 |
-else |
188 |
- as_expr=false |
189 |
-fi |
190 |
- |
191 |
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
192 |
- as_basename=basename |
193 |
-else |
194 |
- as_basename=false |
195 |
-fi |
196 |
- |
197 |
- |
198 |
-# Name of the executable. |
199 |
-as_me=`$as_basename -- "$0" || |
200 |
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
201 |
- X"$0" : 'X\(//\)$' \| \ |
202 |
- X"$0" : 'X\(/\)' \| . 2>/dev/null || |
203 |
-echo X/"$0" | |
204 |
- sed '/^.*\/\([^/][^/]*\)\/*$/{ |
205 |
- s//\1/ |
206 |
- q |
207 |
- } |
208 |
- /^X\/\(\/\/\)$/{ |
209 |
- s//\1/ |
210 |
- q |
211 |
- } |
212 |
- /^X\/\(\/\).*/{ |
213 |
- s//\1/ |
214 |
- q |
215 |
- } |
216 |
- s/.*/./; q'` |
217 |
+LC_ALL=C |
218 |
+export LC_ALL |
219 |
+LANGUAGE=C |
220 |
+export LANGUAGE |
221 |
|
222 |
# CDPATH. |
223 |
-$as_unset CDPATH |
224 |
- |
225 |
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
226 |
|
227 |
+# Use a proper internal environment variable to ensure we don't fall |
228 |
+ # into an infinite loop, continuously re-executing ourselves. |
229 |
+ if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then |
230 |
+ _as_can_reexec=no; export _as_can_reexec; |
231 |
+ # We cannot yet assume a decent shell, so we have to provide a |
232 |
+# neutralization value for shells without unset; and this also |
233 |
+# works around shells that cannot unset nonexistent variables. |
234 |
+# Preserve -v and -x to the replacement shell. |
235 |
+BASH_ENV=/dev/null |
236 |
+ENV=/dev/null |
237 |
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
238 |
+case $- in # (((( |
239 |
+ *v*x* | *x*v* ) as_opts=-vx ;; |
240 |
+ *v* ) as_opts=-v ;; |
241 |
+ *x* ) as_opts=-x ;; |
242 |
+ * ) as_opts= ;; |
243 |
+esac |
244 |
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
245 |
+# Admittedly, this is quite paranoid, since all the known shells bail |
246 |
+# out after a failed `exec'. |
247 |
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
248 |
+as_fn_exit 255 |
249 |
+ fi |
250 |
+ # We don't want this to propagate to other subprocesses. |
251 |
+ { _as_can_reexec=; unset _as_can_reexec;} |
252 |
if test "x$CONFIG_SHELL" = x; then |
253 |
- if (eval ":") 2>/dev/null; then |
254 |
- as_have_required=yes |
255 |
+ as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
256 |
+ emulate sh |
257 |
+ NULLCMD=: |
258 |
+ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
259 |
+ # is contrary to our usage. Disable this feature. |
260 |
+ alias -g '\${1+\"\$@\"}'='\"\$@\"' |
261 |
+ setopt NO_GLOB_SUBST |
262 |
else |
263 |
- as_have_required=no |
264 |
+ case \`(set -o) 2>/dev/null\` in #( |
265 |
+ *posix*) : |
266 |
+ set -o posix ;; #( |
267 |
+ *) : |
268 |
+ ;; |
269 |
+esac |
270 |
fi |
271 |
- |
272 |
- if test $as_have_required = yes && (eval ": |
273 |
-(as_func_return () { |
274 |
- (exit \$1) |
275 |
-} |
276 |
-as_func_success () { |
277 |
- as_func_return 0 |
278 |
-} |
279 |
-as_func_failure () { |
280 |
- as_func_return 1 |
281 |
-} |
282 |
-as_func_ret_success () { |
283 |
- return 0 |
284 |
-} |
285 |
-as_func_ret_failure () { |
286 |
- return 1 |
287 |
-} |
288 |
+" |
289 |
+ as_required="as_fn_return () { (exit \$1); } |
290 |
+as_fn_success () { as_fn_return 0; } |
291 |
+as_fn_failure () { as_fn_return 1; } |
292 |
+as_fn_ret_success () { return 0; } |
293 |
+as_fn_ret_failure () { return 1; } |
294 |
|
295 |
exitcode=0 |
296 |
-if as_func_success; then |
297 |
- : |
298 |
-else |
299 |
- exitcode=1 |
300 |
- echo as_func_success failed. |
301 |
-fi |
302 |
- |
303 |
-if as_func_failure; then |
304 |
- exitcode=1 |
305 |
- echo as_func_failure succeeded. |
306 |
-fi |
307 |
+as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
308 |
+as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
309 |
+as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
310 |
+as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
311 |
+if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
312 |
|
313 |
-if as_func_ret_success; then |
314 |
- : |
315 |
else |
316 |
- exitcode=1 |
317 |
- echo as_func_ret_success failed. |
318 |
-fi |
319 |
- |
320 |
-if as_func_ret_failure; then |
321 |
- exitcode=1 |
322 |
- echo as_func_ret_failure succeeded. |
323 |
+ exitcode=1; echo positional parameters were not saved. |
324 |
fi |
325 |
- |
326 |
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
327 |
- : |
328 |
+test x\$exitcode = x0 || exit 1 |
329 |
+test -x / || exit 1" |
330 |
+ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
331 |
+ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
332 |
+ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
333 |
+ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
334 |
+test \$(( 1 + 1 )) = 2 || exit 1" |
335 |
+ if (eval "$as_required") 2>/dev/null; then : |
336 |
+ as_have_required=yes |
337 |
else |
338 |
- exitcode=1 |
339 |
- echo positional parameters were not saved. |
340 |
+ as_have_required=no |
341 |
fi |
342 |
+ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : |
343 |
|
344 |
-test \$exitcode = 0) || { (exit 1); exit 1; } |
345 |
- |
346 |
-( |
347 |
- as_lineno_1=\$LINENO |
348 |
- as_lineno_2=\$LINENO |
349 |
- test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && |
350 |
- test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } |
351 |
-") 2> /dev/null; then |
352 |
- : |
353 |
else |
354 |
- as_candidate_shells= |
355 |
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
356 |
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
357 |
+as_found=false |
358 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
359 |
do |
360 |
IFS=$as_save_IFS |
361 |
test -z "$as_dir" && as_dir=. |
362 |
- case $as_dir in |
363 |
+ as_found=: |
364 |
+ case $as_dir in #( |
365 |
/*) |
366 |
for as_base in sh bash ksh sh5; do |
367 |
- as_candidate_shells="$as_candidate_shells $as_dir/$as_base" |
368 |
+ # Try only shells that exist, to save several forks. |
369 |
+ as_shell=$as_dir/$as_base |
370 |
+ if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
371 |
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : |
372 |
+ CONFIG_SHELL=$as_shell as_have_required=yes |
373 |
+ if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : |
374 |
+ break 2 |
375 |
+fi |
376 |
+fi |
377 |
done;; |
378 |
esac |
379 |
+ as_found=false |
380 |
done |
381 |
+$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
382 |
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : |
383 |
+ CONFIG_SHELL=$SHELL as_have_required=yes |
384 |
+fi; } |
385 |
IFS=$as_save_IFS |
386 |
|
387 |
|
388 |
- for as_shell in $as_candidate_shells $SHELL; do |
389 |
- # Try only shells that exist, to save several forks. |
390 |
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
391 |
- { ("$as_shell") 2> /dev/null <<\_ASEOF |
392 |
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
393 |
- emulate sh |
394 |
- NULLCMD=: |
395 |
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
396 |
- # is contrary to our usage. Disable this feature. |
397 |
- alias -g '${1+"$@"}'='"$@"' |
398 |
- setopt NO_GLOB_SUBST |
399 |
-else |
400 |
- case `(set -o) 2>/dev/null` in |
401 |
- *posix*) set -o posix ;; |
402 |
-esac |
403 |
- |
404 |
-fi |
405 |
- |
406 |
- |
407 |
-: |
408 |
-_ASEOF |
409 |
-}; then |
410 |
- CONFIG_SHELL=$as_shell |
411 |
- as_have_required=yes |
412 |
- if { "$as_shell" 2> /dev/null <<\_ASEOF |
413 |
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
414 |
- emulate sh |
415 |
- NULLCMD=: |
416 |
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
417 |
- # is contrary to our usage. Disable this feature. |
418 |
- alias -g '${1+"$@"}'='"$@"' |
419 |
- setopt NO_GLOB_SUBST |
420 |
-else |
421 |
- case `(set -o) 2>/dev/null` in |
422 |
- *posix*) set -o posix ;; |
423 |
+ if test "x$CONFIG_SHELL" != x; then : |
424 |
+ export CONFIG_SHELL |
425 |
+ # We cannot yet assume a decent shell, so we have to provide a |
426 |
+# neutralization value for shells without unset; and this also |
427 |
+# works around shells that cannot unset nonexistent variables. |
428 |
+# Preserve -v and -x to the replacement shell. |
429 |
+BASH_ENV=/dev/null |
430 |
+ENV=/dev/null |
431 |
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
432 |
+case $- in # (((( |
433 |
+ *v*x* | *x*v* ) as_opts=-vx ;; |
434 |
+ *v* ) as_opts=-v ;; |
435 |
+ *x* ) as_opts=-x ;; |
436 |
+ * ) as_opts= ;; |
437 |
esac |
438 |
- |
439 |
-fi |
440 |
- |
441 |
- |
442 |
-: |
443 |
-(as_func_return () { |
444 |
- (exit $1) |
445 |
-} |
446 |
-as_func_success () { |
447 |
- as_func_return 0 |
448 |
-} |
449 |
-as_func_failure () { |
450 |
- as_func_return 1 |
451 |
-} |
452 |
-as_func_ret_success () { |
453 |
- return 0 |
454 |
-} |
455 |
-as_func_ret_failure () { |
456 |
- return 1 |
457 |
-} |
458 |
- |
459 |
-exitcode=0 |
460 |
-if as_func_success; then |
461 |
- : |
462 |
-else |
463 |
- exitcode=1 |
464 |
- echo as_func_success failed. |
465 |
-fi |
466 |
- |
467 |
-if as_func_failure; then |
468 |
- exitcode=1 |
469 |
- echo as_func_failure succeeded. |
470 |
-fi |
471 |
- |
472 |
-if as_func_ret_success; then |
473 |
- : |
474 |
-else |
475 |
- exitcode=1 |
476 |
- echo as_func_ret_success failed. |
477 |
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
478 |
+# Admittedly, this is quite paranoid, since all the known shells bail |
479 |
+# out after a failed `exec'. |
480 |
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
481 |
+exit 255 |
482 |
fi |
483 |
|
484 |
-if as_func_ret_failure; then |
485 |
- exitcode=1 |
486 |
- echo as_func_ret_failure succeeded. |
487 |
+ if test x$as_have_required = xno; then : |
488 |
+ $as_echo "$0: This script requires a shell more modern than all" |
489 |
+ $as_echo "$0: the shells that I found on your system." |
490 |
+ if test x${ZSH_VERSION+set} = xset ; then |
491 |
+ $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
492 |
+ $as_echo "$0: be upgraded to zsh 4.3.4 or later." |
493 |
+ else |
494 |
+ $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, |
495 |
+$0: including any error possibly output before this |
496 |
+$0: message. Then install a modern shell, or manually run |
497 |
+$0: the script under such a shell if you do have one." |
498 |
+ fi |
499 |
+ exit 1 |
500 |
fi |
501 |
- |
502 |
-if ( set x; as_func_ret_success y && test x = "$1" ); then |
503 |
- : |
504 |
-else |
505 |
- exitcode=1 |
506 |
- echo positional parameters were not saved. |
507 |
fi |
508 |
- |
509 |
-test $exitcode = 0) || { (exit 1); exit 1; } |
510 |
- |
511 |
-( |
512 |
- as_lineno_1=$LINENO |
513 |
- as_lineno_2=$LINENO |
514 |
- test "x$as_lineno_1" != "x$as_lineno_2" && |
515 |
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } |
516 |
- |
517 |
-_ASEOF |
518 |
-}; then |
519 |
- break |
520 |
fi |
521 |
+SHELL=${CONFIG_SHELL-/bin/sh} |
522 |
+export SHELL |
523 |
+# Unset more variables known to interfere with behavior of common tools. |
524 |
+CLICOLOR_FORCE= GREP_OPTIONS= |
525 |
+unset CLICOLOR_FORCE GREP_OPTIONS |
526 |
|
527 |
-fi |
528 |
+## --------------------- ## |
529 |
+## M4sh Shell Functions. ## |
530 |
+## --------------------- ## |
531 |
+# as_fn_unset VAR |
532 |
+# --------------- |
533 |
+# Portably unset VAR. |
534 |
+as_fn_unset () |
535 |
+{ |
536 |
+ { eval $1=; unset $1;} |
537 |
+} |
538 |
+as_unset=as_fn_unset |
539 |
|
540 |
- done |
541 |
+# as_fn_set_status STATUS |
542 |
+# ----------------------- |
543 |
+# Set $? to STATUS, without forking. |
544 |
+as_fn_set_status () |
545 |
+{ |
546 |
+ return $1 |
547 |
+} # as_fn_set_status |
548 |
|
549 |
- if test "x$CONFIG_SHELL" != x; then |
550 |
- for as_var in BASH_ENV ENV |
551 |
- do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
552 |
- done |
553 |
- export CONFIG_SHELL |
554 |
- exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
555 |
-fi |
556 |
+# as_fn_exit STATUS |
557 |
+# ----------------- |
558 |
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
559 |
+as_fn_exit () |
560 |
+{ |
561 |
+ set +e |
562 |
+ as_fn_set_status $1 |
563 |
+ exit $1 |
564 |
+} # as_fn_exit |
565 |
|
566 |
+# as_fn_mkdir_p |
567 |
+# ------------- |
568 |
+# Create "$as_dir" as a directory, including parents if necessary. |
569 |
+as_fn_mkdir_p () |
570 |
+{ |
571 |
|
572 |
- if test $as_have_required = no; then |
573 |
- echo This script requires a shell more modern than all the |
574 |
- echo shells that I found on your system. Please install a |
575 |
- echo modern shell, or manually run the script under such a |
576 |
- echo shell if you do have one. |
577 |
- { (exit 1); exit 1; } |
578 |
-fi |
579 |
+ case $as_dir in #( |
580 |
+ -*) as_dir=./$as_dir;; |
581 |
+ esac |
582 |
+ test -d "$as_dir" || eval $as_mkdir_p || { |
583 |
+ as_dirs= |
584 |
+ while :; do |
585 |
+ case $as_dir in #( |
586 |
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
587 |
+ *) as_qdir=$as_dir;; |
588 |
+ esac |
589 |
+ as_dirs="'$as_qdir' $as_dirs" |
590 |
+ as_dir=`$as_dirname -- "$as_dir" || |
591 |
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
592 |
+ X"$as_dir" : 'X\(//\)[^/]' \| \ |
593 |
+ X"$as_dir" : 'X\(//\)$' \| \ |
594 |
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
595 |
+$as_echo X"$as_dir" | |
596 |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
597 |
+ s//\1/ |
598 |
+ q |
599 |
+ } |
600 |
+ /^X\(\/\/\)[^/].*/{ |
601 |
+ s//\1/ |
602 |
+ q |
603 |
+ } |
604 |
+ /^X\(\/\/\)$/{ |
605 |
+ s//\1/ |
606 |
+ q |
607 |
+ } |
608 |
+ /^X\(\/\).*/{ |
609 |
+ s//\1/ |
610 |
+ q |
611 |
+ } |
612 |
+ s/.*/./; q'` |
613 |
+ test -d "$as_dir" && break |
614 |
+ done |
615 |
+ test -z "$as_dirs" || eval "mkdir $as_dirs" |
616 |
+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
617 |
|
618 |
|
619 |
-fi |
620 |
+} # as_fn_mkdir_p |
621 |
|
622 |
-fi |
623 |
+# as_fn_executable_p FILE |
624 |
+# ----------------------- |
625 |
+# Test if FILE is an executable regular file. |
626 |
+as_fn_executable_p () |
627 |
+{ |
628 |
+ test -f "$1" && test -x "$1" |
629 |
+} # as_fn_executable_p |
630 |
+# as_fn_append VAR VALUE |
631 |
+# ---------------------- |
632 |
+# Append the text in VALUE to the end of the definition contained in VAR. Take |
633 |
+# advantage of any shell optimizations that allow amortized linear growth over |
634 |
+# repeated appends, instead of the typical quadratic growth present in naive |
635 |
+# implementations. |
636 |
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
637 |
+ eval 'as_fn_append () |
638 |
+ { |
639 |
+ eval $1+=\$2 |
640 |
+ }' |
641 |
+else |
642 |
+ as_fn_append () |
643 |
+ { |
644 |
+ eval $1=\$$1\$2 |
645 |
+ } |
646 |
+fi # as_fn_append |
647 |
|
648 |
+# as_fn_arith ARG... |
649 |
+# ------------------ |
650 |
+# Perform arithmetic evaluation on the ARGs, and store the result in the |
651 |
+# global $as_val. Take advantage of shells that can avoid forks. The arguments |
652 |
+# must be portable across $(()) and expr. |
653 |
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
654 |
+ eval 'as_fn_arith () |
655 |
+ { |
656 |
+ as_val=$(( $* )) |
657 |
+ }' |
658 |
+else |
659 |
+ as_fn_arith () |
660 |
+ { |
661 |
+ as_val=`expr "$@" || test $? -eq 1` |
662 |
+ } |
663 |
+fi # as_fn_arith |
664 |
|
665 |
|
666 |
-(eval "as_func_return () { |
667 |
- (exit \$1) |
668 |
-} |
669 |
-as_func_success () { |
670 |
- as_func_return 0 |
671 |
-} |
672 |
-as_func_failure () { |
673 |
- as_func_return 1 |
674 |
-} |
675 |
-as_func_ret_success () { |
676 |
- return 0 |
677 |
-} |
678 |
-as_func_ret_failure () { |
679 |
- return 1 |
680 |
-} |
681 |
+# as_fn_error STATUS ERROR [LINENO LOG_FD] |
682 |
+# ---------------------------------------- |
683 |
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
684 |
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
685 |
+# script with STATUS, using 1 if that was 0. |
686 |
+as_fn_error () |
687 |
+{ |
688 |
+ as_status=$1; test $as_status -eq 0 && as_status=1 |
689 |
+ if test "$4"; then |
690 |
+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
691 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
692 |
+ fi |
693 |
+ $as_echo "$as_me: error: $2" >&2 |
694 |
+ as_fn_exit $as_status |
695 |
+} # as_fn_error |
696 |
|
697 |
-exitcode=0 |
698 |
-if as_func_success; then |
699 |
- : |
700 |
+if expr a : '\(a\)' >/dev/null 2>&1 && |
701 |
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then |
702 |
+ as_expr=expr |
703 |
else |
704 |
- exitcode=1 |
705 |
- echo as_func_success failed. |
706 |
-fi |
707 |
- |
708 |
-if as_func_failure; then |
709 |
- exitcode=1 |
710 |
- echo as_func_failure succeeded. |
711 |
+ as_expr=false |
712 |
fi |
713 |
|
714 |
-if as_func_ret_success; then |
715 |
- : |
716 |
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
717 |
+ as_basename=basename |
718 |
else |
719 |
- exitcode=1 |
720 |
- echo as_func_ret_success failed. |
721 |
-fi |
722 |
- |
723 |
-if as_func_ret_failure; then |
724 |
- exitcode=1 |
725 |
- echo as_func_ret_failure succeeded. |
726 |
+ as_basename=false |
727 |
fi |
728 |
|
729 |
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
730 |
- : |
731 |
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
732 |
+ as_dirname=dirname |
733 |
else |
734 |
- exitcode=1 |
735 |
- echo positional parameters were not saved. |
736 |
+ as_dirname=false |
737 |
fi |
738 |
|
739 |
-test \$exitcode = 0") || { |
740 |
- echo No shell found that supports shell functions. |
741 |
- echo Please tell autoconf@gnu.org about your system, |
742 |
- echo including any error possibly output before this |
743 |
- echo message |
744 |
-} |
745 |
- |
746 |
+as_me=`$as_basename -- "$0" || |
747 |
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
748 |
+ X"$0" : 'X\(//\)$' \| \ |
749 |
+ X"$0" : 'X\(/\)' \| . 2>/dev/null || |
750 |
+$as_echo X/"$0" | |
751 |
+ sed '/^.*\/\([^/][^/]*\)\/*$/{ |
752 |
+ s//\1/ |
753 |
+ q |
754 |
+ } |
755 |
+ /^X\/\(\/\/\)$/{ |
756 |
+ s//\1/ |
757 |
+ q |
758 |
+ } |
759 |
+ /^X\/\(\/\).*/{ |
760 |
+ s//\1/ |
761 |
+ q |
762 |
+ } |
763 |
+ s/.*/./; q'` |
764 |
|
765 |
+# Avoid depending upon Character Ranges. |
766 |
+as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
767 |
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
768 |
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
769 |
+as_cr_digits='0123456789' |
770 |
+as_cr_alnum=$as_cr_Letters$as_cr_digits |
771 |
|
772 |
- as_lineno_1=$LINENO |
773 |
- as_lineno_2=$LINENO |
774 |
- test "x$as_lineno_1" != "x$as_lineno_2" && |
775 |
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
776 |
|
777 |
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
778 |
- # uniformly replaced by the line number. The first 'sed' inserts a |
779 |
- # line-number line after each line using $LINENO; the second 'sed' |
780 |
- # does the real work. The second script uses 'N' to pair each |
781 |
- # line-number line with the line containing $LINENO, and appends |
782 |
- # trailing '-' during substitution so that $LINENO is not a special |
783 |
- # case at line end. |
784 |
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
785 |
- # scripts with optimization help from Paolo Bonzini. Blame Lee |
786 |
- # E. McMahon (1931-1989) for sed's syntax. :-) |
787 |
+ as_lineno_1=$LINENO as_lineno_1a=$LINENO |
788 |
+ as_lineno_2=$LINENO as_lineno_2a=$LINENO |
789 |
+ eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
790 |
+ test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
791 |
+ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
792 |
sed -n ' |
793 |
p |
794 |
/[$]LINENO/= |
795 |
@@ -451,9 +483,12 @@ test \$exitcode = 0") || { |
796 |
s/-\n.*// |
797 |
' >$as_me.lineno && |
798 |
chmod +x "$as_me.lineno" || |
799 |
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
800 |
- { (exit 1); exit 1; }; } |
801 |
+ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
802 |
|
803 |
+ # If we had to re-execute with $CONFIG_SHELL, we're ensured to have |
804 |
+ # already done that, so ensure we don't try to do so again and fall |
805 |
+ # in an infinite loop. This has already happened in practice. |
806 |
+ _as_can_reexec=no; export _as_can_reexec |
807 |
# Don't try to exec as it changes $[0], causing all sort of problems |
808 |
# (the dirname of $[0] is not the place where we might find the |
809 |
# original and so on. Autoconf is especially sensitive to this). |
810 |
@@ -462,84 +497,55 @@ test \$exitcode = 0") || { |
811 |
exit |
812 |
} |
813 |
|
814 |
- |
815 |
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
816 |
- as_dirname=dirname |
817 |
-else |
818 |
- as_dirname=false |
819 |
-fi |
820 |
- |
821 |
ECHO_C= ECHO_N= ECHO_T= |
822 |
-case `echo -n x` in |
823 |
+case `echo -n x` in #((((( |
824 |
-n*) |
825 |
- case `echo 'x\c'` in |
826 |
+ case `echo 'xy\c'` in |
827 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
828 |
- *) ECHO_C='\c';; |
829 |
+ xy) ECHO_C='\c';; |
830 |
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
831 |
+ ECHO_T=' ';; |
832 |
esac;; |
833 |
*) |
834 |
ECHO_N='-n';; |
835 |
esac |
836 |
|
837 |
-if expr a : '\(a\)' >/dev/null 2>&1 && |
838 |
- test "X`expr 00001 : '.*\(...\)'`" = X001; then |
839 |
- as_expr=expr |
840 |
-else |
841 |
- as_expr=false |
842 |
-fi |
843 |
- |
844 |
rm -f conf$$ conf$$.exe conf$$.file |
845 |
if test -d conf$$.dir; then |
846 |
rm -f conf$$.dir/conf$$.file |
847 |
else |
848 |
rm -f conf$$.dir |
849 |
- mkdir conf$$.dir |
850 |
+ mkdir conf$$.dir 2>/dev/null |
851 |
fi |
852 |
-echo >conf$$.file |
853 |
-if ln -s conf$$.file conf$$ 2>/dev/null; then |
854 |
- as_ln_s='ln -s' |
855 |
- # ... but there are two gotchas: |
856 |
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
857 |
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
858 |
- # In both cases, we have to default to `cp -p'. |
859 |
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
860 |
- as_ln_s='cp -p' |
861 |
-elif ln conf$$.file conf$$ 2>/dev/null; then |
862 |
- as_ln_s=ln |
863 |
+if (echo >conf$$.file) 2>/dev/null; then |
864 |
+ if ln -s conf$$.file conf$$ 2>/dev/null; then |
865 |
+ as_ln_s='ln -s' |
866 |
+ # ... but there are two gotchas: |
867 |
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
868 |
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
869 |
+ # In both cases, we have to default to `cp -pR'. |
870 |
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
871 |
+ as_ln_s='cp -pR' |
872 |
+ elif ln conf$$.file conf$$ 2>/dev/null; then |
873 |
+ as_ln_s=ln |
874 |
+ else |
875 |
+ as_ln_s='cp -pR' |
876 |
+ fi |
877 |
else |
878 |
- as_ln_s='cp -p' |
879 |
+ as_ln_s='cp -pR' |
880 |
fi |
881 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
882 |
rmdir conf$$.dir 2>/dev/null |
883 |
|
884 |
if mkdir -p . 2>/dev/null; then |
885 |
- as_mkdir_p=: |
886 |
+ as_mkdir_p='mkdir -p "$as_dir"' |
887 |
else |
888 |
test -d ./-p && rmdir ./-p |
889 |
as_mkdir_p=false |
890 |
fi |
891 |
|
892 |
-if test -x / >/dev/null 2>&1; then |
893 |
- as_test_x='test -x' |
894 |
-else |
895 |
- if ls -dL / >/dev/null 2>&1; then |
896 |
- as_ls_L_option=L |
897 |
- else |
898 |
- as_ls_L_option= |
899 |
- fi |
900 |
- as_test_x=' |
901 |
- eval sh -c '\'' |
902 |
- if test -d "$1"; then |
903 |
- test -d "$1/."; |
904 |
- else |
905 |
- case $1 in |
906 |
- -*)set "./$1";; |
907 |
- esac; |
908 |
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
909 |
- ???[sx]*):;;*)false;;esac;fi |
910 |
- '\'' sh |
911 |
- ' |
912 |
-fi |
913 |
-as_executable_p=$as_test_x |
914 |
+as_test_x='test -x' |
915 |
+as_executable_p=as_fn_executable_p |
916 |
|
917 |
# Sed expression to map a string onto a valid CPP name. |
918 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
919 |
@@ -548,11 +554,11 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P |
920 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
921 |
|
922 |
|
923 |
- |
924 |
-exec 7<&0 </dev/null 6>&1 |
925 |
+test -n "$DJDIR" || exec 7<&0 </dev/null |
926 |
+exec 6>&1 |
927 |
|
928 |
# Name of the host. |
929 |
-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
930 |
+# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
931 |
# so uname gets run too. |
932 |
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
933 |
|
934 |
@@ -567,7 +573,6 @@ cross_compiling=no |
935 |
subdirs= |
936 |
MFLAGS= |
937 |
MAKEFLAGS= |
938 |
-SHELL=${CONFIG_SHELL-/bin/sh} |
939 |
|
940 |
# Identity of this package. |
941 |
PACKAGE_NAME= |
942 |
@@ -575,6 +580,7 @@ PACKAGE_TARNAME= |
943 |
PACKAGE_VERSION= |
944 |
PACKAGE_STRING= |
945 |
PACKAGE_BUGREPORT= |
946 |
+PACKAGE_URL= |
947 |
|
948 |
ac_unique_file="main.c" |
949 |
# Factoring default headers for most tests. |
950 |
@@ -613,100 +619,138 @@ ac_includes_default="\ |
951 |
# include <unistd.h> |
952 |
#endif" |
953 |
|
954 |
-ac_subst_vars='SHELL |
955 |
-PATH_SEPARATOR |
956 |
-PACKAGE_NAME |
957 |
-PACKAGE_TARNAME |
958 |
-PACKAGE_VERSION |
959 |
-PACKAGE_STRING |
960 |
-PACKAGE_BUGREPORT |
961 |
-exec_prefix |
962 |
-prefix |
963 |
-program_transform_name |
964 |
-bindir |
965 |
-sbindir |
966 |
-libexecdir |
967 |
-datarootdir |
968 |
-datadir |
969 |
-sysconfdir |
970 |
-sharedstatedir |
971 |
-localstatedir |
972 |
-includedir |
973 |
-oldincludedir |
974 |
-docdir |
975 |
-infodir |
976 |
-htmldir |
977 |
-dvidir |
978 |
-pdfdir |
979 |
-psdir |
980 |
-libdir |
981 |
-localedir |
982 |
-mandir |
983 |
-DEFS |
984 |
-ECHO_C |
985 |
-ECHO_N |
986 |
-ECHO_T |
987 |
-LIBS |
988 |
-build_alias |
989 |
-host_alias |
990 |
-target_alias |
991 |
-INSTALL_PROGRAM |
992 |
-INSTALL_SCRIPT |
993 |
-INSTALL_DATA |
994 |
-CYGPATH_W |
995 |
-PACKAGE |
996 |
-VERSION |
997 |
-ACLOCAL |
998 |
-AUTOCONF |
999 |
-AUTOMAKE |
1000 |
-AUTOHEADER |
1001 |
-MAKEINFO |
1002 |
-install_sh |
1003 |
-STRIP |
1004 |
-INSTALL_STRIP_PROGRAM |
1005 |
-mkdir_p |
1006 |
-AWK |
1007 |
-SET_MAKE |
1008 |
-am__leading_dot |
1009 |
-AMTAR |
1010 |
-am__tar |
1011 |
-am__untar |
1012 |
-CC |
1013 |
-CFLAGS |
1014 |
-LDFLAGS |
1015 |
-CPPFLAGS |
1016 |
-ac_ct_CC |
1017 |
-EXEEXT |
1018 |
-OBJEXT |
1019 |
-DEPDIR |
1020 |
-am__include |
1021 |
-am__quote |
1022 |
-AMDEP_TRUE |
1023 |
-AMDEP_FALSE |
1024 |
-AMDEPBACKSLASH |
1025 |
-CCDEPMODE |
1026 |
-am__fastdepCC_TRUE |
1027 |
-am__fastdepCC_FALSE |
1028 |
-CXX |
1029 |
-CXXFLAGS |
1030 |
-ac_ct_CXX |
1031 |
-CXXDEPMODE |
1032 |
-am__fastdepCXX_TRUE |
1033 |
-am__fastdepCXX_FALSE |
1034 |
-RANLIB |
1035 |
-CPP |
1036 |
-GREP |
1037 |
-EGREP |
1038 |
-LIBOBJS |
1039 |
-GRAPHICS_TRUE |
1040 |
-GRAPHICS_FALSE |
1041 |
-DIRECTFB_CONFIG |
1042 |
-XMKMF |
1043 |
-ATHEOS_GR_TRUE |
1044 |
-ATHEOS_GR_FALSE |
1045 |
+ac_subst_vars='am__EXEEXT_FALSE |
1046 |
+am__EXEEXT_TRUE |
1047 |
+LTLIBOBJS |
1048 |
FREETYPE |
1049 |
-LTLIBOBJS' |
1050 |
+ATHEOS_GR_FALSE |
1051 |
+ATHEOS_GR_TRUE |
1052 |
+XMKMF |
1053 |
+DIRECTFB_CONFIG |
1054 |
+GRAPHICS_FALSE |
1055 |
+GRAPHICS_TRUE |
1056 |
+LIBOBJS |
1057 |
+EGREP |
1058 |
+GREP |
1059 |
+CPP |
1060 |
+RANLIB |
1061 |
+am__fastdepCXX_FALSE |
1062 |
+am__fastdepCXX_TRUE |
1063 |
+CXXDEPMODE |
1064 |
+ac_ct_CXX |
1065 |
+CXXFLAGS |
1066 |
+CXX |
1067 |
+am__fastdepCC_FALSE |
1068 |
+am__fastdepCC_TRUE |
1069 |
+CCDEPMODE |
1070 |
+am__nodep |
1071 |
+AMDEPBACKSLASH |
1072 |
+AMDEP_FALSE |
1073 |
+AMDEP_TRUE |
1074 |
+am__quote |
1075 |
+am__include |
1076 |
+DEPDIR |
1077 |
+OBJEXT |
1078 |
+EXEEXT |
1079 |
+ac_ct_CC |
1080 |
+CPPFLAGS |
1081 |
+LDFLAGS |
1082 |
+CFLAGS |
1083 |
+CC |
1084 |
+AM_BACKSLASH |
1085 |
+AM_DEFAULT_VERBOSITY |
1086 |
+AM_DEFAULT_V |
1087 |
+AM_V |
1088 |
+am__untar |
1089 |
+am__tar |
1090 |
+AMTAR |
1091 |
+am__leading_dot |
1092 |
+SET_MAKE |
1093 |
+AWK |
1094 |
+mkdir_p |
1095 |
+MKDIR_P |
1096 |
+INSTALL_STRIP_PROGRAM |
1097 |
+STRIP |
1098 |
+install_sh |
1099 |
+MAKEINFO |
1100 |
+AUTOHEADER |
1101 |
+AUTOMAKE |
1102 |
+AUTOCONF |
1103 |
+ACLOCAL |
1104 |
+VERSION |
1105 |
+PACKAGE |
1106 |
+CYGPATH_W |
1107 |
+am__isrc |
1108 |
+INSTALL_DATA |
1109 |
+INSTALL_SCRIPT |
1110 |
+INSTALL_PROGRAM |
1111 |
+target_alias |
1112 |
+host_alias |
1113 |
+build_alias |
1114 |
+LIBS |
1115 |
+ECHO_T |
1116 |
+ECHO_N |
1117 |
+ECHO_C |
1118 |
+DEFS |
1119 |
+mandir |
1120 |
+localedir |
1121 |
+libdir |
1122 |
+psdir |
1123 |
+pdfdir |
1124 |
+dvidir |
1125 |
+htmldir |
1126 |
+infodir |
1127 |
+docdir |
1128 |
+oldincludedir |
1129 |
+includedir |
1130 |
+localstatedir |
1131 |
+sharedstatedir |
1132 |
+sysconfdir |
1133 |
+datadir |
1134 |
+datarootdir |
1135 |
+libexecdir |
1136 |
+sbindir |
1137 |
+bindir |
1138 |
+program_transform_name |
1139 |
+prefix |
1140 |
+exec_prefix |
1141 |
+PACKAGE_URL |
1142 |
+PACKAGE_BUGREPORT |
1143 |
+PACKAGE_STRING |
1144 |
+PACKAGE_VERSION |
1145 |
+PACKAGE_TARNAME |
1146 |
+PACKAGE_NAME |
1147 |
+PATH_SEPARATOR |
1148 |
+SHELL' |
1149 |
ac_subst_files='' |
1150 |
+ac_user_opts=' |
1151 |
+enable_option_checking |
1152 |
+enable_silent_rules |
1153 |
+enable_dependency_tracking |
1154 |
+enable_form_saving |
1155 |
+enable_javascript |
1156 |
+with_libfl |
1157 |
+enable_graphics |
1158 |
+enable_static |
1159 |
+with_lua |
1160 |
+with_zlib |
1161 |
+with_bzlib |
1162 |
+with_ssl |
1163 |
+with_libjpeg |
1164 |
+with_libtiff |
1165 |
+with_libgd |
1166 |
+with_svgalib |
1167 |
+with_x |
1168 |
+with_joyfb |
1169 |
+with_fb |
1170 |
+with_directfb |
1171 |
+with_pmshell |
1172 |
+with_atheos |
1173 |
+with_freetype |
1174 |
+enable_globhist |
1175 |
+enable_backtrace |
1176 |
+enable_gamma_correction |
1177 |
+' |
1178 |
ac_precious_vars='build_alias |
1179 |
host_alias |
1180 |
target_alias |
1181 |
@@ -725,6 +769,8 @@ XMKMF' |
1182 |
# Initialize some variables set by options. |
1183 |
ac_init_help= |
1184 |
ac_init_version=false |
1185 |
+ac_unrecognized_opts= |
1186 |
+ac_unrecognized_sep= |
1187 |
# The variables have the same names as the options, with |
1188 |
# dashes changed to underlines. |
1189 |
cache_file=/dev/null |
1190 |
@@ -780,8 +826,9 @@ do |
1191 |
fi |
1192 |
|
1193 |
case $ac_option in |
1194 |
- *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
1195 |
- *) ac_optarg=yes ;; |
1196 |
+ *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
1197 |
+ *=) ac_optarg= ;; |
1198 |
+ *) ac_optarg=yes ;; |
1199 |
esac |
1200 |
|
1201 |
# Accept the important Cygnus configure options, so we can diagnose typos. |
1202 |
@@ -823,13 +870,20 @@ do |
1203 |
datarootdir=$ac_optarg ;; |
1204 |
|
1205 |
-disable-* | --disable-*) |
1206 |
- ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
1207 |
+ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
1208 |
# Reject names that are not valid shell variable names. |
1209 |
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1210 |
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
1211 |
- { (exit 1); exit 1; }; } |
1212 |
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
1213 |
- eval enable_$ac_feature=no ;; |
1214 |
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1215 |
+ as_fn_error $? "invalid feature name: $ac_useropt" |
1216 |
+ ac_useropt_orig=$ac_useropt |
1217 |
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1218 |
+ case $ac_user_opts in |
1219 |
+ *" |
1220 |
+"enable_$ac_useropt" |
1221 |
+"*) ;; |
1222 |
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
1223 |
+ ac_unrecognized_sep=', ';; |
1224 |
+ esac |
1225 |
+ eval enable_$ac_useropt=no ;; |
1226 |
|
1227 |
-docdir | --docdir | --docdi | --doc | --do) |
1228 |
ac_prev=docdir ;; |
1229 |
@@ -842,13 +896,20 @@ do |
1230 |
dvidir=$ac_optarg ;; |
1231 |
|
1232 |
-enable-* | --enable-*) |
1233 |
- ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
1234 |
+ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
1235 |
# Reject names that are not valid shell variable names. |
1236 |
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1237 |
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
1238 |
- { (exit 1); exit 1; }; } |
1239 |
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
1240 |
- eval enable_$ac_feature=\$ac_optarg ;; |
1241 |
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1242 |
+ as_fn_error $? "invalid feature name: $ac_useropt" |
1243 |
+ ac_useropt_orig=$ac_useropt |
1244 |
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1245 |
+ case $ac_user_opts in |
1246 |
+ *" |
1247 |
+"enable_$ac_useropt" |
1248 |
+"*) ;; |
1249 |
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
1250 |
+ ac_unrecognized_sep=', ';; |
1251 |
+ esac |
1252 |
+ eval enable_$ac_useropt=\$ac_optarg ;; |
1253 |
|
1254 |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
1255 |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
1256 |
@@ -1039,22 +1100,36 @@ do |
1257 |
ac_init_version=: ;; |
1258 |
|
1259 |
-with-* | --with-*) |
1260 |
- ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1261 |
+ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1262 |
# Reject names that are not valid shell variable names. |
1263 |
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1264 |
- { echo "$as_me: error: invalid package name: $ac_package" >&2 |
1265 |
- { (exit 1); exit 1; }; } |
1266 |
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
1267 |
- eval with_$ac_package=\$ac_optarg ;; |
1268 |
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1269 |
+ as_fn_error $? "invalid package name: $ac_useropt" |
1270 |
+ ac_useropt_orig=$ac_useropt |
1271 |
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1272 |
+ case $ac_user_opts in |
1273 |
+ *" |
1274 |
+"with_$ac_useropt" |
1275 |
+"*) ;; |
1276 |
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
1277 |
+ ac_unrecognized_sep=', ';; |
1278 |
+ esac |
1279 |
+ eval with_$ac_useropt=\$ac_optarg ;; |
1280 |
|
1281 |
-without-* | --without-*) |
1282 |
- ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1283 |
+ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1284 |
# Reject names that are not valid shell variable names. |
1285 |
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1286 |
- { echo "$as_me: error: invalid package name: $ac_package" >&2 |
1287 |
- { (exit 1); exit 1; }; } |
1288 |
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
1289 |
- eval with_$ac_package=no ;; |
1290 |
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1291 |
+ as_fn_error $? "invalid package name: $ac_useropt" |
1292 |
+ ac_useropt_orig=$ac_useropt |
1293 |
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1294 |
+ case $ac_user_opts in |
1295 |
+ *" |
1296 |
+"with_$ac_useropt" |
1297 |
+"*) ;; |
1298 |
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
1299 |
+ ac_unrecognized_sep=', ';; |
1300 |
+ esac |
1301 |
+ eval with_$ac_useropt=no ;; |
1302 |
|
1303 |
--x) |
1304 |
# Obsolete; use --with-x. |
1305 |
@@ -1074,26 +1149,26 @@ do |
1306 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1307 |
x_libraries=$ac_optarg ;; |
1308 |
|
1309 |
- -*) { echo "$as_me: error: unrecognized option: $ac_option |
1310 |
-Try \`$0 --help' for more information." >&2 |
1311 |
- { (exit 1); exit 1; }; } |
1312 |
+ -*) as_fn_error $? "unrecognized option: \`$ac_option' |
1313 |
+Try \`$0 --help' for more information" |
1314 |
;; |
1315 |
|
1316 |
*=*) |
1317 |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1318 |
# Reject names that are not valid shell variable names. |
1319 |
- expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
1320 |
- { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
1321 |
- { (exit 1); exit 1; }; } |
1322 |
+ case $ac_envvar in #( |
1323 |
+ '' | [0-9]* | *[!_$as_cr_alnum]* ) |
1324 |
+ as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
1325 |
+ esac |
1326 |
eval $ac_envvar=\$ac_optarg |
1327 |
export $ac_envvar ;; |
1328 |
|
1329 |
*) |
1330 |
# FIXME: should be removed in autoconf 3.0. |
1331 |
- echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1332 |
+ $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1333 |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1334 |
- echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1335 |
- : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
1336 |
+ $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1337 |
+ : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
1338 |
;; |
1339 |
|
1340 |
esac |
1341 |
@@ -1101,23 +1176,36 @@ done |
1342 |
|
1343 |
if test -n "$ac_prev"; then |
1344 |
ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1345 |
- { echo "$as_me: error: missing argument to $ac_option" >&2 |
1346 |
- { (exit 1); exit 1; }; } |
1347 |
+ as_fn_error $? "missing argument to $ac_option" |
1348 |
fi |
1349 |
|
1350 |
-# Be sure to have absolute directory names. |
1351 |
+if test -n "$ac_unrecognized_opts"; then |
1352 |
+ case $enable_option_checking in |
1353 |
+ no) ;; |
1354 |
+ fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
1355 |
+ *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1356 |
+ esac |
1357 |
+fi |
1358 |
+ |
1359 |
+# Check all directory arguments for consistency. |
1360 |
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1361 |
datadir sysconfdir sharedstatedir localstatedir includedir \ |
1362 |
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
1363 |
libdir localedir mandir |
1364 |
do |
1365 |
eval ac_val=\$$ac_var |
1366 |
+ # Remove trailing slashes. |
1367 |
+ case $ac_val in |
1368 |
+ */ ) |
1369 |
+ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
1370 |
+ eval $ac_var=\$ac_val;; |
1371 |
+ esac |
1372 |
+ # Be sure to have absolute directory names. |
1373 |
case $ac_val in |
1374 |
[\\/$]* | ?:[\\/]* ) continue;; |
1375 |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1376 |
esac |
1377 |
- { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
1378 |
- { (exit 1); exit 1; }; } |
1379 |
+ as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
1380 |
done |
1381 |
|
1382 |
# There might be people who depend on the old broken behavior: `$host' |
1383 |
@@ -1131,8 +1219,6 @@ target=$target_alias |
1384 |
if test "x$host_alias" != x; then |
1385 |
if test "x$build_alias" = x; then |
1386 |
cross_compiling=maybe |
1387 |
- echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
1388 |
- If a cross compiler is detected then cross compile mode will be used." >&2 |
1389 |
elif test "x$build_alias" != "x$host_alias"; then |
1390 |
cross_compiling=yes |
1391 |
fi |
1392 |
@@ -1147,23 +1233,21 @@ test "$silent" = yes && exec 6>/dev/null |
1393 |
ac_pwd=`pwd` && test -n "$ac_pwd" && |
1394 |
ac_ls_di=`ls -di .` && |
1395 |
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1396 |
- { echo "$as_me: error: Working directory cannot be determined" >&2 |
1397 |
- { (exit 1); exit 1; }; } |
1398 |
+ as_fn_error $? "working directory cannot be determined" |
1399 |
test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1400 |
- { echo "$as_me: error: pwd does not report name of working directory" >&2 |
1401 |
- { (exit 1); exit 1; }; } |
1402 |
+ as_fn_error $? "pwd does not report name of working directory" |
1403 |
|
1404 |
|
1405 |
# Find the source files, if location was not specified. |
1406 |
if test -z "$srcdir"; then |
1407 |
ac_srcdir_defaulted=yes |
1408 |
# Try the directory containing this script, then the parent directory. |
1409 |
- ac_confdir=`$as_dirname -- "$0" || |
1410 |
-$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
1411 |
- X"$0" : 'X\(//\)[^/]' \| \ |
1412 |
- X"$0" : 'X\(//\)$' \| \ |
1413 |
- X"$0" : 'X\(/\)' \| . 2>/dev/null || |
1414 |
-echo X"$0" | |
1415 |
+ ac_confdir=`$as_dirname -- "$as_myself" || |
1416 |
+$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
1417 |
+ X"$as_myself" : 'X\(//\)[^/]' \| \ |
1418 |
+ X"$as_myself" : 'X\(//\)$' \| \ |
1419 |
+ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
1420 |
+$as_echo X"$as_myself" | |
1421 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
1422 |
s//\1/ |
1423 |
q |
1424 |
@@ -1190,13 +1274,11 @@ else |
1425 |
fi |
1426 |
if test ! -r "$srcdir/$ac_unique_file"; then |
1427 |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1428 |
- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
1429 |
- { (exit 1); exit 1; }; } |
1430 |
+ as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
1431 |
fi |
1432 |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1433 |
ac_abs_confdir=`( |
1434 |
- cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 |
1435 |
- { (exit 1); exit 1; }; } |
1436 |
+ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
1437 |
pwd)` |
1438 |
# When building in place, set srcdir=. |
1439 |
if test "$ac_abs_confdir" = "$ac_pwd"; then |
1440 |
@@ -1236,7 +1318,7 @@ Configuration: |
1441 |
--help=short display options specific to this package |
1442 |
--help=recursive display the short help of all the included packages |
1443 |
-V, --version display version information and exit |
1444 |
- -q, --quiet, --silent do not print \`checking...' messages |
1445 |
+ -q, --quiet, --silent do not print \`checking ...' messages |
1446 |
--cache-file=FILE cache test results in FILE [disabled] |
1447 |
-C, --config-cache alias for \`--cache-file=config.cache' |
1448 |
-n, --no-create do not create output files |
1449 |
@@ -1244,9 +1326,9 @@ Configuration: |
1450 |
|
1451 |
Installation directories: |
1452 |
--prefix=PREFIX install architecture-independent files in PREFIX |
1453 |
- [$ac_default_prefix] |
1454 |
+ [$ac_default_prefix] |
1455 |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
1456 |
- [PREFIX] |
1457 |
+ [PREFIX] |
1458 |
|
1459 |
By default, \`make install' will install all the files in |
1460 |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
1461 |
@@ -1256,25 +1338,25 @@ for instance \`--prefix=\$HOME'. |
1462 |
For better control, use the options below. |
1463 |
|
1464 |
Fine tuning of the installation directories: |
1465 |
- --bindir=DIR user executables [EPREFIX/bin] |
1466 |
- --sbindir=DIR system admin executables [EPREFIX/sbin] |
1467 |
- --libexecdir=DIR program executables [EPREFIX/libexec] |
1468 |
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1469 |
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1470 |
- --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
1471 |
- --libdir=DIR object code libraries [EPREFIX/lib] |
1472 |
- --includedir=DIR C header files [PREFIX/include] |
1473 |
- --oldincludedir=DIR C header files for non-gcc [/usr/include] |
1474 |
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
1475 |
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
1476 |
- --infodir=DIR info documentation [DATAROOTDIR/info] |
1477 |
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
1478 |
- --mandir=DIR man documentation [DATAROOTDIR/man] |
1479 |
- --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] |
1480 |
- --htmldir=DIR html documentation [DOCDIR] |
1481 |
- --dvidir=DIR dvi documentation [DOCDIR] |
1482 |
- --pdfdir=DIR pdf documentation [DOCDIR] |
1483 |
- --psdir=DIR ps documentation [DOCDIR] |
1484 |
+ --bindir=DIR user executables [EPREFIX/bin] |
1485 |
+ --sbindir=DIR system admin executables [EPREFIX/sbin] |
1486 |
+ --libexecdir=DIR program executables [EPREFIX/libexec] |
1487 |
+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1488 |
+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1489 |
+ --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
1490 |
+ --libdir=DIR object code libraries [EPREFIX/lib] |
1491 |
+ --includedir=DIR C header files [PREFIX/include] |
1492 |
+ --oldincludedir=DIR C header files for non-gcc [/usr/include] |
1493 |
+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
1494 |
+ --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
1495 |
+ --infodir=DIR info documentation [DATAROOTDIR/info] |
1496 |
+ --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
1497 |
+ --mandir=DIR man documentation [DATAROOTDIR/man] |
1498 |
+ --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] |
1499 |
+ --htmldir=DIR html documentation [DOCDIR] |
1500 |
+ --dvidir=DIR dvi documentation [DOCDIR] |
1501 |
+ --pdfdir=DIR pdf documentation [DOCDIR] |
1502 |
+ --psdir=DIR ps documentation [DOCDIR] |
1503 |
_ACEOF |
1504 |
|
1505 |
cat <<\_ACEOF |
1506 |
@@ -1295,10 +1377,15 @@ if test -n "$ac_init_help"; then |
1507 |
cat <<\_ACEOF |
1508 |
|
1509 |
Optional Features: |
1510 |
+ --disable-option-checking ignore unrecognized --enable/--with options |
1511 |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1512 |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1513 |
- --disable-dependency-tracking speeds up one-time build |
1514 |
- --enable-dependency-tracking do not reject slow dependency extractors |
1515 |
+ --enable-silent-rules less verbose build output (undo: "make V=1") |
1516 |
+ --disable-silent-rules verbose build output (undo: "make V=0") |
1517 |
+ --enable-dependency-tracking |
1518 |
+ do not reject slow dependency extractors |
1519 |
+ --disable-dependency-tracking |
1520 |
+ speeds up one-time build |
1521 |
--enable-form-saving enable form saving/loading support |
1522 |
--enable-javascript use javascript interpreter |
1523 |
--enable-graphics use graphics |
1524 |
@@ -1334,7 +1421,7 @@ Some influential environment variables: |
1525 |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1526 |
nonstandard directory <lib dir> |
1527 |
LIBS libraries to pass to the linker, e.g. -l<library> |
1528 |
- CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
1529 |
+ CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
1530 |
you have headers in a nonstandard directory <include dir> |
1531 |
CXX C++ compiler command |
1532 |
CXXFLAGS C++ compiler flags |
1533 |
@@ -1344,6 +1431,7 @@ Some influential environment variables: |
1534 |
Use these variables to override the choices made by `configure' or to help |
1535 |
it to find libraries and programs with nonstandard names/locations. |
1536 |
|
1537 |
+Report bugs to the package provider. |
1538 |
_ACEOF |
1539 |
ac_status=$? |
1540 |
fi |
1541 |
@@ -1351,15 +1439,17 @@ fi |
1542 |
if test "$ac_init_help" = "recursive"; then |
1543 |
# If there are subdirs, report their specific --help. |
1544 |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
1545 |
- test -d "$ac_dir" || continue |
1546 |
+ test -d "$ac_dir" || |
1547 |
+ { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
1548 |
+ continue |
1549 |
ac_builddir=. |
1550 |
|
1551 |
case "$ac_dir" in |
1552 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1553 |
*) |
1554 |
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
1555 |
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
1556 |
# A ".." for each directory in $ac_dir_suffix. |
1557 |
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
1558 |
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
1559 |
case $ac_top_builddir_sub in |
1560 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1561 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
1562 |
@@ -1395,7 +1485,7 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_ |
1563 |
echo && |
1564 |
$SHELL "$ac_srcdir/configure" --help=recursive |
1565 |
else |
1566 |
- echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1567 |
+ $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1568 |
fi || ac_status=$? |
1569 |
cd "$ac_pwd" || { ac_status=$?; break; } |
1570 |
done |
1571 |
@@ -1405,21 +1495,647 @@ test -n "$ac_init_help" && exit $ac_stat |
1572 |
if $ac_init_version; then |
1573 |
cat <<\_ACEOF |
1574 |
configure |
1575 |
-generated by GNU Autoconf 2.61 |
1576 |
+generated by GNU Autoconf 2.69 |
1577 |
|
1578 |
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
1579 |
-2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
1580 |
+Copyright (C) 2012 Free Software Foundation, Inc. |
1581 |
This configure script is free software; the Free Software Foundation |
1582 |
gives unlimited permission to copy, distribute and modify it. |
1583 |
_ACEOF |
1584 |
exit |
1585 |
fi |
1586 |
+ |
1587 |
+## ------------------------ ## |
1588 |
+## Autoconf initialization. ## |
1589 |
+## ------------------------ ## |
1590 |
+ |
1591 |
+# ac_fn_c_try_compile LINENO |
1592 |
+# -------------------------- |
1593 |
+# Try to compile conftest.$ac_ext, and return whether this succeeded. |
1594 |
+ac_fn_c_try_compile () |
1595 |
+{ |
1596 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1597 |
+ rm -f conftest.$ac_objext |
1598 |
+ if { { ac_try="$ac_compile" |
1599 |
+case "(($ac_try" in |
1600 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1601 |
+ *) ac_try_echo=$ac_try;; |
1602 |
+esac |
1603 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1604 |
+$as_echo "$ac_try_echo"; } >&5 |
1605 |
+ (eval "$ac_compile") 2>conftest.err |
1606 |
+ ac_status=$? |
1607 |
+ if test -s conftest.err; then |
1608 |
+ grep -v '^ *+' conftest.err >conftest.er1 |
1609 |
+ cat conftest.er1 >&5 |
1610 |
+ mv -f conftest.er1 conftest.err |
1611 |
+ fi |
1612 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1613 |
+ test $ac_status = 0; } && { |
1614 |
+ test -z "$ac_c_werror_flag" || |
1615 |
+ test ! -s conftest.err |
1616 |
+ } && test -s conftest.$ac_objext; then : |
1617 |
+ ac_retval=0 |
1618 |
+else |
1619 |
+ $as_echo "$as_me: failed program was:" >&5 |
1620 |
+sed 's/^/| /' conftest.$ac_ext >&5 |
1621 |
+ |
1622 |
+ ac_retval=1 |
1623 |
+fi |
1624 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1625 |
+ as_fn_set_status $ac_retval |
1626 |
+ |
1627 |
+} # ac_fn_c_try_compile |
1628 |
+ |
1629 |
+# ac_fn_cxx_try_compile LINENO |
1630 |
+# ---------------------------- |
1631 |
+# Try to compile conftest.$ac_ext, and return whether this succeeded. |
1632 |
+ac_fn_cxx_try_compile () |
1633 |
+{ |
1634 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1635 |
+ rm -f conftest.$ac_objext |
1636 |
+ if { { ac_try="$ac_compile" |
1637 |
+case "(($ac_try" in |
1638 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1639 |
+ *) ac_try_echo=$ac_try;; |
1640 |
+esac |
1641 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1642 |
+$as_echo "$ac_try_echo"; } >&5 |
1643 |
+ (eval "$ac_compile") 2>conftest.err |
1644 |
+ ac_status=$? |
1645 |
+ if test -s conftest.err; then |
1646 |
+ grep -v '^ *+' conftest.err >conftest.er1 |
1647 |
+ cat conftest.er1 >&5 |
1648 |
+ mv -f conftest.er1 conftest.err |
1649 |
+ fi |
1650 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1651 |
+ test $ac_status = 0; } && { |
1652 |
+ test -z "$ac_cxx_werror_flag" || |
1653 |
+ test ! -s conftest.err |
1654 |
+ } && test -s conftest.$ac_objext; then : |
1655 |
+ ac_retval=0 |
1656 |
+else |
1657 |
+ $as_echo "$as_me: failed program was:" >&5 |
1658 |
+sed 's/^/| /' conftest.$ac_ext >&5 |
1659 |
+ |
1660 |
+ ac_retval=1 |
1661 |
+fi |
1662 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1663 |
+ as_fn_set_status $ac_retval |
1664 |
+ |
1665 |
+} # ac_fn_cxx_try_compile |
1666 |
+ |
1667 |
+# ac_fn_c_try_link LINENO |
1668 |
+# ----------------------- |
1669 |
+# Try to link conftest.$ac_ext, and return whether this succeeded. |
1670 |
+ac_fn_c_try_link () |
1671 |
+{ |
1672 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1673 |
+ rm -f conftest.$ac_objext conftest$ac_exeext |
1674 |
+ if { { ac_try="$ac_link" |
1675 |
+case "(($ac_try" in |
1676 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1677 |
+ *) ac_try_echo=$ac_try;; |
1678 |
+esac |
1679 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1680 |
+$as_echo "$ac_try_echo"; } >&5 |
1681 |
+ (eval "$ac_link") 2>conftest.err |
1682 |
+ ac_status=$? |
1683 |
+ if test -s conftest.err; then |
1684 |
+ grep -v '^ *+' conftest.err >conftest.er1 |
1685 |
+ cat conftest.er1 >&5 |
1686 |
+ mv -f conftest.er1 conftest.err |
1687 |
+ fi |
1688 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1689 |
+ test $ac_status = 0; } && { |
1690 |
+ test -z "$ac_c_werror_flag" || |
1691 |
+ test ! -s conftest.err |
1692 |
+ } && test -s conftest$ac_exeext && { |
1693 |
+ test "$cross_compiling" = yes || |
1694 |
+ test -x conftest$ac_exeext |
1695 |
+ }; then : |
1696 |
+ ac_retval=0 |
1697 |
+else |
1698 |
+ $as_echo "$as_me: failed program was:" >&5 |
1699 |
+sed 's/^/| /' conftest.$ac_ext >&5 |
1700 |
+ |
1701 |
+ ac_retval=1 |
1702 |
+fi |
1703 |
+ # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
1704 |
+ # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
1705 |
+ # interfere with the next link command; also delete a directory that is |
1706 |
+ # left behind by Apple's compiler. We do this before executing the actions. |
1707 |
+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1708 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1709 |
+ as_fn_set_status $ac_retval |
1710 |
+ |
1711 |
+} # ac_fn_c_try_link |
1712 |
+ |
1713 |
+# ac_fn_c_try_cpp LINENO |
1714 |
+# ---------------------- |
1715 |
+# Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
1716 |
+ac_fn_c_try_cpp () |
1717 |
+{ |
1718 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1719 |
+ if { { ac_try="$ac_cpp conftest.$ac_ext" |
1720 |
+case "(($ac_try" in |
1721 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1722 |
+ *) ac_try_echo=$ac_try;; |
1723 |
+esac |
1724 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1725 |
+$as_echo "$ac_try_echo"; } >&5 |
1726 |
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
1727 |
+ ac_status=$? |
1728 |
+ if test -s conftest.err; then |
1729 |
+ grep -v '^ *+' conftest.err >conftest.er1 |
1730 |
+ cat conftest.er1 >&5 |
1731 |
+ mv -f conftest.er1 conftest.err |
1732 |
+ fi |
1733 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1734 |
+ test $ac_status = 0; } > conftest.i && { |
1735 |
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
1736 |
+ test ! -s conftest.err |
1737 |
+ }; then : |
1738 |
+ ac_retval=0 |
1739 |
+else |
1740 |
+ $as_echo "$as_me: failed program was:" >&5 |
1741 |
+sed 's/^/| /' conftest.$ac_ext >&5 |
1742 |
+ |
1743 |
+ ac_retval=1 |
1744 |
+fi |
1745 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1746 |
+ as_fn_set_status $ac_retval |
1747 |
+ |
1748 |
+} # ac_fn_c_try_cpp |
1749 |
+ |
1750 |
+# ac_fn_c_try_run LINENO |
1751 |
+# ---------------------- |
1752 |
+# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
1753 |
+# that executables *can* be run. |
1754 |
+ac_fn_c_try_run () |
1755 |
+{ |
1756 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1757 |
+ if { { ac_try="$ac_link" |
1758 |
+case "(($ac_try" in |
1759 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1760 |
+ *) ac_try_echo=$ac_try;; |
1761 |
+esac |
1762 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1763 |
+$as_echo "$ac_try_echo"; } >&5 |
1764 |
+ (eval "$ac_link") 2>&5 |
1765 |
+ ac_status=$? |
1766 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1767 |
+ test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
1768 |
+ { { case "(($ac_try" in |
1769 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1770 |
+ *) ac_try_echo=$ac_try;; |
1771 |
+esac |
1772 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1773 |
+$as_echo "$ac_try_echo"; } >&5 |
1774 |
+ (eval "$ac_try") 2>&5 |
1775 |
+ ac_status=$? |
1776 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1777 |
+ test $ac_status = 0; }; }; then : |
1778 |
+ ac_retval=0 |
1779 |
+else |
1780 |
+ $as_echo "$as_me: program exited with status $ac_status" >&5 |
1781 |
+ $as_echo "$as_me: failed program was:" >&5 |
1782 |
+sed 's/^/| /' conftest.$ac_ext >&5 |
1783 |
+ |
1784 |
+ ac_retval=$ac_status |
1785 |
+fi |
1786 |
+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1787 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1788 |
+ as_fn_set_status $ac_retval |
1789 |
+ |
1790 |
+} # ac_fn_c_try_run |
1791 |
+ |
1792 |
+# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
1793 |
+# ------------------------------------------------------- |
1794 |
+# Tests whether HEADER exists, giving a warning if it cannot be compiled using |
1795 |
+# the include files in INCLUDES and setting the cache variable VAR |
1796 |
+# accordingly. |
1797 |
+ac_fn_c_check_header_mongrel () |
1798 |
+{ |
1799 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1800 |
+ if eval \${$3+:} false; then : |
1801 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1802 |
+$as_echo_n "checking for $2... " >&6; } |
1803 |
+if eval \${$3+:} false; then : |
1804 |
+ $as_echo_n "(cached) " >&6 |
1805 |
+fi |
1806 |
+eval ac_res=\$$3 |
1807 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1808 |
+$as_echo "$ac_res" >&6; } |
1809 |
+else |
1810 |
+ # Is the header compilable? |
1811 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 |
1812 |
+$as_echo_n "checking $2 usability... " >&6; } |
1813 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1814 |
+/* end confdefs.h. */ |
1815 |
+$4 |
1816 |
+#include <$2> |
1817 |
+_ACEOF |
1818 |
+if ac_fn_c_try_compile "$LINENO"; then : |
1819 |
+ ac_header_compiler=yes |
1820 |
+else |
1821 |
+ ac_header_compiler=no |
1822 |
+fi |
1823 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1824 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 |
1825 |
+$as_echo "$ac_header_compiler" >&6; } |
1826 |
+ |
1827 |
+# Is the header present? |
1828 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 |
1829 |
+$as_echo_n "checking $2 presence... " >&6; } |
1830 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1831 |
+/* end confdefs.h. */ |
1832 |
+#include <$2> |
1833 |
+_ACEOF |
1834 |
+if ac_fn_c_try_cpp "$LINENO"; then : |
1835 |
+ ac_header_preproc=yes |
1836 |
+else |
1837 |
+ ac_header_preproc=no |
1838 |
+fi |
1839 |
+rm -f conftest.err conftest.i conftest.$ac_ext |
1840 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
1841 |
+$as_echo "$ac_header_preproc" >&6; } |
1842 |
+ |
1843 |
+# So? What about this header? |
1844 |
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
1845 |
+ yes:no: ) |
1846 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 |
1847 |
+$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} |
1848 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
1849 |
+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1850 |
+ ;; |
1851 |
+ no:yes:* ) |
1852 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 |
1853 |
+$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} |
1854 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 |
1855 |
+$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} |
1856 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 |
1857 |
+$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
1858 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 |
1859 |
+$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
1860 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
1861 |
+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1862 |
+ ;; |
1863 |
+esac |
1864 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1865 |
+$as_echo_n "checking for $2... " >&6; } |
1866 |
+if eval \${$3+:} false; then : |
1867 |
+ $as_echo_n "(cached) " >&6 |
1868 |
+else |
1869 |
+ eval "$3=\$ac_header_compiler" |
1870 |
+fi |
1871 |
+eval ac_res=\$$3 |
1872 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1873 |
+$as_echo "$ac_res" >&6; } |
1874 |
+fi |
1875 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1876 |
+ |
1877 |
+} # ac_fn_c_check_header_mongrel |
1878 |
+ |
1879 |
+# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
1880 |
+# ------------------------------------------------------- |
1881 |
+# Tests whether HEADER exists and can be compiled using the include files in |
1882 |
+# INCLUDES, setting the cache variable VAR accordingly. |
1883 |
+ac_fn_c_check_header_compile () |
1884 |
+{ |
1885 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1886 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1887 |
+$as_echo_n "checking for $2... " >&6; } |
1888 |
+if eval \${$3+:} false; then : |
1889 |
+ $as_echo_n "(cached) " >&6 |
1890 |
+else |
1891 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1892 |
+/* end confdefs.h. */ |
1893 |
+$4 |
1894 |
+#include <$2> |
1895 |
+_ACEOF |
1896 |
+if ac_fn_c_try_compile "$LINENO"; then : |
1897 |
+ eval "$3=yes" |
1898 |
+else |
1899 |
+ eval "$3=no" |
1900 |
+fi |
1901 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1902 |
+fi |
1903 |
+eval ac_res=\$$3 |
1904 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1905 |
+$as_echo "$ac_res" >&6; } |
1906 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1907 |
+ |
1908 |
+} # ac_fn_c_check_header_compile |
1909 |
+ |
1910 |
+# ac_fn_c_check_type LINENO TYPE VAR INCLUDES |
1911 |
+# ------------------------------------------- |
1912 |
+# Tests whether TYPE exists after having included INCLUDES, setting cache |
1913 |
+# variable VAR accordingly. |
1914 |
+ac_fn_c_check_type () |
1915 |
+{ |
1916 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1917 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1918 |
+$as_echo_n "checking for $2... " >&6; } |
1919 |
+if eval \${$3+:} false; then : |
1920 |
+ $as_echo_n "(cached) " >&6 |
1921 |
+else |
1922 |
+ eval "$3=no" |
1923 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1924 |
+/* end confdefs.h. */ |
1925 |
+$4 |
1926 |
+int |
1927 |
+main () |
1928 |
+{ |
1929 |
+if (sizeof ($2)) |
1930 |
+ return 0; |
1931 |
+ ; |
1932 |
+ return 0; |
1933 |
+} |
1934 |
+_ACEOF |
1935 |
+if ac_fn_c_try_compile "$LINENO"; then : |
1936 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1937 |
+/* end confdefs.h. */ |
1938 |
+$4 |
1939 |
+int |
1940 |
+main () |
1941 |
+{ |
1942 |
+if (sizeof (($2))) |
1943 |
+ return 0; |
1944 |
+ ; |
1945 |
+ return 0; |
1946 |
+} |
1947 |
+_ACEOF |
1948 |
+if ac_fn_c_try_compile "$LINENO"; then : |
1949 |
+ |
1950 |
+else |
1951 |
+ eval "$3=yes" |
1952 |
+fi |
1953 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1954 |
+fi |
1955 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1956 |
+fi |
1957 |
+eval ac_res=\$$3 |
1958 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1959 |
+$as_echo "$ac_res" >&6; } |
1960 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1961 |
+ |
1962 |
+} # ac_fn_c_check_type |
1963 |
+ |
1964 |
+# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES |
1965 |
+# -------------------------------------------- |
1966 |
+# Tries to find the compile-time value of EXPR in a program that includes |
1967 |
+# INCLUDES, setting VAR accordingly. Returns whether the value could be |
1968 |
+# computed |
1969 |
+ac_fn_c_compute_int () |
1970 |
+{ |
1971 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1972 |
+ if test "$cross_compiling" = yes; then |
1973 |
+ # Depending upon the size, compute the lo and hi bounds. |
1974 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1975 |
+/* end confdefs.h. */ |
1976 |
+$4 |
1977 |
+int |
1978 |
+main () |
1979 |
+{ |
1980 |
+static int test_array [1 - 2 * !(($2) >= 0)]; |
1981 |
+test_array [0] = 0; |
1982 |
+return test_array [0]; |
1983 |
+ |
1984 |
+ ; |
1985 |
+ return 0; |
1986 |
+} |
1987 |
+_ACEOF |
1988 |
+if ac_fn_c_try_compile "$LINENO"; then : |
1989 |
+ ac_lo=0 ac_mid=0 |
1990 |
+ while :; do |
1991 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1992 |
+/* end confdefs.h. */ |
1993 |
+$4 |
1994 |
+int |
1995 |
+main () |
1996 |
+{ |
1997 |
+static int test_array [1 - 2 * !(($2) <= $ac_mid)]; |
1998 |
+test_array [0] = 0; |
1999 |
+return test_array [0]; |
2000 |
+ |
2001 |
+ ; |
2002 |
+ return 0; |
2003 |
+} |
2004 |
+_ACEOF |
2005 |
+if ac_fn_c_try_compile "$LINENO"; then : |
2006 |
+ ac_hi=$ac_mid; break |
2007 |
+else |
2008 |
+ as_fn_arith $ac_mid + 1 && ac_lo=$as_val |
2009 |
+ if test $ac_lo -le $ac_mid; then |
2010 |
+ ac_lo= ac_hi= |
2011 |
+ break |
2012 |
+ fi |
2013 |
+ as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val |
2014 |
+fi |
2015 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2016 |
+ done |
2017 |
+else |
2018 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2019 |
+/* end confdefs.h. */ |
2020 |
+$4 |
2021 |
+int |
2022 |
+main () |
2023 |
+{ |
2024 |
+static int test_array [1 - 2 * !(($2) < 0)]; |
2025 |
+test_array [0] = 0; |
2026 |
+return test_array [0]; |
2027 |
+ |
2028 |
+ ; |
2029 |
+ return 0; |
2030 |
+} |
2031 |
+_ACEOF |
2032 |
+if ac_fn_c_try_compile "$LINENO"; then : |
2033 |
+ ac_hi=-1 ac_mid=-1 |
2034 |
+ while :; do |
2035 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2036 |
+/* end confdefs.h. */ |
2037 |
+$4 |
2038 |
+int |
2039 |
+main () |
2040 |
+{ |
2041 |
+static int test_array [1 - 2 * !(($2) >= $ac_mid)]; |
2042 |
+test_array [0] = 0; |
2043 |
+return test_array [0]; |
2044 |
+ |
2045 |
+ ; |
2046 |
+ return 0; |
2047 |
+} |
2048 |
+_ACEOF |
2049 |
+if ac_fn_c_try_compile "$LINENO"; then : |
2050 |
+ ac_lo=$ac_mid; break |
2051 |
+else |
2052 |
+ as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val |
2053 |
+ if test $ac_mid -le $ac_hi; then |
2054 |
+ ac_lo= ac_hi= |
2055 |
+ break |
2056 |
+ fi |
2057 |
+ as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val |
2058 |
+fi |
2059 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2060 |
+ done |
2061 |
+else |
2062 |
+ ac_lo= ac_hi= |
2063 |
+fi |
2064 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2065 |
+fi |
2066 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2067 |
+# Binary search between lo and hi bounds. |
2068 |
+while test "x$ac_lo" != "x$ac_hi"; do |
2069 |
+ as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val |
2070 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2071 |
+/* end confdefs.h. */ |
2072 |
+$4 |
2073 |
+int |
2074 |
+main () |
2075 |
+{ |
2076 |
+static int test_array [1 - 2 * !(($2) <= $ac_mid)]; |
2077 |
+test_array [0] = 0; |
2078 |
+return test_array [0]; |
2079 |
+ |
2080 |
+ ; |
2081 |
+ return 0; |
2082 |
+} |
2083 |
+_ACEOF |
2084 |
+if ac_fn_c_try_compile "$LINENO"; then : |
2085 |
+ ac_hi=$ac_mid |
2086 |
+else |
2087 |
+ as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val |
2088 |
+fi |
2089 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2090 |
+done |
2091 |
+case $ac_lo in #(( |
2092 |
+?*) eval "$3=\$ac_lo"; ac_retval=0 ;; |
2093 |
+'') ac_retval=1 ;; |
2094 |
+esac |
2095 |
+ else |
2096 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2097 |
+/* end confdefs.h. */ |
2098 |
+$4 |
2099 |
+static long int longval () { return $2; } |
2100 |
+static unsigned long int ulongval () { return $2; } |
2101 |
+#include <stdio.h> |
2102 |
+#include <stdlib.h> |
2103 |
+int |
2104 |
+main () |
2105 |
+{ |
2106 |
+ |
2107 |
+ FILE *f = fopen ("conftest.val", "w"); |
2108 |
+ if (! f) |
2109 |
+ return 1; |
2110 |
+ if (($2) < 0) |
2111 |
+ { |
2112 |
+ long int i = longval (); |
2113 |
+ if (i != ($2)) |
2114 |
+ return 1; |
2115 |
+ fprintf (f, "%ld", i); |
2116 |
+ } |
2117 |
+ else |
2118 |
+ { |
2119 |
+ unsigned long int i = ulongval (); |
2120 |
+ if (i != ($2)) |
2121 |
+ return 1; |
2122 |
+ fprintf (f, "%lu", i); |
2123 |
+ } |
2124 |
+ /* Do not output a trailing newline, as this causes \r\n confusion |
2125 |
+ on some platforms. */ |
2126 |
+ return ferror (f) || fclose (f) != 0; |
2127 |
+ |
2128 |
+ ; |
2129 |
+ return 0; |
2130 |
+} |
2131 |
+_ACEOF |
2132 |
+if ac_fn_c_try_run "$LINENO"; then : |
2133 |
+ echo >>conftest.val; read $3 <conftest.val; ac_retval=0 |
2134 |
+else |
2135 |
+ ac_retval=1 |
2136 |
+fi |
2137 |
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
2138 |
+ conftest.$ac_objext conftest.beam conftest.$ac_ext |
2139 |
+rm -f conftest.val |
2140 |
+ |
2141 |
+ fi |
2142 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2143 |
+ as_fn_set_status $ac_retval |
2144 |
+ |
2145 |
+} # ac_fn_c_compute_int |
2146 |
+ |
2147 |
+# ac_fn_c_check_func LINENO FUNC VAR |
2148 |
+# ---------------------------------- |
2149 |
+# Tests whether FUNC exists, setting the cache variable VAR accordingly |
2150 |
+ac_fn_c_check_func () |
2151 |
+{ |
2152 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2153 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2154 |
+$as_echo_n "checking for $2... " >&6; } |
2155 |
+if eval \${$3+:} false; then : |
2156 |
+ $as_echo_n "(cached) " >&6 |
2157 |
+else |
2158 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2159 |
+/* end confdefs.h. */ |
2160 |
+/* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
2161 |
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
2162 |
+#define $2 innocuous_$2 |
2163 |
+ |
2164 |
+/* System header to define __stub macros and hopefully few prototypes, |
2165 |
+ which can conflict with char $2 (); below. |
2166 |
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
2167 |
+ <limits.h> exists even on freestanding compilers. */ |
2168 |
+ |
2169 |
+#ifdef __STDC__ |
2170 |
+# include <limits.h> |
2171 |
+#else |
2172 |
+# include <assert.h> |
2173 |
+#endif |
2174 |
+ |
2175 |
+#undef $2 |
2176 |
+ |
2177 |
+/* Override any GCC internal prototype to avoid an error. |
2178 |
+ Use char because int might match the return type of a GCC |
2179 |
+ builtin and then its argument prototype would still apply. */ |
2180 |
+#ifdef __cplusplus |
2181 |
+extern "C" |
2182 |
+#endif |
2183 |
+char $2 (); |
2184 |
+/* The GNU C library defines this for functions which it implements |
2185 |
+ to always fail with ENOSYS. Some functions are actually named |
2186 |
+ something starting with __ and the normal name is an alias. */ |
2187 |
+#if defined __stub_$2 || defined __stub___$2 |
2188 |
+choke me |
2189 |
+#endif |
2190 |
+ |
2191 |
+int |
2192 |
+main () |
2193 |
+{ |
2194 |
+return $2 (); |
2195 |
+ ; |
2196 |
+ return 0; |
2197 |
+} |
2198 |
+_ACEOF |
2199 |
+if ac_fn_c_try_link "$LINENO"; then : |
2200 |
+ eval "$3=yes" |
2201 |
+else |
2202 |
+ eval "$3=no" |
2203 |
+fi |
2204 |
+rm -f core conftest.err conftest.$ac_objext \ |
2205 |
+ conftest$ac_exeext conftest.$ac_ext |
2206 |
+fi |
2207 |
+eval ac_res=\$$3 |
2208 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2209 |
+$as_echo "$ac_res" >&6; } |
2210 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2211 |
+ |
2212 |
+} # ac_fn_c_check_func |
2213 |
cat >config.log <<_ACEOF |
2214 |
This file contains any messages produced by compilers while |
2215 |
running configure, to aid debugging if configure makes a mistake. |
2216 |
|
2217 |
It was created by $as_me, which was |
2218 |
-generated by GNU Autoconf 2.61. Invocation command line was |
2219 |
+generated by GNU Autoconf 2.69. Invocation command line was |
2220 |
|
2221 |
$ $0 $@ |
2222 |
|
2223 |
@@ -1455,8 +2171,8 @@ for as_dir in $PATH |
2224 |
do |
2225 |
IFS=$as_save_IFS |
2226 |
test -z "$as_dir" && as_dir=. |
2227 |
- echo "PATH: $as_dir" |
2228 |
-done |
2229 |
+ $as_echo "PATH: $as_dir" |
2230 |
+ done |
2231 |
IFS=$as_save_IFS |
2232 |
|
2233 |
} >&5 |
2234 |
@@ -1490,12 +2206,12 @@ do |
2235 |
| -silent | --silent | --silen | --sile | --sil) |
2236 |
continue ;; |
2237 |
*\'*) |
2238 |
- ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
2239 |
+ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
2240 |
esac |
2241 |
case $ac_pass in |
2242 |
- 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
2243 |
+ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
2244 |
2) |
2245 |
- ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
2246 |
+ as_fn_append ac_configure_args1 " '$ac_arg'" |
2247 |
if test $ac_must_keep_next = true; then |
2248 |
ac_must_keep_next=false # Got value, back to normal. |
2249 |
else |
2250 |
@@ -1511,13 +2227,13 @@ do |
2251 |
-* ) ac_must_keep_next=true ;; |
2252 |
esac |
2253 |
fi |
2254 |
- ac_configure_args="$ac_configure_args '$ac_arg'" |
2255 |
+ as_fn_append ac_configure_args " '$ac_arg'" |
2256 |
;; |
2257 |
esac |
2258 |
done |
2259 |
done |
2260 |
-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
2261 |
-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
2262 |
+{ ac_configure_args0=; unset ac_configure_args0;} |
2263 |
+{ ac_configure_args1=; unset ac_configure_args1;} |
2264 |
|
2265 |
# When interrupted or exit'd, cleanup temporary files, and complete |
2266 |
# config.log. We remove comments because anyway the quotes in there |
2267 |
@@ -1529,11 +2245,9 @@ trap 'exit_status=$? |
2268 |
{ |
2269 |
echo |
2270 |
|
2271 |
- cat <<\_ASBOX |
2272 |
-## ---------------- ## |
2273 |
+ $as_echo "## ---------------- ## |
2274 |
## Cache variables. ## |
2275 |
-## ---------------- ## |
2276 |
-_ASBOX |
2277 |
+## ---------------- ##" |
2278 |
echo |
2279 |
# The following way of writing the cache mishandles newlines in values, |
2280 |
( |
2281 |
@@ -1542,12 +2256,13 @@ _ASBOX |
2282 |
case $ac_val in #( |
2283 |
*${as_nl}*) |
2284 |
case $ac_var in #( |
2285 |
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
2286 |
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
2287 |
+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
2288 |
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
2289 |
esac |
2290 |
case $ac_var in #( |
2291 |
_ | IFS | as_nl) ;; #( |
2292 |
- *) $as_unset $ac_var ;; |
2293 |
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
2294 |
+ *) { eval $ac_var=; unset $ac_var;} ;; |
2295 |
esac ;; |
2296 |
esac |
2297 |
done |
2298 |
@@ -1566,128 +2281,136 @@ echo "$as_me: WARNING: Cache variable $a |
2299 |
) |
2300 |
echo |
2301 |
|
2302 |
- cat <<\_ASBOX |
2303 |
-## ----------------- ## |
2304 |
+ $as_echo "## ----------------- ## |
2305 |
## Output variables. ## |
2306 |
-## ----------------- ## |
2307 |
-_ASBOX |
2308 |
+## ----------------- ##" |
2309 |
echo |
2310 |
for ac_var in $ac_subst_vars |
2311 |
do |
2312 |
eval ac_val=\$$ac_var |
2313 |
case $ac_val in |
2314 |
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
2315 |
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
2316 |
esac |
2317 |
- echo "$ac_var='\''$ac_val'\''" |
2318 |
+ $as_echo "$ac_var='\''$ac_val'\''" |
2319 |
done | sort |
2320 |
echo |
2321 |
|
2322 |
if test -n "$ac_subst_files"; then |
2323 |
- cat <<\_ASBOX |
2324 |
-## ------------------- ## |
2325 |
+ $as_echo "## ------------------- ## |
2326 |
## File substitutions. ## |
2327 |
-## ------------------- ## |
2328 |
-_ASBOX |
2329 |
+## ------------------- ##" |
2330 |
echo |
2331 |
for ac_var in $ac_subst_files |
2332 |
do |
2333 |
eval ac_val=\$$ac_var |
2334 |
case $ac_val in |
2335 |
- *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
2336 |
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
2337 |
esac |
2338 |
- echo "$ac_var='\''$ac_val'\''" |
2339 |
+ $as_echo "$ac_var='\''$ac_val'\''" |
2340 |
done | sort |
2341 |
echo |
2342 |
fi |
2343 |
|
2344 |
if test -s confdefs.h; then |
2345 |
- cat <<\_ASBOX |
2346 |
-## ----------- ## |
2347 |
+ $as_echo "## ----------- ## |
2348 |
## confdefs.h. ## |
2349 |
-## ----------- ## |
2350 |
-_ASBOX |
2351 |
+## ----------- ##" |
2352 |
echo |
2353 |
cat confdefs.h |
2354 |
echo |
2355 |
fi |
2356 |
test "$ac_signal" != 0 && |
2357 |
- echo "$as_me: caught signal $ac_signal" |
2358 |
- echo "$as_me: exit $exit_status" |
2359 |
+ $as_echo "$as_me: caught signal $ac_signal" |
2360 |
+ $as_echo "$as_me: exit $exit_status" |
2361 |
} >&5 |
2362 |
rm -f core *.core core.conftest.* && |
2363 |
rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
2364 |
exit $exit_status |
2365 |
' 0 |
2366 |
for ac_signal in 1 2 13 15; do |
2367 |
- trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
2368 |
+ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
2369 |
done |
2370 |
ac_signal=0 |
2371 |
|
2372 |
# confdefs.h avoids OS command line length limits that DEFS can exceed. |
2373 |
rm -f -r conftest* confdefs.h |
2374 |
|
2375 |
+$as_echo "/* confdefs.h */" > confdefs.h |
2376 |
+ |
2377 |
# Predefined preprocessor variables. |
2378 |
|
2379 |
cat >>confdefs.h <<_ACEOF |
2380 |
#define PACKAGE_NAME "$PACKAGE_NAME" |
2381 |
_ACEOF |
2382 |
|
2383 |
- |
2384 |
cat >>confdefs.h <<_ACEOF |
2385 |
#define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
2386 |
_ACEOF |
2387 |
|
2388 |
- |
2389 |
cat >>confdefs.h <<_ACEOF |
2390 |
#define PACKAGE_VERSION "$PACKAGE_VERSION" |
2391 |
_ACEOF |
2392 |
|
2393 |
- |
2394 |
cat >>confdefs.h <<_ACEOF |
2395 |
#define PACKAGE_STRING "$PACKAGE_STRING" |
2396 |
_ACEOF |
2397 |
|
2398 |
- |
2399 |
cat >>confdefs.h <<_ACEOF |
2400 |
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
2401 |
_ACEOF |
2402 |
|
2403 |
+cat >>confdefs.h <<_ACEOF |
2404 |
+#define PACKAGE_URL "$PACKAGE_URL" |
2405 |
+_ACEOF |
2406 |
+ |
2407 |
|
2408 |
# Let the site file select an alternate cache file if it wants to. |
2409 |
-# Prefer explicitly selected file to automatically selected ones. |
2410 |
+# Prefer an explicitly selected file to automatically selected ones. |
2411 |
+ac_site_file1=NONE |
2412 |
+ac_site_file2=NONE |
2413 |
if test -n "$CONFIG_SITE"; then |
2414 |
- set x "$CONFIG_SITE" |
2415 |
+ # We do not want a PATH search for config.site. |
2416 |
+ case $CONFIG_SITE in #(( |
2417 |
+ -*) ac_site_file1=./$CONFIG_SITE;; |
2418 |
+ */*) ac_site_file1=$CONFIG_SITE;; |
2419 |
+ *) ac_site_file1=./$CONFIG_SITE;; |
2420 |
+ esac |
2421 |
elif test "x$prefix" != xNONE; then |
2422 |
- set x "$prefix/share/config.site" "$prefix/etc/config.site" |
2423 |
+ ac_site_file1=$prefix/share/config.site |
2424 |
+ ac_site_file2=$prefix/etc/config.site |
2425 |
else |
2426 |
- set x "$ac_default_prefix/share/config.site" \ |
2427 |
- "$ac_default_prefix/etc/config.site" |
2428 |
+ ac_site_file1=$ac_default_prefix/share/config.site |
2429 |
+ ac_site_file2=$ac_default_prefix/etc/config.site |
2430 |
fi |
2431 |
-shift |
2432 |
-for ac_site_file |
2433 |
+for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
2434 |
do |
2435 |
- if test -r "$ac_site_file"; then |
2436 |
- { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
2437 |
-echo "$as_me: loading site script $ac_site_file" >&6;} |
2438 |
+ test "x$ac_site_file" = xNONE && continue |
2439 |
+ if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
2440 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
2441 |
+$as_echo "$as_me: loading site script $ac_site_file" >&6;} |
2442 |
sed 's/^/| /' "$ac_site_file" >&5 |
2443 |
- . "$ac_site_file" |
2444 |
+ . "$ac_site_file" \ |
2445 |
+ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2446 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2447 |
+as_fn_error $? "failed to load site script $ac_site_file |
2448 |
+See \`config.log' for more details" "$LINENO" 5; } |
2449 |
fi |
2450 |
done |
2451 |
|
2452 |
if test -r "$cache_file"; then |
2453 |
- # Some versions of bash will fail to source /dev/null (special |
2454 |
- # files actually), so we avoid doing that. |
2455 |
- if test -f "$cache_file"; then |
2456 |
- { echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
2457 |
-echo "$as_me: loading cache $cache_file" >&6;} |
2458 |
+ # Some versions of bash will fail to source /dev/null (special files |
2459 |
+ # actually), so we avoid doing that. DJGPP emulates it as a regular file. |
2460 |
+ if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
2461 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
2462 |
+$as_echo "$as_me: loading cache $cache_file" >&6;} |
2463 |
case $cache_file in |
2464 |
[\\/]* | ?:[\\/]* ) . "$cache_file";; |
2465 |
*) . "./$cache_file";; |
2466 |
esac |
2467 |
fi |
2468 |
else |
2469 |
- { echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
2470 |
-echo "$as_me: creating cache $cache_file" >&6;} |
2471 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
2472 |
+$as_echo "$as_me: creating cache $cache_file" >&6;} |
2473 |
>$cache_file |
2474 |
fi |
2475 |
|
2476 |
@@ -1701,60 +2424,56 @@ for ac_var in $ac_precious_vars; do |
2477 |
eval ac_new_val=\$ac_env_${ac_var}_value |
2478 |
case $ac_old_set,$ac_new_set in |
2479 |
set,) |
2480 |
- { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
2481 |
-echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
2482 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
2483 |
+$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
2484 |
ac_cache_corrupted=: ;; |
2485 |
,set) |
2486 |
- { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
2487 |
-echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
2488 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
2489 |
+$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
2490 |
ac_cache_corrupted=: ;; |
2491 |
,);; |
2492 |
*) |
2493 |
if test "x$ac_old_val" != "x$ac_new_val"; then |
2494 |
- { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
2495 |
-echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
2496 |
- { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
2497 |
-echo "$as_me: former value: $ac_old_val" >&2;} |
2498 |
- { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
2499 |
-echo "$as_me: current value: $ac_new_val" >&2;} |
2500 |
- ac_cache_corrupted=: |
2501 |
+ # differences in whitespace do not lead to failure. |
2502 |
+ ac_old_val_w=`echo x $ac_old_val` |
2503 |
+ ac_new_val_w=`echo x $ac_new_val` |
2504 |
+ if test "$ac_old_val_w" != "$ac_new_val_w"; then |
2505 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
2506 |
+$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
2507 |
+ ac_cache_corrupted=: |
2508 |
+ else |
2509 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
2510 |
+$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
2511 |
+ eval $ac_var=\$ac_old_val |
2512 |
+ fi |
2513 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
2514 |
+$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
2515 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
2516 |
+$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
2517 |
fi;; |
2518 |
esac |
2519 |
# Pass precious variables to config.status. |
2520 |
if test "$ac_new_set" = set; then |
2521 |
case $ac_new_val in |
2522 |
- *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
2523 |
+ *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
2524 |
*) ac_arg=$ac_var=$ac_new_val ;; |
2525 |
esac |
2526 |
case " $ac_configure_args " in |
2527 |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
2528 |
- *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
2529 |
+ *) as_fn_append ac_configure_args " '$ac_arg'" ;; |
2530 |
esac |
2531 |
fi |
2532 |
done |
2533 |
if $ac_cache_corrupted; then |
2534 |
- { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
2535 |
-echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
2536 |
- { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
2537 |
-echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
2538 |
- { (exit 1); exit 1; }; } |
2539 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2540 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2541 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
2542 |
+$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
2543 |
+ as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
2544 |
fi |
2545 |
- |
2546 |
- |
2547 |
- |
2548 |
- |
2549 |
- |
2550 |
- |
2551 |
- |
2552 |
- |
2553 |
- |
2554 |
- |
2555 |
- |
2556 |
- |
2557 |
- |
2558 |
- |
2559 |
- |
2560 |
- |
2561 |
+## -------------------- ## |
2562 |
+## Main body of script. ## |
2563 |
+## -------------------- ## |
2564 |
|
2565 |
ac_ext=c |
2566 |
ac_cpp='$CPP $CPPFLAGS' |
2567 |
@@ -1764,7 +2483,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2568 |
|
2569 |
|
2570 |
|
2571 |
-am__api_version="1.9" |
2572 |
+am__api_version='1.15' |
2573 |
+ |
2574 |
ac_aux_dir= |
2575 |
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
2576 |
if test -f "$ac_dir/install-sh"; then |
2577 |
@@ -1782,9 +2502,7 @@ for ac_dir in "$srcdir" "$srcdir/.." "$s |
2578 |
fi |
2579 |
done |
2580 |
if test -z "$ac_aux_dir"; then |
2581 |
- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 |
2582 |
-echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} |
2583 |
- { (exit 1); exit 1; }; } |
2584 |
+ as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
2585 |
fi |
2586 |
|
2587 |
# These three variables are undocumented and unsupported, |
2588 |
@@ -1809,22 +2527,23 @@ ac_configure="$SHELL $ac_aux_dir/configu |
2589 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
2590 |
# OS/2's system install, which has a completely different semantic |
2591 |
# ./install, which can be erroneously created by make from ./install.sh. |
2592 |
-{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
2593 |
-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } |
2594 |
+# Reject install programs that cannot install multiple files. |
2595 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
2596 |
+$as_echo_n "checking for a BSD-compatible install... " >&6; } |
2597 |
if test -z "$INSTALL"; then |
2598 |
-if test "${ac_cv_path_install+set}" = set; then |
2599 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
2600 |
+if ${ac_cv_path_install+:} false; then : |
2601 |
+ $as_echo_n "(cached) " >&6 |
2602 |
else |
2603 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2604 |
for as_dir in $PATH |
2605 |
do |
2606 |
IFS=$as_save_IFS |
2607 |
test -z "$as_dir" && as_dir=. |
2608 |
- # Account for people who put trailing slashes in PATH elements. |
2609 |
-case $as_dir/ in |
2610 |
- ./ | .// | /cC/* | \ |
2611 |
+ # Account for people who put trailing slashes in PATH elements. |
2612 |
+case $as_dir/ in #(( |
2613 |
+ ./ | .// | /[cC]/* | \ |
2614 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
2615 |
- ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
2616 |
+ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
2617 |
/usr/ucb/* ) ;; |
2618 |
*) |
2619 |
# OSF1 and SCO ODT 3.0 have their own names for install. |
2620 |
@@ -1832,7 +2551,7 @@ case $as_dir/ in |
2621 |
# by default. |
2622 |
for ac_prog in ginstall scoinst install; do |
2623 |
for ac_exec_ext in '' $ac_executable_extensions; do |
2624 |
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
2625 |
+ if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
2626 |
if test $ac_prog = install && |
2627 |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2628 |
# AIX install. It has an incompatible calling convention. |
2629 |
@@ -1842,17 +2561,29 @@ case $as_dir/ in |
2630 |
# program-specific install script used by HP pwplus--don't use. |
2631 |
: |
2632 |
else |
2633 |
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
2634 |
- break 3 |
2635 |
+ rm -rf conftest.one conftest.two conftest.dir |
2636 |
+ echo one > conftest.one |
2637 |
+ echo two > conftest.two |
2638 |
+ mkdir conftest.dir |
2639 |
+ if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
2640 |
+ test -s conftest.one && test -s conftest.two && |
2641 |
+ test -s conftest.dir/conftest.one && |
2642 |
+ test -s conftest.dir/conftest.two |
2643 |
+ then |
2644 |
+ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
2645 |
+ break 3 |
2646 |
+ fi |
2647 |
fi |
2648 |
fi |
2649 |
done |
2650 |
done |
2651 |
;; |
2652 |
esac |
2653 |
-done |
2654 |
+ |
2655 |
+ done |
2656 |
IFS=$as_save_IFS |
2657 |
|
2658 |
+rm -rf conftest.one conftest.two conftest.dir |
2659 |
|
2660 |
fi |
2661 |
if test "${ac_cv_path_install+set}" = set; then |
2662 |
@@ -1865,8 +2596,8 @@ fi |
2663 |
INSTALL=$ac_install_sh |
2664 |
fi |
2665 |
fi |
2666 |
-{ echo "$as_me:$LINENO: result: $INSTALL" >&5 |
2667 |
-echo "${ECHO_T}$INSTALL" >&6; } |
2668 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
2669 |
+$as_echo "$INSTALL" >&6; } |
2670 |
|
2671 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
2672 |
# It thinks the first close brace ends the variable substitution. |
2673 |
@@ -1876,118 +2607,262 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCR |
2674 |
|
2675 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
2676 |
|
2677 |
-{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5 |
2678 |
-echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } |
2679 |
-# Just in case |
2680 |
-sleep 1 |
2681 |
-echo timestamp > conftest.file |
2682 |
-# Do `set' in a subshell so we don't clobber the current shell's |
2683 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
2684 |
+$as_echo_n "checking whether build environment is sane... " >&6; } |
2685 |
+# Reject unsafe characters in $srcdir or the absolute working directory |
2686 |
+# name. Accept space and tab only in the latter. |
2687 |
+am_lf=' |
2688 |
+' |
2689 |
+case `pwd` in |
2690 |
+ *[\\\"\#\$\&\'\`$am_lf]*) |
2691 |
+ as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; |
2692 |
+esac |
2693 |
+case $srcdir in |
2694 |
+ *[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
2695 |
+ as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; |
2696 |
+esac |
2697 |
+ |
2698 |
+# Do 'set' in a subshell so we don't clobber the current shell's |
2699 |
# arguments. Must try -L first in case configure is actually a |
2700 |
# symlink; some systems play weird games with the mod time of symlinks |
2701 |
# (eg FreeBSD returns the mod time of the symlink's containing |
2702 |
# directory). |
2703 |
if ( |
2704 |
- set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` |
2705 |
- if test "$*" = "X"; then |
2706 |
- # -L didn't work. |
2707 |
- set X `ls -t $srcdir/configure conftest.file` |
2708 |
- fi |
2709 |
- rm -f conftest.file |
2710 |
- if test "$*" != "X $srcdir/configure conftest.file" \ |
2711 |
- && test "$*" != "X conftest.file $srcdir/configure"; then |
2712 |
- |
2713 |
- # If neither matched, then we have a broken ls. This can happen |
2714 |
- # if, for instance, CONFIG_SHELL is bash and it inherits a |
2715 |
- # broken ls alias from the environment. This has actually |
2716 |
- # happened. Such a system could not be considered "sane". |
2717 |
- { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken |
2718 |
-alias in your environment" >&5 |
2719 |
-echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken |
2720 |
-alias in your environment" >&2;} |
2721 |
- { (exit 1); exit 1; }; } |
2722 |
- fi |
2723 |
+ am_has_slept=no |
2724 |
+ for am_try in 1 2; do |
2725 |
+ echo "timestamp, slept: $am_has_slept" > conftest.file |
2726 |
+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
2727 |
+ if test "$*" = "X"; then |
2728 |
+ # -L didn't work. |
2729 |
+ set X `ls -t "$srcdir/configure" conftest.file` |
2730 |
+ fi |
2731 |
+ if test "$*" != "X $srcdir/configure conftest.file" \ |
2732 |
+ && test "$*" != "X conftest.file $srcdir/configure"; then |
2733 |
|
2734 |
+ # If neither matched, then we have a broken ls. This can happen |
2735 |
+ # if, for instance, CONFIG_SHELL is bash and it inherits a |
2736 |
+ # broken ls alias from the environment. This has actually |
2737 |
+ # happened. Such a system could not be considered "sane". |
2738 |
+ as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
2739 |
+ alias in your environment" "$LINENO" 5 |
2740 |
+ fi |
2741 |
+ if test "$2" = conftest.file || test $am_try -eq 2; then |
2742 |
+ break |
2743 |
+ fi |
2744 |
+ # Just in case. |
2745 |
+ sleep 1 |
2746 |
+ am_has_slept=yes |
2747 |
+ done |
2748 |
test "$2" = conftest.file |
2749 |
) |
2750 |
then |
2751 |
# Ok. |
2752 |
: |
2753 |
else |
2754 |
- { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! |
2755 |
-Check your system clock" >&5 |
2756 |
-echo "$as_me: error: newly created file is older than distributed files! |
2757 |
-Check your system clock" >&2;} |
2758 |
- { (exit 1); exit 1; }; } |
2759 |
+ as_fn_error $? "newly created file is older than distributed files! |
2760 |
+Check your system clock" "$LINENO" 5 |
2761 |
fi |
2762 |
-{ echo "$as_me:$LINENO: result: yes" >&5 |
2763 |
-echo "${ECHO_T}yes" >&6; } |
2764 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2765 |
+$as_echo "yes" >&6; } |
2766 |
+# If we didn't sleep, we still need to ensure time stamps of config.status and |
2767 |
+# generated files are strictly newer. |
2768 |
+am_sleep_pid= |
2769 |
+if grep 'slept: no' conftest.file >/dev/null 2>&1; then |
2770 |
+ ( sleep 1 ) & |
2771 |
+ am_sleep_pid=$! |
2772 |
+fi |
2773 |
+ |
2774 |
+rm -f conftest.file |
2775 |
+ |
2776 |
test "$program_prefix" != NONE && |
2777 |
program_transform_name="s&^&$program_prefix&;$program_transform_name" |
2778 |
# Use a double $ so make ignores it. |
2779 |
test "$program_suffix" != NONE && |
2780 |
program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
2781 |
-# Double any \ or $. echo might interpret backslashes. |
2782 |
+# Double any \ or $. |
2783 |
# By default was `s,x,x', remove it if useless. |
2784 |
-cat <<\_ACEOF >conftest.sed |
2785 |
-s/[\\$]/&&/g;s/;s,x,x,$// |
2786 |
-_ACEOF |
2787 |
-program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
2788 |
-rm -f conftest.sed |
2789 |
+ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
2790 |
+program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
2791 |
|
2792 |
-# expand $ac_aux_dir to an absolute path |
2793 |
-am_aux_dir=`cd $ac_aux_dir && pwd` |
2794 |
+# Expand $ac_aux_dir to an absolute path. |
2795 |
+am_aux_dir=`cd "$ac_aux_dir" && pwd` |
2796 |
|
2797 |
-test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" |
2798 |
+if test x"${MISSING+set}" != xset; then |
2799 |
+ case $am_aux_dir in |
2800 |
+ *\ * | *\ *) |
2801 |
+ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
2802 |
+ *) |
2803 |
+ MISSING="\${SHELL} $am_aux_dir/missing" ;; |
2804 |
+ esac |
2805 |
+fi |
2806 |
# Use eval to expand $SHELL |
2807 |
-if eval "$MISSING --run true"; then |
2808 |
- am_missing_run="$MISSING --run " |
2809 |
+if eval "$MISSING --is-lightweight"; then |
2810 |
+ am_missing_run="$MISSING " |
2811 |
else |
2812 |
am_missing_run= |
2813 |
- { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 |
2814 |
-echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
2815 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 |
2816 |
+$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} |
2817 |
fi |
2818 |
|
2819 |
-if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then |
2820 |
- # We used to keeping the `.' as first argument, in order to |
2821 |
- # allow $(mkdir_p) to be used without argument. As in |
2822 |
- # $(mkdir_p) $(somedir) |
2823 |
- # where $(somedir) is conditionally defined. However this is wrong |
2824 |
- # for two reasons: |
2825 |
- # 1. if the package is installed by a user who cannot write `.' |
2826 |
- # make install will fail, |
2827 |
- # 2. the above comment should most certainly read |
2828 |
- # $(mkdir_p) $(DESTDIR)$(somedir) |
2829 |
- # so it does not work when $(somedir) is undefined and |
2830 |
- # $(DESTDIR) is not. |
2831 |
- # To support the latter case, we have to write |
2832 |
- # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), |
2833 |
- # so the `.' trick is pointless. |
2834 |
- mkdir_p='mkdir -p --' |
2835 |
+if test x"${install_sh+set}" != xset; then |
2836 |
+ case $am_aux_dir in |
2837 |
+ *\ * | *\ *) |
2838 |
+ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
2839 |
+ *) |
2840 |
+ install_sh="\${SHELL} $am_aux_dir/install-sh" |
2841 |
+ esac |
2842 |
+fi |
2843 |
+ |
2844 |
+# Installed binaries are usually stripped using 'strip' when the user |
2845 |
+# run "make install-strip". However 'strip' might not be the right |
2846 |
+# tool to use in cross-compilation environments, therefore Automake |
2847 |
+# will honor the 'STRIP' environment variable to overrule this program. |
2848 |
+if test "$cross_compiling" != no; then |
2849 |
+ if test -n "$ac_tool_prefix"; then |
2850 |
+ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
2851 |
+set dummy ${ac_tool_prefix}strip; ac_word=$2 |
2852 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2853 |
+$as_echo_n "checking for $ac_word... " >&6; } |
2854 |
+if ${ac_cv_prog_STRIP+:} false; then : |
2855 |
+ $as_echo_n "(cached) " >&6 |
2856 |
else |
2857 |
- # On NextStep and OpenStep, the `mkdir' command does not |
2858 |
- # recognize any option. It will interpret all options as |
2859 |
- # directories to create, and then abort because `.' already |
2860 |
- # exists. |
2861 |
- for d in ./-p ./--version; |
2862 |
- do |
2863 |
- test -d $d && rmdir $d |
2864 |
+ if test -n "$STRIP"; then |
2865 |
+ ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
2866 |
+else |
2867 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2868 |
+for as_dir in $PATH |
2869 |
+do |
2870 |
+ IFS=$as_save_IFS |
2871 |
+ test -z "$as_dir" && as_dir=. |
2872 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
2873 |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2874 |
+ ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
2875 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2876 |
+ break 2 |
2877 |
+ fi |
2878 |
+done |
2879 |
done |
2880 |
- # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. |
2881 |
- if test -f "$ac_aux_dir/mkinstalldirs"; then |
2882 |
- mkdir_p='$(mkinstalldirs)' |
2883 |
+IFS=$as_save_IFS |
2884 |
+ |
2885 |
+fi |
2886 |
+fi |
2887 |
+STRIP=$ac_cv_prog_STRIP |
2888 |
+if test -n "$STRIP"; then |
2889 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
2890 |
+$as_echo "$STRIP" >&6; } |
2891 |
+else |
2892 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2893 |
+$as_echo "no" >&6; } |
2894 |
+fi |
2895 |
+ |
2896 |
+ |
2897 |
+fi |
2898 |
+if test -z "$ac_cv_prog_STRIP"; then |
2899 |
+ ac_ct_STRIP=$STRIP |
2900 |
+ # Extract the first word of "strip", so it can be a program name with args. |
2901 |
+set dummy strip; ac_word=$2 |
2902 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2903 |
+$as_echo_n "checking for $ac_word... " >&6; } |
2904 |
+if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
2905 |
+ $as_echo_n "(cached) " >&6 |
2906 |
+else |
2907 |
+ if test -n "$ac_ct_STRIP"; then |
2908 |
+ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
2909 |
+else |
2910 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2911 |
+for as_dir in $PATH |
2912 |
+do |
2913 |
+ IFS=$as_save_IFS |
2914 |
+ test -z "$as_dir" && as_dir=. |
2915 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
2916 |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2917 |
+ ac_cv_prog_ac_ct_STRIP="strip" |
2918 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2919 |
+ break 2 |
2920 |
+ fi |
2921 |
+done |
2922 |
+ done |
2923 |
+IFS=$as_save_IFS |
2924 |
+ |
2925 |
+fi |
2926 |
+fi |
2927 |
+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
2928 |
+if test -n "$ac_ct_STRIP"; then |
2929 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
2930 |
+$as_echo "$ac_ct_STRIP" >&6; } |
2931 |
+else |
2932 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2933 |
+$as_echo "no" >&6; } |
2934 |
+fi |
2935 |
+ |
2936 |
+ if test "x$ac_ct_STRIP" = x; then |
2937 |
+ STRIP=":" |
2938 |
else |
2939 |
- mkdir_p='$(install_sh) -d' |
2940 |
+ case $cross_compiling:$ac_tool_warned in |
2941 |
+yes:) |
2942 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
2943 |
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
2944 |
+ac_tool_warned=yes ;; |
2945 |
+esac |
2946 |
+ STRIP=$ac_ct_STRIP |
2947 |
+ fi |
2948 |
+else |
2949 |
+ STRIP="$ac_cv_prog_STRIP" |
2950 |
+fi |
2951 |
+ |
2952 |
+fi |
2953 |
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
2954 |
+ |
2955 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
2956 |
+$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
2957 |
+if test -z "$MKDIR_P"; then |
2958 |
+ if ${ac_cv_path_mkdir+:} false; then : |
2959 |
+ $as_echo_n "(cached) " >&6 |
2960 |
+else |
2961 |
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2962 |
+for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
2963 |
+do |
2964 |
+ IFS=$as_save_IFS |
2965 |
+ test -z "$as_dir" && as_dir=. |
2966 |
+ for ac_prog in mkdir gmkdir; do |
2967 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
2968 |
+ as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue |
2969 |
+ case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
2970 |
+ 'mkdir (GNU coreutils) '* | \ |
2971 |
+ 'mkdir (coreutils) '* | \ |
2972 |
+ 'mkdir (fileutils) '4.1*) |
2973 |
+ ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
2974 |
+ break 3;; |
2975 |
+ esac |
2976 |
+ done |
2977 |
+ done |
2978 |
+ done |
2979 |
+IFS=$as_save_IFS |
2980 |
+ |
2981 |
+fi |
2982 |
+ |
2983 |
+ test -d ./--version && rmdir ./--version |
2984 |
+ if test "${ac_cv_path_mkdir+set}" = set; then |
2985 |
+ MKDIR_P="$ac_cv_path_mkdir -p" |
2986 |
+ else |
2987 |
+ # As a last resort, use the slow shell script. Don't cache a |
2988 |
+ # value for MKDIR_P within a source directory, because that will |
2989 |
+ # break other packages using the cache if that directory is |
2990 |
+ # removed, or if the value is a relative name. |
2991 |
+ MKDIR_P="$ac_install_sh -d" |
2992 |
fi |
2993 |
fi |
2994 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
2995 |
+$as_echo "$MKDIR_P" >&6; } |
2996 |
|
2997 |
for ac_prog in gawk mawk nawk awk |
2998 |
do |
2999 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
3000 |
set dummy $ac_prog; ac_word=$2 |
3001 |
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3002 |
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
3003 |
-if test "${ac_cv_prog_AWK+set}" = set; then |
3004 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
3005 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3006 |
+$as_echo_n "checking for $ac_word... " >&6; } |
3007 |
+if ${ac_cv_prog_AWK+:} false; then : |
3008 |
+ $as_echo_n "(cached) " >&6 |
3009 |
else |
3010 |
if test -n "$AWK"; then |
3011 |
ac_cv_prog_AWK="$AWK" # Let the user override the test. |
3012 |
@@ -1997,43 +2872,44 @@ for as_dir in $PATH |
3013 |
do |
3014 |
IFS=$as_save_IFS |
3015 |
test -z "$as_dir" && as_dir=. |
3016 |
- for ac_exec_ext in '' $ac_executable_extensions; do |
3017 |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3018 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
3019 |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3020 |
ac_cv_prog_AWK="$ac_prog" |
3021 |
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3022 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3023 |
break 2 |
3024 |
fi |
3025 |
done |
3026 |
-done |
3027 |
+ done |
3028 |
IFS=$as_save_IFS |
3029 |
|
3030 |
fi |
3031 |
fi |
3032 |
AWK=$ac_cv_prog_AWK |
3033 |
if test -n "$AWK"; then |
3034 |
- { echo "$as_me:$LINENO: result: $AWK" >&5 |
3035 |
-echo "${ECHO_T}$AWK" >&6; } |
3036 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
3037 |
+$as_echo "$AWK" >&6; } |
3038 |
else |
3039 |
- { echo "$as_me:$LINENO: result: no" >&5 |
3040 |
-echo "${ECHO_T}no" >&6; } |
3041 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3042 |
+$as_echo "no" >&6; } |
3043 |
fi |
3044 |
|
3045 |
|
3046 |
test -n "$AWK" && break |
3047 |
done |
3048 |
|
3049 |
-{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
3050 |
-echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } |
3051 |
-set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
3052 |
-if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then |
3053 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
3054 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
3055 |
+$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
3056 |
+set x ${MAKE-make} |
3057 |
+ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
3058 |
+if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
3059 |
+ $as_echo_n "(cached) " >&6 |
3060 |
else |
3061 |
cat >conftest.make <<\_ACEOF |
3062 |
SHELL = /bin/sh |
3063 |
all: |
3064 |
@echo '@@@%%%=$(MAKE)=@@@%%%' |
3065 |
_ACEOF |
3066 |
-# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
3067 |
+# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
3068 |
case `${MAKE-make} -f conftest.make 2>/dev/null` in |
3069 |
*@@@%%%=?*=@@@%%%*) |
3070 |
eval ac_cv_prog_make_${ac_make}_set=yes;; |
3071 |
@@ -2043,12 +2919,12 @@ esac |
3072 |
rm -f conftest.make |
3073 |
fi |
3074 |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
3075 |
- { echo "$as_me:$LINENO: result: yes" >&5 |
3076 |
-echo "${ECHO_T}yes" >&6; } |
3077 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3078 |
+$as_echo "yes" >&6; } |
3079 |
SET_MAKE= |
3080 |
else |
3081 |
- { echo "$as_me:$LINENO: result: no" >&5 |
3082 |
-echo "${ECHO_T}no" >&6; } |
3083 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3084 |
+$as_echo "no" >&6; } |
3085 |
SET_MAKE="MAKE=${MAKE-make}" |
3086 |
fi |
3087 |
|
3088 |
@@ -2061,12 +2937,53 @@ else |
3089 |
fi |
3090 |
rmdir .tst 2>/dev/null |
3091 |
|
3092 |
-# test to see if srcdir already configured |
3093 |
-if test "`cd $srcdir && pwd`" != "`pwd`" && |
3094 |
- test -f $srcdir/config.status; then |
3095 |
- { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 |
3096 |
-echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} |
3097 |
- { (exit 1); exit 1; }; } |
3098 |
+# Check whether --enable-silent-rules was given. |
3099 |
+if test "${enable_silent_rules+set}" = set; then : |
3100 |
+ enableval=$enable_silent_rules; |
3101 |
+fi |
3102 |
+ |
3103 |
+case $enable_silent_rules in # ((( |
3104 |
+ yes) AM_DEFAULT_VERBOSITY=0;; |
3105 |
+ no) AM_DEFAULT_VERBOSITY=1;; |
3106 |
+ *) AM_DEFAULT_VERBOSITY=1;; |
3107 |
+esac |
3108 |
+am_make=${MAKE-make} |
3109 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
3110 |
+$as_echo_n "checking whether $am_make supports nested variables... " >&6; } |
3111 |
+if ${am_cv_make_support_nested_variables+:} false; then : |
3112 |
+ $as_echo_n "(cached) " >&6 |
3113 |
+else |
3114 |
+ if $as_echo 'TRUE=$(BAR$(V)) |
3115 |
+BAR0=false |
3116 |
+BAR1=true |
3117 |
+V=1 |
3118 |
+am__doit: |
3119 |
+ @$(TRUE) |
3120 |
+.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then |
3121 |
+ am_cv_make_support_nested_variables=yes |
3122 |
+else |
3123 |
+ am_cv_make_support_nested_variables=no |
3124 |
+fi |
3125 |
+fi |
3126 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 |
3127 |
+$as_echo "$am_cv_make_support_nested_variables" >&6; } |
3128 |
+if test $am_cv_make_support_nested_variables = yes; then |
3129 |
+ AM_V='$(V)' |
3130 |
+ AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
3131 |
+else |
3132 |
+ AM_V=$AM_DEFAULT_VERBOSITY |
3133 |
+ AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
3134 |
+fi |
3135 |
+AM_BACKSLASH='\' |
3136 |
+ |
3137 |
+if test "`cd $srcdir && pwd`" != "`pwd`"; then |
3138 |
+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
3139 |
+ # is not polluted with repeated "-I." |
3140 |
+ am__isrc=' -I$(srcdir)' |
3141 |
+ # test to see if srcdir already configured |
3142 |
+ if test -f $srcdir/config.status; then |
3143 |
+ as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
3144 |
+ fi |
3145 |
fi |
3146 |
|
3147 |
# test whether we have cygpath |
3148 |
@@ -2080,6 +2997,7 @@ fi |
3149 |
|
3150 |
|
3151 |
# Define the identity of the package. |
3152 |
+ |
3153 |
PACKAGE=links-hacked |
3154 |
VERSION=030709 |
3155 |
|
3156 |
@@ -2109,123 +3027,70 @@ AUTOHEADER=${AUTOHEADER-"${am_missing_ru |
3157 |
|
3158 |
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
3159 |
|
3160 |
-install_sh=${install_sh-"$am_aux_dir/install-sh"} |
3161 |
+# For better backward compatibility. To be removed once Automake 1.9.x |
3162 |
+# dies out for good. For more background, see: |
3163 |
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
3164 |
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
3165 |
+mkdir_p='$(MKDIR_P)' |
3166 |
|
3167 |
-# Installed binaries are usually stripped using `strip' when the user |
3168 |
-# run `make install-strip'. However `strip' might not be the right |
3169 |
-# tool to use in cross-compilation environments, therefore Automake |
3170 |
-# will honor the `STRIP' environment variable to overrule this program. |
3171 |
-if test "$cross_compiling" != no; then |
3172 |
- if test -n "$ac_tool_prefix"; then |
3173 |
- # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
3174 |
-set dummy ${ac_tool_prefix}strip; ac_word=$2 |
3175 |
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3176 |
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
3177 |
-if test "${ac_cv_prog_STRIP+set}" = set; then |
3178 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
3179 |
-else |
3180 |
- if test -n "$STRIP"; then |
3181 |
- ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
3182 |
-else |
3183 |
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3184 |
-for as_dir in $PATH |
3185 |
-do |
3186 |
- IFS=$as_save_IFS |
3187 |
- test -z "$as_dir" && as_dir=. |
3188 |
- for ac_exec_ext in '' $ac_executable_extensions; do |
3189 |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3190 |
- ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
3191 |
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3192 |
- break 2 |
3193 |
- fi |
3194 |
-done |
3195 |
-done |
3196 |
-IFS=$as_save_IFS |
3197 |
+# We need awk for the "check" target (and possibly the TAP driver). The |
3198 |
+# system "awk" is bad on some platforms. |
3199 |
+# Always define AMTAR for backward compatibility. Yes, it's still used |
3200 |
+# in the wild :-( We should find a proper way to deprecate it ... |
3201 |
+AMTAR='$${TAR-tar}' |
3202 |
|
3203 |
-fi |
3204 |
-fi |
3205 |
-STRIP=$ac_cv_prog_STRIP |
3206 |
-if test -n "$STRIP"; then |
3207 |
- { echo "$as_me:$LINENO: result: $STRIP" >&5 |
3208 |
-echo "${ECHO_T}$STRIP" >&6; } |
3209 |
-else |
3210 |
- { echo "$as_me:$LINENO: result: no" >&5 |
3211 |
-echo "${ECHO_T}no" >&6; } |
3212 |
-fi |
3213 |
|
3214 |
+# We'll loop over all known methods to create a tar archive until one works. |
3215 |
+_am_tools='gnutar pax cpio none' |
3216 |
|
3217 |
-fi |
3218 |
-if test -z "$ac_cv_prog_STRIP"; then |
3219 |
- ac_ct_STRIP=$STRIP |
3220 |
- # Extract the first word of "strip", so it can be a program name with args. |
3221 |
-set dummy strip; ac_word=$2 |
3222 |
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3223 |
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
3224 |
-if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
3225 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
3226 |
-else |
3227 |
- if test -n "$ac_ct_STRIP"; then |
3228 |
- ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
3229 |
-else |
3230 |
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3231 |
-for as_dir in $PATH |
3232 |
-do |
3233 |
- IFS=$as_save_IFS |
3234 |
- test -z "$as_dir" && as_dir=. |
3235 |
- for ac_exec_ext in '' $ac_executable_extensions; do |
3236 |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3237 |
- ac_cv_prog_ac_ct_STRIP="strip" |
3238 |
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3239 |
- break 2 |
3240 |
- fi |
3241 |
-done |
3242 |
-done |
3243 |
-IFS=$as_save_IFS |
3244 |
+am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
3245 |
|
3246 |
-fi |
3247 |
-fi |
3248 |
-ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
3249 |
-if test -n "$ac_ct_STRIP"; then |
3250 |
- { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
3251 |
-echo "${ECHO_T}$ac_ct_STRIP" >&6; } |
3252 |
-else |
3253 |
- { echo "$as_me:$LINENO: result: no" >&5 |
3254 |
-echo "${ECHO_T}no" >&6; } |
3255 |
-fi |
3256 |
|
3257 |
- if test "x$ac_ct_STRIP" = x; then |
3258 |
- STRIP=":" |
3259 |
- else |
3260 |
- case $cross_compiling:$ac_tool_warned in |
3261 |
-yes:) |
3262 |
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
3263 |
-whose name does not start with the host triplet. If you think this |
3264 |
-configuration is useful to you, please write to autoconf@gnu.org." >&5 |
3265 |
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
3266 |
-whose name does not start with the host triplet. If you think this |
3267 |
-configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
3268 |
-ac_tool_warned=yes ;; |
3269 |
-esac |
3270 |
- STRIP=$ac_ct_STRIP |
3271 |
- fi |
3272 |
-else |
3273 |
- STRIP="$ac_cv_prog_STRIP" |
3274 |
-fi |
3275 |
|
3276 |
-fi |
3277 |
-INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" |
3278 |
|
3279 |
-# We need awk for the "check" target. The system "awk" is bad on |
3280 |
-# some platforms. |
3281 |
-# Always define AMTAR for backward compatibility. |
3282 |
|
3283 |
-AMTAR=${AMTAR-"${am_missing_run}tar"} |
3284 |
|
3285 |
-am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' |
3286 |
+# POSIX will say in a future version that running "rm -f" with no argument |
3287 |
+# is OK; and we want to be able to make that assumption in our Makefile |
3288 |
+# recipes. So use an aggressive probe to check that the usage we want is |
3289 |
+# actually supported "in the wild" to an acceptable degree. |
3290 |
+# See automake bug#10828. |
3291 |
+# To make any issue more visible, cause the running configure to be aborted |
3292 |
+# by default if the 'rm' program in use doesn't match our expectations; the |
3293 |
+# user can still override this though. |
3294 |
+if rm -f && rm -fr && rm -rf; then : OK; else |
3295 |
+ cat >&2 <<'END' |
3296 |
+Oops! |
3297 |
|
3298 |
+Your 'rm' program seems unable to run without file operands specified |
3299 |
+on the command line, even when the '-f' option is present. This is contrary |
3300 |
+to the behaviour of most rm programs out there, and not conforming with |
3301 |
+the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> |
3302 |
|
3303 |
+Please tell bug-automake@gnu.org about your system, including the value |
3304 |
+of your $PATH and any error possibly output before this message. This |
3305 |
+can help us improve future automake versions. |
3306 |
|
3307 |
+END |
3308 |
+ if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then |
3309 |
+ echo 'Configuration will proceed anyway, since you have set the' >&2 |
3310 |
+ echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 |
3311 |
+ echo >&2 |
3312 |
+ else |
3313 |
+ cat >&2 <<'END' |
3314 |
+Aborting the configuration process, to ensure you take notice of the issue. |
3315 |
+ |
3316 |
+You can download and install GNU coreutils to get an 'rm' implementation |
3317 |
+that behaves properly: <http://www.gnu.org/software/coreutils/>. |
3318 |
+ |
3319 |
+If you want to complete the configuration process using your problematic |
3320 |
+'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
3321 |
+to "yes", and re-run configure. |
3322 |
|
3323 |
+END |
3324 |
+ as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 |
3325 |
+ fi |
3326 |
+fi |
3327 |
|
3328 |
|
3329 |
#ACLOCAL="$missing_dir/missing aclocal" |
3330 |
@@ -2245,10 +3110,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3331 |
if test -n "$ac_tool_prefix"; then |
3332 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
3333 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
3334 |
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3335 |
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
3336 |
-if test "${ac_cv_prog_CC+set}" = set; then |
3337 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
3338 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3339 |
+$as_echo_n "checking for $ac_word... " >&6; } |
3340 |
+if ${ac_cv_prog_CC+:} false; then : |
3341 |
+ $as_echo_n "(cached) " >&6 |
3342 |
else |
3343 |
if test -n "$CC"; then |
3344 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
3345 |
@@ -2258,25 +3123,25 @@ for as_dir in $PATH |
3346 |
do |
3347 |
IFS=$as_save_IFS |
3348 |
test -z "$as_dir" && as_dir=. |
3349 |
- for ac_exec_ext in '' $ac_executable_extensions; do |
3350 |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3351 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
3352 |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3353 |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
3354 |
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3355 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3356 |
break 2 |
3357 |
fi |
3358 |
done |
3359 |
-done |
3360 |
+ done |
3361 |
IFS=$as_save_IFS |
3362 |
|
3363 |
fi |
3364 |
fi |
3365 |
CC=$ac_cv_prog_CC |
3366 |
if test -n "$CC"; then |
3367 |
- { echo "$as_me:$LINENO: result: $CC" >&5 |
3368 |
-echo "${ECHO_T}$CC" >&6; } |
3369 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
3370 |
+$as_echo "$CC" >&6; } |
3371 |
else |
3372 |
- { echo "$as_me:$LINENO: result: no" >&5 |
3373 |
-echo "${ECHO_T}no" >&6; } |
3374 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3375 |
+$as_echo "no" >&6; } |
3376 |
fi |
3377 |
|
3378 |
|
3379 |
@@ -2285,10 +3150,10 @@ if test -z "$ac_cv_prog_CC"; then |
3380 |
ac_ct_CC=$CC |
3381 |
# Extract the first word of "gcc", so it can be a program name with args. |
3382 |
set dummy gcc; ac_word=$2 |
3383 |
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3384 |
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
3385 |
-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
3386 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
3387 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3388 |
+$as_echo_n "checking for $ac_word... " >&6; } |
3389 |
+if ${ac_cv_prog_ac_ct_CC+:} false; then : |
3390 |
+ $as_echo_n "(cached) " >&6 |
3391 |
else |
3392 |
if test -n "$ac_ct_CC"; then |
3393 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3394 |
@@ -2298,25 +3163,25 @@ for as_dir in $PATH |
3395 |
do |
3396 |
IFS=$as_save_IFS |
3397 |
test -z "$as_dir" && as_dir=. |
3398 |
- for ac_exec_ext in '' $ac_executable_extensions; do |
3399 |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3400 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
3401 |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3402 |
ac_cv_prog_ac_ct_CC="gcc" |
3403 |
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3404 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3405 |
break 2 |
3406 |
fi |
3407 |
done |
3408 |
-done |
3409 |
+ done |
3410 |
IFS=$as_save_IFS |
3411 |
|
3412 |
fi |
3413 |
fi |
3414 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
3415 |
if test -n "$ac_ct_CC"; then |
3416 |
- { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
3417 |
-echo "${ECHO_T}$ac_ct_CC" >&6; } |
3418 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
3419 |
+$as_echo "$ac_ct_CC" >&6; } |
3420 |
else |
3421 |
- { echo "$as_me:$LINENO: result: no" >&5 |
3422 |
-echo "${ECHO_T}no" >&6; } |
3423 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3424 |
+$as_echo "no" >&6; } |
3425 |
fi |
3426 |
|
3427 |
if test "x$ac_ct_CC" = x; then |
3428 |
@@ -2324,12 +3189,8 @@ fi |
3429 |
else |
3430 |
case $cross_compiling:$ac_tool_warned in |
3431 |
yes:) |
3432 |
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
3433 |
-whose name does not start with the host triplet. If you think this |
3434 |
-configuration is useful to you, please write to autoconf@gnu.org." >&5 |
3435 |
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
3436 |
-whose name does not start with the host triplet. If you think this |
3437 |
-configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
3438 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
3439 |
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
3440 |
ac_tool_warned=yes ;; |
3441 |
esac |
3442 |
CC=$ac_ct_CC |
3443 |
@@ -2342,10 +3203,10 @@ if test -z "$CC"; then |
3444 |
if test -n "$ac_tool_prefix"; then |
3445 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
3446 |
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
3447 |
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3448 |
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
3449 |
-if test "${ac_cv_prog_CC+set}" = set; then |
3450 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
3451 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3452 |
+$as_echo_n "checking for $ac_word... " >&6; } |
3453 |
+if ${ac_cv_prog_CC+:} false; then : |
3454 |
+ $as_echo_n "(cached) " >&6 |
3455 |
else |
3456 |
if test -n "$CC"; then |
3457 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
3458 |
@@ -2355,25 +3216,25 @@ for as_dir in $PATH |
3459 |
do |
3460 |
IFS=$as_save_IFS |
3461 |
test -z "$as_dir" && as_dir=. |
3462 |
- for ac_exec_ext in '' $ac_executable_extensions; do |
3463 |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3464 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
3465 |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3466 |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
3467 |
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3468 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3469 |
break 2 |
3470 |
fi |
3471 |
done |
3472 |
-done |
3473 |
+ done |
3474 |
IFS=$as_save_IFS |
3475 |
|
3476 |
fi |
3477 |
fi |
3478 |
CC=$ac_cv_prog_CC |
3479 |
if test -n "$CC"; then |
3480 |
- { echo "$as_me:$LINENO: result: $CC" >&5 |
3481 |
-echo "${ECHO_T}$CC" >&6; } |
3482 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
3483 |
+$as_echo "$CC" >&6; } |
3484 |
else |
3485 |
- { echo "$as_me:$LINENO: result: no" >&5 |
3486 |
-echo "${ECHO_T}no" >&6; } |
3487 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3488 |
+$as_echo "no" >&6; } |
3489 |
fi |
3490 |
|
3491 |
|
3492 |
@@ -2382,10 +3243,10 @@ fi |
3493 |
if test -z "$CC"; then |
3494 |
# Extract the first word of "cc", so it can be a program name with args. |
3495 |
set dummy cc; ac_word=$2 |
3496 |
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3497 |
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
3498 |
-if test "${ac_cv_prog_CC+set}" = set; then |
3499 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
3500 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3501 |
+$as_echo_n "checking for $ac_word... " >&6; } |
3502 |
+if ${ac_cv_prog_CC+:} false; then : |
3503 |
+ $as_echo_n "(cached) " >&6 |
3504 |
else |
3505 |
if test -n "$CC"; then |
3506 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
3507 |
@@ -2396,18 +3257,18 @@ for as_dir in $PATH |
3508 |
do |
3509 |
IFS=$as_save_IFS |
3510 |
test -z "$as_dir" && as_dir=. |
3511 |
- for ac_exec_ext in '' $ac_executable_extensions; do |
3512 |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3513 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
3514 |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3515 |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
3516 |
ac_prog_rejected=yes |
3517 |
continue |
3518 |
fi |
3519 |
ac_cv_prog_CC="cc" |
3520 |
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3521 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3522 |
break 2 |
3523 |
fi |
3524 |
done |
3525 |
-done |
3526 |
+ done |
3527 |
IFS=$as_save_IFS |
3528 |
|
3529 |
if test $ac_prog_rejected = yes; then |
3530 |
@@ -2426,11 +3287,11 @@ fi |
3531 |
fi |
3532 |
CC=$ac_cv_prog_CC |
3533 |
if test -n "$CC"; then |
3534 |
- { echo "$as_me:$LINENO: result: $CC" >&5 |
3535 |
-echo "${ECHO_T}$CC" >&6; } |
3536 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
3537 |
+$as_echo "$CC" >&6; } |
3538 |
else |
3539 |
- { echo "$as_me:$LINENO: result: no" >&5 |
3540 |
-echo "${ECHO_T}no" >&6; } |
3541 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3542 |
+$as_echo "no" >&6; } |
3543 |
fi |
3544 |
|
3545 |
|
3546 |
@@ -2441,10 +3302,10 @@ if test -z "$CC"; then |
3547 |
do |
3548 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
3549 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
3550 |
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3551 |
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
3552 |
-if test "${ac_cv_prog_CC+set}" = set; then |
3553 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
3554 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3555 |
+$as_echo_n "checking for $ac_word... " >&6; } |
3556 |
+if ${ac_cv_prog_CC+:} false; then : |
3557 |
+ $as_echo_n "(cached) " >&6 |
3558 |
else |
3559 |
if test -n "$CC"; then |
3560 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
3561 |
@@ -2454,25 +3315,25 @@ for as_dir in $PATH |
3562 |
do |
3563 |
IFS=$as_save_IFS |
3564 |
test -z "$as_dir" && as_dir=. |
3565 |
- for ac_exec_ext in '' $ac_executable_extensions; do |
3566 |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3567 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
3568 |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3569 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
3570 |
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3571 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3572 |
break 2 |
3573 |
fi |
3574 |
done |
3575 |
-done |
3576 |
+ done |
3577 |
IFS=$as_save_IFS |
3578 |
|
3579 |
fi |
3580 |
fi |
3581 |
CC=$ac_cv_prog_CC |
3582 |
if test -n "$CC"; then |
3583 |
- { echo "$as_me:$LINENO: result: $CC" >&5 |
3584 |
-echo "${ECHO_T}$CC" >&6; } |
3585 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
3586 |
+$as_echo "$CC" >&6; } |
3587 |
else |
3588 |
- { echo "$as_me:$LINENO: result: no" >&5 |
3589 |
-echo "${ECHO_T}no" >&6; } |
3590 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3591 |
+$as_echo "no" >&6; } |
3592 |
fi |
3593 |
|
3594 |
|
3595 |
@@ -2485,10 +3346,10 @@ if test -z "$CC"; then |
3596 |
do |
3597 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
3598 |
set dummy $ac_prog; ac_word=$2 |
3599 |
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3600 |
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
3601 |
-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
3602 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
3603 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3604 |
+$as_echo_n "checking for $ac_word... " >&6; } |
3605 |
+if ${ac_cv_prog_ac_ct_CC+:} false; then : |
3606 |
+ $as_echo_n "(cached) " >&6 |
3607 |
else |
3608 |
if test -n "$ac_ct_CC"; then |
3609 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3610 |
@@ -2498,25 +3359,25 @@ for as_dir in $PATH |
3611 |
do |
3612 |
IFS=$as_save_IFS |
3613 |
test -z "$as_dir" && as_dir=. |
3614 |
- for ac_exec_ext in '' $ac_executable_extensions; do |
3615 |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3616 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
3617 |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3618 |
ac_cv_prog_ac_ct_CC="$ac_prog" |
3619 |
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3620 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3621 |
break 2 |
3622 |
fi |
3623 |
done |
3624 |
-done |
3625 |
+ done |
3626 |
IFS=$as_save_IFS |
3627 |
|
3628 |
fi |
3629 |
fi |
3630 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
3631 |
if test -n "$ac_ct_CC"; then |
3632 |
- { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
3633 |
-echo "${ECHO_T}$ac_ct_CC" >&6; } |
3634 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
3635 |
+$as_echo "$ac_ct_CC" >&6; } |
3636 |
else |
3637 |
- { echo "$as_me:$LINENO: result: no" >&5 |
3638 |
-echo "${ECHO_T}no" >&6; } |
3639 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3640 |
+$as_echo "no" >&6; } |
3641 |
fi |
3642 |
|
3643 |
|
3644 |
@@ -2528,12 +3389,8 @@ done |
3645 |
else |
3646 |
case $cross_compiling:$ac_tool_warned in |
3647 |
yes:) |
3648 |
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
3649 |
-whose name does not start with the host triplet. If you think this |
3650 |
-configuration is useful to you, please write to autoconf@gnu.org." >&5 |
3651 |
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
3652 |
-whose name does not start with the host triplet. If you think this |
3653 |
-configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
3654 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
3655 |
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
3656 |
ac_tool_warned=yes ;; |
3657 |
esac |
3658 |
CC=$ac_ct_CC |
3659 |
@@ -2543,51 +3400,37 @@ fi |
3660 |
fi |
3661 |
|
3662 |
|
3663 |
-test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
3664 |
-See \`config.log' for more details." >&5 |
3665 |
-echo "$as_me: error: no acceptable C compiler found in \$PATH |
3666 |
-See \`config.log' for more details." >&2;} |
3667 |
- { (exit 1); exit 1; }; } |
3668 |
+test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3669 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3670 |
+as_fn_error $? "no acceptable C compiler found in \$PATH |
3671 |
+See \`config.log' for more details" "$LINENO" 5; } |
3672 |
|
3673 |
# Provide some information about the compiler. |
3674 |
-echo "$as_me:$LINENO: checking for C compiler version" >&5 |
3675 |
-ac_compiler=`set X $ac_compile; echo $2` |
3676 |
-{ (ac_try="$ac_compiler --version >&5" |
3677 |
-case "(($ac_try" in |
3678 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3679 |
- *) ac_try_echo=$ac_try;; |
3680 |
-esac |
3681 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3682 |
- (eval "$ac_compiler --version >&5") 2>&5 |
3683 |
- ac_status=$? |
3684 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3685 |
- (exit $ac_status); } |
3686 |
-{ (ac_try="$ac_compiler -v >&5" |
3687 |
-case "(($ac_try" in |
3688 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3689 |
- *) ac_try_echo=$ac_try;; |
3690 |
-esac |
3691 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3692 |
- (eval "$ac_compiler -v >&5") 2>&5 |
3693 |
- ac_status=$? |
3694 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3695 |
- (exit $ac_status); } |
3696 |
-{ (ac_try="$ac_compiler -V >&5" |
3697 |
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
3698 |
+set X $ac_compile |
3699 |
+ac_compiler=$2 |
3700 |
+for ac_option in --version -v -V -qversion; do |
3701 |
+ { { ac_try="$ac_compiler $ac_option >&5" |
3702 |
case "(($ac_try" in |
3703 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3704 |
*) ac_try_echo=$ac_try;; |
3705 |
esac |
3706 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3707 |
- (eval "$ac_compiler -V >&5") 2>&5 |
3708 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3709 |
+$as_echo "$ac_try_echo"; } >&5 |
3710 |
+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
3711 |
ac_status=$? |
3712 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3713 |
- (exit $ac_status); } |
3714 |
+ if test -s conftest.err; then |
3715 |
+ sed '10a\ |
3716 |
+... rest of stderr output deleted ... |
3717 |
+ 10q' conftest.err >conftest.er1 |
3718 |
+ cat conftest.er1 >&5 |
3719 |
+ fi |
3720 |
+ rm -f conftest.er1 conftest.err |
3721 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3722 |
+ test $ac_status = 0; } |
3723 |
+done |
3724 |
|
3725 |
-cat >conftest.$ac_ext <<_ACEOF |
3726 |
-/* confdefs.h. */ |
3727 |
-_ACEOF |
3728 |
-cat confdefs.h >>conftest.$ac_ext |
3729 |
-cat >>conftest.$ac_ext <<_ACEOF |
3730 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3731 |
/* end confdefs.h. */ |
3732 |
|
3733 |
int |
3734 |
@@ -2599,42 +3442,38 @@ main () |
3735 |
} |
3736 |
_ACEOF |
3737 |
ac_clean_files_save=$ac_clean_files |
3738 |
-ac_clean_files="$ac_clean_files a.out a.exe b.out" |
3739 |
+ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
3740 |
# Try to create an executable without -o first, disregard a.out. |
3741 |
# It will help us diagnose broken compilers, and finding out an intuition |
3742 |
# of exeext. |
3743 |
-{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
3744 |
-echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } |
3745 |
-ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
3746 |
-# |
3747 |
-# List of possible output files, starting from the most likely. |
3748 |
-# The algorithm is not robust to junk in `.', hence go to wildcards (a.*) |
3749 |
-# only as a last resort. b.out is created by i960 compilers. |
3750 |
-ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' |
3751 |
-# |
3752 |
-# The IRIX 6 linker writes into existing files which may not be |
3753 |
-# executable, retaining their permissions. Remove them first so a |
3754 |
-# subsequent execution test works. |
3755 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
3756 |
+$as_echo_n "checking whether the C compiler works... " >&6; } |
3757 |
+ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
3758 |
+ |
3759 |
+# The possible output files: |
3760 |
+ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
3761 |
+ |
3762 |
ac_rmfiles= |
3763 |
for ac_file in $ac_files |
3764 |
do |
3765 |
case $ac_file in |
3766 |
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
3767 |
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
3768 |
* ) ac_rmfiles="$ac_rmfiles $ac_file";; |
3769 |
esac |
3770 |
done |
3771 |
rm -f $ac_rmfiles |
3772 |
|
3773 |
-if { (ac_try="$ac_link_default" |
3774 |
+if { { ac_try="$ac_link_default" |
3775 |
case "(($ac_try" in |
3776 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3777 |
*) ac_try_echo=$ac_try;; |
3778 |
esac |
3779 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3780 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3781 |
+$as_echo "$ac_try_echo"; } >&5 |
3782 |
(eval "$ac_link_default") 2>&5 |
3783 |
ac_status=$? |
3784 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3785 |
- (exit $ac_status); }; then |
3786 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3787 |
+ test $ac_status = 0; }; then : |
3788 |
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
3789 |
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
3790 |
# in a Makefile. We should not override ac_cv_exeext if it was cached, |
3791 |
@@ -2644,14 +3483,14 @@ for ac_file in $ac_files '' |
3792 |
do |
3793 |
test -f "$ac_file" || continue |
3794 |
case $ac_file in |
3795 |
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) |
3796 |
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
3797 |
;; |
3798 |
[ab].out ) |
3799 |
# We found the default executable, but exeext='' is most |
3800 |
# certainly right. |
3801 |
break;; |
3802 |
*.* ) |
3803 |
- if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
3804 |
+ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
3805 |
then :; else |
3806 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
3807 |
fi |
3808 |
@@ -2670,78 +3509,41 @@ test "$ac_cv_exeext" = no && ac_cv_exeex |
3809 |
else |
3810 |
ac_file='' |
3811 |
fi |
3812 |
- |
3813 |
-{ echo "$as_me:$LINENO: result: $ac_file" >&5 |
3814 |
-echo "${ECHO_T}$ac_file" >&6; } |
3815 |
-if test -z "$ac_file"; then |
3816 |
- echo "$as_me: failed program was:" >&5 |
3817 |
+if test -z "$ac_file"; then : |
3818 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3819 |
+$as_echo "no" >&6; } |
3820 |
+$as_echo "$as_me: failed program was:" >&5 |
3821 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3822 |
|
3823 |
-{ { echo "$as_me:$LINENO: error: C compiler cannot create executables |
3824 |
-See \`config.log' for more details." >&5 |
3825 |
-echo "$as_me: error: C compiler cannot create executables |
3826 |
-See \`config.log' for more details." >&2;} |
3827 |
- { (exit 77); exit 77; }; } |
3828 |
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3829 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3830 |
+as_fn_error 77 "C compiler cannot create executables |
3831 |
+See \`config.log' for more details" "$LINENO" 5; } |
3832 |
+else |
3833 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3834 |
+$as_echo "yes" >&6; } |
3835 |
fi |
3836 |
- |
3837 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
3838 |
+$as_echo_n "checking for C compiler default output file name... " >&6; } |
3839 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
3840 |
+$as_echo "$ac_file" >&6; } |
3841 |
ac_exeext=$ac_cv_exeext |
3842 |
|
3843 |
-# Check that the compiler produces executables we can run. If not, either |
3844 |
-# the compiler is broken, or we cross compile. |
3845 |
-{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
3846 |
-echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } |
3847 |
-# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
3848 |
-# If not cross compiling, check that we can run a simple program. |
3849 |
-if test "$cross_compiling" != yes; then |
3850 |
- if { ac_try='./$ac_file' |
3851 |
- { (case "(($ac_try" in |
3852 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3853 |
- *) ac_try_echo=$ac_try;; |
3854 |
-esac |
3855 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3856 |
- (eval "$ac_try") 2>&5 |
3857 |
- ac_status=$? |
3858 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3859 |
- (exit $ac_status); }; }; then |
3860 |
- cross_compiling=no |
3861 |
- else |
3862 |
- if test "$cross_compiling" = maybe; then |
3863 |
- cross_compiling=yes |
3864 |
- else |
3865 |
- { { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
3866 |
-If you meant to cross compile, use \`--host'. |
3867 |
-See \`config.log' for more details." >&5 |
3868 |
-echo "$as_me: error: cannot run C compiled programs. |
3869 |
-If you meant to cross compile, use \`--host'. |
3870 |
-See \`config.log' for more details." >&2;} |
3871 |
- { (exit 1); exit 1; }; } |
3872 |
- fi |
3873 |
- fi |
3874 |
-fi |
3875 |
-{ echo "$as_me:$LINENO: result: yes" >&5 |
3876 |
-echo "${ECHO_T}yes" >&6; } |
3877 |
- |
3878 |
-rm -f a.out a.exe conftest$ac_cv_exeext b.out |
3879 |
+rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
3880 |
ac_clean_files=$ac_clean_files_save |
3881 |
-# Check that the compiler produces executables we can run. If not, either |
3882 |
-# the compiler is broken, or we cross compile. |
3883 |
-{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
3884 |
-echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } |
3885 |
-{ echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
3886 |
-echo "${ECHO_T}$cross_compiling" >&6; } |
3887 |
- |
3888 |
-{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
3889 |
-echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } |
3890 |
-if { (ac_try="$ac_link" |
3891 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
3892 |
+$as_echo_n "checking for suffix of executables... " >&6; } |
3893 |
+if { { ac_try="$ac_link" |
3894 |
case "(($ac_try" in |
3895 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3896 |
*) ac_try_echo=$ac_try;; |
3897 |
esac |
3898 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3899 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3900 |
+$as_echo "$ac_try_echo"; } >&5 |
3901 |
(eval "$ac_link") 2>&5 |
3902 |
ac_status=$? |
3903 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3904 |
- (exit $ac_status); }; then |
3905 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3906 |
+ test $ac_status = 0; }; then : |
3907 |
# If both `conftest.exe' and `conftest' are `present' (well, observable) |
3908 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
3909 |
# work properly (i.e., refer to `conftest.exe'), while it won't with |
3910 |
@@ -2749,37 +3551,90 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec |
3911 |
for ac_file in conftest.exe conftest conftest.*; do |
3912 |
test -f "$ac_file" || continue |
3913 |
case $ac_file in |
3914 |
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
3915 |
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
3916 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
3917 |
break;; |
3918 |
* ) break;; |
3919 |
esac |
3920 |
done |
3921 |
else |
3922 |
- { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
3923 |
-See \`config.log' for more details." >&5 |
3924 |
-echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
3925 |
-See \`config.log' for more details." >&2;} |
3926 |
- { (exit 1); exit 1; }; } |
3927 |
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3928 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3929 |
+as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
3930 |
+See \`config.log' for more details" "$LINENO" 5; } |
3931 |
fi |
3932 |
- |
3933 |
-rm -f conftest$ac_cv_exeext |
3934 |
-{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
3935 |
-echo "${ECHO_T}$ac_cv_exeext" >&6; } |
3936 |
+rm -f conftest conftest$ac_cv_exeext |
3937 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
3938 |
+$as_echo "$ac_cv_exeext" >&6; } |
3939 |
|
3940 |
rm -f conftest.$ac_ext |
3941 |
EXEEXT=$ac_cv_exeext |
3942 |
ac_exeext=$EXEEXT |
3943 |
-{ echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
3944 |
-echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } |
3945 |
-if test "${ac_cv_objext+set}" = set; then |
3946 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
3947 |
-else |
3948 |
- cat >conftest.$ac_ext <<_ACEOF |
3949 |
-/* confdefs.h. */ |
3950 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3951 |
+/* end confdefs.h. */ |
3952 |
+#include <stdio.h> |
3953 |
+int |
3954 |
+main () |
3955 |
+{ |
3956 |
+FILE *f = fopen ("conftest.out", "w"); |
3957 |
+ return ferror (f) || fclose (f) != 0; |
3958 |
+ |
3959 |
+ ; |
3960 |
+ return 0; |
3961 |
+} |
3962 |
_ACEOF |
3963 |
-cat confdefs.h >>conftest.$ac_ext |
3964 |
-cat >>conftest.$ac_ext <<_ACEOF |
3965 |
+ac_clean_files="$ac_clean_files conftest.out" |
3966 |
+# Check that the compiler produces executables we can run. If not, either |
3967 |
+# the compiler is broken, or we cross compile. |
3968 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
3969 |
+$as_echo_n "checking whether we are cross compiling... " >&6; } |
3970 |
+if test "$cross_compiling" != yes; then |
3971 |
+ { { ac_try="$ac_link" |
3972 |
+case "(($ac_try" in |
3973 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3974 |
+ *) ac_try_echo=$ac_try;; |
3975 |
+esac |
3976 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3977 |
+$as_echo "$ac_try_echo"; } >&5 |
3978 |
+ (eval "$ac_link") 2>&5 |
3979 |
+ ac_status=$? |
3980 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3981 |
+ test $ac_status = 0; } |
3982 |
+ if { ac_try='./conftest$ac_cv_exeext' |
3983 |
+ { { case "(($ac_try" in |
3984 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3985 |
+ *) ac_try_echo=$ac_try;; |
3986 |
+esac |
3987 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3988 |
+$as_echo "$ac_try_echo"; } >&5 |
3989 |
+ (eval "$ac_try") 2>&5 |
3990 |
+ ac_status=$? |
3991 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3992 |
+ test $ac_status = 0; }; }; then |
3993 |
+ cross_compiling=no |
3994 |
+ else |
3995 |
+ if test "$cross_compiling" = maybe; then |
3996 |
+ cross_compiling=yes |
3997 |
+ else |
3998 |
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3999 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4000 |
+as_fn_error $? "cannot run C compiled programs. |
4001 |
+If you meant to cross compile, use \`--host'. |
4002 |
+See \`config.log' for more details" "$LINENO" 5; } |
4003 |
+ fi |
4004 |
+ fi |
4005 |
+fi |
4006 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
4007 |
+$as_echo "$cross_compiling" >&6; } |
4008 |
+ |
4009 |
+rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
4010 |
+ac_clean_files=$ac_clean_files_save |
4011 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
4012 |
+$as_echo_n "checking for suffix of object files... " >&6; } |
4013 |
+if ${ac_cv_objext+:} false; then : |
4014 |
+ $as_echo_n "(cached) " >&6 |
4015 |
+else |
4016 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4017 |
/* end confdefs.h. */ |
4018 |
|
4019 |
int |
4020 |
@@ -2791,51 +3646,46 @@ main () |
4021 |
} |
4022 |
_ACEOF |
4023 |
rm -f conftest.o conftest.obj |
4024 |
-if { (ac_try="$ac_compile" |
4025 |
+if { { ac_try="$ac_compile" |
4026 |
case "(($ac_try" in |
4027 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4028 |
*) ac_try_echo=$ac_try;; |
4029 |
esac |
4030 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4031 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
4032 |
+$as_echo "$ac_try_echo"; } >&5 |
4033 |
(eval "$ac_compile") 2>&5 |
4034 |
ac_status=$? |
4035 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4036 |
- (exit $ac_status); }; then |
4037 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
4038 |
+ test $ac_status = 0; }; then : |
4039 |
for ac_file in conftest.o conftest.obj conftest.*; do |
4040 |
test -f "$ac_file" || continue; |
4041 |
case $ac_file in |
4042 |
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; |
4043 |
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
4044 |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
4045 |
break;; |
4046 |
esac |
4047 |
done |
4048 |
else |
4049 |
- echo "$as_me: failed program was:" >&5 |
4050 |
+ $as_echo "$as_me: failed program was:" >&5 |
4051 |
sed 's/^/| /' conftest.$ac_ext >&5 |
4052 |
|
4053 |
-{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
4054 |
-See \`config.log' for more details." >&5 |
4055 |
-echo "$as_me: error: cannot compute suffix of object files: cannot compile |
4056 |
-See \`config.log' for more details." >&2;} |
4057 |
- { (exit 1); exit 1; }; } |
4058 |
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
4059 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4060 |
+as_fn_error $? "cannot compute suffix of object files: cannot compile |
4061 |
+See \`config.log' for more details" "$LINENO" 5; } |
4062 |
fi |
4063 |
- |
4064 |
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
4065 |
fi |
4066 |
-{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
4067 |
-echo "${ECHO_T}$ac_cv_objext" >&6; } |
4068 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
4069 |
+$as_echo "$ac_cv_objext" >&6; } |
4070 |
OBJEXT=$ac_cv_objext |
4071 |
ac_objext=$OBJEXT |
4072 |
-{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
4073 |
-echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } |
4074 |
-if test "${ac_cv_c_compiler_gnu+set}" = set; then |
4075 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
4076 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
4077 |
+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
4078 |
+if ${ac_cv_c_compiler_gnu+:} false; then : |
4079 |
+ $as_echo_n "(cached) " >&6 |
4080 |
else |
4081 |
- cat >conftest.$ac_ext <<_ACEOF |
4082 |
-/* confdefs.h. */ |
4083 |
-_ACEOF |
4084 |
-cat confdefs.h >>conftest.$ac_ext |
4085 |
-cat >>conftest.$ac_ext <<_ACEOF |
4086 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4087 |
/* end confdefs.h. */ |
4088 |
|
4089 |
int |
4090 |
@@ -2849,54 +3699,34 @@ main () |
4091 |
return 0; |
4092 |
} |
4093 |
_ACEOF |
4094 |
-rm -f conftest.$ac_objext |
4095 |
-if { (ac_try="$ac_compile" |
4096 |
-case "(($ac_try" in |
4097 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4098 |
- *) ac_try_echo=$ac_try;; |
4099 |
-esac |
4100 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4101 |
- (eval "$ac_compile") 2>conftest.er1 |
4102 |
- ac_status=$? |
4103 |
- grep -v '^ *+' conftest.er1 >conftest.err |
4104 |
- rm -f conftest.er1 |
4105 |
- cat conftest.err >&5 |
4106 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4107 |
- (exit $ac_status); } && { |
4108 |
- test -z "$ac_c_werror_flag" || |
4109 |
- test ! -s conftest.err |
4110 |
- } && test -s conftest.$ac_objext; then |
4111 |
+if ac_fn_c_try_compile "$LINENO"; then : |
4112 |
ac_compiler_gnu=yes |
4113 |
else |
4114 |
- echo "$as_me: failed program was:" >&5 |
4115 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
4116 |
- |
4117 |
- ac_compiler_gnu=no |
4118 |
+ ac_compiler_gnu=no |
4119 |
fi |
4120 |
- |
4121 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4122 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
4123 |
|
4124 |
fi |
4125 |
-{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
4126 |
-echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } |
4127 |
-GCC=`test $ac_compiler_gnu = yes && echo yes` |
4128 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
4129 |
+$as_echo "$ac_cv_c_compiler_gnu" >&6; } |
4130 |
+if test $ac_compiler_gnu = yes; then |
4131 |
+ GCC=yes |
4132 |
+else |
4133 |
+ GCC= |
4134 |
+fi |
4135 |
ac_test_CFLAGS=${CFLAGS+set} |
4136 |
ac_save_CFLAGS=$CFLAGS |
4137 |
-{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
4138 |
-echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } |
4139 |
-if test "${ac_cv_prog_cc_g+set}" = set; then |
4140 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
4141 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
4142 |
+$as_echo_n "checking whether $CC accepts -g... " >&6; } |
4143 |
+if ${ac_cv_prog_cc_g+:} false; then : |
4144 |
+ $as_echo_n "(cached) " >&6 |
4145 |
else |
4146 |
ac_save_c_werror_flag=$ac_c_werror_flag |
4147 |
ac_c_werror_flag=yes |
4148 |
ac_cv_prog_cc_g=no |
4149 |
CFLAGS="-g" |
4150 |
- cat >conftest.$ac_ext <<_ACEOF |
4151 |
-/* confdefs.h. */ |
4152 |
-_ACEOF |
4153 |
-cat confdefs.h >>conftest.$ac_ext |
4154 |
-cat >>conftest.$ac_ext <<_ACEOF |
4155 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4156 |
/* end confdefs.h. */ |
4157 |
|
4158 |
int |
4159 |
@@ -2907,34 +3737,11 @@ main () |
4160 |
return 0; |
4161 |
} |
4162 |
_ACEOF |
4163 |
-rm -f conftest.$ac_objext |
4164 |
-if { (ac_try="$ac_compile" |
4165 |
-case "(($ac_try" in |
4166 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4167 |
- *) ac_try_echo=$ac_try;; |
4168 |
-esac |
4169 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4170 |
- (eval "$ac_compile") 2>conftest.er1 |
4171 |
- ac_status=$? |
4172 |
- grep -v '^ *+' conftest.er1 >conftest.err |
4173 |
- rm -f conftest.er1 |
4174 |
- cat conftest.err >&5 |
4175 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4176 |
- (exit $ac_status); } && { |
4177 |
- test -z "$ac_c_werror_flag" || |
4178 |
- test ! -s conftest.err |
4179 |
- } && test -s conftest.$ac_objext; then |
4180 |
+if ac_fn_c_try_compile "$LINENO"; then : |
4181 |
ac_cv_prog_cc_g=yes |
4182 |
else |
4183 |
- echo "$as_me: failed program was:" >&5 |
4184 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
4185 |
- |
4186 |
- CFLAGS="" |
4187 |
- cat >conftest.$ac_ext <<_ACEOF |
4188 |
-/* confdefs.h. */ |
4189 |
-_ACEOF |
4190 |
-cat confdefs.h >>conftest.$ac_ext |
4191 |
-cat >>conftest.$ac_ext <<_ACEOF |
4192 |
+ CFLAGS="" |
4193 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4194 |
/* end confdefs.h. */ |
4195 |
|
4196 |
int |
4197 |
@@ -2945,35 +3752,12 @@ main () |
4198 |
return 0; |
4199 |
} |
4200 |
_ACEOF |
4201 |
-rm -f conftest.$ac_objext |
4202 |
-if { (ac_try="$ac_compile" |
4203 |
-case "(($ac_try" in |
4204 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4205 |
- *) ac_try_echo=$ac_try;; |
4206 |
-esac |
4207 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4208 |
- (eval "$ac_compile") 2>conftest.er1 |
4209 |
- ac_status=$? |
4210 |
- grep -v '^ *+' conftest.er1 >conftest.err |
4211 |
- rm -f conftest.er1 |
4212 |
- cat conftest.err >&5 |
4213 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4214 |
- (exit $ac_status); } && { |
4215 |
- test -z "$ac_c_werror_flag" || |
4216 |
- test ! -s conftest.err |
4217 |
- } && test -s conftest.$ac_objext; then |
4218 |
- : |
4219 |
-else |
4220 |
- echo "$as_me: failed program was:" >&5 |
4221 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
4222 |
+if ac_fn_c_try_compile "$LINENO"; then : |
4223 |
|
4224 |
- ac_c_werror_flag=$ac_save_c_werror_flag |
4225 |
+else |
4226 |
+ ac_c_werror_flag=$ac_save_c_werror_flag |
4227 |
CFLAGS="-g" |
4228 |
- cat >conftest.$ac_ext <<_ACEOF |
4229 |
-/* confdefs.h. */ |
4230 |
-_ACEOF |
4231 |
-cat confdefs.h >>conftest.$ac_ext |
4232 |
-cat >>conftest.$ac_ext <<_ACEOF |
4233 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4234 |
/* end confdefs.h. */ |
4235 |
|
4236 |
int |
4237 |
@@ -2984,42 +3768,18 @@ main () |
4238 |
return 0; |
4239 |
} |
4240 |
_ACEOF |
4241 |
-rm -f conftest.$ac_objext |
4242 |
-if { (ac_try="$ac_compile" |
4243 |
-case "(($ac_try" in |
4244 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4245 |
- *) ac_try_echo=$ac_try;; |
4246 |
-esac |
4247 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4248 |
- (eval "$ac_compile") 2>conftest.er1 |
4249 |
- ac_status=$? |
4250 |
- grep -v '^ *+' conftest.er1 >conftest.err |
4251 |
- rm -f conftest.er1 |
4252 |
- cat conftest.err >&5 |
4253 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4254 |
- (exit $ac_status); } && { |
4255 |
- test -z "$ac_c_werror_flag" || |
4256 |
- test ! -s conftest.err |
4257 |
- } && test -s conftest.$ac_objext; then |
4258 |
+if ac_fn_c_try_compile "$LINENO"; then : |
4259 |
ac_cv_prog_cc_g=yes |
4260 |
-else |
4261 |
- echo "$as_me: failed program was:" >&5 |
4262 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
4263 |
- |
4264 |
- |
4265 |
fi |
4266 |
- |
4267 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4268 |
fi |
4269 |
- |
4270 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4271 |
fi |
4272 |
- |
4273 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4274 |
ac_c_werror_flag=$ac_save_c_werror_flag |
4275 |
fi |
4276 |
-{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
4277 |
-echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } |
4278 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
4279 |
+$as_echo "$ac_cv_prog_cc_g" >&6; } |
4280 |
if test "$ac_test_CFLAGS" = set; then |
4281 |
CFLAGS=$ac_save_CFLAGS |
4282 |
elif test $ac_cv_prog_cc_g = yes; then |
4283 |
@@ -3035,23 +3795,18 @@ else |
4284 |
CFLAGS= |
4285 |
fi |
4286 |
fi |
4287 |
-{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
4288 |
-echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } |
4289 |
-if test "${ac_cv_prog_cc_c89+set}" = set; then |
4290 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
4291 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
4292 |
+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
4293 |
+if ${ac_cv_prog_cc_c89+:} false; then : |
4294 |
+ $as_echo_n "(cached) " >&6 |
4295 |
else |
4296 |
ac_cv_prog_cc_c89=no |
4297 |
ac_save_CC=$CC |
4298 |
-cat >conftest.$ac_ext <<_ACEOF |
4299 |
-/* confdefs.h. */ |
4300 |
-_ACEOF |
4301 |
-cat confdefs.h >>conftest.$ac_ext |
4302 |
-cat >>conftest.$ac_ext <<_ACEOF |
4303 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4304 |
/* end confdefs.h. */ |
4305 |
#include <stdarg.h> |
4306 |
#include <stdio.h> |
4307 |
-#include <sys/types.h> |
4308 |
-#include <sys/stat.h> |
4309 |
+struct stat; |
4310 |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
4311 |
struct buf { int x; }; |
4312 |
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
4313 |
@@ -3103,31 +3858,9 @@ for ac_arg in '' -qlanglvl=extc89 -qlang |
4314 |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
4315 |
do |
4316 |
CC="$ac_save_CC $ac_arg" |
4317 |
- rm -f conftest.$ac_objext |
4318 |
-if { (ac_try="$ac_compile" |
4319 |
-case "(($ac_try" in |
4320 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4321 |
- *) ac_try_echo=$ac_try;; |
4322 |
-esac |
4323 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4324 |
- (eval "$ac_compile") 2>conftest.er1 |
4325 |
- ac_status=$? |
4326 |
- grep -v '^ *+' conftest.er1 >conftest.err |
4327 |
- rm -f conftest.er1 |
4328 |
- cat conftest.err >&5 |
4329 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4330 |
- (exit $ac_status); } && { |
4331 |
- test -z "$ac_c_werror_flag" || |
4332 |
- test ! -s conftest.err |
4333 |
- } && test -s conftest.$ac_objext; then |
4334 |
+ if ac_fn_c_try_compile "$LINENO"; then : |
4335 |
ac_cv_prog_cc_c89=$ac_arg |
4336 |
-else |
4337 |
- echo "$as_me: failed program was:" >&5 |
4338 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
4339 |
- |
4340 |
- |
4341 |
fi |
4342 |
- |
4343 |
rm -f core conftest.err conftest.$ac_objext |
4344 |
test "x$ac_cv_prog_cc_c89" != "xno" && break |
4345 |
done |
4346 |
@@ -3138,23 +3871,84 @@ fi |
4347 |
# AC_CACHE_VAL |
4348 |
case "x$ac_cv_prog_cc_c89" in |
4349 |
x) |
4350 |
- { echo "$as_me:$LINENO: result: none needed" >&5 |
4351 |
-echo "${ECHO_T}none needed" >&6; } ;; |
4352 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
4353 |
+$as_echo "none needed" >&6; } ;; |
4354 |
xno) |
4355 |
- { echo "$as_me:$LINENO: result: unsupported" >&5 |
4356 |
-echo "${ECHO_T}unsupported" >&6; } ;; |
4357 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
4358 |
+$as_echo "unsupported" >&6; } ;; |
4359 |
*) |
4360 |
CC="$CC $ac_cv_prog_cc_c89" |
4361 |
- { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
4362 |
-echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; |
4363 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
4364 |
+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
4365 |
esac |
4366 |
+if test "x$ac_cv_prog_cc_c89" != xno; then : |
4367 |
+ |
4368 |
+fi |
4369 |
|
4370 |
+ac_ext=c |
4371 |
+ac_cpp='$CPP $CPPFLAGS' |
4372 |
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4373 |
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4374 |
+ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4375 |
|
4376 |
ac_ext=c |
4377 |
ac_cpp='$CPP $CPPFLAGS' |
4378 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4379 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4380 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4381 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 |
4382 |
+$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } |
4383 |
+if ${am_cv_prog_cc_c_o+:} false; then : |
4384 |
+ $as_echo_n "(cached) " >&6 |
4385 |
+else |
4386 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4387 |
+/* end confdefs.h. */ |
4388 |
+ |
4389 |
+int |
4390 |
+main () |
4391 |
+{ |
4392 |
+ |
4393 |
+ ; |
4394 |
+ return 0; |
4395 |
+} |
4396 |
+_ACEOF |
4397 |
+ # Make sure it works both with $CC and with simple cc. |
4398 |
+ # Following AC_PROG_CC_C_O, we do the test twice because some |
4399 |
+ # compilers refuse to overwrite an existing .o file with -o, |
4400 |
+ # though they will create one. |
4401 |
+ am_cv_prog_cc_c_o=yes |
4402 |
+ for am_i in 1 2; do |
4403 |
+ if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 |
4404 |
+ ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 |
4405 |
+ ac_status=$? |
4406 |
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4407 |
+ (exit $ac_status); } \ |
4408 |
+ && test -f conftest2.$ac_objext; then |
4409 |
+ : OK |
4410 |
+ else |
4411 |
+ am_cv_prog_cc_c_o=no |
4412 |
+ break |
4413 |
+ fi |
4414 |
+ done |
4415 |
+ rm -f core conftest* |
4416 |
+ unset am_i |
4417 |
+fi |
4418 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 |
4419 |
+$as_echo "$am_cv_prog_cc_c_o" >&6; } |
4420 |
+if test "$am_cv_prog_cc_c_o" != yes; then |
4421 |
+ # Losing compiler, so override with the script. |
4422 |
+ # FIXME: It is wrong to rewrite CC. |
4423 |
+ # But if we don't then we get into trouble of one sort or another. |
4424 |
+ # A longer-term fix would be to have automake use am__CC in this case, |
4425 |
+ # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
4426 |
+ CC="$am_aux_dir/compile $CC" |
4427 |
+fi |
4428 |
+ac_ext=c |
4429 |
+ac_cpp='$CPP $CPPFLAGS' |
4430 |
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4431 |
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4432 |
+ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4433 |
+ |
4434 |
DEPDIR="${am__leading_dot}deps" |
4435 |
|
4436 |
ac_config_commands="$ac_config_commands depfiles" |
4437 |
@@ -3163,54 +3957,53 @@ ac_config_commands="$ac_config_commands |
4438 |
am_make=${MAKE-make} |
4439 |
cat > confinc << 'END' |
4440 |
am__doit: |
4441 |
- @echo done |
4442 |
+ @echo this is the am__doit target |
4443 |
.PHONY: am__doit |
4444 |
END |
4445 |
# If we don't find an include directive, just comment out the code. |
4446 |
-{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 |
4447 |
-echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } |
4448 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
4449 |
+$as_echo_n "checking for style of include used by $am_make... " >&6; } |
4450 |
am__include="#" |
4451 |
am__quote= |
4452 |
_am_result=none |
4453 |
# First try GNU make style include. |
4454 |
echo "include confinc" > confmf |
4455 |
-# We grep out `Entering directory' and `Leaving directory' |
4456 |
-# messages which can occur if `w' ends up in MAKEFLAGS. |
4457 |
-# In particular we don't look at `^make:' because GNU make might |
4458 |
-# be invoked under some other name (usually "gmake"), in which |
4459 |
-# case it prints its new name instead of `make'. |
4460 |
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then |
4461 |
- am__include=include |
4462 |
- am__quote= |
4463 |
- _am_result=GNU |
4464 |
-fi |
4465 |
+# Ignore all kinds of additional output from 'make'. |
4466 |
+case `$am_make -s -f confmf 2> /dev/null` in #( |
4467 |
+*the\ am__doit\ target*) |
4468 |
+ am__include=include |
4469 |
+ am__quote= |
4470 |
+ _am_result=GNU |
4471 |
+ ;; |
4472 |
+esac |
4473 |
# Now try BSD make style include. |
4474 |
if test "$am__include" = "#"; then |
4475 |
echo '.include "confinc"' > confmf |
4476 |
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then |
4477 |
- am__include=.include |
4478 |
- am__quote="\"" |
4479 |
- _am_result=BSD |
4480 |
- fi |
4481 |
+ case `$am_make -s -f confmf 2> /dev/null` in #( |
4482 |
+ *the\ am__doit\ target*) |
4483 |
+ am__include=.include |
4484 |
+ am__quote="\"" |
4485 |
+ _am_result=BSD |
4486 |
+ ;; |
4487 |
+ esac |
4488 |
fi |
4489 |
|
4490 |
|
4491 |
-{ echo "$as_me:$LINENO: result: $_am_result" >&5 |
4492 |
-echo "${ECHO_T}$_am_result" >&6; } |
4493 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
4494 |
+$as_echo "$_am_result" >&6; } |
4495 |
rm -f confinc confmf |
4496 |
|
4497 |
# Check whether --enable-dependency-tracking was given. |
4498 |
-if test "${enable_dependency_tracking+set}" = set; then |
4499 |
+if test "${enable_dependency_tracking+set}" = set; then : |
4500 |
enableval=$enable_dependency_tracking; |
4501 |
fi |
4502 |
|
4503 |
if test "x$enable_dependency_tracking" != xno; then |
4504 |
am_depcomp="$ac_aux_dir/depcomp" |
4505 |
AMDEPBACKSLASH='\' |
4506 |
+ am__nodep='_no' |
4507 |
fi |
4508 |
- |
4509 |
- |
4510 |
-if test "x$enable_dependency_tracking" != xno; then |
4511 |
+ if test "x$enable_dependency_tracking" != xno; then |
4512 |
AMDEP_TRUE= |
4513 |
AMDEP_FALSE='#' |
4514 |
else |
4515 |
@@ -3220,20 +4013,20 @@ fi |
4516 |
|
4517 |
|
4518 |
|
4519 |
- |
4520 |
depcc="$CC" am_compiler_list= |
4521 |
|
4522 |
-{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
4523 |
-echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } |
4524 |
-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then |
4525 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
4526 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
4527 |
+$as_echo_n "checking dependency style of $depcc... " >&6; } |
4528 |
+if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
4529 |
+ $as_echo_n "(cached) " >&6 |
4530 |
else |
4531 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
4532 |
# We make a subdir and do the tests there. Otherwise we can end up |
4533 |
# making bogus files that we don't know about and never remove. For |
4534 |
# instance it was reported that on HP-UX the gcc test will end up |
4535 |
- # making a dummy file named `D' -- because `-MD' means `put the output |
4536 |
- # in D'. |
4537 |
+ # making a dummy file named 'D' -- because '-MD' means "put the output |
4538 |
+ # in D". |
4539 |
+ rm -rf conftest.dir |
4540 |
mkdir conftest.dir |
4541 |
# Copy depcomp to subdir because otherwise we won't find it if we're |
4542 |
# using a relative directory. |
4543 |
@@ -3251,6 +4044,11 @@ else |
4544 |
if test "$am_compiler_list" = ""; then |
4545 |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
4546 |
fi |
4547 |
+ am__universal=false |
4548 |
+ case " $depcc " in #( |
4549 |
+ *\ -arch\ *\ -arch\ *) am__universal=true ;; |
4550 |
+ esac |
4551 |
+ |
4552 |
for depmode in $am_compiler_list; do |
4553 |
# Setup a source with many dependencies, because some compilers |
4554 |
# like to wrap large dependency lists on column 80 (with \), and |
4555 |
@@ -3262,34 +4060,49 @@ else |
4556 |
: > sub/conftest.c |
4557 |
for i in 1 2 3 4 5 6; do |
4558 |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
4559 |
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
4560 |
- # Solaris 8's {/usr,}/bin/sh. |
4561 |
- touch sub/conftst$i.h |
4562 |
+ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
4563 |
+ # Solaris 10 /bin/sh. |
4564 |
+ echo '/* dummy */' > sub/conftst$i.h |
4565 |
done |
4566 |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
4567 |
|
4568 |
+ # We check with '-c' and '-o' for the sake of the "dashmstdout" |
4569 |
+ # mode. It turns out that the SunPro C++ compiler does not properly |
4570 |
+ # handle '-M -o', and we need to detect this. Also, some Intel |
4571 |
+ # versions had trouble with output in subdirs. |
4572 |
+ am__obj=sub/conftest.${OBJEXT-o} |
4573 |
+ am__minus_obj="-o $am__obj" |
4574 |
case $depmode in |
4575 |
+ gcc) |
4576 |
+ # This depmode causes a compiler race in universal mode. |
4577 |
+ test "$am__universal" = false || continue |
4578 |
+ ;; |
4579 |
nosideeffect) |
4580 |
- # after this tag, mechanisms are not by side-effect, so they'll |
4581 |
- # only be used when explicitly requested |
4582 |
+ # After this tag, mechanisms are not by side-effect, so they'll |
4583 |
+ # only be used when explicitly requested. |
4584 |
if test "x$enable_dependency_tracking" = xyes; then |
4585 |
continue |
4586 |
else |
4587 |
break |
4588 |
fi |
4589 |
;; |
4590 |
+ msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
4591 |
+ # This compiler won't grok '-c -o', but also, the minuso test has |
4592 |
+ # not run yet. These depmodes are late enough in the game, and |
4593 |
+ # so weak that their functioning should not be impacted. |
4594 |
+ am__obj=conftest.${OBJEXT-o} |
4595 |
+ am__minus_obj= |
4596 |
+ ;; |
4597 |
none) break ;; |
4598 |
esac |
4599 |
- # We check with `-c' and `-o' for the sake of the "dashmstdout" |
4600 |
- # mode. It turns out that the SunPro C++ compiler does not properly |
4601 |
- # handle `-M -o', and we need to detect this. |
4602 |
if depmode=$depmode \ |
4603 |
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ |
4604 |
+ source=sub/conftest.c object=$am__obj \ |
4605 |
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
4606 |
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ |
4607 |
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
4608 |
>/dev/null 2>conftest.err && |
4609 |
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
4610 |
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
4611 |
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
4612 |
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
4613 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
4614 |
# icc doesn't choke on unknown options, it will just issue warnings |
4615 |
# or remarks (even with -Werror). So we grep stderr for any message |
4616 |
@@ -3313,13 +4126,11 @@ else |
4617 |
fi |
4618 |
|
4619 |
fi |
4620 |
-{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 |
4621 |
-echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } |
4622 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
4623 |
+$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
4624 |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
4625 |
|
4626 |
- |
4627 |
- |
4628 |
-if |
4629 |
+ if |
4630 |
test "x$enable_dependency_tracking" != xno \ |
4631 |
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
4632 |
am__fastdepCC_TRUE= |
4633 |
@@ -3344,10 +4155,10 @@ if test -z "$CXX"; then |
4634 |
do |
4635 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
4636 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
4637 |
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4638 |
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4639 |
-if test "${ac_cv_prog_CXX+set}" = set; then |
4640 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
4641 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4642 |
+$as_echo_n "checking for $ac_word... " >&6; } |
4643 |
+if ${ac_cv_prog_CXX+:} false; then : |
4644 |
+ $as_echo_n "(cached) " >&6 |
4645 |
else |
4646 |
if test -n "$CXX"; then |
4647 |
ac_cv_prog_CXX="$CXX" # Let the user override the test. |
4648 |
@@ -3357,25 +4168,25 @@ for as_dir in $PATH |
4649 |
do |
4650 |
IFS=$as_save_IFS |
4651 |
test -z "$as_dir" && as_dir=. |
4652 |
- for ac_exec_ext in '' $ac_executable_extensions; do |
4653 |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4654 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
4655 |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4656 |
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
4657 |
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4658 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4659 |
break 2 |
4660 |
fi |
4661 |
done |
4662 |
-done |
4663 |
+ done |
4664 |
IFS=$as_save_IFS |
4665 |
|
4666 |
fi |
4667 |
fi |
4668 |
CXX=$ac_cv_prog_CXX |
4669 |
if test -n "$CXX"; then |
4670 |
- { echo "$as_me:$LINENO: result: $CXX" >&5 |
4671 |
-echo "${ECHO_T}$CXX" >&6; } |
4672 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 |
4673 |
+$as_echo "$CXX" >&6; } |
4674 |
else |
4675 |
- { echo "$as_me:$LINENO: result: no" >&5 |
4676 |
-echo "${ECHO_T}no" >&6; } |
4677 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4678 |
+$as_echo "no" >&6; } |
4679 |
fi |
4680 |
|
4681 |
|
4682 |
@@ -3388,10 +4199,10 @@ if test -z "$CXX"; then |
4683 |
do |
4684 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
4685 |
set dummy $ac_prog; ac_word=$2 |
4686 |
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4687 |
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4688 |
-if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then |
4689 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
4690 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4691 |
+$as_echo_n "checking for $ac_word... " >&6; } |
4692 |
+if ${ac_cv_prog_ac_ct_CXX+:} false; then : |
4693 |
+ $as_echo_n "(cached) " >&6 |
4694 |
else |
4695 |
if test -n "$ac_ct_CXX"; then |
4696 |
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
4697 |
@@ -3401,25 +4212,25 @@ for as_dir in $PATH |
4698 |
do |
4699 |
IFS=$as_save_IFS |
4700 |
test -z "$as_dir" && as_dir=. |
4701 |
- for ac_exec_ext in '' $ac_executable_extensions; do |
4702 |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4703 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
4704 |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4705 |
ac_cv_prog_ac_ct_CXX="$ac_prog" |
4706 |
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4707 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4708 |
break 2 |
4709 |
fi |
4710 |
done |
4711 |
-done |
4712 |
+ done |
4713 |
IFS=$as_save_IFS |
4714 |
|
4715 |
fi |
4716 |
fi |
4717 |
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
4718 |
if test -n "$ac_ct_CXX"; then |
4719 |
- { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 |
4720 |
-echo "${ECHO_T}$ac_ct_CXX" >&6; } |
4721 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 |
4722 |
+$as_echo "$ac_ct_CXX" >&6; } |
4723 |
else |
4724 |
- { echo "$as_me:$LINENO: result: no" >&5 |
4725 |
-echo "${ECHO_T}no" >&6; } |
4726 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4727 |
+$as_echo "no" >&6; } |
4728 |
fi |
4729 |
|
4730 |
|
4731 |
@@ -3431,12 +4242,8 @@ done |
4732 |
else |
4733 |
case $cross_compiling:$ac_tool_warned in |
4734 |
yes:) |
4735 |
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
4736 |
-whose name does not start with the host triplet. If you think this |
4737 |
-configuration is useful to you, please write to autoconf@gnu.org." >&5 |
4738 |
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
4739 |
-whose name does not start with the host triplet. If you think this |
4740 |
-configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
4741 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
4742 |
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
4743 |
ac_tool_warned=yes ;; |
4744 |
esac |
4745 |
CXX=$ac_ct_CXX |
4746 |
@@ -3446,49 +4253,36 @@ fi |
4747 |
fi |
4748 |
fi |
4749 |
# Provide some information about the compiler. |
4750 |
-echo "$as_me:$LINENO: checking for C++ compiler version" >&5 |
4751 |
-ac_compiler=`set X $ac_compile; echo $2` |
4752 |
-{ (ac_try="$ac_compiler --version >&5" |
4753 |
-case "(($ac_try" in |
4754 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4755 |
- *) ac_try_echo=$ac_try;; |
4756 |
-esac |
4757 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4758 |
- (eval "$ac_compiler --version >&5") 2>&5 |
4759 |
- ac_status=$? |
4760 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4761 |
- (exit $ac_status); } |
4762 |
-{ (ac_try="$ac_compiler -v >&5" |
4763 |
-case "(($ac_try" in |
4764 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4765 |
- *) ac_try_echo=$ac_try;; |
4766 |
-esac |
4767 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4768 |
- (eval "$ac_compiler -v >&5") 2>&5 |
4769 |
- ac_status=$? |
4770 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4771 |
- (exit $ac_status); } |
4772 |
-{ (ac_try="$ac_compiler -V >&5" |
4773 |
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 |
4774 |
+set X $ac_compile |
4775 |
+ac_compiler=$2 |
4776 |
+for ac_option in --version -v -V -qversion; do |
4777 |
+ { { ac_try="$ac_compiler $ac_option >&5" |
4778 |
case "(($ac_try" in |
4779 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4780 |
*) ac_try_echo=$ac_try;; |
4781 |
esac |
4782 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4783 |
- (eval "$ac_compiler -V >&5") 2>&5 |
4784 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
4785 |
+$as_echo "$ac_try_echo"; } >&5 |
4786 |
+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
4787 |
ac_status=$? |
4788 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4789 |
- (exit $ac_status); } |
4790 |
+ if test -s conftest.err; then |
4791 |
+ sed '10a\ |
4792 |
+... rest of stderr output deleted ... |
4793 |
+ 10q' conftest.err >conftest.er1 |
4794 |
+ cat conftest.er1 >&5 |
4795 |
+ fi |
4796 |
+ rm -f conftest.er1 conftest.err |
4797 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
4798 |
+ test $ac_status = 0; } |
4799 |
+done |
4800 |
|
4801 |
-{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 |
4802 |
-echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } |
4803 |
-if test "${ac_cv_cxx_compiler_gnu+set}" = set; then |
4804 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
4805 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 |
4806 |
+$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } |
4807 |
+if ${ac_cv_cxx_compiler_gnu+:} false; then : |
4808 |
+ $as_echo_n "(cached) " >&6 |
4809 |
else |
4810 |
- cat >conftest.$ac_ext <<_ACEOF |
4811 |
-/* confdefs.h. */ |
4812 |
-_ACEOF |
4813 |
-cat confdefs.h >>conftest.$ac_ext |
4814 |
-cat >>conftest.$ac_ext <<_ACEOF |
4815 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4816 |
/* end confdefs.h. */ |
4817 |
|
4818 |
int |
4819 |
@@ -3502,54 +4296,34 @@ main () |
4820 |
return 0; |
4821 |
} |
4822 |
_ACEOF |
4823 |
-rm -f conftest.$ac_objext |
4824 |
-if { (ac_try="$ac_compile" |
4825 |
-case "(($ac_try" in |
4826 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4827 |
- *) ac_try_echo=$ac_try;; |
4828 |
-esac |
4829 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4830 |
- (eval "$ac_compile") 2>conftest.er1 |
4831 |
- ac_status=$? |
4832 |
- grep -v '^ *+' conftest.er1 >conftest.err |
4833 |
- rm -f conftest.er1 |
4834 |
- cat conftest.err >&5 |
4835 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4836 |
- (exit $ac_status); } && { |
4837 |
- test -z "$ac_cxx_werror_flag" || |
4838 |
- test ! -s conftest.err |
4839 |
- } && test -s conftest.$ac_objext; then |
4840 |
+if ac_fn_cxx_try_compile "$LINENO"; then : |
4841 |
ac_compiler_gnu=yes |
4842 |
else |
4843 |
- echo "$as_me: failed program was:" >&5 |
4844 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
4845 |
- |
4846 |
- ac_compiler_gnu=no |
4847 |
+ ac_compiler_gnu=no |
4848 |
fi |
4849 |
- |
4850 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4851 |
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
4852 |
|
4853 |
fi |
4854 |
-{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
4855 |
-echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } |
4856 |
-GXX=`test $ac_compiler_gnu = yes && echo yes` |
4857 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 |
4858 |
+$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } |
4859 |
+if test $ac_compiler_gnu = yes; then |
4860 |
+ GXX=yes |
4861 |
+else |
4862 |
+ GXX= |
4863 |
+fi |
4864 |
ac_test_CXXFLAGS=${CXXFLAGS+set} |
4865 |
ac_save_CXXFLAGS=$CXXFLAGS |
4866 |
-{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 |
4867 |
-echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } |
4868 |
-if test "${ac_cv_prog_cxx_g+set}" = set; then |
4869 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
4870 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 |
4871 |
+$as_echo_n "checking whether $CXX accepts -g... " >&6; } |
4872 |
+if ${ac_cv_prog_cxx_g+:} false; then : |
4873 |
+ $as_echo_n "(cached) " >&6 |
4874 |
else |
4875 |
ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
4876 |
ac_cxx_werror_flag=yes |
4877 |
ac_cv_prog_cxx_g=no |
4878 |
CXXFLAGS="-g" |
4879 |
- cat >conftest.$ac_ext <<_ACEOF |
4880 |
-/* confdefs.h. */ |
4881 |
-_ACEOF |
4882 |
-cat confdefs.h >>conftest.$ac_ext |
4883 |
-cat >>conftest.$ac_ext <<_ACEOF |
4884 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4885 |
/* end confdefs.h. */ |
4886 |
|
4887 |
int |
4888 |
@@ -3560,34 +4334,11 @@ main () |
4889 |
return 0; |
4890 |
} |
4891 |
_ACEOF |
4892 |
-rm -f conftest.$ac_objext |
4893 |
-if { (ac_try="$ac_compile" |
4894 |
-case "(($ac_try" in |
4895 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4896 |
- *) ac_try_echo=$ac_try;; |
4897 |
-esac |
4898 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4899 |
- (eval "$ac_compile") 2>conftest.er1 |
4900 |
- ac_status=$? |
4901 |
- grep -v '^ *+' conftest.er1 >conftest.err |
4902 |
- rm -f conftest.er1 |
4903 |
- cat conftest.err >&5 |
4904 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4905 |
- (exit $ac_status); } && { |
4906 |
- test -z "$ac_cxx_werror_flag" || |
4907 |
- test ! -s conftest.err |
4908 |
- } && test -s conftest.$ac_objext; then |
4909 |
+if ac_fn_cxx_try_compile "$LINENO"; then : |
4910 |
ac_cv_prog_cxx_g=yes |
4911 |
else |
4912 |
- echo "$as_me: failed program was:" >&5 |
4913 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
4914 |
- |
4915 |
- CXXFLAGS="" |
4916 |
- cat >conftest.$ac_ext <<_ACEOF |
4917 |
-/* confdefs.h. */ |
4918 |
-_ACEOF |
4919 |
-cat confdefs.h >>conftest.$ac_ext |
4920 |
-cat >>conftest.$ac_ext <<_ACEOF |
4921 |
+ CXXFLAGS="" |
4922 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4923 |
/* end confdefs.h. */ |
4924 |
|
4925 |
int |
4926 |
@@ -3598,35 +4349,12 @@ main () |
4927 |
return 0; |
4928 |
} |
4929 |
_ACEOF |
4930 |
-rm -f conftest.$ac_objext |
4931 |
-if { (ac_try="$ac_compile" |
4932 |
-case "(($ac_try" in |
4933 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4934 |
- *) ac_try_echo=$ac_try;; |
4935 |
-esac |
4936 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4937 |
- (eval "$ac_compile") 2>conftest.er1 |
4938 |
- ac_status=$? |
4939 |
- grep -v '^ *+' conftest.er1 >conftest.err |
4940 |
- rm -f conftest.er1 |
4941 |
- cat conftest.err >&5 |
4942 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4943 |
- (exit $ac_status); } && { |
4944 |
- test -z "$ac_cxx_werror_flag" || |
4945 |
- test ! -s conftest.err |
4946 |
- } && test -s conftest.$ac_objext; then |
4947 |
- : |
4948 |
-else |
4949 |
- echo "$as_me: failed program was:" >&5 |
4950 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
4951 |
+if ac_fn_cxx_try_compile "$LINENO"; then : |
4952 |
|
4953 |
- ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
4954 |
+else |
4955 |
+ ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
4956 |
CXXFLAGS="-g" |
4957 |
- cat >conftest.$ac_ext <<_ACEOF |
4958 |
-/* confdefs.h. */ |
4959 |
-_ACEOF |
4960 |
-cat confdefs.h >>conftest.$ac_ext |
4961 |
-cat >>conftest.$ac_ext <<_ACEOF |
4962 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4963 |
/* end confdefs.h. */ |
4964 |
|
4965 |
int |
4966 |
@@ -3637,42 +4365,18 @@ main () |
4967 |
return 0; |
4968 |
} |
4969 |
_ACEOF |
4970 |
-rm -f conftest.$ac_objext |
4971 |
-if { (ac_try="$ac_compile" |
4972 |
-case "(($ac_try" in |
4973 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4974 |
- *) ac_try_echo=$ac_try;; |
4975 |
-esac |
4976 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4977 |
- (eval "$ac_compile") 2>conftest.er1 |
4978 |
- ac_status=$? |
4979 |
- grep -v '^ *+' conftest.er1 >conftest.err |
4980 |
- rm -f conftest.er1 |
4981 |
- cat conftest.err >&5 |
4982 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4983 |
- (exit $ac_status); } && { |
4984 |
- test -z "$ac_cxx_werror_flag" || |
4985 |
- test ! -s conftest.err |
4986 |
- } && test -s conftest.$ac_objext; then |
4987 |
+if ac_fn_cxx_try_compile "$LINENO"; then : |
4988 |
ac_cv_prog_cxx_g=yes |
4989 |
-else |
4990 |
- echo "$as_me: failed program was:" >&5 |
4991 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
4992 |
- |
4993 |
- |
4994 |
fi |
4995 |
- |
4996 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4997 |
fi |
4998 |
- |
4999 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5000 |
fi |
5001 |
- |
5002 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5003 |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
5004 |
fi |
5005 |
-{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
5006 |
-echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } |
5007 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 |
5008 |
+$as_echo "$ac_cv_prog_cxx_g" >&6; } |
5009 |
if test "$ac_test_CXXFLAGS" = set; then |
5010 |
CXXFLAGS=$ac_save_CXXFLAGS |
5011 |
elif test $ac_cv_prog_cxx_g = yes; then |
5012 |
@@ -3696,17 +4400,18 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu |
5013 |
|
5014 |
depcc="$CXX" am_compiler_list= |
5015 |
|
5016 |
-{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
5017 |
-echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } |
5018 |
-if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then |
5019 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
5020 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
5021 |
+$as_echo_n "checking dependency style of $depcc... " >&6; } |
5022 |
+if ${am_cv_CXX_dependencies_compiler_type+:} false; then : |
5023 |
+ $as_echo_n "(cached) " >&6 |
5024 |
else |
5025 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
5026 |
# We make a subdir and do the tests there. Otherwise we can end up |
5027 |
# making bogus files that we don't know about and never remove. For |
5028 |
# instance it was reported that on HP-UX the gcc test will end up |
5029 |
- # making a dummy file named `D' -- because `-MD' means `put the output |
5030 |
- # in D'. |
5031 |
+ # making a dummy file named 'D' -- because '-MD' means "put the output |
5032 |
+ # in D". |
5033 |
+ rm -rf conftest.dir |
5034 |
mkdir conftest.dir |
5035 |
# Copy depcomp to subdir because otherwise we won't find it if we're |
5036 |
# using a relative directory. |
5037 |
@@ -3724,6 +4429,11 @@ else |
5038 |
if test "$am_compiler_list" = ""; then |
5039 |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
5040 |
fi |
5041 |
+ am__universal=false |
5042 |
+ case " $depcc " in #( |
5043 |
+ *\ -arch\ *\ -arch\ *) am__universal=true ;; |
5044 |
+ esac |
5045 |
+ |
5046 |
for depmode in $am_compiler_list; do |
5047 |
# Setup a source with many dependencies, because some compilers |
5048 |
# like to wrap large dependency lists on column 80 (with \), and |
5049 |
@@ -3735,34 +4445,49 @@ else |
5050 |
: > sub/conftest.c |
5051 |
for i in 1 2 3 4 5 6; do |
5052 |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
5053 |
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
5054 |
- # Solaris 8's {/usr,}/bin/sh. |
5055 |
- touch sub/conftst$i.h |
5056 |
+ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
5057 |
+ # Solaris 10 /bin/sh. |
5058 |
+ echo '/* dummy */' > sub/conftst$i.h |
5059 |
done |
5060 |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
5061 |
|
5062 |
+ # We check with '-c' and '-o' for the sake of the "dashmstdout" |
5063 |
+ # mode. It turns out that the SunPro C++ compiler does not properly |
5064 |
+ # handle '-M -o', and we need to detect this. Also, some Intel |
5065 |
+ # versions had trouble with output in subdirs. |
5066 |
+ am__obj=sub/conftest.${OBJEXT-o} |
5067 |
+ am__minus_obj="-o $am__obj" |
5068 |
case $depmode in |
5069 |
+ gcc) |
5070 |
+ # This depmode causes a compiler race in universal mode. |
5071 |
+ test "$am__universal" = false || continue |
5072 |
+ ;; |
5073 |
nosideeffect) |
5074 |
- # after this tag, mechanisms are not by side-effect, so they'll |
5075 |
- # only be used when explicitly requested |
5076 |
+ # After this tag, mechanisms are not by side-effect, so they'll |
5077 |
+ # only be used when explicitly requested. |
5078 |
if test "x$enable_dependency_tracking" = xyes; then |
5079 |
continue |
5080 |
else |
5081 |
break |
5082 |
fi |
5083 |
;; |
5084 |
+ msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
5085 |
+ # This compiler won't grok '-c -o', but also, the minuso test has |
5086 |
+ # not run yet. These depmodes are late enough in the game, and |
5087 |
+ # so weak that their functioning should not be impacted. |
5088 |
+ am__obj=conftest.${OBJEXT-o} |
5089 |
+ am__minus_obj= |
5090 |
+ ;; |
5091 |
none) break ;; |
5092 |
esac |
5093 |
- # We check with `-c' and `-o' for the sake of the "dashmstdout" |
5094 |
- # mode. It turns out that the SunPro C++ compiler does not properly |
5095 |
- # handle `-M -o', and we need to detect this. |
5096 |
if depmode=$depmode \ |
5097 |
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ |
5098 |
+ source=sub/conftest.c object=$am__obj \ |
5099 |
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
5100 |
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ |
5101 |
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
5102 |
>/dev/null 2>conftest.err && |
5103 |
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
5104 |
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
5105 |
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
5106 |
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
5107 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
5108 |
# icc doesn't choke on unknown options, it will just issue warnings |
5109 |
# or remarks (even with -Werror). So we grep stderr for any message |
5110 |
@@ -3786,13 +4511,11 @@ else |
5111 |
fi |
5112 |
|
5113 |
fi |
5114 |
-{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 |
5115 |
-echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; } |
5116 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 |
5117 |
+$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } |
5118 |
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type |
5119 |
|
5120 |
- |
5121 |
- |
5122 |
-if |
5123 |
+ if |
5124 |
test "x$enable_dependency_tracking" != xno \ |
5125 |
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then |
5126 |
am__fastdepCXX_TRUE= |
5127 |
@@ -3806,10 +4529,10 @@ fi |
5128 |
if test -n "$ac_tool_prefix"; then |
5129 |
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
5130 |
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
5131 |
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5132 |
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
5133 |
-if test "${ac_cv_prog_RANLIB+set}" = set; then |
5134 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
5135 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5136 |
+$as_echo_n "checking for $ac_word... " >&6; } |
5137 |
+if ${ac_cv_prog_RANLIB+:} false; then : |
5138 |
+ $as_echo_n "(cached) " >&6 |
5139 |
else |
5140 |
if test -n "$RANLIB"; then |
5141 |
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
5142 |
@@ -3819,25 +4542,25 @@ for as_dir in $PATH |
5143 |
do |
5144 |
IFS=$as_save_IFS |
5145 |
test -z "$as_dir" && as_dir=. |
5146 |
- for ac_exec_ext in '' $ac_executable_extensions; do |
5147 |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5148 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
5149 |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5150 |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
5151 |
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5152 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5153 |
break 2 |
5154 |
fi |
5155 |
done |
5156 |
-done |
5157 |
+ done |
5158 |
IFS=$as_save_IFS |
5159 |
|
5160 |
fi |
5161 |
fi |
5162 |
RANLIB=$ac_cv_prog_RANLIB |
5163 |
if test -n "$RANLIB"; then |
5164 |
- { echo "$as_me:$LINENO: result: $RANLIB" >&5 |
5165 |
-echo "${ECHO_T}$RANLIB" >&6; } |
5166 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 |
5167 |
+$as_echo "$RANLIB" >&6; } |
5168 |
else |
5169 |
- { echo "$as_me:$LINENO: result: no" >&5 |
5170 |
-echo "${ECHO_T}no" >&6; } |
5171 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5172 |
+$as_echo "no" >&6; } |
5173 |
fi |
5174 |
|
5175 |
|
5176 |
@@ -3846,10 +4569,10 @@ if test -z "$ac_cv_prog_RANLIB"; then |
5177 |
ac_ct_RANLIB=$RANLIB |
5178 |
# Extract the first word of "ranlib", so it can be a program name with args. |
5179 |
set dummy ranlib; ac_word=$2 |
5180 |
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5181 |
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
5182 |
-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
5183 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
5184 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5185 |
+$as_echo_n "checking for $ac_word... " >&6; } |
5186 |
+if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : |
5187 |
+ $as_echo_n "(cached) " >&6 |
5188 |
else |
5189 |
if test -n "$ac_ct_RANLIB"; then |
5190 |
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
5191 |
@@ -3859,25 +4582,25 @@ for as_dir in $PATH |
5192 |
do |
5193 |
IFS=$as_save_IFS |
5194 |
test -z "$as_dir" && as_dir=. |
5195 |
- for ac_exec_ext in '' $ac_executable_extensions; do |
5196 |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5197 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
5198 |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5199 |
ac_cv_prog_ac_ct_RANLIB="ranlib" |
5200 |
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5201 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5202 |
break 2 |
5203 |
fi |
5204 |
done |
5205 |
-done |
5206 |
+ done |
5207 |
IFS=$as_save_IFS |
5208 |
|
5209 |
fi |
5210 |
fi |
5211 |
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
5212 |
if test -n "$ac_ct_RANLIB"; then |
5213 |
- { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
5214 |
-echo "${ECHO_T}$ac_ct_RANLIB" >&6; } |
5215 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 |
5216 |
+$as_echo "$ac_ct_RANLIB" >&6; } |
5217 |
else |
5218 |
- { echo "$as_me:$LINENO: result: no" >&5 |
5219 |
-echo "${ECHO_T}no" >&6; } |
5220 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5221 |
+$as_echo "no" >&6; } |
5222 |
fi |
5223 |
|
5224 |
if test "x$ac_ct_RANLIB" = x; then |
5225 |
@@ -3885,12 +4608,8 @@ fi |
5226 |
else |
5227 |
case $cross_compiling:$ac_tool_warned in |
5228 |
yes:) |
5229 |
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
5230 |
-whose name does not start with the host triplet. If you think this |
5231 |
-configuration is useful to you, please write to autoconf@gnu.org." >&5 |
5232 |
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
5233 |
-whose name does not start with the host triplet. If you think this |
5234 |
-configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
5235 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
5236 |
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
5237 |
ac_tool_warned=yes ;; |
5238 |
esac |
5239 |
RANLIB=$ac_ct_RANLIB |
5240 |
@@ -3905,17 +4624,13 @@ fi |
5241 |
|
5242 |
#AC_CHECK_LIB(fl,main,AC_DEFINE(JS) LIBS="$LIBS -lfl",AC_MSG_WARN(You don't have libfl; you won't be able to run javascript)) |
5243 |
|
5244 |
-{ echo "$as_me:$LINENO: checking for EMX" >&5 |
5245 |
-echo $ECHO_N "checking for EMX... $ECHO_C" >&6; } |
5246 |
-if test "${ac_cv_have_emx+set}" = set; then |
5247 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
5248 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EMX" >&5 |
5249 |
+$as_echo_n "checking for EMX... " >&6; } |
5250 |
+if ${ac_cv_have_emx+:} false; then : |
5251 |
+ $as_echo_n "(cached) " >&6 |
5252 |
else |
5253 |
|
5254 |
-cat >conftest.$ac_ext <<_ACEOF |
5255 |
-/* confdefs.h. */ |
5256 |
-_ACEOF |
5257 |
-cat confdefs.h >>conftest.$ac_ext |
5258 |
-cat >>conftest.$ac_ext <<_ACEOF |
5259 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5260 |
/* end confdefs.h. */ |
5261 |
|
5262 |
int |
5263 |
@@ -3928,48 +4643,24 @@ main () |
5264 |
return 0; |
5265 |
} |
5266 |
_ACEOF |
5267 |
-rm -f conftest.$ac_objext |
5268 |
-if { (ac_try="$ac_compile" |
5269 |
-case "(($ac_try" in |
5270 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5271 |
- *) ac_try_echo=$ac_try;; |
5272 |
-esac |
5273 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
5274 |
- (eval "$ac_compile") 2>conftest.er1 |
5275 |
- ac_status=$? |
5276 |
- grep -v '^ *+' conftest.er1 >conftest.err |
5277 |
- rm -f conftest.er1 |
5278 |
- cat conftest.err >&5 |
5279 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5280 |
- (exit $ac_status); } && { |
5281 |
- test -z "$ac_c_werror_flag" || |
5282 |
- test ! -s conftest.err |
5283 |
- } && test -s conftest.$ac_objext; then |
5284 |
+if ac_fn_c_try_compile "$LINENO"; then : |
5285 |
ac_cv_have_emx=yes |
5286 |
else |
5287 |
- echo "$as_me: failed program was:" >&5 |
5288 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
5289 |
- |
5290 |
- ac_cv_have_emx=no |
5291 |
+ ac_cv_have_emx=no |
5292 |
fi |
5293 |
- |
5294 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5295 |
|
5296 |
fi |
5297 |
-{ echo "$as_me:$LINENO: result: $ac_cv_have_emx" >&5 |
5298 |
-echo "${ECHO_T}$ac_cv_have_emx" >&6; } |
5299 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_emx" >&5 |
5300 |
+$as_echo "$ac_cv_have_emx" >&6; } |
5301 |
test "$ac_cv_have_emx" = yes && LDFLAGS=`echo "$LDFLAGS" | sed "s/-Zexe//g" | sed "s/-Zbin-files//g"` |
5302 |
|
5303 |
-{ echo "$as_me:$LINENO: checking for typeof" >&5 |
5304 |
-echo $ECHO_N "checking for typeof... $ECHO_C" >&6; } |
5305 |
-if test "${ac_cv_have_typeof+set}" = set; then |
5306 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
5307 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for typeof" >&5 |
5308 |
+$as_echo_n "checking for typeof... " >&6; } |
5309 |
+if ${ac_cv_have_typeof+:} false; then : |
5310 |
+ $as_echo_n "(cached) " >&6 |
5311 |
else |
5312 |
- cat >conftest.$ac_ext <<_ACEOF |
5313 |
-/* confdefs.h. */ |
5314 |
-_ACEOF |
5315 |
-cat confdefs.h >>conftest.$ac_ext |
5316 |
-cat >>conftest.$ac_ext <<_ACEOF |
5317 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5318 |
/* end confdefs.h. */ |
5319 |
|
5320 |
int |
5321 |
@@ -3981,51 +4672,25 @@ int a; |
5322 |
return 0; |
5323 |
} |
5324 |
_ACEOF |
5325 |
-rm -f conftest.$ac_objext |
5326 |
-if { (ac_try="$ac_compile" |
5327 |
-case "(($ac_try" in |
5328 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5329 |
- *) ac_try_echo=$ac_try;; |
5330 |
-esac |
5331 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
5332 |
- (eval "$ac_compile") 2>conftest.er1 |
5333 |
- ac_status=$? |
5334 |
- grep -v '^ *+' conftest.er1 >conftest.err |
5335 |
- rm -f conftest.er1 |
5336 |
- cat conftest.err >&5 |
5337 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5338 |
- (exit $ac_status); } && { |
5339 |
- test -z "$ac_c_werror_flag" || |
5340 |
- test ! -s conftest.err |
5341 |
- } && test -s conftest.$ac_objext; then |
5342 |
+if ac_fn_c_try_compile "$LINENO"; then : |
5343 |
ac_cv_have_typeof=yes |
5344 |
else |
5345 |
- echo "$as_me: failed program was:" >&5 |
5346 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
5347 |
- |
5348 |
- ac_cv_have_typeof=no |
5349 |
+ ac_cv_have_typeof=no |
5350 |
fi |
5351 |
- |
5352 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5353 |
|
5354 |
fi |
5355 |
-{ echo "$as_me:$LINENO: result: $ac_cv_have_typeof" >&5 |
5356 |
-echo "${ECHO_T}$ac_cv_have_typeof" >&6; } |
5357 |
-test "$ac_cv_have_typeof" = yes && cat >>confdefs.h <<\_ACEOF |
5358 |
-#define HAVE_TYPEOF 1 |
5359 |
-_ACEOF |
5360 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_typeof" >&5 |
5361 |
+$as_echo "$ac_cv_have_typeof" >&6; } |
5362 |
+test "$ac_cv_have_typeof" = yes && $as_echo "#define HAVE_TYPEOF 1" >>confdefs.h |
5363 |
|
5364 |
|
5365 |
-{ echo "$as_me:$LINENO: checking for long long" >&5 |
5366 |
-echo $ECHO_N "checking for long long... $ECHO_C" >&6; } |
5367 |
-if test "${ac_cv_have_long_long+set}" = set; then |
5368 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
5369 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long" >&5 |
5370 |
+$as_echo_n "checking for long long... " >&6; } |
5371 |
+if ${ac_cv_have_long_long+:} false; then : |
5372 |
+ $as_echo_n "(cached) " >&6 |
5373 |
else |
5374 |
- cat >conftest.$ac_ext <<_ACEOF |
5375 |
-/* confdefs.h. */ |
5376 |
-_ACEOF |
5377 |
-cat confdefs.h >>conftest.$ac_ext |
5378 |
-cat >>conftest.$ac_ext <<_ACEOF |
5379 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5380 |
/* end confdefs.h. */ |
5381 |
|
5382 |
int |
5383 |
@@ -4036,50 +4701,24 @@ unsigned long long a; |
5384 |
return 0; |
5385 |
} |
5386 |
_ACEOF |
5387 |
-rm -f conftest.$ac_objext |
5388 |
-if { (ac_try="$ac_compile" |
5389 |
-case "(($ac_try" in |
5390 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5391 |
- *) ac_try_echo=$ac_try;; |
5392 |
-esac |
5393 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
5394 |
- (eval "$ac_compile") 2>conftest.er1 |
5395 |
- ac_status=$? |
5396 |
- grep -v '^ *+' conftest.er1 >conftest.err |
5397 |
- rm -f conftest.er1 |
5398 |
- cat conftest.err >&5 |
5399 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5400 |
- (exit $ac_status); } && { |
5401 |
- test -z "$ac_c_werror_flag" || |
5402 |
- test ! -s conftest.err |
5403 |
- } && test -s conftest.$ac_objext; then |
5404 |
+if ac_fn_c_try_compile "$LINENO"; then : |
5405 |
ac_cv_have_long_long=yes |
5406 |
else |
5407 |
- echo "$as_me: failed program was:" >&5 |
5408 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
5409 |
- |
5410 |
- ac_cv_have_long_long=no |
5411 |
+ ac_cv_have_long_long=no |
5412 |
fi |
5413 |
- |
5414 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5415 |
|
5416 |
fi |
5417 |
-{ echo "$as_me:$LINENO: result: $ac_cv_have_long_long" >&5 |
5418 |
-echo "${ECHO_T}$ac_cv_have_long_long" >&6; } |
5419 |
-test "$ac_cv_have_long_long" = yes && cat >>confdefs.h <<\_ACEOF |
5420 |
-#define HAVE_LONG_LONG 1 |
5421 |
-_ACEOF |
5422 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_long_long" >&5 |
5423 |
+$as_echo "$ac_cv_have_long_long" >&6; } |
5424 |
+test "$ac_cv_have_long_long" = yes && $as_echo "#define HAVE_LONG_LONG 1" >>confdefs.h |
5425 |
|
5426 |
|
5427 |
-{ echo "$as_me:$LINENO: checking for -rdynamic" >&5 |
5428 |
-echo $ECHO_N "checking for -rdynamic... $ECHO_C" >&6; } |
5429 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -rdynamic" >&5 |
5430 |
+$as_echo_n "checking for -rdynamic... " >&6; } |
5431 |
LDFLAGS_X="$LDFLAGS" |
5432 |
LDFLAGS="$LDFLAGS -rdynamic" |
5433 |
-cat >conftest.$ac_ext <<_ACEOF |
5434 |
-/* confdefs.h. */ |
5435 |
-_ACEOF |
5436 |
-cat confdefs.h >>conftest.$ac_ext |
5437 |
-cat >>conftest.$ac_ext <<_ACEOF |
5438 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5439 |
/* end confdefs.h. */ |
5440 |
|
5441 |
int |
5442 |
@@ -4090,56 +4729,26 @@ main () |
5443 |
return 0; |
5444 |
} |
5445 |
_ACEOF |
5446 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
5447 |
-if { (ac_try="$ac_link" |
5448 |
-case "(($ac_try" in |
5449 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5450 |
- *) ac_try_echo=$ac_try;; |
5451 |
-esac |
5452 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
5453 |
- (eval "$ac_link") 2>conftest.er1 |
5454 |
- ac_status=$? |
5455 |
- grep -v '^ *+' conftest.er1 >conftest.err |
5456 |
- rm -f conftest.er1 |
5457 |
- cat conftest.err >&5 |
5458 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5459 |
- (exit $ac_status); } && { |
5460 |
- test -z "$ac_c_werror_flag" || |
5461 |
- test ! -s conftest.err |
5462 |
- } && test -s conftest$ac_exeext && |
5463 |
- $as_test_x conftest$ac_exeext; then |
5464 |
+if ac_fn_c_try_link "$LINENO"; then : |
5465 |
have_rdynamic=yes |
5466 |
else |
5467 |
- echo "$as_me: failed program was:" >&5 |
5468 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
5469 |
- |
5470 |
- have_rdynamic=no |
5471 |
+ have_rdynamic=no |
5472 |
fi |
5473 |
- |
5474 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
5475 |
- conftest$ac_exeext conftest.$ac_ext |
5476 |
+rm -f core conftest.err conftest.$ac_objext \ |
5477 |
+ conftest$ac_exeext conftest.$ac_ext |
5478 |
test "$have_rdynamic" = no && LDFLAGS="$LDFLAGS_X" |
5479 |
-{ echo "$as_me:$LINENO: result: $have_rdynamic" >&5 |
5480 |
-echo "${ECHO_T}$have_rdynamic" >&6; } |
5481 |
- |
5482 |
- |
5483 |
- |
5484 |
- |
5485 |
- |
5486 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_rdynamic" >&5 |
5487 |
+$as_echo "$have_rdynamic" >&6; } |
5488 |
|
5489 |
ac_header_dirent=no |
5490 |
for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do |
5491 |
- as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` |
5492 |
-{ echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 |
5493 |
-echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; } |
5494 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
5495 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
5496 |
+ as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` |
5497 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 |
5498 |
+$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } |
5499 |
+if eval \${$as_ac_Header+:} false; then : |
5500 |
+ $as_echo_n "(cached) " >&6 |
5501 |
else |
5502 |
- cat >conftest.$ac_ext <<_ACEOF |
5503 |
-/* confdefs.h. */ |
5504 |
-_ACEOF |
5505 |
-cat confdefs.h >>conftest.$ac_ext |
5506 |
-cat >>conftest.$ac_ext <<_ACEOF |
5507 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5508 |
/* end confdefs.h. */ |
5509 |
#include <sys/types.h> |
5510 |
#include <$ac_hdr> |
5511 |
@@ -4153,39 +4762,19 @@ return 0; |
5512 |
return 0; |
5513 |
} |
5514 |
_ACEOF |
5515 |
-rm -f conftest.$ac_objext |
5516 |
-if { (ac_try="$ac_compile" |
5517 |
-case "(($ac_try" in |
5518 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5519 |
- *) ac_try_echo=$ac_try;; |
5520 |
-esac |
5521 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
5522 |
- (eval "$ac_compile") 2>conftest.er1 |
5523 |
- ac_status=$? |
5524 |
- grep -v '^ *+' conftest.er1 >conftest.err |
5525 |
- rm -f conftest.er1 |
5526 |
- cat conftest.err >&5 |
5527 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5528 |
- (exit $ac_status); } && { |
5529 |
- test -z "$ac_c_werror_flag" || |
5530 |
- test ! -s conftest.err |
5531 |
- } && test -s conftest.$ac_objext; then |
5532 |
+if ac_fn_c_try_compile "$LINENO"; then : |
5533 |
eval "$as_ac_Header=yes" |
5534 |
else |
5535 |
- echo "$as_me: failed program was:" >&5 |
5536 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
5537 |
- |
5538 |
- eval "$as_ac_Header=no" |
5539 |
+ eval "$as_ac_Header=no" |
5540 |
fi |
5541 |
- |
5542 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5543 |
fi |
5544 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
5545 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
5546 |
-echo "${ECHO_T}$ac_res" >&6; } |
5547 |
-if test `eval echo '${'$as_ac_Header'}'` = yes; then |
5548 |
+eval ac_res=\$$as_ac_Header |
5549 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
5550 |
+$as_echo "$ac_res" >&6; } |
5551 |
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
5552 |
cat >>confdefs.h <<_ACEOF |
5553 |
-#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 |
5554 |
+#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 |
5555 |
_ACEOF |
5556 |
|
5557 |
ac_header_dirent=$ac_hdr; break |
5558 |
@@ -4194,17 +4783,13 @@ fi |
5559 |
done |
5560 |
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. |
5561 |
if test $ac_header_dirent = dirent.h; then |
5562 |
- { echo "$as_me:$LINENO: checking for library containing opendir" >&5 |
5563 |
-echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; } |
5564 |
-if test "${ac_cv_search_opendir+set}" = set; then |
5565 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
5566 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 |
5567 |
+$as_echo_n "checking for library containing opendir... " >&6; } |
5568 |
+if ${ac_cv_search_opendir+:} false; then : |
5569 |
+ $as_echo_n "(cached) " >&6 |
5570 |
else |
5571 |
ac_func_search_save_LIBS=$LIBS |
5572 |
-cat >conftest.$ac_ext <<_ACEOF |
5573 |
-/* confdefs.h. */ |
5574 |
-_ACEOF |
5575 |
-cat confdefs.h >>conftest.$ac_ext |
5576 |
-cat >>conftest.$ac_ext <<_ACEOF |
5577 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5578 |
/* end confdefs.h. */ |
5579 |
|
5580 |
/* Override any GCC internal prototype to avoid an error. |
5581 |
@@ -4229,66 +4814,39 @@ for ac_lib in '' dir; do |
5582 |
ac_res=-l$ac_lib |
5583 |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
5584 |
fi |
5585 |
- rm -f conftest.$ac_objext conftest$ac_exeext |
5586 |
-if { (ac_try="$ac_link" |
5587 |
-case "(($ac_try" in |
5588 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5589 |
- *) ac_try_echo=$ac_try;; |
5590 |
-esac |
5591 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
5592 |
- (eval "$ac_link") 2>conftest.er1 |
5593 |
- ac_status=$? |
5594 |
- grep -v '^ *+' conftest.er1 >conftest.err |
5595 |
- rm -f conftest.er1 |
5596 |
- cat conftest.err >&5 |
5597 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5598 |
- (exit $ac_status); } && { |
5599 |
- test -z "$ac_c_werror_flag" || |
5600 |
- test ! -s conftest.err |
5601 |
- } && test -s conftest$ac_exeext && |
5602 |
- $as_test_x conftest$ac_exeext; then |
5603 |
+ if ac_fn_c_try_link "$LINENO"; then : |
5604 |
ac_cv_search_opendir=$ac_res |
5605 |
-else |
5606 |
- echo "$as_me: failed program was:" >&5 |
5607 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
5608 |
- |
5609 |
- |
5610 |
fi |
5611 |
- |
5612 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
5613 |
- conftest$ac_exeext |
5614 |
- if test "${ac_cv_search_opendir+set}" = set; then |
5615 |
+rm -f core conftest.err conftest.$ac_objext \ |
5616 |
+ conftest$ac_exeext |
5617 |
+ if ${ac_cv_search_opendir+:} false; then : |
5618 |
break |
5619 |
fi |
5620 |
done |
5621 |
-if test "${ac_cv_search_opendir+set}" = set; then |
5622 |
- : |
5623 |
+if ${ac_cv_search_opendir+:} false; then : |
5624 |
+ |
5625 |
else |
5626 |
ac_cv_search_opendir=no |
5627 |
fi |
5628 |
rm conftest.$ac_ext |
5629 |
LIBS=$ac_func_search_save_LIBS |
5630 |
fi |
5631 |
-{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 |
5632 |
-echo "${ECHO_T}$ac_cv_search_opendir" >&6; } |
5633 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 |
5634 |
+$as_echo "$ac_cv_search_opendir" >&6; } |
5635 |
ac_res=$ac_cv_search_opendir |
5636 |
-if test "$ac_res" != no; then |
5637 |
+if test "$ac_res" != no; then : |
5638 |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
5639 |
|
5640 |
fi |
5641 |
|
5642 |
else |
5643 |
- { echo "$as_me:$LINENO: checking for library containing opendir" >&5 |
5644 |
-echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; } |
5645 |
-if test "${ac_cv_search_opendir+set}" = set; then |
5646 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
5647 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 |
5648 |
+$as_echo_n "checking for library containing opendir... " >&6; } |
5649 |
+if ${ac_cv_search_opendir+:} false; then : |
5650 |
+ $as_echo_n "(cached) " >&6 |
5651 |
else |
5652 |
ac_func_search_save_LIBS=$LIBS |
5653 |
-cat >conftest.$ac_ext <<_ACEOF |
5654 |
-/* confdefs.h. */ |
5655 |
-_ACEOF |
5656 |
-cat confdefs.h >>conftest.$ac_ext |
5657 |
-cat >>conftest.$ac_ext <<_ACEOF |
5658 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5659 |
/* end confdefs.h. */ |
5660 |
|
5661 |
/* Override any GCC internal prototype to avoid an error. |
5662 |
@@ -4313,50 +4871,27 @@ for ac_lib in '' x; do |
5663 |
ac_res=-l$ac_lib |
5664 |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
5665 |
fi |
5666 |
- rm -f conftest.$ac_objext conftest$ac_exeext |
5667 |
-if { (ac_try="$ac_link" |
5668 |
-case "(($ac_try" in |
5669 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5670 |
- *) ac_try_echo=$ac_try;; |
5671 |
-esac |
5672 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
5673 |
- (eval "$ac_link") 2>conftest.er1 |
5674 |
- ac_status=$? |
5675 |
- grep -v '^ *+' conftest.er1 >conftest.err |
5676 |
- rm -f conftest.er1 |
5677 |
- cat conftest.err >&5 |
5678 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5679 |
- (exit $ac_status); } && { |
5680 |
- test -z "$ac_c_werror_flag" || |
5681 |
- test ! -s conftest.err |
5682 |
- } && test -s conftest$ac_exeext && |
5683 |
- $as_test_x conftest$ac_exeext; then |
5684 |
+ if ac_fn_c_try_link "$LINENO"; then : |
5685 |
ac_cv_search_opendir=$ac_res |
5686 |
-else |
5687 |
- echo "$as_me: failed program was:" >&5 |
5688 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
5689 |
- |
5690 |
- |
5691 |
fi |
5692 |
- |
5693 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
5694 |
- conftest$ac_exeext |
5695 |
- if test "${ac_cv_search_opendir+set}" = set; then |
5696 |
+rm -f core conftest.err conftest.$ac_objext \ |
5697 |
+ conftest$ac_exeext |
5698 |
+ if ${ac_cv_search_opendir+:} false; then : |
5699 |
break |
5700 |
fi |
5701 |
done |
5702 |
-if test "${ac_cv_search_opendir+set}" = set; then |
5703 |
- : |
5704 |
+if ${ac_cv_search_opendir+:} false; then : |
5705 |
+ |
5706 |
else |
5707 |
ac_cv_search_opendir=no |
5708 |
fi |
5709 |
rm conftest.$ac_ext |
5710 |
LIBS=$ac_func_search_save_LIBS |
5711 |
fi |
5712 |
-{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 |
5713 |
-echo "${ECHO_T}$ac_cv_search_opendir" >&6; } |
5714 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 |
5715 |
+$as_echo "$ac_cv_search_opendir" >&6; } |
5716 |
ac_res=$ac_cv_search_opendir |
5717 |
-if test "$ac_res" != no; then |
5718 |
+if test "$ac_res" != no; then : |
5719 |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
5720 |
|
5721 |
fi |
5722 |
@@ -4368,15 +4903,15 @@ ac_cpp='$CPP $CPPFLAGS' |
5723 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5724 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5725 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
5726 |
-{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
5727 |
-echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } |
5728 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
5729 |
+$as_echo_n "checking how to run the C preprocessor... " >&6; } |
5730 |
# On Suns, sometimes $CPP names a directory. |
5731 |
if test -n "$CPP" && test -d "$CPP"; then |
5732 |
CPP= |
5733 |
fi |
5734 |
if test -z "$CPP"; then |
5735 |
- if test "${ac_cv_prog_CPP+set}" = set; then |
5736 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
5737 |
+ if ${ac_cv_prog_CPP+:} false; then : |
5738 |
+ $as_echo_n "(cached) " >&6 |
5739 |
else |
5740 |
# Double quotes because CPP needs to be expanded |
5741 |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
5742 |
@@ -4390,11 +4925,7 @@ do |
5743 |
# <limits.h> exists even on freestanding compilers. |
5744 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
5745 |
# not just through cpp. "Syntax error" is here to catch this case. |
5746 |
- cat >conftest.$ac_ext <<_ACEOF |
5747 |
-/* confdefs.h. */ |
5748 |
-_ACEOF |
5749 |
-cat confdefs.h >>conftest.$ac_ext |
5750 |
-cat >>conftest.$ac_ext <<_ACEOF |
5751 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5752 |
/* end confdefs.h. */ |
5753 |
#ifdef __STDC__ |
5754 |
# include <limits.h> |
5755 |
@@ -4403,76 +4934,34 @@ cat >>conftest.$ac_ext <<_ACEOF |
5756 |
#endif |
5757 |
Syntax error |
5758 |
_ACEOF |
5759 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
5760 |
-case "(($ac_try" in |
5761 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5762 |
- *) ac_try_echo=$ac_try;; |
5763 |
-esac |
5764 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
5765 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
5766 |
- ac_status=$? |
5767 |
- grep -v '^ *+' conftest.er1 >conftest.err |
5768 |
- rm -f conftest.er1 |
5769 |
- cat conftest.err >&5 |
5770 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5771 |
- (exit $ac_status); } >/dev/null && { |
5772 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
5773 |
- test ! -s conftest.err |
5774 |
- }; then |
5775 |
- : |
5776 |
-else |
5777 |
- echo "$as_me: failed program was:" >&5 |
5778 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
5779 |
+if ac_fn_c_try_cpp "$LINENO"; then : |
5780 |
|
5781 |
+else |
5782 |
# Broken: fails on valid input. |
5783 |
continue |
5784 |
fi |
5785 |
- |
5786 |
-rm -f conftest.err conftest.$ac_ext |
5787 |
+rm -f conftest.err conftest.i conftest.$ac_ext |
5788 |
|
5789 |
# OK, works on sane cases. Now check whether nonexistent headers |
5790 |
# can be detected and how. |
5791 |
- cat >conftest.$ac_ext <<_ACEOF |
5792 |
-/* confdefs.h. */ |
5793 |
-_ACEOF |
5794 |
-cat confdefs.h >>conftest.$ac_ext |
5795 |
-cat >>conftest.$ac_ext <<_ACEOF |
5796 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5797 |
/* end confdefs.h. */ |
5798 |
#include <ac_nonexistent.h> |
5799 |
_ACEOF |
5800 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
5801 |
-case "(($ac_try" in |
5802 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5803 |
- *) ac_try_echo=$ac_try;; |
5804 |
-esac |
5805 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
5806 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
5807 |
- ac_status=$? |
5808 |
- grep -v '^ *+' conftest.er1 >conftest.err |
5809 |
- rm -f conftest.er1 |
5810 |
- cat conftest.err >&5 |
5811 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5812 |
- (exit $ac_status); } >/dev/null && { |
5813 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
5814 |
- test ! -s conftest.err |
5815 |
- }; then |
5816 |
+if ac_fn_c_try_cpp "$LINENO"; then : |
5817 |
# Broken: success on invalid input. |
5818 |
continue |
5819 |
else |
5820 |
- echo "$as_me: failed program was:" >&5 |
5821 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
5822 |
- |
5823 |
# Passes both tests. |
5824 |
ac_preproc_ok=: |
5825 |
break |
5826 |
fi |
5827 |
- |
5828 |
-rm -f conftest.err conftest.$ac_ext |
5829 |
+rm -f conftest.err conftest.i conftest.$ac_ext |
5830 |
|
5831 |
done |
5832 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
5833 |
-rm -f conftest.err conftest.$ac_ext |
5834 |
-if $ac_preproc_ok; then |
5835 |
+rm -f conftest.i conftest.err conftest.$ac_ext |
5836 |
+if $ac_preproc_ok; then : |
5837 |
break |
5838 |
fi |
5839 |
|
5840 |
@@ -4484,8 +4973,8 @@ fi |
5841 |
else |
5842 |
ac_cv_prog_CPP=$CPP |
5843 |
fi |
5844 |
-{ echo "$as_me:$LINENO: result: $CPP" >&5 |
5845 |
-echo "${ECHO_T}$CPP" >&6; } |
5846 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
5847 |
+$as_echo "$CPP" >&6; } |
5848 |
ac_preproc_ok=false |
5849 |
for ac_c_preproc_warn_flag in '' yes |
5850 |
do |
5851 |
@@ -4495,11 +4984,7 @@ do |
5852 |
# <limits.h> exists even on freestanding compilers. |
5853 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
5854 |
# not just through cpp. "Syntax error" is here to catch this case. |
5855 |
- cat >conftest.$ac_ext <<_ACEOF |
5856 |
-/* confdefs.h. */ |
5857 |
-_ACEOF |
5858 |
-cat confdefs.h >>conftest.$ac_ext |
5859 |
-cat >>conftest.$ac_ext <<_ACEOF |
5860 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5861 |
/* end confdefs.h. */ |
5862 |
#ifdef __STDC__ |
5863 |
# include <limits.h> |
5864 |
@@ -4508,83 +4993,40 @@ cat >>conftest.$ac_ext <<_ACEOF |
5865 |
#endif |
5866 |
Syntax error |
5867 |
_ACEOF |
5868 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
5869 |
-case "(($ac_try" in |
5870 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5871 |
- *) ac_try_echo=$ac_try;; |
5872 |
-esac |
5873 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
5874 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
5875 |
- ac_status=$? |
5876 |
- grep -v '^ *+' conftest.er1 >conftest.err |
5877 |
- rm -f conftest.er1 |
5878 |
- cat conftest.err >&5 |
5879 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5880 |
- (exit $ac_status); } >/dev/null && { |
5881 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
5882 |
- test ! -s conftest.err |
5883 |
- }; then |
5884 |
- : |
5885 |
-else |
5886 |
- echo "$as_me: failed program was:" >&5 |
5887 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
5888 |
+if ac_fn_c_try_cpp "$LINENO"; then : |
5889 |
|
5890 |
+else |
5891 |
# Broken: fails on valid input. |
5892 |
continue |
5893 |
fi |
5894 |
- |
5895 |
-rm -f conftest.err conftest.$ac_ext |
5896 |
+rm -f conftest.err conftest.i conftest.$ac_ext |
5897 |
|
5898 |
# OK, works on sane cases. Now check whether nonexistent headers |
5899 |
# can be detected and how. |
5900 |
- cat >conftest.$ac_ext <<_ACEOF |
5901 |
-/* confdefs.h. */ |
5902 |
-_ACEOF |
5903 |
-cat confdefs.h >>conftest.$ac_ext |
5904 |
-cat >>conftest.$ac_ext <<_ACEOF |
5905 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5906 |
/* end confdefs.h. */ |
5907 |
#include <ac_nonexistent.h> |
5908 |
_ACEOF |
5909 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
5910 |
-case "(($ac_try" in |
5911 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5912 |
- *) ac_try_echo=$ac_try;; |
5913 |
-esac |
5914 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
5915 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
5916 |
- ac_status=$? |
5917 |
- grep -v '^ *+' conftest.er1 >conftest.err |
5918 |
- rm -f conftest.er1 |
5919 |
- cat conftest.err >&5 |
5920 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5921 |
- (exit $ac_status); } >/dev/null && { |
5922 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
5923 |
- test ! -s conftest.err |
5924 |
- }; then |
5925 |
+if ac_fn_c_try_cpp "$LINENO"; then : |
5926 |
# Broken: success on invalid input. |
5927 |
continue |
5928 |
else |
5929 |
- echo "$as_me: failed program was:" >&5 |
5930 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
5931 |
- |
5932 |
# Passes both tests. |
5933 |
ac_preproc_ok=: |
5934 |
break |
5935 |
fi |
5936 |
- |
5937 |
-rm -f conftest.err conftest.$ac_ext |
5938 |
+rm -f conftest.err conftest.i conftest.$ac_ext |
5939 |
|
5940 |
done |
5941 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
5942 |
-rm -f conftest.err conftest.$ac_ext |
5943 |
-if $ac_preproc_ok; then |
5944 |
- : |
5945 |
+rm -f conftest.i conftest.err conftest.$ac_ext |
5946 |
+if $ac_preproc_ok; then : |
5947 |
+ |
5948 |
else |
5949 |
- { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
5950 |
-See \`config.log' for more details." >&5 |
5951 |
-echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
5952 |
-See \`config.log' for more details." >&2;} |
5953 |
- { (exit 1); exit 1; }; } |
5954 |
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
5955 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
5956 |
+as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
5957 |
+See \`config.log' for more details" "$LINENO" 5; } |
5958 |
fi |
5959 |
|
5960 |
ac_ext=c |
5961 |
@@ -4594,45 +5036,40 @@ ac_link='$CC -o conftest$ac_exeext $CFLA |
5962 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
5963 |
|
5964 |
|
5965 |
-{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 |
5966 |
-echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } |
5967 |
-if test "${ac_cv_path_GREP+set}" = set; then |
5968 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
5969 |
-else |
5970 |
- # Extract the first word of "grep ggrep" to use in msg output |
5971 |
-if test -z "$GREP"; then |
5972 |
-set dummy grep ggrep; ac_prog_name=$2 |
5973 |
-if test "${ac_cv_path_GREP+set}" = set; then |
5974 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
5975 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
5976 |
+$as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
5977 |
+if ${ac_cv_path_GREP+:} false; then : |
5978 |
+ $as_echo_n "(cached) " >&6 |
5979 |
else |
5980 |
+ if test -z "$GREP"; then |
5981 |
ac_path_GREP_found=false |
5982 |
-# Loop through the user's path and test for each of PROGNAME-LIST |
5983 |
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5984 |
+ # Loop through the user's path and test for each of PROGNAME-LIST |
5985 |
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5986 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
5987 |
do |
5988 |
IFS=$as_save_IFS |
5989 |
test -z "$as_dir" && as_dir=. |
5990 |
- for ac_prog in grep ggrep; do |
5991 |
- for ac_exec_ext in '' $ac_executable_extensions; do |
5992 |
- ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
5993 |
- { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
5994 |
- # Check for GNU ac_path_GREP and select it if it is found. |
5995 |
+ for ac_prog in grep ggrep; do |
5996 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
5997 |
+ ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
5998 |
+ as_fn_executable_p "$ac_path_GREP" || continue |
5999 |
+# Check for GNU ac_path_GREP and select it if it is found. |
6000 |
# Check for GNU $ac_path_GREP |
6001 |
case `"$ac_path_GREP" --version 2>&1` in |
6002 |
*GNU*) |
6003 |
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
6004 |
*) |
6005 |
ac_count=0 |
6006 |
- echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" |
6007 |
+ $as_echo_n 0123456789 >"conftest.in" |
6008 |
while : |
6009 |
do |
6010 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
6011 |
mv "conftest.tmp" "conftest.in" |
6012 |
cp "conftest.in" "conftest.nl" |
6013 |
- echo 'GREP' >> "conftest.nl" |
6014 |
+ $as_echo 'GREP' >> "conftest.nl" |
6015 |
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
6016 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
6017 |
- ac_count=`expr $ac_count + 1` |
6018 |
+ as_fn_arith $ac_count + 1 && ac_count=$as_val |
6019 |
if test $ac_count -gt ${ac_path_GREP_max-0}; then |
6020 |
# Best one so far, save it but keep looking for a better one |
6021 |
ac_cv_path_GREP="$ac_path_GREP" |
6022 |
@@ -4644,77 +5081,61 @@ case `"$ac_path_GREP" --version 2>&1` in |
6023 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
6024 |
esac |
6025 |
|
6026 |
- |
6027 |
- $ac_path_GREP_found && break 3 |
6028 |
+ $ac_path_GREP_found && break 3 |
6029 |
+ done |
6030 |
+ done |
6031 |
done |
6032 |
-done |
6033 |
- |
6034 |
-done |
6035 |
IFS=$as_save_IFS |
6036 |
- |
6037 |
- |
6038 |
-fi |
6039 |
- |
6040 |
-GREP="$ac_cv_path_GREP" |
6041 |
-if test -z "$GREP"; then |
6042 |
- { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
6043 |
-echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
6044 |
- { (exit 1); exit 1; }; } |
6045 |
-fi |
6046 |
- |
6047 |
+ if test -z "$ac_cv_path_GREP"; then |
6048 |
+ as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
6049 |
+ fi |
6050 |
else |
6051 |
ac_cv_path_GREP=$GREP |
6052 |
fi |
6053 |
|
6054 |
- |
6055 |
fi |
6056 |
-{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 |
6057 |
-echo "${ECHO_T}$ac_cv_path_GREP" >&6; } |
6058 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
6059 |
+$as_echo "$ac_cv_path_GREP" >&6; } |
6060 |
GREP="$ac_cv_path_GREP" |
6061 |
|
6062 |
|
6063 |
-{ echo "$as_me:$LINENO: checking for egrep" >&5 |
6064 |
-echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } |
6065 |
-if test "${ac_cv_path_EGREP+set}" = set; then |
6066 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
6067 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
6068 |
+$as_echo_n "checking for egrep... " >&6; } |
6069 |
+if ${ac_cv_path_EGREP+:} false; then : |
6070 |
+ $as_echo_n "(cached) " >&6 |
6071 |
else |
6072 |
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
6073 |
then ac_cv_path_EGREP="$GREP -E" |
6074 |
else |
6075 |
- # Extract the first word of "egrep" to use in msg output |
6076 |
-if test -z "$EGREP"; then |
6077 |
-set dummy egrep; ac_prog_name=$2 |
6078 |
-if test "${ac_cv_path_EGREP+set}" = set; then |
6079 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
6080 |
-else |
6081 |
+ if test -z "$EGREP"; then |
6082 |
ac_path_EGREP_found=false |
6083 |
-# Loop through the user's path and test for each of PROGNAME-LIST |
6084 |
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6085 |
+ # Loop through the user's path and test for each of PROGNAME-LIST |
6086 |
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6087 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
6088 |
do |
6089 |
IFS=$as_save_IFS |
6090 |
test -z "$as_dir" && as_dir=. |
6091 |
- for ac_prog in egrep; do |
6092 |
- for ac_exec_ext in '' $ac_executable_extensions; do |
6093 |
- ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
6094 |
- { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
6095 |
- # Check for GNU ac_path_EGREP and select it if it is found. |
6096 |
+ for ac_prog in egrep; do |
6097 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
6098 |
+ ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
6099 |
+ as_fn_executable_p "$ac_path_EGREP" || continue |
6100 |
+# Check for GNU ac_path_EGREP and select it if it is found. |
6101 |
# Check for GNU $ac_path_EGREP |
6102 |
case `"$ac_path_EGREP" --version 2>&1` in |
6103 |
*GNU*) |
6104 |
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
6105 |
*) |
6106 |
ac_count=0 |
6107 |
- echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" |
6108 |
+ $as_echo_n 0123456789 >"conftest.in" |
6109 |
while : |
6110 |
do |
6111 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
6112 |
mv "conftest.tmp" "conftest.in" |
6113 |
cp "conftest.in" "conftest.nl" |
6114 |
- echo 'EGREP' >> "conftest.nl" |
6115 |
+ $as_echo 'EGREP' >> "conftest.nl" |
6116 |
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
6117 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
6118 |
- ac_count=`expr $ac_count + 1` |
6119 |
+ as_fn_arith $ac_count + 1 && ac_count=$as_val |
6120 |
if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
6121 |
# Best one so far, save it but keep looking for a better one |
6122 |
ac_cv_path_EGREP="$ac_path_EGREP" |
6123 |
@@ -4726,46 +5147,31 @@ case `"$ac_path_EGREP" --version 2>&1` i |
6124 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
6125 |
esac |
6126 |
|
6127 |
- |
6128 |
- $ac_path_EGREP_found && break 3 |
6129 |
+ $ac_path_EGREP_found && break 3 |
6130 |
+ done |
6131 |
+ done |
6132 |
done |
6133 |
-done |
6134 |
- |
6135 |
-done |
6136 |
IFS=$as_save_IFS |
6137 |
- |
6138 |
- |
6139 |
-fi |
6140 |
- |
6141 |
-EGREP="$ac_cv_path_EGREP" |
6142 |
-if test -z "$EGREP"; then |
6143 |
- { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
6144 |
-echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
6145 |
- { (exit 1); exit 1; }; } |
6146 |
-fi |
6147 |
- |
6148 |
+ if test -z "$ac_cv_path_EGREP"; then |
6149 |
+ as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
6150 |
+ fi |
6151 |
else |
6152 |
ac_cv_path_EGREP=$EGREP |
6153 |
fi |
6154 |
|
6155 |
- |
6156 |
fi |
6157 |
fi |
6158 |
-{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 |
6159 |
-echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } |
6160 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
6161 |
+$as_echo "$ac_cv_path_EGREP" >&6; } |
6162 |
EGREP="$ac_cv_path_EGREP" |
6163 |
|
6164 |
|
6165 |
-{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
6166 |
-echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } |
6167 |
-if test "${ac_cv_header_stdc+set}" = set; then |
6168 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
6169 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
6170 |
+$as_echo_n "checking for ANSI C header files... " >&6; } |
6171 |
+if ${ac_cv_header_stdc+:} false; then : |
6172 |
+ $as_echo_n "(cached) " >&6 |
6173 |
else |
6174 |
- cat >conftest.$ac_ext <<_ACEOF |
6175 |
-/* confdefs.h. */ |
6176 |
-_ACEOF |
6177 |
-cat confdefs.h >>conftest.$ac_ext |
6178 |
-cat >>conftest.$ac_ext <<_ACEOF |
6179 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6180 |
/* end confdefs.h. */ |
6181 |
#include <stdlib.h> |
6182 |
#include <stdarg.h> |
6183 |
@@ -4780,47 +5186,23 @@ main () |
6184 |
return 0; |
6185 |
} |
6186 |
_ACEOF |
6187 |
-rm -f conftest.$ac_objext |
6188 |
-if { (ac_try="$ac_compile" |
6189 |
-case "(($ac_try" in |
6190 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6191 |
- *) ac_try_echo=$ac_try;; |
6192 |
-esac |
6193 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6194 |
- (eval "$ac_compile") 2>conftest.er1 |
6195 |
- ac_status=$? |
6196 |
- grep -v '^ *+' conftest.er1 >conftest.err |
6197 |
- rm -f conftest.er1 |
6198 |
- cat conftest.err >&5 |
6199 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6200 |
- (exit $ac_status); } && { |
6201 |
- test -z "$ac_c_werror_flag" || |
6202 |
- test ! -s conftest.err |
6203 |
- } && test -s conftest.$ac_objext; then |
6204 |
+if ac_fn_c_try_compile "$LINENO"; then : |
6205 |
ac_cv_header_stdc=yes |
6206 |
else |
6207 |
- echo "$as_me: failed program was:" >&5 |
6208 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
6209 |
- |
6210 |
- ac_cv_header_stdc=no |
6211 |
+ ac_cv_header_stdc=no |
6212 |
fi |
6213 |
- |
6214 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6215 |
|
6216 |
if test $ac_cv_header_stdc = yes; then |
6217 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
6218 |
- cat >conftest.$ac_ext <<_ACEOF |
6219 |
-/* confdefs.h. */ |
6220 |
-_ACEOF |
6221 |
-cat confdefs.h >>conftest.$ac_ext |
6222 |
-cat >>conftest.$ac_ext <<_ACEOF |
6223 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6224 |
/* end confdefs.h. */ |
6225 |
#include <string.h> |
6226 |
|
6227 |
_ACEOF |
6228 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
6229 |
- $EGREP "memchr" >/dev/null 2>&1; then |
6230 |
- : |
6231 |
+ $EGREP "memchr" >/dev/null 2>&1; then : |
6232 |
+ |
6233 |
else |
6234 |
ac_cv_header_stdc=no |
6235 |
fi |
6236 |
@@ -4830,18 +5212,14 @@ fi |
6237 |
|
6238 |
if test $ac_cv_header_stdc = yes; then |
6239 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
6240 |
- cat >conftest.$ac_ext <<_ACEOF |
6241 |
-/* confdefs.h. */ |
6242 |
-_ACEOF |
6243 |
-cat confdefs.h >>conftest.$ac_ext |
6244 |
-cat >>conftest.$ac_ext <<_ACEOF |
6245 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6246 |
/* end confdefs.h. */ |
6247 |
#include <stdlib.h> |
6248 |
|
6249 |
_ACEOF |
6250 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
6251 |
- $EGREP "free" >/dev/null 2>&1; then |
6252 |
- : |
6253 |
+ $EGREP "free" >/dev/null 2>&1; then : |
6254 |
+ |
6255 |
else |
6256 |
ac_cv_header_stdc=no |
6257 |
fi |
6258 |
@@ -4851,14 +5229,10 @@ fi |
6259 |
|
6260 |
if test $ac_cv_header_stdc = yes; then |
6261 |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
6262 |
- if test "$cross_compiling" = yes; then |
6263 |
+ if test "$cross_compiling" = yes; then : |
6264 |
: |
6265 |
else |
6266 |
- cat >conftest.$ac_ext <<_ACEOF |
6267 |
-/* confdefs.h. */ |
6268 |
-_ACEOF |
6269 |
-cat confdefs.h >>conftest.$ac_ext |
6270 |
-cat >>conftest.$ac_ext <<_ACEOF |
6271 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6272 |
/* end confdefs.h. */ |
6273 |
#include <ctype.h> |
6274 |
#include <stdlib.h> |
6275 |
@@ -4885,61 +5259,31 @@ main () |
6276 |
return 0; |
6277 |
} |
6278 |
_ACEOF |
6279 |
-rm -f conftest$ac_exeext |
6280 |
-if { (ac_try="$ac_link" |
6281 |
-case "(($ac_try" in |
6282 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6283 |
- *) ac_try_echo=$ac_try;; |
6284 |
-esac |
6285 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6286 |
- (eval "$ac_link") 2>&5 |
6287 |
- ac_status=$? |
6288 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6289 |
- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
6290 |
- { (case "(($ac_try" in |
6291 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6292 |
- *) ac_try_echo=$ac_try;; |
6293 |
-esac |
6294 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6295 |
- (eval "$ac_try") 2>&5 |
6296 |
- ac_status=$? |
6297 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6298 |
- (exit $ac_status); }; }; then |
6299 |
- : |
6300 |
-else |
6301 |
- echo "$as_me: program exited with status $ac_status" >&5 |
6302 |
-echo "$as_me: failed program was:" >&5 |
6303 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
6304 |
+if ac_fn_c_try_run "$LINENO"; then : |
6305 |
|
6306 |
-( exit $ac_status ) |
6307 |
-ac_cv_header_stdc=no |
6308 |
+else |
6309 |
+ ac_cv_header_stdc=no |
6310 |
fi |
6311 |
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
6312 |
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
6313 |
+ conftest.$ac_objext conftest.beam conftest.$ac_ext |
6314 |
fi |
6315 |
|
6316 |
- |
6317 |
fi |
6318 |
fi |
6319 |
-{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
6320 |
-echo "${ECHO_T}$ac_cv_header_stdc" >&6; } |
6321 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
6322 |
+$as_echo "$ac_cv_header_stdc" >&6; } |
6323 |
if test $ac_cv_header_stdc = yes; then |
6324 |
|
6325 |
-cat >>confdefs.h <<\_ACEOF |
6326 |
-#define STDC_HEADERS 1 |
6327 |
-_ACEOF |
6328 |
+$as_echo "#define STDC_HEADERS 1" >>confdefs.h |
6329 |
|
6330 |
fi |
6331 |
|
6332 |
-{ echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
6333 |
-echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; } |
6334 |
-if test "${ac_cv_header_sys_wait_h+set}" = set; then |
6335 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
6336 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
6337 |
+$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } |
6338 |
+if ${ac_cv_header_sys_wait_h+:} false; then : |
6339 |
+ $as_echo_n "(cached) " >&6 |
6340 |
else |
6341 |
- cat >conftest.$ac_ext <<_ACEOF |
6342 |
-/* confdefs.h. */ |
6343 |
-_ACEOF |
6344 |
-cat confdefs.h >>conftest.$ac_ext |
6345 |
-cat >>conftest.$ac_ext <<_ACEOF |
6346 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6347 |
/* end confdefs.h. */ |
6348 |
#include <sys/types.h> |
6349 |
#include <sys/wait.h> |
6350 |
@@ -4960,105 +5304,31 @@ main () |
6351 |
return 0; |
6352 |
} |
6353 |
_ACEOF |
6354 |
-rm -f conftest.$ac_objext |
6355 |
-if { (ac_try="$ac_compile" |
6356 |
-case "(($ac_try" in |
6357 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6358 |
- *) ac_try_echo=$ac_try;; |
6359 |
-esac |
6360 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6361 |
- (eval "$ac_compile") 2>conftest.er1 |
6362 |
- ac_status=$? |
6363 |
- grep -v '^ *+' conftest.er1 >conftest.err |
6364 |
- rm -f conftest.er1 |
6365 |
- cat conftest.err >&5 |
6366 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6367 |
- (exit $ac_status); } && { |
6368 |
- test -z "$ac_c_werror_flag" || |
6369 |
- test ! -s conftest.err |
6370 |
- } && test -s conftest.$ac_objext; then |
6371 |
+if ac_fn_c_try_compile "$LINENO"; then : |
6372 |
ac_cv_header_sys_wait_h=yes |
6373 |
else |
6374 |
- echo "$as_me: failed program was:" >&5 |
6375 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
6376 |
- |
6377 |
- ac_cv_header_sys_wait_h=no |
6378 |
+ ac_cv_header_sys_wait_h=no |
6379 |
fi |
6380 |
- |
6381 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6382 |
fi |
6383 |
-{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5 |
6384 |
-echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; } |
6385 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5 |
6386 |
+$as_echo "$ac_cv_header_sys_wait_h" >&6; } |
6387 |
if test $ac_cv_header_sys_wait_h = yes; then |
6388 |
|
6389 |
-cat >>confdefs.h <<\_ACEOF |
6390 |
-#define HAVE_SYS_WAIT_H 1 |
6391 |
-_ACEOF |
6392 |
+$as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h |
6393 |
|
6394 |
fi |
6395 |
|
6396 |
# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
6397 |
- |
6398 |
- |
6399 |
- |
6400 |
- |
6401 |
- |
6402 |
- |
6403 |
- |
6404 |
- |
6405 |
- |
6406 |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
6407 |
inttypes.h stdint.h unistd.h |
6408 |
-do |
6409 |
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6410 |
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6411 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
6412 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
6413 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
6414 |
-else |
6415 |
- cat >conftest.$ac_ext <<_ACEOF |
6416 |
-/* confdefs.h. */ |
6417 |
-_ACEOF |
6418 |
-cat confdefs.h >>conftest.$ac_ext |
6419 |
-cat >>conftest.$ac_ext <<_ACEOF |
6420 |
-/* end confdefs.h. */ |
6421 |
-$ac_includes_default |
6422 |
- |
6423 |
-#include <$ac_header> |
6424 |
-_ACEOF |
6425 |
-rm -f conftest.$ac_objext |
6426 |
-if { (ac_try="$ac_compile" |
6427 |
-case "(($ac_try" in |
6428 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6429 |
- *) ac_try_echo=$ac_try;; |
6430 |
-esac |
6431 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6432 |
- (eval "$ac_compile") 2>conftest.er1 |
6433 |
- ac_status=$? |
6434 |
- grep -v '^ *+' conftest.er1 >conftest.err |
6435 |
- rm -f conftest.er1 |
6436 |
- cat conftest.err >&5 |
6437 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6438 |
- (exit $ac_status); } && { |
6439 |
- test -z "$ac_c_werror_flag" || |
6440 |
- test ! -s conftest.err |
6441 |
- } && test -s conftest.$ac_objext; then |
6442 |
- eval "$as_ac_Header=yes" |
6443 |
-else |
6444 |
- echo "$as_me: failed program was:" >&5 |
6445 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
6446 |
- |
6447 |
- eval "$as_ac_Header=no" |
6448 |
-fi |
6449 |
- |
6450 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6451 |
-fi |
6452 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
6453 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
6454 |
-echo "${ECHO_T}$ac_res" >&6; } |
6455 |
-if test `eval echo '${'$as_ac_Header'}'` = yes; then |
6456 |
+do : |
6457 |
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6458 |
+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
6459 |
+" |
6460 |
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
6461 |
cat >>confdefs.h <<_ACEOF |
6462 |
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
6463 |
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
6464 |
_ACEOF |
6465 |
|
6466 |
fi |
6467 |
@@ -5066,2108 +5336,181 @@ fi |
6468 |
done |
6469 |
|
6470 |
|
6471 |
- |
6472 |
- |
6473 |
- |
6474 |
- |
6475 |
- |
6476 |
- |
6477 |
- |
6478 |
- |
6479 |
- |
6480 |
for ac_header in fcntl.h limits.h sys/ioctl.h sys/time.h time.h unistd.h math.h ieee.h endian.h |
6481 |
-do |
6482 |
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6483 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
6484 |
- { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6485 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
6486 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
6487 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
6488 |
-fi |
6489 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
6490 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
6491 |
-echo "${ECHO_T}$ac_res" >&6; } |
6492 |
-else |
6493 |
- # Is the header compilable? |
6494 |
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
6495 |
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
6496 |
-cat >conftest.$ac_ext <<_ACEOF |
6497 |
-/* confdefs.h. */ |
6498 |
-_ACEOF |
6499 |
-cat confdefs.h >>conftest.$ac_ext |
6500 |
-cat >>conftest.$ac_ext <<_ACEOF |
6501 |
-/* end confdefs.h. */ |
6502 |
-$ac_includes_default |
6503 |
-#include <$ac_header> |
6504 |
-_ACEOF |
6505 |
-rm -f conftest.$ac_objext |
6506 |
-if { (ac_try="$ac_compile" |
6507 |
-case "(($ac_try" in |
6508 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6509 |
- *) ac_try_echo=$ac_try;; |
6510 |
-esac |
6511 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6512 |
- (eval "$ac_compile") 2>conftest.er1 |
6513 |
- ac_status=$? |
6514 |
- grep -v '^ *+' conftest.er1 >conftest.err |
6515 |
- rm -f conftest.er1 |
6516 |
- cat conftest.err >&5 |
6517 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6518 |
- (exit $ac_status); } && { |
6519 |
- test -z "$ac_c_werror_flag" || |
6520 |
- test ! -s conftest.err |
6521 |
- } && test -s conftest.$ac_objext; then |
6522 |
- ac_header_compiler=yes |
6523 |
-else |
6524 |
- echo "$as_me: failed program was:" >&5 |
6525 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
6526 |
- |
6527 |
- ac_header_compiler=no |
6528 |
-fi |
6529 |
- |
6530 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6531 |
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
6532 |
-echo "${ECHO_T}$ac_header_compiler" >&6; } |
6533 |
- |
6534 |
-# Is the header present? |
6535 |
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
6536 |
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
6537 |
-cat >conftest.$ac_ext <<_ACEOF |
6538 |
-/* confdefs.h. */ |
6539 |
-_ACEOF |
6540 |
-cat confdefs.h >>conftest.$ac_ext |
6541 |
-cat >>conftest.$ac_ext <<_ACEOF |
6542 |
-/* end confdefs.h. */ |
6543 |
-#include <$ac_header> |
6544 |
-_ACEOF |
6545 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
6546 |
-case "(($ac_try" in |
6547 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6548 |
- *) ac_try_echo=$ac_try;; |
6549 |
-esac |
6550 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6551 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
6552 |
- ac_status=$? |
6553 |
- grep -v '^ *+' conftest.er1 >conftest.err |
6554 |
- rm -f conftest.er1 |
6555 |
- cat conftest.err >&5 |
6556 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6557 |
- (exit $ac_status); } >/dev/null && { |
6558 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
6559 |
- test ! -s conftest.err |
6560 |
- }; then |
6561 |
- ac_header_preproc=yes |
6562 |
-else |
6563 |
- echo "$as_me: failed program was:" >&5 |
6564 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
6565 |
- |
6566 |
- ac_header_preproc=no |
6567 |
-fi |
6568 |
- |
6569 |
-rm -f conftest.err conftest.$ac_ext |
6570 |
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
6571 |
-echo "${ECHO_T}$ac_header_preproc" >&6; } |
6572 |
- |
6573 |
-# So? What about this header? |
6574 |
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
6575 |
- yes:no: ) |
6576 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
6577 |
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
6578 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
6579 |
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
6580 |
- ac_header_preproc=yes |
6581 |
- ;; |
6582 |
- no:yes:* ) |
6583 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
6584 |
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
6585 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
6586 |
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
6587 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
6588 |
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
6589 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
6590 |
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
6591 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
6592 |
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
6593 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
6594 |
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
6595 |
- |
6596 |
- ;; |
6597 |
-esac |
6598 |
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6599 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
6600 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
6601 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
6602 |
-else |
6603 |
- eval "$as_ac_Header=\$ac_header_preproc" |
6604 |
-fi |
6605 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
6606 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
6607 |
-echo "${ECHO_T}$ac_res" >&6; } |
6608 |
- |
6609 |
-fi |
6610 |
-if test `eval echo '${'$as_ac_Header'}'` = yes; then |
6611 |
+do : |
6612 |
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6613 |
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
6614 |
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
6615 |
cat >>confdefs.h <<_ACEOF |
6616 |
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
6617 |
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
6618 |
_ACEOF |
6619 |
|
6620 |
fi |
6621 |
|
6622 |
done |
6623 |
|
6624 |
- |
6625 |
for ac_header in values.h |
6626 |
-do |
6627 |
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6628 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
6629 |
- { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6630 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
6631 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
6632 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
6633 |
-fi |
6634 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
6635 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
6636 |
-echo "${ECHO_T}$ac_res" >&6; } |
6637 |
-else |
6638 |
- # Is the header compilable? |
6639 |
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
6640 |
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
6641 |
-cat >conftest.$ac_ext <<_ACEOF |
6642 |
-/* confdefs.h. */ |
6643 |
-_ACEOF |
6644 |
-cat confdefs.h >>conftest.$ac_ext |
6645 |
-cat >>conftest.$ac_ext <<_ACEOF |
6646 |
-/* end confdefs.h. */ |
6647 |
-$ac_includes_default |
6648 |
-#include <$ac_header> |
6649 |
-_ACEOF |
6650 |
-rm -f conftest.$ac_objext |
6651 |
-if { (ac_try="$ac_compile" |
6652 |
-case "(($ac_try" in |
6653 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6654 |
- *) ac_try_echo=$ac_try;; |
6655 |
-esac |
6656 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6657 |
- (eval "$ac_compile") 2>conftest.er1 |
6658 |
- ac_status=$? |
6659 |
- grep -v '^ *+' conftest.er1 >conftest.err |
6660 |
- rm -f conftest.er1 |
6661 |
- cat conftest.err >&5 |
6662 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6663 |
- (exit $ac_status); } && { |
6664 |
- test -z "$ac_c_werror_flag" || |
6665 |
- test ! -s conftest.err |
6666 |
- } && test -s conftest.$ac_objext; then |
6667 |
- ac_header_compiler=yes |
6668 |
-else |
6669 |
- echo "$as_me: failed program was:" >&5 |
6670 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
6671 |
- |
6672 |
- ac_header_compiler=no |
6673 |
-fi |
6674 |
- |
6675 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6676 |
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
6677 |
-echo "${ECHO_T}$ac_header_compiler" >&6; } |
6678 |
- |
6679 |
-# Is the header present? |
6680 |
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
6681 |
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
6682 |
-cat >conftest.$ac_ext <<_ACEOF |
6683 |
-/* confdefs.h. */ |
6684 |
-_ACEOF |
6685 |
-cat confdefs.h >>conftest.$ac_ext |
6686 |
-cat >>conftest.$ac_ext <<_ACEOF |
6687 |
-/* end confdefs.h. */ |
6688 |
-#include <$ac_header> |
6689 |
-_ACEOF |
6690 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
6691 |
-case "(($ac_try" in |
6692 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6693 |
- *) ac_try_echo=$ac_try;; |
6694 |
-esac |
6695 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6696 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
6697 |
- ac_status=$? |
6698 |
- grep -v '^ *+' conftest.er1 >conftest.err |
6699 |
- rm -f conftest.er1 |
6700 |
- cat conftest.err >&5 |
6701 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6702 |
- (exit $ac_status); } >/dev/null && { |
6703 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
6704 |
- test ! -s conftest.err |
6705 |
- }; then |
6706 |
- ac_header_preproc=yes |
6707 |
-else |
6708 |
- echo "$as_me: failed program was:" >&5 |
6709 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
6710 |
- |
6711 |
- ac_header_preproc=no |
6712 |
-fi |
6713 |
- |
6714 |
-rm -f conftest.err conftest.$ac_ext |
6715 |
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
6716 |
-echo "${ECHO_T}$ac_header_preproc" >&6; } |
6717 |
- |
6718 |
-# So? What about this header? |
6719 |
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
6720 |
- yes:no: ) |
6721 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
6722 |
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
6723 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
6724 |
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
6725 |
- ac_header_preproc=yes |
6726 |
- ;; |
6727 |
- no:yes:* ) |
6728 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
6729 |
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
6730 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
6731 |
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
6732 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
6733 |
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
6734 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
6735 |
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
6736 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
6737 |
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
6738 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
6739 |
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
6740 |
- |
6741 |
- ;; |
6742 |
-esac |
6743 |
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6744 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
6745 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
6746 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
6747 |
-else |
6748 |
- eval "$as_ac_Header=\$ac_header_preproc" |
6749 |
-fi |
6750 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
6751 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
6752 |
-echo "${ECHO_T}$ac_res" >&6; } |
6753 |
- |
6754 |
-fi |
6755 |
-if test `eval echo '${'$as_ac_Header'}'` = yes; then |
6756 |
+do : |
6757 |
+ ac_fn_c_check_header_mongrel "$LINENO" "values.h" "ac_cv_header_values_h" "$ac_includes_default" |
6758 |
+if test "x$ac_cv_header_values_h" = xyes; then : |
6759 |
cat >>confdefs.h <<_ACEOF |
6760 |
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
6761 |
+#define HAVE_VALUES_H 1 |
6762 |
_ACEOF |
6763 |
|
6764 |
fi |
6765 |
|
6766 |
done |
6767 |
|
6768 |
- |
6769 |
for ac_header in sigaction.h |
6770 |
-do |
6771 |
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6772 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
6773 |
- { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6774 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
6775 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
6776 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
6777 |
-fi |
6778 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
6779 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
6780 |
-echo "${ECHO_T}$ac_res" >&6; } |
6781 |
-else |
6782 |
- # Is the header compilable? |
6783 |
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
6784 |
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
6785 |
-cat >conftest.$ac_ext <<_ACEOF |
6786 |
-/* confdefs.h. */ |
6787 |
-_ACEOF |
6788 |
-cat confdefs.h >>conftest.$ac_ext |
6789 |
-cat >>conftest.$ac_ext <<_ACEOF |
6790 |
-/* end confdefs.h. */ |
6791 |
-$ac_includes_default |
6792 |
-#include <$ac_header> |
6793 |
-_ACEOF |
6794 |
-rm -f conftest.$ac_objext |
6795 |
-if { (ac_try="$ac_compile" |
6796 |
-case "(($ac_try" in |
6797 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6798 |
- *) ac_try_echo=$ac_try;; |
6799 |
-esac |
6800 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6801 |
- (eval "$ac_compile") 2>conftest.er1 |
6802 |
- ac_status=$? |
6803 |
- grep -v '^ *+' conftest.er1 >conftest.err |
6804 |
- rm -f conftest.er1 |
6805 |
- cat conftest.err >&5 |
6806 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6807 |
- (exit $ac_status); } && { |
6808 |
- test -z "$ac_c_werror_flag" || |
6809 |
- test ! -s conftest.err |
6810 |
- } && test -s conftest.$ac_objext; then |
6811 |
- ac_header_compiler=yes |
6812 |
-else |
6813 |
- echo "$as_me: failed program was:" >&5 |
6814 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
6815 |
- |
6816 |
- ac_header_compiler=no |
6817 |
-fi |
6818 |
- |
6819 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6820 |
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
6821 |
-echo "${ECHO_T}$ac_header_compiler" >&6; } |
6822 |
- |
6823 |
-# Is the header present? |
6824 |
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
6825 |
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
6826 |
-cat >conftest.$ac_ext <<_ACEOF |
6827 |
-/* confdefs.h. */ |
6828 |
-_ACEOF |
6829 |
-cat confdefs.h >>conftest.$ac_ext |
6830 |
-cat >>conftest.$ac_ext <<_ACEOF |
6831 |
-/* end confdefs.h. */ |
6832 |
-#include <$ac_header> |
6833 |
-_ACEOF |
6834 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
6835 |
-case "(($ac_try" in |
6836 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6837 |
- *) ac_try_echo=$ac_try;; |
6838 |
-esac |
6839 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6840 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
6841 |
- ac_status=$? |
6842 |
- grep -v '^ *+' conftest.er1 >conftest.err |
6843 |
- rm -f conftest.er1 |
6844 |
- cat conftest.err >&5 |
6845 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6846 |
- (exit $ac_status); } >/dev/null && { |
6847 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
6848 |
- test ! -s conftest.err |
6849 |
- }; then |
6850 |
- ac_header_preproc=yes |
6851 |
-else |
6852 |
- echo "$as_me: failed program was:" >&5 |
6853 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
6854 |
- |
6855 |
- ac_header_preproc=no |
6856 |
-fi |
6857 |
- |
6858 |
-rm -f conftest.err conftest.$ac_ext |
6859 |
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
6860 |
-echo "${ECHO_T}$ac_header_preproc" >&6; } |
6861 |
- |
6862 |
-# So? What about this header? |
6863 |
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
6864 |
- yes:no: ) |
6865 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
6866 |
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
6867 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
6868 |
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
6869 |
- ac_header_preproc=yes |
6870 |
- ;; |
6871 |
- no:yes:* ) |
6872 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
6873 |
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
6874 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
6875 |
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
6876 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
6877 |
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
6878 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
6879 |
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
6880 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
6881 |
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
6882 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
6883 |
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
6884 |
- |
6885 |
- ;; |
6886 |
-esac |
6887 |
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6888 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
6889 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
6890 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
6891 |
-else |
6892 |
- eval "$as_ac_Header=\$ac_header_preproc" |
6893 |
-fi |
6894 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
6895 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
6896 |
-echo "${ECHO_T}$ac_res" >&6; } |
6897 |
- |
6898 |
-fi |
6899 |
-if test `eval echo '${'$as_ac_Header'}'` = yes; then |
6900 |
+do : |
6901 |
+ ac_fn_c_check_header_mongrel "$LINENO" "sigaction.h" "ac_cv_header_sigaction_h" "$ac_includes_default" |
6902 |
+if test "x$ac_cv_header_sigaction_h" = xyes; then : |
6903 |
cat >>confdefs.h <<_ACEOF |
6904 |
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
6905 |
+#define HAVE_SIGACTION_H 1 |
6906 |
_ACEOF |
6907 |
|
6908 |
fi |
6909 |
|
6910 |
done |
6911 |
|
6912 |
- |
6913 |
for ac_header in netinet/in_systm.h |
6914 |
-do |
6915 |
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6916 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
6917 |
- { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6918 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
6919 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
6920 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
6921 |
-fi |
6922 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
6923 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
6924 |
-echo "${ECHO_T}$ac_res" >&6; } |
6925 |
-else |
6926 |
- # Is the header compilable? |
6927 |
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
6928 |
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
6929 |
-cat >conftest.$ac_ext <<_ACEOF |
6930 |
-/* confdefs.h. */ |
6931 |
-_ACEOF |
6932 |
-cat confdefs.h >>conftest.$ac_ext |
6933 |
-cat >>conftest.$ac_ext <<_ACEOF |
6934 |
-/* end confdefs.h. */ |
6935 |
-$ac_includes_default |
6936 |
-#include <$ac_header> |
6937 |
-_ACEOF |
6938 |
-rm -f conftest.$ac_objext |
6939 |
-if { (ac_try="$ac_compile" |
6940 |
-case "(($ac_try" in |
6941 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6942 |
- *) ac_try_echo=$ac_try;; |
6943 |
-esac |
6944 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6945 |
- (eval "$ac_compile") 2>conftest.er1 |
6946 |
- ac_status=$? |
6947 |
- grep -v '^ *+' conftest.er1 >conftest.err |
6948 |
- rm -f conftest.er1 |
6949 |
- cat conftest.err >&5 |
6950 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6951 |
- (exit $ac_status); } && { |
6952 |
- test -z "$ac_c_werror_flag" || |
6953 |
- test ! -s conftest.err |
6954 |
- } && test -s conftest.$ac_objext; then |
6955 |
- ac_header_compiler=yes |
6956 |
-else |
6957 |
- echo "$as_me: failed program was:" >&5 |
6958 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
6959 |
- |
6960 |
- ac_header_compiler=no |
6961 |
-fi |
6962 |
- |
6963 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6964 |
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
6965 |
-echo "${ECHO_T}$ac_header_compiler" >&6; } |
6966 |
- |
6967 |
-# Is the header present? |
6968 |
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
6969 |
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
6970 |
-cat >conftest.$ac_ext <<_ACEOF |
6971 |
-/* confdefs.h. */ |
6972 |
-_ACEOF |
6973 |
-cat confdefs.h >>conftest.$ac_ext |
6974 |
-cat >>conftest.$ac_ext <<_ACEOF |
6975 |
-/* end confdefs.h. */ |
6976 |
-#include <$ac_header> |
6977 |
-_ACEOF |
6978 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
6979 |
-case "(($ac_try" in |
6980 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6981 |
- *) ac_try_echo=$ac_try;; |
6982 |
-esac |
6983 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
6984 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
6985 |
- ac_status=$? |
6986 |
- grep -v '^ *+' conftest.er1 >conftest.err |
6987 |
- rm -f conftest.er1 |
6988 |
- cat conftest.err >&5 |
6989 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6990 |
- (exit $ac_status); } >/dev/null && { |
6991 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
6992 |
- test ! -s conftest.err |
6993 |
- }; then |
6994 |
- ac_header_preproc=yes |
6995 |
-else |
6996 |
- echo "$as_me: failed program was:" >&5 |
6997 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
6998 |
- |
6999 |
- ac_header_preproc=no |
7000 |
-fi |
7001 |
- |
7002 |
-rm -f conftest.err conftest.$ac_ext |
7003 |
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
7004 |
-echo "${ECHO_T}$ac_header_preproc" >&6; } |
7005 |
- |
7006 |
-# So? What about this header? |
7007 |
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
7008 |
- yes:no: ) |
7009 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
7010 |
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
7011 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
7012 |
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
7013 |
- ac_header_preproc=yes |
7014 |
- ;; |
7015 |
- no:yes:* ) |
7016 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
7017 |
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
7018 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
7019 |
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
7020 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
7021 |
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
7022 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
7023 |
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
7024 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
7025 |
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
7026 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
7027 |
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
7028 |
- |
7029 |
- ;; |
7030 |
-esac |
7031 |
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7032 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
7033 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
7034 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
7035 |
-else |
7036 |
- eval "$as_ac_Header=\$ac_header_preproc" |
7037 |
-fi |
7038 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
7039 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
7040 |
-echo "${ECHO_T}$ac_res" >&6; } |
7041 |
- |
7042 |
-fi |
7043 |
-if test `eval echo '${'$as_ac_Header'}'` = yes; then |
7044 |
+do : |
7045 |
+ ac_fn_c_check_header_mongrel "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default" |
7046 |
+if test "x$ac_cv_header_netinet_in_systm_h" = xyes; then : |
7047 |
cat >>confdefs.h <<_ACEOF |
7048 |
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
7049 |
+#define HAVE_NETINET_IN_SYSTM_H 1 |
7050 |
_ACEOF |
7051 |
|
7052 |
fi |
7053 |
|
7054 |
done |
7055 |
|
7056 |
- |
7057 |
for ac_header in netinet/in_system.h |
7058 |
-do |
7059 |
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7060 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
7061 |
- { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7062 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
7063 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
7064 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
7065 |
-fi |
7066 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
7067 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
7068 |
-echo "${ECHO_T}$ac_res" >&6; } |
7069 |
-else |
7070 |
- # Is the header compilable? |
7071 |
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
7072 |
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
7073 |
-cat >conftest.$ac_ext <<_ACEOF |
7074 |
-/* confdefs.h. */ |
7075 |
-_ACEOF |
7076 |
-cat confdefs.h >>conftest.$ac_ext |
7077 |
-cat >>conftest.$ac_ext <<_ACEOF |
7078 |
-/* end confdefs.h. */ |
7079 |
-$ac_includes_default |
7080 |
-#include <$ac_header> |
7081 |
-_ACEOF |
7082 |
-rm -f conftest.$ac_objext |
7083 |
-if { (ac_try="$ac_compile" |
7084 |
-case "(($ac_try" in |
7085 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7086 |
- *) ac_try_echo=$ac_try;; |
7087 |
-esac |
7088 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
7089 |
- (eval "$ac_compile") 2>conftest.er1 |
7090 |
- ac_status=$? |
7091 |
- grep -v '^ *+' conftest.er1 >conftest.err |
7092 |
- rm -f conftest.er1 |
7093 |
- cat conftest.err >&5 |
7094 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7095 |
- (exit $ac_status); } && { |
7096 |
- test -z "$ac_c_werror_flag" || |
7097 |
- test ! -s conftest.err |
7098 |
- } && test -s conftest.$ac_objext; then |
7099 |
- ac_header_compiler=yes |
7100 |
-else |
7101 |
- echo "$as_me: failed program was:" >&5 |
7102 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
7103 |
- |
7104 |
- ac_header_compiler=no |
7105 |
-fi |
7106 |
- |
7107 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7108 |
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
7109 |
-echo "${ECHO_T}$ac_header_compiler" >&6; } |
7110 |
- |
7111 |
-# Is the header present? |
7112 |
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
7113 |
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
7114 |
-cat >conftest.$ac_ext <<_ACEOF |
7115 |
-/* confdefs.h. */ |
7116 |
-_ACEOF |
7117 |
-cat confdefs.h >>conftest.$ac_ext |
7118 |
-cat >>conftest.$ac_ext <<_ACEOF |
7119 |
-/* end confdefs.h. */ |
7120 |
-#include <$ac_header> |
7121 |
-_ACEOF |
7122 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
7123 |
-case "(($ac_try" in |
7124 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7125 |
- *) ac_try_echo=$ac_try;; |
7126 |
-esac |
7127 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
7128 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
7129 |
- ac_status=$? |
7130 |
- grep -v '^ *+' conftest.er1 >conftest.err |
7131 |
- rm -f conftest.er1 |
7132 |
- cat conftest.err >&5 |
7133 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7134 |
- (exit $ac_status); } >/dev/null && { |
7135 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
7136 |
- test ! -s conftest.err |
7137 |
- }; then |
7138 |
- ac_header_preproc=yes |
7139 |
-else |
7140 |
- echo "$as_me: failed program was:" >&5 |
7141 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
7142 |
- |
7143 |
- ac_header_preproc=no |
7144 |
-fi |
7145 |
- |
7146 |
-rm -f conftest.err conftest.$ac_ext |
7147 |
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
7148 |
-echo "${ECHO_T}$ac_header_preproc" >&6; } |
7149 |
- |
7150 |
-# So? What about this header? |
7151 |
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
7152 |
- yes:no: ) |
7153 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
7154 |
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
7155 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
7156 |
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
7157 |
- ac_header_preproc=yes |
7158 |
- ;; |
7159 |
- no:yes:* ) |
7160 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
7161 |
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
7162 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
7163 |
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
7164 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
7165 |
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
7166 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
7167 |
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
7168 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
7169 |
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
7170 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
7171 |
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
7172 |
- |
7173 |
- ;; |
7174 |
-esac |
7175 |
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7176 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
7177 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
7178 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
7179 |
-else |
7180 |
- eval "$as_ac_Header=\$ac_header_preproc" |
7181 |
-fi |
7182 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
7183 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
7184 |
-echo "${ECHO_T}$ac_res" >&6; } |
7185 |
- |
7186 |
-fi |
7187 |
-if test `eval echo '${'$as_ac_Header'}'` = yes; then |
7188 |
+do : |
7189 |
+ ac_fn_c_check_header_mongrel "$LINENO" "netinet/in_system.h" "ac_cv_header_netinet_in_system_h" "$ac_includes_default" |
7190 |
+if test "x$ac_cv_header_netinet_in_system_h" = xyes; then : |
7191 |
cat >>confdefs.h <<_ACEOF |
7192 |
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
7193 |
+#define HAVE_NETINET_IN_SYSTEM_H 1 |
7194 |
_ACEOF |
7195 |
|
7196 |
fi |
7197 |
|
7198 |
done |
7199 |
|
7200 |
- |
7201 |
for ac_header in netinet/ip.h |
7202 |
-do |
7203 |
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7204 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
7205 |
- { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7206 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
7207 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
7208 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
7209 |
-fi |
7210 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
7211 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
7212 |
-echo "${ECHO_T}$ac_res" >&6; } |
7213 |
-else |
7214 |
- # Is the header compilable? |
7215 |
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
7216 |
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
7217 |
-cat >conftest.$ac_ext <<_ACEOF |
7218 |
-/* confdefs.h. */ |
7219 |
-_ACEOF |
7220 |
-cat confdefs.h >>conftest.$ac_ext |
7221 |
-cat >>conftest.$ac_ext <<_ACEOF |
7222 |
-/* end confdefs.h. */ |
7223 |
-$ac_includes_default |
7224 |
-#include <$ac_header> |
7225 |
-_ACEOF |
7226 |
-rm -f conftest.$ac_objext |
7227 |
-if { (ac_try="$ac_compile" |
7228 |
-case "(($ac_try" in |
7229 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7230 |
- *) ac_try_echo=$ac_try;; |
7231 |
-esac |
7232 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
7233 |
- (eval "$ac_compile") 2>conftest.er1 |
7234 |
- ac_status=$? |
7235 |
- grep -v '^ *+' conftest.er1 >conftest.err |
7236 |
- rm -f conftest.er1 |
7237 |
- cat conftest.err >&5 |
7238 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7239 |
- (exit $ac_status); } && { |
7240 |
- test -z "$ac_c_werror_flag" || |
7241 |
- test ! -s conftest.err |
7242 |
- } && test -s conftest.$ac_objext; then |
7243 |
- ac_header_compiler=yes |
7244 |
-else |
7245 |
- echo "$as_me: failed program was:" >&5 |
7246 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
7247 |
- |
7248 |
- ac_header_compiler=no |
7249 |
-fi |
7250 |
- |
7251 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7252 |
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
7253 |
-echo "${ECHO_T}$ac_header_compiler" >&6; } |
7254 |
- |
7255 |
-# Is the header present? |
7256 |
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
7257 |
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
7258 |
-cat >conftest.$ac_ext <<_ACEOF |
7259 |
-/* confdefs.h. */ |
7260 |
-_ACEOF |
7261 |
-cat confdefs.h >>conftest.$ac_ext |
7262 |
-cat >>conftest.$ac_ext <<_ACEOF |
7263 |
-/* end confdefs.h. */ |
7264 |
-#include <$ac_header> |
7265 |
-_ACEOF |
7266 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
7267 |
-case "(($ac_try" in |
7268 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7269 |
- *) ac_try_echo=$ac_try;; |
7270 |
-esac |
7271 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
7272 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
7273 |
- ac_status=$? |
7274 |
- grep -v '^ *+' conftest.er1 >conftest.err |
7275 |
- rm -f conftest.er1 |
7276 |
- cat conftest.err >&5 |
7277 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7278 |
- (exit $ac_status); } >/dev/null && { |
7279 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
7280 |
- test ! -s conftest.err |
7281 |
- }; then |
7282 |
- ac_header_preproc=yes |
7283 |
-else |
7284 |
- echo "$as_me: failed program was:" >&5 |
7285 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
7286 |
- |
7287 |
- ac_header_preproc=no |
7288 |
-fi |
7289 |
- |
7290 |
-rm -f conftest.err conftest.$ac_ext |
7291 |
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
7292 |
-echo "${ECHO_T}$ac_header_preproc" >&6; } |
7293 |
- |
7294 |
-# So? What about this header? |
7295 |
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
7296 |
- yes:no: ) |
7297 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
7298 |
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
7299 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
7300 |
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
7301 |
- ac_header_preproc=yes |
7302 |
- ;; |
7303 |
- no:yes:* ) |
7304 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
7305 |
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
7306 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
7307 |
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
7308 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
7309 |
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
7310 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
7311 |
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
7312 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
7313 |
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
7314 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
7315 |
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
7316 |
- |
7317 |
- ;; |
7318 |
-esac |
7319 |
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7320 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
7321 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
7322 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
7323 |
-else |
7324 |
- eval "$as_ac_Header=\$ac_header_preproc" |
7325 |
-fi |
7326 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
7327 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
7328 |
-echo "${ECHO_T}$ac_res" >&6; } |
7329 |
- |
7330 |
-fi |
7331 |
-if test `eval echo '${'$as_ac_Header'}'` = yes; then |
7332 |
+do : |
7333 |
+ ac_fn_c_check_header_mongrel "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "$ac_includes_default" |
7334 |
+if test "x$ac_cv_header_netinet_ip_h" = xyes; then : |
7335 |
cat >>confdefs.h <<_ACEOF |
7336 |
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
7337 |
+#define HAVE_NETINET_IP_H 1 |
7338 |
_ACEOF |
7339 |
|
7340 |
fi |
7341 |
|
7342 |
done |
7343 |
|
7344 |
- |
7345 |
for ac_header in sys/select.h |
7346 |
-do |
7347 |
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7348 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
7349 |
- { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7350 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
7351 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
7352 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
7353 |
-fi |
7354 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
7355 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
7356 |
-echo "${ECHO_T}$ac_res" >&6; } |
7357 |
-else |
7358 |
- # Is the header compilable? |
7359 |
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
7360 |
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
7361 |
-cat >conftest.$ac_ext <<_ACEOF |
7362 |
-/* confdefs.h. */ |
7363 |
-_ACEOF |
7364 |
-cat confdefs.h >>conftest.$ac_ext |
7365 |
-cat >>conftest.$ac_ext <<_ACEOF |
7366 |
-/* end confdefs.h. */ |
7367 |
-$ac_includes_default |
7368 |
-#include <$ac_header> |
7369 |
-_ACEOF |
7370 |
-rm -f conftest.$ac_objext |
7371 |
-if { (ac_try="$ac_compile" |
7372 |
-case "(($ac_try" in |
7373 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7374 |
- *) ac_try_echo=$ac_try;; |
7375 |
-esac |
7376 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
7377 |
- (eval "$ac_compile") 2>conftest.er1 |
7378 |
- ac_status=$? |
7379 |
- grep -v '^ *+' conftest.er1 >conftest.err |
7380 |
- rm -f conftest.er1 |
7381 |
- cat conftest.err >&5 |
7382 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7383 |
- (exit $ac_status); } && { |
7384 |
- test -z "$ac_c_werror_flag" || |
7385 |
- test ! -s conftest.err |
7386 |
- } && test -s conftest.$ac_objext; then |
7387 |
- ac_header_compiler=yes |
7388 |
-else |
7389 |
- echo "$as_me: failed program was:" >&5 |
7390 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
7391 |
- |
7392 |
- ac_header_compiler=no |
7393 |
-fi |
7394 |
- |
7395 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7396 |
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
7397 |
-echo "${ECHO_T}$ac_header_compiler" >&6; } |
7398 |
- |
7399 |
-# Is the header present? |
7400 |
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
7401 |
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
7402 |
-cat >conftest.$ac_ext <<_ACEOF |
7403 |
-/* confdefs.h. */ |
7404 |
-_ACEOF |
7405 |
-cat confdefs.h >>conftest.$ac_ext |
7406 |
-cat >>conftest.$ac_ext <<_ACEOF |
7407 |
-/* end confdefs.h. */ |
7408 |
-#include <$ac_header> |
7409 |
-_ACEOF |
7410 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
7411 |
-case "(($ac_try" in |
7412 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7413 |
- *) ac_try_echo=$ac_try;; |
7414 |
-esac |
7415 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
7416 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
7417 |
- ac_status=$? |
7418 |
- grep -v '^ *+' conftest.er1 >conftest.err |
7419 |
- rm -f conftest.er1 |
7420 |
- cat conftest.err >&5 |
7421 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7422 |
- (exit $ac_status); } >/dev/null && { |
7423 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
7424 |
- test ! -s conftest.err |
7425 |
- }; then |
7426 |
- ac_header_preproc=yes |
7427 |
-else |
7428 |
- echo "$as_me: failed program was:" >&5 |
7429 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
7430 |
- |
7431 |
- ac_header_preproc=no |
7432 |
-fi |
7433 |
- |
7434 |
-rm -f conftest.err conftest.$ac_ext |
7435 |
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
7436 |
-echo "${ECHO_T}$ac_header_preproc" >&6; } |
7437 |
- |
7438 |
-# So? What about this header? |
7439 |
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
7440 |
- yes:no: ) |
7441 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
7442 |
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
7443 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
7444 |
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
7445 |
- ac_header_preproc=yes |
7446 |
- ;; |
7447 |
- no:yes:* ) |
7448 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
7449 |
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
7450 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
7451 |
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
7452 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
7453 |
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
7454 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
7455 |
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
7456 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
7457 |
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
7458 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
7459 |
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
7460 |
- |
7461 |
- ;; |
7462 |
-esac |
7463 |
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7464 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
7465 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
7466 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
7467 |
-else |
7468 |
- eval "$as_ac_Header=\$ac_header_preproc" |
7469 |
-fi |
7470 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
7471 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
7472 |
-echo "${ECHO_T}$ac_res" >&6; } |
7473 |
- |
7474 |
-fi |
7475 |
-if test `eval echo '${'$as_ac_Header'}'` = yes; then |
7476 |
+do : |
7477 |
+ ac_fn_c_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default" |
7478 |
+if test "x$ac_cv_header_sys_select_h" = xyes; then : |
7479 |
cat >>confdefs.h <<_ACEOF |
7480 |
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
7481 |
+#define HAVE_SYS_SELECT_H 1 |
7482 |
_ACEOF |
7483 |
|
7484 |
fi |
7485 |
|
7486 |
done |
7487 |
|
7488 |
- |
7489 |
for ac_header in sys/resource.h |
7490 |
-do |
7491 |
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7492 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
7493 |
- { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7494 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
7495 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
7496 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
7497 |
-fi |
7498 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
7499 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
7500 |
-echo "${ECHO_T}$ac_res" >&6; } |
7501 |
-else |
7502 |
- # Is the header compilable? |
7503 |
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
7504 |
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
7505 |
-cat >conftest.$ac_ext <<_ACEOF |
7506 |
-/* confdefs.h. */ |
7507 |
-_ACEOF |
7508 |
-cat confdefs.h >>conftest.$ac_ext |
7509 |
-cat >>conftest.$ac_ext <<_ACEOF |
7510 |
-/* end confdefs.h. */ |
7511 |
-$ac_includes_default |
7512 |
-#include <$ac_header> |
7513 |
-_ACEOF |
7514 |
-rm -f conftest.$ac_objext |
7515 |
-if { (ac_try="$ac_compile" |
7516 |
-case "(($ac_try" in |
7517 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7518 |
- *) ac_try_echo=$ac_try;; |
7519 |
-esac |
7520 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
7521 |
- (eval "$ac_compile") 2>conftest.er1 |
7522 |
- ac_status=$? |
7523 |
- grep -v '^ *+' conftest.er1 >conftest.err |
7524 |
- rm -f conftest.er1 |
7525 |
- cat conftest.err >&5 |
7526 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7527 |
- (exit $ac_status); } && { |
7528 |
- test -z "$ac_c_werror_flag" || |
7529 |
- test ! -s conftest.err |
7530 |
- } && test -s conftest.$ac_objext; then |
7531 |
- ac_header_compiler=yes |
7532 |
-else |
7533 |
- echo "$as_me: failed program was:" >&5 |
7534 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
7535 |
- |
7536 |
- ac_header_compiler=no |
7537 |
-fi |
7538 |
- |
7539 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7540 |
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
7541 |
-echo "${ECHO_T}$ac_header_compiler" >&6; } |
7542 |
- |
7543 |
-# Is the header present? |
7544 |
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
7545 |
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
7546 |
-cat >conftest.$ac_ext <<_ACEOF |
7547 |
-/* confdefs.h. */ |
7548 |
-_ACEOF |
7549 |
-cat confdefs.h >>conftest.$ac_ext |
7550 |
-cat >>conftest.$ac_ext <<_ACEOF |
7551 |
-/* end confdefs.h. */ |
7552 |
-#include <$ac_header> |
7553 |
-_ACEOF |
7554 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
7555 |
-case "(($ac_try" in |
7556 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7557 |
- *) ac_try_echo=$ac_try;; |
7558 |
-esac |
7559 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
7560 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
7561 |
- ac_status=$? |
7562 |
- grep -v '^ *+' conftest.er1 >conftest.err |
7563 |
- rm -f conftest.er1 |
7564 |
- cat conftest.err >&5 |
7565 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7566 |
- (exit $ac_status); } >/dev/null && { |
7567 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
7568 |
- test ! -s conftest.err |
7569 |
- }; then |
7570 |
- ac_header_preproc=yes |
7571 |
-else |
7572 |
- echo "$as_me: failed program was:" >&5 |
7573 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
7574 |
- |
7575 |
- ac_header_preproc=no |
7576 |
-fi |
7577 |
- |
7578 |
-rm -f conftest.err conftest.$ac_ext |
7579 |
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
7580 |
-echo "${ECHO_T}$ac_header_preproc" >&6; } |
7581 |
- |
7582 |
-# So? What about this header? |
7583 |
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
7584 |
- yes:no: ) |
7585 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
7586 |
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
7587 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
7588 |
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
7589 |
- ac_header_preproc=yes |
7590 |
- ;; |
7591 |
- no:yes:* ) |
7592 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
7593 |
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
7594 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
7595 |
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
7596 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
7597 |
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
7598 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
7599 |
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
7600 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
7601 |
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
7602 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
7603 |
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
7604 |
- |
7605 |
- ;; |
7606 |
-esac |
7607 |
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7608 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
7609 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
7610 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
7611 |
-else |
7612 |
- eval "$as_ac_Header=\$ac_header_preproc" |
7613 |
-fi |
7614 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
7615 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
7616 |
-echo "${ECHO_T}$ac_res" >&6; } |
7617 |
- |
7618 |
-fi |
7619 |
-if test `eval echo '${'$as_ac_Header'}'` = yes; then |
7620 |
+do : |
7621 |
+ ac_fn_c_check_header_mongrel "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default" |
7622 |
+if test "x$ac_cv_header_sys_resource_h" = xyes; then : |
7623 |
cat >>confdefs.h <<_ACEOF |
7624 |
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
7625 |
+#define HAVE_SYS_RESOURCE_H 1 |
7626 |
_ACEOF |
7627 |
|
7628 |
fi |
7629 |
|
7630 |
done |
7631 |
|
7632 |
- |
7633 |
for ac_header in sys/utsname.h |
7634 |
-do |
7635 |
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7636 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
7637 |
- { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7638 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
7639 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
7640 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
7641 |
-fi |
7642 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
7643 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
7644 |
-echo "${ECHO_T}$ac_res" >&6; } |
7645 |
-else |
7646 |
- # Is the header compilable? |
7647 |
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
7648 |
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
7649 |
-cat >conftest.$ac_ext <<_ACEOF |
7650 |
-/* confdefs.h. */ |
7651 |
-_ACEOF |
7652 |
-cat confdefs.h >>conftest.$ac_ext |
7653 |
-cat >>conftest.$ac_ext <<_ACEOF |
7654 |
-/* end confdefs.h. */ |
7655 |
-$ac_includes_default |
7656 |
-#include <$ac_header> |
7657 |
-_ACEOF |
7658 |
-rm -f conftest.$ac_objext |
7659 |
-if { (ac_try="$ac_compile" |
7660 |
-case "(($ac_try" in |
7661 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7662 |
- *) ac_try_echo=$ac_try;; |
7663 |
-esac |
7664 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
7665 |
- (eval "$ac_compile") 2>conftest.er1 |
7666 |
- ac_status=$? |
7667 |
- grep -v '^ *+' conftest.er1 >conftest.err |
7668 |
- rm -f conftest.er1 |
7669 |
- cat conftest.err >&5 |
7670 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7671 |
- (exit $ac_status); } && { |
7672 |
- test -z "$ac_c_werror_flag" || |
7673 |
- test ! -s conftest.err |
7674 |
- } && test -s conftest.$ac_objext; then |
7675 |
- ac_header_compiler=yes |
7676 |
-else |
7677 |
- echo "$as_me: failed program was:" >&5 |
7678 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
7679 |
- |
7680 |
- ac_header_compiler=no |
7681 |
-fi |
7682 |
- |
7683 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7684 |
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
7685 |
-echo "${ECHO_T}$ac_header_compiler" >&6; } |
7686 |
- |
7687 |
-# Is the header present? |
7688 |
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
7689 |
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
7690 |
-cat >conftest.$ac_ext <<_ACEOF |
7691 |
-/* confdefs.h. */ |
7692 |
-_ACEOF |
7693 |
-cat confdefs.h >>conftest.$ac_ext |
7694 |
-cat >>conftest.$ac_ext <<_ACEOF |
7695 |
-/* end confdefs.h. */ |
7696 |
-#include <$ac_header> |
7697 |
-_ACEOF |
7698 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
7699 |
-case "(($ac_try" in |
7700 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7701 |
- *) ac_try_echo=$ac_try;; |
7702 |
-esac |
7703 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
7704 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
7705 |
- ac_status=$? |
7706 |
- grep -v '^ *+' conftest.er1 >conftest.err |
7707 |
- rm -f conftest.er1 |
7708 |
- cat conftest.err >&5 |
7709 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7710 |
- (exit $ac_status); } >/dev/null && { |
7711 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
7712 |
- test ! -s conftest.err |
7713 |
- }; then |
7714 |
- ac_header_preproc=yes |
7715 |
-else |
7716 |
- echo "$as_me: failed program was:" >&5 |
7717 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
7718 |
- |
7719 |
- ac_header_preproc=no |
7720 |
-fi |
7721 |
- |
7722 |
-rm -f conftest.err conftest.$ac_ext |
7723 |
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
7724 |
-echo "${ECHO_T}$ac_header_preproc" >&6; } |
7725 |
- |
7726 |
-# So? What about this header? |
7727 |
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
7728 |
- yes:no: ) |
7729 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
7730 |
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
7731 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
7732 |
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
7733 |
- ac_header_preproc=yes |
7734 |
- ;; |
7735 |
- no:yes:* ) |
7736 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
7737 |
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
7738 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
7739 |
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
7740 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
7741 |
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
7742 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
7743 |
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
7744 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
7745 |
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
7746 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
7747 |
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
7748 |
- |
7749 |
- ;; |
7750 |
-esac |
7751 |
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7752 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
7753 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
7754 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
7755 |
-else |
7756 |
- eval "$as_ac_Header=\$ac_header_preproc" |
7757 |
-fi |
7758 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
7759 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
7760 |
-echo "${ECHO_T}$ac_res" >&6; } |
7761 |
- |
7762 |
-fi |
7763 |
-if test `eval echo '${'$as_ac_Header'}'` = yes; then |
7764 |
+do : |
7765 |
+ ac_fn_c_check_header_mongrel "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default" |
7766 |
+if test "x$ac_cv_header_sys_utsname_h" = xyes; then : |
7767 |
cat >>confdefs.h <<_ACEOF |
7768 |
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
7769 |
+#define HAVE_SYS_UTSNAME_H 1 |
7770 |
_ACEOF |
7771 |
|
7772 |
fi |
7773 |
|
7774 |
done |
7775 |
|
7776 |
- |
7777 |
for ac_header in sys/un.h |
7778 |
-do |
7779 |
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7780 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
7781 |
- { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7782 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
7783 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
7784 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
7785 |
-fi |
7786 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
7787 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
7788 |
-echo "${ECHO_T}$ac_res" >&6; } |
7789 |
-else |
7790 |
- # Is the header compilable? |
7791 |
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
7792 |
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
7793 |
-cat >conftest.$ac_ext <<_ACEOF |
7794 |
-/* confdefs.h. */ |
7795 |
-_ACEOF |
7796 |
-cat confdefs.h >>conftest.$ac_ext |
7797 |
-cat >>conftest.$ac_ext <<_ACEOF |
7798 |
-/* end confdefs.h. */ |
7799 |
-$ac_includes_default |
7800 |
-#include <$ac_header> |
7801 |
-_ACEOF |
7802 |
-rm -f conftest.$ac_objext |
7803 |
-if { (ac_try="$ac_compile" |
7804 |
-case "(($ac_try" in |
7805 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7806 |
- *) ac_try_echo=$ac_try;; |
7807 |
-esac |
7808 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
7809 |
- (eval "$ac_compile") 2>conftest.er1 |
7810 |
- ac_status=$? |
7811 |
- grep -v '^ *+' conftest.er1 >conftest.err |
7812 |
- rm -f conftest.er1 |
7813 |
- cat conftest.err >&5 |
7814 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7815 |
- (exit $ac_status); } && { |
7816 |
- test -z "$ac_c_werror_flag" || |
7817 |
- test ! -s conftest.err |
7818 |
- } && test -s conftest.$ac_objext; then |
7819 |
- ac_header_compiler=yes |
7820 |
-else |
7821 |
- echo "$as_me: failed program was:" >&5 |
7822 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
7823 |
- |
7824 |
- ac_header_compiler=no |
7825 |
-fi |
7826 |
- |
7827 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7828 |
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
7829 |
-echo "${ECHO_T}$ac_header_compiler" >&6; } |
7830 |
- |
7831 |
-# Is the header present? |
7832 |
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
7833 |
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
7834 |
-cat >conftest.$ac_ext <<_ACEOF |
7835 |
-/* confdefs.h. */ |
7836 |
-_ACEOF |
7837 |
-cat confdefs.h >>conftest.$ac_ext |
7838 |
-cat >>conftest.$ac_ext <<_ACEOF |
7839 |
-/* end confdefs.h. */ |
7840 |
-#include <$ac_header> |
7841 |
-_ACEOF |
7842 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
7843 |
-case "(($ac_try" in |
7844 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7845 |
- *) ac_try_echo=$ac_try;; |
7846 |
-esac |
7847 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
7848 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
7849 |
- ac_status=$? |
7850 |
- grep -v '^ *+' conftest.er1 >conftest.err |
7851 |
- rm -f conftest.er1 |
7852 |
- cat conftest.err >&5 |
7853 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7854 |
- (exit $ac_status); } >/dev/null && { |
7855 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
7856 |
- test ! -s conftest.err |
7857 |
- }; then |
7858 |
- ac_header_preproc=yes |
7859 |
-else |
7860 |
- echo "$as_me: failed program was:" >&5 |
7861 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
7862 |
- |
7863 |
- ac_header_preproc=no |
7864 |
-fi |
7865 |
- |
7866 |
-rm -f conftest.err conftest.$ac_ext |
7867 |
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
7868 |
-echo "${ECHO_T}$ac_header_preproc" >&6; } |
7869 |
- |
7870 |
-# So? What about this header? |
7871 |
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
7872 |
- yes:no: ) |
7873 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
7874 |
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
7875 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
7876 |
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
7877 |
- ac_header_preproc=yes |
7878 |
- ;; |
7879 |
- no:yes:* ) |
7880 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
7881 |
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
7882 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
7883 |
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
7884 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
7885 |
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
7886 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
7887 |
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
7888 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
7889 |
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
7890 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
7891 |
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
7892 |
- |
7893 |
- ;; |
7894 |
-esac |
7895 |
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7896 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
7897 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
7898 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
7899 |
-else |
7900 |
- eval "$as_ac_Header=\$ac_header_preproc" |
7901 |
-fi |
7902 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
7903 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
7904 |
-echo "${ECHO_T}$ac_res" >&6; } |
7905 |
- |
7906 |
-fi |
7907 |
-if test `eval echo '${'$as_ac_Header'}'` = yes; then |
7908 |
+do : |
7909 |
+ ac_fn_c_check_header_mongrel "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "$ac_includes_default" |
7910 |
+if test "x$ac_cv_header_sys_un_h" = xyes; then : |
7911 |
cat >>confdefs.h <<_ACEOF |
7912 |
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
7913 |
+#define HAVE_SYS_UN_H 1 |
7914 |
_ACEOF |
7915 |
|
7916 |
fi |
7917 |
|
7918 |
done |
7919 |
|
7920 |
- |
7921 |
for ac_header in sys/fmutex.h |
7922 |
-do |
7923 |
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7924 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
7925 |
- { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7926 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
7927 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
7928 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
7929 |
-fi |
7930 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
7931 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
7932 |
-echo "${ECHO_T}$ac_res" >&6; } |
7933 |
-else |
7934 |
- # Is the header compilable? |
7935 |
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
7936 |
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
7937 |
-cat >conftest.$ac_ext <<_ACEOF |
7938 |
-/* confdefs.h. */ |
7939 |
-_ACEOF |
7940 |
-cat confdefs.h >>conftest.$ac_ext |
7941 |
-cat >>conftest.$ac_ext <<_ACEOF |
7942 |
-/* end confdefs.h. */ |
7943 |
-$ac_includes_default |
7944 |
-#include <$ac_header> |
7945 |
-_ACEOF |
7946 |
-rm -f conftest.$ac_objext |
7947 |
-if { (ac_try="$ac_compile" |
7948 |
-case "(($ac_try" in |
7949 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7950 |
- *) ac_try_echo=$ac_try;; |
7951 |
-esac |
7952 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
7953 |
- (eval "$ac_compile") 2>conftest.er1 |
7954 |
- ac_status=$? |
7955 |
- grep -v '^ *+' conftest.er1 >conftest.err |
7956 |
- rm -f conftest.er1 |
7957 |
- cat conftest.err >&5 |
7958 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7959 |
- (exit $ac_status); } && { |
7960 |
- test -z "$ac_c_werror_flag" || |
7961 |
- test ! -s conftest.err |
7962 |
- } && test -s conftest.$ac_objext; then |
7963 |
- ac_header_compiler=yes |
7964 |
-else |
7965 |
- echo "$as_me: failed program was:" >&5 |
7966 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
7967 |
- |
7968 |
- ac_header_compiler=no |
7969 |
-fi |
7970 |
- |
7971 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7972 |
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
7973 |
-echo "${ECHO_T}$ac_header_compiler" >&6; } |
7974 |
- |
7975 |
-# Is the header present? |
7976 |
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
7977 |
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
7978 |
-cat >conftest.$ac_ext <<_ACEOF |
7979 |
-/* confdefs.h. */ |
7980 |
-_ACEOF |
7981 |
-cat confdefs.h >>conftest.$ac_ext |
7982 |
-cat >>conftest.$ac_ext <<_ACEOF |
7983 |
-/* end confdefs.h. */ |
7984 |
-#include <$ac_header> |
7985 |
-_ACEOF |
7986 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
7987 |
-case "(($ac_try" in |
7988 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7989 |
- *) ac_try_echo=$ac_try;; |
7990 |
-esac |
7991 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
7992 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
7993 |
- ac_status=$? |
7994 |
- grep -v '^ *+' conftest.er1 >conftest.err |
7995 |
- rm -f conftest.er1 |
7996 |
- cat conftest.err >&5 |
7997 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7998 |
- (exit $ac_status); } >/dev/null && { |
7999 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
8000 |
- test ! -s conftest.err |
8001 |
- }; then |
8002 |
- ac_header_preproc=yes |
8003 |
-else |
8004 |
- echo "$as_me: failed program was:" >&5 |
8005 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
8006 |
- |
8007 |
- ac_header_preproc=no |
8008 |
-fi |
8009 |
- |
8010 |
-rm -f conftest.err conftest.$ac_ext |
8011 |
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
8012 |
-echo "${ECHO_T}$ac_header_preproc" >&6; } |
8013 |
- |
8014 |
-# So? What about this header? |
8015 |
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
8016 |
- yes:no: ) |
8017 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
8018 |
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
8019 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
8020 |
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
8021 |
- ac_header_preproc=yes |
8022 |
- ;; |
8023 |
- no:yes:* ) |
8024 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
8025 |
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
8026 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
8027 |
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
8028 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
8029 |
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
8030 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
8031 |
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
8032 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
8033 |
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
8034 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
8035 |
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
8036 |
- |
8037 |
- ;; |
8038 |
-esac |
8039 |
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
8040 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
8041 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
8042 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
8043 |
-else |
8044 |
- eval "$as_ac_Header=\$ac_header_preproc" |
8045 |
-fi |
8046 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
8047 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
8048 |
-echo "${ECHO_T}$ac_res" >&6; } |
8049 |
- |
8050 |
-fi |
8051 |
-if test `eval echo '${'$as_ac_Header'}'` = yes; then |
8052 |
+do : |
8053 |
+ ac_fn_c_check_header_mongrel "$LINENO" "sys/fmutex.h" "ac_cv_header_sys_fmutex_h" "$ac_includes_default" |
8054 |
+if test "x$ac_cv_header_sys_fmutex_h" = xyes; then : |
8055 |
cat >>confdefs.h <<_ACEOF |
8056 |
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
8057 |
+#define HAVE_SYS_FMUTEX_H 1 |
8058 |
_ACEOF |
8059 |
|
8060 |
fi |
8061 |
|
8062 |
done |
8063 |
|
8064 |
- |
8065 |
for ac_header in sys/cygwin.h |
8066 |
-do |
8067 |
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
8068 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
8069 |
- { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
8070 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
8071 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
8072 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
8073 |
-fi |
8074 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
8075 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
8076 |
-echo "${ECHO_T}$ac_res" >&6; } |
8077 |
-else |
8078 |
- # Is the header compilable? |
8079 |
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
8080 |
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
8081 |
-cat >conftest.$ac_ext <<_ACEOF |
8082 |
-/* confdefs.h. */ |
8083 |
-_ACEOF |
8084 |
-cat confdefs.h >>conftest.$ac_ext |
8085 |
-cat >>conftest.$ac_ext <<_ACEOF |
8086 |
-/* end confdefs.h. */ |
8087 |
-$ac_includes_default |
8088 |
-#include <$ac_header> |
8089 |
-_ACEOF |
8090 |
-rm -f conftest.$ac_objext |
8091 |
-if { (ac_try="$ac_compile" |
8092 |
-case "(($ac_try" in |
8093 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8094 |
- *) ac_try_echo=$ac_try;; |
8095 |
-esac |
8096 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
8097 |
- (eval "$ac_compile") 2>conftest.er1 |
8098 |
- ac_status=$? |
8099 |
- grep -v '^ *+' conftest.er1 >conftest.err |
8100 |
- rm -f conftest.er1 |
8101 |
- cat conftest.err >&5 |
8102 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8103 |
- (exit $ac_status); } && { |
8104 |
- test -z "$ac_c_werror_flag" || |
8105 |
- test ! -s conftest.err |
8106 |
- } && test -s conftest.$ac_objext; then |
8107 |
- ac_header_compiler=yes |
8108 |
-else |
8109 |
- echo "$as_me: failed program was:" >&5 |
8110 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
8111 |
- |
8112 |
- ac_header_compiler=no |
8113 |
-fi |
8114 |
- |
8115 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8116 |
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
8117 |
-echo "${ECHO_T}$ac_header_compiler" >&6; } |
8118 |
- |
8119 |
-# Is the header present? |
8120 |
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
8121 |
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
8122 |
-cat >conftest.$ac_ext <<_ACEOF |
8123 |
-/* confdefs.h. */ |
8124 |
-_ACEOF |
8125 |
-cat confdefs.h >>conftest.$ac_ext |
8126 |
-cat >>conftest.$ac_ext <<_ACEOF |
8127 |
-/* end confdefs.h. */ |
8128 |
-#include <$ac_header> |
8129 |
-_ACEOF |
8130 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
8131 |
-case "(($ac_try" in |
8132 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8133 |
- *) ac_try_echo=$ac_try;; |
8134 |
-esac |
8135 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
8136 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
8137 |
- ac_status=$? |
8138 |
- grep -v '^ *+' conftest.er1 >conftest.err |
8139 |
- rm -f conftest.er1 |
8140 |
- cat conftest.err >&5 |
8141 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8142 |
- (exit $ac_status); } >/dev/null && { |
8143 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
8144 |
- test ! -s conftest.err |
8145 |
- }; then |
8146 |
- ac_header_preproc=yes |
8147 |
-else |
8148 |
- echo "$as_me: failed program was:" >&5 |
8149 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
8150 |
- |
8151 |
- ac_header_preproc=no |
8152 |
-fi |
8153 |
- |
8154 |
-rm -f conftest.err conftest.$ac_ext |
8155 |
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
8156 |
-echo "${ECHO_T}$ac_header_preproc" >&6; } |
8157 |
- |
8158 |
-# So? What about this header? |
8159 |
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
8160 |
- yes:no: ) |
8161 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
8162 |
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
8163 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
8164 |
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
8165 |
- ac_header_preproc=yes |
8166 |
- ;; |
8167 |
- no:yes:* ) |
8168 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
8169 |
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
8170 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
8171 |
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
8172 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
8173 |
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
8174 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
8175 |
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
8176 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
8177 |
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
8178 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
8179 |
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
8180 |
- |
8181 |
- ;; |
8182 |
-esac |
8183 |
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
8184 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
8185 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
8186 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
8187 |
-else |
8188 |
- eval "$as_ac_Header=\$ac_header_preproc" |
8189 |
-fi |
8190 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
8191 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
8192 |
-echo "${ECHO_T}$ac_res" >&6; } |
8193 |
- |
8194 |
-fi |
8195 |
-if test `eval echo '${'$as_ac_Header'}'` = yes; then |
8196 |
+do : |
8197 |
+ ac_fn_c_check_header_mongrel "$LINENO" "sys/cygwin.h" "ac_cv_header_sys_cygwin_h" "$ac_includes_default" |
8198 |
+if test "x$ac_cv_header_sys_cygwin_h" = xyes; then : |
8199 |
cat >>confdefs.h <<_ACEOF |
8200 |
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
8201 |
+#define HAVE_SYS_CYGWIN_H 1 |
8202 |
_ACEOF |
8203 |
|
8204 |
fi |
8205 |
|
8206 |
done |
8207 |
|
8208 |
- |
8209 |
for ac_header in io.h |
8210 |
-do |
8211 |
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
8212 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
8213 |
- { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
8214 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
8215 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
8216 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
8217 |
-fi |
8218 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
8219 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
8220 |
-echo "${ECHO_T}$ac_res" >&6; } |
8221 |
-else |
8222 |
- # Is the header compilable? |
8223 |
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
8224 |
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
8225 |
-cat >conftest.$ac_ext <<_ACEOF |
8226 |
-/* confdefs.h. */ |
8227 |
-_ACEOF |
8228 |
-cat confdefs.h >>conftest.$ac_ext |
8229 |
-cat >>conftest.$ac_ext <<_ACEOF |
8230 |
-/* end confdefs.h. */ |
8231 |
-$ac_includes_default |
8232 |
-#include <$ac_header> |
8233 |
-_ACEOF |
8234 |
-rm -f conftest.$ac_objext |
8235 |
-if { (ac_try="$ac_compile" |
8236 |
-case "(($ac_try" in |
8237 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8238 |
- *) ac_try_echo=$ac_try;; |
8239 |
-esac |
8240 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
8241 |
- (eval "$ac_compile") 2>conftest.er1 |
8242 |
- ac_status=$? |
8243 |
- grep -v '^ *+' conftest.er1 >conftest.err |
8244 |
- rm -f conftest.er1 |
8245 |
- cat conftest.err >&5 |
8246 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8247 |
- (exit $ac_status); } && { |
8248 |
- test -z "$ac_c_werror_flag" || |
8249 |
- test ! -s conftest.err |
8250 |
- } && test -s conftest.$ac_objext; then |
8251 |
- ac_header_compiler=yes |
8252 |
-else |
8253 |
- echo "$as_me: failed program was:" >&5 |
8254 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
8255 |
- |
8256 |
- ac_header_compiler=no |
8257 |
-fi |
8258 |
- |
8259 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8260 |
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
8261 |
-echo "${ECHO_T}$ac_header_compiler" >&6; } |
8262 |
- |
8263 |
-# Is the header present? |
8264 |
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
8265 |
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
8266 |
-cat >conftest.$ac_ext <<_ACEOF |
8267 |
-/* confdefs.h. */ |
8268 |
-_ACEOF |
8269 |
-cat confdefs.h >>conftest.$ac_ext |
8270 |
-cat >>conftest.$ac_ext <<_ACEOF |
8271 |
-/* end confdefs.h. */ |
8272 |
-#include <$ac_header> |
8273 |
-_ACEOF |
8274 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
8275 |
-case "(($ac_try" in |
8276 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8277 |
- *) ac_try_echo=$ac_try;; |
8278 |
-esac |
8279 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
8280 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
8281 |
- ac_status=$? |
8282 |
- grep -v '^ *+' conftest.er1 >conftest.err |
8283 |
- rm -f conftest.er1 |
8284 |
- cat conftest.err >&5 |
8285 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8286 |
- (exit $ac_status); } >/dev/null && { |
8287 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
8288 |
- test ! -s conftest.err |
8289 |
- }; then |
8290 |
- ac_header_preproc=yes |
8291 |
-else |
8292 |
- echo "$as_me: failed program was:" >&5 |
8293 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
8294 |
- |
8295 |
- ac_header_preproc=no |
8296 |
-fi |
8297 |
- |
8298 |
-rm -f conftest.err conftest.$ac_ext |
8299 |
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
8300 |
-echo "${ECHO_T}$ac_header_preproc" >&6; } |
8301 |
- |
8302 |
-# So? What about this header? |
8303 |
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
8304 |
- yes:no: ) |
8305 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
8306 |
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
8307 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
8308 |
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
8309 |
- ac_header_preproc=yes |
8310 |
- ;; |
8311 |
- no:yes:* ) |
8312 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
8313 |
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
8314 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
8315 |
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
8316 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
8317 |
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
8318 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
8319 |
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
8320 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
8321 |
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
8322 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
8323 |
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
8324 |
- |
8325 |
- ;; |
8326 |
-esac |
8327 |
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
8328 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
8329 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
8330 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
8331 |
-else |
8332 |
- eval "$as_ac_Header=\$ac_header_preproc" |
8333 |
-fi |
8334 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
8335 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
8336 |
-echo "${ECHO_T}$ac_res" >&6; } |
8337 |
- |
8338 |
-fi |
8339 |
-if test `eval echo '${'$as_ac_Header'}'` = yes; then |
8340 |
+do : |
8341 |
+ ac_fn_c_check_header_mongrel "$LINENO" "io.h" "ac_cv_header_io_h" "$ac_includes_default" |
8342 |
+if test "x$ac_cv_header_io_h" = xyes; then : |
8343 |
cat >>confdefs.h <<_ACEOF |
8344 |
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
8345 |
+#define HAVE_IO_H 1 |
8346 |
_ACEOF |
8347 |
|
8348 |
fi |
8349 |
|
8350 |
done |
8351 |
|
8352 |
- |
8353 |
for ac_header in setjmp.h |
8354 |
-do |
8355 |
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
8356 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
8357 |
- { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
8358 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
8359 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
8360 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
8361 |
-fi |
8362 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
8363 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
8364 |
-echo "${ECHO_T}$ac_res" >&6; } |
8365 |
-else |
8366 |
- # Is the header compilable? |
8367 |
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
8368 |
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
8369 |
-cat >conftest.$ac_ext <<_ACEOF |
8370 |
-/* confdefs.h. */ |
8371 |
-_ACEOF |
8372 |
-cat confdefs.h >>conftest.$ac_ext |
8373 |
-cat >>conftest.$ac_ext <<_ACEOF |
8374 |
-/* end confdefs.h. */ |
8375 |
-$ac_includes_default |
8376 |
-#include <$ac_header> |
8377 |
-_ACEOF |
8378 |
-rm -f conftest.$ac_objext |
8379 |
-if { (ac_try="$ac_compile" |
8380 |
-case "(($ac_try" in |
8381 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8382 |
- *) ac_try_echo=$ac_try;; |
8383 |
-esac |
8384 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
8385 |
- (eval "$ac_compile") 2>conftest.er1 |
8386 |
- ac_status=$? |
8387 |
- grep -v '^ *+' conftest.er1 >conftest.err |
8388 |
- rm -f conftest.er1 |
8389 |
- cat conftest.err >&5 |
8390 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8391 |
- (exit $ac_status); } && { |
8392 |
- test -z "$ac_c_werror_flag" || |
8393 |
- test ! -s conftest.err |
8394 |
- } && test -s conftest.$ac_objext; then |
8395 |
- ac_header_compiler=yes |
8396 |
-else |
8397 |
- echo "$as_me: failed program was:" >&5 |
8398 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
8399 |
- |
8400 |
- ac_header_compiler=no |
8401 |
-fi |
8402 |
- |
8403 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8404 |
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
8405 |
-echo "${ECHO_T}$ac_header_compiler" >&6; } |
8406 |
- |
8407 |
-# Is the header present? |
8408 |
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
8409 |
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
8410 |
-cat >conftest.$ac_ext <<_ACEOF |
8411 |
-/* confdefs.h. */ |
8412 |
-_ACEOF |
8413 |
-cat confdefs.h >>conftest.$ac_ext |
8414 |
-cat >>conftest.$ac_ext <<_ACEOF |
8415 |
-/* end confdefs.h. */ |
8416 |
-#include <$ac_header> |
8417 |
-_ACEOF |
8418 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
8419 |
-case "(($ac_try" in |
8420 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8421 |
- *) ac_try_echo=$ac_try;; |
8422 |
-esac |
8423 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
8424 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
8425 |
- ac_status=$? |
8426 |
- grep -v '^ *+' conftest.er1 >conftest.err |
8427 |
- rm -f conftest.er1 |
8428 |
- cat conftest.err >&5 |
8429 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8430 |
- (exit $ac_status); } >/dev/null && { |
8431 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
8432 |
- test ! -s conftest.err |
8433 |
- }; then |
8434 |
- ac_header_preproc=yes |
8435 |
-else |
8436 |
- echo "$as_me: failed program was:" >&5 |
8437 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
8438 |
- |
8439 |
- ac_header_preproc=no |
8440 |
-fi |
8441 |
- |
8442 |
-rm -f conftest.err conftest.$ac_ext |
8443 |
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
8444 |
-echo "${ECHO_T}$ac_header_preproc" >&6; } |
8445 |
- |
8446 |
-# So? What about this header? |
8447 |
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
8448 |
- yes:no: ) |
8449 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
8450 |
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
8451 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
8452 |
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
8453 |
- ac_header_preproc=yes |
8454 |
- ;; |
8455 |
- no:yes:* ) |
8456 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
8457 |
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
8458 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
8459 |
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
8460 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
8461 |
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
8462 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
8463 |
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
8464 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
8465 |
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
8466 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
8467 |
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
8468 |
- |
8469 |
- ;; |
8470 |
-esac |
8471 |
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
8472 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
8473 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
8474 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
8475 |
-else |
8476 |
- eval "$as_ac_Header=\$ac_header_preproc" |
8477 |
-fi |
8478 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
8479 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
8480 |
-echo "${ECHO_T}$ac_res" >&6; } |
8481 |
- |
8482 |
-fi |
8483 |
-if test `eval echo '${'$as_ac_Header'}'` = yes; then |
8484 |
+do : |
8485 |
+ ac_fn_c_check_header_mongrel "$LINENO" "setjmp.h" "ac_cv_header_setjmp_h" "$ac_includes_default" |
8486 |
+if test "x$ac_cv_header_setjmp_h" = xyes; then : |
8487 |
cat >>confdefs.h <<_ACEOF |
8488 |
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
8489 |
+#define HAVE_SETJMP_H 1 |
8490 |
_ACEOF |
8491 |
|
8492 |
fi |
8493 |
|
8494 |
done |
8495 |
|
8496 |
- |
8497 |
for ac_header in langinfo.h |
8498 |
-do |
8499 |
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
8500 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
8501 |
- { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
8502 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
8503 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
8504 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
8505 |
-fi |
8506 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
8507 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
8508 |
-echo "${ECHO_T}$ac_res" >&6; } |
8509 |
-else |
8510 |
- # Is the header compilable? |
8511 |
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
8512 |
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
8513 |
-cat >conftest.$ac_ext <<_ACEOF |
8514 |
-/* confdefs.h. */ |
8515 |
-_ACEOF |
8516 |
-cat confdefs.h >>conftest.$ac_ext |
8517 |
-cat >>conftest.$ac_ext <<_ACEOF |
8518 |
-/* end confdefs.h. */ |
8519 |
-$ac_includes_default |
8520 |
-#include <$ac_header> |
8521 |
-_ACEOF |
8522 |
-rm -f conftest.$ac_objext |
8523 |
-if { (ac_try="$ac_compile" |
8524 |
-case "(($ac_try" in |
8525 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8526 |
- *) ac_try_echo=$ac_try;; |
8527 |
-esac |
8528 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
8529 |
- (eval "$ac_compile") 2>conftest.er1 |
8530 |
- ac_status=$? |
8531 |
- grep -v '^ *+' conftest.er1 >conftest.err |
8532 |
- rm -f conftest.er1 |
8533 |
- cat conftest.err >&5 |
8534 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8535 |
- (exit $ac_status); } && { |
8536 |
- test -z "$ac_c_werror_flag" || |
8537 |
- test ! -s conftest.err |
8538 |
- } && test -s conftest.$ac_objext; then |
8539 |
- ac_header_compiler=yes |
8540 |
-else |
8541 |
- echo "$as_me: failed program was:" >&5 |
8542 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
8543 |
- |
8544 |
- ac_header_compiler=no |
8545 |
-fi |
8546 |
- |
8547 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8548 |
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
8549 |
-echo "${ECHO_T}$ac_header_compiler" >&6; } |
8550 |
- |
8551 |
-# Is the header present? |
8552 |
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
8553 |
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
8554 |
-cat >conftest.$ac_ext <<_ACEOF |
8555 |
-/* confdefs.h. */ |
8556 |
-_ACEOF |
8557 |
-cat confdefs.h >>conftest.$ac_ext |
8558 |
-cat >>conftest.$ac_ext <<_ACEOF |
8559 |
-/* end confdefs.h. */ |
8560 |
-#include <$ac_header> |
8561 |
-_ACEOF |
8562 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
8563 |
-case "(($ac_try" in |
8564 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8565 |
- *) ac_try_echo=$ac_try;; |
8566 |
-esac |
8567 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
8568 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
8569 |
- ac_status=$? |
8570 |
- grep -v '^ *+' conftest.er1 >conftest.err |
8571 |
- rm -f conftest.er1 |
8572 |
- cat conftest.err >&5 |
8573 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8574 |
- (exit $ac_status); } >/dev/null && { |
8575 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
8576 |
- test ! -s conftest.err |
8577 |
- }; then |
8578 |
- ac_header_preproc=yes |
8579 |
-else |
8580 |
- echo "$as_me: failed program was:" >&5 |
8581 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
8582 |
- |
8583 |
- ac_header_preproc=no |
8584 |
-fi |
8585 |
- |
8586 |
-rm -f conftest.err conftest.$ac_ext |
8587 |
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
8588 |
-echo "${ECHO_T}$ac_header_preproc" >&6; } |
8589 |
- |
8590 |
-# So? What about this header? |
8591 |
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
8592 |
- yes:no: ) |
8593 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
8594 |
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
8595 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
8596 |
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
8597 |
- ac_header_preproc=yes |
8598 |
- ;; |
8599 |
- no:yes:* ) |
8600 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
8601 |
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
8602 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
8603 |
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
8604 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
8605 |
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
8606 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
8607 |
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
8608 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
8609 |
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
8610 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
8611 |
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
8612 |
- |
8613 |
- ;; |
8614 |
-esac |
8615 |
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
8616 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
8617 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
8618 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
8619 |
-else |
8620 |
- eval "$as_ac_Header=\$ac_header_preproc" |
8621 |
-fi |
8622 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
8623 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
8624 |
-echo "${ECHO_T}$ac_res" >&6; } |
8625 |
- |
8626 |
-fi |
8627 |
-if test `eval echo '${'$as_ac_Header'}'` = yes; then |
8628 |
+do : |
8629 |
+ ac_fn_c_check_header_mongrel "$LINENO" "langinfo.h" "ac_cv_header_langinfo_h" "$ac_includes_default" |
8630 |
+if test "x$ac_cv_header_langinfo_h" = xyes; then : |
8631 |
cat >>confdefs.h <<_ACEOF |
8632 |
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
8633 |
+#define HAVE_LANGINFO_H 1 |
8634 |
_ACEOF |
8635 |
|
8636 |
fi |
8637 |
@@ -7175,26 +5518,22 @@ fi |
8638 |
done |
8639 |
|
8640 |
|
8641 |
-{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
8642 |
-echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; } |
8643 |
-if test "${ac_cv_c_const+set}" = set; then |
8644 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
8645 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 |
8646 |
+$as_echo_n "checking for an ANSI C-conforming const... " >&6; } |
8647 |
+if ${ac_cv_c_const+:} false; then : |
8648 |
+ $as_echo_n "(cached) " >&6 |
8649 |
else |
8650 |
- cat >conftest.$ac_ext <<_ACEOF |
8651 |
-/* confdefs.h. */ |
8652 |
-_ACEOF |
8653 |
-cat confdefs.h >>conftest.$ac_ext |
8654 |
-cat >>conftest.$ac_ext <<_ACEOF |
8655 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
8656 |
/* end confdefs.h. */ |
8657 |
|
8658 |
int |
8659 |
main () |
8660 |
{ |
8661 |
-/* FIXME: Include the comments suggested by Paul. */ |
8662 |
+ |
8663 |
#ifndef __cplusplus |
8664 |
- /* Ultrix mips cc rejects this. */ |
8665 |
+ /* Ultrix mips cc rejects this sort of thing. */ |
8666 |
typedef int charset[2]; |
8667 |
- const charset cs; |
8668 |
+ const charset cs = { 0, 0 }; |
8669 |
/* SunOS 4.1.1 cc rejects this. */ |
8670 |
char const *const *pcpcc; |
8671 |
char **ppc; |
8672 |
@@ -7211,8 +5550,9 @@ main () |
8673 |
++pcpcc; |
8674 |
ppc = (char**) pcpcc; |
8675 |
pcpcc = (char const *const *) ppc; |
8676 |
- { /* SCO 3.2v4 cc rejects this. */ |
8677 |
- char *t; |
8678 |
+ { /* SCO 3.2v4 cc rejects this sort of thing. */ |
8679 |
+ char tx; |
8680 |
+ char *t = &tx; |
8681 |
char const *s = 0 ? (char *) 0 : (char const *) 0; |
8682 |
|
8683 |
*t++ = 0; |
8684 |
@@ -7228,10 +5568,10 @@ main () |
8685 |
iptr p = 0; |
8686 |
++p; |
8687 |
} |
8688 |
- { /* AIX XL C 1.02.0.0 rejects this saying |
8689 |
+ { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying |
8690 |
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
8691 |
- struct s { int j; const int *ap[3]; }; |
8692 |
- struct s *b; b->j = 5; |
8693 |
+ struct s { int j; const int *ap[3]; } bx; |
8694 |
+ struct s *b = &bx; b->j = 5; |
8695 |
} |
8696 |
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
8697 |
const int foo = 10; |
8698 |
@@ -7244,55 +5584,29 @@ main () |
8699 |
return 0; |
8700 |
} |
8701 |
_ACEOF |
8702 |
-rm -f conftest.$ac_objext |
8703 |
-if { (ac_try="$ac_compile" |
8704 |
-case "(($ac_try" in |
8705 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8706 |
- *) ac_try_echo=$ac_try;; |
8707 |
-esac |
8708 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
8709 |
- (eval "$ac_compile") 2>conftest.er1 |
8710 |
- ac_status=$? |
8711 |
- grep -v '^ *+' conftest.er1 >conftest.err |
8712 |
- rm -f conftest.er1 |
8713 |
- cat conftest.err >&5 |
8714 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8715 |
- (exit $ac_status); } && { |
8716 |
- test -z "$ac_c_werror_flag" || |
8717 |
- test ! -s conftest.err |
8718 |
- } && test -s conftest.$ac_objext; then |
8719 |
+if ac_fn_c_try_compile "$LINENO"; then : |
8720 |
ac_cv_c_const=yes |
8721 |
else |
8722 |
- echo "$as_me: failed program was:" >&5 |
8723 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
8724 |
- |
8725 |
- ac_cv_c_const=no |
8726 |
+ ac_cv_c_const=no |
8727 |
fi |
8728 |
- |
8729 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8730 |
fi |
8731 |
-{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
8732 |
-echo "${ECHO_T}$ac_cv_c_const" >&6; } |
8733 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 |
8734 |
+$as_echo "$ac_cv_c_const" >&6; } |
8735 |
if test $ac_cv_c_const = no; then |
8736 |
|
8737 |
-cat >>confdefs.h <<\_ACEOF |
8738 |
-#define const |
8739 |
-_ACEOF |
8740 |
+$as_echo "#define const /**/" >>confdefs.h |
8741 |
|
8742 |
fi |
8743 |
|
8744 |
-{ echo "$as_me:$LINENO: checking for inline" >&5 |
8745 |
-echo $ECHO_N "checking for inline... $ECHO_C" >&6; } |
8746 |
-if test "${ac_cv_c_inline+set}" = set; then |
8747 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
8748 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 |
8749 |
+$as_echo_n "checking for inline... " >&6; } |
8750 |
+if ${ac_cv_c_inline+:} false; then : |
8751 |
+ $as_echo_n "(cached) " >&6 |
8752 |
else |
8753 |
ac_cv_c_inline=no |
8754 |
for ac_kw in inline __inline__ __inline; do |
8755 |
- cat >conftest.$ac_ext <<_ACEOF |
8756 |
-/* confdefs.h. */ |
8757 |
-_ACEOF |
8758 |
-cat confdefs.h >>conftest.$ac_ext |
8759 |
-cat >>conftest.$ac_ext <<_ACEOF |
8760 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
8761 |
/* end confdefs.h. */ |
8762 |
#ifndef __cplusplus |
8763 |
typedef int foo_t; |
8764 |
@@ -7301,39 +5615,16 @@ $ac_kw foo_t foo () {return 0; } |
8765 |
#endif |
8766 |
|
8767 |
_ACEOF |
8768 |
-rm -f conftest.$ac_objext |
8769 |
-if { (ac_try="$ac_compile" |
8770 |
-case "(($ac_try" in |
8771 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8772 |
- *) ac_try_echo=$ac_try;; |
8773 |
-esac |
8774 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
8775 |
- (eval "$ac_compile") 2>conftest.er1 |
8776 |
- ac_status=$? |
8777 |
- grep -v '^ *+' conftest.er1 >conftest.err |
8778 |
- rm -f conftest.er1 |
8779 |
- cat conftest.err >&5 |
8780 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8781 |
- (exit $ac_status); } && { |
8782 |
- test -z "$ac_c_werror_flag" || |
8783 |
- test ! -s conftest.err |
8784 |
- } && test -s conftest.$ac_objext; then |
8785 |
+if ac_fn_c_try_compile "$LINENO"; then : |
8786 |
ac_cv_c_inline=$ac_kw |
8787 |
-else |
8788 |
- echo "$as_me: failed program was:" >&5 |
8789 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
8790 |
- |
8791 |
- |
8792 |
fi |
8793 |
- |
8794 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8795 |
test "$ac_cv_c_inline" != no && break |
8796 |
done |
8797 |
|
8798 |
fi |
8799 |
-{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 |
8800 |
-echo "${ECHO_T}$ac_cv_c_inline" >&6; } |
8801 |
- |
8802 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 |
8803 |
+$as_echo "$ac_cv_c_inline" >&6; } |
8804 |
|
8805 |
case $ac_cv_c_inline in |
8806 |
inline | yes) ;; |
8807 |
@@ -7350,61 +5641,9 @@ _ACEOF |
8808 |
;; |
8809 |
esac |
8810 |
|
8811 |
-{ echo "$as_me:$LINENO: checking for size_t" >&5 |
8812 |
-echo $ECHO_N "checking for size_t... $ECHO_C" >&6; } |
8813 |
-if test "${ac_cv_type_size_t+set}" = set; then |
8814 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
8815 |
-else |
8816 |
- cat >conftest.$ac_ext <<_ACEOF |
8817 |
-/* confdefs.h. */ |
8818 |
-_ACEOF |
8819 |
-cat confdefs.h >>conftest.$ac_ext |
8820 |
-cat >>conftest.$ac_ext <<_ACEOF |
8821 |
-/* end confdefs.h. */ |
8822 |
-$ac_includes_default |
8823 |
-typedef size_t ac__type_new_; |
8824 |
-int |
8825 |
-main () |
8826 |
-{ |
8827 |
-if ((ac__type_new_ *) 0) |
8828 |
- return 0; |
8829 |
-if (sizeof (ac__type_new_)) |
8830 |
- return 0; |
8831 |
- ; |
8832 |
- return 0; |
8833 |
-} |
8834 |
-_ACEOF |
8835 |
-rm -f conftest.$ac_objext |
8836 |
-if { (ac_try="$ac_compile" |
8837 |
-case "(($ac_try" in |
8838 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8839 |
- *) ac_try_echo=$ac_try;; |
8840 |
-esac |
8841 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
8842 |
- (eval "$ac_compile") 2>conftest.er1 |
8843 |
- ac_status=$? |
8844 |
- grep -v '^ *+' conftest.er1 >conftest.err |
8845 |
- rm -f conftest.er1 |
8846 |
- cat conftest.err >&5 |
8847 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8848 |
- (exit $ac_status); } && { |
8849 |
- test -z "$ac_c_werror_flag" || |
8850 |
- test ! -s conftest.err |
8851 |
- } && test -s conftest.$ac_objext; then |
8852 |
- ac_cv_type_size_t=yes |
8853 |
-else |
8854 |
- echo "$as_me: failed program was:" >&5 |
8855 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
8856 |
- |
8857 |
- ac_cv_type_size_t=no |
8858 |
-fi |
8859 |
+ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" |
8860 |
+if test "x$ac_cv_type_size_t" = xyes; then : |
8861 |
|
8862 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8863 |
-fi |
8864 |
-{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 |
8865 |
-echo "${ECHO_T}$ac_cv_type_size_t" >&6; } |
8866 |
-if test $ac_cv_type_size_t = yes; then |
8867 |
- : |
8868 |
else |
8869 |
|
8870 |
cat >>confdefs.h <<_ACEOF |
8871 |
@@ -7413,16 +5652,12 @@ _ACEOF |
8872 |
|
8873 |
fi |
8874 |
|
8875 |
-{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 |
8876 |
-echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; } |
8877 |
-if test "${ac_cv_header_time+set}" = set; then |
8878 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
8879 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 |
8880 |
+$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } |
8881 |
+if ${ac_cv_header_time+:} false; then : |
8882 |
+ $as_echo_n "(cached) " >&6 |
8883 |
else |
8884 |
- cat >conftest.$ac_ext <<_ACEOF |
8885 |
-/* confdefs.h. */ |
8886 |
-_ACEOF |
8887 |
-cat confdefs.h >>conftest.$ac_ext |
8888 |
-cat >>conftest.$ac_ext <<_ACEOF |
8889 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
8890 |
/* end confdefs.h. */ |
8891 |
#include <sys/types.h> |
8892 |
#include <sys/time.h> |
8893 |
@@ -7437,53 +5672,27 @@ return 0; |
8894 |
return 0; |
8895 |
} |
8896 |
_ACEOF |
8897 |
-rm -f conftest.$ac_objext |
8898 |
-if { (ac_try="$ac_compile" |
8899 |
-case "(($ac_try" in |
8900 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8901 |
- *) ac_try_echo=$ac_try;; |
8902 |
-esac |
8903 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
8904 |
- (eval "$ac_compile") 2>conftest.er1 |
8905 |
- ac_status=$? |
8906 |
- grep -v '^ *+' conftest.er1 >conftest.err |
8907 |
- rm -f conftest.er1 |
8908 |
- cat conftest.err >&5 |
8909 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8910 |
- (exit $ac_status); } && { |
8911 |
- test -z "$ac_c_werror_flag" || |
8912 |
- test ! -s conftest.err |
8913 |
- } && test -s conftest.$ac_objext; then |
8914 |
+if ac_fn_c_try_compile "$LINENO"; then : |
8915 |
ac_cv_header_time=yes |
8916 |
else |
8917 |
- echo "$as_me: failed program was:" >&5 |
8918 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
8919 |
- |
8920 |
- ac_cv_header_time=no |
8921 |
+ ac_cv_header_time=no |
8922 |
fi |
8923 |
- |
8924 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8925 |
fi |
8926 |
-{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 |
8927 |
-echo "${ECHO_T}$ac_cv_header_time" >&6; } |
8928 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 |
8929 |
+$as_echo "$ac_cv_header_time" >&6; } |
8930 |
if test $ac_cv_header_time = yes; then |
8931 |
|
8932 |
-cat >>confdefs.h <<\_ACEOF |
8933 |
-#define TIME_WITH_SYS_TIME 1 |
8934 |
-_ACEOF |
8935 |
+$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h |
8936 |
|
8937 |
fi |
8938 |
|
8939 |
-{ echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 |
8940 |
-echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; } |
8941 |
-if test "${ac_cv_struct_tm+set}" = set; then |
8942 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
8943 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 |
8944 |
+$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } |
8945 |
+if ${ac_cv_struct_tm+:} false; then : |
8946 |
+ $as_echo_n "(cached) " >&6 |
8947 |
else |
8948 |
- cat >conftest.$ac_ext <<_ACEOF |
8949 |
-/* confdefs.h. */ |
8950 |
-_ACEOF |
8951 |
-cat confdefs.h >>conftest.$ac_ext |
8952 |
-cat >>conftest.$ac_ext <<_ACEOF |
8953 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
8954 |
/* end confdefs.h. */ |
8955 |
#include <sys/types.h> |
8956 |
#include <time.h> |
8957 |
@@ -7493,45 +5702,23 @@ main () |
8958 |
{ |
8959 |
struct tm tm; |
8960 |
int *p = &tm.tm_sec; |
8961 |
- return !p; |
8962 |
+ return !p; |
8963 |
; |
8964 |
return 0; |
8965 |
} |
8966 |
_ACEOF |
8967 |
-rm -f conftest.$ac_objext |
8968 |
-if { (ac_try="$ac_compile" |
8969 |
-case "(($ac_try" in |
8970 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8971 |
- *) ac_try_echo=$ac_try;; |
8972 |
-esac |
8973 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
8974 |
- (eval "$ac_compile") 2>conftest.er1 |
8975 |
- ac_status=$? |
8976 |
- grep -v '^ *+' conftest.er1 >conftest.err |
8977 |
- rm -f conftest.er1 |
8978 |
- cat conftest.err >&5 |
8979 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8980 |
- (exit $ac_status); } && { |
8981 |
- test -z "$ac_c_werror_flag" || |
8982 |
- test ! -s conftest.err |
8983 |
- } && test -s conftest.$ac_objext; then |
8984 |
+if ac_fn_c_try_compile "$LINENO"; then : |
8985 |
ac_cv_struct_tm=time.h |
8986 |
else |
8987 |
- echo "$as_me: failed program was:" >&5 |
8988 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
8989 |
- |
8990 |
- ac_cv_struct_tm=sys/time.h |
8991 |
+ ac_cv_struct_tm=sys/time.h |
8992 |
fi |
8993 |
- |
8994 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8995 |
fi |
8996 |
-{ echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 |
8997 |
-echo "${ECHO_T}$ac_cv_struct_tm" >&6; } |
8998 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 |
8999 |
+$as_echo "$ac_cv_struct_tm" >&6; } |
9000 |
if test $ac_cv_struct_tm = sys/time.h; then |
9001 |
|
9002 |
-cat >>confdefs.h <<\_ACEOF |
9003 |
-#define TM_IN_SYS_TIME 1 |
9004 |
-_ACEOF |
9005 |
+$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h |
9006 |
|
9007 |
fi |
9008 |
|
9009 |
@@ -7544,403 +5731,31 @@ else |
9010 |
default_int=0 |
9011 |
fi |
9012 |
|
9013 |
-{ echo "$as_me:$LINENO: checking for short" >&5 |
9014 |
-echo $ECHO_N "checking for short... $ECHO_C" >&6; } |
9015 |
-if test "${ac_cv_type_short+set}" = set; then |
9016 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
9017 |
-else |
9018 |
- cat >conftest.$ac_ext <<_ACEOF |
9019 |
-/* confdefs.h. */ |
9020 |
-_ACEOF |
9021 |
-cat confdefs.h >>conftest.$ac_ext |
9022 |
-cat >>conftest.$ac_ext <<_ACEOF |
9023 |
-/* end confdefs.h. */ |
9024 |
-$ac_includes_default |
9025 |
-typedef short ac__type_new_; |
9026 |
-int |
9027 |
-main () |
9028 |
-{ |
9029 |
-if ((ac__type_new_ *) 0) |
9030 |
- return 0; |
9031 |
-if (sizeof (ac__type_new_)) |
9032 |
- return 0; |
9033 |
- ; |
9034 |
- return 0; |
9035 |
-} |
9036 |
-_ACEOF |
9037 |
-rm -f conftest.$ac_objext |
9038 |
-if { (ac_try="$ac_compile" |
9039 |
-case "(($ac_try" in |
9040 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9041 |
- *) ac_try_echo=$ac_try;; |
9042 |
-esac |
9043 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
9044 |
- (eval "$ac_compile") 2>conftest.er1 |
9045 |
- ac_status=$? |
9046 |
- grep -v '^ *+' conftest.er1 >conftest.err |
9047 |
- rm -f conftest.er1 |
9048 |
- cat conftest.err >&5 |
9049 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9050 |
- (exit $ac_status); } && { |
9051 |
- test -z "$ac_c_werror_flag" || |
9052 |
- test ! -s conftest.err |
9053 |
- } && test -s conftest.$ac_objext; then |
9054 |
- ac_cv_type_short=yes |
9055 |
-else |
9056 |
- echo "$as_me: failed program was:" >&5 |
9057 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
9058 |
- |
9059 |
- ac_cv_type_short=no |
9060 |
-fi |
9061 |
- |
9062 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9063 |
-fi |
9064 |
-{ echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5 |
9065 |
-echo "${ECHO_T}$ac_cv_type_short" >&6; } |
9066 |
- |
9067 |
# The cast to long int works around a bug in the HP C Compiler |
9068 |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
9069 |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
9070 |
# This bug is HP SR number 8606223364. |
9071 |
-{ echo "$as_me:$LINENO: checking size of short" >&5 |
9072 |
-echo $ECHO_N "checking size of short... $ECHO_C" >&6; } |
9073 |
-if test "${ac_cv_sizeof_short+set}" = set; then |
9074 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
9075 |
-else |
9076 |
- if test "$cross_compiling" = yes; then |
9077 |
- # Depending upon the size, compute the lo and hi bounds. |
9078 |
-cat >conftest.$ac_ext <<_ACEOF |
9079 |
-/* confdefs.h. */ |
9080 |
-_ACEOF |
9081 |
-cat confdefs.h >>conftest.$ac_ext |
9082 |
-cat >>conftest.$ac_ext <<_ACEOF |
9083 |
-/* end confdefs.h. */ |
9084 |
-$ac_includes_default |
9085 |
- typedef short ac__type_sizeof_; |
9086 |
-int |
9087 |
-main () |
9088 |
-{ |
9089 |
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; |
9090 |
-test_array [0] = 0 |
9091 |
- |
9092 |
- ; |
9093 |
- return 0; |
9094 |
-} |
9095 |
-_ACEOF |
9096 |
-rm -f conftest.$ac_objext |
9097 |
-if { (ac_try="$ac_compile" |
9098 |
-case "(($ac_try" in |
9099 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9100 |
- *) ac_try_echo=$ac_try;; |
9101 |
-esac |
9102 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
9103 |
- (eval "$ac_compile") 2>conftest.er1 |
9104 |
- ac_status=$? |
9105 |
- grep -v '^ *+' conftest.er1 >conftest.err |
9106 |
- rm -f conftest.er1 |
9107 |
- cat conftest.err >&5 |
9108 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9109 |
- (exit $ac_status); } && { |
9110 |
- test -z "$ac_c_werror_flag" || |
9111 |
- test ! -s conftest.err |
9112 |
- } && test -s conftest.$ac_objext; then |
9113 |
- ac_lo=0 ac_mid=0 |
9114 |
- while :; do |
9115 |
- cat >conftest.$ac_ext <<_ACEOF |
9116 |
-/* confdefs.h. */ |
9117 |
-_ACEOF |
9118 |
-cat confdefs.h >>conftest.$ac_ext |
9119 |
-cat >>conftest.$ac_ext <<_ACEOF |
9120 |
-/* end confdefs.h. */ |
9121 |
-$ac_includes_default |
9122 |
- typedef short ac__type_sizeof_; |
9123 |
-int |
9124 |
-main () |
9125 |
-{ |
9126 |
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
9127 |
-test_array [0] = 0 |
9128 |
- |
9129 |
- ; |
9130 |
- return 0; |
9131 |
-} |
9132 |
-_ACEOF |
9133 |
-rm -f conftest.$ac_objext |
9134 |
-if { (ac_try="$ac_compile" |
9135 |
-case "(($ac_try" in |
9136 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9137 |
- *) ac_try_echo=$ac_try;; |
9138 |
-esac |
9139 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
9140 |
- (eval "$ac_compile") 2>conftest.er1 |
9141 |
- ac_status=$? |
9142 |
- grep -v '^ *+' conftest.er1 >conftest.err |
9143 |
- rm -f conftest.er1 |
9144 |
- cat conftest.err >&5 |
9145 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9146 |
- (exit $ac_status); } && { |
9147 |
- test -z "$ac_c_werror_flag" || |
9148 |
- test ! -s conftest.err |
9149 |
- } && test -s conftest.$ac_objext; then |
9150 |
- ac_hi=$ac_mid; break |
9151 |
-else |
9152 |
- echo "$as_me: failed program was:" >&5 |
9153 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
9154 |
- |
9155 |
- ac_lo=`expr $ac_mid + 1` |
9156 |
- if test $ac_lo -le $ac_mid; then |
9157 |
- ac_lo= ac_hi= |
9158 |
- break |
9159 |
- fi |
9160 |
- ac_mid=`expr 2 '*' $ac_mid + 1` |
9161 |
-fi |
9162 |
- |
9163 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9164 |
- done |
9165 |
-else |
9166 |
- echo "$as_me: failed program was:" >&5 |
9167 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
9168 |
- |
9169 |
- cat >conftest.$ac_ext <<_ACEOF |
9170 |
-/* confdefs.h. */ |
9171 |
-_ACEOF |
9172 |
-cat confdefs.h >>conftest.$ac_ext |
9173 |
-cat >>conftest.$ac_ext <<_ACEOF |
9174 |
-/* end confdefs.h. */ |
9175 |
-$ac_includes_default |
9176 |
- typedef short ac__type_sizeof_; |
9177 |
-int |
9178 |
-main () |
9179 |
-{ |
9180 |
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; |
9181 |
-test_array [0] = 0 |
9182 |
- |
9183 |
- ; |
9184 |
- return 0; |
9185 |
-} |
9186 |
-_ACEOF |
9187 |
-rm -f conftest.$ac_objext |
9188 |
-if { (ac_try="$ac_compile" |
9189 |
-case "(($ac_try" in |
9190 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9191 |
- *) ac_try_echo=$ac_try;; |
9192 |
-esac |
9193 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
9194 |
- (eval "$ac_compile") 2>conftest.er1 |
9195 |
- ac_status=$? |
9196 |
- grep -v '^ *+' conftest.er1 >conftest.err |
9197 |
- rm -f conftest.er1 |
9198 |
- cat conftest.err >&5 |
9199 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9200 |
- (exit $ac_status); } && { |
9201 |
- test -z "$ac_c_werror_flag" || |
9202 |
- test ! -s conftest.err |
9203 |
- } && test -s conftest.$ac_objext; then |
9204 |
- ac_hi=-1 ac_mid=-1 |
9205 |
- while :; do |
9206 |
- cat >conftest.$ac_ext <<_ACEOF |
9207 |
-/* confdefs.h. */ |
9208 |
-_ACEOF |
9209 |
-cat confdefs.h >>conftest.$ac_ext |
9210 |
-cat >>conftest.$ac_ext <<_ACEOF |
9211 |
-/* end confdefs.h. */ |
9212 |
-$ac_includes_default |
9213 |
- typedef short ac__type_sizeof_; |
9214 |
-int |
9215 |
-main () |
9216 |
-{ |
9217 |
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; |
9218 |
-test_array [0] = 0 |
9219 |
- |
9220 |
- ; |
9221 |
- return 0; |
9222 |
-} |
9223 |
-_ACEOF |
9224 |
-rm -f conftest.$ac_objext |
9225 |
-if { (ac_try="$ac_compile" |
9226 |
-case "(($ac_try" in |
9227 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9228 |
- *) ac_try_echo=$ac_try;; |
9229 |
-esac |
9230 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
9231 |
- (eval "$ac_compile") 2>conftest.er1 |
9232 |
- ac_status=$? |
9233 |
- grep -v '^ *+' conftest.er1 >conftest.err |
9234 |
- rm -f conftest.er1 |
9235 |
- cat conftest.err >&5 |
9236 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9237 |
- (exit $ac_status); } && { |
9238 |
- test -z "$ac_c_werror_flag" || |
9239 |
- test ! -s conftest.err |
9240 |
- } && test -s conftest.$ac_objext; then |
9241 |
- ac_lo=$ac_mid; break |
9242 |
-else |
9243 |
- echo "$as_me: failed program was:" >&5 |
9244 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
9245 |
- |
9246 |
- ac_hi=`expr '(' $ac_mid ')' - 1` |
9247 |
- if test $ac_mid -le $ac_hi; then |
9248 |
- ac_lo= ac_hi= |
9249 |
- break |
9250 |
- fi |
9251 |
- ac_mid=`expr 2 '*' $ac_mid` |
9252 |
-fi |
9253 |
- |
9254 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9255 |
- done |
9256 |
-else |
9257 |
- echo "$as_me: failed program was:" >&5 |
9258 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
9259 |
- |
9260 |
- ac_lo= ac_hi= |
9261 |
-fi |
9262 |
- |
9263 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9264 |
-fi |
9265 |
- |
9266 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9267 |
-# Binary search between lo and hi bounds. |
9268 |
-while test "x$ac_lo" != "x$ac_hi"; do |
9269 |
- ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
9270 |
- cat >conftest.$ac_ext <<_ACEOF |
9271 |
-/* confdefs.h. */ |
9272 |
-_ACEOF |
9273 |
-cat confdefs.h >>conftest.$ac_ext |
9274 |
-cat >>conftest.$ac_ext <<_ACEOF |
9275 |
-/* end confdefs.h. */ |
9276 |
-$ac_includes_default |
9277 |
- typedef short ac__type_sizeof_; |
9278 |
-int |
9279 |
-main () |
9280 |
-{ |
9281 |
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
9282 |
-test_array [0] = 0 |
9283 |
- |
9284 |
- ; |
9285 |
- return 0; |
9286 |
-} |
9287 |
-_ACEOF |
9288 |
-rm -f conftest.$ac_objext |
9289 |
-if { (ac_try="$ac_compile" |
9290 |
-case "(($ac_try" in |
9291 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9292 |
- *) ac_try_echo=$ac_try;; |
9293 |
-esac |
9294 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
9295 |
- (eval "$ac_compile") 2>conftest.er1 |
9296 |
- ac_status=$? |
9297 |
- grep -v '^ *+' conftest.er1 >conftest.err |
9298 |
- rm -f conftest.er1 |
9299 |
- cat conftest.err >&5 |
9300 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9301 |
- (exit $ac_status); } && { |
9302 |
- test -z "$ac_c_werror_flag" || |
9303 |
- test ! -s conftest.err |
9304 |
- } && test -s conftest.$ac_objext; then |
9305 |
- ac_hi=$ac_mid |
9306 |
-else |
9307 |
- echo "$as_me: failed program was:" >&5 |
9308 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
9309 |
- |
9310 |
- ac_lo=`expr '(' $ac_mid ')' + 1` |
9311 |
-fi |
9312 |
- |
9313 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9314 |
-done |
9315 |
-case $ac_lo in |
9316 |
-?*) ac_cv_sizeof_short=$ac_lo;; |
9317 |
-'') if test "$ac_cv_type_short" = yes; then |
9318 |
- { { echo "$as_me:$LINENO: error: cannot compute sizeof (short) |
9319 |
-See \`config.log' for more details." >&5 |
9320 |
-echo "$as_me: error: cannot compute sizeof (short) |
9321 |
-See \`config.log' for more details." >&2;} |
9322 |
- { (exit 77); exit 77; }; } |
9323 |
- else |
9324 |
- ac_cv_sizeof_short=0 |
9325 |
- fi ;; |
9326 |
-esac |
9327 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5 |
9328 |
+$as_echo_n "checking size of short... " >&6; } |
9329 |
+if ${ac_cv_sizeof_short+:} false; then : |
9330 |
+ $as_echo_n "(cached) " >&6 |
9331 |
else |
9332 |
- cat >conftest.$ac_ext <<_ACEOF |
9333 |
-/* confdefs.h. */ |
9334 |
-_ACEOF |
9335 |
-cat confdefs.h >>conftest.$ac_ext |
9336 |
-cat >>conftest.$ac_ext <<_ACEOF |
9337 |
-/* end confdefs.h. */ |
9338 |
-$ac_includes_default |
9339 |
- typedef short ac__type_sizeof_; |
9340 |
-static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } |
9341 |
-static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } |
9342 |
-#include <stdio.h> |
9343 |
-#include <stdlib.h> |
9344 |
-int |
9345 |
-main () |
9346 |
-{ |
9347 |
- |
9348 |
- FILE *f = fopen ("conftest.val", "w"); |
9349 |
- if (! f) |
9350 |
- return 1; |
9351 |
- if (((long int) (sizeof (ac__type_sizeof_))) < 0) |
9352 |
- { |
9353 |
- long int i = longval (); |
9354 |
- if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
9355 |
- return 1; |
9356 |
- fprintf (f, "%ld\n", i); |
9357 |
- } |
9358 |
- else |
9359 |
- { |
9360 |
- unsigned long int i = ulongval (); |
9361 |
- if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
9362 |
- return 1; |
9363 |
- fprintf (f, "%lu\n", i); |
9364 |
- } |
9365 |
- return ferror (f) || fclose (f) != 0; |
9366 |
+ if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then : |
9367 |
|
9368 |
- ; |
9369 |
- return 0; |
9370 |
-} |
9371 |
-_ACEOF |
9372 |
-rm -f conftest$ac_exeext |
9373 |
-if { (ac_try="$ac_link" |
9374 |
-case "(($ac_try" in |
9375 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9376 |
- *) ac_try_echo=$ac_try;; |
9377 |
-esac |
9378 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
9379 |
- (eval "$ac_link") 2>&5 |
9380 |
- ac_status=$? |
9381 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9382 |
- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
9383 |
- { (case "(($ac_try" in |
9384 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9385 |
- *) ac_try_echo=$ac_try;; |
9386 |
-esac |
9387 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
9388 |
- (eval "$ac_try") 2>&5 |
9389 |
- ac_status=$? |
9390 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9391 |
- (exit $ac_status); }; }; then |
9392 |
- ac_cv_sizeof_short=`cat conftest.val` |
9393 |
else |
9394 |
- echo "$as_me: program exited with status $ac_status" >&5 |
9395 |
-echo "$as_me: failed program was:" >&5 |
9396 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
9397 |
- |
9398 |
-( exit $ac_status ) |
9399 |
-if test "$ac_cv_type_short" = yes; then |
9400 |
- { { echo "$as_me:$LINENO: error: cannot compute sizeof (short) |
9401 |
-See \`config.log' for more details." >&5 |
9402 |
-echo "$as_me: error: cannot compute sizeof (short) |
9403 |
-See \`config.log' for more details." >&2;} |
9404 |
- { (exit 77); exit 77; }; } |
9405 |
+ if test "$ac_cv_type_short" = yes; then |
9406 |
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
9407 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
9408 |
+as_fn_error 77 "cannot compute sizeof (short) |
9409 |
+See \`config.log' for more details" "$LINENO" 5; } |
9410 |
else |
9411 |
ac_cv_sizeof_short=0 |
9412 |
fi |
9413 |
fi |
9414 |
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
9415 |
-fi |
9416 |
-rm -f conftest.val |
9417 |
+ |
9418 |
fi |
9419 |
-{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5 |
9420 |
-echo "${ECHO_T}$ac_cv_sizeof_short" >&6; } |
9421 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5 |
9422 |
+$as_echo "$ac_cv_sizeof_short" >&6; } |
9423 |
|
9424 |
|
9425 |
|
9426 |
@@ -7949,403 +5764,31 @@ cat >>confdefs.h <<_ACEOF |
9427 |
_ACEOF |
9428 |
|
9429 |
|
9430 |
-{ echo "$as_me:$LINENO: checking for unsigned short" >&5 |
9431 |
-echo $ECHO_N "checking for unsigned short... $ECHO_C" >&6; } |
9432 |
-if test "${ac_cv_type_unsigned_short+set}" = set; then |
9433 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
9434 |
-else |
9435 |
- cat >conftest.$ac_ext <<_ACEOF |
9436 |
-/* confdefs.h. */ |
9437 |
-_ACEOF |
9438 |
-cat confdefs.h >>conftest.$ac_ext |
9439 |
-cat >>conftest.$ac_ext <<_ACEOF |
9440 |
-/* end confdefs.h. */ |
9441 |
-$ac_includes_default |
9442 |
-typedef unsigned short ac__type_new_; |
9443 |
-int |
9444 |
-main () |
9445 |
-{ |
9446 |
-if ((ac__type_new_ *) 0) |
9447 |
- return 0; |
9448 |
-if (sizeof (ac__type_new_)) |
9449 |
- return 0; |
9450 |
- ; |
9451 |
- return 0; |
9452 |
-} |
9453 |
-_ACEOF |
9454 |
-rm -f conftest.$ac_objext |
9455 |
-if { (ac_try="$ac_compile" |
9456 |
-case "(($ac_try" in |
9457 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9458 |
- *) ac_try_echo=$ac_try;; |
9459 |
-esac |
9460 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
9461 |
- (eval "$ac_compile") 2>conftest.er1 |
9462 |
- ac_status=$? |
9463 |
- grep -v '^ *+' conftest.er1 >conftest.err |
9464 |
- rm -f conftest.er1 |
9465 |
- cat conftest.err >&5 |
9466 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9467 |
- (exit $ac_status); } && { |
9468 |
- test -z "$ac_c_werror_flag" || |
9469 |
- test ! -s conftest.err |
9470 |
- } && test -s conftest.$ac_objext; then |
9471 |
- ac_cv_type_unsigned_short=yes |
9472 |
-else |
9473 |
- echo "$as_me: failed program was:" >&5 |
9474 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
9475 |
- |
9476 |
- ac_cv_type_unsigned_short=no |
9477 |
-fi |
9478 |
- |
9479 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9480 |
-fi |
9481 |
-{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_short" >&5 |
9482 |
-echo "${ECHO_T}$ac_cv_type_unsigned_short" >&6; } |
9483 |
- |
9484 |
# The cast to long int works around a bug in the HP C Compiler |
9485 |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
9486 |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
9487 |
# This bug is HP SR number 8606223364. |
9488 |
-{ echo "$as_me:$LINENO: checking size of unsigned short" >&5 |
9489 |
-echo $ECHO_N "checking size of unsigned short... $ECHO_C" >&6; } |
9490 |
-if test "${ac_cv_sizeof_unsigned_short+set}" = set; then |
9491 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
9492 |
-else |
9493 |
- if test "$cross_compiling" = yes; then |
9494 |
- # Depending upon the size, compute the lo and hi bounds. |
9495 |
-cat >conftest.$ac_ext <<_ACEOF |
9496 |
-/* confdefs.h. */ |
9497 |
-_ACEOF |
9498 |
-cat confdefs.h >>conftest.$ac_ext |
9499 |
-cat >>conftest.$ac_ext <<_ACEOF |
9500 |
-/* end confdefs.h. */ |
9501 |
-$ac_includes_default |
9502 |
- typedef unsigned short ac__type_sizeof_; |
9503 |
-int |
9504 |
-main () |
9505 |
-{ |
9506 |
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; |
9507 |
-test_array [0] = 0 |
9508 |
- |
9509 |
- ; |
9510 |
- return 0; |
9511 |
-} |
9512 |
-_ACEOF |
9513 |
-rm -f conftest.$ac_objext |
9514 |
-if { (ac_try="$ac_compile" |
9515 |
-case "(($ac_try" in |
9516 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9517 |
- *) ac_try_echo=$ac_try;; |
9518 |
-esac |
9519 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
9520 |
- (eval "$ac_compile") 2>conftest.er1 |
9521 |
- ac_status=$? |
9522 |
- grep -v '^ *+' conftest.er1 >conftest.err |
9523 |
- rm -f conftest.er1 |
9524 |
- cat conftest.err >&5 |
9525 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9526 |
- (exit $ac_status); } && { |
9527 |
- test -z "$ac_c_werror_flag" || |
9528 |
- test ! -s conftest.err |
9529 |
- } && test -s conftest.$ac_objext; then |
9530 |
- ac_lo=0 ac_mid=0 |
9531 |
- while :; do |
9532 |
- cat >conftest.$ac_ext <<_ACEOF |
9533 |
-/* confdefs.h. */ |
9534 |
-_ACEOF |
9535 |
-cat confdefs.h >>conftest.$ac_ext |
9536 |
-cat >>conftest.$ac_ext <<_ACEOF |
9537 |
-/* end confdefs.h. */ |
9538 |
-$ac_includes_default |
9539 |
- typedef unsigned short ac__type_sizeof_; |
9540 |
-int |
9541 |
-main () |
9542 |
-{ |
9543 |
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
9544 |
-test_array [0] = 0 |
9545 |
- |
9546 |
- ; |
9547 |
- return 0; |
9548 |
-} |
9549 |
-_ACEOF |
9550 |
-rm -f conftest.$ac_objext |
9551 |
-if { (ac_try="$ac_compile" |
9552 |
-case "(($ac_try" in |
9553 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9554 |
- *) ac_try_echo=$ac_try;; |
9555 |
-esac |
9556 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
9557 |
- (eval "$ac_compile") 2>conftest.er1 |
9558 |
- ac_status=$? |
9559 |
- grep -v '^ *+' conftest.er1 >conftest.err |
9560 |
- rm -f conftest.er1 |
9561 |
- cat conftest.err >&5 |
9562 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9563 |
- (exit $ac_status); } && { |
9564 |
- test -z "$ac_c_werror_flag" || |
9565 |
- test ! -s conftest.err |
9566 |
- } && test -s conftest.$ac_objext; then |
9567 |
- ac_hi=$ac_mid; break |
9568 |
-else |
9569 |
- echo "$as_me: failed program was:" >&5 |
9570 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
9571 |
- |
9572 |
- ac_lo=`expr $ac_mid + 1` |
9573 |
- if test $ac_lo -le $ac_mid; then |
9574 |
- ac_lo= ac_hi= |
9575 |
- break |
9576 |
- fi |
9577 |
- ac_mid=`expr 2 '*' $ac_mid + 1` |
9578 |
-fi |
9579 |
- |
9580 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9581 |
- done |
9582 |
-else |
9583 |
- echo "$as_me: failed program was:" >&5 |
9584 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
9585 |
- |
9586 |
- cat >conftest.$ac_ext <<_ACEOF |
9587 |
-/* confdefs.h. */ |
9588 |
-_ACEOF |
9589 |
-cat confdefs.h >>conftest.$ac_ext |
9590 |
-cat >>conftest.$ac_ext <<_ACEOF |
9591 |
-/* end confdefs.h. */ |
9592 |
-$ac_includes_default |
9593 |
- typedef unsigned short ac__type_sizeof_; |
9594 |
-int |
9595 |
-main () |
9596 |
-{ |
9597 |
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; |
9598 |
-test_array [0] = 0 |
9599 |
- |
9600 |
- ; |
9601 |
- return 0; |
9602 |
-} |
9603 |
-_ACEOF |
9604 |
-rm -f conftest.$ac_objext |
9605 |
-if { (ac_try="$ac_compile" |
9606 |
-case "(($ac_try" in |
9607 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9608 |
- *) ac_try_echo=$ac_try;; |
9609 |
-esac |
9610 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
9611 |
- (eval "$ac_compile") 2>conftest.er1 |
9612 |
- ac_status=$? |
9613 |
- grep -v '^ *+' conftest.er1 >conftest.err |
9614 |
- rm -f conftest.er1 |
9615 |
- cat conftest.err >&5 |
9616 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9617 |
- (exit $ac_status); } && { |
9618 |
- test -z "$ac_c_werror_flag" || |
9619 |
- test ! -s conftest.err |
9620 |
- } && test -s conftest.$ac_objext; then |
9621 |
- ac_hi=-1 ac_mid=-1 |
9622 |
- while :; do |
9623 |
- cat >conftest.$ac_ext <<_ACEOF |
9624 |
-/* confdefs.h. */ |
9625 |
-_ACEOF |
9626 |
-cat confdefs.h >>conftest.$ac_ext |
9627 |
-cat >>conftest.$ac_ext <<_ACEOF |
9628 |
-/* end confdefs.h. */ |
9629 |
-$ac_includes_default |
9630 |
- typedef unsigned short ac__type_sizeof_; |
9631 |
-int |
9632 |
-main () |
9633 |
-{ |
9634 |
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; |
9635 |
-test_array [0] = 0 |
9636 |
- |
9637 |
- ; |
9638 |
- return 0; |
9639 |
-} |
9640 |
-_ACEOF |
9641 |
-rm -f conftest.$ac_objext |
9642 |
-if { (ac_try="$ac_compile" |
9643 |
-case "(($ac_try" in |
9644 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9645 |
- *) ac_try_echo=$ac_try;; |
9646 |
-esac |
9647 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
9648 |
- (eval "$ac_compile") 2>conftest.er1 |
9649 |
- ac_status=$? |
9650 |
- grep -v '^ *+' conftest.er1 >conftest.err |
9651 |
- rm -f conftest.er1 |
9652 |
- cat conftest.err >&5 |
9653 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9654 |
- (exit $ac_status); } && { |
9655 |
- test -z "$ac_c_werror_flag" || |
9656 |
- test ! -s conftest.err |
9657 |
- } && test -s conftest.$ac_objext; then |
9658 |
- ac_lo=$ac_mid; break |
9659 |
-else |
9660 |
- echo "$as_me: failed program was:" >&5 |
9661 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
9662 |
- |
9663 |
- ac_hi=`expr '(' $ac_mid ')' - 1` |
9664 |
- if test $ac_mid -le $ac_hi; then |
9665 |
- ac_lo= ac_hi= |
9666 |
- break |
9667 |
- fi |
9668 |
- ac_mid=`expr 2 '*' $ac_mid` |
9669 |
-fi |
9670 |
- |
9671 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9672 |
- done |
9673 |
-else |
9674 |
- echo "$as_me: failed program was:" >&5 |
9675 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
9676 |
- |
9677 |
- ac_lo= ac_hi= |
9678 |
-fi |
9679 |
- |
9680 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9681 |
-fi |
9682 |
- |
9683 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9684 |
-# Binary search between lo and hi bounds. |
9685 |
-while test "x$ac_lo" != "x$ac_hi"; do |
9686 |
- ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
9687 |
- cat >conftest.$ac_ext <<_ACEOF |
9688 |
-/* confdefs.h. */ |
9689 |
-_ACEOF |
9690 |
-cat confdefs.h >>conftest.$ac_ext |
9691 |
-cat >>conftest.$ac_ext <<_ACEOF |
9692 |
-/* end confdefs.h. */ |
9693 |
-$ac_includes_default |
9694 |
- typedef unsigned short ac__type_sizeof_; |
9695 |
-int |
9696 |
-main () |
9697 |
-{ |
9698 |
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
9699 |
-test_array [0] = 0 |
9700 |
- |
9701 |
- ; |
9702 |
- return 0; |
9703 |
-} |
9704 |
-_ACEOF |
9705 |
-rm -f conftest.$ac_objext |
9706 |
-if { (ac_try="$ac_compile" |
9707 |
-case "(($ac_try" in |
9708 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9709 |
- *) ac_try_echo=$ac_try;; |
9710 |
-esac |
9711 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
9712 |
- (eval "$ac_compile") 2>conftest.er1 |
9713 |
- ac_status=$? |
9714 |
- grep -v '^ *+' conftest.er1 >conftest.err |
9715 |
- rm -f conftest.er1 |
9716 |
- cat conftest.err >&5 |
9717 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9718 |
- (exit $ac_status); } && { |
9719 |
- test -z "$ac_c_werror_flag" || |
9720 |
- test ! -s conftest.err |
9721 |
- } && test -s conftest.$ac_objext; then |
9722 |
- ac_hi=$ac_mid |
9723 |
-else |
9724 |
- echo "$as_me: failed program was:" >&5 |
9725 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
9726 |
- |
9727 |
- ac_lo=`expr '(' $ac_mid ')' + 1` |
9728 |
-fi |
9729 |
- |
9730 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9731 |
-done |
9732 |
-case $ac_lo in |
9733 |
-?*) ac_cv_sizeof_unsigned_short=$ac_lo;; |
9734 |
-'') if test "$ac_cv_type_unsigned_short" = yes; then |
9735 |
- { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short) |
9736 |
-See \`config.log' for more details." >&5 |
9737 |
-echo "$as_me: error: cannot compute sizeof (unsigned short) |
9738 |
-See \`config.log' for more details." >&2;} |
9739 |
- { (exit 77); exit 77; }; } |
9740 |
- else |
9741 |
- ac_cv_sizeof_unsigned_short=0 |
9742 |
- fi ;; |
9743 |
-esac |
9744 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned short" >&5 |
9745 |
+$as_echo_n "checking size of unsigned short... " >&6; } |
9746 |
+if ${ac_cv_sizeof_unsigned_short+:} false; then : |
9747 |
+ $as_echo_n "(cached) " >&6 |
9748 |
else |
9749 |
- cat >conftest.$ac_ext <<_ACEOF |
9750 |
-/* confdefs.h. */ |
9751 |
-_ACEOF |
9752 |
-cat confdefs.h >>conftest.$ac_ext |
9753 |
-cat >>conftest.$ac_ext <<_ACEOF |
9754 |
-/* end confdefs.h. */ |
9755 |
-$ac_includes_default |
9756 |
- typedef unsigned short ac__type_sizeof_; |
9757 |
-static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } |
9758 |
-static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } |
9759 |
-#include <stdio.h> |
9760 |
-#include <stdlib.h> |
9761 |
-int |
9762 |
-main () |
9763 |
-{ |
9764 |
- |
9765 |
- FILE *f = fopen ("conftest.val", "w"); |
9766 |
- if (! f) |
9767 |
- return 1; |
9768 |
- if (((long int) (sizeof (ac__type_sizeof_))) < 0) |
9769 |
- { |
9770 |
- long int i = longval (); |
9771 |
- if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
9772 |
- return 1; |
9773 |
- fprintf (f, "%ld\n", i); |
9774 |
- } |
9775 |
- else |
9776 |
- { |
9777 |
- unsigned long int i = ulongval (); |
9778 |
- if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
9779 |
- return 1; |
9780 |
- fprintf (f, "%lu\n", i); |
9781 |
- } |
9782 |
- return ferror (f) || fclose (f) != 0; |
9783 |
+ if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned short))" "ac_cv_sizeof_unsigned_short" "$ac_includes_default"; then : |
9784 |
|
9785 |
- ; |
9786 |
- return 0; |
9787 |
-} |
9788 |
-_ACEOF |
9789 |
-rm -f conftest$ac_exeext |
9790 |
-if { (ac_try="$ac_link" |
9791 |
-case "(($ac_try" in |
9792 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9793 |
- *) ac_try_echo=$ac_try;; |
9794 |
-esac |
9795 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
9796 |
- (eval "$ac_link") 2>&5 |
9797 |
- ac_status=$? |
9798 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9799 |
- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
9800 |
- { (case "(($ac_try" in |
9801 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9802 |
- *) ac_try_echo=$ac_try;; |
9803 |
-esac |
9804 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
9805 |
- (eval "$ac_try") 2>&5 |
9806 |
- ac_status=$? |
9807 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9808 |
- (exit $ac_status); }; }; then |
9809 |
- ac_cv_sizeof_unsigned_short=`cat conftest.val` |
9810 |
else |
9811 |
- echo "$as_me: program exited with status $ac_status" >&5 |
9812 |
-echo "$as_me: failed program was:" >&5 |
9813 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
9814 |
- |
9815 |
-( exit $ac_status ) |
9816 |
-if test "$ac_cv_type_unsigned_short" = yes; then |
9817 |
- { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short) |
9818 |
-See \`config.log' for more details." >&5 |
9819 |
-echo "$as_me: error: cannot compute sizeof (unsigned short) |
9820 |
-See \`config.log' for more details." >&2;} |
9821 |
- { (exit 77); exit 77; }; } |
9822 |
+ if test "$ac_cv_type_unsigned_short" = yes; then |
9823 |
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
9824 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
9825 |
+as_fn_error 77 "cannot compute sizeof (unsigned short) |
9826 |
+See \`config.log' for more details" "$LINENO" 5; } |
9827 |
else |
9828 |
ac_cv_sizeof_unsigned_short=0 |
9829 |
fi |
9830 |
fi |
9831 |
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
9832 |
-fi |
9833 |
-rm -f conftest.val |
9834 |
+ |
9835 |
fi |
9836 |
-{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_short" >&5 |
9837 |
-echo "${ECHO_T}$ac_cv_sizeof_unsigned_short" >&6; } |
9838 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_short" >&5 |
9839 |
+$as_echo "$ac_cv_sizeof_unsigned_short" >&6; } |
9840 |
|
9841 |
|
9842 |
|
9843 |
@@ -8354,403 +5797,31 @@ cat >>confdefs.h <<_ACEOF |
9844 |
_ACEOF |
9845 |
|
9846 |
|
9847 |
-{ echo "$as_me:$LINENO: checking for int" >&5 |
9848 |
-echo $ECHO_N "checking for int... $ECHO_C" >&6; } |
9849 |
-if test "${ac_cv_type_int+set}" = set; then |
9850 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
9851 |
-else |
9852 |
- cat >conftest.$ac_ext <<_ACEOF |
9853 |
-/* confdefs.h. */ |
9854 |
-_ACEOF |
9855 |
-cat confdefs.h >>conftest.$ac_ext |
9856 |
-cat >>conftest.$ac_ext <<_ACEOF |
9857 |
-/* end confdefs.h. */ |
9858 |
-$ac_includes_default |
9859 |
-typedef int ac__type_new_; |
9860 |
-int |
9861 |
-main () |
9862 |
-{ |
9863 |
-if ((ac__type_new_ *) 0) |
9864 |
- return 0; |
9865 |
-if (sizeof (ac__type_new_)) |
9866 |
- return 0; |
9867 |
- ; |
9868 |
- return 0; |
9869 |
-} |
9870 |
-_ACEOF |
9871 |
-rm -f conftest.$ac_objext |
9872 |
-if { (ac_try="$ac_compile" |
9873 |
-case "(($ac_try" in |
9874 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9875 |
- *) ac_try_echo=$ac_try;; |
9876 |
-esac |
9877 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
9878 |
- (eval "$ac_compile") 2>conftest.er1 |
9879 |
- ac_status=$? |
9880 |
- grep -v '^ *+' conftest.er1 >conftest.err |
9881 |
- rm -f conftest.er1 |
9882 |
- cat conftest.err >&5 |
9883 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9884 |
- (exit $ac_status); } && { |
9885 |
- test -z "$ac_c_werror_flag" || |
9886 |
- test ! -s conftest.err |
9887 |
- } && test -s conftest.$ac_objext; then |
9888 |
- ac_cv_type_int=yes |
9889 |
-else |
9890 |
- echo "$as_me: failed program was:" >&5 |
9891 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
9892 |
- |
9893 |
- ac_cv_type_int=no |
9894 |
-fi |
9895 |
- |
9896 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9897 |
-fi |
9898 |
-{ echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5 |
9899 |
-echo "${ECHO_T}$ac_cv_type_int" >&6; } |
9900 |
- |
9901 |
# The cast to long int works around a bug in the HP C Compiler |
9902 |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
9903 |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
9904 |
# This bug is HP SR number 8606223364. |
9905 |
-{ echo "$as_me:$LINENO: checking size of int" >&5 |
9906 |
-echo $ECHO_N "checking size of int... $ECHO_C" >&6; } |
9907 |
-if test "${ac_cv_sizeof_int+set}" = set; then |
9908 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
9909 |
-else |
9910 |
- if test "$cross_compiling" = yes; then |
9911 |
- # Depending upon the size, compute the lo and hi bounds. |
9912 |
-cat >conftest.$ac_ext <<_ACEOF |
9913 |
-/* confdefs.h. */ |
9914 |
-_ACEOF |
9915 |
-cat confdefs.h >>conftest.$ac_ext |
9916 |
-cat >>conftest.$ac_ext <<_ACEOF |
9917 |
-/* end confdefs.h. */ |
9918 |
-$ac_includes_default |
9919 |
- typedef int ac__type_sizeof_; |
9920 |
-int |
9921 |
-main () |
9922 |
-{ |
9923 |
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; |
9924 |
-test_array [0] = 0 |
9925 |
- |
9926 |
- ; |
9927 |
- return 0; |
9928 |
-} |
9929 |
-_ACEOF |
9930 |
-rm -f conftest.$ac_objext |
9931 |
-if { (ac_try="$ac_compile" |
9932 |
-case "(($ac_try" in |
9933 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9934 |
- *) ac_try_echo=$ac_try;; |
9935 |
-esac |
9936 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
9937 |
- (eval "$ac_compile") 2>conftest.er1 |
9938 |
- ac_status=$? |
9939 |
- grep -v '^ *+' conftest.er1 >conftest.err |
9940 |
- rm -f conftest.er1 |
9941 |
- cat conftest.err >&5 |
9942 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9943 |
- (exit $ac_status); } && { |
9944 |
- test -z "$ac_c_werror_flag" || |
9945 |
- test ! -s conftest.err |
9946 |
- } && test -s conftest.$ac_objext; then |
9947 |
- ac_lo=0 ac_mid=0 |
9948 |
- while :; do |
9949 |
- cat >conftest.$ac_ext <<_ACEOF |
9950 |
-/* confdefs.h. */ |
9951 |
-_ACEOF |
9952 |
-cat confdefs.h >>conftest.$ac_ext |
9953 |
-cat >>conftest.$ac_ext <<_ACEOF |
9954 |
-/* end confdefs.h. */ |
9955 |
-$ac_includes_default |
9956 |
- typedef int ac__type_sizeof_; |
9957 |
-int |
9958 |
-main () |
9959 |
-{ |
9960 |
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
9961 |
-test_array [0] = 0 |
9962 |
- |
9963 |
- ; |
9964 |
- return 0; |
9965 |
-} |
9966 |
-_ACEOF |
9967 |
-rm -f conftest.$ac_objext |
9968 |
-if { (ac_try="$ac_compile" |
9969 |
-case "(($ac_try" in |
9970 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9971 |
- *) ac_try_echo=$ac_try;; |
9972 |
-esac |
9973 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
9974 |
- (eval "$ac_compile") 2>conftest.er1 |
9975 |
- ac_status=$? |
9976 |
- grep -v '^ *+' conftest.er1 >conftest.err |
9977 |
- rm -f conftest.er1 |
9978 |
- cat conftest.err >&5 |
9979 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9980 |
- (exit $ac_status); } && { |
9981 |
- test -z "$ac_c_werror_flag" || |
9982 |
- test ! -s conftest.err |
9983 |
- } && test -s conftest.$ac_objext; then |
9984 |
- ac_hi=$ac_mid; break |
9985 |
-else |
9986 |
- echo "$as_me: failed program was:" >&5 |
9987 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
9988 |
- |
9989 |
- ac_lo=`expr $ac_mid + 1` |
9990 |
- if test $ac_lo -le $ac_mid; then |
9991 |
- ac_lo= ac_hi= |
9992 |
- break |
9993 |
- fi |
9994 |
- ac_mid=`expr 2 '*' $ac_mid + 1` |
9995 |
-fi |
9996 |
- |
9997 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9998 |
- done |
9999 |
-else |
10000 |
- echo "$as_me: failed program was:" >&5 |
10001 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
10002 |
- |
10003 |
- cat >conftest.$ac_ext <<_ACEOF |
10004 |
-/* confdefs.h. */ |
10005 |
-_ACEOF |
10006 |
-cat confdefs.h >>conftest.$ac_ext |
10007 |
-cat >>conftest.$ac_ext <<_ACEOF |
10008 |
-/* end confdefs.h. */ |
10009 |
-$ac_includes_default |
10010 |
- typedef int ac__type_sizeof_; |
10011 |
-int |
10012 |
-main () |
10013 |
-{ |
10014 |
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; |
10015 |
-test_array [0] = 0 |
10016 |
- |
10017 |
- ; |
10018 |
- return 0; |
10019 |
-} |
10020 |
-_ACEOF |
10021 |
-rm -f conftest.$ac_objext |
10022 |
-if { (ac_try="$ac_compile" |
10023 |
-case "(($ac_try" in |
10024 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10025 |
- *) ac_try_echo=$ac_try;; |
10026 |
-esac |
10027 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
10028 |
- (eval "$ac_compile") 2>conftest.er1 |
10029 |
- ac_status=$? |
10030 |
- grep -v '^ *+' conftest.er1 >conftest.err |
10031 |
- rm -f conftest.er1 |
10032 |
- cat conftest.err >&5 |
10033 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10034 |
- (exit $ac_status); } && { |
10035 |
- test -z "$ac_c_werror_flag" || |
10036 |
- test ! -s conftest.err |
10037 |
- } && test -s conftest.$ac_objext; then |
10038 |
- ac_hi=-1 ac_mid=-1 |
10039 |
- while :; do |
10040 |
- cat >conftest.$ac_ext <<_ACEOF |
10041 |
-/* confdefs.h. */ |
10042 |
-_ACEOF |
10043 |
-cat confdefs.h >>conftest.$ac_ext |
10044 |
-cat >>conftest.$ac_ext <<_ACEOF |
10045 |
-/* end confdefs.h. */ |
10046 |
-$ac_includes_default |
10047 |
- typedef int ac__type_sizeof_; |
10048 |
-int |
10049 |
-main () |
10050 |
-{ |
10051 |
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; |
10052 |
-test_array [0] = 0 |
10053 |
- |
10054 |
- ; |
10055 |
- return 0; |
10056 |
-} |
10057 |
-_ACEOF |
10058 |
-rm -f conftest.$ac_objext |
10059 |
-if { (ac_try="$ac_compile" |
10060 |
-case "(($ac_try" in |
10061 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10062 |
- *) ac_try_echo=$ac_try;; |
10063 |
-esac |
10064 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
10065 |
- (eval "$ac_compile") 2>conftest.er1 |
10066 |
- ac_status=$? |
10067 |
- grep -v '^ *+' conftest.er1 >conftest.err |
10068 |
- rm -f conftest.er1 |
10069 |
- cat conftest.err >&5 |
10070 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10071 |
- (exit $ac_status); } && { |
10072 |
- test -z "$ac_c_werror_flag" || |
10073 |
- test ! -s conftest.err |
10074 |
- } && test -s conftest.$ac_objext; then |
10075 |
- ac_lo=$ac_mid; break |
10076 |
-else |
10077 |
- echo "$as_me: failed program was:" >&5 |
10078 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
10079 |
- |
10080 |
- ac_hi=`expr '(' $ac_mid ')' - 1` |
10081 |
- if test $ac_mid -le $ac_hi; then |
10082 |
- ac_lo= ac_hi= |
10083 |
- break |
10084 |
- fi |
10085 |
- ac_mid=`expr 2 '*' $ac_mid` |
10086 |
-fi |
10087 |
- |
10088 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10089 |
- done |
10090 |
-else |
10091 |
- echo "$as_me: failed program was:" >&5 |
10092 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
10093 |
- |
10094 |
- ac_lo= ac_hi= |
10095 |
-fi |
10096 |
- |
10097 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10098 |
-fi |
10099 |
- |
10100 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10101 |
-# Binary search between lo and hi bounds. |
10102 |
-while test "x$ac_lo" != "x$ac_hi"; do |
10103 |
- ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
10104 |
- cat >conftest.$ac_ext <<_ACEOF |
10105 |
-/* confdefs.h. */ |
10106 |
-_ACEOF |
10107 |
-cat confdefs.h >>conftest.$ac_ext |
10108 |
-cat >>conftest.$ac_ext <<_ACEOF |
10109 |
-/* end confdefs.h. */ |
10110 |
-$ac_includes_default |
10111 |
- typedef int ac__type_sizeof_; |
10112 |
-int |
10113 |
-main () |
10114 |
-{ |
10115 |
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
10116 |
-test_array [0] = 0 |
10117 |
- |
10118 |
- ; |
10119 |
- return 0; |
10120 |
-} |
10121 |
-_ACEOF |
10122 |
-rm -f conftest.$ac_objext |
10123 |
-if { (ac_try="$ac_compile" |
10124 |
-case "(($ac_try" in |
10125 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10126 |
- *) ac_try_echo=$ac_try;; |
10127 |
-esac |
10128 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
10129 |
- (eval "$ac_compile") 2>conftest.er1 |
10130 |
- ac_status=$? |
10131 |
- grep -v '^ *+' conftest.er1 >conftest.err |
10132 |
- rm -f conftest.er1 |
10133 |
- cat conftest.err >&5 |
10134 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10135 |
- (exit $ac_status); } && { |
10136 |
- test -z "$ac_c_werror_flag" || |
10137 |
- test ! -s conftest.err |
10138 |
- } && test -s conftest.$ac_objext; then |
10139 |
- ac_hi=$ac_mid |
10140 |
-else |
10141 |
- echo "$as_me: failed program was:" >&5 |
10142 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
10143 |
- |
10144 |
- ac_lo=`expr '(' $ac_mid ')' + 1` |
10145 |
-fi |
10146 |
- |
10147 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10148 |
-done |
10149 |
-case $ac_lo in |
10150 |
-?*) ac_cv_sizeof_int=$ac_lo;; |
10151 |
-'') if test "$ac_cv_type_int" = yes; then |
10152 |
- { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) |
10153 |
-See \`config.log' for more details." >&5 |
10154 |
-echo "$as_me: error: cannot compute sizeof (int) |
10155 |
-See \`config.log' for more details." >&2;} |
10156 |
- { (exit 77); exit 77; }; } |
10157 |
- else |
10158 |
- ac_cv_sizeof_int=0 |
10159 |
- fi ;; |
10160 |
-esac |
10161 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 |
10162 |
+$as_echo_n "checking size of int... " >&6; } |
10163 |
+if ${ac_cv_sizeof_int+:} false; then : |
10164 |
+ $as_echo_n "(cached) " >&6 |
10165 |
else |
10166 |
- cat >conftest.$ac_ext <<_ACEOF |
10167 |
-/* confdefs.h. */ |
10168 |
-_ACEOF |
10169 |
-cat confdefs.h >>conftest.$ac_ext |
10170 |
-cat >>conftest.$ac_ext <<_ACEOF |
10171 |
-/* end confdefs.h. */ |
10172 |
-$ac_includes_default |
10173 |
- typedef int ac__type_sizeof_; |
10174 |
-static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } |
10175 |
-static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } |
10176 |
-#include <stdio.h> |
10177 |
-#include <stdlib.h> |
10178 |
-int |
10179 |
-main () |
10180 |
-{ |
10181 |
- |
10182 |
- FILE *f = fopen ("conftest.val", "w"); |
10183 |
- if (! f) |
10184 |
- return 1; |
10185 |
- if (((long int) (sizeof (ac__type_sizeof_))) < 0) |
10186 |
- { |
10187 |
- long int i = longval (); |
10188 |
- if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
10189 |
- return 1; |
10190 |
- fprintf (f, "%ld\n", i); |
10191 |
- } |
10192 |
- else |
10193 |
- { |
10194 |
- unsigned long int i = ulongval (); |
10195 |
- if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
10196 |
- return 1; |
10197 |
- fprintf (f, "%lu\n", i); |
10198 |
- } |
10199 |
- return ferror (f) || fclose (f) != 0; |
10200 |
+ if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : |
10201 |
|
10202 |
- ; |
10203 |
- return 0; |
10204 |
-} |
10205 |
-_ACEOF |
10206 |
-rm -f conftest$ac_exeext |
10207 |
-if { (ac_try="$ac_link" |
10208 |
-case "(($ac_try" in |
10209 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10210 |
- *) ac_try_echo=$ac_try;; |
10211 |
-esac |
10212 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
10213 |
- (eval "$ac_link") 2>&5 |
10214 |
- ac_status=$? |
10215 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10216 |
- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
10217 |
- { (case "(($ac_try" in |
10218 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10219 |
- *) ac_try_echo=$ac_try;; |
10220 |
-esac |
10221 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
10222 |
- (eval "$ac_try") 2>&5 |
10223 |
- ac_status=$? |
10224 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10225 |
- (exit $ac_status); }; }; then |
10226 |
- ac_cv_sizeof_int=`cat conftest.val` |
10227 |
else |
10228 |
- echo "$as_me: program exited with status $ac_status" >&5 |
10229 |
-echo "$as_me: failed program was:" >&5 |
10230 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
10231 |
- |
10232 |
-( exit $ac_status ) |
10233 |
-if test "$ac_cv_type_int" = yes; then |
10234 |
- { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) |
10235 |
-See \`config.log' for more details." >&5 |
10236 |
-echo "$as_me: error: cannot compute sizeof (int) |
10237 |
-See \`config.log' for more details." >&2;} |
10238 |
- { (exit 77); exit 77; }; } |
10239 |
+ if test "$ac_cv_type_int" = yes; then |
10240 |
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
10241 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
10242 |
+as_fn_error 77 "cannot compute sizeof (int) |
10243 |
+See \`config.log' for more details" "$LINENO" 5; } |
10244 |
else |
10245 |
ac_cv_sizeof_int=0 |
10246 |
fi |
10247 |
fi |
10248 |
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
10249 |
-fi |
10250 |
-rm -f conftest.val |
10251 |
+ |
10252 |
fi |
10253 |
-{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 |
10254 |
-echo "${ECHO_T}$ac_cv_sizeof_int" >&6; } |
10255 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 |
10256 |
+$as_echo "$ac_cv_sizeof_int" >&6; } |
10257 |
|
10258 |
|
10259 |
|
10260 |
@@ -8759,403 +5830,31 @@ cat >>confdefs.h <<_ACEOF |
10261 |
_ACEOF |
10262 |
|
10263 |
|
10264 |
-{ echo "$as_me:$LINENO: checking for unsigned" >&5 |
10265 |
-echo $ECHO_N "checking for unsigned... $ECHO_C" >&6; } |
10266 |
-if test "${ac_cv_type_unsigned+set}" = set; then |
10267 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
10268 |
-else |
10269 |
- cat >conftest.$ac_ext <<_ACEOF |
10270 |
-/* confdefs.h. */ |
10271 |
-_ACEOF |
10272 |
-cat confdefs.h >>conftest.$ac_ext |
10273 |
-cat >>conftest.$ac_ext <<_ACEOF |
10274 |
-/* end confdefs.h. */ |
10275 |
-$ac_includes_default |
10276 |
-typedef unsigned ac__type_new_; |
10277 |
-int |
10278 |
-main () |
10279 |
-{ |
10280 |
-if ((ac__type_new_ *) 0) |
10281 |
- return 0; |
10282 |
-if (sizeof (ac__type_new_)) |
10283 |
- return 0; |
10284 |
- ; |
10285 |
- return 0; |
10286 |
-} |
10287 |
-_ACEOF |
10288 |
-rm -f conftest.$ac_objext |
10289 |
-if { (ac_try="$ac_compile" |
10290 |
-case "(($ac_try" in |
10291 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10292 |
- *) ac_try_echo=$ac_try;; |
10293 |
-esac |
10294 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
10295 |
- (eval "$ac_compile") 2>conftest.er1 |
10296 |
- ac_status=$? |
10297 |
- grep -v '^ *+' conftest.er1 >conftest.err |
10298 |
- rm -f conftest.er1 |
10299 |
- cat conftest.err >&5 |
10300 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10301 |
- (exit $ac_status); } && { |
10302 |
- test -z "$ac_c_werror_flag" || |
10303 |
- test ! -s conftest.err |
10304 |
- } && test -s conftest.$ac_objext; then |
10305 |
- ac_cv_type_unsigned=yes |
10306 |
-else |
10307 |
- echo "$as_me: failed program was:" >&5 |
10308 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
10309 |
- |
10310 |
- ac_cv_type_unsigned=no |
10311 |
-fi |
10312 |
- |
10313 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10314 |
-fi |
10315 |
-{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned" >&5 |
10316 |
-echo "${ECHO_T}$ac_cv_type_unsigned" >&6; } |
10317 |
- |
10318 |
# The cast to long int works around a bug in the HP C Compiler |
10319 |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
10320 |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
10321 |
# This bug is HP SR number 8606223364. |
10322 |
-{ echo "$as_me:$LINENO: checking size of unsigned" >&5 |
10323 |
-echo $ECHO_N "checking size of unsigned... $ECHO_C" >&6; } |
10324 |
-if test "${ac_cv_sizeof_unsigned+set}" = set; then |
10325 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
10326 |
-else |
10327 |
- if test "$cross_compiling" = yes; then |
10328 |
- # Depending upon the size, compute the lo and hi bounds. |
10329 |
-cat >conftest.$ac_ext <<_ACEOF |
10330 |
-/* confdefs.h. */ |
10331 |
-_ACEOF |
10332 |
-cat confdefs.h >>conftest.$ac_ext |
10333 |
-cat >>conftest.$ac_ext <<_ACEOF |
10334 |
-/* end confdefs.h. */ |
10335 |
-$ac_includes_default |
10336 |
- typedef unsigned ac__type_sizeof_; |
10337 |
-int |
10338 |
-main () |
10339 |
-{ |
10340 |
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; |
10341 |
-test_array [0] = 0 |
10342 |
- |
10343 |
- ; |
10344 |
- return 0; |
10345 |
-} |
10346 |
-_ACEOF |
10347 |
-rm -f conftest.$ac_objext |
10348 |
-if { (ac_try="$ac_compile" |
10349 |
-case "(($ac_try" in |
10350 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10351 |
- *) ac_try_echo=$ac_try;; |
10352 |
-esac |
10353 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
10354 |
- (eval "$ac_compile") 2>conftest.er1 |
10355 |
- ac_status=$? |
10356 |
- grep -v '^ *+' conftest.er1 >conftest.err |
10357 |
- rm -f conftest.er1 |
10358 |
- cat conftest.err >&5 |
10359 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10360 |
- (exit $ac_status); } && { |
10361 |
- test -z "$ac_c_werror_flag" || |
10362 |
- test ! -s conftest.err |
10363 |
- } && test -s conftest.$ac_objext; then |
10364 |
- ac_lo=0 ac_mid=0 |
10365 |
- while :; do |
10366 |
- cat >conftest.$ac_ext <<_ACEOF |
10367 |
-/* confdefs.h. */ |
10368 |
-_ACEOF |
10369 |
-cat confdefs.h >>conftest.$ac_ext |
10370 |
-cat >>conftest.$ac_ext <<_ACEOF |
10371 |
-/* end confdefs.h. */ |
10372 |
-$ac_includes_default |
10373 |
- typedef unsigned ac__type_sizeof_; |
10374 |
-int |
10375 |
-main () |
10376 |
-{ |
10377 |
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
10378 |
-test_array [0] = 0 |
10379 |
- |
10380 |
- ; |
10381 |
- return 0; |
10382 |
-} |
10383 |
-_ACEOF |
10384 |
-rm -f conftest.$ac_objext |
10385 |
-if { (ac_try="$ac_compile" |
10386 |
-case "(($ac_try" in |
10387 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10388 |
- *) ac_try_echo=$ac_try;; |
10389 |
-esac |
10390 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
10391 |
- (eval "$ac_compile") 2>conftest.er1 |
10392 |
- ac_status=$? |
10393 |
- grep -v '^ *+' conftest.er1 >conftest.err |
10394 |
- rm -f conftest.er1 |
10395 |
- cat conftest.err >&5 |
10396 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10397 |
- (exit $ac_status); } && { |
10398 |
- test -z "$ac_c_werror_flag" || |
10399 |
- test ! -s conftest.err |
10400 |
- } && test -s conftest.$ac_objext; then |
10401 |
- ac_hi=$ac_mid; break |
10402 |
-else |
10403 |
- echo "$as_me: failed program was:" >&5 |
10404 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
10405 |
- |
10406 |
- ac_lo=`expr $ac_mid + 1` |
10407 |
- if test $ac_lo -le $ac_mid; then |
10408 |
- ac_lo= ac_hi= |
10409 |
- break |
10410 |
- fi |
10411 |
- ac_mid=`expr 2 '*' $ac_mid + 1` |
10412 |
-fi |
10413 |
- |
10414 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10415 |
- done |
10416 |
-else |
10417 |
- echo "$as_me: failed program was:" >&5 |
10418 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
10419 |
- |
10420 |
- cat >conftest.$ac_ext <<_ACEOF |
10421 |
-/* confdefs.h. */ |
10422 |
-_ACEOF |
10423 |
-cat confdefs.h >>conftest.$ac_ext |
10424 |
-cat >>conftest.$ac_ext <<_ACEOF |
10425 |
-/* end confdefs.h. */ |
10426 |
-$ac_includes_default |
10427 |
- typedef unsigned ac__type_sizeof_; |
10428 |
-int |
10429 |
-main () |
10430 |
-{ |
10431 |
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; |
10432 |
-test_array [0] = 0 |
10433 |
- |
10434 |
- ; |
10435 |
- return 0; |
10436 |
-} |
10437 |
-_ACEOF |
10438 |
-rm -f conftest.$ac_objext |
10439 |
-if { (ac_try="$ac_compile" |
10440 |
-case "(($ac_try" in |
10441 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10442 |
- *) ac_try_echo=$ac_try;; |
10443 |
-esac |
10444 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
10445 |
- (eval "$ac_compile") 2>conftest.er1 |
10446 |
- ac_status=$? |
10447 |
- grep -v '^ *+' conftest.er1 >conftest.err |
10448 |
- rm -f conftest.er1 |
10449 |
- cat conftest.err >&5 |
10450 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10451 |
- (exit $ac_status); } && { |
10452 |
- test -z "$ac_c_werror_flag" || |
10453 |
- test ! -s conftest.err |
10454 |
- } && test -s conftest.$ac_objext; then |
10455 |
- ac_hi=-1 ac_mid=-1 |
10456 |
- while :; do |
10457 |
- cat >conftest.$ac_ext <<_ACEOF |
10458 |
-/* confdefs.h. */ |
10459 |
-_ACEOF |
10460 |
-cat confdefs.h >>conftest.$ac_ext |
10461 |
-cat >>conftest.$ac_ext <<_ACEOF |
10462 |
-/* end confdefs.h. */ |
10463 |
-$ac_includes_default |
10464 |
- typedef unsigned ac__type_sizeof_; |
10465 |
-int |
10466 |
-main () |
10467 |
-{ |
10468 |
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; |
10469 |
-test_array [0] = 0 |
10470 |
- |
10471 |
- ; |
10472 |
- return 0; |
10473 |
-} |
10474 |
-_ACEOF |
10475 |
-rm -f conftest.$ac_objext |
10476 |
-if { (ac_try="$ac_compile" |
10477 |
-case "(($ac_try" in |
10478 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10479 |
- *) ac_try_echo=$ac_try;; |
10480 |
-esac |
10481 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
10482 |
- (eval "$ac_compile") 2>conftest.er1 |
10483 |
- ac_status=$? |
10484 |
- grep -v '^ *+' conftest.er1 >conftest.err |
10485 |
- rm -f conftest.er1 |
10486 |
- cat conftest.err >&5 |
10487 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10488 |
- (exit $ac_status); } && { |
10489 |
- test -z "$ac_c_werror_flag" || |
10490 |
- test ! -s conftest.err |
10491 |
- } && test -s conftest.$ac_objext; then |
10492 |
- ac_lo=$ac_mid; break |
10493 |
-else |
10494 |
- echo "$as_me: failed program was:" >&5 |
10495 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
10496 |
- |
10497 |
- ac_hi=`expr '(' $ac_mid ')' - 1` |
10498 |
- if test $ac_mid -le $ac_hi; then |
10499 |
- ac_lo= ac_hi= |
10500 |
- break |
10501 |
- fi |
10502 |
- ac_mid=`expr 2 '*' $ac_mid` |
10503 |
-fi |
10504 |
- |
10505 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10506 |
- done |
10507 |
-else |
10508 |
- echo "$as_me: failed program was:" >&5 |
10509 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
10510 |
- |
10511 |
- ac_lo= ac_hi= |
10512 |
-fi |
10513 |
- |
10514 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10515 |
-fi |
10516 |
- |
10517 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10518 |
-# Binary search between lo and hi bounds. |
10519 |
-while test "x$ac_lo" != "x$ac_hi"; do |
10520 |
- ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
10521 |
- cat >conftest.$ac_ext <<_ACEOF |
10522 |
-/* confdefs.h. */ |
10523 |
-_ACEOF |
10524 |
-cat confdefs.h >>conftest.$ac_ext |
10525 |
-cat >>conftest.$ac_ext <<_ACEOF |
10526 |
-/* end confdefs.h. */ |
10527 |
-$ac_includes_default |
10528 |
- typedef unsigned ac__type_sizeof_; |
10529 |
-int |
10530 |
-main () |
10531 |
-{ |
10532 |
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
10533 |
-test_array [0] = 0 |
10534 |
- |
10535 |
- ; |
10536 |
- return 0; |
10537 |
-} |
10538 |
-_ACEOF |
10539 |
-rm -f conftest.$ac_objext |
10540 |
-if { (ac_try="$ac_compile" |
10541 |
-case "(($ac_try" in |
10542 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10543 |
- *) ac_try_echo=$ac_try;; |
10544 |
-esac |
10545 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
10546 |
- (eval "$ac_compile") 2>conftest.er1 |
10547 |
- ac_status=$? |
10548 |
- grep -v '^ *+' conftest.er1 >conftest.err |
10549 |
- rm -f conftest.er1 |
10550 |
- cat conftest.err >&5 |
10551 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10552 |
- (exit $ac_status); } && { |
10553 |
- test -z "$ac_c_werror_flag" || |
10554 |
- test ! -s conftest.err |
10555 |
- } && test -s conftest.$ac_objext; then |
10556 |
- ac_hi=$ac_mid |
10557 |
-else |
10558 |
- echo "$as_me: failed program was:" >&5 |
10559 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
10560 |
- |
10561 |
- ac_lo=`expr '(' $ac_mid ')' + 1` |
10562 |
-fi |
10563 |
- |
10564 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10565 |
-done |
10566 |
-case $ac_lo in |
10567 |
-?*) ac_cv_sizeof_unsigned=$ac_lo;; |
10568 |
-'') if test "$ac_cv_type_unsigned" = yes; then |
10569 |
- { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned) |
10570 |
-See \`config.log' for more details." >&5 |
10571 |
-echo "$as_me: error: cannot compute sizeof (unsigned) |
10572 |
-See \`config.log' for more details." >&2;} |
10573 |
- { (exit 77); exit 77; }; } |
10574 |
- else |
10575 |
- ac_cv_sizeof_unsigned=0 |
10576 |
- fi ;; |
10577 |
-esac |
10578 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned" >&5 |
10579 |
+$as_echo_n "checking size of unsigned... " >&6; } |
10580 |
+if ${ac_cv_sizeof_unsigned+:} false; then : |
10581 |
+ $as_echo_n "(cached) " >&6 |
10582 |
else |
10583 |
- cat >conftest.$ac_ext <<_ACEOF |
10584 |
-/* confdefs.h. */ |
10585 |
-_ACEOF |
10586 |
-cat confdefs.h >>conftest.$ac_ext |
10587 |
-cat >>conftest.$ac_ext <<_ACEOF |
10588 |
-/* end confdefs.h. */ |
10589 |
-$ac_includes_default |
10590 |
- typedef unsigned ac__type_sizeof_; |
10591 |
-static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } |
10592 |
-static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } |
10593 |
-#include <stdio.h> |
10594 |
-#include <stdlib.h> |
10595 |
-int |
10596 |
-main () |
10597 |
-{ |
10598 |
- |
10599 |
- FILE *f = fopen ("conftest.val", "w"); |
10600 |
- if (! f) |
10601 |
- return 1; |
10602 |
- if (((long int) (sizeof (ac__type_sizeof_))) < 0) |
10603 |
- { |
10604 |
- long int i = longval (); |
10605 |
- if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
10606 |
- return 1; |
10607 |
- fprintf (f, "%ld\n", i); |
10608 |
- } |
10609 |
- else |
10610 |
- { |
10611 |
- unsigned long int i = ulongval (); |
10612 |
- if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
10613 |
- return 1; |
10614 |
- fprintf (f, "%lu\n", i); |
10615 |
- } |
10616 |
- return ferror (f) || fclose (f) != 0; |
10617 |
+ if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned))" "ac_cv_sizeof_unsigned" "$ac_includes_default"; then : |
10618 |
|
10619 |
- ; |
10620 |
- return 0; |
10621 |
-} |
10622 |
-_ACEOF |
10623 |
-rm -f conftest$ac_exeext |
10624 |
-if { (ac_try="$ac_link" |
10625 |
-case "(($ac_try" in |
10626 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10627 |
- *) ac_try_echo=$ac_try;; |
10628 |
-esac |
10629 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
10630 |
- (eval "$ac_link") 2>&5 |
10631 |
- ac_status=$? |
10632 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10633 |
- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
10634 |
- { (case "(($ac_try" in |
10635 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10636 |
- *) ac_try_echo=$ac_try;; |
10637 |
-esac |
10638 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
10639 |
- (eval "$ac_try") 2>&5 |
10640 |
- ac_status=$? |
10641 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10642 |
- (exit $ac_status); }; }; then |
10643 |
- ac_cv_sizeof_unsigned=`cat conftest.val` |
10644 |
else |
10645 |
- echo "$as_me: program exited with status $ac_status" >&5 |
10646 |
-echo "$as_me: failed program was:" >&5 |
10647 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
10648 |
- |
10649 |
-( exit $ac_status ) |
10650 |
-if test "$ac_cv_type_unsigned" = yes; then |
10651 |
- { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned) |
10652 |
-See \`config.log' for more details." >&5 |
10653 |
-echo "$as_me: error: cannot compute sizeof (unsigned) |
10654 |
-See \`config.log' for more details." >&2;} |
10655 |
- { (exit 77); exit 77; }; } |
10656 |
+ if test "$ac_cv_type_unsigned" = yes; then |
10657 |
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
10658 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
10659 |
+as_fn_error 77 "cannot compute sizeof (unsigned) |
10660 |
+See \`config.log' for more details" "$LINENO" 5; } |
10661 |
else |
10662 |
ac_cv_sizeof_unsigned=0 |
10663 |
fi |
10664 |
fi |
10665 |
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
10666 |
-fi |
10667 |
-rm -f conftest.val |
10668 |
+ |
10669 |
fi |
10670 |
-{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned" >&5 |
10671 |
-echo "${ECHO_T}$ac_cv_sizeof_unsigned" >&6; } |
10672 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned" >&5 |
10673 |
+$as_echo "$ac_cv_sizeof_unsigned" >&6; } |
10674 |
|
10675 |
|
10676 |
|
10677 |
@@ -9164,403 +5863,31 @@ cat >>confdefs.h <<_ACEOF |
10678 |
_ACEOF |
10679 |
|
10680 |
|
10681 |
-{ echo "$as_me:$LINENO: checking for long" >&5 |
10682 |
-echo $ECHO_N "checking for long... $ECHO_C" >&6; } |
10683 |
-if test "${ac_cv_type_long+set}" = set; then |
10684 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
10685 |
-else |
10686 |
- cat >conftest.$ac_ext <<_ACEOF |
10687 |
-/* confdefs.h. */ |
10688 |
-_ACEOF |
10689 |
-cat confdefs.h >>conftest.$ac_ext |
10690 |
-cat >>conftest.$ac_ext <<_ACEOF |
10691 |
-/* end confdefs.h. */ |
10692 |
-$ac_includes_default |
10693 |
-typedef long ac__type_new_; |
10694 |
-int |
10695 |
-main () |
10696 |
-{ |
10697 |
-if ((ac__type_new_ *) 0) |
10698 |
- return 0; |
10699 |
-if (sizeof (ac__type_new_)) |
10700 |
- return 0; |
10701 |
- ; |
10702 |
- return 0; |
10703 |
-} |
10704 |
-_ACEOF |
10705 |
-rm -f conftest.$ac_objext |
10706 |
-if { (ac_try="$ac_compile" |
10707 |
-case "(($ac_try" in |
10708 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10709 |
- *) ac_try_echo=$ac_try;; |
10710 |
-esac |
10711 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
10712 |
- (eval "$ac_compile") 2>conftest.er1 |
10713 |
- ac_status=$? |
10714 |
- grep -v '^ *+' conftest.er1 >conftest.err |
10715 |
- rm -f conftest.er1 |
10716 |
- cat conftest.err >&5 |
10717 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10718 |
- (exit $ac_status); } && { |
10719 |
- test -z "$ac_c_werror_flag" || |
10720 |
- test ! -s conftest.err |
10721 |
- } && test -s conftest.$ac_objext; then |
10722 |
- ac_cv_type_long=yes |
10723 |
-else |
10724 |
- echo "$as_me: failed program was:" >&5 |
10725 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
10726 |
- |
10727 |
- ac_cv_type_long=no |
10728 |
-fi |
10729 |
- |
10730 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10731 |
-fi |
10732 |
-{ echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5 |
10733 |
-echo "${ECHO_T}$ac_cv_type_long" >&6; } |
10734 |
- |
10735 |
# The cast to long int works around a bug in the HP C Compiler |
10736 |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
10737 |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
10738 |
# This bug is HP SR number 8606223364. |
10739 |
-{ echo "$as_me:$LINENO: checking size of long" >&5 |
10740 |
-echo $ECHO_N "checking size of long... $ECHO_C" >&6; } |
10741 |
-if test "${ac_cv_sizeof_long+set}" = set; then |
10742 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
10743 |
-else |
10744 |
- if test "$cross_compiling" = yes; then |
10745 |
- # Depending upon the size, compute the lo and hi bounds. |
10746 |
-cat >conftest.$ac_ext <<_ACEOF |
10747 |
-/* confdefs.h. */ |
10748 |
-_ACEOF |
10749 |
-cat confdefs.h >>conftest.$ac_ext |
10750 |
-cat >>conftest.$ac_ext <<_ACEOF |
10751 |
-/* end confdefs.h. */ |
10752 |
-$ac_includes_default |
10753 |
- typedef long ac__type_sizeof_; |
10754 |
-int |
10755 |
-main () |
10756 |
-{ |
10757 |
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; |
10758 |
-test_array [0] = 0 |
10759 |
- |
10760 |
- ; |
10761 |
- return 0; |
10762 |
-} |
10763 |
-_ACEOF |
10764 |
-rm -f conftest.$ac_objext |
10765 |
-if { (ac_try="$ac_compile" |
10766 |
-case "(($ac_try" in |
10767 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10768 |
- *) ac_try_echo=$ac_try;; |
10769 |
-esac |
10770 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
10771 |
- (eval "$ac_compile") 2>conftest.er1 |
10772 |
- ac_status=$? |
10773 |
- grep -v '^ *+' conftest.er1 >conftest.err |
10774 |
- rm -f conftest.er1 |
10775 |
- cat conftest.err >&5 |
10776 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10777 |
- (exit $ac_status); } && { |
10778 |
- test -z "$ac_c_werror_flag" || |
10779 |
- test ! -s conftest.err |
10780 |
- } && test -s conftest.$ac_objext; then |
10781 |
- ac_lo=0 ac_mid=0 |
10782 |
- while :; do |
10783 |
- cat >conftest.$ac_ext <<_ACEOF |
10784 |
-/* confdefs.h. */ |
10785 |
-_ACEOF |
10786 |
-cat confdefs.h >>conftest.$ac_ext |
10787 |
-cat >>conftest.$ac_ext <<_ACEOF |
10788 |
-/* end confdefs.h. */ |
10789 |
-$ac_includes_default |
10790 |
- typedef long ac__type_sizeof_; |
10791 |
-int |
10792 |
-main () |
10793 |
-{ |
10794 |
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
10795 |
-test_array [0] = 0 |
10796 |
- |
10797 |
- ; |
10798 |
- return 0; |
10799 |
-} |
10800 |
-_ACEOF |
10801 |
-rm -f conftest.$ac_objext |
10802 |
-if { (ac_try="$ac_compile" |
10803 |
-case "(($ac_try" in |
10804 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10805 |
- *) ac_try_echo=$ac_try;; |
10806 |
-esac |
10807 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
10808 |
- (eval "$ac_compile") 2>conftest.er1 |
10809 |
- ac_status=$? |
10810 |
- grep -v '^ *+' conftest.er1 >conftest.err |
10811 |
- rm -f conftest.er1 |
10812 |
- cat conftest.err >&5 |
10813 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10814 |
- (exit $ac_status); } && { |
10815 |
- test -z "$ac_c_werror_flag" || |
10816 |
- test ! -s conftest.err |
10817 |
- } && test -s conftest.$ac_objext; then |
10818 |
- ac_hi=$ac_mid; break |
10819 |
-else |
10820 |
- echo "$as_me: failed program was:" >&5 |
10821 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
10822 |
- |
10823 |
- ac_lo=`expr $ac_mid + 1` |
10824 |
- if test $ac_lo -le $ac_mid; then |
10825 |
- ac_lo= ac_hi= |
10826 |
- break |
10827 |
- fi |
10828 |
- ac_mid=`expr 2 '*' $ac_mid + 1` |
10829 |
-fi |
10830 |
- |
10831 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10832 |
- done |
10833 |
-else |
10834 |
- echo "$as_me: failed program was:" >&5 |
10835 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
10836 |
- |
10837 |
- cat >conftest.$ac_ext <<_ACEOF |
10838 |
-/* confdefs.h. */ |
10839 |
-_ACEOF |
10840 |
-cat confdefs.h >>conftest.$ac_ext |
10841 |
-cat >>conftest.$ac_ext <<_ACEOF |
10842 |
-/* end confdefs.h. */ |
10843 |
-$ac_includes_default |
10844 |
- typedef long ac__type_sizeof_; |
10845 |
-int |
10846 |
-main () |
10847 |
-{ |
10848 |
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; |
10849 |
-test_array [0] = 0 |
10850 |
- |
10851 |
- ; |
10852 |
- return 0; |
10853 |
-} |
10854 |
-_ACEOF |
10855 |
-rm -f conftest.$ac_objext |
10856 |
-if { (ac_try="$ac_compile" |
10857 |
-case "(($ac_try" in |
10858 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10859 |
- *) ac_try_echo=$ac_try;; |
10860 |
-esac |
10861 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
10862 |
- (eval "$ac_compile") 2>conftest.er1 |
10863 |
- ac_status=$? |
10864 |
- grep -v '^ *+' conftest.er1 >conftest.err |
10865 |
- rm -f conftest.er1 |
10866 |
- cat conftest.err >&5 |
10867 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10868 |
- (exit $ac_status); } && { |
10869 |
- test -z "$ac_c_werror_flag" || |
10870 |
- test ! -s conftest.err |
10871 |
- } && test -s conftest.$ac_objext; then |
10872 |
- ac_hi=-1 ac_mid=-1 |
10873 |
- while :; do |
10874 |
- cat >conftest.$ac_ext <<_ACEOF |
10875 |
-/* confdefs.h. */ |
10876 |
-_ACEOF |
10877 |
-cat confdefs.h >>conftest.$ac_ext |
10878 |
-cat >>conftest.$ac_ext <<_ACEOF |
10879 |
-/* end confdefs.h. */ |
10880 |
-$ac_includes_default |
10881 |
- typedef long ac__type_sizeof_; |
10882 |
-int |
10883 |
-main () |
10884 |
-{ |
10885 |
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; |
10886 |
-test_array [0] = 0 |
10887 |
- |
10888 |
- ; |
10889 |
- return 0; |
10890 |
-} |
10891 |
-_ACEOF |
10892 |
-rm -f conftest.$ac_objext |
10893 |
-if { (ac_try="$ac_compile" |
10894 |
-case "(($ac_try" in |
10895 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10896 |
- *) ac_try_echo=$ac_try;; |
10897 |
-esac |
10898 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
10899 |
- (eval "$ac_compile") 2>conftest.er1 |
10900 |
- ac_status=$? |
10901 |
- grep -v '^ *+' conftest.er1 >conftest.err |
10902 |
- rm -f conftest.er1 |
10903 |
- cat conftest.err >&5 |
10904 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10905 |
- (exit $ac_status); } && { |
10906 |
- test -z "$ac_c_werror_flag" || |
10907 |
- test ! -s conftest.err |
10908 |
- } && test -s conftest.$ac_objext; then |
10909 |
- ac_lo=$ac_mid; break |
10910 |
-else |
10911 |
- echo "$as_me: failed program was:" >&5 |
10912 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
10913 |
- |
10914 |
- ac_hi=`expr '(' $ac_mid ')' - 1` |
10915 |
- if test $ac_mid -le $ac_hi; then |
10916 |
- ac_lo= ac_hi= |
10917 |
- break |
10918 |
- fi |
10919 |
- ac_mid=`expr 2 '*' $ac_mid` |
10920 |
-fi |
10921 |
- |
10922 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10923 |
- done |
10924 |
-else |
10925 |
- echo "$as_me: failed program was:" >&5 |
10926 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
10927 |
- |
10928 |
- ac_lo= ac_hi= |
10929 |
-fi |
10930 |
- |
10931 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10932 |
-fi |
10933 |
- |
10934 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10935 |
-# Binary search between lo and hi bounds. |
10936 |
-while test "x$ac_lo" != "x$ac_hi"; do |
10937 |
- ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
10938 |
- cat >conftest.$ac_ext <<_ACEOF |
10939 |
-/* confdefs.h. */ |
10940 |
-_ACEOF |
10941 |
-cat confdefs.h >>conftest.$ac_ext |
10942 |
-cat >>conftest.$ac_ext <<_ACEOF |
10943 |
-/* end confdefs.h. */ |
10944 |
-$ac_includes_default |
10945 |
- typedef long ac__type_sizeof_; |
10946 |
-int |
10947 |
-main () |
10948 |
-{ |
10949 |
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
10950 |
-test_array [0] = 0 |
10951 |
- |
10952 |
- ; |
10953 |
- return 0; |
10954 |
-} |
10955 |
-_ACEOF |
10956 |
-rm -f conftest.$ac_objext |
10957 |
-if { (ac_try="$ac_compile" |
10958 |
-case "(($ac_try" in |
10959 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10960 |
- *) ac_try_echo=$ac_try;; |
10961 |
-esac |
10962 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
10963 |
- (eval "$ac_compile") 2>conftest.er1 |
10964 |
- ac_status=$? |
10965 |
- grep -v '^ *+' conftest.er1 >conftest.err |
10966 |
- rm -f conftest.er1 |
10967 |
- cat conftest.err >&5 |
10968 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10969 |
- (exit $ac_status); } && { |
10970 |
- test -z "$ac_c_werror_flag" || |
10971 |
- test ! -s conftest.err |
10972 |
- } && test -s conftest.$ac_objext; then |
10973 |
- ac_hi=$ac_mid |
10974 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 |
10975 |
+$as_echo_n "checking size of long... " >&6; } |
10976 |
+if ${ac_cv_sizeof_long+:} false; then : |
10977 |
+ $as_echo_n "(cached) " >&6 |
10978 |
else |
10979 |
- echo "$as_me: failed program was:" >&5 |
10980 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
10981 |
- |
10982 |
- ac_lo=`expr '(' $ac_mid ')' + 1` |
10983 |
-fi |
10984 |
+ if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : |
10985 |
|
10986 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10987 |
-done |
10988 |
-case $ac_lo in |
10989 |
-?*) ac_cv_sizeof_long=$ac_lo;; |
10990 |
-'') if test "$ac_cv_type_long" = yes; then |
10991 |
- { { echo "$as_me:$LINENO: error: cannot compute sizeof (long) |
10992 |
-See \`config.log' for more details." >&5 |
10993 |
-echo "$as_me: error: cannot compute sizeof (long) |
10994 |
-See \`config.log' for more details." >&2;} |
10995 |
- { (exit 77); exit 77; }; } |
10996 |
- else |
10997 |
- ac_cv_sizeof_long=0 |
10998 |
- fi ;; |
10999 |
-esac |
11000 |
else |
11001 |
- cat >conftest.$ac_ext <<_ACEOF |
11002 |
-/* confdefs.h. */ |
11003 |
-_ACEOF |
11004 |
-cat confdefs.h >>conftest.$ac_ext |
11005 |
-cat >>conftest.$ac_ext <<_ACEOF |
11006 |
-/* end confdefs.h. */ |
11007 |
-$ac_includes_default |
11008 |
- typedef long ac__type_sizeof_; |
11009 |
-static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } |
11010 |
-static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } |
11011 |
-#include <stdio.h> |
11012 |
-#include <stdlib.h> |
11013 |
-int |
11014 |
-main () |
11015 |
-{ |
11016 |
- |
11017 |
- FILE *f = fopen ("conftest.val", "w"); |
11018 |
- if (! f) |
11019 |
- return 1; |
11020 |
- if (((long int) (sizeof (ac__type_sizeof_))) < 0) |
11021 |
- { |
11022 |
- long int i = longval (); |
11023 |
- if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
11024 |
- return 1; |
11025 |
- fprintf (f, "%ld\n", i); |
11026 |
- } |
11027 |
- else |
11028 |
- { |
11029 |
- unsigned long int i = ulongval (); |
11030 |
- if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
11031 |
- return 1; |
11032 |
- fprintf (f, "%lu\n", i); |
11033 |
- } |
11034 |
- return ferror (f) || fclose (f) != 0; |
11035 |
- |
11036 |
- ; |
11037 |
- return 0; |
11038 |
-} |
11039 |
-_ACEOF |
11040 |
-rm -f conftest$ac_exeext |
11041 |
-if { (ac_try="$ac_link" |
11042 |
-case "(($ac_try" in |
11043 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11044 |
- *) ac_try_echo=$ac_try;; |
11045 |
-esac |
11046 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11047 |
- (eval "$ac_link") 2>&5 |
11048 |
- ac_status=$? |
11049 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11050 |
- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
11051 |
- { (case "(($ac_try" in |
11052 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11053 |
- *) ac_try_echo=$ac_try;; |
11054 |
-esac |
11055 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11056 |
- (eval "$ac_try") 2>&5 |
11057 |
- ac_status=$? |
11058 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11059 |
- (exit $ac_status); }; }; then |
11060 |
- ac_cv_sizeof_long=`cat conftest.val` |
11061 |
-else |
11062 |
- echo "$as_me: program exited with status $ac_status" >&5 |
11063 |
-echo "$as_me: failed program was:" >&5 |
11064 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
11065 |
- |
11066 |
-( exit $ac_status ) |
11067 |
-if test "$ac_cv_type_long" = yes; then |
11068 |
- { { echo "$as_me:$LINENO: error: cannot compute sizeof (long) |
11069 |
-See \`config.log' for more details." >&5 |
11070 |
-echo "$as_me: error: cannot compute sizeof (long) |
11071 |
-See \`config.log' for more details." >&2;} |
11072 |
- { (exit 77); exit 77; }; } |
11073 |
+ if test "$ac_cv_type_long" = yes; then |
11074 |
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
11075 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
11076 |
+as_fn_error 77 "cannot compute sizeof (long) |
11077 |
+See \`config.log' for more details" "$LINENO" 5; } |
11078 |
else |
11079 |
ac_cv_sizeof_long=0 |
11080 |
fi |
11081 |
fi |
11082 |
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11083 |
-fi |
11084 |
-rm -f conftest.val |
11085 |
+ |
11086 |
fi |
11087 |
-{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 |
11088 |
-echo "${ECHO_T}$ac_cv_sizeof_long" >&6; } |
11089 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 |
11090 |
+$as_echo "$ac_cv_sizeof_long" >&6; } |
11091 |
|
11092 |
|
11093 |
|
11094 |
@@ -9569,403 +5896,31 @@ cat >>confdefs.h <<_ACEOF |
11095 |
_ACEOF |
11096 |
|
11097 |
|
11098 |
-{ echo "$as_me:$LINENO: checking for unsigned long" >&5 |
11099 |
-echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6; } |
11100 |
-if test "${ac_cv_type_unsigned_long+set}" = set; then |
11101 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
11102 |
-else |
11103 |
- cat >conftest.$ac_ext <<_ACEOF |
11104 |
-/* confdefs.h. */ |
11105 |
-_ACEOF |
11106 |
-cat confdefs.h >>conftest.$ac_ext |
11107 |
-cat >>conftest.$ac_ext <<_ACEOF |
11108 |
-/* end confdefs.h. */ |
11109 |
-$ac_includes_default |
11110 |
-typedef unsigned long ac__type_new_; |
11111 |
-int |
11112 |
-main () |
11113 |
-{ |
11114 |
-if ((ac__type_new_ *) 0) |
11115 |
- return 0; |
11116 |
-if (sizeof (ac__type_new_)) |
11117 |
- return 0; |
11118 |
- ; |
11119 |
- return 0; |
11120 |
-} |
11121 |
-_ACEOF |
11122 |
-rm -f conftest.$ac_objext |
11123 |
-if { (ac_try="$ac_compile" |
11124 |
-case "(($ac_try" in |
11125 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11126 |
- *) ac_try_echo=$ac_try;; |
11127 |
-esac |
11128 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11129 |
- (eval "$ac_compile") 2>conftest.er1 |
11130 |
- ac_status=$? |
11131 |
- grep -v '^ *+' conftest.er1 >conftest.err |
11132 |
- rm -f conftest.er1 |
11133 |
- cat conftest.err >&5 |
11134 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11135 |
- (exit $ac_status); } && { |
11136 |
- test -z "$ac_c_werror_flag" || |
11137 |
- test ! -s conftest.err |
11138 |
- } && test -s conftest.$ac_objext; then |
11139 |
- ac_cv_type_unsigned_long=yes |
11140 |
-else |
11141 |
- echo "$as_me: failed program was:" >&5 |
11142 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
11143 |
- |
11144 |
- ac_cv_type_unsigned_long=no |
11145 |
-fi |
11146 |
- |
11147 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
11148 |
-fi |
11149 |
-{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5 |
11150 |
-echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6; } |
11151 |
- |
11152 |
# The cast to long int works around a bug in the HP C Compiler |
11153 |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
11154 |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
11155 |
# This bug is HP SR number 8606223364. |
11156 |
-{ echo "$as_me:$LINENO: checking size of unsigned long" >&5 |
11157 |
-echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6; } |
11158 |
-if test "${ac_cv_sizeof_unsigned_long+set}" = set; then |
11159 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
11160 |
-else |
11161 |
- if test "$cross_compiling" = yes; then |
11162 |
- # Depending upon the size, compute the lo and hi bounds. |
11163 |
-cat >conftest.$ac_ext <<_ACEOF |
11164 |
-/* confdefs.h. */ |
11165 |
-_ACEOF |
11166 |
-cat confdefs.h >>conftest.$ac_ext |
11167 |
-cat >>conftest.$ac_ext <<_ACEOF |
11168 |
-/* end confdefs.h. */ |
11169 |
-$ac_includes_default |
11170 |
- typedef unsigned long ac__type_sizeof_; |
11171 |
-int |
11172 |
-main () |
11173 |
-{ |
11174 |
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; |
11175 |
-test_array [0] = 0 |
11176 |
- |
11177 |
- ; |
11178 |
- return 0; |
11179 |
-} |
11180 |
-_ACEOF |
11181 |
-rm -f conftest.$ac_objext |
11182 |
-if { (ac_try="$ac_compile" |
11183 |
-case "(($ac_try" in |
11184 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11185 |
- *) ac_try_echo=$ac_try;; |
11186 |
-esac |
11187 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11188 |
- (eval "$ac_compile") 2>conftest.er1 |
11189 |
- ac_status=$? |
11190 |
- grep -v '^ *+' conftest.er1 >conftest.err |
11191 |
- rm -f conftest.er1 |
11192 |
- cat conftest.err >&5 |
11193 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11194 |
- (exit $ac_status); } && { |
11195 |
- test -z "$ac_c_werror_flag" || |
11196 |
- test ! -s conftest.err |
11197 |
- } && test -s conftest.$ac_objext; then |
11198 |
- ac_lo=0 ac_mid=0 |
11199 |
- while :; do |
11200 |
- cat >conftest.$ac_ext <<_ACEOF |
11201 |
-/* confdefs.h. */ |
11202 |
-_ACEOF |
11203 |
-cat confdefs.h >>conftest.$ac_ext |
11204 |
-cat >>conftest.$ac_ext <<_ACEOF |
11205 |
-/* end confdefs.h. */ |
11206 |
-$ac_includes_default |
11207 |
- typedef unsigned long ac__type_sizeof_; |
11208 |
-int |
11209 |
-main () |
11210 |
-{ |
11211 |
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
11212 |
-test_array [0] = 0 |
11213 |
- |
11214 |
- ; |
11215 |
- return 0; |
11216 |
-} |
11217 |
-_ACEOF |
11218 |
-rm -f conftest.$ac_objext |
11219 |
-if { (ac_try="$ac_compile" |
11220 |
-case "(($ac_try" in |
11221 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11222 |
- *) ac_try_echo=$ac_try;; |
11223 |
-esac |
11224 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11225 |
- (eval "$ac_compile") 2>conftest.er1 |
11226 |
- ac_status=$? |
11227 |
- grep -v '^ *+' conftest.er1 >conftest.err |
11228 |
- rm -f conftest.er1 |
11229 |
- cat conftest.err >&5 |
11230 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11231 |
- (exit $ac_status); } && { |
11232 |
- test -z "$ac_c_werror_flag" || |
11233 |
- test ! -s conftest.err |
11234 |
- } && test -s conftest.$ac_objext; then |
11235 |
- ac_hi=$ac_mid; break |
11236 |
-else |
11237 |
- echo "$as_me: failed program was:" >&5 |
11238 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
11239 |
- |
11240 |
- ac_lo=`expr $ac_mid + 1` |
11241 |
- if test $ac_lo -le $ac_mid; then |
11242 |
- ac_lo= ac_hi= |
11243 |
- break |
11244 |
- fi |
11245 |
- ac_mid=`expr 2 '*' $ac_mid + 1` |
11246 |
-fi |
11247 |
- |
11248 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
11249 |
- done |
11250 |
-else |
11251 |
- echo "$as_me: failed program was:" >&5 |
11252 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
11253 |
- |
11254 |
- cat >conftest.$ac_ext <<_ACEOF |
11255 |
-/* confdefs.h. */ |
11256 |
-_ACEOF |
11257 |
-cat confdefs.h >>conftest.$ac_ext |
11258 |
-cat >>conftest.$ac_ext <<_ACEOF |
11259 |
-/* end confdefs.h. */ |
11260 |
-$ac_includes_default |
11261 |
- typedef unsigned long ac__type_sizeof_; |
11262 |
-int |
11263 |
-main () |
11264 |
-{ |
11265 |
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; |
11266 |
-test_array [0] = 0 |
11267 |
- |
11268 |
- ; |
11269 |
- return 0; |
11270 |
-} |
11271 |
-_ACEOF |
11272 |
-rm -f conftest.$ac_objext |
11273 |
-if { (ac_try="$ac_compile" |
11274 |
-case "(($ac_try" in |
11275 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11276 |
- *) ac_try_echo=$ac_try;; |
11277 |
-esac |
11278 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11279 |
- (eval "$ac_compile") 2>conftest.er1 |
11280 |
- ac_status=$? |
11281 |
- grep -v '^ *+' conftest.er1 >conftest.err |
11282 |
- rm -f conftest.er1 |
11283 |
- cat conftest.err >&5 |
11284 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11285 |
- (exit $ac_status); } && { |
11286 |
- test -z "$ac_c_werror_flag" || |
11287 |
- test ! -s conftest.err |
11288 |
- } && test -s conftest.$ac_objext; then |
11289 |
- ac_hi=-1 ac_mid=-1 |
11290 |
- while :; do |
11291 |
- cat >conftest.$ac_ext <<_ACEOF |
11292 |
-/* confdefs.h. */ |
11293 |
-_ACEOF |
11294 |
-cat confdefs.h >>conftest.$ac_ext |
11295 |
-cat >>conftest.$ac_ext <<_ACEOF |
11296 |
-/* end confdefs.h. */ |
11297 |
-$ac_includes_default |
11298 |
- typedef unsigned long ac__type_sizeof_; |
11299 |
-int |
11300 |
-main () |
11301 |
-{ |
11302 |
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; |
11303 |
-test_array [0] = 0 |
11304 |
- |
11305 |
- ; |
11306 |
- return 0; |
11307 |
-} |
11308 |
-_ACEOF |
11309 |
-rm -f conftest.$ac_objext |
11310 |
-if { (ac_try="$ac_compile" |
11311 |
-case "(($ac_try" in |
11312 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11313 |
- *) ac_try_echo=$ac_try;; |
11314 |
-esac |
11315 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11316 |
- (eval "$ac_compile") 2>conftest.er1 |
11317 |
- ac_status=$? |
11318 |
- grep -v '^ *+' conftest.er1 >conftest.err |
11319 |
- rm -f conftest.er1 |
11320 |
- cat conftest.err >&5 |
11321 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11322 |
- (exit $ac_status); } && { |
11323 |
- test -z "$ac_c_werror_flag" || |
11324 |
- test ! -s conftest.err |
11325 |
- } && test -s conftest.$ac_objext; then |
11326 |
- ac_lo=$ac_mid; break |
11327 |
-else |
11328 |
- echo "$as_me: failed program was:" >&5 |
11329 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
11330 |
- |
11331 |
- ac_hi=`expr '(' $ac_mid ')' - 1` |
11332 |
- if test $ac_mid -le $ac_hi; then |
11333 |
- ac_lo= ac_hi= |
11334 |
- break |
11335 |
- fi |
11336 |
- ac_mid=`expr 2 '*' $ac_mid` |
11337 |
-fi |
11338 |
- |
11339 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
11340 |
- done |
11341 |
-else |
11342 |
- echo "$as_me: failed program was:" >&5 |
11343 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
11344 |
- |
11345 |
- ac_lo= ac_hi= |
11346 |
-fi |
11347 |
- |
11348 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
11349 |
-fi |
11350 |
- |
11351 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
11352 |
-# Binary search between lo and hi bounds. |
11353 |
-while test "x$ac_lo" != "x$ac_hi"; do |
11354 |
- ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
11355 |
- cat >conftest.$ac_ext <<_ACEOF |
11356 |
-/* confdefs.h. */ |
11357 |
-_ACEOF |
11358 |
-cat confdefs.h >>conftest.$ac_ext |
11359 |
-cat >>conftest.$ac_ext <<_ACEOF |
11360 |
-/* end confdefs.h. */ |
11361 |
-$ac_includes_default |
11362 |
- typedef unsigned long ac__type_sizeof_; |
11363 |
-int |
11364 |
-main () |
11365 |
-{ |
11366 |
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
11367 |
-test_array [0] = 0 |
11368 |
- |
11369 |
- ; |
11370 |
- return 0; |
11371 |
-} |
11372 |
-_ACEOF |
11373 |
-rm -f conftest.$ac_objext |
11374 |
-if { (ac_try="$ac_compile" |
11375 |
-case "(($ac_try" in |
11376 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11377 |
- *) ac_try_echo=$ac_try;; |
11378 |
-esac |
11379 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11380 |
- (eval "$ac_compile") 2>conftest.er1 |
11381 |
- ac_status=$? |
11382 |
- grep -v '^ *+' conftest.er1 >conftest.err |
11383 |
- rm -f conftest.er1 |
11384 |
- cat conftest.err >&5 |
11385 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11386 |
- (exit $ac_status); } && { |
11387 |
- test -z "$ac_c_werror_flag" || |
11388 |
- test ! -s conftest.err |
11389 |
- } && test -s conftest.$ac_objext; then |
11390 |
- ac_hi=$ac_mid |
11391 |
-else |
11392 |
- echo "$as_me: failed program was:" >&5 |
11393 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
11394 |
- |
11395 |
- ac_lo=`expr '(' $ac_mid ')' + 1` |
11396 |
-fi |
11397 |
- |
11398 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
11399 |
-done |
11400 |
-case $ac_lo in |
11401 |
-?*) ac_cv_sizeof_unsigned_long=$ac_lo;; |
11402 |
-'') if test "$ac_cv_type_unsigned_long" = yes; then |
11403 |
- { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long) |
11404 |
-See \`config.log' for more details." >&5 |
11405 |
-echo "$as_me: error: cannot compute sizeof (unsigned long) |
11406 |
-See \`config.log' for more details." >&2;} |
11407 |
- { (exit 77); exit 77; }; } |
11408 |
- else |
11409 |
- ac_cv_sizeof_unsigned_long=0 |
11410 |
- fi ;; |
11411 |
-esac |
11412 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5 |
11413 |
+$as_echo_n "checking size of unsigned long... " >&6; } |
11414 |
+if ${ac_cv_sizeof_unsigned_long+:} false; then : |
11415 |
+ $as_echo_n "(cached) " >&6 |
11416 |
else |
11417 |
- cat >conftest.$ac_ext <<_ACEOF |
11418 |
-/* confdefs.h. */ |
11419 |
-_ACEOF |
11420 |
-cat confdefs.h >>conftest.$ac_ext |
11421 |
-cat >>conftest.$ac_ext <<_ACEOF |
11422 |
-/* end confdefs.h. */ |
11423 |
-$ac_includes_default |
11424 |
- typedef unsigned long ac__type_sizeof_; |
11425 |
-static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } |
11426 |
-static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } |
11427 |
-#include <stdio.h> |
11428 |
-#include <stdlib.h> |
11429 |
-int |
11430 |
-main () |
11431 |
-{ |
11432 |
- |
11433 |
- FILE *f = fopen ("conftest.val", "w"); |
11434 |
- if (! f) |
11435 |
- return 1; |
11436 |
- if (((long int) (sizeof (ac__type_sizeof_))) < 0) |
11437 |
- { |
11438 |
- long int i = longval (); |
11439 |
- if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
11440 |
- return 1; |
11441 |
- fprintf (f, "%ld\n", i); |
11442 |
- } |
11443 |
- else |
11444 |
- { |
11445 |
- unsigned long int i = ulongval (); |
11446 |
- if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
11447 |
- return 1; |
11448 |
- fprintf (f, "%lu\n", i); |
11449 |
- } |
11450 |
- return ferror (f) || fclose (f) != 0; |
11451 |
+ if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long" "$ac_includes_default"; then : |
11452 |
|
11453 |
- ; |
11454 |
- return 0; |
11455 |
-} |
11456 |
-_ACEOF |
11457 |
-rm -f conftest$ac_exeext |
11458 |
-if { (ac_try="$ac_link" |
11459 |
-case "(($ac_try" in |
11460 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11461 |
- *) ac_try_echo=$ac_try;; |
11462 |
-esac |
11463 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11464 |
- (eval "$ac_link") 2>&5 |
11465 |
- ac_status=$? |
11466 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11467 |
- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
11468 |
- { (case "(($ac_try" in |
11469 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11470 |
- *) ac_try_echo=$ac_try;; |
11471 |
-esac |
11472 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11473 |
- (eval "$ac_try") 2>&5 |
11474 |
- ac_status=$? |
11475 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11476 |
- (exit $ac_status); }; }; then |
11477 |
- ac_cv_sizeof_unsigned_long=`cat conftest.val` |
11478 |
else |
11479 |
- echo "$as_me: program exited with status $ac_status" >&5 |
11480 |
-echo "$as_me: failed program was:" >&5 |
11481 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
11482 |
- |
11483 |
-( exit $ac_status ) |
11484 |
-if test "$ac_cv_type_unsigned_long" = yes; then |
11485 |
- { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long) |
11486 |
-See \`config.log' for more details." >&5 |
11487 |
-echo "$as_me: error: cannot compute sizeof (unsigned long) |
11488 |
-See \`config.log' for more details." >&2;} |
11489 |
- { (exit 77); exit 77; }; } |
11490 |
+ if test "$ac_cv_type_unsigned_long" = yes; then |
11491 |
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
11492 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
11493 |
+as_fn_error 77 "cannot compute sizeof (unsigned long) |
11494 |
+See \`config.log' for more details" "$LINENO" 5; } |
11495 |
else |
11496 |
ac_cv_sizeof_unsigned_long=0 |
11497 |
fi |
11498 |
fi |
11499 |
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11500 |
-fi |
11501 |
-rm -f conftest.val |
11502 |
+ |
11503 |
fi |
11504 |
-{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5 |
11505 |
-echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6; } |
11506 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5 |
11507 |
+$as_echo "$ac_cv_sizeof_unsigned_long" >&6; } |
11508 |
|
11509 |
|
11510 |
|
11511 |
@@ -9974,19 +5929,15 @@ cat >>confdefs.h <<_ACEOF |
11512 |
_ACEOF |
11513 |
|
11514 |
|
11515 |
-{ echo "$as_me:$LINENO: checking for big endian" >&5 |
11516 |
-echo $ECHO_N "checking for big endian... $ECHO_C" >&6; } |
11517 |
-if test "${ac_cv_big_endian+set}" = set; then |
11518 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
11519 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for big endian" >&5 |
11520 |
+$as_echo_n "checking for big endian... " >&6; } |
11521 |
+if ${ac_cv_big_endian+:} false; then : |
11522 |
+ $as_echo_n "(cached) " >&6 |
11523 |
else |
11524 |
- if test "$cross_compiling" = yes; then |
11525 |
+ if test "$cross_compiling" = yes; then : |
11526 |
ac_cv_big_endian=no |
11527 |
else |
11528 |
- cat >conftest.$ac_ext <<_ACEOF |
11529 |
-/* confdefs.h. */ |
11530 |
-_ACEOF |
11531 |
-cat confdefs.h >>conftest.$ac_ext |
11532 |
-cat >>conftest.$ac_ext <<_ACEOF |
11533 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11534 |
/* end confdefs.h. */ |
11535 |
|
11536 |
long l; |
11537 |
@@ -9998,56 +5949,28 @@ cat >>conftest.$ac_ext <<_ACEOF |
11538 |
} |
11539 |
|
11540 |
_ACEOF |
11541 |
-rm -f conftest$ac_exeext |
11542 |
-if { (ac_try="$ac_link" |
11543 |
-case "(($ac_try" in |
11544 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11545 |
- *) ac_try_echo=$ac_try;; |
11546 |
-esac |
11547 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11548 |
- (eval "$ac_link") 2>&5 |
11549 |
- ac_status=$? |
11550 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11551 |
- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
11552 |
- { (case "(($ac_try" in |
11553 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11554 |
- *) ac_try_echo=$ac_try;; |
11555 |
-esac |
11556 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11557 |
- (eval "$ac_try") 2>&5 |
11558 |
- ac_status=$? |
11559 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11560 |
- (exit $ac_status); }; }; then |
11561 |
+if ac_fn_c_try_run "$LINENO"; then : |
11562 |
ac_cv_big_endian=yes |
11563 |
else |
11564 |
- echo "$as_me: program exited with status $ac_status" >&5 |
11565 |
-echo "$as_me: failed program was:" >&5 |
11566 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
11567 |
- |
11568 |
-( exit $ac_status ) |
11569 |
-ac_cv_big_endian=no |
11570 |
+ ac_cv_big_endian=no |
11571 |
fi |
11572 |
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11573 |
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
11574 |
+ conftest.$ac_objext conftest.beam conftest.$ac_ext |
11575 |
fi |
11576 |
|
11577 |
|
11578 |
- |
11579 |
fi |
11580 |
-{ echo "$as_me:$LINENO: result: $ac_cv_big_endian" >&5 |
11581 |
-echo "${ECHO_T}$ac_cv_big_endian" >&6; } |
11582 |
-{ echo "$as_me:$LINENO: checking for little endian" >&5 |
11583 |
-echo $ECHO_N "checking for little endian... $ECHO_C" >&6; } |
11584 |
-if test "${ac_cv_little_endian+set}" = set; then |
11585 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
11586 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_big_endian" >&5 |
11587 |
+$as_echo "$ac_cv_big_endian" >&6; } |
11588 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for little endian" >&5 |
11589 |
+$as_echo_n "checking for little endian... " >&6; } |
11590 |
+if ${ac_cv_little_endian+:} false; then : |
11591 |
+ $as_echo_n "(cached) " >&6 |
11592 |
else |
11593 |
- if test "$cross_compiling" = yes; then |
11594 |
+ if test "$cross_compiling" = yes; then : |
11595 |
ac_cv_little_endian="$ac_cv_have_emx" |
11596 |
else |
11597 |
- cat >conftest.$ac_ext <<_ACEOF |
11598 |
-/* confdefs.h. */ |
11599 |
-_ACEOF |
11600 |
-cat confdefs.h >>conftest.$ac_ext |
11601 |
-cat >>conftest.$ac_ext <<_ACEOF |
11602 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11603 |
/* end confdefs.h. */ |
11604 |
|
11605 |
long l; |
11606 |
@@ -10059,75 +5982,43 @@ cat >>conftest.$ac_ext <<_ACEOF |
11607 |
} |
11608 |
|
11609 |
_ACEOF |
11610 |
-rm -f conftest$ac_exeext |
11611 |
-if { (ac_try="$ac_link" |
11612 |
-case "(($ac_try" in |
11613 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11614 |
- *) ac_try_echo=$ac_try;; |
11615 |
-esac |
11616 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11617 |
- (eval "$ac_link") 2>&5 |
11618 |
- ac_status=$? |
11619 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11620 |
- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
11621 |
- { (case "(($ac_try" in |
11622 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11623 |
- *) ac_try_echo=$ac_try;; |
11624 |
-esac |
11625 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11626 |
- (eval "$ac_try") 2>&5 |
11627 |
- ac_status=$? |
11628 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11629 |
- (exit $ac_status); }; }; then |
11630 |
+if ac_fn_c_try_run "$LINENO"; then : |
11631 |
ac_cv_little_endian=yes |
11632 |
else |
11633 |
- echo "$as_me: program exited with status $ac_status" >&5 |
11634 |
-echo "$as_me: failed program was:" >&5 |
11635 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
11636 |
- |
11637 |
-( exit $ac_status ) |
11638 |
-ac_cv_little_endian=no |
11639 |
+ ac_cv_little_endian=no |
11640 |
fi |
11641 |
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11642 |
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
11643 |
+ conftest.$ac_objext conftest.beam conftest.$ac_ext |
11644 |
fi |
11645 |
|
11646 |
|
11647 |
- |
11648 |
fi |
11649 |
-{ echo "$as_me:$LINENO: result: $ac_cv_little_endian" >&5 |
11650 |
-echo "${ECHO_T}$ac_cv_little_endian" >&6; } |
11651 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_little_endian" >&5 |
11652 |
+$as_echo "$ac_cv_little_endian" >&6; } |
11653 |
|
11654 |
if test "$ac_cv_big_endian" = yes; then |
11655 |
- cat >>confdefs.h <<\_ACEOF |
11656 |
-#define AC_BIG_ENDIAN 1 |
11657 |
-_ACEOF |
11658 |
+ $as_echo "#define AC_BIG_ENDIAN 1" >>confdefs.h |
11659 |
|
11660 |
else if test "$ac_cv_little_endian" = yes; then |
11661 |
- cat >>confdefs.h <<\_ACEOF |
11662 |
-#define AC_LITTLE_ENDIAN 1 |
11663 |
-_ACEOF |
11664 |
+ $as_echo "#define AC_LITTLE_ENDIAN 1" >>confdefs.h |
11665 |
|
11666 |
fi |
11667 |
fi |
11668 |
|
11669 |
if test $ac_cv_c_compiler_gnu = yes; then |
11670 |
- { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 |
11671 |
-echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; } |
11672 |
-if test "${ac_cv_prog_gcc_traditional+set}" = set; then |
11673 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
11674 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5 |
11675 |
+$as_echo_n "checking whether $CC needs -traditional... " >&6; } |
11676 |
+if ${ac_cv_prog_gcc_traditional+:} false; then : |
11677 |
+ $as_echo_n "(cached) " >&6 |
11678 |
else |
11679 |
ac_pattern="Autoconf.*'x'" |
11680 |
- cat >conftest.$ac_ext <<_ACEOF |
11681 |
-/* confdefs.h. */ |
11682 |
-_ACEOF |
11683 |
-cat confdefs.h >>conftest.$ac_ext |
11684 |
-cat >>conftest.$ac_ext <<_ACEOF |
11685 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11686 |
/* end confdefs.h. */ |
11687 |
#include <sgtty.h> |
11688 |
Autoconf TIOCGETP |
11689 |
_ACEOF |
11690 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
11691 |
- $EGREP "$ac_pattern" >/dev/null 2>&1; then |
11692 |
+ $EGREP "$ac_pattern" >/dev/null 2>&1; then : |
11693 |
ac_cv_prog_gcc_traditional=yes |
11694 |
else |
11695 |
ac_cv_prog_gcc_traditional=no |
11696 |
@@ -10136,43 +6027,35 @@ rm -f conftest* |
11697 |
|
11698 |
|
11699 |
if test $ac_cv_prog_gcc_traditional = no; then |
11700 |
- cat >conftest.$ac_ext <<_ACEOF |
11701 |
-/* confdefs.h. */ |
11702 |
-_ACEOF |
11703 |
-cat confdefs.h >>conftest.$ac_ext |
11704 |
-cat >>conftest.$ac_ext <<_ACEOF |
11705 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11706 |
/* end confdefs.h. */ |
11707 |
#include <termio.h> |
11708 |
Autoconf TCGETA |
11709 |
_ACEOF |
11710 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
11711 |
- $EGREP "$ac_pattern" >/dev/null 2>&1; then |
11712 |
+ $EGREP "$ac_pattern" >/dev/null 2>&1; then : |
11713 |
ac_cv_prog_gcc_traditional=yes |
11714 |
fi |
11715 |
rm -f conftest* |
11716 |
|
11717 |
fi |
11718 |
fi |
11719 |
-{ echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 |
11720 |
-echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; } |
11721 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5 |
11722 |
+$as_echo "$ac_cv_prog_gcc_traditional" >&6; } |
11723 |
if test $ac_cv_prog_gcc_traditional = yes; then |
11724 |
CC="$CC -traditional" |
11725 |
fi |
11726 |
fi |
11727 |
|
11728 |
-{ echo "$as_me:$LINENO: checking for working memcmp" >&5 |
11729 |
-echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6; } |
11730 |
-if test "${ac_cv_func_memcmp_working+set}" = set; then |
11731 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
11732 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5 |
11733 |
+$as_echo_n "checking for working memcmp... " >&6; } |
11734 |
+if ${ac_cv_func_memcmp_working+:} false; then : |
11735 |
+ $as_echo_n "(cached) " >&6 |
11736 |
else |
11737 |
- if test "$cross_compiling" = yes; then |
11738 |
+ if test "$cross_compiling" = yes; then : |
11739 |
ac_cv_func_memcmp_working=no |
11740 |
else |
11741 |
- cat >conftest.$ac_ext <<_ACEOF |
11742 |
-/* confdefs.h. */ |
11743 |
-_ACEOF |
11744 |
-cat confdefs.h >>conftest.$ac_ext |
11745 |
-cat >>conftest.$ac_ext <<_ACEOF |
11746 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11747 |
/* end confdefs.h. */ |
11748 |
$ac_includes_default |
11749 |
int |
11750 |
@@ -10207,42 +6090,18 @@ main () |
11751 |
return 0; |
11752 |
} |
11753 |
_ACEOF |
11754 |
-rm -f conftest$ac_exeext |
11755 |
-if { (ac_try="$ac_link" |
11756 |
-case "(($ac_try" in |
11757 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11758 |
- *) ac_try_echo=$ac_try;; |
11759 |
-esac |
11760 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11761 |
- (eval "$ac_link") 2>&5 |
11762 |
- ac_status=$? |
11763 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11764 |
- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
11765 |
- { (case "(($ac_try" in |
11766 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11767 |
- *) ac_try_echo=$ac_try;; |
11768 |
-esac |
11769 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11770 |
- (eval "$ac_try") 2>&5 |
11771 |
- ac_status=$? |
11772 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11773 |
- (exit $ac_status); }; }; then |
11774 |
+if ac_fn_c_try_run "$LINENO"; then : |
11775 |
ac_cv_func_memcmp_working=yes |
11776 |
else |
11777 |
- echo "$as_me: program exited with status $ac_status" >&5 |
11778 |
-echo "$as_me: failed program was:" >&5 |
11779 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
11780 |
- |
11781 |
-( exit $ac_status ) |
11782 |
-ac_cv_func_memcmp_working=no |
11783 |
+ ac_cv_func_memcmp_working=no |
11784 |
fi |
11785 |
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11786 |
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
11787 |
+ conftest.$ac_objext conftest.beam conftest.$ac_ext |
11788 |
fi |
11789 |
|
11790 |
- |
11791 |
fi |
11792 |
-{ echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5 |
11793 |
-echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6; } |
11794 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5 |
11795 |
+$as_echo "$ac_cv_func_memcmp_working" >&6; } |
11796 |
test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in |
11797 |
*" memcmp.$ac_objext "* ) ;; |
11798 |
*) LIBOBJS="$LIBOBJS memcmp.$ac_objext" |
11799 |
@@ -10250,16 +6109,12 @@ test $ac_cv_func_memcmp_working = no && |
11800 |
esac |
11801 |
|
11802 |
|
11803 |
-{ echo "$as_me:$LINENO: checking return type of signal handlers" >&5 |
11804 |
-echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; } |
11805 |
-if test "${ac_cv_type_signal+set}" = set; then |
11806 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
11807 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 |
11808 |
+$as_echo_n "checking return type of signal handlers... " >&6; } |
11809 |
+if ${ac_cv_type_signal+:} false; then : |
11810 |
+ $as_echo_n "(cached) " >&6 |
11811 |
else |
11812 |
- cat >conftest.$ac_ext <<_ACEOF |
11813 |
-/* confdefs.h. */ |
11814 |
-_ACEOF |
11815 |
-cat confdefs.h >>conftest.$ac_ext |
11816 |
-cat >>conftest.$ac_ext <<_ACEOF |
11817 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11818 |
/* end confdefs.h. */ |
11819 |
#include <sys/types.h> |
11820 |
#include <signal.h> |
11821 |
@@ -10272,146 +6127,39 @@ return *(signal (0, 0)) (0) == 1; |
11822 |
return 0; |
11823 |
} |
11824 |
_ACEOF |
11825 |
-rm -f conftest.$ac_objext |
11826 |
-if { (ac_try="$ac_compile" |
11827 |
-case "(($ac_try" in |
11828 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11829 |
- *) ac_try_echo=$ac_try;; |
11830 |
-esac |
11831 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11832 |
- (eval "$ac_compile") 2>conftest.er1 |
11833 |
- ac_status=$? |
11834 |
- grep -v '^ *+' conftest.er1 >conftest.err |
11835 |
- rm -f conftest.er1 |
11836 |
- cat conftest.err >&5 |
11837 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11838 |
- (exit $ac_status); } && { |
11839 |
- test -z "$ac_c_werror_flag" || |
11840 |
- test ! -s conftest.err |
11841 |
- } && test -s conftest.$ac_objext; then |
11842 |
+if ac_fn_c_try_compile "$LINENO"; then : |
11843 |
ac_cv_type_signal=int |
11844 |
else |
11845 |
- echo "$as_me: failed program was:" >&5 |
11846 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
11847 |
- |
11848 |
- ac_cv_type_signal=void |
11849 |
+ ac_cv_type_signal=void |
11850 |
fi |
11851 |
- |
11852 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
11853 |
fi |
11854 |
-{ echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 |
11855 |
-echo "${ECHO_T}$ac_cv_type_signal" >&6; } |
11856 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 |
11857 |
+$as_echo "$ac_cv_type_signal" >&6; } |
11858 |
|
11859 |
cat >>confdefs.h <<_ACEOF |
11860 |
#define RETSIGTYPE $ac_cv_type_signal |
11861 |
_ACEOF |
11862 |
|
11863 |
|
11864 |
- |
11865 |
for ac_func in strftime |
11866 |
-do |
11867 |
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11868 |
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
11869 |
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
11870 |
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
11871 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
11872 |
-else |
11873 |
- cat >conftest.$ac_ext <<_ACEOF |
11874 |
-/* confdefs.h. */ |
11875 |
-_ACEOF |
11876 |
-cat confdefs.h >>conftest.$ac_ext |
11877 |
-cat >>conftest.$ac_ext <<_ACEOF |
11878 |
-/* end confdefs.h. */ |
11879 |
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
11880 |
- For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
11881 |
-#define $ac_func innocuous_$ac_func |
11882 |
- |
11883 |
-/* System header to define __stub macros and hopefully few prototypes, |
11884 |
- which can conflict with char $ac_func (); below. |
11885 |
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
11886 |
- <limits.h> exists even on freestanding compilers. */ |
11887 |
- |
11888 |
-#ifdef __STDC__ |
11889 |
-# include <limits.h> |
11890 |
-#else |
11891 |
-# include <assert.h> |
11892 |
-#endif |
11893 |
- |
11894 |
-#undef $ac_func |
11895 |
- |
11896 |
-/* Override any GCC internal prototype to avoid an error. |
11897 |
- Use char because int might match the return type of a GCC |
11898 |
- builtin and then its argument prototype would still apply. */ |
11899 |
-#ifdef __cplusplus |
11900 |
-extern "C" |
11901 |
-#endif |
11902 |
-char $ac_func (); |
11903 |
-/* The GNU C library defines this for functions which it implements |
11904 |
- to always fail with ENOSYS. Some functions are actually named |
11905 |
- something starting with __ and the normal name is an alias. */ |
11906 |
-#if defined __stub_$ac_func || defined __stub___$ac_func |
11907 |
-choke me |
11908 |
-#endif |
11909 |
- |
11910 |
-int |
11911 |
-main () |
11912 |
-{ |
11913 |
-return $ac_func (); |
11914 |
- ; |
11915 |
- return 0; |
11916 |
-} |
11917 |
-_ACEOF |
11918 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
11919 |
-if { (ac_try="$ac_link" |
11920 |
-case "(($ac_try" in |
11921 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11922 |
- *) ac_try_echo=$ac_try;; |
11923 |
-esac |
11924 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11925 |
- (eval "$ac_link") 2>conftest.er1 |
11926 |
- ac_status=$? |
11927 |
- grep -v '^ *+' conftest.er1 >conftest.err |
11928 |
- rm -f conftest.er1 |
11929 |
- cat conftest.err >&5 |
11930 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11931 |
- (exit $ac_status); } && { |
11932 |
- test -z "$ac_c_werror_flag" || |
11933 |
- test ! -s conftest.err |
11934 |
- } && test -s conftest$ac_exeext && |
11935 |
- $as_test_x conftest$ac_exeext; then |
11936 |
- eval "$as_ac_var=yes" |
11937 |
-else |
11938 |
- echo "$as_me: failed program was:" >&5 |
11939 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
11940 |
- |
11941 |
- eval "$as_ac_var=no" |
11942 |
-fi |
11943 |
- |
11944 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
11945 |
- conftest$ac_exeext conftest.$ac_ext |
11946 |
-fi |
11947 |
-ac_res=`eval echo '${'$as_ac_var'}'` |
11948 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
11949 |
-echo "${ECHO_T}$ac_res" >&6; } |
11950 |
-if test `eval echo '${'$as_ac_var'}'` = yes; then |
11951 |
+do : |
11952 |
+ ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime" |
11953 |
+if test "x$ac_cv_func_strftime" = xyes; then : |
11954 |
cat >>confdefs.h <<_ACEOF |
11955 |
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
11956 |
+#define HAVE_STRFTIME 1 |
11957 |
_ACEOF |
11958 |
|
11959 |
else |
11960 |
# strftime is in -lintl on SCO UNIX. |
11961 |
-{ echo "$as_me:$LINENO: checking for strftime in -lintl" >&5 |
11962 |
-echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6; } |
11963 |
-if test "${ac_cv_lib_intl_strftime+set}" = set; then |
11964 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
11965 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5 |
11966 |
+$as_echo_n "checking for strftime in -lintl... " >&6; } |
11967 |
+if ${ac_cv_lib_intl_strftime+:} false; then : |
11968 |
+ $as_echo_n "(cached) " >&6 |
11969 |
else |
11970 |
ac_check_lib_save_LIBS=$LIBS |
11971 |
LIBS="-lintl $LIBS" |
11972 |
-cat >conftest.$ac_ext <<_ACEOF |
11973 |
-/* confdefs.h. */ |
11974 |
-_ACEOF |
11975 |
-cat confdefs.h >>conftest.$ac_ext |
11976 |
-cat >>conftest.$ac_ext <<_ACEOF |
11977 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11978 |
/* end confdefs.h. */ |
11979 |
|
11980 |
/* Override any GCC internal prototype to avoid an error. |
11981 |
@@ -10429,42 +6177,19 @@ return strftime (); |
11982 |
return 0; |
11983 |
} |
11984 |
_ACEOF |
11985 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
11986 |
-if { (ac_try="$ac_link" |
11987 |
-case "(($ac_try" in |
11988 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11989 |
- *) ac_try_echo=$ac_try;; |
11990 |
-esac |
11991 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11992 |
- (eval "$ac_link") 2>conftest.er1 |
11993 |
- ac_status=$? |
11994 |
- grep -v '^ *+' conftest.er1 >conftest.err |
11995 |
- rm -f conftest.er1 |
11996 |
- cat conftest.err >&5 |
11997 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11998 |
- (exit $ac_status); } && { |
11999 |
- test -z "$ac_c_werror_flag" || |
12000 |
- test ! -s conftest.err |
12001 |
- } && test -s conftest$ac_exeext && |
12002 |
- $as_test_x conftest$ac_exeext; then |
12003 |
+if ac_fn_c_try_link "$LINENO"; then : |
12004 |
ac_cv_lib_intl_strftime=yes |
12005 |
else |
12006 |
- echo "$as_me: failed program was:" >&5 |
12007 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
12008 |
- |
12009 |
- ac_cv_lib_intl_strftime=no |
12010 |
+ ac_cv_lib_intl_strftime=no |
12011 |
fi |
12012 |
- |
12013 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
12014 |
- conftest$ac_exeext conftest.$ac_ext |
12015 |
+rm -f core conftest.err conftest.$ac_objext \ |
12016 |
+ conftest$ac_exeext conftest.$ac_ext |
12017 |
LIBS=$ac_check_lib_save_LIBS |
12018 |
fi |
12019 |
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5 |
12020 |
-echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6; } |
12021 |
-if test $ac_cv_lib_intl_strftime = yes; then |
12022 |
- cat >>confdefs.h <<\_ACEOF |
12023 |
-#define HAVE_STRFTIME 1 |
12024 |
-_ACEOF |
12025 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5 |
12026 |
+$as_echo "$ac_cv_lib_intl_strftime" >&6; } |
12027 |
+if test "x$ac_cv_lib_intl_strftime" = xyes; then : |
12028 |
+ $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h |
12029 |
|
12030 |
LIBS="-lintl $LIBS" |
12031 |
fi |
12032 |
@@ -10472,183 +6197,18 @@ fi |
12033 |
fi |
12034 |
done |
12035 |
|
12036 |
- |
12037 |
for ac_func in vprintf |
12038 |
-do |
12039 |
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12040 |
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
12041 |
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
12042 |
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
12043 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
12044 |
-else |
12045 |
- cat >conftest.$ac_ext <<_ACEOF |
12046 |
-/* confdefs.h. */ |
12047 |
-_ACEOF |
12048 |
-cat confdefs.h >>conftest.$ac_ext |
12049 |
-cat >>conftest.$ac_ext <<_ACEOF |
12050 |
-/* end confdefs.h. */ |
12051 |
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
12052 |
- For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
12053 |
-#define $ac_func innocuous_$ac_func |
12054 |
- |
12055 |
-/* System header to define __stub macros and hopefully few prototypes, |
12056 |
- which can conflict with char $ac_func (); below. |
12057 |
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
12058 |
- <limits.h> exists even on freestanding compilers. */ |
12059 |
- |
12060 |
-#ifdef __STDC__ |
12061 |
-# include <limits.h> |
12062 |
-#else |
12063 |
-# include <assert.h> |
12064 |
-#endif |
12065 |
- |
12066 |
-#undef $ac_func |
12067 |
- |
12068 |
-/* Override any GCC internal prototype to avoid an error. |
12069 |
- Use char because int might match the return type of a GCC |
12070 |
- builtin and then its argument prototype would still apply. */ |
12071 |
-#ifdef __cplusplus |
12072 |
-extern "C" |
12073 |
-#endif |
12074 |
-char $ac_func (); |
12075 |
-/* The GNU C library defines this for functions which it implements |
12076 |
- to always fail with ENOSYS. Some functions are actually named |
12077 |
- something starting with __ and the normal name is an alias. */ |
12078 |
-#if defined __stub_$ac_func || defined __stub___$ac_func |
12079 |
-choke me |
12080 |
-#endif |
12081 |
- |
12082 |
-int |
12083 |
-main () |
12084 |
-{ |
12085 |
-return $ac_func (); |
12086 |
- ; |
12087 |
- return 0; |
12088 |
-} |
12089 |
-_ACEOF |
12090 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
12091 |
-if { (ac_try="$ac_link" |
12092 |
-case "(($ac_try" in |
12093 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12094 |
- *) ac_try_echo=$ac_try;; |
12095 |
-esac |
12096 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12097 |
- (eval "$ac_link") 2>conftest.er1 |
12098 |
- ac_status=$? |
12099 |
- grep -v '^ *+' conftest.er1 >conftest.err |
12100 |
- rm -f conftest.er1 |
12101 |
- cat conftest.err >&5 |
12102 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12103 |
- (exit $ac_status); } && { |
12104 |
- test -z "$ac_c_werror_flag" || |
12105 |
- test ! -s conftest.err |
12106 |
- } && test -s conftest$ac_exeext && |
12107 |
- $as_test_x conftest$ac_exeext; then |
12108 |
- eval "$as_ac_var=yes" |
12109 |
-else |
12110 |
- echo "$as_me: failed program was:" >&5 |
12111 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
12112 |
- |
12113 |
- eval "$as_ac_var=no" |
12114 |
-fi |
12115 |
- |
12116 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
12117 |
- conftest$ac_exeext conftest.$ac_ext |
12118 |
-fi |
12119 |
-ac_res=`eval echo '${'$as_ac_var'}'` |
12120 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
12121 |
-echo "${ECHO_T}$ac_res" >&6; } |
12122 |
-if test `eval echo '${'$as_ac_var'}'` = yes; then |
12123 |
+do : |
12124 |
+ ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf" |
12125 |
+if test "x$ac_cv_func_vprintf" = xyes; then : |
12126 |
cat >>confdefs.h <<_ACEOF |
12127 |
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12128 |
-_ACEOF |
12129 |
- |
12130 |
-{ echo "$as_me:$LINENO: checking for _doprnt" >&5 |
12131 |
-echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; } |
12132 |
-if test "${ac_cv_func__doprnt+set}" = set; then |
12133 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
12134 |
-else |
12135 |
- cat >conftest.$ac_ext <<_ACEOF |
12136 |
-/* confdefs.h. */ |
12137 |
-_ACEOF |
12138 |
-cat confdefs.h >>conftest.$ac_ext |
12139 |
-cat >>conftest.$ac_ext <<_ACEOF |
12140 |
-/* end confdefs.h. */ |
12141 |
-/* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt. |
12142 |
- For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
12143 |
-#define _doprnt innocuous__doprnt |
12144 |
- |
12145 |
-/* System header to define __stub macros and hopefully few prototypes, |
12146 |
- which can conflict with char _doprnt (); below. |
12147 |
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
12148 |
- <limits.h> exists even on freestanding compilers. */ |
12149 |
- |
12150 |
-#ifdef __STDC__ |
12151 |
-# include <limits.h> |
12152 |
-#else |
12153 |
-# include <assert.h> |
12154 |
-#endif |
12155 |
- |
12156 |
-#undef _doprnt |
12157 |
- |
12158 |
-/* Override any GCC internal prototype to avoid an error. |
12159 |
- Use char because int might match the return type of a GCC |
12160 |
- builtin and then its argument prototype would still apply. */ |
12161 |
-#ifdef __cplusplus |
12162 |
-extern "C" |
12163 |
-#endif |
12164 |
-char _doprnt (); |
12165 |
-/* The GNU C library defines this for functions which it implements |
12166 |
- to always fail with ENOSYS. Some functions are actually named |
12167 |
- something starting with __ and the normal name is an alias. */ |
12168 |
-#if defined __stub__doprnt || defined __stub____doprnt |
12169 |
-choke me |
12170 |
-#endif |
12171 |
- |
12172 |
-int |
12173 |
-main () |
12174 |
-{ |
12175 |
-return _doprnt (); |
12176 |
- ; |
12177 |
- return 0; |
12178 |
-} |
12179 |
+#define HAVE_VPRINTF 1 |
12180 |
_ACEOF |
12181 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
12182 |
-if { (ac_try="$ac_link" |
12183 |
-case "(($ac_try" in |
12184 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12185 |
- *) ac_try_echo=$ac_try;; |
12186 |
-esac |
12187 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12188 |
- (eval "$ac_link") 2>conftest.er1 |
12189 |
- ac_status=$? |
12190 |
- grep -v '^ *+' conftest.er1 >conftest.err |
12191 |
- rm -f conftest.er1 |
12192 |
- cat conftest.err >&5 |
12193 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12194 |
- (exit $ac_status); } && { |
12195 |
- test -z "$ac_c_werror_flag" || |
12196 |
- test ! -s conftest.err |
12197 |
- } && test -s conftest$ac_exeext && |
12198 |
- $as_test_x conftest$ac_exeext; then |
12199 |
- ac_cv_func__doprnt=yes |
12200 |
-else |
12201 |
- echo "$as_me: failed program was:" >&5 |
12202 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
12203 |
|
12204 |
- ac_cv_func__doprnt=no |
12205 |
-fi |
12206 |
- |
12207 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
12208 |
- conftest$ac_exeext conftest.$ac_ext |
12209 |
-fi |
12210 |
-{ echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5 |
12211 |
-echo "${ECHO_T}$ac_cv_func__doprnt" >&6; } |
12212 |
-if test $ac_cv_func__doprnt = yes; then |
12213 |
+ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt" |
12214 |
+if test "x$ac_cv_func__doprnt" = xyes; then : |
12215 |
|
12216 |
-cat >>confdefs.h <<\_ACEOF |
12217 |
-#define HAVE_DOPRNT 1 |
12218 |
-_ACEOF |
12219 |
+$as_echo "#define HAVE_DOPRNT 1" >>confdefs.h |
12220 |
|
12221 |
fi |
12222 |
|
12223 |
@@ -10656,876 +6216,114 @@ fi |
12224 |
done |
12225 |
|
12226 |
|
12227 |
- |
12228 |
for ac_func in calloc |
12229 |
-do |
12230 |
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12231 |
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
12232 |
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
12233 |
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
12234 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
12235 |
-else |
12236 |
- cat >conftest.$ac_ext <<_ACEOF |
12237 |
-/* confdefs.h. */ |
12238 |
-_ACEOF |
12239 |
-cat confdefs.h >>conftest.$ac_ext |
12240 |
-cat >>conftest.$ac_ext <<_ACEOF |
12241 |
-/* end confdefs.h. */ |
12242 |
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
12243 |
- For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
12244 |
-#define $ac_func innocuous_$ac_func |
12245 |
- |
12246 |
-/* System header to define __stub macros and hopefully few prototypes, |
12247 |
- which can conflict with char $ac_func (); below. |
12248 |
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
12249 |
- <limits.h> exists even on freestanding compilers. */ |
12250 |
- |
12251 |
-#ifdef __STDC__ |
12252 |
-# include <limits.h> |
12253 |
-#else |
12254 |
-# include <assert.h> |
12255 |
-#endif |
12256 |
- |
12257 |
-#undef $ac_func |
12258 |
- |
12259 |
-/* Override any GCC internal prototype to avoid an error. |
12260 |
- Use char because int might match the return type of a GCC |
12261 |
- builtin and then its argument prototype would still apply. */ |
12262 |
-#ifdef __cplusplus |
12263 |
-extern "C" |
12264 |
-#endif |
12265 |
-char $ac_func (); |
12266 |
-/* The GNU C library defines this for functions which it implements |
12267 |
- to always fail with ENOSYS. Some functions are actually named |
12268 |
- something starting with __ and the normal name is an alias. */ |
12269 |
-#if defined __stub_$ac_func || defined __stub___$ac_func |
12270 |
-choke me |
12271 |
-#endif |
12272 |
- |
12273 |
-int |
12274 |
-main () |
12275 |
-{ |
12276 |
-return $ac_func (); |
12277 |
- ; |
12278 |
- return 0; |
12279 |
-} |
12280 |
-_ACEOF |
12281 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
12282 |
-if { (ac_try="$ac_link" |
12283 |
-case "(($ac_try" in |
12284 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12285 |
- *) ac_try_echo=$ac_try;; |
12286 |
-esac |
12287 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12288 |
- (eval "$ac_link") 2>conftest.er1 |
12289 |
- ac_status=$? |
12290 |
- grep -v '^ *+' conftest.er1 >conftest.err |
12291 |
- rm -f conftest.er1 |
12292 |
- cat conftest.err >&5 |
12293 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12294 |
- (exit $ac_status); } && { |
12295 |
- test -z "$ac_c_werror_flag" || |
12296 |
- test ! -s conftest.err |
12297 |
- } && test -s conftest$ac_exeext && |
12298 |
- $as_test_x conftest$ac_exeext; then |
12299 |
- eval "$as_ac_var=yes" |
12300 |
-else |
12301 |
- echo "$as_me: failed program was:" >&5 |
12302 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
12303 |
- |
12304 |
- eval "$as_ac_var=no" |
12305 |
-fi |
12306 |
- |
12307 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
12308 |
- conftest$ac_exeext conftest.$ac_ext |
12309 |
-fi |
12310 |
-ac_res=`eval echo '${'$as_ac_var'}'` |
12311 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
12312 |
-echo "${ECHO_T}$ac_res" >&6; } |
12313 |
-if test `eval echo '${'$as_ac_var'}'` = yes; then |
12314 |
+do : |
12315 |
+ ac_fn_c_check_func "$LINENO" "calloc" "ac_cv_func_calloc" |
12316 |
+if test "x$ac_cv_func_calloc" = xyes; then : |
12317 |
cat >>confdefs.h <<_ACEOF |
12318 |
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12319 |
+#define HAVE_CALLOC 1 |
12320 |
_ACEOF |
12321 |
|
12322 |
fi |
12323 |
done |
12324 |
|
12325 |
- |
12326 |
for ac_func in snprintf |
12327 |
-do |
12328 |
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12329 |
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
12330 |
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
12331 |
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
12332 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
12333 |
-else |
12334 |
- cat >conftest.$ac_ext <<_ACEOF |
12335 |
-/* confdefs.h. */ |
12336 |
-_ACEOF |
12337 |
-cat confdefs.h >>conftest.$ac_ext |
12338 |
-cat >>conftest.$ac_ext <<_ACEOF |
12339 |
-/* end confdefs.h. */ |
12340 |
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
12341 |
- For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
12342 |
-#define $ac_func innocuous_$ac_func |
12343 |
- |
12344 |
-/* System header to define __stub macros and hopefully few prototypes, |
12345 |
- which can conflict with char $ac_func (); below. |
12346 |
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
12347 |
- <limits.h> exists even on freestanding compilers. */ |
12348 |
- |
12349 |
-#ifdef __STDC__ |
12350 |
-# include <limits.h> |
12351 |
-#else |
12352 |
-# include <assert.h> |
12353 |
-#endif |
12354 |
- |
12355 |
-#undef $ac_func |
12356 |
- |
12357 |
-/* Override any GCC internal prototype to avoid an error. |
12358 |
- Use char because int might match the return type of a GCC |
12359 |
- builtin and then its argument prototype would still apply. */ |
12360 |
-#ifdef __cplusplus |
12361 |
-extern "C" |
12362 |
-#endif |
12363 |
-char $ac_func (); |
12364 |
-/* The GNU C library defines this for functions which it implements |
12365 |
- to always fail with ENOSYS. Some functions are actually named |
12366 |
- something starting with __ and the normal name is an alias. */ |
12367 |
-#if defined __stub_$ac_func || defined __stub___$ac_func |
12368 |
-choke me |
12369 |
-#endif |
12370 |
- |
12371 |
-int |
12372 |
-main () |
12373 |
-{ |
12374 |
-return $ac_func (); |
12375 |
- ; |
12376 |
- return 0; |
12377 |
-} |
12378 |
-_ACEOF |
12379 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
12380 |
-if { (ac_try="$ac_link" |
12381 |
-case "(($ac_try" in |
12382 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12383 |
- *) ac_try_echo=$ac_try;; |
12384 |
-esac |
12385 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12386 |
- (eval "$ac_link") 2>conftest.er1 |
12387 |
- ac_status=$? |
12388 |
- grep -v '^ *+' conftest.er1 >conftest.err |
12389 |
- rm -f conftest.er1 |
12390 |
- cat conftest.err >&5 |
12391 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12392 |
- (exit $ac_status); } && { |
12393 |
- test -z "$ac_c_werror_flag" || |
12394 |
- test ! -s conftest.err |
12395 |
- } && test -s conftest$ac_exeext && |
12396 |
- $as_test_x conftest$ac_exeext; then |
12397 |
- eval "$as_ac_var=yes" |
12398 |
-else |
12399 |
- echo "$as_me: failed program was:" >&5 |
12400 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
12401 |
- |
12402 |
- eval "$as_ac_var=no" |
12403 |
-fi |
12404 |
- |
12405 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
12406 |
- conftest$ac_exeext conftest.$ac_ext |
12407 |
-fi |
12408 |
-ac_res=`eval echo '${'$as_ac_var'}'` |
12409 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
12410 |
-echo "${ECHO_T}$ac_res" >&6; } |
12411 |
-if test `eval echo '${'$as_ac_var'}'` = yes; then |
12412 |
+do : |
12413 |
+ ac_fn_c_check_func "$LINENO" "snprintf" "ac_cv_func_snprintf" |
12414 |
+if test "x$ac_cv_func_snprintf" = xyes; then : |
12415 |
cat >>confdefs.h <<_ACEOF |
12416 |
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12417 |
+#define HAVE_SNPRINTF 1 |
12418 |
_ACEOF |
12419 |
|
12420 |
fi |
12421 |
done |
12422 |
|
12423 |
- |
12424 |
- |
12425 |
- |
12426 |
- |
12427 |
- |
12428 |
- |
12429 |
- |
12430 |
- |
12431 |
- |
12432 |
- |
12433 |
for ac_func in gettimeofday mkdir select strcspn strerror strstr strtol strtoul alarm chmod |
12434 |
-do |
12435 |
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12436 |
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
12437 |
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
12438 |
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
12439 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
12440 |
-else |
12441 |
- cat >conftest.$ac_ext <<_ACEOF |
12442 |
-/* confdefs.h. */ |
12443 |
-_ACEOF |
12444 |
-cat confdefs.h >>conftest.$ac_ext |
12445 |
-cat >>conftest.$ac_ext <<_ACEOF |
12446 |
-/* end confdefs.h. */ |
12447 |
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
12448 |
- For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
12449 |
-#define $ac_func innocuous_$ac_func |
12450 |
- |
12451 |
-/* System header to define __stub macros and hopefully few prototypes, |
12452 |
- which can conflict with char $ac_func (); below. |
12453 |
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
12454 |
- <limits.h> exists even on freestanding compilers. */ |
12455 |
- |
12456 |
-#ifdef __STDC__ |
12457 |
-# include <limits.h> |
12458 |
-#else |
12459 |
-# include <assert.h> |
12460 |
-#endif |
12461 |
- |
12462 |
-#undef $ac_func |
12463 |
- |
12464 |
-/* Override any GCC internal prototype to avoid an error. |
12465 |
- Use char because int might match the return type of a GCC |
12466 |
- builtin and then its argument prototype would still apply. */ |
12467 |
-#ifdef __cplusplus |
12468 |
-extern "C" |
12469 |
-#endif |
12470 |
-char $ac_func (); |
12471 |
-/* The GNU C library defines this for functions which it implements |
12472 |
- to always fail with ENOSYS. Some functions are actually named |
12473 |
- something starting with __ and the normal name is an alias. */ |
12474 |
-#if defined __stub_$ac_func || defined __stub___$ac_func |
12475 |
-choke me |
12476 |
-#endif |
12477 |
- |
12478 |
-int |
12479 |
-main () |
12480 |
-{ |
12481 |
-return $ac_func (); |
12482 |
- ; |
12483 |
- return 0; |
12484 |
-} |
12485 |
-_ACEOF |
12486 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
12487 |
-if { (ac_try="$ac_link" |
12488 |
-case "(($ac_try" in |
12489 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12490 |
- *) ac_try_echo=$ac_try;; |
12491 |
-esac |
12492 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12493 |
- (eval "$ac_link") 2>conftest.er1 |
12494 |
- ac_status=$? |
12495 |
- grep -v '^ *+' conftest.er1 >conftest.err |
12496 |
- rm -f conftest.er1 |
12497 |
- cat conftest.err >&5 |
12498 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12499 |
- (exit $ac_status); } && { |
12500 |
- test -z "$ac_c_werror_flag" || |
12501 |
- test ! -s conftest.err |
12502 |
- } && test -s conftest$ac_exeext && |
12503 |
- $as_test_x conftest$ac_exeext; then |
12504 |
- eval "$as_ac_var=yes" |
12505 |
-else |
12506 |
- echo "$as_me: failed program was:" >&5 |
12507 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
12508 |
- |
12509 |
- eval "$as_ac_var=no" |
12510 |
-fi |
12511 |
- |
12512 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
12513 |
- conftest$ac_exeext conftest.$ac_ext |
12514 |
-fi |
12515 |
-ac_res=`eval echo '${'$as_ac_var'}'` |
12516 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
12517 |
-echo "${ECHO_T}$ac_res" >&6; } |
12518 |
-if test `eval echo '${'$as_ac_var'}'` = yes; then |
12519 |
+do : |
12520 |
+ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12521 |
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
12522 |
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
12523 |
cat >>confdefs.h <<_ACEOF |
12524 |
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12525 |
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12526 |
_ACEOF |
12527 |
|
12528 |
fi |
12529 |
done |
12530 |
|
12531 |
- |
12532 |
- |
12533 |
- |
12534 |
- |
12535 |
- |
12536 |
for ac_func in getpid setpgid getpgid setpgrp getpgrp |
12537 |
-do |
12538 |
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12539 |
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
12540 |
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
12541 |
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
12542 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
12543 |
-else |
12544 |
- cat >conftest.$ac_ext <<_ACEOF |
12545 |
-/* confdefs.h. */ |
12546 |
-_ACEOF |
12547 |
-cat confdefs.h >>conftest.$ac_ext |
12548 |
-cat >>conftest.$ac_ext <<_ACEOF |
12549 |
-/* end confdefs.h. */ |
12550 |
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
12551 |
- For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
12552 |
-#define $ac_func innocuous_$ac_func |
12553 |
- |
12554 |
-/* System header to define __stub macros and hopefully few prototypes, |
12555 |
- which can conflict with char $ac_func (); below. |
12556 |
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
12557 |
- <limits.h> exists even on freestanding compilers. */ |
12558 |
- |
12559 |
-#ifdef __STDC__ |
12560 |
-# include <limits.h> |
12561 |
-#else |
12562 |
-# include <assert.h> |
12563 |
-#endif |
12564 |
- |
12565 |
-#undef $ac_func |
12566 |
- |
12567 |
-/* Override any GCC internal prototype to avoid an error. |
12568 |
- Use char because int might match the return type of a GCC |
12569 |
- builtin and then its argument prototype would still apply. */ |
12570 |
-#ifdef __cplusplus |
12571 |
-extern "C" |
12572 |
-#endif |
12573 |
-char $ac_func (); |
12574 |
-/* The GNU C library defines this for functions which it implements |
12575 |
- to always fail with ENOSYS. Some functions are actually named |
12576 |
- something starting with __ and the normal name is an alias. */ |
12577 |
-#if defined __stub_$ac_func || defined __stub___$ac_func |
12578 |
-choke me |
12579 |
-#endif |
12580 |
- |
12581 |
-int |
12582 |
-main () |
12583 |
-{ |
12584 |
-return $ac_func (); |
12585 |
- ; |
12586 |
- return 0; |
12587 |
-} |
12588 |
-_ACEOF |
12589 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
12590 |
-if { (ac_try="$ac_link" |
12591 |
-case "(($ac_try" in |
12592 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12593 |
- *) ac_try_echo=$ac_try;; |
12594 |
-esac |
12595 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12596 |
- (eval "$ac_link") 2>conftest.er1 |
12597 |
- ac_status=$? |
12598 |
- grep -v '^ *+' conftest.er1 >conftest.err |
12599 |
- rm -f conftest.er1 |
12600 |
- cat conftest.err >&5 |
12601 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12602 |
- (exit $ac_status); } && { |
12603 |
- test -z "$ac_c_werror_flag" || |
12604 |
- test ! -s conftest.err |
12605 |
- } && test -s conftest$ac_exeext && |
12606 |
- $as_test_x conftest$ac_exeext; then |
12607 |
- eval "$as_ac_var=yes" |
12608 |
-else |
12609 |
- echo "$as_me: failed program was:" >&5 |
12610 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
12611 |
- |
12612 |
- eval "$as_ac_var=no" |
12613 |
-fi |
12614 |
- |
12615 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
12616 |
- conftest$ac_exeext conftest.$ac_ext |
12617 |
-fi |
12618 |
-ac_res=`eval echo '${'$as_ac_var'}'` |
12619 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
12620 |
-echo "${ECHO_T}$ac_res" >&6; } |
12621 |
-if test `eval echo '${'$as_ac_var'}'` = yes; then |
12622 |
+do : |
12623 |
+ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12624 |
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
12625 |
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
12626 |
cat >>confdefs.h <<_ACEOF |
12627 |
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12628 |
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12629 |
_ACEOF |
12630 |
|
12631 |
fi |
12632 |
done |
12633 |
|
12634 |
- |
12635 |
for ac_func in popen |
12636 |
-do |
12637 |
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12638 |
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
12639 |
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
12640 |
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
12641 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
12642 |
-else |
12643 |
- cat >conftest.$ac_ext <<_ACEOF |
12644 |
-/* confdefs.h. */ |
12645 |
-_ACEOF |
12646 |
-cat confdefs.h >>conftest.$ac_ext |
12647 |
-cat >>conftest.$ac_ext <<_ACEOF |
12648 |
-/* end confdefs.h. */ |
12649 |
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
12650 |
- For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
12651 |
-#define $ac_func innocuous_$ac_func |
12652 |
- |
12653 |
-/* System header to define __stub macros and hopefully few prototypes, |
12654 |
- which can conflict with char $ac_func (); below. |
12655 |
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
12656 |
- <limits.h> exists even on freestanding compilers. */ |
12657 |
- |
12658 |
-#ifdef __STDC__ |
12659 |
-# include <limits.h> |
12660 |
-#else |
12661 |
-# include <assert.h> |
12662 |
-#endif |
12663 |
- |
12664 |
-#undef $ac_func |
12665 |
- |
12666 |
-/* Override any GCC internal prototype to avoid an error. |
12667 |
- Use char because int might match the return type of a GCC |
12668 |
- builtin and then its argument prototype would still apply. */ |
12669 |
-#ifdef __cplusplus |
12670 |
-extern "C" |
12671 |
-#endif |
12672 |
-char $ac_func (); |
12673 |
-/* The GNU C library defines this for functions which it implements |
12674 |
- to always fail with ENOSYS. Some functions are actually named |
12675 |
- something starting with __ and the normal name is an alias. */ |
12676 |
-#if defined __stub_$ac_func || defined __stub___$ac_func |
12677 |
-choke me |
12678 |
-#endif |
12679 |
- |
12680 |
-int |
12681 |
-main () |
12682 |
-{ |
12683 |
-return $ac_func (); |
12684 |
- ; |
12685 |
- return 0; |
12686 |
-} |
12687 |
-_ACEOF |
12688 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
12689 |
-if { (ac_try="$ac_link" |
12690 |
-case "(($ac_try" in |
12691 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12692 |
- *) ac_try_echo=$ac_try;; |
12693 |
-esac |
12694 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12695 |
- (eval "$ac_link") 2>conftest.er1 |
12696 |
- ac_status=$? |
12697 |
- grep -v '^ *+' conftest.er1 >conftest.err |
12698 |
- rm -f conftest.er1 |
12699 |
- cat conftest.err >&5 |
12700 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12701 |
- (exit $ac_status); } && { |
12702 |
- test -z "$ac_c_werror_flag" || |
12703 |
- test ! -s conftest.err |
12704 |
- } && test -s conftest$ac_exeext && |
12705 |
- $as_test_x conftest$ac_exeext; then |
12706 |
- eval "$as_ac_var=yes" |
12707 |
-else |
12708 |
- echo "$as_me: failed program was:" >&5 |
12709 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
12710 |
- |
12711 |
- eval "$as_ac_var=no" |
12712 |
-fi |
12713 |
- |
12714 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
12715 |
- conftest$ac_exeext conftest.$ac_ext |
12716 |
-fi |
12717 |
-ac_res=`eval echo '${'$as_ac_var'}'` |
12718 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
12719 |
-echo "${ECHO_T}$ac_res" >&6; } |
12720 |
-if test `eval echo '${'$as_ac_var'}'` = yes; then |
12721 |
+do : |
12722 |
+ ac_fn_c_check_func "$LINENO" "popen" "ac_cv_func_popen" |
12723 |
+if test "x$ac_cv_func_popen" = xyes; then : |
12724 |
cat >>confdefs.h <<_ACEOF |
12725 |
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12726 |
+#define HAVE_POPEN 1 |
12727 |
_ACEOF |
12728 |
|
12729 |
fi |
12730 |
done |
12731 |
|
12732 |
- |
12733 |
for ac_func in uname |
12734 |
-do |
12735 |
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12736 |
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
12737 |
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
12738 |
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
12739 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
12740 |
-else |
12741 |
- cat >conftest.$ac_ext <<_ACEOF |
12742 |
-/* confdefs.h. */ |
12743 |
-_ACEOF |
12744 |
-cat confdefs.h >>conftest.$ac_ext |
12745 |
-cat >>conftest.$ac_ext <<_ACEOF |
12746 |
-/* end confdefs.h. */ |
12747 |
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
12748 |
- For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
12749 |
-#define $ac_func innocuous_$ac_func |
12750 |
- |
12751 |
-/* System header to define __stub macros and hopefully few prototypes, |
12752 |
- which can conflict with char $ac_func (); below. |
12753 |
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
12754 |
- <limits.h> exists even on freestanding compilers. */ |
12755 |
- |
12756 |
-#ifdef __STDC__ |
12757 |
-# include <limits.h> |
12758 |
-#else |
12759 |
-# include <assert.h> |
12760 |
-#endif |
12761 |
- |
12762 |
-#undef $ac_func |
12763 |
- |
12764 |
-/* Override any GCC internal prototype to avoid an error. |
12765 |
- Use char because int might match the return type of a GCC |
12766 |
- builtin and then its argument prototype would still apply. */ |
12767 |
-#ifdef __cplusplus |
12768 |
-extern "C" |
12769 |
-#endif |
12770 |
-char $ac_func (); |
12771 |
-/* The GNU C library defines this for functions which it implements |
12772 |
- to always fail with ENOSYS. Some functions are actually named |
12773 |
- something starting with __ and the normal name is an alias. */ |
12774 |
-#if defined __stub_$ac_func || defined __stub___$ac_func |
12775 |
-choke me |
12776 |
-#endif |
12777 |
- |
12778 |
-int |
12779 |
-main () |
12780 |
-{ |
12781 |
-return $ac_func (); |
12782 |
- ; |
12783 |
- return 0; |
12784 |
-} |
12785 |
-_ACEOF |
12786 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
12787 |
-if { (ac_try="$ac_link" |
12788 |
-case "(($ac_try" in |
12789 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12790 |
- *) ac_try_echo=$ac_try;; |
12791 |
-esac |
12792 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12793 |
- (eval "$ac_link") 2>conftest.er1 |
12794 |
- ac_status=$? |
12795 |
- grep -v '^ *+' conftest.er1 >conftest.err |
12796 |
- rm -f conftest.er1 |
12797 |
- cat conftest.err >&5 |
12798 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12799 |
- (exit $ac_status); } && { |
12800 |
- test -z "$ac_c_werror_flag" || |
12801 |
- test ! -s conftest.err |
12802 |
- } && test -s conftest$ac_exeext && |
12803 |
- $as_test_x conftest$ac_exeext; then |
12804 |
- eval "$as_ac_var=yes" |
12805 |
-else |
12806 |
- echo "$as_me: failed program was:" >&5 |
12807 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
12808 |
- |
12809 |
- eval "$as_ac_var=no" |
12810 |
-fi |
12811 |
- |
12812 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
12813 |
- conftest$ac_exeext conftest.$ac_ext |
12814 |
-fi |
12815 |
-ac_res=`eval echo '${'$as_ac_var'}'` |
12816 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
12817 |
-echo "${ECHO_T}$ac_res" >&6; } |
12818 |
-if test `eval echo '${'$as_ac_var'}'` = yes; then |
12819 |
+do : |
12820 |
+ ac_fn_c_check_func "$LINENO" "uname" "ac_cv_func_uname" |
12821 |
+if test "x$ac_cv_func_uname" = xyes; then : |
12822 |
cat >>confdefs.h <<_ACEOF |
12823 |
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12824 |
+#define HAVE_UNAME 1 |
12825 |
_ACEOF |
12826 |
|
12827 |
fi |
12828 |
done |
12829 |
|
12830 |
- |
12831 |
for ac_func in strptime |
12832 |
-do |
12833 |
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12834 |
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
12835 |
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
12836 |
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
12837 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
12838 |
-else |
12839 |
- cat >conftest.$ac_ext <<_ACEOF |
12840 |
-/* confdefs.h. */ |
12841 |
-_ACEOF |
12842 |
-cat confdefs.h >>conftest.$ac_ext |
12843 |
-cat >>conftest.$ac_ext <<_ACEOF |
12844 |
-/* end confdefs.h. */ |
12845 |
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
12846 |
- For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
12847 |
-#define $ac_func innocuous_$ac_func |
12848 |
- |
12849 |
-/* System header to define __stub macros and hopefully few prototypes, |
12850 |
- which can conflict with char $ac_func (); below. |
12851 |
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
12852 |
- <limits.h> exists even on freestanding compilers. */ |
12853 |
- |
12854 |
-#ifdef __STDC__ |
12855 |
-# include <limits.h> |
12856 |
-#else |
12857 |
-# include <assert.h> |
12858 |
-#endif |
12859 |
- |
12860 |
-#undef $ac_func |
12861 |
- |
12862 |
-/* Override any GCC internal prototype to avoid an error. |
12863 |
- Use char because int might match the return type of a GCC |
12864 |
- builtin and then its argument prototype would still apply. */ |
12865 |
-#ifdef __cplusplus |
12866 |
-extern "C" |
12867 |
-#endif |
12868 |
-char $ac_func (); |
12869 |
-/* The GNU C library defines this for functions which it implements |
12870 |
- to always fail with ENOSYS. Some functions are actually named |
12871 |
- something starting with __ and the normal name is an alias. */ |
12872 |
-#if defined __stub_$ac_func || defined __stub___$ac_func |
12873 |
-choke me |
12874 |
-#endif |
12875 |
- |
12876 |
-int |
12877 |
-main () |
12878 |
-{ |
12879 |
-return $ac_func (); |
12880 |
- ; |
12881 |
- return 0; |
12882 |
-} |
12883 |
-_ACEOF |
12884 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
12885 |
-if { (ac_try="$ac_link" |
12886 |
-case "(($ac_try" in |
12887 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12888 |
- *) ac_try_echo=$ac_try;; |
12889 |
-esac |
12890 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12891 |
- (eval "$ac_link") 2>conftest.er1 |
12892 |
- ac_status=$? |
12893 |
- grep -v '^ *+' conftest.er1 >conftest.err |
12894 |
- rm -f conftest.er1 |
12895 |
- cat conftest.err >&5 |
12896 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12897 |
- (exit $ac_status); } && { |
12898 |
- test -z "$ac_c_werror_flag" || |
12899 |
- test ! -s conftest.err |
12900 |
- } && test -s conftest$ac_exeext && |
12901 |
- $as_test_x conftest$ac_exeext; then |
12902 |
- eval "$as_ac_var=yes" |
12903 |
-else |
12904 |
- echo "$as_me: failed program was:" >&5 |
12905 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
12906 |
- |
12907 |
- eval "$as_ac_var=no" |
12908 |
-fi |
12909 |
- |
12910 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
12911 |
- conftest$ac_exeext conftest.$ac_ext |
12912 |
-fi |
12913 |
-ac_res=`eval echo '${'$as_ac_var'}'` |
12914 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
12915 |
-echo "${ECHO_T}$ac_res" >&6; } |
12916 |
-if test `eval echo '${'$as_ac_var'}'` = yes; then |
12917 |
+do : |
12918 |
+ ac_fn_c_check_func "$LINENO" "strptime" "ac_cv_func_strptime" |
12919 |
+if test "x$ac_cv_func_strptime" = xyes; then : |
12920 |
cat >>confdefs.h <<_ACEOF |
12921 |
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12922 |
+#define HAVE_STRPTIME 1 |
12923 |
_ACEOF |
12924 |
|
12925 |
fi |
12926 |
done |
12927 |
|
12928 |
- |
12929 |
for ac_func in setlocale |
12930 |
-do |
12931 |
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12932 |
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
12933 |
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
12934 |
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
12935 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
12936 |
-else |
12937 |
- cat >conftest.$ac_ext <<_ACEOF |
12938 |
-/* confdefs.h. */ |
12939 |
-_ACEOF |
12940 |
-cat confdefs.h >>conftest.$ac_ext |
12941 |
-cat >>conftest.$ac_ext <<_ACEOF |
12942 |
-/* end confdefs.h. */ |
12943 |
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
12944 |
- For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
12945 |
-#define $ac_func innocuous_$ac_func |
12946 |
- |
12947 |
-/* System header to define __stub macros and hopefully few prototypes, |
12948 |
- which can conflict with char $ac_func (); below. |
12949 |
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
12950 |
- <limits.h> exists even on freestanding compilers. */ |
12951 |
- |
12952 |
-#ifdef __STDC__ |
12953 |
-# include <limits.h> |
12954 |
-#else |
12955 |
-# include <assert.h> |
12956 |
-#endif |
12957 |
- |
12958 |
-#undef $ac_func |
12959 |
- |
12960 |
-/* Override any GCC internal prototype to avoid an error. |
12961 |
- Use char because int might match the return type of a GCC |
12962 |
- builtin and then its argument prototype would still apply. */ |
12963 |
-#ifdef __cplusplus |
12964 |
-extern "C" |
12965 |
-#endif |
12966 |
-char $ac_func (); |
12967 |
-/* The GNU C library defines this for functions which it implements |
12968 |
- to always fail with ENOSYS. Some functions are actually named |
12969 |
- something starting with __ and the normal name is an alias. */ |
12970 |
-#if defined __stub_$ac_func || defined __stub___$ac_func |
12971 |
-choke me |
12972 |
-#endif |
12973 |
- |
12974 |
-int |
12975 |
-main () |
12976 |
-{ |
12977 |
-return $ac_func (); |
12978 |
- ; |
12979 |
- return 0; |
12980 |
-} |
12981 |
-_ACEOF |
12982 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
12983 |
-if { (ac_try="$ac_link" |
12984 |
-case "(($ac_try" in |
12985 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12986 |
- *) ac_try_echo=$ac_try;; |
12987 |
-esac |
12988 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12989 |
- (eval "$ac_link") 2>conftest.er1 |
12990 |
- ac_status=$? |
12991 |
- grep -v '^ *+' conftest.er1 >conftest.err |
12992 |
- rm -f conftest.er1 |
12993 |
- cat conftest.err >&5 |
12994 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12995 |
- (exit $ac_status); } && { |
12996 |
- test -z "$ac_c_werror_flag" || |
12997 |
- test ! -s conftest.err |
12998 |
- } && test -s conftest$ac_exeext && |
12999 |
- $as_test_x conftest$ac_exeext; then |
13000 |
- eval "$as_ac_var=yes" |
13001 |
-else |
13002 |
- echo "$as_me: failed program was:" >&5 |
13003 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
13004 |
- |
13005 |
- eval "$as_ac_var=no" |
13006 |
-fi |
13007 |
- |
13008 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
13009 |
- conftest$ac_exeext conftest.$ac_ext |
13010 |
-fi |
13011 |
-ac_res=`eval echo '${'$as_ac_var'}'` |
13012 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
13013 |
-echo "${ECHO_T}$ac_res" >&6; } |
13014 |
-if test `eval echo '${'$as_ac_var'}'` = yes; then |
13015 |
+do : |
13016 |
+ ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale" |
13017 |
+if test "x$ac_cv_func_setlocale" = xyes; then : |
13018 |
cat >>confdefs.h <<_ACEOF |
13019 |
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
13020 |
+#define HAVE_SETLOCALE 1 |
13021 |
_ACEOF |
13022 |
|
13023 |
fi |
13024 |
done |
13025 |
|
13026 |
- |
13027 |
for ac_func in nl_langinfo |
13028 |
-do |
13029 |
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
13030 |
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
13031 |
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
13032 |
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
13033 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
13034 |
-else |
13035 |
- cat >conftest.$ac_ext <<_ACEOF |
13036 |
-/* confdefs.h. */ |
13037 |
-_ACEOF |
13038 |
-cat confdefs.h >>conftest.$ac_ext |
13039 |
-cat >>conftest.$ac_ext <<_ACEOF |
13040 |
-/* end confdefs.h. */ |
13041 |
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
13042 |
- For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
13043 |
-#define $ac_func innocuous_$ac_func |
13044 |
- |
13045 |
-/* System header to define __stub macros and hopefully few prototypes, |
13046 |
- which can conflict with char $ac_func (); below. |
13047 |
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
13048 |
- <limits.h> exists even on freestanding compilers. */ |
13049 |
- |
13050 |
-#ifdef __STDC__ |
13051 |
-# include <limits.h> |
13052 |
-#else |
13053 |
-# include <assert.h> |
13054 |
-#endif |
13055 |
- |
13056 |
-#undef $ac_func |
13057 |
- |
13058 |
-/* Override any GCC internal prototype to avoid an error. |
13059 |
- Use char because int might match the return type of a GCC |
13060 |
- builtin and then its argument prototype would still apply. */ |
13061 |
-#ifdef __cplusplus |
13062 |
-extern "C" |
13063 |
-#endif |
13064 |
-char $ac_func (); |
13065 |
-/* The GNU C library defines this for functions which it implements |
13066 |
- to always fail with ENOSYS. Some functions are actually named |
13067 |
- something starting with __ and the normal name is an alias. */ |
13068 |
-#if defined __stub_$ac_func || defined __stub___$ac_func |
13069 |
-choke me |
13070 |
-#endif |
13071 |
- |
13072 |
-int |
13073 |
-main () |
13074 |
-{ |
13075 |
-return $ac_func (); |
13076 |
- ; |
13077 |
- return 0; |
13078 |
-} |
13079 |
-_ACEOF |
13080 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
13081 |
-if { (ac_try="$ac_link" |
13082 |
-case "(($ac_try" in |
13083 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13084 |
- *) ac_try_echo=$ac_try;; |
13085 |
-esac |
13086 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
13087 |
- (eval "$ac_link") 2>conftest.er1 |
13088 |
- ac_status=$? |
13089 |
- grep -v '^ *+' conftest.er1 >conftest.err |
13090 |
- rm -f conftest.er1 |
13091 |
- cat conftest.err >&5 |
13092 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13093 |
- (exit $ac_status); } && { |
13094 |
- test -z "$ac_c_werror_flag" || |
13095 |
- test ! -s conftest.err |
13096 |
- } && test -s conftest$ac_exeext && |
13097 |
- $as_test_x conftest$ac_exeext; then |
13098 |
- eval "$as_ac_var=yes" |
13099 |
-else |
13100 |
- echo "$as_me: failed program was:" >&5 |
13101 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
13102 |
- |
13103 |
- eval "$as_ac_var=no" |
13104 |
-fi |
13105 |
- |
13106 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
13107 |
- conftest$ac_exeext conftest.$ac_ext |
13108 |
-fi |
13109 |
-ac_res=`eval echo '${'$as_ac_var'}'` |
13110 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
13111 |
-echo "${ECHO_T}$ac_res" >&6; } |
13112 |
-if test `eval echo '${'$as_ac_var'}'` = yes; then |
13113 |
+do : |
13114 |
+ ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo" |
13115 |
+if test "x$ac_cv_func_nl_langinfo" = xyes; then : |
13116 |
cat >>confdefs.h <<_ACEOF |
13117 |
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
13118 |
+#define HAVE_NL_LANGINFO 1 |
13119 |
_ACEOF |
13120 |
|
13121 |
fi |
13122 |
done |
13123 |
|
13124 |
|
13125 |
-{ echo "$as_me:$LINENO: checking for sigsetjmp/siglongjmp" >&5 |
13126 |
-echo $ECHO_N "checking for sigsetjmp/siglongjmp... $ECHO_C" >&6; } |
13127 |
-if test "${ac_cv_have_sigsetjmp+set}" = set; then |
13128 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
13129 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigsetjmp/siglongjmp" >&5 |
13130 |
+$as_echo_n "checking for sigsetjmp/siglongjmp... " >&6; } |
13131 |
+if ${ac_cv_have_sigsetjmp+:} false; then : |
13132 |
+ $as_echo_n "(cached) " >&6 |
13133 |
else |
13134 |
- cat >conftest.$ac_ext <<_ACEOF |
13135 |
-/* confdefs.h. */ |
13136 |
-_ACEOF |
13137 |
-cat confdefs.h >>conftest.$ac_ext |
13138 |
-cat >>conftest.$ac_ext <<_ACEOF |
13139 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13140 |
/* end confdefs.h. */ |
13141 |
#include <setjmp.h> |
13142 |
int |
13143 |
@@ -11536,58 +6334,30 @@ sigjmp_buf env;sigsetjmp(env, 1);siglong |
13144 |
return 0; |
13145 |
} |
13146 |
_ACEOF |
13147 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
13148 |
-if { (ac_try="$ac_link" |
13149 |
-case "(($ac_try" in |
13150 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13151 |
- *) ac_try_echo=$ac_try;; |
13152 |
-esac |
13153 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
13154 |
- (eval "$ac_link") 2>conftest.er1 |
13155 |
- ac_status=$? |
13156 |
- grep -v '^ *+' conftest.er1 >conftest.err |
13157 |
- rm -f conftest.er1 |
13158 |
- cat conftest.err >&5 |
13159 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13160 |
- (exit $ac_status); } && { |
13161 |
- test -z "$ac_c_werror_flag" || |
13162 |
- test ! -s conftest.err |
13163 |
- } && test -s conftest$ac_exeext && |
13164 |
- $as_test_x conftest$ac_exeext; then |
13165 |
+if ac_fn_c_try_link "$LINENO"; then : |
13166 |
ac_cv_have_sigsetjmp=yes |
13167 |
else |
13168 |
- echo "$as_me: failed program was:" >&5 |
13169 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
13170 |
- |
13171 |
- ac_cv_have_sigsetjmp=no |
13172 |
+ ac_cv_have_sigsetjmp=no |
13173 |
fi |
13174 |
- |
13175 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
13176 |
- conftest$ac_exeext conftest.$ac_ext |
13177 |
+rm -f core conftest.err conftest.$ac_objext \ |
13178 |
+ conftest$ac_exeext conftest.$ac_ext |
13179 |
|
13180 |
fi |
13181 |
-{ echo "$as_me:$LINENO: result: $ac_cv_have_sigsetjmp" >&5 |
13182 |
-echo "${ECHO_T}$ac_cv_have_sigsetjmp" >&6; } |
13183 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_sigsetjmp" >&5 |
13184 |
+$as_echo "$ac_cv_have_sigsetjmp" >&6; } |
13185 |
if test "$ac_cv_have_sigsetjmp" = yes; then |
13186 |
- cat >>confdefs.h <<\_ACEOF |
13187 |
-#define HAVE_SIGSETJMP 1 |
13188 |
-_ACEOF |
13189 |
+ $as_echo "#define HAVE_SIGSETJMP 1" >>confdefs.h |
13190 |
|
13191 |
fi |
13192 |
|
13193 |
- |
13194 |
-{ echo "$as_me:$LINENO: checking for atan in -lm" >&5 |
13195 |
-echo $ECHO_N "checking for atan in -lm... $ECHO_C" >&6; } |
13196 |
-if test "${ac_cv_lib_m_atan+set}" = set; then |
13197 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
13198 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan in -lm" >&5 |
13199 |
+$as_echo_n "checking for atan in -lm... " >&6; } |
13200 |
+if ${ac_cv_lib_m_atan+:} false; then : |
13201 |
+ $as_echo_n "(cached) " >&6 |
13202 |
else |
13203 |
ac_check_lib_save_LIBS=$LIBS |
13204 |
LIBS="-lm $LIBS" |
13205 |
-cat >conftest.$ac_ext <<_ACEOF |
13206 |
-/* confdefs.h. */ |
13207 |
-_ACEOF |
13208 |
-cat confdefs.h >>conftest.$ac_ext |
13209 |
-cat >>conftest.$ac_ext <<_ACEOF |
13210 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13211 |
/* end confdefs.h. */ |
13212 |
|
13213 |
/* Override any GCC internal prototype to avoid an error. |
13214 |
@@ -11605,39 +6375,18 @@ return atan (); |
13215 |
return 0; |
13216 |
} |
13217 |
_ACEOF |
13218 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
13219 |
-if { (ac_try="$ac_link" |
13220 |
-case "(($ac_try" in |
13221 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13222 |
- *) ac_try_echo=$ac_try;; |
13223 |
-esac |
13224 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
13225 |
- (eval "$ac_link") 2>conftest.er1 |
13226 |
- ac_status=$? |
13227 |
- grep -v '^ *+' conftest.er1 >conftest.err |
13228 |
- rm -f conftest.er1 |
13229 |
- cat conftest.err >&5 |
13230 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13231 |
- (exit $ac_status); } && { |
13232 |
- test -z "$ac_c_werror_flag" || |
13233 |
- test ! -s conftest.err |
13234 |
- } && test -s conftest$ac_exeext && |
13235 |
- $as_test_x conftest$ac_exeext; then |
13236 |
+if ac_fn_c_try_link "$LINENO"; then : |
13237 |
ac_cv_lib_m_atan=yes |
13238 |
else |
13239 |
- echo "$as_me: failed program was:" >&5 |
13240 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
13241 |
- |
13242 |
- ac_cv_lib_m_atan=no |
13243 |
+ ac_cv_lib_m_atan=no |
13244 |
fi |
13245 |
- |
13246 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
13247 |
- conftest$ac_exeext conftest.$ac_ext |
13248 |
+rm -f core conftest.err conftest.$ac_objext \ |
13249 |
+ conftest$ac_exeext conftest.$ac_ext |
13250 |
LIBS=$ac_check_lib_save_LIBS |
13251 |
fi |
13252 |
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan" >&5 |
13253 |
-echo "${ECHO_T}$ac_cv_lib_m_atan" >&6; } |
13254 |
-if test $ac_cv_lib_m_atan = yes; then |
13255 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan" >&5 |
13256 |
+$as_echo "$ac_cv_lib_m_atan" >&6; } |
13257 |
+if test "x$ac_cv_lib_m_atan" = xyes; then : |
13258 |
cat >>confdefs.h <<_ACEOF |
13259 |
#define HAVE_LIBM 1 |
13260 |
_ACEOF |
13261 |
@@ -11647,107 +6396,22 @@ _ACEOF |
13262 |
fi |
13263 |
|
13264 |
|
13265 |
-{ echo "$as_me:$LINENO: checking for socket" >&5 |
13266 |
-echo $ECHO_N "checking for socket... $ECHO_C" >&6; } |
13267 |
-if test "${ac_cv_func_socket+set}" = set; then |
13268 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
13269 |
-else |
13270 |
- cat >conftest.$ac_ext <<_ACEOF |
13271 |
-/* confdefs.h. */ |
13272 |
-_ACEOF |
13273 |
-cat confdefs.h >>conftest.$ac_ext |
13274 |
-cat >>conftest.$ac_ext <<_ACEOF |
13275 |
-/* end confdefs.h. */ |
13276 |
-/* Define socket to an innocuous variant, in case <limits.h> declares socket. |
13277 |
- For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
13278 |
-#define socket innocuous_socket |
13279 |
- |
13280 |
-/* System header to define __stub macros and hopefully few prototypes, |
13281 |
- which can conflict with char socket (); below. |
13282 |
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
13283 |
- <limits.h> exists even on freestanding compilers. */ |
13284 |
- |
13285 |
-#ifdef __STDC__ |
13286 |
-# include <limits.h> |
13287 |
-#else |
13288 |
-# include <assert.h> |
13289 |
-#endif |
13290 |
- |
13291 |
-#undef socket |
13292 |
- |
13293 |
-/* Override any GCC internal prototype to avoid an error. |
13294 |
- Use char because int might match the return type of a GCC |
13295 |
- builtin and then its argument prototype would still apply. */ |
13296 |
-#ifdef __cplusplus |
13297 |
-extern "C" |
13298 |
-#endif |
13299 |
-char socket (); |
13300 |
-/* The GNU C library defines this for functions which it implements |
13301 |
- to always fail with ENOSYS. Some functions are actually named |
13302 |
- something starting with __ and the normal name is an alias. */ |
13303 |
-#if defined __stub_socket || defined __stub___socket |
13304 |
-choke me |
13305 |
-#endif |
13306 |
- |
13307 |
-int |
13308 |
-main () |
13309 |
-{ |
13310 |
-return socket (); |
13311 |
- ; |
13312 |
- return 0; |
13313 |
-} |
13314 |
-_ACEOF |
13315 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
13316 |
-if { (ac_try="$ac_link" |
13317 |
-case "(($ac_try" in |
13318 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13319 |
- *) ac_try_echo=$ac_try;; |
13320 |
-esac |
13321 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
13322 |
- (eval "$ac_link") 2>conftest.er1 |
13323 |
- ac_status=$? |
13324 |
- grep -v '^ *+' conftest.er1 >conftest.err |
13325 |
- rm -f conftest.er1 |
13326 |
- cat conftest.err >&5 |
13327 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13328 |
- (exit $ac_status); } && { |
13329 |
- test -z "$ac_c_werror_flag" || |
13330 |
- test ! -s conftest.err |
13331 |
- } && test -s conftest$ac_exeext && |
13332 |
- $as_test_x conftest$ac_exeext; then |
13333 |
- ac_cv_func_socket=yes |
13334 |
-else |
13335 |
- echo "$as_me: failed program was:" >&5 |
13336 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
13337 |
- |
13338 |
- ac_cv_func_socket=no |
13339 |
-fi |
13340 |
- |
13341 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
13342 |
- conftest$ac_exeext conftest.$ac_ext |
13343 |
-fi |
13344 |
-{ echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5 |
13345 |
-echo "${ECHO_T}$ac_cv_func_socket" >&6; } |
13346 |
-if test $ac_cv_func_socket = yes; then |
13347 |
+ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket" |
13348 |
+if test "x$ac_cv_func_socket" = xyes; then : |
13349 |
cf_result=yes |
13350 |
else |
13351 |
cf_result=no |
13352 |
fi |
13353 |
|
13354 |
if test "$cf_result" = no; then |
13355 |
- |
13356 |
-{ echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 |
13357 |
-echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; } |
13358 |
-if test "${ac_cv_lib_socket_socket+set}" = set; then |
13359 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
13360 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5 |
13361 |
+$as_echo_n "checking for socket in -lsocket... " >&6; } |
13362 |
+if ${ac_cv_lib_socket_socket+:} false; then : |
13363 |
+ $as_echo_n "(cached) " >&6 |
13364 |
else |
13365 |
ac_check_lib_save_LIBS=$LIBS |
13366 |
LIBS="-lsocket $LIBS" |
13367 |
-cat >conftest.$ac_ext <<_ACEOF |
13368 |
-/* confdefs.h. */ |
13369 |
-_ACEOF |
13370 |
-cat confdefs.h >>conftest.$ac_ext |
13371 |
-cat >>conftest.$ac_ext <<_ACEOF |
13372 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13373 |
/* end confdefs.h. */ |
13374 |
|
13375 |
/* Override any GCC internal prototype to avoid an error. |
13376 |
@@ -11765,39 +6429,18 @@ return socket (); |
13377 |
return 0; |
13378 |
} |
13379 |
_ACEOF |
13380 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
13381 |
-if { (ac_try="$ac_link" |
13382 |
-case "(($ac_try" in |
13383 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13384 |
- *) ac_try_echo=$ac_try;; |
13385 |
-esac |
13386 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
13387 |
- (eval "$ac_link") 2>conftest.er1 |
13388 |
- ac_status=$? |
13389 |
- grep -v '^ *+' conftest.er1 >conftest.err |
13390 |
- rm -f conftest.er1 |
13391 |
- cat conftest.err >&5 |
13392 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13393 |
- (exit $ac_status); } && { |
13394 |
- test -z "$ac_c_werror_flag" || |
13395 |
- test ! -s conftest.err |
13396 |
- } && test -s conftest$ac_exeext && |
13397 |
- $as_test_x conftest$ac_exeext; then |
13398 |
+if ac_fn_c_try_link "$LINENO"; then : |
13399 |
ac_cv_lib_socket_socket=yes |
13400 |
else |
13401 |
- echo "$as_me: failed program was:" >&5 |
13402 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
13403 |
- |
13404 |
- ac_cv_lib_socket_socket=no |
13405 |
+ ac_cv_lib_socket_socket=no |
13406 |
fi |
13407 |
- |
13408 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
13409 |
- conftest$ac_exeext conftest.$ac_ext |
13410 |
+rm -f core conftest.err conftest.$ac_objext \ |
13411 |
+ conftest$ac_exeext conftest.$ac_ext |
13412 |
LIBS=$ac_check_lib_save_LIBS |
13413 |
fi |
13414 |
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5 |
13415 |
-echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; } |
13416 |
-if test $ac_cv_lib_socket_socket = yes; then |
13417 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5 |
13418 |
+$as_echo "$ac_cv_lib_socket_socket" >&6; } |
13419 |
+if test "x$ac_cv_lib_socket_socket" = xyes; then : |
13420 |
cat >>confdefs.h <<_ACEOF |
13421 |
#define HAVE_LIBSOCKET 1 |
13422 |
_ACEOF |
13423 |
@@ -11807,107 +6450,22 @@ _ACEOF |
13424 |
fi |
13425 |
|
13426 |
fi |
13427 |
-{ echo "$as_me:$LINENO: checking for setsockopt" >&5 |
13428 |
-echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6; } |
13429 |
-if test "${ac_cv_func_setsockopt+set}" = set; then |
13430 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
13431 |
-else |
13432 |
- cat >conftest.$ac_ext <<_ACEOF |
13433 |
-/* confdefs.h. */ |
13434 |
-_ACEOF |
13435 |
-cat confdefs.h >>conftest.$ac_ext |
13436 |
-cat >>conftest.$ac_ext <<_ACEOF |
13437 |
-/* end confdefs.h. */ |
13438 |
-/* Define setsockopt to an innocuous variant, in case <limits.h> declares setsockopt. |
13439 |
- For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
13440 |
-#define setsockopt innocuous_setsockopt |
13441 |
- |
13442 |
-/* System header to define __stub macros and hopefully few prototypes, |
13443 |
- which can conflict with char setsockopt (); below. |
13444 |
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
13445 |
- <limits.h> exists even on freestanding compilers. */ |
13446 |
- |
13447 |
-#ifdef __STDC__ |
13448 |
-# include <limits.h> |
13449 |
-#else |
13450 |
-# include <assert.h> |
13451 |
-#endif |
13452 |
- |
13453 |
-#undef setsockopt |
13454 |
- |
13455 |
-/* Override any GCC internal prototype to avoid an error. |
13456 |
- Use char because int might match the return type of a GCC |
13457 |
- builtin and then its argument prototype would still apply. */ |
13458 |
-#ifdef __cplusplus |
13459 |
-extern "C" |
13460 |
-#endif |
13461 |
-char setsockopt (); |
13462 |
-/* The GNU C library defines this for functions which it implements |
13463 |
- to always fail with ENOSYS. Some functions are actually named |
13464 |
- something starting with __ and the normal name is an alias. */ |
13465 |
-#if defined __stub_setsockopt || defined __stub___setsockopt |
13466 |
-choke me |
13467 |
-#endif |
13468 |
- |
13469 |
-int |
13470 |
-main () |
13471 |
-{ |
13472 |
-return setsockopt (); |
13473 |
- ; |
13474 |
- return 0; |
13475 |
-} |
13476 |
-_ACEOF |
13477 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
13478 |
-if { (ac_try="$ac_link" |
13479 |
-case "(($ac_try" in |
13480 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13481 |
- *) ac_try_echo=$ac_try;; |
13482 |
-esac |
13483 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
13484 |
- (eval "$ac_link") 2>conftest.er1 |
13485 |
- ac_status=$? |
13486 |
- grep -v '^ *+' conftest.er1 >conftest.err |
13487 |
- rm -f conftest.er1 |
13488 |
- cat conftest.err >&5 |
13489 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13490 |
- (exit $ac_status); } && { |
13491 |
- test -z "$ac_c_werror_flag" || |
13492 |
- test ! -s conftest.err |
13493 |
- } && test -s conftest$ac_exeext && |
13494 |
- $as_test_x conftest$ac_exeext; then |
13495 |
- ac_cv_func_setsockopt=yes |
13496 |
-else |
13497 |
- echo "$as_me: failed program was:" >&5 |
13498 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
13499 |
- |
13500 |
- ac_cv_func_setsockopt=no |
13501 |
-fi |
13502 |
- |
13503 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
13504 |
- conftest$ac_exeext conftest.$ac_ext |
13505 |
-fi |
13506 |
-{ echo "$as_me:$LINENO: result: $ac_cv_func_setsockopt" >&5 |
13507 |
-echo "${ECHO_T}$ac_cv_func_setsockopt" >&6; } |
13508 |
-if test $ac_cv_func_setsockopt = yes; then |
13509 |
+ac_fn_c_check_func "$LINENO" "setsockopt" "ac_cv_func_setsockopt" |
13510 |
+if test "x$ac_cv_func_setsockopt" = xyes; then : |
13511 |
cf_result=yes |
13512 |
else |
13513 |
cf_result=no |
13514 |
fi |
13515 |
|
13516 |
if test "$cf_result" = no; then |
13517 |
- |
13518 |
-{ echo "$as_me:$LINENO: checking for setsockopt in -lsocket" >&5 |
13519 |
-echo $ECHO_N "checking for setsockopt in -lsocket... $ECHO_C" >&6; } |
13520 |
-if test "${ac_cv_lib_socket_setsockopt+set}" = set; then |
13521 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
13522 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setsockopt in -lsocket" >&5 |
13523 |
+$as_echo_n "checking for setsockopt in -lsocket... " >&6; } |
13524 |
+if ${ac_cv_lib_socket_setsockopt+:} false; then : |
13525 |
+ $as_echo_n "(cached) " >&6 |
13526 |
else |
13527 |
ac_check_lib_save_LIBS=$LIBS |
13528 |
LIBS="-lsocket $LIBS" |
13529 |
-cat >conftest.$ac_ext <<_ACEOF |
13530 |
-/* confdefs.h. */ |
13531 |
-_ACEOF |
13532 |
-cat confdefs.h >>conftest.$ac_ext |
13533 |
-cat >>conftest.$ac_ext <<_ACEOF |
13534 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13535 |
/* end confdefs.h. */ |
13536 |
|
13537 |
/* Override any GCC internal prototype to avoid an error. |
13538 |
@@ -11925,39 +6483,18 @@ return setsockopt (); |
13539 |
return 0; |
13540 |
} |
13541 |
_ACEOF |
13542 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
13543 |
-if { (ac_try="$ac_link" |
13544 |
-case "(($ac_try" in |
13545 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13546 |
- *) ac_try_echo=$ac_try;; |
13547 |
-esac |
13548 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
13549 |
- (eval "$ac_link") 2>conftest.er1 |
13550 |
- ac_status=$? |
13551 |
- grep -v '^ *+' conftest.er1 >conftest.err |
13552 |
- rm -f conftest.er1 |
13553 |
- cat conftest.err >&5 |
13554 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13555 |
- (exit $ac_status); } && { |
13556 |
- test -z "$ac_c_werror_flag" || |
13557 |
- test ! -s conftest.err |
13558 |
- } && test -s conftest$ac_exeext && |
13559 |
- $as_test_x conftest$ac_exeext; then |
13560 |
+if ac_fn_c_try_link "$LINENO"; then : |
13561 |
ac_cv_lib_socket_setsockopt=yes |
13562 |
else |
13563 |
- echo "$as_me: failed program was:" >&5 |
13564 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
13565 |
- |
13566 |
- ac_cv_lib_socket_setsockopt=no |
13567 |
+ ac_cv_lib_socket_setsockopt=no |
13568 |
fi |
13569 |
- |
13570 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
13571 |
- conftest$ac_exeext conftest.$ac_ext |
13572 |
+rm -f core conftest.err conftest.$ac_objext \ |
13573 |
+ conftest$ac_exeext conftest.$ac_ext |
13574 |
LIBS=$ac_check_lib_save_LIBS |
13575 |
fi |
13576 |
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_setsockopt" >&5 |
13577 |
-echo "${ECHO_T}$ac_cv_lib_socket_setsockopt" >&6; } |
13578 |
-if test $ac_cv_lib_socket_setsockopt = yes; then |
13579 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_setsockopt" >&5 |
13580 |
+$as_echo "$ac_cv_lib_socket_setsockopt" >&6; } |
13581 |
+if test "x$ac_cv_lib_socket_setsockopt" = xyes; then : |
13582 |
cat >>confdefs.h <<_ACEOF |
13583 |
#define HAVE_LIBSOCKET 1 |
13584 |
_ACEOF |
13585 |
@@ -11971,106 +6508,22 @@ fi |
13586 |
#AC_MSG_CHECKING([for gethostbyname]) |
13587 |
#AC_TRY_LINK([#include <netdb.h>], [gethostbyname("")], cf_result=yes, cf_result=no) |
13588 |
#AC_MSG_RESULT($cf_result) |
13589 |
-{ echo "$as_me:$LINENO: checking for gethostbyname" >&5 |
13590 |
-echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; } |
13591 |
-if test "${ac_cv_func_gethostbyname+set}" = set; then |
13592 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
13593 |
-else |
13594 |
- cat >conftest.$ac_ext <<_ACEOF |
13595 |
-/* confdefs.h. */ |
13596 |
-_ACEOF |
13597 |
-cat confdefs.h >>conftest.$ac_ext |
13598 |
-cat >>conftest.$ac_ext <<_ACEOF |
13599 |
-/* end confdefs.h. */ |
13600 |
-/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname. |
13601 |
- For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
13602 |
-#define gethostbyname innocuous_gethostbyname |
13603 |
- |
13604 |
-/* System header to define __stub macros and hopefully few prototypes, |
13605 |
- which can conflict with char gethostbyname (); below. |
13606 |
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
13607 |
- <limits.h> exists even on freestanding compilers. */ |
13608 |
- |
13609 |
-#ifdef __STDC__ |
13610 |
-# include <limits.h> |
13611 |
-#else |
13612 |
-# include <assert.h> |
13613 |
-#endif |
13614 |
- |
13615 |
-#undef gethostbyname |
13616 |
- |
13617 |
-/* Override any GCC internal prototype to avoid an error. |
13618 |
- Use char because int might match the return type of a GCC |
13619 |
- builtin and then its argument prototype would still apply. */ |
13620 |
-#ifdef __cplusplus |
13621 |
-extern "C" |
13622 |
-#endif |
13623 |
-char gethostbyname (); |
13624 |
-/* The GNU C library defines this for functions which it implements |
13625 |
- to always fail with ENOSYS. Some functions are actually named |
13626 |
- something starting with __ and the normal name is an alias. */ |
13627 |
-#if defined __stub_gethostbyname || defined __stub___gethostbyname |
13628 |
-choke me |
13629 |
-#endif |
13630 |
- |
13631 |
-int |
13632 |
-main () |
13633 |
-{ |
13634 |
-return gethostbyname (); |
13635 |
- ; |
13636 |
- return 0; |
13637 |
-} |
13638 |
-_ACEOF |
13639 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
13640 |
-if { (ac_try="$ac_link" |
13641 |
-case "(($ac_try" in |
13642 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13643 |
- *) ac_try_echo=$ac_try;; |
13644 |
-esac |
13645 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
13646 |
- (eval "$ac_link") 2>conftest.er1 |
13647 |
- ac_status=$? |
13648 |
- grep -v '^ *+' conftest.er1 >conftest.err |
13649 |
- rm -f conftest.er1 |
13650 |
- cat conftest.err >&5 |
13651 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13652 |
- (exit $ac_status); } && { |
13653 |
- test -z "$ac_c_werror_flag" || |
13654 |
- test ! -s conftest.err |
13655 |
- } && test -s conftest$ac_exeext && |
13656 |
- $as_test_x conftest$ac_exeext; then |
13657 |
- ac_cv_func_gethostbyname=yes |
13658 |
-else |
13659 |
- echo "$as_me: failed program was:" >&5 |
13660 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
13661 |
- |
13662 |
- ac_cv_func_gethostbyname=no |
13663 |
-fi |
13664 |
- |
13665 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
13666 |
- conftest$ac_exeext conftest.$ac_ext |
13667 |
-fi |
13668 |
-{ echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5 |
13669 |
-echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; } |
13670 |
-if test $ac_cv_func_gethostbyname = yes; then |
13671 |
+ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" |
13672 |
+if test "x$ac_cv_func_gethostbyname" = xyes; then : |
13673 |
cf_result=yes |
13674 |
else |
13675 |
cf_result=no |
13676 |
fi |
13677 |
|
13678 |
if test "$cf_result" = no; then |
13679 |
- { echo "$as_me:$LINENO: checking for gethostbyname in -lsocket" >&5 |
13680 |
-echo $ECHO_N "checking for gethostbyname in -lsocket... $ECHO_C" >&6; } |
13681 |
-if test "${ac_cv_lib_socket_gethostbyname+set}" = set; then |
13682 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
13683 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lsocket" >&5 |
13684 |
+$as_echo_n "checking for gethostbyname in -lsocket... " >&6; } |
13685 |
+if ${ac_cv_lib_socket_gethostbyname+:} false; then : |
13686 |
+ $as_echo_n "(cached) " >&6 |
13687 |
else |
13688 |
ac_check_lib_save_LIBS=$LIBS |
13689 |
LIBS="-lsocket $LIBS" |
13690 |
-cat >conftest.$ac_ext <<_ACEOF |
13691 |
-/* confdefs.h. */ |
13692 |
-_ACEOF |
13693 |
-cat confdefs.h >>conftest.$ac_ext |
13694 |
-cat >>conftest.$ac_ext <<_ACEOF |
13695 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13696 |
/* end confdefs.h. */ |
13697 |
|
13698 |
/* Override any GCC internal prototype to avoid an error. |
13699 |
@@ -12088,58 +6541,32 @@ return gethostbyname (); |
13700 |
return 0; |
13701 |
} |
13702 |
_ACEOF |
13703 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
13704 |
-if { (ac_try="$ac_link" |
13705 |
-case "(($ac_try" in |
13706 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13707 |
- *) ac_try_echo=$ac_try;; |
13708 |
-esac |
13709 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
13710 |
- (eval "$ac_link") 2>conftest.er1 |
13711 |
- ac_status=$? |
13712 |
- grep -v '^ *+' conftest.er1 >conftest.err |
13713 |
- rm -f conftest.er1 |
13714 |
- cat conftest.err >&5 |
13715 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13716 |
- (exit $ac_status); } && { |
13717 |
- test -z "$ac_c_werror_flag" || |
13718 |
- test ! -s conftest.err |
13719 |
- } && test -s conftest$ac_exeext && |
13720 |
- $as_test_x conftest$ac_exeext; then |
13721 |
+if ac_fn_c_try_link "$LINENO"; then : |
13722 |
ac_cv_lib_socket_gethostbyname=yes |
13723 |
else |
13724 |
- echo "$as_me: failed program was:" >&5 |
13725 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
13726 |
- |
13727 |
- ac_cv_lib_socket_gethostbyname=no |
13728 |
+ ac_cv_lib_socket_gethostbyname=no |
13729 |
fi |
13730 |
- |
13731 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
13732 |
- conftest$ac_exeext conftest.$ac_ext |
13733 |
+rm -f core conftest.err conftest.$ac_objext \ |
13734 |
+ conftest$ac_exeext conftest.$ac_ext |
13735 |
LIBS=$ac_check_lib_save_LIBS |
13736 |
fi |
13737 |
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_gethostbyname" >&5 |
13738 |
-echo "${ECHO_T}$ac_cv_lib_socket_gethostbyname" >&6; } |
13739 |
-if test $ac_cv_lib_socket_gethostbyname = yes; then |
13740 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_gethostbyname" >&5 |
13741 |
+$as_echo "$ac_cv_lib_socket_gethostbyname" >&6; } |
13742 |
+if test "x$ac_cv_lib_socket_gethostbyname" = xyes; then : |
13743 |
cf_result=yes |
13744 |
else |
13745 |
cf_result=no |
13746 |
fi |
13747 |
|
13748 |
if test "$cf_result" = no; then |
13749 |
- |
13750 |
-{ echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 |
13751 |
-echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; } |
13752 |
-if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then |
13753 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
13754 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 |
13755 |
+$as_echo_n "checking for gethostbyname in -lnsl... " >&6; } |
13756 |
+if ${ac_cv_lib_nsl_gethostbyname+:} false; then : |
13757 |
+ $as_echo_n "(cached) " >&6 |
13758 |
else |
13759 |
ac_check_lib_save_LIBS=$LIBS |
13760 |
LIBS="-lnsl $LIBS" |
13761 |
-cat >conftest.$ac_ext <<_ACEOF |
13762 |
-/* confdefs.h. */ |
13763 |
-_ACEOF |
13764 |
-cat confdefs.h >>conftest.$ac_ext |
13765 |
-cat >>conftest.$ac_ext <<_ACEOF |
13766 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13767 |
/* end confdefs.h. */ |
13768 |
|
13769 |
/* Override any GCC internal prototype to avoid an error. |
13770 |
@@ -12157,39 +6584,18 @@ return gethostbyname (); |
13771 |
return 0; |
13772 |
} |
13773 |
_ACEOF |
13774 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
13775 |
-if { (ac_try="$ac_link" |
13776 |
-case "(($ac_try" in |
13777 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13778 |
- *) ac_try_echo=$ac_try;; |
13779 |
-esac |
13780 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
13781 |
- (eval "$ac_link") 2>conftest.er1 |
13782 |
- ac_status=$? |
13783 |
- grep -v '^ *+' conftest.er1 >conftest.err |
13784 |
- rm -f conftest.er1 |
13785 |
- cat conftest.err >&5 |
13786 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13787 |
- (exit $ac_status); } && { |
13788 |
- test -z "$ac_c_werror_flag" || |
13789 |
- test ! -s conftest.err |
13790 |
- } && test -s conftest$ac_exeext && |
13791 |
- $as_test_x conftest$ac_exeext; then |
13792 |
+if ac_fn_c_try_link "$LINENO"; then : |
13793 |
ac_cv_lib_nsl_gethostbyname=yes |
13794 |
else |
13795 |
- echo "$as_me: failed program was:" >&5 |
13796 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
13797 |
- |
13798 |
- ac_cv_lib_nsl_gethostbyname=no |
13799 |
+ ac_cv_lib_nsl_gethostbyname=no |
13800 |
fi |
13801 |
- |
13802 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
13803 |
- conftest$ac_exeext conftest.$ac_ext |
13804 |
+rm -f core conftest.err conftest.$ac_objext \ |
13805 |
+ conftest$ac_exeext conftest.$ac_ext |
13806 |
LIBS=$ac_check_lib_save_LIBS |
13807 |
fi |
13808 |
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 |
13809 |
-echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; } |
13810 |
-if test $ac_cv_lib_nsl_gethostbyname = yes; then |
13811 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 |
13812 |
+$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } |
13813 |
+if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then : |
13814 |
cat >>confdefs.h <<_ACEOF |
13815 |
#define HAVE_LIBNSL 1 |
13816 |
_ACEOF |
13817 |
@@ -12203,272 +6609,25 @@ fi |
13818 |
fi |
13819 |
fi |
13820 |
|
13821 |
-{ echo "$as_me:$LINENO: checking for herror" >&5 |
13822 |
-echo $ECHO_N "checking for herror... $ECHO_C" >&6; } |
13823 |
-if test "${ac_cv_func_herror+set}" = set; then |
13824 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
13825 |
-else |
13826 |
- cat >conftest.$ac_ext <<_ACEOF |
13827 |
-/* confdefs.h. */ |
13828 |
-_ACEOF |
13829 |
-cat confdefs.h >>conftest.$ac_ext |
13830 |
-cat >>conftest.$ac_ext <<_ACEOF |
13831 |
-/* end confdefs.h. */ |
13832 |
-/* Define herror to an innocuous variant, in case <limits.h> declares herror. |
13833 |
- For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
13834 |
-#define herror innocuous_herror |
13835 |
- |
13836 |
-/* System header to define __stub macros and hopefully few prototypes, |
13837 |
- which can conflict with char herror (); below. |
13838 |
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
13839 |
- <limits.h> exists even on freestanding compilers. */ |
13840 |
- |
13841 |
-#ifdef __STDC__ |
13842 |
-# include <limits.h> |
13843 |
-#else |
13844 |
-# include <assert.h> |
13845 |
-#endif |
13846 |
- |
13847 |
-#undef herror |
13848 |
- |
13849 |
-/* Override any GCC internal prototype to avoid an error. |
13850 |
- Use char because int might match the return type of a GCC |
13851 |
- builtin and then its argument prototype would still apply. */ |
13852 |
-#ifdef __cplusplus |
13853 |
-extern "C" |
13854 |
-#endif |
13855 |
-char herror (); |
13856 |
-/* The GNU C library defines this for functions which it implements |
13857 |
- to always fail with ENOSYS. Some functions are actually named |
13858 |
- something starting with __ and the normal name is an alias. */ |
13859 |
-#if defined __stub_herror || defined __stub___herror |
13860 |
-choke me |
13861 |
-#endif |
13862 |
- |
13863 |
-int |
13864 |
-main () |
13865 |
-{ |
13866 |
-return herror (); |
13867 |
- ; |
13868 |
- return 0; |
13869 |
-} |
13870 |
-_ACEOF |
13871 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
13872 |
-if { (ac_try="$ac_link" |
13873 |
-case "(($ac_try" in |
13874 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13875 |
- *) ac_try_echo=$ac_try;; |
13876 |
-esac |
13877 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
13878 |
- (eval "$ac_link") 2>conftest.er1 |
13879 |
- ac_status=$? |
13880 |
- grep -v '^ *+' conftest.er1 >conftest.err |
13881 |
- rm -f conftest.er1 |
13882 |
- cat conftest.err >&5 |
13883 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13884 |
- (exit $ac_status); } && { |
13885 |
- test -z "$ac_c_werror_flag" || |
13886 |
- test ! -s conftest.err |
13887 |
- } && test -s conftest$ac_exeext && |
13888 |
- $as_test_x conftest$ac_exeext; then |
13889 |
- ac_cv_func_herror=yes |
13890 |
-else |
13891 |
- echo "$as_me: failed program was:" >&5 |
13892 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
13893 |
- |
13894 |
- ac_cv_func_herror=no |
13895 |
-fi |
13896 |
- |
13897 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
13898 |
- conftest$ac_exeext conftest.$ac_ext |
13899 |
-fi |
13900 |
-{ echo "$as_me:$LINENO: result: $ac_cv_func_herror" >&5 |
13901 |
-echo "${ECHO_T}$ac_cv_func_herror" >&6; } |
13902 |
-if test $ac_cv_func_herror = yes; then |
13903 |
- cat >>confdefs.h <<\_ACEOF |
13904 |
-#define HAVE_HERROR 1 |
13905 |
-_ACEOF |
13906 |
- |
13907 |
-fi |
13908 |
- |
13909 |
-{ echo "$as_me:$LINENO: checking for cfmakeraw" >&5 |
13910 |
-echo $ECHO_N "checking for cfmakeraw... $ECHO_C" >&6; } |
13911 |
-if test "${ac_cv_func_cfmakeraw+set}" = set; then |
13912 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
13913 |
-else |
13914 |
- cat >conftest.$ac_ext <<_ACEOF |
13915 |
-/* confdefs.h. */ |
13916 |
-_ACEOF |
13917 |
-cat confdefs.h >>conftest.$ac_ext |
13918 |
-cat >>conftest.$ac_ext <<_ACEOF |
13919 |
-/* end confdefs.h. */ |
13920 |
-/* Define cfmakeraw to an innocuous variant, in case <limits.h> declares cfmakeraw. |
13921 |
- For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
13922 |
-#define cfmakeraw innocuous_cfmakeraw |
13923 |
- |
13924 |
-/* System header to define __stub macros and hopefully few prototypes, |
13925 |
- which can conflict with char cfmakeraw (); below. |
13926 |
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
13927 |
- <limits.h> exists even on freestanding compilers. */ |
13928 |
- |
13929 |
-#ifdef __STDC__ |
13930 |
-# include <limits.h> |
13931 |
-#else |
13932 |
-# include <assert.h> |
13933 |
-#endif |
13934 |
- |
13935 |
-#undef cfmakeraw |
13936 |
- |
13937 |
-/* Override any GCC internal prototype to avoid an error. |
13938 |
- Use char because int might match the return type of a GCC |
13939 |
- builtin and then its argument prototype would still apply. */ |
13940 |
-#ifdef __cplusplus |
13941 |
-extern "C" |
13942 |
-#endif |
13943 |
-char cfmakeraw (); |
13944 |
-/* The GNU C library defines this for functions which it implements |
13945 |
- to always fail with ENOSYS. Some functions are actually named |
13946 |
- something starting with __ and the normal name is an alias. */ |
13947 |
-#if defined __stub_cfmakeraw || defined __stub___cfmakeraw |
13948 |
-choke me |
13949 |
-#endif |
13950 |
- |
13951 |
-int |
13952 |
-main () |
13953 |
-{ |
13954 |
-return cfmakeraw (); |
13955 |
- ; |
13956 |
- return 0; |
13957 |
-} |
13958 |
-_ACEOF |
13959 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
13960 |
-if { (ac_try="$ac_link" |
13961 |
-case "(($ac_try" in |
13962 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13963 |
- *) ac_try_echo=$ac_try;; |
13964 |
-esac |
13965 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
13966 |
- (eval "$ac_link") 2>conftest.er1 |
13967 |
- ac_status=$? |
13968 |
- grep -v '^ *+' conftest.er1 >conftest.err |
13969 |
- rm -f conftest.er1 |
13970 |
- cat conftest.err >&5 |
13971 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13972 |
- (exit $ac_status); } && { |
13973 |
- test -z "$ac_c_werror_flag" || |
13974 |
- test ! -s conftest.err |
13975 |
- } && test -s conftest$ac_exeext && |
13976 |
- $as_test_x conftest$ac_exeext; then |
13977 |
- ac_cv_func_cfmakeraw=yes |
13978 |
-else |
13979 |
- echo "$as_me: failed program was:" >&5 |
13980 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
13981 |
+ac_fn_c_check_func "$LINENO" "herror" "ac_cv_func_herror" |
13982 |
+if test "x$ac_cv_func_herror" = xyes; then : |
13983 |
+ $as_echo "#define HAVE_HERROR 1" >>confdefs.h |
13984 |
|
13985 |
- ac_cv_func_cfmakeraw=no |
13986 |
fi |
13987 |
|
13988 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
13989 |
- conftest$ac_exeext conftest.$ac_ext |
13990 |
-fi |
13991 |
-{ echo "$as_me:$LINENO: result: $ac_cv_func_cfmakeraw" >&5 |
13992 |
-echo "${ECHO_T}$ac_cv_func_cfmakeraw" >&6; } |
13993 |
-if test $ac_cv_func_cfmakeraw = yes; then |
13994 |
- cat >>confdefs.h <<\_ACEOF |
13995 |
-#define HAVE_CFMAKERAW 1 |
13996 |
-_ACEOF |
13997 |
+ac_fn_c_check_func "$LINENO" "cfmakeraw" "ac_cv_func_cfmakeraw" |
13998 |
+if test "x$ac_cv_func_cfmakeraw" = xyes; then : |
13999 |
+ $as_echo "#define HAVE_CFMAKERAW 1" >>confdefs.h |
14000 |
|
14001 |
fi |
14002 |
|
14003 |
|
14004 |
- |
14005 |
for ac_func in cygwin_conv_to_full_win32_path |
14006 |
-do |
14007 |
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
14008 |
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
14009 |
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
14010 |
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
14011 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
14012 |
-else |
14013 |
- cat >conftest.$ac_ext <<_ACEOF |
14014 |
-/* confdefs.h. */ |
14015 |
-_ACEOF |
14016 |
-cat confdefs.h >>conftest.$ac_ext |
14017 |
-cat >>conftest.$ac_ext <<_ACEOF |
14018 |
-/* end confdefs.h. */ |
14019 |
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
14020 |
- For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
14021 |
-#define $ac_func innocuous_$ac_func |
14022 |
- |
14023 |
-/* System header to define __stub macros and hopefully few prototypes, |
14024 |
- which can conflict with char $ac_func (); below. |
14025 |
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
14026 |
- <limits.h> exists even on freestanding compilers. */ |
14027 |
- |
14028 |
-#ifdef __STDC__ |
14029 |
-# include <limits.h> |
14030 |
-#else |
14031 |
-# include <assert.h> |
14032 |
-#endif |
14033 |
- |
14034 |
-#undef $ac_func |
14035 |
- |
14036 |
-/* Override any GCC internal prototype to avoid an error. |
14037 |
- Use char because int might match the return type of a GCC |
14038 |
- builtin and then its argument prototype would still apply. */ |
14039 |
-#ifdef __cplusplus |
14040 |
-extern "C" |
14041 |
-#endif |
14042 |
-char $ac_func (); |
14043 |
-/* The GNU C library defines this for functions which it implements |
14044 |
- to always fail with ENOSYS. Some functions are actually named |
14045 |
- something starting with __ and the normal name is an alias. */ |
14046 |
-#if defined __stub_$ac_func || defined __stub___$ac_func |
14047 |
-choke me |
14048 |
-#endif |
14049 |
- |
14050 |
-int |
14051 |
-main () |
14052 |
-{ |
14053 |
-return $ac_func (); |
14054 |
- ; |
14055 |
- return 0; |
14056 |
-} |
14057 |
-_ACEOF |
14058 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
14059 |
-if { (ac_try="$ac_link" |
14060 |
-case "(($ac_try" in |
14061 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14062 |
- *) ac_try_echo=$ac_try;; |
14063 |
-esac |
14064 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
14065 |
- (eval "$ac_link") 2>conftest.er1 |
14066 |
- ac_status=$? |
14067 |
- grep -v '^ *+' conftest.er1 >conftest.err |
14068 |
- rm -f conftest.er1 |
14069 |
- cat conftest.err >&5 |
14070 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14071 |
- (exit $ac_status); } && { |
14072 |
- test -z "$ac_c_werror_flag" || |
14073 |
- test ! -s conftest.err |
14074 |
- } && test -s conftest$ac_exeext && |
14075 |
- $as_test_x conftest$ac_exeext; then |
14076 |
- eval "$as_ac_var=yes" |
14077 |
-else |
14078 |
- echo "$as_me: failed program was:" >&5 |
14079 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
14080 |
- |
14081 |
- eval "$as_ac_var=no" |
14082 |
-fi |
14083 |
- |
14084 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
14085 |
- conftest$ac_exeext conftest.$ac_ext |
14086 |
-fi |
14087 |
-ac_res=`eval echo '${'$as_ac_var'}'` |
14088 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
14089 |
-echo "${ECHO_T}$ac_res" >&6; } |
14090 |
-if test `eval echo '${'$as_ac_var'}'` = yes; then |
14091 |
+do : |
14092 |
+ ac_fn_c_check_func "$LINENO" "cygwin_conv_to_full_win32_path" "ac_cv_func_cygwin_conv_to_full_win32_path" |
14093 |
+if test "x$ac_cv_func_cygwin_conv_to_full_win32_path" = xyes; then : |
14094 |
cat >>confdefs.h <<_ACEOF |
14095 |
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
14096 |
+#define HAVE_CYGWIN_CONV_TO_FULL_WIN32_PATH 1 |
14097 |
_ACEOF |
14098 |
|
14099 |
fi |
14100 |
@@ -12476,7 +6635,7 @@ done |
14101 |
|
14102 |
|
14103 |
# Check whether --enable-form-saving was given. |
14104 |
-if test "${enable_form_saving+set}" = set; then |
14105 |
+if test "${enable_form_saving+set}" = set; then : |
14106 |
enableval=$enable_form_saving; enable_form_save=yes |
14107 |
else |
14108 |
enable_form_save=no |
14109 |
@@ -12484,164 +6643,30 @@ fi |
14110 |
|
14111 |
cf_form_save=no |
14112 |
if test "$enable_form_save" = yes ; then |
14113 |
- cat >>confdefs.h <<\_ACEOF |
14114 |
-#define FORM_SAVE 1 |
14115 |
-_ACEOF |
14116 |
+ $as_echo "#define FORM_SAVE 1" >>confdefs.h |
14117 |
|
14118 |
cf_form_save=yes |
14119 |
|
14120 |
- |
14121 |
-for ac_header in gdbm.h |
14122 |
-do |
14123 |
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
14124 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
14125 |
- { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
14126 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
14127 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
14128 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
14129 |
-fi |
14130 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
14131 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
14132 |
-echo "${ECHO_T}$ac_res" >&6; } |
14133 |
-else |
14134 |
- # Is the header compilable? |
14135 |
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
14136 |
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
14137 |
-cat >conftest.$ac_ext <<_ACEOF |
14138 |
-/* confdefs.h. */ |
14139 |
-_ACEOF |
14140 |
-cat confdefs.h >>conftest.$ac_ext |
14141 |
-cat >>conftest.$ac_ext <<_ACEOF |
14142 |
-/* end confdefs.h. */ |
14143 |
-$ac_includes_default |
14144 |
-#include <$ac_header> |
14145 |
-_ACEOF |
14146 |
-rm -f conftest.$ac_objext |
14147 |
-if { (ac_try="$ac_compile" |
14148 |
-case "(($ac_try" in |
14149 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14150 |
- *) ac_try_echo=$ac_try;; |
14151 |
-esac |
14152 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
14153 |
- (eval "$ac_compile") 2>conftest.er1 |
14154 |
- ac_status=$? |
14155 |
- grep -v '^ *+' conftest.er1 >conftest.err |
14156 |
- rm -f conftest.er1 |
14157 |
- cat conftest.err >&5 |
14158 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14159 |
- (exit $ac_status); } && { |
14160 |
- test -z "$ac_c_werror_flag" || |
14161 |
- test ! -s conftest.err |
14162 |
- } && test -s conftest.$ac_objext; then |
14163 |
- ac_header_compiler=yes |
14164 |
-else |
14165 |
- echo "$as_me: failed program was:" >&5 |
14166 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
14167 |
- |
14168 |
- ac_header_compiler=no |
14169 |
-fi |
14170 |
- |
14171 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14172 |
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
14173 |
-echo "${ECHO_T}$ac_header_compiler" >&6; } |
14174 |
- |
14175 |
-# Is the header present? |
14176 |
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
14177 |
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
14178 |
-cat >conftest.$ac_ext <<_ACEOF |
14179 |
-/* confdefs.h. */ |
14180 |
-_ACEOF |
14181 |
-cat confdefs.h >>conftest.$ac_ext |
14182 |
-cat >>conftest.$ac_ext <<_ACEOF |
14183 |
-/* end confdefs.h. */ |
14184 |
-#include <$ac_header> |
14185 |
-_ACEOF |
14186 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
14187 |
-case "(($ac_try" in |
14188 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14189 |
- *) ac_try_echo=$ac_try;; |
14190 |
-esac |
14191 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
14192 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
14193 |
- ac_status=$? |
14194 |
- grep -v '^ *+' conftest.er1 >conftest.err |
14195 |
- rm -f conftest.er1 |
14196 |
- cat conftest.err >&5 |
14197 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14198 |
- (exit $ac_status); } >/dev/null && { |
14199 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
14200 |
- test ! -s conftest.err |
14201 |
- }; then |
14202 |
- ac_header_preproc=yes |
14203 |
-else |
14204 |
- echo "$as_me: failed program was:" >&5 |
14205 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
14206 |
- |
14207 |
- ac_header_preproc=no |
14208 |
-fi |
14209 |
- |
14210 |
-rm -f conftest.err conftest.$ac_ext |
14211 |
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
14212 |
-echo "${ECHO_T}$ac_header_preproc" >&6; } |
14213 |
- |
14214 |
-# So? What about this header? |
14215 |
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
14216 |
- yes:no: ) |
14217 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
14218 |
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
14219 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
14220 |
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
14221 |
- ac_header_preproc=yes |
14222 |
- ;; |
14223 |
- no:yes:* ) |
14224 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
14225 |
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
14226 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
14227 |
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
14228 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
14229 |
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
14230 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
14231 |
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
14232 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
14233 |
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
14234 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
14235 |
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
14236 |
- |
14237 |
- ;; |
14238 |
-esac |
14239 |
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
14240 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
14241 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
14242 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
14243 |
-else |
14244 |
- eval "$as_ac_Header=\$ac_header_preproc" |
14245 |
-fi |
14246 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
14247 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
14248 |
-echo "${ECHO_T}$ac_res" >&6; } |
14249 |
- |
14250 |
-fi |
14251 |
-if test `eval echo '${'$as_ac_Header'}'` = yes; then |
14252 |
+ for ac_header in gdbm.h |
14253 |
+do : |
14254 |
+ ac_fn_c_check_header_mongrel "$LINENO" "gdbm.h" "ac_cv_header_gdbm_h" "$ac_includes_default" |
14255 |
+if test "x$ac_cv_header_gdbm_h" = xyes; then : |
14256 |
cat >>confdefs.h <<_ACEOF |
14257 |
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
14258 |
+#define HAVE_GDBM_H 1 |
14259 |
_ACEOF |
14260 |
|
14261 |
fi |
14262 |
|
14263 |
done |
14264 |
|
14265 |
- { echo "$as_me:$LINENO: checking for gdbm_open in -lgdbm" >&5 |
14266 |
-echo $ECHO_N "checking for gdbm_open in -lgdbm... $ECHO_C" >&6; } |
14267 |
-if test "${ac_cv_lib_gdbm_gdbm_open+set}" = set; then |
14268 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
14269 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdbm_open in -lgdbm" >&5 |
14270 |
+$as_echo_n "checking for gdbm_open in -lgdbm... " >&6; } |
14271 |
+if ${ac_cv_lib_gdbm_gdbm_open+:} false; then : |
14272 |
+ $as_echo_n "(cached) " >&6 |
14273 |
else |
14274 |
ac_check_lib_save_LIBS=$LIBS |
14275 |
LIBS="-lgdbm $LIBS" |
14276 |
-cat >conftest.$ac_ext <<_ACEOF |
14277 |
-/* confdefs.h. */ |
14278 |
-_ACEOF |
14279 |
-cat confdefs.h >>conftest.$ac_ext |
14280 |
-cat >>conftest.$ac_ext <<_ACEOF |
14281 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14282 |
/* end confdefs.h. */ |
14283 |
|
14284 |
/* Override any GCC internal prototype to avoid an error. |
14285 |
@@ -12659,96 +6684,67 @@ return gdbm_open (); |
14286 |
return 0; |
14287 |
} |
14288 |
_ACEOF |
14289 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
14290 |
-if { (ac_try="$ac_link" |
14291 |
-case "(($ac_try" in |
14292 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14293 |
- *) ac_try_echo=$ac_try;; |
14294 |
-esac |
14295 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
14296 |
- (eval "$ac_link") 2>conftest.er1 |
14297 |
- ac_status=$? |
14298 |
- grep -v '^ *+' conftest.er1 >conftest.err |
14299 |
- rm -f conftest.er1 |
14300 |
- cat conftest.err >&5 |
14301 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14302 |
- (exit $ac_status); } && { |
14303 |
- test -z "$ac_c_werror_flag" || |
14304 |
- test ! -s conftest.err |
14305 |
- } && test -s conftest$ac_exeext && |
14306 |
- $as_test_x conftest$ac_exeext; then |
14307 |
+if ac_fn_c_try_link "$LINENO"; then : |
14308 |
ac_cv_lib_gdbm_gdbm_open=yes |
14309 |
else |
14310 |
- echo "$as_me: failed program was:" >&5 |
14311 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
14312 |
- |
14313 |
- ac_cv_lib_gdbm_gdbm_open=no |
14314 |
+ ac_cv_lib_gdbm_gdbm_open=no |
14315 |
fi |
14316 |
- |
14317 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
14318 |
- conftest$ac_exeext conftest.$ac_ext |
14319 |
+rm -f core conftest.err conftest.$ac_objext \ |
14320 |
+ conftest$ac_exeext conftest.$ac_ext |
14321 |
LIBS=$ac_check_lib_save_LIBS |
14322 |
fi |
14323 |
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_gdbm_gdbm_open" >&5 |
14324 |
-echo "${ECHO_T}$ac_cv_lib_gdbm_gdbm_open" >&6; } |
14325 |
-if test $ac_cv_lib_gdbm_gdbm_open = yes; then |
14326 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdbm_gdbm_open" >&5 |
14327 |
+$as_echo "$ac_cv_lib_gdbm_gdbm_open" >&6; } |
14328 |
+if test "x$ac_cv_lib_gdbm_gdbm_open" = xyes; then : |
14329 |
LIBS="-lgdbm $LIBS" |
14330 |
fi |
14331 |
|
14332 |
if test "$ac_cv_header_gdbm_h" != yes || test "$ac_cv_lib_gdbm_gdbm_open" != yes; then |
14333 |
- { { echo "$as_me:$LINENO: error: You need gdbm to compile form saving" >&5 |
14334 |
-echo "$as_me: error: You need gdbm to compile form saving" >&2;} |
14335 |
- { (exit 1); exit 1; }; } |
14336 |
+ as_fn_error $? "You need gdbm to compile form saving" "$LINENO" 5 |
14337 |
cf_form_save=no |
14338 |
fi |
14339 |
fi |
14340 |
|
14341 |
|
14342 |
-{ echo "$as_me:$LINENO: checking if you want to enable javascript" >&5 |
14343 |
-echo $ECHO_N "checking if you want to enable javascript... $ECHO_C" >&6; } |
14344 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if you want to enable javascript" >&5 |
14345 |
+$as_echo_n "checking if you want to enable javascript... " >&6; } |
14346 |
# Check whether --enable-javascript was given. |
14347 |
-if test "${enable_javascript+set}" = set; then |
14348 |
+if test "${enable_javascript+set}" = set; then : |
14349 |
enableval=$enable_javascript; cf_use_javascript=yes |
14350 |
else |
14351 |
cf_use_javascript=no |
14352 |
fi |
14353 |
|
14354 |
-{ echo "$as_me:$LINENO: result: $cf_use_javascript" >&5 |
14355 |
-echo "${ECHO_T}$cf_use_javascript" >&6; } |
14356 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_use_javascript" >&5 |
14357 |
+$as_echo "$cf_use_javascript" >&6; } |
14358 |
if test "$cf_use_javascript" = yes; then |
14359 |
- cat >>confdefs.h <<\_ACEOF |
14360 |
-#define JS 1 |
14361 |
-_ACEOF |
14362 |
+ $as_echo "#define JS 1" >>confdefs.h |
14363 |
|
14364 |
fi |
14365 |
|
14366 |
|
14367 |
# Check whether --with-libfl was given. |
14368 |
-if test "${with_libfl+set}" = set; then |
14369 |
+if test "${with_libfl+set}" = set; then : |
14370 |
withval=$with_libfl; LIBS="$LIBS -lfl" |
14371 |
else |
14372 |
- cat >>confdefs.h <<\_ACEOF |
14373 |
-#define CHCEME_FLEXI_LIBU 1 |
14374 |
-_ACEOF |
14375 |
+ $as_echo "#define CHCEME_FLEXI_LIBU 1" >>confdefs.h |
14376 |
|
14377 |
fi |
14378 |
|
14379 |
|
14380 |
-{ echo "$as_me:$LINENO: checking if you want to use graphics" >&5 |
14381 |
-echo $ECHO_N "checking if you want to use graphics... $ECHO_C" >&6; } |
14382 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if you want to use graphics" >&5 |
14383 |
+$as_echo_n "checking if you want to use graphics... " >&6; } |
14384 |
# Check whether --enable-graphics was given. |
14385 |
-if test "${enable_graphics+set}" = set; then |
14386 |
+if test "${enable_graphics+set}" = set; then : |
14387 |
enableval=$enable_graphics; cf_use_graphics=yes |
14388 |
else |
14389 |
cf_use_graphics=no |
14390 |
fi |
14391 |
|
14392 |
-{ echo "$as_me:$LINENO: result: $cf_use_graphics" >&5 |
14393 |
-echo "${ECHO_T}$cf_use_graphics" >&6; } |
14394 |
- |
14395 |
- |
14396 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_use_graphics" >&5 |
14397 |
+$as_echo "$cf_use_graphics" >&6; } |
14398 |
|
14399 |
-if test "$cf_use_graphics" = yes; then |
14400 |
+ if test "$cf_use_graphics" = yes; then |
14401 |
GRAPHICS_TRUE= |
14402 |
GRAPHICS_FALSE='#' |
14403 |
else |
14404 |
@@ -12757,35 +6753,30 @@ else |
14405 |
fi |
14406 |
|
14407 |
|
14408 |
-{ echo "$as_me:$LINENO: checking if you want the \"links\" executable to be static" >&5 |
14409 |
-echo $ECHO_N "checking if you want the \"links\" executable to be static... $ECHO_C" >&6; } |
14410 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if you want the \"links\" executable to be static" >&5 |
14411 |
+$as_echo_n "checking if you want the \"links\" executable to be static... " >&6; } |
14412 |
# Check whether --enable-static was given. |
14413 |
-if test "${enable_static+set}" = set; then |
14414 |
+if test "${enable_static+set}" = set; then : |
14415 |
enableval=$enable_static; cf_use_static=yes |
14416 |
else |
14417 |
cf_use_static=no |
14418 |
fi |
14419 |
|
14420 |
-{ echo "$as_me:$LINENO: result: $cf_use_static" >&5 |
14421 |
-echo "${ECHO_T}$cf_use_static" >&6; } |
14422 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_use_static" >&5 |
14423 |
+$as_echo "$cf_use_static" >&6; } |
14424 |
|
14425 |
if test "$cf_use_static" = yes; then |
14426 |
LDFLAGS=" -static $LDFLAGS" |
14427 |
fi |
14428 |
|
14429 |
- |
14430 |
-{ echo "$as_me:$LINENO: checking for Gpm_Open in -lgpm" >&5 |
14431 |
-echo $ECHO_N "checking for Gpm_Open in -lgpm... $ECHO_C" >&6; } |
14432 |
-if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then |
14433 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
14434 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Gpm_Open in -lgpm" >&5 |
14435 |
+$as_echo_n "checking for Gpm_Open in -lgpm... " >&6; } |
14436 |
+if ${ac_cv_lib_gpm_Gpm_Open+:} false; then : |
14437 |
+ $as_echo_n "(cached) " >&6 |
14438 |
else |
14439 |
ac_check_lib_save_LIBS=$LIBS |
14440 |
LIBS="-lgpm $LIBS" |
14441 |
-cat >conftest.$ac_ext <<_ACEOF |
14442 |
-/* confdefs.h. */ |
14443 |
-_ACEOF |
14444 |
-cat confdefs.h >>conftest.$ac_ext |
14445 |
-cat >>conftest.$ac_ext <<_ACEOF |
14446 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14447 |
/* end confdefs.h. */ |
14448 |
|
14449 |
/* Override any GCC internal prototype to avoid an error. |
14450 |
@@ -12803,39 +6794,18 @@ return Gpm_Open (); |
14451 |
return 0; |
14452 |
} |
14453 |
_ACEOF |
14454 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
14455 |
-if { (ac_try="$ac_link" |
14456 |
-case "(($ac_try" in |
14457 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14458 |
- *) ac_try_echo=$ac_try;; |
14459 |
-esac |
14460 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
14461 |
- (eval "$ac_link") 2>conftest.er1 |
14462 |
- ac_status=$? |
14463 |
- grep -v '^ *+' conftest.er1 >conftest.err |
14464 |
- rm -f conftest.er1 |
14465 |
- cat conftest.err >&5 |
14466 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14467 |
- (exit $ac_status); } && { |
14468 |
- test -z "$ac_c_werror_flag" || |
14469 |
- test ! -s conftest.err |
14470 |
- } && test -s conftest$ac_exeext && |
14471 |
- $as_test_x conftest$ac_exeext; then |
14472 |
+if ac_fn_c_try_link "$LINENO"; then : |
14473 |
ac_cv_lib_gpm_Gpm_Open=yes |
14474 |
else |
14475 |
- echo "$as_me: failed program was:" >&5 |
14476 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
14477 |
- |
14478 |
- ac_cv_lib_gpm_Gpm_Open=no |
14479 |
+ ac_cv_lib_gpm_Gpm_Open=no |
14480 |
fi |
14481 |
- |
14482 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
14483 |
- conftest$ac_exeext conftest.$ac_ext |
14484 |
+rm -f core conftest.err conftest.$ac_objext \ |
14485 |
+ conftest$ac_exeext conftest.$ac_ext |
14486 |
LIBS=$ac_check_lib_save_LIBS |
14487 |
fi |
14488 |
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_gpm_Gpm_Open" >&5 |
14489 |
-echo "${ECHO_T}$ac_cv_lib_gpm_Gpm_Open" >&6; } |
14490 |
-if test $ac_cv_lib_gpm_Gpm_Open = yes; then |
14491 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gpm_Gpm_Open" >&5 |
14492 |
+$as_echo "$ac_cv_lib_gpm_Gpm_Open" >&6; } |
14493 |
+if test "x$ac_cv_lib_gpm_Gpm_Open" = xyes; then : |
14494 |
cat >>confdefs.h <<_ACEOF |
14495 |
#define HAVE_LIBGPM 1 |
14496 |
_ACEOF |
14497 |
@@ -12845,140 +6815,12 @@ _ACEOF |
14498 |
fi |
14499 |
|
14500 |
cf_have_gpm_lib=$ac_cv_lib_gpm_Gpm_Open |
14501 |
- |
14502 |
for ac_header in gpm.h |
14503 |
-do |
14504 |
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
14505 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
14506 |
- { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
14507 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
14508 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
14509 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
14510 |
-fi |
14511 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
14512 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
14513 |
-echo "${ECHO_T}$ac_res" >&6; } |
14514 |
-else |
14515 |
- # Is the header compilable? |
14516 |
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
14517 |
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
14518 |
-cat >conftest.$ac_ext <<_ACEOF |
14519 |
-/* confdefs.h. */ |
14520 |
-_ACEOF |
14521 |
-cat confdefs.h >>conftest.$ac_ext |
14522 |
-cat >>conftest.$ac_ext <<_ACEOF |
14523 |
-/* end confdefs.h. */ |
14524 |
-$ac_includes_default |
14525 |
-#include <$ac_header> |
14526 |
-_ACEOF |
14527 |
-rm -f conftest.$ac_objext |
14528 |
-if { (ac_try="$ac_compile" |
14529 |
-case "(($ac_try" in |
14530 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14531 |
- *) ac_try_echo=$ac_try;; |
14532 |
-esac |
14533 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
14534 |
- (eval "$ac_compile") 2>conftest.er1 |
14535 |
- ac_status=$? |
14536 |
- grep -v '^ *+' conftest.er1 >conftest.err |
14537 |
- rm -f conftest.er1 |
14538 |
- cat conftest.err >&5 |
14539 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14540 |
- (exit $ac_status); } && { |
14541 |
- test -z "$ac_c_werror_flag" || |
14542 |
- test ! -s conftest.err |
14543 |
- } && test -s conftest.$ac_objext; then |
14544 |
- ac_header_compiler=yes |
14545 |
-else |
14546 |
- echo "$as_me: failed program was:" >&5 |
14547 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
14548 |
- |
14549 |
- ac_header_compiler=no |
14550 |
-fi |
14551 |
- |
14552 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14553 |
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
14554 |
-echo "${ECHO_T}$ac_header_compiler" >&6; } |
14555 |
- |
14556 |
-# Is the header present? |
14557 |
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
14558 |
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
14559 |
-cat >conftest.$ac_ext <<_ACEOF |
14560 |
-/* confdefs.h. */ |
14561 |
-_ACEOF |
14562 |
-cat confdefs.h >>conftest.$ac_ext |
14563 |
-cat >>conftest.$ac_ext <<_ACEOF |
14564 |
-/* end confdefs.h. */ |
14565 |
-#include <$ac_header> |
14566 |
-_ACEOF |
14567 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
14568 |
-case "(($ac_try" in |
14569 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14570 |
- *) ac_try_echo=$ac_try;; |
14571 |
-esac |
14572 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
14573 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
14574 |
- ac_status=$? |
14575 |
- grep -v '^ *+' conftest.er1 >conftest.err |
14576 |
- rm -f conftest.er1 |
14577 |
- cat conftest.err >&5 |
14578 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14579 |
- (exit $ac_status); } >/dev/null && { |
14580 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
14581 |
- test ! -s conftest.err |
14582 |
- }; then |
14583 |
- ac_header_preproc=yes |
14584 |
-else |
14585 |
- echo "$as_me: failed program was:" >&5 |
14586 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
14587 |
- |
14588 |
- ac_header_preproc=no |
14589 |
-fi |
14590 |
- |
14591 |
-rm -f conftest.err conftest.$ac_ext |
14592 |
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
14593 |
-echo "${ECHO_T}$ac_header_preproc" >&6; } |
14594 |
- |
14595 |
-# So? What about this header? |
14596 |
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
14597 |
- yes:no: ) |
14598 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
14599 |
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
14600 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
14601 |
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
14602 |
- ac_header_preproc=yes |
14603 |
- ;; |
14604 |
- no:yes:* ) |
14605 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
14606 |
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
14607 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
14608 |
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
14609 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
14610 |
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
14611 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
14612 |
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
14613 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
14614 |
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
14615 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
14616 |
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
14617 |
- |
14618 |
- ;; |
14619 |
-esac |
14620 |
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
14621 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
14622 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
14623 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
14624 |
-else |
14625 |
- eval "$as_ac_Header=\$ac_header_preproc" |
14626 |
-fi |
14627 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
14628 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
14629 |
-echo "${ECHO_T}$ac_res" >&6; } |
14630 |
- |
14631 |
-fi |
14632 |
-if test `eval echo '${'$as_ac_Header'}'` = yes; then |
14633 |
+do : |
14634 |
+ ac_fn_c_check_header_mongrel "$LINENO" "gpm.h" "ac_cv_header_gpm_h" "$ac_includes_default" |
14635 |
+if test "x$ac_cv_header_gpm_h" = xyes; then : |
14636 |
cat >>confdefs.h <<_ACEOF |
14637 |
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
14638 |
+#define HAVE_GPM_H 1 |
14639 |
_ACEOF |
14640 |
|
14641 |
fi |
14642 |
@@ -12988,18 +6830,14 @@ done |
14643 |
cf_have_gpm_includes=$ac_cv_header_gpm_h |
14644 |
if test "$cf_have_gpm_lib" = yes && test "$cf_have_gpm_includes" = yes ; then cf_have_gpm=yes ; else cf_have_gpm=no; fi |
14645 |
|
14646 |
-{ echo "$as_me:$LINENO: checking for OS/2 threads" >&5 |
14647 |
-echo $ECHO_N "checking for OS/2 threads... $ECHO_C" >&6; } |
14648 |
-if test "${ac_cv_have_beginthread+set}" = set; then |
14649 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
14650 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OS/2 threads" >&5 |
14651 |
+$as_echo_n "checking for OS/2 threads... " >&6; } |
14652 |
+if ${ac_cv_have_beginthread+:} false; then : |
14653 |
+ $as_echo_n "(cached) " >&6 |
14654 |
else |
14655 |
CFLAGS_X="$CFLAGS" |
14656 |
CFLAGS="$CFLAGS -Zmt" |
14657 |
- cat >conftest.$ac_ext <<_ACEOF |
14658 |
-/* confdefs.h. */ |
14659 |
-_ACEOF |
14660 |
-cat confdefs.h >>conftest.$ac_ext |
14661 |
-cat >>conftest.$ac_ext <<_ACEOF |
14662 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14663 |
/* end confdefs.h. */ |
14664 |
#include <stdlib.h> |
14665 |
int |
14666 |
@@ -13010,44 +6848,21 @@ _beginthread(NULL, NULL, 0, NULL) |
14667 |
return 0; |
14668 |
} |
14669 |
_ACEOF |
14670 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
14671 |
-if { (ac_try="$ac_link" |
14672 |
-case "(($ac_try" in |
14673 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14674 |
- *) ac_try_echo=$ac_try;; |
14675 |
-esac |
14676 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
14677 |
- (eval "$ac_link") 2>conftest.er1 |
14678 |
- ac_status=$? |
14679 |
- grep -v '^ *+' conftest.er1 >conftest.err |
14680 |
- rm -f conftest.er1 |
14681 |
- cat conftest.err >&5 |
14682 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14683 |
- (exit $ac_status); } && { |
14684 |
- test -z "$ac_c_werror_flag" || |
14685 |
- test ! -s conftest.err |
14686 |
- } && test -s conftest$ac_exeext && |
14687 |
- $as_test_x conftest$ac_exeext; then |
14688 |
+if ac_fn_c_try_link "$LINENO"; then : |
14689 |
ac_cv_have_beginthread=yes |
14690 |
else |
14691 |
- echo "$as_me: failed program was:" >&5 |
14692 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
14693 |
- |
14694 |
- ac_cv_have_beginthread=no |
14695 |
+ ac_cv_have_beginthread=no |
14696 |
fi |
14697 |
- |
14698 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
14699 |
- conftest$ac_exeext conftest.$ac_ext |
14700 |
+rm -f core conftest.err conftest.$ac_objext \ |
14701 |
+ conftest$ac_exeext conftest.$ac_ext |
14702 |
CFLAGS="$CFLAGS_X" |
14703 |
|
14704 |
fi |
14705 |
-{ echo "$as_me:$LINENO: result: $ac_cv_have_beginthread" >&5 |
14706 |
-echo "${ECHO_T}$ac_cv_have_beginthread" >&6; } |
14707 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_beginthread" >&5 |
14708 |
+$as_echo "$ac_cv_have_beginthread" >&6; } |
14709 |
if test "$ac_cv_have_beginthread" = yes; then |
14710 |
CFLAGS="$CFLAGS -Zmt" |
14711 |
- cat >>confdefs.h <<\_ACEOF |
14712 |
-#define HAVE_BEGINTHREAD 1 |
14713 |
-_ACEOF |
14714 |
+ $as_echo "#define HAVE_BEGINTHREAD 1" >>confdefs.h |
14715 |
|
14716 |
#else |
14717 |
# AC_CHECK_FUNC(pthread_create, cf_result=yes, cf_result=no) |
14718 |
@@ -13059,516 +6874,58 @@ _ACEOF |
14719 |
# fi |
14720 |
fi |
14721 |
#AC_CHECK_FUNC(clone, AC_DEFINE(HAVE_CLONE)) |
14722 |
- |
14723 |
for ac_header in atheos/threads.h |
14724 |
-do |
14725 |
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
14726 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
14727 |
- { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
14728 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
14729 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
14730 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
14731 |
-fi |
14732 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
14733 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
14734 |
-echo "${ECHO_T}$ac_res" >&6; } |
14735 |
-else |
14736 |
- # Is the header compilable? |
14737 |
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
14738 |
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
14739 |
-cat >conftest.$ac_ext <<_ACEOF |
14740 |
-/* confdefs.h. */ |
14741 |
-_ACEOF |
14742 |
-cat confdefs.h >>conftest.$ac_ext |
14743 |
-cat >>conftest.$ac_ext <<_ACEOF |
14744 |
-/* end confdefs.h. */ |
14745 |
-$ac_includes_default |
14746 |
-#include <$ac_header> |
14747 |
-_ACEOF |
14748 |
-rm -f conftest.$ac_objext |
14749 |
-if { (ac_try="$ac_compile" |
14750 |
-case "(($ac_try" in |
14751 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14752 |
- *) ac_try_echo=$ac_try;; |
14753 |
-esac |
14754 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
14755 |
- (eval "$ac_compile") 2>conftest.er1 |
14756 |
- ac_status=$? |
14757 |
- grep -v '^ *+' conftest.er1 >conftest.err |
14758 |
- rm -f conftest.er1 |
14759 |
- cat conftest.err >&5 |
14760 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14761 |
- (exit $ac_status); } && { |
14762 |
- test -z "$ac_c_werror_flag" || |
14763 |
- test ! -s conftest.err |
14764 |
- } && test -s conftest.$ac_objext; then |
14765 |
- ac_header_compiler=yes |
14766 |
-else |
14767 |
- echo "$as_me: failed program was:" >&5 |
14768 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
14769 |
- |
14770 |
- ac_header_compiler=no |
14771 |
-fi |
14772 |
- |
14773 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14774 |
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
14775 |
-echo "${ECHO_T}$ac_header_compiler" >&6; } |
14776 |
- |
14777 |
-# Is the header present? |
14778 |
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
14779 |
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
14780 |
-cat >conftest.$ac_ext <<_ACEOF |
14781 |
-/* confdefs.h. */ |
14782 |
-_ACEOF |
14783 |
-cat confdefs.h >>conftest.$ac_ext |
14784 |
-cat >>conftest.$ac_ext <<_ACEOF |
14785 |
-/* end confdefs.h. */ |
14786 |
-#include <$ac_header> |
14787 |
-_ACEOF |
14788 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
14789 |
-case "(($ac_try" in |
14790 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14791 |
- *) ac_try_echo=$ac_try;; |
14792 |
-esac |
14793 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
14794 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
14795 |
- ac_status=$? |
14796 |
- grep -v '^ *+' conftest.er1 >conftest.err |
14797 |
- rm -f conftest.er1 |
14798 |
- cat conftest.err >&5 |
14799 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14800 |
- (exit $ac_status); } >/dev/null && { |
14801 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
14802 |
- test ! -s conftest.err |
14803 |
- }; then |
14804 |
- ac_header_preproc=yes |
14805 |
-else |
14806 |
- echo "$as_me: failed program was:" >&5 |
14807 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
14808 |
- |
14809 |
- ac_header_preproc=no |
14810 |
-fi |
14811 |
- |
14812 |
-rm -f conftest.err conftest.$ac_ext |
14813 |
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
14814 |
-echo "${ECHO_T}$ac_header_preproc" >&6; } |
14815 |
- |
14816 |
-# So? What about this header? |
14817 |
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
14818 |
- yes:no: ) |
14819 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
14820 |
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
14821 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
14822 |
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
14823 |
- ac_header_preproc=yes |
14824 |
- ;; |
14825 |
- no:yes:* ) |
14826 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
14827 |
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
14828 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
14829 |
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
14830 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
14831 |
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
14832 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
14833 |
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
14834 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
14835 |
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
14836 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
14837 |
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
14838 |
- |
14839 |
- ;; |
14840 |
-esac |
14841 |
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
14842 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
14843 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
14844 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
14845 |
-else |
14846 |
- eval "$as_ac_Header=\$ac_header_preproc" |
14847 |
-fi |
14848 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
14849 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
14850 |
-echo "${ECHO_T}$ac_res" >&6; } |
14851 |
- |
14852 |
-fi |
14853 |
-if test `eval echo '${'$as_ac_Header'}'` = yes; then |
14854 |
+do : |
14855 |
+ ac_fn_c_check_header_mongrel "$LINENO" "atheos/threads.h" "ac_cv_header_atheos_threads_h" "$ac_includes_default" |
14856 |
+if test "x$ac_cv_header_atheos_threads_h" = xyes; then : |
14857 |
cat >>confdefs.h <<_ACEOF |
14858 |
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
14859 |
+#define HAVE_ATHEOS_THREADS_H 1 |
14860 |
_ACEOF |
14861 |
|
14862 |
fi |
14863 |
|
14864 |
done |
14865 |
|
14866 |
- |
14867 |
for ac_func in spawn_thread |
14868 |
-do |
14869 |
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
14870 |
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
14871 |
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
14872 |
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
14873 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
14874 |
-else |
14875 |
- cat >conftest.$ac_ext <<_ACEOF |
14876 |
-/* confdefs.h. */ |
14877 |
-_ACEOF |
14878 |
-cat confdefs.h >>conftest.$ac_ext |
14879 |
-cat >>conftest.$ac_ext <<_ACEOF |
14880 |
-/* end confdefs.h. */ |
14881 |
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
14882 |
- For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
14883 |
-#define $ac_func innocuous_$ac_func |
14884 |
- |
14885 |
-/* System header to define __stub macros and hopefully few prototypes, |
14886 |
- which can conflict with char $ac_func (); below. |
14887 |
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
14888 |
- <limits.h> exists even on freestanding compilers. */ |
14889 |
- |
14890 |
-#ifdef __STDC__ |
14891 |
-# include <limits.h> |
14892 |
-#else |
14893 |
-# include <assert.h> |
14894 |
-#endif |
14895 |
- |
14896 |
-#undef $ac_func |
14897 |
- |
14898 |
-/* Override any GCC internal prototype to avoid an error. |
14899 |
- Use char because int might match the return type of a GCC |
14900 |
- builtin and then its argument prototype would still apply. */ |
14901 |
-#ifdef __cplusplus |
14902 |
-extern "C" |
14903 |
-#endif |
14904 |
-char $ac_func (); |
14905 |
-/* The GNU C library defines this for functions which it implements |
14906 |
- to always fail with ENOSYS. Some functions are actually named |
14907 |
- something starting with __ and the normal name is an alias. */ |
14908 |
-#if defined __stub_$ac_func || defined __stub___$ac_func |
14909 |
-choke me |
14910 |
-#endif |
14911 |
- |
14912 |
-int |
14913 |
-main () |
14914 |
-{ |
14915 |
-return $ac_func (); |
14916 |
- ; |
14917 |
- return 0; |
14918 |
-} |
14919 |
-_ACEOF |
14920 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
14921 |
-if { (ac_try="$ac_link" |
14922 |
-case "(($ac_try" in |
14923 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14924 |
- *) ac_try_echo=$ac_try;; |
14925 |
-esac |
14926 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
14927 |
- (eval "$ac_link") 2>conftest.er1 |
14928 |
- ac_status=$? |
14929 |
- grep -v '^ *+' conftest.er1 >conftest.err |
14930 |
- rm -f conftest.er1 |
14931 |
- cat conftest.err >&5 |
14932 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14933 |
- (exit $ac_status); } && { |
14934 |
- test -z "$ac_c_werror_flag" || |
14935 |
- test ! -s conftest.err |
14936 |
- } && test -s conftest$ac_exeext && |
14937 |
- $as_test_x conftest$ac_exeext; then |
14938 |
- eval "$as_ac_var=yes" |
14939 |
-else |
14940 |
- echo "$as_me: failed program was:" >&5 |
14941 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
14942 |
- |
14943 |
- eval "$as_ac_var=no" |
14944 |
-fi |
14945 |
- |
14946 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
14947 |
- conftest$ac_exeext conftest.$ac_ext |
14948 |
-fi |
14949 |
-ac_res=`eval echo '${'$as_ac_var'}'` |
14950 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
14951 |
-echo "${ECHO_T}$ac_res" >&6; } |
14952 |
-if test `eval echo '${'$as_ac_var'}'` = yes; then |
14953 |
+do : |
14954 |
+ ac_fn_c_check_func "$LINENO" "spawn_thread" "ac_cv_func_spawn_thread" |
14955 |
+if test "x$ac_cv_func_spawn_thread" = xyes; then : |
14956 |
cat >>confdefs.h <<_ACEOF |
14957 |
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
14958 |
+#define HAVE_SPAWN_THREAD 1 |
14959 |
_ACEOF |
14960 |
|
14961 |
fi |
14962 |
done |
14963 |
|
14964 |
- |
14965 |
for ac_func in resume_thread |
14966 |
-do |
14967 |
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
14968 |
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
14969 |
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
14970 |
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
14971 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
14972 |
-else |
14973 |
- cat >conftest.$ac_ext <<_ACEOF |
14974 |
-/* confdefs.h. */ |
14975 |
-_ACEOF |
14976 |
-cat confdefs.h >>conftest.$ac_ext |
14977 |
-cat >>conftest.$ac_ext <<_ACEOF |
14978 |
-/* end confdefs.h. */ |
14979 |
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
14980 |
- For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
14981 |
-#define $ac_func innocuous_$ac_func |
14982 |
- |
14983 |
-/* System header to define __stub macros and hopefully few prototypes, |
14984 |
- which can conflict with char $ac_func (); below. |
14985 |
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
14986 |
- <limits.h> exists even on freestanding compilers. */ |
14987 |
- |
14988 |
-#ifdef __STDC__ |
14989 |
-# include <limits.h> |
14990 |
-#else |
14991 |
-# include <assert.h> |
14992 |
-#endif |
14993 |
- |
14994 |
-#undef $ac_func |
14995 |
- |
14996 |
-/* Override any GCC internal prototype to avoid an error. |
14997 |
- Use char because int might match the return type of a GCC |
14998 |
- builtin and then its argument prototype would still apply. */ |
14999 |
-#ifdef __cplusplus |
15000 |
-extern "C" |
15001 |
-#endif |
15002 |
-char $ac_func (); |
15003 |
-/* The GNU C library defines this for functions which it implements |
15004 |
- to always fail with ENOSYS. Some functions are actually named |
15005 |
- something starting with __ and the normal name is an alias. */ |
15006 |
-#if defined __stub_$ac_func || defined __stub___$ac_func |
15007 |
-choke me |
15008 |
-#endif |
15009 |
- |
15010 |
-int |
15011 |
-main () |
15012 |
-{ |
15013 |
-return $ac_func (); |
15014 |
- ; |
15015 |
- return 0; |
15016 |
-} |
15017 |
-_ACEOF |
15018 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
15019 |
-if { (ac_try="$ac_link" |
15020 |
-case "(($ac_try" in |
15021 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15022 |
- *) ac_try_echo=$ac_try;; |
15023 |
-esac |
15024 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
15025 |
- (eval "$ac_link") 2>conftest.er1 |
15026 |
- ac_status=$? |
15027 |
- grep -v '^ *+' conftest.er1 >conftest.err |
15028 |
- rm -f conftest.er1 |
15029 |
- cat conftest.err >&5 |
15030 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15031 |
- (exit $ac_status); } && { |
15032 |
- test -z "$ac_c_werror_flag" || |
15033 |
- test ! -s conftest.err |
15034 |
- } && test -s conftest$ac_exeext && |
15035 |
- $as_test_x conftest$ac_exeext; then |
15036 |
- eval "$as_ac_var=yes" |
15037 |
-else |
15038 |
- echo "$as_me: failed program was:" >&5 |
15039 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
15040 |
- |
15041 |
- eval "$as_ac_var=no" |
15042 |
-fi |
15043 |
- |
15044 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
15045 |
- conftest$ac_exeext conftest.$ac_ext |
15046 |
-fi |
15047 |
-ac_res=`eval echo '${'$as_ac_var'}'` |
15048 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
15049 |
-echo "${ECHO_T}$ac_res" >&6; } |
15050 |
-if test `eval echo '${'$as_ac_var'}'` = yes; then |
15051 |
+do : |
15052 |
+ ac_fn_c_check_func "$LINENO" "resume_thread" "ac_cv_func_resume_thread" |
15053 |
+if test "x$ac_cv_func_resume_thread" = xyes; then : |
15054 |
cat >>confdefs.h <<_ACEOF |
15055 |
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
15056 |
+#define HAVE_RESUME_THREAD 1 |
15057 |
_ACEOF |
15058 |
|
15059 |
fi |
15060 |
done |
15061 |
|
15062 |
|
15063 |
-{ echo "$as_me:$LINENO: checking for MouOpen" >&5 |
15064 |
-echo $ECHO_N "checking for MouOpen... $ECHO_C" >&6; } |
15065 |
-if test "${ac_cv_func_MouOpen+set}" = set; then |
15066 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
15067 |
-else |
15068 |
- cat >conftest.$ac_ext <<_ACEOF |
15069 |
-/* confdefs.h. */ |
15070 |
-_ACEOF |
15071 |
-cat confdefs.h >>conftest.$ac_ext |
15072 |
-cat >>conftest.$ac_ext <<_ACEOF |
15073 |
-/* end confdefs.h. */ |
15074 |
-/* Define MouOpen to an innocuous variant, in case <limits.h> declares MouOpen. |
15075 |
- For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
15076 |
-#define MouOpen innocuous_MouOpen |
15077 |
- |
15078 |
-/* System header to define __stub macros and hopefully few prototypes, |
15079 |
- which can conflict with char MouOpen (); below. |
15080 |
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
15081 |
- <limits.h> exists even on freestanding compilers. */ |
15082 |
- |
15083 |
-#ifdef __STDC__ |
15084 |
-# include <limits.h> |
15085 |
-#else |
15086 |
-# include <assert.h> |
15087 |
-#endif |
15088 |
- |
15089 |
-#undef MouOpen |
15090 |
- |
15091 |
-/* Override any GCC internal prototype to avoid an error. |
15092 |
- Use char because int might match the return type of a GCC |
15093 |
- builtin and then its argument prototype would still apply. */ |
15094 |
-#ifdef __cplusplus |
15095 |
-extern "C" |
15096 |
-#endif |
15097 |
-char MouOpen (); |
15098 |
-/* The GNU C library defines this for functions which it implements |
15099 |
- to always fail with ENOSYS. Some functions are actually named |
15100 |
- something starting with __ and the normal name is an alias. */ |
15101 |
-#if defined __stub_MouOpen || defined __stub___MouOpen |
15102 |
-choke me |
15103 |
-#endif |
15104 |
- |
15105 |
-int |
15106 |
-main () |
15107 |
-{ |
15108 |
-return MouOpen (); |
15109 |
- ; |
15110 |
- return 0; |
15111 |
-} |
15112 |
-_ACEOF |
15113 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
15114 |
-if { (ac_try="$ac_link" |
15115 |
-case "(($ac_try" in |
15116 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15117 |
- *) ac_try_echo=$ac_try;; |
15118 |
-esac |
15119 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
15120 |
- (eval "$ac_link") 2>conftest.er1 |
15121 |
- ac_status=$? |
15122 |
- grep -v '^ *+' conftest.er1 >conftest.err |
15123 |
- rm -f conftest.er1 |
15124 |
- cat conftest.err >&5 |
15125 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15126 |
- (exit $ac_status); } && { |
15127 |
- test -z "$ac_c_werror_flag" || |
15128 |
- test ! -s conftest.err |
15129 |
- } && test -s conftest$ac_exeext && |
15130 |
- $as_test_x conftest$ac_exeext; then |
15131 |
- ac_cv_func_MouOpen=yes |
15132 |
-else |
15133 |
- echo "$as_me: failed program was:" >&5 |
15134 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
15135 |
- |
15136 |
- ac_cv_func_MouOpen=no |
15137 |
-fi |
15138 |
- |
15139 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
15140 |
- conftest$ac_exeext conftest.$ac_ext |
15141 |
-fi |
15142 |
-{ echo "$as_me:$LINENO: result: $ac_cv_func_MouOpen" >&5 |
15143 |
-echo "${ECHO_T}$ac_cv_func_MouOpen" >&6; } |
15144 |
-if test $ac_cv_func_MouOpen = yes; then |
15145 |
- cat >>confdefs.h <<\_ACEOF |
15146 |
-#define HAVE_MOUOPEN 1 |
15147 |
-_ACEOF |
15148 |
+ac_fn_c_check_func "$LINENO" "MouOpen" "ac_cv_func_MouOpen" |
15149 |
+if test "x$ac_cv_func_MouOpen" = xyes; then : |
15150 |
+ $as_echo "#define HAVE_MOUOPEN 1" >>confdefs.h |
15151 |
|
15152 |
fi |
15153 |
|
15154 |
-{ echo "$as_me:$LINENO: checking for _read_kbd" >&5 |
15155 |
-echo $ECHO_N "checking for _read_kbd... $ECHO_C" >&6; } |
15156 |
-if test "${ac_cv_func__read_kbd+set}" = set; then |
15157 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
15158 |
-else |
15159 |
- cat >conftest.$ac_ext <<_ACEOF |
15160 |
-/* confdefs.h. */ |
15161 |
-_ACEOF |
15162 |
-cat confdefs.h >>conftest.$ac_ext |
15163 |
-cat >>conftest.$ac_ext <<_ACEOF |
15164 |
-/* end confdefs.h. */ |
15165 |
-/* Define _read_kbd to an innocuous variant, in case <limits.h> declares _read_kbd. |
15166 |
- For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
15167 |
-#define _read_kbd innocuous__read_kbd |
15168 |
- |
15169 |
-/* System header to define __stub macros and hopefully few prototypes, |
15170 |
- which can conflict with char _read_kbd (); below. |
15171 |
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
15172 |
- <limits.h> exists even on freestanding compilers. */ |
15173 |
- |
15174 |
-#ifdef __STDC__ |
15175 |
-# include <limits.h> |
15176 |
-#else |
15177 |
-# include <assert.h> |
15178 |
-#endif |
15179 |
- |
15180 |
-#undef _read_kbd |
15181 |
- |
15182 |
-/* Override any GCC internal prototype to avoid an error. |
15183 |
- Use char because int might match the return type of a GCC |
15184 |
- builtin and then its argument prototype would still apply. */ |
15185 |
-#ifdef __cplusplus |
15186 |
-extern "C" |
15187 |
-#endif |
15188 |
-char _read_kbd (); |
15189 |
-/* The GNU C library defines this for functions which it implements |
15190 |
- to always fail with ENOSYS. Some functions are actually named |
15191 |
- something starting with __ and the normal name is an alias. */ |
15192 |
-#if defined __stub__read_kbd || defined __stub____read_kbd |
15193 |
-choke me |
15194 |
-#endif |
15195 |
- |
15196 |
-int |
15197 |
-main () |
15198 |
-{ |
15199 |
-return _read_kbd (); |
15200 |
- ; |
15201 |
- return 0; |
15202 |
-} |
15203 |
-_ACEOF |
15204 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
15205 |
-if { (ac_try="$ac_link" |
15206 |
-case "(($ac_try" in |
15207 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15208 |
- *) ac_try_echo=$ac_try;; |
15209 |
-esac |
15210 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
15211 |
- (eval "$ac_link") 2>conftest.er1 |
15212 |
- ac_status=$? |
15213 |
- grep -v '^ *+' conftest.er1 >conftest.err |
15214 |
- rm -f conftest.er1 |
15215 |
- cat conftest.err >&5 |
15216 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15217 |
- (exit $ac_status); } && { |
15218 |
- test -z "$ac_c_werror_flag" || |
15219 |
- test ! -s conftest.err |
15220 |
- } && test -s conftest$ac_exeext && |
15221 |
- $as_test_x conftest$ac_exeext; then |
15222 |
- ac_cv_func__read_kbd=yes |
15223 |
-else |
15224 |
- echo "$as_me: failed program was:" >&5 |
15225 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
15226 |
- |
15227 |
- ac_cv_func__read_kbd=no |
15228 |
-fi |
15229 |
- |
15230 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
15231 |
- conftest$ac_exeext conftest.$ac_ext |
15232 |
-fi |
15233 |
-{ echo "$as_me:$LINENO: result: $ac_cv_func__read_kbd" >&5 |
15234 |
-echo "${ECHO_T}$ac_cv_func__read_kbd" >&6; } |
15235 |
-if test $ac_cv_func__read_kbd = yes; then |
15236 |
- cat >>confdefs.h <<\_ACEOF |
15237 |
-#define HAVE_READ_KBD 1 |
15238 |
-_ACEOF |
15239 |
+ac_fn_c_check_func "$LINENO" "_read_kbd" "ac_cv_func__read_kbd" |
15240 |
+if test "x$ac_cv_func__read_kbd" = xyes; then : |
15241 |
+ $as_echo "#define HAVE_READ_KBD 1" >>confdefs.h |
15242 |
|
15243 |
fi |
15244 |
|
15245 |
|
15246 |
-{ echo "$as_me:$LINENO: checking for XFree for OS/2" >&5 |
15247 |
-echo $ECHO_N "checking for XFree for OS/2... $ECHO_C" >&6; } |
15248 |
-if test "${ac_cv_have_x2+set}" = set; then |
15249 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
15250 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XFree for OS/2" >&5 |
15251 |
+$as_echo_n "checking for XFree for OS/2... " >&6; } |
15252 |
+if ${ac_cv_have_x2+:} false; then : |
15253 |
+ $as_echo_n "(cached) " >&6 |
15254 |
else |
15255 |
CPPFLAGS_X="$CPPFLAGS" |
15256 |
LIBS_X="$LIBS" |
15257 |
@@ -13576,11 +6933,7 @@ else |
15258 |
if test -n "$X11ROOT"; then |
15259 |
CPPFLAGS="$CPPFLAGS_X -I$X11ROOT/XFree86/include" |
15260 |
LIBS="$LIBS_X -L$X11ROOT/XFree86/lib -lxf86_gcc" |
15261 |
- cat >conftest.$ac_ext <<_ACEOF |
15262 |
-/* confdefs.h. */ |
15263 |
-_ACEOF |
15264 |
-cat confdefs.h >>conftest.$ac_ext |
15265 |
-cat >>conftest.$ac_ext <<_ACEOF |
15266 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15267 |
/* end confdefs.h. */ |
15268 |
#include <pty.h> |
15269 |
int |
15270 |
@@ -13591,41 +6944,16 @@ struct winsize win;ptioctl(1, TIOCGWINSZ |
15271 |
return 0; |
15272 |
} |
15273 |
_ACEOF |
15274 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
15275 |
-if { (ac_try="$ac_link" |
15276 |
-case "(($ac_try" in |
15277 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15278 |
- *) ac_try_echo=$ac_try;; |
15279 |
-esac |
15280 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
15281 |
- (eval "$ac_link") 2>conftest.er1 |
15282 |
- ac_status=$? |
15283 |
- grep -v '^ *+' conftest.er1 >conftest.err |
15284 |
- rm -f conftest.er1 |
15285 |
- cat conftest.err >&5 |
15286 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15287 |
- (exit $ac_status); } && { |
15288 |
- test -z "$ac_c_werror_flag" || |
15289 |
- test ! -s conftest.err |
15290 |
- } && test -s conftest$ac_exeext && |
15291 |
- $as_test_x conftest$ac_exeext; then |
15292 |
+if ac_fn_c_try_link "$LINENO"; then : |
15293 |
ac_cv_have_x2=xf86_gcc |
15294 |
else |
15295 |
- echo "$as_me: failed program was:" >&5 |
15296 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
15297 |
- |
15298 |
- ac_cv_have_x2=no |
15299 |
+ ac_cv_have_x2=no |
15300 |
fi |
15301 |
- |
15302 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
15303 |
- conftest$ac_exeext conftest.$ac_ext |
15304 |
+rm -f core conftest.err conftest.$ac_objext \ |
15305 |
+ conftest$ac_exeext conftest.$ac_ext |
15306 |
if test "$ac_cv_have_x2" = no; then |
15307 |
LIBS="$LIBS_X -L$X11ROOT/XFree86/lib -lxf86" |
15308 |
- cat >conftest.$ac_ext <<_ACEOF |
15309 |
-/* confdefs.h. */ |
15310 |
-_ACEOF |
15311 |
-cat confdefs.h >>conftest.$ac_ext |
15312 |
-cat >>conftest.$ac_ext <<_ACEOF |
15313 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15314 |
/* end confdefs.h. */ |
15315 |
#include <pty.h> |
15316 |
int |
15317 |
@@ -13636,65 +6964,37 @@ struct winsize win;ptioctl(1, TIOCGWINSZ |
15318 |
return 0; |
15319 |
} |
15320 |
_ACEOF |
15321 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
15322 |
-if { (ac_try="$ac_link" |
15323 |
-case "(($ac_try" in |
15324 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15325 |
- *) ac_try_echo=$ac_try;; |
15326 |
-esac |
15327 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
15328 |
- (eval "$ac_link") 2>conftest.er1 |
15329 |
- ac_status=$? |
15330 |
- grep -v '^ *+' conftest.er1 >conftest.err |
15331 |
- rm -f conftest.er1 |
15332 |
- cat conftest.err >&5 |
15333 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15334 |
- (exit $ac_status); } && { |
15335 |
- test -z "$ac_c_werror_flag" || |
15336 |
- test ! -s conftest.err |
15337 |
- } && test -s conftest$ac_exeext && |
15338 |
- $as_test_x conftest$ac_exeext; then |
15339 |
+if ac_fn_c_try_link "$LINENO"; then : |
15340 |
ac_cv_have_x2=xf86 |
15341 |
else |
15342 |
- echo "$as_me: failed program was:" >&5 |
15343 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
15344 |
- |
15345 |
- ac_cv_have_x2=no |
15346 |
+ ac_cv_have_x2=no |
15347 |
fi |
15348 |
- |
15349 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
15350 |
- conftest$ac_exeext conftest.$ac_ext |
15351 |
+rm -f core conftest.err conftest.$ac_objext \ |
15352 |
+ conftest$ac_exeext conftest.$ac_ext |
15353 |
fi |
15354 |
fi |
15355 |
CPPFLAGS="$CPPFLAGS_X" |
15356 |
LIBS="$LIBS_X" |
15357 |
|
15358 |
fi |
15359 |
-{ echo "$as_me:$LINENO: result: $ac_cv_have_x2" >&5 |
15360 |
-echo "${ECHO_T}$ac_cv_have_x2" >&6; } |
15361 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_x2" >&5 |
15362 |
+$as_echo "$ac_cv_have_x2" >&6; } |
15363 |
if test "$ac_cv_have_x2" != no; then |
15364 |
CPPFLAGS="$CPPFLAGS -I$X11ROOT/XFree86/include" |
15365 |
LIBS="$LIBS -L$X11ROOT/XFree86/lib -l$ac_cv_have_x2" |
15366 |
- cat >>confdefs.h <<\_ACEOF |
15367 |
-#define X2 1 |
15368 |
-_ACEOF |
15369 |
+ $as_echo "#define X2 1" >>confdefs.h |
15370 |
|
15371 |
fi |
15372 |
|
15373 |
|
15374 |
- |
15375 |
-{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
15376 |
-echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } |
15377 |
-if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
15378 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
15379 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
15380 |
+$as_echo_n "checking for dlopen in -ldl... " >&6; } |
15381 |
+if ${ac_cv_lib_dl_dlopen+:} false; then : |
15382 |
+ $as_echo_n "(cached) " >&6 |
15383 |
else |
15384 |
ac_check_lib_save_LIBS=$LIBS |
15385 |
LIBS="-ldl $LIBS" |
15386 |
-cat >conftest.$ac_ext <<_ACEOF |
15387 |
-/* confdefs.h. */ |
15388 |
-_ACEOF |
15389 |
-cat confdefs.h >>conftest.$ac_ext |
15390 |
-cat >>conftest.$ac_ext <<_ACEOF |
15391 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15392 |
/* end confdefs.h. */ |
15393 |
|
15394 |
/* Override any GCC internal prototype to avoid an error. |
15395 |
@@ -13712,39 +7012,18 @@ return dlopen (); |
15396 |
return 0; |
15397 |
} |
15398 |
_ACEOF |
15399 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
15400 |
-if { (ac_try="$ac_link" |
15401 |
-case "(($ac_try" in |
15402 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15403 |
- *) ac_try_echo=$ac_try;; |
15404 |
-esac |
15405 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
15406 |
- (eval "$ac_link") 2>conftest.er1 |
15407 |
- ac_status=$? |
15408 |
- grep -v '^ *+' conftest.er1 >conftest.err |
15409 |
- rm -f conftest.er1 |
15410 |
- cat conftest.err >&5 |
15411 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15412 |
- (exit $ac_status); } && { |
15413 |
- test -z "$ac_c_werror_flag" || |
15414 |
- test ! -s conftest.err |
15415 |
- } && test -s conftest$ac_exeext && |
15416 |
- $as_test_x conftest$ac_exeext; then |
15417 |
+if ac_fn_c_try_link "$LINENO"; then : |
15418 |
ac_cv_lib_dl_dlopen=yes |
15419 |
else |
15420 |
- echo "$as_me: failed program was:" >&5 |
15421 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
15422 |
- |
15423 |
- ac_cv_lib_dl_dlopen=no |
15424 |
+ ac_cv_lib_dl_dlopen=no |
15425 |
fi |
15426 |
- |
15427 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
15428 |
- conftest$ac_exeext conftest.$ac_ext |
15429 |
+rm -f core conftest.err conftest.$ac_objext \ |
15430 |
+ conftest$ac_exeext conftest.$ac_ext |
15431 |
LIBS=$ac_check_lib_save_LIBS |
15432 |
fi |
15433 |
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
15434 |
-echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } |
15435 |
-if test $ac_cv_lib_dl_dlopen = yes; then |
15436 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
15437 |
+$as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
15438 |
+if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
15439 |
cat >>confdefs.h <<_ACEOF |
15440 |
#define HAVE_LIBDL 1 |
15441 |
_ACEOF |
15442 |
@@ -13757,12 +7036,12 @@ fi |
15443 |
|
15444 |
|
15445 |
# Check whether --with-lua was given. |
15446 |
-if test "${with_lua+set}" = set; then |
15447 |
+if test "${with_lua+set}" = set; then : |
15448 |
withval=$with_lua; if test "$withval" = no; then disable_lua=yes; fi |
15449 |
fi |
15450 |
|
15451 |
-{ echo "$as_me:$LINENO: checking for Lua" >&5 |
15452 |
-echo $ECHO_N "checking for Lua... $ECHO_C" >&6; } |
15453 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Lua" >&5 |
15454 |
+$as_echo_n "checking for Lua... " >&6; } |
15455 |
|
15456 |
CFLAGS_X="$CFLAGS" |
15457 |
LIBS_X="$LIBS" |
15458 |
@@ -13791,11 +7070,7 @@ if test -z "$disable_lua"; then |
15459 |
fi |
15460 |
fi |
15461 |
|
15462 |
- cat >conftest.$ac_ext <<_ACEOF |
15463 |
-/* confdefs.h. */ |
15464 |
-_ACEOF |
15465 |
-cat confdefs.h >>conftest.$ac_ext |
15466 |
-cat >>conftest.$ac_ext <<_ACEOF |
15467 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15468 |
/* end confdefs.h. */ |
15469 |
#include <lua.h> |
15470 |
int |
15471 |
@@ -13806,34 +7081,13 @@ lua_open(0) |
15472 |
return 0; |
15473 |
} |
15474 |
_ACEOF |
15475 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
15476 |
-if { (ac_try="$ac_link" |
15477 |
-case "(($ac_try" in |
15478 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15479 |
- *) ac_try_echo=$ac_try;; |
15480 |
-esac |
15481 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
15482 |
- (eval "$ac_link") 2>conftest.er1 |
15483 |
- ac_status=$? |
15484 |
- grep -v '^ *+' conftest.er1 >conftest.err |
15485 |
- rm -f conftest.er1 |
15486 |
- cat conftest.err >&5 |
15487 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15488 |
- (exit $ac_status); } && { |
15489 |
- test -z "$ac_c_werror_flag" || |
15490 |
- test ! -s conftest.err |
15491 |
- } && test -s conftest$ac_exeext && |
15492 |
- $as_test_x conftest$ac_exeext; then |
15493 |
+if ac_fn_c_try_link "$LINENO"; then : |
15494 |
cf_result=yes |
15495 |
else |
15496 |
- echo "$as_me: failed program was:" >&5 |
15497 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
15498 |
- |
15499 |
- cf_result=no |
15500 |
+ cf_result=no |
15501 |
fi |
15502 |
- |
15503 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
15504 |
- conftest$ac_exeext conftest.$ac_ext |
15505 |
+rm -f core conftest.err conftest.$ac_objext \ |
15506 |
+ conftest$ac_exeext conftest.$ac_ext |
15507 |
fi |
15508 |
done |
15509 |
fi |
15510 |
@@ -13842,160 +7096,30 @@ if test "$cf_result" != yes; then |
15511 |
CFLAGS="$CFLAGS_X" |
15512 |
LIBS="$LIBS_X" |
15513 |
else |
15514 |
- cat >>confdefs.h <<\_ACEOF |
15515 |
-#define HAVE_LUA 1 |
15516 |
-_ACEOF |
15517 |
+ $as_echo "#define HAVE_LUA 1" >>confdefs.h |
15518 |
|
15519 |
fi |
15520 |
cf_have_lua=$cf_result; |
15521 |
|
15522 |
-{ echo "$as_me:$LINENO: result: $cf_result" >&5 |
15523 |
-echo "${ECHO_T}$cf_result" >&6; } |
15524 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_result" >&5 |
15525 |
+$as_echo "$cf_result" >&6; } |
15526 |
|
15527 |
|
15528 |
# Check whether --with-zlib was given. |
15529 |
-if test "${with_zlib+set}" = set; then |
15530 |
+if test "${with_zlib+set}" = set; then : |
15531 |
withval=$with_zlib; if test "$withval" = no; then disable_zlib=yes; fi |
15532 |
fi |
15533 |
|
15534 |
-{ echo "$as_me:$LINENO: checking for zlib support" >&5 |
15535 |
-echo $ECHO_N "checking for zlib support... $ECHO_C" >&6; } |
15536 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib support" >&5 |
15537 |
+$as_echo_n "checking for zlib support... " >&6; } |
15538 |
|
15539 |
if test -z "$disable_zlib"; then |
15540 |
- |
15541 |
-for ac_header in zlib.h |
15542 |
-do |
15543 |
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
15544 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
15545 |
- { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
15546 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
15547 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
15548 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
15549 |
-fi |
15550 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
15551 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
15552 |
-echo "${ECHO_T}$ac_res" >&6; } |
15553 |
-else |
15554 |
- # Is the header compilable? |
15555 |
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
15556 |
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
15557 |
-cat >conftest.$ac_ext <<_ACEOF |
15558 |
-/* confdefs.h. */ |
15559 |
-_ACEOF |
15560 |
-cat confdefs.h >>conftest.$ac_ext |
15561 |
-cat >>conftest.$ac_ext <<_ACEOF |
15562 |
-/* end confdefs.h. */ |
15563 |
-$ac_includes_default |
15564 |
-#include <$ac_header> |
15565 |
-_ACEOF |
15566 |
-rm -f conftest.$ac_objext |
15567 |
-if { (ac_try="$ac_compile" |
15568 |
-case "(($ac_try" in |
15569 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15570 |
- *) ac_try_echo=$ac_try;; |
15571 |
-esac |
15572 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
15573 |
- (eval "$ac_compile") 2>conftest.er1 |
15574 |
- ac_status=$? |
15575 |
- grep -v '^ *+' conftest.er1 >conftest.err |
15576 |
- rm -f conftest.er1 |
15577 |
- cat conftest.err >&5 |
15578 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15579 |
- (exit $ac_status); } && { |
15580 |
- test -z "$ac_c_werror_flag" || |
15581 |
- test ! -s conftest.err |
15582 |
- } && test -s conftest.$ac_objext; then |
15583 |
- ac_header_compiler=yes |
15584 |
-else |
15585 |
- echo "$as_me: failed program was:" >&5 |
15586 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
15587 |
- |
15588 |
- ac_header_compiler=no |
15589 |
-fi |
15590 |
- |
15591 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15592 |
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
15593 |
-echo "${ECHO_T}$ac_header_compiler" >&6; } |
15594 |
- |
15595 |
-# Is the header present? |
15596 |
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
15597 |
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
15598 |
-cat >conftest.$ac_ext <<_ACEOF |
15599 |
-/* confdefs.h. */ |
15600 |
-_ACEOF |
15601 |
-cat confdefs.h >>conftest.$ac_ext |
15602 |
-cat >>conftest.$ac_ext <<_ACEOF |
15603 |
-/* end confdefs.h. */ |
15604 |
-#include <$ac_header> |
15605 |
-_ACEOF |
15606 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
15607 |
-case "(($ac_try" in |
15608 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15609 |
- *) ac_try_echo=$ac_try;; |
15610 |
-esac |
15611 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
15612 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
15613 |
- ac_status=$? |
15614 |
- grep -v '^ *+' conftest.er1 >conftest.err |
15615 |
- rm -f conftest.er1 |
15616 |
- cat conftest.err >&5 |
15617 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15618 |
- (exit $ac_status); } >/dev/null && { |
15619 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
15620 |
- test ! -s conftest.err |
15621 |
- }; then |
15622 |
- ac_header_preproc=yes |
15623 |
-else |
15624 |
- echo "$as_me: failed program was:" >&5 |
15625 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
15626 |
- |
15627 |
- ac_header_preproc=no |
15628 |
-fi |
15629 |
- |
15630 |
-rm -f conftest.err conftest.$ac_ext |
15631 |
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
15632 |
-echo "${ECHO_T}$ac_header_preproc" >&6; } |
15633 |
- |
15634 |
-# So? What about this header? |
15635 |
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
15636 |
- yes:no: ) |
15637 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
15638 |
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
15639 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
15640 |
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
15641 |
- ac_header_preproc=yes |
15642 |
- ;; |
15643 |
- no:yes:* ) |
15644 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
15645 |
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
15646 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
15647 |
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
15648 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
15649 |
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
15650 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
15651 |
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
15652 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
15653 |
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
15654 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
15655 |
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
15656 |
- |
15657 |
- ;; |
15658 |
-esac |
15659 |
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
15660 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
15661 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
15662 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
15663 |
-else |
15664 |
- eval "$as_ac_Header=\$ac_header_preproc" |
15665 |
-fi |
15666 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
15667 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
15668 |
-echo "${ECHO_T}$ac_res" >&6; } |
15669 |
- |
15670 |
-fi |
15671 |
-if test `eval echo '${'$as_ac_Header'}'` = yes; then |
15672 |
+ for ac_header in zlib.h |
15673 |
+do : |
15674 |
+ ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default" |
15675 |
+if test "x$ac_cv_header_zlib_h" = xyes; then : |
15676 |
cat >>confdefs.h <<_ACEOF |
15677 |
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
15678 |
+#define HAVE_ZLIB_H 1 |
15679 |
_ACEOF |
15680 |
cf_result=yes |
15681 |
else |
15682 |
@@ -14005,19 +7129,14 @@ fi |
15683 |
done |
15684 |
|
15685 |
if test "$cf_result" = yes; then |
15686 |
- |
15687 |
-{ echo "$as_me:$LINENO: checking for gzdopen in -lz" >&5 |
15688 |
-echo $ECHO_N "checking for gzdopen in -lz... $ECHO_C" >&6; } |
15689 |
-if test "${ac_cv_lib_z_gzdopen+set}" = set; then |
15690 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
15691 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzdopen in -lz" >&5 |
15692 |
+$as_echo_n "checking for gzdopen in -lz... " >&6; } |
15693 |
+if ${ac_cv_lib_z_gzdopen+:} false; then : |
15694 |
+ $as_echo_n "(cached) " >&6 |
15695 |
else |
15696 |
ac_check_lib_save_LIBS=$LIBS |
15697 |
LIBS="-lz $LIBS" |
15698 |
-cat >conftest.$ac_ext <<_ACEOF |
15699 |
-/* confdefs.h. */ |
15700 |
-_ACEOF |
15701 |
-cat confdefs.h >>conftest.$ac_ext |
15702 |
-cat >>conftest.$ac_ext <<_ACEOF |
15703 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15704 |
/* end confdefs.h. */ |
15705 |
|
15706 |
/* Override any GCC internal prototype to avoid an error. |
15707 |
@@ -14035,39 +7154,18 @@ return gzdopen (); |
15708 |
return 0; |
15709 |
} |
15710 |
_ACEOF |
15711 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
15712 |
-if { (ac_try="$ac_link" |
15713 |
-case "(($ac_try" in |
15714 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15715 |
- *) ac_try_echo=$ac_try;; |
15716 |
-esac |
15717 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
15718 |
- (eval "$ac_link") 2>conftest.er1 |
15719 |
- ac_status=$? |
15720 |
- grep -v '^ *+' conftest.er1 >conftest.err |
15721 |
- rm -f conftest.er1 |
15722 |
- cat conftest.err >&5 |
15723 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15724 |
- (exit $ac_status); } && { |
15725 |
- test -z "$ac_c_werror_flag" || |
15726 |
- test ! -s conftest.err |
15727 |
- } && test -s conftest$ac_exeext && |
15728 |
- $as_test_x conftest$ac_exeext; then |
15729 |
+if ac_fn_c_try_link "$LINENO"; then : |
15730 |
ac_cv_lib_z_gzdopen=yes |
15731 |
else |
15732 |
- echo "$as_me: failed program was:" >&5 |
15733 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
15734 |
- |
15735 |
- ac_cv_lib_z_gzdopen=no |
15736 |
+ ac_cv_lib_z_gzdopen=no |
15737 |
fi |
15738 |
- |
15739 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
15740 |
- conftest$ac_exeext conftest.$ac_ext |
15741 |
+rm -f core conftest.err conftest.$ac_objext \ |
15742 |
+ conftest$ac_exeext conftest.$ac_ext |
15743 |
LIBS=$ac_check_lib_save_LIBS |
15744 |
fi |
15745 |
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_z_gzdopen" >&5 |
15746 |
-echo "${ECHO_T}$ac_cv_lib_z_gzdopen" >&6; } |
15747 |
-if test $ac_cv_lib_z_gzdopen = yes; then |
15748 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzdopen" >&5 |
15749 |
+$as_echo "$ac_cv_lib_z_gzdopen" >&6; } |
15750 |
+if test "x$ac_cv_lib_z_gzdopen" = xyes; then : |
15751 |
cat >>confdefs.h <<_ACEOF |
15752 |
#define HAVE_LIBZ 1 |
15753 |
_ACEOF |
15754 |
@@ -14078,158 +7176,30 @@ fi |
15755 |
|
15756 |
fi |
15757 |
else |
15758 |
- { echo "$as_me:$LINENO: result: no" >&5 |
15759 |
-echo "${ECHO_T}no" >&6; } |
15760 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
15761 |
+$as_echo "no" >&6; } |
15762 |
fi |
15763 |
|
15764 |
|
15765 |
|
15766 |
# Check whether --with-bzlib was given. |
15767 |
-if test "${with_bzlib+set}" = set; then |
15768 |
+if test "${with_bzlib+set}" = set; then : |
15769 |
withval=$with_bzlib; if test "$withval" = no; then disable_bzlib=yes; fi |
15770 |
fi |
15771 |
|
15772 |
-{ echo "$as_me:$LINENO: checking for bzlib support" >&5 |
15773 |
-echo $ECHO_N "checking for bzlib support... $ECHO_C" >&6; } |
15774 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for bzlib support" >&5 |
15775 |
+$as_echo_n "checking for bzlib support... " >&6; } |
15776 |
|
15777 |
if test -z "$disable_bzlib"; then |
15778 |
# Note that we won't define HAVE_LIBBZ2, altough we will define |
15779 |
# HAVE_LIBZ. That's combination of autoconf's weirdness, my laziness |
15780 |
# and lack of need for such a thing. Always use HAVE_BZLIB_H. --pasky |
15781 |
- |
15782 |
-for ac_header in bzlib.h |
15783 |
-do |
15784 |
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
15785 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
15786 |
- { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
15787 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
15788 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
15789 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
15790 |
-fi |
15791 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
15792 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
15793 |
-echo "${ECHO_T}$ac_res" >&6; } |
15794 |
-else |
15795 |
- # Is the header compilable? |
15796 |
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
15797 |
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
15798 |
-cat >conftest.$ac_ext <<_ACEOF |
15799 |
-/* confdefs.h. */ |
15800 |
-_ACEOF |
15801 |
-cat confdefs.h >>conftest.$ac_ext |
15802 |
-cat >>conftest.$ac_ext <<_ACEOF |
15803 |
-/* end confdefs.h. */ |
15804 |
-$ac_includes_default |
15805 |
-#include <$ac_header> |
15806 |
-_ACEOF |
15807 |
-rm -f conftest.$ac_objext |
15808 |
-if { (ac_try="$ac_compile" |
15809 |
-case "(($ac_try" in |
15810 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15811 |
- *) ac_try_echo=$ac_try;; |
15812 |
-esac |
15813 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
15814 |
- (eval "$ac_compile") 2>conftest.er1 |
15815 |
- ac_status=$? |
15816 |
- grep -v '^ *+' conftest.er1 >conftest.err |
15817 |
- rm -f conftest.er1 |
15818 |
- cat conftest.err >&5 |
15819 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15820 |
- (exit $ac_status); } && { |
15821 |
- test -z "$ac_c_werror_flag" || |
15822 |
- test ! -s conftest.err |
15823 |
- } && test -s conftest.$ac_objext; then |
15824 |
- ac_header_compiler=yes |
15825 |
-else |
15826 |
- echo "$as_me: failed program was:" >&5 |
15827 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
15828 |
- |
15829 |
- ac_header_compiler=no |
15830 |
-fi |
15831 |
- |
15832 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15833 |
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
15834 |
-echo "${ECHO_T}$ac_header_compiler" >&6; } |
15835 |
- |
15836 |
-# Is the header present? |
15837 |
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
15838 |
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
15839 |
-cat >conftest.$ac_ext <<_ACEOF |
15840 |
-/* confdefs.h. */ |
15841 |
-_ACEOF |
15842 |
-cat confdefs.h >>conftest.$ac_ext |
15843 |
-cat >>conftest.$ac_ext <<_ACEOF |
15844 |
-/* end confdefs.h. */ |
15845 |
-#include <$ac_header> |
15846 |
-_ACEOF |
15847 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
15848 |
-case "(($ac_try" in |
15849 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15850 |
- *) ac_try_echo=$ac_try;; |
15851 |
-esac |
15852 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
15853 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
15854 |
- ac_status=$? |
15855 |
- grep -v '^ *+' conftest.er1 >conftest.err |
15856 |
- rm -f conftest.er1 |
15857 |
- cat conftest.err >&5 |
15858 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15859 |
- (exit $ac_status); } >/dev/null && { |
15860 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
15861 |
- test ! -s conftest.err |
15862 |
- }; then |
15863 |
- ac_header_preproc=yes |
15864 |
-else |
15865 |
- echo "$as_me: failed program was:" >&5 |
15866 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
15867 |
- |
15868 |
- ac_header_preproc=no |
15869 |
-fi |
15870 |
- |
15871 |
-rm -f conftest.err conftest.$ac_ext |
15872 |
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
15873 |
-echo "${ECHO_T}$ac_header_preproc" >&6; } |
15874 |
- |
15875 |
-# So? What about this header? |
15876 |
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
15877 |
- yes:no: ) |
15878 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
15879 |
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
15880 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
15881 |
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
15882 |
- ac_header_preproc=yes |
15883 |
- ;; |
15884 |
- no:yes:* ) |
15885 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
15886 |
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
15887 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
15888 |
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
15889 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
15890 |
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
15891 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
15892 |
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
15893 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
15894 |
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
15895 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
15896 |
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
15897 |
- |
15898 |
- ;; |
15899 |
-esac |
15900 |
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
15901 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
15902 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
15903 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
15904 |
-else |
15905 |
- eval "$as_ac_Header=\$ac_header_preproc" |
15906 |
-fi |
15907 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
15908 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
15909 |
-echo "${ECHO_T}$ac_res" >&6; } |
15910 |
- |
15911 |
-fi |
15912 |
-if test `eval echo '${'$as_ac_Header'}'` = yes; then |
15913 |
+ for ac_header in bzlib.h |
15914 |
+do : |
15915 |
+ ac_fn_c_check_header_mongrel "$LINENO" "bzlib.h" "ac_cv_header_bzlib_h" "$ac_includes_default" |
15916 |
+if test "x$ac_cv_header_bzlib_h" = xyes; then : |
15917 |
cat >>confdefs.h <<_ACEOF |
15918 |
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
15919 |
+#define HAVE_BZLIB_H 1 |
15920 |
_ACEOF |
15921 |
cf_result=yes |
15922 |
else |
15923 |
@@ -14239,19 +7209,14 @@ fi |
15924 |
done |
15925 |
|
15926 |
if test "$cf_result" = yes; then |
15927 |
- |
15928 |
-{ echo "$as_me:$LINENO: checking for BZ2_bzReadOpen in -lbz2" >&5 |
15929 |
-echo $ECHO_N "checking for BZ2_bzReadOpen in -lbz2... $ECHO_C" >&6; } |
15930 |
-if test "${ac_cv_lib_bz2_BZ2_bzReadOpen+set}" = set; then |
15931 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
15932 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BZ2_bzReadOpen in -lbz2" >&5 |
15933 |
+$as_echo_n "checking for BZ2_bzReadOpen in -lbz2... " >&6; } |
15934 |
+if ${ac_cv_lib_bz2_BZ2_bzReadOpen+:} false; then : |
15935 |
+ $as_echo_n "(cached) " >&6 |
15936 |
else |
15937 |
ac_check_lib_save_LIBS=$LIBS |
15938 |
LIBS="-lbz2 $LIBS" |
15939 |
-cat >conftest.$ac_ext <<_ACEOF |
15940 |
-/* confdefs.h. */ |
15941 |
-_ACEOF |
15942 |
-cat confdefs.h >>conftest.$ac_ext |
15943 |
-cat >>conftest.$ac_ext <<_ACEOF |
15944 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15945 |
/* end confdefs.h. */ |
15946 |
|
15947 |
/* Override any GCC internal prototype to avoid an error. |
15948 |
@@ -14269,39 +7234,18 @@ return BZ2_bzReadOpen (); |
15949 |
return 0; |
15950 |
} |
15951 |
_ACEOF |
15952 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
15953 |
-if { (ac_try="$ac_link" |
15954 |
-case "(($ac_try" in |
15955 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15956 |
- *) ac_try_echo=$ac_try;; |
15957 |
-esac |
15958 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
15959 |
- (eval "$ac_link") 2>conftest.er1 |
15960 |
- ac_status=$? |
15961 |
- grep -v '^ *+' conftest.er1 >conftest.err |
15962 |
- rm -f conftest.er1 |
15963 |
- cat conftest.err >&5 |
15964 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15965 |
- (exit $ac_status); } && { |
15966 |
- test -z "$ac_c_werror_flag" || |
15967 |
- test ! -s conftest.err |
15968 |
- } && test -s conftest$ac_exeext && |
15969 |
- $as_test_x conftest$ac_exeext; then |
15970 |
+if ac_fn_c_try_link "$LINENO"; then : |
15971 |
ac_cv_lib_bz2_BZ2_bzReadOpen=yes |
15972 |
else |
15973 |
- echo "$as_me: failed program was:" >&5 |
15974 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
15975 |
- |
15976 |
- ac_cv_lib_bz2_BZ2_bzReadOpen=no |
15977 |
+ ac_cv_lib_bz2_BZ2_bzReadOpen=no |
15978 |
fi |
15979 |
- |
15980 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
15981 |
- conftest$ac_exeext conftest.$ac_ext |
15982 |
+rm -f core conftest.err conftest.$ac_objext \ |
15983 |
+ conftest$ac_exeext conftest.$ac_ext |
15984 |
LIBS=$ac_check_lib_save_LIBS |
15985 |
fi |
15986 |
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_bz2_BZ2_bzReadOpen" >&5 |
15987 |
-echo "${ECHO_T}$ac_cv_lib_bz2_BZ2_bzReadOpen" >&6; } |
15988 |
-if test $ac_cv_lib_bz2_BZ2_bzReadOpen = yes; then |
15989 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bz2_BZ2_bzReadOpen" >&5 |
15990 |
+$as_echo "$ac_cv_lib_bz2_BZ2_bzReadOpen" >&6; } |
15991 |
+if test "x$ac_cv_lib_bz2_BZ2_bzReadOpen" = xyes; then : |
15992 |
cat >>confdefs.h <<_ACEOF |
15993 |
#define HAVE_LIBBZ2 1 |
15994 |
_ACEOF |
15995 |
@@ -14312,25 +7256,20 @@ fi |
15996 |
|
15997 |
fi |
15998 |
else |
15999 |
- { echo "$as_me:$LINENO: result: no" >&5 |
16000 |
-echo "${ECHO_T}no" >&6; } |
16001 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
16002 |
+$as_echo "no" >&6; } |
16003 |
fi |
16004 |
|
16005 |
|
16006 |
|
16007 |
- |
16008 |
-{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
16009 |
-echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } |
16010 |
-if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
16011 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
16012 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
16013 |
+$as_echo_n "checking for dlopen in -ldl... " >&6; } |
16014 |
+if ${ac_cv_lib_dl_dlopen+:} false; then : |
16015 |
+ $as_echo_n "(cached) " >&6 |
16016 |
else |
16017 |
ac_check_lib_save_LIBS=$LIBS |
16018 |
LIBS="-ldl $LIBS" |
16019 |
-cat >conftest.$ac_ext <<_ACEOF |
16020 |
-/* confdefs.h. */ |
16021 |
-_ACEOF |
16022 |
-cat confdefs.h >>conftest.$ac_ext |
16023 |
-cat >>conftest.$ac_ext <<_ACEOF |
16024 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
16025 |
/* end confdefs.h. */ |
16026 |
|
16027 |
/* Override any GCC internal prototype to avoid an error. |
16028 |
@@ -14348,39 +7287,18 @@ return dlopen (); |
16029 |
return 0; |
16030 |
} |
16031 |
_ACEOF |
16032 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
16033 |
-if { (ac_try="$ac_link" |
16034 |
-case "(($ac_try" in |
16035 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
16036 |
- *) ac_try_echo=$ac_try;; |
16037 |
-esac |
16038 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
16039 |
- (eval "$ac_link") 2>conftest.er1 |
16040 |
- ac_status=$? |
16041 |
- grep -v '^ *+' conftest.er1 >conftest.err |
16042 |
- rm -f conftest.er1 |
16043 |
- cat conftest.err >&5 |
16044 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16045 |
- (exit $ac_status); } && { |
16046 |
- test -z "$ac_c_werror_flag" || |
16047 |
- test ! -s conftest.err |
16048 |
- } && test -s conftest$ac_exeext && |
16049 |
- $as_test_x conftest$ac_exeext; then |
16050 |
+if ac_fn_c_try_link "$LINENO"; then : |
16051 |
ac_cv_lib_dl_dlopen=yes |
16052 |
else |
16053 |
- echo "$as_me: failed program was:" >&5 |
16054 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
16055 |
- |
16056 |
- ac_cv_lib_dl_dlopen=no |
16057 |
+ ac_cv_lib_dl_dlopen=no |
16058 |
fi |
16059 |
- |
16060 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
16061 |
- conftest$ac_exeext conftest.$ac_ext |
16062 |
+rm -f core conftest.err conftest.$ac_objext \ |
16063 |
+ conftest$ac_exeext conftest.$ac_ext |
16064 |
LIBS=$ac_check_lib_save_LIBS |
16065 |
fi |
16066 |
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
16067 |
-echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } |
16068 |
-if test $ac_cv_lib_dl_dlopen = yes; then |
16069 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
16070 |
+$as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
16071 |
+if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
16072 |
cat >>confdefs.h <<_ACEOF |
16073 |
#define HAVE_LIBDL 1 |
16074 |
_ACEOF |
16075 |
@@ -14393,12 +7311,12 @@ fi |
16076 |
#ifdef HAVE_SSL |
16077 |
|
16078 |
# Check whether --with-ssl was given. |
16079 |
-if test "${with_ssl+set}" = set; then |
16080 |
+if test "${with_ssl+set}" = set; then : |
16081 |
withval=$with_ssl; if test "$withval" = no; then disable_ssl=yes; else ssld="$withval"; fi |
16082 |
fi |
16083 |
|
16084 |
-{ echo "$as_me:$LINENO: checking for OpenSSL" >&5 |
16085 |
-echo $ECHO_N "checking for OpenSSL... $ECHO_C" >&6; } |
16086 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5 |
16087 |
+$as_echo_n "checking for OpenSSL... " >&6; } |
16088 |
CPPFLAGS_X="$CPPFLAGS" |
16089 |
LIBS_X="$LIBS" |
16090 |
cf_result=no |
16091 |
@@ -14411,11 +7329,7 @@ if test -z "$disable_ssl"; then |
16092 |
else |
16093 |
LIBS="-lssl -lcrypto $LIBS_X" |
16094 |
fi |
16095 |
- cat >conftest.$ac_ext <<_ACEOF |
16096 |
-/* confdefs.h. */ |
16097 |
-_ACEOF |
16098 |
-cat confdefs.h >>conftest.$ac_ext |
16099 |
-cat >>conftest.$ac_ext <<_ACEOF |
16100 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
16101 |
/* end confdefs.h. */ |
16102 |
#include <openssl/ssl.h> |
16103 |
int |
16104 |
@@ -14426,40 +7340,15 @@ OpenSSL_add_all_algorithms() |
16105 |
return 0; |
16106 |
} |
16107 |
_ACEOF |
16108 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
16109 |
-if { (ac_try="$ac_link" |
16110 |
-case "(($ac_try" in |
16111 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
16112 |
- *) ac_try_echo=$ac_try;; |
16113 |
-esac |
16114 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
16115 |
- (eval "$ac_link") 2>conftest.er1 |
16116 |
- ac_status=$? |
16117 |
- grep -v '^ *+' conftest.er1 >conftest.err |
16118 |
- rm -f conftest.er1 |
16119 |
- cat conftest.err >&5 |
16120 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16121 |
- (exit $ac_status); } && { |
16122 |
- test -z "$ac_c_werror_flag" || |
16123 |
- test ! -s conftest.err |
16124 |
- } && test -s conftest$ac_exeext && |
16125 |
- $as_test_x conftest$ac_exeext; then |
16126 |
+if ac_fn_c_try_link "$LINENO"; then : |
16127 |
cf_result=yes |
16128 |
else |
16129 |
- echo "$as_me: failed program was:" >&5 |
16130 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
16131 |
- |
16132 |
- cf_result=no |
16133 |
+ cf_result=no |
16134 |
fi |
16135 |
- |
16136 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
16137 |
- conftest$ac_exeext conftest.$ac_ext |
16138 |
+rm -f core conftest.err conftest.$ac_objext \ |
16139 |
+ conftest$ac_exeext conftest.$ac_ext |
16140 |
if test "$cf_result" != yes; then |
16141 |
- cat >conftest.$ac_ext <<_ACEOF |
16142 |
-/* confdefs.h. */ |
16143 |
-_ACEOF |
16144 |
-cat confdefs.h >>conftest.$ac_ext |
16145 |
-cat >>conftest.$ac_ext <<_ACEOF |
16146 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
16147 |
/* end confdefs.h. */ |
16148 |
#include <openssl/ssl.h> |
16149 |
int |
16150 |
@@ -14470,81 +7359,93 @@ SSLeay_add_ssl_algorithms() |
16151 |
return 0; |
16152 |
} |
16153 |
_ACEOF |
16154 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
16155 |
-if { (ac_try="$ac_link" |
16156 |
-case "(($ac_try" in |
16157 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
16158 |
- *) ac_try_echo=$ac_try;; |
16159 |
-esac |
16160 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
16161 |
- (eval "$ac_link") 2>conftest.er1 |
16162 |
- ac_status=$? |
16163 |
- grep -v '^ *+' conftest.er1 >conftest.err |
16164 |
- rm -f conftest.er1 |
16165 |
- cat conftest.err >&5 |
16166 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16167 |
- (exit $ac_status); } && { |
16168 |
- test -z "$ac_c_werror_flag" || |
16169 |
- test ! -s conftest.err |
16170 |
- } && test -s conftest$ac_exeext && |
16171 |
- $as_test_x conftest$ac_exeext; then |
16172 |
+if ac_fn_c_try_link "$LINENO"; then : |
16173 |
cf_result=yes |
16174 |
else |
16175 |
- echo "$as_me: failed program was:" >&5 |
16176 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
16177 |
- |
16178 |
- cf_result=no |
16179 |
+ cf_result=no |
16180 |
fi |
16181 |
- |
16182 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
16183 |
- conftest$ac_exeext conftest.$ac_ext |
16184 |
+rm -f core conftest.err conftest.$ac_objext \ |
16185 |
+ conftest$ac_exeext conftest.$ac_ext |
16186 |
fi |
16187 |
fi |
16188 |
done |
16189 |
|
16190 |
if test "$cf_result" != yes; then |
16191 |
if test "$withval" = yes; then |
16192 |
- { { echo "$as_me:$LINENO: error: \"OpenSSL not found\"" >&5 |
16193 |
-echo "$as_me: error: \"OpenSSL not found\"" >&2;} |
16194 |
- { (exit 1); exit 1; }; } |
16195 |
+ as_fn_error $? "\"OpenSSL not found\"" "$LINENO" 5 |
16196 |
fi |
16197 |
CPPFLAGS="$CPPFLAGS_X" |
16198 |
LIBS="$LIBS_X" |
16199 |
else |
16200 |
- cat >>confdefs.h <<\_ACEOF |
16201 |
-#define HAVE_SSL 1 |
16202 |
-_ACEOF |
16203 |
+ $as_echo "#define HAVE_SSL 1" >>confdefs.h |
16204 |
|
16205 |
fi |
16206 |
fi |
16207 |
-{ echo "$as_me:$LINENO: result: $cf_result" >&5 |
16208 |
-echo "${ECHO_T}$cf_result" >&6; } |
16209 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_result" >&5 |
16210 |
+$as_echo "$cf_result" >&6; } |
16211 |
cf_have_ssl=$cf_result; |
16212 |
+ |
16213 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RAND_egd in -lcrypto" >&5 |
16214 |
+$as_echo_n "checking for RAND_egd in -lcrypto... " >&6; } |
16215 |
+if ${ac_cv_lib_crypto_RAND_egd+:} false; then : |
16216 |
+ $as_echo_n "(cached) " >&6 |
16217 |
+else |
16218 |
+ ac_check_lib_save_LIBS=$LIBS |
16219 |
+LIBS="-lcrypto $LIBS" |
16220 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
16221 |
+/* end confdefs.h. */ |
16222 |
+ |
16223 |
+/* Override any GCC internal prototype to avoid an error. |
16224 |
+ Use char because int might match the return type of a GCC |
16225 |
+ builtin and then its argument prototype would still apply. */ |
16226 |
+#ifdef __cplusplus |
16227 |
+extern "C" |
16228 |
+#endif |
16229 |
+char RAND_egd (); |
16230 |
+int |
16231 |
+main () |
16232 |
+{ |
16233 |
+return RAND_egd (); |
16234 |
+ ; |
16235 |
+ return 0; |
16236 |
+} |
16237 |
+_ACEOF |
16238 |
+if ac_fn_c_try_link "$LINENO"; then : |
16239 |
+ ac_cv_lib_crypto_RAND_egd=yes |
16240 |
+else |
16241 |
+ ac_cv_lib_crypto_RAND_egd=no |
16242 |
+fi |
16243 |
+rm -f core conftest.err conftest.$ac_objext \ |
16244 |
+ conftest$ac_exeext conftest.$ac_ext |
16245 |
+LIBS=$ac_check_lib_save_LIBS |
16246 |
+fi |
16247 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RAND_egd" >&5 |
16248 |
+$as_echo "$ac_cv_lib_crypto_RAND_egd" >&6; } |
16249 |
+if test "x$ac_cv_lib_crypto_RAND_egd" = xyes; then : |
16250 |
+ |
16251 |
+$as_echo "#define HAVE_RAND_EGD 1" >>confdefs.h |
16252 |
+ |
16253 |
+fi |
16254 |
+ |
16255 |
+ |
16256 |
#endif |
16257 |
|
16258 |
cf_have_atheos=no |
16259 |
|
16260 |
if test "$cf_use_graphics" = yes; then |
16261 |
- cat >>confdefs.h <<\_ACEOF |
16262 |
-#define G 1 |
16263 |
-_ACEOF |
16264 |
+ $as_echo "#define G 1" >>confdefs.h |
16265 |
|
16266 |
|
16267 |
CPPFLAGS="$CPPFLAGS -I/usr/local/include" |
16268 |
LDFLAGS="$LDFLAGS -L/usr/local/lib" |
16269 |
- |
16270 |
-{ echo "$as_me:$LINENO: checking for inflate in -lz" >&5 |
16271 |
-echo $ECHO_N "checking for inflate in -lz... $ECHO_C" >&6; } |
16272 |
-if test "${ac_cv_lib_z_inflate+set}" = set; then |
16273 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
16274 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5 |
16275 |
+$as_echo_n "checking for inflate in -lz... " >&6; } |
16276 |
+if ${ac_cv_lib_z_inflate+:} false; then : |
16277 |
+ $as_echo_n "(cached) " >&6 |
16278 |
else |
16279 |
ac_check_lib_save_LIBS=$LIBS |
16280 |
LIBS="-lz $LIBS" |
16281 |
-cat >conftest.$ac_ext <<_ACEOF |
16282 |
-/* confdefs.h. */ |
16283 |
-_ACEOF |
16284 |
-cat confdefs.h >>conftest.$ac_ext |
16285 |
-cat >>conftest.$ac_ext <<_ACEOF |
16286 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
16287 |
/* end confdefs.h. */ |
16288 |
|
16289 |
/* Override any GCC internal prototype to avoid an error. |
16290 |
@@ -14562,39 +7463,18 @@ return inflate (); |
16291 |
return 0; |
16292 |
} |
16293 |
_ACEOF |
16294 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
16295 |
-if { (ac_try="$ac_link" |
16296 |
-case "(($ac_try" in |
16297 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
16298 |
- *) ac_try_echo=$ac_try;; |
16299 |
-esac |
16300 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
16301 |
- (eval "$ac_link") 2>conftest.er1 |
16302 |
- ac_status=$? |
16303 |
- grep -v '^ *+' conftest.er1 >conftest.err |
16304 |
- rm -f conftest.er1 |
16305 |
- cat conftest.err >&5 |
16306 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16307 |
- (exit $ac_status); } && { |
16308 |
- test -z "$ac_c_werror_flag" || |
16309 |
- test ! -s conftest.err |
16310 |
- } && test -s conftest$ac_exeext && |
16311 |
- $as_test_x conftest$ac_exeext; then |
16312 |
+if ac_fn_c_try_link "$LINENO"; then : |
16313 |
ac_cv_lib_z_inflate=yes |
16314 |
else |
16315 |
- echo "$as_me: failed program was:" >&5 |
16316 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
16317 |
- |
16318 |
- ac_cv_lib_z_inflate=no |
16319 |
+ ac_cv_lib_z_inflate=no |
16320 |
fi |
16321 |
- |
16322 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
16323 |
- conftest$ac_exeext conftest.$ac_ext |
16324 |
+rm -f core conftest.err conftest.$ac_objext \ |
16325 |
+ conftest$ac_exeext conftest.$ac_ext |
16326 |
LIBS=$ac_check_lib_save_LIBS |
16327 |
fi |
16328 |
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflate" >&5 |
16329 |
-echo "${ECHO_T}$ac_cv_lib_z_inflate" >&6; } |
16330 |
-if test $ac_cv_lib_z_inflate = yes; then |
16331 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5 |
16332 |
+$as_echo "$ac_cv_lib_z_inflate" >&6; } |
16333 |
+if test "x$ac_cv_lib_z_inflate" = xyes; then : |
16334 |
cat >>confdefs.h <<_ACEOF |
16335 |
#define HAVE_LIBZ 1 |
16336 |
_ACEOF |
16337 |
@@ -14603,160 +7483,27 @@ _ACEOF |
16338 |
|
16339 |
fi |
16340 |
|
16341 |
- |
16342 |
- |
16343 |
-for ac_header in png.h libpng/png.h |
16344 |
-do |
16345 |
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
16346 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
16347 |
- { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
16348 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
16349 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
16350 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
16351 |
-fi |
16352 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
16353 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
16354 |
-echo "${ECHO_T}$ac_res" >&6; } |
16355 |
-else |
16356 |
- # Is the header compilable? |
16357 |
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
16358 |
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
16359 |
-cat >conftest.$ac_ext <<_ACEOF |
16360 |
-/* confdefs.h. */ |
16361 |
-_ACEOF |
16362 |
-cat confdefs.h >>conftest.$ac_ext |
16363 |
-cat >>conftest.$ac_ext <<_ACEOF |
16364 |
-/* end confdefs.h. */ |
16365 |
-$ac_includes_default |
16366 |
-#include <$ac_header> |
16367 |
-_ACEOF |
16368 |
-rm -f conftest.$ac_objext |
16369 |
-if { (ac_try="$ac_compile" |
16370 |
-case "(($ac_try" in |
16371 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
16372 |
- *) ac_try_echo=$ac_try;; |
16373 |
-esac |
16374 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
16375 |
- (eval "$ac_compile") 2>conftest.er1 |
16376 |
- ac_status=$? |
16377 |
- grep -v '^ *+' conftest.er1 >conftest.err |
16378 |
- rm -f conftest.er1 |
16379 |
- cat conftest.err >&5 |
16380 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16381 |
- (exit $ac_status); } && { |
16382 |
- test -z "$ac_c_werror_flag" || |
16383 |
- test ! -s conftest.err |
16384 |
- } && test -s conftest.$ac_objext; then |
16385 |
- ac_header_compiler=yes |
16386 |
-else |
16387 |
- echo "$as_me: failed program was:" >&5 |
16388 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
16389 |
- |
16390 |
- ac_header_compiler=no |
16391 |
-fi |
16392 |
- |
16393 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
16394 |
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
16395 |
-echo "${ECHO_T}$ac_header_compiler" >&6; } |
16396 |
- |
16397 |
-# Is the header present? |
16398 |
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
16399 |
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
16400 |
-cat >conftest.$ac_ext <<_ACEOF |
16401 |
-/* confdefs.h. */ |
16402 |
-_ACEOF |
16403 |
-cat confdefs.h >>conftest.$ac_ext |
16404 |
-cat >>conftest.$ac_ext <<_ACEOF |
16405 |
-/* end confdefs.h. */ |
16406 |
-#include <$ac_header> |
16407 |
-_ACEOF |
16408 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
16409 |
-case "(($ac_try" in |
16410 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
16411 |
- *) ac_try_echo=$ac_try;; |
16412 |
-esac |
16413 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
16414 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
16415 |
- ac_status=$? |
16416 |
- grep -v '^ *+' conftest.er1 >conftest.err |
16417 |
- rm -f conftest.er1 |
16418 |
- cat conftest.err >&5 |
16419 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16420 |
- (exit $ac_status); } >/dev/null && { |
16421 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
16422 |
- test ! -s conftest.err |
16423 |
- }; then |
16424 |
- ac_header_preproc=yes |
16425 |
-else |
16426 |
- echo "$as_me: failed program was:" >&5 |
16427 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
16428 |
- |
16429 |
- ac_header_preproc=no |
16430 |
-fi |
16431 |
- |
16432 |
-rm -f conftest.err conftest.$ac_ext |
16433 |
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
16434 |
-echo "${ECHO_T}$ac_header_preproc" >&6; } |
16435 |
- |
16436 |
-# So? What about this header? |
16437 |
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
16438 |
- yes:no: ) |
16439 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
16440 |
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
16441 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
16442 |
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
16443 |
- ac_header_preproc=yes |
16444 |
- ;; |
16445 |
- no:yes:* ) |
16446 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
16447 |
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
16448 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
16449 |
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
16450 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
16451 |
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
16452 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
16453 |
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
16454 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
16455 |
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
16456 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
16457 |
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
16458 |
- |
16459 |
- ;; |
16460 |
-esac |
16461 |
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
16462 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
16463 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
16464 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
16465 |
-else |
16466 |
- eval "$as_ac_Header=\$ac_header_preproc" |
16467 |
-fi |
16468 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
16469 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
16470 |
-echo "${ECHO_T}$ac_res" >&6; } |
16471 |
- |
16472 |
-fi |
16473 |
-if test `eval echo '${'$as_ac_Header'}'` = yes; then |
16474 |
+ for ac_header in png.h libpng/png.h |
16475 |
+do : |
16476 |
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
16477 |
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
16478 |
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
16479 |
cat >>confdefs.h <<_ACEOF |
16480 |
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
16481 |
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
16482 |
_ACEOF |
16483 |
|
16484 |
fi |
16485 |
|
16486 |
done |
16487 |
|
16488 |
- |
16489 |
-{ echo "$as_me:$LINENO: checking for png_create_info_struct in -lpng" >&5 |
16490 |
-echo $ECHO_N "checking for png_create_info_struct in -lpng... $ECHO_C" >&6; } |
16491 |
-if test "${ac_cv_lib_png_png_create_info_struct+set}" = set; then |
16492 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
16493 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_create_info_struct in -lpng" >&5 |
16494 |
+$as_echo_n "checking for png_create_info_struct in -lpng... " >&6; } |
16495 |
+if ${ac_cv_lib_png_png_create_info_struct+:} false; then : |
16496 |
+ $as_echo_n "(cached) " >&6 |
16497 |
else |
16498 |
ac_check_lib_save_LIBS=$LIBS |
16499 |
LIBS="-lpng $LIBS" |
16500 |
-cat >conftest.$ac_ext <<_ACEOF |
16501 |
-/* confdefs.h. */ |
16502 |
-_ACEOF |
16503 |
-cat confdefs.h >>conftest.$ac_ext |
16504 |
-cat >>conftest.$ac_ext <<_ACEOF |
16505 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
16506 |
/* end confdefs.h. */ |
16507 |
|
16508 |
/* Override any GCC internal prototype to avoid an error. |
16509 |
@@ -14774,39 +7521,18 @@ return png_create_info_struct (); |
16510 |
return 0; |
16511 |
} |
16512 |
_ACEOF |
16513 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
16514 |
-if { (ac_try="$ac_link" |
16515 |
-case "(($ac_try" in |
16516 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
16517 |
- *) ac_try_echo=$ac_try;; |
16518 |
-esac |
16519 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
16520 |
- (eval "$ac_link") 2>conftest.er1 |
16521 |
- ac_status=$? |
16522 |
- grep -v '^ *+' conftest.er1 >conftest.err |
16523 |
- rm -f conftest.er1 |
16524 |
- cat conftest.err >&5 |
16525 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16526 |
- (exit $ac_status); } && { |
16527 |
- test -z "$ac_c_werror_flag" || |
16528 |
- test ! -s conftest.err |
16529 |
- } && test -s conftest$ac_exeext && |
16530 |
- $as_test_x conftest$ac_exeext; then |
16531 |
+if ac_fn_c_try_link "$LINENO"; then : |
16532 |
ac_cv_lib_png_png_create_info_struct=yes |
16533 |
else |
16534 |
- echo "$as_me: failed program was:" >&5 |
16535 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
16536 |
- |
16537 |
- ac_cv_lib_png_png_create_info_struct=no |
16538 |
+ ac_cv_lib_png_png_create_info_struct=no |
16539 |
fi |
16540 |
- |
16541 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
16542 |
- conftest$ac_exeext conftest.$ac_ext |
16543 |
+rm -f core conftest.err conftest.$ac_objext \ |
16544 |
+ conftest$ac_exeext conftest.$ac_ext |
16545 |
LIBS=$ac_check_lib_save_LIBS |
16546 |
fi |
16547 |
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_create_info_struct" >&5 |
16548 |
-echo "${ECHO_T}$ac_cv_lib_png_png_create_info_struct" >&6; } |
16549 |
-if test $ac_cv_lib_png_png_create_info_struct = yes; then |
16550 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_create_info_struct" >&5 |
16551 |
+$as_echo "$ac_cv_lib_png_png_create_info_struct" >&6; } |
16552 |
+if test "x$ac_cv_lib_png_png_create_info_struct" = xyes; then : |
16553 |
cat >>confdefs.h <<_ACEOF |
16554 |
#define HAVE_LIBPNG 1 |
16555 |
_ACEOF |
16556 |
@@ -14816,116 +7542,27 @@ _ACEOF |
16557 |
fi |
16558 |
|
16559 |
if test "$ac_cv_header_png_h" != yes && test "ac_cv_header_libpng_png_h" != yes || test "$ac_cv_lib_png_png_create_info_struct" != yes; then |
16560 |
- { { echo "$as_me:$LINENO: error: You need libpng to compile Links in graphics mode" >&5 |
16561 |
-echo "$as_me: error: You need libpng to compile Links in graphics mode" >&2;} |
16562 |
- { (exit 1); exit 1; }; } |
16563 |
+ as_fn_error $? "You need libpng to compile Links in graphics mode" "$LINENO" 5 |
16564 |
fi |
16565 |
|
16566 |
- |
16567 |
-for ac_func in png_set_rgb_to_gray |
16568 |
-do |
16569 |
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
16570 |
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
16571 |
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
16572 |
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
16573 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
16574 |
-else |
16575 |
- cat >conftest.$ac_ext <<_ACEOF |
16576 |
-/* confdefs.h. */ |
16577 |
-_ACEOF |
16578 |
-cat confdefs.h >>conftest.$ac_ext |
16579 |
-cat >>conftest.$ac_ext <<_ACEOF |
16580 |
-/* end confdefs.h. */ |
16581 |
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
16582 |
- For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
16583 |
-#define $ac_func innocuous_$ac_func |
16584 |
- |
16585 |
-/* System header to define __stub macros and hopefully few prototypes, |
16586 |
- which can conflict with char $ac_func (); below. |
16587 |
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
16588 |
- <limits.h> exists even on freestanding compilers. */ |
16589 |
- |
16590 |
-#ifdef __STDC__ |
16591 |
-# include <limits.h> |
16592 |
-#else |
16593 |
-# include <assert.h> |
16594 |
-#endif |
16595 |
- |
16596 |
-#undef $ac_func |
16597 |
- |
16598 |
-/* Override any GCC internal prototype to avoid an error. |
16599 |
- Use char because int might match the return type of a GCC |
16600 |
- builtin and then its argument prototype would still apply. */ |
16601 |
-#ifdef __cplusplus |
16602 |
-extern "C" |
16603 |
-#endif |
16604 |
-char $ac_func (); |
16605 |
-/* The GNU C library defines this for functions which it implements |
16606 |
- to always fail with ENOSYS. Some functions are actually named |
16607 |
- something starting with __ and the normal name is an alias. */ |
16608 |
-#if defined __stub_$ac_func || defined __stub___$ac_func |
16609 |
-choke me |
16610 |
-#endif |
16611 |
- |
16612 |
-int |
16613 |
-main () |
16614 |
-{ |
16615 |
-return $ac_func (); |
16616 |
- ; |
16617 |
- return 0; |
16618 |
-} |
16619 |
-_ACEOF |
16620 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
16621 |
-if { (ac_try="$ac_link" |
16622 |
-case "(($ac_try" in |
16623 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
16624 |
- *) ac_try_echo=$ac_try;; |
16625 |
-esac |
16626 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
16627 |
- (eval "$ac_link") 2>conftest.er1 |
16628 |
- ac_status=$? |
16629 |
- grep -v '^ *+' conftest.er1 >conftest.err |
16630 |
- rm -f conftest.er1 |
16631 |
- cat conftest.err >&5 |
16632 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16633 |
- (exit $ac_status); } && { |
16634 |
- test -z "$ac_c_werror_flag" || |
16635 |
- test ! -s conftest.err |
16636 |
- } && test -s conftest$ac_exeext && |
16637 |
- $as_test_x conftest$ac_exeext; then |
16638 |
- eval "$as_ac_var=yes" |
16639 |
-else |
16640 |
- echo "$as_me: failed program was:" >&5 |
16641 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
16642 |
- |
16643 |
- eval "$as_ac_var=no" |
16644 |
-fi |
16645 |
- |
16646 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
16647 |
- conftest$ac_exeext conftest.$ac_ext |
16648 |
-fi |
16649 |
-ac_res=`eval echo '${'$as_ac_var'}'` |
16650 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
16651 |
-echo "${ECHO_T}$ac_res" >&6; } |
16652 |
-if test `eval echo '${'$as_ac_var'}'` = yes; then |
16653 |
+ for ac_func in png_set_rgb_to_gray |
16654 |
+do : |
16655 |
+ ac_fn_c_check_func "$LINENO" "png_set_rgb_to_gray" "ac_cv_func_png_set_rgb_to_gray" |
16656 |
+if test "x$ac_cv_func_png_set_rgb_to_gray" = xyes; then : |
16657 |
cat >>confdefs.h <<_ACEOF |
16658 |
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
16659 |
+#define HAVE_PNG_SET_RGB_TO_GRAY 1 |
16660 |
_ACEOF |
16661 |
|
16662 |
fi |
16663 |
done |
16664 |
|
16665 |
|
16666 |
- { echo "$as_me:$LINENO: checking if you can include both setjmp.h and png.h" >&5 |
16667 |
-echo $ECHO_N "checking if you can include both setjmp.h and png.h... $ECHO_C" >&6; } |
16668 |
-if test "${ac_cv_include_setjmp_png+set}" = set; then |
16669 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
16670 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if you can include both setjmp.h and png.h" >&5 |
16671 |
+$as_echo_n "checking if you can include both setjmp.h and png.h... " >&6; } |
16672 |
+if ${ac_cv_include_setjmp_png+:} false; then : |
16673 |
+ $as_echo_n "(cached) " >&6 |
16674 |
else |
16675 |
- cat >conftest.$ac_ext <<_ACEOF |
16676 |
-/* confdefs.h. */ |
16677 |
-_ACEOF |
16678 |
-cat confdefs.h >>conftest.$ac_ext |
16679 |
-cat >>conftest.$ac_ext <<_ACEOF |
16680 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
16681 |
/* end confdefs.h. */ |
16682 |
#include <setjmp.h> |
16683 |
#include <png.h> |
16684 |
@@ -14937,205 +7574,50 @@ jmp_buf bla; |
16685 |
return 0; |
16686 |
} |
16687 |
_ACEOF |
16688 |
-rm -f conftest.$ac_objext |
16689 |
-if { (ac_try="$ac_compile" |
16690 |
-case "(($ac_try" in |
16691 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
16692 |
- *) ac_try_echo=$ac_try;; |
16693 |
-esac |
16694 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
16695 |
- (eval "$ac_compile") 2>conftest.er1 |
16696 |
- ac_status=$? |
16697 |
- grep -v '^ *+' conftest.er1 >conftest.err |
16698 |
- rm -f conftest.er1 |
16699 |
- cat conftest.err >&5 |
16700 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16701 |
- (exit $ac_status); } && { |
16702 |
- test -z "$ac_c_werror_flag" || |
16703 |
- test ! -s conftest.err |
16704 |
- } && test -s conftest.$ac_objext; then |
16705 |
+if ac_fn_c_try_compile "$LINENO"; then : |
16706 |
ac_cv_include_setjmp_png=yes |
16707 |
else |
16708 |
- echo "$as_me: failed program was:" >&5 |
16709 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
16710 |
- |
16711 |
- ac_cv_include_setjmp_png=no |
16712 |
+ ac_cv_include_setjmp_png=no |
16713 |
fi |
16714 |
- |
16715 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
16716 |
|
16717 |
fi |
16718 |
-{ echo "$as_me:$LINENO: result: $ac_cv_include_setjmp_png" >&5 |
16719 |
-echo "${ECHO_T}$ac_cv_include_setjmp_png" >&6; } |
16720 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_include_setjmp_png" >&5 |
16721 |
+$as_echo "$ac_cv_include_setjmp_png" >&6; } |
16722 |
|
16723 |
if test "$ac_cv_include_setjmp_png" != yes; then |
16724 |
- cat >>confdefs.h <<\_ACEOF |
16725 |
-#define DONT_INCLUDE_SETJMP 1 |
16726 |
-_ACEOF |
16727 |
+ $as_echo "#define DONT_INCLUDE_SETJMP 1" >>confdefs.h |
16728 |
|
16729 |
fi |
16730 |
|
16731 |
|
16732 |
# Check whether --with-libjpeg was given. |
16733 |
-if test "${with_libjpeg+set}" = set; then |
16734 |
+if test "${with_libjpeg+set}" = set; then : |
16735 |
withval=$with_libjpeg; if test "$withval" = no; then disable_jpeg=yes; else disable_jpeg=no; fi |
16736 |
fi |
16737 |
|
16738 |
cf_have_jpeg=no |
16739 |
if test "$disable_jpeg" != yes ; then |
16740 |
- |
16741 |
-for ac_header in jpeglib.h |
16742 |
-do |
16743 |
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
16744 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
16745 |
- { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
16746 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
16747 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
16748 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
16749 |
-fi |
16750 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
16751 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
16752 |
-echo "${ECHO_T}$ac_res" >&6; } |
16753 |
-else |
16754 |
- # Is the header compilable? |
16755 |
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
16756 |
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
16757 |
-cat >conftest.$ac_ext <<_ACEOF |
16758 |
-/* confdefs.h. */ |
16759 |
-_ACEOF |
16760 |
-cat confdefs.h >>conftest.$ac_ext |
16761 |
-cat >>conftest.$ac_ext <<_ACEOF |
16762 |
-/* end confdefs.h. */ |
16763 |
-$ac_includes_default |
16764 |
-#include <$ac_header> |
16765 |
-_ACEOF |
16766 |
-rm -f conftest.$ac_objext |
16767 |
-if { (ac_try="$ac_compile" |
16768 |
-case "(($ac_try" in |
16769 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
16770 |
- *) ac_try_echo=$ac_try;; |
16771 |
-esac |
16772 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
16773 |
- (eval "$ac_compile") 2>conftest.er1 |
16774 |
- ac_status=$? |
16775 |
- grep -v '^ *+' conftest.er1 >conftest.err |
16776 |
- rm -f conftest.er1 |
16777 |
- cat conftest.err >&5 |
16778 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16779 |
- (exit $ac_status); } && { |
16780 |
- test -z "$ac_c_werror_flag" || |
16781 |
- test ! -s conftest.err |
16782 |
- } && test -s conftest.$ac_objext; then |
16783 |
- ac_header_compiler=yes |
16784 |
-else |
16785 |
- echo "$as_me: failed program was:" >&5 |
16786 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
16787 |
- |
16788 |
- ac_header_compiler=no |
16789 |
-fi |
16790 |
- |
16791 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
16792 |
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
16793 |
-echo "${ECHO_T}$ac_header_compiler" >&6; } |
16794 |
- |
16795 |
-# Is the header present? |
16796 |
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
16797 |
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
16798 |
-cat >conftest.$ac_ext <<_ACEOF |
16799 |
-/* confdefs.h. */ |
16800 |
-_ACEOF |
16801 |
-cat confdefs.h >>conftest.$ac_ext |
16802 |
-cat >>conftest.$ac_ext <<_ACEOF |
16803 |
-/* end confdefs.h. */ |
16804 |
-#include <$ac_header> |
16805 |
-_ACEOF |
16806 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
16807 |
-case "(($ac_try" in |
16808 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
16809 |
- *) ac_try_echo=$ac_try;; |
16810 |
-esac |
16811 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
16812 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
16813 |
- ac_status=$? |
16814 |
- grep -v '^ *+' conftest.er1 >conftest.err |
16815 |
- rm -f conftest.er1 |
16816 |
- cat conftest.err >&5 |
16817 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16818 |
- (exit $ac_status); } >/dev/null && { |
16819 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
16820 |
- test ! -s conftest.err |
16821 |
- }; then |
16822 |
- ac_header_preproc=yes |
16823 |
-else |
16824 |
- echo "$as_me: failed program was:" >&5 |
16825 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
16826 |
- |
16827 |
- ac_header_preproc=no |
16828 |
-fi |
16829 |
- |
16830 |
-rm -f conftest.err conftest.$ac_ext |
16831 |
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
16832 |
-echo "${ECHO_T}$ac_header_preproc" >&6; } |
16833 |
- |
16834 |
-# So? What about this header? |
16835 |
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
16836 |
- yes:no: ) |
16837 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
16838 |
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
16839 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
16840 |
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
16841 |
- ac_header_preproc=yes |
16842 |
- ;; |
16843 |
- no:yes:* ) |
16844 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
16845 |
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
16846 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
16847 |
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
16848 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
16849 |
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
16850 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
16851 |
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
16852 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
16853 |
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
16854 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
16855 |
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
16856 |
- |
16857 |
- ;; |
16858 |
-esac |
16859 |
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
16860 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
16861 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
16862 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
16863 |
-else |
16864 |
- eval "$as_ac_Header=\$ac_header_preproc" |
16865 |
-fi |
16866 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
16867 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
16868 |
-echo "${ECHO_T}$ac_res" >&6; } |
16869 |
- |
16870 |
-fi |
16871 |
-if test `eval echo '${'$as_ac_Header'}'` = yes; then |
16872 |
+ for ac_header in jpeglib.h |
16873 |
+do : |
16874 |
+ ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default" |
16875 |
+if test "x$ac_cv_header_jpeglib_h" = xyes; then : |
16876 |
cat >>confdefs.h <<_ACEOF |
16877 |
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
16878 |
+#define HAVE_JPEGLIB_H 1 |
16879 |
_ACEOF |
16880 |
|
16881 |
fi |
16882 |
|
16883 |
done |
16884 |
|
16885 |
- |
16886 |
-{ echo "$as_me:$LINENO: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
16887 |
-echo $ECHO_N "checking for jpeg_destroy_decompress in -ljpeg... $ECHO_C" >&6; } |
16888 |
-if test "${ac_cv_lib_jpeg_jpeg_destroy_decompress+set}" = set; then |
16889 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
16890 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
16891 |
+$as_echo_n "checking for jpeg_destroy_decompress in -ljpeg... " >&6; } |
16892 |
+if ${ac_cv_lib_jpeg_jpeg_destroy_decompress+:} false; then : |
16893 |
+ $as_echo_n "(cached) " >&6 |
16894 |
else |
16895 |
ac_check_lib_save_LIBS=$LIBS |
16896 |
LIBS="-ljpeg $LIBS" |
16897 |
-cat >conftest.$ac_ext <<_ACEOF |
16898 |
-/* confdefs.h. */ |
16899 |
-_ACEOF |
16900 |
-cat confdefs.h >>conftest.$ac_ext |
16901 |
-cat >>conftest.$ac_ext <<_ACEOF |
16902 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
16903 |
/* end confdefs.h. */ |
16904 |
|
16905 |
/* Override any GCC internal prototype to avoid an error. |
16906 |
@@ -15153,39 +7635,18 @@ return jpeg_destroy_decompress (); |
16907 |
return 0; |
16908 |
} |
16909 |
_ACEOF |
16910 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
16911 |
-if { (ac_try="$ac_link" |
16912 |
-case "(($ac_try" in |
16913 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
16914 |
- *) ac_try_echo=$ac_try;; |
16915 |
-esac |
16916 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
16917 |
- (eval "$ac_link") 2>conftest.er1 |
16918 |
- ac_status=$? |
16919 |
- grep -v '^ *+' conftest.er1 >conftest.err |
16920 |
- rm -f conftest.er1 |
16921 |
- cat conftest.err >&5 |
16922 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16923 |
- (exit $ac_status); } && { |
16924 |
- test -z "$ac_c_werror_flag" || |
16925 |
- test ! -s conftest.err |
16926 |
- } && test -s conftest$ac_exeext && |
16927 |
- $as_test_x conftest$ac_exeext; then |
16928 |
+if ac_fn_c_try_link "$LINENO"; then : |
16929 |
ac_cv_lib_jpeg_jpeg_destroy_decompress=yes |
16930 |
else |
16931 |
- echo "$as_me: failed program was:" >&5 |
16932 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
16933 |
- |
16934 |
- ac_cv_lib_jpeg_jpeg_destroy_decompress=no |
16935 |
+ ac_cv_lib_jpeg_jpeg_destroy_decompress=no |
16936 |
fi |
16937 |
- |
16938 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
16939 |
- conftest$ac_exeext conftest.$ac_ext |
16940 |
+rm -f core conftest.err conftest.$ac_objext \ |
16941 |
+ conftest$ac_exeext conftest.$ac_ext |
16942 |
LIBS=$ac_check_lib_save_LIBS |
16943 |
fi |
16944 |
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_destroy_decompress" >&5 |
16945 |
-echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_decompress" >&6; } |
16946 |
-if test $ac_cv_lib_jpeg_jpeg_destroy_decompress = yes; then |
16947 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_destroy_decompress" >&5 |
16948 |
+$as_echo "$ac_cv_lib_jpeg_jpeg_destroy_decompress" >&6; } |
16949 |
+if test "x$ac_cv_lib_jpeg_jpeg_destroy_decompress" = xyes; then : |
16950 |
cat >>confdefs.h <<_ACEOF |
16951 |
#define HAVE_LIBJPEG 1 |
16952 |
_ACEOF |
16953 |
@@ -15195,9 +7656,7 @@ _ACEOF |
16954 |
fi |
16955 |
|
16956 |
if test "$ac_cv_header_jpeglib_h" = yes && test "$ac_cv_lib_jpeg_jpeg_destroy_decompress" = yes; then |
16957 |
- cat >>confdefs.h <<\_ACEOF |
16958 |
-#define HAVE_JPEG 1 |
16959 |
-_ACEOF |
16960 |
+ $as_echo "#define HAVE_JPEG 1" >>confdefs.h |
16961 |
|
16962 |
cf_have_jpeg=yes |
16963 |
image_formats="$image_formats JPEG" |
16964 |
@@ -15206,165 +7665,32 @@ fi |
16965 |
|
16966 |
|
16967 |
# Check whether --with-libtiff was given. |
16968 |
-if test "${with_libtiff+set}" = set; then |
16969 |
+if test "${with_libtiff+set}" = set; then : |
16970 |
withval=$with_libtiff; if test "$withval" = no; then disable_tiff=yes; else disable_tiff=no; fi |
16971 |
fi |
16972 |
|
16973 |
cf_have_tiff=no |
16974 |
if test "$disable_tiff" != yes ; then |
16975 |
- |
16976 |
-for ac_header in tiffio.h |
16977 |
-do |
16978 |
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
16979 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
16980 |
- { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
16981 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
16982 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
16983 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
16984 |
-fi |
16985 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
16986 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
16987 |
-echo "${ECHO_T}$ac_res" >&6; } |
16988 |
-else |
16989 |
- # Is the header compilable? |
16990 |
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
16991 |
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
16992 |
-cat >conftest.$ac_ext <<_ACEOF |
16993 |
-/* confdefs.h. */ |
16994 |
-_ACEOF |
16995 |
-cat confdefs.h >>conftest.$ac_ext |
16996 |
-cat >>conftest.$ac_ext <<_ACEOF |
16997 |
-/* end confdefs.h. */ |
16998 |
-$ac_includes_default |
16999 |
-#include <$ac_header> |
17000 |
-_ACEOF |
17001 |
-rm -f conftest.$ac_objext |
17002 |
-if { (ac_try="$ac_compile" |
17003 |
-case "(($ac_try" in |
17004 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
17005 |
- *) ac_try_echo=$ac_try;; |
17006 |
-esac |
17007 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
17008 |
- (eval "$ac_compile") 2>conftest.er1 |
17009 |
- ac_status=$? |
17010 |
- grep -v '^ *+' conftest.er1 >conftest.err |
17011 |
- rm -f conftest.er1 |
17012 |
- cat conftest.err >&5 |
17013 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17014 |
- (exit $ac_status); } && { |
17015 |
- test -z "$ac_c_werror_flag" || |
17016 |
- test ! -s conftest.err |
17017 |
- } && test -s conftest.$ac_objext; then |
17018 |
- ac_header_compiler=yes |
17019 |
-else |
17020 |
- echo "$as_me: failed program was:" >&5 |
17021 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
17022 |
- |
17023 |
- ac_header_compiler=no |
17024 |
-fi |
17025 |
- |
17026 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
17027 |
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
17028 |
-echo "${ECHO_T}$ac_header_compiler" >&6; } |
17029 |
- |
17030 |
-# Is the header present? |
17031 |
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
17032 |
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
17033 |
-cat >conftest.$ac_ext <<_ACEOF |
17034 |
-/* confdefs.h. */ |
17035 |
-_ACEOF |
17036 |
-cat confdefs.h >>conftest.$ac_ext |
17037 |
-cat >>conftest.$ac_ext <<_ACEOF |
17038 |
-/* end confdefs.h. */ |
17039 |
-#include <$ac_header> |
17040 |
-_ACEOF |
17041 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
17042 |
-case "(($ac_try" in |
17043 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
17044 |
- *) ac_try_echo=$ac_try;; |
17045 |
-esac |
17046 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
17047 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
17048 |
- ac_status=$? |
17049 |
- grep -v '^ *+' conftest.er1 >conftest.err |
17050 |
- rm -f conftest.er1 |
17051 |
- cat conftest.err >&5 |
17052 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17053 |
- (exit $ac_status); } >/dev/null && { |
17054 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
17055 |
- test ! -s conftest.err |
17056 |
- }; then |
17057 |
- ac_header_preproc=yes |
17058 |
-else |
17059 |
- echo "$as_me: failed program was:" >&5 |
17060 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
17061 |
- |
17062 |
- ac_header_preproc=no |
17063 |
-fi |
17064 |
- |
17065 |
-rm -f conftest.err conftest.$ac_ext |
17066 |
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
17067 |
-echo "${ECHO_T}$ac_header_preproc" >&6; } |
17068 |
- |
17069 |
-# So? What about this header? |
17070 |
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
17071 |
- yes:no: ) |
17072 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
17073 |
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
17074 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
17075 |
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
17076 |
- ac_header_preproc=yes |
17077 |
- ;; |
17078 |
- no:yes:* ) |
17079 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
17080 |
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
17081 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
17082 |
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
17083 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
17084 |
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
17085 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
17086 |
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
17087 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
17088 |
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
17089 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
17090 |
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
17091 |
- |
17092 |
- ;; |
17093 |
-esac |
17094 |
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
17095 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
17096 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
17097 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
17098 |
-else |
17099 |
- eval "$as_ac_Header=\$ac_header_preproc" |
17100 |
-fi |
17101 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
17102 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
17103 |
-echo "${ECHO_T}$ac_res" >&6; } |
17104 |
- |
17105 |
-fi |
17106 |
-if test `eval echo '${'$as_ac_Header'}'` = yes; then |
17107 |
+ for ac_header in tiffio.h |
17108 |
+do : |
17109 |
+ ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default" |
17110 |
+if test "x$ac_cv_header_tiffio_h" = xyes; then : |
17111 |
cat >>confdefs.h <<_ACEOF |
17112 |
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
17113 |
+#define HAVE_TIFFIO_H 1 |
17114 |
_ACEOF |
17115 |
|
17116 |
fi |
17117 |
|
17118 |
done |
17119 |
|
17120 |
- |
17121 |
-{ echo "$as_me:$LINENO: checking for TIFFOpen in -ltiff" >&5 |
17122 |
-echo $ECHO_N "checking for TIFFOpen in -ltiff... $ECHO_C" >&6; } |
17123 |
-if test "${ac_cv_lib_tiff_TIFFOpen+set}" = set; then |
17124 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
17125 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFOpen in -ltiff" >&5 |
17126 |
+$as_echo_n "checking for TIFFOpen in -ltiff... " >&6; } |
17127 |
+if ${ac_cv_lib_tiff_TIFFOpen+:} false; then : |
17128 |
+ $as_echo_n "(cached) " >&6 |
17129 |
else |
17130 |
ac_check_lib_save_LIBS=$LIBS |
17131 |
LIBS="-ltiff $LIBS" |
17132 |
-cat >conftest.$ac_ext <<_ACEOF |
17133 |
-/* confdefs.h. */ |
17134 |
-_ACEOF |
17135 |
-cat confdefs.h >>conftest.$ac_ext |
17136 |
-cat >>conftest.$ac_ext <<_ACEOF |
17137 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
17138 |
/* end confdefs.h. */ |
17139 |
|
17140 |
/* Override any GCC internal prototype to avoid an error. |
17141 |
@@ -15382,39 +7708,18 @@ return TIFFOpen (); |
17142 |
return 0; |
17143 |
} |
17144 |
_ACEOF |
17145 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
17146 |
-if { (ac_try="$ac_link" |
17147 |
-case "(($ac_try" in |
17148 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
17149 |
- *) ac_try_echo=$ac_try;; |
17150 |
-esac |
17151 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
17152 |
- (eval "$ac_link") 2>conftest.er1 |
17153 |
- ac_status=$? |
17154 |
- grep -v '^ *+' conftest.er1 >conftest.err |
17155 |
- rm -f conftest.er1 |
17156 |
- cat conftest.err >&5 |
17157 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17158 |
- (exit $ac_status); } && { |
17159 |
- test -z "$ac_c_werror_flag" || |
17160 |
- test ! -s conftest.err |
17161 |
- } && test -s conftest$ac_exeext && |
17162 |
- $as_test_x conftest$ac_exeext; then |
17163 |
+if ac_fn_c_try_link "$LINENO"; then : |
17164 |
ac_cv_lib_tiff_TIFFOpen=yes |
17165 |
else |
17166 |
- echo "$as_me: failed program was:" >&5 |
17167 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
17168 |
- |
17169 |
- ac_cv_lib_tiff_TIFFOpen=no |
17170 |
+ ac_cv_lib_tiff_TIFFOpen=no |
17171 |
fi |
17172 |
- |
17173 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
17174 |
- conftest$ac_exeext conftest.$ac_ext |
17175 |
+rm -f core conftest.err conftest.$ac_objext \ |
17176 |
+ conftest$ac_exeext conftest.$ac_ext |
17177 |
LIBS=$ac_check_lib_save_LIBS |
17178 |
fi |
17179 |
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFOpen" >&5 |
17180 |
-echo "${ECHO_T}$ac_cv_lib_tiff_TIFFOpen" >&6; } |
17181 |
-if test $ac_cv_lib_tiff_TIFFOpen = yes; then |
17182 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFOpen" >&5 |
17183 |
+$as_echo "$ac_cv_lib_tiff_TIFFOpen" >&6; } |
17184 |
+if test "x$ac_cv_lib_tiff_TIFFOpen" = xyes; then : |
17185 |
cat >>confdefs.h <<_ACEOF |
17186 |
#define HAVE_LIBTIFF 1 |
17187 |
_ACEOF |
17188 |
@@ -15424,9 +7729,7 @@ _ACEOF |
17189 |
fi |
17190 |
|
17191 |
if test "$ac_cv_header_tiffio_h" = yes && test "$ac_cv_lib_tiff_TIFFOpen" = yes; then |
17192 |
- cat >>confdefs.h <<\_ACEOF |
17193 |
-#define HAVE_TIFF 1 |
17194 |
-_ACEOF |
17195 |
+ $as_echo "#define HAVE_TIFF 1" >>confdefs.h |
17196 |
|
17197 |
cf_have_tiff=yes |
17198 |
image_formats="$image_formats TIFF" |
17199 |
@@ -15435,165 +7738,32 @@ fi |
17200 |
|
17201 |
|
17202 |
# Check whether --with-libgd was given. |
17203 |
-if test "${with_libgd+set}" = set; then |
17204 |
+if test "${with_libgd+set}" = set; then : |
17205 |
withval=$with_libgd; if test "$withval" = no; then disable_libgd=yes; else disable_libgd=no; fi |
17206 |
fi |
17207 |
|
17208 |
cb_have_libgd=no |
17209 |
if test "$disable_libgd" != yes ; then |
17210 |
- |
17211 |
-for ac_header in gd.h |
17212 |
-do |
17213 |
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
17214 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
17215 |
- { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
17216 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
17217 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
17218 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
17219 |
-fi |
17220 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
17221 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
17222 |
-echo "${ECHO_T}$ac_res" >&6; } |
17223 |
-else |
17224 |
- # Is the header compilable? |
17225 |
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
17226 |
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
17227 |
-cat >conftest.$ac_ext <<_ACEOF |
17228 |
-/* confdefs.h. */ |
17229 |
-_ACEOF |
17230 |
-cat confdefs.h >>conftest.$ac_ext |
17231 |
-cat >>conftest.$ac_ext <<_ACEOF |
17232 |
-/* end confdefs.h. */ |
17233 |
-$ac_includes_default |
17234 |
-#include <$ac_header> |
17235 |
-_ACEOF |
17236 |
-rm -f conftest.$ac_objext |
17237 |
-if { (ac_try="$ac_compile" |
17238 |
-case "(($ac_try" in |
17239 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
17240 |
- *) ac_try_echo=$ac_try;; |
17241 |
-esac |
17242 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
17243 |
- (eval "$ac_compile") 2>conftest.er1 |
17244 |
- ac_status=$? |
17245 |
- grep -v '^ *+' conftest.er1 >conftest.err |
17246 |
- rm -f conftest.er1 |
17247 |
- cat conftest.err >&5 |
17248 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17249 |
- (exit $ac_status); } && { |
17250 |
- test -z "$ac_c_werror_flag" || |
17251 |
- test ! -s conftest.err |
17252 |
- } && test -s conftest.$ac_objext; then |
17253 |
- ac_header_compiler=yes |
17254 |
-else |
17255 |
- echo "$as_me: failed program was:" >&5 |
17256 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
17257 |
- |
17258 |
- ac_header_compiler=no |
17259 |
-fi |
17260 |
- |
17261 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
17262 |
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
17263 |
-echo "${ECHO_T}$ac_header_compiler" >&6; } |
17264 |
- |
17265 |
-# Is the header present? |
17266 |
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
17267 |
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
17268 |
-cat >conftest.$ac_ext <<_ACEOF |
17269 |
-/* confdefs.h. */ |
17270 |
-_ACEOF |
17271 |
-cat confdefs.h >>conftest.$ac_ext |
17272 |
-cat >>conftest.$ac_ext <<_ACEOF |
17273 |
-/* end confdefs.h. */ |
17274 |
-#include <$ac_header> |
17275 |
-_ACEOF |
17276 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
17277 |
-case "(($ac_try" in |
17278 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
17279 |
- *) ac_try_echo=$ac_try;; |
17280 |
-esac |
17281 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
17282 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
17283 |
- ac_status=$? |
17284 |
- grep -v '^ *+' conftest.er1 >conftest.err |
17285 |
- rm -f conftest.er1 |
17286 |
- cat conftest.err >&5 |
17287 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17288 |
- (exit $ac_status); } >/dev/null && { |
17289 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
17290 |
- test ! -s conftest.err |
17291 |
- }; then |
17292 |
- ac_header_preproc=yes |
17293 |
-else |
17294 |
- echo "$as_me: failed program was:" >&5 |
17295 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
17296 |
- |
17297 |
- ac_header_preproc=no |
17298 |
-fi |
17299 |
- |
17300 |
-rm -f conftest.err conftest.$ac_ext |
17301 |
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
17302 |
-echo "${ECHO_T}$ac_header_preproc" >&6; } |
17303 |
- |
17304 |
-# So? What about this header? |
17305 |
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
17306 |
- yes:no: ) |
17307 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
17308 |
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
17309 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
17310 |
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
17311 |
- ac_header_preproc=yes |
17312 |
- ;; |
17313 |
- no:yes:* ) |
17314 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
17315 |
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
17316 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
17317 |
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
17318 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
17319 |
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
17320 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
17321 |
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
17322 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
17323 |
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
17324 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
17325 |
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
17326 |
- |
17327 |
- ;; |
17328 |
-esac |
17329 |
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
17330 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
17331 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
17332 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
17333 |
-else |
17334 |
- eval "$as_ac_Header=\$ac_header_preproc" |
17335 |
-fi |
17336 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
17337 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
17338 |
-echo "${ECHO_T}$ac_res" >&6; } |
17339 |
- |
17340 |
-fi |
17341 |
-if test `eval echo '${'$as_ac_Header'}'` = yes; then |
17342 |
+ for ac_header in gd.h |
17343 |
+do : |
17344 |
+ ac_fn_c_check_header_mongrel "$LINENO" "gd.h" "ac_cv_header_gd_h" "$ac_includes_default" |
17345 |
+if test "x$ac_cv_header_gd_h" = xyes; then : |
17346 |
cat >>confdefs.h <<_ACEOF |
17347 |
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
17348 |
+#define HAVE_GD_H 1 |
17349 |
_ACEOF |
17350 |
|
17351 |
fi |
17352 |
|
17353 |
done |
17354 |
|
17355 |
- |
17356 |
-{ echo "$as_me:$LINENO: checking for gdImagePng in -lgd" >&5 |
17357 |
-echo $ECHO_N "checking for gdImagePng in -lgd... $ECHO_C" >&6; } |
17358 |
-if test "${ac_cv_lib_gd_gdImagePng+set}" = set; then |
17359 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
17360 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdImagePng in -lgd" >&5 |
17361 |
+$as_echo_n "checking for gdImagePng in -lgd... " >&6; } |
17362 |
+if ${ac_cv_lib_gd_gdImagePng+:} false; then : |
17363 |
+ $as_echo_n "(cached) " >&6 |
17364 |
else |
17365 |
ac_check_lib_save_LIBS=$LIBS |
17366 |
LIBS="-lgd $LIBS" |
17367 |
-cat >conftest.$ac_ext <<_ACEOF |
17368 |
-/* confdefs.h. */ |
17369 |
-_ACEOF |
17370 |
-cat confdefs.h >>conftest.$ac_ext |
17371 |
-cat >>conftest.$ac_ext <<_ACEOF |
17372 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
17373 |
/* end confdefs.h. */ |
17374 |
|
17375 |
/* Override any GCC internal prototype to avoid an error. |
17376 |
@@ -15611,39 +7781,18 @@ return gdImagePng (); |
17377 |
return 0; |
17378 |
} |
17379 |
_ACEOF |
17380 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
17381 |
-if { (ac_try="$ac_link" |
17382 |
-case "(($ac_try" in |
17383 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
17384 |
- *) ac_try_echo=$ac_try;; |
17385 |
-esac |
17386 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
17387 |
- (eval "$ac_link") 2>conftest.er1 |
17388 |
- ac_status=$? |
17389 |
- grep -v '^ *+' conftest.er1 >conftest.err |
17390 |
- rm -f conftest.er1 |
17391 |
- cat conftest.err >&5 |
17392 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17393 |
- (exit $ac_status); } && { |
17394 |
- test -z "$ac_c_werror_flag" || |
17395 |
- test ! -s conftest.err |
17396 |
- } && test -s conftest$ac_exeext && |
17397 |
- $as_test_x conftest$ac_exeext; then |
17398 |
+if ac_fn_c_try_link "$LINENO"; then : |
17399 |
ac_cv_lib_gd_gdImagePng=yes |
17400 |
else |
17401 |
- echo "$as_me: failed program was:" >&5 |
17402 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
17403 |
- |
17404 |
- ac_cv_lib_gd_gdImagePng=no |
17405 |
+ ac_cv_lib_gd_gdImagePng=no |
17406 |
fi |
17407 |
- |
17408 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
17409 |
- conftest$ac_exeext conftest.$ac_ext |
17410 |
+rm -f core conftest.err conftest.$ac_objext \ |
17411 |
+ conftest$ac_exeext conftest.$ac_ext |
17412 |
LIBS=$ac_check_lib_save_LIBS |
17413 |
fi |
17414 |
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_gd_gdImagePng" >&5 |
17415 |
-echo "${ECHO_T}$ac_cv_lib_gd_gdImagePng" >&6; } |
17416 |
-if test $ac_cv_lib_gd_gdImagePng = yes; then |
17417 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gd_gdImagePng" >&5 |
17418 |
+$as_echo "$ac_cv_lib_gd_gdImagePng" >&6; } |
17419 |
+if test "x$ac_cv_lib_gd_gdImagePng" = xyes; then : |
17420 |
cat >>confdefs.h <<_ACEOF |
17421 |
#define HAVE_LIBGD 1 |
17422 |
_ACEOF |
17423 |
@@ -15659,49 +7808,49 @@ fi |
17424 |
|
17425 |
|
17426 |
# Check whether --with-svgalib was given. |
17427 |
-if test "${with_svgalib+set}" = set; then |
17428 |
+if test "${with_svgalib+set}" = set; then : |
17429 |
withval=$with_svgalib; if test "$withval" = no; then disable_svgalib=yes; else disable_svgalib=no; fi |
17430 |
fi |
17431 |
|
17432 |
|
17433 |
# Check whether --with-x was given. |
17434 |
-if test "${with_x+set}" = set; then |
17435 |
+if test "${with_x+set}" = set; then : |
17436 |
withval=$with_x; if test "$withval" = no; then disable_x=yes; else disable_x=no; fi |
17437 |
fi |
17438 |
|
17439 |
|
17440 |
# Check whether --with-joyfb was given. |
17441 |
-if test "${with_joyfb+set}" = set; then |
17442 |
+if test "${with_joyfb+set}" = set; then : |
17443 |
withval=$with_joyfb; if test "$withval" = no; then disable_freamcast=yes; else disable_dreamcast=no; fi |
17444 |
fi |
17445 |
|
17446 |
|
17447 |
# Check whether --with-fb was given. |
17448 |
-if test "${with_fb+set}" = set; then |
17449 |
+if test "${with_fb+set}" = set; then : |
17450 |
withval=$with_fb; if test "$withval" = no; then disable_fb=yes; else disable_fb=no; fi |
17451 |
fi |
17452 |
|
17453 |
|
17454 |
# Check whether --with-directfb was given. |
17455 |
-if test "${with_directfb+set}" = set; then |
17456 |
+if test "${with_directfb+set}" = set; then : |
17457 |
withval=$with_directfb; if test "$withval" = no; then disable_directfb=yes; else disable_directfb=no; fi |
17458 |
fi |
17459 |
|
17460 |
|
17461 |
# Check whether --with-pmshell was given. |
17462 |
-if test "${with_pmshell+set}" = set; then |
17463 |
+if test "${with_pmshell+set}" = set; then : |
17464 |
withval=$with_pmshell; if test "$withval" = no; then disable_pmshell=yes; else disable_pmshell=no; fi |
17465 |
fi |
17466 |
|
17467 |
|
17468 |
# Check whether --with-atheos was given. |
17469 |
-if test "${with_atheos+set}" = set; then |
17470 |
+if test "${with_atheos+set}" = set; then : |
17471 |
withval=$with_atheos; if test "$withval" = no; then disable_atheos=yes; else disable_atheos; fi |
17472 |
fi |
17473 |
|
17474 |
|
17475 |
# Check whether --with-freetype was given. |
17476 |
-if test "${with_freetype+set}" = set; then |
17477 |
+if test "${with_freetype+set}" = set; then : |
17478 |
withval=$with_freetype; if test "$withval" = no; then disable_freetype=yes; else disable_freetype; fi |
17479 |
fi |
17480 |
|
17481 |
@@ -15709,18 +7858,14 @@ fi |
17482 |
drivers="" |
17483 |
|
17484 |
if test "$disable_svgalib" != yes ; then |
17485 |
- { echo "$as_me:$LINENO: checking for svgalib" >&5 |
17486 |
-echo $ECHO_N "checking for svgalib... $ECHO_C" >&6; } |
17487 |
-if test "${ac_cv_have_svgalib+set}" = set; then |
17488 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
17489 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for svgalib" >&5 |
17490 |
+$as_echo_n "checking for svgalib... " >&6; } |
17491 |
+if ${ac_cv_have_svgalib+:} false; then : |
17492 |
+ $as_echo_n "(cached) " >&6 |
17493 |
else |
17494 |
LIBS_X="$LIBS" |
17495 |
LIBS="$LIBS -lvga" |
17496 |
- cat >conftest.$ac_ext <<_ACEOF |
17497 |
-/* confdefs.h. */ |
17498 |
-_ACEOF |
17499 |
-cat confdefs.h >>conftest.$ac_ext |
17500 |
-cat >>conftest.$ac_ext <<_ACEOF |
17501 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
17502 |
/* end confdefs.h. */ |
17503 |
#include <vga.h> |
17504 |
int |
17505 |
@@ -15731,44 +7876,21 @@ vga_setmode(0) |
17506 |
return 0; |
17507 |
} |
17508 |
_ACEOF |
17509 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
17510 |
-if { (ac_try="$ac_link" |
17511 |
-case "(($ac_try" in |
17512 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
17513 |
- *) ac_try_echo=$ac_try;; |
17514 |
-esac |
17515 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
17516 |
- (eval "$ac_link") 2>conftest.er1 |
17517 |
- ac_status=$? |
17518 |
- grep -v '^ *+' conftest.er1 >conftest.err |
17519 |
- rm -f conftest.er1 |
17520 |
- cat conftest.err >&5 |
17521 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17522 |
- (exit $ac_status); } && { |
17523 |
- test -z "$ac_c_werror_flag" || |
17524 |
- test ! -s conftest.err |
17525 |
- } && test -s conftest$ac_exeext && |
17526 |
- $as_test_x conftest$ac_exeext; then |
17527 |
+if ac_fn_c_try_link "$LINENO"; then : |
17528 |
ac_cv_have_svgalib=yes |
17529 |
else |
17530 |
- echo "$as_me: failed program was:" >&5 |
17531 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
17532 |
- |
17533 |
- ac_cv_have_svgalib=no |
17534 |
+ ac_cv_have_svgalib=no |
17535 |
fi |
17536 |
- |
17537 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
17538 |
- conftest$ac_exeext conftest.$ac_ext |
17539 |
+rm -f core conftest.err conftest.$ac_objext \ |
17540 |
+ conftest$ac_exeext conftest.$ac_ext |
17541 |
LIBS="$LIBS_X" |
17542 |
|
17543 |
fi |
17544 |
-{ echo "$as_me:$LINENO: result: $ac_cv_have_svgalib" >&5 |
17545 |
-echo "${ECHO_T}$ac_cv_have_svgalib" >&6; } |
17546 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_svgalib" >&5 |
17547 |
+$as_echo "$ac_cv_have_svgalib" >&6; } |
17548 |
|
17549 |
if test "$ac_cv_have_svgalib" = yes; then |
17550 |
- cat >>confdefs.h <<\_ACEOF |
17551 |
-#define GRDRV_SVGALIB 1 |
17552 |
-_ACEOF |
17553 |
+ $as_echo "#define GRDRV_SVGALIB 1" >>confdefs.h |
17554 |
|
17555 |
LIBS="$LIBS -lvga" |
17556 |
drivers="$drivers SVGALIB" |
17557 |
@@ -15777,700 +7899,60 @@ fi |
17558 |
|
17559 |
|
17560 |
if test "$disable_dreamcast" != yes ; then |
17561 |
- |
17562 |
-for ac_header in linux/fb.h |
17563 |
-do |
17564 |
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
17565 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
17566 |
- { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
17567 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
17568 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
17569 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
17570 |
-fi |
17571 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
17572 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
17573 |
-echo "${ECHO_T}$ac_res" >&6; } |
17574 |
-else |
17575 |
- # Is the header compilable? |
17576 |
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
17577 |
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
17578 |
-cat >conftest.$ac_ext <<_ACEOF |
17579 |
-/* confdefs.h. */ |
17580 |
-_ACEOF |
17581 |
-cat confdefs.h >>conftest.$ac_ext |
17582 |
-cat >>conftest.$ac_ext <<_ACEOF |
17583 |
-/* end confdefs.h. */ |
17584 |
-$ac_includes_default |
17585 |
-#include <$ac_header> |
17586 |
-_ACEOF |
17587 |
-rm -f conftest.$ac_objext |
17588 |
-if { (ac_try="$ac_compile" |
17589 |
-case "(($ac_try" in |
17590 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
17591 |
- *) ac_try_echo=$ac_try;; |
17592 |
-esac |
17593 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
17594 |
- (eval "$ac_compile") 2>conftest.er1 |
17595 |
- ac_status=$? |
17596 |
- grep -v '^ *+' conftest.er1 >conftest.err |
17597 |
- rm -f conftest.er1 |
17598 |
- cat conftest.err >&5 |
17599 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17600 |
- (exit $ac_status); } && { |
17601 |
- test -z "$ac_c_werror_flag" || |
17602 |
- test ! -s conftest.err |
17603 |
- } && test -s conftest.$ac_objext; then |
17604 |
- ac_header_compiler=yes |
17605 |
-else |
17606 |
- echo "$as_me: failed program was:" >&5 |
17607 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
17608 |
- |
17609 |
- ac_header_compiler=no |
17610 |
-fi |
17611 |
- |
17612 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
17613 |
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
17614 |
-echo "${ECHO_T}$ac_header_compiler" >&6; } |
17615 |
- |
17616 |
-# Is the header present? |
17617 |
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
17618 |
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
17619 |
-cat >conftest.$ac_ext <<_ACEOF |
17620 |
-/* confdefs.h. */ |
17621 |
-_ACEOF |
17622 |
-cat confdefs.h >>conftest.$ac_ext |
17623 |
-cat >>conftest.$ac_ext <<_ACEOF |
17624 |
-/* end confdefs.h. */ |
17625 |
-#include <$ac_header> |
17626 |
-_ACEOF |
17627 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
17628 |
-case "(($ac_try" in |
17629 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
17630 |
- *) ac_try_echo=$ac_try;; |
17631 |
-esac |
17632 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
17633 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
17634 |
- ac_status=$? |
17635 |
- grep -v '^ *+' conftest.er1 >conftest.err |
17636 |
- rm -f conftest.er1 |
17637 |
- cat conftest.err >&5 |
17638 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17639 |
- (exit $ac_status); } >/dev/null && { |
17640 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
17641 |
- test ! -s conftest.err |
17642 |
- }; then |
17643 |
- ac_header_preproc=yes |
17644 |
-else |
17645 |
- echo "$as_me: failed program was:" >&5 |
17646 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
17647 |
- |
17648 |
- ac_header_preproc=no |
17649 |
-fi |
17650 |
- |
17651 |
-rm -f conftest.err conftest.$ac_ext |
17652 |
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
17653 |
-echo "${ECHO_T}$ac_header_preproc" >&6; } |
17654 |
- |
17655 |
-# So? What about this header? |
17656 |
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
17657 |
- yes:no: ) |
17658 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
17659 |
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
17660 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
17661 |
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
17662 |
- ac_header_preproc=yes |
17663 |
- ;; |
17664 |
- no:yes:* ) |
17665 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
17666 |
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
17667 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
17668 |
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
17669 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
17670 |
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
17671 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
17672 |
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
17673 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
17674 |
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
17675 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
17676 |
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
17677 |
- |
17678 |
- ;; |
17679 |
-esac |
17680 |
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
17681 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
17682 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
17683 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
17684 |
-else |
17685 |
- eval "$as_ac_Header=\$ac_header_preproc" |
17686 |
-fi |
17687 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
17688 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
17689 |
-echo "${ECHO_T}$ac_res" >&6; } |
17690 |
- |
17691 |
-fi |
17692 |
-if test `eval echo '${'$as_ac_Header'}'` = yes; then |
17693 |
+ for ac_header in linux/fb.h |
17694 |
+do : |
17695 |
+ ac_fn_c_check_header_mongrel "$LINENO" "linux/fb.h" "ac_cv_header_linux_fb_h" "$ac_includes_default" |
17696 |
+if test "x$ac_cv_header_linux_fb_h" = xyes; then : |
17697 |
cat >>confdefs.h <<_ACEOF |
17698 |
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
17699 |
+#define HAVE_LINUX_FB_H 1 |
17700 |
_ACEOF |
17701 |
|
17702 |
fi |
17703 |
|
17704 |
done |
17705 |
|
17706 |
- |
17707 |
-for ac_header in linux/kd.h |
17708 |
-do |
17709 |
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
17710 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
17711 |
- { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
17712 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
17713 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
17714 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
17715 |
-fi |
17716 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
17717 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
17718 |
-echo "${ECHO_T}$ac_res" >&6; } |
17719 |
-else |
17720 |
- # Is the header compilable? |
17721 |
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
17722 |
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
17723 |
-cat >conftest.$ac_ext <<_ACEOF |
17724 |
-/* confdefs.h. */ |
17725 |
-_ACEOF |
17726 |
-cat confdefs.h >>conftest.$ac_ext |
17727 |
-cat >>conftest.$ac_ext <<_ACEOF |
17728 |
-/* end confdefs.h. */ |
17729 |
-$ac_includes_default |
17730 |
-#include <$ac_header> |
17731 |
-_ACEOF |
17732 |
-rm -f conftest.$ac_objext |
17733 |
-if { (ac_try="$ac_compile" |
17734 |
-case "(($ac_try" in |
17735 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
17736 |
- *) ac_try_echo=$ac_try;; |
17737 |
-esac |
17738 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
17739 |
- (eval "$ac_compile") 2>conftest.er1 |
17740 |
- ac_status=$? |
17741 |
- grep -v '^ *+' conftest.er1 >conftest.err |
17742 |
- rm -f conftest.er1 |
17743 |
- cat conftest.err >&5 |
17744 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17745 |
- (exit $ac_status); } && { |
17746 |
- test -z "$ac_c_werror_flag" || |
17747 |
- test ! -s conftest.err |
17748 |
- } && test -s conftest.$ac_objext; then |
17749 |
- ac_header_compiler=yes |
17750 |
-else |
17751 |
- echo "$as_me: failed program was:" >&5 |
17752 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
17753 |
- |
17754 |
- ac_header_compiler=no |
17755 |
-fi |
17756 |
- |
17757 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
17758 |
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
17759 |
-echo "${ECHO_T}$ac_header_compiler" >&6; } |
17760 |
- |
17761 |
-# Is the header present? |
17762 |
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
17763 |
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
17764 |
-cat >conftest.$ac_ext <<_ACEOF |
17765 |
-/* confdefs.h. */ |
17766 |
-_ACEOF |
17767 |
-cat confdefs.h >>conftest.$ac_ext |
17768 |
-cat >>conftest.$ac_ext <<_ACEOF |
17769 |
-/* end confdefs.h. */ |
17770 |
-#include <$ac_header> |
17771 |
-_ACEOF |
17772 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
17773 |
-case "(($ac_try" in |
17774 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
17775 |
- *) ac_try_echo=$ac_try;; |
17776 |
-esac |
17777 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
17778 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
17779 |
- ac_status=$? |
17780 |
- grep -v '^ *+' conftest.er1 >conftest.err |
17781 |
- rm -f conftest.er1 |
17782 |
- cat conftest.err >&5 |
17783 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17784 |
- (exit $ac_status); } >/dev/null && { |
17785 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
17786 |
- test ! -s conftest.err |
17787 |
- }; then |
17788 |
- ac_header_preproc=yes |
17789 |
-else |
17790 |
- echo "$as_me: failed program was:" >&5 |
17791 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
17792 |
- |
17793 |
- ac_header_preproc=no |
17794 |
-fi |
17795 |
- |
17796 |
-rm -f conftest.err conftest.$ac_ext |
17797 |
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
17798 |
-echo "${ECHO_T}$ac_header_preproc" >&6; } |
17799 |
- |
17800 |
-# So? What about this header? |
17801 |
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
17802 |
- yes:no: ) |
17803 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
17804 |
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
17805 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
17806 |
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
17807 |
- ac_header_preproc=yes |
17808 |
- ;; |
17809 |
- no:yes:* ) |
17810 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
17811 |
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
17812 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
17813 |
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
17814 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
17815 |
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
17816 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
17817 |
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
17818 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
17819 |
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
17820 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
17821 |
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
17822 |
- |
17823 |
- ;; |
17824 |
-esac |
17825 |
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
17826 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
17827 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
17828 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
17829 |
-else |
17830 |
- eval "$as_ac_Header=\$ac_header_preproc" |
17831 |
-fi |
17832 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
17833 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
17834 |
-echo "${ECHO_T}$ac_res" >&6; } |
17835 |
- |
17836 |
-fi |
17837 |
-if test `eval echo '${'$as_ac_Header'}'` = yes; then |
17838 |
+ for ac_header in linux/kd.h |
17839 |
+do : |
17840 |
+ ac_fn_c_check_header_mongrel "$LINENO" "linux/kd.h" "ac_cv_header_linux_kd_h" "$ac_includes_default" |
17841 |
+if test "x$ac_cv_header_linux_kd_h" = xyes; then : |
17842 |
cat >>confdefs.h <<_ACEOF |
17843 |
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
17844 |
+#define HAVE_LINUX_KD_H 1 |
17845 |
_ACEOF |
17846 |
|
17847 |
fi |
17848 |
|
17849 |
done |
17850 |
|
17851 |
- |
17852 |
-for ac_header in linux/vt.h |
17853 |
-do |
17854 |
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
17855 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
17856 |
- { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
17857 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
17858 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
17859 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
17860 |
-fi |
17861 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
17862 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
17863 |
-echo "${ECHO_T}$ac_res" >&6; } |
17864 |
-else |
17865 |
- # Is the header compilable? |
17866 |
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
17867 |
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
17868 |
-cat >conftest.$ac_ext <<_ACEOF |
17869 |
-/* confdefs.h. */ |
17870 |
-_ACEOF |
17871 |
-cat confdefs.h >>conftest.$ac_ext |
17872 |
-cat >>conftest.$ac_ext <<_ACEOF |
17873 |
-/* end confdefs.h. */ |
17874 |
-$ac_includes_default |
17875 |
-#include <$ac_header> |
17876 |
-_ACEOF |
17877 |
-rm -f conftest.$ac_objext |
17878 |
-if { (ac_try="$ac_compile" |
17879 |
-case "(($ac_try" in |
17880 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
17881 |
- *) ac_try_echo=$ac_try;; |
17882 |
-esac |
17883 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
17884 |
- (eval "$ac_compile") 2>conftest.er1 |
17885 |
- ac_status=$? |
17886 |
- grep -v '^ *+' conftest.er1 >conftest.err |
17887 |
- rm -f conftest.er1 |
17888 |
- cat conftest.err >&5 |
17889 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17890 |
- (exit $ac_status); } && { |
17891 |
- test -z "$ac_c_werror_flag" || |
17892 |
- test ! -s conftest.err |
17893 |
- } && test -s conftest.$ac_objext; then |
17894 |
- ac_header_compiler=yes |
17895 |
-else |
17896 |
- echo "$as_me: failed program was:" >&5 |
17897 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
17898 |
- |
17899 |
- ac_header_compiler=no |
17900 |
-fi |
17901 |
- |
17902 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
17903 |
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
17904 |
-echo "${ECHO_T}$ac_header_compiler" >&6; } |
17905 |
- |
17906 |
-# Is the header present? |
17907 |
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
17908 |
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
17909 |
-cat >conftest.$ac_ext <<_ACEOF |
17910 |
-/* confdefs.h. */ |
17911 |
-_ACEOF |
17912 |
-cat confdefs.h >>conftest.$ac_ext |
17913 |
-cat >>conftest.$ac_ext <<_ACEOF |
17914 |
-/* end confdefs.h. */ |
17915 |
-#include <$ac_header> |
17916 |
-_ACEOF |
17917 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
17918 |
-case "(($ac_try" in |
17919 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
17920 |
- *) ac_try_echo=$ac_try;; |
17921 |
-esac |
17922 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
17923 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
17924 |
- ac_status=$? |
17925 |
- grep -v '^ *+' conftest.er1 >conftest.err |
17926 |
- rm -f conftest.er1 |
17927 |
- cat conftest.err >&5 |
17928 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17929 |
- (exit $ac_status); } >/dev/null && { |
17930 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
17931 |
- test ! -s conftest.err |
17932 |
- }; then |
17933 |
- ac_header_preproc=yes |
17934 |
-else |
17935 |
- echo "$as_me: failed program was:" >&5 |
17936 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
17937 |
- |
17938 |
- ac_header_preproc=no |
17939 |
-fi |
17940 |
- |
17941 |
-rm -f conftest.err conftest.$ac_ext |
17942 |
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
17943 |
-echo "${ECHO_T}$ac_header_preproc" >&6; } |
17944 |
- |
17945 |
-# So? What about this header? |
17946 |
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
17947 |
- yes:no: ) |
17948 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
17949 |
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
17950 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
17951 |
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
17952 |
- ac_header_preproc=yes |
17953 |
- ;; |
17954 |
- no:yes:* ) |
17955 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
17956 |
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
17957 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
17958 |
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
17959 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
17960 |
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
17961 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
17962 |
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
17963 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
17964 |
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
17965 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
17966 |
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
17967 |
- |
17968 |
- ;; |
17969 |
-esac |
17970 |
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
17971 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
17972 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
17973 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
17974 |
-else |
17975 |
- eval "$as_ac_Header=\$ac_header_preproc" |
17976 |
-fi |
17977 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
17978 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
17979 |
-echo "${ECHO_T}$ac_res" >&6; } |
17980 |
- |
17981 |
-fi |
17982 |
-if test `eval echo '${'$as_ac_Header'}'` = yes; then |
17983 |
+ for ac_header in linux/vt.h |
17984 |
+do : |
17985 |
+ ac_fn_c_check_header_mongrel "$LINENO" "linux/vt.h" "ac_cv_header_linux_vt_h" "$ac_includes_default" |
17986 |
+if test "x$ac_cv_header_linux_vt_h" = xyes; then : |
17987 |
cat >>confdefs.h <<_ACEOF |
17988 |
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
17989 |
+#define HAVE_LINUX_VT_H 1 |
17990 |
_ACEOF |
17991 |
|
17992 |
fi |
17993 |
|
17994 |
done |
17995 |
|
17996 |
- |
17997 |
-for ac_header in linux/joystick.h |
17998 |
-do |
17999 |
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
18000 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
18001 |
- { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
18002 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
18003 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
18004 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
18005 |
-fi |
18006 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
18007 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
18008 |
-echo "${ECHO_T}$ac_res" >&6; } |
18009 |
-else |
18010 |
- # Is the header compilable? |
18011 |
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
18012 |
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
18013 |
-cat >conftest.$ac_ext <<_ACEOF |
18014 |
-/* confdefs.h. */ |
18015 |
-_ACEOF |
18016 |
-cat confdefs.h >>conftest.$ac_ext |
18017 |
-cat >>conftest.$ac_ext <<_ACEOF |
18018 |
-/* end confdefs.h. */ |
18019 |
-$ac_includes_default |
18020 |
-#include <$ac_header> |
18021 |
-_ACEOF |
18022 |
-rm -f conftest.$ac_objext |
18023 |
-if { (ac_try="$ac_compile" |
18024 |
-case "(($ac_try" in |
18025 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
18026 |
- *) ac_try_echo=$ac_try;; |
18027 |
-esac |
18028 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
18029 |
- (eval "$ac_compile") 2>conftest.er1 |
18030 |
- ac_status=$? |
18031 |
- grep -v '^ *+' conftest.er1 >conftest.err |
18032 |
- rm -f conftest.er1 |
18033 |
- cat conftest.err >&5 |
18034 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18035 |
- (exit $ac_status); } && { |
18036 |
- test -z "$ac_c_werror_flag" || |
18037 |
- test ! -s conftest.err |
18038 |
- } && test -s conftest.$ac_objext; then |
18039 |
- ac_header_compiler=yes |
18040 |
-else |
18041 |
- echo "$as_me: failed program was:" >&5 |
18042 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
18043 |
- |
18044 |
- ac_header_compiler=no |
18045 |
-fi |
18046 |
- |
18047 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
18048 |
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
18049 |
-echo "${ECHO_T}$ac_header_compiler" >&6; } |
18050 |
- |
18051 |
-# Is the header present? |
18052 |
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
18053 |
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
18054 |
-cat >conftest.$ac_ext <<_ACEOF |
18055 |
-/* confdefs.h. */ |
18056 |
-_ACEOF |
18057 |
-cat confdefs.h >>conftest.$ac_ext |
18058 |
-cat >>conftest.$ac_ext <<_ACEOF |
18059 |
-/* end confdefs.h. */ |
18060 |
-#include <$ac_header> |
18061 |
-_ACEOF |
18062 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
18063 |
-case "(($ac_try" in |
18064 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
18065 |
- *) ac_try_echo=$ac_try;; |
18066 |
-esac |
18067 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
18068 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
18069 |
- ac_status=$? |
18070 |
- grep -v '^ *+' conftest.er1 >conftest.err |
18071 |
- rm -f conftest.er1 |
18072 |
- cat conftest.err >&5 |
18073 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18074 |
- (exit $ac_status); } >/dev/null && { |
18075 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
18076 |
- test ! -s conftest.err |
18077 |
- }; then |
18078 |
- ac_header_preproc=yes |
18079 |
-else |
18080 |
- echo "$as_me: failed program was:" >&5 |
18081 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
18082 |
- |
18083 |
- ac_header_preproc=no |
18084 |
-fi |
18085 |
- |
18086 |
-rm -f conftest.err conftest.$ac_ext |
18087 |
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
18088 |
-echo "${ECHO_T}$ac_header_preproc" >&6; } |
18089 |
- |
18090 |
-# So? What about this header? |
18091 |
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
18092 |
- yes:no: ) |
18093 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
18094 |
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
18095 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
18096 |
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
18097 |
- ac_header_preproc=yes |
18098 |
- ;; |
18099 |
- no:yes:* ) |
18100 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
18101 |
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
18102 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
18103 |
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
18104 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
18105 |
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
18106 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
18107 |
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
18108 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
18109 |
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
18110 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
18111 |
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
18112 |
- |
18113 |
- ;; |
18114 |
-esac |
18115 |
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
18116 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
18117 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
18118 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
18119 |
-else |
18120 |
- eval "$as_ac_Header=\$ac_header_preproc" |
18121 |
-fi |
18122 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
18123 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
18124 |
-echo "${ECHO_T}$ac_res" >&6; } |
18125 |
- |
18126 |
-fi |
18127 |
-if test `eval echo '${'$as_ac_Header'}'` = yes; then |
18128 |
+ for ac_header in linux/joystick.h |
18129 |
+do : |
18130 |
+ ac_fn_c_check_header_mongrel "$LINENO" "linux/joystick.h" "ac_cv_header_linux_joystick_h" "$ac_includes_default" |
18131 |
+if test "x$ac_cv_header_linux_joystick_h" = xyes; then : |
18132 |
cat >>confdefs.h <<_ACEOF |
18133 |
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
18134 |
+#define HAVE_LINUX_JOYSTICK_H 1 |
18135 |
_ACEOF |
18136 |
|
18137 |
fi |
18138 |
|
18139 |
done |
18140 |
|
18141 |
- |
18142 |
-for ac_header in sys/mman.h |
18143 |
-do |
18144 |
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
18145 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
18146 |
- { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
18147 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
18148 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
18149 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
18150 |
-fi |
18151 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
18152 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
18153 |
-echo "${ECHO_T}$ac_res" >&6; } |
18154 |
-else |
18155 |
- # Is the header compilable? |
18156 |
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
18157 |
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
18158 |
-cat >conftest.$ac_ext <<_ACEOF |
18159 |
-/* confdefs.h. */ |
18160 |
-_ACEOF |
18161 |
-cat confdefs.h >>conftest.$ac_ext |
18162 |
-cat >>conftest.$ac_ext <<_ACEOF |
18163 |
-/* end confdefs.h. */ |
18164 |
-$ac_includes_default |
18165 |
-#include <$ac_header> |
18166 |
-_ACEOF |
18167 |
-rm -f conftest.$ac_objext |
18168 |
-if { (ac_try="$ac_compile" |
18169 |
-case "(($ac_try" in |
18170 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
18171 |
- *) ac_try_echo=$ac_try;; |
18172 |
-esac |
18173 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
18174 |
- (eval "$ac_compile") 2>conftest.er1 |
18175 |
- ac_status=$? |
18176 |
- grep -v '^ *+' conftest.er1 >conftest.err |
18177 |
- rm -f conftest.er1 |
18178 |
- cat conftest.err >&5 |
18179 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18180 |
- (exit $ac_status); } && { |
18181 |
- test -z "$ac_c_werror_flag" || |
18182 |
- test ! -s conftest.err |
18183 |
- } && test -s conftest.$ac_objext; then |
18184 |
- ac_header_compiler=yes |
18185 |
-else |
18186 |
- echo "$as_me: failed program was:" >&5 |
18187 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
18188 |
- |
18189 |
- ac_header_compiler=no |
18190 |
-fi |
18191 |
- |
18192 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
18193 |
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
18194 |
-echo "${ECHO_T}$ac_header_compiler" >&6; } |
18195 |
- |
18196 |
-# Is the header present? |
18197 |
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
18198 |
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
18199 |
-cat >conftest.$ac_ext <<_ACEOF |
18200 |
-/* confdefs.h. */ |
18201 |
-_ACEOF |
18202 |
-cat confdefs.h >>conftest.$ac_ext |
18203 |
-cat >>conftest.$ac_ext <<_ACEOF |
18204 |
-/* end confdefs.h. */ |
18205 |
-#include <$ac_header> |
18206 |
-_ACEOF |
18207 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
18208 |
-case "(($ac_try" in |
18209 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
18210 |
- *) ac_try_echo=$ac_try;; |
18211 |
-esac |
18212 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
18213 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
18214 |
- ac_status=$? |
18215 |
- grep -v '^ *+' conftest.er1 >conftest.err |
18216 |
- rm -f conftest.er1 |
18217 |
- cat conftest.err >&5 |
18218 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18219 |
- (exit $ac_status); } >/dev/null && { |
18220 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
18221 |
- test ! -s conftest.err |
18222 |
- }; then |
18223 |
- ac_header_preproc=yes |
18224 |
-else |
18225 |
- echo "$as_me: failed program was:" >&5 |
18226 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
18227 |
- |
18228 |
- ac_header_preproc=no |
18229 |
-fi |
18230 |
- |
18231 |
-rm -f conftest.err conftest.$ac_ext |
18232 |
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
18233 |
-echo "${ECHO_T}$ac_header_preproc" >&6; } |
18234 |
- |
18235 |
-# So? What about this header? |
18236 |
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
18237 |
- yes:no: ) |
18238 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
18239 |
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
18240 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
18241 |
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
18242 |
- ac_header_preproc=yes |
18243 |
- ;; |
18244 |
- no:yes:* ) |
18245 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
18246 |
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
18247 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
18248 |
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
18249 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
18250 |
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
18251 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
18252 |
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
18253 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
18254 |
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
18255 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
18256 |
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
18257 |
- |
18258 |
- ;; |
18259 |
-esac |
18260 |
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
18261 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
18262 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
18263 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
18264 |
-else |
18265 |
- eval "$as_ac_Header=\$ac_header_preproc" |
18266 |
-fi |
18267 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
18268 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
18269 |
-echo "${ECHO_T}$ac_res" >&6; } |
18270 |
- |
18271 |
-fi |
18272 |
-if test `eval echo '${'$as_ac_Header'}'` = yes; then |
18273 |
+ for ac_header in sys/mman.h |
18274 |
+do : |
18275 |
+ ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default" |
18276 |
+if test "x$ac_cv_header_sys_mman_h" = xyes; then : |
18277 |
cat >>confdefs.h <<_ACEOF |
18278 |
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
18279 |
+#define HAVE_SYS_MMAN_H 1 |
18280 |
_ACEOF |
18281 |
|
18282 |
fi |
18283 |
@@ -16478,569 +7960,55 @@ fi |
18284 |
done |
18285 |
|
18286 |
if test "$ac_cv_header_linux_fb_h" = yes && test "$ac_cv_header_linux_kd_h" = yes && test "$ac_cv_header_linux_vt_h" = yes && test "$ac_cv_header_sys_mman_h" = yes && test "$ac_cv_header_linux_joystick_h" = yes && test "$ac_cv_header_sys_ioctl_h" = yes; then |
18287 |
- cat >>confdefs.h <<\_ACEOF |
18288 |
-#define GRDRV_DREAMCAST 1 |
18289 |
-_ACEOF |
18290 |
+ $as_echo "#define GRDRV_DREAMCAST 1" >>confdefs.h |
18291 |
|
18292 |
drivers="$drivers DREAMCAST" |
18293 |
fi |
18294 |
fi |
18295 |
|
18296 |
if test "$disable_fb" != yes ; then |
18297 |
- |
18298 |
-for ac_header in linux/fb.h |
18299 |
-do |
18300 |
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
18301 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
18302 |
- { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
18303 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
18304 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
18305 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
18306 |
-fi |
18307 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
18308 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
18309 |
-echo "${ECHO_T}$ac_res" >&6; } |
18310 |
-else |
18311 |
- # Is the header compilable? |
18312 |
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
18313 |
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
18314 |
-cat >conftest.$ac_ext <<_ACEOF |
18315 |
-/* confdefs.h. */ |
18316 |
-_ACEOF |
18317 |
-cat confdefs.h >>conftest.$ac_ext |
18318 |
-cat >>conftest.$ac_ext <<_ACEOF |
18319 |
-/* end confdefs.h. */ |
18320 |
-$ac_includes_default |
18321 |
-#include <$ac_header> |
18322 |
-_ACEOF |
18323 |
-rm -f conftest.$ac_objext |
18324 |
-if { (ac_try="$ac_compile" |
18325 |
-case "(($ac_try" in |
18326 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
18327 |
- *) ac_try_echo=$ac_try;; |
18328 |
-esac |
18329 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
18330 |
- (eval "$ac_compile") 2>conftest.er1 |
18331 |
- ac_status=$? |
18332 |
- grep -v '^ *+' conftest.er1 >conftest.err |
18333 |
- rm -f conftest.er1 |
18334 |
- cat conftest.err >&5 |
18335 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18336 |
- (exit $ac_status); } && { |
18337 |
- test -z "$ac_c_werror_flag" || |
18338 |
- test ! -s conftest.err |
18339 |
- } && test -s conftest.$ac_objext; then |
18340 |
- ac_header_compiler=yes |
18341 |
-else |
18342 |
- echo "$as_me: failed program was:" >&5 |
18343 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
18344 |
- |
18345 |
- ac_header_compiler=no |
18346 |
-fi |
18347 |
- |
18348 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
18349 |
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
18350 |
-echo "${ECHO_T}$ac_header_compiler" >&6; } |
18351 |
- |
18352 |
-# Is the header present? |
18353 |
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
18354 |
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
18355 |
-cat >conftest.$ac_ext <<_ACEOF |
18356 |
-/* confdefs.h. */ |
18357 |
-_ACEOF |
18358 |
-cat confdefs.h >>conftest.$ac_ext |
18359 |
-cat >>conftest.$ac_ext <<_ACEOF |
18360 |
-/* end confdefs.h. */ |
18361 |
-#include <$ac_header> |
18362 |
-_ACEOF |
18363 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
18364 |
-case "(($ac_try" in |
18365 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
18366 |
- *) ac_try_echo=$ac_try;; |
18367 |
-esac |
18368 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
18369 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
18370 |
- ac_status=$? |
18371 |
- grep -v '^ *+' conftest.er1 >conftest.err |
18372 |
- rm -f conftest.er1 |
18373 |
- cat conftest.err >&5 |
18374 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18375 |
- (exit $ac_status); } >/dev/null && { |
18376 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
18377 |
- test ! -s conftest.err |
18378 |
- }; then |
18379 |
- ac_header_preproc=yes |
18380 |
-else |
18381 |
- echo "$as_me: failed program was:" >&5 |
18382 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
18383 |
- |
18384 |
- ac_header_preproc=no |
18385 |
-fi |
18386 |
- |
18387 |
-rm -f conftest.err conftest.$ac_ext |
18388 |
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
18389 |
-echo "${ECHO_T}$ac_header_preproc" >&6; } |
18390 |
- |
18391 |
-# So? What about this header? |
18392 |
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
18393 |
- yes:no: ) |
18394 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
18395 |
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
18396 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
18397 |
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
18398 |
- ac_header_preproc=yes |
18399 |
- ;; |
18400 |
- no:yes:* ) |
18401 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
18402 |
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
18403 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
18404 |
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
18405 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
18406 |
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
18407 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
18408 |
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
18409 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
18410 |
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
18411 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
18412 |
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
18413 |
- |
18414 |
- ;; |
18415 |
-esac |
18416 |
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
18417 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
18418 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
18419 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
18420 |
-else |
18421 |
- eval "$as_ac_Header=\$ac_header_preproc" |
18422 |
-fi |
18423 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
18424 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
18425 |
-echo "${ECHO_T}$ac_res" >&6; } |
18426 |
- |
18427 |
-fi |
18428 |
-if test `eval echo '${'$as_ac_Header'}'` = yes; then |
18429 |
+ for ac_header in linux/fb.h |
18430 |
+do : |
18431 |
+ ac_fn_c_check_header_mongrel "$LINENO" "linux/fb.h" "ac_cv_header_linux_fb_h" "$ac_includes_default" |
18432 |
+if test "x$ac_cv_header_linux_fb_h" = xyes; then : |
18433 |
cat >>confdefs.h <<_ACEOF |
18434 |
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
18435 |
+#define HAVE_LINUX_FB_H 1 |
18436 |
_ACEOF |
18437 |
|
18438 |
fi |
18439 |
|
18440 |
done |
18441 |
|
18442 |
- |
18443 |
-for ac_header in linux/kd.h |
18444 |
-do |
18445 |
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
18446 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
18447 |
- { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
18448 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
18449 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
18450 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
18451 |
-fi |
18452 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
18453 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
18454 |
-echo "${ECHO_T}$ac_res" >&6; } |
18455 |
-else |
18456 |
- # Is the header compilable? |
18457 |
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
18458 |
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
18459 |
-cat >conftest.$ac_ext <<_ACEOF |
18460 |
-/* confdefs.h. */ |
18461 |
-_ACEOF |
18462 |
-cat confdefs.h >>conftest.$ac_ext |
18463 |
-cat >>conftest.$ac_ext <<_ACEOF |
18464 |
-/* end confdefs.h. */ |
18465 |
-$ac_includes_default |
18466 |
-#include <$ac_header> |
18467 |
-_ACEOF |
18468 |
-rm -f conftest.$ac_objext |
18469 |
-if { (ac_try="$ac_compile" |
18470 |
-case "(($ac_try" in |
18471 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
18472 |
- *) ac_try_echo=$ac_try;; |
18473 |
-esac |
18474 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
18475 |
- (eval "$ac_compile") 2>conftest.er1 |
18476 |
- ac_status=$? |
18477 |
- grep -v '^ *+' conftest.er1 >conftest.err |
18478 |
- rm -f conftest.er1 |
18479 |
- cat conftest.err >&5 |
18480 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18481 |
- (exit $ac_status); } && { |
18482 |
- test -z "$ac_c_werror_flag" || |
18483 |
- test ! -s conftest.err |
18484 |
- } && test -s conftest.$ac_objext; then |
18485 |
- ac_header_compiler=yes |
18486 |
-else |
18487 |
- echo "$as_me: failed program was:" >&5 |
18488 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
18489 |
- |
18490 |
- ac_header_compiler=no |
18491 |
-fi |
18492 |
- |
18493 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
18494 |
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
18495 |
-echo "${ECHO_T}$ac_header_compiler" >&6; } |
18496 |
- |
18497 |
-# Is the header present? |
18498 |
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
18499 |
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
18500 |
-cat >conftest.$ac_ext <<_ACEOF |
18501 |
-/* confdefs.h. */ |
18502 |
-_ACEOF |
18503 |
-cat confdefs.h >>conftest.$ac_ext |
18504 |
-cat >>conftest.$ac_ext <<_ACEOF |
18505 |
-/* end confdefs.h. */ |
18506 |
-#include <$ac_header> |
18507 |
-_ACEOF |
18508 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
18509 |
-case "(($ac_try" in |
18510 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
18511 |
- *) ac_try_echo=$ac_try;; |
18512 |
-esac |
18513 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
18514 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
18515 |
- ac_status=$? |
18516 |
- grep -v '^ *+' conftest.er1 >conftest.err |
18517 |
- rm -f conftest.er1 |
18518 |
- cat conftest.err >&5 |
18519 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18520 |
- (exit $ac_status); } >/dev/null && { |
18521 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
18522 |
- test ! -s conftest.err |
18523 |
- }; then |
18524 |
- ac_header_preproc=yes |
18525 |
-else |
18526 |
- echo "$as_me: failed program was:" >&5 |
18527 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
18528 |
- |
18529 |
- ac_header_preproc=no |
18530 |
-fi |
18531 |
- |
18532 |
-rm -f conftest.err conftest.$ac_ext |
18533 |
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
18534 |
-echo "${ECHO_T}$ac_header_preproc" >&6; } |
18535 |
- |
18536 |
-# So? What about this header? |
18537 |
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
18538 |
- yes:no: ) |
18539 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
18540 |
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
18541 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
18542 |
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
18543 |
- ac_header_preproc=yes |
18544 |
- ;; |
18545 |
- no:yes:* ) |
18546 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
18547 |
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
18548 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
18549 |
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
18550 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
18551 |
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
18552 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
18553 |
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
18554 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
18555 |
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
18556 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
18557 |
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
18558 |
- |
18559 |
- ;; |
18560 |
-esac |
18561 |
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
18562 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
18563 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
18564 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
18565 |
-else |
18566 |
- eval "$as_ac_Header=\$ac_header_preproc" |
18567 |
-fi |
18568 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
18569 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
18570 |
-echo "${ECHO_T}$ac_res" >&6; } |
18571 |
- |
18572 |
-fi |
18573 |
-if test `eval echo '${'$as_ac_Header'}'` = yes; then |
18574 |
+ for ac_header in linux/kd.h |
18575 |
+do : |
18576 |
+ ac_fn_c_check_header_mongrel "$LINENO" "linux/kd.h" "ac_cv_header_linux_kd_h" "$ac_includes_default" |
18577 |
+if test "x$ac_cv_header_linux_kd_h" = xyes; then : |
18578 |
cat >>confdefs.h <<_ACEOF |
18579 |
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
18580 |
+#define HAVE_LINUX_KD_H 1 |
18581 |
_ACEOF |
18582 |
|
18583 |
fi |
18584 |
|
18585 |
done |
18586 |
|
18587 |
- |
18588 |
-for ac_header in linux/vt.h |
18589 |
-do |
18590 |
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
18591 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
18592 |
- { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
18593 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
18594 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
18595 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
18596 |
-fi |
18597 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
18598 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
18599 |
-echo "${ECHO_T}$ac_res" >&6; } |
18600 |
-else |
18601 |
- # Is the header compilable? |
18602 |
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
18603 |
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
18604 |
-cat >conftest.$ac_ext <<_ACEOF |
18605 |
-/* confdefs.h. */ |
18606 |
-_ACEOF |
18607 |
-cat confdefs.h >>conftest.$ac_ext |
18608 |
-cat >>conftest.$ac_ext <<_ACEOF |
18609 |
-/* end confdefs.h. */ |
18610 |
-$ac_includes_default |
18611 |
-#include <$ac_header> |
18612 |
-_ACEOF |
18613 |
-rm -f conftest.$ac_objext |
18614 |
-if { (ac_try="$ac_compile" |
18615 |
-case "(($ac_try" in |
18616 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
18617 |
- *) ac_try_echo=$ac_try;; |
18618 |
-esac |
18619 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
18620 |
- (eval "$ac_compile") 2>conftest.er1 |
18621 |
- ac_status=$? |
18622 |
- grep -v '^ *+' conftest.er1 >conftest.err |
18623 |
- rm -f conftest.er1 |
18624 |
- cat conftest.err >&5 |
18625 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18626 |
- (exit $ac_status); } && { |
18627 |
- test -z "$ac_c_werror_flag" || |
18628 |
- test ! -s conftest.err |
18629 |
- } && test -s conftest.$ac_objext; then |
18630 |
- ac_header_compiler=yes |
18631 |
-else |
18632 |
- echo "$as_me: failed program was:" >&5 |
18633 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
18634 |
- |
18635 |
- ac_header_compiler=no |
18636 |
-fi |
18637 |
- |
18638 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
18639 |
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
18640 |
-echo "${ECHO_T}$ac_header_compiler" >&6; } |
18641 |
- |
18642 |
-# Is the header present? |
18643 |
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
18644 |
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
18645 |
-cat >conftest.$ac_ext <<_ACEOF |
18646 |
-/* confdefs.h. */ |
18647 |
-_ACEOF |
18648 |
-cat confdefs.h >>conftest.$ac_ext |
18649 |
-cat >>conftest.$ac_ext <<_ACEOF |
18650 |
-/* end confdefs.h. */ |
18651 |
-#include <$ac_header> |
18652 |
-_ACEOF |
18653 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
18654 |
-case "(($ac_try" in |
18655 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
18656 |
- *) ac_try_echo=$ac_try;; |
18657 |
-esac |
18658 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
18659 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
18660 |
- ac_status=$? |
18661 |
- grep -v '^ *+' conftest.er1 >conftest.err |
18662 |
- rm -f conftest.er1 |
18663 |
- cat conftest.err >&5 |
18664 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18665 |
- (exit $ac_status); } >/dev/null && { |
18666 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
18667 |
- test ! -s conftest.err |
18668 |
- }; then |
18669 |
- ac_header_preproc=yes |
18670 |
-else |
18671 |
- echo "$as_me: failed program was:" >&5 |
18672 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
18673 |
- |
18674 |
- ac_header_preproc=no |
18675 |
-fi |
18676 |
- |
18677 |
-rm -f conftest.err conftest.$ac_ext |
18678 |
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
18679 |
-echo "${ECHO_T}$ac_header_preproc" >&6; } |
18680 |
- |
18681 |
-# So? What about this header? |
18682 |
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
18683 |
- yes:no: ) |
18684 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
18685 |
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
18686 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
18687 |
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
18688 |
- ac_header_preproc=yes |
18689 |
- ;; |
18690 |
- no:yes:* ) |
18691 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
18692 |
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
18693 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
18694 |
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
18695 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
18696 |
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
18697 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
18698 |
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
18699 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
18700 |
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
18701 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
18702 |
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
18703 |
- |
18704 |
- ;; |
18705 |
-esac |
18706 |
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
18707 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
18708 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
18709 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
18710 |
-else |
18711 |
- eval "$as_ac_Header=\$ac_header_preproc" |
18712 |
-fi |
18713 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
18714 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
18715 |
-echo "${ECHO_T}$ac_res" >&6; } |
18716 |
- |
18717 |
-fi |
18718 |
-if test `eval echo '${'$as_ac_Header'}'` = yes; then |
18719 |
+ for ac_header in linux/vt.h |
18720 |
+do : |
18721 |
+ ac_fn_c_check_header_mongrel "$LINENO" "linux/vt.h" "ac_cv_header_linux_vt_h" "$ac_includes_default" |
18722 |
+if test "x$ac_cv_header_linux_vt_h" = xyes; then : |
18723 |
cat >>confdefs.h <<_ACEOF |
18724 |
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
18725 |
+#define HAVE_LINUX_VT_H 1 |
18726 |
_ACEOF |
18727 |
|
18728 |
fi |
18729 |
|
18730 |
done |
18731 |
|
18732 |
- |
18733 |
-for ac_header in sys/mman.h |
18734 |
-do |
18735 |
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
18736 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
18737 |
- { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
18738 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
18739 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
18740 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
18741 |
-fi |
18742 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
18743 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
18744 |
-echo "${ECHO_T}$ac_res" >&6; } |
18745 |
-else |
18746 |
- # Is the header compilable? |
18747 |
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
18748 |
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
18749 |
-cat >conftest.$ac_ext <<_ACEOF |
18750 |
-/* confdefs.h. */ |
18751 |
-_ACEOF |
18752 |
-cat confdefs.h >>conftest.$ac_ext |
18753 |
-cat >>conftest.$ac_ext <<_ACEOF |
18754 |
-/* end confdefs.h. */ |
18755 |
-$ac_includes_default |
18756 |
-#include <$ac_header> |
18757 |
-_ACEOF |
18758 |
-rm -f conftest.$ac_objext |
18759 |
-if { (ac_try="$ac_compile" |
18760 |
-case "(($ac_try" in |
18761 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
18762 |
- *) ac_try_echo=$ac_try;; |
18763 |
-esac |
18764 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
18765 |
- (eval "$ac_compile") 2>conftest.er1 |
18766 |
- ac_status=$? |
18767 |
- grep -v '^ *+' conftest.er1 >conftest.err |
18768 |
- rm -f conftest.er1 |
18769 |
- cat conftest.err >&5 |
18770 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18771 |
- (exit $ac_status); } && { |
18772 |
- test -z "$ac_c_werror_flag" || |
18773 |
- test ! -s conftest.err |
18774 |
- } && test -s conftest.$ac_objext; then |
18775 |
- ac_header_compiler=yes |
18776 |
-else |
18777 |
- echo "$as_me: failed program was:" >&5 |
18778 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
18779 |
- |
18780 |
- ac_header_compiler=no |
18781 |
-fi |
18782 |
- |
18783 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
18784 |
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
18785 |
-echo "${ECHO_T}$ac_header_compiler" >&6; } |
18786 |
- |
18787 |
-# Is the header present? |
18788 |
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
18789 |
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
18790 |
-cat >conftest.$ac_ext <<_ACEOF |
18791 |
-/* confdefs.h. */ |
18792 |
-_ACEOF |
18793 |
-cat confdefs.h >>conftest.$ac_ext |
18794 |
-cat >>conftest.$ac_ext <<_ACEOF |
18795 |
-/* end confdefs.h. */ |
18796 |
-#include <$ac_header> |
18797 |
-_ACEOF |
18798 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
18799 |
-case "(($ac_try" in |
18800 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
18801 |
- *) ac_try_echo=$ac_try;; |
18802 |
-esac |
18803 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
18804 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
18805 |
- ac_status=$? |
18806 |
- grep -v '^ *+' conftest.er1 >conftest.err |
18807 |
- rm -f conftest.er1 |
18808 |
- cat conftest.err >&5 |
18809 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18810 |
- (exit $ac_status); } >/dev/null && { |
18811 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
18812 |
- test ! -s conftest.err |
18813 |
- }; then |
18814 |
- ac_header_preproc=yes |
18815 |
-else |
18816 |
- echo "$as_me: failed program was:" >&5 |
18817 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
18818 |
- |
18819 |
- ac_header_preproc=no |
18820 |
-fi |
18821 |
- |
18822 |
-rm -f conftest.err conftest.$ac_ext |
18823 |
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
18824 |
-echo "${ECHO_T}$ac_header_preproc" >&6; } |
18825 |
- |
18826 |
-# So? What about this header? |
18827 |
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
18828 |
- yes:no: ) |
18829 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
18830 |
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
18831 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
18832 |
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
18833 |
- ac_header_preproc=yes |
18834 |
- ;; |
18835 |
- no:yes:* ) |
18836 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
18837 |
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
18838 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
18839 |
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
18840 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
18841 |
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
18842 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
18843 |
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
18844 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
18845 |
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
18846 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
18847 |
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
18848 |
- |
18849 |
- ;; |
18850 |
-esac |
18851 |
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
18852 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
18853 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
18854 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
18855 |
-else |
18856 |
- eval "$as_ac_Header=\$ac_header_preproc" |
18857 |
-fi |
18858 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
18859 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
18860 |
-echo "${ECHO_T}$ac_res" >&6; } |
18861 |
- |
18862 |
-fi |
18863 |
-if test `eval echo '${'$as_ac_Header'}'` = yes; then |
18864 |
+ for ac_header in sys/mman.h |
18865 |
+do : |
18866 |
+ ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default" |
18867 |
+if test "x$ac_cv_header_sys_mman_h" = xyes; then : |
18868 |
cat >>confdefs.h <<_ACEOF |
18869 |
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
18870 |
+#define HAVE_SYS_MMAN_H 1 |
18871 |
_ACEOF |
18872 |
|
18873 |
fi |
18874 |
@@ -17048,9 +8016,7 @@ fi |
18875 |
done |
18876 |
|
18877 |
if test "$ac_cv_header_linux_fb_h" = yes && test "$ac_cv_header_linux_kd_h" = yes && test "$ac_cv_header_linux_vt_h" = yes && test "$ac_cv_header_sys_mman_h" = yes && test "$ac_cv_header_sys_ioctl_h" = yes && test "$cf_have_gpm" = yes; then |
18878 |
- cat >>confdefs.h <<\_ACEOF |
18879 |
-#define GRDRV_FB 1 |
18880 |
-_ACEOF |
18881 |
+ $as_echo "#define GRDRV_FB 1" >>confdefs.h |
18882 |
|
18883 |
drivers="$drivers FB" |
18884 |
fi |
18885 |
@@ -17059,10 +8025,10 @@ fi |
18886 |
if test "$disable_directfb" != yes ; then |
18887 |
# Extract the first word of "directfb-config", so it can be a program name with args. |
18888 |
set dummy directfb-config; ac_word=$2 |
18889 |
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
18890 |
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
18891 |
-if test "${ac_cv_path_DIRECTFB_CONFIG+set}" = set; then |
18892 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
18893 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
18894 |
+$as_echo_n "checking for $ac_word... " >&6; } |
18895 |
+if ${ac_cv_path_DIRECTFB_CONFIG+:} false; then : |
18896 |
+ $as_echo_n "(cached) " >&6 |
18897 |
else |
18898 |
case $DIRECTFB_CONFIG in |
18899 |
[\\/]* | ?:[\\/]*) |
18900 |
@@ -17074,14 +8040,14 @@ for as_dir in $PATH |
18901 |
do |
18902 |
IFS=$as_save_IFS |
18903 |
test -z "$as_dir" && as_dir=. |
18904 |
- for ac_exec_ext in '' $ac_executable_extensions; do |
18905 |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
18906 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
18907 |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
18908 |
ac_cv_path_DIRECTFB_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
18909 |
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
18910 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
18911 |
break 2 |
18912 |
fi |
18913 |
done |
18914 |
-done |
18915 |
+ done |
18916 |
IFS=$as_save_IFS |
18917 |
|
18918 |
test -z "$ac_cv_path_DIRECTFB_CONFIG" && ac_cv_path_DIRECTFB_CONFIG="no" |
18919 |
@@ -17090,44 +8056,42 @@ esac |
18920 |
fi |
18921 |
DIRECTFB_CONFIG=$ac_cv_path_DIRECTFB_CONFIG |
18922 |
if test -n "$DIRECTFB_CONFIG"; then |
18923 |
- { echo "$as_me:$LINENO: result: $DIRECTFB_CONFIG" >&5 |
18924 |
-echo "${ECHO_T}$DIRECTFB_CONFIG" >&6; } |
18925 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DIRECTFB_CONFIG" >&5 |
18926 |
+$as_echo "$DIRECTFB_CONFIG" >&6; } |
18927 |
else |
18928 |
- { echo "$as_me:$LINENO: result: no" >&5 |
18929 |
-echo "${ECHO_T}no" >&6; } |
18930 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
18931 |
+$as_echo "no" >&6; } |
18932 |
fi |
18933 |
|
18934 |
|
18935 |
if test "$DIRECTFB_CONFIG" != "no"; then |
18936 |
- { echo "$as_me:$LINENO: checking for DirectFB >= 0.9.11" >&5 |
18937 |
-echo $ECHO_N "checking for DirectFB >= 0.9.11... $ECHO_C" >&6; } |
18938 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DirectFB >= 0.9.11" >&5 |
18939 |
+$as_echo_n "checking for DirectFB >= 0.9.11... " >&6; } |
18940 |
directfb_version=`$DIRECTFB_CONFIG --version` |
18941 |
if expr $directfb_version \>= 0.9.11 >/dev/null; then |
18942 |
- { echo "$as_me:$LINENO: result: yes" >&5 |
18943 |
-echo "${ECHO_T}yes" >&6; } |
18944 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
18945 |
+$as_echo "yes" >&6; } |
18946 |
DIRECTFB_CFLAGS=`$DIRECTFB_CONFIG --cflags` |
18947 |
DIRECTFB_LIBS=`$DIRECTFB_CONFIG --libs` |
18948 |
- cat >>confdefs.h <<\_ACEOF |
18949 |
-#define GRDRV_DIRECTFB 1 |
18950 |
-_ACEOF |
18951 |
+ $as_echo "#define GRDRV_DIRECTFB 1" >>confdefs.h |
18952 |
|
18953 |
drivers="$drivers DIRECTFB" |
18954 |
CPPFLAGS="$CPPFLAGS $DIRECTFB_CFLAGS" |
18955 |
LIBS="$LIBS $DIRECTFB_LIBS" |
18956 |
else |
18957 |
- { echo "$as_me:$LINENO: result: no" >&5 |
18958 |
-echo "${ECHO_T}no" >&6; } |
18959 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
18960 |
+$as_echo "no" >&6; } |
18961 |
fi |
18962 |
fi |
18963 |
fi |
18964 |
|
18965 |
|
18966 |
- { echo "$as_me:$LINENO: checking for X" >&5 |
18967 |
-echo $ECHO_N "checking for X... $ECHO_C" >&6; } |
18968 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5 |
18969 |
+$as_echo_n "checking for X... " >&6; } |
18970 |
|
18971 |
|
18972 |
# Check whether --with-x was given. |
18973 |
-if test "${with_x+set}" = set; then |
18974 |
+if test "${with_x+set}" = set; then : |
18975 |
withval=$with_x; |
18976 |
fi |
18977 |
|
18978 |
@@ -17137,11 +8101,9 @@ if test "x$with_x" = xno; then |
18979 |
have_x=disabled |
18980 |
else |
18981 |
case $x_includes,$x_libraries in #( |
18982 |
- *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5 |
18983 |
-echo "$as_me: error: Cannot use X directory names containing '" >&2;} |
18984 |
- { (exit 1); exit 1; }; };; #( |
18985 |
- *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then |
18986 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
18987 |
+ *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( |
18988 |
+ *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then : |
18989 |
+ $as_echo_n "(cached) " >&6 |
18990 |
else |
18991 |
# One or both of the vars are not set, and there is no cached value. |
18992 |
ac_x_includes=no ac_x_libraries=no |
18993 |
@@ -17157,12 +8119,12 @@ libdir: |
18994 |
@echo libdir='${LIBDIR}' |
18995 |
_ACEOF |
18996 |
if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then |
18997 |
- # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
18998 |
+ # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
18999 |
for ac_var in incroot usrlibdir libdir; do |
19000 |
eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" |
19001 |
done |
19002 |
# Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. |
19003 |
- for ac_extension in a so sl; do |
19004 |
+ for ac_extension in a so sl dylib la dll; do |
19005 |
if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" && |
19006 |
test -f "$ac_im_libdir/libX11.$ac_extension"; then |
19007 |
ac_im_usrlibdir=$ac_im_libdir; break |
19008 |
@@ -17176,7 +8138,7 @@ _ACEOF |
19009 |
*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; |
19010 |
esac |
19011 |
case $ac_im_usrlibdir in |
19012 |
- /usr/lib | /lib) ;; |
19013 |
+ /usr/lib | /usr/lib64 | /lib | /lib64) ;; |
19014 |
*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; |
19015 |
esac |
19016 |
fi |
19017 |
@@ -17188,21 +8150,25 @@ fi |
19018 |
# Check X11 before X11Rn because it is often a symlink to the current release. |
19019 |
ac_x_header_dirs=' |
19020 |
/usr/X11/include |
19021 |
+/usr/X11R7/include |
19022 |
/usr/X11R6/include |
19023 |
/usr/X11R5/include |
19024 |
/usr/X11R4/include |
19025 |
|
19026 |
/usr/include/X11 |
19027 |
+/usr/include/X11R7 |
19028 |
/usr/include/X11R6 |
19029 |
/usr/include/X11R5 |
19030 |
/usr/include/X11R4 |
19031 |
|
19032 |
/usr/local/X11/include |
19033 |
+/usr/local/X11R7/include |
19034 |
/usr/local/X11R6/include |
19035 |
/usr/local/X11R5/include |
19036 |
/usr/local/X11R4/include |
19037 |
|
19038 |
/usr/local/include/X11 |
19039 |
+/usr/local/include/X11R7 |
19040 |
/usr/local/include/X11R6 |
19041 |
/usr/local/include/X11R5 |
19042 |
/usr/local/include/X11R4 |
19043 |
@@ -17224,36 +8190,14 @@ ac_x_header_dirs=' |
19044 |
if test "$ac_x_includes" = no; then |
19045 |
# Guess where to find include files, by looking for Xlib.h. |
19046 |
# First, try using that file with no special directory specified. |
19047 |
- cat >conftest.$ac_ext <<_ACEOF |
19048 |
-/* confdefs.h. */ |
19049 |
-_ACEOF |
19050 |
-cat confdefs.h >>conftest.$ac_ext |
19051 |
-cat >>conftest.$ac_ext <<_ACEOF |
19052 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
19053 |
/* end confdefs.h. */ |
19054 |
#include <X11/Xlib.h> |
19055 |
_ACEOF |
19056 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
19057 |
-case "(($ac_try" in |
19058 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
19059 |
- *) ac_try_echo=$ac_try;; |
19060 |
-esac |
19061 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
19062 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
19063 |
- ac_status=$? |
19064 |
- grep -v '^ *+' conftest.er1 >conftest.err |
19065 |
- rm -f conftest.er1 |
19066 |
- cat conftest.err >&5 |
19067 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19068 |
- (exit $ac_status); } >/dev/null && { |
19069 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
19070 |
- test ! -s conftest.err |
19071 |
- }; then |
19072 |
+if ac_fn_c_try_cpp "$LINENO"; then : |
19073 |
# We can compile using X headers with no special include directory. |
19074 |
ac_x_includes= |
19075 |
else |
19076 |
- echo "$as_me: failed program was:" >&5 |
19077 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
19078 |
- |
19079 |
for ac_dir in $ac_x_header_dirs; do |
19080 |
if test -r "$ac_dir/X11/Xlib.h"; then |
19081 |
ac_x_includes=$ac_dir |
19082 |
@@ -17261,8 +8205,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 |
19083 |
fi |
19084 |
done |
19085 |
fi |
19086 |
- |
19087 |
-rm -f conftest.err conftest.$ac_ext |
19088 |
+rm -f conftest.err conftest.i conftest.$ac_ext |
19089 |
fi # $ac_x_includes = no |
19090 |
|
19091 |
if test "$ac_x_libraries" = no; then |
19092 |
@@ -17271,11 +8214,7 @@ if test "$ac_x_libraries" = no; then |
19093 |
# Don't add to $LIBS permanently. |
19094 |
ac_save_LIBS=$LIBS |
19095 |
LIBS="-lX11 $LIBS" |
19096 |
- cat >conftest.$ac_ext <<_ACEOF |
19097 |
-/* confdefs.h. */ |
19098 |
-_ACEOF |
19099 |
-cat confdefs.h >>conftest.$ac_ext |
19100 |
-cat >>conftest.$ac_ext <<_ACEOF |
19101 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
19102 |
/* end confdefs.h. */ |
19103 |
#include <X11/Xlib.h> |
19104 |
int |
19105 |
@@ -17286,36 +8225,16 @@ XrmInitialize () |
19106 |
return 0; |
19107 |
} |
19108 |
_ACEOF |
19109 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
19110 |
-if { (ac_try="$ac_link" |
19111 |
-case "(($ac_try" in |
19112 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
19113 |
- *) ac_try_echo=$ac_try;; |
19114 |
-esac |
19115 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
19116 |
- (eval "$ac_link") 2>conftest.er1 |
19117 |
- ac_status=$? |
19118 |
- grep -v '^ *+' conftest.er1 >conftest.err |
19119 |
- rm -f conftest.er1 |
19120 |
- cat conftest.err >&5 |
19121 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19122 |
- (exit $ac_status); } && { |
19123 |
- test -z "$ac_c_werror_flag" || |
19124 |
- test ! -s conftest.err |
19125 |
- } && test -s conftest$ac_exeext && |
19126 |
- $as_test_x conftest$ac_exeext; then |
19127 |
+if ac_fn_c_try_link "$LINENO"; then : |
19128 |
LIBS=$ac_save_LIBS |
19129 |
# We can link X programs with no special library path. |
19130 |
ac_x_libraries= |
19131 |
else |
19132 |
- echo "$as_me: failed program was:" >&5 |
19133 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
19134 |
- |
19135 |
- LIBS=$ac_save_LIBS |
19136 |
-for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` |
19137 |
+ LIBS=$ac_save_LIBS |
19138 |
+for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` |
19139 |
do |
19140 |
# Don't even attempt the hair of trying to link an X program! |
19141 |
- for ac_extension in a so sl; do |
19142 |
+ for ac_extension in a so sl dylib la dll; do |
19143 |
if test -r "$ac_dir/libX11.$ac_extension"; then |
19144 |
ac_x_libraries=$ac_dir |
19145 |
break 2 |
19146 |
@@ -17323,9 +8242,8 @@ do |
19147 |
done |
19148 |
done |
19149 |
fi |
19150 |
- |
19151 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
19152 |
- conftest$ac_exeext conftest.$ac_ext |
19153 |
+rm -f core conftest.err conftest.$ac_objext \ |
19154 |
+ conftest$ac_exeext conftest.$ac_ext |
19155 |
fi # $ac_x_libraries = no |
19156 |
|
19157 |
case $ac_x_includes,$ac_x_libraries in #( |
19158 |
@@ -17346,8 +8264,8 @@ fi |
19159 |
fi # $with_x != no |
19160 |
|
19161 |
if test "$have_x" != yes; then |
19162 |
- { echo "$as_me:$LINENO: result: $have_x" >&5 |
19163 |
-echo "${ECHO_T}$have_x" >&6; } |
19164 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5 |
19165 |
+$as_echo "$have_x" >&6; } |
19166 |
no_x=yes |
19167 |
else |
19168 |
# If each of the values was on the command line, it overrides each guess. |
19169 |
@@ -17357,34 +8275,27 @@ else |
19170 |
ac_cv_have_x="have_x=yes\ |
19171 |
ac_x_includes='$x_includes'\ |
19172 |
ac_x_libraries='$x_libraries'" |
19173 |
- { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 |
19174 |
-echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; } |
19175 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5 |
19176 |
+$as_echo "libraries $x_libraries, headers $x_includes" >&6; } |
19177 |
fi |
19178 |
|
19179 |
|
19180 |
if test "$have_x" = yes; then |
19181 |
- cat >>confdefs.h <<\_ACEOF |
19182 |
-#define GRDRV_X 1 |
19183 |
-_ACEOF |
19184 |
+ $as_echo "#define GRDRV_X 1" >>confdefs.h |
19185 |
|
19186 |
test -n "$x_libraries" && LIBS="$LIBS -L$x_libraries" |
19187 |
LIBS="$LIBS -lX11" |
19188 |
test -n "$x_includes" && CPPFLAGS="$CPPFLAGS -I$x_includes" |
19189 |
drivers="$drivers X" |
19190 |
elif test "$ac_cv_have_x2" != no; then |
19191 |
- |
19192 |
-{ echo "$as_me:$LINENO: checking for XOpenDisplay in -lX11" >&5 |
19193 |
-echo $ECHO_N "checking for XOpenDisplay in -lX11... $ECHO_C" >&6; } |
19194 |
-if test "${ac_cv_lib_X11_XOpenDisplay+set}" = set; then |
19195 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
19196 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XOpenDisplay in -lX11" >&5 |
19197 |
+$as_echo_n "checking for XOpenDisplay in -lX11... " >&6; } |
19198 |
+if ${ac_cv_lib_X11_XOpenDisplay+:} false; then : |
19199 |
+ $as_echo_n "(cached) " >&6 |
19200 |
else |
19201 |
ac_check_lib_save_LIBS=$LIBS |
19202 |
LIBS="-lX11 $LIBS" |
19203 |
-cat >conftest.$ac_ext <<_ACEOF |
19204 |
-/* confdefs.h. */ |
19205 |
-_ACEOF |
19206 |
-cat confdefs.h >>conftest.$ac_ext |
19207 |
-cat >>conftest.$ac_ext <<_ACEOF |
19208 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
19209 |
/* end confdefs.h. */ |
19210 |
|
19211 |
/* Override any GCC internal prototype to avoid an error. |
19212 |
@@ -17402,39 +8313,18 @@ return XOpenDisplay (); |
19213 |
return 0; |
19214 |
} |
19215 |
_ACEOF |
19216 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
19217 |
-if { (ac_try="$ac_link" |
19218 |
-case "(($ac_try" in |
19219 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
19220 |
- *) ac_try_echo=$ac_try;; |
19221 |
-esac |
19222 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
19223 |
- (eval "$ac_link") 2>conftest.er1 |
19224 |
- ac_status=$? |
19225 |
- grep -v '^ *+' conftest.er1 >conftest.err |
19226 |
- rm -f conftest.er1 |
19227 |
- cat conftest.err >&5 |
19228 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19229 |
- (exit $ac_status); } && { |
19230 |
- test -z "$ac_c_werror_flag" || |
19231 |
- test ! -s conftest.err |
19232 |
- } && test -s conftest$ac_exeext && |
19233 |
- $as_test_x conftest$ac_exeext; then |
19234 |
+if ac_fn_c_try_link "$LINENO"; then : |
19235 |
ac_cv_lib_X11_XOpenDisplay=yes |
19236 |
else |
19237 |
- echo "$as_me: failed program was:" >&5 |
19238 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
19239 |
- |
19240 |
- ac_cv_lib_X11_XOpenDisplay=no |
19241 |
+ ac_cv_lib_X11_XOpenDisplay=no |
19242 |
fi |
19243 |
- |
19244 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
19245 |
- conftest$ac_exeext conftest.$ac_ext |
19246 |
+rm -f core conftest.err conftest.$ac_objext \ |
19247 |
+ conftest$ac_exeext conftest.$ac_ext |
19248 |
LIBS=$ac_check_lib_save_LIBS |
19249 |
fi |
19250 |
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XOpenDisplay" >&5 |
19251 |
-echo "${ECHO_T}$ac_cv_lib_X11_XOpenDisplay" >&6; } |
19252 |
-if test $ac_cv_lib_X11_XOpenDisplay = yes; then |
19253 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XOpenDisplay" >&5 |
19254 |
+$as_echo "$ac_cv_lib_X11_XOpenDisplay" >&6; } |
19255 |
+if test "x$ac_cv_lib_X11_XOpenDisplay" = xyes; then : |
19256 |
cat >>confdefs.h <<_ACEOF |
19257 |
#define HAVE_LIBX11 1 |
19258 |
_ACEOF |
19259 |
@@ -17443,143 +8333,13 @@ _ACEOF |
19260 |
|
19261 |
fi |
19262 |
|
19263 |
- |
19264 |
- |
19265 |
- |
19266 |
- |
19267 |
-for ac_header in X11/Xlib.h X11/X.h X11/Xutil.h X11/Xlocale.h |
19268 |
-do |
19269 |
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
19270 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
19271 |
- { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
19272 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
19273 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
19274 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
19275 |
-fi |
19276 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
19277 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
19278 |
-echo "${ECHO_T}$ac_res" >&6; } |
19279 |
-else |
19280 |
- # Is the header compilable? |
19281 |
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
19282 |
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
19283 |
-cat >conftest.$ac_ext <<_ACEOF |
19284 |
-/* confdefs.h. */ |
19285 |
-_ACEOF |
19286 |
-cat confdefs.h >>conftest.$ac_ext |
19287 |
-cat >>conftest.$ac_ext <<_ACEOF |
19288 |
-/* end confdefs.h. */ |
19289 |
-$ac_includes_default |
19290 |
-#include <$ac_header> |
19291 |
-_ACEOF |
19292 |
-rm -f conftest.$ac_objext |
19293 |
-if { (ac_try="$ac_compile" |
19294 |
-case "(($ac_try" in |
19295 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
19296 |
- *) ac_try_echo=$ac_try;; |
19297 |
-esac |
19298 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
19299 |
- (eval "$ac_compile") 2>conftest.er1 |
19300 |
- ac_status=$? |
19301 |
- grep -v '^ *+' conftest.er1 >conftest.err |
19302 |
- rm -f conftest.er1 |
19303 |
- cat conftest.err >&5 |
19304 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19305 |
- (exit $ac_status); } && { |
19306 |
- test -z "$ac_c_werror_flag" || |
19307 |
- test ! -s conftest.err |
19308 |
- } && test -s conftest.$ac_objext; then |
19309 |
- ac_header_compiler=yes |
19310 |
-else |
19311 |
- echo "$as_me: failed program was:" >&5 |
19312 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
19313 |
- |
19314 |
- ac_header_compiler=no |
19315 |
-fi |
19316 |
- |
19317 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
19318 |
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
19319 |
-echo "${ECHO_T}$ac_header_compiler" >&6; } |
19320 |
- |
19321 |
-# Is the header present? |
19322 |
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
19323 |
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
19324 |
-cat >conftest.$ac_ext <<_ACEOF |
19325 |
-/* confdefs.h. */ |
19326 |
-_ACEOF |
19327 |
-cat confdefs.h >>conftest.$ac_ext |
19328 |
-cat >>conftest.$ac_ext <<_ACEOF |
19329 |
-/* end confdefs.h. */ |
19330 |
-#include <$ac_header> |
19331 |
-_ACEOF |
19332 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
19333 |
-case "(($ac_try" in |
19334 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
19335 |
- *) ac_try_echo=$ac_try;; |
19336 |
-esac |
19337 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
19338 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
19339 |
- ac_status=$? |
19340 |
- grep -v '^ *+' conftest.er1 >conftest.err |
19341 |
- rm -f conftest.er1 |
19342 |
- cat conftest.err >&5 |
19343 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19344 |
- (exit $ac_status); } >/dev/null && { |
19345 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
19346 |
- test ! -s conftest.err |
19347 |
- }; then |
19348 |
- ac_header_preproc=yes |
19349 |
-else |
19350 |
- echo "$as_me: failed program was:" >&5 |
19351 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
19352 |
- |
19353 |
- ac_header_preproc=no |
19354 |
-fi |
19355 |
- |
19356 |
-rm -f conftest.err conftest.$ac_ext |
19357 |
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
19358 |
-echo "${ECHO_T}$ac_header_preproc" >&6; } |
19359 |
- |
19360 |
-# So? What about this header? |
19361 |
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
19362 |
- yes:no: ) |
19363 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
19364 |
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
19365 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
19366 |
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
19367 |
- ac_header_preproc=yes |
19368 |
- ;; |
19369 |
- no:yes:* ) |
19370 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
19371 |
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
19372 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
19373 |
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
19374 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
19375 |
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
19376 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
19377 |
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
19378 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
19379 |
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
19380 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
19381 |
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
19382 |
- |
19383 |
- ;; |
19384 |
-esac |
19385 |
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
19386 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
19387 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
19388 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
19389 |
-else |
19390 |
- eval "$as_ac_Header=\$ac_header_preproc" |
19391 |
-fi |
19392 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
19393 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
19394 |
-echo "${ECHO_T}$ac_res" >&6; } |
19395 |
- |
19396 |
-fi |
19397 |
-if test `eval echo '${'$as_ac_Header'}'` = yes; then |
19398 |
+ for ac_header in X11/Xlib.h X11/X.h X11/Xutil.h X11/Xlocale.h |
19399 |
+do : |
19400 |
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
19401 |
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
19402 |
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
19403 |
cat >>confdefs.h <<_ACEOF |
19404 |
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
19405 |
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
19406 |
_ACEOF |
19407 |
|
19408 |
fi |
19409 |
@@ -17587,9 +8347,7 @@ fi |
19410 |
done |
19411 |
|
19412 |
if test "$ac_cv_have_libx11" = yes && test "$ac_cv_have_x11_xlib_h" = test && test "$ac_cv_have_x11_x_h" = test && test "$ac_cv_have_x11_xutil_h" = test && test "$ac_cv_have_x11_xlocale_h" = test; then |
19413 |
- cat >>confdefs.h <<\_ACEOF |
19414 |
-#define GRDRV_X 1 |
19415 |
-_ACEOF |
19416 |
+ $as_echo "#define GRDRV_X 1" >>confdefs.h |
19417 |
|
19418 |
drivers="$drivers X" |
19419 |
LIBS="$LIBS -lX11" |
19420 |
@@ -17597,16 +8355,12 @@ _ACEOF |
19421 |
fi |
19422 |
|
19423 |
if test "$disable_pmshell" != yes ; then |
19424 |
- { echo "$as_me:$LINENO: checking for pmshell" >&5 |
19425 |
-echo $ECHO_N "checking for pmshell... $ECHO_C" >&6; } |
19426 |
-if test "${ac_cv_have_pmshell+set}" = set; then |
19427 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
19428 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pmshell" >&5 |
19429 |
+$as_echo_n "checking for pmshell... " >&6; } |
19430 |
+if ${ac_cv_have_pmshell+:} false; then : |
19431 |
+ $as_echo_n "(cached) " >&6 |
19432 |
else |
19433 |
- cat >conftest.$ac_ext <<_ACEOF |
19434 |
-/* confdefs.h. */ |
19435 |
-_ACEOF |
19436 |
-cat confdefs.h >>conftest.$ac_ext |
19437 |
-cat >>conftest.$ac_ext <<_ACEOF |
19438 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
19439 |
/* end confdefs.h. */ |
19440 |
#define INCL_WIN |
19441 |
#define INCL_GPI |
19442 |
@@ -17622,43 +8376,20 @@ _fmutex mutex; |
19443 |
return 0; |
19444 |
} |
19445 |
_ACEOF |
19446 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
19447 |
-if { (ac_try="$ac_link" |
19448 |
-case "(($ac_try" in |
19449 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
19450 |
- *) ac_try_echo=$ac_try;; |
19451 |
-esac |
19452 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
19453 |
- (eval "$ac_link") 2>conftest.er1 |
19454 |
- ac_status=$? |
19455 |
- grep -v '^ *+' conftest.er1 >conftest.err |
19456 |
- rm -f conftest.er1 |
19457 |
- cat conftest.err >&5 |
19458 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19459 |
- (exit $ac_status); } && { |
19460 |
- test -z "$ac_c_werror_flag" || |
19461 |
- test ! -s conftest.err |
19462 |
- } && test -s conftest$ac_exeext && |
19463 |
- $as_test_x conftest$ac_exeext; then |
19464 |
+if ac_fn_c_try_link "$LINENO"; then : |
19465 |
ac_cv_have_pmshell=yes |
19466 |
else |
19467 |
- echo "$as_me: failed program was:" >&5 |
19468 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
19469 |
- |
19470 |
- ac_cv_have_pmshell=no |
19471 |
+ ac_cv_have_pmshell=no |
19472 |
fi |
19473 |
- |
19474 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
19475 |
- conftest$ac_exeext conftest.$ac_ext |
19476 |
+rm -f core conftest.err conftest.$ac_objext \ |
19477 |
+ conftest$ac_exeext conftest.$ac_ext |
19478 |
|
19479 |
fi |
19480 |
-{ echo "$as_me:$LINENO: result: $ac_cv_have_pmshell" >&5 |
19481 |
-echo "${ECHO_T}$ac_cv_have_pmshell" >&6; } |
19482 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_pmshell" >&5 |
19483 |
+$as_echo "$ac_cv_have_pmshell" >&6; } |
19484 |
|
19485 |
if test "$ac_cv_have_pmshell" = yes; then |
19486 |
- cat >>confdefs.h <<\_ACEOF |
19487 |
-#define GRDRV_PMSHELL 1 |
19488 |
-_ACEOF |
19489 |
+ $as_echo "#define GRDRV_PMSHELL 1" >>confdefs.h |
19490 |
|
19491 |
drivers="$drivers PMSHELL" |
19492 |
fi |
19493 |
@@ -17667,840 +8398,72 @@ fi |
19494 |
if test "$disable_atheos" != yes ; then |
19495 |
old_ext="$ac_ext" |
19496 |
ac_ext=cpp |
19497 |
- |
19498 |
-for ac_header in gui/view.h |
19499 |
-do |
19500 |
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
19501 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
19502 |
- { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
19503 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
19504 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
19505 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
19506 |
-fi |
19507 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
19508 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
19509 |
-echo "${ECHO_T}$ac_res" >&6; } |
19510 |
-else |
19511 |
- # Is the header compilable? |
19512 |
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
19513 |
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
19514 |
-cat >conftest.$ac_ext <<_ACEOF |
19515 |
-/* confdefs.h. */ |
19516 |
-_ACEOF |
19517 |
-cat confdefs.h >>conftest.$ac_ext |
19518 |
-cat >>conftest.$ac_ext <<_ACEOF |
19519 |
-/* end confdefs.h. */ |
19520 |
-$ac_includes_default |
19521 |
-#include <$ac_header> |
19522 |
-_ACEOF |
19523 |
-rm -f conftest.$ac_objext |
19524 |
-if { (ac_try="$ac_compile" |
19525 |
-case "(($ac_try" in |
19526 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
19527 |
- *) ac_try_echo=$ac_try;; |
19528 |
-esac |
19529 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
19530 |
- (eval "$ac_compile") 2>conftest.er1 |
19531 |
- ac_status=$? |
19532 |
- grep -v '^ *+' conftest.er1 >conftest.err |
19533 |
- rm -f conftest.er1 |
19534 |
- cat conftest.err >&5 |
19535 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19536 |
- (exit $ac_status); } && { |
19537 |
- test -z "$ac_c_werror_flag" || |
19538 |
- test ! -s conftest.err |
19539 |
- } && test -s conftest.$ac_objext; then |
19540 |
- ac_header_compiler=yes |
19541 |
-else |
19542 |
- echo "$as_me: failed program was:" >&5 |
19543 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
19544 |
- |
19545 |
- ac_header_compiler=no |
19546 |
-fi |
19547 |
- |
19548 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
19549 |
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
19550 |
-echo "${ECHO_T}$ac_header_compiler" >&6; } |
19551 |
- |
19552 |
-# Is the header present? |
19553 |
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
19554 |
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
19555 |
-cat >conftest.$ac_ext <<_ACEOF |
19556 |
-/* confdefs.h. */ |
19557 |
-_ACEOF |
19558 |
-cat confdefs.h >>conftest.$ac_ext |
19559 |
-cat >>conftest.$ac_ext <<_ACEOF |
19560 |
-/* end confdefs.h. */ |
19561 |
-#include <$ac_header> |
19562 |
-_ACEOF |
19563 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
19564 |
-case "(($ac_try" in |
19565 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
19566 |
- *) ac_try_echo=$ac_try;; |
19567 |
-esac |
19568 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
19569 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
19570 |
- ac_status=$? |
19571 |
- grep -v '^ *+' conftest.er1 >conftest.err |
19572 |
- rm -f conftest.er1 |
19573 |
- cat conftest.err >&5 |
19574 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19575 |
- (exit $ac_status); } >/dev/null && { |
19576 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
19577 |
- test ! -s conftest.err |
19578 |
- }; then |
19579 |
- ac_header_preproc=yes |
19580 |
-else |
19581 |
- echo "$as_me: failed program was:" >&5 |
19582 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
19583 |
- |
19584 |
- ac_header_preproc=no |
19585 |
-fi |
19586 |
- |
19587 |
-rm -f conftest.err conftest.$ac_ext |
19588 |
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
19589 |
-echo "${ECHO_T}$ac_header_preproc" >&6; } |
19590 |
- |
19591 |
-# So? What about this header? |
19592 |
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
19593 |
- yes:no: ) |
19594 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
19595 |
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
19596 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
19597 |
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
19598 |
- ac_header_preproc=yes |
19599 |
- ;; |
19600 |
- no:yes:* ) |
19601 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
19602 |
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
19603 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
19604 |
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
19605 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
19606 |
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
19607 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
19608 |
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
19609 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
19610 |
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
19611 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
19612 |
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
19613 |
- |
19614 |
- ;; |
19615 |
-esac |
19616 |
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
19617 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
19618 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
19619 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
19620 |
-else |
19621 |
- eval "$as_ac_Header=\$ac_header_preproc" |
19622 |
-fi |
19623 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
19624 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
19625 |
-echo "${ECHO_T}$ac_res" >&6; } |
19626 |
- |
19627 |
-fi |
19628 |
-if test `eval echo '${'$as_ac_Header'}'` = yes; then |
19629 |
+ for ac_header in gui/view.h |
19630 |
+do : |
19631 |
+ ac_fn_c_check_header_mongrel "$LINENO" "gui/view.h" "ac_cv_header_gui_view_h" "$ac_includes_default" |
19632 |
+if test "x$ac_cv_header_gui_view_h" = xyes; then : |
19633 |
cat >>confdefs.h <<_ACEOF |
19634 |
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
19635 |
+#define HAVE_GUI_VIEW_H 1 |
19636 |
_ACEOF |
19637 |
|
19638 |
fi |
19639 |
|
19640 |
done |
19641 |
|
19642 |
- |
19643 |
-for ac_header in gui/window.h |
19644 |
-do |
19645 |
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
19646 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
19647 |
- { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
19648 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
19649 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
19650 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
19651 |
-fi |
19652 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
19653 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
19654 |
-echo "${ECHO_T}$ac_res" >&6; } |
19655 |
-else |
19656 |
- # Is the header compilable? |
19657 |
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
19658 |
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
19659 |
-cat >conftest.$ac_ext <<_ACEOF |
19660 |
-/* confdefs.h. */ |
19661 |
-_ACEOF |
19662 |
-cat confdefs.h >>conftest.$ac_ext |
19663 |
-cat >>conftest.$ac_ext <<_ACEOF |
19664 |
-/* end confdefs.h. */ |
19665 |
-$ac_includes_default |
19666 |
-#include <$ac_header> |
19667 |
-_ACEOF |
19668 |
-rm -f conftest.$ac_objext |
19669 |
-if { (ac_try="$ac_compile" |
19670 |
-case "(($ac_try" in |
19671 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
19672 |
- *) ac_try_echo=$ac_try;; |
19673 |
-esac |
19674 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
19675 |
- (eval "$ac_compile") 2>conftest.er1 |
19676 |
- ac_status=$? |
19677 |
- grep -v '^ *+' conftest.er1 >conftest.err |
19678 |
- rm -f conftest.er1 |
19679 |
- cat conftest.err >&5 |
19680 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19681 |
- (exit $ac_status); } && { |
19682 |
- test -z "$ac_c_werror_flag" || |
19683 |
- test ! -s conftest.err |
19684 |
- } && test -s conftest.$ac_objext; then |
19685 |
- ac_header_compiler=yes |
19686 |
-else |
19687 |
- echo "$as_me: failed program was:" >&5 |
19688 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
19689 |
- |
19690 |
- ac_header_compiler=no |
19691 |
-fi |
19692 |
- |
19693 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
19694 |
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
19695 |
-echo "${ECHO_T}$ac_header_compiler" >&6; } |
19696 |
- |
19697 |
-# Is the header present? |
19698 |
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
19699 |
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
19700 |
-cat >conftest.$ac_ext <<_ACEOF |
19701 |
-/* confdefs.h. */ |
19702 |
-_ACEOF |
19703 |
-cat confdefs.h >>conftest.$ac_ext |
19704 |
-cat >>conftest.$ac_ext <<_ACEOF |
19705 |
-/* end confdefs.h. */ |
19706 |
-#include <$ac_header> |
19707 |
-_ACEOF |
19708 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
19709 |
-case "(($ac_try" in |
19710 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
19711 |
- *) ac_try_echo=$ac_try;; |
19712 |
-esac |
19713 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
19714 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
19715 |
- ac_status=$? |
19716 |
- grep -v '^ *+' conftest.er1 >conftest.err |
19717 |
- rm -f conftest.er1 |
19718 |
- cat conftest.err >&5 |
19719 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19720 |
- (exit $ac_status); } >/dev/null && { |
19721 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
19722 |
- test ! -s conftest.err |
19723 |
- }; then |
19724 |
- ac_header_preproc=yes |
19725 |
-else |
19726 |
- echo "$as_me: failed program was:" >&5 |
19727 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
19728 |
- |
19729 |
- ac_header_preproc=no |
19730 |
-fi |
19731 |
- |
19732 |
-rm -f conftest.err conftest.$ac_ext |
19733 |
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
19734 |
-echo "${ECHO_T}$ac_header_preproc" >&6; } |
19735 |
- |
19736 |
-# So? What about this header? |
19737 |
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
19738 |
- yes:no: ) |
19739 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
19740 |
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
19741 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
19742 |
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
19743 |
- ac_header_preproc=yes |
19744 |
- ;; |
19745 |
- no:yes:* ) |
19746 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
19747 |
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
19748 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
19749 |
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
19750 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
19751 |
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
19752 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
19753 |
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
19754 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
19755 |
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
19756 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
19757 |
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
19758 |
- |
19759 |
- ;; |
19760 |
-esac |
19761 |
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
19762 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
19763 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
19764 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
19765 |
-else |
19766 |
- eval "$as_ac_Header=\$ac_header_preproc" |
19767 |
-fi |
19768 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
19769 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
19770 |
-echo "${ECHO_T}$ac_res" >&6; } |
19771 |
- |
19772 |
-fi |
19773 |
-if test `eval echo '${'$as_ac_Header'}'` = yes; then |
19774 |
+ for ac_header in gui/window.h |
19775 |
+do : |
19776 |
+ ac_fn_c_check_header_mongrel "$LINENO" "gui/window.h" "ac_cv_header_gui_window_h" "$ac_includes_default" |
19777 |
+if test "x$ac_cv_header_gui_window_h" = xyes; then : |
19778 |
cat >>confdefs.h <<_ACEOF |
19779 |
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
19780 |
+#define HAVE_GUI_WINDOW_H 1 |
19781 |
_ACEOF |
19782 |
|
19783 |
fi |
19784 |
|
19785 |
done |
19786 |
|
19787 |
- |
19788 |
-for ac_header in gui/desktop.h |
19789 |
-do |
19790 |
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
19791 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
19792 |
- { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
19793 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
19794 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
19795 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
19796 |
-fi |
19797 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
19798 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
19799 |
-echo "${ECHO_T}$ac_res" >&6; } |
19800 |
-else |
19801 |
- # Is the header compilable? |
19802 |
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
19803 |
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
19804 |
-cat >conftest.$ac_ext <<_ACEOF |
19805 |
-/* confdefs.h. */ |
19806 |
-_ACEOF |
19807 |
-cat confdefs.h >>conftest.$ac_ext |
19808 |
-cat >>conftest.$ac_ext <<_ACEOF |
19809 |
-/* end confdefs.h. */ |
19810 |
-$ac_includes_default |
19811 |
-#include <$ac_header> |
19812 |
-_ACEOF |
19813 |
-rm -f conftest.$ac_objext |
19814 |
-if { (ac_try="$ac_compile" |
19815 |
-case "(($ac_try" in |
19816 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
19817 |
- *) ac_try_echo=$ac_try;; |
19818 |
-esac |
19819 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
19820 |
- (eval "$ac_compile") 2>conftest.er1 |
19821 |
- ac_status=$? |
19822 |
- grep -v '^ *+' conftest.er1 >conftest.err |
19823 |
- rm -f conftest.er1 |
19824 |
- cat conftest.err >&5 |
19825 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19826 |
- (exit $ac_status); } && { |
19827 |
- test -z "$ac_c_werror_flag" || |
19828 |
- test ! -s conftest.err |
19829 |
- } && test -s conftest.$ac_objext; then |
19830 |
- ac_header_compiler=yes |
19831 |
-else |
19832 |
- echo "$as_me: failed program was:" >&5 |
19833 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
19834 |
- |
19835 |
- ac_header_compiler=no |
19836 |
-fi |
19837 |
- |
19838 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
19839 |
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
19840 |
-echo "${ECHO_T}$ac_header_compiler" >&6; } |
19841 |
- |
19842 |
-# Is the header present? |
19843 |
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
19844 |
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
19845 |
-cat >conftest.$ac_ext <<_ACEOF |
19846 |
-/* confdefs.h. */ |
19847 |
-_ACEOF |
19848 |
-cat confdefs.h >>conftest.$ac_ext |
19849 |
-cat >>conftest.$ac_ext <<_ACEOF |
19850 |
-/* end confdefs.h. */ |
19851 |
-#include <$ac_header> |
19852 |
-_ACEOF |
19853 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
19854 |
-case "(($ac_try" in |
19855 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
19856 |
- *) ac_try_echo=$ac_try;; |
19857 |
-esac |
19858 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
19859 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
19860 |
- ac_status=$? |
19861 |
- grep -v '^ *+' conftest.er1 >conftest.err |
19862 |
- rm -f conftest.er1 |
19863 |
- cat conftest.err >&5 |
19864 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19865 |
- (exit $ac_status); } >/dev/null && { |
19866 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
19867 |
- test ! -s conftest.err |
19868 |
- }; then |
19869 |
- ac_header_preproc=yes |
19870 |
-else |
19871 |
- echo "$as_me: failed program was:" >&5 |
19872 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
19873 |
- |
19874 |
- ac_header_preproc=no |
19875 |
-fi |
19876 |
- |
19877 |
-rm -f conftest.err conftest.$ac_ext |
19878 |
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
19879 |
-echo "${ECHO_T}$ac_header_preproc" >&6; } |
19880 |
- |
19881 |
-# So? What about this header? |
19882 |
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
19883 |
- yes:no: ) |
19884 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
19885 |
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
19886 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
19887 |
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
19888 |
- ac_header_preproc=yes |
19889 |
- ;; |
19890 |
- no:yes:* ) |
19891 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
19892 |
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
19893 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
19894 |
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
19895 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
19896 |
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
19897 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
19898 |
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
19899 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
19900 |
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
19901 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
19902 |
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
19903 |
- |
19904 |
- ;; |
19905 |
-esac |
19906 |
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
19907 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
19908 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
19909 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
19910 |
-else |
19911 |
- eval "$as_ac_Header=\$ac_header_preproc" |
19912 |
-fi |
19913 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
19914 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
19915 |
-echo "${ECHO_T}$ac_res" >&6; } |
19916 |
- |
19917 |
-fi |
19918 |
-if test `eval echo '${'$as_ac_Header'}'` = yes; then |
19919 |
+ for ac_header in gui/desktop.h |
19920 |
+do : |
19921 |
+ ac_fn_c_check_header_mongrel "$LINENO" "gui/desktop.h" "ac_cv_header_gui_desktop_h" "$ac_includes_default" |
19922 |
+if test "x$ac_cv_header_gui_desktop_h" = xyes; then : |
19923 |
cat >>confdefs.h <<_ACEOF |
19924 |
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
19925 |
+#define HAVE_GUI_DESKTOP_H 1 |
19926 |
_ACEOF |
19927 |
|
19928 |
fi |
19929 |
|
19930 |
done |
19931 |
|
19932 |
- |
19933 |
-for ac_header in gui/bitmap.h |
19934 |
-do |
19935 |
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
19936 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
19937 |
- { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
19938 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
19939 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
19940 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
19941 |
-fi |
19942 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
19943 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
19944 |
-echo "${ECHO_T}$ac_res" >&6; } |
19945 |
-else |
19946 |
- # Is the header compilable? |
19947 |
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
19948 |
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
19949 |
-cat >conftest.$ac_ext <<_ACEOF |
19950 |
-/* confdefs.h. */ |
19951 |
-_ACEOF |
19952 |
-cat confdefs.h >>conftest.$ac_ext |
19953 |
-cat >>conftest.$ac_ext <<_ACEOF |
19954 |
-/* end confdefs.h. */ |
19955 |
-$ac_includes_default |
19956 |
-#include <$ac_header> |
19957 |
-_ACEOF |
19958 |
-rm -f conftest.$ac_objext |
19959 |
-if { (ac_try="$ac_compile" |
19960 |
-case "(($ac_try" in |
19961 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
19962 |
- *) ac_try_echo=$ac_try;; |
19963 |
-esac |
19964 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
19965 |
- (eval "$ac_compile") 2>conftest.er1 |
19966 |
- ac_status=$? |
19967 |
- grep -v '^ *+' conftest.er1 >conftest.err |
19968 |
- rm -f conftest.er1 |
19969 |
- cat conftest.err >&5 |
19970 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19971 |
- (exit $ac_status); } && { |
19972 |
- test -z "$ac_c_werror_flag" || |
19973 |
- test ! -s conftest.err |
19974 |
- } && test -s conftest.$ac_objext; then |
19975 |
- ac_header_compiler=yes |
19976 |
-else |
19977 |
- echo "$as_me: failed program was:" >&5 |
19978 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
19979 |
- |
19980 |
- ac_header_compiler=no |
19981 |
-fi |
19982 |
- |
19983 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
19984 |
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
19985 |
-echo "${ECHO_T}$ac_header_compiler" >&6; } |
19986 |
- |
19987 |
-# Is the header present? |
19988 |
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
19989 |
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
19990 |
-cat >conftest.$ac_ext <<_ACEOF |
19991 |
-/* confdefs.h. */ |
19992 |
-_ACEOF |
19993 |
-cat confdefs.h >>conftest.$ac_ext |
19994 |
-cat >>conftest.$ac_ext <<_ACEOF |
19995 |
-/* end confdefs.h. */ |
19996 |
-#include <$ac_header> |
19997 |
-_ACEOF |
19998 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
19999 |
-case "(($ac_try" in |
20000 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
20001 |
- *) ac_try_echo=$ac_try;; |
20002 |
-esac |
20003 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
20004 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
20005 |
- ac_status=$? |
20006 |
- grep -v '^ *+' conftest.er1 >conftest.err |
20007 |
- rm -f conftest.er1 |
20008 |
- cat conftest.err >&5 |
20009 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20010 |
- (exit $ac_status); } >/dev/null && { |
20011 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
20012 |
- test ! -s conftest.err |
20013 |
- }; then |
20014 |
- ac_header_preproc=yes |
20015 |
-else |
20016 |
- echo "$as_me: failed program was:" >&5 |
20017 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
20018 |
- |
20019 |
- ac_header_preproc=no |
20020 |
-fi |
20021 |
- |
20022 |
-rm -f conftest.err conftest.$ac_ext |
20023 |
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
20024 |
-echo "${ECHO_T}$ac_header_preproc" >&6; } |
20025 |
- |
20026 |
-# So? What about this header? |
20027 |
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
20028 |
- yes:no: ) |
20029 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
20030 |
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
20031 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
20032 |
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
20033 |
- ac_header_preproc=yes |
20034 |
- ;; |
20035 |
- no:yes:* ) |
20036 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
20037 |
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
20038 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
20039 |
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
20040 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
20041 |
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
20042 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
20043 |
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
20044 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
20045 |
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
20046 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
20047 |
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
20048 |
- |
20049 |
- ;; |
20050 |
-esac |
20051 |
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
20052 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
20053 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
20054 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
20055 |
-else |
20056 |
- eval "$as_ac_Header=\$ac_header_preproc" |
20057 |
-fi |
20058 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
20059 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
20060 |
-echo "${ECHO_T}$ac_res" >&6; } |
20061 |
- |
20062 |
-fi |
20063 |
-if test `eval echo '${'$as_ac_Header'}'` = yes; then |
20064 |
+ for ac_header in gui/bitmap.h |
20065 |
+do : |
20066 |
+ ac_fn_c_check_header_mongrel "$LINENO" "gui/bitmap.h" "ac_cv_header_gui_bitmap_h" "$ac_includes_default" |
20067 |
+if test "x$ac_cv_header_gui_bitmap_h" = xyes; then : |
20068 |
cat >>confdefs.h <<_ACEOF |
20069 |
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
20070 |
+#define HAVE_GUI_BITMAP_H 1 |
20071 |
_ACEOF |
20072 |
|
20073 |
fi |
20074 |
|
20075 |
done |
20076 |
|
20077 |
- |
20078 |
-for ac_header in util/locker.h |
20079 |
-do |
20080 |
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
20081 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
20082 |
- { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
20083 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
20084 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
20085 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
20086 |
-fi |
20087 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
20088 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
20089 |
-echo "${ECHO_T}$ac_res" >&6; } |
20090 |
-else |
20091 |
- # Is the header compilable? |
20092 |
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
20093 |
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
20094 |
-cat >conftest.$ac_ext <<_ACEOF |
20095 |
-/* confdefs.h. */ |
20096 |
-_ACEOF |
20097 |
-cat confdefs.h >>conftest.$ac_ext |
20098 |
-cat >>conftest.$ac_ext <<_ACEOF |
20099 |
-/* end confdefs.h. */ |
20100 |
-$ac_includes_default |
20101 |
-#include <$ac_header> |
20102 |
-_ACEOF |
20103 |
-rm -f conftest.$ac_objext |
20104 |
-if { (ac_try="$ac_compile" |
20105 |
-case "(($ac_try" in |
20106 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
20107 |
- *) ac_try_echo=$ac_try;; |
20108 |
-esac |
20109 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
20110 |
- (eval "$ac_compile") 2>conftest.er1 |
20111 |
- ac_status=$? |
20112 |
- grep -v '^ *+' conftest.er1 >conftest.err |
20113 |
- rm -f conftest.er1 |
20114 |
- cat conftest.err >&5 |
20115 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20116 |
- (exit $ac_status); } && { |
20117 |
- test -z "$ac_c_werror_flag" || |
20118 |
- test ! -s conftest.err |
20119 |
- } && test -s conftest.$ac_objext; then |
20120 |
- ac_header_compiler=yes |
20121 |
-else |
20122 |
- echo "$as_me: failed program was:" >&5 |
20123 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
20124 |
- |
20125 |
- ac_header_compiler=no |
20126 |
-fi |
20127 |
- |
20128 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
20129 |
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
20130 |
-echo "${ECHO_T}$ac_header_compiler" >&6; } |
20131 |
- |
20132 |
-# Is the header present? |
20133 |
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
20134 |
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
20135 |
-cat >conftest.$ac_ext <<_ACEOF |
20136 |
-/* confdefs.h. */ |
20137 |
-_ACEOF |
20138 |
-cat confdefs.h >>conftest.$ac_ext |
20139 |
-cat >>conftest.$ac_ext <<_ACEOF |
20140 |
-/* end confdefs.h. */ |
20141 |
-#include <$ac_header> |
20142 |
-_ACEOF |
20143 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
20144 |
-case "(($ac_try" in |
20145 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
20146 |
- *) ac_try_echo=$ac_try;; |
20147 |
-esac |
20148 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
20149 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
20150 |
- ac_status=$? |
20151 |
- grep -v '^ *+' conftest.er1 >conftest.err |
20152 |
- rm -f conftest.er1 |
20153 |
- cat conftest.err >&5 |
20154 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20155 |
- (exit $ac_status); } >/dev/null && { |
20156 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
20157 |
- test ! -s conftest.err |
20158 |
- }; then |
20159 |
- ac_header_preproc=yes |
20160 |
-else |
20161 |
- echo "$as_me: failed program was:" >&5 |
20162 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
20163 |
- |
20164 |
- ac_header_preproc=no |
20165 |
-fi |
20166 |
- |
20167 |
-rm -f conftest.err conftest.$ac_ext |
20168 |
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
20169 |
-echo "${ECHO_T}$ac_header_preproc" >&6; } |
20170 |
- |
20171 |
-# So? What about this header? |
20172 |
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
20173 |
- yes:no: ) |
20174 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
20175 |
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
20176 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
20177 |
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
20178 |
- ac_header_preproc=yes |
20179 |
- ;; |
20180 |
- no:yes:* ) |
20181 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
20182 |
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
20183 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
20184 |
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
20185 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
20186 |
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
20187 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
20188 |
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
20189 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
20190 |
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
20191 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
20192 |
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
20193 |
- |
20194 |
- ;; |
20195 |
-esac |
20196 |
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
20197 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
20198 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
20199 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
20200 |
-else |
20201 |
- eval "$as_ac_Header=\$ac_header_preproc" |
20202 |
-fi |
20203 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
20204 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
20205 |
-echo "${ECHO_T}$ac_res" >&6; } |
20206 |
- |
20207 |
-fi |
20208 |
-if test `eval echo '${'$as_ac_Header'}'` = yes; then |
20209 |
+ for ac_header in util/locker.h |
20210 |
+do : |
20211 |
+ ac_fn_c_check_header_mongrel "$LINENO" "util/locker.h" "ac_cv_header_util_locker_h" "$ac_includes_default" |
20212 |
+if test "x$ac_cv_header_util_locker_h" = xyes; then : |
20213 |
cat >>confdefs.h <<_ACEOF |
20214 |
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
20215 |
+#define HAVE_UTIL_LOCKER_H 1 |
20216 |
_ACEOF |
20217 |
|
20218 |
fi |
20219 |
|
20220 |
done |
20221 |
|
20222 |
- |
20223 |
-for ac_header in util/application.h |
20224 |
-do |
20225 |
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
20226 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
20227 |
- { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
20228 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
20229 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
20230 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
20231 |
-fi |
20232 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
20233 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
20234 |
-echo "${ECHO_T}$ac_res" >&6; } |
20235 |
-else |
20236 |
- # Is the header compilable? |
20237 |
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
20238 |
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
20239 |
-cat >conftest.$ac_ext <<_ACEOF |
20240 |
-/* confdefs.h. */ |
20241 |
-_ACEOF |
20242 |
-cat confdefs.h >>conftest.$ac_ext |
20243 |
-cat >>conftest.$ac_ext <<_ACEOF |
20244 |
-/* end confdefs.h. */ |
20245 |
-$ac_includes_default |
20246 |
-#include <$ac_header> |
20247 |
-_ACEOF |
20248 |
-rm -f conftest.$ac_objext |
20249 |
-if { (ac_try="$ac_compile" |
20250 |
-case "(($ac_try" in |
20251 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
20252 |
- *) ac_try_echo=$ac_try;; |
20253 |
-esac |
20254 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
20255 |
- (eval "$ac_compile") 2>conftest.er1 |
20256 |
- ac_status=$? |
20257 |
- grep -v '^ *+' conftest.er1 >conftest.err |
20258 |
- rm -f conftest.er1 |
20259 |
- cat conftest.err >&5 |
20260 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20261 |
- (exit $ac_status); } && { |
20262 |
- test -z "$ac_c_werror_flag" || |
20263 |
- test ! -s conftest.err |
20264 |
- } && test -s conftest.$ac_objext; then |
20265 |
- ac_header_compiler=yes |
20266 |
-else |
20267 |
- echo "$as_me: failed program was:" >&5 |
20268 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
20269 |
- |
20270 |
- ac_header_compiler=no |
20271 |
-fi |
20272 |
- |
20273 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
20274 |
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
20275 |
-echo "${ECHO_T}$ac_header_compiler" >&6; } |
20276 |
- |
20277 |
-# Is the header present? |
20278 |
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
20279 |
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
20280 |
-cat >conftest.$ac_ext <<_ACEOF |
20281 |
-/* confdefs.h. */ |
20282 |
-_ACEOF |
20283 |
-cat confdefs.h >>conftest.$ac_ext |
20284 |
-cat >>conftest.$ac_ext <<_ACEOF |
20285 |
-/* end confdefs.h. */ |
20286 |
-#include <$ac_header> |
20287 |
-_ACEOF |
20288 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
20289 |
-case "(($ac_try" in |
20290 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
20291 |
- *) ac_try_echo=$ac_try;; |
20292 |
-esac |
20293 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
20294 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
20295 |
- ac_status=$? |
20296 |
- grep -v '^ *+' conftest.er1 >conftest.err |
20297 |
- rm -f conftest.er1 |
20298 |
- cat conftest.err >&5 |
20299 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20300 |
- (exit $ac_status); } >/dev/null && { |
20301 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
20302 |
- test ! -s conftest.err |
20303 |
- }; then |
20304 |
- ac_header_preproc=yes |
20305 |
-else |
20306 |
- echo "$as_me: failed program was:" >&5 |
20307 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
20308 |
- |
20309 |
- ac_header_preproc=no |
20310 |
-fi |
20311 |
- |
20312 |
-rm -f conftest.err conftest.$ac_ext |
20313 |
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
20314 |
-echo "${ECHO_T}$ac_header_preproc" >&6; } |
20315 |
- |
20316 |
-# So? What about this header? |
20317 |
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
20318 |
- yes:no: ) |
20319 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
20320 |
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
20321 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
20322 |
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
20323 |
- ac_header_preproc=yes |
20324 |
- ;; |
20325 |
- no:yes:* ) |
20326 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
20327 |
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
20328 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
20329 |
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
20330 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
20331 |
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
20332 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
20333 |
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
20334 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
20335 |
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
20336 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
20337 |
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
20338 |
- |
20339 |
- ;; |
20340 |
-esac |
20341 |
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
20342 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
20343 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
20344 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
20345 |
-else |
20346 |
- eval "$as_ac_Header=\$ac_header_preproc" |
20347 |
-fi |
20348 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
20349 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
20350 |
-echo "${ECHO_T}$ac_res" >&6; } |
20351 |
- |
20352 |
-fi |
20353 |
-if test `eval echo '${'$as_ac_Header'}'` = yes; then |
20354 |
+ for ac_header in util/application.h |
20355 |
+do : |
20356 |
+ ac_fn_c_check_header_mongrel "$LINENO" "util/application.h" "ac_cv_header_util_application_h" "$ac_includes_default" |
20357 |
+if test "x$ac_cv_header_util_application_h" = xyes; then : |
20358 |
cat >>confdefs.h <<_ACEOF |
20359 |
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
20360 |
+#define HAVE_UTIL_APPLICATION_H 1 |
20361 |
_ACEOF |
20362 |
|
20363 |
fi |
20364 |
@@ -18516,19 +8479,14 @@ done |
20365 |
test "$ac_cv_header_gui_bitmap_h" = yes && |
20366 |
test "$ac_cv_header_util_locker_h" = yes && |
20367 |
test "$ac_cv_header_util_application_h" = yes; then |
20368 |
- |
20369 |
-{ echo "$as_me:$LINENO: checking for main in -lstdc++" >&5 |
20370 |
-echo $ECHO_N "checking for main in -lstdc++... $ECHO_C" >&6; } |
20371 |
-if test "${ac_cv_lib_stdcpp_main+set}" = set; then |
20372 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
20373 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lstdc++" >&5 |
20374 |
+$as_echo_n "checking for main in -lstdc++... " >&6; } |
20375 |
+if ${ac_cv_lib_stdcpp_main+:} false; then : |
20376 |
+ $as_echo_n "(cached) " >&6 |
20377 |
else |
20378 |
ac_check_lib_save_LIBS=$LIBS |
20379 |
LIBS="-lstdc++ $LIBS" |
20380 |
-cat >conftest.$ac_ext <<_ACEOF |
20381 |
-/* confdefs.h. */ |
20382 |
-_ACEOF |
20383 |
-cat confdefs.h >>conftest.$ac_ext |
20384 |
-cat >>conftest.$ac_ext <<_ACEOF |
20385 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
20386 |
/* end confdefs.h. */ |
20387 |
|
20388 |
|
20389 |
@@ -18540,39 +8498,18 @@ return main (); |
20390 |
return 0; |
20391 |
} |
20392 |
_ACEOF |
20393 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
20394 |
-if { (ac_try="$ac_link" |
20395 |
-case "(($ac_try" in |
20396 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
20397 |
- *) ac_try_echo=$ac_try;; |
20398 |
-esac |
20399 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
20400 |
- (eval "$ac_link") 2>conftest.er1 |
20401 |
- ac_status=$? |
20402 |
- grep -v '^ *+' conftest.er1 >conftest.err |
20403 |
- rm -f conftest.er1 |
20404 |
- cat conftest.err >&5 |
20405 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20406 |
- (exit $ac_status); } && { |
20407 |
- test -z "$ac_c_werror_flag" || |
20408 |
- test ! -s conftest.err |
20409 |
- } && test -s conftest$ac_exeext && |
20410 |
- $as_test_x conftest$ac_exeext; then |
20411 |
+if ac_fn_c_try_link "$LINENO"; then : |
20412 |
ac_cv_lib_stdcpp_main=yes |
20413 |
else |
20414 |
- echo "$as_me: failed program was:" >&5 |
20415 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
20416 |
- |
20417 |
- ac_cv_lib_stdcpp_main=no |
20418 |
+ ac_cv_lib_stdcpp_main=no |
20419 |
fi |
20420 |
- |
20421 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
20422 |
- conftest$ac_exeext conftest.$ac_ext |
20423 |
+rm -f core conftest.err conftest.$ac_objext \ |
20424 |
+ conftest$ac_exeext conftest.$ac_ext |
20425 |
LIBS=$ac_check_lib_save_LIBS |
20426 |
fi |
20427 |
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_stdcpp_main" >&5 |
20428 |
-echo "${ECHO_T}$ac_cv_lib_stdcpp_main" >&6; } |
20429 |
-if test $ac_cv_lib_stdcpp_main = yes; then |
20430 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_stdcpp_main" >&5 |
20431 |
+$as_echo "$ac_cv_lib_stdcpp_main" >&6; } |
20432 |
+if test "x$ac_cv_lib_stdcpp_main" = xyes; then : |
20433 |
cat >>confdefs.h <<_ACEOF |
20434 |
#define HAVE_LIBSTDC__ 1 |
20435 |
_ACEOF |
20436 |
@@ -18581,19 +8518,14 @@ _ACEOF |
20437 |
|
20438 |
fi |
20439 |
|
20440 |
- |
20441 |
-{ echo "$as_me:$LINENO: checking for main in -latheos" >&5 |
20442 |
-echo $ECHO_N "checking for main in -latheos... $ECHO_C" >&6; } |
20443 |
-if test "${ac_cv_lib_atheos_main+set}" = set; then |
20444 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
20445 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -latheos" >&5 |
20446 |
+$as_echo_n "checking for main in -latheos... " >&6; } |
20447 |
+if ${ac_cv_lib_atheos_main+:} false; then : |
20448 |
+ $as_echo_n "(cached) " >&6 |
20449 |
else |
20450 |
ac_check_lib_save_LIBS=$LIBS |
20451 |
LIBS="-latheos $LIBS" |
20452 |
-cat >conftest.$ac_ext <<_ACEOF |
20453 |
-/* confdefs.h. */ |
20454 |
-_ACEOF |
20455 |
-cat confdefs.h >>conftest.$ac_ext |
20456 |
-cat >>conftest.$ac_ext <<_ACEOF |
20457 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
20458 |
/* end confdefs.h. */ |
20459 |
|
20460 |
|
20461 |
@@ -18605,39 +8537,18 @@ return main (); |
20462 |
return 0; |
20463 |
} |
20464 |
_ACEOF |
20465 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
20466 |
-if { (ac_try="$ac_link" |
20467 |
-case "(($ac_try" in |
20468 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
20469 |
- *) ac_try_echo=$ac_try;; |
20470 |
-esac |
20471 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
20472 |
- (eval "$ac_link") 2>conftest.er1 |
20473 |
- ac_status=$? |
20474 |
- grep -v '^ *+' conftest.er1 >conftest.err |
20475 |
- rm -f conftest.er1 |
20476 |
- cat conftest.err >&5 |
20477 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20478 |
- (exit $ac_status); } && { |
20479 |
- test -z "$ac_c_werror_flag" || |
20480 |
- test ! -s conftest.err |
20481 |
- } && test -s conftest$ac_exeext && |
20482 |
- $as_test_x conftest$ac_exeext; then |
20483 |
+if ac_fn_c_try_link "$LINENO"; then : |
20484 |
ac_cv_lib_atheos_main=yes |
20485 |
else |
20486 |
- echo "$as_me: failed program was:" >&5 |
20487 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
20488 |
- |
20489 |
- ac_cv_lib_atheos_main=no |
20490 |
+ ac_cv_lib_atheos_main=no |
20491 |
fi |
20492 |
- |
20493 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
20494 |
- conftest$ac_exeext conftest.$ac_ext |
20495 |
+rm -f core conftest.err conftest.$ac_objext \ |
20496 |
+ conftest$ac_exeext conftest.$ac_ext |
20497 |
LIBS=$ac_check_lib_save_LIBS |
20498 |
fi |
20499 |
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_atheos_main" >&5 |
20500 |
-echo "${ECHO_T}$ac_cv_lib_atheos_main" >&6; } |
20501 |
-if test $ac_cv_lib_atheos_main = yes; then |
20502 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_atheos_main" >&5 |
20503 |
+$as_echo "$ac_cv_lib_atheos_main" >&6; } |
20504 |
+if test "x$ac_cv_lib_atheos_main" = xyes; then : |
20505 |
cat >>confdefs.h <<_ACEOF |
20506 |
#define HAVE_LIBATHEOS 1 |
20507 |
_ACEOF |
20508 |
@@ -18661,10 +8572,10 @@ if test -z "$CXX"; then |
20509 |
do |
20510 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
20511 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
20512 |
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
20513 |
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
20514 |
-if test "${ac_cv_prog_CXX+set}" = set; then |
20515 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
20516 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
20517 |
+$as_echo_n "checking for $ac_word... " >&6; } |
20518 |
+if ${ac_cv_prog_CXX+:} false; then : |
20519 |
+ $as_echo_n "(cached) " >&6 |
20520 |
else |
20521 |
if test -n "$CXX"; then |
20522 |
ac_cv_prog_CXX="$CXX" # Let the user override the test. |
20523 |
@@ -18674,25 +8585,25 @@ for as_dir in $PATH |
20524 |
do |
20525 |
IFS=$as_save_IFS |
20526 |
test -z "$as_dir" && as_dir=. |
20527 |
- for ac_exec_ext in '' $ac_executable_extensions; do |
20528 |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
20529 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
20530 |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
20531 |
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
20532 |
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
20533 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
20534 |
break 2 |
20535 |
fi |
20536 |
done |
20537 |
-done |
20538 |
+ done |
20539 |
IFS=$as_save_IFS |
20540 |
|
20541 |
fi |
20542 |
fi |
20543 |
CXX=$ac_cv_prog_CXX |
20544 |
if test -n "$CXX"; then |
20545 |
- { echo "$as_me:$LINENO: result: $CXX" >&5 |
20546 |
-echo "${ECHO_T}$CXX" >&6; } |
20547 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 |
20548 |
+$as_echo "$CXX" >&6; } |
20549 |
else |
20550 |
- { echo "$as_me:$LINENO: result: no" >&5 |
20551 |
-echo "${ECHO_T}no" >&6; } |
20552 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
20553 |
+$as_echo "no" >&6; } |
20554 |
fi |
20555 |
|
20556 |
|
20557 |
@@ -18705,10 +8616,10 @@ if test -z "$CXX"; then |
20558 |
do |
20559 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
20560 |
set dummy $ac_prog; ac_word=$2 |
20561 |
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
20562 |
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
20563 |
-if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then |
20564 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
20565 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
20566 |
+$as_echo_n "checking for $ac_word... " >&6; } |
20567 |
+if ${ac_cv_prog_ac_ct_CXX+:} false; then : |
20568 |
+ $as_echo_n "(cached) " >&6 |
20569 |
else |
20570 |
if test -n "$ac_ct_CXX"; then |
20571 |
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
20572 |
@@ -18718,25 +8629,25 @@ for as_dir in $PATH |
20573 |
do |
20574 |
IFS=$as_save_IFS |
20575 |
test -z "$as_dir" && as_dir=. |
20576 |
- for ac_exec_ext in '' $ac_executable_extensions; do |
20577 |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
20578 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
20579 |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
20580 |
ac_cv_prog_ac_ct_CXX="$ac_prog" |
20581 |
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
20582 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
20583 |
break 2 |
20584 |
fi |
20585 |
done |
20586 |
-done |
20587 |
+ done |
20588 |
IFS=$as_save_IFS |
20589 |
|
20590 |
fi |
20591 |
fi |
20592 |
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
20593 |
if test -n "$ac_ct_CXX"; then |
20594 |
- { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 |
20595 |
-echo "${ECHO_T}$ac_ct_CXX" >&6; } |
20596 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 |
20597 |
+$as_echo "$ac_ct_CXX" >&6; } |
20598 |
else |
20599 |
- { echo "$as_me:$LINENO: result: no" >&5 |
20600 |
-echo "${ECHO_T}no" >&6; } |
20601 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
20602 |
+$as_echo "no" >&6; } |
20603 |
fi |
20604 |
|
20605 |
|
20606 |
@@ -18748,12 +8659,8 @@ done |
20607 |
else |
20608 |
case $cross_compiling:$ac_tool_warned in |
20609 |
yes:) |
20610 |
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
20611 |
-whose name does not start with the host triplet. If you think this |
20612 |
-configuration is useful to you, please write to autoconf@gnu.org." >&5 |
20613 |
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
20614 |
-whose name does not start with the host triplet. If you think this |
20615 |
-configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
20616 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
20617 |
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
20618 |
ac_tool_warned=yes ;; |
20619 |
esac |
20620 |
CXX=$ac_ct_CXX |
20621 |
@@ -18763,49 +8670,36 @@ fi |
20622 |
fi |
20623 |
fi |
20624 |
# Provide some information about the compiler. |
20625 |
-echo "$as_me:$LINENO: checking for C++ compiler version" >&5 |
20626 |
-ac_compiler=`set X $ac_compile; echo $2` |
20627 |
-{ (ac_try="$ac_compiler --version >&5" |
20628 |
-case "(($ac_try" in |
20629 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
20630 |
- *) ac_try_echo=$ac_try;; |
20631 |
-esac |
20632 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
20633 |
- (eval "$ac_compiler --version >&5") 2>&5 |
20634 |
- ac_status=$? |
20635 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20636 |
- (exit $ac_status); } |
20637 |
-{ (ac_try="$ac_compiler -v >&5" |
20638 |
-case "(($ac_try" in |
20639 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
20640 |
- *) ac_try_echo=$ac_try;; |
20641 |
-esac |
20642 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
20643 |
- (eval "$ac_compiler -v >&5") 2>&5 |
20644 |
- ac_status=$? |
20645 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20646 |
- (exit $ac_status); } |
20647 |
-{ (ac_try="$ac_compiler -V >&5" |
20648 |
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 |
20649 |
+set X $ac_compile |
20650 |
+ac_compiler=$2 |
20651 |
+for ac_option in --version -v -V -qversion; do |
20652 |
+ { { ac_try="$ac_compiler $ac_option >&5" |
20653 |
case "(($ac_try" in |
20654 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
20655 |
*) ac_try_echo=$ac_try;; |
20656 |
esac |
20657 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
20658 |
- (eval "$ac_compiler -V >&5") 2>&5 |
20659 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
20660 |
+$as_echo "$ac_try_echo"; } >&5 |
20661 |
+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
20662 |
ac_status=$? |
20663 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20664 |
- (exit $ac_status); } |
20665 |
+ if test -s conftest.err; then |
20666 |
+ sed '10a\ |
20667 |
+... rest of stderr output deleted ... |
20668 |
+ 10q' conftest.err >conftest.er1 |
20669 |
+ cat conftest.er1 >&5 |
20670 |
+ fi |
20671 |
+ rm -f conftest.er1 conftest.err |
20672 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
20673 |
+ test $ac_status = 0; } |
20674 |
+done |
20675 |
|
20676 |
-{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 |
20677 |
-echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } |
20678 |
-if test "${ac_cv_cxx_compiler_gnu+set}" = set; then |
20679 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
20680 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 |
20681 |
+$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } |
20682 |
+if ${ac_cv_cxx_compiler_gnu+:} false; then : |
20683 |
+ $as_echo_n "(cached) " >&6 |
20684 |
else |
20685 |
- cat >conftest.$ac_ext <<_ACEOF |
20686 |
-/* confdefs.h. */ |
20687 |
-_ACEOF |
20688 |
-cat confdefs.h >>conftest.$ac_ext |
20689 |
-cat >>conftest.$ac_ext <<_ACEOF |
20690 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
20691 |
/* end confdefs.h. */ |
20692 |
|
20693 |
int |
20694 |
@@ -18819,54 +8713,34 @@ main () |
20695 |
return 0; |
20696 |
} |
20697 |
_ACEOF |
20698 |
-rm -f conftest.$ac_objext |
20699 |
-if { (ac_try="$ac_compile" |
20700 |
-case "(($ac_try" in |
20701 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
20702 |
- *) ac_try_echo=$ac_try;; |
20703 |
-esac |
20704 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
20705 |
- (eval "$ac_compile") 2>conftest.er1 |
20706 |
- ac_status=$? |
20707 |
- grep -v '^ *+' conftest.er1 >conftest.err |
20708 |
- rm -f conftest.er1 |
20709 |
- cat conftest.err >&5 |
20710 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20711 |
- (exit $ac_status); } && { |
20712 |
- test -z "$ac_cxx_werror_flag" || |
20713 |
- test ! -s conftest.err |
20714 |
- } && test -s conftest.$ac_objext; then |
20715 |
+if ac_fn_cxx_try_compile "$LINENO"; then : |
20716 |
ac_compiler_gnu=yes |
20717 |
else |
20718 |
- echo "$as_me: failed program was:" >&5 |
20719 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
20720 |
- |
20721 |
- ac_compiler_gnu=no |
20722 |
+ ac_compiler_gnu=no |
20723 |
fi |
20724 |
- |
20725 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
20726 |
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
20727 |
|
20728 |
fi |
20729 |
-{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
20730 |
-echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } |
20731 |
-GXX=`test $ac_compiler_gnu = yes && echo yes` |
20732 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 |
20733 |
+$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } |
20734 |
+if test $ac_compiler_gnu = yes; then |
20735 |
+ GXX=yes |
20736 |
+else |
20737 |
+ GXX= |
20738 |
+fi |
20739 |
ac_test_CXXFLAGS=${CXXFLAGS+set} |
20740 |
ac_save_CXXFLAGS=$CXXFLAGS |
20741 |
-{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 |
20742 |
-echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } |
20743 |
-if test "${ac_cv_prog_cxx_g+set}" = set; then |
20744 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
20745 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 |
20746 |
+$as_echo_n "checking whether $CXX accepts -g... " >&6; } |
20747 |
+if ${ac_cv_prog_cxx_g+:} false; then : |
20748 |
+ $as_echo_n "(cached) " >&6 |
20749 |
else |
20750 |
ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
20751 |
ac_cxx_werror_flag=yes |
20752 |
ac_cv_prog_cxx_g=no |
20753 |
CXXFLAGS="-g" |
20754 |
- cat >conftest.$ac_ext <<_ACEOF |
20755 |
-/* confdefs.h. */ |
20756 |
-_ACEOF |
20757 |
-cat confdefs.h >>conftest.$ac_ext |
20758 |
-cat >>conftest.$ac_ext <<_ACEOF |
20759 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
20760 |
/* end confdefs.h. */ |
20761 |
|
20762 |
int |
20763 |
@@ -18877,34 +8751,11 @@ main () |
20764 |
return 0; |
20765 |
} |
20766 |
_ACEOF |
20767 |
-rm -f conftest.$ac_objext |
20768 |
-if { (ac_try="$ac_compile" |
20769 |
-case "(($ac_try" in |
20770 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
20771 |
- *) ac_try_echo=$ac_try;; |
20772 |
-esac |
20773 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
20774 |
- (eval "$ac_compile") 2>conftest.er1 |
20775 |
- ac_status=$? |
20776 |
- grep -v '^ *+' conftest.er1 >conftest.err |
20777 |
- rm -f conftest.er1 |
20778 |
- cat conftest.err >&5 |
20779 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20780 |
- (exit $ac_status); } && { |
20781 |
- test -z "$ac_cxx_werror_flag" || |
20782 |
- test ! -s conftest.err |
20783 |
- } && test -s conftest.$ac_objext; then |
20784 |
+if ac_fn_cxx_try_compile "$LINENO"; then : |
20785 |
ac_cv_prog_cxx_g=yes |
20786 |
else |
20787 |
- echo "$as_me: failed program was:" >&5 |
20788 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
20789 |
- |
20790 |
- CXXFLAGS="" |
20791 |
- cat >conftest.$ac_ext <<_ACEOF |
20792 |
-/* confdefs.h. */ |
20793 |
-_ACEOF |
20794 |
-cat confdefs.h >>conftest.$ac_ext |
20795 |
-cat >>conftest.$ac_ext <<_ACEOF |
20796 |
+ CXXFLAGS="" |
20797 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
20798 |
/* end confdefs.h. */ |
20799 |
|
20800 |
int |
20801 |
@@ -18915,35 +8766,12 @@ main () |
20802 |
return 0; |
20803 |
} |
20804 |
_ACEOF |
20805 |
-rm -f conftest.$ac_objext |
20806 |
-if { (ac_try="$ac_compile" |
20807 |
-case "(($ac_try" in |
20808 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
20809 |
- *) ac_try_echo=$ac_try;; |
20810 |
-esac |
20811 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
20812 |
- (eval "$ac_compile") 2>conftest.er1 |
20813 |
- ac_status=$? |
20814 |
- grep -v '^ *+' conftest.er1 >conftest.err |
20815 |
- rm -f conftest.er1 |
20816 |
- cat conftest.err >&5 |
20817 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20818 |
- (exit $ac_status); } && { |
20819 |
- test -z "$ac_cxx_werror_flag" || |
20820 |
- test ! -s conftest.err |
20821 |
- } && test -s conftest.$ac_objext; then |
20822 |
- : |
20823 |
-else |
20824 |
- echo "$as_me: failed program was:" >&5 |
20825 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
20826 |
+if ac_fn_cxx_try_compile "$LINENO"; then : |
20827 |
|
20828 |
- ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
20829 |
+else |
20830 |
+ ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
20831 |
CXXFLAGS="-g" |
20832 |
- cat >conftest.$ac_ext <<_ACEOF |
20833 |
-/* confdefs.h. */ |
20834 |
-_ACEOF |
20835 |
-cat confdefs.h >>conftest.$ac_ext |
20836 |
-cat >>conftest.$ac_ext <<_ACEOF |
20837 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
20838 |
/* end confdefs.h. */ |
20839 |
|
20840 |
int |
20841 |
@@ -18954,42 +8782,18 @@ main () |
20842 |
return 0; |
20843 |
} |
20844 |
_ACEOF |
20845 |
-rm -f conftest.$ac_objext |
20846 |
-if { (ac_try="$ac_compile" |
20847 |
-case "(($ac_try" in |
20848 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
20849 |
- *) ac_try_echo=$ac_try;; |
20850 |
-esac |
20851 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
20852 |
- (eval "$ac_compile") 2>conftest.er1 |
20853 |
- ac_status=$? |
20854 |
- grep -v '^ *+' conftest.er1 >conftest.err |
20855 |
- rm -f conftest.er1 |
20856 |
- cat conftest.err >&5 |
20857 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20858 |
- (exit $ac_status); } && { |
20859 |
- test -z "$ac_cxx_werror_flag" || |
20860 |
- test ! -s conftest.err |
20861 |
- } && test -s conftest.$ac_objext; then |
20862 |
+if ac_fn_cxx_try_compile "$LINENO"; then : |
20863 |
ac_cv_prog_cxx_g=yes |
20864 |
-else |
20865 |
- echo "$as_me: failed program was:" >&5 |
20866 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
20867 |
- |
20868 |
- |
20869 |
fi |
20870 |
- |
20871 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
20872 |
fi |
20873 |
- |
20874 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
20875 |
fi |
20876 |
- |
20877 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
20878 |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
20879 |
fi |
20880 |
-{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
20881 |
-echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } |
20882 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 |
20883 |
+$as_echo "$ac_cv_prog_cxx_g" >&6; } |
20884 |
if test "$ac_test_CXXFLAGS" = set; then |
20885 |
CXXFLAGS=$ac_save_CXXFLAGS |
20886 |
elif test $ac_cv_prog_cxx_g = yes; then |
20887 |
@@ -19013,17 +8817,18 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu |
20888 |
|
20889 |
depcc="$CXX" am_compiler_list= |
20890 |
|
20891 |
-{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
20892 |
-echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } |
20893 |
-if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then |
20894 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
20895 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
20896 |
+$as_echo_n "checking dependency style of $depcc... " >&6; } |
20897 |
+if ${am_cv_CXX_dependencies_compiler_type+:} false; then : |
20898 |
+ $as_echo_n "(cached) " >&6 |
20899 |
else |
20900 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
20901 |
# We make a subdir and do the tests there. Otherwise we can end up |
20902 |
# making bogus files that we don't know about and never remove. For |
20903 |
# instance it was reported that on HP-UX the gcc test will end up |
20904 |
- # making a dummy file named `D' -- because `-MD' means `put the output |
20905 |
- # in D'. |
20906 |
+ # making a dummy file named 'D' -- because '-MD' means "put the output |
20907 |
+ # in D". |
20908 |
+ rm -rf conftest.dir |
20909 |
mkdir conftest.dir |
20910 |
# Copy depcomp to subdir because otherwise we won't find it if we're |
20911 |
# using a relative directory. |
20912 |
@@ -19041,6 +8846,11 @@ else |
20913 |
if test "$am_compiler_list" = ""; then |
20914 |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
20915 |
fi |
20916 |
+ am__universal=false |
20917 |
+ case " $depcc " in #( |
20918 |
+ *\ -arch\ *\ -arch\ *) am__universal=true ;; |
20919 |
+ esac |
20920 |
+ |
20921 |
for depmode in $am_compiler_list; do |
20922 |
# Setup a source with many dependencies, because some compilers |
20923 |
# like to wrap large dependency lists on column 80 (with \), and |
20924 |
@@ -19052,34 +8862,49 @@ else |
20925 |
: > sub/conftest.c |
20926 |
for i in 1 2 3 4 5 6; do |
20927 |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
20928 |
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
20929 |
- # Solaris 8's {/usr,}/bin/sh. |
20930 |
- touch sub/conftst$i.h |
20931 |
+ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
20932 |
+ # Solaris 10 /bin/sh. |
20933 |
+ echo '/* dummy */' > sub/conftst$i.h |
20934 |
done |
20935 |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
20936 |
|
20937 |
+ # We check with '-c' and '-o' for the sake of the "dashmstdout" |
20938 |
+ # mode. It turns out that the SunPro C++ compiler does not properly |
20939 |
+ # handle '-M -o', and we need to detect this. Also, some Intel |
20940 |
+ # versions had trouble with output in subdirs. |
20941 |
+ am__obj=sub/conftest.${OBJEXT-o} |
20942 |
+ am__minus_obj="-o $am__obj" |
20943 |
case $depmode in |
20944 |
+ gcc) |
20945 |
+ # This depmode causes a compiler race in universal mode. |
20946 |
+ test "$am__universal" = false || continue |
20947 |
+ ;; |
20948 |
nosideeffect) |
20949 |
- # after this tag, mechanisms are not by side-effect, so they'll |
20950 |
- # only be used when explicitly requested |
20951 |
+ # After this tag, mechanisms are not by side-effect, so they'll |
20952 |
+ # only be used when explicitly requested. |
20953 |
if test "x$enable_dependency_tracking" = xyes; then |
20954 |
continue |
20955 |
else |
20956 |
break |
20957 |
fi |
20958 |
;; |
20959 |
+ msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
20960 |
+ # This compiler won't grok '-c -o', but also, the minuso test has |
20961 |
+ # not run yet. These depmodes are late enough in the game, and |
20962 |
+ # so weak that their functioning should not be impacted. |
20963 |
+ am__obj=conftest.${OBJEXT-o} |
20964 |
+ am__minus_obj= |
20965 |
+ ;; |
20966 |
none) break ;; |
20967 |
esac |
20968 |
- # We check with `-c' and `-o' for the sake of the "dashmstdout" |
20969 |
- # mode. It turns out that the SunPro C++ compiler does not properly |
20970 |
- # handle `-M -o', and we need to detect this. |
20971 |
if depmode=$depmode \ |
20972 |
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ |
20973 |
+ source=sub/conftest.c object=$am__obj \ |
20974 |
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
20975 |
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ |
20976 |
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
20977 |
>/dev/null 2>conftest.err && |
20978 |
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
20979 |
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
20980 |
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
20981 |
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
20982 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
20983 |
# icc doesn't choke on unknown options, it will just issue warnings |
20984 |
# or remarks (even with -Werror). So we grep stderr for any message |
20985 |
@@ -19103,13 +8928,11 @@ else |
20986 |
fi |
20987 |
|
20988 |
fi |
20989 |
-{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 |
20990 |
-echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; } |
20991 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 |
20992 |
+$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } |
20993 |
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type |
20994 |
|
20995 |
- |
20996 |
- |
20997 |
-if |
20998 |
+ if |
20999 |
test "x$enable_dependency_tracking" != xno \ |
21000 |
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then |
21001 |
am__fastdepCXX_TRUE= |
21002 |
@@ -19120,9 +8943,7 @@ else |
21003 |
fi |
21004 |
|
21005 |
|
21006 |
- cat >>confdefs.h <<\_ACEOF |
21007 |
-#define GRDRV_ATHEOS 1 |
21008 |
-_ACEOF |
21009 |
+ $as_echo "#define GRDRV_ATHEOS 1" >>confdefs.h |
21010 |
|
21011 |
drivers="$drivers ATHEOS" |
21012 |
cf_have_atheos=yes |
21013 |
@@ -19131,15 +8952,11 @@ _ACEOF |
21014 |
fi |
21015 |
|
21016 |
if test -z "$drivers"; then |
21017 |
- { { echo "$as_me:$LINENO: error: No graphics drivers found." >&5 |
21018 |
-echo "$as_me: error: No graphics drivers found." >&2;} |
21019 |
- { (exit 1); exit 1; }; } |
21020 |
+ as_fn_error $? "No graphics drivers found." "$LINENO" 5 |
21021 |
fi |
21022 |
fi |
21023 |
|
21024 |
- |
21025 |
- |
21026 |
-if test "$cf_have_atheos" = yes; then |
21027 |
+ if test "$cf_have_atheos" = yes; then |
21028 |
ATHEOS_GR_TRUE= |
21029 |
ATHEOS_GR_FALSE='#' |
21030 |
else |
21031 |
@@ -19154,10 +8971,10 @@ test "$have_emx" = yes && LDFLAGS=`echo |
21032 |
if test "$disable_freetype" != yes ; then |
21033 |
# Extract the first word of "freetype-config", so it can be a program name with args. |
21034 |
set dummy freetype-config; ac_word=$2 |
21035 |
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
21036 |
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
21037 |
-if test "${ac_cv_prog_FREETYPE+set}" = set; then |
21038 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
21039 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
21040 |
+$as_echo_n "checking for $ac_word... " >&6; } |
21041 |
+if ${ac_cv_prog_FREETYPE+:} false; then : |
21042 |
+ $as_echo_n "(cached) " >&6 |
21043 |
else |
21044 |
if test -n "$FREETYPE"; then |
21045 |
ac_cv_prog_FREETYPE="$FREETYPE" # Let the user override the test. |
21046 |
@@ -19167,14 +8984,14 @@ for as_dir in $PATH |
21047 |
do |
21048 |
IFS=$as_save_IFS |
21049 |
test -z "$as_dir" && as_dir=. |
21050 |
- for ac_exec_ext in '' $ac_executable_extensions; do |
21051 |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
21052 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
21053 |
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
21054 |
ac_cv_prog_FREETYPE="yes" |
21055 |
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
21056 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
21057 |
break 2 |
21058 |
fi |
21059 |
done |
21060 |
-done |
21061 |
+ done |
21062 |
IFS=$as_save_IFS |
21063 |
|
21064 |
test -z "$ac_cv_prog_FREETYPE" && ac_cv_prog_FREETYPE="no" |
21065 |
@@ -19182,11 +8999,11 @@ fi |
21066 |
fi |
21067 |
FREETYPE=$ac_cv_prog_FREETYPE |
21068 |
if test -n "$FREETYPE"; then |
21069 |
- { echo "$as_me:$LINENO: result: $FREETYPE" >&5 |
21070 |
-echo "${ECHO_T}$FREETYPE" >&6; } |
21071 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FREETYPE" >&5 |
21072 |
+$as_echo "$FREETYPE" >&6; } |
21073 |
else |
21074 |
- { echo "$as_me:$LINENO: result: no" >&5 |
21075 |
-echo "${ECHO_T}no" >&6; } |
21076 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
21077 |
+$as_echo "no" >&6; } |
21078 |
fi |
21079 |
|
21080 |
|
21081 |
@@ -19194,23 +9011,17 @@ fi |
21082 |
if test "$FREETYPE" != "no"; then |
21083 |
CFLAGS="$CFLAGS `freetype-config --cflags`" |
21084 |
LIBS="$LIBS `freetype-config --libs`" |
21085 |
- cat >>confdefs.h <<\_ACEOF |
21086 |
-#define HAVE_FREETYPE 1 |
21087 |
-_ACEOF |
21088 |
+ $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h |
21089 |
|
21090 |
fi |
21091 |
fi |
21092 |
|
21093 |
# Check whether --enable-globhist was given. |
21094 |
-if test "${enable_globhist+set}" = set; then |
21095 |
- enableval=$enable_globhist; if test "$enableval" = yes; then cat >>confdefs.h <<\_ACEOF |
21096 |
-#define GLOBHIST 1 |
21097 |
-_ACEOF |
21098 |
+if test "${enable_globhist+set}" = set; then : |
21099 |
+ enableval=$enable_globhist; if test "$enableval" = yes; then $as_echo "#define GLOBHIST 1" >>confdefs.h |
21100 |
fi |
21101 |
else |
21102 |
- cat >>confdefs.h <<\_ACEOF |
21103 |
-#define GLOBHIST 1 |
21104 |
-_ACEOF |
21105 |
+ $as_echo "#define GLOBHIST 1" >>confdefs.h |
21106 |
|
21107 |
fi |
21108 |
|
21109 |
@@ -19218,151 +9029,23 @@ fi |
21110 |
hm_enabled_backtrace=1 |
21111 |
|
21112 |
# Check whether --enable-backtrace was given. |
21113 |
-if test "${enable_backtrace+set}" = set; then |
21114 |
+if test "${enable_backtrace+set}" = set; then : |
21115 |
enableval=$enable_backtrace; if test "$enableval" != yes; then |
21116 |
hm_enabled_backtrace=0 |
21117 |
fi |
21118 |
fi |
21119 |
|
21120 |
|
21121 |
-{ echo "$as_me:$LINENO: checking for backtrace displaying support" >&5 |
21122 |
-echo $ECHO_N "checking for backtrace displaying support... $ECHO_C" >&6; } |
21123 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace displaying support" >&5 |
21124 |
+$as_echo_n "checking for backtrace displaying support... " >&6; } |
21125 |
|
21126 |
if test "$hm_enabled_backtrace"; then |
21127 |
- |
21128 |
-for ac_header in execinfo.h |
21129 |
-do |
21130 |
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
21131 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
21132 |
- { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
21133 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
21134 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
21135 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
21136 |
-fi |
21137 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
21138 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
21139 |
-echo "${ECHO_T}$ac_res" >&6; } |
21140 |
-else |
21141 |
- # Is the header compilable? |
21142 |
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
21143 |
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
21144 |
-cat >conftest.$ac_ext <<_ACEOF |
21145 |
-/* confdefs.h. */ |
21146 |
-_ACEOF |
21147 |
-cat confdefs.h >>conftest.$ac_ext |
21148 |
-cat >>conftest.$ac_ext <<_ACEOF |
21149 |
-/* end confdefs.h. */ |
21150 |
-$ac_includes_default |
21151 |
-#include <$ac_header> |
21152 |
-_ACEOF |
21153 |
-rm -f conftest.$ac_objext |
21154 |
-if { (ac_try="$ac_compile" |
21155 |
-case "(($ac_try" in |
21156 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
21157 |
- *) ac_try_echo=$ac_try;; |
21158 |
-esac |
21159 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
21160 |
- (eval "$ac_compile") 2>conftest.er1 |
21161 |
- ac_status=$? |
21162 |
- grep -v '^ *+' conftest.er1 >conftest.err |
21163 |
- rm -f conftest.er1 |
21164 |
- cat conftest.err >&5 |
21165 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21166 |
- (exit $ac_status); } && { |
21167 |
- test -z "$ac_c_werror_flag" || |
21168 |
- test ! -s conftest.err |
21169 |
- } && test -s conftest.$ac_objext; then |
21170 |
- ac_header_compiler=yes |
21171 |
-else |
21172 |
- echo "$as_me: failed program was:" >&5 |
21173 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
21174 |
- |
21175 |
- ac_header_compiler=no |
21176 |
-fi |
21177 |
- |
21178 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
21179 |
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
21180 |
-echo "${ECHO_T}$ac_header_compiler" >&6; } |
21181 |
- |
21182 |
-# Is the header present? |
21183 |
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
21184 |
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
21185 |
-cat >conftest.$ac_ext <<_ACEOF |
21186 |
-/* confdefs.h. */ |
21187 |
-_ACEOF |
21188 |
-cat confdefs.h >>conftest.$ac_ext |
21189 |
-cat >>conftest.$ac_ext <<_ACEOF |
21190 |
-/* end confdefs.h. */ |
21191 |
-#include <$ac_header> |
21192 |
-_ACEOF |
21193 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
21194 |
-case "(($ac_try" in |
21195 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
21196 |
- *) ac_try_echo=$ac_try;; |
21197 |
-esac |
21198 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
21199 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
21200 |
- ac_status=$? |
21201 |
- grep -v '^ *+' conftest.er1 >conftest.err |
21202 |
- rm -f conftest.er1 |
21203 |
- cat conftest.err >&5 |
21204 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21205 |
- (exit $ac_status); } >/dev/null && { |
21206 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
21207 |
- test ! -s conftest.err |
21208 |
- }; then |
21209 |
- ac_header_preproc=yes |
21210 |
-else |
21211 |
- echo "$as_me: failed program was:" >&5 |
21212 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
21213 |
- |
21214 |
- ac_header_preproc=no |
21215 |
-fi |
21216 |
- |
21217 |
-rm -f conftest.err conftest.$ac_ext |
21218 |
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
21219 |
-echo "${ECHO_T}$ac_header_preproc" >&6; } |
21220 |
- |
21221 |
-# So? What about this header? |
21222 |
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
21223 |
- yes:no: ) |
21224 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
21225 |
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
21226 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
21227 |
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
21228 |
- ac_header_preproc=yes |
21229 |
- ;; |
21230 |
- no:yes:* ) |
21231 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
21232 |
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
21233 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
21234 |
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
21235 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
21236 |
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
21237 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
21238 |
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
21239 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
21240 |
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
21241 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
21242 |
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
21243 |
- |
21244 |
- ;; |
21245 |
-esac |
21246 |
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
21247 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
21248 |
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
21249 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
21250 |
-else |
21251 |
- eval "$as_ac_Header=\$ac_header_preproc" |
21252 |
-fi |
21253 |
-ac_res=`eval echo '${'$as_ac_Header'}'` |
21254 |
- { echo "$as_me:$LINENO: result: $ac_res" >&5 |
21255 |
-echo "${ECHO_T}$ac_res" >&6; } |
21256 |
- |
21257 |
-fi |
21258 |
-if test `eval echo '${'$as_ac_Header'}'` = yes; then |
21259 |
+ for ac_header in execinfo.h |
21260 |
+do : |
21261 |
+ ac_fn_c_check_header_mongrel "$LINENO" "execinfo.h" "ac_cv_header_execinfo_h" "$ac_includes_default" |
21262 |
+if test "x$ac_cv_header_execinfo_h" = xyes; then : |
21263 |
cat >>confdefs.h <<_ACEOF |
21264 |
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
21265 |
+#define HAVE_EXECINFO_H 1 |
21266 |
_ACEOF |
21267 |
have_execinfo=1 |
21268 |
else |
21269 |
@@ -19373,27 +9056,21 @@ done |
21270 |
|
21271 |
# possible checks for other system-specific means go here |
21272 |
if test "$have_execinfo"; then |
21273 |
- cat >>confdefs.h <<\_ACEOF |
21274 |
-#define BACKTRACE 1 |
21275 |
-_ACEOF |
21276 |
+ $as_echo "#define BACKTRACE 1" >>confdefs.h |
21277 |
|
21278 |
fi |
21279 |
else |
21280 |
- { echo "$as_me:$LINENO: result: no" >&5 |
21281 |
-echo "${ECHO_T}no" >&6; } |
21282 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
21283 |
+$as_echo "no" >&6; } |
21284 |
fi |
21285 |
|
21286 |
|
21287 |
# Check whether --enable-gamma-correction was given. |
21288 |
-if test "${enable_gamma_correction+set}" = set; then |
21289 |
- enableval=$enable_gamma_correction; if test "$enableval" = yes; then cat >>confdefs.h <<\_ACEOF |
21290 |
-#define USE_GAMMA_CORRECTION 1 |
21291 |
-_ACEOF |
21292 |
+if test "${enable_gamma_correction+set}" = set; then : |
21293 |
+ enableval=$enable_gamma_correction; if test "$enableval" = yes; then $as_echo "#define USE_GAMMA_CORRECTION 1" >>confdefs.h |
21294 |
fi |
21295 |
else |
21296 |
- cat >>confdefs.h <<\_ACEOF |
21297 |
-#define USE_GAMMA_CORRECTION 1 |
21298 |
-_ACEOF |
21299 |
+ $as_echo "#define USE_GAMMA_CORRECTION 1" >>confdefs.h |
21300 |
|
21301 |
fi |
21302 |
|
21303 |
@@ -19427,12 +9104,13 @@ _ACEOF |
21304 |
case $ac_val in #( |
21305 |
*${as_nl}*) |
21306 |
case $ac_var in #( |
21307 |
- *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
21308 |
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
21309 |
+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
21310 |
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
21311 |
esac |
21312 |
case $ac_var in #( |
21313 |
_ | IFS | as_nl) ;; #( |
21314 |
- *) $as_unset $ac_var ;; |
21315 |
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
21316 |
+ *) { eval $ac_var=; unset $ac_var;} ;; |
21317 |
esac ;; |
21318 |
esac |
21319 |
done |
21320 |
@@ -19440,8 +9118,8 @@ echo "$as_me: WARNING: Cache variable $a |
21321 |
(set) 2>&1 | |
21322 |
case $as_nl`(ac_space=' '; set) 2>&1` in #( |
21323 |
*${as_nl}ac_space=\ *) |
21324 |
- # `set' does not quote correctly, so add quotes (double-quote |
21325 |
- # substitution turns \\\\ into \\, and sed turns \\ into \). |
21326 |
+ # `set' does not quote correctly, so add quotes: double-quote |
21327 |
+ # substitution turns \\\\ into \\, and sed turns \\ into \. |
21328 |
sed -n \ |
21329 |
"s/'/'\\\\''/g; |
21330 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
21331 |
@@ -19463,13 +9141,24 @@ echo "$as_me: WARNING: Cache variable $a |
21332 |
:end' >>confcache |
21333 |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
21334 |
if test -w "$cache_file"; then |
21335 |
- test "x$cache_file" != "x/dev/null" && |
21336 |
- { echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
21337 |
-echo "$as_me: updating cache $cache_file" >&6;} |
21338 |
- cat confcache >$cache_file |
21339 |
+ if test "x$cache_file" != "x/dev/null"; then |
21340 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
21341 |
+$as_echo "$as_me: updating cache $cache_file" >&6;} |
21342 |
+ if test ! -f "$cache_file" || test -h "$cache_file"; then |
21343 |
+ cat confcache >"$cache_file" |
21344 |
+ else |
21345 |
+ case $cache_file in #( |
21346 |
+ */* | ?:*) |
21347 |
+ mv -f confcache "$cache_file"$$ && |
21348 |
+ mv -f "$cache_file"$$ "$cache_file" ;; #( |
21349 |
+ *) |
21350 |
+ mv -f confcache "$cache_file" ;; |
21351 |
+ esac |
21352 |
+ fi |
21353 |
+ fi |
21354 |
else |
21355 |
- { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
21356 |
-echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
21357 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
21358 |
+$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
21359 |
fi |
21360 |
fi |
21361 |
rm -f confcache |
21362 |
@@ -19485,66 +9174,66 @@ ac_ltlibobjs= |
21363 |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
21364 |
# 1. Remove the extension, and $U if already installed. |
21365 |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
21366 |
- ac_i=`echo "$ac_i" | sed "$ac_script"` |
21367 |
+ ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
21368 |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
21369 |
# will be set to the directory where LIBOBJS objects are built. |
21370 |
- ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
21371 |
- ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' |
21372 |
+ as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
21373 |
+ as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
21374 |
done |
21375 |
LIBOBJS=$ac_libobjs |
21376 |
|
21377 |
LTLIBOBJS=$ac_ltlibobjs |
21378 |
|
21379 |
|
21380 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 |
21381 |
+$as_echo_n "checking that generated files are newer than configure... " >&6; } |
21382 |
+ if test -n "$am_sleep_pid"; then |
21383 |
+ # Hide warnings about reused PIDs. |
21384 |
+ wait $am_sleep_pid 2>/dev/null |
21385 |
+ fi |
21386 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 |
21387 |
+$as_echo "done" >&6; } |
21388 |
+ if test -n "$EXEEXT"; then |
21389 |
+ am__EXEEXT_TRUE= |
21390 |
+ am__EXEEXT_FALSE='#' |
21391 |
+else |
21392 |
+ am__EXEEXT_TRUE='#' |
21393 |
+ am__EXEEXT_FALSE= |
21394 |
+fi |
21395 |
+ |
21396 |
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
21397 |
- { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. |
21398 |
-Usually this means the macro was only invoked conditionally." >&5 |
21399 |
-echo "$as_me: error: conditional \"AMDEP\" was never defined. |
21400 |
-Usually this means the macro was only invoked conditionally." >&2;} |
21401 |
- { (exit 1); exit 1; }; } |
21402 |
+ as_fn_error $? "conditional \"AMDEP\" was never defined. |
21403 |
+Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
21404 |
fi |
21405 |
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
21406 |
- { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. |
21407 |
-Usually this means the macro was only invoked conditionally." >&5 |
21408 |
-echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. |
21409 |
-Usually this means the macro was only invoked conditionally." >&2;} |
21410 |
- { (exit 1); exit 1; }; } |
21411 |
+ as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
21412 |
+Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
21413 |
fi |
21414 |
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then |
21415 |
- { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. |
21416 |
-Usually this means the macro was only invoked conditionally." >&5 |
21417 |
-echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. |
21418 |
-Usually this means the macro was only invoked conditionally." >&2;} |
21419 |
- { (exit 1); exit 1; }; } |
21420 |
+ as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. |
21421 |
+Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
21422 |
fi |
21423 |
if test -z "${GRAPHICS_TRUE}" && test -z "${GRAPHICS_FALSE}"; then |
21424 |
- { { echo "$as_me:$LINENO: error: conditional \"GRAPHICS\" was never defined. |
21425 |
-Usually this means the macro was only invoked conditionally." >&5 |
21426 |
-echo "$as_me: error: conditional \"GRAPHICS\" was never defined. |
21427 |
-Usually this means the macro was only invoked conditionally." >&2;} |
21428 |
- { (exit 1); exit 1; }; } |
21429 |
+ as_fn_error $? "conditional \"GRAPHICS\" was never defined. |
21430 |
+Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
21431 |
fi |
21432 |
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then |
21433 |
- { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. |
21434 |
-Usually this means the macro was only invoked conditionally." >&5 |
21435 |
-echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. |
21436 |
-Usually this means the macro was only invoked conditionally." >&2;} |
21437 |
- { (exit 1); exit 1; }; } |
21438 |
+ as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. |
21439 |
+Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
21440 |
fi |
21441 |
if test -z "${ATHEOS_GR_TRUE}" && test -z "${ATHEOS_GR_FALSE}"; then |
21442 |
- { { echo "$as_me:$LINENO: error: conditional \"ATHEOS_GR\" was never defined. |
21443 |
-Usually this means the macro was only invoked conditionally." >&5 |
21444 |
-echo "$as_me: error: conditional \"ATHEOS_GR\" was never defined. |
21445 |
-Usually this means the macro was only invoked conditionally." >&2;} |
21446 |
- { (exit 1); exit 1; }; } |
21447 |
+ as_fn_error $? "conditional \"ATHEOS_GR\" was never defined. |
21448 |
+Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
21449 |
fi |
21450 |
|
21451 |
-: ${CONFIG_STATUS=./config.status} |
21452 |
+: "${CONFIG_STATUS=./config.status}" |
21453 |
+ac_write_fail=0 |
21454 |
ac_clean_files_save=$ac_clean_files |
21455 |
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
21456 |
-{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
21457 |
-echo "$as_me: creating $CONFIG_STATUS" >&6;} |
21458 |
-cat >$CONFIG_STATUS <<_ACEOF |
21459 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
21460 |
+$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
21461 |
+as_write_fail=0 |
21462 |
+cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
21463 |
#! $SHELL |
21464 |
# Generated by $as_me. |
21465 |
# Run this file to recreate the current configuration. |
21466 |
@@ -19554,59 +9243,79 @@ cat >$CONFIG_STATUS <<_ACEOF |
21467 |
debug=false |
21468 |
ac_cs_recheck=false |
21469 |
ac_cs_silent=false |
21470 |
-SHELL=\${CONFIG_SHELL-$SHELL} |
21471 |
-_ACEOF |
21472 |
|
21473 |
-cat >>$CONFIG_STATUS <<\_ACEOF |
21474 |
-## --------------------- ## |
21475 |
-## M4sh Initialization. ## |
21476 |
-## --------------------- ## |
21477 |
+SHELL=\${CONFIG_SHELL-$SHELL} |
21478 |
+export SHELL |
21479 |
+_ASEOF |
21480 |
+cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
21481 |
+## -------------------- ## |
21482 |
+## M4sh Initialization. ## |
21483 |
+## -------------------- ## |
21484 |
|
21485 |
# Be more Bourne compatible |
21486 |
DUALCASE=1; export DUALCASE # for MKS sh |
21487 |
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
21488 |
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
21489 |
emulate sh |
21490 |
NULLCMD=: |
21491 |
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
21492 |
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
21493 |
# is contrary to our usage. Disable this feature. |
21494 |
alias -g '${1+"$@"}'='"$@"' |
21495 |
setopt NO_GLOB_SUBST |
21496 |
else |
21497 |
- case `(set -o) 2>/dev/null` in |
21498 |
- *posix*) set -o posix ;; |
21499 |
+ case `(set -o) 2>/dev/null` in #( |
21500 |
+ *posix*) : |
21501 |
+ set -o posix ;; #( |
21502 |
+ *) : |
21503 |
+ ;; |
21504 |
esac |
21505 |
- |
21506 |
fi |
21507 |
|
21508 |
|
21509 |
- |
21510 |
- |
21511 |
-# PATH needs CR |
21512 |
-# Avoid depending upon Character Ranges. |
21513 |
-as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
21514 |
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
21515 |
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
21516 |
-as_cr_digits='0123456789' |
21517 |
-as_cr_alnum=$as_cr_Letters$as_cr_digits |
21518 |
- |
21519 |
-# The user is always right. |
21520 |
-if test "${PATH_SEPARATOR+set}" != set; then |
21521 |
- echo "#! /bin/sh" >conf$$.sh |
21522 |
- echo "exit 0" >>conf$$.sh |
21523 |
- chmod +x conf$$.sh |
21524 |
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
21525 |
- PATH_SEPARATOR=';' |
21526 |
+as_nl=' |
21527 |
+' |
21528 |
+export as_nl |
21529 |
+# Printing a long string crashes Solaris 7 /usr/bin/printf. |
21530 |
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
21531 |
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
21532 |
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
21533 |
+# Prefer a ksh shell builtin over an external printf program on Solaris, |
21534 |
+# but without wasting forks for bash or zsh. |
21535 |
+if test -z "$BASH_VERSION$ZSH_VERSION" \ |
21536 |
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
21537 |
+ as_echo='print -r --' |
21538 |
+ as_echo_n='print -rn --' |
21539 |
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
21540 |
+ as_echo='printf %s\n' |
21541 |
+ as_echo_n='printf %s' |
21542 |
+else |
21543 |
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
21544 |
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
21545 |
+ as_echo_n='/usr/ucb/echo -n' |
21546 |
else |
21547 |
- PATH_SEPARATOR=: |
21548 |
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
21549 |
+ as_echo_n_body='eval |
21550 |
+ arg=$1; |
21551 |
+ case $arg in #( |
21552 |
+ *"$as_nl"*) |
21553 |
+ expr "X$arg" : "X\\(.*\\)$as_nl"; |
21554 |
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
21555 |
+ esac; |
21556 |
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
21557 |
+ ' |
21558 |
+ export as_echo_n_body |
21559 |
+ as_echo_n='sh -c $as_echo_n_body as_echo' |
21560 |
fi |
21561 |
- rm -f conf$$.sh |
21562 |
+ export as_echo_body |
21563 |
+ as_echo='sh -c $as_echo_body as_echo' |
21564 |
fi |
21565 |
|
21566 |
-# Support unset when possible. |
21567 |
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
21568 |
- as_unset=unset |
21569 |
-else |
21570 |
- as_unset=false |
21571 |
+# The user is always right. |
21572 |
+if test "${PATH_SEPARATOR+set}" != set; then |
21573 |
+ PATH_SEPARATOR=: |
21574 |
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
21575 |
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
21576 |
+ PATH_SEPARATOR=';' |
21577 |
+ } |
21578 |
fi |
21579 |
|
21580 |
|
21581 |
@@ -19615,20 +9324,19 @@ fi |
21582 |
# there to prevent editors from complaining about space-tab. |
21583 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
21584 |
# splitting by setting IFS to empty value.) |
21585 |
-as_nl=' |
21586 |
-' |
21587 |
IFS=" "" $as_nl" |
21588 |
|
21589 |
# Find who we are. Look in the path if we contain no directory separator. |
21590 |
-case $0 in |
21591 |
+as_myself= |
21592 |
+case $0 in #(( |
21593 |
*[\\/]* ) as_myself=$0 ;; |
21594 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
21595 |
for as_dir in $PATH |
21596 |
do |
21597 |
IFS=$as_save_IFS |
21598 |
test -z "$as_dir" && as_dir=. |
21599 |
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
21600 |
-done |
21601 |
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
21602 |
+ done |
21603 |
IFS=$as_save_IFS |
21604 |
|
21605 |
;; |
21606 |
@@ -19639,32 +9347,111 @@ if test "x$as_myself" = x; then |
21607 |
as_myself=$0 |
21608 |
fi |
21609 |
if test ! -f "$as_myself"; then |
21610 |
- echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
21611 |
- { (exit 1); exit 1; } |
21612 |
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
21613 |
+ exit 1 |
21614 |
fi |
21615 |
|
21616 |
-# Work around bugs in pre-3.0 UWIN ksh. |
21617 |
-for as_var in ENV MAIL MAILPATH |
21618 |
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
21619 |
+# Unset variables that we do not need and which cause bugs (e.g. in |
21620 |
+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
21621 |
+# suppresses any "Segmentation fault" message there. '((' could |
21622 |
+# trigger a bug in pdksh 5.2.14. |
21623 |
+for as_var in BASH_ENV ENV MAIL MAILPATH |
21624 |
+do eval test x\${$as_var+set} = xset \ |
21625 |
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
21626 |
done |
21627 |
PS1='$ ' |
21628 |
PS2='> ' |
21629 |
PS4='+ ' |
21630 |
|
21631 |
# NLS nuisances. |
21632 |
-for as_var in \ |
21633 |
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
21634 |
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
21635 |
- LC_TELEPHONE LC_TIME |
21636 |
-do |
21637 |
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
21638 |
- eval $as_var=C; export $as_var |
21639 |
- else |
21640 |
- ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
21641 |
+LC_ALL=C |
21642 |
+export LC_ALL |
21643 |
+LANGUAGE=C |
21644 |
+export LANGUAGE |
21645 |
+ |
21646 |
+# CDPATH. |
21647 |
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
21648 |
+ |
21649 |
+ |
21650 |
+# as_fn_error STATUS ERROR [LINENO LOG_FD] |
21651 |
+# ---------------------------------------- |
21652 |
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
21653 |
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
21654 |
+# script with STATUS, using 1 if that was 0. |
21655 |
+as_fn_error () |
21656 |
+{ |
21657 |
+ as_status=$1; test $as_status -eq 0 && as_status=1 |
21658 |
+ if test "$4"; then |
21659 |
+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
21660 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
21661 |
fi |
21662 |
-done |
21663 |
+ $as_echo "$as_me: error: $2" >&2 |
21664 |
+ as_fn_exit $as_status |
21665 |
+} # as_fn_error |
21666 |
+ |
21667 |
+ |
21668 |
+# as_fn_set_status STATUS |
21669 |
+# ----------------------- |
21670 |
+# Set $? to STATUS, without forking. |
21671 |
+as_fn_set_status () |
21672 |
+{ |
21673 |
+ return $1 |
21674 |
+} # as_fn_set_status |
21675 |
+ |
21676 |
+# as_fn_exit STATUS |
21677 |
+# ----------------- |
21678 |
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
21679 |
+as_fn_exit () |
21680 |
+{ |
21681 |
+ set +e |
21682 |
+ as_fn_set_status $1 |
21683 |
+ exit $1 |
21684 |
+} # as_fn_exit |
21685 |
+ |
21686 |
+# as_fn_unset VAR |
21687 |
+# --------------- |
21688 |
+# Portably unset VAR. |
21689 |
+as_fn_unset () |
21690 |
+{ |
21691 |
+ { eval $1=; unset $1;} |
21692 |
+} |
21693 |
+as_unset=as_fn_unset |
21694 |
+# as_fn_append VAR VALUE |
21695 |
+# ---------------------- |
21696 |
+# Append the text in VALUE to the end of the definition contained in VAR. Take |
21697 |
+# advantage of any shell optimizations that allow amortized linear growth over |
21698 |
+# repeated appends, instead of the typical quadratic growth present in naive |
21699 |
+# implementations. |
21700 |
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
21701 |
+ eval 'as_fn_append () |
21702 |
+ { |
21703 |
+ eval $1+=\$2 |
21704 |
+ }' |
21705 |
+else |
21706 |
+ as_fn_append () |
21707 |
+ { |
21708 |
+ eval $1=\$$1\$2 |
21709 |
+ } |
21710 |
+fi # as_fn_append |
21711 |
+ |
21712 |
+# as_fn_arith ARG... |
21713 |
+# ------------------ |
21714 |
+# Perform arithmetic evaluation on the ARGs, and store the result in the |
21715 |
+# global $as_val. Take advantage of shells that can avoid forks. The arguments |
21716 |
+# must be portable across $(()) and expr. |
21717 |
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
21718 |
+ eval 'as_fn_arith () |
21719 |
+ { |
21720 |
+ as_val=$(( $* )) |
21721 |
+ }' |
21722 |
+else |
21723 |
+ as_fn_arith () |
21724 |
+ { |
21725 |
+ as_val=`expr "$@" || test $? -eq 1` |
21726 |
+ } |
21727 |
+fi # as_fn_arith |
21728 |
+ |
21729 |
|
21730 |
-# Required to use basename. |
21731 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
21732 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
21733 |
as_expr=expr |
21734 |
@@ -19678,13 +9465,17 @@ else |
21735 |
as_basename=false |
21736 |
fi |
21737 |
|
21738 |
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
21739 |
+ as_dirname=dirname |
21740 |
+else |
21741 |
+ as_dirname=false |
21742 |
+fi |
21743 |
|
21744 |
-# Name of the executable. |
21745 |
as_me=`$as_basename -- "$0" || |
21746 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
21747 |
X"$0" : 'X\(//\)$' \| \ |
21748 |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
21749 |
-echo X/"$0" | |
21750 |
+$as_echo X/"$0" | |
21751 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
21752 |
s//\1/ |
21753 |
q |
21754 |
@@ -19699,131 +9490,118 @@ echo X/"$0" | |
21755 |
} |
21756 |
s/.*/./; q'` |
21757 |
|
21758 |
-# CDPATH. |
21759 |
-$as_unset CDPATH |
21760 |
- |
21761 |
- |
21762 |
- |
21763 |
- as_lineno_1=$LINENO |
21764 |
- as_lineno_2=$LINENO |
21765 |
- test "x$as_lineno_1" != "x$as_lineno_2" && |
21766 |
- test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
21767 |
- |
21768 |
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
21769 |
- # uniformly replaced by the line number. The first 'sed' inserts a |
21770 |
- # line-number line after each line using $LINENO; the second 'sed' |
21771 |
- # does the real work. The second script uses 'N' to pair each |
21772 |
- # line-number line with the line containing $LINENO, and appends |
21773 |
- # trailing '-' during substitution so that $LINENO is not a special |
21774 |
- # case at line end. |
21775 |
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
21776 |
- # scripts with optimization help from Paolo Bonzini. Blame Lee |
21777 |
- # E. McMahon (1931-1989) for sed's syntax. :-) |
21778 |
- sed -n ' |
21779 |
- p |
21780 |
- /[$]LINENO/= |
21781 |
- ' <$as_myself | |
21782 |
- sed ' |
21783 |
- s/[$]LINENO.*/&-/ |
21784 |
- t lineno |
21785 |
- b |
21786 |
- :lineno |
21787 |
- N |
21788 |
- :loop |
21789 |
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
21790 |
- t loop |
21791 |
- s/-\n.*// |
21792 |
- ' >$as_me.lineno && |
21793 |
- chmod +x "$as_me.lineno" || |
21794 |
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
21795 |
- { (exit 1); exit 1; }; } |
21796 |
- |
21797 |
- # Don't try to exec as it changes $[0], causing all sort of problems |
21798 |
- # (the dirname of $[0] is not the place where we might find the |
21799 |
- # original and so on. Autoconf is especially sensitive to this). |
21800 |
- . "./$as_me.lineno" |
21801 |
- # Exit status is that of the last command. |
21802 |
- exit |
21803 |
-} |
21804 |
- |
21805 |
- |
21806 |
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
21807 |
- as_dirname=dirname |
21808 |
-else |
21809 |
- as_dirname=false |
21810 |
-fi |
21811 |
+# Avoid depending upon Character Ranges. |
21812 |
+as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
21813 |
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
21814 |
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
21815 |
+as_cr_digits='0123456789' |
21816 |
+as_cr_alnum=$as_cr_Letters$as_cr_digits |
21817 |
|
21818 |
ECHO_C= ECHO_N= ECHO_T= |
21819 |
-case `echo -n x` in |
21820 |
+case `echo -n x` in #((((( |
21821 |
-n*) |
21822 |
- case `echo 'x\c'` in |
21823 |
+ case `echo 'xy\c'` in |
21824 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
21825 |
- *) ECHO_C='\c';; |
21826 |
+ xy) ECHO_C='\c';; |
21827 |
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
21828 |
+ ECHO_T=' ';; |
21829 |
esac;; |
21830 |
*) |
21831 |
ECHO_N='-n';; |
21832 |
esac |
21833 |
|
21834 |
-if expr a : '\(a\)' >/dev/null 2>&1 && |
21835 |
- test "X`expr 00001 : '.*\(...\)'`" = X001; then |
21836 |
- as_expr=expr |
21837 |
-else |
21838 |
- as_expr=false |
21839 |
-fi |
21840 |
- |
21841 |
rm -f conf$$ conf$$.exe conf$$.file |
21842 |
if test -d conf$$.dir; then |
21843 |
rm -f conf$$.dir/conf$$.file |
21844 |
else |
21845 |
rm -f conf$$.dir |
21846 |
- mkdir conf$$.dir |
21847 |
+ mkdir conf$$.dir 2>/dev/null |
21848 |
fi |
21849 |
-echo >conf$$.file |
21850 |
-if ln -s conf$$.file conf$$ 2>/dev/null; then |
21851 |
- as_ln_s='ln -s' |
21852 |
- # ... but there are two gotchas: |
21853 |
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
21854 |
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
21855 |
- # In both cases, we have to default to `cp -p'. |
21856 |
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
21857 |
- as_ln_s='cp -p' |
21858 |
-elif ln conf$$.file conf$$ 2>/dev/null; then |
21859 |
- as_ln_s=ln |
21860 |
+if (echo >conf$$.file) 2>/dev/null; then |
21861 |
+ if ln -s conf$$.file conf$$ 2>/dev/null; then |
21862 |
+ as_ln_s='ln -s' |
21863 |
+ # ... but there are two gotchas: |
21864 |
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
21865 |
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
21866 |
+ # In both cases, we have to default to `cp -pR'. |
21867 |
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
21868 |
+ as_ln_s='cp -pR' |
21869 |
+ elif ln conf$$.file conf$$ 2>/dev/null; then |
21870 |
+ as_ln_s=ln |
21871 |
+ else |
21872 |
+ as_ln_s='cp -pR' |
21873 |
+ fi |
21874 |
else |
21875 |
- as_ln_s='cp -p' |
21876 |
+ as_ln_s='cp -pR' |
21877 |
fi |
21878 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
21879 |
rmdir conf$$.dir 2>/dev/null |
21880 |
|
21881 |
+ |
21882 |
+# as_fn_mkdir_p |
21883 |
+# ------------- |
21884 |
+# Create "$as_dir" as a directory, including parents if necessary. |
21885 |
+as_fn_mkdir_p () |
21886 |
+{ |
21887 |
+ |
21888 |
+ case $as_dir in #( |
21889 |
+ -*) as_dir=./$as_dir;; |
21890 |
+ esac |
21891 |
+ test -d "$as_dir" || eval $as_mkdir_p || { |
21892 |
+ as_dirs= |
21893 |
+ while :; do |
21894 |
+ case $as_dir in #( |
21895 |
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
21896 |
+ *) as_qdir=$as_dir;; |
21897 |
+ esac |
21898 |
+ as_dirs="'$as_qdir' $as_dirs" |
21899 |
+ as_dir=`$as_dirname -- "$as_dir" || |
21900 |
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
21901 |
+ X"$as_dir" : 'X\(//\)[^/]' \| \ |
21902 |
+ X"$as_dir" : 'X\(//\)$' \| \ |
21903 |
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
21904 |
+$as_echo X"$as_dir" | |
21905 |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
21906 |
+ s//\1/ |
21907 |
+ q |
21908 |
+ } |
21909 |
+ /^X\(\/\/\)[^/].*/{ |
21910 |
+ s//\1/ |
21911 |
+ q |
21912 |
+ } |
21913 |
+ /^X\(\/\/\)$/{ |
21914 |
+ s//\1/ |
21915 |
+ q |
21916 |
+ } |
21917 |
+ /^X\(\/\).*/{ |
21918 |
+ s//\1/ |
21919 |
+ q |
21920 |
+ } |
21921 |
+ s/.*/./; q'` |
21922 |
+ test -d "$as_dir" && break |
21923 |
+ done |
21924 |
+ test -z "$as_dirs" || eval "mkdir $as_dirs" |
21925 |
+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
21926 |
+ |
21927 |
+ |
21928 |
+} # as_fn_mkdir_p |
21929 |
if mkdir -p . 2>/dev/null; then |
21930 |
- as_mkdir_p=: |
21931 |
+ as_mkdir_p='mkdir -p "$as_dir"' |
21932 |
else |
21933 |
test -d ./-p && rmdir ./-p |
21934 |
as_mkdir_p=false |
21935 |
fi |
21936 |
|
21937 |
-if test -x / >/dev/null 2>&1; then |
21938 |
- as_test_x='test -x' |
21939 |
-else |
21940 |
- if ls -dL / >/dev/null 2>&1; then |
21941 |
- as_ls_L_option=L |
21942 |
- else |
21943 |
- as_ls_L_option= |
21944 |
- fi |
21945 |
- as_test_x=' |
21946 |
- eval sh -c '\'' |
21947 |
- if test -d "$1"; then |
21948 |
- test -d "$1/."; |
21949 |
- else |
21950 |
- case $1 in |
21951 |
- -*)set "./$1";; |
21952 |
- esac; |
21953 |
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
21954 |
- ???[sx]*):;;*)false;;esac;fi |
21955 |
- '\'' sh |
21956 |
- ' |
21957 |
-fi |
21958 |
-as_executable_p=$as_test_x |
21959 |
+ |
21960 |
+# as_fn_executable_p FILE |
21961 |
+# ----------------------- |
21962 |
+# Test if FILE is an executable regular file. |
21963 |
+as_fn_executable_p () |
21964 |
+{ |
21965 |
+ test -f "$1" && test -x "$1" |
21966 |
+} # as_fn_executable_p |
21967 |
+as_test_x='test -x' |
21968 |
+as_executable_p=as_fn_executable_p |
21969 |
|
21970 |
# Sed expression to map a string onto a valid CPP name. |
21971 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
21972 |
@@ -19833,13 +9611,19 @@ as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr |
21973 |
|
21974 |
|
21975 |
exec 6>&1 |
21976 |
+## ----------------------------------- ## |
21977 |
+## Main body of $CONFIG_STATUS script. ## |
21978 |
+## ----------------------------------- ## |
21979 |
+_ASEOF |
21980 |
+test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 |
21981 |
|
21982 |
-# Save the log message, to keep $[0] and so on meaningful, and to |
21983 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
21984 |
+# Save the log message, to keep $0 and so on meaningful, and to |
21985 |
# report actual input values of CONFIG_FILES etc. instead of their |
21986 |
# values after options handling. |
21987 |
ac_log=" |
21988 |
This file was extended by $as_me, which was |
21989 |
-generated by GNU Autoconf 2.61. Invocation command line was |
21990 |
+generated by GNU Autoconf 2.69. Invocation command line was |
21991 |
|
21992 |
CONFIG_FILES = $CONFIG_FILES |
21993 |
CONFIG_HEADERS = $CONFIG_HEADERS |
21994 |
@@ -19852,7 +9636,16 @@ on `(hostname || uname -n) 2>/dev/null | |
21995 |
|
21996 |
_ACEOF |
21997 |
|
21998 |
-cat >>$CONFIG_STATUS <<_ACEOF |
21999 |
+case $ac_config_files in *" |
22000 |
+"*) set x $ac_config_files; shift; ac_config_files=$*;; |
22001 |
+esac |
22002 |
+ |
22003 |
+case $ac_config_headers in *" |
22004 |
+"*) set x $ac_config_headers; shift; ac_config_headers=$*;; |
22005 |
+esac |
22006 |
+ |
22007 |
+ |
22008 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
22009 |
# Files that config.status was made for. |
22010 |
config_files="$ac_config_files" |
22011 |
config_headers="$ac_config_headers" |
22012 |
@@ -19860,22 +9653,25 @@ config_commands="$ac_config_commands" |
22013 |
|
22014 |
_ACEOF |
22015 |
|
22016 |
-cat >>$CONFIG_STATUS <<\_ACEOF |
22017 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
22018 |
ac_cs_usage="\ |
22019 |
-\`$as_me' instantiates files from templates according to the |
22020 |
-current configuration. |
22021 |
+\`$as_me' instantiates files and other configuration actions |
22022 |
+from templates according to the current configuration. Unless the files |
22023 |
+and actions are specified as TAGs, all are instantiated by default. |
22024 |
|
22025 |
-Usage: $0 [OPTIONS] [FILE]... |
22026 |
+Usage: $0 [OPTION]... [TAG]... |
22027 |
|
22028 |
-h, --help print this help, then exit |
22029 |
-V, --version print version number and configuration settings, then exit |
22030 |
- -q, --quiet do not print progress messages |
22031 |
+ --config print configuration, then exit |
22032 |
+ -q, --quiet, --silent |
22033 |
+ do not print progress messages |
22034 |
-d, --debug don't remove temporary files |
22035 |
--recheck update $as_me by reconfiguring in the same conditions |
22036 |
- --file=FILE[:TEMPLATE] |
22037 |
- instantiate the configuration file FILE |
22038 |
- --header=FILE[:TEMPLATE] |
22039 |
- instantiate the configuration header FILE |
22040 |
+ --file=FILE[:TEMPLATE] |
22041 |
+ instantiate the configuration file FILE |
22042 |
+ --header=FILE[:TEMPLATE] |
22043 |
+ instantiate the configuration header FILE |
22044 |
|
22045 |
Configuration files: |
22046 |
$config_files |
22047 |
@@ -19886,36 +9682,44 @@ $config_headers |
22048 |
Configuration commands: |
22049 |
$config_commands |
22050 |
|
22051 |
-Report bugs to <bug-autoconf@gnu.org>." |
22052 |
+Report bugs to the package provider." |
22053 |
|
22054 |
_ACEOF |
22055 |
-cat >>$CONFIG_STATUS <<_ACEOF |
22056 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
22057 |
+ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
22058 |
ac_cs_version="\\ |
22059 |
config.status |
22060 |
-configured by $0, generated by GNU Autoconf 2.61, |
22061 |
- with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
22062 |
+configured by $0, generated by GNU Autoconf 2.69, |
22063 |
+ with options \\"\$ac_cs_config\\" |
22064 |
|
22065 |
-Copyright (C) 2006 Free Software Foundation, Inc. |
22066 |
+Copyright (C) 2012 Free Software Foundation, Inc. |
22067 |
This config.status script is free software; the Free Software Foundation |
22068 |
gives unlimited permission to copy, distribute and modify it." |
22069 |
|
22070 |
ac_pwd='$ac_pwd' |
22071 |
srcdir='$srcdir' |
22072 |
INSTALL='$INSTALL' |
22073 |
+MKDIR_P='$MKDIR_P' |
22074 |
+AWK='$AWK' |
22075 |
+test -n "\$AWK" || AWK=awk |
22076 |
_ACEOF |
22077 |
|
22078 |
-cat >>$CONFIG_STATUS <<\_ACEOF |
22079 |
-# If no file are specified by the user, then we need to provide default |
22080 |
-# value. By we need to know if files were specified by the user. |
22081 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
22082 |
+# The default lists apply if the user does not specify any file. |
22083 |
ac_need_defaults=: |
22084 |
while test $# != 0 |
22085 |
do |
22086 |
case $1 in |
22087 |
- --*=*) |
22088 |
+ --*=?*) |
22089 |
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
22090 |
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
22091 |
ac_shift=: |
22092 |
;; |
22093 |
+ --*=) |
22094 |
+ ac_option=`expr "X$1" : 'X\([^=]*\)='` |
22095 |
+ ac_optarg= |
22096 |
+ ac_shift=: |
22097 |
+ ;; |
22098 |
*) |
22099 |
ac_option=$1 |
22100 |
ac_optarg=$2 |
22101 |
@@ -19928,34 +9732,41 @@ do |
22102 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
22103 |
ac_cs_recheck=: ;; |
22104 |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
22105 |
- echo "$ac_cs_version"; exit ;; |
22106 |
+ $as_echo "$ac_cs_version"; exit ;; |
22107 |
+ --config | --confi | --conf | --con | --co | --c ) |
22108 |
+ $as_echo "$ac_cs_config"; exit ;; |
22109 |
--debug | --debu | --deb | --de | --d | -d ) |
22110 |
debug=: ;; |
22111 |
--file | --fil | --fi | --f ) |
22112 |
$ac_shift |
22113 |
- CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
22114 |
+ case $ac_optarg in |
22115 |
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
22116 |
+ '') as_fn_error $? "missing file argument" ;; |
22117 |
+ esac |
22118 |
+ as_fn_append CONFIG_FILES " '$ac_optarg'" |
22119 |
ac_need_defaults=false;; |
22120 |
--header | --heade | --head | --hea ) |
22121 |
$ac_shift |
22122 |
- CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
22123 |
+ case $ac_optarg in |
22124 |
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
22125 |
+ esac |
22126 |
+ as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
22127 |
ac_need_defaults=false;; |
22128 |
--he | --h) |
22129 |
# Conflict between --help and --header |
22130 |
- { echo "$as_me: error: ambiguous option: $1 |
22131 |
-Try \`$0 --help' for more information." >&2 |
22132 |
- { (exit 1); exit 1; }; };; |
22133 |
+ as_fn_error $? "ambiguous option: \`$1' |
22134 |
+Try \`$0 --help' for more information.";; |
22135 |
--help | --hel | -h ) |
22136 |
- echo "$ac_cs_usage"; exit ;; |
22137 |
+ $as_echo "$ac_cs_usage"; exit ;; |
22138 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
22139 |
| -silent | --silent | --silen | --sile | --sil | --si | --s) |
22140 |
ac_cs_silent=: ;; |
22141 |
|
22142 |
# This is an error. |
22143 |
- -*) { echo "$as_me: error: unrecognized option: $1 |
22144 |
-Try \`$0 --help' for more information." >&2 |
22145 |
- { (exit 1); exit 1; }; } ;; |
22146 |
+ -*) as_fn_error $? "unrecognized option: \`$1' |
22147 |
+Try \`$0 --help' for more information." ;; |
22148 |
|
22149 |
- *) ac_config_targets="$ac_config_targets $1" |
22150 |
+ *) as_fn_append ac_config_targets " $1" |
22151 |
ac_need_defaults=false ;; |
22152 |
|
22153 |
esac |
22154 |
@@ -19970,27 +9781,29 @@ if $ac_cs_silent; then |
22155 |
fi |
22156 |
|
22157 |
_ACEOF |
22158 |
-cat >>$CONFIG_STATUS <<_ACEOF |
22159 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
22160 |
if \$ac_cs_recheck; then |
22161 |
- echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
22162 |
- CONFIG_SHELL=$SHELL |
22163 |
+ set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
22164 |
+ shift |
22165 |
+ \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
22166 |
+ CONFIG_SHELL='$SHELL' |
22167 |
export CONFIG_SHELL |
22168 |
- exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
22169 |
+ exec "\$@" |
22170 |
fi |
22171 |
|
22172 |
_ACEOF |
22173 |
-cat >>$CONFIG_STATUS <<\_ACEOF |
22174 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
22175 |
exec 5>>config.log |
22176 |
{ |
22177 |
echo |
22178 |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
22179 |
## Running $as_me. ## |
22180 |
_ASBOX |
22181 |
- echo "$ac_log" |
22182 |
+ $as_echo "$ac_log" |
22183 |
} >&5 |
22184 |
|
22185 |
_ACEOF |
22186 |
-cat >>$CONFIG_STATUS <<_ACEOF |
22187 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
22188 |
# |
22189 |
# INIT-COMMANDS |
22190 |
# |
22191 |
@@ -19998,7 +9811,7 @@ AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac |
22192 |
|
22193 |
_ACEOF |
22194 |
|
22195 |
-cat >>$CONFIG_STATUS <<\_ACEOF |
22196 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
22197 |
|
22198 |
# Handling of arguments. |
22199 |
for ac_config_target in $ac_config_targets |
22200 |
@@ -20011,9 +9824,7 @@ do |
22201 |
"js/Makefile") CONFIG_FILES="$CONFIG_FILES js/Makefile" ;; |
22202 |
"docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;; |
22203 |
|
22204 |
- *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
22205 |
-echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
22206 |
- { (exit 1); exit 1; }; };; |
22207 |
+ *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
22208 |
esac |
22209 |
done |
22210 |
|
22211 |
@@ -20036,204 +9847,302 @@ fi |
22212 |
# after its creation but before its name has been assigned to `$tmp'. |
22213 |
$debug || |
22214 |
{ |
22215 |
- tmp= |
22216 |
+ tmp= ac_tmp= |
22217 |
trap 'exit_status=$? |
22218 |
- { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
22219 |
+ : "${ac_tmp:=$tmp}" |
22220 |
+ { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
22221 |
' 0 |
22222 |
- trap '{ (exit 1); exit 1; }' 1 2 13 15 |
22223 |
+ trap 'as_fn_exit 1' 1 2 13 15 |
22224 |
} |
22225 |
# Create a (secure) tmp directory for tmp files. |
22226 |
|
22227 |
{ |
22228 |
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
22229 |
- test -n "$tmp" && test -d "$tmp" |
22230 |
+ test -d "$tmp" |
22231 |
} || |
22232 |
{ |
22233 |
tmp=./conf$$-$RANDOM |
22234 |
(umask 077 && mkdir "$tmp") |
22235 |
-} || |
22236 |
-{ |
22237 |
- echo "$me: cannot create a temporary directory in ." >&2 |
22238 |
- { (exit 1); exit 1; } |
22239 |
-} |
22240 |
- |
22241 |
-# |
22242 |
-# Set up the sed scripts for CONFIG_FILES section. |
22243 |
-# |
22244 |
+} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
22245 |
+ac_tmp=$tmp |
22246 |
|
22247 |
-# No need to generate the scripts if there are no CONFIG_FILES. |
22248 |
-# This happens for instance when ./config.status config.h |
22249 |
+# Set up the scripts for CONFIG_FILES section. |
22250 |
+# No need to generate them if there are no CONFIG_FILES. |
22251 |
+# This happens for instance with `./config.status config.h'. |
22252 |
if test -n "$CONFIG_FILES"; then |
22253 |
|
22254 |
-_ACEOF |
22255 |
|
22256 |
+ac_cr=`echo X | tr X '\015'` |
22257 |
+# On cygwin, bash can eat \r inside `` if the user requested igncr. |
22258 |
+# But we know of no other shell where ac_cr would be empty at this |
22259 |
+# point, so we can use a bashism as a fallback. |
22260 |
+if test "x$ac_cr" = x; then |
22261 |
+ eval ac_cr=\$\'\\r\' |
22262 |
+fi |
22263 |
+ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
22264 |
+if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
22265 |
+ ac_cs_awk_cr='\\r' |
22266 |
+else |
22267 |
+ ac_cs_awk_cr=$ac_cr |
22268 |
+fi |
22269 |
+ |
22270 |
+echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
22271 |
+_ACEOF |
22272 |
|
22273 |
|
22274 |
+{ |
22275 |
+ echo "cat >conf$$subs.awk <<_ACEOF" && |
22276 |
+ echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
22277 |
+ echo "_ACEOF" |
22278 |
+} >conf$$subs.sh || |
22279 |
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
22280 |
+ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
22281 |
ac_delim='%!_!# ' |
22282 |
for ac_last_try in false false false false false :; do |
22283 |
- cat >conf$$subs.sed <<_ACEOF |
22284 |
-SHELL!$SHELL$ac_delim |
22285 |
-PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim |
22286 |
-PACKAGE_NAME!$PACKAGE_NAME$ac_delim |
22287 |
-PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim |
22288 |
-PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim |
22289 |
-PACKAGE_STRING!$PACKAGE_STRING$ac_delim |
22290 |
-PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim |
22291 |
-exec_prefix!$exec_prefix$ac_delim |
22292 |
-prefix!$prefix$ac_delim |
22293 |
-program_transform_name!$program_transform_name$ac_delim |
22294 |
-bindir!$bindir$ac_delim |
22295 |
-sbindir!$sbindir$ac_delim |
22296 |
-libexecdir!$libexecdir$ac_delim |
22297 |
-datarootdir!$datarootdir$ac_delim |
22298 |
-datadir!$datadir$ac_delim |
22299 |
-sysconfdir!$sysconfdir$ac_delim |
22300 |
-sharedstatedir!$sharedstatedir$ac_delim |
22301 |
-localstatedir!$localstatedir$ac_delim |
22302 |
-includedir!$includedir$ac_delim |
22303 |
-oldincludedir!$oldincludedir$ac_delim |
22304 |
-docdir!$docdir$ac_delim |
22305 |
-infodir!$infodir$ac_delim |
22306 |
-htmldir!$htmldir$ac_delim |
22307 |
-dvidir!$dvidir$ac_delim |
22308 |
-pdfdir!$pdfdir$ac_delim |
22309 |
-psdir!$psdir$ac_delim |
22310 |
-libdir!$libdir$ac_delim |
22311 |
-localedir!$localedir$ac_delim |
22312 |
-mandir!$mandir$ac_delim |
22313 |
-DEFS!$DEFS$ac_delim |
22314 |
-ECHO_C!$ECHO_C$ac_delim |
22315 |
-ECHO_N!$ECHO_N$ac_delim |
22316 |
-ECHO_T!$ECHO_T$ac_delim |
22317 |
-LIBS!$LIBS$ac_delim |
22318 |
-build_alias!$build_alias$ac_delim |
22319 |
-host_alias!$host_alias$ac_delim |
22320 |
-target_alias!$target_alias$ac_delim |
22321 |
-INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim |
22322 |
-INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim |
22323 |
-INSTALL_DATA!$INSTALL_DATA$ac_delim |
22324 |
-CYGPATH_W!$CYGPATH_W$ac_delim |
22325 |
-PACKAGE!$PACKAGE$ac_delim |
22326 |
-VERSION!$VERSION$ac_delim |
22327 |
-ACLOCAL!$ACLOCAL$ac_delim |
22328 |
-AUTOCONF!$AUTOCONF$ac_delim |
22329 |
-AUTOMAKE!$AUTOMAKE$ac_delim |
22330 |
-AUTOHEADER!$AUTOHEADER$ac_delim |
22331 |
-MAKEINFO!$MAKEINFO$ac_delim |
22332 |
-install_sh!$install_sh$ac_delim |
22333 |
-STRIP!$STRIP$ac_delim |
22334 |
-INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim |
22335 |
-mkdir_p!$mkdir_p$ac_delim |
22336 |
-AWK!$AWK$ac_delim |
22337 |
-SET_MAKE!$SET_MAKE$ac_delim |
22338 |
-am__leading_dot!$am__leading_dot$ac_delim |
22339 |
-AMTAR!$AMTAR$ac_delim |
22340 |
-am__tar!$am__tar$ac_delim |
22341 |
-am__untar!$am__untar$ac_delim |
22342 |
-CC!$CC$ac_delim |
22343 |
-CFLAGS!$CFLAGS$ac_delim |
22344 |
-LDFLAGS!$LDFLAGS$ac_delim |
22345 |
-CPPFLAGS!$CPPFLAGS$ac_delim |
22346 |
-ac_ct_CC!$ac_ct_CC$ac_delim |
22347 |
-EXEEXT!$EXEEXT$ac_delim |
22348 |
-OBJEXT!$OBJEXT$ac_delim |
22349 |
-DEPDIR!$DEPDIR$ac_delim |
22350 |
-am__include!$am__include$ac_delim |
22351 |
-am__quote!$am__quote$ac_delim |
22352 |
-AMDEP_TRUE!$AMDEP_TRUE$ac_delim |
22353 |
-AMDEP_FALSE!$AMDEP_FALSE$ac_delim |
22354 |
-AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim |
22355 |
-CCDEPMODE!$CCDEPMODE$ac_delim |
22356 |
-am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim |
22357 |
-am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim |
22358 |
-CXX!$CXX$ac_delim |
22359 |
-CXXFLAGS!$CXXFLAGS$ac_delim |
22360 |
-ac_ct_CXX!$ac_ct_CXX$ac_delim |
22361 |
-CXXDEPMODE!$CXXDEPMODE$ac_delim |
22362 |
-am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim |
22363 |
-am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim |
22364 |
-RANLIB!$RANLIB$ac_delim |
22365 |
-CPP!$CPP$ac_delim |
22366 |
-GREP!$GREP$ac_delim |
22367 |
-EGREP!$EGREP$ac_delim |
22368 |
-LIBOBJS!$LIBOBJS$ac_delim |
22369 |
-GRAPHICS_TRUE!$GRAPHICS_TRUE$ac_delim |
22370 |
-GRAPHICS_FALSE!$GRAPHICS_FALSE$ac_delim |
22371 |
-DIRECTFB_CONFIG!$DIRECTFB_CONFIG$ac_delim |
22372 |
-XMKMF!$XMKMF$ac_delim |
22373 |
-ATHEOS_GR_TRUE!$ATHEOS_GR_TRUE$ac_delim |
22374 |
-ATHEOS_GR_FALSE!$ATHEOS_GR_FALSE$ac_delim |
22375 |
-FREETYPE!$FREETYPE$ac_delim |
22376 |
-LTLIBOBJS!$LTLIBOBJS$ac_delim |
22377 |
-_ACEOF |
22378 |
+ . ./conf$$subs.sh || |
22379 |
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
22380 |
|
22381 |
- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 93; then |
22382 |
+ ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
22383 |
+ if test $ac_delim_n = $ac_delim_num; then |
22384 |
break |
22385 |
elif $ac_last_try; then |
22386 |
- { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
22387 |
-echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
22388 |
- { (exit 1); exit 1; }; } |
22389 |
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
22390 |
else |
22391 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
22392 |
fi |
22393 |
done |
22394 |
+rm -f conf$$subs.sh |
22395 |
|
22396 |
-ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` |
22397 |
-if test -n "$ac_eof"; then |
22398 |
- ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` |
22399 |
- ac_eof=`expr $ac_eof + 1` |
22400 |
-fi |
22401 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
22402 |
+cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
22403 |
+_ACEOF |
22404 |
+sed -n ' |
22405 |
+h |
22406 |
+s/^/S["/; s/!.*/"]=/ |
22407 |
+p |
22408 |
+g |
22409 |
+s/^[^!]*!// |
22410 |
+:repl |
22411 |
+t repl |
22412 |
+s/'"$ac_delim"'$// |
22413 |
+t delim |
22414 |
+:nl |
22415 |
+h |
22416 |
+s/\(.\{148\}\)..*/\1/ |
22417 |
+t more1 |
22418 |
+s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
22419 |
+p |
22420 |
+n |
22421 |
+b repl |
22422 |
+:more1 |
22423 |
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
22424 |
+p |
22425 |
+g |
22426 |
+s/.\{148\}// |
22427 |
+t nl |
22428 |
+:delim |
22429 |
+h |
22430 |
+s/\(.\{148\}\)..*/\1/ |
22431 |
+t more2 |
22432 |
+s/["\\]/\\&/g; s/^/"/; s/$/"/ |
22433 |
+p |
22434 |
+b |
22435 |
+:more2 |
22436 |
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
22437 |
+p |
22438 |
+g |
22439 |
+s/.\{148\}// |
22440 |
+t delim |
22441 |
+' <conf$$subs.awk | sed ' |
22442 |
+/^[^""]/{ |
22443 |
+ N |
22444 |
+ s/\n// |
22445 |
+} |
22446 |
+' >>$CONFIG_STATUS || ac_write_fail=1 |
22447 |
+rm -f conf$$subs.awk |
22448 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
22449 |
+_ACAWK |
22450 |
+cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
22451 |
+ for (key in S) S_is_set[key] = 1 |
22452 |
+ FS = "" |
22453 |
|
22454 |
-cat >>$CONFIG_STATUS <<_ACEOF |
22455 |
-cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof |
22456 |
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end |
22457 |
+} |
22458 |
+{ |
22459 |
+ line = $ 0 |
22460 |
+ nfields = split(line, field, "@") |
22461 |
+ substed = 0 |
22462 |
+ len = length(field[1]) |
22463 |
+ for (i = 2; i < nfields; i++) { |
22464 |
+ key = field[i] |
22465 |
+ keylen = length(key) |
22466 |
+ if (S_is_set[key]) { |
22467 |
+ value = S[key] |
22468 |
+ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
22469 |
+ len += length(value) + length(field[++i]) |
22470 |
+ substed = 1 |
22471 |
+ } else |
22472 |
+ len += 1 + keylen |
22473 |
+ } |
22474 |
+ |
22475 |
+ print line |
22476 |
+} |
22477 |
+ |
22478 |
+_ACAWK |
22479 |
_ACEOF |
22480 |
-sed ' |
22481 |
-s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g |
22482 |
-s/^/s,@/; s/!/@,|#_!!_#|/ |
22483 |
-:n |
22484 |
-t n |
22485 |
-s/'"$ac_delim"'$/,g/; t |
22486 |
-s/$/\\/; p |
22487 |
-N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n |
22488 |
-' >>$CONFIG_STATUS <conf$$subs.sed |
22489 |
-rm -f conf$$subs.sed |
22490 |
-cat >>$CONFIG_STATUS <<_ACEOF |
22491 |
-:end |
22492 |
-s/|#_!!_#|//g |
22493 |
-CEOF$ac_eof |
22494 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
22495 |
+if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
22496 |
+ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
22497 |
+else |
22498 |
+ cat |
22499 |
+fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
22500 |
+ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
22501 |
_ACEOF |
22502 |
|
22503 |
- |
22504 |
-# VPATH may cause trouble with some makes, so we remove $(srcdir), |
22505 |
-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
22506 |
+# VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
22507 |
+# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
22508 |
# trailing colons and then remove the whole line if VPATH becomes empty |
22509 |
# (actually we leave an empty line to preserve line numbers). |
22510 |
if test "x$srcdir" = x.; then |
22511 |
- ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
22512 |
-s/:*\$(srcdir):*/:/ |
22513 |
-s/:*\${srcdir}:*/:/ |
22514 |
-s/:*@srcdir@:*/:/ |
22515 |
-s/^\([^=]*=[ ]*\):*/\1/ |
22516 |
+ ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
22517 |
+h |
22518 |
+s/// |
22519 |
+s/^/:/ |
22520 |
+s/[ ]*$/:/ |
22521 |
+s/:\$(srcdir):/:/g |
22522 |
+s/:\${srcdir}:/:/g |
22523 |
+s/:@srcdir@:/:/g |
22524 |
+s/^:*// |
22525 |
s/:*$// |
22526 |
+x |
22527 |
+s/\(=[ ]*\).*/\1/ |
22528 |
+G |
22529 |
+s/\n// |
22530 |
s/^[^=]*=[ ]*$// |
22531 |
}' |
22532 |
fi |
22533 |
|
22534 |
-cat >>$CONFIG_STATUS <<\_ACEOF |
22535 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
22536 |
fi # test -n "$CONFIG_FILES" |
22537 |
|
22538 |
+# Set up the scripts for CONFIG_HEADERS section. |
22539 |
+# No need to generate them if there are no CONFIG_HEADERS. |
22540 |
+# This happens for instance with `./config.status Makefile'. |
22541 |
+if test -n "$CONFIG_HEADERS"; then |
22542 |
+cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
22543 |
+BEGIN { |
22544 |
+_ACEOF |
22545 |
|
22546 |
-for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS |
22547 |
+# Transform confdefs.h into an awk script `defines.awk', embedded as |
22548 |
+# here-document in config.status, that substitutes the proper values into |
22549 |
+# config.h.in to produce config.h. |
22550 |
+ |
22551 |
+# Create a delimiter string that does not exist in confdefs.h, to ease |
22552 |
+# handling of long lines. |
22553 |
+ac_delim='%!_!# ' |
22554 |
+for ac_last_try in false false :; do |
22555 |
+ ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
22556 |
+ if test -z "$ac_tt"; then |
22557 |
+ break |
22558 |
+ elif $ac_last_try; then |
22559 |
+ as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
22560 |
+ else |
22561 |
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
22562 |
+ fi |
22563 |
+done |
22564 |
+ |
22565 |
+# For the awk script, D is an array of macro values keyed by name, |
22566 |
+# likewise P contains macro parameters if any. Preserve backslash |
22567 |
+# newline sequences. |
22568 |
+ |
22569 |
+ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
22570 |
+sed -n ' |
22571 |
+s/.\{148\}/&'"$ac_delim"'/g |
22572 |
+t rset |
22573 |
+:rset |
22574 |
+s/^[ ]*#[ ]*define[ ][ ]*/ / |
22575 |
+t def |
22576 |
+d |
22577 |
+:def |
22578 |
+s/\\$// |
22579 |
+t bsnl |
22580 |
+s/["\\]/\\&/g |
22581 |
+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
22582 |
+D["\1"]=" \3"/p |
22583 |
+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p |
22584 |
+d |
22585 |
+:bsnl |
22586 |
+s/["\\]/\\&/g |
22587 |
+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
22588 |
+D["\1"]=" \3\\\\\\n"\\/p |
22589 |
+t cont |
22590 |
+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p |
22591 |
+t cont |
22592 |
+d |
22593 |
+:cont |
22594 |
+n |
22595 |
+s/.\{148\}/&'"$ac_delim"'/g |
22596 |
+t clear |
22597 |
+:clear |
22598 |
+s/\\$// |
22599 |
+t bsnlc |
22600 |
+s/["\\]/\\&/g; s/^/"/; s/$/"/p |
22601 |
+d |
22602 |
+:bsnlc |
22603 |
+s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p |
22604 |
+b cont |
22605 |
+' <confdefs.h | sed ' |
22606 |
+s/'"$ac_delim"'/"\\\ |
22607 |
+"/g' >>$CONFIG_STATUS || ac_write_fail=1 |
22608 |
+ |
22609 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
22610 |
+ for (key in D) D_is_set[key] = 1 |
22611 |
+ FS = "" |
22612 |
+} |
22613 |
+/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { |
22614 |
+ line = \$ 0 |
22615 |
+ split(line, arg, " ") |
22616 |
+ if (arg[1] == "#") { |
22617 |
+ defundef = arg[2] |
22618 |
+ mac1 = arg[3] |
22619 |
+ } else { |
22620 |
+ defundef = substr(arg[1], 2) |
22621 |
+ mac1 = arg[2] |
22622 |
+ } |
22623 |
+ split(mac1, mac2, "(") #) |
22624 |
+ macro = mac2[1] |
22625 |
+ prefix = substr(line, 1, index(line, defundef) - 1) |
22626 |
+ if (D_is_set[macro]) { |
22627 |
+ # Preserve the white space surrounding the "#". |
22628 |
+ print prefix "define", macro P[macro] D[macro] |
22629 |
+ next |
22630 |
+ } else { |
22631 |
+ # Replace #undef with comments. This is necessary, for example, |
22632 |
+ # in the case of _POSIX_SOURCE, which is predefined and required |
22633 |
+ # on some systems where configure will not decide to define it. |
22634 |
+ if (defundef == "undef") { |
22635 |
+ print "/*", prefix defundef, macro, "*/" |
22636 |
+ next |
22637 |
+ } |
22638 |
+ } |
22639 |
+} |
22640 |
+{ print } |
22641 |
+_ACAWK |
22642 |
+_ACEOF |
22643 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
22644 |
+ as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 |
22645 |
+fi # test -n "$CONFIG_HEADERS" |
22646 |
+ |
22647 |
+ |
22648 |
+eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" |
22649 |
+shift |
22650 |
+for ac_tag |
22651 |
do |
22652 |
case $ac_tag in |
22653 |
:[FHLC]) ac_mode=$ac_tag; continue;; |
22654 |
esac |
22655 |
case $ac_mode$ac_tag in |
22656 |
:[FHL]*:*);; |
22657 |
- :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 |
22658 |
-echo "$as_me: error: Invalid tag $ac_tag." >&2;} |
22659 |
- { (exit 1); exit 1; }; };; |
22660 |
+ :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
22661 |
:[FH]-) ac_tag=-:-;; |
22662 |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
22663 |
esac |
22664 |
@@ -20252,7 +10161,7 @@ echo "$as_me: error: Invalid tag $ac_tag |
22665 |
for ac_f |
22666 |
do |
22667 |
case $ac_f in |
22668 |
- -) ac_f="$tmp/stdin";; |
22669 |
+ -) ac_f="$ac_tmp/stdin";; |
22670 |
*) # Look for the file first in the build tree, then in the source tree |
22671 |
# (if the path is not absolute). The absolute path cannot be DOS-style, |
22672 |
# because $ac_f cannot contain `:'. |
22673 |
@@ -20261,26 +10170,34 @@ echo "$as_me: error: Invalid tag $ac_tag |
22674 |
[\\/$]*) false;; |
22675 |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
22676 |
esac || |
22677 |
- { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 |
22678 |
-echo "$as_me: error: cannot find input file: $ac_f" >&2;} |
22679 |
- { (exit 1); exit 1; }; };; |
22680 |
+ as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
22681 |
esac |
22682 |
- ac_file_inputs="$ac_file_inputs $ac_f" |
22683 |
+ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
22684 |
+ as_fn_append ac_file_inputs " '$ac_f'" |
22685 |
done |
22686 |
|
22687 |
# Let's still pretend it is `configure' which instantiates (i.e., don't |
22688 |
# use $as_me), people would be surprised to read: |
22689 |
# /* config.h. Generated by config.status. */ |
22690 |
- configure_input="Generated from "`IFS=: |
22691 |
- echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." |
22692 |
+ configure_input='Generated from '` |
22693 |
+ $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
22694 |
+ `' by configure.' |
22695 |
if test x"$ac_file" != x-; then |
22696 |
configure_input="$ac_file. $configure_input" |
22697 |
- { echo "$as_me:$LINENO: creating $ac_file" >&5 |
22698 |
-echo "$as_me: creating $ac_file" >&6;} |
22699 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
22700 |
+$as_echo "$as_me: creating $ac_file" >&6;} |
22701 |
fi |
22702 |
+ # Neutralize special characters interpreted by sed in replacement strings. |
22703 |
+ case $configure_input in #( |
22704 |
+ *\&* | *\|* | *\\* ) |
22705 |
+ ac_sed_conf_input=`$as_echo "$configure_input" | |
22706 |
+ sed 's/[\\\\&|]/\\\\&/g'`;; #( |
22707 |
+ *) ac_sed_conf_input=$configure_input;; |
22708 |
+ esac |
22709 |
|
22710 |
case $ac_tag in |
22711 |
- *:-:* | *:-) cat >"$tmp/stdin";; |
22712 |
+ *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
22713 |
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
22714 |
esac |
22715 |
;; |
22716 |
esac |
22717 |
@@ -20290,42 +10207,7 @@ $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^ |
22718 |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
22719 |
X"$ac_file" : 'X\(//\)$' \| \ |
22720 |
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
22721 |
-echo X"$ac_file" | |
22722 |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
22723 |
- s//\1/ |
22724 |
- q |
22725 |
- } |
22726 |
- /^X\(\/\/\)[^/].*/{ |
22727 |
- s//\1/ |
22728 |
- q |
22729 |
- } |
22730 |
- /^X\(\/\/\)$/{ |
22731 |
- s//\1/ |
22732 |
- q |
22733 |
- } |
22734 |
- /^X\(\/\).*/{ |
22735 |
- s//\1/ |
22736 |
- q |
22737 |
- } |
22738 |
- s/.*/./; q'` |
22739 |
- { as_dir="$ac_dir" |
22740 |
- case $as_dir in #( |
22741 |
- -*) as_dir=./$as_dir;; |
22742 |
- esac |
22743 |
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
22744 |
- as_dirs= |
22745 |
- while :; do |
22746 |
- case $as_dir in #( |
22747 |
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( |
22748 |
- *) as_qdir=$as_dir;; |
22749 |
- esac |
22750 |
- as_dirs="'$as_qdir' $as_dirs" |
22751 |
- as_dir=`$as_dirname -- "$as_dir" || |
22752 |
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
22753 |
- X"$as_dir" : 'X\(//\)[^/]' \| \ |
22754 |
- X"$as_dir" : 'X\(//\)$' \| \ |
22755 |
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
22756 |
-echo X"$as_dir" | |
22757 |
+$as_echo X"$ac_file" | |
22758 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
22759 |
s//\1/ |
22760 |
q |
22761 |
@@ -20343,20 +10225,15 @@ echo X"$as_dir" | |
22762 |
q |
22763 |
} |
22764 |
s/.*/./; q'` |
22765 |
- test -d "$as_dir" && break |
22766 |
- done |
22767 |
- test -z "$as_dirs" || eval "mkdir $as_dirs" |
22768 |
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
22769 |
-echo "$as_me: error: cannot create directory $as_dir" >&2;} |
22770 |
- { (exit 1); exit 1; }; }; } |
22771 |
+ as_dir="$ac_dir"; as_fn_mkdir_p |
22772 |
ac_builddir=. |
22773 |
|
22774 |
case "$ac_dir" in |
22775 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
22776 |
*) |
22777 |
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
22778 |
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
22779 |
# A ".." for each directory in $ac_dir_suffix. |
22780 |
- ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
22781 |
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
22782 |
case $ac_top_builddir_sub in |
22783 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
22784 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
22785 |
@@ -20394,14 +10271,19 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_ |
22786 |
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
22787 |
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
22788 |
esac |
22789 |
+ ac_MKDIR_P=$MKDIR_P |
22790 |
+ case $MKDIR_P in |
22791 |
+ [\\/$]* | ?:[\\/]* ) ;; |
22792 |
+ */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; |
22793 |
+ esac |
22794 |
_ACEOF |
22795 |
|
22796 |
-cat >>$CONFIG_STATUS <<\_ACEOF |
22797 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
22798 |
# If the template does not know about datarootdir, expand it. |
22799 |
# FIXME: This hack should be removed a few years after 2.60. |
22800 |
ac_datarootdir_hack=; ac_datarootdir_seen= |
22801 |
- |
22802 |
-case `sed -n '/datarootdir/ { |
22803 |
+ac_sed_dataroot=' |
22804 |
+/datarootdir/ { |
22805 |
p |
22806 |
q |
22807 |
} |
22808 |
@@ -20409,36 +10291,37 @@ case `sed -n '/datarootdir/ { |
22809 |
/@docdir@/p |
22810 |
/@infodir@/p |
22811 |
/@localedir@/p |
22812 |
-/@mandir@/p |
22813 |
-' $ac_file_inputs` in |
22814 |
+/@mandir@/p' |
22815 |
+case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
22816 |
*datarootdir*) ac_datarootdir_seen=yes;; |
22817 |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
22818 |
- { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
22819 |
-echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
22820 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
22821 |
+$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
22822 |
_ACEOF |
22823 |
-cat >>$CONFIG_STATUS <<_ACEOF |
22824 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
22825 |
ac_datarootdir_hack=' |
22826 |
s&@datadir@&$datadir&g |
22827 |
s&@docdir@&$docdir&g |
22828 |
s&@infodir@&$infodir&g |
22829 |
s&@localedir@&$localedir&g |
22830 |
s&@mandir@&$mandir&g |
22831 |
- s&\\\${datarootdir}&$datarootdir&g' ;; |
22832 |
+ s&\\\${datarootdir}&$datarootdir&g' ;; |
22833 |
esac |
22834 |
_ACEOF |
22835 |
|
22836 |
# Neutralize VPATH when `$srcdir' = `.'. |
22837 |
# Shell code in configure.ac might set extrasub. |
22838 |
# FIXME: do we really want to maintain this feature? |
22839 |
-cat >>$CONFIG_STATUS <<_ACEOF |
22840 |
- sed "$ac_vpsub |
22841 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
22842 |
+ac_sed_extra="$ac_vpsub |
22843 |
$extrasub |
22844 |
_ACEOF |
22845 |
-cat >>$CONFIG_STATUS <<\_ACEOF |
22846 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
22847 |
:t |
22848 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
22849 |
-s&@configure_input@&$configure_input&;t t |
22850 |
+s|@configure_input@|$ac_sed_conf_input|;t t |
22851 |
s&@top_builddir@&$ac_top_builddir_sub&;t t |
22852 |
+s&@top_build_prefix@&$ac_top_build_prefix&;t t |
22853 |
s&@srcdir@&$ac_srcdir&;t t |
22854 |
s&@abs_srcdir@&$ac_abs_srcdir&;t t |
22855 |
s&@top_srcdir@&$ac_top_srcdir&;t t |
22856 |
@@ -20447,136 +10330,68 @@ s&@builddir@&$ac_builddir&;t t |
22857 |
s&@abs_builddir@&$ac_abs_builddir&;t t |
22858 |
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
22859 |
s&@INSTALL@&$ac_INSTALL&;t t |
22860 |
+s&@MKDIR_P@&$ac_MKDIR_P&;t t |
22861 |
$ac_datarootdir_hack |
22862 |
-" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out |
22863 |
+" |
22864 |
+eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
22865 |
+ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
22866 |
|
22867 |
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
22868 |
- { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
22869 |
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
22870 |
- { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
22871 |
-which seems to be undefined. Please make sure it is defined." >&5 |
22872 |
-echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
22873 |
-which seems to be undefined. Please make sure it is defined." >&2;} |
22874 |
+ { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
22875 |
+ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
22876 |
+ "$ac_tmp/out"`; test -z "$ac_out"; } && |
22877 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
22878 |
+which seems to be undefined. Please make sure it is defined" >&5 |
22879 |
+$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
22880 |
+which seems to be undefined. Please make sure it is defined" >&2;} |
22881 |
|
22882 |
- rm -f "$tmp/stdin" |
22883 |
+ rm -f "$ac_tmp/stdin" |
22884 |
case $ac_file in |
22885 |
- -) cat "$tmp/out"; rm -f "$tmp/out";; |
22886 |
- *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; |
22887 |
- esac |
22888 |
+ -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
22889 |
+ *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
22890 |
+ esac \ |
22891 |
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
22892 |
;; |
22893 |
:H) |
22894 |
# |
22895 |
# CONFIG_HEADER |
22896 |
# |
22897 |
-_ACEOF |
22898 |
- |
22899 |
-# Transform confdefs.h into a sed script `conftest.defines', that |
22900 |
-# substitutes the proper values into config.h.in to produce config.h. |
22901 |
-rm -f conftest.defines conftest.tail |
22902 |
-# First, append a space to every undef/define line, to ease matching. |
22903 |
-echo 's/$/ /' >conftest.defines |
22904 |
-# Then, protect against being on the right side of a sed subst, or in |
22905 |
-# an unquoted here document, in config.status. If some macros were |
22906 |
-# called several times there might be several #defines for the same |
22907 |
-# symbol, which is useless. But do not sort them, since the last |
22908 |
-# AC_DEFINE must be honored. |
22909 |
-ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
22910 |
-# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where |
22911 |
-# NAME is the cpp macro being defined, VALUE is the value it is being given. |
22912 |
-# PARAMS is the parameter list in the macro definition--in most cases, it's |
22913 |
-# just an empty string. |
22914 |
-ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' |
22915 |
-ac_dB='\\)[ (].*,\\1define\\2' |
22916 |
-ac_dC=' ' |
22917 |
-ac_dD=' ,' |
22918 |
- |
22919 |
-uniq confdefs.h | |
22920 |
- sed -n ' |
22921 |
- t rset |
22922 |
- :rset |
22923 |
- s/^[ ]*#[ ]*define[ ][ ]*// |
22924 |
- t ok |
22925 |
- d |
22926 |
- :ok |
22927 |
- s/[\\&,]/\\&/g |
22928 |
- s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p |
22929 |
- s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p |
22930 |
- ' >>conftest.defines |
22931 |
- |
22932 |
-# Remove the space that was appended to ease matching. |
22933 |
-# Then replace #undef with comments. This is necessary, for |
22934 |
-# example, in the case of _POSIX_SOURCE, which is predefined and required |
22935 |
-# on some systems where configure will not decide to define it. |
22936 |
-# (The regexp can be short, since the line contains either #define or #undef.) |
22937 |
-echo 's/ $// |
22938 |
-s,^[ #]*u.*,/* & */,' >>conftest.defines |
22939 |
- |
22940 |
-# Break up conftest.defines: |
22941 |
-ac_max_sed_lines=50 |
22942 |
- |
22943 |
-# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" |
22944 |
-# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" |
22945 |
-# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" |
22946 |
-# et cetera. |
22947 |
-ac_in='$ac_file_inputs' |
22948 |
-ac_out='"$tmp/out1"' |
22949 |
-ac_nxt='"$tmp/out2"' |
22950 |
- |
22951 |
-while : |
22952 |
-do |
22953 |
- # Write a here document: |
22954 |
- cat >>$CONFIG_STATUS <<_ACEOF |
22955 |
- # First, check the format of the line: |
22956 |
- cat >"\$tmp/defines.sed" <<\\CEOF |
22957 |
-/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def |
22958 |
-/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def |
22959 |
-b |
22960 |
-:def |
22961 |
-_ACEOF |
22962 |
- sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS |
22963 |
- echo 'CEOF |
22964 |
- sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS |
22965 |
- ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in |
22966 |
- sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail |
22967 |
- grep . conftest.tail >/dev/null || break |
22968 |
- rm -f conftest.defines |
22969 |
- mv conftest.tail conftest.defines |
22970 |
-done |
22971 |
-rm -f conftest.defines conftest.tail |
22972 |
- |
22973 |
-echo "ac_result=$ac_in" >>$CONFIG_STATUS |
22974 |
-cat >>$CONFIG_STATUS <<\_ACEOF |
22975 |
if test x"$ac_file" != x-; then |
22976 |
- echo "/* $configure_input */" >"$tmp/config.h" |
22977 |
- cat "$ac_result" >>"$tmp/config.h" |
22978 |
- if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then |
22979 |
- { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
22980 |
-echo "$as_me: $ac_file is unchanged" >&6;} |
22981 |
+ { |
22982 |
+ $as_echo "/* $configure_input */" \ |
22983 |
+ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
22984 |
+ } >"$ac_tmp/config.h" \ |
22985 |
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
22986 |
+ if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
22987 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
22988 |
+$as_echo "$as_me: $ac_file is unchanged" >&6;} |
22989 |
else |
22990 |
- rm -f $ac_file |
22991 |
- mv "$tmp/config.h" $ac_file |
22992 |
+ rm -f "$ac_file" |
22993 |
+ mv "$ac_tmp/config.h" "$ac_file" \ |
22994 |
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
22995 |
fi |
22996 |
else |
22997 |
- echo "/* $configure_input */" |
22998 |
- cat "$ac_result" |
22999 |
+ $as_echo "/* $configure_input */" \ |
23000 |
+ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
23001 |
+ || as_fn_error $? "could not create -" "$LINENO" 5 |
23002 |
fi |
23003 |
- rm -f "$tmp/out12" |
23004 |
-# Compute $ac_file's index in $config_headers. |
23005 |
+# Compute "$ac_file"'s index in $config_headers. |
23006 |
+_am_arg="$ac_file" |
23007 |
_am_stamp_count=1 |
23008 |
for _am_header in $config_headers :; do |
23009 |
case $_am_header in |
23010 |
- $ac_file | $ac_file:* ) |
23011 |
+ $_am_arg | $_am_arg:* ) |
23012 |
break ;; |
23013 |
* ) |
23014 |
_am_stamp_count=`expr $_am_stamp_count + 1` ;; |
23015 |
esac |
23016 |
done |
23017 |
-echo "timestamp for $ac_file" >`$as_dirname -- $ac_file || |
23018 |
-$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
23019 |
- X$ac_file : 'X\(//\)[^/]' \| \ |
23020 |
- X$ac_file : 'X\(//\)$' \| \ |
23021 |
- X$ac_file : 'X\(/\)' \| . 2>/dev/null || |
23022 |
-echo X$ac_file | |
23023 |
+echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || |
23024 |
+$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
23025 |
+ X"$_am_arg" : 'X\(//\)[^/]' \| \ |
23026 |
+ X"$_am_arg" : 'X\(//\)$' \| \ |
23027 |
+ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || |
23028 |
+$as_echo X"$_am_arg" | |
23029 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
23030 |
s//\1/ |
23031 |
q |
23032 |
@@ -20596,29 +10411,40 @@ echo X$ac_file | |
23033 |
s/.*/./; q'`/stamp-h$_am_stamp_count |
23034 |
;; |
23035 |
|
23036 |
- :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 |
23037 |
-echo "$as_me: executing $ac_file commands" >&6;} |
23038 |
+ :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
23039 |
+$as_echo "$as_me: executing $ac_file commands" >&6;} |
23040 |
;; |
23041 |
esac |
23042 |
|
23043 |
|
23044 |
case $ac_file$ac_mode in |
23045 |
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do |
23046 |
- # Strip MF so we end up with the name of the file. |
23047 |
- mf=`echo "$mf" | sed -e 's/:.*$//'` |
23048 |
- # Check whether this is an Automake generated Makefile or not. |
23049 |
- # We used to match only the files named `Makefile.in', but |
23050 |
- # some people rename them; so instead we look at the file content. |
23051 |
- # Grep'ing the first line is not enough: some people post-process |
23052 |
- # each Makefile.in and add a new line on top of each file to say so. |
23053 |
- # So let's grep whole file. |
23054 |
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then |
23055 |
- dirpart=`$as_dirname -- "$mf" || |
23056 |
+ "depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
23057 |
+ # Older Autoconf quotes --file arguments for eval, but not when files |
23058 |
+ # are listed without --file. Let's play safe and only enable the eval |
23059 |
+ # if we detect the quoting. |
23060 |
+ case $CONFIG_FILES in |
23061 |
+ *\'*) eval set x "$CONFIG_FILES" ;; |
23062 |
+ *) set x $CONFIG_FILES ;; |
23063 |
+ esac |
23064 |
+ shift |
23065 |
+ for mf |
23066 |
+ do |
23067 |
+ # Strip MF so we end up with the name of the file. |
23068 |
+ mf=`echo "$mf" | sed -e 's/:.*$//'` |
23069 |
+ # Check whether this is an Automake generated Makefile or not. |
23070 |
+ # We used to match only the files named 'Makefile.in', but |
23071 |
+ # some people rename them; so instead we look at the file content. |
23072 |
+ # Grep'ing the first line is not enough: some people post-process |
23073 |
+ # each Makefile.in and add a new line on top of each file to say so. |
23074 |
+ # Grep'ing the whole file is not good either: AIX grep has a line |
23075 |
+ # limit of 2048, but all sed's we know have understand at least 4000. |
23076 |
+ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
23077 |
+ dirpart=`$as_dirname -- "$mf" || |
23078 |
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
23079 |
X"$mf" : 'X\(//\)[^/]' \| \ |
23080 |
X"$mf" : 'X\(//\)$' \| \ |
23081 |
X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
23082 |
-echo X"$mf" | |
23083 |
+$as_echo X"$mf" | |
23084 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
23085 |
s//\1/ |
23086 |
q |
23087 |
@@ -20636,68 +10462,31 @@ echo X"$mf" | |
23088 |
q |
23089 |
} |
23090 |
s/.*/./; q'` |
23091 |
- else |
23092 |
- continue |
23093 |
- fi |
23094 |
- # Extract the definition of DEPDIR, am__include, and am__quote |
23095 |
- # from the Makefile without running `make'. |
23096 |
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
23097 |
- test -z "$DEPDIR" && continue |
23098 |
- am__include=`sed -n 's/^am__include = //p' < "$mf"` |
23099 |
- test -z "am__include" && continue |
23100 |
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
23101 |
- # When using ansi2knr, U may be empty or an underscore; expand it |
23102 |
- U=`sed -n 's/^U = //p' < "$mf"` |
23103 |
- # Find all dependency output files, they are included files with |
23104 |
- # $(DEPDIR) in their names. We invoke sed twice because it is the |
23105 |
- # simplest approach to changing $(DEPDIR) to its actual value in the |
23106 |
- # expansion. |
23107 |
- for file in `sed -n " |
23108 |
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
23109 |
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
23110 |
- # Make sure the directory exists. |
23111 |
- test -f "$dirpart/$file" && continue |
23112 |
- fdir=`$as_dirname -- "$file" || |
23113 |
+ else |
23114 |
+ continue |
23115 |
+ fi |
23116 |
+ # Extract the definition of DEPDIR, am__include, and am__quote |
23117 |
+ # from the Makefile without running 'make'. |
23118 |
+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
23119 |
+ test -z "$DEPDIR" && continue |
23120 |
+ am__include=`sed -n 's/^am__include = //p' < "$mf"` |
23121 |
+ test -z "$am__include" && continue |
23122 |
+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
23123 |
+ # Find all dependency output files, they are included files with |
23124 |
+ # $(DEPDIR) in their names. We invoke sed twice because it is the |
23125 |
+ # simplest approach to changing $(DEPDIR) to its actual value in the |
23126 |
+ # expansion. |
23127 |
+ for file in `sed -n " |
23128 |
+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
23129 |
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do |
23130 |
+ # Make sure the directory exists. |
23131 |
+ test -f "$dirpart/$file" && continue |
23132 |
+ fdir=`$as_dirname -- "$file" || |
23133 |
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
23134 |
X"$file" : 'X\(//\)[^/]' \| \ |
23135 |
X"$file" : 'X\(//\)$' \| \ |
23136 |
X"$file" : 'X\(/\)' \| . 2>/dev/null || |
23137 |
-echo X"$file" | |
23138 |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
23139 |
- s//\1/ |
23140 |
- q |
23141 |
- } |
23142 |
- /^X\(\/\/\)[^/].*/{ |
23143 |
- s//\1/ |
23144 |
- q |
23145 |
- } |
23146 |
- /^X\(\/\/\)$/{ |
23147 |
- s//\1/ |
23148 |
- q |
23149 |
- } |
23150 |
- /^X\(\/\).*/{ |
23151 |
- s//\1/ |
23152 |
- q |
23153 |
- } |
23154 |
- s/.*/./; q'` |
23155 |
- { as_dir=$dirpart/$fdir |
23156 |
- case $as_dir in #( |
23157 |
- -*) as_dir=./$as_dir;; |
23158 |
- esac |
23159 |
- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
23160 |
- as_dirs= |
23161 |
- while :; do |
23162 |
- case $as_dir in #( |
23163 |
- *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( |
23164 |
- *) as_qdir=$as_dir;; |
23165 |
- esac |
23166 |
- as_dirs="'$as_qdir' $as_dirs" |
23167 |
- as_dir=`$as_dirname -- "$as_dir" || |
23168 |
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
23169 |
- X"$as_dir" : 'X\(//\)[^/]' \| \ |
23170 |
- X"$as_dir" : 'X\(//\)$' \| \ |
23171 |
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
23172 |
-echo X"$as_dir" | |
23173 |
+$as_echo X"$file" | |
23174 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
23175 |
s//\1/ |
23176 |
q |
23177 |
@@ -20715,27 +10504,25 @@ echo X"$as_dir" | |
23178 |
q |
23179 |
} |
23180 |
s/.*/./; q'` |
23181 |
- test -d "$as_dir" && break |
23182 |
+ as_dir=$dirpart/$fdir; as_fn_mkdir_p |
23183 |
+ # echo "creating $dirpart/$file" |
23184 |
+ echo '# dummy' > "$dirpart/$file" |
23185 |
done |
23186 |
- test -z "$as_dirs" || eval "mkdir $as_dirs" |
23187 |
- } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
23188 |
-echo "$as_me: error: cannot create directory $as_dir" >&2;} |
23189 |
- { (exit 1); exit 1; }; }; } |
23190 |
- # echo "creating $dirpart/$file" |
23191 |
- echo '# dummy' > "$dirpart/$file" |
23192 |
done |
23193 |
-done |
23194 |
+} |
23195 |
;; |
23196 |
|
23197 |
esac |
23198 |
done # for ac_tag |
23199 |
|
23200 |
|
23201 |
-{ (exit 0); exit 0; } |
23202 |
+as_fn_exit 0 |
23203 |
_ACEOF |
23204 |
-chmod +x $CONFIG_STATUS |
23205 |
ac_clean_files=$ac_clean_files_save |
23206 |
|
23207 |
+test $ac_write_fail = 0 || |
23208 |
+ as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
23209 |
+ |
23210 |
|
23211 |
# configure is writing to config.log, and then calls config.status. |
23212 |
# config.status does its own redirection, appending to config.log. |
23213 |
@@ -20755,7 +10542,11 @@ if test "$no_create" != yes; then |
23214 |
exec 5>>config.log |
23215 |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
23216 |
# would make configure fail if this is the last instruction. |
23217 |
- $ac_cs_success || { (exit 1); exit 1; } |
23218 |
+ $ac_cs_success || as_fn_exit 1 |
23219 |
+fi |
23220 |
+if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
23221 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
23222 |
+$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
23223 |
fi |
23224 |
|
23225 |
|