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="src/"
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
712 ac_precious_vars='build_alias
726 # Initialize some variables set by options.
728 ac_init_version=false
729 # The variables have the same names as the options, with
730 # dashes changed to underlines.
738 program_transform_name=s,x,x,
746 # Installation directory options.
747 # These are left unexpanded so users can "make install exec_prefix=/foo"
748 # and all the variables that are supposed to be based on exec_prefix
749 # by default will actually change.
750 # Use braces instead of parens because sh, perl, etc. also accept them.
751 # (The list follows the same order as the GNU Coding Standards.)
752 bindir='${exec_prefix}/bin'
753 sbindir='${exec_prefix}/sbin'
754 libexecdir='${exec_prefix}/libexec'
755 datarootdir='${prefix}/share'
756 datadir='${datarootdir}'
757 sysconfdir='${prefix}/etc'
758 sharedstatedir='${prefix}/com'
759 localstatedir='${prefix}/var'
760 includedir='${prefix}/include'
761 oldincludedir='/usr/include'
762 docdir='${datarootdir}/doc/${PACKAGE}'
763 infodir='${datarootdir}/info'
768 libdir='${exec_prefix}/lib'
769 localedir='${datarootdir}/locale'
770 mandir='${datarootdir}/man'
776 # If the previous option needs an argument, assign it.
777 if test -n "$ac_prev"; then
778 eval $ac_prev=\$ac_option
784 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
788 # Accept the important Cygnus configure options, so we can diagnose typos.
790 case $ac_dashdash$ac_option in
794 -bindir | --bindir | --bindi | --bind | --bin | --bi)
796 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
799 -build | --build | --buil | --bui | --bu)
800 ac_prev=build_alias ;;
801 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
802 build_alias=$ac_optarg ;;
804 -cache-file | --cache-file | --cache-fil | --cache-fi \
805 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
806 ac_prev=cache_file ;;
807 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
808 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
809 cache_file=$ac_optarg ;;
812 cache_file=config.cache ;;
814 -datadir | --datadir | --datadi | --datad)
816 -datadir=* | --datadir=* | --datadi=* | --datad=*)
817 datadir=$ac_optarg ;;
819 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
820 | --dataroo | --dataro | --datar)
821 ac_prev=datarootdir ;;
822 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
823 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
824 datarootdir=$ac_optarg ;;
826 -disable-* | --disable-*)
827 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
828 # Reject names that are not valid shell variable names.
829 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
830 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
831 { (exit 1); exit 1; }; }
832 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
833 eval enable_$ac_feature=no ;;
835 -docdir | --docdir | --docdi | --doc | --do)
837 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
840 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
842 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
845 -enable-* | --enable-*)
846 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
847 # Reject names that are not valid shell variable names.
848 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
849 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
850 { (exit 1); exit 1; }; }
851 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
852 eval enable_$ac_feature=\$ac_optarg ;;
854 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
855 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
856 | --exec | --exe | --ex)
857 ac_prev=exec_prefix ;;
858 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
859 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
860 | --exec=* | --exe=* | --ex=*)
861 exec_prefix=$ac_optarg ;;
863 -gas | --gas | --ga | --g)
864 # Obsolete; use --with-gas.
867 -help | --help | --hel | --he | -h)
869 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
870 ac_init_help=recursive ;;
871 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
872 ac_init_help=short ;;
874 -host | --host | --hos | --ho)
875 ac_prev=host_alias ;;
876 -host=* | --host=* | --hos=* | --ho=*)
877 host_alias=$ac_optarg ;;
879 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
881 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
883 htmldir=$ac_optarg ;;
885 -includedir | --includedir | --includedi | --included | --include \
886 | --includ | --inclu | --incl | --inc)
887 ac_prev=includedir ;;
888 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
889 | --includ=* | --inclu=* | --incl=* | --inc=*)
890 includedir=$ac_optarg ;;
892 -infodir | --infodir | --infodi | --infod | --info | --inf)
894 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
895 infodir=$ac_optarg ;;
897 -libdir | --libdir | --libdi | --libd)
899 -libdir=* | --libdir=* | --libdi=* | --libd=*)
902 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
903 | --libexe | --libex | --libe)
904 ac_prev=libexecdir ;;
905 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
906 | --libexe=* | --libex=* | --libe=*)
907 libexecdir=$ac_optarg ;;
909 -localedir | --localedir | --localedi | --localed | --locale)
911 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
912 localedir=$ac_optarg ;;
914 -localstatedir | --localstatedir | --localstatedi | --localstated \
915 | --localstate | --localstat | --localsta | --localst | --locals)
916 ac_prev=localstatedir ;;
917 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
918 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
919 localstatedir=$ac_optarg ;;
921 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
923 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
927 # Obsolete; use --without-fp.
930 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
931 | --no-cr | --no-c | -n)
934 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
935 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
938 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
939 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
940 | --oldin | --oldi | --old | --ol | --o)
941 ac_prev=oldincludedir ;;
942 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
943 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
944 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
945 oldincludedir=$ac_optarg ;;
947 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
949 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
952 -program-prefix | --program-prefix | --program-prefi | --program-pref \
953 | --program-pre | --program-pr | --program-p)
954 ac_prev=program_prefix ;;
955 -program-prefix=* | --program-prefix=* | --program-prefi=* \
956 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
957 program_prefix=$ac_optarg ;;
959 -program-suffix | --program-suffix | --program-suffi | --program-suff \
960 | --program-suf | --program-su | --program-s)
961 ac_prev=program_suffix ;;
962 -program-suffix=* | --program-suffix=* | --program-suffi=* \
963 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
964 program_suffix=$ac_optarg ;;
966 -program-transform-name | --program-transform-name \
967 | --program-transform-nam | --program-transform-na \
968 | --program-transform-n | --program-transform- \
969 | --program-transform | --program-transfor \
970 | --program-transfo | --program-transf \
971 | --program-trans | --program-tran \
972 | --progr-tra | --program-tr | --program-t)
973 ac_prev=program_transform_name ;;
974 -program-transform-name=* | --program-transform-name=* \
975 | --program-transform-nam=* | --program-transform-na=* \
976 | --program-transform-n=* | --program-transform-=* \
977 | --program-transform=* | --program-transfor=* \
978 | --program-transfo=* | --program-transf=* \
979 | --program-trans=* | --program-tran=* \
980 | --progr-tra=* | --program-tr=* | --program-t=*)
981 program_transform_name=$ac_optarg ;;
983 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
985 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
988 -psdir | --psdir | --psdi | --psd | --ps)
990 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
993 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
994 | -silent | --silent | --silen | --sile | --sil)
997 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
999 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1001 sbindir=$ac_optarg ;;
1003 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1004 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1005 | --sharedst | --shareds | --shared | --share | --shar \
1007 ac_prev=sharedstatedir ;;
1008 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1009 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1010 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1012 sharedstatedir=$ac_optarg ;;
1014 -site | --site | --sit)
1016 -site=* | --site=* | --sit=*)
1019 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1021 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1022 srcdir=$ac_optarg ;;
1024 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1025 | --syscon | --sysco | --sysc | --sys | --sy)
1026 ac_prev=sysconfdir ;;
1027 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1028 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1029 sysconfdir=$ac_optarg ;;
1031 -target | --target | --targe | --targ | --tar | --ta | --t)
1032 ac_prev=target_alias ;;
1033 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1034 target_alias=$ac_optarg ;;
1036 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1039 -version | --version | --versio | --versi | --vers | -V)
1040 ac_init_version=: ;;
1043 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1044 # Reject names that are not valid shell variable names.
1045 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1046 { echo "$as_me: error: invalid package name: $ac_package" >&2
1047 { (exit 1); exit 1; }; }
1048 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1049 eval with_$ac_package=\$ac_optarg ;;
1051 -without-* | --without-*)
1052 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1053 # Reject names that are not valid shell variable names.
1054 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1055 { echo "$as_me: error: invalid package name: $ac_package" >&2
1056 { (exit 1); exit 1; }; }
1057 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1058 eval with_$ac_package=no ;;
1061 # Obsolete; use --with-x.
1064 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1065 | --x-incl | --x-inc | --x-in | --x-i)
1066 ac_prev=x_includes ;;
1067 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1068 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1069 x_includes=$ac_optarg ;;
1071 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1072 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1073 ac_prev=x_libraries ;;
1074 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1075 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1076 x_libraries=$ac_optarg ;;
1078 -*) { echo "$as_me: error: unrecognized option: $ac_option
1079 Try \`$0 --help' for more information." >&2
1080 { (exit 1); exit 1; }; }
1084 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1085 # Reject names that are not valid shell variable names.
1086 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1087 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1088 { (exit 1); exit 1; }; }
1089 eval $ac_envvar=\$ac_optarg
1090 export $ac_envvar ;;
1093 # FIXME: should be removed in autoconf 3.0.
1094 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1095 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1096 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1097 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1103 if test -n "$ac_prev"; then
1104 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1105 { echo "$as_me: error: missing argument to $ac_option" >&2
1106 { (exit 1); exit 1; }; }
1109 # Be sure to have absolute directory names.
1110 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1111 datadir sysconfdir sharedstatedir localstatedir includedir \
1112 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1113 libdir localedir mandir
1115 eval ac_val=\$$ac_var
1117 [\\/$]* | ?:[\\/]* ) continue;;
1118 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1120 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1121 { (exit 1); exit 1; }; }
1124 # There might be people who depend on the old broken behavior: `$host'
1125 # used to hold the argument of --host etc.
1126 # FIXME: To remove some day.
1129 target=$target_alias
1131 # FIXME: To remove some day.
1132 if test "x$host_alias" != x; then
1133 if test "x$build_alias" = x; then
1134 cross_compiling=maybe
1135 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1136 If a cross compiler is detected then cross compile mode will be used." >&2
1137 elif test "x$build_alias" != "x$host_alias"; then
1143 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1145 test "$silent" = yes && exec 6>/dev/null
1148 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1149 ac_ls_di=`ls -di .` &&
1150 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1151 { echo "$as_me: error: Working directory cannot be determined" >&2
1152 { (exit 1); exit 1; }; }
1153 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1154 { echo "$as_me: error: pwd does not report name of working directory" >&2
1155 { (exit 1); exit 1; }; }
1158 # Find the source files, if location was not specified.
1159 if test -z "$srcdir"; then
1160 ac_srcdir_defaulted=yes
1161 # Try the directory containing this script, then the parent directory.
1162 ac_confdir=`$as_dirname -- "$0" ||
1163 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1164 X"$0" : 'X\(//\)[^/]' \| \
1165 X"$0" : 'X\(//\)$' \| \
1166 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1168 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1186 if test ! -r "$srcdir/$ac_unique_file"; then
1190 ac_srcdir_defaulted=no
1192 if test ! -r "$srcdir/$ac_unique_file"; then
1193 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1194 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1195 { (exit 1); exit 1; }; }
1197 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1199 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1200 { (exit 1); exit 1; }; }
1202 # When building in place, set srcdir=.
1203 if test "$ac_abs_confdir" = "$ac_pwd"; then
1206 # Remove unnecessary trailing slashes from srcdir.
1207 # Double slashes in file names in object file debugging info
1208 # mess up M-x gdb in Emacs.
1210 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1212 for ac_var in $ac_precious_vars; do
1213 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1214 eval ac_env_${ac_var}_value=\$${ac_var}
1215 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1216 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1220 # Report the --help message.
1222 if test "$ac_init_help" = "long"; then
1223 # Omit some internal or obsolete options to make the list less imposing.
1224 # This message is too long to be a string in the A/UX 3.1 sh.
1226 \`configure' configures this package to adapt to many kinds of systems.
1228 Usage: $0 [OPTION]... [VAR=VALUE]...
1230 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1231 VAR=VALUE. See below for descriptions of some of the useful variables.
1233 Defaults for the options are specified in brackets.
1236 -h, --help display this help and exit
1237 --help=short display options specific to this package
1238 --help=recursive display the short help of all the included packages
1239 -V, --version display version information and exit
1240 -q, --quiet, --silent do not print \`checking...' messages
1241 --cache-file=FILE cache test results in FILE [disabled]
1242 -C, --config-cache alias for \`--cache-file=config.cache'
1243 -n, --no-create do not create output files
1244 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1246 Installation directories:
1247 --prefix=PREFIX install architecture-independent files in PREFIX
1248 [$ac_default_prefix]
1249 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1252 By default, \`make install' will install all the files in
1253 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1254 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1255 for instance \`--prefix=\$HOME'.
1257 For better control, use the options below.
1259 Fine tuning of the installation directories:
1260 --bindir=DIR user executables [EPREFIX/bin]
1261 --sbindir=DIR system admin executables [EPREFIX/sbin]
1262 --libexecdir=DIR program executables [EPREFIX/libexec]
1263 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1264 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1265 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1266 --libdir=DIR object code libraries [EPREFIX/lib]
1267 --includedir=DIR C header files [PREFIX/include]
1268 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1269 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1270 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1271 --infodir=DIR info documentation [DATAROOTDIR/info]
1272 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1273 --mandir=DIR man documentation [DATAROOTDIR/man]
1274 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1275 --htmldir=DIR html documentation [DOCDIR]
1276 --dvidir=DIR dvi documentation [DOCDIR]
1277 --pdfdir=DIR pdf documentation [DOCDIR]
1278 --psdir=DIR ps documentation [DOCDIR]
1284 --program-prefix=PREFIX prepend PREFIX to installed program names
1285 --program-suffix=SUFFIX append SUFFIX to installed program names
1286 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1289 --build=BUILD configure for building on BUILD [guessed]
1290 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1291 --target=TARGET configure for building compilers for TARGET [HOST]
1295 if test -n "$ac_init_help"; then
1300 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1301 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1302 --enable-checkmem turn on ccmalloc debugging
1303 --enable-debug turn on debugging
1304 --enable-profiling turn on profiling
1305 --enable-warnings turn on compiler warnings
1306 --enable-optimizations turn on compiler optimizations (recommended for avi2swf)
1307 --disable-lame don't compile any L.A.M.E. mp3 encoding code in
1309 Some influential environment variables:
1310 CC C compiler command
1311 CFLAGS C compiler flags
1312 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1313 nonstandard directory <lib dir>
1314 LIBS libraries to pass to the linker, e.g. -l<library>
1315 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1316 you have headers in a nonstandard directory <include dir>
1317 CXX C++ compiler command
1318 CXXFLAGS C++ compiler flags
1321 Use these variables to override the choices made by `configure' or to help
1322 it to find libraries and programs with nonstandard names/locations.
1328 if test "$ac_init_help" = "recursive"; then
1329 # If there are subdirs, report their specific --help.
1330 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1331 test -d "$ac_dir" || continue
1335 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1337 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1338 # A ".." for each directory in $ac_dir_suffix.
1339 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1340 case $ac_top_builddir_sub in
1341 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1342 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1345 ac_abs_top_builddir=$ac_pwd
1346 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1347 # for backward compatibility:
1348 ac_top_builddir=$ac_top_build_prefix
1351 .) # We are building in place.
1353 ac_top_srcdir=$ac_top_builddir_sub
1354 ac_abs_top_srcdir=$ac_pwd ;;
1355 [\\/]* | ?:[\\/]* ) # Absolute name.
1356 ac_srcdir=$srcdir$ac_dir_suffix;
1357 ac_top_srcdir=$srcdir
1358 ac_abs_top_srcdir=$srcdir ;;
1360 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1361 ac_top_srcdir=$ac_top_build_prefix$srcdir
1362 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1364 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1366 cd "$ac_dir" || { ac_status=$?; continue; }
1367 # Check for guested configure.
1368 if test -f "$ac_srcdir/configure.gnu"; then
1370 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1371 elif test -f "$ac_srcdir/configure"; then
1373 $SHELL "$ac_srcdir/configure" --help=recursive
1375 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1377 cd "$ac_pwd" || { ac_status=$?; break; }
1381 test -n "$ac_init_help" && exit $ac_status
1382 if $ac_init_version; then
1385 generated by GNU Autoconf 2.61
1387 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1388 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1389 This configure script is free software; the Free Software Foundation
1390 gives unlimited permission to copy, distribute and modify it.
1394 cat >config.log <<_ACEOF
1395 This file contains any messages produced by compilers while
1396 running configure, to aid debugging if configure makes a mistake.
1398 It was created by $as_me, which was
1399 generated by GNU Autoconf 2.61. Invocation command line was
1411 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1412 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1413 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1414 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1415 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1417 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1418 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1420 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1421 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1422 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1423 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1424 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1425 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1426 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1434 test -z "$as_dir" && as_dir=.
1435 echo "PATH: $as_dir"
1451 # Keep a trace of the command line.
1452 # Strip out --no-create and --no-recursion so they do not pile up.
1453 # Strip out --silent because we don't want to record it for future runs.
1454 # Also quote any args containing shell meta-characters.
1455 # Make two passes to allow for proper duplicate-argument suppression.
1459 ac_must_keep_next=false
1465 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1466 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1467 | -silent | --silent | --silen | --sile | --sil)
1470 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1473 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1475 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1476 if test $ac_must_keep_next = true; then
1477 ac_must_keep_next=false # Got value, back to normal.
1480 *=* | --config-cache | -C | -disable-* | --disable-* \
1481 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1482 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1483 | -with-* | --with-* | -without-* | --without-* | --x)
1484 case "$ac_configure_args0 " in
1485 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1488 -* ) ac_must_keep_next=true ;;
1491 ac_configure_args="$ac_configure_args '$ac_arg'"
1496 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1497 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1499 # When interrupted or exit'd, cleanup temporary files, and complete
1500 # config.log. We remove comments because anyway the quotes in there
1501 # would cause problems or look ugly.
1502 # WARNING: Use '\'' to represent an apostrophe within the trap.
1503 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1504 trap 'exit_status=$?
1505 # Save into config.log some information that might help in debugging.
1510 ## ---------------- ##
1511 ## Cache variables. ##
1512 ## ---------------- ##
1515 # The following way of writing the cache mishandles newlines in values,
1517 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1518 eval ac_val=\$$ac_var
1522 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1523 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1526 _ | IFS | as_nl) ;; #(
1527 *) $as_unset $ac_var ;;
1532 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1533 *${as_nl}ac_space=\ *)
1535 "s/'\''/'\''\\\\'\'''\''/g;
1536 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1539 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1547 ## ----------------- ##
1548 ## Output variables. ##
1549 ## ----------------- ##
1552 for ac_var in $ac_subst_vars
1554 eval ac_val=\$$ac_var
1556 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1558 echo "$ac_var='\''$ac_val'\''"
1562 if test -n "$ac_subst_files"; then
1564 ## ------------------- ##
1565 ## File substitutions. ##
1566 ## ------------------- ##
1569 for ac_var in $ac_subst_files
1571 eval ac_val=\$$ac_var
1573 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1575 echo "$ac_var='\''$ac_val'\''"
1580 if test -s confdefs.h; then
1590 test "$ac_signal" != 0 &&
1591 echo "$as_me: caught signal $ac_signal"
1592 echo "$as_me: exit $exit_status"
1594 rm -f core *.core core.conftest.* &&
1595 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1598 for ac_signal in 1 2 13 15; do
1599 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1603 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1604 rm -f -r conftest* confdefs.h
1606 # Predefined preprocessor variables.
1608 cat >>confdefs.h <<_ACEOF
1609 #define PACKAGE_NAME "$PACKAGE_NAME"
1613 cat >>confdefs.h <<_ACEOF
1614 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1618 cat >>confdefs.h <<_ACEOF
1619 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1623 cat >>confdefs.h <<_ACEOF
1624 #define PACKAGE_STRING "$PACKAGE_STRING"
1628 cat >>confdefs.h <<_ACEOF
1629 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1633 # Let the site file select an alternate cache file if it wants to.
1634 # Prefer explicitly selected file to automatically selected ones.
1635 if test -n "$CONFIG_SITE"; then
1636 set x "$CONFIG_SITE"
1637 elif test "x$prefix" != xNONE; then
1638 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1640 set x "$ac_default_prefix/share/config.site" \
1641 "$ac_default_prefix/etc/config.site"
1646 if test -r "$ac_site_file"; then
1647 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1648 echo "$as_me: loading site script $ac_site_file" >&6;}
1649 sed 's/^/| /' "$ac_site_file" >&5
1654 if test -r "$cache_file"; then
1655 # Some versions of bash will fail to source /dev/null (special
1656 # files actually), so we avoid doing that.
1657 if test -f "$cache_file"; then
1658 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1659 echo "$as_me: loading cache $cache_file" >&6;}
1661 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1662 *) . "./$cache_file";;
1666 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1667 echo "$as_me: creating cache $cache_file" >&6;}
1671 # Check that the precious variables saved in the cache have kept the same
1673 ac_cache_corrupted=false
1674 for ac_var in $ac_precious_vars; do
1675 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1676 eval ac_new_set=\$ac_env_${ac_var}_set
1677 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1678 eval ac_new_val=\$ac_env_${ac_var}_value
1679 case $ac_old_set,$ac_new_set in
1681 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1682 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1683 ac_cache_corrupted=: ;;
1685 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1686 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1687 ac_cache_corrupted=: ;;
1690 if test "x$ac_old_val" != "x$ac_new_val"; then
1691 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1692 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1693 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1694 echo "$as_me: former value: $ac_old_val" >&2;}
1695 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1696 echo "$as_me: current value: $ac_new_val" >&2;}
1697 ac_cache_corrupted=:
1700 # Pass precious variables to config.status.
1701 if test "$ac_new_set" = set; then
1703 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1704 *) ac_arg=$ac_var=$ac_new_val ;;
1706 case " $ac_configure_args " in
1707 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1708 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1712 if $ac_cache_corrupted; then
1713 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1714 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1715 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1716 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1717 { (exit 1); exit 1; }; }
1737 ac_cpp='$CPP $CPPFLAGS'
1738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1745 # Check whether --enable-checkmem was given.
1746 if test "${enable_checkmem+set}" = set; then
1747 enableval=$enable_checkmem; CHECKMEM=true
1750 # Check whether --enable-debug was given.
1751 if test "${enable_debug+set}" = set; then
1752 enableval=$enable_debug; DEBUG=true
1755 # Check whether --enable-profiling was given.
1756 if test "${enable_profiling+set}" = set; then
1757 enableval=$enable_profiling; PROFILING=true
1760 # Check whether --enable-warnings was given.
1761 if test "${enable_warnings+set}" = set; then
1762 enableval=$enable_warnings; ENABLE_WARNINGS=true
1765 # Check whether --enable-optimizations was given.
1766 if test "${enable_optimizations+set}" = set; then
1767 enableval=$enable_optimizations; OPTIMIZE=true
1770 # Check whether --enable-lame was given.
1771 if test "${enable_lame+set}" = set; then
1772 enableval=$enable_lame; DISABLE_LAME=true
1780 # ------------------------------------------------------------------
1782 if test "x${srcdir}" != "x."; then
1783 echo "--srcdir is not supported"
1787 WARNINGS="-Wparentheses -Wimplicit -Wreturn-type"
1788 if test "x$ENABLE_WARNINGS" '!=' "x";then
1789 WARNINGS="-Wall -Wno-unused -Wno-format -Wno-redundant-decls -D_FORTIFY_SOURCE=2 "
1792 if test "x$CHECKMEM" '!=' "x";then
1795 if test "x$PROFILING" '!=' "x";then
1798 if test "x$DEBUG" '!=' "x";then
1799 if test "x$PROFILING" = "x";then
1800 CFLAGS="$WARNINGS -O2 -g $CFLAGS"
1801 CXXFLAGS="$WARNINGS -O2 -g $CXXFLAGS"
1804 CFLAGS="$WARNINGS -O2 -g -pg $CFLAGS"
1805 CXXFLAGS="$WARNINGS -O2 -g -pg $CXXFLAGS"
1806 LDFLAGS="-g -pg $LIBS"
1808 else if test "x$OPTIMIZE" '!=' "x"; then
1809 CFLAGS="$WARNINGS -O3 -fomit-frame-pointer -Winline $CFLAGS"
1810 CXXFLAGS="$WARNINGS -O3 -fomit-frame-pointer -Winline $CXXFLAGS"
1812 CFLAGS="$WARNINGS -O -fomit-frame-pointer $CFLAGS"
1813 CXXFLAGS="$WARNINGS -O -fomit-frame-pointer $CXXFLAGS"
1817 CFLAGS="-fPIC $CFLAGS"
1818 CXXFLAGS="-fPIC $CFLAGS"
1821 #if test "x$OLDGCC" '!=' "x";then
1822 # #CFLAGS="$CFLAGS --std=c89 -ansi -pendantic"
1823 # #CXXFLAGS="$CXXFLAGS --std=c89 -ansi -pendantic"
1824 # CFLAGS="$CFLAGS -ansi -pendantic"
1825 # CXXFLAGS="$CXXFLAGS -ansi -pendantic"
1828 export PACKAGE VERSION CFLAGS CXXFLAGS
1832 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1833 if test -f "$ac_dir/install-sh"; then
1835 ac_install_sh="$ac_aux_dir/install-sh -c"
1837 elif test -f "$ac_dir/install.sh"; then
1839 ac_install_sh="$ac_aux_dir/install.sh -c"
1841 elif test -f "$ac_dir/shtool"; then
1843 ac_install_sh="$ac_aux_dir/shtool install -c"
1847 if test -z "$ac_aux_dir"; then
1848 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1849 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1850 { (exit 1); exit 1; }; }
1853 # These three variables are undocumented and unsupported,
1854 # and are intended to be withdrawn in a future Autoconf release.
1855 # They can cause serious problems if a builder's source tree is in a directory
1856 # whose full name contains unusual characters.
1857 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1858 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1859 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1862 # Make sure we can run config.sub.
1863 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1864 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1865 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1866 { (exit 1); exit 1; }; }
1868 { echo "$as_me:$LINENO: checking build system type" >&5
1869 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1870 if test "${ac_cv_build+set}" = set; then
1871 echo $ECHO_N "(cached) $ECHO_C" >&6
1873 ac_build_alias=$build_alias
1874 test "x$ac_build_alias" = x &&
1875 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1876 test "x$ac_build_alias" = x &&
1877 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1878 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1879 { (exit 1); exit 1; }; }
1880 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1881 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1882 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1883 { (exit 1); exit 1; }; }
1886 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1887 echo "${ECHO_T}$ac_cv_build" >&6; }
1888 case $ac_cv_build in
1890 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1891 echo "$as_me: error: invalid value of canonical build" >&2;}
1892 { (exit 1); exit 1; }; };;
1895 ac_save_IFS=$IFS; IFS='-'
1901 # Remember, the first character of IFS is used to create $*,
1902 # except with old shells:
1905 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1908 { echo "$as_me:$LINENO: checking host system type" >&5
1909 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1910 if test "${ac_cv_host+set}" = set; then
1911 echo $ECHO_N "(cached) $ECHO_C" >&6
1913 if test "x$host_alias" = x; then
1914 ac_cv_host=$ac_cv_build
1916 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1917 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1918 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1919 { (exit 1); exit 1; }; }
1923 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1924 echo "${ECHO_T}$ac_cv_host" >&6; }
1927 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1928 echo "$as_me: error: invalid value of canonical host" >&2;}
1929 { (exit 1); exit 1; }; };;
1932 ac_save_IFS=$IFS; IFS='-'
1938 # Remember, the first character of IFS is used to create $*,
1939 # except with old shells:
1942 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1952 CXXFLAGS="$CXXFLAGS -fno-rtti"
1954 # Use fink packages if available.
1955 #if test -d /sw/include && test -d /sw/lib; then
1956 # CPPFLAGS="${CPPFLAGS} -I/sw/include"
1957 # LDFLAGS="${LDFLAGS} -L/sw/lib"
1965 ac_cpp='$CPP $CPPFLAGS'
1966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1969 if test -n "$ac_tool_prefix"; then
1970 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1971 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1972 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1974 if test "${ac_cv_prog_CC+set}" = set; then
1975 echo $ECHO_N "(cached) $ECHO_C" >&6
1977 if test -n "$CC"; then
1978 ac_cv_prog_CC="$CC" # Let the user override the test.
1980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1984 test -z "$as_dir" && as_dir=.
1985 for ac_exec_ext in '' $ac_executable_extensions; do
1986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1987 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1998 if test -n "$CC"; then
1999 { echo "$as_me:$LINENO: result: $CC" >&5
2000 echo "${ECHO_T}$CC" >&6; }
2002 { echo "$as_me:$LINENO: result: no" >&5
2003 echo "${ECHO_T}no" >&6; }
2008 if test -z "$ac_cv_prog_CC"; then
2010 # Extract the first word of "gcc", so it can be a program name with args.
2011 set dummy gcc; ac_word=$2
2012 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2013 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2014 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2015 echo $ECHO_N "(cached) $ECHO_C" >&6
2017 if test -n "$ac_ct_CC"; then
2018 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2024 test -z "$as_dir" && as_dir=.
2025 for ac_exec_ext in '' $ac_executable_extensions; do
2026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2027 ac_cv_prog_ac_ct_CC="gcc"
2028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2037 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2038 if test -n "$ac_ct_CC"; then
2039 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2040 echo "${ECHO_T}$ac_ct_CC" >&6; }
2042 { echo "$as_me:$LINENO: result: no" >&5
2043 echo "${ECHO_T}no" >&6; }
2046 if test "x$ac_ct_CC" = x; then
2049 case $cross_compiling:$ac_tool_warned in
2051 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2052 whose name does not start with the host triplet. If you think this
2053 configuration is useful to you, please write to autoconf@gnu.org." >&5
2054 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2055 whose name does not start with the host triplet. If you think this
2056 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2057 ac_tool_warned=yes ;;
2065 if test -z "$CC"; then
2066 if test -n "$ac_tool_prefix"; then
2067 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2068 set dummy ${ac_tool_prefix}cc; ac_word=$2
2069 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2071 if test "${ac_cv_prog_CC+set}" = set; then
2072 echo $ECHO_N "(cached) $ECHO_C" >&6
2074 if test -n "$CC"; then
2075 ac_cv_prog_CC="$CC" # Let the user override the test.
2077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2081 test -z "$as_dir" && as_dir=.
2082 for ac_exec_ext in '' $ac_executable_extensions; do
2083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2084 ac_cv_prog_CC="${ac_tool_prefix}cc"
2085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2095 if test -n "$CC"; then
2096 { echo "$as_me:$LINENO: result: $CC" >&5
2097 echo "${ECHO_T}$CC" >&6; }
2099 { echo "$as_me:$LINENO: result: no" >&5
2100 echo "${ECHO_T}no" >&6; }
2106 if test -z "$CC"; then
2107 # Extract the first word of "cc", so it can be a program name with args.
2108 set dummy cc; ac_word=$2
2109 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2111 if test "${ac_cv_prog_CC+set}" = set; then
2112 echo $ECHO_N "(cached) $ECHO_C" >&6
2114 if test -n "$CC"; then
2115 ac_cv_prog_CC="$CC" # Let the user override the test.
2118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2122 test -z "$as_dir" && as_dir=.
2123 for ac_exec_ext in '' $ac_executable_extensions; do
2124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2125 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2126 ac_prog_rejected=yes
2130 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2137 if test $ac_prog_rejected = yes; then
2138 # We found a bogon in the path, so make sure we never use it.
2139 set dummy $ac_cv_prog_CC
2141 if test $# != 0; then
2142 # We chose a different compiler from the bogus one.
2143 # However, it has the same basename, so the bogon will be chosen
2144 # first if we set CC to just the basename; use the full file name.
2146 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2152 if test -n "$CC"; then
2153 { echo "$as_me:$LINENO: result: $CC" >&5
2154 echo "${ECHO_T}$CC" >&6; }
2156 { echo "$as_me:$LINENO: result: no" >&5
2157 echo "${ECHO_T}no" >&6; }
2162 if test -z "$CC"; then
2163 if test -n "$ac_tool_prefix"; then
2164 for ac_prog in cl.exe
2166 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2167 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2168 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2170 if test "${ac_cv_prog_CC+set}" = set; then
2171 echo $ECHO_N "(cached) $ECHO_C" >&6
2173 if test -n "$CC"; then
2174 ac_cv_prog_CC="$CC" # Let the user override the test.
2176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2180 test -z "$as_dir" && as_dir=.
2181 for ac_exec_ext in '' $ac_executable_extensions; do
2182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2183 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2184 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2194 if test -n "$CC"; then
2195 { echo "$as_me:$LINENO: result: $CC" >&5
2196 echo "${ECHO_T}$CC" >&6; }
2198 { echo "$as_me:$LINENO: result: no" >&5
2199 echo "${ECHO_T}no" >&6; }
2203 test -n "$CC" && break
2206 if test -z "$CC"; then
2208 for ac_prog in cl.exe
2210 # Extract the first word of "$ac_prog", so it can be a program name with args.
2211 set dummy $ac_prog; ac_word=$2
2212 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2214 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2215 echo $ECHO_N "(cached) $ECHO_C" >&6
2217 if test -n "$ac_ct_CC"; then
2218 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2224 test -z "$as_dir" && as_dir=.
2225 for ac_exec_ext in '' $ac_executable_extensions; do
2226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2227 ac_cv_prog_ac_ct_CC="$ac_prog"
2228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2237 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2238 if test -n "$ac_ct_CC"; then
2239 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2240 echo "${ECHO_T}$ac_ct_CC" >&6; }
2242 { echo "$as_me:$LINENO: result: no" >&5
2243 echo "${ECHO_T}no" >&6; }
2247 test -n "$ac_ct_CC" && break
2250 if test "x$ac_ct_CC" = x; then
2253 case $cross_compiling:$ac_tool_warned in
2255 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2256 whose name does not start with the host triplet. If you think this
2257 configuration is useful to you, please write to autoconf@gnu.org." >&5
2258 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2259 whose name does not start with the host triplet. If you think this
2260 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2261 ac_tool_warned=yes ;;
2270 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2271 See \`config.log' for more details." >&5
2272 echo "$as_me: error: no acceptable C compiler found in \$PATH
2273 See \`config.log' for more details." >&2;}
2274 { (exit 1); exit 1; }; }
2276 # Provide some information about the compiler.
2277 echo "$as_me:$LINENO: checking for C compiler version" >&5
2278 ac_compiler=`set X $ac_compile; echo $2`
2279 { (ac_try="$ac_compiler --version >&5"
2281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2282 *) ac_try_echo=$ac_try;;
2284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2285 (eval "$ac_compiler --version >&5") 2>&5
2287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2288 (exit $ac_status); }
2289 { (ac_try="$ac_compiler -v >&5"
2291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2292 *) ac_try_echo=$ac_try;;
2294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2295 (eval "$ac_compiler -v >&5") 2>&5
2297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2298 (exit $ac_status); }
2299 { (ac_try="$ac_compiler -V >&5"
2301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2302 *) ac_try_echo=$ac_try;;
2304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2305 (eval "$ac_compiler -V >&5") 2>&5
2307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2308 (exit $ac_status); }
2310 cat >conftest.$ac_ext <<_ACEOF
2313 cat confdefs.h >>conftest.$ac_ext
2314 cat >>conftest.$ac_ext <<_ACEOF
2315 /* end confdefs.h. */
2325 ac_clean_files_save=$ac_clean_files
2326 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2327 # Try to create an executable without -o first, disregard a.out.
2328 # It will help us diagnose broken compilers, and finding out an intuition
2330 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2331 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2332 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2334 # List of possible output files, starting from the most likely.
2335 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2336 # only as a last resort. b.out is created by i960 compilers.
2337 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2339 # The IRIX 6 linker writes into existing files which may not be
2340 # executable, retaining their permissions. Remove them first so a
2341 # subsequent execution test works.
2343 for ac_file in $ac_files
2346 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2347 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2352 if { (ac_try="$ac_link_default"
2354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2355 *) ac_try_echo=$ac_try;;
2357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2358 (eval "$ac_link_default") 2>&5
2360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2361 (exit $ac_status); }; then
2362 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2363 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2364 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2365 # so that the user can short-circuit this test for compilers unknown to
2367 for ac_file in $ac_files ''
2369 test -f "$ac_file" || continue
2371 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2374 # We found the default executable, but exeext='' is most
2378 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2380 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2382 # We set ac_cv_exeext here because the later test for it is not
2383 # safe: cross compilers may not add the suffix if given an `-o'
2384 # argument, so we may need to know it at that point already.
2385 # Even if this section looks crufty: it has the advantage of
2392 test "$ac_cv_exeext" = no && ac_cv_exeext=
2398 { echo "$as_me:$LINENO: result: $ac_file" >&5
2399 echo "${ECHO_T}$ac_file" >&6; }
2400 if test -z "$ac_file"; then
2401 echo "$as_me: failed program was:" >&5
2402 sed 's/^/| /' conftest.$ac_ext >&5
2404 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2405 See \`config.log' for more details." >&5
2406 echo "$as_me: error: C compiler cannot create executables
2407 See \`config.log' for more details." >&2;}
2408 { (exit 77); exit 77; }; }
2411 ac_exeext=$ac_cv_exeext
2413 # Check that the compiler produces executables we can run. If not, either
2414 # the compiler is broken, or we cross compile.
2415 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2416 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2417 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2418 # If not cross compiling, check that we can run a simple program.
2419 if test "$cross_compiling" != yes; then
2420 if { ac_try='./$ac_file'
2421 { (case "(($ac_try" in
2422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2423 *) ac_try_echo=$ac_try;;
2425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2426 (eval "$ac_try") 2>&5
2428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2429 (exit $ac_status); }; }; then
2432 if test "$cross_compiling" = maybe; then
2435 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2436 If you meant to cross compile, use \`--host'.
2437 See \`config.log' for more details." >&5
2438 echo "$as_me: error: cannot run C compiled programs.
2439 If you meant to cross compile, use \`--host'.
2440 See \`config.log' for more details." >&2;}
2441 { (exit 1); exit 1; }; }
2445 { echo "$as_me:$LINENO: result: yes" >&5
2446 echo "${ECHO_T}yes" >&6; }
2448 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2449 ac_clean_files=$ac_clean_files_save
2450 # Check that the compiler produces executables we can run. If not, either
2451 # the compiler is broken, or we cross compile.
2452 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2453 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2454 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2455 echo "${ECHO_T}$cross_compiling" >&6; }
2457 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2458 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2459 if { (ac_try="$ac_link"
2461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2462 *) ac_try_echo=$ac_try;;
2464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2465 (eval "$ac_link") 2>&5
2467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2468 (exit $ac_status); }; then
2469 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2470 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2471 # work properly (i.e., refer to `conftest.exe'), while it won't with
2473 for ac_file in conftest.exe conftest conftest.*; do
2474 test -f "$ac_file" || continue
2476 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2477 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2483 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2484 See \`config.log' for more details." >&5
2485 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2486 See \`config.log' for more details." >&2;}
2487 { (exit 1); exit 1; }; }
2490 rm -f conftest$ac_cv_exeext
2491 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2492 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2494 rm -f conftest.$ac_ext
2495 EXEEXT=$ac_cv_exeext
2497 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2498 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2499 if test "${ac_cv_objext+set}" = set; then
2500 echo $ECHO_N "(cached) $ECHO_C" >&6
2502 cat >conftest.$ac_ext <<_ACEOF
2505 cat confdefs.h >>conftest.$ac_ext
2506 cat >>conftest.$ac_ext <<_ACEOF
2507 /* end confdefs.h. */
2517 rm -f conftest.o conftest.obj
2518 if { (ac_try="$ac_compile"
2520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2521 *) ac_try_echo=$ac_try;;
2523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2524 (eval "$ac_compile") 2>&5
2526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2527 (exit $ac_status); }; then
2528 for ac_file in conftest.o conftest.obj conftest.*; do
2529 test -f "$ac_file" || continue;
2531 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2532 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2537 echo "$as_me: failed program was:" >&5
2538 sed 's/^/| /' conftest.$ac_ext >&5
2540 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2541 See \`config.log' for more details." >&5
2542 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2543 See \`config.log' for more details." >&2;}
2544 { (exit 1); exit 1; }; }
2547 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2549 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2550 echo "${ECHO_T}$ac_cv_objext" >&6; }
2551 OBJEXT=$ac_cv_objext
2553 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2554 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2555 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2556 echo $ECHO_N "(cached) $ECHO_C" >&6
2558 cat >conftest.$ac_ext <<_ACEOF
2561 cat confdefs.h >>conftest.$ac_ext
2562 cat >>conftest.$ac_ext <<_ACEOF
2563 /* end confdefs.h. */
2576 rm -f conftest.$ac_objext
2577 if { (ac_try="$ac_compile"
2579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2580 *) ac_try_echo=$ac_try;;
2582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2583 (eval "$ac_compile") 2>conftest.er1
2585 grep -v '^ *+' conftest.er1 >conftest.err
2587 cat conftest.err >&5
2588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2589 (exit $ac_status); } && {
2590 test -z "$ac_c_werror_flag" ||
2591 test ! -s conftest.err
2592 } && test -s conftest.$ac_objext; then
2595 echo "$as_me: failed program was:" >&5
2596 sed 's/^/| /' conftest.$ac_ext >&5
2601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2602 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2605 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2606 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2607 GCC=`test $ac_compiler_gnu = yes && echo yes`
2608 ac_test_CFLAGS=${CFLAGS+set}
2609 ac_save_CFLAGS=$CFLAGS
2610 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2611 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2612 if test "${ac_cv_prog_cc_g+set}" = set; then
2613 echo $ECHO_N "(cached) $ECHO_C" >&6
2615 ac_save_c_werror_flag=$ac_c_werror_flag
2616 ac_c_werror_flag=yes
2619 cat >conftest.$ac_ext <<_ACEOF
2622 cat confdefs.h >>conftest.$ac_ext
2623 cat >>conftest.$ac_ext <<_ACEOF
2624 /* end confdefs.h. */
2634 rm -f conftest.$ac_objext
2635 if { (ac_try="$ac_compile"
2637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2638 *) ac_try_echo=$ac_try;;
2640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2641 (eval "$ac_compile") 2>conftest.er1
2643 grep -v '^ *+' conftest.er1 >conftest.err
2645 cat conftest.err >&5
2646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2647 (exit $ac_status); } && {
2648 test -z "$ac_c_werror_flag" ||
2649 test ! -s conftest.err
2650 } && test -s conftest.$ac_objext; then
2653 echo "$as_me: failed program was:" >&5
2654 sed 's/^/| /' conftest.$ac_ext >&5
2657 cat >conftest.$ac_ext <<_ACEOF
2660 cat confdefs.h >>conftest.$ac_ext
2661 cat >>conftest.$ac_ext <<_ACEOF
2662 /* end confdefs.h. */
2672 rm -f conftest.$ac_objext
2673 if { (ac_try="$ac_compile"
2675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2676 *) ac_try_echo=$ac_try;;
2678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2679 (eval "$ac_compile") 2>conftest.er1
2681 grep -v '^ *+' conftest.er1 >conftest.err
2683 cat conftest.err >&5
2684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2685 (exit $ac_status); } && {
2686 test -z "$ac_c_werror_flag" ||
2687 test ! -s conftest.err
2688 } && test -s conftest.$ac_objext; then
2691 echo "$as_me: failed program was:" >&5
2692 sed 's/^/| /' conftest.$ac_ext >&5
2694 ac_c_werror_flag=$ac_save_c_werror_flag
2696 cat >conftest.$ac_ext <<_ACEOF
2699 cat confdefs.h >>conftest.$ac_ext
2700 cat >>conftest.$ac_ext <<_ACEOF
2701 /* end confdefs.h. */
2711 rm -f conftest.$ac_objext
2712 if { (ac_try="$ac_compile"
2714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2715 *) ac_try_echo=$ac_try;;
2717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2718 (eval "$ac_compile") 2>conftest.er1
2720 grep -v '^ *+' conftest.er1 >conftest.err
2722 cat conftest.err >&5
2723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2724 (exit $ac_status); } && {
2725 test -z "$ac_c_werror_flag" ||
2726 test ! -s conftest.err
2727 } && test -s conftest.$ac_objext; then
2730 echo "$as_me: failed program was:" >&5
2731 sed 's/^/| /' conftest.$ac_ext >&5
2736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2743 ac_c_werror_flag=$ac_save_c_werror_flag
2745 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2746 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2747 if test "$ac_test_CFLAGS" = set; then
2748 CFLAGS=$ac_save_CFLAGS
2749 elif test $ac_cv_prog_cc_g = yes; then
2750 if test "$GCC" = yes; then
2756 if test "$GCC" = yes; then
2762 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2763 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2764 if test "${ac_cv_prog_cc_c89+set}" = set; then
2765 echo $ECHO_N "(cached) $ECHO_C" >&6
2767 ac_cv_prog_cc_c89=no
2769 cat >conftest.$ac_ext <<_ACEOF
2772 cat confdefs.h >>conftest.$ac_ext
2773 cat >>conftest.$ac_ext <<_ACEOF
2774 /* end confdefs.h. */
2777 #include <sys/types.h>
2778 #include <sys/stat.h>
2779 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2780 struct buf { int x; };
2781 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2782 static char *e (p, i)
2788 static char *f (char * (*g) (char **, int), char **p, ...)
2793 s = g (p, va_arg (v,int));
2798 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2799 function prototypes and stuff, but not '\xHH' hex character constants.
2800 These don't provoke an error unfortunately, instead are silently treated
2801 as 'x'. The following induces an error, until -std is added to get
2802 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2803 array size at least. It's necessary to write '\x00'==0 to get something
2804 that's true only with -std. */
2805 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2807 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2808 inside strings and character constants. */
2810 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2812 int test (int i, double x);
2813 struct s1 {int (*f) (int a);};
2814 struct s2 {int (*f) (double a);};
2815 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2821 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2826 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2827 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2829 CC="$ac_save_CC $ac_arg"
2830 rm -f conftest.$ac_objext
2831 if { (ac_try="$ac_compile"
2833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2834 *) ac_try_echo=$ac_try;;
2836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2837 (eval "$ac_compile") 2>conftest.er1
2839 grep -v '^ *+' conftest.er1 >conftest.err
2841 cat conftest.err >&5
2842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2843 (exit $ac_status); } && {
2844 test -z "$ac_c_werror_flag" ||
2845 test ! -s conftest.err
2846 } && test -s conftest.$ac_objext; then
2847 ac_cv_prog_cc_c89=$ac_arg
2849 echo "$as_me: failed program was:" >&5
2850 sed 's/^/| /' conftest.$ac_ext >&5
2855 rm -f core conftest.err conftest.$ac_objext
2856 test "x$ac_cv_prog_cc_c89" != "xno" && break
2858 rm -f conftest.$ac_ext
2863 case "x$ac_cv_prog_cc_c89" in
2865 { echo "$as_me:$LINENO: result: none needed" >&5
2866 echo "${ECHO_T}none needed" >&6; } ;;
2868 { echo "$as_me:$LINENO: result: unsupported" >&5
2869 echo "${ECHO_T}unsupported" >&6; } ;;
2871 CC="$CC $ac_cv_prog_cc_c89"
2872 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2873 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2878 ac_cpp='$CPP $CPPFLAGS'
2879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2884 ac_cpp='$CXXCPP $CPPFLAGS'
2885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2888 if test -z "$CXX"; then
2889 if test -n "$CCC"; then
2892 if test -n "$ac_tool_prefix"; then
2893 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2895 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2896 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2897 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2899 if test "${ac_cv_prog_CXX+set}" = set; then
2900 echo $ECHO_N "(cached) $ECHO_C" >&6
2902 if test -n "$CXX"; then
2903 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2909 test -z "$as_dir" && as_dir=.
2910 for ac_exec_ext in '' $ac_executable_extensions; do
2911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2912 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2923 if test -n "$CXX"; then
2924 { echo "$as_me:$LINENO: result: $CXX" >&5
2925 echo "${ECHO_T}$CXX" >&6; }
2927 { echo "$as_me:$LINENO: result: no" >&5
2928 echo "${ECHO_T}no" >&6; }
2932 test -n "$CXX" && break
2935 if test -z "$CXX"; then
2937 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2939 # Extract the first word of "$ac_prog", so it can be a program name with args.
2940 set dummy $ac_prog; ac_word=$2
2941 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2943 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2944 echo $ECHO_N "(cached) $ECHO_C" >&6
2946 if test -n "$ac_ct_CXX"; then
2947 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2953 test -z "$as_dir" && as_dir=.
2954 for ac_exec_ext in '' $ac_executable_extensions; do
2955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2956 ac_cv_prog_ac_ct_CXX="$ac_prog"
2957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2966 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2967 if test -n "$ac_ct_CXX"; then
2968 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2969 echo "${ECHO_T}$ac_ct_CXX" >&6; }
2971 { echo "$as_me:$LINENO: result: no" >&5
2972 echo "${ECHO_T}no" >&6; }
2976 test -n "$ac_ct_CXX" && break
2979 if test "x$ac_ct_CXX" = x; then
2982 case $cross_compiling:$ac_tool_warned in
2984 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2985 whose name does not start with the host triplet. If you think this
2986 configuration is useful to you, please write to autoconf@gnu.org." >&5
2987 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2988 whose name does not start with the host triplet. If you think this
2989 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2990 ac_tool_warned=yes ;;
2998 # Provide some information about the compiler.
2999 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3000 ac_compiler=`set X $ac_compile; echo $2`
3001 { (ac_try="$ac_compiler --version >&5"
3003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3004 *) ac_try_echo=$ac_try;;
3006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3007 (eval "$ac_compiler --version >&5") 2>&5
3009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3010 (exit $ac_status); }
3011 { (ac_try="$ac_compiler -v >&5"
3013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3014 *) ac_try_echo=$ac_try;;
3016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3017 (eval "$ac_compiler -v >&5") 2>&5
3019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3020 (exit $ac_status); }
3021 { (ac_try="$ac_compiler -V >&5"
3023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3024 *) ac_try_echo=$ac_try;;
3026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3027 (eval "$ac_compiler -V >&5") 2>&5
3029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3030 (exit $ac_status); }
3032 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3033 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3034 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3035 echo $ECHO_N "(cached) $ECHO_C" >&6
3037 cat >conftest.$ac_ext <<_ACEOF
3040 cat confdefs.h >>conftest.$ac_ext
3041 cat >>conftest.$ac_ext <<_ACEOF
3042 /* end confdefs.h. */
3055 rm -f conftest.$ac_objext
3056 if { (ac_try="$ac_compile"
3058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3059 *) ac_try_echo=$ac_try;;
3061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3062 (eval "$ac_compile") 2>conftest.er1
3064 grep -v '^ *+' conftest.er1 >conftest.err
3066 cat conftest.err >&5
3067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3068 (exit $ac_status); } && {
3069 test -z "$ac_cxx_werror_flag" ||
3070 test ! -s conftest.err
3071 } && test -s conftest.$ac_objext; then
3074 echo "$as_me: failed program was:" >&5
3075 sed 's/^/| /' conftest.$ac_ext >&5
3080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3081 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3084 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3085 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3086 GXX=`test $ac_compiler_gnu = yes && echo yes`
3087 ac_test_CXXFLAGS=${CXXFLAGS+set}
3088 ac_save_CXXFLAGS=$CXXFLAGS
3089 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3090 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3091 if test "${ac_cv_prog_cxx_g+set}" = set; then
3092 echo $ECHO_N "(cached) $ECHO_C" >&6
3094 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3095 ac_cxx_werror_flag=yes
3098 cat >conftest.$ac_ext <<_ACEOF
3101 cat confdefs.h >>conftest.$ac_ext
3102 cat >>conftest.$ac_ext <<_ACEOF
3103 /* end confdefs.h. */
3113 rm -f conftest.$ac_objext
3114 if { (ac_try="$ac_compile"
3116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3117 *) ac_try_echo=$ac_try;;
3119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3120 (eval "$ac_compile") 2>conftest.er1
3122 grep -v '^ *+' conftest.er1 >conftest.err
3124 cat conftest.err >&5
3125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3126 (exit $ac_status); } && {
3127 test -z "$ac_cxx_werror_flag" ||
3128 test ! -s conftest.err
3129 } && test -s conftest.$ac_objext; then
3130 ac_cv_prog_cxx_g=yes
3132 echo "$as_me: failed program was:" >&5
3133 sed 's/^/| /' conftest.$ac_ext >&5
3136 cat >conftest.$ac_ext <<_ACEOF
3139 cat confdefs.h >>conftest.$ac_ext
3140 cat >>conftest.$ac_ext <<_ACEOF
3141 /* end confdefs.h. */
3151 rm -f conftest.$ac_objext
3152 if { (ac_try="$ac_compile"
3154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3155 *) ac_try_echo=$ac_try;;
3157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3158 (eval "$ac_compile") 2>conftest.er1
3160 grep -v '^ *+' conftest.er1 >conftest.err
3162 cat conftest.err >&5
3163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3164 (exit $ac_status); } && {
3165 test -z "$ac_cxx_werror_flag" ||
3166 test ! -s conftest.err
3167 } && test -s conftest.$ac_objext; then
3170 echo "$as_me: failed program was:" >&5
3171 sed 's/^/| /' conftest.$ac_ext >&5
3173 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3175 cat >conftest.$ac_ext <<_ACEOF
3178 cat confdefs.h >>conftest.$ac_ext
3179 cat >>conftest.$ac_ext <<_ACEOF
3180 /* end confdefs.h. */
3190 rm -f conftest.$ac_objext
3191 if { (ac_try="$ac_compile"
3193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3194 *) ac_try_echo=$ac_try;;
3196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3197 (eval "$ac_compile") 2>conftest.er1
3199 grep -v '^ *+' conftest.er1 >conftest.err
3201 cat conftest.err >&5
3202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3203 (exit $ac_status); } && {
3204 test -z "$ac_cxx_werror_flag" ||
3205 test ! -s conftest.err
3206 } && test -s conftest.$ac_objext; then
3207 ac_cv_prog_cxx_g=yes
3209 echo "$as_me: failed program was:" >&5
3210 sed 's/^/| /' conftest.$ac_ext >&5
3215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3222 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3224 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3225 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3226 if test "$ac_test_CXXFLAGS" = set; then
3227 CXXFLAGS=$ac_save_CXXFLAGS
3228 elif test $ac_cv_prog_cxx_g = yes; then
3229 if test "$GXX" = yes; then
3235 if test "$GXX" = yes; then
3242 ac_cpp='$CPP $CPPFLAGS'
3243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3250 { echo "$as_me:$LINENO: checking whether gcc supports lazy variable declaration" >&5
3251 echo $ECHO_N "checking whether gcc supports lazy variable declaration... $ECHO_C" >&6; }
3253 cat > conftest.c << EOF
3257 int main (int argc, char*argv)
3267 testprog_link='$CC $CPPFLAGS $CFLAGS conftest.c -o conftest${ac_exeext}'
3268 if { (eval echo gcc.2.95.m4:19: \"$testprog_link\") 1>&5; (eval $testprog_link) 2>&5; } && test -s conftest${ac_exeext}; then
3269 { echo "$as_me:$LINENO: result: yes" >&5
3270 echo "${ECHO_T}yes" >&6; }
3274 echo "configure: failed program was:" >&5
3276 { echo "$as_me:$LINENO: result: no" >&5
3277 echo "${ECHO_T}no" >&6; }
3282 if test "x$GCC_IS_OK" '=' "x";then
3283 echo "***************************************************"
3284 echo "* Your gcc is too old to compile this!"
3286 echo "* The last version compilable by this compiler is "
3287 echo "* swftools 0.7.0, which you can download from "
3288 echo "* http://www.swftools.org/swftools-0.7.0.tar.gz "
3290 echo "* Newer versions require at least gcc 3.0.0 "
3291 echo "***************************************************"
3295 if test "x$CHECKMEM" '!=' "x";then
3299 #unset ac_cv_prog_CC
3300 #unset ac_cv_prog_CXX
3305 ac_cpp='$CPP $CPPFLAGS'
3306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3309 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3310 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3311 # On Suns, sometimes $CPP names a directory.
3312 if test -n "$CPP" && test -d "$CPP"; then
3315 if test -z "$CPP"; then
3316 if test "${ac_cv_prog_CPP+set}" = set; then
3317 echo $ECHO_N "(cached) $ECHO_C" >&6
3319 # Double quotes because CPP needs to be expanded
3320 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3323 for ac_c_preproc_warn_flag in '' yes
3325 # Use a header file that comes with gcc, so configuring glibc
3326 # with a fresh cross-compiler works.
3327 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3328 # <limits.h> exists even on freestanding compilers.
3329 # On the NeXT, cc -E runs the code through the compiler's parser,
3330 # not just through cpp. "Syntax error" is here to catch this case.
3331 cat >conftest.$ac_ext <<_ACEOF
3334 cat confdefs.h >>conftest.$ac_ext
3335 cat >>conftest.$ac_ext <<_ACEOF
3336 /* end confdefs.h. */
3338 # include <limits.h>
3340 # include <assert.h>
3344 if { (ac_try="$ac_cpp conftest.$ac_ext"
3346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3347 *) ac_try_echo=$ac_try;;
3349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3350 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3352 grep -v '^ *+' conftest.er1 >conftest.err
3354 cat conftest.err >&5
3355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3356 (exit $ac_status); } >/dev/null && {
3357 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3358 test ! -s conftest.err
3362 echo "$as_me: failed program was:" >&5
3363 sed 's/^/| /' conftest.$ac_ext >&5
3365 # Broken: fails on valid input.
3369 rm -f conftest.err conftest.$ac_ext
3371 # OK, works on sane cases. Now check whether nonexistent headers
3372 # can be detected and how.
3373 cat >conftest.$ac_ext <<_ACEOF
3376 cat confdefs.h >>conftest.$ac_ext
3377 cat >>conftest.$ac_ext <<_ACEOF
3378 /* end confdefs.h. */
3379 #include <ac_nonexistent.h>
3381 if { (ac_try="$ac_cpp conftest.$ac_ext"
3383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3384 *) ac_try_echo=$ac_try;;
3386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3387 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3389 grep -v '^ *+' conftest.er1 >conftest.err
3391 cat conftest.err >&5
3392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3393 (exit $ac_status); } >/dev/null && {
3394 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3395 test ! -s conftest.err
3397 # Broken: success on invalid input.
3400 echo "$as_me: failed program was:" >&5
3401 sed 's/^/| /' conftest.$ac_ext >&5
3403 # Passes both tests.
3408 rm -f conftest.err conftest.$ac_ext
3411 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3412 rm -f conftest.err conftest.$ac_ext
3413 if $ac_preproc_ok; then
3425 { echo "$as_me:$LINENO: result: $CPP" >&5
3426 echo "${ECHO_T}$CPP" >&6; }
3428 for ac_c_preproc_warn_flag in '' yes
3430 # Use a header file that comes with gcc, so configuring glibc
3431 # with a fresh cross-compiler works.
3432 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3433 # <limits.h> exists even on freestanding compilers.
3434 # On the NeXT, cc -E runs the code through the compiler's parser,
3435 # not just through cpp. "Syntax error" is here to catch this case.
3436 cat >conftest.$ac_ext <<_ACEOF
3439 cat confdefs.h >>conftest.$ac_ext
3440 cat >>conftest.$ac_ext <<_ACEOF
3441 /* end confdefs.h. */
3443 # include <limits.h>
3445 # include <assert.h>
3449 if { (ac_try="$ac_cpp conftest.$ac_ext"
3451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3452 *) ac_try_echo=$ac_try;;
3454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3455 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3457 grep -v '^ *+' conftest.er1 >conftest.err
3459 cat conftest.err >&5
3460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3461 (exit $ac_status); } >/dev/null && {
3462 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3463 test ! -s conftest.err
3467 echo "$as_me: failed program was:" >&5
3468 sed 's/^/| /' conftest.$ac_ext >&5
3470 # Broken: fails on valid input.
3474 rm -f conftest.err conftest.$ac_ext
3476 # OK, works on sane cases. Now check whether nonexistent headers
3477 # can be detected and how.
3478 cat >conftest.$ac_ext <<_ACEOF
3481 cat confdefs.h >>conftest.$ac_ext
3482 cat >>conftest.$ac_ext <<_ACEOF
3483 /* end confdefs.h. */
3484 #include <ac_nonexistent.h>
3486 if { (ac_try="$ac_cpp conftest.$ac_ext"
3488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3489 *) ac_try_echo=$ac_try;;
3491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3492 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3494 grep -v '^ *+' conftest.er1 >conftest.err
3496 cat conftest.err >&5
3497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3498 (exit $ac_status); } >/dev/null && {
3499 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3500 test ! -s conftest.err
3502 # Broken: success on invalid input.
3505 echo "$as_me: failed program was:" >&5
3506 sed 's/^/| /' conftest.$ac_ext >&5
3508 # Passes both tests.
3513 rm -f conftest.err conftest.$ac_ext
3516 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3517 rm -f conftest.err conftest.$ac_ext
3518 if $ac_preproc_ok; then
3521 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3522 See \`config.log' for more details." >&5
3523 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3524 See \`config.log' for more details." >&2;}
3525 { (exit 1); exit 1; }; }
3529 ac_cpp='$CPP $CPPFLAGS'
3530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3535 if test -n "$ac_tool_prefix"; then
3536 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3537 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3538 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3539 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3540 if test "${ac_cv_prog_RANLIB+set}" = set; then
3541 echo $ECHO_N "(cached) $ECHO_C" >&6
3543 if test -n "$RANLIB"; then
3544 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3550 test -z "$as_dir" && as_dir=.
3551 for ac_exec_ext in '' $ac_executable_extensions; do
3552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3553 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3554 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3563 RANLIB=$ac_cv_prog_RANLIB
3564 if test -n "$RANLIB"; then
3565 { echo "$as_me:$LINENO: result: $RANLIB" >&5
3566 echo "${ECHO_T}$RANLIB" >&6; }
3568 { echo "$as_me:$LINENO: result: no" >&5
3569 echo "${ECHO_T}no" >&6; }
3574 if test -z "$ac_cv_prog_RANLIB"; then
3575 ac_ct_RANLIB=$RANLIB
3576 # Extract the first word of "ranlib", so it can be a program name with args.
3577 set dummy ranlib; ac_word=$2
3578 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3580 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3581 echo $ECHO_N "(cached) $ECHO_C" >&6
3583 if test -n "$ac_ct_RANLIB"; then
3584 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3590 test -z "$as_dir" && as_dir=.
3591 for ac_exec_ext in '' $ac_executable_extensions; do
3592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3593 ac_cv_prog_ac_ct_RANLIB="ranlib"
3594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3603 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3604 if test -n "$ac_ct_RANLIB"; then
3605 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3606 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
3608 { echo "$as_me:$LINENO: result: no" >&5
3609 echo "${ECHO_T}no" >&6; }
3612 if test "x$ac_ct_RANLIB" = x; then
3615 case $cross_compiling:$ac_tool_warned in
3617 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3618 whose name does not start with the host triplet. If you think this
3619 configuration is useful to you, please write to autoconf@gnu.org." >&5
3620 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3621 whose name does not start with the host triplet. If you think this
3622 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3623 ac_tool_warned=yes ;;
3625 RANLIB=$ac_ct_RANLIB
3628 RANLIB="$ac_cv_prog_RANLIB"
3631 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3632 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
3633 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3634 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3635 echo $ECHO_N "(cached) $ECHO_C" >&6
3637 cat >conftest.make <<\_ACEOF
3640 @echo '@@@%%%=$(MAKE)=@@@%%%'
3642 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3643 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3645 eval ac_cv_prog_make_${ac_make}_set=yes;;
3647 eval ac_cv_prog_make_${ac_make}_set=no;;
3651 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3652 { echo "$as_me:$LINENO: result: yes" >&5
3653 echo "${ECHO_T}yes" >&6; }
3656 { echo "$as_me:$LINENO: result: no" >&5
3657 echo "${ECHO_T}no" >&6; }
3658 SET_MAKE="MAKE=${MAKE-make}"
3661 # Find a good install program. We prefer a C program (faster),
3662 # so one script is as good as another. But avoid the broken or
3663 # incompatible versions:
3664 # SysV /etc/install, /usr/sbin/install
3665 # SunOS /usr/etc/install
3666 # IRIX /sbin/install
3668 # AmigaOS /C/install, which installs bootblocks on floppy discs
3669 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3670 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3671 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3672 # OS/2's system install, which has a completely different semantic
3673 # ./install, which can be erroneously created by make from ./install.sh.
3674 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3675 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3676 if test -z "$INSTALL"; then
3677 if test "${ac_cv_path_install+set}" = set; then
3678 echo $ECHO_N "(cached) $ECHO_C" >&6
3680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3684 test -z "$as_dir" && as_dir=.
3685 # Account for people who put trailing slashes in PATH elements.
3687 ./ | .// | /cC/* | \
3688 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3689 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3692 # OSF1 and SCO ODT 3.0 have their own names for install.
3693 # Don't use installbsd from OSF since it installs stuff as root
3695 for ac_prog in ginstall scoinst install; do
3696 for ac_exec_ext in '' $ac_executable_extensions; do
3697 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3698 if test $ac_prog = install &&
3699 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3700 # AIX install. It has an incompatible calling convention.
3702 elif test $ac_prog = install &&
3703 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3704 # program-specific install script used by HP pwplus--don't use.
3707 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3720 if test "${ac_cv_path_install+set}" = set; then
3721 INSTALL=$ac_cv_path_install
3723 # As a last resort, use the slow shell script. Don't cache a
3724 # value for INSTALL within a source directory, because that will
3725 # break other packages using the cache if that directory is
3726 # removed, or if the value is a relative name.
3727 INSTALL=$ac_install_sh
3730 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3731 echo "${ECHO_T}$INSTALL" >&6; }
3733 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3734 # It thinks the first close brace ends the variable substitution.
3735 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3737 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3739 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3741 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
3742 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3744 if test "$LN_S" = "ln -s"; then
3745 { echo "$as_me:$LINENO: result: yes" >&5
3746 echo "${ECHO_T}yes" >&6; }
3748 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3749 echo "${ECHO_T}no, using $LN_S" >&6; }
3752 for ac_prog in gzip uncompress compress
3754 # Extract the first word of "$ac_prog", so it can be a program name with args.
3755 set dummy $ac_prog; ac_word=$2
3756 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3758 if test "${ac_cv_prog_UNCOMPRESS+set}" = set; then
3759 echo $ECHO_N "(cached) $ECHO_C" >&6
3761 if test -n "$UNCOMPRESS"; then
3762 ac_cv_prog_UNCOMPRESS="$UNCOMPRESS" # Let the user override the test.
3764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3768 test -z "$as_dir" && as_dir=.
3769 for ac_exec_ext in '' $ac_executable_extensions; do
3770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3771 ac_cv_prog_UNCOMPRESS="$ac_prog"
3772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3781 UNCOMPRESS=$ac_cv_prog_UNCOMPRESS
3782 if test -n "$UNCOMPRESS"; then
3783 { echo "$as_me:$LINENO: result: $UNCOMPRESS" >&5
3784 echo "${ECHO_T}$UNCOMPRESS" >&6; }
3786 { echo "$as_me:$LINENO: result: no" >&5
3787 echo "${ECHO_T}no" >&6; }
3791 test -n "$UNCOMPRESS" && break
3801 if test "x$EXEEXT" = "x.exe";then
3810 { echo "$as_me:$LINENO: checking host system type" >&5
3811 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3812 if test "${ac_cv_host+set}" = set; then
3813 echo $ECHO_N "(cached) $ECHO_C" >&6
3815 if test "x$host_alias" = x; then
3816 ac_cv_host=$ac_cv_build
3818 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3819 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3820 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3821 { (exit 1); exit 1; }; }
3825 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3826 echo "${ECHO_T}$ac_cv_host" >&6; }
3829 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3830 echo "$as_me: error: invalid value of canonical host" >&2;}
3831 { (exit 1); exit 1; }; };;
3834 ac_save_IFS=$IFS; IFS='-'
3840 # Remember, the first character of IFS is used to create $*,
3841 # except with old shells:
3844 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3849 { echo "$as_me:$LINENO: checking for target system" >&5
3850 echo $ECHO_N "checking for target system... $ECHO_C" >&6; }
3854 *cygwin* ) CYGWIN=yes;;
3855 *mingw* ) MINGW=yes;;
3859 if test "x$MINGW" = "xyes"; then
3860 #fix for the debian distribution of mingw
3861 if test -x "/usr/i586-mingw32msvc/bin/ar";then
3862 AR="/usr/i586-mingw32msvc/bin/ar"
3864 if test -x "/usr/i586-mingw32msvc/bin/ranlib";then
3865 RANLIB="/usr/i586-mingw32msvc/bin/ranlib"
3867 #fix for the gentoo distribution of mingw
3868 if test -x "/opt/xmingw/bin/i386-mingw32msvc-ar";then
3869 AR="/opt/xmingw/bin/i386-mingw32msvc-ar"
3871 if test -x "/opt/xmingw/bin/i386-mingw32msvc-ranlib";then
3872 RANLIB="/opt/xmingw/bin/i386-mingw32msvc-ranlib"
3874 if test -x "/opt/xmingw/bin/i386-mingw32msvc-strip";then
3875 STRIP="/opt/xmingw/bin/i386-mingw32msvc-strip"
3881 if test "x${CYGWIN}" = "xyes"; then
3882 cat >>confdefs.h <<_ACEOF
3886 { echo "$as_me:$LINENO: result: cygwin" >&5
3887 echo "${ECHO_T}cygwin" >&6; }
3889 if test "x${MINGW}" = "xyes"; then
3890 cat >>confdefs.h <<_ACEOF
3895 cat >>confdefs.h <<_ACEOF
3899 LIBS="$LIBS -lws2_32 -lgdi32"
3900 { echo "$as_me:$LINENO: result: mingw" >&5
3901 echo "${ECHO_T}mingw" >&6; }
3905 cat >>confdefs.h <<_ACEOF
3909 { echo "$as_me:$LINENO: result: " >&5
3910 echo "${ECHO_T}" >&6; }
3916 if test "x${MINGW}" != "xyes"; then
3918 cat >>confdefs.h <<_ACEOF
3931 # The following tries to make use of includes and libraries in
3932 # /usr/local, too. Notice: A -I/usr/local/include might break
3933 # things (MingW, cross-compiling etc.) in the same way as -I/usr/include,
3934 # especially on systems which link /usr/local to /usr, so it has yet
3935 # to be seen how useful this is.
3936 if test -d /usr/local/lib; then
3937 LDFLAGS="$LDFLAGS -L/usr/local/lib"
3939 if test -d /usr/local/include; then
3940 # Leave that alone. It's causing trouble e.g. with gcc 3.2 on gentoo.
3941 # CPPFLAGS="$CPPFLAGS -I/usr/local/include"
3944 if test "$prefix" != "NONE" -a "$prefix" != "/usr/local" -a "$prefix" != "/usr/local/"; then
3945 # if the user has a special prefix (like /opt), there might also be $prefix/lib
3946 # and $prefix/include, which should be included in our search paths for libraries
3948 LDFLAGS="$LDFLAGS -L${libdir}"
3949 CPPFLAGS="$CPPFLAGS -I${includedir}"
3950 # TODO- test whether gcc still works after this
3954 #LDFLAGS "-L/sw/lib" ; CPPFLAGS "-I/sw/include -I/sw/include/lame"
3957 # this must be done after (I believe) AC_PROG_MAKE_SET
3958 if test "x$DEBUG" '!=' "x" -o "x$STRIP" = "x";then
3959 STRIP="@echo debug enabled, not stripping "
3966 { echo "$as_me:$LINENO: checking for sin in -lm" >&5
3967 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6; }
3968 if test "${ac_cv_lib_m_sin+set}" = set; then
3969 echo $ECHO_N "(cached) $ECHO_C" >&6
3971 ac_check_lib_save_LIBS=$LIBS
3973 cat >conftest.$ac_ext <<_ACEOF
3976 cat confdefs.h >>conftest.$ac_ext
3977 cat >>conftest.$ac_ext <<_ACEOF
3978 /* end confdefs.h. */
3980 /* Override any GCC internal prototype to avoid an error.
3981 Use char because int might match the return type of a GCC
3982 builtin and then its argument prototype would still apply. */
3995 rm -f conftest.$ac_objext conftest$ac_exeext
3996 if { (ac_try="$ac_link"
3998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3999 *) ac_try_echo=$ac_try;;
4001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4002 (eval "$ac_link") 2>conftest.er1
4004 grep -v '^ *+' conftest.er1 >conftest.err
4006 cat conftest.err >&5
4007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4008 (exit $ac_status); } && {
4009 test -z "$ac_c_werror_flag" ||
4010 test ! -s conftest.err
4011 } && test -s conftest$ac_exeext &&
4012 $as_test_x conftest$ac_exeext; then
4015 echo "$as_me: failed program was:" >&5
4016 sed 's/^/| /' conftest.$ac_ext >&5
4021 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4022 conftest$ac_exeext conftest.$ac_ext
4023 LIBS=$ac_check_lib_save_LIBS
4025 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
4026 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6; }
4027 if test $ac_cv_lib_m_sin = yes; then
4028 cat >>confdefs.h <<_ACEOF
4035 echo "Error: Math library not found.";
4041 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
4042 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
4043 if test "${ac_cv_lib_z_deflate+set}" = set; then
4044 echo $ECHO_N "(cached) $ECHO_C" >&6
4046 ac_check_lib_save_LIBS=$LIBS
4048 cat >conftest.$ac_ext <<_ACEOF
4051 cat confdefs.h >>conftest.$ac_ext
4052 cat >>conftest.$ac_ext <<_ACEOF
4053 /* end confdefs.h. */
4055 /* Override any GCC internal prototype to avoid an error.
4056 Use char because int might match the return type of a GCC
4057 builtin and then its argument prototype would still apply. */
4070 rm -f conftest.$ac_objext conftest$ac_exeext
4071 if { (ac_try="$ac_link"
4073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4074 *) ac_try_echo=$ac_try;;
4076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4077 (eval "$ac_link") 2>conftest.er1
4079 grep -v '^ *+' conftest.er1 >conftest.err
4081 cat conftest.err >&5
4082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4083 (exit $ac_status); } && {
4084 test -z "$ac_c_werror_flag" ||
4085 test ! -s conftest.err
4086 } && test -s conftest$ac_exeext &&
4087 $as_test_x conftest$ac_exeext; then
4088 ac_cv_lib_z_deflate=yes
4090 echo "$as_me: failed program was:" >&5
4091 sed 's/^/| /' conftest.$ac_ext >&5
4093 ac_cv_lib_z_deflate=no
4096 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4097 conftest$ac_exeext conftest.$ac_ext
4098 LIBS=$ac_check_lib_save_LIBS
4100 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
4101 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
4102 if test $ac_cv_lib_z_deflate = yes; then
4103 cat >>confdefs.h <<_ACEOF
4114 if test "x$ZLIBMISSING" = "xtrue";then
4117 echo "You need zlib to compile swftools"
4123 { echo "$as_me:$LINENO: checking for jpeg_write_raw_data in -ljpeg" >&5
4124 echo $ECHO_N "checking for jpeg_write_raw_data in -ljpeg... $ECHO_C" >&6; }
4125 if test "${ac_cv_lib_jpeg_jpeg_write_raw_data+set}" = set; then
4126 echo $ECHO_N "(cached) $ECHO_C" >&6
4128 ac_check_lib_save_LIBS=$LIBS
4130 cat >conftest.$ac_ext <<_ACEOF
4133 cat confdefs.h >>conftest.$ac_ext
4134 cat >>conftest.$ac_ext <<_ACEOF
4135 /* end confdefs.h. */
4137 /* Override any GCC internal prototype to avoid an error.
4138 Use char because int might match the return type of a GCC
4139 builtin and then its argument prototype would still apply. */
4143 char jpeg_write_raw_data ();
4147 return jpeg_write_raw_data ();
4152 rm -f conftest.$ac_objext conftest$ac_exeext
4153 if { (ac_try="$ac_link"
4155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4156 *) ac_try_echo=$ac_try;;
4158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4159 (eval "$ac_link") 2>conftest.er1
4161 grep -v '^ *+' conftest.er1 >conftest.err
4163 cat conftest.err >&5
4164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4165 (exit $ac_status); } && {
4166 test -z "$ac_c_werror_flag" ||
4167 test ! -s conftest.err
4168 } && test -s conftest$ac_exeext &&
4169 $as_test_x conftest$ac_exeext; then
4170 ac_cv_lib_jpeg_jpeg_write_raw_data=yes
4172 echo "$as_me: failed program was:" >&5
4173 sed 's/^/| /' conftest.$ac_ext >&5
4175 ac_cv_lib_jpeg_jpeg_write_raw_data=no
4178 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4179 conftest$ac_exeext conftest.$ac_ext
4180 LIBS=$ac_check_lib_save_LIBS
4182 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_write_raw_data" >&5
4183 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_write_raw_data" >&6; }
4184 if test $ac_cv_lib_jpeg_jpeg_write_raw_data = yes; then
4185 cat >>confdefs.h <<_ACEOF
4186 #define HAVE_LIBJPEG 1
4196 { echo "$as_me:$LINENO: checking for T1_LoadFont in -lt1" >&5
4197 echo $ECHO_N "checking for T1_LoadFont in -lt1... $ECHO_C" >&6; }
4198 if test "${ac_cv_lib_t1_T1_LoadFont+set}" = set; then
4199 echo $ECHO_N "(cached) $ECHO_C" >&6
4201 ac_check_lib_save_LIBS=$LIBS
4203 cat >conftest.$ac_ext <<_ACEOF
4206 cat confdefs.h >>conftest.$ac_ext
4207 cat >>conftest.$ac_ext <<_ACEOF
4208 /* end confdefs.h. */
4210 /* Override any GCC internal prototype to avoid an error.
4211 Use char because int might match the return type of a GCC
4212 builtin and then its argument prototype would still apply. */
4216 char T1_LoadFont ();
4220 return T1_LoadFont ();
4225 rm -f conftest.$ac_objext conftest$ac_exeext
4226 if { (ac_try="$ac_link"
4228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4229 *) ac_try_echo=$ac_try;;
4231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4232 (eval "$ac_link") 2>conftest.er1
4234 grep -v '^ *+' conftest.er1 >conftest.err
4236 cat conftest.err >&5
4237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4238 (exit $ac_status); } && {
4239 test -z "$ac_c_werror_flag" ||
4240 test ! -s conftest.err
4241 } && test -s conftest$ac_exeext &&
4242 $as_test_x conftest$ac_exeext; then
4243 ac_cv_lib_t1_T1_LoadFont=yes
4245 echo "$as_me: failed program was:" >&5
4246 sed 's/^/| /' conftest.$ac_ext >&5
4248 ac_cv_lib_t1_T1_LoadFont=no
4251 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4252 conftest$ac_exeext conftest.$ac_ext
4253 LIBS=$ac_check_lib_save_LIBS
4255 { echo "$as_me:$LINENO: result: $ac_cv_lib_t1_T1_LoadFont" >&5
4256 echo "${ECHO_T}$ac_cv_lib_t1_T1_LoadFont" >&6; }
4257 if test $ac_cv_lib_t1_T1_LoadFont = yes; then
4258 cat >>confdefs.h <<_ACEOF
4259 #define HAVE_LIBT1 1
4269 { echo "$as_me:$LINENO: checking for DGifOpen in -lungif" >&5
4270 echo $ECHO_N "checking for DGifOpen in -lungif... $ECHO_C" >&6; }
4271 if test "${ac_cv_lib_ungif_DGifOpen+set}" = set; then
4272 echo $ECHO_N "(cached) $ECHO_C" >&6
4274 ac_check_lib_save_LIBS=$LIBS
4275 LIBS="-lungif $LIBS"
4276 cat >conftest.$ac_ext <<_ACEOF
4279 cat confdefs.h >>conftest.$ac_ext
4280 cat >>conftest.$ac_ext <<_ACEOF
4281 /* end confdefs.h. */
4283 /* Override any GCC internal prototype to avoid an error.
4284 Use char because int might match the return type of a GCC
4285 builtin and then its argument prototype would still apply. */
4298 rm -f conftest.$ac_objext conftest$ac_exeext
4299 if { (ac_try="$ac_link"
4301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4302 *) ac_try_echo=$ac_try;;
4304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4305 (eval "$ac_link") 2>conftest.er1
4307 grep -v '^ *+' conftest.er1 >conftest.err
4309 cat conftest.err >&5
4310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4311 (exit $ac_status); } && {
4312 test -z "$ac_c_werror_flag" ||
4313 test ! -s conftest.err
4314 } && test -s conftest$ac_exeext &&
4315 $as_test_x conftest$ac_exeext; then
4316 ac_cv_lib_ungif_DGifOpen=yes
4318 echo "$as_me: failed program was:" >&5
4319 sed 's/^/| /' conftest.$ac_ext >&5
4321 ac_cv_lib_ungif_DGifOpen=no
4324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4325 conftest$ac_exeext conftest.$ac_ext
4326 LIBS=$ac_check_lib_save_LIBS
4328 { echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_DGifOpen" >&5
4329 echo "${ECHO_T}$ac_cv_lib_ungif_DGifOpen" >&6; }
4330 if test $ac_cv_lib_ungif_DGifOpen = yes; then
4331 cat >>confdefs.h <<_ACEOF
4332 #define HAVE_LIBUNGIF 1
4335 LIBS="-lungif $LIBS"
4341 if test "$UNGIFMISSING";then
4344 { echo "$as_me:$LINENO: checking for DGifOpen in -lgif" >&5
4345 echo $ECHO_N "checking for DGifOpen in -lgif... $ECHO_C" >&6; }
4346 if test "${ac_cv_lib_gif_DGifOpen+set}" = set; then
4347 echo $ECHO_N "(cached) $ECHO_C" >&6
4349 ac_check_lib_save_LIBS=$LIBS
4351 cat >conftest.$ac_ext <<_ACEOF
4354 cat confdefs.h >>conftest.$ac_ext
4355 cat >>conftest.$ac_ext <<_ACEOF
4356 /* end confdefs.h. */
4358 /* Override any GCC internal prototype to avoid an error.
4359 Use char because int might match the return type of a GCC
4360 builtin and then its argument prototype would still apply. */
4373 rm -f conftest.$ac_objext conftest$ac_exeext
4374 if { (ac_try="$ac_link"
4376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4377 *) ac_try_echo=$ac_try;;
4379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4380 (eval "$ac_link") 2>conftest.er1
4382 grep -v '^ *+' conftest.er1 >conftest.err
4384 cat conftest.err >&5
4385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4386 (exit $ac_status); } && {
4387 test -z "$ac_c_werror_flag" ||
4388 test ! -s conftest.err
4389 } && test -s conftest$ac_exeext &&
4390 $as_test_x conftest$ac_exeext; then
4391 ac_cv_lib_gif_DGifOpen=yes
4393 echo "$as_me: failed program was:" >&5
4394 sed 's/^/| /' conftest.$ac_ext >&5
4396 ac_cv_lib_gif_DGifOpen=no
4399 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4400 conftest$ac_exeext conftest.$ac_ext
4401 LIBS=$ac_check_lib_save_LIBS
4403 { echo "$as_me:$LINENO: result: $ac_cv_lib_gif_DGifOpen" >&5
4404 echo "${ECHO_T}$ac_cv_lib_gif_DGifOpen" >&6; }
4405 if test $ac_cv_lib_gif_DGifOpen = yes; then
4406 cat >>confdefs.h <<_ACEOF
4407 #define HAVE_LIBGIF 1
4419 { echo "$as_me:$LINENO: checking for byte order" >&5
4420 echo $ECHO_N "checking for byte order... $ECHO_C" >&6; }
4421 if test "$cross_compiling" = yes; then
4424 cat >conftest.$ac_ext <<_ACEOF
4427 cat confdefs.h >>conftest.$ac_ext
4428 cat >>conftest.$ac_ext <<_ACEOF
4429 /* end confdefs.h. */
4431 int main (int argc, char *argv[])
4438 rm -f conftest$ac_exeext
4439 if { (ac_try="$ac_link"
4441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4442 *) ac_try_echo=$ac_try;;
4444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4445 (eval "$ac_link") 2>&5
4447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4448 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4449 { (case "(($ac_try" in
4450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4451 *) ac_try_echo=$ac_try;;
4453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4454 (eval "$ac_try") 2>&5
4456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4457 (exit $ac_status); }; }; then
4460 echo "$as_me: program exited with status $ac_status" >&5
4461 echo "$as_me: failed program was:" >&5
4462 sed 's/^/| /' conftest.$ac_ext >&5
4467 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4473 if test "x${CROSSCOMPILE}" = "x1"; then
4474 { echo "$as_me:$LINENO: result: we are cross compiling- trying to guess from system type" >&5
4475 echo "${ECHO_T}we are cross compiling- trying to guess from system type" >&6; }
4476 { echo "$as_me:$LINENO: checking target system type" >&5
4477 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
4478 if test "${ac_cv_target+set}" = set; then
4479 echo $ECHO_N "(cached) $ECHO_C" >&6
4481 if test "x$target_alias" = x; then
4482 ac_cv_target=$ac_cv_host
4484 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
4485 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
4486 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
4487 { (exit 1); exit 1; }; }
4491 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
4492 echo "${ECHO_T}$ac_cv_target" >&6; }
4493 case $ac_cv_target in
4495 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
4496 echo "$as_me: error: invalid value of canonical target" >&2;}
4497 { (exit 1); exit 1; }; };;
4499 target=$ac_cv_target
4500 ac_save_IFS=$IFS; IFS='-'
4506 # Remember, the first character of IFS is used to create $*,
4507 # except with old shells:
4510 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
4513 # The aliases save the names the user supplied, while $host etc.
4514 # will get canonicalized.
4515 test -n "$target_alias" &&
4516 test "$program_prefix$program_suffix$program_transform_name" = \
4518 program_prefix=${target_alias}-
4519 { echo "$as_me:$LINENO: checking for byte order, try 2" >&5
4520 echo $ECHO_N "checking for byte order, try 2... $ECHO_C" >&6; }
4525 *sparc* | *68* | *88k* | *mac* | *Mac* | *sun* | *Sun* | *Amiga* | *amiga* )
4532 if test "x${LITTLEENDIAN}" = "x1"; then
4533 { echo "$as_me:$LINENO: result: little endian" >&5
4534 echo "${ECHO_T}little endian" >&6; }
4538 if test "x${BIGENDIAN}" = "x1"; then
4539 { echo "$as_me:$LINENO: result: big endian" >&5
4540 echo "${ECHO_T}big endian" >&6; }
4543 export WORDS_BIGENDIAN
4544 cat >>confdefs.h <<_ACEOF
4545 #define WORDS_BIGENDIAN 1
4549 if test "x${BYTEORDERCHECKOK}" != "x1"; then
4550 { echo "$as_me:$LINENO: result: unknown" >&5
4551 echo "${ECHO_T}unknown" >&6; }
4552 echo Byte order could not determined.
4558 { echo "$as_me:$LINENO: checking whether system() can handle command substitution" >&5
4559 echo $ECHO_N "checking whether system() can handle command substitution... $ECHO_C" >&6; }
4560 if test "$cross_compiling" = yes; then
4563 cat >conftest.$ac_ext <<_ACEOF
4566 cat confdefs.h >>conftest.$ac_ext
4567 cat >>conftest.$ac_ext <<_ACEOF
4568 /* end confdefs.h. */
4571 int main (int argc, char*argv[])
4573 return system("test `touch config.tmp2`");
4577 rm -f conftest$ac_exeext
4578 if { (ac_try="$ac_link"
4580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4581 *) ac_try_echo=$ac_try;;
4583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4584 (eval "$ac_link") 2>&5
4586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4587 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4588 { (case "(($ac_try" in
4589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4590 *) ac_try_echo=$ac_try;;
4592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4593 (eval "$ac_try") 2>&5
4595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4596 (exit $ac_status); }; }; then
4599 echo "$as_me: program exited with status $ac_status" >&5
4600 echo "$as_me: failed program was:" >&5
4601 sed 's/^/| /' conftest.$ac_ext >&5
4604 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4609 if test "x${OK}" = "xOK";then
4610 test -f config.tmp2 || OK=
4613 if test "x${CROSSCOMPILE}" = "x1";then
4616 if test "x${OK}" = "xOK";then
4618 { echo "$as_me:$LINENO: result: yes" >&5
4619 echo "${ECHO_T}yes" >&6; }
4621 export SYSTEM_BACKTICKS
4622 cat >>confdefs.h <<_ACEOF
4623 #define SYSTEM_BACKTICKS 1
4627 { echo "$as_me:$LINENO: result: no" >&5
4628 echo "${ECHO_T}no" >&6; }
4633 test "$program_prefix" != NONE &&
4634 program_transform_name="s&^&$program_prefix&;$program_transform_name"
4635 # Use a double $ so make ignores it.
4636 test "$program_suffix" != NONE &&
4637 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
4638 # Double any \ or $. echo might interpret backslashes.
4639 # By default was `s,x,x', remove it if useless.
4640 cat <<\_ACEOF >conftest.sed
4641 s/[\\$]/&&/g;s/;s,x,x,$//
4643 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
4647 ac_config_headers="$ac_config_headers config.h"
4655 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
4656 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4657 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
4658 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
4659 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4660 echo $ECHO_N "(cached) $ECHO_C" >&6
4662 cat >conftest.$ac_ext <<_ACEOF
4665 cat confdefs.h >>conftest.$ac_ext
4666 cat >>conftest.$ac_ext <<_ACEOF
4667 /* end confdefs.h. */
4668 #include <sys/types.h>
4680 rm -f conftest.$ac_objext
4681 if { (ac_try="$ac_compile"
4683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4684 *) ac_try_echo=$ac_try;;
4686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4687 (eval "$ac_compile") 2>conftest.er1
4689 grep -v '^ *+' conftest.er1 >conftest.err
4691 cat conftest.err >&5
4692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4693 (exit $ac_status); } && {
4694 test -z "$ac_c_werror_flag" ||
4695 test ! -s conftest.err
4696 } && test -s conftest.$ac_objext; then
4697 eval "$as_ac_Header=yes"
4699 echo "$as_me: failed program was:" >&5
4700 sed 's/^/| /' conftest.$ac_ext >&5
4702 eval "$as_ac_Header=no"
4705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4707 ac_res=`eval echo '${'$as_ac_Header'}'`
4708 { echo "$as_me:$LINENO: result: $ac_res" >&5
4709 echo "${ECHO_T}$ac_res" >&6; }
4710 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4711 cat >>confdefs.h <<_ACEOF
4712 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
4715 ac_header_dirent=$ac_hdr; break
4719 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4720 if test $ac_header_dirent = dirent.h; then
4721 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
4722 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
4723 if test "${ac_cv_search_opendir+set}" = set; then
4724 echo $ECHO_N "(cached) $ECHO_C" >&6
4726 ac_func_search_save_LIBS=$LIBS
4727 cat >conftest.$ac_ext <<_ACEOF
4730 cat confdefs.h >>conftest.$ac_ext
4731 cat >>conftest.$ac_ext <<_ACEOF
4732 /* end confdefs.h. */
4734 /* Override any GCC internal prototype to avoid an error.
4735 Use char because int might match the return type of a GCC
4736 builtin and then its argument prototype would still apply. */
4749 for ac_lib in '' dir; do
4750 if test -z "$ac_lib"; then
4751 ac_res="none required"
4754 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4756 rm -f conftest.$ac_objext conftest$ac_exeext
4757 if { (ac_try="$ac_link"
4759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4760 *) ac_try_echo=$ac_try;;
4762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4763 (eval "$ac_link") 2>conftest.er1
4765 grep -v '^ *+' conftest.er1 >conftest.err
4767 cat conftest.err >&5
4768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4769 (exit $ac_status); } && {
4770 test -z "$ac_c_werror_flag" ||
4771 test ! -s conftest.err
4772 } && test -s conftest$ac_exeext &&
4773 $as_test_x conftest$ac_exeext; then
4774 ac_cv_search_opendir=$ac_res
4776 echo "$as_me: failed program was:" >&5
4777 sed 's/^/| /' conftest.$ac_ext >&5
4782 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4784 if test "${ac_cv_search_opendir+set}" = set; then
4788 if test "${ac_cv_search_opendir+set}" = set; then
4791 ac_cv_search_opendir=no
4794 LIBS=$ac_func_search_save_LIBS
4796 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4797 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
4798 ac_res=$ac_cv_search_opendir
4799 if test "$ac_res" != no; then
4800 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4805 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
4806 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
4807 if test "${ac_cv_search_opendir+set}" = set; then
4808 echo $ECHO_N "(cached) $ECHO_C" >&6
4810 ac_func_search_save_LIBS=$LIBS
4811 cat >conftest.$ac_ext <<_ACEOF
4814 cat confdefs.h >>conftest.$ac_ext
4815 cat >>conftest.$ac_ext <<_ACEOF
4816 /* end confdefs.h. */
4818 /* Override any GCC internal prototype to avoid an error.
4819 Use char because int might match the return type of a GCC
4820 builtin and then its argument prototype would still apply. */
4833 for ac_lib in '' x; do
4834 if test -z "$ac_lib"; then
4835 ac_res="none required"
4838 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4840 rm -f conftest.$ac_objext conftest$ac_exeext
4841 if { (ac_try="$ac_link"
4843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4844 *) ac_try_echo=$ac_try;;
4846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4847 (eval "$ac_link") 2>conftest.er1
4849 grep -v '^ *+' conftest.er1 >conftest.err
4851 cat conftest.err >&5
4852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4853 (exit $ac_status); } && {
4854 test -z "$ac_c_werror_flag" ||
4855 test ! -s conftest.err
4856 } && test -s conftest$ac_exeext &&
4857 $as_test_x conftest$ac_exeext; then
4858 ac_cv_search_opendir=$ac_res
4860 echo "$as_me: failed program was:" >&5
4861 sed 's/^/| /' conftest.$ac_ext >&5
4866 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4868 if test "${ac_cv_search_opendir+set}" = set; then
4872 if test "${ac_cv_search_opendir+set}" = set; then
4875 ac_cv_search_opendir=no
4878 LIBS=$ac_func_search_save_LIBS
4880 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4881 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
4882 ac_res=$ac_cv_search_opendir
4883 if test "$ac_res" != no; then
4884 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4891 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4892 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4893 if test "${ac_cv_path_GREP+set}" = set; then
4894 echo $ECHO_N "(cached) $ECHO_C" >&6
4896 # Extract the first word of "grep ggrep" to use in msg output
4897 if test -z "$GREP"; then
4898 set dummy grep ggrep; ac_prog_name=$2
4899 if test "${ac_cv_path_GREP+set}" = set; then
4900 echo $ECHO_N "(cached) $ECHO_C" >&6
4902 ac_path_GREP_found=false
4903 # Loop through the user's path and test for each of PROGNAME-LIST
4904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4905 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4908 test -z "$as_dir" && as_dir=.
4909 for ac_prog in grep ggrep; do
4910 for ac_exec_ext in '' $ac_executable_extensions; do
4911 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4912 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4913 # Check for GNU ac_path_GREP and select it if it is found.
4914 # Check for GNU $ac_path_GREP
4915 case `"$ac_path_GREP" --version 2>&1` in
4917 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4920 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4923 cat "conftest.in" "conftest.in" >"conftest.tmp"
4924 mv "conftest.tmp" "conftest.in"
4925 cp "conftest.in" "conftest.nl"
4926 echo 'GREP' >> "conftest.nl"
4927 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4928 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4929 ac_count=`expr $ac_count + 1`
4930 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4931 # Best one so far, save it but keep looking for a better one
4932 ac_cv_path_GREP="$ac_path_GREP"
4933 ac_path_GREP_max=$ac_count
4935 # 10*(2^10) chars as input seems more than enough
4936 test $ac_count -gt 10 && break
4938 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4942 $ac_path_GREP_found && break 3
4952 GREP="$ac_cv_path_GREP"
4953 if test -z "$GREP"; then
4954 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4955 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4956 { (exit 1); exit 1; }; }
4960 ac_cv_path_GREP=$GREP
4965 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4966 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4967 GREP="$ac_cv_path_GREP"
4970 { echo "$as_me:$LINENO: checking for egrep" >&5
4971 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4972 if test "${ac_cv_path_EGREP+set}" = set; then
4973 echo $ECHO_N "(cached) $ECHO_C" >&6
4975 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4976 then ac_cv_path_EGREP="$GREP -E"
4978 # Extract the first word of "egrep" to use in msg output
4979 if test -z "$EGREP"; then
4980 set dummy egrep; ac_prog_name=$2
4981 if test "${ac_cv_path_EGREP+set}" = set; then
4982 echo $ECHO_N "(cached) $ECHO_C" >&6
4984 ac_path_EGREP_found=false
4985 # Loop through the user's path and test for each of PROGNAME-LIST
4986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4987 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4990 test -z "$as_dir" && as_dir=.
4991 for ac_prog in egrep; do
4992 for ac_exec_ext in '' $ac_executable_extensions; do
4993 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4994 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4995 # Check for GNU ac_path_EGREP and select it if it is found.
4996 # Check for GNU $ac_path_EGREP
4997 case `"$ac_path_EGREP" --version 2>&1` in
4999 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5002 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5005 cat "conftest.in" "conftest.in" >"conftest.tmp"
5006 mv "conftest.tmp" "conftest.in"
5007 cp "conftest.in" "conftest.nl"
5008 echo 'EGREP' >> "conftest.nl"
5009 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5010 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5011 ac_count=`expr $ac_count + 1`
5012 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5013 # Best one so far, save it but keep looking for a better one
5014 ac_cv_path_EGREP="$ac_path_EGREP"
5015 ac_path_EGREP_max=$ac_count
5017 # 10*(2^10) chars as input seems more than enough
5018 test $ac_count -gt 10 && break
5020 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5024 $ac_path_EGREP_found && break 3
5034 EGREP="$ac_cv_path_EGREP"
5035 if test -z "$EGREP"; then
5036 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5037 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5038 { (exit 1); exit 1; }; }
5042 ac_cv_path_EGREP=$EGREP
5048 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5049 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5050 EGREP="$ac_cv_path_EGREP"
5053 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5054 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5055 if test "${ac_cv_header_stdc+set}" = set; then
5056 echo $ECHO_N "(cached) $ECHO_C" >&6
5058 cat >conftest.$ac_ext <<_ACEOF
5061 cat confdefs.h >>conftest.$ac_ext
5062 cat >>conftest.$ac_ext <<_ACEOF
5063 /* end confdefs.h. */
5077 rm -f conftest.$ac_objext
5078 if { (ac_try="$ac_compile"
5080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5081 *) ac_try_echo=$ac_try;;
5083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5084 (eval "$ac_compile") 2>conftest.er1
5086 grep -v '^ *+' conftest.er1 >conftest.err
5088 cat conftest.err >&5
5089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5090 (exit $ac_status); } && {
5091 test -z "$ac_c_werror_flag" ||
5092 test ! -s conftest.err
5093 } && test -s conftest.$ac_objext; then
5094 ac_cv_header_stdc=yes
5096 echo "$as_me: failed program was:" >&5
5097 sed 's/^/| /' conftest.$ac_ext >&5
5099 ac_cv_header_stdc=no
5102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5104 if test $ac_cv_header_stdc = yes; then
5105 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5106 cat >conftest.$ac_ext <<_ACEOF
5109 cat confdefs.h >>conftest.$ac_ext
5110 cat >>conftest.$ac_ext <<_ACEOF
5111 /* end confdefs.h. */
5115 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5116 $EGREP "memchr" >/dev/null 2>&1; then
5119 ac_cv_header_stdc=no
5125 if test $ac_cv_header_stdc = yes; then
5126 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5127 cat >conftest.$ac_ext <<_ACEOF
5130 cat confdefs.h >>conftest.$ac_ext
5131 cat >>conftest.$ac_ext <<_ACEOF
5132 /* end confdefs.h. */
5136 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5137 $EGREP "free" >/dev/null 2>&1; then
5140 ac_cv_header_stdc=no
5146 if test $ac_cv_header_stdc = yes; then
5147 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5148 if test "$cross_compiling" = yes; then
5151 cat >conftest.$ac_ext <<_ACEOF
5154 cat confdefs.h >>conftest.$ac_ext
5155 cat >>conftest.$ac_ext <<_ACEOF
5156 /* end confdefs.h. */
5159 #if ((' ' & 0x0FF) == 0x020)
5160 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5161 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5163 # define ISLOWER(c) \
5164 (('a' <= (c) && (c) <= 'i') \
5165 || ('j' <= (c) && (c) <= 'r') \
5166 || ('s' <= (c) && (c) <= 'z'))
5167 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5170 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5175 for (i = 0; i < 256; i++)
5176 if (XOR (islower (i), ISLOWER (i))
5177 || toupper (i) != TOUPPER (i))
5182 rm -f conftest$ac_exeext
5183 if { (ac_try="$ac_link"
5185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5186 *) ac_try_echo=$ac_try;;
5188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5189 (eval "$ac_link") 2>&5
5191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5192 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5193 { (case "(($ac_try" in
5194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5195 *) ac_try_echo=$ac_try;;
5197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5198 (eval "$ac_try") 2>&5
5200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5201 (exit $ac_status); }; }; then
5204 echo "$as_me: program exited with status $ac_status" >&5
5205 echo "$as_me: failed program was:" >&5
5206 sed 's/^/| /' conftest.$ac_ext >&5
5209 ac_cv_header_stdc=no
5211 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5217 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5218 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5219 if test $ac_cv_header_stdc = yes; then
5221 cat >>confdefs.h <<\_ACEOF
5222 #define STDC_HEADERS 1
5227 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5237 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5238 inttypes.h stdint.h unistd.h
5240 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5241 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5242 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5243 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5244 echo $ECHO_N "(cached) $ECHO_C" >&6
5246 cat >conftest.$ac_ext <<_ACEOF
5249 cat confdefs.h >>conftest.$ac_ext
5250 cat >>conftest.$ac_ext <<_ACEOF
5251 /* end confdefs.h. */
5252 $ac_includes_default
5254 #include <$ac_header>
5256 rm -f conftest.$ac_objext
5257 if { (ac_try="$ac_compile"
5259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5260 *) ac_try_echo=$ac_try;;
5262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5263 (eval "$ac_compile") 2>conftest.er1
5265 grep -v '^ *+' conftest.er1 >conftest.err
5267 cat conftest.err >&5
5268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5269 (exit $ac_status); } && {
5270 test -z "$ac_c_werror_flag" ||
5271 test ! -s conftest.err
5272 } && test -s conftest.$ac_objext; then
5273 eval "$as_ac_Header=yes"
5275 echo "$as_me: failed program was:" >&5
5276 sed 's/^/| /' conftest.$ac_ext >&5
5278 eval "$as_ac_Header=no"
5281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5283 ac_res=`eval echo '${'$as_ac_Header'}'`
5284 { echo "$as_me:$LINENO: result: $ac_res" >&5
5285 echo "${ECHO_T}$ac_res" >&6; }
5286 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5287 cat >>confdefs.h <<_ACEOF
5288 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5311 for ac_header in zlib.h gif_lib.h jpeglib.h t1lib.h assert.h signal.h pthread.h sys/stat.h sys/types.h dirent.h sys/bsdtypes.h sys/ndir.h sys/dir.h ndir.h time.h
5313 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5314 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5315 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5316 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5317 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5318 echo $ECHO_N "(cached) $ECHO_C" >&6
5320 ac_res=`eval echo '${'$as_ac_Header'}'`
5321 { echo "$as_me:$LINENO: result: $ac_res" >&5
5322 echo "${ECHO_T}$ac_res" >&6; }
5324 # Is the header compilable?
5325 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5326 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5327 cat >conftest.$ac_ext <<_ACEOF
5330 cat confdefs.h >>conftest.$ac_ext
5331 cat >>conftest.$ac_ext <<_ACEOF
5332 /* end confdefs.h. */
5333 $ac_includes_default
5334 #include <$ac_header>
5336 rm -f conftest.$ac_objext
5337 if { (ac_try="$ac_compile"
5339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5340 *) ac_try_echo=$ac_try;;
5342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5343 (eval "$ac_compile") 2>conftest.er1
5345 grep -v '^ *+' conftest.er1 >conftest.err
5347 cat conftest.err >&5
5348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5349 (exit $ac_status); } && {
5350 test -z "$ac_c_werror_flag" ||
5351 test ! -s conftest.err
5352 } && test -s conftest.$ac_objext; then
5353 ac_header_compiler=yes
5355 echo "$as_me: failed program was:" >&5
5356 sed 's/^/| /' conftest.$ac_ext >&5
5358 ac_header_compiler=no
5361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5362 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5363 echo "${ECHO_T}$ac_header_compiler" >&6; }
5365 # Is the header present?
5366 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5367 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5368 cat >conftest.$ac_ext <<_ACEOF
5371 cat confdefs.h >>conftest.$ac_ext
5372 cat >>conftest.$ac_ext <<_ACEOF
5373 /* end confdefs.h. */
5374 #include <$ac_header>
5376 if { (ac_try="$ac_cpp conftest.$ac_ext"
5378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5379 *) ac_try_echo=$ac_try;;
5381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5382 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5384 grep -v '^ *+' conftest.er1 >conftest.err
5386 cat conftest.err >&5
5387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5388 (exit $ac_status); } >/dev/null && {
5389 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5390 test ! -s conftest.err
5392 ac_header_preproc=yes
5394 echo "$as_me: failed program was:" >&5
5395 sed 's/^/| /' conftest.$ac_ext >&5
5397 ac_header_preproc=no
5400 rm -f conftest.err conftest.$ac_ext
5401 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5402 echo "${ECHO_T}$ac_header_preproc" >&6; }
5404 # So? What about this header?
5405 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5407 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5408 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5409 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5410 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5411 ac_header_preproc=yes
5414 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5415 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5416 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5417 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5418 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5419 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5420 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5421 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5422 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5423 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5424 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5425 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5429 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5430 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5431 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5432 echo $ECHO_N "(cached) $ECHO_C" >&6
5434 eval "$as_ac_Header=\$ac_header_preproc"
5436 ac_res=`eval echo '${'$as_ac_Header'}'`
5437 { echo "$as_me:$LINENO: result: $ac_res" >&5
5438 echo "${ECHO_T}$ac_res" >&6; }
5441 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5442 cat >>confdefs.h <<_ACEOF
5443 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5451 cat >>confdefs.h <<_ACEOF
5452 #define PACKAGE "$PACKAGE"
5455 cat >>confdefs.h <<_ACEOF
5456 #define VERSION "$VERSION"
5465 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5466 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
5467 if test "${ac_cv_c_const+set}" = set; then
5468 echo $ECHO_N "(cached) $ECHO_C" >&6
5470 cat >conftest.$ac_ext <<_ACEOF
5473 cat confdefs.h >>conftest.$ac_ext
5474 cat >>conftest.$ac_ext <<_ACEOF
5475 /* end confdefs.h. */
5480 /* FIXME: Include the comments suggested by Paul. */
5482 /* Ultrix mips cc rejects this. */
5483 typedef int charset[2];
5485 /* SunOS 4.1.1 cc rejects this. */
5486 char const *const *pcpcc;
5488 /* NEC SVR4.0.2 mips cc rejects this. */
5489 struct point {int x, y;};
5490 static struct point const zero = {0,0};
5491 /* AIX XL C 1.02.0.0 rejects this.
5492 It does not let you subtract one const X* pointer from another in
5493 an arm of an if-expression whose if-part is not a constant
5495 const char *g = "string";
5496 pcpcc = &g + (g ? g-g : 0);
5497 /* HPUX 7.0 cc rejects these. */
5499 ppc = (char**) pcpcc;
5500 pcpcc = (char const *const *) ppc;
5501 { /* SCO 3.2v4 cc rejects this. */
5503 char const *s = 0 ? (char *) 0 : (char const *) 0;
5508 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5510 const int *foo = &x[0];
5513 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5514 typedef const int *iptr;
5518 { /* AIX XL C 1.02.0.0 rejects this saying
5519 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5520 struct s { int j; const int *ap[3]; };
5521 struct s *b; b->j = 5;
5523 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5527 return !cs[0] && !zero.x;
5534 rm -f conftest.$ac_objext
5535 if { (ac_try="$ac_compile"
5537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5538 *) ac_try_echo=$ac_try;;
5540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5541 (eval "$ac_compile") 2>conftest.er1
5543 grep -v '^ *+' conftest.er1 >conftest.err
5545 cat conftest.err >&5
5546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5547 (exit $ac_status); } && {
5548 test -z "$ac_c_werror_flag" ||
5549 test ! -s conftest.err
5550 } && test -s conftest.$ac_objext; then
5553 echo "$as_me: failed program was:" >&5
5554 sed 's/^/| /' conftest.$ac_ext >&5
5559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5561 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5562 echo "${ECHO_T}$ac_cv_c_const" >&6; }
5563 if test $ac_cv_c_const = no; then
5565 cat >>confdefs.h <<\_ACEOF
5571 { echo "$as_me:$LINENO: checking for inline" >&5
5572 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
5573 if test "${ac_cv_c_inline+set}" = set; then
5574 echo $ECHO_N "(cached) $ECHO_C" >&6
5577 for ac_kw in inline __inline__ __inline; do
5578 cat >conftest.$ac_ext <<_ACEOF
5581 cat confdefs.h >>conftest.$ac_ext
5582 cat >>conftest.$ac_ext <<_ACEOF
5583 /* end confdefs.h. */
5586 static $ac_kw foo_t static_foo () {return 0; }
5587 $ac_kw foo_t foo () {return 0; }
5591 rm -f conftest.$ac_objext
5592 if { (ac_try="$ac_compile"
5594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5595 *) ac_try_echo=$ac_try;;
5597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5598 (eval "$ac_compile") 2>conftest.er1
5600 grep -v '^ *+' conftest.er1 >conftest.err
5602 cat conftest.err >&5
5603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5604 (exit $ac_status); } && {
5605 test -z "$ac_c_werror_flag" ||
5606 test ! -s conftest.err
5607 } && test -s conftest.$ac_objext; then
5608 ac_cv_c_inline=$ac_kw
5610 echo "$as_me: failed program was:" >&5
5611 sed 's/^/| /' conftest.$ac_ext >&5
5616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5617 test "$ac_cv_c_inline" != no && break
5621 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5622 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
5625 case $ac_cv_c_inline in
5628 case $ac_cv_c_inline in
5630 *) ac_val=$ac_cv_c_inline;;
5632 cat >>confdefs.h <<_ACEOF
5634 #define inline $ac_val
5640 { echo "$as_me:$LINENO: checking for off_t" >&5
5641 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
5642 if test "${ac_cv_type_off_t+set}" = set; then
5643 echo $ECHO_N "(cached) $ECHO_C" >&6
5645 cat >conftest.$ac_ext <<_ACEOF
5648 cat confdefs.h >>conftest.$ac_ext
5649 cat >>conftest.$ac_ext <<_ACEOF
5650 /* end confdefs.h. */
5651 $ac_includes_default
5652 typedef off_t ac__type_new_;
5656 if ((ac__type_new_ *) 0)
5658 if (sizeof (ac__type_new_))
5664 rm -f conftest.$ac_objext
5665 if { (ac_try="$ac_compile"
5667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5668 *) ac_try_echo=$ac_try;;
5670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5671 (eval "$ac_compile") 2>conftest.er1
5673 grep -v '^ *+' conftest.er1 >conftest.err
5675 cat conftest.err >&5
5676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5677 (exit $ac_status); } && {
5678 test -z "$ac_c_werror_flag" ||
5679 test ! -s conftest.err
5680 } && test -s conftest.$ac_objext; then
5681 ac_cv_type_off_t=yes
5683 echo "$as_me: failed program was:" >&5
5684 sed 's/^/| /' conftest.$ac_ext >&5
5689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5691 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5692 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
5693 if test $ac_cv_type_off_t = yes; then
5697 cat >>confdefs.h <<_ACEOF
5698 #define off_t long int
5703 { echo "$as_me:$LINENO: checking for size_t" >&5
5704 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
5705 if test "${ac_cv_type_size_t+set}" = set; then
5706 echo $ECHO_N "(cached) $ECHO_C" >&6
5708 cat >conftest.$ac_ext <<_ACEOF
5711 cat confdefs.h >>conftest.$ac_ext
5712 cat >>conftest.$ac_ext <<_ACEOF
5713 /* end confdefs.h. */
5714 $ac_includes_default
5715 typedef size_t ac__type_new_;
5719 if ((ac__type_new_ *) 0)
5721 if (sizeof (ac__type_new_))
5727 rm -f conftest.$ac_objext
5728 if { (ac_try="$ac_compile"
5730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5731 *) ac_try_echo=$ac_try;;
5733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5734 (eval "$ac_compile") 2>conftest.er1
5736 grep -v '^ *+' conftest.er1 >conftest.err
5738 cat conftest.err >&5
5739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5740 (exit $ac_status); } && {
5741 test -z "$ac_c_werror_flag" ||
5742 test ! -s conftest.err
5743 } && test -s conftest.$ac_objext; then
5744 ac_cv_type_size_t=yes
5746 echo "$as_me: failed program was:" >&5
5747 sed 's/^/| /' conftest.$ac_ext >&5
5749 ac_cv_type_size_t=no
5752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5754 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5755 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
5756 if test $ac_cv_type_size_t = yes; then
5760 cat >>confdefs.h <<_ACEOF
5761 #define size_t unsigned int
5766 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
5767 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
5768 if test "${ac_cv_struct_tm+set}" = set; then
5769 echo $ECHO_N "(cached) $ECHO_C" >&6
5771 cat >conftest.$ac_ext <<_ACEOF
5774 cat confdefs.h >>conftest.$ac_ext
5775 cat >>conftest.$ac_ext <<_ACEOF
5776 /* end confdefs.h. */
5777 #include <sys/types.h>
5784 int *p = &tm.tm_sec;
5790 rm -f conftest.$ac_objext
5791 if { (ac_try="$ac_compile"
5793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5794 *) ac_try_echo=$ac_try;;
5796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5797 (eval "$ac_compile") 2>conftest.er1
5799 grep -v '^ *+' conftest.er1 >conftest.err
5801 cat conftest.err >&5
5802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5803 (exit $ac_status); } && {
5804 test -z "$ac_c_werror_flag" ||
5805 test ! -s conftest.err
5806 } && test -s conftest.$ac_objext; then
5807 ac_cv_struct_tm=time.h
5809 echo "$as_me: failed program was:" >&5
5810 sed 's/^/| /' conftest.$ac_ext >&5
5812 ac_cv_struct_tm=sys/time.h
5815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5817 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
5818 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
5819 if test $ac_cv_struct_tm = sys/time.h; then
5821 cat >>confdefs.h <<\_ACEOF
5822 #define TM_IN_SYS_TIME 1
5827 { echo "$as_me:$LINENO: checking for boolean" >&5
5828 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
5829 if test "${ac_cv_type_boolean+set}" = set; then
5830 echo $ECHO_N "(cached) $ECHO_C" >&6
5832 cat >conftest.$ac_ext <<_ACEOF
5835 cat confdefs.h >>conftest.$ac_ext
5836 cat >>conftest.$ac_ext <<_ACEOF
5837 /* end confdefs.h. */
5838 $ac_includes_default
5839 typedef boolean ac__type_new_;
5843 if ((ac__type_new_ *) 0)
5845 if (sizeof (ac__type_new_))
5851 rm -f conftest.$ac_objext
5852 if { (ac_try="$ac_compile"
5854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5855 *) ac_try_echo=$ac_try;;
5857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5858 (eval "$ac_compile") 2>conftest.er1
5860 grep -v '^ *+' conftest.er1 >conftest.err
5862 cat conftest.err >&5
5863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5864 (exit $ac_status); } && {
5865 test -z "$ac_c_werror_flag" ||
5866 test ! -s conftest.err
5867 } && test -s conftest.$ac_objext; then
5868 ac_cv_type_boolean=yes
5870 echo "$as_me: failed program was:" >&5
5871 sed 's/^/| /' conftest.$ac_ext >&5
5873 ac_cv_type_boolean=no
5876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5878 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
5879 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
5880 if test $ac_cv_type_boolean = yes; then
5884 cat >>confdefs.h <<_ACEOF
5900 for ac_func in popen mkstemp stat lrand48 rand srand48 srand bcopy bzero time
5902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5903 { echo "$as_me:$LINENO: checking for $ac_func" >&5
5904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5905 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5906 echo $ECHO_N "(cached) $ECHO_C" >&6
5908 cat >conftest.$ac_ext <<_ACEOF
5911 cat confdefs.h >>conftest.$ac_ext
5912 cat >>conftest.$ac_ext <<_ACEOF
5913 /* end confdefs.h. */
5914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5916 #define $ac_func innocuous_$ac_func
5918 /* System header to define __stub macros and hopefully few prototypes,
5919 which can conflict with char $ac_func (); below.
5920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5921 <limits.h> exists even on freestanding compilers. */
5924 # include <limits.h>
5926 # include <assert.h>
5931 /* Override any GCC internal prototype to avoid an error.
5932 Use char because int might match the return type of a GCC
5933 builtin and then its argument prototype would still apply. */
5938 /* The GNU C library defines this for functions which it implements
5939 to always fail with ENOSYS. Some functions are actually named
5940 something starting with __ and the normal name is an alias. */
5941 #if defined __stub_$ac_func || defined __stub___$ac_func
5953 rm -f conftest.$ac_objext conftest$ac_exeext
5954 if { (ac_try="$ac_link"
5956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5957 *) ac_try_echo=$ac_try;;
5959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5960 (eval "$ac_link") 2>conftest.er1
5962 grep -v '^ *+' conftest.er1 >conftest.err
5964 cat conftest.err >&5
5965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5966 (exit $ac_status); } && {
5967 test -z "$ac_c_werror_flag" ||
5968 test ! -s conftest.err
5969 } && test -s conftest$ac_exeext &&
5970 $as_test_x conftest$ac_exeext; then
5971 eval "$as_ac_var=yes"
5973 echo "$as_me: failed program was:" >&5
5974 sed 's/^/| /' conftest.$ac_ext >&5
5976 eval "$as_ac_var=no"
5979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5980 conftest$ac_exeext conftest.$ac_ext
5982 ac_res=`eval echo '${'$as_ac_var'}'`
5983 { echo "$as_me:$LINENO: result: $ac_res" >&5
5984 echo "${ECHO_T}$ac_res" >&6; }
5985 if test `eval echo '${'$as_ac_var'}'` = yes; then
5986 cat >>confdefs.h <<_ACEOF
5987 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5994 { echo "$as_me:$LINENO: checking for signed" >&5
5995 echo $ECHO_N "checking for signed... $ECHO_C" >&6; }
5996 if test "${ac_cv_type_signed+set}" = set; then
5997 echo $ECHO_N "(cached) $ECHO_C" >&6
5999 cat >conftest.$ac_ext <<_ACEOF
6002 cat confdefs.h >>conftest.$ac_ext
6003 cat >>conftest.$ac_ext <<_ACEOF
6004 /* end confdefs.h. */
6005 $ac_includes_default
6006 typedef signed ac__type_new_;
6010 if ((ac__type_new_ *) 0)
6012 if (sizeof (ac__type_new_))
6018 rm -f conftest.$ac_objext
6019 if { (ac_try="$ac_compile"
6021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6022 *) ac_try_echo=$ac_try;;
6024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6025 (eval "$ac_compile") 2>conftest.er1
6027 grep -v '^ *+' conftest.er1 >conftest.err
6029 cat conftest.err >&5
6030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6031 (exit $ac_status); } && {
6032 test -z "$ac_c_werror_flag" ||
6033 test ! -s conftest.err
6034 } && test -s conftest.$ac_objext; then
6035 ac_cv_type_signed=yes
6037 echo "$as_me: failed program was:" >&5
6038 sed 's/^/| /' conftest.$ac_ext >&5
6040 ac_cv_type_signed=no
6043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6045 { echo "$as_me:$LINENO: result: $ac_cv_type_signed" >&5
6046 echo "${ECHO_T}$ac_cv_type_signed" >&6; }
6048 # The cast to long int works around a bug in the HP C Compiler
6049 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6050 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6051 # This bug is HP SR number 8606223364.
6052 { echo "$as_me:$LINENO: checking size of signed" >&5
6053 echo $ECHO_N "checking size of signed... $ECHO_C" >&6; }
6054 if test "${ac_cv_sizeof_signed+set}" = set; then
6055 echo $ECHO_N "(cached) $ECHO_C" >&6
6057 if test "$cross_compiling" = yes; then
6058 # Depending upon the size, compute the lo and hi bounds.
6059 cat >conftest.$ac_ext <<_ACEOF
6062 cat confdefs.h >>conftest.$ac_ext
6063 cat >>conftest.$ac_ext <<_ACEOF
6064 /* end confdefs.h. */
6065 $ac_includes_default
6066 typedef signed ac__type_sizeof_;
6070 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
6077 rm -f conftest.$ac_objext
6078 if { (ac_try="$ac_compile"
6080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6081 *) ac_try_echo=$ac_try;;
6083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6084 (eval "$ac_compile") 2>conftest.er1
6086 grep -v '^ *+' conftest.er1 >conftest.err
6088 cat conftest.err >&5
6089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6090 (exit $ac_status); } && {
6091 test -z "$ac_c_werror_flag" ||
6092 test ! -s conftest.err
6093 } && test -s conftest.$ac_objext; then
6096 cat >conftest.$ac_ext <<_ACEOF
6099 cat confdefs.h >>conftest.$ac_ext
6100 cat >>conftest.$ac_ext <<_ACEOF
6101 /* end confdefs.h. */
6102 $ac_includes_default
6103 typedef signed ac__type_sizeof_;
6107 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
6114 rm -f conftest.$ac_objext
6115 if { (ac_try="$ac_compile"
6117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6118 *) ac_try_echo=$ac_try;;
6120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6121 (eval "$ac_compile") 2>conftest.er1
6123 grep -v '^ *+' conftest.er1 >conftest.err
6125 cat conftest.err >&5
6126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6127 (exit $ac_status); } && {
6128 test -z "$ac_c_werror_flag" ||
6129 test ! -s conftest.err
6130 } && test -s conftest.$ac_objext; then
6131 ac_hi=$ac_mid; break
6133 echo "$as_me: failed program was:" >&5
6134 sed 's/^/| /' conftest.$ac_ext >&5
6136 ac_lo=`expr $ac_mid + 1`
6137 if test $ac_lo -le $ac_mid; then
6141 ac_mid=`expr 2 '*' $ac_mid + 1`
6144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6147 echo "$as_me: failed program was:" >&5
6148 sed 's/^/| /' conftest.$ac_ext >&5
6150 cat >conftest.$ac_ext <<_ACEOF
6153 cat confdefs.h >>conftest.$ac_ext
6154 cat >>conftest.$ac_ext <<_ACEOF
6155 /* end confdefs.h. */
6156 $ac_includes_default
6157 typedef signed ac__type_sizeof_;
6161 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
6168 rm -f conftest.$ac_objext
6169 if { (ac_try="$ac_compile"
6171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6172 *) ac_try_echo=$ac_try;;
6174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6175 (eval "$ac_compile") 2>conftest.er1
6177 grep -v '^ *+' conftest.er1 >conftest.err
6179 cat conftest.err >&5
6180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6181 (exit $ac_status); } && {
6182 test -z "$ac_c_werror_flag" ||
6183 test ! -s conftest.err
6184 } && test -s conftest.$ac_objext; then
6187 cat >conftest.$ac_ext <<_ACEOF
6190 cat confdefs.h >>conftest.$ac_ext
6191 cat >>conftest.$ac_ext <<_ACEOF
6192 /* end confdefs.h. */
6193 $ac_includes_default
6194 typedef signed ac__type_sizeof_;
6198 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
6205 rm -f conftest.$ac_objext
6206 if { (ac_try="$ac_compile"
6208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6209 *) ac_try_echo=$ac_try;;
6211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6212 (eval "$ac_compile") 2>conftest.er1
6214 grep -v '^ *+' conftest.er1 >conftest.err
6216 cat conftest.err >&5
6217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6218 (exit $ac_status); } && {
6219 test -z "$ac_c_werror_flag" ||
6220 test ! -s conftest.err
6221 } && test -s conftest.$ac_objext; then
6222 ac_lo=$ac_mid; break
6224 echo "$as_me: failed program was:" >&5
6225 sed 's/^/| /' conftest.$ac_ext >&5
6227 ac_hi=`expr '(' $ac_mid ')' - 1`
6228 if test $ac_mid -le $ac_hi; then
6232 ac_mid=`expr 2 '*' $ac_mid`
6235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6238 echo "$as_me: failed program was:" >&5
6239 sed 's/^/| /' conftest.$ac_ext >&5
6244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6248 # Binary search between lo and hi bounds.
6249 while test "x$ac_lo" != "x$ac_hi"; do
6250 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6251 cat >conftest.$ac_ext <<_ACEOF
6254 cat confdefs.h >>conftest.$ac_ext
6255 cat >>conftest.$ac_ext <<_ACEOF
6256 /* end confdefs.h. */
6257 $ac_includes_default
6258 typedef signed ac__type_sizeof_;
6262 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
6269 rm -f conftest.$ac_objext
6270 if { (ac_try="$ac_compile"
6272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6273 *) ac_try_echo=$ac_try;;
6275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6276 (eval "$ac_compile") 2>conftest.er1
6278 grep -v '^ *+' conftest.er1 >conftest.err
6280 cat conftest.err >&5
6281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6282 (exit $ac_status); } && {
6283 test -z "$ac_c_werror_flag" ||
6284 test ! -s conftest.err
6285 } && test -s conftest.$ac_objext; then
6288 echo "$as_me: failed program was:" >&5
6289 sed 's/^/| /' conftest.$ac_ext >&5
6291 ac_lo=`expr '(' $ac_mid ')' + 1`
6294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6297 ?*) ac_cv_sizeof_signed=$ac_lo;;
6298 '') if test "$ac_cv_type_signed" = yes; then
6299 { { echo "$as_me:$LINENO: error: cannot compute sizeof (signed)
6300 See \`config.log' for more details." >&5
6301 echo "$as_me: error: cannot compute sizeof (signed)
6302 See \`config.log' for more details." >&2;}
6303 { (exit 77); exit 77; }; }
6305 ac_cv_sizeof_signed=0
6309 cat >conftest.$ac_ext <<_ACEOF
6312 cat confdefs.h >>conftest.$ac_ext
6313 cat >>conftest.$ac_ext <<_ACEOF
6314 /* end confdefs.h. */
6315 $ac_includes_default
6316 typedef signed ac__type_sizeof_;
6317 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
6318 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
6325 FILE *f = fopen ("conftest.val", "w");
6328 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
6330 long int i = longval ();
6331 if (i != ((long int) (sizeof (ac__type_sizeof_))))
6333 fprintf (f, "%ld\n", i);
6337 unsigned long int i = ulongval ();
6338 if (i != ((long int) (sizeof (ac__type_sizeof_))))
6340 fprintf (f, "%lu\n", i);
6342 return ferror (f) || fclose (f) != 0;
6348 rm -f conftest$ac_exeext
6349 if { (ac_try="$ac_link"
6351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6352 *) ac_try_echo=$ac_try;;
6354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6355 (eval "$ac_link") 2>&5
6357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6358 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6359 { (case "(($ac_try" in
6360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6361 *) ac_try_echo=$ac_try;;
6363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6364 (eval "$ac_try") 2>&5
6366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6367 (exit $ac_status); }; }; then
6368 ac_cv_sizeof_signed=`cat conftest.val`
6370 echo "$as_me: program exited with status $ac_status" >&5
6371 echo "$as_me: failed program was:" >&5
6372 sed 's/^/| /' conftest.$ac_ext >&5
6375 if test "$ac_cv_type_signed" = yes; then
6376 { { echo "$as_me:$LINENO: error: cannot compute sizeof (signed)
6377 See \`config.log' for more details." >&5
6378 echo "$as_me: error: cannot compute sizeof (signed)
6379 See \`config.log' for more details." >&2;}
6380 { (exit 77); exit 77; }; }
6382 ac_cv_sizeof_signed=0
6385 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6389 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_signed" >&5
6390 echo "${ECHO_T}$ac_cv_sizeof_signed" >&6; }
6394 cat >>confdefs.h <<_ACEOF
6395 #define SIZEOF_SIGNED $ac_cv_sizeof_signed
6399 { echo "$as_me:$LINENO: checking for unsigned" >&5
6400 echo $ECHO_N "checking for unsigned... $ECHO_C" >&6; }
6401 if test "${ac_cv_type_unsigned+set}" = set; then
6402 echo $ECHO_N "(cached) $ECHO_C" >&6
6404 cat >conftest.$ac_ext <<_ACEOF
6407 cat confdefs.h >>conftest.$ac_ext
6408 cat >>conftest.$ac_ext <<_ACEOF
6409 /* end confdefs.h. */
6410 $ac_includes_default
6411 typedef unsigned ac__type_new_;
6415 if ((ac__type_new_ *) 0)
6417 if (sizeof (ac__type_new_))
6423 rm -f conftest.$ac_objext
6424 if { (ac_try="$ac_compile"
6426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6427 *) ac_try_echo=$ac_try;;
6429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6430 (eval "$ac_compile") 2>conftest.er1
6432 grep -v '^ *+' conftest.er1 >conftest.err
6434 cat conftest.err >&5
6435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6436 (exit $ac_status); } && {
6437 test -z "$ac_c_werror_flag" ||
6438 test ! -s conftest.err
6439 } && test -s conftest.$ac_objext; then
6440 ac_cv_type_unsigned=yes
6442 echo "$as_me: failed program was:" >&5
6443 sed 's/^/| /' conftest.$ac_ext >&5
6445 ac_cv_type_unsigned=no
6448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6450 { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned" >&5
6451 echo "${ECHO_T}$ac_cv_type_unsigned" >&6; }
6453 # The cast to long int works around a bug in the HP C Compiler
6454 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6455 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6456 # This bug is HP SR number 8606223364.
6457 { echo "$as_me:$LINENO: checking size of unsigned" >&5
6458 echo $ECHO_N "checking size of unsigned... $ECHO_C" >&6; }
6459 if test "${ac_cv_sizeof_unsigned+set}" = set; then
6460 echo $ECHO_N "(cached) $ECHO_C" >&6
6462 if test "$cross_compiling" = yes; then
6463 # Depending upon the size, compute the lo and hi bounds.
6464 cat >conftest.$ac_ext <<_ACEOF
6467 cat confdefs.h >>conftest.$ac_ext
6468 cat >>conftest.$ac_ext <<_ACEOF
6469 /* end confdefs.h. */
6470 $ac_includes_default
6471 typedef unsigned ac__type_sizeof_;
6475 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
6482 rm -f conftest.$ac_objext
6483 if { (ac_try="$ac_compile"
6485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6486 *) ac_try_echo=$ac_try;;
6488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6489 (eval "$ac_compile") 2>conftest.er1
6491 grep -v '^ *+' conftest.er1 >conftest.err
6493 cat conftest.err >&5
6494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6495 (exit $ac_status); } && {
6496 test -z "$ac_c_werror_flag" ||
6497 test ! -s conftest.err
6498 } && test -s conftest.$ac_objext; then
6501 cat >conftest.$ac_ext <<_ACEOF
6504 cat confdefs.h >>conftest.$ac_ext
6505 cat >>conftest.$ac_ext <<_ACEOF
6506 /* end confdefs.h. */
6507 $ac_includes_default
6508 typedef unsigned ac__type_sizeof_;
6512 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
6519 rm -f conftest.$ac_objext
6520 if { (ac_try="$ac_compile"
6522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6523 *) ac_try_echo=$ac_try;;
6525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6526 (eval "$ac_compile") 2>conftest.er1
6528 grep -v '^ *+' conftest.er1 >conftest.err
6530 cat conftest.err >&5
6531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6532 (exit $ac_status); } && {
6533 test -z "$ac_c_werror_flag" ||
6534 test ! -s conftest.err
6535 } && test -s conftest.$ac_objext; then
6536 ac_hi=$ac_mid; break
6538 echo "$as_me: failed program was:" >&5
6539 sed 's/^/| /' conftest.$ac_ext >&5
6541 ac_lo=`expr $ac_mid + 1`
6542 if test $ac_lo -le $ac_mid; then
6546 ac_mid=`expr 2 '*' $ac_mid + 1`
6549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6552 echo "$as_me: failed program was:" >&5
6553 sed 's/^/| /' conftest.$ac_ext >&5
6555 cat >conftest.$ac_ext <<_ACEOF
6558 cat confdefs.h >>conftest.$ac_ext
6559 cat >>conftest.$ac_ext <<_ACEOF
6560 /* end confdefs.h. */
6561 $ac_includes_default
6562 typedef unsigned ac__type_sizeof_;
6566 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
6573 rm -f conftest.$ac_objext
6574 if { (ac_try="$ac_compile"
6576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6577 *) ac_try_echo=$ac_try;;
6579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6580 (eval "$ac_compile") 2>conftest.er1
6582 grep -v '^ *+' conftest.er1 >conftest.err
6584 cat conftest.err >&5
6585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6586 (exit $ac_status); } && {
6587 test -z "$ac_c_werror_flag" ||
6588 test ! -s conftest.err
6589 } && test -s conftest.$ac_objext; then
6592 cat >conftest.$ac_ext <<_ACEOF
6595 cat confdefs.h >>conftest.$ac_ext
6596 cat >>conftest.$ac_ext <<_ACEOF
6597 /* end confdefs.h. */
6598 $ac_includes_default
6599 typedef unsigned ac__type_sizeof_;
6603 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
6610 rm -f conftest.$ac_objext
6611 if { (ac_try="$ac_compile"
6613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6614 *) ac_try_echo=$ac_try;;
6616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6617 (eval "$ac_compile") 2>conftest.er1
6619 grep -v '^ *+' conftest.er1 >conftest.err
6621 cat conftest.err >&5
6622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6623 (exit $ac_status); } && {
6624 test -z "$ac_c_werror_flag" ||
6625 test ! -s conftest.err
6626 } && test -s conftest.$ac_objext; then
6627 ac_lo=$ac_mid; break
6629 echo "$as_me: failed program was:" >&5
6630 sed 's/^/| /' conftest.$ac_ext >&5
6632 ac_hi=`expr '(' $ac_mid ')' - 1`
6633 if test $ac_mid -le $ac_hi; then
6637 ac_mid=`expr 2 '*' $ac_mid`
6640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6643 echo "$as_me: failed program was:" >&5
6644 sed 's/^/| /' conftest.$ac_ext >&5
6649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6653 # Binary search between lo and hi bounds.
6654 while test "x$ac_lo" != "x$ac_hi"; do
6655 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6656 cat >conftest.$ac_ext <<_ACEOF
6659 cat confdefs.h >>conftest.$ac_ext
6660 cat >>conftest.$ac_ext <<_ACEOF
6661 /* end confdefs.h. */
6662 $ac_includes_default
6663 typedef unsigned ac__type_sizeof_;
6667 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
6674 rm -f conftest.$ac_objext
6675 if { (ac_try="$ac_compile"
6677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6678 *) ac_try_echo=$ac_try;;
6680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6681 (eval "$ac_compile") 2>conftest.er1
6683 grep -v '^ *+' conftest.er1 >conftest.err
6685 cat conftest.err >&5
6686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6687 (exit $ac_status); } && {
6688 test -z "$ac_c_werror_flag" ||
6689 test ! -s conftest.err
6690 } && test -s conftest.$ac_objext; then
6693 echo "$as_me: failed program was:" >&5
6694 sed 's/^/| /' conftest.$ac_ext >&5
6696 ac_lo=`expr '(' $ac_mid ')' + 1`
6699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6702 ?*) ac_cv_sizeof_unsigned=$ac_lo;;
6703 '') if test "$ac_cv_type_unsigned" = yes; then
6704 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned)
6705 See \`config.log' for more details." >&5
6706 echo "$as_me: error: cannot compute sizeof (unsigned)
6707 See \`config.log' for more details." >&2;}
6708 { (exit 77); exit 77; }; }
6710 ac_cv_sizeof_unsigned=0
6714 cat >conftest.$ac_ext <<_ACEOF
6717 cat confdefs.h >>conftest.$ac_ext
6718 cat >>conftest.$ac_ext <<_ACEOF
6719 /* end confdefs.h. */
6720 $ac_includes_default
6721 typedef unsigned ac__type_sizeof_;
6722 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
6723 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
6730 FILE *f = fopen ("conftest.val", "w");
6733 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
6735 long int i = longval ();
6736 if (i != ((long int) (sizeof (ac__type_sizeof_))))
6738 fprintf (f, "%ld\n", i);
6742 unsigned long int i = ulongval ();
6743 if (i != ((long int) (sizeof (ac__type_sizeof_))))
6745 fprintf (f, "%lu\n", i);
6747 return ferror (f) || fclose (f) != 0;
6753 rm -f conftest$ac_exeext
6754 if { (ac_try="$ac_link"
6756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6757 *) ac_try_echo=$ac_try;;
6759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6760 (eval "$ac_link") 2>&5
6762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6763 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6764 { (case "(($ac_try" in
6765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6766 *) ac_try_echo=$ac_try;;
6768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6769 (eval "$ac_try") 2>&5
6771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6772 (exit $ac_status); }; }; then
6773 ac_cv_sizeof_unsigned=`cat conftest.val`
6775 echo "$as_me: program exited with status $ac_status" >&5
6776 echo "$as_me: failed program was:" >&5
6777 sed 's/^/| /' conftest.$ac_ext >&5
6780 if test "$ac_cv_type_unsigned" = yes; then
6781 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned)
6782 See \`config.log' for more details." >&5
6783 echo "$as_me: error: cannot compute sizeof (unsigned)
6784 See \`config.log' for more details." >&2;}
6785 { (exit 77); exit 77; }; }
6787 ac_cv_sizeof_unsigned=0
6790 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6794 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned" >&5
6795 echo "${ECHO_T}$ac_cv_sizeof_unsigned" >&6; }
6799 cat >>confdefs.h <<_ACEOF
6800 #define SIZEOF_UNSIGNED $ac_cv_sizeof_unsigned
6804 { echo "$as_me:$LINENO: checking for signed long" >&5
6805 echo $ECHO_N "checking for signed long... $ECHO_C" >&6; }
6806 if test "${ac_cv_type_signed_long+set}" = set; then
6807 echo $ECHO_N "(cached) $ECHO_C" >&6
6809 cat >conftest.$ac_ext <<_ACEOF
6812 cat confdefs.h >>conftest.$ac_ext
6813 cat >>conftest.$ac_ext <<_ACEOF
6814 /* end confdefs.h. */
6815 $ac_includes_default
6816 typedef signed long ac__type_new_;
6820 if ((ac__type_new_ *) 0)
6822 if (sizeof (ac__type_new_))
6828 rm -f conftest.$ac_objext
6829 if { (ac_try="$ac_compile"
6831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6832 *) ac_try_echo=$ac_try;;
6834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6835 (eval "$ac_compile") 2>conftest.er1
6837 grep -v '^ *+' conftest.er1 >conftest.err
6839 cat conftest.err >&5
6840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6841 (exit $ac_status); } && {
6842 test -z "$ac_c_werror_flag" ||
6843 test ! -s conftest.err
6844 } && test -s conftest.$ac_objext; then
6845 ac_cv_type_signed_long=yes
6847 echo "$as_me: failed program was:" >&5
6848 sed 's/^/| /' conftest.$ac_ext >&5
6850 ac_cv_type_signed_long=no
6853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6855 { echo "$as_me:$LINENO: result: $ac_cv_type_signed_long" >&5
6856 echo "${ECHO_T}$ac_cv_type_signed_long" >&6; }
6858 # The cast to long int works around a bug in the HP C Compiler
6859 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6860 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6861 # This bug is HP SR number 8606223364.
6862 { echo "$as_me:$LINENO: checking size of signed long" >&5
6863 echo $ECHO_N "checking size of signed long... $ECHO_C" >&6; }
6864 if test "${ac_cv_sizeof_signed_long+set}" = set; then
6865 echo $ECHO_N "(cached) $ECHO_C" >&6
6867 if test "$cross_compiling" = yes; then
6868 # Depending upon the size, compute the lo and hi bounds.
6869 cat >conftest.$ac_ext <<_ACEOF
6872 cat confdefs.h >>conftest.$ac_ext
6873 cat >>conftest.$ac_ext <<_ACEOF
6874 /* end confdefs.h. */
6875 $ac_includes_default
6876 typedef signed long ac__type_sizeof_;
6880 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
6887 rm -f conftest.$ac_objext
6888 if { (ac_try="$ac_compile"
6890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6891 *) ac_try_echo=$ac_try;;
6893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6894 (eval "$ac_compile") 2>conftest.er1
6896 grep -v '^ *+' conftest.er1 >conftest.err
6898 cat conftest.err >&5
6899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6900 (exit $ac_status); } && {
6901 test -z "$ac_c_werror_flag" ||
6902 test ! -s conftest.err
6903 } && test -s conftest.$ac_objext; then
6906 cat >conftest.$ac_ext <<_ACEOF
6909 cat confdefs.h >>conftest.$ac_ext
6910 cat >>conftest.$ac_ext <<_ACEOF
6911 /* end confdefs.h. */
6912 $ac_includes_default
6913 typedef signed long ac__type_sizeof_;
6917 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
6924 rm -f conftest.$ac_objext
6925 if { (ac_try="$ac_compile"
6927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6928 *) ac_try_echo=$ac_try;;
6930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6931 (eval "$ac_compile") 2>conftest.er1
6933 grep -v '^ *+' conftest.er1 >conftest.err
6935 cat conftest.err >&5
6936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6937 (exit $ac_status); } && {
6938 test -z "$ac_c_werror_flag" ||
6939 test ! -s conftest.err
6940 } && test -s conftest.$ac_objext; then
6941 ac_hi=$ac_mid; break
6943 echo "$as_me: failed program was:" >&5
6944 sed 's/^/| /' conftest.$ac_ext >&5
6946 ac_lo=`expr $ac_mid + 1`
6947 if test $ac_lo -le $ac_mid; then
6951 ac_mid=`expr 2 '*' $ac_mid + 1`
6954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6957 echo "$as_me: failed program was:" >&5
6958 sed 's/^/| /' conftest.$ac_ext >&5
6960 cat >conftest.$ac_ext <<_ACEOF
6963 cat confdefs.h >>conftest.$ac_ext
6964 cat >>conftest.$ac_ext <<_ACEOF
6965 /* end confdefs.h. */
6966 $ac_includes_default
6967 typedef signed long ac__type_sizeof_;
6971 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
6978 rm -f conftest.$ac_objext
6979 if { (ac_try="$ac_compile"
6981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6982 *) ac_try_echo=$ac_try;;
6984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6985 (eval "$ac_compile") 2>conftest.er1
6987 grep -v '^ *+' conftest.er1 >conftest.err
6989 cat conftest.err >&5
6990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6991 (exit $ac_status); } && {
6992 test -z "$ac_c_werror_flag" ||
6993 test ! -s conftest.err
6994 } && test -s conftest.$ac_objext; then
6997 cat >conftest.$ac_ext <<_ACEOF
7000 cat confdefs.h >>conftest.$ac_ext
7001 cat >>conftest.$ac_ext <<_ACEOF
7002 /* end confdefs.h. */
7003 $ac_includes_default
7004 typedef signed long ac__type_sizeof_;
7008 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
7015 rm -f conftest.$ac_objext
7016 if { (ac_try="$ac_compile"
7018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7019 *) ac_try_echo=$ac_try;;
7021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7022 (eval "$ac_compile") 2>conftest.er1
7024 grep -v '^ *+' conftest.er1 >conftest.err
7026 cat conftest.err >&5
7027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7028 (exit $ac_status); } && {
7029 test -z "$ac_c_werror_flag" ||
7030 test ! -s conftest.err
7031 } && test -s conftest.$ac_objext; then
7032 ac_lo=$ac_mid; break
7034 echo "$as_me: failed program was:" >&5
7035 sed 's/^/| /' conftest.$ac_ext >&5
7037 ac_hi=`expr '(' $ac_mid ')' - 1`
7038 if test $ac_mid -le $ac_hi; then
7042 ac_mid=`expr 2 '*' $ac_mid`
7045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7048 echo "$as_me: failed program was:" >&5
7049 sed 's/^/| /' conftest.$ac_ext >&5
7054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7058 # Binary search between lo and hi bounds.
7059 while test "x$ac_lo" != "x$ac_hi"; do
7060 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7061 cat >conftest.$ac_ext <<_ACEOF
7064 cat confdefs.h >>conftest.$ac_ext
7065 cat >>conftest.$ac_ext <<_ACEOF
7066 /* end confdefs.h. */
7067 $ac_includes_default
7068 typedef signed long ac__type_sizeof_;
7072 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
7079 rm -f conftest.$ac_objext
7080 if { (ac_try="$ac_compile"
7082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7083 *) ac_try_echo=$ac_try;;
7085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7086 (eval "$ac_compile") 2>conftest.er1
7088 grep -v '^ *+' conftest.er1 >conftest.err
7090 cat conftest.err >&5
7091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7092 (exit $ac_status); } && {
7093 test -z "$ac_c_werror_flag" ||
7094 test ! -s conftest.err
7095 } && test -s conftest.$ac_objext; then
7098 echo "$as_me: failed program was:" >&5
7099 sed 's/^/| /' conftest.$ac_ext >&5
7101 ac_lo=`expr '(' $ac_mid ')' + 1`
7104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7107 ?*) ac_cv_sizeof_signed_long=$ac_lo;;
7108 '') if test "$ac_cv_type_signed_long" = yes; then
7109 { { echo "$as_me:$LINENO: error: cannot compute sizeof (signed long)
7110 See \`config.log' for more details." >&5
7111 echo "$as_me: error: cannot compute sizeof (signed long)
7112 See \`config.log' for more details." >&2;}
7113 { (exit 77); exit 77; }; }
7115 ac_cv_sizeof_signed_long=0
7119 cat >conftest.$ac_ext <<_ACEOF
7122 cat confdefs.h >>conftest.$ac_ext
7123 cat >>conftest.$ac_ext <<_ACEOF
7124 /* end confdefs.h. */
7125 $ac_includes_default
7126 typedef signed long ac__type_sizeof_;
7127 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
7128 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
7135 FILE *f = fopen ("conftest.val", "w");
7138 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
7140 long int i = longval ();
7141 if (i != ((long int) (sizeof (ac__type_sizeof_))))
7143 fprintf (f, "%ld\n", i);
7147 unsigned long int i = ulongval ();
7148 if (i != ((long int) (sizeof (ac__type_sizeof_))))
7150 fprintf (f, "%lu\n", i);
7152 return ferror (f) || fclose (f) != 0;
7158 rm -f conftest$ac_exeext
7159 if { (ac_try="$ac_link"
7161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7162 *) ac_try_echo=$ac_try;;
7164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7165 (eval "$ac_link") 2>&5
7167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7168 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7169 { (case "(($ac_try" in
7170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7171 *) ac_try_echo=$ac_try;;
7173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7174 (eval "$ac_try") 2>&5
7176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7177 (exit $ac_status); }; }; then
7178 ac_cv_sizeof_signed_long=`cat conftest.val`
7180 echo "$as_me: program exited with status $ac_status" >&5
7181 echo "$as_me: failed program was:" >&5
7182 sed 's/^/| /' conftest.$ac_ext >&5
7185 if test "$ac_cv_type_signed_long" = yes; then
7186 { { echo "$as_me:$LINENO: error: cannot compute sizeof (signed long)
7187 See \`config.log' for more details." >&5
7188 echo "$as_me: error: cannot compute sizeof (signed long)
7189 See \`config.log' for more details." >&2;}
7190 { (exit 77); exit 77; }; }
7192 ac_cv_sizeof_signed_long=0
7195 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7199 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_signed_long" >&5
7200 echo "${ECHO_T}$ac_cv_sizeof_signed_long" >&6; }
7204 cat >>confdefs.h <<_ACEOF
7205 #define SIZEOF_SIGNED_LONG $ac_cv_sizeof_signed_long
7209 { echo "$as_me:$LINENO: checking for unsigned long" >&5
7210 echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6; }
7211 if test "${ac_cv_type_unsigned_long+set}" = set; then
7212 echo $ECHO_N "(cached) $ECHO_C" >&6
7214 cat >conftest.$ac_ext <<_ACEOF
7217 cat confdefs.h >>conftest.$ac_ext
7218 cat >>conftest.$ac_ext <<_ACEOF
7219 /* end confdefs.h. */
7220 $ac_includes_default
7221 typedef unsigned long ac__type_new_;
7225 if ((ac__type_new_ *) 0)
7227 if (sizeof (ac__type_new_))
7233 rm -f conftest.$ac_objext
7234 if { (ac_try="$ac_compile"
7236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7237 *) ac_try_echo=$ac_try;;
7239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7240 (eval "$ac_compile") 2>conftest.er1
7242 grep -v '^ *+' conftest.er1 >conftest.err
7244 cat conftest.err >&5
7245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7246 (exit $ac_status); } && {
7247 test -z "$ac_c_werror_flag" ||
7248 test ! -s conftest.err
7249 } && test -s conftest.$ac_objext; then
7250 ac_cv_type_unsigned_long=yes
7252 echo "$as_me: failed program was:" >&5
7253 sed 's/^/| /' conftest.$ac_ext >&5
7255 ac_cv_type_unsigned_long=no
7258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7260 { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5
7261 echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6; }
7263 # The cast to long int works around a bug in the HP C Compiler
7264 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7265 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7266 # This bug is HP SR number 8606223364.
7267 { echo "$as_me:$LINENO: checking size of unsigned long" >&5
7268 echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6; }
7269 if test "${ac_cv_sizeof_unsigned_long+set}" = set; then
7270 echo $ECHO_N "(cached) $ECHO_C" >&6
7272 if test "$cross_compiling" = yes; then
7273 # Depending upon the size, compute the lo and hi bounds.
7274 cat >conftest.$ac_ext <<_ACEOF
7277 cat confdefs.h >>conftest.$ac_ext
7278 cat >>conftest.$ac_ext <<_ACEOF
7279 /* end confdefs.h. */
7280 $ac_includes_default
7281 typedef unsigned long ac__type_sizeof_;
7285 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
7292 rm -f conftest.$ac_objext
7293 if { (ac_try="$ac_compile"
7295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7296 *) ac_try_echo=$ac_try;;
7298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7299 (eval "$ac_compile") 2>conftest.er1
7301 grep -v '^ *+' conftest.er1 >conftest.err
7303 cat conftest.err >&5
7304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7305 (exit $ac_status); } && {
7306 test -z "$ac_c_werror_flag" ||
7307 test ! -s conftest.err
7308 } && test -s conftest.$ac_objext; then
7311 cat >conftest.$ac_ext <<_ACEOF
7314 cat confdefs.h >>conftest.$ac_ext
7315 cat >>conftest.$ac_ext <<_ACEOF
7316 /* end confdefs.h. */
7317 $ac_includes_default
7318 typedef unsigned long ac__type_sizeof_;
7322 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
7329 rm -f conftest.$ac_objext
7330 if { (ac_try="$ac_compile"
7332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7333 *) ac_try_echo=$ac_try;;
7335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7336 (eval "$ac_compile") 2>conftest.er1
7338 grep -v '^ *+' conftest.er1 >conftest.err
7340 cat conftest.err >&5
7341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7342 (exit $ac_status); } && {
7343 test -z "$ac_c_werror_flag" ||
7344 test ! -s conftest.err
7345 } && test -s conftest.$ac_objext; then
7346 ac_hi=$ac_mid; break
7348 echo "$as_me: failed program was:" >&5
7349 sed 's/^/| /' conftest.$ac_ext >&5
7351 ac_lo=`expr $ac_mid + 1`
7352 if test $ac_lo -le $ac_mid; then
7356 ac_mid=`expr 2 '*' $ac_mid + 1`
7359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7362 echo "$as_me: failed program was:" >&5
7363 sed 's/^/| /' conftest.$ac_ext >&5
7365 cat >conftest.$ac_ext <<_ACEOF
7368 cat confdefs.h >>conftest.$ac_ext
7369 cat >>conftest.$ac_ext <<_ACEOF
7370 /* end confdefs.h. */
7371 $ac_includes_default
7372 typedef unsigned long ac__type_sizeof_;
7376 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
7383 rm -f conftest.$ac_objext
7384 if { (ac_try="$ac_compile"
7386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7387 *) ac_try_echo=$ac_try;;
7389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7390 (eval "$ac_compile") 2>conftest.er1
7392 grep -v '^ *+' conftest.er1 >conftest.err
7394 cat conftest.err >&5
7395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7396 (exit $ac_status); } && {
7397 test -z "$ac_c_werror_flag" ||
7398 test ! -s conftest.err
7399 } && test -s conftest.$ac_objext; then
7402 cat >conftest.$ac_ext <<_ACEOF
7405 cat confdefs.h >>conftest.$ac_ext
7406 cat >>conftest.$ac_ext <<_ACEOF
7407 /* end confdefs.h. */
7408 $ac_includes_default
7409 typedef unsigned long ac__type_sizeof_;
7413 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
7420 rm -f conftest.$ac_objext
7421 if { (ac_try="$ac_compile"
7423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7424 *) ac_try_echo=$ac_try;;
7426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7427 (eval "$ac_compile") 2>conftest.er1
7429 grep -v '^ *+' conftest.er1 >conftest.err
7431 cat conftest.err >&5
7432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7433 (exit $ac_status); } && {
7434 test -z "$ac_c_werror_flag" ||
7435 test ! -s conftest.err
7436 } && test -s conftest.$ac_objext; then
7437 ac_lo=$ac_mid; break
7439 echo "$as_me: failed program was:" >&5
7440 sed 's/^/| /' conftest.$ac_ext >&5
7442 ac_hi=`expr '(' $ac_mid ')' - 1`
7443 if test $ac_mid -le $ac_hi; then
7447 ac_mid=`expr 2 '*' $ac_mid`
7450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7453 echo "$as_me: failed program was:" >&5
7454 sed 's/^/| /' conftest.$ac_ext >&5
7459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7463 # Binary search between lo and hi bounds.
7464 while test "x$ac_lo" != "x$ac_hi"; do
7465 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7466 cat >conftest.$ac_ext <<_ACEOF
7469 cat confdefs.h >>conftest.$ac_ext
7470 cat >>conftest.$ac_ext <<_ACEOF
7471 /* end confdefs.h. */
7472 $ac_includes_default
7473 typedef unsigned long ac__type_sizeof_;
7477 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
7484 rm -f conftest.$ac_objext
7485 if { (ac_try="$ac_compile"
7487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7488 *) ac_try_echo=$ac_try;;
7490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7491 (eval "$ac_compile") 2>conftest.er1
7493 grep -v '^ *+' conftest.er1 >conftest.err
7495 cat conftest.err >&5
7496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7497 (exit $ac_status); } && {
7498 test -z "$ac_c_werror_flag" ||
7499 test ! -s conftest.err
7500 } && test -s conftest.$ac_objext; then
7503 echo "$as_me: failed program was:" >&5
7504 sed 's/^/| /' conftest.$ac_ext >&5
7506 ac_lo=`expr '(' $ac_mid ')' + 1`
7509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7512 ?*) ac_cv_sizeof_unsigned_long=$ac_lo;;
7513 '') if test "$ac_cv_type_unsigned_long" = yes; then
7514 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
7515 See \`config.log' for more details." >&5
7516 echo "$as_me: error: cannot compute sizeof (unsigned long)
7517 See \`config.log' for more details." >&2;}
7518 { (exit 77); exit 77; }; }
7520 ac_cv_sizeof_unsigned_long=0
7524 cat >conftest.$ac_ext <<_ACEOF
7527 cat confdefs.h >>conftest.$ac_ext
7528 cat >>conftest.$ac_ext <<_ACEOF
7529 /* end confdefs.h. */
7530 $ac_includes_default
7531 typedef unsigned long ac__type_sizeof_;
7532 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
7533 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
7540 FILE *f = fopen ("conftest.val", "w");
7543 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
7545 long int i = longval ();
7546 if (i != ((long int) (sizeof (ac__type_sizeof_))))
7548 fprintf (f, "%ld\n", i);
7552 unsigned long int i = ulongval ();
7553 if (i != ((long int) (sizeof (ac__type_sizeof_))))
7555 fprintf (f, "%lu\n", i);
7557 return ferror (f) || fclose (f) != 0;
7563 rm -f conftest$ac_exeext
7564 if { (ac_try="$ac_link"
7566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7567 *) ac_try_echo=$ac_try;;
7569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7570 (eval "$ac_link") 2>&5
7572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7573 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7574 { (case "(($ac_try" in
7575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7576 *) ac_try_echo=$ac_try;;
7578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7579 (eval "$ac_try") 2>&5
7581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7582 (exit $ac_status); }; }; then
7583 ac_cv_sizeof_unsigned_long=`cat conftest.val`
7585 echo "$as_me: program exited with status $ac_status" >&5
7586 echo "$as_me: failed program was:" >&5
7587 sed 's/^/| /' conftest.$ac_ext >&5
7590 if test "$ac_cv_type_unsigned_long" = yes; then
7591 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
7592 See \`config.log' for more details." >&5
7593 echo "$as_me: error: cannot compute sizeof (unsigned long)
7594 See \`config.log' for more details." >&2;}
7595 { (exit 77); exit 77; }; }
7597 ac_cv_sizeof_unsigned_long=0
7600 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7604 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
7605 echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6; }
7609 cat >>confdefs.h <<_ACEOF
7610 #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
7614 { echo "$as_me:$LINENO: checking for signed long long" >&5
7615 echo $ECHO_N "checking for signed long long... $ECHO_C" >&6; }
7616 if test "${ac_cv_type_signed_long_long+set}" = set; then
7617 echo $ECHO_N "(cached) $ECHO_C" >&6
7619 cat >conftest.$ac_ext <<_ACEOF
7622 cat confdefs.h >>conftest.$ac_ext
7623 cat >>conftest.$ac_ext <<_ACEOF
7624 /* end confdefs.h. */
7625 $ac_includes_default
7626 typedef signed long long ac__type_new_;
7630 if ((ac__type_new_ *) 0)
7632 if (sizeof (ac__type_new_))
7638 rm -f conftest.$ac_objext
7639 if { (ac_try="$ac_compile"
7641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7642 *) ac_try_echo=$ac_try;;
7644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7645 (eval "$ac_compile") 2>conftest.er1
7647 grep -v '^ *+' conftest.er1 >conftest.err
7649 cat conftest.err >&5
7650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7651 (exit $ac_status); } && {
7652 test -z "$ac_c_werror_flag" ||
7653 test ! -s conftest.err
7654 } && test -s conftest.$ac_objext; then
7655 ac_cv_type_signed_long_long=yes
7657 echo "$as_me: failed program was:" >&5
7658 sed 's/^/| /' conftest.$ac_ext >&5
7660 ac_cv_type_signed_long_long=no
7663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7665 { echo "$as_me:$LINENO: result: $ac_cv_type_signed_long_long" >&5
7666 echo "${ECHO_T}$ac_cv_type_signed_long_long" >&6; }
7668 # The cast to long int works around a bug in the HP C Compiler
7669 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7670 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7671 # This bug is HP SR number 8606223364.
7672 { echo "$as_me:$LINENO: checking size of signed long long" >&5
7673 echo $ECHO_N "checking size of signed long long... $ECHO_C" >&6; }
7674 if test "${ac_cv_sizeof_signed_long_long+set}" = set; then
7675 echo $ECHO_N "(cached) $ECHO_C" >&6
7677 if test "$cross_compiling" = yes; then
7678 # Depending upon the size, compute the lo and hi bounds.
7679 cat >conftest.$ac_ext <<_ACEOF
7682 cat confdefs.h >>conftest.$ac_ext
7683 cat >>conftest.$ac_ext <<_ACEOF
7684 /* end confdefs.h. */
7685 $ac_includes_default
7686 typedef signed long long ac__type_sizeof_;
7690 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
7697 rm -f conftest.$ac_objext
7698 if { (ac_try="$ac_compile"
7700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7701 *) ac_try_echo=$ac_try;;
7703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7704 (eval "$ac_compile") 2>conftest.er1
7706 grep -v '^ *+' conftest.er1 >conftest.err
7708 cat conftest.err >&5
7709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7710 (exit $ac_status); } && {
7711 test -z "$ac_c_werror_flag" ||
7712 test ! -s conftest.err
7713 } && test -s conftest.$ac_objext; then
7716 cat >conftest.$ac_ext <<_ACEOF
7719 cat confdefs.h >>conftest.$ac_ext
7720 cat >>conftest.$ac_ext <<_ACEOF
7721 /* end confdefs.h. */
7722 $ac_includes_default
7723 typedef signed long long ac__type_sizeof_;
7727 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
7734 rm -f conftest.$ac_objext
7735 if { (ac_try="$ac_compile"
7737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7738 *) ac_try_echo=$ac_try;;
7740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7741 (eval "$ac_compile") 2>conftest.er1
7743 grep -v '^ *+' conftest.er1 >conftest.err
7745 cat conftest.err >&5
7746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7747 (exit $ac_status); } && {
7748 test -z "$ac_c_werror_flag" ||
7749 test ! -s conftest.err
7750 } && test -s conftest.$ac_objext; then
7751 ac_hi=$ac_mid; break
7753 echo "$as_me: failed program was:" >&5
7754 sed 's/^/| /' conftest.$ac_ext >&5
7756 ac_lo=`expr $ac_mid + 1`
7757 if test $ac_lo -le $ac_mid; then
7761 ac_mid=`expr 2 '*' $ac_mid + 1`
7764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7767 echo "$as_me: failed program was:" >&5
7768 sed 's/^/| /' conftest.$ac_ext >&5
7770 cat >conftest.$ac_ext <<_ACEOF
7773 cat confdefs.h >>conftest.$ac_ext
7774 cat >>conftest.$ac_ext <<_ACEOF
7775 /* end confdefs.h. */
7776 $ac_includes_default
7777 typedef signed long long ac__type_sizeof_;
7781 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
7788 rm -f conftest.$ac_objext
7789 if { (ac_try="$ac_compile"
7791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7792 *) ac_try_echo=$ac_try;;
7794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7795 (eval "$ac_compile") 2>conftest.er1
7797 grep -v '^ *+' conftest.er1 >conftest.err
7799 cat conftest.err >&5
7800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7801 (exit $ac_status); } && {
7802 test -z "$ac_c_werror_flag" ||
7803 test ! -s conftest.err
7804 } && test -s conftest.$ac_objext; then
7807 cat >conftest.$ac_ext <<_ACEOF
7810 cat confdefs.h >>conftest.$ac_ext
7811 cat >>conftest.$ac_ext <<_ACEOF
7812 /* end confdefs.h. */
7813 $ac_includes_default
7814 typedef signed long long ac__type_sizeof_;
7818 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
7825 rm -f conftest.$ac_objext
7826 if { (ac_try="$ac_compile"
7828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7829 *) ac_try_echo=$ac_try;;
7831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7832 (eval "$ac_compile") 2>conftest.er1
7834 grep -v '^ *+' conftest.er1 >conftest.err
7836 cat conftest.err >&5
7837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7838 (exit $ac_status); } && {
7839 test -z "$ac_c_werror_flag" ||
7840 test ! -s conftest.err
7841 } && test -s conftest.$ac_objext; then
7842 ac_lo=$ac_mid; break
7844 echo "$as_me: failed program was:" >&5
7845 sed 's/^/| /' conftest.$ac_ext >&5
7847 ac_hi=`expr '(' $ac_mid ')' - 1`
7848 if test $ac_mid -le $ac_hi; then
7852 ac_mid=`expr 2 '*' $ac_mid`
7855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7858 echo "$as_me: failed program was:" >&5
7859 sed 's/^/| /' conftest.$ac_ext >&5
7864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7868 # Binary search between lo and hi bounds.
7869 while test "x$ac_lo" != "x$ac_hi"; do
7870 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7871 cat >conftest.$ac_ext <<_ACEOF
7874 cat confdefs.h >>conftest.$ac_ext
7875 cat >>conftest.$ac_ext <<_ACEOF
7876 /* end confdefs.h. */
7877 $ac_includes_default
7878 typedef signed long long ac__type_sizeof_;
7882 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
7889 rm -f conftest.$ac_objext
7890 if { (ac_try="$ac_compile"
7892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7893 *) ac_try_echo=$ac_try;;
7895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7896 (eval "$ac_compile") 2>conftest.er1
7898 grep -v '^ *+' conftest.er1 >conftest.err
7900 cat conftest.err >&5
7901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7902 (exit $ac_status); } && {
7903 test -z "$ac_c_werror_flag" ||
7904 test ! -s conftest.err
7905 } && test -s conftest.$ac_objext; then
7908 echo "$as_me: failed program was:" >&5
7909 sed 's/^/| /' conftest.$ac_ext >&5
7911 ac_lo=`expr '(' $ac_mid ')' + 1`
7914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7917 ?*) ac_cv_sizeof_signed_long_long=$ac_lo;;
7918 '') if test "$ac_cv_type_signed_long_long" = yes; then
7919 { { echo "$as_me:$LINENO: error: cannot compute sizeof (signed long long)
7920 See \`config.log' for more details." >&5
7921 echo "$as_me: error: cannot compute sizeof (signed long long)
7922 See \`config.log' for more details." >&2;}
7923 { (exit 77); exit 77; }; }
7925 ac_cv_sizeof_signed_long_long=0
7929 cat >conftest.$ac_ext <<_ACEOF
7932 cat confdefs.h >>conftest.$ac_ext
7933 cat >>conftest.$ac_ext <<_ACEOF
7934 /* end confdefs.h. */
7935 $ac_includes_default
7936 typedef signed long long ac__type_sizeof_;
7937 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
7938 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
7945 FILE *f = fopen ("conftest.val", "w");
7948 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
7950 long int i = longval ();
7951 if (i != ((long int) (sizeof (ac__type_sizeof_))))
7953 fprintf (f, "%ld\n", i);
7957 unsigned long int i = ulongval ();
7958 if (i != ((long int) (sizeof (ac__type_sizeof_))))
7960 fprintf (f, "%lu\n", i);
7962 return ferror (f) || fclose (f) != 0;
7968 rm -f conftest$ac_exeext
7969 if { (ac_try="$ac_link"
7971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7972 *) ac_try_echo=$ac_try;;
7974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7975 (eval "$ac_link") 2>&5
7977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7978 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7979 { (case "(($ac_try" in
7980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7981 *) ac_try_echo=$ac_try;;
7983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7984 (eval "$ac_try") 2>&5
7986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7987 (exit $ac_status); }; }; then
7988 ac_cv_sizeof_signed_long_long=`cat conftest.val`
7990 echo "$as_me: program exited with status $ac_status" >&5
7991 echo "$as_me: failed program was:" >&5
7992 sed 's/^/| /' conftest.$ac_ext >&5
7995 if test "$ac_cv_type_signed_long_long" = yes; then
7996 { { echo "$as_me:$LINENO: error: cannot compute sizeof (signed long long)
7997 See \`config.log' for more details." >&5
7998 echo "$as_me: error: cannot compute sizeof (signed long long)
7999 See \`config.log' for more details." >&2;}
8000 { (exit 77); exit 77; }; }
8002 ac_cv_sizeof_signed_long_long=0
8005 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8009 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_signed_long_long" >&5
8010 echo "${ECHO_T}$ac_cv_sizeof_signed_long_long" >&6; }
8014 cat >>confdefs.h <<_ACEOF
8015 #define SIZEOF_SIGNED_LONG_LONG $ac_cv_sizeof_signed_long_long
8019 { echo "$as_me:$LINENO: checking for unsigned long long" >&5
8020 echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6; }
8021 if test "${ac_cv_type_unsigned_long_long+set}" = set; then
8022 echo $ECHO_N "(cached) $ECHO_C" >&6
8024 cat >conftest.$ac_ext <<_ACEOF
8027 cat confdefs.h >>conftest.$ac_ext
8028 cat >>conftest.$ac_ext <<_ACEOF
8029 /* end confdefs.h. */
8030 $ac_includes_default
8031 typedef unsigned long long ac__type_new_;
8035 if ((ac__type_new_ *) 0)
8037 if (sizeof (ac__type_new_))
8043 rm -f conftest.$ac_objext
8044 if { (ac_try="$ac_compile"
8046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8047 *) ac_try_echo=$ac_try;;
8049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8050 (eval "$ac_compile") 2>conftest.er1
8052 grep -v '^ *+' conftest.er1 >conftest.err
8054 cat conftest.err >&5
8055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8056 (exit $ac_status); } && {
8057 test -z "$ac_c_werror_flag" ||
8058 test ! -s conftest.err
8059 } && test -s conftest.$ac_objext; then
8060 ac_cv_type_unsigned_long_long=yes
8062 echo "$as_me: failed program was:" >&5
8063 sed 's/^/| /' conftest.$ac_ext >&5
8065 ac_cv_type_unsigned_long_long=no
8068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8070 { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
8071 echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6; }
8073 # The cast to long int works around a bug in the HP C Compiler
8074 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8075 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8076 # This bug is HP SR number 8606223364.
8077 { echo "$as_me:$LINENO: checking size of unsigned long long" >&5
8078 echo $ECHO_N "checking size of unsigned long long... $ECHO_C" >&6; }
8079 if test "${ac_cv_sizeof_unsigned_long_long+set}" = set; then
8080 echo $ECHO_N "(cached) $ECHO_C" >&6
8082 if test "$cross_compiling" = yes; then
8083 # Depending upon the size, compute the lo and hi bounds.
8084 cat >conftest.$ac_ext <<_ACEOF
8087 cat confdefs.h >>conftest.$ac_ext
8088 cat >>conftest.$ac_ext <<_ACEOF
8089 /* end confdefs.h. */
8090 $ac_includes_default
8091 typedef unsigned long long ac__type_sizeof_;
8095 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
8102 rm -f conftest.$ac_objext
8103 if { (ac_try="$ac_compile"
8105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8106 *) ac_try_echo=$ac_try;;
8108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8109 (eval "$ac_compile") 2>conftest.er1
8111 grep -v '^ *+' conftest.er1 >conftest.err
8113 cat conftest.err >&5
8114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8115 (exit $ac_status); } && {
8116 test -z "$ac_c_werror_flag" ||
8117 test ! -s conftest.err
8118 } && test -s conftest.$ac_objext; then
8121 cat >conftest.$ac_ext <<_ACEOF
8124 cat confdefs.h >>conftest.$ac_ext
8125 cat >>conftest.$ac_ext <<_ACEOF
8126 /* end confdefs.h. */
8127 $ac_includes_default
8128 typedef unsigned long long ac__type_sizeof_;
8132 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
8139 rm -f conftest.$ac_objext
8140 if { (ac_try="$ac_compile"
8142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8143 *) ac_try_echo=$ac_try;;
8145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8146 (eval "$ac_compile") 2>conftest.er1
8148 grep -v '^ *+' conftest.er1 >conftest.err
8150 cat conftest.err >&5
8151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8152 (exit $ac_status); } && {
8153 test -z "$ac_c_werror_flag" ||
8154 test ! -s conftest.err
8155 } && test -s conftest.$ac_objext; then
8156 ac_hi=$ac_mid; break
8158 echo "$as_me: failed program was:" >&5
8159 sed 's/^/| /' conftest.$ac_ext >&5
8161 ac_lo=`expr $ac_mid + 1`
8162 if test $ac_lo -le $ac_mid; then
8166 ac_mid=`expr 2 '*' $ac_mid + 1`
8169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8172 echo "$as_me: failed program was:" >&5
8173 sed 's/^/| /' conftest.$ac_ext >&5
8175 cat >conftest.$ac_ext <<_ACEOF
8178 cat confdefs.h >>conftest.$ac_ext
8179 cat >>conftest.$ac_ext <<_ACEOF
8180 /* end confdefs.h. */
8181 $ac_includes_default
8182 typedef unsigned long long ac__type_sizeof_;
8186 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
8193 rm -f conftest.$ac_objext
8194 if { (ac_try="$ac_compile"
8196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8197 *) ac_try_echo=$ac_try;;
8199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8200 (eval "$ac_compile") 2>conftest.er1
8202 grep -v '^ *+' conftest.er1 >conftest.err
8204 cat conftest.err >&5
8205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8206 (exit $ac_status); } && {
8207 test -z "$ac_c_werror_flag" ||
8208 test ! -s conftest.err
8209 } && test -s conftest.$ac_objext; then
8212 cat >conftest.$ac_ext <<_ACEOF
8215 cat confdefs.h >>conftest.$ac_ext
8216 cat >>conftest.$ac_ext <<_ACEOF
8217 /* end confdefs.h. */
8218 $ac_includes_default
8219 typedef unsigned long long ac__type_sizeof_;
8223 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
8230 rm -f conftest.$ac_objext
8231 if { (ac_try="$ac_compile"
8233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8234 *) ac_try_echo=$ac_try;;
8236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8237 (eval "$ac_compile") 2>conftest.er1
8239 grep -v '^ *+' conftest.er1 >conftest.err
8241 cat conftest.err >&5
8242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8243 (exit $ac_status); } && {
8244 test -z "$ac_c_werror_flag" ||
8245 test ! -s conftest.err
8246 } && test -s conftest.$ac_objext; then
8247 ac_lo=$ac_mid; break
8249 echo "$as_me: failed program was:" >&5
8250 sed 's/^/| /' conftest.$ac_ext >&5
8252 ac_hi=`expr '(' $ac_mid ')' - 1`
8253 if test $ac_mid -le $ac_hi; then
8257 ac_mid=`expr 2 '*' $ac_mid`
8260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8263 echo "$as_me: failed program was:" >&5
8264 sed 's/^/| /' conftest.$ac_ext >&5
8269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8273 # Binary search between lo and hi bounds.
8274 while test "x$ac_lo" != "x$ac_hi"; do
8275 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8276 cat >conftest.$ac_ext <<_ACEOF
8279 cat confdefs.h >>conftest.$ac_ext
8280 cat >>conftest.$ac_ext <<_ACEOF
8281 /* end confdefs.h. */
8282 $ac_includes_default
8283 typedef unsigned long long ac__type_sizeof_;
8287 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
8294 rm -f conftest.$ac_objext
8295 if { (ac_try="$ac_compile"
8297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8298 *) ac_try_echo=$ac_try;;
8300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8301 (eval "$ac_compile") 2>conftest.er1
8303 grep -v '^ *+' conftest.er1 >conftest.err
8305 cat conftest.err >&5
8306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8307 (exit $ac_status); } && {
8308 test -z "$ac_c_werror_flag" ||
8309 test ! -s conftest.err
8310 } && test -s conftest.$ac_objext; then
8313 echo "$as_me: failed program was:" >&5
8314 sed 's/^/| /' conftest.$ac_ext >&5
8316 ac_lo=`expr '(' $ac_mid ')' + 1`
8319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8322 ?*) ac_cv_sizeof_unsigned_long_long=$ac_lo;;
8323 '') if test "$ac_cv_type_unsigned_long_long" = yes; then
8324 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long long)
8325 See \`config.log' for more details." >&5
8326 echo "$as_me: error: cannot compute sizeof (unsigned long long)
8327 See \`config.log' for more details." >&2;}
8328 { (exit 77); exit 77; }; }
8330 ac_cv_sizeof_unsigned_long_long=0
8334 cat >conftest.$ac_ext <<_ACEOF
8337 cat confdefs.h >>conftest.$ac_ext
8338 cat >>conftest.$ac_ext <<_ACEOF
8339 /* end confdefs.h. */
8340 $ac_includes_default
8341 typedef unsigned long long ac__type_sizeof_;
8342 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
8343 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
8350 FILE *f = fopen ("conftest.val", "w");
8353 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
8355 long int i = longval ();
8356 if (i != ((long int) (sizeof (ac__type_sizeof_))))
8358 fprintf (f, "%ld\n", i);
8362 unsigned long int i = ulongval ();
8363 if (i != ((long int) (sizeof (ac__type_sizeof_))))
8365 fprintf (f, "%lu\n", i);
8367 return ferror (f) || fclose (f) != 0;
8373 rm -f conftest$ac_exeext
8374 if { (ac_try="$ac_link"
8376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8377 *) ac_try_echo=$ac_try;;
8379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8380 (eval "$ac_link") 2>&5
8382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8383 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8384 { (case "(($ac_try" in
8385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8386 *) ac_try_echo=$ac_try;;
8388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8389 (eval "$ac_try") 2>&5
8391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8392 (exit $ac_status); }; }; then
8393 ac_cv_sizeof_unsigned_long_long=`cat conftest.val`
8395 echo "$as_me: program exited with status $ac_status" >&5
8396 echo "$as_me: failed program was:" >&5
8397 sed 's/^/| /' conftest.$ac_ext >&5
8400 if test "$ac_cv_type_unsigned_long_long" = yes; then
8401 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long long)
8402 See \`config.log' for more details." >&5
8403 echo "$as_me: error: cannot compute sizeof (unsigned long long)
8404 See \`config.log' for more details." >&2;}
8405 { (exit 77); exit 77; }; }
8407 ac_cv_sizeof_unsigned_long_long=0
8410 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8414 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long_long" >&5
8415 echo "${ECHO_T}$ac_cv_sizeof_unsigned_long_long" >&6; }
8419 cat >>confdefs.h <<_ACEOF
8420 #define SIZEOF_UNSIGNED_LONG_LONG $ac_cv_sizeof_unsigned_long_long
8427 # Extract the first word of "freetype-config", so it can be a program name with args.
8428 set dummy freetype-config; ac_word=$2
8429 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8431 if test "${ac_cv_path_FREETYPE_CONFIG+set}" = set; then
8432 echo $ECHO_N "(cached) $ECHO_C" >&6
8434 case $FREETYPE_CONFIG in
8436 ac_cv_path_FREETYPE_CONFIG="$FREETYPE_CONFIG" # Let the user override the test with a path.
8439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8440 as_dummy=""$PATH:/usr/local/bin:/sw/bin:/opt/local/bin""
8441 for as_dir in $as_dummy
8444 test -z "$as_dir" && as_dir=.
8445 for ac_exec_ext in '' $ac_executable_extensions; do
8446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8447 ac_cv_path_FREETYPE_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8458 FREETYPE_CONFIG=$ac_cv_path_FREETYPE_CONFIG
8459 if test -n "$FREETYPE_CONFIG"; then
8460 { echo "$as_me:$LINENO: result: $FREETYPE_CONFIG" >&5
8461 echo "${ECHO_T}$FREETYPE_CONFIG" >&6; }
8463 { echo "$as_me:$LINENO: result: no" >&5
8464 echo "${ECHO_T}no" >&6; }
8469 OLDCPPFLAGS="${CPPFLAGS}"
8471 if test "x${FREETYPE_CONFIG}" '!=' "x"; then
8472 CPPFLAGS="$CPPFLAGS "`$FREETYPE_CONFIG --cflags`
8473 else if test -d /usr/include/freetype2; then
8474 CPPFLAGS="$CPPFLAGS -I/usr/include/freetype2"
8475 else if test -d /usr/local/include/freetype2; then
8476 CPPFLAGS="$CPPFLAGS -I/usr/local/include/freetype2"
8481 if test "x${FREETYPE_CONFIG}" '=' "x";then
8482 # if we didn't find the freetype-config program, we won't
8483 # know where the libs are expected to be. So just blindly
8484 # try to link against them.
8485 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
8486 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
8487 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
8488 echo $ECHO_N "(cached) $ECHO_C" >&6
8490 ac_check_lib_save_LIBS=$LIBS
8491 LIBS="-lfreetype $LIBS"
8492 cat >conftest.$ac_ext <<_ACEOF
8495 cat confdefs.h >>conftest.$ac_ext
8496 cat >>conftest.$ac_ext <<_ACEOF
8497 /* end confdefs.h. */
8499 /* Override any GCC internal prototype to avoid an error.
8500 Use char because int might match the return type of a GCC
8501 builtin and then its argument prototype would still apply. */
8505 char FT_Init_FreeType ();
8509 return FT_Init_FreeType ();
8514 rm -f conftest.$ac_objext conftest$ac_exeext
8515 if { (ac_try="$ac_link"
8517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8518 *) ac_try_echo=$ac_try;;
8520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8521 (eval "$ac_link") 2>conftest.er1
8523 grep -v '^ *+' conftest.er1 >conftest.err
8525 cat conftest.err >&5
8526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8527 (exit $ac_status); } && {
8528 test -z "$ac_c_werror_flag" ||
8529 test ! -s conftest.err
8530 } && test -s conftest$ac_exeext &&
8531 $as_test_x conftest$ac_exeext; then
8532 ac_cv_lib_freetype_FT_Init_FreeType=yes
8534 echo "$as_me: failed program was:" >&5
8535 sed 's/^/| /' conftest.$ac_ext >&5
8537 ac_cv_lib_freetype_FT_Init_FreeType=no
8540 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8541 conftest$ac_exeext conftest.$ac_ext
8542 LIBS=$ac_check_lib_save_LIBS
8544 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
8545 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
8546 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
8553 for ac_header in ft2build.h
8555 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8556 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8557 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8558 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8559 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8560 echo $ECHO_N "(cached) $ECHO_C" >&6
8562 ac_res=`eval echo '${'$as_ac_Header'}'`
8563 { echo "$as_me:$LINENO: result: $ac_res" >&5
8564 echo "${ECHO_T}$ac_res" >&6; }
8566 # Is the header compilable?
8567 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8568 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8569 cat >conftest.$ac_ext <<_ACEOF
8572 cat confdefs.h >>conftest.$ac_ext
8573 cat >>conftest.$ac_ext <<_ACEOF
8574 /* end confdefs.h. */
8575 $ac_includes_default
8576 #include <$ac_header>
8578 rm -f conftest.$ac_objext
8579 if { (ac_try="$ac_compile"
8581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8582 *) ac_try_echo=$ac_try;;
8584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8585 (eval "$ac_compile") 2>conftest.er1
8587 grep -v '^ *+' conftest.er1 >conftest.err
8589 cat conftest.err >&5
8590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8591 (exit $ac_status); } && {
8592 test -z "$ac_c_werror_flag" ||
8593 test ! -s conftest.err
8594 } && test -s conftest.$ac_objext; then
8595 ac_header_compiler=yes
8597 echo "$as_me: failed program was:" >&5
8598 sed 's/^/| /' conftest.$ac_ext >&5
8600 ac_header_compiler=no
8603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8604 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8605 echo "${ECHO_T}$ac_header_compiler" >&6; }
8607 # Is the header present?
8608 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8609 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8610 cat >conftest.$ac_ext <<_ACEOF
8613 cat confdefs.h >>conftest.$ac_ext
8614 cat >>conftest.$ac_ext <<_ACEOF
8615 /* end confdefs.h. */
8616 #include <$ac_header>
8618 if { (ac_try="$ac_cpp conftest.$ac_ext"
8620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8621 *) ac_try_echo=$ac_try;;
8623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8624 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8626 grep -v '^ *+' conftest.er1 >conftest.err
8628 cat conftest.err >&5
8629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8630 (exit $ac_status); } >/dev/null && {
8631 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8632 test ! -s conftest.err
8634 ac_header_preproc=yes
8636 echo "$as_me: failed program was:" >&5
8637 sed 's/^/| /' conftest.$ac_ext >&5
8639 ac_header_preproc=no
8642 rm -f conftest.err conftest.$ac_ext
8643 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8644 echo "${ECHO_T}$ac_header_preproc" >&6; }
8646 # So? What about this header?
8647 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8649 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8650 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8651 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8652 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8653 ac_header_preproc=yes
8656 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8657 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8658 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8659 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8660 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8661 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8662 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8663 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8664 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8665 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8666 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8667 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8671 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8672 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8673 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8674 echo $ECHO_N "(cached) $ECHO_C" >&6
8676 eval "$as_ac_Header=\$ac_header_preproc"
8678 ac_res=`eval echo '${'$as_ac_Header'}'`
8679 { echo "$as_me:$LINENO: result: $ac_res" >&5
8680 echo "${ECHO_T}$ac_res" >&6; }
8683 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8684 cat >>confdefs.h <<_ACEOF
8685 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8692 if test "x${HAVE_FT2BUILD_H}" '=' "x";then
8694 for ac_header in freetype/freetype.h
8696 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8697 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8698 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8699 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8700 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8701 echo $ECHO_N "(cached) $ECHO_C" >&6
8703 ac_res=`eval echo '${'$as_ac_Header'}'`
8704 { echo "$as_me:$LINENO: result: $ac_res" >&5
8705 echo "${ECHO_T}$ac_res" >&6; }
8707 # Is the header compilable?
8708 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8709 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8710 cat >conftest.$ac_ext <<_ACEOF
8713 cat confdefs.h >>conftest.$ac_ext
8714 cat >>conftest.$ac_ext <<_ACEOF
8715 /* end confdefs.h. */
8716 $ac_includes_default
8717 #include <$ac_header>
8719 rm -f conftest.$ac_objext
8720 if { (ac_try="$ac_compile"
8722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8723 *) ac_try_echo=$ac_try;;
8725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8726 (eval "$ac_compile") 2>conftest.er1
8728 grep -v '^ *+' conftest.er1 >conftest.err
8730 cat conftest.err >&5
8731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8732 (exit $ac_status); } && {
8733 test -z "$ac_c_werror_flag" ||
8734 test ! -s conftest.err
8735 } && test -s conftest.$ac_objext; then
8736 ac_header_compiler=yes
8738 echo "$as_me: failed program was:" >&5
8739 sed 's/^/| /' conftest.$ac_ext >&5
8741 ac_header_compiler=no
8744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8745 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8746 echo "${ECHO_T}$ac_header_compiler" >&6; }
8748 # Is the header present?
8749 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8750 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8751 cat >conftest.$ac_ext <<_ACEOF
8754 cat confdefs.h >>conftest.$ac_ext
8755 cat >>conftest.$ac_ext <<_ACEOF
8756 /* end confdefs.h. */
8757 #include <$ac_header>
8759 if { (ac_try="$ac_cpp conftest.$ac_ext"
8761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8762 *) ac_try_echo=$ac_try;;
8764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8765 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8767 grep -v '^ *+' conftest.er1 >conftest.err
8769 cat conftest.err >&5
8770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8771 (exit $ac_status); } >/dev/null && {
8772 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8773 test ! -s conftest.err
8775 ac_header_preproc=yes
8777 echo "$as_me: failed program was:" >&5
8778 sed 's/^/| /' conftest.$ac_ext >&5
8780 ac_header_preproc=no
8783 rm -f conftest.err conftest.$ac_ext
8784 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8785 echo "${ECHO_T}$ac_header_preproc" >&6; }
8787 # So? What about this header?
8788 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8790 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8791 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8792 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8793 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8794 ac_header_preproc=yes
8797 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8798 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8799 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8800 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8801 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8802 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8803 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8804 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8805 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8806 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8807 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8808 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8812 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8813 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8814 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8815 echo $ECHO_N "(cached) $ECHO_C" >&6
8817 eval "$as_ac_Header=\$ac_header_preproc"
8819 ac_res=`eval echo '${'$as_ac_Header'}'`
8820 { echo "$as_me:$LINENO: result: $ac_res" >&5
8821 echo "${ECHO_T}$ac_res" >&6; }
8824 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8825 cat >>confdefs.h <<_ACEOF
8826 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8828 HAVE_FREETYPE_FREETYPE_H=1
8835 if test "x${HAVE_LIB_FREETYPE}" '!=' "x" -o \
8836 "x${FREETYPE_CONFIG}" '!=' "x";then
8837 if test "x${HAVE_FREETYPE_FREETYPE_H}" '!=' "x";then
8840 if test "x${HAVE_FT2BUILD_H}" '!=' "x";then
8845 if test "x${HAVE_FREETYPE}" = "x1"; then
8846 if test "x${FREETYPE_CONFIG}" '!=' "x"; then
8847 LIBS="$LIBS "`$FREETYPE_CONFIG --libs`
8849 LIBS="$LIBS -lfreetype"
8852 if test "x${HAVE_FT2BUILD_H}" = "x1"; then
8853 HAVE_FT2BUILD_H_DEFINE='#define HAVE_FT2BUILD_H'
8856 { echo "$as_me:$LINENO: checking whether we can compile the freetype test program" >&5
8857 echo $ECHO_N "checking whether we can compile the freetype test program... $ECHO_C" >&6; }
8859 cat > conftest.c << EOF
8860 $HAVE_FT2BUILD_H_DEFINE
8862 #ifdef HAVE_FT2BUILD_H
8863 #include <ft2build.h>
8864 #include FT_FREETYPE_H
8867 #include FT_SFNT_NAMES_H
8868 #include FT_TRUETYPE_IDS_H
8869 #include FT_OUTLINE_H
8871 #include <freetype/freetype.h>
8872 #include <freetype/ftglyph.h>
8873 #include <freetype/ftsizes.h>
8874 #include <freetype/ftsnames.h>
8875 #include <freetype/ttnameid.h>
8876 #include <freetype/ftoutln.h>
8881 FT_Library ftlibrary;
8893 FT_Init_FreeType(&ftlibrary);
8894 FT_New_Face(ftlibrary, "filename", 0, &face);
8895 i = face->num_glyphs - 1;
8896 italic = face->style_flags&FT_STYLE_FLAG_ITALIC;
8897 bold = face->style_flags&FT_STYLE_FLAG_BOLD;
8898 FT_Get_Postscript_Name(face);
8899 FT_Get_Char_Index(face, 33);
8900 FT_Get_First_Char(face, &i);
8901 FT_Get_Next_Char(face, 33, &i);
8902 if(FT_HAS_GLYPH_NAMES(face)) {
8903 FT_Get_Glyph_Name(face, 33, name, 127);
8905 FT_Load_Glyph(face, 33, FT_LOAD_NO_BITMAP|FT_LOAD_NO_SCALE);
8906 FT_Get_Glyph(face->glyph, &glyph);
8907 FT_Glyph_Get_CBox(glyph, ft_glyph_bbox_unscaled, &bbox);
8908 FT_Done_Glyph(glyph);
8910 FT_Done_FreeType(ftlibrary);
8915 ac_link='$CC $CPPFLAGS $CFLAGS conftest.c $LDFLAGS $LIBS -o conftest${ac_exeext}'
8916 if { (eval echo freetype.m4:71: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8917 { echo "$as_me:$LINENO: result: yes" >&5
8918 echo "${ECHO_T}yes" >&6; }
8919 cat >>confdefs.h <<_ACEOF
8920 #define HAVE_FREETYPE 1
8923 cat >>confdefs.h <<_ACEOF
8924 #define HAVE_FREETYPE_FREETYPE_H 1
8927 cat >>confdefs.h <<_ACEOF
8928 #define USE_FREETYPE 1
8932 echo "configure: failed program was:" >&5
8935 { echo "$as_me:$LINENO: result: no" >&5
8936 echo "${ECHO_T}no" >&6; }
8941 # if the above didn't work out, reset all changes to the compiler variables.
8942 if test "x${HAVE_FREETYPE}" '!=' "x1"; then
8943 CPPFLAGS=$OLDCPPFLAGS
8948 #RFX_CHECK_FONTCONFIG
8952 if test "x${DISABLE_LAME}" = "xtrue"; then
8953 echo "*" Disabling lame support...
8955 # old lame code at lib/lame
8956 if test -f lib/lame/Makefile.in; then
8957 lame_objects="lame/psymodel.\$(O) lame/fft.\$(O) lame/newmdct.\$(O) lame/quantize.\$(O) lame/takehiro.\$(O) lame/reservoir.\$(O) lame/quantize_pvt.\$(O) lame/vbrquantize.\$(O) lame/encoder.\$(O) lame/id3tag.\$(O) lame/version.\$(O) lame/tables.\$(O) lame/util.\$(O) lame/bitstream.\$(O) lame/set_get.\$(O) lame/VbrTag.\$(O) lame/lame.\$(O)"
8958 lame_makefile="lib/lame/Makefile"
8959 CPPFLAGS="$CPPFLAGS -Ilame"
8960 cat >>confdefs.h <<_ACEOF
8965 if test -d /usr/include/lame; then
8966 CPPFLAGS="$CPPFLAGS -I /usr/include/lame"
8968 if test -d /usr/local/include/lame; then
8969 CPPFLAGS="$CPPFLAGS -I /usr/local/include/lame"
8973 { echo "$as_me:$LINENO: checking for lame_init in -lmp3lame" >&5
8974 echo $ECHO_N "checking for lame_init in -lmp3lame... $ECHO_C" >&6; }
8975 if test "${ac_cv_lib_mp3lame_lame_init+set}" = set; then
8976 echo $ECHO_N "(cached) $ECHO_C" >&6
8978 ac_check_lib_save_LIBS=$LIBS
8979 LIBS="-lmp3lame $LIBS"
8980 cat >conftest.$ac_ext <<_ACEOF
8983 cat confdefs.h >>conftest.$ac_ext
8984 cat >>conftest.$ac_ext <<_ACEOF
8985 /* end confdefs.h. */
8987 /* Override any GCC internal prototype to avoid an error.
8988 Use char because int might match the return type of a GCC
8989 builtin and then its argument prototype would still apply. */
8997 return lame_init ();
9002 rm -f conftest.$ac_objext conftest$ac_exeext
9003 if { (ac_try="$ac_link"
9005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9006 *) ac_try_echo=$ac_try;;
9008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9009 (eval "$ac_link") 2>conftest.er1
9011 grep -v '^ *+' conftest.er1 >conftest.err
9013 cat conftest.err >&5
9014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9015 (exit $ac_status); } && {
9016 test -z "$ac_c_werror_flag" ||
9017 test ! -s conftest.err
9018 } && test -s conftest$ac_exeext &&
9019 $as_test_x conftest$ac_exeext; then
9020 ac_cv_lib_mp3lame_lame_init=yes
9022 echo "$as_me: failed program was:" >&5
9023 sed 's/^/| /' conftest.$ac_ext >&5
9025 ac_cv_lib_mp3lame_lame_init=no
9028 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9029 conftest$ac_exeext conftest.$ac_ext
9030 LIBS=$ac_check_lib_save_LIBS
9032 { echo "$as_me:$LINENO: result: $ac_cv_lib_mp3lame_lame_init" >&5
9033 echo "${ECHO_T}$ac_cv_lib_mp3lame_lame_init" >&6; }
9034 if test $ac_cv_lib_mp3lame_lame_init = yes; then
9035 cat >>confdefs.h <<_ACEOF
9036 #define HAVE_LIBMP3LAME 1
9039 LIBS="-lmp3lame $LIBS"
9046 for ac_header in lame.h
9048 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9049 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9050 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9051 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9052 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9053 echo $ECHO_N "(cached) $ECHO_C" >&6
9055 ac_res=`eval echo '${'$as_ac_Header'}'`
9056 { echo "$as_me:$LINENO: result: $ac_res" >&5
9057 echo "${ECHO_T}$ac_res" >&6; }
9059 # Is the header compilable?
9060 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9061 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9062 cat >conftest.$ac_ext <<_ACEOF
9065 cat confdefs.h >>conftest.$ac_ext
9066 cat >>conftest.$ac_ext <<_ACEOF
9067 /* end confdefs.h. */
9068 $ac_includes_default
9069 #include <$ac_header>
9071 rm -f conftest.$ac_objext
9072 if { (ac_try="$ac_compile"
9074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9075 *) ac_try_echo=$ac_try;;
9077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9078 (eval "$ac_compile") 2>conftest.er1
9080 grep -v '^ *+' conftest.er1 >conftest.err
9082 cat conftest.err >&5
9083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9084 (exit $ac_status); } && {
9085 test -z "$ac_c_werror_flag" ||
9086 test ! -s conftest.err
9087 } && test -s conftest.$ac_objext; then
9088 ac_header_compiler=yes
9090 echo "$as_me: failed program was:" >&5
9091 sed 's/^/| /' conftest.$ac_ext >&5
9093 ac_header_compiler=no
9096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9097 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9098 echo "${ECHO_T}$ac_header_compiler" >&6; }
9100 # Is the header present?
9101 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9102 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9103 cat >conftest.$ac_ext <<_ACEOF
9106 cat confdefs.h >>conftest.$ac_ext
9107 cat >>conftest.$ac_ext <<_ACEOF
9108 /* end confdefs.h. */
9109 #include <$ac_header>
9111 if { (ac_try="$ac_cpp conftest.$ac_ext"
9113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9114 *) ac_try_echo=$ac_try;;
9116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9117 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9119 grep -v '^ *+' conftest.er1 >conftest.err
9121 cat conftest.err >&5
9122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9123 (exit $ac_status); } >/dev/null && {
9124 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9125 test ! -s conftest.err
9127 ac_header_preproc=yes
9129 echo "$as_me: failed program was:" >&5
9130 sed 's/^/| /' conftest.$ac_ext >&5
9132 ac_header_preproc=no
9135 rm -f conftest.err conftest.$ac_ext
9136 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9137 echo "${ECHO_T}$ac_header_preproc" >&6; }
9139 # So? What about this header?
9140 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9142 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9143 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9144 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9145 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9146 ac_header_preproc=yes
9149 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9150 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9151 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9152 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9153 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9154 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9155 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9156 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9157 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9158 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9159 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9160 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9164 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9165 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9166 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9167 echo $ECHO_N "(cached) $ECHO_C" >&6
9169 eval "$as_ac_Header=\$ac_header_preproc"
9171 ac_res=`eval echo '${'$as_ac_Header'}'`
9172 { echo "$as_me:$LINENO: result: $ac_res" >&5
9173 echo "${ECHO_T}$ac_res" >&6; }
9176 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9177 cat >>confdefs.h <<_ACEOF
9178 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9185 if test "x$NO_LIBMP3LAME" "!=" "x1" -a "x$ac_cv_header_lame_h" "!=" "x";then
9186 cat >>confdefs.h <<_ACEOF
9195 # ------------------------------------------------------------------
9199 for ac_prog in avifile-config
9201 # Extract the first word of "$ac_prog", so it can be a program name with args.
9202 set dummy $ac_prog; ac_word=$2
9203 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9204 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9205 if test "${ac_cv_prog_AVIFILE_CONFIG+set}" = set; then
9206 echo $ECHO_N "(cached) $ECHO_C" >&6
9208 if test -n "$AVIFILE_CONFIG"; then
9209 ac_cv_prog_AVIFILE_CONFIG="$AVIFILE_CONFIG" # Let the user override the test.
9211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9215 test -z "$as_dir" && as_dir=.
9216 for ac_exec_ext in '' $ac_executable_extensions; do
9217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9218 ac_cv_prog_AVIFILE_CONFIG="$ac_prog"
9219 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9228 AVIFILE_CONFIG=$ac_cv_prog_AVIFILE_CONFIG
9229 if test -n "$AVIFILE_CONFIG"; then
9230 { echo "$as_me:$LINENO: result: $AVIFILE_CONFIG" >&5
9231 echo "${ECHO_T}$AVIFILE_CONFIG" >&6; }
9233 { echo "$as_me:$LINENO: result: no" >&5
9234 echo "${ECHO_T}no" >&6; }
9238 test -n "$AVIFILE_CONFIG" && break
9242 if test "x$AVIFILE_CONFIG" '!=' "x";then
9243 OLDCPPFLAGS="$CPPFLAGS"
9244 # temporarily add avifile paths to CPPFLAGS...
9245 CPPFLAGS="$CPPFLAGS $CXXFLAGS "`$AVIFILE_CONFIG --cflags`
9248 for ac_header in avifile/version.h version.h
9250 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9251 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9252 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9253 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9254 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9255 echo $ECHO_N "(cached) $ECHO_C" >&6
9257 ac_res=`eval echo '${'$as_ac_Header'}'`
9258 { echo "$as_me:$LINENO: result: $ac_res" >&5
9259 echo "${ECHO_T}$ac_res" >&6; }
9261 # Is the header compilable?
9262 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9263 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9264 cat >conftest.$ac_ext <<_ACEOF
9267 cat confdefs.h >>conftest.$ac_ext
9268 cat >>conftest.$ac_ext <<_ACEOF
9269 /* end confdefs.h. */
9270 $ac_includes_default
9271 #include <$ac_header>
9273 rm -f conftest.$ac_objext
9274 if { (ac_try="$ac_compile"
9276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9277 *) ac_try_echo=$ac_try;;
9279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9280 (eval "$ac_compile") 2>conftest.er1
9282 grep -v '^ *+' conftest.er1 >conftest.err
9284 cat conftest.err >&5
9285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9286 (exit $ac_status); } && {
9287 test -z "$ac_c_werror_flag" ||
9288 test ! -s conftest.err
9289 } && test -s conftest.$ac_objext; then
9290 ac_header_compiler=yes
9292 echo "$as_me: failed program was:" >&5
9293 sed 's/^/| /' conftest.$ac_ext >&5
9295 ac_header_compiler=no
9298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9299 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9300 echo "${ECHO_T}$ac_header_compiler" >&6; }
9302 # Is the header present?
9303 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9304 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9305 cat >conftest.$ac_ext <<_ACEOF
9308 cat confdefs.h >>conftest.$ac_ext
9309 cat >>conftest.$ac_ext <<_ACEOF
9310 /* end confdefs.h. */
9311 #include <$ac_header>
9313 if { (ac_try="$ac_cpp conftest.$ac_ext"
9315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9316 *) ac_try_echo=$ac_try;;
9318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9319 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9321 grep -v '^ *+' conftest.er1 >conftest.err
9323 cat conftest.err >&5
9324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9325 (exit $ac_status); } >/dev/null && {
9326 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9327 test ! -s conftest.err
9329 ac_header_preproc=yes
9331 echo "$as_me: failed program was:" >&5
9332 sed 's/^/| /' conftest.$ac_ext >&5
9334 ac_header_preproc=no
9337 rm -f conftest.err conftest.$ac_ext
9338 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9339 echo "${ECHO_T}$ac_header_preproc" >&6; }
9341 # So? What about this header?
9342 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9344 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9345 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9346 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9347 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9348 ac_header_preproc=yes
9351 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9352 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9353 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9354 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9355 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9356 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9357 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9358 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9359 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9360 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9361 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9362 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9366 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9367 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9368 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9369 echo $ECHO_N "(cached) $ECHO_C" >&6
9371 eval "$as_ac_Header=\$ac_header_preproc"
9373 ac_res=`eval echo '${'$as_ac_Header'}'`
9374 { echo "$as_me:$LINENO: result: $ac_res" >&5
9375 echo "${ECHO_T}$ac_res" >&6; }
9378 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9379 cat >>confdefs.h <<_ACEOF
9380 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9388 CPPFLAGS="$OLDCPPFLAGS"
9391 { echo "$as_me:$LINENO: checking whether we can compile the avifile test program" >&5
9392 echo $ECHO_N "checking whether we can compile the avifile test program... $ECHO_C" >&6; }
9394 if test "x${ac_cv_header_version_h}" '=' "xyes";then
9395 HAVE_VERSION_H_DEFINE='#define HAVE_VERSION_H'
9397 if test "x${ac_cv_header_avifile_version_h}" '=' "xyes";then
9398 HAVE_AVIFILE_VERSION_H_DEFINE='#define HAVE_AVIFILE_VERSION_H'
9401 cat > conftest.cpp << EOF
9403 // hack- we can't yet access the variables in config.h (because it hasn't been generated yet),
9404 // so we have to introduce them this way
9405 $HAVE_VERSION_H_DEFINE
9406 $HAVE_AVIFILE_VERSION_H_DEFINE
9408 #ifdef HAVE_VERSION_H
9409 #include <version.h>
9411 #ifdef HAVE_AVIFILE_VERSION_H
9412 #include <avifile/version.h>
9415 #if (AVIFILE_MAJOR_VERSION == 0) && (AVIFILE_MINOR_VERSION>=6)
9416 #include <avifile.h>
9417 #include <aviplay.h>
9418 #include <avm_fourcc.h>
9419 #include <avm_creators.h>
9420 #include <StreamInfo.h>
9423 #include <avifile.h>
9424 #include <aviplay.h>
9425 #include <aviutil.h>
9427 #define Height height
9434 IAviReadFile* player;
9435 IAviReadStream* astream;
9436 IAviReadStream* vstream;
9437 player = CreateIAviReadFile(0);
9438 astream = player->GetStream(0, AviStream::Audio);
9439 vstream = player->GetStream(0, AviStream::Video);
9440 vstream -> StartStreaming();
9441 astream -> StartStreaming();
9444 player->GetFileHeader(&head);
9445 head.dwMicroSecPerFrame;
9450 head.dwMicroSecPerFrame;
9451 astream->GetEndPos(),
9452 astream->GetEndTime());
9453 player->StreamCount();
9455 StreamInfo*audioinfo;
9456 StreamInfo*videoinfo;
9457 audioinfo = astream->GetStreamInfo();
9458 videoinfo = vstream->GetStreamInfo();
9459 videoinfo->GetVideoWidth();
9460 videoinfo->GetVideoHeight();
9461 audioinfo->GetAudioSamplesPerSec();
9462 videoinfo->GetFps();
9464 CImage*img = vstream->GetFrame();
9471 astream->GetAudioFormatInfo(&wave,0);
9473 astream->ReadFrames(0,0,0,a,b);
9475 int main (int argc, char*argv)
9481 if test "x$AVIFILE_CONFIG" '!=' "x";then
9482 AVIFILE_LIBS=`$AVIFILE_CONFIG --libs`
9483 AVIFILE_CFLAGS=`$AVIFILE_CONFIG --cflags`
9484 avifile_link='$CXX $CPPFLAGS $CXXFLAGS $AVIFILE_CFLAGS conftest.cpp $AVIFILE_LIBS -o conftest${ac_exeext}'
9485 if { (eval echo avi2swf.m4:71: \"$avifile_link\") 1>&5; (eval $avifile_link) 2>&5; } && test -s conftest${ac_exeext} && ./conftest${ac_exeext}; then
9486 { echo "$as_me:$LINENO: result: yes" >&5
9487 echo "${ECHO_T}yes" >&6; }
9490 cat >>confdefs.h <<_ACEOF
9491 #define AVIFILE true
9495 echo "configure: failed program was:" >&5
9496 cat conftest.cpp >&5
9497 { echo "$as_me:$LINENO: result: no" >&5
9498 echo "${ECHO_T}no" >&6; }
9501 { echo "$as_me:$LINENO: result: no" >&5
9502 echo "${ECHO_T}no" >&6; }
9506 if test "x${AVIFILE}" = "xtrue"; then
9507 VIDEO_LIBS="$VIDEO_LIBS $AVIFILE_LIBS"
9508 VIDEO_CFLAGS="$VIDEO_CFLAGS $AVIFILE_CFLAGS"
9509 cat >>confdefs.h <<_ACEOF
9510 #define HAVE_AVIFILE 1
9515 if test "x${WIN32}" != "x"; then
9516 #AC_CHECK_LIB(avifil32, AVIFileInit,AVIFIL32=true)
9517 #if test "x${AVIFIL32}" != "x"; then
9518 # VIDEO_LIBS="$VIDEO_LIBS -lavifil32"
9520 VIDEO_LIBS="$VIDEO_LIBS -lavifil32"
9526 # ------------------------------------------------------------------
9528 if test "x${UNCOMPRESS}" = "xgzip"; then
9529 cat >>confdefs.h <<_ACEOF
9536 # ------------------------------------------------------------------
9539 { echo "$as_me:$LINENO: checking for Python.h and PIL" >&5
9540 echo $ECHO_N "checking for Python.h and PIL... $ECHO_C" >&6; }
9542 if test "x$PYTHON_LIB" '!=' "x" -a "x$PYTHON_INCLUDES" '!=' "x";then
9545 if test "x$PYTHON_LIB" '!=' "x" -o "x$PYTHON_INCLUDES" '!=' "x";then
9546 echo "Set both PYTHON_LIB and PYTHON_INCLUDES, or none at all"
9548 # iterate through version 2.2 to 2.4
9551 if test -f "/usr/lib/python2.$v/site-packages/PIL/_imaging.so" -a -f "/usr/include/python2.$v/Python.h";then
9553 PYTHON_LIB="-lpython$PY_VERSION /usr/lib/python$PY_VERSION/site-packages/PIL/_imaging.so"
9554 PYTHON_INCLUDES="-I/usr/include/python$PY_VERSION"
9556 elif test -f "/System/Library/Frameworks/Python.framework/Versions/2.$v/include/python2.$v/Python.h";then
9557 #TODO: test for /System/Library/Frameworks/Python.framework/Versions/2.3/Python ?
9559 PYTHON_LIB="-framework Python"
9560 if test -f "/Library/Python/2.$v/PIL/_imaging.so";then
9561 PYTHON_LIB2="$PYTHON_LIB /Library/Python/2.$v/PIL/_imaging.so"
9563 PYTHON_LIB2="$PYTHON_LIB"
9565 PYTHON_INCLUDES="-I/System/Library/Frameworks/Python.framework/Versions/2.$v/include/python2.$v/"
9567 elif test "(" -f "/sw/lib/python2.$v/config/libpython2.$v.dylib" \
9568 -o -f "/sw/lib/python2.$v/config/libpython2.$v.a" \
9569 -o -f "/sw/lib/python2.$v/config/libpython2.$v.so" \
9571 -a -f "/sw/include/python2.$v/Python.h" \
9572 -a -f "/sw/lib/python2.$v/site-packages/PIL/_imaging.so";then
9574 PYTHON_LIB="-L /sw/lib/python2.$v/config/ -lpython$PY_VERSION /sw/lib/python2.$v/site-packages/PIL/_imaging.so"
9575 PYTHON_INCLUDES="-I /sw/include/python2.$v/"
9580 if test "x$PY_VERSION" "!=" "x"; then
9581 { echo "$as_me:$LINENO: result: $PY_VERSION" >&5
9582 echo "${ECHO_T}$PY_VERSION" >&6; }
9583 export PYTHON_INCLUDES PYTHON_LIB
9586 { echo "$as_me:$LINENO: checking whether we can compile the python test program" >&5
9587 echo $ECHO_N "checking whether we can compile the python test program... $ECHO_C" >&6; }
9589 cat > conftest.c << EOF
9591 #include <Imaging.h>
9596 ret = Py_Main(0, 0);
9597 int x; // check also for gcc 2.95.x incompatibilities
9601 ac_link='$CC $CPPFLAGS $CFLAGS $PYTHON_INCLUDES conftest.c $LDFLAGS $PYTHON_LIB $LIBS -o conftest${ac_exeext}'
9602 if { (eval echo python.m4: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9603 { echo "$as_me:$LINENO: result: yes" >&5
9604 echo "${ECHO_T}yes" >&6; }
9607 ac_link='$CC $CPPFLAGS $CFLAGS $PYTHON_INCLUDES conftest.c $LDFLAGS ${PYTHON_LIB2} $LIBS -o conftest${ac_exeext}'
9608 if { (eval echo python.m4: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9609 { echo "$as_me:$LINENO: result: yes" >&5
9610 echo "${ECHO_T}yes" >&6; }
9611 PYTHON_LIB="${PYTHON_LIB2}"
9614 echo "configure: failed program was:" >&5
9616 { echo "$as_me:$LINENO: result: no" >&5
9617 echo "${ECHO_T}no" >&6; }
9622 { echo "$as_me:$LINENO: result: nope" >&5
9623 echo "${ECHO_T}nope" >&6; }
9627 if test "x$PYTHON_OK" '!=' "xyes";then
9628 echo all install uninstall clean: > lib/python/Makefile
9629 # fail silently- the most users won't have any need for the
9630 # python interface anyway
9632 pythonrfxswf="lib/python/Makefile"
9635 # ------------------------------------------------------------------
9637 { echo "$as_me:$LINENO: checking for missing libraries" >&5
9638 echo $ECHO_N "checking for missing libraries... $ECHO_C" >&6; }
9640 if test "x$ZLIBMISSING" = "xtrue";then
9641 MISSINGLIBS="${MISSINGLIBS} zlib"
9645 if test "x$JPEGLIBMISSING" = "xtrue";then
9646 MISSINGLIBS="${MISSINGLIBS} jpeglib"
9648 DISABLEJPEG2SWF=true
9651 if test "x$T1LIBMISSING" = "xtrue";then
9652 MISSINGLIBS="${MISSINGLIBS} t1lib"
9654 if test "x$UNGIFMISSING" = "xtrue";then
9656 MISSINGLIBS="${MISSINGLIBS} ungif"
9660 if test "x${ac_cv_header_jpeglib_h}" '!=' "xyes"; then
9661 DISABLEPDF2SWF=true;
9662 DISABLEJPEG2SWF=true;
9663 MISSINGLIBS="${MISSINGLIBS} jpeglib.h"
9666 if test "x$HAVE_FREETYPE" '!=' "x1"; then
9667 DISABLEPDF2SWF=true;
9668 MISSINGLIBS="${MISSINGLIBS} freetype"
9671 if test "x${ac_cv_header_t1lib_h}" '!=' "xyes"; then
9672 MISSINGLIBS="${MISSINGLIBS} t1lib.h"
9674 if test "x${ac_cv_header_gif_lib_h}" '!=' "xyes"; then
9676 MISSINGLIBS="${MISSINGLIBS} gif_lib.h"
9679 if test "x${ac_cv_header_zlib_h}" '!=' "xyes"; then
9680 DISABLEPNG2SWF=true;
9681 MISSINGLIBS="${MISSINGLIBS} zlib.h"
9684 #if test "x${AVIFILE}" '!=' "xtrue" -a "x${AVIFIL32}" '!=' "xtrue"; then
9685 # MISSINGLIBS="${MISSINGLIBS} avifile"
9688 { echo "$as_me:$LINENO: result: ${MISSINGLIBS}" >&5
9689 echo "${ECHO_T}${MISSINGLIBS}" >&6; }
9691 # ------------------------------------------------------------------
9693 if test "x${MISSINGLIBS}" '!=' "x"; then
9694 echo "***************************************************"
9695 echo "* The following headers/libraries are missing: " ${MISSINGLIBS}
9698 avi2swf="avi2swf/Makefile"
9699 if test "x${AVIFILE}" '!=' "xtrue" -a "x${AVIFIL32}" '!=' "xtrue"; then
9700 #don't whine, avi2swf is outdated anyway
9701 #echo "* Disabling avi2swf tool..."
9702 echo all install uninstall clean: > avi2swf/Makefile
9706 pdf2swf_makefile="lib/pdf/Makefile"
9707 PDF2SWF='pdf2swf$(E)'
9710 if test "x${DISABLEPDF2SWF}" = "xtrue"; then
9711 echo "* Disabling pdf2swf tool..."
9712 rm -f lib/pdf/Makefile
9713 echo all install uninstall clean: > lib/pdf/Makefile
9721 if test "x${ZLIBMISSING}" = "xtrue"; then
9723 echo "* Warning! Without zlib, you will not be able to read"
9724 echo "* or write compressed Flash MX files!"
9727 JPEG2SWF='jpeg2swf$(E)'
9728 if test "x${DISABLEJPEG2SWF}" = "xtrue"; then
9729 echo "* Disabling jpeg2swf tool..."
9735 GIF2SWF='gif2swf$(E)'
9736 if test "x${DISABLEGIF2SWF}" = "xtrue"; then
9737 echo "* Disabling gif2swf tool..."
9743 PNG2SWF='png2swf$(E)'
9744 if test "x${DISABLEPNG2SWF}" = "xtrue"; then
9745 echo "* Disabling png2swf tool..."
9751 if test "x${MISSINGLIBS}" '!=' "x"; then
9752 if test "x${PARTIAL}" '=' "x"; then
9753 echo "* (never mind)"
9755 echo "***************************************************"
9758 # ------------------------------------------------------------------
9760 if test -f "release.in"; then release_in="./release"; fi
9761 if test -f "wx/Makefile.in"; then wx_in="wx/Makefile"; fi
9762 FILES="$release_in $wx_in Makefile.common ${avi2swf} Makefile lib/Makefile lib/action/Makefile src/Makefile ${pdf2swf_makefile} swfs/Makefile pdf2swf/fonts/Makefile ${pythonrfxswf} ${lame_makefile} lib/art/Makefile lib/swf/Makefile"
9763 ac_config_files="$ac_config_files ${FILES}"
9765 cat >confcache <<\_ACEOF
9766 # This file is a shell script that caches the results of configure
9767 # tests run on this system so they can be shared between configure
9768 # scripts and configure runs, see configure's option --config-cache.
9769 # It is not useful on other systems. If it contains results you don't
9770 # want to keep, you may remove or edit it.
9772 # config.status only pays attention to the cache file if you give it
9773 # the --recheck option to rerun configure.
9775 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9776 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9781 # The following way of writing the cache mishandles newlines in values,
9782 # but we know of no workaround that is simple, portable, and efficient.
9783 # So, we kill variables containing newlines.
9784 # Ultrix sh set writes to stderr and can't be redirected directly,
9785 # and sets the high bit in the cache file unless we assign to the vars.
9787 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
9788 eval ac_val=\$$ac_var
9792 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
9793 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
9796 _ | IFS | as_nl) ;; #(
9797 *) $as_unset $ac_var ;;
9803 case $as_nl`(ac_space=' '; set) 2>&1` in #(
9804 *${as_nl}ac_space=\ *)
9805 # `set' does not quote correctly, so add quotes (double-quote
9806 # substitution turns \\\\ into \\, and sed turns \\ into \).
9809 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9812 # `set' quotes correctly as required by POSIX, so do not add quotes.
9813 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
9822 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9824 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9826 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
9827 if test -w "$cache_file"; then
9828 test "x$cache_file" != "x/dev/null" &&
9829 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
9830 echo "$as_me: updating cache $cache_file" >&6;}
9831 cat confcache >$cache_file
9833 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
9834 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9839 test "x$prefix" = xNONE && prefix=$ac_default_prefix
9840 # Let make expand exec_prefix.
9841 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
9843 DEFS=-DHAVE_CONFIG_H
9847 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
9848 # 1. Remove the extension, and $U if already installed.
9849 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
9850 ac_i=`echo "$ac_i" | sed "$ac_script"`
9851 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
9852 # will be set to the directory where LIBOBJS objects are built.
9853 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
9854 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
9858 LTLIBOBJS=$ac_ltlibobjs
9862 : ${CONFIG_STATUS=./config.status}
9863 ac_clean_files_save=$ac_clean_files
9864 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
9865 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
9866 echo "$as_me: creating $CONFIG_STATUS" >&6;}
9867 cat >$CONFIG_STATUS <<_ACEOF
9869 # Generated by $as_me.
9870 # Run this file to recreate the current configuration.
9871 # Compiler output produced by configure, useful for debugging
9872 # configure, is in config.log if it exists.
9877 SHELL=\${CONFIG_SHELL-$SHELL}
9880 cat >>$CONFIG_STATUS <<\_ACEOF
9881 ## --------------------- ##
9882 ## M4sh Initialization. ##
9883 ## --------------------- ##
9885 # Be more Bourne compatible
9886 DUALCASE=1; export DUALCASE # for MKS sh
9887 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
9890 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
9891 # is contrary to our usage. Disable this feature.
9892 alias -g '${1+"$@"}'='"$@"'
9893 setopt NO_GLOB_SUBST
9895 case `(set -o) 2>/dev/null` in
9896 *posix*) set -o posix ;;
9905 # Avoid depending upon Character Ranges.
9906 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9907 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9908 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9909 as_cr_digits='0123456789'
9910 as_cr_alnum=$as_cr_Letters$as_cr_digits
9912 # The user is always right.
9913 if test "${PATH_SEPARATOR+set}" != set; then
9914 echo "#! /bin/sh" >conf$$.sh
9915 echo "exit 0" >>conf$$.sh
9917 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
9925 # Support unset when possible.
9926 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
9934 # We need space, tab and new line, in precisely that order. Quoting is
9935 # there to prevent editors from complaining about space-tab.
9936 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
9937 # splitting by setting IFS to empty value.)
9942 # Find who we are. Look in the path if we contain no directory separator.
9944 *[\\/]* ) as_myself=$0 ;;
9945 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9949 test -z "$as_dir" && as_dir=.
9950 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9956 # We did not find ourselves, most probably we were run as `sh COMMAND'
9957 # in which case we are not to be found in the path.
9958 if test "x$as_myself" = x; then
9961 if test ! -f "$as_myself"; then
9962 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9963 { (exit 1); exit 1; }
9966 # Work around bugs in pre-3.0 UWIN ksh.
9967 for as_var in ENV MAIL MAILPATH
9968 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
9976 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
9977 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
9978 LC_TELEPHONE LC_TIME
9980 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
9981 eval $as_var=C; export $as_var
9983 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
9987 # Required to use basename.
9988 if expr a : '\(a\)' >/dev/null 2>&1 &&
9989 test "X`expr 00001 : '.*\(...\)'`" = X001; then
9995 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9996 as_basename=basename
10002 # Name of the executable.
10003 as_me=`$as_basename -- "$0" ||
10004 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10005 X"$0" : 'X\(//\)$' \| \
10006 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
10008 sed '/^.*\/\([^/][^/]*\)\/*$/{
10027 as_lineno_1=$LINENO
10028 as_lineno_2=$LINENO
10029 test "x$as_lineno_1" != "x$as_lineno_2" &&
10030 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
10032 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
10033 # uniformly replaced by the line number. The first 'sed' inserts a
10034 # line-number line after each line using $LINENO; the second 'sed'
10035 # does the real work. The second script uses 'N' to pair each
10036 # line-number line with the line containing $LINENO, and appends
10037 # trailing '-' during substitution so that $LINENO is not a special
10038 # case at line end.
10039 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
10040 # scripts with optimization help from Paolo Bonzini. Blame Lee
10041 # E. McMahon (1931-1989) for sed's syntax. :-)
10053 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
10056 ' >$as_me.lineno &&
10057 chmod +x "$as_me.lineno" ||
10058 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
10059 { (exit 1); exit 1; }; }
10061 # Don't try to exec as it changes $[0], causing all sort of problems
10062 # (the dirname of $[0] is not the place where we might find the
10063 # original and so on. Autoconf is especially sensitive to this).
10064 . "./$as_me.lineno"
10065 # Exit status is that of the last command.
10070 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
10076 ECHO_C= ECHO_N= ECHO_T=
10077 case `echo -n x` in
10079 case `echo 'x\c'` in
10080 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
10087 if expr a : '\(a\)' >/dev/null 2>&1 &&
10088 test "X`expr 00001 : '.*\(...\)'`" = X001; then
10094 rm -f conf$$ conf$$.exe conf$$.file
10095 if test -d conf$$.dir; then
10096 rm -f conf$$.dir/conf$$.file
10102 if ln -s conf$$.file conf$$ 2>/dev/null; then
10104 # ... but there are two gotchas:
10105 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
10106 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
10107 # In both cases, we have to default to `cp -p'.
10108 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
10110 elif ln conf$$.file conf$$ 2>/dev/null; then
10115 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
10116 rmdir conf$$.dir 2>/dev/null
10118 if mkdir -p . 2>/dev/null; then
10121 test -d ./-p && rmdir ./-p
10125 if test -x / >/dev/null 2>&1; then
10126 as_test_x='test -x'
10128 if ls -dL / >/dev/null 2>&1; then
10135 if test -d "$1"; then
10141 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
10142 ???[sx]*):;;*)false;;esac;fi
10146 as_executable_p=$as_test_x
10148 # Sed expression to map a string onto a valid CPP name.
10149 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10151 # Sed expression to map a string onto a valid variable name.
10152 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10157 # Save the log message, to keep $[0] and so on meaningful, and to
10158 # report actual input values of CONFIG_FILES etc. instead of their
10159 # values after options handling.
10161 This file was extended by $as_me, which was
10162 generated by GNU Autoconf 2.61. Invocation command line was
10164 CONFIG_FILES = $CONFIG_FILES
10165 CONFIG_HEADERS = $CONFIG_HEADERS
10166 CONFIG_LINKS = $CONFIG_LINKS
10167 CONFIG_COMMANDS = $CONFIG_COMMANDS
10170 on `(hostname || uname -n) 2>/dev/null | sed 1q`
10175 cat >>$CONFIG_STATUS <<_ACEOF
10176 # Files that config.status was made for.
10177 config_files="$ac_config_files"
10178 config_headers="$ac_config_headers"
10182 cat >>$CONFIG_STATUS <<\_ACEOF
10184 \`$as_me' instantiates files from templates according to the
10185 current configuration.
10187 Usage: $0 [OPTIONS] [FILE]...
10189 -h, --help print this help, then exit
10190 -V, --version print version number and configuration settings, then exit
10191 -q, --quiet do not print progress messages
10192 -d, --debug don't remove temporary files
10193 --recheck update $as_me by reconfiguring in the same conditions
10194 --file=FILE[:TEMPLATE]
10195 instantiate the configuration file FILE
10196 --header=FILE[:TEMPLATE]
10197 instantiate the configuration header FILE
10199 Configuration files:
10202 Configuration headers:
10205 Report bugs to <bug-autoconf@gnu.org>."
10208 cat >>$CONFIG_STATUS <<_ACEOF
10211 configured by $0, generated by GNU Autoconf 2.61,
10212 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
10214 Copyright (C) 2006 Free Software Foundation, Inc.
10215 This config.status script is free software; the Free Software Foundation
10216 gives unlimited permission to copy, distribute and modify it."
10223 cat >>$CONFIG_STATUS <<\_ACEOF
10224 # If no file are specified by the user, then we need to provide default
10225 # value. By we need to know if files were specified by the user.
10231 ac_option=`expr "X$1" : 'X\([^=]*\)='`
10232 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
10243 # Handling of the options.
10244 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
10246 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
10247 echo "$ac_cs_version"; exit ;;
10248 --debug | --debu | --deb | --de | --d | -d )
10250 --file | --fil | --fi | --f )
10252 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
10253 ac_need_defaults=false;;
10254 --header | --heade | --head | --hea )
10256 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
10257 ac_need_defaults=false;;
10259 # Conflict between --help and --header
10260 { echo "$as_me: error: ambiguous option: $1
10261 Try \`$0 --help' for more information." >&2
10262 { (exit 1); exit 1; }; };;
10263 --help | --hel | -h )
10264 echo "$ac_cs_usage"; exit ;;
10265 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10266 | -silent | --silent | --silen | --sile | --sil | --si | --s)
10269 # This is an error.
10270 -*) { echo "$as_me: error: unrecognized option: $1
10271 Try \`$0 --help' for more information." >&2
10272 { (exit 1); exit 1; }; } ;;
10274 *) ac_config_targets="$ac_config_targets $1"
10275 ac_need_defaults=false ;;
10281 ac_configure_extra_args=
10283 if $ac_cs_silent; then
10285 ac_configure_extra_args="$ac_configure_extra_args --silent"
10289 cat >>$CONFIG_STATUS <<_ACEOF
10290 if \$ac_cs_recheck; then
10291 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
10292 CONFIG_SHELL=$SHELL
10293 export CONFIG_SHELL
10294 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10298 cat >>$CONFIG_STATUS <<\_ACEOF
10302 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10303 ## Running $as_me. ##
10309 cat >>$CONFIG_STATUS <<_ACEOF
10312 cat >>$CONFIG_STATUS <<\_ACEOF
10314 # Handling of arguments.
10315 for ac_config_target in $ac_config_targets
10317 case $ac_config_target in
10318 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
10319 "${FILES}") CONFIG_FILES="$CONFIG_FILES ${FILES}" ;;
10321 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
10322 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
10323 { (exit 1); exit 1; }; };;
10328 # If the user did not use the arguments to specify the items to instantiate,
10329 # then the envvar interface is used. Set only those that are not.
10330 # We use the long form for the default assignment because of an extremely
10331 # bizarre bug on SunOS 4.1.3.
10332 if $ac_need_defaults; then
10333 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
10334 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
10337 # Have a temporary directory for convenience. Make it in the build tree
10338 # simply because there is no reason against having it here, and in addition,
10339 # creating and moving files from /tmp can sometimes cause problems.
10340 # Hook for its removal unless debugging.
10341 # Note that there is a small window in which the directory will not be cleaned:
10342 # after its creation but before its name has been assigned to `$tmp'.
10346 trap 'exit_status=$?
10347 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
10349 trap '{ (exit 1); exit 1; }' 1 2 13 15
10351 # Create a (secure) tmp directory for tmp files.
10354 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10355 test -n "$tmp" && test -d "$tmp"
10358 tmp=./conf$$-$RANDOM
10359 (umask 077 && mkdir "$tmp")
10362 echo "$me: cannot create a temporary directory in ." >&2
10363 { (exit 1); exit 1; }
10367 # Set up the sed scripts for CONFIG_FILES section.
10370 # No need to generate the scripts if there are no CONFIG_FILES.
10371 # This happens for instance when ./config.status config.h
10372 if test -n "$CONFIG_FILES"; then
10379 for ac_last_try in false false false false false :; do
10380 cat >conf$$subs.sed <<_ACEOF
10381 SHELL!$SHELL$ac_delim
10382 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
10383 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
10384 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
10385 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
10386 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
10387 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
10388 exec_prefix!$exec_prefix$ac_delim
10389 prefix!$prefix$ac_delim
10390 program_transform_name!$program_transform_name$ac_delim
10391 bindir!$bindir$ac_delim
10392 sbindir!$sbindir$ac_delim
10393 libexecdir!$libexecdir$ac_delim
10394 datarootdir!$datarootdir$ac_delim
10395 datadir!$datadir$ac_delim
10396 sysconfdir!$sysconfdir$ac_delim
10397 sharedstatedir!$sharedstatedir$ac_delim
10398 localstatedir!$localstatedir$ac_delim
10399 includedir!$includedir$ac_delim
10400 oldincludedir!$oldincludedir$ac_delim
10401 docdir!$docdir$ac_delim
10402 infodir!$infodir$ac_delim
10403 htmldir!$htmldir$ac_delim
10404 dvidir!$dvidir$ac_delim
10405 pdfdir!$pdfdir$ac_delim
10406 psdir!$psdir$ac_delim
10407 libdir!$libdir$ac_delim
10408 localedir!$localedir$ac_delim
10409 mandir!$mandir$ac_delim
10410 DEFS!$DEFS$ac_delim
10411 ECHO_C!$ECHO_C$ac_delim
10412 ECHO_N!$ECHO_N$ac_delim
10413 ECHO_T!$ECHO_T$ac_delim
10414 LIBS!$LIBS$ac_delim
10415 build_alias!$build_alias$ac_delim
10416 host_alias!$host_alias$ac_delim
10417 target_alias!$target_alias$ac_delim
10418 build!$build$ac_delim
10419 build_cpu!$build_cpu$ac_delim
10420 build_vendor!$build_vendor$ac_delim
10421 build_os!$build_os$ac_delim
10422 host!$host$ac_delim
10423 host_cpu!$host_cpu$ac_delim
10424 host_vendor!$host_vendor$ac_delim
10425 host_os!$host_os$ac_delim
10426 SHARED!$SHARED$ac_delim
10428 CFLAGS!$CFLAGS$ac_delim
10429 LDFLAGS!$LDFLAGS$ac_delim
10430 CPPFLAGS!$CPPFLAGS$ac_delim
10431 ac_ct_CC!$ac_ct_CC$ac_delim
10432 EXEEXT!$EXEEXT$ac_delim
10433 OBJEXT!$OBJEXT$ac_delim
10435 CXXFLAGS!$CXXFLAGS$ac_delim
10436 ac_ct_CXX!$ac_ct_CXX$ac_delim
10438 RANLIB!$RANLIB$ac_delim
10439 SET_MAKE!$SET_MAKE$ac_delim
10440 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
10441 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
10442 INSTALL_DATA!$INSTALL_DATA$ac_delim
10443 LN_S!$LN_S$ac_delim
10444 UNCOMPRESS!$UNCOMPRESS$ac_delim
10445 AREXT!$AREXT$ac_delim
10447 SLEXT!$SLEXT$ac_delim
10448 CXXLIBS!$CXXLIBS$ac_delim
10449 STRIP!$STRIP$ac_delim
10450 target!$target$ac_delim
10451 target_cpu!$target_cpu$ac_delim
10452 target_vendor!$target_vendor$ac_delim
10453 target_os!$target_os$ac_delim
10454 WORDS_BIGENDIAN!$WORDS_BIGENDIAN$ac_delim
10455 SYSTEM_BACKTICKS!$SYSTEM_BACKTICKS$ac_delim
10456 GREP!$GREP$ac_delim
10457 EGREP!$EGREP$ac_delim
10458 PACKAGE!$PACKAGE$ac_delim
10459 VERSION!$VERSION$ac_delim
10460 HAVE_UNISTD_H!$HAVE_UNISTD_H$ac_delim
10461 FREETYPE_CONFIG!$FREETYPE_CONFIG$ac_delim
10462 lame_objects!$lame_objects$ac_delim
10463 AVIFILE_CONFIG!$AVIFILE_CONFIG$ac_delim
10464 VIDEO_LIBS!$VIDEO_LIBS$ac_delim
10465 VIDEO_CFLAGS!$VIDEO_CFLAGS$ac_delim
10466 USE_GZIP!$USE_GZIP$ac_delim
10467 PYTHON_LIB!$PYTHON_LIB$ac_delim
10468 PYTHON_INCLUDES!$PYTHON_INCLUDES$ac_delim
10469 PDF2SWF!$PDF2SWF$ac_delim
10470 LIBPDF!$LIBPDF$ac_delim
10471 JPEG2SWF!$JPEG2SWF$ac_delim
10472 GIF2SWF!$GIF2SWF$ac_delim
10473 PNG2SWF!$PNG2SWF$ac_delim
10474 LIBOBJS!$LIBOBJS$ac_delim
10475 LTLIBOBJS!$LTLIBOBJS$ac_delim
10478 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 95; then
10480 elif $ac_last_try; then
10481 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
10482 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
10483 { (exit 1); exit 1; }; }
10485 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10489 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
10490 if test -n "$ac_eof"; then
10491 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
10492 ac_eof=`expr $ac_eof + 1`
10495 cat >>$CONFIG_STATUS <<_ACEOF
10496 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
10497 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
10500 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
10501 s/^/s,@/; s/!/@,|#_!!_#|/
10504 s/'"$ac_delim"'$/,g/; t
10506 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
10507 ' >>$CONFIG_STATUS <conf$$subs.sed
10508 rm -f conf$$subs.sed
10509 cat >>$CONFIG_STATUS <<_ACEOF
10516 # VPATH may cause trouble with some makes, so we remove $(srcdir),
10517 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10518 # trailing colons and then remove the whole line if VPATH becomes empty
10519 # (actually we leave an empty line to preserve line numbers).
10520 if test "x$srcdir" = x.; then
10521 ac_vpsub='/^[ ]*VPATH[ ]*=/{
10522 s/:*\$(srcdir):*/:/
10523 s/:*\${srcdir}:*/:/
10525 s/^\([^=]*=[ ]*\):*/\1/
10531 cat >>$CONFIG_STATUS <<\_ACEOF
10532 fi # test -n "$CONFIG_FILES"
10535 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS
10538 :[FHLC]) ac_mode=$ac_tag; continue;;
10540 case $ac_mode$ac_tag in
10542 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
10543 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
10544 { (exit 1); exit 1; }; };;
10545 :[FH]-) ac_tag=-:-;;
10546 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
10563 -) ac_f="$tmp/stdin";;
10564 *) # Look for the file first in the build tree, then in the source tree
10565 # (if the path is not absolute). The absolute path cannot be DOS-style,
10566 # because $ac_f cannot contain `:'.
10570 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
10572 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
10573 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
10574 { (exit 1); exit 1; }; };;
10576 ac_file_inputs="$ac_file_inputs $ac_f"
10579 # Let's still pretend it is `configure' which instantiates (i.e., don't
10580 # use $as_me), people would be surprised to read:
10581 # /* config.h. Generated by config.status. */
10582 configure_input="Generated from "`IFS=:
10583 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
10584 if test x"$ac_file" != x-; then
10585 configure_input="$ac_file. $configure_input"
10586 { echo "$as_me:$LINENO: creating $ac_file" >&5
10587 echo "$as_me: creating $ac_file" >&6;}
10591 *:-:* | *:-) cat >"$tmp/stdin";;
10596 ac_dir=`$as_dirname -- "$ac_file" ||
10597 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10598 X"$ac_file" : 'X\(//\)[^/]' \| \
10599 X"$ac_file" : 'X\(//\)$' \| \
10600 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10602 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10606 /^X\(\/\/\)[^/].*/{
10621 -*) as_dir=./$as_dir;;
10623 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
10627 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
10628 *) as_qdir=$as_dir;;
10630 as_dirs="'$as_qdir' $as_dirs"
10631 as_dir=`$as_dirname -- "$as_dir" ||
10632 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10633 X"$as_dir" : 'X\(//\)[^/]' \| \
10634 X"$as_dir" : 'X\(//\)$' \| \
10635 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10637 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10641 /^X\(\/\/\)[^/].*/{
10654 test -d "$as_dir" && break
10656 test -z "$as_dirs" || eval "mkdir $as_dirs"
10657 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
10658 echo "$as_me: error: cannot create directory $as_dir" >&2;}
10659 { (exit 1); exit 1; }; }; }
10663 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10665 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10666 # A ".." for each directory in $ac_dir_suffix.
10667 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
10668 case $ac_top_builddir_sub in
10669 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10670 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10673 ac_abs_top_builddir=$ac_pwd
10674 ac_abs_builddir=$ac_pwd$ac_dir_suffix
10675 # for backward compatibility:
10676 ac_top_builddir=$ac_top_build_prefix
10679 .) # We are building in place.
10681 ac_top_srcdir=$ac_top_builddir_sub
10682 ac_abs_top_srcdir=$ac_pwd ;;
10683 [\\/]* | ?:[\\/]* ) # Absolute name.
10684 ac_srcdir=$srcdir$ac_dir_suffix;
10685 ac_top_srcdir=$srcdir
10686 ac_abs_top_srcdir=$srcdir ;;
10687 *) # Relative name.
10688 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10689 ac_top_srcdir=$ac_top_build_prefix$srcdir
10690 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10692 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10702 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10703 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
10707 cat >>$CONFIG_STATUS <<\_ACEOF
10708 # If the template does not know about datarootdir, expand it.
10709 # FIXME: This hack should be removed a few years after 2.60.
10710 ac_datarootdir_hack=; ac_datarootdir_seen=
10712 case `sed -n '/datarootdir/ {
10721 ' $ac_file_inputs` in
10722 *datarootdir*) ac_datarootdir_seen=yes;;
10723 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
10724 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10725 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10727 cat >>$CONFIG_STATUS <<_ACEOF
10728 ac_datarootdir_hack='
10729 s&@datadir@&$datadir&g
10730 s&@docdir@&$docdir&g
10731 s&@infodir@&$infodir&g
10732 s&@localedir@&$localedir&g
10733 s&@mandir@&$mandir&g
10734 s&\\\${datarootdir}&$datarootdir&g' ;;
10738 # Neutralize VPATH when `$srcdir' = `.'.
10739 # Shell code in configure.ac might set extrasub.
10740 # FIXME: do we really want to maintain this feature?
10741 cat >>$CONFIG_STATUS <<_ACEOF
10745 cat >>$CONFIG_STATUS <<\_ACEOF
10747 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10748 s&@configure_input@&$configure_input&;t t
10749 s&@top_builddir@&$ac_top_builddir_sub&;t t
10750 s&@srcdir@&$ac_srcdir&;t t
10751 s&@abs_srcdir@&$ac_abs_srcdir&;t t
10752 s&@top_srcdir@&$ac_top_srcdir&;t t
10753 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
10754 s&@builddir@&$ac_builddir&;t t
10755 s&@abs_builddir@&$ac_abs_builddir&;t t
10756 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
10757 s&@INSTALL@&$ac_INSTALL&;t t
10758 $ac_datarootdir_hack
10759 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
10761 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10762 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
10763 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
10764 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10765 which seems to be undefined. Please make sure it is defined." >&5
10766 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10767 which seems to be undefined. Please make sure it is defined." >&2;}
10771 -) cat "$tmp/out"; rm -f "$tmp/out";;
10772 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
10781 # Transform confdefs.h into a sed script `conftest.defines', that
10782 # substitutes the proper values into config.h.in to produce config.h.
10783 rm -f conftest.defines conftest.tail
10784 # First, append a space to every undef/define line, to ease matching.
10785 echo 's/$/ /' >conftest.defines
10786 # Then, protect against being on the right side of a sed subst, or in
10787 # an unquoted here document, in config.status. If some macros were
10788 # called several times there might be several #defines for the same
10789 # symbol, which is useless. But do not sort them, since the last
10790 # AC_DEFINE must be honored.
10791 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
10792 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
10793 # NAME is the cpp macro being defined, VALUE is the value it is being given.
10794 # PARAMS is the parameter list in the macro definition--in most cases, it's
10795 # just an empty string.
10796 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
10797 ac_dB='\\)[ (].*,\\1define\\2'
10805 s/^[ ]*#[ ]*define[ ][ ]*//
10810 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
10811 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
10812 ' >>conftest.defines
10814 # Remove the space that was appended to ease matching.
10815 # Then replace #undef with comments. This is necessary, for
10816 # example, in the case of _POSIX_SOURCE, which is predefined and required
10817 # on some systems where configure will not decide to define it.
10818 # (The regexp can be short, since the line contains either #define or #undef.)
10820 s,^[ #]*u.*,/* & */,' >>conftest.defines
10822 # Break up conftest.defines:
10823 ac_max_sed_lines=50
10825 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
10826 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
10827 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
10829 ac_in='$ac_file_inputs'
10830 ac_out='"$tmp/out1"'
10831 ac_nxt='"$tmp/out2"'
10835 # Write a here document:
10836 cat >>$CONFIG_STATUS <<_ACEOF
10837 # First, check the format of the line:
10838 cat >"\$tmp/defines.sed" <<\\CEOF
10839 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
10840 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
10844 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
10846 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
10847 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
10848 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
10849 grep . conftest.tail >/dev/null || break
10850 rm -f conftest.defines
10851 mv conftest.tail conftest.defines
10853 rm -f conftest.defines conftest.tail
10855 echo "ac_result=$ac_in" >>$CONFIG_STATUS
10856 cat >>$CONFIG_STATUS <<\_ACEOF
10857 if test x"$ac_file" != x-; then
10858 echo "/* $configure_input */" >"$tmp/config.h"
10859 cat "$ac_result" >>"$tmp/config.h"
10860 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
10861 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
10862 echo "$as_me: $ac_file is unchanged" >&6;}
10865 mv "$tmp/config.h" $ac_file
10868 echo "/* $configure_input */"
10880 { (exit 0); exit 0; }
10882 chmod +x $CONFIG_STATUS
10883 ac_clean_files=$ac_clean_files_save
10886 # configure is writing to config.log, and then calls config.status.
10887 # config.status does its own redirection, appending to config.log.
10888 # Unfortunately, on DOS this fails, as config.log is still kept open
10889 # by configure, so config.status won't be able to write to it; its
10890 # output is simply discarded. So we exec the FD to /dev/null,
10891 # effectively closing config.log, so it can be properly (re)opened and
10892 # appended to by config.status. When coming back to configure, we
10893 # need to make the FD available again.
10894 if test "$no_create" != yes; then
10896 ac_config_status_args=
10897 test "$silent" = yes &&
10898 ac_config_status_args="$ac_config_status_args --quiet"
10900 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
10902 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10903 # would make configure fail if this is the last instruction.
10904 $ac_cs_success || { (exit 1); exit 1; }
10910 # On development trees, create snapshots of config.status
10912 if test -f snapshot -a "x$CHECKMEM" = "x" -a "x$PROFILING" = "x";then
10913 if test "x${MINGW}" = "xyes"; then
10914 echo cp config.status config.status.win32
10915 cp config.status config.status.win32
10917 if test "x$DEBUG" '=' "x" -a "x$OPTIMIZE" '=' "x";then
10918 echo cp config.status config.status.linux
10919 cp config.status config.status.linux
10921 if test "x$DEBUG" '!=' "x" -a "x$OPTIMIZE" '=' "x";then
10922 echo cp config.status config.status.debug
10923 cp config.status config.status.debug
10925 if test "x$DEBUG" = "x" -a "x$OPTIMIZE" '!=' "x"; then
10926 echo cp config.status config.status.optimize
10927 cp config.status config.status.optimize