996
|
1 #! /bin/sh
|
|
2 # Guess values for system-dependent variables and create Makefiles.
|
|
3 # Generated by GNU Autoconf 2.61 for C-INTERCAL 0.29.
|
|
4 #
|
|
5 # Report bugs to <ais523(524\)x\((525)y)@bham.ac.uk>.
|
|
6 #
|
|
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
|
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
|
9 # This configure script is free software; the Free Software Foundation
|
|
10 # gives unlimited permission to copy, distribute and modify it.
|
|
11 ## --------------------- ##
|
|
12 ## M4sh Initialization. ##
|
|
13 ## --------------------- ##
|
|
14
|
|
15 # Be more Bourne compatible
|
|
16 DUALCASE=1; export DUALCASE # for MKS sh
|
|
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
|
18 emulate sh
|
|
19 NULLCMD=:
|
|
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
|
21 # is contrary to our usage. Disable this feature.
|
|
22 alias -g '${1+"$@"}'='"$@"'
|
|
23 setopt NO_GLOB_SUBST
|
|
24 else
|
|
25 case `(set -o) 2>/dev/null` in
|
|
26 *posix*) set -o posix ;;
|
|
27 esac
|
|
28
|
|
29 fi
|
|
30
|
|
31
|
|
32
|
|
33
|
|
34 # PATH needs CR
|
|
35 # Avoid depending upon Character Ranges.
|
|
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
|
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
|
39 as_cr_digits='0123456789'
|
|
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
|
|
41
|
|
42 # The user is always right.
|
|
43 if test "${PATH_SEPARATOR+set}" != set; then
|
|
44 echo "#! /bin/sh" >conf$$.sh
|
|
45 echo "exit 0" >>conf$$.sh
|
|
46 chmod +x conf$$.sh
|
|
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
|
|
48 PATH_SEPARATOR=';'
|
|
49 else
|
|
50 PATH_SEPARATOR=:
|
|
51 fi
|
|
52 rm -f conf$$.sh
|
|
53 fi
|
|
54
|
|
55 # Support unset when possible.
|
|
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
|
57 as_unset=unset
|
|
58 else
|
|
59 as_unset=false
|
|
60 fi
|
|
61
|
|
62
|
|
63 # IFS
|
|
64 # We need space, tab and new line, in precisely that order. Quoting is
|
|
65 # there to prevent editors from complaining about space-tab.
|
|
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
|
67 # splitting by setting IFS to empty value.)
|
|
68 as_nl='
|
|
69 '
|
|
70 IFS=" "" $as_nl"
|
|
71
|
|
72 # Find who we are. Look in the path if we contain no directory separator.
|
|
73 case $0 in
|
|
74 *[\\/]* ) as_myself=$0 ;;
|
|
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
76 for as_dir in $PATH
|
|
77 do
|
|
78 IFS=$as_save_IFS
|
|
79 test -z "$as_dir" && as_dir=.
|
|
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
|
81 done
|
|
82 IFS=$as_save_IFS
|
|
83
|
|
84 ;;
|
|
85 esac
|
|
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
|
|
87 # in which case we are not to be found in the path.
|
|
88 if test "x$as_myself" = x; then
|
|
89 as_myself=$0
|
|
90 fi
|
|
91 if test ! -f "$as_myself"; then
|
|
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
|
93 { (exit 1); exit 1; }
|
|
94 fi
|
|
95
|
|
96 # Work around bugs in pre-3.0 UWIN ksh.
|
|
97 for as_var in ENV MAIL MAILPATH
|
|
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
|
99 done
|
|
100 PS1='$ '
|
|
101 PS2='> '
|
|
102 PS4='+ '
|
|
103
|
|
104 # NLS nuisances.
|
|
105 for as_var in \
|
|
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
|
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
|
108 LC_TELEPHONE LC_TIME
|
|
109 do
|
|
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
|
111 eval $as_var=C; export $as_var
|
|
112 else
|
|
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
|
114 fi
|
|
115 done
|
|
116
|
|
117 # Required to use basename.
|
|
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
|
|
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
|
120 as_expr=expr
|
|
121 else
|
|
122 as_expr=false
|
|
123 fi
|
|
124
|
|
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
|
126 as_basename=basename
|
|
127 else
|
|
128 as_basename=false
|
|
129 fi
|
|
130
|
|
131
|
|
132 # Name of the executable.
|
|
133 as_me=`$as_basename -- "$0" ||
|
|
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
|
135 X"$0" : 'X\(//\)$' \| \
|
|
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
|
137 echo X/"$0" |
|
|
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
|
|
139 s//\1/
|
|
140 q
|
|
141 }
|
|
142 /^X\/\(\/\/\)$/{
|
|
143 s//\1/
|
|
144 q
|
|
145 }
|
|
146 /^X\/\(\/\).*/{
|
|
147 s//\1/
|
|
148 q
|
|
149 }
|
|
150 s/.*/./; q'`
|
|
151
|
|
152 # CDPATH.
|
|
153 $as_unset CDPATH
|
|
154
|
|
155
|
|
156 if test "x$CONFIG_SHELL" = x; then
|
|
157 if (eval ":") 2>/dev/null; then
|
|
158 as_have_required=yes
|
|
159 else
|
|
160 as_have_required=no
|
|
161 fi
|
|
162
|
|
163 if test $as_have_required = yes && (eval ":
|
|
164 (as_func_return () {
|
|
165 (exit \$1)
|
|
166 }
|
|
167 as_func_success () {
|
|
168 as_func_return 0
|
|
169 }
|
|
170 as_func_failure () {
|
|
171 as_func_return 1
|
|
172 }
|
|
173 as_func_ret_success () {
|
|
174 return 0
|
|
175 }
|
|
176 as_func_ret_failure () {
|
|
177 return 1
|
|
178 }
|
|
179
|
|
180 exitcode=0
|
|
181 if as_func_success; then
|
|
182 :
|
|
183 else
|
|
184 exitcode=1
|
|
185 echo as_func_success failed.
|
|
186 fi
|
|
187
|
|
188 if as_func_failure; then
|
|
189 exitcode=1
|
|
190 echo as_func_failure succeeded.
|
|
191 fi
|
|
192
|
|
193 if as_func_ret_success; then
|
|
194 :
|
|
195 else
|
|
196 exitcode=1
|
|
197 echo as_func_ret_success failed.
|
|
198 fi
|
|
199
|
|
200 if as_func_ret_failure; then
|
|
201 exitcode=1
|
|
202 echo as_func_ret_failure succeeded.
|
|
203 fi
|
|
204
|
|
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
|
|
206 :
|
|
207 else
|
|
208 exitcode=1
|
|
209 echo positional parameters were not saved.
|
|
210 fi
|
|
211
|
|
212 test \$exitcode = 0) || { (exit 1); exit 1; }
|
|
213
|
|
214 (
|
|
215 as_lineno_1=\$LINENO
|
|
216 as_lineno_2=\$LINENO
|
|
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
|
|
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
|
|
219 ") 2> /dev/null; then
|
|
220 :
|
|
221 else
|
|
222 as_candidate_shells=
|
|
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
|
225 do
|
|
226 IFS=$as_save_IFS
|
|
227 test -z "$as_dir" && as_dir=.
|
|
228 case $as_dir in
|
|
229 /*)
|
|
230 for as_base in sh bash ksh sh5; do
|
|
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
|
|
232 done;;
|
|
233 esac
|
|
234 done
|
|
235 IFS=$as_save_IFS
|
|
236
|
|
237
|
|
238 for as_shell in $as_candidate_shells $SHELL; do
|
|
239 # Try only shells that exist, to save several forks.
|
|
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
|
|
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
|
|
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
|
243 emulate sh
|
|
244 NULLCMD=:
|
|
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
|
246 # is contrary to our usage. Disable this feature.
|
|
247 alias -g '${1+"$@"}'='"$@"'
|
|
248 setopt NO_GLOB_SUBST
|
|
249 else
|
|
250 case `(set -o) 2>/dev/null` in
|
|
251 *posix*) set -o posix ;;
|
|
252 esac
|
|
253
|
|
254 fi
|
|
255
|
|
256
|
|
257 :
|
|
258 _ASEOF
|
|
259 }; then
|
|
260 CONFIG_SHELL=$as_shell
|
|
261 as_have_required=yes
|
|
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
|
|
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
|
264 emulate sh
|
|
265 NULLCMD=:
|
|
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
|
267 # is contrary to our usage. Disable this feature.
|
|
268 alias -g '${1+"$@"}'='"$@"'
|
|
269 setopt NO_GLOB_SUBST
|
|
270 else
|
|
271 case `(set -o) 2>/dev/null` in
|
|
272 *posix*) set -o posix ;;
|
|
273 esac
|
|
274
|
|
275 fi
|
|
276
|
|
277
|
|
278 :
|
|
279 (as_func_return () {
|
|
280 (exit $1)
|
|
281 }
|
|
282 as_func_success () {
|
|
283 as_func_return 0
|
|
284 }
|
|
285 as_func_failure () {
|
|
286 as_func_return 1
|
|
287 }
|
|
288 as_func_ret_success () {
|
|
289 return 0
|
|
290 }
|
|
291 as_func_ret_failure () {
|
|
292 return 1
|
|
293 }
|
|
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
|
|
308 if as_func_ret_success; then
|
|
309 :
|
|
310 else
|
|
311 exitcode=1
|
|
312 echo as_func_ret_success failed.
|
|
313 fi
|
|
314
|
|
315 if as_func_ret_failure; then
|
|
316 exitcode=1
|
|
317 echo as_func_ret_failure succeeded.
|
|
318 fi
|
|
319
|
|
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
|
|
321 :
|
|
322 else
|
|
323 exitcode=1
|
|
324 echo positional parameters were not saved.
|
|
325 fi
|
|
326
|
|
327 test $exitcode = 0) || { (exit 1); exit 1; }
|
|
328
|
|
329 (
|
|
330 as_lineno_1=$LINENO
|
|
331 as_lineno_2=$LINENO
|
|
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
|
|
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
|
|
334
|
|
335 _ASEOF
|
|
336 }; then
|
|
337 break
|
|
338 fi
|
|
339
|
|
340 fi
|
|
341
|
|
342 done
|
|
343
|
|
344 if test "x$CONFIG_SHELL" != x; then
|
|
345 for as_var in BASH_ENV ENV
|
|
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
|
347 done
|
|
348 export CONFIG_SHELL
|
|
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
|
|
350 fi
|
|
351
|
|
352
|
|
353 if test $as_have_required = no; then
|
|
354 echo This script requires a shell more modern than all the
|
|
355 echo shells that I found on your system. Please install a
|
|
356 echo modern shell, or manually run the script under such a
|
|
357 echo shell if you do have one.
|
|
358 { (exit 1); exit 1; }
|
|
359 fi
|
|
360
|
|
361
|
|
362 fi
|
|
363
|
|
364 fi
|
|
365
|
|
366
|
|
367
|
|
368 (eval "as_func_return () {
|
|
369 (exit \$1)
|
|
370 }
|
|
371 as_func_success () {
|
|
372 as_func_return 0
|
|
373 }
|
|
374 as_func_failure () {
|
|
375 as_func_return 1
|
|
376 }
|
|
377 as_func_ret_success () {
|
|
378 return 0
|
|
379 }
|
|
380 as_func_ret_failure () {
|
|
381 return 1
|
|
382 }
|
|
383
|
|
384 exitcode=0
|
|
385 if as_func_success; then
|
|
386 :
|
|
387 else
|
|
388 exitcode=1
|
|
389 echo as_func_success failed.
|
|
390 fi
|
|
391
|
|
392 if as_func_failure; then
|
|
393 exitcode=1
|
|
394 echo as_func_failure succeeded.
|
|
395 fi
|
|
396
|
|
397 if as_func_ret_success; then
|
|
398 :
|
|
399 else
|
|
400 exitcode=1
|
|
401 echo as_func_ret_success failed.
|
|
402 fi
|
|
403
|
|
404 if as_func_ret_failure; then
|
|
405 exitcode=1
|
|
406 echo as_func_ret_failure succeeded.
|
|
407 fi
|
|
408
|
|
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
|
|
410 :
|
|
411 else
|
|
412 exitcode=1
|
|
413 echo positional parameters were not saved.
|
|
414 fi
|
|
415
|
|
416 test \$exitcode = 0") || {
|
|
417 echo No shell found that supports shell functions.
|
|
418 echo Please tell autoconf@gnu.org about your system,
|
|
419 echo including any error possibly output before this
|
|
420 echo message
|
|
421 }
|
|
422
|
|
423
|
|
424
|
|
425 as_lineno_1=$LINENO
|
|
426 as_lineno_2=$LINENO
|
|
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
|
|
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
|
|
429
|
|
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
|
431 # uniformly replaced by the line number. The first 'sed' inserts a
|
|
432 # line-number line after each line using $LINENO; the second 'sed'
|
|
433 # does the real work. The second script uses 'N' to pair each
|
|
434 # line-number line with the line containing $LINENO, and appends
|
|
435 # trailing '-' during substitution so that $LINENO is not a special
|
|
436 # case at line end.
|
|
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
|
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
|
|
439 # E. McMahon (1931-1989) for sed's syntax. :-)
|
|
440 sed -n '
|
|
441 p
|
|
442 /[$]LINENO/=
|
|
443 ' <$as_myself |
|
|
444 sed '
|
|
445 s/[$]LINENO.*/&-/
|
|
446 t lineno
|
|
447 b
|
|
448 :lineno
|
|
449 N
|
|
450 :loop
|
|
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
|
452 t loop
|
|
453 s/-\n.*//
|
|
454 ' >$as_me.lineno &&
|
|
455 chmod +x "$as_me.lineno" ||
|
|
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
|
457 { (exit 1); exit 1; }; }
|
|
458
|
|
459 # Don't try to exec as it changes $[0], causing all sort of problems
|
|
460 # (the dirname of $[0] is not the place where we might find the
|
|
461 # original and so on. Autoconf is especially sensitive to this).
|
|
462 . "./$as_me.lineno"
|
|
463 # Exit status is that of the last command.
|
|
464 exit
|
|
465 }
|
|
466
|
|
467
|
|
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
|
469 as_dirname=dirname
|
|
470 else
|
|
471 as_dirname=false
|
|
472 fi
|
|
473
|
|
474 ECHO_C= ECHO_N= ECHO_T=
|
|
475 case `echo -n x` in
|
|
476 -n*)
|
|
477 case `echo 'x\c'` in
|
|
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
|
479 *) ECHO_C='\c';;
|
|
480 esac;;
|
|
481 *)
|
|
482 ECHO_N='-n';;
|
|
483 esac
|
|
484
|
|
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
|
|
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
|
487 as_expr=expr
|
|
488 else
|
|
489 as_expr=false
|
|
490 fi
|
|
491
|
|
492 rm -f conf$$ conf$$.exe conf$$.file
|
|
493 if test -d conf$$.dir; then
|
|
494 rm -f conf$$.dir/conf$$.file
|
|
495 else
|
|
496 rm -f conf$$.dir
|
|
497 mkdir conf$$.dir
|
|
498 fi
|
|
499 echo >conf$$.file
|
|
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
|
|
501 as_ln_s='ln -s'
|
|
502 # ... but there are two gotchas:
|
|
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
|
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
|
505 # In both cases, we have to default to `cp -p'.
|
|
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
|
507 as_ln_s='cp -p'
|
|
508 elif ln conf$$.file conf$$ 2>/dev/null; then
|
|
509 as_ln_s=ln
|
|
510 else
|
|
511 as_ln_s='cp -p'
|
|
512 fi
|
|
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
|
514 rmdir conf$$.dir 2>/dev/null
|
|
515
|
|
516 if mkdir -p . 2>/dev/null; then
|
|
517 as_mkdir_p=:
|
|
518 else
|
|
519 test -d ./-p && rmdir ./-p
|
|
520 as_mkdir_p=false
|
|
521 fi
|
|
522
|
|
523 if test -x / >/dev/null 2>&1; then
|
|
524 as_test_x='test -x'
|
|
525 else
|
|
526 if ls -dL / >/dev/null 2>&1; then
|
|
527 as_ls_L_option=L
|
|
528 else
|
|
529 as_ls_L_option=
|
|
530 fi
|
|
531 as_test_x='
|
|
532 eval sh -c '\''
|
|
533 if test -d "$1"; then
|
|
534 test -d "$1/.";
|
|
535 else
|
|
536 case $1 in
|
|
537 -*)set "./$1";;
|
|
538 esac;
|
|
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
|
|
540 ???[sx]*):;;*)false;;esac;fi
|
|
541 '\'' sh
|
|
542 '
|
|
543 fi
|
|
544 as_executable_p=$as_test_x
|
|
545
|
|
546 # Sed expression to map a string onto a valid CPP name.
|
|
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
|
548
|
|
549 # Sed expression to map a string onto a valid variable name.
|
|
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
|
551
|
|
552
|
|
553
|
|
554 exec 7<&0 </dev/null 6>&1
|
|
555
|
|
556 # Name of the host.
|
|
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
|
|
558 # so uname gets run too.
|
|
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
|
|
560
|
|
561 #
|
|
562 # Initializations.
|
|
563 #
|
|
564 ac_default_prefix=/usr/local
|
|
565 ac_clean_files=
|
|
566 ac_config_libobj_dir=.
|
|
567 LIBOBJS=
|
|
568 cross_compiling=no
|
|
569 subdirs=
|
|
570 MFLAGS=
|
|
571 MAKEFLAGS=
|
|
572 SHELL=${CONFIG_SHELL-/bin/sh}
|
|
573
|
|
574 # Identity of this package.
|
|
575 PACKAGE_NAME='C-INTERCAL'
|
|
576 PACKAGE_TARNAME='ick'
|
|
577 PACKAGE_VERSION='0.29'
|
|
578 PACKAGE_STRING='C-INTERCAL 0.29'
|
|
579 PACKAGE_BUGREPORT='ais523(524\)x\((525)y)@bham.ac.uk'
|
|
580
|
|
581 ac_unique_file="src/abcess.h"
|
|
582 # Factoring default headers for most tests.
|
|
583 ac_includes_default="\
|
|
584 #include <stdio.h>
|
|
585 #ifdef HAVE_SYS_TYPES_H
|
|
586 # include <sys/types.h>
|
|
587 #endif
|
|
588 #ifdef HAVE_SYS_STAT_H
|
|
589 # include <sys/stat.h>
|
|
590 #endif
|
|
591 #ifdef STDC_HEADERS
|
|
592 # include <stdlib.h>
|
|
593 # include <stddef.h>
|
|
594 #else
|
|
595 # ifdef HAVE_STDLIB_H
|
|
596 # include <stdlib.h>
|
|
597 # endif
|
|
598 #endif
|
|
599 #ifdef HAVE_STRING_H
|
|
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
|
|
601 # include <memory.h>
|
|
602 # endif
|
|
603 # include <string.h>
|
|
604 #endif
|
|
605 #ifdef HAVE_STRINGS_H
|
|
606 # include <strings.h>
|
|
607 #endif
|
|
608 #ifdef HAVE_INTTYPES_H
|
|
609 # include <inttypes.h>
|
|
610 #endif
|
|
611 #ifdef HAVE_STDINT_H
|
|
612 # include <stdint.h>
|
|
613 #endif
|
|
614 #ifdef HAVE_UNISTD_H
|
|
615 # include <unistd.h>
|
|
616 #endif"
|
|
617
|
|
618 ac_subst_vars='SHELL
|
|
619 PATH_SEPARATOR
|
|
620 PACKAGE_NAME
|
|
621 PACKAGE_TARNAME
|
|
622 PACKAGE_VERSION
|
|
623 PACKAGE_STRING
|
|
624 PACKAGE_BUGREPORT
|
|
625 exec_prefix
|
|
626 prefix
|
|
627 program_transform_name
|
|
628 bindir
|
|
629 sbindir
|
|
630 libexecdir
|
|
631 datarootdir
|
|
632 datadir
|
|
633 sysconfdir
|
|
634 sharedstatedir
|
|
635 localstatedir
|
|
636 includedir
|
|
637 oldincludedir
|
|
638 docdir
|
|
639 infodir
|
|
640 htmldir
|
|
641 dvidir
|
|
642 pdfdir
|
|
643 psdir
|
|
644 libdir
|
|
645 localedir
|
|
646 mandir
|
|
647 DEFS
|
|
648 ECHO_C
|
|
649 ECHO_N
|
|
650 ECHO_T
|
|
651 LIBS
|
|
652 build_alias
|
|
653 host_alias
|
|
654 target_alias
|
|
655 INSTALL_PROGRAM
|
|
656 INSTALL_SCRIPT
|
|
657 INSTALL_DATA
|
|
658 am__isrc
|
|
659 CYGPATH_W
|
|
660 PACKAGE
|
|
661 VERSION
|
|
662 ACLOCAL
|
|
663 AUTOCONF
|
|
664 AUTOMAKE
|
|
665 AUTOHEADER
|
|
666 MAKEINFO
|
|
667 install_sh
|
|
668 STRIP
|
|
669 INSTALL_STRIP_PROGRAM
|
|
670 mkdir_p
|
|
671 AWK
|
|
672 SET_MAKE
|
|
673 am__leading_dot
|
|
674 AMTAR
|
|
675 am__tar
|
|
676 am__untar
|
|
677 YACC
|
|
678 YFLAGS
|
|
679 CC
|
|
680 CFLAGS
|
|
681 LDFLAGS
|
|
682 CPPFLAGS
|
|
683 ac_ct_CC
|
|
684 EXEEXT
|
|
685 OBJEXT
|
|
686 DEPDIR
|
|
687 am__include
|
|
688 am__quote
|
|
689 AMDEP_TRUE
|
|
690 AMDEP_FALSE
|
|
691 AMDEPBACKSLASH
|
|
692 CCDEPMODE
|
|
693 am__fastdepCC_TRUE
|
|
694 am__fastdepCC_FALSE
|
|
695 LEX
|
|
696 LEX_OUTPUT_ROOT
|
|
697 LEXLIB
|
|
698 RANLIB
|
|
699 LN_S
|
|
700 AR
|
|
701 CPP
|
|
702 GREP
|
|
703 EGREP
|
|
704 HAVE_STDINT_H
|
|
705 INCLUDE_HIDDEN_FROM_AUTOMAKE
|
|
706 LIBOBJS
|
|
707 LTLIBOBJS'
|
|
708 ac_subst_files=''
|
|
709 ac_precious_vars='build_alias
|
|
710 host_alias
|
|
711 target_alias
|
|
712 YACC
|
|
713 YFLAGS
|
|
714 CC
|
|
715 CFLAGS
|
|
716 LDFLAGS
|
|
717 LIBS
|
|
718 CPPFLAGS
|
|
719 CPP'
|
|
720
|
|
721
|
|
722 # Initialize some variables set by options.
|
|
723 ac_init_help=
|
|
724 ac_init_version=false
|
|
725 # The variables have the same names as the options, with
|
|
726 # dashes changed to underlines.
|
|
727 cache_file=/dev/null
|
|
728 exec_prefix=NONE
|
|
729 no_create=
|
|
730 no_recursion=
|
|
731 prefix=NONE
|
|
732 program_prefix=NONE
|
|
733 program_suffix=NONE
|
|
734 program_transform_name=s,x,x,
|
|
735 silent=
|
|
736 site=
|
|
737 srcdir=
|
|
738 verbose=
|
|
739 x_includes=NONE
|
|
740 x_libraries=NONE
|
|
741
|
|
742 # Installation directory options.
|
|
743 # These are left unexpanded so users can "make install exec_prefix=/foo"
|
|
744 # and all the variables that are supposed to be based on exec_prefix
|
|
745 # by default will actually change.
|
|
746 # Use braces instead of parens because sh, perl, etc. also accept them.
|
|
747 # (The list follows the same order as the GNU Coding Standards.)
|
|
748 bindir='${exec_prefix}/bin'
|
|
749 sbindir='${exec_prefix}/sbin'
|
|
750 libexecdir='${exec_prefix}/libexec'
|
|
751 datarootdir='${prefix}/share'
|
|
752 datadir='${datarootdir}'
|
|
753 sysconfdir='${prefix}/etc'
|
|
754 sharedstatedir='${prefix}/com'
|
|
755 localstatedir='${prefix}/var'
|
|
756 includedir='${prefix}/include'
|
|
757 oldincludedir='/usr/include'
|
|
758 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
|
|
759 infodir='${datarootdir}/info'
|
|
760 htmldir='${docdir}'
|
|
761 dvidir='${docdir}'
|
|
762 pdfdir='${docdir}'
|
|
763 psdir='${docdir}'
|
|
764 libdir='${exec_prefix}/lib'
|
|
765 localedir='${datarootdir}/locale'
|
|
766 mandir='${datarootdir}/man'
|
|
767
|
|
768 ac_prev=
|
|
769 ac_dashdash=
|
|
770 for ac_option
|
|
771 do
|
|
772 # If the previous option needs an argument, assign it.
|
|
773 if test -n "$ac_prev"; then
|
|
774 eval $ac_prev=\$ac_option
|
|
775 ac_prev=
|
|
776 continue
|
|
777 fi
|
|
778
|
|
779 case $ac_option in
|
|
780 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
|
|
781 *) ac_optarg=yes ;;
|
|
782 esac
|
|
783
|
|
784 # Accept the important Cygnus configure options, so we can diagnose typos.
|
|
785
|
|
786 case $ac_dashdash$ac_option in
|
|
787 --)
|
|
788 ac_dashdash=yes ;;
|
|
789
|
|
790 -bindir | --bindir | --bindi | --bind | --bin | --bi)
|
|
791 ac_prev=bindir ;;
|
|
792 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
|
|
793 bindir=$ac_optarg ;;
|
|
794
|
|
795 -build | --build | --buil | --bui | --bu)
|
|
796 ac_prev=build_alias ;;
|
|
797 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
|
|
798 build_alias=$ac_optarg ;;
|
|
799
|
|
800 -cache-file | --cache-file | --cache-fil | --cache-fi \
|
|
801 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
|
802 ac_prev=cache_file ;;
|
|
803 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
|
804 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
|
|
805 cache_file=$ac_optarg ;;
|
|
806
|
|
807 --config-cache | -C)
|
|
808 cache_file=config.cache ;;
|
|
809
|
|
810 -datadir | --datadir | --datadi | --datad)
|
|
811 ac_prev=datadir ;;
|
|
812 -datadir=* | --datadir=* | --datadi=* | --datad=*)
|
|
813 datadir=$ac_optarg ;;
|
|
814
|
|
815 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
|
|
816 | --dataroo | --dataro | --datar)
|
|
817 ac_prev=datarootdir ;;
|
|
818 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
|
|
819 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
|
|
820 datarootdir=$ac_optarg ;;
|
|
821
|
|
822 -disable-* | --disable-*)
|
|
823 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
|
824 # Reject names that are not valid shell variable names.
|
|
825 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
|
826 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
|
827 { (exit 1); exit 1; }; }
|
|
828 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
|
|
829 eval enable_$ac_feature=no ;;
|
|
830
|
|
831 -docdir | --docdir | --docdi | --doc | --do)
|
|
832 ac_prev=docdir ;;
|
|
833 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
|
|
834 docdir=$ac_optarg ;;
|
|
835
|
|
836 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
|
|
837 ac_prev=dvidir ;;
|
|
838 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
|
|
839 dvidir=$ac_optarg ;;
|
|
840
|
|
841 -enable-* | --enable-*)
|
|
842 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
|
843 # Reject names that are not valid shell variable names.
|
|
844 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
|
845 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
|
846 { (exit 1); exit 1; }; }
|
|
847 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
|
|
848 eval enable_$ac_feature=\$ac_optarg ;;
|
|
849
|
|
850 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
|
851 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
|
852 | --exec | --exe | --ex)
|
|
853 ac_prev=exec_prefix ;;
|
|
854 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
|
|
855 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
|
|
856 | --exec=* | --exe=* | --ex=*)
|
|
857 exec_prefix=$ac_optarg ;;
|
|
858
|
|
859 -gas | --gas | --ga | --g)
|
|
860 # Obsolete; use --with-gas.
|
|
861 with_gas=yes ;;
|
|
862
|
|
863 -help | --help | --hel | --he | -h)
|
|
864 ac_init_help=long ;;
|
|
865 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
|
|
866 ac_init_help=recursive ;;
|
|
867 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
|
|
868 ac_init_help=short ;;
|
|
869
|
|
870 -host | --host | --hos | --ho)
|
|
871 ac_prev=host_alias ;;
|
|
872 -host=* | --host=* | --hos=* | --ho=*)
|
|
873 host_alias=$ac_optarg ;;
|
|
874
|
|
875 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
|
|
876 ac_prev=htmldir ;;
|
|
877 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
|
|
878 | --ht=*)
|
|
879 htmldir=$ac_optarg ;;
|
|
880
|
|
881 -includedir | --includedir | --includedi | --included | --include \
|
|
882 | --includ | --inclu | --incl | --inc)
|
|
883 ac_prev=includedir ;;
|
|
884 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
|
|
885 | --includ=* | --inclu=* | --incl=* | --inc=*)
|
|
886 includedir=$ac_optarg ;;
|
|
887
|
|
888 -infodir | --infodir | --infodi | --infod | --info | --inf)
|
|
889 ac_prev=infodir ;;
|
|
890 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
|
|
891 infodir=$ac_optarg ;;
|
|
892
|
|
893 -libdir | --libdir | --libdi | --libd)
|
|
894 ac_prev=libdir ;;
|
|
895 -libdir=* | --libdir=* | --libdi=* | --libd=*)
|
|
896 libdir=$ac_optarg ;;
|
|
897
|
|
898 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
|
|
899 | --libexe | --libex | --libe)
|
|
900 ac_prev=libexecdir ;;
|
|
901 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
|
|
902 | --libexe=* | --libex=* | --libe=*)
|
|
903 libexecdir=$ac_optarg ;;
|
|
904
|
|
905 -localedir | --localedir | --localedi | --localed | --locale)
|
|
906 ac_prev=localedir ;;
|
|
907 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
|
|
908 localedir=$ac_optarg ;;
|
|
909
|
|
910 -localstatedir | --localstatedir | --localstatedi | --localstated \
|
|
911 | --localstate | --localstat | --localsta | --localst | --locals)
|
|
912 ac_prev=localstatedir ;;
|
|
913 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
|
|
914 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
|
|
915 localstatedir=$ac_optarg ;;
|
|
916
|
|
917 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
|
|
918 ac_prev=mandir ;;
|
|
919 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
|
|
920 mandir=$ac_optarg ;;
|
|
921
|
|
922 -nfp | --nfp | --nf)
|
|
923 # Obsolete; use --without-fp.
|
|
924 with_fp=no ;;
|
|
925
|
|
926 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
|
927 | --no-cr | --no-c | -n)
|
|
928 no_create=yes ;;
|
|
929
|
|
930 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
|
931 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
|
|
932 no_recursion=yes ;;
|
|
933
|
|
934 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
|
|
935 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
|
|
936 | --oldin | --oldi | --old | --ol | --o)
|
|
937 ac_prev=oldincludedir ;;
|
|
938 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
|
|
939 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
|
|
940 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
|
|
941 oldincludedir=$ac_optarg ;;
|
|
942
|
|
943 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
|
944 ac_prev=prefix ;;
|
|
945 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
|
946 prefix=$ac_optarg ;;
|
|
947
|
|
948 -program-prefix | --program-prefix | --program-prefi | --program-pref \
|
|
949 | --program-pre | --program-pr | --program-p)
|
|
950 ac_prev=program_prefix ;;
|
|
951 -program-prefix=* | --program-prefix=* | --program-prefi=* \
|
|
952 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
|
|
953 program_prefix=$ac_optarg ;;
|
|
954
|
|
955 -program-suffix | --program-suffix | --program-suffi | --program-suff \
|
|
956 | --program-suf | --program-su | --program-s)
|
|
957 ac_prev=program_suffix ;;
|
|
958 -program-suffix=* | --program-suffix=* | --program-suffi=* \
|
|
959 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
|
|
960 program_suffix=$ac_optarg ;;
|
|
961
|
|
962 -program-transform-name | --program-transform-name \
|
|
963 | --program-transform-nam | --program-transform-na \
|
|
964 | --program-transform-n | --program-transform- \
|
|
965 | --program-transform | --program-transfor \
|
|
966 | --program-transfo | --program-transf \
|
|
967 | --program-trans | --program-tran \
|
|
968 | --progr-tra | --program-tr | --program-t)
|
|
969 ac_prev=program_transform_name ;;
|
|
970 -program-transform-name=* | --program-transform-name=* \
|
|
971 | --program-transform-nam=* | --program-transform-na=* \
|
|
972 | --program-transform-n=* | --program-transform-=* \
|
|
973 | --program-transform=* | --program-transfor=* \
|
|
974 | --program-transfo=* | --program-transf=* \
|
|
975 | --program-trans=* | --program-tran=* \
|
|
976 | --progr-tra=* | --program-tr=* | --program-t=*)
|
|
977 program_transform_name=$ac_optarg ;;
|
|
978
|
|
979 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
|
|
980 ac_prev=pdfdir ;;
|
|
981 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
|
|
982 pdfdir=$ac_optarg ;;
|
|
983
|
|
984 -psdir | --psdir | --psdi | --psd | --ps)
|
|
985 ac_prev=psdir ;;
|
|
986 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
|
|
987 psdir=$ac_optarg ;;
|
|
988
|
|
989 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
|
990 | -silent | --silent | --silen | --sile | --sil)
|
|
991 silent=yes ;;
|
|
992
|
|
993 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
|
|
994 ac_prev=sbindir ;;
|
|
995 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
|
|
996 | --sbi=* | --sb=*)
|
|
997 sbindir=$ac_optarg ;;
|
|
998
|
|
999 -sharedstatedir | --sharedstatedir | --sharedstatedi \
|
|
1000 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
|
|
1001 | --sharedst | --shareds | --shared | --share | --shar \
|
|
1002 | --sha | --sh)
|
|
1003 ac_prev=sharedstatedir ;;
|
|
1004 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
|
|
1005 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
|
|
1006 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
|
|
1007 | --sha=* | --sh=*)
|
|
1008 sharedstatedir=$ac_optarg ;;
|
|
1009
|
|
1010 -site | --site | --sit)
|
|
1011 ac_prev=site ;;
|
|
1012 -site=* | --site=* | --sit=*)
|
|
1013 site=$ac_optarg ;;
|
|
1014
|
|
1015 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
|
1016 ac_prev=srcdir ;;
|
|
1017 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
|
1018 srcdir=$ac_optarg ;;
|
|
1019
|
|
1020 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
|
|
1021 | --syscon | --sysco | --sysc | --sys | --sy)
|
|
1022 ac_prev=sysconfdir ;;
|
|
1023 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
|
|
1024 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
|
|
1025 sysconfdir=$ac_optarg ;;
|
|
1026
|
|
1027 -target | --target | --targe | --targ | --tar | --ta | --t)
|
|
1028 ac_prev=target_alias ;;
|
|
1029 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
|
|
1030 target_alias=$ac_optarg ;;
|
|
1031
|
|
1032 -v | -verbose | --verbose | --verbos | --verbo | --verb)
|
|
1033 verbose=yes ;;
|
|
1034
|
|
1035 -version | --version | --versio | --versi | --vers | -V)
|
|
1036 ac_init_version=: ;;
|
|
1037
|
|
1038 -with-* | --with-*)
|
|
1039 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
|
1040 # Reject names that are not valid shell variable names.
|
|
1041 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
|
1042 { echo "$as_me: error: invalid package name: $ac_package" >&2
|
|
1043 { (exit 1); exit 1; }; }
|
|
1044 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
|
|
1045 eval with_$ac_package=\$ac_optarg ;;
|
|
1046
|
|
1047 -without-* | --without-*)
|
|
1048 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
|
1049 # Reject names that are not valid shell variable names.
|
|
1050 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
|
1051 { echo "$as_me: error: invalid package name: $ac_package" >&2
|
|
1052 { (exit 1); exit 1; }; }
|
|
1053 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
|
|
1054 eval with_$ac_package=no ;;
|
|
1055
|
|
1056 --x)
|
|
1057 # Obsolete; use --with-x.
|
|
1058 with_x=yes ;;
|
|
1059
|
|
1060 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
|
|
1061 | --x-incl | --x-inc | --x-in | --x-i)
|
|
1062 ac_prev=x_includes ;;
|
|
1063 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
|
|
1064 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
|
|
1065 x_includes=$ac_optarg ;;
|
|
1066
|
|
1067 -x-libraries | --x-libraries | --x-librarie | --x-librari \
|
|
1068 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
|
|
1069 ac_prev=x_libraries ;;
|
|
1070 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
|
|
1071 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
|
1072 x_libraries=$ac_optarg ;;
|
|
1073
|
|
1074 -*) { echo "$as_me: error: unrecognized option: $ac_option
|
|
1075 Try \`$0 --help' for more information." >&2
|
|
1076 { (exit 1); exit 1; }; }
|
|
1077 ;;
|
|
1078
|
|
1079 *=*)
|
|
1080 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
|
1081 # Reject names that are not valid shell variable names.
|
|
1082 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
|
|
1083 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
|
|
1084 { (exit 1); exit 1; }; }
|
|
1085 eval $ac_envvar=\$ac_optarg
|
|
1086 export $ac_envvar ;;
|
|
1087
|
|
1088 *)
|
|
1089 # FIXME: should be removed in autoconf 3.0.
|
|
1090 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
|
1091 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
|
1092 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
|
1093 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
|
|
1094 ;;
|
|
1095
|
|
1096 esac
|
|
1097 done
|
|
1098
|
|
1099 if test -n "$ac_prev"; then
|
|
1100 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
|
1101 { echo "$as_me: error: missing argument to $ac_option" >&2
|
|
1102 { (exit 1); exit 1; }; }
|
|
1103 fi
|
|
1104
|
|
1105 # Be sure to have absolute directory names.
|
|
1106 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
|
|
1107 datadir sysconfdir sharedstatedir localstatedir includedir \
|
|
1108 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
|
|
1109 libdir localedir mandir
|
|
1110 do
|
|
1111 eval ac_val=\$$ac_var
|
|
1112 case $ac_val in
|
|
1113 [\\/$]* | ?:[\\/]* ) continue;;
|
|
1114 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
|
|
1115 esac
|
|
1116 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
|
|
1117 { (exit 1); exit 1; }; }
|
|
1118 done
|
|
1119
|
|
1120 # There might be people who depend on the old broken behavior: `$host'
|
|
1121 # used to hold the argument of --host etc.
|
|
1122 # FIXME: To remove some day.
|
|
1123 build=$build_alias
|
|
1124 host=$host_alias
|
|
1125 target=$target_alias
|
|
1126
|
|
1127 # FIXME: To remove some day.
|
|
1128 if test "x$host_alias" != x; then
|
|
1129 if test "x$build_alias" = x; then
|
|
1130 cross_compiling=maybe
|
|
1131 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
|
|
1132 If a cross compiler is detected then cross compile mode will be used." >&2
|
|
1133 elif test "x$build_alias" != "x$host_alias"; then
|
|
1134 cross_compiling=yes
|
|
1135 fi
|
|
1136 fi
|
|
1137
|
|
1138 ac_tool_prefix=
|
|
1139 test -n "$host_alias" && ac_tool_prefix=$host_alias-
|
|
1140
|
|
1141 test "$silent" = yes && exec 6>/dev/null
|
|
1142
|
|
1143
|
|
1144 ac_pwd=`pwd` && test -n "$ac_pwd" &&
|
|
1145 ac_ls_di=`ls -di .` &&
|
|
1146 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
|
|
1147 { echo "$as_me: error: Working directory cannot be determined" >&2
|
|
1148 { (exit 1); exit 1; }; }
|
|
1149 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
|
|
1150 { echo "$as_me: error: pwd does not report name of working directory" >&2
|
|
1151 { (exit 1); exit 1; }; }
|
|
1152
|
|
1153
|
|
1154 # Find the source files, if location was not specified.
|
|
1155 if test -z "$srcdir"; then
|
|
1156 ac_srcdir_defaulted=yes
|
|
1157 # Try the directory containing this script, then the parent directory.
|
|
1158 ac_confdir=`$as_dirname -- "$0" ||
|
|
1159 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
1160 X"$0" : 'X\(//\)[^/]' \| \
|
|
1161 X"$0" : 'X\(//\)$' \| \
|
|
1162 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
|
1163 echo X"$0" |
|
|
1164 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
1165 s//\1/
|
|
1166 q
|
|
1167 }
|
|
1168 /^X\(\/\/\)[^/].*/{
|
|
1169 s//\1/
|
|
1170 q
|
|
1171 }
|
|
1172 /^X\(\/\/\)$/{
|
|
1173 s//\1/
|
|
1174 q
|
|
1175 }
|
|
1176 /^X\(\/\).*/{
|
|
1177 s//\1/
|
|
1178 q
|
|
1179 }
|
|
1180 s/.*/./; q'`
|
|
1181 srcdir=$ac_confdir
|
|
1182 if test ! -r "$srcdir/$ac_unique_file"; then
|
|
1183 srcdir=..
|
|
1184 fi
|
|
1185 else
|
|
1186 ac_srcdir_defaulted=no
|
|
1187 fi
|
|
1188 if test ! -r "$srcdir/$ac_unique_file"; then
|
|
1189 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
|
|
1190 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
|
|
1191 { (exit 1); exit 1; }; }
|
|
1192 fi
|
|
1193 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
|
|
1194 ac_abs_confdir=`(
|
|
1195 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
|
|
1196 { (exit 1); exit 1; }; }
|
|
1197 pwd)`
|
|
1198 # When building in place, set srcdir=.
|
|
1199 if test "$ac_abs_confdir" = "$ac_pwd"; then
|
|
1200 srcdir=.
|
|
1201 fi
|
|
1202 # Remove unnecessary trailing slashes from srcdir.
|
|
1203 # Double slashes in file names in object file debugging info
|
|
1204 # mess up M-x gdb in Emacs.
|
|
1205 case $srcdir in
|
|
1206 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
|
|
1207 esac
|
|
1208 for ac_var in $ac_precious_vars; do
|
|
1209 eval ac_env_${ac_var}_set=\${${ac_var}+set}
|
|
1210 eval ac_env_${ac_var}_value=\$${ac_var}
|
|
1211 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
|
|
1212 eval ac_cv_env_${ac_var}_value=\$${ac_var}
|
|
1213 done
|
|
1214
|
|
1215 #
|
|
1216 # Report the --help message.
|
|
1217 #
|
|
1218 if test "$ac_init_help" = "long"; then
|
|
1219 # Omit some internal or obsolete options to make the list less imposing.
|
|
1220 # This message is too long to be a string in the A/UX 3.1 sh.
|
|
1221 cat <<_ACEOF
|
|
1222 \`configure' configures C-INTERCAL 0.29 to adapt to many kinds of systems.
|
|
1223
|
|
1224 Usage: $0 [OPTION]... [VAR=VALUE]...
|
|
1225
|
|
1226 To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
|
1227 VAR=VALUE. See below for descriptions of some of the useful variables.
|
|
1228
|
|
1229 Defaults for the options are specified in brackets.
|
|
1230
|
|
1231 Configuration:
|
|
1232 -h, --help display this help and exit
|
|
1233 --help=short display options specific to this package
|
|
1234 --help=recursive display the short help of all the included packages
|
|
1235 -V, --version display version information and exit
|
|
1236 -q, --quiet, --silent do not print \`checking...' messages
|
|
1237 --cache-file=FILE cache test results in FILE [disabled]
|
|
1238 -C, --config-cache alias for \`--cache-file=config.cache'
|
|
1239 -n, --no-create do not create output files
|
|
1240 --srcdir=DIR find the sources in DIR [configure dir or \`..']
|
|
1241
|
|
1242 Installation directories:
|
|
1243 --prefix=PREFIX install architecture-independent files in PREFIX
|
|
1244 [$ac_default_prefix]
|
|
1245 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
|
1246 [PREFIX]
|
|
1247
|
|
1248 By default, \`make install' will install all the files in
|
|
1249 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
|
1250 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
|
|
1251 for instance \`--prefix=\$HOME'.
|
|
1252
|
|
1253 For better control, use the options below.
|
|
1254
|
|
1255 Fine tuning of the installation directories:
|
|
1256 --bindir=DIR user executables [EPREFIX/bin]
|
|
1257 --sbindir=DIR system admin executables [EPREFIX/sbin]
|
|
1258 --libexecdir=DIR program executables [EPREFIX/libexec]
|
|
1259 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
|
1260 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
|
1261 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
|
1262 --libdir=DIR object code libraries [EPREFIX/lib]
|
|
1263 --includedir=DIR C header files [PREFIX/include]
|
|
1264 --oldincludedir=DIR C header files for non-gcc [/usr/include]
|
|
1265 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
|
|
1266 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
|
|
1267 --infodir=DIR info documentation [DATAROOTDIR/info]
|
|
1268 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
|
|
1269 --mandir=DIR man documentation [DATAROOTDIR/man]
|
|
1270 --docdir=DIR documentation root [DATAROOTDIR/doc/ick]
|
|
1271 --htmldir=DIR html documentation [DOCDIR]
|
|
1272 --dvidir=DIR dvi documentation [DOCDIR]
|
|
1273 --pdfdir=DIR pdf documentation [DOCDIR]
|
|
1274 --psdir=DIR ps documentation [DOCDIR]
|
|
1275 _ACEOF
|
|
1276
|
|
1277 cat <<\_ACEOF
|
|
1278
|
|
1279 Program names:
|
|
1280 --program-prefix=PREFIX prepend PREFIX to installed program names
|
|
1281 --program-suffix=SUFFIX append SUFFIX to installed program names
|
|
1282 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
|
|
1283 _ACEOF
|
|
1284 fi
|
|
1285
|
|
1286 if test -n "$ac_init_help"; then
|
|
1287 case $ac_init_help in
|
|
1288 short | recursive ) echo "Configuration of C-INTERCAL 0.29:";;
|
|
1289 esac
|
|
1290 cat <<\_ACEOF
|
|
1291
|
|
1292 Optional Features:
|
|
1293 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
|
1294 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
|
1295 --disable-dependency-tracking speeds up one-time build
|
|
1296 --enable-dependency-tracking do not reject slow dependency extractors
|
|
1297
|
|
1298 Some influential environment variables:
|
|
1299 YACC The `Yet Another C Compiler' implementation to use. Defaults to
|
|
1300 the first program found out of: `bison -y', `byacc', `yacc'.
|
|
1301 YFLAGS The list of arguments that will be passed by default to $YACC.
|
|
1302 This script will default YFLAGS to the empty string to avoid a
|
|
1303 default value of `-d' given by some make applications.
|
|
1304 CC C compiler command
|
|
1305 CFLAGS C compiler flags
|
|
1306 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
|
1307 nonstandard directory <lib dir>
|
|
1308 LIBS libraries to pass to the linker, e.g. -l<library>
|
|
1309 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
|
|
1310 you have headers in a nonstandard directory <include dir>
|
|
1311 CPP C preprocessor
|
|
1312
|
|
1313 Use these variables to override the choices made by `configure' or to help
|
|
1314 it to find libraries and programs with nonstandard names/locations.
|
|
1315
|
|
1316 Report bugs to <ais523(524\)x\((525)y)@bham.ac.uk>.
|
|
1317 _ACEOF
|
|
1318 ac_status=$?
|
|
1319 fi
|
|
1320
|
|
1321 if test "$ac_init_help" = "recursive"; then
|
|
1322 # If there are subdirs, report their specific --help.
|
|
1323 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
|
|
1324 test -d "$ac_dir" || continue
|
|
1325 ac_builddir=.
|
|
1326
|
|
1327 case "$ac_dir" in
|
|
1328 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
|
1329 *)
|
|
1330 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
|
1331 # A ".." for each directory in $ac_dir_suffix.
|
|
1332 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
|
|
1333 case $ac_top_builddir_sub in
|
|
1334 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
|
1335 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
|
1336 esac ;;
|
|
1337 esac
|
|
1338 ac_abs_top_builddir=$ac_pwd
|
|
1339 ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
|
1340 # for backward compatibility:
|
|
1341 ac_top_builddir=$ac_top_build_prefix
|
|
1342
|
|
1343 case $srcdir in
|
|
1344 .) # We are building in place.
|
|
1345 ac_srcdir=.
|
|
1346 ac_top_srcdir=$ac_top_builddir_sub
|
|
1347 ac_abs_top_srcdir=$ac_pwd ;;
|
|
1348 [\\/]* | ?:[\\/]* ) # Absolute name.
|
|
1349 ac_srcdir=$srcdir$ac_dir_suffix;
|
|
1350 ac_top_srcdir=$srcdir
|
|
1351 ac_abs_top_srcdir=$srcdir ;;
|
|
1352 *) # Relative name.
|
|
1353 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
|
1354 ac_top_srcdir=$ac_top_build_prefix$srcdir
|
|
1355 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
|
1356 esac
|
|
1357 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
|
1358
|
|
1359 cd "$ac_dir" || { ac_status=$?; continue; }
|
|
1360 # Check for guested configure.
|
|
1361 if test -f "$ac_srcdir/configure.gnu"; then
|
|
1362 echo &&
|
|
1363 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
|
|
1364 elif test -f "$ac_srcdir/configure"; then
|
|
1365 echo &&
|
|
1366 $SHELL "$ac_srcdir/configure" --help=recursive
|
|
1367 else
|
|
1368 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
|
1369 fi || ac_status=$?
|
|
1370 cd "$ac_pwd" || { ac_status=$?; break; }
|
|
1371 done
|
|
1372 fi
|
|
1373
|
|
1374 test -n "$ac_init_help" && exit $ac_status
|
|
1375 if $ac_init_version; then
|
|
1376 cat <<\_ACEOF
|
|
1377 C-INTERCAL configure 0.29
|
|
1378 generated by GNU Autoconf 2.61
|
|
1379
|
|
1380 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
|
1381 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
|
1382 This configure script is free software; the Free Software Foundation
|
|
1383 gives unlimited permission to copy, distribute and modify it.
|
|
1384 _ACEOF
|
|
1385 exit
|
|
1386 fi
|
|
1387 cat >config.log <<_ACEOF
|
|
1388 This file contains any messages produced by compilers while
|
|
1389 running configure, to aid debugging if configure makes a mistake.
|
|
1390
|
|
1391 It was created by C-INTERCAL $as_me 0.29, which was
|
|
1392 generated by GNU Autoconf 2.61. Invocation command line was
|
|
1393
|
|
1394 $ $0 $@
|
|
1395
|
|
1396 _ACEOF
|
|
1397 exec 5>>config.log
|
|
1398 {
|
|
1399 cat <<_ASUNAME
|
|
1400 ## --------- ##
|
|
1401 ## Platform. ##
|
|
1402 ## --------- ##
|
|
1403
|
|
1404 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
|
|
1405 uname -m = `(uname -m) 2>/dev/null || echo unknown`
|
|
1406 uname -r = `(uname -r) 2>/dev/null || echo unknown`
|
|
1407 uname -s = `(uname -s) 2>/dev/null || echo unknown`
|
|
1408 uname -v = `(uname -v) 2>/dev/null || echo unknown`
|
|
1409
|
|
1410 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
|
|
1411 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
|
|
1412
|
|
1413 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
|
|
1414 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
|
|
1415 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
|
|
1416 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
|
|
1417 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
|
|
1418 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
|
|
1419 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
|
|
1420
|
|
1421 _ASUNAME
|
|
1422
|
|
1423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
1424 for as_dir in $PATH
|
|
1425 do
|
|
1426 IFS=$as_save_IFS
|
|
1427 test -z "$as_dir" && as_dir=.
|
|
1428 echo "PATH: $as_dir"
|
|
1429 done
|
|
1430 IFS=$as_save_IFS
|
|
1431
|
|
1432 } >&5
|
|
1433
|
|
1434 cat >&5 <<_ACEOF
|
|
1435
|
|
1436
|
|
1437 ## ----------- ##
|
|
1438 ## Core tests. ##
|
|
1439 ## ----------- ##
|
|
1440
|
|
1441 _ACEOF
|
|
1442
|
|
1443
|
|
1444 # Keep a trace of the command line.
|
|
1445 # Strip out --no-create and --no-recursion so they do not pile up.
|
|
1446 # Strip out --silent because we don't want to record it for future runs.
|
|
1447 # Also quote any args containing shell meta-characters.
|
|
1448 # Make two passes to allow for proper duplicate-argument suppression.
|
|
1449 ac_configure_args=
|
|
1450 ac_configure_args0=
|
|
1451 ac_configure_args1=
|
|
1452 ac_must_keep_next=false
|
|
1453 for ac_pass in 1 2
|
|
1454 do
|
|
1455 for ac_arg
|
|
1456 do
|
|
1457 case $ac_arg in
|
|
1458 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
|
|
1459 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
|
1460 | -silent | --silent | --silen | --sile | --sil)
|
|
1461 continue ;;
|
|
1462 *\'*)
|
|
1463 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
1464 esac
|
|
1465 case $ac_pass in
|
|
1466 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
|
|
1467 2)
|
|
1468 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
|
|
1469 if test $ac_must_keep_next = true; then
|
|
1470 ac_must_keep_next=false # Got value, back to normal.
|
|
1471 else
|
|
1472 case $ac_arg in
|
|
1473 *=* | --config-cache | -C | -disable-* | --disable-* \
|
|
1474 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
|
|
1475 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
|
|
1476 | -with-* | --with-* | -without-* | --without-* | --x)
|
|
1477 case "$ac_configure_args0 " in
|
|
1478 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
|
|
1479 esac
|
|
1480 ;;
|
|
1481 -* ) ac_must_keep_next=true ;;
|
|
1482 esac
|
|
1483 fi
|
|
1484 ac_configure_args="$ac_configure_args '$ac_arg'"
|
|
1485 ;;
|
|
1486 esac
|
|
1487 done
|
|
1488 done
|
|
1489 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
|
|
1490 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
|
|
1491
|
|
1492 # When interrupted or exit'd, cleanup temporary files, and complete
|
|
1493 # config.log. We remove comments because anyway the quotes in there
|
|
1494 # would cause problems or look ugly.
|
|
1495 # WARNING: Use '\'' to represent an apostrophe within the trap.
|
|
1496 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
|
|
1497 trap 'exit_status=$?
|
|
1498 # Save into config.log some information that might help in debugging.
|
|
1499 {
|
|
1500 echo
|
|
1501
|
|
1502 cat <<\_ASBOX
|
|
1503 ## ---------------- ##
|
|
1504 ## Cache variables. ##
|
|
1505 ## ---------------- ##
|
|
1506 _ASBOX
|
|
1507 echo
|
|
1508 # The following way of writing the cache mishandles newlines in values,
|
|
1509 (
|
|
1510 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
|
|
1511 eval ac_val=\$$ac_var
|
|
1512 case $ac_val in #(
|
|
1513 *${as_nl}*)
|
|
1514 case $ac_var in #(
|
|
1515 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
|
|
1516 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
|
|
1517 esac
|
|
1518 case $ac_var in #(
|
|
1519 _ | IFS | as_nl) ;; #(
|
|
1520 *) $as_unset $ac_var ;;
|
|
1521 esac ;;
|
|
1522 esac
|
|
1523 done
|
|
1524 (set) 2>&1 |
|
|
1525 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
|
|
1526 *${as_nl}ac_space=\ *)
|
|
1527 sed -n \
|
|
1528 "s/'\''/'\''\\\\'\'''\''/g;
|
|
1529 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
|
|
1530 ;; #(
|
|
1531 *)
|
|
1532 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
|
1533 ;;
|
|
1534 esac |
|
|
1535 sort
|
|
1536 )
|
|
1537 echo
|
|
1538
|
|
1539 cat <<\_ASBOX
|
|
1540 ## ----------------- ##
|
|
1541 ## Output variables. ##
|
|
1542 ## ----------------- ##
|
|
1543 _ASBOX
|
|
1544 echo
|
|
1545 for ac_var in $ac_subst_vars
|
|
1546 do
|
|
1547 eval ac_val=\$$ac_var
|
|
1548 case $ac_val in
|
|
1549 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
|
1550 esac
|
|
1551 echo "$ac_var='\''$ac_val'\''"
|
|
1552 done | sort
|
|
1553 echo
|
|
1554
|
|
1555 if test -n "$ac_subst_files"; then
|
|
1556 cat <<\_ASBOX
|
|
1557 ## ------------------- ##
|
|
1558 ## File substitutions. ##
|
|
1559 ## ------------------- ##
|
|
1560 _ASBOX
|
|
1561 echo
|
|
1562 for ac_var in $ac_subst_files
|
|
1563 do
|
|
1564 eval ac_val=\$$ac_var
|
|
1565 case $ac_val in
|
|
1566 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
|
1567 esac
|
|
1568 echo "$ac_var='\''$ac_val'\''"
|
|
1569 done | sort
|
|
1570 echo
|
|
1571 fi
|
|
1572
|
|
1573 if test -s confdefs.h; then
|
|
1574 cat <<\_ASBOX
|
|
1575 ## ----------- ##
|
|
1576 ## confdefs.h. ##
|
|
1577 ## ----------- ##
|
|
1578 _ASBOX
|
|
1579 echo
|
|
1580 cat confdefs.h
|
|
1581 echo
|
|
1582 fi
|
|
1583 test "$ac_signal" != 0 &&
|
|
1584 echo "$as_me: caught signal $ac_signal"
|
|
1585 echo "$as_me: exit $exit_status"
|
|
1586 } >&5
|
|
1587 rm -f core *.core core.conftest.* &&
|
|
1588 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
|
|
1589 exit $exit_status
|
|
1590 ' 0
|
|
1591 for ac_signal in 1 2 13 15; do
|
|
1592 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
|
|
1593 done
|
|
1594 ac_signal=0
|
|
1595
|
|
1596 # confdefs.h avoids OS command line length limits that DEFS can exceed.
|
|
1597 rm -f -r conftest* confdefs.h
|
|
1598
|
|
1599 # Predefined preprocessor variables.
|
|
1600
|
|
1601 cat >>confdefs.h <<_ACEOF
|
|
1602 #define PACKAGE_NAME "$PACKAGE_NAME"
|
|
1603 _ACEOF
|
|
1604
|
|
1605
|
|
1606 cat >>confdefs.h <<_ACEOF
|
|
1607 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
|
1608 _ACEOF
|
|
1609
|
|
1610
|
|
1611 cat >>confdefs.h <<_ACEOF
|
|
1612 #define PACKAGE_VERSION "$PACKAGE_VERSION"
|
|
1613 _ACEOF
|
|
1614
|
|
1615
|
|
1616 cat >>confdefs.h <<_ACEOF
|
|
1617 #define PACKAGE_STRING "$PACKAGE_STRING"
|
|
1618 _ACEOF
|
|
1619
|
|
1620
|
|
1621 cat >>confdefs.h <<_ACEOF
|
|
1622 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
|
1623 _ACEOF
|
|
1624
|
|
1625
|
|
1626 # Let the site file select an alternate cache file if it wants to.
|
|
1627 # Prefer explicitly selected file to automatically selected ones.
|
|
1628 if test -n "$CONFIG_SITE"; then
|
|
1629 set x "$CONFIG_SITE"
|
|
1630 elif test "x$prefix" != xNONE; then
|
|
1631 set x "$prefix/share/config.site" "$prefix/etc/config.site"
|
|
1632 else
|
|
1633 set x "$ac_default_prefix/share/config.site" \
|
|
1634 "$ac_default_prefix/etc/config.site"
|
|
1635 fi
|
|
1636 shift
|
|
1637 for ac_site_file
|
|
1638 do
|
|
1639 if test -r "$ac_site_file"; then
|
|
1640 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
|
|
1641 echo "$as_me: loading site script $ac_site_file" >&6;}
|
|
1642 sed 's/^/| /' "$ac_site_file" >&5
|
|
1643 . "$ac_site_file"
|
|
1644 fi
|
|
1645 done
|
|
1646
|
|
1647 if test -r "$cache_file"; then
|
|
1648 # Some versions of bash will fail to source /dev/null (special
|
|
1649 # files actually), so we avoid doing that.
|
|
1650 if test -f "$cache_file"; then
|
|
1651 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
|
|
1652 echo "$as_me: loading cache $cache_file" >&6;}
|
|
1653 case $cache_file in
|
|
1654 [\\/]* | ?:[\\/]* ) . "$cache_file";;
|
|
1655 *) . "./$cache_file";;
|
|
1656 esac
|
|
1657 fi
|
|
1658 else
|
|
1659 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
|
|
1660 echo "$as_me: creating cache $cache_file" >&6;}
|
|
1661 >$cache_file
|
|
1662 fi
|
|
1663
|
|
1664 # Check that the precious variables saved in the cache have kept the same
|
|
1665 # value.
|
|
1666 ac_cache_corrupted=false
|
|
1667 for ac_var in $ac_precious_vars; do
|
|
1668 eval ac_old_set=\$ac_cv_env_${ac_var}_set
|
|
1669 eval ac_new_set=\$ac_env_${ac_var}_set
|
|
1670 eval ac_old_val=\$ac_cv_env_${ac_var}_value
|
|
1671 eval ac_new_val=\$ac_env_${ac_var}_value
|
|
1672 case $ac_old_set,$ac_new_set in
|
|
1673 set,)
|
|
1674 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
|
1675 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
|
1676 ac_cache_corrupted=: ;;
|
|
1677 ,set)
|
|
1678 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
|
|
1679 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
|
1680 ac_cache_corrupted=: ;;
|
|
1681 ,);;
|
|
1682 *)
|
|
1683 if test "x$ac_old_val" != "x$ac_new_val"; then
|
|
1684 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
|
|
1685 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
|
1686 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
|
|
1687 echo "$as_me: former value: $ac_old_val" >&2;}
|
|
1688 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
|
|
1689 echo "$as_me: current value: $ac_new_val" >&2;}
|
|
1690 ac_cache_corrupted=:
|
|
1691 fi;;
|
|
1692 esac
|
|
1693 # Pass precious variables to config.status.
|
|
1694 if test "$ac_new_set" = set; then
|
|
1695 case $ac_new_val in
|
|
1696 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
1697 *) ac_arg=$ac_var=$ac_new_val ;;
|
|
1698 esac
|
|
1699 case " $ac_configure_args " in
|
|
1700 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
|
1701 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
|
|
1702 esac
|
|
1703 fi
|
|
1704 done
|
|
1705 if $ac_cache_corrupted; then
|
|
1706 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
|
|
1707 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
|
1708 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
|
|
1709 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
|
|
1710 { (exit 1); exit 1; }; }
|
|
1711 fi
|
|
1712
|
|
1713
|
|
1714
|
|
1715
|
|
1716
|
|
1717
|
|
1718
|
|
1719
|
|
1720
|
|
1721
|
|
1722
|
|
1723
|
|
1724
|
|
1725
|
|
1726
|
|
1727
|
|
1728
|
|
1729
|
|
1730
|
|
1731
|
|
1732
|
|
1733
|
|
1734
|
|
1735
|
|
1736
|
|
1737 ac_ext=c
|
|
1738 ac_cpp='$CPP $CPPFLAGS'
|
|
1739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
1740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
1741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
1742
|
|
1743
|
|
1744
|
|
1745 ac_config_headers="$ac_config_headers config.h:src/configh.in"
|
|
1746
|
|
1747 ac_aux_dir=
|
|
1748 for ac_dir in buildaux "$srcdir"/buildaux; do
|
|
1749 if test -f "$ac_dir/install-sh"; then
|
|
1750 ac_aux_dir=$ac_dir
|
|
1751 ac_install_sh="$ac_aux_dir/install-sh -c"
|
|
1752 break
|
|
1753 elif test -f "$ac_dir/install.sh"; then
|
|
1754 ac_aux_dir=$ac_dir
|
|
1755 ac_install_sh="$ac_aux_dir/install.sh -c"
|
|
1756 break
|
|
1757 elif test -f "$ac_dir/shtool"; then
|
|
1758 ac_aux_dir=$ac_dir
|
|
1759 ac_install_sh="$ac_aux_dir/shtool install -c"
|
|
1760 break
|
|
1761 fi
|
|
1762 done
|
|
1763 if test -z "$ac_aux_dir"; then
|
|
1764 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in buildaux \"$srcdir\"/buildaux" >&5
|
|
1765 echo "$as_me: error: cannot find install-sh or install.sh in buildaux \"$srcdir\"/buildaux" >&2;}
|
|
1766 { (exit 1); exit 1; }; }
|
|
1767 fi
|
|
1768
|
|
1769 # These three variables are undocumented and unsupported,
|
|
1770 # and are intended to be withdrawn in a future Autoconf release.
|
|
1771 # They can cause serious problems if a builder's source tree is in a directory
|
|
1772 # whose full name contains unusual characters.
|
|
1773 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
|
|
1774 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
|
|
1775 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
|
|
1776
|
|
1777
|
|
1778 am__api_version='1.10'
|
|
1779
|
|
1780 # Find a good install program. We prefer a C program (faster),
|
|
1781 # so one script is as good as another. But avoid the broken or
|
|
1782 # incompatible versions:
|
|
1783 # SysV /etc/install, /usr/sbin/install
|
|
1784 # SunOS /usr/etc/install
|
|
1785 # IRIX /sbin/install
|
|
1786 # AIX /bin/install
|
|
1787 # AmigaOS /C/install, which installs bootblocks on floppy discs
|
|
1788 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
|
1789 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
|
1790 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
|
1791 # OS/2's system install, which has a completely different semantic
|
|
1792 # ./install, which can be erroneously created by make from ./install.sh.
|
|
1793 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
|
|
1794 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
|
|
1795 if test -z "$INSTALL"; then
|
|
1796 if test "${ac_cv_path_install+set}" = set; then
|
|
1797 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
1798 else
|
|
1799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
1800 for as_dir in $PATH
|
|
1801 do
|
|
1802 IFS=$as_save_IFS
|
|
1803 test -z "$as_dir" && as_dir=.
|
|
1804 # Account for people who put trailing slashes in PATH elements.
|
|
1805 case $as_dir/ in
|
|
1806 ./ | .// | /cC/* | \
|
|
1807 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
|
1808 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
|
|
1809 /usr/ucb/* ) ;;
|
|
1810 *)
|
|
1811 # OSF1 and SCO ODT 3.0 have their own names for install.
|
|
1812 # Don't use installbsd from OSF since it installs stuff as root
|
|
1813 # by default.
|
|
1814 for ac_prog in ginstall scoinst install; do
|
|
1815 for ac_exec_ext in '' $ac_executable_extensions; do
|
|
1816 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
|
|
1817 if test $ac_prog = install &&
|
|
1818 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
|
1819 # AIX install. It has an incompatible calling convention.
|
|
1820 :
|
|
1821 elif test $ac_prog = install &&
|
|
1822 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
|
1823 # program-specific install script used by HP pwplus--don't use.
|
|
1824 :
|
|
1825 else
|
|
1826 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
|
1827 break 3
|
|
1828 fi
|
|
1829 fi
|
|
1830 done
|
|
1831 done
|
|
1832 ;;
|
|
1833 esac
|
|
1834 done
|
|
1835 IFS=$as_save_IFS
|
|
1836
|
|
1837
|
|
1838 fi
|
|
1839 if test "${ac_cv_path_install+set}" = set; then
|
|
1840 INSTALL=$ac_cv_path_install
|
|
1841 else
|
|
1842 # As a last resort, use the slow shell script. Don't cache a
|
|
1843 # value for INSTALL within a source directory, because that will
|
|
1844 # break other packages using the cache if that directory is
|
|
1845 # removed, or if the value is a relative name.
|
|
1846 INSTALL=$ac_install_sh
|
|
1847 fi
|
|
1848 fi
|
|
1849 { echo "$as_me:$LINENO: result: $INSTALL" >&5
|
|
1850 echo "${ECHO_T}$INSTALL" >&6; }
|
|
1851
|
|
1852 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
|
1853 # It thinks the first close brace ends the variable substitution.
|
|
1854 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
|
1855
|
|
1856 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
|
1857
|
|
1858 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
|
1859
|
|
1860 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
|
|
1861 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
|
|
1862 # Just in case
|
|
1863 sleep 1
|
|
1864 echo timestamp > conftest.file
|
|
1865 # Do `set' in a subshell so we don't clobber the current shell's
|
|
1866 # arguments. Must try -L first in case configure is actually a
|
|
1867 # symlink; some systems play weird games with the mod time of symlinks
|
|
1868 # (eg FreeBSD returns the mod time of the symlink's containing
|
|
1869 # directory).
|
|
1870 if (
|
|
1871 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
|
|
1872 if test "$*" = "X"; then
|
|
1873 # -L didn't work.
|
|
1874 set X `ls -t $srcdir/configure conftest.file`
|
|
1875 fi
|
|
1876 rm -f conftest.file
|
|
1877 if test "$*" != "X $srcdir/configure conftest.file" \
|
|
1878 && test "$*" != "X conftest.file $srcdir/configure"; then
|
|
1879
|
|
1880 # If neither matched, then we have a broken ls. This can happen
|
|
1881 # if, for instance, CONFIG_SHELL is bash and it inherits a
|
|
1882 # broken ls alias from the environment. This has actually
|
|
1883 # happened. Such a system could not be considered "sane".
|
|
1884 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
|
|
1885 alias in your environment" >&5
|
|
1886 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
|
|
1887 alias in your environment" >&2;}
|
|
1888 { (exit 1); exit 1; }; }
|
|
1889 fi
|
|
1890
|
|
1891 test "$2" = conftest.file
|
|
1892 )
|
|
1893 then
|
|
1894 # Ok.
|
|
1895 :
|
|
1896 else
|
|
1897 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
|
|
1898 Check your system clock" >&5
|
|
1899 echo "$as_me: error: newly created file is older than distributed files!
|
|
1900 Check your system clock" >&2;}
|
|
1901 { (exit 1); exit 1; }; }
|
|
1902 fi
|
|
1903 { echo "$as_me:$LINENO: result: yes" >&5
|
|
1904 echo "${ECHO_T}yes" >&6; }
|
|
1905 test "$program_prefix" != NONE &&
|
|
1906 program_transform_name="s&^&$program_prefix&;$program_transform_name"
|
|
1907 # Use a double $ so make ignores it.
|
|
1908 test "$program_suffix" != NONE &&
|
|
1909 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
|
|
1910 # Double any \ or $. echo might interpret backslashes.
|
|
1911 # By default was `s,x,x', remove it if useless.
|
|
1912 cat <<\_ACEOF >conftest.sed
|
|
1913 s/[\\$]/&&/g;s/;s,x,x,$//
|
|
1914 _ACEOF
|
|
1915 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
|
|
1916 rm -f conftest.sed
|
|
1917
|
|
1918 # expand $ac_aux_dir to an absolute path
|
|
1919 am_aux_dir=`cd $ac_aux_dir && pwd`
|
|
1920
|
|
1921 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
|
|
1922 # Use eval to expand $SHELL
|
|
1923 if eval "$MISSING --run true"; then
|
|
1924 am_missing_run="$MISSING --run "
|
|
1925 else
|
|
1926 am_missing_run=
|
|
1927 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
|
|
1928 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
|
|
1929 fi
|
|
1930
|
|
1931 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
|
|
1932 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
|
|
1933 if test -z "$MKDIR_P"; then
|
|
1934 if test "${ac_cv_path_mkdir+set}" = set; then
|
|
1935 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
1936 else
|
|
1937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
1938 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
|
|
1939 do
|
|
1940 IFS=$as_save_IFS
|
|
1941 test -z "$as_dir" && as_dir=.
|
|
1942 for ac_prog in mkdir gmkdir; do
|
|
1943 for ac_exec_ext in '' $ac_executable_extensions; do
|
|
1944 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
|
|
1945 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
|
|
1946 'mkdir (GNU coreutils) '* | \
|
|
1947 'mkdir (coreutils) '* | \
|
|
1948 'mkdir (fileutils) '4.1*)
|
|
1949 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
|
|
1950 break 3;;
|
|
1951 esac
|
|
1952 done
|
|
1953 done
|
|
1954 done
|
|
1955 IFS=$as_save_IFS
|
|
1956
|
|
1957 fi
|
|
1958
|
|
1959 if test "${ac_cv_path_mkdir+set}" = set; then
|
|
1960 MKDIR_P="$ac_cv_path_mkdir -p"
|
|
1961 else
|
|
1962 # As a last resort, use the slow shell script. Don't cache a
|
|
1963 # value for MKDIR_P within a source directory, because that will
|
|
1964 # break other packages using the cache if that directory is
|
|
1965 # removed, or if the value is a relative name.
|
|
1966 test -d ./--version && rmdir ./--version
|
|
1967 MKDIR_P="$ac_install_sh -d"
|
|
1968 fi
|
|
1969 fi
|
|
1970 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
|
|
1971 echo "${ECHO_T}$MKDIR_P" >&6; }
|
|
1972
|
|
1973 mkdir_p="$MKDIR_P"
|
|
1974 case $mkdir_p in
|
|
1975 [\\/$]* | ?:[\\/]*) ;;
|
|
1976 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
|
|
1977 esac
|
|
1978
|
|
1979 for ac_prog in gawk mawk nawk awk
|
|
1980 do
|
|
1981 # Extract the first word of "$ac_prog", so it can be a program name with args.
|
|
1982 set dummy $ac_prog; ac_word=$2
|
|
1983 { echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
1984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
|
1985 if test "${ac_cv_prog_AWK+set}" = set; then
|
|
1986 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
1987 else
|
|
1988 if test -n "$AWK"; then
|
|
1989 ac_cv_prog_AWK="$AWK" # Let the user override the test.
|
|
1990 else
|
|
1991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
1992 for as_dir in $PATH
|
|
1993 do
|
|
1994 IFS=$as_save_IFS
|
|
1995 test -z "$as_dir" && as_dir=.
|
|
1996 for ac_exec_ext in '' $ac_executable_extensions; do
|
|
1997 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
1998 ac_cv_prog_AWK="$ac_prog"
|
|
1999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2000 break 2
|
|
2001 fi
|
|
2002 done
|
|
2003 done
|
|
2004 IFS=$as_save_IFS
|
|
2005
|
|
2006 fi
|
|
2007 fi
|
|
2008 AWK=$ac_cv_prog_AWK
|
|
2009 if test -n "$AWK"; then
|
|
2010 { echo "$as_me:$LINENO: result: $AWK" >&5
|
|
2011 echo "${ECHO_T}$AWK" >&6; }
|
|
2012 else
|
|
2013 { echo "$as_me:$LINENO: result: no" >&5
|
|
2014 echo "${ECHO_T}no" >&6; }
|
|
2015 fi
|
|
2016
|
|
2017
|
|
2018 test -n "$AWK" && break
|
|
2019 done
|
|
2020
|
|
2021 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
|
2022 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
|
|
2023 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
|
|
2024 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
2025 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2026 else
|
|
2027 cat >conftest.make <<\_ACEOF
|
|
2028 SHELL = /bin/sh
|
|
2029 all:
|
|
2030 @echo '@@@%%%=$(MAKE)=@@@%%%'
|
|
2031 _ACEOF
|
|
2032 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
|
|
2033 case `${MAKE-make} -f conftest.make 2>/dev/null` in
|
|
2034 *@@@%%%=?*=@@@%%%*)
|
|
2035 eval ac_cv_prog_make_${ac_make}_set=yes;;
|
|
2036 *)
|
|
2037 eval ac_cv_prog_make_${ac_make}_set=no;;
|
|
2038 esac
|
|
2039 rm -f conftest.make
|
|
2040 fi
|
|
2041 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
|
|
2042 { echo "$as_me:$LINENO: result: yes" >&5
|
|
2043 echo "${ECHO_T}yes" >&6; }
|
|
2044 SET_MAKE=
|
|
2045 else
|
|
2046 { echo "$as_me:$LINENO: result: no" >&5
|
|
2047 echo "${ECHO_T}no" >&6; }
|
|
2048 SET_MAKE="MAKE=${MAKE-make}"
|
|
2049 fi
|
|
2050
|
|
2051 rm -rf .tst 2>/dev/null
|
|
2052 mkdir .tst 2>/dev/null
|
|
2053 if test -d .tst; then
|
|
2054 am__leading_dot=.
|
|
2055 else
|
|
2056 am__leading_dot=_
|
|
2057 fi
|
|
2058 rmdir .tst 2>/dev/null
|
|
2059
|
|
2060 if test "`cd $srcdir && pwd`" != "`pwd`"; then
|
|
2061 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
|
|
2062 # is not polluted with repeated "-I."
|
|
2063 am__isrc=' -I$(srcdir)'
|
|
2064 # test to see if srcdir already configured
|
|
2065 if test -f $srcdir/config.status; then
|
|
2066 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
|
|
2067 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
|
|
2068 { (exit 1); exit 1; }; }
|
|
2069 fi
|
|
2070 fi
|
|
2071
|
|
2072 # test whether we have cygpath
|
|
2073 if test -z "$CYGPATH_W"; then
|
|
2074 if (cygpath --version) >/dev/null 2>/dev/null; then
|
|
2075 CYGPATH_W='cygpath -w'
|
|
2076 else
|
|
2077 CYGPATH_W=echo
|
|
2078 fi
|
|
2079 fi
|
|
2080
|
|
2081
|
|
2082 # Define the identity of the package.
|
|
2083 PACKAGE='ick'
|
|
2084 VERSION='0.29'
|
|
2085
|
|
2086
|
|
2087 cat >>confdefs.h <<_ACEOF
|
|
2088 #define PACKAGE "$PACKAGE"
|
|
2089 _ACEOF
|
|
2090
|
|
2091
|
|
2092 cat >>confdefs.h <<_ACEOF
|
|
2093 #define VERSION "$VERSION"
|
|
2094 _ACEOF
|
|
2095
|
|
2096 # Some tools Automake needs.
|
|
2097
|
|
2098 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
|
|
2099
|
|
2100
|
|
2101 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
|
|
2102
|
|
2103
|
|
2104 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
|
|
2105
|
|
2106
|
|
2107 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
|
|
2108
|
|
2109
|
|
2110 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
|
|
2111
|
|
2112 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
|
|
2113
|
|
2114 # Installed binaries are usually stripped using `strip' when the user
|
|
2115 # run `make install-strip'. However `strip' might not be the right
|
|
2116 # tool to use in cross-compilation environments, therefore Automake
|
|
2117 # will honor the `STRIP' environment variable to overrule this program.
|
|
2118 if test "$cross_compiling" != no; then
|
|
2119 if test -n "$ac_tool_prefix"; then
|
|
2120 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
|
2121 set dummy ${ac_tool_prefix}strip; ac_word=$2
|
|
2122 { echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2123 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
|
2124 if test "${ac_cv_prog_STRIP+set}" = set; then
|
|
2125 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2126 else
|
|
2127 if test -n "$STRIP"; then
|
|
2128 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
|
|
2129 else
|
|
2130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
2131 for as_dir in $PATH
|
|
2132 do
|
|
2133 IFS=$as_save_IFS
|
|
2134 test -z "$as_dir" && as_dir=.
|
|
2135 for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
2137 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
|
|
2138 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2139 break 2
|
|
2140 fi
|
|
2141 done
|
|
2142 done
|
|
2143 IFS=$as_save_IFS
|
|
2144
|
|
2145 fi
|
|
2146 fi
|
|
2147 STRIP=$ac_cv_prog_STRIP
|
|
2148 if test -n "$STRIP"; then
|
|
2149 { echo "$as_me:$LINENO: result: $STRIP" >&5
|
|
2150 echo "${ECHO_T}$STRIP" >&6; }
|
|
2151 else
|
|
2152 { echo "$as_me:$LINENO: result: no" >&5
|
|
2153 echo "${ECHO_T}no" >&6; }
|
|
2154 fi
|
|
2155
|
|
2156
|
|
2157 fi
|
|
2158 if test -z "$ac_cv_prog_STRIP"; then
|
|
2159 ac_ct_STRIP=$STRIP
|
|
2160 # Extract the first word of "strip", so it can be a program name with args.
|
|
2161 set dummy strip; ac_word=$2
|
|
2162 { echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
|
2164 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
|
|
2165 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2166 else
|
|
2167 if test -n "$ac_ct_STRIP"; then
|
|
2168 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
|
|
2169 else
|
|
2170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
2171 for as_dir in $PATH
|
|
2172 do
|
|
2173 IFS=$as_save_IFS
|
|
2174 test -z "$as_dir" && as_dir=.
|
|
2175 for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
2177 ac_cv_prog_ac_ct_STRIP="strip"
|
|
2178 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2179 break 2
|
|
2180 fi
|
|
2181 done
|
|
2182 done
|
|
2183 IFS=$as_save_IFS
|
|
2184
|
|
2185 fi
|
|
2186 fi
|
|
2187 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
|
|
2188 if test -n "$ac_ct_STRIP"; then
|
|
2189 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
|
|
2190 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
|
|
2191 else
|
|
2192 { echo "$as_me:$LINENO: result: no" >&5
|
|
2193 echo "${ECHO_T}no" >&6; }
|
|
2194 fi
|
|
2195
|
|
2196 if test "x$ac_ct_STRIP" = x; then
|
|
2197 STRIP=":"
|
|
2198 else
|
|
2199 case $cross_compiling:$ac_tool_warned in
|
|
2200 yes:)
|
|
2201 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
|
2202 whose name does not start with the host triplet. If you think this
|
|
2203 configuration is useful to you, please write to autoconf@gnu.org." >&5
|
|
2204 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
|
2205 whose name does not start with the host triplet. If you think this
|
|
2206 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
|
2207 ac_tool_warned=yes ;;
|
|
2208 esac
|
|
2209 STRIP=$ac_ct_STRIP
|
|
2210 fi
|
|
2211 else
|
|
2212 STRIP="$ac_cv_prog_STRIP"
|
|
2213 fi
|
|
2214
|
|
2215 fi
|
|
2216 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
|
|
2217
|
|
2218 # We need awk for the "check" target. The system "awk" is bad on
|
|
2219 # some platforms.
|
|
2220 # Always define AMTAR for backward compatibility.
|
|
2221
|
|
2222 AMTAR=${AMTAR-"${am_missing_run}tar"}
|
|
2223
|
|
2224
|
|
2225 { echo "$as_me:$LINENO: checking how to create a pax tar archive" >&5
|
|
2226 echo $ECHO_N "checking how to create a pax tar archive... $ECHO_C" >&6; }
|
|
2227 # Loop over all known methods to create a tar archive until one works.
|
|
2228 _am_tools='gnutar pax cpio none'
|
|
2229 _am_tools=${am_cv_prog_tar_pax-$_am_tools}
|
|
2230 # Do not fold the above two line into one, because Tru64 sh and
|
|
2231 # Solaris sh will not grok spaces in the rhs of `-'.
|
|
2232 for _am_tool in $_am_tools
|
|
2233 do
|
|
2234 case $_am_tool in
|
|
2235 gnutar)
|
|
2236 for _am_tar in tar gnutar gtar;
|
|
2237 do
|
|
2238 { echo "$as_me:$LINENO: $_am_tar --version" >&5
|
|
2239 ($_am_tar --version) >&5 2>&5
|
|
2240 ac_status=$?
|
|
2241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
2242 (exit $ac_status); } && break
|
|
2243 done
|
|
2244 am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
|
|
2245 am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
|
|
2246 am__untar="$_am_tar -xf -"
|
|
2247 ;;
|
|
2248 plaintar)
|
|
2249 # Must skip GNU tar: if it does not support --format= it doesn't create
|
|
2250 # ustar tarball either.
|
|
2251 (tar --version) >/dev/null 2>&1 && continue
|
|
2252 am__tar='tar chf - "$$tardir"'
|
|
2253 am__tar_='tar chf - "$tardir"'
|
|
2254 am__untar='tar xf -'
|
|
2255 ;;
|
|
2256 pax)
|
|
2257 am__tar='pax -L -x pax -w "$$tardir"'
|
|
2258 am__tar_='pax -L -x pax -w "$tardir"'
|
|
2259 am__untar='pax -r'
|
|
2260 ;;
|
|
2261 cpio)
|
|
2262 am__tar='find "$$tardir" -print | cpio -o -H pax -L'
|
|
2263 am__tar_='find "$tardir" -print | cpio -o -H pax -L'
|
|
2264 am__untar='cpio -i -H pax -d'
|
|
2265 ;;
|
|
2266 none)
|
|
2267 am__tar=false
|
|
2268 am__tar_=false
|
|
2269 am__untar=false
|
|
2270 ;;
|
|
2271 esac
|
|
2272
|
|
2273 # If the value was cached, stop now. We just wanted to have am__tar
|
|
2274 # and am__untar set.
|
|
2275 test -n "${am_cv_prog_tar_pax}" && break
|
|
2276
|
|
2277 # tar/untar a dummy directory, and stop if the command works
|
|
2278 rm -rf conftest.dir
|
|
2279 mkdir conftest.dir
|
|
2280 echo GrepMe > conftest.dir/file
|
|
2281 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
|
|
2282 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
|
|
2283 ac_status=$?
|
|
2284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
2285 (exit $ac_status); }
|
|
2286 rm -rf conftest.dir
|
|
2287 if test -s conftest.tar; then
|
|
2288 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
|
|
2289 ($am__untar <conftest.tar) >&5 2>&5
|
|
2290 ac_status=$?
|
|
2291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
2292 (exit $ac_status); }
|
|
2293 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
|
|
2294 fi
|
|
2295 done
|
|
2296 rm -rf conftest.dir
|
|
2297
|
|
2298 if test "${am_cv_prog_tar_pax+set}" = set; then
|
|
2299 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2300 else
|
|
2301 am_cv_prog_tar_pax=$_am_tool
|
|
2302 fi
|
|
2303
|
|
2304 { echo "$as_me:$LINENO: result: $am_cv_prog_tar_pax" >&5
|
|
2305 echo "${ECHO_T}$am_cv_prog_tar_pax" >&6; }
|
|
2306
|
|
2307
|
|
2308
|
|
2309
|
|
2310
|
|
2311
|
|
2312 PACKAGE_VERSION=0.29
|
|
2313
|
|
2314 for ac_prog in 'bison -y' byacc
|
|
2315 do
|
|
2316 # Extract the first word of "$ac_prog", so it can be a program name with args.
|
|
2317 set dummy $ac_prog; ac_word=$2
|
|
2318 { echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
|
2320 if test "${ac_cv_prog_YACC+set}" = set; then
|
|
2321 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2322 else
|
|
2323 if test -n "$YACC"; then
|
|
2324 ac_cv_prog_YACC="$YACC" # Let the user override the test.
|
|
2325 else
|
|
2326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
2327 for as_dir in $PATH
|
|
2328 do
|
|
2329 IFS=$as_save_IFS
|
|
2330 test -z "$as_dir" && as_dir=.
|
|
2331 for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
2333 ac_cv_prog_YACC="$ac_prog"
|
|
2334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2335 break 2
|
|
2336 fi
|
|
2337 done
|
|
2338 done
|
|
2339 IFS=$as_save_IFS
|
|
2340
|
|
2341 fi
|
|
2342 fi
|
|
2343 YACC=$ac_cv_prog_YACC
|
|
2344 if test -n "$YACC"; then
|
|
2345 { echo "$as_me:$LINENO: result: $YACC" >&5
|
|
2346 echo "${ECHO_T}$YACC" >&6; }
|
|
2347 else
|
|
2348 { echo "$as_me:$LINENO: result: no" >&5
|
|
2349 echo "${ECHO_T}no" >&6; }
|
|
2350 fi
|
|
2351
|
|
2352
|
|
2353 test -n "$YACC" && break
|
|
2354 done
|
|
2355 test -n "$YACC" || YACC="yacc"
|
|
2356
|
|
2357 ac_ext=c
|
|
2358 ac_cpp='$CPP $CPPFLAGS'
|
|
2359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
2360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
2361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
2362 if test -n "$ac_tool_prefix"; then
|
|
2363 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
|
2364 set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
|
2365 { echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
|
2367 if test "${ac_cv_prog_CC+set}" = set; then
|
|
2368 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2369 else
|
|
2370 if test -n "$CC"; then
|
|
2371 ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
2372 else
|
|
2373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
2374 for as_dir in $PATH
|
|
2375 do
|
|
2376 IFS=$as_save_IFS
|
|
2377 test -z "$as_dir" && as_dir=.
|
|
2378 for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
2380 ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
|
2381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2382 break 2
|
|
2383 fi
|
|
2384 done
|
|
2385 done
|
|
2386 IFS=$as_save_IFS
|
|
2387
|
|
2388 fi
|
|
2389 fi
|
|
2390 CC=$ac_cv_prog_CC
|
|
2391 if test -n "$CC"; then
|
|
2392 { echo "$as_me:$LINENO: result: $CC" >&5
|
|
2393 echo "${ECHO_T}$CC" >&6; }
|
|
2394 else
|
|
2395 { echo "$as_me:$LINENO: result: no" >&5
|
|
2396 echo "${ECHO_T}no" >&6; }
|
|
2397 fi
|
|
2398
|
|
2399
|
|
2400 fi
|
|
2401 if test -z "$ac_cv_prog_CC"; then
|
|
2402 ac_ct_CC=$CC
|
|
2403 # Extract the first word of "gcc", so it can be a program name with args.
|
|
2404 set dummy gcc; ac_word=$2
|
|
2405 { echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2406 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
|
2407 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
|
2408 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2409 else
|
|
2410 if test -n "$ac_ct_CC"; then
|
|
2411 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
|
2412 else
|
|
2413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
2414 for as_dir in $PATH
|
|
2415 do
|
|
2416 IFS=$as_save_IFS
|
|
2417 test -z "$as_dir" && as_dir=.
|
|
2418 for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
2420 ac_cv_prog_ac_ct_CC="gcc"
|
|
2421 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2422 break 2
|
|
2423 fi
|
|
2424 done
|
|
2425 done
|
|
2426 IFS=$as_save_IFS
|
|
2427
|
|
2428 fi
|
|
2429 fi
|
|
2430 ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
|
2431 if test -n "$ac_ct_CC"; then
|
|
2432 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
|
2433 echo "${ECHO_T}$ac_ct_CC" >&6; }
|
|
2434 else
|
|
2435 { echo "$as_me:$LINENO: result: no" >&5
|
|
2436 echo "${ECHO_T}no" >&6; }
|
|
2437 fi
|
|
2438
|
|
2439 if test "x$ac_ct_CC" = x; then
|
|
2440 CC=""
|
|
2441 else
|
|
2442 case $cross_compiling:$ac_tool_warned in
|
|
2443 yes:)
|
|
2444 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
|
2445 whose name does not start with the host triplet. If you think this
|
|
2446 configuration is useful to you, please write to autoconf@gnu.org." >&5
|
|
2447 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
|
2448 whose name does not start with the host triplet. If you think this
|
|
2449 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
|
2450 ac_tool_warned=yes ;;
|
|
2451 esac
|
|
2452 CC=$ac_ct_CC
|
|
2453 fi
|
|
2454 else
|
|
2455 CC="$ac_cv_prog_CC"
|
|
2456 fi
|
|
2457
|
|
2458 if test -z "$CC"; then
|
|
2459 if test -n "$ac_tool_prefix"; then
|
|
2460 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
|
2461 set dummy ${ac_tool_prefix}cc; ac_word=$2
|
|
2462 { echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2463 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
|
2464 if test "${ac_cv_prog_CC+set}" = set; then
|
|
2465 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2466 else
|
|
2467 if test -n "$CC"; then
|
|
2468 ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
2469 else
|
|
2470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
2471 for as_dir in $PATH
|
|
2472 do
|
|
2473 IFS=$as_save_IFS
|
|
2474 test -z "$as_dir" && as_dir=.
|
|
2475 for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
2477 ac_cv_prog_CC="${ac_tool_prefix}cc"
|
|
2478 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2479 break 2
|
|
2480 fi
|
|
2481 done
|
|
2482 done
|
|
2483 IFS=$as_save_IFS
|
|
2484
|
|
2485 fi
|
|
2486 fi
|
|
2487 CC=$ac_cv_prog_CC
|
|
2488 if test -n "$CC"; then
|
|
2489 { echo "$as_me:$LINENO: result: $CC" >&5
|
|
2490 echo "${ECHO_T}$CC" >&6; }
|
|
2491 else
|
|
2492 { echo "$as_me:$LINENO: result: no" >&5
|
|
2493 echo "${ECHO_T}no" >&6; }
|
|
2494 fi
|
|
2495
|
|
2496
|
|
2497 fi
|
|
2498 fi
|
|
2499 if test -z "$CC"; then
|
|
2500 # Extract the first word of "cc", so it can be a program name with args.
|
|
2501 set dummy cc; ac_word=$2
|
|
2502 { echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2503 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
|
2504 if test "${ac_cv_prog_CC+set}" = set; then
|
|
2505 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2506 else
|
|
2507 if test -n "$CC"; then
|
|
2508 ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
2509 else
|
|
2510 ac_prog_rejected=no
|
|
2511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
2512 for as_dir in $PATH
|
|
2513 do
|
|
2514 IFS=$as_save_IFS
|
|
2515 test -z "$as_dir" && as_dir=.
|
|
2516 for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
2518 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
|
2519 ac_prog_rejected=yes
|
|
2520 continue
|
|
2521 fi
|
|
2522 ac_cv_prog_CC="cc"
|
|
2523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2524 break 2
|
|
2525 fi
|
|
2526 done
|
|
2527 done
|
|
2528 IFS=$as_save_IFS
|
|
2529
|
|
2530 if test $ac_prog_rejected = yes; then
|
|
2531 # We found a bogon in the path, so make sure we never use it.
|
|
2532 set dummy $ac_cv_prog_CC
|
|
2533 shift
|
|
2534 if test $# != 0; then
|
|
2535 # We chose a different compiler from the bogus one.
|
|
2536 # However, it has the same basename, so the bogon will be chosen
|
|
2537 # first if we set CC to just the basename; use the full file name.
|
|
2538 shift
|
|
2539 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
|
|
2540 fi
|
|
2541 fi
|
|
2542 fi
|
|
2543 fi
|
|
2544 CC=$ac_cv_prog_CC
|
|
2545 if test -n "$CC"; then
|
|
2546 { echo "$as_me:$LINENO: result: $CC" >&5
|
|
2547 echo "${ECHO_T}$CC" >&6; }
|
|
2548 else
|
|
2549 { echo "$as_me:$LINENO: result: no" >&5
|
|
2550 echo "${ECHO_T}no" >&6; }
|
|
2551 fi
|
|
2552
|
|
2553
|
|
2554 fi
|
|
2555 if test -z "$CC"; then
|
|
2556 if test -n "$ac_tool_prefix"; then
|
|
2557 for ac_prog in cl.exe
|
|
2558 do
|
|
2559 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
|
2560 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
|
2561 { echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2562 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
|
2563 if test "${ac_cv_prog_CC+set}" = set; then
|
|
2564 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2565 else
|
|
2566 if test -n "$CC"; then
|
|
2567 ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
2568 else
|
|
2569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
2570 for as_dir in $PATH
|
|
2571 do
|
|
2572 IFS=$as_save_IFS
|
|
2573 test -z "$as_dir" && as_dir=.
|
|
2574 for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
2576 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
|
2577 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2578 break 2
|
|
2579 fi
|
|
2580 done
|
|
2581 done
|
|
2582 IFS=$as_save_IFS
|
|
2583
|
|
2584 fi
|
|
2585 fi
|
|
2586 CC=$ac_cv_prog_CC
|
|
2587 if test -n "$CC"; then
|
|
2588 { echo "$as_me:$LINENO: result: $CC" >&5
|
|
2589 echo "${ECHO_T}$CC" >&6; }
|
|
2590 else
|
|
2591 { echo "$as_me:$LINENO: result: no" >&5
|
|
2592 echo "${ECHO_T}no" >&6; }
|
|
2593 fi
|
|
2594
|
|
2595
|
|
2596 test -n "$CC" && break
|
|
2597 done
|
|
2598 fi
|
|
2599 if test -z "$CC"; then
|
|
2600 ac_ct_CC=$CC
|
|
2601 for ac_prog in cl.exe
|
|
2602 do
|
|
2603 # Extract the first word of "$ac_prog", so it can be a program name with args.
|
|
2604 set dummy $ac_prog; ac_word=$2
|
|
2605 { echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
|
2607 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
|
2608 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2609 else
|
|
2610 if test -n "$ac_ct_CC"; then
|
|
2611 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
|
2612 else
|
|
2613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
2614 for as_dir in $PATH
|
|
2615 do
|
|
2616 IFS=$as_save_IFS
|
|
2617 test -z "$as_dir" && as_dir=.
|
|
2618 for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
2620 ac_cv_prog_ac_ct_CC="$ac_prog"
|
|
2621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2622 break 2
|
|
2623 fi
|
|
2624 done
|
|
2625 done
|
|
2626 IFS=$as_save_IFS
|
|
2627
|
|
2628 fi
|
|
2629 fi
|
|
2630 ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
|
2631 if test -n "$ac_ct_CC"; then
|
|
2632 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
|
2633 echo "${ECHO_T}$ac_ct_CC" >&6; }
|
|
2634 else
|
|
2635 { echo "$as_me:$LINENO: result: no" >&5
|
|
2636 echo "${ECHO_T}no" >&6; }
|
|
2637 fi
|
|
2638
|
|
2639
|
|
2640 test -n "$ac_ct_CC" && break
|
|
2641 done
|
|
2642
|
|
2643 if test "x$ac_ct_CC" = x; then
|
|
2644 CC=""
|
|
2645 else
|
|
2646 case $cross_compiling:$ac_tool_warned in
|
|
2647 yes:)
|
|
2648 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
|
2649 whose name does not start with the host triplet. If you think this
|
|
2650 configuration is useful to you, please write to autoconf@gnu.org." >&5
|
|
2651 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
|
2652 whose name does not start with the host triplet. If you think this
|
|
2653 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
|
2654 ac_tool_warned=yes ;;
|
|
2655 esac
|
|
2656 CC=$ac_ct_CC
|
|
2657 fi
|
|
2658 fi
|
|
2659
|
|
2660 fi
|
|
2661
|
|
2662
|
|
2663 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
|
|
2664 See \`config.log' for more details." >&5
|
|
2665 echo "$as_me: error: no acceptable C compiler found in \$PATH
|
|
2666 See \`config.log' for more details." >&2;}
|
|
2667 { (exit 1); exit 1; }; }
|
|
2668
|
|
2669 # Provide some information about the compiler.
|
|
2670 echo "$as_me:$LINENO: checking for C compiler version" >&5
|
|
2671 ac_compiler=`set X $ac_compile; echo $2`
|
|
2672 { (ac_try="$ac_compiler --version >&5"
|
|
2673 case "(($ac_try" in
|
|
2674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2675 *) ac_try_echo=$ac_try;;
|
|
2676 esac
|
|
2677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2678 (eval "$ac_compiler --version >&5") 2>&5
|
|
2679 ac_status=$?
|
|
2680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
2681 (exit $ac_status); }
|
|
2682 { (ac_try="$ac_compiler -v >&5"
|
|
2683 case "(($ac_try" in
|
|
2684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2685 *) ac_try_echo=$ac_try;;
|
|
2686 esac
|
|
2687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2688 (eval "$ac_compiler -v >&5") 2>&5
|
|
2689 ac_status=$?
|
|
2690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
2691 (exit $ac_status); }
|
|
2692 { (ac_try="$ac_compiler -V >&5"
|
|
2693 case "(($ac_try" in
|
|
2694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2695 *) ac_try_echo=$ac_try;;
|
|
2696 esac
|
|
2697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2698 (eval "$ac_compiler -V >&5") 2>&5
|
|
2699 ac_status=$?
|
|
2700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
2701 (exit $ac_status); }
|
|
2702
|
|
2703 cat >conftest.$ac_ext <<_ACEOF
|
|
2704 /* confdefs.h. */
|
|
2705 _ACEOF
|
|
2706 cat confdefs.h >>conftest.$ac_ext
|
|
2707 cat >>conftest.$ac_ext <<_ACEOF
|
|
2708 /* end confdefs.h. */
|
|
2709
|
|
2710 int
|
|
2711 main ()
|
|
2712 {
|
|
2713
|
|
2714 ;
|
|
2715 return 0;
|
|
2716 }
|
|
2717 _ACEOF
|
|
2718 ac_clean_files_save=$ac_clean_files
|
|
2719 ac_clean_files="$ac_clean_files a.out a.exe b.out"
|
|
2720 # Try to create an executable without -o first, disregard a.out.
|
|
2721 # It will help us diagnose broken compilers, and finding out an intuition
|
|
2722 # of exeext.
|
|
2723 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
|
|
2724 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
|
|
2725 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
|
2726 #
|
|
2727 # List of possible output files, starting from the most likely.
|
|
2728 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
|
|
2729 # only as a last resort. b.out is created by i960 compilers.
|
|
2730 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
|
|
2731 #
|
|
2732 # The IRIX 6 linker writes into existing files which may not be
|
|
2733 # executable, retaining their permissions. Remove them first so a
|
|
2734 # subsequent execution test works.
|
|
2735 ac_rmfiles=
|
|
2736 for ac_file in $ac_files
|
|
2737 do
|
|
2738 case $ac_file in
|
|
2739 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
|
|
2740 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
|
|
2741 esac
|
|
2742 done
|
|
2743 rm -f $ac_rmfiles
|
|
2744
|
|
2745 if { (ac_try="$ac_link_default"
|
|
2746 case "(($ac_try" in
|
|
2747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2748 *) ac_try_echo=$ac_try;;
|
|
2749 esac
|
|
2750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2751 (eval "$ac_link_default") 2>&5
|
|
2752 ac_status=$?
|
|
2753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
2754 (exit $ac_status); }; then
|
|
2755 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
|
|
2756 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
|
|
2757 # in a Makefile. We should not override ac_cv_exeext if it was cached,
|
|
2758 # so that the user can short-circuit this test for compilers unknown to
|
|
2759 # Autoconf.
|
|
2760 for ac_file in $ac_files ''
|
|
2761 do
|
|
2762 test -f "$ac_file" || continue
|
|
2763 case $ac_file in
|
|
2764 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
|
|
2765 ;;
|
|
2766 [ab].out )
|
|
2767 # We found the default executable, but exeext='' is most
|
|
2768 # certainly right.
|
|
2769 break;;
|
|
2770 *.* )
|
|
2771 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
|
|
2772 then :; else
|
|
2773 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
|
2774 fi
|
|
2775 # We set ac_cv_exeext here because the later test for it is not
|
|
2776 # safe: cross compilers may not add the suffix if given an `-o'
|
|
2777 # argument, so we may need to know it at that point already.
|
|
2778 # Even if this section looks crufty: it has the advantage of
|
|
2779 # actually working.
|
|
2780 break;;
|
|
2781 * )
|
|
2782 break;;
|
|
2783 esac
|
|
2784 done
|
|
2785 test "$ac_cv_exeext" = no && ac_cv_exeext=
|
|
2786
|
|
2787 else
|
|
2788 ac_file=''
|
|
2789 fi
|
|
2790
|
|
2791 { echo "$as_me:$LINENO: result: $ac_file" >&5
|
|
2792 echo "${ECHO_T}$ac_file" >&6; }
|
|
2793 if test -z "$ac_file"; then
|
|
2794 echo "$as_me: failed program was:" >&5
|
|
2795 sed 's/^/| /' conftest.$ac_ext >&5
|
|
2796
|
|
2797 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
|
|
2798 See \`config.log' for more details." >&5
|
|
2799 echo "$as_me: error: C compiler cannot create executables
|
|
2800 See \`config.log' for more details." >&2;}
|
|
2801 { (exit 77); exit 77; }; }
|
|
2802 fi
|
|
2803
|
|
2804 ac_exeext=$ac_cv_exeext
|
|
2805
|
|
2806 # Check that the compiler produces executables we can run. If not, either
|
|
2807 # the compiler is broken, or we cross compile.
|
|
2808 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
|
|
2809 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
|
|
2810 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
|
|
2811 # If not cross compiling, check that we can run a simple program.
|
|
2812 if test "$cross_compiling" != yes; then
|
|
2813 if { ac_try='./$ac_file'
|
|
2814 { (case "(($ac_try" in
|
|
2815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2816 *) ac_try_echo=$ac_try;;
|
|
2817 esac
|
|
2818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2819 (eval "$ac_try") 2>&5
|
|
2820 ac_status=$?
|
|
2821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
2822 (exit $ac_status); }; }; then
|
|
2823 cross_compiling=no
|
|
2824 else
|
|
2825 if test "$cross_compiling" = maybe; then
|
|
2826 cross_compiling=yes
|
|
2827 else
|
|
2828 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
|
|
2829 If you meant to cross compile, use \`--host'.
|
|
2830 See \`config.log' for more details." >&5
|
|
2831 echo "$as_me: error: cannot run C compiled programs.
|
|
2832 If you meant to cross compile, use \`--host'.
|
|
2833 See \`config.log' for more details." >&2;}
|
|
2834 { (exit 1); exit 1; }; }
|
|
2835 fi
|
|
2836 fi
|
|
2837 fi
|
|
2838 { echo "$as_me:$LINENO: result: yes" >&5
|
|
2839 echo "${ECHO_T}yes" >&6; }
|
|
2840
|
|
2841 rm -f a.out a.exe conftest$ac_cv_exeext b.out
|
|
2842 ac_clean_files=$ac_clean_files_save
|
|
2843 # Check that the compiler produces executables we can run. If not, either
|
|
2844 # the compiler is broken, or we cross compile.
|
|
2845 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
|
|
2846 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
|
|
2847 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
|
|
2848 echo "${ECHO_T}$cross_compiling" >&6; }
|
|
2849
|
|
2850 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
|
|
2851 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
|
|
2852 if { (ac_try="$ac_link"
|
|
2853 case "(($ac_try" in
|
|
2854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2855 *) ac_try_echo=$ac_try;;
|
|
2856 esac
|
|
2857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2858 (eval "$ac_link") 2>&5
|
|
2859 ac_status=$?
|
|
2860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
2861 (exit $ac_status); }; then
|
|
2862 # If both `conftest.exe' and `conftest' are `present' (well, observable)
|
|
2863 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
|
2864 # work properly (i.e., refer to `conftest.exe'), while it won't with
|
|
2865 # `rm'.
|
|
2866 for ac_file in conftest.exe conftest conftest.*; do
|
|
2867 test -f "$ac_file" || continue
|
|
2868 case $ac_file in
|
|
2869 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
|
|
2870 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
|
2871 break;;
|
|
2872 * ) break;;
|
|
2873 esac
|
|
2874 done
|
|
2875 else
|
|
2876 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
|
|
2877 See \`config.log' for more details." >&5
|
|
2878 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
|
|
2879 See \`config.log' for more details." >&2;}
|
|
2880 { (exit 1); exit 1; }; }
|
|
2881 fi
|
|
2882
|
|
2883 rm -f conftest$ac_cv_exeext
|
|
2884 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
|
|
2885 echo "${ECHO_T}$ac_cv_exeext" >&6; }
|
|
2886
|
|
2887 rm -f conftest.$ac_ext
|
|
2888 EXEEXT=$ac_cv_exeext
|
|
2889 ac_exeext=$EXEEXT
|
|
2890 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
|
|
2891 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
|
|
2892 if test "${ac_cv_objext+set}" = set; then
|
|
2893 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2894 else
|
|
2895 cat >conftest.$ac_ext <<_ACEOF
|
|
2896 /* confdefs.h. */
|
|
2897 _ACEOF
|
|
2898 cat confdefs.h >>conftest.$ac_ext
|
|
2899 cat >>conftest.$ac_ext <<_ACEOF
|
|
2900 /* end confdefs.h. */
|
|
2901
|
|
2902 int
|
|
2903 main ()
|
|
2904 {
|
|
2905
|
|
2906 ;
|
|
2907 return 0;
|
|
2908 }
|
|
2909 _ACEOF
|
|
2910 rm -f conftest.o conftest.obj
|
|
2911 if { (ac_try="$ac_compile"
|
|
2912 case "(($ac_try" in
|
|
2913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2914 *) ac_try_echo=$ac_try;;
|
|
2915 esac
|
|
2916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2917 (eval "$ac_compile") 2>&5
|
|
2918 ac_status=$?
|
|
2919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
2920 (exit $ac_status); }; then
|
|
2921 for ac_file in conftest.o conftest.obj conftest.*; do
|
|
2922 test -f "$ac_file" || continue;
|
|
2923 case $ac_file in
|
|
2924 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
|
|
2925 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
|
|
2926 break;;
|
|
2927 esac
|
|
2928 done
|
|
2929 else
|
|
2930 echo "$as_me: failed program was:" >&5
|
|
2931 sed 's/^/| /' conftest.$ac_ext >&5
|
|
2932
|
|
2933 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
|
|
2934 See \`config.log' for more details." >&5
|
|
2935 echo "$as_me: error: cannot compute suffix of object files: cannot compile
|
|
2936 See \`config.log' for more details." >&2;}
|
|
2937 { (exit 1); exit 1; }; }
|
|
2938 fi
|
|
2939
|
|
2940 rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
|
2941 fi
|
|
2942 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
|
|
2943 echo "${ECHO_T}$ac_cv_objext" >&6; }
|
|
2944 OBJEXT=$ac_cv_objext
|
|
2945 ac_objext=$OBJEXT
|
|
2946 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
|
|
2947 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
|
|
2948 if test "${ac_cv_c_compiler_gnu+set}" = set; then
|
|
2949 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2950 else
|
|
2951 cat >conftest.$ac_ext <<_ACEOF
|
|
2952 /* confdefs.h. */
|
|
2953 _ACEOF
|
|
2954 cat confdefs.h >>conftest.$ac_ext
|
|
2955 cat >>conftest.$ac_ext <<_ACEOF
|
|
2956 /* end confdefs.h. */
|
|
2957
|
|
2958 int
|
|
2959 main ()
|
|
2960 {
|
|
2961 #ifndef __GNUC__
|
|
2962 choke me
|
|
2963 #endif
|
|
2964
|
|
2965 ;
|
|
2966 return 0;
|
|
2967 }
|
|
2968 _ACEOF
|
|
2969 rm -f conftest.$ac_objext
|
|
2970 if { (ac_try="$ac_compile"
|
|
2971 case "(($ac_try" in
|
|
2972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2973 *) ac_try_echo=$ac_try;;
|
|
2974 esac
|
|
2975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2976 (eval "$ac_compile") 2>conftest.er1
|
|
2977 ac_status=$?
|
|
2978 grep -v '^ *+' conftest.er1 >conftest.err
|
|
2979 rm -f conftest.er1
|
|
2980 cat conftest.err >&5
|
|
2981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
2982 (exit $ac_status); } && {
|
|
2983 test -z "$ac_c_werror_flag" ||
|
|
2984 test ! -s conftest.err
|
|
2985 } && test -s conftest.$ac_objext; then
|
|
2986 ac_compiler_gnu=yes
|
|
2987 else
|
|
2988 echo "$as_me: failed program was:" >&5
|
|
2989 sed 's/^/| /' conftest.$ac_ext >&5
|
|
2990
|
|
2991 ac_compiler_gnu=no
|
|
2992 fi
|
|
2993
|
|
2994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
2995 ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
|
2996
|
|
2997 fi
|
|
2998 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
|
|
2999 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
|
|
3000 GCC=`test $ac_compiler_gnu = yes && echo yes`
|
|
3001 ac_test_CFLAGS=${CFLAGS+set}
|
|
3002 ac_save_CFLAGS=$CFLAGS
|
|
3003 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
|
|
3004 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
|
|
3005 if test "${ac_cv_prog_cc_g+set}" = set; then
|
|
3006 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3007 else
|
|
3008 ac_save_c_werror_flag=$ac_c_werror_flag
|
|
3009 ac_c_werror_flag=yes
|
|
3010 ac_cv_prog_cc_g=no
|
|
3011 CFLAGS="-g"
|
|
3012 cat >conftest.$ac_ext <<_ACEOF
|
|
3013 /* confdefs.h. */
|
|
3014 _ACEOF
|
|
3015 cat confdefs.h >>conftest.$ac_ext
|
|
3016 cat >>conftest.$ac_ext <<_ACEOF
|
|
3017 /* end confdefs.h. */
|
|
3018
|
|
3019 int
|
|
3020 main ()
|
|
3021 {
|
|
3022
|
|
3023 ;
|
|
3024 return 0;
|
|
3025 }
|
|
3026 _ACEOF
|
|
3027 rm -f conftest.$ac_objext
|
|
3028 if { (ac_try="$ac_compile"
|
|
3029 case "(($ac_try" in
|
|
3030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3031 *) ac_try_echo=$ac_try;;
|
|
3032 esac
|
|
3033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3034 (eval "$ac_compile") 2>conftest.er1
|
|
3035 ac_status=$?
|
|
3036 grep -v '^ *+' conftest.er1 >conftest.err
|
|
3037 rm -f conftest.er1
|
|
3038 cat conftest.err >&5
|
|
3039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3040 (exit $ac_status); } && {
|
|
3041 test -z "$ac_c_werror_flag" ||
|
|
3042 test ! -s conftest.err
|
|
3043 } && test -s conftest.$ac_objext; then
|
|
3044 ac_cv_prog_cc_g=yes
|
|
3045 else
|
|
3046 echo "$as_me: failed program was:" >&5
|
|
3047 sed 's/^/| /' conftest.$ac_ext >&5
|
|
3048
|
|
3049 CFLAGS=""
|
|
3050 cat >conftest.$ac_ext <<_ACEOF
|
|
3051 /* confdefs.h. */
|
|
3052 _ACEOF
|
|
3053 cat confdefs.h >>conftest.$ac_ext
|
|
3054 cat >>conftest.$ac_ext <<_ACEOF
|
|
3055 /* end confdefs.h. */
|
|
3056
|
|
3057 int
|
|
3058 main ()
|
|
3059 {
|
|
3060
|
|
3061 ;
|
|
3062 return 0;
|
|
3063 }
|
|
3064 _ACEOF
|
|
3065 rm -f conftest.$ac_objext
|
|
3066 if { (ac_try="$ac_compile"
|
|
3067 case "(($ac_try" in
|
|
3068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3069 *) ac_try_echo=$ac_try;;
|
|
3070 esac
|
|
3071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3072 (eval "$ac_compile") 2>conftest.er1
|
|
3073 ac_status=$?
|
|
3074 grep -v '^ *+' conftest.er1 >conftest.err
|
|
3075 rm -f conftest.er1
|
|
3076 cat conftest.err >&5
|
|
3077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3078 (exit $ac_status); } && {
|
|
3079 test -z "$ac_c_werror_flag" ||
|
|
3080 test ! -s conftest.err
|
|
3081 } && test -s conftest.$ac_objext; then
|
|
3082 :
|
|
3083 else
|
|
3084 echo "$as_me: failed program was:" >&5
|
|
3085 sed 's/^/| /' conftest.$ac_ext >&5
|
|
3086
|
|
3087 ac_c_werror_flag=$ac_save_c_werror_flag
|
|
3088 CFLAGS="-g"
|
|
3089 cat >conftest.$ac_ext <<_ACEOF
|
|
3090 /* confdefs.h. */
|
|
3091 _ACEOF
|
|
3092 cat confdefs.h >>conftest.$ac_ext
|
|
3093 cat >>conftest.$ac_ext <<_ACEOF
|
|
3094 /* end confdefs.h. */
|
|
3095
|
|
3096 int
|
|
3097 main ()
|
|
3098 {
|
|
3099
|
|
3100 ;
|
|
3101 return 0;
|
|
3102 }
|
|
3103 _ACEOF
|
|
3104 rm -f conftest.$ac_objext
|
|
3105 if { (ac_try="$ac_compile"
|
|
3106 case "(($ac_try" in
|
|
3107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3108 *) ac_try_echo=$ac_try;;
|
|
3109 esac
|
|
3110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3111 (eval "$ac_compile") 2>conftest.er1
|
|
3112 ac_status=$?
|
|
3113 grep -v '^ *+' conftest.er1 >conftest.err
|
|
3114 rm -f conftest.er1
|
|
3115 cat conftest.err >&5
|
|
3116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3117 (exit $ac_status); } && {
|
|
3118 test -z "$ac_c_werror_flag" ||
|
|
3119 test ! -s conftest.err
|
|
3120 } && test -s conftest.$ac_objext; then
|
|
3121 ac_cv_prog_cc_g=yes
|
|
3122 else
|
|
3123 echo "$as_me: failed program was:" >&5
|
|
3124 sed 's/^/| /' conftest.$ac_ext >&5
|
|
3125
|
|
3126
|
|
3127 fi
|
|
3128
|
|
3129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
3130 fi
|
|
3131
|
|
3132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
3133 fi
|
|
3134
|
|
3135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
3136 ac_c_werror_flag=$ac_save_c_werror_flag
|
|
3137 fi
|
|
3138 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
|
|
3139 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
|
|
3140 if test "$ac_test_CFLAGS" = set; then
|
|
3141 CFLAGS=$ac_save_CFLAGS
|
|
3142 elif test $ac_cv_prog_cc_g = yes; then
|
|
3143 if test "$GCC" = yes; then
|
|
3144 CFLAGS="-g -O2"
|
|
3145 else
|
|
3146 CFLAGS="-g"
|
|
3147 fi
|
|
3148 else
|
|
3149 if test "$GCC" = yes; then
|
|
3150 CFLAGS="-O2"
|
|
3151 else
|
|
3152 CFLAGS=
|
|
3153 fi
|
|
3154 fi
|
|
3155 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
|
|
3156 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
|
|
3157 if test "${ac_cv_prog_cc_c89+set}" = set; then
|
|
3158 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3159 else
|
|
3160 ac_cv_prog_cc_c89=no
|
|
3161 ac_save_CC=$CC
|
|
3162 cat >conftest.$ac_ext <<_ACEOF
|
|
3163 /* confdefs.h. */
|
|
3164 _ACEOF
|
|
3165 cat confdefs.h >>conftest.$ac_ext
|
|
3166 cat >>conftest.$ac_ext <<_ACEOF
|
|
3167 /* end confdefs.h. */
|
|
3168 #include <stdarg.h>
|
|
3169 #include <stdio.h>
|
|
3170 #include <sys/types.h>
|
|
3171 #include <sys/stat.h>
|
|
3172 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
|
3173 struct buf { int x; };
|
|
3174 FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
|
3175 static char *e (p, i)
|
|
3176 char **p;
|
|
3177 int i;
|
|
3178 {
|
|
3179 return p[i];
|
|
3180 }
|
|
3181 static char *f (char * (*g) (char **, int), char **p, ...)
|
|
3182 {
|
|
3183 char *s;
|
|
3184 va_list v;
|
|
3185 va_start (v,p);
|
|
3186 s = g (p, va_arg (v,int));
|
|
3187 va_end (v);
|
|
3188 return s;
|
|
3189 }
|
|
3190
|
|
3191 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
|
3192 function prototypes and stuff, but not '\xHH' hex character constants.
|
|
3193 These don't provoke an error unfortunately, instead are silently treated
|
|
3194 as 'x'. The following induces an error, until -std is added to get
|
|
3195 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
|
|
3196 array size at least. It's necessary to write '\x00'==0 to get something
|
|
3197 that's true only with -std. */
|
|
3198 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
|
3199
|
|
3200 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|
|
3201 inside strings and character constants. */
|
|
3202 #define FOO(x) 'x'
|
|
3203 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
|
3204
|
|
3205 int test (int i, double x);
|
|
3206 struct s1 {int (*f) (int a);};
|
|
3207 struct s2 {int (*f) (double a);};
|
|
3208 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
|
3209 int argc;
|
|
3210 char **argv;
|
|
3211 int
|
|
3212 main ()
|
|
3213 {
|
|
3214 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
|
3215 ;
|
|
3216 return 0;
|
|
3217 }
|
|
3218 _ACEOF
|
|
3219 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
|
|
3220 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
|
3221 do
|
|
3222 CC="$ac_save_CC $ac_arg"
|
|
3223 rm -f conftest.$ac_objext
|
|
3224 if { (ac_try="$ac_compile"
|
|
3225 case "(($ac_try" in
|
|
3226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3227 *) ac_try_echo=$ac_try;;
|
|
3228 esac
|
|
3229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3230 (eval "$ac_compile") 2>conftest.er1
|
|
3231 ac_status=$?
|
|
3232 grep -v '^ *+' conftest.er1 >conftest.err
|
|
3233 rm -f conftest.er1
|
|
3234 cat conftest.err >&5
|
|
3235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3236 (exit $ac_status); } && {
|
|
3237 test -z "$ac_c_werror_flag" ||
|
|
3238 test ! -s conftest.err
|
|
3239 } && test -s conftest.$ac_objext; then
|
|
3240 ac_cv_prog_cc_c89=$ac_arg
|
|
3241 else
|
|
3242 echo "$as_me: failed program was:" >&5
|
|
3243 sed 's/^/| /' conftest.$ac_ext >&5
|
|
3244
|
|
3245
|
|
3246 fi
|
|
3247
|
|
3248 rm -f core conftest.err conftest.$ac_objext
|
|
3249 test "x$ac_cv_prog_cc_c89" != "xno" && break
|
|
3250 done
|
|
3251 rm -f conftest.$ac_ext
|
|
3252 CC=$ac_save_CC
|
|
3253
|
|
3254 fi
|
|
3255 # AC_CACHE_VAL
|
|
3256 case "x$ac_cv_prog_cc_c89" in
|
|
3257 x)
|
|
3258 { echo "$as_me:$LINENO: result: none needed" >&5
|
|
3259 echo "${ECHO_T}none needed" >&6; } ;;
|
|
3260 xno)
|
|
3261 { echo "$as_me:$LINENO: result: unsupported" >&5
|
|
3262 echo "${ECHO_T}unsupported" >&6; } ;;
|
|
3263 *)
|
|
3264 CC="$CC $ac_cv_prog_cc_c89"
|
|
3265 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
|
|
3266 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
|
|
3267 esac
|
|
3268
|
|
3269
|
|
3270 ac_ext=c
|
|
3271 ac_cpp='$CPP $CPPFLAGS'
|
|
3272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
3273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
3274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
3275 DEPDIR="${am__leading_dot}deps"
|
|
3276
|
|
3277 ac_config_commands="$ac_config_commands depfiles"
|
|
3278
|
|
3279
|
|
3280 am_make=${MAKE-make}
|
|
3281 cat > confinc << 'END'
|
|
3282 am__doit:
|
|
3283 @echo done
|
|
3284 .PHONY: am__doit
|
|
3285 END
|
|
3286 # If we don't find an include directive, just comment out the code.
|
|
3287 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
|
|
3288 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
|
|
3289 am__include="#"
|
|
3290 am__quote=
|
|
3291 _am_result=none
|
|
3292 # First try GNU make style include.
|
|
3293 echo "include confinc" > confmf
|
|
3294 # We grep out `Entering directory' and `Leaving directory'
|
|
3295 # messages which can occur if `w' ends up in MAKEFLAGS.
|
|
3296 # In particular we don't look at `^make:' because GNU make might
|
|
3297 # be invoked under some other name (usually "gmake"), in which
|
|
3298 # case it prints its new name instead of `make'.
|
|
3299 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
|
|
3300 am__include=include
|
|
3301 am__quote=
|
|
3302 _am_result=GNU
|
|
3303 fi
|
|
3304 # Now try BSD make style include.
|
|
3305 if test "$am__include" = "#"; then
|
|
3306 echo '.include "confinc"' > confmf
|
|
3307 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
|
|
3308 am__include=.include
|
|
3309 am__quote="\""
|
|
3310 _am_result=BSD
|
|
3311 fi
|
|
3312 fi
|
|
3313
|
|
3314
|
|
3315 { echo "$as_me:$LINENO: result: $_am_result" >&5
|
|
3316 echo "${ECHO_T}$_am_result" >&6; }
|
|
3317 rm -f confinc confmf
|
|
3318
|
|
3319 # Check whether --enable-dependency-tracking was given.
|
|
3320 if test "${enable_dependency_tracking+set}" = set; then
|
|
3321 enableval=$enable_dependency_tracking;
|
|
3322 fi
|
|
3323
|
|
3324 if test "x$enable_dependency_tracking" != xno; then
|
|
3325 am_depcomp="$ac_aux_dir/depcomp"
|
|
3326 AMDEPBACKSLASH='\'
|
|
3327 fi
|
|
3328 if test "x$enable_dependency_tracking" != xno; then
|
|
3329 AMDEP_TRUE=
|
|
3330 AMDEP_FALSE='#'
|
|
3331 else
|
|
3332 AMDEP_TRUE='#'
|
|
3333 AMDEP_FALSE=
|
|
3334 fi
|
|
3335
|
|
3336
|
|
3337
|
|
3338 depcc="$CC" am_compiler_list=
|
|
3339
|
|
3340 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
|
|
3341 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
|
|
3342 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
|
|
3343 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3344 else
|
|
3345 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
|
3346 # We make a subdir and do the tests there. Otherwise we can end up
|
|
3347 # making bogus files that we don't know about and never remove. For
|
|
3348 # instance it was reported that on HP-UX the gcc test will end up
|
|
3349 # making a dummy file named `D' -- because `-MD' means `put the output
|
|
3350 # in D'.
|
|
3351 mkdir conftest.dir
|
|
3352 # Copy depcomp to subdir because otherwise we won't find it if we're
|
|
3353 # using a relative directory.
|
|
3354 cp "$am_depcomp" conftest.dir
|
|
3355 cd conftest.dir
|
|
3356 # We will build objects and dependencies in a subdirectory because
|
|
3357 # it helps to detect inapplicable dependency modes. For instance
|
|
3358 # both Tru64's cc and ICC support -MD to output dependencies as a
|
|
3359 # side effect of compilation, but ICC will put the dependencies in
|
|
3360 # the current directory while Tru64 will put them in the object
|
|
3361 # directory.
|
|
3362 mkdir sub
|
|
3363
|
|
3364 am_cv_CC_dependencies_compiler_type=none
|
|
3365 if test "$am_compiler_list" = ""; then
|
|
3366 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
|
|
3367 fi
|
|
3368 for depmode in $am_compiler_list; do
|
|
3369 # Setup a source with many dependencies, because some compilers
|
|
3370 # like to wrap large dependency lists on column 80 (with \), and
|
|
3371 # we should not choose a depcomp mode which is confused by this.
|
|
3372 #
|
|
3373 # We need to recreate these files for each test, as the compiler may
|
|
3374 # overwrite some of them when testing with obscure command lines.
|
|
3375 # This happens at least with the AIX C compiler.
|
|
3376 : > sub/conftest.c
|
|
3377 for i in 1 2 3 4 5 6; do
|
|
3378 echo '#include "conftst'$i'.h"' >> sub/conftest.c
|
|
3379 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
|
|
3380 # Solaris 8's {/usr,}/bin/sh.
|
|
3381 touch sub/conftst$i.h
|
|
3382 done
|
|
3383 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
|
|
3384
|
|
3385 case $depmode in
|
|
3386 nosideeffect)
|
|
3387 # after this tag, mechanisms are not by side-effect, so they'll
|
|
3388 # only be used when explicitly requested
|
|
3389 if test "x$enable_dependency_tracking" = xyes; then
|
|
3390 continue
|
|
3391 else
|
|
3392 break
|
|
3393 fi
|
|
3394 ;;
|
|
3395 none) break ;;
|
|
3396 esac
|
|
3397 # We check with `-c' and `-o' for the sake of the "dashmstdout"
|
|
3398 # mode. It turns out that the SunPro C++ compiler does not properly
|
|
3399 # handle `-M -o', and we need to detect this.
|
|
3400 if depmode=$depmode \
|
|
3401 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
|
|
3402 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
|
|
3403 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
|
|
3404 >/dev/null 2>conftest.err &&
|
|
3405 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
|
|
3406 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
|
|
3407 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
|
|
3408 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
|
3409 # icc doesn't choke on unknown options, it will just issue warnings
|
|
3410 # or remarks (even with -Werror). So we grep stderr for any message
|
|
3411 # that says an option was ignored or not supported.
|
|
3412 # When given -MP, icc 7.0 and 7.1 complain thusly:
|
|
3413 # icc: Command line warning: ignoring option '-M'; no argument required
|
|
3414 # The diagnosis changed in icc 8.0:
|
|
3415 # icc: Command line remark: option '-MP' not supported
|
|
3416 if (grep 'ignoring option' conftest.err ||
|
|
3417 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
|
|
3418 am_cv_CC_dependencies_compiler_type=$depmode
|
|
3419 break
|
|
3420 fi
|
|
3421 fi
|
|
3422 done
|
|
3423
|
|
3424 cd ..
|
|
3425 rm -rf conftest.dir
|
|
3426 else
|
|
3427 am_cv_CC_dependencies_compiler_type=none
|
|
3428 fi
|
|
3429
|
|
3430 fi
|
|
3431 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
|
|
3432 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
|
|
3433 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
|
|
3434
|
|
3435 if
|
|
3436 test "x$enable_dependency_tracking" != xno \
|
|
3437 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
|
|
3438 am__fastdepCC_TRUE=
|
|
3439 am__fastdepCC_FALSE='#'
|
|
3440 else
|
|
3441 am__fastdepCC_TRUE='#'
|
|
3442 am__fastdepCC_FALSE=
|
|
3443 fi
|
|
3444
|
|
3445
|
|
3446
|
|
3447 for ac_prog in flex lex
|
|
3448 do
|
|
3449 # Extract the first word of "$ac_prog", so it can be a program name with args.
|
|
3450 set dummy $ac_prog; ac_word=$2
|
|
3451 { echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
3452 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
|
3453 if test "${ac_cv_prog_LEX+set}" = set; then
|
|
3454 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3455 else
|
|
3456 if test -n "$LEX"; then
|
|
3457 ac_cv_prog_LEX="$LEX" # Let the user override the test.
|
|
3458 else
|
|
3459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
3460 for as_dir in $PATH
|
|
3461 do
|
|
3462 IFS=$as_save_IFS
|
|
3463 test -z "$as_dir" && as_dir=.
|
|
3464 for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
3466 ac_cv_prog_LEX="$ac_prog"
|
|
3467 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3468 break 2
|
|
3469 fi
|
|
3470 done
|
|
3471 done
|
|
3472 IFS=$as_save_IFS
|
|
3473
|
|
3474 fi
|
|
3475 fi
|
|
3476 LEX=$ac_cv_prog_LEX
|
|
3477 if test -n "$LEX"; then
|
|
3478 { echo "$as_me:$LINENO: result: $LEX" >&5
|
|
3479 echo "${ECHO_T}$LEX" >&6; }
|
|
3480 else
|
|
3481 { echo "$as_me:$LINENO: result: no" >&5
|
|
3482 echo "${ECHO_T}no" >&6; }
|
|
3483 fi
|
|
3484
|
|
3485
|
|
3486 test -n "$LEX" && break
|
|
3487 done
|
|
3488 test -n "$LEX" || LEX=":"
|
|
3489
|
|
3490 if test "x$LEX" != "x:"; then
|
|
3491 cat >conftest.l <<_ACEOF
|
|
3492 %%
|
|
3493 a { ECHO; }
|
|
3494 b { REJECT; }
|
|
3495 c { yymore (); }
|
|
3496 d { yyless (1); }
|
|
3497 e { yyless (input () != 0); }
|
|
3498 f { unput (yytext[0]); }
|
|
3499 . { BEGIN INITIAL; }
|
|
3500 %%
|
|
3501 #ifdef YYTEXT_POINTER
|
|
3502 extern char *yytext;
|
|
3503 #endif
|
|
3504 int
|
|
3505 main (void)
|
|
3506 {
|
|
3507 return ! yylex () + ! yywrap ();
|
|
3508 }
|
|
3509 _ACEOF
|
|
3510 { (ac_try="$LEX conftest.l"
|
|
3511 case "(($ac_try" in
|
|
3512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3513 *) ac_try_echo=$ac_try;;
|
|
3514 esac
|
|
3515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3516 (eval "$LEX conftest.l") 2>&5
|
|
3517 ac_status=$?
|
|
3518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3519 (exit $ac_status); }
|
|
3520 { echo "$as_me:$LINENO: checking lex output file root" >&5
|
|
3521 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
|
|
3522 if test "${ac_cv_prog_lex_root+set}" = set; then
|
|
3523 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3524 else
|
|
3525
|
|
3526 if test -f lex.yy.c; then
|
|
3527 ac_cv_prog_lex_root=lex.yy
|
|
3528 elif test -f lexyy.c; then
|
|
3529 ac_cv_prog_lex_root=lexyy
|
|
3530 else
|
|
3531 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
|
|
3532 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
|
|
3533 { (exit 1); exit 1; }; }
|
|
3534 fi
|
|
3535 fi
|
|
3536 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
|
|
3537 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
|
|
3538 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
|
|
3539
|
|
3540 if test -z "${LEXLIB+set}"; then
|
|
3541 { echo "$as_me:$LINENO: checking lex library" >&5
|
|
3542 echo $ECHO_N "checking lex library... $ECHO_C" >&6; }
|
|
3543 if test "${ac_cv_lib_lex+set}" = set; then
|
|
3544 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3545 else
|
|
3546
|
|
3547 ac_save_LIBS=$LIBS
|
|
3548 ac_cv_lib_lex='none needed'
|
|
3549 for ac_lib in '' -lfl -ll; do
|
|
3550 LIBS="$ac_lib $ac_save_LIBS"
|
|
3551 cat >conftest.$ac_ext <<_ACEOF
|
|
3552 `cat $LEX_OUTPUT_ROOT.c`
|
|
3553 _ACEOF
|
|
3554 rm -f conftest.$ac_objext conftest$ac_exeext
|
|
3555 if { (ac_try="$ac_link"
|
|
3556 case "(($ac_try" in
|
|
3557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3558 *) ac_try_echo=$ac_try;;
|
|
3559 esac
|
|
3560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3561 (eval "$ac_link") 2>conftest.er1
|
|
3562 ac_status=$?
|
|
3563 grep -v '^ *+' conftest.er1 >conftest.err
|
|
3564 rm -f conftest.er1
|
|
3565 cat conftest.err >&5
|
|
3566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3567 (exit $ac_status); } && {
|
|
3568 test -z "$ac_c_werror_flag" ||
|
|
3569 test ! -s conftest.err
|
|
3570 } && test -s conftest$ac_exeext &&
|
|
3571 $as_test_x conftest$ac_exeext; then
|
|
3572 ac_cv_lib_lex=$ac_lib
|
|
3573 else
|
|
3574 echo "$as_me: failed program was:" >&5
|
|
3575 sed 's/^/| /' conftest.$ac_ext >&5
|
|
3576
|
|
3577
|
|
3578 fi
|
|
3579
|
|
3580 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
3581 conftest$ac_exeext conftest.$ac_ext
|
|
3582 test "$ac_cv_lib_lex" != 'none needed' && break
|
|
3583 done
|
|
3584 LIBS=$ac_save_LIBS
|
|
3585
|
|
3586 fi
|
|
3587 { echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
|
|
3588 echo "${ECHO_T}$ac_cv_lib_lex" >&6; }
|
|
3589 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
|
|
3590 fi
|
|
3591
|
|
3592
|
|
3593 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
|
|
3594 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
|
|
3595 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
|
|
3596 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3597 else
|
|
3598 # POSIX says lex can declare yytext either as a pointer or an array; the
|
|
3599 # default is implementation-dependent. Figure out which it is, since
|
|
3600 # not all implementations provide the %pointer and %array declarations.
|
|
3601 ac_cv_prog_lex_yytext_pointer=no
|
|
3602 ac_save_LIBS=$LIBS
|
|
3603 LIBS="$LEXLIB $ac_save_LIBS"
|
|
3604 cat >conftest.$ac_ext <<_ACEOF
|
|
3605 #define YYTEXT_POINTER 1
|
|
3606 `cat $LEX_OUTPUT_ROOT.c`
|
|
3607 _ACEOF
|
|
3608 rm -f conftest.$ac_objext conftest$ac_exeext
|
|
3609 if { (ac_try="$ac_link"
|
|
3610 case "(($ac_try" in
|
|
3611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3612 *) ac_try_echo=$ac_try;;
|
|
3613 esac
|
|
3614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3615 (eval "$ac_link") 2>conftest.er1
|
|
3616 ac_status=$?
|
|
3617 grep -v '^ *+' conftest.er1 >conftest.err
|
|
3618 rm -f conftest.er1
|
|
3619 cat conftest.err >&5
|
|
3620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3621 (exit $ac_status); } && {
|
|
3622 test -z "$ac_c_werror_flag" ||
|
|
3623 test ! -s conftest.err
|
|
3624 } && test -s conftest$ac_exeext &&
|
|
3625 $as_test_x conftest$ac_exeext; then
|
|
3626 ac_cv_prog_lex_yytext_pointer=yes
|
|
3627 else
|
|
3628 echo "$as_me: failed program was:" >&5
|
|
3629 sed 's/^/| /' conftest.$ac_ext >&5
|
|
3630
|
|
3631
|
|
3632 fi
|
|
3633
|
|
3634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
3635 conftest$ac_exeext conftest.$ac_ext
|
|
3636 LIBS=$ac_save_LIBS
|
|
3637
|
|
3638 fi
|
|
3639 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
|
|
3640 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
|
|
3641 if test $ac_cv_prog_lex_yytext_pointer = yes; then
|
|
3642
|
|
3643 cat >>confdefs.h <<\_ACEOF
|
|
3644 #define YYTEXT_POINTER 1
|
|
3645 _ACEOF
|
|
3646
|
|
3647 fi
|
|
3648 rm -f conftest.l $LEX_OUTPUT_ROOT.c
|
|
3649
|
|
3650 fi
|
|
3651 if test "$LEX" = :; then
|
|
3652 LEX=${am_missing_run}flex
|
|
3653 fi
|
|
3654 if test -n "$ac_tool_prefix"; then
|
|
3655 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
|
|
3656 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
|
|
3657 { echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
3658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
|
3659 if test "${ac_cv_prog_RANLIB+set}" = set; then
|
|
3660 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3661 else
|
|
3662 if test -n "$RANLIB"; then
|
|
3663 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
|
|
3664 else
|
|
3665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
3666 for as_dir in $PATH
|
|
3667 do
|
|
3668 IFS=$as_save_IFS
|
|
3669 test -z "$as_dir" && as_dir=.
|
|
3670 for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
3672 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
|
|
3673 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3674 break 2
|
|
3675 fi
|
|
3676 done
|
|
3677 done
|
|
3678 IFS=$as_save_IFS
|
|
3679
|
|
3680 fi
|
|
3681 fi
|
|
3682 RANLIB=$ac_cv_prog_RANLIB
|
|
3683 if test -n "$RANLIB"; then
|
|
3684 { echo "$as_me:$LINENO: result: $RANLIB" >&5
|
|
3685 echo "${ECHO_T}$RANLIB" >&6; }
|
|
3686 else
|
|
3687 { echo "$as_me:$LINENO: result: no" >&5
|
|
3688 echo "${ECHO_T}no" >&6; }
|
|
3689 fi
|
|
3690
|
|
3691
|
|
3692 fi
|
|
3693 if test -z "$ac_cv_prog_RANLIB"; then
|
|
3694 ac_ct_RANLIB=$RANLIB
|
|
3695 # Extract the first word of "ranlib", so it can be a program name with args.
|
|
3696 set dummy ranlib; ac_word=$2
|
|
3697 { echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
3698 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
|
3699 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
|
|
3700 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3701 else
|
|
3702 if test -n "$ac_ct_RANLIB"; then
|
|
3703 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
|
|
3704 else
|
|
3705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
3706 for as_dir in $PATH
|
|
3707 do
|
|
3708 IFS=$as_save_IFS
|
|
3709 test -z "$as_dir" && as_dir=.
|
|
3710 for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3711 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
3712 ac_cv_prog_ac_ct_RANLIB="ranlib"
|
|
3713 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3714 break 2
|
|
3715 fi
|
|
3716 done
|
|
3717 done
|
|
3718 IFS=$as_save_IFS
|
|
3719
|
|
3720 fi
|
|
3721 fi
|
|
3722 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
|
|
3723 if test -n "$ac_ct_RANLIB"; then
|
|
3724 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
|
|
3725 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
|
|
3726 else
|
|
3727 { echo "$as_me:$LINENO: result: no" >&5
|
|
3728 echo "${ECHO_T}no" >&6; }
|
|
3729 fi
|
|
3730
|
|
3731 if test "x$ac_ct_RANLIB" = x; then
|
|
3732 RANLIB=":"
|
|
3733 else
|
|
3734 case $cross_compiling:$ac_tool_warned in
|
|
3735 yes:)
|
|
3736 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
|
3737 whose name does not start with the host triplet. If you think this
|
|
3738 configuration is useful to you, please write to autoconf@gnu.org." >&5
|
|
3739 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
|
3740 whose name does not start with the host triplet. If you think this
|
|
3741 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
|
3742 ac_tool_warned=yes ;;
|
|
3743 esac
|
|
3744 RANLIB=$ac_ct_RANLIB
|
|
3745 fi
|
|
3746 else
|
|
3747 RANLIB="$ac_cv_prog_RANLIB"
|
|
3748 fi
|
|
3749
|
|
3750 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
|
|
3751 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
|
|
3752 LN_S=$as_ln_s
|
|
3753 if test "$LN_S" = "ln -s"; then
|
|
3754 { echo "$as_me:$LINENO: result: yes" >&5
|
|
3755 echo "${ECHO_T}yes" >&6; }
|
|
3756 else
|
|
3757 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
|
|
3758 echo "${ECHO_T}no, using $LN_S" >&6; }
|
|
3759 fi
|
|
3760
|
|
3761 if test -n "$ac_tool_prefix"; then
|
|
3762 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
|
|
3763 set dummy ${ac_tool_prefix}ar; ac_word=$2
|
|
3764 { echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
3765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
|
3766 if test "${ac_cv_prog_AR+set}" = set; then
|
|
3767 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3768 else
|
|
3769 if test -n "$AR"; then
|
|
3770 ac_cv_prog_AR="$AR" # Let the user override the test.
|
|
3771 else
|
|
3772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
3773 for as_dir in $PATH
|
|
3774 do
|
|
3775 IFS=$as_save_IFS
|
|
3776 test -z "$as_dir" && as_dir=.
|
|
3777 for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
3779 ac_cv_prog_AR="${ac_tool_prefix}ar"
|
|
3780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3781 break 2
|
|
3782 fi
|
|
3783 done
|
|
3784 done
|
|
3785 IFS=$as_save_IFS
|
|
3786
|
|
3787 fi
|
|
3788 fi
|
|
3789 AR=$ac_cv_prog_AR
|
|
3790 if test -n "$AR"; then
|
|
3791 { echo "$as_me:$LINENO: result: $AR" >&5
|
|
3792 echo "${ECHO_T}$AR" >&6; }
|
|
3793 else
|
|
3794 { echo "$as_me:$LINENO: result: no" >&5
|
|
3795 echo "${ECHO_T}no" >&6; }
|
|
3796 fi
|
|
3797
|
|
3798
|
|
3799 fi
|
|
3800 if test -z "$ac_cv_prog_AR"; then
|
|
3801 ac_ct_AR=$AR
|
|
3802 # Extract the first word of "ar", so it can be a program name with args.
|
|
3803 set dummy ar; ac_word=$2
|
|
3804 { echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
3805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
|
3806 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
|
|
3807 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3808 else
|
|
3809 if test -n "$ac_ct_AR"; then
|
|
3810 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
|
|
3811 else
|
|
3812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
3813 for as_dir in $PATH
|
|
3814 do
|
|
3815 IFS=$as_save_IFS
|
|
3816 test -z "$as_dir" && as_dir=.
|
|
3817 for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
3819 ac_cv_prog_ac_ct_AR="ar"
|
|
3820 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3821 break 2
|
|
3822 fi
|
|
3823 done
|
|
3824 done
|
|
3825 IFS=$as_save_IFS
|
|
3826
|
|
3827 fi
|
|
3828 fi
|
|
3829 ac_ct_AR=$ac_cv_prog_ac_ct_AR
|
|
3830 if test -n "$ac_ct_AR"; then
|
|
3831 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
|
|
3832 echo "${ECHO_T}$ac_ct_AR" >&6; }
|
|
3833 else
|
|
3834 { echo "$as_me:$LINENO: result: no" >&5
|
|
3835 echo "${ECHO_T}no" >&6; }
|
|
3836 fi
|
|
3837
|
|
3838 if test "x$ac_ct_AR" = x; then
|
|
3839 AR=""
|
|
3840 else
|
|
3841 case $cross_compiling:$ac_tool_warned in
|
|
3842 yes:)
|
|
3843 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
|
3844 whose name does not start with the host triplet. If you think this
|
|
3845 configuration is useful to you, please write to autoconf@gnu.org." >&5
|
|
3846 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
|
3847 whose name does not start with the host triplet. If you think this
|
|
3848 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
|
3849 ac_tool_warned=yes ;;
|
|
3850 esac
|
|
3851 AR=$ac_ct_AR
|
|
3852 fi
|
|
3853 else
|
|
3854 AR="$ac_cv_prog_AR"
|
|
3855 fi
|
|
3856
|
|
3857
|
|
3858
|
|
3859
|
|
3860 ac_ext=c
|
|
3861 ac_cpp='$CPP $CPPFLAGS'
|
|
3862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
3863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
3864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
3865 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
|
|
3866 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
|
|
3867 # On Suns, sometimes $CPP names a directory.
|
|
3868 if test -n "$CPP" && test -d "$CPP"; then
|
|
3869 CPP=
|
|
3870 fi
|
|
3871 if test -z "$CPP"; then
|
|
3872 if test "${ac_cv_prog_CPP+set}" = set; then
|
|
3873 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3874 else
|
|
3875 # Double quotes because CPP needs to be expanded
|
|
3876 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
|
|
3877 do
|
|
3878 ac_preproc_ok=false
|
|
3879 for ac_c_preproc_warn_flag in '' yes
|
|
3880 do
|
|
3881 # Use a header file that comes with gcc, so configuring glibc
|
|
3882 # with a fresh cross-compiler works.
|
|
3883 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
3884 # <limits.h> exists even on freestanding compilers.
|
|
3885 # On the NeXT, cc -E runs the code through the compiler's parser,
|
|
3886 # not just through cpp. "Syntax error" is here to catch this case.
|
|
3887 cat >conftest.$ac_ext <<_ACEOF
|
|
3888 /* confdefs.h. */
|
|
3889 _ACEOF
|
|
3890 cat confdefs.h >>conftest.$ac_ext
|
|
3891 cat >>conftest.$ac_ext <<_ACEOF
|
|
3892 /* end confdefs.h. */
|
|
3893 #ifdef __STDC__
|
|
3894 # include <limits.h>
|
|
3895 #else
|
|
3896 # include <assert.h>
|
|
3897 #endif
|
|
3898 Syntax error
|
|
3899 _ACEOF
|
|
3900 if { (ac_try="$ac_cpp conftest.$ac_ext"
|
|
3901 case "(($ac_try" in
|
|
3902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3903 *) ac_try_echo=$ac_try;;
|
|
3904 esac
|
|
3905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3906 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
|
3907 ac_status=$?
|
|
3908 grep -v '^ *+' conftest.er1 >conftest.err
|
|
3909 rm -f conftest.er1
|
|
3910 cat conftest.err >&5
|
|
3911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3912 (exit $ac_status); } >/dev/null && {
|
|
3913 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
3914 test ! -s conftest.err
|
|
3915 }; then
|
|
3916 :
|
|
3917 else
|
|
3918 echo "$as_me: failed program was:" >&5
|
|
3919 sed 's/^/| /' conftest.$ac_ext >&5
|
|
3920
|
|
3921 # Broken: fails on valid input.
|
|
3922 continue
|
|
3923 fi
|
|
3924
|
|
3925 rm -f conftest.err conftest.$ac_ext
|
|
3926
|
|
3927 # OK, works on sane cases. Now check whether nonexistent headers
|
|
3928 # can be detected and how.
|
|
3929 cat >conftest.$ac_ext <<_ACEOF
|
|
3930 /* confdefs.h. */
|
|
3931 _ACEOF
|
|
3932 cat confdefs.h >>conftest.$ac_ext
|
|
3933 cat >>conftest.$ac_ext <<_ACEOF
|
|
3934 /* end confdefs.h. */
|
|
3935 #include <ac_nonexistent.h>
|
|
3936 _ACEOF
|
|
3937 if { (ac_try="$ac_cpp conftest.$ac_ext"
|
|
3938 case "(($ac_try" in
|
|
3939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3940 *) ac_try_echo=$ac_try;;
|
|
3941 esac
|
|
3942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3943 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
|
3944 ac_status=$?
|
|
3945 grep -v '^ *+' conftest.er1 >conftest.err
|
|
3946 rm -f conftest.er1
|
|
3947 cat conftest.err >&5
|
|
3948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3949 (exit $ac_status); } >/dev/null && {
|
|
3950 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
3951 test ! -s conftest.err
|
|
3952 }; then
|
|
3953 # Broken: success on invalid input.
|
|
3954 continue
|
|
3955 else
|
|
3956 echo "$as_me: failed program was:" >&5
|
|
3957 sed 's/^/| /' conftest.$ac_ext >&5
|
|
3958
|
|
3959 # Passes both tests.
|
|
3960 ac_preproc_ok=:
|
|
3961 break
|
|
3962 fi
|
|
3963
|
|
3964 rm -f conftest.err conftest.$ac_ext
|
|
3965
|
|
3966 done
|
|
3967 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
|
3968 rm -f conftest.err conftest.$ac_ext
|
|
3969 if $ac_preproc_ok; then
|
|
3970 break
|
|
3971 fi
|
|
3972
|
|
3973 done
|
|
3974 ac_cv_prog_CPP=$CPP
|
|
3975
|
|
3976 fi
|
|
3977 CPP=$ac_cv_prog_CPP
|
|
3978 else
|
|
3979 ac_cv_prog_CPP=$CPP
|
|
3980 fi
|
|
3981 { echo "$as_me:$LINENO: result: $CPP" >&5
|
|
3982 echo "${ECHO_T}$CPP" >&6; }
|
|
3983 ac_preproc_ok=false
|
|
3984 for ac_c_preproc_warn_flag in '' yes
|
|
3985 do
|
|
3986 # Use a header file that comes with gcc, so configuring glibc
|
|
3987 # with a fresh cross-compiler works.
|
|
3988 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
3989 # <limits.h> exists even on freestanding compilers.
|
|
3990 # On the NeXT, cc -E runs the code through the compiler's parser,
|
|
3991 # not just through cpp. "Syntax error" is here to catch this case.
|
|
3992 cat >conftest.$ac_ext <<_ACEOF
|
|
3993 /* confdefs.h. */
|
|
3994 _ACEOF
|
|
3995 cat confdefs.h >>conftest.$ac_ext
|
|
3996 cat >>conftest.$ac_ext <<_ACEOF
|
|
3997 /* end confdefs.h. */
|
|
3998 #ifdef __STDC__
|
|
3999 # include <limits.h>
|
|
4000 #else
|
|
4001 # include <assert.h>
|
|
4002 #endif
|
|
4003 Syntax error
|
|
4004 _ACEOF
|
|
4005 if { (ac_try="$ac_cpp conftest.$ac_ext"
|
|
4006 case "(($ac_try" in
|
|
4007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4008 *) ac_try_echo=$ac_try;;
|
|
4009 esac
|
|
4010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4011 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
|
4012 ac_status=$?
|
|
4013 grep -v '^ *+' conftest.er1 >conftest.err
|
|
4014 rm -f conftest.er1
|
|
4015 cat conftest.err >&5
|
|
4016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4017 (exit $ac_status); } >/dev/null && {
|
|
4018 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
4019 test ! -s conftest.err
|
|
4020 }; then
|
|
4021 :
|
|
4022 else
|
|
4023 echo "$as_me: failed program was:" >&5
|
|
4024 sed 's/^/| /' conftest.$ac_ext >&5
|
|
4025
|
|
4026 # Broken: fails on valid input.
|
|
4027 continue
|
|
4028 fi
|
|
4029
|
|
4030 rm -f conftest.err conftest.$ac_ext
|
|
4031
|
|
4032 # OK, works on sane cases. Now check whether nonexistent headers
|
|
4033 # can be detected and how.
|
|
4034 cat >conftest.$ac_ext <<_ACEOF
|
|
4035 /* confdefs.h. */
|
|
4036 _ACEOF
|
|
4037 cat confdefs.h >>conftest.$ac_ext
|
|
4038 cat >>conftest.$ac_ext <<_ACEOF
|
|
4039 /* end confdefs.h. */
|
|
4040 #include <ac_nonexistent.h>
|
|
4041 _ACEOF
|
|
4042 if { (ac_try="$ac_cpp conftest.$ac_ext"
|
|
4043 case "(($ac_try" in
|
|
4044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4045 *) ac_try_echo=$ac_try;;
|
|
4046 esac
|
|
4047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4048 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
|
4049 ac_status=$?
|
|
4050 grep -v '^ *+' conftest.er1 >conftest.err
|
|
4051 rm -f conftest.er1
|
|
4052 cat conftest.err >&5
|
|
4053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4054 (exit $ac_status); } >/dev/null && {
|
|
4055 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
4056 test ! -s conftest.err
|
|
4057 }; then
|
|
4058 # Broken: success on invalid input.
|
|
4059 continue
|
|
4060 else
|
|
4061 echo "$as_me: failed program was:" >&5
|
|
4062 sed 's/^/| /' conftest.$ac_ext >&5
|
|
4063
|
|
4064 # Passes both tests.
|
|
4065 ac_preproc_ok=:
|
|
4066 break
|
|
4067 fi
|
|
4068
|
|
4069 rm -f conftest.err conftest.$ac_ext
|
|
4070
|
|
4071 done
|
|
4072 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
|
4073 rm -f conftest.err conftest.$ac_ext
|
|
4074 if $ac_preproc_ok; then
|
|
4075 :
|
|
4076 else
|
|
4077 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
|
|
4078 See \`config.log' for more details." >&5
|
|
4079 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
|
|
4080 See \`config.log' for more details." >&2;}
|
|
4081 { (exit 1); exit 1; }; }
|
|
4082 fi
|
|
4083
|
|
4084 ac_ext=c
|
|
4085 ac_cpp='$CPP $CPPFLAGS'
|
|
4086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
4087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
4088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
4089
|
|
4090
|
|
4091 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
|
|
4092 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
|
|
4093 if test "${ac_cv_path_GREP+set}" = set; then
|
|
4094 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4095 else
|
|
4096 # Extract the first word of "grep ggrep" to use in msg output
|
|
4097 if test -z "$GREP"; then
|
|
4098 set dummy grep ggrep; ac_prog_name=$2
|
|
4099 if test "${ac_cv_path_GREP+set}" = set; then
|
|
4100 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4101 else
|
|
4102 ac_path_GREP_found=false
|
|
4103 # Loop through the user's path and test for each of PROGNAME-LIST
|
|
4104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
4105 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
|
4106 do
|
|
4107 IFS=$as_save_IFS
|
|
4108 test -z "$as_dir" && as_dir=.
|
|
4109 for ac_prog in grep ggrep; do
|
|
4110 for ac_exec_ext in '' $ac_executable_extensions; do
|
|
4111 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
|
|
4112 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
|
|
4113 # Check for GNU ac_path_GREP and select it if it is found.
|
|
4114 # Check for GNU $ac_path_GREP
|
|
4115 case `"$ac_path_GREP" --version 2>&1` in
|
|
4116 *GNU*)
|
|
4117 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
|
|
4118 *)
|
|
4119 ac_count=0
|
|
4120 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
|
|
4121 while :
|
|
4122 do
|
|
4123 cat "conftest.in" "conftest.in" >"conftest.tmp"
|
|
4124 mv "conftest.tmp" "conftest.in"
|
|
4125 cp "conftest.in" "conftest.nl"
|
|
4126 echo 'GREP' >> "conftest.nl"
|
|
4127 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
|
4128 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
|
4129 ac_count=`expr $ac_count + 1`
|
|
4130 if test $ac_count -gt ${ac_path_GREP_max-0}; then
|
|
4131 # Best one so far, save it but keep looking for a better one
|
|
4132 ac_cv_path_GREP="$ac_path_GREP"
|
|
4133 ac_path_GREP_max=$ac_count
|
|
4134 fi
|
|
4135 # 10*(2^10) chars as input seems more than enough
|
|
4136 test $ac_count -gt 10 && break
|
|
4137 done
|
|
4138 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
|
4139 esac
|
|
4140
|
|
4141
|
|
4142 $ac_path_GREP_found && break 3
|
|
4143 done
|
|
4144 done
|
|
4145
|
|
4146 done
|
|
4147 IFS=$as_save_IFS
|
|
4148
|
|
4149
|
|
4150 fi
|
|
4151
|
|
4152 GREP="$ac_cv_path_GREP"
|
|
4153 if test -z "$GREP"; then
|
|
4154 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
|
|
4155 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
|
|
4156 { (exit 1); exit 1; }; }
|
|
4157 fi
|
|
4158
|
|
4159 else
|
|
4160 ac_cv_path_GREP=$GREP
|
|
4161 fi
|
|
4162
|
|
4163
|
|
4164 fi
|
|
4165 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
|
|
4166 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
|
|
4167 GREP="$ac_cv_path_GREP"
|
|
4168
|
|
4169
|
|
4170 { echo "$as_me:$LINENO: checking for egrep" >&5
|
|
4171 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
|
|
4172 if test "${ac_cv_path_EGREP+set}" = set; then
|
|
4173 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4174 else
|
|
4175 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
|
|
4176 then ac_cv_path_EGREP="$GREP -E"
|
|
4177 else
|
|
4178 # Extract the first word of "egrep" to use in msg output
|
|
4179 if test -z "$EGREP"; then
|
|
4180 set dummy egrep; ac_prog_name=$2
|
|
4181 if test "${ac_cv_path_EGREP+set}" = set; then
|
|
4182 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4183 else
|
|
4184 ac_path_EGREP_found=false
|
|
4185 # Loop through the user's path and test for each of PROGNAME-LIST
|
|
4186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
4187 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
|
4188 do
|
|
4189 IFS=$as_save_IFS
|
|
4190 test -z "$as_dir" && as_dir=.
|
|
4191 for ac_prog in egrep; do
|
|
4192 for ac_exec_ext in '' $ac_executable_extensions; do
|
|
4193 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
|
|
4194 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
|
|
4195 # Check for GNU ac_path_EGREP and select it if it is found.
|
|
4196 # Check for GNU $ac_path_EGREP
|
|
4197 case `"$ac_path_EGREP" --version 2>&1` in
|
|
4198 *GNU*)
|
|
4199 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
|
|
4200 *)
|
|
4201 ac_count=0
|
|
4202 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
|
|
4203 while :
|
|
4204 do
|
|
4205 cat "conftest.in" "conftest.in" >"conftest.tmp"
|
|
4206 mv "conftest.tmp" "conftest.in"
|
|
4207 cp "conftest.in" "conftest.nl"
|
|
4208 echo 'EGREP' >> "conftest.nl"
|
|
4209 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
|
4210 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
|
4211 ac_count=`expr $ac_count + 1`
|
|
4212 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
|
|
4213 # Best one so far, save it but keep looking for a better one
|
|
4214 ac_cv_path_EGREP="$ac_path_EGREP"
|
|
4215 ac_path_EGREP_max=$ac_count
|
|
4216 fi
|
|
4217 # 10*(2^10) chars as input seems more than enough
|
|
4218 test $ac_count -gt 10 && break
|
|
4219 done
|
|
4220 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
|
4221 esac
|
|
4222
|
|
4223
|
|
4224 $ac_path_EGREP_found && break 3
|
|
4225 done
|
|
4226 done
|
|
4227
|
|
4228 done
|
|
4229 IFS=$as_save_IFS
|
|
4230
|
|
4231
|
|
4232 fi
|
|
4233
|
|
4234 EGREP="$ac_cv_path_EGREP"
|
|
4235 if test -z "$EGREP"; then
|
|
4236 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
|
|
4237 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
|
|
4238 { (exit 1); exit 1; }; }
|
|
4239 fi
|
|
4240
|
|
4241 else
|
|
4242 ac_cv_path_EGREP=$EGREP
|
|
4243 fi
|
|
4244
|
|
4245
|
|
4246 fi
|
|
4247 fi
|
|
4248 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
|
|
4249 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
|
|
4250 EGREP="$ac_cv_path_EGREP"
|
|
4251
|
|
4252
|
|
4253 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
|
|
4254 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
|
|
4255 if test "${ac_cv_header_stdc+set}" = set; then
|
|
4256 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4257 else
|
|
4258 cat >conftest.$ac_ext <<_ACEOF
|
|
4259 /* confdefs.h. */
|
|
4260 _ACEOF
|
|
4261 cat confdefs.h >>conftest.$ac_ext
|
|
4262 cat >>conftest.$ac_ext <<_ACEOF
|
|
4263 /* end confdefs.h. */
|
|
4264 #include <stdlib.h>
|
|
4265 #include <stdarg.h>
|
|
4266 #include <string.h>
|
|
4267 #include <float.h>
|
|
4268
|
|
4269 int
|
|
4270 main ()
|
|
4271 {
|
|
4272
|
|
4273 ;
|
|
4274 return 0;
|
|
4275 }
|
|
4276 _ACEOF
|
|
4277 rm -f conftest.$ac_objext
|
|
4278 if { (ac_try="$ac_compile"
|
|
4279 case "(($ac_try" in
|
|
4280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4281 *) ac_try_echo=$ac_try;;
|
|
4282 esac
|
|
4283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4284 (eval "$ac_compile") 2>conftest.er1
|
|
4285 ac_status=$?
|
|
4286 grep -v '^ *+' conftest.er1 >conftest.err
|
|
4287 rm -f conftest.er1
|
|
4288 cat conftest.err >&5
|
|
4289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4290 (exit $ac_status); } && {
|
|
4291 test -z "$ac_c_werror_flag" ||
|
|
4292 test ! -s conftest.err
|
|
4293 } && test -s conftest.$ac_objext; then
|
|
4294 ac_cv_header_stdc=yes
|
|
4295 else
|
|
4296 echo "$as_me: failed program was:" >&5
|
|
4297 sed 's/^/| /' conftest.$ac_ext >&5
|
|
4298
|
|
4299 ac_cv_header_stdc=no
|
|
4300 fi
|
|
4301
|
|
4302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
4303
|
|
4304 if test $ac_cv_header_stdc = yes; then
|
|
4305 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
|
4306 cat >conftest.$ac_ext <<_ACEOF
|
|
4307 /* confdefs.h. */
|
|
4308 _ACEOF
|
|
4309 cat confdefs.h >>conftest.$ac_ext
|
|
4310 cat >>conftest.$ac_ext <<_ACEOF
|
|
4311 /* end confdefs.h. */
|
|
4312 #include <string.h>
|
|
4313
|
|
4314 _ACEOF
|
|
4315 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
|
4316 $EGREP "memchr" >/dev/null 2>&1; then
|
|
4317 :
|
|
4318 else
|
|
4319 ac_cv_header_stdc=no
|
|
4320 fi
|
|
4321 rm -f conftest*
|
|
4322
|
|
4323 fi
|
|
4324
|
|
4325 if test $ac_cv_header_stdc = yes; then
|
|
4326 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
|
4327 cat >conftest.$ac_ext <<_ACEOF
|
|
4328 /* confdefs.h. */
|
|
4329 _ACEOF
|
|
4330 cat confdefs.h >>conftest.$ac_ext
|
|
4331 cat >>conftest.$ac_ext <<_ACEOF
|
|
4332 /* end confdefs.h. */
|
|
4333 #include <stdlib.h>
|
|
4334
|
|
4335 _ACEOF
|
|
4336 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
|
4337 $EGREP "free" >/dev/null 2>&1; then
|
|
4338 :
|
|
4339 else
|
|
4340 ac_cv_header_stdc=no
|
|
4341 fi
|
|
4342 rm -f conftest*
|
|
4343
|
|
4344 fi
|
|
4345
|
|
4346 if test $ac_cv_header_stdc = yes; then
|
|
4347 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
|
4348 if test "$cross_compiling" = yes; then
|
|
4349 :
|
|
4350 else
|
|
4351 cat >conftest.$ac_ext <<_ACEOF
|
|
4352 /* confdefs.h. */
|
|
4353 _ACEOF
|
|
4354 cat confdefs.h >>conftest.$ac_ext
|
|
4355 cat >>conftest.$ac_ext <<_ACEOF
|
|
4356 /* end confdefs.h. */
|
|
4357 #include <ctype.h>
|
|
4358 #include <stdlib.h>
|
|
4359 #if ((' ' & 0x0FF) == 0x020)
|
|
4360 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
|
4361 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
|
4362 #else
|
|
4363 # define ISLOWER(c) \
|
|
4364 (('a' <= (c) && (c) <= 'i') \
|
|
4365 || ('j' <= (c) && (c) <= 'r') \
|
|
4366 || ('s' <= (c) && (c) <= 'z'))
|
|
4367 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
|
4368 #endif
|
|
4369
|
|
4370 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
|
4371 int
|
|
4372 main ()
|
|
4373 {
|
|
4374 int i;
|
|
4375 for (i = 0; i < 256; i++)
|
|
4376 if (XOR (islower (i), ISLOWER (i))
|
|
4377 || toupper (i) != TOUPPER (i))
|
|
4378 return 2;
|
|
4379 return 0;
|
|
4380 }
|
|
4381 _ACEOF
|
|
4382 rm -f conftest$ac_exeext
|
|
4383 if { (ac_try="$ac_link"
|
|
4384 case "(($ac_try" in
|
|
4385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4386 *) ac_try_echo=$ac_try;;
|
|
4387 esac
|
|
4388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4389 (eval "$ac_link") 2>&5
|
|
4390 ac_status=$?
|
|
4391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4392 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
|
4393 { (case "(($ac_try" in
|
|
4394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4395 *) ac_try_echo=$ac_try;;
|
|
4396 esac
|
|
4397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4398 (eval "$ac_try") 2>&5
|
|
4399 ac_status=$?
|
|
4400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4401 (exit $ac_status); }; }; then
|
|
4402 :
|
|
4403 else
|
|
4404 echo "$as_me: program exited with status $ac_status" >&5
|
|
4405 echo "$as_me: failed program was:" >&5
|
|
4406 sed 's/^/| /' conftest.$ac_ext >&5
|
|
4407
|
|
4408 ( exit $ac_status )
|
|
4409 ac_cv_header_stdc=no
|
|
4410 fi
|
|
4411 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
|
4412 fi
|
|
4413
|
|
4414
|
|
4415 fi
|
|
4416 fi
|
|
4417 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
|
|
4418 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
|
|
4419 if test $ac_cv_header_stdc = yes; then
|
|
4420
|
|
4421 cat >>confdefs.h <<\_ACEOF
|
|
4422 #define STDC_HEADERS 1
|
|
4423 _ACEOF
|
|
4424
|
|
4425 fi
|
|
4426
|
|
4427 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
|
4428
|
|
4429
|
|
4430
|
|
4431
|
|
4432
|
|
4433
|
|
4434
|
|
4435
|
|
4436
|
|
4437 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
|
4438 inttypes.h stdint.h unistd.h
|
|
4439 do
|
|
4440 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
4441 { echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
4442 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
|
4443 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
4444 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4445 else
|
|
4446 cat >conftest.$ac_ext <<_ACEOF
|
|
4447 /* confdefs.h. */
|
|
4448 _ACEOF
|
|
4449 cat confdefs.h >>conftest.$ac_ext
|
|
4450 cat >>conftest.$ac_ext <<_ACEOF
|
|
4451 /* end confdefs.h. */
|
|
4452 $ac_includes_default
|
|
4453
|
|
4454 #include <$ac_header>
|
|
4455 _ACEOF
|
|
4456 rm -f conftest.$ac_objext
|
|
4457 if { (ac_try="$ac_compile"
|
|
4458 case "(($ac_try" in
|
|
4459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4460 *) ac_try_echo=$ac_try;;
|
|
4461 esac
|
|
4462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4463 (eval "$ac_compile") 2>conftest.er1
|
|
4464 ac_status=$?
|
|
4465 grep -v '^ *+' conftest.er1 >conftest.err
|
|
4466 rm -f conftest.er1
|
|
4467 cat conftest.err >&5
|
|
4468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4469 (exit $ac_status); } && {
|
|
4470 test -z "$ac_c_werror_flag" ||
|
|
4471 test ! -s conftest.err
|
|
4472 } && test -s conftest.$ac_objext; then
|
|
4473 eval "$as_ac_Header=yes"
|
|
4474 else
|
|
4475 echo "$as_me: failed program was:" >&5
|
|
4476 sed 's/^/| /' conftest.$ac_ext >&5
|
|
4477
|
|
4478 eval "$as_ac_Header=no"
|
|
4479 fi
|
|
4480
|
|
4481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
4482 fi
|
|
4483 ac_res=`eval echo '${'$as_ac_Header'}'`
|
|
4484 { echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
4485 echo "${ECHO_T}$ac_res" >&6; }
|
|
4486 if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
|
4487 cat >>confdefs.h <<_ACEOF
|
|
4488 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
4489 _ACEOF
|
|
4490
|
|
4491 fi
|
|
4492
|
|
4493 done
|
|
4494
|
|
4495
|
|
4496
|
|
4497
|
|
4498
|
|
4499 for ac_header in sys/time.h unistd.h stdarg.h
|
|
4500 do
|
|
4501 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
4502 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
4503 { echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
4504 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
|
4505 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
4506 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4507 fi
|
|
4508 ac_res=`eval echo '${'$as_ac_Header'}'`
|
|
4509 { echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
4510 echo "${ECHO_T}$ac_res" >&6; }
|
|
4511 else
|
|
4512 # Is the header compilable?
|
|
4513 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
|
4514 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
|
|
4515 cat >conftest.$ac_ext <<_ACEOF
|
|
4516 /* confdefs.h. */
|
|
4517 _ACEOF
|
|
4518 cat confdefs.h >>conftest.$ac_ext
|
|
4519 cat >>conftest.$ac_ext <<_ACEOF
|
|
4520 /* end confdefs.h. */
|
|
4521 $ac_includes_default
|
|
4522 #include <$ac_header>
|
|
4523 _ACEOF
|
|
4524 rm -f conftest.$ac_objext
|
|
4525 if { (ac_try="$ac_compile"
|
|
4526 case "(($ac_try" in
|
|
4527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4528 *) ac_try_echo=$ac_try;;
|
|
4529 esac
|
|
4530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4531 (eval "$ac_compile") 2>conftest.er1
|
|
4532 ac_status=$?
|
|
4533 grep -v '^ *+' conftest.er1 >conftest.err
|
|
4534 rm -f conftest.er1
|
|
4535 cat conftest.err >&5
|
|
4536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4537 (exit $ac_status); } && {
|
|
4538 test -z "$ac_c_werror_flag" ||
|
|
4539 test ! -s conftest.err
|
|
4540 } && test -s conftest.$ac_objext; then
|
|
4541 ac_header_compiler=yes
|
|
4542 else
|
|
4543 echo "$as_me: failed program was:" >&5
|
|
4544 sed 's/^/| /' conftest.$ac_ext >&5
|
|
4545
|
|
4546 ac_header_compiler=no
|
|
4547 fi
|
|
4548
|
|
4549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
4550 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
|
4551 echo "${ECHO_T}$ac_header_compiler" >&6; }
|
|
4552
|
|
4553 # Is the header present?
|
|
4554 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
|
4555 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
|
|
4556 cat >conftest.$ac_ext <<_ACEOF
|
|
4557 /* confdefs.h. */
|
|
4558 _ACEOF
|
|
4559 cat confdefs.h >>conftest.$ac_ext
|
|
4560 cat >>conftest.$ac_ext <<_ACEOF
|
|
4561 /* end confdefs.h. */
|
|
4562 #include <$ac_header>
|
|
4563 _ACEOF
|
|
4564 if { (ac_try="$ac_cpp conftest.$ac_ext"
|
|
4565 case "(($ac_try" in
|
|
4566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4567 *) ac_try_echo=$ac_try;;
|
|
4568 esac
|
|
4569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4570 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
|
4571 ac_status=$?
|
|
4572 grep -v '^ *+' conftest.er1 >conftest.err
|
|
4573 rm -f conftest.er1
|
|
4574 cat conftest.err >&5
|
|
4575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4576 (exit $ac_status); } >/dev/null && {
|
|
4577 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
4578 test ! -s conftest.err
|
|
4579 }; then
|
|
4580 ac_header_preproc=yes
|
|
4581 else
|
|
4582 echo "$as_me: failed program was:" >&5
|
|
4583 sed 's/^/| /' conftest.$ac_ext >&5
|
|
4584
|
|
4585 ac_header_preproc=no
|
|
4586 fi
|
|
4587
|
|
4588 rm -f conftest.err conftest.$ac_ext
|
|
4589 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
|
4590 echo "${ECHO_T}$ac_header_preproc" >&6; }
|
|
4591
|
|
4592 # So? What about this header?
|
|
4593 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
|
4594 yes:no: )
|
|
4595 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
|
|
4596 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
|
4597 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
|
|
4598 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
|
|
4599 ac_header_preproc=yes
|
|
4600 ;;
|
|
4601 no:yes:* )
|
|
4602 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
|
|
4603 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
|
4604 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
|
4605 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
|
4606 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
|
|
4607 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
|
|
4608 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
|
|
4609 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
|
|
4610 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
|
4611 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
|
4612 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
|
|
4613 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
|
|
4614 ( cat <<\_ASBOX
|
|
4615 ## ------------------------------------------------ ##
|
|
4616 ## Report this to ais523(524\)x\((525)y)@bham.ac.uk ##
|
|
4617 ## ------------------------------------------------ ##
|
|
4618 _ASBOX
|
|
4619 ) | sed "s/^/$as_me: WARNING: /" >&2
|
|
4620 ;;
|
|
4621 esac
|
|
4622 { echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
4623 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
|
4624 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
4625 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4626 else
|
|
4627 eval "$as_ac_Header=\$ac_header_preproc"
|
|
4628 fi
|
|
4629 ac_res=`eval echo '${'$as_ac_Header'}'`
|
|
4630 { echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
4631 echo "${ECHO_T}$ac_res" >&6; }
|
|
4632
|
|
4633 fi
|
|
4634 if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
|
4635 cat >>confdefs.h <<_ACEOF
|
|
4636 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
4637 _ACEOF
|
|
4638
|
|
4639 fi
|
|
4640
|
|
4641 done
|
|
4642
|
|
4643
|
|
4644 for ac_header in stdint.h
|
|
4645 do
|
|
4646 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
4647 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
4648 { echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
4649 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
|
4650 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
4651 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4652 fi
|
|
4653 ac_res=`eval echo '${'$as_ac_Header'}'`
|
|
4654 { echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
4655 echo "${ECHO_T}$ac_res" >&6; }
|
|
4656 else
|
|
4657 # Is the header compilable?
|
|
4658 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
|
4659 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
|
|
4660 cat >conftest.$ac_ext <<_ACEOF
|
|
4661 /* confdefs.h. */
|
|
4662 _ACEOF
|
|
4663 cat confdefs.h >>conftest.$ac_ext
|
|
4664 cat >>conftest.$ac_ext <<_ACEOF
|
|
4665 /* end confdefs.h. */
|
|
4666 $ac_includes_default
|
|
4667 #include <$ac_header>
|
|
4668 _ACEOF
|
|
4669 rm -f conftest.$ac_objext
|
|
4670 if { (ac_try="$ac_compile"
|
|
4671 case "(($ac_try" in
|
|
4672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4673 *) ac_try_echo=$ac_try;;
|
|
4674 esac
|
|
4675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4676 (eval "$ac_compile") 2>conftest.er1
|
|
4677 ac_status=$?
|
|
4678 grep -v '^ *+' conftest.er1 >conftest.err
|
|
4679 rm -f conftest.er1
|
|
4680 cat conftest.err >&5
|
|
4681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4682 (exit $ac_status); } && {
|
|
4683 test -z "$ac_c_werror_flag" ||
|
|
4684 test ! -s conftest.err
|
|
4685 } && test -s conftest.$ac_objext; then
|
|
4686 ac_header_compiler=yes
|
|
4687 else
|
|
4688 echo "$as_me: failed program was:" >&5
|
|
4689 sed 's/^/| /' conftest.$ac_ext >&5
|
|
4690
|
|
4691 ac_header_compiler=no
|
|
4692 fi
|
|
4693
|
|
4694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
4695 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
|
4696 echo "${ECHO_T}$ac_header_compiler" >&6; }
|
|
4697
|
|
4698 # Is the header present?
|
|
4699 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
|
4700 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
|
|
4701 cat >conftest.$ac_ext <<_ACEOF
|
|
4702 /* confdefs.h. */
|
|
4703 _ACEOF
|
|
4704 cat confdefs.h >>conftest.$ac_ext
|
|
4705 cat >>conftest.$ac_ext <<_ACEOF
|
|
4706 /* end confdefs.h. */
|
|
4707 #include <$ac_header>
|
|
4708 _ACEOF
|
|
4709 if { (ac_try="$ac_cpp conftest.$ac_ext"
|
|
4710 case "(($ac_try" in
|
|
4711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4712 *) ac_try_echo=$ac_try;;
|
|
4713 esac
|
|
4714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4715 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
|
4716 ac_status=$?
|
|
4717 grep -v '^ *+' conftest.er1 >conftest.err
|
|
4718 rm -f conftest.er1
|
|
4719 cat conftest.err >&5
|
|
4720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4721 (exit $ac_status); } >/dev/null && {
|
|
4722 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
4723 test ! -s conftest.err
|
|
4724 }; then
|
|
4725 ac_header_preproc=yes
|
|
4726 else
|
|
4727 echo "$as_me: failed program was:" >&5
|
|
4728 sed 's/^/| /' conftest.$ac_ext >&5
|
|
4729
|
|
4730 ac_header_preproc=no
|
|
4731 fi
|
|
4732
|
|
4733 rm -f conftest.err conftest.$ac_ext
|
|
4734 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
|
4735 echo "${ECHO_T}$ac_header_preproc" >&6; }
|
|
4736
|
|
4737 # So? What about this header?
|
|
4738 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
|
4739 yes:no: )
|
|
4740 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
|
|
4741 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
|
4742 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
|
|
4743 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
|
|
4744 ac_header_preproc=yes
|
|
4745 ;;
|
|
4746 no:yes:* )
|
|
4747 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
|
|
4748 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
|
4749 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
|
4750 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
|
4751 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
|
|
4752 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
|
|
4753 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
|
|
4754 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
|
|
4755 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
|
4756 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
|
4757 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
|
|
4758 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
|
|
4759 ( cat <<\_ASBOX
|
|
4760 ## ------------------------------------------------ ##
|
|
4761 ## Report this to ais523(524\)x\((525)y)@bham.ac.uk ##
|
|
4762 ## ------------------------------------------------ ##
|
|
4763 _ASBOX
|
|
4764 ) | sed "s/^/$as_me: WARNING: /" >&2
|
|
4765 ;;
|
|
4766 esac
|
|
4767 { echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
4768 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
|
4769 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
4770 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4771 else
|
|
4772 eval "$as_ac_Header=\$ac_header_preproc"
|
|
4773 fi
|
|
4774 ac_res=`eval echo '${'$as_ac_Header'}'`
|
|
4775 { echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
4776 echo "${ECHO_T}$ac_res" >&6; }
|
|
4777
|
|
4778 fi
|
|
4779 if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
|
4780 cat >>confdefs.h <<_ACEOF
|
|
4781 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
4782 _ACEOF
|
|
4783 HAVE_STDINT_H=1
|
|
4784 fi
|
|
4785
|
|
4786 done
|
|
4787
|
|
4788
|
|
4789
|
|
4790 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
|
|
4791 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
|
|
4792 if test "${ac_cv_c_const+set}" = set; then
|
|
4793 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4794 else
|
|
4795 cat >conftest.$ac_ext <<_ACEOF
|
|
4796 /* confdefs.h. */
|
|
4797 _ACEOF
|
|
4798 cat confdefs.h >>conftest.$ac_ext
|
|
4799 cat >>conftest.$ac_ext <<_ACEOF
|
|
4800 /* end confdefs.h. */
|
|
4801
|
|
4802 int
|
|
4803 main ()
|
|
4804 {
|
|
4805 /* FIXME: Include the comments suggested by Paul. */
|
|
4806 #ifndef __cplusplus
|
|
4807 /* Ultrix mips cc rejects this. */
|
|
4808 typedef int charset[2];
|
|
4809 const charset cs;
|
|
4810 /* SunOS 4.1.1 cc rejects this. */
|
|
4811 char const *const *pcpcc;
|
|
4812 char **ppc;
|
|
4813 /* NEC SVR4.0.2 mips cc rejects this. */
|
|
4814 struct point {int x, y;};
|
|
4815 static struct point const zero = {0,0};
|
|
4816 /* AIX XL C 1.02.0.0 rejects this.
|
|
4817 It does not let you subtract one const X* pointer from another in
|
|
4818 an arm of an if-expression whose if-part is not a constant
|
|
4819 expression */
|
|
4820 const char *g = "string";
|
|
4821 pcpcc = &g + (g ? g-g : 0);
|
|
4822 /* HPUX 7.0 cc rejects these. */
|
|
4823 ++pcpcc;
|
|
4824 ppc = (char**) pcpcc;
|
|
4825 pcpcc = (char const *const *) ppc;
|
|
4826 { /* SCO 3.2v4 cc rejects this. */
|
|
4827 char *t;
|
|
4828 char const *s = 0 ? (char *) 0 : (char const *) 0;
|
|
4829
|
|
4830 *t++ = 0;
|
|
4831 if (s) return 0;
|
|
4832 }
|
|
4833 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
|
|
4834 int x[] = {25, 17};
|
|
4835 const int *foo = &x[0];
|
|
4836 ++foo;
|
|
4837 }
|
|
4838 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
|
|
4839 typedef const int *iptr;
|
|
4840 iptr p = 0;
|
|
4841 ++p;
|
|
4842 }
|
|
4843 { /* AIX XL C 1.02.0.0 rejects this saying
|
|
4844 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
|
|
4845 struct s { int j; const int *ap[3]; };
|
|
4846 struct s *b; b->j = 5;
|
|
4847 }
|
|
4848 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
|
|
4849 const int foo = 10;
|
|
4850 if (!foo) return 0;
|
|
4851 }
|
|
4852 return !cs[0] && !zero.x;
|
|
4853 #endif
|
|
4854
|
|
4855 ;
|
|
4856 return 0;
|
|
4857 }
|
|
4858 _ACEOF
|
|
4859 rm -f conftest.$ac_objext
|
|
4860 if { (ac_try="$ac_compile"
|
|
4861 case "(($ac_try" in
|
|
4862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4863 *) ac_try_echo=$ac_try;;
|
|
4864 esac
|
|
4865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4866 (eval "$ac_compile") 2>conftest.er1
|
|
4867 ac_status=$?
|
|
4868 grep -v '^ *+' conftest.er1 >conftest.err
|
|
4869 rm -f conftest.er1
|
|
4870 cat conftest.err >&5
|
|
4871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4872 (exit $ac_status); } && {
|
|
4873 test -z "$ac_c_werror_flag" ||
|
|
4874 test ! -s conftest.err
|
|
4875 } && test -s conftest.$ac_objext; then
|
|
4876 ac_cv_c_const=yes
|
|
4877 else
|
|
4878 echo "$as_me: failed program was:" >&5
|
|
4879 sed 's/^/| /' conftest.$ac_ext >&5
|
|
4880
|
|
4881 ac_cv_c_const=no
|
|
4882 fi
|
|
4883
|
|
4884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
4885 fi
|
|
4886 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
|
|
4887 echo "${ECHO_T}$ac_cv_c_const" >&6; }
|
|
4888 if test $ac_cv_c_const = no; then
|
|
4889
|
|
4890 cat >>confdefs.h <<\_ACEOF
|
|
4891 #define const
|
|
4892 _ACEOF
|
|
4893
|
|
4894 fi
|
|
4895
|
|
4896 { echo "$as_me:$LINENO: checking for working volatile" >&5
|
|
4897 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6; }
|
|
4898 if test "${ac_cv_c_volatile+set}" = set; then
|
|
4899 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4900 else
|
|
4901 cat >conftest.$ac_ext <<_ACEOF
|
|
4902 /* confdefs.h. */
|
|
4903 _ACEOF
|
|
4904 cat confdefs.h >>conftest.$ac_ext
|
|
4905 cat >>conftest.$ac_ext <<_ACEOF
|
|
4906 /* end confdefs.h. */
|
|
4907
|
|
4908 int
|
|
4909 main ()
|
|
4910 {
|
|
4911
|
|
4912 volatile int x;
|
|
4913 int * volatile y = (int *) 0;
|
|
4914 return !x && !y;
|
|
4915 ;
|
|
4916 return 0;
|
|
4917 }
|
|
4918 _ACEOF
|
|
4919 rm -f conftest.$ac_objext
|
|
4920 if { (ac_try="$ac_compile"
|
|
4921 case "(($ac_try" in
|
|
4922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4923 *) ac_try_echo=$ac_try;;
|
|
4924 esac
|
|
4925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4926 (eval "$ac_compile") 2>conftest.er1
|
|
4927 ac_status=$?
|
|
4928 grep -v '^ *+' conftest.er1 >conftest.err
|
|
4929 rm -f conftest.er1
|
|
4930 cat conftest.err >&5
|
|
4931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4932 (exit $ac_status); } && {
|
|
4933 test -z "$ac_c_werror_flag" ||
|
|
4934 test ! -s conftest.err
|
|
4935 } && test -s conftest.$ac_objext; then
|
|
4936 ac_cv_c_volatile=yes
|
|
4937 else
|
|
4938 echo "$as_me: failed program was:" >&5
|
|
4939 sed 's/^/| /' conftest.$ac_ext >&5
|
|
4940
|
|
4941 ac_cv_c_volatile=no
|
|
4942 fi
|
|
4943
|
|
4944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
4945 fi
|
|
4946 { echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
|
|
4947 echo "${ECHO_T}$ac_cv_c_volatile" >&6; }
|
|
4948 if test $ac_cv_c_volatile = no; then
|
|
4949
|
|
4950 cat >>confdefs.h <<\_ACEOF
|
|
4951 #define volatile
|
|
4952 _ACEOF
|
|
4953
|
|
4954 fi
|
|
4955
|
|
4956 { echo "$as_me:$LINENO: checking for long long int" >&5
|
|
4957 echo $ECHO_N "checking for long long int... $ECHO_C" >&6; }
|
|
4958 if test "${ac_cv_type_long_long_int+set}" = set; then
|
|
4959 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4960 else
|
|
4961 cat >conftest.$ac_ext <<_ACEOF
|
|
4962 /* confdefs.h. */
|
|
4963 _ACEOF
|
|
4964 cat confdefs.h >>conftest.$ac_ext
|
|
4965 cat >>conftest.$ac_ext <<_ACEOF
|
|
4966 /* end confdefs.h. */
|
|
4967 $ac_includes_default
|
|
4968 typedef long long int ac__type_new_;
|
|
4969 int
|
|
4970 main ()
|
|
4971 {
|
|
4972 if ((ac__type_new_ *) 0)
|
|
4973 return 0;
|
|
4974 if (sizeof (ac__type_new_))
|
|
4975 return 0;
|
|
4976 ;
|
|
4977 return 0;
|
|
4978 }
|
|
4979 _ACEOF
|
|
4980 rm -f conftest.$ac_objext
|
|
4981 if { (ac_try="$ac_compile"
|
|
4982 case "(($ac_try" in
|
|
4983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4984 *) ac_try_echo=$ac_try;;
|
|
4985 esac
|
|
4986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4987 (eval "$ac_compile") 2>conftest.er1
|
|
4988 ac_status=$?
|
|
4989 grep -v '^ *+' conftest.er1 >conftest.err
|
|
4990 rm -f conftest.er1
|
|
4991 cat conftest.err >&5
|
|
4992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4993 (exit $ac_status); } && {
|
|
4994 test -z "$ac_c_werror_flag" ||
|
|
4995 test ! -s conftest.err
|
|
4996 } && test -s conftest.$ac_objext; then
|
|
4997 ac_cv_type_long_long_int=yes
|
|
4998 else
|
|
4999 echo "$as_me: failed program was:" >&5
|
|
5000 sed 's/^/| /' conftest.$ac_ext >&5
|
|
5001
|
|
5002 ac_cv_type_long_long_int=no
|
|
5003 fi
|
|
5004
|
|
5005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
5006 fi
|
|
5007 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long_int" >&5
|
|
5008 echo "${ECHO_T}$ac_cv_type_long_long_int" >&6; }
|
|
5009
|
|
5010 # The cast to long int works around a bug in the HP C Compiler
|
|
5011 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
|
|
5012 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
|
|
5013 # This bug is HP SR number 8606223364.
|
|
5014 { echo "$as_me:$LINENO: checking size of long long int" >&5
|
|
5015 echo $ECHO_N "checking size of long long int... $ECHO_C" >&6; }
|
|
5016 if test "${ac_cv_sizeof_long_long_int+set}" = set; then
|
|
5017 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
5018 else
|
|
5019 if test "$cross_compiling" = yes; then
|
|
5020 # Depending upon the size, compute the lo and hi bounds.
|
|
5021 cat >conftest.$ac_ext <<_ACEOF
|
|
5022 /* confdefs.h. */
|
|
5023 _ACEOF
|
|
5024 cat confdefs.h >>conftest.$ac_ext
|
|
5025 cat >>conftest.$ac_ext <<_ACEOF
|
|
5026 /* end confdefs.h. */
|
|
5027 $ac_includes_default
|
|
5028 typedef long long int ac__type_sizeof_;
|
|
5029 int
|
|
5030 main ()
|
|
5031 {
|
|
5032 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
|
|
5033 test_array [0] = 0
|
|
5034
|
|
5035 ;
|
|
5036 return 0;
|
|
5037 }
|
|
5038 _ACEOF
|
|
5039 rm -f conftest.$ac_objext
|
|
5040 if { (ac_try="$ac_compile"
|
|
5041 case "(($ac_try" in
|
|
5042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
5043 *) ac_try_echo=$ac_try;;
|
|
5044 esac
|
|
5045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
5046 (eval "$ac_compile") 2>conftest.er1
|
|
5047 ac_status=$?
|
|
5048 grep -v '^ *+' conftest.er1 >conftest.err
|
|
5049 rm -f conftest.er1
|
|
5050 cat conftest.err >&5
|
|
5051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5052 (exit $ac_status); } && {
|
|
5053 test -z "$ac_c_werror_flag" ||
|
|
5054 test ! -s conftest.err
|
|
5055 } && test -s conftest.$ac_objext; then
|
|
5056 ac_lo=0 ac_mid=0
|
|
5057 while :; do
|
|
5058 cat >conftest.$ac_ext <<_ACEOF
|
|
5059 /* confdefs.h. */
|
|
5060 _ACEOF
|
|
5061 cat confdefs.h >>conftest.$ac_ext
|
|
5062 cat >>conftest.$ac_ext <<_ACEOF
|
|
5063 /* end confdefs.h. */
|
|
5064 $ac_includes_default
|
|
5065 typedef long long int ac__type_sizeof_;
|
|
5066 int
|
|
5067 main ()
|
|
5068 {
|
|
5069 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
|
|
5070 test_array [0] = 0
|
|
5071
|
|
5072 ;
|
|
5073 return 0;
|
|
5074 }
|
|
5075 _ACEOF
|
|
5076 rm -f conftest.$ac_objext
|
|
5077 if { (ac_try="$ac_compile"
|
|
5078 case "(($ac_try" in
|
|
5079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
5080 *) ac_try_echo=$ac_try;;
|
|
5081 esac
|
|
5082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
5083 (eval "$ac_compile") 2>conftest.er1
|
|
5084 ac_status=$?
|
|
5085 grep -v '^ *+' conftest.er1 >conftest.err
|
|
5086 rm -f conftest.er1
|
|
5087 cat conftest.err >&5
|
|
5088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5089 (exit $ac_status); } && {
|
|
5090 test -z "$ac_c_werror_flag" ||
|
|
5091 test ! -s conftest.err
|
|
5092 } && test -s conftest.$ac_objext; then
|
|
5093 ac_hi=$ac_mid; break
|
|
5094 else
|
|
5095 echo "$as_me: failed program was:" >&5
|
|
5096 sed 's/^/| /' conftest.$ac_ext >&5
|
|
5097
|
|
5098 ac_lo=`expr $ac_mid + 1`
|
|
5099 if test $ac_lo -le $ac_mid; then
|
|
5100 ac_lo= ac_hi=
|
|
5101 break
|
|
5102 fi
|
|
5103 ac_mid=`expr 2 '*' $ac_mid + 1`
|
|
5104 fi
|
|
5105
|
|
5106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
5107 done
|
|
5108 else
|
|
5109 echo "$as_me: failed program was:" >&5
|
|
5110 sed 's/^/| /' conftest.$ac_ext >&5
|
|
5111
|
|
5112 cat >conftest.$ac_ext <<_ACEOF
|
|
5113 /* confdefs.h. */
|
|
5114 _ACEOF
|
|
5115 cat confdefs.h >>conftest.$ac_ext
|
|
5116 cat >>conftest.$ac_ext <<_ACEOF
|
|
5117 /* end confdefs.h. */
|
|
5118 $ac_includes_default
|
|
5119 typedef long long int ac__type_sizeof_;
|
|
5120 int
|
|
5121 main ()
|
|
5122 {
|
|
5123 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
|
|
5124 test_array [0] = 0
|
|
5125
|
|
5126 ;
|
|
5127 return 0;
|
|
5128 }
|
|
5129 _ACEOF
|
|
5130 rm -f conftest.$ac_objext
|
|
5131 if { (ac_try="$ac_compile"
|
|
5132 case "(($ac_try" in
|
|
5133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
5134 *) ac_try_echo=$ac_try;;
|
|
5135 esac
|
|
5136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
5137 (eval "$ac_compile") 2>conftest.er1
|
|
5138 ac_status=$?
|
|
5139 grep -v '^ *+' conftest.er1 >conftest.err
|
|
5140 rm -f conftest.er1
|
|
5141 cat conftest.err >&5
|
|
5142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5143 (exit $ac_status); } && {
|
|
5144 test -z "$ac_c_werror_flag" ||
|
|
5145 test ! -s conftest.err
|
|
5146 } && test -s conftest.$ac_objext; then
|
|
5147 ac_hi=-1 ac_mid=-1
|
|
5148 while :; do
|
|
5149 cat >conftest.$ac_ext <<_ACEOF
|
|
5150 /* confdefs.h. */
|
|
5151 _ACEOF
|
|
5152 cat confdefs.h >>conftest.$ac_ext
|
|
5153 cat >>conftest.$ac_ext <<_ACEOF
|
|
5154 /* end confdefs.h. */
|
|
5155 $ac_includes_default
|
|
5156 typedef long long int ac__type_sizeof_;
|
|
5157 int
|
|
5158 main ()
|
|
5159 {
|
|
5160 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
|
|
5161 test_array [0] = 0
|
|
5162
|
|
5163 ;
|
|
5164 return 0;
|
|
5165 }
|
|
5166 _ACEOF
|
|
5167 rm -f conftest.$ac_objext
|
|
5168 if { (ac_try="$ac_compile"
|
|
5169 case "(($ac_try" in
|
|
5170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
5171 *) ac_try_echo=$ac_try;;
|
|
5172 esac
|
|
5173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
5174 (eval "$ac_compile") 2>conftest.er1
|
|
5175 ac_status=$?
|
|
5176 grep -v '^ *+' conftest.er1 >conftest.err
|
|
5177 rm -f conftest.er1
|
|
5178 cat conftest.err >&5
|
|
5179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5180 (exit $ac_status); } && {
|
|
5181 test -z "$ac_c_werror_flag" ||
|
|
5182 test ! -s conftest.err
|
|
5183 } && test -s conftest.$ac_objext; then
|
|
5184 ac_lo=$ac_mid; break
|
|
5185 else
|
|
5186 echo "$as_me: failed program was:" >&5
|
|
5187 sed 's/^/| /' conftest.$ac_ext >&5
|
|
5188
|
|
5189 ac_hi=`expr '(' $ac_mid ')' - 1`
|
|
5190 if test $ac_mid -le $ac_hi; then
|
|
5191 ac_lo= ac_hi=
|
|
5192 break
|
|
5193 fi
|
|
5194 ac_mid=`expr 2 '*' $ac_mid`
|
|
5195 fi
|
|
5196
|
|
5197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
5198 done
|
|
5199 else
|
|
5200 echo "$as_me: failed program was:" >&5
|
|
5201 sed 's/^/| /' conftest.$ac_ext >&5
|
|
5202
|
|
5203 ac_lo= ac_hi=
|
|
5204 fi
|
|
5205
|
|
5206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
5207 fi
|
|
5208
|
|
5209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
5210 # Binary search between lo and hi bounds.
|
|
5211 while test "x$ac_lo" != "x$ac_hi"; do
|
|
5212 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
|
|
5213 cat >conftest.$ac_ext <<_ACEOF
|
|
5214 /* confdefs.h. */
|
|
5215 _ACEOF
|
|
5216 cat confdefs.h >>conftest.$ac_ext
|
|
5217 cat >>conftest.$ac_ext <<_ACEOF
|
|
5218 /* end confdefs.h. */
|
|
5219 $ac_includes_default
|
|
5220 typedef long long int ac__type_sizeof_;
|
|
5221 int
|
|
5222 main ()
|
|
5223 {
|
|
5224 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
|
|
5225 test_array [0] = 0
|
|
5226
|
|
5227 ;
|
|
5228 return 0;
|
|
5229 }
|
|
5230 _ACEOF
|
|
5231 rm -f conftest.$ac_objext
|
|
5232 if { (ac_try="$ac_compile"
|
|
5233 case "(($ac_try" in
|
|
5234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
5235 *) ac_try_echo=$ac_try;;
|
|
5236 esac
|
|
5237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
5238 (eval "$ac_compile") 2>conftest.er1
|
|
5239 ac_status=$?
|
|
5240 grep -v '^ *+' conftest.er1 >conftest.err
|
|
5241 rm -f conftest.er1
|
|
5242 cat conftest.err >&5
|
|
5243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5244 (exit $ac_status); } && {
|
|
5245 test -z "$ac_c_werror_flag" ||
|
|
5246 test ! -s conftest.err
|
|
5247 } && test -s conftest.$ac_objext; then
|
|
5248 ac_hi=$ac_mid
|
|
5249 else
|
|
5250 echo "$as_me: failed program was:" >&5
|
|
5251 sed 's/^/| /' conftest.$ac_ext >&5
|
|
5252
|
|
5253 ac_lo=`expr '(' $ac_mid ')' + 1`
|
|
5254 fi
|
|
5255
|
|
5256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
5257 done
|
|
5258 case $ac_lo in
|
|
5259 ?*) ac_cv_sizeof_long_long_int=$ac_lo;;
|
|
5260 '') if test "$ac_cv_type_long_long_int" = yes; then
|
|
5261 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long int)
|
|
5262 See \`config.log' for more details." >&5
|
|
5263 echo "$as_me: error: cannot compute sizeof (long long int)
|
|
5264 See \`config.log' for more details." >&2;}
|
|
5265 { (exit 77); exit 77; }; }
|
|
5266 else
|
|
5267 ac_cv_sizeof_long_long_int=0
|
|
5268 fi ;;
|
|
5269 esac
|
|
5270 else
|
|
5271 cat >conftest.$ac_ext <<_ACEOF
|
|
5272 /* confdefs.h. */
|
|
5273 _ACEOF
|
|
5274 cat confdefs.h >>conftest.$ac_ext
|
|
5275 cat >>conftest.$ac_ext <<_ACEOF
|
|
5276 /* end confdefs.h. */
|
|
5277 $ac_includes_default
|
|
5278 typedef long long int ac__type_sizeof_;
|
|
5279 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
|
|
5280 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
|
|
5281 #include <stdio.h>
|
|
5282 #include <stdlib.h>
|
|
5283 int
|
|
5284 main ()
|
|
5285 {
|
|
5286
|
|
5287 FILE *f = fopen ("conftest.val", "w");
|
|
5288 if (! f)
|
|
5289 return 1;
|
|
5290 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
|
|
5291 {
|
|
5292 long int i = longval ();
|
|
5293 if (i != ((long int) (sizeof (ac__type_sizeof_))))
|
|
5294 return 1;
|
|
5295 fprintf (f, "%ld\n", i);
|
|
5296 }
|
|
5297 else
|
|
5298 {
|
|
5299 unsigned long int i = ulongval ();
|
|
5300 if (i != ((long int) (sizeof (ac__type_sizeof_))))
|
|
5301 return 1;
|
|
5302 fprintf (f, "%lu\n", i);
|
|
5303 }
|
|
5304 return ferror (f) || fclose (f) != 0;
|
|
5305
|
|
5306 ;
|
|
5307 return 0;
|
|
5308 }
|
|
5309 _ACEOF
|
|
5310 rm -f conftest$ac_exeext
|
|
5311 if { (ac_try="$ac_link"
|
|
5312 case "(($ac_try" in
|
|
5313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
5314 *) ac_try_echo=$ac_try;;
|
|
5315 esac
|
|
5316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
5317 (eval "$ac_link") 2>&5
|
|
5318 ac_status=$?
|
|
5319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5320 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
|
5321 { (case "(($ac_try" in
|
|
5322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
5323 *) ac_try_echo=$ac_try;;
|
|
5324 esac
|
|
5325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
5326 (eval "$ac_try") 2>&5
|
|
5327 ac_status=$?
|
|
5328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5329 (exit $ac_status); }; }; then
|
|
5330 ac_cv_sizeof_long_long_int=`cat conftest.val`
|
|
5331 else
|
|
5332 echo "$as_me: program exited with status $ac_status" >&5
|
|
5333 echo "$as_me: failed program was:" >&5
|
|
5334 sed 's/^/| /' conftest.$ac_ext >&5
|
|
5335
|
|
5336 ( exit $ac_status )
|
|
5337 if test "$ac_cv_type_long_long_int" = yes; then
|
|
5338 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long int)
|
|
5339 See \`config.log' for more details." >&5
|
|
5340 echo "$as_me: error: cannot compute sizeof (long long int)
|
|
5341 See \`config.log' for more details." >&2;}
|
|
5342 { (exit 77); exit 77; }; }
|
|
5343 else
|
|
5344 ac_cv_sizeof_long_long_int=0
|
|
5345 fi
|
|
5346 fi
|
|
5347 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
|
5348 fi
|
|
5349 rm -f conftest.val
|
|
5350 fi
|
|
5351 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long_int" >&5
|
|
5352 echo "${ECHO_T}$ac_cv_sizeof_long_long_int" >&6; }
|
|
5353
|
|
5354
|
|
5355
|
|
5356 cat >>confdefs.h <<_ACEOF
|
|
5357 #define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_long_long_int
|
|
5358 _ACEOF
|
|
5359
|
|
5360
|
|
5361 { echo "$as_me:$LINENO: checking for _Bool" >&5
|
|
5362 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6; }
|
|
5363 if test "${ac_cv_type__Bool+set}" = set; then
|
|
5364 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
5365 else
|
|
5366 cat >conftest.$ac_ext <<_ACEOF
|
|
5367 /* confdefs.h. */
|
|
5368 _ACEOF
|
|
5369 cat confdefs.h >>conftest.$ac_ext
|
|
5370 cat >>conftest.$ac_ext <<_ACEOF
|
|
5371 /* end confdefs.h. */
|
|
5372 $ac_includes_default
|
|
5373 typedef _Bool ac__type_new_;
|
|
5374 int
|
|
5375 main ()
|
|
5376 {
|
|
5377 if ((ac__type_new_ *) 0)
|
|
5378 return 0;
|
|
5379 if (sizeof (ac__type_new_))
|
|
5380 return 0;
|
|
5381 ;
|
|
5382 return 0;
|
|
5383 }
|
|
5384 _ACEOF
|
|
5385 rm -f conftest.$ac_objext
|
|
5386 if { (ac_try="$ac_compile"
|
|
5387 case "(($ac_try" in
|
|
5388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
5389 *) ac_try_echo=$ac_try;;
|
|
5390 esac
|
|
5391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
5392 (eval "$ac_compile") 2>conftest.er1
|
|
5393 ac_status=$?
|
|
5394 grep -v '^ *+' conftest.er1 >conftest.err
|
|
5395 rm -f conftest.er1
|
|
5396 cat conftest.err >&5
|
|
5397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5398 (exit $ac_status); } && {
|
|
5399 test -z "$ac_c_werror_flag" ||
|
|
5400 test ! -s conftest.err
|
|
5401 } && test -s conftest.$ac_objext; then
|
|
5402 ac_cv_type__Bool=yes
|
|
5403 else
|
|
5404 echo "$as_me: failed program was:" >&5
|
|
5405 sed 's/^/| /' conftest.$ac_ext >&5
|
|
5406
|
|
5407 ac_cv_type__Bool=no
|
|
5408 fi
|
|
5409
|
|
5410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
5411 fi
|
|
5412 { echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
|
|
5413 echo "${ECHO_T}$ac_cv_type__Bool" >&6; }
|
|
5414
|
|
5415 # The cast to long int works around a bug in the HP C Compiler
|
|
5416 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
|
|
5417 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
|
|
5418 # This bug is HP SR number 8606223364.
|
|
5419 { echo "$as_me:$LINENO: checking size of _Bool" >&5
|
|
5420 echo $ECHO_N "checking size of _Bool... $ECHO_C" >&6; }
|
|
5421 if test "${ac_cv_sizeof__Bool+set}" = set; then
|
|
5422 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
5423 else
|
|
5424 if test "$cross_compiling" = yes; then
|
|
5425 # Depending upon the size, compute the lo and hi bounds.
|
|
5426 cat >conftest.$ac_ext <<_ACEOF
|
|
5427 /* confdefs.h. */
|
|
5428 _ACEOF
|
|
5429 cat confdefs.h >>conftest.$ac_ext
|
|
5430 cat >>conftest.$ac_ext <<_ACEOF
|
|
5431 /* end confdefs.h. */
|
|
5432 $ac_includes_default
|
|
5433 typedef _Bool ac__type_sizeof_;
|
|
5434 int
|
|
5435 main ()
|
|
5436 {
|
|
5437 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
|
|
5438 test_array [0] = 0
|
|
5439
|
|
5440 ;
|
|
5441 return 0;
|
|
5442 }
|
|
5443 _ACEOF
|
|
5444 rm -f conftest.$ac_objext
|
|
5445 if { (ac_try="$ac_compile"
|
|
5446 case "(($ac_try" in
|
|
5447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
5448 *) ac_try_echo=$ac_try;;
|
|
5449 esac
|
|
5450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
5451 (eval "$ac_compile") 2>conftest.er1
|
|
5452 ac_status=$?
|
|
5453 grep -v '^ *+' conftest.er1 >conftest.err
|
|
5454 rm -f conftest.er1
|
|
5455 cat conftest.err >&5
|
|
5456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5457 (exit $ac_status); } && {
|
|
5458 test -z "$ac_c_werror_flag" ||
|
|
5459 test ! -s conftest.err
|
|
5460 } && test -s conftest.$ac_objext; then
|
|
5461 ac_lo=0 ac_mid=0
|
|
5462 while :; do
|
|
5463 cat >conftest.$ac_ext <<_ACEOF
|
|
5464 /* confdefs.h. */
|
|
5465 _ACEOF
|
|
5466 cat confdefs.h >>conftest.$ac_ext
|
|
5467 cat >>conftest.$ac_ext <<_ACEOF
|
|
5468 /* end confdefs.h. */
|
|
5469 $ac_includes_default
|
|
5470 typedef _Bool ac__type_sizeof_;
|
|
5471 int
|
|
5472 main ()
|
|
5473 {
|
|
5474 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
|
|
5475 test_array [0] = 0
|
|
5476
|
|
5477 ;
|
|
5478 return 0;
|
|
5479 }
|
|
5480 _ACEOF
|
|
5481 rm -f conftest.$ac_objext
|
|
5482 if { (ac_try="$ac_compile"
|
|
5483 case "(($ac_try" in
|
|
5484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
5485 *) ac_try_echo=$ac_try;;
|
|
5486 esac
|
|
5487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
5488 (eval "$ac_compile") 2>conftest.er1
|
|
5489 ac_status=$?
|
|
5490 grep -v '^ *+' conftest.er1 >conftest.err
|
|
5491 rm -f conftest.er1
|
|
5492 cat conftest.err >&5
|
|
5493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5494 (exit $ac_status); } && {
|
|
5495 test -z "$ac_c_werror_flag" ||
|
|
5496 test ! -s conftest.err
|
|
5497 } && test -s conftest.$ac_objext; then
|
|
5498 ac_hi=$ac_mid; break
|
|
5499 else
|
|
5500 echo "$as_me: failed program was:" >&5
|
|
5501 sed 's/^/| /' conftest.$ac_ext >&5
|
|
5502
|
|
5503 ac_lo=`expr $ac_mid + 1`
|
|
5504 if test $ac_lo -le $ac_mid; then
|
|
5505 ac_lo= ac_hi=
|
|
5506 break
|
|
5507 fi
|
|
5508 ac_mid=`expr 2 '*' $ac_mid + 1`
|
|
5509 fi
|
|
5510
|
|
5511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
5512 done
|
|
5513 else
|
|
5514 echo "$as_me: failed program was:" >&5
|
|
5515 sed 's/^/| /' conftest.$ac_ext >&5
|
|
5516
|
|
5517 cat >conftest.$ac_ext <<_ACEOF
|
|
5518 /* confdefs.h. */
|
|
5519 _ACEOF
|
|
5520 cat confdefs.h >>conftest.$ac_ext
|
|
5521 cat >>conftest.$ac_ext <<_ACEOF
|
|
5522 /* end confdefs.h. */
|
|
5523 $ac_includes_default
|
|
5524 typedef _Bool ac__type_sizeof_;
|
|
5525 int
|
|
5526 main ()
|
|
5527 {
|
|
5528 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
|
|
5529 test_array [0] = 0
|
|
5530
|
|
5531 ;
|
|
5532 return 0;
|
|
5533 }
|
|
5534 _ACEOF
|
|
5535 rm -f conftest.$ac_objext
|
|
5536 if { (ac_try="$ac_compile"
|
|
5537 case "(($ac_try" in
|
|
5538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
5539 *) ac_try_echo=$ac_try;;
|
|
5540 esac
|
|
5541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
5542 (eval "$ac_compile") 2>conftest.er1
|
|
5543 ac_status=$?
|
|
5544 grep -v '^ *+' conftest.er1 >conftest.err
|
|
5545 rm -f conftest.er1
|
|
5546 cat conftest.err >&5
|
|
5547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5548 (exit $ac_status); } && {
|
|
5549 test -z "$ac_c_werror_flag" ||
|
|
5550 test ! -s conftest.err
|
|
5551 } && test -s conftest.$ac_objext; then
|
|
5552 ac_hi=-1 ac_mid=-1
|
|
5553 while :; do
|
|
5554 cat >conftest.$ac_ext <<_ACEOF
|
|
5555 /* confdefs.h. */
|
|
5556 _ACEOF
|
|
5557 cat confdefs.h >>conftest.$ac_ext
|
|
5558 cat >>conftest.$ac_ext <<_ACEOF
|
|
5559 /* end confdefs.h. */
|
|
5560 $ac_includes_default
|
|
5561 typedef _Bool ac__type_sizeof_;
|
|
5562 int
|
|
5563 main ()
|
|
5564 {
|
|
5565 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
|
|
5566 test_array [0] = 0
|
|
5567
|
|
5568 ;
|
|
5569 return 0;
|
|
5570 }
|
|
5571 _ACEOF
|
|
5572 rm -f conftest.$ac_objext
|
|
5573 if { (ac_try="$ac_compile"
|
|
5574 case "(($ac_try" in
|
|
5575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
5576 *) ac_try_echo=$ac_try;;
|
|
5577 esac
|
|
5578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
5579 (eval "$ac_compile") 2>conftest.er1
|
|
5580 ac_status=$?
|
|
5581 grep -v '^ *+' conftest.er1 >conftest.err
|
|
5582 rm -f conftest.er1
|
|
5583 cat conftest.err >&5
|
|
5584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5585 (exit $ac_status); } && {
|
|
5586 test -z "$ac_c_werror_flag" ||
|
|
5587 test ! -s conftest.err
|
|
5588 } && test -s conftest.$ac_objext; then
|
|
5589 ac_lo=$ac_mid; break
|
|
5590 else
|
|
5591 echo "$as_me: failed program was:" >&5
|
|
5592 sed 's/^/| /' conftest.$ac_ext >&5
|
|
5593
|
|
5594 ac_hi=`expr '(' $ac_mid ')' - 1`
|
|
5595 if test $ac_mid -le $ac_hi; then
|
|
5596 ac_lo= ac_hi=
|
|
5597 break
|
|
5598 fi
|
|
5599 ac_mid=`expr 2 '*' $ac_mid`
|
|
5600 fi
|
|
5601
|
|
5602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
5603 done
|
|
5604 else
|
|
5605 echo "$as_me: failed program was:" >&5
|
|
5606 sed 's/^/| /' conftest.$ac_ext >&5
|
|
5607
|
|
5608 ac_lo= ac_hi=
|
|
5609 fi
|
|
5610
|
|
5611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
5612 fi
|
|
5613
|
|
5614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
5615 # Binary search between lo and hi bounds.
|
|
5616 while test "x$ac_lo" != "x$ac_hi"; do
|
|
5617 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
|
|
5618 cat >conftest.$ac_ext <<_ACEOF
|
|
5619 /* confdefs.h. */
|
|
5620 _ACEOF
|
|
5621 cat confdefs.h >>conftest.$ac_ext
|
|
5622 cat >>conftest.$ac_ext <<_ACEOF
|
|
5623 /* end confdefs.h. */
|
|
5624 $ac_includes_default
|
|
5625 typedef _Bool ac__type_sizeof_;
|
|
5626 int
|
|
5627 main ()
|
|
5628 {
|
|
5629 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
|
|
5630 test_array [0] = 0
|
|
5631
|
|
5632 ;
|
|
5633 return 0;
|
|
5634 }
|
|
5635 _ACEOF
|
|
5636 rm -f conftest.$ac_objext
|
|
5637 if { (ac_try="$ac_compile"
|
|
5638 case "(($ac_try" in
|
|
5639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
5640 *) ac_try_echo=$ac_try;;
|
|
5641 esac
|
|
5642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
5643 (eval "$ac_compile") 2>conftest.er1
|
|
5644 ac_status=$?
|
|
5645 grep -v '^ *+' conftest.er1 >conftest.err
|
|
5646 rm -f conftest.er1
|
|
5647 cat conftest.err >&5
|
|
5648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5649 (exit $ac_status); } && {
|
|
5650 test -z "$ac_c_werror_flag" ||
|
|
5651 test ! -s conftest.err
|
|
5652 } && test -s conftest.$ac_objext; then
|
|
5653 ac_hi=$ac_mid
|
|
5654 else
|
|
5655 echo "$as_me: failed program was:" >&5
|
|
5656 sed 's/^/| /' conftest.$ac_ext >&5
|
|
5657
|
|
5658 ac_lo=`expr '(' $ac_mid ')' + 1`
|
|
5659 fi
|
|
5660
|
|
5661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
5662 done
|
|
5663 case $ac_lo in
|
|
5664 ?*) ac_cv_sizeof__Bool=$ac_lo;;
|
|
5665 '') if test "$ac_cv_type__Bool" = yes; then
|
|
5666 { { echo "$as_me:$LINENO: error: cannot compute sizeof (_Bool)
|
|
5667 See \`config.log' for more details." >&5
|
|
5668 echo "$as_me: error: cannot compute sizeof (_Bool)
|
|
5669 See \`config.log' for more details." >&2;}
|
|
5670 { (exit 77); exit 77; }; }
|
|
5671 else
|
|
5672 ac_cv_sizeof__Bool=0
|
|
5673 fi ;;
|
|
5674 esac
|
|
5675 else
|
|
5676 cat >conftest.$ac_ext <<_ACEOF
|
|
5677 /* confdefs.h. */
|
|
5678 _ACEOF
|
|
5679 cat confdefs.h >>conftest.$ac_ext
|
|
5680 cat >>conftest.$ac_ext <<_ACEOF
|
|
5681 /* end confdefs.h. */
|
|
5682 $ac_includes_default
|
|
5683 typedef _Bool ac__type_sizeof_;
|
|
5684 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
|
|
5685 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
|
|
5686 #include <stdio.h>
|
|
5687 #include <stdlib.h>
|
|
5688 int
|
|
5689 main ()
|
|
5690 {
|
|
5691
|
|
5692 FILE *f = fopen ("conftest.val", "w");
|
|
5693 if (! f)
|
|
5694 return 1;
|
|
5695 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
|
|
5696 {
|
|
5697 long int i = longval ();
|
|
5698 if (i != ((long int) (sizeof (ac__type_sizeof_))))
|
|
5699 return 1;
|
|
5700 fprintf (f, "%ld\n", i);
|
|
5701 }
|
|
5702 else
|
|
5703 {
|
|
5704 unsigned long int i = ulongval ();
|
|
5705 if (i != ((long int) (sizeof (ac__type_sizeof_))))
|
|
5706 return 1;
|
|
5707 fprintf (f, "%lu\n", i);
|
|
5708 }
|
|
5709 return ferror (f) || fclose (f) != 0;
|
|
5710
|
|
5711 ;
|
|
5712 return 0;
|
|
5713 }
|
|
5714 _ACEOF
|
|
5715 rm -f conftest$ac_exeext
|
|
5716 if { (ac_try="$ac_link"
|
|
5717 case "(($ac_try" in
|
|
5718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
5719 *) ac_try_echo=$ac_try;;
|
|
5720 esac
|
|
5721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
5722 (eval "$ac_link") 2>&5
|
|
5723 ac_status=$?
|
|
5724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5725 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
|
5726 { (case "(($ac_try" in
|
|
5727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
5728 *) ac_try_echo=$ac_try;;
|
|
5729 esac
|
|
5730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
5731 (eval "$ac_try") 2>&5
|
|
5732 ac_status=$?
|
|
5733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5734 (exit $ac_status); }; }; then
|
|
5735 ac_cv_sizeof__Bool=`cat conftest.val`
|
|
5736 else
|
|
5737 echo "$as_me: program exited with status $ac_status" >&5
|
|
5738 echo "$as_me: failed program was:" >&5
|
|
5739 sed 's/^/| /' conftest.$ac_ext >&5
|
|
5740
|
|
5741 ( exit $ac_status )
|
|
5742 if test "$ac_cv_type__Bool" = yes; then
|
|
5743 { { echo "$as_me:$LINENO: error: cannot compute sizeof (_Bool)
|
|
5744 See \`config.log' for more details." >&5
|
|
5745 echo "$as_me: error: cannot compute sizeof (_Bool)
|
|
5746 See \`config.log' for more details." >&2;}
|
|
5747 { (exit 77); exit 77; }; }
|
|
5748 else
|
|
5749 ac_cv_sizeof__Bool=0
|
|
5750 fi
|
|
5751 fi
|
|
5752 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
|
5753 fi
|
|
5754 rm -f conftest.val
|
|
5755 fi
|
|
5756 { echo "$as_me:$LINENO: result: $ac_cv_sizeof__Bool" >&5
|
|
5757 echo "${ECHO_T}$ac_cv_sizeof__Bool" >&6; }
|
|
5758
|
|
5759
|
|
5760
|
|
5761 cat >>confdefs.h <<_ACEOF
|
|
5762 #define SIZEOF__BOOL $ac_cv_sizeof__Bool
|
|
5763 _ACEOF
|
|
5764
|
|
5765
|
|
5766 { echo "$as_me:$LINENO: checking for sig_atomic_t" >&5
|
|
5767 echo $ECHO_N "checking for sig_atomic_t... $ECHO_C" >&6; }
|
|
5768 if test "${ac_cv_type_sig_atomic_t+set}" = set; then
|
|
5769 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
5770 else
|
|
5771 cat >conftest.$ac_ext <<_ACEOF
|
|
5772 /* confdefs.h. */
|
|
5773 _ACEOF
|
|
5774 cat confdefs.h >>conftest.$ac_ext
|
|
5775 cat >>conftest.$ac_ext <<_ACEOF
|
|
5776 /* end confdefs.h. */
|
|
5777 #include <signal.h>
|
|
5778
|
|
5779 typedef sig_atomic_t ac__type_new_;
|
|
5780 int
|
|
5781 main ()
|
|
5782 {
|
|
5783 if ((ac__type_new_ *) 0)
|
|
5784 return 0;
|
|
5785 if (sizeof (ac__type_new_))
|
|
5786 return 0;
|
|
5787 ;
|
|
5788 return 0;
|
|
5789 }
|
|
5790 _ACEOF
|
|
5791 rm -f conftest.$ac_objext
|
|
5792 if { (ac_try="$ac_compile"
|
|
5793 case "(($ac_try" in
|
|
5794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
5795 *) ac_try_echo=$ac_try;;
|
|
5796 esac
|
|
5797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
5798 (eval "$ac_compile") 2>conftest.er1
|
|
5799 ac_status=$?
|
|
5800 grep -v '^ *+' conftest.er1 >conftest.err
|
|
5801 rm -f conftest.er1
|
|
5802 cat conftest.err >&5
|
|
5803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5804 (exit $ac_status); } && {
|
|
5805 test -z "$ac_c_werror_flag" ||
|
|
5806 test ! -s conftest.err
|
|
5807 } && test -s conftest.$ac_objext; then
|
|
5808 ac_cv_type_sig_atomic_t=yes
|
|
5809 else
|
|
5810 echo "$as_me: failed program was:" >&5
|
|
5811 sed 's/^/| /' conftest.$ac_ext >&5
|
|
5812
|
|
5813 ac_cv_type_sig_atomic_t=no
|
|
5814 fi
|
|
5815
|
|
5816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
5817 fi
|
|
5818 { echo "$as_me:$LINENO: result: $ac_cv_type_sig_atomic_t" >&5
|
|
5819 echo "${ECHO_T}$ac_cv_type_sig_atomic_t" >&6; }
|
|
5820
|
|
5821 # The cast to long int works around a bug in the HP C Compiler
|
|
5822 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
|
|
5823 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
|
|
5824 # This bug is HP SR number 8606223364.
|
|
5825 { echo "$as_me:$LINENO: checking size of sig_atomic_t" >&5
|
|
5826 echo $ECHO_N "checking size of sig_atomic_t... $ECHO_C" >&6; }
|
|
5827 if test "${ac_cv_sizeof_sig_atomic_t+set}" = set; then
|
|
5828 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
5829 else
|
|
5830 if test "$cross_compiling" = yes; then
|
|
5831 # Depending upon the size, compute the lo and hi bounds.
|
|
5832 cat >conftest.$ac_ext <<_ACEOF
|
|
5833 /* confdefs.h. */
|
|
5834 _ACEOF
|
|
5835 cat confdefs.h >>conftest.$ac_ext
|
|
5836 cat >>conftest.$ac_ext <<_ACEOF
|
|
5837 /* end confdefs.h. */
|
|
5838 #include <signal.h>
|
|
5839
|
|
5840 typedef sig_atomic_t ac__type_sizeof_;
|
|
5841 int
|
|
5842 main ()
|
|
5843 {
|
|
5844 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
|
|
5845 test_array [0] = 0
|
|
5846
|
|
5847 ;
|
|
5848 return 0;
|
|
5849 }
|
|
5850 _ACEOF
|
|
5851 rm -f conftest.$ac_objext
|
|
5852 if { (ac_try="$ac_compile"
|
|
5853 case "(($ac_try" in
|
|
5854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
5855 *) ac_try_echo=$ac_try;;
|
|
5856 esac
|
|
5857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
5858 (eval "$ac_compile") 2>conftest.er1
|
|
5859 ac_status=$?
|
|
5860 grep -v '^ *+' conftest.er1 >conftest.err
|
|
5861 rm -f conftest.er1
|
|
5862 cat conftest.err >&5
|
|
5863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5864 (exit $ac_status); } && {
|
|
5865 test -z "$ac_c_werror_flag" ||
|
|
5866 test ! -s conftest.err
|
|
5867 } && test -s conftest.$ac_objext; then
|
|
5868 ac_lo=0 ac_mid=0
|
|
5869 while :; do
|
|
5870 cat >conftest.$ac_ext <<_ACEOF
|
|
5871 /* confdefs.h. */
|
|
5872 _ACEOF
|
|
5873 cat confdefs.h >>conftest.$ac_ext
|
|
5874 cat >>conftest.$ac_ext <<_ACEOF
|
|
5875 /* end confdefs.h. */
|
|
5876 #include <signal.h>
|
|
5877
|
|
5878 typedef sig_atomic_t ac__type_sizeof_;
|
|
5879 int
|
|
5880 main ()
|
|
5881 {
|
|
5882 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
|
|
5883 test_array [0] = 0
|
|
5884
|
|
5885 ;
|
|
5886 return 0;
|
|
5887 }
|
|
5888 _ACEOF
|
|
5889 rm -f conftest.$ac_objext
|
|
5890 if { (ac_try="$ac_compile"
|
|
5891 case "(($ac_try" in
|
|
5892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
5893 *) ac_try_echo=$ac_try;;
|
|
5894 esac
|
|
5895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
5896 (eval "$ac_compile") 2>conftest.er1
|
|
5897 ac_status=$?
|
|
5898 grep -v '^ *+' conftest.er1 >conftest.err
|
|
5899 rm -f conftest.er1
|
|
5900 cat conftest.err >&5
|
|
5901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5902 (exit $ac_status); } && {
|
|
5903 test -z "$ac_c_werror_flag" ||
|
|
5904 test ! -s conftest.err
|
|
5905 } && test -s conftest.$ac_objext; then
|
|
5906 ac_hi=$ac_mid; break
|
|
5907 else
|
|
5908 echo "$as_me: failed program was:" >&5
|
|
5909 sed 's/^/| /' conftest.$ac_ext >&5
|
|
5910
|
|
5911 ac_lo=`expr $ac_mid + 1`
|
|
5912 if test $ac_lo -le $ac_mid; then
|
|
5913 ac_lo= ac_hi=
|
|
5914 break
|
|
5915 fi
|
|
5916 ac_mid=`expr 2 '*' $ac_mid + 1`
|
|
5917 fi
|
|
5918
|
|
5919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
5920 done
|
|
5921 else
|
|
5922 echo "$as_me: failed program was:" >&5
|
|
5923 sed 's/^/| /' conftest.$ac_ext >&5
|
|
5924
|
|
5925 cat >conftest.$ac_ext <<_ACEOF
|
|
5926 /* confdefs.h. */
|
|
5927 _ACEOF
|
|
5928 cat confdefs.h >>conftest.$ac_ext
|
|
5929 cat >>conftest.$ac_ext <<_ACEOF
|
|
5930 /* end confdefs.h. */
|
|
5931 #include <signal.h>
|
|
5932
|
|
5933 typedef sig_atomic_t ac__type_sizeof_;
|
|
5934 int
|
|
5935 main ()
|
|
5936 {
|
|
5937 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
|
|
5938 test_array [0] = 0
|
|
5939
|
|
5940 ;
|
|
5941 return 0;
|
|
5942 }
|
|
5943 _ACEOF
|
|
5944 rm -f conftest.$ac_objext
|
|
5945 if { (ac_try="$ac_compile"
|
|
5946 case "(($ac_try" in
|
|
5947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
5948 *) ac_try_echo=$ac_try;;
|
|
5949 esac
|
|
5950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
5951 (eval "$ac_compile") 2>conftest.er1
|
|
5952 ac_status=$?
|
|
5953 grep -v '^ *+' conftest.er1 >conftest.err
|
|
5954 rm -f conftest.er1
|
|
5955 cat conftest.err >&5
|
|
5956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5957 (exit $ac_status); } && {
|
|
5958 test -z "$ac_c_werror_flag" ||
|
|
5959 test ! -s conftest.err
|
|
5960 } && test -s conftest.$ac_objext; then
|
|
5961 ac_hi=-1 ac_mid=-1
|
|
5962 while :; do
|
|
5963 cat >conftest.$ac_ext <<_ACEOF
|
|
5964 /* confdefs.h. */
|
|
5965 _ACEOF
|
|
5966 cat confdefs.h >>conftest.$ac_ext
|
|
5967 cat >>conftest.$ac_ext <<_ACEOF
|
|
5968 /* end confdefs.h. */
|
|
5969 #include <signal.h>
|
|
5970
|
|
5971 typedef sig_atomic_t ac__type_sizeof_;
|
|
5972 int
|
|
5973 main ()
|
|
5974 {
|
|
5975 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
|
|
5976 test_array [0] = 0
|
|
5977
|
|
5978 ;
|
|
5979 return 0;
|
|
5980 }
|
|
5981 _ACEOF
|
|
5982 rm -f conftest.$ac_objext
|
|
5983 if { (ac_try="$ac_compile"
|
|
5984 case "(($ac_try" in
|
|
5985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
5986 *) ac_try_echo=$ac_try;;
|
|
5987 esac
|
|
5988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
5989 (eval "$ac_compile") 2>conftest.er1
|
|
5990 ac_status=$?
|
|
5991 grep -v '^ *+' conftest.er1 >conftest.err
|
|
5992 rm -f conftest.er1
|
|
5993 cat conftest.err >&5
|
|
5994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5995 (exit $ac_status); } && {
|
|
5996 test -z "$ac_c_werror_flag" ||
|
|
5997 test ! -s conftest.err
|
|
5998 } && test -s conftest.$ac_objext; then
|
|
5999 ac_lo=$ac_mid; break
|
|
6000 else
|
|
6001 echo "$as_me: failed program was:" >&5
|
|
6002 sed 's/^/| /' conftest.$ac_ext >&5
|
|
6003
|
|
6004 ac_hi=`expr '(' $ac_mid ')' - 1`
|
|
6005 if test $ac_mid -le $ac_hi; then
|
|
6006 ac_lo= ac_hi=
|
|
6007 break
|
|
6008 fi
|
|
6009 ac_mid=`expr 2 '*' $ac_mid`
|
|
6010 fi
|
|
6011
|
|
6012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
6013 done
|
|
6014 else
|
|
6015 echo "$as_me: failed program was:" >&5
|
|
6016 sed 's/^/| /' conftest.$ac_ext >&5
|
|
6017
|
|
6018 ac_lo= ac_hi=
|
|
6019 fi
|
|
6020
|
|
6021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
6022 fi
|
|
6023
|
|
6024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
6025 # Binary search between lo and hi bounds.
|
|
6026 while test "x$ac_lo" != "x$ac_hi"; do
|
|
6027 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
|
|
6028 cat >conftest.$ac_ext <<_ACEOF
|
|
6029 /* confdefs.h. */
|
|
6030 _ACEOF
|
|
6031 cat confdefs.h >>conftest.$ac_ext
|
|
6032 cat >>conftest.$ac_ext <<_ACEOF
|
|
6033 /* end confdefs.h. */
|
|
6034 #include <signal.h>
|
|
6035
|
|
6036 typedef sig_atomic_t ac__type_sizeof_;
|
|
6037 int
|
|
6038 main ()
|
|
6039 {
|
|
6040 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
|
|
6041 test_array [0] = 0
|
|
6042
|
|
6043 ;
|
|
6044 return 0;
|
|
6045 }
|
|
6046 _ACEOF
|
|
6047 rm -f conftest.$ac_objext
|
|
6048 if { (ac_try="$ac_compile"
|
|
6049 case "(($ac_try" in
|
|
6050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
6051 *) ac_try_echo=$ac_try;;
|
|
6052 esac
|
|
6053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
6054 (eval "$ac_compile") 2>conftest.er1
|
|
6055 ac_status=$?
|
|
6056 grep -v '^ *+' conftest.er1 >conftest.err
|
|
6057 rm -f conftest.er1
|
|
6058 cat conftest.err >&5
|
|
6059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6060 (exit $ac_status); } && {
|
|
6061 test -z "$ac_c_werror_flag" ||
|
|
6062 test ! -s conftest.err
|
|
6063 } && test -s conftest.$ac_objext; then
|
|
6064 ac_hi=$ac_mid
|
|
6065 else
|
|
6066 echo "$as_me: failed program was:" >&5
|
|
6067 sed 's/^/| /' conftest.$ac_ext >&5
|
|
6068
|
|
6069 ac_lo=`expr '(' $ac_mid ')' + 1`
|
|
6070 fi
|
|
6071
|
|
6072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
6073 done
|
|
6074 case $ac_lo in
|
|
6075 ?*) ac_cv_sizeof_sig_atomic_t=$ac_lo;;
|
|
6076 '') if test "$ac_cv_type_sig_atomic_t" = yes; then
|
|
6077 { { echo "$as_me:$LINENO: error: cannot compute sizeof (sig_atomic_t)
|
|
6078 See \`config.log' for more details." >&5
|
|
6079 echo "$as_me: error: cannot compute sizeof (sig_atomic_t)
|
|
6080 See \`config.log' for more details." >&2;}
|
|
6081 { (exit 77); exit 77; }; }
|
|
6082 else
|
|
6083 ac_cv_sizeof_sig_atomic_t=0
|
|
6084 fi ;;
|
|
6085 esac
|
|
6086 else
|
|
6087 cat >conftest.$ac_ext <<_ACEOF
|
|
6088 /* confdefs.h. */
|
|
6089 _ACEOF
|
|
6090 cat confdefs.h >>conftest.$ac_ext
|
|
6091 cat >>conftest.$ac_ext <<_ACEOF
|
|
6092 /* end confdefs.h. */
|
|
6093 #include <signal.h>
|
|
6094
|
|
6095 typedef sig_atomic_t ac__type_sizeof_;
|
|
6096 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
|
|
6097 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
|
|
6098 #include <stdio.h>
|
|
6099 #include <stdlib.h>
|
|
6100 int
|
|
6101 main ()
|
|
6102 {
|
|
6103
|
|
6104 FILE *f = fopen ("conftest.val", "w");
|
|
6105 if (! f)
|
|
6106 return 1;
|
|
6107 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
|
|
6108 {
|
|
6109 long int i = longval ();
|
|
6110 if (i != ((long int) (sizeof (ac__type_sizeof_))))
|
|
6111 return 1;
|
|
6112 fprintf (f, "%ld\n", i);
|
|
6113 }
|
|
6114 else
|
|
6115 {
|
|
6116 unsigned long int i = ulongval ();
|
|
6117 if (i != ((long int) (sizeof (ac__type_sizeof_))))
|
|
6118 return 1;
|
|
6119 fprintf (f, "%lu\n", i);
|
|
6120 }
|
|
6121 return ferror (f) || fclose (f) != 0;
|
|
6122
|
|
6123 ;
|
|
6124 return 0;
|
|
6125 }
|
|
6126 _ACEOF
|
|
6127 rm -f conftest$ac_exeext
|
|
6128 if { (ac_try="$ac_link"
|
|
6129 case "(($ac_try" in
|
|
6130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
6131 *) ac_try_echo=$ac_try;;
|
|
6132 esac
|
|
6133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
6134 (eval "$ac_link") 2>&5
|
|
6135 ac_status=$?
|
|
6136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6137 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
|
6138 { (case "(($ac_try" in
|
|
6139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
6140 *) ac_try_echo=$ac_try;;
|
|
6141 esac
|
|
6142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
6143 (eval "$ac_try") 2>&5
|
|
6144 ac_status=$?
|
|
6145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6146 (exit $ac_status); }; }; then
|
|
6147 ac_cv_sizeof_sig_atomic_t=`cat conftest.val`
|
|
6148 else
|
|
6149 echo "$as_me: program exited with status $ac_status" >&5
|
|
6150 echo "$as_me: failed program was:" >&5
|
|
6151 sed 's/^/| /' conftest.$ac_ext >&5
|
|
6152
|
|
6153 ( exit $ac_status )
|
|
6154 if test "$ac_cv_type_sig_atomic_t" = yes; then
|
|
6155 { { echo "$as_me:$LINENO: error: cannot compute sizeof (sig_atomic_t)
|
|
6156 See \`config.log' for more details." >&5
|
|
6157 echo "$as_me: error: cannot compute sizeof (sig_atomic_t)
|
|
6158 See \`config.log' for more details." >&2;}
|
|
6159 { (exit 77); exit 77; }; }
|
|
6160 else
|
|
6161 ac_cv_sizeof_sig_atomic_t=0
|
|
6162 fi
|
|
6163 fi
|
|
6164 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
|
6165 fi
|
|
6166 rm -f conftest.val
|
|
6167 fi
|
|
6168 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_sig_atomic_t" >&5
|
|
6169 echo "${ECHO_T}$ac_cv_sizeof_sig_atomic_t" >&6; }
|
|
6170
|
|
6171
|
|
6172
|
|
6173 cat >>confdefs.h <<_ACEOF
|
|
6174 #define SIZEOF_SIG_ATOMIC_T $ac_cv_sizeof_sig_atomic_t
|
|
6175 _ACEOF
|
|
6176
|
|
6177
|
|
6178 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
|
|
6179 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
|
|
6180 if test "${ac_cv_header_time+set}" = set; then
|
|
6181 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
6182 else
|
|
6183 cat >conftest.$ac_ext <<_ACEOF
|
|
6184 /* confdefs.h. */
|
|
6185 _ACEOF
|
|
6186 cat confdefs.h >>conftest.$ac_ext
|
|
6187 cat >>conftest.$ac_ext <<_ACEOF
|
|
6188 /* end confdefs.h. */
|
|
6189 #include <sys/types.h>
|
|
6190 #include <sys/time.h>
|
|
6191 #include <time.h>
|
|
6192
|
|
6193 int
|
|
6194 main ()
|
|
6195 {
|
|
6196 if ((struct tm *) 0)
|
|
6197 return 0;
|
|
6198 ;
|
|
6199 return 0;
|
|
6200 }
|
|
6201 _ACEOF
|
|
6202 rm -f conftest.$ac_objext
|
|
6203 if { (ac_try="$ac_compile"
|
|
6204 case "(($ac_try" in
|
|
6205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
6206 *) ac_try_echo=$ac_try;;
|
|
6207 esac
|
|
6208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
6209 (eval "$ac_compile") 2>conftest.er1
|
|
6210 ac_status=$?
|
|
6211 grep -v '^ *+' conftest.er1 >conftest.err
|
|
6212 rm -f conftest.er1
|
|
6213 cat conftest.err >&5
|
|
6214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6215 (exit $ac_status); } && {
|
|
6216 test -z "$ac_c_werror_flag" ||
|
|
6217 test ! -s conftest.err
|
|
6218 } && test -s conftest.$ac_objext; then
|
|
6219 ac_cv_header_time=yes
|
|
6220 else
|
|
6221 echo "$as_me: failed program was:" >&5
|
|
6222 sed 's/^/| /' conftest.$ac_ext >&5
|
|
6223
|
|
6224 ac_cv_header_time=no
|
|
6225 fi
|
|
6226
|
|
6227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
6228 fi
|
|
6229 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
|
|
6230 echo "${ECHO_T}$ac_cv_header_time" >&6; }
|
|
6231 if test $ac_cv_header_time = yes; then
|
|
6232
|
|
6233 cat >>confdefs.h <<\_ACEOF
|
|
6234 #define TIME_WITH_SYS_TIME 1
|
|
6235 _ACEOF
|
|
6236
|
|
6237 fi
|
|
6238
|
|
6239
|
|
6240
|
|
6241 { echo "$as_me:$LINENO: checking whether #! works in shell scripts" >&5
|
|
6242 echo $ECHO_N "checking whether #! works in shell scripts... $ECHO_C" >&6; }
|
|
6243 if test "${ac_cv_sys_interpreter+set}" = set; then
|
|
6244 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
6245 else
|
|
6246 echo '#! /bin/cat
|
|
6247 exit 69
|
|
6248 ' >conftest
|
|
6249 chmod u+x conftest
|
|
6250 (SHELL=/bin/sh; export SHELL; ./conftest >/dev/null 2>&1)
|
|
6251 if test $? -ne 69; then
|
|
6252 ac_cv_sys_interpreter=yes
|
|
6253 else
|
|
6254 ac_cv_sys_interpreter=no
|
|
6255 fi
|
|
6256 rm -f conftest
|
|
6257 fi
|
|
6258 { echo "$as_me:$LINENO: result: $ac_cv_sys_interpreter" >&5
|
|
6259 echo "${ECHO_T}$ac_cv_sys_interpreter" >&6; }
|
|
6260 interpval=$ac_cv_sys_interpreter
|
|
6261
|
|
6262 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
|
|
6263 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
|
|
6264 if test "${ac_cv_type_signal+set}" = set; then
|
|
6265 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
6266 else
|
|
6267 cat >conftest.$ac_ext <<_ACEOF
|
|
6268 /* confdefs.h. */
|
|
6269 _ACEOF
|
|
6270 cat confdefs.h >>conftest.$ac_ext
|
|
6271 cat >>conftest.$ac_ext <<_ACEOF
|
|
6272 /* end confdefs.h. */
|
|
6273 #include <sys/types.h>
|
|
6274 #include <signal.h>
|
|
6275
|
|
6276 int
|
|
6277 main ()
|
|
6278 {
|
|
6279 return *(signal (0, 0)) (0) == 1;
|
|
6280 ;
|
|
6281 return 0;
|
|
6282 }
|
|
6283 _ACEOF
|
|
6284 rm -f conftest.$ac_objext
|
|
6285 if { (ac_try="$ac_compile"
|
|
6286 case "(($ac_try" in
|
|
6287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
6288 *) ac_try_echo=$ac_try;;
|
|
6289 esac
|
|
6290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
6291 (eval "$ac_compile") 2>conftest.er1
|
|
6292 ac_status=$?
|
|
6293 grep -v '^ *+' conftest.er1 >conftest.err
|
|
6294 rm -f conftest.er1
|
|
6295 cat conftest.err >&5
|
|
6296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6297 (exit $ac_status); } && {
|
|
6298 test -z "$ac_c_werror_flag" ||
|
|
6299 test ! -s conftest.err
|
|
6300 } && test -s conftest.$ac_objext; then
|
|
6301 ac_cv_type_signal=int
|
|
6302 else
|
|
6303 echo "$as_me: failed program was:" >&5
|
|
6304 sed 's/^/| /' conftest.$ac_ext >&5
|
|
6305
|
|
6306 ac_cv_type_signal=void
|
|
6307 fi
|
|
6308
|
|
6309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
6310 fi
|
|
6311 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
|
|
6312 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
|
|
6313
|
|
6314 cat >>confdefs.h <<_ACEOF
|
|
6315 #define RETSIGTYPE $ac_cv_type_signal
|
|
6316 _ACEOF
|
|
6317
|
|
6318
|
|
6319 { echo "$as_me:$LINENO: checking for size_t" >&5
|
|
6320 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
|
|
6321 if test "${ac_cv_type_size_t+set}" = set; then
|
|
6322 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
6323 else
|
|
6324 cat >conftest.$ac_ext <<_ACEOF
|
|
6325 /* confdefs.h. */
|
|
6326 _ACEOF
|
|
6327 cat confdefs.h >>conftest.$ac_ext
|
|
6328 cat >>conftest.$ac_ext <<_ACEOF
|
|
6329 /* end confdefs.h. */
|
|
6330 $ac_includes_default
|
|
6331 typedef size_t ac__type_new_;
|
|
6332 int
|
|
6333 main ()
|
|
6334 {
|
|
6335 if ((ac__type_new_ *) 0)
|
|
6336 return 0;
|
|
6337 if (sizeof (ac__type_new_))
|
|
6338 return 0;
|
|
6339 ;
|
|
6340 return 0;
|
|
6341 }
|
|
6342 _ACEOF
|
|
6343 rm -f conftest.$ac_objext
|
|
6344 if { (ac_try="$ac_compile"
|
|
6345 case "(($ac_try" in
|
|
6346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
6347 *) ac_try_echo=$ac_try;;
|
|
6348 esac
|
|
6349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
6350 (eval "$ac_compile") 2>conftest.er1
|
|
6351 ac_status=$?
|
|
6352 grep -v '^ *+' conftest.er1 >conftest.err
|
|
6353 rm -f conftest.er1
|
|
6354 cat conftest.err >&5
|
|
6355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6356 (exit $ac_status); } && {
|
|
6357 test -z "$ac_c_werror_flag" ||
|
|
6358 test ! -s conftest.err
|
|
6359 } && test -s conftest.$ac_objext; then
|
|
6360 ac_cv_type_size_t=yes
|
|
6361 else
|
|
6362 echo "$as_me: failed program was:" >&5
|
|
6363 sed 's/^/| /' conftest.$ac_ext >&5
|
|
6364
|
|
6365 ac_cv_type_size_t=no
|
|
6366 fi
|
|
6367
|
|
6368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
6369 fi
|
|
6370 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
|
|
6371 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
|
|
6372 if test $ac_cv_type_size_t = yes; then
|
|
6373 :
|
|
6374 else
|
|
6375
|
|
6376 cat >>confdefs.h <<_ACEOF
|
|
6377 #define size_t unsigned int
|
|
6378 _ACEOF
|
|
6379
|
|
6380 fi
|
|
6381
|
|
6382
|
|
6383 { echo "$as_me:$LINENO: checking for uint16_t" >&5
|
|
6384 echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6; }
|
|
6385 if test "${ac_cv_c_uint16_t+set}" = set; then
|
|
6386 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
6387 else
|
|
6388 ac_cv_c_uint16_t=no
|
|
6389 for ac_type in 'uint16_t' 'unsigned int' 'unsigned long int' \
|
|
6390 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
|
|
6391 cat >conftest.$ac_ext <<_ACEOF
|
|
6392 /* confdefs.h. */
|
|
6393 _ACEOF
|
|
6394 cat confdefs.h >>conftest.$ac_ext
|
|
6395 cat >>conftest.$ac_ext <<_ACEOF
|
|
6396 /* end confdefs.h. */
|
|
6397 $ac_includes_default
|
|
6398 int
|
|
6399 main ()
|
|
6400 {
|
|
6401 static int test_array [1 - 2 * !(($ac_type) -1 >> (16 - 1) == 1)];
|
|
6402 test_array [0] = 0
|
|
6403
|
|
6404 ;
|
|
6405 return 0;
|
|
6406 }
|
|
6407 _ACEOF
|
|
6408 rm -f conftest.$ac_objext
|
|
6409 if { (ac_try="$ac_compile"
|
|
6410 case "(($ac_try" in
|
|
6411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
6412 *) ac_try_echo=$ac_try;;
|
|
6413 esac
|
|
6414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
6415 (eval "$ac_compile") 2>conftest.er1
|
|
6416 ac_status=$?
|
|
6417 grep -v '^ *+' conftest.er1 >conftest.err
|
|
6418 rm -f conftest.er1
|
|
6419 cat conftest.err >&5
|
|
6420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6421 (exit $ac_status); } && {
|
|
6422 test -z "$ac_c_werror_flag" ||
|
|
6423 test ! -s conftest.err
|
|
6424 } && test -s conftest.$ac_objext; then
|
|
6425 case $ac_type in
|
|
6426 uint16_t) ac_cv_c_uint16_t=yes ;;
|
|
6427 *) ac_cv_c_uint16_t=$ac_type ;;
|
|
6428 esac
|
|
6429
|
|
6430 else
|
|
6431 echo "$as_me: failed program was:" >&5
|
|
6432 sed 's/^/| /' conftest.$ac_ext >&5
|
|
6433
|
|
6434
|
|
6435 fi
|
|
6436
|
|
6437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
6438 test "$ac_cv_c_uint16_t" != no && break
|
|
6439 done
|
|
6440 fi
|
|
6441 { echo "$as_me:$LINENO: result: $ac_cv_c_uint16_t" >&5
|
|
6442 echo "${ECHO_T}$ac_cv_c_uint16_t" >&6; }
|
|
6443 case $ac_cv_c_uint16_t in #(
|
|
6444 no|yes) ;; #(
|
|
6445 *)
|
|
6446
|
|
6447
|
|
6448 cat >>confdefs.h <<_ACEOF
|
|
6449 #define uint16_t $ac_cv_c_uint16_t
|
|
6450 _ACEOF
|
|
6451 ;;
|
|
6452 esac
|
|
6453
|
|
6454
|
|
6455 { echo "$as_me:$LINENO: checking for uint32_t" >&5
|
|
6456 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; }
|
|
6457 if test "${ac_cv_c_uint32_t+set}" = set; then
|
|
6458 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
6459 else
|
|
6460 ac_cv_c_uint32_t=no
|
|
6461 for ac_type in 'uint32_t' 'unsigned int' 'unsigned long int' \
|
|
6462 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
|
|
6463 cat >conftest.$ac_ext <<_ACEOF
|
|
6464 /* confdefs.h. */
|
|
6465 _ACEOF
|
|
6466 cat confdefs.h >>conftest.$ac_ext
|
|
6467 cat >>conftest.$ac_ext <<_ACEOF
|
|
6468 /* end confdefs.h. */
|
|
6469 $ac_includes_default
|
|
6470 int
|
|
6471 main ()
|
|
6472 {
|
|
6473 static int test_array [1 - 2 * !(($ac_type) -1 >> (32 - 1) == 1)];
|
|
6474 test_array [0] = 0
|
|
6475
|
|
6476 ;
|
|
6477 return 0;
|
|
6478 }
|
|
6479 _ACEOF
|
|
6480 rm -f conftest.$ac_objext
|
|
6481 if { (ac_try="$ac_compile"
|
|
6482 case "(($ac_try" in
|
|
6483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
6484 *) ac_try_echo=$ac_try;;
|
|
6485 esac
|
|
6486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
6487 (eval "$ac_compile") 2>conftest.er1
|
|
6488 ac_status=$?
|
|
6489 grep -v '^ *+' conftest.er1 >conftest.err
|
|
6490 rm -f conftest.er1
|
|
6491 cat conftest.err >&5
|
|
6492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6493 (exit $ac_status); } && {
|
|
6494 test -z "$ac_c_werror_flag" ||
|
|
6495 test ! -s conftest.err
|
|
6496 } && test -s conftest.$ac_objext; then
|
|
6497 case $ac_type in
|
|
6498 uint32_t) ac_cv_c_uint32_t=yes ;;
|
|
6499 *) ac_cv_c_uint32_t=$ac_type ;;
|
|
6500 esac
|
|
6501
|
|
6502 else
|
|
6503 echo "$as_me: failed program was:" >&5
|
|
6504 sed 's/^/| /' conftest.$ac_ext >&5
|
|
6505
|
|
6506
|
|
6507 fi
|
|
6508
|
|
6509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
6510 test "$ac_cv_c_uint32_t" != no && break
|
|
6511 done
|
|
6512 fi
|
|
6513 { echo "$as_me:$LINENO: result: $ac_cv_c_uint32_t" >&5
|
|
6514 echo "${ECHO_T}$ac_cv_c_uint32_t" >&6; }
|
|
6515 case $ac_cv_c_uint32_t in #(
|
|
6516 no|yes) ;; #(
|
|
6517 *)
|
|
6518
|
|
6519 cat >>confdefs.h <<\_ACEOF
|
|
6520 #define _UINT32_T 1
|
|
6521 _ACEOF
|
|
6522
|
|
6523
|
|
6524 cat >>confdefs.h <<_ACEOF
|
|
6525 #define uint32_t $ac_cv_c_uint32_t
|
|
6526 _ACEOF
|
|
6527 ;;
|
|
6528 esac
|
|
6529
|
|
6530
|
|
6531 { echo "$as_me:$LINENO: checking whether yyrestart() is needed" >&5
|
|
6532 echo $ECHO_N "checking whether yyrestart() is needed... $ECHO_C" >&6; }
|
|
6533 # Write a lex program that will cause an error if yyrestart exists.
|
|
6534 echo '%%
|
|
6535 %%
|
|
6536 float yyrestart(int, ...);' | $LEX
|
|
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 "${LEX_OUTPUT_ROOT}.c"
|
|
6544
|
|
6545 int
|
|
6546 main ()
|
|
6547 {
|
|
6548 exit(0);
|
|
6549 ;
|
|
6550 return 0;
|
|
6551 }
|
|
6552 _ACEOF
|
|
6553 rm -f conftest.$ac_objext
|
|
6554 if { (ac_try="$ac_compile"
|
|
6555 case "(($ac_try" in
|
|
6556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
6557 *) ac_try_echo=$ac_try;;
|
|
6558 esac
|
|
6559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
6560 (eval "$ac_compile") 2>conftest.er1
|
|
6561 ac_status=$?
|
|
6562 grep -v '^ *+' conftest.er1 >conftest.err
|
|
6563 rm -f conftest.er1
|
|
6564 cat conftest.err >&5
|
|
6565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6566 (exit $ac_status); } && {
|
|
6567 test -z "$ac_c_werror_flag" ||
|
|
6568 test ! -s conftest.err
|
|
6569 } && test -s conftest.$ac_objext; then
|
|
6570 { echo "$as_me:$LINENO: result: no" >&5
|
|
6571 echo "${ECHO_T}no" >&6; }
|
|
6572 else
|
|
6573 echo "$as_me: failed program was:" >&5
|
|
6574 sed 's/^/| /' conftest.$ac_ext >&5
|
|
6575
|
|
6576
|
|
6577 cat >>confdefs.h <<\_ACEOF
|
|
6578 #define NEED_YYRESTART
|
|
6579 _ACEOF
|
|
6580
|
|
6581 { echo "$as_me:$LINENO: result: yes" >&5
|
|
6582 echo "${ECHO_T}yes" >&6; }
|
|
6583 fi
|
|
6584
|
|
6585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
6586 rm -f ${LEX_OUTPUT_ROOT}.c
|
|
6587
|
|
6588 if test "$interpval" != "no"; then
|
|
6589
|
|
6590 cat >>confdefs.h <<\_ACEOF
|
|
6591 #define HAVE_SYS_INTERPRETER
|
|
6592 _ACEOF
|
|
6593
|
|
6594 fi
|
|
6595
|
|
6596 cat >>confdefs.h <<_ACEOF
|
|
6597 #define EXEEXT "$EXEEXT"
|
|
6598 _ACEOF
|
|
6599
|
|
6600
|
|
6601
|
|
6602
|
|
6603
|
|
6604
|
|
6605
|
|
6606
|
|
6607
|
|
6608 for ac_func in gettimeofday gethrtime strdup strtol strtoul snprintf vsnprintf
|
|
6609 do
|
|
6610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
|
6611 { echo "$as_me:$LINENO: checking for $ac_func" >&5
|
|
6612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
|
|
6613 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
6614 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
6615 else
|
|
6616 cat >conftest.$ac_ext <<_ACEOF
|
|
6617 /* confdefs.h. */
|
|
6618 _ACEOF
|
|
6619 cat confdefs.h >>conftest.$ac_ext
|
|
6620 cat >>conftest.$ac_ext <<_ACEOF
|
|
6621 /* end confdefs.h. */
|
|
6622 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
|
6623 For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
6624 #define $ac_func innocuous_$ac_func
|
|
6625
|
|
6626 /* System header to define __stub macros and hopefully few prototypes,
|
|
6627 which can conflict with char $ac_func (); below.
|
|
6628 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
6629 <limits.h> exists even on freestanding compilers. */
|
|
6630
|
|
6631 #ifdef __STDC__
|
|
6632 # include <limits.h>
|
|
6633 #else
|
|
6634 # include <assert.h>
|
|
6635 #endif
|
|
6636
|
|
6637 #undef $ac_func
|
|
6638
|
|
6639 /* Override any GCC internal prototype to avoid an error.
|
|
6640 Use char because int might match the return type of a GCC
|
|
6641 builtin and then its argument prototype would still apply. */
|
|
6642 #ifdef __cplusplus
|
|
6643 extern "C"
|
|
6644 #endif
|
|
6645 char $ac_func ();
|
|
6646 /* The GNU C library defines this for functions which it implements
|
|
6647 to always fail with ENOSYS. Some functions are actually named
|
|
6648 something starting with __ and the normal name is an alias. */
|
|
6649 #if defined __stub_$ac_func || defined __stub___$ac_func
|
|
6650 choke me
|
|
6651 #endif
|
|
6652
|
|
6653 int
|
|
6654 main ()
|
|
6655 {
|
|
6656 return $ac_func ();
|
|
6657 ;
|
|
6658 return 0;
|
|
6659 }
|
|
6660 _ACEOF
|
|
6661 rm -f conftest.$ac_objext conftest$ac_exeext
|
|
6662 if { (ac_try="$ac_link"
|
|
6663 case "(($ac_try" in
|
|
6664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
6665 *) ac_try_echo=$ac_try;;
|
|
6666 esac
|
|
6667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
6668 (eval "$ac_link") 2>conftest.er1
|
|
6669 ac_status=$?
|
|
6670 grep -v '^ *+' conftest.er1 >conftest.err
|
|
6671 rm -f conftest.er1
|
|
6672 cat conftest.err >&5
|
|
6673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6674 (exit $ac_status); } && {
|
|
6675 test -z "$ac_c_werror_flag" ||
|
|
6676 test ! -s conftest.err
|
|
6677 } && test -s conftest$ac_exeext &&
|
|
6678 $as_test_x conftest$ac_exeext; then
|
|
6679 eval "$as_ac_var=yes"
|
|
6680 else
|
|
6681 echo "$as_me: failed program was:" >&5
|
|
6682 sed 's/^/| /' conftest.$ac_ext >&5
|
|
6683
|
|
6684 eval "$as_ac_var=no"
|
|
6685 fi
|
|
6686
|
|
6687 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
6688 conftest$ac_exeext conftest.$ac_ext
|
|
6689 fi
|
|
6690 ac_res=`eval echo '${'$as_ac_var'}'`
|
|
6691 { echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
6692 echo "${ECHO_T}$ac_res" >&6; }
|
|
6693 if test `eval echo '${'$as_ac_var'}'` = yes; then
|
|
6694 cat >>confdefs.h <<_ACEOF
|
|
6695 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
|
6696 _ACEOF
|
|
6697
|
|
6698 fi
|
|
6699 done
|
|
6700
|
|
6701 ICK_SAVECFLAGS=$CFLAGS
|
|
6702 CFLAGS="$CFLAGS -lrt"
|
|
6703
|
|
6704 for ac_func in clock_gettime
|
|
6705 do
|
|
6706 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
|
6707 { echo "$as_me:$LINENO: checking for $ac_func" >&5
|
|
6708 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
|
|
6709 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
6710 echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
6711 else
|
|
6712 cat >conftest.$ac_ext <<_ACEOF
|
|
6713 /* confdefs.h. */
|
|
6714 _ACEOF
|
|
6715 cat confdefs.h >>conftest.$ac_ext
|
|
6716 cat >>conftest.$ac_ext <<_ACEOF
|
|
6717 /* end confdefs.h. */
|
|
6718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
|
6719 For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
6720 #define $ac_func innocuous_$ac_func
|
|
6721
|
|
6722 /* System header to define __stub macros and hopefully few prototypes,
|
|
6723 which can conflict with char $ac_func (); below.
|
|
6724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
6725 <limits.h> exists even on freestanding compilers. */
|
|
6726
|
|
6727 #ifdef __STDC__
|
|
6728 # include <limits.h>
|
|
6729 #else
|
|
6730 # include <assert.h>
|
|
6731 #endif
|
|
6732
|
|
6733 #undef $ac_func
|
|
6734
|
|
6735 /* Override any GCC internal prototype to avoid an error.
|
|
6736 Use char because int might match the return type of a GCC
|
|
6737 builtin and then its argument prototype would still apply. */
|
|
6738 #ifdef __cplusplus
|
|
6739 extern "C"
|
|
6740 #endif
|
|
6741 char $ac_func ();
|
|
6742 /* The GNU C library defines this for functions which it implements
|
|
6743 to always fail with ENOSYS. Some functions are actually named
|
|
6744 something starting with __ and the normal name is an alias. */
|
|
6745 #if defined __stub_$ac_func || defined __stub___$ac_func
|
|
6746 choke me
|
|
6747 #endif
|
|
6748
|
|
6749 int
|
|
6750 main ()
|
|
6751 {
|
|
6752 return $ac_func ();
|
|
6753 ;
|
|
6754 return 0;
|
|
6755 }
|
|
6756 _ACEOF
|
|
6757 rm -f conftest.$ac_objext conftest$ac_exeext
|
|
6758 if { (ac_try="$ac_link"
|
|
6759 case "(($ac_try" in
|
|
6760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
6761 *) ac_try_echo=$ac_try;;
|
|
6762 esac
|
|
6763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
6764 (eval "$ac_link") 2>conftest.er1
|
|
6765 ac_status=$?
|
|
6766 grep -v '^ *+' conftest.er1 >conftest.err
|
|
6767 rm -f conftest.er1
|
|
6768 cat conftest.err >&5
|
|
6769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6770 (exit $ac_status); } && {
|
|
6771 test -z "$ac_c_werror_flag" ||
|
|
6772 test ! -s conftest.err
|
|
6773 } && test -s conftest$ac_exeext &&
|
|
6774 $as_test_x conftest$ac_exeext; then
|
|
6775 eval "$as_ac_var=yes"
|
|
6776 else
|
|
6777 echo "$as_me: failed program was:" >&5
|
|
6778 sed 's/^/| /' conftest.$ac_ext >&5
|
|
6779
|
|
6780 eval "$as_ac_var=no"
|
|
6781 fi
|
|
6782
|
|
6783 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
6784 conftest$ac_exeext conftest.$ac_ext
|
|
6785 fi
|
|
6786 ac_res=`eval echo '${'$as_ac_var'}'`
|
|
6787 { echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
6788 echo "${ECHO_T}$ac_res" >&6; }
|
|
6789 if test `eval echo '${'$as_ac_var'}'` = yes; then
|
|
6790 cat >>confdefs.h <<_ACEOF
|
|
6791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
|
6792 _ACEOF
|
|
6793
|
|
6794 fi
|
|
6795 done
|
|
6796
|
|
6797 CFLAGS=$ICK_SAVECFLAGS
|
|
6798
|
|
6799 INCLUDE_HIDDEN_FROM_AUTOMAKE="include"
|
|
6800
|
|
6801
|
|
6802
|
|
6803 ac_config_files="$ac_config_files Makefile:buildaux/Makefile.in coopt.sh:src/cooptsh.in host.mak:buildaux/hostmak.in"
|
|
6804
|
|
6805 cat >confcache <<\_ACEOF
|
|
6806 # This file is a shell script that caches the results of configure
|
|
6807 # tests run on this system so they can be shared between configure
|
|
6808 # scripts and configure runs, see configure's option --config-cache.
|
|
6809 # It is not useful on other systems. If it contains results you don't
|
|
6810 # want to keep, you may remove or edit it.
|
|
6811 #
|
|
6812 # config.status only pays attention to the cache file if you give it
|
|
6813 # the --recheck option to rerun configure.
|
|
6814 #
|
|
6815 # `ac_cv_env_foo' variables (set or unset) will be overridden when
|
|
6816 # loading this file, other *unset* `ac_cv_foo' will be assigned the
|
|
6817 # following values.
|
|
6818
|
|
6819 _ACEOF
|
|
6820
|
|
6821 # The following way of writing the cache mishandles newlines in values,
|
|
6822 # but we know of no workaround that is simple, portable, and efficient.
|
|
6823 # So, we kill variables containing newlines.
|
|
6824 # Ultrix sh set writes to stderr and can't be redirected directly,
|
|
6825 # and sets the high bit in the cache file unless we assign to the vars.
|
|
6826 (
|
|
6827 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
|
|
6828 eval ac_val=\$$ac_var
|
|
6829 case $ac_val in #(
|
|
6830 *${as_nl}*)
|
|
6831 case $ac_var in #(
|
|
6832 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
|
|
6833 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
|
|
6834 esac
|
|
6835 case $ac_var in #(
|
|
6836 _ | IFS | as_nl) ;; #(
|
|
6837 *) $as_unset $ac_var ;;
|
|
6838 esac ;;
|
|
6839 esac
|
|
6840 done
|
|
6841
|
|
6842 (set) 2>&1 |
|
|
6843 case $as_nl`(ac_space=' '; set) 2>&1` in #(
|
|
6844 *${as_nl}ac_space=\ *)
|
|
6845 # `set' does not quote correctly, so add quotes (double-quote
|
|
6846 # substitution turns \\\\ into \\, and sed turns \\ into \).
|
|
6847 sed -n \
|
|
6848 "s/'/'\\\\''/g;
|
|
6849 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
|
6850 ;; #(
|
|
6851 *)
|
|
6852 # `set' quotes correctly as required by POSIX, so do not add quotes.
|
|
6853 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
|
6854 ;;
|
|
6855 esac |
|
|
6856 sort
|
|
6857 ) |
|
|
6858 sed '
|
|
6859 /^ac_cv_env_/b end
|
|
6860 t clear
|
|
6861 :clear
|
|
6862 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
|
6863 t end
|
|
6864 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
|
6865 :end' >>confcache
|
|
6866 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
|
|
6867 if test -w "$cache_file"; then
|
|
6868 test "x$cache_file" != "x/dev/null" &&
|
|
6869 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
|
|
6870 echo "$as_me: updating cache $cache_file" >&6;}
|
|
6871 cat confcache >$cache_file
|
|
6872 else
|
|
6873 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
|
|
6874 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
|
|
6875 fi
|
|
6876 fi
|
|
6877 rm -f confcache
|
|
6878
|
|
6879 test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
|
6880 # Let make expand exec_prefix.
|
|
6881 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
|
6882
|
|
6883 DEFS=-DHAVE_CONFIG_H
|
|
6884
|
|
6885 ac_libobjs=
|
|
6886 ac_ltlibobjs=
|
|
6887 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
|
6888 # 1. Remove the extension, and $U if already installed.
|
|
6889 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
|
|
6890 ac_i=`echo "$ac_i" | sed "$ac_script"`
|
|
6891 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
|
|
6892 # will be set to the directory where LIBOBJS objects are built.
|
|
6893 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
|
6894 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
|
|
6895 done
|
|
6896 LIBOBJS=$ac_libobjs
|
|
6897
|
|
6898 LTLIBOBJS=$ac_ltlibobjs
|
|
6899
|
|
6900
|
|
6901 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
|
|
6902 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
|
|
6903 Usually this means the macro was only invoked conditionally." >&5
|
|
6904 echo "$as_me: error: conditional \"AMDEP\" was never defined.
|
|
6905 Usually this means the macro was only invoked conditionally." >&2;}
|
|
6906 { (exit 1); exit 1; }; }
|
|
6907 fi
|
|
6908 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
|
|
6909 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
|
|
6910 Usually this means the macro was only invoked conditionally." >&5
|
|
6911 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
|
|
6912 Usually this means the macro was only invoked conditionally." >&2;}
|
|
6913 { (exit 1); exit 1; }; }
|
|
6914 fi
|
|
6915
|
|
6916 : ${CONFIG_STATUS=./config.status}
|
|
6917 ac_clean_files_save=$ac_clean_files
|
|
6918 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
|
6919 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
|
|
6920 echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
|
6921 cat >$CONFIG_STATUS <<_ACEOF
|
|
6922 #! $SHELL
|
|
6923 # Generated by $as_me.
|
|
6924 # Run this file to recreate the current configuration.
|
|
6925 # Compiler output produced by configure, useful for debugging
|
|
6926 # configure, is in config.log if it exists.
|
|
6927
|
|
6928 debug=false
|
|
6929 ac_cs_recheck=false
|
|
6930 ac_cs_silent=false
|
|
6931 SHELL=\${CONFIG_SHELL-$SHELL}
|
|
6932 _ACEOF
|
|
6933
|
|
6934 cat >>$CONFIG_STATUS <<\_ACEOF
|
|
6935 ## --------------------- ##
|
|
6936 ## M4sh Initialization. ##
|
|
6937 ## --------------------- ##
|
|
6938
|
|
6939 # Be more Bourne compatible
|
|
6940 DUALCASE=1; export DUALCASE # for MKS sh
|
|
6941 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
|
6942 emulate sh
|
|
6943 NULLCMD=:
|
|
6944 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
|
6945 # is contrary to our usage. Disable this feature.
|
|
6946 alias -g '${1+"$@"}'='"$@"'
|
|
6947 setopt NO_GLOB_SUBST
|
|
6948 else
|
|
6949 case `(set -o) 2>/dev/null` in
|
|
6950 *posix*) set -o posix ;;
|
|
6951 esac
|
|
6952
|
|
6953 fi
|
|
6954
|
|
6955
|
|
6956
|
|
6957
|
|
6958 # PATH needs CR
|
|
6959 # Avoid depending upon Character Ranges.
|
|
6960 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
|
6961 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
6962 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
|
6963 as_cr_digits='0123456789'
|
|
6964 as_cr_alnum=$as_cr_Letters$as_cr_digits
|
|
6965
|
|
6966 # The user is always right.
|
|
6967 if test "${PATH_SEPARATOR+set}" != set; then
|
|
6968 echo "#! /bin/sh" >conf$$.sh
|
|
6969 echo "exit 0" >>conf$$.sh
|
|
6970 chmod +x conf$$.sh
|
|
6971 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
|
|
6972 PATH_SEPARATOR=';'
|
|
6973 else
|
|
6974 PATH_SEPARATOR=:
|
|
6975 fi
|
|
6976 rm -f conf$$.sh
|
|
6977 fi
|
|
6978
|
|
6979 # Support unset when possible.
|
|
6980 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
|
6981 as_unset=unset
|
|
6982 else
|
|
6983 as_unset=false
|
|
6984 fi
|
|
6985
|
|
6986
|
|
6987 # IFS
|
|
6988 # We need space, tab and new line, in precisely that order. Quoting is
|
|
6989 # there to prevent editors from complaining about space-tab.
|
|
6990 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
|
6991 # splitting by setting IFS to empty value.)
|
|
6992 as_nl='
|
|
6993 '
|
|
6994 IFS=" "" $as_nl"
|
|
6995
|
|
6996 # Find who we are. Look in the path if we contain no directory separator.
|
|
6997 case $0 in
|
|
6998 *[\\/]* ) as_myself=$0 ;;
|
|
6999 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
7000 for as_dir in $PATH
|
|
7001 do
|
|
7002 IFS=$as_save_IFS
|
|
7003 test -z "$as_dir" && as_dir=.
|
|
7004 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
|
7005 done
|
|
7006 IFS=$as_save_IFS
|
|
7007
|
|
7008 ;;
|
|
7009 esac
|
|
7010 # We did not find ourselves, most probably we were run as `sh COMMAND'
|
|
7011 # in which case we are not to be found in the path.
|
|
7012 if test "x$as_myself" = x; then
|
|
7013 as_myself=$0
|
|
7014 fi
|
|
7015 if test ! -f "$as_myself"; then
|
|
7016 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
|
7017 { (exit 1); exit 1; }
|
|
7018 fi
|
|
7019
|
|
7020 # Work around bugs in pre-3.0 UWIN ksh.
|
|
7021 for as_var in ENV MAIL MAILPATH
|
|
7022 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
|
7023 done
|
|
7024 PS1='$ '
|
|
7025 PS2='> '
|
|
7026 PS4='+ '
|
|
7027
|
|
7028 # NLS nuisances.
|
|
7029 for as_var in \
|
|
7030 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
|
7031 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
|
7032 LC_TELEPHONE LC_TIME
|
|
7033 do
|
|
7034 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
|
7035 eval $as_var=C; export $as_var
|
|
7036 else
|
|
7037 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
|
7038 fi
|
|
7039 done
|
|
7040
|
|
7041 # Required to use basename.
|
|
7042 if expr a : '\(a\)' >/dev/null 2>&1 &&
|
|
7043 test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
|
7044 as_expr=expr
|
|
7045 else
|
|
7046 as_expr=false
|
|
7047 fi
|
|
7048
|
|
7049 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
|
7050 as_basename=basename
|
|
7051 else
|
|
7052 as_basename=false
|
|
7053 fi
|
|
7054
|
|
7055
|
|
7056 # Name of the executable.
|
|
7057 as_me=`$as_basename -- "$0" ||
|
|
7058 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
|
7059 X"$0" : 'X\(//\)$' \| \
|
|
7060 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
|
7061 echo X/"$0" |
|
|
7062 sed '/^.*\/\([^/][^/]*\)\/*$/{
|
|
7063 s//\1/
|
|
7064 q
|
|
7065 }
|
|
7066 /^X\/\(\/\/\)$/{
|
|
7067 s//\1/
|
|
7068 q
|
|
7069 }
|
|
7070 /^X\/\(\/\).*/{
|
|
7071 s//\1/
|
|
7072 q
|
|
7073 }
|
|
7074 s/.*/./; q'`
|
|
7075
|
|
7076 # CDPATH.
|
|
7077 $as_unset CDPATH
|
|
7078
|
|
7079
|
|
7080
|
|
7081 as_lineno_1=$LINENO
|
|
7082 as_lineno_2=$LINENO
|
|
7083 test "x$as_lineno_1" != "x$as_lineno_2" &&
|
|
7084 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
|
|
7085
|
|
7086 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
|
7087 # uniformly replaced by the line number. The first 'sed' inserts a
|
|
7088 # line-number line after each line using $LINENO; the second 'sed'
|
|
7089 # does the real work. The second script uses 'N' to pair each
|
|
7090 # line-number line with the line containing $LINENO, and appends
|
|
7091 # trailing '-' during substitution so that $LINENO is not a special
|
|
7092 # case at line end.
|
|
7093 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
|
7094 # scripts with optimization help from Paolo Bonzini. Blame Lee
|
|
7095 # E. McMahon (1931-1989) for sed's syntax. :-)
|
|
7096 sed -n '
|
|
7097 p
|
|
7098 /[$]LINENO/=
|
|
7099 ' <$as_myself |
|
|
7100 sed '
|
|
7101 s/[$]LINENO.*/&-/
|
|
7102 t lineno
|
|
7103 b
|
|
7104 :lineno
|
|
7105 N
|
|
7106 :loop
|
|
7107 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
|
7108 t loop
|
|
7109 s/-\n.*//
|
|
7110 ' >$as_me.lineno &&
|
|
7111 chmod +x "$as_me.lineno" ||
|
|
7112 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
|
7113 { (exit 1); exit 1; }; }
|
|
7114
|
|
7115 # Don't try to exec as it changes $[0], causing all sort of problems
|
|
7116 # (the dirname of $[0] is not the place where we might find the
|
|
7117 # original and so on. Autoconf is especially sensitive to this).
|
|
7118 . "./$as_me.lineno"
|
|
7119 # Exit status is that of the last command.
|
|
7120 exit
|
|
7121 }
|
|
7122
|
|
7123
|
|
7124 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
|
7125 as_dirname=dirname
|
|
7126 else
|
|
7127 as_dirname=false
|
|
7128 fi
|
|
7129
|
|
7130 ECHO_C= ECHO_N= ECHO_T=
|
|
7131 case `echo -n x` in
|
|
7132 -n*)
|
|
7133 case `echo 'x\c'` in
|
|
7134 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
|
7135 *) ECHO_C='\c';;
|
|
7136 esac;;
|
|
7137 *)
|
|
7138 ECHO_N='-n';;
|
|
7139 esac
|
|
7140
|
|
7141 if expr a : '\(a\)' >/dev/null 2>&1 &&
|
|
7142 test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
|
7143 as_expr=expr
|
|
7144 else
|
|
7145 as_expr=false
|
|
7146 fi
|
|
7147
|
|
7148 rm -f conf$$ conf$$.exe conf$$.file
|
|
7149 if test -d conf$$.dir; then
|
|
7150 rm -f conf$$.dir/conf$$.file
|
|
7151 else
|
|
7152 rm -f conf$$.dir
|
|
7153 mkdir conf$$.dir
|
|
7154 fi
|
|
7155 echo >conf$$.file
|
|
7156 if ln -s conf$$.file conf$$ 2>/dev/null; then
|
|
7157 as_ln_s='ln -s'
|
|
7158 # ... but there are two gotchas:
|
|
7159 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
|
7160 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
|
7161 # In both cases, we have to default to `cp -p'.
|
|
7162 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
|
7163 as_ln_s='cp -p'
|
|
7164 elif ln conf$$.file conf$$ 2>/dev/null; then
|
|
7165 as_ln_s=ln
|
|
7166 else
|
|
7167 as_ln_s='cp -p'
|
|
7168 fi
|
|
7169 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
|
7170 rmdir conf$$.dir 2>/dev/null
|
|
7171
|
|
7172 if mkdir -p . 2>/dev/null; then
|
|
7173 as_mkdir_p=:
|
|
7174 else
|
|
7175 test -d ./-p && rmdir ./-p
|
|
7176 as_mkdir_p=false
|
|
7177 fi
|
|
7178
|
|
7179 if test -x / >/dev/null 2>&1; then
|
|
7180 as_test_x='test -x'
|
|
7181 else
|
|
7182 if ls -dL / >/dev/null 2>&1; then
|
|
7183 as_ls_L_option=L
|
|
7184 else
|
|
7185 as_ls_L_option=
|
|
7186 fi
|
|
7187 as_test_x='
|
|
7188 eval sh -c '\''
|
|
7189 if test -d "$1"; then
|
|
7190 test -d "$1/.";
|
|
7191 else
|
|
7192 case $1 in
|
|
7193 -*)set "./$1";;
|
|
7194 esac;
|
|
7195 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
|
|
7196 ???[sx]*):;;*)false;;esac;fi
|
|
7197 '\'' sh
|
|
7198 '
|
|
7199 fi
|
|
7200 as_executable_p=$as_test_x
|
|
7201
|
|
7202 # Sed expression to map a string onto a valid CPP name.
|
|
7203 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
|
7204
|
|
7205 # Sed expression to map a string onto a valid variable name.
|
|
7206 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
|
7207
|
|
7208
|
|
7209 exec 6>&1
|
|
7210
|
|
7211 # Save the log message, to keep $[0] and so on meaningful, and to
|
|
7212 # report actual input values of CONFIG_FILES etc. instead of their
|
|
7213 # values after options handling.
|
|
7214 ac_log="
|
|
7215 This file was extended by C-INTERCAL $as_me 0.29, which was
|
|
7216 generated by GNU Autoconf 2.61. Invocation command line was
|
|
7217
|
|
7218 CONFIG_FILES = $CONFIG_FILES
|
|
7219 CONFIG_HEADERS = $CONFIG_HEADERS
|
|
7220 CONFIG_LINKS = $CONFIG_LINKS
|
|
7221 CONFIG_COMMANDS = $CONFIG_COMMANDS
|
|
7222 $ $0 $@
|
|
7223
|
|
7224 on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
|
7225 "
|
|
7226
|
|
7227 _ACEOF
|
|
7228
|
|
7229 cat >>$CONFIG_STATUS <<_ACEOF
|
|
7230 # Files that config.status was made for.
|
|
7231 config_files="$ac_config_files"
|
|
7232 config_headers="$ac_config_headers"
|
|
7233 config_commands="$ac_config_commands"
|
|
7234
|
|
7235 _ACEOF
|
|
7236
|
|
7237 cat >>$CONFIG_STATUS <<\_ACEOF
|
|
7238 ac_cs_usage="\
|
|
7239 \`$as_me' instantiates files from templates according to the
|
|
7240 current configuration.
|
|
7241
|
|
7242 Usage: $0 [OPTIONS] [FILE]...
|
|
7243
|
|
7244 -h, --help print this help, then exit
|
|
7245 -V, --version print version number and configuration settings, then exit
|
|
7246 -q, --quiet do not print progress messages
|
|
7247 -d, --debug don't remove temporary files
|
|
7248 --recheck update $as_me by reconfiguring in the same conditions
|
|
7249 --file=FILE[:TEMPLATE]
|
|
7250 instantiate the configuration file FILE
|
|
7251 --header=FILE[:TEMPLATE]
|
|
7252 instantiate the configuration header FILE
|
|
7253
|
|
7254 Configuration files:
|
|
7255 $config_files
|
|
7256
|
|
7257 Configuration headers:
|
|
7258 $config_headers
|
|
7259
|
|
7260 Configuration commands:
|
|
7261 $config_commands
|
|
7262
|
|
7263 Report bugs to <bug-autoconf@gnu.org>."
|
|
7264
|
|
7265 _ACEOF
|
|
7266 cat >>$CONFIG_STATUS <<_ACEOF
|
|
7267 ac_cs_version="\\
|
|
7268 C-INTERCAL config.status 0.29
|
|
7269 configured by $0, generated by GNU Autoconf 2.61,
|
|
7270 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
|
|
7271
|
|
7272 Copyright (C) 2006 Free Software Foundation, Inc.
|
|
7273 This config.status script is free software; the Free Software Foundation
|
|
7274 gives unlimited permission to copy, distribute and modify it."
|
|
7275
|
|
7276 ac_pwd='$ac_pwd'
|
|
7277 srcdir='$srcdir'
|
|
7278 INSTALL='$INSTALL'
|
|
7279 MKDIR_P='$MKDIR_P'
|
|
7280 _ACEOF
|
|
7281
|
|
7282 cat >>$CONFIG_STATUS <<\_ACEOF
|
|
7283 # If no file are specified by the user, then we need to provide default
|
|
7284 # value. By we need to know if files were specified by the user.
|
|
7285 ac_need_defaults=:
|
|
7286 while test $# != 0
|
|
7287 do
|
|
7288 case $1 in
|
|
7289 --*=*)
|
|
7290 ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
|
7291 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
|
|
7292 ac_shift=:
|
|
7293 ;;
|
|
7294 *)
|
|
7295 ac_option=$1
|
|
7296 ac_optarg=$2
|
|
7297 ac_shift=shift
|
|
7298 ;;
|
|
7299 esac
|
|
7300
|
|
7301 case $ac_option in
|
|
7302 # Handling of the options.
|
|
7303 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
|
7304 ac_cs_recheck=: ;;
|
|
7305 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
|
7306 echo "$ac_cs_version"; exit ;;
|
|
7307 --debug | --debu | --deb | --de | --d | -d )
|
|
7308 debug=: ;;
|
|
7309 --file | --fil | --fi | --f )
|
|
7310 $ac_shift
|
|
7311 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
|
|
7312 ac_need_defaults=false;;
|
|
7313 --header | --heade | --head | --hea )
|
|
7314 $ac_shift
|
|
7315 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
|
|
7316 ac_need_defaults=false;;
|
|
7317 --he | --h)
|
|
7318 # Conflict between --help and --header
|
|
7319 { echo "$as_me: error: ambiguous option: $1
|
|
7320 Try \`$0 --help' for more information." >&2
|
|
7321 { (exit 1); exit 1; }; };;
|
|
7322 --help | --hel | -h )
|
|
7323 echo "$ac_cs_usage"; exit ;;
|
|
7324 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
|
7325 | -silent | --silent | --silen | --sile | --sil | --si | --s)
|
|
7326 ac_cs_silent=: ;;
|
|
7327
|
|
7328 # This is an error.
|
|
7329 -*) { echo "$as_me: error: unrecognized option: $1
|
|
7330 Try \`$0 --help' for more information." >&2
|
|
7331 { (exit 1); exit 1; }; } ;;
|
|
7332
|
|
7333 *) ac_config_targets="$ac_config_targets $1"
|
|
7334 ac_need_defaults=false ;;
|
|
7335
|
|
7336 esac
|
|
7337 shift
|
|
7338 done
|
|
7339
|
|
7340 ac_configure_extra_args=
|
|
7341
|
|
7342 if $ac_cs_silent; then
|
|
7343 exec 6>/dev/null
|
|
7344 ac_configure_extra_args="$ac_configure_extra_args --silent"
|
|
7345 fi
|
|
7346
|
|
7347 _ACEOF
|
|
7348 cat >>$CONFIG_STATUS <<_ACEOF
|
|
7349 if \$ac_cs_recheck; then
|
|
7350 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
|
|
7351 CONFIG_SHELL=$SHELL
|
|
7352 export CONFIG_SHELL
|
|
7353 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
|
7354 fi
|
|
7355
|
|
7356 _ACEOF
|
|
7357 cat >>$CONFIG_STATUS <<\_ACEOF
|
|
7358 exec 5>>config.log
|
|
7359 {
|
|
7360 echo
|
|
7361 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
|
7362 ## Running $as_me. ##
|
|
7363 _ASBOX
|
|
7364 echo "$ac_log"
|
|
7365 } >&5
|
|
7366
|
|
7367 _ACEOF
|
|
7368 cat >>$CONFIG_STATUS <<_ACEOF
|
|
7369 #
|
|
7370 # INIT-COMMANDS
|
|
7371 #
|
|
7372 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
|
|
7373
|
|
7374 _ACEOF
|
|
7375
|
|
7376 cat >>$CONFIG_STATUS <<\_ACEOF
|
|
7377
|
|
7378 # Handling of arguments.
|
|
7379 for ac_config_target in $ac_config_targets
|
|
7380 do
|
|
7381 case $ac_config_target in
|
|
7382 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:src/configh.in" ;;
|
|
7383 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
|
|
7384 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile:buildaux/Makefile.in" ;;
|
|
7385 "coopt.sh") CONFIG_FILES="$CONFIG_FILES coopt.sh:src/cooptsh.in" ;;
|
|
7386 "host.mak") CONFIG_FILES="$CONFIG_FILES host.mak:buildaux/hostmak.in" ;;
|
|
7387
|
|
7388 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
|
7389 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
|
7390 { (exit 1); exit 1; }; };;
|
|
7391 esac
|
|
7392 done
|
|
7393
|
|
7394
|
|
7395 # If the user did not use the arguments to specify the items to instantiate,
|
|
7396 # then the envvar interface is used. Set only those that are not.
|
|
7397 # We use the long form for the default assignment because of an extremely
|
|
7398 # bizarre bug on SunOS 4.1.3.
|
|
7399 if $ac_need_defaults; then
|
|
7400 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
|
7401 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
|
|
7402 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
|
|
7403 fi
|
|
7404
|
|
7405 # Have a temporary directory for convenience. Make it in the build tree
|
|
7406 # simply because there is no reason against having it here, and in addition,
|
|
7407 # creating and moving files from /tmp can sometimes cause problems.
|
|
7408 # Hook for its removal unless debugging.
|
|
7409 # Note that there is a small window in which the directory will not be cleaned:
|
|
7410 # after its creation but before its name has been assigned to `$tmp'.
|
|
7411 $debug ||
|
|
7412 {
|
|
7413 tmp=
|
|
7414 trap 'exit_status=$?
|
|
7415 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
|
|
7416 ' 0
|
|
7417 trap '{ (exit 1); exit 1; }' 1 2 13 15
|
|
7418 }
|
|
7419 # Create a (secure) tmp directory for tmp files.
|
|
7420
|
|
7421 {
|
|
7422 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
|
|
7423 test -n "$tmp" && test -d "$tmp"
|
|
7424 } ||
|
|
7425 {
|
|
7426 tmp=./conf$$-$RANDOM
|
|
7427 (umask 077 && mkdir "$tmp")
|
|
7428 } ||
|
|
7429 {
|
|
7430 echo "$me: cannot create a temporary directory in ." >&2
|
|
7431 { (exit 1); exit 1; }
|
|
7432 }
|
|
7433
|
|
7434 #
|
|
7435 # Set up the sed scripts for CONFIG_FILES section.
|
|
7436 #
|
|
7437
|
|
7438 # No need to generate the scripts if there are no CONFIG_FILES.
|
|
7439 # This happens for instance when ./config.status config.h
|
|
7440 if test -n "$CONFIG_FILES"; then
|
|
7441
|
|
7442 _ACEOF
|
|
7443
|
|
7444
|
|
7445
|
|
7446 ac_delim='%!_!# '
|
|
7447 for ac_last_try in false false false false false :; do
|
|
7448 cat >conf$$subs.sed <<_ACEOF
|
|
7449 SHELL!$SHELL$ac_delim
|
|
7450 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
|
|
7451 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
|
|
7452 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
|
|
7453 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
|
|
7454 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
|
|
7455 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
|
|
7456 exec_prefix!$exec_prefix$ac_delim
|
|
7457 prefix!$prefix$ac_delim
|
|
7458 program_transform_name!$program_transform_name$ac_delim
|
|
7459 bindir!$bindir$ac_delim
|
|
7460 sbindir!$sbindir$ac_delim
|
|
7461 libexecdir!$libexecdir$ac_delim
|
|
7462 datarootdir!$datarootdir$ac_delim
|
|
7463 datadir!$datadir$ac_delim
|
|
7464 sysconfdir!$sysconfdir$ac_delim
|
|
7465 sharedstatedir!$sharedstatedir$ac_delim
|
|
7466 localstatedir!$localstatedir$ac_delim
|
|
7467 includedir!$includedir$ac_delim
|
|
7468 oldincludedir!$oldincludedir$ac_delim
|
|
7469 docdir!$docdir$ac_delim
|
|
7470 infodir!$infodir$ac_delim
|
|
7471 htmldir!$htmldir$ac_delim
|
|
7472 dvidir!$dvidir$ac_delim
|
|
7473 pdfdir!$pdfdir$ac_delim
|
|
7474 psdir!$psdir$ac_delim
|
|
7475 libdir!$libdir$ac_delim
|
|
7476 localedir!$localedir$ac_delim
|
|
7477 mandir!$mandir$ac_delim
|
|
7478 DEFS!$DEFS$ac_delim
|
|
7479 ECHO_C!$ECHO_C$ac_delim
|
|
7480 ECHO_N!$ECHO_N$ac_delim
|
|
7481 ECHO_T!$ECHO_T$ac_delim
|
|
7482 LIBS!$LIBS$ac_delim
|
|
7483 build_alias!$build_alias$ac_delim
|
|
7484 host_alias!$host_alias$ac_delim
|
|
7485 target_alias!$target_alias$ac_delim
|
|
7486 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
|
|
7487 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
|
|
7488 INSTALL_DATA!$INSTALL_DATA$ac_delim
|
|
7489 am__isrc!$am__isrc$ac_delim
|
|
7490 CYGPATH_W!$CYGPATH_W$ac_delim
|
|
7491 PACKAGE!$PACKAGE$ac_delim
|
|
7492 VERSION!$VERSION$ac_delim
|
|
7493 ACLOCAL!$ACLOCAL$ac_delim
|
|
7494 AUTOCONF!$AUTOCONF$ac_delim
|
|
7495 AUTOMAKE!$AUTOMAKE$ac_delim
|
|
7496 AUTOHEADER!$AUTOHEADER$ac_delim
|
|
7497 MAKEINFO!$MAKEINFO$ac_delim
|
|
7498 install_sh!$install_sh$ac_delim
|
|
7499 STRIP!$STRIP$ac_delim
|
|
7500 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
|
|
7501 mkdir_p!$mkdir_p$ac_delim
|
|
7502 AWK!$AWK$ac_delim
|
|
7503 SET_MAKE!$SET_MAKE$ac_delim
|
|
7504 am__leading_dot!$am__leading_dot$ac_delim
|
|
7505 AMTAR!$AMTAR$ac_delim
|
|
7506 am__tar!$am__tar$ac_delim
|
|
7507 am__untar!$am__untar$ac_delim
|
|
7508 YACC!$YACC$ac_delim
|
|
7509 YFLAGS!$YFLAGS$ac_delim
|
|
7510 CC!$CC$ac_delim
|
|
7511 CFLAGS!$CFLAGS$ac_delim
|
|
7512 LDFLAGS!$LDFLAGS$ac_delim
|
|
7513 CPPFLAGS!$CPPFLAGS$ac_delim
|
|
7514 ac_ct_CC!$ac_ct_CC$ac_delim
|
|
7515 EXEEXT!$EXEEXT$ac_delim
|
|
7516 OBJEXT!$OBJEXT$ac_delim
|
|
7517 DEPDIR!$DEPDIR$ac_delim
|
|
7518 am__include!$am__include$ac_delim
|
|
7519 am__quote!$am__quote$ac_delim
|
|
7520 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
|
|
7521 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
|
|
7522 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
|
|
7523 CCDEPMODE!$CCDEPMODE$ac_delim
|
|
7524 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
|
|
7525 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
|
|
7526 LEX!$LEX$ac_delim
|
|
7527 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
|
|
7528 LEXLIB!$LEXLIB$ac_delim
|
|
7529 RANLIB!$RANLIB$ac_delim
|
|
7530 LN_S!$LN_S$ac_delim
|
|
7531 AR!$AR$ac_delim
|
|
7532 CPP!$CPP$ac_delim
|
|
7533 GREP!$GREP$ac_delim
|
|
7534 EGREP!$EGREP$ac_delim
|
|
7535 HAVE_STDINT_H!$HAVE_STDINT_H$ac_delim
|
|
7536 INCLUDE_HIDDEN_FROM_AUTOMAKE!$INCLUDE_HIDDEN_FROM_AUTOMAKE$ac_delim
|
|
7537 LIBOBJS!$LIBOBJS$ac_delim
|
|
7538 LTLIBOBJS!$LTLIBOBJS$ac_delim
|
|
7539 _ACEOF
|
|
7540
|
|
7541 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 90; then
|
|
7542 break
|
|
7543 elif $ac_last_try; then
|
|
7544 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
|
7545 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
|
|
7546 { (exit 1); exit 1; }; }
|
|
7547 else
|
|
7548 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
|
7549 fi
|
|
7550 done
|
|
7551
|
|
7552 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
|
|
7553 if test -n "$ac_eof"; then
|
|
7554 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
|
|
7555 ac_eof=`expr $ac_eof + 1`
|
|
7556 fi
|
|
7557
|
|
7558 cat >>$CONFIG_STATUS <<_ACEOF
|
|
7559 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
|
|
7560 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
|
|
7561 _ACEOF
|
|
7562 sed '
|
|
7563 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
|
|
7564 s/^/s,@/; s/!/@,|#_!!_#|/
|
|
7565 :n
|
|
7566 t n
|
|
7567 s/'"$ac_delim"'$/,g/; t
|
|
7568 s/$/\\/; p
|
|
7569 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
|
|
7570 ' >>$CONFIG_STATUS <conf$$subs.sed
|
|
7571 rm -f conf$$subs.sed
|
|
7572 cat >>$CONFIG_STATUS <<_ACEOF
|
|
7573 :end
|
|
7574 s/|#_!!_#|//g
|
|
7575 CEOF$ac_eof
|
|
7576 _ACEOF
|
|
7577
|
|
7578
|
|
7579 # VPATH may cause trouble with some makes, so we remove $(srcdir),
|
|
7580 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
|
|
7581 # trailing colons and then remove the whole line if VPATH becomes empty
|
|
7582 # (actually we leave an empty line to preserve line numbers).
|
|
7583 if test "x$srcdir" = x.; then
|
|
7584 ac_vpsub='/^[ ]*VPATH[ ]*=/{
|
|
7585 s/:*\$(srcdir):*/:/
|
|
7586 s/:*\${srcdir}:*/:/
|
|
7587 s/:*@srcdir@:*/:/
|
|
7588 s/^\([^=]*=[ ]*\):*/\1/
|
|
7589 s/:*$//
|
|
7590 s/^[^=]*=[ ]*$//
|
|
7591 }'
|
|
7592 fi
|
|
7593
|
|
7594 cat >>$CONFIG_STATUS <<\_ACEOF
|
|
7595 fi # test -n "$CONFIG_FILES"
|
|
7596
|
|
7597
|
|
7598 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
|
|
7599 do
|
|
7600 case $ac_tag in
|
|
7601 :[FHLC]) ac_mode=$ac_tag; continue;;
|
|
7602 esac
|
|
7603 case $ac_mode$ac_tag in
|
|
7604 :[FHL]*:*);;
|
|
7605 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
|
|
7606 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
|
|
7607 { (exit 1); exit 1; }; };;
|
|
7608 :[FH]-) ac_tag=-:-;;
|
|
7609 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
|
7610 esac
|
|
7611 ac_save_IFS=$IFS
|
|
7612 IFS=:
|
|
7613 set x $ac_tag
|
|
7614 IFS=$ac_save_IFS
|
|
7615 shift
|
|
7616 ac_file=$1
|
|
7617 shift
|
|
7618
|
|
7619 case $ac_mode in
|
|
7620 :L) ac_source=$1;;
|
|
7621 :[FH])
|
|
7622 ac_file_inputs=
|
|
7623 for ac_f
|
|
7624 do
|
|
7625 case $ac_f in
|
|
7626 -) ac_f="$tmp/stdin";;
|
|
7627 *) # Look for the file first in the build tree, then in the source tree
|
|
7628 # (if the path is not absolute). The absolute path cannot be DOS-style,
|
|
7629 # because $ac_f cannot contain `:'.
|
|
7630 test -f "$ac_f" ||
|
|
7631 case $ac_f in
|
|
7632 [\\/$]*) false;;
|
|
7633 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
|
7634 esac ||
|
|
7635 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
|
|
7636 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
|
|
7637 { (exit 1); exit 1; }; };;
|
|
7638 esac
|
|
7639 ac_file_inputs="$ac_file_inputs $ac_f"
|
|
7640 done
|
|
7641
|
|
7642 # Let's still pretend it is `configure' which instantiates (i.e., don't
|
|
7643 # use $as_me), people would be surprised to read:
|
|
7644 # /* config.h. Generated by config.status. */
|
|
7645 configure_input="Generated from "`IFS=:
|
|
7646 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
|
|
7647 if test x"$ac_file" != x-; then
|
|
7648 configure_input="$ac_file. $configure_input"
|
|
7649 { echo "$as_me:$LINENO: creating $ac_file" >&5
|
|
7650 echo "$as_me: creating $ac_file" >&6;}
|
|
7651 fi
|
|
7652
|
|
7653 case $ac_tag in
|
|
7654 *:-:* | *:-) cat >"$tmp/stdin";;
|
|
7655 esac
|
|
7656 ;;
|
|
7657 esac
|
|
7658
|
|
7659 ac_dir=`$as_dirname -- "$ac_file" ||
|
|
7660 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
7661 X"$ac_file" : 'X\(//\)[^/]' \| \
|
|
7662 X"$ac_file" : 'X\(//\)$' \| \
|
|
7663 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
|
7664 echo X"$ac_file" |
|
|
7665 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
7666 s//\1/
|
|
7667 q
|
|
7668 }
|
|
7669 /^X\(\/\/\)[^/].*/{
|
|
7670 s//\1/
|
|
7671 q
|
|
7672 }
|
|
7673 /^X\(\/\/\)$/{
|
|
7674 s//\1/
|
|
7675 q
|
|
7676 }
|
|
7677 /^X\(\/\).*/{
|
|
7678 s//\1/
|
|
7679 q
|
|
7680 }
|
|
7681 s/.*/./; q'`
|
|
7682 { as_dir="$ac_dir"
|
|
7683 case $as_dir in #(
|
|
7684 -*) as_dir=./$as_dir;;
|
|
7685 esac
|
|
7686 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
|
|
7687 as_dirs=
|
|
7688 while :; do
|
|
7689 case $as_dir in #(
|
|
7690 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
|
|
7691 *) as_qdir=$as_dir;;
|
|
7692 esac
|
|
7693 as_dirs="'$as_qdir' $as_dirs"
|
|
7694 as_dir=`$as_dirname -- "$as_dir" ||
|
|
7695 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
7696 X"$as_dir" : 'X\(//\)[^/]' \| \
|
|
7697 X"$as_dir" : 'X\(//\)$' \| \
|
|
7698 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
|
7699 echo X"$as_dir" |
|
|
7700 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
7701 s//\1/
|
|
7702 q
|
|
7703 }
|
|
7704 /^X\(\/\/\)[^/].*/{
|
|
7705 s//\1/
|
|
7706 q
|
|
7707 }
|
|
7708 /^X\(\/\/\)$/{
|
|
7709 s//\1/
|
|
7710 q
|
|
7711 }
|
|
7712 /^X\(\/\).*/{
|
|
7713 s//\1/
|
|
7714 q
|
|
7715 }
|
|
7716 s/.*/./; q'`
|
|
7717 test -d "$as_dir" && break
|
|
7718 done
|
|
7719 test -z "$as_dirs" || eval "mkdir $as_dirs"
|
|
7720 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
|
|
7721 echo "$as_me: error: cannot create directory $as_dir" >&2;}
|
|
7722 { (exit 1); exit 1; }; }; }
|
|
7723 ac_builddir=.
|
|
7724
|
|
7725 case "$ac_dir" in
|
|
7726 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
|
7727 *)
|
|
7728 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
|
7729 # A ".." for each directory in $ac_dir_suffix.
|
|
7730 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
|
|
7731 case $ac_top_builddir_sub in
|
|
7732 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
|
7733 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
|
7734 esac ;;
|
|
7735 esac
|
|
7736 ac_abs_top_builddir=$ac_pwd
|
|
7737 ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
|
7738 # for backward compatibility:
|
|
7739 ac_top_builddir=$ac_top_build_prefix
|
|
7740
|
|
7741 case $srcdir in
|
|
7742 .) # We are building in place.
|
|
7743 ac_srcdir=.
|
|
7744 ac_top_srcdir=$ac_top_builddir_sub
|
|
7745 ac_abs_top_srcdir=$ac_pwd ;;
|
|
7746 [\\/]* | ?:[\\/]* ) # Absolute name.
|
|
7747 ac_srcdir=$srcdir$ac_dir_suffix;
|
|
7748 ac_top_srcdir=$srcdir
|
|
7749 ac_abs_top_srcdir=$srcdir ;;
|
|
7750 *) # Relative name.
|
|
7751 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
|
7752 ac_top_srcdir=$ac_top_build_prefix$srcdir
|
|
7753 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
|
7754 esac
|
|
7755 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
|
7756
|
|
7757
|
|
7758 case $ac_mode in
|
|
7759 :F)
|
|
7760 #
|
|
7761 # CONFIG_FILE
|
|
7762 #
|
|
7763
|
|
7764 case $INSTALL in
|
|
7765 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
|
7766 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
|
|
7767 esac
|
|
7768 ac_MKDIR_P=$MKDIR_P
|
|
7769 case $MKDIR_P in
|
|
7770 [\\/$]* | ?:[\\/]* ) ;;
|
|
7771 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
|
|
7772 esac
|
|
7773 _ACEOF
|
|
7774
|
|
7775 cat >>$CONFIG_STATUS <<\_ACEOF
|
|
7776 # If the template does not know about datarootdir, expand it.
|
|
7777 # FIXME: This hack should be removed a few years after 2.60.
|
|
7778 ac_datarootdir_hack=; ac_datarootdir_seen=
|
|
7779
|
|
7780 case `sed -n '/datarootdir/ {
|
|
7781 p
|
|
7782 q
|
|
7783 }
|
|
7784 /@datadir@/p
|
|
7785 /@docdir@/p
|
|
7786 /@infodir@/p
|
|
7787 /@localedir@/p
|
|
7788 /@mandir@/p
|
|
7789 ' $ac_file_inputs` in
|
|
7790 *datarootdir*) ac_datarootdir_seen=yes;;
|
|
7791 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
|
7792 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
|
7793 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
|
7794 _ACEOF
|
|
7795 cat >>$CONFIG_STATUS <<_ACEOF
|
|
7796 ac_datarootdir_hack='
|
|
7797 s&@datadir@&$datadir&g
|
|
7798 s&@docdir@&$docdir&g
|
|
7799 s&@infodir@&$infodir&g
|
|
7800 s&@localedir@&$localedir&g
|
|
7801 s&@mandir@&$mandir&g
|
|
7802 s&\\\${datarootdir}&$datarootdir&g' ;;
|
|
7803 esac
|
|
7804 _ACEOF
|
|
7805
|
|
7806 # Neutralize VPATH when `$srcdir' = `.'.
|
|
7807 # Shell code in configure.ac might set extrasub.
|
|
7808 # FIXME: do we really want to maintain this feature?
|
|
7809 cat >>$CONFIG_STATUS <<_ACEOF
|
|
7810 sed "$ac_vpsub
|
|
7811 $extrasub
|
|
7812 _ACEOF
|
|
7813 cat >>$CONFIG_STATUS <<\_ACEOF
|
|
7814 :t
|
|
7815 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
|
7816 s&@configure_input@&$configure_input&;t t
|
|
7817 s&@top_builddir@&$ac_top_builddir_sub&;t t
|
|
7818 s&@srcdir@&$ac_srcdir&;t t
|
|
7819 s&@abs_srcdir@&$ac_abs_srcdir&;t t
|
|
7820 s&@top_srcdir@&$ac_top_srcdir&;t t
|
|
7821 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
|
|
7822 s&@builddir@&$ac_builddir&;t t
|
|
7823 s&@abs_builddir@&$ac_abs_builddir&;t t
|
|
7824 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
|
7825 s&@INSTALL@&$ac_INSTALL&;t t
|
|
7826 s&@MKDIR_P@&$ac_MKDIR_P&;t t
|
|
7827 $ac_datarootdir_hack
|
|
7828 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
|
|
7829
|
|
7830 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
|
7831 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
|
|
7832 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
|
|
7833 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
|
7834 which seems to be undefined. Please make sure it is defined." >&5
|
|
7835 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
|
7836 which seems to be undefined. Please make sure it is defined." >&2;}
|
|
7837
|
|
7838 rm -f "$tmp/stdin"
|
|
7839 case $ac_file in
|
|
7840 -) cat "$tmp/out"; rm -f "$tmp/out";;
|
|
7841 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
|
|
7842 esac
|
|
7843 ;;
|
|
7844 :H)
|
|
7845 #
|
|
7846 # CONFIG_HEADER
|
|
7847 #
|
|
7848 _ACEOF
|
|
7849
|
|
7850 # Transform confdefs.h into a sed script `conftest.defines', that
|
|
7851 # substitutes the proper values into config.h.in to produce config.h.
|
|
7852 rm -f conftest.defines conftest.tail
|
|
7853 # First, append a space to every undef/define line, to ease matching.
|
|
7854 echo 's/$/ /' >conftest.defines
|
|
7855 # Then, protect against being on the right side of a sed subst, or in
|
|
7856 # an unquoted here document, in config.status. If some macros were
|
|
7857 # called several times there might be several #defines for the same
|
|
7858 # symbol, which is useless. But do not sort them, since the last
|
|
7859 # AC_DEFINE must be honored.
|
|
7860 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
|
|
7861 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
|
|
7862 # NAME is the cpp macro being defined, VALUE is the value it is being given.
|
|
7863 # PARAMS is the parameter list in the macro definition--in most cases, it's
|
|
7864 # just an empty string.
|
|
7865 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
|
|
7866 ac_dB='\\)[ (].*,\\1define\\2'
|
|
7867 ac_dC=' '
|
|
7868 ac_dD=' ,'
|
|
7869
|
|
7870 uniq confdefs.h |
|
|
7871 sed -n '
|
|
7872 t rset
|
|
7873 :rset
|
|
7874 s/^[ ]*#[ ]*define[ ][ ]*//
|
|
7875 t ok
|
|
7876 d
|
|
7877 :ok
|
|
7878 s/[\\&,]/\\&/g
|
|
7879 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
|
|
7880 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
|
|
7881 ' >>conftest.defines
|
|
7882
|
|
7883 # Remove the space that was appended to ease matching.
|
|
7884 # Then replace #undef with comments. This is necessary, for
|
|
7885 # example, in the case of _POSIX_SOURCE, which is predefined and required
|
|
7886 # on some systems where configure will not decide to define it.
|
|
7887 # (The regexp can be short, since the line contains either #define or #undef.)
|
|
7888 echo 's/ $//
|
|
7889 s,^[ #]*u.*,/* & */,' >>conftest.defines
|
|
7890
|
|
7891 # Break up conftest.defines:
|
|
7892 ac_max_sed_lines=50
|
|
7893
|
|
7894 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
|
|
7895 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
|
|
7896 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
|
|
7897 # et cetera.
|
|
7898 ac_in='$ac_file_inputs'
|
|
7899 ac_out='"$tmp/out1"'
|
|
7900 ac_nxt='"$tmp/out2"'
|
|
7901
|
|
7902 while :
|
|
7903 do
|
|
7904 # Write a here document:
|
|
7905 cat >>$CONFIG_STATUS <<_ACEOF
|
|
7906 # First, check the format of the line:
|
|
7907 cat >"\$tmp/defines.sed" <<\\CEOF
|
|
7908 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
|
|
7909 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
|
|
7910 b
|
|
7911 :def
|
|
7912 _ACEOF
|
|
7913 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
|
|
7914 echo 'CEOF
|
|
7915 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
|
|
7916 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
|
|
7917 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
|
|
7918 grep . conftest.tail >/dev/null || break
|
|
7919 rm -f conftest.defines
|
|
7920 mv conftest.tail conftest.defines
|
|
7921 done
|
|
7922 rm -f conftest.defines conftest.tail
|
|
7923
|
|
7924 echo "ac_result=$ac_in" >>$CONFIG_STATUS
|
|
7925 cat >>$CONFIG_STATUS <<\_ACEOF
|
|
7926 if test x"$ac_file" != x-; then
|
|
7927 echo "/* $configure_input */" >"$tmp/config.h"
|
|
7928 cat "$ac_result" >>"$tmp/config.h"
|
|
7929 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
|
|
7930 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
|
|
7931 echo "$as_me: $ac_file is unchanged" >&6;}
|
|
7932 else
|
|
7933 rm -f $ac_file
|
|
7934 mv "$tmp/config.h" $ac_file
|
|
7935 fi
|
|
7936 else
|
|
7937 echo "/* $configure_input */"
|
|
7938 cat "$ac_result"
|
|
7939 fi
|
|
7940 rm -f "$tmp/out12"
|
|
7941 # Compute $ac_file's index in $config_headers.
|
|
7942 _am_arg=$ac_file
|
|
7943 _am_stamp_count=1
|
|
7944 for _am_header in $config_headers :; do
|
|
7945 case $_am_header in
|
|
7946 $_am_arg | $_am_arg:* )
|
|
7947 break ;;
|
|
7948 * )
|
|
7949 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
|
|
7950 esac
|
|
7951 done
|
|
7952 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
|
|
7953 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
7954 X"$_am_arg" : 'X\(//\)[^/]' \| \
|
|
7955 X"$_am_arg" : 'X\(//\)$' \| \
|
|
7956 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
|
|
7957 echo X"$_am_arg" |
|
|
7958 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
7959 s//\1/
|
|
7960 q
|
|
7961 }
|
|
7962 /^X\(\/\/\)[^/].*/{
|
|
7963 s//\1/
|
|
7964 q
|
|
7965 }
|
|
7966 /^X\(\/\/\)$/{
|
|
7967 s//\1/
|
|
7968 q
|
|
7969 }
|
|
7970 /^X\(\/\).*/{
|
|
7971 s//\1/
|
|
7972 q
|
|
7973 }
|
|
7974 s/.*/./; q'`/stamp-h$_am_stamp_count
|
|
7975 ;;
|
|
7976
|
|
7977 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
|
|
7978 echo "$as_me: executing $ac_file commands" >&6;}
|
|
7979 ;;
|
|
7980 esac
|
|
7981
|
|
7982
|
|
7983 case $ac_file$ac_mode in
|
|
7984 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
|
|
7985 # Strip MF so we end up with the name of the file.
|
|
7986 mf=`echo "$mf" | sed -e 's/:.*$//'`
|
|
7987 # Check whether this is an Automake generated Makefile or not.
|
|
7988 # We used to match only the files named `Makefile.in', but
|
|
7989 # some people rename them; so instead we look at the file content.
|
|
7990 # Grep'ing the first line is not enough: some people post-process
|
|
7991 # each Makefile.in and add a new line on top of each file to say so.
|
|
7992 # Grep'ing the whole file is not good either: AIX grep has a line
|
|
7993 # limit of 2048, but all sed's we know have understand at least 4000.
|
|
7994 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
|
|
7995 dirpart=`$as_dirname -- "$mf" ||
|
|
7996 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
7997 X"$mf" : 'X\(//\)[^/]' \| \
|
|
7998 X"$mf" : 'X\(//\)$' \| \
|
|
7999 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
|
|
8000 echo X"$mf" |
|
|
8001 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
8002 s//\1/
|
|
8003 q
|
|
8004 }
|
|
8005 /^X\(\/\/\)[^/].*/{
|
|
8006 s//\1/
|
|
8007 q
|
|
8008 }
|
|
8009 /^X\(\/\/\)$/{
|
|
8010 s//\1/
|
|
8011 q
|
|
8012 }
|
|
8013 /^X\(\/\).*/{
|
|
8014 s//\1/
|
|
8015 q
|
|
8016 }
|
|
8017 s/.*/./; q'`
|
|
8018 else
|
|
8019 continue
|
|
8020 fi
|
|
8021 # Extract the definition of DEPDIR, am__include, and am__quote
|
|
8022 # from the Makefile without running `make'.
|
|
8023 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
|
|
8024 test -z "$DEPDIR" && continue
|
|
8025 am__include=`sed -n 's/^am__include = //p' < "$mf"`
|
|
8026 test -z "am__include" && continue
|
|
8027 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
|
|
8028 # When using ansi2knr, U may be empty or an underscore; expand it
|
|
8029 U=`sed -n 's/^U = //p' < "$mf"`
|
|
8030 # Find all dependency output files, they are included files with
|
|
8031 # $(DEPDIR) in their names. We invoke sed twice because it is the
|
|
8032 # simplest approach to changing $(DEPDIR) to its actual value in the
|
|
8033 # expansion.
|
|
8034 for file in `sed -n "
|
|
8035 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
|
|
8036 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
|
|
8037 # Make sure the directory exists.
|
|
8038 test -f "$dirpart/$file" && continue
|
|
8039 fdir=`$as_dirname -- "$file" ||
|
|
8040 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
8041 X"$file" : 'X\(//\)[^/]' \| \
|
|
8042 X"$file" : 'X\(//\)$' \| \
|
|
8043 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
|
|
8044 echo X"$file" |
|
|
8045 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
8046 s//\1/
|
|
8047 q
|
|
8048 }
|
|
8049 /^X\(\/\/\)[^/].*/{
|
|
8050 s//\1/
|
|
8051 q
|
|
8052 }
|
|
8053 /^X\(\/\/\)$/{
|
|
8054 s//\1/
|
|
8055 q
|
|
8056 }
|
|
8057 /^X\(\/\).*/{
|
|
8058 s//\1/
|
|
8059 q
|
|
8060 }
|
|
8061 s/.*/./; q'`
|
|
8062 { as_dir=$dirpart/$fdir
|
|
8063 case $as_dir in #(
|
|
8064 -*) as_dir=./$as_dir;;
|
|
8065 esac
|
|
8066 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
|
|
8067 as_dirs=
|
|
8068 while :; do
|
|
8069 case $as_dir in #(
|
|
8070 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
|
|
8071 *) as_qdir=$as_dir;;
|
|
8072 esac
|
|
8073 as_dirs="'$as_qdir' $as_dirs"
|
|
8074 as_dir=`$as_dirname -- "$as_dir" ||
|
|
8075 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
8076 X"$as_dir" : 'X\(//\)[^/]' \| \
|
|
8077 X"$as_dir" : 'X\(//\)$' \| \
|
|
8078 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
|
8079 echo X"$as_dir" |
|
|
8080 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
8081 s//\1/
|
|
8082 q
|
|
8083 }
|
|
8084 /^X\(\/\/\)[^/].*/{
|
|
8085 s//\1/
|
|
8086 q
|
|
8087 }
|
|
8088 /^X\(\/\/\)$/{
|
|
8089 s//\1/
|
|
8090 q
|
|
8091 }
|
|
8092 /^X\(\/\).*/{
|
|
8093 s//\1/
|
|
8094 q
|
|
8095 }
|
|
8096 s/.*/./; q'`
|
|
8097 test -d "$as_dir" && break
|
|
8098 done
|
|
8099 test -z "$as_dirs" || eval "mkdir $as_dirs"
|
|
8100 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
|
|
8101 echo "$as_me: error: cannot create directory $as_dir" >&2;}
|
|
8102 { (exit 1); exit 1; }; }; }
|
|
8103 # echo "creating $dirpart/$file"
|
|
8104 echo '# dummy' > "$dirpart/$file"
|
|
8105 done
|
|
8106 done
|
|
8107 ;;
|
|
8108
|
|
8109 esac
|
|
8110 done # for ac_tag
|
|
8111
|
|
8112
|
|
8113 { (exit 0); exit 0; }
|
|
8114 _ACEOF
|
|
8115 chmod +x $CONFIG_STATUS
|
|
8116 ac_clean_files=$ac_clean_files_save
|
|
8117
|
|
8118
|
|
8119 # configure is writing to config.log, and then calls config.status.
|
|
8120 # config.status does its own redirection, appending to config.log.
|
|
8121 # Unfortunately, on DOS this fails, as config.log is still kept open
|
|
8122 # by configure, so config.status won't be able to write to it; its
|
|
8123 # output is simply discarded. So we exec the FD to /dev/null,
|
|
8124 # effectively closing config.log, so it can be properly (re)opened and
|
|
8125 # appended to by config.status. When coming back to configure, we
|
|
8126 # need to make the FD available again.
|
|
8127 if test "$no_create" != yes; then
|
|
8128 ac_cs_success=:
|
|
8129 ac_config_status_args=
|
|
8130 test "$silent" = yes &&
|
|
8131 ac_config_status_args="$ac_config_status_args --quiet"
|
|
8132 exec 5>/dev/null
|
|
8133 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
|
|
8134 exec 5>>config.log
|
|
8135 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
|
8136 # would make configure fail if this is the last instruction.
|
|
8137 $ac_cs_success || { (exit 1); exit 1; }
|
|
8138 fi
|
|
8139
|
|
8140 # After the output, chmod coopt.sh to be executable.
|
|
8141 chmod a+x coopt.sh
|
|
8142
|
|
8143 # Use prebuilt files if necessary, after config.h is generated.
|
|
8144 # Automake is capable of handling the files in question, but they need to
|
|
8145 # be in the directory configure was run in.
|
|
8146 if test ! -n "$LEX"; then
|
|
8147 cp $srcdir/prebuilt/lexer.c $ac_pwd/lexer.c
|
|
8148 { echo "$as_me:$LINENO: WARNING: No version of lex was found; using prebuilt lexer." >&5
|
|
8149 echo "$as_me: WARNING: No version of lex was found; using prebuilt lexer." >&2;}
|
|
8150 { echo "$as_me:$LINENO: WARNING: Changes to src/lexer.l will be ignored." >&5
|
|
8151 echo "$as_me: WARNING: Changes to src/lexer.l will be ignored." >&2;}
|
|
8152 fi
|
|
8153 if test ! -n "$YACC"; then
|
|
8154 cp $srcdir/prebuilt/parser.c $ac_pwd/parser.c
|
|
8155 cp $srcdir/prebuilt/parser.h $ac_pwd/parser.h
|
|
8156 cp $srcdir/prebuilt/oil-oil.c $ac_pwd/oil-oil.c
|
|
8157 { echo "$as_me:$LINENO: WARNING: No version of yacc was found; using prebuilt parser." >&5
|
|
8158 echo "$as_me: WARNING: No version of yacc was found; using prebuilt parser." >&2;}
|
|
8159 { echo "$as_me:$LINENO: WARNING: Changes to src/parser.y and src/oil.y will be ingored." >&5
|
|
8160 echo "$as_me: WARNING: Changes to src/parser.y and src/oil.y will be ingored." >&2;}
|
|
8161 fi
|
|
8162
|
|
8163 # Configure again, for the build system, if necessary.
|
|
8164 # It's simpler the second time round as we don't care about things like
|
|
8165 # installation dirs, just about how to do things like run the compiler.
|
|
8166 if test "$cross_compiling" != yes; then
|
|
8167 cp config.h bconfig.h
|
|
8168 exit 0
|
|
8169 fi
|
|
8170
|
|
8171 cd $ac_pwd;
|
|
8172
|
|
8173 # This trick for unsetting variables comes from the autoconf manual
|
|
8174
|
|
8175 # "|| exit" suppresses any "Segmentation fault" message.
|
|
8176 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
|
8177 unset=unset
|
|
8178 else
|
|
8179 unset=false
|
|
8180 fi
|
|
8181
|
|
8182
|
|
8183
|
|
8184
|
|
8185 BUILD_CC_ARG="FOO=BAR"
|
|
8186 if test ! "x$CC_FOR_BUILD" == x;
|
|
8187 then
|
|
8188 BUILD_CC_ARG="CC=$CC_FOR_BUILD";
|
|
8189 fi
|
|
8190 CC=foo
|
|
8191 $unset CC || CC=''
|
|
8192
|
|
8193 BUILD_CFLAGS_ARG="FOO=BAR"
|
|
8194 if test ! "x$CFLAGS_FOR_BUILD" == x;
|
|
8195 then
|
|
8196 BUILD_CFLAGS_ARG="CFLAGS=$CFLAGS_FOR_BUILD";
|
|
8197 fi
|
|
8198 CFLAGS=foo
|
|
8199 $unset CFLAGS || CFLAGS=''
|
|
8200
|
|
8201 BUILD_LDFLAGS_ARG="FOO=BAR"
|
|
8202 if test ! "x$LDFLAGS_FOR_BUILD" == x;
|
|
8203 then
|
|
8204 BUILD_LDFLAGS_ARG="LDFLAGS=$LDFLAGS_FOR_BUILD";
|
|
8205 fi
|
|
8206 LDFLAGS=foo
|
|
8207 $unset LDFLAGS || LDFLAGS=''
|
|
8208
|
|
8209 BUILD_LIBS_ARG="FOO=BAR"
|
|
8210 if test ! "x$LIBS_FOR_BUILD" == x;
|
|
8211 then
|
|
8212 BUILD_LIBS_ARG="LIBS=$LIBS_FOR_BUILD";
|
|
8213 fi
|
|
8214 LIBS=foo
|
|
8215 $unset LIBS || LIBS=''
|
|
8216
|
|
8217 BUILD_CPPFLAGS_ARG="FOO=BAR"
|
|
8218 if test ! "x$CPPFLAGS_FOR_BUILD" == x;
|
|
8219 then
|
|
8220 BUILD_CPPFLAGS_ARG="CPPFLAGS=$CPPFLAGS_FOR_BUILD";
|
|
8221 fi
|
|
8222 CPPFLAGS=foo
|
|
8223 $unset CPPFLAGS || CPPFLAGS=''
|
|
8224
|
|
8225 BUILD_CPP_ARG="FOO=BAR"
|
|
8226 if test ! "x$CPP_FOR_BUILD" == x;
|
|
8227 then
|
|
8228 BUILD_CPP_ARG="CPP=$CPP_FOR_BUILD";
|
|
8229 fi
|
|
8230 CPP=foo
|
|
8231 $unset CPP || CPP=''
|
|
8232
|
|
8233 BUILD_MACHINE_ARG="FOO=BAR"
|
|
8234 if test ! "x$build_alias" == x;
|
|
8235 then
|
|
8236 BUILD_MACHINE_ARG="--build=$build_alias"
|
|
8237 fi
|
|
8238
|
|
8239 # Run the new configure script.
|
|
8240 mv config.status config.status.save
|
|
8241 (env -i "PATH=$PATH" $srcdir/buildaux/buildconfig "$BUILD_MACHINE_ARG" "$BUILD_CC_ARG" "$BUILD_CFLAGS_ARG" "$BUILD_LDFLAGS_ARG" "$BUILD_LIBS_ARG" "$BUILD_CPPFLAGS_ARG" "$BUILD_CPP_ARG")
|
|
8242 mv config.status config.status.build
|
|
8243 mv config.status.save config.status
|
|
8244
|