2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for fixincludes .
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE
=1; export DUALCASE
# for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix
*) set -o posix
;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits
='0123456789'
38 as_cr_alnum
=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53 # Support unset when possible.
54 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself
=$0 ;;
73 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir
=.
78 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x
; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var
in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C
; export $as_var
111 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
123 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me
=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x
; then
155 if (eval ":") 2>/dev
/null
; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev
/null
; then
221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
222 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir
=.
228 for as_base
in sh bash ksh sh5
; do
229 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
236 for as_shell
in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix
*) set -o posix
;;
258 CONFIG_SHELL
=$as_shell
260 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix
*) set -o posix
;;
286 as_func_ret_success
() {
289 as_func_ret_failure
() {
294 if as_func_success
; then
298 echo as_func_success failed.
301 if as_func_failure
; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success
; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure
; then
315 echo as_func_ret_failure succeeded.
318 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) ||
{ (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x
; then
343 for as_var
in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no
; then
352 echo This
script requires a shell
more modern than all the
353 echo shells that I found on your system. Please
install a
354 echo modern shell
, or manually run the
script under such a
355 echo shell
if you
do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") ||
{
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system
,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x
"$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
472 ECHO_C
= ECHO_N
= ECHO_T
=
476 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
483 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
490 rm -f conf$$ conf$$.exe conf$$.
file
491 if test -d conf$$.dir
; then
492 rm -f conf$$.dir
/conf$$.
file
498 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
506 elif ln conf$$.
file conf$$
2>/dev
/null
; then
511 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
512 rmdir conf$$.dir
2>/dev
/null
514 if mkdir
-p .
2>/dev
/null
; then
517 test -d .
/-p && rmdir .
/-p
521 if test -x / >/dev
/null
2>&1; then
524 if ls -dL / >/dev
/null
2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p
=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552 exec 7<&0 </dev
/null
6>&1
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix
=/usr
/local
564 ac_config_libobj_dir
=.
570 SHELL
=${CONFIG_SHELL-/bin/sh}
572 # Identity of this package.
573 PACKAGE_NAME
='fixincludes'
574 PACKAGE_TARNAME
='fixincludes'
576 PACKAGE_STRING
='fixincludes '
579 ac_unique_file
="inclhack.def"
580 # Factoring default headers for most tests.
581 ac_includes_default
="\
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
593 # ifdef HAVE_STDLIB_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
625 program_transform_name
684 ac_precious_vars
='build_alias
695 # Initialize some variables set by options.
697 ac_init_version
=false
698 # The variables have the same names as the options, with
699 # dashes changed to underlines.
707 program_transform_name
=s
,x
,x
,
715 # Installation directory options.
716 # These are left unexpanded so users can "make install exec_prefix=/foo"
717 # and all the variables that are supposed to be based on exec_prefix
718 # by default will actually change.
719 # Use braces instead of parens because sh, perl, etc. also accept them.
720 # (The list follows the same order as the GNU Coding Standards.)
721 bindir
='${exec_prefix}/bin'
722 sbindir
='${exec_prefix}/sbin'
723 libexecdir
='${exec_prefix}/libexec'
724 datarootdir
='${prefix}/share'
725 datadir
='${datarootdir}'
726 sysconfdir
='${prefix}/etc'
727 sharedstatedir
='${prefix}/com'
728 localstatedir
='${prefix}/var'
729 includedir
='${prefix}/include'
730 oldincludedir
='/usr/include'
731 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
732 infodir
='${datarootdir}/info'
737 libdir
='${exec_prefix}/lib'
738 localedir
='${datarootdir}/locale'
739 mandir
='${datarootdir}/man'
745 # If the previous option needs an argument, assign it.
746 if test -n "$ac_prev"; then
747 eval $ac_prev=\
$ac_option
753 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
757 # Accept the important Cygnus configure options, so we can diagnose typos.
759 case $ac_dashdash$ac_option in
763 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
765 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
768 -build |
--build |
--buil |
--bui |
--bu)
769 ac_prev
=build_alias
;;
770 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
771 build_alias
=$ac_optarg ;;
773 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
774 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
775 ac_prev
=cache_file
;;
776 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
777 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
778 cache_file
=$ac_optarg ;;
781 cache_file
=config.cache
;;
783 -datadir |
--datadir |
--datadi |
--datad)
785 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
786 datadir
=$ac_optarg ;;
788 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
789 |
--dataroo |
--dataro |
--datar)
790 ac_prev
=datarootdir
;;
791 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
792 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
793 datarootdir
=$ac_optarg ;;
795 -disable-* |
--disable-*)
796 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
797 # Reject names that are not valid shell variable names.
798 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
799 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
800 { (exit 1); exit 1; }; }
801 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
802 eval enable_
$ac_feature=no
;;
804 -docdir |
--docdir |
--docdi |
--doc |
--do)
806 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
809 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
811 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
814 -enable-* |
--enable-*)
815 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
816 # Reject names that are not valid shell variable names.
817 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
818 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
819 { (exit 1); exit 1; }; }
820 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
821 eval enable_
$ac_feature=\
$ac_optarg ;;
823 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
824 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
825 |
--exec |
--exe |
--ex)
826 ac_prev
=exec_prefix
;;
827 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
828 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
829 |
--exec=* |
--exe=* |
--ex=*)
830 exec_prefix
=$ac_optarg ;;
832 -gas |
--gas |
--ga |
--g)
833 # Obsolete; use --with-gas.
836 -help |
--help |
--hel |
--he |
-h)
838 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
839 ac_init_help
=recursive
;;
840 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
841 ac_init_help
=short
;;
843 -host |
--host |
--hos |
--ho)
844 ac_prev
=host_alias
;;
845 -host=* |
--host=* |
--hos=* |
--ho=*)
846 host_alias
=$ac_optarg ;;
848 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
850 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
852 htmldir
=$ac_optarg ;;
854 -includedir |
--includedir |
--includedi |
--included |
--include \
855 |
--includ |
--inclu |
--incl |
--inc)
856 ac_prev
=includedir
;;
857 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
858 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
859 includedir
=$ac_optarg ;;
861 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
863 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
864 infodir
=$ac_optarg ;;
866 -libdir |
--libdir |
--libdi |
--libd)
868 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
871 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
872 |
--libexe |
--libex |
--libe)
873 ac_prev
=libexecdir
;;
874 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
875 |
--libexe=* |
--libex=* |
--libe=*)
876 libexecdir
=$ac_optarg ;;
878 -localedir |
--localedir |
--localedi |
--localed |
--locale)
880 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
881 localedir
=$ac_optarg ;;
883 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
884 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
885 ac_prev
=localstatedir
;;
886 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
887 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
888 localstatedir
=$ac_optarg ;;
890 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
892 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
896 # Obsolete; use --without-fp.
899 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
900 |
--no-cr |
--no-c |
-n)
903 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
904 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
907 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
908 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
909 |
--oldin |
--oldi |
--old |
--ol |
--o)
910 ac_prev
=oldincludedir
;;
911 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
912 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
913 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
914 oldincludedir
=$ac_optarg ;;
916 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
918 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
921 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
922 |
--program-pre |
--program-pr |
--program-p)
923 ac_prev
=program_prefix
;;
924 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
925 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
926 program_prefix
=$ac_optarg ;;
928 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
929 |
--program-suf |
--program-su |
--program-s)
930 ac_prev
=program_suffix
;;
931 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
932 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
933 program_suffix
=$ac_optarg ;;
935 -program-transform-name |
--program-transform-name \
936 |
--program-transform-nam |
--program-transform-na \
937 |
--program-transform-n |
--program-transform- \
938 |
--program-transform |
--program-transfor \
939 |
--program-transfo |
--program-transf \
940 |
--program-trans |
--program-tran \
941 |
--progr-tra |
--program-tr |
--program-t)
942 ac_prev
=program_transform_name
;;
943 -program-transform-name=* |
--program-transform-name=* \
944 |
--program-transform-nam=* |
--program-transform-na=* \
945 |
--program-transform-n=* |
--program-transform-=* \
946 |
--program-transform=* |
--program-transfor=* \
947 |
--program-transfo=* |
--program-transf=* \
948 |
--program-trans=* |
--program-tran=* \
949 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
950 program_transform_name
=$ac_optarg ;;
952 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
954 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
957 -psdir |
--psdir |
--psdi |
--psd |
--ps)
959 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
962 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
963 |
-silent |
--silent |
--silen |
--sile |
--sil)
966 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
968 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
970 sbindir
=$ac_optarg ;;
972 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
973 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
974 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
976 ac_prev
=sharedstatedir
;;
977 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
978 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
979 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
981 sharedstatedir
=$ac_optarg ;;
983 -site |
--site |
--sit)
985 -site=* |
--site=* |
--sit=*)
988 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
990 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
993 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
994 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
995 ac_prev
=sysconfdir
;;
996 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
997 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
998 sysconfdir
=$ac_optarg ;;
1000 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1001 ac_prev
=target_alias
;;
1002 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1003 target_alias
=$ac_optarg ;;
1005 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1008 -version |
--version |
--versio |
--versi |
--vers |
-V)
1009 ac_init_version
=: ;;
1012 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1013 # Reject names that are not valid shell variable names.
1014 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1015 { echo "$as_me: error: invalid package name: $ac_package" >&2
1016 { (exit 1); exit 1; }; }
1017 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1018 eval with_
$ac_package=\
$ac_optarg ;;
1020 -without-* |
--without-*)
1021 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1022 # Reject names that are not valid shell variable names.
1023 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1024 { echo "$as_me: error: invalid package name: $ac_package" >&2
1025 { (exit 1); exit 1; }; }
1026 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1027 eval with_
$ac_package=no
;;
1030 # Obsolete; use --with-x.
1033 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1034 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1035 ac_prev
=x_includes
;;
1036 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1037 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1038 x_includes
=$ac_optarg ;;
1040 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1041 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1042 ac_prev
=x_libraries
;;
1043 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1044 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1045 x_libraries
=$ac_optarg ;;
1047 -*) { echo "$as_me: error: unrecognized option: $ac_option
1048 Try \`$0 --help' for more information." >&2
1049 { (exit 1); exit 1; }; }
1053 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1054 # Reject names that are not valid shell variable names.
1055 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1056 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1057 { (exit 1); exit 1; }; }
1058 eval $ac_envvar=\
$ac_optarg
1059 export $ac_envvar ;;
1062 # FIXME: should be removed in autoconf 3.0.
1063 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1064 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1065 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1066 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1072 if test -n "$ac_prev"; then
1073 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1074 { echo "$as_me: error: missing argument to $ac_option" >&2
1075 { (exit 1); exit 1; }; }
1078 # Be sure to have absolute directory names.
1079 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1080 datadir sysconfdir sharedstatedir localstatedir includedir \
1081 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1082 libdir localedir mandir
1084 eval ac_val
=\$
$ac_var
1086 [\\/$
]* | ?
:[\\/]* ) continue;;
1087 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1089 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1090 { (exit 1); exit 1; }; }
1093 # There might be people who depend on the old broken behavior: `$host'
1094 # used to hold the argument of --host etc.
1095 # FIXME: To remove some day.
1098 target
=$target_alias
1100 # FIXME: To remove some day.
1101 if test "x$host_alias" != x
; then
1102 if test "x$build_alias" = x
; then
1103 cross_compiling
=maybe
1104 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1105 If a cross compiler is detected then cross compile mode will be used." >&2
1106 elif test "x$build_alias" != "x$host_alias"; then
1112 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1114 test "$silent" = yes && exec 6>/dev
/null
1117 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1118 ac_ls_di
=`ls -di .` &&
1119 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1120 { echo "$as_me: error: Working directory cannot be determined" >&2
1121 { (exit 1); exit 1; }; }
1122 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1123 { echo "$as_me: error: pwd does not report name of working directory" >&2
1124 { (exit 1); exit 1; }; }
1127 # Find the source files, if location was not specified.
1128 if test -z "$srcdir"; then
1129 ac_srcdir_defaulted
=yes
1130 # Try the directory containing this script, then the parent directory.
1131 ac_confdir
=`$as_dirname -- "$0" ||
1132 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1133 X"$0" : 'X\(//\)[^/]' \| \
1134 X"$0" : 'X\(//\)$' \| \
1135 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1137 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1155 if test ! -r "$srcdir/$ac_unique_file"; then
1159 ac_srcdir_defaulted
=no
1161 if test ! -r "$srcdir/$ac_unique_file"; then
1162 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1163 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1164 { (exit 1); exit 1; }; }
1166 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1168 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1169 { (exit 1); exit 1; }; }
1171 # When building in place, set srcdir=.
1172 if test "$ac_abs_confdir" = "$ac_pwd"; then
1175 # Remove unnecessary trailing slashes from srcdir.
1176 # Double slashes in file names in object file debugging info
1177 # mess up M-x gdb in Emacs.
1179 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1181 for ac_var
in $ac_precious_vars; do
1182 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1183 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1184 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1185 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1189 # Report the --help message.
1191 if test "$ac_init_help" = "long"; then
1192 # Omit some internal or obsolete options to make the list less imposing.
1193 # This message is too long to be a string in the A/UX 3.1 sh.
1195 \`configure' configures fixincludes to adapt to many kinds of systems.
1197 Usage: $0 [OPTION]... [VAR=VALUE]...
1199 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1200 VAR=VALUE. See below for descriptions of some of the useful variables.
1202 Defaults for the options are specified in brackets.
1205 -h, --help display this help and exit
1206 --help=short display options specific to this package
1207 --help=recursive display the short help of all the included packages
1208 -V, --version display version information and exit
1209 -q, --quiet, --silent do not print \`checking...' messages
1210 --cache-file=FILE cache test results in FILE [disabled]
1211 -C, --config-cache alias for \`--cache-file=config.cache'
1212 -n, --no-create do not create output files
1213 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1215 Installation directories:
1216 --prefix=PREFIX install architecture-independent files in PREFIX
1217 [$ac_default_prefix]
1218 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1221 By default, \`make install' will install all the files in
1222 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1223 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1224 for instance \`--prefix=\$HOME'.
1226 For better control, use the options below.
1228 Fine tuning of the installation directories:
1229 --bindir=DIR user executables [EPREFIX/bin]
1230 --sbindir=DIR system admin executables [EPREFIX/sbin]
1231 --libexecdir=DIR program executables [EPREFIX/libexec]
1232 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1233 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1234 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1235 --libdir=DIR object code libraries [EPREFIX/lib]
1236 --includedir=DIR C header files [PREFIX/include]
1237 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1238 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1239 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1240 --infodir=DIR info documentation [DATAROOTDIR/info]
1241 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1242 --mandir=DIR man documentation [DATAROOTDIR/man]
1243 --docdir=DIR documentation root [DATAROOTDIR/doc/fixincludes]
1244 --htmldir=DIR html documentation [DOCDIR]
1245 --dvidir=DIR dvi documentation [DOCDIR]
1246 --pdfdir=DIR pdf documentation [DOCDIR]
1247 --psdir=DIR ps documentation [DOCDIR]
1253 --build=BUILD configure
for building on BUILD
[guessed
]
1254 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1255 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1259 if test -n "$ac_init_help"; then
1260 case $ac_init_help in
1261 short | recursive
) echo "Configuration of fixincludes :";;
1266 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1267 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1268 --enable-werror-always enable -Werror despite compiler version
1269 --enable-twoprocess Use a separate process to apply the fixes
1270 --enable-maintainer-mode enable make rules and dependencies not useful
1271 (and sometimes confusing
) to the casual installer
1274 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1275 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1276 --with-local-prefix=DIR specifies directory to put
local include
1278 Some influential environment variables
:
1279 CC C compiler
command
1280 CFLAGS C compiler flags
1281 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1282 nonstandard directory
<lib dir
>
1283 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1284 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1285 you have headers
in a nonstandard directory
<include dir
>
1288 Use these variables to override the choices made by
`configure' or to help
1289 it to find libraries and programs with nonstandard names/locations.
1295 if test "$ac_init_help" = "recursive"; then
1296 # If there are subdirs, report their specific --help.
1297 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1298 test -d "$ac_dir" || continue
1302 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1304 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1305 # A ".." for each directory in $ac_dir_suffix.
1306 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1307 case $ac_top_builddir_sub in
1308 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1309 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1312 ac_abs_top_builddir=$ac_pwd
1313 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1314 # for backward compatibility:
1315 ac_top_builddir=$ac_top_build_prefix
1318 .) # We are building in place.
1320 ac_top_srcdir=$ac_top_builddir_sub
1321 ac_abs_top_srcdir=$ac_pwd ;;
1322 [\\/]* | ?:[\\/]* ) # Absolute name.
1323 ac_srcdir=$srcdir$ac_dir_suffix;
1324 ac_top_srcdir=$srcdir
1325 ac_abs_top_srcdir=$srcdir ;;
1327 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1328 ac_top_srcdir=$ac_top_build_prefix$srcdir
1329 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1331 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1333 cd "$ac_dir" || { ac_status=$?; continue; }
1334 # Check for guested configure.
1335 if test -f "$ac_srcdir/configure.gnu"; then
1337 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1338 elif test -f "$ac_srcdir/configure"; then
1340 $SHELL "$ac_srcdir/configure" --help=recursive
1342 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1344 cd "$ac_pwd" || { ac_status=$?; break; }
1348 test -n "$ac_init_help" && exit $ac_status
1349 if $ac_init_version; then
1351 fixincludes configure
1352 generated by GNU Autoconf 2.61
1354 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1355 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1356 This configure script is free software; the Free Software Foundation
1357 gives unlimited permission to copy, distribute and modify it.
1361 cat >config.log <<_ACEOF
1362 This file contains any messages produced by compilers while
1363 running configure, to aid debugging if configure makes a mistake.
1365 It was created by fixincludes $as_me , which was
1366 generated by GNU Autoconf 2.61. Invocation command line was
1378 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1379 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1380 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1381 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1382 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1384 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1385 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1387 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1388 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1389 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1390 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1391 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1392 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1393 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1401 test -z "$as_dir" && as_dir=.
1402 echo "PATH: $as_dir"
1418 # Keep a trace of the command line.
1419 # Strip out --no-create and --no-recursion so they do not pile up.
1420 # Strip out --silent because we don't want to record it for future runs.
1421 # Also quote any args containing shell meta-characters.
1422 # Make two passes to allow for proper duplicate-argument suppression.
1426 ac_must_keep_next=false
1432 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1433 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1434 | -silent | --silent | --silen | --sile | --sil)
1437 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1440 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1442 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1443 if test $ac_must_keep_next = true; then
1444 ac_must_keep_next=false # Got value, back to normal.
1447 *=* | --config-cache | -C | -disable-* | --disable-* \
1448 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1449 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1450 | -with-* | --with-* | -without-* | --without-* | --x)
1451 case "$ac_configure_args0 " in
1452 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1455 -* ) ac_must_keep_next=true ;;
1458 ac_configure_args="$ac_configure_args '$ac_arg'"
1463 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1464 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1466 # When interrupted or exit'd, cleanup temporary files, and complete
1467 # config.log. We remove comments because anyway the quotes in there
1468 # would cause problems or look ugly.
1469 # WARNING: Use '\'' to represent an apostrophe within the trap.
1470 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1471 trap 'exit_status=$?
1472 # Save into config.log some information that might help in debugging.
1477 ## ---------------- ##
1478 ## Cache variables. ##
1479 ## ---------------- ##
1482 # The following way of writing the cache mishandles newlines in values,
1484 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1485 eval ac_val=\$$ac_var
1489 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1490 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1493 _ | IFS | as_nl) ;; #(
1494 *) $as_unset $ac_var ;;
1499 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1500 *${as_nl}ac_space=\ *)
1502 "s/'\''/'\''\\\\'\'''\''/g;
1503 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1506 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1514 ## ----------------- ##
1515 ## Output variables. ##
1516 ## ----------------- ##
1519 for ac_var in $ac_subst_vars
1521 eval ac_val=\$$ac_var
1523 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1525 echo "$ac_var='\''$ac_val'\''"
1529 if test -n "$ac_subst_files"; then
1531 ## ------------------- ##
1532 ## File substitutions. ##
1533 ## ------------------- ##
1536 for ac_var in $ac_subst_files
1538 eval ac_val=\$$ac_var
1540 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1542 echo "$ac_var='\''$ac_val'\''"
1547 if test -s confdefs.h; then
1557 test "$ac_signal" != 0 &&
1558 echo "$as_me: caught signal $ac_signal"
1559 echo "$as_me: exit $exit_status"
1561 rm -f core *.core core.conftest.* &&
1562 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1565 for ac_signal in 1 2 13 15; do
1566 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1570 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1571 rm -f -r conftest* confdefs.h
1573 # Predefined preprocessor variables.
1575 cat >>confdefs.h <<_ACEOF
1576 #define PACKAGE_NAME "$PACKAGE_NAME"
1580 cat >>confdefs.h <<_ACEOF
1581 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1585 cat >>confdefs.h <<_ACEOF
1586 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1590 cat >>confdefs.h <<_ACEOF
1591 #define PACKAGE_STRING "$PACKAGE_STRING"
1595 cat >>confdefs.h <<_ACEOF
1596 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1600 # Let the site file select an alternate cache file if it wants to.
1601 # Prefer explicitly selected file to automatically selected ones.
1602 if test -n "$CONFIG_SITE"; then
1603 set x "$CONFIG_SITE"
1604 elif test "x$prefix" != xNONE; then
1605 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1607 set x "$ac_default_prefix/share/config.site" \
1608 "$ac_default_prefix/etc/config.site"
1613 if test -r "$ac_site_file"; then
1614 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1615 echo "$as_me: loading site script $ac_site_file" >&6;}
1616 sed 's/^/| /' "$ac_site_file" >&5
1621 if test -r "$cache_file"; then
1622 # Some versions of bash will fail to source /dev/null (special
1623 # files actually), so we avoid doing that.
1624 if test -f "$cache_file"; then
1625 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1626 echo "$as_me: loading cache $cache_file" >&6;}
1628 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1629 *) . "./$cache_file";;
1633 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1634 echo "$as_me: creating cache $cache_file" >&6;}
1638 # Check that the precious variables saved in the cache have kept the same
1640 ac_cache_corrupted=false
1641 for ac_var in $ac_precious_vars; do
1642 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1643 eval ac_new_set=\$ac_env_${ac_var}_set
1644 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1645 eval ac_new_val=\$ac_env_${ac_var}_value
1646 case $ac_old_set,$ac_new_set in
1648 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1649 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1650 ac_cache_corrupted=: ;;
1652 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1653 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1654 ac_cache_corrupted=: ;;
1657 if test "x$ac_old_val" != "x$ac_new_val"; then
1658 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1659 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1660 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1661 echo "$as_me: former value
: $ac_old_val" >&2;}
1662 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1663 echo "$as_me: current value
: $ac_new_val" >&2;}
1664 ac_cache_corrupted=:
1667 # Pass precious variables to config.status.
1668 if test "$ac_new_set" = set; then
1670 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1671 *) ac_arg=$ac_var=$ac_new_val ;;
1673 case " $ac_configure_args " in
1674 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1675 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1679 if $ac_cache_corrupted; then
1680 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1681 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1682 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1683 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1684 { (exit 1); exit 1; }; }
1712 ac_cpp='$CPP $CPPFLAGS'
1713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1720 for ac_dir in .. "$srcdir"/..; do
1721 if test -f "$ac_dir/install-sh"; then
1723 ac_install_sh="$ac_aux_dir/install-sh -c"
1725 elif test -f "$ac_dir/install.sh"; then
1727 ac_install_sh="$ac_aux_dir/install.sh -c"
1729 elif test -f "$ac_dir/shtool"; then
1731 ac_install_sh="$ac_aux_dir/shtool install -c"
1735 if test -z "$ac_aux_dir"; then
1736 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in .. \"$srcdir\"/.." >&5
1737 echo "$as_me: error: cannot find install-sh or install.sh in .. \"$srcdir\"/.." >&2;}
1738 { (exit 1); exit 1; }; }
1741 # These three variables are undocumented and unsupported,
1742 # and are intended to be withdrawn in a future Autoconf release.
1743 # They can cause serious problems if a builder's source tree is in a directory
1744 # whose full name contains unusual characters.
1745 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1746 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1747 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1750 # Make sure we can run config.sub.
1751 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1752 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1753 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1754 { (exit 1); exit 1; }; }
1756 { echo "$as_me:$LINENO: checking build system type" >&5
1757 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1758 if test "${ac_cv_build+set}" = set; then
1759 echo $ECHO_N "(cached) $ECHO_C" >&6
1761 ac_build_alias=$build_alias
1762 test "x$ac_build_alias" = x &&
1763 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1764 test "x$ac_build_alias" = x &&
1765 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1766 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1767 { (exit 1); exit 1; }; }
1768 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1769 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1770 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1771 { (exit 1); exit 1; }; }
1774 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1775 echo "${ECHO_T}$ac_cv_build" >&6; }
1776 case $ac_cv_build in
1778 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1779 echo "$as_me: error: invalid value of canonical build" >&2;}
1780 { (exit 1); exit 1; }; };;
1783 ac_save_IFS=$IFS; IFS='-'
1789 # Remember, the first character of IFS is used to create $*,
1790 # except with old shells:
1793 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
1796 { echo "$as_me:$LINENO: checking host system type" >&5
1797 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1798 if test "${ac_cv_host+set}" = set; then
1799 echo $ECHO_N "(cached) $ECHO_C" >&6
1801 if test "x$host_alias" = x; then
1802 ac_cv_host=$ac_cv_build
1804 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1805 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1806 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1807 { (exit 1); exit 1; }; }
1811 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1812 echo "${ECHO_T}$ac_cv_host" >&6; }
1815 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1816 echo "$as_me: error: invalid value of canonical host" >&2;}
1817 { (exit 1); exit 1; }; };;
1820 ac_save_IFS=$IFS; IFS='-'
1826 # Remember, the first character of IFS is used to create $*,
1827 # except with old shells:
1830 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
1833 { echo "$as_me:$LINENO: checking target system type" >&5
1834 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1835 if test "${ac_cv_target+set}" = set; then
1836 echo $ECHO_N "(cached) $ECHO_C" >&6
1838 if test "x$target_alias" = x; then
1839 ac_cv_target=$ac_cv_host
1841 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1842 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1843 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1844 { (exit 1); exit 1; }; }
1848 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1849 echo "${ECHO_T}$ac_cv_target" >&6; }
1850 case $ac_cv_target in
1852 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
1853 echo "$as_me: error: invalid value of canonical target" >&2;}
1854 { (exit 1); exit 1; }; };;
1856 target=$ac_cv_target
1857 ac_save_IFS=$IFS; IFS='-'
1863 # Remember, the first character of IFS is used to create $*,
1864 # except with old shells:
1867 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
1870 # The aliases save the names the user supplied, while $host etc.
1871 # will get canonicalized.
1872 test -n "$target_alias" &&
1873 test "$program_prefix$program_suffix$program_transform_name" = \
1875 program_prefix=${target_alias}-
1877 ac_cpp='$CPP $CPPFLAGS'
1878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1881 if test -n "$ac_tool_prefix"; then
1882 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1883 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1884 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1886 if test "${ac_cv_prog_CC+set}" = set; then
1887 echo $ECHO_N "(cached) $ECHO_C" >&6
1889 if test -n "$CC"; then
1890 ac_cv_prog_CC="$CC" # Let the user override the test.
1892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1896 test -z "$as_dir" && as_dir=.
1897 for ac_exec_ext in '' $ac_executable_extensions; do
1898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1899 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1910 if test -n "$CC"; then
1911 { echo "$as_me:$LINENO: result: $CC" >&5
1912 echo "${ECHO_T}$CC" >&6; }
1914 { echo "$as_me:$LINENO: result: no" >&5
1915 echo "${ECHO_T}no" >&6; }
1920 if test -z "$ac_cv_prog_CC"; then
1922 # Extract the first word of "gcc", so it can be a program name with args.
1923 set dummy gcc; ac_word=$2
1924 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1926 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1927 echo $ECHO_N "(cached) $ECHO_C" >&6
1929 if test -n "$ac_ct_CC"; then
1930 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1936 test -z "$as_dir" && as_dir=.
1937 for ac_exec_ext in '' $ac_executable_extensions; do
1938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1939 ac_cv_prog_ac_ct_CC="gcc"
1940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1949 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1950 if test -n "$ac_ct_CC"; then
1951 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1952 echo "${ECHO_T}$ac_ct_CC" >&6; }
1954 { echo "$as_me:$LINENO: result: no" >&5
1955 echo "${ECHO_T}no" >&6; }
1958 if test "x$ac_ct_CC" = x; then
1961 case $cross_compiling:$ac_tool_warned in
1963 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1964 whose name does not start with the host triplet. If you think this
1965 configuration is useful to you, please write to autoconf@gnu.org." >&5
1966 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1967 whose name does not start with the host triplet. If you think this
1968 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1969 ac_tool_warned=yes ;;
1977 if test -z "$CC"; then
1978 if test -n "$ac_tool_prefix"; then
1979 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1980 set dummy ${ac_tool_prefix}cc; ac_word=$2
1981 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1983 if test "${ac_cv_prog_CC+set}" = set; then
1984 echo $ECHO_N "(cached) $ECHO_C" >&6
1986 if test -n "$CC"; then
1987 ac_cv_prog_CC="$CC" # Let the user override the test.
1989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1993 test -z "$as_dir" && as_dir=.
1994 for ac_exec_ext in '' $ac_executable_extensions; do
1995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1996 ac_cv_prog_CC="${ac_tool_prefix}cc"
1997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2007 if test -n "$CC"; then
2008 { echo "$as_me:$LINENO: result: $CC" >&5
2009 echo "${ECHO_T}$CC" >&6; }
2011 { echo "$as_me:$LINENO: result: no" >&5
2012 echo "${ECHO_T}no" >&6; }
2018 if test -z "$CC"; then
2019 # Extract the first word of "cc", so it can be a program name with args.
2020 set dummy cc; ac_word=$2
2021 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2023 if test "${ac_cv_prog_CC+set}" = set; then
2024 echo $ECHO_N "(cached) $ECHO_C" >&6
2026 if test -n "$CC"; then
2027 ac_cv_prog_CC="$CC" # Let the user override the test.
2030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2034 test -z "$as_dir" && as_dir=.
2035 for ac_exec_ext in '' $ac_executable_extensions; do
2036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2037 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2038 ac_prog_rejected=yes
2042 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2049 if test $ac_prog_rejected = yes; then
2050 # We found a bogon in the path, so make sure we never use it.
2051 set dummy $ac_cv_prog_CC
2053 if test $# != 0; then
2054 # We chose a different compiler from the bogus one.
2055 # However, it has the same basename, so the bogon will be chosen
2056 # first if we set CC to just the basename; use the full file name.
2058 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2064 if test -n "$CC"; then
2065 { echo "$as_me:$LINENO: result: $CC" >&5
2066 echo "${ECHO_T}$CC" >&6; }
2068 { echo "$as_me:$LINENO: result: no" >&5
2069 echo "${ECHO_T}no" >&6; }
2074 if test -z "$CC"; then
2075 if test -n "$ac_tool_prefix"; then
2076 for ac_prog in cl.exe
2078 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2079 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2080 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2082 if test "${ac_cv_prog_CC+set}" = set; then
2083 echo $ECHO_N "(cached) $ECHO_C" >&6
2085 if test -n "$CC"; then
2086 ac_cv_prog_CC="$CC" # Let the user override the test.
2088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2092 test -z "$as_dir" && as_dir=.
2093 for ac_exec_ext in '' $ac_executable_extensions; do
2094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2095 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2096 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2106 if test -n "$CC"; then
2107 { echo "$as_me:$LINENO: result: $CC" >&5
2108 echo "${ECHO_T}$CC" >&6; }
2110 { echo "$as_me:$LINENO: result: no" >&5
2111 echo "${ECHO_T}no" >&6; }
2115 test -n "$CC" && break
2118 if test -z "$CC"; then
2120 for ac_prog in cl.exe
2122 # Extract the first word of "$ac_prog", so it can be a program name with args.
2123 set dummy $ac_prog; ac_word=$2
2124 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2125 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2126 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2127 echo $ECHO_N "(cached) $ECHO_C" >&6
2129 if test -n "$ac_ct_CC"; then
2130 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2136 test -z "$as_dir" && as_dir=.
2137 for ac_exec_ext in '' $ac_executable_extensions; do
2138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2139 ac_cv_prog_ac_ct_CC="$ac_prog"
2140 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2149 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2150 if test -n "$ac_ct_CC"; then
2151 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2152 echo "${ECHO_T}$ac_ct_CC" >&6; }
2154 { echo "$as_me:$LINENO: result: no" >&5
2155 echo "${ECHO_T}no" >&6; }
2159 test -n "$ac_ct_CC" && break
2162 if test "x$ac_ct_CC" = x; then
2165 case $cross_compiling:$ac_tool_warned in
2167 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2168 whose name does not start with the host triplet. If you think this
2169 configuration is useful to you, please write to autoconf@gnu.org." >&5
2170 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2171 whose name does not start with the host triplet. If you think this
2172 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2173 ac_tool_warned=yes ;;
2182 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2183 See \`config.log
' for more details." >&5
2184 echo "$as_me: error: no acceptable C compiler found in \$PATH
2185 See \`config.log' for more details.
" >&2;}
2186 { (exit 1); exit 1; }; }
2188 # Provide some information about the compiler.
2189 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
2190 ac_compiler=`set X $ac_compile; echo $2`
2191 { (ac_try="$ac_compiler --version >&5"
2193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2194 *) ac_try_echo=$ac_try;;
2196 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2197 (eval "$ac_compiler --version >&5") 2>&5
2199 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2200 (exit $ac_status); }
2201 { (ac_try="$ac_compiler -v >&5"
2203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2204 *) ac_try_echo=$ac_try;;
2206 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2207 (eval "$ac_compiler -v >&5") 2>&5
2209 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2210 (exit $ac_status); }
2211 { (ac_try="$ac_compiler -V >&5"
2213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2214 *) ac_try_echo=$ac_try;;
2216 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2217 (eval "$ac_compiler -V >&5") 2>&5
2219 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2220 (exit $ac_status); }
2222 cat >conftest.$ac_ext <<_ACEOF
2225 cat confdefs.h >>conftest.$ac_ext
2226 cat >>conftest.$ac_ext <<_ACEOF
2227 /* end confdefs.h. */
2237 ac_clean_files_save=$ac_clean_files
2238 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
2239 # Try to create an executable without -o first, disregard a.out.
2240 # It will help us diagnose broken compilers, and finding out an intuition
2242 { echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2243 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6; }
2244 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2246 # List of possible output files, starting from the most likely.
2247 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2248 # only as a last resort. b.out is created by i960 compilers.
2249 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2251 # The IRIX 6 linker writes into existing files which may not be
2252 # executable, retaining their permissions. Remove them first so a
2253 # subsequent execution test works.
2255 for ac_file in $ac_files
2258 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2259 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2264 if { (ac_try="$ac_link_default"
2266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2267 *) ac_try_echo=$ac_try;;
2269 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2270 (eval "$ac_link_default") 2>&5
2272 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2273 (exit $ac_status); }; then
2274 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2275 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2276 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2277 # so that the user can short-circuit this test for compilers unknown to
2279 for ac_file in $ac_files ''
2281 test -f "$ac_file" || continue
2283 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2286 # We found the default executable, but exeext='' is most
2290 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2292 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2294 # We set ac_cv_exeext here because the later test for it is not
2295 # safe: cross compilers may not add the suffix if given an `-o'
2296 # argument, so we may need to know it at that point already.
2297 # Even if this section looks crufty: it has the advantage of
2304 test "$ac_cv_exeext" = no && ac_cv_exeext=
2310 { echo "$as_me:$LINENO: result
: $ac_file" >&5
2311 echo "${ECHO_T}$ac_file" >&6; }
2312 if test -z "$ac_file"; then
2313 echo "$as_me: failed program was
:" >&5
2314 sed 's/^/| /' conftest.$ac_ext >&5
2316 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
2317 See \
`config.log' for more details." >&5
2318 echo "$as_me: error: C compiler cannot create executables
2319 See \`config.log
' for more details." >&2;}
2320 { (exit 77); exit 77; }; }
2323 ac_exeext=$ac_cv_exeext
2325 # Check that the compiler produces executables we can run. If not, either
2326 # the compiler is broken, or we cross compile.
2327 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2328 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2329 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2330 # If not cross compiling, check that we can run a simple program.
2331 if test "$cross_compiling" != yes; then
2332 if { ac_try='.
/$ac_file'
2333 { (case "(($ac_try" in
2334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2335 *) ac_try_echo=$ac_try;;
2337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2338 (eval "$ac_try") 2>&5
2340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2341 (exit $ac_status); }; }; then
2344 if test "$cross_compiling" = maybe; then
2347 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2348 If you meant to cross compile, use \`--host'.
2349 See \
`config.log' for more details." >&5
2350 echo "$as_me: error: cannot run C compiled programs.
2351 If you meant to cross compile, use \`--host'.
2352 See \`config.log' for more details.
" >&2;}
2353 { (exit 1); exit 1; }; }
2357 { echo "$as_me:$LINENO: result
: yes" >&5
2358 echo "${ECHO_T}yes" >&6; }
2360 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2361 ac_clean_files=$ac_clean_files_save
2362 # Check that the compiler produces executables we can run. If not, either
2363 # the compiler is broken, or we cross compile.
2364 { echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2365 echo $ECHO_N "checking whether we are cross compiling...
$ECHO_C" >&6; }
2366 { echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2367 echo "${ECHO_T}$cross_compiling" >&6; }
2369 { echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2370 echo $ECHO_N "checking
for suffix of executables...
$ECHO_C" >&6; }
2371 if { (ac_try="$ac_link"
2373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2374 *) ac_try_echo=$ac_try;;
2376 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2377 (eval "$ac_link") 2>&5
2379 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2380 (exit $ac_status); }; then
2381 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2382 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2383 # work properly (i.e., refer to `conftest.exe'), while it won't with
2385 for ac_file in conftest.exe conftest conftest.*; do
2386 test -f "$ac_file" || continue
2388 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2389 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2395 { { echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2396 See \
`config.log' for more details." >&5
2397 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2398 See \`config.log
' for more details." >&2;}
2399 { (exit 1); exit 1; }; }
2402 rm -f conftest$ac_cv_exeext
2403 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2404 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2406 rm -f conftest.$ac_ext
2407 EXEEXT=$ac_cv_exeext
2409 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2410 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2411 if test "${ac_cv_objext+set}" = set; then
2412 echo $ECHO_N "(cached) $ECHO_C" >&6
2414 cat >conftest.$ac_ext <<_ACEOF
2417 cat confdefs.h >>conftest.$ac_ext
2418 cat >>conftest.$ac_ext <<_ACEOF
2419 /* end confdefs.h. */
2429 rm -f conftest.o conftest.obj
2430 if { (ac_try="$ac_compile"
2432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2433 *) ac_try_echo=$ac_try;;
2435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2436 (eval "$ac_compile") 2>&5
2438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2439 (exit $ac_status); }; then
2440 for ac_file in conftest.o conftest.obj conftest.*; do
2441 test -f "$ac_file" || continue;
2443 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2444 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2449 echo "$as_me: failed program was:" >&5
2450 sed 's
/^
/|
/' conftest.$ac_ext >&5
2452 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2453 See \`config.log' for more details.
" >&5
2454 echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2455 See \
`config.log' for more details." >&2;}
2456 { (exit 1); exit 1; }; }
2459 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2461 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2462 echo "${ECHO_T}$ac_cv_objext" >&6; }
2463 OBJEXT=$ac_cv_objext
2465 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2466 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2467 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2468 echo $ECHO_N "(cached) $ECHO_C" >&6
2470 cat >conftest.$ac_ext <<_ACEOF
2473 cat confdefs.h >>conftest.$ac_ext
2474 cat >>conftest.$ac_ext <<_ACEOF
2475 /* end confdefs.h. */
2488 rm -f conftest.$ac_objext
2489 if { (ac_try="$ac_compile"
2491 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2492 *) ac_try_echo
=$ac_try;;
2494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2495 (eval "$ac_compile") 2>conftest.er1
2497 grep -v '^ *+' conftest.er1
>conftest.err
2499 cat conftest.err
>&5
2500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2501 (exit $ac_status); } && {
2502 test -z "$ac_c_werror_flag" ||
2503 test ! -s conftest.err
2504 } && test -s conftest.
$ac_objext; then
2507 echo "$as_me: failed program was:" >&5
2508 sed 's/^/| /' conftest.
$ac_ext >&5
2513 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2514 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2517 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2518 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2519 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2520 ac_test_CFLAGS
=${CFLAGS+set}
2521 ac_save_CFLAGS
=$CFLAGS
2522 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2523 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2524 if test "${ac_cv_prog_cc_g+set}" = set; then
2525 echo $ECHO_N "(cached) $ECHO_C" >&6
2527 ac_save_c_werror_flag
=$ac_c_werror_flag
2528 ac_c_werror_flag
=yes
2531 cat >conftest.
$ac_ext <<_ACEOF
2534 cat confdefs.h
>>conftest.
$ac_ext
2535 cat >>conftest.
$ac_ext <<_ACEOF
2536 /* end confdefs.h. */
2546 rm -f conftest.
$ac_objext
2547 if { (ac_try
="$ac_compile"
2549 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2550 *) ac_try_echo=$ac_try;;
2552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2553 (eval "$ac_compile") 2>conftest.er1
2555 grep -v '^ *+' conftest.er1 >conftest.err
2557 cat conftest.err >&5
2558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2559 (exit $ac_status); } && {
2560 test -z "$ac_c_werror_flag" ||
2561 test ! -s conftest.err
2562 } && test -s conftest.$ac_objext; then
2565 echo "$as_me: failed program was:" >&5
2566 sed 's/^/| /' conftest.$ac_ext >&5
2569 cat >conftest.$ac_ext <<_ACEOF
2572 cat confdefs.h >>conftest.$ac_ext
2573 cat >>conftest.$ac_ext <<_ACEOF
2574 /* end confdefs.h. */
2584 rm -f conftest.$ac_objext
2585 if { (ac_try="$ac_compile"
2587 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2588 *) ac_try_echo
=$ac_try;;
2590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2591 (eval "$ac_compile") 2>conftest.er1
2593 grep -v '^ *+' conftest.er1
>conftest.err
2595 cat conftest.err
>&5
2596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2597 (exit $ac_status); } && {
2598 test -z "$ac_c_werror_flag" ||
2599 test ! -s conftest.err
2600 } && test -s conftest.
$ac_objext; then
2603 echo "$as_me: failed program was:" >&5
2604 sed 's/^/| /' conftest.
$ac_ext >&5
2606 ac_c_werror_flag
=$ac_save_c_werror_flag
2608 cat >conftest.
$ac_ext <<_ACEOF
2611 cat confdefs.h
>>conftest.
$ac_ext
2612 cat >>conftest.
$ac_ext <<_ACEOF
2613 /* end confdefs.h. */
2623 rm -f conftest.
$ac_objext
2624 if { (ac_try
="$ac_compile"
2626 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2627 *) ac_try_echo=$ac_try;;
2629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2630 (eval "$ac_compile") 2>conftest.er1
2632 grep -v '^ *+' conftest.er1 >conftest.err
2634 cat conftest.err >&5
2635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2636 (exit $ac_status); } && {
2637 test -z "$ac_c_werror_flag" ||
2638 test ! -s conftest.err
2639 } && test -s conftest.$ac_objext; then
2642 echo "$as_me: failed program was:" >&5
2643 sed 's/^/| /' conftest.$ac_ext >&5
2648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2655 ac_c_werror_flag=$ac_save_c_werror_flag
2657 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2658 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2659 if test "$ac_test_CFLAGS" = set; then
2660 CFLAGS=$ac_save_CFLAGS
2661 elif test $ac_cv_prog_cc_g = yes; then
2662 if test "$GCC" = yes; then
2668 if test "$GCC" = yes; then
2674 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2675 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2676 if test "${ac_cv_prog_cc_c89+set}" = set; then
2677 echo $ECHO_N "(cached) $ECHO_C" >&6
2679 ac_cv_prog_cc_c89=no
2681 cat >conftest.$ac_ext <<_ACEOF
2684 cat confdefs.h >>conftest.$ac_ext
2685 cat >>conftest.$ac_ext <<_ACEOF
2686 /* end confdefs.h. */
2689 #include <sys/types.h>
2690 #include <sys/stat.h>
2691 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2692 struct buf { int x; };
2693 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2694 static char *e (p, i)
2700 static char *f (char * (*g) (char **, int), char **p, ...)
2705 s = g (p, va_arg (v,int));
2710 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2711 function prototypes and stuff, but not '\xHH' hex character constants.
2712 These don't provoke an error unfortunately, instead are silently treated
2713 as 'x'. The following induces an error, until -std is added to get
2714 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2715 array size at least. It's necessary to write '\x00'==0 to get something
2716 that's true only with -std. */
2717 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2719 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2720 inside strings and character constants. */
2722 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2724 int test (int i, double x);
2725 struct s1 {int (*f) (int a);};
2726 struct s2 {int (*f) (double a);};
2727 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2733 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2738 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2739 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2741 CC="$ac_save_CC $ac_arg"
2742 rm -f conftest.$ac_objext
2743 if { (ac_try="$ac_compile"
2745 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2746 *) ac_try_echo
=$ac_try;;
2748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2749 (eval "$ac_compile") 2>conftest.er1
2751 grep -v '^ *+' conftest.er1
>conftest.err
2753 cat conftest.err
>&5
2754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2755 (exit $ac_status); } && {
2756 test -z "$ac_c_werror_flag" ||
2757 test ! -s conftest.err
2758 } && test -s conftest.
$ac_objext; then
2759 ac_cv_prog_cc_c89
=$ac_arg
2761 echo "$as_me: failed program was:" >&5
2762 sed 's/^/| /' conftest.
$ac_ext >&5
2767 rm -f core conftest.err conftest.
$ac_objext
2768 test "x$ac_cv_prog_cc_c89" != "xno" && break
2770 rm -f conftest.
$ac_ext
2775 case "x$ac_cv_prog_cc_c89" in
2777 { echo "$as_me:$LINENO: result: none needed" >&5
2778 echo "${ECHO_T}none needed" >&6; } ;;
2780 { echo "$as_me:$LINENO: result: unsupported" >&5
2781 echo "${ECHO_T}unsupported" >&6; } ;;
2783 CC
="$CC $ac_cv_prog_cc_c89"
2784 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2785 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2790 ac_cpp
='$CPP $CPPFLAGS'
2791 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2792 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2793 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2796 # Figure out what compiler warnings we can enable.
2797 # See config/warnings.m4 for details.
2801 save_CFLAGS
="$CFLAGS"
2802 for option
in -W -Wall -Wwrite-strings -Wstrict-prototypes \
2803 -Wmissing-prototypes -Wold-style-definition \
2804 -Wmissing-format-attribute -Wno-overlength-strings; do
2805 as_acx_Woption
=`echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
2807 { echo "$as_me:$LINENO: checking whether $CC supports $option" >&5
2808 echo $ECHO_N "checking whether $CC supports $option... $ECHO_C" >&6; }
2809 if { as_var
=$as_acx_Woption; eval "test \"\${$as_var+set}\" = set"; }; then
2810 echo $ECHO_N "(cached) $ECHO_C" >&6
2813 cat >conftest.
$ac_ext <<_ACEOF
2816 cat confdefs.h
>>conftest.
$ac_ext
2817 cat >>conftest.
$ac_ext <<_ACEOF
2818 /* end confdefs.h. */
2828 rm -f conftest.
$ac_objext
2829 if { (ac_try
="$ac_compile"
2831 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2832 *) ac_try_echo=$ac_try;;
2834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2835 (eval "$ac_compile") 2>conftest.er1
2837 grep -v '^ *+' conftest.er1 >conftest.err
2839 cat conftest.err >&5
2840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2841 (exit $ac_status); } && {
2842 test -z "$ac_c_werror_flag" ||
2843 test ! -s conftest.err
2844 } && test -s conftest.$ac_objext; then
2845 eval "$as_acx_Woption=yes"
2847 echo "$as_me: failed program was:" >&5
2848 sed 's/^/| /' conftest.$ac_ext >&5
2850 eval "$as_acx_Woption=no"
2853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2856 ac_res=`eval echo '${'$as_acx_Woption'}'`
2857 { echo "$as_me:$LINENO: result: $ac_res" >&5
2858 echo "${ECHO_T}$ac_res" >&6; }
2859 if test `eval echo '${'$as_acx_Woption'}'` = yes; then
2860 WARN_CFLAGS="$WARN_CFLAGS${WARN_CFLAGS:+ }$option"
2864 CFLAGS="$save_CFLAGS"
2867 if test "$GCC" = yes; then
2868 { echo "$as_me:$LINENO: checking whether $CC supports -pedantic -Wno-long-long" >&5
2869 echo $ECHO_N "checking whether $CC supports -pedantic -Wno-long-long... $ECHO_C" >&6; }
2870 if test "${acx_cv_prog_cc_pedantic__Wno_long_long+set}" = set; then
2871 echo $ECHO_N "(cached) $ECHO_C" >&6
2873 save_CFLAGS="$CFLAGS"
2874 CFLAGS="-pedantic -Wno-long-long"
2875 cat >conftest.$ac_ext <<_ACEOF
2878 cat confdefs.h >>conftest.$ac_ext
2879 cat >>conftest.$ac_ext <<_ACEOF
2880 /* end confdefs.h. */
2890 rm -f conftest.$ac_objext
2891 if { (ac_try="$ac_compile"
2893 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2894 *) ac_try_echo
=$ac_try;;
2896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2897 (eval "$ac_compile") 2>conftest.er1
2899 grep -v '^ *+' conftest.er1
>conftest.err
2901 cat conftest.err
>&5
2902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2903 (exit $ac_status); } && {
2904 test -z "$ac_c_werror_flag" ||
2905 test ! -s conftest.err
2906 } && test -s conftest.
$ac_objext; then
2907 acx_cv_prog_cc_pedantic__Wno_long_long
=yes
2909 echo "$as_me: failed program was:" >&5
2910 sed 's/^/| /' conftest.
$ac_ext >&5
2912 acx_cv_prog_cc_pedantic__Wno_long_long
=no
2915 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2916 CFLAGS
="$save_CFLAGS"
2918 { echo "$as_me:$LINENO: result: $acx_cv_prog_cc_pedantic__Wno_long_long" >&5
2919 echo "${ECHO_T}$acx_cv_prog_cc_pedantic__Wno_long_long" >&6; }
2920 if test $acx_cv_prog_cc_pedantic__Wno_long_long = yes; then
2921 WARN_PEDANTIC
="$WARN_PEDANTIC${WARN_PEDANTIC:+ }-pedantic -Wno-long-long"
2929 # Only enable with --enable-werror-always until existing warnings are
2932 # Check whether --enable-werror-always was given.
2933 if test "${enable_werror_always+set}" = set; then
2934 enableval
=$enable_werror_always;
2936 enable_werror_always
=no
2939 if test $enable_werror_always = yes; then
2940 WERROR
="$WERROR${WERROR:+ }-Werror"
2946 # Determine the noncanonical target name, for directory use.
2947 case ${build_alias} in
2948 "") build_noncanonical
=${build} ;;
2949 *) build_noncanonical
=${build_alias} ;;
2952 case ${host_alias} in
2953 "") host_noncanonical
=${build_noncanonical} ;;
2954 *) host_noncanonical
=${host_alias} ;;
2957 case ${target_alias} in
2958 "") target_noncanonical
=${host_noncanonical} ;;
2959 *) target_noncanonical
=${target_alias} ;;
2965 # Specify the local prefix
2968 # Check whether --with-local-prefix was given.
2969 if test "${with_local_prefix+set}" = set; then
2970 withval
=$with_local_prefix; case "${withval}" in
2971 yes) { { echo "$as_me:$LINENO: error: bad value ${withval} given for local include directory prefix" >&5
2972 echo "$as_me: error: bad value ${withval} given for local include directory prefix" >&2;}
2973 { (exit 1); exit 1; }; } ;;
2975 *) local_prefix
=$with_local_prefix ;;
2980 # Default local prefix if it is empty
2981 if test x
$local_prefix = x
; then
2982 local_prefix
=/usr
/local
2985 # Choose one or two-process fix methodology. Systems that cannot handle
2986 # bi-directional pipes must use the two process method.
2988 # Check whether --enable-twoprocess was given.
2989 if test "${enable_twoprocess+set}" = set; then
2990 enableval
=$enable_twoprocess; if test "x$enable_twoprocess" = xyes
; then
2997 i?
86-*-msdosdjgpp* | \
2999 x86_64-
*-mingw32* | \
3012 if test $TARGET = twoprocess
; then
3014 cat >>confdefs.h
<<\_ACEOF
3015 #define SEPARATE_FIX_PROC 1
3023 cat >>confdefs.h
<<\_ACEOF
3028 cat >>confdefs.h
<<\_ACEOF
3029 #define atexit xatexit
3036 cat >>confdefs.h
<<_ACEOF
3037 #define EXE_EXT "$ac_exeext"
3041 # Checks for header files.
3043 ac_cpp
='$CPP $CPPFLAGS'
3044 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3045 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3046 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3047 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3048 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3049 # On Suns, sometimes $CPP names a directory.
3050 if test -n "$CPP" && test -d "$CPP"; then
3053 if test -z "$CPP"; then
3054 if test "${ac_cv_prog_CPP+set}" = set; then
3055 echo $ECHO_N "(cached) $ECHO_C" >&6
3057 # Double quotes because CPP needs to be expanded
3058 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3061 for ac_c_preproc_warn_flag
in '' yes
3063 # Use a header file that comes with gcc, so configuring glibc
3064 # with a fresh cross-compiler works.
3065 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3066 # <limits.h> exists even on freestanding compilers.
3067 # On the NeXT, cc -E runs the code through the compiler's parser,
3068 # not just through cpp. "Syntax error" is here to catch this case.
3069 cat >conftest.
$ac_ext <<_ACEOF
3072 cat confdefs.h
>>conftest.
$ac_ext
3073 cat >>conftest.
$ac_ext <<_ACEOF
3074 /* end confdefs.h. */
3076 # include <limits.h>
3078 # include <assert.h>
3082 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3084 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3085 *) ac_try_echo=$ac_try;;
3087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3088 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3090 grep -v '^ *+' conftest.er1 >conftest.err
3092 cat conftest.err >&5
3093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3094 (exit $ac_status); } >/dev/null && {
3095 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3096 test ! -s conftest.err
3100 echo "$as_me: failed program was:" >&5
3101 sed 's/^/| /' conftest.$ac_ext >&5
3103 # Broken: fails on valid input.
3107 rm -f conftest.err conftest.$ac_ext
3109 # OK, works on sane cases. Now check whether nonexistent headers
3110 # can be detected and how.
3111 cat >conftest.$ac_ext <<_ACEOF
3114 cat confdefs.h >>conftest.$ac_ext
3115 cat >>conftest.$ac_ext <<_ACEOF
3116 /* end confdefs.h. */
3117 #include <ac_nonexistent.h>
3119 if { (ac_try="$ac_cpp conftest.$ac_ext"
3121 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3122 *) ac_try_echo
=$ac_try;;
3124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3125 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3127 grep -v '^ *+' conftest.er1
>conftest.err
3129 cat conftest.err
>&5
3130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3131 (exit $ac_status); } >/dev
/null
&& {
3132 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3133 test ! -s conftest.err
3135 # Broken: success on invalid input.
3138 echo "$as_me: failed program was:" >&5
3139 sed 's/^/| /' conftest.
$ac_ext >&5
3141 # Passes both tests.
3146 rm -f conftest.err conftest.
$ac_ext
3149 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3150 rm -f conftest.err conftest.
$ac_ext
3151 if $ac_preproc_ok; then
3163 { echo "$as_me:$LINENO: result: $CPP" >&5
3164 echo "${ECHO_T}$CPP" >&6; }
3166 for ac_c_preproc_warn_flag
in '' yes
3168 # Use a header file that comes with gcc, so configuring glibc
3169 # with a fresh cross-compiler works.
3170 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3171 # <limits.h> exists even on freestanding compilers.
3172 # On the NeXT, cc -E runs the code through the compiler's parser,
3173 # not just through cpp. "Syntax error" is here to catch this case.
3174 cat >conftest.
$ac_ext <<_ACEOF
3177 cat confdefs.h
>>conftest.
$ac_ext
3178 cat >>conftest.
$ac_ext <<_ACEOF
3179 /* end confdefs.h. */
3181 # include <limits.h>
3183 # include <assert.h>
3187 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3189 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3190 *) ac_try_echo=$ac_try;;
3192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3193 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3195 grep -v '^ *+' conftest.er1 >conftest.err
3197 cat conftest.err >&5
3198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3199 (exit $ac_status); } >/dev/null && {
3200 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3201 test ! -s conftest.err
3205 echo "$as_me: failed program was:" >&5
3206 sed 's/^/| /' conftest.$ac_ext >&5
3208 # Broken: fails on valid input.
3212 rm -f conftest.err conftest.$ac_ext
3214 # OK, works on sane cases. Now check whether nonexistent headers
3215 # can be detected and how.
3216 cat >conftest.$ac_ext <<_ACEOF
3219 cat confdefs.h >>conftest.$ac_ext
3220 cat >>conftest.$ac_ext <<_ACEOF
3221 /* end confdefs.h. */
3222 #include <ac_nonexistent.h>
3224 if { (ac_try="$ac_cpp conftest.$ac_ext"
3226 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3227 *) ac_try_echo
=$ac_try;;
3229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3230 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3232 grep -v '^ *+' conftest.er1
>conftest.err
3234 cat conftest.err
>&5
3235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3236 (exit $ac_status); } >/dev
/null
&& {
3237 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3238 test ! -s conftest.err
3240 # Broken: success on invalid input.
3243 echo "$as_me: failed program was:" >&5
3244 sed 's/^/| /' conftest.
$ac_ext >&5
3246 # Passes both tests.
3251 rm -f conftest.err conftest.
$ac_ext
3254 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3255 rm -f conftest.err conftest.
$ac_ext
3256 if $ac_preproc_ok; then
3259 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3260 See \`config.log' for more details." >&5
3261 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3262 See \`config.log' for more details." >&2;}
3263 { (exit 1); exit 1; }; }
3267 ac_cpp
='$CPP $CPPFLAGS'
3268 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3269 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3270 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3273 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3274 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3275 if test "${ac_cv_path_GREP+set}" = set; then
3276 echo $ECHO_N "(cached) $ECHO_C" >&6
3278 # Extract the first word of "grep ggrep" to use in msg output
3279 if test -z "$GREP"; then
3280 set dummy
grep ggrep
; ac_prog_name
=$2
3281 if test "${ac_cv_path_GREP+set}" = set; then
3282 echo $ECHO_N "(cached) $ECHO_C" >&6
3284 ac_path_GREP_found
=false
3285 # Loop through the user's path and test for each of PROGNAME-LIST
3286 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3287 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3290 test -z "$as_dir" && as_dir
=.
3291 for ac_prog
in grep ggrep
; do
3292 for ac_exec_ext
in '' $ac_executable_extensions; do
3293 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3294 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3295 # Check for GNU ac_path_GREP and select it if it is found.
3296 # Check for GNU $ac_path_GREP
3297 case `"$ac_path_GREP" --version 2>&1` in
3299 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3302 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3305 cat "conftest.in" "conftest.in" >"conftest.tmp"
3306 mv "conftest.tmp" "conftest.in"
3307 cp "conftest.in" "conftest.nl"
3308 echo 'GREP' >> "conftest.nl"
3309 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3310 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3311 ac_count
=`expr $ac_count + 1`
3312 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3313 # Best one so far, save it but keep looking for a better one
3314 ac_cv_path_GREP
="$ac_path_GREP"
3315 ac_path_GREP_max
=$ac_count
3317 # 10*(2^10) chars as input seems more than enough
3318 test $ac_count -gt 10 && break
3320 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3324 $ac_path_GREP_found && break 3
3334 GREP
="$ac_cv_path_GREP"
3335 if test -z "$GREP"; then
3336 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3337 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3338 { (exit 1); exit 1; }; }
3342 ac_cv_path_GREP
=$GREP
3347 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3348 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3349 GREP
="$ac_cv_path_GREP"
3352 { echo "$as_me:$LINENO: checking for egrep" >&5
3353 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3354 if test "${ac_cv_path_EGREP+set}" = set; then
3355 echo $ECHO_N "(cached) $ECHO_C" >&6
3357 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3358 then ac_cv_path_EGREP
="$GREP -E"
3360 # Extract the first word of "egrep" to use in msg output
3361 if test -z "$EGREP"; then
3362 set dummy
egrep; ac_prog_name
=$2
3363 if test "${ac_cv_path_EGREP+set}" = set; then
3364 echo $ECHO_N "(cached) $ECHO_C" >&6
3366 ac_path_EGREP_found
=false
3367 # Loop through the user's path and test for each of PROGNAME-LIST
3368 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3369 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3372 test -z "$as_dir" && as_dir
=.
3373 for ac_prog
in egrep; do
3374 for ac_exec_ext
in '' $ac_executable_extensions; do
3375 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3376 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3377 # Check for GNU ac_path_EGREP and select it if it is found.
3378 # Check for GNU $ac_path_EGREP
3379 case `"$ac_path_EGREP" --version 2>&1` in
3381 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3384 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3387 cat "conftest.in" "conftest.in" >"conftest.tmp"
3388 mv "conftest.tmp" "conftest.in"
3389 cp "conftest.in" "conftest.nl"
3390 echo 'EGREP' >> "conftest.nl"
3391 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3392 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3393 ac_count
=`expr $ac_count + 1`
3394 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3395 # Best one so far, save it but keep looking for a better one
3396 ac_cv_path_EGREP
="$ac_path_EGREP"
3397 ac_path_EGREP_max
=$ac_count
3399 # 10*(2^10) chars as input seems more than enough
3400 test $ac_count -gt 10 && break
3402 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3406 $ac_path_EGREP_found && break 3
3416 EGREP
="$ac_cv_path_EGREP"
3417 if test -z "$EGREP"; then
3418 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3419 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3420 { (exit 1); exit 1; }; }
3424 ac_cv_path_EGREP
=$EGREP
3430 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3431 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3432 EGREP
="$ac_cv_path_EGREP"
3435 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3436 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3437 if test "${ac_cv_header_stdc+set}" = set; then
3438 echo $ECHO_N "(cached) $ECHO_C" >&6
3440 cat >conftest.
$ac_ext <<_ACEOF
3443 cat confdefs.h
>>conftest.
$ac_ext
3444 cat >>conftest.
$ac_ext <<_ACEOF
3445 /* end confdefs.h. */
3459 rm -f conftest.
$ac_objext
3460 if { (ac_try
="$ac_compile"
3462 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3463 *) ac_try_echo=$ac_try;;
3465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3466 (eval "$ac_compile") 2>conftest.er1
3468 grep -v '^ *+' conftest.er1 >conftest.err
3470 cat conftest.err >&5
3471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3472 (exit $ac_status); } && {
3473 test -z "$ac_c_werror_flag" ||
3474 test ! -s conftest.err
3475 } && test -s conftest.$ac_objext; then
3476 ac_cv_header_stdc=yes
3478 echo "$as_me: failed program was:" >&5
3479 sed 's/^/| /' conftest.$ac_ext >&5
3481 ac_cv_header_stdc=no
3484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3486 if test $ac_cv_header_stdc = yes; then
3487 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3488 cat >conftest.$ac_ext <<_ACEOF
3491 cat confdefs.h >>conftest.$ac_ext
3492 cat >>conftest.$ac_ext <<_ACEOF
3493 /* end confdefs.h. */
3497 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3498 $EGREP "memchr" >/dev/null 2>&1; then
3501 ac_cv_header_stdc=no
3507 if test $ac_cv_header_stdc = yes; then
3508 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3509 cat >conftest.$ac_ext <<_ACEOF
3512 cat confdefs.h >>conftest.$ac_ext
3513 cat >>conftest.$ac_ext <<_ACEOF
3514 /* end confdefs.h. */
3518 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3519 $EGREP "free" >/dev/null 2>&1; then
3522 ac_cv_header_stdc=no
3528 if test $ac_cv_header_stdc = yes; then
3529 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3530 if test "$cross_compiling" = yes; then
3533 cat >conftest.$ac_ext <<_ACEOF
3536 cat confdefs.h >>conftest.$ac_ext
3537 cat >>conftest.$ac_ext <<_ACEOF
3538 /* end confdefs.h. */
3541 #if ((' ' & 0x0FF) == 0x020)
3542 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3543 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3545 # define ISLOWER(c) \
3546 (('a' <= (c) && (c) <= 'i') \
3547 || ('j' <= (c) && (c) <= 'r') \
3548 || ('s' <= (c) && (c) <= 'z'))
3549 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3552 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3557 for (i = 0; i < 256; i++)
3558 if (XOR (islower (i), ISLOWER (i))
3559 || toupper (i) != TOUPPER (i))
3564 rm -f conftest$ac_exeext
3565 if { (ac_try="$ac_link"
3567 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3568 *) ac_try_echo
=$ac_try;;
3570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3571 (eval "$ac_link") 2>&5
3573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3574 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3575 { (case "(($ac_try" in
3576 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3577 *) ac_try_echo=$ac_try;;
3579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3580 (eval "$ac_try") 2>&5
3582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3583 (exit $ac_status); }; }; then
3586 echo "$as_me: program exited with status $ac_status" >&5
3587 echo "$as_me: failed program was:" >&5
3588 sed 's/^/| /' conftest.$ac_ext >&5
3591 ac_cv_header_stdc=no
3593 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3599 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3600 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3601 if test $ac_cv_header_stdc = yes; then
3603 cat >>confdefs.h <<\_ACEOF
3604 #define STDC_HEADERS 1
3609 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3619 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3620 inttypes.h stdint.h unistd.h
3622 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
3623 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3624 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3625 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3626 echo $ECHO_N "(cached) $ECHO_C" >&6
3628 cat >conftest.$ac_ext <<_ACEOF
3631 cat confdefs.h >>conftest.$ac_ext
3632 cat >>conftest.$ac_ext <<_ACEOF
3633 /* end confdefs.h. */
3634 $ac_includes_default
3636 #include <$ac_header>
3638 rm -f conftest.$ac_objext
3639 if { (ac_try="$ac_compile"
3641 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3642 *) ac_try_echo
=$ac_try;;
3644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3645 (eval "$ac_compile") 2>conftest.er1
3647 grep -v '^ *+' conftest.er1
>conftest.err
3649 cat conftest.err
>&5
3650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3651 (exit $ac_status); } && {
3652 test -z "$ac_c_werror_flag" ||
3653 test ! -s conftest.err
3654 } && test -s conftest.
$ac_objext; then
3655 eval "$as_ac_Header=yes"
3657 echo "$as_me: failed program was:" >&5
3658 sed 's/^/| /' conftest.
$ac_ext >&5
3660 eval "$as_ac_Header=no"
3663 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3665 ac_res
=`eval echo '${'$as_ac_Header'}'`
3666 { echo "$as_me:$LINENO: result: $ac_res" >&5
3667 echo "${ECHO_T}$ac_res" >&6; }
3668 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3669 cat >>confdefs.h
<<_ACEOF
3670 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3685 for ac_header
in stddef.h stdlib.h
strings.h unistd.h fcntl.h sys
/file.h \
3688 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3689 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3690 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3691 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3692 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3693 echo $ECHO_N "(cached) $ECHO_C" >&6
3695 ac_res
=`eval echo '${'$as_ac_Header'}'`
3696 { echo "$as_me:$LINENO: result: $ac_res" >&5
3697 echo "${ECHO_T}$ac_res" >&6; }
3699 # Is the header compilable?
3700 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
3701 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
3702 cat >conftest.
$ac_ext <<_ACEOF
3705 cat confdefs.h
>>conftest.
$ac_ext
3706 cat >>conftest.
$ac_ext <<_ACEOF
3707 /* end confdefs.h. */
3708 $ac_includes_default
3709 #include <$ac_header>
3711 rm -f conftest.
$ac_objext
3712 if { (ac_try
="$ac_compile"
3714 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3715 *) ac_try_echo=$ac_try;;
3717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3718 (eval "$ac_compile") 2>conftest.er1
3720 grep -v '^ *+' conftest.er1 >conftest.err
3722 cat conftest.err >&5
3723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3724 (exit $ac_status); } && {
3725 test -z "$ac_c_werror_flag" ||
3726 test ! -s conftest.err
3727 } && test -s conftest.$ac_objext; then
3728 ac_header_compiler=yes
3730 echo "$as_me: failed program was:" >&5
3731 sed 's/^/| /' conftest.$ac_ext >&5
3733 ac_header_compiler=no
3736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3737 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3738 echo "${ECHO_T}$ac_header_compiler" >&6; }
3740 # Is the header present?
3741 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
3742 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
3743 cat >conftest.$ac_ext <<_ACEOF
3746 cat confdefs.h >>conftest.$ac_ext
3747 cat >>conftest.$ac_ext <<_ACEOF
3748 /* end confdefs.h. */
3749 #include <$ac_header>
3751 if { (ac_try="$ac_cpp conftest.$ac_ext"
3753 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3754 *) ac_try_echo
=$ac_try;;
3756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3757 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3759 grep -v '^ *+' conftest.er1
>conftest.err
3761 cat conftest.err
>&5
3762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3763 (exit $ac_status); } >/dev
/null
&& {
3764 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3765 test ! -s conftest.err
3767 ac_header_preproc
=yes
3769 echo "$as_me: failed program was:" >&5
3770 sed 's/^/| /' conftest.
$ac_ext >&5
3772 ac_header_preproc
=no
3775 rm -f conftest.err conftest.
$ac_ext
3776 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3777 echo "${ECHO_T}$ac_header_preproc" >&6; }
3779 # So? What about this header?
3780 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3782 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3783 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3784 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3785 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3786 ac_header_preproc
=yes
3789 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3790 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3791 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3792 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3793 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3794 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3795 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3796 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3797 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3798 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3799 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3800 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3804 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3805 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3806 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3807 echo $ECHO_N "(cached) $ECHO_C" >&6
3809 eval "$as_ac_Header=\$ac_header_preproc"
3811 ac_res
=`eval echo '${'$as_ac_Header'}'`
3812 { echo "$as_me:$LINENO: result: $ac_res" >&5
3813 echo "${ECHO_T}$ac_res" >&6; }
3816 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3817 cat >>confdefs.h
<<_ACEOF
3818 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3842 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
3844 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3845 { echo "$as_me:$LINENO: checking for $ac_func" >&5
3846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
3847 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
3848 echo $ECHO_N "(cached) $ECHO_C" >&6
3850 cat >conftest.
$ac_ext <<_ACEOF
3853 cat confdefs.h
>>conftest.
$ac_ext
3854 cat >>conftest.
$ac_ext <<_ACEOF
3855 /* end confdefs.h. */
3856 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3857 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3858 #define $ac_func innocuous_$ac_func
3860 /* System header to define __stub macros and hopefully few prototypes,
3861 which can conflict with char $ac_func (); below.
3862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3863 <limits.h> exists even on freestanding compilers. */
3866 # include <limits.h>
3868 # include <assert.h>
3873 /* Override any GCC internal prototype to avoid an error.
3874 Use char because int might match the return type of a GCC
3875 builtin and then its argument prototype would still apply. */
3880 /* The GNU C library defines this for functions which it implements
3881 to always fail with ENOSYS. Some functions are actually named
3882 something starting with __ and the normal name is an alias. */
3883 #if defined __stub_$ac_func || defined __stub___$ac_func
3895 rm -f conftest.
$ac_objext conftest
$ac_exeext
3896 if { (ac_try
="$ac_link"
3898 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3899 *) ac_try_echo=$ac_try;;
3901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3902 (eval "$ac_link") 2>conftest.er1
3904 grep -v '^ *+' conftest.er1 >conftest.err
3906 cat conftest.err >&5
3907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3908 (exit $ac_status); } && {
3909 test -z "$ac_c_werror_flag" ||
3910 test ! -s conftest.err
3911 } && test -s conftest$ac_exeext &&
3912 $as_test_x conftest$ac_exeext; then
3913 eval "$as_ac_var=yes"
3915 echo "$as_me: failed program was:" >&5
3916 sed 's/^/| /' conftest.$ac_ext >&5
3918 eval "$as_ac_var=no"
3921 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3922 conftest$ac_exeext conftest.$ac_ext
3924 ac_res=`eval echo '${'$as_ac_var'}'`
3925 { echo "$as_me:$LINENO: result: $ac_res" >&5
3926 echo "${ECHO_T}$ac_res" >&6; }
3927 if test `eval echo '${'$as_ac_var'}'` = yes; then
3928 cat >>confdefs.h <<_ACEOF
3929 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
3935 { echo "$as_me:$LINENO: checking whether abort is declared" >&5
3936 echo $ECHO_N "checking whether abort is declared... $ECHO_C" >&6; }
3937 if test "${ac_cv_have_decl_abort+set}" = set; then
3938 echo $ECHO_N "(cached) $ECHO_C" >&6
3940 cat >conftest.$ac_ext <<_ACEOF
3943 cat confdefs.h >>conftest.$ac_ext
3944 cat >>conftest.$ac_ext <<_ACEOF
3945 /* end confdefs.h. */
3946 $ac_includes_default
3958 rm -f conftest.$ac_objext
3959 if { (ac_try="$ac_compile"
3961 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3962 *) ac_try_echo
=$ac_try;;
3964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3965 (eval "$ac_compile") 2>conftest.er1
3967 grep -v '^ *+' conftest.er1
>conftest.err
3969 cat conftest.err
>&5
3970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3971 (exit $ac_status); } && {
3972 test -z "$ac_c_werror_flag" ||
3973 test ! -s conftest.err
3974 } && test -s conftest.
$ac_objext; then
3975 ac_cv_have_decl_abort
=yes
3977 echo "$as_me: failed program was:" >&5
3978 sed 's/^/| /' conftest.
$ac_ext >&5
3980 ac_cv_have_decl_abort
=no
3983 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3985 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_abort" >&5
3986 echo "${ECHO_T}$ac_cv_have_decl_abort" >&6; }
3987 if test $ac_cv_have_decl_abort = yes; then
3989 cat >>confdefs.h
<<_ACEOF
3990 #define HAVE_DECL_ABORT 1
3995 cat >>confdefs.h
<<_ACEOF
3996 #define HAVE_DECL_ABORT 0
4001 { echo "$as_me:$LINENO: checking whether asprintf is declared" >&5
4002 echo $ECHO_N "checking whether asprintf is declared... $ECHO_C" >&6; }
4003 if test "${ac_cv_have_decl_asprintf+set}" = set; then
4004 echo $ECHO_N "(cached) $ECHO_C" >&6
4006 cat >conftest.
$ac_ext <<_ACEOF
4009 cat confdefs.h
>>conftest.
$ac_ext
4010 cat >>conftest.
$ac_ext <<_ACEOF
4011 /* end confdefs.h. */
4012 $ac_includes_default
4024 rm -f conftest.
$ac_objext
4025 if { (ac_try
="$ac_compile"
4027 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4028 *) ac_try_echo=$ac_try;;
4030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4031 (eval "$ac_compile") 2>conftest.er1
4033 grep -v '^ *+' conftest.er1 >conftest.err
4035 cat conftest.err >&5
4036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4037 (exit $ac_status); } && {
4038 test -z "$ac_c_werror_flag" ||
4039 test ! -s conftest.err
4040 } && test -s conftest.$ac_objext; then
4041 ac_cv_have_decl_asprintf=yes
4043 echo "$as_me: failed program was:" >&5
4044 sed 's/^/| /' conftest.$ac_ext >&5
4046 ac_cv_have_decl_asprintf=no
4049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4051 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_asprintf" >&5
4052 echo "${ECHO_T}$ac_cv_have_decl_asprintf" >&6; }
4053 if test $ac_cv_have_decl_asprintf = yes; then
4055 cat >>confdefs.h <<_ACEOF
4056 #define HAVE_DECL_ASPRINTF 1
4061 cat >>confdefs.h <<_ACEOF
4062 #define HAVE_DECL_ASPRINTF 0
4067 { echo "$as_me:$LINENO: checking whether basename is declared" >&5
4068 echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6; }
4069 if test "${ac_cv_have_decl_basename+set}" = set; then
4070 echo $ECHO_N "(cached) $ECHO_C" >&6
4072 cat >conftest.$ac_ext <<_ACEOF
4075 cat confdefs.h >>conftest.$ac_ext
4076 cat >>conftest.$ac_ext <<_ACEOF
4077 /* end confdefs.h. */
4078 $ac_includes_default
4090 rm -f conftest.$ac_objext
4091 if { (ac_try="$ac_compile"
4093 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4094 *) ac_try_echo
=$ac_try;;
4096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4097 (eval "$ac_compile") 2>conftest.er1
4099 grep -v '^ *+' conftest.er1
>conftest.err
4101 cat conftest.err
>&5
4102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4103 (exit $ac_status); } && {
4104 test -z "$ac_c_werror_flag" ||
4105 test ! -s conftest.err
4106 } && test -s conftest.
$ac_objext; then
4107 ac_cv_have_decl_basename
=yes
4109 echo "$as_me: failed program was:" >&5
4110 sed 's/^/| /' conftest.
$ac_ext >&5
4112 ac_cv_have_decl_basename
=no
4115 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4117 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
4118 echo "${ECHO_T}$ac_cv_have_decl_basename" >&6; }
4119 if test $ac_cv_have_decl_basename = yes; then
4121 cat >>confdefs.h
<<_ACEOF
4122 #define HAVE_DECL_BASENAME 1
4127 cat >>confdefs.h
<<_ACEOF
4128 #define HAVE_DECL_BASENAME 0
4133 { echo "$as_me:$LINENO: checking whether errno is declared" >&5
4134 echo $ECHO_N "checking whether errno is declared... $ECHO_C" >&6; }
4135 if test "${ac_cv_have_decl_errno+set}" = set; then
4136 echo $ECHO_N "(cached) $ECHO_C" >&6
4138 cat >conftest.
$ac_ext <<_ACEOF
4141 cat confdefs.h
>>conftest.
$ac_ext
4142 cat >>conftest.
$ac_ext <<_ACEOF
4143 /* end confdefs.h. */
4144 $ac_includes_default
4156 rm -f conftest.
$ac_objext
4157 if { (ac_try
="$ac_compile"
4159 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4160 *) ac_try_echo=$ac_try;;
4162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4163 (eval "$ac_compile") 2>conftest.er1
4165 grep -v '^ *+' conftest.er1 >conftest.err
4167 cat conftest.err >&5
4168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4169 (exit $ac_status); } && {
4170 test -z "$ac_c_werror_flag" ||
4171 test ! -s conftest.err
4172 } && test -s conftest.$ac_objext; then
4173 ac_cv_have_decl_errno=yes
4175 echo "$as_me: failed program was:" >&5
4176 sed 's/^/| /' conftest.$ac_ext >&5
4178 ac_cv_have_decl_errno=no
4181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4183 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_errno" >&5
4184 echo "${ECHO_T}$ac_cv_have_decl_errno" >&6; }
4185 if test $ac_cv_have_decl_errno = yes; then
4187 cat >>confdefs.h <<_ACEOF
4188 #define HAVE_DECL_ERRNO 1
4193 cat >>confdefs.h <<_ACEOF
4194 #define HAVE_DECL_ERRNO 0
4199 { echo "$as_me:$LINENO: checking whether vasprintf is declared" >&5
4200 echo $ECHO_N "checking whether vasprintf is declared... $ECHO_C" >&6; }
4201 if test "${ac_cv_have_decl_vasprintf+set}" = set; then
4202 echo $ECHO_N "(cached) $ECHO_C" >&6
4204 cat >conftest.$ac_ext <<_ACEOF
4207 cat confdefs.h >>conftest.$ac_ext
4208 cat >>conftest.$ac_ext <<_ACEOF
4209 /* end confdefs.h. */
4210 $ac_includes_default
4222 rm -f conftest.$ac_objext
4223 if { (ac_try="$ac_compile"
4225 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4226 *) ac_try_echo
=$ac_try;;
4228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4229 (eval "$ac_compile") 2>conftest.er1
4231 grep -v '^ *+' conftest.er1
>conftest.err
4233 cat conftest.err
>&5
4234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4235 (exit $ac_status); } && {
4236 test -z "$ac_c_werror_flag" ||
4237 test ! -s conftest.err
4238 } && test -s conftest.
$ac_objext; then
4239 ac_cv_have_decl_vasprintf
=yes
4241 echo "$as_me: failed program was:" >&5
4242 sed 's/^/| /' conftest.
$ac_ext >&5
4244 ac_cv_have_decl_vasprintf
=no
4247 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4249 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_vasprintf" >&5
4250 echo "${ECHO_T}$ac_cv_have_decl_vasprintf" >&6; }
4251 if test $ac_cv_have_decl_vasprintf = yes; then
4253 cat >>confdefs.h
<<_ACEOF
4254 #define HAVE_DECL_VASPRINTF 1
4259 cat >>confdefs.h
<<_ACEOF
4260 #define HAVE_DECL_VASPRINTF 0
4265 { echo "$as_me:$LINENO: checking whether clearerr_unlocked is declared" >&5
4266 echo $ECHO_N "checking whether clearerr_unlocked is declared... $ECHO_C" >&6; }
4267 if test "${ac_cv_have_decl_clearerr_unlocked+set}" = set; then
4268 echo $ECHO_N "(cached) $ECHO_C" >&6
4270 cat >conftest.
$ac_ext <<_ACEOF
4273 cat confdefs.h
>>conftest.
$ac_ext
4274 cat >>conftest.
$ac_ext <<_ACEOF
4275 /* end confdefs.h. */
4276 $ac_includes_default
4280 #ifndef clearerr_unlocked
4281 (void) clearerr_unlocked;
4288 rm -f conftest.
$ac_objext
4289 if { (ac_try
="$ac_compile"
4291 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4292 *) ac_try_echo=$ac_try;;
4294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4295 (eval "$ac_compile") 2>conftest.er1
4297 grep -v '^ *+' conftest.er1 >conftest.err
4299 cat conftest.err >&5
4300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4301 (exit $ac_status); } && {
4302 test -z "$ac_c_werror_flag" ||
4303 test ! -s conftest.err
4304 } && test -s conftest.$ac_objext; then
4305 ac_cv_have_decl_clearerr_unlocked=yes
4307 echo "$as_me: failed program was:" >&5
4308 sed 's/^/| /' conftest.$ac_ext >&5
4310 ac_cv_have_decl_clearerr_unlocked=no
4313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4315 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_clearerr_unlocked" >&5
4316 echo "${ECHO_T}$ac_cv_have_decl_clearerr_unlocked" >&6; }
4317 if test $ac_cv_have_decl_clearerr_unlocked = yes; then
4319 cat >>confdefs.h <<_ACEOF
4320 #define HAVE_DECL_CLEARERR_UNLOCKED 1
4325 cat >>confdefs.h <<_ACEOF
4326 #define HAVE_DECL_CLEARERR_UNLOCKED 0
4331 { echo "$as_me:$LINENO: checking whether feof_unlocked is declared" >&5
4332 echo $ECHO_N "checking whether feof_unlocked is declared... $ECHO_C" >&6; }
4333 if test "${ac_cv_have_decl_feof_unlocked+set}" = set; then
4334 echo $ECHO_N "(cached) $ECHO_C" >&6
4336 cat >conftest.$ac_ext <<_ACEOF
4339 cat confdefs.h >>conftest.$ac_ext
4340 cat >>conftest.$ac_ext <<_ACEOF
4341 /* end confdefs.h. */
4342 $ac_includes_default
4346 #ifndef feof_unlocked
4347 (void) feof_unlocked;
4354 rm -f conftest.$ac_objext
4355 if { (ac_try="$ac_compile"
4357 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4358 *) ac_try_echo
=$ac_try;;
4360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4361 (eval "$ac_compile") 2>conftest.er1
4363 grep -v '^ *+' conftest.er1
>conftest.err
4365 cat conftest.err
>&5
4366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4367 (exit $ac_status); } && {
4368 test -z "$ac_c_werror_flag" ||
4369 test ! -s conftest.err
4370 } && test -s conftest.
$ac_objext; then
4371 ac_cv_have_decl_feof_unlocked
=yes
4373 echo "$as_me: failed program was:" >&5
4374 sed 's/^/| /' conftest.
$ac_ext >&5
4376 ac_cv_have_decl_feof_unlocked
=no
4379 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4381 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_feof_unlocked" >&5
4382 echo "${ECHO_T}$ac_cv_have_decl_feof_unlocked" >&6; }
4383 if test $ac_cv_have_decl_feof_unlocked = yes; then
4385 cat >>confdefs.h
<<_ACEOF
4386 #define HAVE_DECL_FEOF_UNLOCKED 1
4391 cat >>confdefs.h
<<_ACEOF
4392 #define HAVE_DECL_FEOF_UNLOCKED 0
4397 { echo "$as_me:$LINENO: checking whether ferror_unlocked is declared" >&5
4398 echo $ECHO_N "checking whether ferror_unlocked is declared... $ECHO_C" >&6; }
4399 if test "${ac_cv_have_decl_ferror_unlocked+set}" = set; then
4400 echo $ECHO_N "(cached) $ECHO_C" >&6
4402 cat >conftest.
$ac_ext <<_ACEOF
4405 cat confdefs.h
>>conftest.
$ac_ext
4406 cat >>conftest.
$ac_ext <<_ACEOF
4407 /* end confdefs.h. */
4408 $ac_includes_default
4412 #ifndef ferror_unlocked
4413 (void) ferror_unlocked;
4420 rm -f conftest.
$ac_objext
4421 if { (ac_try
="$ac_compile"
4423 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4424 *) ac_try_echo=$ac_try;;
4426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4427 (eval "$ac_compile") 2>conftest.er1
4429 grep -v '^ *+' conftest.er1 >conftest.err
4431 cat conftest.err >&5
4432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4433 (exit $ac_status); } && {
4434 test -z "$ac_c_werror_flag" ||
4435 test ! -s conftest.err
4436 } && test -s conftest.$ac_objext; then
4437 ac_cv_have_decl_ferror_unlocked=yes
4439 echo "$as_me: failed program was:" >&5
4440 sed 's/^/| /' conftest.$ac_ext >&5
4442 ac_cv_have_decl_ferror_unlocked=no
4445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4447 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_ferror_unlocked" >&5
4448 echo "${ECHO_T}$ac_cv_have_decl_ferror_unlocked" >&6; }
4449 if test $ac_cv_have_decl_ferror_unlocked = yes; then
4451 cat >>confdefs.h <<_ACEOF
4452 #define HAVE_DECL_FERROR_UNLOCKED 1
4457 cat >>confdefs.h <<_ACEOF
4458 #define HAVE_DECL_FERROR_UNLOCKED 0
4463 { echo "$as_me:$LINENO: checking whether fflush_unlocked is declared" >&5
4464 echo $ECHO_N "checking whether fflush_unlocked is declared... $ECHO_C" >&6; }
4465 if test "${ac_cv_have_decl_fflush_unlocked+set}" = set; then
4466 echo $ECHO_N "(cached) $ECHO_C" >&6
4468 cat >conftest.$ac_ext <<_ACEOF
4471 cat confdefs.h >>conftest.$ac_ext
4472 cat >>conftest.$ac_ext <<_ACEOF
4473 /* end confdefs.h. */
4474 $ac_includes_default
4478 #ifndef fflush_unlocked
4479 (void) fflush_unlocked;
4486 rm -f conftest.$ac_objext
4487 if { (ac_try="$ac_compile"
4489 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4490 *) ac_try_echo
=$ac_try;;
4492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4493 (eval "$ac_compile") 2>conftest.er1
4495 grep -v '^ *+' conftest.er1
>conftest.err
4497 cat conftest.err
>&5
4498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4499 (exit $ac_status); } && {
4500 test -z "$ac_c_werror_flag" ||
4501 test ! -s conftest.err
4502 } && test -s conftest.
$ac_objext; then
4503 ac_cv_have_decl_fflush_unlocked
=yes
4505 echo "$as_me: failed program was:" >&5
4506 sed 's/^/| /' conftest.
$ac_ext >&5
4508 ac_cv_have_decl_fflush_unlocked
=no
4511 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4513 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_fflush_unlocked" >&5
4514 echo "${ECHO_T}$ac_cv_have_decl_fflush_unlocked" >&6; }
4515 if test $ac_cv_have_decl_fflush_unlocked = yes; then
4517 cat >>confdefs.h
<<_ACEOF
4518 #define HAVE_DECL_FFLUSH_UNLOCKED 1
4523 cat >>confdefs.h
<<_ACEOF
4524 #define HAVE_DECL_FFLUSH_UNLOCKED 0
4529 { echo "$as_me:$LINENO: checking whether fgetc_unlocked is declared" >&5
4530 echo $ECHO_N "checking whether fgetc_unlocked is declared... $ECHO_C" >&6; }
4531 if test "${ac_cv_have_decl_fgetc_unlocked+set}" = set; then
4532 echo $ECHO_N "(cached) $ECHO_C" >&6
4534 cat >conftest.
$ac_ext <<_ACEOF
4537 cat confdefs.h
>>conftest.
$ac_ext
4538 cat >>conftest.
$ac_ext <<_ACEOF
4539 /* end confdefs.h. */
4540 $ac_includes_default
4544 #ifndef fgetc_unlocked
4545 (void) fgetc_unlocked;
4552 rm -f conftest.
$ac_objext
4553 if { (ac_try
="$ac_compile"
4555 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4556 *) ac_try_echo=$ac_try;;
4558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4559 (eval "$ac_compile") 2>conftest.er1
4561 grep -v '^ *+' conftest.er1 >conftest.err
4563 cat conftest.err >&5
4564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4565 (exit $ac_status); } && {
4566 test -z "$ac_c_werror_flag" ||
4567 test ! -s conftest.err
4568 } && test -s conftest.$ac_objext; then
4569 ac_cv_have_decl_fgetc_unlocked=yes
4571 echo "$as_me: failed program was:" >&5
4572 sed 's/^/| /' conftest.$ac_ext >&5
4574 ac_cv_have_decl_fgetc_unlocked=no
4577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4579 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_fgetc_unlocked" >&5
4580 echo "${ECHO_T}$ac_cv_have_decl_fgetc_unlocked" >&6; }
4581 if test $ac_cv_have_decl_fgetc_unlocked = yes; then
4583 cat >>confdefs.h <<_ACEOF
4584 #define HAVE_DECL_FGETC_UNLOCKED 1
4589 cat >>confdefs.h <<_ACEOF
4590 #define HAVE_DECL_FGETC_UNLOCKED 0
4595 { echo "$as_me:$LINENO: checking whether fgets_unlocked is declared" >&5
4596 echo $ECHO_N "checking whether fgets_unlocked is declared... $ECHO_C" >&6; }
4597 if test "${ac_cv_have_decl_fgets_unlocked+set}" = set; then
4598 echo $ECHO_N "(cached) $ECHO_C" >&6
4600 cat >conftest.$ac_ext <<_ACEOF
4603 cat confdefs.h >>conftest.$ac_ext
4604 cat >>conftest.$ac_ext <<_ACEOF
4605 /* end confdefs.h. */
4606 $ac_includes_default
4610 #ifndef fgets_unlocked
4611 (void) fgets_unlocked;
4618 rm -f conftest.$ac_objext
4619 if { (ac_try="$ac_compile"
4621 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4622 *) ac_try_echo
=$ac_try;;
4624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4625 (eval "$ac_compile") 2>conftest.er1
4627 grep -v '^ *+' conftest.er1
>conftest.err
4629 cat conftest.err
>&5
4630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4631 (exit $ac_status); } && {
4632 test -z "$ac_c_werror_flag" ||
4633 test ! -s conftest.err
4634 } && test -s conftest.
$ac_objext; then
4635 ac_cv_have_decl_fgets_unlocked
=yes
4637 echo "$as_me: failed program was:" >&5
4638 sed 's/^/| /' conftest.
$ac_ext >&5
4640 ac_cv_have_decl_fgets_unlocked
=no
4643 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4645 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_fgets_unlocked" >&5
4646 echo "${ECHO_T}$ac_cv_have_decl_fgets_unlocked" >&6; }
4647 if test $ac_cv_have_decl_fgets_unlocked = yes; then
4649 cat >>confdefs.h
<<_ACEOF
4650 #define HAVE_DECL_FGETS_UNLOCKED 1
4655 cat >>confdefs.h
<<_ACEOF
4656 #define HAVE_DECL_FGETS_UNLOCKED 0
4661 { echo "$as_me:$LINENO: checking whether fileno_unlocked is declared" >&5
4662 echo $ECHO_N "checking whether fileno_unlocked is declared... $ECHO_C" >&6; }
4663 if test "${ac_cv_have_decl_fileno_unlocked+set}" = set; then
4664 echo $ECHO_N "(cached) $ECHO_C" >&6
4666 cat >conftest.
$ac_ext <<_ACEOF
4669 cat confdefs.h
>>conftest.
$ac_ext
4670 cat >>conftest.
$ac_ext <<_ACEOF
4671 /* end confdefs.h. */
4672 $ac_includes_default
4676 #ifndef fileno_unlocked
4677 (void) fileno_unlocked;
4684 rm -f conftest.
$ac_objext
4685 if { (ac_try
="$ac_compile"
4687 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4688 *) ac_try_echo=$ac_try;;
4690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4691 (eval "$ac_compile") 2>conftest.er1
4693 grep -v '^ *+' conftest.er1 >conftest.err
4695 cat conftest.err >&5
4696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4697 (exit $ac_status); } && {
4698 test -z "$ac_c_werror_flag" ||
4699 test ! -s conftest.err
4700 } && test -s conftest.$ac_objext; then
4701 ac_cv_have_decl_fileno_unlocked=yes
4703 echo "$as_me: failed program was:" >&5
4704 sed 's/^/| /' conftest.$ac_ext >&5
4706 ac_cv_have_decl_fileno_unlocked=no
4709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4711 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_fileno_unlocked" >&5
4712 echo "${ECHO_T}$ac_cv_have_decl_fileno_unlocked" >&6; }
4713 if test $ac_cv_have_decl_fileno_unlocked = yes; then
4715 cat >>confdefs.h <<_ACEOF
4716 #define HAVE_DECL_FILENO_UNLOCKED 1
4721 cat >>confdefs.h <<_ACEOF
4722 #define HAVE_DECL_FILENO_UNLOCKED 0
4727 { echo "$as_me:$LINENO: checking whether fprintf_unlocked is declared" >&5
4728 echo $ECHO_N "checking whether fprintf_unlocked is declared... $ECHO_C" >&6; }
4729 if test "${ac_cv_have_decl_fprintf_unlocked+set}" = set; then
4730 echo $ECHO_N "(cached) $ECHO_C" >&6
4732 cat >conftest.$ac_ext <<_ACEOF
4735 cat confdefs.h >>conftest.$ac_ext
4736 cat >>conftest.$ac_ext <<_ACEOF
4737 /* end confdefs.h. */
4738 $ac_includes_default
4742 #ifndef fprintf_unlocked
4743 (void) fprintf_unlocked;
4750 rm -f conftest.$ac_objext
4751 if { (ac_try="$ac_compile"
4753 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4754 *) ac_try_echo
=$ac_try;;
4756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4757 (eval "$ac_compile") 2>conftest.er1
4759 grep -v '^ *+' conftest.er1
>conftest.err
4761 cat conftest.err
>&5
4762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4763 (exit $ac_status); } && {
4764 test -z "$ac_c_werror_flag" ||
4765 test ! -s conftest.err
4766 } && test -s conftest.
$ac_objext; then
4767 ac_cv_have_decl_fprintf_unlocked
=yes
4769 echo "$as_me: failed program was:" >&5
4770 sed 's/^/| /' conftest.
$ac_ext >&5
4772 ac_cv_have_decl_fprintf_unlocked
=no
4775 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4777 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_fprintf_unlocked" >&5
4778 echo "${ECHO_T}$ac_cv_have_decl_fprintf_unlocked" >&6; }
4779 if test $ac_cv_have_decl_fprintf_unlocked = yes; then
4781 cat >>confdefs.h
<<_ACEOF
4782 #define HAVE_DECL_FPRINTF_UNLOCKED 1
4787 cat >>confdefs.h
<<_ACEOF
4788 #define HAVE_DECL_FPRINTF_UNLOCKED 0
4793 { echo "$as_me:$LINENO: checking whether fputc_unlocked is declared" >&5
4794 echo $ECHO_N "checking whether fputc_unlocked is declared... $ECHO_C" >&6; }
4795 if test "${ac_cv_have_decl_fputc_unlocked+set}" = set; then
4796 echo $ECHO_N "(cached) $ECHO_C" >&6
4798 cat >conftest.
$ac_ext <<_ACEOF
4801 cat confdefs.h
>>conftest.
$ac_ext
4802 cat >>conftest.
$ac_ext <<_ACEOF
4803 /* end confdefs.h. */
4804 $ac_includes_default
4808 #ifndef fputc_unlocked
4809 (void) fputc_unlocked;
4816 rm -f conftest.
$ac_objext
4817 if { (ac_try
="$ac_compile"
4819 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4820 *) ac_try_echo=$ac_try;;
4822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4823 (eval "$ac_compile") 2>conftest.er1
4825 grep -v '^ *+' conftest.er1 >conftest.err
4827 cat conftest.err >&5
4828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4829 (exit $ac_status); } && {
4830 test -z "$ac_c_werror_flag" ||
4831 test ! -s conftest.err
4832 } && test -s conftest.$ac_objext; then
4833 ac_cv_have_decl_fputc_unlocked=yes
4835 echo "$as_me: failed program was:" >&5
4836 sed 's/^/| /' conftest.$ac_ext >&5
4838 ac_cv_have_decl_fputc_unlocked=no
4841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4843 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_fputc_unlocked" >&5
4844 echo "${ECHO_T}$ac_cv_have_decl_fputc_unlocked" >&6; }
4845 if test $ac_cv_have_decl_fputc_unlocked = yes; then
4847 cat >>confdefs.h <<_ACEOF
4848 #define HAVE_DECL_FPUTC_UNLOCKED 1
4853 cat >>confdefs.h <<_ACEOF
4854 #define HAVE_DECL_FPUTC_UNLOCKED 0
4859 { echo "$as_me:$LINENO: checking whether fputs_unlocked is declared" >&5
4860 echo $ECHO_N "checking whether fputs_unlocked is declared... $ECHO_C" >&6; }
4861 if test "${ac_cv_have_decl_fputs_unlocked+set}" = set; then
4862 echo $ECHO_N "(cached) $ECHO_C" >&6
4864 cat >conftest.$ac_ext <<_ACEOF
4867 cat confdefs.h >>conftest.$ac_ext
4868 cat >>conftest.$ac_ext <<_ACEOF
4869 /* end confdefs.h. */
4870 $ac_includes_default
4874 #ifndef fputs_unlocked
4875 (void) fputs_unlocked;
4882 rm -f conftest.$ac_objext
4883 if { (ac_try="$ac_compile"
4885 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4886 *) ac_try_echo
=$ac_try;;
4888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4889 (eval "$ac_compile") 2>conftest.er1
4891 grep -v '^ *+' conftest.er1
>conftest.err
4893 cat conftest.err
>&5
4894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4895 (exit $ac_status); } && {
4896 test -z "$ac_c_werror_flag" ||
4897 test ! -s conftest.err
4898 } && test -s conftest.
$ac_objext; then
4899 ac_cv_have_decl_fputs_unlocked
=yes
4901 echo "$as_me: failed program was:" >&5
4902 sed 's/^/| /' conftest.
$ac_ext >&5
4904 ac_cv_have_decl_fputs_unlocked
=no
4907 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4909 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_fputs_unlocked" >&5
4910 echo "${ECHO_T}$ac_cv_have_decl_fputs_unlocked" >&6; }
4911 if test $ac_cv_have_decl_fputs_unlocked = yes; then
4913 cat >>confdefs.h
<<_ACEOF
4914 #define HAVE_DECL_FPUTS_UNLOCKED 1
4919 cat >>confdefs.h
<<_ACEOF
4920 #define HAVE_DECL_FPUTS_UNLOCKED 0
4925 { echo "$as_me:$LINENO: checking whether fread_unlocked is declared" >&5
4926 echo $ECHO_N "checking whether fread_unlocked is declared... $ECHO_C" >&6; }
4927 if test "${ac_cv_have_decl_fread_unlocked+set}" = set; then
4928 echo $ECHO_N "(cached) $ECHO_C" >&6
4930 cat >conftest.
$ac_ext <<_ACEOF
4933 cat confdefs.h
>>conftest.
$ac_ext
4934 cat >>conftest.
$ac_ext <<_ACEOF
4935 /* end confdefs.h. */
4936 $ac_includes_default
4940 #ifndef fread_unlocked
4941 (void) fread_unlocked;
4948 rm -f conftest.
$ac_objext
4949 if { (ac_try
="$ac_compile"
4951 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4952 *) ac_try_echo=$ac_try;;
4954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4955 (eval "$ac_compile") 2>conftest.er1
4957 grep -v '^ *+' conftest.er1 >conftest.err
4959 cat conftest.err >&5
4960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4961 (exit $ac_status); } && {
4962 test -z "$ac_c_werror_flag" ||
4963 test ! -s conftest.err
4964 } && test -s conftest.$ac_objext; then
4965 ac_cv_have_decl_fread_unlocked=yes
4967 echo "$as_me: failed program was:" >&5
4968 sed 's/^/| /' conftest.$ac_ext >&5
4970 ac_cv_have_decl_fread_unlocked=no
4973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4975 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_fread_unlocked" >&5
4976 echo "${ECHO_T}$ac_cv_have_decl_fread_unlocked" >&6; }
4977 if test $ac_cv_have_decl_fread_unlocked = yes; then
4979 cat >>confdefs.h <<_ACEOF
4980 #define HAVE_DECL_FREAD_UNLOCKED 1
4985 cat >>confdefs.h <<_ACEOF
4986 #define HAVE_DECL_FREAD_UNLOCKED 0
4991 { echo "$as_me:$LINENO: checking whether fwrite_unlocked is declared" >&5
4992 echo $ECHO_N "checking whether fwrite_unlocked is declared... $ECHO_C" >&6; }
4993 if test "${ac_cv_have_decl_fwrite_unlocked+set}" = set; then
4994 echo $ECHO_N "(cached) $ECHO_C" >&6
4996 cat >conftest.$ac_ext <<_ACEOF
4999 cat confdefs.h >>conftest.$ac_ext
5000 cat >>conftest.$ac_ext <<_ACEOF
5001 /* end confdefs.h. */
5002 $ac_includes_default
5006 #ifndef fwrite_unlocked
5007 (void) fwrite_unlocked;
5014 rm -f conftest.$ac_objext
5015 if { (ac_try="$ac_compile"
5017 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5018 *) ac_try_echo
=$ac_try;;
5020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5021 (eval "$ac_compile") 2>conftest.er1
5023 grep -v '^ *+' conftest.er1
>conftest.err
5025 cat conftest.err
>&5
5026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5027 (exit $ac_status); } && {
5028 test -z "$ac_c_werror_flag" ||
5029 test ! -s conftest.err
5030 } && test -s conftest.
$ac_objext; then
5031 ac_cv_have_decl_fwrite_unlocked
=yes
5033 echo "$as_me: failed program was:" >&5
5034 sed 's/^/| /' conftest.
$ac_ext >&5
5036 ac_cv_have_decl_fwrite_unlocked
=no
5039 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5041 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_fwrite_unlocked" >&5
5042 echo "${ECHO_T}$ac_cv_have_decl_fwrite_unlocked" >&6; }
5043 if test $ac_cv_have_decl_fwrite_unlocked = yes; then
5045 cat >>confdefs.h
<<_ACEOF
5046 #define HAVE_DECL_FWRITE_UNLOCKED 1
5051 cat >>confdefs.h
<<_ACEOF
5052 #define HAVE_DECL_FWRITE_UNLOCKED 0
5057 { echo "$as_me:$LINENO: checking whether getchar_unlocked is declared" >&5
5058 echo $ECHO_N "checking whether getchar_unlocked is declared... $ECHO_C" >&6; }
5059 if test "${ac_cv_have_decl_getchar_unlocked+set}" = set; then
5060 echo $ECHO_N "(cached) $ECHO_C" >&6
5062 cat >conftest.
$ac_ext <<_ACEOF
5065 cat confdefs.h
>>conftest.
$ac_ext
5066 cat >>conftest.
$ac_ext <<_ACEOF
5067 /* end confdefs.h. */
5068 $ac_includes_default
5072 #ifndef getchar_unlocked
5073 (void) getchar_unlocked;
5080 rm -f conftest.
$ac_objext
5081 if { (ac_try
="$ac_compile"
5083 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5084 *) ac_try_echo=$ac_try;;
5086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5087 (eval "$ac_compile") 2>conftest.er1
5089 grep -v '^ *+' conftest.er1 >conftest.err
5091 cat conftest.err >&5
5092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5093 (exit $ac_status); } && {
5094 test -z "$ac_c_werror_flag" ||
5095 test ! -s conftest.err
5096 } && test -s conftest.$ac_objext; then
5097 ac_cv_have_decl_getchar_unlocked=yes
5099 echo "$as_me: failed program was:" >&5
5100 sed 's/^/| /' conftest.$ac_ext >&5
5102 ac_cv_have_decl_getchar_unlocked=no
5105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5107 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_getchar_unlocked" >&5
5108 echo "${ECHO_T}$ac_cv_have_decl_getchar_unlocked" >&6; }
5109 if test $ac_cv_have_decl_getchar_unlocked = yes; then
5111 cat >>confdefs.h <<_ACEOF
5112 #define HAVE_DECL_GETCHAR_UNLOCKED 1
5117 cat >>confdefs.h <<_ACEOF
5118 #define HAVE_DECL_GETCHAR_UNLOCKED 0
5123 { echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5
5124 echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6; }
5125 if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then
5126 echo $ECHO_N "(cached) $ECHO_C" >&6
5128 cat >conftest.$ac_ext <<_ACEOF
5131 cat confdefs.h >>conftest.$ac_ext
5132 cat >>conftest.$ac_ext <<_ACEOF
5133 /* end confdefs.h. */
5134 $ac_includes_default
5138 #ifndef getc_unlocked
5139 (void) getc_unlocked;
5146 rm -f conftest.$ac_objext
5147 if { (ac_try="$ac_compile"
5149 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5150 *) ac_try_echo
=$ac_try;;
5152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5153 (eval "$ac_compile") 2>conftest.er1
5155 grep -v '^ *+' conftest.er1
>conftest.err
5157 cat conftest.err
>&5
5158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5159 (exit $ac_status); } && {
5160 test -z "$ac_c_werror_flag" ||
5161 test ! -s conftest.err
5162 } && test -s conftest.
$ac_objext; then
5163 ac_cv_have_decl_getc_unlocked
=yes
5165 echo "$as_me: failed program was:" >&5
5166 sed 's/^/| /' conftest.
$ac_ext >&5
5168 ac_cv_have_decl_getc_unlocked
=no
5171 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5173 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5
5174 echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6; }
5175 if test $ac_cv_have_decl_getc_unlocked = yes; then
5177 cat >>confdefs.h
<<_ACEOF
5178 #define HAVE_DECL_GETC_UNLOCKED 1
5183 cat >>confdefs.h
<<_ACEOF
5184 #define HAVE_DECL_GETC_UNLOCKED 0
5189 { echo "$as_me:$LINENO: checking whether putchar_unlocked is declared" >&5
5190 echo $ECHO_N "checking whether putchar_unlocked is declared... $ECHO_C" >&6; }
5191 if test "${ac_cv_have_decl_putchar_unlocked+set}" = set; then
5192 echo $ECHO_N "(cached) $ECHO_C" >&6
5194 cat >conftest.
$ac_ext <<_ACEOF
5197 cat confdefs.h
>>conftest.
$ac_ext
5198 cat >>conftest.
$ac_ext <<_ACEOF
5199 /* end confdefs.h. */
5200 $ac_includes_default
5204 #ifndef putchar_unlocked
5205 (void) putchar_unlocked;
5212 rm -f conftest.
$ac_objext
5213 if { (ac_try
="$ac_compile"
5215 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5216 *) ac_try_echo=$ac_try;;
5218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5219 (eval "$ac_compile") 2>conftest.er1
5221 grep -v '^ *+' conftest.er1 >conftest.err
5223 cat conftest.err >&5
5224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5225 (exit $ac_status); } && {
5226 test -z "$ac_c_werror_flag" ||
5227 test ! -s conftest.err
5228 } && test -s conftest.$ac_objext; then
5229 ac_cv_have_decl_putchar_unlocked=yes
5231 echo "$as_me: failed program was:" >&5
5232 sed 's/^/| /' conftest.$ac_ext >&5
5234 ac_cv_have_decl_putchar_unlocked=no
5237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5239 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_putchar_unlocked" >&5
5240 echo "${ECHO_T}$ac_cv_have_decl_putchar_unlocked" >&6; }
5241 if test $ac_cv_have_decl_putchar_unlocked = yes; then
5243 cat >>confdefs.h <<_ACEOF
5244 #define HAVE_DECL_PUTCHAR_UNLOCKED 1
5249 cat >>confdefs.h <<_ACEOF
5250 #define HAVE_DECL_PUTCHAR_UNLOCKED 0
5255 { echo "$as_me:$LINENO: checking whether putc_unlocked is declared" >&5
5256 echo $ECHO_N "checking whether putc_unlocked is declared... $ECHO_C" >&6; }
5257 if test "${ac_cv_have_decl_putc_unlocked+set}" = set; then
5258 echo $ECHO_N "(cached) $ECHO_C" >&6
5260 cat >conftest.$ac_ext <<_ACEOF
5263 cat confdefs.h >>conftest.$ac_ext
5264 cat >>conftest.$ac_ext <<_ACEOF
5265 /* end confdefs.h. */
5266 $ac_includes_default
5270 #ifndef putc_unlocked
5271 (void) putc_unlocked;
5278 rm -f conftest.$ac_objext
5279 if { (ac_try="$ac_compile"
5281 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5282 *) ac_try_echo
=$ac_try;;
5284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5285 (eval "$ac_compile") 2>conftest.er1
5287 grep -v '^ *+' conftest.er1
>conftest.err
5289 cat conftest.err
>&5
5290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5291 (exit $ac_status); } && {
5292 test -z "$ac_c_werror_flag" ||
5293 test ! -s conftest.err
5294 } && test -s conftest.
$ac_objext; then
5295 ac_cv_have_decl_putc_unlocked
=yes
5297 echo "$as_me: failed program was:" >&5
5298 sed 's/^/| /' conftest.
$ac_ext >&5
5300 ac_cv_have_decl_putc_unlocked
=no
5303 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5305 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_putc_unlocked" >&5
5306 echo "${ECHO_T}$ac_cv_have_decl_putc_unlocked" >&6; }
5307 if test $ac_cv_have_decl_putc_unlocked = yes; then
5309 cat >>confdefs.h
<<_ACEOF
5310 #define HAVE_DECL_PUTC_UNLOCKED 1
5315 cat >>confdefs.h
<<_ACEOF
5316 #define HAVE_DECL_PUTC_UNLOCKED 0
5324 # Checks for typedefs, structures, and compiler characteristics.
5325 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5326 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
5327 if test "${ac_cv_c_const+set}" = set; then
5328 echo $ECHO_N "(cached) $ECHO_C" >&6
5330 cat >conftest.
$ac_ext <<_ACEOF
5333 cat confdefs.h
>>conftest.
$ac_ext
5334 cat >>conftest.
$ac_ext <<_ACEOF
5335 /* end confdefs.h. */
5340 /* FIXME: Include the comments suggested by Paul. */
5342 /* Ultrix mips cc rejects this. */
5343 typedef int charset[2];
5345 /* SunOS 4.1.1 cc rejects this. */
5346 char const *const *pcpcc;
5348 /* NEC SVR4.0.2 mips cc rejects this. */
5349 struct point {int x, y;};
5350 static struct point const zero = {0,0};
5351 /* AIX XL C 1.02.0.0 rejects this.
5352 It does not let you subtract one const X* pointer from another in
5353 an arm of an if-expression whose if-part is not a constant
5355 const char *g = "string";
5356 pcpcc = &g + (g ? g-g : 0);
5357 /* HPUX 7.0 cc rejects these. */
5359 ppc = (char**) pcpcc;
5360 pcpcc = (char const *const *) ppc;
5361 { /* SCO 3.2v4 cc rejects this. */
5363 char const *s = 0 ? (char *) 0 : (char const *) 0;
5368 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5370 const int *foo = &x[0];
5373 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5374 typedef const int *iptr;
5378 { /* AIX XL C 1.02.0.0 rejects this saying
5379 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5380 struct s { int j; const int *ap[3]; };
5381 struct s *b; b->j = 5;
5383 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5387 return !cs[0] && !zero.x;
5394 rm -f conftest.
$ac_objext
5395 if { (ac_try
="$ac_compile"
5397 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5398 *) ac_try_echo=$ac_try;;
5400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5401 (eval "$ac_compile") 2>conftest.er1
5403 grep -v '^ *+' conftest.er1 >conftest.err
5405 cat conftest.err >&5
5406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5407 (exit $ac_status); } && {
5408 test -z "$ac_c_werror_flag" ||
5409 test ! -s conftest.err
5410 } && test -s conftest.$ac_objext; then
5413 echo "$as_me: failed program was:" >&5
5414 sed 's/^/| /' conftest.$ac_ext >&5
5419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5421 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5422 echo "${ECHO_T}$ac_cv_c_const" >&6; }
5423 if test $ac_cv_c_const = no; then
5425 cat >>confdefs.h <<\_ACEOF
5432 # Checks for library functions.
5434 if test "${ac_cv_header_sys_mman_h+set}" = set; then
5435 { echo "$as_me:$LINENO: checking for sys/mman.h" >&5
5436 echo $ECHO_N "checking for sys/mman.h... $ECHO_C" >&6; }
5437 if test "${ac_cv_header_sys_mman_h+set}" = set; then
5438 echo $ECHO_N "(cached) $ECHO_C" >&6
5440 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_mman_h" >&5
5441 echo "${ECHO_T}$ac_cv_header_sys_mman_h" >&6; }
5443 # Is the header compilable?
5444 { echo "$as_me:$LINENO: checking sys/mman.h usability" >&5
5445 echo $ECHO_N "checking sys/mman.h usability... $ECHO_C" >&6; }
5446 cat >conftest.$ac_ext <<_ACEOF
5449 cat confdefs.h >>conftest.$ac_ext
5450 cat >>conftest.$ac_ext <<_ACEOF
5451 /* end confdefs.h. */
5452 $ac_includes_default
5453 #include <sys/mman.h>
5455 rm -f conftest.$ac_objext
5456 if { (ac_try="$ac_compile"
5458 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5459 *) ac_try_echo
=$ac_try;;
5461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5462 (eval "$ac_compile") 2>conftest.er1
5464 grep -v '^ *+' conftest.er1
>conftest.err
5466 cat conftest.err
>&5
5467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5468 (exit $ac_status); } && {
5469 test -z "$ac_c_werror_flag" ||
5470 test ! -s conftest.err
5471 } && test -s conftest.
$ac_objext; then
5472 ac_header_compiler
=yes
5474 echo "$as_me: failed program was:" >&5
5475 sed 's/^/| /' conftest.
$ac_ext >&5
5477 ac_header_compiler
=no
5480 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5481 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5482 echo "${ECHO_T}$ac_header_compiler" >&6; }
5484 # Is the header present?
5485 { echo "$as_me:$LINENO: checking sys/mman.h presence" >&5
5486 echo $ECHO_N "checking sys/mman.h presence... $ECHO_C" >&6; }
5487 cat >conftest.
$ac_ext <<_ACEOF
5490 cat confdefs.h
>>conftest.
$ac_ext
5491 cat >>conftest.
$ac_ext <<_ACEOF
5492 /* end confdefs.h. */
5493 #include <sys/mman.h>
5495 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5497 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5498 *) ac_try_echo=$ac_try;;
5500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5501 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5503 grep -v '^ *+' conftest.er1 >conftest.err
5505 cat conftest.err >&5
5506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5507 (exit $ac_status); } >/dev/null && {
5508 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5509 test ! -s conftest.err
5511 ac_header_preproc=yes
5513 echo "$as_me: failed program was:" >&5
5514 sed 's/^/| /' conftest.$ac_ext >&5
5516 ac_header_preproc=no
5519 rm -f conftest.err conftest.$ac_ext
5520 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5521 echo "${ECHO_T}$ac_header_preproc" >&6; }
5523 # So? What about this header?
5524 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5526 { echo "$as_me:$LINENO: WARNING: sys/mman.h: accepted by the compiler, rejected by the preprocessor!" >&5
5527 echo "$as_me: WARNING: sys/mman.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5528 { echo "$as_me:$LINENO: WARNING: sys/mman.h: proceeding with the compiler's result" >&5
5529 echo "$as_me: WARNING: sys/mman.h: proceeding with the compiler's result" >&2;}
5530 ac_header_preproc=yes
5533 { echo "$as_me:$LINENO: WARNING: sys/mman.h: present but cannot be compiled" >&5
5534 echo "$as_me: WARNING: sys/mman.h: present but cannot be compiled" >&2;}
5535 { echo "$as_me:$LINENO: WARNING: sys/mman.h: check for missing prerequisite headers?" >&5
5536 echo "$as_me: WARNING: sys/mman.h: check for missing prerequisite headers?" >&2;}
5537 { echo "$as_me:$LINENO: WARNING: sys/mman.h: see the Autoconf documentation" >&5
5538 echo "$as_me: WARNING: sys/mman.h: see the Autoconf documentation" >&2;}
5539 { echo "$as_me:$LINENO: WARNING: sys/mman.h: section \"Present But Cannot Be Compiled\"" >&5
5540 echo "$as_me: WARNING: sys/mman.h: section \"Present But Cannot Be Compiled\"" >&2;}
5541 { echo "$as_me:$LINENO: WARNING: sys/mman.h: proceeding with the preprocessor's result" >&5
5542 echo "$as_me: WARNING: sys/mman.h: proceeding with the preprocessor's result" >&2;}
5543 { echo "$as_me:$LINENO: WARNING: sys/mman.h: in the future, the compiler will take precedence" >&5
5544 echo "$as_me: WARNING: sys/mman.h: in the future, the compiler will take precedence" >&2;}
5548 { echo "$as_me:$LINENO: checking for sys/mman.h" >&5
5549 echo $ECHO_N "checking for sys/mman.h... $ECHO_C" >&6; }
5550 if test "${ac_cv_header_sys_mman_h+set}" = set; then
5551 echo $ECHO_N "(cached) $ECHO_C" >&6
5553 ac_cv_header_sys_mman_h=$ac_header_preproc
5555 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_mman_h" >&5
5556 echo "${ECHO_T}$ac_cv_header_sys_mman_h" >&6; }
5559 if test $ac_cv_header_sys_mman_h = yes; then
5560 gcc_header_sys_mman_h=yes
5562 gcc_header_sys_mman_h=no
5566 { echo "$as_me:$LINENO: checking for mmap" >&5
5567 echo $ECHO_N "checking for mmap... $ECHO_C" >&6; }
5568 if test "${ac_cv_func_mmap+set}" = set; then
5569 echo $ECHO_N "(cached) $ECHO_C" >&6
5571 cat >conftest.$ac_ext <<_ACEOF
5574 cat confdefs.h >>conftest.$ac_ext
5575 cat >>conftest.$ac_ext <<_ACEOF
5576 /* end confdefs.h. */
5577 /* Define mmap to an innocuous variant, in case <limits.h> declares mmap.
5578 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5579 #define mmap innocuous_mmap
5581 /* System header to define __stub macros and hopefully few prototypes,
5582 which can conflict with char mmap (); below.
5583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5584 <limits.h> exists even on freestanding compilers. */
5587 # include <limits.h>
5589 # include <assert.h>
5594 /* Override any GCC internal prototype to avoid an error.
5595 Use char because int might match the return type of a GCC
5596 builtin and then its argument prototype would still apply. */
5601 /* The GNU C library defines this for functions which it implements
5602 to always fail with ENOSYS. Some functions are actually named
5603 something starting with __ and the normal name is an alias. */
5604 #if defined __stub_mmap || defined __stub___mmap
5616 rm -f conftest.$ac_objext conftest$ac_exeext
5617 if { (ac_try="$ac_link"
5619 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5620 *) ac_try_echo
=$ac_try;;
5622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5623 (eval "$ac_link") 2>conftest.er1
5625 grep -v '^ *+' conftest.er1
>conftest.err
5627 cat conftest.err
>&5
5628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5629 (exit $ac_status); } && {
5630 test -z "$ac_c_werror_flag" ||
5631 test ! -s conftest.err
5632 } && test -s conftest
$ac_exeext &&
5633 $as_test_x conftest
$ac_exeext; then
5636 echo "$as_me: failed program was:" >&5
5637 sed 's/^/| /' conftest.
$ac_ext >&5
5642 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5643 conftest
$ac_exeext conftest.
$ac_ext
5645 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap" >&5
5646 echo "${ECHO_T}$ac_cv_func_mmap" >&6; }
5647 if test $ac_cv_func_mmap = yes; then
5653 if test "$gcc_header_sys_mman_h" != yes \
5654 ||
test "$gcc_func_mmap" != yes; then
5655 gcc_cv_func_mmap_file
=no
5656 gcc_cv_func_mmap_dev_zero
=no
5657 gcc_cv_func_mmap_anon
=no
5659 { echo "$as_me:$LINENO: checking whether read-only mmap of a plain file works" >&5
5660 echo $ECHO_N "checking whether read-only mmap of a plain file works... $ECHO_C" >&6; }
5661 if test "${gcc_cv_func_mmap_file+set}" = set; then
5662 echo $ECHO_N "(cached) $ECHO_C" >&6
5664 # Add a system to this blacklist if
5665 # mmap(0, stat_size, PROT_READ, MAP_PRIVATE, fd, 0) doesn't return a
5666 # memory area containing the same data that you'd get if you applied
5667 # read() to the same fd. The only system known to have a problem here
5668 # is VMS, where text files have record structure.
5671 gcc_cv_func_mmap_file
=no
;;
5673 gcc_cv_func_mmap_file
=yes;;
5676 { echo "$as_me:$LINENO: result: $gcc_cv_func_mmap_file" >&5
5677 echo "${ECHO_T}$gcc_cv_func_mmap_file" >&6; }
5678 { echo "$as_me:$LINENO: checking whether mmap from /dev/zero works" >&5
5679 echo $ECHO_N "checking whether mmap from /dev/zero works... $ECHO_C" >&6; }
5680 if test "${gcc_cv_func_mmap_dev_zero+set}" = set; then
5681 echo $ECHO_N "(cached) $ECHO_C" >&6
5683 # Add a system to this blacklist if it has mmap() but /dev/zero
5684 # does not exist, or if mmapping /dev/zero does not give anonymous
5685 # zeroed pages with both the following properties:
5686 # 1. If you map N consecutive pages in with one call, and then
5687 # unmap any subset of those pages, the pages that were not
5688 # explicitly unmapped remain accessible.
5689 # 2. If you map two adjacent blocks of memory and then unmap them
5690 # both at once, they must both go away.
5691 # Systems known to be in this category are Windows (all variants),
5694 vms
* | cygwin
* | pe | mingw
* | darwin
* | ultrix
* | hpux10
* | hpux11.00
)
5695 gcc_cv_func_mmap_dev_zero
=no
;;
5697 gcc_cv_func_mmap_dev_zero
=yes;;
5700 { echo "$as_me:$LINENO: result: $gcc_cv_func_mmap_dev_zero" >&5
5701 echo "${ECHO_T}$gcc_cv_func_mmap_dev_zero" >&6; }
5703 # Unlike /dev/zero, the MAP_ANON(YMOUS) defines can be probed for.
5704 { echo "$as_me:$LINENO: checking for MAP_ANON(YMOUS)" >&5
5705 echo $ECHO_N "checking for MAP_ANON(YMOUS)... $ECHO_C" >&6; }
5706 if test "${gcc_cv_decl_map_anon+set}" = set; then
5707 echo $ECHO_N "(cached) $ECHO_C" >&6
5709 cat >conftest.
$ac_ext <<_ACEOF
5712 cat confdefs.h
>>conftest.
$ac_ext
5713 cat >>conftest.
$ac_ext <<_ACEOF
5714 /* end confdefs.h. */
5715 #include <sys/types.h>
5716 #include <sys/mman.h>
5719 #ifndef MAP_ANONYMOUS
5720 #define MAP_ANONYMOUS MAP_ANON
5726 int n = MAP_ANONYMOUS;
5731 rm -f conftest.
$ac_objext
5732 if { (ac_try
="$ac_compile"
5734 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5735 *) ac_try_echo=$ac_try;;
5737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5738 (eval "$ac_compile") 2>conftest.er1
5740 grep -v '^ *+' conftest.er1 >conftest.err
5742 cat conftest.err >&5
5743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5744 (exit $ac_status); } && {
5745 test -z "$ac_c_werror_flag" ||
5746 test ! -s conftest.err
5747 } && test -s conftest.$ac_objext; then
5748 gcc_cv_decl_map_anon=yes
5750 echo "$as_me: failed program was:" >&5
5751 sed 's/^/| /' conftest.$ac_ext >&5
5753 gcc_cv_decl_map_anon=no
5756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5758 { echo "$as_me:$LINENO: result: $gcc_cv_decl_map_anon" >&5
5759 echo "${ECHO_T}$gcc_cv_decl_map_anon" >&6; }
5761 if test $gcc_cv_decl_map_anon = no; then
5762 gcc_cv_func_mmap_anon=no
5764 { echo "$as_me:$LINENO: checking whether mmap with MAP_ANON(YMOUS) works" >&5
5765 echo $ECHO_N "checking whether mmap with MAP_ANON(YMOUS) works... $ECHO_C" >&6; }
5766 if test "${gcc_cv_func_mmap_anon+set}" = set; then
5767 echo $ECHO_N "(cached) $ECHO_C" >&6
5769 # Add a system to this blacklist if it has mmap() and MAP_ANON or
5770 # MAP_ANONYMOUS, but using mmap(..., MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
5771 # doesn't give anonymous zeroed pages with the same properties listed
5772 # above for use of /dev/zero.
5773 # Systems known to be in this category are Windows, VMS, and SCO Unix.
5775 vms* | cygwin* | pe | mingw* | sco* | udk* )
5776 gcc_cv_func_mmap_anon=no ;;
5778 gcc_cv_func_mmap_anon=yes;;
5781 { echo "$as_me:$LINENO: result: $gcc_cv_func_mmap_anon" >&5
5782 echo "${ECHO_T}$gcc_cv_func_mmap_anon" >&6; }
5786 if test $gcc_cv_func_mmap_file = yes; then
5788 cat >>confdefs.h <<\_ACEOF
5789 #define HAVE_MMAP_FILE 1
5793 if test $gcc_cv_func_mmap_dev_zero = yes; then
5795 cat >>confdefs.h <<\_ACEOF
5796 #define HAVE_MMAP_DEV_ZERO 1
5800 if test $gcc_cv_func_mmap_anon = yes; then
5802 cat >>confdefs.h <<\_ACEOF
5803 #define HAVE_MMAP_ANON 1
5809 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
5810 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
5811 # Check whether --enable-maintainer-mode was given.
5812 if test "${enable_maintainer_mode+set}" = set; then
5813 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5815 USE_MAINTAINER_MODE=no
5818 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
5819 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
5820 if test "$USE_MAINTAINER_MODE" = yes; then
5827 ac_config_headers="$ac_config_headers config.h"
5829 ac_config_files="$ac_config_files Makefile mkheaders.almost:mkheaders.in"
5831 cat >confcache <<\_ACEOF
5832 # This file is a shell script that caches the results of configure
5833 # tests run on this system so they can be shared between configure
5834 # scripts and configure runs, see configure's option --config-cache.
5835 # It is not useful on other systems. If it contains results you don't
5836 # want to keep, you may remove or edit it.
5838 # config.status only pays attention to the cache file if you give it
5839 # the --recheck option to rerun configure.
5841 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
5842 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5847 # The following way of writing the cache mishandles newlines in values,
5848 # but we know of no workaround that is simple, portable, and efficient.
5849 # So, we kill variables containing newlines.
5850 # Ultrix sh set writes to stderr and can't be redirected directly,
5851 # and sets the high bit in the cache file unless we assign to the vars.
5853 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5854 eval ac_val
=\$
$ac_var
5858 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
5859 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
5862 _ | IFS | as_nl
) ;; #(
5863 *) $as_unset $ac_var ;;
5869 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5870 *${as_nl}ac_space
=\
*)
5871 # `set' does not quote correctly, so add quotes (double-quote
5872 # substitution turns \\\\ into \\, and sed turns \\ into \).
5875 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5878 # `set' quotes correctly as required by POSIX, so do not add quotes.
5879 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5888 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5890 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5892 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
5893 if test -w "$cache_file"; then
5894 test "x$cache_file" != "x/dev/null" &&
5895 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
5896 echo "$as_me: updating cache $cache_file" >&6;}
5897 cat confcache
>$cache_file
5899 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5900 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5905 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5906 # Let make expand exec_prefix.
5907 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5909 DEFS
=-DHAVE_CONFIG_H
5913 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5914 # 1. Remove the extension, and $U if already installed.
5915 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
5916 ac_i
=`echo "$ac_i" | sed "$ac_script"`
5917 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5918 # will be set to the directory where LIBOBJS objects are built.
5919 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5920 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5924 LTLIBOBJS
=$ac_ltlibobjs
5928 : ${CONFIG_STATUS=./config.status}
5929 ac_clean_files_save
=$ac_clean_files
5930 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5931 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5932 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5933 cat >$CONFIG_STATUS <<_ACEOF
5935 # Generated by $as_me.
5936 # Run this file to recreate the current configuration.
5937 # Compiler output produced by configure, useful for debugging
5938 # configure, is in config.log if it exists.
5943 SHELL=\${CONFIG_SHELL-$SHELL}
5946 cat >>$CONFIG_STATUS <<\_ACEOF
5947 ## --------------------- ##
5948 ## M4sh Initialization. ##
5949 ## --------------------- ##
5951 # Be more Bourne compatible
5952 DUALCASE
=1; export DUALCASE
# for MKS sh
5953 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
5956 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5957 # is contrary to our usage. Disable this feature.
5958 alias -g '${1+"$@"}'='"$@"'
5959 setopt NO_GLOB_SUBST
5961 case `(set -o) 2>/dev/null` in
5962 *posix
*) set -o posix
;;
5971 # Avoid depending upon Character Ranges.
5972 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5973 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5974 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5975 as_cr_digits
='0123456789'
5976 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5978 # The user is always right.
5979 if test "${PATH_SEPARATOR+set}" != set; then
5980 echo "#! /bin/sh" >conf$$.sh
5981 echo "exit 0" >>conf$$.sh
5983 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5991 # Support unset when possible.
5992 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6000 # We need space, tab and new line, in precisely that order. Quoting is
6001 # there to prevent editors from complaining about space-tab.
6002 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6003 # splitting by setting IFS to empty value.)
6008 # Find who we are. Look in the path if we contain no directory separator.
6010 *[\\/]* ) as_myself
=$0 ;;
6011 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6015 test -z "$as_dir" && as_dir
=.
6016 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
6022 # We did not find ourselves, most probably we were run as `sh COMMAND'
6023 # in which case we are not to be found in the path.
6024 if test "x$as_myself" = x
; then
6027 if test ! -f "$as_myself"; then
6028 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6029 { (exit 1); exit 1; }
6032 # Work around bugs in pre-3.0 UWIN ksh.
6033 for as_var
in ENV MAIL MAILPATH
6034 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
6042 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6043 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6044 LC_TELEPHONE LC_TIME
6046 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6047 eval $as_var=C
; export $as_var
6049 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
6053 # Required to use basename.
6054 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
6055 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
6061 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6062 as_basename
=basename
6068 # Name of the executable.
6069 as_me
=`$as_basename -- "$0" ||
6070 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6071 X"$0" : 'X\(//\)$' \| \
6072 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6074 sed '/^.*\/\([^/][^/]*\)\/*$/{
6095 test "x$as_lineno_1" != "x$as_lineno_2" &&
6096 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
6098 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6099 # uniformly replaced by the line number. The first 'sed' inserts a
6100 # line-number line after each line using $LINENO; the second 'sed'
6101 # does the real work. The second script uses 'N' to pair each
6102 # line-number line with the line containing $LINENO, and appends
6103 # trailing '-' during substitution so that $LINENO is not a special
6105 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6106 # scripts with optimization help from Paolo Bonzini. Blame Lee
6107 # E. McMahon (1931-1989) for sed's syntax. :-)
6119 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
6123 chmod +x
"$as_me.lineno" ||
6124 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
6125 { (exit 1); exit 1; }; }
6127 # Don't try to exec as it changes $[0], causing all sort of problems
6128 # (the dirname of $[0] is not the place where we might find the
6129 # original and so on. Autoconf is especially sensitive to this).
6131 # Exit status is that of the last command.
6136 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
6142 ECHO_C
= ECHO_N
= ECHO_T
=
6145 case `echo 'x\c'` in
6146 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
6153 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
6154 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
6160 rm -f conf$$ conf$$.exe conf$$.
file
6161 if test -d conf$$.dir
; then
6162 rm -f conf$$.dir
/conf$$.
file
6168 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6170 # ... but there are two gotchas:
6171 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6172 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6173 # In both cases, we have to default to `cp -p'.
6174 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
6176 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6181 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
6182 rmdir conf$$.dir
2>/dev
/null
6184 if mkdir
-p .
2>/dev
/null
; then
6187 test -d .
/-p && rmdir .
/-p
6191 if test -x / >/dev
/null
2>&1; then
6194 if ls -dL / >/dev
/null
2>&1; then
6201 if test -d "$1"; then
6207 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
6208 ???[sx]*):;;*)false;;esac;fi
6212 as_executable_p
=$as_test_x
6214 # Sed expression to map a string onto a valid CPP name.
6215 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6217 # Sed expression to map a string onto a valid variable name.
6218 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6223 # Save the log message, to keep $[0] and so on meaningful, and to
6224 # report actual input values of CONFIG_FILES etc. instead of their
6225 # values after options handling.
6227 This file was extended by fixincludes $as_me , which was
6228 generated by GNU Autoconf 2.61. Invocation command line was
6230 CONFIG_FILES = $CONFIG_FILES
6231 CONFIG_HEADERS = $CONFIG_HEADERS
6232 CONFIG_LINKS = $CONFIG_LINKS
6233 CONFIG_COMMANDS = $CONFIG_COMMANDS
6236 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6241 cat >>$CONFIG_STATUS <<_ACEOF
6242 # Files that config.status was made for.
6243 config_files="$ac_config_files"
6244 config_headers="$ac_config_headers"
6248 cat >>$CONFIG_STATUS <<\_ACEOF
6250 \`$as_me' instantiates files from templates according to the
6251 current configuration.
6253 Usage: $0 [OPTIONS] [FILE]...
6255 -h, --help print this help, then exit
6256 -V, --version print version number and configuration settings, then exit
6257 -q, --quiet do not print progress messages
6258 -d, --debug don't remove temporary files
6259 --recheck update $as_me by reconfiguring in the same conditions
6260 --file=FILE[:TEMPLATE]
6261 instantiate the configuration file FILE
6262 --header=FILE[:TEMPLATE]
6263 instantiate the configuration header FILE
6265 Configuration files:
6268 Configuration headers:
6271 Report bugs to <bug-autoconf@gnu.org>."
6274 cat >>$CONFIG_STATUS <<_ACEOF
6276 fixincludes config.status
6277 configured by $0, generated by GNU Autoconf 2.61,
6278 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
6280 Copyright (C) 2006 Free Software Foundation, Inc.
6281 This config.status script is free software; the Free Software Foundation
6282 gives unlimited permission to copy, distribute and modify it."
6288 cat >>$CONFIG_STATUS <<\_ACEOF
6289 # If no file are specified by the user, then we need to provide default
6290 # value. By we need to know if files were specified by the user.
6296 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6297 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
6308 # Handling of the options.
6309 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6311 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
6312 echo "$ac_cs_version"; exit ;;
6313 --debug |
--debu |
--deb |
--de |
--d |
-d )
6315 --file |
--fil |
--fi |
--f )
6317 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
6318 ac_need_defaults
=false
;;
6319 --header |
--heade |
--head |
--hea )
6321 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
6322 ac_need_defaults
=false
;;
6324 # Conflict between --help and --header
6325 { echo "$as_me: error: ambiguous option: $1
6326 Try \`$0 --help' for more information." >&2
6327 { (exit 1); exit 1; }; };;
6328 --help |
--hel |
-h )
6329 echo "$ac_cs_usage"; exit ;;
6330 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6331 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6335 -*) { echo "$as_me: error: unrecognized option: $1
6336 Try \`$0 --help' for more information." >&2
6337 { (exit 1); exit 1; }; } ;;
6339 *) ac_config_targets
="$ac_config_targets $1"
6340 ac_need_defaults
=false
;;
6346 ac_configure_extra_args
=
6348 if $ac_cs_silent; then
6350 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6354 cat >>$CONFIG_STATUS <<_ACEOF
6355 if \$ac_cs_recheck; then
6356 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6359 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6363 cat >>$CONFIG_STATUS <<\_ACEOF
6367 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6368 ## Running $as_me. ##
6374 cat >>$CONFIG_STATUS <<_ACEOF
6377 cat >>$CONFIG_STATUS <<\_ACEOF
6379 # Handling of arguments.
6380 for ac_config_target
in $ac_config_targets
6382 case $ac_config_target in
6383 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
6384 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6385 "mkheaders.almost") CONFIG_FILES
="$CONFIG_FILES mkheaders.almost:mkheaders.in" ;;
6387 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6388 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6389 { (exit 1); exit 1; }; };;
6394 # If the user did not use the arguments to specify the items to instantiate,
6395 # then the envvar interface is used. Set only those that are not.
6396 # We use the long form for the default assignment because of an extremely
6397 # bizarre bug on SunOS 4.1.3.
6398 if $ac_need_defaults; then
6399 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6400 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6403 # Have a temporary directory for convenience. Make it in the build tree
6404 # simply because there is no reason against having it here, and in addition,
6405 # creating and moving files from /tmp can sometimes cause problems.
6406 # Hook for its removal unless debugging.
6407 # Note that there is a small window in which the directory will not be cleaned:
6408 # after its creation but before its name has been assigned to `$tmp'.
6412 trap 'exit_status=$?
6413 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6415 trap '{ (exit 1); exit 1; }' 1 2 13 15
6417 # Create a (secure) tmp directory for tmp files.
6420 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6421 test -n "$tmp" && test -d "$tmp"
6424 tmp
=.
/conf$$
-$RANDOM
6425 (umask 077 && mkdir
"$tmp")
6428 echo "$me: cannot create a temporary directory in ." >&2
6429 { (exit 1); exit 1; }
6433 # Set up the sed scripts for CONFIG_FILES section.
6436 # No need to generate the scripts if there are no CONFIG_FILES.
6437 # This happens for instance when ./config.status config.h
6438 if test -n "$CONFIG_FILES"; then
6445 for ac_last_try
in false false false false false
:; do
6446 cat >conf$
$subs.
sed <<_ACEOF
6447 SHELL!$SHELL$ac_delim
6448 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
6449 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
6450 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
6451 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
6452 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
6453 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
6454 exec_prefix!$exec_prefix$ac_delim
6455 prefix!$prefix$ac_delim
6456 program_transform_name!$program_transform_name$ac_delim
6457 bindir!$bindir$ac_delim
6458 sbindir!$sbindir$ac_delim
6459 libexecdir!$libexecdir$ac_delim
6460 datarootdir!$datarootdir$ac_delim
6461 datadir!$datadir$ac_delim
6462 sysconfdir!$sysconfdir$ac_delim
6463 sharedstatedir!$sharedstatedir$ac_delim
6464 localstatedir!$localstatedir$ac_delim
6465 includedir!$includedir$ac_delim
6466 oldincludedir!$oldincludedir$ac_delim
6467 docdir!$docdir$ac_delim
6468 infodir!$infodir$ac_delim
6469 htmldir!$htmldir$ac_delim
6470 dvidir!$dvidir$ac_delim
6471 pdfdir!$pdfdir$ac_delim
6472 psdir!$psdir$ac_delim
6473 libdir!$libdir$ac_delim
6474 localedir!$localedir$ac_delim
6475 mandir!$mandir$ac_delim
6477 ECHO_C!$ECHO_C$ac_delim
6478 ECHO_N!$ECHO_N$ac_delim
6479 ECHO_T!$ECHO_T$ac_delim
6481 build_alias!$build_alias$ac_delim
6482 host_alias!$host_alias$ac_delim
6483 target_alias!$target_alias$ac_delim
6484 build!$build$ac_delim
6485 build_cpu!$build_cpu$ac_delim
6486 build_vendor!$build_vendor$ac_delim
6487 build_os!$build_os$ac_delim
6489 host_cpu!$host_cpu$ac_delim
6490 host_vendor!$host_vendor$ac_delim
6491 host_os!$host_os$ac_delim
6492 target!$target$ac_delim
6493 target_cpu!$target_cpu$ac_delim
6494 target_vendor!$target_vendor$ac_delim
6495 target_os!$target_os$ac_delim
6497 CFLAGS!$CFLAGS$ac_delim
6498 LDFLAGS!$LDFLAGS$ac_delim
6499 CPPFLAGS!$CPPFLAGS$ac_delim
6500 ac_ct_CC!$ac_ct_CC$ac_delim
6501 EXEEXT!$EXEEXT$ac_delim
6502 OBJEXT!$OBJEXT$ac_delim
6503 WARN_CFLAGS!$WARN_CFLAGS$ac_delim
6504 WARN_PEDANTIC!$WARN_PEDANTIC$ac_delim
6505 WERROR!$WERROR$ac_delim
6506 target_noncanonical!$target_noncanonical$ac_delim
6507 TARGET!$TARGET$ac_delim
6510 EGREP!$EGREP$ac_delim
6511 MAINT!$MAINT$ac_delim
6512 LIBOBJS!$LIBOBJS$ac_delim
6513 LTLIBOBJS!$LTLIBOBJS$ac_delim
6516 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 67; then
6518 elif $ac_last_try; then
6519 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6520 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6521 { (exit 1); exit 1; }; }
6523 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
6527 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
6528 if test -n "$ac_eof"; then
6529 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
6530 ac_eof
=`expr $ac_eof + 1`
6533 cat >>$CONFIG_STATUS <<_ACEOF
6534 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
6535 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
6538 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
6539 s/^/s,@/; s/!/@,|#_!!_#|/
6542 s/'"$ac_delim"'$/,g/; t
6544 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
6545 ' >>$CONFIG_STATUS <conf$
$subs.
sed
6546 rm -f conf$
$subs.
sed
6547 cat >>$CONFIG_STATUS <<_ACEOF
6554 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6555 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6556 # trailing colons and then remove the whole line if VPATH becomes empty
6557 # (actually we leave an empty line to preserve line numbers).
6558 if test "x$srcdir" = x.
; then
6559 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
6563 s/^\([^=]*=[ ]*\):*/\1/
6569 cat >>$CONFIG_STATUS <<\_ACEOF
6570 fi # test -n "$CONFIG_FILES"
6573 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS
6576 :[FHLC
]) ac_mode
=$ac_tag; continue;;
6578 case $ac_mode$ac_tag in
6580 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
6581 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
6582 { (exit 1); exit 1; }; };;
6583 :[FH
]-) ac_tag
=-:-;;
6584 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
6601 -) ac_f
="$tmp/stdin";;
6602 *) # Look for the file first in the build tree, then in the source tree
6603 # (if the path is not absolute). The absolute path cannot be DOS-style,
6604 # because $ac_f cannot contain `:'.
6608 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
6610 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6611 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6612 { (exit 1); exit 1; }; };;
6614 ac_file_inputs
="$ac_file_inputs $ac_f"
6617 # Let's still pretend it is `configure' which instantiates (i.e., don't
6618 # use $as_me), people would be surprised to read:
6619 # /* config.h. Generated by config.status. */
6620 configure_input
="Generated from "`IFS=:
6621 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
6622 if test x
"$ac_file" != x-
; then
6623 configure_input
="$ac_file. $configure_input"
6624 { echo "$as_me:$LINENO: creating $ac_file" >&5
6625 echo "$as_me: creating $ac_file" >&6;}
6629 *:-:* |
*:-) cat >"$tmp/stdin";;
6634 ac_dir
=`$as_dirname -- "$ac_file" ||
6635 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6636 X"$ac_file" : 'X\(//\)[^/]' \| \
6637 X"$ac_file" : 'X\(//\)$' \| \
6638 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6640 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6659 -*) as_dir
=.
/$as_dir;;
6661 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
6665 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
6666 *) as_qdir
=$as_dir;;
6668 as_dirs
="'$as_qdir' $as_dirs"
6669 as_dir
=`$as_dirname -- "$as_dir" ||
6670 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6671 X"$as_dir" : 'X\(//\)[^/]' \| \
6672 X"$as_dir" : 'X\(//\)$' \| \
6673 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6675 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6692 test -d "$as_dir" && break
6694 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
6695 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6696 echo "$as_me: error: cannot create directory $as_dir" >&2;}
6697 { (exit 1); exit 1; }; }; }
6701 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6703 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6704 # A ".." for each directory in $ac_dir_suffix.
6705 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
6706 case $ac_top_builddir_sub in
6707 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6708 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
6711 ac_abs_top_builddir
=$ac_pwd
6712 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
6713 # for backward compatibility:
6714 ac_top_builddir
=$ac_top_build_prefix
6717 .
) # We are building in place.
6719 ac_top_srcdir
=$ac_top_builddir_sub
6720 ac_abs_top_srcdir
=$ac_pwd ;;
6721 [\\/]* | ?
:[\\/]* ) # Absolute name.
6722 ac_srcdir
=$srcdir$ac_dir_suffix;
6723 ac_top_srcdir
=$srcdir
6724 ac_abs_top_srcdir
=$srcdir ;;
6726 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
6727 ac_top_srcdir
=$ac_top_build_prefix$srcdir
6728 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
6730 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
6741 cat >>$CONFIG_STATUS <<\_ACEOF
6742 # If the template does not know about datarootdir, expand it.
6743 # FIXME: This hack should be removed a few years after 2.60.
6744 ac_datarootdir_hack
=; ac_datarootdir_seen
=
6746 case `sed -n '/datarootdir/ {
6755 ' $ac_file_inputs` in
6756 *datarootdir
*) ac_datarootdir_seen
=yes;;
6757 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
6758 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6759 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6761 cat >>$CONFIG_STATUS <<_ACEOF
6762 ac_datarootdir_hack='
6763 s&@datadir@&$datadir&g
6764 s&@docdir@&$docdir&g
6765 s&@infodir@&$infodir&g
6766 s&@localedir@&$localedir&g
6767 s&@mandir@&$mandir&g
6768 s&\\\${datarootdir}&$datarootdir&g' ;;
6772 # Neutralize VPATH when `$srcdir' = `.'.
6773 # Shell code in configure.ac might set extrasub.
6774 # FIXME: do we really want to maintain this feature?
6775 cat >>$CONFIG_STATUS <<_ACEOF
6779 cat >>$CONFIG_STATUS <<\_ACEOF
6781 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6782 s
&@configure_input@
&$configure_input&;t t
6783 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
6784 s
&@srcdir@
&$ac_srcdir&;t t
6785 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
6786 s
&@top_srcdir@
&$ac_top_srcdir&;t t
6787 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
6788 s
&@builddir@
&$ac_builddir&;t t
6789 s
&@abs_builddir@
&$ac_abs_builddir&;t t
6790 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
6791 $ac_datarootdir_hack
6792 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" >$tmp/out
6794 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6795 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
6796 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
6797 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
6798 which seems to be undefined. Please make sure it is defined." >&5
6799 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
6800 which seems to be undefined. Please make sure it is defined." >&2;}
6804 -) cat "$tmp/out"; rm -f "$tmp/out";;
6805 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
6814 # Transform confdefs.h into a sed script `conftest.defines', that
6815 # substitutes the proper values into config.h.in to produce config.h.
6816 rm -f conftest.defines conftest.
tail
6817 # First, append a space to every undef/define line, to ease matching.
6818 echo 's/$/ /' >conftest.defines
6819 # Then, protect against being on the right side of a sed subst, or in
6820 # an unquoted here document, in config.status. If some macros were
6821 # called several times there might be several #defines for the same
6822 # symbol, which is useless. But do not sort them, since the last
6823 # AC_DEFINE must be honored.
6824 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
6825 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
6826 # NAME is the cpp macro being defined, VALUE is the value it is being given.
6827 # PARAMS is the parameter list in the macro definition--in most cases, it's
6828 # just an empty string.
6829 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
6830 ac_dB
='\\)[ (].*,\\1define\\2'
6838 s/^[ ]*#[ ]*define[ ][ ]*//
6843 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
6844 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
6845 ' >>conftest.defines
6847 # Remove the space that was appended to ease matching.
6848 # Then replace #undef with comments. This is necessary, for
6849 # example, in the case of _POSIX_SOURCE, which is predefined and required
6850 # on some systems where configure will not decide to define it.
6851 # (The regexp can be short, since the line contains either #define or #undef.)
6853 s,^[ #]*u.*,/* & */,' >>conftest.defines
6855 # Break up conftest.defines:
6858 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
6859 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
6860 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
6862 ac_in
='$ac_file_inputs'
6863 ac_out
='"$tmp/out1"'
6864 ac_nxt
='"$tmp/out2"'
6868 # Write a here document:
6869 cat >>$CONFIG_STATUS <<_ACEOF
6870 # First, check the format of the line:
6871 cat >"\$tmp/defines.sed" <<\\CEOF
6872 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
6873 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
6877 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
6879 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
6880 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
6881 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
6882 grep . conftest.
tail >/dev
/null ||
break
6883 rm -f conftest.defines
6884 mv conftest.
tail conftest.defines
6886 rm -f conftest.defines conftest.
tail
6888 echo "ac_result=$ac_in" >>$CONFIG_STATUS
6889 cat >>$CONFIG_STATUS <<\_ACEOF
6890 if test x
"$ac_file" != x-
; then
6891 echo "/* $configure_input */" >"$tmp/config.h"
6892 cat "$ac_result" >>"$tmp/config.h"
6893 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
6894 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6895 echo "$as_me: $ac_file is unchanged" >&6;}
6898 mv "$tmp/config.h" $ac_file
6901 echo "/* $configure_input */"
6911 case $ac_file$ac_mode in
6912 "config.h":H
) echo timestamp
> stamp-h
;;
6918 { (exit 0); exit 0; }
6920 chmod +x
$CONFIG_STATUS
6921 ac_clean_files
=$ac_clean_files_save
6924 # configure is writing to config.log, and then calls config.status.
6925 # config.status does its own redirection, appending to config.log.
6926 # Unfortunately, on DOS this fails, as config.log is still kept open
6927 # by configure, so config.status won't be able to write to it; its
6928 # output is simply discarded. So we exec the FD to /dev/null,
6929 # effectively closing config.log, so it can be properly (re)opened and
6930 # appended to by config.status. When coming back to configure, we
6931 # need to make the FD available again.
6932 if test "$no_create" != yes; then
6934 ac_config_status_args
=
6935 test "$silent" = yes &&
6936 ac_config_status_args
="$ac_config_status_args --quiet"
6938 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6940 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6941 # would make configure fail if this is the last instruction.
6942 $ac_cs_success ||
{ (exit 1); exit 1; }