2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53 # Support unset when possible.
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself=$0 ;;
73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir=.
78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C; export $as_var
111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a : '\(a\)' >/dev/null 2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then
123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x; then
155 if (eval ":") 2>/dev/null; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev/null; then
221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir=.
228 for as_base in sh bash ksh sh5; do
229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
236 for as_shell in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev/null <<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix*) set -o posix ;;
258 CONFIG_SHELL=$as_shell
260 if { "$as_shell" 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
286 as_func_ret_success () {
289 as_func_ret_failure () {
294 if as_func_success; then
298 echo as_func_success failed.
301 if as_func_failure; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure; then
315 echo as_func_ret_failure succeeded.
318 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) || { (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x; then
343 for as_var in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no; then
352 echo This script requires a shell more modern than all the
353 echo shells that I found on your system. Please install a
354 echo modern shell, or manually run the script under such a
355 echo shell if you do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") || {
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x "$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
472 ECHO_C= ECHO_N= ECHO_T=
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
483 if expr a : '\(a\)' >/dev/null 2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then
490 rm -f conf$$ conf$$.exe conf$$.file
491 if test -d conf$$.dir; then
492 rm -f conf$$.dir/conf$$.file
498 if ln -s conf$$.file conf$$ 2>/dev/null; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
506 elif ln conf$$.file conf$$ 2>/dev/null; then
511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512 rmdir conf$$.dir 2>/dev/null
514 if mkdir -p . 2>/dev/null; then
517 test -d ./-p && rmdir ./-p
521 if test -x / >/dev/null 2>&1; then
524 if ls -dL / >/dev/null 2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552 exec 7<&0 </dev/null 6>&1
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix=/usr/local
564 ac_config_libobj_dir=.
570 SHELL=${CONFIG_SHELL-/bin/sh}
572 # Identity of this package.
579 ac_unique_file="configure.in"
580 # Factoring default headers for most tests.
581 ac_includes_default="\
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
593 # ifdef HAVE_STDLIB_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
625 program_transform_name
683 ac_precious_vars='build_alias
697 # Initialize some variables set by options.
699 ac_init_version=false
700 # The variables have the same names as the options, with
701 # dashes changed to underlines.
709 program_transform_name=s,x,x,
717 # Installation directory options.
718 # These are left unexpanded so users can "make install exec_prefix=/foo"
719 # and all the variables that are supposed to be based on exec_prefix
720 # by default will actually change.
721 # Use braces instead of parens because sh, perl, etc. also accept them.
722 # (The list follows the same order as the GNU Coding Standards.)
723 bindir='${exec_prefix}/bin'
724 sbindir='${exec_prefix}/sbin'
725 libexecdir='${exec_prefix}/libexec'
726 datarootdir='${prefix}/share'
727 datadir='${datarootdir}'
728 sysconfdir='${prefix}/etc'
729 sharedstatedir='${prefix}/com'
730 localstatedir='${prefix}/var'
731 includedir='${prefix}/include'
732 oldincludedir='/usr/include'
733 docdir='${datarootdir}/doc/${PACKAGE}'
734 infodir='${datarootdir}/info'
739 libdir='${exec_prefix}/lib'
740 localedir='${datarootdir}/locale'
741 mandir='${datarootdir}/man'
747 # If the previous option needs an argument, assign it.
748 if test -n "$ac_prev"; then
749 eval $ac_prev=\$ac_option
755 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
759 # Accept the important Cygnus configure options, so we can diagnose typos.
761 case $ac_dashdash$ac_option in
765 -bindir | --bindir | --bindi | --bind | --bin | --bi)
767 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
770 -build | --build | --buil | --bui | --bu)
771 ac_prev=build_alias ;;
772 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
773 build_alias=$ac_optarg ;;
775 -cache-file | --cache-file | --cache-fil | --cache-fi \
776 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
777 ac_prev=cache_file ;;
778 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
779 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
780 cache_file=$ac_optarg ;;
783 cache_file=config.cache ;;
785 -datadir | --datadir | --datadi | --datad)
787 -datadir=* | --datadir=* | --datadi=* | --datad=*)
788 datadir=$ac_optarg ;;
790 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
791 | --dataroo | --dataro | --datar)
792 ac_prev=datarootdir ;;
793 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
794 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
795 datarootdir=$ac_optarg ;;
797 -disable-* | --disable-*)
798 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
799 # Reject names that are not valid shell variable names.
800 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
801 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
802 { (exit 1); exit 1; }; }
803 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
804 eval enable_$ac_feature=no ;;
806 -docdir | --docdir | --docdi | --doc | --do)
808 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
811 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
813 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
816 -enable-* | --enable-*)
817 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
818 # Reject names that are not valid shell variable names.
819 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
820 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
821 { (exit 1); exit 1; }; }
822 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
823 eval enable_$ac_feature=\$ac_optarg ;;
825 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
826 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
827 | --exec | --exe | --ex)
828 ac_prev=exec_prefix ;;
829 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
830 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
831 | --exec=* | --exe=* | --ex=*)
832 exec_prefix=$ac_optarg ;;
834 -gas | --gas | --ga | --g)
835 # Obsolete; use --with-gas.
838 -help | --help | --hel | --he | -h)
840 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
841 ac_init_help=recursive ;;
842 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
843 ac_init_help=short ;;
845 -host | --host | --hos | --ho)
846 ac_prev=host_alias ;;
847 -host=* | --host=* | --hos=* | --ho=*)
848 host_alias=$ac_optarg ;;
850 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
852 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
854 htmldir=$ac_optarg ;;
856 -includedir | --includedir | --includedi | --included | --include \
857 | --includ | --inclu | --incl | --inc)
858 ac_prev=includedir ;;
859 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
860 | --includ=* | --inclu=* | --incl=* | --inc=*)
861 includedir=$ac_optarg ;;
863 -infodir | --infodir | --infodi | --infod | --info | --inf)
865 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
866 infodir=$ac_optarg ;;
868 -libdir | --libdir | --libdi | --libd)
870 -libdir=* | --libdir=* | --libdi=* | --libd=*)
873 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
874 | --libexe | --libex | --libe)
875 ac_prev=libexecdir ;;
876 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
877 | --libexe=* | --libex=* | --libe=*)
878 libexecdir=$ac_optarg ;;
880 -localedir | --localedir | --localedi | --localed | --locale)
882 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
883 localedir=$ac_optarg ;;
885 -localstatedir | --localstatedir | --localstatedi | --localstated \
886 | --localstate | --localstat | --localsta | --localst | --locals)
887 ac_prev=localstatedir ;;
888 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
889 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
890 localstatedir=$ac_optarg ;;
892 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
894 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
898 # Obsolete; use --without-fp.
901 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
902 | --no-cr | --no-c | -n)
905 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
906 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
909 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
910 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
911 | --oldin | --oldi | --old | --ol | --o)
912 ac_prev=oldincludedir ;;
913 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
914 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
915 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
916 oldincludedir=$ac_optarg ;;
918 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
920 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
923 -program-prefix | --program-prefix | --program-prefi | --program-pref \
924 | --program-pre | --program-pr | --program-p)
925 ac_prev=program_prefix ;;
926 -program-prefix=* | --program-prefix=* | --program-prefi=* \
927 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
928 program_prefix=$ac_optarg ;;
930 -program-suffix | --program-suffix | --program-suffi | --program-suff \
931 | --program-suf | --program-su | --program-s)
932 ac_prev=program_suffix ;;
933 -program-suffix=* | --program-suffix=* | --program-suffi=* \
934 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
935 program_suffix=$ac_optarg ;;
937 -program-transform-name | --program-transform-name \
938 | --program-transform-nam | --program-transform-na \
939 | --program-transform-n | --program-transform- \
940 | --program-transform | --program-transfor \
941 | --program-transfo | --program-transf \
942 | --program-trans | --program-tran \
943 | --progr-tra | --program-tr | --program-t)
944 ac_prev=program_transform_name ;;
945 -program-transform-name=* | --program-transform-name=* \
946 | --program-transform-nam=* | --program-transform-na=* \
947 | --program-transform-n=* | --program-transform-=* \
948 | --program-transform=* | --program-transfor=* \
949 | --program-transfo=* | --program-transf=* \
950 | --program-trans=* | --program-tran=* \
951 | --progr-tra=* | --program-tr=* | --program-t=*)
952 program_transform_name=$ac_optarg ;;
954 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
956 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
959 -psdir | --psdir | --psdi | --psd | --ps)
961 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
964 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
965 | -silent | --silent | --silen | --sile | --sil)
968 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
970 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
972 sbindir=$ac_optarg ;;
974 -sharedstatedir | --sharedstatedir | --sharedstatedi \
975 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
976 | --sharedst | --shareds | --shared | --share | --shar \
978 ac_prev=sharedstatedir ;;
979 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
980 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
981 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
983 sharedstatedir=$ac_optarg ;;
985 -site | --site | --sit)
987 -site=* | --site=* | --sit=*)
990 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
992 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
995 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
996 | --syscon | --sysco | --sysc | --sys | --sy)
997 ac_prev=sysconfdir ;;
998 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
999 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1000 sysconfdir=$ac_optarg ;;
1002 -target | --target | --targe | --targ | --tar | --ta | --t)
1003 ac_prev=target_alias ;;
1004 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1005 target_alias=$ac_optarg ;;
1007 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1010 -version | --version | --versio | --versi | --vers | -V)
1011 ac_init_version=: ;;
1014 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1015 # Reject names that are not valid shell variable names.
1016 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1017 { echo "$as_me: error: invalid package name: $ac_package" >&2
1018 { (exit 1); exit 1; }; }
1019 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1020 eval with_$ac_package=\$ac_optarg ;;
1022 -without-* | --without-*)
1023 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1024 # Reject names that are not valid shell variable names.
1025 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1026 { echo "$as_me: error: invalid package name: $ac_package" >&2
1027 { (exit 1); exit 1; }; }
1028 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1029 eval with_$ac_package=no ;;
1032 # Obsolete; use --with-x.
1035 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1036 | --x-incl | --x-inc | --x-in | --x-i)
1037 ac_prev=x_includes ;;
1038 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1039 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1040 x_includes=$ac_optarg ;;
1042 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1043 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1044 ac_prev=x_libraries ;;
1045 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1046 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1047 x_libraries=$ac_optarg ;;
1049 -*) { echo "$as_me: error: unrecognized option: $ac_option
1050 Try \`$0 --help' for more information." >&2
1051 { (exit 1); exit 1; }; }
1055 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1056 # Reject names that are not valid shell variable names.
1057 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1058 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1059 { (exit 1); exit 1; }; }
1060 eval $ac_envvar=\$ac_optarg
1061 export $ac_envvar ;;
1064 # FIXME: should be removed in autoconf 3.0.
1065 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1066 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1067 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1068 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1074 if test -n "$ac_prev"; then
1075 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1076 { echo "$as_me: error: missing argument to $ac_option" >&2
1077 { (exit 1); exit 1; }; }
1080 # Be sure to have absolute directory names.
1081 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1082 datadir sysconfdir sharedstatedir localstatedir includedir \
1083 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1084 libdir localedir mandir
1086 eval ac_val=\$$ac_var
1088 [\\/$]* | ?:[\\/]* ) continue;;
1089 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1091 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1092 { (exit 1); exit 1; }; }
1095 # There might be people who depend on the old broken behavior: `$host'
1096 # used to hold the argument of --host etc.
1097 # FIXME: To remove some day.
1100 target=$target_alias
1102 # FIXME: To remove some day.
1103 if test "x$host_alias" != x; then
1104 if test "x$build_alias" = x; then
1105 cross_compiling=maybe
1106 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1107 If a cross compiler is detected then cross compile mode will be used." >&2
1108 elif test "x$build_alias" != "x$host_alias"; then
1114 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1116 test "$silent" = yes && exec 6>/dev/null
1119 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1120 ac_ls_di=`ls -di .` &&
1121 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1122 { echo "$as_me: error: Working directory cannot be determined" >&2
1123 { (exit 1); exit 1; }; }
1124 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1125 { echo "$as_me: error: pwd does not report name of working directory" >&2
1126 { (exit 1); exit 1; }; }
1129 # Find the source files, if location was not specified.
1130 if test -z "$srcdir"; then
1131 ac_srcdir_defaulted=yes
1132 # Try the directory containing this script, then the parent directory.
1133 ac_confdir=`$as_dirname -- "$0" ||
1134 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1135 X"$0" : 'X\(//\)[^/]' \| \
1136 X"$0" : 'X\(//\)$' \| \
1137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1139 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1157 if test ! -r "$srcdir/$ac_unique_file"; then
1161 ac_srcdir_defaulted=no
1163 if test ! -r "$srcdir/$ac_unique_file"; then
1164 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1165 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1166 { (exit 1); exit 1; }; }
1168 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1170 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1171 { (exit 1); exit 1; }; }
1173 # When building in place, set srcdir=.
1174 if test "$ac_abs_confdir" = "$ac_pwd"; then
1177 # Remove unnecessary trailing slashes from srcdir.
1178 # Double slashes in file names in object file debugging info
1179 # mess up M-x gdb in Emacs.
1181 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1183 for ac_var in $ac_precious_vars; do
1184 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1185 eval ac_env_${ac_var}_value=\$${ac_var}
1186 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1187 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1191 # Report the --help message.
1193 if test "$ac_init_help" = "long"; then
1194 # Omit some internal or obsolete options to make the list less imposing.
1195 # This message is too long to be a string in the A/UX 3.1 sh.
1197 \`configure' configures this package to adapt to many kinds of systems.
1199 Usage: $0 [OPTION]... [VAR=VALUE]...
1201 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1202 VAR=VALUE. See below for descriptions of some of the useful variables.
1204 Defaults for the options are specified in brackets.
1207 -h, --help display this help and exit
1208 --help=short display options specific to this package
1209 --help=recursive display the short help of all the included packages
1210 -V, --version display version information and exit
1211 -q, --quiet, --silent do not print \`checking...' messages
1212 --cache-file=FILE cache test results in FILE [disabled]
1213 -C, --config-cache alias for \`--cache-file=config.cache'
1214 -n, --no-create do not create output files
1215 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1217 Installation directories:
1218 --prefix=PREFIX install architecture-independent files in PREFIX
1219 [$ac_default_prefix]
1220 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1223 By default, \`make install' will install all the files in
1224 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1225 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1226 for instance \`--prefix=\$HOME'.
1228 For better control, use the options below.
1230 Fine tuning of the installation directories:
1231 --bindir=DIR user executables [EPREFIX/bin]
1232 --sbindir=DIR system admin executables [EPREFIX/sbin]
1233 --libexecdir=DIR program executables [EPREFIX/libexec]
1234 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1235 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1236 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1237 --libdir=DIR object code libraries [EPREFIX/lib]
1238 --includedir=DIR C header files [PREFIX/include]
1239 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1240 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1241 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1242 --infodir=DIR info documentation [DATAROOTDIR/info]
1243 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1244 --mandir=DIR man documentation [DATAROOTDIR/man]
1245 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1246 --htmldir=DIR html documentation [DOCDIR]
1247 --dvidir=DIR dvi documentation [DOCDIR]
1248 --pdfdir=DIR pdf documentation [DOCDIR]
1249 --psdir=DIR ps documentation [DOCDIR]
1255 --build=BUILD configure for building on BUILD [guessed]
1256 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1260 if test -n "$ac_init_help"; then
1264 Some influential environment variables:
1265 CC C compiler command
1266 CFLAGS C compiler flags
1267 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1268 nonstandard directory <lib dir>
1269 LIBS libraries to pass to the linker, e.g. -l<library>
1270 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1271 you have headers in a nonstandard directory <include dir>
1272 CXX C++ compiler command
1273 CXXFLAGS C++ compiler flags
1274 CXXCPP C++ preprocessor
1276 Use these variables to override the choices made by `configure' or to help
1277 it to find libraries and programs with nonstandard names/locations.
1283 if test "$ac_init_help" = "recursive"; then
1284 # If there are subdirs, report their specific --help.
1285 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1286 test -d "$ac_dir" || continue
1290 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1292 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1293 # A ".." for each directory in $ac_dir_suffix.
1294 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1295 case $ac_top_builddir_sub in
1296 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1297 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1300 ac_abs_top_builddir=$ac_pwd
1301 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1302 # for backward compatibility:
1303 ac_top_builddir=$ac_top_build_prefix
1306 .) # We are building in place.
1308 ac_top_srcdir=$ac_top_builddir_sub
1309 ac_abs_top_srcdir=$ac_pwd ;;
1310 [\\/]* | ?:[\\/]* ) # Absolute name.
1311 ac_srcdir=$srcdir$ac_dir_suffix;
1312 ac_top_srcdir=$srcdir
1313 ac_abs_top_srcdir=$srcdir ;;
1315 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1316 ac_top_srcdir=$ac_top_build_prefix$srcdir
1317 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1319 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1321 cd "$ac_dir" || { ac_status=$?; continue; }
1322 # Check for guested configure.
1323 if test -f "$ac_srcdir/configure.gnu"; then
1325 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1326 elif test -f "$ac_srcdir/configure"; then
1328 $SHELL "$ac_srcdir/configure" --help=recursive
1330 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1332 cd "$ac_pwd" || { ac_status=$?; break; }
1336 test -n "$ac_init_help" && exit $ac_status
1337 if $ac_init_version; then
1340 generated by GNU Autoconf 2.61
1342 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1343 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1344 This configure script is free software; the Free Software Foundation
1345 gives unlimited permission to copy, distribute and modify it.
1349 cat >config.log <<_ACEOF
1350 This file contains any messages produced by compilers while
1351 running configure, to aid debugging if configure makes a mistake.
1353 It was created by $as_me, which was
1354 generated by GNU Autoconf 2.61. Invocation command line was
1366 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1367 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1368 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1369 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1370 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1372 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1373 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1375 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1376 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1377 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1378 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1379 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1380 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1381 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1389 test -z "$as_dir" && as_dir=.
1390 echo "PATH: $as_dir"
1406 # Keep a trace of the command line.
1407 # Strip out --no-create and --no-recursion so they do not pile up.
1408 # Strip out --silent because we don't want to record it for future runs.
1409 # Also quote any args containing shell meta-characters.
1410 # Make two passes to allow for proper duplicate-argument suppression.
1414 ac_must_keep_next=false
1420 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1421 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1422 | -silent | --silent | --silen | --sile | --sil)
1425 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1428 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1430 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1431 if test $ac_must_keep_next = true; then
1432 ac_must_keep_next=false # Got value, back to normal.
1435 *=* | --config-cache | -C | -disable-* | --disable-* \
1436 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1437 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1438 | -with-* | --with-* | -without-* | --without-* | --x)
1439 case "$ac_configure_args0 " in
1440 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1443 -* ) ac_must_keep_next=true ;;
1446 ac_configure_args="$ac_configure_args '$ac_arg'"
1451 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1452 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1454 # When interrupted or exit'd, cleanup temporary files, and complete
1455 # config.log. We remove comments because anyway the quotes in there
1456 # would cause problems or look ugly.
1457 # WARNING: Use '\'' to represent an apostrophe within the trap.
1458 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1459 trap 'exit_status=$?
1460 # Save into config.log some information that might help in debugging.
1465 ## ---------------- ##
1466 ## Cache variables. ##
1467 ## ---------------- ##
1470 # The following way of writing the cache mishandles newlines in values,
1472 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1473 eval ac_val=\$$ac_var
1477 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1478 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1481 _ | IFS | as_nl) ;; #(
1482 *) $as_unset $ac_var ;;
1487 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1488 *${as_nl}ac_space=\ *)
1490 "s/'\''/'\''\\\\'\'''\''/g;
1491 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1494 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1502 ## ----------------- ##
1503 ## Output variables. ##
1504 ## ----------------- ##
1507 for ac_var in $ac_subst_vars
1509 eval ac_val=\$$ac_var
1511 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1513 echo "$ac_var='\''$ac_val'\''"
1517 if test -n "$ac_subst_files"; then
1519 ## ------------------- ##
1520 ## File substitutions. ##
1521 ## ------------------- ##
1524 for ac_var in $ac_subst_files
1526 eval ac_val=\$$ac_var
1528 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1530 echo "$ac_var='\''$ac_val'\''"
1535 if test -s confdefs.h; then
1545 test "$ac_signal" != 0 &&
1546 echo "$as_me: caught signal $ac_signal"
1547 echo "$as_me: exit $exit_status"
1549 rm -f core *.core core.conftest.* &&
1550 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1553 for ac_signal in 1 2 13 15; do
1554 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1558 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1559 rm -f -r conftest* confdefs.h
1561 # Predefined preprocessor variables.
1563 cat >>confdefs.h <<_ACEOF
1564 #define PACKAGE_NAME "$PACKAGE_NAME"
1568 cat >>confdefs.h <<_ACEOF
1569 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1573 cat >>confdefs.h <<_ACEOF
1574 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1578 cat >>confdefs.h <<_ACEOF
1579 #define PACKAGE_STRING "$PACKAGE_STRING"
1583 cat >>confdefs.h <<_ACEOF
1584 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1588 # Let the site file select an alternate cache file if it wants to.
1589 # Prefer explicitly selected file to automatically selected ones.
1590 if test -n "$CONFIG_SITE"; then
1591 set x "$CONFIG_SITE"
1592 elif test "x$prefix" != xNONE; then
1593 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1595 set x "$ac_default_prefix/share/config.site" \
1596 "$ac_default_prefix/etc/config.site"
1601 if test -r "$ac_site_file"; then
1602 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1603 echo "$as_me: loading site script $ac_site_file" >&6;}
1604 sed 's/^/| /' "$ac_site_file" >&5
1609 if test -r "$cache_file"; then
1610 # Some versions of bash will fail to source /dev/null (special
1611 # files actually), so we avoid doing that.
1612 if test -f "$cache_file"; then
1613 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1614 echo "$as_me: loading cache $cache_file" >&6;}
1616 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1617 *) . "./$cache_file";;
1621 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1622 echo "$as_me: creating cache $cache_file" >&6;}
1626 # Check that the precious variables saved in the cache have kept the same
1628 ac_cache_corrupted=false
1629 for ac_var in $ac_precious_vars; do
1630 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1631 eval ac_new_set=\$ac_env_${ac_var}_set
1632 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1633 eval ac_new_val=\$ac_env_${ac_var}_value
1634 case $ac_old_set,$ac_new_set in
1636 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1637 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1638 ac_cache_corrupted=: ;;
1640 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1641 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1642 ac_cache_corrupted=: ;;
1645 if test "x$ac_old_val" != "x$ac_new_val"; then
1646 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1647 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1648 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1649 echo "$as_me: former value: $ac_old_val" >&2;}
1650 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1651 echo "$as_me: current value: $ac_new_val" >&2;}
1652 ac_cache_corrupted=:
1655 # Pass precious variables to config.status.
1656 if test "$ac_new_set" = set; then
1658 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1659 *) ac_arg=$ac_var=$ac_new_val ;;
1661 case " $ac_configure_args " in
1662 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1663 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1667 if $ac_cache_corrupted; then
1668 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1669 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1670 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1671 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1672 { (exit 1); exit 1; }; }
1692 ac_cpp='$CPP $CPPFLAGS'
1693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1699 for ac_dir in buildlib "$srcdir"/buildlib; do
1700 if test -f "$ac_dir/install-sh"; then
1702 ac_install_sh="$ac_aux_dir/install-sh -c"
1704 elif test -f "$ac_dir/install.sh"; then
1706 ac_install_sh="$ac_aux_dir/install.sh -c"
1708 elif test -f "$ac_dir/shtool"; then
1710 ac_install_sh="$ac_aux_dir/shtool install -c"
1714 if test -z "$ac_aux_dir"; then
1715 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in buildlib \"$srcdir\"/buildlib" >&5
1716 echo "$as_me: error: cannot find install-sh or install.sh in buildlib \"$srcdir\"/buildlib" >&2;}
1717 { (exit 1); exit 1; }; }
1720 # These three variables are undocumented and unsupported,
1721 # and are intended to be withdrawn in a future Autoconf release.
1722 # They can cause serious problems if a builder's source tree is in a directory
1723 # whose full name contains unusual characters.
1724 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1725 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1726 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1729 ac_config_headers="$ac_config_headers include/config.h:buildlib/config.h.in"
1732 cat >>confdefs.h <<_ACEOF
1733 #define VERSION "0.0"
1736 cat >>confdefs.h <<_ACEOF
1737 #define PACKAGE "dsync"
1743 ac_cpp='$CPP $CPPFLAGS'
1744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1747 if test -n "$ac_tool_prefix"; then
1748 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1749 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1750 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1752 if test "${ac_cv_prog_CC+set}" = set; then
1753 echo $ECHO_N "(cached) $ECHO_C" >&6
1755 if test -n "$CC"; then
1756 ac_cv_prog_CC="$CC" # Let the user override the test.
1758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1762 test -z "$as_dir" && as_dir=.
1763 for ac_exec_ext in '' $ac_executable_extensions; do
1764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1765 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1766 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1776 if test -n "$CC"; then
1777 { echo "$as_me:$LINENO: result: $CC" >&5
1778 echo "${ECHO_T}$CC" >&6; }
1780 { echo "$as_me:$LINENO: result: no" >&5
1781 echo "${ECHO_T}no" >&6; }
1786 if test -z "$ac_cv_prog_CC"; then
1788 # Extract the first word of "gcc", so it can be a program name with args.
1789 set dummy gcc; ac_word=$2
1790 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1792 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1793 echo $ECHO_N "(cached) $ECHO_C" >&6
1795 if test -n "$ac_ct_CC"; then
1796 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1802 test -z "$as_dir" && as_dir=.
1803 for ac_exec_ext in '' $ac_executable_extensions; do
1804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1805 ac_cv_prog_ac_ct_CC="gcc"
1806 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1815 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1816 if test -n "$ac_ct_CC"; then
1817 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1818 echo "${ECHO_T}$ac_ct_CC" >&6; }
1820 { echo "$as_me:$LINENO: result: no" >&5
1821 echo "${ECHO_T}no" >&6; }
1824 if test "x$ac_ct_CC" = x; then
1827 case $cross_compiling:$ac_tool_warned in
1829 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1830 whose name does not start with the host triplet. If you think this
1831 configuration is useful to you, please write to autoconf@gnu.org." >&5
1832 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1833 whose name does not start with the host triplet. If you think this
1834 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1835 ac_tool_warned=yes ;;
1843 if test -z "$CC"; then
1844 if test -n "$ac_tool_prefix"; then
1845 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1846 set dummy ${ac_tool_prefix}cc; ac_word=$2
1847 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1849 if test "${ac_cv_prog_CC+set}" = set; then
1850 echo $ECHO_N "(cached) $ECHO_C" >&6
1852 if test -n "$CC"; then
1853 ac_cv_prog_CC="$CC" # Let the user override the test.
1855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1859 test -z "$as_dir" && as_dir=.
1860 for ac_exec_ext in '' $ac_executable_extensions; do
1861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1862 ac_cv_prog_CC="${ac_tool_prefix}cc"
1863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1873 if test -n "$CC"; then
1874 { echo "$as_me:$LINENO: result: $CC" >&5
1875 echo "${ECHO_T}$CC" >&6; }
1877 { echo "$as_me:$LINENO: result: no" >&5
1878 echo "${ECHO_T}no" >&6; }
1884 if test -z "$CC"; then
1885 # Extract the first word of "cc", so it can be a program name with args.
1886 set dummy cc; ac_word=$2
1887 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1889 if test "${ac_cv_prog_CC+set}" = set; then
1890 echo $ECHO_N "(cached) $ECHO_C" >&6
1892 if test -n "$CC"; then
1893 ac_cv_prog_CC="$CC" # Let the user override the test.
1896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1900 test -z "$as_dir" && as_dir=.
1901 for ac_exec_ext in '' $ac_executable_extensions; do
1902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1903 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1904 ac_prog_rejected=yes
1908 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1915 if test $ac_prog_rejected = yes; then
1916 # We found a bogon in the path, so make sure we never use it.
1917 set dummy $ac_cv_prog_CC
1919 if test $# != 0; then
1920 # We chose a different compiler from the bogus one.
1921 # However, it has the same basename, so the bogon will be chosen
1922 # first if we set CC to just the basename; use the full file name.
1924 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1930 if test -n "$CC"; then
1931 { echo "$as_me:$LINENO: result: $CC" >&5
1932 echo "${ECHO_T}$CC" >&6; }
1934 { echo "$as_me:$LINENO: result: no" >&5
1935 echo "${ECHO_T}no" >&6; }
1940 if test -z "$CC"; then
1941 if test -n "$ac_tool_prefix"; then
1942 for ac_prog in cl.exe
1944 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1945 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1946 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1948 if test "${ac_cv_prog_CC+set}" = set; then
1949 echo $ECHO_N "(cached) $ECHO_C" >&6
1951 if test -n "$CC"; then
1952 ac_cv_prog_CC="$CC" # Let the user override the test.
1954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1958 test -z "$as_dir" && as_dir=.
1959 for ac_exec_ext in '' $ac_executable_extensions; do
1960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1961 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1972 if test -n "$CC"; then
1973 { echo "$as_me:$LINENO: result: $CC" >&5
1974 echo "${ECHO_T}$CC" >&6; }
1976 { echo "$as_me:$LINENO: result: no" >&5
1977 echo "${ECHO_T}no" >&6; }
1981 test -n "$CC" && break
1984 if test -z "$CC"; then
1986 for ac_prog in cl.exe
1988 # Extract the first word of "$ac_prog", so it can be a program name with args.
1989 set dummy $ac_prog; ac_word=$2
1990 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1992 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1993 echo $ECHO_N "(cached) $ECHO_C" >&6
1995 if test -n "$ac_ct_CC"; then
1996 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2002 test -z "$as_dir" && as_dir=.
2003 for ac_exec_ext in '' $ac_executable_extensions; do
2004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2005 ac_cv_prog_ac_ct_CC="$ac_prog"
2006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2015 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2016 if test -n "$ac_ct_CC"; then
2017 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2018 echo "${ECHO_T}$ac_ct_CC" >&6; }
2020 { echo "$as_me:$LINENO: result: no" >&5
2021 echo "${ECHO_T}no" >&6; }
2025 test -n "$ac_ct_CC" && break
2028 if test "x$ac_ct_CC" = x; then
2031 case $cross_compiling:$ac_tool_warned in
2033 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2034 whose name does not start with the host triplet. If you think this
2035 configuration is useful to you, please write to autoconf@gnu.org." >&5
2036 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2037 whose name does not start with the host triplet. If you think this
2038 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2039 ac_tool_warned=yes ;;
2048 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2049 See \`config.log' for more details." >&5
2050 echo "$as_me: error: no acceptable C compiler found in \$PATH
2051 See \`config.log' for more details." >&2;}
2052 { (exit 1); exit 1; }; }
2054 # Provide some information about the compiler.
2055 echo "$as_me:$LINENO: checking for C compiler version" >&5
2056 ac_compiler=`set X $ac_compile; echo $2`
2057 { (ac_try="$ac_compiler --version >&5"
2059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2060 *) ac_try_echo=$ac_try;;
2062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2063 (eval "$ac_compiler --version >&5") 2>&5
2065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2066 (exit $ac_status); }
2067 { (ac_try="$ac_compiler -v >&5"
2069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2070 *) ac_try_echo=$ac_try;;
2072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2073 (eval "$ac_compiler -v >&5") 2>&5
2075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2076 (exit $ac_status); }
2077 { (ac_try="$ac_compiler -V >&5"
2079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2080 *) ac_try_echo=$ac_try;;
2082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2083 (eval "$ac_compiler -V >&5") 2>&5
2085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2086 (exit $ac_status); }
2088 cat >conftest.$ac_ext <<_ACEOF
2091 cat confdefs.h >>conftest.$ac_ext
2092 cat >>conftest.$ac_ext <<_ACEOF
2093 /* end confdefs.h. */
2103 ac_clean_files_save=$ac_clean_files
2104 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2105 # Try to create an executable without -o first, disregard a.out.
2106 # It will help us diagnose broken compilers, and finding out an intuition
2108 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2109 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2110 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2112 # List of possible output files, starting from the most likely.
2113 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2114 # only as a last resort. b.out is created by i960 compilers.
2115 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2117 # The IRIX 6 linker writes into existing files which may not be
2118 # executable, retaining their permissions. Remove them first so a
2119 # subsequent execution test works.
2121 for ac_file in $ac_files
2124 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2125 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2130 if { (ac_try="$ac_link_default"
2132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2133 *) ac_try_echo=$ac_try;;
2135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2136 (eval "$ac_link_default") 2>&5
2138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2139 (exit $ac_status); }; then
2140 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2141 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2142 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2143 # so that the user can short-circuit this test for compilers unknown to
2145 for ac_file in $ac_files ''
2147 test -f "$ac_file" || continue
2149 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2152 # We found the default executable, but exeext='' is most
2156 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2158 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2160 # We set ac_cv_exeext here because the later test for it is not
2161 # safe: cross compilers may not add the suffix if given an `-o'
2162 # argument, so we may need to know it at that point already.
2163 # Even if this section looks crufty: it has the advantage of
2170 test "$ac_cv_exeext" = no && ac_cv_exeext=
2176 { echo "$as_me:$LINENO: result: $ac_file" >&5
2177 echo "${ECHO_T}$ac_file" >&6; }
2178 if test -z "$ac_file"; then
2179 echo "$as_me: failed program was:" >&5
2180 sed 's/^/| /' conftest.$ac_ext >&5
2182 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2183 See \`config.log' for more details." >&5
2184 echo "$as_me: error: C compiler cannot create executables
2185 See \`config.log' for more details." >&2;}
2186 { (exit 77); exit 77; }; }
2189 ac_exeext=$ac_cv_exeext
2191 # Check that the compiler produces executables we can run. If not, either
2192 # the compiler is broken, or we cross compile.
2193 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2194 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2195 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2196 # If not cross compiling, check that we can run a simple program.
2197 if test "$cross_compiling" != yes; then
2198 if { ac_try='./$ac_file'
2199 { (case "(($ac_try" in
2200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2201 *) ac_try_echo=$ac_try;;
2203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2204 (eval "$ac_try") 2>&5
2206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2207 (exit $ac_status); }; }; then
2210 if test "$cross_compiling" = maybe; then
2213 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2214 If you meant to cross compile, use \`--host'.
2215 See \`config.log' for more details." >&5
2216 echo "$as_me: error: cannot run C compiled programs.
2217 If you meant to cross compile, use \`--host'.
2218 See \`config.log' for more details." >&2;}
2219 { (exit 1); exit 1; }; }
2223 { echo "$as_me:$LINENO: result: yes" >&5
2224 echo "${ECHO_T}yes" >&6; }
2226 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2227 ac_clean_files=$ac_clean_files_save
2228 # Check that the compiler produces executables we can run. If not, either
2229 # the compiler is broken, or we cross compile.
2230 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2231 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2232 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2233 echo "${ECHO_T}$cross_compiling" >&6; }
2235 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2236 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2237 if { (ac_try="$ac_link"
2239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2240 *) ac_try_echo=$ac_try;;
2242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2243 (eval "$ac_link") 2>&5
2245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2246 (exit $ac_status); }; then
2247 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2248 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2249 # work properly (i.e., refer to `conftest.exe'), while it won't with
2251 for ac_file in conftest.exe conftest conftest.*; do
2252 test -f "$ac_file" || continue
2254 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2255 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2261 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2262 See \`config.log' for more details." >&5
2263 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2264 See \`config.log' for more details." >&2;}
2265 { (exit 1); exit 1; }; }
2268 rm -f conftest$ac_cv_exeext
2269 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2270 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2272 rm -f conftest.$ac_ext
2273 EXEEXT=$ac_cv_exeext
2275 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2276 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2277 if test "${ac_cv_objext+set}" = set; then
2278 echo $ECHO_N "(cached) $ECHO_C" >&6
2280 cat >conftest.$ac_ext <<_ACEOF
2283 cat confdefs.h >>conftest.$ac_ext
2284 cat >>conftest.$ac_ext <<_ACEOF
2285 /* end confdefs.h. */
2295 rm -f conftest.o conftest.obj
2296 if { (ac_try="$ac_compile"
2298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2299 *) ac_try_echo=$ac_try;;
2301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2302 (eval "$ac_compile") 2>&5
2304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2305 (exit $ac_status); }; then
2306 for ac_file in conftest.o conftest.obj conftest.*; do
2307 test -f "$ac_file" || continue;
2309 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2310 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2315 echo "$as_me: failed program was:" >&5
2316 sed 's/^/| /' conftest.$ac_ext >&5
2318 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2319 See \`config.log' for more details." >&5
2320 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2321 See \`config.log' for more details." >&2;}
2322 { (exit 1); exit 1; }; }
2325 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2327 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2328 echo "${ECHO_T}$ac_cv_objext" >&6; }
2329 OBJEXT=$ac_cv_objext
2331 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2332 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2333 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2334 echo $ECHO_N "(cached) $ECHO_C" >&6
2336 cat >conftest.$ac_ext <<_ACEOF
2339 cat confdefs.h >>conftest.$ac_ext
2340 cat >>conftest.$ac_ext <<_ACEOF
2341 /* end confdefs.h. */
2354 rm -f conftest.$ac_objext
2355 if { (ac_try="$ac_compile"
2357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2358 *) ac_try_echo=$ac_try;;
2360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2361 (eval "$ac_compile") 2>conftest.er1
2363 grep -v '^ *+' conftest.er1 >conftest.err
2365 cat conftest.err >&5
2366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2367 (exit $ac_status); } && {
2368 test -z "$ac_c_werror_flag" ||
2369 test ! -s conftest.err
2370 } && test -s conftest.$ac_objext; then
2373 echo "$as_me: failed program was:" >&5
2374 sed 's/^/| /' conftest.$ac_ext >&5
2379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2380 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2383 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2384 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2385 GCC=`test $ac_compiler_gnu = yes && echo yes`
2386 ac_test_CFLAGS=${CFLAGS+set}
2387 ac_save_CFLAGS=$CFLAGS
2388 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2389 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2390 if test "${ac_cv_prog_cc_g+set}" = set; then
2391 echo $ECHO_N "(cached) $ECHO_C" >&6
2393 ac_save_c_werror_flag=$ac_c_werror_flag
2394 ac_c_werror_flag=yes
2397 cat >conftest.$ac_ext <<_ACEOF
2400 cat confdefs.h >>conftest.$ac_ext
2401 cat >>conftest.$ac_ext <<_ACEOF
2402 /* end confdefs.h. */
2412 rm -f conftest.$ac_objext
2413 if { (ac_try="$ac_compile"
2415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2416 *) ac_try_echo=$ac_try;;
2418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2419 (eval "$ac_compile") 2>conftest.er1
2421 grep -v '^ *+' conftest.er1 >conftest.err
2423 cat conftest.err >&5
2424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2425 (exit $ac_status); } && {
2426 test -z "$ac_c_werror_flag" ||
2427 test ! -s conftest.err
2428 } && test -s conftest.$ac_objext; then
2431 echo "$as_me: failed program was:" >&5
2432 sed 's/^/| /' conftest.$ac_ext >&5
2435 cat >conftest.$ac_ext <<_ACEOF
2438 cat confdefs.h >>conftest.$ac_ext
2439 cat >>conftest.$ac_ext <<_ACEOF
2440 /* end confdefs.h. */
2450 rm -f conftest.$ac_objext
2451 if { (ac_try="$ac_compile"
2453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2454 *) ac_try_echo=$ac_try;;
2456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2457 (eval "$ac_compile") 2>conftest.er1
2459 grep -v '^ *+' conftest.er1 >conftest.err
2461 cat conftest.err >&5
2462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2463 (exit $ac_status); } && {
2464 test -z "$ac_c_werror_flag" ||
2465 test ! -s conftest.err
2466 } && test -s conftest.$ac_objext; then
2469 echo "$as_me: failed program was:" >&5
2470 sed 's/^/| /' conftest.$ac_ext >&5
2472 ac_c_werror_flag=$ac_save_c_werror_flag
2474 cat >conftest.$ac_ext <<_ACEOF
2477 cat confdefs.h >>conftest.$ac_ext
2478 cat >>conftest.$ac_ext <<_ACEOF
2479 /* end confdefs.h. */
2489 rm -f conftest.$ac_objext
2490 if { (ac_try="$ac_compile"
2492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2493 *) ac_try_echo=$ac_try;;
2495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2496 (eval "$ac_compile") 2>conftest.er1
2498 grep -v '^ *+' conftest.er1 >conftest.err
2500 cat conftest.err >&5
2501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2502 (exit $ac_status); } && {
2503 test -z "$ac_c_werror_flag" ||
2504 test ! -s conftest.err
2505 } && test -s conftest.$ac_objext; then
2508 echo "$as_me: failed program was:" >&5
2509 sed 's/^/| /' conftest.$ac_ext >&5
2514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2521 ac_c_werror_flag=$ac_save_c_werror_flag
2523 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2524 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2525 if test "$ac_test_CFLAGS" = set; then
2526 CFLAGS=$ac_save_CFLAGS
2527 elif test $ac_cv_prog_cc_g = yes; then
2528 if test "$GCC" = yes; then
2534 if test "$GCC" = yes; then
2540 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2541 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2542 if test "${ac_cv_prog_cc_c89+set}" = set; then
2543 echo $ECHO_N "(cached) $ECHO_C" >&6
2545 ac_cv_prog_cc_c89=no
2547 cat >conftest.$ac_ext <<_ACEOF
2550 cat confdefs.h >>conftest.$ac_ext
2551 cat >>conftest.$ac_ext <<_ACEOF
2552 /* end confdefs.h. */
2555 #include <sys/types.h>
2556 #include <sys/stat.h>
2557 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2558 struct buf { int x; };
2559 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2560 static char *e (p, i)
2566 static char *f (char * (*g) (char **, int), char **p, ...)
2571 s = g (p, va_arg (v,int));
2576 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2577 function prototypes and stuff, but not '\xHH' hex character constants.
2578 These don't provoke an error unfortunately, instead are silently treated
2579 as 'x'. The following induces an error, until -std is added to get
2580 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2581 array size at least. It's necessary to write '\x00'==0 to get something
2582 that's true only with -std. */
2583 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2585 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2586 inside strings and character constants. */
2588 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2590 int test (int i, double x);
2591 struct s1 {int (*f) (int a);};
2592 struct s2 {int (*f) (double a);};
2593 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2599 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2604 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2605 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2607 CC="$ac_save_CC $ac_arg"
2608 rm -f conftest.$ac_objext
2609 if { (ac_try="$ac_compile"
2611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2612 *) ac_try_echo=$ac_try;;
2614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2615 (eval "$ac_compile") 2>conftest.er1
2617 grep -v '^ *+' conftest.er1 >conftest.err
2619 cat conftest.err >&5
2620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2621 (exit $ac_status); } && {
2622 test -z "$ac_c_werror_flag" ||
2623 test ! -s conftest.err
2624 } && test -s conftest.$ac_objext; then
2625 ac_cv_prog_cc_c89=$ac_arg
2627 echo "$as_me: failed program was:" >&5
2628 sed 's/^/| /' conftest.$ac_ext >&5
2633 rm -f core conftest.err conftest.$ac_objext
2634 test "x$ac_cv_prog_cc_c89" != "xno" && break
2636 rm -f conftest.$ac_ext
2641 case "x$ac_cv_prog_cc_c89" in
2643 { echo "$as_me:$LINENO: result: none needed" >&5
2644 echo "${ECHO_T}none needed" >&6; } ;;
2646 { echo "$as_me:$LINENO: result: unsupported" >&5
2647 echo "${ECHO_T}unsupported" >&6; } ;;
2649 CC="$CC $ac_cv_prog_cc_c89"
2650 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2651 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2656 ac_cpp='$CPP $CPPFLAGS'
2657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2662 { echo "$as_me:$LINENO: checking for library containing strerror" >&5
2663 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
2664 if test "${ac_cv_search_strerror+set}" = set; then
2665 echo $ECHO_N "(cached) $ECHO_C" >&6
2667 ac_func_search_save_LIBS=$LIBS
2668 cat >conftest.$ac_ext <<_ACEOF
2671 cat confdefs.h >>conftest.$ac_ext
2672 cat >>conftest.$ac_ext <<_ACEOF
2673 /* end confdefs.h. */
2675 /* Override any GCC internal prototype to avoid an error.
2676 Use char because int might match the return type of a GCC
2677 builtin and then its argument prototype would still apply. */
2690 for ac_lib in '' cposix; do
2691 if test -z "$ac_lib"; then
2692 ac_res="none required"
2695 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
2697 rm -f conftest.$ac_objext conftest$ac_exeext
2698 if { (ac_try="$ac_link"
2700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2701 *) ac_try_echo=$ac_try;;
2703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2704 (eval "$ac_link") 2>conftest.er1
2706 grep -v '^ *+' conftest.er1 >conftest.err
2708 cat conftest.err >&5
2709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2710 (exit $ac_status); } && {
2711 test -z "$ac_c_werror_flag" ||
2712 test ! -s conftest.err
2713 } && test -s conftest$ac_exeext &&
2714 $as_test_x conftest$ac_exeext; then
2715 ac_cv_search_strerror=$ac_res
2717 echo "$as_me: failed program was:" >&5
2718 sed 's/^/| /' conftest.$ac_ext >&5
2723 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2725 if test "${ac_cv_search_strerror+set}" = set; then
2729 if test "${ac_cv_search_strerror+set}" = set; then
2732 ac_cv_search_strerror=no
2735 LIBS=$ac_func_search_save_LIBS
2737 { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2738 echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
2739 ac_res=$ac_cv_search_strerror
2740 if test "$ac_res" != no; then
2741 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
2746 # Make sure we can run config.sub.
2747 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2748 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2749 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2750 { (exit 1); exit 1; }; }
2752 { echo "$as_me:$LINENO: checking build system type" >&5
2753 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2754 if test "${ac_cv_build+set}" = set; then
2755 echo $ECHO_N "(cached) $ECHO_C" >&6
2757 ac_build_alias=$build_alias
2758 test "x$ac_build_alias" = x &&
2759 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2760 test "x$ac_build_alias" = x &&
2761 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2762 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2763 { (exit 1); exit 1; }; }
2764 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2765 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2766 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2767 { (exit 1); exit 1; }; }
2770 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2771 echo "${ECHO_T}$ac_cv_build" >&6; }
2772 case $ac_cv_build in
2774 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2775 echo "$as_me: error: invalid value of canonical build" >&2;}
2776 { (exit 1); exit 1; }; };;
2779 ac_save_IFS=$IFS; IFS='-'
2785 # Remember, the first character of IFS is used to create $*,
2786 # except with old shells:
2789 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2792 { echo "$as_me:$LINENO: checking host system type" >&5
2793 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2794 if test "${ac_cv_host+set}" = set; then
2795 echo $ECHO_N "(cached) $ECHO_C" >&6
2797 if test "x$host_alias" = x; then
2798 ac_cv_host=$ac_cv_build
2800 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2801 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2802 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2803 { (exit 1); exit 1; }; }
2807 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2808 echo "${ECHO_T}$ac_cv_host" >&6; }
2811 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2812 echo "$as_me: error: invalid value of canonical host" >&2;}
2813 { (exit 1); exit 1; }; };;
2816 ac_save_IFS=$IFS; IFS='-'
2822 # Remember, the first character of IFS is used to create $*,
2823 # except with old shells:
2826 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2831 ac_cpp='$CXXCPP $CPPFLAGS'
2832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2835 if test -z "$CXX"; then
2836 if test -n "$CCC"; then
2839 if test -n "$ac_tool_prefix"; then
2840 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2842 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2843 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2844 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2846 if test "${ac_cv_prog_CXX+set}" = set; then
2847 echo $ECHO_N "(cached) $ECHO_C" >&6
2849 if test -n "$CXX"; then
2850 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2856 test -z "$as_dir" && as_dir=.
2857 for ac_exec_ext in '' $ac_executable_extensions; do
2858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2859 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2870 if test -n "$CXX"; then
2871 { echo "$as_me:$LINENO: result: $CXX" >&5
2872 echo "${ECHO_T}$CXX" >&6; }
2874 { echo "$as_me:$LINENO: result: no" >&5
2875 echo "${ECHO_T}no" >&6; }
2879 test -n "$CXX" && break
2882 if test -z "$CXX"; then
2884 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2886 # Extract the first word of "$ac_prog", so it can be a program name with args.
2887 set dummy $ac_prog; ac_word=$2
2888 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2890 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2891 echo $ECHO_N "(cached) $ECHO_C" >&6
2893 if test -n "$ac_ct_CXX"; then
2894 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2900 test -z "$as_dir" && as_dir=.
2901 for ac_exec_ext in '' $ac_executable_extensions; do
2902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2903 ac_cv_prog_ac_ct_CXX="$ac_prog"
2904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2913 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2914 if test -n "$ac_ct_CXX"; then
2915 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2916 echo "${ECHO_T}$ac_ct_CXX" >&6; }
2918 { echo "$as_me:$LINENO: result: no" >&5
2919 echo "${ECHO_T}no" >&6; }
2923 test -n "$ac_ct_CXX" && break
2926 if test "x$ac_ct_CXX" = x; then
2929 case $cross_compiling:$ac_tool_warned in
2931 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2932 whose name does not start with the host triplet. If you think this
2933 configuration is useful to you, please write to autoconf@gnu.org." >&5
2934 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2935 whose name does not start with the host triplet. If you think this
2936 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2937 ac_tool_warned=yes ;;
2945 # Provide some information about the compiler.
2946 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2947 ac_compiler=`set X $ac_compile; echo $2`
2948 { (ac_try="$ac_compiler --version >&5"
2950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2951 *) ac_try_echo=$ac_try;;
2953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2954 (eval "$ac_compiler --version >&5") 2>&5
2956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2957 (exit $ac_status); }
2958 { (ac_try="$ac_compiler -v >&5"
2960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2961 *) ac_try_echo=$ac_try;;
2963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2964 (eval "$ac_compiler -v >&5") 2>&5
2966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2967 (exit $ac_status); }
2968 { (ac_try="$ac_compiler -V >&5"
2970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2971 *) ac_try_echo=$ac_try;;
2973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2974 (eval "$ac_compiler -V >&5") 2>&5
2976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2977 (exit $ac_status); }
2979 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2980 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
2981 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2982 echo $ECHO_N "(cached) $ECHO_C" >&6
2984 cat >conftest.$ac_ext <<_ACEOF
2987 cat confdefs.h >>conftest.$ac_ext
2988 cat >>conftest.$ac_ext <<_ACEOF
2989 /* end confdefs.h. */
3002 rm -f conftest.$ac_objext
3003 if { (ac_try="$ac_compile"
3005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3006 *) ac_try_echo=$ac_try;;
3008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3009 (eval "$ac_compile") 2>conftest.er1
3011 grep -v '^ *+' conftest.er1 >conftest.err
3013 cat conftest.err >&5
3014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3015 (exit $ac_status); } && {
3016 test -z "$ac_cxx_werror_flag" ||
3017 test ! -s conftest.err
3018 } && test -s conftest.$ac_objext; then
3021 echo "$as_me: failed program was:" >&5
3022 sed 's/^/| /' conftest.$ac_ext >&5
3027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3028 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3031 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3032 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3033 GXX=`test $ac_compiler_gnu = yes && echo yes`
3034 ac_test_CXXFLAGS=${CXXFLAGS+set}
3035 ac_save_CXXFLAGS=$CXXFLAGS
3036 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3037 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3038 if test "${ac_cv_prog_cxx_g+set}" = set; then
3039 echo $ECHO_N "(cached) $ECHO_C" >&6
3041 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3042 ac_cxx_werror_flag=yes
3045 cat >conftest.$ac_ext <<_ACEOF
3048 cat confdefs.h >>conftest.$ac_ext
3049 cat >>conftest.$ac_ext <<_ACEOF
3050 /* end confdefs.h. */
3060 rm -f conftest.$ac_objext
3061 if { (ac_try="$ac_compile"
3063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3064 *) ac_try_echo=$ac_try;;
3066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3067 (eval "$ac_compile") 2>conftest.er1
3069 grep -v '^ *+' conftest.er1 >conftest.err
3071 cat conftest.err >&5
3072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3073 (exit $ac_status); } && {
3074 test -z "$ac_cxx_werror_flag" ||
3075 test ! -s conftest.err
3076 } && test -s conftest.$ac_objext; then
3077 ac_cv_prog_cxx_g=yes
3079 echo "$as_me: failed program was:" >&5
3080 sed 's/^/| /' conftest.$ac_ext >&5
3083 cat >conftest.$ac_ext <<_ACEOF
3086 cat confdefs.h >>conftest.$ac_ext
3087 cat >>conftest.$ac_ext <<_ACEOF
3088 /* end confdefs.h. */
3098 rm -f conftest.$ac_objext
3099 if { (ac_try="$ac_compile"
3101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3102 *) ac_try_echo=$ac_try;;
3104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3105 (eval "$ac_compile") 2>conftest.er1
3107 grep -v '^ *+' conftest.er1 >conftest.err
3109 cat conftest.err >&5
3110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3111 (exit $ac_status); } && {
3112 test -z "$ac_cxx_werror_flag" ||
3113 test ! -s conftest.err
3114 } && test -s conftest.$ac_objext; then
3117 echo "$as_me: failed program was:" >&5
3118 sed 's/^/| /' conftest.$ac_ext >&5
3120 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3122 cat >conftest.$ac_ext <<_ACEOF
3125 cat confdefs.h >>conftest.$ac_ext
3126 cat >>conftest.$ac_ext <<_ACEOF
3127 /* end confdefs.h. */
3137 rm -f conftest.$ac_objext
3138 if { (ac_try="$ac_compile"
3140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3141 *) ac_try_echo=$ac_try;;
3143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3144 (eval "$ac_compile") 2>conftest.er1
3146 grep -v '^ *+' conftest.er1 >conftest.err
3148 cat conftest.err >&5
3149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3150 (exit $ac_status); } && {
3151 test -z "$ac_cxx_werror_flag" ||
3152 test ! -s conftest.err
3153 } && test -s conftest.$ac_objext; then
3154 ac_cv_prog_cxx_g=yes
3156 echo "$as_me: failed program was:" >&5
3157 sed 's/^/| /' conftest.$ac_ext >&5
3162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3169 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3171 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3172 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3173 if test "$ac_test_CXXFLAGS" = set; then
3174 CXXFLAGS=$ac_save_CXXFLAGS
3175 elif test $ac_cv_prog_cxx_g = yes; then
3176 if test "$GXX" = yes; then
3182 if test "$GXX" = yes; then
3189 ac_cpp='$CPP $CPPFLAGS'
3190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3195 ac_cpp='$CXXCPP $CPPFLAGS'
3196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3200 if test -n "$ac_tool_prefix"; then
3201 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3202 set dummy ${ac_tool_prefix}ar; ac_word=$2
3203 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3204 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3205 if test "${ac_cv_prog_AR+set}" = set; then
3206 echo $ECHO_N "(cached) $ECHO_C" >&6
3208 if test -n "$AR"; then
3209 ac_cv_prog_AR="$AR" # Let the user override the test.
3211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3215 test -z "$as_dir" && as_dir=.
3216 for ac_exec_ext in '' $ac_executable_extensions; do
3217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3218 ac_cv_prog_AR="${ac_tool_prefix}ar"
3219 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3229 if test -n "$AR"; then
3230 { echo "$as_me:$LINENO: result: $AR" >&5
3231 echo "${ECHO_T}$AR" >&6; }
3233 { echo "$as_me:$LINENO: result: no" >&5
3234 echo "${ECHO_T}no" >&6; }
3239 if test -z "$ac_cv_prog_AR"; then
3241 # Extract the first word of "ar", so it can be a program name with args.
3242 set dummy ar; ac_word=$2
3243 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3245 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3246 echo $ECHO_N "(cached) $ECHO_C" >&6
3248 if test -n "$ac_ct_AR"; then
3249 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3255 test -z "$as_dir" && as_dir=.
3256 for ac_exec_ext in '' $ac_executable_extensions; do
3257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3258 ac_cv_prog_ac_ct_AR="ar"
3259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3268 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3269 if test -n "$ac_ct_AR"; then
3270 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3271 echo "${ECHO_T}$ac_ct_AR" >&6; }
3273 { echo "$as_me:$LINENO: result: no" >&5
3274 echo "${ECHO_T}no" >&6; }
3277 if test "x$ac_ct_AR" = x; then
3280 case $cross_compiling:$ac_tool_warned in
3282 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3283 whose name does not start with the host triplet. If you think this
3284 configuration is useful to you, please write to autoconf@gnu.org." >&5
3285 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3286 whose name does not start with the host triplet. If you think this
3287 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3288 ac_tool_warned=yes ;;
3297 if test "$AR" = ":"; then
3298 { { echo "$as_me:$LINENO: error: failed: Sorry I could not find ar in the path" >&5
3299 echo "$as_me: error: failed: Sorry I could not find ar in the path" >&2;}
3300 { (exit 1); exit 1; }; }
3304 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
3305 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
3306 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
3307 echo $ECHO_N "(cached) $ECHO_C" >&6
3309 ac_check_lib_save_LIBS=$LIBS
3310 LIBS="-lpthread $LIBS"
3311 cat >conftest.$ac_ext <<_ACEOF
3314 cat confdefs.h >>conftest.$ac_ext
3315 cat >>conftest.$ac_ext <<_ACEOF
3316 /* end confdefs.h. */
3318 /* Override any GCC internal prototype to avoid an error.
3319 Use char because int might match the return type of a GCC
3320 builtin and then its argument prototype would still apply. */
3324 char pthread_create ();
3328 return pthread_create ();
3333 rm -f conftest.$ac_objext conftest$ac_exeext
3334 if { (ac_try="$ac_link"
3336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3337 *) ac_try_echo=$ac_try;;
3339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3340 (eval "$ac_link") 2>conftest.er1
3342 grep -v '^ *+' conftest.er1 >conftest.err
3344 cat conftest.err >&5
3345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3346 (exit $ac_status); } && {
3347 test -z "$ac_cxx_werror_flag" ||
3348 test ! -s conftest.err
3349 } && test -s conftest$ac_exeext &&
3350 $as_test_x conftest$ac_exeext; then
3351 ac_cv_lib_pthread_pthread_create=yes
3353 echo "$as_me: failed program was:" >&5
3354 sed 's/^/| /' conftest.$ac_ext >&5
3356 ac_cv_lib_pthread_pthread_create=no
3359 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3360 conftest$ac_exeext conftest.$ac_ext
3361 LIBS=$ac_check_lib_save_LIBS
3363 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
3364 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
3365 if test $ac_cv_lib_pthread_pthread_create = yes; then
3366 cat >>confdefs.h <<\_ACEOF
3367 #define HAVE_PTHREAD 1
3369 PTHREADLIB="-lpthread"
3374 { echo "$as_me:$LINENO: checking system architecture" >&5
3375 echo $ECHO_N "checking system architecture... $ECHO_C" >&6; }
3376 archset="`awk '$1 == "'$host_cpu'" { print $2 }' $srcdir/buildlib/archtable`"
3377 if test "x$archset" = "x"; then
3378 { { echo "$as_me:$LINENO: error: failed: use --host=" >&5
3379 echo "$as_me: error: failed: use --host=" >&2;}
3380 { (exit 1); exit 1; }; }
3382 { echo "$as_me:$LINENO: result: $archset" >&5
3383 echo "${ECHO_T}$archset" >&6; }
3384 cat >>confdefs.h <<_ACEOF
3385 #define ARCHITECTURE "$archset"
3389 { echo "$as_me:$LINENO: checking for C9x integer types" >&5
3390 echo $ECHO_N "checking for C9x integer types... $ECHO_C" >&6; }
3391 if test "${c9x_ints+set}" = set; then
3392 echo $ECHO_N "(cached) $ECHO_C" >&6
3395 cat >conftest.$ac_ext <<_ACEOF
3398 cat confdefs.h >>conftest.$ac_ext
3399 cat >>conftest.$ac_ext <<_ACEOF
3400 /* end confdefs.h. */
3401 #include <inttypes.h>
3405 uint8_t Foo1;uint16_t Foo2;uint32_t Foo3;uint64_t Foo
3410 rm -f conftest.$ac_objext
3411 if { (ac_try="$ac_compile"
3413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3414 *) ac_try_echo=$ac_try;;
3416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3417 (eval "$ac_compile") 2>conftest.er1
3419 grep -v '^ *+' conftest.er1 >conftest.err
3421 cat conftest.err >&5
3422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3423 (exit $ac_status); } && {
3424 test -z "$ac_cxx_werror_flag" ||
3425 test ! -s conftest.err
3426 } && test -s conftest.$ac_objext; then
3429 echo "$as_me: failed program was:" >&5
3430 sed 's/^/| /' conftest.$ac_ext >&5
3435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3437 { echo "$as_me:$LINENO: result: $c9x_ints" >&5
3438 echo "${ECHO_T}$c9x_ints" >&6; }
3441 if archline="`sed -ne 's/^'$archset':[ ]\+\(.*\)/\1/gp' $srcdir/buildlib/sizetable`"; then
3444 if test "$1" = "little"; then
3445 ac_cv_c_bigendian=no
3447 ac_cv_c_bigendian=yes
3455 if test "$cross_compiling" = "yes" -a "$archline" = ""; then
3456 { { echo "$as_me:$LINENO: error: When cross compiling" >&5
3457 echo "$as_me: error: When cross compiling" >&2;}
3458 { (exit architecture must be present in sizetable); exit architecture must be present in sizetable; }; }
3461 ac_cpp='$CXXCPP $CPPFLAGS'
3462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3465 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
3466 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
3467 if test -z "$CXXCPP"; then
3468 if test "${ac_cv_prog_CXXCPP+set}" = set; then
3469 echo $ECHO_N "(cached) $ECHO_C" >&6
3471 # Double quotes because CXXCPP needs to be expanded
3472 for CXXCPP in "$CXX -E" "/lib/cpp"
3475 for ac_cxx_preproc_warn_flag in '' yes
3477 # Use a header file that comes with gcc, so configuring glibc
3478 # with a fresh cross-compiler works.
3479 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3480 # <limits.h> exists even on freestanding compilers.
3481 # On the NeXT, cc -E runs the code through the compiler's parser,
3482 # not just through cpp. "Syntax error" is here to catch this case.
3483 cat >conftest.$ac_ext <<_ACEOF
3486 cat confdefs.h >>conftest.$ac_ext
3487 cat >>conftest.$ac_ext <<_ACEOF
3488 /* end confdefs.h. */
3490 # include <limits.h>
3492 # include <assert.h>
3496 if { (ac_try="$ac_cpp conftest.$ac_ext"
3498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3499 *) ac_try_echo=$ac_try;;
3501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3502 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3504 grep -v '^ *+' conftest.er1 >conftest.err
3506 cat conftest.err >&5
3507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3508 (exit $ac_status); } >/dev/null && {
3509 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3510 test ! -s conftest.err
3514 echo "$as_me: failed program was:" >&5
3515 sed 's/^/| /' conftest.$ac_ext >&5
3517 # Broken: fails on valid input.
3521 rm -f conftest.err conftest.$ac_ext
3523 # OK, works on sane cases. Now check whether nonexistent headers
3524 # can be detected and how.
3525 cat >conftest.$ac_ext <<_ACEOF
3528 cat confdefs.h >>conftest.$ac_ext
3529 cat >>conftest.$ac_ext <<_ACEOF
3530 /* end confdefs.h. */
3531 #include <ac_nonexistent.h>
3533 if { (ac_try="$ac_cpp conftest.$ac_ext"
3535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3536 *) ac_try_echo=$ac_try;;
3538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3539 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3541 grep -v '^ *+' conftest.er1 >conftest.err
3543 cat conftest.err >&5
3544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3545 (exit $ac_status); } >/dev/null && {
3546 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3547 test ! -s conftest.err
3549 # Broken: success on invalid input.
3552 echo "$as_me: failed program was:" >&5
3553 sed 's/^/| /' conftest.$ac_ext >&5
3555 # Passes both tests.
3560 rm -f conftest.err conftest.$ac_ext
3563 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3564 rm -f conftest.err conftest.$ac_ext
3565 if $ac_preproc_ok; then
3570 ac_cv_prog_CXXCPP=$CXXCPP
3573 CXXCPP=$ac_cv_prog_CXXCPP
3575 ac_cv_prog_CXXCPP=$CXXCPP
3577 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
3578 echo "${ECHO_T}$CXXCPP" >&6; }
3580 for ac_cxx_preproc_warn_flag in '' yes
3582 # Use a header file that comes with gcc, so configuring glibc
3583 # with a fresh cross-compiler works.
3584 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3585 # <limits.h> exists even on freestanding compilers.
3586 # On the NeXT, cc -E runs the code through the compiler's parser,
3587 # not just through cpp. "Syntax error" is here to catch this case.
3588 cat >conftest.$ac_ext <<_ACEOF
3591 cat confdefs.h >>conftest.$ac_ext
3592 cat >>conftest.$ac_ext <<_ACEOF
3593 /* end confdefs.h. */
3595 # include <limits.h>
3597 # include <assert.h>
3601 if { (ac_try="$ac_cpp conftest.$ac_ext"
3603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3604 *) ac_try_echo=$ac_try;;
3606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3607 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3609 grep -v '^ *+' conftest.er1 >conftest.err
3611 cat conftest.err >&5
3612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3613 (exit $ac_status); } >/dev/null && {
3614 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3615 test ! -s conftest.err
3619 echo "$as_me: failed program was:" >&5
3620 sed 's/^/| /' conftest.$ac_ext >&5
3622 # Broken: fails on valid input.
3626 rm -f conftest.err conftest.$ac_ext
3628 # OK, works on sane cases. Now check whether nonexistent headers
3629 # can be detected and how.
3630 cat >conftest.$ac_ext <<_ACEOF
3633 cat confdefs.h >>conftest.$ac_ext
3634 cat >>conftest.$ac_ext <<_ACEOF
3635 /* end confdefs.h. */
3636 #include <ac_nonexistent.h>
3638 if { (ac_try="$ac_cpp conftest.$ac_ext"
3640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3641 *) ac_try_echo=$ac_try;;
3643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3644 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3646 grep -v '^ *+' conftest.er1 >conftest.err
3648 cat conftest.err >&5
3649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3650 (exit $ac_status); } >/dev/null && {
3651 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3652 test ! -s conftest.err
3654 # Broken: success on invalid input.
3657 echo "$as_me: failed program was:" >&5
3658 sed 's/^/| /' conftest.$ac_ext >&5
3660 # Passes both tests.
3665 rm -f conftest.err conftest.$ac_ext
3668 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3669 rm -f conftest.err conftest.$ac_ext
3670 if $ac_preproc_ok; then
3673 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
3674 See \`config.log' for more details." >&5
3675 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
3676 See \`config.log' for more details." >&2;}
3677 { (exit 1); exit 1; }; }
3681 ac_cpp='$CXXCPP $CPPFLAGS'
3682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3687 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3688 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3689 if test "${ac_cv_path_GREP+set}" = set; then
3690 echo $ECHO_N "(cached) $ECHO_C" >&6
3692 # Extract the first word of "grep ggrep" to use in msg output
3693 if test -z "$GREP"; then
3694 set dummy grep ggrep; ac_prog_name=$2
3695 if test "${ac_cv_path_GREP+set}" = set; then
3696 echo $ECHO_N "(cached) $ECHO_C" >&6
3698 ac_path_GREP_found=false
3699 # Loop through the user's path and test for each of PROGNAME-LIST
3700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3701 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3704 test -z "$as_dir" && as_dir=.
3705 for ac_prog in grep ggrep; do
3706 for ac_exec_ext in '' $ac_executable_extensions; do
3707 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3708 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3709 # Check for GNU ac_path_GREP and select it if it is found.
3710 # Check for GNU $ac_path_GREP
3711 case `"$ac_path_GREP" --version 2>&1` in
3713 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3716 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3719 cat "conftest.in" "conftest.in" >"conftest.tmp"
3720 mv "conftest.tmp" "conftest.in"
3721 cp "conftest.in" "conftest.nl"
3722 echo 'GREP' >> "conftest.nl"
3723 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3724 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3725 ac_count=`expr $ac_count + 1`
3726 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3727 # Best one so far, save it but keep looking for a better one
3728 ac_cv_path_GREP="$ac_path_GREP"
3729 ac_path_GREP_max=$ac_count
3731 # 10*(2^10) chars as input seems more than enough
3732 test $ac_count -gt 10 && break
3734 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3738 $ac_path_GREP_found && break 3
3748 GREP="$ac_cv_path_GREP"
3749 if test -z "$GREP"; then
3750 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3751 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3752 { (exit 1); exit 1; }; }
3756 ac_cv_path_GREP=$GREP
3761 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3762 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3763 GREP="$ac_cv_path_GREP"
3766 { echo "$as_me:$LINENO: checking for egrep" >&5
3767 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3768 if test "${ac_cv_path_EGREP+set}" = set; then
3769 echo $ECHO_N "(cached) $ECHO_C" >&6
3771 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3772 then ac_cv_path_EGREP="$GREP -E"
3774 # Extract the first word of "egrep" to use in msg output
3775 if test -z "$EGREP"; then
3776 set dummy egrep; ac_prog_name=$2
3777 if test "${ac_cv_path_EGREP+set}" = set; then
3778 echo $ECHO_N "(cached) $ECHO_C" >&6
3780 ac_path_EGREP_found=false
3781 # Loop through the user's path and test for each of PROGNAME-LIST
3782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3783 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3786 test -z "$as_dir" && as_dir=.
3787 for ac_prog in egrep; do
3788 for ac_exec_ext in '' $ac_executable_extensions; do
3789 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3790 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3791 # Check for GNU ac_path_EGREP and select it if it is found.
3792 # Check for GNU $ac_path_EGREP
3793 case `"$ac_path_EGREP" --version 2>&1` in
3795 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3798 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3801 cat "conftest.in" "conftest.in" >"conftest.tmp"
3802 mv "conftest.tmp" "conftest.in"
3803 cp "conftest.in" "conftest.nl"
3804 echo 'EGREP' >> "conftest.nl"
3805 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3806 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3807 ac_count=`expr $ac_count + 1`
3808 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3809 # Best one so far, save it but keep looking for a better one
3810 ac_cv_path_EGREP="$ac_path_EGREP"
3811 ac_path_EGREP_max=$ac_count
3813 # 10*(2^10) chars as input seems more than enough
3814 test $ac_count -gt 10 && break
3816 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3820 $ac_path_EGREP_found && break 3
3830 EGREP="$ac_cv_path_EGREP"
3831 if test -z "$EGREP"; then
3832 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3833 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3834 { (exit 1); exit 1; }; }
3838 ac_cv_path_EGREP=$EGREP
3844 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3845 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3846 EGREP="$ac_cv_path_EGREP"
3849 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3850 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3851 if test "${ac_cv_header_stdc+set}" = set; then
3852 echo $ECHO_N "(cached) $ECHO_C" >&6
3854 cat >conftest.$ac_ext <<_ACEOF
3857 cat confdefs.h >>conftest.$ac_ext
3858 cat >>conftest.$ac_ext <<_ACEOF
3859 /* end confdefs.h. */
3873 rm -f conftest.$ac_objext
3874 if { (ac_try="$ac_compile"
3876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3877 *) ac_try_echo=$ac_try;;
3879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3880 (eval "$ac_compile") 2>conftest.er1
3882 grep -v '^ *+' conftest.er1 >conftest.err
3884 cat conftest.err >&5
3885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3886 (exit $ac_status); } && {
3887 test -z "$ac_cxx_werror_flag" ||
3888 test ! -s conftest.err
3889 } && test -s conftest.$ac_objext; then
3890 ac_cv_header_stdc=yes
3892 echo "$as_me: failed program was:" >&5
3893 sed 's/^/| /' conftest.$ac_ext >&5
3895 ac_cv_header_stdc=no
3898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3900 if test $ac_cv_header_stdc = yes; then
3901 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3902 cat >conftest.$ac_ext <<_ACEOF
3905 cat confdefs.h >>conftest.$ac_ext
3906 cat >>conftest.$ac_ext <<_ACEOF
3907 /* end confdefs.h. */
3911 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3912 $EGREP "memchr" >/dev/null 2>&1; then
3915 ac_cv_header_stdc=no
3921 if test $ac_cv_header_stdc = yes; then
3922 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3923 cat >conftest.$ac_ext <<_ACEOF
3926 cat confdefs.h >>conftest.$ac_ext
3927 cat >>conftest.$ac_ext <<_ACEOF
3928 /* end confdefs.h. */
3932 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3933 $EGREP "free" >/dev/null 2>&1; then
3936 ac_cv_header_stdc=no
3942 if test $ac_cv_header_stdc = yes; then
3943 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3944 if test "$cross_compiling" = yes; then
3947 cat >conftest.$ac_ext <<_ACEOF
3950 cat confdefs.h >>conftest.$ac_ext
3951 cat >>conftest.$ac_ext <<_ACEOF
3952 /* end confdefs.h. */
3955 #if ((' ' & 0x0FF) == 0x020)
3956 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3957 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3959 # define ISLOWER(c) \
3960 (('a' <= (c) && (c) <= 'i') \
3961 || ('j' <= (c) && (c) <= 'r') \
3962 || ('s' <= (c) && (c) <= 'z'))
3963 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3966 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3971 for (i = 0; i < 256; i++)
3972 if (XOR (islower (i), ISLOWER (i))
3973 || toupper (i) != TOUPPER (i))
3978 rm -f conftest$ac_exeext
3979 if { (ac_try="$ac_link"
3981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3982 *) ac_try_echo=$ac_try;;
3984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3985 (eval "$ac_link") 2>&5
3987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3988 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3989 { (case "(($ac_try" in
3990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3991 *) ac_try_echo=$ac_try;;
3993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3994 (eval "$ac_try") 2>&5
3996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3997 (exit $ac_status); }; }; then
4000 echo "$as_me: program exited with status $ac_status" >&5
4001 echo "$as_me: failed program was:" >&5
4002 sed 's/^/| /' conftest.$ac_ext >&5
4005 ac_cv_header_stdc=no
4007 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4013 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4014 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4015 if test $ac_cv_header_stdc = yes; then
4017 cat >>confdefs.h <<\_ACEOF
4018 #define STDC_HEADERS 1
4023 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4033 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4034 inttypes.h stdint.h unistd.h
4036 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4037 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4038 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4039 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4040 echo $ECHO_N "(cached) $ECHO_C" >&6
4042 cat >conftest.$ac_ext <<_ACEOF
4045 cat confdefs.h >>conftest.$ac_ext
4046 cat >>conftest.$ac_ext <<_ACEOF
4047 /* end confdefs.h. */
4048 $ac_includes_default
4050 #include <$ac_header>
4052 rm -f conftest.$ac_objext
4053 if { (ac_try="$ac_compile"
4055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4056 *) ac_try_echo=$ac_try;;
4058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4059 (eval "$ac_compile") 2>conftest.er1
4061 grep -v '^ *+' conftest.er1 >conftest.err
4063 cat conftest.err >&5
4064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4065 (exit $ac_status); } && {
4066 test -z "$ac_cxx_werror_flag" ||
4067 test ! -s conftest.err
4068 } && test -s conftest.$ac_objext; then
4069 eval "$as_ac_Header=yes"
4071 echo "$as_me: failed program was:" >&5
4072 sed 's/^/| /' conftest.$ac_ext >&5
4074 eval "$as_ac_Header=no"
4077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4079 ac_res=`eval echo '${'$as_ac_Header'}'`
4080 { echo "$as_me:$LINENO: result: $ac_res" >&5
4081 echo "${ECHO_T}$ac_res" >&6; }
4082 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4083 cat >>confdefs.h <<_ACEOF
4084 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4092 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4093 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
4094 if test "${ac_cv_c_bigendian+set}" = set; then
4095 echo $ECHO_N "(cached) $ECHO_C" >&6
4097 # See if sys/param.h defines the BYTE_ORDER macro.
4098 cat >conftest.$ac_ext <<_ACEOF
4101 cat confdefs.h >>conftest.$ac_ext
4102 cat >>conftest.$ac_ext <<_ACEOF
4103 /* end confdefs.h. */
4104 #include <sys/types.h>
4105 #include <sys/param.h>
4110 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
4111 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
4119 rm -f conftest.$ac_objext
4120 if { (ac_try="$ac_compile"
4122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4123 *) ac_try_echo=$ac_try;;
4125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4126 (eval "$ac_compile") 2>conftest.er1
4128 grep -v '^ *+' conftest.er1 >conftest.err
4130 cat conftest.err >&5
4131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4132 (exit $ac_status); } && {
4133 test -z "$ac_cxx_werror_flag" ||
4134 test ! -s conftest.err
4135 } && test -s conftest.$ac_objext; then
4136 # It does; now see whether it defined to BIG_ENDIAN or not.
4137 cat >conftest.$ac_ext <<_ACEOF
4140 cat confdefs.h >>conftest.$ac_ext
4141 cat >>conftest.$ac_ext <<_ACEOF
4142 /* end confdefs.h. */
4143 #include <sys/types.h>
4144 #include <sys/param.h>
4149 #if BYTE_ORDER != BIG_ENDIAN
4157 rm -f conftest.$ac_objext
4158 if { (ac_try="$ac_compile"
4160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4161 *) ac_try_echo=$ac_try;;
4163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4164 (eval "$ac_compile") 2>conftest.er1
4166 grep -v '^ *+' conftest.er1 >conftest.err
4168 cat conftest.err >&5
4169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4170 (exit $ac_status); } && {
4171 test -z "$ac_cxx_werror_flag" ||
4172 test ! -s conftest.err
4173 } && test -s conftest.$ac_objext; then
4174 ac_cv_c_bigendian=yes
4176 echo "$as_me: failed program was:" >&5
4177 sed 's/^/| /' conftest.$ac_ext >&5
4179 ac_cv_c_bigendian=no
4182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4184 echo "$as_me: failed program was:" >&5
4185 sed 's/^/| /' conftest.$ac_ext >&5
4187 # It does not; compile a test program.
4188 if test "$cross_compiling" = yes; then
4189 # try to guess the endianness by grepping values into an object file
4190 ac_cv_c_bigendian=unknown
4191 cat >conftest.$ac_ext <<_ACEOF
4194 cat confdefs.h >>conftest.$ac_ext
4195 cat >>conftest.$ac_ext <<_ACEOF
4196 /* end confdefs.h. */
4197 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4198 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4199 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4200 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4201 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4202 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4206 _ascii (); _ebcdic ();
4211 rm -f conftest.$ac_objext
4212 if { (ac_try="$ac_compile"
4214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4215 *) ac_try_echo=$ac_try;;
4217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4218 (eval "$ac_compile") 2>conftest.er1
4220 grep -v '^ *+' conftest.er1 >conftest.err
4222 cat conftest.err >&5
4223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4224 (exit $ac_status); } && {
4225 test -z "$ac_cxx_werror_flag" ||
4226 test ! -s conftest.err
4227 } && test -s conftest.$ac_objext; then
4228 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
4229 ac_cv_c_bigendian=yes
4231 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4232 if test "$ac_cv_c_bigendian" = unknown; then
4233 ac_cv_c_bigendian=no
4235 # finding both strings is unlikely to happen, but who knows?
4236 ac_cv_c_bigendian=unknown
4240 echo "$as_me: failed program was:" >&5
4241 sed 's/^/| /' conftest.$ac_ext >&5
4246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4248 cat >conftest.$ac_ext <<_ACEOF
4251 cat confdefs.h >>conftest.$ac_ext
4252 cat >>conftest.$ac_ext <<_ACEOF
4253 /* end confdefs.h. */
4254 $ac_includes_default
4259 /* Are we little or big endian? From Harbison&Steele. */
4263 char c[sizeof (long int)];
4266 return u.c[sizeof (long int) - 1] == 1;
4272 rm -f conftest$ac_exeext
4273 if { (ac_try="$ac_link"
4275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4276 *) ac_try_echo=$ac_try;;
4278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4279 (eval "$ac_link") 2>&5
4281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4282 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4283 { (case "(($ac_try" in
4284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4285 *) ac_try_echo=$ac_try;;
4287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4288 (eval "$ac_try") 2>&5
4290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4291 (exit $ac_status); }; }; then
4292 ac_cv_c_bigendian=no
4294 echo "$as_me: program exited with status $ac_status" >&5
4295 echo "$as_me: failed program was:" >&5
4296 sed 's/^/| /' conftest.$ac_ext >&5
4299 ac_cv_c_bigendian=yes
4301 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4309 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4310 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
4311 case $ac_cv_c_bigendian in
4314 cat >>confdefs.h <<\_ACEOF
4315 #define WORDS_BIGENDIAN 1
4321 { { echo "$as_me:$LINENO: error: unknown endianness
4322 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
4323 echo "$as_me: error: unknown endianness
4324 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
4325 { (exit 1); exit 1; }; } ;;
4330 if test x"$c9x_ints" = x"no"; then
4331 { echo "$as_me:$LINENO: checking for char" >&5
4332 echo $ECHO_N "checking for char... $ECHO_C" >&6; }
4333 if test "${ac_cv_type_char+set}" = set; then
4334 echo $ECHO_N "(cached) $ECHO_C" >&6
4336 cat >conftest.$ac_ext <<_ACEOF
4339 cat confdefs.h >>conftest.$ac_ext
4340 cat >>conftest.$ac_ext <<_ACEOF
4341 /* end confdefs.h. */
4342 $ac_includes_default
4343 typedef char ac__type_new_;
4347 if ((ac__type_new_ *) 0)
4349 if (sizeof (ac__type_new_))
4355 rm -f conftest.$ac_objext
4356 if { (ac_try="$ac_compile"
4358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4359 *) ac_try_echo=$ac_try;;
4361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4362 (eval "$ac_compile") 2>conftest.er1
4364 grep -v '^ *+' conftest.er1 >conftest.err
4366 cat conftest.err >&5
4367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4368 (exit $ac_status); } && {
4369 test -z "$ac_cxx_werror_flag" ||
4370 test ! -s conftest.err
4371 } && test -s conftest.$ac_objext; then
4374 echo "$as_me: failed program was:" >&5
4375 sed 's/^/| /' conftest.$ac_ext >&5
4380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4382 { echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
4383 echo "${ECHO_T}$ac_cv_type_char" >&6; }
4385 # The cast to long int works around a bug in the HP C Compiler
4386 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4387 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4388 # This bug is HP SR number 8606223364.
4389 { echo "$as_me:$LINENO: checking size of char" >&5
4390 echo $ECHO_N "checking size of char... $ECHO_C" >&6; }
4391 if test "${ac_cv_sizeof_char+set}" = set; then
4392 echo $ECHO_N "(cached) $ECHO_C" >&6
4394 if test "$cross_compiling" = yes; then
4395 # Depending upon the size, compute the lo and hi bounds.
4396 cat >conftest.$ac_ext <<_ACEOF
4399 cat confdefs.h >>conftest.$ac_ext
4400 cat >>conftest.$ac_ext <<_ACEOF
4401 /* end confdefs.h. */
4402 $ac_includes_default
4403 typedef char ac__type_sizeof_;
4407 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
4414 rm -f conftest.$ac_objext
4415 if { (ac_try="$ac_compile"
4417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4418 *) ac_try_echo=$ac_try;;
4420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4421 (eval "$ac_compile") 2>conftest.er1
4423 grep -v '^ *+' conftest.er1 >conftest.err
4425 cat conftest.err >&5
4426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4427 (exit $ac_status); } && {
4428 test -z "$ac_cxx_werror_flag" ||
4429 test ! -s conftest.err
4430 } && test -s conftest.$ac_objext; then
4433 cat >conftest.$ac_ext <<_ACEOF
4436 cat confdefs.h >>conftest.$ac_ext
4437 cat >>conftest.$ac_ext <<_ACEOF
4438 /* end confdefs.h. */
4439 $ac_includes_default
4440 typedef char ac__type_sizeof_;
4444 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
4451 rm -f conftest.$ac_objext
4452 if { (ac_try="$ac_compile"
4454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4455 *) ac_try_echo=$ac_try;;
4457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4458 (eval "$ac_compile") 2>conftest.er1
4460 grep -v '^ *+' conftest.er1 >conftest.err
4462 cat conftest.err >&5
4463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4464 (exit $ac_status); } && {
4465 test -z "$ac_cxx_werror_flag" ||
4466 test ! -s conftest.err
4467 } && test -s conftest.$ac_objext; then
4468 ac_hi=$ac_mid; break
4470 echo "$as_me: failed program was:" >&5
4471 sed 's/^/| /' conftest.$ac_ext >&5
4473 ac_lo=`expr $ac_mid + 1`
4474 if test $ac_lo -le $ac_mid; then
4478 ac_mid=`expr 2 '*' $ac_mid + 1`
4481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4484 echo "$as_me: failed program was:" >&5
4485 sed 's/^/| /' conftest.$ac_ext >&5
4487 cat >conftest.$ac_ext <<_ACEOF
4490 cat confdefs.h >>conftest.$ac_ext
4491 cat >>conftest.$ac_ext <<_ACEOF
4492 /* end confdefs.h. */
4493 $ac_includes_default
4494 typedef char ac__type_sizeof_;
4498 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
4505 rm -f conftest.$ac_objext
4506 if { (ac_try="$ac_compile"
4508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4509 *) ac_try_echo=$ac_try;;
4511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4512 (eval "$ac_compile") 2>conftest.er1
4514 grep -v '^ *+' conftest.er1 >conftest.err
4516 cat conftest.err >&5
4517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4518 (exit $ac_status); } && {
4519 test -z "$ac_cxx_werror_flag" ||
4520 test ! -s conftest.err
4521 } && test -s conftest.$ac_objext; then
4524 cat >conftest.$ac_ext <<_ACEOF
4527 cat confdefs.h >>conftest.$ac_ext
4528 cat >>conftest.$ac_ext <<_ACEOF
4529 /* end confdefs.h. */
4530 $ac_includes_default
4531 typedef char ac__type_sizeof_;
4535 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
4542 rm -f conftest.$ac_objext
4543 if { (ac_try="$ac_compile"
4545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4546 *) ac_try_echo=$ac_try;;
4548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4549 (eval "$ac_compile") 2>conftest.er1
4551 grep -v '^ *+' conftest.er1 >conftest.err
4553 cat conftest.err >&5
4554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4555 (exit $ac_status); } && {
4556 test -z "$ac_cxx_werror_flag" ||
4557 test ! -s conftest.err
4558 } && test -s conftest.$ac_objext; then
4559 ac_lo=$ac_mid; break
4561 echo "$as_me: failed program was:" >&5
4562 sed 's/^/| /' conftest.$ac_ext >&5
4564 ac_hi=`expr '(' $ac_mid ')' - 1`
4565 if test $ac_mid -le $ac_hi; then
4569 ac_mid=`expr 2 '*' $ac_mid`
4572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4575 echo "$as_me: failed program was:" >&5
4576 sed 's/^/| /' conftest.$ac_ext >&5
4581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4585 # Binary search between lo and hi bounds.
4586 while test "x$ac_lo" != "x$ac_hi"; do
4587 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4588 cat >conftest.$ac_ext <<_ACEOF
4591 cat confdefs.h >>conftest.$ac_ext
4592 cat >>conftest.$ac_ext <<_ACEOF
4593 /* end confdefs.h. */
4594 $ac_includes_default
4595 typedef char ac__type_sizeof_;
4599 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
4606 rm -f conftest.$ac_objext
4607 if { (ac_try="$ac_compile"
4609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4610 *) ac_try_echo=$ac_try;;
4612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4613 (eval "$ac_compile") 2>conftest.er1
4615 grep -v '^ *+' conftest.er1 >conftest.err
4617 cat conftest.err >&5
4618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4619 (exit $ac_status); } && {
4620 test -z "$ac_cxx_werror_flag" ||
4621 test ! -s conftest.err
4622 } && test -s conftest.$ac_objext; then
4625 echo "$as_me: failed program was:" >&5
4626 sed 's/^/| /' conftest.$ac_ext >&5
4628 ac_lo=`expr '(' $ac_mid ')' + 1`
4631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4634 ?*) ac_cv_sizeof_char=$ac_lo;;
4635 '') if test "$ac_cv_type_char" = yes; then
4636 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char)
4637 See \`config.log' for more details." >&5
4638 echo "$as_me: error: cannot compute sizeof (char)
4639 See \`config.log' for more details." >&2;}
4640 { (exit 77); exit 77; }; }
4646 cat >conftest.$ac_ext <<_ACEOF
4649 cat confdefs.h >>conftest.$ac_ext
4650 cat >>conftest.$ac_ext <<_ACEOF
4651 /* end confdefs.h. */
4652 $ac_includes_default
4653 typedef char ac__type_sizeof_;
4654 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
4655 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
4662 FILE *f = fopen ("conftest.val", "w");
4665 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
4667 long int i = longval ();
4668 if (i != ((long int) (sizeof (ac__type_sizeof_))))
4670 fprintf (f, "%ld\n", i);
4674 unsigned long int i = ulongval ();
4675 if (i != ((long int) (sizeof (ac__type_sizeof_))))
4677 fprintf (f, "%lu\n", i);
4679 return ferror (f) || fclose (f) != 0;
4685 rm -f conftest$ac_exeext
4686 if { (ac_try="$ac_link"
4688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4689 *) ac_try_echo=$ac_try;;
4691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4692 (eval "$ac_link") 2>&5
4694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4695 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4696 { (case "(($ac_try" in
4697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4698 *) ac_try_echo=$ac_try;;
4700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4701 (eval "$ac_try") 2>&5
4703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4704 (exit $ac_status); }; }; then
4705 ac_cv_sizeof_char=`cat conftest.val`
4707 echo "$as_me: program exited with status $ac_status" >&5
4708 echo "$as_me: failed program was:" >&5
4709 sed 's/^/| /' conftest.$ac_ext >&5
4712 if test "$ac_cv_type_char" = yes; then
4713 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char)
4714 See \`config.log' for more details." >&5
4715 echo "$as_me: error: cannot compute sizeof (char)
4716 See \`config.log' for more details." >&2;}
4717 { (exit 77); exit 77; }; }
4722 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4726 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
4727 echo "${ECHO_T}$ac_cv_sizeof_char" >&6; }
4731 cat >>confdefs.h <<_ACEOF
4732 #define SIZEOF_CHAR $ac_cv_sizeof_char
4736 { echo "$as_me:$LINENO: checking for int" >&5
4737 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
4738 if test "${ac_cv_type_int+set}" = set; then
4739 echo $ECHO_N "(cached) $ECHO_C" >&6
4741 cat >conftest.$ac_ext <<_ACEOF
4744 cat confdefs.h >>conftest.$ac_ext
4745 cat >>conftest.$ac_ext <<_ACEOF
4746 /* end confdefs.h. */
4747 $ac_includes_default
4748 typedef int ac__type_new_;
4752 if ((ac__type_new_ *) 0)
4754 if (sizeof (ac__type_new_))
4760 rm -f conftest.$ac_objext
4761 if { (ac_try="$ac_compile"
4763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4764 *) ac_try_echo=$ac_try;;
4766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4767 (eval "$ac_compile") 2>conftest.er1
4769 grep -v '^ *+' conftest.er1 >conftest.err
4771 cat conftest.err >&5
4772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4773 (exit $ac_status); } && {
4774 test -z "$ac_cxx_werror_flag" ||
4775 test ! -s conftest.err
4776 } && test -s conftest.$ac_objext; then
4779 echo "$as_me: failed program was:" >&5
4780 sed 's/^/| /' conftest.$ac_ext >&5
4785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4787 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
4788 echo "${ECHO_T}$ac_cv_type_int" >&6; }
4790 # The cast to long int works around a bug in the HP C Compiler
4791 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4792 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4793 # This bug is HP SR number 8606223364.
4794 { echo "$as_me:$LINENO: checking size of int" >&5
4795 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
4796 if test "${ac_cv_sizeof_int+set}" = set; then
4797 echo $ECHO_N "(cached) $ECHO_C" >&6
4799 if test "$cross_compiling" = yes; then
4800 # Depending upon the size, compute the lo and hi bounds.
4801 cat >conftest.$ac_ext <<_ACEOF
4804 cat confdefs.h >>conftest.$ac_ext
4805 cat >>conftest.$ac_ext <<_ACEOF
4806 /* end confdefs.h. */
4807 $ac_includes_default
4808 typedef int ac__type_sizeof_;
4812 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
4819 rm -f conftest.$ac_objext
4820 if { (ac_try="$ac_compile"
4822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4823 *) ac_try_echo=$ac_try;;
4825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4826 (eval "$ac_compile") 2>conftest.er1
4828 grep -v '^ *+' conftest.er1 >conftest.err
4830 cat conftest.err >&5
4831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4832 (exit $ac_status); } && {
4833 test -z "$ac_cxx_werror_flag" ||
4834 test ! -s conftest.err
4835 } && test -s conftest.$ac_objext; then
4838 cat >conftest.$ac_ext <<_ACEOF
4841 cat confdefs.h >>conftest.$ac_ext
4842 cat >>conftest.$ac_ext <<_ACEOF
4843 /* end confdefs.h. */
4844 $ac_includes_default
4845 typedef int ac__type_sizeof_;
4849 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
4856 rm -f conftest.$ac_objext
4857 if { (ac_try="$ac_compile"
4859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4860 *) ac_try_echo=$ac_try;;
4862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4863 (eval "$ac_compile") 2>conftest.er1
4865 grep -v '^ *+' conftest.er1 >conftest.err
4867 cat conftest.err >&5
4868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4869 (exit $ac_status); } && {
4870 test -z "$ac_cxx_werror_flag" ||
4871 test ! -s conftest.err
4872 } && test -s conftest.$ac_objext; then
4873 ac_hi=$ac_mid; break
4875 echo "$as_me: failed program was:" >&5
4876 sed 's/^/| /' conftest.$ac_ext >&5
4878 ac_lo=`expr $ac_mid + 1`
4879 if test $ac_lo -le $ac_mid; then
4883 ac_mid=`expr 2 '*' $ac_mid + 1`
4886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4889 echo "$as_me: failed program was:" >&5
4890 sed 's/^/| /' conftest.$ac_ext >&5
4892 cat >conftest.$ac_ext <<_ACEOF
4895 cat confdefs.h >>conftest.$ac_ext
4896 cat >>conftest.$ac_ext <<_ACEOF
4897 /* end confdefs.h. */
4898 $ac_includes_default
4899 typedef int ac__type_sizeof_;
4903 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
4910 rm -f conftest.$ac_objext
4911 if { (ac_try="$ac_compile"
4913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4914 *) ac_try_echo=$ac_try;;
4916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4917 (eval "$ac_compile") 2>conftest.er1
4919 grep -v '^ *+' conftest.er1 >conftest.err
4921 cat conftest.err >&5
4922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4923 (exit $ac_status); } && {
4924 test -z "$ac_cxx_werror_flag" ||
4925 test ! -s conftest.err
4926 } && test -s conftest.$ac_objext; then
4929 cat >conftest.$ac_ext <<_ACEOF
4932 cat confdefs.h >>conftest.$ac_ext
4933 cat >>conftest.$ac_ext <<_ACEOF
4934 /* end confdefs.h. */
4935 $ac_includes_default
4936 typedef int ac__type_sizeof_;
4940 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
4947 rm -f conftest.$ac_objext
4948 if { (ac_try="$ac_compile"
4950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4951 *) ac_try_echo=$ac_try;;
4953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4954 (eval "$ac_compile") 2>conftest.er1
4956 grep -v '^ *+' conftest.er1 >conftest.err
4958 cat conftest.err >&5
4959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4960 (exit $ac_status); } && {
4961 test -z "$ac_cxx_werror_flag" ||
4962 test ! -s conftest.err
4963 } && test -s conftest.$ac_objext; then
4964 ac_lo=$ac_mid; break
4966 echo "$as_me: failed program was:" >&5
4967 sed 's/^/| /' conftest.$ac_ext >&5
4969 ac_hi=`expr '(' $ac_mid ')' - 1`
4970 if test $ac_mid -le $ac_hi; then
4974 ac_mid=`expr 2 '*' $ac_mid`
4977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4980 echo "$as_me: failed program was:" >&5
4981 sed 's/^/| /' conftest.$ac_ext >&5
4986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4990 # Binary search between lo and hi bounds.
4991 while test "x$ac_lo" != "x$ac_hi"; do
4992 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4993 cat >conftest.$ac_ext <<_ACEOF
4996 cat confdefs.h >>conftest.$ac_ext
4997 cat >>conftest.$ac_ext <<_ACEOF
4998 /* end confdefs.h. */
4999 $ac_includes_default
5000 typedef int ac__type_sizeof_;
5004 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5011 rm -f conftest.$ac_objext
5012 if { (ac_try="$ac_compile"
5014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5015 *) ac_try_echo=$ac_try;;
5017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5018 (eval "$ac_compile") 2>conftest.er1
5020 grep -v '^ *+' conftest.er1 >conftest.err
5022 cat conftest.err >&5
5023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5024 (exit $ac_status); } && {
5025 test -z "$ac_cxx_werror_flag" ||
5026 test ! -s conftest.err
5027 } && test -s conftest.$ac_objext; then
5030 echo "$as_me: failed program was:" >&5
5031 sed 's/^/| /' conftest.$ac_ext >&5
5033 ac_lo=`expr '(' $ac_mid ')' + 1`
5036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5039 ?*) ac_cv_sizeof_int=$ac_lo;;
5040 '') if test "$ac_cv_type_int" = yes; then
5041 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
5042 See \`config.log' for more details." >&5
5043 echo "$as_me: error: cannot compute sizeof (int)
5044 See \`config.log' for more details." >&2;}
5045 { (exit 77); exit 77; }; }
5051 cat >conftest.$ac_ext <<_ACEOF
5054 cat confdefs.h >>conftest.$ac_ext
5055 cat >>conftest.$ac_ext <<_ACEOF
5056 /* end confdefs.h. */
5057 $ac_includes_default
5058 typedef int ac__type_sizeof_;
5059 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
5060 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
5067 FILE *f = fopen ("conftest.val", "w");
5070 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
5072 long int i = longval ();
5073 if (i != ((long int) (sizeof (ac__type_sizeof_))))
5075 fprintf (f, "%ld\n", i);
5079 unsigned long int i = ulongval ();
5080 if (i != ((long int) (sizeof (ac__type_sizeof_))))
5082 fprintf (f, "%lu\n", i);
5084 return ferror (f) || fclose (f) != 0;
5090 rm -f conftest$ac_exeext
5091 if { (ac_try="$ac_link"
5093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5094 *) ac_try_echo=$ac_try;;
5096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5097 (eval "$ac_link") 2>&5
5099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5100 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5101 { (case "(($ac_try" in
5102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5103 *) ac_try_echo=$ac_try;;
5105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5106 (eval "$ac_try") 2>&5
5108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5109 (exit $ac_status); }; }; then
5110 ac_cv_sizeof_int=`cat conftest.val`
5112 echo "$as_me: program exited with status $ac_status" >&5
5113 echo "$as_me: failed program was:" >&5
5114 sed 's/^/| /' conftest.$ac_ext >&5
5117 if test "$ac_cv_type_int" = yes; then
5118 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
5119 See \`config.log' for more details." >&5
5120 echo "$as_me: error: cannot compute sizeof (int)
5121 See \`config.log' for more details." >&2;}
5122 { (exit 77); exit 77; }; }
5127 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5131 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
5132 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
5136 cat >>confdefs.h <<_ACEOF
5137 #define SIZEOF_INT $ac_cv_sizeof_int
5141 { echo "$as_me:$LINENO: checking for short" >&5
5142 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
5143 if test "${ac_cv_type_short+set}" = set; then
5144 echo $ECHO_N "(cached) $ECHO_C" >&6
5146 cat >conftest.$ac_ext <<_ACEOF
5149 cat confdefs.h >>conftest.$ac_ext
5150 cat >>conftest.$ac_ext <<_ACEOF
5151 /* end confdefs.h. */
5152 $ac_includes_default
5153 typedef short ac__type_new_;
5157 if ((ac__type_new_ *) 0)
5159 if (sizeof (ac__type_new_))
5165 rm -f conftest.$ac_objext
5166 if { (ac_try="$ac_compile"
5168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5169 *) ac_try_echo=$ac_try;;
5171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5172 (eval "$ac_compile") 2>conftest.er1
5174 grep -v '^ *+' conftest.er1 >conftest.err
5176 cat conftest.err >&5
5177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5178 (exit $ac_status); } && {
5179 test -z "$ac_cxx_werror_flag" ||
5180 test ! -s conftest.err
5181 } && test -s conftest.$ac_objext; then
5182 ac_cv_type_short=yes
5184 echo "$as_me: failed program was:" >&5
5185 sed 's/^/| /' conftest.$ac_ext >&5
5190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5192 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
5193 echo "${ECHO_T}$ac_cv_type_short" >&6; }
5195 # The cast to long int works around a bug in the HP C Compiler
5196 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5197 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5198 # This bug is HP SR number 8606223364.
5199 { echo "$as_me:$LINENO: checking size of short" >&5
5200 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
5201 if test "${ac_cv_sizeof_short+set}" = set; then
5202 echo $ECHO_N "(cached) $ECHO_C" >&6
5204 if test "$cross_compiling" = yes; then
5205 # Depending upon the size, compute the lo and hi bounds.
5206 cat >conftest.$ac_ext <<_ACEOF
5209 cat confdefs.h >>conftest.$ac_ext
5210 cat >>conftest.$ac_ext <<_ACEOF
5211 /* end confdefs.h. */
5212 $ac_includes_default
5213 typedef short ac__type_sizeof_;
5217 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
5224 rm -f conftest.$ac_objext
5225 if { (ac_try="$ac_compile"
5227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5228 *) ac_try_echo=$ac_try;;
5230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5231 (eval "$ac_compile") 2>conftest.er1
5233 grep -v '^ *+' conftest.er1 >conftest.err
5235 cat conftest.err >&5
5236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5237 (exit $ac_status); } && {
5238 test -z "$ac_cxx_werror_flag" ||
5239 test ! -s conftest.err
5240 } && test -s conftest.$ac_objext; then
5243 cat >conftest.$ac_ext <<_ACEOF
5246 cat confdefs.h >>conftest.$ac_ext
5247 cat >>conftest.$ac_ext <<_ACEOF
5248 /* end confdefs.h. */
5249 $ac_includes_default
5250 typedef short ac__type_sizeof_;
5254 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5261 rm -f conftest.$ac_objext
5262 if { (ac_try="$ac_compile"
5264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5265 *) ac_try_echo=$ac_try;;
5267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5268 (eval "$ac_compile") 2>conftest.er1
5270 grep -v '^ *+' conftest.er1 >conftest.err
5272 cat conftest.err >&5
5273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5274 (exit $ac_status); } && {
5275 test -z "$ac_cxx_werror_flag" ||
5276 test ! -s conftest.err
5277 } && test -s conftest.$ac_objext; then
5278 ac_hi=$ac_mid; break
5280 echo "$as_me: failed program was:" >&5
5281 sed 's/^/| /' conftest.$ac_ext >&5
5283 ac_lo=`expr $ac_mid + 1`
5284 if test $ac_lo -le $ac_mid; then
5288 ac_mid=`expr 2 '*' $ac_mid + 1`
5291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5294 echo "$as_me: failed program was:" >&5
5295 sed 's/^/| /' conftest.$ac_ext >&5
5297 cat >conftest.$ac_ext <<_ACEOF
5300 cat confdefs.h >>conftest.$ac_ext
5301 cat >>conftest.$ac_ext <<_ACEOF
5302 /* end confdefs.h. */
5303 $ac_includes_default
5304 typedef short ac__type_sizeof_;
5308 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
5315 rm -f conftest.$ac_objext
5316 if { (ac_try="$ac_compile"
5318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5319 *) ac_try_echo=$ac_try;;
5321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5322 (eval "$ac_compile") 2>conftest.er1
5324 grep -v '^ *+' conftest.er1 >conftest.err
5326 cat conftest.err >&5
5327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5328 (exit $ac_status); } && {
5329 test -z "$ac_cxx_werror_flag" ||
5330 test ! -s conftest.err
5331 } && test -s conftest.$ac_objext; then
5334 cat >conftest.$ac_ext <<_ACEOF
5337 cat confdefs.h >>conftest.$ac_ext
5338 cat >>conftest.$ac_ext <<_ACEOF
5339 /* end confdefs.h. */
5340 $ac_includes_default
5341 typedef short ac__type_sizeof_;
5345 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
5352 rm -f conftest.$ac_objext
5353 if { (ac_try="$ac_compile"
5355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5356 *) ac_try_echo=$ac_try;;
5358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5359 (eval "$ac_compile") 2>conftest.er1
5361 grep -v '^ *+' conftest.er1 >conftest.err
5363 cat conftest.err >&5
5364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5365 (exit $ac_status); } && {
5366 test -z "$ac_cxx_werror_flag" ||
5367 test ! -s conftest.err
5368 } && test -s conftest.$ac_objext; then
5369 ac_lo=$ac_mid; break
5371 echo "$as_me: failed program was:" >&5
5372 sed 's/^/| /' conftest.$ac_ext >&5
5374 ac_hi=`expr '(' $ac_mid ')' - 1`
5375 if test $ac_mid -le $ac_hi; then
5379 ac_mid=`expr 2 '*' $ac_mid`
5382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5385 echo "$as_me: failed program was:" >&5
5386 sed 's/^/| /' conftest.$ac_ext >&5
5391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5395 # Binary search between lo and hi bounds.
5396 while test "x$ac_lo" != "x$ac_hi"; do
5397 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5398 cat >conftest.$ac_ext <<_ACEOF
5401 cat confdefs.h >>conftest.$ac_ext
5402 cat >>conftest.$ac_ext <<_ACEOF
5403 /* end confdefs.h. */
5404 $ac_includes_default
5405 typedef short ac__type_sizeof_;
5409 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5416 rm -f conftest.$ac_objext
5417 if { (ac_try="$ac_compile"
5419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5420 *) ac_try_echo=$ac_try;;
5422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5423 (eval "$ac_compile") 2>conftest.er1
5425 grep -v '^ *+' conftest.er1 >conftest.err
5427 cat conftest.err >&5
5428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5429 (exit $ac_status); } && {
5430 test -z "$ac_cxx_werror_flag" ||
5431 test ! -s conftest.err
5432 } && test -s conftest.$ac_objext; then
5435 echo "$as_me: failed program was:" >&5
5436 sed 's/^/| /' conftest.$ac_ext >&5
5438 ac_lo=`expr '(' $ac_mid ')' + 1`
5441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5444 ?*) ac_cv_sizeof_short=$ac_lo;;
5445 '') if test "$ac_cv_type_short" = yes; then
5446 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
5447 See \`config.log' for more details." >&5
5448 echo "$as_me: error: cannot compute sizeof (short)
5449 See \`config.log' for more details." >&2;}
5450 { (exit 77); exit 77; }; }
5452 ac_cv_sizeof_short=0
5456 cat >conftest.$ac_ext <<_ACEOF
5459 cat confdefs.h >>conftest.$ac_ext
5460 cat >>conftest.$ac_ext <<_ACEOF
5461 /* end confdefs.h. */
5462 $ac_includes_default
5463 typedef short ac__type_sizeof_;
5464 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
5465 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
5472 FILE *f = fopen ("conftest.val", "w");
5475 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
5477 long int i = longval ();
5478 if (i != ((long int) (sizeof (ac__type_sizeof_))))
5480 fprintf (f, "%ld\n", i);
5484 unsigned long int i = ulongval ();
5485 if (i != ((long int) (sizeof (ac__type_sizeof_))))
5487 fprintf (f, "%lu\n", i);
5489 return ferror (f) || fclose (f) != 0;
5495 rm -f conftest$ac_exeext
5496 if { (ac_try="$ac_link"
5498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5499 *) ac_try_echo=$ac_try;;
5501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5502 (eval "$ac_link") 2>&5
5504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5505 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5506 { (case "(($ac_try" in
5507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5508 *) ac_try_echo=$ac_try;;
5510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5511 (eval "$ac_try") 2>&5
5513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5514 (exit $ac_status); }; }; then
5515 ac_cv_sizeof_short=`cat conftest.val`
5517 echo "$as_me: program exited with status $ac_status" >&5
5518 echo "$as_me: failed program was:" >&5
5519 sed 's/^/| /' conftest.$ac_ext >&5
5522 if test "$ac_cv_type_short" = yes; then
5523 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
5524 See \`config.log' for more details." >&5
5525 echo "$as_me: error: cannot compute sizeof (short)
5526 See \`config.log' for more details." >&2;}
5527 { (exit 77); exit 77; }; }
5529 ac_cv_sizeof_short=0
5532 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5536 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
5537 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
5541 cat >>confdefs.h <<_ACEOF
5542 #define SIZEOF_SHORT $ac_cv_sizeof_short
5546 { echo "$as_me:$LINENO: checking for long" >&5
5547 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
5548 if test "${ac_cv_type_long+set}" = set; then
5549 echo $ECHO_N "(cached) $ECHO_C" >&6
5551 cat >conftest.$ac_ext <<_ACEOF
5554 cat confdefs.h >>conftest.$ac_ext
5555 cat >>conftest.$ac_ext <<_ACEOF
5556 /* end confdefs.h. */
5557 $ac_includes_default
5558 typedef long ac__type_new_;
5562 if ((ac__type_new_ *) 0)
5564 if (sizeof (ac__type_new_))
5570 rm -f conftest.$ac_objext
5571 if { (ac_try="$ac_compile"
5573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5574 *) ac_try_echo=$ac_try;;
5576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5577 (eval "$ac_compile") 2>conftest.er1
5579 grep -v '^ *+' conftest.er1 >conftest.err
5581 cat conftest.err >&5
5582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5583 (exit $ac_status); } && {
5584 test -z "$ac_cxx_werror_flag" ||
5585 test ! -s conftest.err
5586 } && test -s conftest.$ac_objext; then
5589 echo "$as_me: failed program was:" >&5
5590 sed 's/^/| /' conftest.$ac_ext >&5
5595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5597 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
5598 echo "${ECHO_T}$ac_cv_type_long" >&6; }
5600 # The cast to long int works around a bug in the HP C Compiler
5601 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5602 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5603 # This bug is HP SR number 8606223364.
5604 { echo "$as_me:$LINENO: checking size of long" >&5
5605 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
5606 if test "${ac_cv_sizeof_long+set}" = set; then
5607 echo $ECHO_N "(cached) $ECHO_C" >&6
5609 if test "$cross_compiling" = yes; then
5610 # Depending upon the size, compute the lo and hi bounds.
5611 cat >conftest.$ac_ext <<_ACEOF
5614 cat confdefs.h >>conftest.$ac_ext
5615 cat >>conftest.$ac_ext <<_ACEOF
5616 /* end confdefs.h. */
5617 $ac_includes_default
5618 typedef long ac__type_sizeof_;
5622 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
5629 rm -f conftest.$ac_objext
5630 if { (ac_try="$ac_compile"
5632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5633 *) ac_try_echo=$ac_try;;
5635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5636 (eval "$ac_compile") 2>conftest.er1
5638 grep -v '^ *+' conftest.er1 >conftest.err
5640 cat conftest.err >&5
5641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5642 (exit $ac_status); } && {
5643 test -z "$ac_cxx_werror_flag" ||
5644 test ! -s conftest.err
5645 } && test -s conftest.$ac_objext; then
5648 cat >conftest.$ac_ext <<_ACEOF
5651 cat confdefs.h >>conftest.$ac_ext
5652 cat >>conftest.$ac_ext <<_ACEOF
5653 /* end confdefs.h. */
5654 $ac_includes_default
5655 typedef long ac__type_sizeof_;
5659 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5666 rm -f conftest.$ac_objext
5667 if { (ac_try="$ac_compile"
5669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5670 *) ac_try_echo=$ac_try;;
5672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5673 (eval "$ac_compile") 2>conftest.er1
5675 grep -v '^ *+' conftest.er1 >conftest.err
5677 cat conftest.err >&5
5678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5679 (exit $ac_status); } && {
5680 test -z "$ac_cxx_werror_flag" ||
5681 test ! -s conftest.err
5682 } && test -s conftest.$ac_objext; then
5683 ac_hi=$ac_mid; break
5685 echo "$as_me: failed program was:" >&5
5686 sed 's/^/| /' conftest.$ac_ext >&5
5688 ac_lo=`expr $ac_mid + 1`
5689 if test $ac_lo -le $ac_mid; then
5693 ac_mid=`expr 2 '*' $ac_mid + 1`
5696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5699 echo "$as_me: failed program was:" >&5
5700 sed 's/^/| /' conftest.$ac_ext >&5
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 ac__type_sizeof_;
5713 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
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 test -z "$ac_cxx_werror_flag" ||
5735 test ! -s conftest.err
5736 } && test -s conftest.$ac_objext; then
5739 cat >conftest.$ac_ext <<_ACEOF
5742 cat confdefs.h >>conftest.$ac_ext
5743 cat >>conftest.$ac_ext <<_ACEOF
5744 /* end confdefs.h. */
5745 $ac_includes_default
5746 typedef long ac__type_sizeof_;
5750 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
5757 rm -f conftest.$ac_objext
5758 if { (ac_try="$ac_compile"
5760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5761 *) ac_try_echo=$ac_try;;
5763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5764 (eval "$ac_compile") 2>conftest.er1
5766 grep -v '^ *+' conftest.er1 >conftest.err
5768 cat conftest.err >&5
5769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5770 (exit $ac_status); } && {
5771 test -z "$ac_cxx_werror_flag" ||
5772 test ! -s conftest.err
5773 } && test -s conftest.$ac_objext; then
5774 ac_lo=$ac_mid; break
5776 echo "$as_me: failed program was:" >&5
5777 sed 's/^/| /' conftest.$ac_ext >&5
5779 ac_hi=`expr '(' $ac_mid ')' - 1`
5780 if test $ac_mid -le $ac_hi; then
5784 ac_mid=`expr 2 '*' $ac_mid`
5787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5790 echo "$as_me: failed program was:" >&5
5791 sed 's/^/| /' conftest.$ac_ext >&5
5796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5800 # Binary search between lo and hi bounds.
5801 while test "x$ac_lo" != "x$ac_hi"; do
5802 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5803 cat >conftest.$ac_ext <<_ACEOF
5806 cat confdefs.h >>conftest.$ac_ext
5807 cat >>conftest.$ac_ext <<_ACEOF
5808 /* end confdefs.h. */
5809 $ac_includes_default
5810 typedef long ac__type_sizeof_;
5814 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5821 rm -f conftest.$ac_objext
5822 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
5830 grep -v '^ *+' conftest.er1 >conftest.err
5832 cat conftest.err >&5
5833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5834 (exit $ac_status); } && {
5835 test -z "$ac_cxx_werror_flag" ||
5836 test ! -s conftest.err
5837 } && test -s conftest.$ac_objext; then
5840 echo "$as_me: failed program was:" >&5
5841 sed 's/^/| /' conftest.$ac_ext >&5
5843 ac_lo=`expr '(' $ac_mid ')' + 1`
5846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5849 ?*) ac_cv_sizeof_long=$ac_lo;;
5850 '') if test "$ac_cv_type_long" = yes; then
5851 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
5852 See \`config.log' for more details." >&5
5853 echo "$as_me: error: cannot compute sizeof (long)
5854 See \`config.log' for more details." >&2;}
5855 { (exit 77); exit 77; }; }
5861 cat >conftest.$ac_ext <<_ACEOF
5864 cat confdefs.h >>conftest.$ac_ext
5865 cat >>conftest.$ac_ext <<_ACEOF
5866 /* end confdefs.h. */
5867 $ac_includes_default
5868 typedef long ac__type_sizeof_;
5869 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
5870 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
5877 FILE *f = fopen ("conftest.val", "w");
5880 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
5882 long int i = longval ();
5883 if (i != ((long int) (sizeof (ac__type_sizeof_))))
5885 fprintf (f, "%ld\n", i);
5889 unsigned long int i = ulongval ();
5890 if (i != ((long int) (sizeof (ac__type_sizeof_))))
5892 fprintf (f, "%lu\n", i);
5894 return ferror (f) || fclose (f) != 0;
5900 rm -f conftest$ac_exeext
5901 if { (ac_try="$ac_link"
5903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5904 *) ac_try_echo=$ac_try;;
5906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5907 (eval "$ac_link") 2>&5
5909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5910 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5911 { (case "(($ac_try" in
5912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5913 *) ac_try_echo=$ac_try;;
5915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5916 (eval "$ac_try") 2>&5
5918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5919 (exit $ac_status); }; }; then
5920 ac_cv_sizeof_long=`cat conftest.val`
5922 echo "$as_me: program exited with status $ac_status" >&5
5923 echo "$as_me: failed program was:" >&5
5924 sed 's/^/| /' conftest.$ac_ext >&5
5927 if test "$ac_cv_type_long" = yes; then
5928 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
5929 See \`config.log' for more details." >&5
5930 echo "$as_me: error: cannot compute sizeof (long)
5931 See \`config.log' for more details." >&2;}
5932 { (exit 77); exit 77; }; }
5937 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5941 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
5942 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
5946 cat >>confdefs.h <<_ACEOF
5947 #define SIZEOF_LONG $ac_cv_sizeof_long
5956 # Extract the first word of "debiandoc2html", so it can be a program name with args.
5957 set dummy debiandoc2html; ac_word=$2
5958 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5960 if test "${ac_cv_prog_DEBIANDOC_HTML+set}" = set; then
5961 echo $ECHO_N "(cached) $ECHO_C" >&6
5963 if test -n "$DEBIANDOC_HTML"; then
5964 ac_cv_prog_DEBIANDOC_HTML="$DEBIANDOC_HTML" # Let the user override the test.
5966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5970 test -z "$as_dir" && as_dir=.
5971 for ac_exec_ext in '' $ac_executable_extensions; do
5972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5973 ac_cv_prog_DEBIANDOC_HTML=""yes""
5974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5981 test -z "$ac_cv_prog_DEBIANDOC_HTML" && ac_cv_prog_DEBIANDOC_HTML=""""
5984 DEBIANDOC_HTML=$ac_cv_prog_DEBIANDOC_HTML
5985 if test -n "$DEBIANDOC_HTML"; then
5986 { echo "$as_me:$LINENO: result: $DEBIANDOC_HTML" >&5
5987 echo "${ECHO_T}$DEBIANDOC_HTML" >&6; }
5989 { echo "$as_me:$LINENO: result: no" >&5
5990 echo "${ECHO_T}no" >&6; }
5994 # Extract the first word of "debiandoc2text", so it can be a program name with args.
5995 set dummy debiandoc2text; ac_word=$2
5996 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5998 if test "${ac_cv_prog_DEBIANDOC_TEXT+set}" = set; then
5999 echo $ECHO_N "(cached) $ECHO_C" >&6
6001 if test -n "$DEBIANDOC_TEXT"; then
6002 ac_cv_prog_DEBIANDOC_TEXT="$DEBIANDOC_TEXT" # Let the user override the test.
6004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6008 test -z "$as_dir" && as_dir=.
6009 for ac_exec_ext in '' $ac_executable_extensions; do
6010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6011 ac_cv_prog_DEBIANDOC_TEXT=""yes""
6012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6019 test -z "$ac_cv_prog_DEBIANDOC_TEXT" && ac_cv_prog_DEBIANDOC_TEXT=""""
6022 DEBIANDOC_TEXT=$ac_cv_prog_DEBIANDOC_TEXT
6023 if test -n "$DEBIANDOC_TEXT"; then
6024 { echo "$as_me:$LINENO: result: $DEBIANDOC_TEXT" >&5
6025 echo "${ECHO_T}$DEBIANDOC_TEXT" >&6; }
6027 { echo "$as_me:$LINENO: result: no" >&5
6028 echo "${ECHO_T}no" >&6; }
6033 # Extract the first word of "yodl2man", so it can be a program name with args.
6034 set dummy yodl2man; ac_word=$2
6035 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6036 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6037 if test "${ac_cv_prog_YODL_MAN+set}" = set; then
6038 echo $ECHO_N "(cached) $ECHO_C" >&6
6040 if test -n "$YODL_MAN"; then
6041 ac_cv_prog_YODL_MAN="$YODL_MAN" # Let the user override the test.
6043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6047 test -z "$as_dir" && as_dir=.
6048 for ac_exec_ext in '' $ac_executable_extensions; do
6049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6050 ac_cv_prog_YODL_MAN=""yes""
6051 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6058 test -z "$ac_cv_prog_YODL_MAN" && ac_cv_prog_YODL_MAN=""""
6061 YODL_MAN=$ac_cv_prog_YODL_MAN
6062 if test -n "$YODL_MAN"; then
6063 { echo "$as_me:$LINENO: result: $YODL_MAN" >&5
6064 echo "${ECHO_T}$YODL_MAN" >&6; }
6066 { echo "$as_me:$LINENO: result: no" >&5
6067 echo "${ECHO_T}no" >&6; }
6072 ac_config_files="$ac_config_files environment.mak:buildlib/environment.mak.in makefile:buildlib/makefile.in"
6074 ac_config_commands="$ac_config_commands default"
6076 cat >confcache <<\_ACEOF
6077 # This file is a shell script that caches the results of configure
6078 # tests run on this system so they can be shared between configure
6079 # scripts and configure runs, see configure's option --config-cache.
6080 # It is not useful on other systems. If it contains results you don't
6081 # want to keep, you may remove or edit it.
6083 # config.status only pays attention to the cache file if you give it
6084 # the --recheck option to rerun configure.
6086 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6087 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6092 # The following way of writing the cache mishandles newlines in values,
6093 # but we know of no workaround that is simple, portable, and efficient.
6094 # So, we kill variables containing newlines.
6095 # Ultrix sh set writes to stderr and can't be redirected directly,
6096 # and sets the high bit in the cache file unless we assign to the vars.
6098 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6099 eval ac_val=\$$ac_var
6103 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
6104 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
6107 _ | IFS | as_nl) ;; #(
6108 *) $as_unset $ac_var ;;
6114 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6115 *${as_nl}ac_space=\ *)
6116 # `set' does not quote correctly, so add quotes (double-quote
6117 # substitution turns \\\\ into \\, and sed turns \\ into \).
6120 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6123 # `set' quotes correctly as required by POSIX, so do not add quotes.
6124 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6133 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6135 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6137 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6138 if test -w "$cache_file"; then
6139 test "x$cache_file" != "x/dev/null" &&
6140 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
6141 echo "$as_me: updating cache $cache_file" >&6;}
6142 cat confcache >$cache_file
6144 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
6145 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6150 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6151 # Let make expand exec_prefix.
6152 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6154 DEFS=-DHAVE_CONFIG_H
6158 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6159 # 1. Remove the extension, and $U if already installed.
6160 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6161 ac_i=`echo "$ac_i" | sed "$ac_script"`
6162 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6163 # will be set to the directory where LIBOBJS objects are built.
6164 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6165 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
6169 LTLIBOBJS=$ac_ltlibobjs
6173 : ${CONFIG_STATUS=./config.status}
6174 ac_clean_files_save=$ac_clean_files
6175 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6176 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6177 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6178 cat >$CONFIG_STATUS <<_ACEOF
6180 # Generated by $as_me.
6181 # Run this file to recreate the current configuration.
6182 # Compiler output produced by configure, useful for debugging
6183 # configure, is in config.log if it exists.
6188 SHELL=\${CONFIG_SHELL-$SHELL}
6191 cat >>$CONFIG_STATUS <<\_ACEOF
6192 ## --------------------- ##
6193 ## M4sh Initialization. ##
6194 ## --------------------- ##
6196 # Be more Bourne compatible
6197 DUALCASE=1; export DUALCASE # for MKS sh
6198 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6201 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6202 # is contrary to our usage. Disable this feature.
6203 alias -g '${1+"$@"}'='"$@"'
6204 setopt NO_GLOB_SUBST
6206 case `(set -o) 2>/dev/null` in
6207 *posix*) set -o posix ;;
6216 # Avoid depending upon Character Ranges.
6217 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6218 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6219 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6220 as_cr_digits='0123456789'
6221 as_cr_alnum=$as_cr_Letters$as_cr_digits
6223 # The user is always right.
6224 if test "${PATH_SEPARATOR+set}" != set; then
6225 echo "#! /bin/sh" >conf$$.sh
6226 echo "exit 0" >>conf$$.sh
6228 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6236 # Support unset when possible.
6237 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6245 # We need space, tab and new line, in precisely that order. Quoting is
6246 # there to prevent editors from complaining about space-tab.
6247 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6248 # splitting by setting IFS to empty value.)
6253 # Find who we are. Look in the path if we contain no directory separator.
6255 *[\\/]* ) as_myself=$0 ;;
6256 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6260 test -z "$as_dir" && as_dir=.
6261 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6267 # We did not find ourselves, most probably we were run as `sh COMMAND'
6268 # in which case we are not to be found in the path.
6269 if test "x$as_myself" = x; then
6272 if test ! -f "$as_myself"; then
6273 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6274 { (exit 1); exit 1; }
6277 # Work around bugs in pre-3.0 UWIN ksh.
6278 for as_var in ENV MAIL MAILPATH
6279 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
6287 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6288 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6289 LC_TELEPHONE LC_TIME
6291 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6292 eval $as_var=C; export $as_var
6294 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
6298 # Required to use basename.
6299 if expr a : '\(a\)' >/dev/null 2>&1 &&
6300 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6306 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6307 as_basename=basename
6313 # Name of the executable.
6314 as_me=`$as_basename -- "$0" ||
6315 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6316 X"$0" : 'X\(//\)$' \| \
6317 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6319 sed '/^.*\/\([^/][^/]*\)\/*$/{
6340 test "x$as_lineno_1" != "x$as_lineno_2" &&
6341 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
6343 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6344 # uniformly replaced by the line number. The first 'sed' inserts a
6345 # line-number line after each line using $LINENO; the second 'sed'
6346 # does the real work. The second script uses 'N' to pair each
6347 # line-number line with the line containing $LINENO, and appends
6348 # trailing '-' during substitution so that $LINENO is not a special
6350 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6351 # scripts with optimization help from Paolo Bonzini. Blame Lee
6352 # E. McMahon (1931-1989) for sed's syntax. :-)
6364 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
6368 chmod +x "$as_me.lineno" ||
6369 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
6370 { (exit 1); exit 1; }; }
6372 # Don't try to exec as it changes $[0], causing all sort of problems
6373 # (the dirname of $[0] is not the place where we might find the
6374 # original and so on. Autoconf is especially sensitive to this).
6376 # Exit status is that of the last command.
6381 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6387 ECHO_C= ECHO_N= ECHO_T=
6390 case `echo 'x\c'` in
6391 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6398 if expr a : '\(a\)' >/dev/null 2>&1 &&
6399 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6405 rm -f conf$$ conf$$.exe conf$$.file
6406 if test -d conf$$.dir; then
6407 rm -f conf$$.dir/conf$$.file
6413 if ln -s conf$$.file conf$$ 2>/dev/null; then
6415 # ... but there are two gotchas:
6416 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6417 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6418 # In both cases, we have to default to `cp -p'.
6419 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6421 elif ln conf$$.file conf$$ 2>/dev/null; then
6426 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6427 rmdir conf$$.dir 2>/dev/null
6429 if mkdir -p . 2>/dev/null; then
6432 test -d ./-p && rmdir ./-p
6436 if test -x / >/dev/null 2>&1; then
6439 if ls -dL / >/dev/null 2>&1; then
6446 if test -d "$1"; then
6452 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
6453 ???[sx]*):;;*)false;;esac;fi
6457 as_executable_p=$as_test_x
6459 # Sed expression to map a string onto a valid CPP name.
6460 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6462 # Sed expression to map a string onto a valid variable name.
6463 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6468 # Save the log message, to keep $[0] and so on meaningful, and to
6469 # report actual input values of CONFIG_FILES etc. instead of their
6470 # values after options handling.
6472 This file was extended by $as_me, which was
6473 generated by GNU Autoconf 2.61. Invocation command line was
6475 CONFIG_FILES = $CONFIG_FILES
6476 CONFIG_HEADERS = $CONFIG_HEADERS
6477 CONFIG_LINKS = $CONFIG_LINKS
6478 CONFIG_COMMANDS = $CONFIG_COMMANDS
6481 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6486 cat >>$CONFIG_STATUS <<_ACEOF
6487 # Files that config.status was made for.
6488 config_files="$ac_config_files"
6489 config_headers="$ac_config_headers"
6490 config_commands="$ac_config_commands"
6494 cat >>$CONFIG_STATUS <<\_ACEOF
6496 \`$as_me' instantiates files from templates according to the
6497 current configuration.
6499 Usage: $0 [OPTIONS] [FILE]...
6501 -h, --help print this help, then exit
6502 -V, --version print version number and configuration settings, then exit
6503 -q, --quiet do not print progress messages
6504 -d, --debug don't remove temporary files
6505 --recheck update $as_me by reconfiguring in the same conditions
6506 --file=FILE[:TEMPLATE]
6507 instantiate the configuration file FILE
6508 --header=FILE[:TEMPLATE]
6509 instantiate the configuration header FILE
6511 Configuration files:
6514 Configuration headers:
6517 Configuration commands:
6520 Report bugs to <bug-autoconf@gnu.org>."
6523 cat >>$CONFIG_STATUS <<_ACEOF
6526 configured by $0, generated by GNU Autoconf 2.61,
6527 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
6529 Copyright (C) 2006 Free Software Foundation, Inc.
6530 This config.status script is free software; the Free Software Foundation
6531 gives unlimited permission to copy, distribute and modify it."
6537 cat >>$CONFIG_STATUS <<\_ACEOF
6538 # If no file are specified by the user, then we need to provide default
6539 # value. By we need to know if files were specified by the user.
6545 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6546 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6557 # Handling of the options.
6558 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6560 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6561 echo "$ac_cs_version"; exit ;;
6562 --debug | --debu | --deb | --de | --d | -d )
6564 --file | --fil | --fi | --f )
6566 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
6567 ac_need_defaults=false;;
6568 --header | --heade | --head | --hea )
6570 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
6571 ac_need_defaults=false;;
6573 # Conflict between --help and --header
6574 { echo "$as_me: error: ambiguous option: $1
6575 Try \`$0 --help' for more information." >&2
6576 { (exit 1); exit 1; }; };;
6577 --help | --hel | -h )
6578 echo "$ac_cs_usage"; exit ;;
6579 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6580 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6584 -*) { echo "$as_me: error: unrecognized option: $1
6585 Try \`$0 --help' for more information." >&2
6586 { (exit 1); exit 1; }; } ;;
6588 *) ac_config_targets="$ac_config_targets $1"
6589 ac_need_defaults=false ;;
6595 ac_configure_extra_args=
6597 if $ac_cs_silent; then
6599 ac_configure_extra_args="$ac_configure_extra_args --silent"
6603 cat >>$CONFIG_STATUS <<_ACEOF
6604 if \$ac_cs_recheck; then
6605 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6608 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6612 cat >>$CONFIG_STATUS <<\_ACEOF
6616 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6617 ## Running $as_me. ##
6623 cat >>$CONFIG_STATUS <<_ACEOF
6626 cat >>$CONFIG_STATUS <<\_ACEOF
6628 # Handling of arguments.
6629 for ac_config_target in $ac_config_targets
6631 case $ac_config_target in
6632 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h:buildlib/config.h.in" ;;
6633 "environment.mak") CONFIG_FILES="$CONFIG_FILES environment.mak:buildlib/environment.mak.in" ;;
6634 "makefile") CONFIG_FILES="$CONFIG_FILES makefile:buildlib/makefile.in" ;;
6635 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
6637 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6638 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6639 { (exit 1); exit 1; }; };;
6644 # If the user did not use the arguments to specify the items to instantiate,
6645 # then the envvar interface is used. Set only those that are not.
6646 # We use the long form for the default assignment because of an extremely
6647 # bizarre bug on SunOS 4.1.3.
6648 if $ac_need_defaults; then
6649 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6650 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6651 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6654 # Have a temporary directory for convenience. Make it in the build tree
6655 # simply because there is no reason against having it here, and in addition,
6656 # creating and moving files from /tmp can sometimes cause problems.
6657 # Hook for its removal unless debugging.
6658 # Note that there is a small window in which the directory will not be cleaned:
6659 # after its creation but before its name has been assigned to `$tmp'.
6663 trap 'exit_status=$?
6664 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6666 trap '{ (exit 1); exit 1; }' 1 2 13 15
6668 # Create a (secure) tmp directory for tmp files.
6671 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6672 test -n "$tmp" && test -d "$tmp"
6675 tmp=./conf$$-$RANDOM
6676 (umask 077 && mkdir "$tmp")
6679 echo "$me: cannot create a temporary directory in ." >&2
6680 { (exit 1); exit 1; }
6684 # Set up the sed scripts for CONFIG_FILES section.
6687 # No need to generate the scripts if there are no CONFIG_FILES.
6688 # This happens for instance when ./config.status config.h
6689 if test -n "$CONFIG_FILES"; then
6696 for ac_last_try in false false false false false :; do
6697 cat >conf$$subs.sed <<_ACEOF
6698 SHELL!$SHELL$ac_delim
6699 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
6700 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
6701 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
6702 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
6703 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
6704 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
6705 exec_prefix!$exec_prefix$ac_delim
6706 prefix!$prefix$ac_delim
6707 program_transform_name!$program_transform_name$ac_delim
6708 bindir!$bindir$ac_delim
6709 sbindir!$sbindir$ac_delim
6710 libexecdir!$libexecdir$ac_delim
6711 datarootdir!$datarootdir$ac_delim
6712 datadir!$datadir$ac_delim
6713 sysconfdir!$sysconfdir$ac_delim
6714 sharedstatedir!$sharedstatedir$ac_delim
6715 localstatedir!$localstatedir$ac_delim
6716 includedir!$includedir$ac_delim
6717 oldincludedir!$oldincludedir$ac_delim
6718 docdir!$docdir$ac_delim
6719 infodir!$infodir$ac_delim
6720 htmldir!$htmldir$ac_delim
6721 dvidir!$dvidir$ac_delim
6722 pdfdir!$pdfdir$ac_delim
6723 psdir!$psdir$ac_delim
6724 libdir!$libdir$ac_delim
6725 localedir!$localedir$ac_delim
6726 mandir!$mandir$ac_delim
6728 ECHO_C!$ECHO_C$ac_delim
6729 ECHO_N!$ECHO_N$ac_delim
6730 ECHO_T!$ECHO_T$ac_delim
6732 build_alias!$build_alias$ac_delim
6733 host_alias!$host_alias$ac_delim
6734 target_alias!$target_alias$ac_delim
6736 CFLAGS!$CFLAGS$ac_delim
6737 LDFLAGS!$LDFLAGS$ac_delim
6738 CPPFLAGS!$CPPFLAGS$ac_delim
6739 ac_ct_CC!$ac_ct_CC$ac_delim
6740 EXEEXT!$EXEEXT$ac_delim
6741 OBJEXT!$OBJEXT$ac_delim
6742 build!$build$ac_delim
6743 build_cpu!$build_cpu$ac_delim
6744 build_vendor!$build_vendor$ac_delim
6745 build_os!$build_os$ac_delim
6747 host_cpu!$host_cpu$ac_delim
6748 host_vendor!$host_vendor$ac_delim
6749 host_os!$host_os$ac_delim
6751 CXXFLAGS!$CXXFLAGS$ac_delim
6752 ac_ct_CXX!$ac_ct_CXX$ac_delim
6754 PTHREADLIB!$PTHREADLIB$ac_delim
6755 CXXCPP!$CXXCPP$ac_delim
6757 EGREP!$EGREP$ac_delim
6758 HAVE_C9X!$HAVE_C9X$ac_delim
6759 DEBIANDOC_HTML!$DEBIANDOC_HTML$ac_delim
6760 DEBIANDOC_TEXT!$DEBIANDOC_TEXT$ac_delim
6761 YODL_MAN!$YODL_MAN$ac_delim
6762 LIBOBJS!$LIBOBJS$ac_delim
6763 LTLIBOBJS!$LTLIBOBJS$ac_delim
6766 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 66; then
6768 elif $ac_last_try; then
6769 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6770 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6771 { (exit 1); exit 1; }; }
6773 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6777 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
6778 if test -n "$ac_eof"; then
6779 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
6780 ac_eof=`expr $ac_eof + 1`
6783 cat >>$CONFIG_STATUS <<_ACEOF
6784 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
6785 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
6788 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
6789 s/^/s,@/; s/!/@,|#_!!_#|/
6792 s/'"$ac_delim"'$/,g/; t
6794 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
6795 ' >>$CONFIG_STATUS <conf$$subs.sed
6796 rm -f conf$$subs.sed
6797 cat >>$CONFIG_STATUS <<_ACEOF
6804 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6805 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6806 # trailing colons and then remove the whole line if VPATH becomes empty
6807 # (actually we leave an empty line to preserve line numbers).
6808 if test "x$srcdir" = x.; then
6809 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6813 s/^\([^=]*=[ ]*\):*/\1/
6819 cat >>$CONFIG_STATUS <<\_ACEOF
6820 fi # test -n "$CONFIG_FILES"
6823 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
6826 :[FHLC]) ac_mode=$ac_tag; continue;;
6828 case $ac_mode$ac_tag in
6830 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
6831 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
6832 { (exit 1); exit 1; }; };;
6833 :[FH]-) ac_tag=-:-;;
6834 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6851 -) ac_f="$tmp/stdin";;
6852 *) # Look for the file first in the build tree, then in the source tree
6853 # (if the path is not absolute). The absolute path cannot be DOS-style,
6854 # because $ac_f cannot contain `:'.
6858 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6860 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6861 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6862 { (exit 1); exit 1; }; };;
6864 ac_file_inputs="$ac_file_inputs $ac_f"
6867 # Let's still pretend it is `configure' which instantiates (i.e., don't
6868 # use $as_me), people would be surprised to read:
6869 # /* config.h. Generated by config.status. */
6870 configure_input="Generated from "`IFS=:
6871 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
6872 if test x"$ac_file" != x-; then
6873 configure_input="$ac_file. $configure_input"
6874 { echo "$as_me:$LINENO: creating $ac_file" >&5
6875 echo "$as_me: creating $ac_file" >&6;}
6879 *:-:* | *:-) cat >"$tmp/stdin";;
6884 ac_dir=`$as_dirname -- "$ac_file" ||
6885 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6886 X"$ac_file" : 'X\(//\)[^/]' \| \
6887 X"$ac_file" : 'X\(//\)$' \| \
6888 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6890 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6909 -*) as_dir=./$as_dir;;
6911 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6915 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
6916 *) as_qdir=$as_dir;;
6918 as_dirs="'$as_qdir' $as_dirs"
6919 as_dir=`$as_dirname -- "$as_dir" ||
6920 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6921 X"$as_dir" : 'X\(//\)[^/]' \| \
6922 X"$as_dir" : 'X\(//\)$' \| \
6923 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6925 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6942 test -d "$as_dir" && break
6944 test -z "$as_dirs" || eval "mkdir $as_dirs"
6945 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6946 echo "$as_me: error: cannot create directory $as_dir" >&2;}
6947 { (exit 1); exit 1; }; }; }
6951 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6953 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6954 # A ".." for each directory in $ac_dir_suffix.
6955 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
6956 case $ac_top_builddir_sub in
6957 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6958 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6961 ac_abs_top_builddir=$ac_pwd
6962 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6963 # for backward compatibility:
6964 ac_top_builddir=$ac_top_build_prefix
6967 .) # We are building in place.
6969 ac_top_srcdir=$ac_top_builddir_sub
6970 ac_abs_top_srcdir=$ac_pwd ;;
6971 [\\/]* | ?:[\\/]* ) # Absolute name.
6972 ac_srcdir=$srcdir$ac_dir_suffix;
6973 ac_top_srcdir=$srcdir
6974 ac_abs_top_srcdir=$srcdir ;;
6976 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6977 ac_top_srcdir=$ac_top_build_prefix$srcdir
6978 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6980 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6991 cat >>$CONFIG_STATUS <<\_ACEOF
6992 # If the template does not know about datarootdir, expand it.
6993 # FIXME: This hack should be removed a few years after 2.60.
6994 ac_datarootdir_hack=; ac_datarootdir_seen=
6996 case `sed -n '/datarootdir/ {
7005 ' $ac_file_inputs` in
7006 *datarootdir*) ac_datarootdir_seen=yes;;
7007 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7008 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7009 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7011 cat >>$CONFIG_STATUS <<_ACEOF
7012 ac_datarootdir_hack='
7013 s&@datadir@&$datadir&g
7014 s&@docdir@&$docdir&g
7015 s&@infodir@&$infodir&g
7016 s&@localedir@&$localedir&g
7017 s&@mandir@&$mandir&g
7018 s&\\\${datarootdir}&$datarootdir&g' ;;
7022 # Neutralize VPATH when `$srcdir' = `.'.
7023 # Shell code in configure.ac might set extrasub.
7024 # FIXME: do we really want to maintain this feature?
7025 cat >>$CONFIG_STATUS <<_ACEOF
7029 cat >>$CONFIG_STATUS <<\_ACEOF
7031 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7032 s&@configure_input@&$configure_input&;t t
7033 s&@top_builddir@&$ac_top_builddir_sub&;t t
7034 s&@srcdir@&$ac_srcdir&;t t
7035 s&@abs_srcdir@&$ac_abs_srcdir&;t t
7036 s&@top_srcdir@&$ac_top_srcdir&;t t
7037 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7038 s&@builddir@&$ac_builddir&;t t
7039 s&@abs_builddir@&$ac_abs_builddir&;t t
7040 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7041 $ac_datarootdir_hack
7042 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
7044 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7045 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
7046 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
7047 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7048 which seems to be undefined. Please make sure it is defined." >&5
7049 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7050 which seems to be undefined. Please make sure it is defined." >&2;}
7054 -) cat "$tmp/out"; rm -f "$tmp/out";;
7055 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
7064 # Transform confdefs.h into a sed script `conftest.defines', that
7065 # substitutes the proper values into config.h.in to produce config.h.
7066 rm -f conftest.defines conftest.tail
7067 # First, append a space to every undef/define line, to ease matching.
7068 echo 's/$/ /' >conftest.defines
7069 # Then, protect against being on the right side of a sed subst, or in
7070 # an unquoted here document, in config.status. If some macros were
7071 # called several times there might be several #defines for the same
7072 # symbol, which is useless. But do not sort them, since the last
7073 # AC_DEFINE must be honored.
7074 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7075 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
7076 # NAME is the cpp macro being defined, VALUE is the value it is being given.
7077 # PARAMS is the parameter list in the macro definition--in most cases, it's
7078 # just an empty string.
7079 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
7080 ac_dB='\\)[ (].*,\\1define\\2'
7088 s/^[ ]*#[ ]*define[ ][ ]*//
7093 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
7094 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
7095 ' >>conftest.defines
7097 # Remove the space that was appended to ease matching.
7098 # Then replace #undef with comments. This is necessary, for
7099 # example, in the case of _POSIX_SOURCE, which is predefined and required
7100 # on some systems where configure will not decide to define it.
7101 # (The regexp can be short, since the line contains either #define or #undef.)
7103 s,^[ #]*u.*,/* & */,' >>conftest.defines
7105 # Break up conftest.defines:
7108 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
7109 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
7110 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
7112 ac_in='$ac_file_inputs'
7113 ac_out='"$tmp/out1"'
7114 ac_nxt='"$tmp/out2"'
7118 # Write a here document:
7119 cat >>$CONFIG_STATUS <<_ACEOF
7120 # First, check the format of the line:
7121 cat >"\$tmp/defines.sed" <<\\CEOF
7122 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
7123 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
7127 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
7129 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
7130 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
7131 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
7132 grep . conftest.tail >/dev/null || break
7133 rm -f conftest.defines
7134 mv conftest.tail conftest.defines
7136 rm -f conftest.defines conftest.tail
7138 echo "ac_result=$ac_in" >>$CONFIG_STATUS
7139 cat >>$CONFIG_STATUS <<\_ACEOF
7140 if test x"$ac_file" != x-; then
7141 echo "/* $configure_input */" >"$tmp/config.h"
7142 cat "$ac_result" >>"$tmp/config.h"
7143 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
7144 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7145 echo "$as_me: $ac_file is unchanged" >&6;}
7148 mv "$tmp/config.h" $ac_file
7151 echo "/* $configure_input */"
7157 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
7158 echo "$as_me: executing $ac_file commands" >&6;}
7163 case $ac_file$ac_mode in
7164 "default":C) make dirs ;;
7170 { (exit 0); exit 0; }
7172 chmod +x $CONFIG_STATUS
7173 ac_clean_files=$ac_clean_files_save
7176 # configure is writing to config.log, and then calls config.status.
7177 # config.status does its own redirection, appending to config.log.
7178 # Unfortunately, on DOS this fails, as config.log is still kept open
7179 # by configure, so config.status won't be able to write to it; its
7180 # output is simply discarded. So we exec the FD to /dev/null,
7181 # effectively closing config.log, so it can be properly (re)opened and
7182 # appended to by config.status. When coming back to configure, we
7183 # need to make the FD available again.
7184 if test "$no_create" != yes; then
7186 ac_config_status_args=
7187 test "$silent" = yes &&
7188 ac_config_status_args="$ac_config_status_args --quiet"
7190 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7192 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7193 # would make configure fail if this is the last instruction.
7194 $ac_cs_success || { (exit 1); exit 1; }