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
713 ac_precious_vars='build_alias
727 # Initialize some variables set by options.
729 ac_init_version=false
730 # The variables have the same names as the options, with
731 # dashes changed to underlines.
739 program_transform_name=s,x,x,
747 # Installation directory options.
748 # These are left unexpanded so users can "make install exec_prefix=/foo"
749 # and all the variables that are supposed to be based on exec_prefix
750 # by default will actually change.
751 # Use braces instead of parens because sh, perl, etc. also accept them.
752 # (The list follows the same order as the GNU Coding Standards.)
753 bindir='${exec_prefix}/bin'
754 sbindir='${exec_prefix}/sbin'
755 libexecdir='${exec_prefix}/libexec'
756 datarootdir='${prefix}/share'
757 datadir='${datarootdir}'
758 sysconfdir='${prefix}/etc'
759 sharedstatedir='${prefix}/com'
760 localstatedir='${prefix}/var'
761 includedir='${prefix}/include'
762 oldincludedir='/usr/include'
763 docdir='${datarootdir}/doc/${PACKAGE}'
764 infodir='${datarootdir}/info'
769 libdir='${exec_prefix}/lib'
770 localedir='${datarootdir}/locale'
771 mandir='${datarootdir}/man'
777 # If the previous option needs an argument, assign it.
778 if test -n "$ac_prev"; then
779 eval $ac_prev=\$ac_option
785 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
789 # Accept the important Cygnus configure options, so we can diagnose typos.
791 case $ac_dashdash$ac_option in
795 -bindir | --bindir | --bindi | --bind | --bin | --bi)
797 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
800 -build | --build | --buil | --bui | --bu)
801 ac_prev=build_alias ;;
802 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
803 build_alias=$ac_optarg ;;
805 -cache-file | --cache-file | --cache-fil | --cache-fi \
806 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
807 ac_prev=cache_file ;;
808 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
809 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
810 cache_file=$ac_optarg ;;
813 cache_file=config.cache ;;
815 -datadir | --datadir | --datadi | --datad)
817 -datadir=* | --datadir=* | --datadi=* | --datad=*)
818 datadir=$ac_optarg ;;
820 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
821 | --dataroo | --dataro | --datar)
822 ac_prev=datarootdir ;;
823 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
824 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
825 datarootdir=$ac_optarg ;;
827 -disable-* | --disable-*)
828 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
829 # Reject names that are not valid shell variable names.
830 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
831 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
832 { (exit 1); exit 1; }; }
833 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
834 eval enable_$ac_feature=no ;;
836 -docdir | --docdir | --docdi | --doc | --do)
838 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
841 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
843 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
846 -enable-* | --enable-*)
847 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
848 # Reject names that are not valid shell variable names.
849 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
850 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
851 { (exit 1); exit 1; }; }
852 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
853 eval enable_$ac_feature=\$ac_optarg ;;
855 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
856 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
857 | --exec | --exe | --ex)
858 ac_prev=exec_prefix ;;
859 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
860 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
861 | --exec=* | --exe=* | --ex=*)
862 exec_prefix=$ac_optarg ;;
864 -gas | --gas | --ga | --g)
865 # Obsolete; use --with-gas.
868 -help | --help | --hel | --he | -h)
870 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
871 ac_init_help=recursive ;;
872 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
873 ac_init_help=short ;;
875 -host | --host | --hos | --ho)
876 ac_prev=host_alias ;;
877 -host=* | --host=* | --hos=* | --ho=*)
878 host_alias=$ac_optarg ;;
880 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
882 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
884 htmldir=$ac_optarg ;;
886 -includedir | --includedir | --includedi | --included | --include \
887 | --includ | --inclu | --incl | --inc)
888 ac_prev=includedir ;;
889 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
890 | --includ=* | --inclu=* | --incl=* | --inc=*)
891 includedir=$ac_optarg ;;
893 -infodir | --infodir | --infodi | --infod | --info | --inf)
895 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
896 infodir=$ac_optarg ;;
898 -libdir | --libdir | --libdi | --libd)
900 -libdir=* | --libdir=* | --libdi=* | --libd=*)
903 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
904 | --libexe | --libex | --libe)
905 ac_prev=libexecdir ;;
906 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
907 | --libexe=* | --libex=* | --libe=*)
908 libexecdir=$ac_optarg ;;
910 -localedir | --localedir | --localedi | --localed | --locale)
912 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
913 localedir=$ac_optarg ;;
915 -localstatedir | --localstatedir | --localstatedi | --localstated \
916 | --localstate | --localstat | --localsta | --localst | --locals)
917 ac_prev=localstatedir ;;
918 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
919 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
920 localstatedir=$ac_optarg ;;
922 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
924 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
928 # Obsolete; use --without-fp.
931 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
932 | --no-cr | --no-c | -n)
935 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
936 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
939 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
940 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
941 | --oldin | --oldi | --old | --ol | --o)
942 ac_prev=oldincludedir ;;
943 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
944 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
945 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
946 oldincludedir=$ac_optarg ;;
948 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
950 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
953 -program-prefix | --program-prefix | --program-prefi | --program-pref \
954 | --program-pre | --program-pr | --program-p)
955 ac_prev=program_prefix ;;
956 -program-prefix=* | --program-prefix=* | --program-prefi=* \
957 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
958 program_prefix=$ac_optarg ;;
960 -program-suffix | --program-suffix | --program-suffi | --program-suff \
961 | --program-suf | --program-su | --program-s)
962 ac_prev=program_suffix ;;
963 -program-suffix=* | --program-suffix=* | --program-suffi=* \
964 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
965 program_suffix=$ac_optarg ;;
967 -program-transform-name | --program-transform-name \
968 | --program-transform-nam | --program-transform-na \
969 | --program-transform-n | --program-transform- \
970 | --program-transform | --program-transfor \
971 | --program-transfo | --program-transf \
972 | --program-trans | --program-tran \
973 | --progr-tra | --program-tr | --program-t)
974 ac_prev=program_transform_name ;;
975 -program-transform-name=* | --program-transform-name=* \
976 | --program-transform-nam=* | --program-transform-na=* \
977 | --program-transform-n=* | --program-transform-=* \
978 | --program-transform=* | --program-transfor=* \
979 | --program-transfo=* | --program-transf=* \
980 | --program-trans=* | --program-tran=* \
981 | --progr-tra=* | --program-tr=* | --program-t=*)
982 program_transform_name=$ac_optarg ;;
984 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
986 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
989 -psdir | --psdir | --psdi | --psd | --ps)
991 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
994 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
995 | -silent | --silent | --silen | --sile | --sil)
998 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1000 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1002 sbindir=$ac_optarg ;;
1004 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1005 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1006 | --sharedst | --shareds | --shared | --share | --shar \
1008 ac_prev=sharedstatedir ;;
1009 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1010 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1011 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1013 sharedstatedir=$ac_optarg ;;
1015 -site | --site | --sit)
1017 -site=* | --site=* | --sit=*)
1020 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1022 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1023 srcdir=$ac_optarg ;;
1025 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1026 | --syscon | --sysco | --sysc | --sys | --sy)
1027 ac_prev=sysconfdir ;;
1028 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1029 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1030 sysconfdir=$ac_optarg ;;
1032 -target | --target | --targe | --targ | --tar | --ta | --t)
1033 ac_prev=target_alias ;;
1034 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1035 target_alias=$ac_optarg ;;
1037 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1040 -version | --version | --versio | --versi | --vers | -V)
1041 ac_init_version=: ;;
1044 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1045 # Reject names that are not valid shell variable names.
1046 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1047 { echo "$as_me: error: invalid package name: $ac_package" >&2
1048 { (exit 1); exit 1; }; }
1049 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1050 eval with_$ac_package=\$ac_optarg ;;
1052 -without-* | --without-*)
1053 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1054 # Reject names that are not valid shell variable names.
1055 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1056 { echo "$as_me: error: invalid package name: $ac_package" >&2
1057 { (exit 1); exit 1; }; }
1058 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1059 eval with_$ac_package=no ;;
1062 # Obsolete; use --with-x.
1065 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1066 | --x-incl | --x-inc | --x-in | --x-i)
1067 ac_prev=x_includes ;;
1068 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1069 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1070 x_includes=$ac_optarg ;;
1072 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1073 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1074 ac_prev=x_libraries ;;
1075 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1076 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1077 x_libraries=$ac_optarg ;;
1079 -*) { echo "$as_me: error: unrecognized option: $ac_option
1080 Try \`$0 --help' for more information." >&2
1081 { (exit 1); exit 1; }; }
1085 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1086 # Reject names that are not valid shell variable names.
1087 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1088 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1089 { (exit 1); exit 1; }; }
1090 eval $ac_envvar=\$ac_optarg
1091 export $ac_envvar ;;
1094 # FIXME: should be removed in autoconf 3.0.
1095 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1096 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1097 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1098 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1104 if test -n "$ac_prev"; then
1105 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1106 { echo "$as_me: error: missing argument to $ac_option" >&2
1107 { (exit 1); exit 1; }; }
1110 # Be sure to have absolute directory names.
1111 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1112 datadir sysconfdir sharedstatedir localstatedir includedir \
1113 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1114 libdir localedir mandir
1116 eval ac_val=\$$ac_var
1118 [\\/$]* | ?:[\\/]* ) continue;;
1119 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1121 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1122 { (exit 1); exit 1; }; }
1125 # There might be people who depend on the old broken behavior: `$host'
1126 # used to hold the argument of --host etc.
1127 # FIXME: To remove some day.
1130 target=$target_alias
1132 # FIXME: To remove some day.
1133 if test "x$host_alias" != x; then
1134 if test "x$build_alias" = x; then
1135 cross_compiling=maybe
1136 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1137 If a cross compiler is detected then cross compile mode will be used." >&2
1138 elif test "x$build_alias" != "x$host_alias"; then
1144 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1146 test "$silent" = yes && exec 6>/dev/null
1149 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1150 ac_ls_di=`ls -di .` &&
1151 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1152 { echo "$as_me: error: Working directory cannot be determined" >&2
1153 { (exit 1); exit 1; }; }
1154 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1155 { echo "$as_me: error: pwd does not report name of working directory" >&2
1156 { (exit 1); exit 1; }; }
1159 # Find the source files, if location was not specified.
1160 if test -z "$srcdir"; then
1161 ac_srcdir_defaulted=yes
1162 # Try the directory containing this script, then the parent directory.
1163 ac_confdir=`$as_dirname -- "$0" ||
1164 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1165 X"$0" : 'X\(//\)[^/]' \| \
1166 X"$0" : 'X\(//\)$' \| \
1167 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1169 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1187 if test ! -r "$srcdir/$ac_unique_file"; then
1191 ac_srcdir_defaulted=no
1193 if test ! -r "$srcdir/$ac_unique_file"; then
1194 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1195 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1196 { (exit 1); exit 1; }; }
1198 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1200 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1201 { (exit 1); exit 1; }; }
1203 # When building in place, set srcdir=.
1204 if test "$ac_abs_confdir" = "$ac_pwd"; then
1207 # Remove unnecessary trailing slashes from srcdir.
1208 # Double slashes in file names in object file debugging info
1209 # mess up M-x gdb in Emacs.
1211 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1213 for ac_var in $ac_precious_vars; do
1214 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1215 eval ac_env_${ac_var}_value=\$${ac_var}
1216 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1217 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1221 # Report the --help message.
1223 if test "$ac_init_help" = "long"; then
1224 # Omit some internal or obsolete options to make the list less imposing.
1225 # This message is too long to be a string in the A/UX 3.1 sh.
1227 \`configure' configures this package to adapt to many kinds of systems.
1229 Usage: $0 [OPTION]... [VAR=VALUE]...
1231 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1232 VAR=VALUE. See below for descriptions of some of the useful variables.
1234 Defaults for the options are specified in brackets.
1237 -h, --help display this help and exit
1238 --help=short display options specific to this package
1239 --help=recursive display the short help of all the included packages
1240 -V, --version display version information and exit
1241 -q, --quiet, --silent do not print \`checking...' messages
1242 --cache-file=FILE cache test results in FILE [disabled]
1243 -C, --config-cache alias for \`--cache-file=config.cache'
1244 -n, --no-create do not create output files
1245 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1247 Installation directories:
1248 --prefix=PREFIX install architecture-independent files in PREFIX
1249 [$ac_default_prefix]
1250 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1253 By default, \`make install' will install all the files in
1254 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1255 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1256 for instance \`--prefix=\$HOME'.
1258 For better control, use the options below.
1260 Fine tuning of the installation directories:
1261 --bindir=DIR user executables [EPREFIX/bin]
1262 --sbindir=DIR system admin executables [EPREFIX/sbin]
1263 --libexecdir=DIR program executables [EPREFIX/libexec]
1264 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1265 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1266 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1267 --libdir=DIR object code libraries [EPREFIX/lib]
1268 --includedir=DIR C header files [PREFIX/include]
1269 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1270 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1271 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1272 --infodir=DIR info documentation [DATAROOTDIR/info]
1273 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1274 --mandir=DIR man documentation [DATAROOTDIR/man]
1275 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1276 --htmldir=DIR html documentation [DOCDIR]
1277 --dvidir=DIR dvi documentation [DOCDIR]
1278 --pdfdir=DIR pdf documentation [DOCDIR]
1279 --psdir=DIR ps documentation [DOCDIR]
1285 --program-prefix=PREFIX prepend PREFIX to installed program names
1286 --program-suffix=SUFFIX append SUFFIX to installed program names
1287 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1290 --build=BUILD configure for building on BUILD [guessed]
1291 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1292 --target=TARGET configure for building compilers for TARGET [HOST]
1296 if test -n "$ac_init_help"; then
1301 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1302 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1303 --enable-checkmem turn on ccmalloc debugging
1304 --enable-debug turn on debugging
1305 --enable-profiling turn on profiling
1306 --enable-warnings turn on compiler warnings
1307 --enable-optimizations turn on compiler optimizations (recommended for avi2swf)
1308 --disable-lame don't compile any L.A.M.E. mp3 encoding code in
1310 Some influential environment variables:
1311 CC C compiler command
1312 CFLAGS C compiler flags
1313 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1314 nonstandard directory <lib dir>
1315 LIBS libraries to pass to the linker, e.g. -l<library>
1316 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1317 you have headers in a nonstandard directory <include dir>
1318 CXX C++ compiler command
1319 CXXFLAGS C++ compiler flags
1322 Use these variables to override the choices made by `configure' or to help
1323 it to find libraries and programs with nonstandard names/locations.
1329 if test "$ac_init_help" = "recursive"; then
1330 # If there are subdirs, report their specific --help.
1331 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1332 test -d "$ac_dir" || continue
1336 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1338 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1339 # A ".." for each directory in $ac_dir_suffix.
1340 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1341 case $ac_top_builddir_sub in
1342 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1343 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1346 ac_abs_top_builddir=$ac_pwd
1347 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1348 # for backward compatibility:
1349 ac_top_builddir=$ac_top_build_prefix
1352 .) # We are building in place.
1354 ac_top_srcdir=$ac_top_builddir_sub
1355 ac_abs_top_srcdir=$ac_pwd ;;
1356 [\\/]* | ?:[\\/]* ) # Absolute name.
1357 ac_srcdir=$srcdir$ac_dir_suffix;
1358 ac_top_srcdir=$srcdir
1359 ac_abs_top_srcdir=$srcdir ;;
1361 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1362 ac_top_srcdir=$ac_top_build_prefix$srcdir
1363 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1365 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1367 cd "$ac_dir" || { ac_status=$?; continue; }
1368 # Check for guested configure.
1369 if test -f "$ac_srcdir/configure.gnu"; then
1371 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1372 elif test -f "$ac_srcdir/configure"; then
1374 $SHELL "$ac_srcdir/configure" --help=recursive
1376 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1378 cd "$ac_pwd" || { ac_status=$?; break; }
1382 test -n "$ac_init_help" && exit $ac_status
1383 if $ac_init_version; then
1386 generated by GNU Autoconf 2.61
1388 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1389 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1390 This configure script is free software; the Free Software Foundation
1391 gives unlimited permission to copy, distribute and modify it.
1395 cat >config.log <<_ACEOF
1396 This file contains any messages produced by compilers while
1397 running configure, to aid debugging if configure makes a mistake.
1399 It was created by $as_me, which was
1400 generated by GNU Autoconf 2.61. Invocation command line was
1412 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1413 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1414 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1415 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1416 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1418 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1419 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1421 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1422 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1423 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1424 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1425 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1426 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1427 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1435 test -z "$as_dir" && as_dir=.
1436 echo "PATH: $as_dir"
1452 # Keep a trace of the command line.
1453 # Strip out --no-create and --no-recursion so they do not pile up.
1454 # Strip out --silent because we don't want to record it for future runs.
1455 # Also quote any args containing shell meta-characters.
1456 # Make two passes to allow for proper duplicate-argument suppression.
1460 ac_must_keep_next=false
1466 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1467 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1468 | -silent | --silent | --silen | --sile | --sil)
1471 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1474 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1476 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1477 if test $ac_must_keep_next = true; then
1478 ac_must_keep_next=false # Got value, back to normal.
1481 *=* | --config-cache | -C | -disable-* | --disable-* \
1482 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1483 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1484 | -with-* | --with-* | -without-* | --without-* | --x)
1485 case "$ac_configure_args0 " in
1486 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1489 -* ) ac_must_keep_next=true ;;
1492 ac_configure_args="$ac_configure_args '$ac_arg'"
1497 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1498 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1500 # When interrupted or exit'd, cleanup temporary files, and complete
1501 # config.log. We remove comments because anyway the quotes in there
1502 # would cause problems or look ugly.
1503 # WARNING: Use '\'' to represent an apostrophe within the trap.
1504 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1505 trap 'exit_status=$?
1506 # Save into config.log some information that might help in debugging.
1511 ## ---------------- ##
1512 ## Cache variables. ##
1513 ## ---------------- ##
1516 # The following way of writing the cache mishandles newlines in values,
1518 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1519 eval ac_val=\$$ac_var
1523 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1524 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1527 _ | IFS | as_nl) ;; #(
1528 *) $as_unset $ac_var ;;
1533 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1534 *${as_nl}ac_space=\ *)
1536 "s/'\''/'\''\\\\'\'''\''/g;
1537 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1540 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1548 ## ----------------- ##
1549 ## Output variables. ##
1550 ## ----------------- ##
1553 for ac_var in $ac_subst_vars
1555 eval ac_val=\$$ac_var
1557 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1559 echo "$ac_var='\''$ac_val'\''"
1563 if test -n "$ac_subst_files"; then
1565 ## ------------------- ##
1566 ## File substitutions. ##
1567 ## ------------------- ##
1570 for ac_var in $ac_subst_files
1572 eval ac_val=\$$ac_var
1574 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1576 echo "$ac_var='\''$ac_val'\''"
1581 if test -s confdefs.h; then
1591 test "$ac_signal" != 0 &&
1592 echo "$as_me: caught signal $ac_signal"
1593 echo "$as_me: exit $exit_status"
1595 rm -f core *.core core.conftest.* &&
1596 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1599 for ac_signal in 1 2 13 15; do
1600 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1604 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1605 rm -f -r conftest* confdefs.h
1607 # Predefined preprocessor variables.
1609 cat >>confdefs.h <<_ACEOF
1610 #define PACKAGE_NAME "$PACKAGE_NAME"
1614 cat >>confdefs.h <<_ACEOF
1615 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1619 cat >>confdefs.h <<_ACEOF
1620 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1624 cat >>confdefs.h <<_ACEOF
1625 #define PACKAGE_STRING "$PACKAGE_STRING"
1629 cat >>confdefs.h <<_ACEOF
1630 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1634 # Let the site file select an alternate cache file if it wants to.
1635 # Prefer explicitly selected file to automatically selected ones.
1636 if test -n "$CONFIG_SITE"; then
1637 set x "$CONFIG_SITE"
1638 elif test "x$prefix" != xNONE; then
1639 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1641 set x "$ac_default_prefix/share/config.site" \
1642 "$ac_default_prefix/etc/config.site"
1647 if test -r "$ac_site_file"; then
1648 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1649 echo "$as_me: loading site script $ac_site_file" >&6;}
1650 sed 's/^/| /' "$ac_site_file" >&5
1655 if test -r "$cache_file"; then
1656 # Some versions of bash will fail to source /dev/null (special
1657 # files actually), so we avoid doing that.
1658 if test -f "$cache_file"; then
1659 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1660 echo "$as_me: loading cache $cache_file" >&6;}
1662 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1663 *) . "./$cache_file";;
1667 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1668 echo "$as_me: creating cache $cache_file" >&6;}
1672 # Check that the precious variables saved in the cache have kept the same
1674 ac_cache_corrupted=false
1675 for ac_var in $ac_precious_vars; do
1676 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1677 eval ac_new_set=\$ac_env_${ac_var}_set
1678 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1679 eval ac_new_val=\$ac_env_${ac_var}_value
1680 case $ac_old_set,$ac_new_set in
1682 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1683 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1684 ac_cache_corrupted=: ;;
1686 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1687 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1688 ac_cache_corrupted=: ;;
1691 if test "x$ac_old_val" != "x$ac_new_val"; then
1692 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1693 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1694 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1695 echo "$as_me: former value: $ac_old_val" >&2;}
1696 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1697 echo "$as_me: current value: $ac_new_val" >&2;}
1698 ac_cache_corrupted=:
1701 # Pass precious variables to config.status.
1702 if test "$ac_new_set" = set; then
1704 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1705 *) ac_arg=$ac_var=$ac_new_val ;;
1707 case " $ac_configure_args " in
1708 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1709 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1713 if $ac_cache_corrupted; then
1714 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1715 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1716 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1717 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1718 { (exit 1); exit 1; }; }
1738 ac_cpp='$CPP $CPPFLAGS'
1739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1746 # Check whether --enable-checkmem was given.
1747 if test "${enable_checkmem+set}" = set; then
1748 enableval=$enable_checkmem; CHECKMEM=true
1751 # Check whether --enable-debug was given.
1752 if test "${enable_debug+set}" = set; then
1753 enableval=$enable_debug; DEBUG=true
1756 # Check whether --enable-profiling was given.
1757 if test "${enable_profiling+set}" = set; then
1758 enableval=$enable_profiling; PROFILING=true
1761 # Check whether --enable-warnings was given.
1762 if test "${enable_warnings+set}" = set; then
1763 enableval=$enable_warnings; ENABLE_WARNINGS=true
1766 # Check whether --enable-optimizations was given.
1767 if test "${enable_optimizations+set}" = set; then
1768 enableval=$enable_optimizations; OPTIMIZE=true
1771 # Check whether --enable-lame was given.
1772 if test "${enable_lame+set}" = set; then
1773 enableval=$enable_lame; DISABLE_LAME=true
1778 VERSION=2008-04-02-1230
1781 # ------------------------------------------------------------------
1783 if test "x${srcdir}" != "x."; then
1784 echo "--srcdir is not supported"
1788 WARNINGS="-Wparentheses -Wimplicit -Wreturn-type"
1789 if test "x$ENABLE_WARNINGS" '!=' "x";then
1790 WARNINGS="-Wall -Wno-unused -Wno-format -Wno-redundant-decls -D_FORTIFY_SOURCE=2 "
1793 if test "x$CHECKMEM" '!=' "x";then
1796 if test "x$PROFILING" '!=' "x";then
1799 if test "x$DEBUG" '!=' "x";then
1800 if test "x$PROFILING" = "x";then
1801 CFLAGS="$WARNINGS -O2 -g $CFLAGS"
1802 CXXFLAGS="$WARNINGS -O2 -g $CXXFLAGS"
1805 CFLAGS="$WARNINGS -O2 -g -pg $CFLAGS"
1806 CXXFLAGS="$WARNINGS -O2 -g -pg $CXXFLAGS"
1807 LDFLAGS="-g -pg $LIBS"
1809 else if test "x$OPTIMIZE" '!=' "x"; then
1810 CFLAGS="$WARNINGS -O3 -fomit-frame-pointer -Winline $CFLAGS"
1811 CXXFLAGS="$WARNINGS -O3 -fomit-frame-pointer -Winline $CXXFLAGS"
1813 CFLAGS="$WARNINGS -O -fomit-frame-pointer $CFLAGS"
1814 CXXFLAGS="$WARNINGS -O -fomit-frame-pointer $CXXFLAGS"
1818 CFLAGS="-fPIC $CFLAGS"
1819 CXXFLAGS="-fPIC $CFLAGS"
1822 #if test "x$OLDGCC" '!=' "x";then
1823 # #CFLAGS="$CFLAGS --std=c89 -ansi -pendantic"
1824 # #CXXFLAGS="$CXXFLAGS --std=c89 -ansi -pendantic"
1825 # CFLAGS="$CFLAGS -ansi -pendantic"
1826 # CXXFLAGS="$CXXFLAGS -ansi -pendantic"
1829 export PACKAGE VERSION CFLAGS CXXFLAGS
1833 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1834 if test -f "$ac_dir/install-sh"; then
1836 ac_install_sh="$ac_aux_dir/install-sh -c"
1838 elif test -f "$ac_dir/install.sh"; then
1840 ac_install_sh="$ac_aux_dir/install.sh -c"
1842 elif test -f "$ac_dir/shtool"; then
1844 ac_install_sh="$ac_aux_dir/shtool install -c"
1848 if test -z "$ac_aux_dir"; then
1849 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1850 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1851 { (exit 1); exit 1; }; }
1854 # These three variables are undocumented and unsupported,
1855 # and are intended to be withdrawn in a future Autoconf release.
1856 # They can cause serious problems if a builder's source tree is in a directory
1857 # whose full name contains unusual characters.
1858 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1859 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1860 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1863 # Make sure we can run config.sub.
1864 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1865 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1866 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1867 { (exit 1); exit 1; }; }
1869 { echo "$as_me:$LINENO: checking build system type" >&5
1870 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1871 if test "${ac_cv_build+set}" = set; then
1872 echo $ECHO_N "(cached) $ECHO_C" >&6
1874 ac_build_alias=$build_alias
1875 test "x$ac_build_alias" = x &&
1876 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1877 test "x$ac_build_alias" = x &&
1878 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1879 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1880 { (exit 1); exit 1; }; }
1881 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1882 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1883 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1884 { (exit 1); exit 1; }; }
1887 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1888 echo "${ECHO_T}$ac_cv_build" >&6; }
1889 case $ac_cv_build in
1891 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1892 echo "$as_me: error: invalid value of canonical build" >&2;}
1893 { (exit 1); exit 1; }; };;
1896 ac_save_IFS=$IFS; IFS='-'
1902 # Remember, the first character of IFS is used to create $*,
1903 # except with old shells:
1906 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1909 { echo "$as_me:$LINENO: checking host system type" >&5
1910 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1911 if test "${ac_cv_host+set}" = set; then
1912 echo $ECHO_N "(cached) $ECHO_C" >&6
1914 if test "x$host_alias" = x; then
1915 ac_cv_host=$ac_cv_build
1917 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1918 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1919 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1920 { (exit 1); exit 1; }; }
1924 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1925 echo "${ECHO_T}$ac_cv_host" >&6; }
1928 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1929 echo "$as_me: error: invalid value of canonical host" >&2;}
1930 { (exit 1); exit 1; }; };;
1933 ac_save_IFS=$IFS; IFS='-'
1939 # Remember, the first character of IFS is used to create $*,
1940 # except with old shells:
1943 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1953 CXXFLAGS="$CXXFLAGS -fno-rtti"
1955 # Use fink packages if available.
1956 #if test -d /sw/include && test -d /sw/lib; then
1957 # CPPFLAGS="${CPPFLAGS} -I/sw/include"
1958 # LDFLAGS="${LDFLAGS} -L/sw/lib"
1966 ac_cpp='$CPP $CPPFLAGS'
1967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1970 if test -n "$ac_tool_prefix"; then
1971 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1972 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1973 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1975 if test "${ac_cv_prog_CC+set}" = set; then
1976 echo $ECHO_N "(cached) $ECHO_C" >&6
1978 if test -n "$CC"; then
1979 ac_cv_prog_CC="$CC" # Let the user override the test.
1981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1985 test -z "$as_dir" && as_dir=.
1986 for ac_exec_ext in '' $ac_executable_extensions; do
1987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1988 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1999 if test -n "$CC"; then
2000 { echo "$as_me:$LINENO: result: $CC" >&5
2001 echo "${ECHO_T}$CC" >&6; }
2003 { echo "$as_me:$LINENO: result: no" >&5
2004 echo "${ECHO_T}no" >&6; }
2009 if test -z "$ac_cv_prog_CC"; then
2011 # Extract the first word of "gcc", so it can be a program name with args.
2012 set dummy gcc; ac_word=$2
2013 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2015 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2016 echo $ECHO_N "(cached) $ECHO_C" >&6
2018 if test -n "$ac_ct_CC"; then
2019 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2025 test -z "$as_dir" && as_dir=.
2026 for ac_exec_ext in '' $ac_executable_extensions; do
2027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2028 ac_cv_prog_ac_ct_CC="gcc"
2029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2038 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2039 if test -n "$ac_ct_CC"; then
2040 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2041 echo "${ECHO_T}$ac_ct_CC" >&6; }
2043 { echo "$as_me:$LINENO: result: no" >&5
2044 echo "${ECHO_T}no" >&6; }
2047 if test "x$ac_ct_CC" = x; then
2050 case $cross_compiling:$ac_tool_warned in
2052 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2053 whose name does not start with the host triplet. If you think this
2054 configuration is useful to you, please write to autoconf@gnu.org." >&5
2055 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2056 whose name does not start with the host triplet. If you think this
2057 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2058 ac_tool_warned=yes ;;
2066 if test -z "$CC"; then
2067 if test -n "$ac_tool_prefix"; then
2068 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2069 set dummy ${ac_tool_prefix}cc; ac_word=$2
2070 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2072 if test "${ac_cv_prog_CC+set}" = set; then
2073 echo $ECHO_N "(cached) $ECHO_C" >&6
2075 if test -n "$CC"; then
2076 ac_cv_prog_CC="$CC" # Let the user override the test.
2078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2082 test -z "$as_dir" && as_dir=.
2083 for ac_exec_ext in '' $ac_executable_extensions; do
2084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2085 ac_cv_prog_CC="${ac_tool_prefix}cc"
2086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2096 if test -n "$CC"; then
2097 { echo "$as_me:$LINENO: result: $CC" >&5
2098 echo "${ECHO_T}$CC" >&6; }
2100 { echo "$as_me:$LINENO: result: no" >&5
2101 echo "${ECHO_T}no" >&6; }
2107 if test -z "$CC"; then
2108 # Extract the first word of "cc", so it can be a program name with args.
2109 set dummy cc; ac_word=$2
2110 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2111 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2112 if test "${ac_cv_prog_CC+set}" = set; then
2113 echo $ECHO_N "(cached) $ECHO_C" >&6
2115 if test -n "$CC"; then
2116 ac_cv_prog_CC="$CC" # Let the user override the test.
2119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2123 test -z "$as_dir" && as_dir=.
2124 for ac_exec_ext in '' $ac_executable_extensions; do
2125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2126 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2127 ac_prog_rejected=yes
2131 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2138 if test $ac_prog_rejected = yes; then
2139 # We found a bogon in the path, so make sure we never use it.
2140 set dummy $ac_cv_prog_CC
2142 if test $# != 0; then
2143 # We chose a different compiler from the bogus one.
2144 # However, it has the same basename, so the bogon will be chosen
2145 # first if we set CC to just the basename; use the full file name.
2147 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2153 if test -n "$CC"; then
2154 { echo "$as_me:$LINENO: result: $CC" >&5
2155 echo "${ECHO_T}$CC" >&6; }
2157 { echo "$as_me:$LINENO: result: no" >&5
2158 echo "${ECHO_T}no" >&6; }
2163 if test -z "$CC"; then
2164 if test -n "$ac_tool_prefix"; then
2165 for ac_prog in cl.exe
2167 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2168 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2169 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2170 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2171 if test "${ac_cv_prog_CC+set}" = set; then
2172 echo $ECHO_N "(cached) $ECHO_C" >&6
2174 if test -n "$CC"; then
2175 ac_cv_prog_CC="$CC" # Let the user override the test.
2177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2181 test -z "$as_dir" && as_dir=.
2182 for ac_exec_ext in '' $ac_executable_extensions; do
2183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2184 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2185 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2195 if test -n "$CC"; then
2196 { echo "$as_me:$LINENO: result: $CC" >&5
2197 echo "${ECHO_T}$CC" >&6; }
2199 { echo "$as_me:$LINENO: result: no" >&5
2200 echo "${ECHO_T}no" >&6; }
2204 test -n "$CC" && break
2207 if test -z "$CC"; then
2209 for ac_prog in cl.exe
2211 # Extract the first word of "$ac_prog", so it can be a program name with args.
2212 set dummy $ac_prog; ac_word=$2
2213 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2215 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2216 echo $ECHO_N "(cached) $ECHO_C" >&6
2218 if test -n "$ac_ct_CC"; then
2219 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2225 test -z "$as_dir" && as_dir=.
2226 for ac_exec_ext in '' $ac_executable_extensions; do
2227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2228 ac_cv_prog_ac_ct_CC="$ac_prog"
2229 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2238 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2239 if test -n "$ac_ct_CC"; then
2240 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2241 echo "${ECHO_T}$ac_ct_CC" >&6; }
2243 { echo "$as_me:$LINENO: result: no" >&5
2244 echo "${ECHO_T}no" >&6; }
2248 test -n "$ac_ct_CC" && break
2251 if test "x$ac_ct_CC" = x; then
2254 case $cross_compiling:$ac_tool_warned in
2256 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2257 whose name does not start with the host triplet. If you think this
2258 configuration is useful to you, please write to autoconf@gnu.org." >&5
2259 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2260 whose name does not start with the host triplet. If you think this
2261 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2262 ac_tool_warned=yes ;;
2271 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2272 See \`config.log' for more details." >&5
2273 echo "$as_me: error: no acceptable C compiler found in \$PATH
2274 See \`config.log' for more details." >&2;}
2275 { (exit 1); exit 1; }; }
2277 # Provide some information about the compiler.
2278 echo "$as_me:$LINENO: checking for C compiler version" >&5
2279 ac_compiler=`set X $ac_compile; echo $2`
2280 { (ac_try="$ac_compiler --version >&5"
2282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2283 *) ac_try_echo=$ac_try;;
2285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2286 (eval "$ac_compiler --version >&5") 2>&5
2288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2289 (exit $ac_status); }
2290 { (ac_try="$ac_compiler -v >&5"
2292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2293 *) ac_try_echo=$ac_try;;
2295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2296 (eval "$ac_compiler -v >&5") 2>&5
2298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2299 (exit $ac_status); }
2300 { (ac_try="$ac_compiler -V >&5"
2302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2303 *) ac_try_echo=$ac_try;;
2305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2306 (eval "$ac_compiler -V >&5") 2>&5
2308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2309 (exit $ac_status); }
2311 cat >conftest.$ac_ext <<_ACEOF
2314 cat confdefs.h >>conftest.$ac_ext
2315 cat >>conftest.$ac_ext <<_ACEOF
2316 /* end confdefs.h. */
2326 ac_clean_files_save=$ac_clean_files
2327 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2328 # Try to create an executable without -o first, disregard a.out.
2329 # It will help us diagnose broken compilers, and finding out an intuition
2331 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2332 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2333 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2335 # List of possible output files, starting from the most likely.
2336 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2337 # only as a last resort. b.out is created by i960 compilers.
2338 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2340 # The IRIX 6 linker writes into existing files which may not be
2341 # executable, retaining their permissions. Remove them first so a
2342 # subsequent execution test works.
2344 for ac_file in $ac_files
2347 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2348 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2353 if { (ac_try="$ac_link_default"
2355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2356 *) ac_try_echo=$ac_try;;
2358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2359 (eval "$ac_link_default") 2>&5
2361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2362 (exit $ac_status); }; then
2363 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2364 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2365 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2366 # so that the user can short-circuit this test for compilers unknown to
2368 for ac_file in $ac_files ''
2370 test -f "$ac_file" || continue
2372 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2375 # We found the default executable, but exeext='' is most
2379 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2381 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2383 # We set ac_cv_exeext here because the later test for it is not
2384 # safe: cross compilers may not add the suffix if given an `-o'
2385 # argument, so we may need to know it at that point already.
2386 # Even if this section looks crufty: it has the advantage of
2393 test "$ac_cv_exeext" = no && ac_cv_exeext=
2399 { echo "$as_me:$LINENO: result: $ac_file" >&5
2400 echo "${ECHO_T}$ac_file" >&6; }
2401 if test -z "$ac_file"; then
2402 echo "$as_me: failed program was:" >&5
2403 sed 's/^/| /' conftest.$ac_ext >&5
2405 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2406 See \`config.log' for more details." >&5
2407 echo "$as_me: error: C compiler cannot create executables
2408 See \`config.log' for more details." >&2;}
2409 { (exit 77); exit 77; }; }
2412 ac_exeext=$ac_cv_exeext
2414 # Check that the compiler produces executables we can run. If not, either
2415 # the compiler is broken, or we cross compile.
2416 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2417 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2418 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2419 # If not cross compiling, check that we can run a simple program.
2420 if test "$cross_compiling" != yes; then
2421 if { ac_try='./$ac_file'
2422 { (case "(($ac_try" in
2423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2424 *) ac_try_echo=$ac_try;;
2426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2427 (eval "$ac_try") 2>&5
2429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2430 (exit $ac_status); }; }; then
2433 if test "$cross_compiling" = maybe; then
2436 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2437 If you meant to cross compile, use \`--host'.
2438 See \`config.log' for more details." >&5
2439 echo "$as_me: error: cannot run C compiled programs.
2440 If you meant to cross compile, use \`--host'.
2441 See \`config.log' for more details." >&2;}
2442 { (exit 1); exit 1; }; }
2446 { echo "$as_me:$LINENO: result: yes" >&5
2447 echo "${ECHO_T}yes" >&6; }
2449 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2450 ac_clean_files=$ac_clean_files_save
2451 # Check that the compiler produces executables we can run. If not, either
2452 # the compiler is broken, or we cross compile.
2453 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2454 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2455 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2456 echo "${ECHO_T}$cross_compiling" >&6; }
2458 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2459 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2460 if { (ac_try="$ac_link"
2462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2463 *) ac_try_echo=$ac_try;;
2465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2466 (eval "$ac_link") 2>&5
2468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2469 (exit $ac_status); }; then
2470 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2471 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2472 # work properly (i.e., refer to `conftest.exe'), while it won't with
2474 for ac_file in conftest.exe conftest conftest.*; do
2475 test -f "$ac_file" || continue
2477 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2478 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2484 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2485 See \`config.log' for more details." >&5
2486 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2487 See \`config.log' for more details." >&2;}
2488 { (exit 1); exit 1; }; }
2491 rm -f conftest$ac_cv_exeext
2492 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2493 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2495 rm -f conftest.$ac_ext
2496 EXEEXT=$ac_cv_exeext
2498 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2499 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2500 if test "${ac_cv_objext+set}" = set; then
2501 echo $ECHO_N "(cached) $ECHO_C" >&6
2503 cat >conftest.$ac_ext <<_ACEOF
2506 cat confdefs.h >>conftest.$ac_ext
2507 cat >>conftest.$ac_ext <<_ACEOF
2508 /* end confdefs.h. */
2518 rm -f conftest.o conftest.obj
2519 if { (ac_try="$ac_compile"
2521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2522 *) ac_try_echo=$ac_try;;
2524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2525 (eval "$ac_compile") 2>&5
2527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2528 (exit $ac_status); }; then
2529 for ac_file in conftest.o conftest.obj conftest.*; do
2530 test -f "$ac_file" || continue;
2532 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2533 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2538 echo "$as_me: failed program was:" >&5
2539 sed 's/^/| /' conftest.$ac_ext >&5
2541 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2542 See \`config.log' for more details." >&5
2543 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2544 See \`config.log' for more details." >&2;}
2545 { (exit 1); exit 1; }; }
2548 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2550 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2551 echo "${ECHO_T}$ac_cv_objext" >&6; }
2552 OBJEXT=$ac_cv_objext
2554 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2555 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2556 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2557 echo $ECHO_N "(cached) $ECHO_C" >&6
2559 cat >conftest.$ac_ext <<_ACEOF
2562 cat confdefs.h >>conftest.$ac_ext
2563 cat >>conftest.$ac_ext <<_ACEOF
2564 /* end confdefs.h. */
2577 rm -f conftest.$ac_objext
2578 if { (ac_try="$ac_compile"
2580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2581 *) ac_try_echo=$ac_try;;
2583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2584 (eval "$ac_compile") 2>conftest.er1
2586 grep -v '^ *+' conftest.er1 >conftest.err
2588 cat conftest.err >&5
2589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2590 (exit $ac_status); } && {
2591 test -z "$ac_c_werror_flag" ||
2592 test ! -s conftest.err
2593 } && test -s conftest.$ac_objext; then
2596 echo "$as_me: failed program was:" >&5
2597 sed 's/^/| /' conftest.$ac_ext >&5
2602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2603 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2606 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2607 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2608 GCC=`test $ac_compiler_gnu = yes && echo yes`
2609 ac_test_CFLAGS=${CFLAGS+set}
2610 ac_save_CFLAGS=$CFLAGS
2611 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2612 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2613 if test "${ac_cv_prog_cc_g+set}" = set; then
2614 echo $ECHO_N "(cached) $ECHO_C" >&6
2616 ac_save_c_werror_flag=$ac_c_werror_flag
2617 ac_c_werror_flag=yes
2620 cat >conftest.$ac_ext <<_ACEOF
2623 cat confdefs.h >>conftest.$ac_ext
2624 cat >>conftest.$ac_ext <<_ACEOF
2625 /* end confdefs.h. */
2635 rm -f conftest.$ac_objext
2636 if { (ac_try="$ac_compile"
2638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2639 *) ac_try_echo=$ac_try;;
2641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2642 (eval "$ac_compile") 2>conftest.er1
2644 grep -v '^ *+' conftest.er1 >conftest.err
2646 cat conftest.err >&5
2647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2648 (exit $ac_status); } && {
2649 test -z "$ac_c_werror_flag" ||
2650 test ! -s conftest.err
2651 } && test -s conftest.$ac_objext; then
2654 echo "$as_me: failed program was:" >&5
2655 sed 's/^/| /' conftest.$ac_ext >&5
2658 cat >conftest.$ac_ext <<_ACEOF
2661 cat confdefs.h >>conftest.$ac_ext
2662 cat >>conftest.$ac_ext <<_ACEOF
2663 /* end confdefs.h. */
2673 rm -f conftest.$ac_objext
2674 if { (ac_try="$ac_compile"
2676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2677 *) ac_try_echo=$ac_try;;
2679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2680 (eval "$ac_compile") 2>conftest.er1
2682 grep -v '^ *+' conftest.er1 >conftest.err
2684 cat conftest.err >&5
2685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2686 (exit $ac_status); } && {
2687 test -z "$ac_c_werror_flag" ||
2688 test ! -s conftest.err
2689 } && test -s conftest.$ac_objext; then
2692 echo "$as_me: failed program was:" >&5
2693 sed 's/^/| /' conftest.$ac_ext >&5
2695 ac_c_werror_flag=$ac_save_c_werror_flag
2697 cat >conftest.$ac_ext <<_ACEOF
2700 cat confdefs.h >>conftest.$ac_ext
2701 cat >>conftest.$ac_ext <<_ACEOF
2702 /* end confdefs.h. */
2712 rm -f conftest.$ac_objext
2713 if { (ac_try="$ac_compile"
2715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2716 *) ac_try_echo=$ac_try;;
2718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2719 (eval "$ac_compile") 2>conftest.er1
2721 grep -v '^ *+' conftest.er1 >conftest.err
2723 cat conftest.err >&5
2724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2725 (exit $ac_status); } && {
2726 test -z "$ac_c_werror_flag" ||
2727 test ! -s conftest.err
2728 } && test -s conftest.$ac_objext; then
2731 echo "$as_me: failed program was:" >&5
2732 sed 's/^/| /' conftest.$ac_ext >&5
2737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2744 ac_c_werror_flag=$ac_save_c_werror_flag
2746 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2747 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2748 if test "$ac_test_CFLAGS" = set; then
2749 CFLAGS=$ac_save_CFLAGS
2750 elif test $ac_cv_prog_cc_g = yes; then
2751 if test "$GCC" = yes; then
2757 if test "$GCC" = yes; then
2763 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2764 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2765 if test "${ac_cv_prog_cc_c89+set}" = set; then
2766 echo $ECHO_N "(cached) $ECHO_C" >&6
2768 ac_cv_prog_cc_c89=no
2770 cat >conftest.$ac_ext <<_ACEOF
2773 cat confdefs.h >>conftest.$ac_ext
2774 cat >>conftest.$ac_ext <<_ACEOF
2775 /* end confdefs.h. */
2778 #include <sys/types.h>
2779 #include <sys/stat.h>
2780 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2781 struct buf { int x; };
2782 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2783 static char *e (p, i)
2789 static char *f (char * (*g) (char **, int), char **p, ...)
2794 s = g (p, va_arg (v,int));
2799 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2800 function prototypes and stuff, but not '\xHH' hex character constants.
2801 These don't provoke an error unfortunately, instead are silently treated
2802 as 'x'. The following induces an error, until -std is added to get
2803 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2804 array size at least. It's necessary to write '\x00'==0 to get something
2805 that's true only with -std. */
2806 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2808 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2809 inside strings and character constants. */
2811 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2813 int test (int i, double x);
2814 struct s1 {int (*f) (int a);};
2815 struct s2 {int (*f) (double a);};
2816 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2822 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2827 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2828 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2830 CC="$ac_save_CC $ac_arg"
2831 rm -f conftest.$ac_objext
2832 if { (ac_try="$ac_compile"
2834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2835 *) ac_try_echo=$ac_try;;
2837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2838 (eval "$ac_compile") 2>conftest.er1
2840 grep -v '^ *+' conftest.er1 >conftest.err
2842 cat conftest.err >&5
2843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2844 (exit $ac_status); } && {
2845 test -z "$ac_c_werror_flag" ||
2846 test ! -s conftest.err
2847 } && test -s conftest.$ac_objext; then
2848 ac_cv_prog_cc_c89=$ac_arg
2850 echo "$as_me: failed program was:" >&5
2851 sed 's/^/| /' conftest.$ac_ext >&5
2856 rm -f core conftest.err conftest.$ac_objext
2857 test "x$ac_cv_prog_cc_c89" != "xno" && break
2859 rm -f conftest.$ac_ext
2864 case "x$ac_cv_prog_cc_c89" in
2866 { echo "$as_me:$LINENO: result: none needed" >&5
2867 echo "${ECHO_T}none needed" >&6; } ;;
2869 { echo "$as_me:$LINENO: result: unsupported" >&5
2870 echo "${ECHO_T}unsupported" >&6; } ;;
2872 CC="$CC $ac_cv_prog_cc_c89"
2873 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2874 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2879 ac_cpp='$CPP $CPPFLAGS'
2880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2885 ac_cpp='$CXXCPP $CPPFLAGS'
2886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2889 if test -z "$CXX"; then
2890 if test -n "$CCC"; then
2893 if test -n "$ac_tool_prefix"; then
2894 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2896 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2897 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2898 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2900 if test "${ac_cv_prog_CXX+set}" = set; then
2901 echo $ECHO_N "(cached) $ECHO_C" >&6
2903 if test -n "$CXX"; then
2904 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2910 test -z "$as_dir" && as_dir=.
2911 for ac_exec_ext in '' $ac_executable_extensions; do
2912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2913 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2924 if test -n "$CXX"; then
2925 { echo "$as_me:$LINENO: result: $CXX" >&5
2926 echo "${ECHO_T}$CXX" >&6; }
2928 { echo "$as_me:$LINENO: result: no" >&5
2929 echo "${ECHO_T}no" >&6; }
2933 test -n "$CXX" && break
2936 if test -z "$CXX"; then
2938 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2940 # Extract the first word of "$ac_prog", so it can be a program name with args.
2941 set dummy $ac_prog; ac_word=$2
2942 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2944 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2945 echo $ECHO_N "(cached) $ECHO_C" >&6
2947 if test -n "$ac_ct_CXX"; then
2948 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2954 test -z "$as_dir" && as_dir=.
2955 for ac_exec_ext in '' $ac_executable_extensions; do
2956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2957 ac_cv_prog_ac_ct_CXX="$ac_prog"
2958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2967 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2968 if test -n "$ac_ct_CXX"; then
2969 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2970 echo "${ECHO_T}$ac_ct_CXX" >&6; }
2972 { echo "$as_me:$LINENO: result: no" >&5
2973 echo "${ECHO_T}no" >&6; }
2977 test -n "$ac_ct_CXX" && break
2980 if test "x$ac_ct_CXX" = x; then
2983 case $cross_compiling:$ac_tool_warned in
2985 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2986 whose name does not start with the host triplet. If you think this
2987 configuration is useful to you, please write to autoconf@gnu.org." >&5
2988 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2989 whose name does not start with the host triplet. If you think this
2990 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2991 ac_tool_warned=yes ;;
2999 # Provide some information about the compiler.
3000 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3001 ac_compiler=`set X $ac_compile; echo $2`
3002 { (ac_try="$ac_compiler --version >&5"
3004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3005 *) ac_try_echo=$ac_try;;
3007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3008 (eval "$ac_compiler --version >&5") 2>&5
3010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3011 (exit $ac_status); }
3012 { (ac_try="$ac_compiler -v >&5"
3014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3015 *) ac_try_echo=$ac_try;;
3017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3018 (eval "$ac_compiler -v >&5") 2>&5
3020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3021 (exit $ac_status); }
3022 { (ac_try="$ac_compiler -V >&5"
3024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3025 *) ac_try_echo=$ac_try;;
3027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3028 (eval "$ac_compiler -V >&5") 2>&5
3030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3031 (exit $ac_status); }
3033 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3034 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3035 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3036 echo $ECHO_N "(cached) $ECHO_C" >&6
3038 cat >conftest.$ac_ext <<_ACEOF
3041 cat confdefs.h >>conftest.$ac_ext
3042 cat >>conftest.$ac_ext <<_ACEOF
3043 /* end confdefs.h. */
3056 rm -f conftest.$ac_objext
3057 if { (ac_try="$ac_compile"
3059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3060 *) ac_try_echo=$ac_try;;
3062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3063 (eval "$ac_compile") 2>conftest.er1
3065 grep -v '^ *+' conftest.er1 >conftest.err
3067 cat conftest.err >&5
3068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3069 (exit $ac_status); } && {
3070 test -z "$ac_cxx_werror_flag" ||
3071 test ! -s conftest.err
3072 } && test -s conftest.$ac_objext; then
3075 echo "$as_me: failed program was:" >&5
3076 sed 's/^/| /' conftest.$ac_ext >&5
3081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3082 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3085 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3086 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3087 GXX=`test $ac_compiler_gnu = yes && echo yes`
3088 ac_test_CXXFLAGS=${CXXFLAGS+set}
3089 ac_save_CXXFLAGS=$CXXFLAGS
3090 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3091 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3092 if test "${ac_cv_prog_cxx_g+set}" = set; then
3093 echo $ECHO_N "(cached) $ECHO_C" >&6
3095 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3096 ac_cxx_werror_flag=yes
3099 cat >conftest.$ac_ext <<_ACEOF
3102 cat confdefs.h >>conftest.$ac_ext
3103 cat >>conftest.$ac_ext <<_ACEOF
3104 /* end confdefs.h. */
3114 rm -f conftest.$ac_objext
3115 if { (ac_try="$ac_compile"
3117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3118 *) ac_try_echo=$ac_try;;
3120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3121 (eval "$ac_compile") 2>conftest.er1
3123 grep -v '^ *+' conftest.er1 >conftest.err
3125 cat conftest.err >&5
3126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3127 (exit $ac_status); } && {
3128 test -z "$ac_cxx_werror_flag" ||
3129 test ! -s conftest.err
3130 } && test -s conftest.$ac_objext; then
3131 ac_cv_prog_cxx_g=yes
3133 echo "$as_me: failed program was:" >&5
3134 sed 's/^/| /' conftest.$ac_ext >&5
3137 cat >conftest.$ac_ext <<_ACEOF
3140 cat confdefs.h >>conftest.$ac_ext
3141 cat >>conftest.$ac_ext <<_ACEOF
3142 /* end confdefs.h. */
3152 rm -f conftest.$ac_objext
3153 if { (ac_try="$ac_compile"
3155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3156 *) ac_try_echo=$ac_try;;
3158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3159 (eval "$ac_compile") 2>conftest.er1
3161 grep -v '^ *+' conftest.er1 >conftest.err
3163 cat conftest.err >&5
3164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3165 (exit $ac_status); } && {
3166 test -z "$ac_cxx_werror_flag" ||
3167 test ! -s conftest.err
3168 } && test -s conftest.$ac_objext; then
3171 echo "$as_me: failed program was:" >&5
3172 sed 's/^/| /' conftest.$ac_ext >&5
3174 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3176 cat >conftest.$ac_ext <<_ACEOF
3179 cat confdefs.h >>conftest.$ac_ext
3180 cat >>conftest.$ac_ext <<_ACEOF
3181 /* end confdefs.h. */
3191 rm -f conftest.$ac_objext
3192 if { (ac_try="$ac_compile"
3194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3195 *) ac_try_echo=$ac_try;;
3197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3198 (eval "$ac_compile") 2>conftest.er1
3200 grep -v '^ *+' conftest.er1 >conftest.err
3202 cat conftest.err >&5
3203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3204 (exit $ac_status); } && {
3205 test -z "$ac_cxx_werror_flag" ||
3206 test ! -s conftest.err
3207 } && test -s conftest.$ac_objext; then
3208 ac_cv_prog_cxx_g=yes
3210 echo "$as_me: failed program was:" >&5
3211 sed 's/^/| /' conftest.$ac_ext >&5
3216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3223 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3225 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3226 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3227 if test "$ac_test_CXXFLAGS" = set; then
3228 CXXFLAGS=$ac_save_CXXFLAGS
3229 elif test $ac_cv_prog_cxx_g = yes; then
3230 if test "$GXX" = yes; then
3236 if test "$GXX" = yes; then
3243 ac_cpp='$CPP $CPPFLAGS'
3244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3251 { echo "$as_me:$LINENO: checking whether gcc supports lazy variable declaration" >&5
3252 echo $ECHO_N "checking whether gcc supports lazy variable declaration... $ECHO_C" >&6; }
3254 cat > conftest.c << EOF
3258 int main (int argc, char*argv)
3268 testprog_link='$CC $CPPFLAGS $CFLAGS conftest.c -o conftest${ac_exeext}'
3269 if { (eval echo gcc.2.95.m4:19: \"$testprog_link\") 1>&5; (eval $testprog_link) 2>&5; } && test -s conftest${ac_exeext}; then
3270 { echo "$as_me:$LINENO: result: yes" >&5
3271 echo "${ECHO_T}yes" >&6; }
3275 echo "configure: failed program was:" >&5
3277 { echo "$as_me:$LINENO: result: no" >&5
3278 echo "${ECHO_T}no" >&6; }
3283 if test "x$GCC_IS_OK" '=' "x";then
3284 echo "***************************************************"
3285 echo "* Your gcc is too old to compile this!"
3287 echo "* The last version compilable by this compiler is "
3288 echo "* swftools 0.7.0, which you can download from "
3289 echo "* http://www.swftools.org/swftools-0.7.0.tar.gz "
3291 echo "* Newer versions require at least gcc 3.0.0 "
3292 echo "***************************************************"
3296 if test "x$CHECKMEM" '!=' "x";then
3300 #unset ac_cv_prog_CC
3301 #unset ac_cv_prog_CXX
3306 ac_cpp='$CPP $CPPFLAGS'
3307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3310 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3311 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3312 # On Suns, sometimes $CPP names a directory.
3313 if test -n "$CPP" && test -d "$CPP"; then
3316 if test -z "$CPP"; then
3317 if test "${ac_cv_prog_CPP+set}" = set; then
3318 echo $ECHO_N "(cached) $ECHO_C" >&6
3320 # Double quotes because CPP needs to be expanded
3321 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3324 for ac_c_preproc_warn_flag in '' yes
3326 # Use a header file that comes with gcc, so configuring glibc
3327 # with a fresh cross-compiler works.
3328 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3329 # <limits.h> exists even on freestanding compilers.
3330 # On the NeXT, cc -E runs the code through the compiler's parser,
3331 # not just through cpp. "Syntax error" is here to catch this case.
3332 cat >conftest.$ac_ext <<_ACEOF
3335 cat confdefs.h >>conftest.$ac_ext
3336 cat >>conftest.$ac_ext <<_ACEOF
3337 /* end confdefs.h. */
3339 # include <limits.h>
3341 # include <assert.h>
3345 if { (ac_try="$ac_cpp conftest.$ac_ext"
3347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3348 *) ac_try_echo=$ac_try;;
3350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3351 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3353 grep -v '^ *+' conftest.er1 >conftest.err
3355 cat conftest.err >&5
3356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3357 (exit $ac_status); } >/dev/null && {
3358 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3359 test ! -s conftest.err
3363 echo "$as_me: failed program was:" >&5
3364 sed 's/^/| /' conftest.$ac_ext >&5
3366 # Broken: fails on valid input.
3370 rm -f conftest.err conftest.$ac_ext
3372 # OK, works on sane cases. Now check whether nonexistent headers
3373 # can be detected and how.
3374 cat >conftest.$ac_ext <<_ACEOF
3377 cat confdefs.h >>conftest.$ac_ext
3378 cat >>conftest.$ac_ext <<_ACEOF
3379 /* end confdefs.h. */
3380 #include <ac_nonexistent.h>
3382 if { (ac_try="$ac_cpp conftest.$ac_ext"
3384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3385 *) ac_try_echo=$ac_try;;
3387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3388 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3390 grep -v '^ *+' conftest.er1 >conftest.err
3392 cat conftest.err >&5
3393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3394 (exit $ac_status); } >/dev/null && {
3395 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3396 test ! -s conftest.err
3398 # Broken: success on invalid input.
3401 echo "$as_me: failed program was:" >&5
3402 sed 's/^/| /' conftest.$ac_ext >&5
3404 # Passes both tests.
3409 rm -f conftest.err conftest.$ac_ext
3412 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3413 rm -f conftest.err conftest.$ac_ext
3414 if $ac_preproc_ok; then
3426 { echo "$as_me:$LINENO: result: $CPP" >&5
3427 echo "${ECHO_T}$CPP" >&6; }
3429 for ac_c_preproc_warn_flag in '' yes
3431 # Use a header file that comes with gcc, so configuring glibc
3432 # with a fresh cross-compiler works.
3433 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3434 # <limits.h> exists even on freestanding compilers.
3435 # On the NeXT, cc -E runs the code through the compiler's parser,
3436 # not just through cpp. "Syntax error" is here to catch this case.
3437 cat >conftest.$ac_ext <<_ACEOF
3440 cat confdefs.h >>conftest.$ac_ext
3441 cat >>conftest.$ac_ext <<_ACEOF
3442 /* end confdefs.h. */
3444 # include <limits.h>
3446 # include <assert.h>
3450 if { (ac_try="$ac_cpp conftest.$ac_ext"
3452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3453 *) ac_try_echo=$ac_try;;
3455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3456 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3458 grep -v '^ *+' conftest.er1 >conftest.err
3460 cat conftest.err >&5
3461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3462 (exit $ac_status); } >/dev/null && {
3463 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3464 test ! -s conftest.err
3468 echo "$as_me: failed program was:" >&5
3469 sed 's/^/| /' conftest.$ac_ext >&5
3471 # Broken: fails on valid input.
3475 rm -f conftest.err conftest.$ac_ext
3477 # OK, works on sane cases. Now check whether nonexistent headers
3478 # can be detected and how.
3479 cat >conftest.$ac_ext <<_ACEOF
3482 cat confdefs.h >>conftest.$ac_ext
3483 cat >>conftest.$ac_ext <<_ACEOF
3484 /* end confdefs.h. */
3485 #include <ac_nonexistent.h>
3487 if { (ac_try="$ac_cpp conftest.$ac_ext"
3489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3490 *) ac_try_echo=$ac_try;;
3492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3493 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3495 grep -v '^ *+' conftest.er1 >conftest.err
3497 cat conftest.err >&5
3498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3499 (exit $ac_status); } >/dev/null && {
3500 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3501 test ! -s conftest.err
3503 # Broken: success on invalid input.
3506 echo "$as_me: failed program was:" >&5
3507 sed 's/^/| /' conftest.$ac_ext >&5
3509 # Passes both tests.
3514 rm -f conftest.err conftest.$ac_ext
3517 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3518 rm -f conftest.err conftest.$ac_ext
3519 if $ac_preproc_ok; then
3522 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3523 See \`config.log' for more details." >&5
3524 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3525 See \`config.log' for more details." >&2;}
3526 { (exit 1); exit 1; }; }
3530 ac_cpp='$CPP $CPPFLAGS'
3531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3536 if test -n "$ac_tool_prefix"; then
3537 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3538 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3539 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3541 if test "${ac_cv_prog_RANLIB+set}" = set; then
3542 echo $ECHO_N "(cached) $ECHO_C" >&6
3544 if test -n "$RANLIB"; then
3545 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3551 test -z "$as_dir" && as_dir=.
3552 for ac_exec_ext in '' $ac_executable_extensions; do
3553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3554 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3564 RANLIB=$ac_cv_prog_RANLIB
3565 if test -n "$RANLIB"; then
3566 { echo "$as_me:$LINENO: result: $RANLIB" >&5
3567 echo "${ECHO_T}$RANLIB" >&6; }
3569 { echo "$as_me:$LINENO: result: no" >&5
3570 echo "${ECHO_T}no" >&6; }
3575 if test -z "$ac_cv_prog_RANLIB"; then
3576 ac_ct_RANLIB=$RANLIB
3577 # Extract the first word of "ranlib", so it can be a program name with args.
3578 set dummy ranlib; ac_word=$2
3579 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3581 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3582 echo $ECHO_N "(cached) $ECHO_C" >&6
3584 if test -n "$ac_ct_RANLIB"; then
3585 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3591 test -z "$as_dir" && as_dir=.
3592 for ac_exec_ext in '' $ac_executable_extensions; do
3593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3594 ac_cv_prog_ac_ct_RANLIB="ranlib"
3595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3604 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3605 if test -n "$ac_ct_RANLIB"; then
3606 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3607 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
3609 { echo "$as_me:$LINENO: result: no" >&5
3610 echo "${ECHO_T}no" >&6; }
3613 if test "x$ac_ct_RANLIB" = x; then
3616 case $cross_compiling:$ac_tool_warned in
3618 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3619 whose name does not start with the host triplet. If you think this
3620 configuration is useful to you, please write to autoconf@gnu.org." >&5
3621 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3622 whose name does not start with the host triplet. If you think this
3623 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3624 ac_tool_warned=yes ;;
3626 RANLIB=$ac_ct_RANLIB
3629 RANLIB="$ac_cv_prog_RANLIB"
3632 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3633 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
3634 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3635 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3636 echo $ECHO_N "(cached) $ECHO_C" >&6
3638 cat >conftest.make <<\_ACEOF
3641 @echo '@@@%%%=$(MAKE)=@@@%%%'
3643 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3644 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3646 eval ac_cv_prog_make_${ac_make}_set=yes;;
3648 eval ac_cv_prog_make_${ac_make}_set=no;;
3652 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3653 { echo "$as_me:$LINENO: result: yes" >&5
3654 echo "${ECHO_T}yes" >&6; }
3657 { echo "$as_me:$LINENO: result: no" >&5
3658 echo "${ECHO_T}no" >&6; }
3659 SET_MAKE="MAKE=${MAKE-make}"
3662 # Find a good install program. We prefer a C program (faster),
3663 # so one script is as good as another. But avoid the broken or
3664 # incompatible versions:
3665 # SysV /etc/install, /usr/sbin/install
3666 # SunOS /usr/etc/install
3667 # IRIX /sbin/install
3669 # AmigaOS /C/install, which installs bootblocks on floppy discs
3670 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3671 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3672 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3673 # OS/2's system install, which has a completely different semantic
3674 # ./install, which can be erroneously created by make from ./install.sh.
3675 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3676 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3677 if test -z "$INSTALL"; then
3678 if test "${ac_cv_path_install+set}" = set; then
3679 echo $ECHO_N "(cached) $ECHO_C" >&6
3681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3685 test -z "$as_dir" && as_dir=.
3686 # Account for people who put trailing slashes in PATH elements.
3688 ./ | .// | /cC/* | \
3689 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3690 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3693 # OSF1 and SCO ODT 3.0 have their own names for install.
3694 # Don't use installbsd from OSF since it installs stuff as root
3696 for ac_prog in ginstall scoinst install; do
3697 for ac_exec_ext in '' $ac_executable_extensions; do
3698 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3699 if test $ac_prog = install &&
3700 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3701 # AIX install. It has an incompatible calling convention.
3703 elif test $ac_prog = install &&
3704 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3705 # program-specific install script used by HP pwplus--don't use.
3708 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3721 if test "${ac_cv_path_install+set}" = set; then
3722 INSTALL=$ac_cv_path_install
3724 # As a last resort, use the slow shell script. Don't cache a
3725 # value for INSTALL within a source directory, because that will
3726 # break other packages using the cache if that directory is
3727 # removed, or if the value is a relative name.
3728 INSTALL=$ac_install_sh
3731 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3732 echo "${ECHO_T}$INSTALL" >&6; }
3734 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3735 # It thinks the first close brace ends the variable substitution.
3736 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3738 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3740 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3742 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
3743 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3745 if test "$LN_S" = "ln -s"; then
3746 { echo "$as_me:$LINENO: result: yes" >&5
3747 echo "${ECHO_T}yes" >&6; }
3749 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3750 echo "${ECHO_T}no, using $LN_S" >&6; }
3753 for ac_prog in gzip uncompress compress
3755 # Extract the first word of "$ac_prog", so it can be a program name with args.
3756 set dummy $ac_prog; ac_word=$2
3757 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3758 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3759 if test "${ac_cv_prog_UNCOMPRESS+set}" = set; then
3760 echo $ECHO_N "(cached) $ECHO_C" >&6
3762 if test -n "$UNCOMPRESS"; then
3763 ac_cv_prog_UNCOMPRESS="$UNCOMPRESS" # Let the user override the test.
3765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3769 test -z "$as_dir" && as_dir=.
3770 for ac_exec_ext in '' $ac_executable_extensions; do
3771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3772 ac_cv_prog_UNCOMPRESS="$ac_prog"
3773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3782 UNCOMPRESS=$ac_cv_prog_UNCOMPRESS
3783 if test -n "$UNCOMPRESS"; then
3784 { echo "$as_me:$LINENO: result: $UNCOMPRESS" >&5
3785 echo "${ECHO_T}$UNCOMPRESS" >&6; }
3787 { echo "$as_me:$LINENO: result: no" >&5
3788 echo "${ECHO_T}no" >&6; }
3792 test -n "$UNCOMPRESS" && break
3802 if test "x$EXEEXT" = "x.exe";then
3811 { echo "$as_me:$LINENO: checking host system type" >&5
3812 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3813 if test "${ac_cv_host+set}" = set; then
3814 echo $ECHO_N "(cached) $ECHO_C" >&6
3816 if test "x$host_alias" = x; then
3817 ac_cv_host=$ac_cv_build
3819 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3820 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3821 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3822 { (exit 1); exit 1; }; }
3826 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3827 echo "${ECHO_T}$ac_cv_host" >&6; }
3830 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3831 echo "$as_me: error: invalid value of canonical host" >&2;}
3832 { (exit 1); exit 1; }; };;
3835 ac_save_IFS=$IFS; IFS='-'
3841 # Remember, the first character of IFS is used to create $*,
3842 # except with old shells:
3845 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3850 { echo "$as_me:$LINENO: checking for target system" >&5
3851 echo $ECHO_N "checking for target system... $ECHO_C" >&6; }
3855 *cygwin* ) CYGWIN=yes;;
3856 *mingw* ) MINGW=yes;;
3860 if test "x$MINGW" = "xyes"; then
3861 #fix for the debian distribution of mingw
3862 if test -x "/usr/i586-mingw32msvc/bin/ar";then
3863 AR="/usr/i586-mingw32msvc/bin/ar"
3865 if test -x "/usr/i586-mingw32msvc/bin/ranlib";then
3866 RANLIB="/usr/i586-mingw32msvc/bin/ranlib"
3868 #fix for the gentoo distribution of mingw
3869 if test -x "/opt/xmingw/bin/i386-mingw32msvc-ar";then
3870 AR="/opt/xmingw/bin/i386-mingw32msvc-ar"
3872 if test -x "/opt/xmingw/bin/i386-mingw32msvc-ranlib";then
3873 RANLIB="/opt/xmingw/bin/i386-mingw32msvc-ranlib"
3875 if test -x "/opt/xmingw/bin/i386-mingw32msvc-strip";then
3876 STRIP="/opt/xmingw/bin/i386-mingw32msvc-strip"
3882 if test "x${CYGWIN}" = "xyes"; then
3883 cat >>confdefs.h <<_ACEOF
3887 { echo "$as_me:$LINENO: result: cygwin" >&5
3888 echo "${ECHO_T}cygwin" >&6; }
3890 if test "x${MINGW}" = "xyes"; then
3891 cat >>confdefs.h <<_ACEOF
3896 cat >>confdefs.h <<_ACEOF
3900 LIBS="$LIBS -lws2_32 -lgdi32"
3901 { echo "$as_me:$LINENO: result: mingw" >&5
3902 echo "${ECHO_T}mingw" >&6; }
3906 cat >>confdefs.h <<_ACEOF
3910 { echo "$as_me:$LINENO: result: " >&5
3911 echo "${ECHO_T}" >&6; }
3917 if test "x${MINGW}" != "xyes"; then
3919 cat >>confdefs.h <<_ACEOF
3932 # The following tries to make use of includes and libraries in
3933 # /usr/local, too. Notice: A -I/usr/local/include might break
3934 # things (MingW, cross-compiling etc.) in the same way as -I/usr/include,
3935 # especially on systems which link /usr/local to /usr, so it has yet
3936 # to be seen how useful this is.
3937 if test -d /usr/local/lib; then
3938 LDFLAGS="$LDFLAGS -L/usr/local/lib"
3940 if test -d /usr/local/include; then
3941 # Leave that alone. It's causing trouble e.g. with gcc 3.2 on gentoo.
3942 # CPPFLAGS="$CPPFLAGS -I/usr/local/include"
3945 if test "$prefix" != "NONE" -a "$prefix" != "/usr/local" -a "$prefix" != "/usr/local/"; then
3946 # if the user has a special prefix (like /opt), there might also be $prefix/lib
3947 # and $prefix/include, which should be included in our search paths for libraries
3949 LDFLAGS="$LDFLAGS -L${libdir}"
3950 CPPFLAGS="$CPPFLAGS -I${includedir}"
3951 # TODO- test whether gcc still works after this
3955 #LDFLAGS "-L/sw/lib" ; CPPFLAGS "-I/sw/include -I/sw/include/lame"
3958 # this must be done after (I believe) AC_PROG_MAKE_SET
3959 if test "x$DEBUG" '!=' "x" -o "x$STRIP" = "x";then
3960 STRIP="@echo debug enabled, not stripping "
3967 { echo "$as_me:$LINENO: checking for sin in -lm" >&5
3968 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6; }
3969 if test "${ac_cv_lib_m_sin+set}" = set; then
3970 echo $ECHO_N "(cached) $ECHO_C" >&6
3972 ac_check_lib_save_LIBS=$LIBS
3974 cat >conftest.$ac_ext <<_ACEOF
3977 cat confdefs.h >>conftest.$ac_ext
3978 cat >>conftest.$ac_ext <<_ACEOF
3979 /* end confdefs.h. */
3981 /* Override any GCC internal prototype to avoid an error.
3982 Use char because int might match the return type of a GCC
3983 builtin and then its argument prototype would still apply. */
3996 rm -f conftest.$ac_objext conftest$ac_exeext
3997 if { (ac_try="$ac_link"
3999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4000 *) ac_try_echo=$ac_try;;
4002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4003 (eval "$ac_link") 2>conftest.er1
4005 grep -v '^ *+' conftest.er1 >conftest.err
4007 cat conftest.err >&5
4008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4009 (exit $ac_status); } && {
4010 test -z "$ac_c_werror_flag" ||
4011 test ! -s conftest.err
4012 } && test -s conftest$ac_exeext &&
4013 $as_test_x conftest$ac_exeext; then
4016 echo "$as_me: failed program was:" >&5
4017 sed 's/^/| /' conftest.$ac_ext >&5
4022 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4023 conftest$ac_exeext conftest.$ac_ext
4024 LIBS=$ac_check_lib_save_LIBS
4026 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
4027 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6; }
4028 if test $ac_cv_lib_m_sin = yes; then
4029 cat >>confdefs.h <<_ACEOF
4036 echo "Error: Math library not found.";
4042 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
4043 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
4044 if test "${ac_cv_lib_z_deflate+set}" = set; then
4045 echo $ECHO_N "(cached) $ECHO_C" >&6
4047 ac_check_lib_save_LIBS=$LIBS
4049 cat >conftest.$ac_ext <<_ACEOF
4052 cat confdefs.h >>conftest.$ac_ext
4053 cat >>conftest.$ac_ext <<_ACEOF
4054 /* end confdefs.h. */
4056 /* Override any GCC internal prototype to avoid an error.
4057 Use char because int might match the return type of a GCC
4058 builtin and then its argument prototype would still apply. */
4071 rm -f conftest.$ac_objext conftest$ac_exeext
4072 if { (ac_try="$ac_link"
4074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4075 *) ac_try_echo=$ac_try;;
4077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4078 (eval "$ac_link") 2>conftest.er1
4080 grep -v '^ *+' conftest.er1 >conftest.err
4082 cat conftest.err >&5
4083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4084 (exit $ac_status); } && {
4085 test -z "$ac_c_werror_flag" ||
4086 test ! -s conftest.err
4087 } && test -s conftest$ac_exeext &&
4088 $as_test_x conftest$ac_exeext; then
4089 ac_cv_lib_z_deflate=yes
4091 echo "$as_me: failed program was:" >&5
4092 sed 's/^/| /' conftest.$ac_ext >&5
4094 ac_cv_lib_z_deflate=no
4097 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4098 conftest$ac_exeext conftest.$ac_ext
4099 LIBS=$ac_check_lib_save_LIBS
4101 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
4102 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
4103 if test $ac_cv_lib_z_deflate = yes; then
4104 cat >>confdefs.h <<_ACEOF
4115 if test "x$ZLIBMISSING" = "xtrue";then
4118 echo "You need zlib to compile swftools"
4124 { echo "$as_me:$LINENO: checking for jpeg_write_raw_data in -ljpeg" >&5
4125 echo $ECHO_N "checking for jpeg_write_raw_data in -ljpeg... $ECHO_C" >&6; }
4126 if test "${ac_cv_lib_jpeg_jpeg_write_raw_data+set}" = set; then
4127 echo $ECHO_N "(cached) $ECHO_C" >&6
4129 ac_check_lib_save_LIBS=$LIBS
4131 cat >conftest.$ac_ext <<_ACEOF
4134 cat confdefs.h >>conftest.$ac_ext
4135 cat >>conftest.$ac_ext <<_ACEOF
4136 /* end confdefs.h. */
4138 /* Override any GCC internal prototype to avoid an error.
4139 Use char because int might match the return type of a GCC
4140 builtin and then its argument prototype would still apply. */
4144 char jpeg_write_raw_data ();
4148 return jpeg_write_raw_data ();
4153 rm -f conftest.$ac_objext conftest$ac_exeext
4154 if { (ac_try="$ac_link"
4156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4157 *) ac_try_echo=$ac_try;;
4159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4160 (eval "$ac_link") 2>conftest.er1
4162 grep -v '^ *+' conftest.er1 >conftest.err
4164 cat conftest.err >&5
4165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4166 (exit $ac_status); } && {
4167 test -z "$ac_c_werror_flag" ||
4168 test ! -s conftest.err
4169 } && test -s conftest$ac_exeext &&
4170 $as_test_x conftest$ac_exeext; then
4171 ac_cv_lib_jpeg_jpeg_write_raw_data=yes
4173 echo "$as_me: failed program was:" >&5
4174 sed 's/^/| /' conftest.$ac_ext >&5
4176 ac_cv_lib_jpeg_jpeg_write_raw_data=no
4179 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4180 conftest$ac_exeext conftest.$ac_ext
4181 LIBS=$ac_check_lib_save_LIBS
4183 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_write_raw_data" >&5
4184 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_write_raw_data" >&6; }
4185 if test $ac_cv_lib_jpeg_jpeg_write_raw_data = yes; then
4186 cat >>confdefs.h <<_ACEOF
4187 #define HAVE_LIBJPEG 1
4197 { echo "$as_me:$LINENO: checking for DGifOpen in -lungif" >&5
4198 echo $ECHO_N "checking for DGifOpen in -lungif... $ECHO_C" >&6; }
4199 if test "${ac_cv_lib_ungif_DGifOpen+set}" = set; then
4200 echo $ECHO_N "(cached) $ECHO_C" >&6
4202 ac_check_lib_save_LIBS=$LIBS
4203 LIBS="-lungif $LIBS"
4204 cat >conftest.$ac_ext <<_ACEOF
4207 cat confdefs.h >>conftest.$ac_ext
4208 cat >>conftest.$ac_ext <<_ACEOF
4209 /* end confdefs.h. */
4211 /* Override any GCC internal prototype to avoid an error.
4212 Use char because int might match the return type of a GCC
4213 builtin and then its argument prototype would still apply. */
4226 rm -f conftest.$ac_objext conftest$ac_exeext
4227 if { (ac_try="$ac_link"
4229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4230 *) ac_try_echo=$ac_try;;
4232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4233 (eval "$ac_link") 2>conftest.er1
4235 grep -v '^ *+' conftest.er1 >conftest.err
4237 cat conftest.err >&5
4238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4239 (exit $ac_status); } && {
4240 test -z "$ac_c_werror_flag" ||
4241 test ! -s conftest.err
4242 } && test -s conftest$ac_exeext &&
4243 $as_test_x conftest$ac_exeext; then
4244 ac_cv_lib_ungif_DGifOpen=yes
4246 echo "$as_me: failed program was:" >&5
4247 sed 's/^/| /' conftest.$ac_ext >&5
4249 ac_cv_lib_ungif_DGifOpen=no
4252 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4253 conftest$ac_exeext conftest.$ac_ext
4254 LIBS=$ac_check_lib_save_LIBS
4256 { echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_DGifOpen" >&5
4257 echo "${ECHO_T}$ac_cv_lib_ungif_DGifOpen" >&6; }
4258 if test $ac_cv_lib_ungif_DGifOpen = yes; then
4259 cat >>confdefs.h <<_ACEOF
4260 #define HAVE_LIBUNGIF 1
4263 LIBS="-lungif $LIBS"
4269 if test "$UNGIFMISSING";then
4272 { echo "$as_me:$LINENO: checking for DGifOpen in -lgif" >&5
4273 echo $ECHO_N "checking for DGifOpen in -lgif... $ECHO_C" >&6; }
4274 if test "${ac_cv_lib_gif_DGifOpen+set}" = set; then
4275 echo $ECHO_N "(cached) $ECHO_C" >&6
4277 ac_check_lib_save_LIBS=$LIBS
4279 cat >conftest.$ac_ext <<_ACEOF
4282 cat confdefs.h >>conftest.$ac_ext
4283 cat >>conftest.$ac_ext <<_ACEOF
4284 /* end confdefs.h. */
4286 /* Override any GCC internal prototype to avoid an error.
4287 Use char because int might match the return type of a GCC
4288 builtin and then its argument prototype would still apply. */
4301 rm -f conftest.$ac_objext conftest$ac_exeext
4302 if { (ac_try="$ac_link"
4304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4305 *) ac_try_echo=$ac_try;;
4307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4308 (eval "$ac_link") 2>conftest.er1
4310 grep -v '^ *+' conftest.er1 >conftest.err
4312 cat conftest.err >&5
4313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4314 (exit $ac_status); } && {
4315 test -z "$ac_c_werror_flag" ||
4316 test ! -s conftest.err
4317 } && test -s conftest$ac_exeext &&
4318 $as_test_x conftest$ac_exeext; then
4319 ac_cv_lib_gif_DGifOpen=yes
4321 echo "$as_me: failed program was:" >&5
4322 sed 's/^/| /' conftest.$ac_ext >&5
4324 ac_cv_lib_gif_DGifOpen=no
4327 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4328 conftest$ac_exeext conftest.$ac_ext
4329 LIBS=$ac_check_lib_save_LIBS
4331 { echo "$as_me:$LINENO: result: $ac_cv_lib_gif_DGifOpen" >&5
4332 echo "${ECHO_T}$ac_cv_lib_gif_DGifOpen" >&6; }
4333 if test $ac_cv_lib_gif_DGifOpen = yes; then
4334 cat >>confdefs.h <<_ACEOF
4335 #define HAVE_LIBGIF 1
4347 { echo "$as_me:$LINENO: checking for byte order" >&5
4348 echo $ECHO_N "checking for byte order... $ECHO_C" >&6; }
4349 if test "$cross_compiling" = yes; then
4352 cat >conftest.$ac_ext <<_ACEOF
4355 cat confdefs.h >>conftest.$ac_ext
4356 cat >>conftest.$ac_ext <<_ACEOF
4357 /* end confdefs.h. */
4359 int main (int argc, char *argv[])
4366 rm -f conftest$ac_exeext
4367 if { (ac_try="$ac_link"
4369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4370 *) ac_try_echo=$ac_try;;
4372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4373 (eval "$ac_link") 2>&5
4375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4376 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4377 { (case "(($ac_try" in
4378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4379 *) ac_try_echo=$ac_try;;
4381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4382 (eval "$ac_try") 2>&5
4384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4385 (exit $ac_status); }; }; then
4388 echo "$as_me: program exited with status $ac_status" >&5
4389 echo "$as_me: failed program was:" >&5
4390 sed 's/^/| /' conftest.$ac_ext >&5
4395 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4401 if test "x${CROSSCOMPILE}" = "x1"; then
4402 { echo "$as_me:$LINENO: result: we are cross compiling- trying to guess from system type" >&5
4403 echo "${ECHO_T}we are cross compiling- trying to guess from system type" >&6; }
4404 { echo "$as_me:$LINENO: checking target system type" >&5
4405 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
4406 if test "${ac_cv_target+set}" = set; then
4407 echo $ECHO_N "(cached) $ECHO_C" >&6
4409 if test "x$target_alias" = x; then
4410 ac_cv_target=$ac_cv_host
4412 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
4413 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
4414 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
4415 { (exit 1); exit 1; }; }
4419 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
4420 echo "${ECHO_T}$ac_cv_target" >&6; }
4421 case $ac_cv_target in
4423 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
4424 echo "$as_me: error: invalid value of canonical target" >&2;}
4425 { (exit 1); exit 1; }; };;
4427 target=$ac_cv_target
4428 ac_save_IFS=$IFS; IFS='-'
4434 # Remember, the first character of IFS is used to create $*,
4435 # except with old shells:
4438 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
4441 # The aliases save the names the user supplied, while $host etc.
4442 # will get canonicalized.
4443 test -n "$target_alias" &&
4444 test "$program_prefix$program_suffix$program_transform_name" = \
4446 program_prefix=${target_alias}-
4447 { echo "$as_me:$LINENO: checking for byte order, try 2" >&5
4448 echo $ECHO_N "checking for byte order, try 2... $ECHO_C" >&6; }
4453 *sparc* | *68* | *88k* | *mac* | *Mac* | *sun* | *Sun* | *Amiga* | *amiga* )
4460 if test "x${LITTLEENDIAN}" = "x1"; then
4461 { echo "$as_me:$LINENO: result: little endian" >&5
4462 echo "${ECHO_T}little endian" >&6; }
4466 if test "x${BIGENDIAN}" = "x1"; then
4467 { echo "$as_me:$LINENO: result: big endian" >&5
4468 echo "${ECHO_T}big endian" >&6; }
4471 export WORDS_BIGENDIAN
4472 cat >>confdefs.h <<_ACEOF
4473 #define WORDS_BIGENDIAN 1
4477 if test "x${BYTEORDERCHECKOK}" != "x1"; then
4478 { echo "$as_me:$LINENO: result: unknown" >&5
4479 echo "${ECHO_T}unknown" >&6; }
4480 echo Byte order could not determined.
4486 { echo "$as_me:$LINENO: checking whether system() can handle command substitution" >&5
4487 echo $ECHO_N "checking whether system() can handle command substitution... $ECHO_C" >&6; }
4488 if test "$cross_compiling" = yes; then
4491 cat >conftest.$ac_ext <<_ACEOF
4494 cat confdefs.h >>conftest.$ac_ext
4495 cat >>conftest.$ac_ext <<_ACEOF
4496 /* end confdefs.h. */
4499 int main (int argc, char*argv[])
4501 return system("test `touch config.tmp2`");
4505 rm -f conftest$ac_exeext
4506 if { (ac_try="$ac_link"
4508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4509 *) ac_try_echo=$ac_try;;
4511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4512 (eval "$ac_link") 2>&5
4514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4515 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4516 { (case "(($ac_try" in
4517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4518 *) ac_try_echo=$ac_try;;
4520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4521 (eval "$ac_try") 2>&5
4523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4524 (exit $ac_status); }; }; then
4527 echo "$as_me: program exited with status $ac_status" >&5
4528 echo "$as_me: failed program was:" >&5
4529 sed 's/^/| /' conftest.$ac_ext >&5
4532 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4537 if test "x${OK}" = "xOK";then
4538 test -f config.tmp2 || OK=
4541 if test "x${CROSSCOMPILE}" = "x1";then
4544 if test "x${OK}" = "xOK";then
4546 { echo "$as_me:$LINENO: result: yes" >&5
4547 echo "${ECHO_T}yes" >&6; }
4549 export SYSTEM_BACKTICKS
4550 cat >>confdefs.h <<_ACEOF
4551 #define SYSTEM_BACKTICKS 1
4555 { echo "$as_me:$LINENO: result: no" >&5
4556 echo "${ECHO_T}no" >&6; }
4561 test "$program_prefix" != NONE &&
4562 program_transform_name="s&^&$program_prefix&;$program_transform_name"
4563 # Use a double $ so make ignores it.
4564 test "$program_suffix" != NONE &&
4565 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
4566 # Double any \ or $. echo might interpret backslashes.
4567 # By default was `s,x,x', remove it if useless.
4568 cat <<\_ACEOF >conftest.sed
4569 s/[\\$]/&&/g;s/;s,x,x,$//
4571 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
4575 ac_config_headers="$ac_config_headers config.h"
4583 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
4584 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4585 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
4586 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
4587 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4588 echo $ECHO_N "(cached) $ECHO_C" >&6
4590 cat >conftest.$ac_ext <<_ACEOF
4593 cat confdefs.h >>conftest.$ac_ext
4594 cat >>conftest.$ac_ext <<_ACEOF
4595 /* end confdefs.h. */
4596 #include <sys/types.h>
4608 rm -f conftest.$ac_objext
4609 if { (ac_try="$ac_compile"
4611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4612 *) ac_try_echo=$ac_try;;
4614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4615 (eval "$ac_compile") 2>conftest.er1
4617 grep -v '^ *+' conftest.er1 >conftest.err
4619 cat conftest.err >&5
4620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4621 (exit $ac_status); } && {
4622 test -z "$ac_c_werror_flag" ||
4623 test ! -s conftest.err
4624 } && test -s conftest.$ac_objext; then
4625 eval "$as_ac_Header=yes"
4627 echo "$as_me: failed program was:" >&5
4628 sed 's/^/| /' conftest.$ac_ext >&5
4630 eval "$as_ac_Header=no"
4633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4635 ac_res=`eval echo '${'$as_ac_Header'}'`
4636 { echo "$as_me:$LINENO: result: $ac_res" >&5
4637 echo "${ECHO_T}$ac_res" >&6; }
4638 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4639 cat >>confdefs.h <<_ACEOF
4640 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
4643 ac_header_dirent=$ac_hdr; break
4647 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4648 if test $ac_header_dirent = dirent.h; then
4649 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
4650 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
4651 if test "${ac_cv_search_opendir+set}" = set; then
4652 echo $ECHO_N "(cached) $ECHO_C" >&6
4654 ac_func_search_save_LIBS=$LIBS
4655 cat >conftest.$ac_ext <<_ACEOF
4658 cat confdefs.h >>conftest.$ac_ext
4659 cat >>conftest.$ac_ext <<_ACEOF
4660 /* end confdefs.h. */
4662 /* Override any GCC internal prototype to avoid an error.
4663 Use char because int might match the return type of a GCC
4664 builtin and then its argument prototype would still apply. */
4677 for ac_lib in '' dir; do
4678 if test -z "$ac_lib"; then
4679 ac_res="none required"
4682 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4684 rm -f conftest.$ac_objext conftest$ac_exeext
4685 if { (ac_try="$ac_link"
4687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4688 *) ac_try_echo=$ac_try;;
4690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4691 (eval "$ac_link") 2>conftest.er1
4693 grep -v '^ *+' conftest.er1 >conftest.err
4695 cat conftest.err >&5
4696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4697 (exit $ac_status); } && {
4698 test -z "$ac_c_werror_flag" ||
4699 test ! -s conftest.err
4700 } && test -s conftest$ac_exeext &&
4701 $as_test_x conftest$ac_exeext; then
4702 ac_cv_search_opendir=$ac_res
4704 echo "$as_me: failed program was:" >&5
4705 sed 's/^/| /' conftest.$ac_ext >&5
4710 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4712 if test "${ac_cv_search_opendir+set}" = set; then
4716 if test "${ac_cv_search_opendir+set}" = set; then
4719 ac_cv_search_opendir=no
4722 LIBS=$ac_func_search_save_LIBS
4724 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4725 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
4726 ac_res=$ac_cv_search_opendir
4727 if test "$ac_res" != no; then
4728 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4733 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
4734 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
4735 if test "${ac_cv_search_opendir+set}" = set; then
4736 echo $ECHO_N "(cached) $ECHO_C" >&6
4738 ac_func_search_save_LIBS=$LIBS
4739 cat >conftest.$ac_ext <<_ACEOF
4742 cat confdefs.h >>conftest.$ac_ext
4743 cat >>conftest.$ac_ext <<_ACEOF
4744 /* end confdefs.h. */
4746 /* Override any GCC internal prototype to avoid an error.
4747 Use char because int might match the return type of a GCC
4748 builtin and then its argument prototype would still apply. */
4761 for ac_lib in '' x; do
4762 if test -z "$ac_lib"; then
4763 ac_res="none required"
4766 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4768 rm -f conftest.$ac_objext conftest$ac_exeext
4769 if { (ac_try="$ac_link"
4771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4772 *) ac_try_echo=$ac_try;;
4774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4775 (eval "$ac_link") 2>conftest.er1
4777 grep -v '^ *+' conftest.er1 >conftest.err
4779 cat conftest.err >&5
4780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4781 (exit $ac_status); } && {
4782 test -z "$ac_c_werror_flag" ||
4783 test ! -s conftest.err
4784 } && test -s conftest$ac_exeext &&
4785 $as_test_x conftest$ac_exeext; then
4786 ac_cv_search_opendir=$ac_res
4788 echo "$as_me: failed program was:" >&5
4789 sed 's/^/| /' conftest.$ac_ext >&5
4794 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4796 if test "${ac_cv_search_opendir+set}" = set; then
4800 if test "${ac_cv_search_opendir+set}" = set; then
4803 ac_cv_search_opendir=no
4806 LIBS=$ac_func_search_save_LIBS
4808 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4809 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
4810 ac_res=$ac_cv_search_opendir
4811 if test "$ac_res" != no; then
4812 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4819 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4820 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4821 if test "${ac_cv_path_GREP+set}" = set; then
4822 echo $ECHO_N "(cached) $ECHO_C" >&6
4824 # Extract the first word of "grep ggrep" to use in msg output
4825 if test -z "$GREP"; then
4826 set dummy grep ggrep; ac_prog_name=$2
4827 if test "${ac_cv_path_GREP+set}" = set; then
4828 echo $ECHO_N "(cached) $ECHO_C" >&6
4830 ac_path_GREP_found=false
4831 # Loop through the user's path and test for each of PROGNAME-LIST
4832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4833 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4836 test -z "$as_dir" && as_dir=.
4837 for ac_prog in grep ggrep; do
4838 for ac_exec_ext in '' $ac_executable_extensions; do
4839 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4840 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4841 # Check for GNU ac_path_GREP and select it if it is found.
4842 # Check for GNU $ac_path_GREP
4843 case `"$ac_path_GREP" --version 2>&1` in
4845 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4848 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4851 cat "conftest.in" "conftest.in" >"conftest.tmp"
4852 mv "conftest.tmp" "conftest.in"
4853 cp "conftest.in" "conftest.nl"
4854 echo 'GREP' >> "conftest.nl"
4855 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4856 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4857 ac_count=`expr $ac_count + 1`
4858 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4859 # Best one so far, save it but keep looking for a better one
4860 ac_cv_path_GREP="$ac_path_GREP"
4861 ac_path_GREP_max=$ac_count
4863 # 10*(2^10) chars as input seems more than enough
4864 test $ac_count -gt 10 && break
4866 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4870 $ac_path_GREP_found && break 3
4880 GREP="$ac_cv_path_GREP"
4881 if test -z "$GREP"; then
4882 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4883 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4884 { (exit 1); exit 1; }; }
4888 ac_cv_path_GREP=$GREP
4893 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4894 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4895 GREP="$ac_cv_path_GREP"
4898 { echo "$as_me:$LINENO: checking for egrep" >&5
4899 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4900 if test "${ac_cv_path_EGREP+set}" = set; then
4901 echo $ECHO_N "(cached) $ECHO_C" >&6
4903 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4904 then ac_cv_path_EGREP="$GREP -E"
4906 # Extract the first word of "egrep" to use in msg output
4907 if test -z "$EGREP"; then
4908 set dummy egrep; ac_prog_name=$2
4909 if test "${ac_cv_path_EGREP+set}" = set; then
4910 echo $ECHO_N "(cached) $ECHO_C" >&6
4912 ac_path_EGREP_found=false
4913 # Loop through the user's path and test for each of PROGNAME-LIST
4914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4915 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4918 test -z "$as_dir" && as_dir=.
4919 for ac_prog in egrep; do
4920 for ac_exec_ext in '' $ac_executable_extensions; do
4921 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4922 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4923 # Check for GNU ac_path_EGREP and select it if it is found.
4924 # Check for GNU $ac_path_EGREP
4925 case `"$ac_path_EGREP" --version 2>&1` in
4927 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4930 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4933 cat "conftest.in" "conftest.in" >"conftest.tmp"
4934 mv "conftest.tmp" "conftest.in"
4935 cp "conftest.in" "conftest.nl"
4936 echo 'EGREP' >> "conftest.nl"
4937 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4938 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4939 ac_count=`expr $ac_count + 1`
4940 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4941 # Best one so far, save it but keep looking for a better one
4942 ac_cv_path_EGREP="$ac_path_EGREP"
4943 ac_path_EGREP_max=$ac_count
4945 # 10*(2^10) chars as input seems more than enough
4946 test $ac_count -gt 10 && break
4948 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4952 $ac_path_EGREP_found && break 3
4962 EGREP="$ac_cv_path_EGREP"
4963 if test -z "$EGREP"; then
4964 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4965 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4966 { (exit 1); exit 1; }; }
4970 ac_cv_path_EGREP=$EGREP
4976 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4977 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4978 EGREP="$ac_cv_path_EGREP"
4981 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4982 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4983 if test "${ac_cv_header_stdc+set}" = set; then
4984 echo $ECHO_N "(cached) $ECHO_C" >&6
4986 cat >conftest.$ac_ext <<_ACEOF
4989 cat confdefs.h >>conftest.$ac_ext
4990 cat >>conftest.$ac_ext <<_ACEOF
4991 /* end confdefs.h. */
5005 rm -f conftest.$ac_objext
5006 if { (ac_try="$ac_compile"
5008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5009 *) ac_try_echo=$ac_try;;
5011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5012 (eval "$ac_compile") 2>conftest.er1
5014 grep -v '^ *+' conftest.er1 >conftest.err
5016 cat conftest.err >&5
5017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5018 (exit $ac_status); } && {
5019 test -z "$ac_c_werror_flag" ||
5020 test ! -s conftest.err
5021 } && test -s conftest.$ac_objext; then
5022 ac_cv_header_stdc=yes
5024 echo "$as_me: failed program was:" >&5
5025 sed 's/^/| /' conftest.$ac_ext >&5
5027 ac_cv_header_stdc=no
5030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5032 if test $ac_cv_header_stdc = yes; then
5033 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5034 cat >conftest.$ac_ext <<_ACEOF
5037 cat confdefs.h >>conftest.$ac_ext
5038 cat >>conftest.$ac_ext <<_ACEOF
5039 /* end confdefs.h. */
5043 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5044 $EGREP "memchr" >/dev/null 2>&1; then
5047 ac_cv_header_stdc=no
5053 if test $ac_cv_header_stdc = yes; then
5054 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5055 cat >conftest.$ac_ext <<_ACEOF
5058 cat confdefs.h >>conftest.$ac_ext
5059 cat >>conftest.$ac_ext <<_ACEOF
5060 /* end confdefs.h. */
5064 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5065 $EGREP "free" >/dev/null 2>&1; then
5068 ac_cv_header_stdc=no
5074 if test $ac_cv_header_stdc = yes; then
5075 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5076 if test "$cross_compiling" = yes; then
5079 cat >conftest.$ac_ext <<_ACEOF
5082 cat confdefs.h >>conftest.$ac_ext
5083 cat >>conftest.$ac_ext <<_ACEOF
5084 /* end confdefs.h. */
5087 #if ((' ' & 0x0FF) == 0x020)
5088 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5089 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5091 # define ISLOWER(c) \
5092 (('a' <= (c) && (c) <= 'i') \
5093 || ('j' <= (c) && (c) <= 'r') \
5094 || ('s' <= (c) && (c) <= 'z'))
5095 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5098 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5103 for (i = 0; i < 256; i++)
5104 if (XOR (islower (i), ISLOWER (i))
5105 || toupper (i) != TOUPPER (i))
5110 rm -f conftest$ac_exeext
5111 if { (ac_try="$ac_link"
5113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5114 *) ac_try_echo=$ac_try;;
5116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5117 (eval "$ac_link") 2>&5
5119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5120 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5121 { (case "(($ac_try" in
5122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5123 *) ac_try_echo=$ac_try;;
5125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5126 (eval "$ac_try") 2>&5
5128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5129 (exit $ac_status); }; }; then
5132 echo "$as_me: program exited with status $ac_status" >&5
5133 echo "$as_me: failed program was:" >&5
5134 sed 's/^/| /' conftest.$ac_ext >&5
5137 ac_cv_header_stdc=no
5139 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5145 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5146 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5147 if test $ac_cv_header_stdc = yes; then
5149 cat >>confdefs.h <<\_ACEOF
5150 #define STDC_HEADERS 1
5155 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5165 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5166 inttypes.h stdint.h unistd.h
5168 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5169 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5170 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5171 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5172 echo $ECHO_N "(cached) $ECHO_C" >&6
5174 cat >conftest.$ac_ext <<_ACEOF
5177 cat confdefs.h >>conftest.$ac_ext
5178 cat >>conftest.$ac_ext <<_ACEOF
5179 /* end confdefs.h. */
5180 $ac_includes_default
5182 #include <$ac_header>
5184 rm -f conftest.$ac_objext
5185 if { (ac_try="$ac_compile"
5187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5188 *) ac_try_echo=$ac_try;;
5190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5191 (eval "$ac_compile") 2>conftest.er1
5193 grep -v '^ *+' conftest.er1 >conftest.err
5195 cat conftest.err >&5
5196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5197 (exit $ac_status); } && {
5198 test -z "$ac_c_werror_flag" ||
5199 test ! -s conftest.err
5200 } && test -s conftest.$ac_objext; then
5201 eval "$as_ac_Header=yes"
5203 echo "$as_me: failed program was:" >&5
5204 sed 's/^/| /' conftest.$ac_ext >&5
5206 eval "$as_ac_Header=no"
5209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5211 ac_res=`eval echo '${'$as_ac_Header'}'`
5212 { echo "$as_me:$LINENO: result: $ac_res" >&5
5213 echo "${ECHO_T}$ac_res" >&6; }
5214 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5215 cat >>confdefs.h <<_ACEOF
5216 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5240 for ac_header in zlib.h gif_lib.h io.h wchar.h jpeglib.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
5242 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5243 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5244 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5245 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5246 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5247 echo $ECHO_N "(cached) $ECHO_C" >&6
5249 ac_res=`eval echo '${'$as_ac_Header'}'`
5250 { echo "$as_me:$LINENO: result: $ac_res" >&5
5251 echo "${ECHO_T}$ac_res" >&6; }
5253 # Is the header compilable?
5254 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5255 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5256 cat >conftest.$ac_ext <<_ACEOF
5259 cat confdefs.h >>conftest.$ac_ext
5260 cat >>conftest.$ac_ext <<_ACEOF
5261 /* end confdefs.h. */
5262 $ac_includes_default
5263 #include <$ac_header>
5265 rm -f conftest.$ac_objext
5266 if { (ac_try="$ac_compile"
5268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5269 *) ac_try_echo=$ac_try;;
5271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5272 (eval "$ac_compile") 2>conftest.er1
5274 grep -v '^ *+' conftest.er1 >conftest.err
5276 cat conftest.err >&5
5277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5278 (exit $ac_status); } && {
5279 test -z "$ac_c_werror_flag" ||
5280 test ! -s conftest.err
5281 } && test -s conftest.$ac_objext; then
5282 ac_header_compiler=yes
5284 echo "$as_me: failed program was:" >&5
5285 sed 's/^/| /' conftest.$ac_ext >&5
5287 ac_header_compiler=no
5290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5291 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5292 echo "${ECHO_T}$ac_header_compiler" >&6; }
5294 # Is the header present?
5295 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5296 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5297 cat >conftest.$ac_ext <<_ACEOF
5300 cat confdefs.h >>conftest.$ac_ext
5301 cat >>conftest.$ac_ext <<_ACEOF
5302 /* end confdefs.h. */
5303 #include <$ac_header>
5305 if { (ac_try="$ac_cpp conftest.$ac_ext"
5307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5308 *) ac_try_echo=$ac_try;;
5310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5311 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5313 grep -v '^ *+' conftest.er1 >conftest.err
5315 cat conftest.err >&5
5316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5317 (exit $ac_status); } >/dev/null && {
5318 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5319 test ! -s conftest.err
5321 ac_header_preproc=yes
5323 echo "$as_me: failed program was:" >&5
5324 sed 's/^/| /' conftest.$ac_ext >&5
5326 ac_header_preproc=no
5329 rm -f conftest.err conftest.$ac_ext
5330 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5331 echo "${ECHO_T}$ac_header_preproc" >&6; }
5333 # So? What about this header?
5334 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5336 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5337 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5338 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5339 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5340 ac_header_preproc=yes
5343 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5344 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5345 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5346 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5347 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5348 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5349 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5350 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5351 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5352 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5353 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5354 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5358 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5359 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5360 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5361 echo $ECHO_N "(cached) $ECHO_C" >&6
5363 eval "$as_ac_Header=\$ac_header_preproc"
5365 ac_res=`eval echo '${'$as_ac_Header'}'`
5366 { echo "$as_me:$LINENO: result: $ac_res" >&5
5367 echo "${ECHO_T}$ac_res" >&6; }
5370 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5371 cat >>confdefs.h <<_ACEOF
5372 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5380 cat >>confdefs.h <<_ACEOF
5381 #define PACKAGE "$PACKAGE"
5384 cat >>confdefs.h <<_ACEOF
5385 #define VERSION "$VERSION"
5394 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5395 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
5396 if test "${ac_cv_c_const+set}" = set; then
5397 echo $ECHO_N "(cached) $ECHO_C" >&6
5399 cat >conftest.$ac_ext <<_ACEOF
5402 cat confdefs.h >>conftest.$ac_ext
5403 cat >>conftest.$ac_ext <<_ACEOF
5404 /* end confdefs.h. */
5409 /* FIXME: Include the comments suggested by Paul. */
5411 /* Ultrix mips cc rejects this. */
5412 typedef int charset[2];
5414 /* SunOS 4.1.1 cc rejects this. */
5415 char const *const *pcpcc;
5417 /* NEC SVR4.0.2 mips cc rejects this. */
5418 struct point {int x, y;};
5419 static struct point const zero = {0,0};
5420 /* AIX XL C 1.02.0.0 rejects this.
5421 It does not let you subtract one const X* pointer from another in
5422 an arm of an if-expression whose if-part is not a constant
5424 const char *g = "string";
5425 pcpcc = &g + (g ? g-g : 0);
5426 /* HPUX 7.0 cc rejects these. */
5428 ppc = (char**) pcpcc;
5429 pcpcc = (char const *const *) ppc;
5430 { /* SCO 3.2v4 cc rejects this. */
5432 char const *s = 0 ? (char *) 0 : (char const *) 0;
5437 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5439 const int *foo = &x[0];
5442 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5443 typedef const int *iptr;
5447 { /* AIX XL C 1.02.0.0 rejects this saying
5448 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5449 struct s { int j; const int *ap[3]; };
5450 struct s *b; b->j = 5;
5452 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5456 return !cs[0] && !zero.x;
5463 rm -f conftest.$ac_objext
5464 if { (ac_try="$ac_compile"
5466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5467 *) ac_try_echo=$ac_try;;
5469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5470 (eval "$ac_compile") 2>conftest.er1
5472 grep -v '^ *+' conftest.er1 >conftest.err
5474 cat conftest.err >&5
5475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5476 (exit $ac_status); } && {
5477 test -z "$ac_c_werror_flag" ||
5478 test ! -s conftest.err
5479 } && test -s conftest.$ac_objext; then
5482 echo "$as_me: failed program was:" >&5
5483 sed 's/^/| /' conftest.$ac_ext >&5
5488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5490 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5491 echo "${ECHO_T}$ac_cv_c_const" >&6; }
5492 if test $ac_cv_c_const = no; then
5494 cat >>confdefs.h <<\_ACEOF
5500 { echo "$as_me:$LINENO: checking for inline" >&5
5501 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
5502 if test "${ac_cv_c_inline+set}" = set; then
5503 echo $ECHO_N "(cached) $ECHO_C" >&6
5506 for ac_kw in inline __inline__ __inline; do
5507 cat >conftest.$ac_ext <<_ACEOF
5510 cat confdefs.h >>conftest.$ac_ext
5511 cat >>conftest.$ac_ext <<_ACEOF
5512 /* end confdefs.h. */
5515 static $ac_kw foo_t static_foo () {return 0; }
5516 $ac_kw foo_t foo () {return 0; }
5520 rm -f conftest.$ac_objext
5521 if { (ac_try="$ac_compile"
5523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5524 *) ac_try_echo=$ac_try;;
5526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5527 (eval "$ac_compile") 2>conftest.er1
5529 grep -v '^ *+' conftest.er1 >conftest.err
5531 cat conftest.err >&5
5532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5533 (exit $ac_status); } && {
5534 test -z "$ac_c_werror_flag" ||
5535 test ! -s conftest.err
5536 } && test -s conftest.$ac_objext; then
5537 ac_cv_c_inline=$ac_kw
5539 echo "$as_me: failed program was:" >&5
5540 sed 's/^/| /' conftest.$ac_ext >&5
5545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5546 test "$ac_cv_c_inline" != no && break
5550 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5551 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
5554 case $ac_cv_c_inline in
5557 case $ac_cv_c_inline in
5559 *) ac_val=$ac_cv_c_inline;;
5561 cat >>confdefs.h <<_ACEOF
5563 #define inline $ac_val
5569 { echo "$as_me:$LINENO: checking for off_t" >&5
5570 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
5571 if test "${ac_cv_type_off_t+set}" = set; then
5572 echo $ECHO_N "(cached) $ECHO_C" >&6
5574 cat >conftest.$ac_ext <<_ACEOF
5577 cat confdefs.h >>conftest.$ac_ext
5578 cat >>conftest.$ac_ext <<_ACEOF
5579 /* end confdefs.h. */
5580 $ac_includes_default
5581 typedef off_t ac__type_new_;
5585 if ((ac__type_new_ *) 0)
5587 if (sizeof (ac__type_new_))
5593 rm -f conftest.$ac_objext
5594 if { (ac_try="$ac_compile"
5596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5597 *) ac_try_echo=$ac_try;;
5599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5600 (eval "$ac_compile") 2>conftest.er1
5602 grep -v '^ *+' conftest.er1 >conftest.err
5604 cat conftest.err >&5
5605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5606 (exit $ac_status); } && {
5607 test -z "$ac_c_werror_flag" ||
5608 test ! -s conftest.err
5609 } && test -s conftest.$ac_objext; then
5610 ac_cv_type_off_t=yes
5612 echo "$as_me: failed program was:" >&5
5613 sed 's/^/| /' conftest.$ac_ext >&5
5618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5620 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5621 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
5622 if test $ac_cv_type_off_t = yes; then
5626 cat >>confdefs.h <<_ACEOF
5627 #define off_t long int
5632 { echo "$as_me:$LINENO: checking for size_t" >&5
5633 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
5634 if test "${ac_cv_type_size_t+set}" = set; then
5635 echo $ECHO_N "(cached) $ECHO_C" >&6
5637 cat >conftest.$ac_ext <<_ACEOF
5640 cat confdefs.h >>conftest.$ac_ext
5641 cat >>conftest.$ac_ext <<_ACEOF
5642 /* end confdefs.h. */
5643 $ac_includes_default
5644 typedef size_t ac__type_new_;
5648 if ((ac__type_new_ *) 0)
5650 if (sizeof (ac__type_new_))
5656 rm -f conftest.$ac_objext
5657 if { (ac_try="$ac_compile"
5659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5660 *) ac_try_echo=$ac_try;;
5662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5663 (eval "$ac_compile") 2>conftest.er1
5665 grep -v '^ *+' conftest.er1 >conftest.err
5667 cat conftest.err >&5
5668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5669 (exit $ac_status); } && {
5670 test -z "$ac_c_werror_flag" ||
5671 test ! -s conftest.err
5672 } && test -s conftest.$ac_objext; then
5673 ac_cv_type_size_t=yes
5675 echo "$as_me: failed program was:" >&5
5676 sed 's/^/| /' conftest.$ac_ext >&5
5678 ac_cv_type_size_t=no
5681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5683 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5684 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
5685 if test $ac_cv_type_size_t = yes; then
5689 cat >>confdefs.h <<_ACEOF
5690 #define size_t unsigned int
5695 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
5696 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
5697 if test "${ac_cv_struct_tm+set}" = set; then
5698 echo $ECHO_N "(cached) $ECHO_C" >&6
5700 cat >conftest.$ac_ext <<_ACEOF
5703 cat confdefs.h >>conftest.$ac_ext
5704 cat >>conftest.$ac_ext <<_ACEOF
5705 /* end confdefs.h. */
5706 #include <sys/types.h>
5713 int *p = &tm.tm_sec;
5719 rm -f conftest.$ac_objext
5720 if { (ac_try="$ac_compile"
5722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5723 *) ac_try_echo=$ac_try;;
5725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5726 (eval "$ac_compile") 2>conftest.er1
5728 grep -v '^ *+' conftest.er1 >conftest.err
5730 cat conftest.err >&5
5731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5732 (exit $ac_status); } && {
5733 test -z "$ac_c_werror_flag" ||
5734 test ! -s conftest.err
5735 } && test -s conftest.$ac_objext; then
5736 ac_cv_struct_tm=time.h
5738 echo "$as_me: failed program was:" >&5
5739 sed 's/^/| /' conftest.$ac_ext >&5
5741 ac_cv_struct_tm=sys/time.h
5744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5746 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
5747 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
5748 if test $ac_cv_struct_tm = sys/time.h; then
5750 cat >>confdefs.h <<\_ACEOF
5751 #define TM_IN_SYS_TIME 1
5756 { echo "$as_me:$LINENO: checking for boolean" >&5
5757 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
5758 if test "${ac_cv_type_boolean+set}" = set; then
5759 echo $ECHO_N "(cached) $ECHO_C" >&6
5761 cat >conftest.$ac_ext <<_ACEOF
5764 cat confdefs.h >>conftest.$ac_ext
5765 cat >>conftest.$ac_ext <<_ACEOF
5766 /* end confdefs.h. */
5767 $ac_includes_default
5768 typedef boolean ac__type_new_;
5772 if ((ac__type_new_ *) 0)
5774 if (sizeof (ac__type_new_))
5780 rm -f conftest.$ac_objext
5781 if { (ac_try="$ac_compile"
5783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5784 *) ac_try_echo=$ac_try;;
5786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5787 (eval "$ac_compile") 2>conftest.er1
5789 grep -v '^ *+' conftest.er1 >conftest.err
5791 cat conftest.err >&5
5792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5793 (exit $ac_status); } && {
5794 test -z "$ac_c_werror_flag" ||
5795 test ! -s conftest.err
5796 } && test -s conftest.$ac_objext; then
5797 ac_cv_type_boolean=yes
5799 echo "$as_me: failed program was:" >&5
5800 sed 's/^/| /' conftest.$ac_ext >&5
5802 ac_cv_type_boolean=no
5805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5807 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
5808 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
5809 if test $ac_cv_type_boolean = yes; then
5813 cat >>confdefs.h <<_ACEOF
5831 for ac_func in popen wcschr wcsdup mkstemp stat lrand48 rand srand48 srand bcopy bzero time
5833 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5834 { echo "$as_me:$LINENO: checking for $ac_func" >&5
5835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5836 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5837 echo $ECHO_N "(cached) $ECHO_C" >&6
5839 cat >conftest.$ac_ext <<_ACEOF
5842 cat confdefs.h >>conftest.$ac_ext
5843 cat >>conftest.$ac_ext <<_ACEOF
5844 /* end confdefs.h. */
5845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5847 #define $ac_func innocuous_$ac_func
5849 /* System header to define __stub macros and hopefully few prototypes,
5850 which can conflict with char $ac_func (); below.
5851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5852 <limits.h> exists even on freestanding compilers. */
5855 # include <limits.h>
5857 # include <assert.h>
5862 /* Override any GCC internal prototype to avoid an error.
5863 Use char because int might match the return type of a GCC
5864 builtin and then its argument prototype would still apply. */
5869 /* The GNU C library defines this for functions which it implements
5870 to always fail with ENOSYS. Some functions are actually named
5871 something starting with __ and the normal name is an alias. */
5872 #if defined __stub_$ac_func || defined __stub___$ac_func
5884 rm -f conftest.$ac_objext conftest$ac_exeext
5885 if { (ac_try="$ac_link"
5887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5888 *) ac_try_echo=$ac_try;;
5890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5891 (eval "$ac_link") 2>conftest.er1
5893 grep -v '^ *+' conftest.er1 >conftest.err
5895 cat conftest.err >&5
5896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5897 (exit $ac_status); } && {
5898 test -z "$ac_c_werror_flag" ||
5899 test ! -s conftest.err
5900 } && test -s conftest$ac_exeext &&
5901 $as_test_x conftest$ac_exeext; then
5902 eval "$as_ac_var=yes"
5904 echo "$as_me: failed program was:" >&5
5905 sed 's/^/| /' conftest.$ac_ext >&5
5907 eval "$as_ac_var=no"
5910 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5911 conftest$ac_exeext conftest.$ac_ext
5913 ac_res=`eval echo '${'$as_ac_var'}'`
5914 { echo "$as_me:$LINENO: result: $ac_res" >&5
5915 echo "${ECHO_T}$ac_res" >&6; }
5916 if test `eval echo '${'$as_ac_var'}'` = yes; then
5917 cat >>confdefs.h <<_ACEOF
5918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5925 { echo "$as_me:$LINENO: checking for signed" >&5
5926 echo $ECHO_N "checking for signed... $ECHO_C" >&6; }
5927 if test "${ac_cv_type_signed+set}" = set; then
5928 echo $ECHO_N "(cached) $ECHO_C" >&6
5930 cat >conftest.$ac_ext <<_ACEOF
5933 cat confdefs.h >>conftest.$ac_ext
5934 cat >>conftest.$ac_ext <<_ACEOF
5935 /* end confdefs.h. */
5936 $ac_includes_default
5937 typedef signed ac__type_new_;
5941 if ((ac__type_new_ *) 0)
5943 if (sizeof (ac__type_new_))
5949 rm -f conftest.$ac_objext
5950 if { (ac_try="$ac_compile"
5952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5953 *) ac_try_echo=$ac_try;;
5955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5956 (eval "$ac_compile") 2>conftest.er1
5958 grep -v '^ *+' conftest.er1 >conftest.err
5960 cat conftest.err >&5
5961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5962 (exit $ac_status); } && {
5963 test -z "$ac_c_werror_flag" ||
5964 test ! -s conftest.err
5965 } && test -s conftest.$ac_objext; then
5966 ac_cv_type_signed=yes
5968 echo "$as_me: failed program was:" >&5
5969 sed 's/^/| /' conftest.$ac_ext >&5
5971 ac_cv_type_signed=no
5974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5976 { echo "$as_me:$LINENO: result: $ac_cv_type_signed" >&5
5977 echo "${ECHO_T}$ac_cv_type_signed" >&6; }
5979 # The cast to long int works around a bug in the HP C Compiler
5980 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5981 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5982 # This bug is HP SR number 8606223364.
5983 { echo "$as_me:$LINENO: checking size of signed" >&5
5984 echo $ECHO_N "checking size of signed... $ECHO_C" >&6; }
5985 if test "${ac_cv_sizeof_signed+set}" = set; then
5986 echo $ECHO_N "(cached) $ECHO_C" >&6
5988 if test "$cross_compiling" = yes; then
5989 # Depending upon the size, compute the lo and hi bounds.
5990 cat >conftest.$ac_ext <<_ACEOF
5993 cat confdefs.h >>conftest.$ac_ext
5994 cat >>conftest.$ac_ext <<_ACEOF
5995 /* end confdefs.h. */
5996 $ac_includes_default
5997 typedef signed ac__type_sizeof_;
6001 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
6008 rm -f conftest.$ac_objext
6009 if { (ac_try="$ac_compile"
6011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6012 *) ac_try_echo=$ac_try;;
6014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6015 (eval "$ac_compile") 2>conftest.er1
6017 grep -v '^ *+' conftest.er1 >conftest.err
6019 cat conftest.err >&5
6020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6021 (exit $ac_status); } && {
6022 test -z "$ac_c_werror_flag" ||
6023 test ! -s conftest.err
6024 } && test -s conftest.$ac_objext; then
6027 cat >conftest.$ac_ext <<_ACEOF
6030 cat confdefs.h >>conftest.$ac_ext
6031 cat >>conftest.$ac_ext <<_ACEOF
6032 /* end confdefs.h. */
6033 $ac_includes_default
6034 typedef signed ac__type_sizeof_;
6038 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
6045 rm -f conftest.$ac_objext
6046 if { (ac_try="$ac_compile"
6048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6049 *) ac_try_echo=$ac_try;;
6051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6052 (eval "$ac_compile") 2>conftest.er1
6054 grep -v '^ *+' conftest.er1 >conftest.err
6056 cat conftest.err >&5
6057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6058 (exit $ac_status); } && {
6059 test -z "$ac_c_werror_flag" ||
6060 test ! -s conftest.err
6061 } && test -s conftest.$ac_objext; then
6062 ac_hi=$ac_mid; break
6064 echo "$as_me: failed program was:" >&5
6065 sed 's/^/| /' conftest.$ac_ext >&5
6067 ac_lo=`expr $ac_mid + 1`
6068 if test $ac_lo -le $ac_mid; then
6072 ac_mid=`expr 2 '*' $ac_mid + 1`
6075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6078 echo "$as_me: failed program was:" >&5
6079 sed 's/^/| /' conftest.$ac_ext >&5
6081 cat >conftest.$ac_ext <<_ACEOF
6084 cat confdefs.h >>conftest.$ac_ext
6085 cat >>conftest.$ac_ext <<_ACEOF
6086 /* end confdefs.h. */
6087 $ac_includes_default
6088 typedef signed ac__type_sizeof_;
6092 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
6099 rm -f conftest.$ac_objext
6100 if { (ac_try="$ac_compile"
6102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6103 *) ac_try_echo=$ac_try;;
6105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6106 (eval "$ac_compile") 2>conftest.er1
6108 grep -v '^ *+' conftest.er1 >conftest.err
6110 cat conftest.err >&5
6111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6112 (exit $ac_status); } && {
6113 test -z "$ac_c_werror_flag" ||
6114 test ! -s conftest.err
6115 } && test -s conftest.$ac_objext; then
6118 cat >conftest.$ac_ext <<_ACEOF
6121 cat confdefs.h >>conftest.$ac_ext
6122 cat >>conftest.$ac_ext <<_ACEOF
6123 /* end confdefs.h. */
6124 $ac_includes_default
6125 typedef signed ac__type_sizeof_;
6129 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
6136 rm -f conftest.$ac_objext
6137 if { (ac_try="$ac_compile"
6139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6140 *) ac_try_echo=$ac_try;;
6142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6143 (eval "$ac_compile") 2>conftest.er1
6145 grep -v '^ *+' conftest.er1 >conftest.err
6147 cat conftest.err >&5
6148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6149 (exit $ac_status); } && {
6150 test -z "$ac_c_werror_flag" ||
6151 test ! -s conftest.err
6152 } && test -s conftest.$ac_objext; then
6153 ac_lo=$ac_mid; break
6155 echo "$as_me: failed program was:" >&5
6156 sed 's/^/| /' conftest.$ac_ext >&5
6158 ac_hi=`expr '(' $ac_mid ')' - 1`
6159 if test $ac_mid -le $ac_hi; then
6163 ac_mid=`expr 2 '*' $ac_mid`
6166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6169 echo "$as_me: failed program was:" >&5
6170 sed 's/^/| /' conftest.$ac_ext >&5
6175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6179 # Binary search between lo and hi bounds.
6180 while test "x$ac_lo" != "x$ac_hi"; do
6181 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6182 cat >conftest.$ac_ext <<_ACEOF
6185 cat confdefs.h >>conftest.$ac_ext
6186 cat >>conftest.$ac_ext <<_ACEOF
6187 /* end confdefs.h. */
6188 $ac_includes_default
6189 typedef signed ac__type_sizeof_;
6193 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
6200 rm -f conftest.$ac_objext
6201 if { (ac_try="$ac_compile"
6203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6204 *) ac_try_echo=$ac_try;;
6206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6207 (eval "$ac_compile") 2>conftest.er1
6209 grep -v '^ *+' conftest.er1 >conftest.err
6211 cat conftest.err >&5
6212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6213 (exit $ac_status); } && {
6214 test -z "$ac_c_werror_flag" ||
6215 test ! -s conftest.err
6216 } && test -s conftest.$ac_objext; then
6219 echo "$as_me: failed program was:" >&5
6220 sed 's/^/| /' conftest.$ac_ext >&5
6222 ac_lo=`expr '(' $ac_mid ')' + 1`
6225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6228 ?*) ac_cv_sizeof_signed=$ac_lo;;
6229 '') if test "$ac_cv_type_signed" = yes; then
6230 { { echo "$as_me:$LINENO: error: cannot compute sizeof (signed)
6231 See \`config.log' for more details." >&5
6232 echo "$as_me: error: cannot compute sizeof (signed)
6233 See \`config.log' for more details." >&2;}
6234 { (exit 77); exit 77; }; }
6236 ac_cv_sizeof_signed=0
6240 cat >conftest.$ac_ext <<_ACEOF
6243 cat confdefs.h >>conftest.$ac_ext
6244 cat >>conftest.$ac_ext <<_ACEOF
6245 /* end confdefs.h. */
6246 $ac_includes_default
6247 typedef signed ac__type_sizeof_;
6248 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
6249 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
6256 FILE *f = fopen ("conftest.val", "w");
6259 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
6261 long int i = longval ();
6262 if (i != ((long int) (sizeof (ac__type_sizeof_))))
6264 fprintf (f, "%ld\n", i);
6268 unsigned long int i = ulongval ();
6269 if (i != ((long int) (sizeof (ac__type_sizeof_))))
6271 fprintf (f, "%lu\n", i);
6273 return ferror (f) || fclose (f) != 0;
6279 rm -f conftest$ac_exeext
6280 if { (ac_try="$ac_link"
6282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6283 *) ac_try_echo=$ac_try;;
6285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6286 (eval "$ac_link") 2>&5
6288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6289 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6290 { (case "(($ac_try" in
6291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6292 *) ac_try_echo=$ac_try;;
6294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6295 (eval "$ac_try") 2>&5
6297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6298 (exit $ac_status); }; }; then
6299 ac_cv_sizeof_signed=`cat conftest.val`
6301 echo "$as_me: program exited with status $ac_status" >&5
6302 echo "$as_me: failed program was:" >&5
6303 sed 's/^/| /' conftest.$ac_ext >&5
6306 if test "$ac_cv_type_signed" = yes; then
6307 { { echo "$as_me:$LINENO: error: cannot compute sizeof (signed)
6308 See \`config.log' for more details." >&5
6309 echo "$as_me: error: cannot compute sizeof (signed)
6310 See \`config.log' for more details." >&2;}
6311 { (exit 77); exit 77; }; }
6313 ac_cv_sizeof_signed=0
6316 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6320 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_signed" >&5
6321 echo "${ECHO_T}$ac_cv_sizeof_signed" >&6; }
6325 cat >>confdefs.h <<_ACEOF
6326 #define SIZEOF_SIGNED $ac_cv_sizeof_signed
6330 { echo "$as_me:$LINENO: checking for unsigned" >&5
6331 echo $ECHO_N "checking for unsigned... $ECHO_C" >&6; }
6332 if test "${ac_cv_type_unsigned+set}" = set; then
6333 echo $ECHO_N "(cached) $ECHO_C" >&6
6335 cat >conftest.$ac_ext <<_ACEOF
6338 cat confdefs.h >>conftest.$ac_ext
6339 cat >>conftest.$ac_ext <<_ACEOF
6340 /* end confdefs.h. */
6341 $ac_includes_default
6342 typedef unsigned ac__type_new_;
6346 if ((ac__type_new_ *) 0)
6348 if (sizeof (ac__type_new_))
6354 rm -f conftest.$ac_objext
6355 if { (ac_try="$ac_compile"
6357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6358 *) ac_try_echo=$ac_try;;
6360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6361 (eval "$ac_compile") 2>conftest.er1
6363 grep -v '^ *+' conftest.er1 >conftest.err
6365 cat conftest.err >&5
6366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6367 (exit $ac_status); } && {
6368 test -z "$ac_c_werror_flag" ||
6369 test ! -s conftest.err
6370 } && test -s conftest.$ac_objext; then
6371 ac_cv_type_unsigned=yes
6373 echo "$as_me: failed program was:" >&5
6374 sed 's/^/| /' conftest.$ac_ext >&5
6376 ac_cv_type_unsigned=no
6379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6381 { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned" >&5
6382 echo "${ECHO_T}$ac_cv_type_unsigned" >&6; }
6384 # The cast to long int works around a bug in the HP C Compiler
6385 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6386 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6387 # This bug is HP SR number 8606223364.
6388 { echo "$as_me:$LINENO: checking size of unsigned" >&5
6389 echo $ECHO_N "checking size of unsigned... $ECHO_C" >&6; }
6390 if test "${ac_cv_sizeof_unsigned+set}" = set; then
6391 echo $ECHO_N "(cached) $ECHO_C" >&6
6393 if test "$cross_compiling" = yes; then
6394 # Depending upon the size, compute the lo and hi bounds.
6395 cat >conftest.$ac_ext <<_ACEOF
6398 cat confdefs.h >>conftest.$ac_ext
6399 cat >>conftest.$ac_ext <<_ACEOF
6400 /* end confdefs.h. */
6401 $ac_includes_default
6402 typedef unsigned ac__type_sizeof_;
6406 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
6413 rm -f conftest.$ac_objext
6414 if { (ac_try="$ac_compile"
6416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6417 *) ac_try_echo=$ac_try;;
6419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6420 (eval "$ac_compile") 2>conftest.er1
6422 grep -v '^ *+' conftest.er1 >conftest.err
6424 cat conftest.err >&5
6425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6426 (exit $ac_status); } && {
6427 test -z "$ac_c_werror_flag" ||
6428 test ! -s conftest.err
6429 } && test -s conftest.$ac_objext; then
6432 cat >conftest.$ac_ext <<_ACEOF
6435 cat confdefs.h >>conftest.$ac_ext
6436 cat >>conftest.$ac_ext <<_ACEOF
6437 /* end confdefs.h. */
6438 $ac_includes_default
6439 typedef unsigned ac__type_sizeof_;
6443 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
6450 rm -f conftest.$ac_objext
6451 if { (ac_try="$ac_compile"
6453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6454 *) ac_try_echo=$ac_try;;
6456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6457 (eval "$ac_compile") 2>conftest.er1
6459 grep -v '^ *+' conftest.er1 >conftest.err
6461 cat conftest.err >&5
6462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6463 (exit $ac_status); } && {
6464 test -z "$ac_c_werror_flag" ||
6465 test ! -s conftest.err
6466 } && test -s conftest.$ac_objext; then
6467 ac_hi=$ac_mid; break
6469 echo "$as_me: failed program was:" >&5
6470 sed 's/^/| /' conftest.$ac_ext >&5
6472 ac_lo=`expr $ac_mid + 1`
6473 if test $ac_lo -le $ac_mid; then
6477 ac_mid=`expr 2 '*' $ac_mid + 1`
6480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6483 echo "$as_me: failed program was:" >&5
6484 sed 's/^/| /' conftest.$ac_ext >&5
6486 cat >conftest.$ac_ext <<_ACEOF
6489 cat confdefs.h >>conftest.$ac_ext
6490 cat >>conftest.$ac_ext <<_ACEOF
6491 /* end confdefs.h. */
6492 $ac_includes_default
6493 typedef unsigned ac__type_sizeof_;
6497 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
6504 rm -f conftest.$ac_objext
6505 if { (ac_try="$ac_compile"
6507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6508 *) ac_try_echo=$ac_try;;
6510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6511 (eval "$ac_compile") 2>conftest.er1
6513 grep -v '^ *+' conftest.er1 >conftest.err
6515 cat conftest.err >&5
6516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6517 (exit $ac_status); } && {
6518 test -z "$ac_c_werror_flag" ||
6519 test ! -s conftest.err
6520 } && test -s conftest.$ac_objext; then
6523 cat >conftest.$ac_ext <<_ACEOF
6526 cat confdefs.h >>conftest.$ac_ext
6527 cat >>conftest.$ac_ext <<_ACEOF
6528 /* end confdefs.h. */
6529 $ac_includes_default
6530 typedef unsigned ac__type_sizeof_;
6534 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
6541 rm -f conftest.$ac_objext
6542 if { (ac_try="$ac_compile"
6544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6545 *) ac_try_echo=$ac_try;;
6547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6548 (eval "$ac_compile") 2>conftest.er1
6550 grep -v '^ *+' conftest.er1 >conftest.err
6552 cat conftest.err >&5
6553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6554 (exit $ac_status); } && {
6555 test -z "$ac_c_werror_flag" ||
6556 test ! -s conftest.err
6557 } && test -s conftest.$ac_objext; then
6558 ac_lo=$ac_mid; break
6560 echo "$as_me: failed program was:" >&5
6561 sed 's/^/| /' conftest.$ac_ext >&5
6563 ac_hi=`expr '(' $ac_mid ')' - 1`
6564 if test $ac_mid -le $ac_hi; then
6568 ac_mid=`expr 2 '*' $ac_mid`
6571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6574 echo "$as_me: failed program was:" >&5
6575 sed 's/^/| /' conftest.$ac_ext >&5
6580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6584 # Binary search between lo and hi bounds.
6585 while test "x$ac_lo" != "x$ac_hi"; do
6586 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6587 cat >conftest.$ac_ext <<_ACEOF
6590 cat confdefs.h >>conftest.$ac_ext
6591 cat >>conftest.$ac_ext <<_ACEOF
6592 /* end confdefs.h. */
6593 $ac_includes_default
6594 typedef unsigned ac__type_sizeof_;
6598 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
6605 rm -f conftest.$ac_objext
6606 if { (ac_try="$ac_compile"
6608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6609 *) ac_try_echo=$ac_try;;
6611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6612 (eval "$ac_compile") 2>conftest.er1
6614 grep -v '^ *+' conftest.er1 >conftest.err
6616 cat conftest.err >&5
6617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6618 (exit $ac_status); } && {
6619 test -z "$ac_c_werror_flag" ||
6620 test ! -s conftest.err
6621 } && test -s conftest.$ac_objext; then
6624 echo "$as_me: failed program was:" >&5
6625 sed 's/^/| /' conftest.$ac_ext >&5
6627 ac_lo=`expr '(' $ac_mid ')' + 1`
6630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6633 ?*) ac_cv_sizeof_unsigned=$ac_lo;;
6634 '') if test "$ac_cv_type_unsigned" = yes; then
6635 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned)
6636 See \`config.log' for more details." >&5
6637 echo "$as_me: error: cannot compute sizeof (unsigned)
6638 See \`config.log' for more details." >&2;}
6639 { (exit 77); exit 77; }; }
6641 ac_cv_sizeof_unsigned=0
6645 cat >conftest.$ac_ext <<_ACEOF
6648 cat confdefs.h >>conftest.$ac_ext
6649 cat >>conftest.$ac_ext <<_ACEOF
6650 /* end confdefs.h. */
6651 $ac_includes_default
6652 typedef unsigned ac__type_sizeof_;
6653 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
6654 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
6661 FILE *f = fopen ("conftest.val", "w");
6664 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
6666 long int i = longval ();
6667 if (i != ((long int) (sizeof (ac__type_sizeof_))))
6669 fprintf (f, "%ld\n", i);
6673 unsigned long int i = ulongval ();
6674 if (i != ((long int) (sizeof (ac__type_sizeof_))))
6676 fprintf (f, "%lu\n", i);
6678 return ferror (f) || fclose (f) != 0;
6684 rm -f conftest$ac_exeext
6685 if { (ac_try="$ac_link"
6687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6688 *) ac_try_echo=$ac_try;;
6690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6691 (eval "$ac_link") 2>&5
6693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6694 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6695 { (case "(($ac_try" in
6696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6697 *) ac_try_echo=$ac_try;;
6699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6700 (eval "$ac_try") 2>&5
6702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6703 (exit $ac_status); }; }; then
6704 ac_cv_sizeof_unsigned=`cat conftest.val`
6706 echo "$as_me: program exited with status $ac_status" >&5
6707 echo "$as_me: failed program was:" >&5
6708 sed 's/^/| /' conftest.$ac_ext >&5
6711 if test "$ac_cv_type_unsigned" = yes; then
6712 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned)
6713 See \`config.log' for more details." >&5
6714 echo "$as_me: error: cannot compute sizeof (unsigned)
6715 See \`config.log' for more details." >&2;}
6716 { (exit 77); exit 77; }; }
6718 ac_cv_sizeof_unsigned=0
6721 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6725 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned" >&5
6726 echo "${ECHO_T}$ac_cv_sizeof_unsigned" >&6; }
6730 cat >>confdefs.h <<_ACEOF
6731 #define SIZEOF_UNSIGNED $ac_cv_sizeof_unsigned
6735 { echo "$as_me:$LINENO: checking for signed long" >&5
6736 echo $ECHO_N "checking for signed long... $ECHO_C" >&6; }
6737 if test "${ac_cv_type_signed_long+set}" = set; then
6738 echo $ECHO_N "(cached) $ECHO_C" >&6
6740 cat >conftest.$ac_ext <<_ACEOF
6743 cat confdefs.h >>conftest.$ac_ext
6744 cat >>conftest.$ac_ext <<_ACEOF
6745 /* end confdefs.h. */
6746 $ac_includes_default
6747 typedef signed long ac__type_new_;
6751 if ((ac__type_new_ *) 0)
6753 if (sizeof (ac__type_new_))
6759 rm -f conftest.$ac_objext
6760 if { (ac_try="$ac_compile"
6762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6763 *) ac_try_echo=$ac_try;;
6765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6766 (eval "$ac_compile") 2>conftest.er1
6768 grep -v '^ *+' conftest.er1 >conftest.err
6770 cat conftest.err >&5
6771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6772 (exit $ac_status); } && {
6773 test -z "$ac_c_werror_flag" ||
6774 test ! -s conftest.err
6775 } && test -s conftest.$ac_objext; then
6776 ac_cv_type_signed_long=yes
6778 echo "$as_me: failed program was:" >&5
6779 sed 's/^/| /' conftest.$ac_ext >&5
6781 ac_cv_type_signed_long=no
6784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6786 { echo "$as_me:$LINENO: result: $ac_cv_type_signed_long" >&5
6787 echo "${ECHO_T}$ac_cv_type_signed_long" >&6; }
6789 # The cast to long int works around a bug in the HP C Compiler
6790 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6791 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6792 # This bug is HP SR number 8606223364.
6793 { echo "$as_me:$LINENO: checking size of signed long" >&5
6794 echo $ECHO_N "checking size of signed long... $ECHO_C" >&6; }
6795 if test "${ac_cv_sizeof_signed_long+set}" = set; then
6796 echo $ECHO_N "(cached) $ECHO_C" >&6
6798 if test "$cross_compiling" = yes; then
6799 # Depending upon the size, compute the lo and hi bounds.
6800 cat >conftest.$ac_ext <<_ACEOF
6803 cat confdefs.h >>conftest.$ac_ext
6804 cat >>conftest.$ac_ext <<_ACEOF
6805 /* end confdefs.h. */
6806 $ac_includes_default
6807 typedef signed long ac__type_sizeof_;
6811 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
6818 rm -f conftest.$ac_objext
6819 if { (ac_try="$ac_compile"
6821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6822 *) ac_try_echo=$ac_try;;
6824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6825 (eval "$ac_compile") 2>conftest.er1
6827 grep -v '^ *+' conftest.er1 >conftest.err
6829 cat conftest.err >&5
6830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6831 (exit $ac_status); } && {
6832 test -z "$ac_c_werror_flag" ||
6833 test ! -s conftest.err
6834 } && test -s conftest.$ac_objext; then
6837 cat >conftest.$ac_ext <<_ACEOF
6840 cat confdefs.h >>conftest.$ac_ext
6841 cat >>conftest.$ac_ext <<_ACEOF
6842 /* end confdefs.h. */
6843 $ac_includes_default
6844 typedef signed long ac__type_sizeof_;
6848 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
6855 rm -f conftest.$ac_objext
6856 if { (ac_try="$ac_compile"
6858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6859 *) ac_try_echo=$ac_try;;
6861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6862 (eval "$ac_compile") 2>conftest.er1
6864 grep -v '^ *+' conftest.er1 >conftest.err
6866 cat conftest.err >&5
6867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6868 (exit $ac_status); } && {
6869 test -z "$ac_c_werror_flag" ||
6870 test ! -s conftest.err
6871 } && test -s conftest.$ac_objext; then
6872 ac_hi=$ac_mid; break
6874 echo "$as_me: failed program was:" >&5
6875 sed 's/^/| /' conftest.$ac_ext >&5
6877 ac_lo=`expr $ac_mid + 1`
6878 if test $ac_lo -le $ac_mid; then
6882 ac_mid=`expr 2 '*' $ac_mid + 1`
6885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6888 echo "$as_me: failed program was:" >&5
6889 sed 's/^/| /' conftest.$ac_ext >&5
6891 cat >conftest.$ac_ext <<_ACEOF
6894 cat confdefs.h >>conftest.$ac_ext
6895 cat >>conftest.$ac_ext <<_ACEOF
6896 /* end confdefs.h. */
6897 $ac_includes_default
6898 typedef signed long ac__type_sizeof_;
6902 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
6909 rm -f conftest.$ac_objext
6910 if { (ac_try="$ac_compile"
6912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6913 *) ac_try_echo=$ac_try;;
6915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6916 (eval "$ac_compile") 2>conftest.er1
6918 grep -v '^ *+' conftest.er1 >conftest.err
6920 cat conftest.err >&5
6921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6922 (exit $ac_status); } && {
6923 test -z "$ac_c_werror_flag" ||
6924 test ! -s conftest.err
6925 } && test -s conftest.$ac_objext; then
6928 cat >conftest.$ac_ext <<_ACEOF
6931 cat confdefs.h >>conftest.$ac_ext
6932 cat >>conftest.$ac_ext <<_ACEOF
6933 /* end confdefs.h. */
6934 $ac_includes_default
6935 typedef signed long ac__type_sizeof_;
6939 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
6946 rm -f conftest.$ac_objext
6947 if { (ac_try="$ac_compile"
6949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6950 *) ac_try_echo=$ac_try;;
6952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6953 (eval "$ac_compile") 2>conftest.er1
6955 grep -v '^ *+' conftest.er1 >conftest.err
6957 cat conftest.err >&5
6958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6959 (exit $ac_status); } && {
6960 test -z "$ac_c_werror_flag" ||
6961 test ! -s conftest.err
6962 } && test -s conftest.$ac_objext; then
6963 ac_lo=$ac_mid; break
6965 echo "$as_me: failed program was:" >&5
6966 sed 's/^/| /' conftest.$ac_ext >&5
6968 ac_hi=`expr '(' $ac_mid ')' - 1`
6969 if test $ac_mid -le $ac_hi; then
6973 ac_mid=`expr 2 '*' $ac_mid`
6976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6979 echo "$as_me: failed program was:" >&5
6980 sed 's/^/| /' conftest.$ac_ext >&5
6985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6989 # Binary search between lo and hi bounds.
6990 while test "x$ac_lo" != "x$ac_hi"; do
6991 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6992 cat >conftest.$ac_ext <<_ACEOF
6995 cat confdefs.h >>conftest.$ac_ext
6996 cat >>conftest.$ac_ext <<_ACEOF
6997 /* end confdefs.h. */
6998 $ac_includes_default
6999 typedef signed long ac__type_sizeof_;
7003 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
7010 rm -f conftest.$ac_objext
7011 if { (ac_try="$ac_compile"
7013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7014 *) ac_try_echo=$ac_try;;
7016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7017 (eval "$ac_compile") 2>conftest.er1
7019 grep -v '^ *+' conftest.er1 >conftest.err
7021 cat conftest.err >&5
7022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7023 (exit $ac_status); } && {
7024 test -z "$ac_c_werror_flag" ||
7025 test ! -s conftest.err
7026 } && test -s conftest.$ac_objext; then
7029 echo "$as_me: failed program was:" >&5
7030 sed 's/^/| /' conftest.$ac_ext >&5
7032 ac_lo=`expr '(' $ac_mid ')' + 1`
7035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7038 ?*) ac_cv_sizeof_signed_long=$ac_lo;;
7039 '') if test "$ac_cv_type_signed_long" = yes; then
7040 { { echo "$as_me:$LINENO: error: cannot compute sizeof (signed long)
7041 See \`config.log' for more details." >&5
7042 echo "$as_me: error: cannot compute sizeof (signed long)
7043 See \`config.log' for more details." >&2;}
7044 { (exit 77); exit 77; }; }
7046 ac_cv_sizeof_signed_long=0
7050 cat >conftest.$ac_ext <<_ACEOF
7053 cat confdefs.h >>conftest.$ac_ext
7054 cat >>conftest.$ac_ext <<_ACEOF
7055 /* end confdefs.h. */
7056 $ac_includes_default
7057 typedef signed long ac__type_sizeof_;
7058 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
7059 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
7066 FILE *f = fopen ("conftest.val", "w");
7069 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
7071 long int i = longval ();
7072 if (i != ((long int) (sizeof (ac__type_sizeof_))))
7074 fprintf (f, "%ld\n", i);
7078 unsigned long int i = ulongval ();
7079 if (i != ((long int) (sizeof (ac__type_sizeof_))))
7081 fprintf (f, "%lu\n", i);
7083 return ferror (f) || fclose (f) != 0;
7089 rm -f conftest$ac_exeext
7090 if { (ac_try="$ac_link"
7092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7093 *) ac_try_echo=$ac_try;;
7095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7096 (eval "$ac_link") 2>&5
7098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7099 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7100 { (case "(($ac_try" in
7101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7102 *) ac_try_echo=$ac_try;;
7104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7105 (eval "$ac_try") 2>&5
7107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7108 (exit $ac_status); }; }; then
7109 ac_cv_sizeof_signed_long=`cat conftest.val`
7111 echo "$as_me: program exited with status $ac_status" >&5
7112 echo "$as_me: failed program was:" >&5
7113 sed 's/^/| /' conftest.$ac_ext >&5
7116 if test "$ac_cv_type_signed_long" = yes; then
7117 { { echo "$as_me:$LINENO: error: cannot compute sizeof (signed long)
7118 See \`config.log' for more details." >&5
7119 echo "$as_me: error: cannot compute sizeof (signed long)
7120 See \`config.log' for more details." >&2;}
7121 { (exit 77); exit 77; }; }
7123 ac_cv_sizeof_signed_long=0
7126 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7130 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_signed_long" >&5
7131 echo "${ECHO_T}$ac_cv_sizeof_signed_long" >&6; }
7135 cat >>confdefs.h <<_ACEOF
7136 #define SIZEOF_SIGNED_LONG $ac_cv_sizeof_signed_long
7140 { echo "$as_me:$LINENO: checking for unsigned long" >&5
7141 echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6; }
7142 if test "${ac_cv_type_unsigned_long+set}" = set; then
7143 echo $ECHO_N "(cached) $ECHO_C" >&6
7145 cat >conftest.$ac_ext <<_ACEOF
7148 cat confdefs.h >>conftest.$ac_ext
7149 cat >>conftest.$ac_ext <<_ACEOF
7150 /* end confdefs.h. */
7151 $ac_includes_default
7152 typedef unsigned long ac__type_new_;
7156 if ((ac__type_new_ *) 0)
7158 if (sizeof (ac__type_new_))
7164 rm -f conftest.$ac_objext
7165 if { (ac_try="$ac_compile"
7167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7168 *) ac_try_echo=$ac_try;;
7170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7171 (eval "$ac_compile") 2>conftest.er1
7173 grep -v '^ *+' conftest.er1 >conftest.err
7175 cat conftest.err >&5
7176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7177 (exit $ac_status); } && {
7178 test -z "$ac_c_werror_flag" ||
7179 test ! -s conftest.err
7180 } && test -s conftest.$ac_objext; then
7181 ac_cv_type_unsigned_long=yes
7183 echo "$as_me: failed program was:" >&5
7184 sed 's/^/| /' conftest.$ac_ext >&5
7186 ac_cv_type_unsigned_long=no
7189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7191 { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5
7192 echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6; }
7194 # The cast to long int works around a bug in the HP C Compiler
7195 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7196 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7197 # This bug is HP SR number 8606223364.
7198 { echo "$as_me:$LINENO: checking size of unsigned long" >&5
7199 echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6; }
7200 if test "${ac_cv_sizeof_unsigned_long+set}" = set; then
7201 echo $ECHO_N "(cached) $ECHO_C" >&6
7203 if test "$cross_compiling" = yes; then
7204 # Depending upon the size, compute the lo and hi bounds.
7205 cat >conftest.$ac_ext <<_ACEOF
7208 cat confdefs.h >>conftest.$ac_ext
7209 cat >>conftest.$ac_ext <<_ACEOF
7210 /* end confdefs.h. */
7211 $ac_includes_default
7212 typedef unsigned long ac__type_sizeof_;
7216 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
7223 rm -f conftest.$ac_objext
7224 if { (ac_try="$ac_compile"
7226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7227 *) ac_try_echo=$ac_try;;
7229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7230 (eval "$ac_compile") 2>conftest.er1
7232 grep -v '^ *+' conftest.er1 >conftest.err
7234 cat conftest.err >&5
7235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7236 (exit $ac_status); } && {
7237 test -z "$ac_c_werror_flag" ||
7238 test ! -s conftest.err
7239 } && test -s conftest.$ac_objext; then
7242 cat >conftest.$ac_ext <<_ACEOF
7245 cat confdefs.h >>conftest.$ac_ext
7246 cat >>conftest.$ac_ext <<_ACEOF
7247 /* end confdefs.h. */
7248 $ac_includes_default
7249 typedef unsigned long ac__type_sizeof_;
7253 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
7260 rm -f conftest.$ac_objext
7261 if { (ac_try="$ac_compile"
7263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7264 *) ac_try_echo=$ac_try;;
7266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7267 (eval "$ac_compile") 2>conftest.er1
7269 grep -v '^ *+' conftest.er1 >conftest.err
7271 cat conftest.err >&5
7272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7273 (exit $ac_status); } && {
7274 test -z "$ac_c_werror_flag" ||
7275 test ! -s conftest.err
7276 } && test -s conftest.$ac_objext; then
7277 ac_hi=$ac_mid; break
7279 echo "$as_me: failed program was:" >&5
7280 sed 's/^/| /' conftest.$ac_ext >&5
7282 ac_lo=`expr $ac_mid + 1`
7283 if test $ac_lo -le $ac_mid; then
7287 ac_mid=`expr 2 '*' $ac_mid + 1`
7290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7293 echo "$as_me: failed program was:" >&5
7294 sed 's/^/| /' conftest.$ac_ext >&5
7296 cat >conftest.$ac_ext <<_ACEOF
7299 cat confdefs.h >>conftest.$ac_ext
7300 cat >>conftest.$ac_ext <<_ACEOF
7301 /* end confdefs.h. */
7302 $ac_includes_default
7303 typedef unsigned long ac__type_sizeof_;
7307 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
7314 rm -f conftest.$ac_objext
7315 if { (ac_try="$ac_compile"
7317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7318 *) ac_try_echo=$ac_try;;
7320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7321 (eval "$ac_compile") 2>conftest.er1
7323 grep -v '^ *+' conftest.er1 >conftest.err
7325 cat conftest.err >&5
7326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7327 (exit $ac_status); } && {
7328 test -z "$ac_c_werror_flag" ||
7329 test ! -s conftest.err
7330 } && test -s conftest.$ac_objext; then
7333 cat >conftest.$ac_ext <<_ACEOF
7336 cat confdefs.h >>conftest.$ac_ext
7337 cat >>conftest.$ac_ext <<_ACEOF
7338 /* end confdefs.h. */
7339 $ac_includes_default
7340 typedef unsigned long ac__type_sizeof_;
7344 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
7351 rm -f conftest.$ac_objext
7352 if { (ac_try="$ac_compile"
7354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7355 *) ac_try_echo=$ac_try;;
7357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7358 (eval "$ac_compile") 2>conftest.er1
7360 grep -v '^ *+' conftest.er1 >conftest.err
7362 cat conftest.err >&5
7363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7364 (exit $ac_status); } && {
7365 test -z "$ac_c_werror_flag" ||
7366 test ! -s conftest.err
7367 } && test -s conftest.$ac_objext; then
7368 ac_lo=$ac_mid; break
7370 echo "$as_me: failed program was:" >&5
7371 sed 's/^/| /' conftest.$ac_ext >&5
7373 ac_hi=`expr '(' $ac_mid ')' - 1`
7374 if test $ac_mid -le $ac_hi; then
7378 ac_mid=`expr 2 '*' $ac_mid`
7381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7384 echo "$as_me: failed program was:" >&5
7385 sed 's/^/| /' conftest.$ac_ext >&5
7390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7394 # Binary search between lo and hi bounds.
7395 while test "x$ac_lo" != "x$ac_hi"; do
7396 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7397 cat >conftest.$ac_ext <<_ACEOF
7400 cat confdefs.h >>conftest.$ac_ext
7401 cat >>conftest.$ac_ext <<_ACEOF
7402 /* end confdefs.h. */
7403 $ac_includes_default
7404 typedef unsigned long ac__type_sizeof_;
7408 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
7415 rm -f conftest.$ac_objext
7416 if { (ac_try="$ac_compile"
7418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7419 *) ac_try_echo=$ac_try;;
7421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7422 (eval "$ac_compile") 2>conftest.er1
7424 grep -v '^ *+' conftest.er1 >conftest.err
7426 cat conftest.err >&5
7427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7428 (exit $ac_status); } && {
7429 test -z "$ac_c_werror_flag" ||
7430 test ! -s conftest.err
7431 } && test -s conftest.$ac_objext; then
7434 echo "$as_me: failed program was:" >&5
7435 sed 's/^/| /' conftest.$ac_ext >&5
7437 ac_lo=`expr '(' $ac_mid ')' + 1`
7440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7443 ?*) ac_cv_sizeof_unsigned_long=$ac_lo;;
7444 '') if test "$ac_cv_type_unsigned_long" = yes; then
7445 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
7446 See \`config.log' for more details." >&5
7447 echo "$as_me: error: cannot compute sizeof (unsigned long)
7448 See \`config.log' for more details." >&2;}
7449 { (exit 77); exit 77; }; }
7451 ac_cv_sizeof_unsigned_long=0
7455 cat >conftest.$ac_ext <<_ACEOF
7458 cat confdefs.h >>conftest.$ac_ext
7459 cat >>conftest.$ac_ext <<_ACEOF
7460 /* end confdefs.h. */
7461 $ac_includes_default
7462 typedef unsigned long ac__type_sizeof_;
7463 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
7464 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
7471 FILE *f = fopen ("conftest.val", "w");
7474 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
7476 long int i = longval ();
7477 if (i != ((long int) (sizeof (ac__type_sizeof_))))
7479 fprintf (f, "%ld\n", i);
7483 unsigned long int i = ulongval ();
7484 if (i != ((long int) (sizeof (ac__type_sizeof_))))
7486 fprintf (f, "%lu\n", i);
7488 return ferror (f) || fclose (f) != 0;
7494 rm -f conftest$ac_exeext
7495 if { (ac_try="$ac_link"
7497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7498 *) ac_try_echo=$ac_try;;
7500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7501 (eval "$ac_link") 2>&5
7503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7504 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7505 { (case "(($ac_try" in
7506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7507 *) ac_try_echo=$ac_try;;
7509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7510 (eval "$ac_try") 2>&5
7512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7513 (exit $ac_status); }; }; then
7514 ac_cv_sizeof_unsigned_long=`cat conftest.val`
7516 echo "$as_me: program exited with status $ac_status" >&5
7517 echo "$as_me: failed program was:" >&5
7518 sed 's/^/| /' conftest.$ac_ext >&5
7521 if test "$ac_cv_type_unsigned_long" = yes; then
7522 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
7523 See \`config.log' for more details." >&5
7524 echo "$as_me: error: cannot compute sizeof (unsigned long)
7525 See \`config.log' for more details." >&2;}
7526 { (exit 77); exit 77; }; }
7528 ac_cv_sizeof_unsigned_long=0
7531 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7535 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
7536 echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6; }
7540 cat >>confdefs.h <<_ACEOF
7541 #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
7545 { echo "$as_me:$LINENO: checking for signed long long" >&5
7546 echo $ECHO_N "checking for signed long long... $ECHO_C" >&6; }
7547 if test "${ac_cv_type_signed_long_long+set}" = set; then
7548 echo $ECHO_N "(cached) $ECHO_C" >&6
7550 cat >conftest.$ac_ext <<_ACEOF
7553 cat confdefs.h >>conftest.$ac_ext
7554 cat >>conftest.$ac_ext <<_ACEOF
7555 /* end confdefs.h. */
7556 $ac_includes_default
7557 typedef signed long long ac__type_new_;
7561 if ((ac__type_new_ *) 0)
7563 if (sizeof (ac__type_new_))
7569 rm -f conftest.$ac_objext
7570 if { (ac_try="$ac_compile"
7572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7573 *) ac_try_echo=$ac_try;;
7575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7576 (eval "$ac_compile") 2>conftest.er1
7578 grep -v '^ *+' conftest.er1 >conftest.err
7580 cat conftest.err >&5
7581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7582 (exit $ac_status); } && {
7583 test -z "$ac_c_werror_flag" ||
7584 test ! -s conftest.err
7585 } && test -s conftest.$ac_objext; then
7586 ac_cv_type_signed_long_long=yes
7588 echo "$as_me: failed program was:" >&5
7589 sed 's/^/| /' conftest.$ac_ext >&5
7591 ac_cv_type_signed_long_long=no
7594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7596 { echo "$as_me:$LINENO: result: $ac_cv_type_signed_long_long" >&5
7597 echo "${ECHO_T}$ac_cv_type_signed_long_long" >&6; }
7599 # The cast to long int works around a bug in the HP C Compiler
7600 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7601 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7602 # This bug is HP SR number 8606223364.
7603 { echo "$as_me:$LINENO: checking size of signed long long" >&5
7604 echo $ECHO_N "checking size of signed long long... $ECHO_C" >&6; }
7605 if test "${ac_cv_sizeof_signed_long_long+set}" = set; then
7606 echo $ECHO_N "(cached) $ECHO_C" >&6
7608 if test "$cross_compiling" = yes; then
7609 # Depending upon the size, compute the lo and hi bounds.
7610 cat >conftest.$ac_ext <<_ACEOF
7613 cat confdefs.h >>conftest.$ac_ext
7614 cat >>conftest.$ac_ext <<_ACEOF
7615 /* end confdefs.h. */
7616 $ac_includes_default
7617 typedef signed long long ac__type_sizeof_;
7621 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
7628 rm -f conftest.$ac_objext
7629 if { (ac_try="$ac_compile"
7631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7632 *) ac_try_echo=$ac_try;;
7634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7635 (eval "$ac_compile") 2>conftest.er1
7637 grep -v '^ *+' conftest.er1 >conftest.err
7639 cat conftest.err >&5
7640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7641 (exit $ac_status); } && {
7642 test -z "$ac_c_werror_flag" ||
7643 test ! -s conftest.err
7644 } && test -s conftest.$ac_objext; then
7647 cat >conftest.$ac_ext <<_ACEOF
7650 cat confdefs.h >>conftest.$ac_ext
7651 cat >>conftest.$ac_ext <<_ACEOF
7652 /* end confdefs.h. */
7653 $ac_includes_default
7654 typedef signed long long ac__type_sizeof_;
7658 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
7665 rm -f conftest.$ac_objext
7666 if { (ac_try="$ac_compile"
7668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7669 *) ac_try_echo=$ac_try;;
7671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7672 (eval "$ac_compile") 2>conftest.er1
7674 grep -v '^ *+' conftest.er1 >conftest.err
7676 cat conftest.err >&5
7677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7678 (exit $ac_status); } && {
7679 test -z "$ac_c_werror_flag" ||
7680 test ! -s conftest.err
7681 } && test -s conftest.$ac_objext; then
7682 ac_hi=$ac_mid; break
7684 echo "$as_me: failed program was:" >&5
7685 sed 's/^/| /' conftest.$ac_ext >&5
7687 ac_lo=`expr $ac_mid + 1`
7688 if test $ac_lo -le $ac_mid; then
7692 ac_mid=`expr 2 '*' $ac_mid + 1`
7695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7698 echo "$as_me: failed program was:" >&5
7699 sed 's/^/| /' conftest.$ac_ext >&5
7701 cat >conftest.$ac_ext <<_ACEOF
7704 cat confdefs.h >>conftest.$ac_ext
7705 cat >>conftest.$ac_ext <<_ACEOF
7706 /* end confdefs.h. */
7707 $ac_includes_default
7708 typedef signed long long ac__type_sizeof_;
7712 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
7719 rm -f conftest.$ac_objext
7720 if { (ac_try="$ac_compile"
7722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7723 *) ac_try_echo=$ac_try;;
7725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7726 (eval "$ac_compile") 2>conftest.er1
7728 grep -v '^ *+' conftest.er1 >conftest.err
7730 cat conftest.err >&5
7731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7732 (exit $ac_status); } && {
7733 test -z "$ac_c_werror_flag" ||
7734 test ! -s conftest.err
7735 } && test -s conftest.$ac_objext; then
7738 cat >conftest.$ac_ext <<_ACEOF
7741 cat confdefs.h >>conftest.$ac_ext
7742 cat >>conftest.$ac_ext <<_ACEOF
7743 /* end confdefs.h. */
7744 $ac_includes_default
7745 typedef signed long long ac__type_sizeof_;
7749 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
7756 rm -f conftest.$ac_objext
7757 if { (ac_try="$ac_compile"
7759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7760 *) ac_try_echo=$ac_try;;
7762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7763 (eval "$ac_compile") 2>conftest.er1
7765 grep -v '^ *+' conftest.er1 >conftest.err
7767 cat conftest.err >&5
7768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7769 (exit $ac_status); } && {
7770 test -z "$ac_c_werror_flag" ||
7771 test ! -s conftest.err
7772 } && test -s conftest.$ac_objext; then
7773 ac_lo=$ac_mid; break
7775 echo "$as_me: failed program was:" >&5
7776 sed 's/^/| /' conftest.$ac_ext >&5
7778 ac_hi=`expr '(' $ac_mid ')' - 1`
7779 if test $ac_mid -le $ac_hi; then
7783 ac_mid=`expr 2 '*' $ac_mid`
7786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7789 echo "$as_me: failed program was:" >&5
7790 sed 's/^/| /' conftest.$ac_ext >&5
7795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7799 # Binary search between lo and hi bounds.
7800 while test "x$ac_lo" != "x$ac_hi"; do
7801 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7802 cat >conftest.$ac_ext <<_ACEOF
7805 cat confdefs.h >>conftest.$ac_ext
7806 cat >>conftest.$ac_ext <<_ACEOF
7807 /* end confdefs.h. */
7808 $ac_includes_default
7809 typedef signed long long ac__type_sizeof_;
7813 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
7820 rm -f conftest.$ac_objext
7821 if { (ac_try="$ac_compile"
7823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7824 *) ac_try_echo=$ac_try;;
7826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7827 (eval "$ac_compile") 2>conftest.er1
7829 grep -v '^ *+' conftest.er1 >conftest.err
7831 cat conftest.err >&5
7832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7833 (exit $ac_status); } && {
7834 test -z "$ac_c_werror_flag" ||
7835 test ! -s conftest.err
7836 } && test -s conftest.$ac_objext; then
7839 echo "$as_me: failed program was:" >&5
7840 sed 's/^/| /' conftest.$ac_ext >&5
7842 ac_lo=`expr '(' $ac_mid ')' + 1`
7845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7848 ?*) ac_cv_sizeof_signed_long_long=$ac_lo;;
7849 '') if test "$ac_cv_type_signed_long_long" = yes; then
7850 { { echo "$as_me:$LINENO: error: cannot compute sizeof (signed long long)
7851 See \`config.log' for more details." >&5
7852 echo "$as_me: error: cannot compute sizeof (signed long long)
7853 See \`config.log' for more details." >&2;}
7854 { (exit 77); exit 77; }; }
7856 ac_cv_sizeof_signed_long_long=0
7860 cat >conftest.$ac_ext <<_ACEOF
7863 cat confdefs.h >>conftest.$ac_ext
7864 cat >>conftest.$ac_ext <<_ACEOF
7865 /* end confdefs.h. */
7866 $ac_includes_default
7867 typedef signed long long ac__type_sizeof_;
7868 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
7869 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
7876 FILE *f = fopen ("conftest.val", "w");
7879 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
7881 long int i = longval ();
7882 if (i != ((long int) (sizeof (ac__type_sizeof_))))
7884 fprintf (f, "%ld\n", i);
7888 unsigned long int i = ulongval ();
7889 if (i != ((long int) (sizeof (ac__type_sizeof_))))
7891 fprintf (f, "%lu\n", i);
7893 return ferror (f) || fclose (f) != 0;
7899 rm -f conftest$ac_exeext
7900 if { (ac_try="$ac_link"
7902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7903 *) ac_try_echo=$ac_try;;
7905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7906 (eval "$ac_link") 2>&5
7908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7909 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7910 { (case "(($ac_try" in
7911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7912 *) ac_try_echo=$ac_try;;
7914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7915 (eval "$ac_try") 2>&5
7917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7918 (exit $ac_status); }; }; then
7919 ac_cv_sizeof_signed_long_long=`cat conftest.val`
7921 echo "$as_me: program exited with status $ac_status" >&5
7922 echo "$as_me: failed program was:" >&5
7923 sed 's/^/| /' conftest.$ac_ext >&5
7926 if test "$ac_cv_type_signed_long_long" = yes; then
7927 { { echo "$as_me:$LINENO: error: cannot compute sizeof (signed long long)
7928 See \`config.log' for more details." >&5
7929 echo "$as_me: error: cannot compute sizeof (signed long long)
7930 See \`config.log' for more details." >&2;}
7931 { (exit 77); exit 77; }; }
7933 ac_cv_sizeof_signed_long_long=0
7936 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7940 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_signed_long_long" >&5
7941 echo "${ECHO_T}$ac_cv_sizeof_signed_long_long" >&6; }
7945 cat >>confdefs.h <<_ACEOF
7946 #define SIZEOF_SIGNED_LONG_LONG $ac_cv_sizeof_signed_long_long
7950 { echo "$as_me:$LINENO: checking for unsigned long long" >&5
7951 echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6; }
7952 if test "${ac_cv_type_unsigned_long_long+set}" = set; then
7953 echo $ECHO_N "(cached) $ECHO_C" >&6
7955 cat >conftest.$ac_ext <<_ACEOF
7958 cat confdefs.h >>conftest.$ac_ext
7959 cat >>conftest.$ac_ext <<_ACEOF
7960 /* end confdefs.h. */
7961 $ac_includes_default
7962 typedef unsigned long long ac__type_new_;
7966 if ((ac__type_new_ *) 0)
7968 if (sizeof (ac__type_new_))
7974 rm -f conftest.$ac_objext
7975 if { (ac_try="$ac_compile"
7977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7978 *) ac_try_echo=$ac_try;;
7980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7981 (eval "$ac_compile") 2>conftest.er1
7983 grep -v '^ *+' conftest.er1 >conftest.err
7985 cat conftest.err >&5
7986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7987 (exit $ac_status); } && {
7988 test -z "$ac_c_werror_flag" ||
7989 test ! -s conftest.err
7990 } && test -s conftest.$ac_objext; then
7991 ac_cv_type_unsigned_long_long=yes
7993 echo "$as_me: failed program was:" >&5
7994 sed 's/^/| /' conftest.$ac_ext >&5
7996 ac_cv_type_unsigned_long_long=no
7999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8001 { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
8002 echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6; }
8004 # The cast to long int works around a bug in the HP C Compiler
8005 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8006 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8007 # This bug is HP SR number 8606223364.
8008 { echo "$as_me:$LINENO: checking size of unsigned long long" >&5
8009 echo $ECHO_N "checking size of unsigned long long... $ECHO_C" >&6; }
8010 if test "${ac_cv_sizeof_unsigned_long_long+set}" = set; then
8011 echo $ECHO_N "(cached) $ECHO_C" >&6
8013 if test "$cross_compiling" = yes; then
8014 # Depending upon the size, compute the lo and hi bounds.
8015 cat >conftest.$ac_ext <<_ACEOF
8018 cat confdefs.h >>conftest.$ac_ext
8019 cat >>conftest.$ac_ext <<_ACEOF
8020 /* end confdefs.h. */
8021 $ac_includes_default
8022 typedef unsigned long long ac__type_sizeof_;
8026 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
8033 rm -f conftest.$ac_objext
8034 if { (ac_try="$ac_compile"
8036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8037 *) ac_try_echo=$ac_try;;
8039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8040 (eval "$ac_compile") 2>conftest.er1
8042 grep -v '^ *+' conftest.er1 >conftest.err
8044 cat conftest.err >&5
8045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8046 (exit $ac_status); } && {
8047 test -z "$ac_c_werror_flag" ||
8048 test ! -s conftest.err
8049 } && test -s conftest.$ac_objext; then
8052 cat >conftest.$ac_ext <<_ACEOF
8055 cat confdefs.h >>conftest.$ac_ext
8056 cat >>conftest.$ac_ext <<_ACEOF
8057 /* end confdefs.h. */
8058 $ac_includes_default
8059 typedef unsigned long long ac__type_sizeof_;
8063 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
8070 rm -f conftest.$ac_objext
8071 if { (ac_try="$ac_compile"
8073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8074 *) ac_try_echo=$ac_try;;
8076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8077 (eval "$ac_compile") 2>conftest.er1
8079 grep -v '^ *+' conftest.er1 >conftest.err
8081 cat conftest.err >&5
8082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8083 (exit $ac_status); } && {
8084 test -z "$ac_c_werror_flag" ||
8085 test ! -s conftest.err
8086 } && test -s conftest.$ac_objext; then
8087 ac_hi=$ac_mid; break
8089 echo "$as_me: failed program was:" >&5
8090 sed 's/^/| /' conftest.$ac_ext >&5
8092 ac_lo=`expr $ac_mid + 1`
8093 if test $ac_lo -le $ac_mid; then
8097 ac_mid=`expr 2 '*' $ac_mid + 1`
8100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8103 echo "$as_me: failed program was:" >&5
8104 sed 's/^/| /' conftest.$ac_ext >&5
8106 cat >conftest.$ac_ext <<_ACEOF
8109 cat confdefs.h >>conftest.$ac_ext
8110 cat >>conftest.$ac_ext <<_ACEOF
8111 /* end confdefs.h. */
8112 $ac_includes_default
8113 typedef unsigned long long ac__type_sizeof_;
8117 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
8124 rm -f conftest.$ac_objext
8125 if { (ac_try="$ac_compile"
8127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8128 *) ac_try_echo=$ac_try;;
8130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8131 (eval "$ac_compile") 2>conftest.er1
8133 grep -v '^ *+' conftest.er1 >conftest.err
8135 cat conftest.err >&5
8136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8137 (exit $ac_status); } && {
8138 test -z "$ac_c_werror_flag" ||
8139 test ! -s conftest.err
8140 } && test -s conftest.$ac_objext; then
8143 cat >conftest.$ac_ext <<_ACEOF
8146 cat confdefs.h >>conftest.$ac_ext
8147 cat >>conftest.$ac_ext <<_ACEOF
8148 /* end confdefs.h. */
8149 $ac_includes_default
8150 typedef unsigned long long ac__type_sizeof_;
8154 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
8161 rm -f conftest.$ac_objext
8162 if { (ac_try="$ac_compile"
8164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8165 *) ac_try_echo=$ac_try;;
8167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8168 (eval "$ac_compile") 2>conftest.er1
8170 grep -v '^ *+' conftest.er1 >conftest.err
8172 cat conftest.err >&5
8173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8174 (exit $ac_status); } && {
8175 test -z "$ac_c_werror_flag" ||
8176 test ! -s conftest.err
8177 } && test -s conftest.$ac_objext; then
8178 ac_lo=$ac_mid; break
8180 echo "$as_me: failed program was:" >&5
8181 sed 's/^/| /' conftest.$ac_ext >&5
8183 ac_hi=`expr '(' $ac_mid ')' - 1`
8184 if test $ac_mid -le $ac_hi; then
8188 ac_mid=`expr 2 '*' $ac_mid`
8191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8194 echo "$as_me: failed program was:" >&5
8195 sed 's/^/| /' conftest.$ac_ext >&5
8200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8204 # Binary search between lo and hi bounds.
8205 while test "x$ac_lo" != "x$ac_hi"; do
8206 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8207 cat >conftest.$ac_ext <<_ACEOF
8210 cat confdefs.h >>conftest.$ac_ext
8211 cat >>conftest.$ac_ext <<_ACEOF
8212 /* end confdefs.h. */
8213 $ac_includes_default
8214 typedef unsigned long long ac__type_sizeof_;
8218 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
8225 rm -f conftest.$ac_objext
8226 if { (ac_try="$ac_compile"
8228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8229 *) ac_try_echo=$ac_try;;
8231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8232 (eval "$ac_compile") 2>conftest.er1
8234 grep -v '^ *+' conftest.er1 >conftest.err
8236 cat conftest.err >&5
8237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8238 (exit $ac_status); } && {
8239 test -z "$ac_c_werror_flag" ||
8240 test ! -s conftest.err
8241 } && test -s conftest.$ac_objext; then
8244 echo "$as_me: failed program was:" >&5
8245 sed 's/^/| /' conftest.$ac_ext >&5
8247 ac_lo=`expr '(' $ac_mid ')' + 1`
8250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8253 ?*) ac_cv_sizeof_unsigned_long_long=$ac_lo;;
8254 '') if test "$ac_cv_type_unsigned_long_long" = yes; then
8255 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long long)
8256 See \`config.log' for more details." >&5
8257 echo "$as_me: error: cannot compute sizeof (unsigned long long)
8258 See \`config.log' for more details." >&2;}
8259 { (exit 77); exit 77; }; }
8261 ac_cv_sizeof_unsigned_long_long=0
8265 cat >conftest.$ac_ext <<_ACEOF
8268 cat confdefs.h >>conftest.$ac_ext
8269 cat >>conftest.$ac_ext <<_ACEOF
8270 /* end confdefs.h. */
8271 $ac_includes_default
8272 typedef unsigned long long ac__type_sizeof_;
8273 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
8274 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
8281 FILE *f = fopen ("conftest.val", "w");
8284 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
8286 long int i = longval ();
8287 if (i != ((long int) (sizeof (ac__type_sizeof_))))
8289 fprintf (f, "%ld\n", i);
8293 unsigned long int i = ulongval ();
8294 if (i != ((long int) (sizeof (ac__type_sizeof_))))
8296 fprintf (f, "%lu\n", i);
8298 return ferror (f) || fclose (f) != 0;
8304 rm -f conftest$ac_exeext
8305 if { (ac_try="$ac_link"
8307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8308 *) ac_try_echo=$ac_try;;
8310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8311 (eval "$ac_link") 2>&5
8313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8314 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8315 { (case "(($ac_try" in
8316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8317 *) ac_try_echo=$ac_try;;
8319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8320 (eval "$ac_try") 2>&5
8322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8323 (exit $ac_status); }; }; then
8324 ac_cv_sizeof_unsigned_long_long=`cat conftest.val`
8326 echo "$as_me: program exited with status $ac_status" >&5
8327 echo "$as_me: failed program was:" >&5
8328 sed 's/^/| /' conftest.$ac_ext >&5
8331 if test "$ac_cv_type_unsigned_long_long" = yes; then
8332 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long long)
8333 See \`config.log' for more details." >&5
8334 echo "$as_me: error: cannot compute sizeof (unsigned long long)
8335 See \`config.log' for more details." >&2;}
8336 { (exit 77); exit 77; }; }
8338 ac_cv_sizeof_unsigned_long_long=0
8341 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8345 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long_long" >&5
8346 echo "${ECHO_T}$ac_cv_sizeof_unsigned_long_long" >&6; }
8350 cat >>confdefs.h <<_ACEOF
8351 #define SIZEOF_UNSIGNED_LONG_LONG $ac_cv_sizeof_unsigned_long_long
8358 # Extract the first word of "freetype-config", so it can be a program name with args.
8359 set dummy freetype-config; ac_word=$2
8360 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8362 if test "${ac_cv_path_FREETYPE_CONFIG+set}" = set; then
8363 echo $ECHO_N "(cached) $ECHO_C" >&6
8365 case $FREETYPE_CONFIG in
8367 ac_cv_path_FREETYPE_CONFIG="$FREETYPE_CONFIG" # Let the user override the test with a path.
8370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8371 as_dummy=""$PATH:/usr/local/bin:/sw/bin:/opt/local/bin""
8372 for as_dir in $as_dummy
8375 test -z "$as_dir" && as_dir=.
8376 for ac_exec_ext in '' $ac_executable_extensions; do
8377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8378 ac_cv_path_FREETYPE_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8379 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8389 FREETYPE_CONFIG=$ac_cv_path_FREETYPE_CONFIG
8390 if test -n "$FREETYPE_CONFIG"; then
8391 { echo "$as_me:$LINENO: result: $FREETYPE_CONFIG" >&5
8392 echo "${ECHO_T}$FREETYPE_CONFIG" >&6; }
8394 { echo "$as_me:$LINENO: result: no" >&5
8395 echo "${ECHO_T}no" >&6; }
8400 OLDCPPFLAGS="${CPPFLAGS}"
8402 if test "x${FREETYPE_CONFIG}" '!=' "x"; then
8403 CPPFLAGS="$CPPFLAGS "`$FREETYPE_CONFIG --cflags`
8404 else if test -d /usr/include/freetype2; then
8405 CPPFLAGS="$CPPFLAGS -I/usr/include/freetype2"
8406 else if test -d /usr/local/include/freetype2; then
8407 CPPFLAGS="$CPPFLAGS -I/usr/local/include/freetype2"
8412 if test "x${FREETYPE_CONFIG}" '=' "x";then
8413 # if we didn't find the freetype-config program, we won't
8414 # know where the libs are expected to be. So just blindly
8415 # try to link against them.
8416 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
8417 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
8418 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
8419 echo $ECHO_N "(cached) $ECHO_C" >&6
8421 ac_check_lib_save_LIBS=$LIBS
8422 LIBS="-lfreetype $LIBS"
8423 cat >conftest.$ac_ext <<_ACEOF
8426 cat confdefs.h >>conftest.$ac_ext
8427 cat >>conftest.$ac_ext <<_ACEOF
8428 /* end confdefs.h. */
8430 /* Override any GCC internal prototype to avoid an error.
8431 Use char because int might match the return type of a GCC
8432 builtin and then its argument prototype would still apply. */
8436 char FT_Init_FreeType ();
8440 return FT_Init_FreeType ();
8445 rm -f conftest.$ac_objext conftest$ac_exeext
8446 if { (ac_try="$ac_link"
8448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8449 *) ac_try_echo=$ac_try;;
8451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8452 (eval "$ac_link") 2>conftest.er1
8454 grep -v '^ *+' conftest.er1 >conftest.err
8456 cat conftest.err >&5
8457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8458 (exit $ac_status); } && {
8459 test -z "$ac_c_werror_flag" ||
8460 test ! -s conftest.err
8461 } && test -s conftest$ac_exeext &&
8462 $as_test_x conftest$ac_exeext; then
8463 ac_cv_lib_freetype_FT_Init_FreeType=yes
8465 echo "$as_me: failed program was:" >&5
8466 sed 's/^/| /' conftest.$ac_ext >&5
8468 ac_cv_lib_freetype_FT_Init_FreeType=no
8471 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8472 conftest$ac_exeext conftest.$ac_ext
8473 LIBS=$ac_check_lib_save_LIBS
8475 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
8476 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
8477 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
8484 for ac_header in ft2build.h
8486 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8487 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8488 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8489 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8490 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8491 echo $ECHO_N "(cached) $ECHO_C" >&6
8493 ac_res=`eval echo '${'$as_ac_Header'}'`
8494 { echo "$as_me:$LINENO: result: $ac_res" >&5
8495 echo "${ECHO_T}$ac_res" >&6; }
8497 # Is the header compilable?
8498 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8499 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8500 cat >conftest.$ac_ext <<_ACEOF
8503 cat confdefs.h >>conftest.$ac_ext
8504 cat >>conftest.$ac_ext <<_ACEOF
8505 /* end confdefs.h. */
8506 $ac_includes_default
8507 #include <$ac_header>
8509 rm -f conftest.$ac_objext
8510 if { (ac_try="$ac_compile"
8512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8513 *) ac_try_echo=$ac_try;;
8515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8516 (eval "$ac_compile") 2>conftest.er1
8518 grep -v '^ *+' conftest.er1 >conftest.err
8520 cat conftest.err >&5
8521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8522 (exit $ac_status); } && {
8523 test -z "$ac_c_werror_flag" ||
8524 test ! -s conftest.err
8525 } && test -s conftest.$ac_objext; then
8526 ac_header_compiler=yes
8528 echo "$as_me: failed program was:" >&5
8529 sed 's/^/| /' conftest.$ac_ext >&5
8531 ac_header_compiler=no
8534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8535 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8536 echo "${ECHO_T}$ac_header_compiler" >&6; }
8538 # Is the header present?
8539 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8540 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8541 cat >conftest.$ac_ext <<_ACEOF
8544 cat confdefs.h >>conftest.$ac_ext
8545 cat >>conftest.$ac_ext <<_ACEOF
8546 /* end confdefs.h. */
8547 #include <$ac_header>
8549 if { (ac_try="$ac_cpp conftest.$ac_ext"
8551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8552 *) ac_try_echo=$ac_try;;
8554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8555 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8557 grep -v '^ *+' conftest.er1 >conftest.err
8559 cat conftest.err >&5
8560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8561 (exit $ac_status); } >/dev/null && {
8562 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8563 test ! -s conftest.err
8565 ac_header_preproc=yes
8567 echo "$as_me: failed program was:" >&5
8568 sed 's/^/| /' conftest.$ac_ext >&5
8570 ac_header_preproc=no
8573 rm -f conftest.err conftest.$ac_ext
8574 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8575 echo "${ECHO_T}$ac_header_preproc" >&6; }
8577 # So? What about this header?
8578 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8580 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8581 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8582 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8583 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8584 ac_header_preproc=yes
8587 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8588 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8589 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8590 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8591 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8592 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8593 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8594 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8595 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8596 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8597 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8598 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8602 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8603 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8604 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8605 echo $ECHO_N "(cached) $ECHO_C" >&6
8607 eval "$as_ac_Header=\$ac_header_preproc"
8609 ac_res=`eval echo '${'$as_ac_Header'}'`
8610 { echo "$as_me:$LINENO: result: $ac_res" >&5
8611 echo "${ECHO_T}$ac_res" >&6; }
8614 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8615 cat >>confdefs.h <<_ACEOF
8616 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8623 if test "x${HAVE_FT2BUILD_H}" '=' "x";then
8625 for ac_header in freetype/freetype.h
8627 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8628 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8629 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8630 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8631 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8632 echo $ECHO_N "(cached) $ECHO_C" >&6
8634 ac_res=`eval echo '${'$as_ac_Header'}'`
8635 { echo "$as_me:$LINENO: result: $ac_res" >&5
8636 echo "${ECHO_T}$ac_res" >&6; }
8638 # Is the header compilable?
8639 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8640 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8641 cat >conftest.$ac_ext <<_ACEOF
8644 cat confdefs.h >>conftest.$ac_ext
8645 cat >>conftest.$ac_ext <<_ACEOF
8646 /* end confdefs.h. */
8647 $ac_includes_default
8648 #include <$ac_header>
8650 rm -f conftest.$ac_objext
8651 if { (ac_try="$ac_compile"
8653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8654 *) ac_try_echo=$ac_try;;
8656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8657 (eval "$ac_compile") 2>conftest.er1
8659 grep -v '^ *+' conftest.er1 >conftest.err
8661 cat conftest.err >&5
8662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8663 (exit $ac_status); } && {
8664 test -z "$ac_c_werror_flag" ||
8665 test ! -s conftest.err
8666 } && test -s conftest.$ac_objext; then
8667 ac_header_compiler=yes
8669 echo "$as_me: failed program was:" >&5
8670 sed 's/^/| /' conftest.$ac_ext >&5
8672 ac_header_compiler=no
8675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8676 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8677 echo "${ECHO_T}$ac_header_compiler" >&6; }
8679 # Is the header present?
8680 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8681 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8682 cat >conftest.$ac_ext <<_ACEOF
8685 cat confdefs.h >>conftest.$ac_ext
8686 cat >>conftest.$ac_ext <<_ACEOF
8687 /* end confdefs.h. */
8688 #include <$ac_header>
8690 if { (ac_try="$ac_cpp conftest.$ac_ext"
8692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8693 *) ac_try_echo=$ac_try;;
8695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8696 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8698 grep -v '^ *+' conftest.er1 >conftest.err
8700 cat conftest.err >&5
8701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8702 (exit $ac_status); } >/dev/null && {
8703 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8704 test ! -s conftest.err
8706 ac_header_preproc=yes
8708 echo "$as_me: failed program was:" >&5
8709 sed 's/^/| /' conftest.$ac_ext >&5
8711 ac_header_preproc=no
8714 rm -f conftest.err conftest.$ac_ext
8715 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8716 echo "${ECHO_T}$ac_header_preproc" >&6; }
8718 # So? What about this header?
8719 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8721 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8722 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8723 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8724 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8725 ac_header_preproc=yes
8728 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8729 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8730 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8731 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8732 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8733 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8734 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8735 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8736 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8737 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8738 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8739 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8743 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8744 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8745 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8746 echo $ECHO_N "(cached) $ECHO_C" >&6
8748 eval "$as_ac_Header=\$ac_header_preproc"
8750 ac_res=`eval echo '${'$as_ac_Header'}'`
8751 { echo "$as_me:$LINENO: result: $ac_res" >&5
8752 echo "${ECHO_T}$ac_res" >&6; }
8755 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8756 cat >>confdefs.h <<_ACEOF
8757 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8759 HAVE_FREETYPE_FREETYPE_H=1
8766 if test "x${HAVE_LIB_FREETYPE}" '!=' "x" -o \
8767 "x${FREETYPE_CONFIG}" '!=' "x";then
8768 if test "x${HAVE_FREETYPE_FREETYPE_H}" '!=' "x";then
8771 if test "x${HAVE_FT2BUILD_H}" '!=' "x";then
8776 if test "x${HAVE_FREETYPE}" = "x1"; then
8777 if test "x${FREETYPE_CONFIG}" '!=' "x"; then
8778 LIBS="$LIBS "`$FREETYPE_CONFIG --libs`
8780 LIBS="$LIBS -lfreetype"
8783 if test "x${HAVE_FT2BUILD_H}" = "x1"; then
8784 HAVE_FT2BUILD_H_DEFINE='#define HAVE_FT2BUILD_H'
8787 { echo "$as_me:$LINENO: checking whether we can compile the freetype test program" >&5
8788 echo $ECHO_N "checking whether we can compile the freetype test program... $ECHO_C" >&6; }
8790 cat > conftest.c << EOF
8791 $HAVE_FT2BUILD_H_DEFINE
8793 #ifdef HAVE_FT2BUILD_H
8794 #include <ft2build.h>
8795 #include FT_FREETYPE_H
8798 #include FT_SFNT_NAMES_H
8799 #include FT_TRUETYPE_IDS_H
8800 #include FT_OUTLINE_H
8802 #include <freetype/freetype.h>
8803 #include <freetype/ftglyph.h>
8804 #include <freetype/ftsizes.h>
8805 #include <freetype/ftsnames.h>
8806 #include <freetype/ttnameid.h>
8807 #include <freetype/ftoutln.h>
8812 FT_Library ftlibrary;
8824 FT_Init_FreeType(&ftlibrary);
8825 FT_New_Face(ftlibrary, "filename", 0, &face);
8826 i = face->num_glyphs - 1;
8827 italic = face->style_flags&FT_STYLE_FLAG_ITALIC;
8828 bold = face->style_flags&FT_STYLE_FLAG_BOLD;
8829 FT_Get_Postscript_Name(face);
8830 FT_Get_Char_Index(face, 33);
8831 FT_Get_First_Char(face, &i);
8832 FT_Get_Next_Char(face, 33, &i);
8833 if(FT_HAS_GLYPH_NAMES(face)) {
8834 FT_Get_Glyph_Name(face, 33, name, 127);
8836 FT_Load_Glyph(face, 33, FT_LOAD_NO_BITMAP|FT_LOAD_NO_SCALE);
8837 FT_Get_Glyph(face->glyph, &glyph);
8838 FT_Glyph_Get_CBox(glyph, ft_glyph_bbox_unscaled, &bbox);
8839 FT_Done_Glyph(glyph);
8841 FT_Done_FreeType(ftlibrary);
8846 ac_link='$CC $CPPFLAGS $CFLAGS conftest.c $LDFLAGS $LIBS -o conftest${ac_exeext}'
8847 if { (eval echo freetype.m4:71: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8848 { echo "$as_me:$LINENO: result: yes" >&5
8849 echo "${ECHO_T}yes" >&6; }
8850 cat >>confdefs.h <<_ACEOF
8851 #define HAVE_FREETYPE 1
8854 cat >>confdefs.h <<_ACEOF
8855 #define HAVE_FREETYPE_FREETYPE_H 1
8858 cat >>confdefs.h <<_ACEOF
8859 #define USE_FREETYPE 1
8863 echo "configure: failed program was:" >&5
8866 { echo "$as_me:$LINENO: result: no" >&5
8867 echo "${ECHO_T}no" >&6; }
8872 # if the above didn't work out, reset all changes to the compiler variables.
8873 if test "x${HAVE_FREETYPE}" '!=' "x1"; then
8874 CPPFLAGS=$OLDCPPFLAGS
8880 OLDCPPFLAGS="${CPPFLAGS}"
8883 if test -d /usr/include/fontconfig; then
8884 CPPFLAGS="$CPPFLAGS -I/usr/include/fontconfig"
8887 { echo "$as_me:$LINENO: checking for FcInit in -lfontconfig" >&5
8888 echo $ECHO_N "checking for FcInit in -lfontconfig... $ECHO_C" >&6; }
8889 if test "${ac_cv_lib_fontconfig_FcInit+set}" = set; then
8890 echo $ECHO_N "(cached) $ECHO_C" >&6
8892 ac_check_lib_save_LIBS=$LIBS
8893 LIBS="-lfontconfig $LIBS"
8894 cat >conftest.$ac_ext <<_ACEOF
8897 cat confdefs.h >>conftest.$ac_ext
8898 cat >>conftest.$ac_ext <<_ACEOF
8899 /* end confdefs.h. */
8901 /* Override any GCC internal prototype to avoid an error.
8902 Use char because int might match the return type of a GCC
8903 builtin and then its argument prototype would still apply. */
8916 rm -f conftest.$ac_objext conftest$ac_exeext
8917 if { (ac_try="$ac_link"
8919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8920 *) ac_try_echo=$ac_try;;
8922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8923 (eval "$ac_link") 2>conftest.er1
8925 grep -v '^ *+' conftest.er1 >conftest.err
8927 cat conftest.err >&5
8928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8929 (exit $ac_status); } && {
8930 test -z "$ac_c_werror_flag" ||
8931 test ! -s conftest.err
8932 } && test -s conftest$ac_exeext &&
8933 $as_test_x conftest$ac_exeext; then
8934 ac_cv_lib_fontconfig_FcInit=yes
8936 echo "$as_me: failed program was:" >&5
8937 sed 's/^/| /' conftest.$ac_ext >&5
8939 ac_cv_lib_fontconfig_FcInit=no
8942 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8943 conftest$ac_exeext conftest.$ac_ext
8944 LIBS=$ac_check_lib_save_LIBS
8946 { echo "$as_me:$LINENO: result: $ac_cv_lib_fontconfig_FcInit" >&5
8947 echo "${ECHO_T}$ac_cv_lib_fontconfig_FcInit" >&6; }
8948 if test $ac_cv_lib_fontconfig_FcInit = yes; then
8949 HAVE_LIB_FONTCONFIG=1
8953 for ac_header in fontconfig.h
8955 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8956 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8957 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8958 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8959 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8960 echo $ECHO_N "(cached) $ECHO_C" >&6
8962 ac_res=`eval echo '${'$as_ac_Header'}'`
8963 { echo "$as_me:$LINENO: result: $ac_res" >&5
8964 echo "${ECHO_T}$ac_res" >&6; }
8966 # Is the header compilable?
8967 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8968 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8969 cat >conftest.$ac_ext <<_ACEOF
8972 cat confdefs.h >>conftest.$ac_ext
8973 cat >>conftest.$ac_ext <<_ACEOF
8974 /* end confdefs.h. */
8975 $ac_includes_default
8976 #include <$ac_header>
8978 rm -f conftest.$ac_objext
8979 if { (ac_try="$ac_compile"
8981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8982 *) ac_try_echo=$ac_try;;
8984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8985 (eval "$ac_compile") 2>conftest.er1
8987 grep -v '^ *+' conftest.er1 >conftest.err
8989 cat conftest.err >&5
8990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8991 (exit $ac_status); } && {
8992 test -z "$ac_c_werror_flag" ||
8993 test ! -s conftest.err
8994 } && test -s conftest.$ac_objext; then
8995 ac_header_compiler=yes
8997 echo "$as_me: failed program was:" >&5
8998 sed 's/^/| /' conftest.$ac_ext >&5
9000 ac_header_compiler=no
9003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9004 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9005 echo "${ECHO_T}$ac_header_compiler" >&6; }
9007 # Is the header present?
9008 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9009 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9010 cat >conftest.$ac_ext <<_ACEOF
9013 cat confdefs.h >>conftest.$ac_ext
9014 cat >>conftest.$ac_ext <<_ACEOF
9015 /* end confdefs.h. */
9016 #include <$ac_header>
9018 if { (ac_try="$ac_cpp conftest.$ac_ext"
9020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9021 *) ac_try_echo=$ac_try;;
9023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9024 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9026 grep -v '^ *+' conftest.er1 >conftest.err
9028 cat conftest.err >&5
9029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9030 (exit $ac_status); } >/dev/null && {
9031 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9032 test ! -s conftest.err
9034 ac_header_preproc=yes
9036 echo "$as_me: failed program was:" >&5
9037 sed 's/^/| /' conftest.$ac_ext >&5
9039 ac_header_preproc=no
9042 rm -f conftest.err conftest.$ac_ext
9043 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9044 echo "${ECHO_T}$ac_header_preproc" >&6; }
9046 # So? What about this header?
9047 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9049 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9050 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9051 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9052 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9053 ac_header_preproc=yes
9056 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9057 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9058 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9059 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9060 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9061 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9062 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9063 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9064 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9065 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9066 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9067 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9071 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9072 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9073 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9074 echo $ECHO_N "(cached) $ECHO_C" >&6
9076 eval "$as_ac_Header=\$ac_header_preproc"
9078 ac_res=`eval echo '${'$as_ac_Header'}'`
9079 { echo "$as_me:$LINENO: result: $ac_res" >&5
9080 echo "${ECHO_T}$ac_res" >&6; }
9083 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9084 cat >>confdefs.h <<_ACEOF
9085 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9093 if test "x${HAVE_LIB_FONTCONFIG}" != "x";then
9094 if test "x${HAVE_FONTCONFIG_H}" != "x";then
9099 if test "x${HAVE_FONTCONFIG}" = "x1"; then
9100 LIBS="$LIBS -lfontconfig"
9101 { echo "$as_me:$LINENO: checking whether we can compile the fontconfig test program" >&5
9102 echo $ECHO_N "checking whether we can compile the fontconfig test program... $ECHO_C" >&6; }
9104 if (echo $LIBS | grep lfreetype >/dev/null 2>&1); then
9105 #move freetype library to the end of libraries, otherwise fontconfig
9107 LIBS=`echo $LIBS | sed -e 's/-lfreetype//g' -e 's/$/ -lfreetype/'`
9110 cat > conftest.c << EOF
9112 #include <fontconfig.h>
9116 FcPattern *pattern, *match;
9119 char*s1="abc",*s2="ABC";
9122 pattern = FcPatternBuild(0, FC_FAMILY, FcTypeString, "", 0);
9123 FcPatternAddInteger(pattern, FC_SLANT, FC_SLANT_ITALIC);
9124 FcPatternAddInteger(pattern, FC_WEIGHT, FC_WEIGHT_BOLD);
9125 FcConfigSubstitute(0, pattern, FcMatchPattern);
9126 FcDefaultSubstitute(pattern);
9127 match = FcFontMatch(0, pattern, &result);
9128 FcPatternGetString(match, "family", 0, &v) == FcResultMatch;
9129 FcPatternPrint(pattern);
9130 FcPatternDestroy(pattern);
9131 FcPatternDestroy(match);
9136 ac_link='$CC $CPPFLAGS $CFLAGS conftest.c $LDFLAGS $LIBS -o conftest${ac_exeext}'
9137 if { (eval echo freetype.m4:71: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9138 { echo "$as_me:$LINENO: result: yes" >&5
9139 echo "${ECHO_T}yes" >&6; }
9140 cat >>confdefs.h <<_ACEOF
9141 #define HAVE_FONTCONFIG 1
9145 echo "configure: failed program was:" >&5
9148 { echo "$as_me:$LINENO: result: no" >&5
9149 echo "${ECHO_T}no" >&6; }
9154 # if the above didn't work out, reset all changes to the compiler variables.
9155 if test "x${HAVE_FREETYPE}" "!=" "x1"; then
9156 CPPFLAGS=$OLDCPPFLAGS
9163 if test "x${DISABLE_LAME}" = "xtrue"; then
9164 echo "*" Disabling lame support...
9166 # old lame code at lib/lame
9167 if test -f lib/lame/Makefile.in; then
9168 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)"
9169 lame_makefile="lib/lame/Makefile"
9170 CPPFLAGS="$CPPFLAGS -Ilame"
9171 cat >>confdefs.h <<_ACEOF
9176 if test -d /usr/include/lame; then
9177 CPPFLAGS="$CPPFLAGS -I /usr/include/lame"
9179 if test -d /usr/local/include/lame; then
9180 CPPFLAGS="$CPPFLAGS -I /usr/local/include/lame"
9184 { echo "$as_me:$LINENO: checking for lame_init in -lmp3lame" >&5
9185 echo $ECHO_N "checking for lame_init in -lmp3lame... $ECHO_C" >&6; }
9186 if test "${ac_cv_lib_mp3lame_lame_init+set}" = set; then
9187 echo $ECHO_N "(cached) $ECHO_C" >&6
9189 ac_check_lib_save_LIBS=$LIBS
9190 LIBS="-lmp3lame $LIBS"
9191 cat >conftest.$ac_ext <<_ACEOF
9194 cat confdefs.h >>conftest.$ac_ext
9195 cat >>conftest.$ac_ext <<_ACEOF
9196 /* end confdefs.h. */
9198 /* Override any GCC internal prototype to avoid an error.
9199 Use char because int might match the return type of a GCC
9200 builtin and then its argument prototype would still apply. */
9208 return lame_init ();
9213 rm -f conftest.$ac_objext conftest$ac_exeext
9214 if { (ac_try="$ac_link"
9216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9217 *) ac_try_echo=$ac_try;;
9219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9220 (eval "$ac_link") 2>conftest.er1
9222 grep -v '^ *+' conftest.er1 >conftest.err
9224 cat conftest.err >&5
9225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9226 (exit $ac_status); } && {
9227 test -z "$ac_c_werror_flag" ||
9228 test ! -s conftest.err
9229 } && test -s conftest$ac_exeext &&
9230 $as_test_x conftest$ac_exeext; then
9231 ac_cv_lib_mp3lame_lame_init=yes
9233 echo "$as_me: failed program was:" >&5
9234 sed 's/^/| /' conftest.$ac_ext >&5
9236 ac_cv_lib_mp3lame_lame_init=no
9239 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9240 conftest$ac_exeext conftest.$ac_ext
9241 LIBS=$ac_check_lib_save_LIBS
9243 { echo "$as_me:$LINENO: result: $ac_cv_lib_mp3lame_lame_init" >&5
9244 echo "${ECHO_T}$ac_cv_lib_mp3lame_lame_init" >&6; }
9245 if test $ac_cv_lib_mp3lame_lame_init = yes; then
9246 cat >>confdefs.h <<_ACEOF
9247 #define HAVE_LIBMP3LAME 1
9250 LIBS="-lmp3lame $LIBS"
9257 for ac_header in lame.h
9259 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9260 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9261 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9262 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9263 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9264 echo $ECHO_N "(cached) $ECHO_C" >&6
9266 ac_res=`eval echo '${'$as_ac_Header'}'`
9267 { echo "$as_me:$LINENO: result: $ac_res" >&5
9268 echo "${ECHO_T}$ac_res" >&6; }
9270 # Is the header compilable?
9271 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9272 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9273 cat >conftest.$ac_ext <<_ACEOF
9276 cat confdefs.h >>conftest.$ac_ext
9277 cat >>conftest.$ac_ext <<_ACEOF
9278 /* end confdefs.h. */
9279 $ac_includes_default
9280 #include <$ac_header>
9282 rm -f conftest.$ac_objext
9283 if { (ac_try="$ac_compile"
9285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9286 *) ac_try_echo=$ac_try;;
9288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9289 (eval "$ac_compile") 2>conftest.er1
9291 grep -v '^ *+' conftest.er1 >conftest.err
9293 cat conftest.err >&5
9294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9295 (exit $ac_status); } && {
9296 test -z "$ac_c_werror_flag" ||
9297 test ! -s conftest.err
9298 } && test -s conftest.$ac_objext; then
9299 ac_header_compiler=yes
9301 echo "$as_me: failed program was:" >&5
9302 sed 's/^/| /' conftest.$ac_ext >&5
9304 ac_header_compiler=no
9307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9308 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9309 echo "${ECHO_T}$ac_header_compiler" >&6; }
9311 # Is the header present?
9312 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9313 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9314 cat >conftest.$ac_ext <<_ACEOF
9317 cat confdefs.h >>conftest.$ac_ext
9318 cat >>conftest.$ac_ext <<_ACEOF
9319 /* end confdefs.h. */
9320 #include <$ac_header>
9322 if { (ac_try="$ac_cpp conftest.$ac_ext"
9324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9325 *) ac_try_echo=$ac_try;;
9327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9328 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9330 grep -v '^ *+' conftest.er1 >conftest.err
9332 cat conftest.err >&5
9333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9334 (exit $ac_status); } >/dev/null && {
9335 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9336 test ! -s conftest.err
9338 ac_header_preproc=yes
9340 echo "$as_me: failed program was:" >&5
9341 sed 's/^/| /' conftest.$ac_ext >&5
9343 ac_header_preproc=no
9346 rm -f conftest.err conftest.$ac_ext
9347 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9348 echo "${ECHO_T}$ac_header_preproc" >&6; }
9350 # So? What about this header?
9351 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9353 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9354 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9355 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9356 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9357 ac_header_preproc=yes
9360 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9361 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9362 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9363 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9364 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9365 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9366 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9367 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9368 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9369 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9370 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9371 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9375 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9376 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9377 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9378 echo $ECHO_N "(cached) $ECHO_C" >&6
9380 eval "$as_ac_Header=\$ac_header_preproc"
9382 ac_res=`eval echo '${'$as_ac_Header'}'`
9383 { echo "$as_me:$LINENO: result: $ac_res" >&5
9384 echo "${ECHO_T}$ac_res" >&6; }
9387 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9388 cat >>confdefs.h <<_ACEOF
9389 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9396 if test "x$NO_LIBMP3LAME" "!=" "x1" -a "x$ac_cv_header_lame_h" "!=" "x";then
9397 cat >>confdefs.h <<_ACEOF
9406 # ------------------------------------------------------------------
9410 for ac_prog in avifile-config
9412 # Extract the first word of "$ac_prog", so it can be a program name with args.
9413 set dummy $ac_prog; ac_word=$2
9414 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9415 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9416 if test "${ac_cv_prog_AVIFILE_CONFIG+set}" = set; then
9417 echo $ECHO_N "(cached) $ECHO_C" >&6
9419 if test -n "$AVIFILE_CONFIG"; then
9420 ac_cv_prog_AVIFILE_CONFIG="$AVIFILE_CONFIG" # Let the user override the test.
9422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9426 test -z "$as_dir" && as_dir=.
9427 for ac_exec_ext in '' $ac_executable_extensions; do
9428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9429 ac_cv_prog_AVIFILE_CONFIG="$ac_prog"
9430 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9439 AVIFILE_CONFIG=$ac_cv_prog_AVIFILE_CONFIG
9440 if test -n "$AVIFILE_CONFIG"; then
9441 { echo "$as_me:$LINENO: result: $AVIFILE_CONFIG" >&5
9442 echo "${ECHO_T}$AVIFILE_CONFIG" >&6; }
9444 { echo "$as_me:$LINENO: result: no" >&5
9445 echo "${ECHO_T}no" >&6; }
9449 test -n "$AVIFILE_CONFIG" && break
9453 if test "x$AVIFILE_CONFIG" '!=' "x";then
9454 OLDCPPFLAGS="$CPPFLAGS"
9455 # temporarily add avifile paths to CPPFLAGS...
9456 CPPFLAGS="$CPPFLAGS $CXXFLAGS "`$AVIFILE_CONFIG --cflags`
9459 for ac_header in avifile/version.h version.h
9461 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9462 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9463 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9464 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9465 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9466 echo $ECHO_N "(cached) $ECHO_C" >&6
9468 ac_res=`eval echo '${'$as_ac_Header'}'`
9469 { echo "$as_me:$LINENO: result: $ac_res" >&5
9470 echo "${ECHO_T}$ac_res" >&6; }
9472 # Is the header compilable?
9473 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9474 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9475 cat >conftest.$ac_ext <<_ACEOF
9478 cat confdefs.h >>conftest.$ac_ext
9479 cat >>conftest.$ac_ext <<_ACEOF
9480 /* end confdefs.h. */
9481 $ac_includes_default
9482 #include <$ac_header>
9484 rm -f conftest.$ac_objext
9485 if { (ac_try="$ac_compile"
9487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9488 *) ac_try_echo=$ac_try;;
9490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9491 (eval "$ac_compile") 2>conftest.er1
9493 grep -v '^ *+' conftest.er1 >conftest.err
9495 cat conftest.err >&5
9496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9497 (exit $ac_status); } && {
9498 test -z "$ac_c_werror_flag" ||
9499 test ! -s conftest.err
9500 } && test -s conftest.$ac_objext; then
9501 ac_header_compiler=yes
9503 echo "$as_me: failed program was:" >&5
9504 sed 's/^/| /' conftest.$ac_ext >&5
9506 ac_header_compiler=no
9509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9510 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9511 echo "${ECHO_T}$ac_header_compiler" >&6; }
9513 # Is the header present?
9514 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9515 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9516 cat >conftest.$ac_ext <<_ACEOF
9519 cat confdefs.h >>conftest.$ac_ext
9520 cat >>conftest.$ac_ext <<_ACEOF
9521 /* end confdefs.h. */
9522 #include <$ac_header>
9524 if { (ac_try="$ac_cpp conftest.$ac_ext"
9526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9527 *) ac_try_echo=$ac_try;;
9529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9530 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9532 grep -v '^ *+' conftest.er1 >conftest.err
9534 cat conftest.err >&5
9535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9536 (exit $ac_status); } >/dev/null && {
9537 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9538 test ! -s conftest.err
9540 ac_header_preproc=yes
9542 echo "$as_me: failed program was:" >&5
9543 sed 's/^/| /' conftest.$ac_ext >&5
9545 ac_header_preproc=no
9548 rm -f conftest.err conftest.$ac_ext
9549 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9550 echo "${ECHO_T}$ac_header_preproc" >&6; }
9552 # So? What about this header?
9553 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9555 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9556 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9557 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9558 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9559 ac_header_preproc=yes
9562 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9563 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9564 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9565 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9566 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9567 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9568 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9569 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9570 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9571 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9572 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9573 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9577 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9578 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9579 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9580 echo $ECHO_N "(cached) $ECHO_C" >&6
9582 eval "$as_ac_Header=\$ac_header_preproc"
9584 ac_res=`eval echo '${'$as_ac_Header'}'`
9585 { echo "$as_me:$LINENO: result: $ac_res" >&5
9586 echo "${ECHO_T}$ac_res" >&6; }
9589 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9590 cat >>confdefs.h <<_ACEOF
9591 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9599 CPPFLAGS="$OLDCPPFLAGS"
9602 { echo "$as_me:$LINENO: checking whether we can compile the avifile test program" >&5
9603 echo $ECHO_N "checking whether we can compile the avifile test program... $ECHO_C" >&6; }
9605 if test "x${ac_cv_header_version_h}" '=' "xyes";then
9606 HAVE_VERSION_H_DEFINE='#define HAVE_VERSION_H'
9608 if test "x${ac_cv_header_avifile_version_h}" '=' "xyes";then
9609 HAVE_AVIFILE_VERSION_H_DEFINE='#define HAVE_AVIFILE_VERSION_H'
9612 cat > conftest.cpp << EOF
9614 // hack- we can't yet access the variables in config.h (because it hasn't been generated yet),
9615 // so we have to introduce them this way
9616 $HAVE_VERSION_H_DEFINE
9617 $HAVE_AVIFILE_VERSION_H_DEFINE
9619 #ifdef HAVE_VERSION_H
9620 #include <version.h>
9622 #ifdef HAVE_AVIFILE_VERSION_H
9623 #include <avifile/version.h>
9626 #if (AVIFILE_MAJOR_VERSION == 0) && (AVIFILE_MINOR_VERSION>=6)
9627 #include <avifile.h>
9628 #include <aviplay.h>
9629 #include <avm_fourcc.h>
9630 #include <avm_creators.h>
9631 #include <StreamInfo.h>
9634 #include <avifile.h>
9635 #include <aviplay.h>
9636 #include <aviutil.h>
9638 #define Height height
9645 IAviReadFile* player;
9646 IAviReadStream* astream;
9647 IAviReadStream* vstream;
9648 player = CreateIAviReadFile(0);
9649 astream = player->GetStream(0, AviStream::Audio);
9650 vstream = player->GetStream(0, AviStream::Video);
9651 vstream -> StartStreaming();
9652 astream -> StartStreaming();
9655 player->GetFileHeader(&head);
9656 head.dwMicroSecPerFrame;
9661 head.dwMicroSecPerFrame;
9662 astream->GetEndPos(),
9663 astream->GetEndTime());
9664 player->StreamCount();
9666 StreamInfo*audioinfo;
9667 StreamInfo*videoinfo;
9668 audioinfo = astream->GetStreamInfo();
9669 videoinfo = vstream->GetStreamInfo();
9670 videoinfo->GetVideoWidth();
9671 videoinfo->GetVideoHeight();
9672 audioinfo->GetAudioSamplesPerSec();
9673 videoinfo->GetFps();
9675 CImage*img = vstream->GetFrame();
9682 astream->GetAudioFormatInfo(&wave,0);
9684 astream->ReadFrames(0,0,0,a,b);
9686 int main (int argc, char*argv)
9692 if test "x$AVIFILE_CONFIG" '!=' "x";then
9693 AVIFILE_LIBS=`$AVIFILE_CONFIG --libs`
9694 AVIFILE_CFLAGS=`$AVIFILE_CONFIG --cflags`
9695 avifile_link='$CXX $CPPFLAGS $CXXFLAGS $AVIFILE_CFLAGS conftest.cpp $AVIFILE_LIBS -o conftest${ac_exeext}'
9696 if { (eval echo avi2swf.m4:71: \"$avifile_link\") 1>&5; (eval $avifile_link) 2>&5; } && test -s conftest${ac_exeext} && ./conftest${ac_exeext}; then
9697 { echo "$as_me:$LINENO: result: yes" >&5
9698 echo "${ECHO_T}yes" >&6; }
9701 cat >>confdefs.h <<_ACEOF
9702 #define AVIFILE true
9706 echo "configure: failed program was:" >&5
9707 cat conftest.cpp >&5
9708 { echo "$as_me:$LINENO: result: no" >&5
9709 echo "${ECHO_T}no" >&6; }
9712 { echo "$as_me:$LINENO: result: no" >&5
9713 echo "${ECHO_T}no" >&6; }
9717 if test "x${AVIFILE}" = "xtrue"; then
9718 VIDEO_LIBS="$VIDEO_LIBS $AVIFILE_LIBS"
9719 VIDEO_CFLAGS="$VIDEO_CFLAGS $AVIFILE_CFLAGS"
9720 cat >>confdefs.h <<_ACEOF
9721 #define HAVE_AVIFILE 1
9726 if test "x${WIN32}" != "x"; then
9727 #AC_CHECK_LIB(avifil32, AVIFileInit,AVIFIL32=true)
9728 #if test "x${AVIFIL32}" != "x"; then
9729 # VIDEO_LIBS="$VIDEO_LIBS -lavifil32"
9731 VIDEO_LIBS="$VIDEO_LIBS -lavifil32"
9737 # ------------------------------------------------------------------
9739 if test "x${UNCOMPRESS}" = "xgzip"; then
9740 cat >>confdefs.h <<_ACEOF
9747 # ------------------------------------------------------------------
9750 { echo "$as_me:$LINENO: checking for Python.h" >&5
9751 echo $ECHO_N "checking for Python.h... $ECHO_C" >&6; }
9753 if test "x$PYTHON_LIB" '!=' "x" -a "x$PYTHON_INCLUDES" '!=' "x";then
9756 if test "x$PYTHON_LIB" '!=' "x" -o "x$PYTHON_INCLUDES" '!=' "x";then
9757 echo "Set both PYTHON_LIB and PYTHON_INCLUDES, or none at all"
9759 # iterate through version 2.2 to 2.5
9760 for v in 2 3 4 5; do
9762 if test -f "/usr/include/python2.$v/Python.h";then
9764 PYTHON_LIB="-lpython$PY_VERSION"
9765 if test -f "/usr/lib/python2.$v/site-packages/PIL/_imaging.so";then
9766 PYTHON_LIB2="$PYTHON_LIB /usr/lib/python2.$v/site-packages/PIL/_imaging.so"
9767 HAVE_PYTHON_IMAGING_LIB=1
9769 PYTHON_LIB2="$PYTHON_LIB"
9771 PYTHON_INCLUDES="-I/usr/include/python$PY_VERSION"
9773 elif test -f "/System/Library/Frameworks/Python.framework/Versions/2.$v/include/python2.$v/Python.h";then
9774 #TODO: test for /System/Library/Frameworks/Python.framework/Versions/2.3/Python ?
9776 PYTHON_LIB="-framework Python"
9777 if test -f "/Library/Python/2.$v/PIL/_imaging.so";then
9778 PYTHON_LIB2="$PYTHON_LIB /Library/Python/2.$v/PIL/_imaging.so"
9779 HAVE_PYTHON_IMAGING_LIB=1
9781 PYTHON_LIB2="$PYTHON_LIB"
9783 PYTHON_INCLUDES="-I/System/Library/Frameworks/Python.framework/Versions/2.$v/include/python2.$v/"
9785 elif test "(" -f "/sw/lib/python2.$v/config/libpython2.$v.dylib" \
9786 -o -f "/sw/lib/python2.$v/config/libpython2.$v.a" \
9787 -o -f "/sw/lib/python2.$v/config/libpython2.$v.so" \
9789 -a -f "/sw/include/python2.$v/Python.h"; then
9791 PYTHON_LIB="-L /sw/lib/python2.$v/config/ -lpython$PY_VERSION /sw/lib/python2.$v/site-packages/PIL/_imaging.so"
9792 if test -f "/sw/lib/python2.$v/site-packages/PIL/_imaging.so";then
9793 PYTHON_LIB2="$PYTHON_LIB /sw/lib/python2.$v/site-packages/PIL/_imaging.so"
9794 HAVE_PYTHON_IMAGING_LIB=1
9796 PYTHON_LIB2="$PYTHON_LIB"
9798 PYTHON_INCLUDES="-I /sw/include/python2.$v/"
9803 if test "x$PY_VERSION" "!=" "x"; then
9804 { echo "$as_me:$LINENO: result: $PY_VERSION" >&5
9805 echo "${ECHO_T}$PY_VERSION" >&6; }
9806 export PYTHON_INCLUDES PYTHON_LIB
9809 { echo "$as_me:$LINENO: checking whether we can compile the python test program" >&5
9810 echo $ECHO_N "checking whether we can compile the python test program... $ECHO_C" >&6; }
9812 cat > conftest.c << EOF
9818 ret = Py_Main(0, 0);
9819 int x; // check also for gcc 2.95.x incompatibilities
9824 ac_link='$CC $CPPFLAGS $CFLAGS $PYTHON_INCLUDES conftest.c $LDFLAGS $PYTHON_LIB $LIBS -o conftest${ac_exeext}'
9825 if { (eval echo python.m4: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9826 { echo "$as_me:$LINENO: result: yes" >&5
9827 echo "${ECHO_T}yes" >&6; }
9830 echo "configure: failed program was:" >&5
9832 { echo "$as_me:$LINENO: result: no" >&5
9833 echo "${ECHO_T}no" >&6; }
9836 if test "x$PYTHON_OK" = "xyes";then
9837 { echo "$as_me:$LINENO: checking for Python-Imaging" >&5
9838 echo $ECHO_N "checking for Python-Imaging... $ECHO_C" >&6; }
9839 cat > conftest.c << EOF
9841 #include <Imaging.h>
9849 if test "$HAVE_PYTHON_IMAGING_LIB"; then
9850 ac_link='$CC $CPPFLAGS $CFLAGS $PYTHON_INCLUDES conftest.c $LDFLAGS ${PYTHON_LIB2} $LIBS -o conftest${ac_exeext}'
9851 if { (eval echo python.m4: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9852 PYTHON_LIB="${PYTHON_LIB2}"
9853 cat >>confdefs.h <<_ACEOF
9854 #define HAVE_PYTHON_IMAGING 1
9857 HAVE_PYTHON_IMAGING=yes
9858 export HAVE_PYTHON_IMAGING
9860 { echo "$as_me:$LINENO: result: yes" >&5
9861 echo "${ECHO_T}yes" >&6; }
9863 echo "configure: failed program was:" >&5
9865 { echo "$as_me:$LINENO: result: no" >&5
9866 echo "${ECHO_T}no" >&6; }
9869 echo "(didn't find the Python-Imaging libraries)" >&5
9870 { echo "$as_me:$LINENO: result: no" >&5
9871 echo "${ECHO_T}no" >&6; }
9876 { echo "$as_me:$LINENO: result: nope" >&5
9877 echo "${ECHO_T}nope" >&6; }
9881 if test "x$PYTHON_OK" '!=' "xyes";then
9882 echo all install uninstall clean: > lib/python/Makefile
9883 # fail silently- the most users won't have any need for the
9884 # python interface anyway
9886 pythonrfxswf="lib/python/Makefile"
9889 # ------------------------------------------------------------------
9891 { echo "$as_me:$LINENO: checking for missing libraries" >&5
9892 echo $ECHO_N "checking for missing libraries... $ECHO_C" >&6; }
9894 if test "x$ZLIBMISSING" = "xtrue";then
9895 MISSINGLIBS="${MISSINGLIBS} zlib"
9899 if test "x$JPEGLIBMISSING" = "xtrue";then
9900 MISSINGLIBS="${MISSINGLIBS} jpeglib"
9902 DISABLEJPEG2SWF=true
9905 #if test "x$T1LIBMISSING" = "xtrue";then
9906 # MISSINGLIBS="${MISSINGLIBS} t1lib"
9908 if test "x$UNGIFMISSING" = "xtrue";then
9910 MISSINGLIBS="${MISSINGLIBS} ungif"
9914 if test "x${ac_cv_header_jpeglib_h}" '!=' "xyes"; then
9915 DISABLEPDF2SWF=true;
9916 DISABLEJPEG2SWF=true;
9917 MISSINGLIBS="${MISSINGLIBS} jpeglib.h"
9920 if test "x$HAVE_FREETYPE" '!=' "x1"; then
9921 DISABLEPDF2SWF=true;
9922 MISSINGLIBS="${MISSINGLIBS} freetype"
9925 #if test "x${ac_cv_header_t1lib_h}" '!=' "xyes"; then
9926 # MISSINGLIBS="${MISSINGLIBS} t1lib.h"
9928 if test "x${ac_cv_header_gif_lib_h}" '!=' "xyes"; then
9930 MISSINGLIBS="${MISSINGLIBS} gif_lib.h"
9933 if test "x${ac_cv_header_zlib_h}" '!=' "xyes"; then
9934 DISABLEPNG2SWF=true;
9935 MISSINGLIBS="${MISSINGLIBS} zlib.h"
9938 #if test "x${AVIFILE}" '!=' "xtrue" -a "x${AVIFIL32}" '!=' "xtrue"; then
9939 # MISSINGLIBS="${MISSINGLIBS} avifile"
9942 { echo "$as_me:$LINENO: result: ${MISSINGLIBS}" >&5
9943 echo "${ECHO_T}${MISSINGLIBS}" >&6; }
9945 # ------------------------------------------------------------------
9947 if test "x${MISSINGLIBS}" '!=' "x"; then
9948 echo "***************************************************"
9949 echo "* The following headers/libraries are missing: " ${MISSINGLIBS}
9952 avi2swf="avi2swf/Makefile"
9953 if test "x${AVIFILE}" '!=' "xtrue" -a "x${AVIFIL32}" '!=' "xtrue"; then
9954 #don't whine, avi2swf is outdated anyway
9955 #echo "* Disabling avi2swf tool..."
9956 echo all install uninstall clean: > avi2swf/Makefile
9960 pdf2swf_makefile="lib/pdf/Makefile"
9961 PDF2SWF='pdf2swf$(E)'
9964 if test "x${DISABLEPDF2SWF}" = "xtrue"; then
9965 echo "* Disabling pdf2swf tool..."
9966 rm -f lib/pdf/Makefile
9967 echo all install uninstall clean: > lib/pdf/Makefile
9975 if test "x${ZLIBMISSING}" = "xtrue"; then
9977 echo "* Warning! Without zlib, you will not be able to read"
9978 echo "* or write compressed Flash MX files!"
9981 JPEG2SWF='jpeg2swf$(E)'
9982 if test "x${DISABLEJPEG2SWF}" = "xtrue"; then
9983 echo "* Disabling jpeg2swf tool..."
9989 GIF2SWF='gif2swf$(E)'
9990 if test "x${DISABLEGIF2SWF}" = "xtrue"; then
9991 echo "* Disabling gif2swf tool..."
9997 PNG2SWF='png2swf$(E)'
9998 if test "x${DISABLEPNG2SWF}" = "xtrue"; then
9999 echo "* Disabling png2swf tool..."
10005 if test "x${MISSINGLIBS}" '!=' "x"; then
10006 if test "x${PARTIAL}" '=' "x"; then
10007 echo "* (never mind)"
10009 echo "***************************************************"
10012 # ------------------------------------------------------------------
10014 if test -f "release.in"; then release_in="./release"; fi
10015 if test -f "wx/Makefile.in"; then wx_in="wx/Makefile"; fi
10016 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/readers/Makefile"
10017 ac_config_files="$ac_config_files ${FILES}"
10019 cat >confcache <<\_ACEOF
10020 # This file is a shell script that caches the results of configure
10021 # tests run on this system so they can be shared between configure
10022 # scripts and configure runs, see configure's option --config-cache.
10023 # It is not useful on other systems. If it contains results you don't
10024 # want to keep, you may remove or edit it.
10026 # config.status only pays attention to the cache file if you give it
10027 # the --recheck option to rerun configure.
10029 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10030 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10031 # following values.
10035 # The following way of writing the cache mishandles newlines in values,
10036 # but we know of no workaround that is simple, portable, and efficient.
10037 # So, we kill variables containing newlines.
10038 # Ultrix sh set writes to stderr and can't be redirected directly,
10039 # and sets the high bit in the cache file unless we assign to the vars.
10041 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
10042 eval ac_val=\$$ac_var
10046 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
10047 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
10050 _ | IFS | as_nl) ;; #(
10051 *) $as_unset $ac_var ;;
10057 case $as_nl`(ac_space=' '; set) 2>&1` in #(
10058 *${as_nl}ac_space=\ *)
10059 # `set' does not quote correctly, so add quotes (double-quote
10060 # substitution turns \\\\ into \\, and sed turns \\ into \).
10063 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10066 # `set' quotes correctly as required by POSIX, so do not add quotes.
10067 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
10076 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10078 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10080 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
10081 if test -w "$cache_file"; then
10082 test "x$cache_file" != "x/dev/null" &&
10083 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
10084 echo "$as_me: updating cache $cache_file" >&6;}
10085 cat confcache >$cache_file
10087 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
10088 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
10093 test "x$prefix" = xNONE && prefix=$ac_default_prefix
10094 # Let make expand exec_prefix.
10095 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
10097 DEFS=-DHAVE_CONFIG_H
10101 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
10102 # 1. Remove the extension, and $U if already installed.
10103 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
10104 ac_i=`echo "$ac_i" | sed "$ac_script"`
10105 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
10106 # will be set to the directory where LIBOBJS objects are built.
10107 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
10108 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
10110 LIBOBJS=$ac_libobjs
10112 LTLIBOBJS=$ac_ltlibobjs
10116 : ${CONFIG_STATUS=./config.status}
10117 ac_clean_files_save=$ac_clean_files
10118 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
10119 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
10120 echo "$as_me: creating $CONFIG_STATUS" >&6;}
10121 cat >$CONFIG_STATUS <<_ACEOF
10123 # Generated by $as_me.
10124 # Run this file to recreate the current configuration.
10125 # Compiler output produced by configure, useful for debugging
10126 # configure, is in config.log if it exists.
10129 ac_cs_recheck=false
10131 SHELL=\${CONFIG_SHELL-$SHELL}
10134 cat >>$CONFIG_STATUS <<\_ACEOF
10135 ## --------------------- ##
10136 ## M4sh Initialization. ##
10137 ## --------------------- ##
10139 # Be more Bourne compatible
10140 DUALCASE=1; export DUALCASE # for MKS sh
10141 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
10144 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
10145 # is contrary to our usage. Disable this feature.
10146 alias -g '${1+"$@"}'='"$@"'
10147 setopt NO_GLOB_SUBST
10149 case `(set -o) 2>/dev/null` in
10150 *posix*) set -o posix ;;
10159 # Avoid depending upon Character Ranges.
10160 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
10161 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10162 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
10163 as_cr_digits='0123456789'
10164 as_cr_alnum=$as_cr_Letters$as_cr_digits
10166 # The user is always right.
10167 if test "${PATH_SEPARATOR+set}" != set; then
10168 echo "#! /bin/sh" >conf$$.sh
10169 echo "exit 0" >>conf$$.sh
10171 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
10179 # Support unset when possible.
10180 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
10188 # We need space, tab and new line, in precisely that order. Quoting is
10189 # there to prevent editors from complaining about space-tab.
10190 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
10191 # splitting by setting IFS to empty value.)
10196 # Find who we are. Look in the path if we contain no directory separator.
10198 *[\\/]* ) as_myself=$0 ;;
10199 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10200 for as_dir in $PATH
10203 test -z "$as_dir" && as_dir=.
10204 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
10210 # We did not find ourselves, most probably we were run as `sh COMMAND'
10211 # in which case we are not to be found in the path.
10212 if test "x$as_myself" = x; then
10215 if test ! -f "$as_myself"; then
10216 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
10217 { (exit 1); exit 1; }
10220 # Work around bugs in pre-3.0 UWIN ksh.
10221 for as_var in ENV MAIL MAILPATH
10222 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
10230 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
10231 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
10232 LC_TELEPHONE LC_TIME
10234 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
10235 eval $as_var=C; export $as_var
10237 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
10241 # Required to use basename.
10242 if expr a : '\(a\)' >/dev/null 2>&1 &&
10243 test "X`expr 00001 : '.*\(...\)'`" = X001; then
10249 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
10250 as_basename=basename
10256 # Name of the executable.
10257 as_me=`$as_basename -- "$0" ||
10258 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10259 X"$0" : 'X\(//\)$' \| \
10260 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
10262 sed '/^.*\/\([^/][^/]*\)\/*$/{
10281 as_lineno_1=$LINENO
10282 as_lineno_2=$LINENO
10283 test "x$as_lineno_1" != "x$as_lineno_2" &&
10284 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
10286 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
10287 # uniformly replaced by the line number. The first 'sed' inserts a
10288 # line-number line after each line using $LINENO; the second 'sed'
10289 # does the real work. The second script uses 'N' to pair each
10290 # line-number line with the line containing $LINENO, and appends
10291 # trailing '-' during substitution so that $LINENO is not a special
10292 # case at line end.
10293 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
10294 # scripts with optimization help from Paolo Bonzini. Blame Lee
10295 # E. McMahon (1931-1989) for sed's syntax. :-)
10307 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
10310 ' >$as_me.lineno &&
10311 chmod +x "$as_me.lineno" ||
10312 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
10313 { (exit 1); exit 1; }; }
10315 # Don't try to exec as it changes $[0], causing all sort of problems
10316 # (the dirname of $[0] is not the place where we might find the
10317 # original and so on. Autoconf is especially sensitive to this).
10318 . "./$as_me.lineno"
10319 # Exit status is that of the last command.
10324 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
10330 ECHO_C= ECHO_N= ECHO_T=
10331 case `echo -n x` in
10333 case `echo 'x\c'` in
10334 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
10341 if expr a : '\(a\)' >/dev/null 2>&1 &&
10342 test "X`expr 00001 : '.*\(...\)'`" = X001; then
10348 rm -f conf$$ conf$$.exe conf$$.file
10349 if test -d conf$$.dir; then
10350 rm -f conf$$.dir/conf$$.file
10356 if ln -s conf$$.file conf$$ 2>/dev/null; then
10358 # ... but there are two gotchas:
10359 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
10360 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
10361 # In both cases, we have to default to `cp -p'.
10362 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
10364 elif ln conf$$.file conf$$ 2>/dev/null; then
10369 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
10370 rmdir conf$$.dir 2>/dev/null
10372 if mkdir -p . 2>/dev/null; then
10375 test -d ./-p && rmdir ./-p
10379 if test -x / >/dev/null 2>&1; then
10380 as_test_x='test -x'
10382 if ls -dL / >/dev/null 2>&1; then
10389 if test -d "$1"; then
10395 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
10396 ???[sx]*):;;*)false;;esac;fi
10400 as_executable_p=$as_test_x
10402 # Sed expression to map a string onto a valid CPP name.
10403 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10405 # Sed expression to map a string onto a valid variable name.
10406 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10411 # Save the log message, to keep $[0] and so on meaningful, and to
10412 # report actual input values of CONFIG_FILES etc. instead of their
10413 # values after options handling.
10415 This file was extended by $as_me, which was
10416 generated by GNU Autoconf 2.61. Invocation command line was
10418 CONFIG_FILES = $CONFIG_FILES
10419 CONFIG_HEADERS = $CONFIG_HEADERS
10420 CONFIG_LINKS = $CONFIG_LINKS
10421 CONFIG_COMMANDS = $CONFIG_COMMANDS
10424 on `(hostname || uname -n) 2>/dev/null | sed 1q`
10429 cat >>$CONFIG_STATUS <<_ACEOF
10430 # Files that config.status was made for.
10431 config_files="$ac_config_files"
10432 config_headers="$ac_config_headers"
10436 cat >>$CONFIG_STATUS <<\_ACEOF
10438 \`$as_me' instantiates files from templates according to the
10439 current configuration.
10441 Usage: $0 [OPTIONS] [FILE]...
10443 -h, --help print this help, then exit
10444 -V, --version print version number and configuration settings, then exit
10445 -q, --quiet do not print progress messages
10446 -d, --debug don't remove temporary files
10447 --recheck update $as_me by reconfiguring in the same conditions
10448 --file=FILE[:TEMPLATE]
10449 instantiate the configuration file FILE
10450 --header=FILE[:TEMPLATE]
10451 instantiate the configuration header FILE
10453 Configuration files:
10456 Configuration headers:
10459 Report bugs to <bug-autoconf@gnu.org>."
10462 cat >>$CONFIG_STATUS <<_ACEOF
10465 configured by $0, generated by GNU Autoconf 2.61,
10466 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
10468 Copyright (C) 2006 Free Software Foundation, Inc.
10469 This config.status script is free software; the Free Software Foundation
10470 gives unlimited permission to copy, distribute and modify it."
10477 cat >>$CONFIG_STATUS <<\_ACEOF
10478 # If no file are specified by the user, then we need to provide default
10479 # value. By we need to know if files were specified by the user.
10485 ac_option=`expr "X$1" : 'X\([^=]*\)='`
10486 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
10497 # Handling of the options.
10498 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
10500 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
10501 echo "$ac_cs_version"; exit ;;
10502 --debug | --debu | --deb | --de | --d | -d )
10504 --file | --fil | --fi | --f )
10506 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
10507 ac_need_defaults=false;;
10508 --header | --heade | --head | --hea )
10510 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
10511 ac_need_defaults=false;;
10513 # Conflict between --help and --header
10514 { echo "$as_me: error: ambiguous option: $1
10515 Try \`$0 --help' for more information." >&2
10516 { (exit 1); exit 1; }; };;
10517 --help | --hel | -h )
10518 echo "$ac_cs_usage"; exit ;;
10519 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10520 | -silent | --silent | --silen | --sile | --sil | --si | --s)
10523 # This is an error.
10524 -*) { echo "$as_me: error: unrecognized option: $1
10525 Try \`$0 --help' for more information." >&2
10526 { (exit 1); exit 1; }; } ;;
10528 *) ac_config_targets="$ac_config_targets $1"
10529 ac_need_defaults=false ;;
10535 ac_configure_extra_args=
10537 if $ac_cs_silent; then
10539 ac_configure_extra_args="$ac_configure_extra_args --silent"
10543 cat >>$CONFIG_STATUS <<_ACEOF
10544 if \$ac_cs_recheck; then
10545 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
10546 CONFIG_SHELL=$SHELL
10547 export CONFIG_SHELL
10548 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10552 cat >>$CONFIG_STATUS <<\_ACEOF
10556 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10557 ## Running $as_me. ##
10563 cat >>$CONFIG_STATUS <<_ACEOF
10566 cat >>$CONFIG_STATUS <<\_ACEOF
10568 # Handling of arguments.
10569 for ac_config_target in $ac_config_targets
10571 case $ac_config_target in
10572 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
10573 "${FILES}") CONFIG_FILES="$CONFIG_FILES ${FILES}" ;;
10575 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
10576 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
10577 { (exit 1); exit 1; }; };;
10582 # If the user did not use the arguments to specify the items to instantiate,
10583 # then the envvar interface is used. Set only those that are not.
10584 # We use the long form for the default assignment because of an extremely
10585 # bizarre bug on SunOS 4.1.3.
10586 if $ac_need_defaults; then
10587 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
10588 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
10591 # Have a temporary directory for convenience. Make it in the build tree
10592 # simply because there is no reason against having it here, and in addition,
10593 # creating and moving files from /tmp can sometimes cause problems.
10594 # Hook for its removal unless debugging.
10595 # Note that there is a small window in which the directory will not be cleaned:
10596 # after its creation but before its name has been assigned to `$tmp'.
10600 trap 'exit_status=$?
10601 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
10603 trap '{ (exit 1); exit 1; }' 1 2 13 15
10605 # Create a (secure) tmp directory for tmp files.
10608 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10609 test -n "$tmp" && test -d "$tmp"
10612 tmp=./conf$$-$RANDOM
10613 (umask 077 && mkdir "$tmp")
10616 echo "$me: cannot create a temporary directory in ." >&2
10617 { (exit 1); exit 1; }
10621 # Set up the sed scripts for CONFIG_FILES section.
10624 # No need to generate the scripts if there are no CONFIG_FILES.
10625 # This happens for instance when ./config.status config.h
10626 if test -n "$CONFIG_FILES"; then
10633 for ac_last_try in false false false false false :; do
10634 cat >conf$$subs.sed <<_ACEOF
10635 SHELL!$SHELL$ac_delim
10636 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
10637 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
10638 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
10639 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
10640 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
10641 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
10642 exec_prefix!$exec_prefix$ac_delim
10643 prefix!$prefix$ac_delim
10644 program_transform_name!$program_transform_name$ac_delim
10645 bindir!$bindir$ac_delim
10646 sbindir!$sbindir$ac_delim
10647 libexecdir!$libexecdir$ac_delim
10648 datarootdir!$datarootdir$ac_delim
10649 datadir!$datadir$ac_delim
10650 sysconfdir!$sysconfdir$ac_delim
10651 sharedstatedir!$sharedstatedir$ac_delim
10652 localstatedir!$localstatedir$ac_delim
10653 includedir!$includedir$ac_delim
10654 oldincludedir!$oldincludedir$ac_delim
10655 docdir!$docdir$ac_delim
10656 infodir!$infodir$ac_delim
10657 htmldir!$htmldir$ac_delim
10658 dvidir!$dvidir$ac_delim
10659 pdfdir!$pdfdir$ac_delim
10660 psdir!$psdir$ac_delim
10661 libdir!$libdir$ac_delim
10662 localedir!$localedir$ac_delim
10663 mandir!$mandir$ac_delim
10664 DEFS!$DEFS$ac_delim
10665 ECHO_C!$ECHO_C$ac_delim
10666 ECHO_N!$ECHO_N$ac_delim
10667 ECHO_T!$ECHO_T$ac_delim
10668 LIBS!$LIBS$ac_delim
10669 build_alias!$build_alias$ac_delim
10670 host_alias!$host_alias$ac_delim
10671 target_alias!$target_alias$ac_delim
10672 build!$build$ac_delim
10673 build_cpu!$build_cpu$ac_delim
10674 build_vendor!$build_vendor$ac_delim
10675 build_os!$build_os$ac_delim
10676 host!$host$ac_delim
10677 host_cpu!$host_cpu$ac_delim
10678 host_vendor!$host_vendor$ac_delim
10679 host_os!$host_os$ac_delim
10680 SHARED!$SHARED$ac_delim
10682 CFLAGS!$CFLAGS$ac_delim
10683 LDFLAGS!$LDFLAGS$ac_delim
10684 CPPFLAGS!$CPPFLAGS$ac_delim
10685 ac_ct_CC!$ac_ct_CC$ac_delim
10686 EXEEXT!$EXEEXT$ac_delim
10687 OBJEXT!$OBJEXT$ac_delim
10689 CXXFLAGS!$CXXFLAGS$ac_delim
10690 ac_ct_CXX!$ac_ct_CXX$ac_delim
10692 RANLIB!$RANLIB$ac_delim
10693 SET_MAKE!$SET_MAKE$ac_delim
10694 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
10695 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
10696 INSTALL_DATA!$INSTALL_DATA$ac_delim
10697 LN_S!$LN_S$ac_delim
10698 UNCOMPRESS!$UNCOMPRESS$ac_delim
10699 AREXT!$AREXT$ac_delim
10701 SLEXT!$SLEXT$ac_delim
10702 CXXLIBS!$CXXLIBS$ac_delim
10703 STRIP!$STRIP$ac_delim
10704 target!$target$ac_delim
10705 target_cpu!$target_cpu$ac_delim
10706 target_vendor!$target_vendor$ac_delim
10707 target_os!$target_os$ac_delim
10708 WORDS_BIGENDIAN!$WORDS_BIGENDIAN$ac_delim
10709 SYSTEM_BACKTICKS!$SYSTEM_BACKTICKS$ac_delim
10710 GREP!$GREP$ac_delim
10711 EGREP!$EGREP$ac_delim
10712 PACKAGE!$PACKAGE$ac_delim
10713 VERSION!$VERSION$ac_delim
10714 HAVE_UNISTD_H!$HAVE_UNISTD_H$ac_delim
10715 FREETYPE_CONFIG!$FREETYPE_CONFIG$ac_delim
10716 lame_objects!$lame_objects$ac_delim
10717 AVIFILE_CONFIG!$AVIFILE_CONFIG$ac_delim
10718 VIDEO_LIBS!$VIDEO_LIBS$ac_delim
10719 VIDEO_CFLAGS!$VIDEO_CFLAGS$ac_delim
10720 USE_GZIP!$USE_GZIP$ac_delim
10721 PYTHON_LIB!$PYTHON_LIB$ac_delim
10722 PYTHON_INCLUDES!$PYTHON_INCLUDES$ac_delim
10723 HAVE_PYTHON_IMAGING!$HAVE_PYTHON_IMAGING$ac_delim
10724 PDF2SWF!$PDF2SWF$ac_delim
10725 LIBPDF!$LIBPDF$ac_delim
10726 JPEG2SWF!$JPEG2SWF$ac_delim
10727 GIF2SWF!$GIF2SWF$ac_delim
10728 PNG2SWF!$PNG2SWF$ac_delim
10729 LIBOBJS!$LIBOBJS$ac_delim
10730 LTLIBOBJS!$LTLIBOBJS$ac_delim
10733 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 96; then
10735 elif $ac_last_try; then
10736 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
10737 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
10738 { (exit 1); exit 1; }; }
10740 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10744 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
10745 if test -n "$ac_eof"; then
10746 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
10747 ac_eof=`expr $ac_eof + 1`
10750 cat >>$CONFIG_STATUS <<_ACEOF
10751 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
10752 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10755 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
10756 s/^/s,@/; s/!/@,|#_!!_#|/
10759 s/'"$ac_delim"'$/,g/; t
10761 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
10762 ' >>$CONFIG_STATUS <conf$$subs.sed
10763 rm -f conf$$subs.sed
10764 cat >>$CONFIG_STATUS <<_ACEOF
10769 # VPATH may cause trouble with some makes, so we remove $(srcdir),
10770 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10771 # trailing colons and then remove the whole line if VPATH becomes empty
10772 # (actually we leave an empty line to preserve line numbers).
10773 if test "x$srcdir" = x.; then
10774 ac_vpsub='/^[ ]*VPATH[ ]*=/{
10775 s/:*\$(srcdir):*/:/
10776 s/:*\${srcdir}:*/:/
10778 s/^\([^=]*=[ ]*\):*/\1/
10784 cat >>$CONFIG_STATUS <<\_ACEOF
10785 fi # test -n "$CONFIG_FILES"
10788 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS
10791 :[FHLC]) ac_mode=$ac_tag; continue;;
10793 case $ac_mode$ac_tag in
10795 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
10796 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
10797 { (exit 1); exit 1; }; };;
10798 :[FH]-) ac_tag=-:-;;
10799 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
10816 -) ac_f="$tmp/stdin";;
10817 *) # Look for the file first in the build tree, then in the source tree
10818 # (if the path is not absolute). The absolute path cannot be DOS-style,
10819 # because $ac_f cannot contain `:'.
10823 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
10825 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
10826 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
10827 { (exit 1); exit 1; }; };;
10829 ac_file_inputs="$ac_file_inputs $ac_f"
10832 # Let's still pretend it is `configure' which instantiates (i.e., don't
10833 # use $as_me), people would be surprised to read:
10834 # /* config.h. Generated by config.status. */
10835 configure_input="Generated from "`IFS=:
10836 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
10837 if test x"$ac_file" != x-; then
10838 configure_input="$ac_file. $configure_input"
10839 { echo "$as_me:$LINENO: creating $ac_file" >&5
10840 echo "$as_me: creating $ac_file" >&6;}
10844 *:-:* | *:-) cat >"$tmp/stdin";;
10849 ac_dir=`$as_dirname -- "$ac_file" ||
10850 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10851 X"$ac_file" : 'X\(//\)[^/]' \| \
10852 X"$ac_file" : 'X\(//\)$' \| \
10853 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10855 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10859 /^X\(\/\/\)[^/].*/{
10874 -*) as_dir=./$as_dir;;
10876 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
10880 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
10881 *) as_qdir=$as_dir;;
10883 as_dirs="'$as_qdir' $as_dirs"
10884 as_dir=`$as_dirname -- "$as_dir" ||
10885 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10886 X"$as_dir" : 'X\(//\)[^/]' \| \
10887 X"$as_dir" : 'X\(//\)$' \| \
10888 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10890 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10894 /^X\(\/\/\)[^/].*/{
10907 test -d "$as_dir" && break
10909 test -z "$as_dirs" || eval "mkdir $as_dirs"
10910 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
10911 echo "$as_me: error: cannot create directory $as_dir" >&2;}
10912 { (exit 1); exit 1; }; }; }
10916 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10918 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10919 # A ".." for each directory in $ac_dir_suffix.
10920 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
10921 case $ac_top_builddir_sub in
10922 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10923 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10926 ac_abs_top_builddir=$ac_pwd
10927 ac_abs_builddir=$ac_pwd$ac_dir_suffix
10928 # for backward compatibility:
10929 ac_top_builddir=$ac_top_build_prefix
10932 .) # We are building in place.
10934 ac_top_srcdir=$ac_top_builddir_sub
10935 ac_abs_top_srcdir=$ac_pwd ;;
10936 [\\/]* | ?:[\\/]* ) # Absolute name.
10937 ac_srcdir=$srcdir$ac_dir_suffix;
10938 ac_top_srcdir=$srcdir
10939 ac_abs_top_srcdir=$srcdir ;;
10940 *) # Relative name.
10941 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10942 ac_top_srcdir=$ac_top_build_prefix$srcdir
10943 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10945 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10955 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10956 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
10960 cat >>$CONFIG_STATUS <<\_ACEOF
10961 # If the template does not know about datarootdir, expand it.
10962 # FIXME: This hack should be removed a few years after 2.60.
10963 ac_datarootdir_hack=; ac_datarootdir_seen=
10965 case `sed -n '/datarootdir/ {
10974 ' $ac_file_inputs` in
10975 *datarootdir*) ac_datarootdir_seen=yes;;
10976 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
10977 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10978 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10980 cat >>$CONFIG_STATUS <<_ACEOF
10981 ac_datarootdir_hack='
10982 s&@datadir@&$datadir&g
10983 s&@docdir@&$docdir&g
10984 s&@infodir@&$infodir&g
10985 s&@localedir@&$localedir&g
10986 s&@mandir@&$mandir&g
10987 s&\\\${datarootdir}&$datarootdir&g' ;;
10991 # Neutralize VPATH when `$srcdir' = `.'.
10992 # Shell code in configure.ac might set extrasub.
10993 # FIXME: do we really want to maintain this feature?
10994 cat >>$CONFIG_STATUS <<_ACEOF
10998 cat >>$CONFIG_STATUS <<\_ACEOF
11000 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
11001 s&@configure_input@&$configure_input&;t t
11002 s&@top_builddir@&$ac_top_builddir_sub&;t t
11003 s&@srcdir@&$ac_srcdir&;t t
11004 s&@abs_srcdir@&$ac_abs_srcdir&;t t
11005 s&@top_srcdir@&$ac_top_srcdir&;t t
11006 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
11007 s&@builddir@&$ac_builddir&;t t
11008 s&@abs_builddir@&$ac_abs_builddir&;t t
11009 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
11010 s&@INSTALL@&$ac_INSTALL&;t t
11011 $ac_datarootdir_hack
11012 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed 's/|#_!!_#|//g' >$tmp/out
11014 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
11015 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
11016 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
11017 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
11018 which seems to be undefined. Please make sure it is defined." >&5
11019 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
11020 which seems to be undefined. Please make sure it is defined." >&2;}
11024 -) cat "$tmp/out"; rm -f "$tmp/out";;
11025 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
11034 # Transform confdefs.h into a sed script `conftest.defines', that
11035 # substitutes the proper values into config.h.in to produce config.h.
11036 rm -f conftest.defines conftest.tail
11037 # First, append a space to every undef/define line, to ease matching.
11038 echo 's/$/ /' >conftest.defines
11039 # Then, protect against being on the right side of a sed subst, or in
11040 # an unquoted here document, in config.status. If some macros were
11041 # called several times there might be several #defines for the same
11042 # symbol, which is useless. But do not sort them, since the last
11043 # AC_DEFINE must be honored.
11044 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
11045 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
11046 # NAME is the cpp macro being defined, VALUE is the value it is being given.
11047 # PARAMS is the parameter list in the macro definition--in most cases, it's
11048 # just an empty string.
11049 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
11050 ac_dB='\\)[ (].*,\\1define\\2'
11058 s/^[ ]*#[ ]*define[ ][ ]*//
11063 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
11064 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
11065 ' >>conftest.defines
11067 # Remove the space that was appended to ease matching.
11068 # Then replace #undef with comments. This is necessary, for
11069 # example, in the case of _POSIX_SOURCE, which is predefined and required
11070 # on some systems where configure will not decide to define it.
11071 # (The regexp can be short, since the line contains either #define or #undef.)
11073 s,^[ #]*u.*,/* & */,' >>conftest.defines
11075 # Break up conftest.defines:
11076 ac_max_sed_lines=50
11078 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
11079 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
11080 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
11082 ac_in='$ac_file_inputs'
11083 ac_out='"$tmp/out1"'
11084 ac_nxt='"$tmp/out2"'
11088 # Write a here document:
11089 cat >>$CONFIG_STATUS <<_ACEOF
11090 # First, check the format of the line:
11091 cat >"\$tmp/defines.sed" <<\\CEOF
11092 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
11093 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
11097 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
11099 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
11100 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
11101 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
11102 grep . conftest.tail >/dev/null || break
11103 rm -f conftest.defines
11104 mv conftest.tail conftest.defines
11106 rm -f conftest.defines conftest.tail
11108 echo "ac_result=$ac_in" >>$CONFIG_STATUS
11109 cat >>$CONFIG_STATUS <<\_ACEOF
11110 if test x"$ac_file" != x-; then
11111 echo "/* $configure_input */" >"$tmp/config.h"
11112 cat "$ac_result" >>"$tmp/config.h"
11113 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
11114 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
11115 echo "$as_me: $ac_file is unchanged" >&6;}
11118 mv "$tmp/config.h" $ac_file
11121 echo "/* $configure_input */"
11133 { (exit 0); exit 0; }
11135 chmod +x $CONFIG_STATUS
11136 ac_clean_files=$ac_clean_files_save
11139 # configure is writing to config.log, and then calls config.status.
11140 # config.status does its own redirection, appending to config.log.
11141 # Unfortunately, on DOS this fails, as config.log is still kept open
11142 # by configure, so config.status won't be able to write to it; its
11143 # output is simply discarded. So we exec the FD to /dev/null,
11144 # effectively closing config.log, so it can be properly (re)opened and
11145 # appended to by config.status. When coming back to configure, we
11146 # need to make the FD available again.
11147 if test "$no_create" != yes; then
11149 ac_config_status_args=
11150 test "$silent" = yes &&
11151 ac_config_status_args="$ac_config_status_args --quiet"
11153 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
11155 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11156 # would make configure fail if this is the last instruction.
11157 $ac_cs_success || { (exit 1); exit 1; }
11163 # On development trees, create snapshots of config.status
11165 if test -f snapshot -a "x$CHECKMEM" = "x" -a "x$PROFILING" = "x";then
11166 if test "x${MINGW}" = "xyes"; then
11167 echo cp config.status config.status.win32
11168 cp config.status config.status.win32
11170 if test "x$DEBUG" '=' "x" -a "x$OPTIMIZE" '=' "x";then
11171 echo cp config.status config.status.linux
11172 cp config.status config.status.linux
11174 if test "x$DEBUG" '!=' "x" -a "x$OPTIMIZE" '=' "x";then
11175 echo cp config.status config.status.debug
11176 cp config.status config.status.debug
11178 if test "x$DEBUG" = "x" -a "x$OPTIMIZE" '!=' "x"; then
11179 echo cp config.status config.status.optimize
11180 cp config.status config.status.optimize