2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 if test "x$CONFIG_SHELL" = x
; then
138 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142 # is contrary to our usage. Disable this feature.
143 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 case \`(set -o) 2>/dev/null\` in #(
154 as_required
="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168 exitcode=1; echo positional parameters were not saved.
170 test x\$exitcode = x0 || exit 1"
171 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
172 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175 test \$(( 1 + 1 )) = 2 || exit 1"
176 if (eval "$as_required") 2>/dev
/null
; then :
181 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
186 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
189 test -z "$as_dir" && as_dir
=.
193 for as_base
in sh bash ksh sh5
; do
194 # Try only shells that exist, to save several forks.
195 as_shell
=$as_dir/$as_base
196 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
197 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
198 CONFIG_SHELL
=$as_shell as_have_required
=yes
199 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
207 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
208 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
209 CONFIG_SHELL
=$SHELL as_have_required
=yes
214 if test "x$CONFIG_SHELL" != x
; then :
215 # We cannot yet assume a decent shell, so we have to provide a
216 # neutralization value for shells without unset; and this also
217 # works around shells that cannot unset nonexistent variables.
218 # Preserve -v and -x to the replacement shell.
221 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
224 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
229 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
232 if test x
$as_have_required = xno
; then :
233 $as_echo "$0: This script requires a shell more modern than all"
234 $as_echo "$0: the shells that I found on your system."
235 if test x
${ZSH_VERSION+set} = xset
; then
236 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
237 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
239 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
240 $0: including any error possibly output before this
241 $0: message. Then install a modern shell, or manually run
242 $0: the script under such a shell if you do have one."
248 SHELL
=${CONFIG_SHELL-/bin/sh}
250 # Unset more variables known to interfere with behavior of common tools.
251 CLICOLOR_FORCE
= GREP_OPTIONS
=
252 unset CLICOLOR_FORCE GREP_OPTIONS
254 ## --------------------- ##
255 ## M4sh Shell Functions. ##
256 ## --------------------- ##
259 # Portably unset VAR.
262 { eval $1=; unset $1;}
266 # as_fn_set_status STATUS
267 # -----------------------
268 # Set $? to STATUS, without forking.
276 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
286 # Create "$as_dir" as a directory, including parents if necessary.
291 -*) as_dir
=.
/$as_dir;;
293 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
297 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
300 as_dirs
="'$as_qdir' $as_dirs"
301 as_dir
=`$as_dirname -- "$as_dir" ||
302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
303 X"$as_dir" : 'X\(//\)[^/]' \| \
304 X"$as_dir" : 'X\(//\)$' \| \
305 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
306 $as_echo X"$as_dir" |
307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
324 test -d "$as_dir" && break
326 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
327 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
331 # as_fn_append VAR VALUE
332 # ----------------------
333 # Append the text in VALUE to the end of the definition contained in VAR. Take
334 # advantage of any shell optimizations that allow amortized linear growth over
335 # repeated appends, instead of the typical quadratic growth present in naive
337 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
338 eval 'as_fn_append ()
351 # Perform arithmetic evaluation on the ARGs, and store the result in the
352 # global $as_val. Take advantage of shells that can avoid forks. The arguments
353 # must be portable across $(()) and expr.
354 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
362 as_val
=`expr "$@" || test $? -eq 1`
367 # as_fn_error STATUS ERROR [LINENO LOG_FD]
368 # ----------------------------------------
369 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
370 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
371 # script with STATUS, using 1 if that was 0.
374 as_status
=$1; test $as_status -eq 0 && as_status
=1
376 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
377 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
379 $as_echo "$as_me: error: $2" >&2
380 as_fn_exit
$as_status
383 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
384 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
390 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
396 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
402 as_me
=`$as_basename -- "$0" ||
403 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
404 X"$0" : 'X\(//\)$' \| \
405 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
407 sed '/^.*\/\([^/][^/]*\)\/*$/{
421 # Avoid depending upon Character Ranges.
422 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
423 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
424 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
425 as_cr_digits
='0123456789'
426 as_cr_alnum
=$as_cr_Letters$as_cr_digits
429 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
430 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
431 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
432 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
433 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449 chmod +x
"$as_me.lineno" ||
450 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
452 # Don't try to exec as it changes $[0], causing all sort of problems
453 # (the dirname of $[0] is not the place where we might find the
454 # original and so on. Autoconf is especially sensitive to this).
456 # Exit status is that of the last command.
460 ECHO_C
= ECHO_N
= ECHO_T
=
461 case `echo -n x` in #(((((
463 case `echo 'xy\c'` in
464 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
466 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
473 rm -f conf$$ conf$$.exe conf$$.
file
474 if test -d conf$$.dir
; then
475 rm -f conf$$.dir
/conf$$.
file
478 mkdir conf$$.dir
2>/dev
/null
480 if (echo >conf$$.
file) 2>/dev
/null
; then
481 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
483 # ... but there are two gotchas:
484 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
485 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
486 # In both cases, we have to default to `cp -p'.
487 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
489 elif ln conf$$.
file conf$$
2>/dev
/null
; then
497 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
498 rmdir conf$$.dir
2>/dev
/null
500 if mkdir
-p .
2>/dev
/null
; then
501 as_mkdir_p
='mkdir -p "$as_dir"'
503 test -d .
/-p && rmdir .
/-p
507 if test -x / >/dev
/null
2>&1; then
510 if ls -dL / >/dev
/null
2>&1; then
517 if test -d "$1"; then
523 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
524 ???[sx]*):;;*)false;;esac;fi
528 as_executable_p
=$as_test_x
530 # Sed expression to map a string onto a valid CPP name.
531 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
533 # Sed expression to map a string onto a valid variable name.
534 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
537 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
541 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
542 # so uname gets run too.
543 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
548 ac_default_prefix
=/usr
/local
550 ac_config_libobj_dir
=.
557 # Identity of this package.
565 ac_unique_file
="src/"
566 # Factoring default headers for most tests.
567 ac_includes_default
="\
569 #ifdef HAVE_SYS_TYPES_H
570 # include <sys/types.h>
572 #ifdef HAVE_SYS_STAT_H
573 # include <sys/stat.h>
579 # ifdef HAVE_STDLIB_H
584 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
589 #ifdef HAVE_STRINGS_H
590 # include <strings.h>
592 #ifdef HAVE_INTTYPES_H
593 # include <inttypes.h>
602 ac_subst_vars
='LTLIBOBJS
702 program_transform_name
715 enable_option_checking
724 ac_precious_vars
='build_alias
739 # Initialize some variables set by options.
741 ac_init_version
=false
742 ac_unrecognized_opts
=
744 # The variables have the same names as the options, with
745 # dashes changed to underlines.
753 program_transform_name
=s
,x
,x
,
761 # Installation directory options.
762 # These are left unexpanded so users can "make install exec_prefix=/foo"
763 # and all the variables that are supposed to be based on exec_prefix
764 # by default will actually change.
765 # Use braces instead of parens because sh, perl, etc. also accept them.
766 # (The list follows the same order as the GNU Coding Standards.)
767 bindir
='${exec_prefix}/bin'
768 sbindir
='${exec_prefix}/sbin'
769 libexecdir
='${exec_prefix}/libexec'
770 datarootdir
='${prefix}/share'
771 datadir
='${datarootdir}'
772 sysconfdir
='${prefix}/etc'
773 sharedstatedir
='${prefix}/com'
774 localstatedir
='${prefix}/var'
775 includedir
='${prefix}/include'
776 oldincludedir
='/usr/include'
777 docdir
='${datarootdir}/doc/${PACKAGE}'
778 infodir
='${datarootdir}/info'
783 libdir
='${exec_prefix}/lib'
784 localedir
='${datarootdir}/locale'
785 mandir
='${datarootdir}/man'
791 # If the previous option needs an argument, assign it.
792 if test -n "$ac_prev"; then
793 eval $ac_prev=\
$ac_option
799 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
804 # Accept the important Cygnus configure options, so we can diagnose typos.
806 case $ac_dashdash$ac_option in
810 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
812 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
815 -build |
--build |
--buil |
--bui |
--bu)
816 ac_prev
=build_alias
;;
817 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
818 build_alias
=$ac_optarg ;;
820 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
821 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
822 ac_prev
=cache_file
;;
823 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
824 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
825 cache_file
=$ac_optarg ;;
828 cache_file
=config.cache
;;
830 -datadir |
--datadir |
--datadi |
--datad)
832 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
833 datadir
=$ac_optarg ;;
835 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
836 |
--dataroo |
--dataro |
--datar)
837 ac_prev
=datarootdir
;;
838 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
839 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
840 datarootdir
=$ac_optarg ;;
842 -disable-* |
--disable-*)
843 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
844 # Reject names that are not valid shell variable names.
845 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
846 as_fn_error $?
"invalid feature name: $ac_useropt"
847 ac_useropt_orig
=$ac_useropt
848 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
849 case $ac_user_opts in
853 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
854 ac_unrecognized_sep
=', ';;
856 eval enable_
$ac_useropt=no
;;
858 -docdir |
--docdir |
--docdi |
--doc |
--do)
860 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
863 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
865 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
868 -enable-* |
--enable-*)
869 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
870 # Reject names that are not valid shell variable names.
871 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
872 as_fn_error $?
"invalid feature name: $ac_useropt"
873 ac_useropt_orig
=$ac_useropt
874 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
875 case $ac_user_opts in
879 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
880 ac_unrecognized_sep
=', ';;
882 eval enable_
$ac_useropt=\
$ac_optarg ;;
884 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
885 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
886 |
--exec |
--exe |
--ex)
887 ac_prev
=exec_prefix
;;
888 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
889 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
890 |
--exec=* |
--exe=* |
--ex=*)
891 exec_prefix
=$ac_optarg ;;
893 -gas |
--gas |
--ga |
--g)
894 # Obsolete; use --with-gas.
897 -help |
--help |
--hel |
--he |
-h)
899 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
900 ac_init_help
=recursive
;;
901 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
902 ac_init_help
=short
;;
904 -host |
--host |
--hos |
--ho)
905 ac_prev
=host_alias
;;
906 -host=* |
--host=* |
--hos=* |
--ho=*)
907 host_alias
=$ac_optarg ;;
909 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
911 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
913 htmldir
=$ac_optarg ;;
915 -includedir |
--includedir |
--includedi |
--included |
--include \
916 |
--includ |
--inclu |
--incl |
--inc)
917 ac_prev
=includedir
;;
918 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
919 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
920 includedir
=$ac_optarg ;;
922 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
924 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
925 infodir
=$ac_optarg ;;
927 -libdir |
--libdir |
--libdi |
--libd)
929 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
932 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
933 |
--libexe |
--libex |
--libe)
934 ac_prev
=libexecdir
;;
935 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
936 |
--libexe=* |
--libex=* |
--libe=*)
937 libexecdir
=$ac_optarg ;;
939 -localedir |
--localedir |
--localedi |
--localed |
--locale)
941 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
942 localedir
=$ac_optarg ;;
944 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
945 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
946 ac_prev
=localstatedir
;;
947 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
948 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
949 localstatedir
=$ac_optarg ;;
951 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
953 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
957 # Obsolete; use --without-fp.
960 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
961 |
--no-cr |
--no-c |
-n)
964 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
965 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
968 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
969 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
970 |
--oldin |
--oldi |
--old |
--ol |
--o)
971 ac_prev
=oldincludedir
;;
972 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
973 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
974 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
975 oldincludedir
=$ac_optarg ;;
977 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
979 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
982 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
983 |
--program-pre |
--program-pr |
--program-p)
984 ac_prev
=program_prefix
;;
985 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
986 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
987 program_prefix
=$ac_optarg ;;
989 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
990 |
--program-suf |
--program-su |
--program-s)
991 ac_prev
=program_suffix
;;
992 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
993 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
994 program_suffix
=$ac_optarg ;;
996 -program-transform-name |
--program-transform-name \
997 |
--program-transform-nam |
--program-transform-na \
998 |
--program-transform-n |
--program-transform- \
999 |
--program-transform |
--program-transfor \
1000 |
--program-transfo |
--program-transf \
1001 |
--program-trans |
--program-tran \
1002 |
--progr-tra |
--program-tr |
--program-t)
1003 ac_prev
=program_transform_name
;;
1004 -program-transform-name=* |
--program-transform-name=* \
1005 |
--program-transform-nam=* |
--program-transform-na=* \
1006 |
--program-transform-n=* |
--program-transform-=* \
1007 |
--program-transform=* |
--program-transfor=* \
1008 |
--program-transfo=* |
--program-transf=* \
1009 |
--program-trans=* |
--program-tran=* \
1010 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1011 program_transform_name
=$ac_optarg ;;
1013 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1015 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1016 pdfdir
=$ac_optarg ;;
1018 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1020 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1023 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1024 |
-silent |
--silent |
--silen |
--sile |
--sil)
1027 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1029 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1031 sbindir
=$ac_optarg ;;
1033 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1034 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1035 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1037 ac_prev
=sharedstatedir
;;
1038 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1039 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1040 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1042 sharedstatedir
=$ac_optarg ;;
1044 -site |
--site |
--sit)
1046 -site=* |
--site=* |
--sit=*)
1049 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1051 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1052 srcdir
=$ac_optarg ;;
1054 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1055 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1056 ac_prev
=sysconfdir
;;
1057 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1058 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1059 sysconfdir
=$ac_optarg ;;
1061 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1062 ac_prev
=target_alias
;;
1063 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1064 target_alias
=$ac_optarg ;;
1066 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1069 -version |
--version |
--versio |
--versi |
--vers |
-V)
1070 ac_init_version
=: ;;
1073 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1074 # Reject names that are not valid shell variable names.
1075 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1076 as_fn_error $?
"invalid package name: $ac_useropt"
1077 ac_useropt_orig
=$ac_useropt
1078 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1079 case $ac_user_opts in
1083 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1084 ac_unrecognized_sep
=', ';;
1086 eval with_
$ac_useropt=\
$ac_optarg ;;
1088 -without-* |
--without-*)
1089 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1090 # Reject names that are not valid shell variable names.
1091 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1092 as_fn_error $?
"invalid package name: $ac_useropt"
1093 ac_useropt_orig
=$ac_useropt
1094 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1095 case $ac_user_opts in
1099 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1100 ac_unrecognized_sep
=', ';;
1102 eval with_
$ac_useropt=no
;;
1105 # Obsolete; use --with-x.
1108 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1109 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1110 ac_prev
=x_includes
;;
1111 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1112 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1113 x_includes
=$ac_optarg ;;
1115 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1116 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1117 ac_prev
=x_libraries
;;
1118 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1119 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1120 x_libraries
=$ac_optarg ;;
1122 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1123 Try \`$0 --help' for more information"
1127 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1128 # Reject names that are not valid shell variable names.
1129 case $ac_envvar in #(
1130 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1131 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1133 eval $ac_envvar=\
$ac_optarg
1134 export $ac_envvar ;;
1137 # FIXME: should be removed in autoconf 3.0.
1138 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1139 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1140 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1141 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1147 if test -n "$ac_prev"; then
1148 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1149 as_fn_error $?
"missing argument to $ac_option"
1152 if test -n "$ac_unrecognized_opts"; then
1153 case $enable_option_checking in
1155 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1156 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1160 # Check all directory arguments for consistency.
1161 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1162 datadir sysconfdir sharedstatedir localstatedir includedir \
1163 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1164 libdir localedir mandir
1166 eval ac_val
=\$
$ac_var
1167 # Remove trailing slashes.
1170 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1171 eval $ac_var=\
$ac_val;;
1173 # Be sure to have absolute directory names.
1175 [\\/$
]* | ?
:[\\/]* ) continue;;
1176 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1178 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1181 # There might be people who depend on the old broken behavior: `$host'
1182 # used to hold the argument of --host etc.
1183 # FIXME: To remove some day.
1186 target
=$target_alias
1188 # FIXME: To remove some day.
1189 if test "x$host_alias" != x
; then
1190 if test "x$build_alias" = x
; then
1191 cross_compiling
=maybe
1192 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1193 If a cross compiler is detected then cross compile mode will be used" >&2
1194 elif test "x$build_alias" != "x$host_alias"; then
1200 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1202 test "$silent" = yes && exec 6>/dev
/null
1205 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1206 ac_ls_di
=`ls -di .` &&
1207 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1208 as_fn_error $?
"working directory cannot be determined"
1209 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1210 as_fn_error $?
"pwd does not report name of working directory"
1213 # Find the source files, if location was not specified.
1214 if test -z "$srcdir"; then
1215 ac_srcdir_defaulted
=yes
1216 # Try the directory containing this script, then the parent directory.
1217 ac_confdir
=`$as_dirname -- "$as_myself" ||
1218 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1219 X"$as_myself" : 'X\(//\)[^/]' \| \
1220 X"$as_myself" : 'X\(//\)$' \| \
1221 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1222 $as_echo X"$as_myself" |
1223 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1241 if test ! -r "$srcdir/$ac_unique_file"; then
1245 ac_srcdir_defaulted
=no
1247 if test ! -r "$srcdir/$ac_unique_file"; then
1248 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1249 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1251 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1253 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1255 # When building in place, set srcdir=.
1256 if test "$ac_abs_confdir" = "$ac_pwd"; then
1259 # Remove unnecessary trailing slashes from srcdir.
1260 # Double slashes in file names in object file debugging info
1261 # mess up M-x gdb in Emacs.
1263 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1265 for ac_var
in $ac_precious_vars; do
1266 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1267 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1268 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1269 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1273 # Report the --help message.
1275 if test "$ac_init_help" = "long"; then
1276 # Omit some internal or obsolete options to make the list less imposing.
1277 # This message is too long to be a string in the A/UX 3.1 sh.
1279 \`configure' configures this package to adapt to many kinds of systems.
1281 Usage: $0 [OPTION]... [VAR=VALUE]...
1283 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1284 VAR=VALUE. See below for descriptions of some of the useful variables.
1286 Defaults for the options are specified in brackets.
1289 -h, --help display this help and exit
1290 --help=short display options specific to this package
1291 --help=recursive display the short help of all the included packages
1292 -V, --version display version information and exit
1293 -q, --quiet, --silent do not print \`checking ...' messages
1294 --cache-file=FILE cache test results in FILE [disabled]
1295 -C, --config-cache alias for \`--cache-file=config.cache'
1296 -n, --no-create do not create output files
1297 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1299 Installation directories:
1300 --prefix=PREFIX install architecture-independent files in PREFIX
1301 [$ac_default_prefix]
1302 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1305 By default, \`make install' will install all the files in
1306 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1307 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1308 for instance \`--prefix=\$HOME'.
1310 For better control, use the options below.
1312 Fine tuning of the installation directories:
1313 --bindir=DIR user executables [EPREFIX/bin]
1314 --sbindir=DIR system admin executables [EPREFIX/sbin]
1315 --libexecdir=DIR program executables [EPREFIX/libexec]
1316 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1317 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1318 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1319 --libdir=DIR object code libraries [EPREFIX/lib]
1320 --includedir=DIR C header files [PREFIX/include]
1321 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1322 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1323 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1324 --infodir=DIR info documentation [DATAROOTDIR/info]
1325 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1326 --mandir=DIR man documentation [DATAROOTDIR/man]
1327 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1328 --htmldir=DIR html documentation [DOCDIR]
1329 --dvidir=DIR dvi documentation [DOCDIR]
1330 --pdfdir=DIR pdf documentation [DOCDIR]
1331 --psdir=DIR ps documentation [DOCDIR]
1337 --program-prefix=PREFIX prepend PREFIX to installed program names
1338 --program-suffix=SUFFIX append SUFFIX to installed program names
1339 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1342 --build=BUILD configure
for building on BUILD
[guessed
]
1343 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1344 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1348 if test -n "$ac_init_help"; then
1353 --disable-option-checking ignore unrecognized
--enable/--with options
1354 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1355 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1356 --enable-checkmem turn on ccmalloc debugging
1357 --enable-debug turn on debugging
1358 --enable-profiling turn on profiling
1359 --enable-warnings turn on compiler warnings
1360 --enable-optimizations turn on compiler optimizations
(recommended
for avi2swf
)
1361 --enable-poppler link againist libpoppler
1362 --disable-lame "don't compile any L.A.M.E. mp3 encoding code in"
1364 Some influential environment variables
:
1365 CC C compiler
command
1366 CFLAGS C compiler flags
1367 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1368 nonstandard directory
<lib dir
>
1369 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1370 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1371 you have headers
in a nonstandard directory
<include dir
>
1372 CXX C
++ compiler
command
1373 CXXFLAGS C
++ compiler flags
1375 CXXCPP C
++ preprocessor
1377 Use these variables to override the choices made by
`configure' or to help
1378 it to find libraries and programs with nonstandard names/locations.
1380 Report bugs to the package provider.
1385 if test "$ac_init_help" = "recursive"; then
1386 # If there are subdirs, report their specific --help.
1387 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1388 test -d "$ac_dir" ||
1389 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1394 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1396 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1397 # A ".." for each directory in $ac_dir_suffix.
1398 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1399 case $ac_top_builddir_sub in
1400 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1401 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1404 ac_abs_top_builddir=$ac_pwd
1405 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1406 # for backward compatibility:
1407 ac_top_builddir=$ac_top_build_prefix
1410 .) # We are building in place.
1412 ac_top_srcdir=$ac_top_builddir_sub
1413 ac_abs_top_srcdir=$ac_pwd ;;
1414 [\\/]* | ?:[\\/]* ) # Absolute name.
1415 ac_srcdir=$srcdir$ac_dir_suffix;
1416 ac_top_srcdir=$srcdir
1417 ac_abs_top_srcdir=$srcdir ;;
1419 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1420 ac_top_srcdir=$ac_top_build_prefix$srcdir
1421 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1423 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1425 cd "$ac_dir" || { ac_status=$?; continue; }
1426 # Check for guested configure.
1427 if test -f "$ac_srcdir/configure.gnu"; then
1429 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1430 elif test -f "$ac_srcdir/configure"; then
1432 $SHELL "$ac_srcdir/configure" --help=recursive
1434 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1436 cd "$ac_pwd" || { ac_status=$?; break; }
1440 test -n "$ac_init_help" && exit $ac_status
1441 if $ac_init_version; then
1444 generated by GNU Autoconf 2.68
1446 Copyright (C) 2010 Free Software Foundation, Inc.
1447 This configure script is free software; the Free Software Foundation
1448 gives unlimited permission to copy, distribute and modify it.
1453 ## ------------------------ ##
1454 ## Autoconf initialization. ##
1455 ## ------------------------ ##
1457 # ac_fn_c_try_compile LINENO
1458 # --------------------------
1459 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1460 ac_fn_c_try_compile ()
1462 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1463 rm -f conftest.$ac_objext
1464 if { { ac_try="$ac_compile"
1466 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1467 *) ac_try_echo
=$ac_try;;
1469 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1470 $as_echo "$ac_try_echo"; } >&5
1471 (eval "$ac_compile") 2>conftest.err
1473 if test -s conftest.err
; then
1474 grep -v '^ *+' conftest.err
>conftest.er1
1475 cat conftest.er1
>&5
1476 mv -f conftest.er1 conftest.err
1478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1479 test $ac_status = 0; } && {
1480 test -z "$ac_c_werror_flag" ||
1481 test ! -s conftest.err
1482 } && test -s conftest.
$ac_objext; then :
1485 $as_echo "$as_me: failed program was:" >&5
1486 sed 's/^/| /' conftest.
$ac_ext >&5
1490 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1491 as_fn_set_status
$ac_retval
1493 } # ac_fn_c_try_compile
1495 # ac_fn_cxx_try_compile LINENO
1496 # ----------------------------
1497 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1498 ac_fn_cxx_try_compile
()
1500 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1501 rm -f conftest.
$ac_objext
1502 if { { ac_try
="$ac_compile"
1504 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1505 *) ac_try_echo=$ac_try;;
1507 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1508 $as_echo "$ac_try_echo"; } >&5
1509 (eval "$ac_compile") 2>conftest.err
1511 if test -s conftest.err; then
1512 grep -v '^ *+' conftest.err >conftest.er1
1513 cat conftest.er1 >&5
1514 mv -f conftest.er1 conftest.err
1516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1517 test $ac_status = 0; } && {
1518 test -z "$ac_cxx_werror_flag" ||
1519 test ! -s conftest.err
1520 } && test -s conftest.$ac_objext; then :
1523 $as_echo "$as_me: failed program was:" >&5
1524 sed 's/^/| /' conftest.$ac_ext >&5
1528 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1529 as_fn_set_status $ac_retval
1531 } # ac_fn_cxx_try_compile
1533 # ac_fn_c_try_cpp LINENO
1534 # ----------------------
1535 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1538 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1539 if { { ac_try="$ac_cpp conftest.$ac_ext"
1541 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1542 *) ac_try_echo
=$ac_try;;
1544 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1545 $as_echo "$ac_try_echo"; } >&5
1546 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1548 if test -s conftest.err
; then
1549 grep -v '^ *+' conftest.err
>conftest.er1
1550 cat conftest.er1
>&5
1551 mv -f conftest.er1 conftest.err
1553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1554 test $ac_status = 0; } > conftest.i
&& {
1555 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1556 test ! -s conftest.err
1560 $as_echo "$as_me: failed program was:" >&5
1561 sed 's/^/| /' conftest.
$ac_ext >&5
1565 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1566 as_fn_set_status
$ac_retval
1570 # ac_fn_c_try_link LINENO
1571 # -----------------------
1572 # Try to link conftest.$ac_ext, and return whether this succeeded.
1575 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1576 rm -f conftest.
$ac_objext conftest
$ac_exeext
1577 if { { ac_try
="$ac_link"
1579 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1580 *) ac_try_echo=$ac_try;;
1582 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1583 $as_echo "$ac_try_echo"; } >&5
1584 (eval "$ac_link") 2>conftest.err
1586 if test -s conftest.err; then
1587 grep -v '^ *+' conftest.err >conftest.er1
1588 cat conftest.er1 >&5
1589 mv -f conftest.er1 conftest.err
1591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1592 test $ac_status = 0; } && {
1593 test -z "$ac_c_werror_flag" ||
1594 test ! -s conftest.err
1595 } && test -s conftest$ac_exeext && {
1596 test "$cross_compiling" = yes ||
1597 $as_test_x conftest$ac_exeext
1601 $as_echo "$as_me: failed program was:" >&5
1602 sed 's/^/| /' conftest.$ac_ext >&5
1606 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1607 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1608 # interfere with the next link command; also delete a directory that is
1609 # left behind by Apple's compiler. We do this before executing the actions.
1610 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1611 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1612 as_fn_set_status $ac_retval
1614 } # ac_fn_c_try_link
1616 # ac_fn_c_try_run LINENO
1617 # ----------------------
1618 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1619 # that executables *can* be run.
1622 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1623 if { { ac_try="$ac_link"
1625 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1626 *) ac_try_echo
=$ac_try;;
1628 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1629 $as_echo "$ac_try_echo"; } >&5
1630 (eval "$ac_link") 2>&5
1632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1633 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1634 { { case "(($ac_try" in
1635 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1636 *) ac_try_echo=$ac_try;;
1638 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1639 $as_echo "$ac_try_echo"; } >&5
1640 (eval "$ac_try") 2>&5
1642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1643 test $ac_status = 0; }; }; then :
1646 $as_echo "$as_me: program exited with status $ac_status" >&5
1647 $as_echo "$as_me: failed program was:" >&5
1648 sed 's/^/| /' conftest.$ac_ext >&5
1650 ac_retval=$ac_status
1652 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1653 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1654 as_fn_set_status $ac_retval
1658 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1659 # -------------------------------------------------------
1660 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1661 # the include files in INCLUDES and setting the cache variable VAR
1663 ac_fn_c_check_header_mongrel ()
1665 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1666 if eval \${$3+:} false; then :
1667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1668 $as_echo_n "checking for $2... " >&6; }
1669 if eval \${$3+:} false; then :
1670 $as_echo_n "(cached) " >&6
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1674 $as_echo "$ac_res" >&6; }
1676 # Is the header compilable?
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1678 $as_echo_n "checking $2 usability... " >&6; }
1679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1680 /* end confdefs.h. */
1684 if ac_fn_c_try_compile "$LINENO"; then :
1685 ac_header_compiler=yes
1687 ac_header_compiler=no
1689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1691 $as_echo "$ac_header_compiler" >&6; }
1693 # Is the header present?
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1695 $as_echo_n "checking $2 presence... " >&6; }
1696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1697 /* end confdefs.h. */
1700 if ac_fn_c_try_cpp "$LINENO"; then :
1701 ac_header_preproc=yes
1703 ac_header_preproc=no
1705 rm -f conftest.err conftest.i conftest.$ac_ext
1706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1707 $as_echo "$ac_header_preproc" >&6; }
1709 # So? What about this header?
1710 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1713 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1715 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1719 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1721 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1723 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1725 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1727 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1731 $as_echo_n "checking for $2... " >&6; }
1732 if eval \${$3+:} false; then :
1733 $as_echo_n "(cached) " >&6
1735 eval "$3=\$ac_header_compiler"
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1739 $as_echo "$ac_res" >&6; }
1741 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1743 } # ac_fn_c_check_header_mongrel
1745 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1746 # -------------------------------------------------------
1747 # Tests whether HEADER exists and can be compiled using the include files in
1748 # INCLUDES, setting the cache variable VAR accordingly.
1749 ac_fn_c_check_header_compile ()
1751 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1753 $as_echo_n "checking for $2... " >&6; }
1754 if eval \${$3+:} false; then :
1755 $as_echo_n "(cached) " >&6
1757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1758 /* end confdefs.h. */
1762 if ac_fn_c_try_compile "$LINENO"; then :
1767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1771 $as_echo "$ac_res" >&6; }
1772 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1774 } # ac_fn_c_check_header_compile
1776 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1777 # -------------------------------------------
1778 # Tests whether TYPE exists after having included INCLUDES, setting cache
1779 # variable VAR accordingly.
1780 ac_fn_c_check_type ()
1782 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1784 $as_echo_n "checking for $2... " >&6; }
1785 if eval \${$3+:} false; then :
1786 $as_echo_n "(cached) " >&6
1789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1790 /* end confdefs.h. */
1801 if ac_fn_c_try_compile "$LINENO"; then :
1802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1803 /* end confdefs.h. */
1814 if ac_fn_c_try_compile "$LINENO"; then :
1819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1825 $as_echo "$ac_res" >&6; }
1826 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1828 } # ac_fn_c_check_type
1830 # ac_fn_c_check_func LINENO FUNC VAR
1831 # ----------------------------------
1832 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1833 ac_fn_c_check_func ()
1835 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1837 $as_echo_n "checking for $2... " >&6; }
1838 if eval \${$3+:} false; then :
1839 $as_echo_n "(cached) " >&6
1841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1842 /* end confdefs.h. */
1843 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1844 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1845 #define $2 innocuous_$2
1847 /* System header to define __stub macros and hopefully few prototypes,
1848 which can conflict with char $2 (); below.
1849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1850 <limits.h> exists even on freestanding compilers. */
1853 # include <limits.h>
1855 # include <assert.h>
1860 /* Override any GCC internal prototype to avoid an error.
1861 Use char because int might match the return type of a GCC
1862 builtin and then its argument prototype would still apply. */
1867 /* The GNU C library defines this for functions which it implements
1868 to always fail with ENOSYS. Some functions are actually named
1869 something starting with __ and the normal name is an alias. */
1870 #if defined __stub_$2 || defined __stub___$2
1882 if ac_fn_c_try_link "$LINENO"; then :
1887 rm -f core conftest.err conftest.$ac_objext \
1888 conftest$ac_exeext conftest.$ac_ext
1891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1892 $as_echo "$ac_res" >&6; }
1893 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1895 } # ac_fn_c_check_func
1897 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1898 # --------------------------------------------
1899 # Tries to find the compile-time value of EXPR in a program that includes
1900 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1902 ac_fn_c_compute_int ()
1904 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1905 if test "$cross_compiling" = yes; then
1906 # Depending upon the size, compute the lo and hi bounds.
1907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1908 /* end confdefs.h. */
1913 static int test_array [1 - 2 * !(($2) >= 0)];
1920 if ac_fn_c_try_compile "$LINENO"; then :
1923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1924 /* end confdefs.h. */
1929 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1936 if ac_fn_c_try_compile "$LINENO"; then :
1937 ac_hi=$ac_mid; break
1939 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1940 if test $ac_lo -le $ac_mid; then
1944 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1950 /* end confdefs.h. */
1955 static int test_array [1 - 2 * !(($2) < 0)];
1962 if ac_fn_c_try_compile "$LINENO"; then :
1965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1966 /* end confdefs.h. */
1971 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1978 if ac_fn_c_try_compile "$LINENO"; then :
1979 ac_lo=$ac_mid; break
1981 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1982 if test $ac_mid -le $ac_hi; then
1986 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1996 # Binary search between lo and hi bounds.
1997 while test "x$ac_lo" != "x$ac_hi"; do
1998 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2000 /* end confdefs.h. */
2005 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2012 if ac_fn_c_try_compile "$LINENO"; then :
2015 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2020 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2025 /* end confdefs.h. */
2027 static long int longval () { return $2; }
2028 static unsigned long int ulongval () { return $2; }
2035 FILE *f = fopen ("conftest.val", "w");
2040 long int i = longval ();
2043 fprintf (f, "%ld", i);
2047 unsigned long int i = ulongval ();
2050 fprintf (f, "%lu", i);
2052 /* Do not output a trailing newline, as this causes \r\n confusion
2053 on some platforms. */
2054 return ferror (f) || fclose (f) != 0;
2060 if ac_fn_c_try_run "$LINENO"; then :
2061 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2065 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2066 conftest.$ac_objext conftest.beam conftest.$ac_ext
2070 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2071 as_fn_set_status $ac_retval
2073 } # ac_fn_c_compute_int
2075 # ac_fn_cxx_try_cpp LINENO
2076 # ------------------------
2077 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2078 ac_fn_cxx_try_cpp ()
2080 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2081 if { { ac_try="$ac_cpp conftest.$ac_ext"
2083 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2084 *) ac_try_echo
=$ac_try;;
2086 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2087 $as_echo "$ac_try_echo"; } >&5
2088 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2090 if test -s conftest.err
; then
2091 grep -v '^ *+' conftest.err
>conftest.er1
2092 cat conftest.er1
>&5
2093 mv -f conftest.er1 conftest.err
2095 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2096 test $ac_status = 0; } > conftest.i
&& {
2097 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2098 test ! -s conftest.err
2102 $as_echo "$as_me: failed program was:" >&5
2103 sed 's/^/| /' conftest.
$ac_ext >&5
2107 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2108 as_fn_set_status
$ac_retval
2110 } # ac_fn_cxx_try_cpp
2112 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2113 # ---------------------------------------------------------
2114 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2115 # the include files in INCLUDES and setting the cache variable VAR
2117 ac_fn_cxx_check_header_mongrel
()
2119 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2120 if eval \
${$3+:} false
; then :
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2122 $as_echo_n "checking for $2... " >&6; }
2123 if eval \
${$3+:} false
; then :
2124 $as_echo_n "(cached) " >&6
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2128 $as_echo "$ac_res" >&6; }
2130 # Is the header compilable?
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2132 $as_echo_n "checking $2 usability... " >&6; }
2133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2134 /* end confdefs.h. */
2138 if ac_fn_cxx_try_compile
"$LINENO"; then :
2139 ac_header_compiler
=yes
2141 ac_header_compiler
=no
2143 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2145 $as_echo "$ac_header_compiler" >&6; }
2147 # Is the header present?
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2149 $as_echo_n "checking $2 presence... " >&6; }
2150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2151 /* end confdefs.h. */
2154 if ac_fn_cxx_try_cpp
"$LINENO"; then :
2155 ac_header_preproc
=yes
2157 ac_header_preproc
=no
2159 rm -f conftest.err conftest.i conftest.
$ac_ext
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2161 $as_echo "$ac_header_preproc" >&6; }
2163 # So? What about this header?
2164 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2167 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2169 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2173 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2175 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2177 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2179 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2181 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2185 $as_echo_n "checking for $2... " >&6; }
2186 if eval \
${$3+:} false
; then :
2187 $as_echo_n "(cached) " >&6
2189 eval "$3=\$ac_header_compiler"
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2193 $as_echo "$ac_res" >&6; }
2195 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2197 } # ac_fn_cxx_check_header_mongrel
2199 # ac_fn_cxx_try_link LINENO
2200 # -------------------------
2201 # Try to link conftest.$ac_ext, and return whether this succeeded.
2202 ac_fn_cxx_try_link
()
2204 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2205 rm -f conftest.
$ac_objext conftest
$ac_exeext
2206 if { { ac_try
="$ac_link"
2208 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2209 *) ac_try_echo=$ac_try;;
2211 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2212 $as_echo "$ac_try_echo"; } >&5
2213 (eval "$ac_link") 2>conftest.err
2215 if test -s conftest.err; then
2216 grep -v '^ *+' conftest.err >conftest.er1
2217 cat conftest.er1 >&5
2218 mv -f conftest.er1 conftest.err
2220 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2221 test $ac_status = 0; } && {
2222 test -z "$ac_cxx_werror_flag" ||
2223 test ! -s conftest.err
2224 } && test -s conftest$ac_exeext && {
2225 test "$cross_compiling" = yes ||
2226 $as_test_x conftest$ac_exeext
2230 $as_echo "$as_me: failed program was:" >&5
2231 sed 's/^/| /' conftest.$ac_ext >&5
2235 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2236 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2237 # interfere with the next link command; also delete a directory that is
2238 # left behind by Apple's compiler. We do this before executing the actions.
2239 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2240 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2241 as_fn_set_status $ac_retval
2243 } # ac_fn_cxx_try_link
2244 cat >config.log <<_ACEOF
2245 This file contains any messages produced by compilers while
2246 running configure, to aid debugging if configure makes a mistake.
2248 It was created by $as_me, which was
2249 generated by GNU Autoconf 2.68. Invocation command line was
2261 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2262 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2263 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2264 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2265 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2267 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2268 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2270 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2271 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2272 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2273 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2274 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2275 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2276 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2284 test -z "$as_dir" && as_dir=.
2285 $as_echo "PATH: $as_dir"
2301 # Keep a trace of the command line.
2302 # Strip out --no-create and --no-recursion so they do not pile up.
2303 # Strip out --silent because we don't want to record it for future runs.
2304 # Also quote any args containing shell meta-characters.
2305 # Make two passes to allow for proper duplicate-argument suppression.
2309 ac_must_keep_next=false
2315 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2316 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2317 | -silent | --silent | --silen | --sile | --sil)
2320 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2323 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2325 as_fn_append ac_configure_args1 " '$ac_arg'"
2326 if test $ac_must_keep_next = true; then
2327 ac_must_keep_next=false # Got value, back to normal.
2330 *=* | --config-cache | -C | -disable-* | --disable-* \
2331 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2332 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2333 | -with-* | --with-* | -without-* | --without-* | --x)
2334 case "$ac_configure_args0 " in
2335 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2338 -* ) ac_must_keep_next=true ;;
2341 as_fn_append ac_configure_args " '$ac_arg'"
2346 { ac_configure_args0=; unset ac_configure_args0;}
2347 { ac_configure_args1=; unset ac_configure_args1;}
2349 # When interrupted or exit'd, cleanup temporary files, and complete
2350 # config.log. We remove comments because anyway the quotes in there
2351 # would cause problems or look ugly.
2352 # WARNING: Use '\'' to represent an apostrophe within the trap.
2353 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2354 trap 'exit_status=$?
2355 # Save into config.log some information that might help in debugging.
2359 $as_echo "## ---------------- ##
2360 ## Cache variables. ##
2361 ## ---------------- ##"
2363 # The following way of writing the cache mishandles newlines in values,
2365 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2366 eval ac_val=\$$ac_var
2370 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2371 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2374 _ | IFS | as_nl) ;; #(
2375 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2376 *) { eval $ac_var=; unset $ac_var;} ;;
2381 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2382 *${as_nl}ac_space=\ *)
2384 "s/'\''/'\''\\\\'\'''\''/g;
2385 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2388 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2395 $as_echo "## ----------------- ##
2396 ## Output variables. ##
2397 ## ----------------- ##"
2399 for ac_var in $ac_subst_vars
2401 eval ac_val=\$$ac_var
2403 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2405 $as_echo "$ac_var='\''$ac_val'\''"
2409 if test -n "$ac_subst_files"; then
2410 $as_echo "## ------------------- ##
2411 ## File substitutions. ##
2412 ## ------------------- ##"
2414 for ac_var in $ac_subst_files
2416 eval ac_val=\$$ac_var
2418 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2420 $as_echo "$ac_var='\''$ac_val'\''"
2425 if test -s confdefs.h; then
2426 $as_echo "## ----------- ##
2433 test "$ac_signal" != 0 &&
2434 $as_echo "$as_me: caught signal $ac_signal"
2435 $as_echo "$as_me: exit $exit_status"
2437 rm -f core *.core core.conftest.* &&
2438 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2441 for ac_signal in 1 2 13 15; do
2442 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2446 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2447 rm -f -r conftest* confdefs.h
2449 $as_echo "/* confdefs.h */" > confdefs.h
2451 # Predefined preprocessor variables.
2453 cat >>confdefs.h <<_ACEOF
2454 #define PACKAGE_NAME "$PACKAGE_NAME"
2457 cat >>confdefs.h <<_ACEOF
2458 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2461 cat >>confdefs.h <<_ACEOF
2462 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2465 cat >>confdefs.h <<_ACEOF
2466 #define PACKAGE_STRING "$PACKAGE_STRING"
2469 cat >>confdefs.h <<_ACEOF
2470 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2473 cat >>confdefs.h <<_ACEOF
2474 #define PACKAGE_URL "$PACKAGE_URL"
2478 # Let the site file select an alternate cache file if it wants to.
2479 # Prefer an explicitly selected file to automatically selected ones.
2482 if test -n "$CONFIG_SITE"; then
2483 # We do not want a PATH search for config.site.
2484 case $CONFIG_SITE in #((
2485 -*) ac_site_file1=./$CONFIG_SITE;;
2486 */*) ac_site_file1=$CONFIG_SITE;;
2487 *) ac_site_file1=./$CONFIG_SITE;;
2489 elif test "x$prefix" != xNONE; then
2490 ac_site_file1=$prefix/share/config.site
2491 ac_site_file2=$prefix/etc/config.site
2493 ac_site_file1=$ac_default_prefix/share/config.site
2494 ac_site_file2=$ac_default_prefix/etc/config.site
2496 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2498 test "x$ac_site_file" = xNONE && continue
2499 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2501 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2502 sed 's/^/| /' "$ac_site_file" >&5
2504 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2505 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2506 as_fn_error $? "failed to load site
script $ac_site_file
2507 See \
`config.log' for more details" "$LINENO" 5; }
2511 if test -r "$cache_file"; then
2512 # Some versions of bash will fail to source /dev/null (special files
2513 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2514 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2516 $as_echo "$as_me: loading cache $cache_file" >&6;}
2518 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2519 *) . "./$cache_file";;
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2524 $as_echo "$as_me: creating cache $cache_file" >&6;}
2528 # Check that the precious variables saved in the cache have kept the same
2530 ac_cache_corrupted=false
2531 for ac_var in $ac_precious_vars; do
2532 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2533 eval ac_new_set=\$ac_env_${ac_var}_set
2534 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2535 eval ac_new_val=\$ac_env_${ac_var}_value
2536 case $ac_old_set,$ac_new_set in
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2539 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2540 ac_cache_corrupted=: ;;
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2543 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2544 ac_cache_corrupted=: ;;
2547 if test "x$ac_old_val" != "x$ac_new_val"; then
2548 # differences in whitespace do not lead to failure.
2549 ac_old_val_w=`echo x
$ac_old_val`
2550 ac_new_val_w=`echo x
$ac_new_val`
2551 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2553 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2554 ac_cache_corrupted=:
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2557 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2558 eval $ac_var=\$ac_old_val
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2561 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2563 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2566 # Pass precious variables to config.status.
2567 if test "$ac_new_set" = set; then
2569 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2570 *) ac_arg=$ac_var=$ac_new_val ;;
2572 case " $ac_configure_args " in
2573 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2574 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2578 if $ac_cache_corrupted; then
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2580 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2582 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2583 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2585 ## -------------------- ##
2586 ## Main body of script. ##
2587 ## -------------------- ##
2590 ac_cpp='$CPP $CPPFLAGS'
2591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2598 # ------------------- option parsing -------------------------------
2608 # Check whether --enable-checkmem was given.
2609 if test "${enable_checkmem+set}" = set; then :
2610 enableval=$enable_checkmem; CHECKMEM=true
2613 # Check whether --enable-debug was given.
2614 if test "${enable_debug+set}" = set; then :
2615 enableval=$enable_debug; DEBUG=true
2618 # Check whether --enable-profiling was given.
2619 if test "${enable_profiling+set}" = set; then :
2620 enableval=$enable_profiling; PROFILING=true
2623 # Check whether --enable-warnings was given.
2624 if test "${enable_warnings+set}" = set; then :
2625 enableval=$enable_warnings; ENABLE_WARNINGS=true
2628 # Check whether --enable-optimizations was given.
2629 if test "${enable_optimizations+set}" = set; then :
2630 enableval=$enable_optimizations; OPTIMIZE=true
2633 # Check whether --enable-poppler was given.
2634 if test "${enable_poppler+set}" = set; then :
2635 enableval=$enable_poppler; USE_POPPLER=true
2638 # Check whether --enable-lame was given.
2639 if test "${enable_lame+set}" = set; then :
2640 enableval=$enable_lame; if test "x$enable_lame" = "xno";then
2649 VERSION=2011-10-06-2021
2651 # ------------------------------------------------------------------
2653 if test "x${srcdir}" != "x."; then
2654 echo "--srcdir is not supported"
2658 WARNINGS="-Wimplicit -Wreturn-type -Wno-write-strings -Wformat"
2659 if test "x$ENABLE_WARNINGS" '!=' "x";then
2660 WARNINGS="-Wall -Wno-unused -Wno-format -Wno-redundant-decls -Wno-write-strings -D_FORTIFY_SOURCE=2 "
2663 if test "x$CHECKMEM" '!=' "x";then
2666 if test "x$PROFILING" '!=' "x";then
2669 if test "x$DEBUG" '!=' "x";then
2670 if test "x$PROFILING" = "x";then
2671 CFLAGS="$WARNINGS -O2 -g $CFLAGS"
2672 CXXFLAGS="$WARNINGS -O2 -g $CXXFLAGS"
2673 LDFLAGS="-g $LDFLAGS"
2675 CFLAGS="$WARNINGS -O2 -g -pg $CFLAGS"
2676 CXXFLAGS="$WARNINGS -O2 -g -pg $CXXFLAGS"
2677 LDFLAGS="-g -pg $LDFLAGS"
2679 else if test "x$OPTIMIZE" '!=' "x"; then
2680 CFLAGS="$WARNINGS -O3 -fomit-frame-pointer -Winline $CFLAGS"
2681 CXXFLAGS="$WARNINGS -O3 -fomit-frame-pointer -Winline $CXXFLAGS"
2683 CFLAGS="$WARNINGS -O -fomit-frame-pointer $CFLAGS"
2684 CXXFLAGS="$WARNINGS -O -fomit-frame-pointer $CXXFLAGS"
2688 CFLAGS="-fPIC $CFLAGS"
2689 CXXFLAGS="-fPIC $CFLAGS"
2692 #if test "x$OLDGCC" '!=' "x";then
2693 # #CFLAGS="$CFLAGS --std=c89 -ansi -pendantic"
2694 # #CXXFLAGS="$CXXFLAGS --std=c89 -ansi -pendantic"
2695 # CFLAGS="$CFLAGS -ansi -pendantic"
2696 # CXXFLAGS="$CXXFLAGS -ansi -pendantic"
2699 export PACKAGE VERSION CFLAGS CXXFLAGS
2703 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2704 if test -f "$ac_dir/install-sh"; then
2706 ac_install_sh="$ac_aux_dir/install-sh -c"
2708 elif test -f "$ac_dir/install.sh"; then
2710 ac_install_sh="$ac_aux_dir/install.sh -c"
2712 elif test -f "$ac_dir/shtool"; then
2714 ac_install_sh="$ac_aux_dir/shtool install -c"
2718 if test -z "$ac_aux_dir"; then
2719 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2722 # These three variables are undocumented and unsupported,
2723 # and are intended to be withdrawn in a future Autoconf release.
2724 # They can cause serious problems if a builder's source tree is in a directory
2725 # whose full name contains unusual characters.
2726 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2727 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2728 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2731 # Make sure we can run config.sub.
2732 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2733 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2736 $as_echo_n "checking build system type... " >&6; }
2737 if ${ac_cv_build+:} false; then :
2738 $as_echo_n "(cached) " >&6
2740 ac_build_alias=$build_alias
2741 test "x$ac_build_alias" = x &&
2742 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2743 test "x$ac_build_alias" = x &&
2744 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2745 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2746 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2750 $as_echo "$ac_cv_build" >&6; }
2751 case $ac_cv_build in
2753 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2756 ac_save_IFS=$IFS; IFS='-'
2762 # Remember, the first character of IFS is used to create $*,
2763 # except with old shells:
2766 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2770 $as_echo_n "checking host system type... " >&6; }
2771 if ${ac_cv_host+:} false; then :
2772 $as_echo_n "(cached) " >&6
2774 if test "x$host_alias" = x; then
2775 ac_cv_host=$ac_cv_build
2777 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2778 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2783 $as_echo "$ac_cv_host" >&6; }
2786 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2789 ac_save_IFS=$IFS; IFS='-'
2795 # Remember, the first character of IFS is used to create $*,
2796 # except with old shells:
2799 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2810 CXXFLAGS="$CXXFLAGS -fno-rtti"
2813 if test -d /opt/local/include && test -d /opt/local/lib; then
2814 CPPFLAGS="${CPPFLAGS} -I/opt/local/include"
2815 LDFLAGS="${LDFLAGS} -L/opt/local/lib"
2817 # Use fink packages if available.
2818 #if test -d /sw/include && test -d /sw/lib; then
2819 # CPPFLAGS="${CPPFLAGS} -I/sw/include"
2820 # LDFLAGS="${LDFLAGS} -L/sw/lib"
2828 ac_cpp='$CPP $CPPFLAGS'
2829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2832 if test -n "$ac_tool_prefix"; then
2833 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2834 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2836 $as_echo_n "checking for $ac_word... " >&6; }
2837 if ${ac_cv_prog_CC+:} false; then :
2838 $as_echo_n "(cached) " >&6
2840 if test -n "$CC"; then
2841 ac_cv_prog_CC="$CC" # Let the user override the test.
2843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2847 test -z "$as_dir" && as_dir=.
2848 for ac_exec_ext in '' $ac_executable_extensions; do
2849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2850 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2861 if test -n "$CC"; then
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2863 $as_echo "$CC" >&6; }
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2866 $as_echo "no" >&6; }
2871 if test -z "$ac_cv_prog_CC"; then
2873 # Extract the first word of "gcc", so it can be a program name with args.
2874 set dummy gcc; ac_word=$2
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2876 $as_echo_n "checking for $ac_word... " >&6; }
2877 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2878 $as_echo_n "(cached) " >&6
2880 if test -n "$ac_ct_CC"; then
2881 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2887 test -z "$as_dir" && as_dir=.
2888 for ac_exec_ext in '' $ac_executable_extensions; do
2889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2890 ac_cv_prog_ac_ct_CC="gcc"
2891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2900 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2901 if test -n "$ac_ct_CC"; then
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2903 $as_echo "$ac_ct_CC" >&6; }
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2906 $as_echo "no" >&6; }
2909 if test "x$ac_ct_CC" = x; then
2912 case $cross_compiling:$ac_tool_warned in
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2915 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2916 ac_tool_warned=yes ;;
2924 if test -z "$CC"; then
2925 if test -n "$ac_tool_prefix"; then
2926 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2927 set dummy ${ac_tool_prefix}cc; ac_word=$2
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2929 $as_echo_n "checking for $ac_word... " >&6; }
2930 if ${ac_cv_prog_CC+:} false; then :
2931 $as_echo_n "(cached) " >&6
2933 if test -n "$CC"; then
2934 ac_cv_prog_CC="$CC" # Let the user override the test.
2936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2940 test -z "$as_dir" && as_dir=.
2941 for ac_exec_ext in '' $ac_executable_extensions; do
2942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2943 ac_cv_prog_CC="${ac_tool_prefix}cc"
2944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2954 if test -n "$CC"; then
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2956 $as_echo "$CC" >&6; }
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2959 $as_echo "no" >&6; }
2965 if test -z "$CC"; then
2966 # Extract the first word of "cc", so it can be a program name with args.
2967 set dummy cc; ac_word=$2
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2969 $as_echo_n "checking for $ac_word... " >&6; }
2970 if ${ac_cv_prog_CC+:} false; then :
2971 $as_echo_n "(cached) " >&6
2973 if test -n "$CC"; then
2974 ac_cv_prog_CC="$CC" # Let the user override the test.
2977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2981 test -z "$as_dir" && as_dir=.
2982 for ac_exec_ext in '' $ac_executable_extensions; do
2983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2984 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2985 ac_prog_rejected=yes
2989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2996 if test $ac_prog_rejected = yes; then
2997 # We found a bogon in the path, so make sure we never use it.
2998 set dummy $ac_cv_prog_CC
3000 if test $# != 0; then
3001 # We chose a different compiler from the bogus one.
3002 # However, it has the same basename, so the bogon will be chosen
3003 # first if we set CC to just the basename; use the full file name.
3005 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3011 if test -n "$CC"; then
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3013 $as_echo "$CC" >&6; }
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3016 $as_echo "no" >&6; }
3021 if test -z "$CC"; then
3022 if test -n "$ac_tool_prefix"; then
3023 for ac_prog in cl.exe
3025 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3026 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3028 $as_echo_n "checking for $ac_word... " >&6; }
3029 if ${ac_cv_prog_CC+:} false; then :
3030 $as_echo_n "(cached) " >&6
3032 if test -n "$CC"; then
3033 ac_cv_prog_CC="$CC" # Let the user override the test.
3035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3039 test -z "$as_dir" && as_dir=.
3040 for ac_exec_ext in '' $ac_executable_extensions; do
3041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3042 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3053 if test -n "$CC"; then
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3055 $as_echo "$CC" >&6; }
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3058 $as_echo "no" >&6; }
3062 test -n "$CC" && break
3065 if test -z "$CC"; then
3067 for ac_prog in cl.exe
3069 # Extract the first word of "$ac_prog", so it can be a program name with args.
3070 set dummy $ac_prog; ac_word=$2
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3072 $as_echo_n "checking for $ac_word... " >&6; }
3073 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3074 $as_echo_n "(cached) " >&6
3076 if test -n "$ac_ct_CC"; then
3077 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3083 test -z "$as_dir" && as_dir=.
3084 for ac_exec_ext in '' $ac_executable_extensions; do
3085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3086 ac_cv_prog_ac_ct_CC="$ac_prog"
3087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3096 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3097 if test -n "$ac_ct_CC"; then
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3099 $as_echo "$ac_ct_CC" >&6; }
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3102 $as_echo "no" >&6; }
3106 test -n "$ac_ct_CC" && break
3109 if test "x$ac_ct_CC" = x; then
3112 case $cross_compiling:$ac_tool_warned in
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3115 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3116 ac_tool_warned=yes ;;
3125 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3126 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3127 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3128 See \
`config.log' for more details" "$LINENO" 5; }
3130 # Provide some information about the compiler.
3131 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3134 for ac_option in --version -v -V -qversion; do
3135 { { ac_try="$ac_compiler $ac_option >&5"
3137 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3138 *) ac_try_echo
=$ac_try;;
3140 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3141 $as_echo "$ac_try_echo"; } >&5
3142 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3144 if test -s conftest.err
; then
3146 ... rest of stderr output deleted ...
3147 10q' conftest.err
>conftest.er1
3148 cat conftest.er1
>&5
3150 rm -f conftest.er1 conftest.err
3151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3152 test $ac_status = 0; }
3155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3156 /* end confdefs.h. */
3166 ac_clean_files_save
=$ac_clean_files
3167 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3168 # Try to create an executable without -o first, disregard a.out.
3169 # It will help us diagnose broken compilers, and finding out an intuition
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3172 $as_echo_n "checking whether the C compiler works... " >&6; }
3173 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3175 # The possible output files:
3176 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3179 for ac_file
in $ac_files
3182 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3183 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3188 if { { ac_try
="$ac_link_default"
3190 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3191 *) ac_try_echo=$ac_try;;
3193 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3194 $as_echo "$ac_try_echo"; } >&5
3195 (eval "$ac_link_default") 2>&5
3197 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3198 test $ac_status = 0; }; then :
3199 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3200 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3201 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3202 # so that the user can short-circuit this test for compilers unknown to
3204 for ac_file in $ac_files ''
3206 test -f "$ac_file" || continue
3208 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3211 # We found the default executable, but exeext='' is most
3215 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3217 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3219 # We set ac_cv_exeext here because the later test for it is not
3220 # safe: cross compilers may not add the suffix if given an `-o'
3221 # argument, so we may need to know it at that point already.
3222 # Even if this section looks crufty: it has the advantage of
3229 test "$ac_cv_exeext" = no && ac_cv_exeext=
3234 if test -z "$ac_file"; then :
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3236 $as_echo "no" >&6; }
3237 $as_echo "$as_me: failed program was:" >&5
3238 sed 's
/^
/|
/' conftest.$ac_ext >&5
3240 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3241 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3242 as_fn_error 77 "C compiler cannot create executables
3243 See \`config.log
' for more details" "$LINENO" 5; }
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3246 $as_echo "yes" >&6; }
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3249 $as_echo_n "checking for C compiler default output file name... " >&6; }
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3251 $as_echo "$ac_file" >&6; }
3252 ac_exeext=$ac_cv_exeext
3254 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3255 ac_clean_files=$ac_clean_files_save
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3257 $as_echo_n "checking for suffix of executables... " >&6; }
3258 if { { ac_try="$ac_link"
3260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3261 *) ac_try_echo=$ac_try;;
3263 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3264 $as_echo "$ac_try_echo"; } >&5
3265 (eval "$ac_link") 2>&5
3267 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3268 test $ac_status = 0; }; then :
3269 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3270 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3271 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3273 for ac_file
in conftest.exe conftest conftest.
*; do
3274 test -f "$ac_file" ||
continue
3276 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3277 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3283 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3284 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3285 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3286 See \`config.log' for more details" "$LINENO" 5; }
3288 rm -f conftest conftest
$ac_cv_exeext
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3290 $as_echo "$ac_cv_exeext" >&6; }
3292 rm -f conftest.
$ac_ext
3293 EXEEXT
=$ac_cv_exeext
3295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3296 /* end confdefs.h. */
3301 FILE *f = fopen ("conftest.out", "w");
3302 return ferror (f) || fclose (f) != 0;
3308 ac_clean_files
="$ac_clean_files conftest.out"
3309 # Check that the compiler produces executables we can run. If not, either
3310 # the compiler is broken, or we cross compile.
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3312 $as_echo_n "checking whether we are cross compiling... " >&6; }
3313 if test "$cross_compiling" != yes; then
3314 { { ac_try
="$ac_link"
3316 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3317 *) ac_try_echo=$ac_try;;
3319 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3320 $as_echo "$ac_try_echo"; } >&5
3321 (eval "$ac_link") 2>&5
3323 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3324 test $ac_status = 0; }
3325 if { ac_try='./conftest$ac_cv_exeext'
3326 { { case "(($ac_try" in
3327 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3328 *) ac_try_echo
=$ac_try;;
3330 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3331 $as_echo "$ac_try_echo"; } >&5
3332 (eval "$ac_try") 2>&5
3334 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3335 test $ac_status = 0; }; }; then
3338 if test "$cross_compiling" = maybe
; then
3341 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3342 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3343 as_fn_error $?
"cannot run C compiled programs.
3344 If you meant to cross compile, use \`--host'.
3345 See \`config.log' for more details" "$LINENO" 5; }
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3350 $as_echo "$cross_compiling" >&6; }
3352 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3353 ac_clean_files
=$ac_clean_files_save
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3355 $as_echo_n "checking for suffix of object files... " >&6; }
3356 if ${ac_cv_objext+:} false
; then :
3357 $as_echo_n "(cached) " >&6
3359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3360 /* end confdefs.h. */
3370 rm -f conftest.o conftest.obj
3371 if { { ac_try
="$ac_compile"
3373 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3374 *) ac_try_echo=$ac_try;;
3376 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3377 $as_echo "$ac_try_echo"; } >&5
3378 (eval "$ac_compile") 2>&5
3380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3381 test $ac_status = 0; }; then :
3382 for ac_file in conftest.o conftest.obj conftest.*; do
3383 test -f "$ac_file" || continue;
3385 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3386 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3391 $as_echo "$as_me: failed program was:" >&5
3392 sed 's/^/| /' conftest.$ac_ext >&5
3394 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3395 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3396 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3397 See \
`config.log' for more details" "$LINENO" 5; }
3399 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3402 $as_echo "$ac_cv_objext" >&6; }
3403 OBJEXT=$ac_cv_objext
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3406 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3407 if ${ac_cv_c_compiler_gnu+:} false; then :
3408 $as_echo_n "(cached) " >&6
3410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3411 /* end confdefs.h. */
3424 if ac_fn_c_try_compile "$LINENO"; then :
3429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3430 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3434 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3435 if test $ac_compiler_gnu = yes; then
3440 ac_test_CFLAGS=${CFLAGS+set}
3441 ac_save_CFLAGS=$CFLAGS
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3443 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3444 if ${ac_cv_prog_cc_g+:} false; then :
3445 $as_echo_n "(cached) " >&6
3447 ac_save_c_werror_flag=$ac_c_werror_flag
3448 ac_c_werror_flag=yes
3451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3452 /* end confdefs.h. */
3462 if ac_fn_c_try_compile "$LINENO"; then :
3466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3467 /* end confdefs.h. */
3477 if ac_fn_c_try_compile "$LINENO"; then :
3480 ac_c_werror_flag=$ac_save_c_werror_flag
3482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3483 /* end confdefs.h. */
3493 if ac_fn_c_try_compile "$LINENO"; then :
3496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3501 ac_c_werror_flag=$ac_save_c_werror_flag
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3504 $as_echo "$ac_cv_prog_cc_g" >&6; }
3505 if test "$ac_test_CFLAGS" = set; then
3506 CFLAGS=$ac_save_CFLAGS
3507 elif test $ac_cv_prog_cc_g = yes; then
3508 if test "$GCC" = yes; then
3514 if test "$GCC" = yes; then
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3521 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3522 if ${ac_cv_prog_cc_c89+:} false; then :
3523 $as_echo_n "(cached) " >&6
3525 ac_cv_prog_cc_c89=no
3527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3528 /* end confdefs.h. */
3531 #include <sys/types.h>
3532 #include <sys/stat.h>
3533 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3534 struct buf { int x; };
3535 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3536 static char *e (p, i)
3542 static char *f (char * (*g) (char **, int), char **p, ...)
3547 s = g (p, va_arg (v,int));
3552 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3553 function prototypes and stuff, but not '\xHH' hex character constants.
3554 These don't provoke an error unfortunately, instead are silently treated
3555 as 'x'. The following induces an error, until -std is added to get
3556 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3557 array size at least. It's necessary to write '\x00'==0 to get something
3558 that's true only with -std. */
3559 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3561 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3562 inside strings and character constants. */
3564 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3566 int test (int i, double x);
3567 struct s1 {int (*f) (int a);};
3568 struct s2 {int (*f) (double a);};
3569 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3575 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3580 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3581 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3583 CC="$ac_save_CC $ac_arg"
3584 if ac_fn_c_try_compile "$LINENO"; then :
3585 ac_cv_prog_cc_c89=$ac_arg
3587 rm -f core conftest.err conftest.$ac_objext
3588 test "x$ac_cv_prog_cc_c89" != "xno" && break
3590 rm -f conftest.$ac_ext
3595 case "x$ac_cv_prog_cc_c89" in
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3598 $as_echo "none needed" >&6; } ;;
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3601 $as_echo "unsupported" >&6; } ;;
3603 CC="$CC $ac_cv_prog_cc_c89"
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3605 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3607 if test "x$ac_cv_prog_cc_c89" != xno; then :
3612 ac_cpp='$CPP $CPPFLAGS'
3613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3618 ac_cpp='$CXXCPP $CPPFLAGS'
3619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3622 if test -z "$CXX"; then
3623 if test -n "$CCC"; then
3626 if test -n "$ac_tool_prefix"; then
3627 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3629 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3630 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3632 $as_echo_n "checking for $ac_word... " >&6; }
3633 if ${ac_cv_prog_CXX+:} false; then :
3634 $as_echo_n "(cached) " >&6
3636 if test -n "$CXX"; then
3637 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3643 test -z "$as_dir" && as_dir=.
3644 for ac_exec_ext in '' $ac_executable_extensions; do
3645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3646 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3657 if test -n "$CXX"; then
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3659 $as_echo "$CXX" >&6; }
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3662 $as_echo "no" >&6; }
3666 test -n "$CXX" && break
3669 if test -z "$CXX"; then
3671 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3673 # Extract the first word of "$ac_prog", so it can be a program name with args.
3674 set dummy $ac_prog; ac_word=$2
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3676 $as_echo_n "checking for $ac_word... " >&6; }
3677 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3678 $as_echo_n "(cached) " >&6
3680 if test -n "$ac_ct_CXX"; then
3681 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3687 test -z "$as_dir" && as_dir=.
3688 for ac_exec_ext in '' $ac_executable_extensions; do
3689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3690 ac_cv_prog_ac_ct_CXX="$ac_prog"
3691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3700 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3701 if test -n "$ac_ct_CXX"; then
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3703 $as_echo "$ac_ct_CXX" >&6; }
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3706 $as_echo "no" >&6; }
3710 test -n "$ac_ct_CXX" && break
3713 if test "x$ac_ct_CXX" = x; then
3716 case $cross_compiling:$ac_tool_warned in
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3719 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3720 ac_tool_warned=yes ;;
3728 # Provide some information about the compiler.
3729 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3732 for ac_option in --version -v -V -qversion; do
3733 { { ac_try="$ac_compiler $ac_option >&5"
3735 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3736 *) ac_try_echo
=$ac_try;;
3738 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3739 $as_echo "$ac_try_echo"; } >&5
3740 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3742 if test -s conftest.err
; then
3744 ... rest of stderr output deleted ...
3745 10q' conftest.err
>conftest.er1
3746 cat conftest.er1
>&5
3748 rm -f conftest.er1 conftest.err
3749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3750 test $ac_status = 0; }
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3754 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3755 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
3756 $as_echo_n "(cached) " >&6
3758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3759 /* end confdefs.h. */
3772 if ac_fn_cxx_try_compile
"$LINENO"; then :
3777 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3778 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3782 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3783 if test $ac_compiler_gnu = yes; then
3788 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3789 ac_save_CXXFLAGS
=$CXXFLAGS
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3791 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3792 if ${ac_cv_prog_cxx_g+:} false
; then :
3793 $as_echo_n "(cached) " >&6
3795 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3796 ac_cxx_werror_flag
=yes
3799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3800 /* end confdefs.h. */
3810 if ac_fn_cxx_try_compile
"$LINENO"; then :
3811 ac_cv_prog_cxx_g
=yes
3814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3815 /* end confdefs.h. */
3825 if ac_fn_cxx_try_compile
"$LINENO"; then :
3828 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3831 /* end confdefs.h. */
3841 if ac_fn_cxx_try_compile
"$LINENO"; then :
3842 ac_cv_prog_cxx_g
=yes
3844 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3846 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3848 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3849 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3852 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3853 if test "$ac_test_CXXFLAGS" = set; then
3854 CXXFLAGS
=$ac_save_CXXFLAGS
3855 elif test $ac_cv_prog_cxx_g = yes; then
3856 if test "$GXX" = yes; then
3862 if test "$GXX" = yes; then
3869 ac_cpp
='$CPP $CPPFLAGS'
3870 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3871 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3872 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc supports lazy variable declaration" >&5
3878 $as_echo_n "checking whether gcc supports lazy variable declaration... " >&6; }
3880 cat > conftest.c
<< EOF
3894 testprog_link
='$CC $CPPFLAGS $CFLAGS conftest.c -o conftest${ac_exeext}'
3895 if { (eval echo gcc
.2.95.
m4:19: \"$testprog_link\") 1>&5; (eval $testprog_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3897 $as_echo "yes" >&6; }
3901 echo "configure: failed program was:" >&5
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3904 $as_echo "no" >&6; }
3909 if test "x$GCC_IS_OK" '=' "x";then
3910 echo "***************************************************"
3911 echo "* Your gcc is too old to compile this!"
3913 echo "* The last version compileable by this compiler is "
3914 echo "* swftools 0.7.0, which you can download from "
3915 echo "* http://www.swftools.org/swftools-0.7.0.tar.gz "
3917 echo "* Newer versions require at least gcc 3.0.0 "
3918 echo "***************************************************"
3922 if test "x$CHECKMEM" '!=' "x";then
3926 #unset ac_cv_prog_CC
3927 #unset ac_cv_prog_CXX
3932 ac_cpp
='$CPP $CPPFLAGS'
3933 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3934 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3935 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3937 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3938 # On Suns, sometimes $CPP names a directory.
3939 if test -n "$CPP" && test -d "$CPP"; then
3942 if test -z "$CPP"; then
3943 if ${ac_cv_prog_CPP+:} false
; then :
3944 $as_echo_n "(cached) " >&6
3946 # Double quotes because CPP needs to be expanded
3947 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3950 for ac_c_preproc_warn_flag
in '' yes
3952 # Use a header file that comes with gcc, so configuring glibc
3953 # with a fresh cross-compiler works.
3954 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3955 # <limits.h> exists even on freestanding compilers.
3956 # On the NeXT, cc -E runs the code through the compiler's parser,
3957 # not just through cpp. "Syntax error" is here to catch this case.
3958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3959 /* end confdefs.h. */
3961 # include <limits.h>
3963 # include <assert.h>
3967 if ac_fn_c_try_cpp
"$LINENO"; then :
3970 # Broken: fails on valid input.
3973 rm -f conftest.err conftest.i conftest.
$ac_ext
3975 # OK, works on sane cases. Now check whether nonexistent headers
3976 # can be detected and how.
3977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3978 /* end confdefs.h. */
3979 #include <ac_nonexistent.h>
3981 if ac_fn_c_try_cpp
"$LINENO"; then :
3982 # Broken: success on invalid input.
3985 # Passes both tests.
3989 rm -f conftest.err conftest.i conftest.
$ac_ext
3992 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3993 rm -f conftest.i conftest.err conftest.
$ac_ext
3994 if $ac_preproc_ok; then :
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4007 $as_echo "$CPP" >&6; }
4009 for ac_c_preproc_warn_flag
in '' yes
4011 # Use a header file that comes with gcc, so configuring glibc
4012 # with a fresh cross-compiler works.
4013 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4014 # <limits.h> exists even on freestanding compilers.
4015 # On the NeXT, cc -E runs the code through the compiler's parser,
4016 # not just through cpp. "Syntax error" is here to catch this case.
4017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4018 /* end confdefs.h. */
4020 # include <limits.h>
4022 # include <assert.h>
4026 if ac_fn_c_try_cpp
"$LINENO"; then :
4029 # Broken: fails on valid input.
4032 rm -f conftest.err conftest.i conftest.
$ac_ext
4034 # OK, works on sane cases. Now check whether nonexistent headers
4035 # can be detected and how.
4036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4037 /* end confdefs.h. */
4038 #include <ac_nonexistent.h>
4040 if ac_fn_c_try_cpp
"$LINENO"; then :
4041 # Broken: success on invalid input.
4044 # Passes both tests.
4048 rm -f conftest.err conftest.i conftest.
$ac_ext
4051 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4052 rm -f conftest.i conftest.err conftest.
$ac_ext
4053 if $ac_preproc_ok; then :
4056 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4057 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4058 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4059 See \`config.log' for more details" "$LINENO" 5; }
4063 ac_cpp
='$CPP $CPPFLAGS'
4064 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4065 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4066 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4069 if test -n "$ac_tool_prefix"; then
4070 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4071 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4073 $as_echo_n "checking for $ac_word... " >&6; }
4074 if ${ac_cv_prog_RANLIB+:} false
; then :
4075 $as_echo_n "(cached) " >&6
4077 if test -n "$RANLIB"; then
4078 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4080 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4084 test -z "$as_dir" && as_dir
=.
4085 for ac_exec_ext
in '' $ac_executable_extensions; do
4086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4087 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4097 RANLIB
=$ac_cv_prog_RANLIB
4098 if test -n "$RANLIB"; then
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4100 $as_echo "$RANLIB" >&6; }
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4103 $as_echo "no" >&6; }
4108 if test -z "$ac_cv_prog_RANLIB"; then
4109 ac_ct_RANLIB
=$RANLIB
4110 # Extract the first word of "ranlib", so it can be a program name with args.
4111 set dummy ranlib
; ac_word
=$2
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4113 $as_echo_n "checking for $ac_word... " >&6; }
4114 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4115 $as_echo_n "(cached) " >&6
4117 if test -n "$ac_ct_RANLIB"; then
4118 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4124 test -z "$as_dir" && as_dir
=.
4125 for ac_exec_ext
in '' $ac_executable_extensions; do
4126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4127 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4137 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4138 if test -n "$ac_ct_RANLIB"; then
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4140 $as_echo "$ac_ct_RANLIB" >&6; }
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4143 $as_echo "no" >&6; }
4146 if test "x$ac_ct_RANLIB" = x
; then
4149 case $cross_compiling:$ac_tool_warned in
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4152 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4153 ac_tool_warned
=yes ;;
4155 RANLIB
=$ac_ct_RANLIB
4158 RANLIB
="$ac_cv_prog_RANLIB"
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4162 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4164 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4165 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
4166 $as_echo_n "(cached) " >&6
4168 cat >conftest.
make <<\_ACEOF
4171 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4173 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4174 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4176 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4178 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4182 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4184 $as_echo "yes" >&6; }
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4188 $as_echo "no" >&6; }
4189 SET_MAKE
="MAKE=${MAKE-make}"
4192 # Find a good install program. We prefer a C program (faster),
4193 # so one script is as good as another. But avoid the broken or
4194 # incompatible versions:
4195 # SysV /etc/install, /usr/sbin/install
4196 # SunOS /usr/etc/install
4197 # IRIX /sbin/install
4199 # AmigaOS /C/install, which installs bootblocks on floppy discs
4200 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4201 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4202 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4203 # OS/2's system install, which has a completely different semantic
4204 # ./install, which can be erroneously created by make from ./install.sh.
4205 # Reject install programs that cannot install multiple files.
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4207 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4208 if test -z "$INSTALL"; then
4209 if ${ac_cv_path_install+:} false
; then :
4210 $as_echo_n "(cached) " >&6
4212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4216 test -z "$as_dir" && as_dir
=.
4217 # Account for people who put trailing slashes in PATH elements.
4218 case $as_dir/ in #((
4219 .
/ | .
// |
/[cC
]/* | \
4220 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4221 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4224 # OSF1 and SCO ODT 3.0 have their own names for install.
4225 # Don't use installbsd from OSF since it installs stuff as root
4227 for ac_prog
in ginstall scoinst
install; do
4228 for ac_exec_ext
in '' $ac_executable_extensions; do
4229 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4230 if test $ac_prog = install &&
4231 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4232 # AIX install. It has an incompatible calling convention.
4234 elif test $ac_prog = install &&
4235 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4236 # program-specific install script used by HP pwplus--don't use.
4239 rm -rf conftest.one conftest.two conftest.dir
4240 echo one
> conftest.one
4241 echo two
> conftest.two
4243 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4244 test -s conftest.one
&& test -s conftest.two
&&
4245 test -s conftest.dir
/conftest.one
&&
4246 test -s conftest.dir
/conftest.two
4248 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4261 rm -rf conftest.one conftest.two conftest.dir
4264 if test "${ac_cv_path_install+set}" = set; then
4265 INSTALL
=$ac_cv_path_install
4267 # As a last resort, use the slow shell script. Don't cache a
4268 # value for INSTALL within a source directory, because that will
4269 # break other packages using the cache if that directory is
4270 # removed, or if the value is a relative name.
4271 INSTALL
=$ac_install_sh
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4275 $as_echo "$INSTALL" >&6; }
4277 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4278 # It thinks the first close brace ends the variable substitution.
4279 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4281 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4283 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4286 $as_echo_n "checking whether ln -s works... " >&6; }
4288 if test "$LN_S" = "ln -s"; then
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4290 $as_echo "yes" >&6; }
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4293 $as_echo "no, using $LN_S" >&6; }
4296 for ac_prog
in gzip uncompress compress
4298 # Extract the first word of "$ac_prog", so it can be a program name with args.
4299 set dummy
$ac_prog; ac_word
=$2
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4301 $as_echo_n "checking for $ac_word... " >&6; }
4302 if ${ac_cv_prog_UNCOMPRESS+:} false
; then :
4303 $as_echo_n "(cached) " >&6
4305 if test -n "$UNCOMPRESS"; then
4306 ac_cv_prog_UNCOMPRESS
="$UNCOMPRESS" # Let the user override the test.
4308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4312 test -z "$as_dir" && as_dir
=.
4313 for ac_exec_ext
in '' $ac_executable_extensions; do
4314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4315 ac_cv_prog_UNCOMPRESS
="$ac_prog"
4316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4325 UNCOMPRESS
=$ac_cv_prog_UNCOMPRESS
4326 if test -n "$UNCOMPRESS"; then
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNCOMPRESS" >&5
4328 $as_echo "$UNCOMPRESS" >&6; }
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4331 $as_echo "no" >&6; }
4335 test -n "$UNCOMPRESS" && break
4346 if test "x$EXEEXT" = "x.exe";then
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target system" >&5
4359 $as_echo_n "checking for target system... " >&6; }
4363 *cygwin
* ) CYGWIN
=yes;;
4364 *mingw
* ) MINGW
=yes;;
4368 if test "x$MINGW" = "xyes"; then
4369 #fix for the debian distribution of mingw
4370 if test -x "/usr/i586-mingw32msvc/bin/ar";then
4371 AR
="/usr/i586-mingw32msvc/bin/ar"
4373 if test -x "/usr/i586-mingw32msvc/bin/ranlib";then
4374 RANLIB
="/usr/i586-mingw32msvc/bin/ranlib"
4376 #fix for the gentoo distribution of mingw
4377 if test -x "/opt/xmingw/bin/i386-mingw32msvc-ar";then
4378 AR
="/opt/xmingw/bin/i386-mingw32msvc-ar"
4380 if test -x "/opt/xmingw/bin/i386-mingw32msvc-ranlib";then
4381 RANLIB
="/opt/xmingw/bin/i386-mingw32msvc-ranlib"
4383 if test -x "/opt/xmingw/bin/i386-mingw32msvc-strip";then
4384 STRIP
="/opt/xmingw/bin/i386-mingw32msvc-strip"
4390 if test "x${CYGWIN}" = "xyes"; then
4392 $as_echo "#define CYGWIN 1" >>confdefs.h
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cygwin" >&5
4395 $as_echo "cygwin" >&6; }
4397 if test "x${MINGW}" = "xyes"; then
4399 $as_echo "#define MINGW 1" >>confdefs.h
4403 $as_echo "#define WIN32 1" >>confdefs.h
4405 LIBS
="$LIBS -lws2_32 -lgdi32"
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mingw" >&5
4407 $as_echo "mingw" >&6; }
4412 $as_echo "#define LINUX 1" >>confdefs.h
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
4420 if test "x${MINGW}" != "xyes"; then
4423 $as_echo "#define O_BINARY 0" >>confdefs.h
4434 # The following tries to make use of includes and libraries in
4435 # /usr/local, too. Notice: A -I/usr/local/include might break
4436 # things (MingW, cross-compiling etc.) in the same way as -I/usr/include,
4437 # especially on systems which link /usr/local to /usr, so it has yet
4438 # to be seen how useful this is.
4439 if test -d /usr
/local
/lib
; then
4440 LDFLAGS
="$LDFLAGS -L/usr/local/lib"
4442 if test -d /usr
/local
/include
; then
4443 # Leave that alone. It's causing trouble e.g. with gcc 3.2 on gentoo.
4444 # CPPFLAGS="$CPPFLAGS -I/usr/local/include"
4447 if test "$prefix" != "NONE" -a "$prefix" != "/usr/local" -a "$prefix" != "/usr/local/"; then
4448 # if the user has a special prefix (like /opt), there might also be $prefix/lib
4449 # and $prefix/include, which should be included in our search paths for libraries
4451 LDFLAGS
="$LDFLAGS -L${libdir}"
4452 CPPFLAGS
="$CPPFLAGS -I${includedir}"
4453 # TODO- test whether gcc still works after this
4457 #LDFLAGS "-L/sw/lib" ; CPPFLAGS "-I/sw/include -I/sw/include/lame"
4460 # this must be done after (I believe) AC_PROG_MAKE_SET
4461 if test "x$DEBUG" '!=' "x" -o "x$STRIP" = "x";then
4462 if test "$MACOSX";then
4465 STRIP
="@echo debug enabled, not stripping "
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
4473 $as_echo_n "checking for sin in -lm... " >&6; }
4474 if ${ac_cv_lib_m_sin+:} false
; then :
4475 $as_echo_n "(cached) " >&6
4477 ac_check_lib_save_LIBS
=$LIBS
4479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4480 /* end confdefs.h. */
4482 /* Override any GCC internal prototype to avoid an error.
4483 Use char because int might match the return type of a GCC
4484 builtin and then its argument prototype would still apply. */
4497 if ac_fn_c_try_link
"$LINENO"; then :
4502 rm -f core conftest.err conftest.
$ac_objext \
4503 conftest
$ac_exeext conftest.
$ac_ext
4504 LIBS
=$ac_check_lib_save_LIBS
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
4507 $as_echo "$ac_cv_lib_m_sin" >&6; }
4508 if test "x$ac_cv_lib_m_sin" = xyes
; then :
4509 cat >>confdefs.h
<<_ACEOF
4516 echo "Error: Math library not found.";
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
4522 $as_echo_n "checking for deflate in -lz... " >&6; }
4523 if ${ac_cv_lib_z_deflate+:} false
; then :
4524 $as_echo_n "(cached) " >&6
4526 ac_check_lib_save_LIBS
=$LIBS
4528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4529 /* end confdefs.h. */
4531 /* Override any GCC internal prototype to avoid an error.
4532 Use char because int might match the return type of a GCC
4533 builtin and then its argument prototype would still apply. */
4546 if ac_fn_c_try_link
"$LINENO"; then :
4547 ac_cv_lib_z_deflate
=yes
4549 ac_cv_lib_z_deflate
=no
4551 rm -f core conftest.err conftest.
$ac_objext \
4552 conftest
$ac_exeext conftest.
$ac_ext
4553 LIBS
=$ac_check_lib_save_LIBS
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
4556 $as_echo "$ac_cv_lib_z_deflate" >&6; }
4557 if test "x$ac_cv_lib_z_deflate" = xyes
; then :
4558 cat >>confdefs.h
<<_ACEOF
4569 if test "x$ZLIBMISSING" = "xtrue";then
4572 echo "You need zlib to compile swftools"
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PDF_open_file in -lpdf" >&5
4578 $as_echo_n "checking for PDF_open_file in -lpdf... " >&6; }
4579 if ${ac_cv_lib_pdf_PDF_open_file+:} false
; then :
4580 $as_echo_n "(cached) " >&6
4582 ac_check_lib_save_LIBS
=$LIBS
4584 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4585 /* end confdefs.h. */
4587 /* Override any GCC internal prototype to avoid an error.
4588 Use char because int might match the return type of a GCC
4589 builtin and then its argument prototype would still apply. */
4593 char PDF_open_file ();
4597 return PDF_open_file ();
4602 if ac_fn_c_try_link
"$LINENO"; then :
4603 ac_cv_lib_pdf_PDF_open_file
=yes
4605 ac_cv_lib_pdf_PDF_open_file
=no
4607 rm -f core conftest.err conftest.
$ac_objext \
4608 conftest
$ac_exeext conftest.
$ac_ext
4609 LIBS
=$ac_check_lib_save_LIBS
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pdf_PDF_open_file" >&5
4612 $as_echo "$ac_cv_lib_pdf_PDF_open_file" >&6; }
4613 if test "x$ac_cv_lib_pdf_PDF_open_file" = xyes
; then :
4614 cat >>confdefs.h
<<_ACEOF
4615 #define HAVE_LIBPDF 1
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_write_raw_data in -ljpeg" >&5
4625 $as_echo_n "checking for jpeg_write_raw_data in -ljpeg... " >&6; }
4626 if ${ac_cv_lib_jpeg_jpeg_write_raw_data+:} false
; then :
4627 $as_echo_n "(cached) " >&6
4629 ac_check_lib_save_LIBS
=$LIBS
4631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4632 /* end confdefs.h. */
4634 /* Override any GCC internal prototype to avoid an error.
4635 Use char because int might match the return type of a GCC
4636 builtin and then its argument prototype would still apply. */
4640 char jpeg_write_raw_data ();
4644 return jpeg_write_raw_data ();
4649 if ac_fn_c_try_link
"$LINENO"; then :
4650 ac_cv_lib_jpeg_jpeg_write_raw_data
=yes
4652 ac_cv_lib_jpeg_jpeg_write_raw_data
=no
4654 rm -f core conftest.err conftest.
$ac_objext \
4655 conftest
$ac_exeext conftest.
$ac_ext
4656 LIBS
=$ac_check_lib_save_LIBS
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_write_raw_data" >&5
4659 $as_echo "$ac_cv_lib_jpeg_jpeg_write_raw_data" >&6; }
4660 if test "x$ac_cv_lib_jpeg_jpeg_write_raw_data" = xyes
; then :
4661 cat >>confdefs.h
<<_ACEOF
4662 #define HAVE_LIBJPEG 1
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DGifOpen in -lungif" >&5
4672 $as_echo_n "checking for DGifOpen in -lungif... " >&6; }
4673 if ${ac_cv_lib_ungif_DGifOpen+:} false
; then :
4674 $as_echo_n "(cached) " >&6
4676 ac_check_lib_save_LIBS
=$LIBS
4677 LIBS
="-lungif $LIBS"
4678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4679 /* end confdefs.h. */
4681 /* Override any GCC internal prototype to avoid an error.
4682 Use char because int might match the return type of a GCC
4683 builtin and then its argument prototype would still apply. */
4696 if ac_fn_c_try_link
"$LINENO"; then :
4697 ac_cv_lib_ungif_DGifOpen
=yes
4699 ac_cv_lib_ungif_DGifOpen
=no
4701 rm -f core conftest.err conftest.
$ac_objext \
4702 conftest
$ac_exeext conftest.
$ac_ext
4703 LIBS
=$ac_check_lib_save_LIBS
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ungif_DGifOpen" >&5
4706 $as_echo "$ac_cv_lib_ungif_DGifOpen" >&6; }
4707 if test "x$ac_cv_lib_ungif_DGifOpen" = xyes
; then :
4708 cat >>confdefs.h
<<_ACEOF
4709 #define HAVE_LIBUNGIF 1
4712 LIBS
="-lungif $LIBS"
4718 if test "$UNGIFMISSING";then
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DGifOpen in -lgif" >&5
4721 $as_echo_n "checking for DGifOpen in -lgif... " >&6; }
4722 if ${ac_cv_lib_gif_DGifOpen+:} false
; then :
4723 $as_echo_n "(cached) " >&6
4725 ac_check_lib_save_LIBS
=$LIBS
4727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4728 /* end confdefs.h. */
4730 /* Override any GCC internal prototype to avoid an error.
4731 Use char because int might match the return type of a GCC
4732 builtin and then its argument prototype would still apply. */
4745 if ac_fn_c_try_link
"$LINENO"; then :
4746 ac_cv_lib_gif_DGifOpen
=yes
4748 ac_cv_lib_gif_DGifOpen
=no
4750 rm -f core conftest.err conftest.
$ac_objext \
4751 conftest
$ac_exeext conftest.
$ac_ext
4752 LIBS
=$ac_check_lib_save_LIBS
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gif_DGifOpen" >&5
4755 $as_echo "$ac_cv_lib_gif_DGifOpen" >&6; }
4756 if test "x$ac_cv_lib_gif_DGifOpen" = xyes
; then :
4757 cat >>confdefs.h
<<_ACEOF
4758 #define HAVE_LIBGIF 1
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zzip_file_open in -lzzip" >&5
4769 $as_echo_n "checking for zzip_file_open in -lzzip... " >&6; }
4770 if ${ac_cv_lib_zzip_zzip_file_open+:} false
; then :
4771 $as_echo_n "(cached) " >&6
4773 ac_check_lib_save_LIBS
=$LIBS
4775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4776 /* end confdefs.h. */
4778 /* Override any GCC internal prototype to avoid an error.
4779 Use char because int might match the return type of a GCC
4780 builtin and then its argument prototype would still apply. */
4784 char zzip_file_open ();
4788 return zzip_file_open ();
4793 if ac_fn_c_try_link
"$LINENO"; then :
4794 ac_cv_lib_zzip_zzip_file_open
=yes
4796 ac_cv_lib_zzip_zzip_file_open
=no
4798 rm -f core conftest.err conftest.
$ac_objext \
4799 conftest
$ac_exeext conftest.
$ac_ext
4800 LIBS
=$ac_check_lib_save_LIBS
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_zzip_zzip_file_open" >&5
4803 $as_echo "$ac_cv_lib_zzip_zzip_file_open" >&6; }
4804 if test "x$ac_cv_lib_zzip_zzip_file_open" = xyes
; then :
4805 cat >>confdefs.h
<<_ACEOF
4806 #define HAVE_LIBZZIP 1
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
4817 $as_echo_n "checking target system type... " >&6; }
4818 if ${ac_cv_target+:} false
; then :
4819 $as_echo_n "(cached) " >&6
4821 if test "x$target_alias" = x
; then
4822 ac_cv_target
=$ac_cv_host
4824 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
4825 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
4830 $as_echo "$ac_cv_target" >&6; }
4831 case $ac_cv_target in
4833 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
4835 target
=$ac_cv_target
4836 ac_save_IFS
=$IFS; IFS
='-'
4842 # Remember, the first character of IFS is used to create $*,
4843 # except with old shells:
4846 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
4849 # The aliases save the names the user supplied, while $host etc.
4850 # will get canonicalized.
4851 test -n "$target_alias" &&
4852 test "$program_prefix$program_suffix$program_transform_name" = \
4854 program_prefix
=${target_alias}-
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for byte order" >&5
4857 $as_echo_n "checking for byte order... " >&6; }
4858 if test "$cross_compiling" = yes; then :
4861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4862 /* end confdefs.h. */
4864 int main (int argc, char *argv[])
4871 if ac_fn_c_try_run
"$LINENO"; then :
4876 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4877 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4882 if test "x${CROSSCOMPILE}" = "x1"; then
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: we are cross compiling- trying to guess from system type" >&5
4884 $as_echo "we are cross compiling- trying to guess from system type" >&6; }
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for byte order, try 2" >&5
4887 $as_echo_n "checking for byte order, try 2... " >&6; }
4892 *sparc
* |
*68* |
*88k
* |
*mac
* |
*Mac
* |
*sun
* |
*Sun
* |
*Amiga
* |
*amiga
* )
4899 if test "x${LITTLEENDIAN}" = "x1"; then
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: little endian" >&5
4901 $as_echo "little endian" >&6; }
4905 if test "x${BIGENDIAN}" = "x1"; then
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: big endian" >&5
4907 $as_echo "big endian" >&6; }
4910 export WORDS_BIGENDIAN
4912 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
4915 if test "x${BYTEORDERCHECKOK}" != "x1"; then
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unknown" >&5
4917 $as_echo "unknown" >&6; }
4918 echo Byte order could not determined.
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system() can handle command substitution" >&5
4925 $as_echo_n "checking whether system() can handle command substitution... " >&6; }
4926 if test "$cross_compiling" = yes; then :
4929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4930 /* end confdefs.h. */
4933 int main (int argc, char*argv[])
4935 return system("test `touch config.tmp2`");
4939 if ac_fn_c_try_run
"$LINENO"; then :
4942 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4943 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4947 if test "x${OK}" = "xOK";then
4948 test -f config.tmp2 || OK
=
4951 if test "x${CROSSCOMPILE}" = "x1";then
4954 if test "x${OK}" = "xOK";then
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4957 $as_echo "yes" >&6; }
4959 export SYSTEM_BACKTICKS
4961 $as_echo "#define SYSTEM_BACKTICKS 1" >>confdefs.h
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4965 $as_echo "no" >&6; }
4970 test "$program_prefix" != NONE
&&
4971 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4972 # Use a double $ so make ignores it.
4973 test "$program_suffix" != NONE
&&
4974 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4975 # Double any \ or $.
4976 # By default was `s,x,x', remove it if useless.
4977 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4978 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4981 ac_config_headers
="$ac_config_headers config.h"
4984 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
4985 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
4987 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
4988 if eval \
${$as_ac_Header+:} false
; then :
4989 $as_echo_n "(cached) " >&6
4991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4992 /* end confdefs.h. */
4993 #include <sys/types.h>
5005 if ac_fn_c_try_compile
"$LINENO"; then :
5006 eval "$as_ac_Header=yes"
5008 eval "$as_ac_Header=no"
5010 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5012 eval ac_res
=\$
$as_ac_Header
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5014 $as_echo "$ac_res" >&6; }
5015 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5016 cat >>confdefs.h
<<_ACEOF
5017 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5020 ac_header_dirent
=$ac_hdr; break
5024 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5025 if test $ac_header_dirent = dirent.h
; then
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5027 $as_echo_n "checking for library containing opendir... " >&6; }
5028 if ${ac_cv_search_opendir+:} false
; then :
5029 $as_echo_n "(cached) " >&6
5031 ac_func_search_save_LIBS
=$LIBS
5032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5033 /* end confdefs.h. */
5035 /* Override any GCC internal prototype to avoid an error.
5036 Use char because int might match the return type of a GCC
5037 builtin and then its argument prototype would still apply. */
5050 for ac_lib
in '' dir
; do
5051 if test -z "$ac_lib"; then
5052 ac_res
="none required"
5055 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5057 if ac_fn_c_try_link
"$LINENO"; then :
5058 ac_cv_search_opendir
=$ac_res
5060 rm -f core conftest.err conftest.
$ac_objext \
5062 if ${ac_cv_search_opendir+:} false
; then :
5066 if ${ac_cv_search_opendir+:} false
; then :
5069 ac_cv_search_opendir
=no
5072 LIBS
=$ac_func_search_save_LIBS
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5075 $as_echo "$ac_cv_search_opendir" >&6; }
5076 ac_res
=$ac_cv_search_opendir
5077 if test "$ac_res" != no
; then :
5078 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5084 $as_echo_n "checking for library containing opendir... " >&6; }
5085 if ${ac_cv_search_opendir+:} false
; then :
5086 $as_echo_n "(cached) " >&6
5088 ac_func_search_save_LIBS
=$LIBS
5089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5090 /* end confdefs.h. */
5092 /* Override any GCC internal prototype to avoid an error.
5093 Use char because int might match the return type of a GCC
5094 builtin and then its argument prototype would still apply. */
5107 for ac_lib
in '' x
; do
5108 if test -z "$ac_lib"; then
5109 ac_res
="none required"
5112 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5114 if ac_fn_c_try_link
"$LINENO"; then :
5115 ac_cv_search_opendir
=$ac_res
5117 rm -f core conftest.err conftest.
$ac_objext \
5119 if ${ac_cv_search_opendir+:} false
; then :
5123 if ${ac_cv_search_opendir+:} false
; then :
5126 ac_cv_search_opendir
=no
5129 LIBS
=$ac_func_search_save_LIBS
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5132 $as_echo "$ac_cv_search_opendir" >&6; }
5133 ac_res
=$ac_cv_search_opendir
5134 if test "$ac_res" != no
; then :
5135 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5143 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5144 if ${ac_cv_path_GREP+:} false
; then :
5145 $as_echo_n "(cached) " >&6
5147 if test -z "$GREP"; then
5148 ac_path_GREP_found
=false
5149 # Loop through the user's path and test for each of PROGNAME-LIST
5150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5151 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5154 test -z "$as_dir" && as_dir
=.
5155 for ac_prog
in grep ggrep
; do
5156 for ac_exec_ext
in '' $ac_executable_extensions; do
5157 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5158 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5159 # Check for GNU ac_path_GREP and select it if it is found.
5160 # Check for GNU $ac_path_GREP
5161 case `"$ac_path_GREP" --version 2>&1` in
5163 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5166 $as_echo_n 0123456789 >"conftest.in"
5169 cat "conftest.in" "conftest.in" >"conftest.tmp"
5170 mv "conftest.tmp" "conftest.in"
5171 cp "conftest.in" "conftest.nl"
5172 $as_echo 'GREP' >> "conftest.nl"
5173 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5174 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5175 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5176 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5177 # Best one so far, save it but keep looking for a better one
5178 ac_cv_path_GREP
="$ac_path_GREP"
5179 ac_path_GREP_max
=$ac_count
5181 # 10*(2^10) chars as input seems more than enough
5182 test $ac_count -gt 10 && break
5184 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5187 $ac_path_GREP_found && break 3
5192 if test -z "$ac_cv_path_GREP"; then
5193 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5196 ac_cv_path_GREP
=$GREP
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5201 $as_echo "$ac_cv_path_GREP" >&6; }
5202 GREP
="$ac_cv_path_GREP"
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5206 $as_echo_n "checking for egrep... " >&6; }
5207 if ${ac_cv_path_EGREP+:} false
; then :
5208 $as_echo_n "(cached) " >&6
5210 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5211 then ac_cv_path_EGREP
="$GREP -E"
5213 if test -z "$EGREP"; then
5214 ac_path_EGREP_found
=false
5215 # Loop through the user's path and test for each of PROGNAME-LIST
5216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5217 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5220 test -z "$as_dir" && as_dir
=.
5221 for ac_prog
in egrep; do
5222 for ac_exec_ext
in '' $ac_executable_extensions; do
5223 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5224 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5225 # Check for GNU ac_path_EGREP and select it if it is found.
5226 # Check for GNU $ac_path_EGREP
5227 case `"$ac_path_EGREP" --version 2>&1` in
5229 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5232 $as_echo_n 0123456789 >"conftest.in"
5235 cat "conftest.in" "conftest.in" >"conftest.tmp"
5236 mv "conftest.tmp" "conftest.in"
5237 cp "conftest.in" "conftest.nl"
5238 $as_echo 'EGREP' >> "conftest.nl"
5239 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5240 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5241 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5242 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5243 # Best one so far, save it but keep looking for a better one
5244 ac_cv_path_EGREP
="$ac_path_EGREP"
5245 ac_path_EGREP_max
=$ac_count
5247 # 10*(2^10) chars as input seems more than enough
5248 test $ac_count -gt 10 && break
5250 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5253 $ac_path_EGREP_found && break 3
5258 if test -z "$ac_cv_path_EGREP"; then
5259 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5262 ac_cv_path_EGREP
=$EGREP
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5268 $as_echo "$ac_cv_path_EGREP" >&6; }
5269 EGREP
="$ac_cv_path_EGREP"
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5273 $as_echo_n "checking for ANSI C header files... " >&6; }
5274 if ${ac_cv_header_stdc+:} false
; then :
5275 $as_echo_n "(cached) " >&6
5277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5278 /* end confdefs.h. */
5292 if ac_fn_c_try_compile
"$LINENO"; then :
5293 ac_cv_header_stdc
=yes
5295 ac_cv_header_stdc
=no
5297 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5299 if test $ac_cv_header_stdc = yes; then
5300 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5302 /* end confdefs.h. */
5306 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5307 $EGREP "memchr" >/dev
/null
2>&1; then :
5310 ac_cv_header_stdc
=no
5316 if test $ac_cv_header_stdc = yes; then
5317 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5319 /* end confdefs.h. */
5323 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5324 $EGREP "free" >/dev
/null
2>&1; then :
5327 ac_cv_header_stdc
=no
5333 if test $ac_cv_header_stdc = yes; then
5334 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5335 if test "$cross_compiling" = yes; then :
5338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5339 /* end confdefs.h. */
5342 #if ((' ' & 0x0FF) == 0x020)
5343 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5344 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5346 # define ISLOWER(c) \
5347 (('a' <= (c) && (c) <= 'i') \
5348 || ('j' <= (c) && (c) <= 'r') \
5349 || ('s' <= (c) && (c) <= 'z'))
5350 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5353 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5358 for (i = 0; i < 256; i++)
5359 if (XOR (islower (i), ISLOWER (i))
5360 || toupper (i) != TOUPPER (i))
5365 if ac_fn_c_try_run
"$LINENO"; then :
5368 ac_cv_header_stdc
=no
5370 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5371 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5377 $as_echo "$ac_cv_header_stdc" >&6; }
5378 if test $ac_cv_header_stdc = yes; then
5380 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5385 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5386 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5387 inttypes.h stdint.h unistd.h
5389 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5390 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5392 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5393 cat >>confdefs.h
<<_ACEOF
5394 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5402 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
5404 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5405 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5406 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5407 cat >>confdefs.h
<<_ACEOF
5408 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5417 cat >>confdefs.h
<<_ACEOF
5418 #define PACKAGE "$PACKAGE"
5422 cat >>confdefs.h
<<_ACEOF
5423 #define VERSION "$VERSION"
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
5433 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5434 if ${ac_cv_c_const+:} false
; then :
5435 $as_echo_n "(cached) " >&6
5437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5438 /* end confdefs.h. */
5443 /* FIXME: Include the comments suggested by Paul. */
5445 /* Ultrix mips cc rejects this. */
5446 typedef int charset[2];
5448 /* SunOS 4.1.1 cc rejects this. */
5449 char const *const *pcpcc;
5451 /* NEC SVR4.0.2 mips cc rejects this. */
5452 struct point {int x, y;};
5453 static struct point const zero = {0,0};
5454 /* AIX XL C 1.02.0.0 rejects this.
5455 It does not let you subtract one const X* pointer from another in
5456 an arm of an if-expression whose if-part is not a constant
5458 const char *g = "string";
5459 pcpcc = &g + (g ? g-g : 0);
5460 /* HPUX 7.0 cc rejects these. */
5462 ppc = (char**) pcpcc;
5463 pcpcc = (char const *const *) ppc;
5464 { /* SCO 3.2v4 cc rejects this. */
5466 char const *s = 0 ? (char *) 0 : (char const *) 0;
5471 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5473 const int *foo = &x[0];
5476 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5477 typedef const int *iptr;
5481 { /* AIX XL C 1.02.0.0 rejects this saying
5482 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5483 struct s { int j; const int *ap[3]; };
5484 struct s *b; b->j = 5;
5486 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5490 return !cs[0] && !zero.x;
5497 if ac_fn_c_try_compile
"$LINENO"; then :
5502 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
5505 $as_echo "$ac_cv_c_const" >&6; }
5506 if test $ac_cv_c_const = no
; then
5508 $as_echo "#define const /**/" >>confdefs.h
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
5513 $as_echo_n "checking for inline... " >&6; }
5514 if ${ac_cv_c_inline+:} false
; then :
5515 $as_echo_n "(cached) " >&6
5518 for ac_kw
in inline __inline__ __inline
; do
5519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5520 /* end confdefs.h. */
5523 static $ac_kw foo_t static_foo () {return 0; }
5524 $ac_kw foo_t foo () {return 0; }
5528 if ac_fn_c_try_compile
"$LINENO"; then :
5529 ac_cv_c_inline
=$ac_kw
5531 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5532 test "$ac_cv_c_inline" != no
&& break
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
5537 $as_echo "$ac_cv_c_inline" >&6; }
5539 case $ac_cv_c_inline in
5542 case $ac_cv_c_inline in
5544 *) ac_val
=$ac_cv_c_inline;;
5546 cat >>confdefs.h
<<_ACEOF
5548 #define inline $ac_val
5554 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
5555 if test "x$ac_cv_type_off_t" = xyes
; then :
5559 cat >>confdefs.h
<<_ACEOF
5560 #define off_t long int
5565 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5566 if test "x$ac_cv_type_size_t" = xyes
; then :
5570 cat >>confdefs.h
<<_ACEOF
5571 #define size_t unsigned int
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
5577 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
5578 if ${ac_cv_struct_tm+:} false
; then :
5579 $as_echo_n "(cached) " >&6
5581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5582 /* end confdefs.h. */
5583 #include <sys/types.h>
5590 int *p = &tm.tm_sec;
5596 if ac_fn_c_try_compile
"$LINENO"; then :
5597 ac_cv_struct_tm
=time.h
5599 ac_cv_struct_tm
=sys
/time.h
5601 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
5604 $as_echo "$ac_cv_struct_tm" >&6; }
5605 if test $ac_cv_struct_tm = sys
/time.h
; then
5607 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
5611 ac_fn_c_check_type
"$LINENO" "boolean" "ac_cv_type_boolean" "$ac_includes_default"
5612 if test "x$ac_cv_type_boolean" = xyes
; then :
5616 cat >>confdefs.h
<<_ACEOF
5622 for ac_func
in popen wcschr wcsdup mkstemp stat mmap lrand48 rand srand48 srand bcopy bzero
time getrusage mallinfo open64 calloc
5624 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5625 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
5626 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
5627 cat >>confdefs.h
<<_ACEOF
5628 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5635 # The cast to long int works around a bug in the HP C Compiler
5636 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5637 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5638 # This bug is HP SR number 8606223364.
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of signed char" >&5
5640 $as_echo_n "checking size of signed char... " >&6; }
5641 if ${ac_cv_sizeof_signed_char+:} false
; then :
5642 $as_echo_n "(cached) " >&6
5644 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (signed char))" "ac_cv_sizeof_signed_char" "$ac_includes_default"; then :
5647 if test "$ac_cv_type_signed_char" = yes; then
5648 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5649 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5650 as_fn_error
77 "cannot compute sizeof (signed char)
5651 See \`config.log' for more details" "$LINENO" 5; }
5653 ac_cv_sizeof_signed_char
=0
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_signed_char" >&5
5659 $as_echo "$ac_cv_sizeof_signed_char" >&6; }
5663 cat >>confdefs.h
<<_ACEOF
5664 #define SIZEOF_SIGNED_CHAR $ac_cv_sizeof_signed_char
5668 # The cast to long int works around a bug in the HP C Compiler
5669 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5670 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5671 # This bug is HP SR number 8606223364.
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of signed short" >&5
5673 $as_echo_n "checking size of signed short... " >&6; }
5674 if ${ac_cv_sizeof_signed_short+:} false
; then :
5675 $as_echo_n "(cached) " >&6
5677 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (signed short))" "ac_cv_sizeof_signed_short" "$ac_includes_default"; then :
5680 if test "$ac_cv_type_signed_short" = yes; then
5681 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5682 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5683 as_fn_error
77 "cannot compute sizeof (signed short)
5684 See \`config.log' for more details" "$LINENO" 5; }
5686 ac_cv_sizeof_signed_short
=0
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_signed_short" >&5
5692 $as_echo "$ac_cv_sizeof_signed_short" >&6; }
5696 cat >>confdefs.h
<<_ACEOF
5697 #define SIZEOF_SIGNED_SHORT $ac_cv_sizeof_signed_short
5701 # The cast to long int works around a bug in the HP C Compiler
5702 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5703 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5704 # This bug is HP SR number 8606223364.
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of signed" >&5
5706 $as_echo_n "checking size of signed... " >&6; }
5707 if ${ac_cv_sizeof_signed+:} false
; then :
5708 $as_echo_n "(cached) " >&6
5710 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (signed))" "ac_cv_sizeof_signed" "$ac_includes_default"; then :
5713 if test "$ac_cv_type_signed" = yes; then
5714 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5715 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5716 as_fn_error
77 "cannot compute sizeof (signed)
5717 See \`config.log' for more details" "$LINENO" 5; }
5719 ac_cv_sizeof_signed
=0
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_signed" >&5
5725 $as_echo "$ac_cv_sizeof_signed" >&6; }
5729 cat >>confdefs.h
<<_ACEOF
5730 #define SIZEOF_SIGNED $ac_cv_sizeof_signed
5734 # The cast to long int works around a bug in the HP C Compiler
5735 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5736 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5737 # This bug is HP SR number 8606223364.
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of signed long long" >&5
5739 $as_echo_n "checking size of signed long long... " >&6; }
5740 if ${ac_cv_sizeof_signed_long_long+:} false
; then :
5741 $as_echo_n "(cached) " >&6
5743 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (signed long long))" "ac_cv_sizeof_signed_long_long" "$ac_includes_default"; then :
5746 if test "$ac_cv_type_signed_long_long" = yes; then
5747 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5748 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5749 as_fn_error
77 "cannot compute sizeof (signed long long)
5750 See \`config.log' for more details" "$LINENO" 5; }
5752 ac_cv_sizeof_signed_long_long
=0
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_signed_long_long" >&5
5758 $as_echo "$ac_cv_sizeof_signed_long_long" >&6; }
5762 cat >>confdefs.h
<<_ACEOF
5763 #define SIZEOF_SIGNED_LONG_LONG $ac_cv_sizeof_signed_long_long
5767 # The cast to long int works around a bug in the HP C Compiler
5768 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5769 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5770 # This bug is HP SR number 8606223364.
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void*" >&5
5772 $as_echo_n "checking size of void*... " >&6; }
5773 if ${ac_cv_sizeof_voidp+:} false
; then :
5774 $as_echo_n "(cached) " >&6
5776 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_voidp" "$ac_includes_default"; then :
5779 if test "$ac_cv_type_voidp" = yes; then
5780 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5781 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5782 as_fn_error
77 "cannot compute sizeof (void*)
5783 See \`config.log' for more details" "$LINENO" 5; }
5785 ac_cv_sizeof_voidp
=0
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_voidp" >&5
5791 $as_echo "$ac_cv_sizeof_voidp" >&6; }
5795 cat >>confdefs.h
<<_ACEOF
5796 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
5803 # Extract the first word of "freetype-config", so it can be a program name with args.
5804 set dummy freetype-config
; ac_word
=$2
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5806 $as_echo_n "checking for $ac_word... " >&6; }
5807 if ${ac_cv_path_FREETYPE_CONFIG+:} false
; then :
5808 $as_echo_n "(cached) " >&6
5810 case $FREETYPE_CONFIG in
5812 ac_cv_path_FREETYPE_CONFIG
="$FREETYPE_CONFIG" # Let the user override the test with a path.
5815 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5816 as_dummy
=""$PATH:/usr
/local
/bin
:/sw
/bin
:/opt
/local
/bin
""
5817 for as_dir
in $as_dummy
5820 test -z "$as_dir" && as_dir
=.
5821 for ac_exec_ext
in '' $ac_executable_extensions; do
5822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5823 ac_cv_path_FREETYPE_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
5824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5834 FREETYPE_CONFIG
=$ac_cv_path_FREETYPE_CONFIG
5835 if test -n "$FREETYPE_CONFIG"; then
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FREETYPE_CONFIG" >&5
5837 $as_echo "$FREETYPE_CONFIG" >&6; }
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5840 $as_echo "no" >&6; }
5845 OLDCPPFLAGS
="${CPPFLAGS}"
5847 if test "x${FREETYPE_CONFIG}" '!=' "x"; then
5848 CPPFLAGS
="$CPPFLAGS "`$FREETYPE_CONFIG --cflags`
5849 else if test -d /usr
/include
/freetype2
; then
5850 CPPFLAGS
="$CPPFLAGS -I/usr/include/freetype2"
5851 else if test -d /usr
/local
/include
/freetype2
; then
5852 CPPFLAGS
="$CPPFLAGS -I/usr/local/include/freetype2"
5857 if test "x${FREETYPE_CONFIG}" '=' "x";then
5858 # if we didn't find the freetype-config program, we won't
5859 # know where the libs are expected to be. So just blindly
5860 # try to link against them.
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FT_Init_FreeType in -lfreetype" >&5
5862 $as_echo_n "checking for FT_Init_FreeType in -lfreetype... " >&6; }
5863 if ${ac_cv_lib_freetype_FT_Init_FreeType+:} false
; then :
5864 $as_echo_n "(cached) " >&6
5866 ac_check_lib_save_LIBS
=$LIBS
5867 LIBS
="-lfreetype $LIBS"
5868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5869 /* end confdefs.h. */
5871 /* Override any GCC internal prototype to avoid an error.
5872 Use char because int might match the return type of a GCC
5873 builtin and then its argument prototype would still apply. */
5877 char FT_Init_FreeType ();
5881 return FT_Init_FreeType ();
5886 if ac_fn_c_try_link
"$LINENO"; then :
5887 ac_cv_lib_freetype_FT_Init_FreeType
=yes
5889 ac_cv_lib_freetype_FT_Init_FreeType
=no
5891 rm -f core conftest.err conftest.
$ac_objext \
5892 conftest
$ac_exeext conftest.
$ac_ext
5893 LIBS
=$ac_check_lib_save_LIBS
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
5896 $as_echo "$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
5897 if test "x$ac_cv_lib_freetype_FT_Init_FreeType" = xyes
; then :
5903 for ac_header
in ft2build.h
5905 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
5906 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
5907 cat >>confdefs.h
<<_ACEOF
5908 #define HAVE_FT2BUILD_H 1
5915 if test "x${HAVE_FT2BUILD_H}" '=' "x";then
5916 for ac_header
in freetype
/freetype.h
5918 ac_fn_c_check_header_mongrel
"$LINENO" "freetype/freetype.h" "ac_cv_header_freetype_freetype_h" "$ac_includes_default"
5919 if test "x$ac_cv_header_freetype_freetype_h" = xyes
; then :
5920 cat >>confdefs.h
<<_ACEOF
5921 #define HAVE_FREETYPE_FREETYPE_H 1
5923 HAVE_FREETYPE_FREETYPE_H
=1
5930 if test "x${HAVE_LIB_FREETYPE}" '!=' "x" -o \
5931 "x${FREETYPE_CONFIG}" '!=' "x";then
5932 if test "x${HAVE_FREETYPE_FREETYPE_H}" '!=' "x";then
5935 if test "x${HAVE_FT2BUILD_H}" '!=' "x";then
5940 if test "x${HAVE_FREETYPE}" = "x1"; then
5941 if test "x${FREETYPE_CONFIG}" '!=' "x"; then
5942 LIBS
="$LIBS "`$FREETYPE_CONFIG --libs`
5944 LIBS
="$LIBS -lfreetype"
5947 if test "x${HAVE_FT2BUILD_H}" = "x1"; then
5948 HAVE_FT2BUILD_H_DEFINE
='#define HAVE_FT2BUILD_H'
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can compile the freetype test program" >&5
5952 $as_echo_n "checking whether we can compile the freetype test program... " >&6; }
5954 cat > conftest.c
<< EOF
5955 $HAVE_FT2BUILD_H_DEFINE
5957 #ifdef HAVE_FT2BUILD_H
5958 #include <ft2build.h>
5959 #include FT_FREETYPE_H
5962 #include FT_SFNT_NAMES_H
5963 #include FT_TRUETYPE_IDS_H
5964 #include FT_OUTLINE_H
5966 #include <freetype/freetype.h>
5967 #include <freetype/ftglyph.h>
5968 #include <freetype/ftsizes.h>
5969 #include <freetype/ftsnames.h>
5970 #include <freetype/ttnameid.h>
5971 #include <freetype/ftoutln.h>
5976 FT_Library ftlibrary;
5988 FT_Init_FreeType(&ftlibrary);
5989 FT_New_Face(ftlibrary, "filename", 0, &face);
5990 i = face->num_glyphs - 1;
5991 italic = face->style_flags&FT_STYLE_FLAG_ITALIC;
5992 bold = face->style_flags&FT_STYLE_FLAG_BOLD;
5993 FT_Get_Postscript_Name(face);
5994 FT_Get_Char_Index(face, 33);
5995 FT_Get_First_Char(face, &i);
5996 FT_Get_Next_Char(face, 33, &i);
5997 if(FT_HAS_GLYPH_NAMES(face)) {
5998 FT_Get_Glyph_Name(face, 33, name, 127);
6000 FT_Load_Glyph(face, 33, FT_LOAD_NO_BITMAP|FT_LOAD_NO_SCALE);
6001 FT_Get_Glyph(face->glyph, &glyph);
6002 FT_Glyph_Get_CBox(glyph, ft_glyph_bbox_unscaled, &bbox);
6003 FT_Done_Glyph(glyph);
6005 FT_Done_FreeType(ftlibrary);
6010 ac_link
='$CC $CPPFLAGS $CFLAGS conftest.c $LDFLAGS $LIBS -o conftest${ac_exeext}'
6011 if { (eval echo freetype.
m4:71: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6013 $as_echo "yes" >&6; }
6015 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
6018 $as_echo "#define HAVE_FREETYPE_FREETYPE_H 1" >>confdefs.h
6021 $as_echo "#define USE_FREETYPE 1" >>confdefs.h
6024 echo "configure: failed program was:" >&5
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6028 $as_echo "no" >&6; }
6033 # if the above didn't work out, reset all changes to the compiler variables.
6034 if test "x${HAVE_FREETYPE}" '!=' "x1"; then
6035 CPPFLAGS
=$OLDCPPFLAGS
6041 OLDCPPFLAGS
="${CPPFLAGS}"
6044 if test -d /usr
/include
/fontconfig
; then
6045 CPPFLAGS
="$CPPFLAGS -I/usr/include/fontconfig"
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FcInit in -lfontconfig" >&5
6049 $as_echo_n "checking for FcInit in -lfontconfig... " >&6; }
6050 if ${ac_cv_lib_fontconfig_FcInit+:} false
; then :
6051 $as_echo_n "(cached) " >&6
6053 ac_check_lib_save_LIBS
=$LIBS
6054 LIBS
="-lfontconfig $LIBS"
6055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6056 /* end confdefs.h. */
6058 /* Override any GCC internal prototype to avoid an error.
6059 Use char because int might match the return type of a GCC
6060 builtin and then its argument prototype would still apply. */
6073 if ac_fn_c_try_link
"$LINENO"; then :
6074 ac_cv_lib_fontconfig_FcInit
=yes
6076 ac_cv_lib_fontconfig_FcInit
=no
6078 rm -f core conftest.err conftest.
$ac_objext \
6079 conftest
$ac_exeext conftest.
$ac_ext
6080 LIBS
=$ac_check_lib_save_LIBS
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fontconfig_FcInit" >&5
6083 $as_echo "$ac_cv_lib_fontconfig_FcInit" >&6; }
6084 if test "x$ac_cv_lib_fontconfig_FcInit" = xyes
; then :
6085 HAVE_LIB_FONTCONFIG
=1
6088 for ac_header
in fontconfig.h
6090 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig.h" "ac_cv_header_fontconfig_h" "$ac_includes_default"
6091 if test "x$ac_cv_header_fontconfig_h" = xyes
; then :
6092 cat >>confdefs.h
<<_ACEOF
6093 #define HAVE_FONTCONFIG_H 1
6101 if test "x${HAVE_LIB_FONTCONFIG}" != "x";then
6102 if test "x${HAVE_FONTCONFIG_H}" != "x";then
6107 if test "x${HAVE_FONTCONFIG}" = "x1"; then
6108 LIBS
="$LIBS -lfontconfig"
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can compile the fontconfig test program" >&5
6110 $as_echo_n "checking whether we can compile the fontconfig test program... " >&6; }
6112 if (echo $LIBS |
grep lfreetype
>/dev
/null
2>&1); then
6113 #move freetype library to the end of libraries, otherwise fontconfig
6115 LIBS
=`echo $LIBS | sed -e 's/-lfreetype//g' -e 's/$/ -lfreetype/'`
6118 cat > conftest.c
<< EOF
6120 #include <fontconfig.h>
6124 FcPattern *pattern, *match;
6127 char*s1="abc",*s2="ABC";
6130 pattern = FcPatternBuild(0, FC_FAMILY, FcTypeString, "", 0);
6131 FcPatternAddInteger(pattern, FC_SLANT, FC_SLANT_ITALIC);
6132 FcPatternAddInteger(pattern, FC_WEIGHT, FC_WEIGHT_BOLD);
6134 FcConfig*c = FcConfigCreate();
6135 FcConfigParseAndLoad(c, (FcChar8*)"", 1);
6136 FcConfigBuildFonts(c);
6137 FcConfigSetCurrent(c);
6139 FcFontSet * set = FcConfigGetFonts(c, FcSetSystem);
6140 FcFontSetDestroy(set);
6142 FcConfigSubstitute(0, pattern, FcMatchPattern);
6143 FcDefaultSubstitute(pattern);
6144 match = FcFontMatch(0, pattern, &result);
6145 FcPatternGetString(match, "family", 0, &v) == FcResultMatch;
6146 FcPatternGetBool(match, "family", 0, &v) == FcResultMatch;
6147 FcPatternPrint(pattern);
6148 FcPatternDestroy(pattern);
6149 FcPatternDestroy(match);
6155 ac_link
='$CC $CPPFLAGS $CFLAGS conftest.c $LDFLAGS $LIBS -o conftest${ac_exeext}'
6156 if { (eval echo freetype.
m4:71: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6158 $as_echo "yes" >&6; }
6160 $as_echo "#define HAVE_FONTCONFIG 1" >>confdefs.h
6163 echo "configure: failed program was:" >&5
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6167 $as_echo "no" >&6; }
6172 # if the above didn't work out, reset all changes to the compiler variables.
6173 if test "x${HAVE_FONTCONFIG}" "!=" "x1"; then
6174 CPPFLAGS
=$OLDCPPFLAGS
6180 OLDCPPFLAGS
="${CPPFLAGS}"
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fftwf_plan_dft_r2c_2d in -lfftw3f" >&5
6184 $as_echo_n "checking for fftwf_plan_dft_r2c_2d in -lfftw3f... " >&6; }
6185 if ${ac_cv_lib_fftw3f_fftwf_plan_dft_r2c_2d+:} false
; then :
6186 $as_echo_n "(cached) " >&6
6188 ac_check_lib_save_LIBS
=$LIBS
6189 LIBS
="-lfftw3f $LIBS"
6190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6191 /* end confdefs.h. */
6193 /* Override any GCC internal prototype to avoid an error.
6194 Use char because int might match the return type of a GCC
6195 builtin and then its argument prototype would still apply. */
6199 char fftwf_plan_dft_r2c_2d ();
6203 return fftwf_plan_dft_r2c_2d ();
6208 if ac_fn_c_try_link
"$LINENO"; then :
6209 ac_cv_lib_fftw3f_fftwf_plan_dft_r2c_2d
=yes
6211 ac_cv_lib_fftw3f_fftwf_plan_dft_r2c_2d
=no
6213 rm -f core conftest.err conftest.
$ac_objext \
6214 conftest
$ac_exeext conftest.
$ac_ext
6215 LIBS
=$ac_check_lib_save_LIBS
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fftw3f_fftwf_plan_dft_r2c_2d" >&5
6218 $as_echo "$ac_cv_lib_fftw3f_fftwf_plan_dft_r2c_2d" >&6; }
6219 if test "x$ac_cv_lib_fftw3f_fftwf_plan_dft_r2c_2d" = xyes
; then :
6223 for ac_header
in fftw3.h
6225 ac_fn_c_check_header_mongrel
"$LINENO" "fftw3.h" "ac_cv_header_fftw3_h" "$ac_includes_default"
6226 if test "x$ac_cv_header_fftw3_h" = xyes
; then :
6227 cat >>confdefs.h
<<_ACEOF
6228 #define HAVE_FFTW3_H 1
6236 if test "x${HAVE_LIBFFTW3}" != "x";then
6237 if test "x${HAVE_FFTW3_H}" != "x";then
6242 if test "x${HAVE_FFTW3}" = "x1"; then
6243 LIBS
="$LIBS -lfftw3f"
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can compile the fftw3 test program" >&5
6245 $as_echo_n "checking whether we can compile the fftw3 test program... " >&6; }
6247 cat > conftest.c
<< EOF
6252 char*data = fftw_malloc(sizeof(fftwf_complex)*600*800);
6253 fftwf_plan plan = fftwf_plan_dft_2d(600, 800, (fftwf_complex*)data, (fftwf_complex*)data, FFTW_FORWARD, FFTW_ESTIMATE);
6254 plan = fftwf_plan_dft_r2c_2d(600, 800, (float*)data, (fftwf_complex*)data, FFTW_ESTIMATE);
6255 plan = fftwf_plan_dft_c2r_2d(600, 800, (fftwf_complex*)data, (float*)data, FFTW_ESTIMATE);
6256 fftwf_execute(plan);
6257 fftwf_destroy_plan(plan);
6261 ac_link
='$CC $CPPFLAGS $CFLAGS conftest.c $LDFLAGS $LIBS -o conftest${ac_exeext}'
6262 if { (eval echo fftw3.
m4:71: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6264 $as_echo "yes" >&6; }
6266 $as_echo "#define HAVE_FFTW3 1" >>confdefs.h
6269 echo "configure: failed program was:" >&5
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6273 $as_echo "no" >&6; }
6278 # if the above didn't work out, reset all changes to the compiler variables.
6279 if test "x${HAVE_FFTW3}" "!=" "x1"; then
6280 CPPFLAGS
=$OLDCPPFLAGS
6286 # if test "$HAVE_OPENGL";then
6287 # DEVICE_OPENGL='devices/opengl.$(O)'
6288 # AC_SUBST(DEVICE_OPENGL)
6294 if test "x${DISABLE_LAME}" = "xtrue"; then
6295 echo "*" Disabling lame support...
6297 # old lame code at lib/lame
6298 if test -f lib
/lame
/Makefile.
in; then
6299 lame_in_source
='$(lame_objects)'
6300 lame_makefile
="lib/lame/Makefile"
6301 CPPFLAGS
="$CPPFLAGS -Ilame -Ilib/lame"
6303 $as_echo "#define HAVE_LAME 1" >>confdefs.h
6306 if test -d /usr
/include
/lame
; then
6307 CPPFLAGS
="$CPPFLAGS -I /usr/include/lame"
6309 if test -d /usr
/local
/include
/lame
; then
6310 CPPFLAGS
="$CPPFLAGS -I /usr/local/include/lame"
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lame_init in -lmp3lame" >&5
6314 $as_echo_n "checking for lame_init in -lmp3lame... " >&6; }
6315 if ${ac_cv_lib_mp3lame_lame_init+:} false
; then :
6316 $as_echo_n "(cached) " >&6
6318 ac_check_lib_save_LIBS
=$LIBS
6319 LIBS
="-lmp3lame $LIBS"
6320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6321 /* end confdefs.h. */
6323 /* Override any GCC internal prototype to avoid an error.
6324 Use char because int might match the return type of a GCC
6325 builtin and then its argument prototype would still apply. */
6333 return lame_init ();
6338 if ac_fn_c_try_link
"$LINENO"; then :
6339 ac_cv_lib_mp3lame_lame_init
=yes
6341 ac_cv_lib_mp3lame_lame_init
=no
6343 rm -f core conftest.err conftest.
$ac_objext \
6344 conftest
$ac_exeext conftest.
$ac_ext
6345 LIBS
=$ac_check_lib_save_LIBS
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mp3lame_lame_init" >&5
6348 $as_echo "$ac_cv_lib_mp3lame_lame_init" >&6; }
6349 if test "x$ac_cv_lib_mp3lame_lame_init" = xyes
; then :
6350 cat >>confdefs.h
<<_ACEOF
6351 #define HAVE_LIBMP3LAME 1
6354 LIBS
="-lmp3lame $LIBS"
6361 for ac_header
in lame.h
6363 ac_fn_c_check_header_mongrel
"$LINENO" "lame.h" "ac_cv_header_lame_h" "$ac_includes_default"
6364 if test "x$ac_cv_header_lame_h" = xyes
; then :
6365 cat >>confdefs.h
<<_ACEOF
6366 #define HAVE_LAME_H 1
6373 if test "x$NO_LIBMP3LAME" "!=" "x1" -a "x$HASLAMEHEADER" '!=' "x";then
6374 $as_echo "#define HAVE_LAME 1" >>confdefs.h
6385 if test "x$USE_POPPLER" = "xtrue"; then
6387 $as_echo "#define HAVE_POPPLER 1" >>confdefs.h
6389 #PKG_CHECK_MODULES([POPPLER],[poppler poppler-splash],,[poppler_pkgconfig=no])
6390 if test "x$poppler_pkgconfig" = "xno"; then
6392 ac_cpp
='$CXXCPP $CPPFLAGS'
6393 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6394 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6395 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6399 ac_cpp
='$CXXCPP $CPPFLAGS'
6400 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6401 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6402 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
6404 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
6405 if test -z "$CXXCPP"; then
6406 if ${ac_cv_prog_CXXCPP+:} false
; then :
6407 $as_echo_n "(cached) " >&6
6409 # Double quotes because CXXCPP needs to be expanded
6410 for CXXCPP
in "$CXX -E" "/lib/cpp"
6413 for ac_cxx_preproc_warn_flag
in '' yes
6415 # Use a header file that comes with gcc, so configuring glibc
6416 # with a fresh cross-compiler works.
6417 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6418 # <limits.h> exists even on freestanding compilers.
6419 # On the NeXT, cc -E runs the code through the compiler's parser,
6420 # not just through cpp. "Syntax error" is here to catch this case.
6421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6422 /* end confdefs.h. */
6424 # include <limits.h>
6426 # include <assert.h>
6430 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6433 # Broken: fails on valid input.
6436 rm -f conftest.err conftest.i conftest.
$ac_ext
6438 # OK, works on sane cases. Now check whether nonexistent headers
6439 # can be detected and how.
6440 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6441 /* end confdefs.h. */
6442 #include <ac_nonexistent.h>
6444 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6445 # Broken: success on invalid input.
6448 # Passes both tests.
6452 rm -f conftest.err conftest.i conftest.
$ac_ext
6455 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6456 rm -f conftest.i conftest.err conftest.
$ac_ext
6457 if $ac_preproc_ok; then :
6462 ac_cv_prog_CXXCPP
=$CXXCPP
6465 CXXCPP
=$ac_cv_prog_CXXCPP
6467 ac_cv_prog_CXXCPP
=$CXXCPP
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
6470 $as_echo "$CXXCPP" >&6; }
6472 for ac_cxx_preproc_warn_flag
in '' yes
6474 # Use a header file that comes with gcc, so configuring glibc
6475 # with a fresh cross-compiler works.
6476 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6477 # <limits.h> exists even on freestanding compilers.
6478 # On the NeXT, cc -E runs the code through the compiler's parser,
6479 # not just through cpp. "Syntax error" is here to catch this case.
6480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6481 /* end confdefs.h. */
6483 # include <limits.h>
6485 # include <assert.h>
6489 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6492 # Broken: fails on valid input.
6495 rm -f conftest.err conftest.i conftest.
$ac_ext
6497 # OK, works on sane cases. Now check whether nonexistent headers
6498 # can be detected and how.
6499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6500 /* end confdefs.h. */
6501 #include <ac_nonexistent.h>
6503 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6504 # Broken: success on invalid input.
6507 # Passes both tests.
6511 rm -f conftest.err conftest.i conftest.
$ac_ext
6514 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6515 rm -f conftest.i conftest.err conftest.
$ac_ext
6516 if $ac_preproc_ok; then :
6519 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6520 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6521 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
6522 See \`config.log' for more details" "$LINENO" 5; }
6526 ac_cpp
='$CXXCPP $CPPFLAGS'
6527 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6528 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6529 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6532 for ac_header
in OutputDev.h
6534 ac_fn_cxx_check_header_mongrel
"$LINENO" "OutputDev.h" "ac_cv_header_OutputDev_h" "$ac_includes_default"
6535 if test "x$ac_cv_header_OutputDev_h" = xyes
; then :
6536 cat >>confdefs.h
<<_ACEOF
6537 #define HAVE_OUTPUTDEV_H 1
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpoppler" >&5
6541 $as_echo_n "checking for main in -lpoppler... " >&6; }
6542 if ${ac_cv_lib_poppler_main+:} false
; then :
6543 $as_echo_n "(cached) " >&6
6545 ac_check_lib_save_LIBS
=$LIBS
6546 LIBS
="-lpoppler $LIBS"
6547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6548 /* end confdefs.h. */
6559 if ac_fn_cxx_try_link
"$LINENO"; then :
6560 ac_cv_lib_poppler_main
=yes
6562 ac_cv_lib_poppler_main
=no
6564 rm -f core conftest.err conftest.
$ac_objext \
6565 conftest
$ac_exeext conftest.
$ac_ext
6566 LIBS
=$ac_check_lib_save_LIBS
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poppler_main" >&5
6569 $as_echo "$ac_cv_lib_poppler_main" >&6; }
6570 if test "x$ac_cv_lib_poppler_main" = xyes
; then :
6571 cat >>confdefs.h
<<_ACEOF
6572 #define HAVE_LIBPOPPLER 1
6575 LIBS
="-lpoppler $LIBS"
6581 as_fn_error $?
"No poppler library found. This library is required." "$LINENO" 5
6587 ac_cpp
='$CPP $CPPFLAGS'
6588 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6589 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6590 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6593 CPPFLAGS
="$CPPFLAGS $POPPLER_CFLAGS"
6594 LIBS
="$LIBS $POPPLER_LIBS"
6595 $as_echo "#define HAVE_POPPLER 1" >>confdefs.h
6599 splash_in_source
='$(splash_objects)'
6600 xpdf_in_source
='$(xpdf_objects)'
6601 xpdf_include
=' -I xpdf '
6608 # ------------------------------------------------------------------
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the filesystem normalizes file names" >&5
6612 $as_echo_n "checking whether the filesystem normalizes file names... " >&6; }
6614 echo test1
> __abcdefghijklmnopqrstuvwxyz.txt
6615 echo test2
> __ABCDEFGHIJKLMNOPQRSTUVWXYZ.txt
6616 if test `cat __abcdefghijklmnopqrstuvwxyz.txt` = "test2";then
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6618 $as_echo "yes" >&6; }
6620 $as_echo "#define LOWERCASE_UPPERCASE 1" >>confdefs.h
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6624 $as_echo "no" >&6; }
6627 rm -f __abcdefghijklmnopqrstuvwxyz.txt
6628 rm -f __ABCDEFGHIJKLMNOPQRSTUVWXYZ.txt
6632 for ac_prog
in avifile-config
6634 # Extract the first word of "$ac_prog", so it can be a program name with args.
6635 set dummy
$ac_prog; ac_word
=$2
6636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6637 $as_echo_n "checking for $ac_word... " >&6; }
6638 if ${ac_cv_prog_AVIFILE_CONFIG+:} false
; then :
6639 $as_echo_n "(cached) " >&6
6641 if test -n "$AVIFILE_CONFIG"; then
6642 ac_cv_prog_AVIFILE_CONFIG
="$AVIFILE_CONFIG" # Let the user override the test.
6644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6648 test -z "$as_dir" && as_dir
=.
6649 for ac_exec_ext
in '' $ac_executable_extensions; do
6650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6651 ac_cv_prog_AVIFILE_CONFIG
="$ac_prog"
6652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6661 AVIFILE_CONFIG
=$ac_cv_prog_AVIFILE_CONFIG
6662 if test -n "$AVIFILE_CONFIG"; then
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AVIFILE_CONFIG" >&5
6664 $as_echo "$AVIFILE_CONFIG" >&6; }
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6667 $as_echo "no" >&6; }
6671 test -n "$AVIFILE_CONFIG" && break
6675 if test "x$AVIFILE_CONFIG" '!=' "x";then
6676 OLDCPPFLAGS
="$CPPFLAGS"
6677 # temporarily add avifile paths to CPPFLAGS...
6678 CPPFLAGS
="$CPPFLAGS $CXXFLAGS "`$AVIFILE_CONFIG --cflags`
6679 for ac_header
in avifile
/version.h version.h
6681 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6682 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6683 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6684 cat >>confdefs.h
<<_ACEOF
6685 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6693 CPPFLAGS
="$OLDCPPFLAGS"
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can compile the avifile test program" >&5
6697 $as_echo_n "checking whether we can compile the avifile test program... " >&6; }
6699 if test "x${ac_cv_header_version_h}" '=' "xyes";then
6700 HAVE_VERSION_H_DEFINE
='#define HAVE_VERSION_H'
6702 if test "x${ac_cv_header_avifile_version_h}" '=' "xyes";then
6703 HAVE_AVIFILE_VERSION_H_DEFINE
='#define HAVE_AVIFILE_VERSION_H'
6706 cat > conftest.cpp
<< EOF
6708 // hack- we can't yet access the variables in config.h (because it hasn't been generated yet),
6709 // so we have to introduce them this way
6710 $HAVE_VERSION_H_DEFINE
6711 $HAVE_AVIFILE_VERSION_H_DEFINE
6713 #ifdef HAVE_VERSION_H
6714 #include <version.h>
6716 #ifdef HAVE_AVIFILE_VERSION_H
6717 #include <avifile/version.h>
6720 #if (AVIFILE_MAJOR_VERSION == 0) && (AVIFILE_MINOR_VERSION>=6)
6721 #include <avifile.h>
6722 #include <aviplay.h>
6723 #include <avm_fourcc.h>
6724 #include <avm_creators.h>
6725 #include <StreamInfo.h>
6728 #include <avifile.h>
6729 #include <aviplay.h>
6730 #include <aviutil.h>
6732 #define Height height
6739 IAviReadFile* player;
6740 IAviReadStream* astream;
6741 IAviReadStream* vstream;
6742 player = CreateIAviReadFile(0);
6743 astream = player->GetStream(0, AviStream::Audio);
6744 vstream = player->GetStream(0, AviStream::Video);
6745 vstream -> StartStreaming();
6746 astream -> StartStreaming();
6749 player->GetFileHeader(&head);
6750 head.dwMicroSecPerFrame;
6755 head.dwMicroSecPerFrame;
6756 astream->GetEndPos(),
6757 astream->GetEndTime());
6758 player->StreamCount();
6760 StreamInfo*audioinfo;
6761 StreamInfo*videoinfo;
6762 audioinfo = astream->GetStreamInfo();
6763 videoinfo = vstream->GetStreamInfo();
6764 videoinfo->GetVideoWidth();
6765 videoinfo->GetVideoHeight();
6766 audioinfo->GetAudioSamplesPerSec();
6767 videoinfo->GetFps();
6769 CImage*img = vstream->GetFrame();
6776 astream->GetAudioFormatInfo(&wave,0);
6778 astream->ReadFrames(0,0,0,a,b);
6780 int main (int argc, char*argv)
6786 if test "x$AVIFILE_CONFIG" '!=' "x";then
6787 AVIFILE_LIBS
=`$AVIFILE_CONFIG --libs`
6788 AVIFILE_CFLAGS
=`$AVIFILE_CONFIG --cflags`
6789 avifile_link
='$CXX $CPPFLAGS $CXXFLAGS $AVIFILE_CFLAGS conftest.cpp $AVIFILE_LIBS -o conftest${ac_exeext}'
6790 if { (eval echo avi2swf.
m4:71: \"$avifile_link\") 1>&5; (eval $avifile_link) 2>&5; } && test -s conftest
${ac_exeext} && .
/conftest
${ac_exeext}; then
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6792 $as_echo "yes" >&6; }
6796 $as_echo "#define AVIFILE true" >>confdefs.h
6799 echo "configure: failed program was:" >&5
6800 cat conftest.cpp
>&5
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6802 $as_echo "no" >&6; }
6805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6806 $as_echo "no" >&6; }
6810 if test "x${AVIFILE}" = "xtrue"; then
6811 VIDEO_LIBS
="$VIDEO_LIBS $AVIFILE_LIBS"
6812 VIDEO_CFLAGS
="$VIDEO_CFLAGS $AVIFILE_CFLAGS"
6814 $as_echo "#define HAVE_AVIFILE 1" >>confdefs.h
6818 if test "x${WIN32}" != "x"; then
6819 #AC_CHECK_LIB(avifil32, AVIFileInit,AVIFIL32=true)
6820 #if test "x${AVIFIL32}" != "x"; then
6821 # VIDEO_LIBS="$VIDEO_LIBS -lavifil32"
6823 VIDEO_LIBS
="$VIDEO_LIBS -lavifil32"
6829 # ------------------------------------------------------------------
6831 if test "x${UNCOMPRESS}" = "xgzip"; then
6833 $as_echo "#define USE_GZIP 1" >>confdefs.h
6838 # ------------------------------------------------------------------
6841 # Extract the first word of "ruby", so it can be a program name with args.
6842 set dummy ruby
; ac_word
=$2
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6844 $as_echo_n "checking for $ac_word... " >&6; }
6845 if ${ac_cv_path_RUBY+:} false
; then :
6846 $as_echo_n "(cached) " >&6
6850 ac_cv_path_RUBY
="$RUBY" # Let the user override the test with a path.
6853 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6857 test -z "$as_dir" && as_dir
=.
6858 for ac_exec_ext
in '' $ac_executable_extensions; do
6859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6860 ac_cv_path_RUBY
="$as_dir/$ac_word$ac_exec_ext"
6861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6871 RUBY
=$ac_cv_path_RUBY
6872 if test -n "$RUBY"; then
6873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&5
6874 $as_echo "$RUBY" >&6; }
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6877 $as_echo "no" >&6; }
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ruby's include directory" >&5
6889 $as_echo_n "checking for ruby's include directory... " >&6; }
6890 if test "x$RUBY" '!=' "x";then
6891 rubyinc
=`$RUBY -e 'require "rbconfig";puts Config::expand(Config::CONFIG.send("\x5b\x5d", "archdir"))' 2>/dev/null`
6892 if test -d $rubyinc;then
6893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rubyinc" >&5
6894 $as_echo "$rubyinc" >&6; }
6896 # If we got a sensible archdir, we also ask ruby to supply us with CPPFLAGS
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ruby's cpp flags" >&5
6899 $as_echo_n "checking for ruby's cpp flags... " >&6; }
6900 rubycpp
=`$RUBY -e 'require "rbconfig";puts Config::expand(Config::CONFIG.send("\x5b\x5d", "CPPFLAGS"))' 2>/dev/null`
6901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rubycpp" >&5
6902 $as_echo "$rubycpp" >&6; }
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ruby's ld flags" >&5
6905 $as_echo_n "checking for ruby's ld flags... " >&6; }
6906 rubyld
=`$RUBY -e 'require "rbconfig";puts Config::expand(Config::CONFIG.send("\x5b\x5d", "LIBRUBYARG_SHARED"))' 2>/dev/null`
6907 rubyld2
=`$RUBY -e 'require "rbconfig";v=Config::expand(Config::CONFIG.send("\x5b\x5d", "LIBRUBY_LDSHARED"));puts v.gsub(/^g?cc/,"")' 2>/dev/null`
6908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$rubyld $rubyld2\"" >&5
6909 $as_echo "\"$rubyld $rubyld2\"" >&6; }
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ruby library name" >&5
6912 $as_echo_n "checking for ruby library name... " >&6; }
6913 rubylib
=`$RUBY -e 'require "rbconfig";puts Config::expand(Config::CONFIG.send("\x5b\x5d", "RUBY_SO_NAME"))' 2>/dev/null`
6914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rubylib" >&5
6915 $as_echo "$rubylib" >&6; }
6917 RUBY_CPPFLAGS
="$rubycpp -I$rubyinc $RUBY_CPPFLAGS"
6918 RUBY_LDFLAGS
="$rubyld $rubyld2 $RUBY_LDFLAGS"
6919 RUBY_INSTALLDIR
="$rubyinc"
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 'unknown'" >&5
6922 $as_echo "'unknown'" >&6; }
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 'unknown'" >&5
6926 $as_echo "'unknown'" >&6; }
6929 #OLDLDFLAGS="$LDFLAGS"
6930 #LDFLAGS="$LDFLAGS $RUBY_LDFLAGS"
6931 #AC_CHECK_LIB($rubylib, rb_define_method, HAVE_RUBY_LIB=1,)
6932 #LDFLAGS="$OLDLDFLAGS"
6934 OLDCPPFLAGS
="$CPPFLAGS"
6935 CPPFLAGS
="$CPPFLAGS $RUBY_CPPFLAGS"
6936 for ac_header
in ruby.h
6938 ac_fn_c_check_header_mongrel
"$LINENO" "ruby.h" "ac_cv_header_ruby_h" "$ac_includes_default"
6939 if test "x$ac_cv_header_ruby_h" = xyes
; then :
6940 cat >>confdefs.h
<<_ACEOF
6941 #define HAVE_RUBY_H 1
6948 CPPFLAGS
="$OLDCPPFLAGS"
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we should compile the ruby module" >&5
6951 $as_echo_n "checking whether we should compile the ruby module... " >&6; }
6952 if test "x${HAVE_RUBY_H}" '!=' "x";then
6953 #RUBY_LIBS="$RUBY_LIBS -l$rubylib"
6955 cat > conftest.c
<< EOF
6957 static VALUE foobar;
6958 VALUE foobar_set_foo(VALUE module, VALUE _key, VALUE _value)
6964 foobar = rb_define_module("foobar");
6965 rb_define_module_function(foobar, "set_foo", foobar_set_foo, 2);
6968 int main() {return 0;}
6970 ac_link
='$CC $SHARED $CPPFLAGS $RUBY_CPPFLAGS $CFLAGS conftest.c $LDFLAGS $RUBY_LDFLAGS $LIBS $RUBY_LIBS -o conftest${SLEXT}'
6971 if { (eval echo ruby.
m4: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${SLEXT}; then
6974 echo "configure: failed program was:" >&5
6980 if test "x${RUBY_OK}" '=' "xyes"; then
6981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6982 $as_echo "yes" >&6; }
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6989 $as_echo "no" >&6; }
6997 if test "x$RUBY_OK" '!=' "xyes";then
6998 if test -d "lib/ruby/";then
6999 echo all
install uninstall clean
: > lib
/ruby
/Makefile
7001 # fail silently- the most users won't have any need for the
7002 # ruby interface anyway
7004 if test -f "lib/ruby/Makefile.in";then
7005 rubygfx
="lib/ruby/Makefile"
7009 # ------------------------------------------------------------------
7011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for missing libraries" >&5
7012 $as_echo_n "checking for missing libraries... " >&6; }
7014 if test "x$ZLIBMISSING" = "xtrue";then
7015 MISSINGLIBS
="${MISSINGLIBS} zlib"
7019 if test "x$JPEGLIBMISSING" = "xtrue";then
7020 MISSINGLIBS
="${MISSINGLIBS} jpeglib"
7022 DISABLEJPEG2SWF
=true
7025 if test "x$PDFLIBMISSING" = "xtrue";then
7026 DISABLEPDF2PDF
=true
;
7028 #if test "x$T1LIBMISSING" = "xtrue";then
7029 # MISSINGLIBS="${MISSINGLIBS} t1lib"
7031 if test "x$UNGIFMISSING" = "xtrue";then
7033 MISSINGLIBS
="${MISSINGLIBS} ungif"
7037 if test "x${ac_cv_header_pdflib_h}" '!=' "xyes";then
7038 DISABLEPDF2PDF
=true
;
7040 if test "x${ac_cv_header_jpeglib_h}" '!=' "xyes"; then
7041 DISABLEPDF2SWF
=true
;
7042 DISABLEJPEG2SWF
=true
;
7043 MISSINGLIBS
="${MISSINGLIBS} jpeglib.h"
7046 if test "x$HAVE_FREETYPE" '!=' "x1"; then
7047 DISABLEPDF2SWF
=true
;
7048 MISSINGLIBS
="${MISSINGLIBS} freetype"
7051 #if test "x${ac_cv_header_t1lib_h}" '!=' "xyes"; then
7052 # MISSINGLIBS="${MISSINGLIBS} t1lib.h"
7054 if test "x${ac_cv_header_gif_lib_h}" '!=' "xyes"; then
7056 MISSINGLIBS
="${MISSINGLIBS} gif_lib.h"
7059 if test "x${ac_cv_header_zlib_h}" '!=' "xyes"; then
7060 DISABLEPNG2SWF
=true
;
7061 MISSINGLIBS
="${MISSINGLIBS} zlib.h"
7064 #if test "x${AVIFILE}" '!=' "xtrue" -a "x${AVIFIL32}" '!=' "xtrue"; then
7065 # MISSINGLIBS="${MISSINGLIBS} avifile"
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${MISSINGLIBS}" >&5
7069 $as_echo "${MISSINGLIBS}" >&6; }
7071 # ------------------------------------------------------------------
7074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python version" >&5
7075 $as_echo_n "checking for Python version... " >&6; }
7077 if test "x$PYTHON_LIB" '!=' "x" -a "x$PYTHON_INCLUDES" '!=' "x";then
7078 # you can override the python detection by putting PYTHON_LIB
7079 # and PYTHON_INCLUDES into the environment
7080 case "$PYTHON_INCLUDES" in
7081 *python2.4
*) PY_VERSION
=2.4
7083 *python2.5
*) PY_VERSION
=2.5
7085 *python2.6
*) PY_VERSION
=2.6
7087 *python2.7
*) PY_VERSION
=2.7
7089 *python3.0
*) PY_VERSION
=3.0
7091 *python3.1
*) PY_VERSION
=3.1
7093 *python3.2
*) PY_VERSION
=3.2
7095 *python3.3
*) PY_VERSION
=3.3
7097 *) PY_VERSION
=unknown
7101 if test "x$PYTHON_LIB" '!=' "x" -o "x$PYTHON_INCLUDES" '!=' "x";then
7102 echo "Set both PYTHON_LIB and PYTHON_INCLUDES, or none at all"
7104 # iterate through version 2.4 to 3.3
7105 VERSIONS
="2.4 2.5 2.6 2.7 3.0 3.1 3.2 3.3"
7107 2*) VERSIONS
="2.4 2.5 2.6 2.7 $PYTHON"
7109 3*) VERSIONS
="3.0 3.1 3.2 3.3 $PYTHON"
7112 for v
in $VERSIONS; do
7114 if test -f "/usr/include/python$v/Python.h";then
7116 PYTHON_LIB
="-lpython$PY_VERSION"
7117 if test -f "/usr/lib/python$v/site-packages/PIL/_imaging.so";then
7118 PYTHON_LIB2
="$PYTHON_LIB /usr/lib/python$v/site-packages/PIL/_imaging.so"
7119 HAVE_PYTHON_IMAGING_LIB
=1
7121 PYTHON_LIB2
="$PYTHON_LIB"
7123 PYTHON_INCLUDES
="-I/usr/include/python$PY_VERSION"
7125 elif test -f "/Library/Frameworks/Python.framework/Versions/$v/include/python$v/Python.h";then
7127 PYTHON_LIB
="-framework Python"
7128 if test -f "/Library/Frameworks/Python.framework/Versions/$v/site-packages/PIL/_imaging.so";then
7129 PYTHON_LIB2
="$PYTHON_LIB /Library/Python/$v/PIL/_imaging.so"
7130 HAVE_PYTHON_IMAGING_LIB
=1
7132 PYTHON_LIB2
="$PYTHON_LIB"
7134 PYTHON_INCLUDES
="-I/Library/Frameworks/Python.framework/Versions/$v/include/python$v/"
7136 elif test "(" -f "/sw/lib/python$v/config/libpython$v.dylib" \
7137 -o -f "/sw/lib/python$v/config/libpython$v.a" \
7138 -o -f "/sw/lib/python$v/config/libpython$v.so" \
7140 -a -f "/sw/include/python$v/Python.h"; then
7142 PYTHON_LIB
="-L /sw/lib/python$v/config/ -lpython$PY_VERSION /sw/lib/python$v/site-packages/PIL/_imaging.so"
7143 if test -f "/sw/lib/python$v/site-packages/PIL/_imaging.so";then
7144 PYTHON_LIB2
="$PYTHON_LIB /sw/lib/python$v/site-packages/PIL/_imaging.so"
7145 HAVE_PYTHON_IMAGING_LIB
=1
7147 PYTHON_LIB2
="$PYTHON_LIB"
7149 PYTHON_INCLUDES
="-I /sw/include/python$v/"
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PY_VERSION" >&5
7154 $as_echo "$PY_VERSION" >&6; }
7156 if test "x$PY_VERSION" "!=" "x"; then
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python executable" >&5
7158 $as_echo_n "checking for Python executable... " >&6; }
7159 if python
$PY_VERSION -V 2>&5;then
7160 PYTHON_EXECUTABLE
=python
$PY_VERSION
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_EXECUTABLE" >&5
7163 $as_echo "$PYTHON_EXECUTABLE" >&6; }
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7166 $as_echo "failed" >&6; }
7170 if test "x$PY_VERSION" "!=" "x" -a "x$PYTHON_EXECUTABLE" "!=" "x"; then
7171 export PYTHON_INCLUDES PYTHON_LIB
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can compile the Python test program" >&5
7175 $as_echo_n "checking whether we can compile the Python test program... " >&6; }
7177 cat > conftest.c
<< EOF
7178 # include <Python.h>
7183 ret = Py_Main(0, 0);
7184 int x; // check also for gcc 2.95.x incompatibilities
7189 ac_link
='$CC $CPPFLAGS $CFLAGS $PYTHON_INCLUDES conftest.c $LDFLAGS $PYTHON_LIB $LIBS -o conftest${ac_exeext}'
7190 if { (eval echo python.
m4: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7192 $as_echo "yes" >&6; }
7195 echo "configure: failed program was:" >&5
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7198 $as_echo "no" >&6; }
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python install path" >&5
7203 $as_echo_n "checking for Python install path... " >&6; }
7204 cat > _pypath.py
<< EOF
7206 import distutils.sysconfig
7208 sys.stdout.write(distutils.sysconfig.get_python_lib(plat_specific=0,standard_lib=0))
7210 echo $PYTHON_EXECUTABLE _pypath.py
1>&5
7211 if $PYTHON_EXECUTABLE _pypath.py
>_pypath.txt
2>&5;then
7212 PYTHON_INSTALL_PATH
=`cat _pypath.txt`
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_INSTALL_PATH" >&5
7215 $as_echo "$PYTHON_INSTALL_PATH" >&6; }
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7218 $as_echo "failed" >&6; }
7220 #rm -f _pypath.txt _pypath.py
7222 if test "x$PYTHON_OK" = "xyes";then
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python-Imaging" >&5
7224 $as_echo_n "checking for Python-Imaging... " >&6; }
7225 cat > conftest.c
<< EOF
7226 # include <Python.h>
7227 # include <Imaging.h>
7235 if test "$HAVE_PYTHON_IMAGING_LIB"; then
7236 ac_link
='$CC $CPPFLAGS $CFLAGS $PYTHON_INCLUDES conftest.c $LDFLAGS ${PYTHON_LIB2} $LIBS -o conftest${ac_exeext}'
7237 if { (eval echo python.
m4: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7238 PYTHON_LIB
="${PYTHON_LIB2}"
7240 $as_echo "#define HAVE_PYTHON_IMAGING 1" >>confdefs.h
7242 HAVE_PYTHON_IMAGING
=yes
7243 export HAVE_PYTHON_IMAGING
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7246 $as_echo "yes" >&6; }
7248 echo "configure: failed program was:" >&5
7250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7251 $as_echo "no" >&6; }
7254 echo "(didn't find the Python-Imaging libraries)" >&5
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7256 $as_echo "no" >&6; }
7263 if test "x$PYTHON_OK" '!=' "xyes" -o "$DISABLEPDF2SWF";then
7264 echo all
install uninstall clean
: > lib
/python
/Makefile
7265 # fail silently- the most users won't have any need for the
7266 # python interface anyway
7268 pythongfx
="lib/python/Makefile"
7271 # ------------------------------------------------------------------
7273 if test "x${MISSINGLIBS}" '!=' "x"; then
7274 echo "***************************************************"
7275 echo "* The following headers/libraries are missing: " ${MISSINGLIBS}
7278 avi2swf
="avi2swf/Makefile"
7279 if test "x${AVIFILE}" '!=' "xtrue" -a "x${AVIFIL32}" '!=' "xtrue"; then
7280 #don't whine, avi2swf is outdated anyway
7281 #echo "* Disabling avi2swf tool..."
7282 echo all
install uninstall clean
: > avi2swf
/Makefile
7286 pdf2swf_makefile
="lib/pdf/Makefile"
7287 PDF2SWF
='pdf2swf$(E)'
7290 if test "x${DISABLEPDF2SWF}" = "xtrue"; then
7291 echo "* Disabling pdf2swf tool..."
7292 rm -f lib
/pdf
/Makefile
7293 echo all
install uninstall clean libpdf libgfxpdf
: > lib
/pdf
/Makefile
7301 PDF2PDF
='pdf2pdf$(E)'
7302 DEVICE_PDF
='devices/pdf.$(O)'
7303 if test "x${DISABLEPDF2PDF}" = "xtrue"; then
7304 #echo "* Disabling pdf2pdf tool..."
7311 if test "x${ZLIBMISSING}" = "xtrue"; then
7313 echo "* Warning! Without zlib, you will not be able to read"
7314 echo "* or write compressed Flash MX files!"
7317 JPEG2SWF
='jpeg2swf$(E)'
7318 if test "x${DISABLEJPEG2SWF}" = "xtrue"; then
7319 echo "* Disabling jpeg2swf tool..."
7325 GIF2SWF
='gif2swf$(E)'
7326 if test "x${DISABLEGIF2SWF}" = "xtrue"; then
7327 echo "* Disabling gif2swf tool..."
7333 PNG2SWF
='png2swf$(E)'
7334 if test "x${DISABLEPNG2SWF}" = "xtrue"; then
7335 echo "* Disabling png2swf tool..."
7341 if test "x${MISSINGLIBS}" '!=' "x"; then
7342 if test "x${PARTIAL}" '=' "x"; then
7343 echo "* (never mind)"
7345 echo "***************************************************"
7348 # ------------------------------------------------------------------
7354 if test -f "release.in"; then release_in
="./release"; fi
7355 if test -f "Makefile.new.in"; then mk_in
="./Makefile.new"; fi
7356 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"
7357 ac_config_files
="$ac_config_files ${FILES}"
7359 cat >confcache
<<\_ACEOF
7360 # This file is a shell script that caches the results of configure
7361 # tests run on this system so they can be shared between configure
7362 # scripts and configure runs, see configure's option --config-cache.
7363 # It is not useful on other systems. If it contains results you don't
7364 # want to keep, you may remove or edit it.
7366 # config.status only pays attention to the cache file if you give it
7367 # the --recheck option to rerun configure.
7369 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7370 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7375 # The following way of writing the cache mishandles newlines in values,
7376 # but we know of no workaround that is simple, portable, and efficient.
7377 # So, we kill variables containing newlines.
7378 # Ultrix sh set writes to stderr and can't be redirected directly,
7379 # and sets the high bit in the cache file unless we assign to the vars.
7381 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7382 eval ac_val
=\$
$ac_var
7386 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7387 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7390 _ | IFS | as_nl
) ;; #(
7391 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
7392 *) { eval $ac_var=; unset $ac_var;} ;;
7398 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7399 *${as_nl}ac_space
=\
*)
7400 # `set' does not quote correctly, so add quotes: double-quote
7401 # substitution turns \\\\ into \\, and sed turns \\ into \.
7404 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7407 # `set' quotes correctly as required by POSIX, so do not add quotes.
7408 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7417 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7419 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7421 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
7422 if test -w "$cache_file"; then
7423 if test "x$cache_file" != "x/dev/null"; then
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7425 $as_echo "$as_me: updating cache $cache_file" >&6;}
7426 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
7427 cat confcache
>"$cache_file"
7429 case $cache_file in #(
7431 mv -f confcache
"$cache_file"$$
&&
7432 mv -f "$cache_file"$$
"$cache_file" ;; #(
7434 mv -f confcache
"$cache_file" ;;
7439 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7440 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7445 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7446 # Let make expand exec_prefix.
7447 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7449 DEFS
=-DHAVE_CONFIG_H
7454 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7455 # 1. Remove the extension, and $U if already installed.
7456 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
7457 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
7458 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7459 # will be set to the directory where LIBOBJS objects are built.
7460 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7461 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
7465 LTLIBOBJS
=$ac_ltlibobjs
7469 : "${CONFIG_STATUS=./config.status}"
7471 ac_clean_files_save
=$ac_clean_files
7472 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7474 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7476 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7478 # Generated by $as_me.
7479 # Run this file to recreate the current configuration.
7480 # Compiler output produced by configure, useful for debugging
7481 # configure, is in config.log if it exists.
7487 SHELL=\${CONFIG_SHELL-$SHELL}
7490 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
7491 ## -------------------- ##
7492 ## M4sh Initialization. ##
7493 ## -------------------- ##
7495 # Be more Bourne compatible
7496 DUALCASE
=1; export DUALCASE
# for MKS sh
7497 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
7500 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7501 # is contrary to our usage. Disable this feature.
7502 alias -g '${1+"$@"}'='"$@"'
7503 setopt NO_GLOB_SUBST
7505 case `(set -o) 2>/dev/null` in #(
7517 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7518 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7519 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7520 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7521 # Prefer a ksh shell builtin over an external printf program on Solaris,
7522 # but without wasting forks for bash or zsh.
7523 if test -z "$BASH_VERSION$ZSH_VERSION" \
7524 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7525 as_echo='print
-r --'
7526 as_echo_n='print
-rn --'
7527 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7528 as_echo='printf %s
\n'
7529 as_echo_n='printf %s
'
7531 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7532 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
7533 as_echo_n='/usr
/ucb
/echo -n'
7535 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7536 as_echo_n_body='eval
7540 expr "X$arg" : "X\\(.*\\)$as_nl";
7541 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7543 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
7545 export as_echo_n_body
7546 as_echo_n='sh
-c $as_echo_n_body as_echo
'
7549 as_echo='sh
-c $as_echo_body as_echo
'
7552 # The user is always right.
7553 if test "${PATH_SEPARATOR+set}" != set; then
7555 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7556 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7563 # We need space, tab and new line, in precisely that order. Quoting is
7564 # there to prevent editors from complaining about space-tab.
7565 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7566 # splitting by setting IFS to empty value.)
7569 # Find who we are. Look in the path if we contain no directory separator.
7572 *[\\/]* ) as_myself=$0 ;;
7573 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7577 test -z "$as_dir" && as_dir=.
7578 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7584 # We did not find ourselves, most probably we were run as `sh COMMAND'
7585 # in which case we are not to be found in the path.
7586 if test "x$as_myself" = x
; then
7589 if test ! -f "$as_myself"; then
7590 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7594 # Unset variables that we do not need and which cause bugs (e.g. in
7595 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7596 # suppresses any "Segmentation fault" message there. '((' could
7597 # trigger a bug in pdksh 5.2.14.
7598 for as_var
in BASH_ENV ENV MAIL MAILPATH
7599 do eval test x\
${$as_var+set} = xset \
7600 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
7613 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
7616 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7617 # ----------------------------------------
7618 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7619 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7620 # script with STATUS, using 1 if that was 0.
7623 as_status
=$1; test $as_status -eq 0 && as_status
=1
7625 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
7626 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7628 $as_echo "$as_me: error: $2" >&2
7629 as_fn_exit
$as_status
7633 # as_fn_set_status STATUS
7634 # -----------------------
7635 # Set $? to STATUS, without forking.
7639 } # as_fn_set_status
7643 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7653 # Portably unset VAR.
7656 { eval $1=; unset $1;}
7658 as_unset
=as_fn_unset
7659 # as_fn_append VAR VALUE
7660 # ----------------------
7661 # Append the text in VALUE to the end of the definition contained in VAR. Take
7662 # advantage of any shell optimizations that allow amortized linear growth over
7663 # repeated appends, instead of the typical quadratic growth present in naive
7665 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
7666 eval 'as_fn_append ()
7677 # as_fn_arith ARG...
7678 # ------------------
7679 # Perform arithmetic evaluation on the ARGs, and store the result in the
7680 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7681 # must be portable across $(()) and expr.
7682 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
7683 eval 'as_fn_arith ()
7690 as_val
=`expr "$@" || test $? -eq 1`
7695 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7696 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7702 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7703 as_basename
=basename
7708 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7714 as_me
=`$as_basename -- "$0" ||
7715 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7716 X"$0" : 'X\(//\)$' \| \
7717 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7719 sed '/^.*\/\([^/][^/]*\)\/*$/{
7733 # Avoid depending upon Character Ranges.
7734 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7735 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7736 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7737 as_cr_digits
='0123456789'
7738 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7740 ECHO_C
= ECHO_N
= ECHO_T
=
7741 case `echo -n x` in #(((((
7743 case `echo 'xy\c'` in
7744 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7746 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
7753 rm -f conf$$ conf$$.exe conf$$.
file
7754 if test -d conf$$.dir
; then
7755 rm -f conf$$.dir
/conf$$.
file
7758 mkdir conf$$.dir
2>/dev
/null
7760 if (echo >conf$$.
file) 2>/dev
/null
; then
7761 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7763 # ... but there are two gotchas:
7764 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7765 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7766 # In both cases, we have to default to `cp -p'.
7767 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
7769 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7777 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
7778 rmdir conf$$.dir
2>/dev
/null
7783 # Create "$as_dir" as a directory, including parents if necessary.
7788 -*) as_dir
=.
/$as_dir;;
7790 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
7794 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7795 *) as_qdir
=$as_dir;;
7797 as_dirs
="'$as_qdir' $as_dirs"
7798 as_dir
=`$as_dirname -- "$as_dir" ||
7799 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7800 X"$as_dir" : 'X\(//\)[^/]' \| \
7801 X"$as_dir" : 'X\(//\)$' \| \
7802 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7803 $as_echo X"$as_dir" |
7804 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7821 test -d "$as_dir" && break
7823 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7824 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
7828 if mkdir
-p .
2>/dev
/null
; then
7829 as_mkdir_p
='mkdir -p "$as_dir"'
7831 test -d .
/-p && rmdir .
/-p
7835 if test -x / >/dev
/null
2>&1; then
7838 if ls -dL / >/dev
/null
2>&1; then
7845 if test -d "$1"; then
7851 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
7852 ???[sx]*):;;*)false;;esac;fi
7856 as_executable_p
=$as_test_x
7858 # Sed expression to map a string onto a valid CPP name.
7859 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7861 # Sed expression to map a string onto a valid variable name.
7862 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7866 ## ----------------------------------- ##
7867 ## Main body of $CONFIG_STATUS script. ##
7868 ## ----------------------------------- ##
7870 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
7872 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7873 # Save the log message, to keep $0 and so on meaningful, and to
7874 # report actual input values of CONFIG_FILES etc. instead of their
7875 # values after options handling.
7877 This file was extended by $as_me, which was
7878 generated by GNU Autoconf 2.68. Invocation command line was
7880 CONFIG_FILES = $CONFIG_FILES
7881 CONFIG_HEADERS = $CONFIG_HEADERS
7882 CONFIG_LINKS = $CONFIG_LINKS
7883 CONFIG_COMMANDS = $CONFIG_COMMANDS
7886 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7891 case $ac_config_files in *"
7892 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
7895 case $ac_config_headers in *"
7896 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
7900 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7901 # Files that config.status was made for.
7902 config_files="$ac_config_files"
7903 config_headers="$ac_config_headers"
7907 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7909 \`$as_me' instantiates files and other configuration actions
7910 from templates according to the current configuration. Unless the files
7911 and actions are specified as TAGs, all are instantiated by default.
7913 Usage: $0 [OPTION]... [TAG]...
7915 -h, --help print this help, then exit
7916 -V, --version print version number and configuration settings, then exit
7917 --config print configuration, then exit
7918 -q, --quiet, --silent
7919 do not print progress messages
7920 -d, --debug don't remove temporary files
7921 --recheck update $as_me by reconfiguring in the same conditions
7922 --file=FILE[:TEMPLATE]
7923 instantiate the configuration file FILE
7924 --header=FILE[:TEMPLATE]
7925 instantiate the configuration header FILE
7927 Configuration files:
7930 Configuration headers:
7933 Report bugs to the package provider."
7936 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7937 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7940 configured by $0, generated by GNU Autoconf 2.68,
7941 with options \\"\$ac_cs_config\\"
7943 Copyright (C) 2010 Free Software Foundation, Inc.
7944 This config.status script is free software; the Free Software Foundation
7945 gives unlimited permission to copy, distribute and modify it."
7950 test -n "\$AWK" || AWK=awk
7953 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7954 # The default lists apply if the user does not specify any file.
7960 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7961 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
7965 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7977 # Handling of the options.
7978 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7980 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
7981 $as_echo "$ac_cs_version"; exit ;;
7982 --config |
--confi |
--conf |
--con |
--co |
--c )
7983 $as_echo "$ac_cs_config"; exit ;;
7984 --debug |
--debu |
--deb |
--de |
--d |
-d )
7986 --file |
--fil |
--fi |
--f )
7989 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7990 '') as_fn_error $?
"missing file argument" ;;
7992 as_fn_append CONFIG_FILES
" '$ac_optarg'"
7993 ac_need_defaults
=false
;;
7994 --header |
--heade |
--head |
--hea )
7997 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7999 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
8000 ac_need_defaults
=false
;;
8002 # Conflict between --help and --header
8003 as_fn_error $?
"ambiguous option: \`$1'
8004 Try \`$0 --help' for more information.";;
8005 --help |
--hel |
-h )
8006 $as_echo "$ac_cs_usage"; exit ;;
8007 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
8008 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
8012 -*) as_fn_error $?
"unrecognized option: \`$1'
8013 Try \`$0 --help' for more information." ;;
8015 *) as_fn_append ac_config_targets
" $1"
8016 ac_need_defaults
=false
;;
8022 ac_configure_extra_args
=
8024 if $ac_cs_silent; then
8026 ac_configure_extra_args
="$ac_configure_extra_args --silent"
8030 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8031 if \$ac_cs_recheck; then
8032 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8034 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8035 CONFIG_SHELL='$SHELL'
8041 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8045 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8046 ## Running $as_me. ##
8052 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8055 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8057 # Handling of arguments.
8058 for ac_config_target
in $ac_config_targets
8060 case $ac_config_target in
8061 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
8062 "${FILES}") CONFIG_FILES
="$CONFIG_FILES ${FILES}" ;;
8064 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8069 # If the user did not use the arguments to specify the items to instantiate,
8070 # then the envvar interface is used. Set only those that are not.
8071 # We use the long form for the default assignment because of an extremely
8072 # bizarre bug on SunOS 4.1.3.
8073 if $ac_need_defaults; then
8074 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8075 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
8078 # Have a temporary directory for convenience. Make it in the build tree
8079 # simply because there is no reason against having it here, and in addition,
8080 # creating and moving files from /tmp can sometimes cause problems.
8081 # Hook for its removal unless debugging.
8082 # Note that there is a small window in which the directory will not be cleaned:
8083 # after its creation but before its name has been assigned to `$tmp'.
8087 trap 'exit_status=$?
8089 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
8091 trap 'as_fn_exit 1' 1 2 13 15
8093 # Create a (secure) tmp directory for tmp files.
8096 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8100 tmp
=.
/conf$$
-$RANDOM
8101 (umask 077 && mkdir
"$tmp")
8102 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
8105 # Set up the scripts for CONFIG_FILES section.
8106 # No need to generate them if there are no CONFIG_FILES.
8107 # This happens for instance with `./config.status config.h'.
8108 if test -n "$CONFIG_FILES"; then
8111 ac_cr
=`echo X | tr X '\015'`
8112 # On cygwin, bash can eat \r inside `` if the user requested igncr.
8113 # But we know of no other shell where ac_cr would be empty at this
8114 # point, so we can use a bashism as a fallback.
8115 if test "x$ac_cr" = x
; then
8116 eval ac_cr
=\$
\'\\r
\'
8118 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8119 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8125 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
8130 echo "cat >conf$$subs.awk <<_ACEOF" &&
8131 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8134 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
8135 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
8137 for ac_last_try in false false false false false :; do
8138 . ./conf$$subs.sh ||
8139 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
8141 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
8142 if test $ac_delim_n = $ac_delim_num; then
8144 elif $ac_last_try; then
8145 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
8147 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8152 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8153 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
8157 s/^/S["/; s
/!.
*/"]=/
8167 s/\(.\{148\}\)..*/\1/
8169 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
8174 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8181 s/\(.\{148\}\)..*/\1/
8183 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
8187 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8192 ' <conf$$subs.awk | sed '
8197 ' >>$CONFIG_STATUS || ac_write_fail=1
8198 rm -f conf$$subs.awk
8199 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8201 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
8202 for (key in S) S_is_set[key] = 1
8208 nfields = split(line, field, "@
")
8210 len = length(field[1])
8211 for (i = 2; i < nfields; i++) {
8213 keylen = length(key)
8214 if (S_is_set[key]) {
8216 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8217 len += length(value) + length(field[++i])
8228 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8229 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8230 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
8233 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
8234 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
8237 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8238 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
8239 # trailing colons and then remove the whole line if VPATH becomes empty
8240 # (actually we leave an empty line to preserve line numbers).
8241 if test "x
$srcdir" = x.; then
8242 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
8260 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8261 fi # test -n "$CONFIG_FILES"
8263 # Set up the scripts for CONFIG_HEADERS section.
8264 # No need to generate them if there are no CONFIG_HEADERS.
8265 # This happens for instance with `./config.status Makefile'.
8266 if test -n "$CONFIG_HEADERS"; then
8267 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
8271 # Transform confdefs.h into an awk script `defines.awk', embedded as
8272 # here-document in config.status, that substitutes the proper values into
8273 # config.h.in to produce config.h.
8275 # Create a delimiter string that does not exist in confdefs.h, to ease
8276 # handling of long lines.
8278 for ac_last_try in false false :; do
8279 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
8280 if test -z "$ac_tt"; then
8282 elif $ac_last_try; then
8283 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
8285 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8289 # For the awk script, D is an array of macro values keyed by name,
8290 # likewise P contains macro parameters if any. Preserve backslash
8291 # newline sequences.
8293 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8295 s/.\{148\}/&'"$ac_delim"'/g
8298 s/^[ ]*#[ ]*define[ ][ ]*/ /
8305 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
8307 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
8311 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
8312 D["\
1"]=" \
3\\\\\\n
"\\/p
8314 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
8319 s/.\{148\}/&'"$ac_delim"'/g
8324 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
8327 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
8329 ' <confdefs.h | sed '
8330 s/'"$ac_delim"'/"\\\
8331 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8333 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8334 for (key in D) D_is_set[key] = 1
8337 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8339 split(line, arg, " ")
8340 if (arg[1] == "#") {
8344 defundef
= substr
(arg
[1], 2)
8347 split(mac1
, mac2
, "(") #)
8349 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
8350 if (D_is_set
[macro
]) {
8351 # Preserve the white space surrounding the "#".
8352 print prefix
"define", macro P
[macro
] D
[macro
]
8355 # Replace #undef with comments. This is necessary, for example,
8356 # in the case of _POSIX_SOURCE, which is predefined and required
8357 # on some systems where configure will not decide to define it.
8358 if (defundef
== "undef") {
8359 print
"/*", prefix defundef
, macro
, "*/"
8367 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8368 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
8369 fi # test -n "$CONFIG_HEADERS"
8372 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS "
8377 :[FHLC
]) ac_mode
=$ac_tag; continue;;
8379 case $ac_mode$ac_tag in
8381 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
8382 :[FH
]-) ac_tag
=-:-;;
8383 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
8400 -) ac_f
="$ac_tmp/stdin";;
8401 *) # Look for the file first in the build tree, then in the source tree
8402 # (if the path is not absolute). The absolute path cannot be DOS-style,
8403 # because $ac_f cannot contain `:'.
8407 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
8409 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8411 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8412 as_fn_append ac_file_inputs
" '$ac_f'"
8415 # Let's still pretend it is `configure' which instantiates (i.e., don't
8416 # use $as_me), people would be surprised to read:
8417 # /* config.h. Generated by config.status. */
8418 configure_input
='Generated from '`
8419 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8421 if test x
"$ac_file" != x-
; then
8422 configure_input
="$ac_file. $configure_input"
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8424 $as_echo "$as_me: creating $ac_file" >&6;}
8426 # Neutralize special characters interpreted by sed in replacement strings.
8427 case $configure_input in #(
8428 *\
&* |
*\|
* |
*\\* )
8429 ac_sed_conf_input
=`$as_echo "$configure_input" |
8430 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8431 *) ac_sed_conf_input
=$configure_input;;
8435 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
8436 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
8441 ac_dir
=`$as_dirname -- "$ac_file" ||
8442 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8443 X"$ac_file" : 'X\(//\)[^/]' \| \
8444 X"$ac_file" : 'X\(//\)$' \| \
8445 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8446 $as_echo X"$ac_file" |
8447 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8464 as_dir
="$ac_dir"; as_fn_mkdir_p
8468 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8470 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8471 # A ".." for each directory in $ac_dir_suffix.
8472 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8473 case $ac_top_builddir_sub in
8474 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8475 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
8478 ac_abs_top_builddir
=$ac_pwd
8479 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
8480 # for backward compatibility:
8481 ac_top_builddir
=$ac_top_build_prefix
8484 .
) # We are building in place.
8486 ac_top_srcdir
=$ac_top_builddir_sub
8487 ac_abs_top_srcdir
=$ac_pwd ;;
8488 [\\/]* | ?
:[\\/]* ) # Absolute name.
8489 ac_srcdir
=$srcdir$ac_dir_suffix;
8490 ac_top_srcdir
=$srcdir
8491 ac_abs_top_srcdir
=$srcdir ;;
8493 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
8494 ac_top_srcdir
=$ac_top_build_prefix$srcdir
8495 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
8497 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
8507 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8508 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
8512 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8513 # If the template does not know about datarootdir, expand it.
8514 # FIXME: This hack should be removed a few years after 2.60.
8515 ac_datarootdir_hack
=; ac_datarootdir_seen
=
8526 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8527 *datarootdir
*) ac_datarootdir_seen
=yes;;
8528 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8530 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8532 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8533 ac_datarootdir_hack='
8534 s&@datadir@&$datadir&g
8535 s&@docdir@&$docdir&g
8536 s&@infodir@&$infodir&g
8537 s&@localedir@&$localedir&g
8538 s&@mandir@&$mandir&g
8539 s&\\\${datarootdir}&$datarootdir&g' ;;
8543 # Neutralize VPATH when `$srcdir' = `.'.
8544 # Shell code in configure.ac might set extrasub.
8545 # FIXME: do we really want to maintain this feature?
8546 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8547 ac_sed_extra="$ac_vpsub
8550 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8552 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8553 s|@configure_input@|
$ac_sed_conf_input|
;t t
8554 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
8555 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
8556 s
&@srcdir@
&$ac_srcdir&;t t
8557 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
8558 s
&@top_srcdir@
&$ac_top_srcdir&;t t
8559 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
8560 s
&@builddir@
&$ac_builddir&;t t
8561 s
&@abs_builddir@
&$ac_abs_builddir&;t t
8562 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
8563 s
&@INSTALL@
&$ac_INSTALL&;t t
8564 $ac_datarootdir_hack
8566 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
8567 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
8569 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8570 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
8571 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
8572 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
8573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
8574 which seems to be undefined. Please make sure it is defined" >&5
8575 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
8576 which seems to be undefined. Please make sure it is defined" >&2;}
8578 rm -f "$ac_tmp/stdin"
8580 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8581 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8583 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8589 if test x"$ac_file" != x-; then
8591 $as_echo "/* $configure_input */" \
8592 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
8593 } >"$ac_tmp/config.h" \
8594 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8595 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
8596 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8597 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8600 mv "$ac_tmp/config.h" "$ac_file" \
8601 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8604 $as_echo "/* $configure_input */" \
8605 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
8606 || as_fn_error $? "could not create -" "$LINENO" 5
8618 ac_clean_files=$ac_clean_files_save
8620 test $ac_write_fail = 0 ||
8621 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
8624 # configure is writing to config.log, and then calls config.status.
8625 # config.status does its own redirection, appending to config.log.
8626 # Unfortunately, on DOS this fails, as config.log is still kept open
8627 # by configure, so config.status won't be able to
write to it
; its
8628 # output is simply discarded. So we exec the FD to /dev/null,
8629 # effectively closing config.log, so it can be properly (re)opened and
8630 # appended to by config.status. When coming back to configure, we
8631 # need to make the FD available again.
8632 if test "$no_create" != yes; then
8634 ac_config_status_args
=
8635 test "$silent" = yes &&
8636 ac_config_status_args
="$ac_config_status_args --quiet"
8638 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8640 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8641 # would make configure fail if this is the last instruction.
8642 $ac_cs_success || as_fn_exit
1
8644 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
8645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8646 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
8652 # On development trees, create snapshots of config.status
8654 if test -f snapshot
-a "x$CHECKMEM" = "x" -a "x$PROFILING" = "x";then
8655 if test "x${MINGW}" = "xyes"; then
8656 echo cp config.status config.status.win32
8657 cp config.status config.status.win32
8659 if test "x$DEBUG" '=' "x" -a "x$OPTIMIZE" '=' "x";then
8660 echo cp config.status config.status.linux
8661 cp config.status config.status.linux
8663 if test "x$DEBUG" '!=' "x" -a "x$OPTIMIZE" '=' "x";then
8664 echo cp config.status config.status.debug
8665 cp config.status config.status.debug
8667 if test "x$DEBUG" = "x" -a "x$OPTIMIZE" '!=' "x"; then
8668 echo cp config.status config.status.optimize
8669 cp config.status config.status.optimize