2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
22 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
24 BIN_SH=xpg4; export BIN_SH # for Tru64
25 DUALCASE=1; export DUALCASE # for MKS sh
29 # Avoid depending upon Character Ranges.
30 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
31 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
32 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
33 as_cr_digits='0123456789'
34 as_cr_alnum=$as_cr_Letters$as_cr_digits
36 # The user is always right.
37 if test "${PATH_SEPARATOR+set}" != set; then
38 echo "#! /bin/sh" >conf$$.sh
39 echo "exit 0" >>conf$$.sh
41 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49 # Support unset when possible.
50 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58 # We need space, tab and new line, in precisely that order. Quoting is
59 # there to prevent editors from complaining about space-tab.
60 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
61 # splitting by setting IFS to empty value.)
66 # Find who we are. Look in the path if we contain no directory separator.
68 *[\\/]* ) as_myself=$0 ;;
69 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73 test -z "$as_dir" && as_dir=.
74 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
80 # We did not find ourselves, most probably we were run as `sh COMMAND'
81 # in which case we are not to be found in the path.
82 if test "x$as_myself" = x; then
85 if test ! -f "$as_myself"; then
86 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
90 # Work around bugs in pre-3.0 UWIN ksh.
91 for as_var in ENV MAIL MAILPATH
92 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
101 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
104 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
105 eval $as_var=C; export $as_var
107 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
111 # Required to use basename.
112 if expr a : '\(a\)' >/dev/null 2>&1 &&
113 test "X`expr 00001 : '.*\(...\)'`" = X001; then
119 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126 # Name of the executable.
127 as_me=`$as_basename -- "$0" ||
128 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
129 X"$0" : 'X\(//\)$' \| \
130 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
132 sed '/^.*\/\([^/][^/]*\)\/*$/{
150 if test "x$CONFIG_SHELL" = x; then
151 if (eval ":") 2>/dev/null; then
157 if test $as_have_required = yes && (eval ":
167 as_func_ret_success () {
170 as_func_ret_failure () {
175 if as_func_success; then
179 echo as_func_success failed.
182 if as_func_failure; then
184 echo as_func_failure succeeded.
187 if as_func_ret_success; then
191 echo as_func_ret_success failed.
194 if as_func_ret_failure; then
196 echo as_func_ret_failure succeeded.
199 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
203 echo positional parameters were not saved.
206 test \$exitcode = 0) || { (exit 1); exit 1; }
211 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
212 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
213 ") 2> /dev/null; then
217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
218 for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir=.
224 for as_base in sh bash ksh sh5; do
225 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232 for as_shell in $as_candidate_shells $SHELL; do
233 # Try only shells that exist, to save several forks.
234 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
235 { ("$as_shell") 2> /dev/null <<\_ASEOF
236 # Be Bourne compatible
237 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
240 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
241 # is contrary to our usage. Disable this feature.
242 alias -g '${1+"$@"}'='"$@"'
245 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
247 BIN_SH=xpg4; export BIN_SH # for Tru64
248 DUALCASE=1; export DUALCASE # for MKS sh
253 CONFIG_SHELL=$as_shell
255 if { "$as_shell" 2> /dev/null <<\_ASEOF
256 # Be Bourne compatible
257 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
260 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
261 # is contrary to our usage. Disable this feature.
262 alias -g '${1+"$@"}'='"$@"'
265 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
267 BIN_SH=xpg4; export BIN_SH # for Tru64
268 DUALCASE=1; export DUALCASE # for MKS sh
280 as_func_ret_success () {
283 as_func_ret_failure () {
288 if as_func_success; then
292 echo as_func_success failed.
295 if as_func_failure; then
297 echo as_func_failure succeeded.
300 if as_func_ret_success; then
304 echo as_func_ret_success failed.
307 if as_func_ret_failure; then
309 echo as_func_ret_failure succeeded.
312 if ( set x; as_func_ret_success y && test x = "$1" ); then
316 echo positional parameters were not saved.
319 test $exitcode = 0) || { (exit 1); exit 1; }
324 test "x$as_lineno_1" != "x$as_lineno_2" &&
325 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
336 if test "x$CONFIG_SHELL" != x; then
337 for as_var in BASH_ENV ENV
338 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
341 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
345 if test $as_have_required = no; then
346 echo This script requires a shell more modern than all the
347 echo shells that I found on your system. Please install a
348 echo modern shell, or manually run the script under such a
349 echo shell if you do have one.
350 { (exit 1); exit 1; }
360 (eval "as_func_return () {
369 as_func_ret_success () {
372 as_func_ret_failure () {
377 if as_func_success; then
381 echo as_func_success failed.
384 if as_func_failure; then
386 echo as_func_failure succeeded.
389 if as_func_ret_success; then
393 echo as_func_ret_success failed.
396 if as_func_ret_failure; then
398 echo as_func_ret_failure succeeded.
401 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
405 echo positional parameters were not saved.
408 test \$exitcode = 0") || {
409 echo No shell found that supports shell functions.
410 echo Please tell autoconf@gnu.org about your system,
411 echo including any error possibly output before this
419 test "x$as_lineno_1" != "x$as_lineno_2" &&
420 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
422 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
423 # uniformly replaced by the line number. The first 'sed' inserts a
424 # line-number line after each line using $LINENO; the second 'sed'
425 # does the real work. The second script uses 'N' to pair each
426 # line-number line with the line containing $LINENO, and appends
427 # trailing '-' during substitution so that $LINENO is not a special
429 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
430 # scripts with optimization help from Paolo Bonzini. Blame Lee
431 # E. McMahon (1931-1989) for sed's syntax. :-)
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 chmod +x "$as_me.lineno" ||
448 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
449 { (exit 1); exit 1; }; }
451 # Don't try to exec as it changes $[0], causing all sort of problems
452 # (the dirname of $[0] is not the place where we might find the
453 # original and so on. Autoconf is especially sensitive to this).
455 # Exit status is that of the last command.
460 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
466 ECHO_C= ECHO_N= ECHO_T=
470 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 if expr a : '\(a\)' >/dev/null 2>&1 &&
478 test "X`expr 00001 : '.*\(...\)'`" = X001; then
484 rm -f conf$$ conf$$.exe conf$$.file
485 if test -d conf$$.dir; then
486 rm -f conf$$.dir/conf$$.file
492 if ln -s conf$$.file conf$$ 2>/dev/null; then
494 # ... but there are two gotchas:
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
498 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500 elif ln conf$$.file conf$$ 2>/dev/null; then
505 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
506 rmdir conf$$.dir 2>/dev/null
508 if mkdir -p . 2>/dev/null; then
511 test -d ./-p && rmdir ./-p
515 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
516 # systems may use methods other than mode bits to determine executability.
517 cat >conf$$.file <<_ASEOF
522 if test -x conf$$.file >/dev/null 2>&1; then
523 as_executable_p="test -x"
529 # Sed expression to map a string onto a valid CPP name.
530 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
532 # Sed expression to map a string onto a valid variable name.
533 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
537 exec 7<&0 </dev/null 6>&1
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 ac_default_prefix=/usr/local
549 ac_config_libobj_dir=.
555 SHELL=${CONFIG_SHELL-/bin/sh}
557 # Identity of this package.
564 ac_unique_file="packihx.c"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
569 # include <sys/types.h>
572 # include <sys/stat.h>
583 # if !STDC_HEADERS && HAVE_MEMORY_H
589 # include <strings.h>
592 # include <inttypes.h>
610 program_transform_name
651 ac_precious_vars='build_alias
661 # Initialize some variables set by options.
663 ac_init_version=false
664 # The variables have the same names as the options, with
665 # dashes changed to underlines.
673 program_transform_name=s,x,x,
681 # Installation directory options.
682 # These are left unexpanded so users can "make install exec_prefix=/foo"
683 # and all the variables that are supposed to be based on exec_prefix
684 # by default will actually change.
685 # Use braces instead of parens because sh, perl, etc. also accept them.
686 # (The list follows the same order as the GNU Coding Standards.)
687 bindir='${exec_prefix}/bin'
688 sbindir='${exec_prefix}/sbin'
689 libexecdir='${exec_prefix}/libexec'
690 datarootdir='${prefix}/share'
691 datadir='${datarootdir}'
692 sysconfdir='${prefix}/etc'
693 sharedstatedir='${prefix}/com'
694 localstatedir='${prefix}/var'
695 includedir='${prefix}/include'
696 oldincludedir='/usr/include'
697 docdir='${datarootdir}/doc/${PACKAGE}'
698 infodir='${datarootdir}/info'
703 libdir='${exec_prefix}/lib'
704 localedir='${datarootdir}/locale'
705 mandir='${datarootdir}/man'
711 # If the previous option needs an argument, assign it.
712 if test -n "$ac_prev"; then
713 eval $ac_prev=\$ac_option
719 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
723 # Accept the important Cygnus configure options, so we can diagnose typos.
725 case $ac_dashdash$ac_option in
729 -bindir | --bindir | --bindi | --bind | --bin | --bi)
731 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
734 -build | --build | --buil | --bui | --bu)
735 ac_prev=build_alias ;;
736 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
737 build_alias=$ac_optarg ;;
739 -cache-file | --cache-file | --cache-fil | --cache-fi \
740 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
741 ac_prev=cache_file ;;
742 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
743 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
744 cache_file=$ac_optarg ;;
747 cache_file=config.cache ;;
749 -datadir | --datadir | --datadi | --datad)
751 -datadir=* | --datadir=* | --datadi=* | --datad=*)
752 datadir=$ac_optarg ;;
754 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
755 | --dataroo | --dataro | --datar)
756 ac_prev=datarootdir ;;
757 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
758 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
759 datarootdir=$ac_optarg ;;
761 -disable-* | --disable-*)
762 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
763 # Reject names that are not valid shell variable names.
764 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
765 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
766 { (exit 1); exit 1; }; }
767 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
768 eval enable_$ac_feature=no ;;
770 -docdir | --docdir | --docdi | --doc | --do)
772 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
775 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
777 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
780 -enable-* | --enable-*)
781 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
782 # Reject names that are not valid shell variable names.
783 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
784 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
785 { (exit 1); exit 1; }; }
786 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
787 eval enable_$ac_feature=\$ac_optarg ;;
789 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
790 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
791 | --exec | --exe | --ex)
792 ac_prev=exec_prefix ;;
793 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
794 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
795 | --exec=* | --exe=* | --ex=*)
796 exec_prefix=$ac_optarg ;;
798 -gas | --gas | --ga | --g)
799 # Obsolete; use --with-gas.
802 -help | --help | --hel | --he | -h)
804 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
805 ac_init_help=recursive ;;
806 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
807 ac_init_help=short ;;
809 -host | --host | --hos | --ho)
810 ac_prev=host_alias ;;
811 -host=* | --host=* | --hos=* | --ho=*)
812 host_alias=$ac_optarg ;;
814 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
816 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
818 htmldir=$ac_optarg ;;
820 -includedir | --includedir | --includedi | --included | --include \
821 | --includ | --inclu | --incl | --inc)
822 ac_prev=includedir ;;
823 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
824 | --includ=* | --inclu=* | --incl=* | --inc=*)
825 includedir=$ac_optarg ;;
827 -infodir | --infodir | --infodi | --infod | --info | --inf)
829 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
830 infodir=$ac_optarg ;;
832 -libdir | --libdir | --libdi | --libd)
834 -libdir=* | --libdir=* | --libdi=* | --libd=*)
837 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
838 | --libexe | --libex | --libe)
839 ac_prev=libexecdir ;;
840 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
841 | --libexe=* | --libex=* | --libe=*)
842 libexecdir=$ac_optarg ;;
844 -localedir | --localedir | --localedi | --localed | --locale)
846 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
847 localedir=$ac_optarg ;;
849 -localstatedir | --localstatedir | --localstatedi | --localstated \
850 | --localstate | --localstat | --localsta | --localst | --locals)
851 ac_prev=localstatedir ;;
852 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
853 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
854 localstatedir=$ac_optarg ;;
856 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
858 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
862 # Obsolete; use --without-fp.
865 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
866 | --no-cr | --no-c | -n)
869 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
870 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
873 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
874 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
875 | --oldin | --oldi | --old | --ol | --o)
876 ac_prev=oldincludedir ;;
877 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
878 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
879 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
880 oldincludedir=$ac_optarg ;;
882 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
884 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
887 -program-prefix | --program-prefix | --program-prefi | --program-pref \
888 | --program-pre | --program-pr | --program-p)
889 ac_prev=program_prefix ;;
890 -program-prefix=* | --program-prefix=* | --program-prefi=* \
891 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
892 program_prefix=$ac_optarg ;;
894 -program-suffix | --program-suffix | --program-suffi | --program-suff \
895 | --program-suf | --program-su | --program-s)
896 ac_prev=program_suffix ;;
897 -program-suffix=* | --program-suffix=* | --program-suffi=* \
898 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
899 program_suffix=$ac_optarg ;;
901 -program-transform-name | --program-transform-name \
902 | --program-transform-nam | --program-transform-na \
903 | --program-transform-n | --program-transform- \
904 | --program-transform | --program-transfor \
905 | --program-transfo | --program-transf \
906 | --program-trans | --program-tran \
907 | --progr-tra | --program-tr | --program-t)
908 ac_prev=program_transform_name ;;
909 -program-transform-name=* | --program-transform-name=* \
910 | --program-transform-nam=* | --program-transform-na=* \
911 | --program-transform-n=* | --program-transform-=* \
912 | --program-transform=* | --program-transfor=* \
913 | --program-transfo=* | --program-transf=* \
914 | --program-trans=* | --program-tran=* \
915 | --progr-tra=* | --program-tr=* | --program-t=*)
916 program_transform_name=$ac_optarg ;;
918 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
920 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
923 -psdir | --psdir | --psdi | --psd | --ps)
925 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
928 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
929 | -silent | --silent | --silen | --sile | --sil)
932 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
934 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
936 sbindir=$ac_optarg ;;
938 -sharedstatedir | --sharedstatedir | --sharedstatedi \
939 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
940 | --sharedst | --shareds | --shared | --share | --shar \
942 ac_prev=sharedstatedir ;;
943 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
944 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
945 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
947 sharedstatedir=$ac_optarg ;;
949 -site | --site | --sit)
951 -site=* | --site=* | --sit=*)
954 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
956 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
959 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
960 | --syscon | --sysco | --sysc | --sys | --sy)
961 ac_prev=sysconfdir ;;
962 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
963 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
964 sysconfdir=$ac_optarg ;;
966 -target | --target | --targe | --targ | --tar | --ta | --t)
967 ac_prev=target_alias ;;
968 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
969 target_alias=$ac_optarg ;;
971 -v | -verbose | --verbose | --verbos | --verbo | --verb)
974 -version | --version | --versio | --versi | --vers | -V)
978 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
979 # Reject names that are not valid shell variable names.
980 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
981 { echo "$as_me: error: invalid package name: $ac_package" >&2
982 { (exit 1); exit 1; }; }
983 ac_package=`echo $ac_package| sed 's/-/_/g'`
984 eval with_$ac_package=\$ac_optarg ;;
986 -without-* | --without-*)
987 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
988 # Reject names that are not valid shell variable names.
989 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
990 { echo "$as_me: error: invalid package name: $ac_package" >&2
991 { (exit 1); exit 1; }; }
992 ac_package=`echo $ac_package | sed 's/-/_/g'`
993 eval with_$ac_package=no ;;
996 # Obsolete; use --with-x.
999 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1000 | --x-incl | --x-inc | --x-in | --x-i)
1001 ac_prev=x_includes ;;
1002 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1003 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1004 x_includes=$ac_optarg ;;
1006 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1007 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1008 ac_prev=x_libraries ;;
1009 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1010 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1011 x_libraries=$ac_optarg ;;
1013 -*) { echo "$as_me: error: unrecognized option: $ac_option
1014 Try \`$0 --help' for more information." >&2
1015 { (exit 1); exit 1; }; }
1019 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1020 # Reject names that are not valid shell variable names.
1021 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1022 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1023 { (exit 1); exit 1; }; }
1024 eval $ac_envvar=\$ac_optarg
1025 export $ac_envvar ;;
1028 # FIXME: should be removed in autoconf 3.0.
1029 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1030 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1031 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1032 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1038 if test -n "$ac_prev"; then
1039 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1040 { echo "$as_me: error: missing argument to $ac_option" >&2
1041 { (exit 1); exit 1; }; }
1044 # Be sure to have absolute directory names.
1045 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1046 datadir sysconfdir sharedstatedir localstatedir includedir \
1047 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1048 libdir localedir mandir
1050 eval ac_val=\$$ac_var
1052 [\\/$]* | ?:[\\/]* ) continue;;
1053 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1055 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1056 { (exit 1); exit 1; }; }
1059 # There might be people who depend on the old broken behavior: `$host'
1060 # used to hold the argument of --host etc.
1061 # FIXME: To remove some day.
1064 target=$target_alias
1066 # FIXME: To remove some day.
1067 if test "x$host_alias" != x; then
1068 if test "x$build_alias" = x; then
1069 cross_compiling=maybe
1070 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1071 If a cross compiler is detected then cross compile mode will be used." >&2
1072 elif test "x$build_alias" != "x$host_alias"; then
1078 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1080 test "$silent" = yes && exec 6>/dev/null
1083 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1084 ac_ls_di=`ls -di .` &&
1085 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1086 { echo "$as_me: error: Working directory cannot be determined" >&2
1087 { (exit 1); exit 1; }; }
1088 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1089 { echo "$as_me: error: pwd does not report name of working directory" >&2
1090 { (exit 1); exit 1; }; }
1093 # Find the source files, if location was not specified.
1094 if test -z "$srcdir"; then
1095 ac_srcdir_defaulted=yes
1096 # Try the directory containing this script, then the parent directory.
1097 ac_confdir=`$as_dirname -- "$0" ||
1098 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1099 X"$0" : 'X\(//\)[^/]' \| \
1100 X"$0" : 'X\(//\)$' \| \
1101 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1103 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1121 if test ! -r "$srcdir/$ac_unique_file"; then
1125 ac_srcdir_defaulted=no
1127 if test ! -r "$srcdir/$ac_unique_file"; then
1128 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1129 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1130 { (exit 1); exit 1; }; }
1132 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1134 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1135 { (exit 1); exit 1; }; }
1137 # When building in place, set srcdir=.
1138 if test "$ac_abs_confdir" = "$ac_pwd"; then
1141 # Remove unnecessary trailing slashes from srcdir.
1142 # Double slashes in file names in object file debugging info
1143 # mess up M-x gdb in Emacs.
1145 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1147 for ac_var in $ac_precious_vars; do
1148 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1149 eval ac_env_${ac_var}_value=\$${ac_var}
1150 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1151 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1155 # Report the --help message.
1157 if test "$ac_init_help" = "long"; then
1158 # Omit some internal or obsolete options to make the list less imposing.
1159 # This message is too long to be a string in the A/UX 3.1 sh.
1161 \`configure' configures this package to adapt to many kinds of systems.
1163 Usage: $0 [OPTION]... [VAR=VALUE]...
1165 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1166 VAR=VALUE. See below for descriptions of some of the useful variables.
1168 Defaults for the options are specified in brackets.
1171 -h, --help display this help and exit
1172 --help=short display options specific to this package
1173 --help=recursive display the short help of all the included packages
1174 -V, --version display version information and exit
1175 -q, --quiet, --silent do not print \`checking...' messages
1176 --cache-file=FILE cache test results in FILE [disabled]
1177 -C, --config-cache alias for \`--cache-file=config.cache'
1178 -n, --no-create do not create output files
1179 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1181 Installation directories:
1182 --prefix=PREFIX install architecture-independent files in PREFIX
1183 [$ac_default_prefix]
1184 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1187 By default, \`make install' will install all the files in
1188 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1189 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1190 for instance \`--prefix=\$HOME'.
1192 For better control, use the options below.
1194 Fine tuning of the installation directories:
1195 --bindir=DIR user executables [EPREFIX/bin]
1196 --sbindir=DIR system admin executables [EPREFIX/sbin]
1197 --libexecdir=DIR program executables [EPREFIX/libexec]
1198 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1199 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1200 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1201 --libdir=DIR object code libraries [EPREFIX/lib]
1202 --includedir=DIR C header files [PREFIX/include]
1203 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1204 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1205 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1206 --infodir=DIR info documentation [DATAROOTDIR/info]
1207 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1208 --mandir=DIR man documentation [DATAROOTDIR/man]
1209 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1210 --htmldir=DIR html documentation [DOCDIR]
1211 --dvidir=DIR dvi documentation [DOCDIR]
1212 --pdfdir=DIR pdf documentation [DOCDIR]
1213 --psdir=DIR ps documentation [DOCDIR]
1220 if test -n "$ac_init_help"; then
1224 Some influential environment variables:
1225 CC C compiler command
1226 CFLAGS C compiler flags
1227 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1228 nonstandard directory <lib dir>
1229 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1230 you have headers in a nonstandard directory <include dir>
1233 Use these variables to override the choices made by `configure' or to help
1234 it to find libraries and programs with nonstandard names/locations.
1240 if test "$ac_init_help" = "recursive"; then
1241 # If there are subdirs, report their specific --help.
1242 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1243 test -d "$ac_dir" || continue
1247 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1249 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1250 # A ".." for each directory in $ac_dir_suffix.
1251 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1252 case $ac_top_builddir_sub in
1253 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1254 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1257 ac_abs_top_builddir=$ac_pwd
1258 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1259 # for backward compatibility:
1260 ac_top_builddir=$ac_top_build_prefix
1263 .) # We are building in place.
1265 ac_top_srcdir=$ac_top_builddir_sub
1266 ac_abs_top_srcdir=$ac_pwd ;;
1267 [\\/]* | ?:[\\/]* ) # Absolute name.
1268 ac_srcdir=$srcdir$ac_dir_suffix;
1269 ac_top_srcdir=$srcdir
1270 ac_abs_top_srcdir=$srcdir ;;
1272 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1273 ac_top_srcdir=$ac_top_build_prefix$srcdir
1274 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1276 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1278 cd "$ac_dir" || { ac_status=$?; continue; }
1279 # Check for guested configure.
1280 if test -f "$ac_srcdir/configure.gnu"; then
1282 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1283 elif test -f "$ac_srcdir/configure"; then
1285 $SHELL "$ac_srcdir/configure" --help=recursive
1287 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1289 cd "$ac_pwd" || { ac_status=$?; break; }
1293 test -n "$ac_init_help" && exit $ac_status
1294 if $ac_init_version; then
1297 generated by GNU Autoconf 2.60
1299 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1300 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1301 This configure script is free software; the Free Software Foundation
1302 gives unlimited permission to copy, distribute and modify it.
1306 cat >config.log <<_ACEOF
1307 This file contains any messages produced by compilers while
1308 running configure, to aid debugging if configure makes a mistake.
1310 It was created by $as_me, which was
1311 generated by GNU Autoconf 2.60. Invocation command line was
1323 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1324 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1325 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1326 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1327 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1329 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1330 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1332 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1333 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1334 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1335 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1336 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1337 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1338 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1346 test -z "$as_dir" && as_dir=.
1347 echo "PATH: $as_dir"
1363 # Keep a trace of the command line.
1364 # Strip out --no-create and --no-recursion so they do not pile up.
1365 # Strip out --silent because we don't want to record it for future runs.
1366 # Also quote any args containing shell meta-characters.
1367 # Make two passes to allow for proper duplicate-argument suppression.
1371 ac_must_keep_next=false
1377 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1378 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1379 | -silent | --silent | --silen | --sile | --sil)
1382 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1385 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1387 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1388 if test $ac_must_keep_next = true; then
1389 ac_must_keep_next=false # Got value, back to normal.
1392 *=* | --config-cache | -C | -disable-* | --disable-* \
1393 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1394 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1395 | -with-* | --with-* | -without-* | --without-* | --x)
1396 case "$ac_configure_args0 " in
1397 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1400 -* ) ac_must_keep_next=true ;;
1403 ac_configure_args="$ac_configure_args '$ac_arg'"
1408 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1409 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1411 # When interrupted or exit'd, cleanup temporary files, and complete
1412 # config.log. We remove comments because anyway the quotes in there
1413 # would cause problems or look ugly.
1414 # WARNING: Use '\'' to represent an apostrophe within the trap.
1415 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1416 trap 'exit_status=$?
1417 # Save into config.log some information that might help in debugging.
1422 ## ---------------- ##
1423 ## Cache variables. ##
1424 ## ---------------- ##
1427 # The following way of writing the cache mishandles newlines in values,
1429 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1430 eval ac_val=\$$ac_var
1434 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1435 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1438 _ | IFS | as_nl) ;; #(
1439 *) $as_unset $ac_var ;;
1444 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1445 *${as_nl}ac_space=\ *)
1447 "s/'\''/'\''\\\\'\'''\''/g;
1448 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1451 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1459 ## ----------------- ##
1460 ## Output variables. ##
1461 ## ----------------- ##
1464 for ac_var in $ac_subst_vars
1466 eval ac_val=\$$ac_var
1468 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1470 echo "$ac_var='\''$ac_val'\''"
1474 if test -n "$ac_subst_files"; then
1476 ## ------------------- ##
1477 ## File substitutions. ##
1478 ## ------------------- ##
1481 for ac_var in $ac_subst_files
1483 eval ac_val=\$$ac_var
1485 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1487 echo "$ac_var='\''$ac_val'\''"
1492 if test -s confdefs.h; then
1502 test "$ac_signal" != 0 &&
1503 echo "$as_me: caught signal $ac_signal"
1504 echo "$as_me: exit $exit_status"
1506 rm -f core *.core core.conftest.* &&
1507 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1510 for ac_signal in 1 2 13 15; do
1511 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1515 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1516 rm -f -r conftest* confdefs.h
1518 # Predefined preprocessor variables.
1520 cat >>confdefs.h <<_ACEOF
1521 #define PACKAGE_NAME "$PACKAGE_NAME"
1525 cat >>confdefs.h <<_ACEOF
1526 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1530 cat >>confdefs.h <<_ACEOF
1531 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1535 cat >>confdefs.h <<_ACEOF
1536 #define PACKAGE_STRING "$PACKAGE_STRING"
1540 cat >>confdefs.h <<_ACEOF
1541 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1545 # Let the site file select an alternate cache file if it wants to.
1546 # Prefer explicitly selected file to automatically selected ones.
1547 if test -n "$CONFIG_SITE"; then
1548 set x "$CONFIG_SITE"
1549 elif test "x$prefix" != xNONE; then
1550 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1552 set x "$ac_default_prefix/share/config.site" \
1553 "$ac_default_prefix/etc/config.site"
1558 if test -r "$ac_site_file"; then
1559 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1560 echo "$as_me: loading site script $ac_site_file" >&6;}
1561 sed 's/^/| /' "$ac_site_file" >&5
1566 if test -r "$cache_file"; then
1567 # Some versions of bash will fail to source /dev/null (special
1568 # files actually), so we avoid doing that.
1569 if test -f "$cache_file"; then
1570 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1571 echo "$as_me: loading cache $cache_file" >&6;}
1573 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1574 *) . "./$cache_file";;
1578 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1579 echo "$as_me: creating cache $cache_file" >&6;}
1583 # Check that the precious variables saved in the cache have kept the same
1585 ac_cache_corrupted=false
1586 for ac_var in $ac_precious_vars; do
1587 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1588 eval ac_new_set=\$ac_env_${ac_var}_set
1589 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1590 eval ac_new_val=\$ac_env_${ac_var}_value
1591 case $ac_old_set,$ac_new_set in
1593 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1594 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1595 ac_cache_corrupted=: ;;
1597 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1598 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1599 ac_cache_corrupted=: ;;
1602 if test "x$ac_old_val" != "x$ac_new_val"; then
1603 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1604 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1605 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1606 echo "$as_me: former value: $ac_old_val" >&2;}
1607 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1608 echo "$as_me: current value: $ac_new_val" >&2;}
1609 ac_cache_corrupted=:
1612 # Pass precious variables to config.status.
1613 if test "$ac_new_set" = set; then
1615 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1616 *) ac_arg=$ac_var=$ac_new_val ;;
1618 case " $ac_configure_args " in
1619 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1620 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1624 if $ac_cache_corrupted; then
1625 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1626 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1627 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1628 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1629 { (exit 1); exit 1; }; }
1649 ac_cpp='$CPP $CPPFLAGS'
1650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1655 ac_config_headers="$ac_config_headers config.h:config_in.h"
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
1664 if test -n "$ac_tool_prefix"; then
1665 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1666 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1667 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1669 if test "${ac_cv_prog_CC+set}" = set; then
1670 echo $ECHO_N "(cached) $ECHO_C" >&6
1672 if test -n "$CC"; then
1673 ac_cv_prog_CC="$CC" # Let the user override the test.
1675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1679 test -z "$as_dir" && as_dir=.
1680 for ac_exec_ext in '' $ac_executable_extensions; do
1681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1682 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1693 if test -n "$CC"; then
1694 { echo "$as_me:$LINENO: result: $CC" >&5
1695 echo "${ECHO_T}$CC" >&6; }
1697 { echo "$as_me:$LINENO: result: no" >&5
1698 echo "${ECHO_T}no" >&6; }
1703 if test -z "$ac_cv_prog_CC"; then
1705 # Extract the first word of "gcc", so it can be a program name with args.
1706 set dummy gcc; ac_word=$2
1707 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1709 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1710 echo $ECHO_N "(cached) $ECHO_C" >&6
1712 if test -n "$ac_ct_CC"; then
1713 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1719 test -z "$as_dir" && as_dir=.
1720 for ac_exec_ext in '' $ac_executable_extensions; do
1721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1722 ac_cv_prog_ac_ct_CC="gcc"
1723 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1732 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1733 if test -n "$ac_ct_CC"; then
1734 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1735 echo "${ECHO_T}$ac_ct_CC" >&6; }
1737 { echo "$as_me:$LINENO: result: no" >&5
1738 echo "${ECHO_T}no" >&6; }
1741 if test "x$ac_ct_CC" = x; then
1744 case $cross_compiling:$ac_tool_warned in
1746 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1747 whose name does not start with the host triplet. If you think this
1748 configuration is useful to you, please write to autoconf@gnu.org." >&5
1749 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1750 whose name does not start with the host triplet. If you think this
1751 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1752 ac_tool_warned=yes ;;
1760 if test -z "$CC"; then
1761 if test -n "$ac_tool_prefix"; then
1762 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1763 set dummy ${ac_tool_prefix}cc; ac_word=$2
1764 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1766 if test "${ac_cv_prog_CC+set}" = set; then
1767 echo $ECHO_N "(cached) $ECHO_C" >&6
1769 if test -n "$CC"; then
1770 ac_cv_prog_CC="$CC" # Let the user override the test.
1772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1776 test -z "$as_dir" && as_dir=.
1777 for ac_exec_ext in '' $ac_executable_extensions; do
1778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1779 ac_cv_prog_CC="${ac_tool_prefix}cc"
1780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1790 if test -n "$CC"; then
1791 { echo "$as_me:$LINENO: result: $CC" >&5
1792 echo "${ECHO_T}$CC" >&6; }
1794 { echo "$as_me:$LINENO: result: no" >&5
1795 echo "${ECHO_T}no" >&6; }
1801 if test -z "$CC"; then
1802 # Extract the first word of "cc", so it can be a program name with args.
1803 set dummy cc; ac_word=$2
1804 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1806 if test "${ac_cv_prog_CC+set}" = set; then
1807 echo $ECHO_N "(cached) $ECHO_C" >&6
1809 if test -n "$CC"; then
1810 ac_cv_prog_CC="$CC" # Let the user override the test.
1813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1817 test -z "$as_dir" && as_dir=.
1818 for ac_exec_ext in '' $ac_executable_extensions; do
1819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1820 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1821 ac_prog_rejected=yes
1825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1832 if test $ac_prog_rejected = yes; then
1833 # We found a bogon in the path, so make sure we never use it.
1834 set dummy $ac_cv_prog_CC
1836 if test $# != 0; then
1837 # We chose a different compiler from the bogus one.
1838 # However, it has the same basename, so the bogon will be chosen
1839 # first if we set CC to just the basename; use the full file name.
1841 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1847 if test -n "$CC"; then
1848 { echo "$as_me:$LINENO: result: $CC" >&5
1849 echo "${ECHO_T}$CC" >&6; }
1851 { echo "$as_me:$LINENO: result: no" >&5
1852 echo "${ECHO_T}no" >&6; }
1857 if test -z "$CC"; then
1858 if test -n "$ac_tool_prefix"; then
1859 for ac_prog in cl.exe
1861 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1862 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1863 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1864 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1865 if test "${ac_cv_prog_CC+set}" = set; then
1866 echo $ECHO_N "(cached) $ECHO_C" >&6
1868 if test -n "$CC"; then
1869 ac_cv_prog_CC="$CC" # Let the user override the test.
1871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1875 test -z "$as_dir" && as_dir=.
1876 for ac_exec_ext in '' $ac_executable_extensions; do
1877 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1878 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1879 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1889 if test -n "$CC"; then
1890 { echo "$as_me:$LINENO: result: $CC" >&5
1891 echo "${ECHO_T}$CC" >&6; }
1893 { echo "$as_me:$LINENO: result: no" >&5
1894 echo "${ECHO_T}no" >&6; }
1898 test -n "$CC" && break
1901 if test -z "$CC"; then
1903 for ac_prog in cl.exe
1905 # Extract the first word of "$ac_prog", so it can be a program name with args.
1906 set dummy $ac_prog; ac_word=$2
1907 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1909 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1910 echo $ECHO_N "(cached) $ECHO_C" >&6
1912 if test -n "$ac_ct_CC"; then
1913 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1919 test -z "$as_dir" && as_dir=.
1920 for ac_exec_ext in '' $ac_executable_extensions; do
1921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1922 ac_cv_prog_ac_ct_CC="$ac_prog"
1923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1932 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1933 if test -n "$ac_ct_CC"; then
1934 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1935 echo "${ECHO_T}$ac_ct_CC" >&6; }
1937 { echo "$as_me:$LINENO: result: no" >&5
1938 echo "${ECHO_T}no" >&6; }
1942 test -n "$ac_ct_CC" && break
1945 if test "x$ac_ct_CC" = x; then
1948 case $cross_compiling:$ac_tool_warned in
1950 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1951 whose name does not start with the host triplet. If you think this
1952 configuration is useful to you, please write to autoconf@gnu.org." >&5
1953 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1954 whose name does not start with the host triplet. If you think this
1955 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1956 ac_tool_warned=yes ;;
1965 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1966 See \`config.log' for more details." >&5
1967 echo "$as_me: error: no acceptable C compiler found in \$PATH
1968 See \`config.log' for more details." >&2;}
1969 { (exit 1); exit 1; }; }
1971 # Provide some information about the compiler.
1972 echo "$as_me:$LINENO: checking for C compiler version" >&5
1973 ac_compiler=`set X $ac_compile; echo $2`
1974 { (ac_try="$ac_compiler --version >&5"
1976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1977 *) ac_try_echo=$ac_try;;
1979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1980 (eval "$ac_compiler --version >&5") 2>&5
1982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1983 (exit $ac_status); }
1984 { (ac_try="$ac_compiler -v >&5"
1986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1987 *) ac_try_echo=$ac_try;;
1989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1990 (eval "$ac_compiler -v >&5") 2>&5
1992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1993 (exit $ac_status); }
1994 { (ac_try="$ac_compiler -V >&5"
1996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1997 *) ac_try_echo=$ac_try;;
1999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2000 (eval "$ac_compiler -V >&5") 2>&5
2002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2003 (exit $ac_status); }
2005 cat >conftest.$ac_ext <<_ACEOF
2008 cat confdefs.h >>conftest.$ac_ext
2009 cat >>conftest.$ac_ext <<_ACEOF
2010 /* end confdefs.h. */
2020 ac_clean_files_save=$ac_clean_files
2021 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2022 # Try to create an executable without -o first, disregard a.out.
2023 # It will help us diagnose broken compilers, and finding out an intuition
2025 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2026 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2027 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2029 # List of possible output files, starting from the most likely.
2030 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2031 # only as a last resort. b.out is created by i960 compilers.
2032 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2034 # The IRIX 6 linker writes into existing files which may not be
2035 # executable, retaining their permissions. Remove them first so a
2036 # subsequent execution test works.
2038 for ac_file in $ac_files
2041 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2042 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2047 if { (ac_try="$ac_link_default"
2049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2050 *) ac_try_echo=$ac_try;;
2052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2053 (eval "$ac_link_default") 2>&5
2055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2056 (exit $ac_status); }; then
2057 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2058 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2059 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2060 # so that the user can short-circuit this test for compilers unknown to
2062 for ac_file in $ac_files
2064 test -f "$ac_file" || continue
2066 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2069 # We found the default executable, but exeext='' is most
2073 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2075 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2077 # We set ac_cv_exeext here because the later test for it is not
2078 # safe: cross compilers may not add the suffix if given an `-o'
2079 # argument, so we may need to know it at that point already.
2080 # Even if this section looks crufty: it has the advantage of
2087 test "$ac_cv_exeext" = no && ac_cv_exeext=
2090 echo "$as_me: failed program was:" >&5
2091 sed 's/^/| /' conftest.$ac_ext >&5
2093 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2094 See \`config.log' for more details." >&5
2095 echo "$as_me: error: C compiler cannot create executables
2096 See \`config.log' for more details." >&2;}
2097 { (exit 77); exit 77; }; }
2100 ac_exeext=$ac_cv_exeext
2101 { echo "$as_me:$LINENO: result: $ac_file" >&5
2102 echo "${ECHO_T}$ac_file" >&6; }
2104 # Check that the compiler produces executables we can run. If not, either
2105 # the compiler is broken, or we cross compile.
2106 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2107 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2108 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2109 # If not cross compiling, check that we can run a simple program.
2110 if test "$cross_compiling" != yes; then
2111 if { ac_try='./$ac_file'
2112 { (case "(($ac_try" in
2113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2114 *) ac_try_echo=$ac_try;;
2116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2117 (eval "$ac_try") 2>&5
2119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2120 (exit $ac_status); }; }; then
2123 if test "$cross_compiling" = maybe; then
2126 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2127 If you meant to cross compile, use \`--host'.
2128 See \`config.log' for more details." >&5
2129 echo "$as_me: error: cannot run C compiled programs.
2130 If you meant to cross compile, use \`--host'.
2131 See \`config.log' for more details." >&2;}
2132 { (exit 1); exit 1; }; }
2136 { echo "$as_me:$LINENO: result: yes" >&5
2137 echo "${ECHO_T}yes" >&6; }
2139 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2140 ac_clean_files=$ac_clean_files_save
2141 # Check that the compiler produces executables we can run. If not, either
2142 # the compiler is broken, or we cross compile.
2143 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2144 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2145 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2146 echo "${ECHO_T}$cross_compiling" >&6; }
2148 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2149 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2150 if { (ac_try="$ac_link"
2152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2153 *) ac_try_echo=$ac_try;;
2155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2156 (eval "$ac_link") 2>&5
2158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2159 (exit $ac_status); }; then
2160 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2161 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2162 # work properly (i.e., refer to `conftest.exe'), while it won't with
2164 for ac_file in conftest.exe conftest conftest.*; do
2165 test -f "$ac_file" || continue
2167 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2168 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2174 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2175 See \`config.log' for more details." >&5
2176 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2177 See \`config.log' for more details." >&2;}
2178 { (exit 1); exit 1; }; }
2181 rm -f conftest$ac_cv_exeext
2182 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2183 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2185 rm -f conftest.$ac_ext
2186 EXEEXT=$ac_cv_exeext
2188 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2189 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2190 if test "${ac_cv_objext+set}" = set; then
2191 echo $ECHO_N "(cached) $ECHO_C" >&6
2193 cat >conftest.$ac_ext <<_ACEOF
2196 cat confdefs.h >>conftest.$ac_ext
2197 cat >>conftest.$ac_ext <<_ACEOF
2198 /* end confdefs.h. */
2208 rm -f conftest.o conftest.obj
2209 if { (ac_try="$ac_compile"
2211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2212 *) ac_try_echo=$ac_try;;
2214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2215 (eval "$ac_compile") 2>&5
2217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2218 (exit $ac_status); }; then
2219 for ac_file in conftest.o conftest.obj conftest.*; do
2220 test -f "$ac_file" || continue;
2222 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2223 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2228 echo "$as_me: failed program was:" >&5
2229 sed 's/^/| /' conftest.$ac_ext >&5
2231 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2232 See \`config.log' for more details." >&5
2233 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2234 See \`config.log' for more details." >&2;}
2235 { (exit 1); exit 1; }; }
2238 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2240 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2241 echo "${ECHO_T}$ac_cv_objext" >&6; }
2242 OBJEXT=$ac_cv_objext
2244 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2245 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2246 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2247 echo $ECHO_N "(cached) $ECHO_C" >&6
2249 cat >conftest.$ac_ext <<_ACEOF
2252 cat confdefs.h >>conftest.$ac_ext
2253 cat >>conftest.$ac_ext <<_ACEOF
2254 /* end confdefs.h. */
2267 rm -f conftest.$ac_objext
2268 if { (ac_try="$ac_compile"
2270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2271 *) ac_try_echo=$ac_try;;
2273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2274 (eval "$ac_compile") 2>conftest.er1
2276 grep -v '^ *+' conftest.er1 >conftest.err
2278 cat conftest.err >&5
2279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2280 (exit $ac_status); } &&
2281 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2282 { (case "(($ac_try" in
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_try") 2>&5
2289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2290 (exit $ac_status); }; } &&
2291 { ac_try='test -s conftest.$ac_objext'
2292 { (case "(($ac_try" in
2293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2294 *) ac_try_echo=$ac_try;;
2296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2297 (eval "$ac_try") 2>&5
2299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2300 (exit $ac_status); }; }; then
2303 echo "$as_me: failed program was:" >&5
2304 sed 's/^/| /' conftest.$ac_ext >&5
2309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2310 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2313 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2314 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2315 GCC=`test $ac_compiler_gnu = yes && echo yes`
2316 ac_test_CFLAGS=${CFLAGS+set}
2317 ac_save_CFLAGS=$CFLAGS
2318 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2319 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2320 if test "${ac_cv_prog_cc_g+set}" = set; then
2321 echo $ECHO_N "(cached) $ECHO_C" >&6
2323 ac_save_c_werror_flag=$ac_c_werror_flag
2324 ac_c_werror_flag=yes
2327 cat >conftest.$ac_ext <<_ACEOF
2330 cat confdefs.h >>conftest.$ac_ext
2331 cat >>conftest.$ac_ext <<_ACEOF
2332 /* end confdefs.h. */
2342 rm -f conftest.$ac_objext
2343 if { (ac_try="$ac_compile"
2345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2346 *) ac_try_echo=$ac_try;;
2348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2349 (eval "$ac_compile") 2>conftest.er1
2351 grep -v '^ *+' conftest.er1 >conftest.err
2353 cat conftest.err >&5
2354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2355 (exit $ac_status); } &&
2356 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2357 { (case "(($ac_try" in
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_try") 2>&5
2364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2365 (exit $ac_status); }; } &&
2366 { ac_try='test -s conftest.$ac_objext'
2367 { (case "(($ac_try" in
2368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2369 *) ac_try_echo=$ac_try;;
2371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2372 (eval "$ac_try") 2>&5
2374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2375 (exit $ac_status); }; }; then
2378 echo "$as_me: failed program was:" >&5
2379 sed 's/^/| /' conftest.$ac_ext >&5
2382 cat >conftest.$ac_ext <<_ACEOF
2385 cat confdefs.h >>conftest.$ac_ext
2386 cat >>conftest.$ac_ext <<_ACEOF
2387 /* end confdefs.h. */
2397 rm -f conftest.$ac_objext
2398 if { (ac_try="$ac_compile"
2400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2401 *) ac_try_echo=$ac_try;;
2403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2404 (eval "$ac_compile") 2>conftest.er1
2406 grep -v '^ *+' conftest.er1 >conftest.err
2408 cat conftest.err >&5
2409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2410 (exit $ac_status); } &&
2411 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2412 { (case "(($ac_try" in
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_try") 2>&5
2419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2420 (exit $ac_status); }; } &&
2421 { ac_try='test -s conftest.$ac_objext'
2422 { (case "(($ac_try" in
2423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2424 *) ac_try_echo=$ac_try;;
2426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2427 (eval "$ac_try") 2>&5
2429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2430 (exit $ac_status); }; }; then
2433 echo "$as_me: failed program was:" >&5
2434 sed 's/^/| /' conftest.$ac_ext >&5
2436 ac_c_werror_flag=$ac_save_c_werror_flag
2438 cat >conftest.$ac_ext <<_ACEOF
2441 cat confdefs.h >>conftest.$ac_ext
2442 cat >>conftest.$ac_ext <<_ACEOF
2443 /* end confdefs.h. */
2453 rm -f conftest.$ac_objext
2454 if { (ac_try="$ac_compile"
2456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2457 *) ac_try_echo=$ac_try;;
2459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2460 (eval "$ac_compile") 2>conftest.er1
2462 grep -v '^ *+' conftest.er1 >conftest.err
2464 cat conftest.err >&5
2465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2466 (exit $ac_status); } &&
2467 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2468 { (case "(($ac_try" in
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_try") 2>&5
2475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2476 (exit $ac_status); }; } &&
2477 { ac_try='test -s conftest.$ac_objext'
2478 { (case "(($ac_try" in
2479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2480 *) ac_try_echo=$ac_try;;
2482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2483 (eval "$ac_try") 2>&5
2485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2486 (exit $ac_status); }; }; then
2489 echo "$as_me: failed program was:" >&5
2490 sed 's/^/| /' conftest.$ac_ext >&5
2495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2502 ac_c_werror_flag=$ac_save_c_werror_flag
2504 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2505 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2506 if test "$ac_test_CFLAGS" = set; then
2507 CFLAGS=$ac_save_CFLAGS
2508 elif test $ac_cv_prog_cc_g = yes; then
2509 if test "$GCC" = yes; then
2515 if test "$GCC" = yes; then
2521 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2522 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2523 if test "${ac_cv_prog_cc_c89+set}" = set; then
2524 echo $ECHO_N "(cached) $ECHO_C" >&6
2526 ac_cv_prog_cc_c89=no
2528 cat >conftest.$ac_ext <<_ACEOF
2531 cat confdefs.h >>conftest.$ac_ext
2532 cat >>conftest.$ac_ext <<_ACEOF
2533 /* end confdefs.h. */
2536 #include <sys/types.h>
2537 #include <sys/stat.h>
2538 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2539 struct buf { int x; };
2540 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2541 static char *e (p, i)
2547 static char *f (char * (*g) (char **, int), char **p, ...)
2552 s = g (p, va_arg (v,int));
2557 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2558 function prototypes and stuff, but not '\xHH' hex character constants.
2559 These don't provoke an error unfortunately, instead are silently treated
2560 as 'x'. The following induces an error, until -std is added to get
2561 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2562 array size at least. It's necessary to write '\x00'==0 to get something
2563 that's true only with -std. */
2564 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2566 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2567 inside strings and character constants. */
2569 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2571 int test (int i, double x);
2572 struct s1 {int (*f) (int a);};
2573 struct s2 {int (*f) (double a);};
2574 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2580 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2585 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2586 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2588 CC="$ac_save_CC $ac_arg"
2589 rm -f conftest.$ac_objext
2590 if { (ac_try="$ac_compile"
2592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2593 *) ac_try_echo=$ac_try;;
2595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2596 (eval "$ac_compile") 2>conftest.er1
2598 grep -v '^ *+' conftest.er1 >conftest.err
2600 cat conftest.err >&5
2601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602 (exit $ac_status); } &&
2603 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2604 { (case "(($ac_try" in
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_try") 2>&5
2611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2612 (exit $ac_status); }; } &&
2613 { ac_try='test -s conftest.$ac_objext'
2614 { (case "(($ac_try" in
2615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2616 *) ac_try_echo=$ac_try;;
2618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2619 (eval "$ac_try") 2>&5
2621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2622 (exit $ac_status); }; }; then
2623 ac_cv_prog_cc_c89=$ac_arg
2625 echo "$as_me: failed program was:" >&5
2626 sed 's/^/| /' conftest.$ac_ext >&5
2631 rm -f core conftest.err conftest.$ac_objext
2632 test "x$ac_cv_prog_cc_c89" != "xno" && break
2634 rm -f conftest.$ac_ext
2639 case "x$ac_cv_prog_cc_c89" in
2641 { echo "$as_me:$LINENO: result: none needed" >&5
2642 echo "${ECHO_T}none needed" >&6; } ;;
2644 { echo "$as_me:$LINENO: result: unsupported" >&5
2645 echo "${ECHO_T}unsupported" >&6; } ;;
2647 CC="$CC $ac_cv_prog_cc_c89"
2648 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2649 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2654 ac_cpp='$CPP $CPPFLAGS'
2655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2662 ac_cpp='$CPP $CPPFLAGS'
2663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2666 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2667 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
2668 # On Suns, sometimes $CPP names a directory.
2669 if test -n "$CPP" && test -d "$CPP"; then
2672 if test -z "$CPP"; then
2673 if test "${ac_cv_prog_CPP+set}" = set; then
2674 echo $ECHO_N "(cached) $ECHO_C" >&6
2676 # Double quotes because CPP needs to be expanded
2677 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2680 for ac_c_preproc_warn_flag in '' yes
2682 # Use a header file that comes with gcc, so configuring glibc
2683 # with a fresh cross-compiler works.
2684 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2685 # <limits.h> exists even on freestanding compilers.
2686 # On the NeXT, cc -E runs the code through the compiler's parser,
2687 # not just through cpp. "Syntax error" is here to catch this case.
2688 cat >conftest.$ac_ext <<_ACEOF
2691 cat confdefs.h >>conftest.$ac_ext
2692 cat >>conftest.$ac_ext <<_ACEOF
2693 /* end confdefs.h. */
2695 # include <limits.h>
2697 # include <assert.h>
2701 if { (ac_try="$ac_cpp conftest.$ac_ext"
2703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2704 *) ac_try_echo=$ac_try;;
2706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2707 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2709 grep -v '^ *+' conftest.er1 >conftest.err
2711 cat conftest.err >&5
2712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2713 (exit $ac_status); } >/dev/null; then
2714 if test -s conftest.err; then
2715 ac_cpp_err=$ac_c_preproc_warn_flag
2716 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2723 if test -z "$ac_cpp_err"; then
2726 echo "$as_me: failed program was:" >&5
2727 sed 's/^/| /' conftest.$ac_ext >&5
2729 # Broken: fails on valid input.
2733 rm -f conftest.err conftest.$ac_ext
2735 # OK, works on sane cases. Now check whether nonexistent headers
2736 # can be detected and how.
2737 cat >conftest.$ac_ext <<_ACEOF
2740 cat confdefs.h >>conftest.$ac_ext
2741 cat >>conftest.$ac_ext <<_ACEOF
2742 /* end confdefs.h. */
2743 #include <ac_nonexistent.h>
2745 if { (ac_try="$ac_cpp conftest.$ac_ext"
2747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2748 *) ac_try_echo=$ac_try;;
2750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2751 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2753 grep -v '^ *+' conftest.er1 >conftest.err
2755 cat conftest.err >&5
2756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2757 (exit $ac_status); } >/dev/null; then
2758 if test -s conftest.err; then
2759 ac_cpp_err=$ac_c_preproc_warn_flag
2760 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2767 if test -z "$ac_cpp_err"; then
2768 # Broken: success on invalid input.
2771 echo "$as_me: failed program was:" >&5
2772 sed 's/^/| /' conftest.$ac_ext >&5
2774 # Passes both tests.
2779 rm -f conftest.err conftest.$ac_ext
2782 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2783 rm -f conftest.err conftest.$ac_ext
2784 if $ac_preproc_ok; then
2796 { echo "$as_me:$LINENO: result: $CPP" >&5
2797 echo "${ECHO_T}$CPP" >&6; }
2799 for ac_c_preproc_warn_flag in '' yes
2801 # Use a header file that comes with gcc, so configuring glibc
2802 # with a fresh cross-compiler works.
2803 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2804 # <limits.h> exists even on freestanding compilers.
2805 # On the NeXT, cc -E runs the code through the compiler's parser,
2806 # not just through cpp. "Syntax error" is here to catch this case.
2807 cat >conftest.$ac_ext <<_ACEOF
2810 cat confdefs.h >>conftest.$ac_ext
2811 cat >>conftest.$ac_ext <<_ACEOF
2812 /* end confdefs.h. */
2814 # include <limits.h>
2816 # include <assert.h>
2820 if { (ac_try="$ac_cpp conftest.$ac_ext"
2822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2823 *) ac_try_echo=$ac_try;;
2825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2826 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2828 grep -v '^ *+' conftest.er1 >conftest.err
2830 cat conftest.err >&5
2831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2832 (exit $ac_status); } >/dev/null; then
2833 if test -s conftest.err; then
2834 ac_cpp_err=$ac_c_preproc_warn_flag
2835 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2842 if test -z "$ac_cpp_err"; then
2845 echo "$as_me: failed program was:" >&5
2846 sed 's/^/| /' conftest.$ac_ext >&5
2848 # Broken: fails on valid input.
2852 rm -f conftest.err conftest.$ac_ext
2854 # OK, works on sane cases. Now check whether nonexistent headers
2855 # can be detected and how.
2856 cat >conftest.$ac_ext <<_ACEOF
2859 cat confdefs.h >>conftest.$ac_ext
2860 cat >>conftest.$ac_ext <<_ACEOF
2861 /* end confdefs.h. */
2862 #include <ac_nonexistent.h>
2864 if { (ac_try="$ac_cpp conftest.$ac_ext"
2866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2867 *) ac_try_echo=$ac_try;;
2869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2870 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2872 grep -v '^ *+' conftest.er1 >conftest.err
2874 cat conftest.err >&5
2875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2876 (exit $ac_status); } >/dev/null; then
2877 if test -s conftest.err; then
2878 ac_cpp_err=$ac_c_preproc_warn_flag
2879 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2886 if test -z "$ac_cpp_err"; then
2887 # Broken: success on invalid input.
2890 echo "$as_me: failed program was:" >&5
2891 sed 's/^/| /' conftest.$ac_ext >&5
2893 # Passes both tests.
2898 rm -f conftest.err conftest.$ac_ext
2901 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2902 rm -f conftest.err conftest.$ac_ext
2903 if $ac_preproc_ok; then
2906 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2907 See \`config.log' for more details." >&5
2908 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2909 See \`config.log' for more details." >&2;}
2910 { (exit 1); exit 1; }; }
2914 ac_cpp='$CPP $CPPFLAGS'
2915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2920 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2921 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
2922 if test "${ac_cv_path_GREP+set}" = set; then
2923 echo $ECHO_N "(cached) $ECHO_C" >&6
2925 # Extract the first word of "grep ggrep" to use in msg output
2926 if test -z "$GREP"; then
2927 set dummy grep ggrep; ac_prog_name=$2
2928 if test "${ac_cv_path_GREP+set}" = set; then
2929 echo $ECHO_N "(cached) $ECHO_C" >&6
2931 ac_path_GREP_found=false
2932 # Loop through the user's path and test for each of PROGNAME-LIST
2933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2934 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2937 test -z "$as_dir" && as_dir=.
2938 for ac_prog in grep ggrep; do
2939 for ac_exec_ext in '' $ac_executable_extensions; do
2940 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2941 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
2942 # Check for GNU ac_path_GREP and select it if it is found.
2943 # Check for GNU $ac_path_GREP
2944 case `"$ac_path_GREP" --version 2>&1` in
2946 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2949 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2952 cat "conftest.in" "conftest.in" >"conftest.tmp"
2953 mv "conftest.tmp" "conftest.in"
2954 cp "conftest.in" "conftest.nl"
2955 echo 'GREP' >> "conftest.nl"
2956 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2957 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2958 ac_count=`expr $ac_count + 1`
2959 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2960 # Best one so far, save it but keep looking for a better one
2961 ac_cv_path_GREP="$ac_path_GREP"
2962 ac_path_GREP_max=$ac_count
2964 # 10*(2^10) chars as input seems more than enough
2965 test $ac_count -gt 10 && break
2967 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2971 $ac_path_GREP_found && break 3
2981 GREP="$ac_cv_path_GREP"
2982 if test -z "$GREP"; then
2983 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2984 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2985 { (exit 1); exit 1; }; }
2989 ac_cv_path_GREP=$GREP
2994 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2995 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
2996 GREP="$ac_cv_path_GREP"
2999 { echo "$as_me:$LINENO: checking for egrep" >&5
3000 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3001 if test "${ac_cv_path_EGREP+set}" = set; then
3002 echo $ECHO_N "(cached) $ECHO_C" >&6
3004 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3005 then ac_cv_path_EGREP="$GREP -E"
3007 # Extract the first word of "egrep" to use in msg output
3008 if test -z "$EGREP"; then
3009 set dummy egrep; ac_prog_name=$2
3010 if test "${ac_cv_path_EGREP+set}" = set; then
3011 echo $ECHO_N "(cached) $ECHO_C" >&6
3013 ac_path_EGREP_found=false
3014 # Loop through the user's path and test for each of PROGNAME-LIST
3015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3016 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3019 test -z "$as_dir" && as_dir=.
3020 for ac_prog in egrep; do
3021 for ac_exec_ext in '' $ac_executable_extensions; do
3022 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3023 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
3024 # Check for GNU ac_path_EGREP and select it if it is found.
3025 # Check for GNU $ac_path_EGREP
3026 case `"$ac_path_EGREP" --version 2>&1` in
3028 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3031 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3034 cat "conftest.in" "conftest.in" >"conftest.tmp"
3035 mv "conftest.tmp" "conftest.in"
3036 cp "conftest.in" "conftest.nl"
3037 echo 'EGREP' >> "conftest.nl"
3038 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3039 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3040 ac_count=`expr $ac_count + 1`
3041 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3042 # Best one so far, save it but keep looking for a better one
3043 ac_cv_path_EGREP="$ac_path_EGREP"
3044 ac_path_EGREP_max=$ac_count
3046 # 10*(2^10) chars as input seems more than enough
3047 test $ac_count -gt 10 && break
3049 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3053 $ac_path_EGREP_found && break 3
3063 EGREP="$ac_cv_path_EGREP"
3064 if test -z "$EGREP"; then
3065 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3066 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3067 { (exit 1); exit 1; }; }
3071 ac_cv_path_EGREP=$EGREP
3077 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3078 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3079 EGREP="$ac_cv_path_EGREP"
3082 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3083 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3084 if test "${ac_cv_header_stdc+set}" = set; then
3085 echo $ECHO_N "(cached) $ECHO_C" >&6
3087 cat >conftest.$ac_ext <<_ACEOF
3090 cat confdefs.h >>conftest.$ac_ext
3091 cat >>conftest.$ac_ext <<_ACEOF
3092 /* end confdefs.h. */
3106 rm -f conftest.$ac_objext
3107 if { (ac_try="$ac_compile"
3109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3110 *) ac_try_echo=$ac_try;;
3112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3113 (eval "$ac_compile") 2>conftest.er1
3115 grep -v '^ *+' conftest.er1 >conftest.err
3117 cat conftest.err >&5
3118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3119 (exit $ac_status); } &&
3120 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3121 { (case "(($ac_try" in
3122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3123 *) ac_try_echo=$ac_try;;
3125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3126 (eval "$ac_try") 2>&5
3128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3129 (exit $ac_status); }; } &&
3130 { ac_try='test -s conftest.$ac_objext'
3131 { (case "(($ac_try" in
3132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3133 *) ac_try_echo=$ac_try;;
3135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3136 (eval "$ac_try") 2>&5
3138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3139 (exit $ac_status); }; }; then
3140 ac_cv_header_stdc=yes
3142 echo "$as_me: failed program was:" >&5
3143 sed 's/^/| /' conftest.$ac_ext >&5
3145 ac_cv_header_stdc=no
3148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3150 if test $ac_cv_header_stdc = yes; then
3151 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3152 cat >conftest.$ac_ext <<_ACEOF
3155 cat confdefs.h >>conftest.$ac_ext
3156 cat >>conftest.$ac_ext <<_ACEOF
3157 /* end confdefs.h. */
3161 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3162 $EGREP "memchr" >/dev/null 2>&1; then
3165 ac_cv_header_stdc=no
3171 if test $ac_cv_header_stdc = yes; then
3172 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3173 cat >conftest.$ac_ext <<_ACEOF
3176 cat confdefs.h >>conftest.$ac_ext
3177 cat >>conftest.$ac_ext <<_ACEOF
3178 /* end confdefs.h. */
3182 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3183 $EGREP "free" >/dev/null 2>&1; then
3186 ac_cv_header_stdc=no
3192 if test $ac_cv_header_stdc = yes; then
3193 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3194 if test "$cross_compiling" = yes; then
3197 cat >conftest.$ac_ext <<_ACEOF
3200 cat confdefs.h >>conftest.$ac_ext
3201 cat >>conftest.$ac_ext <<_ACEOF
3202 /* end confdefs.h. */
3205 #if ((' ' & 0x0FF) == 0x020)
3206 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3207 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3209 # define ISLOWER(c) \
3210 (('a' <= (c) && (c) <= 'i') \
3211 || ('j' <= (c) && (c) <= 'r') \
3212 || ('s' <= (c) && (c) <= 'z'))
3213 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3216 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3221 for (i = 0; i < 256; i++)
3222 if (XOR (islower (i), ISLOWER (i))
3223 || toupper (i) != TOUPPER (i))
3228 rm -f conftest$ac_exeext
3229 if { (ac_try="$ac_link"
3231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3232 *) ac_try_echo=$ac_try;;
3234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3235 (eval "$ac_link") 2>&5
3237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3238 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3239 { (case "(($ac_try" in
3240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3241 *) ac_try_echo=$ac_try;;
3243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3244 (eval "$ac_try") 2>&5
3246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3247 (exit $ac_status); }; }; then
3250 echo "$as_me: program exited with status $ac_status" >&5
3251 echo "$as_me: failed program was:" >&5
3252 sed 's/^/| /' conftest.$ac_ext >&5
3255 ac_cv_header_stdc=no
3257 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3263 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3264 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3265 if test $ac_cv_header_stdc = yes; then
3267 cat >>confdefs.h <<\_ACEOF
3268 #define STDC_HEADERS 1
3273 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3283 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3284 inttypes.h stdint.h unistd.h
3286 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3287 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3288 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3289 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3290 echo $ECHO_N "(cached) $ECHO_C" >&6
3292 cat >conftest.$ac_ext <<_ACEOF
3295 cat confdefs.h >>conftest.$ac_ext
3296 cat >>conftest.$ac_ext <<_ACEOF
3297 /* end confdefs.h. */
3298 $ac_includes_default
3300 #include <$ac_header>
3302 rm -f conftest.$ac_objext
3303 if { (ac_try="$ac_compile"
3305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3306 *) ac_try_echo=$ac_try;;
3308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3309 (eval "$ac_compile") 2>conftest.er1
3311 grep -v '^ *+' conftest.er1 >conftest.err
3313 cat conftest.err >&5
3314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3315 (exit $ac_status); } &&
3316 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3317 { (case "(($ac_try" in
3318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3319 *) ac_try_echo=$ac_try;;
3321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3322 (eval "$ac_try") 2>&5
3324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3325 (exit $ac_status); }; } &&
3326 { ac_try='test -s conftest.$ac_objext'
3327 { (case "(($ac_try" in
3328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3329 *) ac_try_echo=$ac_try;;
3331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3332 (eval "$ac_try") 2>&5
3334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3335 (exit $ac_status); }; }; then
3336 eval "$as_ac_Header=yes"
3338 echo "$as_me: failed program was:" >&5
3339 sed 's/^/| /' conftest.$ac_ext >&5
3341 eval "$as_ac_Header=no"
3344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3346 ac_res=`eval echo '${'$as_ac_Header'}'`
3347 { echo "$as_me:$LINENO: result: $ac_res" >&5
3348 echo "${ECHO_T}$ac_res" >&6; }
3349 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3350 cat >>confdefs.h <<_ACEOF
3351 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3359 { echo "$as_me:$LINENO: checking for char" >&5
3360 echo $ECHO_N "checking for char... $ECHO_C" >&6; }
3361 if test "${ac_cv_type_char+set}" = set; then
3362 echo $ECHO_N "(cached) $ECHO_C" >&6
3364 cat >conftest.$ac_ext <<_ACEOF
3367 cat confdefs.h >>conftest.$ac_ext
3368 cat >>conftest.$ac_ext <<_ACEOF
3369 /* end confdefs.h. */
3370 $ac_includes_default
3371 typedef char ac__type_new_;
3375 if ((ac__type_new_ *) 0)
3377 if (sizeof (ac__type_new_))
3383 rm -f conftest.$ac_objext
3384 if { (ac_try="$ac_compile"
3386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3387 *) ac_try_echo=$ac_try;;
3389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3390 (eval "$ac_compile") 2>conftest.er1
3392 grep -v '^ *+' conftest.er1 >conftest.err
3394 cat conftest.err >&5
3395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3396 (exit $ac_status); } &&
3397 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3398 { (case "(($ac_try" in
3399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3400 *) ac_try_echo=$ac_try;;
3402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3403 (eval "$ac_try") 2>&5
3405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3406 (exit $ac_status); }; } &&
3407 { ac_try='test -s conftest.$ac_objext'
3408 { (case "(($ac_try" in
3409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3410 *) ac_try_echo=$ac_try;;
3412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3413 (eval "$ac_try") 2>&5
3415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3416 (exit $ac_status); }; }; then
3419 echo "$as_me: failed program was:" >&5
3420 sed 's/^/| /' conftest.$ac_ext >&5
3425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3427 { echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
3428 echo "${ECHO_T}$ac_cv_type_char" >&6; }
3430 { echo "$as_me:$LINENO: checking size of char" >&5
3431 echo $ECHO_N "checking size of char... $ECHO_C" >&6; }
3432 if test "${ac_cv_sizeof_char+set}" = set; then
3433 echo $ECHO_N "(cached) $ECHO_C" >&6
3435 if test "$ac_cv_type_char" = yes; then
3436 # The cast to long int works around a bug in the HP C Compiler
3437 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3438 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3439 # This bug is HP SR number 8606223364.
3440 if test "$cross_compiling" = yes; then
3441 # Depending upon the size, compute the lo and hi bounds.
3442 cat >conftest.$ac_ext <<_ACEOF
3445 cat confdefs.h >>conftest.$ac_ext
3446 cat >>conftest.$ac_ext <<_ACEOF
3447 /* end confdefs.h. */
3448 $ac_includes_default
3449 typedef char ac__type_sizeof_;
3453 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
3460 rm -f conftest.$ac_objext
3461 if { (ac_try="$ac_compile"
3463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3464 *) ac_try_echo=$ac_try;;
3466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3467 (eval "$ac_compile") 2>conftest.er1
3469 grep -v '^ *+' conftest.er1 >conftest.err
3471 cat conftest.err >&5
3472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3473 (exit $ac_status); } &&
3474 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3475 { (case "(($ac_try" in
3476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3477 *) ac_try_echo=$ac_try;;
3479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3480 (eval "$ac_try") 2>&5
3482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3483 (exit $ac_status); }; } &&
3484 { ac_try='test -s conftest.$ac_objext'
3485 { (case "(($ac_try" in
3486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3487 *) ac_try_echo=$ac_try;;
3489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3490 (eval "$ac_try") 2>&5
3492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3493 (exit $ac_status); }; }; then
3496 cat >conftest.$ac_ext <<_ACEOF
3499 cat confdefs.h >>conftest.$ac_ext
3500 cat >>conftest.$ac_ext <<_ACEOF
3501 /* end confdefs.h. */
3502 $ac_includes_default
3503 typedef char ac__type_sizeof_;
3507 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
3514 rm -f conftest.$ac_objext
3515 if { (ac_try="$ac_compile"
3517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3518 *) ac_try_echo=$ac_try;;
3520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3521 (eval "$ac_compile") 2>conftest.er1
3523 grep -v '^ *+' conftest.er1 >conftest.err
3525 cat conftest.err >&5
3526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3527 (exit $ac_status); } &&
3528 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3529 { (case "(($ac_try" in
3530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3531 *) ac_try_echo=$ac_try;;
3533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3534 (eval "$ac_try") 2>&5
3536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3537 (exit $ac_status); }; } &&
3538 { ac_try='test -s conftest.$ac_objext'
3539 { (case "(($ac_try" in
3540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3541 *) ac_try_echo=$ac_try;;
3543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3544 (eval "$ac_try") 2>&5
3546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3547 (exit $ac_status); }; }; then
3548 ac_hi=$ac_mid; break
3550 echo "$as_me: failed program was:" >&5
3551 sed 's/^/| /' conftest.$ac_ext >&5
3553 ac_lo=`expr $ac_mid + 1`
3554 if test $ac_lo -le $ac_mid; then
3558 ac_mid=`expr 2 '*' $ac_mid + 1`
3561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3564 echo "$as_me: failed program was:" >&5
3565 sed 's/^/| /' conftest.$ac_ext >&5
3567 cat >conftest.$ac_ext <<_ACEOF
3570 cat confdefs.h >>conftest.$ac_ext
3571 cat >>conftest.$ac_ext <<_ACEOF
3572 /* end confdefs.h. */
3573 $ac_includes_default
3574 typedef char ac__type_sizeof_;
3578 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
3585 rm -f conftest.$ac_objext
3586 if { (ac_try="$ac_compile"
3588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3589 *) ac_try_echo=$ac_try;;
3591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3592 (eval "$ac_compile") 2>conftest.er1
3594 grep -v '^ *+' conftest.er1 >conftest.err
3596 cat conftest.err >&5
3597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3598 (exit $ac_status); } &&
3599 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3600 { (case "(($ac_try" in
3601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3602 *) ac_try_echo=$ac_try;;
3604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3605 (eval "$ac_try") 2>&5
3607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3608 (exit $ac_status); }; } &&
3609 { ac_try='test -s conftest.$ac_objext'
3610 { (case "(($ac_try" in
3611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3612 *) ac_try_echo=$ac_try;;
3614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3615 (eval "$ac_try") 2>&5
3617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3618 (exit $ac_status); }; }; then
3621 cat >conftest.$ac_ext <<_ACEOF
3624 cat confdefs.h >>conftest.$ac_ext
3625 cat >>conftest.$ac_ext <<_ACEOF
3626 /* end confdefs.h. */
3627 $ac_includes_default
3628 typedef char ac__type_sizeof_;
3632 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
3639 rm -f conftest.$ac_objext
3640 if { (ac_try="$ac_compile"
3642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3643 *) ac_try_echo=$ac_try;;
3645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3646 (eval "$ac_compile") 2>conftest.er1
3648 grep -v '^ *+' conftest.er1 >conftest.err
3650 cat conftest.err >&5
3651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3652 (exit $ac_status); } &&
3653 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3654 { (case "(($ac_try" in
3655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3656 *) ac_try_echo=$ac_try;;
3658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3659 (eval "$ac_try") 2>&5
3661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3662 (exit $ac_status); }; } &&
3663 { ac_try='test -s conftest.$ac_objext'
3664 { (case "(($ac_try" in
3665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3666 *) ac_try_echo=$ac_try;;
3668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3669 (eval "$ac_try") 2>&5
3671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3672 (exit $ac_status); }; }; then
3673 ac_lo=$ac_mid; break
3675 echo "$as_me: failed program was:" >&5
3676 sed 's/^/| /' conftest.$ac_ext >&5
3678 ac_hi=`expr '(' $ac_mid ')' - 1`
3679 if test $ac_mid -le $ac_hi; then
3683 ac_mid=`expr 2 '*' $ac_mid`
3686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3689 echo "$as_me: failed program was:" >&5
3690 sed 's/^/| /' conftest.$ac_ext >&5
3695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3699 # Binary search between lo and hi bounds.
3700 while test "x$ac_lo" != "x$ac_hi"; do
3701 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
3702 cat >conftest.$ac_ext <<_ACEOF
3705 cat confdefs.h >>conftest.$ac_ext
3706 cat >>conftest.$ac_ext <<_ACEOF
3707 /* end confdefs.h. */
3708 $ac_includes_default
3709 typedef char ac__type_sizeof_;
3713 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
3720 rm -f conftest.$ac_objext
3721 if { (ac_try="$ac_compile"
3723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3724 *) ac_try_echo=$ac_try;;
3726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3727 (eval "$ac_compile") 2>conftest.er1
3729 grep -v '^ *+' conftest.er1 >conftest.err
3731 cat conftest.err >&5
3732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3733 (exit $ac_status); } &&
3734 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3735 { (case "(($ac_try" in
3736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3737 *) ac_try_echo=$ac_try;;
3739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3740 (eval "$ac_try") 2>&5
3742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3743 (exit $ac_status); }; } &&
3744 { ac_try='test -s conftest.$ac_objext'
3745 { (case "(($ac_try" in
3746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3747 *) ac_try_echo=$ac_try;;
3749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3750 (eval "$ac_try") 2>&5
3752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3753 (exit $ac_status); }; }; then
3756 echo "$as_me: failed program was:" >&5
3757 sed 's/^/| /' conftest.$ac_ext >&5
3759 ac_lo=`expr '(' $ac_mid ')' + 1`
3762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3765 ?*) ac_cv_sizeof_char=$ac_lo;;
3766 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char)
3767 See \`config.log' for more details." >&5
3768 echo "$as_me: error: cannot compute sizeof (char)
3769 See \`config.log' for more details." >&2;}
3770 { (exit 77); exit 77; }; } ;;
3773 cat >conftest.$ac_ext <<_ACEOF
3776 cat confdefs.h >>conftest.$ac_ext
3777 cat >>conftest.$ac_ext <<_ACEOF
3778 /* end confdefs.h. */
3779 $ac_includes_default
3780 typedef char ac__type_sizeof_;
3781 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
3782 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
3789 FILE *f = fopen ("conftest.val", "w");
3792 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
3794 long int i = longval ();
3795 if (i != ((long int) (sizeof (ac__type_sizeof_))))
3797 fprintf (f, "%ld\n", i);
3801 unsigned long int i = ulongval ();
3802 if (i != ((long int) (sizeof (ac__type_sizeof_))))
3804 fprintf (f, "%lu\n", i);
3806 return ferror (f) || fclose (f) != 0;
3812 rm -f conftest$ac_exeext
3813 if { (ac_try="$ac_link"
3815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3816 *) ac_try_echo=$ac_try;;
3818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3819 (eval "$ac_link") 2>&5
3821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3822 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3823 { (case "(($ac_try" in
3824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3825 *) ac_try_echo=$ac_try;;
3827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3828 (eval "$ac_try") 2>&5
3830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3831 (exit $ac_status); }; }; then
3832 ac_cv_sizeof_char=`cat conftest.val`
3834 echo "$as_me: program exited with status $ac_status" >&5
3835 echo "$as_me: failed program was:" >&5
3836 sed 's/^/| /' conftest.$ac_ext >&5
3839 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char)
3840 See \`config.log' for more details." >&5
3841 echo "$as_me: error: cannot compute sizeof (char)
3842 See \`config.log' for more details." >&2;}
3843 { (exit 77); exit 77; }; }
3845 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3852 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
3853 echo "${ECHO_T}$ac_cv_sizeof_char" >&6; }
3854 cat >>confdefs.h <<_ACEOF
3855 #define SIZEOF_CHAR $ac_cv_sizeof_char
3859 { echo "$as_me:$LINENO: checking for short" >&5
3860 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
3861 if test "${ac_cv_type_short+set}" = set; then
3862 echo $ECHO_N "(cached) $ECHO_C" >&6
3864 cat >conftest.$ac_ext <<_ACEOF
3867 cat confdefs.h >>conftest.$ac_ext
3868 cat >>conftest.$ac_ext <<_ACEOF
3869 /* end confdefs.h. */
3870 $ac_includes_default
3871 typedef short ac__type_new_;
3875 if ((ac__type_new_ *) 0)
3877 if (sizeof (ac__type_new_))
3883 rm -f conftest.$ac_objext
3884 if { (ac_try="$ac_compile"
3886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3887 *) ac_try_echo=$ac_try;;
3889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3890 (eval "$ac_compile") 2>conftest.er1
3892 grep -v '^ *+' conftest.er1 >conftest.err
3894 cat conftest.err >&5
3895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3896 (exit $ac_status); } &&
3897 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3898 { (case "(($ac_try" in
3899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3900 *) ac_try_echo=$ac_try;;
3902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3903 (eval "$ac_try") 2>&5
3905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3906 (exit $ac_status); }; } &&
3907 { ac_try='test -s conftest.$ac_objext'
3908 { (case "(($ac_try" in
3909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3910 *) ac_try_echo=$ac_try;;
3912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3913 (eval "$ac_try") 2>&5
3915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3916 (exit $ac_status); }; }; then
3917 ac_cv_type_short=yes
3919 echo "$as_me: failed program was:" >&5
3920 sed 's/^/| /' conftest.$ac_ext >&5
3925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3927 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
3928 echo "${ECHO_T}$ac_cv_type_short" >&6; }
3930 { echo "$as_me:$LINENO: checking size of short" >&5
3931 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
3932 if test "${ac_cv_sizeof_short+set}" = set; then
3933 echo $ECHO_N "(cached) $ECHO_C" >&6
3935 if test "$ac_cv_type_short" = yes; then
3936 # The cast to long int works around a bug in the HP C Compiler
3937 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3938 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3939 # This bug is HP SR number 8606223364.
3940 if test "$cross_compiling" = yes; then
3941 # Depending upon the size, compute the lo and hi bounds.
3942 cat >conftest.$ac_ext <<_ACEOF
3945 cat confdefs.h >>conftest.$ac_ext
3946 cat >>conftest.$ac_ext <<_ACEOF
3947 /* end confdefs.h. */
3948 $ac_includes_default
3949 typedef short ac__type_sizeof_;
3953 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
3960 rm -f conftest.$ac_objext
3961 if { (ac_try="$ac_compile"
3963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3964 *) ac_try_echo=$ac_try;;
3966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3967 (eval "$ac_compile") 2>conftest.er1
3969 grep -v '^ *+' conftest.er1 >conftest.err
3971 cat conftest.err >&5
3972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3973 (exit $ac_status); } &&
3974 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
3984 { ac_try='test -s conftest.$ac_objext'
3985 { (case "(($ac_try" in
3986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3987 *) ac_try_echo=$ac_try;;
3989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3990 (eval "$ac_try") 2>&5
3992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3993 (exit $ac_status); }; }; then
3996 cat >conftest.$ac_ext <<_ACEOF
3999 cat confdefs.h >>conftest.$ac_ext
4000 cat >>conftest.$ac_ext <<_ACEOF
4001 /* end confdefs.h. */
4002 $ac_includes_default
4003 typedef short ac__type_sizeof_;
4007 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
4014 rm -f conftest.$ac_objext
4015 if { (ac_try="$ac_compile"
4017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4018 *) ac_try_echo=$ac_try;;
4020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4021 (eval "$ac_compile") 2>conftest.er1
4023 grep -v '^ *+' conftest.er1 >conftest.err
4025 cat conftest.err >&5
4026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4027 (exit $ac_status); } &&
4028 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4029 { (case "(($ac_try" in
4030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4031 *) ac_try_echo=$ac_try;;
4033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4034 (eval "$ac_try") 2>&5
4036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4037 (exit $ac_status); }; } &&
4038 { ac_try='test -s conftest.$ac_objext'
4039 { (case "(($ac_try" in
4040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4041 *) ac_try_echo=$ac_try;;
4043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4044 (eval "$ac_try") 2>&5
4046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4047 (exit $ac_status); }; }; then
4048 ac_hi=$ac_mid; break
4050 echo "$as_me: failed program was:" >&5
4051 sed 's/^/| /' conftest.$ac_ext >&5
4053 ac_lo=`expr $ac_mid + 1`
4054 if test $ac_lo -le $ac_mid; then
4058 ac_mid=`expr 2 '*' $ac_mid + 1`
4061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4064 echo "$as_me: failed program was:" >&5
4065 sed 's/^/| /' conftest.$ac_ext >&5
4067 cat >conftest.$ac_ext <<_ACEOF
4070 cat confdefs.h >>conftest.$ac_ext
4071 cat >>conftest.$ac_ext <<_ACEOF
4072 /* end confdefs.h. */
4073 $ac_includes_default
4074 typedef short ac__type_sizeof_;
4078 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
4085 rm -f conftest.$ac_objext
4086 if { (ac_try="$ac_compile"
4088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4089 *) ac_try_echo=$ac_try;;
4091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4092 (eval "$ac_compile") 2>conftest.er1
4094 grep -v '^ *+' conftest.er1 >conftest.err
4096 cat conftest.err >&5
4097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4098 (exit $ac_status); } &&
4099 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4100 { (case "(($ac_try" in
4101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4102 *) ac_try_echo=$ac_try;;
4104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4105 (eval "$ac_try") 2>&5
4107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4108 (exit $ac_status); }; } &&
4109 { ac_try='test -s conftest.$ac_objext'
4110 { (case "(($ac_try" in
4111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4112 *) ac_try_echo=$ac_try;;
4114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4115 (eval "$ac_try") 2>&5
4117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4118 (exit $ac_status); }; }; then
4121 cat >conftest.$ac_ext <<_ACEOF
4124 cat confdefs.h >>conftest.$ac_ext
4125 cat >>conftest.$ac_ext <<_ACEOF
4126 /* end confdefs.h. */
4127 $ac_includes_default
4128 typedef short ac__type_sizeof_;
4132 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
4139 rm -f conftest.$ac_objext
4140 if { (ac_try="$ac_compile"
4142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4143 *) ac_try_echo=$ac_try;;
4145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4146 (eval "$ac_compile") 2>conftest.er1
4148 grep -v '^ *+' conftest.er1 >conftest.err
4150 cat conftest.err >&5
4151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4152 (exit $ac_status); } &&
4153 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4154 { (case "(($ac_try" in
4155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4156 *) ac_try_echo=$ac_try;;
4158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4159 (eval "$ac_try") 2>&5
4161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4162 (exit $ac_status); }; } &&
4163 { ac_try='test -s conftest.$ac_objext'
4164 { (case "(($ac_try" in
4165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4166 *) ac_try_echo=$ac_try;;
4168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4169 (eval "$ac_try") 2>&5
4171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4172 (exit $ac_status); }; }; then
4173 ac_lo=$ac_mid; break
4175 echo "$as_me: failed program was:" >&5
4176 sed 's/^/| /' conftest.$ac_ext >&5
4178 ac_hi=`expr '(' $ac_mid ')' - 1`
4179 if test $ac_mid -le $ac_hi; then
4183 ac_mid=`expr 2 '*' $ac_mid`
4186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4189 echo "$as_me: failed program was:" >&5
4190 sed 's/^/| /' conftest.$ac_ext >&5
4195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4199 # Binary search between lo and hi bounds.
4200 while test "x$ac_lo" != "x$ac_hi"; do
4201 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4202 cat >conftest.$ac_ext <<_ACEOF
4205 cat confdefs.h >>conftest.$ac_ext
4206 cat >>conftest.$ac_ext <<_ACEOF
4207 /* end confdefs.h. */
4208 $ac_includes_default
4209 typedef short ac__type_sizeof_;
4213 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
4220 rm -f conftest.$ac_objext
4221 if { (ac_try="$ac_compile"
4223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4224 *) ac_try_echo=$ac_try;;
4226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4227 (eval "$ac_compile") 2>conftest.er1
4229 grep -v '^ *+' conftest.er1 >conftest.err
4231 cat conftest.err >&5
4232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4233 (exit $ac_status); } &&
4234 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4235 { (case "(($ac_try" in
4236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4237 *) ac_try_echo=$ac_try;;
4239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4240 (eval "$ac_try") 2>&5
4242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4243 (exit $ac_status); }; } &&
4244 { ac_try='test -s conftest.$ac_objext'
4245 { (case "(($ac_try" in
4246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4247 *) ac_try_echo=$ac_try;;
4249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4250 (eval "$ac_try") 2>&5
4252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4253 (exit $ac_status); }; }; then
4256 echo "$as_me: failed program was:" >&5
4257 sed 's/^/| /' conftest.$ac_ext >&5
4259 ac_lo=`expr '(' $ac_mid ')' + 1`
4262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4265 ?*) ac_cv_sizeof_short=$ac_lo;;
4266 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
4267 See \`config.log' for more details." >&5
4268 echo "$as_me: error: cannot compute sizeof (short)
4269 See \`config.log' for more details." >&2;}
4270 { (exit 77); exit 77; }; } ;;
4273 cat >conftest.$ac_ext <<_ACEOF
4276 cat confdefs.h >>conftest.$ac_ext
4277 cat >>conftest.$ac_ext <<_ACEOF
4278 /* end confdefs.h. */
4279 $ac_includes_default
4280 typedef short ac__type_sizeof_;
4281 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
4282 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
4289 FILE *f = fopen ("conftest.val", "w");
4292 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
4294 long int i = longval ();
4295 if (i != ((long int) (sizeof (ac__type_sizeof_))))
4297 fprintf (f, "%ld\n", i);
4301 unsigned long int i = ulongval ();
4302 if (i != ((long int) (sizeof (ac__type_sizeof_))))
4304 fprintf (f, "%lu\n", i);
4306 return ferror (f) || fclose (f) != 0;
4312 rm -f conftest$ac_exeext
4313 if { (ac_try="$ac_link"
4315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4316 *) ac_try_echo=$ac_try;;
4318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4319 (eval "$ac_link") 2>&5
4321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4322 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4323 { (case "(($ac_try" in
4324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4325 *) ac_try_echo=$ac_try;;
4327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4328 (eval "$ac_try") 2>&5
4330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4331 (exit $ac_status); }; }; then
4332 ac_cv_sizeof_short=`cat conftest.val`
4334 echo "$as_me: program exited with status $ac_status" >&5
4335 echo "$as_me: failed program was:" >&5
4336 sed 's/^/| /' conftest.$ac_ext >&5
4339 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
4340 See \`config.log' for more details." >&5
4341 echo "$as_me: error: cannot compute sizeof (short)
4342 See \`config.log' for more details." >&2;}
4343 { (exit 77); exit 77; }; }
4345 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4349 ac_cv_sizeof_short=0
4352 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
4353 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
4354 cat >>confdefs.h <<_ACEOF
4355 #define SIZEOF_SHORT $ac_cv_sizeof_short
4359 { echo "$as_me:$LINENO: checking for int" >&5
4360 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
4361 if test "${ac_cv_type_int+set}" = set; then
4362 echo $ECHO_N "(cached) $ECHO_C" >&6
4364 cat >conftest.$ac_ext <<_ACEOF
4367 cat confdefs.h >>conftest.$ac_ext
4368 cat >>conftest.$ac_ext <<_ACEOF
4369 /* end confdefs.h. */
4370 $ac_includes_default
4371 typedef int ac__type_new_;
4375 if ((ac__type_new_ *) 0)
4377 if (sizeof (ac__type_new_))
4383 rm -f conftest.$ac_objext
4384 if { (ac_try="$ac_compile"
4386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4387 *) ac_try_echo=$ac_try;;
4389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4390 (eval "$ac_compile") 2>conftest.er1
4392 grep -v '^ *+' conftest.er1 >conftest.err
4394 cat conftest.err >&5
4395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4396 (exit $ac_status); } &&
4397 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4398 { (case "(($ac_try" in
4399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4400 *) ac_try_echo=$ac_try;;
4402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4403 (eval "$ac_try") 2>&5
4405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4406 (exit $ac_status); }; } &&
4407 { ac_try='test -s conftest.$ac_objext'
4408 { (case "(($ac_try" in
4409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4410 *) ac_try_echo=$ac_try;;
4412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4413 (eval "$ac_try") 2>&5
4415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4416 (exit $ac_status); }; }; then
4419 echo "$as_me: failed program was:" >&5
4420 sed 's/^/| /' conftest.$ac_ext >&5
4425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4427 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
4428 echo "${ECHO_T}$ac_cv_type_int" >&6; }
4430 { echo "$as_me:$LINENO: checking size of int" >&5
4431 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
4432 if test "${ac_cv_sizeof_int+set}" = set; then
4433 echo $ECHO_N "(cached) $ECHO_C" >&6
4435 if test "$ac_cv_type_int" = yes; then
4436 # The cast to long int works around a bug in the HP C Compiler
4437 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4438 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4439 # This bug is HP SR number 8606223364.
4440 if test "$cross_compiling" = yes; then
4441 # Depending upon the size, compute the lo and hi bounds.
4442 cat >conftest.$ac_ext <<_ACEOF
4445 cat confdefs.h >>conftest.$ac_ext
4446 cat >>conftest.$ac_ext <<_ACEOF
4447 /* end confdefs.h. */
4448 $ac_includes_default
4449 typedef int ac__type_sizeof_;
4453 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
4460 rm -f conftest.$ac_objext
4461 if { (ac_try="$ac_compile"
4463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4464 *) ac_try_echo=$ac_try;;
4466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4467 (eval "$ac_compile") 2>conftest.er1
4469 grep -v '^ *+' conftest.er1 >conftest.err
4471 cat conftest.err >&5
4472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4473 (exit $ac_status); } &&
4474 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4475 { (case "(($ac_try" in
4476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4477 *) ac_try_echo=$ac_try;;
4479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4480 (eval "$ac_try") 2>&5
4482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4483 (exit $ac_status); }; } &&
4484 { ac_try='test -s conftest.$ac_objext'
4485 { (case "(($ac_try" in
4486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4487 *) ac_try_echo=$ac_try;;
4489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4490 (eval "$ac_try") 2>&5
4492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4493 (exit $ac_status); }; }; then
4496 cat >conftest.$ac_ext <<_ACEOF
4499 cat confdefs.h >>conftest.$ac_ext
4500 cat >>conftest.$ac_ext <<_ACEOF
4501 /* end confdefs.h. */
4502 $ac_includes_default
4503 typedef int ac__type_sizeof_;
4507 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
4514 rm -f conftest.$ac_objext
4515 if { (ac_try="$ac_compile"
4517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4518 *) ac_try_echo=$ac_try;;
4520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4521 (eval "$ac_compile") 2>conftest.er1
4523 grep -v '^ *+' conftest.er1 >conftest.err
4525 cat conftest.err >&5
4526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4527 (exit $ac_status); } &&
4528 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4529 { (case "(($ac_try" in
4530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4531 *) ac_try_echo=$ac_try;;
4533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4534 (eval "$ac_try") 2>&5
4536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4537 (exit $ac_status); }; } &&
4538 { ac_try='test -s conftest.$ac_objext'
4539 { (case "(($ac_try" in
4540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4541 *) ac_try_echo=$ac_try;;
4543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4544 (eval "$ac_try") 2>&5
4546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4547 (exit $ac_status); }; }; then
4548 ac_hi=$ac_mid; break
4550 echo "$as_me: failed program was:" >&5
4551 sed 's/^/| /' conftest.$ac_ext >&5
4553 ac_lo=`expr $ac_mid + 1`
4554 if test $ac_lo -le $ac_mid; then
4558 ac_mid=`expr 2 '*' $ac_mid + 1`
4561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4564 echo "$as_me: failed program was:" >&5
4565 sed 's/^/| /' conftest.$ac_ext >&5
4567 cat >conftest.$ac_ext <<_ACEOF
4570 cat confdefs.h >>conftest.$ac_ext
4571 cat >>conftest.$ac_ext <<_ACEOF
4572 /* end confdefs.h. */
4573 $ac_includes_default
4574 typedef int ac__type_sizeof_;
4578 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
4585 rm -f conftest.$ac_objext
4586 if { (ac_try="$ac_compile"
4588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4589 *) ac_try_echo=$ac_try;;
4591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4592 (eval "$ac_compile") 2>conftest.er1
4594 grep -v '^ *+' conftest.er1 >conftest.err
4596 cat conftest.err >&5
4597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4598 (exit $ac_status); } &&
4599 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4600 { (case "(($ac_try" in
4601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4602 *) ac_try_echo=$ac_try;;
4604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4605 (eval "$ac_try") 2>&5
4607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4608 (exit $ac_status); }; } &&
4609 { ac_try='test -s conftest.$ac_objext'
4610 { (case "(($ac_try" in
4611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4612 *) ac_try_echo=$ac_try;;
4614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4615 (eval "$ac_try") 2>&5
4617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4618 (exit $ac_status); }; }; then
4621 cat >conftest.$ac_ext <<_ACEOF
4624 cat confdefs.h >>conftest.$ac_ext
4625 cat >>conftest.$ac_ext <<_ACEOF
4626 /* end confdefs.h. */
4627 $ac_includes_default
4628 typedef int ac__type_sizeof_;
4632 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
4639 rm -f conftest.$ac_objext
4640 if { (ac_try="$ac_compile"
4642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4643 *) ac_try_echo=$ac_try;;
4645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4646 (eval "$ac_compile") 2>conftest.er1
4648 grep -v '^ *+' conftest.er1 >conftest.err
4650 cat conftest.err >&5
4651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4652 (exit $ac_status); } &&
4653 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4654 { (case "(($ac_try" in
4655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4656 *) ac_try_echo=$ac_try;;
4658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4659 (eval "$ac_try") 2>&5
4661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4662 (exit $ac_status); }; } &&
4663 { ac_try='test -s conftest.$ac_objext'
4664 { (case "(($ac_try" in
4665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4666 *) ac_try_echo=$ac_try;;
4668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4669 (eval "$ac_try") 2>&5
4671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4672 (exit $ac_status); }; }; then
4673 ac_lo=$ac_mid; break
4675 echo "$as_me: failed program was:" >&5
4676 sed 's/^/| /' conftest.$ac_ext >&5
4678 ac_hi=`expr '(' $ac_mid ')' - 1`
4679 if test $ac_mid -le $ac_hi; then
4683 ac_mid=`expr 2 '*' $ac_mid`
4686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4689 echo "$as_me: failed program was:" >&5
4690 sed 's/^/| /' conftest.$ac_ext >&5
4695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4699 # Binary search between lo and hi bounds.
4700 while test "x$ac_lo" != "x$ac_hi"; do
4701 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4702 cat >conftest.$ac_ext <<_ACEOF
4705 cat confdefs.h >>conftest.$ac_ext
4706 cat >>conftest.$ac_ext <<_ACEOF
4707 /* end confdefs.h. */
4708 $ac_includes_default
4709 typedef int ac__type_sizeof_;
4713 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
4720 rm -f conftest.$ac_objext
4721 if { (ac_try="$ac_compile"
4723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4724 *) ac_try_echo=$ac_try;;
4726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4727 (eval "$ac_compile") 2>conftest.er1
4729 grep -v '^ *+' conftest.er1 >conftest.err
4731 cat conftest.err >&5
4732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4733 (exit $ac_status); } &&
4734 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4735 { (case "(($ac_try" in
4736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4737 *) ac_try_echo=$ac_try;;
4739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4740 (eval "$ac_try") 2>&5
4742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4743 (exit $ac_status); }; } &&
4744 { ac_try='test -s conftest.$ac_objext'
4745 { (case "(($ac_try" in
4746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4747 *) ac_try_echo=$ac_try;;
4749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4750 (eval "$ac_try") 2>&5
4752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4753 (exit $ac_status); }; }; then
4756 echo "$as_me: failed program was:" >&5
4757 sed 's/^/| /' conftest.$ac_ext >&5
4759 ac_lo=`expr '(' $ac_mid ')' + 1`
4762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4765 ?*) ac_cv_sizeof_int=$ac_lo;;
4766 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
4767 See \`config.log' for more details." >&5
4768 echo "$as_me: error: cannot compute sizeof (int)
4769 See \`config.log' for more details." >&2;}
4770 { (exit 77); exit 77; }; } ;;
4773 cat >conftest.$ac_ext <<_ACEOF
4776 cat confdefs.h >>conftest.$ac_ext
4777 cat >>conftest.$ac_ext <<_ACEOF
4778 /* end confdefs.h. */
4779 $ac_includes_default
4780 typedef int ac__type_sizeof_;
4781 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
4782 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
4789 FILE *f = fopen ("conftest.val", "w");
4792 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
4794 long int i = longval ();
4795 if (i != ((long int) (sizeof (ac__type_sizeof_))))
4797 fprintf (f, "%ld\n", i);
4801 unsigned long int i = ulongval ();
4802 if (i != ((long int) (sizeof (ac__type_sizeof_))))
4804 fprintf (f, "%lu\n", i);
4806 return ferror (f) || fclose (f) != 0;
4812 rm -f conftest$ac_exeext
4813 if { (ac_try="$ac_link"
4815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4816 *) ac_try_echo=$ac_try;;
4818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4819 (eval "$ac_link") 2>&5
4821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4822 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4823 { (case "(($ac_try" in
4824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4825 *) ac_try_echo=$ac_try;;
4827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4828 (eval "$ac_try") 2>&5
4830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4831 (exit $ac_status); }; }; then
4832 ac_cv_sizeof_int=`cat conftest.val`
4834 echo "$as_me: program exited with status $ac_status" >&5
4835 echo "$as_me: failed program was:" >&5
4836 sed 's/^/| /' conftest.$ac_ext >&5
4839 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
4840 See \`config.log' for more details." >&5
4841 echo "$as_me: error: cannot compute sizeof (int)
4842 See \`config.log' for more details." >&2;}
4843 { (exit 77); exit 77; }; }
4845 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4852 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
4853 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
4854 cat >>confdefs.h <<_ACEOF
4855 #define SIZEOF_INT $ac_cv_sizeof_int
4859 { echo "$as_me:$LINENO: checking for long" >&5
4860 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
4861 if test "${ac_cv_type_long+set}" = set; then
4862 echo $ECHO_N "(cached) $ECHO_C" >&6
4864 cat >conftest.$ac_ext <<_ACEOF
4867 cat confdefs.h >>conftest.$ac_ext
4868 cat >>conftest.$ac_ext <<_ACEOF
4869 /* end confdefs.h. */
4870 $ac_includes_default
4871 typedef long ac__type_new_;
4875 if ((ac__type_new_ *) 0)
4877 if (sizeof (ac__type_new_))
4883 rm -f conftest.$ac_objext
4884 if { (ac_try="$ac_compile"
4886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4887 *) ac_try_echo=$ac_try;;
4889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4890 (eval "$ac_compile") 2>conftest.er1
4892 grep -v '^ *+' conftest.er1 >conftest.err
4894 cat conftest.err >&5
4895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4896 (exit $ac_status); } &&
4897 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4898 { (case "(($ac_try" in
4899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4900 *) ac_try_echo=$ac_try;;
4902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4903 (eval "$ac_try") 2>&5
4905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4906 (exit $ac_status); }; } &&
4907 { ac_try='test -s conftest.$ac_objext'
4908 { (case "(($ac_try" in
4909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4910 *) ac_try_echo=$ac_try;;
4912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4913 (eval "$ac_try") 2>&5
4915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4916 (exit $ac_status); }; }; then
4919 echo "$as_me: failed program was:" >&5
4920 sed 's/^/| /' conftest.$ac_ext >&5
4925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4927 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
4928 echo "${ECHO_T}$ac_cv_type_long" >&6; }
4930 { echo "$as_me:$LINENO: checking size of long" >&5
4931 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
4932 if test "${ac_cv_sizeof_long+set}" = set; then
4933 echo $ECHO_N "(cached) $ECHO_C" >&6
4935 if test "$ac_cv_type_long" = yes; then
4936 # The cast to long int works around a bug in the HP C Compiler
4937 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4938 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4939 # This bug is HP SR number 8606223364.
4940 if test "$cross_compiling" = yes; then
4941 # Depending upon the size, compute the lo and hi bounds.
4942 cat >conftest.$ac_ext <<_ACEOF
4945 cat confdefs.h >>conftest.$ac_ext
4946 cat >>conftest.$ac_ext <<_ACEOF
4947 /* end confdefs.h. */
4948 $ac_includes_default
4949 typedef long ac__type_sizeof_;
4953 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
4960 rm -f conftest.$ac_objext
4961 if { (ac_try="$ac_compile"
4963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4964 *) ac_try_echo=$ac_try;;
4966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4967 (eval "$ac_compile") 2>conftest.er1
4969 grep -v '^ *+' conftest.er1 >conftest.err
4971 cat conftest.err >&5
4972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4973 (exit $ac_status); } &&
4974 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4975 { (case "(($ac_try" in
4976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4977 *) ac_try_echo=$ac_try;;
4979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4980 (eval "$ac_try") 2>&5
4982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4983 (exit $ac_status); }; } &&
4984 { ac_try='test -s conftest.$ac_objext'
4985 { (case "(($ac_try" in
4986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4987 *) ac_try_echo=$ac_try;;
4989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4990 (eval "$ac_try") 2>&5
4992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4993 (exit $ac_status); }; }; then
4996 cat >conftest.$ac_ext <<_ACEOF
4999 cat confdefs.h >>conftest.$ac_ext
5000 cat >>conftest.$ac_ext <<_ACEOF
5001 /* end confdefs.h. */
5002 $ac_includes_default
5003 typedef long ac__type_sizeof_;
5007 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5014 rm -f conftest.$ac_objext
5015 if { (ac_try="$ac_compile"
5017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5018 *) ac_try_echo=$ac_try;;
5020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5021 (eval "$ac_compile") 2>conftest.er1
5023 grep -v '^ *+' conftest.er1 >conftest.err
5025 cat conftest.err >&5
5026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5027 (exit $ac_status); } &&
5028 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5029 { (case "(($ac_try" in
5030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5031 *) ac_try_echo=$ac_try;;
5033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5034 (eval "$ac_try") 2>&5
5036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5037 (exit $ac_status); }; } &&
5038 { ac_try='test -s conftest.$ac_objext'
5039 { (case "(($ac_try" in
5040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5041 *) ac_try_echo=$ac_try;;
5043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5044 (eval "$ac_try") 2>&5
5046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5047 (exit $ac_status); }; }; then
5048 ac_hi=$ac_mid; break
5050 echo "$as_me: failed program was:" >&5
5051 sed 's/^/| /' conftest.$ac_ext >&5
5053 ac_lo=`expr $ac_mid + 1`
5054 if test $ac_lo -le $ac_mid; then
5058 ac_mid=`expr 2 '*' $ac_mid + 1`
5061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5064 echo "$as_me: failed program was:" >&5
5065 sed 's/^/| /' conftest.$ac_ext >&5
5067 cat >conftest.$ac_ext <<_ACEOF
5070 cat confdefs.h >>conftest.$ac_ext
5071 cat >>conftest.$ac_ext <<_ACEOF
5072 /* end confdefs.h. */
5073 $ac_includes_default
5074 typedef long ac__type_sizeof_;
5078 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
5085 rm -f conftest.$ac_objext
5086 if { (ac_try="$ac_compile"
5088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5089 *) ac_try_echo=$ac_try;;
5091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5092 (eval "$ac_compile") 2>conftest.er1
5094 grep -v '^ *+' conftest.er1 >conftest.err
5096 cat conftest.err >&5
5097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5098 (exit $ac_status); } &&
5099 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5100 { (case "(($ac_try" in
5101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5102 *) ac_try_echo=$ac_try;;
5104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5105 (eval "$ac_try") 2>&5
5107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5108 (exit $ac_status); }; } &&
5109 { ac_try='test -s conftest.$ac_objext'
5110 { (case "(($ac_try" in
5111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5112 *) ac_try_echo=$ac_try;;
5114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5115 (eval "$ac_try") 2>&5
5117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5118 (exit $ac_status); }; }; then
5121 cat >conftest.$ac_ext <<_ACEOF
5124 cat confdefs.h >>conftest.$ac_ext
5125 cat >>conftest.$ac_ext <<_ACEOF
5126 /* end confdefs.h. */
5127 $ac_includes_default
5128 typedef long ac__type_sizeof_;
5132 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
5139 rm -f conftest.$ac_objext
5140 if { (ac_try="$ac_compile"
5142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5143 *) ac_try_echo=$ac_try;;
5145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5146 (eval "$ac_compile") 2>conftest.er1
5148 grep -v '^ *+' conftest.er1 >conftest.err
5150 cat conftest.err >&5
5151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5152 (exit $ac_status); } &&
5153 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5154 { (case "(($ac_try" in
5155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5156 *) ac_try_echo=$ac_try;;
5158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5159 (eval "$ac_try") 2>&5
5161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5162 (exit $ac_status); }; } &&
5163 { ac_try='test -s conftest.$ac_objext'
5164 { (case "(($ac_try" in
5165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5166 *) ac_try_echo=$ac_try;;
5168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5169 (eval "$ac_try") 2>&5
5171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5172 (exit $ac_status); }; }; then
5173 ac_lo=$ac_mid; break
5175 echo "$as_me: failed program was:" >&5
5176 sed 's/^/| /' conftest.$ac_ext >&5
5178 ac_hi=`expr '(' $ac_mid ')' - 1`
5179 if test $ac_mid -le $ac_hi; then
5183 ac_mid=`expr 2 '*' $ac_mid`
5186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5189 echo "$as_me: failed program was:" >&5
5190 sed 's/^/| /' conftest.$ac_ext >&5
5195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5199 # Binary search between lo and hi bounds.
5200 while test "x$ac_lo" != "x$ac_hi"; do
5201 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5202 cat >conftest.$ac_ext <<_ACEOF
5205 cat confdefs.h >>conftest.$ac_ext
5206 cat >>conftest.$ac_ext <<_ACEOF
5207 /* end confdefs.h. */
5208 $ac_includes_default
5209 typedef long ac__type_sizeof_;
5213 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5220 rm -f conftest.$ac_objext
5221 if { (ac_try="$ac_compile"
5223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5224 *) ac_try_echo=$ac_try;;
5226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5227 (eval "$ac_compile") 2>conftest.er1
5229 grep -v '^ *+' conftest.er1 >conftest.err
5231 cat conftest.err >&5
5232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5233 (exit $ac_status); } &&
5234 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5235 { (case "(($ac_try" in
5236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5237 *) ac_try_echo=$ac_try;;
5239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5240 (eval "$ac_try") 2>&5
5242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5243 (exit $ac_status); }; } &&
5244 { ac_try='test -s conftest.$ac_objext'
5245 { (case "(($ac_try" in
5246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5247 *) ac_try_echo=$ac_try;;
5249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5250 (eval "$ac_try") 2>&5
5252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5253 (exit $ac_status); }; }; then
5256 echo "$as_me: failed program was:" >&5
5257 sed 's/^/| /' conftest.$ac_ext >&5
5259 ac_lo=`expr '(' $ac_mid ')' + 1`
5262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5265 ?*) ac_cv_sizeof_long=$ac_lo;;
5266 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
5267 See \`config.log' for more details." >&5
5268 echo "$as_me: error: cannot compute sizeof (long)
5269 See \`config.log' for more details." >&2;}
5270 { (exit 77); exit 77; }; } ;;
5273 cat >conftest.$ac_ext <<_ACEOF
5276 cat confdefs.h >>conftest.$ac_ext
5277 cat >>conftest.$ac_ext <<_ACEOF
5278 /* end confdefs.h. */
5279 $ac_includes_default
5280 typedef long ac__type_sizeof_;
5281 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
5282 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
5289 FILE *f = fopen ("conftest.val", "w");
5292 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
5294 long int i = longval ();
5295 if (i != ((long int) (sizeof (ac__type_sizeof_))))
5297 fprintf (f, "%ld\n", i);
5301 unsigned long int i = ulongval ();
5302 if (i != ((long int) (sizeof (ac__type_sizeof_))))
5304 fprintf (f, "%lu\n", i);
5306 return ferror (f) || fclose (f) != 0;
5312 rm -f conftest$ac_exeext
5313 if { (ac_try="$ac_link"
5315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5316 *) ac_try_echo=$ac_try;;
5318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5319 (eval "$ac_link") 2>&5
5321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5322 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5323 { (case "(($ac_try" in
5324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5325 *) ac_try_echo=$ac_try;;
5327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5328 (eval "$ac_try") 2>&5
5330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5331 (exit $ac_status); }; }; then
5332 ac_cv_sizeof_long=`cat conftest.val`
5334 echo "$as_me: program exited with status $ac_status" >&5
5335 echo "$as_me: failed program was:" >&5
5336 sed 's/^/| /' conftest.$ac_ext >&5
5339 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
5340 See \`config.log' for more details." >&5
5341 echo "$as_me: error: cannot compute sizeof (long)
5342 See \`config.log' for more details." >&2;}
5343 { (exit 77); exit 77; }; }
5345 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5352 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
5353 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
5354 cat >>confdefs.h <<_ACEOF
5355 #define SIZEOF_LONG $ac_cv_sizeof_long
5359 { echo "$as_me:$LINENO: checking for long long" >&5
5360 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
5361 if test "${ac_cv_type_long_long+set}" = set; then
5362 echo $ECHO_N "(cached) $ECHO_C" >&6
5364 cat >conftest.$ac_ext <<_ACEOF
5367 cat confdefs.h >>conftest.$ac_ext
5368 cat >>conftest.$ac_ext <<_ACEOF
5369 /* end confdefs.h. */
5370 $ac_includes_default
5371 typedef long long ac__type_new_;
5375 if ((ac__type_new_ *) 0)
5377 if (sizeof (ac__type_new_))
5383 rm -f conftest.$ac_objext
5384 if { (ac_try="$ac_compile"
5386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5387 *) ac_try_echo=$ac_try;;
5389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5390 (eval "$ac_compile") 2>conftest.er1
5392 grep -v '^ *+' conftest.er1 >conftest.err
5394 cat conftest.err >&5
5395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5396 (exit $ac_status); } &&
5397 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5398 { (case "(($ac_try" in
5399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5400 *) ac_try_echo=$ac_try;;
5402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5403 (eval "$ac_try") 2>&5
5405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5406 (exit $ac_status); }; } &&
5407 { ac_try='test -s conftest.$ac_objext'
5408 { (case "(($ac_try" in
5409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5410 *) ac_try_echo=$ac_try;;
5412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5413 (eval "$ac_try") 2>&5
5415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5416 (exit $ac_status); }; }; then
5417 ac_cv_type_long_long=yes
5419 echo "$as_me: failed program was:" >&5
5420 sed 's/^/| /' conftest.$ac_ext >&5
5422 ac_cv_type_long_long=no
5425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5427 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
5428 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
5430 { echo "$as_me:$LINENO: checking size of long long" >&5
5431 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
5432 if test "${ac_cv_sizeof_long_long+set}" = set; then
5433 echo $ECHO_N "(cached) $ECHO_C" >&6
5435 if test "$ac_cv_type_long_long" = yes; then
5436 # The cast to long int works around a bug in the HP C Compiler
5437 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5438 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5439 # This bug is HP SR number 8606223364.
5440 if test "$cross_compiling" = yes; then
5441 # Depending upon the size, compute the lo and hi bounds.
5442 cat >conftest.$ac_ext <<_ACEOF
5445 cat confdefs.h >>conftest.$ac_ext
5446 cat >>conftest.$ac_ext <<_ACEOF
5447 /* end confdefs.h. */
5448 $ac_includes_default
5449 typedef long long ac__type_sizeof_;
5453 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
5460 rm -f conftest.$ac_objext
5461 if { (ac_try="$ac_compile"
5463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5464 *) ac_try_echo=$ac_try;;
5466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5467 (eval "$ac_compile") 2>conftest.er1
5469 grep -v '^ *+' conftest.er1 >conftest.err
5471 cat conftest.err >&5
5472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5473 (exit $ac_status); } &&
5474 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5475 { (case "(($ac_try" in
5476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5477 *) ac_try_echo=$ac_try;;
5479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5480 (eval "$ac_try") 2>&5
5482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5483 (exit $ac_status); }; } &&
5484 { ac_try='test -s conftest.$ac_objext'
5485 { (case "(($ac_try" in
5486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5487 *) ac_try_echo=$ac_try;;
5489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5490 (eval "$ac_try") 2>&5
5492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5493 (exit $ac_status); }; }; then
5496 cat >conftest.$ac_ext <<_ACEOF
5499 cat confdefs.h >>conftest.$ac_ext
5500 cat >>conftest.$ac_ext <<_ACEOF
5501 /* end confdefs.h. */
5502 $ac_includes_default
5503 typedef long long ac__type_sizeof_;
5507 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5514 rm -f conftest.$ac_objext
5515 if { (ac_try="$ac_compile"
5517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5518 *) ac_try_echo=$ac_try;;
5520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5521 (eval "$ac_compile") 2>conftest.er1
5523 grep -v '^ *+' conftest.er1 >conftest.err
5525 cat conftest.err >&5
5526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5527 (exit $ac_status); } &&
5528 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5529 { (case "(($ac_try" in
5530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5531 *) ac_try_echo=$ac_try;;
5533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5534 (eval "$ac_try") 2>&5
5536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5537 (exit $ac_status); }; } &&
5538 { ac_try='test -s conftest.$ac_objext'
5539 { (case "(($ac_try" in
5540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5541 *) ac_try_echo=$ac_try;;
5543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5544 (eval "$ac_try") 2>&5
5546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5547 (exit $ac_status); }; }; then
5548 ac_hi=$ac_mid; break
5550 echo "$as_me: failed program was:" >&5
5551 sed 's/^/| /' conftest.$ac_ext >&5
5553 ac_lo=`expr $ac_mid + 1`
5554 if test $ac_lo -le $ac_mid; then
5558 ac_mid=`expr 2 '*' $ac_mid + 1`
5561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5564 echo "$as_me: failed program was:" >&5
5565 sed 's/^/| /' conftest.$ac_ext >&5
5567 cat >conftest.$ac_ext <<_ACEOF
5570 cat confdefs.h >>conftest.$ac_ext
5571 cat >>conftest.$ac_ext <<_ACEOF
5572 /* end confdefs.h. */
5573 $ac_includes_default
5574 typedef long long ac__type_sizeof_;
5578 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
5585 rm -f conftest.$ac_objext
5586 if { (ac_try="$ac_compile"
5588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5589 *) ac_try_echo=$ac_try;;
5591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5592 (eval "$ac_compile") 2>conftest.er1
5594 grep -v '^ *+' conftest.er1 >conftest.err
5596 cat conftest.err >&5
5597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5598 (exit $ac_status); } &&
5599 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
5609 { ac_try='test -s conftest.$ac_objext'
5610 { (case "(($ac_try" in
5611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5612 *) ac_try_echo=$ac_try;;
5614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5615 (eval "$ac_try") 2>&5
5617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5618 (exit $ac_status); }; }; then
5621 cat >conftest.$ac_ext <<_ACEOF
5624 cat confdefs.h >>conftest.$ac_ext
5625 cat >>conftest.$ac_ext <<_ACEOF
5626 /* end confdefs.h. */
5627 $ac_includes_default
5628 typedef long long ac__type_sizeof_;
5632 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
5639 rm -f conftest.$ac_objext
5640 if { (ac_try="$ac_compile"
5642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5643 *) ac_try_echo=$ac_try;;
5645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5646 (eval "$ac_compile") 2>conftest.er1
5648 grep -v '^ *+' conftest.er1 >conftest.err
5650 cat conftest.err >&5
5651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5652 (exit $ac_status); } &&
5653 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5654 { (case "(($ac_try" in
5655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5656 *) ac_try_echo=$ac_try;;
5658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5659 (eval "$ac_try") 2>&5
5661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5662 (exit $ac_status); }; } &&
5663 { ac_try='test -s conftest.$ac_objext'
5664 { (case "(($ac_try" in
5665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5666 *) ac_try_echo=$ac_try;;
5668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5669 (eval "$ac_try") 2>&5
5671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5672 (exit $ac_status); }; }; then
5673 ac_lo=$ac_mid; break
5675 echo "$as_me: failed program was:" >&5
5676 sed 's/^/| /' conftest.$ac_ext >&5
5678 ac_hi=`expr '(' $ac_mid ')' - 1`
5679 if test $ac_mid -le $ac_hi; then
5683 ac_mid=`expr 2 '*' $ac_mid`
5686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5689 echo "$as_me: failed program was:" >&5
5690 sed 's/^/| /' conftest.$ac_ext >&5
5695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5699 # Binary search between lo and hi bounds.
5700 while test "x$ac_lo" != "x$ac_hi"; do
5701 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5702 cat >conftest.$ac_ext <<_ACEOF
5705 cat confdefs.h >>conftest.$ac_ext
5706 cat >>conftest.$ac_ext <<_ACEOF
5707 /* end confdefs.h. */
5708 $ac_includes_default
5709 typedef long long ac__type_sizeof_;
5713 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5720 rm -f conftest.$ac_objext
5721 if { (ac_try="$ac_compile"
5723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5724 *) ac_try_echo=$ac_try;;
5726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5727 (eval "$ac_compile") 2>conftest.er1
5729 grep -v '^ *+' conftest.er1 >conftest.err
5731 cat conftest.err >&5
5732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5733 (exit $ac_status); } &&
5734 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5735 { (case "(($ac_try" in
5736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5737 *) ac_try_echo=$ac_try;;
5739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5740 (eval "$ac_try") 2>&5
5742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5743 (exit $ac_status); }; } &&
5744 { ac_try='test -s conftest.$ac_objext'
5745 { (case "(($ac_try" in
5746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5747 *) ac_try_echo=$ac_try;;
5749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5750 (eval "$ac_try") 2>&5
5752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5753 (exit $ac_status); }; }; then
5756 echo "$as_me: failed program was:" >&5
5757 sed 's/^/| /' conftest.$ac_ext >&5
5759 ac_lo=`expr '(' $ac_mid ')' + 1`
5762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5765 ?*) ac_cv_sizeof_long_long=$ac_lo;;
5766 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
5767 See \`config.log' for more details." >&5
5768 echo "$as_me: error: cannot compute sizeof (long long)
5769 See \`config.log' for more details." >&2;}
5770 { (exit 77); exit 77; }; } ;;
5773 cat >conftest.$ac_ext <<_ACEOF
5776 cat confdefs.h >>conftest.$ac_ext
5777 cat >>conftest.$ac_ext <<_ACEOF
5778 /* end confdefs.h. */
5779 $ac_includes_default
5780 typedef long long ac__type_sizeof_;
5781 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
5782 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
5789 FILE *f = fopen ("conftest.val", "w");
5792 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
5794 long int i = longval ();
5795 if (i != ((long int) (sizeof (ac__type_sizeof_))))
5797 fprintf (f, "%ld\n", i);
5801 unsigned long int i = ulongval ();
5802 if (i != ((long int) (sizeof (ac__type_sizeof_))))
5804 fprintf (f, "%lu\n", i);
5806 return ferror (f) || fclose (f) != 0;
5812 rm -f conftest$ac_exeext
5813 if { (ac_try="$ac_link"
5815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5816 *) ac_try_echo=$ac_try;;
5818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5819 (eval "$ac_link") 2>&5
5821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5822 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5823 { (case "(($ac_try" in
5824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5825 *) ac_try_echo=$ac_try;;
5827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5828 (eval "$ac_try") 2>&5
5830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5831 (exit $ac_status); }; }; then
5832 ac_cv_sizeof_long_long=`cat conftest.val`
5834 echo "$as_me: program exited with status $ac_status" >&5
5835 echo "$as_me: failed program was:" >&5
5836 sed 's/^/| /' conftest.$ac_ext >&5
5839 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
5840 See \`config.log' for more details." >&5
5841 echo "$as_me: error: cannot compute sizeof (long long)
5842 See \`config.log' for more details." >&2;}
5843 { (exit 77); exit 77; }; }
5845 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5849 ac_cv_sizeof_long_long=0
5852 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
5853 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
5854 cat >>confdefs.h <<_ACEOF
5855 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
5862 if expr "$ac_cv_sizeof_char" '>=' "$1" >/dev/null; then
5866 if expr "$ac_cv_sizeof_short" '>=' "$1" >/dev/null; then
5870 if expr "$ac_cv_sizeof_int" '>=' "$1" >/dev/null; then
5874 if expr "$ac_cv_sizeof_long" '>=' "$1" >/dev/null; then
5878 if expr "$ac_cv_sizeof_long_long" '>=' "$1" >/dev/null; then
5885 { echo "$as_me:$LINENO: checking type name for byte" >&5
5886 echo $ECHO_N "checking type name for byte... $ECHO_C" >&6; }
5887 TYPE_BYTE=`type_name 1`
5888 { echo "$as_me:$LINENO: result: $TYPE_BYTE" >&5
5889 echo "${ECHO_T}$TYPE_BYTE" >&6; }
5890 { echo "$as_me:$LINENO: checking type name for word" >&5
5891 echo $ECHO_N "checking type name for word... $ECHO_C" >&6; }
5892 TYPE_WORD=`type_name 2`
5893 { echo "$as_me:$LINENO: result: $TYPE_WORD" >&5
5894 echo "${ECHO_T}$TYPE_WORD" >&6; }
5895 cat >>confdefs.h <<_ACEOF
5896 #define TYPE_BYTE $TYPE_BYTE
5899 cat >>confdefs.h <<_ACEOF
5900 #define TYPE_WORD $TYPE_WORD
5904 ac_config_files="$ac_config_files Makefile"
5906 cat >confcache <<\_ACEOF
5907 # This file is a shell script that caches the results of configure
5908 # tests run on this system so they can be shared between configure
5909 # scripts and configure runs, see configure's option --config-cache.
5910 # It is not useful on other systems. If it contains results you don't
5911 # want to keep, you may remove or edit it.
5913 # config.status only pays attention to the cache file if you give it
5914 # the --recheck option to rerun configure.
5916 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5917 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5922 # The following way of writing the cache mishandles newlines in values,
5923 # but we know of no workaround that is simple, portable, and efficient.
5924 # So, we kill variables containing newlines.
5925 # Ultrix sh set writes to stderr and can't be redirected directly,
5926 # and sets the high bit in the cache file unless we assign to the vars.
5928 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5929 eval ac_val=\$$ac_var
5933 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
5934 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
5937 _ | IFS | as_nl) ;; #(
5938 *) $as_unset $ac_var ;;
5944 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5945 *${as_nl}ac_space=\ *)
5946 # `set' does not quote correctly, so add quotes (double-quote
5947 # substitution turns \\\\ into \\, and sed turns \\ into \).
5950 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5953 # `set' quotes correctly as required by POSIX, so do not add quotes.
5954 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5963 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5965 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5967 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5968 if test -w "$cache_file"; then
5969 test "x$cache_file" != "x/dev/null" &&
5970 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
5971 echo "$as_me: updating cache $cache_file" >&6;}
5972 cat confcache >$cache_file
5974 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5975 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5980 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5981 # Let make expand exec_prefix.
5982 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5984 DEFS=-DHAVE_CONFIG_H
5988 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5989 # 1. Remove the extension, and $U if already installed.
5990 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5991 ac_i=`echo "$ac_i" | sed "$ac_script"`
5992 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5993 # will be set to the directory where LIBOBJS objects are built.
5994 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5995 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5999 LTLIBOBJS=$ac_ltlibobjs
6003 : ${CONFIG_STATUS=./config.status}
6004 ac_clean_files_save=$ac_clean_files
6005 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6006 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6007 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6008 cat >$CONFIG_STATUS <<_ACEOF
6010 # Generated by $as_me.
6011 # Run this file to recreate the current configuration.
6012 # Compiler output produced by configure, useful for debugging
6013 # configure, is in config.log if it exists.
6018 SHELL=\${CONFIG_SHELL-$SHELL}
6021 cat >>$CONFIG_STATUS <<\_ACEOF
6022 ## --------------------- ##
6023 ## M4sh Initialization. ##
6024 ## --------------------- ##
6026 # Be Bourne compatible
6027 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6030 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6031 # is contrary to our usage. Disable this feature.
6032 alias -g '${1+"$@"}'='"$@"'
6033 setopt NO_GLOB_SUBST
6035 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
6037 BIN_SH=xpg4; export BIN_SH # for Tru64
6038 DUALCASE=1; export DUALCASE # for MKS sh
6042 # Avoid depending upon Character Ranges.
6043 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6044 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6045 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6046 as_cr_digits='0123456789'
6047 as_cr_alnum=$as_cr_Letters$as_cr_digits
6049 # The user is always right.
6050 if test "${PATH_SEPARATOR+set}" != set; then
6051 echo "#! /bin/sh" >conf$$.sh
6052 echo "exit 0" >>conf$$.sh
6054 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6062 # Support unset when possible.
6063 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6071 # We need space, tab and new line, in precisely that order. Quoting is
6072 # there to prevent editors from complaining about space-tab.
6073 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6074 # splitting by setting IFS to empty value.)
6079 # Find who we are. Look in the path if we contain no directory separator.
6081 *[\\/]* ) as_myself=$0 ;;
6082 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6086 test -z "$as_dir" && as_dir=.
6087 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6093 # We did not find ourselves, most probably we were run as `sh COMMAND'
6094 # in which case we are not to be found in the path.
6095 if test "x$as_myself" = x; then
6098 if test ! -f "$as_myself"; then
6099 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6100 { (exit 1); exit 1; }
6103 # Work around bugs in pre-3.0 UWIN ksh.
6104 for as_var in ENV MAIL MAILPATH
6105 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
6113 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6114 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6115 LC_TELEPHONE LC_TIME
6117 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6118 eval $as_var=C; export $as_var
6120 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
6124 # Required to use basename.
6125 if expr a : '\(a\)' >/dev/null 2>&1 &&
6126 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6132 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6133 as_basename=basename
6139 # Name of the executable.
6140 as_me=`$as_basename -- "$0" ||
6141 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6142 X"$0" : 'X\(//\)$' \| \
6143 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6145 sed '/^.*\/\([^/][^/]*\)\/*$/{
6166 test "x$as_lineno_1" != "x$as_lineno_2" &&
6167 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
6169 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6170 # uniformly replaced by the line number. The first 'sed' inserts a
6171 # line-number line after each line using $LINENO; the second 'sed'
6172 # does the real work. The second script uses 'N' to pair each
6173 # line-number line with the line containing $LINENO, and appends
6174 # trailing '-' during substitution so that $LINENO is not a special
6176 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6177 # scripts with optimization help from Paolo Bonzini. Blame Lee
6178 # E. McMahon (1931-1989) for sed's syntax. :-)
6190 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
6194 chmod +x "$as_me.lineno" ||
6195 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
6196 { (exit 1); exit 1; }; }
6198 # Don't try to exec as it changes $[0], causing all sort of problems
6199 # (the dirname of $[0] is not the place where we might find the
6200 # original and so on. Autoconf is especially sensitive to this).
6202 # Exit status is that of the last command.
6207 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6213 ECHO_C= ECHO_N= ECHO_T=
6216 case `echo 'x\c'` in
6217 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6224 if expr a : '\(a\)' >/dev/null 2>&1 &&
6225 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6231 rm -f conf$$ conf$$.exe conf$$.file
6232 if test -d conf$$.dir; then
6233 rm -f conf$$.dir/conf$$.file
6239 if ln -s conf$$.file conf$$ 2>/dev/null; then
6241 # ... but there are two gotchas:
6242 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6243 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6244 # In both cases, we have to default to `cp -p'.
6245 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6247 elif ln conf$$.file conf$$ 2>/dev/null; then
6252 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6253 rmdir conf$$.dir 2>/dev/null
6255 if mkdir -p . 2>/dev/null; then
6258 test -d ./-p && rmdir ./-p
6262 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
6263 # systems may use methods other than mode bits to determine executability.
6264 cat >conf$$.file <<_ASEOF
6268 chmod +x conf$$.file
6269 if test -x conf$$.file >/dev/null 2>&1; then
6270 as_executable_p="test -x"
6276 # Sed expression to map a string onto a valid CPP name.
6277 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6279 # Sed expression to map a string onto a valid variable name.
6280 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6285 # Save the log message, to keep $[0] and so on meaningful, and to
6286 # report actual input values of CONFIG_FILES etc. instead of their
6287 # values after options handling.
6289 This file was extended by $as_me, which was
6290 generated by GNU Autoconf 2.60. Invocation command line was
6292 CONFIG_FILES = $CONFIG_FILES
6293 CONFIG_HEADERS = $CONFIG_HEADERS
6294 CONFIG_LINKS = $CONFIG_LINKS
6295 CONFIG_COMMANDS = $CONFIG_COMMANDS
6298 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6303 cat >>$CONFIG_STATUS <<_ACEOF
6304 # Files that config.status was made for.
6305 config_files="$ac_config_files"
6306 config_headers="$ac_config_headers"
6310 cat >>$CONFIG_STATUS <<\_ACEOF
6312 \`$as_me' instantiates files from templates according to the
6313 current configuration.
6315 Usage: $0 [OPTIONS] [FILE]...
6317 -h, --help print this help, then exit
6318 -V, --version print version number, then exit
6319 -q, --quiet do not print progress messages
6320 -d, --debug don't remove temporary files
6321 --recheck update $as_me by reconfiguring in the same conditions
6322 --file=FILE[:TEMPLATE]
6323 instantiate the configuration file FILE
6324 --header=FILE[:TEMPLATE]
6325 instantiate the configuration header FILE
6327 Configuration files:
6330 Configuration headers:
6333 Report bugs to <bug-autoconf@gnu.org>."
6336 cat >>$CONFIG_STATUS <<_ACEOF
6339 configured by $0, generated by GNU Autoconf 2.60,
6340 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
6342 Copyright (C) 2006 Free Software Foundation, Inc.
6343 This config.status script is free software; the Free Software Foundation
6344 gives unlimited permission to copy, distribute and modify it."
6350 cat >>$CONFIG_STATUS <<\_ACEOF
6351 # If no file are specified by the user, then we need to provide default
6352 # value. By we need to know if files were specified by the user.
6358 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6359 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6370 # Handling of the options.
6371 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6373 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6374 echo "$ac_cs_version"; exit ;;
6375 --debug | --debu | --deb | --de | --d | -d )
6377 --file | --fil | --fi | --f )
6379 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
6380 ac_need_defaults=false;;
6381 --header | --heade | --head | --hea )
6383 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
6384 ac_need_defaults=false;;
6386 # Conflict between --help and --header
6387 { echo "$as_me: error: ambiguous option: $1
6388 Try \`$0 --help' for more information." >&2
6389 { (exit 1); exit 1; }; };;
6390 --help | --hel | -h )
6391 echo "$ac_cs_usage"; exit ;;
6392 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6393 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6397 -*) { echo "$as_me: error: unrecognized option: $1
6398 Try \`$0 --help' for more information." >&2
6399 { (exit 1); exit 1; }; } ;;
6401 *) ac_config_targets="$ac_config_targets $1"
6402 ac_need_defaults=false ;;
6408 ac_configure_extra_args=
6410 if $ac_cs_silent; then
6412 ac_configure_extra_args="$ac_configure_extra_args --silent"
6416 cat >>$CONFIG_STATUS <<_ACEOF
6417 if \$ac_cs_recheck; then
6418 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6421 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6425 cat >>$CONFIG_STATUS <<\_ACEOF
6429 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6430 ## Running $as_me. ##
6436 cat >>$CONFIG_STATUS <<_ACEOF
6439 cat >>$CONFIG_STATUS <<\_ACEOF
6441 # Handling of arguments.
6442 for ac_config_target in $ac_config_targets
6444 case $ac_config_target in
6445 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config_in.h" ;;
6446 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6448 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6449 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6450 { (exit 1); exit 1; }; };;
6455 # If the user did not use the arguments to specify the items to instantiate,
6456 # then the envvar interface is used. Set only those that are not.
6457 # We use the long form for the default assignment because of an extremely
6458 # bizarre bug on SunOS 4.1.3.
6459 if $ac_need_defaults; then
6460 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6461 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6464 # Have a temporary directory for convenience. Make it in the build tree
6465 # simply because there is no reason against having it here, and in addition,
6466 # creating and moving files from /tmp can sometimes cause problems.
6467 # Hook for its removal unless debugging.
6468 # Note that there is a small window in which the directory will not be cleaned:
6469 # after its creation but before its name has been assigned to `$tmp'.
6473 trap 'exit_status=$?
6474 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6476 trap '{ (exit 1); exit 1; }' 1 2 13 15
6478 # Create a (secure) tmp directory for tmp files.
6481 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6482 test -n "$tmp" && test -d "$tmp"
6485 tmp=./conf$$-$RANDOM
6486 (umask 077 && mkdir "$tmp")
6489 echo "$me: cannot create a temporary directory in ." >&2
6490 { (exit 1); exit 1; }
6494 # Set up the sed scripts for CONFIG_FILES section.
6497 # No need to generate the scripts if there are no CONFIG_FILES.
6498 # This happens for instance when ./config.status config.h
6499 if test -n "$CONFIG_FILES"; then
6506 for ac_last_try in false false false false false :; do
6507 cat >conf$$subs.sed <<_ACEOF
6508 SHELL!$SHELL$ac_delim
6509 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
6510 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
6511 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
6512 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
6513 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
6514 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
6515 exec_prefix!$exec_prefix$ac_delim
6516 prefix!$prefix$ac_delim
6517 program_transform_name!$program_transform_name$ac_delim
6518 bindir!$bindir$ac_delim
6519 sbindir!$sbindir$ac_delim
6520 libexecdir!$libexecdir$ac_delim
6521 datarootdir!$datarootdir$ac_delim
6522 datadir!$datadir$ac_delim
6523 sysconfdir!$sysconfdir$ac_delim
6524 sharedstatedir!$sharedstatedir$ac_delim
6525 localstatedir!$localstatedir$ac_delim
6526 includedir!$includedir$ac_delim
6527 oldincludedir!$oldincludedir$ac_delim
6528 docdir!$docdir$ac_delim
6529 infodir!$infodir$ac_delim
6530 htmldir!$htmldir$ac_delim
6531 dvidir!$dvidir$ac_delim
6532 pdfdir!$pdfdir$ac_delim
6533 psdir!$psdir$ac_delim
6534 libdir!$libdir$ac_delim
6535 localedir!$localedir$ac_delim
6536 mandir!$mandir$ac_delim
6538 ECHO_C!$ECHO_C$ac_delim
6539 ECHO_N!$ECHO_N$ac_delim
6540 ECHO_T!$ECHO_T$ac_delim
6542 build_alias!$build_alias$ac_delim
6543 host_alias!$host_alias$ac_delim
6544 target_alias!$target_alias$ac_delim
6546 CFLAGS!$CFLAGS$ac_delim
6547 LDFLAGS!$LDFLAGS$ac_delim
6548 CPPFLAGS!$CPPFLAGS$ac_delim
6549 ac_ct_CC!$ac_ct_CC$ac_delim
6550 EXEEXT!$EXEEXT$ac_delim
6551 OBJEXT!$OBJEXT$ac_delim
6554 EGREP!$EGREP$ac_delim
6555 LIBOBJS!$LIBOBJS$ac_delim
6556 LTLIBOBJS!$LTLIBOBJS$ac_delim
6559 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 49; then
6561 elif $ac_last_try; then
6562 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6563 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6564 { (exit 1); exit 1; }; }
6566 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6570 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
6571 if test -n "$ac_eof"; then
6572 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
6573 ac_eof=`expr $ac_eof + 1`
6576 cat >>$CONFIG_STATUS <<_ACEOF
6577 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
6578 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
6581 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
6582 s/^/s,@/; s/!/@,|#_!!_#|/
6585 s/'"$ac_delim"'$/,g/; t
6587 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
6588 ' >>$CONFIG_STATUS <conf$$subs.sed
6589 rm -f conf$$subs.sed
6590 cat >>$CONFIG_STATUS <<_ACEOF
6597 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6598 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6599 # trailing colons and then remove the whole line if VPATH becomes empty
6600 # (actually we leave an empty line to preserve line numbers).
6601 if test "x$srcdir" = x.; then
6602 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6606 s/^\([^=]*=[ ]*\):*/\1/
6612 cat >>$CONFIG_STATUS <<\_ACEOF
6613 fi # test -n "$CONFIG_FILES"
6616 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS
6619 :[FHLC]) ac_mode=$ac_tag; continue;;
6621 case $ac_mode$ac_tag in
6623 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
6624 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
6625 { (exit 1); exit 1; }; };;
6626 :[FH]-) ac_tag=-:-;;
6627 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6644 -) ac_f="$tmp/stdin";;
6645 *) # Look for the file first in the build tree, then in the source tree
6646 # (if the path is not absolute). The absolute path cannot be DOS-style,
6647 # because $ac_f cannot contain `:'.
6651 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6653 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6654 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6655 { (exit 1); exit 1; }; };;
6657 ac_file_inputs="$ac_file_inputs $ac_f"
6660 # Let's still pretend it is `configure' which instantiates (i.e., don't
6661 # use $as_me), people would be surprised to read:
6662 # /* config.h. Generated by config.status. */
6663 configure_input="Generated from "`IFS=:
6664 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
6665 if test x"$ac_file" != x-; then
6666 configure_input="$ac_file. $configure_input"
6667 { echo "$as_me:$LINENO: creating $ac_file" >&5
6668 echo "$as_me: creating $ac_file" >&6;}
6672 *:-:* | *:-) cat >"$tmp/stdin";;
6677 ac_dir=`$as_dirname -- "$ac_file" ||
6678 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6679 X"$ac_file" : 'X\(//\)[^/]' \| \
6680 X"$ac_file" : 'X\(//\)$' \| \
6681 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6683 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6702 -*) as_dir=./$as_dir;;
6704 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6708 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
6709 *) as_qdir=$as_dir;;
6711 as_dirs="'$as_qdir' $as_dirs"
6712 as_dir=`$as_dirname -- "$as_dir" ||
6713 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6714 X"$as_dir" : 'X\(//\)[^/]' \| \
6715 X"$as_dir" : 'X\(//\)$' \| \
6716 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6735 test -d "$as_dir" && break
6737 test -z "$as_dirs" || eval "mkdir $as_dirs"
6738 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6739 echo "$as_me: error: cannot create directory $as_dir" >&2;}
6740 { (exit 1); exit 1; }; }; }
6744 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6746 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6747 # A ".." for each directory in $ac_dir_suffix.
6748 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
6749 case $ac_top_builddir_sub in
6750 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6751 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6754 ac_abs_top_builddir=$ac_pwd
6755 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6756 # for backward compatibility:
6757 ac_top_builddir=$ac_top_build_prefix
6760 .) # We are building in place.
6762 ac_top_srcdir=$ac_top_builddir_sub
6763 ac_abs_top_srcdir=$ac_pwd ;;
6764 [\\/]* | ?:[\\/]* ) # Absolute name.
6765 ac_srcdir=$srcdir$ac_dir_suffix;
6766 ac_top_srcdir=$srcdir
6767 ac_abs_top_srcdir=$srcdir ;;
6769 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6770 ac_top_srcdir=$ac_top_build_prefix$srcdir
6771 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6773 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6784 cat >>$CONFIG_STATUS <<\_ACEOF
6785 # If the template does not know about datarootdir, expand it.
6786 # FIXME: This hack should be removed a few years after 2.60.
6787 ac_datarootdir_hack=; ac_datarootdir_seen=
6789 case `sed -n '/datarootdir/ {
6798 ' $ac_file_inputs` in
6799 *datarootdir*) ac_datarootdir_seen=yes;;
6800 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6801 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6802 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6804 cat >>$CONFIG_STATUS <<_ACEOF
6805 ac_datarootdir_hack='
6806 s&@datadir@&$datadir&g
6807 s&@docdir@&$docdir&g
6808 s&@infodir@&$infodir&g
6809 s&@localedir@&$localedir&g
6810 s&@mandir@&$mandir&g
6811 s&\\\${datarootdir}&$datarootdir&g' ;;
6815 # Neutralize VPATH when `$srcdir' = `.'.
6816 # Shell code in configure.ac might set extrasub.
6817 # FIXME: do we really want to maintain this feature?
6818 cat >>$CONFIG_STATUS <<_ACEOF
6822 cat >>$CONFIG_STATUS <<\_ACEOF
6824 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6825 s&@configure_input@&$configure_input&;t t
6826 s&@top_builddir@&$ac_top_builddir_sub&;t t
6827 s&@srcdir@&$ac_srcdir&;t t
6828 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6829 s&@top_srcdir@&$ac_top_srcdir&;t t
6830 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6831 s&@builddir@&$ac_builddir&;t t
6832 s&@abs_builddir@&$ac_abs_builddir&;t t
6833 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6834 $ac_datarootdir_hack
6835 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
6837 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6838 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6839 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6840 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6841 which seems to be undefined. Please make sure it is defined." >&5
6842 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6843 which seems to be undefined. Please make sure it is defined." >&2;}
6847 -) cat "$tmp/out"; rm -f "$tmp/out";;
6848 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
6857 # Transform confdefs.h into a sed script `conftest.defines', that
6858 # substitutes the proper values into config.h.in to produce config.h.
6859 rm -f conftest.defines conftest.tail
6860 # First, append a space to every undef/define line, to ease matching.
6861 echo 's/$/ /' >conftest.defines
6862 # Then, protect against being on the right side of a sed subst, or in
6863 # an unquoted here document, in config.status. If some macros were
6864 # called several times there might be several #defines for the same
6865 # symbol, which is useless. But do not sort them, since the last
6866 # AC_DEFINE must be honored.
6867 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6868 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
6869 # NAME is the cpp macro being defined, VALUE is the value it is being given.
6870 # PARAMS is the parameter list in the macro definition--in most cases, it's
6871 # just an empty string.
6872 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
6873 ac_dB='\\)[ (].*,\\1define\\2'
6881 s/^[ ]*#[ ]*define[ ][ ]*//
6886 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
6887 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
6888 ' >>conftest.defines
6890 # Remove the space that was appended to ease matching.
6891 # Then replace #undef with comments. This is necessary, for
6892 # example, in the case of _POSIX_SOURCE, which is predefined and required
6893 # on some systems where configure will not decide to define it.
6894 # (The regexp can be short, since the line contains either #define or #undef.)
6896 s,^[ #]*u.*,/* & */,' >>conftest.defines
6898 # Break up conftest.defines:
6901 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
6902 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
6903 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
6905 ac_in='$ac_file_inputs'
6906 ac_out='"$tmp/out1"'
6907 ac_nxt='"$tmp/out2"'
6911 # Write a here document:
6912 cat >>$CONFIG_STATUS <<_ACEOF
6913 # First, check the format of the line:
6914 cat >"\$tmp/defines.sed" <<\\CEOF
6915 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
6916 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
6920 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
6922 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
6923 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
6924 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
6925 grep . conftest.tail >/dev/null || break
6926 rm -f conftest.defines
6927 mv conftest.tail conftest.defines
6929 rm -f conftest.defines conftest.tail
6931 echo "ac_result=$ac_in" >>$CONFIG_STATUS
6932 cat >>$CONFIG_STATUS <<\_ACEOF
6933 if test x"$ac_file" != x-; then
6934 echo "/* $configure_input */" >"$tmp/config.h"
6935 cat "$ac_result" >>"$tmp/config.h"
6936 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
6937 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6938 echo "$as_me: $ac_file is unchanged" >&6;}
6941 mv "$tmp/config.h" $ac_file
6944 echo "/* $configure_input */"
6956 { (exit 0); exit 0; }
6958 chmod +x $CONFIG_STATUS
6959 ac_clean_files=$ac_clean_files_save
6962 # configure is writing to config.log, and then calls config.status.
6963 # config.status does its own redirection, appending to config.log.
6964 # Unfortunately, on DOS this fails, as config.log is still kept open
6965 # by configure, so config.status won't be able to write to it; its
6966 # output is simply discarded. So we exec the FD to /dev/null,
6967 # effectively closing config.log, so it can be properly (re)opened and
6968 # appended to by config.status. When coming back to configure, we
6969 # need to make the FD available again.
6970 if test "$no_create" != yes; then
6972 ac_config_status_args=
6973 test "$silent" = yes &&
6974 ac_config_status_args="$ac_config_status_args --quiet"
6976 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6978 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6979 # would make configure fail if this is the last instruction.
6980 $ac_cs_success || { (exit 1); exit 1; }