2 # From configure.in Id: configure.in,v 1.7 2004/07/20 04:04:22 hpa Exp .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.60a.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
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 *posix*) set -o posix;; esac
25 BIN_SH=xpg4; export BIN_SH # for Tru64
26 DUALCASE=1; export DUALCASE # for MKS sh
30 # Avoid depending upon Character Ranges.
31 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
32 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
33 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
34 as_cr_digits='0123456789'
35 as_cr_alnum=$as_cr_Letters$as_cr_digits
37 # The user is always right.
38 if test "${PATH_SEPARATOR+set}" != set; then
39 echo "#! /bin/sh" >conf$$.sh
40 echo "exit 0" >>conf$$.sh
42 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
50 # Support unset when possible.
51 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
59 # We need space, tab and new line, in precisely that order. Quoting is
60 # there to prevent editors from complaining about space-tab.
61 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
62 # splitting by setting IFS to empty value.)
67 # Find who we are. Look in the path if we contain no directory separator.
69 *[\\/]* ) as_myself=$0 ;;
70 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74 test -z "$as_dir" && as_dir=.
75 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81 # We did not find ourselves, most probably we were run as `sh COMMAND'
82 # in which case we are not to be found in the path.
83 if test "x$as_myself" = x; then
86 if test ! -f "$as_myself"; then
87 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91 # Work around bugs in pre-3.0 UWIN ksh.
92 for as_var in ENV MAIL MAILPATH
93 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
101 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
102 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
105 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
106 eval $as_var=C; export $as_var
108 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
112 # Required to use basename.
113 if expr a : '\(a\)' >/dev/null 2>&1 &&
114 test "X`expr 00001 : '.*\(...\)'`" = X001; then
120 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
127 # Name of the executable.
128 as_me=`$as_basename -- "$0" ||
129 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
130 X"$0" : 'X\(//\)$' \| \
131 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
133 sed '/^.*\/\([^/][^/]*\)\/*$/{
151 if test "x$CONFIG_SHELL" = x; then
152 if (eval ":") 2>/dev/null; then
158 if test $as_have_required = yes && (eval ":
168 as_func_ret_success () {
171 as_func_ret_failure () {
176 if as_func_success; then
180 echo as_func_success failed.
183 if as_func_failure; then
185 echo as_func_failure succeeded.
188 if as_func_ret_success; then
192 echo as_func_ret_success failed.
195 if as_func_ret_failure; then
197 echo as_func_ret_failure succeeded.
200 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
204 echo positional parameters were not saved.
207 test \$exitcode = 0) || { (exit 1); exit 1; }
212 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
213 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
214 ") 2> /dev/null; then
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219 for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
222 test -z "$as_dir" && as_dir=.
225 for as_base in sh bash ksh sh5; do
226 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
233 for as_shell in $as_candidate_shells $SHELL; do
234 # Try only shells that exist, to save several forks.
235 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
236 { ("$as_shell") 2> /dev/null <<\_ASEOF
237 # Be Bourne compatible
238 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
242 # is contrary to our usage. Disable this feature.
243 alias -g '${1+"$@"}'='"$@"'
246 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
248 BIN_SH=xpg4; export BIN_SH # for Tru64
249 DUALCASE=1; export DUALCASE # for MKS sh
254 CONFIG_SHELL=$as_shell
256 if { "$as_shell" 2> /dev/null <<\_ASEOF
257 # Be Bourne compatible
258 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
261 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
262 # is contrary to our usage. Disable this feature.
263 alias -g '${1+"$@"}'='"$@"'
266 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
268 BIN_SH=xpg4; export BIN_SH # for Tru64
269 DUALCASE=1; export DUALCASE # for MKS sh
281 as_func_ret_success () {
284 as_func_ret_failure () {
289 if as_func_success; then
293 echo as_func_success failed.
296 if as_func_failure; then
298 echo as_func_failure succeeded.
301 if as_func_ret_success; then
305 echo as_func_ret_success failed.
308 if as_func_ret_failure; then
310 echo as_func_ret_failure succeeded.
313 if ( set x; as_func_ret_success y && test x = "$1" ); then
317 echo positional parameters were not saved.
320 test $exitcode = 0) || { (exit 1); exit 1; }
325 test "x$as_lineno_1" != "x$as_lineno_2" &&
326 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
337 if test "x$CONFIG_SHELL" != x; then
338 for as_var in BASH_ENV ENV
339 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
342 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
346 if test $as_have_required = no; then
347 echo This script requires a shell more modern than all the
348 echo shells that I found on your system. Please install a
349 echo modern shell, or manually run the script under such a
350 echo shell if you do have one.
351 { (exit 1); exit 1; }
361 (eval "as_func_return () {
370 as_func_ret_success () {
373 as_func_ret_failure () {
378 if as_func_success; then
382 echo as_func_success failed.
385 if as_func_failure; then
387 echo as_func_failure succeeded.
390 if as_func_ret_success; then
394 echo as_func_ret_success failed.
397 if as_func_ret_failure; then
399 echo as_func_ret_failure succeeded.
402 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
406 echo positional parameters were not saved.
409 test \$exitcode = 0") || {
410 echo No shell found that supports shell functions.
411 echo Please tell autoconf@gnu.org about your system,
412 echo including any error possibly output before this
420 test "x$as_lineno_1" != "x$as_lineno_2" &&
421 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
423 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
424 # uniformly replaced by the line number. The first 'sed' inserts a
425 # line-number line after each line using $LINENO; the second 'sed'
426 # does the real work. The second script uses 'N' to pair each
427 # line-number line with the line containing $LINENO, and appends
428 # trailing '-' during substitution so that $LINENO is not a special
430 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
431 # scripts with optimization help from Paolo Bonzini. Blame Lee
432 # E. McMahon (1931-1989) for sed's syntax. :-)
444 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
448 chmod +x "$as_me.lineno" ||
449 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
450 { (exit 1); exit 1; }; }
452 # Don't try to exec as it changes $[0], causing all sort of problems
453 # (the dirname of $[0] is not the place where we might find the
454 # original and so on. Autoconf is especially sensitive to this).
456 # Exit status is that of the last command.
461 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467 ECHO_C= ECHO_N= ECHO_T=
471 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
478 if expr a : '\(a\)' >/dev/null 2>&1 &&
479 test "X`expr 00001 : '.*\(...\)'`" = X001; then
485 rm -f conf$$ conf$$.exe conf$$.file
486 if test -d conf$$.dir; then
487 rm -f conf$$.dir/conf$$.file
493 if ln -s conf$$.file conf$$ 2>/dev/null; then
495 # ... but there are two gotchas:
496 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
497 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
498 # In both cases, we have to default to `cp -p'.
499 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
501 elif ln conf$$.file conf$$ 2>/dev/null; then
506 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
507 rmdir conf$$.dir 2>/dev/null
509 if mkdir -p . 2>/dev/null; then
512 test -d ./-p && rmdir ./-p
516 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
517 # systems may use methods other than mode bits to determine executability.
518 cat >conf$$.file <<_ASEOF
523 if test -x conf$$.file >/dev/null 2>&1; then
524 as_executable_p="test -x"
530 # Sed expression to map a string onto a valid CPP name.
531 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
533 # Sed expression to map a string onto a valid variable name.
534 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
538 exec 7<&0 </dev/null 6>&1
541 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
542 # so uname gets run too.
543 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
548 ac_default_prefix=/usr/local
550 ac_config_libobj_dir=.
556 SHELL=${CONFIG_SHELL-/bin/sh}
558 # Identity of this package.
565 ac_unique_file="MCONFIG.in"
566 ac_default_prefix=/usr
567 # Factoring default headers for most tests.
568 ac_includes_default="\
570 #ifdef HAVE_SYS_TYPES_H
571 # include <sys/types.h>
573 #ifdef HAVE_SYS_STAT_H
574 # include <sys/stat.h>
580 # ifdef HAVE_STDLIB_H
585 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
590 #ifdef HAVE_STRINGS_H
591 # include <strings.h>
593 #ifdef HAVE_INTTYPES_H
594 # include <inttypes.h>
612 program_transform_name
657 ac_precious_vars='build_alias
667 # Initialize some variables set by options.
669 ac_init_version=false
670 # The variables have the same names as the options, with
671 # dashes changed to underlines.
679 program_transform_name=s,x,x,
687 # Installation directory options.
688 # These are left unexpanded so users can "make install exec_prefix=/foo"
689 # and all the variables that are supposed to be based on exec_prefix
690 # by default will actually change.
691 # Use braces instead of parens because sh, perl, etc. also accept them.
692 # (The list follows the same order as the GNU Coding Standards.)
693 bindir='${exec_prefix}/bin'
694 sbindir='${exec_prefix}/sbin'
695 libexecdir='${exec_prefix}/libexec'
696 datarootdir='${prefix}/share'
697 datadir='${datarootdir}'
698 sysconfdir='${prefix}/etc'
699 sharedstatedir='${prefix}/com'
700 localstatedir='${prefix}/var'
701 includedir='${prefix}/include'
702 oldincludedir='/usr/include'
703 docdir='${datarootdir}/doc/${PACKAGE}'
704 infodir='${datarootdir}/info'
709 libdir='${exec_prefix}/lib'
710 localedir='${datarootdir}/locale'
711 mandir='${datarootdir}/man'
717 # If the previous option needs an argument, assign it.
718 if test -n "$ac_prev"; then
719 eval $ac_prev=\$ac_option
725 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
729 # Accept the important Cygnus configure options, so we can diagnose typos.
731 case $ac_dashdash$ac_option in
735 -bindir | --bindir | --bindi | --bind | --bin | --bi)
737 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
740 -build | --build | --buil | --bui | --bu)
741 ac_prev=build_alias ;;
742 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
743 build_alias=$ac_optarg ;;
745 -cache-file | --cache-file | --cache-fil | --cache-fi \
746 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
747 ac_prev=cache_file ;;
748 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
749 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
750 cache_file=$ac_optarg ;;
753 cache_file=config.cache ;;
755 -datadir | --datadir | --datadi | --datad)
757 -datadir=* | --datadir=* | --datadi=* | --datad=*)
758 datadir=$ac_optarg ;;
760 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
761 | --dataroo | --dataro | --datar)
762 ac_prev=datarootdir ;;
763 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
764 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
765 datarootdir=$ac_optarg ;;
767 -disable-* | --disable-*)
768 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
769 # Reject names that are not valid shell variable names.
770 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
771 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
772 { (exit 1); exit 1; }; }
773 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
774 eval enable_$ac_feature=no ;;
776 -docdir | --docdir | --docdi | --doc | --do)
778 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
781 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
783 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
786 -enable-* | --enable-*)
787 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
788 # Reject names that are not valid shell variable names.
789 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
790 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
791 { (exit 1); exit 1; }; }
792 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
793 eval enable_$ac_feature=\$ac_optarg ;;
795 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
796 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
797 | --exec | --exe | --ex)
798 ac_prev=exec_prefix ;;
799 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
800 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
801 | --exec=* | --exe=* | --ex=*)
802 exec_prefix=$ac_optarg ;;
804 -gas | --gas | --ga | --g)
805 # Obsolete; use --with-gas.
808 -help | --help | --hel | --he | -h)
810 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
811 ac_init_help=recursive ;;
812 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
813 ac_init_help=short ;;
815 -host | --host | --hos | --ho)
816 ac_prev=host_alias ;;
817 -host=* | --host=* | --hos=* | --ho=*)
818 host_alias=$ac_optarg ;;
820 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
822 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
824 htmldir=$ac_optarg ;;
826 -includedir | --includedir | --includedi | --included | --include \
827 | --includ | --inclu | --incl | --inc)
828 ac_prev=includedir ;;
829 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
830 | --includ=* | --inclu=* | --incl=* | --inc=*)
831 includedir=$ac_optarg ;;
833 -infodir | --infodir | --infodi | --infod | --info | --inf)
835 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
836 infodir=$ac_optarg ;;
838 -libdir | --libdir | --libdi | --libd)
840 -libdir=* | --libdir=* | --libdi=* | --libd=*)
843 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
844 | --libexe | --libex | --libe)
845 ac_prev=libexecdir ;;
846 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
847 | --libexe=* | --libex=* | --libe=*)
848 libexecdir=$ac_optarg ;;
850 -localedir | --localedir | --localedi | --localed | --locale)
852 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
853 localedir=$ac_optarg ;;
855 -localstatedir | --localstatedir | --localstatedi | --localstated \
856 | --localstate | --localstat | --localsta | --localst | --locals)
857 ac_prev=localstatedir ;;
858 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
859 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
860 localstatedir=$ac_optarg ;;
862 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
864 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
868 # Obsolete; use --without-fp.
871 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
872 | --no-cr | --no-c | -n)
875 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
876 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
879 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
880 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
881 | --oldin | --oldi | --old | --ol | --o)
882 ac_prev=oldincludedir ;;
883 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
884 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
885 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
886 oldincludedir=$ac_optarg ;;
888 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
890 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
893 -program-prefix | --program-prefix | --program-prefi | --program-pref \
894 | --program-pre | --program-pr | --program-p)
895 ac_prev=program_prefix ;;
896 -program-prefix=* | --program-prefix=* | --program-prefi=* \
897 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
898 program_prefix=$ac_optarg ;;
900 -program-suffix | --program-suffix | --program-suffi | --program-suff \
901 | --program-suf | --program-su | --program-s)
902 ac_prev=program_suffix ;;
903 -program-suffix=* | --program-suffix=* | --program-suffi=* \
904 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
905 program_suffix=$ac_optarg ;;
907 -program-transform-name | --program-transform-name \
908 | --program-transform-nam | --program-transform-na \
909 | --program-transform-n | --program-transform- \
910 | --program-transform | --program-transfor \
911 | --program-transfo | --program-transf \
912 | --program-trans | --program-tran \
913 | --progr-tra | --program-tr | --program-t)
914 ac_prev=program_transform_name ;;
915 -program-transform-name=* | --program-transform-name=* \
916 | --program-transform-nam=* | --program-transform-na=* \
917 | --program-transform-n=* | --program-transform-=* \
918 | --program-transform=* | --program-transfor=* \
919 | --program-transfo=* | --program-transf=* \
920 | --program-trans=* | --program-tran=* \
921 | --progr-tra=* | --program-tr=* | --program-t=*)
922 program_transform_name=$ac_optarg ;;
924 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
926 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
929 -psdir | --psdir | --psdi | --psd | --ps)
931 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
934 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
935 | -silent | --silent | --silen | --sile | --sil)
938 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
940 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
942 sbindir=$ac_optarg ;;
944 -sharedstatedir | --sharedstatedir | --sharedstatedi \
945 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
946 | --sharedst | --shareds | --shared | --share | --shar \
948 ac_prev=sharedstatedir ;;
949 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
950 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
951 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
953 sharedstatedir=$ac_optarg ;;
955 -site | --site | --sit)
957 -site=* | --site=* | --sit=*)
960 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
962 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
965 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
966 | --syscon | --sysco | --sysc | --sys | --sy)
967 ac_prev=sysconfdir ;;
968 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
969 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
970 sysconfdir=$ac_optarg ;;
972 -target | --target | --targe | --targ | --tar | --ta | --t)
973 ac_prev=target_alias ;;
974 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
975 target_alias=$ac_optarg ;;
977 -v | -verbose | --verbose | --verbos | --verbo | --verb)
980 -version | --version | --versio | --versi | --vers | -V)
984 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
985 # Reject names that are not valid shell variable names.
986 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
987 { echo "$as_me: error: invalid package name: $ac_package" >&2
988 { (exit 1); exit 1; }; }
989 ac_package=`echo $ac_package| sed 's/-/_/g'`
990 eval with_$ac_package=\$ac_optarg ;;
992 -without-* | --without-*)
993 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
994 # Reject names that are not valid shell variable names.
995 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
996 { echo "$as_me: error: invalid package name: $ac_package" >&2
997 { (exit 1); exit 1; }; }
998 ac_package=`echo $ac_package | sed 's/-/_/g'`
999 eval with_$ac_package=no ;;
1002 # Obsolete; use --with-x.
1005 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1006 | --x-incl | --x-inc | --x-in | --x-i)
1007 ac_prev=x_includes ;;
1008 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1009 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1010 x_includes=$ac_optarg ;;
1012 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1013 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1014 ac_prev=x_libraries ;;
1015 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1016 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1017 x_libraries=$ac_optarg ;;
1019 -*) { echo "$as_me: error: unrecognized option: $ac_option
1020 Try \`$0 --help' for more information." >&2
1021 { (exit 1); exit 1; }; }
1025 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1026 # Reject names that are not valid shell variable names.
1027 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1028 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1029 { (exit 1); exit 1; }; }
1030 eval $ac_envvar=\$ac_optarg
1031 export $ac_envvar ;;
1034 # FIXME: should be removed in autoconf 3.0.
1035 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1036 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1037 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1038 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1044 if test -n "$ac_prev"; then
1045 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1046 { echo "$as_me: error: missing argument to $ac_option" >&2
1047 { (exit 1); exit 1; }; }
1050 # Be sure to have absolute directory names.
1051 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1052 datadir sysconfdir sharedstatedir localstatedir includedir \
1053 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1054 libdir localedir mandir
1056 eval ac_val=\$$ac_var
1058 [\\/$]* | ?:[\\/]* ) continue;;
1059 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1061 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1062 { (exit 1); exit 1; }; }
1065 # There might be people who depend on the old broken behavior: `$host'
1066 # used to hold the argument of --host etc.
1067 # FIXME: To remove some day.
1070 target=$target_alias
1072 # FIXME: To remove some day.
1073 if test "x$host_alias" != x; then
1074 if test "x$build_alias" = x; then
1075 cross_compiling=maybe
1076 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1077 If a cross compiler is detected then cross compile mode will be used." >&2
1078 elif test "x$build_alias" != "x$host_alias"; then
1084 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1086 test "$silent" = yes && exec 6>/dev/null
1089 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1090 ac_ls_di=`ls -di .` &&
1091 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1092 { echo "$as_me: error: Working directory cannot be determined" >&2
1093 { (exit 1); exit 1; }; }
1094 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1095 { echo "$as_me: error: pwd does not report name of working directory" >&2
1096 { (exit 1); exit 1; }; }
1099 # Find the source files, if location was not specified.
1100 if test -z "$srcdir"; then
1101 ac_srcdir_defaulted=yes
1102 # Try the directory containing this script, then the parent directory.
1103 ac_confdir=`$as_dirname -- "$0" ||
1104 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1105 X"$0" : 'X\(//\)[^/]' \| \
1106 X"$0" : 'X\(//\)$' \| \
1107 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1109 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1127 if test ! -r "$srcdir/$ac_unique_file"; then
1131 ac_srcdir_defaulted=no
1133 if test ! -r "$srcdir/$ac_unique_file"; then
1134 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1135 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1136 { (exit 1); exit 1; }; }
1138 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1140 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1141 { (exit 1); exit 1; }; }
1143 # When building in place, set srcdir=.
1144 if test "$ac_abs_confdir" = "$ac_pwd"; then
1147 # Remove unnecessary trailing slashes from srcdir.
1148 # Double slashes in file names in object file debugging info
1149 # mess up M-x gdb in Emacs.
1151 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1153 for ac_var in $ac_precious_vars; do
1154 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1155 eval ac_env_${ac_var}_value=\$${ac_var}
1156 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1157 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1161 # Report the --help message.
1163 if test "$ac_init_help" = "long"; then
1164 # Omit some internal or obsolete options to make the list less imposing.
1165 # This message is too long to be a string in the A/UX 3.1 sh.
1167 \`configure' configures this package to adapt to many kinds of systems.
1169 Usage: $0 [OPTION]... [VAR=VALUE]...
1171 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1172 VAR=VALUE. See below for descriptions of some of the useful variables.
1174 Defaults for the options are specified in brackets.
1177 -h, --help display this help and exit
1178 --help=short display options specific to this package
1179 --help=recursive display the short help of all the included packages
1180 -V, --version display version information and exit
1181 -q, --quiet, --silent do not print \`checking...' messages
1182 --cache-file=FILE cache test results in FILE [disabled]
1183 -C, --config-cache alias for \`--cache-file=config.cache'
1184 -n, --no-create do not create output files
1185 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1187 Installation directories:
1188 --prefix=PREFIX install architecture-independent files in PREFIX
1189 [$ac_default_prefix]
1190 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1193 By default, \`make install' will install all the files in
1194 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1195 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1196 for instance \`--prefix=\$HOME'.
1198 For better control, use the options below.
1200 Fine tuning of the installation directories:
1201 --bindir=DIR user executables [EPREFIX/bin]
1202 --sbindir=DIR system admin executables [EPREFIX/sbin]
1203 --libexecdir=DIR program executables [EPREFIX/libexec]
1204 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1205 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1206 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1207 --libdir=DIR object code libraries [EPREFIX/lib]
1208 --includedir=DIR C header files [PREFIX/include]
1209 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1210 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1211 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1212 --infodir=DIR info documentation [DATAROOTDIR/info]
1213 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1214 --mandir=DIR man documentation [DATAROOTDIR/man]
1215 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1216 --htmldir=DIR html documentation [DOCDIR]
1217 --dvidir=DIR dvi documentation [DOCDIR]
1218 --pdfdir=DIR pdf documentation [DOCDIR]
1219 --psdir=DIR ps documentation [DOCDIR]
1226 if test -n "$ac_init_help"; then
1231 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1232 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1233 --disable-largefile omit support for large files
1235 Some influential environment variables:
1236 CC C compiler command
1237 CFLAGS C compiler flags
1238 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1239 nonstandard directory <lib dir>
1240 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1241 you have headers in a nonstandard directory <include dir>
1244 Use these variables to override the choices made by `configure' or to help
1245 it to find libraries and programs with nonstandard names/locations.
1251 if test "$ac_init_help" = "recursive"; then
1252 # If there are subdirs, report their specific --help.
1253 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1254 test -d "$ac_dir" || continue
1258 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1260 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1261 # A ".." for each directory in $ac_dir_suffix.
1262 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1263 case $ac_top_builddir_sub in
1264 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1265 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1268 ac_abs_top_builddir=$ac_pwd
1269 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1270 # for backward compatibility:
1271 ac_top_builddir=$ac_top_build_prefix
1274 .) # We are building in place.
1276 ac_top_srcdir=$ac_top_builddir_sub
1277 ac_abs_top_srcdir=$ac_pwd ;;
1278 [\\/]* | ?:[\\/]* ) # Absolute name.
1279 ac_srcdir=$srcdir$ac_dir_suffix;
1280 ac_top_srcdir=$srcdir
1281 ac_abs_top_srcdir=$srcdir ;;
1283 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1284 ac_top_srcdir=$ac_top_build_prefix$srcdir
1285 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1287 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1289 cd "$ac_dir" || { ac_status=$?; continue; }
1290 # Check for guested configure.
1291 if test -f "$ac_srcdir/configure.gnu"; then
1293 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1294 elif test -f "$ac_srcdir/configure"; then
1296 $SHELL "$ac_srcdir/configure" --help=recursive
1298 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1300 cd "$ac_pwd" || { ac_status=$?; break; }
1304 test -n "$ac_init_help" && exit $ac_status
1305 if $ac_init_version; then
1308 generated by GNU Autoconf 2.60a
1310 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1311 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1312 This configure script is free software; the Free Software Foundation
1313 gives unlimited permission to copy, distribute and modify it.
1317 cat >config.log <<_ACEOF
1318 This file contains any messages produced by compilers while
1319 running configure, to aid debugging if configure makes a mistake.
1321 It was created by $as_me, which was
1322 generated by GNU Autoconf 2.60a. Invocation command line was
1334 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1335 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1336 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1337 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1338 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1340 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1341 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1343 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1344 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1345 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1346 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1347 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1348 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1349 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1357 test -z "$as_dir" && as_dir=.
1358 echo "PATH: $as_dir"
1374 # Keep a trace of the command line.
1375 # Strip out --no-create and --no-recursion so they do not pile up.
1376 # Strip out --silent because we don't want to record it for future runs.
1377 # Also quote any args containing shell meta-characters.
1378 # Make two passes to allow for proper duplicate-argument suppression.
1382 ac_must_keep_next=false
1388 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1389 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1390 | -silent | --silent | --silen | --sile | --sil)
1393 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1396 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1398 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1399 if test $ac_must_keep_next = true; then
1400 ac_must_keep_next=false # Got value, back to normal.
1403 *=* | --config-cache | -C | -disable-* | --disable-* \
1404 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1405 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1406 | -with-* | --with-* | -without-* | --without-* | --x)
1407 case "$ac_configure_args0 " in
1408 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1411 -* ) ac_must_keep_next=true ;;
1414 ac_configure_args="$ac_configure_args '$ac_arg'"
1419 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1420 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1422 # When interrupted or exit'd, cleanup temporary files, and complete
1423 # config.log. We remove comments because anyway the quotes in there
1424 # would cause problems or look ugly.
1425 # WARNING: Use '\'' to represent an apostrophe within the trap.
1426 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1427 trap 'exit_status=$?
1428 # Save into config.log some information that might help in debugging.
1433 ## ---------------- ##
1434 ## Cache variables. ##
1435 ## ---------------- ##
1438 # The following way of writing the cache mishandles newlines in values,
1440 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1441 eval ac_val=\$$ac_var
1445 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1446 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1449 _ | IFS | as_nl) ;; #(
1450 *) $as_unset $ac_var ;;
1455 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1456 *${as_nl}ac_space=\ *)
1458 "s/'\''/'\''\\\\'\'''\''/g;
1459 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1462 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1470 ## ----------------- ##
1471 ## Output variables. ##
1472 ## ----------------- ##
1475 for ac_var in $ac_subst_vars
1477 eval ac_val=\$$ac_var
1479 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1481 echo "$ac_var='\''$ac_val'\''"
1485 if test -n "$ac_subst_files"; then
1487 ## ------------------- ##
1488 ## File substitutions. ##
1489 ## ------------------- ##
1492 for ac_var in $ac_subst_files
1494 eval ac_val=\$$ac_var
1496 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1498 echo "$ac_var='\''$ac_val'\''"
1503 if test -s confdefs.h; then
1513 test "$ac_signal" != 0 &&
1514 echo "$as_me: caught signal $ac_signal"
1515 echo "$as_me: exit $exit_status"
1517 rm -f core *.core core.conftest.* &&
1518 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1521 for ac_signal in 1 2 13 15; do
1522 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1526 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1527 rm -f -r conftest* confdefs.h
1529 # Predefined preprocessor variables.
1531 cat >>confdefs.h <<_ACEOF
1532 #define PACKAGE_NAME "$PACKAGE_NAME"
1536 cat >>confdefs.h <<_ACEOF
1537 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1541 cat >>confdefs.h <<_ACEOF
1542 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1546 cat >>confdefs.h <<_ACEOF
1547 #define PACKAGE_STRING "$PACKAGE_STRING"
1551 cat >>confdefs.h <<_ACEOF
1552 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1556 # Let the site file select an alternate cache file if it wants to.
1557 # Prefer explicitly selected file to automatically selected ones.
1558 if test -n "$CONFIG_SITE"; then
1559 set x "$CONFIG_SITE"
1560 elif test "x$prefix" != xNONE; then
1561 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1563 set x "$ac_default_prefix/share/config.site" \
1564 "$ac_default_prefix/etc/config.site"
1569 if test -r "$ac_site_file"; then
1570 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1571 echo "$as_me: loading site script $ac_site_file" >&6;}
1572 sed 's/^/| /' "$ac_site_file" >&5
1577 if test -r "$cache_file"; then
1578 # Some versions of bash will fail to source /dev/null (special
1579 # files actually), so we avoid doing that.
1580 if test -f "$cache_file"; then
1581 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1582 echo "$as_me: loading cache $cache_file" >&6;}
1584 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1585 *) . "./$cache_file";;
1589 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1590 echo "$as_me: creating cache $cache_file" >&6;}
1594 # Check that the precious variables saved in the cache have kept the same
1596 ac_cache_corrupted=false
1597 for ac_var in $ac_precious_vars; do
1598 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1599 eval ac_new_set=\$ac_env_${ac_var}_set
1600 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1601 eval ac_new_val=\$ac_env_${ac_var}_value
1602 case $ac_old_set,$ac_new_set in
1604 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1605 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1606 ac_cache_corrupted=: ;;
1608 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1609 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1610 ac_cache_corrupted=: ;;
1613 if test "x$ac_old_val" != "x$ac_new_val"; then
1614 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1615 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1616 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1617 echo "$as_me: former value: $ac_old_val" >&2;}
1618 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1619 echo "$as_me: current value: $ac_new_val" >&2;}
1620 ac_cache_corrupted=:
1623 # Pass precious variables to config.status.
1624 if test "$ac_new_set" = set; then
1626 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1627 *) ac_arg=$ac_var=$ac_new_val ;;
1629 case " $ac_configure_args " in
1630 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1631 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1635 if $ac_cache_corrupted; then
1636 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1637 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1638 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1639 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1640 { (exit 1); exit 1; }; }
1660 ac_cpp='$CPP $CPPFLAGS'
1661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1669 ac_cpp='$CPP $CPPFLAGS'
1670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1673 if test -n "$ac_tool_prefix"; then
1674 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1675 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1676 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1678 if test "${ac_cv_prog_CC+set}" = set; then
1679 echo $ECHO_N "(cached) $ECHO_C" >&6
1681 if test -n "$CC"; then
1682 ac_cv_prog_CC="$CC" # Let the user override the test.
1684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1688 test -z "$as_dir" && as_dir=.
1689 for ac_exec_ext in '' $ac_executable_extensions; do
1690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1691 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1702 if test -n "$CC"; then
1703 { echo "$as_me:$LINENO: result: $CC" >&5
1704 echo "${ECHO_T}$CC" >&6; }
1706 { echo "$as_me:$LINENO: result: no" >&5
1707 echo "${ECHO_T}no" >&6; }
1712 if test -z "$ac_cv_prog_CC"; then
1714 # Extract the first word of "gcc", so it can be a program name with args.
1715 set dummy gcc; ac_word=$2
1716 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1718 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1719 echo $ECHO_N "(cached) $ECHO_C" >&6
1721 if test -n "$ac_ct_CC"; then
1722 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1728 test -z "$as_dir" && as_dir=.
1729 for ac_exec_ext in '' $ac_executable_extensions; do
1730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1731 ac_cv_prog_ac_ct_CC="gcc"
1732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1741 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1742 if test -n "$ac_ct_CC"; then
1743 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1744 echo "${ECHO_T}$ac_ct_CC" >&6; }
1746 { echo "$as_me:$LINENO: result: no" >&5
1747 echo "${ECHO_T}no" >&6; }
1750 if test "x$ac_ct_CC" = x; then
1753 case $cross_compiling:$ac_tool_warned in
1755 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1756 whose name does not start with the host triplet. If you think this
1757 configuration is useful to you, please write to autoconf@gnu.org." >&5
1758 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1759 whose name does not start with the host triplet. If you think this
1760 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1761 ac_tool_warned=yes ;;
1769 if test -z "$CC"; then
1770 if test -n "$ac_tool_prefix"; then
1771 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1772 set dummy ${ac_tool_prefix}cc; ac_word=$2
1773 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1774 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1775 if test "${ac_cv_prog_CC+set}" = set; then
1776 echo $ECHO_N "(cached) $ECHO_C" >&6
1778 if test -n "$CC"; then
1779 ac_cv_prog_CC="$CC" # Let the user override the test.
1781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1785 test -z "$as_dir" && as_dir=.
1786 for ac_exec_ext in '' $ac_executable_extensions; do
1787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1788 ac_cv_prog_CC="${ac_tool_prefix}cc"
1789 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1799 if test -n "$CC"; then
1800 { echo "$as_me:$LINENO: result: $CC" >&5
1801 echo "${ECHO_T}$CC" >&6; }
1803 { echo "$as_me:$LINENO: result: no" >&5
1804 echo "${ECHO_T}no" >&6; }
1810 if test -z "$CC"; then
1811 # Extract the first word of "cc", so it can be a program name with args.
1812 set dummy cc; ac_word=$2
1813 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1814 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1815 if test "${ac_cv_prog_CC+set}" = set; then
1816 echo $ECHO_N "(cached) $ECHO_C" >&6
1818 if test -n "$CC"; then
1819 ac_cv_prog_CC="$CC" # Let the user override the test.
1822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1826 test -z "$as_dir" && as_dir=.
1827 for ac_exec_ext in '' $ac_executable_extensions; do
1828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1829 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1830 ac_prog_rejected=yes
1834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1841 if test $ac_prog_rejected = yes; then
1842 # We found a bogon in the path, so make sure we never use it.
1843 set dummy $ac_cv_prog_CC
1845 if test $# != 0; then
1846 # We chose a different compiler from the bogus one.
1847 # However, it has the same basename, so the bogon will be chosen
1848 # first if we set CC to just the basename; use the full file name.
1850 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1856 if test -n "$CC"; then
1857 { echo "$as_me:$LINENO: result: $CC" >&5
1858 echo "${ECHO_T}$CC" >&6; }
1860 { echo "$as_me:$LINENO: result: no" >&5
1861 echo "${ECHO_T}no" >&6; }
1866 if test -z "$CC"; then
1867 if test -n "$ac_tool_prefix"; then
1868 for ac_prog in cl.exe
1870 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1871 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1872 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1874 if test "${ac_cv_prog_CC+set}" = set; then
1875 echo $ECHO_N "(cached) $ECHO_C" >&6
1877 if test -n "$CC"; then
1878 ac_cv_prog_CC="$CC" # Let the user override the test.
1880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1884 test -z "$as_dir" && as_dir=.
1885 for ac_exec_ext in '' $ac_executable_extensions; do
1886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1887 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1898 if test -n "$CC"; then
1899 { echo "$as_me:$LINENO: result: $CC" >&5
1900 echo "${ECHO_T}$CC" >&6; }
1902 { echo "$as_me:$LINENO: result: no" >&5
1903 echo "${ECHO_T}no" >&6; }
1907 test -n "$CC" && break
1910 if test -z "$CC"; then
1912 for ac_prog in cl.exe
1914 # Extract the first word of "$ac_prog", so it can be a program name with args.
1915 set dummy $ac_prog; ac_word=$2
1916 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1918 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1919 echo $ECHO_N "(cached) $ECHO_C" >&6
1921 if test -n "$ac_ct_CC"; then
1922 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1928 test -z "$as_dir" && as_dir=.
1929 for ac_exec_ext in '' $ac_executable_extensions; do
1930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1931 ac_cv_prog_ac_ct_CC="$ac_prog"
1932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1941 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1942 if test -n "$ac_ct_CC"; then
1943 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1944 echo "${ECHO_T}$ac_ct_CC" >&6; }
1946 { echo "$as_me:$LINENO: result: no" >&5
1947 echo "${ECHO_T}no" >&6; }
1951 test -n "$ac_ct_CC" && break
1954 if test "x$ac_ct_CC" = x; then
1957 case $cross_compiling:$ac_tool_warned in
1959 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1960 whose name does not start with the host triplet. If you think this
1961 configuration is useful to you, please write to autoconf@gnu.org." >&5
1962 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1963 whose name does not start with the host triplet. If you think this
1964 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1965 ac_tool_warned=yes ;;
1974 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1975 See \`config.log' for more details." >&5
1976 echo "$as_me: error: no acceptable C compiler found in \$PATH
1977 See \`config.log' for more details." >&2;}
1978 { (exit 1); exit 1; }; }
1980 # Provide some information about the compiler.
1981 echo "$as_me:$LINENO: checking for C compiler version" >&5
1982 ac_compiler=`set X $ac_compile; echo $2`
1983 { (ac_try="$ac_compiler --version >&5"
1985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1986 *) ac_try_echo=$ac_try;;
1988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1989 (eval "$ac_compiler --version >&5") 2>&5
1991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1992 (exit $ac_status); }
1993 { (ac_try="$ac_compiler -v >&5"
1995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1996 *) ac_try_echo=$ac_try;;
1998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1999 (eval "$ac_compiler -v >&5") 2>&5
2001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2002 (exit $ac_status); }
2003 { (ac_try="$ac_compiler -V >&5"
2005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2006 *) ac_try_echo=$ac_try;;
2008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2009 (eval "$ac_compiler -V >&5") 2>&5
2011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2012 (exit $ac_status); }
2014 cat >conftest.$ac_ext <<_ACEOF
2017 cat confdefs.h >>conftest.$ac_ext
2018 cat >>conftest.$ac_ext <<_ACEOF
2019 /* end confdefs.h. */
2029 ac_clean_files_save=$ac_clean_files
2030 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2031 # Try to create an executable without -o first, disregard a.out.
2032 # It will help us diagnose broken compilers, and finding out an intuition
2034 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2035 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2036 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2038 # List of possible output files, starting from the most likely.
2039 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2040 # only as a last resort. b.out is created by i960 compilers.
2041 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2043 # The IRIX 6 linker writes into existing files which may not be
2044 # executable, retaining their permissions. Remove them first so a
2045 # subsequent execution test works.
2047 for ac_file in $ac_files
2050 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2051 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2056 if { (ac_try="$ac_link_default"
2058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2059 *) ac_try_echo=$ac_try;;
2061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2062 (eval "$ac_link_default") 2>&5
2064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2065 (exit $ac_status); }; then
2066 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2067 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2068 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2069 # so that the user can short-circuit this test for compilers unknown to
2071 for ac_file in $ac_files ''
2073 test -f "$ac_file" || continue
2075 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2078 # We found the default executable, but exeext='' is most
2082 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2084 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2086 # We set ac_cv_exeext here because the later test for it is not
2087 # safe: cross compilers may not add the suffix if given an `-o'
2088 # argument, so we may need to know it at that point already.
2089 # Even if this section looks crufty: it has the advantage of
2096 test "$ac_cv_exeext" = no && ac_cv_exeext=
2102 { echo "$as_me:$LINENO: result: $ac_file" >&5
2103 echo "${ECHO_T}$ac_file" >&6; }
2104 if test -z "$ac_file"; then
2105 echo "$as_me: failed program was:" >&5
2106 sed 's/^/| /' conftest.$ac_ext >&5
2108 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2109 See \`config.log' for more details." >&5
2110 echo "$as_me: error: C compiler cannot create executables
2111 See \`config.log' for more details." >&2;}
2112 { (exit 77); exit 77; }; }
2115 ac_exeext=$ac_cv_exeext
2117 # Check that the compiler produces executables we can run. If not, either
2118 # the compiler is broken, or we cross compile.
2119 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2120 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2121 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2122 # If not cross compiling, check that we can run a simple program.
2123 if test "$cross_compiling" != yes; then
2124 if { ac_try='./$ac_file'
2125 { (case "(($ac_try" in
2126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2127 *) ac_try_echo=$ac_try;;
2129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2130 (eval "$ac_try") 2>&5
2132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2133 (exit $ac_status); }; }; then
2136 if test "$cross_compiling" = maybe; then
2139 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2140 If you meant to cross compile, use \`--host'.
2141 See \`config.log' for more details." >&5
2142 echo "$as_me: error: cannot run C compiled programs.
2143 If you meant to cross compile, use \`--host'.
2144 See \`config.log' for more details." >&2;}
2145 { (exit 1); exit 1; }; }
2149 { echo "$as_me:$LINENO: result: yes" >&5
2150 echo "${ECHO_T}yes" >&6; }
2152 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2153 ac_clean_files=$ac_clean_files_save
2154 # Check that the compiler produces executables we can run. If not, either
2155 # the compiler is broken, or we cross compile.
2156 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2157 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2158 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2159 echo "${ECHO_T}$cross_compiling" >&6; }
2161 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2162 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2163 if { (ac_try="$ac_link"
2165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2166 *) ac_try_echo=$ac_try;;
2168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2169 (eval "$ac_link") 2>&5
2171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2172 (exit $ac_status); }; then
2173 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2174 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2175 # work properly (i.e., refer to `conftest.exe'), while it won't with
2177 for ac_file in conftest.exe conftest conftest.*; do
2178 test -f "$ac_file" || continue
2180 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2181 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2187 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2188 See \`config.log' for more details." >&5
2189 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2190 See \`config.log' for more details." >&2;}
2191 { (exit 1); exit 1; }; }
2194 rm -f conftest$ac_cv_exeext
2195 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2196 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2198 rm -f conftest.$ac_ext
2199 EXEEXT=$ac_cv_exeext
2201 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2202 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2203 if test "${ac_cv_objext+set}" = set; then
2204 echo $ECHO_N "(cached) $ECHO_C" >&6
2206 cat >conftest.$ac_ext <<_ACEOF
2209 cat confdefs.h >>conftest.$ac_ext
2210 cat >>conftest.$ac_ext <<_ACEOF
2211 /* end confdefs.h. */
2221 rm -f conftest.o conftest.obj
2222 if { (ac_try="$ac_compile"
2224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2225 *) ac_try_echo=$ac_try;;
2227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2228 (eval "$ac_compile") 2>&5
2230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2231 (exit $ac_status); }; then
2232 for ac_file in conftest.o conftest.obj conftest.*; do
2233 test -f "$ac_file" || continue;
2235 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2236 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2241 echo "$as_me: failed program was:" >&5
2242 sed 's/^/| /' conftest.$ac_ext >&5
2244 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2245 See \`config.log' for more details." >&5
2246 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2247 See \`config.log' for more details." >&2;}
2248 { (exit 1); exit 1; }; }
2251 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2253 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2254 echo "${ECHO_T}$ac_cv_objext" >&6; }
2255 OBJEXT=$ac_cv_objext
2257 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2258 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2259 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2260 echo $ECHO_N "(cached) $ECHO_C" >&6
2262 cat >conftest.$ac_ext <<_ACEOF
2265 cat confdefs.h >>conftest.$ac_ext
2266 cat >>conftest.$ac_ext <<_ACEOF
2267 /* end confdefs.h. */
2280 rm -f conftest.$ac_objext
2281 if { (ac_try="$ac_compile"
2283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2284 *) ac_try_echo=$ac_try;;
2286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2287 (eval "$ac_compile") 2>conftest.er1
2289 grep -v '^ *+' conftest.er1 >conftest.err
2291 cat conftest.err >&5
2292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2293 (exit $ac_status); } &&
2294 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2295 { (case "(($ac_try" in
2296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2297 *) ac_try_echo=$ac_try;;
2299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2300 (eval "$ac_try") 2>&5
2302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2303 (exit $ac_status); }; } &&
2304 { ac_try='test -s conftest.$ac_objext'
2305 { (case "(($ac_try" in
2306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2307 *) ac_try_echo=$ac_try;;
2309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2310 (eval "$ac_try") 2>&5
2312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2313 (exit $ac_status); }; }; then
2316 echo "$as_me: failed program was:" >&5
2317 sed 's/^/| /' conftest.$ac_ext >&5
2322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2323 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2326 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2327 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2328 GCC=`test $ac_compiler_gnu = yes && echo yes`
2329 ac_test_CFLAGS=${CFLAGS+set}
2330 ac_save_CFLAGS=$CFLAGS
2331 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2332 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2333 if test "${ac_cv_prog_cc_g+set}" = set; then
2334 echo $ECHO_N "(cached) $ECHO_C" >&6
2336 ac_save_c_werror_flag=$ac_c_werror_flag
2337 ac_c_werror_flag=yes
2340 cat >conftest.$ac_ext <<_ACEOF
2343 cat confdefs.h >>conftest.$ac_ext
2344 cat >>conftest.$ac_ext <<_ACEOF
2345 /* end confdefs.h. */
2355 rm -f conftest.$ac_objext
2356 if { (ac_try="$ac_compile"
2358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2359 *) ac_try_echo=$ac_try;;
2361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2362 (eval "$ac_compile") 2>conftest.er1
2364 grep -v '^ *+' conftest.er1 >conftest.err
2366 cat conftest.err >&5
2367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2368 (exit $ac_status); } &&
2369 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2370 { (case "(($ac_try" in
2371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2372 *) ac_try_echo=$ac_try;;
2374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2375 (eval "$ac_try") 2>&5
2377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2378 (exit $ac_status); }; } &&
2379 { ac_try='test -s conftest.$ac_objext'
2380 { (case "(($ac_try" in
2381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2382 *) ac_try_echo=$ac_try;;
2384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2385 (eval "$ac_try") 2>&5
2387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2388 (exit $ac_status); }; }; then
2391 echo "$as_me: failed program was:" >&5
2392 sed 's/^/| /' conftest.$ac_ext >&5
2395 cat >conftest.$ac_ext <<_ACEOF
2398 cat confdefs.h >>conftest.$ac_ext
2399 cat >>conftest.$ac_ext <<_ACEOF
2400 /* end confdefs.h. */
2410 rm -f conftest.$ac_objext
2411 if { (ac_try="$ac_compile"
2413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2414 *) ac_try_echo=$ac_try;;
2416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2417 (eval "$ac_compile") 2>conftest.er1
2419 grep -v '^ *+' conftest.er1 >conftest.err
2421 cat conftest.err >&5
2422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2423 (exit $ac_status); } &&
2424 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2425 { (case "(($ac_try" in
2426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2427 *) ac_try_echo=$ac_try;;
2429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2430 (eval "$ac_try") 2>&5
2432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2433 (exit $ac_status); }; } &&
2434 { ac_try='test -s conftest.$ac_objext'
2435 { (case "(($ac_try" in
2436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2437 *) ac_try_echo=$ac_try;;
2439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2440 (eval "$ac_try") 2>&5
2442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2443 (exit $ac_status); }; }; then
2446 echo "$as_me: failed program was:" >&5
2447 sed 's/^/| /' conftest.$ac_ext >&5
2449 ac_c_werror_flag=$ac_save_c_werror_flag
2451 cat >conftest.$ac_ext <<_ACEOF
2454 cat confdefs.h >>conftest.$ac_ext
2455 cat >>conftest.$ac_ext <<_ACEOF
2456 /* end confdefs.h. */
2466 rm -f conftest.$ac_objext
2467 if { (ac_try="$ac_compile"
2469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2470 *) ac_try_echo=$ac_try;;
2472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2473 (eval "$ac_compile") 2>conftest.er1
2475 grep -v '^ *+' conftest.er1 >conftest.err
2477 cat conftest.err >&5
2478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2479 (exit $ac_status); } &&
2480 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2481 { (case "(($ac_try" in
2482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2483 *) ac_try_echo=$ac_try;;
2485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2486 (eval "$ac_try") 2>&5
2488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2489 (exit $ac_status); }; } &&
2490 { ac_try='test -s conftest.$ac_objext'
2491 { (case "(($ac_try" in
2492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2493 *) ac_try_echo=$ac_try;;
2495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2496 (eval "$ac_try") 2>&5
2498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2499 (exit $ac_status); }; }; then
2502 echo "$as_me: failed program was:" >&5
2503 sed 's/^/| /' conftest.$ac_ext >&5
2508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2515 ac_c_werror_flag=$ac_save_c_werror_flag
2517 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2518 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2519 if test "$ac_test_CFLAGS" = set; then
2520 CFLAGS=$ac_save_CFLAGS
2521 elif test $ac_cv_prog_cc_g = yes; then
2522 if test "$GCC" = yes; then
2528 if test "$GCC" = yes; then
2534 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2535 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2536 if test "${ac_cv_prog_cc_c89+set}" = set; then
2537 echo $ECHO_N "(cached) $ECHO_C" >&6
2539 ac_cv_prog_cc_c89=no
2541 cat >conftest.$ac_ext <<_ACEOF
2544 cat confdefs.h >>conftest.$ac_ext
2545 cat >>conftest.$ac_ext <<_ACEOF
2546 /* end confdefs.h. */
2549 #include <sys/types.h>
2550 #include <sys/stat.h>
2551 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2552 struct buf { int x; };
2553 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2554 static char *e (p, i)
2560 static char *f (char * (*g) (char **, int), char **p, ...)
2565 s = g (p, va_arg (v,int));
2570 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2571 function prototypes and stuff, but not '\xHH' hex character constants.
2572 These don't provoke an error unfortunately, instead are silently treated
2573 as 'x'. The following induces an error, until -std is added to get
2574 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2575 array size at least. It's necessary to write '\x00'==0 to get something
2576 that's true only with -std. */
2577 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2579 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2580 inside strings and character constants. */
2582 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2584 int test (int i, double x);
2585 struct s1 {int (*f) (int a);};
2586 struct s2 {int (*f) (double a);};
2587 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2593 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2598 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2599 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2601 CC="$ac_save_CC $ac_arg"
2602 rm -f conftest.$ac_objext
2603 if { (ac_try="$ac_compile"
2605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2606 *) ac_try_echo=$ac_try;;
2608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2609 (eval "$ac_compile") 2>conftest.er1
2611 grep -v '^ *+' conftest.er1 >conftest.err
2613 cat conftest.err >&5
2614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2615 (exit $ac_status); } &&
2616 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2617 { (case "(($ac_try" in
2618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2619 *) ac_try_echo=$ac_try;;
2621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2622 (eval "$ac_try") 2>&5
2624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2625 (exit $ac_status); }; } &&
2626 { ac_try='test -s conftest.$ac_objext'
2627 { (case "(($ac_try" in
2628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2629 *) ac_try_echo=$ac_try;;
2631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2632 (eval "$ac_try") 2>&5
2634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2635 (exit $ac_status); }; }; then
2636 ac_cv_prog_cc_c89=$ac_arg
2638 echo "$as_me: failed program was:" >&5
2639 sed 's/^/| /' conftest.$ac_ext >&5
2644 rm -f core conftest.err conftest.$ac_objext
2645 test "x$ac_cv_prog_cc_c89" != "xno" && break
2647 rm -f conftest.$ac_ext
2652 case "x$ac_cv_prog_cc_c89" in
2654 { echo "$as_me:$LINENO: result: none needed" >&5
2655 echo "${ECHO_T}none needed" >&6; } ;;
2657 { echo "$as_me:$LINENO: result: unsupported" >&5
2658 echo "${ECHO_T}unsupported" >&6; } ;;
2660 CC="$CC $ac_cv_prog_cc_c89"
2661 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2662 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2667 ac_cpp='$CPP $CPPFLAGS'
2668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2673 cat >>confdefs.h <<\_ACEOF
2674 #define _GNU_SOURCE 1
2679 # Check whether --enable-largefile was given.
2680 if test "${enable_largefile+set}" = set; then
2681 enableval=$enable_largefile;
2684 if test "$enable_largefile" != no; then
2686 { echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
2687 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6; }
2688 if test "${ac_cv_sys_largefile_CC+set}" = set; then
2689 echo $ECHO_N "(cached) $ECHO_C" >&6
2691 ac_cv_sys_largefile_CC=no
2692 if test "$GCC" != yes; then
2695 # IRIX 6.2 and later do not support large files by default,
2696 # so use the C compiler's -n32 option if that helps.
2697 cat >conftest.$ac_ext <<_ACEOF
2700 cat confdefs.h >>conftest.$ac_ext
2701 cat >>conftest.$ac_ext <<_ACEOF
2702 /* end confdefs.h. */
2703 #include <sys/types.h>
2704 /* Check that off_t can represent 2**63 - 1 correctly.
2705 We can't simply define LARGE_OFF_T to be 9223372036854775807,
2706 since some C++ compilers masquerading as C compilers
2707 incorrectly reject 9223372036854775807. */
2708 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
2709 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
2710 && LARGE_OFF_T % 2147483647 == 1)
2720 rm -f conftest.$ac_objext
2721 if { (ac_try="$ac_compile"
2723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2724 *) ac_try_echo=$ac_try;;
2726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2727 (eval "$ac_compile") 2>conftest.er1
2729 grep -v '^ *+' conftest.er1 >conftest.err
2731 cat conftest.err >&5
2732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2733 (exit $ac_status); } &&
2734 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2735 { (case "(($ac_try" in
2736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2737 *) ac_try_echo=$ac_try;;
2739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2740 (eval "$ac_try") 2>&5
2742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2743 (exit $ac_status); }; } &&
2744 { ac_try='test -s conftest.$ac_objext'
2745 { (case "(($ac_try" in
2746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2747 *) ac_try_echo=$ac_try;;
2749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2750 (eval "$ac_try") 2>&5
2752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2753 (exit $ac_status); }; }; then
2756 echo "$as_me: failed program was:" >&5
2757 sed 's/^/| /' conftest.$ac_ext >&5
2762 rm -f core conftest.err conftest.$ac_objext
2764 rm -f conftest.$ac_objext
2765 if { (ac_try="$ac_compile"
2767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2768 *) ac_try_echo=$ac_try;;
2770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2771 (eval "$ac_compile") 2>conftest.er1
2773 grep -v '^ *+' conftest.er1 >conftest.err
2775 cat conftest.err >&5
2776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2777 (exit $ac_status); } &&
2778 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2779 { (case "(($ac_try" in
2780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2781 *) ac_try_echo=$ac_try;;
2783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2784 (eval "$ac_try") 2>&5
2786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2787 (exit $ac_status); }; } &&
2788 { ac_try='test -s conftest.$ac_objext'
2789 { (case "(($ac_try" in
2790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2791 *) ac_try_echo=$ac_try;;
2793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2794 (eval "$ac_try") 2>&5
2796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2797 (exit $ac_status); }; }; then
2798 ac_cv_sys_largefile_CC=' -n32'; break
2800 echo "$as_me: failed program was:" >&5
2801 sed 's/^/| /' conftest.$ac_ext >&5
2806 rm -f core conftest.err conftest.$ac_objext
2810 rm -f conftest.$ac_ext
2813 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
2814 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6; }
2815 if test "$ac_cv_sys_largefile_CC" != no; then
2816 CC=$CC$ac_cv_sys_largefile_CC
2819 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
2820 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
2821 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
2822 echo $ECHO_N "(cached) $ECHO_C" >&6
2825 ac_cv_sys_file_offset_bits=no
2826 cat >conftest.$ac_ext <<_ACEOF
2829 cat confdefs.h >>conftest.$ac_ext
2830 cat >>conftest.$ac_ext <<_ACEOF
2831 /* end confdefs.h. */
2832 #include <sys/types.h>
2833 /* Check that off_t can represent 2**63 - 1 correctly.
2834 We can't simply define LARGE_OFF_T to be 9223372036854775807,
2835 since some C++ compilers masquerading as C compilers
2836 incorrectly reject 9223372036854775807. */
2837 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
2838 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
2839 && LARGE_OFF_T % 2147483647 == 1)
2849 rm -f conftest.$ac_objext
2850 if { (ac_try="$ac_compile"
2852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2853 *) ac_try_echo=$ac_try;;
2855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2856 (eval "$ac_compile") 2>conftest.er1
2858 grep -v '^ *+' conftest.er1 >conftest.err
2860 cat conftest.err >&5
2861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2862 (exit $ac_status); } &&
2863 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2864 { (case "(($ac_try" in
2865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2866 *) ac_try_echo=$ac_try;;
2868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2869 (eval "$ac_try") 2>&5
2871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2872 (exit $ac_status); }; } &&
2873 { ac_try='test -s conftest.$ac_objext'
2874 { (case "(($ac_try" in
2875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2876 *) ac_try_echo=$ac_try;;
2878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2879 (eval "$ac_try") 2>&5
2881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2882 (exit $ac_status); }; }; then
2885 echo "$as_me: failed program was:" >&5
2886 sed 's/^/| /' conftest.$ac_ext >&5
2891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2892 cat >conftest.$ac_ext <<_ACEOF
2895 cat confdefs.h >>conftest.$ac_ext
2896 cat >>conftest.$ac_ext <<_ACEOF
2897 /* end confdefs.h. */
2898 #define _FILE_OFFSET_BITS 64
2899 #include <sys/types.h>
2900 /* Check that off_t can represent 2**63 - 1 correctly.
2901 We can't simply define LARGE_OFF_T to be 9223372036854775807,
2902 since some C++ compilers masquerading as C compilers
2903 incorrectly reject 9223372036854775807. */
2904 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
2905 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
2906 && LARGE_OFF_T % 2147483647 == 1)
2916 rm -f conftest.$ac_objext
2917 if { (ac_try="$ac_compile"
2919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2920 *) ac_try_echo=$ac_try;;
2922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2923 (eval "$ac_compile") 2>conftest.er1
2925 grep -v '^ *+' conftest.er1 >conftest.err
2927 cat conftest.err >&5
2928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2929 (exit $ac_status); } &&
2930 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2931 { (case "(($ac_try" in
2932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2933 *) ac_try_echo=$ac_try;;
2935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2936 (eval "$ac_try") 2>&5
2938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939 (exit $ac_status); }; } &&
2940 { ac_try='test -s conftest.$ac_objext'
2941 { (case "(($ac_try" in
2942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2943 *) ac_try_echo=$ac_try;;
2945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2946 (eval "$ac_try") 2>&5
2948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2949 (exit $ac_status); }; }; then
2950 ac_cv_sys_file_offset_bits=64; break
2952 echo "$as_me: failed program was:" >&5
2953 sed 's/^/| /' conftest.$ac_ext >&5
2958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2962 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
2963 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
2964 if test "$ac_cv_sys_file_offset_bits" != no; then
2966 cat >>confdefs.h <<_ACEOF
2967 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
2972 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
2973 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
2974 if test "${ac_cv_sys_large_files+set}" = set; then
2975 echo $ECHO_N "(cached) $ECHO_C" >&6
2978 ac_cv_sys_large_files=no
2979 cat >conftest.$ac_ext <<_ACEOF
2982 cat confdefs.h >>conftest.$ac_ext
2983 cat >>conftest.$ac_ext <<_ACEOF
2984 /* end confdefs.h. */
2985 #include <sys/types.h>
2986 /* Check that off_t can represent 2**63 - 1 correctly.
2987 We can't simply define LARGE_OFF_T to be 9223372036854775807,
2988 since some C++ compilers masquerading as C compilers
2989 incorrectly reject 9223372036854775807. */
2990 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
2991 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
2992 && LARGE_OFF_T % 2147483647 == 1)
3002 rm -f conftest.$ac_objext
3003 if { (ac_try="$ac_compile"
3005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3006 *) ac_try_echo=$ac_try;;
3008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3009 (eval "$ac_compile") 2>conftest.er1
3011 grep -v '^ *+' conftest.er1 >conftest.err
3013 cat conftest.err >&5
3014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3015 (exit $ac_status); } &&
3016 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3017 { (case "(($ac_try" in
3018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3019 *) ac_try_echo=$ac_try;;
3021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3022 (eval "$ac_try") 2>&5
3024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3025 (exit $ac_status); }; } &&
3026 { ac_try='test -s conftest.$ac_objext'
3027 { (case "(($ac_try" in
3028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3029 *) ac_try_echo=$ac_try;;
3031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3032 (eval "$ac_try") 2>&5
3034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3035 (exit $ac_status); }; }; then
3038 echo "$as_me: failed program was:" >&5
3039 sed 's/^/| /' conftest.$ac_ext >&5
3044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3045 cat >conftest.$ac_ext <<_ACEOF
3048 cat confdefs.h >>conftest.$ac_ext
3049 cat >>conftest.$ac_ext <<_ACEOF
3050 /* end confdefs.h. */
3051 #define _LARGE_FILES 1
3052 #include <sys/types.h>
3053 /* Check that off_t can represent 2**63 - 1 correctly.
3054 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3055 since some C++ compilers masquerading as C compilers
3056 incorrectly reject 9223372036854775807. */
3057 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3058 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3059 && LARGE_OFF_T % 2147483647 == 1)
3069 rm -f conftest.$ac_objext
3070 if { (ac_try="$ac_compile"
3072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3073 *) ac_try_echo=$ac_try;;
3075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3076 (eval "$ac_compile") 2>conftest.er1
3078 grep -v '^ *+' conftest.er1 >conftest.err
3080 cat conftest.err >&5
3081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3082 (exit $ac_status); } &&
3083 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3084 { (case "(($ac_try" in
3085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3086 *) ac_try_echo=$ac_try;;
3088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3089 (eval "$ac_try") 2>&5
3091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3092 (exit $ac_status); }; } &&
3093 { ac_try='test -s conftest.$ac_objext'
3094 { (case "(($ac_try" in
3095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3096 *) ac_try_echo=$ac_try;;
3098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3099 (eval "$ac_try") 2>&5
3101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3102 (exit $ac_status); }; }; then
3103 ac_cv_sys_large_files=1; break
3105 echo "$as_me: failed program was:" >&5
3106 sed 's/^/| /' conftest.$ac_ext >&5
3111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3115 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
3116 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
3117 if test "$ac_cv_sys_large_files" != no; then
3119 cat >>confdefs.h <<_ACEOF
3120 #define _LARGE_FILES $ac_cv_sys_large_files
3127 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3128 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
3129 if test "${ac_cv_c_const+set}" = set; then
3130 echo $ECHO_N "(cached) $ECHO_C" >&6
3132 cat >conftest.$ac_ext <<_ACEOF
3135 cat confdefs.h >>conftest.$ac_ext
3136 cat >>conftest.$ac_ext <<_ACEOF
3137 /* end confdefs.h. */
3142 /* FIXME: Include the comments suggested by Paul. */
3144 /* Ultrix mips cc rejects this. */
3145 typedef int charset[2];
3147 /* SunOS 4.1.1 cc rejects this. */
3148 char const *const *pcpcc;
3150 /* NEC SVR4.0.2 mips cc rejects this. */
3151 struct point {int x, y;};
3152 static struct point const zero = {0,0};
3153 /* AIX XL C 1.02.0.0 rejects this.
3154 It does not let you subtract one const X* pointer from another in
3155 an arm of an if-expression whose if-part is not a constant
3157 const char *g = "string";
3158 pcpcc = &g + (g ? g-g : 0);
3159 /* HPUX 7.0 cc rejects these. */
3161 ppc = (char**) pcpcc;
3162 pcpcc = (char const *const *) ppc;
3163 { /* SCO 3.2v4 cc rejects this. */
3165 char const *s = 0 ? (char *) 0 : (char const *) 0;
3170 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3172 const int *foo = &x[0];
3175 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3176 typedef const int *iptr;
3180 { /* AIX XL C 1.02.0.0 rejects this saying
3181 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3182 struct s { int j; const int *ap[3]; };
3183 struct s *b; b->j = 5;
3185 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3189 return !cs[0] && !zero.x;
3196 rm -f conftest.$ac_objext
3197 if { (ac_try="$ac_compile"
3199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3200 *) ac_try_echo=$ac_try;;
3202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3203 (eval "$ac_compile") 2>conftest.er1
3205 grep -v '^ *+' conftest.er1 >conftest.err
3207 cat conftest.err >&5
3208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3209 (exit $ac_status); } &&
3210 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3211 { (case "(($ac_try" in
3212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3213 *) ac_try_echo=$ac_try;;
3215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3216 (eval "$ac_try") 2>&5
3218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3219 (exit $ac_status); }; } &&
3220 { ac_try='test -s conftest.$ac_objext'
3221 { (case "(($ac_try" in
3222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3223 *) ac_try_echo=$ac_try;;
3225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3226 (eval "$ac_try") 2>&5
3228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3229 (exit $ac_status); }; }; then
3232 echo "$as_me: failed program was:" >&5
3233 sed 's/^/| /' conftest.$ac_ext >&5
3238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3240 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3241 echo "${ECHO_T}$ac_cv_c_const" >&6; }
3242 if test $ac_cv_c_const = no; then
3244 cat >>confdefs.h <<\_ACEOF
3250 { echo "$as_me:$LINENO: checking for inline" >&5
3251 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
3252 if test "${ac_cv_c_inline+set}" = set; then
3253 echo $ECHO_N "(cached) $ECHO_C" >&6
3256 for ac_kw in inline __inline__ __inline; do
3257 cat >conftest.$ac_ext <<_ACEOF
3260 cat confdefs.h >>conftest.$ac_ext
3261 cat >>conftest.$ac_ext <<_ACEOF
3262 /* end confdefs.h. */
3265 static $ac_kw foo_t static_foo () {return 0; }
3266 $ac_kw foo_t foo () {return 0; }
3270 rm -f conftest.$ac_objext
3271 if { (ac_try="$ac_compile"
3273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3274 *) ac_try_echo=$ac_try;;
3276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3277 (eval "$ac_compile") 2>conftest.er1
3279 grep -v '^ *+' conftest.er1 >conftest.err
3281 cat conftest.err >&5
3282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3283 (exit $ac_status); } &&
3284 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3285 { (case "(($ac_try" in
3286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3287 *) ac_try_echo=$ac_try;;
3289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3290 (eval "$ac_try") 2>&5
3292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3293 (exit $ac_status); }; } &&
3294 { ac_try='test -s conftest.$ac_objext'
3295 { (case "(($ac_try" in
3296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3297 *) ac_try_echo=$ac_try;;
3299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3300 (eval "$ac_try") 2>&5
3302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3303 (exit $ac_status); }; }; then
3304 ac_cv_c_inline=$ac_kw
3306 echo "$as_me: failed program was:" >&5
3307 sed 's/^/| /' conftest.$ac_ext >&5
3312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3313 test "$ac_cv_c_inline" != no && break
3317 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3318 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
3321 case $ac_cv_c_inline in
3324 case $ac_cv_c_inline in
3326 *) ac_val=$ac_cv_c_inline;;
3328 cat >>confdefs.h <<_ACEOF
3330 #define inline $ac_val
3337 { echo "$as_me:$LINENO: checking if $CC accepts -Wall" >&5
3338 echo $ECHO_N "checking if $CC accepts -Wall... $ECHO_C" >&6; }
3339 pa_add_cflags__old_cflags="$CFLAGS"
3340 CFLAGS="$CFLAGS -Wall"
3341 cat >conftest.$ac_ext <<_ACEOF
3344 cat confdefs.h >>conftest.$ac_ext
3345 cat >>conftest.$ac_ext <<_ACEOF
3346 /* end confdefs.h. */
3351 printf("Hello, World!\n");
3356 rm -f conftest.$ac_objext conftest$ac_exeext
3357 if { (ac_try="$ac_link"
3359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3360 *) ac_try_echo=$ac_try;;
3362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3363 (eval "$ac_link") 2>conftest.er1
3365 grep -v '^ *+' conftest.er1 >conftest.err
3367 cat conftest.err >&5
3368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3369 (exit $ac_status); } &&
3370 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3371 { (case "(($ac_try" in
3372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3373 *) ac_try_echo=$ac_try;;
3375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3376 (eval "$ac_try") 2>&5
3378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3379 (exit $ac_status); }; } &&
3380 { ac_try='test -s conftest$ac_exeext'
3381 { (case "(($ac_try" in
3382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3383 *) ac_try_echo=$ac_try;;
3385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3386 (eval "$ac_try") 2>&5
3388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3389 (exit $ac_status); }; }; then
3390 { echo "$as_me:$LINENO: result: yes" >&5
3391 echo "${ECHO_T}yes" >&6; }
3393 echo "$as_me: failed program was:" >&5
3394 sed 's/^/| /' conftest.$ac_ext >&5
3396 { echo "$as_me:$LINENO: result: no" >&5
3397 echo "${ECHO_T}no" >&6; }
3398 CFLAGS="$pa_add_cflags__old_cflags"
3401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3402 conftest$ac_exeext conftest.$ac_ext
3403 { echo "$as_me:$LINENO: checking if $CC accepts -W" >&5
3404 echo $ECHO_N "checking if $CC accepts -W... $ECHO_C" >&6; }
3405 pa_add_cflags__old_cflags="$CFLAGS"
3407 cat >conftest.$ac_ext <<_ACEOF
3410 cat confdefs.h >>conftest.$ac_ext
3411 cat >>conftest.$ac_ext <<_ACEOF
3412 /* end confdefs.h. */
3417 printf("Hello, World!\n");
3422 rm -f conftest.$ac_objext conftest$ac_exeext
3423 if { (ac_try="$ac_link"
3425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3426 *) ac_try_echo=$ac_try;;
3428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3429 (eval "$ac_link") 2>conftest.er1
3431 grep -v '^ *+' conftest.er1 >conftest.err
3433 cat conftest.err >&5
3434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3435 (exit $ac_status); } &&
3436 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3437 { (case "(($ac_try" in
3438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3439 *) ac_try_echo=$ac_try;;
3441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3442 (eval "$ac_try") 2>&5
3444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3445 (exit $ac_status); }; } &&
3446 { ac_try='test -s conftest$ac_exeext'
3447 { (case "(($ac_try" in
3448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3449 *) ac_try_echo=$ac_try;;
3451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3452 (eval "$ac_try") 2>&5
3454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3455 (exit $ac_status); }; }; then
3456 { echo "$as_me:$LINENO: result: yes" >&5
3457 echo "${ECHO_T}yes" >&6; }
3459 echo "$as_me: failed program was:" >&5
3460 sed 's/^/| /' conftest.$ac_ext >&5
3462 { echo "$as_me:$LINENO: result: no" >&5
3463 echo "${ECHO_T}no" >&6; }
3464 CFLAGS="$pa_add_cflags__old_cflags"
3467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3468 conftest$ac_exeext conftest.$ac_ext
3469 { echo "$as_me:$LINENO: checking if $CC accepts -Wpointer-arith" >&5
3470 echo $ECHO_N "checking if $CC accepts -Wpointer-arith... $ECHO_C" >&6; }
3471 pa_add_cflags__old_cflags="$CFLAGS"
3472 CFLAGS="$CFLAGS -Wpointer-arith"
3473 cat >conftest.$ac_ext <<_ACEOF
3476 cat confdefs.h >>conftest.$ac_ext
3477 cat >>conftest.$ac_ext <<_ACEOF
3478 /* end confdefs.h. */
3483 printf("Hello, World!\n");
3488 rm -f conftest.$ac_objext conftest$ac_exeext
3489 if { (ac_try="$ac_link"
3491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3492 *) ac_try_echo=$ac_try;;
3494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3495 (eval "$ac_link") 2>conftest.er1
3497 grep -v '^ *+' conftest.er1 >conftest.err
3499 cat conftest.err >&5
3500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3501 (exit $ac_status); } &&
3502 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3503 { (case "(($ac_try" in
3504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3505 *) ac_try_echo=$ac_try;;
3507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3508 (eval "$ac_try") 2>&5
3510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3511 (exit $ac_status); }; } &&
3512 { ac_try='test -s conftest$ac_exeext'
3513 { (case "(($ac_try" in
3514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3515 *) ac_try_echo=$ac_try;;
3517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3518 (eval "$ac_try") 2>&5
3520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3521 (exit $ac_status); }; }; then
3522 { echo "$as_me:$LINENO: result: yes" >&5
3523 echo "${ECHO_T}yes" >&6; }
3525 echo "$as_me: failed program was:" >&5
3526 sed 's/^/| /' conftest.$ac_ext >&5
3528 { echo "$as_me:$LINENO: result: no" >&5
3529 echo "${ECHO_T}no" >&6; }
3530 CFLAGS="$pa_add_cflags__old_cflags"
3533 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3534 conftest$ac_exeext conftest.$ac_ext
3535 { echo "$as_me:$LINENO: checking if $CC accepts -Wbad-function-cast" >&5
3536 echo $ECHO_N "checking if $CC accepts -Wbad-function-cast... $ECHO_C" >&6; }
3537 pa_add_cflags__old_cflags="$CFLAGS"
3538 CFLAGS="$CFLAGS -Wbad-function-cast"
3539 cat >conftest.$ac_ext <<_ACEOF
3542 cat confdefs.h >>conftest.$ac_ext
3543 cat >>conftest.$ac_ext <<_ACEOF
3544 /* end confdefs.h. */
3549 printf("Hello, World!\n");
3554 rm -f conftest.$ac_objext conftest$ac_exeext
3555 if { (ac_try="$ac_link"
3557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3558 *) ac_try_echo=$ac_try;;
3560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3561 (eval "$ac_link") 2>conftest.er1
3563 grep -v '^ *+' conftest.er1 >conftest.err
3565 cat conftest.err >&5
3566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3567 (exit $ac_status); } &&
3568 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3569 { (case "(($ac_try" in
3570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3571 *) ac_try_echo=$ac_try;;
3573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3574 (eval "$ac_try") 2>&5
3576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3577 (exit $ac_status); }; } &&
3578 { ac_try='test -s conftest$ac_exeext'
3579 { (case "(($ac_try" in
3580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3581 *) ac_try_echo=$ac_try;;
3583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3584 (eval "$ac_try") 2>&5
3586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3587 (exit $ac_status); }; }; then
3588 { echo "$as_me:$LINENO: result: yes" >&5
3589 echo "${ECHO_T}yes" >&6; }
3591 echo "$as_me: failed program was:" >&5
3592 sed 's/^/| /' conftest.$ac_ext >&5
3594 { echo "$as_me:$LINENO: result: no" >&5
3595 echo "${ECHO_T}no" >&6; }
3596 CFLAGS="$pa_add_cflags__old_cflags"
3599 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3600 conftest$ac_exeext conftest.$ac_ext
3601 { echo "$as_me:$LINENO: checking if $CC accepts -Wcast-equal" >&5
3602 echo $ECHO_N "checking if $CC accepts -Wcast-equal... $ECHO_C" >&6; }
3603 pa_add_cflags__old_cflags="$CFLAGS"
3604 CFLAGS="$CFLAGS -Wcast-equal"
3605 cat >conftest.$ac_ext <<_ACEOF
3608 cat confdefs.h >>conftest.$ac_ext
3609 cat >>conftest.$ac_ext <<_ACEOF
3610 /* end confdefs.h. */
3615 printf("Hello, World!\n");
3620 rm -f conftest.$ac_objext conftest$ac_exeext
3621 if { (ac_try="$ac_link"
3623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3624 *) ac_try_echo=$ac_try;;
3626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3627 (eval "$ac_link") 2>conftest.er1
3629 grep -v '^ *+' conftest.er1 >conftest.err
3631 cat conftest.err >&5
3632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3633 (exit $ac_status); } &&
3634 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3635 { (case "(($ac_try" in
3636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3637 *) ac_try_echo=$ac_try;;
3639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3640 (eval "$ac_try") 2>&5
3642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3643 (exit $ac_status); }; } &&
3644 { ac_try='test -s conftest$ac_exeext'
3645 { (case "(($ac_try" in
3646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3647 *) ac_try_echo=$ac_try;;
3649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3650 (eval "$ac_try") 2>&5
3652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3653 (exit $ac_status); }; }; then
3654 { echo "$as_me:$LINENO: result: yes" >&5
3655 echo "${ECHO_T}yes" >&6; }
3657 echo "$as_me: failed program was:" >&5
3658 sed 's/^/| /' conftest.$ac_ext >&5
3660 { echo "$as_me:$LINENO: result: no" >&5
3661 echo "${ECHO_T}no" >&6; }
3662 CFLAGS="$pa_add_cflags__old_cflags"
3665 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3666 conftest$ac_exeext conftest.$ac_ext
3667 { echo "$as_me:$LINENO: checking if $CC accepts -Wstrict-prototypes" >&5
3668 echo $ECHO_N "checking if $CC accepts -Wstrict-prototypes... $ECHO_C" >&6; }
3669 pa_add_cflags__old_cflags="$CFLAGS"
3670 CFLAGS="$CFLAGS -Wstrict-prototypes"
3671 cat >conftest.$ac_ext <<_ACEOF
3674 cat confdefs.h >>conftest.$ac_ext
3675 cat >>conftest.$ac_ext <<_ACEOF
3676 /* end confdefs.h. */
3681 printf("Hello, World!\n");
3686 rm -f conftest.$ac_objext conftest$ac_exeext
3687 if { (ac_try="$ac_link"
3689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3690 *) ac_try_echo=$ac_try;;
3692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3693 (eval "$ac_link") 2>conftest.er1
3695 grep -v '^ *+' conftest.er1 >conftest.err
3697 cat conftest.err >&5
3698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3699 (exit $ac_status); } &&
3700 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3701 { (case "(($ac_try" in
3702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3703 *) ac_try_echo=$ac_try;;
3705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3706 (eval "$ac_try") 2>&5
3708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3709 (exit $ac_status); }; } &&
3710 { ac_try='test -s conftest$ac_exeext'
3711 { (case "(($ac_try" in
3712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3713 *) ac_try_echo=$ac_try;;
3715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3716 (eval "$ac_try") 2>&5
3718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3719 (exit $ac_status); }; }; then
3720 { echo "$as_me:$LINENO: result: yes" >&5
3721 echo "${ECHO_T}yes" >&6; }
3723 echo "$as_me: failed program was:" >&5
3724 sed 's/^/| /' conftest.$ac_ext >&5
3726 { echo "$as_me:$LINENO: result: no" >&5
3727 echo "${ECHO_T}no" >&6; }
3728 CFLAGS="$pa_add_cflags__old_cflags"
3731 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3732 conftest$ac_exeext conftest.$ac_ext
3733 { echo "$as_me:$LINENO: checking if $CC accepts -Wmissing-prototypes" >&5
3734 echo $ECHO_N "checking if $CC accepts -Wmissing-prototypes... $ECHO_C" >&6; }
3735 pa_add_cflags__old_cflags="$CFLAGS"
3736 CFLAGS="$CFLAGS -Wmissing-prototypes"
3737 cat >conftest.$ac_ext <<_ACEOF
3740 cat confdefs.h >>conftest.$ac_ext
3741 cat >>conftest.$ac_ext <<_ACEOF
3742 /* end confdefs.h. */
3747 printf("Hello, World!\n");
3752 rm -f conftest.$ac_objext conftest$ac_exeext
3753 if { (ac_try="$ac_link"
3755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3756 *) ac_try_echo=$ac_try;;
3758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3759 (eval "$ac_link") 2>conftest.er1
3761 grep -v '^ *+' conftest.er1 >conftest.err
3763 cat conftest.err >&5
3764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3765 (exit $ac_status); } &&
3766 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3767 { (case "(($ac_try" in
3768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3769 *) ac_try_echo=$ac_try;;
3771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3772 (eval "$ac_try") 2>&5
3774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3775 (exit $ac_status); }; } &&
3776 { ac_try='test -s conftest$ac_exeext'
3777 { (case "(($ac_try" in
3778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3779 *) ac_try_echo=$ac_try;;
3781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3782 (eval "$ac_try") 2>&5
3784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3785 (exit $ac_status); }; }; then
3786 { echo "$as_me:$LINENO: result: yes" >&5
3787 echo "${ECHO_T}yes" >&6; }
3789 echo "$as_me: failed program was:" >&5
3790 sed 's/^/| /' conftest.$ac_ext >&5
3792 { echo "$as_me:$LINENO: result: no" >&5
3793 echo "${ECHO_T}no" >&6; }
3794 CFLAGS="$pa_add_cflags__old_cflags"
3797 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3798 conftest$ac_exeext conftest.$ac_ext
3799 { echo "$as_me:$LINENO: checking if $CC accepts -Wmissing-declarations" >&5
3800 echo $ECHO_N "checking if $CC accepts -Wmissing-declarations... $ECHO_C" >&6; }
3801 pa_add_cflags__old_cflags="$CFLAGS"
3802 CFLAGS="$CFLAGS -Wmissing-declarations"
3803 cat >conftest.$ac_ext <<_ACEOF
3806 cat confdefs.h >>conftest.$ac_ext
3807 cat >>conftest.$ac_ext <<_ACEOF
3808 /* end confdefs.h. */
3813 printf("Hello, World!\n");
3818 rm -f conftest.$ac_objext conftest$ac_exeext
3819 if { (ac_try="$ac_link"
3821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3822 *) ac_try_echo=$ac_try;;
3824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3825 (eval "$ac_link") 2>conftest.er1
3827 grep -v '^ *+' conftest.er1 >conftest.err
3829 cat conftest.err >&5
3830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3831 (exit $ac_status); } &&
3832 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3833 { (case "(($ac_try" in
3834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3835 *) ac_try_echo=$ac_try;;
3837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3838 (eval "$ac_try") 2>&5
3840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3841 (exit $ac_status); }; } &&
3842 { ac_try='test -s conftest$ac_exeext'
3843 { (case "(($ac_try" in
3844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3845 *) ac_try_echo=$ac_try;;
3847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3848 (eval "$ac_try") 2>&5
3850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3851 (exit $ac_status); }; }; then
3852 { echo "$as_me:$LINENO: result: yes" >&5
3853 echo "${ECHO_T}yes" >&6; }
3855 echo "$as_me: failed program was:" >&5
3856 sed 's/^/| /' conftest.$ac_ext >&5
3858 { echo "$as_me:$LINENO: result: no" >&5
3859 echo "${ECHO_T}no" >&6; }
3860 CFLAGS="$pa_add_cflags__old_cflags"
3863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3864 conftest$ac_exeext conftest.$ac_ext
3865 { echo "$as_me:$LINENO: checking if $CC accepts -Wnested-externs" >&5
3866 echo $ECHO_N "checking if $CC accepts -Wnested-externs... $ECHO_C" >&6; }
3867 pa_add_cflags__old_cflags="$CFLAGS"
3868 CFLAGS="$CFLAGS -Wnested-externs"
3869 cat >conftest.$ac_ext <<_ACEOF
3872 cat confdefs.h >>conftest.$ac_ext
3873 cat >>conftest.$ac_ext <<_ACEOF
3874 /* end confdefs.h. */
3879 printf("Hello, World!\n");
3884 rm -f conftest.$ac_objext conftest$ac_exeext
3885 if { (ac_try="$ac_link"
3887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3888 *) ac_try_echo=$ac_try;;
3890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3891 (eval "$ac_link") 2>conftest.er1
3893 grep -v '^ *+' conftest.er1 >conftest.err
3895 cat conftest.err >&5
3896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3897 (exit $ac_status); } &&
3898 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3899 { (case "(($ac_try" in
3900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3901 *) ac_try_echo=$ac_try;;
3903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3904 (eval "$ac_try") 2>&5
3906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3907 (exit $ac_status); }; } &&
3908 { ac_try='test -s conftest$ac_exeext'
3909 { (case "(($ac_try" in
3910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3911 *) ac_try_echo=$ac_try;;
3913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3914 (eval "$ac_try") 2>&5
3916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3917 (exit $ac_status); }; }; then
3918 { echo "$as_me:$LINENO: result: yes" >&5
3919 echo "${ECHO_T}yes" >&6; }
3921 echo "$as_me: failed program was:" >&5
3922 sed 's/^/| /' conftest.$ac_ext >&5
3924 { echo "$as_me:$LINENO: result: no" >&5
3925 echo "${ECHO_T}no" >&6; }
3926 CFLAGS="$pa_add_cflags__old_cflags"
3929 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3930 conftest$ac_exeext conftest.$ac_ext
3931 { echo "$as_me:$LINENO: checking if $CC accepts -Winline" >&5
3932 echo $ECHO_N "checking if $CC accepts -Winline... $ECHO_C" >&6; }
3933 pa_add_cflags__old_cflags="$CFLAGS"
3934 CFLAGS="$CFLAGS -Winline"
3935 cat >conftest.$ac_ext <<_ACEOF
3938 cat confdefs.h >>conftest.$ac_ext
3939 cat >>conftest.$ac_ext <<_ACEOF
3940 /* end confdefs.h. */
3945 printf("Hello, World!\n");
3950 rm -f conftest.$ac_objext conftest$ac_exeext
3951 if { (ac_try="$ac_link"
3953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3954 *) ac_try_echo=$ac_try;;
3956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3957 (eval "$ac_link") 2>conftest.er1
3959 grep -v '^ *+' conftest.er1 >conftest.err
3961 cat conftest.err >&5
3962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3963 (exit $ac_status); } &&
3964 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3965 { (case "(($ac_try" in
3966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3967 *) ac_try_echo=$ac_try;;
3969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3970 (eval "$ac_try") 2>&5
3972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3973 (exit $ac_status); }; } &&
3974 { ac_try='test -s conftest$ac_exeext'
3975 { (case "(($ac_try" in
3976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3977 *) ac_try_echo=$ac_try;;
3979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3980 (eval "$ac_try") 2>&5
3982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3983 (exit $ac_status); }; }; then
3984 { echo "$as_me:$LINENO: result: yes" >&5
3985 echo "${ECHO_T}yes" >&6; }
3987 echo "$as_me: failed program was:" >&5
3988 sed 's/^/| /' conftest.$ac_ext >&5
3990 { echo "$as_me:$LINENO: result: no" >&5
3991 echo "${ECHO_T}no" >&6; }
3992 CFLAGS="$pa_add_cflags__old_cflags"
3995 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3996 conftest$ac_exeext conftest.$ac_ext
3997 { echo "$as_me:$LINENO: checking if $CC accepts -Wshadow" >&5
3998 echo $ECHO_N "checking if $CC accepts -Wshadow... $ECHO_C" >&6; }
3999 pa_add_cflags__old_cflags="$CFLAGS"
4000 CFLAGS="$CFLAGS -Wshadow"
4001 cat >conftest.$ac_ext <<_ACEOF
4004 cat confdefs.h >>conftest.$ac_ext
4005 cat >>conftest.$ac_ext <<_ACEOF
4006 /* end confdefs.h. */
4011 printf("Hello, World!\n");
4016 rm -f conftest.$ac_objext conftest$ac_exeext
4017 if { (ac_try="$ac_link"
4019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4020 *) ac_try_echo=$ac_try;;
4022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4023 (eval "$ac_link") 2>conftest.er1
4025 grep -v '^ *+' conftest.er1 >conftest.err
4027 cat conftest.err >&5
4028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4029 (exit $ac_status); } &&
4030 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4031 { (case "(($ac_try" in
4032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4033 *) ac_try_echo=$ac_try;;
4035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4036 (eval "$ac_try") 2>&5
4038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4039 (exit $ac_status); }; } &&
4040 { ac_try='test -s conftest$ac_exeext'
4041 { (case "(($ac_try" in
4042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4043 *) ac_try_echo=$ac_try;;
4045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4046 (eval "$ac_try") 2>&5
4048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4049 (exit $ac_status); }; }; then
4050 { echo "$as_me:$LINENO: result: yes" >&5
4051 echo "${ECHO_T}yes" >&6; }
4053 echo "$as_me: failed program was:" >&5
4054 sed 's/^/| /' conftest.$ac_ext >&5
4056 { echo "$as_me:$LINENO: result: no" >&5
4057 echo "${ECHO_T}no" >&6; }
4058 CFLAGS="$pa_add_cflags__old_cflags"
4061 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4062 conftest$ac_exeext conftest.$ac_ext
4063 { echo "$as_me:$LINENO: checking if $CC accepts -Wcast-align" >&5
4064 echo $ECHO_N "checking if $CC accepts -Wcast-align... $ECHO_C" >&6; }
4065 pa_add_cflags__old_cflags="$CFLAGS"
4066 CFLAGS="$CFLAGS -Wcast-align"
4067 cat >conftest.$ac_ext <<_ACEOF
4070 cat confdefs.h >>conftest.$ac_ext
4071 cat >>conftest.$ac_ext <<_ACEOF
4072 /* end confdefs.h. */
4077 printf("Hello, World!\n");
4082 rm -f conftest.$ac_objext conftest$ac_exeext
4083 if { (ac_try="$ac_link"
4085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4086 *) ac_try_echo=$ac_try;;
4088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4089 (eval "$ac_link") 2>conftest.er1
4091 grep -v '^ *+' conftest.er1 >conftest.err
4093 cat conftest.err >&5
4094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4095 (exit $ac_status); } &&
4096 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4097 { (case "(($ac_try" in
4098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4099 *) ac_try_echo=$ac_try;;
4101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4102 (eval "$ac_try") 2>&5
4104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4105 (exit $ac_status); }; } &&
4106 { ac_try='test -s conftest$ac_exeext'
4107 { (case "(($ac_try" in
4108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4109 *) ac_try_echo=$ac_try;;
4111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4112 (eval "$ac_try") 2>&5
4114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4115 (exit $ac_status); }; }; then
4116 { echo "$as_me:$LINENO: result: yes" >&5
4117 echo "${ECHO_T}yes" >&6; }
4119 echo "$as_me: failed program was:" >&5
4120 sed 's/^/| /' conftest.$ac_ext >&5
4122 { echo "$as_me:$LINENO: result: no" >&5
4123 echo "${ECHO_T}no" >&6; }
4124 CFLAGS="$pa_add_cflags__old_cflags"
4127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4128 conftest$ac_exeext conftest.$ac_ext
4129 { echo "$as_me:$LINENO: checking if $CC accepts -pipe" >&5
4130 echo $ECHO_N "checking if $CC accepts -pipe... $ECHO_C" >&6; }
4131 pa_add_cflags__old_cflags="$CFLAGS"
4132 CFLAGS="$CFLAGS -pipe"
4133 cat >conftest.$ac_ext <<_ACEOF
4136 cat confdefs.h >>conftest.$ac_ext
4137 cat >>conftest.$ac_ext <<_ACEOF
4138 /* end confdefs.h. */
4143 printf("Hello, World!\n");
4148 rm -f conftest.$ac_objext conftest$ac_exeext
4149 if { (ac_try="$ac_link"
4151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4152 *) ac_try_echo=$ac_try;;
4154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4155 (eval "$ac_link") 2>conftest.er1
4157 grep -v '^ *+' conftest.er1 >conftest.err
4159 cat conftest.err >&5
4160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4161 (exit $ac_status); } &&
4162 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4163 { (case "(($ac_try" in
4164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4165 *) ac_try_echo=$ac_try;;
4167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4168 (eval "$ac_try") 2>&5
4170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4171 (exit $ac_status); }; } &&
4172 { ac_try='test -s conftest$ac_exeext'
4173 { (case "(($ac_try" in
4174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4175 *) ac_try_echo=$ac_try;;
4177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4178 (eval "$ac_try") 2>&5
4180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4181 (exit $ac_status); }; }; then
4182 { echo "$as_me:$LINENO: result: yes" >&5
4183 echo "${ECHO_T}yes" >&6; }
4185 echo "$as_me: failed program was:" >&5
4186 sed 's/^/| /' conftest.$ac_ext >&5
4188 { echo "$as_me:$LINENO: result: no" >&5
4189 echo "${ECHO_T}no" >&6; }
4190 CFLAGS="$pa_add_cflags__old_cflags"
4193 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4194 conftest$ac_exeext conftest.$ac_ext
4197 ac_cpp='$CPP $CPPFLAGS'
4198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4201 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4202 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4203 # On Suns, sometimes $CPP names a directory.
4204 if test -n "$CPP" && test -d "$CPP"; then
4207 if test -z "$CPP"; then
4208 if test "${ac_cv_prog_CPP+set}" = set; then
4209 echo $ECHO_N "(cached) $ECHO_C" >&6
4211 # Double quotes because CPP needs to be expanded
4212 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4215 for ac_c_preproc_warn_flag in '' yes
4217 # Use a header file that comes with gcc, so configuring glibc
4218 # with a fresh cross-compiler works.
4219 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4220 # <limits.h> exists even on freestanding compilers.
4221 # On the NeXT, cc -E runs the code through the compiler's parser,
4222 # not just through cpp. "Syntax error" is here to catch this case.
4223 cat >conftest.$ac_ext <<_ACEOF
4226 cat confdefs.h >>conftest.$ac_ext
4227 cat >>conftest.$ac_ext <<_ACEOF
4228 /* end confdefs.h. */
4230 # include <limits.h>
4232 # include <assert.h>
4236 if { (ac_try="$ac_cpp conftest.$ac_ext"
4238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4239 *) ac_try_echo=$ac_try;;
4241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4242 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4244 grep -v '^ *+' conftest.er1 >conftest.err
4246 cat conftest.err >&5
4247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4248 (exit $ac_status); } >/dev/null; then
4249 if test -s conftest.err; then
4250 ac_cpp_err=$ac_c_preproc_warn_flag
4251 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4258 if test -z "$ac_cpp_err"; then
4261 echo "$as_me: failed program was:" >&5
4262 sed 's/^/| /' conftest.$ac_ext >&5
4264 # Broken: fails on valid input.
4268 rm -f conftest.err conftest.$ac_ext
4270 # OK, works on sane cases. Now check whether nonexistent headers
4271 # can be detected and how.
4272 cat >conftest.$ac_ext <<_ACEOF
4275 cat confdefs.h >>conftest.$ac_ext
4276 cat >>conftest.$ac_ext <<_ACEOF
4277 /* end confdefs.h. */
4278 #include <ac_nonexistent.h>
4280 if { (ac_try="$ac_cpp conftest.$ac_ext"
4282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4283 *) ac_try_echo=$ac_try;;
4285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4286 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4288 grep -v '^ *+' conftest.er1 >conftest.err
4290 cat conftest.err >&5
4291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4292 (exit $ac_status); } >/dev/null; then
4293 if test -s conftest.err; then
4294 ac_cpp_err=$ac_c_preproc_warn_flag
4295 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4302 if test -z "$ac_cpp_err"; then
4303 # Broken: success on invalid input.
4306 echo "$as_me: failed program was:" >&5
4307 sed 's/^/| /' conftest.$ac_ext >&5
4309 # Passes both tests.
4314 rm -f conftest.err conftest.$ac_ext
4317 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4318 rm -f conftest.err conftest.$ac_ext
4319 if $ac_preproc_ok; then
4331 { echo "$as_me:$LINENO: result: $CPP" >&5
4332 echo "${ECHO_T}$CPP" >&6; }
4334 for ac_c_preproc_warn_flag in '' yes
4336 # Use a header file that comes with gcc, so configuring glibc
4337 # with a fresh cross-compiler works.
4338 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4339 # <limits.h> exists even on freestanding compilers.
4340 # On the NeXT, cc -E runs the code through the compiler's parser,
4341 # not just through cpp. "Syntax error" is here to catch this case.
4342 cat >conftest.$ac_ext <<_ACEOF
4345 cat confdefs.h >>conftest.$ac_ext
4346 cat >>conftest.$ac_ext <<_ACEOF
4347 /* end confdefs.h. */
4349 # include <limits.h>
4351 # include <assert.h>
4355 if { (ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 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); } >/dev/null; then
4368 if test -s conftest.err; then
4369 ac_cpp_err=$ac_c_preproc_warn_flag
4370 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4377 if test -z "$ac_cpp_err"; then
4380 echo "$as_me: failed program was:" >&5
4381 sed 's/^/| /' conftest.$ac_ext >&5
4383 # Broken: fails on valid input.
4387 rm -f conftest.err conftest.$ac_ext
4389 # OK, works on sane cases. Now check whether nonexistent headers
4390 # can be detected and how.
4391 cat >conftest.$ac_ext <<_ACEOF
4394 cat confdefs.h >>conftest.$ac_ext
4395 cat >>conftest.$ac_ext <<_ACEOF
4396 /* end confdefs.h. */
4397 #include <ac_nonexistent.h>
4399 if { (ac_try="$ac_cpp conftest.$ac_ext"
4401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4402 *) ac_try_echo=$ac_try;;
4404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4405 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4407 grep -v '^ *+' conftest.er1 >conftest.err
4409 cat conftest.err >&5
4410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4411 (exit $ac_status); } >/dev/null; then
4412 if test -s conftest.err; then
4413 ac_cpp_err=$ac_c_preproc_warn_flag
4414 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4421 if test -z "$ac_cpp_err"; then
4422 # Broken: success on invalid input.
4425 echo "$as_me: failed program was:" >&5
4426 sed 's/^/| /' conftest.$ac_ext >&5
4428 # Passes both tests.
4433 rm -f conftest.err conftest.$ac_ext
4436 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4437 rm -f conftest.err conftest.$ac_ext
4438 if $ac_preproc_ok; then
4441 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4442 See \`config.log' for more details." >&5
4443 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4444 See \`config.log' for more details." >&2;}
4445 { (exit 1); exit 1; }; }
4449 ac_cpp='$CPP $CPPFLAGS'
4450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4455 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4456 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4457 if test "${ac_cv_path_GREP+set}" = set; then
4458 echo $ECHO_N "(cached) $ECHO_C" >&6
4460 # Extract the first word of "grep ggrep" to use in msg output
4461 if test -z "$GREP"; then
4462 set dummy grep ggrep; ac_prog_name=$2
4463 if test "${ac_cv_path_GREP+set}" = set; then
4464 echo $ECHO_N "(cached) $ECHO_C" >&6
4466 ac_path_GREP_found=false
4467 # Loop through the user's path and test for each of PROGNAME-LIST
4468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4469 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4472 test -z "$as_dir" && as_dir=.
4473 for ac_prog in grep ggrep; do
4474 for ac_exec_ext in '' $ac_executable_extensions; do
4475 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4476 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
4477 # Check for GNU ac_path_GREP and select it if it is found.
4478 # Check for GNU $ac_path_GREP
4479 case `"$ac_path_GREP" --version 2>&1` in
4481 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4484 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4487 cat "conftest.in" "conftest.in" >"conftest.tmp"
4488 mv "conftest.tmp" "conftest.in"
4489 cp "conftest.in" "conftest.nl"
4490 echo 'GREP' >> "conftest.nl"
4491 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4492 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4493 ac_count=`expr $ac_count + 1`
4494 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4495 # Best one so far, save it but keep looking for a better one
4496 ac_cv_path_GREP="$ac_path_GREP"
4497 ac_path_GREP_max=$ac_count
4499 # 10*(2^10) chars as input seems more than enough
4500 test $ac_count -gt 10 && break
4502 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4506 $ac_path_GREP_found && break 3
4516 GREP="$ac_cv_path_GREP"
4517 if test -z "$GREP"; then
4518 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4519 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4520 { (exit 1); exit 1; }; }
4524 ac_cv_path_GREP=$GREP
4529 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4530 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4531 GREP="$ac_cv_path_GREP"
4534 { echo "$as_me:$LINENO: checking for egrep" >&5
4535 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4536 if test "${ac_cv_path_EGREP+set}" = set; then
4537 echo $ECHO_N "(cached) $ECHO_C" >&6
4539 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4540 then ac_cv_path_EGREP="$GREP -E"
4542 # Extract the first word of "egrep" to use in msg output
4543 if test -z "$EGREP"; then
4544 set dummy egrep; ac_prog_name=$2
4545 if test "${ac_cv_path_EGREP+set}" = set; then
4546 echo $ECHO_N "(cached) $ECHO_C" >&6
4548 ac_path_EGREP_found=false
4549 # Loop through the user's path and test for each of PROGNAME-LIST
4550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4551 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4554 test -z "$as_dir" && as_dir=.
4555 for ac_prog in egrep; do
4556 for ac_exec_ext in '' $ac_executable_extensions; do
4557 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4558 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
4559 # Check for GNU ac_path_EGREP and select it if it is found.
4560 # Check for GNU $ac_path_EGREP
4561 case `"$ac_path_EGREP" --version 2>&1` in
4563 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4566 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4569 cat "conftest.in" "conftest.in" >"conftest.tmp"
4570 mv "conftest.tmp" "conftest.in"
4571 cp "conftest.in" "conftest.nl"
4572 echo 'EGREP' >> "conftest.nl"
4573 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4574 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4575 ac_count=`expr $ac_count + 1`
4576 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4577 # Best one so far, save it but keep looking for a better one
4578 ac_cv_path_EGREP="$ac_path_EGREP"
4579 ac_path_EGREP_max=$ac_count
4581 # 10*(2^10) chars as input seems more than enough
4582 test $ac_count -gt 10 && break
4584 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4588 $ac_path_EGREP_found && break 3
4598 EGREP="$ac_cv_path_EGREP"
4599 if test -z "$EGREP"; then
4600 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4601 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4602 { (exit 1); exit 1; }; }
4606 ac_cv_path_EGREP=$EGREP
4612 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4613 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4614 EGREP="$ac_cv_path_EGREP"
4617 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4618 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4619 if test "${ac_cv_header_stdc+set}" = set; then
4620 echo $ECHO_N "(cached) $ECHO_C" >&6
4622 cat >conftest.$ac_ext <<_ACEOF
4625 cat confdefs.h >>conftest.$ac_ext
4626 cat >>conftest.$ac_ext <<_ACEOF
4627 /* end confdefs.h. */
4641 rm -f conftest.$ac_objext
4642 if { (ac_try="$ac_compile"
4644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4645 *) ac_try_echo=$ac_try;;
4647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4648 (eval "$ac_compile") 2>conftest.er1
4650 grep -v '^ *+' conftest.er1 >conftest.err
4652 cat conftest.err >&5
4653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4654 (exit $ac_status); } &&
4655 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4656 { (case "(($ac_try" in
4657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4658 *) ac_try_echo=$ac_try;;
4660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4661 (eval "$ac_try") 2>&5
4663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4664 (exit $ac_status); }; } &&
4665 { ac_try='test -s conftest.$ac_objext'
4666 { (case "(($ac_try" in
4667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4668 *) ac_try_echo=$ac_try;;
4670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4671 (eval "$ac_try") 2>&5
4673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4674 (exit $ac_status); }; }; then
4675 ac_cv_header_stdc=yes
4677 echo "$as_me: failed program was:" >&5
4678 sed 's/^/| /' conftest.$ac_ext >&5
4680 ac_cv_header_stdc=no
4683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4685 if test $ac_cv_header_stdc = yes; then
4686 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4687 cat >conftest.$ac_ext <<_ACEOF
4690 cat confdefs.h >>conftest.$ac_ext
4691 cat >>conftest.$ac_ext <<_ACEOF
4692 /* end confdefs.h. */
4696 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4697 $EGREP "memchr" >/dev/null 2>&1; then
4700 ac_cv_header_stdc=no
4706 if test $ac_cv_header_stdc = yes; then
4707 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4708 cat >conftest.$ac_ext <<_ACEOF
4711 cat confdefs.h >>conftest.$ac_ext
4712 cat >>conftest.$ac_ext <<_ACEOF
4713 /* end confdefs.h. */
4717 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4718 $EGREP "free" >/dev/null 2>&1; then
4721 ac_cv_header_stdc=no
4727 if test $ac_cv_header_stdc = yes; then
4728 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4729 if test "$cross_compiling" = yes; then
4732 cat >conftest.$ac_ext <<_ACEOF
4735 cat confdefs.h >>conftest.$ac_ext
4736 cat >>conftest.$ac_ext <<_ACEOF
4737 /* end confdefs.h. */
4740 #if ((' ' & 0x0FF) == 0x020)
4741 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4742 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4744 # define ISLOWER(c) \
4745 (('a' <= (c) && (c) <= 'i') \
4746 || ('j' <= (c) && (c) <= 'r') \
4747 || ('s' <= (c) && (c) <= 'z'))
4748 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4751 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4756 for (i = 0; i < 256; i++)
4757 if (XOR (islower (i), ISLOWER (i))
4758 || toupper (i) != TOUPPER (i))
4763 rm -f conftest$ac_exeext
4764 if { (ac_try="$ac_link"
4766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4767 *) ac_try_echo=$ac_try;;
4769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4770 (eval "$ac_link") 2>&5
4772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4773 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4774 { (case "(($ac_try" in
4775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4776 *) ac_try_echo=$ac_try;;
4778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4779 (eval "$ac_try") 2>&5
4781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4782 (exit $ac_status); }; }; then
4785 echo "$as_me: program exited with status $ac_status" >&5
4786 echo "$as_me: failed program was:" >&5
4787 sed 's/^/| /' conftest.$ac_ext >&5
4790 ac_cv_header_stdc=no
4792 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4798 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4799 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4800 if test $ac_cv_header_stdc = yes; then
4802 cat >>confdefs.h <<\_ACEOF
4803 #define STDC_HEADERS 1
4808 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4818 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4819 inttypes.h stdint.h unistd.h
4821 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4822 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4823 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4824 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4825 echo $ECHO_N "(cached) $ECHO_C" >&6
4827 cat >conftest.$ac_ext <<_ACEOF
4830 cat confdefs.h >>conftest.$ac_ext
4831 cat >>conftest.$ac_ext <<_ACEOF
4832 /* end confdefs.h. */
4833 $ac_includes_default
4835 #include <$ac_header>
4837 rm -f conftest.$ac_objext
4838 if { (ac_try="$ac_compile"
4840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4841 *) ac_try_echo=$ac_try;;
4843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4844 (eval "$ac_compile") 2>conftest.er1
4846 grep -v '^ *+' conftest.er1 >conftest.err
4848 cat conftest.err >&5
4849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4850 (exit $ac_status); } &&
4851 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4852 { (case "(($ac_try" in
4853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4854 *) ac_try_echo=$ac_try;;
4856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4857 (eval "$ac_try") 2>&5
4859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4860 (exit $ac_status); }; } &&
4861 { ac_try='test -s conftest.$ac_objext'
4862 { (case "(($ac_try" in
4863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4864 *) ac_try_echo=$ac_try;;
4866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4867 (eval "$ac_try") 2>&5
4869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4870 (exit $ac_status); }; }; then
4871 eval "$as_ac_Header=yes"
4873 echo "$as_me: failed program was:" >&5
4874 sed 's/^/| /' conftest.$ac_ext >&5
4876 eval "$as_ac_Header=no"
4879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4881 ac_res=`eval echo '${'$as_ac_Header'}'`
4882 { echo "$as_me:$LINENO: result: $ac_res" >&5
4883 echo "${ECHO_T}$ac_res" >&6; }
4884 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4885 cat >>confdefs.h <<_ACEOF
4886 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4895 for ac_header in inttypes.h
4897 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4898 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4899 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4900 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4901 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4902 echo $ECHO_N "(cached) $ECHO_C" >&6
4904 ac_res=`eval echo '${'$as_ac_Header'}'`
4905 { echo "$as_me:$LINENO: result: $ac_res" >&5
4906 echo "${ECHO_T}$ac_res" >&6; }
4908 # Is the header compilable?
4909 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4910 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4911 cat >conftest.$ac_ext <<_ACEOF
4914 cat confdefs.h >>conftest.$ac_ext
4915 cat >>conftest.$ac_ext <<_ACEOF
4916 /* end confdefs.h. */
4917 $ac_includes_default
4918 #include <$ac_header>
4920 rm -f conftest.$ac_objext
4921 if { (ac_try="$ac_compile"
4923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4924 *) ac_try_echo=$ac_try;;
4926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4927 (eval "$ac_compile") 2>conftest.er1
4929 grep -v '^ *+' conftest.er1 >conftest.err
4931 cat conftest.err >&5
4932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4933 (exit $ac_status); } &&
4934 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4935 { (case "(($ac_try" in
4936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4937 *) ac_try_echo=$ac_try;;
4939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4940 (eval "$ac_try") 2>&5
4942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4943 (exit $ac_status); }; } &&
4944 { ac_try='test -s conftest.$ac_objext'
4945 { (case "(($ac_try" in
4946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4947 *) ac_try_echo=$ac_try;;
4949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4950 (eval "$ac_try") 2>&5
4952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4953 (exit $ac_status); }; }; then
4954 ac_header_compiler=yes
4956 echo "$as_me: failed program was:" >&5
4957 sed 's/^/| /' conftest.$ac_ext >&5
4959 ac_header_compiler=no
4962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4963 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4964 echo "${ECHO_T}$ac_header_compiler" >&6; }
4966 # Is the header present?
4967 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4968 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4969 cat >conftest.$ac_ext <<_ACEOF
4972 cat confdefs.h >>conftest.$ac_ext
4973 cat >>conftest.$ac_ext <<_ACEOF
4974 /* end confdefs.h. */
4975 #include <$ac_header>
4977 if { (ac_try="$ac_cpp conftest.$ac_ext"
4979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4980 *) ac_try_echo=$ac_try;;
4982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4983 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4985 grep -v '^ *+' conftest.er1 >conftest.err
4987 cat conftest.err >&5
4988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4989 (exit $ac_status); } >/dev/null; then
4990 if test -s conftest.err; then
4991 ac_cpp_err=$ac_c_preproc_warn_flag
4992 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4999 if test -z "$ac_cpp_err"; then
5000 ac_header_preproc=yes
5002 echo "$as_me: failed program was:" >&5
5003 sed 's/^/| /' conftest.$ac_ext >&5
5005 ac_header_preproc=no
5008 rm -f conftest.err conftest.$ac_ext
5009 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5010 echo "${ECHO_T}$ac_header_preproc" >&6; }
5012 # So? What about this header?
5013 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5015 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5016 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5017 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5018 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5019 ac_header_preproc=yes
5022 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5023 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5024 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5025 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5026 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5027 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5028 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5029 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5030 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5031 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5032 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5033 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5037 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5038 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5039 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5040 echo $ECHO_N "(cached) $ECHO_C" >&6
5042 eval "$as_ac_Header=\$ac_header_preproc"
5044 ac_res=`eval echo '${'$as_ac_Header'}'`
5045 { echo "$as_me:$LINENO: result: $ac_res" >&5
5046 echo "${ECHO_T}$ac_res" >&6; }
5049 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5050 cat >>confdefs.h <<_ACEOF
5051 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5059 for ac_header in sysexits.h
5061 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5062 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5063 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5064 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5065 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5066 echo $ECHO_N "(cached) $ECHO_C" >&6
5068 ac_res=`eval echo '${'$as_ac_Header'}'`
5069 { echo "$as_me:$LINENO: result: $ac_res" >&5
5070 echo "${ECHO_T}$ac_res" >&6; }
5072 # Is the header compilable?
5073 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5074 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5075 cat >conftest.$ac_ext <<_ACEOF
5078 cat confdefs.h >>conftest.$ac_ext
5079 cat >>conftest.$ac_ext <<_ACEOF
5080 /* end confdefs.h. */
5081 $ac_includes_default
5082 #include <$ac_header>
5084 rm -f conftest.$ac_objext
5085 if { (ac_try="$ac_compile"
5087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5088 *) ac_try_echo=$ac_try;;
5090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5091 (eval "$ac_compile") 2>conftest.er1
5093 grep -v '^ *+' conftest.er1 >conftest.err
5095 cat conftest.err >&5
5096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5097 (exit $ac_status); } &&
5098 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5099 { (case "(($ac_try" in
5100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5101 *) ac_try_echo=$ac_try;;
5103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5104 (eval "$ac_try") 2>&5
5106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5107 (exit $ac_status); }; } &&
5108 { ac_try='test -s conftest.$ac_objext'
5109 { (case "(($ac_try" in
5110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5111 *) ac_try_echo=$ac_try;;
5113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5114 (eval "$ac_try") 2>&5
5116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5117 (exit $ac_status); }; }; then
5118 ac_header_compiler=yes
5120 echo "$as_me: failed program was:" >&5
5121 sed 's/^/| /' conftest.$ac_ext >&5
5123 ac_header_compiler=no
5126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5127 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5128 echo "${ECHO_T}$ac_header_compiler" >&6; }
5130 # Is the header present?
5131 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5132 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5133 cat >conftest.$ac_ext <<_ACEOF
5136 cat confdefs.h >>conftest.$ac_ext
5137 cat >>conftest.$ac_ext <<_ACEOF
5138 /* end confdefs.h. */
5139 #include <$ac_header>
5141 if { (ac_try="$ac_cpp conftest.$ac_ext"
5143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5144 *) ac_try_echo=$ac_try;;
5146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5147 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5149 grep -v '^ *+' conftest.er1 >conftest.err
5151 cat conftest.err >&5
5152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5153 (exit $ac_status); } >/dev/null; then
5154 if test -s conftest.err; then
5155 ac_cpp_err=$ac_c_preproc_warn_flag
5156 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5163 if test -z "$ac_cpp_err"; then
5164 ac_header_preproc=yes
5166 echo "$as_me: failed program was:" >&5
5167 sed 's/^/| /' conftest.$ac_ext >&5
5169 ac_header_preproc=no
5172 rm -f conftest.err conftest.$ac_ext
5173 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5174 echo "${ECHO_T}$ac_header_preproc" >&6; }
5176 # So? What about this header?
5177 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5179 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5180 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5181 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5182 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5183 ac_header_preproc=yes
5186 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5187 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5188 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5189 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5190 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5191 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5192 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5193 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5194 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5195 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5196 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5197 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5201 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5202 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5203 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5204 echo $ECHO_N "(cached) $ECHO_C" >&6
5206 eval "$as_ac_Header=\$ac_header_preproc"
5208 ac_res=`eval echo '${'$as_ac_Header'}'`
5209 { echo "$as_me:$LINENO: result: $ac_res" >&5
5210 echo "${ECHO_T}$ac_res" >&6; }
5213 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5214 cat >>confdefs.h <<_ACEOF
5215 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5223 for ac_header in getopt.h
5225 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5226 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5227 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5228 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5229 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5230 echo $ECHO_N "(cached) $ECHO_C" >&6
5232 ac_res=`eval echo '${'$as_ac_Header'}'`
5233 { echo "$as_me:$LINENO: result: $ac_res" >&5
5234 echo "${ECHO_T}$ac_res" >&6; }
5236 # Is the header compilable?
5237 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5238 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5239 cat >conftest.$ac_ext <<_ACEOF
5242 cat confdefs.h >>conftest.$ac_ext
5243 cat >>conftest.$ac_ext <<_ACEOF
5244 /* end confdefs.h. */
5245 $ac_includes_default
5246 #include <$ac_header>
5248 rm -f conftest.$ac_objext
5249 if { (ac_try="$ac_compile"
5251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5252 *) ac_try_echo=$ac_try;;
5254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5255 (eval "$ac_compile") 2>conftest.er1
5257 grep -v '^ *+' conftest.er1 >conftest.err
5259 cat conftest.err >&5
5260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5261 (exit $ac_status); } &&
5262 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5263 { (case "(($ac_try" in
5264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5265 *) ac_try_echo=$ac_try;;
5267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5268 (eval "$ac_try") 2>&5
5270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5271 (exit $ac_status); }; } &&
5272 { ac_try='test -s conftest.$ac_objext'
5273 { (case "(($ac_try" in
5274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5275 *) ac_try_echo=$ac_try;;
5277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5278 (eval "$ac_try") 2>&5
5280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5281 (exit $ac_status); }; }; then
5282 ac_header_compiler=yes
5284 echo "$as_me: failed program was:" >&5
5285 sed 's/^/| /' conftest.$ac_ext >&5
5287 ac_header_compiler=no
5290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5291 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5292 echo "${ECHO_T}$ac_header_compiler" >&6; }
5294 # Is the header present?
5295 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5296 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5297 cat >conftest.$ac_ext <<_ACEOF
5300 cat confdefs.h >>conftest.$ac_ext
5301 cat >>conftest.$ac_ext <<_ACEOF
5302 /* end confdefs.h. */
5303 #include <$ac_header>
5305 if { (ac_try="$ac_cpp conftest.$ac_ext"
5307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5308 *) ac_try_echo=$ac_try;;
5310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5311 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5313 grep -v '^ *+' conftest.er1 >conftest.err
5315 cat conftest.err >&5
5316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5317 (exit $ac_status); } >/dev/null; then
5318 if test -s conftest.err; then
5319 ac_cpp_err=$ac_c_preproc_warn_flag
5320 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5327 if test -z "$ac_cpp_err"; then
5328 ac_header_preproc=yes
5330 echo "$as_me: failed program was:" >&5
5331 sed 's/^/| /' conftest.$ac_ext >&5
5333 ac_header_preproc=no
5336 rm -f conftest.err conftest.$ac_ext
5337 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5338 echo "${ECHO_T}$ac_header_preproc" >&6; }
5340 # So? What about this header?
5341 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5343 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5344 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5345 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5346 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5347 ac_header_preproc=yes
5350 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5351 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5352 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5353 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5354 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5355 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5356 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5357 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5358 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5359 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5360 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5361 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5365 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5366 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5367 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5368 echo $ECHO_N "(cached) $ECHO_C" >&6
5370 eval "$as_ac_Header=\$ac_header_preproc"
5372 ac_res=`eval echo '${'$as_ac_Header'}'`
5373 { echo "$as_me:$LINENO: result: $ac_res" >&5
5374 echo "${ECHO_T}$ac_res" >&6; }
5377 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5378 cat >>confdefs.h <<_ACEOF
5379 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5387 for ac_header in endian.h
5389 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5390 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5391 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5392 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5393 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5394 echo $ECHO_N "(cached) $ECHO_C" >&6
5396 ac_res=`eval echo '${'$as_ac_Header'}'`
5397 { echo "$as_me:$LINENO: result: $ac_res" >&5
5398 echo "${ECHO_T}$ac_res" >&6; }
5400 # Is the header compilable?
5401 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5402 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5403 cat >conftest.$ac_ext <<_ACEOF
5406 cat confdefs.h >>conftest.$ac_ext
5407 cat >>conftest.$ac_ext <<_ACEOF
5408 /* end confdefs.h. */
5409 $ac_includes_default
5410 #include <$ac_header>
5412 rm -f conftest.$ac_objext
5413 if { (ac_try="$ac_compile"
5415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5416 *) ac_try_echo=$ac_try;;
5418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5419 (eval "$ac_compile") 2>conftest.er1
5421 grep -v '^ *+' conftest.er1 >conftest.err
5423 cat conftest.err >&5
5424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5425 (exit $ac_status); } &&
5426 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5427 { (case "(($ac_try" in
5428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5429 *) ac_try_echo=$ac_try;;
5431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5432 (eval "$ac_try") 2>&5
5434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5435 (exit $ac_status); }; } &&
5436 { ac_try='test -s conftest.$ac_objext'
5437 { (case "(($ac_try" in
5438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5439 *) ac_try_echo=$ac_try;;
5441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5442 (eval "$ac_try") 2>&5
5444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5445 (exit $ac_status); }; }; then
5446 ac_header_compiler=yes
5448 echo "$as_me: failed program was:" >&5
5449 sed 's/^/| /' conftest.$ac_ext >&5
5451 ac_header_compiler=no
5454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5455 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5456 echo "${ECHO_T}$ac_header_compiler" >&6; }
5458 # Is the header present?
5459 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5460 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5461 cat >conftest.$ac_ext <<_ACEOF
5464 cat confdefs.h >>conftest.$ac_ext
5465 cat >>conftest.$ac_ext <<_ACEOF
5466 /* end confdefs.h. */
5467 #include <$ac_header>
5469 if { (ac_try="$ac_cpp conftest.$ac_ext"
5471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5472 *) ac_try_echo=$ac_try;;
5474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5475 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5477 grep -v '^ *+' conftest.er1 >conftest.err
5479 cat conftest.err >&5
5480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5481 (exit $ac_status); } >/dev/null; then
5482 if test -s conftest.err; then
5483 ac_cpp_err=$ac_c_preproc_warn_flag
5484 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5491 if test -z "$ac_cpp_err"; then
5492 ac_header_preproc=yes
5494 echo "$as_me: failed program was:" >&5
5495 sed 's/^/| /' conftest.$ac_ext >&5
5497 ac_header_preproc=no
5500 rm -f conftest.err conftest.$ac_ext
5501 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5502 echo "${ECHO_T}$ac_header_preproc" >&6; }
5504 # So? What about this header?
5505 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5507 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5508 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5509 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5510 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5511 ac_header_preproc=yes
5514 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5515 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5516 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5517 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5518 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5519 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5520 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5521 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5522 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5523 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5524 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5525 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5529 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5530 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5531 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5532 echo $ECHO_N "(cached) $ECHO_C" >&6
5534 eval "$as_ac_Header=\$ac_header_preproc"
5536 ac_res=`eval echo '${'$as_ac_Header'}'`
5537 { echo "$as_me:$LINENO: result: $ac_res" >&5
5538 echo "${ECHO_T}$ac_res" >&6; }
5541 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5542 cat >>confdefs.h <<_ACEOF
5543 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5551 { echo "$as_me:$LINENO: checking for off_t" >&5
5552 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
5553 if test "${ac_cv_type_off_t+set}" = set; then
5554 echo $ECHO_N "(cached) $ECHO_C" >&6
5556 cat >conftest.$ac_ext <<_ACEOF
5559 cat confdefs.h >>conftest.$ac_ext
5560 cat >>conftest.$ac_ext <<_ACEOF
5561 /* end confdefs.h. */
5562 $ac_includes_default
5563 typedef off_t ac__type_new_;
5567 if ((ac__type_new_ *) 0)
5569 if (sizeof (ac__type_new_))
5575 rm -f conftest.$ac_objext
5576 if { (ac_try="$ac_compile"
5578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5579 *) ac_try_echo=$ac_try;;
5581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5582 (eval "$ac_compile") 2>conftest.er1
5584 grep -v '^ *+' conftest.er1 >conftest.err
5586 cat conftest.err >&5
5587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5588 (exit $ac_status); } &&
5589 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5590 { (case "(($ac_try" in
5591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5592 *) ac_try_echo=$ac_try;;
5594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5595 (eval "$ac_try") 2>&5
5597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5598 (exit $ac_status); }; } &&
5599 { ac_try='test -s conftest.$ac_objext'
5600 { (case "(($ac_try" in
5601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5602 *) ac_try_echo=$ac_try;;
5604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5605 (eval "$ac_try") 2>&5
5607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5608 (exit $ac_status); }; }; then
5609 ac_cv_type_off_t=yes
5611 echo "$as_me: failed program was:" >&5
5612 sed 's/^/| /' conftest.$ac_ext >&5
5617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5619 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5620 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
5621 if test $ac_cv_type_off_t = yes; then
5625 cat >>confdefs.h <<_ACEOF
5626 #define off_t signed long
5631 { echo "$as_me:$LINENO: checking for size_t" >&5
5632 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
5633 if test "${ac_cv_type_size_t+set}" = set; then
5634 echo $ECHO_N "(cached) $ECHO_C" >&6
5636 cat >conftest.$ac_ext <<_ACEOF
5639 cat confdefs.h >>conftest.$ac_ext
5640 cat >>conftest.$ac_ext <<_ACEOF
5641 /* end confdefs.h. */
5642 $ac_includes_default
5643 typedef size_t ac__type_new_;
5647 if ((ac__type_new_ *) 0)
5649 if (sizeof (ac__type_new_))
5655 rm -f conftest.$ac_objext
5656 if { (ac_try="$ac_compile"
5658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5659 *) ac_try_echo=$ac_try;;
5661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5662 (eval "$ac_compile") 2>conftest.er1
5664 grep -v '^ *+' conftest.er1 >conftest.err
5666 cat conftest.err >&5
5667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5668 (exit $ac_status); } &&
5669 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5670 { (case "(($ac_try" in
5671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5672 *) ac_try_echo=$ac_try;;
5674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5675 (eval "$ac_try") 2>&5
5677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5678 (exit $ac_status); }; } &&
5679 { ac_try='test -s conftest.$ac_objext'
5680 { (case "(($ac_try" in
5681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5682 *) ac_try_echo=$ac_try;;
5684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5685 (eval "$ac_try") 2>&5
5687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5688 (exit $ac_status); }; }; then
5689 ac_cv_type_size_t=yes
5691 echo "$as_me: failed program was:" >&5
5692 sed 's/^/| /' conftest.$ac_ext >&5
5694 ac_cv_type_size_t=no
5697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5699 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5700 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
5701 if test $ac_cv_type_size_t = yes; then
5705 cat >>confdefs.h <<_ACEOF
5706 #define size_t unsigned long
5711 { echo "$as_me:$LINENO: checking for ssize_t" >&5
5712 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
5713 if test "${ac_cv_type_ssize_t+set}" = set; then
5714 echo $ECHO_N "(cached) $ECHO_C" >&6
5716 cat >conftest.$ac_ext <<_ACEOF
5719 cat confdefs.h >>conftest.$ac_ext
5720 cat >>conftest.$ac_ext <<_ACEOF
5721 /* end confdefs.h. */
5722 $ac_includes_default
5723 typedef ssize_t ac__type_new_;
5727 if ((ac__type_new_ *) 0)
5729 if (sizeof (ac__type_new_))
5735 rm -f conftest.$ac_objext
5736 if { (ac_try="$ac_compile"
5738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5739 *) ac_try_echo=$ac_try;;
5741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5742 (eval "$ac_compile") 2>conftest.er1
5744 grep -v '^ *+' conftest.er1 >conftest.err
5746 cat conftest.err >&5
5747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5748 (exit $ac_status); } &&
5749 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5750 { (case "(($ac_try" in
5751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5752 *) ac_try_echo=$ac_try;;
5754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5755 (eval "$ac_try") 2>&5
5757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5758 (exit $ac_status); }; } &&
5759 { ac_try='test -s conftest.$ac_objext'
5760 { (case "(($ac_try" in
5761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5762 *) ac_try_echo=$ac_try;;
5764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5765 (eval "$ac_try") 2>&5
5767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5768 (exit $ac_status); }; }; then
5769 ac_cv_type_ssize_t=yes
5771 echo "$as_me: failed program was:" >&5
5772 sed 's/^/| /' conftest.$ac_ext >&5
5774 ac_cv_type_ssize_t=no
5777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5779 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
5780 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
5781 if test $ac_cv_type_ssize_t = yes; then
5785 cat >>confdefs.h <<_ACEOF
5786 #define ssize_t signed long
5793 for ac_func in lchown
5795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5796 { echo "$as_me:$LINENO: checking for $ac_func" >&5
5797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5798 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5799 echo $ECHO_N "(cached) $ECHO_C" >&6
5801 cat >conftest.$ac_ext <<_ACEOF
5804 cat confdefs.h >>conftest.$ac_ext
5805 cat >>conftest.$ac_ext <<_ACEOF
5806 /* end confdefs.h. */
5807 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5809 #define $ac_func innocuous_$ac_func
5811 /* System header to define __stub macros and hopefully few prototypes,
5812 which can conflict with char $ac_func (); below.
5813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5814 <limits.h> exists even on freestanding compilers. */
5817 # include <limits.h>
5819 # include <assert.h>
5824 /* Override any GCC internal prototype to avoid an error.
5825 Use char because int might match the return type of a GCC
5826 builtin and then its argument prototype would still apply. */
5831 /* The GNU C library defines this for functions which it implements
5832 to always fail with ENOSYS. Some functions are actually named
5833 something starting with __ and the normal name is an alias. */
5834 #if defined __stub_$ac_func || defined __stub___$ac_func
5846 rm -f conftest.$ac_objext conftest$ac_exeext
5847 if { (ac_try="$ac_link"
5849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5850 *) ac_try_echo=$ac_try;;
5852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5853 (eval "$ac_link") 2>conftest.er1
5855 grep -v '^ *+' conftest.er1 >conftest.err
5857 cat conftest.err >&5
5858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5859 (exit $ac_status); } &&
5860 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5861 { (case "(($ac_try" in
5862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5863 *) ac_try_echo=$ac_try;;
5865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5866 (eval "$ac_try") 2>&5
5868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5869 (exit $ac_status); }; } &&
5870 { ac_try='test -s conftest$ac_exeext'
5871 { (case "(($ac_try" in
5872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5873 *) ac_try_echo=$ac_try;;
5875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5876 (eval "$ac_try") 2>&5
5878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5879 (exit $ac_status); }; }; then
5880 eval "$as_ac_var=yes"
5882 echo "$as_me: failed program was:" >&5
5883 sed 's/^/| /' conftest.$ac_ext >&5
5885 eval "$as_ac_var=no"
5888 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5889 conftest$ac_exeext conftest.$ac_ext
5891 ac_res=`eval echo '${'$as_ac_var'}'`
5892 { echo "$as_me:$LINENO: result: $ac_res" >&5
5893 echo "${ECHO_T}$ac_res" >&6; }
5894 if test `eval echo '${'$as_ac_var'}'` = yes; then
5895 cat >>confdefs.h <<_ACEOF
5896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5903 for ac_func in utimes
5905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5906 { echo "$as_me:$LINENO: checking for $ac_func" >&5
5907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5908 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5909 echo $ECHO_N "(cached) $ECHO_C" >&6
5911 cat >conftest.$ac_ext <<_ACEOF
5914 cat confdefs.h >>conftest.$ac_ext
5915 cat >>conftest.$ac_ext <<_ACEOF
5916 /* end confdefs.h. */
5917 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5919 #define $ac_func innocuous_$ac_func
5921 /* System header to define __stub macros and hopefully few prototypes,
5922 which can conflict with char $ac_func (); below.
5923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5924 <limits.h> exists even on freestanding compilers. */
5927 # include <limits.h>
5929 # include <assert.h>
5934 /* Override any GCC internal prototype to avoid an error.
5935 Use char because int might match the return type of a GCC
5936 builtin and then its argument prototype would still apply. */
5941 /* The GNU C library defines this for functions which it implements
5942 to always fail with ENOSYS. Some functions are actually named
5943 something starting with __ and the normal name is an alias. */
5944 #if defined __stub_$ac_func || defined __stub___$ac_func
5956 rm -f conftest.$ac_objext conftest$ac_exeext
5957 if { (ac_try="$ac_link"
5959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5960 *) ac_try_echo=$ac_try;;
5962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5963 (eval "$ac_link") 2>conftest.er1
5965 grep -v '^ *+' conftest.er1 >conftest.err
5967 cat conftest.err >&5
5968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5969 (exit $ac_status); } &&
5970 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5971 { (case "(($ac_try" in
5972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5973 *) ac_try_echo=$ac_try;;
5975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5976 (eval "$ac_try") 2>&5
5978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5979 (exit $ac_status); }; } &&
5980 { ac_try='test -s conftest$ac_exeext'
5981 { (case "(($ac_try" in
5982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5983 *) ac_try_echo=$ac_try;;
5985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5986 (eval "$ac_try") 2>&5
5988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5989 (exit $ac_status); }; }; then
5990 eval "$as_ac_var=yes"
5992 echo "$as_me: failed program was:" >&5
5993 sed 's/^/| /' conftest.$ac_ext >&5
5995 eval "$as_ac_var=no"
5998 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5999 conftest$ac_exeext conftest.$ac_ext
6001 ac_res=`eval echo '${'$as_ac_var'}'`
6002 { echo "$as_me:$LINENO: result: $ac_res" >&5
6003 echo "${ECHO_T}$ac_res" >&6; }
6004 if test `eval echo '${'$as_ac_var'}'` = yes; then
6005 cat >>confdefs.h <<_ACEOF
6006 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6013 { echo "$as_me:$LINENO: checking for struct stat.st_mtim.tv_usec" >&5
6014 echo $ECHO_N "checking for struct stat.st_mtim.tv_usec... $ECHO_C" >&6; }
6015 if test "${ac_cv_member_struct_stat_st_mtim_tv_usec+set}" = set; then
6016 echo $ECHO_N "(cached) $ECHO_C" >&6
6018 cat >conftest.$ac_ext <<_ACEOF
6021 cat confdefs.h >>conftest.$ac_ext
6022 cat >>conftest.$ac_ext <<_ACEOF
6023 /* end confdefs.h. */
6024 #include <sys/stat.h>
6029 static struct stat ac_aggr;
6030 if (ac_aggr.st_mtim.tv_usec)
6036 rm -f conftest.$ac_objext
6037 if { (ac_try="$ac_compile"
6039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6040 *) ac_try_echo=$ac_try;;
6042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6043 (eval "$ac_compile") 2>conftest.er1
6045 grep -v '^ *+' conftest.er1 >conftest.err
6047 cat conftest.err >&5
6048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6049 (exit $ac_status); } &&
6050 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6051 { (case "(($ac_try" in
6052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6053 *) ac_try_echo=$ac_try;;
6055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6056 (eval "$ac_try") 2>&5
6058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6059 (exit $ac_status); }; } &&
6060 { ac_try='test -s conftest.$ac_objext'
6061 { (case "(($ac_try" in
6062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6063 *) ac_try_echo=$ac_try;;
6065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6066 (eval "$ac_try") 2>&5
6068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6069 (exit $ac_status); }; }; then
6070 ac_cv_member_struct_stat_st_mtim_tv_usec=yes
6072 echo "$as_me: failed program was:" >&5
6073 sed 's/^/| /' conftest.$ac_ext >&5
6075 cat >conftest.$ac_ext <<_ACEOF
6078 cat confdefs.h >>conftest.$ac_ext
6079 cat >>conftest.$ac_ext <<_ACEOF
6080 /* end confdefs.h. */
6081 #include <sys/stat.h>
6086 static struct stat ac_aggr;
6087 if (sizeof ac_aggr.st_mtim.tv_usec)
6093 rm -f conftest.$ac_objext
6094 if { (ac_try="$ac_compile"
6096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6097 *) ac_try_echo=$ac_try;;
6099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6100 (eval "$ac_compile") 2>conftest.er1
6102 grep -v '^ *+' conftest.er1 >conftest.err
6104 cat conftest.err >&5
6105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6106 (exit $ac_status); } &&
6107 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6108 { (case "(($ac_try" in
6109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6110 *) ac_try_echo=$ac_try;;
6112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6113 (eval "$ac_try") 2>&5
6115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6116 (exit $ac_status); }; } &&
6117 { ac_try='test -s conftest.$ac_objext'
6118 { (case "(($ac_try" in
6119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6120 *) ac_try_echo=$ac_try;;
6122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6123 (eval "$ac_try") 2>&5
6125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6126 (exit $ac_status); }; }; then
6127 ac_cv_member_struct_stat_st_mtim_tv_usec=yes
6129 echo "$as_me: failed program was:" >&5
6130 sed 's/^/| /' conftest.$ac_ext >&5
6132 ac_cv_member_struct_stat_st_mtim_tv_usec=no
6135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6140 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_mtim_tv_usec" >&5
6141 echo "${ECHO_T}$ac_cv_member_struct_stat_st_mtim_tv_usec" >&6; }
6142 if test $ac_cv_member_struct_stat_st_mtim_tv_usec = yes; then
6144 cat >>confdefs.h <<_ACEOF
6145 #define HAVE_STRUCT_STAT_ST_MTIM_TV_USEC 1
6153 { echo "$as_me:$LINENO: checking for struct stat.st_mtim.tv_nsec" >&5
6154 echo $ECHO_N "checking for struct stat.st_mtim.tv_nsec... $ECHO_C" >&6; }
6155 if test "${ac_cv_member_struct_stat_st_mtim_tv_nsec+set}" = set; then
6156 echo $ECHO_N "(cached) $ECHO_C" >&6
6158 cat >conftest.$ac_ext <<_ACEOF
6161 cat confdefs.h >>conftest.$ac_ext
6162 cat >>conftest.$ac_ext <<_ACEOF
6163 /* end confdefs.h. */
6164 #include <sys/stat.h>
6169 static struct stat ac_aggr;
6170 if (ac_aggr.st_mtim.tv_nsec)
6176 rm -f conftest.$ac_objext
6177 if { (ac_try="$ac_compile"
6179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6180 *) ac_try_echo=$ac_try;;
6182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6183 (eval "$ac_compile") 2>conftest.er1
6185 grep -v '^ *+' conftest.er1 >conftest.err
6187 cat conftest.err >&5
6188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6189 (exit $ac_status); } &&
6190 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6191 { (case "(($ac_try" in
6192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6193 *) ac_try_echo=$ac_try;;
6195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6196 (eval "$ac_try") 2>&5
6198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6199 (exit $ac_status); }; } &&
6200 { ac_try='test -s conftest.$ac_objext'
6201 { (case "(($ac_try" in
6202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6203 *) ac_try_echo=$ac_try;;
6205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6206 (eval "$ac_try") 2>&5
6208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6209 (exit $ac_status); }; }; then
6210 ac_cv_member_struct_stat_st_mtim_tv_nsec=yes
6212 echo "$as_me: failed program was:" >&5
6213 sed 's/^/| /' conftest.$ac_ext >&5
6215 cat >conftest.$ac_ext <<_ACEOF
6218 cat confdefs.h >>conftest.$ac_ext
6219 cat >>conftest.$ac_ext <<_ACEOF
6220 /* end confdefs.h. */
6221 #include <sys/stat.h>
6226 static struct stat ac_aggr;
6227 if (sizeof ac_aggr.st_mtim.tv_nsec)
6233 rm -f conftest.$ac_objext
6234 if { (ac_try="$ac_compile"
6236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6237 *) ac_try_echo=$ac_try;;
6239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6240 (eval "$ac_compile") 2>conftest.er1
6242 grep -v '^ *+' conftest.er1 >conftest.err
6244 cat conftest.err >&5
6245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6246 (exit $ac_status); } &&
6247 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6248 { (case "(($ac_try" in
6249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6250 *) ac_try_echo=$ac_try;;
6252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6253 (eval "$ac_try") 2>&5
6255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6256 (exit $ac_status); }; } &&
6257 { ac_try='test -s conftest.$ac_objext'
6258 { (case "(($ac_try" in
6259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6260 *) ac_try_echo=$ac_try;;
6262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6263 (eval "$ac_try") 2>&5
6265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6266 (exit $ac_status); }; }; then
6267 ac_cv_member_struct_stat_st_mtim_tv_nsec=yes
6269 echo "$as_me: failed program was:" >&5
6270 sed 's/^/| /' conftest.$ac_ext >&5
6272 ac_cv_member_struct_stat_st_mtim_tv_nsec=no
6275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6280 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_mtim_tv_nsec" >&5
6281 echo "${ECHO_T}$ac_cv_member_struct_stat_st_mtim_tv_nsec" >&6; }
6282 if test $ac_cv_member_struct_stat_st_mtim_tv_nsec = yes; then
6284 cat >>confdefs.h <<_ACEOF
6285 #define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1
6294 { echo "$as_me:$LINENO: checking for library containing compress2" >&5
6295 echo $ECHO_N "checking for library containing compress2... $ECHO_C" >&6; }
6296 if test "${ac_cv_search_compress2+set}" = set; then
6297 echo $ECHO_N "(cached) $ECHO_C" >&6
6299 ac_func_search_save_LIBS=$LIBS
6300 cat >conftest.$ac_ext <<_ACEOF
6303 cat confdefs.h >>conftest.$ac_ext
6304 cat >>conftest.$ac_ext <<_ACEOF
6305 /* end confdefs.h. */
6307 /* Override any GCC internal prototype to avoid an error.
6308 Use char because int might match the return type of a GCC
6309 builtin and then its argument prototype would still apply. */
6317 return compress2 ();
6322 for ac_lib in '' z; do
6323 if test -z "$ac_lib"; then
6324 ac_res="none required"
6327 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6329 rm -f conftest.$ac_objext conftest$ac_exeext
6330 if { (ac_try="$ac_link"
6332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6333 *) ac_try_echo=$ac_try;;
6335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6336 (eval "$ac_link") 2>conftest.er1
6338 grep -v '^ *+' conftest.er1 >conftest.err
6340 cat conftest.err >&5
6341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6342 (exit $ac_status); } &&
6343 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6344 { (case "(($ac_try" in
6345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6346 *) ac_try_echo=$ac_try;;
6348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6349 (eval "$ac_try") 2>&5
6351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6352 (exit $ac_status); }; } &&
6353 { ac_try='test -s conftest$ac_exeext'
6354 { (case "(($ac_try" in
6355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6356 *) ac_try_echo=$ac_try;;
6358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6359 (eval "$ac_try") 2>&5
6361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6362 (exit $ac_status); }; }; then
6363 ac_cv_search_compress2=$ac_res
6365 echo "$as_me: failed program was:" >&5
6366 sed 's/^/| /' conftest.$ac_ext >&5
6371 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6373 if test "${ac_cv_search_compress2+set}" = set; then
6377 if test "${ac_cv_search_compress2+set}" = set; then
6380 ac_cv_search_compress2=no
6383 LIBS=$ac_func_search_save_LIBS
6385 { echo "$as_me:$LINENO: result: $ac_cv_search_compress2" >&5
6386 echo "${ECHO_T}$ac_cv_search_compress2" >&6; }
6387 ac_res=$ac_cv_search_compress2
6388 if test "$ac_res" != no; then
6389 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6392 { { echo "$as_me:$LINENO: error: zlib not found" >&5
6393 echo "$as_me: error: zlib not found" >&2;}
6394 { (exit cannot continue); exit cannot continue; }; }
6397 { echo "$as_me:$LINENO: checking for library containing getopt_long" >&5
6398 echo $ECHO_N "checking for library containing getopt_long... $ECHO_C" >&6; }
6399 if test "${ac_cv_search_getopt_long+set}" = set; then
6400 echo $ECHO_N "(cached) $ECHO_C" >&6
6402 ac_func_search_save_LIBS=$LIBS
6403 cat >conftest.$ac_ext <<_ACEOF
6406 cat confdefs.h >>conftest.$ac_ext
6407 cat >>conftest.$ac_ext <<_ACEOF
6408 /* end confdefs.h. */
6410 /* Override any GCC internal prototype to avoid an error.
6411 Use char because int might match the return type of a GCC
6412 builtin and then its argument prototype would still apply. */
6416 char getopt_long ();
6420 return getopt_long ();
6425 for ac_lib in '' getopt getopt_long; do
6426 if test -z "$ac_lib"; then
6427 ac_res="none required"
6430 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6432 rm -f conftest.$ac_objext conftest$ac_exeext
6433 if { (ac_try="$ac_link"
6435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6436 *) ac_try_echo=$ac_try;;
6438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6439 (eval "$ac_link") 2>conftest.er1
6441 grep -v '^ *+' conftest.er1 >conftest.err
6443 cat conftest.err >&5
6444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6445 (exit $ac_status); } &&
6446 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6447 { (case "(($ac_try" in
6448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6449 *) ac_try_echo=$ac_try;;
6451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6452 (eval "$ac_try") 2>&5
6454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6455 (exit $ac_status); }; } &&
6456 { ac_try='test -s conftest$ac_exeext'
6457 { (case "(($ac_try" in
6458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6459 *) ac_try_echo=$ac_try;;
6461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6462 (eval "$ac_try") 2>&5
6464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6465 (exit $ac_status); }; }; then
6466 ac_cv_search_getopt_long=$ac_res
6468 echo "$as_me: failed program was:" >&5
6469 sed 's/^/| /' conftest.$ac_ext >&5
6474 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6476 if test "${ac_cv_search_getopt_long+set}" = set; then
6480 if test "${ac_cv_search_getopt_long+set}" = set; then
6483 ac_cv_search_getopt_long=no
6486 LIBS=$ac_func_search_save_LIBS
6488 { echo "$as_me:$LINENO: result: $ac_cv_search_getopt_long" >&5
6489 echo "${ECHO_T}$ac_cv_search_getopt_long" >&6; }
6490 ac_res=$ac_cv_search_getopt_long
6491 if test "$ac_res" != no; then
6492 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6497 for ac_func in getopt_long
6499 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6500 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6501 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6502 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6503 echo $ECHO_N "(cached) $ECHO_C" >&6
6505 cat >conftest.$ac_ext <<_ACEOF
6508 cat confdefs.h >>conftest.$ac_ext
6509 cat >>conftest.$ac_ext <<_ACEOF
6510 /* end confdefs.h. */
6511 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6512 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6513 #define $ac_func innocuous_$ac_func
6515 /* System header to define __stub macros and hopefully few prototypes,
6516 which can conflict with char $ac_func (); below.
6517 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6518 <limits.h> exists even on freestanding compilers. */
6521 # include <limits.h>
6523 # include <assert.h>
6528 /* Override any GCC internal prototype to avoid an error.
6529 Use char because int might match the return type of a GCC
6530 builtin and then its argument prototype would still apply. */
6535 /* The GNU C library defines this for functions which it implements
6536 to always fail with ENOSYS. Some functions are actually named
6537 something starting with __ and the normal name is an alias. */
6538 #if defined __stub_$ac_func || defined __stub___$ac_func
6550 rm -f conftest.$ac_objext conftest$ac_exeext
6551 if { (ac_try="$ac_link"
6553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6554 *) ac_try_echo=$ac_try;;
6556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6557 (eval "$ac_link") 2>conftest.er1
6559 grep -v '^ *+' conftest.er1 >conftest.err
6561 cat conftest.err >&5
6562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6563 (exit $ac_status); } &&
6564 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6565 { (case "(($ac_try" in
6566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6567 *) ac_try_echo=$ac_try;;
6569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6570 (eval "$ac_try") 2>&5
6572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6573 (exit $ac_status); }; } &&
6574 { ac_try='test -s conftest$ac_exeext'
6575 { (case "(($ac_try" in
6576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6577 *) ac_try_echo=$ac_try;;
6579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6580 (eval "$ac_try") 2>&5
6582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6583 (exit $ac_status); }; }; then
6584 eval "$as_ac_var=yes"
6586 echo "$as_me: failed program was:" >&5
6587 sed 's/^/| /' conftest.$ac_ext >&5
6589 eval "$as_ac_var=no"
6592 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6593 conftest$ac_exeext conftest.$ac_ext
6595 ac_res=`eval echo '${'$as_ac_var'}'`
6596 { echo "$as_me:$LINENO: result: $ac_res" >&5
6597 echo "${ECHO_T}$ac_res" >&6; }
6598 if test `eval echo '${'$as_ac_var'}'` = yes; then
6599 cat >>confdefs.h <<_ACEOF
6600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6609 if test -n "$ac_tool_prefix"; then
6610 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6611 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6612 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6613 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6614 if test "${ac_cv_prog_RANLIB+set}" = set; then
6615 echo $ECHO_N "(cached) $ECHO_C" >&6
6617 if test -n "$RANLIB"; then
6618 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6624 test -z "$as_dir" && as_dir=.
6625 for ac_exec_ext in '' $ac_executable_extensions; do
6626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6627 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6628 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6637 RANLIB=$ac_cv_prog_RANLIB
6638 if test -n "$RANLIB"; then
6639 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6640 echo "${ECHO_T}$RANLIB" >&6; }
6642 { echo "$as_me:$LINENO: result: no" >&5
6643 echo "${ECHO_T}no" >&6; }
6648 if test -z "$ac_cv_prog_RANLIB"; then
6649 ac_ct_RANLIB=$RANLIB
6650 # Extract the first word of "ranlib", so it can be a program name with args.
6651 set dummy ranlib; ac_word=$2
6652 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6654 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6655 echo $ECHO_N "(cached) $ECHO_C" >&6
6657 if test -n "$ac_ct_RANLIB"; then
6658 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6664 test -z "$as_dir" && as_dir=.
6665 for ac_exec_ext in '' $ac_executable_extensions; do
6666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6667 ac_cv_prog_ac_ct_RANLIB="ranlib"
6668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6677 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6678 if test -n "$ac_ct_RANLIB"; then
6679 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6680 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6682 { echo "$as_me:$LINENO: result: no" >&5
6683 echo "${ECHO_T}no" >&6; }
6686 if test "x$ac_ct_RANLIB" = x; then
6689 case $cross_compiling:$ac_tool_warned in
6691 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6692 whose name does not start with the host triplet. If you think this
6693 configuration is useful to you, please write to autoconf@gnu.org." >&5
6694 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6695 whose name does not start with the host triplet. If you think this
6696 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6697 ac_tool_warned=yes ;;
6699 RANLIB=$ac_ct_RANLIB
6702 RANLIB="$ac_cv_prog_RANLIB"
6706 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
6707 if test -f "$ac_dir/install-sh"; then
6709 ac_install_sh="$ac_aux_dir/install-sh -c"
6711 elif test -f "$ac_dir/install.sh"; then
6713 ac_install_sh="$ac_aux_dir/install.sh -c"
6715 elif test -f "$ac_dir/shtool"; then
6717 ac_install_sh="$ac_aux_dir/shtool install -c"
6721 if test -z "$ac_aux_dir"; then
6722 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
6723 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
6724 { (exit 1); exit 1; }; }
6727 # These three variables are undocumented and unsupported,
6728 # and are intended to be withdrawn in a future Autoconf release.
6729 # They can cause serious problems if a builder's source tree is in a directory
6730 # whose full name contains unusual characters.
6731 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
6732 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
6733 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
6736 # Find a good install program. We prefer a C program (faster),
6737 # so one script is as good as another. But avoid the broken or
6738 # incompatible versions:
6739 # SysV /etc/install, /usr/sbin/install
6740 # SunOS /usr/etc/install
6741 # IRIX /sbin/install
6743 # AmigaOS /C/install, which installs bootblocks on floppy discs
6744 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6745 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6746 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6747 # OS/2's system install, which has a completely different semantic
6748 # ./install, which can be erroneously created by make from ./install.sh.
6749 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6750 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6751 if test -z "$INSTALL"; then
6752 if test "${ac_cv_path_install+set}" = set; then
6753 echo $ECHO_N "(cached) $ECHO_C" >&6
6755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6759 test -z "$as_dir" && as_dir=.
6760 # Account for people who put trailing slashes in PATH elements.
6762 ./ | .// | /cC/* | \
6763 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6764 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6767 # OSF1 and SCO ODT 3.0 have their own names for install.
6768 # Don't use installbsd from OSF since it installs stuff as root
6770 for ac_prog in ginstall scoinst install; do
6771 for ac_exec_ext in '' $ac_executable_extensions; do
6772 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
6773 if test $ac_prog = install &&
6774 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6775 # AIX install. It has an incompatible calling convention.
6777 elif test $ac_prog = install &&
6778 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6779 # program-specific install script used by HP pwplus--don't use.
6782 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6795 if test "${ac_cv_path_install+set}" = set; then
6796 INSTALL=$ac_cv_path_install
6798 # As a last resort, use the slow shell script. Don't cache a
6799 # value for INSTALL within a source directory, because that will
6800 # break other packages using the cache if that directory is
6801 # removed, or if the value is a relative name.
6802 INSTALL=$ac_install_sh
6805 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6806 echo "${ECHO_T}$INSTALL" >&6; }
6808 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6809 # It thinks the first close brace ends the variable substitution.
6810 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6812 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6814 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6817 ac_config_headers="$ac_config_headers config.h"
6819 ac_config_files="$ac_config_files MCONFIG"
6821 cat >confcache <<\_ACEOF
6822 # This file is a shell script that caches the results of configure
6823 # tests run on this system so they can be shared between configure
6824 # scripts and configure runs, see configure's option --config-cache.
6825 # It is not useful on other systems. If it contains results you don't
6826 # want to keep, you may remove or edit it.
6828 # config.status only pays attention to the cache file if you give it
6829 # the --recheck option to rerun configure.
6831 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6832 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6837 # The following way of writing the cache mishandles newlines in values,
6838 # but we know of no workaround that is simple, portable, and efficient.
6839 # So, we kill variables containing newlines.
6840 # Ultrix sh set writes to stderr and can't be redirected directly,
6841 # and sets the high bit in the cache file unless we assign to the vars.
6843 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6844 eval ac_val=\$$ac_var
6848 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
6849 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
6852 _ | IFS | as_nl) ;; #(
6853 *) $as_unset $ac_var ;;
6859 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6860 *${as_nl}ac_space=\ *)
6861 # `set' does not quote correctly, so add quotes (double-quote
6862 # substitution turns \\\\ into \\, and sed turns \\ into \).
6865 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6868 # `set' quotes correctly as required by POSIX, so do not add quotes.
6869 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6878 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6880 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6882 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6883 if test -w "$cache_file"; then
6884 test "x$cache_file" != "x/dev/null" &&
6885 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
6886 echo "$as_me: updating cache $cache_file" >&6;}
6887 cat confcache >$cache_file
6889 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
6890 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6895 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6896 # Let make expand exec_prefix.
6897 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6899 DEFS=-DHAVE_CONFIG_H
6903 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6904 # 1. Remove the extension, and $U if already installed.
6905 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6906 ac_i=`echo "$ac_i" | sed "$ac_script"`
6907 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6908 # will be set to the directory where LIBOBJS objects are built.
6909 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6910 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
6914 LTLIBOBJS=$ac_ltlibobjs
6918 : ${CONFIG_STATUS=./config.status}
6919 ac_clean_files_save=$ac_clean_files
6920 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6921 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6922 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6923 cat >$CONFIG_STATUS <<_ACEOF
6925 # Generated by $as_me.
6926 # Run this file to recreate the current configuration.
6927 # Compiler output produced by configure, useful for debugging
6928 # configure, is in config.log if it exists.
6933 SHELL=\${CONFIG_SHELL-$SHELL}
6936 cat >>$CONFIG_STATUS <<\_ACEOF
6937 ## --------------------- ##
6938 ## M4sh Initialization. ##
6939 ## --------------------- ##
6941 # Be Bourne compatible
6942 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6945 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6946 # is contrary to our usage. Disable this feature.
6947 alias -g '${1+"$@"}'='"$@"'
6948 setopt NO_GLOB_SUBST
6950 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
6952 BIN_SH=xpg4; export BIN_SH # for Tru64
6953 DUALCASE=1; export DUALCASE # for MKS sh
6957 # Avoid depending upon Character Ranges.
6958 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6959 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6960 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6961 as_cr_digits='0123456789'
6962 as_cr_alnum=$as_cr_Letters$as_cr_digits
6964 # The user is always right.
6965 if test "${PATH_SEPARATOR+set}" != set; then
6966 echo "#! /bin/sh" >conf$$.sh
6967 echo "exit 0" >>conf$$.sh
6969 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6977 # Support unset when possible.
6978 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6986 # We need space, tab and new line, in precisely that order. Quoting is
6987 # there to prevent editors from complaining about space-tab.
6988 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6989 # splitting by setting IFS to empty value.)
6994 # Find who we are. Look in the path if we contain no directory separator.
6996 *[\\/]* ) as_myself=$0 ;;
6997 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7001 test -z "$as_dir" && as_dir=.
7002 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7008 # We did not find ourselves, most probably we were run as `sh COMMAND'
7009 # in which case we are not to be found in the path.
7010 if test "x$as_myself" = x; then
7013 if test ! -f "$as_myself"; then
7014 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7015 { (exit 1); exit 1; }
7018 # Work around bugs in pre-3.0 UWIN ksh.
7019 for as_var in ENV MAIL MAILPATH
7020 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
7028 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7029 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7030 LC_TELEPHONE LC_TIME
7032 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7033 eval $as_var=C; export $as_var
7035 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
7039 # Required to use basename.
7040 if expr a : '\(a\)' >/dev/null 2>&1 &&
7041 test "X`expr 00001 : '.*\(...\)'`" = X001; then
7047 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7048 as_basename=basename
7054 # Name of the executable.
7055 as_me=`$as_basename -- "$0" ||
7056 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7057 X"$0" : 'X\(//\)$' \| \
7058 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7060 sed '/^.*\/\([^/][^/]*\)\/*$/{
7081 test "x$as_lineno_1" != "x$as_lineno_2" &&
7082 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
7084 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7085 # uniformly replaced by the line number. The first 'sed' inserts a
7086 # line-number line after each line using $LINENO; the second 'sed'
7087 # does the real work. The second script uses 'N' to pair each
7088 # line-number line with the line containing $LINENO, and appends
7089 # trailing '-' during substitution so that $LINENO is not a special
7091 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7092 # scripts with optimization help from Paolo Bonzini. Blame Lee
7093 # E. McMahon (1931-1989) for sed's syntax. :-)
7105 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
7109 chmod +x "$as_me.lineno" ||
7110 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
7111 { (exit 1); exit 1; }; }
7113 # Don't try to exec as it changes $[0], causing all sort of problems
7114 # (the dirname of $[0] is not the place where we might find the
7115 # original and so on. Autoconf is especially sensitive to this).
7117 # Exit status is that of the last command.
7122 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7128 ECHO_C= ECHO_N= ECHO_T=
7131 case `echo 'x\c'` in
7132 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
7139 if expr a : '\(a\)' >/dev/null 2>&1 &&
7140 test "X`expr 00001 : '.*\(...\)'`" = X001; then
7146 rm -f conf$$ conf$$.exe conf$$.file
7147 if test -d conf$$.dir; then
7148 rm -f conf$$.dir/conf$$.file
7154 if ln -s conf$$.file conf$$ 2>/dev/null; then
7156 # ... but there are two gotchas:
7157 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7158 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7159 # In both cases, we have to default to `cp -p'.
7160 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7162 elif ln conf$$.file conf$$ 2>/dev/null; then
7167 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7168 rmdir conf$$.dir 2>/dev/null
7170 if mkdir -p . 2>/dev/null; then
7173 test -d ./-p && rmdir ./-p
7177 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
7178 # systems may use methods other than mode bits to determine executability.
7179 cat >conf$$.file <<_ASEOF
7183 chmod +x conf$$.file
7184 if test -x conf$$.file >/dev/null 2>&1; then
7185 as_executable_p="test -x"
7191 # Sed expression to map a string onto a valid CPP name.
7192 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7194 # Sed expression to map a string onto a valid variable name.
7195 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7200 # Save the log message, to keep $[0] and so on meaningful, and to
7201 # report actual input values of CONFIG_FILES etc. instead of their
7202 # values after options handling.
7204 This file was extended by $as_me, which was
7205 generated by GNU Autoconf 2.60a. Invocation command line was
7207 CONFIG_FILES = $CONFIG_FILES
7208 CONFIG_HEADERS = $CONFIG_HEADERS
7209 CONFIG_LINKS = $CONFIG_LINKS
7210 CONFIG_COMMANDS = $CONFIG_COMMANDS
7213 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7218 cat >>$CONFIG_STATUS <<_ACEOF
7219 # Files that config.status was made for.
7220 config_files="$ac_config_files"
7221 config_headers="$ac_config_headers"
7225 cat >>$CONFIG_STATUS <<\_ACEOF
7227 \`$as_me' instantiates files from templates according to the
7228 current configuration.
7230 Usage: $0 [OPTIONS] [FILE]...
7232 -h, --help print this help, then exit
7233 -V, --version print version number and configuration settings, then exit
7234 -q, --quiet do not print progress messages
7235 -d, --debug don't remove temporary files
7236 --recheck update $as_me by reconfiguring in the same conditions
7237 --file=FILE[:TEMPLATE]
7238 instantiate the configuration file FILE
7239 --header=FILE[:TEMPLATE]
7240 instantiate the configuration header FILE
7242 Configuration files:
7245 Configuration headers:
7248 Report bugs to <bug-autoconf@gnu.org>."
7251 cat >>$CONFIG_STATUS <<_ACEOF
7254 configured by $0, generated by GNU Autoconf 2.60a,
7255 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
7257 Copyright (C) 2006 Free Software Foundation, Inc.
7258 This config.status script is free software; the Free Software Foundation
7259 gives unlimited permission to copy, distribute and modify it."
7266 cat >>$CONFIG_STATUS <<\_ACEOF
7267 # If no file are specified by the user, then we need to provide default
7268 # value. By we need to know if files were specified by the user.
7274 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7275 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7286 # Handling of the options.
7287 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7289 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7290 echo "$ac_cs_version"; exit ;;
7291 --debug | --debu | --deb | --de | --d | -d )
7293 --file | --fil | --fi | --f )
7295 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
7296 ac_need_defaults=false;;
7297 --header | --heade | --head | --hea )
7299 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
7300 ac_need_defaults=false;;
7302 # Conflict between --help and --header
7303 { echo "$as_me: error: ambiguous option: $1
7304 Try \`$0 --help' for more information." >&2
7305 { (exit 1); exit 1; }; };;
7306 --help | --hel | -h )
7307 echo "$ac_cs_usage"; exit ;;
7308 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7309 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7313 -*) { echo "$as_me: error: unrecognized option: $1
7314 Try \`$0 --help' for more information." >&2
7315 { (exit 1); exit 1; }; } ;;
7317 *) ac_config_targets="$ac_config_targets $1"
7318 ac_need_defaults=false ;;
7324 ac_configure_extra_args=
7326 if $ac_cs_silent; then
7328 ac_configure_extra_args="$ac_configure_extra_args --silent"
7332 cat >>$CONFIG_STATUS <<_ACEOF
7333 if \$ac_cs_recheck; then
7334 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7337 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7341 cat >>$CONFIG_STATUS <<\_ACEOF
7345 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7346 ## Running $as_me. ##
7352 cat >>$CONFIG_STATUS <<_ACEOF
7355 cat >>$CONFIG_STATUS <<\_ACEOF
7357 # Handling of arguments.
7358 for ac_config_target in $ac_config_targets
7360 case $ac_config_target in
7361 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7362 "MCONFIG") CONFIG_FILES="$CONFIG_FILES MCONFIG" ;;
7364 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7365 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7366 { (exit 1); exit 1; }; };;
7371 # If the user did not use the arguments to specify the items to instantiate,
7372 # then the envvar interface is used. Set only those that are not.
7373 # We use the long form for the default assignment because of an extremely
7374 # bizarre bug on SunOS 4.1.3.
7375 if $ac_need_defaults; then
7376 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7377 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7380 # Have a temporary directory for convenience. Make it in the build tree
7381 # simply because there is no reason against having it here, and in addition,
7382 # creating and moving files from /tmp can sometimes cause problems.
7383 # Hook for its removal unless debugging.
7384 # Note that there is a small window in which the directory will not be cleaned:
7385 # after its creation but before its name has been assigned to `$tmp'.
7389 trap 'exit_status=$?
7390 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
7392 trap '{ (exit 1); exit 1; }' 1 2 13 15
7394 # Create a (secure) tmp directory for tmp files.
7397 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7398 test -n "$tmp" && test -d "$tmp"
7401 tmp=./conf$$-$RANDOM
7402 (umask 077 && mkdir "$tmp")
7405 echo "$me: cannot create a temporary directory in ." >&2
7406 { (exit 1); exit 1; }
7410 # Set up the sed scripts for CONFIG_FILES section.
7413 # No need to generate the scripts if there are no CONFIG_FILES.
7414 # This happens for instance when ./config.status config.h
7415 if test -n "$CONFIG_FILES"; then
7422 for ac_last_try in false false false false false :; do
7423 cat >conf$$subs.sed <<_ACEOF
7424 SHELL!$SHELL$ac_delim
7425 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
7426 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
7427 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
7428 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
7429 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
7430 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
7431 exec_prefix!$exec_prefix$ac_delim
7432 prefix!$prefix$ac_delim
7433 program_transform_name!$program_transform_name$ac_delim
7434 bindir!$bindir$ac_delim
7435 sbindir!$sbindir$ac_delim
7436 libexecdir!$libexecdir$ac_delim
7437 datarootdir!$datarootdir$ac_delim
7438 datadir!$datadir$ac_delim
7439 sysconfdir!$sysconfdir$ac_delim
7440 sharedstatedir!$sharedstatedir$ac_delim
7441 localstatedir!$localstatedir$ac_delim
7442 includedir!$includedir$ac_delim
7443 oldincludedir!$oldincludedir$ac_delim
7444 docdir!$docdir$ac_delim
7445 infodir!$infodir$ac_delim
7446 htmldir!$htmldir$ac_delim
7447 dvidir!$dvidir$ac_delim
7448 pdfdir!$pdfdir$ac_delim
7449 psdir!$psdir$ac_delim
7450 libdir!$libdir$ac_delim
7451 localedir!$localedir$ac_delim
7452 mandir!$mandir$ac_delim
7454 ECHO_C!$ECHO_C$ac_delim
7455 ECHO_N!$ECHO_N$ac_delim
7456 ECHO_T!$ECHO_T$ac_delim
7458 build_alias!$build_alias$ac_delim
7459 host_alias!$host_alias$ac_delim
7460 target_alias!$target_alias$ac_delim
7462 CFLAGS!$CFLAGS$ac_delim
7463 LDFLAGS!$LDFLAGS$ac_delim
7464 CPPFLAGS!$CPPFLAGS$ac_delim
7465 ac_ct_CC!$ac_ct_CC$ac_delim
7466 EXEEXT!$EXEEXT$ac_delim
7467 OBJEXT!$OBJEXT$ac_delim
7470 EGREP!$EGREP$ac_delim
7471 RANLIB!$RANLIB$ac_delim
7472 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
7473 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
7474 INSTALL_DATA!$INSTALL_DATA$ac_delim
7475 LIBOBJS!$LIBOBJS$ac_delim
7476 LTLIBOBJS!$LTLIBOBJS$ac_delim
7479 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 53; then
7481 elif $ac_last_try; then
7482 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7483 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7484 { (exit 1); exit 1; }; }
7486 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7490 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
7491 if test -n "$ac_eof"; then
7492 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
7493 ac_eof=`expr $ac_eof + 1`
7496 cat >>$CONFIG_STATUS <<_ACEOF
7497 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
7498 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
7501 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
7502 s/^/s,@/; s/!/@,|#_!!_#|/
7505 s/'"$ac_delim"'$/,g/; t
7507 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
7508 ' >>$CONFIG_STATUS <conf$$subs.sed
7509 rm -f conf$$subs.sed
7510 cat >>$CONFIG_STATUS <<_ACEOF
7517 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7518 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7519 # trailing colons and then remove the whole line if VPATH becomes empty
7520 # (actually we leave an empty line to preserve line numbers).
7521 if test "x$srcdir" = x.; then
7522 ac_vpsub='/^[ ]*VPATH[ ]*=/{
7526 s/^\([^=]*=[ ]*\):*/\1/
7532 cat >>$CONFIG_STATUS <<\_ACEOF
7533 fi # test -n "$CONFIG_FILES"
7536 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS
7539 :[FHLC]) ac_mode=$ac_tag; continue;;
7541 case $ac_mode$ac_tag in
7543 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
7544 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
7545 { (exit 1); exit 1; }; };;
7546 :[FH]-) ac_tag=-:-;;
7547 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7564 -) ac_f="$tmp/stdin";;
7565 *) # Look for the file first in the build tree, then in the source tree
7566 # (if the path is not absolute). The absolute path cannot be DOS-style,
7567 # because $ac_f cannot contain `:'.
7571 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7573 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
7574 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
7575 { (exit 1); exit 1; }; };;
7577 ac_file_inputs="$ac_file_inputs $ac_f"
7580 # Let's still pretend it is `configure' which instantiates (i.e., don't
7581 # use $as_me), people would be surprised to read:
7582 # /* config.h. Generated by config.status. */
7583 configure_input="Generated from "`IFS=:
7584 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
7585 if test x"$ac_file" != x-; then
7586 configure_input="$ac_file. $configure_input"
7587 { echo "$as_me:$LINENO: creating $ac_file" >&5
7588 echo "$as_me: creating $ac_file" >&6;}
7592 *:-:* | *:-) cat >"$tmp/stdin";;
7597 ac_dir=`$as_dirname -- "$ac_file" ||
7598 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7599 X"$ac_file" : 'X\(//\)[^/]' \| \
7600 X"$ac_file" : 'X\(//\)$' \| \
7601 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7603 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7622 -*) as_dir=./$as_dir;;
7624 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
7628 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
7629 *) as_qdir=$as_dir;;
7631 as_dirs="'$as_qdir' $as_dirs"
7632 as_dir=`$as_dirname -- "$as_dir" ||
7633 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7634 X"$as_dir" : 'X\(//\)[^/]' \| \
7635 X"$as_dir" : 'X\(//\)$' \| \
7636 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7638 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7655 test -d "$as_dir" && break
7657 test -z "$as_dirs" || eval "mkdir $as_dirs"
7658 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7659 echo "$as_me: error: cannot create directory $as_dir" >&2;}
7660 { (exit 1); exit 1; }; }; }
7664 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7666 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7667 # A ".." for each directory in $ac_dir_suffix.
7668 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
7669 case $ac_top_builddir_sub in
7670 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7671 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7674 ac_abs_top_builddir=$ac_pwd
7675 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7676 # for backward compatibility:
7677 ac_top_builddir=$ac_top_build_prefix
7680 .) # We are building in place.
7682 ac_top_srcdir=$ac_top_builddir_sub
7683 ac_abs_top_srcdir=$ac_pwd ;;
7684 [\\/]* | ?:[\\/]* ) # Absolute name.
7685 ac_srcdir=$srcdir$ac_dir_suffix;
7686 ac_top_srcdir=$srcdir
7687 ac_abs_top_srcdir=$srcdir ;;
7689 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7690 ac_top_srcdir=$ac_top_build_prefix$srcdir
7691 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7693 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7703 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7704 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7708 cat >>$CONFIG_STATUS <<\_ACEOF
7709 # If the template does not know about datarootdir, expand it.
7710 # FIXME: This hack should be removed a few years after 2.60.
7711 ac_datarootdir_hack=; ac_datarootdir_seen=
7713 case `sed -n '/datarootdir/ {
7722 ' $ac_file_inputs` in
7723 *datarootdir*) ac_datarootdir_seen=yes;;
7724 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7725 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7726 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7728 cat >>$CONFIG_STATUS <<_ACEOF
7729 ac_datarootdir_hack='
7730 s&@datadir@&$datadir&g
7731 s&@docdir@&$docdir&g
7732 s&@infodir@&$infodir&g
7733 s&@localedir@&$localedir&g
7734 s&@mandir@&$mandir&g
7735 s&\\\${datarootdir}&$datarootdir&g' ;;
7739 # Neutralize VPATH when `$srcdir' = `.'.
7740 # Shell code in configure.ac might set extrasub.
7741 # FIXME: do we really want to maintain this feature?
7742 cat >>$CONFIG_STATUS <<_ACEOF
7746 cat >>$CONFIG_STATUS <<\_ACEOF
7748 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7749 s&@configure_input@&$configure_input&;t t
7750 s&@top_builddir@&$ac_top_builddir_sub&;t t
7751 s&@srcdir@&$ac_srcdir&;t t
7752 s&@abs_srcdir@&$ac_abs_srcdir&;t t
7753 s&@top_srcdir@&$ac_top_srcdir&;t t
7754 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7755 s&@builddir@&$ac_builddir&;t t
7756 s&@abs_builddir@&$ac_abs_builddir&;t t
7757 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7758 s&@INSTALL@&$ac_INSTALL&;t t
7759 $ac_datarootdir_hack
7760 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
7762 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7763 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
7764 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
7765 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7766 which seems to be undefined. Please make sure it is defined." >&5
7767 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7768 which seems to be undefined. Please make sure it is defined." >&2;}
7772 -) cat "$tmp/out"; rm -f "$tmp/out";;
7773 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
7782 # Transform confdefs.h into a sed script `conftest.defines', that
7783 # substitutes the proper values into config.h.in to produce config.h.
7784 rm -f conftest.defines conftest.tail
7785 # First, append a space to every undef/define line, to ease matching.
7786 echo 's/$/ /' >conftest.defines
7787 # Then, protect against being on the right side of a sed subst, or in
7788 # an unquoted here document, in config.status. If some macros were
7789 # called several times there might be several #defines for the same
7790 # symbol, which is useless. But do not sort them, since the last
7791 # AC_DEFINE must be honored.
7792 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7793 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
7794 # NAME is the cpp macro being defined, VALUE is the value it is being given.
7795 # PARAMS is the parameter list in the macro definition--in most cases, it's
7796 # just an empty string.
7797 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
7798 ac_dB='\\)[ (].*,\\1define\\2'
7806 s/^[ ]*#[ ]*define[ ][ ]*//
7811 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
7812 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
7813 ' >>conftest.defines
7815 # Remove the space that was appended to ease matching.
7816 # Then replace #undef with comments. This is necessary, for
7817 # example, in the case of _POSIX_SOURCE, which is predefined and required
7818 # on some systems where configure will not decide to define it.
7819 # (The regexp can be short, since the line contains either #define or #undef.)
7821 s,^[ #]*u.*,/* & */,' >>conftest.defines
7823 # Break up conftest.defines:
7826 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
7827 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
7828 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
7830 ac_in='$ac_file_inputs'
7831 ac_out='"$tmp/out1"'
7832 ac_nxt='"$tmp/out2"'
7836 # Write a here document:
7837 cat >>$CONFIG_STATUS <<_ACEOF
7838 # First, check the format of the line:
7839 cat >"\$tmp/defines.sed" <<\\CEOF
7840 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
7841 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
7845 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
7847 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
7848 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
7849 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
7850 grep . conftest.tail >/dev/null || break
7851 rm -f conftest.defines
7852 mv conftest.tail conftest.defines
7854 rm -f conftest.defines conftest.tail
7856 echo "ac_result=$ac_in" >>$CONFIG_STATUS
7857 cat >>$CONFIG_STATUS <<\_ACEOF
7858 if test x"$ac_file" != x-; then
7859 echo "/* $configure_input */" >"$tmp/config.h"
7860 cat "$ac_result" >>"$tmp/config.h"
7861 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
7862 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7863 echo "$as_me: $ac_file is unchanged" >&6;}
7866 mv "$tmp/config.h" $ac_file
7869 echo "/* $configure_input */"
7881 { (exit 0); exit 0; }
7883 chmod +x $CONFIG_STATUS
7884 ac_clean_files=$ac_clean_files_save
7887 # configure is writing to config.log, and then calls config.status.
7888 # config.status does its own redirection, appending to config.log.
7889 # Unfortunately, on DOS this fails, as config.log is still kept open
7890 # by configure, so config.status won't be able to write to it; its
7891 # output is simply discarded. So we exec the FD to /dev/null,
7892 # effectively closing config.log, so it can be properly (re)opened and
7893 # appended to by config.status. When coming back to configure, we
7894 # need to make the FD available again.
7895 if test "$no_create" != yes; then
7897 ac_config_status_args=
7898 test "$silent" = yes &&
7899 ac_config_status_args="$ac_config_status_args --quiet"
7901 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7903 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7904 # would make configure fail if this is the last instruction.
7905 $ac_cs_success || { (exit 1); exit 1; }