2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for fixincludes .
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
268 PACKAGE_NAME
='fixincludes'
269 PACKAGE_TARNAME
='fixincludes'
271 PACKAGE_STRING
='fixincludes '
274 ac_unique_file
="inclhack.def"
275 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT WARN_CFLAGS WARN_PEDANTIC WERROR target_noncanonical TARGET CPP EGREP MAINT LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
753 ac_env_CC_set
=${CC+set}
755 ac_cv_env_CC_set
=${CC+set}
756 ac_cv_env_CC_value
=$CC
757 ac_env_CFLAGS_set
=${CFLAGS+set}
758 ac_env_CFLAGS_value
=$CFLAGS
759 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value
=$CFLAGS
761 ac_env_LDFLAGS_set
=${LDFLAGS+set}
762 ac_env_LDFLAGS_value
=$LDFLAGS
763 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value
=$LDFLAGS
765 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value
=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_env_CPP_set
=${CPP+set}
770 ac_env_CPP_value
=$CPP
771 ac_cv_env_CPP_set
=${CPP+set}
772 ac_cv_env_CPP_value
=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures fixincludes to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
835 --build=BUILD configure
for building on BUILD
[guessed
]
836 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
837 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
841 if test -n "$ac_init_help"; then
842 case $ac_init_help in
843 short | recursive
) echo "Configuration of fixincludes :";;
848 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
849 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
850 --enable-werror-always enable -Werror despite compiler version
851 --enable-twoprocess Use a separate process to apply the fixes
852 --enable-maintainer-mode enable make rules and dependencies not useful
853 (and sometimes confusing
) to the casual installer
856 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
857 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
858 --with-local-prefix=DIR specifies directory to put
local include
860 Some influential environment variables
:
861 CC C compiler
command
862 CFLAGS C compiler flags
863 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
864 nonstandard directory
<lib dir
>
865 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
866 headers
in a nonstandard directory
<include dir
>
869 Use these variables to override the choices made by
`configure' or to help
870 it to find libraries and programs with nonstandard names/locations.
875 if test "$ac_init_help" = "recursive"; then
876 # If there are subdirs, report their specific --help.
878 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
879 test -d $ac_dir || continue
882 if test "$ac_dir" != .; then
883 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
884 # A "../" for each directory in $ac_dir_suffix.
885 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
887 ac_dir_suffix= ac_top_builddir=
891 .) # No --srcdir option. We are building in place.
893 if test -z "$ac_top_builddir"; then
896 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
898 [\\/]* | ?:[\\/]* ) # Absolute path.
899 ac_srcdir=$srcdir$ac_dir_suffix;
900 ac_top_srcdir=$srcdir ;;
902 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
903 ac_top_srcdir=$ac_top_builddir$srcdir ;;
906 # Do not use `cd foo
&& pwd` to compute absolute paths, because
907 # the directories may not exist.
909 .) ac_abs_builddir="$ac_dir";;
912 .) ac_abs_builddir=`pwd`;;
913 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
914 *) ac_abs_builddir=`pwd`/"$ac_dir";;
917 case $ac_abs_builddir in
918 .) ac_abs_top_builddir=${ac_top_builddir}.;;
920 case ${ac_top_builddir}. in
921 .) ac_abs_top_builddir=$ac_abs_builddir;;
922 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
923 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
926 case $ac_abs_builddir in
927 .) ac_abs_srcdir=$ac_srcdir;;
930 .) ac_abs_srcdir=$ac_abs_builddir;;
931 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
932 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
935 case $ac_abs_builddir in
936 .) ac_abs_top_srcdir=$ac_top_srcdir;;
938 case $ac_top_srcdir in
939 .) ac_abs_top_srcdir=$ac_abs_builddir;;
940 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
941 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
946 # Check for guested configure; otherwise get Cygnus style configure.
947 if test -f $ac_srcdir/configure.gnu; then
949 $SHELL $ac_srcdir/configure.gnu --help=recursive
950 elif test -f $ac_srcdir/configure; then
952 $SHELL $ac_srcdir/configure --help=recursive
953 elif test -f $ac_srcdir/configure.ac ||
954 test -f $ac_srcdir/configure.in; then
958 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
964 test -n "$ac_init_help" && exit 0
965 if $ac_init_version; then
967 fixincludes configure
968 generated by GNU Autoconf 2.59
970 Copyright (C) 2003 Free Software Foundation, Inc.
971 This configure script is free software; the Free Software Foundation
972 gives unlimited permission to copy, distribute and modify it.
978 This file contains any messages produced by compilers while
979 running configure, to aid debugging if configure makes a mistake.
981 It was created by fixincludes $as_me , which was
982 generated by GNU Autoconf 2.59. Invocation command line was
993 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
994 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
995 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
996 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
997 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
999 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1000 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1002 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1003 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1004 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1005 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1006 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1007 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1008 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1016 test -z "$as_dir" && as_dir=.
1017 echo "PATH: $as_dir"
1032 # Keep a trace of the command line.
1033 # Strip out --no-create and --no-recursion so they do not pile up.
1034 # Strip out --silent because we don't want to record it for future runs.
1035 # Also quote any args containing shell meta-characters.
1036 # Make two passes to allow for proper duplicate-argument suppression.
1041 ac_must_keep_next=false
1047 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1048 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1049 | -silent | --silent | --silen | --sile | --sil)
1051 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1052 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1055 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1057 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1058 if test $ac_must_keep_next = true; then
1059 ac_must_keep_next=false # Got value, back to normal.
1062 *=* | --config-cache | -C | -disable-* | --disable-* \
1063 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1064 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1065 | -with-* | --with-* | -without-* | --without-* | --x)
1066 case "$ac_configure_args0 " in
1067 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1070 -* ) ac_must_keep_next=true ;;
1073 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1074 # Get rid of the leading space.
1080 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1081 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1083 # When interrupted or exit'd, cleanup temporary files, and complete
1084 # config.log. We remove comments because anyway the quotes in there
1085 # would cause problems or look ugly.
1086 # WARNING: Be sure not to use single quotes in there, as some shells,
1087 # such as our DU 5.0 friend, will then `close
' the trap.
1088 trap 'exit_status
=$?
1089 # Save into config.log some information that might help in debugging.
1094 ## ---------------- ##
1095 ## Cache variables. ##
1096 ## ---------------- ##
1099 # The following way of writing the cache mishandles newlines in values,
1102 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1105 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1106 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1110 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1117 ## ----------------- ##
1118 ## Output variables. ##
1119 ## ----------------- ##
1122 for ac_var
in $ac_subst_vars
1124 eval ac_val
=$
`echo $ac_var`
1125 echo "$ac_var='"'"'$ac_val'"'"'"
1129 if test -n "$ac_subst_files"; then
1136 for ac_var
in $ac_subst_files
1138 eval ac_val
=$
`echo $ac_var`
1139 echo "$ac_var='"'"'$ac_val'"'"'"
1144 if test -s confdefs.h
; then
1151 sed "/^$/d" confdefs.h |
sort
1154 test "$ac_signal" != 0 &&
1155 echo "$as_me: caught signal $ac_signal"
1156 echo "$as_me: exit $exit_status"
1158 rm -f core
*.core
&&
1159 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1162 for ac_signal in 1 2 13 15; do
1163 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1167 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1168 rm -rf conftest* confdefs.h
1169 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1172 # Predefined preprocessor variables.
1174 cat >>confdefs.h <<_ACEOF
1175 #define PACKAGE_NAME "$PACKAGE_NAME"
1179 cat >>confdefs.h <<_ACEOF
1180 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1184 cat >>confdefs.h <<_ACEOF
1185 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1189 cat >>confdefs.h <<_ACEOF
1190 #define PACKAGE_STRING "$PACKAGE_STRING"
1194 cat >>confdefs.h <<_ACEOF
1195 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1199 # Let the site file select an alternate cache file if it wants to.
1200 # Prefer explicitly selected file to automatically selected ones.
1201 if test -z "$CONFIG_SITE"; then
1202 if test "x$prefix" != xNONE; then
1203 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1205 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1208 for ac_site_file in $CONFIG_SITE; do
1209 if test -r "$ac_site_file"; then
1210 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1211 echo "$as_me: loading site script $ac_site_file" >&6;}
1212 sed 's
/^
/|
/' "$ac_site_file" >&5
1217 if test -r "$cache_file"; then
1218 # Some versions of bash will fail to source /dev/null (special
1219 # files actually), so we avoid doing that.
1220 if test -f "$cache_file"; then
1221 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1222 echo "$as_me: loading cache $cache_file" >&6;}
1224 [\\/]* | ?:[\\/]* ) . $cache_file;;
1225 *) . ./$cache_file;;
1229 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1230 echo "$as_me: creating cache $cache_file" >&6;}
1234 # Check that the precious variables saved in the cache have kept the same
1236 ac_cache_corrupted=false
1237 for ac_var in `(set) 2>&1 |
1238 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1239 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1240 eval ac_new_set=\$ac_env_${ac_var}_set
1241 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1242 eval ac_new_val="\$ac_env_${ac_var}_value"
1243 case $ac_old_set,$ac_new_set in
1245 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1246 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1247 ac_cache_corrupted=: ;;
1249 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1250 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1251 ac_cache_corrupted=: ;;
1254 if test "x$ac_old_val" != "x$ac_new_val"; then
1255 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1256 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1257 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1258 echo "$as_me: former value: $ac_old_val" >&2;}
1259 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1260 echo "$as_me: current value: $ac_new_val" >&2;}
1261 ac_cache_corrupted=:
1264 # Pass precious variables to config.status.
1265 if test "$ac_new_set" = set; then
1267 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1268 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1269 *) ac_arg=$ac_var=$ac_new_val ;;
1271 case " $ac_configure_args " in
1272 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1273 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1277 if $ac_cache_corrupted; then
1278 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1279 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1280 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1281 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1282 { (exit 1); exit 1; }; }
1286 ac_cpp='$CPP $CPPFLAGS'
1287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1288 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1319 for ac_dir in .. $srcdir/..; do
1320 if test -f $ac_dir/install-sh; then
1322 ac_install_sh="$ac_aux_dir/install-sh -c"
1324 elif test -f $ac_dir/install.sh; then
1326 ac_install_sh="$ac_aux_dir/install.sh -c"
1328 elif test -f $ac_dir/shtool; then
1330 ac_install_sh="$ac_aux_dir/shtool install -c"
1334 if test -z "$ac_aux_dir"; then
1335 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in .. $srcdir/.." >&5
1336 echo "$as_me: error: cannot find install-sh or install.sh in .. $srcdir/.." >&2;}
1337 { (exit 1); exit 1; }; }
1339 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1340 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1341 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1343 # Make sure we can run config.sub.
1344 $ac_config_sub sun4 >/dev/null 2>&1 ||
1345 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1346 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1347 { (exit 1); exit 1; }; }
1349 echo "$as_me:$LINENO: checking build system type" >&5
1350 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1351 if test "${ac_cv_build+set}" = set; then
1352 echo $ECHO_N "(cached) $ECHO_C" >&6
1354 ac_cv_build_alias=$build_alias
1355 test -z "$ac_cv_build_alias" &&
1356 ac_cv_build_alias=`$ac_config_guess`
1357 test -z "$ac_cv_build_alias" &&
1358 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1359 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1360 { (exit 1); exit 1; }; }
1361 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1362 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1363 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1364 { (exit 1); exit 1; }; }
1367 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1368 echo "${ECHO_T}$ac_cv_build" >&6
1370 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1371 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1372 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1375 echo "$as_me:$LINENO: checking host system type" >&5
1376 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1377 if test "${ac_cv_host+set}" = set; then
1378 echo $ECHO_N "(cached) $ECHO_C" >&6
1380 ac_cv_host_alias=$host_alias
1381 test -z "$ac_cv_host_alias" &&
1382 ac_cv_host_alias=$ac_cv_build_alias
1383 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1384 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1385 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1386 { (exit 1); exit 1; }; }
1389 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1390 echo "${ECHO_T}$ac_cv_host" >&6
1392 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1393 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1394 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1397 echo "$as_me:$LINENO: checking target system type" >&5
1398 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1399 if test "${ac_cv_target+set}" = set; then
1400 echo $ECHO_N "(cached) $ECHO_C" >&6
1402 ac_cv_target_alias=$target_alias
1403 test "x$ac_cv_target_alias" = "x" &&
1404 ac_cv_target_alias=$ac_cv_host_alias
1405 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1406 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1407 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1408 { (exit 1); exit 1; }; }
1411 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1412 echo "${ECHO_T}$ac_cv_target" >&6
1413 target=$ac_cv_target
1414 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1415 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1416 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1419 # The aliases save the names the user supplied, while $host etc.
1420 # will get canonicalized.
1421 test -n "$target_alias" &&
1422 test "$program_prefix$program_suffix$program_transform_name" = \
1424 program_prefix=${target_alias}-
1426 ac_cpp='$CPP $CPPFLAGS'
1427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1428 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1430 if test -n "$ac_tool_prefix"; then
1431 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1432 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1433 echo "$as_me:$LINENO: checking for $ac_word" >&5
1434 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1435 if test "${ac_cv_prog_CC+set}" = set; then
1436 echo $ECHO_N "(cached) $ECHO_C" >&6
1438 if test -n "$CC"; then
1439 ac_cv_prog_CC="$CC" # Let the user override the test.
1441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1445 test -z "$as_dir" && as_dir=.
1446 for ac_exec_ext in '' $ac_executable_extensions; do
1447 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1448 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1449 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1458 if test -n "$CC"; then
1459 echo "$as_me:$LINENO: result: $CC" >&5
1460 echo "${ECHO_T}$CC" >&6
1462 echo "$as_me:$LINENO: result: no" >&5
1463 echo "${ECHO_T}no" >&6
1467 if test -z "$ac_cv_prog_CC"; then
1469 # Extract the first word of "gcc", so it can be a program name with args.
1470 set dummy gcc; ac_word=$2
1471 echo "$as_me:$LINENO: checking for $ac_word" >&5
1472 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1473 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1474 echo $ECHO_N "(cached) $ECHO_C" >&6
1476 if test -n "$ac_ct_CC"; then
1477 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1483 test -z "$as_dir" && as_dir=.
1484 for ac_exec_ext in '' $ac_executable_extensions; do
1485 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1486 ac_cv_prog_ac_ct_CC="gcc"
1487 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1495 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1496 if test -n "$ac_ct_CC"; then
1497 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1498 echo "${ECHO_T}$ac_ct_CC" >&6
1500 echo "$as_me:$LINENO: result: no" >&5
1501 echo "${ECHO_T}no" >&6
1509 if test -z "$CC"; then
1510 if test -n "$ac_tool_prefix"; then
1511 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1512 set dummy ${ac_tool_prefix}cc; ac_word=$2
1513 echo "$as_me:$LINENO: checking for $ac_word" >&5
1514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1515 if test "${ac_cv_prog_CC+set}" = set; then
1516 echo $ECHO_N "(cached) $ECHO_C" >&6
1518 if test -n "$CC"; then
1519 ac_cv_prog_CC="$CC" # Let the user override the test.
1521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1525 test -z "$as_dir" && as_dir=.
1526 for ac_exec_ext in '' $ac_executable_extensions; do
1527 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1528 ac_cv_prog_CC="${ac_tool_prefix}cc"
1529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1538 if test -n "$CC"; then
1539 echo "$as_me:$LINENO: result: $CC" >&5
1540 echo "${ECHO_T}$CC" >&6
1542 echo "$as_me:$LINENO: result: no" >&5
1543 echo "${ECHO_T}no" >&6
1547 if test -z "$ac_cv_prog_CC"; then
1549 # Extract the first word of "cc", so it can be a program name with args.
1550 set dummy cc; ac_word=$2
1551 echo "$as_me:$LINENO: checking for $ac_word" >&5
1552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1553 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1554 echo $ECHO_N "(cached) $ECHO_C" >&6
1556 if test -n "$ac_ct_CC"; then
1557 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1563 test -z "$as_dir" && as_dir=.
1564 for ac_exec_ext in '' $ac_executable_extensions; do
1565 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1566 ac_cv_prog_ac_ct_CC="cc"
1567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1575 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1576 if test -n "$ac_ct_CC"; then
1577 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1578 echo "${ECHO_T}$ac_ct_CC" >&6
1580 echo "$as_me:$LINENO: result: no" >&5
1581 echo "${ECHO_T}no" >&6
1590 if test -z "$CC"; then
1591 # Extract the first word of "cc", so it can be a program name with args.
1592 set dummy cc; ac_word=$2
1593 echo "$as_me:$LINENO: checking for $ac_word" >&5
1594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1595 if test "${ac_cv_prog_CC+set}" = set; then
1596 echo $ECHO_N "(cached) $ECHO_C" >&6
1598 if test -n "$CC"; then
1599 ac_cv_prog_CC="$CC" # Let the user override the test.
1602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1606 test -z "$as_dir" && as_dir=.
1607 for ac_exec_ext in '' $ac_executable_extensions; do
1608 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1609 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1610 ac_prog_rejected=yes
1614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1620 if test $ac_prog_rejected = yes; then
1621 # We found a bogon in the path, so make sure we never use it.
1622 set dummy $ac_cv_prog_CC
1624 if test $# != 0; then
1625 # We chose a different compiler from the bogus one.
1626 # However, it has the same basename, so the bogon will be chosen
1627 # first if we set CC to just the basename; use the full file name.
1629 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1635 if test -n "$CC"; then
1636 echo "$as_me:$LINENO: result: $CC" >&5
1637 echo "${ECHO_T}$CC" >&6
1639 echo "$as_me:$LINENO: result: no" >&5
1640 echo "${ECHO_T}no" >&6
1644 if test -z "$CC"; then
1645 if test -n "$ac_tool_prefix"; then
1648 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1649 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1650 echo "$as_me:$LINENO: checking for $ac_word" >&5
1651 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1652 if test "${ac_cv_prog_CC+set}" = set; then
1653 echo $ECHO_N "(cached) $ECHO_C" >&6
1655 if test -n "$CC"; then
1656 ac_cv_prog_CC="$CC" # Let the user override the test.
1658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1662 test -z "$as_dir" && as_dir=.
1663 for ac_exec_ext in '' $ac_executable_extensions; do
1664 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1665 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1666 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1675 if test -n "$CC"; then
1676 echo "$as_me:$LINENO: result: $CC" >&5
1677 echo "${ECHO_T}$CC" >&6
1679 echo "$as_me:$LINENO: result: no" >&5
1680 echo "${ECHO_T}no" >&6
1683 test -n "$CC" && break
1686 if test -z "$CC"; then
1690 # Extract the first word of "$ac_prog", so it can be a program name with args.
1691 set dummy $ac_prog; ac_word=$2
1692 echo "$as_me:$LINENO: checking for $ac_word" >&5
1693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1694 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1695 echo $ECHO_N "(cached) $ECHO_C" >&6
1697 if test -n "$ac_ct_CC"; then
1698 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1704 test -z "$as_dir" && as_dir=.
1705 for ac_exec_ext in '' $ac_executable_extensions; do
1706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1707 ac_cv_prog_ac_ct_CC="$ac_prog"
1708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1716 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1717 if test -n "$ac_ct_CC"; then
1718 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1719 echo "${ECHO_T}$ac_ct_CC" >&6
1721 echo "$as_me:$LINENO: result: no" >&5
1722 echo "${ECHO_T}no" >&6
1725 test -n "$ac_ct_CC" && break
1734 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1735 See \`config.log' for more details.
" >&5
1736 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1737 See \
`config.log' for more details." >&2;}
1738 { (exit 1); exit 1; }; }
1740 # Provide some information about the compiler.
1741 echo "$as_me:$LINENO:" \
1742 "checking for C compiler version" >&5
1743 ac_compiler=`set X
$ac_compile; echo $2`
1744 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1745 (eval $ac_compiler --version </dev/null >&5) 2>&5
1747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1748 (exit $ac_status); }
1749 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1750 (eval $ac_compiler -v </dev/null >&5) 2>&5
1752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1753 (exit $ac_status); }
1754 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1755 (eval $ac_compiler -V </dev/null >&5) 2>&5
1757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1758 (exit $ac_status); }
1760 cat >conftest.$ac_ext <<_ACEOF
1763 cat confdefs.h >>conftest.$ac_ext
1764 cat >>conftest.$ac_ext <<_ACEOF
1765 /* end confdefs.h. */
1775 ac_clean_files_save=$ac_clean_files
1776 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1777 # Try to create an executable without -o first, disregard a.out.
1778 # It will help us diagnose broken compilers, and finding out an intuition
1780 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1781 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1782 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1783 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1784 (eval $ac_link_default) 2>&5
1786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1787 (exit $ac_status); }; then
1788 # Find the output, starting from the most likely. This scheme is
1789 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1792 # Be careful to initialize this variable, since it used to be cached.
1793 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1795 # b.out is created by i960 compilers.
1796 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1798 test -f "$ac_file" || continue
1800 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1803 # This is the source file.
1806 # We found the default executable, but exeext='' is most
1810 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1811 # FIXME: I believe we export ac_cv_exeext for Libtool,
1812 # but it would be cool to find out if it's true. Does anybody
1813 # maintain Libtool? --akim.
1821 echo "$as_me: failed program was:" >&5
1822 sed 's/^/| /' conftest.$ac_ext >&5
1824 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1825 See \`config.log
' for more details." >&5
1826 echo "$as_me: error: C compiler cannot create executables
1827 See \`config.log' for more details.
" >&2;}
1828 { (exit 77); exit 77; }; }
1831 ac_exeext=$ac_cv_exeext
1832 echo "$as_me:$LINENO: result
: $ac_file" >&5
1833 echo "${ECHO_T}$ac_file" >&6
1835 # Check the compiler produces executables we can run. If not, either
1836 # the compiler is broken, or we cross compile.
1837 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1838 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1839 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1840 # If not cross compiling, check that we can run a simple program.
1841 if test "$cross_compiling" != yes; then
1842 if { ac_try='./$ac_file'
1843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1846 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1847 (exit $ac_status); }; }; then
1850 if test "$cross_compiling" = maybe; then
1853 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1854 If you meant to cross compile
, use \
`--host'.
1855 See \`config.log
' for more details." >&5
1856 echo "$as_me: error: cannot run C compiled programs.
1857 If you meant to cross compile, use \`--host'.
1858 See \
`config.log' for more details." >&2;}
1859 { (exit 1); exit 1; }; }
1863 echo "$as_me:$LINENO: result: yes" >&5
1864 echo "${ECHO_T}yes" >&6
1866 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1867 ac_clean_files=$ac_clean_files_save
1868 # Check the compiler produces executables we can run. If not, either
1869 # the compiler is broken, or we cross compile.
1870 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1871 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1872 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1873 echo "${ECHO_T}$cross_compiling" >&6
1875 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1876 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1878 (eval $ac_link) 2>&5
1880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1881 (exit $ac_status); }; then
1882 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1883 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1884 # work properly (i.e., refer to `conftest.exe'), while it won't with
1886 for ac_file
in conftest.exe conftest conftest.
*; do
1887 test -f "$ac_file" ||
continue
1889 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1890 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1897 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1898 See \`config.log' for more details." >&5
1899 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1900 See \`config.log' for more details." >&2;}
1901 { (exit 1); exit 1; }; }
1904 rm -f conftest
$ac_cv_exeext
1905 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1906 echo "${ECHO_T}$ac_cv_exeext" >&6
1908 rm -f conftest.
$ac_ext
1909 EXEEXT
=$ac_cv_exeext
1911 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1912 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1913 if test "${ac_cv_objext+set}" = set; then
1914 echo $ECHO_N "(cached) $ECHO_C" >&6
1916 cat >conftest.
$ac_ext <<_ACEOF
1919 cat confdefs.h
>>conftest.
$ac_ext
1920 cat >>conftest.
$ac_ext <<_ACEOF
1921 /* end confdefs.h. */
1931 rm -f conftest.o conftest.obj
1932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1933 (eval $ac_compile) 2>&5
1935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1936 (exit $ac_status); }; then
1937 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1939 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1940 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1945 echo "$as_me: failed program was:" >&5
1946 sed 's/^/| /' conftest.
$ac_ext >&5
1948 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1949 See \`config.log' for more details." >&5
1950 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1951 See \`config.log' for more details." >&2;}
1952 { (exit 1); exit 1; }; }
1955 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1957 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1958 echo "${ECHO_T}$ac_cv_objext" >&6
1959 OBJEXT
=$ac_cv_objext
1961 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1962 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1963 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1964 echo $ECHO_N "(cached) $ECHO_C" >&6
1966 cat >conftest.
$ac_ext <<_ACEOF
1969 cat confdefs.h
>>conftest.
$ac_ext
1970 cat >>conftest.
$ac_ext <<_ACEOF
1971 /* end confdefs.h. */
1984 rm -f conftest.
$ac_objext
1985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1986 (eval $ac_compile) 2>conftest.er1
1988 grep -v '^ *+' conftest.er1
>conftest.err
1990 cat conftest.err
>&5
1991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1992 (exit $ac_status); } &&
1993 { ac_try
='test -z "$ac_c_werror_flag"
1994 || test ! -s conftest.err'
1995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1999 (exit $ac_status); }; } &&
2000 { ac_try
='test -s conftest.$ac_objext'
2001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2005 (exit $ac_status); }; }; then
2008 echo "$as_me: failed program was:" >&5
2009 sed 's/^/| /' conftest.
$ac_ext >&5
2013 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2014 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2017 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2018 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2019 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2020 ac_test_CFLAGS
=${CFLAGS+set}
2021 ac_save_CFLAGS
=$CFLAGS
2023 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2024 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2025 if test "${ac_cv_prog_cc_g+set}" = set; then
2026 echo $ECHO_N "(cached) $ECHO_C" >&6
2028 cat >conftest.
$ac_ext <<_ACEOF
2031 cat confdefs.h
>>conftest.
$ac_ext
2032 cat >>conftest.
$ac_ext <<_ACEOF
2033 /* end confdefs.h. */
2043 rm -f conftest.
$ac_objext
2044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2045 (eval $ac_compile) 2>conftest.er1
2047 grep -v '^ *+' conftest.er1
>conftest.err
2049 cat conftest.err
>&5
2050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2051 (exit $ac_status); } &&
2052 { ac_try
='test -z "$ac_c_werror_flag"
2053 || test ! -s conftest.err'
2054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2058 (exit $ac_status); }; } &&
2059 { ac_try
='test -s conftest.$ac_objext'
2060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2064 (exit $ac_status); }; }; then
2067 echo "$as_me: failed program was:" >&5
2068 sed 's/^/| /' conftest.
$ac_ext >&5
2072 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2074 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2075 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2076 if test "$ac_test_CFLAGS" = set; then
2077 CFLAGS
=$ac_save_CFLAGS
2078 elif test $ac_cv_prog_cc_g = yes; then
2079 if test "$GCC" = yes; then
2085 if test "$GCC" = yes; then
2091 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2092 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2093 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2094 echo $ECHO_N "(cached) $ECHO_C" >&6
2096 ac_cv_prog_cc_stdc
=no
2098 cat >conftest.
$ac_ext <<_ACEOF
2101 cat confdefs.h
>>conftest.
$ac_ext
2102 cat >>conftest.
$ac_ext <<_ACEOF
2103 /* end confdefs.h. */
2106 #include <sys/types.h>
2107 #include <sys/stat.h>
2108 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2109 struct buf { int x; };
2110 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2111 static char *e (p, i)
2117 static char *f (char * (*g) (char **, int), char **p, ...)
2122 s = g (p, va_arg (v,int));
2127 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2128 function prototypes and stuff, but not '\xHH' hex character constants.
2129 These don't provoke an error unfortunately, instead are silently treated
2130 as 'x'. The following induces an error, until -std1 is added to get
2131 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2132 array size at least. It's necessary to write '\x00'==0 to get something
2133 that's true only with -std1. */
2134 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2136 int test (int i, double x);
2137 struct s1 {int (*f) (int a);};
2138 struct s2 {int (*f) (double a);};
2139 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2145 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2150 # Don't try gcc -ansi; that turns off useful extensions and
2151 # breaks some systems' header files.
2152 # AIX -qlanglvl=ansi
2153 # Ultrix and OSF/1 -std1
2154 # HP-UX 10.20 and later -Ae
2155 # HP-UX older versions -Aa -D_HPUX_SOURCE
2156 # SVR4 -Xc -D__EXTENSIONS__
2157 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2159 CC
="$ac_save_CC $ac_arg"
2160 rm -f conftest.
$ac_objext
2161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2162 (eval $ac_compile) 2>conftest.er1
2164 grep -v '^ *+' conftest.er1
>conftest.err
2166 cat conftest.err
>&5
2167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2168 (exit $ac_status); } &&
2169 { ac_try
='test -z "$ac_c_werror_flag"
2170 || test ! -s conftest.err'
2171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2175 (exit $ac_status); }; } &&
2176 { ac_try
='test -s conftest.$ac_objext'
2177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2181 (exit $ac_status); }; }; then
2182 ac_cv_prog_cc_stdc
=$ac_arg
2185 echo "$as_me: failed program was:" >&5
2186 sed 's/^/| /' conftest.
$ac_ext >&5
2189 rm -f conftest.err conftest.
$ac_objext
2191 rm -f conftest.
$ac_ext conftest.
$ac_objext
2196 case "x$ac_cv_prog_cc_stdc" in
2198 echo "$as_me:$LINENO: result: none needed" >&5
2199 echo "${ECHO_T}none needed" >&6 ;;
2201 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2202 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2203 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2206 # Some people use a C++ compiler to compile C. Since we use `exit',
2207 # in C++ we need to declare it. In case someone uses the same compiler
2208 # for both compiling C and C++ we need to have the C++ compiler decide
2209 # the declaration of exit, since it's the most demanding environment.
2210 cat >conftest.
$ac_ext <<_ACEOF
2215 rm -f conftest.
$ac_objext
2216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2217 (eval $ac_compile) 2>conftest.er1
2219 grep -v '^ *+' conftest.er1
>conftest.err
2221 cat conftest.err
>&5
2222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2223 (exit $ac_status); } &&
2224 { ac_try
='test -z "$ac_c_werror_flag"
2225 || test ! -s conftest.err'
2226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2230 (exit $ac_status); }; } &&
2231 { ac_try
='test -s conftest.$ac_objext'
2232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2236 (exit $ac_status); }; }; then
2237 for ac_declaration
in \
2239 'extern "C" void std::exit (int) throw (); using std::exit;' \
2240 'extern "C" void std::exit (int); using std::exit;' \
2241 'extern "C" void exit (int) throw ();' \
2242 'extern "C" void exit (int);' \
2245 cat >conftest.
$ac_ext <<_ACEOF
2248 cat confdefs.h
>>conftest.
$ac_ext
2249 cat >>conftest.
$ac_ext <<_ACEOF
2250 /* end confdefs.h. */
2261 rm -f conftest.
$ac_objext
2262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2263 (eval $ac_compile) 2>conftest.er1
2265 grep -v '^ *+' conftest.er1
>conftest.err
2267 cat conftest.err
>&5
2268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2269 (exit $ac_status); } &&
2270 { ac_try
='test -z "$ac_c_werror_flag"
2271 || test ! -s conftest.err'
2272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2276 (exit $ac_status); }; } &&
2277 { ac_try
='test -s conftest.$ac_objext'
2278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2282 (exit $ac_status); }; }; then
2285 echo "$as_me: failed program was:" >&5
2286 sed 's/^/| /' conftest.
$ac_ext >&5
2290 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2291 cat >conftest.
$ac_ext <<_ACEOF
2294 cat confdefs.h
>>conftest.
$ac_ext
2295 cat >>conftest.
$ac_ext <<_ACEOF
2296 /* end confdefs.h. */
2306 rm -f conftest.
$ac_objext
2307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2308 (eval $ac_compile) 2>conftest.er1
2310 grep -v '^ *+' conftest.er1
>conftest.err
2312 cat conftest.err
>&5
2313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2314 (exit $ac_status); } &&
2315 { ac_try
='test -z "$ac_c_werror_flag"
2316 || test ! -s conftest.err'
2317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2321 (exit $ac_status); }; } &&
2322 { ac_try
='test -s conftest.$ac_objext'
2323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2327 (exit $ac_status); }; }; then
2330 echo "$as_me: failed program was:" >&5
2331 sed 's/^/| /' conftest.
$ac_ext >&5
2334 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2337 if test -n "$ac_declaration"; then
2338 echo '#ifdef __cplusplus' >>confdefs.h
2339 echo $ac_declaration >>confdefs.h
2340 echo '#endif' >>confdefs.h
2344 echo "$as_me: failed program was:" >&5
2345 sed 's/^/| /' conftest.
$ac_ext >&5
2348 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2350 ac_cpp
='$CPP $CPPFLAGS'
2351 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2352 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2353 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2356 # Figure out what compiler warnings we can enable.
2357 # See config/warnings.m4 for details.
2361 save_CFLAGS
="$CFLAGS"
2362 for option
in -W -Wall -Wwrite-strings -Wstrict-prototypes \
2363 -Wmissing-prototypes -Wold-style-definition \
2364 -Wmissing-format-attribute -Wno-overlength-strings; do
2365 as_acx_Woption
=`echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
2367 echo "$as_me:$LINENO: checking whether $CC supports $option" >&5
2368 echo $ECHO_N "checking whether $CC supports $option... $ECHO_C" >&6
2369 if eval "test \"\${$as_acx_Woption+set}\" = set"; then
2370 echo $ECHO_N "(cached) $ECHO_C" >&6
2373 cat >conftest.
$ac_ext <<_ACEOF
2376 cat confdefs.h
>>conftest.
$ac_ext
2377 cat >>conftest.
$ac_ext <<_ACEOF
2378 /* end confdefs.h. */
2388 rm -f conftest.
$ac_objext
2389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2390 (eval $ac_compile) 2>conftest.er1
2392 grep -v '^ *+' conftest.er1
>conftest.err
2394 cat conftest.err
>&5
2395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2396 (exit $ac_status); } &&
2397 { ac_try
='test -z "$ac_c_werror_flag"
2398 || test ! -s conftest.err'
2399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2403 (exit $ac_status); }; } &&
2404 { ac_try
='test -s conftest.$ac_objext'
2405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2409 (exit $ac_status); }; }; then
2410 eval "$as_acx_Woption=yes"
2412 echo "$as_me: failed program was:" >&5
2413 sed 's/^/| /' conftest.
$ac_ext >&5
2415 eval "$as_acx_Woption=no"
2417 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2420 echo "$as_me:$LINENO: result: `eval echo '${'$as_acx_Woption'}'`" >&5
2421 echo "${ECHO_T}`eval echo '${'$as_acx_Woption'}'`" >&6
2422 if test `eval echo '${'$as_acx_Woption'}'` = yes; then
2423 WARN_CFLAGS
="$WARN_CFLAGS${WARN_CFLAGS:+ }$option"
2427 CFLAGS
="$save_CFLAGS"
2430 if test "$GCC" = yes; then
2431 echo "$as_me:$LINENO: checking whether $CC supports -pedantic -Wno-long-long" >&5
2432 echo $ECHO_N "checking whether $CC supports -pedantic -Wno-long-long... $ECHO_C" >&6
2433 if test "${acx_cv_prog_cc_pedantic__Wno_long_long+set}" = set; then
2434 echo $ECHO_N "(cached) $ECHO_C" >&6
2436 save_CFLAGS
="$CFLAGS"
2437 CFLAGS
="-pedantic -Wno-long-long"
2438 cat >conftest.
$ac_ext <<_ACEOF
2441 cat confdefs.h
>>conftest.
$ac_ext
2442 cat >>conftest.
$ac_ext <<_ACEOF
2443 /* end confdefs.h. */
2453 rm -f conftest.
$ac_objext
2454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2455 (eval $ac_compile) 2>conftest.er1
2457 grep -v '^ *+' conftest.er1
>conftest.err
2459 cat conftest.err
>&5
2460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2461 (exit $ac_status); } &&
2462 { ac_try
='test -z "$ac_c_werror_flag"
2463 || test ! -s conftest.err'
2464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2468 (exit $ac_status); }; } &&
2469 { ac_try
='test -s conftest.$ac_objext'
2470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2474 (exit $ac_status); }; }; then
2475 acx_cv_prog_cc_pedantic__Wno_long_long
=yes
2477 echo "$as_me: failed program was:" >&5
2478 sed 's/^/| /' conftest.
$ac_ext >&5
2480 acx_cv_prog_cc_pedantic__Wno_long_long
=no
2482 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2483 CFLAGS
="$save_CFLAGS"
2485 echo "$as_me:$LINENO: result: $acx_cv_prog_cc_pedantic__Wno_long_long" >&5
2486 echo "${ECHO_T}$acx_cv_prog_cc_pedantic__Wno_long_long" >&6
2487 if test $acx_cv_prog_cc_pedantic__Wno_long_long = yes; then
2488 WARN_PEDANTIC
="-pedantic -Wno-long-long"
2496 # Only enable with --enable-werror-always until existing warnings are
2499 # Check whether --enable-werror-always or --disable-werror-always was given.
2500 if test "${enable_werror_always+set}" = set; then
2501 enableval
="$enable_werror_always"
2504 enable_werror_always
=no
2506 if test $enable_werror_always = yes; then
2512 # Determine the noncanonical target name, for directory use.
2513 case ${build_alias} in
2514 "") build_noncanonical
=${build} ;;
2515 *) build_noncanonical
=${build_alias} ;;
2518 case ${host_alias} in
2519 "") host_noncanonical
=${build_noncanonical} ;;
2520 *) host_noncanonical
=${host_alias} ;;
2523 case ${target_alias} in
2524 "") target_noncanonical
=${host_noncanonical} ;;
2525 *) target_noncanonical
=${target_alias} ;;
2531 # Specify the local prefix
2534 # Check whether --with-local-prefix or --without-local-prefix was given.
2535 if test "${with_local_prefix+set}" = set; then
2536 withval
="$with_local_prefix"
2537 case "${withval}" in
2538 yes) { { echo "$as_me:$LINENO: error: bad value ${withval} given for local include directory prefix" >&5
2539 echo "$as_me: error: bad value ${withval} given for local include directory prefix" >&2;}
2540 { (exit 1); exit 1; }; } ;;
2542 *) local_prefix
=$with_local_prefix ;;
2546 # Default local prefix if it is empty
2547 if test x
$local_prefix = x
; then
2548 local_prefix
=/usr
/local
2551 # Choose one or two-process fix methodology. Systems that cannot handle
2552 # bi-directional pipes must use the two process method.
2554 # Check whether --enable-twoprocess or --disable-twoprocess was given.
2555 if test "${enable_twoprocess+set}" = set; then
2556 enableval
="$enable_twoprocess"
2557 if test "x$enable_twoprocess" = xyes
; then
2564 i?
86-*-msdosdjgpp* | \
2577 if test $TARGET = twoprocess
; then
2579 cat >>confdefs.h
<<\_ACEOF
2580 #define SEPARATE_FIX_PROC 1
2588 cat >>confdefs.h
<<\_ACEOF
2593 cat >>confdefs.h
<<\_ACEOF
2594 #define atexit xatexit
2601 cat >>confdefs.h
<<_ACEOF
2602 #define EXE_EXT "$ac_exeext"
2606 # Checks for header files.
2608 ac_cpp
='$CPP $CPPFLAGS'
2609 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2610 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2611 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2612 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2613 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2614 # On Suns, sometimes $CPP names a directory.
2615 if test -n "$CPP" && test -d "$CPP"; then
2618 if test -z "$CPP"; then
2619 if test "${ac_cv_prog_CPP+set}" = set; then
2620 echo $ECHO_N "(cached) $ECHO_C" >&6
2622 # Double quotes because CPP needs to be expanded
2623 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2626 for ac_c_preproc_warn_flag
in '' yes
2628 # Use a header file that comes with gcc, so configuring glibc
2629 # with a fresh cross-compiler works.
2630 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2631 # <limits.h> exists even on freestanding compilers.
2632 # On the NeXT, cc -E runs the code through the compiler's parser,
2633 # not just through cpp. "Syntax error" is here to catch this case.
2634 cat >conftest.
$ac_ext <<_ACEOF
2637 cat confdefs.h
>>conftest.
$ac_ext
2638 cat >>conftest.
$ac_ext <<_ACEOF
2639 /* end confdefs.h. */
2641 # include <limits.h>
2643 # include <assert.h>
2647 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2648 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2650 grep -v '^ *+' conftest.er1
>conftest.err
2652 cat conftest.err
>&5
2653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2654 (exit $ac_status); } >/dev
/null
; then
2655 if test -s conftest.err
; then
2656 ac_cpp_err
=$ac_c_preproc_warn_flag
2657 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2664 if test -z "$ac_cpp_err"; then
2667 echo "$as_me: failed program was:" >&5
2668 sed 's/^/| /' conftest.
$ac_ext >&5
2670 # Broken: fails on valid input.
2673 rm -f conftest.err conftest.
$ac_ext
2675 # OK, works on sane cases. Now check whether non-existent headers
2676 # can be detected and how.
2677 cat >conftest.
$ac_ext <<_ACEOF
2680 cat confdefs.h
>>conftest.
$ac_ext
2681 cat >>conftest.
$ac_ext <<_ACEOF
2682 /* end confdefs.h. */
2683 #include <ac_nonexistent.h>
2685 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2686 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2688 grep -v '^ *+' conftest.er1
>conftest.err
2690 cat conftest.err
>&5
2691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2692 (exit $ac_status); } >/dev
/null
; then
2693 if test -s conftest.err
; then
2694 ac_cpp_err
=$ac_c_preproc_warn_flag
2695 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2702 if test -z "$ac_cpp_err"; then
2703 # Broken: success on invalid input.
2706 echo "$as_me: failed program was:" >&5
2707 sed 's/^/| /' conftest.
$ac_ext >&5
2709 # Passes both tests.
2713 rm -f conftest.err conftest.
$ac_ext
2716 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2717 rm -f conftest.err conftest.
$ac_ext
2718 if $ac_preproc_ok; then
2730 echo "$as_me:$LINENO: result: $CPP" >&5
2731 echo "${ECHO_T}$CPP" >&6
2733 for ac_c_preproc_warn_flag
in '' yes
2735 # Use a header file that comes with gcc, so configuring glibc
2736 # with a fresh cross-compiler works.
2737 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2738 # <limits.h> exists even on freestanding compilers.
2739 # On the NeXT, cc -E runs the code through the compiler's parser,
2740 # not just through cpp. "Syntax error" is here to catch this case.
2741 cat >conftest.
$ac_ext <<_ACEOF
2744 cat confdefs.h
>>conftest.
$ac_ext
2745 cat >>conftest.
$ac_ext <<_ACEOF
2746 /* end confdefs.h. */
2748 # include <limits.h>
2750 # include <assert.h>
2754 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2755 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2757 grep -v '^ *+' conftest.er1
>conftest.err
2759 cat conftest.err
>&5
2760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2761 (exit $ac_status); } >/dev
/null
; then
2762 if test -s conftest.err
; then
2763 ac_cpp_err
=$ac_c_preproc_warn_flag
2764 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2771 if test -z "$ac_cpp_err"; then
2774 echo "$as_me: failed program was:" >&5
2775 sed 's/^/| /' conftest.
$ac_ext >&5
2777 # Broken: fails on valid input.
2780 rm -f conftest.err conftest.
$ac_ext
2782 # OK, works on sane cases. Now check whether non-existent headers
2783 # can be detected and how.
2784 cat >conftest.
$ac_ext <<_ACEOF
2787 cat confdefs.h
>>conftest.
$ac_ext
2788 cat >>conftest.
$ac_ext <<_ACEOF
2789 /* end confdefs.h. */
2790 #include <ac_nonexistent.h>
2792 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2793 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2795 grep -v '^ *+' conftest.er1
>conftest.err
2797 cat conftest.err
>&5
2798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2799 (exit $ac_status); } >/dev
/null
; then
2800 if test -s conftest.err
; then
2801 ac_cpp_err
=$ac_c_preproc_warn_flag
2802 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2809 if test -z "$ac_cpp_err"; then
2810 # Broken: success on invalid input.
2813 echo "$as_me: failed program was:" >&5
2814 sed 's/^/| /' conftest.
$ac_ext >&5
2816 # Passes both tests.
2820 rm -f conftest.err conftest.
$ac_ext
2823 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2824 rm -f conftest.err conftest.
$ac_ext
2825 if $ac_preproc_ok; then
2828 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2829 See \`config.log' for more details." >&5
2830 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2831 See \`config.log' for more details." >&2;}
2832 { (exit 1); exit 1; }; }
2836 ac_cpp
='$CPP $CPPFLAGS'
2837 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2838 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2839 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2842 echo "$as_me:$LINENO: checking for egrep" >&5
2843 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2844 if test "${ac_cv_prog_egrep+set}" = set; then
2845 echo $ECHO_N "(cached) $ECHO_C" >&6
2847 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2848 then ac_cv_prog_egrep
='grep -E'
2849 else ac_cv_prog_egrep
='egrep'
2852 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2853 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2854 EGREP
=$ac_cv_prog_egrep
2857 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2858 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2859 if test "${ac_cv_header_stdc+set}" = set; then
2860 echo $ECHO_N "(cached) $ECHO_C" >&6
2862 cat >conftest.
$ac_ext <<_ACEOF
2865 cat confdefs.h
>>conftest.
$ac_ext
2866 cat >>conftest.
$ac_ext <<_ACEOF
2867 /* end confdefs.h. */
2881 rm -f conftest.
$ac_objext
2882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2883 (eval $ac_compile) 2>conftest.er1
2885 grep -v '^ *+' conftest.er1
>conftest.err
2887 cat conftest.err
>&5
2888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2889 (exit $ac_status); } &&
2890 { ac_try
='test -z "$ac_c_werror_flag"
2891 || test ! -s conftest.err'
2892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2896 (exit $ac_status); }; } &&
2897 { ac_try
='test -s conftest.$ac_objext'
2898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2902 (exit $ac_status); }; }; then
2903 ac_cv_header_stdc
=yes
2905 echo "$as_me: failed program was:" >&5
2906 sed 's/^/| /' conftest.
$ac_ext >&5
2908 ac_cv_header_stdc
=no
2910 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2912 if test $ac_cv_header_stdc = yes; then
2913 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2914 cat >conftest.
$ac_ext <<_ACEOF
2917 cat confdefs.h
>>conftest.
$ac_ext
2918 cat >>conftest.
$ac_ext <<_ACEOF
2919 /* end confdefs.h. */
2923 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2924 $EGREP "memchr" >/dev
/null
2>&1; then
2927 ac_cv_header_stdc
=no
2933 if test $ac_cv_header_stdc = yes; then
2934 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2935 cat >conftest.
$ac_ext <<_ACEOF
2938 cat confdefs.h
>>conftest.
$ac_ext
2939 cat >>conftest.
$ac_ext <<_ACEOF
2940 /* end confdefs.h. */
2944 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2945 $EGREP "free" >/dev
/null
2>&1; then
2948 ac_cv_header_stdc
=no
2954 if test $ac_cv_header_stdc = yes; then
2955 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2956 if test "$cross_compiling" = yes; then
2959 cat >conftest.
$ac_ext <<_ACEOF
2962 cat confdefs.h
>>conftest.
$ac_ext
2963 cat >>conftest.
$ac_ext <<_ACEOF
2964 /* end confdefs.h. */
2966 #if ((' ' & 0x0FF) == 0x020)
2967 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2968 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2970 # define ISLOWER(c) \
2971 (('a' <= (c) && (c) <= 'i') \
2972 || ('j' <= (c) && (c) <= 'r') \
2973 || ('s' <= (c) && (c) <= 'z'))
2974 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2977 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2982 for (i = 0; i < 256; i++)
2983 if (XOR (islower (i), ISLOWER (i))
2984 || toupper (i) != TOUPPER (i))
2989 rm -f conftest
$ac_exeext
2990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2991 (eval $ac_link) 2>&5
2993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2994 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
2995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2999 (exit $ac_status); }; }; then
3002 echo "$as_me: program exited with status $ac_status" >&5
3003 echo "$as_me: failed program was:" >&5
3004 sed 's/^/| /' conftest.
$ac_ext >&5
3007 ac_cv_header_stdc
=no
3009 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3013 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3014 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3015 if test $ac_cv_header_stdc = yes; then
3017 cat >>confdefs.h
<<\_ACEOF
3018 #define STDC_HEADERS 1
3023 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3033 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3034 inttypes.h stdint.h unistd.h
3036 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3037 echo "$as_me:$LINENO: checking for $ac_header" >&5
3038 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3039 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3040 echo $ECHO_N "(cached) $ECHO_C" >&6
3042 cat >conftest.
$ac_ext <<_ACEOF
3045 cat confdefs.h
>>conftest.
$ac_ext
3046 cat >>conftest.
$ac_ext <<_ACEOF
3047 /* end confdefs.h. */
3048 $ac_includes_default
3050 #include <$ac_header>
3052 rm -f conftest.
$ac_objext
3053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3054 (eval $ac_compile) 2>conftest.er1
3056 grep -v '^ *+' conftest.er1
>conftest.err
3058 cat conftest.err
>&5
3059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3060 (exit $ac_status); } &&
3061 { ac_try
='test -z "$ac_c_werror_flag"
3062 || test ! -s conftest.err'
3063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3067 (exit $ac_status); }; } &&
3068 { ac_try
='test -s conftest.$ac_objext'
3069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3073 (exit $ac_status); }; }; then
3074 eval "$as_ac_Header=yes"
3076 echo "$as_me: failed program was:" >&5
3077 sed 's/^/| /' conftest.
$ac_ext >&5
3079 eval "$as_ac_Header=no"
3081 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3084 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3085 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3086 cat >>confdefs.h
<<_ACEOF
3087 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3102 for ac_header
in stddef.h stdlib.h
strings.h unistd.h fcntl.h sys
/file.h \
3105 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3106 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3107 echo "$as_me:$LINENO: checking for $ac_header" >&5
3108 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3109 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3110 echo $ECHO_N "(cached) $ECHO_C" >&6
3112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3113 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3115 # Is the header compilable?
3116 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3117 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3118 cat >conftest.
$ac_ext <<_ACEOF
3121 cat confdefs.h
>>conftest.
$ac_ext
3122 cat >>conftest.
$ac_ext <<_ACEOF
3123 /* end confdefs.h. */
3124 $ac_includes_default
3125 #include <$ac_header>
3127 rm -f conftest.
$ac_objext
3128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3129 (eval $ac_compile) 2>conftest.er1
3131 grep -v '^ *+' conftest.er1
>conftest.err
3133 cat conftest.err
>&5
3134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3135 (exit $ac_status); } &&
3136 { ac_try
='test -z "$ac_c_werror_flag"
3137 || test ! -s conftest.err'
3138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3142 (exit $ac_status); }; } &&
3143 { ac_try
='test -s conftest.$ac_objext'
3144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3148 (exit $ac_status); }; }; then
3149 ac_header_compiler
=yes
3151 echo "$as_me: failed program was:" >&5
3152 sed 's/^/| /' conftest.
$ac_ext >&5
3154 ac_header_compiler
=no
3156 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3157 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3158 echo "${ECHO_T}$ac_header_compiler" >&6
3160 # Is the header present?
3161 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3162 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3163 cat >conftest.
$ac_ext <<_ACEOF
3166 cat confdefs.h
>>conftest.
$ac_ext
3167 cat >>conftest.
$ac_ext <<_ACEOF
3168 /* end confdefs.h. */
3169 #include <$ac_header>
3171 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3172 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3174 grep -v '^ *+' conftest.er1
>conftest.err
3176 cat conftest.err
>&5
3177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3178 (exit $ac_status); } >/dev
/null
; then
3179 if test -s conftest.err
; then
3180 ac_cpp_err
=$ac_c_preproc_warn_flag
3181 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3188 if test -z "$ac_cpp_err"; then
3189 ac_header_preproc
=yes
3191 echo "$as_me: failed program was:" >&5
3192 sed 's/^/| /' conftest.
$ac_ext >&5
3194 ac_header_preproc
=no
3196 rm -f conftest.err conftest.
$ac_ext
3197 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3198 echo "${ECHO_T}$ac_header_preproc" >&6
3200 # So? What about this header?
3201 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3203 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3204 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3205 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3206 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3207 ac_header_preproc
=yes
3210 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3211 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3212 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3213 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3214 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3215 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3216 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3217 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3218 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3219 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3220 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3221 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3224 ## -------------------------------------- ##
3225 ## Report this to the fixincludes lists. ##
3226 ## -------------------------------------- ##
3229 sed "s/^/$as_me: WARNING: /" >&2
3232 echo "$as_me:$LINENO: checking for $ac_header" >&5
3233 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3234 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3235 echo $ECHO_N "(cached) $ECHO_C" >&6
3237 eval "$as_ac_Header=\$ac_header_preproc"
3239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3240 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3243 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3244 cat >>confdefs.h
<<_ACEOF
3245 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3269 for ac_func
in clearerr_unlocked feof_unlocked ferror_unlocked fflush_unlocked fgetc_unlocked fgets_unlocked fileno_unlocked fprintf_unlocked fputc_unlocked fputs_unlocked fread_unlocked fwrite_unlocked getchar_unlocked getc_unlocked putchar_unlocked putc_unlocked
3271 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3272 echo "$as_me:$LINENO: checking for $ac_func" >&5
3273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3274 if eval "test \"\${$as_ac_var+set}\" = set"; then
3275 echo $ECHO_N "(cached) $ECHO_C" >&6
3277 cat >conftest.
$ac_ext <<_ACEOF
3280 cat confdefs.h
>>conftest.
$ac_ext
3281 cat >>conftest.
$ac_ext <<_ACEOF
3282 /* end confdefs.h. */
3283 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3284 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3285 #define $ac_func innocuous_$ac_func
3287 /* System header to define __stub macros and hopefully few prototypes,
3288 which can conflict with char $ac_func (); below.
3289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3290 <limits.h> exists even on freestanding compilers. */
3293 # include <limits.h>
3295 # include <assert.h>
3300 /* Override any gcc2 internal prototype to avoid an error. */
3305 /* We use char because int might match the return type of a gcc2
3306 builtin and then its argument prototype would still apply. */
3308 /* The GNU C library defines this for functions which it implements
3309 to always fail with ENOSYS. Some functions are actually named
3310 something starting with __ and the normal name is an alias. */
3311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3314 char (*f) () = $ac_func;
3323 return f != $ac_func;
3328 rm -f conftest.
$ac_objext conftest
$ac_exeext
3329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3330 (eval $ac_link) 2>conftest.er1
3332 grep -v '^ *+' conftest.er1
>conftest.err
3334 cat conftest.err
>&5
3335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3336 (exit $ac_status); } &&
3337 { ac_try
='test -z "$ac_c_werror_flag"
3338 || test ! -s conftest.err'
3339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3343 (exit $ac_status); }; } &&
3344 { ac_try
='test -s conftest$ac_exeext'
3345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3349 (exit $ac_status); }; }; then
3350 eval "$as_ac_var=yes"
3352 echo "$as_me: failed program was:" >&5
3353 sed 's/^/| /' conftest.
$ac_ext >&5
3355 eval "$as_ac_var=no"
3357 rm -f conftest.err conftest.
$ac_objext \
3358 conftest
$ac_exeext conftest.
$ac_ext
3360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3361 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3362 if test `eval echo '${'$as_ac_var'}'` = yes; then
3363 cat >>confdefs.h
<<_ACEOF
3364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3370 echo "$as_me:$LINENO: checking whether abort is declared" >&5
3371 echo $ECHO_N "checking whether abort is declared... $ECHO_C" >&6
3372 if test "${ac_cv_have_decl_abort+set}" = set; then
3373 echo $ECHO_N "(cached) $ECHO_C" >&6
3375 cat >conftest.
$ac_ext <<_ACEOF
3378 cat confdefs.h
>>conftest.
$ac_ext
3379 cat >>conftest.
$ac_ext <<_ACEOF
3380 /* end confdefs.h. */
3381 $ac_includes_default
3386 char *p = (char *) abort;
3393 rm -f conftest.
$ac_objext
3394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3395 (eval $ac_compile) 2>conftest.er1
3397 grep -v '^ *+' conftest.er1
>conftest.err
3399 cat conftest.err
>&5
3400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3401 (exit $ac_status); } &&
3402 { ac_try
='test -z "$ac_c_werror_flag"
3403 || test ! -s conftest.err'
3404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3408 (exit $ac_status); }; } &&
3409 { ac_try
='test -s conftest.$ac_objext'
3410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3414 (exit $ac_status); }; }; then
3415 ac_cv_have_decl_abort
=yes
3417 echo "$as_me: failed program was:" >&5
3418 sed 's/^/| /' conftest.
$ac_ext >&5
3420 ac_cv_have_decl_abort
=no
3422 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3424 echo "$as_me:$LINENO: result: $ac_cv_have_decl_abort" >&5
3425 echo "${ECHO_T}$ac_cv_have_decl_abort" >&6
3426 if test $ac_cv_have_decl_abort = yes; then
3428 cat >>confdefs.h
<<_ACEOF
3429 #define HAVE_DECL_ABORT 1
3434 cat >>confdefs.h
<<_ACEOF
3435 #define HAVE_DECL_ABORT 0
3440 echo "$as_me:$LINENO: checking whether asprintf is declared" >&5
3441 echo $ECHO_N "checking whether asprintf is declared... $ECHO_C" >&6
3442 if test "${ac_cv_have_decl_asprintf+set}" = set; then
3443 echo $ECHO_N "(cached) $ECHO_C" >&6
3445 cat >conftest.
$ac_ext <<_ACEOF
3448 cat confdefs.h
>>conftest.
$ac_ext
3449 cat >>conftest.
$ac_ext <<_ACEOF
3450 /* end confdefs.h. */
3451 $ac_includes_default
3456 char *p = (char *) asprintf;
3463 rm -f conftest.
$ac_objext
3464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3465 (eval $ac_compile) 2>conftest.er1
3467 grep -v '^ *+' conftest.er1
>conftest.err
3469 cat conftest.err
>&5
3470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3471 (exit $ac_status); } &&
3472 { ac_try
='test -z "$ac_c_werror_flag"
3473 || test ! -s conftest.err'
3474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3478 (exit $ac_status); }; } &&
3479 { ac_try
='test -s conftest.$ac_objext'
3480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3484 (exit $ac_status); }; }; then
3485 ac_cv_have_decl_asprintf
=yes
3487 echo "$as_me: failed program was:" >&5
3488 sed 's/^/| /' conftest.
$ac_ext >&5
3490 ac_cv_have_decl_asprintf
=no
3492 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3494 echo "$as_me:$LINENO: result: $ac_cv_have_decl_asprintf" >&5
3495 echo "${ECHO_T}$ac_cv_have_decl_asprintf" >&6
3496 if test $ac_cv_have_decl_asprintf = yes; then
3498 cat >>confdefs.h
<<_ACEOF
3499 #define HAVE_DECL_ASPRINTF 1
3504 cat >>confdefs.h
<<_ACEOF
3505 #define HAVE_DECL_ASPRINTF 0
3510 echo "$as_me:$LINENO: checking whether basename is declared" >&5
3511 echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6
3512 if test "${ac_cv_have_decl_basename+set}" = set; then
3513 echo $ECHO_N "(cached) $ECHO_C" >&6
3515 cat >conftest.
$ac_ext <<_ACEOF
3518 cat confdefs.h
>>conftest.
$ac_ext
3519 cat >>conftest.
$ac_ext <<_ACEOF
3520 /* end confdefs.h. */
3521 $ac_includes_default
3526 char *p = (char *) basename;
3533 rm -f conftest.
$ac_objext
3534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3535 (eval $ac_compile) 2>conftest.er1
3537 grep -v '^ *+' conftest.er1
>conftest.err
3539 cat conftest.err
>&5
3540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3541 (exit $ac_status); } &&
3542 { ac_try
='test -z "$ac_c_werror_flag"
3543 || test ! -s conftest.err'
3544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3548 (exit $ac_status); }; } &&
3549 { ac_try
='test -s conftest.$ac_objext'
3550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3554 (exit $ac_status); }; }; then
3555 ac_cv_have_decl_basename
=yes
3557 echo "$as_me: failed program was:" >&5
3558 sed 's/^/| /' conftest.
$ac_ext >&5
3560 ac_cv_have_decl_basename
=no
3562 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3564 echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
3565 echo "${ECHO_T}$ac_cv_have_decl_basename" >&6
3566 if test $ac_cv_have_decl_basename = yes; then
3568 cat >>confdefs.h
<<_ACEOF
3569 #define HAVE_DECL_BASENAME 1
3574 cat >>confdefs.h
<<_ACEOF
3575 #define HAVE_DECL_BASENAME 0
3580 echo "$as_me:$LINENO: checking whether errno is declared" >&5
3581 echo $ECHO_N "checking whether errno is declared... $ECHO_C" >&6
3582 if test "${ac_cv_have_decl_errno+set}" = set; then
3583 echo $ECHO_N "(cached) $ECHO_C" >&6
3585 cat >conftest.
$ac_ext <<_ACEOF
3588 cat confdefs.h
>>conftest.
$ac_ext
3589 cat >>conftest.
$ac_ext <<_ACEOF
3590 /* end confdefs.h. */
3591 $ac_includes_default
3596 char *p = (char *) errno;
3603 rm -f conftest.
$ac_objext
3604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3605 (eval $ac_compile) 2>conftest.er1
3607 grep -v '^ *+' conftest.er1
>conftest.err
3609 cat conftest.err
>&5
3610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3611 (exit $ac_status); } &&
3612 { ac_try
='test -z "$ac_c_werror_flag"
3613 || test ! -s conftest.err'
3614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3618 (exit $ac_status); }; } &&
3619 { ac_try
='test -s conftest.$ac_objext'
3620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3624 (exit $ac_status); }; }; then
3625 ac_cv_have_decl_errno
=yes
3627 echo "$as_me: failed program was:" >&5
3628 sed 's/^/| /' conftest.
$ac_ext >&5
3630 ac_cv_have_decl_errno
=no
3632 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3634 echo "$as_me:$LINENO: result: $ac_cv_have_decl_errno" >&5
3635 echo "${ECHO_T}$ac_cv_have_decl_errno" >&6
3636 if test $ac_cv_have_decl_errno = yes; then
3638 cat >>confdefs.h
<<_ACEOF
3639 #define HAVE_DECL_ERRNO 1
3644 cat >>confdefs.h
<<_ACEOF
3645 #define HAVE_DECL_ERRNO 0
3650 echo "$as_me:$LINENO: checking whether vasprintf is declared" >&5
3651 echo $ECHO_N "checking whether vasprintf is declared... $ECHO_C" >&6
3652 if test "${ac_cv_have_decl_vasprintf+set}" = set; then
3653 echo $ECHO_N "(cached) $ECHO_C" >&6
3655 cat >conftest.
$ac_ext <<_ACEOF
3658 cat confdefs.h
>>conftest.
$ac_ext
3659 cat >>conftest.
$ac_ext <<_ACEOF
3660 /* end confdefs.h. */
3661 $ac_includes_default
3666 char *p = (char *) vasprintf;
3673 rm -f conftest.
$ac_objext
3674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3675 (eval $ac_compile) 2>conftest.er1
3677 grep -v '^ *+' conftest.er1
>conftest.err
3679 cat conftest.err
>&5
3680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3681 (exit $ac_status); } &&
3682 { ac_try
='test -z "$ac_c_werror_flag"
3683 || test ! -s conftest.err'
3684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3688 (exit $ac_status); }; } &&
3689 { ac_try
='test -s conftest.$ac_objext'
3690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3694 (exit $ac_status); }; }; then
3695 ac_cv_have_decl_vasprintf
=yes
3697 echo "$as_me: failed program was:" >&5
3698 sed 's/^/| /' conftest.
$ac_ext >&5
3700 ac_cv_have_decl_vasprintf
=no
3702 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3704 echo "$as_me:$LINENO: result: $ac_cv_have_decl_vasprintf" >&5
3705 echo "${ECHO_T}$ac_cv_have_decl_vasprintf" >&6
3706 if test $ac_cv_have_decl_vasprintf = yes; then
3708 cat >>confdefs.h
<<_ACEOF
3709 #define HAVE_DECL_VASPRINTF 1
3714 cat >>confdefs.h
<<_ACEOF
3715 #define HAVE_DECL_VASPRINTF 0
3720 echo "$as_me:$LINENO: checking whether clearerr_unlocked is declared" >&5
3721 echo $ECHO_N "checking whether clearerr_unlocked is declared... $ECHO_C" >&6
3722 if test "${ac_cv_have_decl_clearerr_unlocked+set}" = set; then
3723 echo $ECHO_N "(cached) $ECHO_C" >&6
3725 cat >conftest.
$ac_ext <<_ACEOF
3728 cat confdefs.h
>>conftest.
$ac_ext
3729 cat >>conftest.
$ac_ext <<_ACEOF
3730 /* end confdefs.h. */
3731 $ac_includes_default
3735 #ifndef clearerr_unlocked
3736 char *p = (char *) clearerr_unlocked;
3743 rm -f conftest.
$ac_objext
3744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3745 (eval $ac_compile) 2>conftest.er1
3747 grep -v '^ *+' conftest.er1
>conftest.err
3749 cat conftest.err
>&5
3750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3751 (exit $ac_status); } &&
3752 { ac_try
='test -z "$ac_c_werror_flag"
3753 || test ! -s conftest.err'
3754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3758 (exit $ac_status); }; } &&
3759 { ac_try
='test -s conftest.$ac_objext'
3760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3764 (exit $ac_status); }; }; then
3765 ac_cv_have_decl_clearerr_unlocked
=yes
3767 echo "$as_me: failed program was:" >&5
3768 sed 's/^/| /' conftest.
$ac_ext >&5
3770 ac_cv_have_decl_clearerr_unlocked
=no
3772 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3774 echo "$as_me:$LINENO: result: $ac_cv_have_decl_clearerr_unlocked" >&5
3775 echo "${ECHO_T}$ac_cv_have_decl_clearerr_unlocked" >&6
3776 if test $ac_cv_have_decl_clearerr_unlocked = yes; then
3778 cat >>confdefs.h
<<_ACEOF
3779 #define HAVE_DECL_CLEARERR_UNLOCKED 1
3784 cat >>confdefs.h
<<_ACEOF
3785 #define HAVE_DECL_CLEARERR_UNLOCKED 0
3790 echo "$as_me:$LINENO: checking whether feof_unlocked is declared" >&5
3791 echo $ECHO_N "checking whether feof_unlocked is declared... $ECHO_C" >&6
3792 if test "${ac_cv_have_decl_feof_unlocked+set}" = set; then
3793 echo $ECHO_N "(cached) $ECHO_C" >&6
3795 cat >conftest.
$ac_ext <<_ACEOF
3798 cat confdefs.h
>>conftest.
$ac_ext
3799 cat >>conftest.
$ac_ext <<_ACEOF
3800 /* end confdefs.h. */
3801 $ac_includes_default
3805 #ifndef feof_unlocked
3806 char *p = (char *) feof_unlocked;
3813 rm -f conftest.
$ac_objext
3814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3815 (eval $ac_compile) 2>conftest.er1
3817 grep -v '^ *+' conftest.er1
>conftest.err
3819 cat conftest.err
>&5
3820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3821 (exit $ac_status); } &&
3822 { ac_try
='test -z "$ac_c_werror_flag"
3823 || test ! -s conftest.err'
3824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3828 (exit $ac_status); }; } &&
3829 { ac_try
='test -s conftest.$ac_objext'
3830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3834 (exit $ac_status); }; }; then
3835 ac_cv_have_decl_feof_unlocked
=yes
3837 echo "$as_me: failed program was:" >&5
3838 sed 's/^/| /' conftest.
$ac_ext >&5
3840 ac_cv_have_decl_feof_unlocked
=no
3842 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3844 echo "$as_me:$LINENO: result: $ac_cv_have_decl_feof_unlocked" >&5
3845 echo "${ECHO_T}$ac_cv_have_decl_feof_unlocked" >&6
3846 if test $ac_cv_have_decl_feof_unlocked = yes; then
3848 cat >>confdefs.h
<<_ACEOF
3849 #define HAVE_DECL_FEOF_UNLOCKED 1
3854 cat >>confdefs.h
<<_ACEOF
3855 #define HAVE_DECL_FEOF_UNLOCKED 0
3860 echo "$as_me:$LINENO: checking whether ferror_unlocked is declared" >&5
3861 echo $ECHO_N "checking whether ferror_unlocked is declared... $ECHO_C" >&6
3862 if test "${ac_cv_have_decl_ferror_unlocked+set}" = set; then
3863 echo $ECHO_N "(cached) $ECHO_C" >&6
3865 cat >conftest.
$ac_ext <<_ACEOF
3868 cat confdefs.h
>>conftest.
$ac_ext
3869 cat >>conftest.
$ac_ext <<_ACEOF
3870 /* end confdefs.h. */
3871 $ac_includes_default
3875 #ifndef ferror_unlocked
3876 char *p = (char *) ferror_unlocked;
3883 rm -f conftest.
$ac_objext
3884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3885 (eval $ac_compile) 2>conftest.er1
3887 grep -v '^ *+' conftest.er1
>conftest.err
3889 cat conftest.err
>&5
3890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3891 (exit $ac_status); } &&
3892 { ac_try
='test -z "$ac_c_werror_flag"
3893 || test ! -s conftest.err'
3894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3898 (exit $ac_status); }; } &&
3899 { ac_try
='test -s conftest.$ac_objext'
3900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3904 (exit $ac_status); }; }; then
3905 ac_cv_have_decl_ferror_unlocked
=yes
3907 echo "$as_me: failed program was:" >&5
3908 sed 's/^/| /' conftest.
$ac_ext >&5
3910 ac_cv_have_decl_ferror_unlocked
=no
3912 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3914 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ferror_unlocked" >&5
3915 echo "${ECHO_T}$ac_cv_have_decl_ferror_unlocked" >&6
3916 if test $ac_cv_have_decl_ferror_unlocked = yes; then
3918 cat >>confdefs.h
<<_ACEOF
3919 #define HAVE_DECL_FERROR_UNLOCKED 1
3924 cat >>confdefs.h
<<_ACEOF
3925 #define HAVE_DECL_FERROR_UNLOCKED 0
3930 echo "$as_me:$LINENO: checking whether fflush_unlocked is declared" >&5
3931 echo $ECHO_N "checking whether fflush_unlocked is declared... $ECHO_C" >&6
3932 if test "${ac_cv_have_decl_fflush_unlocked+set}" = set; then
3933 echo $ECHO_N "(cached) $ECHO_C" >&6
3935 cat >conftest.
$ac_ext <<_ACEOF
3938 cat confdefs.h
>>conftest.
$ac_ext
3939 cat >>conftest.
$ac_ext <<_ACEOF
3940 /* end confdefs.h. */
3941 $ac_includes_default
3945 #ifndef fflush_unlocked
3946 char *p = (char *) fflush_unlocked;
3953 rm -f conftest.
$ac_objext
3954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3955 (eval $ac_compile) 2>conftest.er1
3957 grep -v '^ *+' conftest.er1
>conftest.err
3959 cat conftest.err
>&5
3960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3961 (exit $ac_status); } &&
3962 { ac_try
='test -z "$ac_c_werror_flag"
3963 || test ! -s conftest.err'
3964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3968 (exit $ac_status); }; } &&
3969 { ac_try
='test -s conftest.$ac_objext'
3970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3974 (exit $ac_status); }; }; then
3975 ac_cv_have_decl_fflush_unlocked
=yes
3977 echo "$as_me: failed program was:" >&5
3978 sed 's/^/| /' conftest.
$ac_ext >&5
3980 ac_cv_have_decl_fflush_unlocked
=no
3982 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3984 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fflush_unlocked" >&5
3985 echo "${ECHO_T}$ac_cv_have_decl_fflush_unlocked" >&6
3986 if test $ac_cv_have_decl_fflush_unlocked = yes; then
3988 cat >>confdefs.h
<<_ACEOF
3989 #define HAVE_DECL_FFLUSH_UNLOCKED 1
3994 cat >>confdefs.h
<<_ACEOF
3995 #define HAVE_DECL_FFLUSH_UNLOCKED 0
4000 echo "$as_me:$LINENO: checking whether fgetc_unlocked is declared" >&5
4001 echo $ECHO_N "checking whether fgetc_unlocked is declared... $ECHO_C" >&6
4002 if test "${ac_cv_have_decl_fgetc_unlocked+set}" = set; then
4003 echo $ECHO_N "(cached) $ECHO_C" >&6
4005 cat >conftest.
$ac_ext <<_ACEOF
4008 cat confdefs.h
>>conftest.
$ac_ext
4009 cat >>conftest.
$ac_ext <<_ACEOF
4010 /* end confdefs.h. */
4011 $ac_includes_default
4015 #ifndef fgetc_unlocked
4016 char *p = (char *) fgetc_unlocked;
4023 rm -f conftest.
$ac_objext
4024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4025 (eval $ac_compile) 2>conftest.er1
4027 grep -v '^ *+' conftest.er1
>conftest.err
4029 cat conftest.err
>&5
4030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4031 (exit $ac_status); } &&
4032 { ac_try
='test -z "$ac_c_werror_flag"
4033 || test ! -s conftest.err'
4034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4038 (exit $ac_status); }; } &&
4039 { ac_try
='test -s conftest.$ac_objext'
4040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4044 (exit $ac_status); }; }; then
4045 ac_cv_have_decl_fgetc_unlocked
=yes
4047 echo "$as_me: failed program was:" >&5
4048 sed 's/^/| /' conftest.
$ac_ext >&5
4050 ac_cv_have_decl_fgetc_unlocked
=no
4052 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4054 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fgetc_unlocked" >&5
4055 echo "${ECHO_T}$ac_cv_have_decl_fgetc_unlocked" >&6
4056 if test $ac_cv_have_decl_fgetc_unlocked = yes; then
4058 cat >>confdefs.h
<<_ACEOF
4059 #define HAVE_DECL_FGETC_UNLOCKED 1
4064 cat >>confdefs.h
<<_ACEOF
4065 #define HAVE_DECL_FGETC_UNLOCKED 0
4070 echo "$as_me:$LINENO: checking whether fgets_unlocked is declared" >&5
4071 echo $ECHO_N "checking whether fgets_unlocked is declared... $ECHO_C" >&6
4072 if test "${ac_cv_have_decl_fgets_unlocked+set}" = set; then
4073 echo $ECHO_N "(cached) $ECHO_C" >&6
4075 cat >conftest.
$ac_ext <<_ACEOF
4078 cat confdefs.h
>>conftest.
$ac_ext
4079 cat >>conftest.
$ac_ext <<_ACEOF
4080 /* end confdefs.h. */
4081 $ac_includes_default
4085 #ifndef fgets_unlocked
4086 char *p = (char *) fgets_unlocked;
4093 rm -f conftest.
$ac_objext
4094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4095 (eval $ac_compile) 2>conftest.er1
4097 grep -v '^ *+' conftest.er1
>conftest.err
4099 cat conftest.err
>&5
4100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4101 (exit $ac_status); } &&
4102 { ac_try
='test -z "$ac_c_werror_flag"
4103 || test ! -s conftest.err'
4104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4108 (exit $ac_status); }; } &&
4109 { ac_try
='test -s conftest.$ac_objext'
4110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4114 (exit $ac_status); }; }; then
4115 ac_cv_have_decl_fgets_unlocked
=yes
4117 echo "$as_me: failed program was:" >&5
4118 sed 's/^/| /' conftest.
$ac_ext >&5
4120 ac_cv_have_decl_fgets_unlocked
=no
4122 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4124 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fgets_unlocked" >&5
4125 echo "${ECHO_T}$ac_cv_have_decl_fgets_unlocked" >&6
4126 if test $ac_cv_have_decl_fgets_unlocked = yes; then
4128 cat >>confdefs.h
<<_ACEOF
4129 #define HAVE_DECL_FGETS_UNLOCKED 1
4134 cat >>confdefs.h
<<_ACEOF
4135 #define HAVE_DECL_FGETS_UNLOCKED 0
4140 echo "$as_me:$LINENO: checking whether fileno_unlocked is declared" >&5
4141 echo $ECHO_N "checking whether fileno_unlocked is declared... $ECHO_C" >&6
4142 if test "${ac_cv_have_decl_fileno_unlocked+set}" = set; then
4143 echo $ECHO_N "(cached) $ECHO_C" >&6
4145 cat >conftest.
$ac_ext <<_ACEOF
4148 cat confdefs.h
>>conftest.
$ac_ext
4149 cat >>conftest.
$ac_ext <<_ACEOF
4150 /* end confdefs.h. */
4151 $ac_includes_default
4155 #ifndef fileno_unlocked
4156 char *p = (char *) fileno_unlocked;
4163 rm -f conftest.
$ac_objext
4164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4165 (eval $ac_compile) 2>conftest.er1
4167 grep -v '^ *+' conftest.er1
>conftest.err
4169 cat conftest.err
>&5
4170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4171 (exit $ac_status); } &&
4172 { ac_try
='test -z "$ac_c_werror_flag"
4173 || test ! -s conftest.err'
4174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4178 (exit $ac_status); }; } &&
4179 { ac_try
='test -s conftest.$ac_objext'
4180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4184 (exit $ac_status); }; }; then
4185 ac_cv_have_decl_fileno_unlocked
=yes
4187 echo "$as_me: failed program was:" >&5
4188 sed 's/^/| /' conftest.
$ac_ext >&5
4190 ac_cv_have_decl_fileno_unlocked
=no
4192 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4194 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fileno_unlocked" >&5
4195 echo "${ECHO_T}$ac_cv_have_decl_fileno_unlocked" >&6
4196 if test $ac_cv_have_decl_fileno_unlocked = yes; then
4198 cat >>confdefs.h
<<_ACEOF
4199 #define HAVE_DECL_FILENO_UNLOCKED 1
4204 cat >>confdefs.h
<<_ACEOF
4205 #define HAVE_DECL_FILENO_UNLOCKED 0
4210 echo "$as_me:$LINENO: checking whether fprintf_unlocked is declared" >&5
4211 echo $ECHO_N "checking whether fprintf_unlocked is declared... $ECHO_C" >&6
4212 if test "${ac_cv_have_decl_fprintf_unlocked+set}" = set; then
4213 echo $ECHO_N "(cached) $ECHO_C" >&6
4215 cat >conftest.
$ac_ext <<_ACEOF
4218 cat confdefs.h
>>conftest.
$ac_ext
4219 cat >>conftest.
$ac_ext <<_ACEOF
4220 /* end confdefs.h. */
4221 $ac_includes_default
4225 #ifndef fprintf_unlocked
4226 char *p = (char *) fprintf_unlocked;
4233 rm -f conftest.
$ac_objext
4234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4235 (eval $ac_compile) 2>conftest.er1
4237 grep -v '^ *+' conftest.er1
>conftest.err
4239 cat conftest.err
>&5
4240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4241 (exit $ac_status); } &&
4242 { ac_try
='test -z "$ac_c_werror_flag"
4243 || test ! -s conftest.err'
4244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4248 (exit $ac_status); }; } &&
4249 { ac_try
='test -s conftest.$ac_objext'
4250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4254 (exit $ac_status); }; }; then
4255 ac_cv_have_decl_fprintf_unlocked
=yes
4257 echo "$as_me: failed program was:" >&5
4258 sed 's/^/| /' conftest.
$ac_ext >&5
4260 ac_cv_have_decl_fprintf_unlocked
=no
4262 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4264 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fprintf_unlocked" >&5
4265 echo "${ECHO_T}$ac_cv_have_decl_fprintf_unlocked" >&6
4266 if test $ac_cv_have_decl_fprintf_unlocked = yes; then
4268 cat >>confdefs.h
<<_ACEOF
4269 #define HAVE_DECL_FPRINTF_UNLOCKED 1
4274 cat >>confdefs.h
<<_ACEOF
4275 #define HAVE_DECL_FPRINTF_UNLOCKED 0
4280 echo "$as_me:$LINENO: checking whether fputc_unlocked is declared" >&5
4281 echo $ECHO_N "checking whether fputc_unlocked is declared... $ECHO_C" >&6
4282 if test "${ac_cv_have_decl_fputc_unlocked+set}" = set; then
4283 echo $ECHO_N "(cached) $ECHO_C" >&6
4285 cat >conftest.
$ac_ext <<_ACEOF
4288 cat confdefs.h
>>conftest.
$ac_ext
4289 cat >>conftest.
$ac_ext <<_ACEOF
4290 /* end confdefs.h. */
4291 $ac_includes_default
4295 #ifndef fputc_unlocked
4296 char *p = (char *) fputc_unlocked;
4303 rm -f conftest.
$ac_objext
4304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4305 (eval $ac_compile) 2>conftest.er1
4307 grep -v '^ *+' conftest.er1
>conftest.err
4309 cat conftest.err
>&5
4310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4311 (exit $ac_status); } &&
4312 { ac_try
='test -z "$ac_c_werror_flag"
4313 || test ! -s conftest.err'
4314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4318 (exit $ac_status); }; } &&
4319 { ac_try
='test -s conftest.$ac_objext'
4320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4324 (exit $ac_status); }; }; then
4325 ac_cv_have_decl_fputc_unlocked
=yes
4327 echo "$as_me: failed program was:" >&5
4328 sed 's/^/| /' conftest.
$ac_ext >&5
4330 ac_cv_have_decl_fputc_unlocked
=no
4332 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4334 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fputc_unlocked" >&5
4335 echo "${ECHO_T}$ac_cv_have_decl_fputc_unlocked" >&6
4336 if test $ac_cv_have_decl_fputc_unlocked = yes; then
4338 cat >>confdefs.h
<<_ACEOF
4339 #define HAVE_DECL_FPUTC_UNLOCKED 1
4344 cat >>confdefs.h
<<_ACEOF
4345 #define HAVE_DECL_FPUTC_UNLOCKED 0
4350 echo "$as_me:$LINENO: checking whether fputs_unlocked is declared" >&5
4351 echo $ECHO_N "checking whether fputs_unlocked is declared... $ECHO_C" >&6
4352 if test "${ac_cv_have_decl_fputs_unlocked+set}" = set; then
4353 echo $ECHO_N "(cached) $ECHO_C" >&6
4355 cat >conftest.
$ac_ext <<_ACEOF
4358 cat confdefs.h
>>conftest.
$ac_ext
4359 cat >>conftest.
$ac_ext <<_ACEOF
4360 /* end confdefs.h. */
4361 $ac_includes_default
4365 #ifndef fputs_unlocked
4366 char *p = (char *) fputs_unlocked;
4373 rm -f conftest.
$ac_objext
4374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4375 (eval $ac_compile) 2>conftest.er1
4377 grep -v '^ *+' conftest.er1
>conftest.err
4379 cat conftest.err
>&5
4380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4381 (exit $ac_status); } &&
4382 { ac_try
='test -z "$ac_c_werror_flag"
4383 || test ! -s conftest.err'
4384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4388 (exit $ac_status); }; } &&
4389 { ac_try
='test -s conftest.$ac_objext'
4390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4394 (exit $ac_status); }; }; then
4395 ac_cv_have_decl_fputs_unlocked
=yes
4397 echo "$as_me: failed program was:" >&5
4398 sed 's/^/| /' conftest.
$ac_ext >&5
4400 ac_cv_have_decl_fputs_unlocked
=no
4402 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4404 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fputs_unlocked" >&5
4405 echo "${ECHO_T}$ac_cv_have_decl_fputs_unlocked" >&6
4406 if test $ac_cv_have_decl_fputs_unlocked = yes; then
4408 cat >>confdefs.h
<<_ACEOF
4409 #define HAVE_DECL_FPUTS_UNLOCKED 1
4414 cat >>confdefs.h
<<_ACEOF
4415 #define HAVE_DECL_FPUTS_UNLOCKED 0
4420 echo "$as_me:$LINENO: checking whether fread_unlocked is declared" >&5
4421 echo $ECHO_N "checking whether fread_unlocked is declared... $ECHO_C" >&6
4422 if test "${ac_cv_have_decl_fread_unlocked+set}" = set; then
4423 echo $ECHO_N "(cached) $ECHO_C" >&6
4425 cat >conftest.
$ac_ext <<_ACEOF
4428 cat confdefs.h
>>conftest.
$ac_ext
4429 cat >>conftest.
$ac_ext <<_ACEOF
4430 /* end confdefs.h. */
4431 $ac_includes_default
4435 #ifndef fread_unlocked
4436 char *p = (char *) fread_unlocked;
4443 rm -f conftest.
$ac_objext
4444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4445 (eval $ac_compile) 2>conftest.er1
4447 grep -v '^ *+' conftest.er1
>conftest.err
4449 cat conftest.err
>&5
4450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4451 (exit $ac_status); } &&
4452 { ac_try
='test -z "$ac_c_werror_flag"
4453 || test ! -s conftest.err'
4454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4458 (exit $ac_status); }; } &&
4459 { ac_try
='test -s conftest.$ac_objext'
4460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4464 (exit $ac_status); }; }; then
4465 ac_cv_have_decl_fread_unlocked
=yes
4467 echo "$as_me: failed program was:" >&5
4468 sed 's/^/| /' conftest.
$ac_ext >&5
4470 ac_cv_have_decl_fread_unlocked
=no
4472 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4474 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fread_unlocked" >&5
4475 echo "${ECHO_T}$ac_cv_have_decl_fread_unlocked" >&6
4476 if test $ac_cv_have_decl_fread_unlocked = yes; then
4478 cat >>confdefs.h
<<_ACEOF
4479 #define HAVE_DECL_FREAD_UNLOCKED 1
4484 cat >>confdefs.h
<<_ACEOF
4485 #define HAVE_DECL_FREAD_UNLOCKED 0
4490 echo "$as_me:$LINENO: checking whether fwrite_unlocked is declared" >&5
4491 echo $ECHO_N "checking whether fwrite_unlocked is declared... $ECHO_C" >&6
4492 if test "${ac_cv_have_decl_fwrite_unlocked+set}" = set; then
4493 echo $ECHO_N "(cached) $ECHO_C" >&6
4495 cat >conftest.
$ac_ext <<_ACEOF
4498 cat confdefs.h
>>conftest.
$ac_ext
4499 cat >>conftest.
$ac_ext <<_ACEOF
4500 /* end confdefs.h. */
4501 $ac_includes_default
4505 #ifndef fwrite_unlocked
4506 char *p = (char *) fwrite_unlocked;
4513 rm -f conftest.
$ac_objext
4514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4515 (eval $ac_compile) 2>conftest.er1
4517 grep -v '^ *+' conftest.er1
>conftest.err
4519 cat conftest.err
>&5
4520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4521 (exit $ac_status); } &&
4522 { ac_try
='test -z "$ac_c_werror_flag"
4523 || test ! -s conftest.err'
4524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4528 (exit $ac_status); }; } &&
4529 { ac_try
='test -s conftest.$ac_objext'
4530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4534 (exit $ac_status); }; }; then
4535 ac_cv_have_decl_fwrite_unlocked
=yes
4537 echo "$as_me: failed program was:" >&5
4538 sed 's/^/| /' conftest.
$ac_ext >&5
4540 ac_cv_have_decl_fwrite_unlocked
=no
4542 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4544 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fwrite_unlocked" >&5
4545 echo "${ECHO_T}$ac_cv_have_decl_fwrite_unlocked" >&6
4546 if test $ac_cv_have_decl_fwrite_unlocked = yes; then
4548 cat >>confdefs.h
<<_ACEOF
4549 #define HAVE_DECL_FWRITE_UNLOCKED 1
4554 cat >>confdefs.h
<<_ACEOF
4555 #define HAVE_DECL_FWRITE_UNLOCKED 0
4560 echo "$as_me:$LINENO: checking whether getchar_unlocked is declared" >&5
4561 echo $ECHO_N "checking whether getchar_unlocked is declared... $ECHO_C" >&6
4562 if test "${ac_cv_have_decl_getchar_unlocked+set}" = set; then
4563 echo $ECHO_N "(cached) $ECHO_C" >&6
4565 cat >conftest.
$ac_ext <<_ACEOF
4568 cat confdefs.h
>>conftest.
$ac_ext
4569 cat >>conftest.
$ac_ext <<_ACEOF
4570 /* end confdefs.h. */
4571 $ac_includes_default
4575 #ifndef getchar_unlocked
4576 char *p = (char *) getchar_unlocked;
4583 rm -f conftest.
$ac_objext
4584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4585 (eval $ac_compile) 2>conftest.er1
4587 grep -v '^ *+' conftest.er1
>conftest.err
4589 cat conftest.err
>&5
4590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4591 (exit $ac_status); } &&
4592 { ac_try
='test -z "$ac_c_werror_flag"
4593 || test ! -s conftest.err'
4594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4598 (exit $ac_status); }; } &&
4599 { ac_try
='test -s conftest.$ac_objext'
4600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4604 (exit $ac_status); }; }; then
4605 ac_cv_have_decl_getchar_unlocked
=yes
4607 echo "$as_me: failed program was:" >&5
4608 sed 's/^/| /' conftest.
$ac_ext >&5
4610 ac_cv_have_decl_getchar_unlocked
=no
4612 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4614 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getchar_unlocked" >&5
4615 echo "${ECHO_T}$ac_cv_have_decl_getchar_unlocked" >&6
4616 if test $ac_cv_have_decl_getchar_unlocked = yes; then
4618 cat >>confdefs.h
<<_ACEOF
4619 #define HAVE_DECL_GETCHAR_UNLOCKED 1
4624 cat >>confdefs.h
<<_ACEOF
4625 #define HAVE_DECL_GETCHAR_UNLOCKED 0
4630 echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5
4631 echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6
4632 if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then
4633 echo $ECHO_N "(cached) $ECHO_C" >&6
4635 cat >conftest.
$ac_ext <<_ACEOF
4638 cat confdefs.h
>>conftest.
$ac_ext
4639 cat >>conftest.
$ac_ext <<_ACEOF
4640 /* end confdefs.h. */
4641 $ac_includes_default
4645 #ifndef getc_unlocked
4646 char *p = (char *) getc_unlocked;
4653 rm -f conftest.
$ac_objext
4654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4655 (eval $ac_compile) 2>conftest.er1
4657 grep -v '^ *+' conftest.er1
>conftest.err
4659 cat conftest.err
>&5
4660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4661 (exit $ac_status); } &&
4662 { ac_try
='test -z "$ac_c_werror_flag"
4663 || test ! -s conftest.err'
4664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4668 (exit $ac_status); }; } &&
4669 { ac_try
='test -s conftest.$ac_objext'
4670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4674 (exit $ac_status); }; }; then
4675 ac_cv_have_decl_getc_unlocked
=yes
4677 echo "$as_me: failed program was:" >&5
4678 sed 's/^/| /' conftest.
$ac_ext >&5
4680 ac_cv_have_decl_getc_unlocked
=no
4682 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4684 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5
4685 echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6
4686 if test $ac_cv_have_decl_getc_unlocked = yes; then
4688 cat >>confdefs.h
<<_ACEOF
4689 #define HAVE_DECL_GETC_UNLOCKED 1
4694 cat >>confdefs.h
<<_ACEOF
4695 #define HAVE_DECL_GETC_UNLOCKED 0
4700 echo "$as_me:$LINENO: checking whether putchar_unlocked is declared" >&5
4701 echo $ECHO_N "checking whether putchar_unlocked is declared... $ECHO_C" >&6
4702 if test "${ac_cv_have_decl_putchar_unlocked+set}" = set; then
4703 echo $ECHO_N "(cached) $ECHO_C" >&6
4705 cat >conftest.
$ac_ext <<_ACEOF
4708 cat confdefs.h
>>conftest.
$ac_ext
4709 cat >>conftest.
$ac_ext <<_ACEOF
4710 /* end confdefs.h. */
4711 $ac_includes_default
4715 #ifndef putchar_unlocked
4716 char *p = (char *) putchar_unlocked;
4723 rm -f conftest.
$ac_objext
4724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4725 (eval $ac_compile) 2>conftest.er1
4727 grep -v '^ *+' conftest.er1
>conftest.err
4729 cat conftest.err
>&5
4730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4731 (exit $ac_status); } &&
4732 { ac_try
='test -z "$ac_c_werror_flag"
4733 || test ! -s conftest.err'
4734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4738 (exit $ac_status); }; } &&
4739 { ac_try
='test -s conftest.$ac_objext'
4740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4744 (exit $ac_status); }; }; then
4745 ac_cv_have_decl_putchar_unlocked
=yes
4747 echo "$as_me: failed program was:" >&5
4748 sed 's/^/| /' conftest.
$ac_ext >&5
4750 ac_cv_have_decl_putchar_unlocked
=no
4752 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4754 echo "$as_me:$LINENO: result: $ac_cv_have_decl_putchar_unlocked" >&5
4755 echo "${ECHO_T}$ac_cv_have_decl_putchar_unlocked" >&6
4756 if test $ac_cv_have_decl_putchar_unlocked = yes; then
4758 cat >>confdefs.h
<<_ACEOF
4759 #define HAVE_DECL_PUTCHAR_UNLOCKED 1
4764 cat >>confdefs.h
<<_ACEOF
4765 #define HAVE_DECL_PUTCHAR_UNLOCKED 0
4770 echo "$as_me:$LINENO: checking whether putc_unlocked is declared" >&5
4771 echo $ECHO_N "checking whether putc_unlocked is declared... $ECHO_C" >&6
4772 if test "${ac_cv_have_decl_putc_unlocked+set}" = set; then
4773 echo $ECHO_N "(cached) $ECHO_C" >&6
4775 cat >conftest.
$ac_ext <<_ACEOF
4778 cat confdefs.h
>>conftest.
$ac_ext
4779 cat >>conftest.
$ac_ext <<_ACEOF
4780 /* end confdefs.h. */
4781 $ac_includes_default
4785 #ifndef putc_unlocked
4786 char *p = (char *) putc_unlocked;
4793 rm -f conftest.
$ac_objext
4794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4795 (eval $ac_compile) 2>conftest.er1
4797 grep -v '^ *+' conftest.er1
>conftest.err
4799 cat conftest.err
>&5
4800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4801 (exit $ac_status); } &&
4802 { ac_try
='test -z "$ac_c_werror_flag"
4803 || test ! -s conftest.err'
4804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4808 (exit $ac_status); }; } &&
4809 { ac_try
='test -s conftest.$ac_objext'
4810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4814 (exit $ac_status); }; }; then
4815 ac_cv_have_decl_putc_unlocked
=yes
4817 echo "$as_me: failed program was:" >&5
4818 sed 's/^/| /' conftest.
$ac_ext >&5
4820 ac_cv_have_decl_putc_unlocked
=no
4822 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4824 echo "$as_me:$LINENO: result: $ac_cv_have_decl_putc_unlocked" >&5
4825 echo "${ECHO_T}$ac_cv_have_decl_putc_unlocked" >&6
4826 if test $ac_cv_have_decl_putc_unlocked = yes; then
4828 cat >>confdefs.h
<<_ACEOF
4829 #define HAVE_DECL_PUTC_UNLOCKED 1
4834 cat >>confdefs.h
<<_ACEOF
4835 #define HAVE_DECL_PUTC_UNLOCKED 0
4843 # Checks for typedefs, structures, and compiler characteristics.
4844 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4845 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4846 if test "${ac_cv_c_const+set}" = set; then
4847 echo $ECHO_N "(cached) $ECHO_C" >&6
4849 cat >conftest.
$ac_ext <<_ACEOF
4852 cat confdefs.h
>>conftest.
$ac_ext
4853 cat >>conftest.
$ac_ext <<_ACEOF
4854 /* end confdefs.h. */
4859 /* FIXME: Include the comments suggested by Paul. */
4861 /* Ultrix mips cc rejects this. */
4862 typedef int charset[2];
4864 /* SunOS 4.1.1 cc rejects this. */
4865 char const *const *ccp;
4867 /* NEC SVR4.0.2 mips cc rejects this. */
4868 struct point {int x, y;};
4869 static struct point const zero = {0,0};
4870 /* AIX XL C 1.02.0.0 rejects this.
4871 It does not let you subtract one const X* pointer from another in
4872 an arm of an if-expression whose if-part is not a constant
4874 const char *g = "string";
4875 ccp = &g + (g ? g-g : 0);
4876 /* HPUX 7.0 cc rejects these. */
4879 ccp = (char const *const *) p;
4880 { /* SCO 3.2v4 cc rejects this. */
4882 char const *s = 0 ? (char *) 0 : (char const *) 0;
4886 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4888 const int *foo = &x[0];
4891 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4892 typedef const int *iptr;
4896 { /* AIX XL C 1.02.0.0 rejects this saying
4897 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4898 struct s { int j; const int *ap[3]; };
4899 struct s *b; b->j = 5;
4901 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4910 rm -f conftest.
$ac_objext
4911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4912 (eval $ac_compile) 2>conftest.er1
4914 grep -v '^ *+' conftest.er1
>conftest.err
4916 cat conftest.err
>&5
4917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4918 (exit $ac_status); } &&
4919 { ac_try
='test -z "$ac_c_werror_flag"
4920 || test ! -s conftest.err'
4921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4925 (exit $ac_status); }; } &&
4926 { ac_try
='test -s conftest.$ac_objext'
4927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4931 (exit $ac_status); }; }; then
4934 echo "$as_me: failed program was:" >&5
4935 sed 's/^/| /' conftest.
$ac_ext >&5
4939 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4941 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4942 echo "${ECHO_T}$ac_cv_c_const" >&6
4943 if test $ac_cv_c_const = no
; then
4945 cat >>confdefs.h
<<\_ACEOF
4952 # Checks for library functions.
4954 if test "${ac_cv_header_sys_mman_h+set}" = set; then
4955 echo "$as_me:$LINENO: checking for sys/mman.h" >&5
4956 echo $ECHO_N "checking for sys/mman.h... $ECHO_C" >&6
4957 if test "${ac_cv_header_sys_mman_h+set}" = set; then
4958 echo $ECHO_N "(cached) $ECHO_C" >&6
4960 echo "$as_me:$LINENO: result: $ac_cv_header_sys_mman_h" >&5
4961 echo "${ECHO_T}$ac_cv_header_sys_mman_h" >&6
4963 # Is the header compilable?
4964 echo "$as_me:$LINENO: checking sys/mman.h usability" >&5
4965 echo $ECHO_N "checking sys/mman.h usability... $ECHO_C" >&6
4966 cat >conftest.
$ac_ext <<_ACEOF
4969 cat confdefs.h
>>conftest.
$ac_ext
4970 cat >>conftest.
$ac_ext <<_ACEOF
4971 /* end confdefs.h. */
4972 $ac_includes_default
4973 #include <sys/mman.h>
4975 rm -f conftest.
$ac_objext
4976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4977 (eval $ac_compile) 2>conftest.er1
4979 grep -v '^ *+' conftest.er1
>conftest.err
4981 cat conftest.err
>&5
4982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4983 (exit $ac_status); } &&
4984 { ac_try
='test -z "$ac_c_werror_flag"
4985 || test ! -s conftest.err'
4986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4990 (exit $ac_status); }; } &&
4991 { ac_try
='test -s conftest.$ac_objext'
4992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4996 (exit $ac_status); }; }; then
4997 ac_header_compiler
=yes
4999 echo "$as_me: failed program was:" >&5
5000 sed 's/^/| /' conftest.
$ac_ext >&5
5002 ac_header_compiler
=no
5004 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5005 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5006 echo "${ECHO_T}$ac_header_compiler" >&6
5008 # Is the header present?
5009 echo "$as_me:$LINENO: checking sys/mman.h presence" >&5
5010 echo $ECHO_N "checking sys/mman.h presence... $ECHO_C" >&6
5011 cat >conftest.
$ac_ext <<_ACEOF
5014 cat confdefs.h
>>conftest.
$ac_ext
5015 cat >>conftest.
$ac_ext <<_ACEOF
5016 /* end confdefs.h. */
5017 #include <sys/mman.h>
5019 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5020 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5022 grep -v '^ *+' conftest.er1
>conftest.err
5024 cat conftest.err
>&5
5025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5026 (exit $ac_status); } >/dev
/null
; then
5027 if test -s conftest.err
; then
5028 ac_cpp_err
=$ac_c_preproc_warn_flag
5029 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5036 if test -z "$ac_cpp_err"; then
5037 ac_header_preproc
=yes
5039 echo "$as_me: failed program was:" >&5
5040 sed 's/^/| /' conftest.
$ac_ext >&5
5042 ac_header_preproc
=no
5044 rm -f conftest.err conftest.
$ac_ext
5045 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5046 echo "${ECHO_T}$ac_header_preproc" >&6
5048 # So? What about this header?
5049 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5051 { echo "$as_me:$LINENO: WARNING: sys/mman.h: accepted by the compiler, rejected by the preprocessor!" >&5
5052 echo "$as_me: WARNING: sys/mman.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5053 { echo "$as_me:$LINENO: WARNING: sys/mman.h: proceeding with the compiler's result" >&5
5054 echo "$as_me: WARNING: sys/mman.h: proceeding with the compiler's result" >&2;}
5055 ac_header_preproc
=yes
5058 { echo "$as_me:$LINENO: WARNING: sys/mman.h: present but cannot be compiled" >&5
5059 echo "$as_me: WARNING: sys/mman.h: present but cannot be compiled" >&2;}
5060 { echo "$as_me:$LINENO: WARNING: sys/mman.h: check for missing prerequisite headers?" >&5
5061 echo "$as_me: WARNING: sys/mman.h: check for missing prerequisite headers?" >&2;}
5062 { echo "$as_me:$LINENO: WARNING: sys/mman.h: see the Autoconf documentation" >&5
5063 echo "$as_me: WARNING: sys/mman.h: see the Autoconf documentation" >&2;}
5064 { echo "$as_me:$LINENO: WARNING: sys/mman.h: section \"Present But Cannot Be Compiled\"" >&5
5065 echo "$as_me: WARNING: sys/mman.h: section \"Present But Cannot Be Compiled\"" >&2;}
5066 { echo "$as_me:$LINENO: WARNING: sys/mman.h: proceeding with the preprocessor's result" >&5
5067 echo "$as_me: WARNING: sys/mman.h: proceeding with the preprocessor's result" >&2;}
5068 { echo "$as_me:$LINENO: WARNING: sys/mman.h: in the future, the compiler will take precedence" >&5
5069 echo "$as_me: WARNING: sys/mman.h: in the future, the compiler will take precedence" >&2;}
5072 ## -------------------------------------- ##
5073 ## Report this to the fixincludes lists. ##
5074 ## -------------------------------------- ##
5077 sed "s/^/$as_me: WARNING: /" >&2
5080 echo "$as_me:$LINENO: checking for sys/mman.h" >&5
5081 echo $ECHO_N "checking for sys/mman.h... $ECHO_C" >&6
5082 if test "${ac_cv_header_sys_mman_h+set}" = set; then
5083 echo $ECHO_N "(cached) $ECHO_C" >&6
5085 ac_cv_header_sys_mman_h
=$ac_header_preproc
5087 echo "$as_me:$LINENO: result: $ac_cv_header_sys_mman_h" >&5
5088 echo "${ECHO_T}$ac_cv_header_sys_mman_h" >&6
5091 if test $ac_cv_header_sys_mman_h = yes; then
5092 gcc_header_sys_mman_h
=yes
5094 gcc_header_sys_mman_h
=no
5098 echo "$as_me:$LINENO: checking for mmap" >&5
5099 echo $ECHO_N "checking for mmap... $ECHO_C" >&6
5100 if test "${ac_cv_func_mmap+set}" = set; then
5101 echo $ECHO_N "(cached) $ECHO_C" >&6
5103 cat >conftest.
$ac_ext <<_ACEOF
5106 cat confdefs.h
>>conftest.
$ac_ext
5107 cat >>conftest.
$ac_ext <<_ACEOF
5108 /* end confdefs.h. */
5109 /* Define mmap to an innocuous variant, in case <limits.h> declares mmap.
5110 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5111 #define mmap innocuous_mmap
5113 /* System header to define __stub macros and hopefully few prototypes,
5114 which can conflict with char mmap (); below.
5115 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5116 <limits.h> exists even on freestanding compilers. */
5119 # include <limits.h>
5121 # include <assert.h>
5126 /* Override any gcc2 internal prototype to avoid an error. */
5131 /* We use char because int might match the return type of a gcc2
5132 builtin and then its argument prototype would still apply. */
5134 /* The GNU C library defines this for functions which it implements
5135 to always fail with ENOSYS. Some functions are actually named
5136 something starting with __ and the normal name is an alias. */
5137 #if defined (__stub_mmap) || defined (__stub___mmap)
5140 char (*f) () = mmap;
5154 rm -f conftest.
$ac_objext conftest
$ac_exeext
5155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5156 (eval $ac_link) 2>conftest.er1
5158 grep -v '^ *+' conftest.er1
>conftest.err
5160 cat conftest.err
>&5
5161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5162 (exit $ac_status); } &&
5163 { ac_try
='test -z "$ac_c_werror_flag"
5164 || test ! -s conftest.err'
5165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5169 (exit $ac_status); }; } &&
5170 { ac_try
='test -s conftest$ac_exeext'
5171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5175 (exit $ac_status); }; }; then
5178 echo "$as_me: failed program was:" >&5
5179 sed 's/^/| /' conftest.
$ac_ext >&5
5183 rm -f conftest.err conftest.
$ac_objext \
5184 conftest
$ac_exeext conftest.
$ac_ext
5186 echo "$as_me:$LINENO: result: $ac_cv_func_mmap" >&5
5187 echo "${ECHO_T}$ac_cv_func_mmap" >&6
5188 if test $ac_cv_func_mmap = yes; then
5194 if test "$gcc_header_sys_mman_h" != yes \
5195 ||
test "$gcc_func_mmap" != yes; then
5196 gcc_cv_func_mmap_file
=no
5197 gcc_cv_func_mmap_dev_zero
=no
5198 gcc_cv_func_mmap_anon
=no
5200 echo "$as_me:$LINENO: checking whether read-only mmap of a plain file works" >&5
5201 echo $ECHO_N "checking whether read-only mmap of a plain file works... $ECHO_C" >&6
5202 if test "${gcc_cv_func_mmap_file+set}" = set; then
5203 echo $ECHO_N "(cached) $ECHO_C" >&6
5205 # Add a system to this blacklist if
5206 # mmap(0, stat_size, PROT_READ, MAP_PRIVATE, fd, 0) doesn't return a
5207 # memory area containing the same data that you'd get if you applied
5208 # read() to the same fd. The only system known to have a problem here
5209 # is VMS, where text files have record structure.
5212 gcc_cv_func_mmap_file
=no
;;
5214 gcc_cv_func_mmap_file
=yes;;
5217 echo "$as_me:$LINENO: result: $gcc_cv_func_mmap_file" >&5
5218 echo "${ECHO_T}$gcc_cv_func_mmap_file" >&6
5219 echo "$as_me:$LINENO: checking whether mmap from /dev/zero works" >&5
5220 echo $ECHO_N "checking whether mmap from /dev/zero works... $ECHO_C" >&6
5221 if test "${gcc_cv_func_mmap_dev_zero+set}" = set; then
5222 echo $ECHO_N "(cached) $ECHO_C" >&6
5224 # Add a system to this blacklist if it has mmap() but /dev/zero
5225 # does not exist, or if mmapping /dev/zero does not give anonymous
5226 # zeroed pages with both the following properties:
5227 # 1. If you map N consecutive pages in with one call, and then
5228 # unmap any subset of those pages, the pages that were not
5229 # explicitly unmapped remain accessible.
5230 # 2. If you map two adjacent blocks of memory and then unmap them
5231 # both at once, they must both go away.
5232 # Systems known to be in this category are Windows (all variants),
5235 vms
* | cygwin
* | pe | mingw
* | darwin
* | ultrix
* | hpux10
* | hpux11.00
)
5236 gcc_cv_func_mmap_dev_zero
=no
;;
5238 gcc_cv_func_mmap_dev_zero
=yes;;
5241 echo "$as_me:$LINENO: result: $gcc_cv_func_mmap_dev_zero" >&5
5242 echo "${ECHO_T}$gcc_cv_func_mmap_dev_zero" >&6
5244 # Unlike /dev/zero, the MAP_ANON(YMOUS) defines can be probed for.
5245 echo "$as_me:$LINENO: checking for MAP_ANON(YMOUS)" >&5
5246 echo $ECHO_N "checking for MAP_ANON(YMOUS)... $ECHO_C" >&6
5247 if test "${gcc_cv_decl_map_anon+set}" = set; then
5248 echo $ECHO_N "(cached) $ECHO_C" >&6
5250 cat >conftest.
$ac_ext <<_ACEOF
5253 cat confdefs.h
>>conftest.
$ac_ext
5254 cat >>conftest.
$ac_ext <<_ACEOF
5255 /* end confdefs.h. */
5256 #include <sys/types.h>
5257 #include <sys/mman.h>
5260 #ifndef MAP_ANONYMOUS
5261 #define MAP_ANONYMOUS MAP_ANON
5267 int n = MAP_ANONYMOUS;
5272 rm -f conftest.
$ac_objext
5273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5274 (eval $ac_compile) 2>conftest.er1
5276 grep -v '^ *+' conftest.er1
>conftest.err
5278 cat conftest.err
>&5
5279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5280 (exit $ac_status); } &&
5281 { ac_try
='test -z "$ac_c_werror_flag"
5282 || test ! -s conftest.err'
5283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5287 (exit $ac_status); }; } &&
5288 { ac_try
='test -s conftest.$ac_objext'
5289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5293 (exit $ac_status); }; }; then
5294 gcc_cv_decl_map_anon
=yes
5296 echo "$as_me: failed program was:" >&5
5297 sed 's/^/| /' conftest.
$ac_ext >&5
5299 gcc_cv_decl_map_anon
=no
5301 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5303 echo "$as_me:$LINENO: result: $gcc_cv_decl_map_anon" >&5
5304 echo "${ECHO_T}$gcc_cv_decl_map_anon" >&6
5306 if test $gcc_cv_decl_map_anon = no
; then
5307 gcc_cv_func_mmap_anon
=no
5309 echo "$as_me:$LINENO: checking whether mmap with MAP_ANON(YMOUS) works" >&5
5310 echo $ECHO_N "checking whether mmap with MAP_ANON(YMOUS) works... $ECHO_C" >&6
5311 if test "${gcc_cv_func_mmap_anon+set}" = set; then
5312 echo $ECHO_N "(cached) $ECHO_C" >&6
5314 # Add a system to this blacklist if it has mmap() and MAP_ANON or
5315 # MAP_ANONYMOUS, but using mmap(..., MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
5316 # doesn't give anonymous zeroed pages with the same properties listed
5317 # above for use of /dev/zero.
5318 # Systems known to be in this category are Windows, VMS, and SCO Unix.
5320 vms
* | cygwin
* | pe | mingw
* | sco
* | udk
* )
5321 gcc_cv_func_mmap_anon
=no
;;
5323 gcc_cv_func_mmap_anon
=yes;;
5326 echo "$as_me:$LINENO: result: $gcc_cv_func_mmap_anon" >&5
5327 echo "${ECHO_T}$gcc_cv_func_mmap_anon" >&6
5331 if test $gcc_cv_func_mmap_file = yes; then
5333 cat >>confdefs.h
<<\_ACEOF
5334 #define HAVE_MMAP_FILE 1
5338 if test $gcc_cv_func_mmap_dev_zero = yes; then
5340 cat >>confdefs.h
<<\_ACEOF
5341 #define HAVE_MMAP_DEV_ZERO 1
5345 if test $gcc_cv_func_mmap_anon = yes; then
5347 cat >>confdefs.h
<<\_ACEOF
5348 #define HAVE_MMAP_ANON 1
5354 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
5355 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
5356 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
5357 if test "${enable_maintainer_mode+set}" = set; then
5358 enableval
="$enable_maintainer_mode"
5359 USE_MAINTAINER_MODE
=$enableval
5361 USE_MAINTAINER_MODE
=no
5363 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
5364 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
5365 if test "$USE_MAINTAINER_MODE" = yes; then
5372 ac_config_headers
="$ac_config_headers config.h"
5374 ac_config_files
="$ac_config_files Makefile mkheaders.almost:mkheaders.in"
5376 cat >confcache
<<\_ACEOF
5377 # This file is a shell script that caches the results of configure
5378 # tests run on this system so they can be shared between configure
5379 # scripts and configure runs, see configure's option --config-cache.
5380 # It is not useful on other systems. If it contains results you don't
5381 # want to keep, you may remove or edit it.
5383 # config.status only pays attention to the cache file if you give it
5384 # the --recheck option to rerun configure.
5386 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5387 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5392 # The following way of writing the cache mishandles newlines in values,
5393 # but we know of no workaround that is simple, portable, and efficient.
5394 # So, don't put newlines in cache variables' values.
5395 # Ultrix sh set writes to stderr and can't be redirected directly,
5396 # and sets the high bit in the cache file unless we assign to the vars.
5399 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5401 # `set' does not quote correctly, so add quotes (double-quote
5402 # substitution turns \\\\ into \\, and sed turns \\ into \).
5405 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5408 # `set' quotes correctly as required by POSIX, so do not add quotes.
5410 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5417 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5419 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5421 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
5422 if test -w $cache_file; then
5423 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5424 cat confcache
>$cache_file
5426 echo "not updating unwritable cache $cache_file"
5431 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5432 # Let make expand exec_prefix.
5433 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5435 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5436 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5437 # trailing colons and then remove the whole line if VPATH becomes empty
5438 # (actually we leave an empty line to preserve line numbers).
5439 if test "x$srcdir" = x.
; then
5440 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
5441 s/:*\$(srcdir):*/:/;
5442 s/:*\${srcdir}:*/:/;
5444 s/^\([^=]*=[ ]*\):*/\1/;
5450 DEFS
=-DHAVE_CONFIG_H
5454 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5455 # 1. Remove the extension, and $U if already installed.
5456 ac_i
=`echo "$ac_i" |
5457 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5459 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
5460 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
5464 LTLIBOBJS
=$ac_ltlibobjs
5468 : ${CONFIG_STATUS=./config.status}
5469 ac_clean_files_save
=$ac_clean_files
5470 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5471 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5472 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5473 cat >$CONFIG_STATUS <<_ACEOF
5475 # Generated by $as_me.
5476 # Run this file to recreate the current configuration.
5477 # Compiler output produced by configure, useful for debugging
5478 # configure, is in config.log if it exists.
5483 SHELL=\${CONFIG_SHELL-$SHELL}
5486 cat >>$CONFIG_STATUS <<\_ACEOF
5487 ## --------------------- ##
5488 ## M4sh Initialization. ##
5489 ## --------------------- ##
5491 # Be Bourne compatible
5492 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
5495 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5496 # is contrary to our usage. Disable this feature.
5497 alias -g '${1+"$@"}'='"$@"'
5498 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
5501 DUALCASE
=1; export DUALCASE
# for MKS sh
5503 # Support unset when possible.
5504 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5511 # Work around bugs in pre-3.0 UWIN ksh.
5512 $as_unset ENV MAIL MAILPATH
5519 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5520 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5521 LC_TELEPHONE LC_TIME
5523 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5524 eval $as_var=C
; export $as_var
5530 # Required to use basename.
5531 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5537 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
5538 as_basename
=basename
5544 # Name of the executable.
5545 as_me
=`$as_basename "$0" ||
5546 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5547 X"$0" : 'X\(//\)$' \| \
5548 X"$0" : 'X\(/\)$' \| \
5549 . : '\(.\)' 2>/dev/null ||
5551 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5552 /^X\/\(\/\/\)$/{ s//\1/; q; }
5553 /^X\/\(\/\).*/{ s//\1/; q; }
5557 # PATH needs CR, and LINENO needs CR and PATH.
5558 # Avoid depending upon Character Ranges.
5559 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5560 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5561 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5562 as_cr_digits
='0123456789'
5563 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5565 # The user is always right.
5566 if test "${PATH_SEPARATOR+set}" != set; then
5567 echo "#! /bin/sh" >conf$$.sh
5568 echo "exit 0" >>conf$$.sh
5570 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5581 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
5582 test "x$as_lineno_1" != "x$as_lineno_2" &&
5583 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
5584 # Find who we are. Look in the path if we contain no path at all
5587 *[\\/]* ) as_myself
=$0 ;;
5588 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5592 test -z "$as_dir" && as_dir
=.
5593 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
5598 # We did not find ourselves, most probably we were run as `sh COMMAND'
5599 # in which case we are not to be found in the path.
5600 if test "x$as_myself" = x
; then
5603 if test ! -f "$as_myself"; then
5604 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5605 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5606 { (exit 1); exit 1; }; }
5608 case $CONFIG_SHELL in
5610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5611 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
5614 test -z "$as_dir" && as_dir
=.
5615 for as_base
in sh bash ksh sh5
; do
5618 if ("$as_dir/$as_base" -c '
5621 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5622 test "x$as_lineno_1" != "x$as_lineno_2" &&
5623 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
5624 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
5625 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
5626 CONFIG_SHELL
=$as_dir/$as_base
5628 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5636 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5637 # uniformly replaced by the line number. The first 'sed' inserts a
5638 # line-number line before each line; the second 'sed' does the real
5639 # work. The second script uses 'N' to pair each line-number line
5640 # with the numbered line, and appends trailing '-' during
5641 # substitution so that $LINENO is not a special case at line end.
5642 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5643 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5644 sed '=' <$as_myself |
5649 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5652 s,^['$as_cr_digits']*\n,,
5654 chmod +x
$as_me.lineno ||
5655 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5656 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5657 { (exit 1); exit 1; }; }
5659 # Don't try to exec as it changes $[0], causing all sort of problems
5660 # (the dirname of $[0] is not the place where we might find the
5661 # original and so on. Autoconf is especially sensible to this).
5663 # Exit status is that of the last command.
5668 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5669 *c
*,-n*) ECHO_N
= ECHO_C
='
5671 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
5672 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
5675 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5681 rm -f conf$$ conf$$.exe conf$$.
file
5683 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5684 # We could just check for DJGPP; but this test a) works b) is more generic
5685 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5686 if test -f conf$$.exe
; then
5687 # Don't use ln at all; we don't have any links
5692 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5697 rm -f conf$$ conf$$.exe conf$$.
file
5699 if mkdir
-p .
2>/dev
/null
; then
5702 test -d .
/-p && rmdir .
/-p
5706 as_executable_p
="test -f"
5708 # Sed expression to map a string onto a valid CPP name.
5709 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5711 # Sed expression to map a string onto a valid variable name.
5712 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5716 # We need space, tab and new line, in precisely that order.
5726 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5727 # report actual input values of CONFIG_FILES etc. instead of their
5728 # values after options handling. Logging --version etc. is OK.
5732 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5733 ## Running $as_me. ##
5738 This file was extended by fixincludes $as_me , which was
5739 generated by GNU Autoconf 2.59. Invocation command line was
5741 CONFIG_FILES = $CONFIG_FILES
5742 CONFIG_HEADERS = $CONFIG_HEADERS
5743 CONFIG_LINKS = $CONFIG_LINKS
5744 CONFIG_COMMANDS = $CONFIG_COMMANDS
5748 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5752 # Files that config.status was made for.
5753 if test -n "$ac_config_files"; then
5754 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5757 if test -n "$ac_config_headers"; then
5758 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5761 if test -n "$ac_config_links"; then
5762 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5765 if test -n "$ac_config_commands"; then
5766 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5769 cat >>$CONFIG_STATUS <<\_ACEOF
5772 \`$as_me' instantiates files from templates according to the
5773 current configuration.
5775 Usage: $0 [OPTIONS] [FILE]...
5777 -h, --help print this help, then exit
5778 -V, --version print version number, then exit
5779 -q, --quiet do not print progress messages
5780 -d, --debug don't remove temporary files
5781 --recheck update $as_me by reconfiguring in the same conditions
5782 --file=FILE[:TEMPLATE]
5783 instantiate the configuration file FILE
5784 --header=FILE[:TEMPLATE]
5785 instantiate the configuration header FILE
5787 Configuration files:
5790 Configuration headers:
5793 Report bugs to <bug-autoconf@gnu.org>."
5796 cat >>$CONFIG_STATUS <<_ACEOF
5798 fixincludes config.status
5799 configured by $0, generated by GNU Autoconf 2.59,
5800 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5802 Copyright (C) 2003 Free Software Foundation, Inc.
5803 This config.status script is free software; the Free Software Foundation
5804 gives unlimited permission to copy, distribute and modify it."
5808 cat >>$CONFIG_STATUS <<\_ACEOF
5809 # If no file are specified by the user, then we need to provide default
5810 # value. By we need to know if files were specified by the user.
5816 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
5817 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
5825 *) # This is not an option, so the user has probably given explicit
5828 ac_need_defaults
=false
;;
5832 # Handling of the options.
5834 cat >>$CONFIG_STATUS <<\_ACEOF
5835 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5837 --version |
--vers* |
-V )
5838 echo "$ac_cs_version"; exit 0 ;;
5840 # Conflict between --help and --header
5841 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5842 Try \`$0 --help' for more information." >&5
5843 echo "$as_me: error: ambiguous option: $1
5844 Try \`$0 --help' for more information." >&2;}
5845 { (exit 1); exit 1; }; };;
5846 --help |
--hel |
-h )
5847 echo "$ac_cs_usage"; exit 0 ;;
5848 --debug |
--d* |
-d )
5850 --file |
--fil |
--fi |
--f )
5852 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
5853 ac_need_defaults
=false
;;
5854 --header |
--heade |
--head |
--hea )
5856 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
5857 ac_need_defaults
=false
;;
5858 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5859 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5863 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5864 Try \`$0 --help' for more information." >&5
5865 echo "$as_me: error: unrecognized option: $1
5866 Try \`$0 --help' for more information." >&2;}
5867 { (exit 1); exit 1; }; } ;;
5869 *) ac_config_targets
="$ac_config_targets $1" ;;
5875 ac_configure_extra_args
=
5877 if $ac_cs_silent; then
5879 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5883 cat >>$CONFIG_STATUS <<_ACEOF
5884 if \$ac_cs_recheck; then
5885 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5886 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5895 cat >>$CONFIG_STATUS <<\_ACEOF
5896 for ac_config_target
in $ac_config_targets
5898 case "$ac_config_target" in
5899 # Handling of arguments.
5900 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5901 "mkheaders.almost" ) CONFIG_FILES
="$CONFIG_FILES mkheaders.almost:mkheaders.in" ;;
5902 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
5903 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5904 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5905 { (exit 1); exit 1; }; };;
5909 # If the user did not use the arguments to specify the items to instantiate,
5910 # then the envvar interface is used. Set only those that are not.
5911 # We use the long form for the default assignment because of an extremely
5912 # bizarre bug on SunOS 4.1.3.
5913 if $ac_need_defaults; then
5914 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5915 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5918 # Have a temporary directory for convenience. Make it in the build tree
5919 # simply because there is no reason to put it here, and in addition,
5920 # creating and moving files from /tmp can sometimes cause problems.
5921 # Create a temporary directory, and hook for its removal unless debugging.
5924 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5925 trap '{ (exit 1); exit 1; }' 1 2 13 15
5928 # Create a (secure) tmp directory for tmp files.
5931 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5932 test -n "$tmp" && test -d "$tmp"
5935 tmp
=.
/confstat$$
-$RANDOM
5936 (umask 077 && mkdir
$tmp)
5939 echo "$me: cannot create a temporary directory in ." >&2
5940 { (exit 1); exit 1; }
5945 cat >>$CONFIG_STATUS <<_ACEOF
5948 # CONFIG_FILES section.
5951 # No need to generate the scripts if there are no CONFIG_FILES.
5952 # This happens for instance when ./config.status config.h
5953 if test -n "\$CONFIG_FILES"; then
5954 # Protect against being on the right side of a sed subst in config.status.
5955 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5956 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5957 s,@SHELL@,$SHELL,;t t
5958 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5959 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5960 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5961 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5962 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5963 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5964 s,@exec_prefix@,$exec_prefix,;t t
5965 s,@prefix@,$prefix,;t t
5966 s,@program_transform_name@,$program_transform_name,;t t
5967 s,@bindir@,$bindir,;t t
5968 s,@sbindir@,$sbindir,;t t
5969 s,@libexecdir@,$libexecdir,;t t
5970 s,@datadir@,$datadir,;t t
5971 s,@sysconfdir@,$sysconfdir,;t t
5972 s,@sharedstatedir@,$sharedstatedir,;t t
5973 s,@localstatedir@,$localstatedir,;t t
5974 s,@libdir@,$libdir,;t t
5975 s,@includedir@,$includedir,;t t
5976 s,@oldincludedir@,$oldincludedir,;t t
5977 s,@infodir@,$infodir,;t t
5978 s,@mandir@,$mandir,;t t
5979 s,@build_alias@,$build_alias,;t t
5980 s,@host_alias@,$host_alias,;t t
5981 s,@target_alias@,$target_alias,;t t
5983 s,@ECHO_C@,$ECHO_C,;t t
5984 s,@ECHO_N@,$ECHO_N,;t t
5985 s,@ECHO_T@,$ECHO_T,;t t
5987 s,@build@,$build,;t t
5988 s,@build_cpu@,$build_cpu,;t t
5989 s,@build_vendor@,$build_vendor,;t t
5990 s,@build_os@,$build_os,;t t
5992 s,@host_cpu@,$host_cpu,;t t
5993 s,@host_vendor@,$host_vendor,;t t
5994 s,@host_os@,$host_os,;t t
5995 s,@target@,$target,;t t
5996 s,@target_cpu@,$target_cpu,;t t
5997 s,@target_vendor@,$target_vendor,;t t
5998 s,@target_os@,$target_os,;t t
6000 s,@CFLAGS@,$CFLAGS,;t t
6001 s,@LDFLAGS@,$LDFLAGS,;t t
6002 s,@CPPFLAGS@,$CPPFLAGS,;t t
6003 s,@ac_ct_CC@,$ac_ct_CC,;t t
6004 s,@EXEEXT@,$EXEEXT,;t t
6005 s,@OBJEXT@,$OBJEXT,;t t
6006 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
6007 s,@WARN_PEDANTIC@,$WARN_PEDANTIC,;t t
6008 s,@WERROR@,$WERROR,;t t
6009 s,@target_noncanonical@,$target_noncanonical,;t t
6010 s,@TARGET@,$TARGET,;t t
6012 s,@EGREP@,$EGREP,;t t
6013 s,@MAINT@,$MAINT,;t t
6014 s,@LIBOBJS@,$LIBOBJS,;t t
6015 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6020 cat >>$CONFIG_STATUS <<\_ACEOF
6021 # Split the substitutions into bite-sized pieces for seds with
6022 # small command number limits, like on Digital OSF/1 and HP-UX.
6024 ac_sed_frag
=1 # Number of current file.
6025 ac_beg
=1 # First line for current file.
6026 ac_end
=$ac_max_sed_lines # Line after last line for current file.
6029 while $ac_more_lines; do
6030 if test $ac_beg -gt 1; then
6031 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6033 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6035 if test ! -s $tmp/subs.frag
; then
6038 # The purpose of the label and of the branching condition is to
6039 # speed up the sed processing (if there are no `@' at all, there
6040 # is no need to browse any of the substitutions).
6041 # These are the two extra sed commands mentioned above.
6043 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
6044 if test -z "$ac_sed_cmds"; then
6045 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
6047 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6049 ac_sed_frag
=`expr $ac_sed_frag + 1`
6051 ac_end
=`expr $ac_end + $ac_max_sed_lines`
6054 if test -z "$ac_sed_cmds"; then
6057 fi # test -n "$CONFIG_FILES"
6060 cat >>$CONFIG_STATUS <<\_ACEOF
6061 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
6062 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6064 - |
*:- |
*:-:* ) # input from stdin
6066 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6067 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6068 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6069 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6070 * ) ac_file_in
=$ac_file.
in ;;
6073 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6074 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6075 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6076 X"$ac_file" : 'X\(//\)[^/]' \| \
6077 X"$ac_file" : 'X\(//\)$' \| \
6078 X"$ac_file" : 'X\(/\)' \| \
6079 . : '\(.\)' 2>/dev/null ||
6081 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6082 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6083 /^X\(\/\/\)$/{ s//\1/; q; }
6084 /^X\(\/\).*/{ s//\1/; q; }
6086 { if $as_mkdir_p; then
6091 while test ! -d "$as_dir"; do
6092 as_dirs
="$as_dir $as_dirs"
6093 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6094 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6095 X"$as_dir" : 'X\(//\)[^/]' \| \
6096 X"$as_dir" : 'X\(//\)$' \| \
6097 X"$as_dir" : 'X\(/\)' \| \
6098 . : '\(.\)' 2>/dev/null ||
6100 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6101 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6102 /^X\(\/\/\)$/{ s//\1/; q; }
6103 /^X\(\/\).*/{ s//\1/; q; }
6106 test ! -n "$as_dirs" || mkdir
$as_dirs
6107 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6108 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6109 { (exit 1); exit 1; }; }; }
6113 if test "$ac_dir" != .
; then
6114 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6115 # A "../" for each directory in $ac_dir_suffix.
6116 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6118 ac_dir_suffix
= ac_top_builddir
=
6122 .
) # No --srcdir option. We are building in place.
6124 if test -z "$ac_top_builddir"; then
6127 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6129 [\\/]* | ?
:[\\/]* ) # Absolute path.
6130 ac_srcdir
=$srcdir$ac_dir_suffix;
6131 ac_top_srcdir
=$srcdir ;;
6133 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6134 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6137 # Do not use `cd foo && pwd` to compute absolute paths, because
6138 # the directories may not exist.
6140 .
) ac_abs_builddir
="$ac_dir";;
6143 .
) ac_abs_builddir
=`pwd`;;
6144 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
6145 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
6148 case $ac_abs_builddir in
6149 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6151 case ${ac_top_builddir}.
in
6152 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
6153 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6154 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
6157 case $ac_abs_builddir in
6158 .
) ac_abs_srcdir
=$ac_srcdir;;
6161 .
) ac_abs_srcdir
=$ac_abs_builddir;;
6162 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
6163 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
6166 case $ac_abs_builddir in
6167 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
6169 case $ac_top_srcdir in
6170 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
6171 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
6172 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
6178 if test x
"$ac_file" != x-
; then
6179 { echo "$as_me:$LINENO: creating $ac_file" >&5
6180 echo "$as_me: creating $ac_file" >&6;}
6183 # Let's still pretend it is `configure' which instantiates (i.e., don't
6184 # use $as_me), people would be surprised to read:
6185 # /* config.h. Generated by config.status. */
6186 if test x
"$ac_file" = x-
; then
6189 configure_input
="$ac_file. "
6191 configure_input
=$configure_input"Generated from `echo $ac_file_in |
6192 sed 's,.*/,,'` by configure."
6194 # First look for the input files in the build tree, otherwise in the
6196 ac_file_inputs
=`IFS=:
6197 for f in $ac_file_in; do
6199 -) echo $tmp/stdin ;;
6201 # Absolute (can't be DOS-style, as IFS=:)
6202 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6203 echo "$as_me: error: cannot find input file: $f" >&2;}
6204 { (exit 1); exit 1; }; }
6207 if test -f "$f"; then
6210 elif test -f "$srcdir/$f"; then
6215 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6216 echo "$as_me: error: cannot find input file: $f" >&2;}
6217 { (exit 1); exit 1; }; }
6220 done` ||
{ (exit 1); exit 1; }
6222 cat >>$CONFIG_STATUS <<_ACEOF
6226 cat >>$CONFIG_STATUS <<\_ACEOF
6228 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6229 s
,@configure_input@
,$configure_input,;t t
6230 s
,@srcdir@
,$ac_srcdir,;t t
6231 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
6232 s
,@top_srcdir@
,$ac_top_srcdir,;t t
6233 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
6234 s
,@builddir@
,$ac_builddir,;t t
6235 s
,@abs_builddir@
,$ac_abs_builddir,;t t
6236 s
,@top_builddir@
,$ac_top_builddir,;t t
6237 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
6238 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6240 if test x"$ac_file" != x-; then
6241 mv $tmp/out $ac_file
6249 cat >>$CONFIG_STATUS <<\_ACEOF
6252 # CONFIG_HEADER section.
6255 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
6256 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6258 # ac_d sets the value in "#define NAME VALUE" lines.
6259 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6260 ac_dB
='[ ].*$,\1#\2'
6263 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6264 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6265 ac_uB
='$,\1#\2define\3'
6269 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
6270 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6272 - |
*:- |
*:-:* ) # input from stdin
6274 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6275 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6276 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6277 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6278 * ) ac_file_in
=$ac_file.
in ;;
6281 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
6282 echo "$as_me: creating $ac_file" >&6;}
6284 # First look for the input files in the build tree, otherwise in the
6286 ac_file_inputs
=`IFS=:
6287 for f in $ac_file_in; do
6289 -) echo $tmp/stdin ;;
6291 # Absolute (can't be DOS-style, as IFS=:)
6292 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6293 echo "$as_me: error: cannot find input file: $f" >&2;}
6294 { (exit 1); exit 1; }; }
6295 # Do quote $f, to prevent DOS paths from being IFS'd.
6298 if test -f "$f"; then
6301 elif test -f "$srcdir/$f"; then
6306 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6307 echo "$as_me: error: cannot find input file: $f" >&2;}
6308 { (exit 1); exit 1; }; }
6311 done` ||
{ (exit 1); exit 1; }
6312 # Remove the trailing spaces.
6313 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6317 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6318 # `conftest.undefs', that substitutes the proper values into
6319 # config.h.in to produce config.h. The first handles `#define'
6320 # templates, and the second `#undef' templates.
6321 # And first: Protect against being on the right side of a sed subst in
6322 # config.status. Protect against being in an unquoted here document
6324 rm -f conftest.defines conftest.undefs
6325 # Using a here document instead of a string reduces the quoting nightmare.
6326 # Putting comments in sed scripts is not portable.
6328 # `end' is used to avoid that the second main sed command (meant for
6329 # 0-ary CPP macros) applies to n-ary macro definitions.
6330 # See the Autoconf documentation for `clear'.
6331 cat >confdef2sed.
sed <<\_ACEOF
6336 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6338 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6341 # If some macros were called several times there might be several times
6342 # the same #defines, which is useless. Nevertheless, we may not want to
6343 # sort them, since we want the *last* AC-DEFINE to be honored.
6344 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6345 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6346 rm -f confdef2sed.sed
6348 # This sed command replaces #undef with comments. This is necessary, for
6349 # example, in the case of _POSIX_SOURCE, which is predefined and required
6350 # on some systems where configure will not decide to define it.
6351 cat >>conftest.undefs <<\_ACEOF
6352 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6355 # Break up conftest.defines because some shells have a limit on the size
6356 # of here documents, and old seds have small limits too (100 cmds).
6357 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6358 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6359 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6360 echo ' :' >>$CONFIG_STATUS
6362 while grep . conftest.defines >/dev/null
6364 # Write a limited-size here document to $tmp/defines.sed.
6365 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6366 # Speed up: don't consider the non `#define' lines.
6367 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6368 # Work around the forget-to-reset-the-flag bug.
6369 echo 't clr' >>$CONFIG_STATUS
6370 echo ': clr' >>$CONFIG_STATUS
6371 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
6373 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6377 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
6378 rm -f conftest.defines
6379 mv conftest.
tail conftest.defines
6381 rm -f conftest.defines
6382 echo ' fi # grep' >>$CONFIG_STATUS
6383 echo >>$CONFIG_STATUS
6385 # Break up conftest.undefs because some shells have a limit on the size
6386 # of here documents, and old seds have small limits too (100 cmds).
6387 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6389 while grep . conftest.undefs
>/dev
/null
6391 # Write a limited-size here document to $tmp/undefs.sed.
6392 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6393 # Speed up: don't consider the non
`#undef'
6394 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6395 # Work around the forget-to-reset-the-flag bug.
6396 echo 't clr' >>$CONFIG_STATUS
6397 echo ': clr' >>$CONFIG_STATUS
6398 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6400 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6404 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6405 rm -f conftest.undefs
6406 mv conftest.tail conftest.undefs
6408 rm -f conftest.undefs
6410 cat >>$CONFIG_STATUS <<\_ACEOF
6411 # Let's still pretend it is `configure
' which instantiates (i.e., don't
6412 # use $as_me), people would be surprised to read:
6413 # /* config.h. Generated by config.status. */
6414 if test x
"$ac_file" = x-
; then
6415 echo "/* Generated by configure. */" >$tmp/config.h
6417 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6419 cat $tmp/in >>$tmp/config.h
6421 if test x
"$ac_file" != x-
; then
6422 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
6423 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6424 echo "$as_me: $ac_file is unchanged" >&6;}
6426 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6427 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6428 X"$ac_file" : 'X\(//\)[^/]' \| \
6429 X"$ac_file" : 'X\(//\)$' \| \
6430 X"$ac_file" : 'X\(/\)' \| \
6431 . : '\(.\)' 2>/dev/null ||
6433 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6434 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6435 /^X\(\/\/\)$/{ s//\1/; q; }
6436 /^X\(\/\).*/{ s//\1/; q; }
6438 { if $as_mkdir_p; then
6443 while test ! -d "$as_dir"; do
6444 as_dirs
="$as_dir $as_dirs"
6445 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6446 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6447 X"$as_dir" : 'X\(//\)[^/]' \| \
6448 X"$as_dir" : 'X\(//\)$' \| \
6449 X"$as_dir" : 'X\(/\)' \| \
6450 . : '\(.\)' 2>/dev/null ||
6452 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6453 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6454 /^X\(\/\/\)$/{ s//\1/; q; }
6455 /^X\(\/\).*/{ s//\1/; q; }
6458 test ! -n "$as_dirs" || mkdir
$as_dirs
6459 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6460 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6461 { (exit 1); exit 1; }; }; }
6464 mv $tmp/config.h
$ac_file
6470 # Run the commands associated with the file.
6472 config.h
) echo timestamp
> stamp-h
;;
6477 cat >>$CONFIG_STATUS <<\_ACEOF
6479 { (exit 0); exit 0; }
6481 chmod +x
$CONFIG_STATUS
6482 ac_clean_files
=$ac_clean_files_save
6485 # configure is writing to config.log, and then calls config.status.
6486 # config.status does its own redirection, appending to config.log.
6487 # Unfortunately, on DOS this fails, as config.log is still kept open
6488 # by configure, so config.status won't be able to write to it; its
6489 # output is simply discarded. So we exec the FD to /dev/null,
6490 # effectively closing config.log, so it can be properly (re)opened and
6491 # appended to by config.status. When coming back to configure, we
6492 # need to make the FD available again.
6493 if test "$no_create" != yes; then
6495 ac_config_status_args
=
6496 test "$silent" = yes &&
6497 ac_config_status_args
="$ac_config_status_args --quiet"
6499 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6501 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6502 # would make configure fail if this is the last instruction.
6503 $ac_cs_success ||
{ (exit 1); exit 1; }