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
734 program_transform_name
746 enable_option_checking
754 ac_precious_vars
='build_alias
768 # Initialize some variables set by options.
770 ac_init_version
=false
771 ac_unrecognized_opts
=
773 # The variables have the same names as the options, with
774 # dashes changed to underlines.
782 program_transform_name
=s
,x
,x
,
790 # Installation directory options.
791 # These are left unexpanded so users can "make install exec_prefix=/foo"
792 # and all the variables that are supposed to be based on exec_prefix
793 # by default will actually change.
794 # Use braces instead of parens because sh, perl, etc. also accept them.
795 # (The list follows the same order as the GNU Coding Standards.)
796 bindir
='${exec_prefix}/bin'
797 sbindir
='${exec_prefix}/sbin'
798 libexecdir
='${exec_prefix}/libexec'
799 datarootdir
='${prefix}/share'
800 datadir
='${datarootdir}'
801 sysconfdir
='${prefix}/etc'
802 sharedstatedir
='${prefix}/com'
803 localstatedir
='${prefix}/var'
804 includedir
='${prefix}/include'
805 oldincludedir
='/usr/include'
806 docdir
='${datarootdir}/doc/${PACKAGE}'
807 infodir
='${datarootdir}/info'
812 libdir
='${exec_prefix}/lib'
813 localedir
='${datarootdir}/locale'
814 mandir
='${datarootdir}/man'
820 # If the previous option needs an argument, assign it.
821 if test -n "$ac_prev"; then
822 eval $ac_prev=\
$ac_option
828 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
832 # Accept the important Cygnus configure options, so we can diagnose typos.
834 case $ac_dashdash$ac_option in
838 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
840 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
843 -build |
--build |
--buil |
--bui |
--bu)
844 ac_prev
=build_alias
;;
845 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
846 build_alias
=$ac_optarg ;;
848 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
849 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
850 ac_prev
=cache_file
;;
851 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
852 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
853 cache_file
=$ac_optarg ;;
856 cache_file
=config.cache
;;
858 -datadir |
--datadir |
--datadi |
--datad)
860 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
861 datadir
=$ac_optarg ;;
863 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
864 |
--dataroo |
--dataro |
--datar)
865 ac_prev
=datarootdir
;;
866 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
867 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
868 datarootdir
=$ac_optarg ;;
870 -disable-* |
--disable-*)
871 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
872 # Reject names that are not valid shell variable names.
873 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
874 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
875 { (exit 1); exit 1; }; }
876 ac_useropt_orig
=$ac_useropt
877 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
878 case $ac_user_opts in
882 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
883 ac_unrecognized_sep
=', ';;
885 eval enable_
$ac_useropt=no
;;
887 -docdir |
--docdir |
--docdi |
--doc |
--do)
889 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
892 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
894 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
897 -enable-* |
--enable-*)
898 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
899 # Reject names that are not valid shell variable names.
900 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
901 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
902 { (exit 1); exit 1; }; }
903 ac_useropt_orig
=$ac_useropt
904 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
905 case $ac_user_opts in
909 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
910 ac_unrecognized_sep
=', ';;
912 eval enable_
$ac_useropt=\
$ac_optarg ;;
914 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
915 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
916 |
--exec |
--exe |
--ex)
917 ac_prev
=exec_prefix
;;
918 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
919 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
920 |
--exec=* |
--exe=* |
--ex=*)
921 exec_prefix
=$ac_optarg ;;
923 -gas |
--gas |
--ga |
--g)
924 # Obsolete; use --with-gas.
927 -help |
--help |
--hel |
--he |
-h)
929 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
930 ac_init_help
=recursive
;;
931 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
932 ac_init_help
=short
;;
934 -host |
--host |
--hos |
--ho)
935 ac_prev
=host_alias
;;
936 -host=* |
--host=* |
--hos=* |
--ho=*)
937 host_alias
=$ac_optarg ;;
939 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
941 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
943 htmldir
=$ac_optarg ;;
945 -includedir |
--includedir |
--includedi |
--included |
--include \
946 |
--includ |
--inclu |
--incl |
--inc)
947 ac_prev
=includedir
;;
948 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
949 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
950 includedir
=$ac_optarg ;;
952 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
954 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
955 infodir
=$ac_optarg ;;
957 -libdir |
--libdir |
--libdi |
--libd)
959 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
962 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
963 |
--libexe |
--libex |
--libe)
964 ac_prev
=libexecdir
;;
965 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
966 |
--libexe=* |
--libex=* |
--libe=*)
967 libexecdir
=$ac_optarg ;;
969 -localedir |
--localedir |
--localedi |
--localed |
--locale)
971 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
972 localedir
=$ac_optarg ;;
974 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
975 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
976 ac_prev
=localstatedir
;;
977 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
978 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
979 localstatedir
=$ac_optarg ;;
981 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
983 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
987 # Obsolete; use --without-fp.
990 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
991 |
--no-cr |
--no-c |
-n)
994 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
995 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
998 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
999 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1000 |
--oldin |
--oldi |
--old |
--ol |
--o)
1001 ac_prev
=oldincludedir
;;
1002 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1003 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1004 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1005 oldincludedir
=$ac_optarg ;;
1007 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1009 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1010 prefix
=$ac_optarg ;;
1012 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1013 |
--program-pre |
--program-pr |
--program-p)
1014 ac_prev
=program_prefix
;;
1015 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1016 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1017 program_prefix
=$ac_optarg ;;
1019 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1020 |
--program-suf |
--program-su |
--program-s)
1021 ac_prev
=program_suffix
;;
1022 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1023 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1024 program_suffix
=$ac_optarg ;;
1026 -program-transform-name |
--program-transform-name \
1027 |
--program-transform-nam |
--program-transform-na \
1028 |
--program-transform-n |
--program-transform- \
1029 |
--program-transform |
--program-transfor \
1030 |
--program-transfo |
--program-transf \
1031 |
--program-trans |
--program-tran \
1032 |
--progr-tra |
--program-tr |
--program-t)
1033 ac_prev
=program_transform_name
;;
1034 -program-transform-name=* |
--program-transform-name=* \
1035 |
--program-transform-nam=* |
--program-transform-na=* \
1036 |
--program-transform-n=* |
--program-transform-=* \
1037 |
--program-transform=* |
--program-transfor=* \
1038 |
--program-transfo=* |
--program-transf=* \
1039 |
--program-trans=* |
--program-tran=* \
1040 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1041 program_transform_name
=$ac_optarg ;;
1043 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1045 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1046 pdfdir
=$ac_optarg ;;
1048 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1050 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1053 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1054 |
-silent |
--silent |
--silen |
--sile |
--sil)
1057 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1059 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1061 sbindir
=$ac_optarg ;;
1063 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1064 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1065 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1067 ac_prev
=sharedstatedir
;;
1068 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1069 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1070 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1072 sharedstatedir
=$ac_optarg ;;
1074 -site |
--site |
--sit)
1076 -site=* |
--site=* |
--sit=*)
1079 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1081 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1082 srcdir
=$ac_optarg ;;
1084 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1085 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1086 ac_prev
=sysconfdir
;;
1087 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1088 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1089 sysconfdir
=$ac_optarg ;;
1091 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1092 ac_prev
=target_alias
;;
1093 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1094 target_alias
=$ac_optarg ;;
1096 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1099 -version |
--version |
--versio |
--versi |
--vers |
-V)
1100 ac_init_version
=: ;;
1103 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1104 # Reject names that are not valid shell variable names.
1105 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1106 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1107 { (exit 1); exit 1; }; }
1108 ac_useropt_orig
=$ac_useropt
1109 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1110 case $ac_user_opts in
1114 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1115 ac_unrecognized_sep
=', ';;
1117 eval with_
$ac_useropt=\
$ac_optarg ;;
1119 -without-* |
--without-*)
1120 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1121 # Reject names that are not valid shell variable names.
1122 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1123 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1124 { (exit 1); exit 1; }; }
1125 ac_useropt_orig
=$ac_useropt
1126 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1127 case $ac_user_opts in
1131 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1132 ac_unrecognized_sep
=', ';;
1134 eval with_
$ac_useropt=no
;;
1137 # Obsolete; use --with-x.
1140 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1141 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1142 ac_prev
=x_includes
;;
1143 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1144 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1145 x_includes
=$ac_optarg ;;
1147 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1148 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1149 ac_prev
=x_libraries
;;
1150 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1151 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1152 x_libraries
=$ac_optarg ;;
1154 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1155 Try \`$0 --help' for more information." >&2
1156 { (exit 1); exit 1; }; }
1160 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1161 # Reject names that are not valid shell variable names.
1162 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1163 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1164 { (exit 1); exit 1; }; }
1165 eval $ac_envvar=\
$ac_optarg
1166 export $ac_envvar ;;
1169 # FIXME: should be removed in autoconf 3.0.
1170 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1171 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1172 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1173 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1179 if test -n "$ac_prev"; then
1180 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1181 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1182 { (exit 1); exit 1; }; }
1185 if test -n "$ac_unrecognized_opts"; then
1186 case $enable_option_checking in
1188 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1189 { (exit 1); exit 1; }; } ;;
1190 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1194 # Check all directory arguments for consistency.
1195 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1196 datadir sysconfdir sharedstatedir localstatedir includedir \
1197 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1198 libdir localedir mandir
1200 eval ac_val
=\$
$ac_var
1201 # Remove trailing slashes.
1204 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1205 eval $ac_var=\
$ac_val;;
1207 # Be sure to have absolute directory names.
1209 [\\/$
]* | ?
:[\\/]* ) continue;;
1210 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1212 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1213 { (exit 1); exit 1; }; }
1216 # There might be people who depend on the old broken behavior: `$host'
1217 # used to hold the argument of --host etc.
1218 # FIXME: To remove some day.
1221 target
=$target_alias
1223 # FIXME: To remove some day.
1224 if test "x$host_alias" != x
; then
1225 if test "x$build_alias" = x
; then
1226 cross_compiling
=maybe
1227 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1228 If a cross compiler is detected then cross compile mode will be used." >&2
1229 elif test "x$build_alias" != "x$host_alias"; then
1235 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1237 test "$silent" = yes && exec 6>/dev
/null
1240 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1241 ac_ls_di
=`ls -di .` &&
1242 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1243 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1244 { (exit 1); exit 1; }; }
1245 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1246 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1247 { (exit 1); exit 1; }; }
1250 # Find the source files, if location was not specified.
1251 if test -z "$srcdir"; then
1252 ac_srcdir_defaulted
=yes
1253 # Try the directory containing this script, then the parent directory.
1254 ac_confdir
=`$as_dirname -- "$as_myself" ||
1255 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1256 X"$as_myself" : 'X\(//\)[^/]' \| \
1257 X"$as_myself" : 'X\(//\)$' \| \
1258 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1259 $as_echo X"$as_myself" |
1260 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1278 if test ! -r "$srcdir/$ac_unique_file"; then
1282 ac_srcdir_defaulted
=no
1284 if test ! -r "$srcdir/$ac_unique_file"; then
1285 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1286 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1287 { (exit 1); exit 1; }; }
1289 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1291 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1292 { (exit 1); exit 1; }; }
1294 # When building in place, set srcdir=.
1295 if test "$ac_abs_confdir" = "$ac_pwd"; then
1298 # Remove unnecessary trailing slashes from srcdir.
1299 # Double slashes in file names in object file debugging info
1300 # mess up M-x gdb in Emacs.
1302 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1304 for ac_var
in $ac_precious_vars; do
1305 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1306 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1307 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1308 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1312 # Report the --help message.
1314 if test "$ac_init_help" = "long"; then
1315 # Omit some internal or obsolete options to make the list less imposing.
1316 # This message is too long to be a string in the A/UX 3.1 sh.
1318 \`configure' configures this package to adapt to many kinds of systems.
1320 Usage: $0 [OPTION]... [VAR=VALUE]...
1322 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1323 VAR=VALUE. See below for descriptions of some of the useful variables.
1325 Defaults for the options are specified in brackets.
1328 -h, --help display this help and exit
1329 --help=short display options specific to this package
1330 --help=recursive display the short help of all the included packages
1331 -V, --version display version information and exit
1332 -q, --quiet, --silent do not print \`checking...' messages
1333 --cache-file=FILE cache test results in FILE [disabled]
1334 -C, --config-cache alias for \`--cache-file=config.cache'
1335 -n, --no-create do not create output files
1336 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1338 Installation directories:
1339 --prefix=PREFIX install architecture-independent files in PREFIX
1340 [$ac_default_prefix]
1341 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1344 By default, \`make install' will install all the files in
1345 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1346 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1347 for instance \`--prefix=\$HOME'.
1349 For better control, use the options below.
1351 Fine tuning of the installation directories:
1352 --bindir=DIR user executables [EPREFIX/bin]
1353 --sbindir=DIR system admin executables [EPREFIX/sbin]
1354 --libexecdir=DIR program executables [EPREFIX/libexec]
1355 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1356 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1357 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1358 --libdir=DIR object code libraries [EPREFIX/lib]
1359 --includedir=DIR C header files [PREFIX/include]
1360 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1361 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1362 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1363 --infodir=DIR info documentation [DATAROOTDIR/info]
1364 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1365 --mandir=DIR man documentation [DATAROOTDIR/man]
1366 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1367 --htmldir=DIR html documentation [DOCDIR]
1368 --dvidir=DIR dvi documentation [DOCDIR]
1369 --pdfdir=DIR pdf documentation [DOCDIR]
1370 --psdir=DIR ps documentation [DOCDIR]
1376 --program-prefix=PREFIX prepend PREFIX to installed program names
1377 --program-suffix=SUFFIX append SUFFIX to installed program names
1378 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1381 --build=BUILD configure
for building on BUILD
[guessed
]
1382 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1383 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1387 if test -n "$ac_init_help"; then
1392 --disable-option-checking ignore unrecognized
--enable/--with options
1393 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1394 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1395 --enable-checkmem turn on ccmalloc debugging
1396 --enable-debug turn on debugging
1397 --enable-profiling turn on profiling
1398 --enable-warnings turn on compiler warnings
1399 --enable-optimizations turn on compiler optimizations
(recommended
for avi2swf
)
1400 --disable-lame don
't compile any L.A.M.E. mp3 encoding code in
1402 Some influential environment variables:
1403 CC C compiler command
1404 CFLAGS C compiler flags
1405 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1406 nonstandard directory <lib dir>
1407 LIBS libraries to pass to the linker, e.g. -l<library>
1408 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1409 you have headers in a nonstandard directory <include dir>
1410 CXX C++ compiler command
1411 CXXFLAGS C++ compiler flags
1414 Use these variables to override the choices made by `configure' or to
help
1415 it to
find libraries and programs with nonstandard names
/locations.
1421 if test "$ac_init_help" = "recursive"; then
1422 # If there are subdirs, report their specific --help.
1423 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1424 test -d "$ac_dir" ||
1425 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1430 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1432 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1433 # A ".." for each directory in $ac_dir_suffix.
1434 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1435 case $ac_top_builddir_sub in
1436 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1437 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1440 ac_abs_top_builddir
=$ac_pwd
1441 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1442 # for backward compatibility:
1443 ac_top_builddir
=$ac_top_build_prefix
1446 .
) # We are building in place.
1448 ac_top_srcdir
=$ac_top_builddir_sub
1449 ac_abs_top_srcdir
=$ac_pwd ;;
1450 [\\/]* | ?
:[\\/]* ) # Absolute name.
1451 ac_srcdir
=$srcdir$ac_dir_suffix;
1452 ac_top_srcdir
=$srcdir
1453 ac_abs_top_srcdir
=$srcdir ;;
1455 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1456 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1457 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1459 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1461 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1462 # Check for guested configure.
1463 if test -f "$ac_srcdir/configure.gnu"; then
1465 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1466 elif test -f "$ac_srcdir/configure"; then
1468 $SHELL "$ac_srcdir/configure" --help=recursive
1470 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1472 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1476 test -n "$ac_init_help" && exit $ac_status
1477 if $ac_init_version; then
1480 generated by GNU Autoconf
2.63
1482 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1483 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation
, Inc.
1484 This configure
script is free software
; the Free Software Foundation
1485 gives unlimited permission to copy
, distribute and modify it.
1489 cat >config.log
<<_ACEOF
1490 This file contains any messages produced by compilers while
1491 running configure, to aid debugging if configure makes a mistake.
1493 It was created by $as_me, which was
1494 generated by GNU Autoconf 2.63. Invocation command line was
1506 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1507 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1508 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1509 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1510 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1512 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1513 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1515 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1516 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1517 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1518 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1519 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1520 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1521 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1529 test -z "$as_dir" && as_dir
=.
1530 $as_echo "PATH: $as_dir"
1546 # Keep a trace of the command line.
1547 # Strip out --no-create and --no-recursion so they do not pile up.
1548 # Strip out --silent because we don't want to record it for future runs.
1549 # Also quote any args containing shell meta-characters.
1550 # Make two passes to allow for proper duplicate-argument suppression.
1554 ac_must_keep_next
=false
1560 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1561 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1562 |
-silent |
--silent |
--silen |
--sile |
--sil)
1565 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1568 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1570 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1571 if test $ac_must_keep_next = true
; then
1572 ac_must_keep_next
=false
# Got value, back to normal.
1575 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1576 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1577 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1578 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1579 case "$ac_configure_args0 " in
1580 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1583 -* ) ac_must_keep_next
=true
;;
1586 ac_configure_args
="$ac_configure_args '$ac_arg'"
1591 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1592 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1594 # When interrupted or exit'd, cleanup temporary files, and complete
1595 # config.log. We remove comments because anyway the quotes in there
1596 # would cause problems or look ugly.
1597 # WARNING: Use '\'' to represent an apostrophe within the trap.
1598 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1599 trap 'exit_status=$?
1600 # Save into config.log some information that might help in debugging.
1605 ## ---------------- ##
1606 ## Cache variables. ##
1607 ## ---------------- ##
1610 # The following way of writing the cache mishandles newlines in values,
1612 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1613 eval ac_val=\$$ac_var
1617 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1618 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1621 _ | IFS | as_nl) ;; #(
1622 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1623 *) $as_unset $ac_var ;;
1628 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1629 *${as_nl}ac_space=\ *)
1631 "s/'\''/'\''\\\\'\'''\''/g;
1632 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1635 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1643 ## ----------------- ##
1644 ## Output variables. ##
1645 ## ----------------- ##
1648 for ac_var in $ac_subst_vars
1650 eval ac_val=\$$ac_var
1652 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1654 $as_echo "$ac_var='\''$ac_val'\''"
1658 if test -n "$ac_subst_files"; then
1660 ## ------------------- ##
1661 ## File substitutions. ##
1662 ## ------------------- ##
1665 for ac_var
in $ac_subst_files
1667 eval ac_val
=\$
$ac_var
1669 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1671 $as_echo "$ac_var='\''$ac_val'\''"
1676 if test -s confdefs.h; then
1686 test "$ac_signal" != 0 &&
1687 $as_echo "$as_me: caught signal $ac_signal"
1688 $as_echo "$as_me: exit $exit_status"
1690 rm -f core *.core core.conftest.* &&
1691 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1694 for ac_signal
in 1 2 13 15; do
1695 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1699 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1700 rm -f -r conftest
* confdefs.h
1702 # Predefined preprocessor variables.
1704 cat >>confdefs.h
<<_ACEOF
1705 #define PACKAGE_NAME "$PACKAGE_NAME"
1709 cat >>confdefs.h
<<_ACEOF
1710 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1714 cat >>confdefs.h
<<_ACEOF
1715 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1719 cat >>confdefs.h
<<_ACEOF
1720 #define PACKAGE_STRING "$PACKAGE_STRING"
1724 cat >>confdefs.h
<<_ACEOF
1725 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1729 # Let the site file select an alternate cache file if it wants to.
1730 # Prefer an explicitly selected file to automatically selected ones.
1733 if test -n "$CONFIG_SITE"; then
1734 ac_site_file1
=$CONFIG_SITE
1735 elif test "x$prefix" != xNONE
; then
1736 ac_site_file1
=$prefix/share
/config.site
1737 ac_site_file2
=$prefix/etc
/config.site
1739 ac_site_file1
=$ac_default_prefix/share
/config.site
1740 ac_site_file2
=$ac_default_prefix/etc
/config.site
1742 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1744 test "x$ac_site_file" = xNONE
&& continue
1745 if test -r "$ac_site_file"; then
1746 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1747 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1748 sed 's/^/| /' "$ac_site_file" >&5
1753 if test -r "$cache_file"; then
1754 # Some versions of bash will fail to source /dev/null (special
1755 # files actually), so we avoid doing that.
1756 if test -f "$cache_file"; then
1757 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1758 $as_echo "$as_me: loading cache $cache_file" >&6;}
1760 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1761 *) .
"./$cache_file";;
1765 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1766 $as_echo "$as_me: creating cache $cache_file" >&6;}
1770 # Check that the precious variables saved in the cache have kept the same
1772 ac_cache_corrupted
=false
1773 for ac_var
in $ac_precious_vars; do
1774 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1775 eval ac_new_set
=\
$ac_env_${ac_var}_set
1776 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1777 eval ac_new_val
=\
$ac_env_${ac_var}_value
1778 case $ac_old_set,$ac_new_set in
1780 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1781 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1782 ac_cache_corrupted
=: ;;
1784 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1785 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1786 ac_cache_corrupted
=: ;;
1789 if test "x$ac_old_val" != "x$ac_new_val"; then
1790 # differences in whitespace do not lead to failure.
1791 ac_old_val_w
=`echo x $ac_old_val`
1792 ac_new_val_w
=`echo x $ac_new_val`
1793 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1794 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1795 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1796 ac_cache_corrupted
=:
1798 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1799 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1800 eval $ac_var=\
$ac_old_val
1802 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1803 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1804 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1805 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1808 # Pass precious variables to config.status.
1809 if test "$ac_new_set" = set; then
1811 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1812 *) ac_arg
=$ac_var=$ac_new_val ;;
1814 case " $ac_configure_args " in
1815 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1816 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1820 if $ac_cache_corrupted; then
1821 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1822 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1823 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1824 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1825 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1826 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1827 { (exit 1); exit 1; }; }
1847 ac_cpp
='$CPP $CPPFLAGS'
1848 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1849 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1850 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1855 # ------------------- option parsing -------------------------------
1864 # Check whether --enable-checkmem was given.
1865 if test "${enable_checkmem+set}" = set; then
1866 enableval
=$enable_checkmem; CHECKMEM
=true
1869 # Check whether --enable-debug was given.
1870 if test "${enable_debug+set}" = set; then
1871 enableval
=$enable_debug; DEBUG
=true
1874 # Check whether --enable-profiling was given.
1875 if test "${enable_profiling+set}" = set; then
1876 enableval
=$enable_profiling; PROFILING
=true
1879 # Check whether --enable-warnings was given.
1880 if test "${enable_warnings+set}" = set; then
1881 enableval
=$enable_warnings; ENABLE_WARNINGS
=true
1884 # Check whether --enable-optimizations was given.
1885 if test "${enable_optimizations+set}" = set; then
1886 enableval
=$enable_optimizations; OPTIMIZE
=true
1889 # Check whether --enable-lame was given.
1890 if test "${enable_lame+set}" = set; then
1891 enableval
=$enable_lame; if test "x$enable_lame" = "xno";then
1900 VERSION
=2010-02-06-1900
1902 # ------------------------------------------------------------------
1904 if test "x${srcdir}" != "x."; then
1905 echo "--srcdir is not supported"
1909 WARNINGS
="-Wimplicit -Wreturn-type -Wno-write-strings -Wformat"
1910 if test "x$ENABLE_WARNINGS" '!=' "x";then
1911 WARNINGS
="-Wall -Wno-unused -Wno-format -Wno-redundant-decls -Wno-write-strings -D_FORTIFY_SOURCE=2 "
1914 if test "x$CHECKMEM" '!=' "x";then
1917 if test "x$PROFILING" '!=' "x";then
1920 if test "x$DEBUG" '!=' "x";then
1921 if test "x$PROFILING" = "x";then
1922 CFLAGS
="$WARNINGS -O2 -g $CFLAGS"
1923 CXXFLAGS
="$WARNINGS -O2 -g $CXXFLAGS"
1924 LDFLAGS
="-g $LDFLAGS"
1926 CFLAGS
="$WARNINGS -O2 -g -pg $CFLAGS"
1927 CXXFLAGS
="$WARNINGS -O2 -g -pg $CXXFLAGS"
1928 LDFLAGS
="-g -pg $LDFLAGS"
1930 else if test "x$OPTIMIZE" '!=' "x"; then
1931 CFLAGS
="$WARNINGS -O3 -fomit-frame-pointer -Winline $CFLAGS"
1932 CXXFLAGS
="$WARNINGS -O3 -fomit-frame-pointer -Winline $CXXFLAGS"
1934 CFLAGS
="$WARNINGS -O -fomit-frame-pointer $CFLAGS"
1935 CXXFLAGS
="$WARNINGS -O -fomit-frame-pointer $CXXFLAGS"
1939 CFLAGS
="-fPIC $CFLAGS"
1940 CXXFLAGS
="-fPIC $CFLAGS"
1943 #if test "x$OLDGCC" '!=' "x";then
1944 # #CFLAGS="$CFLAGS --std=c89 -ansi -pendantic"
1945 # #CXXFLAGS="$CXXFLAGS --std=c89 -ansi -pendantic"
1946 # CFLAGS="$CFLAGS -ansi -pendantic"
1947 # CXXFLAGS="$CXXFLAGS -ansi -pendantic"
1950 export PACKAGE VERSION CFLAGS CXXFLAGS
1954 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1955 if test -f "$ac_dir/install-sh"; then
1957 ac_install_sh
="$ac_aux_dir/install-sh -c"
1959 elif test -f "$ac_dir/install.sh"; then
1961 ac_install_sh
="$ac_aux_dir/install.sh -c"
1963 elif test -f "$ac_dir/shtool"; then
1965 ac_install_sh
="$ac_aux_dir/shtool install -c"
1969 if test -z "$ac_aux_dir"; then
1970 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1971 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1972 { (exit 1); exit 1; }; }
1975 # These three variables are undocumented and unsupported,
1976 # and are intended to be withdrawn in a future Autoconf release.
1977 # They can cause serious problems if a builder's source tree is in a directory
1978 # whose full name contains unusual characters.
1979 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1980 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1981 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1984 # Make sure we can run config.sub.
1985 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
1986 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1987 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1988 { (exit 1); exit 1; }; }
1990 { $as_echo "$as_me:$LINENO: checking build system type" >&5
1991 $as_echo_n "checking build system type... " >&6; }
1992 if test "${ac_cv_build+set}" = set; then
1993 $as_echo_n "(cached) " >&6
1995 ac_build_alias
=$build_alias
1996 test "x$ac_build_alias" = x
&&
1997 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
1998 test "x$ac_build_alias" = x
&&
1999 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2000 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2001 { (exit 1); exit 1; }; }
2002 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2003 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2004 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2005 { (exit 1); exit 1; }; }
2008 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2009 $as_echo "$ac_cv_build" >&6; }
2010 case $ac_cv_build in
2012 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2013 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2014 { (exit 1); exit 1; }; };;
2017 ac_save_IFS
=$IFS; IFS
='-'
2023 # Remember, the first character of IFS is used to create $*,
2024 # except with old shells:
2027 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2030 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2031 $as_echo_n "checking host system type... " >&6; }
2032 if test "${ac_cv_host+set}" = set; then
2033 $as_echo_n "(cached) " >&6
2035 if test "x$host_alias" = x
; then
2036 ac_cv_host
=$ac_cv_build
2038 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2039 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2040 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2041 { (exit 1); exit 1; }; }
2045 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2046 $as_echo "$ac_cv_host" >&6; }
2049 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2050 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2051 { (exit 1); exit 1; }; };;
2054 ac_save_IFS
=$IFS; IFS
='-'
2060 # Remember, the first character of IFS is used to create $*,
2061 # except with old shells:
2064 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2074 CXXFLAGS
="$CXXFLAGS -fno-rtti"
2076 if test -d /opt
/local
/include
&& test -d /opt
/local
/lib
; then
2077 CPPFLAGS
="${CPPFLAGS} -I/opt/local/include"
2078 LDFLAGS
="${LDFLAGS} -L/opt/local/lib"
2080 # Use fink packages if available.
2081 #if test -d /sw/include && test -d /sw/lib; then
2082 # CPPFLAGS="${CPPFLAGS} -I/sw/include"
2083 # LDFLAGS="${LDFLAGS} -L/sw/lib"
2091 ac_cpp
='$CPP $CPPFLAGS'
2092 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2093 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2094 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2095 if test -n "$ac_tool_prefix"; then
2096 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2097 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2098 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2099 $as_echo_n "checking for $ac_word... " >&6; }
2100 if test "${ac_cv_prog_CC+set}" = set; then
2101 $as_echo_n "(cached) " >&6
2103 if test -n "$CC"; then
2104 ac_cv_prog_CC
="$CC" # Let the user override the test.
2106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2110 test -z "$as_dir" && as_dir
=.
2111 for ac_exec_ext
in '' $ac_executable_extensions; do
2112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2113 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2114 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2124 if test -n "$CC"; then
2125 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2126 $as_echo "$CC" >&6; }
2128 { $as_echo "$as_me:$LINENO: result: no" >&5
2129 $as_echo "no" >&6; }
2134 if test -z "$ac_cv_prog_CC"; then
2136 # Extract the first word of "gcc", so it can be a program name with args.
2137 set dummy gcc
; ac_word
=$2
2138 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2139 $as_echo_n "checking for $ac_word... " >&6; }
2140 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2141 $as_echo_n "(cached) " >&6
2143 if test -n "$ac_ct_CC"; then
2144 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2146 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2150 test -z "$as_dir" && as_dir
=.
2151 for ac_exec_ext
in '' $ac_executable_extensions; do
2152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2153 ac_cv_prog_ac_ct_CC
="gcc"
2154 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2163 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2164 if test -n "$ac_ct_CC"; then
2165 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2166 $as_echo "$ac_ct_CC" >&6; }
2168 { $as_echo "$as_me:$LINENO: result: no" >&5
2169 $as_echo "no" >&6; }
2172 if test "x$ac_ct_CC" = x
; then
2175 case $cross_compiling:$ac_tool_warned in
2177 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2178 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2179 ac_tool_warned
=yes ;;
2187 if test -z "$CC"; then
2188 if test -n "$ac_tool_prefix"; then
2189 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2190 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2191 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2192 $as_echo_n "checking for $ac_word... " >&6; }
2193 if test "${ac_cv_prog_CC+set}" = set; then
2194 $as_echo_n "(cached) " >&6
2196 if test -n "$CC"; then
2197 ac_cv_prog_CC
="$CC" # Let the user override the test.
2199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2203 test -z "$as_dir" && as_dir
=.
2204 for ac_exec_ext
in '' $ac_executable_extensions; do
2205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2206 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2207 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2217 if test -n "$CC"; then
2218 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2219 $as_echo "$CC" >&6; }
2221 { $as_echo "$as_me:$LINENO: result: no" >&5
2222 $as_echo "no" >&6; }
2228 if test -z "$CC"; then
2229 # Extract the first word of "cc", so it can be a program name with args.
2230 set dummy cc
; ac_word
=$2
2231 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2232 $as_echo_n "checking for $ac_word... " >&6; }
2233 if test "${ac_cv_prog_CC+set}" = set; then
2234 $as_echo_n "(cached) " >&6
2236 if test -n "$CC"; then
2237 ac_cv_prog_CC
="$CC" # Let the user override the test.
2240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2244 test -z "$as_dir" && as_dir
=.
2245 for ac_exec_ext
in '' $ac_executable_extensions; do
2246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2247 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2248 ac_prog_rejected
=yes
2252 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2259 if test $ac_prog_rejected = yes; then
2260 # We found a bogon in the path, so make sure we never use it.
2261 set dummy
$ac_cv_prog_CC
2263 if test $# != 0; then
2264 # We chose a different compiler from the bogus one.
2265 # However, it has the same basename, so the bogon will be chosen
2266 # first if we set CC to just the basename; use the full file name.
2268 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2274 if test -n "$CC"; then
2275 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2276 $as_echo "$CC" >&6; }
2278 { $as_echo "$as_me:$LINENO: result: no" >&5
2279 $as_echo "no" >&6; }
2284 if test -z "$CC"; then
2285 if test -n "$ac_tool_prefix"; then
2286 for ac_prog
in cl.exe
2288 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2289 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2290 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2291 $as_echo_n "checking for $ac_word... " >&6; }
2292 if test "${ac_cv_prog_CC+set}" = set; then
2293 $as_echo_n "(cached) " >&6
2295 if test -n "$CC"; then
2296 ac_cv_prog_CC
="$CC" # Let the user override the test.
2298 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2302 test -z "$as_dir" && as_dir
=.
2303 for ac_exec_ext
in '' $ac_executable_extensions; do
2304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2305 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2306 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2316 if test -n "$CC"; then
2317 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2318 $as_echo "$CC" >&6; }
2320 { $as_echo "$as_me:$LINENO: result: no" >&5
2321 $as_echo "no" >&6; }
2325 test -n "$CC" && break
2328 if test -z "$CC"; then
2330 for ac_prog
in cl.exe
2332 # Extract the first word of "$ac_prog", so it can be a program name with args.
2333 set dummy
$ac_prog; ac_word
=$2
2334 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2335 $as_echo_n "checking for $ac_word... " >&6; }
2336 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2337 $as_echo_n "(cached) " >&6
2339 if test -n "$ac_ct_CC"; then
2340 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2346 test -z "$as_dir" && as_dir
=.
2347 for ac_exec_ext
in '' $ac_executable_extensions; do
2348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2349 ac_cv_prog_ac_ct_CC
="$ac_prog"
2350 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2359 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2360 if test -n "$ac_ct_CC"; then
2361 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2362 $as_echo "$ac_ct_CC" >&6; }
2364 { $as_echo "$as_me:$LINENO: result: no" >&5
2365 $as_echo "no" >&6; }
2369 test -n "$ac_ct_CC" && break
2372 if test "x$ac_ct_CC" = x
; then
2375 case $cross_compiling:$ac_tool_warned in
2377 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2378 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2379 ac_tool_warned
=yes ;;
2388 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2389 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2390 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2391 See \`config.log' for more details." >&5
2392 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2393 See \`config.log' for more details." >&2;}
2394 { (exit 1); exit 1; }; }; }
2396 # Provide some information about the compiler.
2397 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2400 { (ac_try
="$ac_compiler --version >&5"
2402 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2403 *) ac_try_echo=$ac_try;;
2405 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2406 $as_echo "$ac_try_echo") >&5
2407 (eval "$ac_compiler --version >&5") 2>&5
2409 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2410 (exit $ac_status); }
2411 { (ac_try="$ac_compiler -v >&5"
2413 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2414 *) ac_try_echo
=$ac_try;;
2416 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2417 $as_echo "$ac_try_echo") >&5
2418 (eval "$ac_compiler -v >&5") 2>&5
2420 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2421 (exit $ac_status); }
2422 { (ac_try
="$ac_compiler -V >&5"
2424 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2425 *) ac_try_echo=$ac_try;;
2427 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2428 $as_echo "$ac_try_echo") >&5
2429 (eval "$ac_compiler -V >&5") 2>&5
2431 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2432 (exit $ac_status); }
2434 cat >conftest.$ac_ext <<_ACEOF
2437 cat confdefs.h >>conftest.$ac_ext
2438 cat >>conftest.$ac_ext <<_ACEOF
2439 /* end confdefs.h. */
2449 ac_clean_files_save=$ac_clean_files
2450 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2451 # Try to create an executable without -o first, disregard a.out.
2452 # It will help us diagnose broken compilers, and finding out an intuition
2454 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2455 $as_echo_n "checking for C compiler default output file name... " >&6; }
2456 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2458 # The possible output files:
2459 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2462 for ac_file in $ac_files
2465 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2466 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2471 if { (ac_try="$ac_link_default"
2473 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2474 *) ac_try_echo
=$ac_try;;
2476 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2477 $as_echo "$ac_try_echo") >&5
2478 (eval "$ac_link_default") 2>&5
2480 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2481 (exit $ac_status); }; then
2482 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2483 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2484 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2485 # so that the user can short-circuit this test for compilers unknown to
2487 for ac_file
in $ac_files ''
2489 test -f "$ac_file" ||
continue
2491 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2494 # We found the default executable, but exeext='' is most
2498 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2500 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2502 # We set ac_cv_exeext here because the later test for it is not
2503 # safe: cross compilers may not add the suffix if given an `-o'
2504 # argument, so we may need to know it at that point already.
2505 # Even if this section looks crufty: it has the advantage of
2512 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2518 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2519 $as_echo "$ac_file" >&6; }
2520 if test -z "$ac_file"; then
2521 $as_echo "$as_me: failed program was:" >&5
2522 sed 's/^/| /' conftest.
$ac_ext >&5
2524 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2525 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2526 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2527 See \`config.log' for more details." >&5
2528 $as_echo "$as_me: error: C compiler cannot create executables
2529 See \`config.log' for more details." >&2;}
2530 { (exit 77); exit 77; }; }; }
2533 ac_exeext
=$ac_cv_exeext
2535 # Check that the compiler produces executables we can run. If not, either
2536 # the compiler is broken, or we cross compile.
2537 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2538 $as_echo_n "checking whether the C compiler works... " >&6; }
2539 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2540 # If not cross compiling, check that we can run a simple program.
2541 if test "$cross_compiling" != yes; then
2542 if { ac_try
='./$ac_file'
2543 { (case "(($ac_try" in
2544 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2545 *) ac_try_echo=$ac_try;;
2547 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2548 $as_echo "$ac_try_echo") >&5
2549 (eval "$ac_try") 2>&5
2551 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2552 (exit $ac_status); }; }; then
2555 if test "$cross_compiling" = maybe; then
2558 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2559 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2560 { { $as_echo "$as_me:$LINENO: error
: cannot run C compiled programs.
2561 If you meant to cross compile
, use \
`--host'.
2562 See \`config.log
' for more details." >&5
2563 $as_echo "$as_me: error: cannot run C compiled programs.
2564 If you meant to cross compile, use \`--host'.
2565 See \
`config.log' for more details." >&2;}
2566 { (exit 1); exit 1; }; }; }
2570 { $as_echo "$as_me:$LINENO: result: yes" >&5
2571 $as_echo "yes" >&6; }
2573 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2574 ac_clean_files=$ac_clean_files_save
2575 # Check that the compiler produces executables we can run. If not, either
2576 # the compiler is broken, or we cross compile.
2577 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2578 $as_echo_n "checking whether we are cross compiling... " >&6; }
2579 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2580 $as_echo "$cross_compiling" >&6; }
2582 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2583 $as_echo_n "checking for suffix of executables... " >&6; }
2584 if { (ac_try="$ac_link"
2586 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2587 *) ac_try_echo
=$ac_try;;
2589 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2590 $as_echo "$ac_try_echo") >&5
2591 (eval "$ac_link") 2>&5
2593 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2594 (exit $ac_status); }; then
2595 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2596 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2597 # work properly (i.e., refer to `conftest.exe'), while it won't with
2599 for ac_file
in conftest.exe conftest conftest.
*; do
2600 test -f "$ac_file" ||
continue
2602 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2603 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2609 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2610 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2611 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2612 See \`config.log' for more details." >&5
2613 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2614 See \`config.log' for more details." >&2;}
2615 { (exit 1); exit 1; }; }; }
2618 rm -f conftest
$ac_cv_exeext
2619 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2620 $as_echo "$ac_cv_exeext" >&6; }
2622 rm -f conftest.
$ac_ext
2623 EXEEXT
=$ac_cv_exeext
2625 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2626 $as_echo_n "checking for suffix of object files... " >&6; }
2627 if test "${ac_cv_objext+set}" = set; then
2628 $as_echo_n "(cached) " >&6
2630 cat >conftest.
$ac_ext <<_ACEOF
2633 cat confdefs.h
>>conftest.
$ac_ext
2634 cat >>conftest.
$ac_ext <<_ACEOF
2635 /* end confdefs.h. */
2645 rm -f conftest.o conftest.obj
2646 if { (ac_try
="$ac_compile"
2648 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2649 *) ac_try_echo=$ac_try;;
2651 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2652 $as_echo "$ac_try_echo") >&5
2653 (eval "$ac_compile") 2>&5
2655 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2656 (exit $ac_status); }; then
2657 for ac_file in conftest.o conftest.obj conftest.*; do
2658 test -f "$ac_file" || continue;
2660 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2661 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2666 $as_echo "$as_me: failed program was:" >&5
2667 sed 's/^/| /' conftest.$ac_ext >&5
2669 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2670 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2671 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of object files
: cannot compile
2672 See \
`config.log' for more details." >&5
2673 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2674 See \`config.log
' for more details." >&2;}
2675 { (exit 1); exit 1; }; }; }
2678 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2680 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2681 $as_echo "$ac_cv_objext" >&6; }
2682 OBJEXT=$ac_cv_objext
2684 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2685 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2686 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2687 $as_echo_n "(cached) " >&6
2689 cat >conftest.$ac_ext <<_ACEOF
2692 cat confdefs.h >>conftest.$ac_ext
2693 cat >>conftest.$ac_ext <<_ACEOF
2694 /* end confdefs.h. */
2707 rm -f conftest.$ac_objext
2708 if { (ac_try="$ac_compile"
2710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2711 *) ac_try_echo=$ac_try;;
2713 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2714 $as_echo "$ac_try_echo") >&5
2715 (eval "$ac_compile") 2>conftest.er1
2717 grep -v '^
*+' conftest.er1 >conftest.err
2719 cat conftest.err >&5
2720 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2721 (exit $ac_status); } && {
2722 test -z "$ac_c_werror_flag" ||
2723 test ! -s conftest.err
2724 } && test -s conftest.$ac_objext; then
2727 $as_echo "$as_me: failed program was:" >&5
2728 sed 's
/^
/|
/' conftest.$ac_ext >&5
2733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2734 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2737 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2738 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2739 if test $ac_compiler_gnu = yes; then
2744 ac_test_CFLAGS=${CFLAGS+set}
2745 ac_save_CFLAGS=$CFLAGS
2746 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2747 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2748 if test "${ac_cv_prog_cc_g+set}" = set; then
2749 $as_echo_n "(cached) " >&6
2751 ac_save_c_werror_flag=$ac_c_werror_flag
2752 ac_c_werror_flag=yes
2755 cat >conftest.$ac_ext <<_ACEOF
2758 cat confdefs.h >>conftest.$ac_ext
2759 cat >>conftest.$ac_ext <<_ACEOF
2760 /* end confdefs.h. */
2770 rm -f conftest.$ac_objext
2771 if { (ac_try="$ac_compile"
2773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2774 *) ac_try_echo=$ac_try;;
2776 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2777 $as_echo "$ac_try_echo") >&5
2778 (eval "$ac_compile") 2>conftest.er1
2780 grep -v '^
*+' conftest.er1 >conftest.err
2782 cat conftest.err >&5
2783 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2784 (exit $ac_status); } && {
2785 test -z "$ac_c_werror_flag" ||
2786 test ! -s conftest.err
2787 } && test -s conftest.$ac_objext; then
2790 $as_echo "$as_me: failed program was:" >&5
2791 sed 's
/^
/|
/' conftest.$ac_ext >&5
2794 cat >conftest.$ac_ext <<_ACEOF
2797 cat confdefs.h >>conftest.$ac_ext
2798 cat >>conftest.$ac_ext <<_ACEOF
2799 /* end confdefs.h. */
2809 rm -f conftest.$ac_objext
2810 if { (ac_try="$ac_compile"
2812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2813 *) ac_try_echo=$ac_try;;
2815 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2816 $as_echo "$ac_try_echo") >&5
2817 (eval "$ac_compile") 2>conftest.er1
2819 grep -v '^
*+' conftest.er1 >conftest.err
2821 cat conftest.err >&5
2822 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2823 (exit $ac_status); } && {
2824 test -z "$ac_c_werror_flag" ||
2825 test ! -s conftest.err
2826 } && test -s conftest.$ac_objext; then
2829 $as_echo "$as_me: failed program was:" >&5
2830 sed 's
/^
/|
/' conftest.$ac_ext >&5
2832 ac_c_werror_flag=$ac_save_c_werror_flag
2834 cat >conftest.$ac_ext <<_ACEOF
2837 cat confdefs.h >>conftest.$ac_ext
2838 cat >>conftest.$ac_ext <<_ACEOF
2839 /* end confdefs.h. */
2849 rm -f conftest.$ac_objext
2850 if { (ac_try="$ac_compile"
2852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2853 *) ac_try_echo=$ac_try;;
2855 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2856 $as_echo "$ac_try_echo") >&5
2857 (eval "$ac_compile") 2>conftest.er1
2859 grep -v '^
*+' conftest.er1 >conftest.err
2861 cat conftest.err >&5
2862 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2863 (exit $ac_status); } && {
2864 test -z "$ac_c_werror_flag" ||
2865 test ! -s conftest.err
2866 } && test -s conftest.$ac_objext; then
2869 $as_echo "$as_me: failed program was:" >&5
2870 sed 's
/^
/|
/' conftest.$ac_ext >&5
2875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2882 ac_c_werror_flag=$ac_save_c_werror_flag
2884 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2885 $as_echo "$ac_cv_prog_cc_g" >&6; }
2886 if test "$ac_test_CFLAGS" = set; then
2887 CFLAGS=$ac_save_CFLAGS
2888 elif test $ac_cv_prog_cc_g = yes; then
2889 if test "$GCC" = yes; then
2895 if test "$GCC" = yes; then
2901 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2902 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2903 if test "${ac_cv_prog_cc_c89+set}" = set; then
2904 $as_echo_n "(cached) " >&6
2906 ac_cv_prog_cc_c89=no
2908 cat >conftest.$ac_ext <<_ACEOF
2911 cat confdefs.h >>conftest.$ac_ext
2912 cat >>conftest.$ac_ext <<_ACEOF
2913 /* end confdefs.h. */
2916 #include <sys/types.h>
2917 #include <sys/stat.h>
2918 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
2919 struct buf
{ int x
; };
2920 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
2921 static char
*e
(p
, i
)
2927 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
2932 s
= g
(p
, va_arg
(v
,int
));
2937 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
2938 function prototypes and stuff
, but not
'\xHH' hex character constants.
2939 These don
't provoke an error unfortunately, instead are silently treated
2940 as 'x
'. The following induces an error, until -std is added to get
2941 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
2942 array size at least. It's necessary to
write '\x00'==0 to get something
2943 that
's true only with -std. */
2944 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2946 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2947 inside strings and character constants. */
2949 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
2951 int test (int i, double x);
2952 struct s1 {int (*f) (int a);};
2953 struct s2 {int (*f) (double a);};
2954 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2960 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2965 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2966 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2968 CC="$ac_save_CC $ac_arg"
2969 rm -f conftest.$ac_objext
2970 if { (ac_try="$ac_compile"
2972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2973 *) ac_try_echo=$ac_try;;
2975 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2976 $as_echo "$ac_try_echo") >&5
2977 (eval "$ac_compile") 2>conftest.er1
2979 grep -v '^
*+' conftest.er1 >conftest.err
2981 cat conftest.err >&5
2982 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2983 (exit $ac_status); } && {
2984 test -z "$ac_c_werror_flag" ||
2985 test ! -s conftest.err
2986 } && test -s conftest.$ac_objext; then
2987 ac_cv_prog_cc_c89=$ac_arg
2989 $as_echo "$as_me: failed program was:" >&5
2990 sed 's
/^
/|
/' conftest.$ac_ext >&5
2995 rm -f core conftest.err conftest.$ac_objext
2996 test "x$ac_cv_prog_cc_c89" != "xno" && break
2998 rm -f conftest.$ac_ext
3003 case "x$ac_cv_prog_cc_c89" in
3005 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3006 $as_echo "none needed" >&6; } ;;
3008 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3009 $as_echo "unsupported" >&6; } ;;
3011 CC="$CC $ac_cv_prog_cc_c89"
3012 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3013 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3018 ac_cpp='$CPP $CPPFLAGS'
3019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3020 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3024 ac_cpp='$CXXCPP $CPPFLAGS'
3025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3026 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3028 if test -z "$CXX"; then
3029 if test -n "$CCC"; then
3032 if test -n "$ac_tool_prefix"; then
3033 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3035 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3036 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3037 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3038 $as_echo_n "checking for $ac_word... " >&6; }
3039 if test "${ac_cv_prog_CXX+set}" = set; then
3040 $as_echo_n "(cached) " >&6
3042 if test -n "$CXX"; then
3043 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3049 test -z "$as_dir" && as_dir=.
3050 for ac_exec_ext in '' $ac_executable_extensions; do
3051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3052 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3053 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3063 if test -n "$CXX"; then
3064 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
3065 $as_echo "$CXX" >&6; }
3067 { $as_echo "$as_me:$LINENO: result: no" >&5
3068 $as_echo "no" >&6; }
3072 test -n "$CXX" && break
3075 if test -z "$CXX"; then
3077 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3079 # Extract the first word of "$ac_prog", so it can be a program name with args.
3080 set dummy $ac_prog; ac_word=$2
3081 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3082 $as_echo_n "checking for $ac_word... " >&6; }
3083 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3084 $as_echo_n "(cached) " >&6
3086 if test -n "$ac_ct_CXX"; then
3087 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3093 test -z "$as_dir" && as_dir=.
3094 for ac_exec_ext in '' $ac_executable_extensions; do
3095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3096 ac_cv_prog_ac_ct_CXX="$ac_prog"
3097 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3106 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3107 if test -n "$ac_ct_CXX"; then
3108 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3109 $as_echo "$ac_ct_CXX" >&6; }
3111 { $as_echo "$as_me:$LINENO: result: no" >&5
3112 $as_echo "no" >&6; }
3116 test -n "$ac_ct_CXX" && break
3119 if test "x$ac_ct_CXX" = x; then
3122 case $cross_compiling:$ac_tool_warned in
3124 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3125 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3126 ac_tool_warned=yes ;;
3134 # Provide some information about the compiler.
3135 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3138 { (ac_try="$ac_compiler --version >&5"
3140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3141 *) ac_try_echo=$ac_try;;
3143 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3144 $as_echo "$ac_try_echo") >&5
3145 (eval "$ac_compiler --version >&5") 2>&5
3147 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3148 (exit $ac_status); }
3149 { (ac_try="$ac_compiler -v >&5"
3151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3152 *) ac_try_echo=$ac_try;;
3154 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3155 $as_echo "$ac_try_echo") >&5
3156 (eval "$ac_compiler -v >&5") 2>&5
3158 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3159 (exit $ac_status); }
3160 { (ac_try="$ac_compiler -V >&5"
3162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3163 *) ac_try_echo=$ac_try;;
3165 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3166 $as_echo "$ac_try_echo") >&5
3167 (eval "$ac_compiler -V >&5") 2>&5
3169 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3170 (exit $ac_status); }
3172 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3173 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3174 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3175 $as_echo_n "(cached) " >&6
3177 cat >conftest.$ac_ext <<_ACEOF
3180 cat confdefs.h >>conftest.$ac_ext
3181 cat >>conftest.$ac_ext <<_ACEOF
3182 /* end confdefs.h. */
3195 rm -f conftest.$ac_objext
3196 if { (ac_try="$ac_compile"
3198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3199 *) ac_try_echo=$ac_try;;
3201 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3202 $as_echo "$ac_try_echo") >&5
3203 (eval "$ac_compile") 2>conftest.er1
3205 grep -v '^
*+' conftest.er1 >conftest.err
3207 cat conftest.err >&5
3208 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3209 (exit $ac_status); } && {
3210 test -z "$ac_cxx_werror_flag" ||
3211 test ! -s conftest.err
3212 } && test -s conftest.$ac_objext; then
3215 $as_echo "$as_me: failed program was:" >&5
3216 sed 's
/^
/|
/' conftest.$ac_ext >&5
3221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3222 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3225 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3226 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3227 if test $ac_compiler_gnu = yes; then
3232 ac_test_CXXFLAGS=${CXXFLAGS+set}
3233 ac_save_CXXFLAGS=$CXXFLAGS
3234 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3235 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3236 if test "${ac_cv_prog_cxx_g+set}" = set; then
3237 $as_echo_n "(cached) " >&6
3239 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3240 ac_cxx_werror_flag=yes
3243 cat >conftest.$ac_ext <<_ACEOF
3246 cat confdefs.h >>conftest.$ac_ext
3247 cat >>conftest.$ac_ext <<_ACEOF
3248 /* end confdefs.h. */
3258 rm -f conftest.$ac_objext
3259 if { (ac_try="$ac_compile"
3261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3262 *) ac_try_echo=$ac_try;;
3264 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3265 $as_echo "$ac_try_echo") >&5
3266 (eval "$ac_compile") 2>conftest.er1
3268 grep -v '^
*+' conftest.er1 >conftest.err
3270 cat conftest.err >&5
3271 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3272 (exit $ac_status); } && {
3273 test -z "$ac_cxx_werror_flag" ||
3274 test ! -s conftest.err
3275 } && test -s conftest.$ac_objext; then
3276 ac_cv_prog_cxx_g=yes
3278 $as_echo "$as_me: failed program was:" >&5
3279 sed 's
/^
/|
/' conftest.$ac_ext >&5
3282 cat >conftest.$ac_ext <<_ACEOF
3285 cat confdefs.h >>conftest.$ac_ext
3286 cat >>conftest.$ac_ext <<_ACEOF
3287 /* end confdefs.h. */
3297 rm -f conftest.$ac_objext
3298 if { (ac_try="$ac_compile"
3300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3301 *) ac_try_echo=$ac_try;;
3303 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3304 $as_echo "$ac_try_echo") >&5
3305 (eval "$ac_compile") 2>conftest.er1
3307 grep -v '^
*+' conftest.er1 >conftest.err
3309 cat conftest.err >&5
3310 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3311 (exit $ac_status); } && {
3312 test -z "$ac_cxx_werror_flag" ||
3313 test ! -s conftest.err
3314 } && test -s conftest.$ac_objext; then
3317 $as_echo "$as_me: failed program was:" >&5
3318 sed 's
/^
/|
/' conftest.$ac_ext >&5
3320 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3322 cat >conftest.$ac_ext <<_ACEOF
3325 cat confdefs.h >>conftest.$ac_ext
3326 cat >>conftest.$ac_ext <<_ACEOF
3327 /* end confdefs.h. */
3337 rm -f conftest.$ac_objext
3338 if { (ac_try="$ac_compile"
3340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3341 *) ac_try_echo=$ac_try;;
3343 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3344 $as_echo "$ac_try_echo") >&5
3345 (eval "$ac_compile") 2>conftest.er1
3347 grep -v '^
*+' conftest.er1 >conftest.err
3349 cat conftest.err >&5
3350 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3351 (exit $ac_status); } && {
3352 test -z "$ac_cxx_werror_flag" ||
3353 test ! -s conftest.err
3354 } && test -s conftest.$ac_objext; then
3355 ac_cv_prog_cxx_g=yes
3357 $as_echo "$as_me: failed program was:" >&5
3358 sed 's
/^
/|
/' conftest.$ac_ext >&5
3363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3370 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3372 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3373 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3374 if test "$ac_test_CXXFLAGS" = set; then
3375 CXXFLAGS=$ac_save_CXXFLAGS
3376 elif test $ac_cv_prog_cxx_g = yes; then
3377 if test "$GXX" = yes; then
3383 if test "$GXX" = yes; then
3390 ac_cpp='$CPP $CPPFLAGS'
3391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3392 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3398 { $as_echo "$as_me:$LINENO: checking whether gcc supports lazy variable declaration" >&5
3399 $as_echo_n "checking whether gcc supports lazy variable declaration... " >&6; }
3401 cat > conftest.c << EOF
3405 int main (int argc, char*argv)
3415 testprog_link='$CC $CPPFLAGS $CFLAGS conftest.c
-o conftest
${ac_exeext}'
3416 if { (eval echo gcc.2.95.m4:19: \"$testprog_link\") 1>&5; (eval $testprog_link) 2>&5; } && test -s conftest${ac_exeext}; then
3417 { $as_echo "$as_me:$LINENO: result: yes" >&5
3418 $as_echo "yes" >&6; }
3422 echo "configure: failed program was:" >&5
3424 { $as_echo "$as_me:$LINENO: result: no" >&5
3425 $as_echo "no" >&6; }
3430 if test "x$GCC_IS_OK" '=' "x";then
3431 echo "***************************************************"
3432 echo "* Your gcc is too old to compile this!"
3434 echo "* The last version compileable by this compiler is "
3435 echo "* swftools 0.7.0, which you can download from "
3436 echo "* http://www.swftools.org/swftools-0.7.0.tar.gz "
3438 echo "* Newer versions require at least gcc 3.0.0 "
3439 echo "***************************************************"
3443 if test "x$CHECKMEM" '!=' "x";then
3447 #unset ac_cv_prog_CC
3448 #unset ac_cv_prog_CXX
3453 ac_cpp='$CPP $CPPFLAGS'
3454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3455 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3457 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3458 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3459 # On Suns, sometimes $CPP names a directory.
3460 if test -n "$CPP" && test -d "$CPP"; then
3463 if test -z "$CPP"; then
3464 if test "${ac_cv_prog_CPP+set}" = set; then
3465 $as_echo_n "(cached) " >&6
3467 # Double quotes because CPP needs to be expanded
3468 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3471 for ac_c_preproc_warn_flag in '' yes
3473 # Use a header file that comes with gcc, so configuring glibc
3474 # with a fresh cross-compiler works.
3475 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3476 # <limits.h> exists even on freestanding compilers.
3477 # On the NeXT, cc -E runs the code through the compiler's parser
,
3478 # not just through cpp. "Syntax error" is here to catch this case.
3479 cat >conftest.
$ac_ext <<_ACEOF
3482 cat confdefs.h
>>conftest.
$ac_ext
3483 cat >>conftest.
$ac_ext <<_ACEOF
3484 /* end confdefs.h. */
3486 # include <limits.h>
3488 # include <assert.h>
3492 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3494 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3495 *) ac_try_echo=$ac_try;;
3497 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3498 $as_echo "$ac_try_echo") >&5
3499 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3501 grep -v '^ *+' conftest.er1 >conftest.err
3503 cat conftest.err >&5
3504 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3505 (exit $ac_status); } >/dev/null && {
3506 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3507 test ! -s conftest.err
3511 $as_echo "$as_me: failed program was:" >&5
3512 sed 's/^/| /' conftest.$ac_ext >&5
3514 # Broken: fails on valid input.
3518 rm -f conftest.err conftest.$ac_ext
3520 # OK, works on sane cases. Now check whether nonexistent headers
3521 # can be detected and how.
3522 cat >conftest.$ac_ext <<_ACEOF
3525 cat confdefs.h >>conftest.$ac_ext
3526 cat >>conftest.$ac_ext <<_ACEOF
3527 /* end confdefs.h. */
3528 #include <ac_nonexistent.h>
3530 if { (ac_try="$ac_cpp conftest.$ac_ext"
3532 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3533 *) ac_try_echo
=$ac_try;;
3535 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3536 $as_echo "$ac_try_echo") >&5
3537 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3539 grep -v '^ *+' conftest.er1
>conftest.err
3541 cat conftest.err
>&5
3542 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3543 (exit $ac_status); } >/dev
/null
&& {
3544 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3545 test ! -s conftest.err
3547 # Broken: success on invalid input.
3550 $as_echo "$as_me: failed program was:" >&5
3551 sed 's/^/| /' conftest.
$ac_ext >&5
3553 # Passes both tests.
3558 rm -f conftest.err conftest.
$ac_ext
3561 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3562 rm -f conftest.err conftest.
$ac_ext
3563 if $ac_preproc_ok; then
3575 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3576 $as_echo "$CPP" >&6; }
3578 for ac_c_preproc_warn_flag
in '' yes
3580 # Use a header file that comes with gcc, so configuring glibc
3581 # with a fresh cross-compiler works.
3582 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3583 # <limits.h> exists even on freestanding compilers.
3584 # On the NeXT, cc -E runs the code through the compiler's parser,
3585 # not just through cpp. "Syntax error" is here to catch this case.
3586 cat >conftest.
$ac_ext <<_ACEOF
3589 cat confdefs.h
>>conftest.
$ac_ext
3590 cat >>conftest.
$ac_ext <<_ACEOF
3591 /* end confdefs.h. */
3593 # include <limits.h>
3595 # include <assert.h>
3599 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3601 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3602 *) ac_try_echo=$ac_try;;
3604 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3605 $as_echo "$ac_try_echo") >&5
3606 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3608 grep -v '^ *+' conftest.er1 >conftest.err
3610 cat conftest.err >&5
3611 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3612 (exit $ac_status); } >/dev/null && {
3613 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3614 test ! -s conftest.err
3618 $as_echo "$as_me: failed program was:" >&5
3619 sed 's/^/| /' conftest.$ac_ext >&5
3621 # Broken: fails on valid input.
3625 rm -f conftest.err conftest.$ac_ext
3627 # OK, works on sane cases. Now check whether nonexistent headers
3628 # can be detected and how.
3629 cat >conftest.$ac_ext <<_ACEOF
3632 cat confdefs.h >>conftest.$ac_ext
3633 cat >>conftest.$ac_ext <<_ACEOF
3634 /* end confdefs.h. */
3635 #include <ac_nonexistent.h>
3637 if { (ac_try="$ac_cpp conftest.$ac_ext"
3639 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3640 *) ac_try_echo
=$ac_try;;
3642 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3643 $as_echo "$ac_try_echo") >&5
3644 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3646 grep -v '^ *+' conftest.er1
>conftest.err
3648 cat conftest.err
>&5
3649 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3650 (exit $ac_status); } >/dev
/null
&& {
3651 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3652 test ! -s conftest.err
3654 # Broken: success on invalid input.
3657 $as_echo "$as_me: failed program was:" >&5
3658 sed 's/^/| /' conftest.
$ac_ext >&5
3660 # Passes both tests.
3665 rm -f conftest.err conftest.
$ac_ext
3668 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3669 rm -f conftest.err conftest.
$ac_ext
3670 if $ac_preproc_ok; then
3673 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3674 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3675 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3676 See \`config.log' for more details." >&5
3677 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3678 See \`config.log' for more details." >&2;}
3679 { (exit 1); exit 1; }; }; }
3683 ac_cpp
='$CPP $CPPFLAGS'
3684 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3685 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3686 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3689 if test -n "$ac_tool_prefix"; then
3690 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3691 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3692 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3693 $as_echo_n "checking for $ac_word... " >&6; }
3694 if test "${ac_cv_prog_RANLIB+set}" = set; then
3695 $as_echo_n "(cached) " >&6
3697 if test -n "$RANLIB"; then
3698 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3704 test -z "$as_dir" && as_dir
=.
3705 for ac_exec_ext
in '' $ac_executable_extensions; do
3706 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3707 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3708 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3717 RANLIB
=$ac_cv_prog_RANLIB
3718 if test -n "$RANLIB"; then
3719 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
3720 $as_echo "$RANLIB" >&6; }
3722 { $as_echo "$as_me:$LINENO: result: no" >&5
3723 $as_echo "no" >&6; }
3728 if test -z "$ac_cv_prog_RANLIB"; then
3729 ac_ct_RANLIB
=$RANLIB
3730 # Extract the first word of "ranlib", so it can be a program name with args.
3731 set dummy ranlib
; ac_word
=$2
3732 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3733 $as_echo_n "checking for $ac_word... " >&6; }
3734 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3735 $as_echo_n "(cached) " >&6
3737 if test -n "$ac_ct_RANLIB"; then
3738 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3744 test -z "$as_dir" && as_dir
=.
3745 for ac_exec_ext
in '' $ac_executable_extensions; do
3746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3747 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3748 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3757 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3758 if test -n "$ac_ct_RANLIB"; then
3759 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3760 $as_echo "$ac_ct_RANLIB" >&6; }
3762 { $as_echo "$as_me:$LINENO: result: no" >&5
3763 $as_echo "no" >&6; }
3766 if test "x$ac_ct_RANLIB" = x
; then
3769 case $cross_compiling:$ac_tool_warned in
3771 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3772 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3773 ac_tool_warned
=yes ;;
3775 RANLIB
=$ac_ct_RANLIB
3778 RANLIB
="$ac_cv_prog_RANLIB"
3781 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3782 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3784 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3785 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3786 $as_echo_n "(cached) " >&6
3788 cat >conftest.
make <<\_ACEOF
3791 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3793 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3794 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3796 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3798 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3802 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3803 { $as_echo "$as_me:$LINENO: result: yes" >&5
3804 $as_echo "yes" >&6; }
3807 { $as_echo "$as_me:$LINENO: result: no" >&5
3808 $as_echo "no" >&6; }
3809 SET_MAKE
="MAKE=${MAKE-make}"
3812 # Find a good install program. We prefer a C program (faster),
3813 # so one script is as good as another. But avoid the broken or
3814 # incompatible versions:
3815 # SysV /etc/install, /usr/sbin/install
3816 # SunOS /usr/etc/install
3817 # IRIX /sbin/install
3819 # AmigaOS /C/install, which installs bootblocks on floppy discs
3820 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3821 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3822 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3823 # OS/2's system install, which has a completely different semantic
3824 # ./install, which can be erroneously created by make from ./install.sh.
3825 # Reject install programs that cannot install multiple files.
3826 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3827 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3828 if test -z "$INSTALL"; then
3829 if test "${ac_cv_path_install+set}" = set; then
3830 $as_echo_n "(cached) " >&6
3832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3836 test -z "$as_dir" && as_dir
=.
3837 # Account for people who put trailing slashes in PATH elements.
3839 .
/ | .
// |
/cC
/* | \
3840 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3841 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3844 # OSF1 and SCO ODT 3.0 have their own names for install.
3845 # Don't use installbsd from OSF since it installs stuff as root
3847 for ac_prog
in ginstall scoinst
install; do
3848 for ac_exec_ext
in '' $ac_executable_extensions; do
3849 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3850 if test $ac_prog = install &&
3851 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3852 # AIX install. It has an incompatible calling convention.
3854 elif test $ac_prog = install &&
3855 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3856 # program-specific install script used by HP pwplus--don't use.
3859 rm -rf conftest.one conftest.two conftest.dir
3860 echo one
> conftest.one
3861 echo two
> conftest.two
3863 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3864 test -s conftest.one
&& test -s conftest.two
&&
3865 test -s conftest.dir
/conftest.one
&&
3866 test -s conftest.dir
/conftest.two
3868 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3881 rm -rf conftest.one conftest.two conftest.dir
3884 if test "${ac_cv_path_install+set}" = set; then
3885 INSTALL
=$ac_cv_path_install
3887 # As a last resort, use the slow shell script. Don't cache a
3888 # value for INSTALL within a source directory, because that will
3889 # break other packages using the cache if that directory is
3890 # removed, or if the value is a relative name.
3891 INSTALL
=$ac_install_sh
3894 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3895 $as_echo "$INSTALL" >&6; }
3897 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3898 # It thinks the first close brace ends the variable substitution.
3899 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3901 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3903 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3905 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
3906 $as_echo_n "checking whether ln -s works... " >&6; }
3908 if test "$LN_S" = "ln -s"; then
3909 { $as_echo "$as_me:$LINENO: result: yes" >&5
3910 $as_echo "yes" >&6; }
3912 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3913 $as_echo "no, using $LN_S" >&6; }
3916 for ac_prog
in gzip uncompress compress
3918 # Extract the first word of "$ac_prog", so it can be a program name with args.
3919 set dummy
$ac_prog; ac_word
=$2
3920 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3921 $as_echo_n "checking for $ac_word... " >&6; }
3922 if test "${ac_cv_prog_UNCOMPRESS+set}" = set; then
3923 $as_echo_n "(cached) " >&6
3925 if test -n "$UNCOMPRESS"; then
3926 ac_cv_prog_UNCOMPRESS
="$UNCOMPRESS" # Let the user override the test.
3928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3932 test -z "$as_dir" && as_dir
=.
3933 for ac_exec_ext
in '' $ac_executable_extensions; do
3934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3935 ac_cv_prog_UNCOMPRESS
="$ac_prog"
3936 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3945 UNCOMPRESS
=$ac_cv_prog_UNCOMPRESS
3946 if test -n "$UNCOMPRESS"; then
3947 { $as_echo "$as_me:$LINENO: result: $UNCOMPRESS" >&5
3948 $as_echo "$UNCOMPRESS" >&6; }
3950 { $as_echo "$as_me:$LINENO: result: no" >&5
3951 $as_echo "no" >&6; }
3955 test -n "$UNCOMPRESS" && break
3966 if test "x$EXEEXT" = "x.exe";then
3975 { $as_echo "$as_me:$LINENO: checking host system type" >&5
3976 $as_echo_n "checking host system type... " >&6; }
3977 if test "${ac_cv_host+set}" = set; then
3978 $as_echo_n "(cached) " >&6
3980 if test "x$host_alias" = x
; then
3981 ac_cv_host
=$ac_cv_build
3983 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3984 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3985 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3986 { (exit 1); exit 1; }; }
3990 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3991 $as_echo "$ac_cv_host" >&6; }
3994 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3995 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
3996 { (exit 1); exit 1; }; };;
3999 ac_save_IFS
=$IFS; IFS
='-'
4005 # Remember, the first character of IFS is used to create $*,
4006 # except with old shells:
4009 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4014 { $as_echo "$as_me:$LINENO: checking for target system" >&5
4015 $as_echo_n "checking for target system... " >&6; }
4019 *cygwin
* ) CYGWIN
=yes;;
4020 *mingw
* ) MINGW
=yes;;
4024 if test "x$MINGW" = "xyes"; then
4025 #fix for the debian distribution of mingw
4026 if test -x "/usr/i586-mingw32msvc/bin/ar";then
4027 AR
="/usr/i586-mingw32msvc/bin/ar"
4029 if test -x "/usr/i586-mingw32msvc/bin/ranlib";then
4030 RANLIB
="/usr/i586-mingw32msvc/bin/ranlib"
4032 #fix for the gentoo distribution of mingw
4033 if test -x "/opt/xmingw/bin/i386-mingw32msvc-ar";then
4034 AR
="/opt/xmingw/bin/i386-mingw32msvc-ar"
4036 if test -x "/opt/xmingw/bin/i386-mingw32msvc-ranlib";then
4037 RANLIB
="/opt/xmingw/bin/i386-mingw32msvc-ranlib"
4039 if test -x "/opt/xmingw/bin/i386-mingw32msvc-strip";then
4040 STRIP
="/opt/xmingw/bin/i386-mingw32msvc-strip"
4046 if test "x${CYGWIN}" = "xyes"; then
4048 cat >>confdefs.h
<<\_ACEOF
4052 { $as_echo "$as_me:$LINENO: result: cygwin" >&5
4053 $as_echo "cygwin" >&6; }
4055 if test "x${MINGW}" = "xyes"; then
4057 cat >>confdefs.h
<<\_ACEOF
4063 cat >>confdefs.h
<<\_ACEOF
4067 LIBS
="$LIBS -lws2_32 -lgdi32"
4068 { $as_echo "$as_me:$LINENO: result: mingw" >&5
4069 $as_echo "mingw" >&6; }
4074 cat >>confdefs.h
<<\_ACEOF
4078 { $as_echo "$as_me:$LINENO: result: " >&5
4085 if test "x${MINGW}" != "xyes"; then
4088 cat >>confdefs.h
<<\_ACEOF
4101 # The following tries to make use of includes and libraries in
4102 # /usr/local, too. Notice: A -I/usr/local/include might break
4103 # things (MingW, cross-compiling etc.) in the same way as -I/usr/include,
4104 # especially on systems which link /usr/local to /usr, so it has yet
4105 # to be seen how useful this is.
4106 if test -d /usr
/local
/lib
; then
4107 LDFLAGS
="$LDFLAGS -L/usr/local/lib"
4109 if test -d /usr
/local
/include
; then
4110 # Leave that alone. It's causing trouble e.g. with gcc 3.2 on gentoo.
4111 # CPPFLAGS="$CPPFLAGS -I/usr/local/include"
4114 if test "$prefix" != "NONE" -a "$prefix" != "/usr/local" -a "$prefix" != "/usr/local/"; then
4115 # if the user has a special prefix (like /opt), there might also be $prefix/lib
4116 # and $prefix/include, which should be included in our search paths for libraries
4118 LDFLAGS
="$LDFLAGS -L${libdir}"
4119 CPPFLAGS
="$CPPFLAGS -I${includedir}"
4120 # TODO- test whether gcc still works after this
4124 #LDFLAGS "-L/sw/lib" ; CPPFLAGS "-I/sw/include -I/sw/include/lame"
4127 # this must be done after (I believe) AC_PROG_MAKE_SET
4128 if test "x$DEBUG" '!=' "x" -o "x$STRIP" = "x";then
4129 if test "$MACOSX";then
4132 STRIP
="@echo debug enabled, not stripping "
4140 { $as_echo "$as_me:$LINENO: checking for sin in -lm" >&5
4141 $as_echo_n "checking for sin in -lm... " >&6; }
4142 if test "${ac_cv_lib_m_sin+set}" = set; then
4143 $as_echo_n "(cached) " >&6
4145 ac_check_lib_save_LIBS
=$LIBS
4147 cat >conftest.
$ac_ext <<_ACEOF
4150 cat confdefs.h
>>conftest.
$ac_ext
4151 cat >>conftest.
$ac_ext <<_ACEOF
4152 /* end confdefs.h. */
4154 /* Override any GCC internal prototype to avoid an error.
4155 Use char because int might match the return type of a GCC
4156 builtin and then its argument prototype would still apply. */
4169 rm -f conftest.
$ac_objext conftest
$ac_exeext
4170 if { (ac_try
="$ac_link"
4172 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4173 *) ac_try_echo=$ac_try;;
4175 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4176 $as_echo "$ac_try_echo") >&5
4177 (eval "$ac_link") 2>conftest.er1
4179 grep -v '^ *+' conftest.er1 >conftest.err
4181 cat conftest.err >&5
4182 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4183 (exit $ac_status); } && {
4184 test -z "$ac_c_werror_flag" ||
4185 test ! -s conftest.err
4186 } && test -s conftest$ac_exeext && {
4187 test "$cross_compiling" = yes ||
4188 $as_test_x conftest$ac_exeext
4192 $as_echo "$as_me: failed program was:" >&5
4193 sed 's/^/| /' conftest.$ac_ext >&5
4198 rm -rf conftest.dSYM
4199 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4200 conftest$ac_exeext conftest.$ac_ext
4201 LIBS=$ac_check_lib_save_LIBS
4203 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
4204 $as_echo "$ac_cv_lib_m_sin" >&6; }
4205 if test "x$ac_cv_lib_m_sin" = x""yes; then
4206 cat >>confdefs.h <<_ACEOF
4213 echo "Error: Math library not found.";
4219 { $as_echo "$as_me:$LINENO: checking for deflate in -lz" >&5
4220 $as_echo_n "checking for deflate in -lz... " >&6; }
4221 if test "${ac_cv_lib_z_deflate+set}" = set; then
4222 $as_echo_n "(cached) " >&6
4224 ac_check_lib_save_LIBS=$LIBS
4226 cat >conftest.$ac_ext <<_ACEOF
4229 cat confdefs.h >>conftest.$ac_ext
4230 cat >>conftest.$ac_ext <<_ACEOF
4231 /* end confdefs.h. */
4233 /* Override any GCC internal prototype to avoid an error.
4234 Use char because int might match the return type of a GCC
4235 builtin and then its argument prototype would still apply. */
4248 rm -f conftest.$ac_objext conftest$ac_exeext
4249 if { (ac_try="$ac_link"
4251 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4252 *) ac_try_echo
=$ac_try;;
4254 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4255 $as_echo "$ac_try_echo") >&5
4256 (eval "$ac_link") 2>conftest.er1
4258 grep -v '^ *+' conftest.er1
>conftest.err
4260 cat conftest.err
>&5
4261 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4262 (exit $ac_status); } && {
4263 test -z "$ac_c_werror_flag" ||
4264 test ! -s conftest.err
4265 } && test -s conftest
$ac_exeext && {
4266 test "$cross_compiling" = yes ||
4267 $as_test_x conftest
$ac_exeext
4269 ac_cv_lib_z_deflate
=yes
4271 $as_echo "$as_me: failed program was:" >&5
4272 sed 's/^/| /' conftest.
$ac_ext >&5
4274 ac_cv_lib_z_deflate
=no
4277 rm -rf conftest.dSYM
4278 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4279 conftest
$ac_exeext conftest.
$ac_ext
4280 LIBS
=$ac_check_lib_save_LIBS
4282 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
4283 $as_echo "$ac_cv_lib_z_deflate" >&6; }
4284 if test "x$ac_cv_lib_z_deflate" = x
""yes; then
4285 cat >>confdefs.h
<<_ACEOF
4296 if test "x$ZLIBMISSING" = "xtrue";then
4299 echo "You need zlib to compile swftools"
4305 { $as_echo "$as_me:$LINENO: checking for PDF_open_file in -lpdf" >&5
4306 $as_echo_n "checking for PDF_open_file in -lpdf... " >&6; }
4307 if test "${ac_cv_lib_pdf_PDF_open_file+set}" = set; then
4308 $as_echo_n "(cached) " >&6
4310 ac_check_lib_save_LIBS
=$LIBS
4312 cat >conftest.
$ac_ext <<_ACEOF
4315 cat confdefs.h
>>conftest.
$ac_ext
4316 cat >>conftest.
$ac_ext <<_ACEOF
4317 /* end confdefs.h. */
4319 /* Override any GCC internal prototype to avoid an error.
4320 Use char because int might match the return type of a GCC
4321 builtin and then its argument prototype would still apply. */
4325 char PDF_open_file ();
4329 return PDF_open_file ();
4334 rm -f conftest.
$ac_objext conftest
$ac_exeext
4335 if { (ac_try
="$ac_link"
4337 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4338 *) ac_try_echo=$ac_try;;
4340 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4341 $as_echo "$ac_try_echo") >&5
4342 (eval "$ac_link") 2>conftest.er1
4344 grep -v '^ *+' conftest.er1 >conftest.err
4346 cat conftest.err >&5
4347 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4348 (exit $ac_status); } && {
4349 test -z "$ac_c_werror_flag" ||
4350 test ! -s conftest.err
4351 } && test -s conftest$ac_exeext && {
4352 test "$cross_compiling" = yes ||
4353 $as_test_x conftest$ac_exeext
4355 ac_cv_lib_pdf_PDF_open_file=yes
4357 $as_echo "$as_me: failed program was:" >&5
4358 sed 's/^/| /' conftest.$ac_ext >&5
4360 ac_cv_lib_pdf_PDF_open_file=no
4363 rm -rf conftest.dSYM
4364 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4365 conftest$ac_exeext conftest.$ac_ext
4366 LIBS=$ac_check_lib_save_LIBS
4368 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pdf_PDF_open_file" >&5
4369 $as_echo "$ac_cv_lib_pdf_PDF_open_file" >&6; }
4370 if test "x$ac_cv_lib_pdf_PDF_open_file" = x""yes; then
4371 cat >>confdefs.h <<_ACEOF
4372 #define HAVE_LIBPDF 1
4382 { $as_echo "$as_me:$LINENO: checking for jpeg_write_raw_data in -ljpeg" >&5
4383 $as_echo_n "checking for jpeg_write_raw_data in -ljpeg... " >&6; }
4384 if test "${ac_cv_lib_jpeg_jpeg_write_raw_data+set}" = set; then
4385 $as_echo_n "(cached) " >&6
4387 ac_check_lib_save_LIBS=$LIBS
4389 cat >conftest.$ac_ext <<_ACEOF
4392 cat confdefs.h >>conftest.$ac_ext
4393 cat >>conftest.$ac_ext <<_ACEOF
4394 /* end confdefs.h. */
4396 /* Override any GCC internal prototype to avoid an error.
4397 Use char because int might match the return type of a GCC
4398 builtin and then its argument prototype would still apply. */
4402 char jpeg_write_raw_data ();
4406 return jpeg_write_raw_data ();
4411 rm -f conftest.$ac_objext conftest$ac_exeext
4412 if { (ac_try="$ac_link"
4414 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4415 *) ac_try_echo
=$ac_try;;
4417 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4418 $as_echo "$ac_try_echo") >&5
4419 (eval "$ac_link") 2>conftest.er1
4421 grep -v '^ *+' conftest.er1
>conftest.err
4423 cat conftest.err
>&5
4424 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4425 (exit $ac_status); } && {
4426 test -z "$ac_c_werror_flag" ||
4427 test ! -s conftest.err
4428 } && test -s conftest
$ac_exeext && {
4429 test "$cross_compiling" = yes ||
4430 $as_test_x conftest
$ac_exeext
4432 ac_cv_lib_jpeg_jpeg_write_raw_data
=yes
4434 $as_echo "$as_me: failed program was:" >&5
4435 sed 's/^/| /' conftest.
$ac_ext >&5
4437 ac_cv_lib_jpeg_jpeg_write_raw_data
=no
4440 rm -rf conftest.dSYM
4441 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4442 conftest
$ac_exeext conftest.
$ac_ext
4443 LIBS
=$ac_check_lib_save_LIBS
4445 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_write_raw_data" >&5
4446 $as_echo "$ac_cv_lib_jpeg_jpeg_write_raw_data" >&6; }
4447 if test "x$ac_cv_lib_jpeg_jpeg_write_raw_data" = x
""yes; then
4448 cat >>confdefs.h
<<_ACEOF
4449 #define HAVE_LIBJPEG 1
4459 { $as_echo "$as_me:$LINENO: checking for DGifOpen in -lungif" >&5
4460 $as_echo_n "checking for DGifOpen in -lungif... " >&6; }
4461 if test "${ac_cv_lib_ungif_DGifOpen+set}" = set; then
4462 $as_echo_n "(cached) " >&6
4464 ac_check_lib_save_LIBS
=$LIBS
4465 LIBS
="-lungif $LIBS"
4466 cat >conftest.
$ac_ext <<_ACEOF
4469 cat confdefs.h
>>conftest.
$ac_ext
4470 cat >>conftest.
$ac_ext <<_ACEOF
4471 /* end confdefs.h. */
4473 /* Override any GCC internal prototype to avoid an error.
4474 Use char because int might match the return type of a GCC
4475 builtin and then its argument prototype would still apply. */
4488 rm -f conftest.
$ac_objext conftest
$ac_exeext
4489 if { (ac_try
="$ac_link"
4491 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4492 *) ac_try_echo=$ac_try;;
4494 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4495 $as_echo "$ac_try_echo") >&5
4496 (eval "$ac_link") 2>conftest.er1
4498 grep -v '^ *+' conftest.er1 >conftest.err
4500 cat conftest.err >&5
4501 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4502 (exit $ac_status); } && {
4503 test -z "$ac_c_werror_flag" ||
4504 test ! -s conftest.err
4505 } && test -s conftest$ac_exeext && {
4506 test "$cross_compiling" = yes ||
4507 $as_test_x conftest$ac_exeext
4509 ac_cv_lib_ungif_DGifOpen=yes
4511 $as_echo "$as_me: failed program was:" >&5
4512 sed 's/^/| /' conftest.$ac_ext >&5
4514 ac_cv_lib_ungif_DGifOpen=no
4517 rm -rf conftest.dSYM
4518 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4519 conftest$ac_exeext conftest.$ac_ext
4520 LIBS=$ac_check_lib_save_LIBS
4522 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_DGifOpen" >&5
4523 $as_echo "$ac_cv_lib_ungif_DGifOpen" >&6; }
4524 if test "x$ac_cv_lib_ungif_DGifOpen" = x""yes; then
4525 cat >>confdefs.h <<_ACEOF
4526 #define HAVE_LIBUNGIF 1
4529 LIBS="-lungif $LIBS"
4535 if test "$UNGIFMISSING";then
4538 { $as_echo "$as_me:$LINENO: checking for DGifOpen in -lgif" >&5
4539 $as_echo_n "checking for DGifOpen in -lgif... " >&6; }
4540 if test "${ac_cv_lib_gif_DGifOpen+set}" = set; then
4541 $as_echo_n "(cached) " >&6
4543 ac_check_lib_save_LIBS=$LIBS
4545 cat >conftest.$ac_ext <<_ACEOF
4548 cat confdefs.h >>conftest.$ac_ext
4549 cat >>conftest.$ac_ext <<_ACEOF
4550 /* end confdefs.h. */
4552 /* Override any GCC internal prototype to avoid an error.
4553 Use char because int might match the return type of a GCC
4554 builtin and then its argument prototype would still apply. */
4567 rm -f conftest.$ac_objext conftest$ac_exeext
4568 if { (ac_try="$ac_link"
4570 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4571 *) ac_try_echo
=$ac_try;;
4573 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4574 $as_echo "$ac_try_echo") >&5
4575 (eval "$ac_link") 2>conftest.er1
4577 grep -v '^ *+' conftest.er1
>conftest.err
4579 cat conftest.err
>&5
4580 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4581 (exit $ac_status); } && {
4582 test -z "$ac_c_werror_flag" ||
4583 test ! -s conftest.err
4584 } && test -s conftest
$ac_exeext && {
4585 test "$cross_compiling" = yes ||
4586 $as_test_x conftest
$ac_exeext
4588 ac_cv_lib_gif_DGifOpen
=yes
4590 $as_echo "$as_me: failed program was:" >&5
4591 sed 's/^/| /' conftest.
$ac_ext >&5
4593 ac_cv_lib_gif_DGifOpen
=no
4596 rm -rf conftest.dSYM
4597 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4598 conftest
$ac_exeext conftest.
$ac_ext
4599 LIBS
=$ac_check_lib_save_LIBS
4601 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gif_DGifOpen" >&5
4602 $as_echo "$ac_cv_lib_gif_DGifOpen" >&6; }
4603 if test "x$ac_cv_lib_gif_DGifOpen" = x
""yes; then
4604 cat >>confdefs.h
<<_ACEOF
4605 #define HAVE_LIBGIF 1
4616 { $as_echo "$as_me:$LINENO: checking for zzip_file_open in -lzzip" >&5
4617 $as_echo_n "checking for zzip_file_open in -lzzip... " >&6; }
4618 if test "${ac_cv_lib_zzip_zzip_file_open+set}" = set; then
4619 $as_echo_n "(cached) " >&6
4621 ac_check_lib_save_LIBS
=$LIBS
4623 cat >conftest.
$ac_ext <<_ACEOF
4626 cat confdefs.h
>>conftest.
$ac_ext
4627 cat >>conftest.
$ac_ext <<_ACEOF
4628 /* end confdefs.h. */
4630 /* Override any GCC internal prototype to avoid an error.
4631 Use char because int might match the return type of a GCC
4632 builtin and then its argument prototype would still apply. */
4636 char zzip_file_open ();
4640 return zzip_file_open ();
4645 rm -f conftest.
$ac_objext conftest
$ac_exeext
4646 if { (ac_try
="$ac_link"
4648 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4649 *) ac_try_echo=$ac_try;;
4651 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4652 $as_echo "$ac_try_echo") >&5
4653 (eval "$ac_link") 2>conftest.er1
4655 grep -v '^ *+' conftest.er1 >conftest.err
4657 cat conftest.err >&5
4658 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4659 (exit $ac_status); } && {
4660 test -z "$ac_c_werror_flag" ||
4661 test ! -s conftest.err
4662 } && test -s conftest$ac_exeext && {
4663 test "$cross_compiling" = yes ||
4664 $as_test_x conftest$ac_exeext
4666 ac_cv_lib_zzip_zzip_file_open=yes
4668 $as_echo "$as_me: failed program was:" >&5
4669 sed 's/^/| /' conftest.$ac_ext >&5
4671 ac_cv_lib_zzip_zzip_file_open=no
4674 rm -rf conftest.dSYM
4675 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4676 conftest$ac_exeext conftest.$ac_ext
4677 LIBS=$ac_check_lib_save_LIBS
4679 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_zzip_zzip_file_open" >&5
4680 $as_echo "$ac_cv_lib_zzip_zzip_file_open" >&6; }
4681 if test "x$ac_cv_lib_zzip_zzip_file_open" = x""yes; then
4682 cat >>confdefs.h <<_ACEOF
4683 #define HAVE_LIBZZIP 1
4694 { $as_echo "$as_me:$LINENO: checking for byte order" >&5
4695 $as_echo_n "checking for byte order... " >&6; }
4696 if test "$cross_compiling" = yes; then
4699 cat >conftest.$ac_ext <<_ACEOF
4702 cat confdefs.h >>conftest.$ac_ext
4703 cat >>conftest.$ac_ext <<_ACEOF
4704 /* end confdefs.h. */
4706 int main (int argc, char *argv[])
4713 rm -f conftest$ac_exeext
4714 if { (ac_try="$ac_link"
4716 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4717 *) ac_try_echo
=$ac_try;;
4719 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4720 $as_echo "$ac_try_echo") >&5
4721 (eval "$ac_link") 2>&5
4723 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4724 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4725 { (case "(($ac_try" in
4726 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4727 *) ac_try_echo=$ac_try;;
4729 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4730 $as_echo "$ac_try_echo") >&5
4731 (eval "$ac_try") 2>&5
4733 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4734 (exit $ac_status); }; }; then
4737 $as_echo "$as_me: program exited with status $ac_status" >&5
4738 $as_echo "$as_me: failed program was:" >&5
4739 sed 's/^/| /' conftest.$ac_ext >&5
4744 rm -rf conftest.dSYM
4745 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4751 if test "x${CROSSCOMPILE}" = "x1"; then
4752 { $as_echo "$as_me:$LINENO: result: we are cross compiling- trying to guess from system type" >&5
4753 $as_echo "we are cross compiling- trying to guess from system type" >&6; }
4754 { $as_echo "$as_me:$LINENO: checking target system type" >&5
4755 $as_echo_n "checking target system type... " >&6; }
4756 if test "${ac_cv_target+set}" = set; then
4757 $as_echo_n "(cached) " >&6
4759 if test "x$target_alias" = x; then
4760 ac_cv_target=$ac_cv_host
4762 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
4763 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
4764 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
4765 { (exit 1); exit 1; }; }
4769 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
4770 $as_echo "$ac_cv_target" >&6; }
4771 case $ac_cv_target in
4773 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
4774 $as_echo "$as_me: error: invalid value of canonical target" >&2;}
4775 { (exit 1); exit 1; }; };;
4777 target=$ac_cv_target
4778 ac_save_IFS=$IFS; IFS='-'
4784 # Remember, the first character of IFS is used to create $*,
4785 # except with old shells:
4788 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
4791 # The aliases save the names the user supplied, while $host etc.
4792 # will get canonicalized.
4793 test -n "$target_alias" &&
4794 test "$program_prefix$program_suffix$program_transform_name" = \
4796 program_prefix=${target_alias}-
4797 { $as_echo "$as_me:$LINENO: checking for byte order, try 2" >&5
4798 $as_echo_n "checking for byte order, try 2... " >&6; }
4803 *sparc* | *68* | *88k* | *mac* | *Mac* | *sun* | *Sun* | *Amiga* | *amiga* )
4810 if test "x${LITTLEENDIAN}" = "x1"; then
4811 { $as_echo "$as_me:$LINENO: result: little endian" >&5
4812 $as_echo "little endian" >&6; }
4816 if test "x${BIGENDIAN}" = "x1"; then
4817 { $as_echo "$as_me:$LINENO: result: big endian" >&5
4818 $as_echo "big endian" >&6; }
4821 export WORDS_BIGENDIAN
4823 cat >>confdefs.h <<\_ACEOF
4824 #define WORDS_BIGENDIAN 1
4828 if test "x${BYTEORDERCHECKOK}" != "x1"; then
4829 { $as_echo "$as_me:$LINENO: result: unknown" >&5
4830 $as_echo "unknown" >&6; }
4831 echo Byte order could not determined.
4837 { $as_echo "$as_me:$LINENO: checking whether system() can handle command substitution" >&5
4838 $as_echo_n "checking whether system() can handle command substitution... " >&6; }
4839 if test "$cross_compiling" = yes; then
4842 cat >conftest.$ac_ext <<_ACEOF
4845 cat confdefs.h >>conftest.$ac_ext
4846 cat >>conftest.$ac_ext <<_ACEOF
4847 /* end confdefs.h. */
4850 int main (int argc, char*argv[])
4852 return system("test `touch config.tmp2
`");
4856 rm -f conftest$ac_exeext
4857 if { (ac_try="$ac_link"
4859 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4860 *) ac_try_echo
=$ac_try;;
4862 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4863 $as_echo "$ac_try_echo") >&5
4864 (eval "$ac_link") 2>&5
4866 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4867 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4868 { (case "(($ac_try" in
4869 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4870 *) ac_try_echo=$ac_try;;
4872 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4873 $as_echo "$ac_try_echo") >&5
4874 (eval "$ac_try") 2>&5
4876 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4877 (exit $ac_status); }; }; then
4880 $as_echo "$as_me: program exited with status $ac_status" >&5
4881 $as_echo "$as_me: failed program was:" >&5
4882 sed 's/^/| /' conftest.$ac_ext >&5
4885 rm -rf conftest.dSYM
4886 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4891 if test "x${OK}" = "xOK";then
4892 test -f config.tmp2 || OK=
4895 if test "x${CROSSCOMPILE}" = "x1";then
4898 if test "x${OK}" = "xOK";then
4900 { $as_echo "$as_me:$LINENO: result: yes" >&5
4901 $as_echo "yes" >&6; }
4903 export SYSTEM_BACKTICKS
4905 cat >>confdefs.h <<\_ACEOF
4906 #define SYSTEM_BACKTICKS 1
4910 { $as_echo "$as_me:$LINENO: result: no" >&5
4911 $as_echo "no" >&6; }
4916 test "$program_prefix" != NONE &&
4917 program_transform_name="s&^&$program_prefix&;$program_transform_name"
4918 # Use a double $ so make ignores it.
4919 test "$program_suffix" != NONE &&
4920 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
4921 # Double any \ or $.
4922 # By default was `s
,x
,x
', remove it if useless.
4923 ac_script='s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//'
4924 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
4927 ac_config_headers="$ac_config_headers config.h"
4935 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
4936 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4937 { $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
4938 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
4939 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4940 $as_echo_n "(cached) " >&6
4942 cat >conftest.$ac_ext <<_ACEOF
4945 cat confdefs.h >>conftest.$ac_ext
4946 cat >>conftest.$ac_ext <<_ACEOF
4947 /* end confdefs.h. */
4948 #include <sys/types.h>
4960 rm -f conftest.$ac_objext
4961 if { (ac_try="$ac_compile"
4963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4964 *) ac_try_echo=$ac_try;;
4966 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4967 $as_echo "$ac_try_echo") >&5
4968 (eval "$ac_compile") 2>conftest.er1
4970 grep -v '^
*+' conftest.er1 >conftest.err
4972 cat conftest.err >&5
4973 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4974 (exit $ac_status); } && {
4975 test -z "$ac_c_werror_flag" ||
4976 test ! -s conftest.err
4977 } && test -s conftest.$ac_objext; then
4978 eval "$as_ac_Header=yes"
4980 $as_echo "$as_me: failed program was:" >&5
4981 sed 's
/^
/|
/' conftest.$ac_ext >&5
4983 eval "$as_ac_Header=no"
4986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4988 ac_res=`eval 'as_val
=${'$as_ac_Header'}
4989 $as_echo "$as_val"'`
4990 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4991 $as_echo "$ac_res" >&6; }
4992 as_val=`eval 'as_val
=${'$as_ac_Header'}
4993 $as_echo "$as_val"'`
4994 if test "x$as_val" = x""yes; then
4995 cat >>confdefs.h <<_ACEOF
4996 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
4999 ac_header_dirent=$ac_hdr; break
5003 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5004 if test $ac_header_dirent = dirent.h; then
5005 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
5006 $as_echo_n "checking for library containing opendir... " >&6; }
5007 if test "${ac_cv_search_opendir+set}" = set; then
5008 $as_echo_n "(cached) " >&6
5010 ac_func_search_save_LIBS=$LIBS
5011 cat >conftest.$ac_ext <<_ACEOF
5014 cat confdefs.h >>conftest.$ac_ext
5015 cat >>conftest.$ac_ext <<_ACEOF
5016 /* end confdefs.h. */
5018 /* Override any GCC internal prototype to avoid an error.
5019 Use char because int might match the return type of a GCC
5020 builtin and then its argument prototype would still apply. */
5033 for ac_lib in '' dir; do
5034 if test -z "$ac_lib"; then
5035 ac_res="none required"
5038 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5040 rm -f conftest.$ac_objext conftest$ac_exeext
5041 if { (ac_try="$ac_link"
5043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5044 *) ac_try_echo=$ac_try;;
5046 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5047 $as_echo "$ac_try_echo") >&5
5048 (eval "$ac_link") 2>conftest.er1
5050 grep -v '^
*+' conftest.er1 >conftest.err
5052 cat conftest.err >&5
5053 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5054 (exit $ac_status); } && {
5055 test -z "$ac_c_werror_flag" ||
5056 test ! -s conftest.err
5057 } && test -s conftest$ac_exeext && {
5058 test "$cross_compiling" = yes ||
5059 $as_test_x conftest$ac_exeext
5061 ac_cv_search_opendir=$ac_res
5063 $as_echo "$as_me: failed program was:" >&5
5064 sed 's
/^
/|
/' conftest.$ac_ext >&5
5069 rm -rf conftest.dSYM
5070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5072 if test "${ac_cv_search_opendir+set}" = set; then
5076 if test "${ac_cv_search_opendir+set}" = set; then
5079 ac_cv_search_opendir=no
5082 LIBS=$ac_func_search_save_LIBS
5084 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5085 $as_echo "$ac_cv_search_opendir" >&6; }
5086 ac_res=$ac_cv_search_opendir
5087 if test "$ac_res" != no; then
5088 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5093 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
5094 $as_echo_n "checking for library containing opendir... " >&6; }
5095 if test "${ac_cv_search_opendir+set}" = set; then
5096 $as_echo_n "(cached) " >&6
5098 ac_func_search_save_LIBS=$LIBS
5099 cat >conftest.$ac_ext <<_ACEOF
5102 cat confdefs.h >>conftest.$ac_ext
5103 cat >>conftest.$ac_ext <<_ACEOF
5104 /* end confdefs.h. */
5106 /* Override any GCC internal prototype to avoid an error.
5107 Use char because int might match the return type of a GCC
5108 builtin and then its argument prototype would still apply. */
5121 for ac_lib in '' x; do
5122 if test -z "$ac_lib"; then
5123 ac_res="none required"
5126 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5128 rm -f conftest.$ac_objext conftest$ac_exeext
5129 if { (ac_try="$ac_link"
5131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5132 *) ac_try_echo=$ac_try;;
5134 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5135 $as_echo "$ac_try_echo") >&5
5136 (eval "$ac_link") 2>conftest.er1
5138 grep -v '^
*+' conftest.er1 >conftest.err
5140 cat conftest.err >&5
5141 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5142 (exit $ac_status); } && {
5143 test -z "$ac_c_werror_flag" ||
5144 test ! -s conftest.err
5145 } && test -s conftest$ac_exeext && {
5146 test "$cross_compiling" = yes ||
5147 $as_test_x conftest$ac_exeext
5149 ac_cv_search_opendir=$ac_res
5151 $as_echo "$as_me: failed program was:" >&5
5152 sed 's
/^
/|
/' conftest.$ac_ext >&5
5157 rm -rf conftest.dSYM
5158 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5160 if test "${ac_cv_search_opendir+set}" = set; then
5164 if test "${ac_cv_search_opendir+set}" = set; then
5167 ac_cv_search_opendir=no
5170 LIBS=$ac_func_search_save_LIBS
5172 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5173 $as_echo "$ac_cv_search_opendir" >&6; }
5174 ac_res=$ac_cv_search_opendir
5175 if test "$ac_res" != no; then
5176 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5183 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5184 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5185 if test "${ac_cv_path_GREP+set}" = set; then
5186 $as_echo_n "(cached) " >&6
5188 if test -z "$GREP"; then
5189 ac_path_GREP_found=false
5190 # Loop through the user's path and
test for each of PROGNAME-LIST
5191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5192 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5195 test -z "$as_dir" && as_dir
=.
5196 for ac_prog
in grep ggrep
; do
5197 for ac_exec_ext
in '' $ac_executable_extensions; do
5198 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5199 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5200 # Check for GNU ac_path_GREP and select it if it is found.
5201 # Check for GNU $ac_path_GREP
5202 case `"$ac_path_GREP" --version 2>&1` in
5204 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5207 $as_echo_n 0123456789 >"conftest.in"
5210 cat "conftest.in" "conftest.in" >"conftest.tmp"
5211 mv "conftest.tmp" "conftest.in"
5212 cp "conftest.in" "conftest.nl"
5213 $as_echo 'GREP' >> "conftest.nl"
5214 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5215 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5216 ac_count
=`expr $ac_count + 1`
5217 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5218 # Best one so far, save it but keep looking for a better one
5219 ac_cv_path_GREP
="$ac_path_GREP"
5220 ac_path_GREP_max
=$ac_count
5222 # 10*(2^10) chars as input seems more than enough
5223 test $ac_count -gt 10 && break
5225 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5228 $ac_path_GREP_found && break 3
5233 if test -z "$ac_cv_path_GREP"; then
5234 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5235 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5236 { (exit 1); exit 1; }; }
5239 ac_cv_path_GREP
=$GREP
5243 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5244 $as_echo "$ac_cv_path_GREP" >&6; }
5245 GREP
="$ac_cv_path_GREP"
5248 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
5249 $as_echo_n "checking for egrep... " >&6; }
5250 if test "${ac_cv_path_EGREP+set}" = set; then
5251 $as_echo_n "(cached) " >&6
5253 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5254 then ac_cv_path_EGREP
="$GREP -E"
5256 if test -z "$EGREP"; then
5257 ac_path_EGREP_found
=false
5258 # Loop through the user's path and test for each of PROGNAME-LIST
5259 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5260 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5263 test -z "$as_dir" && as_dir
=.
5264 for ac_prog
in egrep; do
5265 for ac_exec_ext
in '' $ac_executable_extensions; do
5266 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5267 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5268 # Check for GNU ac_path_EGREP and select it if it is found.
5269 # Check for GNU $ac_path_EGREP
5270 case `"$ac_path_EGREP" --version 2>&1` in
5272 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5275 $as_echo_n 0123456789 >"conftest.in"
5278 cat "conftest.in" "conftest.in" >"conftest.tmp"
5279 mv "conftest.tmp" "conftest.in"
5280 cp "conftest.in" "conftest.nl"
5281 $as_echo 'EGREP' >> "conftest.nl"
5282 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5283 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5284 ac_count
=`expr $ac_count + 1`
5285 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5286 # Best one so far, save it but keep looking for a better one
5287 ac_cv_path_EGREP
="$ac_path_EGREP"
5288 ac_path_EGREP_max
=$ac_count
5290 # 10*(2^10) chars as input seems more than enough
5291 test $ac_count -gt 10 && break
5293 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5296 $ac_path_EGREP_found && break 3
5301 if test -z "$ac_cv_path_EGREP"; then
5302 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5303 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5304 { (exit 1); exit 1; }; }
5307 ac_cv_path_EGREP
=$EGREP
5312 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5313 $as_echo "$ac_cv_path_EGREP" >&6; }
5314 EGREP
="$ac_cv_path_EGREP"
5317 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5318 $as_echo_n "checking for ANSI C header files... " >&6; }
5319 if test "${ac_cv_header_stdc+set}" = set; then
5320 $as_echo_n "(cached) " >&6
5322 cat >conftest.
$ac_ext <<_ACEOF
5325 cat confdefs.h
>>conftest.
$ac_ext
5326 cat >>conftest.
$ac_ext <<_ACEOF
5327 /* end confdefs.h. */
5341 rm -f conftest.
$ac_objext
5342 if { (ac_try
="$ac_compile"
5344 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5345 *) ac_try_echo=$ac_try;;
5347 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5348 $as_echo "$ac_try_echo") >&5
5349 (eval "$ac_compile") 2>conftest.er1
5351 grep -v '^ *+' conftest.er1 >conftest.err
5353 cat conftest.err >&5
5354 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5355 (exit $ac_status); } && {
5356 test -z "$ac_c_werror_flag" ||
5357 test ! -s conftest.err
5358 } && test -s conftest.$ac_objext; then
5359 ac_cv_header_stdc=yes
5361 $as_echo "$as_me: failed program was:" >&5
5362 sed 's/^/| /' conftest.$ac_ext >&5
5364 ac_cv_header_stdc=no
5367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5369 if test $ac_cv_header_stdc = yes; then
5370 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5371 cat >conftest.$ac_ext <<_ACEOF
5374 cat confdefs.h >>conftest.$ac_ext
5375 cat >>conftest.$ac_ext <<_ACEOF
5376 /* end confdefs.h. */
5380 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5381 $EGREP "memchr" >/dev/null 2>&1; then
5384 ac_cv_header_stdc=no
5390 if test $ac_cv_header_stdc = yes; then
5391 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5392 cat >conftest.$ac_ext <<_ACEOF
5395 cat confdefs.h >>conftest.$ac_ext
5396 cat >>conftest.$ac_ext <<_ACEOF
5397 /* end confdefs.h. */
5401 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5402 $EGREP "free" >/dev/null 2>&1; then
5405 ac_cv_header_stdc=no
5411 if test $ac_cv_header_stdc = yes; then
5412 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5413 if test "$cross_compiling" = yes; then
5416 cat >conftest.$ac_ext <<_ACEOF
5419 cat confdefs.h >>conftest.$ac_ext
5420 cat >>conftest.$ac_ext <<_ACEOF
5421 /* end confdefs.h. */
5424 #if ((' ' & 0x0FF) == 0x020)
5425 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5426 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5428 # define ISLOWER(c) \
5429 (('a' <= (c) && (c) <= 'i') \
5430 || ('j' <= (c) && (c) <= 'r') \
5431 || ('s' <= (c) && (c) <= 'z'))
5432 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5435 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5440 for (i = 0; i < 256; i++)
5441 if (XOR (islower (i), ISLOWER (i))
5442 || toupper (i) != TOUPPER (i))
5447 rm -f conftest$ac_exeext
5448 if { (ac_try="$ac_link"
5450 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5451 *) ac_try_echo
=$ac_try;;
5453 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5454 $as_echo "$ac_try_echo") >&5
5455 (eval "$ac_link") 2>&5
5457 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5458 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5459 { (case "(($ac_try" in
5460 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5461 *) ac_try_echo=$ac_try;;
5463 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5464 $as_echo "$ac_try_echo") >&5
5465 (eval "$ac_try") 2>&5
5467 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5468 (exit $ac_status); }; }; then
5471 $as_echo "$as_me: program exited with status $ac_status" >&5
5472 $as_echo "$as_me: failed program was:" >&5
5473 sed 's/^/| /' conftest.$ac_ext >&5
5476 ac_cv_header_stdc=no
5478 rm -rf conftest.dSYM
5479 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5485 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5486 $as_echo "$ac_cv_header_stdc" >&6; }
5487 if test $ac_cv_header_stdc = yes; then
5489 cat >>confdefs.h <<\_ACEOF
5490 #define STDC_HEADERS 1
5496 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5506 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5507 inttypes.h stdint.h unistd.h
5509 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5510 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5511 $as_echo_n "checking for $ac_header... " >&6; }
5512 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5513 $as_echo_n "(cached) " >&6
5515 cat >conftest.$ac_ext <<_ACEOF
5518 cat confdefs.h >>conftest.$ac_ext
5519 cat >>conftest.$ac_ext <<_ACEOF
5520 /* end confdefs.h. */
5521 $ac_includes_default
5523 #include <$ac_header>
5525 rm -f conftest.$ac_objext
5526 if { (ac_try="$ac_compile"
5528 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5529 *) ac_try_echo
=$ac_try;;
5531 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5532 $as_echo "$ac_try_echo") >&5
5533 (eval "$ac_compile") 2>conftest.er1
5535 grep -v '^ *+' conftest.er1
>conftest.err
5537 cat conftest.err
>&5
5538 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5539 (exit $ac_status); } && {
5540 test -z "$ac_c_werror_flag" ||
5541 test ! -s conftest.err
5542 } && test -s conftest.
$ac_objext; then
5543 eval "$as_ac_Header=yes"
5545 $as_echo "$as_me: failed program was:" >&5
5546 sed 's/^/| /' conftest.
$ac_ext >&5
5548 eval "$as_ac_Header=no"
5551 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5553 ac_res
=`eval 'as_val=${'$as_ac_Header'}
5554 $as_echo "$as_val"'`
5555 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5556 $as_echo "$ac_res" >&6; }
5557 as_val
=`eval 'as_val=${'$as_ac_Header'}
5558 $as_echo "$as_val"'`
5559 if test "x$as_val" = x
""yes; then
5560 cat >>confdefs.h
<<_ACEOF
5561 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5590 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
5592 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5593 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5594 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5595 $as_echo_n "checking for $ac_header... " >&6; }
5596 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5597 $as_echo_n "(cached) " >&6
5599 ac_res
=`eval 'as_val=${'$as_ac_Header'}
5600 $as_echo "$as_val"'`
5601 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5602 $as_echo "$ac_res" >&6; }
5604 # Is the header compilable?
5605 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5606 $as_echo_n "checking $ac_header usability... " >&6; }
5607 cat >conftest.
$ac_ext <<_ACEOF
5610 cat confdefs.h
>>conftest.
$ac_ext
5611 cat >>conftest.
$ac_ext <<_ACEOF
5612 /* end confdefs.h. */
5613 $ac_includes_default
5614 #include <$ac_header>
5616 rm -f conftest.
$ac_objext
5617 if { (ac_try
="$ac_compile"
5619 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5620 *) ac_try_echo=$ac_try;;
5622 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5623 $as_echo "$ac_try_echo") >&5
5624 (eval "$ac_compile") 2>conftest.er1
5626 grep -v '^ *+' conftest.er1 >conftest.err
5628 cat conftest.err >&5
5629 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5630 (exit $ac_status); } && {
5631 test -z "$ac_c_werror_flag" ||
5632 test ! -s conftest.err
5633 } && test -s conftest.$ac_objext; then
5634 ac_header_compiler=yes
5636 $as_echo "$as_me: failed program was:" >&5
5637 sed 's/^/| /' conftest.$ac_ext >&5
5639 ac_header_compiler=no
5642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5643 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5644 $as_echo "$ac_header_compiler" >&6; }
5646 # Is the header present?
5647 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5648 $as_echo_n "checking $ac_header presence... " >&6; }
5649 cat >conftest.$ac_ext <<_ACEOF
5652 cat confdefs.h >>conftest.$ac_ext
5653 cat >>conftest.$ac_ext <<_ACEOF
5654 /* end confdefs.h. */
5655 #include <$ac_header>
5657 if { (ac_try="$ac_cpp conftest.$ac_ext"
5659 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5660 *) ac_try_echo
=$ac_try;;
5662 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5663 $as_echo "$ac_try_echo") >&5
5664 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5666 grep -v '^ *+' conftest.er1
>conftest.err
5668 cat conftest.err
>&5
5669 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5670 (exit $ac_status); } >/dev
/null
&& {
5671 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5672 test ! -s conftest.err
5674 ac_header_preproc
=yes
5676 $as_echo "$as_me: failed program was:" >&5
5677 sed 's/^/| /' conftest.
$ac_ext >&5
5679 ac_header_preproc
=no
5682 rm -f conftest.err conftest.
$ac_ext
5683 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5684 $as_echo "$ac_header_preproc" >&6; }
5686 # So? What about this header?
5687 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5689 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5690 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5691 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5692 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5693 ac_header_preproc
=yes
5696 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5697 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5698 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5699 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5700 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5701 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5702 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5703 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5704 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5705 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5706 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5707 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5711 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5712 $as_echo_n "checking for $ac_header... " >&6; }
5713 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5714 $as_echo_n "(cached) " >&6
5716 eval "$as_ac_Header=\$ac_header_preproc"
5718 ac_res
=`eval 'as_val=${'$as_ac_Header'}
5719 $as_echo "$as_val"'`
5720 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5721 $as_echo "$ac_res" >&6; }
5724 as_val
=`eval 'as_val=${'$as_ac_Header'}
5725 $as_echo "$as_val"'`
5726 if test "x$as_val" = x
""yes; then
5727 cat >>confdefs.h
<<_ACEOF
5728 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5737 cat >>confdefs.h
<<_ACEOF
5738 #define PACKAGE "$PACKAGE"
5742 cat >>confdefs.h
<<_ACEOF
5743 #define VERSION "$VERSION"
5752 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5753 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5754 if test "${ac_cv_c_const+set}" = set; then
5755 $as_echo_n "(cached) " >&6
5757 cat >conftest.
$ac_ext <<_ACEOF
5760 cat confdefs.h
>>conftest.
$ac_ext
5761 cat >>conftest.
$ac_ext <<_ACEOF
5762 /* end confdefs.h. */
5767 /* FIXME: Include the comments suggested by Paul. */
5769 /* Ultrix mips cc rejects this. */
5770 typedef int charset[2];
5772 /* SunOS 4.1.1 cc rejects this. */
5773 char const *const *pcpcc;
5775 /* NEC SVR4.0.2 mips cc rejects this. */
5776 struct point {int x, y;};
5777 static struct point const zero = {0,0};
5778 /* AIX XL C 1.02.0.0 rejects this.
5779 It does not let you subtract one const X* pointer from another in
5780 an arm of an if-expression whose if-part is not a constant
5782 const char *g = "string";
5783 pcpcc = &g + (g ? g-g : 0);
5784 /* HPUX 7.0 cc rejects these. */
5786 ppc = (char**) pcpcc;
5787 pcpcc = (char const *const *) ppc;
5788 { /* SCO 3.2v4 cc rejects this. */
5790 char const *s = 0 ? (char *) 0 : (char const *) 0;
5795 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5797 const int *foo = &x[0];
5800 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5801 typedef const int *iptr;
5805 { /* AIX XL C 1.02.0.0 rejects this saying
5806 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5807 struct s { int j; const int *ap[3]; };
5808 struct s *b; b->j = 5;
5810 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5814 return !cs[0] && !zero.x;
5821 rm -f conftest.
$ac_objext
5822 if { (ac_try
="$ac_compile"
5824 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5825 *) ac_try_echo=$ac_try;;
5827 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5828 $as_echo "$ac_try_echo") >&5
5829 (eval "$ac_compile") 2>conftest.er1
5831 grep -v '^ *+' conftest.er1 >conftest.err
5833 cat conftest.err >&5
5834 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5835 (exit $ac_status); } && {
5836 test -z "$ac_c_werror_flag" ||
5837 test ! -s conftest.err
5838 } && test -s conftest.$ac_objext; then
5841 $as_echo "$as_me: failed program was:" >&5
5842 sed 's/^/| /' conftest.$ac_ext >&5
5847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5849 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5850 $as_echo "$ac_cv_c_const" >&6; }
5851 if test $ac_cv_c_const = no; then
5853 cat >>confdefs.h <<\_ACEOF
5859 { $as_echo "$as_me:$LINENO: checking for inline" >&5
5860 $as_echo_n "checking for inline... " >&6; }
5861 if test "${ac_cv_c_inline+set}" = set; then
5862 $as_echo_n "(cached) " >&6
5865 for ac_kw in inline __inline__ __inline; do
5866 cat >conftest.$ac_ext <<_ACEOF
5869 cat confdefs.h >>conftest.$ac_ext
5870 cat >>conftest.$ac_ext <<_ACEOF
5871 /* end confdefs.h. */
5874 static $ac_kw foo_t static_foo () {return 0; }
5875 $ac_kw foo_t foo () {return 0; }
5879 rm -f conftest.$ac_objext
5880 if { (ac_try="$ac_compile"
5882 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5883 *) ac_try_echo
=$ac_try;;
5885 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5886 $as_echo "$ac_try_echo") >&5
5887 (eval "$ac_compile") 2>conftest.er1
5889 grep -v '^ *+' conftest.er1
>conftest.err
5891 cat conftest.err
>&5
5892 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5893 (exit $ac_status); } && {
5894 test -z "$ac_c_werror_flag" ||
5895 test ! -s conftest.err
5896 } && test -s conftest.
$ac_objext; then
5897 ac_cv_c_inline
=$ac_kw
5899 $as_echo "$as_me: failed program was:" >&5
5900 sed 's/^/| /' conftest.
$ac_ext >&5
5905 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5906 test "$ac_cv_c_inline" != no
&& break
5910 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5911 $as_echo "$ac_cv_c_inline" >&6; }
5914 case $ac_cv_c_inline in
5917 case $ac_cv_c_inline in
5919 *) ac_val
=$ac_cv_c_inline;;
5921 cat >>confdefs.h
<<_ACEOF
5923 #define inline $ac_val
5929 { $as_echo "$as_me:$LINENO: checking for off_t" >&5
5930 $as_echo_n "checking for off_t... " >&6; }
5931 if test "${ac_cv_type_off_t+set}" = set; then
5932 $as_echo_n "(cached) " >&6
5935 cat >conftest.
$ac_ext <<_ACEOF
5938 cat confdefs.h
>>conftest.
$ac_ext
5939 cat >>conftest.
$ac_ext <<_ACEOF
5940 /* end confdefs.h. */
5941 $ac_includes_default
5951 rm -f conftest.
$ac_objext
5952 if { (ac_try
="$ac_compile"
5954 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5955 *) ac_try_echo=$ac_try;;
5957 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5958 $as_echo "$ac_try_echo") >&5
5959 (eval "$ac_compile") 2>conftest.er1
5961 grep -v '^ *+' conftest.er1 >conftest.err
5963 cat conftest.err >&5
5964 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5965 (exit $ac_status); } && {
5966 test -z "$ac_c_werror_flag" ||
5967 test ! -s conftest.err
5968 } && test -s conftest.$ac_objext; then
5969 cat >conftest.$ac_ext <<_ACEOF
5972 cat confdefs.h >>conftest.$ac_ext
5973 cat >>conftest.$ac_ext <<_ACEOF
5974 /* end confdefs.h. */
5975 $ac_includes_default
5979 if (sizeof ((off_t)))
5985 rm -f conftest.$ac_objext
5986 if { (ac_try="$ac_compile"
5988 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5989 *) ac_try_echo
=$ac_try;;
5991 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5992 $as_echo "$ac_try_echo") >&5
5993 (eval "$ac_compile") 2>conftest.er1
5995 grep -v '^ *+' conftest.er1
>conftest.err
5997 cat conftest.err
>&5
5998 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5999 (exit $ac_status); } && {
6000 test -z "$ac_c_werror_flag" ||
6001 test ! -s conftest.err
6002 } && test -s conftest.
$ac_objext; then
6005 $as_echo "$as_me: failed program was:" >&5
6006 sed 's/^/| /' conftest.
$ac_ext >&5
6008 ac_cv_type_off_t
=yes
6011 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6013 $as_echo "$as_me: failed program was:" >&5
6014 sed 's/^/| /' conftest.
$ac_ext >&5
6019 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6021 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
6022 $as_echo "$ac_cv_type_off_t" >&6; }
6023 if test "x$ac_cv_type_off_t" = x
""yes; then
6027 cat >>confdefs.h
<<_ACEOF
6028 #define off_t long int
6033 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
6034 $as_echo_n "checking for size_t... " >&6; }
6035 if test "${ac_cv_type_size_t+set}" = set; then
6036 $as_echo_n "(cached) " >&6
6038 ac_cv_type_size_t
=no
6039 cat >conftest.
$ac_ext <<_ACEOF
6042 cat confdefs.h
>>conftest.
$ac_ext
6043 cat >>conftest.
$ac_ext <<_ACEOF
6044 /* end confdefs.h. */
6045 $ac_includes_default
6049 if (sizeof (size_t))
6055 rm -f conftest.
$ac_objext
6056 if { (ac_try
="$ac_compile"
6058 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6059 *) ac_try_echo=$ac_try;;
6061 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6062 $as_echo "$ac_try_echo") >&5
6063 (eval "$ac_compile") 2>conftest.er1
6065 grep -v '^ *+' conftest.er1 >conftest.err
6067 cat conftest.err >&5
6068 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6069 (exit $ac_status); } && {
6070 test -z "$ac_c_werror_flag" ||
6071 test ! -s conftest.err
6072 } && test -s conftest.$ac_objext; then
6073 cat >conftest.$ac_ext <<_ACEOF
6076 cat confdefs.h >>conftest.$ac_ext
6077 cat >>conftest.$ac_ext <<_ACEOF
6078 /* end confdefs.h. */
6079 $ac_includes_default
6083 if (sizeof ((size_t)))
6089 rm -f conftest.$ac_objext
6090 if { (ac_try="$ac_compile"
6092 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6093 *) ac_try_echo
=$ac_try;;
6095 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6096 $as_echo "$ac_try_echo") >&5
6097 (eval "$ac_compile") 2>conftest.er1
6099 grep -v '^ *+' conftest.er1
>conftest.err
6101 cat conftest.err
>&5
6102 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6103 (exit $ac_status); } && {
6104 test -z "$ac_c_werror_flag" ||
6105 test ! -s conftest.err
6106 } && test -s conftest.
$ac_objext; then
6109 $as_echo "$as_me: failed program was:" >&5
6110 sed 's/^/| /' conftest.
$ac_ext >&5
6112 ac_cv_type_size_t
=yes
6115 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6117 $as_echo "$as_me: failed program was:" >&5
6118 sed 's/^/| /' conftest.
$ac_ext >&5
6123 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6125 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6126 $as_echo "$ac_cv_type_size_t" >&6; }
6127 if test "x$ac_cv_type_size_t" = x
""yes; then
6131 cat >>confdefs.h
<<_ACEOF
6132 #define size_t unsigned int
6137 { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6138 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6139 if test "${ac_cv_struct_tm+set}" = set; then
6140 $as_echo_n "(cached) " >&6
6142 cat >conftest.
$ac_ext <<_ACEOF
6145 cat confdefs.h
>>conftest.
$ac_ext
6146 cat >>conftest.
$ac_ext <<_ACEOF
6147 /* end confdefs.h. */
6148 #include <sys/types.h>
6155 int *p = &tm.tm_sec;
6161 rm -f conftest.
$ac_objext
6162 if { (ac_try
="$ac_compile"
6164 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6165 *) ac_try_echo=$ac_try;;
6167 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6168 $as_echo "$ac_try_echo") >&5
6169 (eval "$ac_compile") 2>conftest.er1
6171 grep -v '^ *+' conftest.er1 >conftest.err
6173 cat conftest.err >&5
6174 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6175 (exit $ac_status); } && {
6176 test -z "$ac_c_werror_flag" ||
6177 test ! -s conftest.err
6178 } && test -s conftest.$ac_objext; then
6179 ac_cv_struct_tm=time.h
6181 $as_echo "$as_me: failed program was:" >&5
6182 sed 's/^/| /' conftest.$ac_ext >&5
6184 ac_cv_struct_tm=sys/time.h
6187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6189 { $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6190 $as_echo "$ac_cv_struct_tm" >&6; }
6191 if test $ac_cv_struct_tm = sys/time.h; then
6193 cat >>confdefs.h <<\_ACEOF
6194 #define TM_IN_SYS_TIME 1
6199 { $as_echo "$as_me:$LINENO: checking for boolean" >&5
6200 $as_echo_n "checking for boolean... " >&6; }
6201 if test "${ac_cv_type_boolean+set}" = set; then
6202 $as_echo_n "(cached) " >&6
6204 ac_cv_type_boolean=no
6205 cat >conftest.$ac_ext <<_ACEOF
6208 cat confdefs.h >>conftest.$ac_ext
6209 cat >>conftest.$ac_ext <<_ACEOF
6210 /* end confdefs.h. */
6211 $ac_includes_default
6215 if (sizeof (boolean))
6221 rm -f conftest.$ac_objext
6222 if { (ac_try="$ac_compile"
6224 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6225 *) ac_try_echo
=$ac_try;;
6227 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6228 $as_echo "$ac_try_echo") >&5
6229 (eval "$ac_compile") 2>conftest.er1
6231 grep -v '^ *+' conftest.er1
>conftest.err
6233 cat conftest.err
>&5
6234 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6235 (exit $ac_status); } && {
6236 test -z "$ac_c_werror_flag" ||
6237 test ! -s conftest.err
6238 } && test -s conftest.
$ac_objext; then
6239 cat >conftest.
$ac_ext <<_ACEOF
6242 cat confdefs.h
>>conftest.
$ac_ext
6243 cat >>conftest.
$ac_ext <<_ACEOF
6244 /* end confdefs.h. */
6245 $ac_includes_default
6249 if (sizeof ((boolean)))
6255 rm -f conftest.
$ac_objext
6256 if { (ac_try
="$ac_compile"
6258 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6259 *) ac_try_echo=$ac_try;;
6261 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6262 $as_echo "$ac_try_echo") >&5
6263 (eval "$ac_compile") 2>conftest.er1
6265 grep -v '^ *+' conftest.er1 >conftest.err
6267 cat conftest.err >&5
6268 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6269 (exit $ac_status); } && {
6270 test -z "$ac_c_werror_flag" ||
6271 test ! -s conftest.err
6272 } && test -s conftest.$ac_objext; then
6275 $as_echo "$as_me: failed program was:" >&5
6276 sed 's/^/| /' conftest.$ac_ext >&5
6278 ac_cv_type_boolean=yes
6281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6283 $as_echo "$as_me: failed program was:" >&5
6284 sed 's/^/| /' conftest.$ac_ext >&5
6289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6291 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
6292 $as_echo "$ac_cv_type_boolean" >&6; }
6293 if test "x$ac_cv_type_boolean" = x""yes; then
6297 cat >>confdefs.h <<_ACEOF
6318 for ac_func in popen wcschr wcsdup mkstemp stat mmap lrand48 rand srand48 srand bcopy bzero time getrusage mallinfo
6320 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
6321 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6322 $as_echo_n "checking for $ac_func... " >&6; }
6323 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6324 $as_echo_n "(cached) " >&6
6326 cat >conftest.$ac_ext <<_ACEOF
6329 cat confdefs.h >>conftest.$ac_ext
6330 cat >>conftest.$ac_ext <<_ACEOF
6331 /* end confdefs.h. */
6332 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6334 #define $ac_func innocuous_$ac_func
6336 /* System header to define __stub macros and hopefully few prototypes,
6337 which can conflict with char $ac_func (); below.
6338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6339 <limits.h> exists even on freestanding compilers. */
6342 # include <limits.h>
6344 # include <assert.h>
6349 /* Override any GCC internal prototype to avoid an error.
6350 Use char because int might match the return type of a GCC
6351 builtin and then its argument prototype would still apply. */
6356 /* The GNU C library defines this for functions which it implements
6357 to always fail with ENOSYS. Some functions are actually named
6358 something starting with __ and the normal name is an alias. */
6359 #if defined __stub_$ac_func || defined __stub___$ac_func
6371 rm -f conftest.$ac_objext conftest$ac_exeext
6372 if { (ac_try="$ac_link"
6374 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6375 *) ac_try_echo
=$ac_try;;
6377 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6378 $as_echo "$ac_try_echo") >&5
6379 (eval "$ac_link") 2>conftest.er1
6381 grep -v '^ *+' conftest.er1
>conftest.err
6383 cat conftest.err
>&5
6384 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6385 (exit $ac_status); } && {
6386 test -z "$ac_c_werror_flag" ||
6387 test ! -s conftest.err
6388 } && test -s conftest
$ac_exeext && {
6389 test "$cross_compiling" = yes ||
6390 $as_test_x conftest
$ac_exeext
6392 eval "$as_ac_var=yes"
6394 $as_echo "$as_me: failed program was:" >&5
6395 sed 's/^/| /' conftest.
$ac_ext >&5
6397 eval "$as_ac_var=no"
6400 rm -rf conftest.dSYM
6401 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6402 conftest
$ac_exeext conftest.
$ac_ext
6404 ac_res
=`eval 'as_val=${'$as_ac_var'}
6405 $as_echo "$as_val"'`
6406 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6407 $as_echo "$ac_res" >&6; }
6408 as_val
=`eval 'as_val=${'$as_ac_var'}
6409 $as_echo "$as_val"'`
6410 if test "x$as_val" = x
""yes; then
6411 cat >>confdefs.h
<<_ACEOF
6412 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6419 # The cast to long int works around a bug in the HP C Compiler
6420 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6421 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6422 # This bug is HP SR number 8606223364.
6423 { $as_echo "$as_me:$LINENO: checking size of signed char" >&5
6424 $as_echo_n "checking size of signed char... " >&6; }
6425 if test "${ac_cv_sizeof_signed_char+set}" = set; then
6426 $as_echo_n "(cached) " >&6
6428 if test "$cross_compiling" = yes; then
6429 # Depending upon the size, compute the lo and hi bounds.
6430 cat >conftest.
$ac_ext <<_ACEOF
6433 cat confdefs.h
>>conftest.
$ac_ext
6434 cat >>conftest.
$ac_ext <<_ACEOF
6435 /* end confdefs.h. */
6436 $ac_includes_default
6440 static int test_array [1 - 2 * !(((long int) (sizeof (signed char))) >= 0)];
6447 rm -f conftest.
$ac_objext
6448 if { (ac_try
="$ac_compile"
6450 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6451 *) ac_try_echo=$ac_try;;
6453 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6454 $as_echo "$ac_try_echo") >&5
6455 (eval "$ac_compile") 2>conftest.er1
6457 grep -v '^ *+' conftest.er1 >conftest.err
6459 cat conftest.err >&5
6460 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6461 (exit $ac_status); } && {
6462 test -z "$ac_c_werror_flag" ||
6463 test ! -s conftest.err
6464 } && test -s conftest.$ac_objext; then
6467 cat >conftest.$ac_ext <<_ACEOF
6470 cat confdefs.h >>conftest.$ac_ext
6471 cat >>conftest.$ac_ext <<_ACEOF
6472 /* end confdefs.h. */
6473 $ac_includes_default
6477 static int test_array [1 - 2 * !(((long int) (sizeof (signed char))) <= $ac_mid)];
6484 rm -f conftest.$ac_objext
6485 if { (ac_try="$ac_compile"
6487 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6488 *) ac_try_echo
=$ac_try;;
6490 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6491 $as_echo "$ac_try_echo") >&5
6492 (eval "$ac_compile") 2>conftest.er1
6494 grep -v '^ *+' conftest.er1
>conftest.err
6496 cat conftest.err
>&5
6497 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6498 (exit $ac_status); } && {
6499 test -z "$ac_c_werror_flag" ||
6500 test ! -s conftest.err
6501 } && test -s conftest.
$ac_objext; then
6502 ac_hi
=$ac_mid; break
6504 $as_echo "$as_me: failed program was:" >&5
6505 sed 's/^/| /' conftest.
$ac_ext >&5
6507 ac_lo
=`expr $ac_mid + 1`
6508 if test $ac_lo -le $ac_mid; then
6512 ac_mid
=`expr 2 '*' $ac_mid + 1`
6515 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6518 $as_echo "$as_me: failed program was:" >&5
6519 sed 's/^/| /' conftest.
$ac_ext >&5
6521 cat >conftest.
$ac_ext <<_ACEOF
6524 cat confdefs.h
>>conftest.
$ac_ext
6525 cat >>conftest.
$ac_ext <<_ACEOF
6526 /* end confdefs.h. */
6527 $ac_includes_default
6531 static int test_array [1 - 2 * !(((long int) (sizeof (signed char))) < 0)];
6538 rm -f conftest.
$ac_objext
6539 if { (ac_try
="$ac_compile"
6541 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6542 *) ac_try_echo=$ac_try;;
6544 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6545 $as_echo "$ac_try_echo") >&5
6546 (eval "$ac_compile") 2>conftest.er1
6548 grep -v '^ *+' conftest.er1 >conftest.err
6550 cat conftest.err >&5
6551 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6552 (exit $ac_status); } && {
6553 test -z "$ac_c_werror_flag" ||
6554 test ! -s conftest.err
6555 } && test -s conftest.$ac_objext; then
6558 cat >conftest.$ac_ext <<_ACEOF
6561 cat confdefs.h >>conftest.$ac_ext
6562 cat >>conftest.$ac_ext <<_ACEOF
6563 /* end confdefs.h. */
6564 $ac_includes_default
6568 static int test_array [1 - 2 * !(((long int) (sizeof (signed char))) >= $ac_mid)];
6575 rm -f conftest.$ac_objext
6576 if { (ac_try="$ac_compile"
6578 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6579 *) ac_try_echo
=$ac_try;;
6581 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6582 $as_echo "$ac_try_echo") >&5
6583 (eval "$ac_compile") 2>conftest.er1
6585 grep -v '^ *+' conftest.er1
>conftest.err
6587 cat conftest.err
>&5
6588 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6589 (exit $ac_status); } && {
6590 test -z "$ac_c_werror_flag" ||
6591 test ! -s conftest.err
6592 } && test -s conftest.
$ac_objext; then
6593 ac_lo
=$ac_mid; break
6595 $as_echo "$as_me: failed program was:" >&5
6596 sed 's/^/| /' conftest.
$ac_ext >&5
6598 ac_hi
=`expr '(' $ac_mid ')' - 1`
6599 if test $ac_mid -le $ac_hi; then
6603 ac_mid
=`expr 2 '*' $ac_mid`
6606 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6609 $as_echo "$as_me: failed program was:" >&5
6610 sed 's/^/| /' conftest.
$ac_ext >&5
6615 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6618 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6619 # Binary search between lo and hi bounds.
6620 while test "x$ac_lo" != "x$ac_hi"; do
6621 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6622 cat >conftest.
$ac_ext <<_ACEOF
6625 cat confdefs.h
>>conftest.
$ac_ext
6626 cat >>conftest.
$ac_ext <<_ACEOF
6627 /* end confdefs.h. */
6628 $ac_includes_default
6632 static int test_array [1 - 2 * !(((long int) (sizeof (signed char))) <= $ac_mid)];
6639 rm -f conftest.
$ac_objext
6640 if { (ac_try
="$ac_compile"
6642 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6643 *) ac_try_echo=$ac_try;;
6645 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6646 $as_echo "$ac_try_echo") >&5
6647 (eval "$ac_compile") 2>conftest.er1
6649 grep -v '^ *+' conftest.er1 >conftest.err
6651 cat conftest.err >&5
6652 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6653 (exit $ac_status); } && {
6654 test -z "$ac_c_werror_flag" ||
6655 test ! -s conftest.err
6656 } && test -s conftest.$ac_objext; then
6659 $as_echo "$as_me: failed program was:" >&5
6660 sed 's/^/| /' conftest.$ac_ext >&5
6662 ac_lo=`expr '(' $ac_mid ')' + 1`
6665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6668 ?*) ac_cv_sizeof_signed_char=$ac_lo;;
6669 '') if test "$ac_cv_type_signed_char" = yes; then
6670 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6671 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6672 { { $as_echo "$as_me:$LINENO: error
: cannot compute sizeof
(signed char
)
6673 See \
`config.log' for more details." >&5
6674 $as_echo "$as_me: error: cannot compute sizeof (signed char)
6675 See \`config.log
' for more details." >&2;}
6676 { (exit 77); exit 77; }; }; }
6678 ac_cv_sizeof_signed_char=0
6682 cat >conftest.$ac_ext <<_ACEOF
6685 cat confdefs.h >>conftest.$ac_ext
6686 cat >>conftest.$ac_ext <<_ACEOF
6687 /* end confdefs.h. */
6688 $ac_includes_default
6689 static long int longval () { return (long int) (sizeof (signed char)); }
6690 static unsigned long int ulongval () { return (long int) (sizeof (signed char)); }
6697 FILE *f = fopen ("conftest.val", "w");
6700 if (((long int) (sizeof (signed char))) < 0)
6702 long int i = longval ();
6703 if (i != ((long int) (sizeof (signed char))))
6705 fprintf (f, "%ld", i);
6709 unsigned long int i = ulongval ();
6710 if (i != ((long int) (sizeof (signed char))))
6712 fprintf (f, "%lu", i);
6714 /* Do not output a trailing newline, as this causes \r\n confusion
6715 on some platforms. */
6716 return ferror (f) || fclose (f) != 0;
6722 rm -f conftest$ac_exeext
6723 if { (ac_try="$ac_link"
6725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6726 *) ac_try_echo=$ac_try;;
6728 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6729 $as_echo "$ac_try_echo") >&5
6730 (eval "$ac_link") 2>&5
6732 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6733 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
6734 { (case "(($ac_try" in
6735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6736 *) ac_try_echo=$ac_try;;
6738 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6739 $as_echo "$ac_try_echo") >&5
6740 (eval "$ac_try") 2>&5
6742 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6743 (exit $ac_status); }; }; then
6744 ac_cv_sizeof_signed_char=`cat conftest.val`
6746 $as_echo "$as_me: program exited with status $ac_status" >&5
6747 $as_echo "$as_me: failed program was:" >&5
6748 sed 's
/^
/|
/' conftest.$ac_ext >&5
6751 if test "$ac_cv_type_signed_char" = yes; then
6752 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6753 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
6754 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (signed char)
6755 See \`config.log
' for more details." >&5
6756 $as_echo "$as_me: error: cannot compute sizeof (signed char)
6757 See \`config.log' for more details.
" >&2;}
6758 { (exit 77); exit 77; }; }; }
6760 ac_cv_sizeof_signed_char=0
6763 rm -rf conftest.dSYM
6764 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6768 { $as_echo "$as_me:$LINENO: result
: $ac_cv_sizeof_signed_char" >&5
6769 $as_echo "$ac_cv_sizeof_signed_char" >&6; }
6773 cat >>confdefs.h <<_ACEOF
6774 #define SIZEOF_SIGNED_CHAR $ac_cv_sizeof_signed_char
6778 # The cast to long int works around a bug in the HP C Compiler
6779 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6780 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6781 # This bug is HP SR number 8606223364.
6782 { $as_echo "$as_me:$LINENO: checking size of signed short
" >&5
6783 $as_echo_n "checking size of signed short...
" >&6; }
6784 if test "${ac_cv_sizeof_signed_short+set}" = set; then
6785 $as_echo_n "(cached
) " >&6
6787 if test "$cross_compiling" = yes; then
6788 # Depending upon the size, compute the lo and hi bounds.
6789 cat >conftest.$ac_ext <<_ACEOF
6792 cat confdefs.h >>conftest.$ac_ext
6793 cat >>conftest.$ac_ext <<_ACEOF
6794 /* end confdefs.h. */
6795 $ac_includes_default
6799 static int test_array [1 - 2 * !(((long int) (sizeof (signed short))) >= 0)];
6806 rm -f conftest.$ac_objext
6807 if { (ac_try="$ac_compile"
6809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6810 *) ac_try_echo=$ac_try;;
6812 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6813 $as_echo "$ac_try_echo") >&5
6814 (eval "$ac_compile") 2>conftest.er1
6816 grep -v '^ *+' conftest.er1 >conftest.err
6818 cat conftest.err >&5
6819 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6820 (exit $ac_status); } && {
6821 test -z "$ac_c_werror_flag" ||
6822 test ! -s conftest.err
6823 } && test -s conftest.$ac_objext; then
6826 cat >conftest.$ac_ext <<_ACEOF
6829 cat confdefs.h >>conftest.$ac_ext
6830 cat >>conftest.$ac_ext <<_ACEOF
6831 /* end confdefs.h. */
6832 $ac_includes_default
6836 static int test_array [1 - 2 * !(((long int) (sizeof (signed short))) <= $ac_mid)];
6843 rm -f conftest.$ac_objext
6844 if { (ac_try="$ac_compile"
6846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6847 *) ac_try_echo=$ac_try;;
6849 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6850 $as_echo "$ac_try_echo") >&5
6851 (eval "$ac_compile") 2>conftest.er1
6853 grep -v '^ *+' conftest.er1 >conftest.err
6855 cat conftest.err >&5
6856 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6857 (exit $ac_status); } && {
6858 test -z "$ac_c_werror_flag" ||
6859 test ! -s conftest.err
6860 } && test -s conftest.$ac_objext; then
6861 ac_hi=$ac_mid; break
6863 $as_echo "$as_me: failed program was
:" >&5
6864 sed 's/^/| /' conftest.$ac_ext >&5
6866 ac_lo=`expr $ac_mid + 1`
6867 if test $ac_lo -le $ac_mid; then
6871 ac_mid=`expr 2 '*' $ac_mid + 1`
6874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6877 $as_echo "$as_me: failed program was
:" >&5
6878 sed 's/^/| /' conftest.$ac_ext >&5
6880 cat >conftest.$ac_ext <<_ACEOF
6883 cat confdefs.h >>conftest.$ac_ext
6884 cat >>conftest.$ac_ext <<_ACEOF
6885 /* end confdefs.h. */
6886 $ac_includes_default
6890 static int test_array [1 - 2 * !(((long int) (sizeof (signed short))) < 0)];
6897 rm -f conftest.$ac_objext
6898 if { (ac_try="$ac_compile"
6900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6901 *) ac_try_echo=$ac_try;;
6903 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6904 $as_echo "$ac_try_echo") >&5
6905 (eval "$ac_compile") 2>conftest.er1
6907 grep -v '^ *+' conftest.er1 >conftest.err
6909 cat conftest.err >&5
6910 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6911 (exit $ac_status); } && {
6912 test -z "$ac_c_werror_flag" ||
6913 test ! -s conftest.err
6914 } && test -s conftest.$ac_objext; then
6917 cat >conftest.$ac_ext <<_ACEOF
6920 cat confdefs.h >>conftest.$ac_ext
6921 cat >>conftest.$ac_ext <<_ACEOF
6922 /* end confdefs.h. */
6923 $ac_includes_default
6927 static int test_array [1 - 2 * !(((long int) (sizeof (signed short))) >= $ac_mid)];
6934 rm -f conftest.$ac_objext
6935 if { (ac_try="$ac_compile"
6937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6938 *) ac_try_echo=$ac_try;;
6940 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6941 $as_echo "$ac_try_echo") >&5
6942 (eval "$ac_compile") 2>conftest.er1
6944 grep -v '^ *+' conftest.er1 >conftest.err
6946 cat conftest.err >&5
6947 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6948 (exit $ac_status); } && {
6949 test -z "$ac_c_werror_flag" ||
6950 test ! -s conftest.err
6951 } && test -s conftest.$ac_objext; then
6952 ac_lo=$ac_mid; break
6954 $as_echo "$as_me: failed program was
:" >&5
6955 sed 's/^/| /' conftest.$ac_ext >&5
6957 ac_hi=`expr '(' $ac_mid ')' - 1`
6958 if test $ac_mid -le $ac_hi; then
6962 ac_mid=`expr 2 '*' $ac_mid`
6965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6968 $as_echo "$as_me: failed program was
:" >&5
6969 sed 's/^/| /' conftest.$ac_ext >&5
6974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6978 # Binary search between lo and hi bounds.
6979 while test "x
$ac_lo" != "x
$ac_hi"; do
6980 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6981 cat >conftest.$ac_ext <<_ACEOF
6984 cat confdefs.h >>conftest.$ac_ext
6985 cat >>conftest.$ac_ext <<_ACEOF
6986 /* end confdefs.h. */
6987 $ac_includes_default
6991 static int test_array [1 - 2 * !(((long int) (sizeof (signed short))) <= $ac_mid)];
6998 rm -f conftest.$ac_objext
6999 if { (ac_try="$ac_compile"
7001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7002 *) ac_try_echo=$ac_try;;
7004 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7005 $as_echo "$ac_try_echo") >&5
7006 (eval "$ac_compile") 2>conftest.er1
7008 grep -v '^ *+' conftest.er1 >conftest.err
7010 cat conftest.err >&5
7011 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7012 (exit $ac_status); } && {
7013 test -z "$ac_c_werror_flag" ||
7014 test ! -s conftest.err
7015 } && test -s conftest.$ac_objext; then
7018 $as_echo "$as_me: failed program was
:" >&5
7019 sed 's/^/| /' conftest.$ac_ext >&5
7021 ac_lo=`expr '(' $ac_mid ')' + 1`
7024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7027 ?*) ac_cv_sizeof_signed_short=$ac_lo;;
7028 '') if test "$ac_cv_type_signed_short" = yes; then
7029 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
7030 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7031 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (signed short)
7032 See \`config.log' for more details.
" >&5
7033 $as_echo "$as_me: error
: cannot compute sizeof
(signed short
)
7034 See \
`config.log' for more details." >&2;}
7035 { (exit 77); exit 77; }; }; }
7037 ac_cv_sizeof_signed_short=0
7041 cat >conftest.$ac_ext <<_ACEOF
7044 cat confdefs.h >>conftest.$ac_ext
7045 cat >>conftest.$ac_ext <<_ACEOF
7046 /* end confdefs.h. */
7047 $ac_includes_default
7048 static long int longval () { return (long int) (sizeof (signed short)); }
7049 static unsigned long int ulongval () { return (long int) (sizeof (signed short)); }
7056 FILE *f = fopen ("conftest.val", "w");
7059 if (((long int) (sizeof (signed short))) < 0)
7061 long int i = longval ();
7062 if (i != ((long int) (sizeof (signed short))))
7064 fprintf (f, "%ld", i);
7068 unsigned long int i = ulongval ();
7069 if (i != ((long int) (sizeof (signed short))))
7071 fprintf (f, "%lu", i);
7073 /* Do not output a trailing newline, as this causes \r\n confusion
7074 on some platforms. */
7075 return ferror (f) || fclose (f) != 0;
7081 rm -f conftest$ac_exeext
7082 if { (ac_try="$ac_link"
7084 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7085 *) ac_try_echo
=$ac_try;;
7087 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7088 $as_echo "$ac_try_echo") >&5
7089 (eval "$ac_link") 2>&5
7091 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7092 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7093 { (case "(($ac_try" in
7094 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7095 *) ac_try_echo=$ac_try;;
7097 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7098 $as_echo "$ac_try_echo") >&5
7099 (eval "$ac_try") 2>&5
7101 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7102 (exit $ac_status); }; }; then
7103 ac_cv_sizeof_signed_short=`cat conftest.val
`
7105 $as_echo "$as_me: program exited with status $ac_status" >&5
7106 $as_echo "$as_me: failed program was:" >&5
7107 sed 's/^/| /' conftest.$ac_ext >&5
7110 if test "$ac_cv_type_signed_short" = yes; then
7111 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
7112 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7113 { { $as_echo "$as_me:$LINENO: error
: cannot compute sizeof
(signed short
)
7114 See \
`config.log' for more details." >&5
7115 $as_echo "$as_me: error: cannot compute sizeof (signed short)
7116 See \`config.log
' for more details." >&2;}
7117 { (exit 77); exit 77; }; }; }
7119 ac_cv_sizeof_signed_short=0
7122 rm -rf conftest.dSYM
7123 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7127 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_signed_short" >&5
7128 $as_echo "$ac_cv_sizeof_signed_short" >&6; }
7132 cat >>confdefs.h <<_ACEOF
7133 #define SIZEOF_SIGNED_SHORT $ac_cv_sizeof_signed_short
7137 # The cast to long int works around a bug in the HP C Compiler
7138 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7139 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7140 # This bug is HP SR number 8606223364.
7141 { $as_echo "$as_me:$LINENO: checking size of signed" >&5
7142 $as_echo_n "checking size of signed... " >&6; }
7143 if test "${ac_cv_sizeof_signed+set}" = set; then
7144 $as_echo_n "(cached) " >&6
7146 if test "$cross_compiling" = yes; then
7147 # Depending upon the size, compute the lo and hi bounds.
7148 cat >conftest.
$ac_ext <<_ACEOF
7151 cat confdefs.h
>>conftest.
$ac_ext
7152 cat >>conftest.
$ac_ext <<_ACEOF
7153 /* end confdefs.h. */
7154 $ac_includes_default
7158 static int test_array [1 - 2 * !(((long int) (sizeof (signed))) >= 0)];
7165 rm -f conftest.
$ac_objext
7166 if { (ac_try
="$ac_compile"
7168 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7169 *) ac_try_echo=$ac_try;;
7171 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7172 $as_echo "$ac_try_echo") >&5
7173 (eval "$ac_compile") 2>conftest.er1
7175 grep -v '^ *+' conftest.er1 >conftest.err
7177 cat conftest.err >&5
7178 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7179 (exit $ac_status); } && {
7180 test -z "$ac_c_werror_flag" ||
7181 test ! -s conftest.err
7182 } && test -s conftest.$ac_objext; then
7185 cat >conftest.$ac_ext <<_ACEOF
7188 cat confdefs.h >>conftest.$ac_ext
7189 cat >>conftest.$ac_ext <<_ACEOF
7190 /* end confdefs.h. */
7191 $ac_includes_default
7195 static int test_array [1 - 2 * !(((long int) (sizeof (signed))) <= $ac_mid)];
7202 rm -f conftest.$ac_objext
7203 if { (ac_try="$ac_compile"
7205 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7206 *) ac_try_echo
=$ac_try;;
7208 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7209 $as_echo "$ac_try_echo") >&5
7210 (eval "$ac_compile") 2>conftest.er1
7212 grep -v '^ *+' conftest.er1
>conftest.err
7214 cat conftest.err
>&5
7215 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7216 (exit $ac_status); } && {
7217 test -z "$ac_c_werror_flag" ||
7218 test ! -s conftest.err
7219 } && test -s conftest.
$ac_objext; then
7220 ac_hi
=$ac_mid; break
7222 $as_echo "$as_me: failed program was:" >&5
7223 sed 's/^/| /' conftest.
$ac_ext >&5
7225 ac_lo
=`expr $ac_mid + 1`
7226 if test $ac_lo -le $ac_mid; then
7230 ac_mid
=`expr 2 '*' $ac_mid + 1`
7233 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7236 $as_echo "$as_me: failed program was:" >&5
7237 sed 's/^/| /' conftest.
$ac_ext >&5
7239 cat >conftest.
$ac_ext <<_ACEOF
7242 cat confdefs.h
>>conftest.
$ac_ext
7243 cat >>conftest.
$ac_ext <<_ACEOF
7244 /* end confdefs.h. */
7245 $ac_includes_default
7249 static int test_array [1 - 2 * !(((long int) (sizeof (signed))) < 0)];
7256 rm -f conftest.
$ac_objext
7257 if { (ac_try
="$ac_compile"
7259 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7260 *) ac_try_echo=$ac_try;;
7262 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7263 $as_echo "$ac_try_echo") >&5
7264 (eval "$ac_compile") 2>conftest.er1
7266 grep -v '^ *+' conftest.er1 >conftest.err
7268 cat conftest.err >&5
7269 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7270 (exit $ac_status); } && {
7271 test -z "$ac_c_werror_flag" ||
7272 test ! -s conftest.err
7273 } && test -s conftest.$ac_objext; then
7276 cat >conftest.$ac_ext <<_ACEOF
7279 cat confdefs.h >>conftest.$ac_ext
7280 cat >>conftest.$ac_ext <<_ACEOF
7281 /* end confdefs.h. */
7282 $ac_includes_default
7286 static int test_array [1 - 2 * !(((long int) (sizeof (signed))) >= $ac_mid)];
7293 rm -f conftest.$ac_objext
7294 if { (ac_try="$ac_compile"
7296 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7297 *) ac_try_echo
=$ac_try;;
7299 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7300 $as_echo "$ac_try_echo") >&5
7301 (eval "$ac_compile") 2>conftest.er1
7303 grep -v '^ *+' conftest.er1
>conftest.err
7305 cat conftest.err
>&5
7306 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7307 (exit $ac_status); } && {
7308 test -z "$ac_c_werror_flag" ||
7309 test ! -s conftest.err
7310 } && test -s conftest.
$ac_objext; then
7311 ac_lo
=$ac_mid; break
7313 $as_echo "$as_me: failed program was:" >&5
7314 sed 's/^/| /' conftest.
$ac_ext >&5
7316 ac_hi
=`expr '(' $ac_mid ')' - 1`
7317 if test $ac_mid -le $ac_hi; then
7321 ac_mid
=`expr 2 '*' $ac_mid`
7324 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7327 $as_echo "$as_me: failed program was:" >&5
7328 sed 's/^/| /' conftest.
$ac_ext >&5
7333 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7336 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7337 # Binary search between lo and hi bounds.
7338 while test "x$ac_lo" != "x$ac_hi"; do
7339 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7340 cat >conftest.
$ac_ext <<_ACEOF
7343 cat confdefs.h
>>conftest.
$ac_ext
7344 cat >>conftest.
$ac_ext <<_ACEOF
7345 /* end confdefs.h. */
7346 $ac_includes_default
7350 static int test_array [1 - 2 * !(((long int) (sizeof (signed))) <= $ac_mid)];
7357 rm -f conftest.
$ac_objext
7358 if { (ac_try
="$ac_compile"
7360 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7361 *) ac_try_echo=$ac_try;;
7363 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7364 $as_echo "$ac_try_echo") >&5
7365 (eval "$ac_compile") 2>conftest.er1
7367 grep -v '^ *+' conftest.er1 >conftest.err
7369 cat conftest.err >&5
7370 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7371 (exit $ac_status); } && {
7372 test -z "$ac_c_werror_flag" ||
7373 test ! -s conftest.err
7374 } && test -s conftest.$ac_objext; then
7377 $as_echo "$as_me: failed program was:" >&5
7378 sed 's/^/| /' conftest.$ac_ext >&5
7380 ac_lo=`expr '(' $ac_mid ')' + 1`
7383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7386 ?*) ac_cv_sizeof_signed=$ac_lo;;
7387 '') if test "$ac_cv_type_signed" = yes; then
7388 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
7389 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7390 { { $as_echo "$as_me:$LINENO: error
: cannot compute sizeof
(signed
)
7391 See \
`config.log' for more details." >&5
7392 $as_echo "$as_me: error: cannot compute sizeof (signed)
7393 See \`config.log
' for more details." >&2;}
7394 { (exit 77); exit 77; }; }; }
7396 ac_cv_sizeof_signed=0
7400 cat >conftest.$ac_ext <<_ACEOF
7403 cat confdefs.h >>conftest.$ac_ext
7404 cat >>conftest.$ac_ext <<_ACEOF
7405 /* end confdefs.h. */
7406 $ac_includes_default
7407 static long int longval () { return (long int) (sizeof (signed)); }
7408 static unsigned long int ulongval () { return (long int) (sizeof (signed)); }
7415 FILE *f = fopen ("conftest.val", "w");
7418 if (((long int) (sizeof (signed))) < 0)
7420 long int i = longval ();
7421 if (i != ((long int) (sizeof (signed))))
7423 fprintf (f, "%ld", i);
7427 unsigned long int i = ulongval ();
7428 if (i != ((long int) (sizeof (signed))))
7430 fprintf (f, "%lu", i);
7432 /* Do not output a trailing newline, as this causes \r\n confusion
7433 on some platforms. */
7434 return ferror (f) || fclose (f) != 0;
7440 rm -f conftest$ac_exeext
7441 if { (ac_try="$ac_link"
7443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7444 *) ac_try_echo=$ac_try;;
7446 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7447 $as_echo "$ac_try_echo") >&5
7448 (eval "$ac_link") 2>&5
7450 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7451 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
7452 { (case "(($ac_try" in
7453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7454 *) ac_try_echo=$ac_try;;
7456 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7457 $as_echo "$ac_try_echo") >&5
7458 (eval "$ac_try") 2>&5
7460 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7461 (exit $ac_status); }; }; then
7462 ac_cv_sizeof_signed=`cat conftest.val`
7464 $as_echo "$as_me: program exited with status $ac_status" >&5
7465 $as_echo "$as_me: failed program was:" >&5
7466 sed 's
/^
/|
/' conftest.$ac_ext >&5
7469 if test "$ac_cv_type_signed" = yes; then
7470 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
7471 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
7472 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (signed)
7473 See \`config.log
' for more details." >&5
7474 $as_echo "$as_me: error: cannot compute sizeof (signed)
7475 See \`config.log' for more details.
" >&2;}
7476 { (exit 77); exit 77; }; }; }
7478 ac_cv_sizeof_signed=0
7481 rm -rf conftest.dSYM
7482 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7486 { $as_echo "$as_me:$LINENO: result
: $ac_cv_sizeof_signed" >&5
7487 $as_echo "$ac_cv_sizeof_signed" >&6; }
7491 cat >>confdefs.h <<_ACEOF
7492 #define SIZEOF_SIGNED $ac_cv_sizeof_signed
7496 # The cast to long int works around a bug in the HP C Compiler
7497 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7498 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7499 # This bug is HP SR number 8606223364.
7500 { $as_echo "$as_me:$LINENO: checking size of signed long long
" >&5
7501 $as_echo_n "checking size of signed long long...
" >&6; }
7502 if test "${ac_cv_sizeof_signed_long_long+set}" = set; then
7503 $as_echo_n "(cached
) " >&6
7505 if test "$cross_compiling" = yes; then
7506 # Depending upon the size, compute the lo and hi bounds.
7507 cat >conftest.$ac_ext <<_ACEOF
7510 cat confdefs.h >>conftest.$ac_ext
7511 cat >>conftest.$ac_ext <<_ACEOF
7512 /* end confdefs.h. */
7513 $ac_includes_default
7517 static int test_array [1 - 2 * !(((long int) (sizeof (signed long long))) >= 0)];
7524 rm -f conftest.$ac_objext
7525 if { (ac_try="$ac_compile"
7527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7528 *) ac_try_echo=$ac_try;;
7530 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7531 $as_echo "$ac_try_echo") >&5
7532 (eval "$ac_compile") 2>conftest.er1
7534 grep -v '^ *+' conftest.er1 >conftest.err
7536 cat conftest.err >&5
7537 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7538 (exit $ac_status); } && {
7539 test -z "$ac_c_werror_flag" ||
7540 test ! -s conftest.err
7541 } && test -s conftest.$ac_objext; then
7544 cat >conftest.$ac_ext <<_ACEOF
7547 cat confdefs.h >>conftest.$ac_ext
7548 cat >>conftest.$ac_ext <<_ACEOF
7549 /* end confdefs.h. */
7550 $ac_includes_default
7554 static int test_array [1 - 2 * !(((long int) (sizeof (signed long long))) <= $ac_mid)];
7561 rm -f conftest.$ac_objext
7562 if { (ac_try="$ac_compile"
7564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7565 *) ac_try_echo=$ac_try;;
7567 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7568 $as_echo "$ac_try_echo") >&5
7569 (eval "$ac_compile") 2>conftest.er1
7571 grep -v '^ *+' conftest.er1 >conftest.err
7573 cat conftest.err >&5
7574 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7575 (exit $ac_status); } && {
7576 test -z "$ac_c_werror_flag" ||
7577 test ! -s conftest.err
7578 } && test -s conftest.$ac_objext; then
7579 ac_hi=$ac_mid; break
7581 $as_echo "$as_me: failed program was
:" >&5
7582 sed 's/^/| /' conftest.$ac_ext >&5
7584 ac_lo=`expr $ac_mid + 1`
7585 if test $ac_lo -le $ac_mid; then
7589 ac_mid=`expr 2 '*' $ac_mid + 1`
7592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7595 $as_echo "$as_me: failed program was
:" >&5
7596 sed 's/^/| /' conftest.$ac_ext >&5
7598 cat >conftest.$ac_ext <<_ACEOF
7601 cat confdefs.h >>conftest.$ac_ext
7602 cat >>conftest.$ac_ext <<_ACEOF
7603 /* end confdefs.h. */
7604 $ac_includes_default
7608 static int test_array [1 - 2 * !(((long int) (sizeof (signed long long))) < 0)];
7615 rm -f conftest.$ac_objext
7616 if { (ac_try="$ac_compile"
7618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7619 *) ac_try_echo=$ac_try;;
7621 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7622 $as_echo "$ac_try_echo") >&5
7623 (eval "$ac_compile") 2>conftest.er1
7625 grep -v '^ *+' conftest.er1 >conftest.err
7627 cat conftest.err >&5
7628 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7629 (exit $ac_status); } && {
7630 test -z "$ac_c_werror_flag" ||
7631 test ! -s conftest.err
7632 } && test -s conftest.$ac_objext; then
7635 cat >conftest.$ac_ext <<_ACEOF
7638 cat confdefs.h >>conftest.$ac_ext
7639 cat >>conftest.$ac_ext <<_ACEOF
7640 /* end confdefs.h. */
7641 $ac_includes_default
7645 static int test_array [1 - 2 * !(((long int) (sizeof (signed long long))) >= $ac_mid)];
7652 rm -f conftest.$ac_objext
7653 if { (ac_try="$ac_compile"
7655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7656 *) ac_try_echo=$ac_try;;
7658 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7659 $as_echo "$ac_try_echo") >&5
7660 (eval "$ac_compile") 2>conftest.er1
7662 grep -v '^ *+' conftest.er1 >conftest.err
7664 cat conftest.err >&5
7665 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7666 (exit $ac_status); } && {
7667 test -z "$ac_c_werror_flag" ||
7668 test ! -s conftest.err
7669 } && test -s conftest.$ac_objext; then
7670 ac_lo=$ac_mid; break
7672 $as_echo "$as_me: failed program was
:" >&5
7673 sed 's/^/| /' conftest.$ac_ext >&5
7675 ac_hi=`expr '(' $ac_mid ')' - 1`
7676 if test $ac_mid -le $ac_hi; then
7680 ac_mid=`expr 2 '*' $ac_mid`
7683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7686 $as_echo "$as_me: failed program was
:" >&5
7687 sed 's/^/| /' conftest.$ac_ext >&5
7692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7696 # Binary search between lo and hi bounds.
7697 while test "x
$ac_lo" != "x
$ac_hi"; do
7698 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7699 cat >conftest.$ac_ext <<_ACEOF
7702 cat confdefs.h >>conftest.$ac_ext
7703 cat >>conftest.$ac_ext <<_ACEOF
7704 /* end confdefs.h. */
7705 $ac_includes_default
7709 static int test_array [1 - 2 * !(((long int) (sizeof (signed long long))) <= $ac_mid)];
7716 rm -f conftest.$ac_objext
7717 if { (ac_try="$ac_compile"
7719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7720 *) ac_try_echo=$ac_try;;
7722 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7723 $as_echo "$ac_try_echo") >&5
7724 (eval "$ac_compile") 2>conftest.er1
7726 grep -v '^ *+' conftest.er1 >conftest.err
7728 cat conftest.err >&5
7729 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7730 (exit $ac_status); } && {
7731 test -z "$ac_c_werror_flag" ||
7732 test ! -s conftest.err
7733 } && test -s conftest.$ac_objext; then
7736 $as_echo "$as_me: failed program was
:" >&5
7737 sed 's/^/| /' conftest.$ac_ext >&5
7739 ac_lo=`expr '(' $ac_mid ')' + 1`
7742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7745 ?*) ac_cv_sizeof_signed_long_long=$ac_lo;;
7746 '') if test "$ac_cv_type_signed_long_long" = yes; then
7747 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
7748 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7749 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (signed long long)
7750 See \`config.log' for more details.
" >&5
7751 $as_echo "$as_me: error
: cannot compute sizeof
(signed long long
)
7752 See \
`config.log' for more details." >&2;}
7753 { (exit 77); exit 77; }; }; }
7755 ac_cv_sizeof_signed_long_long=0
7759 cat >conftest.$ac_ext <<_ACEOF
7762 cat confdefs.h >>conftest.$ac_ext
7763 cat >>conftest.$ac_ext <<_ACEOF
7764 /* end confdefs.h. */
7765 $ac_includes_default
7766 static long int longval () { return (long int) (sizeof (signed long long)); }
7767 static unsigned long int ulongval () { return (long int) (sizeof (signed long long)); }
7774 FILE *f = fopen ("conftest.val", "w");
7777 if (((long int) (sizeof (signed long long))) < 0)
7779 long int i = longval ();
7780 if (i != ((long int) (sizeof (signed long long))))
7782 fprintf (f, "%ld", i);
7786 unsigned long int i = ulongval ();
7787 if (i != ((long int) (sizeof (signed long long))))
7789 fprintf (f, "%lu", i);
7791 /* Do not output a trailing newline, as this causes \r\n confusion
7792 on some platforms. */
7793 return ferror (f) || fclose (f) != 0;
7799 rm -f conftest$ac_exeext
7800 if { (ac_try="$ac_link"
7802 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7803 *) ac_try_echo
=$ac_try;;
7805 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7806 $as_echo "$ac_try_echo") >&5
7807 (eval "$ac_link") 2>&5
7809 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7810 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7811 { (case "(($ac_try" in
7812 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7813 *) ac_try_echo=$ac_try;;
7815 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7816 $as_echo "$ac_try_echo") >&5
7817 (eval "$ac_try") 2>&5
7819 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7820 (exit $ac_status); }; }; then
7821 ac_cv_sizeof_signed_long_long=`cat conftest.val
`
7823 $as_echo "$as_me: program exited with status $ac_status" >&5
7824 $as_echo "$as_me: failed program was:" >&5
7825 sed 's/^/| /' conftest.$ac_ext >&5
7828 if test "$ac_cv_type_signed_long_long" = yes; then
7829 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
7830 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7831 { { $as_echo "$as_me:$LINENO: error
: cannot compute sizeof
(signed long long
)
7832 See \
`config.log' for more details." >&5
7833 $as_echo "$as_me: error: cannot compute sizeof (signed long long)
7834 See \`config.log
' for more details." >&2;}
7835 { (exit 77); exit 77; }; }; }
7837 ac_cv_sizeof_signed_long_long=0
7840 rm -rf conftest.dSYM
7841 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7845 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_signed_long_long" >&5
7846 $as_echo "$ac_cv_sizeof_signed_long_long" >&6; }
7850 cat >>confdefs.h <<_ACEOF
7851 #define SIZEOF_SIGNED_LONG_LONG $ac_cv_sizeof_signed_long_long
7855 # The cast to long int works around a bug in the HP C Compiler
7856 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7857 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7858 # This bug is HP SR number 8606223364.
7859 { $as_echo "$as_me:$LINENO: checking size of void*" >&5
7860 $as_echo_n "checking size of void*... " >&6; }
7861 if test "${ac_cv_sizeof_voidp+set}" = set; then
7862 $as_echo_n "(cached) " >&6
7864 if test "$cross_compiling" = yes; then
7865 # Depending upon the size, compute the lo and hi bounds.
7866 cat >conftest.
$ac_ext <<_ACEOF
7869 cat confdefs.h
>>conftest.
$ac_ext
7870 cat >>conftest.
$ac_ext <<_ACEOF
7871 /* end confdefs.h. */
7872 $ac_includes_default
7876 static int test_array [1 - 2 * !(((long int) (sizeof (void*))) >= 0)];
7883 rm -f conftest.
$ac_objext
7884 if { (ac_try
="$ac_compile"
7886 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7887 *) ac_try_echo=$ac_try;;
7889 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7890 $as_echo "$ac_try_echo") >&5
7891 (eval "$ac_compile") 2>conftest.er1
7893 grep -v '^ *+' conftest.er1 >conftest.err
7895 cat conftest.err >&5
7896 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7897 (exit $ac_status); } && {
7898 test -z "$ac_c_werror_flag" ||
7899 test ! -s conftest.err
7900 } && test -s conftest.$ac_objext; then
7903 cat >conftest.$ac_ext <<_ACEOF
7906 cat confdefs.h >>conftest.$ac_ext
7907 cat >>conftest.$ac_ext <<_ACEOF
7908 /* end confdefs.h. */
7909 $ac_includes_default
7913 static int test_array [1 - 2 * !(((long int) (sizeof (void*))) <= $ac_mid)];
7920 rm -f conftest.$ac_objext
7921 if { (ac_try="$ac_compile"
7923 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7924 *) ac_try_echo
=$ac_try;;
7926 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7927 $as_echo "$ac_try_echo") >&5
7928 (eval "$ac_compile") 2>conftest.er1
7930 grep -v '^ *+' conftest.er1
>conftest.err
7932 cat conftest.err
>&5
7933 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7934 (exit $ac_status); } && {
7935 test -z "$ac_c_werror_flag" ||
7936 test ! -s conftest.err
7937 } && test -s conftest.
$ac_objext; then
7938 ac_hi
=$ac_mid; break
7940 $as_echo "$as_me: failed program was:" >&5
7941 sed 's/^/| /' conftest.
$ac_ext >&5
7943 ac_lo
=`expr $ac_mid + 1`
7944 if test $ac_lo -le $ac_mid; then
7948 ac_mid
=`expr 2 '*' $ac_mid + 1`
7951 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7954 $as_echo "$as_me: failed program was:" >&5
7955 sed 's/^/| /' conftest.
$ac_ext >&5
7957 cat >conftest.
$ac_ext <<_ACEOF
7960 cat confdefs.h
>>conftest.
$ac_ext
7961 cat >>conftest.
$ac_ext <<_ACEOF
7962 /* end confdefs.h. */
7963 $ac_includes_default
7967 static int test_array [1 - 2 * !(((long int) (sizeof (void*))) < 0)];
7974 rm -f conftest.
$ac_objext
7975 if { (ac_try
="$ac_compile"
7977 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7978 *) ac_try_echo=$ac_try;;
7980 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7981 $as_echo "$ac_try_echo") >&5
7982 (eval "$ac_compile") 2>conftest.er1
7984 grep -v '^ *+' conftest.er1 >conftest.err
7986 cat conftest.err >&5
7987 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7988 (exit $ac_status); } && {
7989 test -z "$ac_c_werror_flag" ||
7990 test ! -s conftest.err
7991 } && test -s conftest.$ac_objext; then
7994 cat >conftest.$ac_ext <<_ACEOF
7997 cat confdefs.h >>conftest.$ac_ext
7998 cat >>conftest.$ac_ext <<_ACEOF
7999 /* end confdefs.h. */
8000 $ac_includes_default
8004 static int test_array [1 - 2 * !(((long int) (sizeof (void*))) >= $ac_mid)];
8011 rm -f conftest.$ac_objext
8012 if { (ac_try="$ac_compile"
8014 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8015 *) ac_try_echo
=$ac_try;;
8017 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8018 $as_echo "$ac_try_echo") >&5
8019 (eval "$ac_compile") 2>conftest.er1
8021 grep -v '^ *+' conftest.er1
>conftest.err
8023 cat conftest.err
>&5
8024 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8025 (exit $ac_status); } && {
8026 test -z "$ac_c_werror_flag" ||
8027 test ! -s conftest.err
8028 } && test -s conftest.
$ac_objext; then
8029 ac_lo
=$ac_mid; break
8031 $as_echo "$as_me: failed program was:" >&5
8032 sed 's/^/| /' conftest.
$ac_ext >&5
8034 ac_hi
=`expr '(' $ac_mid ')' - 1`
8035 if test $ac_mid -le $ac_hi; then
8039 ac_mid
=`expr 2 '*' $ac_mid`
8042 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8045 $as_echo "$as_me: failed program was:" >&5
8046 sed 's/^/| /' conftest.
$ac_ext >&5
8051 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8054 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8055 # Binary search between lo and hi bounds.
8056 while test "x$ac_lo" != "x$ac_hi"; do
8057 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8058 cat >conftest.
$ac_ext <<_ACEOF
8061 cat confdefs.h
>>conftest.
$ac_ext
8062 cat >>conftest.
$ac_ext <<_ACEOF
8063 /* end confdefs.h. */
8064 $ac_includes_default
8068 static int test_array [1 - 2 * !(((long int) (sizeof (void*))) <= $ac_mid)];
8075 rm -f conftest.
$ac_objext
8076 if { (ac_try
="$ac_compile"
8078 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8079 *) ac_try_echo=$ac_try;;
8081 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8082 $as_echo "$ac_try_echo") >&5
8083 (eval "$ac_compile") 2>conftest.er1
8085 grep -v '^ *+' conftest.er1 >conftest.err
8087 cat conftest.err >&5
8088 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8089 (exit $ac_status); } && {
8090 test -z "$ac_c_werror_flag" ||
8091 test ! -s conftest.err
8092 } && test -s conftest.$ac_objext; then
8095 $as_echo "$as_me: failed program was:" >&5
8096 sed 's/^/| /' conftest.$ac_ext >&5
8098 ac_lo=`expr '(' $ac_mid ')' + 1`
8101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8104 ?*) ac_cv_sizeof_voidp=$ac_lo;;
8105 '') if test "$ac_cv_type_voidp" = yes; then
8106 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
8107 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8108 { { $as_echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
8109 See \
`config.log' for more details." >&5
8110 $as_echo "$as_me: error: cannot compute sizeof (void*)
8111 See \`config.log
' for more details." >&2;}
8112 { (exit 77); exit 77; }; }; }
8114 ac_cv_sizeof_voidp=0
8118 cat >conftest.$ac_ext <<_ACEOF
8121 cat confdefs.h >>conftest.$ac_ext
8122 cat >>conftest.$ac_ext <<_ACEOF
8123 /* end confdefs.h. */
8124 $ac_includes_default
8125 static long int longval () { return (long int) (sizeof (void*)); }
8126 static unsigned long int ulongval () { return (long int) (sizeof (void*)); }
8133 FILE *f = fopen ("conftest.val", "w");
8136 if (((long int) (sizeof (void*))) < 0)
8138 long int i = longval ();
8139 if (i != ((long int) (sizeof (void*))))
8141 fprintf (f, "%ld", i);
8145 unsigned long int i = ulongval ();
8146 if (i != ((long int) (sizeof (void*))))
8148 fprintf (f, "%lu", i);
8150 /* Do not output a trailing newline, as this causes \r\n confusion
8151 on some platforms. */
8152 return ferror (f) || fclose (f) != 0;
8158 rm -f conftest$ac_exeext
8159 if { (ac_try="$ac_link"
8161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8162 *) ac_try_echo=$ac_try;;
8164 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8165 $as_echo "$ac_try_echo") >&5
8166 (eval "$ac_link") 2>&5
8168 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8169 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
8170 { (case "(($ac_try" in
8171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8172 *) ac_try_echo=$ac_try;;
8174 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8175 $as_echo "$ac_try_echo") >&5
8176 (eval "$ac_try") 2>&5
8178 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8179 (exit $ac_status); }; }; then
8180 ac_cv_sizeof_voidp=`cat conftest.val`
8182 $as_echo "$as_me: program exited with status $ac_status" >&5
8183 $as_echo "$as_me: failed program was:" >&5
8184 sed 's
/^
/|
/' conftest.$ac_ext >&5
8187 if test "$ac_cv_type_voidp" = yes; then
8188 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
8189 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
8190 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void*)
8191 See \`config.log
' for more details." >&5
8192 $as_echo "$as_me: error: cannot compute sizeof (void*)
8193 See \`config.log' for more details.
" >&2;}
8194 { (exit 77); exit 77; }; }; }
8196 ac_cv_sizeof_voidp=0
8199 rm -rf conftest.dSYM
8200 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8204 { $as_echo "$as_me:$LINENO: result
: $ac_cv_sizeof_voidp" >&5
8205 $as_echo "$ac_cv_sizeof_voidp" >&6; }
8209 cat >>confdefs.h <<_ACEOF
8210 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
8217 # Extract the first word of "freetype-config
", so it can be a program name with args.
8218 set dummy freetype-config; ac_word=$2
8219 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
8220 $as_echo_n "checking
for $ac_word...
" >&6; }
8221 if test "${ac_cv_path_FREETYPE_CONFIG+set}" = set; then
8222 $as_echo_n "(cached
) " >&6
8224 case $FREETYPE_CONFIG in
8226 ac_cv_path_FREETYPE_CONFIG="$FREETYPE_CONFIG" # Let the user override the test with a path.
8229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8230 as_dummy=""$PATH:/usr/local/bin:/sw/bin:/opt/local/bin""
8231 for as_dir in $as_dummy
8234 test -z "$as_dir" && as_dir=.
8235 for ac_exec_ext in '' $ac_executable_extensions; do
8236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8237 ac_cv_path_FREETYPE_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8238 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8248 FREETYPE_CONFIG=$ac_cv_path_FREETYPE_CONFIG
8249 if test -n "$FREETYPE_CONFIG"; then
8250 { $as_echo "$as_me:$LINENO: result
: $FREETYPE_CONFIG" >&5
8251 $as_echo "$FREETYPE_CONFIG" >&6; }
8253 { $as_echo "$as_me:$LINENO: result
: no
" >&5
8254 $as_echo "no
" >&6; }
8259 OLDCPPFLAGS="${CPPFLAGS}"
8261 if test "x
${FREETYPE_CONFIG}" '!=' "x
"; then
8262 CPPFLAGS="$CPPFLAGS "`$FREETYPE_CONFIG --cflags`
8263 else if test -d /usr/include/freetype2; then
8264 CPPFLAGS="$CPPFLAGS -I/usr
/include
/freetype2
"
8265 else if test -d /usr/local/include/freetype2; then
8266 CPPFLAGS="$CPPFLAGS -I/usr
/local
/include
/freetype2
"
8271 if test "x
${FREETYPE_CONFIG}" '=' "x
";then
8272 # if we didn't find the freetype-config program, we won't
8273 # know where the libs are expected to be. So just blindly
8274 # try to link against them.
8275 { $as_echo "$as_me:$LINENO: checking
for FT_Init_FreeType
in -lfreetype" >&5
8276 $as_echo_n "checking
for FT_Init_FreeType
in -lfreetype...
" >&6; }
8277 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
8278 $as_echo_n "(cached
) " >&6
8280 ac_check_lib_save_LIBS=$LIBS
8281 LIBS="-lfreetype $LIBS"
8282 cat >conftest.$ac_ext <<_ACEOF
8285 cat confdefs.h >>conftest.$ac_ext
8286 cat >>conftest.$ac_ext <<_ACEOF
8287 /* end confdefs.h. */
8289 /* Override any GCC internal prototype to avoid an error.
8290 Use char because int might match the return type of a GCC
8291 builtin and then its argument prototype would still apply. */
8295 char FT_Init_FreeType ();
8299 return FT_Init_FreeType ();
8304 rm -f conftest.$ac_objext conftest$ac_exeext
8305 if { (ac_try="$ac_link"
8307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8308 *) ac_try_echo=$ac_try;;
8310 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8311 $as_echo "$ac_try_echo") >&5
8312 (eval "$ac_link") 2>conftest.er1
8314 grep -v '^ *+' conftest.er1 >conftest.err
8316 cat conftest.err >&5
8317 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8318 (exit $ac_status); } && {
8319 test -z "$ac_c_werror_flag" ||
8320 test ! -s conftest.err
8321 } && test -s conftest$ac_exeext && {
8322 test "$cross_compiling" = yes ||
8323 $as_test_x conftest$ac_exeext
8325 ac_cv_lib_freetype_FT_Init_FreeType=yes
8327 $as_echo "$as_me: failed program was
:" >&5
8328 sed 's/^/| /' conftest.$ac_ext >&5
8330 ac_cv_lib_freetype_FT_Init_FreeType=no
8333 rm -rf conftest.dSYM
8334 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8335 conftest$ac_exeext conftest.$ac_ext
8336 LIBS=$ac_check_lib_save_LIBS
8338 { $as_echo "$as_me:$LINENO: result
: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
8339 $as_echo "$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
8340 if test "x
$ac_cv_lib_freetype_FT_Init_FreeType" = x""yes; then
8347 for ac_header in ft2build.h
8349 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
8350 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8351 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
8352 $as_echo_n "checking
for $ac_header...
" >&6; }
8353 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8354 $as_echo_n "(cached
) " >&6
8356 ac_res=`eval 'as_val=${'$as_ac_Header'}
8357 $as_echo "$as_val"'`
8358 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
8359 $as_echo "$ac_res" >&6; }
8361 # Is the header compilable?
8362 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
8363 $as_echo_n "checking
$ac_header usability...
" >&6; }
8364 cat >conftest.$ac_ext <<_ACEOF
8367 cat confdefs.h >>conftest.$ac_ext
8368 cat >>conftest.$ac_ext <<_ACEOF
8369 /* end confdefs.h. */
8370 $ac_includes_default
8371 #include <$ac_header>
8373 rm -f conftest.$ac_objext
8374 if { (ac_try="$ac_compile"
8376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8377 *) ac_try_echo=$ac_try;;
8379 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8380 $as_echo "$ac_try_echo") >&5
8381 (eval "$ac_compile") 2>conftest.er1
8383 grep -v '^ *+' conftest.er1 >conftest.err
8385 cat conftest.err >&5
8386 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8387 (exit $ac_status); } && {
8388 test -z "$ac_c_werror_flag" ||
8389 test ! -s conftest.err
8390 } && test -s conftest.$ac_objext; then
8391 ac_header_compiler=yes
8393 $as_echo "$as_me: failed program was
:" >&5
8394 sed 's/^/| /' conftest.$ac_ext >&5
8396 ac_header_compiler=no
8399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8400 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
8401 $as_echo "$ac_header_compiler" >&6; }
8403 # Is the header present?
8404 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
8405 $as_echo_n "checking
$ac_header presence...
" >&6; }
8406 cat >conftest.$ac_ext <<_ACEOF
8409 cat confdefs.h >>conftest.$ac_ext
8410 cat >>conftest.$ac_ext <<_ACEOF
8411 /* end confdefs.h. */
8412 #include <$ac_header>
8414 if { (ac_try="$ac_cpp conftest.
$ac_ext"
8416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8417 *) ac_try_echo=$ac_try;;
8419 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8420 $as_echo "$ac_try_echo") >&5
8421 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
8423 grep -v '^ *+' conftest.er1 >conftest.err
8425 cat conftest.err >&5
8426 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8427 (exit $ac_status); } >/dev/null && {
8428 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8429 test ! -s conftest.err
8431 ac_header_preproc=yes
8433 $as_echo "$as_me: failed program was
:" >&5
8434 sed 's/^/| /' conftest.$ac_ext >&5
8436 ac_header_preproc=no
8439 rm -f conftest.err conftest.$ac_ext
8440 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
8441 $as_echo "$ac_header_preproc" >&6; }
8443 # So? What about this header?
8444 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8446 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
8447 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
8448 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
8449 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
8450 ac_header_preproc=yes
8453 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
8454 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
8455 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
8456 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
8457 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
8458 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
8459 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
8460 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
8461 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
8462 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
8463 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
8464 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
8468 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
8469 $as_echo_n "checking
for $ac_header...
" >&6; }
8470 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8471 $as_echo_n "(cached
) " >&6
8473 eval "$as_ac_Header=\
$ac_header_preproc"
8475 ac_res=`eval 'as_val=${'$as_ac_Header'}
8476 $as_echo "$as_val"'`
8477 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
8478 $as_echo "$ac_res" >&6; }
8481 as_val=`eval 'as_val=${'$as_ac_Header'}
8482 $as_echo "$as_val"'`
8483 if test "x
$as_val" = x""yes; then
8484 cat >>confdefs.h <<_ACEOF
8485 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
8492 if test "x
${HAVE_FT2BUILD_H}" '=' "x
";then
8494 for ac_header in freetype/freetype.h
8496 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
8497 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8498 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
8499 $as_echo_n "checking
for $ac_header...
" >&6; }
8500 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8501 $as_echo_n "(cached
) " >&6
8503 ac_res=`eval 'as_val=${'$as_ac_Header'}
8504 $as_echo "$as_val"'`
8505 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
8506 $as_echo "$ac_res" >&6; }
8508 # Is the header compilable?
8509 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
8510 $as_echo_n "checking
$ac_header usability...
" >&6; }
8511 cat >conftest.$ac_ext <<_ACEOF
8514 cat confdefs.h >>conftest.$ac_ext
8515 cat >>conftest.$ac_ext <<_ACEOF
8516 /* end confdefs.h. */
8517 $ac_includes_default
8518 #include <$ac_header>
8520 rm -f conftest.$ac_objext
8521 if { (ac_try="$ac_compile"
8523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8524 *) ac_try_echo=$ac_try;;
8526 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8527 $as_echo "$ac_try_echo") >&5
8528 (eval "$ac_compile") 2>conftest.er1
8530 grep -v '^ *+' conftest.er1 >conftest.err
8532 cat conftest.err >&5
8533 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8534 (exit $ac_status); } && {
8535 test -z "$ac_c_werror_flag" ||
8536 test ! -s conftest.err
8537 } && test -s conftest.$ac_objext; then
8538 ac_header_compiler=yes
8540 $as_echo "$as_me: failed program was
:" >&5
8541 sed 's/^/| /' conftest.$ac_ext >&5
8543 ac_header_compiler=no
8546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8547 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
8548 $as_echo "$ac_header_compiler" >&6; }
8550 # Is the header present?
8551 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
8552 $as_echo_n "checking
$ac_header presence...
" >&6; }
8553 cat >conftest.$ac_ext <<_ACEOF
8556 cat confdefs.h >>conftest.$ac_ext
8557 cat >>conftest.$ac_ext <<_ACEOF
8558 /* end confdefs.h. */
8559 #include <$ac_header>
8561 if { (ac_try="$ac_cpp conftest.
$ac_ext"
8563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8564 *) ac_try_echo=$ac_try;;
8566 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8567 $as_echo "$ac_try_echo") >&5
8568 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
8570 grep -v '^ *+' conftest.er1 >conftest.err
8572 cat conftest.err >&5
8573 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8574 (exit $ac_status); } >/dev/null && {
8575 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8576 test ! -s conftest.err
8578 ac_header_preproc=yes
8580 $as_echo "$as_me: failed program was
:" >&5
8581 sed 's/^/| /' conftest.$ac_ext >&5
8583 ac_header_preproc=no
8586 rm -f conftest.err conftest.$ac_ext
8587 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
8588 $as_echo "$ac_header_preproc" >&6; }
8590 # So? What about this header?
8591 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8593 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
8594 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
8595 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
8596 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
8597 ac_header_preproc=yes
8600 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
8601 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
8602 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
8603 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
8604 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
8605 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
8606 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
8607 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
8608 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
8609 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
8610 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
8611 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
8615 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
8616 $as_echo_n "checking
for $ac_header...
" >&6; }
8617 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8618 $as_echo_n "(cached
) " >&6
8620 eval "$as_ac_Header=\
$ac_header_preproc"
8622 ac_res=`eval 'as_val=${'$as_ac_Header'}
8623 $as_echo "$as_val"'`
8624 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
8625 $as_echo "$ac_res" >&6; }
8628 as_val=`eval 'as_val=${'$as_ac_Header'}
8629 $as_echo "$as_val"'`
8630 if test "x
$as_val" = x""yes; then
8631 cat >>confdefs.h <<_ACEOF
8632 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
8634 HAVE_FREETYPE_FREETYPE_H=1
8641 if test "x
${HAVE_LIB_FREETYPE}" '!=' "x
" -o \
8642 "x
${FREETYPE_CONFIG}" '!=' "x
";then
8643 if test "x
${HAVE_FREETYPE_FREETYPE_H}" '!=' "x
";then
8646 if test "x
${HAVE_FT2BUILD_H}" '!=' "x
";then
8651 if test "x
${HAVE_FREETYPE}" = "x1
"; then
8652 if test "x
${FREETYPE_CONFIG}" '!=' "x
"; then
8653 LIBS="$LIBS "`$FREETYPE_CONFIG --libs`
8655 LIBS="$LIBS -lfreetype"
8658 if test "x
${HAVE_FT2BUILD_H}" = "x1
"; then
8659 HAVE_FT2BUILD_H_DEFINE='#define HAVE_FT2BUILD_H'
8662 { $as_echo "$as_me:$LINENO: checking whether we can compile the freetype
test program
" >&5
8663 $as_echo_n "checking whether we can compile the freetype
test program...
" >&6; }
8665 cat > conftest.c << EOF
8666 $HAVE_FT2BUILD_H_DEFINE
8668 #ifdef HAVE_FT2BUILD_H
8669 #include <ft2build.h>
8670 #include FT_FREETYPE_H
8673 #include FT_SFNT_NAMES_H
8674 #include FT_TRUETYPE_IDS_H
8675 #include FT_OUTLINE_H
8677 #include <freetype/freetype.h>
8678 #include <freetype/ftglyph.h>
8679 #include <freetype/ftsizes.h>
8680 #include <freetype/ftsnames.h>
8681 #include <freetype/ttnameid.h>
8682 #include <freetype/ftoutln.h>
8687 FT_Library ftlibrary;
8699 FT_Init_FreeType(&ftlibrary);
8700 FT_New_Face(ftlibrary, "filename
", 0, &face);
8701 i = face->num_glyphs - 1;
8702 italic = face->style_flags&FT_STYLE_FLAG_ITALIC;
8703 bold = face->style_flags&FT_STYLE_FLAG_BOLD;
8704 FT_Get_Postscript_Name(face);
8705 FT_Get_Char_Index(face, 33);
8706 FT_Get_First_Char(face, &i);
8707 FT_Get_Next_Char(face, 33, &i);
8708 if(FT_HAS_GLYPH_NAMES(face)) {
8709 FT_Get_Glyph_Name(face, 33, name, 127);
8711 FT_Load_Glyph(face, 33, FT_LOAD_NO_BITMAP|FT_LOAD_NO_SCALE);
8712 FT_Get_Glyph(face->glyph, &glyph);
8713 FT_Glyph_Get_CBox(glyph, ft_glyph_bbox_unscaled, &bbox);
8714 FT_Done_Glyph(glyph);
8716 FT_Done_FreeType(ftlibrary);
8721 ac_link='$CC $CPPFLAGS $CFLAGS conftest.c $LDFLAGS $LIBS -o conftest${ac_exeext}'
8722 if { (eval echo freetype.m4:71: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8723 { $as_echo "$as_me:$LINENO: result
: yes" >&5
8724 $as_echo "yes" >&6; }
8726 cat >>confdefs.h <<\_ACEOF
8727 #define HAVE_FREETYPE 1
8731 cat >>confdefs.h <<\_ACEOF
8732 #define HAVE_FREETYPE_FREETYPE_H 1
8736 cat >>confdefs.h <<\_ACEOF
8737 #define USE_FREETYPE 1
8741 echo "configure
: failed program was
:" >&5
8744 { $as_echo "$as_me:$LINENO: result
: no
" >&5
8745 $as_echo "no
" >&6; }
8750 # if the above didn't work out, reset all changes to the compiler variables.
8751 if test "x
${HAVE_FREETYPE}" '!=' "x1
"; then
8752 CPPFLAGS=$OLDCPPFLAGS
8758 OLDCPPFLAGS="${CPPFLAGS}"
8761 if test -d /usr/include/fontconfig; then
8762 CPPFLAGS="$CPPFLAGS -I/usr
/include
/fontconfig
"
8765 { $as_echo "$as_me:$LINENO: checking
for FcInit
in -lfontconfig" >&5
8766 $as_echo_n "checking
for FcInit
in -lfontconfig...
" >&6; }
8767 if test "${ac_cv_lib_fontconfig_FcInit+set}" = set; then
8768 $as_echo_n "(cached
) " >&6
8770 ac_check_lib_save_LIBS=$LIBS
8771 LIBS="-lfontconfig $LIBS"
8772 cat >conftest.$ac_ext <<_ACEOF
8775 cat confdefs.h >>conftest.$ac_ext
8776 cat >>conftest.$ac_ext <<_ACEOF
8777 /* end confdefs.h. */
8779 /* Override any GCC internal prototype to avoid an error.
8780 Use char because int might match the return type of a GCC
8781 builtin and then its argument prototype would still apply. */
8794 rm -f conftest.$ac_objext conftest$ac_exeext
8795 if { (ac_try="$ac_link"
8797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8798 *) ac_try_echo=$ac_try;;
8800 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8801 $as_echo "$ac_try_echo") >&5
8802 (eval "$ac_link") 2>conftest.er1
8804 grep -v '^ *+' conftest.er1 >conftest.err
8806 cat conftest.err >&5
8807 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8808 (exit $ac_status); } && {
8809 test -z "$ac_c_werror_flag" ||
8810 test ! -s conftest.err
8811 } && test -s conftest$ac_exeext && {
8812 test "$cross_compiling" = yes ||
8813 $as_test_x conftest$ac_exeext
8815 ac_cv_lib_fontconfig_FcInit=yes
8817 $as_echo "$as_me: failed program was
:" >&5
8818 sed 's/^/| /' conftest.$ac_ext >&5
8820 ac_cv_lib_fontconfig_FcInit=no
8823 rm -rf conftest.dSYM
8824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8825 conftest$ac_exeext conftest.$ac_ext
8826 LIBS=$ac_check_lib_save_LIBS
8828 { $as_echo "$as_me:$LINENO: result
: $ac_cv_lib_fontconfig_FcInit" >&5
8829 $as_echo "$ac_cv_lib_fontconfig_FcInit" >&6; }
8830 if test "x
$ac_cv_lib_fontconfig_FcInit" = x""yes; then
8831 HAVE_LIB_FONTCONFIG=1
8835 for ac_header in fontconfig.h
8837 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
8838 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8839 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
8840 $as_echo_n "checking
for $ac_header...
" >&6; }
8841 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8842 $as_echo_n "(cached
) " >&6
8844 ac_res=`eval 'as_val=${'$as_ac_Header'}
8845 $as_echo "$as_val"'`
8846 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
8847 $as_echo "$ac_res" >&6; }
8849 # Is the header compilable?
8850 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
8851 $as_echo_n "checking
$ac_header usability...
" >&6; }
8852 cat >conftest.$ac_ext <<_ACEOF
8855 cat confdefs.h >>conftest.$ac_ext
8856 cat >>conftest.$ac_ext <<_ACEOF
8857 /* end confdefs.h. */
8858 $ac_includes_default
8859 #include <$ac_header>
8861 rm -f conftest.$ac_objext
8862 if { (ac_try="$ac_compile"
8864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8865 *) ac_try_echo=$ac_try;;
8867 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8868 $as_echo "$ac_try_echo") >&5
8869 (eval "$ac_compile") 2>conftest.er1
8871 grep -v '^ *+' conftest.er1 >conftest.err
8873 cat conftest.err >&5
8874 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8875 (exit $ac_status); } && {
8876 test -z "$ac_c_werror_flag" ||
8877 test ! -s conftest.err
8878 } && test -s conftest.$ac_objext; then
8879 ac_header_compiler=yes
8881 $as_echo "$as_me: failed program was
:" >&5
8882 sed 's/^/| /' conftest.$ac_ext >&5
8884 ac_header_compiler=no
8887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8888 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
8889 $as_echo "$ac_header_compiler" >&6; }
8891 # Is the header present?
8892 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
8893 $as_echo_n "checking
$ac_header presence...
" >&6; }
8894 cat >conftest.$ac_ext <<_ACEOF
8897 cat confdefs.h >>conftest.$ac_ext
8898 cat >>conftest.$ac_ext <<_ACEOF
8899 /* end confdefs.h. */
8900 #include <$ac_header>
8902 if { (ac_try="$ac_cpp conftest.
$ac_ext"
8904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8905 *) ac_try_echo=$ac_try;;
8907 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8908 $as_echo "$ac_try_echo") >&5
8909 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
8911 grep -v '^ *+' conftest.er1 >conftest.err
8913 cat conftest.err >&5
8914 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8915 (exit $ac_status); } >/dev/null && {
8916 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8917 test ! -s conftest.err
8919 ac_header_preproc=yes
8921 $as_echo "$as_me: failed program was
:" >&5
8922 sed 's/^/| /' conftest.$ac_ext >&5
8924 ac_header_preproc=no
8927 rm -f conftest.err conftest.$ac_ext
8928 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
8929 $as_echo "$ac_header_preproc" >&6; }
8931 # So? What about this header?
8932 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8934 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
8935 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
8936 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
8937 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
8938 ac_header_preproc=yes
8941 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
8942 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
8943 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
8944 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
8945 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
8946 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
8947 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
8948 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
8949 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
8950 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
8951 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
8952 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
8956 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
8957 $as_echo_n "checking
for $ac_header...
" >&6; }
8958 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8959 $as_echo_n "(cached
) " >&6
8961 eval "$as_ac_Header=\
$ac_header_preproc"
8963 ac_res=`eval 'as_val=${'$as_ac_Header'}
8964 $as_echo "$as_val"'`
8965 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
8966 $as_echo "$ac_res" >&6; }
8969 as_val=`eval 'as_val=${'$as_ac_Header'}
8970 $as_echo "$as_val"'`
8971 if test "x
$as_val" = x""yes; then
8972 cat >>confdefs.h <<_ACEOF
8973 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
8981 if test "x
${HAVE_LIB_FONTCONFIG}" != "x
";then
8982 if test "x
${HAVE_FONTCONFIG_H}" != "x
";then
8987 if test "x
${HAVE_FONTCONFIG}" = "x1
"; then
8988 LIBS="$LIBS -lfontconfig"
8989 { $as_echo "$as_me:$LINENO: checking whether we can compile the fontconfig
test program
" >&5
8990 $as_echo_n "checking whether we can compile the fontconfig
test program...
" >&6; }
8992 if (echo $LIBS | grep lfreetype >/dev/null 2>&1); then
8993 #move freetype library to the end of libraries, otherwise fontconfig
8995 LIBS=`echo $LIBS | sed -e 's/-lfreetype//g' -e 's/$/ -lfreetype/'`
8998 cat > conftest.c << EOF
9000 #include <fontconfig.h>
9004 FcPattern *pattern, *match;
9007 char*s1="abc
",*s2="ABC
";
9010 pattern = FcPatternBuild(0, FC_FAMILY, FcTypeString, "", 0);
9011 FcPatternAddInteger(pattern, FC_SLANT, FC_SLANT_ITALIC);
9012 FcPatternAddInteger(pattern, FC_WEIGHT, FC_WEIGHT_BOLD);
9014 FcConfig*c = FcConfigCreate();
9015 FcConfigParseAndLoad(c, (FcChar8*)"", 1);
9016 FcConfigBuildFonts(c);
9017 FcConfigSetCurrent(c);
9019 FcFontSet * set = FcConfigGetFonts(c, FcSetSystem);
9020 FcFontSetDestroy(set);
9022 FcConfigSubstitute(0, pattern, FcMatchPattern);
9023 FcDefaultSubstitute(pattern);
9024 match = FcFontMatch(0, pattern, &result);
9025 FcPatternGetString(match, "family
", 0, &v) == FcResultMatch;
9026 FcPatternGetBool(match, "family
", 0, &v) == FcResultMatch;
9027 FcPatternPrint(pattern);
9028 FcPatternDestroy(pattern);
9029 FcPatternDestroy(match);
9035 ac_link='$CC $CPPFLAGS $CFLAGS conftest.c $LDFLAGS $LIBS -o conftest${ac_exeext}'
9036 if { (eval echo freetype.m4:71: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9037 { $as_echo "$as_me:$LINENO: result
: yes" >&5
9038 $as_echo "yes" >&6; }
9040 cat >>confdefs.h <<\_ACEOF
9041 #define HAVE_FONTCONFIG 1
9045 echo "configure
: failed program was
:" >&5
9048 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9049 $as_echo "no
" >&6; }
9054 # if the above didn't work out, reset all changes to the compiler variables.
9055 if test "x
${HAVE_FONTCONFIG}" "!=" "x1
"; then
9056 CPPFLAGS=$OLDCPPFLAGS
9062 OLDCPPFLAGS="${CPPFLAGS}"
9065 { $as_echo "$as_me:$LINENO: checking
for fftw_plan_dft_r2c_2d
in -lfftw3" >&5
9066 $as_echo_n "checking
for fftw_plan_dft_r2c_2d
in -lfftw3...
" >&6; }
9067 if test "${ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d+set}" = set; then
9068 $as_echo_n "(cached
) " >&6
9070 ac_check_lib_save_LIBS=$LIBS
9071 LIBS="-lfftw3 $LIBS"
9072 cat >conftest.$ac_ext <<_ACEOF
9075 cat confdefs.h >>conftest.$ac_ext
9076 cat >>conftest.$ac_ext <<_ACEOF
9077 /* end confdefs.h. */
9079 /* Override any GCC internal prototype to avoid an error.
9080 Use char because int might match the return type of a GCC
9081 builtin and then its argument prototype would still apply. */
9085 char fftw_plan_dft_r2c_2d ();
9089 return fftw_plan_dft_r2c_2d ();
9094 rm -f conftest.$ac_objext conftest$ac_exeext
9095 if { (ac_try="$ac_link"
9097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9098 *) ac_try_echo=$ac_try;;
9100 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9101 $as_echo "$ac_try_echo") >&5
9102 (eval "$ac_link") 2>conftest.er1
9104 grep -v '^ *+' conftest.er1 >conftest.err
9106 cat conftest.err >&5
9107 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9108 (exit $ac_status); } && {
9109 test -z "$ac_c_werror_flag" ||
9110 test ! -s conftest.err
9111 } && test -s conftest$ac_exeext && {
9112 test "$cross_compiling" = yes ||
9113 $as_test_x conftest$ac_exeext
9115 ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d=yes
9117 $as_echo "$as_me: failed program was
:" >&5
9118 sed 's/^/| /' conftest.$ac_ext >&5
9120 ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d=no
9123 rm -rf conftest.dSYM
9124 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9125 conftest$ac_exeext conftest.$ac_ext
9126 LIBS=$ac_check_lib_save_LIBS
9128 { $as_echo "$as_me:$LINENO: result
: $ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d" >&5
9129 $as_echo "$ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d" >&6; }
9130 if test "x
$ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d" = x""yes; then
9135 for ac_header in fftw3.h
9137 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
9138 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9139 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
9140 $as_echo_n "checking
for $ac_header...
" >&6; }
9141 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9142 $as_echo_n "(cached
) " >&6
9144 ac_res=`eval 'as_val=${'$as_ac_Header'}
9145 $as_echo "$as_val"'`
9146 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
9147 $as_echo "$ac_res" >&6; }
9149 # Is the header compilable?
9150 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
9151 $as_echo_n "checking
$ac_header usability...
" >&6; }
9152 cat >conftest.$ac_ext <<_ACEOF
9155 cat confdefs.h >>conftest.$ac_ext
9156 cat >>conftest.$ac_ext <<_ACEOF
9157 /* end confdefs.h. */
9158 $ac_includes_default
9159 #include <$ac_header>
9161 rm -f conftest.$ac_objext
9162 if { (ac_try="$ac_compile"
9164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9165 *) ac_try_echo=$ac_try;;
9167 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9168 $as_echo "$ac_try_echo") >&5
9169 (eval "$ac_compile") 2>conftest.er1
9171 grep -v '^ *+' conftest.er1 >conftest.err
9173 cat conftest.err >&5
9174 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9175 (exit $ac_status); } && {
9176 test -z "$ac_c_werror_flag" ||
9177 test ! -s conftest.err
9178 } && test -s conftest.$ac_objext; then
9179 ac_header_compiler=yes
9181 $as_echo "$as_me: failed program was
:" >&5
9182 sed 's/^/| /' conftest.$ac_ext >&5
9184 ac_header_compiler=no
9187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9188 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
9189 $as_echo "$ac_header_compiler" >&6; }
9191 # Is the header present?
9192 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
9193 $as_echo_n "checking
$ac_header presence...
" >&6; }
9194 cat >conftest.$ac_ext <<_ACEOF
9197 cat confdefs.h >>conftest.$ac_ext
9198 cat >>conftest.$ac_ext <<_ACEOF
9199 /* end confdefs.h. */
9200 #include <$ac_header>
9202 if { (ac_try="$ac_cpp conftest.
$ac_ext"
9204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9205 *) ac_try_echo=$ac_try;;
9207 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9208 $as_echo "$ac_try_echo") >&5
9209 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
9211 grep -v '^ *+' conftest.er1 >conftest.err
9213 cat conftest.err >&5
9214 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9215 (exit $ac_status); } >/dev/null && {
9216 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9217 test ! -s conftest.err
9219 ac_header_preproc=yes
9221 $as_echo "$as_me: failed program was
:" >&5
9222 sed 's/^/| /' conftest.$ac_ext >&5
9224 ac_header_preproc=no
9227 rm -f conftest.err conftest.$ac_ext
9228 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
9229 $as_echo "$ac_header_preproc" >&6; }
9231 # So? What about this header?
9232 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9234 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
9235 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
9236 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
9237 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
9238 ac_header_preproc=yes
9241 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
9242 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
9243 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
9244 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
9245 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
9246 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
9247 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
9248 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
9249 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
9250 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
9251 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
9252 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
9256 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
9257 $as_echo_n "checking
for $ac_header...
" >&6; }
9258 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9259 $as_echo_n "(cached
) " >&6
9261 eval "$as_ac_Header=\
$ac_header_preproc"
9263 ac_res=`eval 'as_val=${'$as_ac_Header'}
9264 $as_echo "$as_val"'`
9265 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
9266 $as_echo "$ac_res" >&6; }
9269 as_val=`eval 'as_val=${'$as_ac_Header'}
9270 $as_echo "$as_val"'`
9271 if test "x
$as_val" = x""yes; then
9272 cat >>confdefs.h <<_ACEOF
9273 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
9281 if test "x
${HAVE_LIBFFTW3}" != "x
";then
9282 if test "x
${HAVE_FFTW3_H}" != "x
";then
9287 if test "x
${HAVE_FFTW3}" = "x1
"; then
9288 LIBS="$LIBS -lfftw3"
9289 { $as_echo "$as_me:$LINENO: checking whether we can compile the fftw3
test program
" >&5
9290 $as_echo_n "checking whether we can compile the fftw3
test program...
" >&6; }
9292 cat > conftest.c << EOF
9298 fftw_plan plan = fftw_plan_dft_2d(600, 800, (fftw_complex*)data, (fftw_complex*)data, FFTW_FORWARD, FFTW_ESTIMATE);
9299 plan = fftw_plan_dft_r2c_2d(600, 800, (double*)data, (fftw_complex*)data, FFTW_ESTIMATE);
9300 plan = fftw_plan_dft_c2r_2d(600, 800, (fftw_complex*)data, (double*)data, FFTW_ESTIMATE);
9302 fftw_destroy_plan(plan);
9306 ac_link='$CC $CPPFLAGS $CFLAGS conftest.c $LDFLAGS $LIBS -o conftest${ac_exeext}'
9307 if { (eval echo fftw3.m4:71: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9308 { $as_echo "$as_me:$LINENO: result
: yes" >&5
9309 $as_echo "yes" >&6; }
9311 cat >>confdefs.h <<\_ACEOF
9312 #define HAVE_FFTW3 1
9316 echo "configure
: failed program was
:" >&5
9319 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9320 $as_echo "no
" >&6; }
9325 # if the above didn't work out, reset all changes to the compiler variables.
9326 if test "x
${HAVE_FFTW3}" "!=" "x1
"; then
9327 CPPFLAGS=$OLDCPPFLAGS
9333 # if test "$HAVE_OPENGL";then
9334 # DEVICE_OPENGL='devices/opengl.$(O)'
9335 # AC_SUBST(DEVICE_OPENGL)
9341 if test "x
${DISABLE_LAME}" = "xtrue
"; then
9342 echo "*" Disabling lame support...
9344 # old lame code at lib/lame
9345 if test -f lib/lame/Makefile.in; then
9346 lame_in_source='$(lame_objects)'
9347 lame_makefile="lib
/lame
/Makefile
"
9348 CPPFLAGS="$CPPFLAGS -Ilame -Ilib/lame
"
9350 cat >>confdefs.h <<\_ACEOF
9355 if test -d /usr/include/lame; then
9356 CPPFLAGS="$CPPFLAGS -I /usr
/include
/lame
"
9358 if test -d /usr/local/include/lame; then
9359 CPPFLAGS="$CPPFLAGS -I /usr
/local
/include
/lame
"
9363 { $as_echo "$as_me:$LINENO: checking
for lame_init
in -lmp3lame" >&5
9364 $as_echo_n "checking
for lame_init
in -lmp3lame...
" >&6; }
9365 if test "${ac_cv_lib_mp3lame_lame_init+set}" = set; then
9366 $as_echo_n "(cached
) " >&6
9368 ac_check_lib_save_LIBS=$LIBS
9369 LIBS="-lmp3lame $LIBS"
9370 cat >conftest.$ac_ext <<_ACEOF
9373 cat confdefs.h >>conftest.$ac_ext
9374 cat >>conftest.$ac_ext <<_ACEOF
9375 /* end confdefs.h. */
9377 /* Override any GCC internal prototype to avoid an error.
9378 Use char because int might match the return type of a GCC
9379 builtin and then its argument prototype would still apply. */
9387 return lame_init ();
9392 rm -f conftest.$ac_objext conftest$ac_exeext
9393 if { (ac_try="$ac_link"
9395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9396 *) ac_try_echo=$ac_try;;
9398 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9399 $as_echo "$ac_try_echo") >&5
9400 (eval "$ac_link") 2>conftest.er1
9402 grep -v '^ *+' conftest.er1 >conftest.err
9404 cat conftest.err >&5
9405 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9406 (exit $ac_status); } && {
9407 test -z "$ac_c_werror_flag" ||
9408 test ! -s conftest.err
9409 } && test -s conftest$ac_exeext && {
9410 test "$cross_compiling" = yes ||
9411 $as_test_x conftest$ac_exeext
9413 ac_cv_lib_mp3lame_lame_init=yes
9415 $as_echo "$as_me: failed program was
:" >&5
9416 sed 's/^/| /' conftest.$ac_ext >&5
9418 ac_cv_lib_mp3lame_lame_init=no
9421 rm -rf conftest.dSYM
9422 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9423 conftest$ac_exeext conftest.$ac_ext
9424 LIBS=$ac_check_lib_save_LIBS
9426 { $as_echo "$as_me:$LINENO: result
: $ac_cv_lib_mp3lame_lame_init" >&5
9427 $as_echo "$ac_cv_lib_mp3lame_lame_init" >&6; }
9428 if test "x
$ac_cv_lib_mp3lame_lame_init" = x""yes; then
9429 cat >>confdefs.h <<_ACEOF
9430 #define HAVE_LIBMP3LAME 1
9433 LIBS="-lmp3lame $LIBS"
9441 for ac_header in lame.h
9443 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
9444 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9445 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
9446 $as_echo_n "checking
for $ac_header...
" >&6; }
9447 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9448 $as_echo_n "(cached
) " >&6
9450 ac_res=`eval 'as_val=${'$as_ac_Header'}
9451 $as_echo "$as_val"'`
9452 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
9453 $as_echo "$ac_res" >&6; }
9455 # Is the header compilable?
9456 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
9457 $as_echo_n "checking
$ac_header usability...
" >&6; }
9458 cat >conftest.$ac_ext <<_ACEOF
9461 cat confdefs.h >>conftest.$ac_ext
9462 cat >>conftest.$ac_ext <<_ACEOF
9463 /* end confdefs.h. */
9464 $ac_includes_default
9465 #include <$ac_header>
9467 rm -f conftest.$ac_objext
9468 if { (ac_try="$ac_compile"
9470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9471 *) ac_try_echo=$ac_try;;
9473 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9474 $as_echo "$ac_try_echo") >&5
9475 (eval "$ac_compile") 2>conftest.er1
9477 grep -v '^ *+' conftest.er1 >conftest.err
9479 cat conftest.err >&5
9480 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9481 (exit $ac_status); } && {
9482 test -z "$ac_c_werror_flag" ||
9483 test ! -s conftest.err
9484 } && test -s conftest.$ac_objext; then
9485 ac_header_compiler=yes
9487 $as_echo "$as_me: failed program was
:" >&5
9488 sed 's/^/| /' conftest.$ac_ext >&5
9490 ac_header_compiler=no
9493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9494 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
9495 $as_echo "$ac_header_compiler" >&6; }
9497 # Is the header present?
9498 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
9499 $as_echo_n "checking
$ac_header presence...
" >&6; }
9500 cat >conftest.$ac_ext <<_ACEOF
9503 cat confdefs.h >>conftest.$ac_ext
9504 cat >>conftest.$ac_ext <<_ACEOF
9505 /* end confdefs.h. */
9506 #include <$ac_header>
9508 if { (ac_try="$ac_cpp conftest.
$ac_ext"
9510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9511 *) ac_try_echo=$ac_try;;
9513 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9514 $as_echo "$ac_try_echo") >&5
9515 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
9517 grep -v '^ *+' conftest.er1 >conftest.err
9519 cat conftest.err >&5
9520 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9521 (exit $ac_status); } >/dev/null && {
9522 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9523 test ! -s conftest.err
9525 ac_header_preproc=yes
9527 $as_echo "$as_me: failed program was
:" >&5
9528 sed 's/^/| /' conftest.$ac_ext >&5
9530 ac_header_preproc=no
9533 rm -f conftest.err conftest.$ac_ext
9534 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
9535 $as_echo "$ac_header_preproc" >&6; }
9537 # So? What about this header?
9538 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9540 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
9541 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
9542 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
9543 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
9544 ac_header_preproc=yes
9547 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
9548 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
9549 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
9550 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
9551 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
9552 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
9553 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
9554 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
9555 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
9556 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
9557 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
9558 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
9562 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
9563 $as_echo_n "checking
for $ac_header...
" >&6; }
9564 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9565 $as_echo_n "(cached
) " >&6
9567 eval "$as_ac_Header=\
$ac_header_preproc"
9569 ac_res=`eval 'as_val=${'$as_ac_Header'}
9570 $as_echo "$as_val"'`
9571 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
9572 $as_echo "$ac_res" >&6; }
9575 as_val=`eval 'as_val=${'$as_ac_Header'}
9576 $as_echo "$as_val"'`
9577 if test "x
$as_val" = x""yes; then
9578 cat >>confdefs.h <<_ACEOF
9579 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
9586 if test "x
$NO_LIBMP3LAME" "!=" "x1
" -a "x
$HASLAMEHEADER" '!=' "x
";then
9587 cat >>confdefs.h <<\_ACEOF
9596 splash_in_source='$(splash_objects)'
9597 xpdf_in_source='$(xpdf_objects)'
9603 # ------------------------------------------------------------------
9606 { $as_echo "$as_me:$LINENO: checking whether the filesystem normalizes
file names
" >&5
9607 $as_echo_n "checking whether the filesystem normalizes
file names...
" >&6; }
9609 echo test1 > __abcdefghijklmnopqrstuvwxyz.txt
9610 echo test2 > __ABCDEFGHIJKLMNOPQRSTUVWXYZ.txt
9611 if test `cat __abcdefghijklmnopqrstuvwxyz.txt` = "test2
";then
9612 { $as_echo "$as_me:$LINENO: result
: yes" >&5
9613 $as_echo "yes" >&6; }
9615 cat >>confdefs.h <<\_ACEOF
9616 #define LOWERCASE_UPPERCASE 1
9620 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9621 $as_echo "no
" >&6; }
9624 rm -f __abcdefghijklmnopqrstuvwxyz.txt
9625 rm -f __ABCDEFGHIJKLMNOPQRSTUVWXYZ.txt
9629 for ac_prog in avifile-config
9631 # Extract the first word of "$ac_prog", so it can be a program name with args.
9632 set dummy $ac_prog; ac_word=$2
9633 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
9634 $as_echo_n "checking
for $ac_word...
" >&6; }
9635 if test "${ac_cv_prog_AVIFILE_CONFIG+set}" = set; then
9636 $as_echo_n "(cached
) " >&6
9638 if test -n "$AVIFILE_CONFIG"; then
9639 ac_cv_prog_AVIFILE_CONFIG="$AVIFILE_CONFIG" # Let the user override the test.
9641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9645 test -z "$as_dir" && as_dir=.
9646 for ac_exec_ext in '' $ac_executable_extensions; do
9647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9648 ac_cv_prog_AVIFILE_CONFIG="$ac_prog"
9649 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9658 AVIFILE_CONFIG=$ac_cv_prog_AVIFILE_CONFIG
9659 if test -n "$AVIFILE_CONFIG"; then
9660 { $as_echo "$as_me:$LINENO: result
: $AVIFILE_CONFIG" >&5
9661 $as_echo "$AVIFILE_CONFIG" >&6; }
9663 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9664 $as_echo "no
" >&6; }
9668 test -n "$AVIFILE_CONFIG" && break
9672 if test "x
$AVIFILE_CONFIG" '!=' "x
";then
9673 OLDCPPFLAGS="$CPPFLAGS"
9674 # temporarily add avifile paths to CPPFLAGS...
9675 CPPFLAGS="$CPPFLAGS $CXXFLAGS "`$AVIFILE_CONFIG --cflags`
9678 for ac_header in avifile/version.h version.h
9680 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
9681 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9682 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
9683 $as_echo_n "checking
for $ac_header...
" >&6; }
9684 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9685 $as_echo_n "(cached
) " >&6
9687 ac_res=`eval 'as_val=${'$as_ac_Header'}
9688 $as_echo "$as_val"'`
9689 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
9690 $as_echo "$ac_res" >&6; }
9692 # Is the header compilable?
9693 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
9694 $as_echo_n "checking
$ac_header usability...
" >&6; }
9695 cat >conftest.$ac_ext <<_ACEOF
9698 cat confdefs.h >>conftest.$ac_ext
9699 cat >>conftest.$ac_ext <<_ACEOF
9700 /* end confdefs.h. */
9701 $ac_includes_default
9702 #include <$ac_header>
9704 rm -f conftest.$ac_objext
9705 if { (ac_try="$ac_compile"
9707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9708 *) ac_try_echo=$ac_try;;
9710 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9711 $as_echo "$ac_try_echo") >&5
9712 (eval "$ac_compile") 2>conftest.er1
9714 grep -v '^ *+' conftest.er1 >conftest.err
9716 cat conftest.err >&5
9717 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9718 (exit $ac_status); } && {
9719 test -z "$ac_c_werror_flag" ||
9720 test ! -s conftest.err
9721 } && test -s conftest.$ac_objext; then
9722 ac_header_compiler=yes
9724 $as_echo "$as_me: failed program was
:" >&5
9725 sed 's/^/| /' conftest.$ac_ext >&5
9727 ac_header_compiler=no
9730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9731 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
9732 $as_echo "$ac_header_compiler" >&6; }
9734 # Is the header present?
9735 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
9736 $as_echo_n "checking
$ac_header presence...
" >&6; }
9737 cat >conftest.$ac_ext <<_ACEOF
9740 cat confdefs.h >>conftest.$ac_ext
9741 cat >>conftest.$ac_ext <<_ACEOF
9742 /* end confdefs.h. */
9743 #include <$ac_header>
9745 if { (ac_try="$ac_cpp conftest.
$ac_ext"
9747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9748 *) ac_try_echo=$ac_try;;
9750 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9751 $as_echo "$ac_try_echo") >&5
9752 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
9754 grep -v '^ *+' conftest.er1 >conftest.err
9756 cat conftest.err >&5
9757 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9758 (exit $ac_status); } >/dev/null && {
9759 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9760 test ! -s conftest.err
9762 ac_header_preproc=yes
9764 $as_echo "$as_me: failed program was
:" >&5
9765 sed 's/^/| /' conftest.$ac_ext >&5
9767 ac_header_preproc=no
9770 rm -f conftest.err conftest.$ac_ext
9771 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
9772 $as_echo "$ac_header_preproc" >&6; }
9774 # So? What about this header?
9775 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9777 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
9778 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
9779 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
9780 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
9781 ac_header_preproc=yes
9784 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
9785 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
9786 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
9787 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
9788 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
9789 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
9790 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
9791 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
9792 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
9793 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
9794 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
9795 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
9799 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
9800 $as_echo_n "checking
for $ac_header...
" >&6; }
9801 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9802 $as_echo_n "(cached
) " >&6
9804 eval "$as_ac_Header=\
$ac_header_preproc"
9806 ac_res=`eval 'as_val=${'$as_ac_Header'}
9807 $as_echo "$as_val"'`
9808 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
9809 $as_echo "$ac_res" >&6; }
9812 as_val=`eval 'as_val=${'$as_ac_Header'}
9813 $as_echo "$as_val"'`
9814 if test "x
$as_val" = x""yes; then
9815 cat >>confdefs.h <<_ACEOF
9816 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
9824 CPPFLAGS="$OLDCPPFLAGS"
9827 { $as_echo "$as_me:$LINENO: checking whether we can compile the avifile
test program
" >&5
9828 $as_echo_n "checking whether we can compile the avifile
test program...
" >&6; }
9830 if test "x
${ac_cv_header_version_h}" '=' "xyes
";then
9831 HAVE_VERSION_H_DEFINE='#define HAVE_VERSION_H'
9833 if test "x
${ac_cv_header_avifile_version_h}" '=' "xyes
";then
9834 HAVE_AVIFILE_VERSION_H_DEFINE='#define HAVE_AVIFILE_VERSION_H'
9837 cat > conftest.cpp << EOF
9839 // hack- we can't yet access the variables in config.h (because it hasn't been generated yet),
9840 // so we have to introduce them this way
9841 $HAVE_VERSION_H_DEFINE
9842 $HAVE_AVIFILE_VERSION_H_DEFINE
9844 #ifdef HAVE_VERSION_H
9845 #include <version.h>
9847 #ifdef HAVE_AVIFILE_VERSION_H
9848 #include <avifile/version.h>
9851 #if (AVIFILE_MAJOR_VERSION == 0) && (AVIFILE_MINOR_VERSION>=6)
9852 #include <avifile.h>
9853 #include <aviplay.h>
9854 #include <avm_fourcc.h>
9855 #include <avm_creators.h>
9856 #include <StreamInfo.h>
9859 #include <avifile.h>
9860 #include <aviplay.h>
9861 #include <aviutil.h>
9863 #define Height height
9870 IAviReadFile* player;
9871 IAviReadStream* astream;
9872 IAviReadStream* vstream;
9873 player = CreateIAviReadFile(0);
9874 astream = player->GetStream(0, AviStream::Audio);
9875 vstream = player->GetStream(0, AviStream::Video);
9876 vstream -> StartStreaming();
9877 astream -> StartStreaming();
9880 player->GetFileHeader(&head);
9881 head.dwMicroSecPerFrame;
9886 head.dwMicroSecPerFrame;
9887 astream->GetEndPos(),
9888 astream->GetEndTime());
9889 player->StreamCount();
9891 StreamInfo*audioinfo;
9892 StreamInfo*videoinfo;
9893 audioinfo = astream->GetStreamInfo();
9894 videoinfo = vstream->GetStreamInfo();
9895 videoinfo->GetVideoWidth();
9896 videoinfo->GetVideoHeight();
9897 audioinfo->GetAudioSamplesPerSec();
9898 videoinfo->GetFps();
9900 CImage*img = vstream->GetFrame();
9907 astream->GetAudioFormatInfo(&wave,0);
9909 astream->ReadFrames(0,0,0,a,b);
9911 int main (int argc, char*argv)
9917 if test "x
$AVIFILE_CONFIG" '!=' "x
";then
9918 AVIFILE_LIBS=`$AVIFILE_CONFIG --libs`
9919 AVIFILE_CFLAGS=`$AVIFILE_CONFIG --cflags`
9920 avifile_link='$CXX $CPPFLAGS $CXXFLAGS $AVIFILE_CFLAGS conftest.cpp $AVIFILE_LIBS -o conftest${ac_exeext}'
9921 if { (eval echo avi2swf.m4:71: \"$avifile_link\") 1>&5; (eval $avifile_link) 2>&5; } && test -s conftest${ac_exeext} && ./conftest${ac_exeext}; then
9922 { $as_echo "$as_me:$LINENO: result
: yes" >&5
9923 $as_echo "yes" >&6; }
9927 cat >>confdefs.h <<\_ACEOF
9928 #define AVIFILE true
9932 echo "configure
: failed program was
:" >&5
9933 cat conftest.cpp >&5
9934 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9935 $as_echo "no
" >&6; }
9938 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9939 $as_echo "no
" >&6; }
9943 if test "x
${AVIFILE}" = "xtrue
"; then
9944 VIDEO_LIBS="$VIDEO_LIBS $AVIFILE_LIBS"
9945 VIDEO_CFLAGS="$VIDEO_CFLAGS $AVIFILE_CFLAGS"
9947 cat >>confdefs.h <<\_ACEOF
9948 #define HAVE_AVIFILE 1
9953 if test "x
${WIN32}" != "x
"; then
9954 #AC_CHECK_LIB(avifil32, AVIFileInit,AVIFIL32=true)
9955 #if test "x
${AVIFIL32}" != "x
"; then
9956 # VIDEO_LIBS="$VIDEO_LIBS -lavifil32"
9958 VIDEO_LIBS="$VIDEO_LIBS -lavifil32"
9964 # ------------------------------------------------------------------
9966 if test "x
${UNCOMPRESS}" = "xgzip
"; then
9968 cat >>confdefs.h <<\_ACEOF
9975 # ------------------------------------------------------------------
9978 { $as_echo "$as_me:$LINENO: checking
for Python.h
" >&5
9979 $as_echo_n "checking
for Python.h...
" >&6; }
9981 if test "x
$PYTHON_LIB" '!=' "x
" -a "x
$PYTHON_INCLUDES" '!=' "x
";then
9984 if test "x
$PYTHON_LIB" '!=' "x
" -o "x
$PYTHON_INCLUDES" '!=' "x
";then
9985 echo "Set both PYTHON_LIB and PYTHON_INCLUDES
, or none
at all
"
9987 # iterate through version 2.2 to 2.6
9988 for v in 2 3 4 5 6; do
9990 if test -f "/usr
/include
/python2.
$v/Python.h
";then
9992 PYTHON_LIB="-lpython$PY_VERSION"
9993 if test -f "/usr
/lib
/python2.
$v/site-packages
/PIL
/_imaging.so
";then
9994 PYTHON_LIB2="$PYTHON_LIB /usr
/lib
/python2.
$v/site-packages
/PIL
/_imaging.so
"
9995 HAVE_PYTHON_IMAGING_LIB=1
9997 PYTHON_LIB2="$PYTHON_LIB"
9999 PYTHON_INCLUDES="-I/usr
/include
/python
$PY_VERSION"
10001 elif test -f "/Library
/Frameworks
/Python.framework
/Versions
/2.
$v/include
/python2.
$v/Python.h
";then
10003 PYTHON_LIB="-framework Python
"
10004 if test -f "/Library
/Frameworks
/Python.framework
/Versions
/2.
$v/site-packages
/PIL
/_imaging.so
";then
10005 PYTHON_LIB2="$PYTHON_LIB /Library
/Python
/2.
$v/PIL
/_imaging.so
"
10006 HAVE_PYTHON_IMAGING_LIB=1
10008 PYTHON_LIB2="$PYTHON_LIB"
10010 PYTHON_INCLUDES="-I/Library
/Frameworks
/Python.framework
/Versions
/2.
$v/include
/python2.
$v/"
10012 elif test "(" -f "/sw
/lib
/python2.
$v/config
/libpython2.
$v.dylib
" \
10013 -o -f "/sw
/lib
/python2.
$v/config
/libpython2.
$v.a
" \
10014 -o -f "/sw
/lib
/python2.
$v/config
/libpython2.
$v.so
" \
10016 -a -f "/sw
/include
/python2.
$v/Python.h
"; then
10018 PYTHON_LIB="-L /sw
/lib
/python2.
$v/config
/ -lpython$PY_VERSION /sw
/lib
/python2.
$v/site-packages
/PIL
/_imaging.so
"
10019 if test -f "/sw
/lib
/python2.
$v/site-packages
/PIL
/_imaging.so
";then
10020 PYTHON_LIB2="$PYTHON_LIB /sw
/lib
/python2.
$v/site-packages
/PIL
/_imaging.so
"
10021 HAVE_PYTHON_IMAGING_LIB=1
10023 PYTHON_LIB2="$PYTHON_LIB"
10025 PYTHON_INCLUDES="-I /sw
/include
/python2.
$v/"
10030 if test "x
$PY_VERSION" "!=" "x
"; then
10031 { $as_echo "$as_me:$LINENO: result
: $PY_VERSION" >&5
10032 $as_echo "$PY_VERSION" >&6; }
10033 export PYTHON_INCLUDES PYTHON_LIB
10036 { $as_echo "$as_me:$LINENO: checking whether we can compile the python
test program
" >&5
10037 $as_echo_n "checking whether we can compile the python
test program...
" >&6; }
10039 cat > conftest.c << EOF
10040 #include <Python.h>
10045 ret = Py_Main(0, 0);
10046 int x; // check also for gcc 2.95.x incompatibilities
10051 ac_link='$CC $CPPFLAGS $CFLAGS $PYTHON_INCLUDES conftest.c $LDFLAGS $PYTHON_LIB $LIBS -o conftest${ac_exeext}'
10052 if { (eval echo python.m4: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10053 { $as_echo "$as_me:$LINENO: result
: yes" >&5
10054 $as_echo "yes" >&6; }
10057 echo "configure
: failed program was
:" >&5
10059 { $as_echo "$as_me:$LINENO: result
: no
" >&5
10060 $as_echo "no
" >&6; }
10063 if test "x
$PYTHON_OK" = "xyes
";then
10064 { $as_echo "$as_me:$LINENO: checking
for Python-Imaging
" >&5
10065 $as_echo_n "checking
for Python-Imaging...
" >&6; }
10066 cat > conftest.c << EOF
10067 #include <Python.h>
10068 #include <Imaging.h>
10076 if test "$HAVE_PYTHON_IMAGING_LIB"; then
10077 ac_link='$CC $CPPFLAGS $CFLAGS $PYTHON_INCLUDES conftest.c $LDFLAGS ${PYTHON_LIB2} $LIBS -o conftest${ac_exeext}'
10078 if { (eval echo python.m4: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10079 PYTHON_LIB="${PYTHON_LIB2}"
10081 cat >>confdefs.h <<\_ACEOF
10082 #define HAVE_PYTHON_IMAGING 1
10085 HAVE_PYTHON_IMAGING=yes
10086 export HAVE_PYTHON_IMAGING
10088 { $as_echo "$as_me:$LINENO: result
: yes" >&5
10089 $as_echo "yes" >&6; }
10091 echo "configure
: failed program was
:" >&5
10093 { $as_echo "$as_me:$LINENO: result
: no
" >&5
10094 $as_echo "no
" >&6; }
10097 echo "(didn
't find the Python-Imaging libraries)" >&5
10098 { $as_echo "$as_me:$LINENO: result: no" >&5
10099 $as_echo "no" >&6; }
10104 { $as_echo "$as_me:$LINENO: result: nope" >&5
10105 $as_echo "nope" >&6; }
10109 if test "x$PYTHON_OK" '!=' "xyes";then
10110 echo all install uninstall clean: > lib/python/Makefile
10111 # fail silently- the most users won't have any need
for the
10112 # python interface anyway
10114 pythongfx
="lib/python/Makefile"
10117 # ------------------------------------------------------------------
10120 # Extract the first word of "ruby", so it can be a program name with args.
10121 set dummy ruby
; ac_word
=$2
10122 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10123 $as_echo_n "checking for $ac_word... " >&6; }
10124 if test "${ac_cv_path_RUBY+set}" = set; then
10125 $as_echo_n "(cached) " >&6
10129 ac_cv_path_RUBY
="$RUBY" # Let the user override the test with a path.
10132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10133 for as_dir
in $PATH
10136 test -z "$as_dir" && as_dir
=.
10137 for ac_exec_ext
in '' $ac_executable_extensions; do
10138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10139 ac_cv_path_RUBY
="$as_dir/$ac_word$ac_exec_ext"
10140 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10150 RUBY
=$ac_cv_path_RUBY
10151 if test -n "$RUBY"; then
10152 { $as_echo "$as_me:$LINENO: result: $RUBY" >&5
10153 $as_echo "$RUBY" >&6; }
10155 { $as_echo "$as_me:$LINENO: result: no" >&5
10156 $as_echo "no" >&6; }
10167 { $as_echo "$as_me:$LINENO: checking for ruby's include directory" >&5
10168 $as_echo_n "checking for ruby's include directory... " >&6; }
10169 if test "x$RUBY" '!=' "x";then
10170 rubyinc
=`$RUBY -e 'require "rbconfig";puts Config::expand(Config::CONFIG.send("\x5b\x5d", "archdir"))' 2>/dev/null`
10171 if test -d $rubyinc;then
10172 { $as_echo "$as_me:$LINENO: result: $rubyinc" >&5
10173 $as_echo "$rubyinc" >&6; }
10175 # If we got a sensible archdir, we also ask ruby to supply us with CPPFLAGS
10177 { $as_echo "$as_me:$LINENO: checking for ruby's cpp flags" >&5
10178 $as_echo_n "checking for ruby's cpp flags... " >&6; }
10179 rubycpp
=`$RUBY -e 'require "rbconfig";puts Config::expand(Config::CONFIG.send("\x5b\x5d", "CPPFLAGS"))' 2>/dev/null`
10180 { $as_echo "$as_me:$LINENO: result: $rubycpp" >&5
10181 $as_echo "$rubycpp" >&6; }
10183 { $as_echo "$as_me:$LINENO: checking for ruby's ld flags" >&5
10184 $as_echo_n "checking for ruby's ld flags... " >&6; }
10185 rubyld
=`$RUBY -e 'require "rbconfig";puts Config::expand(Config::CONFIG.send("\x5b\x5d", "LIBRUBYARG_SHARED"))' 2>/dev/null`
10186 { $as_echo "$as_me:$LINENO: result: $rubyld" >&5
10187 $as_echo "$rubyld" >&6; }
10189 { $as_echo "$as_me:$LINENO: checking for ruby library name" >&5
10190 $as_echo_n "checking for ruby library name... " >&6; }
10191 rubylib
=`$RUBY -e 'require "rbconfig";puts Config::expand(Config::CONFIG.send("\x5b\x5d", "RUBY_SO_NAME"))' 2>/dev/null`
10192 { $as_echo "$as_me:$LINENO: result: $rubylib" >&5
10193 $as_echo "$rubylib" >&6; }
10195 RUBY_CPPFLAGS
="$rubycpp -I$rubyinc $RUBY_CPPFLAGS"
10196 RUBY_LDFLAGS
="$rubyld $RUBY_LDFLAGS"
10197 RUBY_INSTALLDIR
="$rubyinc"
10199 { $as_echo "$as_me:$LINENO: result: 'unknown'" >&5
10200 $as_echo "'unknown'" >&6; }
10203 { $as_echo "$as_me:$LINENO: result: 'unknown'" >&5
10204 $as_echo "'unknown'" >&6; }
10207 #OLDLDFLAGS="$LDFLAGS"
10208 #LDFLAGS="$LDFLAGS $RUBY_LDFLAGS"
10209 #AC_CHECK_LIB($rubylib, rb_define_method, HAVE_RUBY_LIB=1,)
10210 #LDFLAGS="$OLDLDFLAGS"
10212 OLDCPPFLAGS
="$CPPFLAGS"
10213 CPPFLAGS
="$CPPFLAGS $RUBY_CPPFLAGS"
10215 for ac_header
in ruby.h
10217 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10218 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10219 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10220 $as_echo_n "checking for $ac_header... " >&6; }
10221 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10222 $as_echo_n "(cached) " >&6
10224 ac_res
=`eval 'as_val=${'$as_ac_Header'}
10225 $as_echo "$as_val"'`
10226 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10227 $as_echo "$ac_res" >&6; }
10229 # Is the header compilable?
10230 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
10231 $as_echo_n "checking $ac_header usability... " >&6; }
10232 cat >conftest.
$ac_ext <<_ACEOF
10235 cat confdefs.h
>>conftest.
$ac_ext
10236 cat >>conftest.
$ac_ext <<_ACEOF
10237 /* end confdefs.h. */
10238 $ac_includes_default
10239 #include <$ac_header>
10241 rm -f conftest.
$ac_objext
10242 if { (ac_try
="$ac_compile"
10243 case "(($ac_try" in
10244 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10245 *) ac_try_echo=$ac_try;;
10247 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10248 $as_echo "$ac_try_echo") >&5
10249 (eval "$ac_compile") 2>conftest.er1
10251 grep -v '^ *+' conftest.er1 >conftest.err
10253 cat conftest.err >&5
10254 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10255 (exit $ac_status); } && {
10256 test -z "$ac_c_werror_flag" ||
10257 test ! -s conftest.err
10258 } && test -s conftest.$ac_objext; then
10259 ac_header_compiler=yes
10261 $as_echo "$as_me: failed program was:" >&5
10262 sed 's/^/| /' conftest.$ac_ext >&5
10264 ac_header_compiler=no
10267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10268 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10269 $as_echo "$ac_header_compiler" >&6; }
10271 # Is the header present?
10272 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
10273 $as_echo_n "checking $ac_header presence... " >&6; }
10274 cat >conftest.$ac_ext <<_ACEOF
10277 cat confdefs.h >>conftest.$ac_ext
10278 cat >>conftest.$ac_ext <<_ACEOF
10279 /* end confdefs.h. */
10280 #include <$ac_header>
10282 if { (ac_try="$ac_cpp conftest.$ac_ext"
10283 case "(($ac_try" in
10284 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10285 *) ac_try_echo
=$ac_try;;
10287 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10288 $as_echo "$ac_try_echo") >&5
10289 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10291 grep -v '^ *+' conftest.er1
>conftest.err
10293 cat conftest.err
>&5
10294 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10295 (exit $ac_status); } >/dev
/null
&& {
10296 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10297 test ! -s conftest.err
10299 ac_header_preproc
=yes
10301 $as_echo "$as_me: failed program was:" >&5
10302 sed 's/^/| /' conftest.
$ac_ext >&5
10304 ac_header_preproc
=no
10307 rm -f conftest.err conftest.
$ac_ext
10308 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10309 $as_echo "$ac_header_preproc" >&6; }
10311 # So? What about this header?
10312 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10314 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10315 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10316 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10317 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10318 ac_header_preproc
=yes
10321 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10322 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10323 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10324 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10325 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10326 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10327 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10328 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10329 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10330 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10331 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10332 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10336 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10337 $as_echo_n "checking for $ac_header... " >&6; }
10338 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10339 $as_echo_n "(cached) " >&6
10341 eval "$as_ac_Header=\$ac_header_preproc"
10343 ac_res
=`eval 'as_val=${'$as_ac_Header'}
10344 $as_echo "$as_val"'`
10345 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10346 $as_echo "$ac_res" >&6; }
10349 as_val
=`eval 'as_val=${'$as_ac_Header'}
10350 $as_echo "$as_val"'`
10351 if test "x$as_val" = x
""yes; then
10352 cat >>confdefs.h
<<_ACEOF
10353 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10360 CPPFLAGS
="$OLDCPPFLAGS"
10362 { $as_echo "$as_me:$LINENO: checking whether we should compile the ruby module" >&5
10363 $as_echo_n "checking whether we should compile the ruby module... " >&6; }
10364 if test "x${HAVE_RUBY_H}" '!=' "x";then
10365 #RUBY_LIBS="$RUBY_LIBS -l$rubylib"
10367 cat > conftest.c
<< EOF
10369 static VALUE foobar;
10370 VALUE foobar_set_foo(VALUE module, VALUE _key, VALUE _value)
10376 foobar = rb_define_module("foobar");
10377 rb_define_module_function(foobar, "set_foo", foobar_set_foo, 2);
10379 int main() {return 0;}
10381 ac_link
='$CC $SHARED $CPPFLAGS $RUBY_CPPFLAGS $CFLAGS conftest.c $LDFLAGS $RUBY_LDFLAGS $LIBS $RUBY_LIBS -o conftest${ac_exeext}'
10382 if { (eval echo ruby.
m4: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10385 echo "configure: failed program was:" >&5
10391 if test "x${RUBY_OK}" '=' "xyes"; then
10392 { $as_echo "$as_me:$LINENO: result: yes" >&5
10393 $as_echo "yes" >&6; }
10399 { $as_echo "$as_me:$LINENO: result: no" >&5
10400 $as_echo "no" >&6; }
10408 if test "x$RUBY_OK" '!=' "xyes";then
10409 echo all
install uninstall clean
: > lib
/ruby
/Makefile
10410 # fail silently- the most users won't have any need for the
10411 # ruby interface anyway
10413 rubygfx
="lib/ruby/Makefile"
10416 # ------------------------------------------------------------------
10418 { $as_echo "$as_me:$LINENO: checking for missing libraries" >&5
10419 $as_echo_n "checking for missing libraries... " >&6; }
10421 if test "x$ZLIBMISSING" = "xtrue";then
10422 MISSINGLIBS
="${MISSINGLIBS} zlib"
10423 DISABLEPNG2SWF
=true
10426 if test "x$JPEGLIBMISSING" = "xtrue";then
10427 MISSINGLIBS
="${MISSINGLIBS} jpeglib"
10428 DISABLEPDF2SWF
=true
10429 DISABLEJPEG2SWF
=true
10432 if test "x$PDFLIBMISSING" = "xtrue";then
10433 DISABLEPDF2PDF
=true
;
10435 #if test "x$T1LIBMISSING" = "xtrue";then
10436 # MISSINGLIBS="${MISSINGLIBS} t1lib"
10438 if test "x$UNGIFMISSING" = "xtrue";then
10439 DISABLEGIF2SWF
=true
10440 MISSINGLIBS
="${MISSINGLIBS} ungif"
10444 if test "x${ac_cv_header_pdflib_h}" '!=' "xyes";then
10445 DISABLEPDF2PDF
=true
;
10447 if test "x${ac_cv_header_jpeglib_h}" '!=' "xyes"; then
10448 DISABLEPDF2SWF
=true
;
10449 DISABLEJPEG2SWF
=true
;
10450 MISSINGLIBS
="${MISSINGLIBS} jpeglib.h"
10453 if test "x$HAVE_FREETYPE" '!=' "x1"; then
10454 DISABLEPDF2SWF
=true
;
10455 MISSINGLIBS
="${MISSINGLIBS} freetype"
10458 #if test "x${ac_cv_header_t1lib_h}" '!=' "xyes"; then
10459 # MISSINGLIBS="${MISSINGLIBS} t1lib.h"
10461 if test "x${ac_cv_header_gif_lib_h}" '!=' "xyes"; then
10462 DISABLEGIF2SWF
=true
10463 MISSINGLIBS
="${MISSINGLIBS} gif_lib.h"
10466 if test "x${ac_cv_header_zlib_h}" '!=' "xyes"; then
10467 DISABLEPNG2SWF
=true
;
10468 MISSINGLIBS
="${MISSINGLIBS} zlib.h"
10471 #if test "x${AVIFILE}" '!=' "xtrue" -a "x${AVIFIL32}" '!=' "xtrue"; then
10472 # MISSINGLIBS="${MISSINGLIBS} avifile"
10475 { $as_echo "$as_me:$LINENO: result: ${MISSINGLIBS}" >&5
10476 $as_echo "${MISSINGLIBS}" >&6; }
10478 # ------------------------------------------------------------------
10480 if test "x${MISSINGLIBS}" '!=' "x"; then
10481 echo "***************************************************"
10482 echo "* The following headers/libraries are missing: " ${MISSINGLIBS}
10485 avi2swf
="avi2swf/Makefile"
10486 if test "x${AVIFILE}" '!=' "xtrue" -a "x${AVIFIL32}" '!=' "xtrue"; then
10487 #don't whine, avi2swf is outdated anyway
10488 #echo "* Disabling avi2swf tool..."
10489 echo all
install uninstall clean
: > avi2swf
/Makefile
10493 pdf2swf_makefile
="lib/pdf/Makefile"
10494 PDF2SWF
='pdf2swf$(E)'
10495 LIBPDF
='libpdf$(A)'
10497 if test "x${DISABLEPDF2SWF}" = "xtrue"; then
10498 echo "* Disabling pdf2swf tool..."
10499 rm -f lib
/pdf
/Makefile
10500 echo all
install uninstall clean libpdf libgfxpdf
: > lib
/pdf
/Makefile
10501 pdf2swf_makefile
=""
10508 PDF2PDF
='pdf2pdf$(E)'
10509 DEVICE_PDF
='devices/pdf.$(O)'
10510 if test "x${DISABLEPDF2PDF}" = "xtrue"; then
10511 #echo "* Disabling pdf2pdf tool..."
10518 if test "x${ZLIBMISSING}" = "xtrue"; then
10520 echo "* Warning! Without zlib, you will not be able to read"
10521 echo "* or write compressed Flash MX files!"
10524 JPEG2SWF
='jpeg2swf$(E)'
10525 if test "x${DISABLEJPEG2SWF}" = "xtrue"; then
10526 echo "* Disabling jpeg2swf tool..."
10532 GIF2SWF
='gif2swf$(E)'
10533 if test "x${DISABLEGIF2SWF}" = "xtrue"; then
10534 echo "* Disabling gif2swf tool..."
10540 PNG2SWF
='png2swf$(E)'
10541 if test "x${DISABLEPNG2SWF}" = "xtrue"; then
10542 echo "* Disabling png2swf tool..."
10548 if test "x${MISSINGLIBS}" '!=' "x"; then
10549 if test "x${PARTIAL}" '=' "x"; then
10550 echo "* (never mind)"
10552 echo "***************************************************"
10555 # ------------------------------------------------------------------
10563 if test -f "release.in"; then release_in
="./release"; fi
10564 if test -f "Makefile.new.in"; then mk_in
="./Makefile.new"; fi
10565 FILES
="$release_in $mk_in Makefile.common ${avi2swf} Makefile lib/Makefile lib/action/Makefile src/Makefile ${pdf2swf_makefile} swfs/Makefile ${pythongfx} ${rubygfx} ${lame_makefile} lib/readers/Makefile"
10566 ac_config_files
="$ac_config_files ${FILES}"
10568 cat >confcache
<<\_ACEOF
10569 # This file is a shell script that caches the results of configure
10570 # tests run on this system so they can be shared between configure
10571 # scripts and configure runs, see configure's option --config-cache.
10572 # It is not useful on other systems. If it contains results you don't
10573 # want to keep, you may remove or edit it.
10575 # config.status only pays attention to the cache file if you give it
10576 # the --recheck option to rerun configure.
10578 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10579 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10580 # following values.
10584 # The following way of writing the cache mishandles newlines in values,
10585 # but we know of no workaround that is simple, portable, and efficient.
10586 # So, we kill variables containing newlines.
10587 # Ultrix sh set writes to stderr and can't be redirected directly,
10588 # and sets the high bit in the cache file unless we assign to the vars.
10590 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
10591 eval ac_val
=\$
$ac_var
10595 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
10596 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
10599 _ | IFS | as_nl
) ;; #(
10600 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
10601 *) $as_unset $ac_var ;;
10607 case $as_nl`(ac_space=' '; set) 2>&1` in #(
10608 *${as_nl}ac_space
=\
*)
10609 # `set' does not quote correctly, so add quotes (double-quote
10610 # substitution turns \\\\ into \\, and sed turns \\ into \).
10613 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10616 # `set' quotes correctly as required by POSIX, so do not add quotes.
10617 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
10626 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10628 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10630 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
10631 if test -w "$cache_file"; then
10632 test "x$cache_file" != "x/dev/null" &&
10633 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
10634 $as_echo "$as_me: updating cache $cache_file" >&6;}
10635 cat confcache
>$cache_file
10637 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
10638 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
10643 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
10644 # Let make expand exec_prefix.
10645 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
10647 DEFS
=-DHAVE_CONFIG_H
10651 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
10652 # 1. Remove the extension, and $U if already installed.
10653 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
10654 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
10655 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
10656 # will be set to the directory where LIBOBJS objects are built.
10657 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
10658 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
10660 LIBOBJS
=$ac_libobjs
10662 LTLIBOBJS
=$ac_ltlibobjs
10666 : ${CONFIG_STATUS=./config.status}
10668 ac_clean_files_save
=$ac_clean_files
10669 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
10670 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
10671 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
10672 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10674 # Generated by $as_me.
10675 # Run this file to recreate the current configuration.
10676 # Compiler output produced by configure, useful for debugging
10677 # configure, is in config.log if it exists.
10680 ac_cs_recheck=false
10682 SHELL=\${CONFIG_SHELL-$SHELL}
10685 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10686 ## --------------------- ##
10687 ## M4sh Initialization. ##
10688 ## --------------------- ##
10690 # Be more Bourne compatible
10691 DUALCASE
=1; export DUALCASE
# for MKS sh
10692 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
10695 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
10696 # is contrary to our usage. Disable this feature.
10697 alias -g '${1+"$@"}'='"$@"'
10698 setopt NO_GLOB_SUBST
10700 case `(set -o) 2>/dev/null` in
10701 *posix
*) set -o posix
;;
10710 # Avoid depending upon Character Ranges.
10711 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
10712 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10713 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
10714 as_cr_digits
='0123456789'
10715 as_cr_alnum
=$as_cr_Letters$as_cr_digits
10720 # Printing a long string crashes Solaris 7 /usr/bin/printf.
10721 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
10722 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
10723 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
10724 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
10725 as_echo='printf %s
\n'
10726 as_echo_n='printf %s
'
10728 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
10729 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
10730 as_echo_n='/usr
/ucb
/echo -n'
10732 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
10733 as_echo_n_body='eval
10737 expr "X$arg" : "X\\(.*\\)$as_nl";
10738 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
10740 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
10742 export as_echo_n_body
10743 as_echo_n='sh
-c $as_echo_n_body as_echo
'
10745 export as_echo_body
10746 as_echo='sh
-c $as_echo_body as_echo
'
10749 # The user is always right.
10750 if test "${PATH_SEPARATOR+set}" != set; then
10752 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
10753 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
10758 # Support unset when possible.
10759 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
10767 # We need space, tab and new line, in precisely that order. Quoting is
10768 # there to prevent editors from complaining about space-tab.
10769 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
10770 # splitting by setting IFS to empty value.)
10773 # Find who we are. Look in the path if we contain no directory separator.
10775 *[\\/]* ) as_myself=$0 ;;
10776 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10777 for as_dir in $PATH
10780 test -z "$as_dir" && as_dir=.
10781 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
10787 # We did not find ourselves, most probably we were run as `sh COMMAND'
10788 # in which case we are not to be found in the path.
10789 if test "x$as_myself" = x
; then
10792 if test ! -f "$as_myself"; then
10793 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
10794 { (exit 1); exit 1; }
10797 # Work around bugs in pre-3.0 UWIN ksh.
10798 for as_var
in ENV MAIL MAILPATH
10799 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
10811 # Required to use basename.
10812 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
10813 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
10819 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
10820 as_basename
=basename
10826 # Name of the executable.
10827 as_me
=`$as_basename -- "$0" ||
10828 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10829 X"$0" : 'X\(//\)$' \| \
10830 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
10832 sed '/^.*\/\([^/][^/]*\)\/*$/{
10851 as_lineno_1
=$LINENO
10852 as_lineno_2
=$LINENO
10853 test "x$as_lineno_1" != "x$as_lineno_2" &&
10854 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
10856 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
10857 # uniformly replaced by the line number. The first 'sed' inserts a
10858 # line-number line after each line using $LINENO; the second 'sed'
10859 # does the real work. The second script uses 'N' to pair each
10860 # line-number line with the line containing $LINENO, and appends
10861 # trailing '-' during substitution so that $LINENO is not a special
10862 # case at line end.
10863 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
10864 # scripts with optimization help from Paolo Bonzini. Blame Lee
10865 # E. McMahon (1931-1989) for sed's syntax. :-)
10877 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
10880 ' >$as_me.lineno
&&
10881 chmod +x
"$as_me.lineno" ||
10882 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
10883 { (exit 1); exit 1; }; }
10885 # Don't try to exec as it changes $[0], causing all sort of problems
10886 # (the dirname of $[0] is not the place where we might find the
10887 # original and so on. Autoconf is especially sensitive to this).
10888 .
"./$as_me.lineno"
10889 # Exit status is that of the last command.
10894 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
10900 ECHO_C
= ECHO_N
= ECHO_T
=
10901 case `echo -n x` in
10903 case `echo 'x\c'` in
10904 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
10910 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
10911 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
10917 rm -f conf$$ conf$$.exe conf$$.
file
10918 if test -d conf$$.dir
; then
10919 rm -f conf$$.dir
/conf$$.
file
10922 mkdir conf$$.dir
2>/dev
/null
10924 if (echo >conf$$.
file) 2>/dev
/null
; then
10925 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
10927 # ... but there are two gotchas:
10928 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
10929 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
10930 # In both cases, we have to default to `cp -p'.
10931 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
10933 elif ln conf$$.
file conf$$
2>/dev
/null
; then
10941 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
10942 rmdir conf$$.dir
2>/dev
/null
10944 if mkdir
-p .
2>/dev
/null
; then
10947 test -d .
/-p && rmdir .
/-p
10951 if test -x / >/dev
/null
2>&1; then
10952 as_test_x
='test -x'
10954 if ls -dL / >/dev
/null
2>&1; then
10961 if test -d "$1"; then
10967 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
10968 ???[sx]*):;;*)false;;esac;fi
10972 as_executable_p
=$as_test_x
10974 # Sed expression to map a string onto a valid CPP name.
10975 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10977 # Sed expression to map a string onto a valid variable name.
10978 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10983 # Save the log message, to keep $[0] and so on meaningful, and to
10984 # report actual input values of CONFIG_FILES etc. instead of their
10985 # values after options handling.
10987 This file was extended by $as_me, which was
10988 generated by GNU Autoconf 2.63. Invocation command line was
10990 CONFIG_FILES = $CONFIG_FILES
10991 CONFIG_HEADERS = $CONFIG_HEADERS
10992 CONFIG_LINKS = $CONFIG_LINKS
10993 CONFIG_COMMANDS = $CONFIG_COMMANDS
10996 on `(hostname || uname -n) 2>/dev/null | sed 1q`
11001 case $ac_config_files in *"
11002 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
11005 case $ac_config_headers in *"
11006 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
11010 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11011 # Files that config.status was made for.
11012 config_files="$ac_config_files"
11013 config_headers="$ac_config_headers"
11017 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11019 \`$as_me' instantiates files from templates according to the
11020 current configuration.
11022 Usage: $0 [OPTION]... [FILE]...
11024 -h, --help print this help, then exit
11025 -V, --version print version number and configuration settings, then exit
11026 -q, --quiet, --silent
11027 do not print progress messages
11028 -d, --debug don't remove temporary files
11029 --recheck update $as_me by reconfiguring in the same conditions
11030 --file=FILE[:TEMPLATE]
11031 instantiate the configuration file FILE
11032 --header=FILE[:TEMPLATE]
11033 instantiate the configuration header FILE
11035 Configuration files:
11038 Configuration headers:
11041 Report bugs to <bug-autoconf@gnu.org>."
11044 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11047 configured by $0, generated by GNU Autoconf 2.63,
11048 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
11050 Copyright (C) 2008 Free Software Foundation, Inc.
11051 This config.status script is free software; the Free Software Foundation
11052 gives unlimited permission to copy, distribute and modify it."
11057 test -n "\$AWK" || AWK=awk
11060 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11061 # The default lists apply if the user does not specify any file.
11067 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
11068 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
11079 # Handling of the options.
11080 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
11082 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
11083 $as_echo "$ac_cs_version"; exit ;;
11084 --debug |
--debu |
--deb |
--de |
--d |
-d )
11086 --file |
--fil |
--fi |
--f )
11089 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11091 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
11092 ac_need_defaults
=false
;;
11093 --header |
--heade |
--head |
--hea )
11096 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11098 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
11099 ac_need_defaults
=false
;;
11101 # Conflict between --help and --header
11102 { $as_echo "$as_me: error: ambiguous option: $1
11103 Try \`$0 --help' for more information." >&2
11104 { (exit 1); exit 1; }; };;
11105 --help |
--hel |
-h )
11106 $as_echo "$ac_cs_usage"; exit ;;
11107 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
11108 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
11111 # This is an error.
11112 -*) { $as_echo "$as_me: error: unrecognized option: $1
11113 Try \`$0 --help' for more information." >&2
11114 { (exit 1); exit 1; }; } ;;
11116 *) ac_config_targets
="$ac_config_targets $1"
11117 ac_need_defaults
=false
;;
11123 ac_configure_extra_args
=
11125 if $ac_cs_silent; then
11127 ac_configure_extra_args
="$ac_configure_extra_args --silent"
11131 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11132 if \$ac_cs_recheck; then
11133 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11135 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
11136 CONFIG_SHELL='$SHELL'
11137 export CONFIG_SHELL
11142 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11146 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11147 ## Running $as_me. ##
11153 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11156 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11158 # Handling of arguments.
11159 for ac_config_target
in $ac_config_targets
11161 case $ac_config_target in
11162 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
11163 "${FILES}") CONFIG_FILES
="$CONFIG_FILES ${FILES}" ;;
11165 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
11166 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
11167 { (exit 1); exit 1; }; };;
11172 # If the user did not use the arguments to specify the items to instantiate,
11173 # then the envvar interface is used. Set only those that are not.
11174 # We use the long form for the default assignment because of an extremely
11175 # bizarre bug on SunOS 4.1.3.
11176 if $ac_need_defaults; then
11177 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
11178 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
11181 # Have a temporary directory for convenience. Make it in the build tree
11182 # simply because there is no reason against having it here, and in addition,
11183 # creating and moving files from /tmp can sometimes cause problems.
11184 # Hook for its removal unless debugging.
11185 # Note that there is a small window in which the directory will not be cleaned:
11186 # after its creation but before its name has been assigned to `$tmp'.
11190 trap 'exit_status=$?
11191 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
11193 trap '{ (exit 1); exit 1; }' 1 2 13 15
11195 # Create a (secure) tmp directory for tmp files.
11198 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
11199 test -n "$tmp" && test -d "$tmp"
11202 tmp
=.
/conf$$
-$RANDOM
11203 (umask 077 && mkdir
"$tmp")
11206 $as_echo "$as_me: cannot create a temporary directory in ." >&2
11207 { (exit 1); exit 1; }
11210 # Set up the scripts for CONFIG_FILES section.
11211 # No need to generate them if there are no CONFIG_FILES.
11212 # This happens for instance with `./config.status config.h'.
11213 if test -n "$CONFIG_FILES"; then
11217 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
11218 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
11221 ac_cs_awk_cr
=$ac_cr
11224 echo 'BEGIN {' >"$tmp/subs1.awk" &&
11229 echo "cat >conf$$subs.awk <<_ACEOF" &&
11230 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
11232 } >conf$$subs.sh ||
11233 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
11234 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
11235 { (exit 1); exit 1; }; }
11236 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
11238 for ac_last_try in false false false false false :; do
11239 . ./conf$$subs.sh ||
11240 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
11241 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
11242 { (exit 1); exit 1; }; }
11244 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
11245 if test $ac_delim_n = $ac_delim_num; then
11247 elif $ac_last_try; then
11248 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
11249 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
11250 { (exit 1); exit 1; }; }
11252 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
11255 rm -f conf$$subs.sh
11257 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11258 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
11262 s/^/S["/; s
/!.
*/"]=/
11272 s/\(.\{148\}\).*/\1/
11274 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
11279 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
11286 s/\(.\{148\}\).*/\1/
11288 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
11292 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
11297 ' <conf$$subs.awk | sed '
11302 ' >>$CONFIG_STATUS || ac_write_fail=1
11303 rm -f conf$$subs.awk
11304 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11306 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
11307 for (key in S) S_is_set[key] = 1
11313 nfields = split(line, field, "@
")
11315 len = length(field[1])
11316 for (i = 2; i < nfields; i++) {
11318 keylen = length(key)
11319 if (S_is_set[key]) {
11321 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
11322 len += length(value) + length(field[++i])
11333 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11334 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
11335 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
11338 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
11339 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
11340 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
11341 { (exit 1); exit 1; }; }
11344 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11345 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
11346 # trailing colons and then remove the whole line if VPATH becomes empty
11347 # (actually we leave an empty line to preserve line numbers).
11348 if test "x
$srcdir" = x.; then
11349 ac_vpsub='/^[ ]*VPATH[ ]*=/{
11350 s/:*\$(srcdir):*/:/
11351 s/:*\${srcdir}:*/:/
11353 s/^\([^=]*=[ ]*\):*/\1/
11359 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11360 fi # test -n "$CONFIG_FILES"
11362 # Set up the scripts for CONFIG_HEADERS section.
11363 # No need to generate them if there are no CONFIG_HEADERS.
11364 # This happens for instance with `./config.status Makefile'.
11365 if test -n "$CONFIG_HEADERS"; then
11366 cat >"$tmp/defines.
awk" <<\_ACAWK ||
11370 # Transform confdefs.h into an awk script `defines.awk', embedded as
11371 # here-document in config.status, that substitutes the proper values into
11372 # config.h.in to produce config.h.
11374 # Create a delimiter string that does not exist in confdefs.h, to ease
11375 # handling of long lines.
11377 for ac_last_try in false false :; do
11378 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
11379 if test -z "$ac_t"; then
11381 elif $ac_last_try; then
11382 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
11383 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
11384 { (exit 1); exit 1; }; }
11386 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
11390 # For the awk script, D is an array of macro values keyed by name,
11391 # likewise P contains macro parameters if any. Preserve backslash
11392 # newline sequences.
11394 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
11396 s/.\{148\}/&'"$ac_delim"'/g
11399 s/^[ ]*#[ ]*define[ ][ ]*/ /
11406 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
11408 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
11412 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
11413 D["\
1"]=" \
3\\\\\\n
"\\/p
11415 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
11420 s/.\{148\}/&'"$ac_delim"'/g
11425 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
11428 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
11430 ' <confdefs.h | sed '
11431 s/'"$ac_delim"'/"\\\
11432 "/g' >>$CONFIG_STATUS || ac_write_fail=1
11434 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11435 for (key in D) D_is_set[key] = 1
11438 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
11440 split(line, arg, " ")
11441 if (arg[1] == "#") {
11445 defundef
= substr
(arg
[1], 2)
11448 split(mac1
, mac2
, "(") #)
11450 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
11451 if (D_is_set
[macro
]) {
11452 # Preserve the white space surrounding the "#".
11453 print prefix
"define", macro P
[macro
] D
[macro
]
11456 # Replace #undef with comments. This is necessary, for example,
11457 # in the case of _POSIX_SOURCE, which is predefined and required
11458 # on some systems where configure will not decide to define it.
11459 if (defundef
== "undef") {
11460 print
"/*", prefix defundef
, macro
, "*/"
11468 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11469 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
11470 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
11471 { (exit 1); exit 1; }; }
11472 fi # test -n "$CONFIG_HEADERS"
11475 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS "
11480 :[FHLC
]) ac_mode
=$ac_tag; continue;;
11482 case $ac_mode$ac_tag in
11484 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
11485 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
11486 { (exit 1); exit 1; }; };;
11487 :[FH
]-) ac_tag
=-:-;;
11488 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
11505 -) ac_f
="$tmp/stdin";;
11506 *) # Look for the file first in the build tree, then in the source tree
11507 # (if the path is not absolute). The absolute path cannot be DOS-style,
11508 # because $ac_f cannot contain `:'.
11512 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
11514 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
11515 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
11516 { (exit 1); exit 1; }; };;
11518 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
11519 ac_file_inputs
="$ac_file_inputs '$ac_f'"
11522 # Let's still pretend it is `configure' which instantiates (i.e., don't
11523 # use $as_me), people would be surprised to read:
11524 # /* config.h. Generated by config.status. */
11525 configure_input
='Generated from '`
11526 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
11528 if test x
"$ac_file" != x-
; then
11529 configure_input
="$ac_file. $configure_input"
11530 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
11531 $as_echo "$as_me: creating $ac_file" >&6;}
11533 # Neutralize special characters interpreted by sed in replacement strings.
11534 case $configure_input in #(
11535 *\
&* |
*\|
* |
*\\* )
11536 ac_sed_conf_input
=`$as_echo "$configure_input" |
11537 sed 's/[\\\\&|]/\\\\&/g'`;; #(
11538 *) ac_sed_conf_input
=$configure_input;;
11542 *:-:* |
*:-) cat >"$tmp/stdin" \
11543 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
11544 $as_echo "$as_me: error: could not create $ac_file" >&2;}
11545 { (exit 1); exit 1; }; } ;;
11550 ac_dir
=`$as_dirname -- "$ac_file" ||
11551 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11552 X"$ac_file" : 'X\(//\)[^/]' \| \
11553 X"$ac_file" : 'X\(//\)$' \| \
11554 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
11555 $as_echo X"$ac_file" |
11556 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11560 /^X\(\/\/\)[^/].*/{
11575 -*) as_dir
=.
/$as_dir;;
11577 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
11581 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
11582 *) as_qdir
=$as_dir;;
11584 as_dirs
="'$as_qdir' $as_dirs"
11585 as_dir
=`$as_dirname -- "$as_dir" ||
11586 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11587 X"$as_dir" : 'X\(//\)[^/]' \| \
11588 X"$as_dir" : 'X\(//\)$' \| \
11589 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11590 $as_echo X"$as_dir" |
11591 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11595 /^X\(\/\/\)[^/].*/{
11608 test -d "$as_dir" && break
11610 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11611 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11612 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
11613 { (exit 1); exit 1; }; }; }
11617 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
11619 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
11620 # A ".." for each directory in $ac_dir_suffix.
11621 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
11622 case $ac_top_builddir_sub in
11623 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
11624 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
11627 ac_abs_top_builddir
=$ac_pwd
11628 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
11629 # for backward compatibility:
11630 ac_top_builddir
=$ac_top_build_prefix
11633 .
) # We are building in place.
11635 ac_top_srcdir
=$ac_top_builddir_sub
11636 ac_abs_top_srcdir
=$ac_pwd ;;
11637 [\\/]* | ?
:[\\/]* ) # Absolute name.
11638 ac_srcdir
=$srcdir$ac_dir_suffix;
11639 ac_top_srcdir
=$srcdir
11640 ac_abs_top_srcdir
=$srcdir ;;
11641 *) # Relative name.
11642 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
11643 ac_top_srcdir
=$ac_top_build_prefix$srcdir
11644 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
11646 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
11656 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
11657 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
11661 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11662 # If the template does not know about datarootdir, expand it.
11663 # FIXME: This hack should be removed a few years after 2.60.
11664 ac_datarootdir_hack
=; ac_datarootdir_seen
=
11677 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
11678 *datarootdir
*) ac_datarootdir_seen
=yes;;
11679 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
11680 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
11681 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
11683 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11684 ac_datarootdir_hack='
11685 s&@datadir@&$datadir&g
11686 s&@docdir@&$docdir&g
11687 s&@infodir@&$infodir&g
11688 s&@localedir@&$localedir&g
11689 s&@mandir@&$mandir&g
11690 s&\\\${datarootdir}&$datarootdir&g' ;;
11694 # Neutralize VPATH when `$srcdir' = `.'.
11695 # Shell code in configure.ac might set extrasub.
11696 # FIXME: do we really want to maintain this feature?
11697 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11698 ac_sed_extra="$ac_vpsub
11701 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11703 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
11704 s|@configure_input@|
$ac_sed_conf_input|
;t t
11705 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
11706 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
11707 s
&@srcdir@
&$ac_srcdir&;t t
11708 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
11709 s
&@top_srcdir@
&$ac_top_srcdir&;t t
11710 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
11711 s
&@builddir@
&$ac_builddir&;t t
11712 s
&@abs_builddir@
&$ac_abs_builddir&;t t
11713 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
11714 s
&@INSTALL@
&$ac_INSTALL&;t t
11715 $ac_datarootdir_hack
11717 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
11718 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
11719 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
11720 { (exit 1); exit 1; }; }
11722 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
11723 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
11724 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
11725 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
11726 which seems to be undefined. Please make sure it is defined." >&5
11727 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
11728 which seems to be undefined. Please make sure it is defined." >&2;}
11732 -) cat "$tmp/out" && rm -f "$tmp/out";;
11733 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
11735 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
11736 $as_echo "$as_me: error: could not create $ac_file" >&2;}
11737 { (exit 1); exit 1; }; }
11743 if test x"$ac_file" != x-; then
11745 $as_echo "/* $configure_input */" \
11746 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
11747 } >"$tmp/config.h" \
11748 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
11749 $as_echo "$as_me: error: could not create $ac_file" >&2;}
11750 { (exit 1); exit 1; }; }
11751 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
11752 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
11753 $as_echo "$as_me: $ac_file is unchanged" >&6;}
11756 mv "$tmp/config.h" "$ac_file" \
11757 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
11758 $as_echo "$as_me: error: could not create $ac_file" >&2;}
11759 { (exit 1); exit 1; }; }
11762 $as_echo "/* $configure_input */" \
11763 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
11764 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
11765 $as_echo "$as_me: error: could not create -" >&2;}
11766 { (exit 1); exit 1; }; }
11776 { (exit 0); exit 0; }
11778 chmod +x $CONFIG_STATUS
11779 ac_clean_files=$ac_clean_files_save
11781 test $ac_write_fail = 0 ||
11782 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
11783 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
11784 { (exit 1); exit 1; }; }
11787 # configure is writing to config.log, and then calls config.status.
11788 # config.status does its own redirection, appending to config.log.
11789 # Unfortunately, on DOS this fails, as config.log is still kept open
11790 # by configure, so config.status won't be able to
write to it
; its
11791 # output is simply discarded. So we exec the FD to /dev/null,
11792 # effectively closing config.log, so it can be properly (re)opened and
11793 # appended to by config.status. When coming back to configure, we
11794 # need to make the FD available again.
11795 if test "$no_create" != yes; then
11797 ac_config_status_args
=
11798 test "$silent" = yes &&
11799 ac_config_status_args
="$ac_config_status_args --quiet"
11801 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
11803 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11804 # would make configure fail if this is the last instruction.
11805 $ac_cs_success ||
{ (exit 1); exit 1; }
11807 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
11808 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
11809 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
11815 # On development trees, create snapshots of config.status
11817 if test -f snapshot
-a "x$CHECKMEM" = "x" -a "x$PROFILING" = "x";then
11818 if test "x${MINGW}" = "xyes"; then
11819 echo cp config.status config.status.win32
11820 cp config.status config.status.win32
11822 if test "x$DEBUG" '=' "x" -a "x$OPTIMIZE" '=' "x";then
11823 echo cp config.status config.status.linux
11824 cp config.status config.status.linux
11826 if test "x$DEBUG" '!=' "x" -a "x$OPTIMIZE" '=' "x";then
11827 echo cp config.status config.status.debug
11828 cp config.status config.status.debug
11830 if test "x$DEBUG" = "x" -a "x$OPTIMIZE" '!=' "x"; then
11831 echo cp config.status config.status.optimize
11832 cp config.status config.status.optimize