2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 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 # Pre-4.2 versions of Zsh do 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
43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
44 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 # Support unset when possible.
82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
90 # We need space, tab and new line, in precisely that order. Quoting is
91 # there to prevent editors from complaining about space-tab.
92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
93 # splitting by setting IFS to empty value.)
96 # Find who we are. Look in the path if we contain no directory separator.
98 *[\\/]* ) as_myself=$0 ;;
99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
103 test -z "$as_dir" && as_dir=.
104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
110 # We did not find ourselves, most probably we were run as `sh COMMAND'
111 # in which case we are not to be found in the path.
112 if test "x$as_myself" = x
; then
115 if test ! -f "$as_myself"; then
116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 { (exit 1); exit 1; }
120 # Work around bugs in pre-3.0 UWIN ksh.
121 for as_var
in ENV MAIL MAILPATH
122 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
134 # Required to use basename.
135 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
136 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
142 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
149 # Name of the executable.
150 as_me
=`$as_basename -- "$0" ||
151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152 X"$0" : 'X\(//\)$' \| \
153 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
155 sed '/^.*\/\([^/][^/]*\)\/*$/{
173 if test "x$CONFIG_SHELL" = x
; then
174 if (eval ":") 2>/dev
/null
; then
180 if test $as_have_required = yes && (eval ":
190 as_func_ret_success () {
193 as_func_ret_failure () {
198 if as_func_success; then
202 echo as_func_success failed.
205 if as_func_failure; then
207 echo as_func_failure succeeded.
210 if as_func_ret_success; then
214 echo as_func_ret_success failed.
217 if as_func_ret_failure; then
219 echo as_func_ret_failure succeeded.
222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226 echo positional parameters were not saved.
229 test \$exitcode = 0) || { (exit 1); exit 1; }
234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236 ") 2> /dev
/null
; then
240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
241 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
244 test -z "$as_dir" && as_dir
=.
247 for as_base
in sh bash ksh sh5
; do
248 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
255 for as_shell
in $as_candidate_shells $SHELL; do
256 # Try only shells that exist, to save several forks.
257 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
258 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
259 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
267 case `(set -o) 2>/dev/null` in
268 *posix
*) set -o posix
;;
277 CONFIG_SHELL
=$as_shell
279 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
280 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284 # is contrary to our usage. Disable this feature.
285 alias -g '${1+"$@"}'='"$@"'
288 case `(set -o) 2>/dev/null` in
289 *posix
*) set -o posix
;;
305 as_func_ret_success
() {
308 as_func_ret_failure
() {
313 if as_func_success
; then
317 echo as_func_success failed.
320 if as_func_failure
; then
322 echo as_func_failure succeeded.
325 if as_func_ret_success
; then
329 echo as_func_ret_success failed.
332 if as_func_ret_failure
; then
334 echo as_func_ret_failure succeeded.
337 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
341 echo positional parameters were not saved.
344 test $exitcode = 0) ||
{ (exit 1); exit 1; }
349 test "x$as_lineno_1" != "x$as_lineno_2" &&
350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
361 if test "x$CONFIG_SHELL" != x
; then
362 for as_var
in BASH_ENV ENV
363 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
370 if test $as_have_required = no
; then
371 echo This
script requires a shell
more modern than all the
372 echo shells that I found on your system. Please
install a
373 echo modern shell
, or manually run the
script under such a
374 echo shell
if you
do have one.
375 { (exit 1); exit 1; }
385 (eval "as_func_return () {
394 as_func_ret_success () {
397 as_func_ret_failure () {
402 if as_func_success; then
406 echo as_func_success failed.
409 if as_func_failure; then
411 echo as_func_failure succeeded.
414 if as_func_ret_success; then
418 echo as_func_ret_success failed.
421 if as_func_ret_failure; then
423 echo as_func_ret_failure succeeded.
426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
430 echo positional parameters were not saved.
433 test \$exitcode = 0") ||
{
434 echo No shell found that supports shell functions.
435 echo Please tell bug-autoconf@gnu.org about your system
,
436 echo including any error possibly output before this message.
437 echo This can
help us improve future autoconf versions.
438 echo Configuration will now proceed without shell functions.
445 test "x$as_lineno_1" != "x$as_lineno_2" &&
446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449 # uniformly replaced by the line number. The first 'sed' inserts a
450 # line-number line after each line using $LINENO; the second 'sed'
451 # does the real work. The second script uses 'N' to pair each
452 # line-number line with the line containing $LINENO, and appends
453 # trailing '-' during substitution so that $LINENO is not a special
455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456 # scripts with optimization help from Paolo Bonzini. Blame Lee
457 # E. McMahon (1931-1989) for sed's syntax. :-)
469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
473 chmod +x
"$as_me.lineno" ||
474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475 { (exit 1); exit 1; }; }
477 # Don't try to exec as it changes $[0], causing all sort of problems
478 # (the dirname of $[0] is not the place where we might find the
479 # original and so on. Autoconf is especially sensitive to this).
481 # Exit status is that of the last command.
486 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
492 ECHO_C
= ECHO_N
= ECHO_T
=
496 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
502 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
503 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
509 rm -f conf$$ conf$$.exe conf$$.
file
510 if test -d conf$$.dir
; then
511 rm -f conf$$.dir
/conf$$.
file
514 mkdir conf$$.dir
2>/dev
/null
516 if (echo >conf$$.
file) 2>/dev
/null
; then
517 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
519 # ... but there are two gotchas:
520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522 # In both cases, we have to default to `cp -p'.
523 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
525 elif ln conf$$.
file conf$$
2>/dev
/null
; then
533 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
534 rmdir conf$$.dir
2>/dev
/null
536 if mkdir
-p .
2>/dev
/null
; then
539 test -d .
/-p && rmdir .
/-p
543 if test -x / >/dev
/null
2>&1; then
546 if ls -dL / >/dev
/null
2>&1; then
553 if test -d "$1"; then
559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560 ???[sx]*):;;*)false;;esac;fi
564 as_executable_p
=$as_test_x
566 # Sed expression to map a string onto a valid CPP name.
567 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
569 # Sed expression to map a string onto a valid variable name.
570 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
574 exec 7<&0 </dev
/null
6>&1
577 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
578 # so uname gets run too.
579 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
584 ac_default_prefix
=/usr
/local
586 ac_config_libobj_dir
=.
592 SHELL
=${CONFIG_SHELL-/bin/sh}
594 # Identity of this package.
601 ac_unique_file
="src/"
602 # Factoring default headers for most tests.
603 ac_includes_default
="\
605 #ifdef HAVE_SYS_TYPES_H
606 # include <sys/types.h>
608 #ifdef HAVE_SYS_STAT_H
609 # include <sys/stat.h>
615 # ifdef HAVE_STDLIB_H
620 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
625 #ifdef HAVE_STRINGS_H
626 # include <strings.h>
628 #ifdef HAVE_INTTYPES_H
629 # include <inttypes.h>
638 ac_subst_vars
='LTLIBOBJS
729 program_transform_name
741 enable_option_checking
749 ac_precious_vars
='build_alias
763 # Initialize some variables set by options.
765 ac_init_version
=false
766 ac_unrecognized_opts
=
768 # The variables have the same names as the options, with
769 # dashes changed to underlines.
777 program_transform_name
=s
,x
,x
,
785 # Installation directory options.
786 # These are left unexpanded so users can "make install exec_prefix=/foo"
787 # and all the variables that are supposed to be based on exec_prefix
788 # by default will actually change.
789 # Use braces instead of parens because sh, perl, etc. also accept them.
790 # (The list follows the same order as the GNU Coding Standards.)
791 bindir
='${exec_prefix}/bin'
792 sbindir
='${exec_prefix}/sbin'
793 libexecdir
='${exec_prefix}/libexec'
794 datarootdir
='${prefix}/share'
795 datadir
='${datarootdir}'
796 sysconfdir
='${prefix}/etc'
797 sharedstatedir
='${prefix}/com'
798 localstatedir
='${prefix}/var'
799 includedir
='${prefix}/include'
800 oldincludedir
='/usr/include'
801 docdir
='${datarootdir}/doc/${PACKAGE}'
802 infodir
='${datarootdir}/info'
807 libdir
='${exec_prefix}/lib'
808 localedir
='${datarootdir}/locale'
809 mandir
='${datarootdir}/man'
815 # If the previous option needs an argument, assign it.
816 if test -n "$ac_prev"; then
817 eval $ac_prev=\
$ac_option
823 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
827 # Accept the important Cygnus configure options, so we can diagnose typos.
829 case $ac_dashdash$ac_option in
833 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
835 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
838 -build |
--build |
--buil |
--bui |
--bu)
839 ac_prev
=build_alias
;;
840 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
841 build_alias
=$ac_optarg ;;
843 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
844 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
845 ac_prev
=cache_file
;;
846 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
847 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
848 cache_file
=$ac_optarg ;;
851 cache_file
=config.cache
;;
853 -datadir |
--datadir |
--datadi |
--datad)
855 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
856 datadir
=$ac_optarg ;;
858 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
859 |
--dataroo |
--dataro |
--datar)
860 ac_prev
=datarootdir
;;
861 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
862 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
863 datarootdir
=$ac_optarg ;;
865 -disable-* |
--disable-*)
866 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
867 # Reject names that are not valid shell variable names.
868 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
869 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
870 { (exit 1); exit 1; }; }
871 ac_useropt_orig
=$ac_useropt
872 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
873 case $ac_user_opts in
877 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
878 ac_unrecognized_sep
=', ';;
880 eval enable_
$ac_useropt=no
;;
882 -docdir |
--docdir |
--docdi |
--doc |
--do)
884 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
887 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
889 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
892 -enable-* |
--enable-*)
893 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
894 # Reject names that are not valid shell variable names.
895 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
896 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
897 { (exit 1); exit 1; }; }
898 ac_useropt_orig
=$ac_useropt
899 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
900 case $ac_user_opts in
904 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
905 ac_unrecognized_sep
=', ';;
907 eval enable_
$ac_useropt=\
$ac_optarg ;;
909 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
910 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
911 |
--exec |
--exe |
--ex)
912 ac_prev
=exec_prefix
;;
913 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
914 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
915 |
--exec=* |
--exe=* |
--ex=*)
916 exec_prefix
=$ac_optarg ;;
918 -gas |
--gas |
--ga |
--g)
919 # Obsolete; use --with-gas.
922 -help |
--help |
--hel |
--he |
-h)
924 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
925 ac_init_help
=recursive
;;
926 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
927 ac_init_help
=short
;;
929 -host |
--host |
--hos |
--ho)
930 ac_prev
=host_alias
;;
931 -host=* |
--host=* |
--hos=* |
--ho=*)
932 host_alias
=$ac_optarg ;;
934 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
936 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
938 htmldir
=$ac_optarg ;;
940 -includedir |
--includedir |
--includedi |
--included |
--include \
941 |
--includ |
--inclu |
--incl |
--inc)
942 ac_prev
=includedir
;;
943 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
944 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
945 includedir
=$ac_optarg ;;
947 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
949 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
950 infodir
=$ac_optarg ;;
952 -libdir |
--libdir |
--libdi |
--libd)
954 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
957 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
958 |
--libexe |
--libex |
--libe)
959 ac_prev
=libexecdir
;;
960 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
961 |
--libexe=* |
--libex=* |
--libe=*)
962 libexecdir
=$ac_optarg ;;
964 -localedir |
--localedir |
--localedi |
--localed |
--locale)
966 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
967 localedir
=$ac_optarg ;;
969 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
970 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
971 ac_prev
=localstatedir
;;
972 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
973 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
974 localstatedir
=$ac_optarg ;;
976 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
978 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
982 # Obsolete; use --without-fp.
985 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
986 |
--no-cr |
--no-c |
-n)
989 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
990 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
993 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
994 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
995 |
--oldin |
--oldi |
--old |
--ol |
--o)
996 ac_prev
=oldincludedir
;;
997 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
998 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
999 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1000 oldincludedir
=$ac_optarg ;;
1002 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1004 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1005 prefix
=$ac_optarg ;;
1007 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1008 |
--program-pre |
--program-pr |
--program-p)
1009 ac_prev
=program_prefix
;;
1010 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1011 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1012 program_prefix
=$ac_optarg ;;
1014 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1015 |
--program-suf |
--program-su |
--program-s)
1016 ac_prev
=program_suffix
;;
1017 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1018 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1019 program_suffix
=$ac_optarg ;;
1021 -program-transform-name |
--program-transform-name \
1022 |
--program-transform-nam |
--program-transform-na \
1023 |
--program-transform-n |
--program-transform- \
1024 |
--program-transform |
--program-transfor \
1025 |
--program-transfo |
--program-transf \
1026 |
--program-trans |
--program-tran \
1027 |
--progr-tra |
--program-tr |
--program-t)
1028 ac_prev
=program_transform_name
;;
1029 -program-transform-name=* |
--program-transform-name=* \
1030 |
--program-transform-nam=* |
--program-transform-na=* \
1031 |
--program-transform-n=* |
--program-transform-=* \
1032 |
--program-transform=* |
--program-transfor=* \
1033 |
--program-transfo=* |
--program-transf=* \
1034 |
--program-trans=* |
--program-tran=* \
1035 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1036 program_transform_name
=$ac_optarg ;;
1038 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1040 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1041 pdfdir
=$ac_optarg ;;
1043 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1045 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1048 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1049 |
-silent |
--silent |
--silen |
--sile |
--sil)
1052 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1054 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1056 sbindir
=$ac_optarg ;;
1058 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1059 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1060 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1062 ac_prev
=sharedstatedir
;;
1063 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1064 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1065 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1067 sharedstatedir
=$ac_optarg ;;
1069 -site |
--site |
--sit)
1071 -site=* |
--site=* |
--sit=*)
1074 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1076 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1077 srcdir
=$ac_optarg ;;
1079 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1080 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1081 ac_prev
=sysconfdir
;;
1082 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1083 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1084 sysconfdir
=$ac_optarg ;;
1086 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1087 ac_prev
=target_alias
;;
1088 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1089 target_alias
=$ac_optarg ;;
1091 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1094 -version |
--version |
--versio |
--versi |
--vers |
-V)
1095 ac_init_version
=: ;;
1098 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1099 # Reject names that are not valid shell variable names.
1100 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1101 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1102 { (exit 1); exit 1; }; }
1103 ac_useropt_orig
=$ac_useropt
1104 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1105 case $ac_user_opts in
1109 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1110 ac_unrecognized_sep
=', ';;
1112 eval with_
$ac_useropt=\
$ac_optarg ;;
1114 -without-* |
--without-*)
1115 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1116 # Reject names that are not valid shell variable names.
1117 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1118 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1119 { (exit 1); exit 1; }; }
1120 ac_useropt_orig
=$ac_useropt
1121 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1122 case $ac_user_opts in
1126 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1127 ac_unrecognized_sep
=', ';;
1129 eval with_
$ac_useropt=no
;;
1132 # Obsolete; use --with-x.
1135 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1136 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1137 ac_prev
=x_includes
;;
1138 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1139 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1140 x_includes
=$ac_optarg ;;
1142 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1143 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1144 ac_prev
=x_libraries
;;
1145 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1146 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1147 x_libraries
=$ac_optarg ;;
1149 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1150 Try \`$0 --help' for more information." >&2
1151 { (exit 1); exit 1; }; }
1155 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1156 # Reject names that are not valid shell variable names.
1157 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1158 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1159 { (exit 1); exit 1; }; }
1160 eval $ac_envvar=\
$ac_optarg
1161 export $ac_envvar ;;
1164 # FIXME: should be removed in autoconf 3.0.
1165 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1166 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1167 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1168 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1174 if test -n "$ac_prev"; then
1175 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1176 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1177 { (exit 1); exit 1; }; }
1180 if test -n "$ac_unrecognized_opts"; then
1181 case $enable_option_checking in
1183 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1184 { (exit 1); exit 1; }; } ;;
1185 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1189 # Check all directory arguments for consistency.
1190 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1191 datadir sysconfdir sharedstatedir localstatedir includedir \
1192 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1193 libdir localedir mandir
1195 eval ac_val
=\$
$ac_var
1196 # Remove trailing slashes.
1199 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1200 eval $ac_var=\
$ac_val;;
1202 # Be sure to have absolute directory names.
1204 [\\/$
]* | ?
:[\\/]* ) continue;;
1205 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1207 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1208 { (exit 1); exit 1; }; }
1211 # There might be people who depend on the old broken behavior: `$host'
1212 # used to hold the argument of --host etc.
1213 # FIXME: To remove some day.
1216 target
=$target_alias
1218 # FIXME: To remove some day.
1219 if test "x$host_alias" != x
; then
1220 if test "x$build_alias" = x
; then
1221 cross_compiling
=maybe
1222 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1223 If a cross compiler is detected then cross compile mode will be used." >&2
1224 elif test "x$build_alias" != "x$host_alias"; then
1230 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1232 test "$silent" = yes && exec 6>/dev
/null
1235 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1236 ac_ls_di
=`ls -di .` &&
1237 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1238 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1239 { (exit 1); exit 1; }; }
1240 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1241 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1242 { (exit 1); exit 1; }; }
1245 # Find the source files, if location was not specified.
1246 if test -z "$srcdir"; then
1247 ac_srcdir_defaulted
=yes
1248 # Try the directory containing this script, then the parent directory.
1249 ac_confdir
=`$as_dirname -- "$as_myself" ||
1250 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1251 X"$as_myself" : 'X\(//\)[^/]' \| \
1252 X"$as_myself" : 'X\(//\)$' \| \
1253 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1254 $as_echo X"$as_myself" |
1255 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1273 if test ! -r "$srcdir/$ac_unique_file"; then
1277 ac_srcdir_defaulted
=no
1279 if test ! -r "$srcdir/$ac_unique_file"; then
1280 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1281 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1282 { (exit 1); exit 1; }; }
1284 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1286 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1287 { (exit 1); exit 1; }; }
1289 # When building in place, set srcdir=.
1290 if test "$ac_abs_confdir" = "$ac_pwd"; then
1293 # Remove unnecessary trailing slashes from srcdir.
1294 # Double slashes in file names in object file debugging info
1295 # mess up M-x gdb in Emacs.
1297 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1299 for ac_var
in $ac_precious_vars; do
1300 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1301 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1302 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1303 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1307 # Report the --help message.
1309 if test "$ac_init_help" = "long"; then
1310 # Omit some internal or obsolete options to make the list less imposing.
1311 # This message is too long to be a string in the A/UX 3.1 sh.
1313 \`configure' configures this package to adapt to many kinds of systems.
1315 Usage: $0 [OPTION]... [VAR=VALUE]...
1317 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1318 VAR=VALUE. See below for descriptions of some of the useful variables.
1320 Defaults for the options are specified in brackets.
1323 -h, --help display this help and exit
1324 --help=short display options specific to this package
1325 --help=recursive display the short help of all the included packages
1326 -V, --version display version information and exit
1327 -q, --quiet, --silent do not print \`checking...' messages
1328 --cache-file=FILE cache test results in FILE [disabled]
1329 -C, --config-cache alias for \`--cache-file=config.cache'
1330 -n, --no-create do not create output files
1331 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1333 Installation directories:
1334 --prefix=PREFIX install architecture-independent files in PREFIX
1335 [$ac_default_prefix]
1336 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1339 By default, \`make install' will install all the files in
1340 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1341 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1342 for instance \`--prefix=\$HOME'.
1344 For better control, use the options below.
1346 Fine tuning of the installation directories:
1347 --bindir=DIR user executables [EPREFIX/bin]
1348 --sbindir=DIR system admin executables [EPREFIX/sbin]
1349 --libexecdir=DIR program executables [EPREFIX/libexec]
1350 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1351 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1352 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1353 --libdir=DIR object code libraries [EPREFIX/lib]
1354 --includedir=DIR C header files [PREFIX/include]
1355 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1356 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1357 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1358 --infodir=DIR info documentation [DATAROOTDIR/info]
1359 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1360 --mandir=DIR man documentation [DATAROOTDIR/man]
1361 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1362 --htmldir=DIR html documentation [DOCDIR]
1363 --dvidir=DIR dvi documentation [DOCDIR]
1364 --pdfdir=DIR pdf documentation [DOCDIR]
1365 --psdir=DIR ps documentation [DOCDIR]
1371 --program-prefix=PREFIX prepend PREFIX to installed program names
1372 --program-suffix=SUFFIX append SUFFIX to installed program names
1373 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1376 --build=BUILD configure
for building on BUILD
[guessed
]
1377 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1378 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1382 if test -n "$ac_init_help"; then
1387 --disable-option-checking ignore unrecognized
--enable/--with options
1388 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1389 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1390 --enable-checkmem turn on ccmalloc debugging
1391 --enable-debug turn on debugging
1392 --enable-profiling turn on profiling
1393 --enable-warnings turn on compiler warnings
1394 --enable-optimizations turn on compiler optimizations
(recommended
for avi2swf
)
1395 --disable-lame don
't compile any L.A.M.E. mp3 encoding code in
1397 Some influential environment variables:
1398 CC C compiler command
1399 CFLAGS C compiler flags
1400 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1401 nonstandard directory <lib dir>
1402 LIBS libraries to pass to the linker, e.g. -l<library>
1403 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1404 you have headers in a nonstandard directory <include dir>
1405 CXX C++ compiler command
1406 CXXFLAGS C++ compiler flags
1409 Use these variables to override the choices made by `configure' or to
help
1410 it to
find libraries and programs with nonstandard names
/locations.
1416 if test "$ac_init_help" = "recursive"; then
1417 # If there are subdirs, report their specific --help.
1418 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1419 test -d "$ac_dir" ||
1420 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1425 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1427 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1428 # A ".." for each directory in $ac_dir_suffix.
1429 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1430 case $ac_top_builddir_sub in
1431 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1432 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1435 ac_abs_top_builddir
=$ac_pwd
1436 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1437 # for backward compatibility:
1438 ac_top_builddir
=$ac_top_build_prefix
1441 .
) # We are building in place.
1443 ac_top_srcdir
=$ac_top_builddir_sub
1444 ac_abs_top_srcdir
=$ac_pwd ;;
1445 [\\/]* | ?
:[\\/]* ) # Absolute name.
1446 ac_srcdir
=$srcdir$ac_dir_suffix;
1447 ac_top_srcdir
=$srcdir
1448 ac_abs_top_srcdir
=$srcdir ;;
1450 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1451 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1452 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1454 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1456 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1457 # Check for guested configure.
1458 if test -f "$ac_srcdir/configure.gnu"; then
1460 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1461 elif test -f "$ac_srcdir/configure"; then
1463 $SHELL "$ac_srcdir/configure" --help=recursive
1465 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1467 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1471 test -n "$ac_init_help" && exit $ac_status
1472 if $ac_init_version; then
1475 generated by GNU Autoconf
2.63
1477 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1478 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation
, Inc.
1479 This configure
script is free software
; the Free Software Foundation
1480 gives unlimited permission to copy
, distribute and modify it.
1484 cat >config.log
<<_ACEOF
1485 This file contains any messages produced by compilers while
1486 running configure, to aid debugging if configure makes a mistake.
1488 It was created by $as_me, which was
1489 generated by GNU Autoconf 2.63. Invocation command line was
1501 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1502 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1503 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1504 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1505 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1507 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1508 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1510 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1511 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1512 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1513 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1514 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1515 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1516 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1520 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1524 test -z "$as_dir" && as_dir
=.
1525 $as_echo "PATH: $as_dir"
1541 # Keep a trace of the command line.
1542 # Strip out --no-create and --no-recursion so they do not pile up.
1543 # Strip out --silent because we don't want to record it for future runs.
1544 # Also quote any args containing shell meta-characters.
1545 # Make two passes to allow for proper duplicate-argument suppression.
1549 ac_must_keep_next
=false
1555 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1556 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1557 |
-silent |
--silent |
--silen |
--sile |
--sil)
1560 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1563 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1565 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1566 if test $ac_must_keep_next = true
; then
1567 ac_must_keep_next
=false
# Got value, back to normal.
1570 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1571 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1572 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1573 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1574 case "$ac_configure_args0 " in
1575 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1578 -* ) ac_must_keep_next
=true
;;
1581 ac_configure_args
="$ac_configure_args '$ac_arg'"
1586 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1587 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1589 # When interrupted or exit'd, cleanup temporary files, and complete
1590 # config.log. We remove comments because anyway the quotes in there
1591 # would cause problems or look ugly.
1592 # WARNING: Use '\'' to represent an apostrophe within the trap.
1593 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1594 trap 'exit_status=$?
1595 # Save into config.log some information that might help in debugging.
1600 ## ---------------- ##
1601 ## Cache variables. ##
1602 ## ---------------- ##
1605 # The following way of writing the cache mishandles newlines in values,
1607 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1608 eval ac_val=\$$ac_var
1612 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1613 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1616 _ | IFS | as_nl) ;; #(
1617 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1618 *) $as_unset $ac_var ;;
1623 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1624 *${as_nl}ac_space=\ *)
1626 "s/'\''/'\''\\\\'\'''\''/g;
1627 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1630 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1638 ## ----------------- ##
1639 ## Output variables. ##
1640 ## ----------------- ##
1643 for ac_var in $ac_subst_vars
1645 eval ac_val=\$$ac_var
1647 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1649 $as_echo "$ac_var='\''$ac_val'\''"
1653 if test -n "$ac_subst_files"; then
1655 ## ------------------- ##
1656 ## File substitutions. ##
1657 ## ------------------- ##
1660 for ac_var
in $ac_subst_files
1662 eval ac_val
=\$
$ac_var
1664 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1666 $as_echo "$ac_var='\''$ac_val'\''"
1671 if test -s confdefs.h; then
1681 test "$ac_signal" != 0 &&
1682 $as_echo "$as_me: caught signal $ac_signal"
1683 $as_echo "$as_me: exit $exit_status"
1685 rm -f core *.core core.conftest.* &&
1686 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1689 for ac_signal
in 1 2 13 15; do
1690 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1694 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1695 rm -f -r conftest
* confdefs.h
1697 # Predefined preprocessor variables.
1699 cat >>confdefs.h
<<_ACEOF
1700 #define PACKAGE_NAME "$PACKAGE_NAME"
1704 cat >>confdefs.h
<<_ACEOF
1705 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1709 cat >>confdefs.h
<<_ACEOF
1710 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1714 cat >>confdefs.h
<<_ACEOF
1715 #define PACKAGE_STRING "$PACKAGE_STRING"
1719 cat >>confdefs.h
<<_ACEOF
1720 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1724 # Let the site file select an alternate cache file if it wants to.
1725 # Prefer an explicitly selected file to automatically selected ones.
1728 if test -n "$CONFIG_SITE"; then
1729 ac_site_file1
=$CONFIG_SITE
1730 elif test "x$prefix" != xNONE
; then
1731 ac_site_file1
=$prefix/share
/config.site
1732 ac_site_file2
=$prefix/etc
/config.site
1734 ac_site_file1
=$ac_default_prefix/share
/config.site
1735 ac_site_file2
=$ac_default_prefix/etc
/config.site
1737 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1739 test "x$ac_site_file" = xNONE
&& continue
1740 if test -r "$ac_site_file"; then
1741 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1742 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1743 sed 's/^/| /' "$ac_site_file" >&5
1748 if test -r "$cache_file"; then
1749 # Some versions of bash will fail to source /dev/null (special
1750 # files actually), so we avoid doing that.
1751 if test -f "$cache_file"; then
1752 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1753 $as_echo "$as_me: loading cache $cache_file" >&6;}
1755 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1756 *) .
"./$cache_file";;
1760 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1761 $as_echo "$as_me: creating cache $cache_file" >&6;}
1765 # Check that the precious variables saved in the cache have kept the same
1767 ac_cache_corrupted
=false
1768 for ac_var
in $ac_precious_vars; do
1769 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1770 eval ac_new_set
=\
$ac_env_${ac_var}_set
1771 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1772 eval ac_new_val
=\
$ac_env_${ac_var}_value
1773 case $ac_old_set,$ac_new_set in
1775 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1776 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1777 ac_cache_corrupted
=: ;;
1779 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1780 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1781 ac_cache_corrupted
=: ;;
1784 if test "x$ac_old_val" != "x$ac_new_val"; then
1785 # differences in whitespace do not lead to failure.
1786 ac_old_val_w
=`echo x $ac_old_val`
1787 ac_new_val_w
=`echo x $ac_new_val`
1788 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1789 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1790 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1791 ac_cache_corrupted
=:
1793 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1794 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1795 eval $ac_var=\
$ac_old_val
1797 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1798 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1799 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1800 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1803 # Pass precious variables to config.status.
1804 if test "$ac_new_set" = set; then
1806 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1807 *) ac_arg
=$ac_var=$ac_new_val ;;
1809 case " $ac_configure_args " in
1810 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1811 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1815 if $ac_cache_corrupted; then
1816 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1817 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1818 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1819 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1820 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1821 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1822 { (exit 1); exit 1; }; }
1842 ac_cpp
='$CPP $CPPFLAGS'
1843 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1844 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1845 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1850 # ------------------- option parsing -------------------------------
1859 # Check whether --enable-checkmem was given.
1860 if test "${enable_checkmem+set}" = set; then
1861 enableval
=$enable_checkmem; CHECKMEM
=true
1864 # Check whether --enable-debug was given.
1865 if test "${enable_debug+set}" = set; then
1866 enableval
=$enable_debug; DEBUG
=true
1869 # Check whether --enable-profiling was given.
1870 if test "${enable_profiling+set}" = set; then
1871 enableval
=$enable_profiling; PROFILING
=true
1874 # Check whether --enable-warnings was given.
1875 if test "${enable_warnings+set}" = set; then
1876 enableval
=$enable_warnings; ENABLE_WARNINGS
=true
1879 # Check whether --enable-optimizations was given.
1880 if test "${enable_optimizations+set}" = set; then
1881 enableval
=$enable_optimizations; OPTIMIZE
=true
1884 # Check whether --enable-lame was given.
1885 if test "${enable_lame+set}" = set; then
1886 enableval
=$enable_lame; if test "x$enable_lame" = "xno";then
1895 VERSION
=2009-08-12-1514
1897 # ------------------------------------------------------------------
1899 if test "x${srcdir}" != "x."; then
1900 echo "--srcdir is not supported"
1904 WARNINGS
="-Wimplicit -Wreturn-type -Wno-write-strings -Wformat"
1905 if test "x$ENABLE_WARNINGS" '!=' "x";then
1906 WARNINGS
="-Wall -Wno-unused -Wno-format -Wno-redundant-decls -Wno-write-strings -D_FORTIFY_SOURCE=2 "
1909 if test "x$CHECKMEM" '!=' "x";then
1912 if test "x$PROFILING" '!=' "x";then
1915 if test "x$DEBUG" '!=' "x";then
1916 if test "x$PROFILING" = "x";then
1917 CFLAGS
="$WARNINGS -O2 -g $CFLAGS"
1918 CXXFLAGS
="$WARNINGS -O2 -g $CXXFLAGS"
1919 LDFLAGS
="-g $LDFLAGS"
1921 CFLAGS
="$WARNINGS -O2 -g -pg $CFLAGS"
1922 CXXFLAGS
="$WARNINGS -O2 -g -pg $CXXFLAGS"
1923 LDFLAGS
="-g -pg $LDFLAGS"
1925 else if test "x$OPTIMIZE" '!=' "x"; then
1926 CFLAGS
="$WARNINGS -O3 -fomit-frame-pointer -Winline $CFLAGS"
1927 CXXFLAGS
="$WARNINGS -O3 -fomit-frame-pointer -Winline $CXXFLAGS"
1929 CFLAGS
="$WARNINGS -O -fomit-frame-pointer $CFLAGS"
1930 CXXFLAGS
="$WARNINGS -O -fomit-frame-pointer $CXXFLAGS"
1934 CFLAGS
="-fPIC $CFLAGS"
1935 CXXFLAGS
="-fPIC $CFLAGS"
1938 #if test "x$OLDGCC" '!=' "x";then
1939 # #CFLAGS="$CFLAGS --std=c89 -ansi -pendantic"
1940 # #CXXFLAGS="$CXXFLAGS --std=c89 -ansi -pendantic"
1941 # CFLAGS="$CFLAGS -ansi -pendantic"
1942 # CXXFLAGS="$CXXFLAGS -ansi -pendantic"
1945 export PACKAGE VERSION CFLAGS CXXFLAGS
1949 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1950 if test -f "$ac_dir/install-sh"; then
1952 ac_install_sh
="$ac_aux_dir/install-sh -c"
1954 elif test -f "$ac_dir/install.sh"; then
1956 ac_install_sh
="$ac_aux_dir/install.sh -c"
1958 elif test -f "$ac_dir/shtool"; then
1960 ac_install_sh
="$ac_aux_dir/shtool install -c"
1964 if test -z "$ac_aux_dir"; then
1965 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1966 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1967 { (exit 1); exit 1; }; }
1970 # These three variables are undocumented and unsupported,
1971 # and are intended to be withdrawn in a future Autoconf release.
1972 # They can cause serious problems if a builder's source tree is in a directory
1973 # whose full name contains unusual characters.
1974 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1975 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1976 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1979 # Make sure we can run config.sub.
1980 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
1981 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1982 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1983 { (exit 1); exit 1; }; }
1985 { $as_echo "$as_me:$LINENO: checking build system type" >&5
1986 $as_echo_n "checking build system type... " >&6; }
1987 if test "${ac_cv_build+set}" = set; then
1988 $as_echo_n "(cached) " >&6
1990 ac_build_alias
=$build_alias
1991 test "x$ac_build_alias" = x
&&
1992 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
1993 test "x$ac_build_alias" = x
&&
1994 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1995 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1996 { (exit 1); exit 1; }; }
1997 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1998 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1999 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2000 { (exit 1); exit 1; }; }
2003 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2004 $as_echo "$ac_cv_build" >&6; }
2005 case $ac_cv_build in
2007 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2008 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2009 { (exit 1); exit 1; }; };;
2012 ac_save_IFS
=$IFS; IFS
='-'
2018 # Remember, the first character of IFS is used to create $*,
2019 # except with old shells:
2022 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2025 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2026 $as_echo_n "checking host system type... " >&6; }
2027 if test "${ac_cv_host+set}" = set; then
2028 $as_echo_n "(cached) " >&6
2030 if test "x$host_alias" = x
; then
2031 ac_cv_host
=$ac_cv_build
2033 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2034 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2035 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2036 { (exit 1); exit 1; }; }
2040 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2041 $as_echo "$ac_cv_host" >&6; }
2044 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2045 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2046 { (exit 1); exit 1; }; };;
2049 ac_save_IFS
=$IFS; IFS
='-'
2055 # Remember, the first character of IFS is used to create $*,
2056 # except with old shells:
2059 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2069 CXXFLAGS
="$CXXFLAGS -fno-rtti"
2071 if test -d /opt
/local
/include
&& test -d /opt
/local
/lib
; then
2072 CPPFLAGS
="${CPPFLAGS} -I/opt/local/include"
2073 LDFLAGS
="${LDFLAGS} -L/opt/local/lib"
2075 # Use fink packages if available.
2076 #if test -d /sw/include && test -d /sw/lib; then
2077 # CPPFLAGS="${CPPFLAGS} -I/sw/include"
2078 # LDFLAGS="${LDFLAGS} -L/sw/lib"
2086 ac_cpp
='$CPP $CPPFLAGS'
2087 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2088 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2089 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2090 if test -n "$ac_tool_prefix"; then
2091 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2092 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2093 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2094 $as_echo_n "checking for $ac_word... " >&6; }
2095 if test "${ac_cv_prog_CC+set}" = set; then
2096 $as_echo_n "(cached) " >&6
2098 if test -n "$CC"; then
2099 ac_cv_prog_CC
="$CC" # Let the user override the test.
2101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2105 test -z "$as_dir" && as_dir
=.
2106 for ac_exec_ext
in '' $ac_executable_extensions; do
2107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2108 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2109 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2119 if test -n "$CC"; then
2120 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2121 $as_echo "$CC" >&6; }
2123 { $as_echo "$as_me:$LINENO: result: no" >&5
2124 $as_echo "no" >&6; }
2129 if test -z "$ac_cv_prog_CC"; then
2131 # Extract the first word of "gcc", so it can be a program name with args.
2132 set dummy gcc
; ac_word
=$2
2133 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2134 $as_echo_n "checking for $ac_word... " >&6; }
2135 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2136 $as_echo_n "(cached) " >&6
2138 if test -n "$ac_ct_CC"; then
2139 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2145 test -z "$as_dir" && as_dir
=.
2146 for ac_exec_ext
in '' $ac_executable_extensions; do
2147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2148 ac_cv_prog_ac_ct_CC
="gcc"
2149 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2158 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2159 if test -n "$ac_ct_CC"; then
2160 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2161 $as_echo "$ac_ct_CC" >&6; }
2163 { $as_echo "$as_me:$LINENO: result: no" >&5
2164 $as_echo "no" >&6; }
2167 if test "x$ac_ct_CC" = x
; then
2170 case $cross_compiling:$ac_tool_warned in
2172 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2173 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2174 ac_tool_warned
=yes ;;
2182 if test -z "$CC"; then
2183 if test -n "$ac_tool_prefix"; then
2184 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2185 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2186 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2187 $as_echo_n "checking for $ac_word... " >&6; }
2188 if test "${ac_cv_prog_CC+set}" = set; then
2189 $as_echo_n "(cached) " >&6
2191 if test -n "$CC"; then
2192 ac_cv_prog_CC
="$CC" # Let the user override the test.
2194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2198 test -z "$as_dir" && as_dir
=.
2199 for ac_exec_ext
in '' $ac_executable_extensions; do
2200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2201 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2202 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2212 if test -n "$CC"; then
2213 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2214 $as_echo "$CC" >&6; }
2216 { $as_echo "$as_me:$LINENO: result: no" >&5
2217 $as_echo "no" >&6; }
2223 if test -z "$CC"; then
2224 # Extract the first word of "cc", so it can be a program name with args.
2225 set dummy cc
; ac_word
=$2
2226 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2227 $as_echo_n "checking for $ac_word... " >&6; }
2228 if test "${ac_cv_prog_CC+set}" = set; then
2229 $as_echo_n "(cached) " >&6
2231 if test -n "$CC"; then
2232 ac_cv_prog_CC
="$CC" # Let the user override the test.
2235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2239 test -z "$as_dir" && as_dir
=.
2240 for ac_exec_ext
in '' $ac_executable_extensions; do
2241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2242 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2243 ac_prog_rejected
=yes
2247 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2254 if test $ac_prog_rejected = yes; then
2255 # We found a bogon in the path, so make sure we never use it.
2256 set dummy
$ac_cv_prog_CC
2258 if test $# != 0; then
2259 # We chose a different compiler from the bogus one.
2260 # However, it has the same basename, so the bogon will be chosen
2261 # first if we set CC to just the basename; use the full file name.
2263 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2269 if test -n "$CC"; then
2270 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2271 $as_echo "$CC" >&6; }
2273 { $as_echo "$as_me:$LINENO: result: no" >&5
2274 $as_echo "no" >&6; }
2279 if test -z "$CC"; then
2280 if test -n "$ac_tool_prefix"; then
2281 for ac_prog
in cl.exe
2283 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2284 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2285 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2286 $as_echo_n "checking for $ac_word... " >&6; }
2287 if test "${ac_cv_prog_CC+set}" = set; then
2288 $as_echo_n "(cached) " >&6
2290 if test -n "$CC"; then
2291 ac_cv_prog_CC
="$CC" # Let the user override the test.
2293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2297 test -z "$as_dir" && as_dir
=.
2298 for ac_exec_ext
in '' $ac_executable_extensions; do
2299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2300 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2301 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2311 if test -n "$CC"; then
2312 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2313 $as_echo "$CC" >&6; }
2315 { $as_echo "$as_me:$LINENO: result: no" >&5
2316 $as_echo "no" >&6; }
2320 test -n "$CC" && break
2323 if test -z "$CC"; then
2325 for ac_prog
in cl.exe
2327 # Extract the first word of "$ac_prog", so it can be a program name with args.
2328 set dummy
$ac_prog; ac_word
=$2
2329 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2330 $as_echo_n "checking for $ac_word... " >&6; }
2331 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2332 $as_echo_n "(cached) " >&6
2334 if test -n "$ac_ct_CC"; then
2335 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2337 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2341 test -z "$as_dir" && as_dir
=.
2342 for ac_exec_ext
in '' $ac_executable_extensions; do
2343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2344 ac_cv_prog_ac_ct_CC
="$ac_prog"
2345 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2354 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2355 if test -n "$ac_ct_CC"; then
2356 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2357 $as_echo "$ac_ct_CC" >&6; }
2359 { $as_echo "$as_me:$LINENO: result: no" >&5
2360 $as_echo "no" >&6; }
2364 test -n "$ac_ct_CC" && break
2367 if test "x$ac_ct_CC" = x
; then
2370 case $cross_compiling:$ac_tool_warned in
2372 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2373 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2374 ac_tool_warned
=yes ;;
2383 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2384 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2385 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2386 See \`config.log' for more details." >&5
2387 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2388 See \`config.log' for more details." >&2;}
2389 { (exit 1); exit 1; }; }; }
2391 # Provide some information about the compiler.
2392 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2395 { (ac_try
="$ac_compiler --version >&5"
2397 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2398 *) ac_try_echo=$ac_try;;
2400 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2401 $as_echo "$ac_try_echo") >&5
2402 (eval "$ac_compiler --version >&5") 2>&5
2404 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2405 (exit $ac_status); }
2406 { (ac_try="$ac_compiler -v >&5"
2408 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2409 *) ac_try_echo
=$ac_try;;
2411 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2412 $as_echo "$ac_try_echo") >&5
2413 (eval "$ac_compiler -v >&5") 2>&5
2415 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2416 (exit $ac_status); }
2417 { (ac_try
="$ac_compiler -V >&5"
2419 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2420 *) ac_try_echo=$ac_try;;
2422 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2423 $as_echo "$ac_try_echo") >&5
2424 (eval "$ac_compiler -V >&5") 2>&5
2426 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2427 (exit $ac_status); }
2429 cat >conftest.$ac_ext <<_ACEOF
2432 cat confdefs.h >>conftest.$ac_ext
2433 cat >>conftest.$ac_ext <<_ACEOF
2434 /* end confdefs.h. */
2444 ac_clean_files_save=$ac_clean_files
2445 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2446 # Try to create an executable without -o first, disregard a.out.
2447 # It will help us diagnose broken compilers, and finding out an intuition
2449 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2450 $as_echo_n "checking for C compiler default output file name... " >&6; }
2451 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2453 # The possible output files:
2454 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2457 for ac_file in $ac_files
2460 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2461 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2466 if { (ac_try="$ac_link_default"
2468 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2469 *) ac_try_echo
=$ac_try;;
2471 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2472 $as_echo "$ac_try_echo") >&5
2473 (eval "$ac_link_default") 2>&5
2475 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2476 (exit $ac_status); }; then
2477 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2478 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2479 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2480 # so that the user can short-circuit this test for compilers unknown to
2482 for ac_file
in $ac_files ''
2484 test -f "$ac_file" ||
continue
2486 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2489 # We found the default executable, but exeext='' is most
2493 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2495 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2497 # We set ac_cv_exeext here because the later test for it is not
2498 # safe: cross compilers may not add the suffix if given an `-o'
2499 # argument, so we may need to know it at that point already.
2500 # Even if this section looks crufty: it has the advantage of
2507 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2513 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2514 $as_echo "$ac_file" >&6; }
2515 if test -z "$ac_file"; then
2516 $as_echo "$as_me: failed program was:" >&5
2517 sed 's/^/| /' conftest.
$ac_ext >&5
2519 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2520 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2521 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2522 See \`config.log' for more details." >&5
2523 $as_echo "$as_me: error: C compiler cannot create executables
2524 See \`config.log' for more details." >&2;}
2525 { (exit 77); exit 77; }; }; }
2528 ac_exeext
=$ac_cv_exeext
2530 # Check that the compiler produces executables we can run. If not, either
2531 # the compiler is broken, or we cross compile.
2532 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2533 $as_echo_n "checking whether the C compiler works... " >&6; }
2534 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2535 # If not cross compiling, check that we can run a simple program.
2536 if test "$cross_compiling" != yes; then
2537 if { ac_try
='./$ac_file'
2538 { (case "(($ac_try" in
2539 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2540 *) ac_try_echo=$ac_try;;
2542 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2543 $as_echo "$ac_try_echo") >&5
2544 (eval "$ac_try") 2>&5
2546 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2547 (exit $ac_status); }; }; then
2550 if test "$cross_compiling" = maybe; then
2553 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2554 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2555 { { $as_echo "$as_me:$LINENO: error
: cannot run C compiled programs.
2556 If you meant to cross compile
, use \
`--host'.
2557 See \`config.log
' for more details." >&5
2558 $as_echo "$as_me: error: cannot run C compiled programs.
2559 If you meant to cross compile, use \`--host'.
2560 See \
`config.log' for more details." >&2;}
2561 { (exit 1); exit 1; }; }; }
2565 { $as_echo "$as_me:$LINENO: result: yes" >&5
2566 $as_echo "yes" >&6; }
2568 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2569 ac_clean_files=$ac_clean_files_save
2570 # Check that the compiler produces executables we can run. If not, either
2571 # the compiler is broken, or we cross compile.
2572 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2573 $as_echo_n "checking whether we are cross compiling... " >&6; }
2574 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2575 $as_echo "$cross_compiling" >&6; }
2577 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2578 $as_echo_n "checking for suffix of executables... " >&6; }
2579 if { (ac_try="$ac_link"
2581 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2582 *) ac_try_echo
=$ac_try;;
2584 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2585 $as_echo "$ac_try_echo") >&5
2586 (eval "$ac_link") 2>&5
2588 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2589 (exit $ac_status); }; then
2590 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2591 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2592 # work properly (i.e., refer to `conftest.exe'), while it won't with
2594 for ac_file
in conftest.exe conftest conftest.
*; do
2595 test -f "$ac_file" ||
continue
2597 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2598 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2604 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2605 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2606 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2607 See \`config.log' for more details." >&5
2608 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2609 See \`config.log' for more details." >&2;}
2610 { (exit 1); exit 1; }; }; }
2613 rm -f conftest
$ac_cv_exeext
2614 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2615 $as_echo "$ac_cv_exeext" >&6; }
2617 rm -f conftest.
$ac_ext
2618 EXEEXT
=$ac_cv_exeext
2620 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2621 $as_echo_n "checking for suffix of object files... " >&6; }
2622 if test "${ac_cv_objext+set}" = set; then
2623 $as_echo_n "(cached) " >&6
2625 cat >conftest.
$ac_ext <<_ACEOF
2628 cat confdefs.h
>>conftest.
$ac_ext
2629 cat >>conftest.
$ac_ext <<_ACEOF
2630 /* end confdefs.h. */
2640 rm -f conftest.o conftest.obj
2641 if { (ac_try
="$ac_compile"
2643 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2644 *) ac_try_echo=$ac_try;;
2646 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2647 $as_echo "$ac_try_echo") >&5
2648 (eval "$ac_compile") 2>&5
2650 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2651 (exit $ac_status); }; then
2652 for ac_file in conftest.o conftest.obj conftest.*; do
2653 test -f "$ac_file" || continue;
2655 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2656 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2661 $as_echo "$as_me: failed program was:" >&5
2662 sed 's/^/| /' conftest.$ac_ext >&5
2664 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2665 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2666 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of object files
: cannot compile
2667 See \
`config.log' for more details." >&5
2668 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2669 See \`config.log
' for more details." >&2;}
2670 { (exit 1); exit 1; }; }; }
2673 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2675 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2676 $as_echo "$ac_cv_objext" >&6; }
2677 OBJEXT=$ac_cv_objext
2679 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2680 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2681 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2682 $as_echo_n "(cached) " >&6
2684 cat >conftest.$ac_ext <<_ACEOF
2687 cat confdefs.h >>conftest.$ac_ext
2688 cat >>conftest.$ac_ext <<_ACEOF
2689 /* end confdefs.h. */
2702 rm -f conftest.$ac_objext
2703 if { (ac_try="$ac_compile"
2705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2706 *) ac_try_echo=$ac_try;;
2708 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2709 $as_echo "$ac_try_echo") >&5
2710 (eval "$ac_compile") 2>conftest.er1
2712 grep -v '^
*+' conftest.er1 >conftest.err
2714 cat conftest.err >&5
2715 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2716 (exit $ac_status); } && {
2717 test -z "$ac_c_werror_flag" ||
2718 test ! -s conftest.err
2719 } && test -s conftest.$ac_objext; then
2722 $as_echo "$as_me: failed program was:" >&5
2723 sed 's
/^
/|
/' conftest.$ac_ext >&5
2728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2729 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2732 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2733 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2734 if test $ac_compiler_gnu = yes; then
2739 ac_test_CFLAGS=${CFLAGS+set}
2740 ac_save_CFLAGS=$CFLAGS
2741 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2742 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2743 if test "${ac_cv_prog_cc_g+set}" = set; then
2744 $as_echo_n "(cached) " >&6
2746 ac_save_c_werror_flag=$ac_c_werror_flag
2747 ac_c_werror_flag=yes
2750 cat >conftest.$ac_ext <<_ACEOF
2753 cat confdefs.h >>conftest.$ac_ext
2754 cat >>conftest.$ac_ext <<_ACEOF
2755 /* end confdefs.h. */
2765 rm -f conftest.$ac_objext
2766 if { (ac_try="$ac_compile"
2768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2769 *) ac_try_echo=$ac_try;;
2771 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2772 $as_echo "$ac_try_echo") >&5
2773 (eval "$ac_compile") 2>conftest.er1
2775 grep -v '^
*+' conftest.er1 >conftest.err
2777 cat conftest.err >&5
2778 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2779 (exit $ac_status); } && {
2780 test -z "$ac_c_werror_flag" ||
2781 test ! -s conftest.err
2782 } && test -s conftest.$ac_objext; then
2785 $as_echo "$as_me: failed program was:" >&5
2786 sed 's
/^
/|
/' conftest.$ac_ext >&5
2789 cat >conftest.$ac_ext <<_ACEOF
2792 cat confdefs.h >>conftest.$ac_ext
2793 cat >>conftest.$ac_ext <<_ACEOF
2794 /* end confdefs.h. */
2804 rm -f conftest.$ac_objext
2805 if { (ac_try="$ac_compile"
2807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2808 *) ac_try_echo=$ac_try;;
2810 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2811 $as_echo "$ac_try_echo") >&5
2812 (eval "$ac_compile") 2>conftest.er1
2814 grep -v '^
*+' conftest.er1 >conftest.err
2816 cat conftest.err >&5
2817 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2818 (exit $ac_status); } && {
2819 test -z "$ac_c_werror_flag" ||
2820 test ! -s conftest.err
2821 } && test -s conftest.$ac_objext; then
2824 $as_echo "$as_me: failed program was:" >&5
2825 sed 's
/^
/|
/' conftest.$ac_ext >&5
2827 ac_c_werror_flag=$ac_save_c_werror_flag
2829 cat >conftest.$ac_ext <<_ACEOF
2832 cat confdefs.h >>conftest.$ac_ext
2833 cat >>conftest.$ac_ext <<_ACEOF
2834 /* end confdefs.h. */
2844 rm -f conftest.$ac_objext
2845 if { (ac_try="$ac_compile"
2847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2848 *) ac_try_echo=$ac_try;;
2850 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2851 $as_echo "$ac_try_echo") >&5
2852 (eval "$ac_compile") 2>conftest.er1
2854 grep -v '^
*+' conftest.er1 >conftest.err
2856 cat conftest.err >&5
2857 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2858 (exit $ac_status); } && {
2859 test -z "$ac_c_werror_flag" ||
2860 test ! -s conftest.err
2861 } && test -s conftest.$ac_objext; then
2864 $as_echo "$as_me: failed program was:" >&5
2865 sed 's
/^
/|
/' conftest.$ac_ext >&5
2870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2877 ac_c_werror_flag=$ac_save_c_werror_flag
2879 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2880 $as_echo "$ac_cv_prog_cc_g" >&6; }
2881 if test "$ac_test_CFLAGS" = set; then
2882 CFLAGS=$ac_save_CFLAGS
2883 elif test $ac_cv_prog_cc_g = yes; then
2884 if test "$GCC" = yes; then
2890 if test "$GCC" = yes; then
2896 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2897 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2898 if test "${ac_cv_prog_cc_c89+set}" = set; then
2899 $as_echo_n "(cached) " >&6
2901 ac_cv_prog_cc_c89=no
2903 cat >conftest.$ac_ext <<_ACEOF
2906 cat confdefs.h >>conftest.$ac_ext
2907 cat >>conftest.$ac_ext <<_ACEOF
2908 /* end confdefs.h. */
2911 #include <sys/types.h>
2912 #include <sys/stat.h>
2913 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
2914 struct buf
{ int x
; };
2915 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
2916 static char
*e
(p
, i
)
2922 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
2927 s
= g
(p
, va_arg
(v
,int
));
2932 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
2933 function prototypes and stuff
, but not
'\xHH' hex character constants.
2934 These don
't provoke an error unfortunately, instead are silently treated
2935 as 'x
'. The following induces an error, until -std is added to get
2936 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
2937 array size at least. It's necessary to
write '\x00'==0 to get something
2938 that
's true only with -std. */
2939 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2941 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2942 inside strings and character constants. */
2944 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
2946 int test (int i, double x);
2947 struct s1 {int (*f) (int a);};
2948 struct s2 {int (*f) (double a);};
2949 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2955 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2960 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2961 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2963 CC="$ac_save_CC $ac_arg"
2964 rm -f conftest.$ac_objext
2965 if { (ac_try="$ac_compile"
2967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2968 *) ac_try_echo=$ac_try;;
2970 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2971 $as_echo "$ac_try_echo") >&5
2972 (eval "$ac_compile") 2>conftest.er1
2974 grep -v '^
*+' conftest.er1 >conftest.err
2976 cat conftest.err >&5
2977 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2978 (exit $ac_status); } && {
2979 test -z "$ac_c_werror_flag" ||
2980 test ! -s conftest.err
2981 } && test -s conftest.$ac_objext; then
2982 ac_cv_prog_cc_c89=$ac_arg
2984 $as_echo "$as_me: failed program was:" >&5
2985 sed 's
/^
/|
/' conftest.$ac_ext >&5
2990 rm -f core conftest.err conftest.$ac_objext
2991 test "x$ac_cv_prog_cc_c89" != "xno" && break
2993 rm -f conftest.$ac_ext
2998 case "x$ac_cv_prog_cc_c89" in
3000 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3001 $as_echo "none needed" >&6; } ;;
3003 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3004 $as_echo "unsupported" >&6; } ;;
3006 CC="$CC $ac_cv_prog_cc_c89"
3007 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3008 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3013 ac_cpp='$CPP $CPPFLAGS'
3014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3015 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3019 ac_cpp='$CXXCPP $CPPFLAGS'
3020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3021 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3023 if test -z "$CXX"; then
3024 if test -n "$CCC"; then
3027 if test -n "$ac_tool_prefix"; then
3028 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3030 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3031 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3032 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3033 $as_echo_n "checking for $ac_word... " >&6; }
3034 if test "${ac_cv_prog_CXX+set}" = set; then
3035 $as_echo_n "(cached) " >&6
3037 if test -n "$CXX"; then
3038 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3044 test -z "$as_dir" && as_dir=.
3045 for ac_exec_ext in '' $ac_executable_extensions; do
3046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3047 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3048 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3058 if test -n "$CXX"; then
3059 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
3060 $as_echo "$CXX" >&6; }
3062 { $as_echo "$as_me:$LINENO: result: no" >&5
3063 $as_echo "no" >&6; }
3067 test -n "$CXX" && break
3070 if test -z "$CXX"; then
3072 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3074 # Extract the first word of "$ac_prog", so it can be a program name with args.
3075 set dummy $ac_prog; ac_word=$2
3076 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3077 $as_echo_n "checking for $ac_word... " >&6; }
3078 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3079 $as_echo_n "(cached) " >&6
3081 if test -n "$ac_ct_CXX"; then
3082 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3088 test -z "$as_dir" && as_dir=.
3089 for ac_exec_ext in '' $ac_executable_extensions; do
3090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3091 ac_cv_prog_ac_ct_CXX="$ac_prog"
3092 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3101 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3102 if test -n "$ac_ct_CXX"; then
3103 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3104 $as_echo "$ac_ct_CXX" >&6; }
3106 { $as_echo "$as_me:$LINENO: result: no" >&5
3107 $as_echo "no" >&6; }
3111 test -n "$ac_ct_CXX" && break
3114 if test "x$ac_ct_CXX" = x; then
3117 case $cross_compiling:$ac_tool_warned in
3119 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3120 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3121 ac_tool_warned=yes ;;
3129 # Provide some information about the compiler.
3130 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3133 { (ac_try="$ac_compiler --version >&5"
3135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3136 *) ac_try_echo=$ac_try;;
3138 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3139 $as_echo "$ac_try_echo") >&5
3140 (eval "$ac_compiler --version >&5") 2>&5
3142 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3143 (exit $ac_status); }
3144 { (ac_try="$ac_compiler -v >&5"
3146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3147 *) ac_try_echo=$ac_try;;
3149 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3150 $as_echo "$ac_try_echo") >&5
3151 (eval "$ac_compiler -v >&5") 2>&5
3153 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3154 (exit $ac_status); }
3155 { (ac_try="$ac_compiler -V >&5"
3157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3158 *) ac_try_echo=$ac_try;;
3160 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3161 $as_echo "$ac_try_echo") >&5
3162 (eval "$ac_compiler -V >&5") 2>&5
3164 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3165 (exit $ac_status); }
3167 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3168 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3169 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3170 $as_echo_n "(cached) " >&6
3172 cat >conftest.$ac_ext <<_ACEOF
3175 cat confdefs.h >>conftest.$ac_ext
3176 cat >>conftest.$ac_ext <<_ACEOF
3177 /* end confdefs.h. */
3190 rm -f conftest.$ac_objext
3191 if { (ac_try="$ac_compile"
3193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3194 *) ac_try_echo=$ac_try;;
3196 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3197 $as_echo "$ac_try_echo") >&5
3198 (eval "$ac_compile") 2>conftest.er1
3200 grep -v '^
*+' conftest.er1 >conftest.err
3202 cat conftest.err >&5
3203 $as_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
3210 $as_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
3217 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3220 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3221 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3222 if test $ac_compiler_gnu = yes; then
3227 ac_test_CXXFLAGS=${CXXFLAGS+set}
3228 ac_save_CXXFLAGS=$CXXFLAGS
3229 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3230 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3231 if test "${ac_cv_prog_cxx_g+set}" = set; then
3232 $as_echo_n "(cached) " >&6
3234 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3235 ac_cxx_werror_flag=yes
3238 cat >conftest.$ac_ext <<_ACEOF
3241 cat confdefs.h >>conftest.$ac_ext
3242 cat >>conftest.$ac_ext <<_ACEOF
3243 /* end confdefs.h. */
3253 rm -f conftest.$ac_objext
3254 if { (ac_try="$ac_compile"
3256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3257 *) ac_try_echo=$ac_try;;
3259 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3260 $as_echo "$ac_try_echo") >&5
3261 (eval "$ac_compile") 2>conftest.er1
3263 grep -v '^
*+' conftest.er1 >conftest.err
3265 cat conftest.err >&5
3266 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3267 (exit $ac_status); } && {
3268 test -z "$ac_cxx_werror_flag" ||
3269 test ! -s conftest.err
3270 } && test -s conftest.$ac_objext; then
3271 ac_cv_prog_cxx_g=yes
3273 $as_echo "$as_me: failed program was:" >&5
3274 sed 's
/^
/|
/' conftest.$ac_ext >&5
3277 cat >conftest.$ac_ext <<_ACEOF
3280 cat confdefs.h >>conftest.$ac_ext
3281 cat >>conftest.$ac_ext <<_ACEOF
3282 /* end confdefs.h. */
3292 rm -f conftest.$ac_objext
3293 if { (ac_try="$ac_compile"
3295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3296 *) ac_try_echo=$ac_try;;
3298 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3299 $as_echo "$ac_try_echo") >&5
3300 (eval "$ac_compile") 2>conftest.er1
3302 grep -v '^
*+' conftest.er1 >conftest.err
3304 cat conftest.err >&5
3305 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3306 (exit $ac_status); } && {
3307 test -z "$ac_cxx_werror_flag" ||
3308 test ! -s conftest.err
3309 } && test -s conftest.$ac_objext; then
3312 $as_echo "$as_me: failed program was:" >&5
3313 sed 's
/^
/|
/' conftest.$ac_ext >&5
3315 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3317 cat >conftest.$ac_ext <<_ACEOF
3320 cat confdefs.h >>conftest.$ac_ext
3321 cat >>conftest.$ac_ext <<_ACEOF
3322 /* end confdefs.h. */
3332 rm -f conftest.$ac_objext
3333 if { (ac_try="$ac_compile"
3335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3336 *) ac_try_echo=$ac_try;;
3338 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3339 $as_echo "$ac_try_echo") >&5
3340 (eval "$ac_compile") 2>conftest.er1
3342 grep -v '^
*+' conftest.er1 >conftest.err
3344 cat conftest.err >&5
3345 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3346 (exit $ac_status); } && {
3347 test -z "$ac_cxx_werror_flag" ||
3348 test ! -s conftest.err
3349 } && test -s conftest.$ac_objext; then
3350 ac_cv_prog_cxx_g=yes
3352 $as_echo "$as_me: failed program was:" >&5
3353 sed 's
/^
/|
/' conftest.$ac_ext >&5
3358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3365 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3367 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3368 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3369 if test "$ac_test_CXXFLAGS" = set; then
3370 CXXFLAGS=$ac_save_CXXFLAGS
3371 elif test $ac_cv_prog_cxx_g = yes; then
3372 if test "$GXX" = yes; then
3378 if test "$GXX" = yes; then
3385 ac_cpp='$CPP $CPPFLAGS'
3386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3387 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3393 { $as_echo "$as_me:$LINENO: checking whether gcc supports lazy variable declaration" >&5
3394 $as_echo_n "checking whether gcc supports lazy variable declaration... " >&6; }
3396 cat > conftest.c << EOF
3400 int main (int argc, char*argv)
3410 testprog_link='$CC $CPPFLAGS $CFLAGS conftest.c
-o conftest
${ac_exeext}'
3411 if { (eval echo gcc.2.95.m4:19: \"$testprog_link\") 1>&5; (eval $testprog_link) 2>&5; } && test -s conftest${ac_exeext}; then
3412 { $as_echo "$as_me:$LINENO: result: yes" >&5
3413 $as_echo "yes" >&6; }
3417 echo "configure: failed program was:" >&5
3419 { $as_echo "$as_me:$LINENO: result: no" >&5
3420 $as_echo "no" >&6; }
3425 if test "x$GCC_IS_OK" '=' "x";then
3426 echo "***************************************************"
3427 echo "* Your gcc is too old to compile this!"
3429 echo "* The last version compileable by this compiler is "
3430 echo "* swftools 0.7.0, which you can download from "
3431 echo "* http://www.swftools.org/swftools-0.7.0.tar.gz "
3433 echo "* Newer versions require at least gcc 3.0.0 "
3434 echo "***************************************************"
3438 if test "x$CHECKMEM" '!=' "x";then
3442 #unset ac_cv_prog_CC
3443 #unset ac_cv_prog_CXX
3448 ac_cpp='$CPP $CPPFLAGS'
3449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3450 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3452 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3453 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3454 # On Suns, sometimes $CPP names a directory.
3455 if test -n "$CPP" && test -d "$CPP"; then
3458 if test -z "$CPP"; then
3459 if test "${ac_cv_prog_CPP+set}" = set; then
3460 $as_echo_n "(cached) " >&6
3462 # Double quotes because CPP needs to be expanded
3463 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3466 for ac_c_preproc_warn_flag in '' yes
3468 # Use a header file that comes with gcc, so configuring glibc
3469 # with a fresh cross-compiler works.
3470 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3471 # <limits.h> exists even on freestanding compilers.
3472 # On the NeXT, cc -E runs the code through the compiler's parser
,
3473 # not just through cpp. "Syntax error" is here to catch this case.
3474 cat >conftest.
$ac_ext <<_ACEOF
3477 cat confdefs.h
>>conftest.
$ac_ext
3478 cat >>conftest.
$ac_ext <<_ACEOF
3479 /* end confdefs.h. */
3481 # include <limits.h>
3483 # include <assert.h>
3487 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3489 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3490 *) ac_try_echo=$ac_try;;
3492 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3493 $as_echo "$ac_try_echo") >&5
3494 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3496 grep -v '^ *+' conftest.er1 >conftest.err
3498 cat conftest.err >&5
3499 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3500 (exit $ac_status); } >/dev/null && {
3501 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3502 test ! -s conftest.err
3506 $as_echo "$as_me: failed program was:" >&5
3507 sed 's/^/| /' conftest.$ac_ext >&5
3509 # Broken: fails on valid input.
3513 rm -f conftest.err conftest.$ac_ext
3515 # OK, works on sane cases. Now check whether nonexistent headers
3516 # can be detected and how.
3517 cat >conftest.$ac_ext <<_ACEOF
3520 cat confdefs.h >>conftest.$ac_ext
3521 cat >>conftest.$ac_ext <<_ACEOF
3522 /* end confdefs.h. */
3523 #include <ac_nonexistent.h>
3525 if { (ac_try="$ac_cpp conftest.$ac_ext"
3527 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3528 *) ac_try_echo
=$ac_try;;
3530 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3531 $as_echo "$ac_try_echo") >&5
3532 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3534 grep -v '^ *+' conftest.er1
>conftest.err
3536 cat conftest.err
>&5
3537 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3538 (exit $ac_status); } >/dev
/null
&& {
3539 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3540 test ! -s conftest.err
3542 # Broken: success on invalid input.
3545 $as_echo "$as_me: failed program was:" >&5
3546 sed 's/^/| /' conftest.
$ac_ext >&5
3548 # Passes both tests.
3553 rm -f conftest.err conftest.
$ac_ext
3556 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3557 rm -f conftest.err conftest.
$ac_ext
3558 if $ac_preproc_ok; then
3570 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3571 $as_echo "$CPP" >&6; }
3573 for ac_c_preproc_warn_flag
in '' yes
3575 # Use a header file that comes with gcc, so configuring glibc
3576 # with a fresh cross-compiler works.
3577 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3578 # <limits.h> exists even on freestanding compilers.
3579 # On the NeXT, cc -E runs the code through the compiler's parser,
3580 # not just through cpp. "Syntax error" is here to catch this case.
3581 cat >conftest.
$ac_ext <<_ACEOF
3584 cat confdefs.h
>>conftest.
$ac_ext
3585 cat >>conftest.
$ac_ext <<_ACEOF
3586 /* end confdefs.h. */
3588 # include <limits.h>
3590 # include <assert.h>
3594 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3596 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3597 *) ac_try_echo=$ac_try;;
3599 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3600 $as_echo "$ac_try_echo") >&5
3601 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3603 grep -v '^ *+' conftest.er1 >conftest.err
3605 cat conftest.err >&5
3606 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3607 (exit $ac_status); } >/dev/null && {
3608 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3609 test ! -s conftest.err
3613 $as_echo "$as_me: failed program was:" >&5
3614 sed 's/^/| /' conftest.$ac_ext >&5
3616 # Broken: fails on valid input.
3620 rm -f conftest.err conftest.$ac_ext
3622 # OK, works on sane cases. Now check whether nonexistent headers
3623 # can be detected and how.
3624 cat >conftest.$ac_ext <<_ACEOF
3627 cat confdefs.h >>conftest.$ac_ext
3628 cat >>conftest.$ac_ext <<_ACEOF
3629 /* end confdefs.h. */
3630 #include <ac_nonexistent.h>
3632 if { (ac_try="$ac_cpp conftest.$ac_ext"
3634 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3635 *) ac_try_echo
=$ac_try;;
3637 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3638 $as_echo "$ac_try_echo") >&5
3639 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3641 grep -v '^ *+' conftest.er1
>conftest.err
3643 cat conftest.err
>&5
3644 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3645 (exit $ac_status); } >/dev
/null
&& {
3646 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3647 test ! -s conftest.err
3649 # Broken: success on invalid input.
3652 $as_echo "$as_me: failed program was:" >&5
3653 sed 's/^/| /' conftest.
$ac_ext >&5
3655 # Passes both tests.
3660 rm -f conftest.err conftest.
$ac_ext
3663 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3664 rm -f conftest.err conftest.
$ac_ext
3665 if $ac_preproc_ok; then
3668 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3669 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3670 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3671 See \`config.log' for more details." >&5
3672 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3673 See \`config.log' for more details." >&2;}
3674 { (exit 1); exit 1; }; }; }
3678 ac_cpp
='$CPP $CPPFLAGS'
3679 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3680 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3681 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3684 if test -n "$ac_tool_prefix"; then
3685 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3686 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3687 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3688 $as_echo_n "checking for $ac_word... " >&6; }
3689 if test "${ac_cv_prog_RANLIB+set}" = set; then
3690 $as_echo_n "(cached) " >&6
3692 if test -n "$RANLIB"; then
3693 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3699 test -z "$as_dir" && as_dir
=.
3700 for ac_exec_ext
in '' $ac_executable_extensions; do
3701 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3702 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3703 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3712 RANLIB
=$ac_cv_prog_RANLIB
3713 if test -n "$RANLIB"; then
3714 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
3715 $as_echo "$RANLIB" >&6; }
3717 { $as_echo "$as_me:$LINENO: result: no" >&5
3718 $as_echo "no" >&6; }
3723 if test -z "$ac_cv_prog_RANLIB"; then
3724 ac_ct_RANLIB
=$RANLIB
3725 # Extract the first word of "ranlib", so it can be a program name with args.
3726 set dummy ranlib
; ac_word
=$2
3727 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3728 $as_echo_n "checking for $ac_word... " >&6; }
3729 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3730 $as_echo_n "(cached) " >&6
3732 if test -n "$ac_ct_RANLIB"; then
3733 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3739 test -z "$as_dir" && as_dir
=.
3740 for ac_exec_ext
in '' $ac_executable_extensions; do
3741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3742 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3743 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3752 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3753 if test -n "$ac_ct_RANLIB"; then
3754 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3755 $as_echo "$ac_ct_RANLIB" >&6; }
3757 { $as_echo "$as_me:$LINENO: result: no" >&5
3758 $as_echo "no" >&6; }
3761 if test "x$ac_ct_RANLIB" = x
; then
3764 case $cross_compiling:$ac_tool_warned in
3766 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3767 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3768 ac_tool_warned
=yes ;;
3770 RANLIB
=$ac_ct_RANLIB
3773 RANLIB
="$ac_cv_prog_RANLIB"
3776 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3777 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3779 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3780 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3781 $as_echo_n "(cached) " >&6
3783 cat >conftest.
make <<\_ACEOF
3786 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3788 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3789 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3791 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3793 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3797 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3798 { $as_echo "$as_me:$LINENO: result: yes" >&5
3799 $as_echo "yes" >&6; }
3802 { $as_echo "$as_me:$LINENO: result: no" >&5
3803 $as_echo "no" >&6; }
3804 SET_MAKE
="MAKE=${MAKE-make}"
3807 # Find a good install program. We prefer a C program (faster),
3808 # so one script is as good as another. But avoid the broken or
3809 # incompatible versions:
3810 # SysV /etc/install, /usr/sbin/install
3811 # SunOS /usr/etc/install
3812 # IRIX /sbin/install
3814 # AmigaOS /C/install, which installs bootblocks on floppy discs
3815 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3816 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3817 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3818 # OS/2's system install, which has a completely different semantic
3819 # ./install, which can be erroneously created by make from ./install.sh.
3820 # Reject install programs that cannot install multiple files.
3821 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3822 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3823 if test -z "$INSTALL"; then
3824 if test "${ac_cv_path_install+set}" = set; then
3825 $as_echo_n "(cached) " >&6
3827 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3831 test -z "$as_dir" && as_dir
=.
3832 # Account for people who put trailing slashes in PATH elements.
3834 .
/ | .
// |
/cC
/* | \
3835 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3836 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3839 # OSF1 and SCO ODT 3.0 have their own names for install.
3840 # Don't use installbsd from OSF since it installs stuff as root
3842 for ac_prog
in ginstall scoinst
install; do
3843 for ac_exec_ext
in '' $ac_executable_extensions; do
3844 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3845 if test $ac_prog = install &&
3846 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3847 # AIX install. It has an incompatible calling convention.
3849 elif test $ac_prog = install &&
3850 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3851 # program-specific install script used by HP pwplus--don't use.
3854 rm -rf conftest.one conftest.two conftest.dir
3855 echo one
> conftest.one
3856 echo two
> conftest.two
3858 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3859 test -s conftest.one
&& test -s conftest.two
&&
3860 test -s conftest.dir
/conftest.one
&&
3861 test -s conftest.dir
/conftest.two
3863 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3876 rm -rf conftest.one conftest.two conftest.dir
3879 if test "${ac_cv_path_install+set}" = set; then
3880 INSTALL
=$ac_cv_path_install
3882 # As a last resort, use the slow shell script. Don't cache a
3883 # value for INSTALL within a source directory, because that will
3884 # break other packages using the cache if that directory is
3885 # removed, or if the value is a relative name.
3886 INSTALL
=$ac_install_sh
3889 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3890 $as_echo "$INSTALL" >&6; }
3892 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3893 # It thinks the first close brace ends the variable substitution.
3894 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3896 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3898 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3900 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
3901 $as_echo_n "checking whether ln -s works... " >&6; }
3903 if test "$LN_S" = "ln -s"; then
3904 { $as_echo "$as_me:$LINENO: result: yes" >&5
3905 $as_echo "yes" >&6; }
3907 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3908 $as_echo "no, using $LN_S" >&6; }
3911 for ac_prog
in gzip uncompress compress
3913 # Extract the first word of "$ac_prog", so it can be a program name with args.
3914 set dummy
$ac_prog; ac_word
=$2
3915 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3916 $as_echo_n "checking for $ac_word... " >&6; }
3917 if test "${ac_cv_prog_UNCOMPRESS+set}" = set; then
3918 $as_echo_n "(cached) " >&6
3920 if test -n "$UNCOMPRESS"; then
3921 ac_cv_prog_UNCOMPRESS
="$UNCOMPRESS" # Let the user override the test.
3923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3927 test -z "$as_dir" && as_dir
=.
3928 for ac_exec_ext
in '' $ac_executable_extensions; do
3929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3930 ac_cv_prog_UNCOMPRESS
="$ac_prog"
3931 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3940 UNCOMPRESS
=$ac_cv_prog_UNCOMPRESS
3941 if test -n "$UNCOMPRESS"; then
3942 { $as_echo "$as_me:$LINENO: result: $UNCOMPRESS" >&5
3943 $as_echo "$UNCOMPRESS" >&6; }
3945 { $as_echo "$as_me:$LINENO: result: no" >&5
3946 $as_echo "no" >&6; }
3950 test -n "$UNCOMPRESS" && break
3961 if test "x$EXEEXT" = "x.exe";then
3970 { $as_echo "$as_me:$LINENO: checking host system type" >&5
3971 $as_echo_n "checking host system type... " >&6; }
3972 if test "${ac_cv_host+set}" = set; then
3973 $as_echo_n "(cached) " >&6
3975 if test "x$host_alias" = x
; then
3976 ac_cv_host
=$ac_cv_build
3978 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3979 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3980 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3981 { (exit 1); exit 1; }; }
3985 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3986 $as_echo "$ac_cv_host" >&6; }
3989 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3990 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
3991 { (exit 1); exit 1; }; };;
3994 ac_save_IFS
=$IFS; IFS
='-'
4000 # Remember, the first character of IFS is used to create $*,
4001 # except with old shells:
4004 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4009 { $as_echo "$as_me:$LINENO: checking for target system" >&5
4010 $as_echo_n "checking for target system... " >&6; }
4014 *cygwin
* ) CYGWIN
=yes;;
4015 *mingw
* ) MINGW
=yes;;
4019 if test "x$MINGW" = "xyes"; then
4020 #fix for the debian distribution of mingw
4021 if test -x "/usr/i586-mingw32msvc/bin/ar";then
4022 AR
="/usr/i586-mingw32msvc/bin/ar"
4024 if test -x "/usr/i586-mingw32msvc/bin/ranlib";then
4025 RANLIB
="/usr/i586-mingw32msvc/bin/ranlib"
4027 #fix for the gentoo distribution of mingw
4028 if test -x "/opt/xmingw/bin/i386-mingw32msvc-ar";then
4029 AR
="/opt/xmingw/bin/i386-mingw32msvc-ar"
4031 if test -x "/opt/xmingw/bin/i386-mingw32msvc-ranlib";then
4032 RANLIB
="/opt/xmingw/bin/i386-mingw32msvc-ranlib"
4034 if test -x "/opt/xmingw/bin/i386-mingw32msvc-strip";then
4035 STRIP
="/opt/xmingw/bin/i386-mingw32msvc-strip"
4041 if test "x${CYGWIN}" = "xyes"; then
4043 cat >>confdefs.h
<<\_ACEOF
4047 { $as_echo "$as_me:$LINENO: result: cygwin" >&5
4048 $as_echo "cygwin" >&6; }
4050 if test "x${MINGW}" = "xyes"; then
4052 cat >>confdefs.h
<<\_ACEOF
4058 cat >>confdefs.h
<<\_ACEOF
4062 LIBS
="$LIBS -lws2_32 -lgdi32"
4063 { $as_echo "$as_me:$LINENO: result: mingw" >&5
4064 $as_echo "mingw" >&6; }
4069 cat >>confdefs.h
<<\_ACEOF
4073 { $as_echo "$as_me:$LINENO: result: " >&5
4080 if test "x${MINGW}" != "xyes"; then
4083 cat >>confdefs.h
<<\_ACEOF
4096 # The following tries to make use of includes and libraries in
4097 # /usr/local, too. Notice: A -I/usr/local/include might break
4098 # things (MingW, cross-compiling etc.) in the same way as -I/usr/include,
4099 # especially on systems which link /usr/local to /usr, so it has yet
4100 # to be seen how useful this is.
4101 if test -d /usr
/local
/lib
; then
4102 LDFLAGS
="$LDFLAGS -L/usr/local/lib"
4104 if test -d /usr
/local
/include
; then
4105 # Leave that alone. It's causing trouble e.g. with gcc 3.2 on gentoo.
4106 # CPPFLAGS="$CPPFLAGS -I/usr/local/include"
4109 if test "$prefix" != "NONE" -a "$prefix" != "/usr/local" -a "$prefix" != "/usr/local/"; then
4110 # if the user has a special prefix (like /opt), there might also be $prefix/lib
4111 # and $prefix/include, which should be included in our search paths for libraries
4113 LDFLAGS
="$LDFLAGS -L${libdir}"
4114 CPPFLAGS
="$CPPFLAGS -I${includedir}"
4115 # TODO- test whether gcc still works after this
4119 #LDFLAGS "-L/sw/lib" ; CPPFLAGS "-I/sw/include -I/sw/include/lame"
4122 # this must be done after (I believe) AC_PROG_MAKE_SET
4123 if test "x$DEBUG" '!=' "x" -o "x$STRIP" = "x";then
4124 if test "$MACOSX";then
4127 STRIP
="@echo debug enabled, not stripping "
4135 { $as_echo "$as_me:$LINENO: checking for sin in -lm" >&5
4136 $as_echo_n "checking for sin in -lm... " >&6; }
4137 if test "${ac_cv_lib_m_sin+set}" = set; then
4138 $as_echo_n "(cached) " >&6
4140 ac_check_lib_save_LIBS
=$LIBS
4142 cat >conftest.
$ac_ext <<_ACEOF
4145 cat confdefs.h
>>conftest.
$ac_ext
4146 cat >>conftest.
$ac_ext <<_ACEOF
4147 /* end confdefs.h. */
4149 /* Override any GCC internal prototype to avoid an error.
4150 Use char because int might match the return type of a GCC
4151 builtin and then its argument prototype would still apply. */
4164 rm -f conftest.
$ac_objext conftest
$ac_exeext
4165 if { (ac_try
="$ac_link"
4167 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4168 *) ac_try_echo=$ac_try;;
4170 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4171 $as_echo "$ac_try_echo") >&5
4172 (eval "$ac_link") 2>conftest.er1
4174 grep -v '^ *+' conftest.er1 >conftest.err
4176 cat conftest.err >&5
4177 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4178 (exit $ac_status); } && {
4179 test -z "$ac_c_werror_flag" ||
4180 test ! -s conftest.err
4181 } && test -s conftest$ac_exeext && {
4182 test "$cross_compiling" = yes ||
4183 $as_test_x conftest$ac_exeext
4187 $as_echo "$as_me: failed program was:" >&5
4188 sed 's/^/| /' conftest.$ac_ext >&5
4193 rm -rf conftest.dSYM
4194 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4195 conftest$ac_exeext conftest.$ac_ext
4196 LIBS=$ac_check_lib_save_LIBS
4198 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
4199 $as_echo "$ac_cv_lib_m_sin" >&6; }
4200 if test "x$ac_cv_lib_m_sin" = x""yes; then
4201 cat >>confdefs.h <<_ACEOF
4208 echo "Error: Math library not found.";
4214 { $as_echo "$as_me:$LINENO: checking for deflate in -lz" >&5
4215 $as_echo_n "checking for deflate in -lz... " >&6; }
4216 if test "${ac_cv_lib_z_deflate+set}" = set; then
4217 $as_echo_n "(cached) " >&6
4219 ac_check_lib_save_LIBS=$LIBS
4221 cat >conftest.$ac_ext <<_ACEOF
4224 cat confdefs.h >>conftest.$ac_ext
4225 cat >>conftest.$ac_ext <<_ACEOF
4226 /* end confdefs.h. */
4228 /* Override any GCC internal prototype to avoid an error.
4229 Use char because int might match the return type of a GCC
4230 builtin and then its argument prototype would still apply. */
4243 rm -f conftest.$ac_objext conftest$ac_exeext
4244 if { (ac_try="$ac_link"
4246 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4247 *) ac_try_echo
=$ac_try;;
4249 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4250 $as_echo "$ac_try_echo") >&5
4251 (eval "$ac_link") 2>conftest.er1
4253 grep -v '^ *+' conftest.er1
>conftest.err
4255 cat conftest.err
>&5
4256 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4257 (exit $ac_status); } && {
4258 test -z "$ac_c_werror_flag" ||
4259 test ! -s conftest.err
4260 } && test -s conftest
$ac_exeext && {
4261 test "$cross_compiling" = yes ||
4262 $as_test_x conftest
$ac_exeext
4264 ac_cv_lib_z_deflate
=yes
4266 $as_echo "$as_me: failed program was:" >&5
4267 sed 's/^/| /' conftest.
$ac_ext >&5
4269 ac_cv_lib_z_deflate
=no
4272 rm -rf conftest.dSYM
4273 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4274 conftest
$ac_exeext conftest.
$ac_ext
4275 LIBS
=$ac_check_lib_save_LIBS
4277 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
4278 $as_echo "$ac_cv_lib_z_deflate" >&6; }
4279 if test "x$ac_cv_lib_z_deflate" = x
""yes; then
4280 cat >>confdefs.h
<<_ACEOF
4291 if test "x$ZLIBMISSING" = "xtrue";then
4294 echo "You need zlib to compile swftools"
4300 { $as_echo "$as_me:$LINENO: checking for PDF_open_file in -lpdf" >&5
4301 $as_echo_n "checking for PDF_open_file in -lpdf... " >&6; }
4302 if test "${ac_cv_lib_pdf_PDF_open_file+set}" = set; then
4303 $as_echo_n "(cached) " >&6
4305 ac_check_lib_save_LIBS
=$LIBS
4307 cat >conftest.
$ac_ext <<_ACEOF
4310 cat confdefs.h
>>conftest.
$ac_ext
4311 cat >>conftest.
$ac_ext <<_ACEOF
4312 /* end confdefs.h. */
4314 /* Override any GCC internal prototype to avoid an error.
4315 Use char because int might match the return type of a GCC
4316 builtin and then its argument prototype would still apply. */
4320 char PDF_open_file ();
4324 return PDF_open_file ();
4329 rm -f conftest.
$ac_objext conftest
$ac_exeext
4330 if { (ac_try
="$ac_link"
4332 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4333 *) ac_try_echo=$ac_try;;
4335 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4336 $as_echo "$ac_try_echo") >&5
4337 (eval "$ac_link") 2>conftest.er1
4339 grep -v '^ *+' conftest.er1 >conftest.err
4341 cat conftest.err >&5
4342 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4343 (exit $ac_status); } && {
4344 test -z "$ac_c_werror_flag" ||
4345 test ! -s conftest.err
4346 } && test -s conftest$ac_exeext && {
4347 test "$cross_compiling" = yes ||
4348 $as_test_x conftest$ac_exeext
4350 ac_cv_lib_pdf_PDF_open_file=yes
4352 $as_echo "$as_me: failed program was:" >&5
4353 sed 's/^/| /' conftest.$ac_ext >&5
4355 ac_cv_lib_pdf_PDF_open_file=no
4358 rm -rf conftest.dSYM
4359 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4360 conftest$ac_exeext conftest.$ac_ext
4361 LIBS=$ac_check_lib_save_LIBS
4363 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pdf_PDF_open_file" >&5
4364 $as_echo "$ac_cv_lib_pdf_PDF_open_file" >&6; }
4365 if test "x$ac_cv_lib_pdf_PDF_open_file" = x""yes; then
4366 cat >>confdefs.h <<_ACEOF
4367 #define HAVE_LIBPDF 1
4377 { $as_echo "$as_me:$LINENO: checking for jpeg_write_raw_data in -ljpeg" >&5
4378 $as_echo_n "checking for jpeg_write_raw_data in -ljpeg... " >&6; }
4379 if test "${ac_cv_lib_jpeg_jpeg_write_raw_data+set}" = set; then
4380 $as_echo_n "(cached) " >&6
4382 ac_check_lib_save_LIBS=$LIBS
4384 cat >conftest.$ac_ext <<_ACEOF
4387 cat confdefs.h >>conftest.$ac_ext
4388 cat >>conftest.$ac_ext <<_ACEOF
4389 /* end confdefs.h. */
4391 /* Override any GCC internal prototype to avoid an error.
4392 Use char because int might match the return type of a GCC
4393 builtin and then its argument prototype would still apply. */
4397 char jpeg_write_raw_data ();
4401 return jpeg_write_raw_data ();
4406 rm -f conftest.$ac_objext conftest$ac_exeext
4407 if { (ac_try="$ac_link"
4409 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4410 *) ac_try_echo
=$ac_try;;
4412 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4413 $as_echo "$ac_try_echo") >&5
4414 (eval "$ac_link") 2>conftest.er1
4416 grep -v '^ *+' conftest.er1
>conftest.err
4418 cat conftest.err
>&5
4419 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4420 (exit $ac_status); } && {
4421 test -z "$ac_c_werror_flag" ||
4422 test ! -s conftest.err
4423 } && test -s conftest
$ac_exeext && {
4424 test "$cross_compiling" = yes ||
4425 $as_test_x conftest
$ac_exeext
4427 ac_cv_lib_jpeg_jpeg_write_raw_data
=yes
4429 $as_echo "$as_me: failed program was:" >&5
4430 sed 's/^/| /' conftest.
$ac_ext >&5
4432 ac_cv_lib_jpeg_jpeg_write_raw_data
=no
4435 rm -rf conftest.dSYM
4436 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4437 conftest
$ac_exeext conftest.
$ac_ext
4438 LIBS
=$ac_check_lib_save_LIBS
4440 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_write_raw_data" >&5
4441 $as_echo "$ac_cv_lib_jpeg_jpeg_write_raw_data" >&6; }
4442 if test "x$ac_cv_lib_jpeg_jpeg_write_raw_data" = x
""yes; then
4443 cat >>confdefs.h
<<_ACEOF
4444 #define HAVE_LIBJPEG 1
4454 { $as_echo "$as_me:$LINENO: checking for DGifOpen in -lungif" >&5
4455 $as_echo_n "checking for DGifOpen in -lungif... " >&6; }
4456 if test "${ac_cv_lib_ungif_DGifOpen+set}" = set; then
4457 $as_echo_n "(cached) " >&6
4459 ac_check_lib_save_LIBS
=$LIBS
4460 LIBS
="-lungif $LIBS"
4461 cat >conftest.
$ac_ext <<_ACEOF
4464 cat confdefs.h
>>conftest.
$ac_ext
4465 cat >>conftest.
$ac_ext <<_ACEOF
4466 /* end confdefs.h. */
4468 /* Override any GCC internal prototype to avoid an error.
4469 Use char because int might match the return type of a GCC
4470 builtin and then its argument prototype would still apply. */
4483 rm -f conftest.
$ac_objext conftest
$ac_exeext
4484 if { (ac_try
="$ac_link"
4486 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4487 *) ac_try_echo=$ac_try;;
4489 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4490 $as_echo "$ac_try_echo") >&5
4491 (eval "$ac_link") 2>conftest.er1
4493 grep -v '^ *+' conftest.er1 >conftest.err
4495 cat conftest.err >&5
4496 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4497 (exit $ac_status); } && {
4498 test -z "$ac_c_werror_flag" ||
4499 test ! -s conftest.err
4500 } && test -s conftest$ac_exeext && {
4501 test "$cross_compiling" = yes ||
4502 $as_test_x conftest$ac_exeext
4504 ac_cv_lib_ungif_DGifOpen=yes
4506 $as_echo "$as_me: failed program was:" >&5
4507 sed 's/^/| /' conftest.$ac_ext >&5
4509 ac_cv_lib_ungif_DGifOpen=no
4512 rm -rf conftest.dSYM
4513 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4514 conftest$ac_exeext conftest.$ac_ext
4515 LIBS=$ac_check_lib_save_LIBS
4517 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_DGifOpen" >&5
4518 $as_echo "$ac_cv_lib_ungif_DGifOpen" >&6; }
4519 if test "x$ac_cv_lib_ungif_DGifOpen" = x""yes; then
4520 cat >>confdefs.h <<_ACEOF
4521 #define HAVE_LIBUNGIF 1
4524 LIBS="-lungif $LIBS"
4530 if test "$UNGIFMISSING";then
4533 { $as_echo "$as_me:$LINENO: checking for DGifOpen in -lgif" >&5
4534 $as_echo_n "checking for DGifOpen in -lgif... " >&6; }
4535 if test "${ac_cv_lib_gif_DGifOpen+set}" = set; then
4536 $as_echo_n "(cached) " >&6
4538 ac_check_lib_save_LIBS=$LIBS
4540 cat >conftest.$ac_ext <<_ACEOF
4543 cat confdefs.h >>conftest.$ac_ext
4544 cat >>conftest.$ac_ext <<_ACEOF
4545 /* end confdefs.h. */
4547 /* Override any GCC internal prototype to avoid an error.
4548 Use char because int might match the return type of a GCC
4549 builtin and then its argument prototype would still apply. */
4562 rm -f conftest.$ac_objext conftest$ac_exeext
4563 if { (ac_try="$ac_link"
4565 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4566 *) ac_try_echo
=$ac_try;;
4568 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4569 $as_echo "$ac_try_echo") >&5
4570 (eval "$ac_link") 2>conftest.er1
4572 grep -v '^ *+' conftest.er1
>conftest.err
4574 cat conftest.err
>&5
4575 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4576 (exit $ac_status); } && {
4577 test -z "$ac_c_werror_flag" ||
4578 test ! -s conftest.err
4579 } && test -s conftest
$ac_exeext && {
4580 test "$cross_compiling" = yes ||
4581 $as_test_x conftest
$ac_exeext
4583 ac_cv_lib_gif_DGifOpen
=yes
4585 $as_echo "$as_me: failed program was:" >&5
4586 sed 's/^/| /' conftest.
$ac_ext >&5
4588 ac_cv_lib_gif_DGifOpen
=no
4591 rm -rf conftest.dSYM
4592 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4593 conftest
$ac_exeext conftest.
$ac_ext
4594 LIBS
=$ac_check_lib_save_LIBS
4596 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gif_DGifOpen" >&5
4597 $as_echo "$ac_cv_lib_gif_DGifOpen" >&6; }
4598 if test "x$ac_cv_lib_gif_DGifOpen" = x
""yes; then
4599 cat >>confdefs.h
<<_ACEOF
4600 #define HAVE_LIBGIF 1
4611 { $as_echo "$as_me:$LINENO: checking for zzip_dir_fdopen in -lzzip" >&5
4612 $as_echo_n "checking for zzip_dir_fdopen in -lzzip... " >&6; }
4613 if test "${ac_cv_lib_zzip_zzip_dir_fdopen+set}" = set; then
4614 $as_echo_n "(cached) " >&6
4616 ac_check_lib_save_LIBS
=$LIBS
4618 cat >conftest.
$ac_ext <<_ACEOF
4621 cat confdefs.h
>>conftest.
$ac_ext
4622 cat >>conftest.
$ac_ext <<_ACEOF
4623 /* end confdefs.h. */
4625 /* Override any GCC internal prototype to avoid an error.
4626 Use char because int might match the return type of a GCC
4627 builtin and then its argument prototype would still apply. */
4631 char zzip_dir_fdopen ();
4635 return zzip_dir_fdopen ();
4640 rm -f conftest.
$ac_objext conftest
$ac_exeext
4641 if { (ac_try
="$ac_link"
4643 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4644 *) ac_try_echo=$ac_try;;
4646 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4647 $as_echo "$ac_try_echo") >&5
4648 (eval "$ac_link") 2>conftest.er1
4650 grep -v '^ *+' conftest.er1 >conftest.err
4652 cat conftest.err >&5
4653 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4654 (exit $ac_status); } && {
4655 test -z "$ac_c_werror_flag" ||
4656 test ! -s conftest.err
4657 } && test -s conftest$ac_exeext && {
4658 test "$cross_compiling" = yes ||
4659 $as_test_x conftest$ac_exeext
4661 ac_cv_lib_zzip_zzip_dir_fdopen=yes
4663 $as_echo "$as_me: failed program was:" >&5
4664 sed 's/^/| /' conftest.$ac_ext >&5
4666 ac_cv_lib_zzip_zzip_dir_fdopen=no
4669 rm -rf conftest.dSYM
4670 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4671 conftest$ac_exeext conftest.$ac_ext
4672 LIBS=$ac_check_lib_save_LIBS
4674 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_zzip_zzip_dir_fdopen" >&5
4675 $as_echo "$ac_cv_lib_zzip_zzip_dir_fdopen" >&6; }
4676 if test "x$ac_cv_lib_zzip_zzip_dir_fdopen" = x""yes; then
4677 cat >>confdefs.h <<_ACEOF
4678 #define HAVE_LIBZZIP 1
4689 { $as_echo "$as_me:$LINENO: checking for byte order" >&5
4690 $as_echo_n "checking for byte order... " >&6; }
4691 if test "$cross_compiling" = yes; then
4694 cat >conftest.$ac_ext <<_ACEOF
4697 cat confdefs.h >>conftest.$ac_ext
4698 cat >>conftest.$ac_ext <<_ACEOF
4699 /* end confdefs.h. */
4701 int main (int argc, char *argv[])
4708 rm -f conftest$ac_exeext
4709 if { (ac_try="$ac_link"
4711 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4712 *) ac_try_echo
=$ac_try;;
4714 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4715 $as_echo "$ac_try_echo") >&5
4716 (eval "$ac_link") 2>&5
4718 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4719 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4720 { (case "(($ac_try" in
4721 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4722 *) ac_try_echo=$ac_try;;
4724 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4725 $as_echo "$ac_try_echo") >&5
4726 (eval "$ac_try") 2>&5
4728 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4729 (exit $ac_status); }; }; then
4732 $as_echo "$as_me: program exited with status $ac_status" >&5
4733 $as_echo "$as_me: failed program was:" >&5
4734 sed 's/^/| /' conftest.$ac_ext >&5
4739 rm -rf conftest.dSYM
4740 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4746 if test "x${CROSSCOMPILE}" = "x1"; then
4747 { $as_echo "$as_me:$LINENO: result: we are cross compiling- trying to guess from system type" >&5
4748 $as_echo "we are cross compiling- trying to guess from system type" >&6; }
4749 { $as_echo "$as_me:$LINENO: checking target system type" >&5
4750 $as_echo_n "checking target system type... " >&6; }
4751 if test "${ac_cv_target+set}" = set; then
4752 $as_echo_n "(cached) " >&6
4754 if test "x$target_alias" = x; then
4755 ac_cv_target=$ac_cv_host
4757 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
4758 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
4759 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
4760 { (exit 1); exit 1; }; }
4764 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
4765 $as_echo "$ac_cv_target" >&6; }
4766 case $ac_cv_target in
4768 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
4769 $as_echo "$as_me: error: invalid value of canonical target" >&2;}
4770 { (exit 1); exit 1; }; };;
4772 target=$ac_cv_target
4773 ac_save_IFS=$IFS; IFS='-'
4779 # Remember, the first character of IFS is used to create $*,
4780 # except with old shells:
4783 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
4786 # The aliases save the names the user supplied, while $host etc.
4787 # will get canonicalized.
4788 test -n "$target_alias" &&
4789 test "$program_prefix$program_suffix$program_transform_name" = \
4791 program_prefix=${target_alias}-
4792 { $as_echo "$as_me:$LINENO: checking for byte order, try 2" >&5
4793 $as_echo_n "checking for byte order, try 2... " >&6; }
4798 *sparc* | *68* | *88k* | *mac* | *Mac* | *sun* | *Sun* | *Amiga* | *amiga* )
4805 if test "x${LITTLEENDIAN}" = "x1"; then
4806 { $as_echo "$as_me:$LINENO: result: little endian" >&5
4807 $as_echo "little endian" >&6; }
4811 if test "x${BIGENDIAN}" = "x1"; then
4812 { $as_echo "$as_me:$LINENO: result: big endian" >&5
4813 $as_echo "big endian" >&6; }
4816 export WORDS_BIGENDIAN
4818 cat >>confdefs.h <<\_ACEOF
4819 #define WORDS_BIGENDIAN 1
4823 if test "x${BYTEORDERCHECKOK}" != "x1"; then
4824 { $as_echo "$as_me:$LINENO: result: unknown" >&5
4825 $as_echo "unknown" >&6; }
4826 echo Byte order could not determined.
4832 { $as_echo "$as_me:$LINENO: checking whether system() can handle command substitution" >&5
4833 $as_echo_n "checking whether system() can handle command substitution... " >&6; }
4834 if test "$cross_compiling" = yes; then
4837 cat >conftest.$ac_ext <<_ACEOF
4840 cat confdefs.h >>conftest.$ac_ext
4841 cat >>conftest.$ac_ext <<_ACEOF
4842 /* end confdefs.h. */
4845 int main (int argc, char*argv[])
4847 return system("test `touch config.tmp2
`");
4851 rm -f conftest$ac_exeext
4852 if { (ac_try="$ac_link"
4854 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4855 *) ac_try_echo
=$ac_try;;
4857 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4858 $as_echo "$ac_try_echo") >&5
4859 (eval "$ac_link") 2>&5
4861 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4862 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4863 { (case "(($ac_try" in
4864 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4865 *) ac_try_echo=$ac_try;;
4867 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4868 $as_echo "$ac_try_echo") >&5
4869 (eval "$ac_try") 2>&5
4871 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4872 (exit $ac_status); }; }; then
4875 $as_echo "$as_me: program exited with status $ac_status" >&5
4876 $as_echo "$as_me: failed program was:" >&5
4877 sed 's/^/| /' conftest.$ac_ext >&5
4880 rm -rf conftest.dSYM
4881 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4886 if test "x${OK}" = "xOK";then
4887 test -f config.tmp2 || OK=
4890 if test "x${CROSSCOMPILE}" = "x1";then
4893 if test "x${OK}" = "xOK";then
4895 { $as_echo "$as_me:$LINENO: result: yes" >&5
4896 $as_echo "yes" >&6; }
4898 export SYSTEM_BACKTICKS
4900 cat >>confdefs.h <<\_ACEOF
4901 #define SYSTEM_BACKTICKS 1
4905 { $as_echo "$as_me:$LINENO: result: no" >&5
4906 $as_echo "no" >&6; }
4911 test "$program_prefix" != NONE &&
4912 program_transform_name="s&^&$program_prefix&;$program_transform_name"
4913 # Use a double $ so make ignores it.
4914 test "$program_suffix" != NONE &&
4915 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
4916 # Double any \ or $.
4917 # By default was `s
,x
,x
', remove it if useless.
4918 ac_script='s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//'
4919 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
4922 ac_config_headers="$ac_config_headers config.h"
4930 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
4931 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4932 { $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
4933 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
4934 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4935 $as_echo_n "(cached) " >&6
4937 cat >conftest.$ac_ext <<_ACEOF
4940 cat confdefs.h >>conftest.$ac_ext
4941 cat >>conftest.$ac_ext <<_ACEOF
4942 /* end confdefs.h. */
4943 #include <sys/types.h>
4955 rm -f conftest.$ac_objext
4956 if { (ac_try="$ac_compile"
4958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4959 *) ac_try_echo=$ac_try;;
4961 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4962 $as_echo "$ac_try_echo") >&5
4963 (eval "$ac_compile") 2>conftest.er1
4965 grep -v '^
*+' conftest.er1 >conftest.err
4967 cat conftest.err >&5
4968 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4969 (exit $ac_status); } && {
4970 test -z "$ac_c_werror_flag" ||
4971 test ! -s conftest.err
4972 } && test -s conftest.$ac_objext; then
4973 eval "$as_ac_Header=yes"
4975 $as_echo "$as_me: failed program was:" >&5
4976 sed 's
/^
/|
/' conftest.$ac_ext >&5
4978 eval "$as_ac_Header=no"
4981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4983 ac_res=`eval 'as_val
=${'$as_ac_Header'}
4984 $as_echo "$as_val"'`
4985 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4986 $as_echo "$ac_res" >&6; }
4987 as_val=`eval 'as_val
=${'$as_ac_Header'}
4988 $as_echo "$as_val"'`
4989 if test "x$as_val" = x""yes; then
4990 cat >>confdefs.h <<_ACEOF
4991 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
4994 ac_header_dirent=$ac_hdr; break
4998 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4999 if test $ac_header_dirent = dirent.h; then
5000 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
5001 $as_echo_n "checking for library containing opendir... " >&6; }
5002 if test "${ac_cv_search_opendir+set}" = set; then
5003 $as_echo_n "(cached) " >&6
5005 ac_func_search_save_LIBS=$LIBS
5006 cat >conftest.$ac_ext <<_ACEOF
5009 cat confdefs.h >>conftest.$ac_ext
5010 cat >>conftest.$ac_ext <<_ACEOF
5011 /* end confdefs.h. */
5013 /* Override any GCC internal prototype to avoid an error.
5014 Use char because int might match the return type of a GCC
5015 builtin and then its argument prototype would still apply. */
5028 for ac_lib in '' dir; do
5029 if test -z "$ac_lib"; then
5030 ac_res="none required"
5033 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5035 rm -f conftest.$ac_objext conftest$ac_exeext
5036 if { (ac_try="$ac_link"
5038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5039 *) ac_try_echo=$ac_try;;
5041 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5042 $as_echo "$ac_try_echo") >&5
5043 (eval "$ac_link") 2>conftest.er1
5045 grep -v '^
*+' conftest.er1 >conftest.err
5047 cat conftest.err >&5
5048 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5049 (exit $ac_status); } && {
5050 test -z "$ac_c_werror_flag" ||
5051 test ! -s conftest.err
5052 } && test -s conftest$ac_exeext && {
5053 test "$cross_compiling" = yes ||
5054 $as_test_x conftest$ac_exeext
5056 ac_cv_search_opendir=$ac_res
5058 $as_echo "$as_me: failed program was:" >&5
5059 sed 's
/^
/|
/' conftest.$ac_ext >&5
5064 rm -rf conftest.dSYM
5065 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5067 if test "${ac_cv_search_opendir+set}" = set; then
5071 if test "${ac_cv_search_opendir+set}" = set; then
5074 ac_cv_search_opendir=no
5077 LIBS=$ac_func_search_save_LIBS
5079 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5080 $as_echo "$ac_cv_search_opendir" >&6; }
5081 ac_res=$ac_cv_search_opendir
5082 if test "$ac_res" != no; then
5083 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5088 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
5089 $as_echo_n "checking for library containing opendir... " >&6; }
5090 if test "${ac_cv_search_opendir+set}" = set; then
5091 $as_echo_n "(cached) " >&6
5093 ac_func_search_save_LIBS=$LIBS
5094 cat >conftest.$ac_ext <<_ACEOF
5097 cat confdefs.h >>conftest.$ac_ext
5098 cat >>conftest.$ac_ext <<_ACEOF
5099 /* end confdefs.h. */
5101 /* Override any GCC internal prototype to avoid an error.
5102 Use char because int might match the return type of a GCC
5103 builtin and then its argument prototype would still apply. */
5116 for ac_lib in '' x; do
5117 if test -z "$ac_lib"; then
5118 ac_res="none required"
5121 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5123 rm -f conftest.$ac_objext conftest$ac_exeext
5124 if { (ac_try="$ac_link"
5126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5127 *) ac_try_echo=$ac_try;;
5129 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5130 $as_echo "$ac_try_echo") >&5
5131 (eval "$ac_link") 2>conftest.er1
5133 grep -v '^
*+' conftest.er1 >conftest.err
5135 cat conftest.err >&5
5136 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5137 (exit $ac_status); } && {
5138 test -z "$ac_c_werror_flag" ||
5139 test ! -s conftest.err
5140 } && test -s conftest$ac_exeext && {
5141 test "$cross_compiling" = yes ||
5142 $as_test_x conftest$ac_exeext
5144 ac_cv_search_opendir=$ac_res
5146 $as_echo "$as_me: failed program was:" >&5
5147 sed 's
/^
/|
/' conftest.$ac_ext >&5
5152 rm -rf conftest.dSYM
5153 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5155 if test "${ac_cv_search_opendir+set}" = set; then
5159 if test "${ac_cv_search_opendir+set}" = set; then
5162 ac_cv_search_opendir=no
5165 LIBS=$ac_func_search_save_LIBS
5167 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5168 $as_echo "$ac_cv_search_opendir" >&6; }
5169 ac_res=$ac_cv_search_opendir
5170 if test "$ac_res" != no; then
5171 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5178 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5179 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5180 if test "${ac_cv_path_GREP+set}" = set; then
5181 $as_echo_n "(cached) " >&6
5183 if test -z "$GREP"; then
5184 ac_path_GREP_found=false
5185 # Loop through the user's path and
test for each of PROGNAME-LIST
5186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5187 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5190 test -z "$as_dir" && as_dir
=.
5191 for ac_prog
in grep ggrep
; do
5192 for ac_exec_ext
in '' $ac_executable_extensions; do
5193 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5194 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5195 # Check for GNU ac_path_GREP and select it if it is found.
5196 # Check for GNU $ac_path_GREP
5197 case `"$ac_path_GREP" --version 2>&1` in
5199 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5202 $as_echo_n 0123456789 >"conftest.in"
5205 cat "conftest.in" "conftest.in" >"conftest.tmp"
5206 mv "conftest.tmp" "conftest.in"
5207 cp "conftest.in" "conftest.nl"
5208 $as_echo 'GREP' >> "conftest.nl"
5209 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5210 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5211 ac_count
=`expr $ac_count + 1`
5212 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5213 # Best one so far, save it but keep looking for a better one
5214 ac_cv_path_GREP
="$ac_path_GREP"
5215 ac_path_GREP_max
=$ac_count
5217 # 10*(2^10) chars as input seems more than enough
5218 test $ac_count -gt 10 && break
5220 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5223 $ac_path_GREP_found && break 3
5228 if test -z "$ac_cv_path_GREP"; then
5229 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5230 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5231 { (exit 1); exit 1; }; }
5234 ac_cv_path_GREP
=$GREP
5238 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5239 $as_echo "$ac_cv_path_GREP" >&6; }
5240 GREP
="$ac_cv_path_GREP"
5243 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
5244 $as_echo_n "checking for egrep... " >&6; }
5245 if test "${ac_cv_path_EGREP+set}" = set; then
5246 $as_echo_n "(cached) " >&6
5248 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5249 then ac_cv_path_EGREP
="$GREP -E"
5251 if test -z "$EGREP"; then
5252 ac_path_EGREP_found
=false
5253 # Loop through the user's path and test for each of PROGNAME-LIST
5254 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5255 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5258 test -z "$as_dir" && as_dir
=.
5259 for ac_prog
in egrep; do
5260 for ac_exec_ext
in '' $ac_executable_extensions; do
5261 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5262 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5263 # Check for GNU ac_path_EGREP and select it if it is found.
5264 # Check for GNU $ac_path_EGREP
5265 case `"$ac_path_EGREP" --version 2>&1` in
5267 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5270 $as_echo_n 0123456789 >"conftest.in"
5273 cat "conftest.in" "conftest.in" >"conftest.tmp"
5274 mv "conftest.tmp" "conftest.in"
5275 cp "conftest.in" "conftest.nl"
5276 $as_echo 'EGREP' >> "conftest.nl"
5277 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5278 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5279 ac_count
=`expr $ac_count + 1`
5280 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5281 # Best one so far, save it but keep looking for a better one
5282 ac_cv_path_EGREP
="$ac_path_EGREP"
5283 ac_path_EGREP_max
=$ac_count
5285 # 10*(2^10) chars as input seems more than enough
5286 test $ac_count -gt 10 && break
5288 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5291 $ac_path_EGREP_found && break 3
5296 if test -z "$ac_cv_path_EGREP"; then
5297 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5298 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5299 { (exit 1); exit 1; }; }
5302 ac_cv_path_EGREP
=$EGREP
5307 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5308 $as_echo "$ac_cv_path_EGREP" >&6; }
5309 EGREP
="$ac_cv_path_EGREP"
5312 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5313 $as_echo_n "checking for ANSI C header files... " >&6; }
5314 if test "${ac_cv_header_stdc+set}" = set; then
5315 $as_echo_n "(cached) " >&6
5317 cat >conftest.
$ac_ext <<_ACEOF
5320 cat confdefs.h
>>conftest.
$ac_ext
5321 cat >>conftest.
$ac_ext <<_ACEOF
5322 /* end confdefs.h. */
5336 rm -f conftest.
$ac_objext
5337 if { (ac_try
="$ac_compile"
5339 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5340 *) ac_try_echo=$ac_try;;
5342 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5343 $as_echo "$ac_try_echo") >&5
5344 (eval "$ac_compile") 2>conftest.er1
5346 grep -v '^ *+' conftest.er1 >conftest.err
5348 cat conftest.err >&5
5349 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5350 (exit $ac_status); } && {
5351 test -z "$ac_c_werror_flag" ||
5352 test ! -s conftest.err
5353 } && test -s conftest.$ac_objext; then
5354 ac_cv_header_stdc=yes
5356 $as_echo "$as_me: failed program was:" >&5
5357 sed 's/^/| /' conftest.$ac_ext >&5
5359 ac_cv_header_stdc=no
5362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5364 if test $ac_cv_header_stdc = yes; then
5365 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5366 cat >conftest.$ac_ext <<_ACEOF
5369 cat confdefs.h >>conftest.$ac_ext
5370 cat >>conftest.$ac_ext <<_ACEOF
5371 /* end confdefs.h. */
5375 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5376 $EGREP "memchr" >/dev/null 2>&1; then
5379 ac_cv_header_stdc=no
5385 if test $ac_cv_header_stdc = yes; then
5386 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5387 cat >conftest.$ac_ext <<_ACEOF
5390 cat confdefs.h >>conftest.$ac_ext
5391 cat >>conftest.$ac_ext <<_ACEOF
5392 /* end confdefs.h. */
5396 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5397 $EGREP "free" >/dev/null 2>&1; then
5400 ac_cv_header_stdc=no
5406 if test $ac_cv_header_stdc = yes; then
5407 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5408 if test "$cross_compiling" = yes; then
5411 cat >conftest.$ac_ext <<_ACEOF
5414 cat confdefs.h >>conftest.$ac_ext
5415 cat >>conftest.$ac_ext <<_ACEOF
5416 /* end confdefs.h. */
5419 #if ((' ' & 0x0FF) == 0x020)
5420 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5421 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5423 # define ISLOWER(c) \
5424 (('a' <= (c) && (c) <= 'i') \
5425 || ('j' <= (c) && (c) <= 'r') \
5426 || ('s' <= (c) && (c) <= 'z'))
5427 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5430 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5435 for (i = 0; i < 256; i++)
5436 if (XOR (islower (i), ISLOWER (i))
5437 || toupper (i) != TOUPPER (i))
5442 rm -f conftest$ac_exeext
5443 if { (ac_try="$ac_link"
5445 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5446 *) ac_try_echo
=$ac_try;;
5448 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5449 $as_echo "$ac_try_echo") >&5
5450 (eval "$ac_link") 2>&5
5452 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5453 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5454 { (case "(($ac_try" in
5455 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5456 *) ac_try_echo=$ac_try;;
5458 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5459 $as_echo "$ac_try_echo") >&5
5460 (eval "$ac_try") 2>&5
5462 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5463 (exit $ac_status); }; }; then
5466 $as_echo "$as_me: program exited with status $ac_status" >&5
5467 $as_echo "$as_me: failed program was:" >&5
5468 sed 's/^/| /' conftest.$ac_ext >&5
5471 ac_cv_header_stdc=no
5473 rm -rf conftest.dSYM
5474 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5480 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5481 $as_echo "$ac_cv_header_stdc" >&6; }
5482 if test $ac_cv_header_stdc = yes; then
5484 cat >>confdefs.h <<\_ACEOF
5485 #define STDC_HEADERS 1
5491 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5501 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5502 inttypes.h stdint.h unistd.h
5504 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5505 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5506 $as_echo_n "checking for $ac_header... " >&6; }
5507 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5508 $as_echo_n "(cached) " >&6
5510 cat >conftest.$ac_ext <<_ACEOF
5513 cat confdefs.h >>conftest.$ac_ext
5514 cat >>conftest.$ac_ext <<_ACEOF
5515 /* end confdefs.h. */
5516 $ac_includes_default
5518 #include <$ac_header>
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 ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5527 $as_echo "$ac_try_echo") >&5
5528 (eval "$ac_compile") 2>conftest.er1
5530 grep -v '^ *+' conftest.er1
>conftest.err
5532 cat conftest.err
>&5
5533 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5534 (exit $ac_status); } && {
5535 test -z "$ac_c_werror_flag" ||
5536 test ! -s conftest.err
5537 } && test -s conftest.
$ac_objext; then
5538 eval "$as_ac_Header=yes"
5540 $as_echo "$as_me: failed program was:" >&5
5541 sed 's/^/| /' conftest.
$ac_ext >&5
5543 eval "$as_ac_Header=no"
5546 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5548 ac_res
=`eval 'as_val=${'$as_ac_Header'}
5549 $as_echo "$as_val"'`
5550 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5551 $as_echo "$ac_res" >&6; }
5552 as_val
=`eval 'as_val=${'$as_ac_Header'}
5553 $as_echo "$as_val"'`
5554 if test "x$as_val" = x
""yes; then
5555 cat >>confdefs.h
<<_ACEOF
5556 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5585 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
/mman.h sys
/types.h dirent.h sys
/bsdtypes.h sys
/ndir.h sys
/dir.h ndir.h
time.h sys
/time.h sys
/resource.h pdflib.h zzip
/lib.h
5587 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5588 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5589 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5590 $as_echo_n "checking for $ac_header... " >&6; }
5591 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5592 $as_echo_n "(cached) " >&6
5594 ac_res
=`eval 'as_val=${'$as_ac_Header'}
5595 $as_echo "$as_val"'`
5596 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5597 $as_echo "$ac_res" >&6; }
5599 # Is the header compilable?
5600 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5601 $as_echo_n "checking $ac_header usability... " >&6; }
5602 cat >conftest.
$ac_ext <<_ACEOF
5605 cat confdefs.h
>>conftest.
$ac_ext
5606 cat >>conftest.
$ac_ext <<_ACEOF
5607 /* end confdefs.h. */
5608 $ac_includes_default
5609 #include <$ac_header>
5611 rm -f conftest.
$ac_objext
5612 if { (ac_try
="$ac_compile"
5614 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5615 *) ac_try_echo=$ac_try;;
5617 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5618 $as_echo "$ac_try_echo") >&5
5619 (eval "$ac_compile") 2>conftest.er1
5621 grep -v '^ *+' conftest.er1 >conftest.err
5623 cat conftest.err >&5
5624 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5625 (exit $ac_status); } && {
5626 test -z "$ac_c_werror_flag" ||
5627 test ! -s conftest.err
5628 } && test -s conftest.$ac_objext; then
5629 ac_header_compiler=yes
5631 $as_echo "$as_me: failed program was:" >&5
5632 sed 's/^/| /' conftest.$ac_ext >&5
5634 ac_header_compiler=no
5637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5638 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5639 $as_echo "$ac_header_compiler" >&6; }
5641 # Is the header present?
5642 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5643 $as_echo_n "checking $ac_header presence... " >&6; }
5644 cat >conftest.$ac_ext <<_ACEOF
5647 cat confdefs.h >>conftest.$ac_ext
5648 cat >>conftest.$ac_ext <<_ACEOF
5649 /* end confdefs.h. */
5650 #include <$ac_header>
5652 if { (ac_try="$ac_cpp conftest.$ac_ext"
5654 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5655 *) ac_try_echo
=$ac_try;;
5657 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5658 $as_echo "$ac_try_echo") >&5
5659 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5661 grep -v '^ *+' conftest.er1
>conftest.err
5663 cat conftest.err
>&5
5664 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5665 (exit $ac_status); } >/dev
/null
&& {
5666 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5667 test ! -s conftest.err
5669 ac_header_preproc
=yes
5671 $as_echo "$as_me: failed program was:" >&5
5672 sed 's/^/| /' conftest.
$ac_ext >&5
5674 ac_header_preproc
=no
5677 rm -f conftest.err conftest.
$ac_ext
5678 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5679 $as_echo "$ac_header_preproc" >&6; }
5681 # So? What about this header?
5682 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5684 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5685 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5686 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5687 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5688 ac_header_preproc
=yes
5691 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5692 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5693 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5694 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5695 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5696 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5697 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5698 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5699 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5700 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5701 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5702 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5706 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5707 $as_echo_n "checking for $ac_header... " >&6; }
5708 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5709 $as_echo_n "(cached) " >&6
5711 eval "$as_ac_Header=\$ac_header_preproc"
5713 ac_res
=`eval 'as_val=${'$as_ac_Header'}
5714 $as_echo "$as_val"'`
5715 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5716 $as_echo "$ac_res" >&6; }
5719 as_val
=`eval 'as_val=${'$as_ac_Header'}
5720 $as_echo "$as_val"'`
5721 if test "x$as_val" = x
""yes; then
5722 cat >>confdefs.h
<<_ACEOF
5723 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5732 cat >>confdefs.h
<<_ACEOF
5733 #define PACKAGE "$PACKAGE"
5737 cat >>confdefs.h
<<_ACEOF
5738 #define VERSION "$VERSION"
5747 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5748 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5749 if test "${ac_cv_c_const+set}" = set; then
5750 $as_echo_n "(cached) " >&6
5752 cat >conftest.
$ac_ext <<_ACEOF
5755 cat confdefs.h
>>conftest.
$ac_ext
5756 cat >>conftest.
$ac_ext <<_ACEOF
5757 /* end confdefs.h. */
5762 /* FIXME: Include the comments suggested by Paul. */
5764 /* Ultrix mips cc rejects this. */
5765 typedef int charset[2];
5767 /* SunOS 4.1.1 cc rejects this. */
5768 char const *const *pcpcc;
5770 /* NEC SVR4.0.2 mips cc rejects this. */
5771 struct point {int x, y;};
5772 static struct point const zero = {0,0};
5773 /* AIX XL C 1.02.0.0 rejects this.
5774 It does not let you subtract one const X* pointer from another in
5775 an arm of an if-expression whose if-part is not a constant
5777 const char *g = "string";
5778 pcpcc = &g + (g ? g-g : 0);
5779 /* HPUX 7.0 cc rejects these. */
5781 ppc = (char**) pcpcc;
5782 pcpcc = (char const *const *) ppc;
5783 { /* SCO 3.2v4 cc rejects this. */
5785 char const *s = 0 ? (char *) 0 : (char const *) 0;
5790 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5792 const int *foo = &x[0];
5795 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5796 typedef const int *iptr;
5800 { /* AIX XL C 1.02.0.0 rejects this saying
5801 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5802 struct s { int j; const int *ap[3]; };
5803 struct s *b; b->j = 5;
5805 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5809 return !cs[0] && !zero.x;
5816 rm -f conftest.
$ac_objext
5817 if { (ac_try
="$ac_compile"
5819 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5820 *) ac_try_echo=$ac_try;;
5822 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5823 $as_echo "$ac_try_echo") >&5
5824 (eval "$ac_compile") 2>conftest.er1
5826 grep -v '^ *+' conftest.er1 >conftest.err
5828 cat conftest.err >&5
5829 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5830 (exit $ac_status); } && {
5831 test -z "$ac_c_werror_flag" ||
5832 test ! -s conftest.err
5833 } && test -s conftest.$ac_objext; then
5836 $as_echo "$as_me: failed program was:" >&5
5837 sed 's/^/| /' conftest.$ac_ext >&5
5842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5844 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5845 $as_echo "$ac_cv_c_const" >&6; }
5846 if test $ac_cv_c_const = no; then
5848 cat >>confdefs.h <<\_ACEOF
5854 { $as_echo "$as_me:$LINENO: checking for inline" >&5
5855 $as_echo_n "checking for inline... " >&6; }
5856 if test "${ac_cv_c_inline+set}" = set; then
5857 $as_echo_n "(cached) " >&6
5860 for ac_kw in inline __inline__ __inline; do
5861 cat >conftest.$ac_ext <<_ACEOF
5864 cat confdefs.h >>conftest.$ac_ext
5865 cat >>conftest.$ac_ext <<_ACEOF
5866 /* end confdefs.h. */
5869 static $ac_kw foo_t static_foo () {return 0; }
5870 $ac_kw foo_t foo () {return 0; }
5874 rm -f conftest.$ac_objext
5875 if { (ac_try="$ac_compile"
5877 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5878 *) ac_try_echo
=$ac_try;;
5880 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5881 $as_echo "$ac_try_echo") >&5
5882 (eval "$ac_compile") 2>conftest.er1
5884 grep -v '^ *+' conftest.er1
>conftest.err
5886 cat conftest.err
>&5
5887 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5888 (exit $ac_status); } && {
5889 test -z "$ac_c_werror_flag" ||
5890 test ! -s conftest.err
5891 } && test -s conftest.
$ac_objext; then
5892 ac_cv_c_inline
=$ac_kw
5894 $as_echo "$as_me: failed program was:" >&5
5895 sed 's/^/| /' conftest.
$ac_ext >&5
5900 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5901 test "$ac_cv_c_inline" != no
&& break
5905 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5906 $as_echo "$ac_cv_c_inline" >&6; }
5909 case $ac_cv_c_inline in
5912 case $ac_cv_c_inline in
5914 *) ac_val
=$ac_cv_c_inline;;
5916 cat >>confdefs.h
<<_ACEOF
5918 #define inline $ac_val
5924 { $as_echo "$as_me:$LINENO: checking for off_t" >&5
5925 $as_echo_n "checking for off_t... " >&6; }
5926 if test "${ac_cv_type_off_t+set}" = set; then
5927 $as_echo_n "(cached) " >&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
5946 rm -f conftest.
$ac_objext
5947 if { (ac_try
="$ac_compile"
5949 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5950 *) ac_try_echo=$ac_try;;
5952 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5953 $as_echo "$ac_try_echo") >&5
5954 (eval "$ac_compile") 2>conftest.er1
5956 grep -v '^ *+' conftest.er1 >conftest.err
5958 cat conftest.err >&5
5959 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5960 (exit $ac_status); } && {
5961 test -z "$ac_c_werror_flag" ||
5962 test ! -s conftest.err
5963 } && test -s conftest.$ac_objext; then
5964 cat >conftest.$ac_ext <<_ACEOF
5967 cat confdefs.h >>conftest.$ac_ext
5968 cat >>conftest.$ac_ext <<_ACEOF
5969 /* end confdefs.h. */
5970 $ac_includes_default
5974 if (sizeof ((off_t)))
5980 rm -f conftest.$ac_objext
5981 if { (ac_try="$ac_compile"
5983 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5984 *) ac_try_echo
=$ac_try;;
5986 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5987 $as_echo "$ac_try_echo") >&5
5988 (eval "$ac_compile") 2>conftest.er1
5990 grep -v '^ *+' conftest.er1
>conftest.err
5992 cat conftest.err
>&5
5993 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5994 (exit $ac_status); } && {
5995 test -z "$ac_c_werror_flag" ||
5996 test ! -s conftest.err
5997 } && test -s conftest.
$ac_objext; then
6000 $as_echo "$as_me: failed program was:" >&5
6001 sed 's/^/| /' conftest.
$ac_ext >&5
6003 ac_cv_type_off_t
=yes
6006 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6008 $as_echo "$as_me: failed program was:" >&5
6009 sed 's/^/| /' conftest.
$ac_ext >&5
6014 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6016 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
6017 $as_echo "$ac_cv_type_off_t" >&6; }
6018 if test "x$ac_cv_type_off_t" = x
""yes; then
6022 cat >>confdefs.h
<<_ACEOF
6023 #define off_t long int
6028 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
6029 $as_echo_n "checking for size_t... " >&6; }
6030 if test "${ac_cv_type_size_t+set}" = set; then
6031 $as_echo_n "(cached) " >&6
6033 ac_cv_type_size_t
=no
6034 cat >conftest.
$ac_ext <<_ACEOF
6037 cat confdefs.h
>>conftest.
$ac_ext
6038 cat >>conftest.
$ac_ext <<_ACEOF
6039 /* end confdefs.h. */
6040 $ac_includes_default
6044 if (sizeof (size_t))
6050 rm -f conftest.
$ac_objext
6051 if { (ac_try
="$ac_compile"
6053 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6054 *) ac_try_echo=$ac_try;;
6056 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6057 $as_echo "$ac_try_echo") >&5
6058 (eval "$ac_compile") 2>conftest.er1
6060 grep -v '^ *+' conftest.er1 >conftest.err
6062 cat conftest.err >&5
6063 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6064 (exit $ac_status); } && {
6065 test -z "$ac_c_werror_flag" ||
6066 test ! -s conftest.err
6067 } && test -s conftest.$ac_objext; then
6068 cat >conftest.$ac_ext <<_ACEOF
6071 cat confdefs.h >>conftest.$ac_ext
6072 cat >>conftest.$ac_ext <<_ACEOF
6073 /* end confdefs.h. */
6074 $ac_includes_default
6078 if (sizeof ((size_t)))
6084 rm -f conftest.$ac_objext
6085 if { (ac_try="$ac_compile"
6087 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6088 *) ac_try_echo
=$ac_try;;
6090 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6091 $as_echo "$ac_try_echo") >&5
6092 (eval "$ac_compile") 2>conftest.er1
6094 grep -v '^ *+' conftest.er1
>conftest.err
6096 cat conftest.err
>&5
6097 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6098 (exit $ac_status); } && {
6099 test -z "$ac_c_werror_flag" ||
6100 test ! -s conftest.err
6101 } && test -s conftest.
$ac_objext; then
6104 $as_echo "$as_me: failed program was:" >&5
6105 sed 's/^/| /' conftest.
$ac_ext >&5
6107 ac_cv_type_size_t
=yes
6110 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6112 $as_echo "$as_me: failed program was:" >&5
6113 sed 's/^/| /' conftest.
$ac_ext >&5
6118 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6120 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6121 $as_echo "$ac_cv_type_size_t" >&6; }
6122 if test "x$ac_cv_type_size_t" = x
""yes; then
6126 cat >>confdefs.h
<<_ACEOF
6127 #define size_t unsigned int
6132 { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6133 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6134 if test "${ac_cv_struct_tm+set}" = set; then
6135 $as_echo_n "(cached) " >&6
6137 cat >conftest.
$ac_ext <<_ACEOF
6140 cat confdefs.h
>>conftest.
$ac_ext
6141 cat >>conftest.
$ac_ext <<_ACEOF
6142 /* end confdefs.h. */
6143 #include <sys/types.h>
6150 int *p = &tm.tm_sec;
6156 rm -f conftest.
$ac_objext
6157 if { (ac_try
="$ac_compile"
6159 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6160 *) ac_try_echo=$ac_try;;
6162 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6163 $as_echo "$ac_try_echo") >&5
6164 (eval "$ac_compile") 2>conftest.er1
6166 grep -v '^ *+' conftest.er1 >conftest.err
6168 cat conftest.err >&5
6169 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6170 (exit $ac_status); } && {
6171 test -z "$ac_c_werror_flag" ||
6172 test ! -s conftest.err
6173 } && test -s conftest.$ac_objext; then
6174 ac_cv_struct_tm=time.h
6176 $as_echo "$as_me: failed program was:" >&5
6177 sed 's/^/| /' conftest.$ac_ext >&5
6179 ac_cv_struct_tm=sys/time.h
6182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6184 { $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6185 $as_echo "$ac_cv_struct_tm" >&6; }
6186 if test $ac_cv_struct_tm = sys/time.h; then
6188 cat >>confdefs.h <<\_ACEOF
6189 #define TM_IN_SYS_TIME 1
6194 { $as_echo "$as_me:$LINENO: checking for boolean" >&5
6195 $as_echo_n "checking for boolean... " >&6; }
6196 if test "${ac_cv_type_boolean+set}" = set; then
6197 $as_echo_n "(cached) " >&6
6199 ac_cv_type_boolean=no
6200 cat >conftest.$ac_ext <<_ACEOF
6203 cat confdefs.h >>conftest.$ac_ext
6204 cat >>conftest.$ac_ext <<_ACEOF
6205 /* end confdefs.h. */
6206 $ac_includes_default
6210 if (sizeof (boolean))
6216 rm -f conftest.$ac_objext
6217 if { (ac_try="$ac_compile"
6219 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6220 *) ac_try_echo
=$ac_try;;
6222 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6223 $as_echo "$ac_try_echo") >&5
6224 (eval "$ac_compile") 2>conftest.er1
6226 grep -v '^ *+' conftest.er1
>conftest.err
6228 cat conftest.err
>&5
6229 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6230 (exit $ac_status); } && {
6231 test -z "$ac_c_werror_flag" ||
6232 test ! -s conftest.err
6233 } && test -s conftest.
$ac_objext; then
6234 cat >conftest.
$ac_ext <<_ACEOF
6237 cat confdefs.h
>>conftest.
$ac_ext
6238 cat >>conftest.
$ac_ext <<_ACEOF
6239 /* end confdefs.h. */
6240 $ac_includes_default
6244 if (sizeof ((boolean)))
6250 rm -f conftest.
$ac_objext
6251 if { (ac_try
="$ac_compile"
6253 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6254 *) ac_try_echo=$ac_try;;
6256 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6257 $as_echo "$ac_try_echo") >&5
6258 (eval "$ac_compile") 2>conftest.er1
6260 grep -v '^ *+' conftest.er1 >conftest.err
6262 cat conftest.err >&5
6263 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6264 (exit $ac_status); } && {
6265 test -z "$ac_c_werror_flag" ||
6266 test ! -s conftest.err
6267 } && test -s conftest.$ac_objext; then
6270 $as_echo "$as_me: failed program was:" >&5
6271 sed 's/^/| /' conftest.$ac_ext >&5
6273 ac_cv_type_boolean=yes
6276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6278 $as_echo "$as_me: failed program was:" >&5
6279 sed 's/^/| /' conftest.$ac_ext >&5
6284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6286 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
6287 $as_echo "$ac_cv_type_boolean" >&6; }
6288 if test "x$ac_cv_type_boolean" = x""yes; then
6292 cat >>confdefs.h <<_ACEOF
6313 for ac_func in popen wcschr wcsdup mkstemp stat mmap lrand48 rand srand48 srand bcopy bzero time getrusage mallinfo
6315 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
6316 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6317 $as_echo_n "checking for $ac_func... " >&6; }
6318 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6319 $as_echo_n "(cached) " >&6
6321 cat >conftest.$ac_ext <<_ACEOF
6324 cat confdefs.h >>conftest.$ac_ext
6325 cat >>conftest.$ac_ext <<_ACEOF
6326 /* end confdefs.h. */
6327 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6328 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6329 #define $ac_func innocuous_$ac_func
6331 /* System header to define __stub macros and hopefully few prototypes,
6332 which can conflict with char $ac_func (); below.
6333 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6334 <limits.h> exists even on freestanding compilers. */
6337 # include <limits.h>
6339 # include <assert.h>
6344 /* Override any GCC internal prototype to avoid an error.
6345 Use char because int might match the return type of a GCC
6346 builtin and then its argument prototype would still apply. */
6351 /* The GNU C library defines this for functions which it implements
6352 to always fail with ENOSYS. Some functions are actually named
6353 something starting with __ and the normal name is an alias. */
6354 #if defined __stub_$ac_func || defined __stub___$ac_func
6366 rm -f conftest.$ac_objext conftest$ac_exeext
6367 if { (ac_try="$ac_link"
6369 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6370 *) ac_try_echo
=$ac_try;;
6372 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6373 $as_echo "$ac_try_echo") >&5
6374 (eval "$ac_link") 2>conftest.er1
6376 grep -v '^ *+' conftest.er1
>conftest.err
6378 cat conftest.err
>&5
6379 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6380 (exit $ac_status); } && {
6381 test -z "$ac_c_werror_flag" ||
6382 test ! -s conftest.err
6383 } && test -s conftest
$ac_exeext && {
6384 test "$cross_compiling" = yes ||
6385 $as_test_x conftest
$ac_exeext
6387 eval "$as_ac_var=yes"
6389 $as_echo "$as_me: failed program was:" >&5
6390 sed 's/^/| /' conftest.
$ac_ext >&5
6392 eval "$as_ac_var=no"
6395 rm -rf conftest.dSYM
6396 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6397 conftest
$ac_exeext conftest.
$ac_ext
6399 ac_res
=`eval 'as_val=${'$as_ac_var'}
6400 $as_echo "$as_val"'`
6401 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6402 $as_echo "$ac_res" >&6; }
6403 as_val
=`eval 'as_val=${'$as_ac_var'}
6404 $as_echo "$as_val"'`
6405 if test "x$as_val" = x
""yes; then
6406 cat >>confdefs.h
<<_ACEOF
6407 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6414 # The cast to long int works around a bug in the HP C Compiler
6415 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6416 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6417 # This bug is HP SR number 8606223364.
6418 { $as_echo "$as_me:$LINENO: checking size of signed char" >&5
6419 $as_echo_n "checking size of signed char... " >&6; }
6420 if test "${ac_cv_sizeof_signed_char+set}" = set; then
6421 $as_echo_n "(cached) " >&6
6423 if test "$cross_compiling" = yes; then
6424 # Depending upon the size, compute the lo and hi bounds.
6425 cat >conftest.
$ac_ext <<_ACEOF
6428 cat confdefs.h
>>conftest.
$ac_ext
6429 cat >>conftest.
$ac_ext <<_ACEOF
6430 /* end confdefs.h. */
6431 $ac_includes_default
6435 static int test_array [1 - 2 * !(((long int) (sizeof (signed char))) >= 0)];
6442 rm -f conftest.
$ac_objext
6443 if { (ac_try
="$ac_compile"
6445 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6446 *) ac_try_echo=$ac_try;;
6448 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6449 $as_echo "$ac_try_echo") >&5
6450 (eval "$ac_compile") 2>conftest.er1
6452 grep -v '^ *+' conftest.er1 >conftest.err
6454 cat conftest.err >&5
6455 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6456 (exit $ac_status); } && {
6457 test -z "$ac_c_werror_flag" ||
6458 test ! -s conftest.err
6459 } && test -s conftest.$ac_objext; then
6462 cat >conftest.$ac_ext <<_ACEOF
6465 cat confdefs.h >>conftest.$ac_ext
6466 cat >>conftest.$ac_ext <<_ACEOF
6467 /* end confdefs.h. */
6468 $ac_includes_default
6472 static int test_array [1 - 2 * !(((long int) (sizeof (signed char))) <= $ac_mid)];
6479 rm -f conftest.$ac_objext
6480 if { (ac_try="$ac_compile"
6482 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6483 *) ac_try_echo
=$ac_try;;
6485 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6486 $as_echo "$ac_try_echo") >&5
6487 (eval "$ac_compile") 2>conftest.er1
6489 grep -v '^ *+' conftest.er1
>conftest.err
6491 cat conftest.err
>&5
6492 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6493 (exit $ac_status); } && {
6494 test -z "$ac_c_werror_flag" ||
6495 test ! -s conftest.err
6496 } && test -s conftest.
$ac_objext; then
6497 ac_hi
=$ac_mid; break
6499 $as_echo "$as_me: failed program was:" >&5
6500 sed 's/^/| /' conftest.
$ac_ext >&5
6502 ac_lo
=`expr $ac_mid + 1`
6503 if test $ac_lo -le $ac_mid; then
6507 ac_mid
=`expr 2 '*' $ac_mid + 1`
6510 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6513 $as_echo "$as_me: failed program was:" >&5
6514 sed 's/^/| /' conftest.
$ac_ext >&5
6516 cat >conftest.
$ac_ext <<_ACEOF
6519 cat confdefs.h
>>conftest.
$ac_ext
6520 cat >>conftest.
$ac_ext <<_ACEOF
6521 /* end confdefs.h. */
6522 $ac_includes_default
6526 static int test_array [1 - 2 * !(((long int) (sizeof (signed char))) < 0)];
6533 rm -f conftest.
$ac_objext
6534 if { (ac_try
="$ac_compile"
6536 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6537 *) ac_try_echo=$ac_try;;
6539 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6540 $as_echo "$ac_try_echo") >&5
6541 (eval "$ac_compile") 2>conftest.er1
6543 grep -v '^ *+' conftest.er1 >conftest.err
6545 cat conftest.err >&5
6546 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6547 (exit $ac_status); } && {
6548 test -z "$ac_c_werror_flag" ||
6549 test ! -s conftest.err
6550 } && test -s conftest.$ac_objext; then
6553 cat >conftest.$ac_ext <<_ACEOF
6556 cat confdefs.h >>conftest.$ac_ext
6557 cat >>conftest.$ac_ext <<_ACEOF
6558 /* end confdefs.h. */
6559 $ac_includes_default
6563 static int test_array [1 - 2 * !(((long int) (sizeof (signed char))) >= $ac_mid)];
6570 rm -f conftest.$ac_objext
6571 if { (ac_try="$ac_compile"
6573 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6574 *) ac_try_echo
=$ac_try;;
6576 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6577 $as_echo "$ac_try_echo") >&5
6578 (eval "$ac_compile") 2>conftest.er1
6580 grep -v '^ *+' conftest.er1
>conftest.err
6582 cat conftest.err
>&5
6583 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6584 (exit $ac_status); } && {
6585 test -z "$ac_c_werror_flag" ||
6586 test ! -s conftest.err
6587 } && test -s conftest.
$ac_objext; then
6588 ac_lo
=$ac_mid; break
6590 $as_echo "$as_me: failed program was:" >&5
6591 sed 's/^/| /' conftest.
$ac_ext >&5
6593 ac_hi
=`expr '(' $ac_mid ')' - 1`
6594 if test $ac_mid -le $ac_hi; then
6598 ac_mid
=`expr 2 '*' $ac_mid`
6601 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6604 $as_echo "$as_me: failed program was:" >&5
6605 sed 's/^/| /' conftest.
$ac_ext >&5
6610 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6613 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6614 # Binary search between lo and hi bounds.
6615 while test "x$ac_lo" != "x$ac_hi"; do
6616 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6617 cat >conftest.
$ac_ext <<_ACEOF
6620 cat confdefs.h
>>conftest.
$ac_ext
6621 cat >>conftest.
$ac_ext <<_ACEOF
6622 /* end confdefs.h. */
6623 $ac_includes_default
6627 static int test_array [1 - 2 * !(((long int) (sizeof (signed char))) <= $ac_mid)];
6634 rm -f conftest.
$ac_objext
6635 if { (ac_try
="$ac_compile"
6637 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6638 *) ac_try_echo=$ac_try;;
6640 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6641 $as_echo "$ac_try_echo") >&5
6642 (eval "$ac_compile") 2>conftest.er1
6644 grep -v '^ *+' conftest.er1 >conftest.err
6646 cat conftest.err >&5
6647 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6648 (exit $ac_status); } && {
6649 test -z "$ac_c_werror_flag" ||
6650 test ! -s conftest.err
6651 } && test -s conftest.$ac_objext; then
6654 $as_echo "$as_me: failed program was:" >&5
6655 sed 's/^/| /' conftest.$ac_ext >&5
6657 ac_lo=`expr '(' $ac_mid ')' + 1`
6660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6663 ?*) ac_cv_sizeof_signed_char=$ac_lo;;
6664 '') if test "$ac_cv_type_signed_char" = yes; then
6665 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6666 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6667 { { $as_echo "$as_me:$LINENO: error
: cannot compute sizeof
(signed char
)
6668 See \
`config.log' for more details." >&5
6669 $as_echo "$as_me: error: cannot compute sizeof (signed char)
6670 See \`config.log
' for more details." >&2;}
6671 { (exit 77); exit 77; }; }; }
6673 ac_cv_sizeof_signed_char=0
6677 cat >conftest.$ac_ext <<_ACEOF
6680 cat confdefs.h >>conftest.$ac_ext
6681 cat >>conftest.$ac_ext <<_ACEOF
6682 /* end confdefs.h. */
6683 $ac_includes_default
6684 static long int longval () { return (long int) (sizeof (signed char)); }
6685 static unsigned long int ulongval () { return (long int) (sizeof (signed char)); }
6692 FILE *f = fopen ("conftest.val", "w");
6695 if (((long int) (sizeof (signed char))) < 0)
6697 long int i = longval ();
6698 if (i != ((long int) (sizeof (signed char))))
6700 fprintf (f, "%ld", i);
6704 unsigned long int i = ulongval ();
6705 if (i != ((long int) (sizeof (signed char))))
6707 fprintf (f, "%lu", i);
6709 /* Do not output a trailing newline, as this causes \r\n confusion
6710 on some platforms. */
6711 return ferror (f) || fclose (f) != 0;
6717 rm -f conftest$ac_exeext
6718 if { (ac_try="$ac_link"
6720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6721 *) ac_try_echo=$ac_try;;
6723 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6724 $as_echo "$ac_try_echo") >&5
6725 (eval "$ac_link") 2>&5
6727 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6728 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
6729 { (case "(($ac_try" in
6730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6731 *) ac_try_echo=$ac_try;;
6733 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6734 $as_echo "$ac_try_echo") >&5
6735 (eval "$ac_try") 2>&5
6737 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6738 (exit $ac_status); }; }; then
6739 ac_cv_sizeof_signed_char=`cat conftest.val`
6741 $as_echo "$as_me: program exited with status $ac_status" >&5
6742 $as_echo "$as_me: failed program was:" >&5
6743 sed 's
/^
/|
/' conftest.$ac_ext >&5
6746 if test "$ac_cv_type_signed_char" = yes; then
6747 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6748 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
6749 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (signed char)
6750 See \`config.log
' for more details." >&5
6751 $as_echo "$as_me: error: cannot compute sizeof (signed char)
6752 See \`config.log' for more details.
" >&2;}
6753 { (exit 77); exit 77; }; }; }
6755 ac_cv_sizeof_signed_char=0
6758 rm -rf conftest.dSYM
6759 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6763 { $as_echo "$as_me:$LINENO: result
: $ac_cv_sizeof_signed_char" >&5
6764 $as_echo "$ac_cv_sizeof_signed_char" >&6; }
6768 cat >>confdefs.h <<_ACEOF
6769 #define SIZEOF_SIGNED_CHAR $ac_cv_sizeof_signed_char
6773 # The cast to long int works around a bug in the HP C Compiler
6774 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6775 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6776 # This bug is HP SR number 8606223364.
6777 { $as_echo "$as_me:$LINENO: checking size of signed short
" >&5
6778 $as_echo_n "checking size of signed short...
" >&6; }
6779 if test "${ac_cv_sizeof_signed_short+set}" = set; then
6780 $as_echo_n "(cached
) " >&6
6782 if test "$cross_compiling" = yes; then
6783 # Depending upon the size, compute the lo and hi bounds.
6784 cat >conftest.$ac_ext <<_ACEOF
6787 cat confdefs.h >>conftest.$ac_ext
6788 cat >>conftest.$ac_ext <<_ACEOF
6789 /* end confdefs.h. */
6790 $ac_includes_default
6794 static int test_array [1 - 2 * !(((long int) (sizeof (signed short))) >= 0)];
6801 rm -f conftest.$ac_objext
6802 if { (ac_try="$ac_compile"
6804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6805 *) ac_try_echo=$ac_try;;
6807 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6808 $as_echo "$ac_try_echo") >&5
6809 (eval "$ac_compile") 2>conftest.er1
6811 grep -v '^ *+' conftest.er1 >conftest.err
6813 cat conftest.err >&5
6814 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6815 (exit $ac_status); } && {
6816 test -z "$ac_c_werror_flag" ||
6817 test ! -s conftest.err
6818 } && test -s conftest.$ac_objext; then
6821 cat >conftest.$ac_ext <<_ACEOF
6824 cat confdefs.h >>conftest.$ac_ext
6825 cat >>conftest.$ac_ext <<_ACEOF
6826 /* end confdefs.h. */
6827 $ac_includes_default
6831 static int test_array [1 - 2 * !(((long int) (sizeof (signed short))) <= $ac_mid)];
6838 rm -f conftest.$ac_objext
6839 if { (ac_try="$ac_compile"
6841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6842 *) ac_try_echo=$ac_try;;
6844 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6845 $as_echo "$ac_try_echo") >&5
6846 (eval "$ac_compile") 2>conftest.er1
6848 grep -v '^ *+' conftest.er1 >conftest.err
6850 cat conftest.err >&5
6851 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6852 (exit $ac_status); } && {
6853 test -z "$ac_c_werror_flag" ||
6854 test ! -s conftest.err
6855 } && test -s conftest.$ac_objext; then
6856 ac_hi=$ac_mid; break
6858 $as_echo "$as_me: failed program was
:" >&5
6859 sed 's/^/| /' conftest.$ac_ext >&5
6861 ac_lo=`expr $ac_mid + 1`
6862 if test $ac_lo -le $ac_mid; then
6866 ac_mid=`expr 2 '*' $ac_mid + 1`
6869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6872 $as_echo "$as_me: failed program was
:" >&5
6873 sed 's/^/| /' conftest.$ac_ext >&5
6875 cat >conftest.$ac_ext <<_ACEOF
6878 cat confdefs.h >>conftest.$ac_ext
6879 cat >>conftest.$ac_ext <<_ACEOF
6880 /* end confdefs.h. */
6881 $ac_includes_default
6885 static int test_array [1 - 2 * !(((long int) (sizeof (signed short))) < 0)];
6892 rm -f conftest.$ac_objext
6893 if { (ac_try="$ac_compile"
6895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6896 *) ac_try_echo=$ac_try;;
6898 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6899 $as_echo "$ac_try_echo") >&5
6900 (eval "$ac_compile") 2>conftest.er1
6902 grep -v '^ *+' conftest.er1 >conftest.err
6904 cat conftest.err >&5
6905 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6906 (exit $ac_status); } && {
6907 test -z "$ac_c_werror_flag" ||
6908 test ! -s conftest.err
6909 } && test -s conftest.$ac_objext; then
6912 cat >conftest.$ac_ext <<_ACEOF
6915 cat confdefs.h >>conftest.$ac_ext
6916 cat >>conftest.$ac_ext <<_ACEOF
6917 /* end confdefs.h. */
6918 $ac_includes_default
6922 static int test_array [1 - 2 * !(((long int) (sizeof (signed short))) >= $ac_mid)];
6929 rm -f conftest.$ac_objext
6930 if { (ac_try="$ac_compile"
6932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6933 *) ac_try_echo=$ac_try;;
6935 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6936 $as_echo "$ac_try_echo") >&5
6937 (eval "$ac_compile") 2>conftest.er1
6939 grep -v '^ *+' conftest.er1 >conftest.err
6941 cat conftest.err >&5
6942 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6943 (exit $ac_status); } && {
6944 test -z "$ac_c_werror_flag" ||
6945 test ! -s conftest.err
6946 } && test -s conftest.$ac_objext; then
6947 ac_lo=$ac_mid; break
6949 $as_echo "$as_me: failed program was
:" >&5
6950 sed 's/^/| /' conftest.$ac_ext >&5
6952 ac_hi=`expr '(' $ac_mid ')' - 1`
6953 if test $ac_mid -le $ac_hi; then
6957 ac_mid=`expr 2 '*' $ac_mid`
6960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6963 $as_echo "$as_me: failed program was
:" >&5
6964 sed 's/^/| /' conftest.$ac_ext >&5
6969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6973 # Binary search between lo and hi bounds.
6974 while test "x
$ac_lo" != "x
$ac_hi"; do
6975 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6976 cat >conftest.$ac_ext <<_ACEOF
6979 cat confdefs.h >>conftest.$ac_ext
6980 cat >>conftest.$ac_ext <<_ACEOF
6981 /* end confdefs.h. */
6982 $ac_includes_default
6986 static int test_array [1 - 2 * !(((long int) (sizeof (signed short))) <= $ac_mid)];
6993 rm -f conftest.$ac_objext
6994 if { (ac_try="$ac_compile"
6996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6997 *) ac_try_echo=$ac_try;;
6999 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7000 $as_echo "$ac_try_echo") >&5
7001 (eval "$ac_compile") 2>conftest.er1
7003 grep -v '^ *+' conftest.er1 >conftest.err
7005 cat conftest.err >&5
7006 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7007 (exit $ac_status); } && {
7008 test -z "$ac_c_werror_flag" ||
7009 test ! -s conftest.err
7010 } && test -s conftest.$ac_objext; then
7013 $as_echo "$as_me: failed program was
:" >&5
7014 sed 's/^/| /' conftest.$ac_ext >&5
7016 ac_lo=`expr '(' $ac_mid ')' + 1`
7019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7022 ?*) ac_cv_sizeof_signed_short=$ac_lo;;
7023 '') if test "$ac_cv_type_signed_short" = yes; then
7024 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
7025 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7026 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (signed short)
7027 See \`config.log' for more details.
" >&5
7028 $as_echo "$as_me: error
: cannot compute sizeof
(signed short
)
7029 See \
`config.log' for more details." >&2;}
7030 { (exit 77); exit 77; }; }; }
7032 ac_cv_sizeof_signed_short=0
7036 cat >conftest.$ac_ext <<_ACEOF
7039 cat confdefs.h >>conftest.$ac_ext
7040 cat >>conftest.$ac_ext <<_ACEOF
7041 /* end confdefs.h. */
7042 $ac_includes_default
7043 static long int longval () { return (long int) (sizeof (signed short)); }
7044 static unsigned long int ulongval () { return (long int) (sizeof (signed short)); }
7051 FILE *f = fopen ("conftest.val", "w");
7054 if (((long int) (sizeof (signed short))) < 0)
7056 long int i = longval ();
7057 if (i != ((long int) (sizeof (signed short))))
7059 fprintf (f, "%ld", i);
7063 unsigned long int i = ulongval ();
7064 if (i != ((long int) (sizeof (signed short))))
7066 fprintf (f, "%lu", i);
7068 /* Do not output a trailing newline, as this causes \r\n confusion
7069 on some platforms. */
7070 return ferror (f) || fclose (f) != 0;
7076 rm -f conftest$ac_exeext
7077 if { (ac_try="$ac_link"
7079 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7080 *) ac_try_echo
=$ac_try;;
7082 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7083 $as_echo "$ac_try_echo") >&5
7084 (eval "$ac_link") 2>&5
7086 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7087 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7088 { (case "(($ac_try" in
7089 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7090 *) ac_try_echo=$ac_try;;
7092 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7093 $as_echo "$ac_try_echo") >&5
7094 (eval "$ac_try") 2>&5
7096 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7097 (exit $ac_status); }; }; then
7098 ac_cv_sizeof_signed_short=`cat conftest.val
`
7100 $as_echo "$as_me: program exited with status $ac_status" >&5
7101 $as_echo "$as_me: failed program was:" >&5
7102 sed 's/^/| /' conftest.$ac_ext >&5
7105 if test "$ac_cv_type_signed_short" = yes; then
7106 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
7107 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7108 { { $as_echo "$as_me:$LINENO: error
: cannot compute sizeof
(signed short
)
7109 See \
`config.log' for more details." >&5
7110 $as_echo "$as_me: error: cannot compute sizeof (signed short)
7111 See \`config.log
' for more details." >&2;}
7112 { (exit 77); exit 77; }; }; }
7114 ac_cv_sizeof_signed_short=0
7117 rm -rf conftest.dSYM
7118 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7122 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_signed_short" >&5
7123 $as_echo "$ac_cv_sizeof_signed_short" >&6; }
7127 cat >>confdefs.h <<_ACEOF
7128 #define SIZEOF_SIGNED_SHORT $ac_cv_sizeof_signed_short
7132 # The cast to long int works around a bug in the HP C Compiler
7133 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7134 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7135 # This bug is HP SR number 8606223364.
7136 { $as_echo "$as_me:$LINENO: checking size of signed" >&5
7137 $as_echo_n "checking size of signed... " >&6; }
7138 if test "${ac_cv_sizeof_signed+set}" = set; then
7139 $as_echo_n "(cached) " >&6
7141 if test "$cross_compiling" = yes; then
7142 # Depending upon the size, compute the lo and hi bounds.
7143 cat >conftest.
$ac_ext <<_ACEOF
7146 cat confdefs.h
>>conftest.
$ac_ext
7147 cat >>conftest.
$ac_ext <<_ACEOF
7148 /* end confdefs.h. */
7149 $ac_includes_default
7153 static int test_array [1 - 2 * !(((long int) (sizeof (signed))) >= 0)];
7160 rm -f conftest.
$ac_objext
7161 if { (ac_try
="$ac_compile"
7163 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7164 *) ac_try_echo=$ac_try;;
7166 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7167 $as_echo "$ac_try_echo") >&5
7168 (eval "$ac_compile") 2>conftest.er1
7170 grep -v '^ *+' conftest.er1 >conftest.err
7172 cat conftest.err >&5
7173 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7174 (exit $ac_status); } && {
7175 test -z "$ac_c_werror_flag" ||
7176 test ! -s conftest.err
7177 } && test -s conftest.$ac_objext; then
7180 cat >conftest.$ac_ext <<_ACEOF
7183 cat confdefs.h >>conftest.$ac_ext
7184 cat >>conftest.$ac_ext <<_ACEOF
7185 /* end confdefs.h. */
7186 $ac_includes_default
7190 static int test_array [1 - 2 * !(((long int) (sizeof (signed))) <= $ac_mid)];
7197 rm -f conftest.$ac_objext
7198 if { (ac_try="$ac_compile"
7200 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7201 *) ac_try_echo
=$ac_try;;
7203 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7204 $as_echo "$ac_try_echo") >&5
7205 (eval "$ac_compile") 2>conftest.er1
7207 grep -v '^ *+' conftest.er1
>conftest.err
7209 cat conftest.err
>&5
7210 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7211 (exit $ac_status); } && {
7212 test -z "$ac_c_werror_flag" ||
7213 test ! -s conftest.err
7214 } && test -s conftest.
$ac_objext; then
7215 ac_hi
=$ac_mid; break
7217 $as_echo "$as_me: failed program was:" >&5
7218 sed 's/^/| /' conftest.
$ac_ext >&5
7220 ac_lo
=`expr $ac_mid + 1`
7221 if test $ac_lo -le $ac_mid; then
7225 ac_mid
=`expr 2 '*' $ac_mid + 1`
7228 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7231 $as_echo "$as_me: failed program was:" >&5
7232 sed 's/^/| /' conftest.
$ac_ext >&5
7234 cat >conftest.
$ac_ext <<_ACEOF
7237 cat confdefs.h
>>conftest.
$ac_ext
7238 cat >>conftest.
$ac_ext <<_ACEOF
7239 /* end confdefs.h. */
7240 $ac_includes_default
7244 static int test_array [1 - 2 * !(((long int) (sizeof (signed))) < 0)];
7251 rm -f conftest.
$ac_objext
7252 if { (ac_try
="$ac_compile"
7254 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7255 *) ac_try_echo=$ac_try;;
7257 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7258 $as_echo "$ac_try_echo") >&5
7259 (eval "$ac_compile") 2>conftest.er1
7261 grep -v '^ *+' conftest.er1 >conftest.err
7263 cat conftest.err >&5
7264 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7265 (exit $ac_status); } && {
7266 test -z "$ac_c_werror_flag" ||
7267 test ! -s conftest.err
7268 } && test -s conftest.$ac_objext; then
7271 cat >conftest.$ac_ext <<_ACEOF
7274 cat confdefs.h >>conftest.$ac_ext
7275 cat >>conftest.$ac_ext <<_ACEOF
7276 /* end confdefs.h. */
7277 $ac_includes_default
7281 static int test_array [1 - 2 * !(((long int) (sizeof (signed))) >= $ac_mid)];
7288 rm -f conftest.$ac_objext
7289 if { (ac_try="$ac_compile"
7291 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7292 *) ac_try_echo
=$ac_try;;
7294 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7295 $as_echo "$ac_try_echo") >&5
7296 (eval "$ac_compile") 2>conftest.er1
7298 grep -v '^ *+' conftest.er1
>conftest.err
7300 cat conftest.err
>&5
7301 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7302 (exit $ac_status); } && {
7303 test -z "$ac_c_werror_flag" ||
7304 test ! -s conftest.err
7305 } && test -s conftest.
$ac_objext; then
7306 ac_lo
=$ac_mid; break
7308 $as_echo "$as_me: failed program was:" >&5
7309 sed 's/^/| /' conftest.
$ac_ext >&5
7311 ac_hi
=`expr '(' $ac_mid ')' - 1`
7312 if test $ac_mid -le $ac_hi; then
7316 ac_mid
=`expr 2 '*' $ac_mid`
7319 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7322 $as_echo "$as_me: failed program was:" >&5
7323 sed 's/^/| /' conftest.
$ac_ext >&5
7328 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7331 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7332 # Binary search between lo and hi bounds.
7333 while test "x$ac_lo" != "x$ac_hi"; do
7334 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7335 cat >conftest.
$ac_ext <<_ACEOF
7338 cat confdefs.h
>>conftest.
$ac_ext
7339 cat >>conftest.
$ac_ext <<_ACEOF
7340 /* end confdefs.h. */
7341 $ac_includes_default
7345 static int test_array [1 - 2 * !(((long int) (sizeof (signed))) <= $ac_mid)];
7352 rm -f conftest.
$ac_objext
7353 if { (ac_try
="$ac_compile"
7355 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7356 *) ac_try_echo=$ac_try;;
7358 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7359 $as_echo "$ac_try_echo") >&5
7360 (eval "$ac_compile") 2>conftest.er1
7362 grep -v '^ *+' conftest.er1 >conftest.err
7364 cat conftest.err >&5
7365 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7366 (exit $ac_status); } && {
7367 test -z "$ac_c_werror_flag" ||
7368 test ! -s conftest.err
7369 } && test -s conftest.$ac_objext; then
7372 $as_echo "$as_me: failed program was:" >&5
7373 sed 's/^/| /' conftest.$ac_ext >&5
7375 ac_lo=`expr '(' $ac_mid ')' + 1`
7378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7381 ?*) ac_cv_sizeof_signed=$ac_lo;;
7382 '') if test "$ac_cv_type_signed" = yes; then
7383 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
7384 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7385 { { $as_echo "$as_me:$LINENO: error
: cannot compute sizeof
(signed
)
7386 See \
`config.log' for more details." >&5
7387 $as_echo "$as_me: error: cannot compute sizeof (signed)
7388 See \`config.log
' for more details." >&2;}
7389 { (exit 77); exit 77; }; }; }
7391 ac_cv_sizeof_signed=0
7395 cat >conftest.$ac_ext <<_ACEOF
7398 cat confdefs.h >>conftest.$ac_ext
7399 cat >>conftest.$ac_ext <<_ACEOF
7400 /* end confdefs.h. */
7401 $ac_includes_default
7402 static long int longval () { return (long int) (sizeof (signed)); }
7403 static unsigned long int ulongval () { return (long int) (sizeof (signed)); }
7410 FILE *f = fopen ("conftest.val", "w");
7413 if (((long int) (sizeof (signed))) < 0)
7415 long int i = longval ();
7416 if (i != ((long int) (sizeof (signed))))
7418 fprintf (f, "%ld", i);
7422 unsigned long int i = ulongval ();
7423 if (i != ((long int) (sizeof (signed))))
7425 fprintf (f, "%lu", i);
7427 /* Do not output a trailing newline, as this causes \r\n confusion
7428 on some platforms. */
7429 return ferror (f) || fclose (f) != 0;
7435 rm -f conftest$ac_exeext
7436 if { (ac_try="$ac_link"
7438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7439 *) ac_try_echo=$ac_try;;
7441 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7442 $as_echo "$ac_try_echo") >&5
7443 (eval "$ac_link") 2>&5
7445 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7446 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
7447 { (case "(($ac_try" in
7448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7449 *) ac_try_echo=$ac_try;;
7451 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7452 $as_echo "$ac_try_echo") >&5
7453 (eval "$ac_try") 2>&5
7455 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7456 (exit $ac_status); }; }; then
7457 ac_cv_sizeof_signed=`cat conftest.val`
7459 $as_echo "$as_me: program exited with status $ac_status" >&5
7460 $as_echo "$as_me: failed program was:" >&5
7461 sed 's
/^
/|
/' conftest.$ac_ext >&5
7464 if test "$ac_cv_type_signed" = yes; then
7465 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
7466 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
7467 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (signed)
7468 See \`config.log
' for more details." >&5
7469 $as_echo "$as_me: error: cannot compute sizeof (signed)
7470 See \`config.log' for more details.
" >&2;}
7471 { (exit 77); exit 77; }; }; }
7473 ac_cv_sizeof_signed=0
7476 rm -rf conftest.dSYM
7477 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7481 { $as_echo "$as_me:$LINENO: result
: $ac_cv_sizeof_signed" >&5
7482 $as_echo "$ac_cv_sizeof_signed" >&6; }
7486 cat >>confdefs.h <<_ACEOF
7487 #define SIZEOF_SIGNED $ac_cv_sizeof_signed
7491 # The cast to long int works around a bug in the HP C Compiler
7492 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7493 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7494 # This bug is HP SR number 8606223364.
7495 { $as_echo "$as_me:$LINENO: checking size of signed long long
" >&5
7496 $as_echo_n "checking size of signed long long...
" >&6; }
7497 if test "${ac_cv_sizeof_signed_long_long+set}" = set; then
7498 $as_echo_n "(cached
) " >&6
7500 if test "$cross_compiling" = yes; then
7501 # Depending upon the size, compute the lo and hi bounds.
7502 cat >conftest.$ac_ext <<_ACEOF
7505 cat confdefs.h >>conftest.$ac_ext
7506 cat >>conftest.$ac_ext <<_ACEOF
7507 /* end confdefs.h. */
7508 $ac_includes_default
7512 static int test_array [1 - 2 * !(((long int) (sizeof (signed long long))) >= 0)];
7519 rm -f conftest.$ac_objext
7520 if { (ac_try="$ac_compile"
7522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7523 *) ac_try_echo=$ac_try;;
7525 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7526 $as_echo "$ac_try_echo") >&5
7527 (eval "$ac_compile") 2>conftest.er1
7529 grep -v '^ *+' conftest.er1 >conftest.err
7531 cat conftest.err >&5
7532 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7533 (exit $ac_status); } && {
7534 test -z "$ac_c_werror_flag" ||
7535 test ! -s conftest.err
7536 } && test -s conftest.$ac_objext; then
7539 cat >conftest.$ac_ext <<_ACEOF
7542 cat confdefs.h >>conftest.$ac_ext
7543 cat >>conftest.$ac_ext <<_ACEOF
7544 /* end confdefs.h. */
7545 $ac_includes_default
7549 static int test_array [1 - 2 * !(((long int) (sizeof (signed long long))) <= $ac_mid)];
7556 rm -f conftest.$ac_objext
7557 if { (ac_try="$ac_compile"
7559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7560 *) ac_try_echo=$ac_try;;
7562 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7563 $as_echo "$ac_try_echo") >&5
7564 (eval "$ac_compile") 2>conftest.er1
7566 grep -v '^ *+' conftest.er1 >conftest.err
7568 cat conftest.err >&5
7569 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7570 (exit $ac_status); } && {
7571 test -z "$ac_c_werror_flag" ||
7572 test ! -s conftest.err
7573 } && test -s conftest.$ac_objext; then
7574 ac_hi=$ac_mid; break
7576 $as_echo "$as_me: failed program was
:" >&5
7577 sed 's/^/| /' conftest.$ac_ext >&5
7579 ac_lo=`expr $ac_mid + 1`
7580 if test $ac_lo -le $ac_mid; then
7584 ac_mid=`expr 2 '*' $ac_mid + 1`
7587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7590 $as_echo "$as_me: failed program was
:" >&5
7591 sed 's/^/| /' conftest.$ac_ext >&5
7593 cat >conftest.$ac_ext <<_ACEOF
7596 cat confdefs.h >>conftest.$ac_ext
7597 cat >>conftest.$ac_ext <<_ACEOF
7598 /* end confdefs.h. */
7599 $ac_includes_default
7603 static int test_array [1 - 2 * !(((long int) (sizeof (signed long long))) < 0)];
7610 rm -f conftest.$ac_objext
7611 if { (ac_try="$ac_compile"
7613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7614 *) ac_try_echo=$ac_try;;
7616 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7617 $as_echo "$ac_try_echo") >&5
7618 (eval "$ac_compile") 2>conftest.er1
7620 grep -v '^ *+' conftest.er1 >conftest.err
7622 cat conftest.err >&5
7623 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7624 (exit $ac_status); } && {
7625 test -z "$ac_c_werror_flag" ||
7626 test ! -s conftest.err
7627 } && test -s conftest.$ac_objext; then
7630 cat >conftest.$ac_ext <<_ACEOF
7633 cat confdefs.h >>conftest.$ac_ext
7634 cat >>conftest.$ac_ext <<_ACEOF
7635 /* end confdefs.h. */
7636 $ac_includes_default
7640 static int test_array [1 - 2 * !(((long int) (sizeof (signed long long))) >= $ac_mid)];
7647 rm -f conftest.$ac_objext
7648 if { (ac_try="$ac_compile"
7650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7651 *) ac_try_echo=$ac_try;;
7653 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7654 $as_echo "$ac_try_echo") >&5
7655 (eval "$ac_compile") 2>conftest.er1
7657 grep -v '^ *+' conftest.er1 >conftest.err
7659 cat conftest.err >&5
7660 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7661 (exit $ac_status); } && {
7662 test -z "$ac_c_werror_flag" ||
7663 test ! -s conftest.err
7664 } && test -s conftest.$ac_objext; then
7665 ac_lo=$ac_mid; break
7667 $as_echo "$as_me: failed program was
:" >&5
7668 sed 's/^/| /' conftest.$ac_ext >&5
7670 ac_hi=`expr '(' $ac_mid ')' - 1`
7671 if test $ac_mid -le $ac_hi; then
7675 ac_mid=`expr 2 '*' $ac_mid`
7678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7681 $as_echo "$as_me: failed program was
:" >&5
7682 sed 's/^/| /' conftest.$ac_ext >&5
7687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7691 # Binary search between lo and hi bounds.
7692 while test "x
$ac_lo" != "x
$ac_hi"; do
7693 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7694 cat >conftest.$ac_ext <<_ACEOF
7697 cat confdefs.h >>conftest.$ac_ext
7698 cat >>conftest.$ac_ext <<_ACEOF
7699 /* end confdefs.h. */
7700 $ac_includes_default
7704 static int test_array [1 - 2 * !(((long int) (sizeof (signed long long))) <= $ac_mid)];
7711 rm -f conftest.$ac_objext
7712 if { (ac_try="$ac_compile"
7714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7715 *) ac_try_echo=$ac_try;;
7717 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7718 $as_echo "$ac_try_echo") >&5
7719 (eval "$ac_compile") 2>conftest.er1
7721 grep -v '^ *+' conftest.er1 >conftest.err
7723 cat conftest.err >&5
7724 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7725 (exit $ac_status); } && {
7726 test -z "$ac_c_werror_flag" ||
7727 test ! -s conftest.err
7728 } && test -s conftest.$ac_objext; then
7731 $as_echo "$as_me: failed program was
:" >&5
7732 sed 's/^/| /' conftest.$ac_ext >&5
7734 ac_lo=`expr '(' $ac_mid ')' + 1`
7737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7740 ?*) ac_cv_sizeof_signed_long_long=$ac_lo;;
7741 '') if test "$ac_cv_type_signed_long_long" = yes; then
7742 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
7743 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7744 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (signed long long)
7745 See \`config.log' for more details.
" >&5
7746 $as_echo "$as_me: error
: cannot compute sizeof
(signed long long
)
7747 See \
`config.log' for more details." >&2;}
7748 { (exit 77); exit 77; }; }; }
7750 ac_cv_sizeof_signed_long_long=0
7754 cat >conftest.$ac_ext <<_ACEOF
7757 cat confdefs.h >>conftest.$ac_ext
7758 cat >>conftest.$ac_ext <<_ACEOF
7759 /* end confdefs.h. */
7760 $ac_includes_default
7761 static long int longval () { return (long int) (sizeof (signed long long)); }
7762 static unsigned long int ulongval () { return (long int) (sizeof (signed long long)); }
7769 FILE *f = fopen ("conftest.val", "w");
7772 if (((long int) (sizeof (signed long long))) < 0)
7774 long int i = longval ();
7775 if (i != ((long int) (sizeof (signed long long))))
7777 fprintf (f, "%ld", i);
7781 unsigned long int i = ulongval ();
7782 if (i != ((long int) (sizeof (signed long long))))
7784 fprintf (f, "%lu", i);
7786 /* Do not output a trailing newline, as this causes \r\n confusion
7787 on some platforms. */
7788 return ferror (f) || fclose (f) != 0;
7794 rm -f conftest$ac_exeext
7795 if { (ac_try="$ac_link"
7797 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7798 *) ac_try_echo
=$ac_try;;
7800 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7801 $as_echo "$ac_try_echo") >&5
7802 (eval "$ac_link") 2>&5
7804 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7805 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7806 { (case "(($ac_try" in
7807 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7808 *) ac_try_echo=$ac_try;;
7810 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7811 $as_echo "$ac_try_echo") >&5
7812 (eval "$ac_try") 2>&5
7814 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7815 (exit $ac_status); }; }; then
7816 ac_cv_sizeof_signed_long_long=`cat conftest.val
`
7818 $as_echo "$as_me: program exited with status $ac_status" >&5
7819 $as_echo "$as_me: failed program was:" >&5
7820 sed 's/^/| /' conftest.$ac_ext >&5
7823 if test "$ac_cv_type_signed_long_long" = yes; then
7824 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
7825 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7826 { { $as_echo "$as_me:$LINENO: error
: cannot compute sizeof
(signed long long
)
7827 See \
`config.log' for more details." >&5
7828 $as_echo "$as_me: error: cannot compute sizeof (signed long long)
7829 See \`config.log
' for more details." >&2;}
7830 { (exit 77); exit 77; }; }; }
7832 ac_cv_sizeof_signed_long_long=0
7835 rm -rf conftest.dSYM
7836 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7840 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_signed_long_long" >&5
7841 $as_echo "$ac_cv_sizeof_signed_long_long" >&6; }
7845 cat >>confdefs.h <<_ACEOF
7846 #define SIZEOF_SIGNED_LONG_LONG $ac_cv_sizeof_signed_long_long
7850 # The cast to long int works around a bug in the HP C Compiler
7851 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7852 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7853 # This bug is HP SR number 8606223364.
7854 { $as_echo "$as_me:$LINENO: checking size of void*" >&5
7855 $as_echo_n "checking size of void*... " >&6; }
7856 if test "${ac_cv_sizeof_voidp+set}" = set; then
7857 $as_echo_n "(cached) " >&6
7859 if test "$cross_compiling" = yes; then
7860 # Depending upon the size, compute the lo and hi bounds.
7861 cat >conftest.
$ac_ext <<_ACEOF
7864 cat confdefs.h
>>conftest.
$ac_ext
7865 cat >>conftest.
$ac_ext <<_ACEOF
7866 /* end confdefs.h. */
7867 $ac_includes_default
7871 static int test_array [1 - 2 * !(((long int) (sizeof (void*))) >= 0)];
7878 rm -f conftest.
$ac_objext
7879 if { (ac_try
="$ac_compile"
7881 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7882 *) ac_try_echo=$ac_try;;
7884 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7885 $as_echo "$ac_try_echo") >&5
7886 (eval "$ac_compile") 2>conftest.er1
7888 grep -v '^ *+' conftest.er1 >conftest.err
7890 cat conftest.err >&5
7891 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7892 (exit $ac_status); } && {
7893 test -z "$ac_c_werror_flag" ||
7894 test ! -s conftest.err
7895 } && test -s conftest.$ac_objext; then
7898 cat >conftest.$ac_ext <<_ACEOF
7901 cat confdefs.h >>conftest.$ac_ext
7902 cat >>conftest.$ac_ext <<_ACEOF
7903 /* end confdefs.h. */
7904 $ac_includes_default
7908 static int test_array [1 - 2 * !(((long int) (sizeof (void*))) <= $ac_mid)];
7915 rm -f conftest.$ac_objext
7916 if { (ac_try="$ac_compile"
7918 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7919 *) ac_try_echo
=$ac_try;;
7921 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7922 $as_echo "$ac_try_echo") >&5
7923 (eval "$ac_compile") 2>conftest.er1
7925 grep -v '^ *+' conftest.er1
>conftest.err
7927 cat conftest.err
>&5
7928 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7929 (exit $ac_status); } && {
7930 test -z "$ac_c_werror_flag" ||
7931 test ! -s conftest.err
7932 } && test -s conftest.
$ac_objext; then
7933 ac_hi
=$ac_mid; break
7935 $as_echo "$as_me: failed program was:" >&5
7936 sed 's/^/| /' conftest.
$ac_ext >&5
7938 ac_lo
=`expr $ac_mid + 1`
7939 if test $ac_lo -le $ac_mid; then
7943 ac_mid
=`expr 2 '*' $ac_mid + 1`
7946 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7949 $as_echo "$as_me: failed program was:" >&5
7950 sed 's/^/| /' conftest.
$ac_ext >&5
7952 cat >conftest.
$ac_ext <<_ACEOF
7955 cat confdefs.h
>>conftest.
$ac_ext
7956 cat >>conftest.
$ac_ext <<_ACEOF
7957 /* end confdefs.h. */
7958 $ac_includes_default
7962 static int test_array [1 - 2 * !(((long int) (sizeof (void*))) < 0)];
7969 rm -f conftest.
$ac_objext
7970 if { (ac_try
="$ac_compile"
7972 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7973 *) ac_try_echo=$ac_try;;
7975 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7976 $as_echo "$ac_try_echo") >&5
7977 (eval "$ac_compile") 2>conftest.er1
7979 grep -v '^ *+' conftest.er1 >conftest.err
7981 cat conftest.err >&5
7982 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7983 (exit $ac_status); } && {
7984 test -z "$ac_c_werror_flag" ||
7985 test ! -s conftest.err
7986 } && test -s conftest.$ac_objext; then
7989 cat >conftest.$ac_ext <<_ACEOF
7992 cat confdefs.h >>conftest.$ac_ext
7993 cat >>conftest.$ac_ext <<_ACEOF
7994 /* end confdefs.h. */
7995 $ac_includes_default
7999 static int test_array [1 - 2 * !(((long int) (sizeof (void*))) >= $ac_mid)];
8006 rm -f conftest.$ac_objext
8007 if { (ac_try="$ac_compile"
8009 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8010 *) ac_try_echo
=$ac_try;;
8012 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8013 $as_echo "$ac_try_echo") >&5
8014 (eval "$ac_compile") 2>conftest.er1
8016 grep -v '^ *+' conftest.er1
>conftest.err
8018 cat conftest.err
>&5
8019 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8020 (exit $ac_status); } && {
8021 test -z "$ac_c_werror_flag" ||
8022 test ! -s conftest.err
8023 } && test -s conftest.
$ac_objext; then
8024 ac_lo
=$ac_mid; break
8026 $as_echo "$as_me: failed program was:" >&5
8027 sed 's/^/| /' conftest.
$ac_ext >&5
8029 ac_hi
=`expr '(' $ac_mid ')' - 1`
8030 if test $ac_mid -le $ac_hi; then
8034 ac_mid
=`expr 2 '*' $ac_mid`
8037 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8040 $as_echo "$as_me: failed program was:" >&5
8041 sed 's/^/| /' conftest.
$ac_ext >&5
8046 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8049 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8050 # Binary search between lo and hi bounds.
8051 while test "x$ac_lo" != "x$ac_hi"; do
8052 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8053 cat >conftest.
$ac_ext <<_ACEOF
8056 cat confdefs.h
>>conftest.
$ac_ext
8057 cat >>conftest.
$ac_ext <<_ACEOF
8058 /* end confdefs.h. */
8059 $ac_includes_default
8063 static int test_array [1 - 2 * !(((long int) (sizeof (void*))) <= $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 ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8077 $as_echo "$ac_try_echo") >&5
8078 (eval "$ac_compile") 2>conftest.er1
8080 grep -v '^ *+' conftest.er1 >conftest.err
8082 cat conftest.err >&5
8083 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8084 (exit $ac_status); } && {
8085 test -z "$ac_c_werror_flag" ||
8086 test ! -s conftest.err
8087 } && test -s conftest.$ac_objext; then
8090 $as_echo "$as_me: failed program was:" >&5
8091 sed 's/^/| /' conftest.$ac_ext >&5
8093 ac_lo=`expr '(' $ac_mid ')' + 1`
8096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8099 ?*) ac_cv_sizeof_voidp=$ac_lo;;
8100 '') if test "$ac_cv_type_voidp" = yes; then
8101 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
8102 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8103 { { $as_echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
8104 See \
`config.log' for more details." >&5
8105 $as_echo "$as_me: error: cannot compute sizeof (void*)
8106 See \`config.log
' for more details." >&2;}
8107 { (exit 77); exit 77; }; }; }
8109 ac_cv_sizeof_voidp=0
8113 cat >conftest.$ac_ext <<_ACEOF
8116 cat confdefs.h >>conftest.$ac_ext
8117 cat >>conftest.$ac_ext <<_ACEOF
8118 /* end confdefs.h. */
8119 $ac_includes_default
8120 static long int longval () { return (long int) (sizeof (void*)); }
8121 static unsigned long int ulongval () { return (long int) (sizeof (void*)); }
8128 FILE *f = fopen ("conftest.val", "w");
8131 if (((long int) (sizeof (void*))) < 0)
8133 long int i = longval ();
8134 if (i != ((long int) (sizeof (void*))))
8136 fprintf (f, "%ld", i);
8140 unsigned long int i = ulongval ();
8141 if (i != ((long int) (sizeof (void*))))
8143 fprintf (f, "%lu", i);
8145 /* Do not output a trailing newline, as this causes \r\n confusion
8146 on some platforms. */
8147 return ferror (f) || fclose (f) != 0;
8153 rm -f conftest$ac_exeext
8154 if { (ac_try="$ac_link"
8156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8157 *) ac_try_echo=$ac_try;;
8159 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8160 $as_echo "$ac_try_echo") >&5
8161 (eval "$ac_link") 2>&5
8163 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8164 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
8165 { (case "(($ac_try" in
8166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8167 *) ac_try_echo=$ac_try;;
8169 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8170 $as_echo "$ac_try_echo") >&5
8171 (eval "$ac_try") 2>&5
8173 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8174 (exit $ac_status); }; }; then
8175 ac_cv_sizeof_voidp=`cat conftest.val`
8177 $as_echo "$as_me: program exited with status $ac_status" >&5
8178 $as_echo "$as_me: failed program was:" >&5
8179 sed 's
/^
/|
/' conftest.$ac_ext >&5
8182 if test "$ac_cv_type_voidp" = yes; then
8183 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
8184 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
8185 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void*)
8186 See \`config.log
' for more details." >&5
8187 $as_echo "$as_me: error: cannot compute sizeof (void*)
8188 See \`config.log' for more details.
" >&2;}
8189 { (exit 77); exit 77; }; }; }
8191 ac_cv_sizeof_voidp=0
8194 rm -rf conftest.dSYM
8195 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8199 { $as_echo "$as_me:$LINENO: result
: $ac_cv_sizeof_voidp" >&5
8200 $as_echo "$ac_cv_sizeof_voidp" >&6; }
8204 cat >>confdefs.h <<_ACEOF
8205 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
8212 # Extract the first word of "freetype-config
", so it can be a program name with args.
8213 set dummy freetype-config; ac_word=$2
8214 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
8215 $as_echo_n "checking
for $ac_word...
" >&6; }
8216 if test "${ac_cv_path_FREETYPE_CONFIG+set}" = set; then
8217 $as_echo_n "(cached
) " >&6
8219 case $FREETYPE_CONFIG in
8221 ac_cv_path_FREETYPE_CONFIG="$FREETYPE_CONFIG" # Let the user override the test with a path.
8224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8225 as_dummy=""$PATH:/usr/local/bin:/sw/bin:/opt/local/bin""
8226 for as_dir in $as_dummy
8229 test -z "$as_dir" && as_dir=.
8230 for ac_exec_ext in '' $ac_executable_extensions; do
8231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8232 ac_cv_path_FREETYPE_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8233 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8243 FREETYPE_CONFIG=$ac_cv_path_FREETYPE_CONFIG
8244 if test -n "$FREETYPE_CONFIG"; then
8245 { $as_echo "$as_me:$LINENO: result
: $FREETYPE_CONFIG" >&5
8246 $as_echo "$FREETYPE_CONFIG" >&6; }
8248 { $as_echo "$as_me:$LINENO: result
: no
" >&5
8249 $as_echo "no
" >&6; }
8254 OLDCPPFLAGS="${CPPFLAGS}"
8256 if test "x
${FREETYPE_CONFIG}" '!=' "x
"; then
8257 CPPFLAGS="$CPPFLAGS "`$FREETYPE_CONFIG --cflags`
8258 else if test -d /usr/include/freetype2; then
8259 CPPFLAGS="$CPPFLAGS -I/usr
/include
/freetype2
"
8260 else if test -d /usr/local/include/freetype2; then
8261 CPPFLAGS="$CPPFLAGS -I/usr
/local
/include
/freetype2
"
8266 if test "x
${FREETYPE_CONFIG}" '=' "x
";then
8267 # if we didn't find the freetype-config program, we won't
8268 # know where the libs are expected to be. So just blindly
8269 # try to link against them.
8270 { $as_echo "$as_me:$LINENO: checking
for FT_Init_FreeType
in -lfreetype" >&5
8271 $as_echo_n "checking
for FT_Init_FreeType
in -lfreetype...
" >&6; }
8272 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
8273 $as_echo_n "(cached
) " >&6
8275 ac_check_lib_save_LIBS=$LIBS
8276 LIBS="-lfreetype $LIBS"
8277 cat >conftest.$ac_ext <<_ACEOF
8280 cat confdefs.h >>conftest.$ac_ext
8281 cat >>conftest.$ac_ext <<_ACEOF
8282 /* end confdefs.h. */
8284 /* Override any GCC internal prototype to avoid an error.
8285 Use char because int might match the return type of a GCC
8286 builtin and then its argument prototype would still apply. */
8290 char FT_Init_FreeType ();
8294 return FT_Init_FreeType ();
8299 rm -f conftest.$ac_objext conftest$ac_exeext
8300 if { (ac_try="$ac_link"
8302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8303 *) ac_try_echo=$ac_try;;
8305 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8306 $as_echo "$ac_try_echo") >&5
8307 (eval "$ac_link") 2>conftest.er1
8309 grep -v '^ *+' conftest.er1 >conftest.err
8311 cat conftest.err >&5
8312 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8313 (exit $ac_status); } && {
8314 test -z "$ac_c_werror_flag" ||
8315 test ! -s conftest.err
8316 } && test -s conftest$ac_exeext && {
8317 test "$cross_compiling" = yes ||
8318 $as_test_x conftest$ac_exeext
8320 ac_cv_lib_freetype_FT_Init_FreeType=yes
8322 $as_echo "$as_me: failed program was
:" >&5
8323 sed 's/^/| /' conftest.$ac_ext >&5
8325 ac_cv_lib_freetype_FT_Init_FreeType=no
8328 rm -rf conftest.dSYM
8329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8330 conftest$ac_exeext conftest.$ac_ext
8331 LIBS=$ac_check_lib_save_LIBS
8333 { $as_echo "$as_me:$LINENO: result
: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
8334 $as_echo "$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
8335 if test "x
$ac_cv_lib_freetype_FT_Init_FreeType" = x""yes; then
8342 for ac_header in ft2build.h
8344 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
8345 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8346 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
8347 $as_echo_n "checking
for $ac_header...
" >&6; }
8348 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8349 $as_echo_n "(cached
) " >&6
8351 ac_res=`eval 'as_val=${'$as_ac_Header'}
8352 $as_echo "$as_val"'`
8353 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
8354 $as_echo "$ac_res" >&6; }
8356 # Is the header compilable?
8357 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
8358 $as_echo_n "checking
$ac_header usability...
" >&6; }
8359 cat >conftest.$ac_ext <<_ACEOF
8362 cat confdefs.h >>conftest.$ac_ext
8363 cat >>conftest.$ac_ext <<_ACEOF
8364 /* end confdefs.h. */
8365 $ac_includes_default
8366 #include <$ac_header>
8368 rm -f conftest.$ac_objext
8369 if { (ac_try="$ac_compile"
8371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8372 *) ac_try_echo=$ac_try;;
8374 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8375 $as_echo "$ac_try_echo") >&5
8376 (eval "$ac_compile") 2>conftest.er1
8378 grep -v '^ *+' conftest.er1 >conftest.err
8380 cat conftest.err >&5
8381 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8382 (exit $ac_status); } && {
8383 test -z "$ac_c_werror_flag" ||
8384 test ! -s conftest.err
8385 } && test -s conftest.$ac_objext; then
8386 ac_header_compiler=yes
8388 $as_echo "$as_me: failed program was
:" >&5
8389 sed 's/^/| /' conftest.$ac_ext >&5
8391 ac_header_compiler=no
8394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8395 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
8396 $as_echo "$ac_header_compiler" >&6; }
8398 # Is the header present?
8399 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
8400 $as_echo_n "checking
$ac_header presence...
" >&6; }
8401 cat >conftest.$ac_ext <<_ACEOF
8404 cat confdefs.h >>conftest.$ac_ext
8405 cat >>conftest.$ac_ext <<_ACEOF
8406 /* end confdefs.h. */
8407 #include <$ac_header>
8409 if { (ac_try="$ac_cpp conftest.
$ac_ext"
8411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8412 *) ac_try_echo=$ac_try;;
8414 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8415 $as_echo "$ac_try_echo") >&5
8416 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
8418 grep -v '^ *+' conftest.er1 >conftest.err
8420 cat conftest.err >&5
8421 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8422 (exit $ac_status); } >/dev/null && {
8423 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8424 test ! -s conftest.err
8426 ac_header_preproc=yes
8428 $as_echo "$as_me: failed program was
:" >&5
8429 sed 's/^/| /' conftest.$ac_ext >&5
8431 ac_header_preproc=no
8434 rm -f conftest.err conftest.$ac_ext
8435 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
8436 $as_echo "$ac_header_preproc" >&6; }
8438 # So? What about this header?
8439 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8441 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
8442 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
8443 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
8444 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
8445 ac_header_preproc=yes
8448 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
8449 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
8450 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
8451 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
8452 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
8453 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
8454 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
8455 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
8456 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
8457 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
8458 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
8459 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
8463 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
8464 $as_echo_n "checking
for $ac_header...
" >&6; }
8465 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8466 $as_echo_n "(cached
) " >&6
8468 eval "$as_ac_Header=\
$ac_header_preproc"
8470 ac_res=`eval 'as_val=${'$as_ac_Header'}
8471 $as_echo "$as_val"'`
8472 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
8473 $as_echo "$ac_res" >&6; }
8476 as_val=`eval 'as_val=${'$as_ac_Header'}
8477 $as_echo "$as_val"'`
8478 if test "x
$as_val" = x""yes; then
8479 cat >>confdefs.h <<_ACEOF
8480 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
8487 if test "x
${HAVE_FT2BUILD_H}" '=' "x
";then
8489 for ac_header in freetype/freetype.h
8491 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
8492 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8493 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
8494 $as_echo_n "checking
for $ac_header...
" >&6; }
8495 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8496 $as_echo_n "(cached
) " >&6
8498 ac_res=`eval 'as_val=${'$as_ac_Header'}
8499 $as_echo "$as_val"'`
8500 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
8501 $as_echo "$ac_res" >&6; }
8503 # Is the header compilable?
8504 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
8505 $as_echo_n "checking
$ac_header usability...
" >&6; }
8506 cat >conftest.$ac_ext <<_ACEOF
8509 cat confdefs.h >>conftest.$ac_ext
8510 cat >>conftest.$ac_ext <<_ACEOF
8511 /* end confdefs.h. */
8512 $ac_includes_default
8513 #include <$ac_header>
8515 rm -f conftest.$ac_objext
8516 if { (ac_try="$ac_compile"
8518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8519 *) ac_try_echo=$ac_try;;
8521 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8522 $as_echo "$ac_try_echo") >&5
8523 (eval "$ac_compile") 2>conftest.er1
8525 grep -v '^ *+' conftest.er1 >conftest.err
8527 cat conftest.err >&5
8528 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8529 (exit $ac_status); } && {
8530 test -z "$ac_c_werror_flag" ||
8531 test ! -s conftest.err
8532 } && test -s conftest.$ac_objext; then
8533 ac_header_compiler=yes
8535 $as_echo "$as_me: failed program was
:" >&5
8536 sed 's/^/| /' conftest.$ac_ext >&5
8538 ac_header_compiler=no
8541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8542 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
8543 $as_echo "$ac_header_compiler" >&6; }
8545 # Is the header present?
8546 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
8547 $as_echo_n "checking
$ac_header presence...
" >&6; }
8548 cat >conftest.$ac_ext <<_ACEOF
8551 cat confdefs.h >>conftest.$ac_ext
8552 cat >>conftest.$ac_ext <<_ACEOF
8553 /* end confdefs.h. */
8554 #include <$ac_header>
8556 if { (ac_try="$ac_cpp conftest.
$ac_ext"
8558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8559 *) ac_try_echo=$ac_try;;
8561 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8562 $as_echo "$ac_try_echo") >&5
8563 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
8565 grep -v '^ *+' conftest.er1 >conftest.err
8567 cat conftest.err >&5
8568 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8569 (exit $ac_status); } >/dev/null && {
8570 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8571 test ! -s conftest.err
8573 ac_header_preproc=yes
8575 $as_echo "$as_me: failed program was
:" >&5
8576 sed 's/^/| /' conftest.$ac_ext >&5
8578 ac_header_preproc=no
8581 rm -f conftest.err conftest.$ac_ext
8582 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
8583 $as_echo "$ac_header_preproc" >&6; }
8585 # So? What about this header?
8586 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8588 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
8589 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
8590 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
8591 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
8592 ac_header_preproc=yes
8595 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
8596 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
8597 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
8598 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
8599 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
8600 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
8601 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
8602 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
8603 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
8604 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
8605 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
8606 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
8610 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
8611 $as_echo_n "checking
for $ac_header...
" >&6; }
8612 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8613 $as_echo_n "(cached
) " >&6
8615 eval "$as_ac_Header=\
$ac_header_preproc"
8617 ac_res=`eval 'as_val=${'$as_ac_Header'}
8618 $as_echo "$as_val"'`
8619 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
8620 $as_echo "$ac_res" >&6; }
8623 as_val=`eval 'as_val=${'$as_ac_Header'}
8624 $as_echo "$as_val"'`
8625 if test "x
$as_val" = x""yes; then
8626 cat >>confdefs.h <<_ACEOF
8627 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
8629 HAVE_FREETYPE_FREETYPE_H=1
8636 if test "x
${HAVE_LIB_FREETYPE}" '!=' "x
" -o \
8637 "x
${FREETYPE_CONFIG}" '!=' "x
";then
8638 if test "x
${HAVE_FREETYPE_FREETYPE_H}" '!=' "x
";then
8641 if test "x
${HAVE_FT2BUILD_H}" '!=' "x
";then
8646 if test "x
${HAVE_FREETYPE}" = "x1
"; then
8647 if test "x
${FREETYPE_CONFIG}" '!=' "x
"; then
8648 LIBS="$LIBS "`$FREETYPE_CONFIG --libs`
8650 LIBS="$LIBS -lfreetype"
8653 if test "x
${HAVE_FT2BUILD_H}" = "x1
"; then
8654 HAVE_FT2BUILD_H_DEFINE='#define HAVE_FT2BUILD_H'
8657 { $as_echo "$as_me:$LINENO: checking whether we can compile the freetype
test program
" >&5
8658 $as_echo_n "checking whether we can compile the freetype
test program...
" >&6; }
8660 cat > conftest.c << EOF
8661 $HAVE_FT2BUILD_H_DEFINE
8663 #ifdef HAVE_FT2BUILD_H
8664 #include <ft2build.h>
8665 #include FT_FREETYPE_H
8668 #include FT_SFNT_NAMES_H
8669 #include FT_TRUETYPE_IDS_H
8670 #include FT_OUTLINE_H
8672 #include <freetype/freetype.h>
8673 #include <freetype/ftglyph.h>
8674 #include <freetype/ftsizes.h>
8675 #include <freetype/ftsnames.h>
8676 #include <freetype/ttnameid.h>
8677 #include <freetype/ftoutln.h>
8682 FT_Library ftlibrary;
8694 FT_Init_FreeType(&ftlibrary);
8695 FT_New_Face(ftlibrary, "filename
", 0, &face);
8696 i = face->num_glyphs - 1;
8697 italic = face->style_flags&FT_STYLE_FLAG_ITALIC;
8698 bold = face->style_flags&FT_STYLE_FLAG_BOLD;
8699 FT_Get_Postscript_Name(face);
8700 FT_Get_Char_Index(face, 33);
8701 FT_Get_First_Char(face, &i);
8702 FT_Get_Next_Char(face, 33, &i);
8703 if(FT_HAS_GLYPH_NAMES(face)) {
8704 FT_Get_Glyph_Name(face, 33, name, 127);
8706 FT_Load_Glyph(face, 33, FT_LOAD_NO_BITMAP|FT_LOAD_NO_SCALE);
8707 FT_Get_Glyph(face->glyph, &glyph);
8708 FT_Glyph_Get_CBox(glyph, ft_glyph_bbox_unscaled, &bbox);
8709 FT_Done_Glyph(glyph);
8711 FT_Done_FreeType(ftlibrary);
8716 ac_link='$CC $CPPFLAGS $CFLAGS conftest.c $LDFLAGS $LIBS -o conftest${ac_exeext}'
8717 if { (eval echo freetype.m4:71: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8718 { $as_echo "$as_me:$LINENO: result
: yes" >&5
8719 $as_echo "yes" >&6; }
8721 cat >>confdefs.h <<\_ACEOF
8722 #define HAVE_FREETYPE 1
8726 cat >>confdefs.h <<\_ACEOF
8727 #define HAVE_FREETYPE_FREETYPE_H 1
8731 cat >>confdefs.h <<\_ACEOF
8732 #define USE_FREETYPE 1
8736 echo "configure
: failed program was
:" >&5
8739 { $as_echo "$as_me:$LINENO: result
: no
" >&5
8740 $as_echo "no
" >&6; }
8745 # if the above didn't work out, reset all changes to the compiler variables.
8746 if test "x
${HAVE_FREETYPE}" '!=' "x1
"; then
8747 CPPFLAGS=$OLDCPPFLAGS
8753 OLDCPPFLAGS="${CPPFLAGS}"
8756 if test -d /usr/include/fontconfig; then
8757 CPPFLAGS="$CPPFLAGS -I/usr
/include
/fontconfig
"
8760 { $as_echo "$as_me:$LINENO: checking
for FcInit
in -lfontconfig" >&5
8761 $as_echo_n "checking
for FcInit
in -lfontconfig...
" >&6; }
8762 if test "${ac_cv_lib_fontconfig_FcInit+set}" = set; then
8763 $as_echo_n "(cached
) " >&6
8765 ac_check_lib_save_LIBS=$LIBS
8766 LIBS="-lfontconfig $LIBS"
8767 cat >conftest.$ac_ext <<_ACEOF
8770 cat confdefs.h >>conftest.$ac_ext
8771 cat >>conftest.$ac_ext <<_ACEOF
8772 /* end confdefs.h. */
8774 /* Override any GCC internal prototype to avoid an error.
8775 Use char because int might match the return type of a GCC
8776 builtin and then its argument prototype would still apply. */
8789 rm -f conftest.$ac_objext conftest$ac_exeext
8790 if { (ac_try="$ac_link"
8792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8793 *) ac_try_echo=$ac_try;;
8795 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8796 $as_echo "$ac_try_echo") >&5
8797 (eval "$ac_link") 2>conftest.er1
8799 grep -v '^ *+' conftest.er1 >conftest.err
8801 cat conftest.err >&5
8802 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8803 (exit $ac_status); } && {
8804 test -z "$ac_c_werror_flag" ||
8805 test ! -s conftest.err
8806 } && test -s conftest$ac_exeext && {
8807 test "$cross_compiling" = yes ||
8808 $as_test_x conftest$ac_exeext
8810 ac_cv_lib_fontconfig_FcInit=yes
8812 $as_echo "$as_me: failed program was
:" >&5
8813 sed 's/^/| /' conftest.$ac_ext >&5
8815 ac_cv_lib_fontconfig_FcInit=no
8818 rm -rf conftest.dSYM
8819 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8820 conftest$ac_exeext conftest.$ac_ext
8821 LIBS=$ac_check_lib_save_LIBS
8823 { $as_echo "$as_me:$LINENO: result
: $ac_cv_lib_fontconfig_FcInit" >&5
8824 $as_echo "$ac_cv_lib_fontconfig_FcInit" >&6; }
8825 if test "x
$ac_cv_lib_fontconfig_FcInit" = x""yes; then
8826 HAVE_LIB_FONTCONFIG=1
8830 for ac_header in fontconfig.h
8832 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
8833 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8834 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
8835 $as_echo_n "checking
for $ac_header...
" >&6; }
8836 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8837 $as_echo_n "(cached
) " >&6
8839 ac_res=`eval 'as_val=${'$as_ac_Header'}
8840 $as_echo "$as_val"'`
8841 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
8842 $as_echo "$ac_res" >&6; }
8844 # Is the header compilable?
8845 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
8846 $as_echo_n "checking
$ac_header usability...
" >&6; }
8847 cat >conftest.$ac_ext <<_ACEOF
8850 cat confdefs.h >>conftest.$ac_ext
8851 cat >>conftest.$ac_ext <<_ACEOF
8852 /* end confdefs.h. */
8853 $ac_includes_default
8854 #include <$ac_header>
8856 rm -f conftest.$ac_objext
8857 if { (ac_try="$ac_compile"
8859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8860 *) ac_try_echo=$ac_try;;
8862 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8863 $as_echo "$ac_try_echo") >&5
8864 (eval "$ac_compile") 2>conftest.er1
8866 grep -v '^ *+' conftest.er1 >conftest.err
8868 cat conftest.err >&5
8869 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8870 (exit $ac_status); } && {
8871 test -z "$ac_c_werror_flag" ||
8872 test ! -s conftest.err
8873 } && test -s conftest.$ac_objext; then
8874 ac_header_compiler=yes
8876 $as_echo "$as_me: failed program was
:" >&5
8877 sed 's/^/| /' conftest.$ac_ext >&5
8879 ac_header_compiler=no
8882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8883 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
8884 $as_echo "$ac_header_compiler" >&6; }
8886 # Is the header present?
8887 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
8888 $as_echo_n "checking
$ac_header presence...
" >&6; }
8889 cat >conftest.$ac_ext <<_ACEOF
8892 cat confdefs.h >>conftest.$ac_ext
8893 cat >>conftest.$ac_ext <<_ACEOF
8894 /* end confdefs.h. */
8895 #include <$ac_header>
8897 if { (ac_try="$ac_cpp conftest.
$ac_ext"
8899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8900 *) ac_try_echo=$ac_try;;
8902 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8903 $as_echo "$ac_try_echo") >&5
8904 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
8906 grep -v '^ *+' conftest.er1 >conftest.err
8908 cat conftest.err >&5
8909 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8910 (exit $ac_status); } >/dev/null && {
8911 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8912 test ! -s conftest.err
8914 ac_header_preproc=yes
8916 $as_echo "$as_me: failed program was
:" >&5
8917 sed 's/^/| /' conftest.$ac_ext >&5
8919 ac_header_preproc=no
8922 rm -f conftest.err conftest.$ac_ext
8923 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
8924 $as_echo "$ac_header_preproc" >&6; }
8926 # So? What about this header?
8927 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8929 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
8930 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
8931 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
8932 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
8933 ac_header_preproc=yes
8936 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
8937 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
8938 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
8939 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
8940 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
8941 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
8942 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
8943 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
8944 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
8945 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
8946 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
8947 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
8951 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
8952 $as_echo_n "checking
for $ac_header...
" >&6; }
8953 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8954 $as_echo_n "(cached
) " >&6
8956 eval "$as_ac_Header=\
$ac_header_preproc"
8958 ac_res=`eval 'as_val=${'$as_ac_Header'}
8959 $as_echo "$as_val"'`
8960 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
8961 $as_echo "$ac_res" >&6; }
8964 as_val=`eval 'as_val=${'$as_ac_Header'}
8965 $as_echo "$as_val"'`
8966 if test "x
$as_val" = x""yes; then
8967 cat >>confdefs.h <<_ACEOF
8968 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
8976 if test "x
${HAVE_LIB_FONTCONFIG}" != "x
";then
8977 if test "x
${HAVE_FONTCONFIG_H}" != "x
";then
8982 if test "x
${HAVE_FONTCONFIG}" = "x1
"; then
8983 LIBS="$LIBS -lfontconfig"
8984 { $as_echo "$as_me:$LINENO: checking whether we can compile the fontconfig
test program
" >&5
8985 $as_echo_n "checking whether we can compile the fontconfig
test program...
" >&6; }
8987 if (echo $LIBS | grep lfreetype >/dev/null 2>&1); then
8988 #move freetype library to the end of libraries, otherwise fontconfig
8990 LIBS=`echo $LIBS | sed -e 's/-lfreetype//g' -e 's/$/ -lfreetype/'`
8993 cat > conftest.c << EOF
8995 #include <fontconfig.h>
8999 FcPattern *pattern, *match;
9002 char*s1="abc
",*s2="ABC
";
9005 pattern = FcPatternBuild(0, FC_FAMILY, FcTypeString, "", 0);
9006 FcPatternAddInteger(pattern, FC_SLANT, FC_SLANT_ITALIC);
9007 FcPatternAddInteger(pattern, FC_WEIGHT, FC_WEIGHT_BOLD);
9009 FcConfig*c = FcConfigCreate();
9010 FcConfigParseAndLoad(c, (FcChar8*)"", 1);
9011 FcConfigBuildFonts(c);
9012 FcConfigSetCurrent(c);
9014 FcFontSet * set = FcConfigGetFonts(c, FcSetSystem);
9015 FcFontSetDestroy(set);
9017 FcConfigSubstitute(0, pattern, FcMatchPattern);
9018 FcDefaultSubstitute(pattern);
9019 match = FcFontMatch(0, pattern, &result);
9020 FcPatternGetString(match, "family
", 0, &v) == FcResultMatch;
9021 FcPatternGetBool(match, "family
", 0, &v) == FcResultMatch;
9022 FcPatternPrint(pattern);
9023 FcPatternDestroy(pattern);
9024 FcPatternDestroy(match);
9030 ac_link='$CC $CPPFLAGS $CFLAGS conftest.c $LDFLAGS $LIBS -o conftest${ac_exeext}'
9031 if { (eval echo freetype.m4:71: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9032 { $as_echo "$as_me:$LINENO: result
: yes" >&5
9033 $as_echo "yes" >&6; }
9035 cat >>confdefs.h <<\_ACEOF
9036 #define HAVE_FONTCONFIG 1
9040 echo "configure
: failed program was
:" >&5
9043 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9044 $as_echo "no
" >&6; }
9049 # if the above didn't work out, reset all changes to the compiler variables.
9050 if test "x
${HAVE_FONTCONFIG}" "!=" "x1
"; then
9051 CPPFLAGS=$OLDCPPFLAGS
9057 OLDCPPFLAGS="${CPPFLAGS}"
9060 { $as_echo "$as_me:$LINENO: checking
for fftw_plan_dft_r2c_2d
in -lfftw3" >&5
9061 $as_echo_n "checking
for fftw_plan_dft_r2c_2d
in -lfftw3...
" >&6; }
9062 if test "${ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d+set}" = set; then
9063 $as_echo_n "(cached
) " >&6
9065 ac_check_lib_save_LIBS=$LIBS
9066 LIBS="-lfftw3 $LIBS"
9067 cat >conftest.$ac_ext <<_ACEOF
9070 cat confdefs.h >>conftest.$ac_ext
9071 cat >>conftest.$ac_ext <<_ACEOF
9072 /* end confdefs.h. */
9074 /* Override any GCC internal prototype to avoid an error.
9075 Use char because int might match the return type of a GCC
9076 builtin and then its argument prototype would still apply. */
9080 char fftw_plan_dft_r2c_2d ();
9084 return fftw_plan_dft_r2c_2d ();
9089 rm -f conftest.$ac_objext conftest$ac_exeext
9090 if { (ac_try="$ac_link"
9092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9093 *) ac_try_echo=$ac_try;;
9095 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9096 $as_echo "$ac_try_echo") >&5
9097 (eval "$ac_link") 2>conftest.er1
9099 grep -v '^ *+' conftest.er1 >conftest.err
9101 cat conftest.err >&5
9102 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9103 (exit $ac_status); } && {
9104 test -z "$ac_c_werror_flag" ||
9105 test ! -s conftest.err
9106 } && test -s conftest$ac_exeext && {
9107 test "$cross_compiling" = yes ||
9108 $as_test_x conftest$ac_exeext
9110 ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d=yes
9112 $as_echo "$as_me: failed program was
:" >&5
9113 sed 's/^/| /' conftest.$ac_ext >&5
9115 ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d=no
9118 rm -rf conftest.dSYM
9119 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9120 conftest$ac_exeext conftest.$ac_ext
9121 LIBS=$ac_check_lib_save_LIBS
9123 { $as_echo "$as_me:$LINENO: result
: $ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d" >&5
9124 $as_echo "$ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d" >&6; }
9125 if test "x
$ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d" = x""yes; then
9130 for ac_header in fftw3.h
9132 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
9133 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9134 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
9135 $as_echo_n "checking
for $ac_header...
" >&6; }
9136 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9137 $as_echo_n "(cached
) " >&6
9139 ac_res=`eval 'as_val=${'$as_ac_Header'}
9140 $as_echo "$as_val"'`
9141 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
9142 $as_echo "$ac_res" >&6; }
9144 # Is the header compilable?
9145 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
9146 $as_echo_n "checking
$ac_header usability...
" >&6; }
9147 cat >conftest.$ac_ext <<_ACEOF
9150 cat confdefs.h >>conftest.$ac_ext
9151 cat >>conftest.$ac_ext <<_ACEOF
9152 /* end confdefs.h. */
9153 $ac_includes_default
9154 #include <$ac_header>
9156 rm -f conftest.$ac_objext
9157 if { (ac_try="$ac_compile"
9159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9160 *) ac_try_echo=$ac_try;;
9162 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9163 $as_echo "$ac_try_echo") >&5
9164 (eval "$ac_compile") 2>conftest.er1
9166 grep -v '^ *+' conftest.er1 >conftest.err
9168 cat conftest.err >&5
9169 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9170 (exit $ac_status); } && {
9171 test -z "$ac_c_werror_flag" ||
9172 test ! -s conftest.err
9173 } && test -s conftest.$ac_objext; then
9174 ac_header_compiler=yes
9176 $as_echo "$as_me: failed program was
:" >&5
9177 sed 's/^/| /' conftest.$ac_ext >&5
9179 ac_header_compiler=no
9182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9183 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
9184 $as_echo "$ac_header_compiler" >&6; }
9186 # Is the header present?
9187 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
9188 $as_echo_n "checking
$ac_header presence...
" >&6; }
9189 cat >conftest.$ac_ext <<_ACEOF
9192 cat confdefs.h >>conftest.$ac_ext
9193 cat >>conftest.$ac_ext <<_ACEOF
9194 /* end confdefs.h. */
9195 #include <$ac_header>
9197 if { (ac_try="$ac_cpp conftest.
$ac_ext"
9199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9200 *) ac_try_echo=$ac_try;;
9202 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9203 $as_echo "$ac_try_echo") >&5
9204 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
9206 grep -v '^ *+' conftest.er1 >conftest.err
9208 cat conftest.err >&5
9209 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9210 (exit $ac_status); } >/dev/null && {
9211 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9212 test ! -s conftest.err
9214 ac_header_preproc=yes
9216 $as_echo "$as_me: failed program was
:" >&5
9217 sed 's/^/| /' conftest.$ac_ext >&5
9219 ac_header_preproc=no
9222 rm -f conftest.err conftest.$ac_ext
9223 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
9224 $as_echo "$ac_header_preproc" >&6; }
9226 # So? What about this header?
9227 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9229 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
9230 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
9231 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
9232 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
9233 ac_header_preproc=yes
9236 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
9237 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
9238 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
9239 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
9240 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
9241 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
9242 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
9243 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
9244 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
9245 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
9246 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
9247 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
9251 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
9252 $as_echo_n "checking
for $ac_header...
" >&6; }
9253 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9254 $as_echo_n "(cached
) " >&6
9256 eval "$as_ac_Header=\
$ac_header_preproc"
9258 ac_res=`eval 'as_val=${'$as_ac_Header'}
9259 $as_echo "$as_val"'`
9260 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
9261 $as_echo "$ac_res" >&6; }
9264 as_val=`eval 'as_val=${'$as_ac_Header'}
9265 $as_echo "$as_val"'`
9266 if test "x
$as_val" = x""yes; then
9267 cat >>confdefs.h <<_ACEOF
9268 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
9276 if test "x
${HAVE_LIBFFTW3}" != "x
";then
9277 if test "x
${HAVE_FFTW3_H}" != "x
";then
9282 if test "x
${HAVE_FFTW3}" = "x1
"; then
9283 LIBS="$LIBS -lfftw3"
9284 { $as_echo "$as_me:$LINENO: checking whether we can compile the fftw3
test program
" >&5
9285 $as_echo_n "checking whether we can compile the fftw3
test program...
" >&6; }
9287 cat > conftest.c << EOF
9293 fftw_plan plan = fftw_plan_dft_2d(600, 800, (fftw_complex*)data, (fftw_complex*)data, FFTW_FORWARD, FFTW_ESTIMATE);
9294 plan = fftw_plan_dft_r2c_2d(600, 800, (double*)data, (fftw_complex*)data, FFTW_ESTIMATE);
9295 plan = fftw_plan_dft_c2r_2d(600, 800, (fftw_complex*)data, (double*)data, FFTW_ESTIMATE);
9297 fftw_destroy_plan(plan);
9301 ac_link='$CC $CPPFLAGS $CFLAGS conftest.c $LDFLAGS $LIBS -o conftest${ac_exeext}'
9302 if { (eval echo fftw3.m4:71: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9303 { $as_echo "$as_me:$LINENO: result
: yes" >&5
9304 $as_echo "yes" >&6; }
9306 cat >>confdefs.h <<\_ACEOF
9307 #define HAVE_FFTW3 1
9311 echo "configure
: failed program was
:" >&5
9314 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9315 $as_echo "no
" >&6; }
9320 # if the above didn't work out, reset all changes to the compiler variables.
9321 if test "x
${HAVE_FFTW3}" "!=" "x1
"; then
9322 CPPFLAGS=$OLDCPPFLAGS
9328 # if test "$HAVE_OPENGL";then
9329 # DEVICE_OPENGL='devices/opengl.$(O)'
9330 # AC_SUBST(DEVICE_OPENGL)
9336 if test "x
${DISABLE_LAME}" = "xtrue
"; then
9337 echo "*" Disabling lame support...
9339 # old lame code at lib/lame
9340 if test -f lib/lame/Makefile.in; then
9341 lame_in_source='$(lame_objects)'
9342 lame_makefile="lib
/lame
/Makefile
"
9343 CPPFLAGS="$CPPFLAGS -Ilame -Ilib/lame
"
9345 cat >>confdefs.h <<\_ACEOF
9350 if test -d /usr/include/lame; then
9351 CPPFLAGS="$CPPFLAGS -I /usr
/include
/lame
"
9353 if test -d /usr/local/include/lame; then
9354 CPPFLAGS="$CPPFLAGS -I /usr
/local
/include
/lame
"
9358 { $as_echo "$as_me:$LINENO: checking
for lame_init
in -lmp3lame" >&5
9359 $as_echo_n "checking
for lame_init
in -lmp3lame...
" >&6; }
9360 if test "${ac_cv_lib_mp3lame_lame_init+set}" = set; then
9361 $as_echo_n "(cached
) " >&6
9363 ac_check_lib_save_LIBS=$LIBS
9364 LIBS="-lmp3lame $LIBS"
9365 cat >conftest.$ac_ext <<_ACEOF
9368 cat confdefs.h >>conftest.$ac_ext
9369 cat >>conftest.$ac_ext <<_ACEOF
9370 /* end confdefs.h. */
9372 /* Override any GCC internal prototype to avoid an error.
9373 Use char because int might match the return type of a GCC
9374 builtin and then its argument prototype would still apply. */
9382 return lame_init ();
9387 rm -f conftest.$ac_objext conftest$ac_exeext
9388 if { (ac_try="$ac_link"
9390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9391 *) ac_try_echo=$ac_try;;
9393 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9394 $as_echo "$ac_try_echo") >&5
9395 (eval "$ac_link") 2>conftest.er1
9397 grep -v '^ *+' conftest.er1 >conftest.err
9399 cat conftest.err >&5
9400 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9401 (exit $ac_status); } && {
9402 test -z "$ac_c_werror_flag" ||
9403 test ! -s conftest.err
9404 } && test -s conftest$ac_exeext && {
9405 test "$cross_compiling" = yes ||
9406 $as_test_x conftest$ac_exeext
9408 ac_cv_lib_mp3lame_lame_init=yes
9410 $as_echo "$as_me: failed program was
:" >&5
9411 sed 's/^/| /' conftest.$ac_ext >&5
9413 ac_cv_lib_mp3lame_lame_init=no
9416 rm -rf conftest.dSYM
9417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9418 conftest$ac_exeext conftest.$ac_ext
9419 LIBS=$ac_check_lib_save_LIBS
9421 { $as_echo "$as_me:$LINENO: result
: $ac_cv_lib_mp3lame_lame_init" >&5
9422 $as_echo "$ac_cv_lib_mp3lame_lame_init" >&6; }
9423 if test "x
$ac_cv_lib_mp3lame_lame_init" = x""yes; then
9424 cat >>confdefs.h <<_ACEOF
9425 #define HAVE_LIBMP3LAME 1
9428 LIBS="-lmp3lame $LIBS"
9436 for ac_header in lame.h
9438 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
9439 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9440 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
9441 $as_echo_n "checking
for $ac_header...
" >&6; }
9442 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9443 $as_echo_n "(cached
) " >&6
9445 ac_res=`eval 'as_val=${'$as_ac_Header'}
9446 $as_echo "$as_val"'`
9447 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
9448 $as_echo "$ac_res" >&6; }
9450 # Is the header compilable?
9451 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
9452 $as_echo_n "checking
$ac_header usability...
" >&6; }
9453 cat >conftest.$ac_ext <<_ACEOF
9456 cat confdefs.h >>conftest.$ac_ext
9457 cat >>conftest.$ac_ext <<_ACEOF
9458 /* end confdefs.h. */
9459 $ac_includes_default
9460 #include <$ac_header>
9462 rm -f conftest.$ac_objext
9463 if { (ac_try="$ac_compile"
9465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9466 *) ac_try_echo=$ac_try;;
9468 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9469 $as_echo "$ac_try_echo") >&5
9470 (eval "$ac_compile") 2>conftest.er1
9472 grep -v '^ *+' conftest.er1 >conftest.err
9474 cat conftest.err >&5
9475 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9476 (exit $ac_status); } && {
9477 test -z "$ac_c_werror_flag" ||
9478 test ! -s conftest.err
9479 } && test -s conftest.$ac_objext; then
9480 ac_header_compiler=yes
9482 $as_echo "$as_me: failed program was
:" >&5
9483 sed 's/^/| /' conftest.$ac_ext >&5
9485 ac_header_compiler=no
9488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9489 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
9490 $as_echo "$ac_header_compiler" >&6; }
9492 # Is the header present?
9493 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
9494 $as_echo_n "checking
$ac_header presence...
" >&6; }
9495 cat >conftest.$ac_ext <<_ACEOF
9498 cat confdefs.h >>conftest.$ac_ext
9499 cat >>conftest.$ac_ext <<_ACEOF
9500 /* end confdefs.h. */
9501 #include <$ac_header>
9503 if { (ac_try="$ac_cpp conftest.
$ac_ext"
9505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9506 *) ac_try_echo=$ac_try;;
9508 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9509 $as_echo "$ac_try_echo") >&5
9510 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
9512 grep -v '^ *+' conftest.er1 >conftest.err
9514 cat conftest.err >&5
9515 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9516 (exit $ac_status); } >/dev/null && {
9517 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9518 test ! -s conftest.err
9520 ac_header_preproc=yes
9522 $as_echo "$as_me: failed program was
:" >&5
9523 sed 's/^/| /' conftest.$ac_ext >&5
9525 ac_header_preproc=no
9528 rm -f conftest.err conftest.$ac_ext
9529 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
9530 $as_echo "$ac_header_preproc" >&6; }
9532 # So? What about this header?
9533 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9535 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
9536 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
9537 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
9538 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
9539 ac_header_preproc=yes
9542 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
9543 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
9544 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
9545 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
9546 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
9547 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
9548 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
9549 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
9550 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
9551 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
9552 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
9553 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
9557 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
9558 $as_echo_n "checking
for $ac_header...
" >&6; }
9559 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9560 $as_echo_n "(cached
) " >&6
9562 eval "$as_ac_Header=\
$ac_header_preproc"
9564 ac_res=`eval 'as_val=${'$as_ac_Header'}
9565 $as_echo "$as_val"'`
9566 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
9567 $as_echo "$ac_res" >&6; }
9570 as_val=`eval 'as_val=${'$as_ac_Header'}
9571 $as_echo "$as_val"'`
9572 if test "x
$as_val" = x""yes; then
9573 cat >>confdefs.h <<_ACEOF
9574 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
9581 if test "x
$NO_LIBMP3LAME" "!=" "x1
" -a "x
$HASLAMEHEADER" '!=' "x
";then
9582 cat >>confdefs.h <<\_ACEOF
9591 splash_in_source='$(splash_objects)'
9592 xpdf_in_source='$(xpdf_objects)'
9598 # ------------------------------------------------------------------
9601 { $as_echo "$as_me:$LINENO: checking whether the filesystem normalizes
file names
" >&5
9602 $as_echo_n "checking whether the filesystem normalizes
file names...
" >&6; }
9604 echo test1 > __abcdefghijklmnopqrstuvwxyz.txt
9605 echo test2 > __ABCDEFGHIJKLMNOPQRSTUVWXYZ.txt
9606 if test `cat __abcdefghijklmnopqrstuvwxyz.txt` = "test2
";then
9607 { $as_echo "$as_me:$LINENO: result
: yes" >&5
9608 $as_echo "yes" >&6; }
9610 cat >>confdefs.h <<\_ACEOF
9611 #define LOWERCASE_UPPERCASE 1
9615 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9616 $as_echo "no
" >&6; }
9619 rm -f __abcdefghijklmnopqrstuvwxyz.txt
9620 rm -f __ABCDEFGHIJKLMNOPQRSTUVWXYZ.txt
9624 for ac_prog in avifile-config
9626 # Extract the first word of "$ac_prog", so it can be a program name with args.
9627 set dummy $ac_prog; ac_word=$2
9628 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
9629 $as_echo_n "checking
for $ac_word...
" >&6; }
9630 if test "${ac_cv_prog_AVIFILE_CONFIG+set}" = set; then
9631 $as_echo_n "(cached
) " >&6
9633 if test -n "$AVIFILE_CONFIG"; then
9634 ac_cv_prog_AVIFILE_CONFIG="$AVIFILE_CONFIG" # Let the user override the test.
9636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9640 test -z "$as_dir" && as_dir=.
9641 for ac_exec_ext in '' $ac_executable_extensions; do
9642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9643 ac_cv_prog_AVIFILE_CONFIG="$ac_prog"
9644 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9653 AVIFILE_CONFIG=$ac_cv_prog_AVIFILE_CONFIG
9654 if test -n "$AVIFILE_CONFIG"; then
9655 { $as_echo "$as_me:$LINENO: result
: $AVIFILE_CONFIG" >&5
9656 $as_echo "$AVIFILE_CONFIG" >&6; }
9658 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9659 $as_echo "no
" >&6; }
9663 test -n "$AVIFILE_CONFIG" && break
9667 if test "x
$AVIFILE_CONFIG" '!=' "x
";then
9668 OLDCPPFLAGS="$CPPFLAGS"
9669 # temporarily add avifile paths to CPPFLAGS...
9670 CPPFLAGS="$CPPFLAGS $CXXFLAGS "`$AVIFILE_CONFIG --cflags`
9673 for ac_header in avifile/version.h version.h
9675 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
9676 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9677 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
9678 $as_echo_n "checking
for $ac_header...
" >&6; }
9679 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9680 $as_echo_n "(cached
) " >&6
9682 ac_res=`eval 'as_val=${'$as_ac_Header'}
9683 $as_echo "$as_val"'`
9684 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
9685 $as_echo "$ac_res" >&6; }
9687 # Is the header compilable?
9688 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
9689 $as_echo_n "checking
$ac_header usability...
" >&6; }
9690 cat >conftest.$ac_ext <<_ACEOF
9693 cat confdefs.h >>conftest.$ac_ext
9694 cat >>conftest.$ac_ext <<_ACEOF
9695 /* end confdefs.h. */
9696 $ac_includes_default
9697 #include <$ac_header>
9699 rm -f conftest.$ac_objext
9700 if { (ac_try="$ac_compile"
9702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9703 *) ac_try_echo=$ac_try;;
9705 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9706 $as_echo "$ac_try_echo") >&5
9707 (eval "$ac_compile") 2>conftest.er1
9709 grep -v '^ *+' conftest.er1 >conftest.err
9711 cat conftest.err >&5
9712 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9713 (exit $ac_status); } && {
9714 test -z "$ac_c_werror_flag" ||
9715 test ! -s conftest.err
9716 } && test -s conftest.$ac_objext; then
9717 ac_header_compiler=yes
9719 $as_echo "$as_me: failed program was
:" >&5
9720 sed 's/^/| /' conftest.$ac_ext >&5
9722 ac_header_compiler=no
9725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9726 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
9727 $as_echo "$ac_header_compiler" >&6; }
9729 # Is the header present?
9730 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
9731 $as_echo_n "checking
$ac_header presence...
" >&6; }
9732 cat >conftest.$ac_ext <<_ACEOF
9735 cat confdefs.h >>conftest.$ac_ext
9736 cat >>conftest.$ac_ext <<_ACEOF
9737 /* end confdefs.h. */
9738 #include <$ac_header>
9740 if { (ac_try="$ac_cpp conftest.
$ac_ext"
9742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9743 *) ac_try_echo=$ac_try;;
9745 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9746 $as_echo "$ac_try_echo") >&5
9747 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
9749 grep -v '^ *+' conftest.er1 >conftest.err
9751 cat conftest.err >&5
9752 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9753 (exit $ac_status); } >/dev/null && {
9754 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9755 test ! -s conftest.err
9757 ac_header_preproc=yes
9759 $as_echo "$as_me: failed program was
:" >&5
9760 sed 's/^/| /' conftest.$ac_ext >&5
9762 ac_header_preproc=no
9765 rm -f conftest.err conftest.$ac_ext
9766 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
9767 $as_echo "$ac_header_preproc" >&6; }
9769 # So? What about this header?
9770 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9772 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
9773 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
9774 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
9775 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
9776 ac_header_preproc=yes
9779 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
9780 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
9781 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
9782 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
9783 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
9784 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
9785 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
9786 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
9787 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
9788 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
9789 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
9790 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
9794 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
9795 $as_echo_n "checking
for $ac_header...
" >&6; }
9796 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9797 $as_echo_n "(cached
) " >&6
9799 eval "$as_ac_Header=\
$ac_header_preproc"
9801 ac_res=`eval 'as_val=${'$as_ac_Header'}
9802 $as_echo "$as_val"'`
9803 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
9804 $as_echo "$ac_res" >&6; }
9807 as_val=`eval 'as_val=${'$as_ac_Header'}
9808 $as_echo "$as_val"'`
9809 if test "x
$as_val" = x""yes; then
9810 cat >>confdefs.h <<_ACEOF
9811 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
9819 CPPFLAGS="$OLDCPPFLAGS"
9822 { $as_echo "$as_me:$LINENO: checking whether we can compile the avifile
test program
" >&5
9823 $as_echo_n "checking whether we can compile the avifile
test program...
" >&6; }
9825 if test "x
${ac_cv_header_version_h}" '=' "xyes
";then
9826 HAVE_VERSION_H_DEFINE='#define HAVE_VERSION_H'
9828 if test "x
${ac_cv_header_avifile_version_h}" '=' "xyes
";then
9829 HAVE_AVIFILE_VERSION_H_DEFINE='#define HAVE_AVIFILE_VERSION_H'
9832 cat > conftest.cpp << EOF
9834 // hack- we can't yet access the variables in config.h (because it hasn't been generated yet),
9835 // so we have to introduce them this way
9836 $HAVE_VERSION_H_DEFINE
9837 $HAVE_AVIFILE_VERSION_H_DEFINE
9839 #ifdef HAVE_VERSION_H
9840 #include <version.h>
9842 #ifdef HAVE_AVIFILE_VERSION_H
9843 #include <avifile/version.h>
9846 #if (AVIFILE_MAJOR_VERSION == 0) && (AVIFILE_MINOR_VERSION>=6)
9847 #include <avifile.h>
9848 #include <aviplay.h>
9849 #include <avm_fourcc.h>
9850 #include <avm_creators.h>
9851 #include <StreamInfo.h>
9854 #include <avifile.h>
9855 #include <aviplay.h>
9856 #include <aviutil.h>
9858 #define Height height
9865 IAviReadFile* player;
9866 IAviReadStream* astream;
9867 IAviReadStream* vstream;
9868 player = CreateIAviReadFile(0);
9869 astream = player->GetStream(0, AviStream::Audio);
9870 vstream = player->GetStream(0, AviStream::Video);
9871 vstream -> StartStreaming();
9872 astream -> StartStreaming();
9875 player->GetFileHeader(&head);
9876 head.dwMicroSecPerFrame;
9881 head.dwMicroSecPerFrame;
9882 astream->GetEndPos(),
9883 astream->GetEndTime());
9884 player->StreamCount();
9886 StreamInfo*audioinfo;
9887 StreamInfo*videoinfo;
9888 audioinfo = astream->GetStreamInfo();
9889 videoinfo = vstream->GetStreamInfo();
9890 videoinfo->GetVideoWidth();
9891 videoinfo->GetVideoHeight();
9892 audioinfo->GetAudioSamplesPerSec();
9893 videoinfo->GetFps();
9895 CImage*img = vstream->GetFrame();
9902 astream->GetAudioFormatInfo(&wave,0);
9904 astream->ReadFrames(0,0,0,a,b);
9906 int main (int argc, char*argv)
9912 if test "x
$AVIFILE_CONFIG" '!=' "x
";then
9913 AVIFILE_LIBS=`$AVIFILE_CONFIG --libs`
9914 AVIFILE_CFLAGS=`$AVIFILE_CONFIG --cflags`
9915 avifile_link='$CXX $CPPFLAGS $CXXFLAGS $AVIFILE_CFLAGS conftest.cpp $AVIFILE_LIBS -o conftest${ac_exeext}'
9916 if { (eval echo avi2swf.m4:71: \"$avifile_link\") 1>&5; (eval $avifile_link) 2>&5; } && test -s conftest${ac_exeext} && ./conftest${ac_exeext}; then
9917 { $as_echo "$as_me:$LINENO: result
: yes" >&5
9918 $as_echo "yes" >&6; }
9922 cat >>confdefs.h <<\_ACEOF
9923 #define AVIFILE true
9927 echo "configure
: failed program was
:" >&5
9928 cat conftest.cpp >&5
9929 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9930 $as_echo "no
" >&6; }
9933 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9934 $as_echo "no
" >&6; }
9938 if test "x
${AVIFILE}" = "xtrue
"; then
9939 VIDEO_LIBS="$VIDEO_LIBS $AVIFILE_LIBS"
9940 VIDEO_CFLAGS="$VIDEO_CFLAGS $AVIFILE_CFLAGS"
9942 cat >>confdefs.h <<\_ACEOF
9943 #define HAVE_AVIFILE 1
9948 if test "x
${WIN32}" != "x
"; then
9949 #AC_CHECK_LIB(avifil32, AVIFileInit,AVIFIL32=true)
9950 #if test "x
${AVIFIL32}" != "x
"; then
9951 # VIDEO_LIBS="$VIDEO_LIBS -lavifil32"
9953 VIDEO_LIBS="$VIDEO_LIBS -lavifil32"
9959 # ------------------------------------------------------------------
9961 if test "x
${UNCOMPRESS}" = "xgzip
"; then
9963 cat >>confdefs.h <<\_ACEOF
9970 # ------------------------------------------------------------------
9973 { $as_echo "$as_me:$LINENO: checking
for Python.h
" >&5
9974 $as_echo_n "checking
for Python.h...
" >&6; }
9976 if test "x
$PYTHON_LIB" '!=' "x
" -a "x
$PYTHON_INCLUDES" '!=' "x
";then
9979 if test "x
$PYTHON_LIB" '!=' "x
" -o "x
$PYTHON_INCLUDES" '!=' "x
";then
9980 echo "Set both PYTHON_LIB and PYTHON_INCLUDES
, or none
at all
"
9982 # iterate through version 2.2 to 2.6
9983 for v in 2 3 4 5 6; do
9985 if test -f "/usr
/include
/python2.
$v/Python.h
";then
9987 PYTHON_LIB="-lpython$PY_VERSION"
9988 if test -f "/usr
/lib
/python2.
$v/site-packages
/PIL
/_imaging.so
";then
9989 PYTHON_LIB2="$PYTHON_LIB /usr
/lib
/python2.
$v/site-packages
/PIL
/_imaging.so
"
9990 HAVE_PYTHON_IMAGING_LIB=1
9992 PYTHON_LIB2="$PYTHON_LIB"
9994 PYTHON_INCLUDES="-I/usr
/include
/python
$PY_VERSION"
9996 elif test -f "/Library
/Frameworks
/Python.framework
/Versions
/2.
$v/include
/python2.
$v/Python.h
";then
9998 PYTHON_LIB="-framework Python
"
9999 if test -f "/Library
/Frameworks
/Python.framework
/Versions
/2.
$v/site-packages
/PIL
/_imaging.so
";then
10000 PYTHON_LIB2="$PYTHON_LIB /Library
/Python
/2.
$v/PIL
/_imaging.so
"
10001 HAVE_PYTHON_IMAGING_LIB=1
10003 PYTHON_LIB2="$PYTHON_LIB"
10005 PYTHON_INCLUDES="-I/Library
/Frameworks
/Python.framework
/Versions
/2.
$v/include
/python2.
$v/"
10007 elif test "(" -f "/sw
/lib
/python2.
$v/config
/libpython2.
$v.dylib
" \
10008 -o -f "/sw
/lib
/python2.
$v/config
/libpython2.
$v.a
" \
10009 -o -f "/sw
/lib
/python2.
$v/config
/libpython2.
$v.so
" \
10011 -a -f "/sw
/include
/python2.
$v/Python.h
"; then
10013 PYTHON_LIB="-L /sw
/lib
/python2.
$v/config
/ -lpython$PY_VERSION /sw
/lib
/python2.
$v/site-packages
/PIL
/_imaging.so
"
10014 if test -f "/sw
/lib
/python2.
$v/site-packages
/PIL
/_imaging.so
";then
10015 PYTHON_LIB2="$PYTHON_LIB /sw
/lib
/python2.
$v/site-packages
/PIL
/_imaging.so
"
10016 HAVE_PYTHON_IMAGING_LIB=1
10018 PYTHON_LIB2="$PYTHON_LIB"
10020 PYTHON_INCLUDES="-I /sw
/include
/python2.
$v/"
10025 if test "x
$PY_VERSION" "!=" "x
"; then
10026 { $as_echo "$as_me:$LINENO: result
: $PY_VERSION" >&5
10027 $as_echo "$PY_VERSION" >&6; }
10028 export PYTHON_INCLUDES PYTHON_LIB
10031 { $as_echo "$as_me:$LINENO: checking whether we can compile the python
test program
" >&5
10032 $as_echo_n "checking whether we can compile the python
test program...
" >&6; }
10034 cat > conftest.c << EOF
10035 #include <Python.h>
10040 ret = Py_Main(0, 0);
10041 int x; // check also for gcc 2.95.x incompatibilities
10046 ac_link='$CC $CPPFLAGS $CFLAGS $PYTHON_INCLUDES conftest.c $LDFLAGS $PYTHON_LIB $LIBS -o conftest${ac_exeext}'
10047 if { (eval echo python.m4: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10048 { $as_echo "$as_me:$LINENO: result
: yes" >&5
10049 $as_echo "yes" >&6; }
10052 echo "configure
: failed program was
:" >&5
10054 { $as_echo "$as_me:$LINENO: result
: no
" >&5
10055 $as_echo "no
" >&6; }
10058 if test "x
$PYTHON_OK" = "xyes
";then
10059 { $as_echo "$as_me:$LINENO: checking
for Python-Imaging
" >&5
10060 $as_echo_n "checking
for Python-Imaging...
" >&6; }
10061 cat > conftest.c << EOF
10062 #include <Python.h>
10063 #include <Imaging.h>
10071 if test "$HAVE_PYTHON_IMAGING_LIB"; then
10072 ac_link='$CC $CPPFLAGS $CFLAGS $PYTHON_INCLUDES conftest.c $LDFLAGS ${PYTHON_LIB2} $LIBS -o conftest${ac_exeext}'
10073 if { (eval echo python.m4: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10074 PYTHON_LIB="${PYTHON_LIB2}"
10076 cat >>confdefs.h <<\_ACEOF
10077 #define HAVE_PYTHON_IMAGING 1
10080 HAVE_PYTHON_IMAGING=yes
10081 export HAVE_PYTHON_IMAGING
10083 { $as_echo "$as_me:$LINENO: result
: yes" >&5
10084 $as_echo "yes" >&6; }
10086 echo "configure
: failed program was
:" >&5
10088 { $as_echo "$as_me:$LINENO: result
: no
" >&5
10089 $as_echo "no
" >&6; }
10092 echo "(didn
't find the Python-Imaging libraries)" >&5
10093 { $as_echo "$as_me:$LINENO: result: no" >&5
10094 $as_echo "no" >&6; }
10099 { $as_echo "$as_me:$LINENO: result: nope" >&5
10100 $as_echo "nope" >&6; }
10104 if test "x$PYTHON_OK" '!=' "xyes";then
10105 echo all install uninstall clean: > lib/python/Makefile
10106 # fail silently- the most users won't have any need
for the
10107 # python interface anyway
10109 pythonrfxswf
="lib/python/Makefile"
10112 # ------------------------------------------------------------------
10114 { $as_echo "$as_me:$LINENO: checking for missing libraries" >&5
10115 $as_echo_n "checking for missing libraries... " >&6; }
10117 if test "x$ZLIBMISSING" = "xtrue";then
10118 MISSINGLIBS
="${MISSINGLIBS} zlib"
10119 DISABLEPNG2SWF
=true
10122 if test "x$JPEGLIBMISSING" = "xtrue";then
10123 MISSINGLIBS
="${MISSINGLIBS} jpeglib"
10124 DISABLEPDF2SWF
=true
10125 DISABLEJPEG2SWF
=true
10128 if test "x$PDFLIBMISSING" = "xtrue";then
10129 DISABLEPDF2PDF
=true
;
10131 #if test "x$T1LIBMISSING" = "xtrue";then
10132 # MISSINGLIBS="${MISSINGLIBS} t1lib"
10134 if test "x$UNGIFMISSING" = "xtrue";then
10135 DISABLEGIF2SWF
=true
10136 MISSINGLIBS
="${MISSINGLIBS} ungif"
10140 if test "x${ac_cv_header_pdflib_h}" '!=' "xyes";then
10141 DISABLEPDF2PDF
=true
;
10143 if test "x${ac_cv_header_jpeglib_h}" '!=' "xyes"; then
10144 DISABLEPDF2SWF
=true
;
10145 DISABLEJPEG2SWF
=true
;
10146 MISSINGLIBS
="${MISSINGLIBS} jpeglib.h"
10149 if test "x$HAVE_FREETYPE" '!=' "x1"; then
10150 DISABLEPDF2SWF
=true
;
10151 MISSINGLIBS
="${MISSINGLIBS} freetype"
10154 #if test "x${ac_cv_header_t1lib_h}" '!=' "xyes"; then
10155 # MISSINGLIBS="${MISSINGLIBS} t1lib.h"
10157 if test "x${ac_cv_header_gif_lib_h}" '!=' "xyes"; then
10158 DISABLEGIF2SWF
=true
10159 MISSINGLIBS
="${MISSINGLIBS} gif_lib.h"
10162 if test "x${ac_cv_header_zlib_h}" '!=' "xyes"; then
10163 DISABLEPNG2SWF
=true
;
10164 MISSINGLIBS
="${MISSINGLIBS} zlib.h"
10167 #if test "x${AVIFILE}" '!=' "xtrue" -a "x${AVIFIL32}" '!=' "xtrue"; then
10168 # MISSINGLIBS="${MISSINGLIBS} avifile"
10171 { $as_echo "$as_me:$LINENO: result: ${MISSINGLIBS}" >&5
10172 $as_echo "${MISSINGLIBS}" >&6; }
10174 # ------------------------------------------------------------------
10176 if test "x${MISSINGLIBS}" '!=' "x"; then
10177 echo "***************************************************"
10178 echo "* The following headers/libraries are missing: " ${MISSINGLIBS}
10181 avi2swf
="avi2swf/Makefile"
10182 if test "x${AVIFILE}" '!=' "xtrue" -a "x${AVIFIL32}" '!=' "xtrue"; then
10183 #don't whine, avi2swf is outdated anyway
10184 #echo "* Disabling avi2swf tool..."
10185 echo all
install uninstall clean
: > avi2swf
/Makefile
10189 pdf2swf_makefile
="lib/pdf/Makefile"
10190 PDF2SWF
='pdf2swf$(E)'
10191 LIBPDF
='libpdf$(A)'
10193 if test "x${DISABLEPDF2SWF}" = "xtrue"; then
10194 echo "* Disabling pdf2swf tool..."
10195 rm -f lib
/pdf
/Makefile
10196 echo all
install uninstall clean libpdf libgfxpdf
: > lib
/pdf
/Makefile
10197 pdf2swf_makefile
=""
10204 PDF2PDF
='pdf2pdf$(E)'
10205 DEVICE_PDF
='devices/pdf.$(O)'
10206 if test "x${DISABLEPDF2PDF}" = "xtrue"; then
10207 #echo "* Disabling pdf2pdf tool..."
10214 if test "x${ZLIBMISSING}" = "xtrue"; then
10216 echo "* Warning! Without zlib, you will not be able to read"
10217 echo "* or write compressed Flash MX files!"
10220 JPEG2SWF
='jpeg2swf$(E)'
10221 if test "x${DISABLEJPEG2SWF}" = "xtrue"; then
10222 echo "* Disabling jpeg2swf tool..."
10228 GIF2SWF
='gif2swf$(E)'
10229 if test "x${DISABLEGIF2SWF}" = "xtrue"; then
10230 echo "* Disabling gif2swf tool..."
10236 PNG2SWF
='png2swf$(E)'
10237 if test "x${DISABLEPNG2SWF}" = "xtrue"; then
10238 echo "* Disabling png2swf tool..."
10244 if test "x${MISSINGLIBS}" '!=' "x"; then
10245 if test "x${PARTIAL}" '=' "x"; then
10246 echo "* (never mind)"
10248 echo "***************************************************"
10251 # ------------------------------------------------------------------
10259 if test -f "release.in"; then release_in
="./release"; fi
10260 if test -f "Makefile.new.in"; then mk_in
="./Makefile.new"; fi
10261 FILES
="$release_in $mk_in Makefile.common ${avi2swf} Makefile lib/Makefile lib/action/Makefile src/Makefile ${pdf2swf_makefile} swfs/Makefile ${pythonrfxswf} ${lame_makefile} lib/art/Makefile lib/readers/Makefile"
10262 ac_config_files
="$ac_config_files ${FILES}"
10264 cat >confcache
<<\_ACEOF
10265 # This file is a shell script that caches the results of configure
10266 # tests run on this system so they can be shared between configure
10267 # scripts and configure runs, see configure's option --config-cache.
10268 # It is not useful on other systems. If it contains results you don't
10269 # want to keep, you may remove or edit it.
10271 # config.status only pays attention to the cache file if you give it
10272 # the --recheck option to rerun configure.
10274 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10275 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10276 # following values.
10280 # The following way of writing the cache mishandles newlines in values,
10281 # but we know of no workaround that is simple, portable, and efficient.
10282 # So, we kill variables containing newlines.
10283 # Ultrix sh set writes to stderr and can't be redirected directly,
10284 # and sets the high bit in the cache file unless we assign to the vars.
10286 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
10287 eval ac_val
=\$
$ac_var
10291 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
10292 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
10295 _ | IFS | as_nl
) ;; #(
10296 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
10297 *) $as_unset $ac_var ;;
10303 case $as_nl`(ac_space=' '; set) 2>&1` in #(
10304 *${as_nl}ac_space
=\
*)
10305 # `set' does not quote correctly, so add quotes (double-quote
10306 # substitution turns \\\\ into \\, and sed turns \\ into \).
10309 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10312 # `set' quotes correctly as required by POSIX, so do not add quotes.
10313 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
10322 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10324 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10326 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
10327 if test -w "$cache_file"; then
10328 test "x$cache_file" != "x/dev/null" &&
10329 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
10330 $as_echo "$as_me: updating cache $cache_file" >&6;}
10331 cat confcache
>$cache_file
10333 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
10334 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
10339 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
10340 # Let make expand exec_prefix.
10341 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
10343 DEFS
=-DHAVE_CONFIG_H
10347 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
10348 # 1. Remove the extension, and $U if already installed.
10349 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
10350 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
10351 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
10352 # will be set to the directory where LIBOBJS objects are built.
10353 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
10354 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
10356 LIBOBJS
=$ac_libobjs
10358 LTLIBOBJS
=$ac_ltlibobjs
10362 : ${CONFIG_STATUS=./config.status}
10364 ac_clean_files_save
=$ac_clean_files
10365 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
10366 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
10367 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
10368 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10370 # Generated by $as_me.
10371 # Run this file to recreate the current configuration.
10372 # Compiler output produced by configure, useful for debugging
10373 # configure, is in config.log if it exists.
10376 ac_cs_recheck=false
10378 SHELL=\${CONFIG_SHELL-$SHELL}
10381 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10382 ## --------------------- ##
10383 ## M4sh Initialization. ##
10384 ## --------------------- ##
10386 # Be more Bourne compatible
10387 DUALCASE
=1; export DUALCASE
# for MKS sh
10388 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
10391 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
10392 # is contrary to our usage. Disable this feature.
10393 alias -g '${1+"$@"}'='"$@"'
10394 setopt NO_GLOB_SUBST
10396 case `(set -o) 2>/dev/null` in
10397 *posix
*) set -o posix
;;
10406 # Avoid depending upon Character Ranges.
10407 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
10408 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10409 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
10410 as_cr_digits
='0123456789'
10411 as_cr_alnum
=$as_cr_Letters$as_cr_digits
10416 # Printing a long string crashes Solaris 7 /usr/bin/printf.
10417 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
10418 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
10419 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
10420 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
10421 as_echo='printf %s
\n'
10422 as_echo_n='printf %s
'
10424 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
10425 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
10426 as_echo_n='/usr
/ucb
/echo -n'
10428 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
10429 as_echo_n_body='eval
10433 expr "X$arg" : "X\\(.*\\)$as_nl";
10434 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
10436 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
10438 export as_echo_n_body
10439 as_echo_n='sh
-c $as_echo_n_body as_echo
'
10441 export as_echo_body
10442 as_echo='sh
-c $as_echo_body as_echo
'
10445 # The user is always right.
10446 if test "${PATH_SEPARATOR+set}" != set; then
10448 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
10449 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
10454 # Support unset when possible.
10455 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
10463 # We need space, tab and new line, in precisely that order. Quoting is
10464 # there to prevent editors from complaining about space-tab.
10465 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
10466 # splitting by setting IFS to empty value.)
10469 # Find who we are. Look in the path if we contain no directory separator.
10471 *[\\/]* ) as_myself=$0 ;;
10472 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10473 for as_dir in $PATH
10476 test -z "$as_dir" && as_dir=.
10477 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
10483 # We did not find ourselves, most probably we were run as `sh COMMAND'
10484 # in which case we are not to be found in the path.
10485 if test "x$as_myself" = x
; then
10488 if test ! -f "$as_myself"; then
10489 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
10490 { (exit 1); exit 1; }
10493 # Work around bugs in pre-3.0 UWIN ksh.
10494 for as_var
in ENV MAIL MAILPATH
10495 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
10507 # Required to use basename.
10508 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
10509 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
10515 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
10516 as_basename
=basename
10522 # Name of the executable.
10523 as_me
=`$as_basename -- "$0" ||
10524 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10525 X"$0" : 'X\(//\)$' \| \
10526 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
10528 sed '/^.*\/\([^/][^/]*\)\/*$/{
10547 as_lineno_1
=$LINENO
10548 as_lineno_2
=$LINENO
10549 test "x$as_lineno_1" != "x$as_lineno_2" &&
10550 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
10552 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
10553 # uniformly replaced by the line number. The first 'sed' inserts a
10554 # line-number line after each line using $LINENO; the second 'sed'
10555 # does the real work. The second script uses 'N' to pair each
10556 # line-number line with the line containing $LINENO, and appends
10557 # trailing '-' during substitution so that $LINENO is not a special
10558 # case at line end.
10559 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
10560 # scripts with optimization help from Paolo Bonzini. Blame Lee
10561 # E. McMahon (1931-1989) for sed's syntax. :-)
10573 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
10576 ' >$as_me.lineno
&&
10577 chmod +x
"$as_me.lineno" ||
10578 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
10579 { (exit 1); exit 1; }; }
10581 # Don't try to exec as it changes $[0], causing all sort of problems
10582 # (the dirname of $[0] is not the place where we might find the
10583 # original and so on. Autoconf is especially sensitive to this).
10584 .
"./$as_me.lineno"
10585 # Exit status is that of the last command.
10590 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
10596 ECHO_C
= ECHO_N
= ECHO_T
=
10597 case `echo -n x` in
10599 case `echo 'x\c'` in
10600 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
10606 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
10607 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
10613 rm -f conf$$ conf$$.exe conf$$.
file
10614 if test -d conf$$.dir
; then
10615 rm -f conf$$.dir
/conf$$.
file
10618 mkdir conf$$.dir
2>/dev
/null
10620 if (echo >conf$$.
file) 2>/dev
/null
; then
10621 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
10623 # ... but there are two gotchas:
10624 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
10625 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
10626 # In both cases, we have to default to `cp -p'.
10627 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
10629 elif ln conf$$.
file conf$$
2>/dev
/null
; then
10637 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
10638 rmdir conf$$.dir
2>/dev
/null
10640 if mkdir
-p .
2>/dev
/null
; then
10643 test -d .
/-p && rmdir .
/-p
10647 if test -x / >/dev
/null
2>&1; then
10648 as_test_x
='test -x'
10650 if ls -dL / >/dev
/null
2>&1; then
10657 if test -d "$1"; then
10663 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
10664 ???[sx]*):;;*)false;;esac;fi
10668 as_executable_p
=$as_test_x
10670 # Sed expression to map a string onto a valid CPP name.
10671 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10673 # Sed expression to map a string onto a valid variable name.
10674 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10679 # Save the log message, to keep $[0] and so on meaningful, and to
10680 # report actual input values of CONFIG_FILES etc. instead of their
10681 # values after options handling.
10683 This file was extended by $as_me, which was
10684 generated by GNU Autoconf 2.63. Invocation command line was
10686 CONFIG_FILES = $CONFIG_FILES
10687 CONFIG_HEADERS = $CONFIG_HEADERS
10688 CONFIG_LINKS = $CONFIG_LINKS
10689 CONFIG_COMMANDS = $CONFIG_COMMANDS
10692 on `(hostname || uname -n) 2>/dev/null | sed 1q`
10697 case $ac_config_files in *"
10698 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
10701 case $ac_config_headers in *"
10702 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
10706 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10707 # Files that config.status was made for.
10708 config_files="$ac_config_files"
10709 config_headers="$ac_config_headers"
10713 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10715 \`$as_me' instantiates files from templates according to the
10716 current configuration.
10718 Usage: $0 [OPTION]... [FILE]...
10720 -h, --help print this help, then exit
10721 -V, --version print version number and configuration settings, then exit
10722 -q, --quiet, --silent
10723 do not print progress messages
10724 -d, --debug don't remove temporary files
10725 --recheck update $as_me by reconfiguring in the same conditions
10726 --file=FILE[:TEMPLATE]
10727 instantiate the configuration file FILE
10728 --header=FILE[:TEMPLATE]
10729 instantiate the configuration header FILE
10731 Configuration files:
10734 Configuration headers:
10737 Report bugs to <bug-autoconf@gnu.org>."
10740 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10743 configured by $0, generated by GNU Autoconf 2.63,
10744 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
10746 Copyright (C) 2008 Free Software Foundation, Inc.
10747 This config.status script is free software; the Free Software Foundation
10748 gives unlimited permission to copy, distribute and modify it."
10753 test -n "\$AWK" || AWK=awk
10756 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10757 # The default lists apply if the user does not specify any file.
10763 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
10764 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
10775 # Handling of the options.
10776 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
10778 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
10779 $as_echo "$ac_cs_version"; exit ;;
10780 --debug |
--debu |
--deb |
--de |
--d |
-d )
10782 --file |
--fil |
--fi |
--f )
10785 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10787 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
10788 ac_need_defaults
=false
;;
10789 --header |
--heade |
--head |
--hea )
10792 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10794 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
10795 ac_need_defaults
=false
;;
10797 # Conflict between --help and --header
10798 { $as_echo "$as_me: error: ambiguous option: $1
10799 Try \`$0 --help' for more information." >&2
10800 { (exit 1); exit 1; }; };;
10801 --help |
--hel |
-h )
10802 $as_echo "$ac_cs_usage"; exit ;;
10803 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
10804 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
10807 # This is an error.
10808 -*) { $as_echo "$as_me: error: unrecognized option: $1
10809 Try \`$0 --help' for more information." >&2
10810 { (exit 1); exit 1; }; } ;;
10812 *) ac_config_targets
="$ac_config_targets $1"
10813 ac_need_defaults
=false
;;
10819 ac_configure_extra_args
=
10821 if $ac_cs_silent; then
10823 ac_configure_extra_args
="$ac_configure_extra_args --silent"
10827 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10828 if \$ac_cs_recheck; then
10829 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10831 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
10832 CONFIG_SHELL='$SHELL'
10833 export CONFIG_SHELL
10838 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10842 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10843 ## Running $as_me. ##
10849 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10852 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10854 # Handling of arguments.
10855 for ac_config_target
in $ac_config_targets
10857 case $ac_config_target in
10858 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
10859 "${FILES}") CONFIG_FILES
="$CONFIG_FILES ${FILES}" ;;
10861 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
10862 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
10863 { (exit 1); exit 1; }; };;
10868 # If the user did not use the arguments to specify the items to instantiate,
10869 # then the envvar interface is used. Set only those that are not.
10870 # We use the long form for the default assignment because of an extremely
10871 # bizarre bug on SunOS 4.1.3.
10872 if $ac_need_defaults; then
10873 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
10874 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
10877 # Have a temporary directory for convenience. Make it in the build tree
10878 # simply because there is no reason against having it here, and in addition,
10879 # creating and moving files from /tmp can sometimes cause problems.
10880 # Hook for its removal unless debugging.
10881 # Note that there is a small window in which the directory will not be cleaned:
10882 # after its creation but before its name has been assigned to `$tmp'.
10886 trap 'exit_status=$?
10887 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
10889 trap '{ (exit 1); exit 1; }' 1 2 13 15
10891 # Create a (secure) tmp directory for tmp files.
10894 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10895 test -n "$tmp" && test -d "$tmp"
10898 tmp
=.
/conf$$
-$RANDOM
10899 (umask 077 && mkdir
"$tmp")
10902 $as_echo "$as_me: cannot create a temporary directory in ." >&2
10903 { (exit 1); exit 1; }
10906 # Set up the scripts for CONFIG_FILES section.
10907 # No need to generate them if there are no CONFIG_FILES.
10908 # This happens for instance with `./config.status config.h'.
10909 if test -n "$CONFIG_FILES"; then
10913 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
10914 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
10917 ac_cs_awk_cr
=$ac_cr
10920 echo 'BEGIN {' >"$tmp/subs1.awk" &&
10925 echo "cat >conf$$subs.awk <<_ACEOF" &&
10926 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
10928 } >conf$$subs.sh ||
10929 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
10930 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
10931 { (exit 1); exit 1; }; }
10932 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
10934 for ac_last_try in false false false false false :; do
10935 . ./conf$$subs.sh ||
10936 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
10937 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
10938 { (exit 1); exit 1; }; }
10940 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
10941 if test $ac_delim_n = $ac_delim_num; then
10943 elif $ac_last_try; then
10944 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
10945 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
10946 { (exit 1); exit 1; }; }
10948 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
10951 rm -f conf$$subs.sh
10953 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10954 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
10958 s/^/S["/; s
/!.
*/"]=/
10968 s/\(.\{148\}\).*/\1/
10970 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
10975 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
10982 s/\(.\{148\}\).*/\1/
10984 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
10988 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
10993 ' <conf$$subs.awk | sed '
10998 ' >>$CONFIG_STATUS || ac_write_fail=1
10999 rm -f conf$$subs.awk
11000 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11002 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
11003 for (key in S) S_is_set[key] = 1
11009 nfields = split(line, field, "@
")
11011 len = length(field[1])
11012 for (i = 2; i < nfields; i++) {
11014 keylen = length(key)
11015 if (S_is_set[key]) {
11017 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
11018 len += length(value) + length(field[++i])
11029 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11030 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
11031 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
11034 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
11035 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
11036 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
11037 { (exit 1); exit 1; }; }
11040 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11041 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
11042 # trailing colons and then remove the whole line if VPATH becomes empty
11043 # (actually we leave an empty line to preserve line numbers).
11044 if test "x
$srcdir" = x.; then
11045 ac_vpsub='/^[ ]*VPATH[ ]*=/{
11046 s/:*\$(srcdir):*/:/
11047 s/:*\${srcdir}:*/:/
11049 s/^\([^=]*=[ ]*\):*/\1/
11055 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11056 fi # test -n "$CONFIG_FILES"
11058 # Set up the scripts for CONFIG_HEADERS section.
11059 # No need to generate them if there are no CONFIG_HEADERS.
11060 # This happens for instance with `./config.status Makefile'.
11061 if test -n "$CONFIG_HEADERS"; then
11062 cat >"$tmp/defines.
awk" <<\_ACAWK ||
11066 # Transform confdefs.h into an awk script `defines.awk', embedded as
11067 # here-document in config.status, that substitutes the proper values into
11068 # config.h.in to produce config.h.
11070 # Create a delimiter string that does not exist in confdefs.h, to ease
11071 # handling of long lines.
11073 for ac_last_try in false false :; do
11074 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
11075 if test -z "$ac_t"; then
11077 elif $ac_last_try; then
11078 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
11079 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
11080 { (exit 1); exit 1; }; }
11082 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
11086 # For the awk script, D is an array of macro values keyed by name,
11087 # likewise P contains macro parameters if any. Preserve backslash
11088 # newline sequences.
11090 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
11092 s/.\{148\}/&'"$ac_delim"'/g
11095 s/^[ ]*#[ ]*define[ ][ ]*/ /
11102 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
11104 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
11108 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
11109 D["\
1"]=" \
3\\\\\\n
"\\/p
11111 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
11116 s/.\{148\}/&'"$ac_delim"'/g
11121 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
11124 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
11126 ' <confdefs.h | sed '
11127 s/'"$ac_delim"'/"\\\
11128 "/g' >>$CONFIG_STATUS || ac_write_fail=1
11130 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11131 for (key in D) D_is_set[key] = 1
11134 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
11136 split(line, arg, " ")
11137 if (arg[1] == "#") {
11141 defundef
= substr
(arg
[1], 2)
11144 split(mac1
, mac2
, "(") #)
11146 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
11147 if (D_is_set
[macro
]) {
11148 # Preserve the white space surrounding the "#".
11149 print prefix
"define", macro P
[macro
] D
[macro
]
11152 # Replace #undef with comments. This is necessary, for example,
11153 # in the case of _POSIX_SOURCE, which is predefined and required
11154 # on some systems where configure will not decide to define it.
11155 if (defundef
== "undef") {
11156 print
"/*", prefix defundef
, macro
, "*/"
11164 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11165 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
11166 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
11167 { (exit 1); exit 1; }; }
11168 fi # test -n "$CONFIG_HEADERS"
11171 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS "
11176 :[FHLC
]) ac_mode
=$ac_tag; continue;;
11178 case $ac_mode$ac_tag in
11180 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
11181 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
11182 { (exit 1); exit 1; }; };;
11183 :[FH
]-) ac_tag
=-:-;;
11184 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
11201 -) ac_f
="$tmp/stdin";;
11202 *) # Look for the file first in the build tree, then in the source tree
11203 # (if the path is not absolute). The absolute path cannot be DOS-style,
11204 # because $ac_f cannot contain `:'.
11208 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
11210 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
11211 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
11212 { (exit 1); exit 1; }; };;
11214 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
11215 ac_file_inputs
="$ac_file_inputs '$ac_f'"
11218 # Let's still pretend it is `configure' which instantiates (i.e., don't
11219 # use $as_me), people would be surprised to read:
11220 # /* config.h. Generated by config.status. */
11221 configure_input
='Generated from '`
11222 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
11224 if test x
"$ac_file" != x-
; then
11225 configure_input
="$ac_file. $configure_input"
11226 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
11227 $as_echo "$as_me: creating $ac_file" >&6;}
11229 # Neutralize special characters interpreted by sed in replacement strings.
11230 case $configure_input in #(
11231 *\
&* |
*\|
* |
*\\* )
11232 ac_sed_conf_input
=`$as_echo "$configure_input" |
11233 sed 's/[\\\\&|]/\\\\&/g'`;; #(
11234 *) ac_sed_conf_input
=$configure_input;;
11238 *:-:* |
*:-) cat >"$tmp/stdin" \
11239 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
11240 $as_echo "$as_me: error: could not create $ac_file" >&2;}
11241 { (exit 1); exit 1; }; } ;;
11246 ac_dir
=`$as_dirname -- "$ac_file" ||
11247 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11248 X"$ac_file" : 'X\(//\)[^/]' \| \
11249 X"$ac_file" : 'X\(//\)$' \| \
11250 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
11251 $as_echo X"$ac_file" |
11252 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11256 /^X\(\/\/\)[^/].*/{
11271 -*) as_dir
=.
/$as_dir;;
11273 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
11277 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
11278 *) as_qdir
=$as_dir;;
11280 as_dirs
="'$as_qdir' $as_dirs"
11281 as_dir
=`$as_dirname -- "$as_dir" ||
11282 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11283 X"$as_dir" : 'X\(//\)[^/]' \| \
11284 X"$as_dir" : 'X\(//\)$' \| \
11285 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11286 $as_echo X"$as_dir" |
11287 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11291 /^X\(\/\/\)[^/].*/{
11304 test -d "$as_dir" && break
11306 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11307 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11308 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
11309 { (exit 1); exit 1; }; }; }
11313 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
11315 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
11316 # A ".." for each directory in $ac_dir_suffix.
11317 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
11318 case $ac_top_builddir_sub in
11319 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
11320 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
11323 ac_abs_top_builddir
=$ac_pwd
11324 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
11325 # for backward compatibility:
11326 ac_top_builddir
=$ac_top_build_prefix
11329 .
) # We are building in place.
11331 ac_top_srcdir
=$ac_top_builddir_sub
11332 ac_abs_top_srcdir
=$ac_pwd ;;
11333 [\\/]* | ?
:[\\/]* ) # Absolute name.
11334 ac_srcdir
=$srcdir$ac_dir_suffix;
11335 ac_top_srcdir
=$srcdir
11336 ac_abs_top_srcdir
=$srcdir ;;
11337 *) # Relative name.
11338 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
11339 ac_top_srcdir
=$ac_top_build_prefix$srcdir
11340 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
11342 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
11352 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
11353 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
11357 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11358 # If the template does not know about datarootdir, expand it.
11359 # FIXME: This hack should be removed a few years after 2.60.
11360 ac_datarootdir_hack
=; ac_datarootdir_seen
=
11373 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
11374 *datarootdir
*) ac_datarootdir_seen
=yes;;
11375 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
11376 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
11377 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
11379 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11380 ac_datarootdir_hack='
11381 s&@datadir@&$datadir&g
11382 s&@docdir@&$docdir&g
11383 s&@infodir@&$infodir&g
11384 s&@localedir@&$localedir&g
11385 s&@mandir@&$mandir&g
11386 s&\\\${datarootdir}&$datarootdir&g' ;;
11390 # Neutralize VPATH when `$srcdir' = `.'.
11391 # Shell code in configure.ac might set extrasub.
11392 # FIXME: do we really want to maintain this feature?
11393 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11394 ac_sed_extra="$ac_vpsub
11397 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11399 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
11400 s|@configure_input@|
$ac_sed_conf_input|
;t t
11401 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
11402 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
11403 s
&@srcdir@
&$ac_srcdir&;t t
11404 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
11405 s
&@top_srcdir@
&$ac_top_srcdir&;t t
11406 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
11407 s
&@builddir@
&$ac_builddir&;t t
11408 s
&@abs_builddir@
&$ac_abs_builddir&;t t
11409 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
11410 s
&@INSTALL@
&$ac_INSTALL&;t t
11411 $ac_datarootdir_hack
11413 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
11414 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
11415 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
11416 { (exit 1); exit 1; }; }
11418 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
11419 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
11420 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
11421 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
11422 which seems to be undefined. Please make sure it is defined." >&5
11423 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
11424 which seems to be undefined. Please make sure it is defined." >&2;}
11428 -) cat "$tmp/out" && rm -f "$tmp/out";;
11429 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
11431 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
11432 $as_echo "$as_me: error: could not create $ac_file" >&2;}
11433 { (exit 1); exit 1; }; }
11439 if test x"$ac_file" != x-; then
11441 $as_echo "/* $configure_input */" \
11442 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
11443 } >"$tmp/config.h" \
11444 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
11445 $as_echo "$as_me: error: could not create $ac_file" >&2;}
11446 { (exit 1); exit 1; }; }
11447 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
11448 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
11449 $as_echo "$as_me: $ac_file is unchanged" >&6;}
11452 mv "$tmp/config.h" "$ac_file" \
11453 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
11454 $as_echo "$as_me: error: could not create $ac_file" >&2;}
11455 { (exit 1); exit 1; }; }
11458 $as_echo "/* $configure_input */" \
11459 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
11460 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
11461 $as_echo "$as_me: error: could not create -" >&2;}
11462 { (exit 1); exit 1; }; }
11472 { (exit 0); exit 0; }
11474 chmod +x $CONFIG_STATUS
11475 ac_clean_files=$ac_clean_files_save
11477 test $ac_write_fail = 0 ||
11478 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
11479 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
11480 { (exit 1); exit 1; }; }
11483 # configure is writing to config.log, and then calls config.status.
11484 # config.status does its own redirection, appending to config.log.
11485 # Unfortunately, on DOS this fails, as config.log is still kept open
11486 # by configure, so config.status won't be able to
write to it
; its
11487 # output is simply discarded. So we exec the FD to /dev/null,
11488 # effectively closing config.log, so it can be properly (re)opened and
11489 # appended to by config.status. When coming back to configure, we
11490 # need to make the FD available again.
11491 if test "$no_create" != yes; then
11493 ac_config_status_args
=
11494 test "$silent" = yes &&
11495 ac_config_status_args
="$ac_config_status_args --quiet"
11497 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
11499 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11500 # would make configure fail if this is the last instruction.
11501 $ac_cs_success ||
{ (exit 1); exit 1; }
11503 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
11504 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
11505 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
11511 # On development trees, create snapshots of config.status
11513 if test -f snapshot
-a "x$CHECKMEM" = "x" -a "x$PROFILING" = "x";then
11514 if test "x${MINGW}" = "xyes"; then
11515 echo cp config.status config.status.win32
11516 cp config.status config.status.win32
11518 if test "x$DEBUG" '=' "x" -a "x$OPTIMIZE" '=' "x";then
11519 echo cp config.status config.status.linux
11520 cp config.status config.status.linux
11522 if test "x$DEBUG" '!=' "x" -a "x$OPTIMIZE" '=' "x";then
11523 echo cp config.status config.status.debug
11524 cp config.status config.status.debug
11526 if test "x$DEBUG" = "x" -a "x$OPTIMIZE" '!=' "x"; then
11527 echo cp config.status config.status.optimize
11528 cp config.status config.status.optimize