2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for libpng (TeX Live) 1.6.21.
5 # Report bugs to <tex-k@tug.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
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 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev
/null
; then :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
219 for as_base
in sh bash ksh sh5
; do
220 # Try only shells that exist, to save several forks.
221 as_shell
=$as_dir/$as_base
222 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
235 CONFIG_SHELL
=$SHELL as_have_required
=yes
240 if test "x$CONFIG_SHELL" != x
; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x
${ZSH_VERSION+set} = xset
; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and tex-k@tug.org
270 $0: about your system, including any error possibly output
271 $0: before this message. Then install a modern shell, or
272 $0: manually run the script under such a shell if you do
279 SHELL
=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE
= GREP_OPTIONS
=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir
=.
/$as_dir;;
324 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs
="'$as_qdir' $as_dirs"
332 as_dir
=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
358 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p
()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
401 as_val
=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status
=$1; test $as_status -eq 0 && as_status
=1
415 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit
$as_status
422 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
429 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
441 as_me
=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits
='0123456789'
465 as_cr_alnum
=$as_cr_Letters$as_cr_digits
468 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
469 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x
"$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec
=no
; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C
= ECHO_N
= ECHO_T
=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
516 rm -f conf$$ conf$$.exe conf$$.
file
517 if test -d conf$$.dir
; then
518 rm -f conf$$.dir
/conf$$.
file
521 mkdir conf$$.dir
2>/dev
/null
523 if (echo >conf$$.
file) 2>/dev
/null
; then
524 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
532 elif ln conf$$.
file conf$$
2>/dev
/null
; then
540 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
541 rmdir conf$$.dir
2>/dev
/null
543 if mkdir
-p .
2>/dev
/null
; then
544 as_mkdir_p
='mkdir -p "$as_dir"'
546 test -d .
/-p && rmdir .
/-p
551 as_executable_p
=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix
=/usr
/local
573 ac_config_libobj_dir
=.
580 # Identity of this package.
581 PACKAGE_NAME
='libpng (TeX Live)'
582 PACKAGE_TARNAME
='libpng--tex-live-'
583 PACKAGE_VERSION
='1.6.21'
584 PACKAGE_STRING
='libpng (TeX Live) 1.6.21'
585 PACKAGE_BUGREPORT
='tex-k@tug.org'
588 ac_unique_file
="libpng-src/pngget.c"
589 # Factoring default headers for most tests.
590 ac_includes_default
="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
625 ac_subst_vars
='am__EXEEXT_FALSE
663 MAINTAINER_MODE_FALSE
677 INSTALL_STRIP_PROGRAM
719 program_transform_name
732 enable_option_checking
734 enable_maintainer_mode
735 enable_dependency_tracking
736 enable_compiler_warnings
741 ac_precious_vars
='build_alias
752 # Initialize some variables set by options.
754 ac_init_version
=false
755 ac_unrecognized_opts
=
757 # The variables have the same names as the options, with
758 # dashes changed to underlines.
766 program_transform_name
=s
,x
,x
,
774 # Installation directory options.
775 # These are left unexpanded so users can "make install exec_prefix=/foo"
776 # and all the variables that are supposed to be based on exec_prefix
777 # by default will actually change.
778 # Use braces instead of parens because sh, perl, etc. also accept them.
779 # (The list follows the same order as the GNU Coding Standards.)
780 bindir
='${exec_prefix}/bin'
781 sbindir
='${exec_prefix}/sbin'
782 libexecdir
='${exec_prefix}/libexec'
783 datarootdir
='${prefix}/share'
784 datadir
='${datarootdir}'
785 sysconfdir
='${prefix}/etc'
786 sharedstatedir
='${prefix}/com'
787 localstatedir
='${prefix}/var'
788 includedir
='${prefix}/include'
789 oldincludedir
='/usr/include'
790 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
791 infodir
='${datarootdir}/info'
796 libdir
='${exec_prefix}/lib'
797 localedir
='${datarootdir}/locale'
798 mandir
='${datarootdir}/man'
804 # If the previous option needs an argument, assign it.
805 if test -n "$ac_prev"; then
806 eval $ac_prev=\
$ac_option
812 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
817 # Accept the important Cygnus configure options, so we can diagnose typos.
819 case $ac_dashdash$ac_option in
823 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
825 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
828 -build |
--build |
--buil |
--bui |
--bu)
829 ac_prev
=build_alias
;;
830 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
831 build_alias
=$ac_optarg ;;
833 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
834 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
835 ac_prev
=cache_file
;;
836 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
837 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
838 cache_file
=$ac_optarg ;;
841 cache_file
=config.cache
;;
843 -datadir |
--datadir |
--datadi |
--datad)
845 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
846 datadir
=$ac_optarg ;;
848 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
849 |
--dataroo |
--dataro |
--datar)
850 ac_prev
=datarootdir
;;
851 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
852 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
853 datarootdir
=$ac_optarg ;;
855 -disable-* |
--disable-*)
856 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
857 # Reject names that are not valid shell variable names.
858 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
859 as_fn_error $?
"invalid feature name: $ac_useropt"
860 ac_useropt_orig
=$ac_useropt
861 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
862 case $ac_user_opts in
866 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
867 ac_unrecognized_sep
=', ';;
869 eval enable_
$ac_useropt=no
;;
871 -docdir |
--docdir |
--docdi |
--doc |
--do)
873 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
876 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
878 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
881 -enable-* |
--enable-*)
882 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
883 # Reject names that are not valid shell variable names.
884 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
885 as_fn_error $?
"invalid feature name: $ac_useropt"
886 ac_useropt_orig
=$ac_useropt
887 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
888 case $ac_user_opts in
892 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
893 ac_unrecognized_sep
=', ';;
895 eval enable_
$ac_useropt=\
$ac_optarg ;;
897 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
898 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
899 |
--exec |
--exe |
--ex)
900 ac_prev
=exec_prefix
;;
901 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
902 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
903 |
--exec=* |
--exe=* |
--ex=*)
904 exec_prefix
=$ac_optarg ;;
906 -gas |
--gas |
--ga |
--g)
907 # Obsolete; use --with-gas.
910 -help |
--help |
--hel |
--he |
-h)
912 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
913 ac_init_help
=recursive
;;
914 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
915 ac_init_help
=short
;;
917 -host |
--host |
--hos |
--ho)
918 ac_prev
=host_alias
;;
919 -host=* |
--host=* |
--hos=* |
--ho=*)
920 host_alias
=$ac_optarg ;;
922 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
924 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
926 htmldir
=$ac_optarg ;;
928 -includedir |
--includedir |
--includedi |
--included |
--include \
929 |
--includ |
--inclu |
--incl |
--inc)
930 ac_prev
=includedir
;;
931 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
932 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
933 includedir
=$ac_optarg ;;
935 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
937 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
938 infodir
=$ac_optarg ;;
940 -libdir |
--libdir |
--libdi |
--libd)
942 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
945 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
946 |
--libexe |
--libex |
--libe)
947 ac_prev
=libexecdir
;;
948 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
949 |
--libexe=* |
--libex=* |
--libe=*)
950 libexecdir
=$ac_optarg ;;
952 -localedir |
--localedir |
--localedi |
--localed |
--locale)
954 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
955 localedir
=$ac_optarg ;;
957 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
958 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
959 ac_prev
=localstatedir
;;
960 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
961 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
962 localstatedir
=$ac_optarg ;;
964 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
966 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
970 # Obsolete; use --without-fp.
973 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
974 |
--no-cr |
--no-c |
-n)
977 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
978 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
981 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
982 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
983 |
--oldin |
--oldi |
--old |
--ol |
--o)
984 ac_prev
=oldincludedir
;;
985 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
986 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
987 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
988 oldincludedir
=$ac_optarg ;;
990 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
992 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
995 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
996 |
--program-pre |
--program-pr |
--program-p)
997 ac_prev
=program_prefix
;;
998 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
999 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1000 program_prefix
=$ac_optarg ;;
1002 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1003 |
--program-suf |
--program-su |
--program-s)
1004 ac_prev
=program_suffix
;;
1005 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1006 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1007 program_suffix
=$ac_optarg ;;
1009 -program-transform-name |
--program-transform-name \
1010 |
--program-transform-nam |
--program-transform-na \
1011 |
--program-transform-n |
--program-transform- \
1012 |
--program-transform |
--program-transfor \
1013 |
--program-transfo |
--program-transf \
1014 |
--program-trans |
--program-tran \
1015 |
--progr-tra |
--program-tr |
--program-t)
1016 ac_prev
=program_transform_name
;;
1017 -program-transform-name=* |
--program-transform-name=* \
1018 |
--program-transform-nam=* |
--program-transform-na=* \
1019 |
--program-transform-n=* |
--program-transform-=* \
1020 |
--program-transform=* |
--program-transfor=* \
1021 |
--program-transfo=* |
--program-transf=* \
1022 |
--program-trans=* |
--program-tran=* \
1023 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1024 program_transform_name
=$ac_optarg ;;
1026 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1028 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1029 pdfdir
=$ac_optarg ;;
1031 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1033 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1036 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1037 |
-silent |
--silent |
--silen |
--sile |
--sil)
1040 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1042 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1044 sbindir
=$ac_optarg ;;
1046 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1047 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1048 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1050 ac_prev
=sharedstatedir
;;
1051 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1052 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1053 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1055 sharedstatedir
=$ac_optarg ;;
1057 -site |
--site |
--sit)
1059 -site=* |
--site=* |
--sit=*)
1062 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1064 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1065 srcdir
=$ac_optarg ;;
1067 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1068 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1069 ac_prev
=sysconfdir
;;
1070 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1071 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1072 sysconfdir
=$ac_optarg ;;
1074 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1075 ac_prev
=target_alias
;;
1076 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1077 target_alias
=$ac_optarg ;;
1079 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1082 -version |
--version |
--versio |
--versi |
--vers |
-V)
1083 ac_init_version
=: ;;
1086 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1087 # Reject names that are not valid shell variable names.
1088 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1089 as_fn_error $?
"invalid package name: $ac_useropt"
1090 ac_useropt_orig
=$ac_useropt
1091 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1092 case $ac_user_opts in
1096 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1097 ac_unrecognized_sep
=', ';;
1099 eval with_
$ac_useropt=\
$ac_optarg ;;
1101 -without-* |
--without-*)
1102 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1103 # Reject names that are not valid shell variable names.
1104 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1105 as_fn_error $?
"invalid package name: $ac_useropt"
1106 ac_useropt_orig
=$ac_useropt
1107 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1108 case $ac_user_opts in
1112 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1113 ac_unrecognized_sep
=', ';;
1115 eval with_
$ac_useropt=no
;;
1118 # Obsolete; use --with-x.
1121 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1122 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1123 ac_prev
=x_includes
;;
1124 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1125 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1126 x_includes
=$ac_optarg ;;
1128 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1129 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1130 ac_prev
=x_libraries
;;
1131 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1132 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1133 x_libraries
=$ac_optarg ;;
1135 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1136 Try \`$0 --help' for more information"
1140 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1141 # Reject names that are not valid shell variable names.
1142 case $ac_envvar in #(
1143 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1144 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1146 eval $ac_envvar=\
$ac_optarg
1147 export $ac_envvar ;;
1150 # FIXME: should be removed in autoconf 3.0.
1151 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1152 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1153 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1154 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1160 if test -n "$ac_prev"; then
1161 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1162 as_fn_error $?
"missing argument to $ac_option"
1165 if test -n "$ac_unrecognized_opts"; then
1166 case $enable_option_checking in
1168 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1169 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1173 # Check all directory arguments for consistency.
1174 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1175 datadir sysconfdir sharedstatedir localstatedir includedir \
1176 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1177 libdir localedir mandir
1179 eval ac_val
=\$
$ac_var
1180 # Remove trailing slashes.
1183 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1184 eval $ac_var=\
$ac_val;;
1186 # Be sure to have absolute directory names.
1188 [\\/$
]* | ?
:[\\/]* ) continue;;
1189 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1191 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1194 # There might be people who depend on the old broken behavior: `$host'
1195 # used to hold the argument of --host etc.
1196 # FIXME: To remove some day.
1199 target
=$target_alias
1201 # FIXME: To remove some day.
1202 if test "x$host_alias" != x
; then
1203 if test "x$build_alias" = x
; then
1204 cross_compiling
=maybe
1205 elif test "x$build_alias" != "x$host_alias"; then
1211 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1213 test "$silent" = yes && exec 6>/dev
/null
1216 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1217 ac_ls_di
=`ls -di .` &&
1218 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1219 as_fn_error $?
"working directory cannot be determined"
1220 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1221 as_fn_error $?
"pwd does not report name of working directory"
1224 # Find the source files, if location was not specified.
1225 if test -z "$srcdir"; then
1226 ac_srcdir_defaulted
=yes
1227 # Try the directory containing this script, then the parent directory.
1228 ac_confdir
=`$as_dirname -- "$as_myself" ||
1229 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1230 X"$as_myself" : 'X\(//\)[^/]' \| \
1231 X"$as_myself" : 'X\(//\)$' \| \
1232 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1233 $as_echo X"$as_myself" |
1234 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1252 if test ! -r "$srcdir/$ac_unique_file"; then
1256 ac_srcdir_defaulted
=no
1258 if test ! -r "$srcdir/$ac_unique_file"; then
1259 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1260 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1262 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1264 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1266 # When building in place, set srcdir=.
1267 if test "$ac_abs_confdir" = "$ac_pwd"; then
1270 # Remove unnecessary trailing slashes from srcdir.
1271 # Double slashes in file names in object file debugging info
1272 # mess up M-x gdb in Emacs.
1274 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1276 for ac_var
in $ac_precious_vars; do
1277 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1278 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1279 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1280 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1284 # Report the --help message.
1286 if test "$ac_init_help" = "long"; then
1287 # Omit some internal or obsolete options to make the list less imposing.
1288 # This message is too long to be a string in the A/UX 3.1 sh.
1290 \`configure' configures libpng (TeX Live) 1.6.21 to adapt to many kinds of systems.
1292 Usage: $0 [OPTION]... [VAR=VALUE]...
1294 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1295 VAR=VALUE. See below for descriptions of some of the useful variables.
1297 Defaults for the options are specified in brackets.
1300 -h, --help display this help and exit
1301 --help=short display options specific to this package
1302 --help=recursive display the short help of all the included packages
1303 -V, --version display version information and exit
1304 -q, --quiet, --silent do not print \`checking ...' messages
1305 --cache-file=FILE cache test results in FILE [disabled]
1306 -C, --config-cache alias for \`--cache-file=config.cache'
1307 -n, --no-create do not create output files
1308 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1310 Installation directories:
1311 --prefix=PREFIX install architecture-independent files in PREFIX
1312 [$ac_default_prefix]
1313 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1316 By default, \`make install' will install all the files in
1317 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1318 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1319 for instance \`--prefix=\$HOME'.
1321 For better control, use the options below.
1323 Fine tuning of the installation directories:
1324 --bindir=DIR user executables [EPREFIX/bin]
1325 --sbindir=DIR system admin executables [EPREFIX/sbin]
1326 --libexecdir=DIR program executables [EPREFIX/libexec]
1327 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1328 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1329 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1330 --libdir=DIR object code libraries [EPREFIX/lib]
1331 --includedir=DIR C header files [PREFIX/include]
1332 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1333 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1334 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1335 --infodir=DIR info documentation [DATAROOTDIR/info]
1336 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1337 --mandir=DIR man documentation [DATAROOTDIR/man]
1338 --docdir=DIR documentation root
1339 [DATAROOTDIR/doc/libpng--tex-live-]
1340 --htmldir=DIR html documentation [DOCDIR]
1341 --dvidir=DIR dvi documentation [DOCDIR]
1342 --pdfdir=DIR pdf documentation [DOCDIR]
1343 --psdir=DIR ps documentation [DOCDIR]
1349 --program-prefix=PREFIX prepend PREFIX to installed program names
1350 --program-suffix=SUFFIX append SUFFIX to installed program names
1351 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1355 if test -n "$ac_init_help"; then
1356 case $ac_init_help in
1357 short | recursive
) echo "Configuration of libpng (TeX Live) 1.6.21:";;
1362 --disable-option-checking ignore unrecognized
--enable/--with options
1363 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1364 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1365 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1366 --disable-silent-rules verbose build output
(undo
: "make V=0")
1367 --enable-maintainer-mode
1368 enable make rules and dependencies not useful
(and
1369 sometimes confusing
) to the casual installer
1370 --enable-dependency-tracking
1371 do not reject slow dependency extractors
1372 --disable-dependency-tracking
1373 speeds up one-time build
1374 --enable-compiler-warnings=[no|min|
yes|max|all
]
1375 Turn on compiler warnings
[default
: yes if
1376 maintainer-mode
, min otherwise
]
1379 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1380 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1381 --with-system-zlib use installed zlib headers and library
1382 --with-zlib-includes=DIR
1383 zlib headers installed
in DIR
1384 --with-zlib-libdir=DIR zlib library installed
in DIR
1386 Some influential environment variables
:
1387 CC C compiler
command
1388 CFLAGS C compiler flags
1389 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1390 nonstandard directory
<lib dir
>
1391 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1392 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1393 you have headers
in a nonstandard directory
<include dir
>
1396 Use these variables to override the choices made by
`configure' or to help
1397 it to find libraries and programs with nonstandard names/locations.
1399 Report bugs to <tex-k@tug.org>.
1404 if test "$ac_init_help" = "recursive"; then
1405 # If there are subdirs, report their specific --help.
1406 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1407 test -d "$ac_dir" ||
1408 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1413 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1415 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1416 # A ".." for each directory in $ac_dir_suffix.
1417 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1418 case $ac_top_builddir_sub in
1419 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1420 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1423 ac_abs_top_builddir=$ac_pwd
1424 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1425 # for backward compatibility:
1426 ac_top_builddir=$ac_top_build_prefix
1429 .) # We are building in place.
1431 ac_top_srcdir=$ac_top_builddir_sub
1432 ac_abs_top_srcdir=$ac_pwd ;;
1433 [\\/]* | ?:[\\/]* ) # Absolute name.
1434 ac_srcdir=$srcdir$ac_dir_suffix;
1435 ac_top_srcdir=$srcdir
1436 ac_abs_top_srcdir=$srcdir ;;
1438 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1439 ac_top_srcdir=$ac_top_build_prefix$srcdir
1440 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1442 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1444 cd "$ac_dir" || { ac_status=$?; continue; }
1445 # Check for guested configure.
1446 if test -f "$ac_srcdir/configure.gnu"; then
1448 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1449 elif test -f "$ac_srcdir/configure"; then
1451 $SHELL "$ac_srcdir/configure" --help=recursive
1453 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1455 cd "$ac_pwd" || { ac_status=$?; break; }
1459 test -n "$ac_init_help" && exit $ac_status
1460 if $ac_init_version; then
1462 libpng (TeX Live) configure 1.6.21
1463 generated by GNU Autoconf 2.69
1465 Copyright (C) 2012 Free Software Foundation, Inc.
1466 This configure script is free software; the Free Software Foundation
1467 gives unlimited permission to copy, distribute and modify it.
1472 ## ------------------------ ##
1473 ## Autoconf initialization. ##
1474 ## ------------------------ ##
1476 # ac_fn_c_try_compile LINENO
1477 # --------------------------
1478 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1479 ac_fn_c_try_compile ()
1481 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1482 rm -f conftest.$ac_objext
1483 if { { ac_try="$ac_compile"
1485 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1486 *) ac_try_echo
=$ac_try;;
1488 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1489 $as_echo "$ac_try_echo"; } >&5
1490 (eval "$ac_compile") 2>conftest.err
1492 if test -s conftest.err
; then
1493 grep -v '^ *+' conftest.err
>conftest.er1
1494 cat conftest.er1
>&5
1495 mv -f conftest.er1 conftest.err
1497 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1498 test $ac_status = 0; } && {
1499 test -z "$ac_c_werror_flag" ||
1500 test ! -s conftest.err
1501 } && test -s conftest.
$ac_objext; then :
1504 $as_echo "$as_me: failed program was:" >&5
1505 sed 's/^/| /' conftest.
$ac_ext >&5
1509 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1510 as_fn_set_status
$ac_retval
1512 } # ac_fn_c_try_compile
1514 # ac_fn_c_try_link LINENO
1515 # -----------------------
1516 # Try to link conftest.$ac_ext, and return whether this succeeded.
1519 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1520 rm -f conftest.
$ac_objext conftest
$ac_exeext
1521 if { { ac_try
="$ac_link"
1523 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1524 *) ac_try_echo=$ac_try;;
1526 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1527 $as_echo "$ac_try_echo"; } >&5
1528 (eval "$ac_link") 2>conftest.err
1530 if test -s conftest.err; then
1531 grep -v '^ *+' conftest.err >conftest.er1
1532 cat conftest.er1 >&5
1533 mv -f conftest.er1 conftest.err
1535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1536 test $ac_status = 0; } && {
1537 test -z "$ac_c_werror_flag" ||
1538 test ! -s conftest.err
1539 } && test -s conftest$ac_exeext && {
1540 test "$cross_compiling" = yes ||
1541 test -x conftest$ac_exeext
1545 $as_echo "$as_me: failed program was:" >&5
1546 sed 's/^/| /' conftest.$ac_ext >&5
1550 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1551 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1552 # interfere with the next link command; also delete a directory that is
1553 # left behind by Apple's compiler. We do this before executing the actions.
1554 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1555 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1556 as_fn_set_status $ac_retval
1558 } # ac_fn_c_try_link
1560 # ac_fn_c_try_cpp LINENO
1561 # ----------------------
1562 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1565 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1566 if { { ac_try="$ac_cpp conftest.$ac_ext"
1568 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1569 *) ac_try_echo
=$ac_try;;
1571 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1572 $as_echo "$ac_try_echo"; } >&5
1573 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1575 if test -s conftest.err
; then
1576 grep -v '^ *+' conftest.err
>conftest.er1
1577 cat conftest.er1
>&5
1578 mv -f conftest.er1 conftest.err
1580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1581 test $ac_status = 0; } > conftest.i
&& {
1582 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1583 test ! -s conftest.err
1587 $as_echo "$as_me: failed program was:" >&5
1588 sed 's/^/| /' conftest.
$ac_ext >&5
1592 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1593 as_fn_set_status
$ac_retval
1597 # ac_fn_c_try_run LINENO
1598 # ----------------------
1599 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1600 # that executables *can* be run.
1603 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1604 if { { ac_try
="$ac_link"
1606 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1607 *) ac_try_echo=$ac_try;;
1609 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1610 $as_echo "$ac_try_echo"; } >&5
1611 (eval "$ac_link") 2>&5
1613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1614 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1615 { { case "(($ac_try" in
1616 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1617 *) ac_try_echo
=$ac_try;;
1619 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1620 $as_echo "$ac_try_echo"; } >&5
1621 (eval "$ac_try") 2>&5
1623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1624 test $ac_status = 0; }; }; then :
1627 $as_echo "$as_me: program exited with status $ac_status" >&5
1628 $as_echo "$as_me: failed program was:" >&5
1629 sed 's/^/| /' conftest.
$ac_ext >&5
1631 ac_retval
=$ac_status
1633 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1634 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1635 as_fn_set_status
$ac_retval
1639 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1640 # -------------------------------------------------------
1641 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1642 # the include files in INCLUDES and setting the cache variable VAR
1644 ac_fn_c_check_header_mongrel
()
1646 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1647 if eval \
${$3+:} false
; then :
1648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1649 $as_echo_n "checking for $2... " >&6; }
1650 if eval \
${$3+:} false
; then :
1651 $as_echo_n "(cached) " >&6
1654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1655 $as_echo "$ac_res" >&6; }
1657 # Is the header compilable?
1658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1659 $as_echo_n "checking $2 usability... " >&6; }
1660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1661 /* end confdefs.h. */
1665 if ac_fn_c_try_compile
"$LINENO"; then :
1666 ac_header_compiler
=yes
1668 ac_header_compiler
=no
1670 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1672 $as_echo "$ac_header_compiler" >&6; }
1674 # Is the header present?
1675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1676 $as_echo_n "checking $2 presence... " >&6; }
1677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1678 /* end confdefs.h. */
1681 if ac_fn_c_try_cpp
"$LINENO"; then :
1682 ac_header_preproc
=yes
1684 ac_header_preproc
=no
1686 rm -f conftest.err conftest.i conftest.
$ac_ext
1687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1688 $as_echo "$ac_header_preproc" >&6; }
1690 # So? What about this header?
1691 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1694 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1696 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1700 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1702 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1704 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1706 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1708 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1709 ( $as_echo "## ---------------------------- ##
1710 ## Report this to tex-k@tug.org ##
1711 ## ---------------------------- ##"
1712 ) |
sed "s/^/$as_me: WARNING: /" >&2
1715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1716 $as_echo_n "checking for $2... " >&6; }
1717 if eval \
${$3+:} false
; then :
1718 $as_echo_n "(cached) " >&6
1720 eval "$3=\$ac_header_compiler"
1723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1724 $as_echo "$ac_res" >&6; }
1726 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1728 } # ac_fn_c_check_header_mongrel
1730 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1731 # -------------------------------------------------------
1732 # Tests whether HEADER exists and can be compiled using the include files in
1733 # INCLUDES, setting the cache variable VAR accordingly.
1734 ac_fn_c_check_header_compile
()
1736 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1738 $as_echo_n "checking for $2... " >&6; }
1739 if eval \
${$3+:} false
; then :
1740 $as_echo_n "(cached) " >&6
1742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1743 /* end confdefs.h. */
1747 if ac_fn_c_try_compile
"$LINENO"; then :
1752 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1756 $as_echo "$ac_res" >&6; }
1757 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1759 } # ac_fn_c_check_header_compile
1761 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1762 # -------------------------------------------
1763 # Tests whether TYPE exists after having included INCLUDES, setting cache
1764 # variable VAR accordingly.
1765 ac_fn_c_check_type
()
1767 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1769 $as_echo_n "checking for $2... " >&6; }
1770 if eval \
${$3+:} false
; then :
1771 $as_echo_n "(cached) " >&6
1774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1775 /* end confdefs.h. */
1786 if ac_fn_c_try_compile
"$LINENO"; then :
1787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1788 /* end confdefs.h. */
1799 if ac_fn_c_try_compile
"$LINENO"; then :
1804 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1806 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1810 $as_echo "$ac_res" >&6; }
1811 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1813 } # ac_fn_c_check_type
1815 # ac_fn_c_check_func LINENO FUNC VAR
1816 # ----------------------------------
1817 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1818 ac_fn_c_check_func
()
1820 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1822 $as_echo_n "checking for $2... " >&6; }
1823 if eval \
${$3+:} false
; then :
1824 $as_echo_n "(cached) " >&6
1826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1827 /* end confdefs.h. */
1828 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1829 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1830 #define $2 innocuous_$2
1832 /* System header to define __stub macros and hopefully few prototypes,
1833 which can conflict with char $2 (); below.
1834 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1835 <limits.h> exists even on freestanding compilers. */
1838 # include <limits.h>
1840 # include <assert.h>
1845 /* Override any GCC internal prototype to avoid an error.
1846 Use char because int might match the return type of a GCC
1847 builtin and then its argument prototype would still apply. */
1852 /* The GNU C library defines this for functions which it implements
1853 to always fail with ENOSYS. Some functions are actually named
1854 something starting with __ and the normal name is an alias. */
1855 #if defined __stub_$2 || defined __stub___$2
1867 if ac_fn_c_try_link
"$LINENO"; then :
1872 rm -f core conftest.err conftest.
$ac_objext \
1873 conftest
$ac_exeext conftest.
$ac_ext
1876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1877 $as_echo "$ac_res" >&6; }
1878 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1880 } # ac_fn_c_check_func
1881 cat >config.log
<<_ACEOF
1882 This file contains any messages produced by compilers while
1883 running configure, to aid debugging if configure makes a mistake.
1885 It was created by libpng (TeX Live) $as_me 1.6.21, which was
1886 generated by GNU Autoconf 2.69. Invocation command line was
1898 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1899 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1900 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1901 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1902 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1904 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1905 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1907 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1908 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1909 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1910 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1911 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1912 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1913 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1917 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1921 test -z "$as_dir" && as_dir
=.
1922 $as_echo "PATH: $as_dir"
1938 # Keep a trace of the command line.
1939 # Strip out --no-create and --no-recursion so they do not pile up.
1940 # Strip out --silent because we don't want to record it for future runs.
1941 # Also quote any args containing shell meta-characters.
1942 # Make two passes to allow for proper duplicate-argument suppression.
1946 ac_must_keep_next
=false
1952 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1953 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1954 |
-silent |
--silent |
--silen |
--sile |
--sil)
1957 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1960 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1962 as_fn_append ac_configure_args1
" '$ac_arg'"
1963 if test $ac_must_keep_next = true
; then
1964 ac_must_keep_next
=false
# Got value, back to normal.
1967 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1968 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1969 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1970 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1971 case "$ac_configure_args0 " in
1972 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1975 -* ) ac_must_keep_next
=true
;;
1978 as_fn_append ac_configure_args
" '$ac_arg'"
1983 { ac_configure_args0
=; unset ac_configure_args0
;}
1984 { ac_configure_args1
=; unset ac_configure_args1
;}
1986 # When interrupted or exit'd, cleanup temporary files, and complete
1987 # config.log. We remove comments because anyway the quotes in there
1988 # would cause problems or look ugly.
1989 # WARNING: Use '\'' to represent an apostrophe within the trap.
1990 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1991 trap 'exit_status=$?
1992 # Save into config.log some information that might help in debugging.
1996 $as_echo "## ---------------- ##
1997 ## Cache variables. ##
1998 ## ---------------- ##"
2000 # The following way of writing the cache mishandles newlines in values,
2002 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2003 eval ac_val=\$$ac_var
2007 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2008 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2011 _ | IFS | as_nl) ;; #(
2012 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2013 *) { eval $ac_var=; unset $ac_var;} ;;
2018 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2019 *${as_nl}ac_space=\ *)
2021 "s/'\''/'\''\\\\'\'''\''/g;
2022 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2025 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2032 $as_echo "## ----------------- ##
2033 ## Output variables. ##
2034 ## ----------------- ##"
2036 for ac_var in $ac_subst_vars
2038 eval ac_val=\$$ac_var
2040 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2042 $as_echo "$ac_var='\''$ac_val'\''"
2046 if test -n "$ac_subst_files"; then
2047 $as_echo "## ------------------- ##
2048 ## File substitutions. ##
2049 ## ------------------- ##"
2051 for ac_var
in $ac_subst_files
2053 eval ac_val
=\$
$ac_var
2055 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2057 $as_echo "$ac_var='\''$ac_val'\''"
2062 if test -s confdefs.h; then
2063 $as_echo "## ----------- ##
2070 test "$ac_signal" != 0 &&
2071 $as_echo "$as_me: caught signal $ac_signal"
2072 $as_echo "$as_me: exit $exit_status"
2074 rm -f core *.core core.conftest.* &&
2075 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2078 for ac_signal
in 1 2 13 15; do
2079 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2083 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2084 rm -f -r conftest
* confdefs.h
2086 $as_echo "/* confdefs.h */" > confdefs.h
2088 # Predefined preprocessor variables.
2090 cat >>confdefs.h
<<_ACEOF
2091 #define PACKAGE_NAME "$PACKAGE_NAME"
2094 cat >>confdefs.h
<<_ACEOF
2095 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2098 cat >>confdefs.h
<<_ACEOF
2099 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2102 cat >>confdefs.h
<<_ACEOF
2103 #define PACKAGE_STRING "$PACKAGE_STRING"
2106 cat >>confdefs.h
<<_ACEOF
2107 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2110 cat >>confdefs.h
<<_ACEOF
2111 #define PACKAGE_URL "$PACKAGE_URL"
2115 # Let the site file select an alternate cache file if it wants to.
2116 # Prefer an explicitly selected file to automatically selected ones.
2119 if test -n "$CONFIG_SITE"; then
2120 # We do not want a PATH search for config.site.
2121 case $CONFIG_SITE in #((
2122 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2123 */*) ac_site_file1
=$CONFIG_SITE;;
2124 *) ac_site_file1
=.
/$CONFIG_SITE;;
2126 elif test "x$prefix" != xNONE
; then
2127 ac_site_file1
=$prefix/share
/config.site
2128 ac_site_file2
=$prefix/etc
/config.site
2130 ac_site_file1
=$ac_default_prefix/share
/config.site
2131 ac_site_file2
=$ac_default_prefix/etc
/config.site
2133 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2135 test "x$ac_site_file" = xNONE
&& continue
2136 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2138 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2139 sed 's/^/| /' "$ac_site_file" >&5
2141 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2142 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2143 as_fn_error $?
"failed to load site script $ac_site_file
2144 See \`config.log' for more details" "$LINENO" 5; }
2148 if test -r "$cache_file"; then
2149 # Some versions of bash will fail to source /dev/null (special files
2150 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2151 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2153 $as_echo "$as_me: loading cache $cache_file" >&6;}
2155 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2156 *) .
"./$cache_file";;
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2161 $as_echo "$as_me: creating cache $cache_file" >&6;}
2165 # Check that the precious variables saved in the cache have kept the same
2167 ac_cache_corrupted
=false
2168 for ac_var
in $ac_precious_vars; do
2169 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2170 eval ac_new_set
=\
$ac_env_${ac_var}_set
2171 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2172 eval ac_new_val
=\
$ac_env_${ac_var}_value
2173 case $ac_old_set,$ac_new_set in
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2176 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2177 ac_cache_corrupted
=: ;;
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2180 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2181 ac_cache_corrupted
=: ;;
2184 if test "x$ac_old_val" != "x$ac_new_val"; then
2185 # differences in whitespace do not lead to failure.
2186 ac_old_val_w
=`echo x $ac_old_val`
2187 ac_new_val_w
=`echo x $ac_new_val`
2188 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2190 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2191 ac_cache_corrupted
=:
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2194 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2195 eval $ac_var=\
$ac_old_val
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2198 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2200 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2203 # Pass precious variables to config.status.
2204 if test "$ac_new_set" = set; then
2206 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2207 *) ac_arg
=$ac_var=$ac_new_val ;;
2209 case " $ac_configure_args " in
2210 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2211 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2215 if $ac_cache_corrupted; then
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2217 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2219 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2220 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2222 ## -------------------- ##
2223 ## Main body of script. ##
2224 ## -------------------- ##
2227 ac_cpp
='$CPP $CPPFLAGS'
2228 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2229 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2230 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2236 for ac_dir
in ..
/..
/build-aux
"$srcdir"/..
/..
/build-aux
; do
2237 if test -f "$ac_dir/install-sh"; then
2239 ac_install_sh
="$ac_aux_dir/install-sh -c"
2241 elif test -f "$ac_dir/install.sh"; then
2243 ac_install_sh
="$ac_aux_dir/install.sh -c"
2245 elif test -f "$ac_dir/shtool"; then
2247 ac_install_sh
="$ac_aux_dir/shtool install -c"
2251 if test -z "$ac_aux_dir"; then
2252 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in ../../build-aux \"$srcdir\"/../../build-aux" "$LINENO" 5
2255 # These three variables are undocumented and unsupported,
2256 # and are intended to be withdrawn in a future Autoconf release.
2257 # They can cause serious problems if a builder's source tree is in a directory
2258 # whose full name contains unusual characters.
2259 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2260 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2261 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2266 am__api_version
='1.15'
2268 # Find a good install program. We prefer a C program (faster),
2269 # so one script is as good as another. But avoid the broken or
2270 # incompatible versions:
2271 # SysV /etc/install, /usr/sbin/install
2272 # SunOS /usr/etc/install
2273 # IRIX /sbin/install
2275 # AmigaOS /C/install, which installs bootblocks on floppy discs
2276 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2277 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2278 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2279 # OS/2's system install, which has a completely different semantic
2280 # ./install, which can be erroneously created by make from ./install.sh.
2281 # Reject install programs that cannot install multiple files.
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2283 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2284 if test -z "$INSTALL"; then
2285 if ${ac_cv_path_install+:} false
; then :
2286 $as_echo_n "(cached) " >&6
2288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2292 test -z "$as_dir" && as_dir
=.
2293 # Account for people who put trailing slashes in PATH elements.
2294 case $as_dir/ in #((
2295 .
/ | .
// |
/[cC
]/* | \
2296 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2297 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2300 # OSF1 and SCO ODT 3.0 have their own names for install.
2301 # Don't use installbsd from OSF since it installs stuff as root
2303 for ac_prog
in ginstall scoinst
install; do
2304 for ac_exec_ext
in '' $ac_executable_extensions; do
2305 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2306 if test $ac_prog = install &&
2307 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2308 # AIX install. It has an incompatible calling convention.
2310 elif test $ac_prog = install &&
2311 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2312 # program-specific install script used by HP pwplus--don't use.
2315 rm -rf conftest.one conftest.two conftest.dir
2316 echo one
> conftest.one
2317 echo two
> conftest.two
2319 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2320 test -s conftest.one
&& test -s conftest.two
&&
2321 test -s conftest.dir
/conftest.one
&&
2322 test -s conftest.dir
/conftest.two
2324 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2337 rm -rf conftest.one conftest.two conftest.dir
2340 if test "${ac_cv_path_install+set}" = set; then
2341 INSTALL
=$ac_cv_path_install
2343 # As a last resort, use the slow shell script. Don't cache a
2344 # value for INSTALL within a source directory, because that will
2345 # break other packages using the cache if that directory is
2346 # removed, or if the value is a relative name.
2347 INSTALL
=$ac_install_sh
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2351 $as_echo "$INSTALL" >&6; }
2353 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2354 # It thinks the first close brace ends the variable substitution.
2355 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2357 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2359 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2362 $as_echo_n "checking whether build environment is sane... " >&6; }
2363 # Reject unsafe characters in $srcdir or the absolute working directory
2364 # name. Accept space and tab only in the latter.
2368 *[\\\"\
#\$\&\'\`$am_lf]*)
2369 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2372 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2373 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2376 # Do 'set' in a subshell so we don't clobber the current shell's
2377 # arguments. Must try -L first in case configure is actually a
2378 # symlink; some systems play weird games with the mod time of symlinks
2379 # (eg FreeBSD returns the mod time of the symlink's containing
2383 for am_try
in 1 2; do
2384 echo "timestamp, slept: $am_has_slept" > conftest.
file
2385 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2386 if test "$*" = "X"; then
2388 set X
`ls -t "$srcdir/configure" conftest.file`
2390 if test "$*" != "X $srcdir/configure conftest.file" \
2391 && test "$*" != "X conftest.file $srcdir/configure"; then
2393 # If neither matched, then we have a broken ls. This can happen
2394 # if, for instance, CONFIG_SHELL is bash and it inherits a
2395 # broken ls alias from the environment. This has actually
2396 # happened. Such a system could not be considered "sane".
2397 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2398 alias in your environment" "$LINENO" 5
2400 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2407 test "$2" = conftest.
file
2413 as_fn_error $?
"newly created file is older than distributed files!
2414 Check your system clock" "$LINENO" 5
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2417 $as_echo "yes" >&6; }
2418 # If we didn't sleep, we still need to ensure time stamps of config.status and
2419 # generated files are strictly newer.
2421 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2428 test "$program_prefix" != NONE
&&
2429 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2430 # Use a double $ so make ignores it.
2431 test "$program_suffix" != NONE
&&
2432 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2433 # Double any \ or $.
2434 # By default was `s,x,x', remove it if useless.
2435 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2436 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2438 # Expand $ac_aux_dir to an absolute path.
2439 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2441 if test x
"${MISSING+set}" != xset
; then
2444 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2446 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2449 # Use eval to expand $SHELL
2450 if eval "$MISSING --is-lightweight"; then
2451 am_missing_run
="$MISSING "
2454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2455 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2458 if test x
"${install_sh+set}" != xset
; then
2461 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2463 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2467 # Installed binaries are usually stripped using 'strip' when the user
2468 # run "make install-strip". However 'strip' might not be the right
2469 # tool to use in cross-compilation environments, therefore Automake
2470 # will honor the 'STRIP' environment variable to overrule this program.
2471 if test "$cross_compiling" != no
; then
2472 if test -n "$ac_tool_prefix"; then
2473 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2474 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2476 $as_echo_n "checking for $ac_word... " >&6; }
2477 if ${ac_cv_prog_STRIP+:} false
; then :
2478 $as_echo_n "(cached) " >&6
2480 if test -n "$STRIP"; then
2481 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2483 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2487 test -z "$as_dir" && as_dir
=.
2488 for ac_exec_ext
in '' $ac_executable_extensions; do
2489 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2490 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2500 STRIP
=$ac_cv_prog_STRIP
2501 if test -n "$STRIP"; then
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2503 $as_echo "$STRIP" >&6; }
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2506 $as_echo "no" >&6; }
2511 if test -z "$ac_cv_prog_STRIP"; then
2513 # Extract the first word of "strip", so it can be a program name with args.
2514 set dummy strip
; ac_word
=$2
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2516 $as_echo_n "checking for $ac_word... " >&6; }
2517 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2518 $as_echo_n "(cached) " >&6
2520 if test -n "$ac_ct_STRIP"; then
2521 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2523 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2527 test -z "$as_dir" && as_dir
=.
2528 for ac_exec_ext
in '' $ac_executable_extensions; do
2529 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2530 ac_cv_prog_ac_ct_STRIP
="strip"
2531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2540 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2541 if test -n "$ac_ct_STRIP"; then
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2543 $as_echo "$ac_ct_STRIP" >&6; }
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2546 $as_echo "no" >&6; }
2549 if test "x$ac_ct_STRIP" = x
; then
2552 case $cross_compiling:$ac_tool_warned in
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2555 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2556 ac_tool_warned
=yes ;;
2561 STRIP
="$ac_cv_prog_STRIP"
2565 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2568 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2569 if test -z "$MKDIR_P"; then
2570 if ${ac_cv_path_mkdir+:} false
; then :
2571 $as_echo_n "(cached) " >&6
2573 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2574 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2577 test -z "$as_dir" && as_dir
=.
2578 for ac_prog
in mkdir gmkdir
; do
2579 for ac_exec_ext
in '' $ac_executable_extensions; do
2580 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2581 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2582 'mkdir (GNU coreutils) '* | \
2583 'mkdir (coreutils) '* | \
2584 'mkdir (fileutils) '4.1*)
2585 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2595 test -d .
/--version && rmdir .
/--version
2596 if test "${ac_cv_path_mkdir+set}" = set; then
2597 MKDIR_P
="$ac_cv_path_mkdir -p"
2599 # As a last resort, use the slow shell script. Don't cache a
2600 # value for MKDIR_P within a source directory, because that will
2601 # break other packages using the cache if that directory is
2602 # removed, or if the value is a relative name.
2603 MKDIR_P
="$ac_install_sh -d"
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2607 $as_echo "$MKDIR_P" >&6; }
2609 for ac_prog
in gawk mawk nawk
awk
2611 # Extract the first word of "$ac_prog", so it can be a program name with args.
2612 set dummy
$ac_prog; ac_word
=$2
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2614 $as_echo_n "checking for $ac_word... " >&6; }
2615 if ${ac_cv_prog_AWK+:} false
; then :
2616 $as_echo_n "(cached) " >&6
2618 if test -n "$AWK"; then
2619 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2625 test -z "$as_dir" && as_dir
=.
2626 for ac_exec_ext
in '' $ac_executable_extensions; do
2627 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2628 ac_cv_prog_AWK
="$ac_prog"
2629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2639 if test -n "$AWK"; then
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2641 $as_echo "$AWK" >&6; }
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2644 $as_echo "no" >&6; }
2648 test -n "$AWK" && break
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2652 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2654 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2655 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2656 $as_echo_n "(cached) " >&6
2658 cat >conftest.
make <<\_ACEOF
2661 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2663 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2664 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2666 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2668 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2672 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2674 $as_echo "yes" >&6; }
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2678 $as_echo "no" >&6; }
2679 SET_MAKE
="MAKE=${MAKE-make}"
2682 rm -rf .tst
2>/dev
/null
2683 mkdir .tst
2>/dev
/null
2684 if test -d .tst
; then
2689 rmdir .tst
2>/dev
/null
2691 # Check whether --enable-silent-rules was given.
2692 if test "${enable_silent_rules+set}" = set; then :
2693 enableval
=$enable_silent_rules;
2696 case $enable_silent_rules in # (((
2697 yes) AM_DEFAULT_VERBOSITY
=0;;
2698 no
) AM_DEFAULT_VERBOSITY
=1;;
2699 *) AM_DEFAULT_VERBOSITY
=1;;
2701 am_make
=${MAKE-make}
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2703 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2704 if ${am_cv_make_support_nested_variables+:} false
; then :
2705 $as_echo_n "(cached) " >&6
2707 if $as_echo 'TRUE=$(BAR$(V))
2713 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2714 am_cv_make_support_nested_variables
=yes
2716 am_cv_make_support_nested_variables
=no
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2720 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2721 if test $am_cv_make_support_nested_variables = yes; then
2723 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2725 AM_V
=$AM_DEFAULT_VERBOSITY
2726 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2730 DEPDIR="${am__leading_dot}deps"
2732 ac_config_commands="$ac_config_commands depfiles"
2735 am_make=${MAKE-make}
2736 cat > confinc << 'END
'
2738 @echo this is the am__doit target
2741 # If we don't
find an include directive
, just comment out the code.
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2743 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2747 # First try GNU make style include.
2748 echo "include confinc" > confmf
2749 # Ignore all kinds of additional output from 'make'.
2750 case `$am_make -s -f confmf 2> /dev/null` in #(
2751 *the\ am__doit\ target
*)
2757 # Now try BSD make style include.
2758 if test "$am__include" = "#"; then
2759 echo '.include "confinc"' > confmf
2760 case `$am_make -s -f confmf 2> /dev/null` in #(
2761 *the\ am__doit\ target
*)
2762 am__include
=.include
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2771 $as_echo "$_am_result" >&6; }
2772 rm -f confinc confmf
2774 # Check whether --enable-dependency-tracking was given.
2775 if test "${enable_dependency_tracking+set}" = set; then :
2776 enableval
=$enable_dependency_tracking;
2779 if test "x$enable_dependency_tracking" != xno
; then
2780 am_depcomp
="$ac_aux_dir/depcomp"
2784 if test "x$enable_dependency_tracking" != xno; then
2794 ac_cpp
='$CPP $CPPFLAGS'
2795 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2796 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2797 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2798 if test -n "$ac_tool_prefix"; then
2799 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2800 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2802 $as_echo_n "checking for $ac_word... " >&6; }
2803 if ${ac_cv_prog_CC+:} false
; then :
2804 $as_echo_n "(cached) " >&6
2806 if test -n "$CC"; then
2807 ac_cv_prog_CC
="$CC" # Let the user override the test.
2809 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2813 test -z "$as_dir" && as_dir
=.
2814 for ac_exec_ext
in '' $ac_executable_extensions; do
2815 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2816 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2827 if test -n "$CC"; then
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2829 $as_echo "$CC" >&6; }
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2832 $as_echo "no" >&6; }
2837 if test -z "$ac_cv_prog_CC"; then
2839 # Extract the first word of "gcc", so it can be a program name with args.
2840 set dummy gcc
; ac_word
=$2
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2842 $as_echo_n "checking for $ac_word... " >&6; }
2843 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2844 $as_echo_n "(cached) " >&6
2846 if test -n "$ac_ct_CC"; then
2847 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2849 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2853 test -z "$as_dir" && as_dir
=.
2854 for ac_exec_ext
in '' $ac_executable_extensions; do
2855 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2856 ac_cv_prog_ac_ct_CC
="gcc"
2857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2866 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2867 if test -n "$ac_ct_CC"; then
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2869 $as_echo "$ac_ct_CC" >&6; }
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2872 $as_echo "no" >&6; }
2875 if test "x$ac_ct_CC" = x
; then
2878 case $cross_compiling:$ac_tool_warned in
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2881 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2882 ac_tool_warned
=yes ;;
2890 if test -z "$CC"; then
2891 if test -n "$ac_tool_prefix"; then
2892 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2893 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2895 $as_echo_n "checking for $ac_word... " >&6; }
2896 if ${ac_cv_prog_CC+:} false
; then :
2897 $as_echo_n "(cached) " >&6
2899 if test -n "$CC"; then
2900 ac_cv_prog_CC
="$CC" # Let the user override the test.
2902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2906 test -z "$as_dir" && as_dir
=.
2907 for ac_exec_ext
in '' $ac_executable_extensions; do
2908 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2909 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2920 if test -n "$CC"; then
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2922 $as_echo "$CC" >&6; }
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2925 $as_echo "no" >&6; }
2931 if test -z "$CC"; then
2932 # Extract the first word of "cc", so it can be a program name with args.
2933 set dummy cc
; ac_word
=$2
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2935 $as_echo_n "checking for $ac_word... " >&6; }
2936 if ${ac_cv_prog_CC+:} false
; then :
2937 $as_echo_n "(cached) " >&6
2939 if test -n "$CC"; then
2940 ac_cv_prog_CC
="$CC" # Let the user override the test.
2943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2947 test -z "$as_dir" && as_dir
=.
2948 for ac_exec_ext
in '' $ac_executable_extensions; do
2949 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2950 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2951 ac_prog_rejected
=yes
2955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2962 if test $ac_prog_rejected = yes; then
2963 # We found a bogon in the path, so make sure we never use it.
2964 set dummy
$ac_cv_prog_CC
2966 if test $# != 0; then
2967 # We chose a different compiler from the bogus one.
2968 # However, it has the same basename, so the bogon will be chosen
2969 # first if we set CC to just the basename; use the full file name.
2971 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2977 if test -n "$CC"; then
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2979 $as_echo "$CC" >&6; }
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2982 $as_echo "no" >&6; }
2987 if test -z "$CC"; then
2988 if test -n "$ac_tool_prefix"; then
2989 for ac_prog
in cl.exe
2991 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2992 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2994 $as_echo_n "checking for $ac_word... " >&6; }
2995 if ${ac_cv_prog_CC+:} false
; then :
2996 $as_echo_n "(cached) " >&6
2998 if test -n "$CC"; then
2999 ac_cv_prog_CC
="$CC" # Let the user override the test.
3001 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3005 test -z "$as_dir" && as_dir
=.
3006 for ac_exec_ext
in '' $ac_executable_extensions; do
3007 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3008 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3019 if test -n "$CC"; then
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3021 $as_echo "$CC" >&6; }
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3024 $as_echo "no" >&6; }
3028 test -n "$CC" && break
3031 if test -z "$CC"; then
3033 for ac_prog
in cl.exe
3035 # Extract the first word of "$ac_prog", so it can be a program name with args.
3036 set dummy
$ac_prog; ac_word
=$2
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3038 $as_echo_n "checking for $ac_word... " >&6; }
3039 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3040 $as_echo_n "(cached) " >&6
3042 if test -n "$ac_ct_CC"; then
3043 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3049 test -z "$as_dir" && as_dir
=.
3050 for ac_exec_ext
in '' $ac_executable_extensions; do
3051 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3052 ac_cv_prog_ac_ct_CC
="$ac_prog"
3053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3062 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3063 if test -n "$ac_ct_CC"; then
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3065 $as_echo "$ac_ct_CC" >&6; }
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3068 $as_echo "no" >&6; }
3072 test -n "$ac_ct_CC" && break
3075 if test "x$ac_ct_CC" = x
; then
3078 case $cross_compiling:$ac_tool_warned in
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3081 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3082 ac_tool_warned
=yes ;;
3091 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3092 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3093 as_fn_error $?
"no acceptable C compiler found in \$PATH
3094 See \`config.log' for more details" "$LINENO" 5; }
3096 # Provide some information about the compiler.
3097 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3100 for ac_option
in --version -v -V -qversion; do
3101 { { ac_try
="$ac_compiler $ac_option >&5"
3103 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3104 *) ac_try_echo=$ac_try;;
3106 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3107 $as_echo "$ac_try_echo"; } >&5
3108 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3110 if test -s conftest.err; then
3112 ... rest of stderr output deleted ...
3113 10q' conftest.err >conftest.er1
3114 cat conftest.er1 >&5
3116 rm -f conftest.er1 conftest.err
3117 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3118 test $ac_status = 0; }
3121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3122 /* end confdefs.h. */
3132 ac_clean_files_save=$ac_clean_files
3133 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3134 # Try to create an executable without -o first, disregard a.out.
3135 # It will help us diagnose broken compilers, and finding out an intuition
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3138 $as_echo_n "checking whether the C compiler works... " >&6; }
3139 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3141 # The possible output files:
3142 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3145 for ac_file in $ac_files
3148 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3149 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3154 if { { ac_try="$ac_link_default"
3156 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3157 *) ac_try_echo
=$ac_try;;
3159 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3160 $as_echo "$ac_try_echo"; } >&5
3161 (eval "$ac_link_default") 2>&5
3163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3164 test $ac_status = 0; }; then :
3165 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3166 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3167 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3168 # so that the user can short-circuit this test for compilers unknown to
3170 for ac_file
in $ac_files ''
3172 test -f "$ac_file" ||
continue
3174 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3177 # We found the default executable, but exeext='' is most
3181 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3183 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3185 # We set ac_cv_exeext here because the later test for it is not
3186 # safe: cross compilers may not add the suffix if given an `-o'
3187 # argument, so we may need to know it at that point already.
3188 # Even if this section looks crufty: it has the advantage of
3195 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3200 if test -z "$ac_file"; then :
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3202 $as_echo "no" >&6; }
3203 $as_echo "$as_me: failed program was:" >&5
3204 sed 's/^/| /' conftest.
$ac_ext >&5
3206 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3207 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3208 as_fn_error
77 "C compiler cannot create executables
3209 See \`config.log' for more details" "$LINENO" 5; }
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3212 $as_echo "yes" >&6; }
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3215 $as_echo_n "checking for C compiler default output file name... " >&6; }
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3217 $as_echo "$ac_file" >&6; }
3218 ac_exeext
=$ac_cv_exeext
3220 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3221 ac_clean_files
=$ac_clean_files_save
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3223 $as_echo_n "checking for suffix of executables... " >&6; }
3224 if { { ac_try
="$ac_link"
3226 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3227 *) ac_try_echo=$ac_try;;
3229 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3230 $as_echo "$ac_try_echo"; } >&5
3231 (eval "$ac_link") 2>&5
3233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3234 test $ac_status = 0; }; then :
3235 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3236 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3237 # work properly (i.e., refer to `conftest.exe'), while it won't with
3239 for ac_file
in conftest.exe conftest conftest.
*; do
3240 test -f "$ac_file" ||
continue
3242 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3243 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3249 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3250 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3251 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3252 See \`config.log' for more details" "$LINENO" 5; }
3254 rm -f conftest conftest
$ac_cv_exeext
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3256 $as_echo "$ac_cv_exeext" >&6; }
3258 rm -f conftest.
$ac_ext
3259 EXEEXT
=$ac_cv_exeext
3261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3262 /* end confdefs.h. */
3267 FILE *f = fopen ("conftest.out", "w");
3268 return ferror (f) || fclose (f) != 0;
3274 ac_clean_files
="$ac_clean_files conftest.out"
3275 # Check that the compiler produces executables we can run. If not, either
3276 # the compiler is broken, or we cross compile.
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3278 $as_echo_n "checking whether we are cross compiling... " >&6; }
3279 if test "$cross_compiling" != yes; then
3280 { { ac_try
="$ac_link"
3282 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3283 *) ac_try_echo=$ac_try;;
3285 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3286 $as_echo "$ac_try_echo"; } >&5
3287 (eval "$ac_link") 2>&5
3289 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3290 test $ac_status = 0; }
3291 if { ac_try='./conftest$ac_cv_exeext'
3292 { { case "(($ac_try" in
3293 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3294 *) ac_try_echo
=$ac_try;;
3296 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3297 $as_echo "$ac_try_echo"; } >&5
3298 (eval "$ac_try") 2>&5
3300 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3301 test $ac_status = 0; }; }; then
3304 if test "$cross_compiling" = maybe
; then
3307 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3308 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3309 as_fn_error $?
"cannot run C compiled programs.
3310 If you meant to cross compile, use \`--host'.
3311 See \`config.log' for more details" "$LINENO" 5; }
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3316 $as_echo "$cross_compiling" >&6; }
3318 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3319 ac_clean_files
=$ac_clean_files_save
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3321 $as_echo_n "checking for suffix of object files... " >&6; }
3322 if ${ac_cv_objext+:} false
; then :
3323 $as_echo_n "(cached) " >&6
3325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3326 /* end confdefs.h. */
3336 rm -f conftest.o conftest.obj
3337 if { { ac_try
="$ac_compile"
3339 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3340 *) ac_try_echo=$ac_try;;
3342 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3343 $as_echo "$ac_try_echo"; } >&5
3344 (eval "$ac_compile") 2>&5
3346 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3347 test $ac_status = 0; }; then :
3348 for ac_file in conftest.o conftest.obj conftest.*; do
3349 test -f "$ac_file" || continue;
3351 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3352 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3357 $as_echo "$as_me: failed program was:" >&5
3358 sed 's/^/| /' conftest.$ac_ext >&5
3360 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3361 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3362 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3363 See \
`config.log' for more details" "$LINENO" 5; }
3365 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3368 $as_echo "$ac_cv_objext" >&6; }
3369 OBJEXT=$ac_cv_objext
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3372 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3373 if ${ac_cv_c_compiler_gnu+:} false; then :
3374 $as_echo_n "(cached) " >&6
3376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3377 /* end confdefs.h. */
3390 if ac_fn_c_try_compile "$LINENO"; then :
3395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3396 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3400 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3401 if test $ac_compiler_gnu = yes; then
3406 ac_test_CFLAGS=${CFLAGS+set}
3407 ac_save_CFLAGS=$CFLAGS
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3409 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3410 if ${ac_cv_prog_cc_g+:} false; then :
3411 $as_echo_n "(cached) " >&6
3413 ac_save_c_werror_flag=$ac_c_werror_flag
3414 ac_c_werror_flag=yes
3417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3418 /* end confdefs.h. */
3428 if ac_fn_c_try_compile "$LINENO"; then :
3432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3433 /* end confdefs.h. */
3443 if ac_fn_c_try_compile "$LINENO"; then :
3446 ac_c_werror_flag=$ac_save_c_werror_flag
3448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3449 /* end confdefs.h. */
3459 if ac_fn_c_try_compile "$LINENO"; then :
3462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3467 ac_c_werror_flag=$ac_save_c_werror_flag
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3470 $as_echo "$ac_cv_prog_cc_g" >&6; }
3471 if test "$ac_test_CFLAGS" = set; then
3472 CFLAGS=$ac_save_CFLAGS
3473 elif test $ac_cv_prog_cc_g = yes; then
3474 if test "$GCC" = yes; then
3480 if test "$GCC" = yes; then
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3487 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3488 if ${ac_cv_prog_cc_c89+:} false; then :
3489 $as_echo_n "(cached) " >&6
3491 ac_cv_prog_cc_c89=no
3493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3494 /* end confdefs.h. */
3498 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3499 struct buf { int x; };
3500 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3501 static char *e (p, i)
3507 static char *f (char * (*g) (char **, int), char **p, ...)
3512 s = g (p, va_arg (v,int));
3517 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3518 function prototypes and stuff, but not '\xHH' hex character constants.
3519 These don't provoke an error unfortunately, instead are silently treated
3520 as 'x'. The following induces an error, until -std is added to get
3521 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3522 array size at least. It's necessary to write '\x00'==0 to get something
3523 that's true only with -std. */
3524 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3526 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3527 inside strings and character constants. */
3529 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3531 int test (int i, double x);
3532 struct s1 {int (*f) (int a);};
3533 struct s2 {int (*f) (double a);};
3534 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3540 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3545 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3546 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3548 CC="$ac_save_CC $ac_arg"
3549 if ac_fn_c_try_compile "$LINENO"; then :
3550 ac_cv_prog_cc_c89=$ac_arg
3552 rm -f core conftest.err conftest.$ac_objext
3553 test "x$ac_cv_prog_cc_c89" != "xno" && break
3555 rm -f conftest.$ac_ext
3560 case "x$ac_cv_prog_cc_c89" in
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3563 $as_echo "none needed" >&6; } ;;
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3566 $as_echo "unsupported" >&6; } ;;
3568 CC="$CC $ac_cv_prog_cc_c89"
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3570 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3572 if test "x$ac_cv_prog_cc_c89" != xno; then :
3577 ac_cpp='$CPP $CPPFLAGS'
3578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3583 ac_cpp='$CPP $CPPFLAGS'
3584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3588 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3589 if ${am_cv_prog_cc_c_o+:} false; then :
3590 $as_echo_n "(cached) " >&6
3592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3593 /* end confdefs.h. */
3603 # Make sure it works both with $CC and with simple cc.
3604 # Following AC_PROG_CC_C_O, we do the test twice because some
3605 # compilers refuse to overwrite an existing .o file with -o,
3606 # though they will create one.
3607 am_cv_prog_cc_c_o=yes
3609 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3610 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3613 (exit $ac_status); } \
3614 && test -f conftest2.$ac_objext; then
3617 am_cv_prog_cc_c_o=no
3621 rm -f core conftest*
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3625 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3626 if test "$am_cv_prog_cc_c_o" != yes; then
3627 # Losing compiler, so override with the script.
3628 # FIXME: It is wrong to rewrite CC.
3629 # But if we don't then we get into trouble of one sort or another.
3630 # A longer-term fix would be to have automake use am__CC in this case,
3631 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3632 CC="$am_aux_dir/compile $CC"
3635 ac_cpp='$CPP $CPPFLAGS'
3636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3641 depcc="$CC" am_compiler_list=
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3644 $as_echo_n "checking dependency style of $depcc... " >&6; }
3645 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3646 $as_echo_n "(cached) " >&6
3648 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3649 # We make a subdir and do the tests there. Otherwise we can end up
3650 # making bogus files that we don't know about and never remove. For
3651 # instance it was reported that on HP-UX the gcc test will end up
3652 # making a dummy file named 'D' -- because '-MD' means "put the output
3656 # Copy depcomp to subdir because otherwise we won't find it if we're
3657 # using a relative directory.
3658 cp "$am_depcomp" conftest.dir
3660 # We will build objects and dependencies in a subdirectory because
3661 # it helps to detect inapplicable dependency modes. For instance
3662 # both Tru64's cc and ICC support -MD to output dependencies as a
3663 # side effect of compilation, but ICC will put the dependencies in
3664 # the current directory while Tru64 will put them in the object
3668 am_cv_CC_dependencies_compiler_type=none
3669 if test "$am_compiler_list" = ""; then
3670 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3673 case " $depcc " in #(
3674 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3677 for depmode in $am_compiler_list; do
3678 # Setup a source with many dependencies, because some compilers
3679 # like to wrap large dependency lists on column 80 (with \), and
3680 # we should not choose a depcomp mode which is confused by this.
3682 # We need to recreate these files for each test, as the compiler may
3683 # overwrite some of them when testing with obscure command lines.
3684 # This happens at least with the AIX C compiler.
3686 for i in 1 2 3 4 5 6; do
3687 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3688 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3689 # Solaris 10 /bin/sh.
3690 echo '/* dummy */' > sub/conftst$i.h
3692 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3694 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3695 # mode. It turns out that the SunPro C++ compiler does not properly
3696 # handle '-M -o', and we need to detect this. Also, some Intel
3697 # versions had trouble with output in subdirs.
3698 am__obj=sub/conftest.${OBJEXT-o}
3699 am__minus_obj="-o $am__obj"
3702 # This depmode causes a compiler race in universal mode.
3703 test "$am__universal" = false || continue
3706 # After this tag, mechanisms are not by side-effect, so they'll
3707 # only be used when explicitly requested.
3708 if test "x$enable_dependency_tracking" = xyes; then
3714 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3715 # This compiler won't grok '-c -o', but also, the minuso test has
3716 # not run yet. These depmodes are late enough in the game, and
3717 # so weak that their functioning should not be impacted.
3718 am__obj=conftest.${OBJEXT-o}
3723 if depmode=$depmode \
3724 source=sub/conftest.c object=$am__obj \
3725 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3726 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3727 >/dev/null 2>conftest.err &&
3728 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3729 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3730 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3731 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3732 # icc doesn't choke on unknown options, it will just issue warnings
3733 # or remarks (even with -Werror). So we grep stderr for any message
3734 # that says an option was ignored or not supported.
3735 # When given -MP, icc 7.0 and 7.1 complain thusly:
3736 # icc: Command line warning: ignoring option '-M'; no argument required
3737 # The diagnosis changed in icc 8.0:
3738 # icc: Command line remark: option '-MP' not supported
3739 if (grep 'ignoring option' conftest.err ||
3740 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3741 am_cv_CC_dependencies_compiler_type=$depmode
3750 am_cv_CC_dependencies_compiler_type=none
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3755 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3756 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3759 test "x$enable_dependency_tracking" != xno \
3760 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3762 am__fastdepCC_FALSE='#'
3764 am__fastdepCC_TRUE='#'
3765 am__fastdepCC_FALSE=
3770 # Check whether --enable-compiler-warnings was given.
3771 if test "${enable_compiler_warnings+set}" = set; then :
3772 enableval=$enable_compiler_warnings;
3774 case $enable_compiler_warnings in #(
3775 no | min | yes | max | all) :
3778 if test "x$enable_maintainer_mode" = xyes; then :
3779 enable_compiler_warnings=yes
3781 enable_compiler_warnings=min
3786 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3787 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3788 # is not polluted with repeated "-I."
3789 am__isrc=' -I$(srcdir)'
3790 # test to see if srcdir already configured
3791 if test -f $srcdir/config.status; then
3792 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3796 # test whether we have cygpath
3797 if test -z "$CYGPATH_W"; then
3798 if (cygpath --version) >/dev/null 2>/dev/null; then
3799 CYGPATH_W='cygpath -w'
3806 # Define the identity of the package.
3807 PACKAGE='libpng--tex-live-'
3811 cat >>confdefs.h <<_ACEOF
3812 #define PACKAGE "$PACKAGE"
3816 cat >>confdefs.h <<_ACEOF
3817 #define VERSION "$VERSION"
3820 # Some tools Automake needs.
3822 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3825 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3828 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3831 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3834 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3836 # For better backward compatibility. To be removed once Automake 1.9.x
3837 # dies out for good. For more background, see:
3838 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3839 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3840 mkdir_p='$(MKDIR_P)'
3842 # We need awk for the "check" target (and possibly the TAP driver). The
3843 # system "awk" is bad on some platforms.
3844 # Always define AMTAR for backward compatibility. Yes, it's still used
3845 # in the wild :-( We should find a proper way to deprecate it ...
3849 # We'll loop over all known methods to create a tar archive until one works.
3850 _am_tools='gnutar pax cpio none'
3852 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3859 # POSIX will say in a future version that running "rm -f" with no argument
3860 # is OK; and we want to be able to make that assumption in our Makefile
3861 # recipes. So use an aggressive probe to check that the usage we want is
3862 # actually supported "in the wild" to an acceptable degree.
3863 # See automake bug#10828.
3864 # To make any issue more visible, cause the running configure to be aborted
3865 # by default if the 'rm' program in use doesn't match our expectations; the
3866 # user can still override this though.
3867 if rm -f && rm -fr && rm -rf; then : OK; else
3871 Your 'rm' program seems unable to run without file operands specified
3872 on the command line, even when the '-f' option is present. This is contrary
3873 to the behaviour of most rm programs out there, and not conforming with
3874 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3876 Please tell bug-automake@gnu.org about your system, including the value
3877 of your $PATH and any error possibly output before this message. This
3878 can help us improve future automake versions.
3881 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3882 echo 'Configuration will proceed anyway, since you have set the' >&2
3883 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3887 Aborting the configuration process, to ensure you take notice of the issue.
3889 You can download and install GNU coreutils to get an 'rm' implementation
3890 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3892 If you want to complete the configuration process using your problematic
3893 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3894 to "yes", and re-run configure.
3897 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3903 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3904 # Check whether --enable-maintainer-mode was given.
3905 if test "${enable_maintainer_mode+set}" = set; then :
3906 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3908 USE_MAINTAINER_MODE=no
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3912 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3913 if test $USE_MAINTAINER_MODE = yes; then
3914 MAINTAINER_MODE_TRUE=
3915 MAINTAINER_MODE_FALSE='#'
3917 MAINTAINER_MODE_TRUE='#'
3918 MAINTAINER_MODE_FALSE=
3921 MAINT=$MAINTAINER_MODE_TRUE
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5
3925 $as_echo_n "checking whether the compiler accepts prototypes... " >&6; }
3926 if ${kb_cv_c_prototypes+:} false; then :
3927 $as_echo_n "(cached) " >&6
3929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3930 /* end confdefs.h. */
3935 extern void foo(int i,...);
3940 if ac_fn_c_try_link "$LINENO"; then :
3941 kb_cv_c_prototypes=yes
3943 kb_cv_c_prototypes=no
3945 rm -f core conftest.err conftest.$ac_objext \
3946 conftest$ac_exeext conftest.$ac_ext
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5
3949 $as_echo "$kb_cv_c_prototypes" >&6; }
3950 if test "x$kb_cv_c_prototypes" = xno; then
3951 as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
3954 $as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
3955 if ${kpse_cv_warning_cflags+:} false; then :
3956 $as_echo_n "(cached) " >&6
3958 if test "x$GCC" = xyes; then
3959 kpse_cv_warning_cflags=
3960 if test "x$enable_compiler_warnings" != xno; then
3961 kpse_cv_warning_cflags="-Wimplicit -Wreturn-type"
3962 case `$CC -dumpversion` in #(
3963 3.4.* | 4.* | 5.*) :
3964 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #(
3968 case `$CC -dumpversion` in #(
3969 3.[234].* | 4.* | 5.*) :
3970 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #(
3974 if test "x$enable_compiler_warnings" != xmin; then
3975 kpse_cv_warning_cflags="-Wall -Wunused $kpse_cv_warning_cflags"
3976 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
3977 if test "x$enable_compiler_warnings" != xyes; then
3978 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
3979 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings"
3980 case `$CC -dumpversion` in #(
3981 3.4.* | 4.* | 5.*) :
3982 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;; #(
3986 if test "x$enable_compiler_warnings" != xmax; then
3987 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wshadow"
3992 elif test "x$enable_compiler_warnings" = xno; then
3993 kpse_cv_warning_cflags=
3995 kpse_cv_warning_cflags= # FIXME: warning flags for non-GNU C compilers
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5
3999 $as_echo "$kpse_cv_warning_cflags" >&6; }
4000 WARNING_CFLAGS=$kpse_cv_warning_cflags
4010 ac_cpp='$CPP $CPPFLAGS'
4011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4014 if test -n "$ac_tool_prefix"; then
4015 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4016 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4018 $as_echo_n "checking for $ac_word... " >&6; }
4019 if ${ac_cv_prog_CC+:} false; then :
4020 $as_echo_n "(cached) " >&6
4022 if test -n "$CC"; then
4023 ac_cv_prog_CC="$CC" # Let the user override the test.
4025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4029 test -z "$as_dir" && as_dir=.
4030 for ac_exec_ext in '' $ac_executable_extensions; do
4031 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4032 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4043 if test -n "$CC"; then
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4045 $as_echo "$CC" >&6; }
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4048 $as_echo "no" >&6; }
4053 if test -z "$ac_cv_prog_CC"; then
4055 # Extract the first word of "gcc", so it can be a program name with args.
4056 set dummy gcc; ac_word=$2
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4058 $as_echo_n "checking for $ac_word... " >&6; }
4059 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4060 $as_echo_n "(cached) " >&6
4062 if test -n "$ac_ct_CC"; then
4063 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4069 test -z "$as_dir" && as_dir=.
4070 for ac_exec_ext in '' $ac_executable_extensions; do
4071 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4072 ac_cv_prog_ac_ct_CC="gcc"
4073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4082 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4083 if test -n "$ac_ct_CC"; then
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4085 $as_echo "$ac_ct_CC" >&6; }
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4088 $as_echo "no" >&6; }
4091 if test "x$ac_ct_CC" = x; then
4094 case $cross_compiling:$ac_tool_warned in
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4097 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4098 ac_tool_warned=yes ;;
4106 if test -z "$CC"; then
4107 if test -n "$ac_tool_prefix"; then
4108 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4109 set dummy ${ac_tool_prefix}cc; ac_word=$2
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4111 $as_echo_n "checking for $ac_word... " >&6; }
4112 if ${ac_cv_prog_CC+:} false; then :
4113 $as_echo_n "(cached) " >&6
4115 if test -n "$CC"; then
4116 ac_cv_prog_CC="$CC" # Let the user override the test.
4118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4122 test -z "$as_dir" && as_dir=.
4123 for ac_exec_ext in '' $ac_executable_extensions; do
4124 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4125 ac_cv_prog_CC="${ac_tool_prefix}cc"
4126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4136 if test -n "$CC"; then
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4138 $as_echo "$CC" >&6; }
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4141 $as_echo "no" >&6; }
4147 if test -z "$CC"; then
4148 # Extract the first word of "cc", so it can be a program name with args.
4149 set dummy cc; ac_word=$2
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4151 $as_echo_n "checking for $ac_word... " >&6; }
4152 if ${ac_cv_prog_CC+:} false; then :
4153 $as_echo_n "(cached) " >&6
4155 if test -n "$CC"; then
4156 ac_cv_prog_CC="$CC" # Let the user override the test.
4159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4163 test -z "$as_dir" && as_dir=.
4164 for ac_exec_ext in '' $ac_executable_extensions; do
4165 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4166 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4167 ac_prog_rejected=yes
4171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4178 if test $ac_prog_rejected = yes; then
4179 # We found a bogon in the path, so make sure we never use it.
4180 set dummy $ac_cv_prog_CC
4182 if test $# != 0; then
4183 # We chose a different compiler from the bogus one.
4184 # However, it has the same basename, so the bogon will be chosen
4185 # first if we set CC to just the basename; use the full file name.
4187 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4193 if test -n "$CC"; then
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4195 $as_echo "$CC" >&6; }
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4198 $as_echo "no" >&6; }
4203 if test -z "$CC"; then
4204 if test -n "$ac_tool_prefix"; then
4205 for ac_prog in cl.exe
4207 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4208 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4210 $as_echo_n "checking for $ac_word... " >&6; }
4211 if ${ac_cv_prog_CC+:} false; then :
4212 $as_echo_n "(cached) " >&6
4214 if test -n "$CC"; then
4215 ac_cv_prog_CC="$CC" # Let the user override the test.
4217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4221 test -z "$as_dir" && as_dir=.
4222 for ac_exec_ext in '' $ac_executable_extensions; do
4223 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4224 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4235 if test -n "$CC"; then
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4237 $as_echo "$CC" >&6; }
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4240 $as_echo "no" >&6; }
4244 test -n "$CC" && break
4247 if test -z "$CC"; then
4249 for ac_prog in cl.exe
4251 # Extract the first word of "$ac_prog", so it can be a program name with args.
4252 set dummy $ac_prog; ac_word=$2
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4254 $as_echo_n "checking for $ac_word... " >&6; }
4255 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4256 $as_echo_n "(cached) " >&6
4258 if test -n "$ac_ct_CC"; then
4259 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4265 test -z "$as_dir" && as_dir=.
4266 for ac_exec_ext in '' $ac_executable_extensions; do
4267 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4268 ac_cv_prog_ac_ct_CC="$ac_prog"
4269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4278 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4279 if test -n "$ac_ct_CC"; then
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4281 $as_echo "$ac_ct_CC" >&6; }
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4284 $as_echo "no" >&6; }
4288 test -n "$ac_ct_CC" && break
4291 if test "x$ac_ct_CC" = x; then
4294 case $cross_compiling:$ac_tool_warned in
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4297 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4298 ac_tool_warned=yes ;;
4307 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4308 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4309 as_fn_error $? "no acceptable C compiler found
in \
$PATH
4310 See \
`config.log' for more details" "$LINENO" 5; }
4312 # Provide some information about the compiler.
4313 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4316 for ac_option in --version -v -V -qversion; do
4317 { { ac_try="$ac_compiler $ac_option >&5"
4319 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4320 *) ac_try_echo
=$ac_try;;
4322 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4323 $as_echo "$ac_try_echo"; } >&5
4324 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4326 if test -s conftest.err
; then
4328 ... rest of stderr output deleted ...
4329 10q' conftest.err
>conftest.er1
4330 cat conftest.er1
>&5
4332 rm -f conftest.er1 conftest.err
4333 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4334 test $ac_status = 0; }
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4338 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4339 if ${ac_cv_c_compiler_gnu+:} false
; then :
4340 $as_echo_n "(cached) " >&6
4342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4343 /* end confdefs.h. */
4356 if ac_fn_c_try_compile
"$LINENO"; then :
4361 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4362 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4366 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4367 if test $ac_compiler_gnu = yes; then
4372 ac_test_CFLAGS
=${CFLAGS+set}
4373 ac_save_CFLAGS
=$CFLAGS
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4375 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4376 if ${ac_cv_prog_cc_g+:} false
; then :
4377 $as_echo_n "(cached) " >&6
4379 ac_save_c_werror_flag
=$ac_c_werror_flag
4380 ac_c_werror_flag
=yes
4383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4384 /* end confdefs.h. */
4394 if ac_fn_c_try_compile
"$LINENO"; then :
4398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4399 /* end confdefs.h. */
4409 if ac_fn_c_try_compile
"$LINENO"; then :
4412 ac_c_werror_flag
=$ac_save_c_werror_flag
4414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4415 /* end confdefs.h. */
4425 if ac_fn_c_try_compile
"$LINENO"; then :
4428 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4430 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4432 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4433 ac_c_werror_flag
=$ac_save_c_werror_flag
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4436 $as_echo "$ac_cv_prog_cc_g" >&6; }
4437 if test "$ac_test_CFLAGS" = set; then
4438 CFLAGS
=$ac_save_CFLAGS
4439 elif test $ac_cv_prog_cc_g = yes; then
4440 if test "$GCC" = yes; then
4446 if test "$GCC" = yes; then
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4453 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4454 if ${ac_cv_prog_cc_c89+:} false
; then :
4455 $as_echo_n "(cached) " >&6
4457 ac_cv_prog_cc_c89
=no
4459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4460 /* end confdefs.h. */
4464 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4465 struct buf { int x; };
4466 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4467 static char *e (p, i)
4473 static char *f (char * (*g) (char **, int), char **p, ...)
4478 s = g (p, va_arg (v,int));
4483 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4484 function prototypes and stuff, but not '\xHH' hex character constants.
4485 These don't provoke an error unfortunately, instead are silently treated
4486 as 'x'. The following induces an error, until -std is added to get
4487 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4488 array size at least. It's necessary to write '\x00'==0 to get something
4489 that's true only with -std. */
4490 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4492 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4493 inside strings and character constants. */
4495 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4497 int test (int i, double x);
4498 struct s1 {int (*f) (int a);};
4499 struct s2 {int (*f) (double a);};
4500 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4506 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4511 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
4512 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4514 CC
="$ac_save_CC $ac_arg"
4515 if ac_fn_c_try_compile
"$LINENO"; then :
4516 ac_cv_prog_cc_c89
=$ac_arg
4518 rm -f core conftest.err conftest.
$ac_objext
4519 test "x$ac_cv_prog_cc_c89" != "xno" && break
4521 rm -f conftest.
$ac_ext
4526 case "x$ac_cv_prog_cc_c89" in
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4529 $as_echo "none needed" >&6; } ;;
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4532 $as_echo "unsupported" >&6; } ;;
4534 CC
="$CC $ac_cv_prog_cc_c89"
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4536 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4538 if test "x$ac_cv_prog_cc_c89" != xno
; then :
4543 ac_cpp
='$CPP $CPPFLAGS'
4544 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4545 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4546 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4549 ac_cpp
='$CPP $CPPFLAGS'
4550 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4551 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4552 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4554 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4555 if ${am_cv_prog_cc_c_o+:} false
; then :
4556 $as_echo_n "(cached) " >&6
4558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4559 /* end confdefs.h. */
4569 # Make sure it works both with $CC and with simple cc.
4570 # Following AC_PROG_CC_C_O, we do the test twice because some
4571 # compilers refuse to overwrite an existing .o file with -o,
4572 # though they will create one.
4573 am_cv_prog_cc_c_o
=yes
4575 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4576 ($CC -c conftest.
$ac_ext -o conftest2.
$ac_objext) >&5 2>&5
4578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4579 (exit $ac_status); } \
4580 && test -f conftest2.
$ac_objext; then
4583 am_cv_prog_cc_c_o
=no
4587 rm -f core conftest
*
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4591 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4592 if test "$am_cv_prog_cc_c_o" != yes; then
4593 # Losing compiler, so override with the script.
4594 # FIXME: It is wrong to rewrite CC.
4595 # But if we don't then we get into trouble of one sort or another.
4596 # A longer-term fix would be to have automake use am__CC in this case,
4597 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4598 CC
="$am_aux_dir/compile $CC"
4601 ac_cpp
='$CPP $CPPFLAGS'
4602 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4603 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4604 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4607 depcc
="$CC" am_compiler_list
=
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4610 $as_echo_n "checking dependency style of $depcc... " >&6; }
4611 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4612 $as_echo_n "(cached) " >&6
4614 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4615 # We make a subdir and do the tests there. Otherwise we can end up
4616 # making bogus files that we don't know about and never remove. For
4617 # instance it was reported that on HP-UX the gcc test will end up
4618 # making a dummy file named 'D' -- because '-MD' means "put the output
4622 # Copy depcomp to subdir because otherwise we won't find it if we're
4623 # using a relative directory.
4624 cp "$am_depcomp" conftest.dir
4626 # We will build objects and dependencies in a subdirectory because
4627 # it helps to detect inapplicable dependency modes. For instance
4628 # both Tru64's cc and ICC support -MD to output dependencies as a
4629 # side effect of compilation, but ICC will put the dependencies in
4630 # the current directory while Tru64 will put them in the object
4634 am_cv_CC_dependencies_compiler_type
=none
4635 if test "$am_compiler_list" = ""; then
4636 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4639 case " $depcc " in #(
4640 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4643 for depmode
in $am_compiler_list; do
4644 # Setup a source with many dependencies, because some compilers
4645 # like to wrap large dependency lists on column 80 (with \), and
4646 # we should not choose a depcomp mode which is confused by this.
4648 # We need to recreate these files for each test, as the compiler may
4649 # overwrite some of them when testing with obscure command lines.
4650 # This happens at least with the AIX C compiler.
4652 for i
in 1 2 3 4 5 6; do
4653 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4654 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4655 # Solaris 10 /bin/sh.
4656 echo '/* dummy */' > sub
/conftst
$i.h
4658 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4660 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4661 # mode. It turns out that the SunPro C++ compiler does not properly
4662 # handle '-M -o', and we need to detect this. Also, some Intel
4663 # versions had trouble with output in subdirs.
4664 am__obj
=sub
/conftest.
${OBJEXT-o}
4665 am__minus_obj
="-o $am__obj"
4668 # This depmode causes a compiler race in universal mode.
4669 test "$am__universal" = false ||
continue
4672 # After this tag, mechanisms are not by side-effect, so they'll
4673 # only be used when explicitly requested.
4674 if test "x$enable_dependency_tracking" = xyes
; then
4680 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4681 # This compiler won't grok '-c -o', but also, the minuso test has
4682 # not run yet. These depmodes are late enough in the game, and
4683 # so weak that their functioning should not be impacted.
4684 am__obj
=conftest.
${OBJEXT-o}
4689 if depmode
=$depmode \
4690 source=sub
/conftest.c object
=$am__obj \
4691 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4692 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4693 >/dev
/null
2>conftest.err
&&
4694 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4695 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4696 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4697 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4698 # icc doesn't choke on unknown options, it will just issue warnings
4699 # or remarks (even with -Werror). So we grep stderr for any message
4700 # that says an option was ignored or not supported.
4701 # When given -MP, icc 7.0 and 7.1 complain thusly:
4702 # icc: Command line warning: ignoring option '-M'; no argument required
4703 # The diagnosis changed in icc 8.0:
4704 # icc: Command line remark: option '-MP' not supported
4705 if (grep 'ignoring option' conftest.err ||
4706 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4707 am_cv_CC_dependencies_compiler_type
=$depmode
4716 am_cv_CC_dependencies_compiler_type
=none
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4721 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4722 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4725 test "x$enable_dependency_tracking" != xno \
4726 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4728 am__fastdepCC_FALSE
='#'
4730 am__fastdepCC_TRUE
='#'
4731 am__fastdepCC_FALSE
=
4735 if test -n "$ac_tool_prefix"; then
4736 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4737 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4739 $as_echo_n "checking for $ac_word... " >&6; }
4740 if ${ac_cv_prog_RANLIB+:} false
; then :
4741 $as_echo_n "(cached) " >&6
4743 if test -n "$RANLIB"; then
4744 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4746 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4750 test -z "$as_dir" && as_dir
=.
4751 for ac_exec_ext
in '' $ac_executable_extensions; do
4752 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4753 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4763 RANLIB
=$ac_cv_prog_RANLIB
4764 if test -n "$RANLIB"; then
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4766 $as_echo "$RANLIB" >&6; }
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4769 $as_echo "no" >&6; }
4774 if test -z "$ac_cv_prog_RANLIB"; then
4775 ac_ct_RANLIB
=$RANLIB
4776 # Extract the first word of "ranlib", so it can be a program name with args.
4777 set dummy ranlib
; ac_word
=$2
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4779 $as_echo_n "checking for $ac_word... " >&6; }
4780 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4781 $as_echo_n "(cached) " >&6
4783 if test -n "$ac_ct_RANLIB"; then
4784 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4790 test -z "$as_dir" && as_dir
=.
4791 for ac_exec_ext
in '' $ac_executable_extensions; do
4792 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4793 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4803 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4804 if test -n "$ac_ct_RANLIB"; then
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4806 $as_echo "$ac_ct_RANLIB" >&6; }
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4809 $as_echo "no" >&6; }
4812 if test "x$ac_ct_RANLIB" = x
; then
4815 case $cross_compiling:$ac_tool_warned in
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4818 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4819 ac_tool_warned
=yes ;;
4821 RANLIB
=$ac_ct_RANLIB
4824 RANLIB
="$ac_cv_prog_RANLIB"
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4828 $as_echo_n "checking whether ln -s works... " >&6; }
4830 if test "$LN_S" = "ln -s"; then
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4832 $as_echo "yes" >&6; }
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4835 $as_echo "no, using $LN_S" >&6; }
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for C to hide external symbols" >&5
4840 $as_echo_n "checking CFLAGS for C to hide external symbols... " >&6; }
4841 if ${kpse_cv_visibility_cflags+:} false
; then :
4842 $as_echo_n "(cached) " >&6
4845 ac_cpp
='$CPP $CPPFLAGS'
4846 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4847 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4848 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4850 kpse_cv_visibility_cflags
=unknown
4851 kpse_save_flags
=$CFLAGS
4852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4853 /* end confdefs.h. */
4855 extern void foo(void);
4856 void foo(void){printf("foo\n");}
4858 # FIXME: Add tests for non-GNU compilers
4859 for kpse_flag
in '-fvisibility=hidden -fvisibility-inlines-hidden' '-fvisibility=hidden'; do
4860 CFLAGS
="$kpse_save_flags -Werror $kpse_flag"
4861 if ac_fn_c_try_compile
"$LINENO"; then :
4862 kpse_cv_visibility_cflags
=$kpse_flag; break
4864 rm -f core conftest.err conftest.
$ac_objext
4867 ac_cpp
='$CPP $CPPFLAGS'
4868 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4869 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4870 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_visibility_cflags" >&5
4875 $as_echo "$kpse_cv_visibility_cflags" >&6; }
4876 CFLAGS
=$kpse_save_flags
4877 case $kpse_cv_visibility_cflags in #(
4881 VISIBILITY_CFLAGS
=$kpse_cv_visibility_cflags
4889 ac_config_headers
="$ac_config_headers config.h"
4892 # Checks for header files.
4894 ac_cpp
='$CPP $CPPFLAGS'
4895 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4896 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4897 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4899 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4900 # On Suns, sometimes $CPP names a directory.
4901 if test -n "$CPP" && test -d "$CPP"; then
4904 if test -z "$CPP"; then
4905 if ${ac_cv_prog_CPP+:} false
; then :
4906 $as_echo_n "(cached) " >&6
4908 # Double quotes because CPP needs to be expanded
4909 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4912 for ac_c_preproc_warn_flag
in '' yes
4914 # Use a header file that comes with gcc, so configuring glibc
4915 # with a fresh cross-compiler works.
4916 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4917 # <limits.h> exists even on freestanding compilers.
4918 # On the NeXT, cc -E runs the code through the compiler's parser,
4919 # not just through cpp. "Syntax error" is here to catch this case.
4920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4921 /* end confdefs.h. */
4923 # include <limits.h>
4925 # include <assert.h>
4929 if ac_fn_c_try_cpp
"$LINENO"; then :
4932 # Broken: fails on valid input.
4935 rm -f conftest.err conftest.i conftest.
$ac_ext
4937 # OK, works on sane cases. Now check whether nonexistent headers
4938 # can be detected and how.
4939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4940 /* end confdefs.h. */
4941 #include <ac_nonexistent.h>
4943 if ac_fn_c_try_cpp
"$LINENO"; then :
4944 # Broken: success on invalid input.
4947 # Passes both tests.
4951 rm -f conftest.err conftest.i conftest.
$ac_ext
4954 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4955 rm -f conftest.i conftest.err conftest.
$ac_ext
4956 if $ac_preproc_ok; then :
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4969 $as_echo "$CPP" >&6; }
4971 for ac_c_preproc_warn_flag
in '' yes
4973 # Use a header file that comes with gcc, so configuring glibc
4974 # with a fresh cross-compiler works.
4975 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4976 # <limits.h> exists even on freestanding compilers.
4977 # On the NeXT, cc -E runs the code through the compiler's parser,
4978 # not just through cpp. "Syntax error" is here to catch this case.
4979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4980 /* end confdefs.h. */
4982 # include <limits.h>
4984 # include <assert.h>
4988 if ac_fn_c_try_cpp
"$LINENO"; then :
4991 # Broken: fails on valid input.
4994 rm -f conftest.err conftest.i conftest.
$ac_ext
4996 # OK, works on sane cases. Now check whether nonexistent headers
4997 # can be detected and how.
4998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4999 /* end confdefs.h. */
5000 #include <ac_nonexistent.h>
5002 if ac_fn_c_try_cpp
"$LINENO"; then :
5003 # Broken: success on invalid input.
5006 # Passes both tests.
5010 rm -f conftest.err conftest.i conftest.
$ac_ext
5013 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5014 rm -f conftest.i conftest.err conftest.
$ac_ext
5015 if $ac_preproc_ok; then :
5018 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5019 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5020 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5021 See \`config.log' for more details" "$LINENO" 5; }
5025 ac_cpp
='$CPP $CPPFLAGS'
5026 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5027 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5028 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5032 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5033 if ${ac_cv_path_GREP+:} false
; then :
5034 $as_echo_n "(cached) " >&6
5036 if test -z "$GREP"; then
5037 ac_path_GREP_found
=false
5038 # Loop through the user's path and test for each of PROGNAME-LIST
5039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5040 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5043 test -z "$as_dir" && as_dir
=.
5044 for ac_prog
in grep ggrep
; do
5045 for ac_exec_ext
in '' $ac_executable_extensions; do
5046 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5047 as_fn_executable_p
"$ac_path_GREP" ||
continue
5048 # Check for GNU ac_path_GREP and select it if it is found.
5049 # Check for GNU $ac_path_GREP
5050 case `"$ac_path_GREP" --version 2>&1` in
5052 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5055 $as_echo_n 0123456789 >"conftest.in"
5058 cat "conftest.in" "conftest.in" >"conftest.tmp"
5059 mv "conftest.tmp" "conftest.in"
5060 cp "conftest.in" "conftest.nl"
5061 $as_echo 'GREP' >> "conftest.nl"
5062 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5063 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5064 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5065 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5066 # Best one so far, save it but keep looking for a better one
5067 ac_cv_path_GREP
="$ac_path_GREP"
5068 ac_path_GREP_max
=$ac_count
5070 # 10*(2^10) chars as input seems more than enough
5071 test $ac_count -gt 10 && break
5073 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5076 $ac_path_GREP_found && break 3
5081 if test -z "$ac_cv_path_GREP"; then
5082 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5085 ac_cv_path_GREP
=$GREP
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5090 $as_echo "$ac_cv_path_GREP" >&6; }
5091 GREP
="$ac_cv_path_GREP"
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5095 $as_echo_n "checking for egrep... " >&6; }
5096 if ${ac_cv_path_EGREP+:} false
; then :
5097 $as_echo_n "(cached) " >&6
5099 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5100 then ac_cv_path_EGREP
="$GREP -E"
5102 if test -z "$EGREP"; then
5103 ac_path_EGREP_found
=false
5104 # Loop through the user's path and test for each of PROGNAME-LIST
5105 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5106 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5109 test -z "$as_dir" && as_dir
=.
5110 for ac_prog
in egrep; do
5111 for ac_exec_ext
in '' $ac_executable_extensions; do
5112 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5113 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5114 # Check for GNU ac_path_EGREP and select it if it is found.
5115 # Check for GNU $ac_path_EGREP
5116 case `"$ac_path_EGREP" --version 2>&1` in
5118 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5121 $as_echo_n 0123456789 >"conftest.in"
5124 cat "conftest.in" "conftest.in" >"conftest.tmp"
5125 mv "conftest.tmp" "conftest.in"
5126 cp "conftest.in" "conftest.nl"
5127 $as_echo 'EGREP' >> "conftest.nl"
5128 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5129 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5130 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5131 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5132 # Best one so far, save it but keep looking for a better one
5133 ac_cv_path_EGREP
="$ac_path_EGREP"
5134 ac_path_EGREP_max
=$ac_count
5136 # 10*(2^10) chars as input seems more than enough
5137 test $ac_count -gt 10 && break
5139 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5142 $ac_path_EGREP_found && break 3
5147 if test -z "$ac_cv_path_EGREP"; then
5148 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5151 ac_cv_path_EGREP
=$EGREP
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5157 $as_echo "$ac_cv_path_EGREP" >&6; }
5158 EGREP
="$ac_cv_path_EGREP"
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5162 $as_echo_n "checking for ANSI C header files... " >&6; }
5163 if ${ac_cv_header_stdc+:} false
; then :
5164 $as_echo_n "(cached) " >&6
5166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5167 /* end confdefs.h. */
5181 if ac_fn_c_try_compile
"$LINENO"; then :
5182 ac_cv_header_stdc
=yes
5184 ac_cv_header_stdc
=no
5186 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5188 if test $ac_cv_header_stdc = yes; then
5189 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5191 /* end confdefs.h. */
5195 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5196 $EGREP "memchr" >/dev
/null
2>&1; then :
5199 ac_cv_header_stdc
=no
5205 if test $ac_cv_header_stdc = yes; then
5206 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5208 /* end confdefs.h. */
5212 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5213 $EGREP "free" >/dev
/null
2>&1; then :
5216 ac_cv_header_stdc
=no
5222 if test $ac_cv_header_stdc = yes; then
5223 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5224 if test "$cross_compiling" = yes; then :
5227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5228 /* end confdefs.h. */
5231 #if ((' ' & 0x0FF) == 0x020)
5232 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5233 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5235 # define ISLOWER(c) \
5236 (('a' <= (c) && (c) <= 'i') \
5237 || ('j' <= (c) && (c) <= 'r') \
5238 || ('s' <= (c) && (c) <= 'z'))
5239 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5242 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5247 for (i = 0; i < 256; i++)
5248 if (XOR (islower (i), ISLOWER (i))
5249 || toupper (i) != TOUPPER (i))
5254 if ac_fn_c_try_run
"$LINENO"; then :
5257 ac_cv_header_stdc
=no
5259 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5260 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5266 $as_echo "$ac_cv_header_stdc" >&6; }
5267 if test $ac_cv_header_stdc = yes; then
5269 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5273 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5274 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5275 inttypes.h stdint.h unistd.h
5277 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5278 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5280 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5281 cat >>confdefs.h
<<_ACEOF
5282 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5290 for ac_header
in malloc.h stdlib.h string.h
strings.h
5292 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5293 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5294 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5295 cat >>confdefs.h
<<_ACEOF
5296 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5304 # Checks for typedefs, structures, and compiler characteristics.
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
5306 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5307 if ${ac_cv_c_const+:} false
; then :
5308 $as_echo_n "(cached) " >&6
5310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5311 /* end confdefs.h. */
5318 /* Ultrix mips cc rejects this sort of thing. */
5319 typedef int charset[2];
5320 const charset cs = { 0, 0 };
5321 /* SunOS 4.1.1 cc rejects this. */
5322 char const *const *pcpcc;
5324 /* NEC SVR4.0.2 mips cc rejects this. */
5325 struct point {int x, y;};
5326 static struct point const zero = {0,0};
5327 /* AIX XL C 1.02.0.0 rejects this.
5328 It does not let you subtract one const X* pointer from another in
5329 an arm of an if-expression whose if-part is not a constant
5331 const char *g = "string";
5332 pcpcc = &g + (g ? g-g : 0);
5333 /* HPUX 7.0 cc rejects these. */
5335 ppc = (char**) pcpcc;
5336 pcpcc = (char const *const *) ppc;
5337 { /* SCO 3.2v4 cc rejects this sort of thing. */
5340 char const *s = 0 ? (char *) 0 : (char const *) 0;
5345 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5347 const int *foo = &x[0];
5350 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5351 typedef const int *iptr;
5355 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
5356 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5357 struct s { int j; const int *ap[3]; } bx;
5358 struct s *b = &bx; b->j = 5;
5360 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5364 return !cs[0] && !zero.x;
5371 if ac_fn_c_try_compile
"$LINENO"; then :
5376 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
5379 $as_echo "$ac_cv_c_const" >&6; }
5380 if test $ac_cv_c_const = no
; then
5382 $as_echo "#define const /**/" >>confdefs.h
5386 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5387 if test "x$ac_cv_type_size_t" = xyes
; then :
5391 cat >>confdefs.h
<<_ACEOF
5392 #define size_t unsigned int
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
5398 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
5399 if ${ac_cv_struct_tm+:} false
; then :
5400 $as_echo_n "(cached) " >&6
5402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5403 /* end confdefs.h. */
5404 #include <sys/types.h>
5411 int *p = &tm.tm_sec;
5417 if ac_fn_c_try_compile
"$LINENO"; then :
5418 ac_cv_struct_tm
=time.h
5420 ac_cv_struct_tm
=sys
/time.h
5422 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
5425 $as_echo "$ac_cv_struct_tm" >&6; }
5426 if test $ac_cv_struct_tm = sys
/time.h
; then
5428 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
5433 $as_echo_n "checking for C/C++ restrict keyword... " >&6; }
5434 if ${ac_cv_c_restrict+:} false
; then :
5435 $as_echo_n "(cached) " >&6
5438 # The order here caters to the fact that C++ does not require restrict.
5439 for ac_kw
in __restrict __restrict__ _Restrict restrict
; do
5440 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5441 /* end confdefs.h. */
5442 typedef int * int_ptr;
5443 int foo (int_ptr $ac_kw ip) {
5457 if ac_fn_c_try_compile
"$LINENO"; then :
5458 ac_cv_c_restrict
=$ac_kw
5460 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5461 test "$ac_cv_c_restrict" != no
&& break
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5
5466 $as_echo "$ac_cv_c_restrict" >&6; }
5468 case $ac_cv_c_restrict in
5470 no
) $as_echo "#define restrict /**/" >>confdefs.h
5472 *) cat >>confdefs.h
<<_ACEOF
5473 #define restrict $ac_cv_c_restrict
5479 # Checks for library functions.
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
5481 $as_echo_n "checking for working strtod... " >&6; }
5482 if ${ac_cv_func_strtod+:} false
; then :
5483 $as_echo_n "(cached) " >&6
5485 if test "$cross_compiling" = yes; then :
5486 ac_cv_func_strtod
=no
5488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5489 /* end confdefs.h. */
5491 $ac_includes_default
5499 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
5500 char *string = " +69";
5503 value = strtod (string, &term);
5504 if (value != 69 || term != (string + 4))
5509 /* Under Solaris 2.4, strtod returns the wrong value for the
5510 terminating character under some conditions. */
5511 char *string = "NaN";
5513 strtod (string, &term);
5514 if (term != string && *(term - 1) == 0)
5521 if ac_fn_c_try_run
"$LINENO"; then :
5522 ac_cv_func_strtod
=yes
5524 ac_cv_func_strtod
=no
5526 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5527 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
5532 $as_echo "$ac_cv_func_strtod" >&6; }
5533 if test $ac_cv_func_strtod = no
; then
5534 case " $LIBOBJS " in
5535 *" strtod.$ac_objext "* ) ;;
5536 *) LIBOBJS
="$LIBOBJS strtod.$ac_objext"
5540 ac_fn_c_check_func
"$LINENO" "pow" "ac_cv_func_pow"
5541 if test "x$ac_cv_func_pow" = xyes
; then :
5545 if test $ac_cv_func_pow = no
; then
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
5547 $as_echo_n "checking for pow in -lm... " >&6; }
5548 if ${ac_cv_lib_m_pow+:} false
; then :
5549 $as_echo_n "(cached) " >&6
5551 ac_check_lib_save_LIBS
=$LIBS
5553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5554 /* end confdefs.h. */
5556 /* Override any GCC internal prototype to avoid an error.
5557 Use char because int might match the return type of a GCC
5558 builtin and then its argument prototype would still apply. */
5571 if ac_fn_c_try_link
"$LINENO"; then :
5576 rm -f core conftest.err conftest.
$ac_objext \
5577 conftest
$ac_exeext conftest.
$ac_ext
5578 LIBS
=$ac_check_lib_save_LIBS
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
5581 $as_echo "$ac_cv_lib_m_pow" >&6; }
5582 if test "x$ac_cv_lib_m_pow" = xyes
; then :
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
5586 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
5593 for ac_func
in memset
5595 ac_fn_c_check_func
"$LINENO" "memset" "ac_cv_func_memset"
5596 if test "x$ac_cv_func_memset" = xyes
; then :
5597 cat >>confdefs.h
<<_ACEOF
5598 #define HAVE_MEMSET 1
5602 as_fn_error $?
"memset not found in libc" "$LINENO" 5
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pow" >&5
5607 $as_echo_n "checking for library containing pow... " >&6; }
5608 if ${ac_cv_search_pow+:} false
; then :
5609 $as_echo_n "(cached) " >&6
5611 ac_func_search_save_LIBS
=$LIBS
5612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5613 /* end confdefs.h. */
5615 /* Override any GCC internal prototype to avoid an error.
5616 Use char because int might match the return type of a GCC
5617 builtin and then its argument prototype would still apply. */
5630 for ac_lib
in '' m
; do
5631 if test -z "$ac_lib"; then
5632 ac_res
="none required"
5635 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5637 if ac_fn_c_try_link
"$LINENO"; then :
5638 ac_cv_search_pow
=$ac_res
5640 rm -f core conftest.err conftest.
$ac_objext \
5642 if ${ac_cv_search_pow+:} false
; then :
5646 if ${ac_cv_search_pow+:} false
; then :
5652 LIBS
=$ac_func_search_save_LIBS
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pow" >&5
5655 $as_echo "$ac_cv_search_pow" >&6; }
5656 ac_res
=$ac_cv_search_pow
5657 if test "$ac_res" != no
; then :
5658 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5661 as_fn_error $?
"cannot find pow" "$LINENO" 5
5665 kpse_save_CPPFLAGS
=$CPPFLAGS
5666 kpse_save_LIBS
=$LIBS
5668 ## _KPSE_INIT: Initialize TL infrastructure
5669 kpse_BLD
=`(cd "./../../." && pwd)`
5670 kpse_SRC
=`(cd "$srcdir/../../." && pwd)`
5672 ## _KPSE_LIB_FLAGS: Setup zlib (-lz) flags
5674 # Check whether --with-system-zlib was given.
5675 if test "${with_system_zlib+set}" = set; then :
5676 withval
=$with_system_zlib;
5679 # Check whether --with-zlib-includes was given.
5680 if test "${with_zlib_includes+set}" = set; then :
5681 withval
=$with_zlib_includes;
5684 # Check whether --with-zlib-libdir was given.
5685 if test "${with_zlib_libdir+set}" = set; then :
5686 withval
=$with_zlib_libdir;
5688 if test "x$with_system_zlib" = xyes
; then
5689 if test "x$with_zlib_includes" != x
&& test "x$with_zlib_includes" != xyes
; then
5690 ZLIB_INCLUDES
="-I$with_zlib_includes"
5693 if test "x$with_zlib_libdir" != x
&& test "x$with_zlib_libdir" != xyes
; then
5694 ZLIB_LIBS
="-L$with_zlib_libdir $ZLIB_LIBS"
5697 ZLIB_INCLUDES
="-I$kpse_BLD/libs/zlib/include"
5698 ZLIB_LIBS
="$kpse_BLD/libs/zlib/libz.a"
5699 ZLIB_DEPEND
='${top_builddir}/../../libs/zlib/libz.a'
5700 ZLIB_RULE
='# Rebuild libz
5701 $(ZLIB_DEPEND): ${top_builddir}/../../libs/zlib/include/zconf.h
5702 cd ${top_builddir}/../../libs/zlib && $(MAKE) $(AM_MAKEFLAGS) rebuild
5703 ${top_builddir}/../../libs/zlib/include/zconf.h:
5704 cd ${top_builddir}/../../libs/zlib && $(MAKE) $(AM_MAKEFLAGS) rebuild'
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if <zlib.h> defines 'z_const'" >&5
5707 $as_echo_n "checking if <zlib.h> defines 'z_const'... " >&6; }
5708 if ${kpse_cv_have_decl_z_const+:} false
; then :
5709 $as_echo_n "(cached) " >&6
5711 eval CPPFLAGS
=\"$ZLIB_INCLUDES \
$CPPFLAGS\"
5712 eval LIBS
=\"$ZLIB_LIBS \
$LIBS\"
5714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5715 /* end confdefs.h. */
5720 z_const char * foo();
5725 if ac_fn_c_try_compile
"$LINENO"; then :
5726 kpse_cv_have_decl_z_const
=yes
5728 kpse_cv_have_decl_z_const
=no
5730 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5731 CPPFLAGS
=$kpse_save_CPPFLAGS
5732 LIBS
=$kpse_save_LIBS
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_decl_z_const" >&5
5736 $as_echo "$kpse_cv_have_decl_z_const" >&6; }
5737 case $kpse_cv_have_decl_z_const in #(
5740 $as_echo "#define ZLIB_CONST 1" >>confdefs.h
5744 $as_echo "#define z_const /**/" >>confdefs.h
5749 if test "x$enable_build" != xno
; then
5758 if test "x$enable_build" != xno ||
test -f config.force
; then
5760 eval CPPFLAGS
=\"$ZLIB_INCLUDES \
$CPPFLAGS\"
5761 eval LIBS
=\"$ZLIB_LIBS \
$LIBS\"
5763 ac_fn_c_check_func
"$LINENO" "zlibVersion" "ac_cv_func_zlibVersion"
5764 if test "x$ac_cv_func_zlibVersion" = xyes
; then :
5767 as_fn_error $?
"zlib not found" "$LINENO" 5
5770 CPPFLAGS
=$kpse_save_CPPFLAGS
5771 LIBS
=$kpse_save_LIBS
5774 echo timestamp
>config.force
5777 LIBPNG_TREE
=libpng-src
5780 LIBPNG_DEFINES
='-DPNG_CONFIGURE_LIBPNG -DPNG_NO_MMX_CODE'
5783 ac_config_files
="$ac_config_files Makefile include/Makefile"
5786 cat >confcache
<<\_ACEOF
5787 # This file is a shell script that caches the results of configure
5788 # tests run on this system so they can be shared between configure
5789 # scripts and configure runs, see configure's option --config-cache.
5790 # It is not useful on other systems. If it contains results you don't
5791 # want to keep, you may remove or edit it.
5793 # config.status only pays attention to the cache file if you give it
5794 # the --recheck option to rerun configure.
5796 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5797 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5802 # The following way of writing the cache mishandles newlines in values,
5803 # but we know of no workaround that is simple, portable, and efficient.
5804 # So, we kill variables containing newlines.
5805 # Ultrix sh set writes to stderr and can't be redirected directly,
5806 # and sets the high bit in the cache file unless we assign to the vars.
5808 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5809 eval ac_val
=\$
$ac_var
5813 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5814 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5817 _ | IFS | as_nl
) ;; #(
5818 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
5819 *) { eval $ac_var=; unset $ac_var;} ;;
5825 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5826 *${as_nl}ac_space
=\
*)
5827 # `set' does not quote correctly, so add quotes: double-quote
5828 # substitution turns \\\\ into \\, and sed turns \\ into \.
5831 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5834 # `set' quotes correctly as required by POSIX, so do not add quotes.
5835 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5844 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5846 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5848 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
5849 if test -w "$cache_file"; then
5850 if test "x$cache_file" != "x/dev/null"; then
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5852 $as_echo "$as_me: updating cache $cache_file" >&6;}
5853 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
5854 cat confcache
>"$cache_file"
5856 case $cache_file in #(
5858 mv -f confcache
"$cache_file"$$
&&
5859 mv -f "$cache_file"$$
"$cache_file" ;; #(
5861 mv -f confcache
"$cache_file" ;;
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5867 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5872 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5873 # Let make expand exec_prefix.
5874 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5876 DEFS
=-DHAVE_CONFIG_H
5881 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5882 # 1. Remove the extension, and $U if already installed.
5883 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
5884 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
5885 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5886 # will be set to the directory where LIBOBJS objects are built.
5887 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5888 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
5892 LTLIBOBJS
=$ac_ltlibobjs
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
5896 $as_echo_n "checking that generated files are newer than configure... " >&6; }
5897 if test -n "$am_sleep_pid"; then
5898 # Hide warnings about reused PIDs.
5899 wait $am_sleep_pid 2>/dev
/null
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
5902 $as_echo "done" >&6; }
5903 if test -n "$EXEEXT"; then
5905 am__EXEEXT_FALSE
='#'
5911 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5912 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
5913 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5915 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5916 as_fn_error $?
"conditional \"AMDEP\" was never defined.
5917 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5919 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5920 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
5921 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5923 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5924 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
5925 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5927 if test -z "${build_TRUE}" && test -z "${build_FALSE}"; then
5928 as_fn_error $?
"conditional \"build\" was never defined.
5929 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5932 : "${CONFIG_STATUS=./config.status}"
5934 ac_clean_files_save
=$ac_clean_files
5935 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5937 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5939 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5941 # Generated by $as_me.
5942 # Run this file to recreate the current configuration.
5943 # Compiler output produced by configure, useful for debugging
5944 # configure, is in config.log if it exists.
5950 SHELL=\${CONFIG_SHELL-$SHELL}
5953 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
5954 ## -------------------- ##
5955 ## M4sh Initialization. ##
5956 ## -------------------- ##
5958 # Be more Bourne compatible
5959 DUALCASE
=1; export DUALCASE
# for MKS sh
5960 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
5963 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5964 # is contrary to our usage. Disable this feature.
5965 alias -g '${1+"$@"}'='"$@"'
5966 setopt NO_GLOB_SUBST
5968 case `(set -o) 2>/dev/null` in #(
5980 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5981 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5982 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5983 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5984 # Prefer a ksh shell builtin over an external printf program on Solaris,
5985 # but without wasting forks for bash or zsh.
5986 if test -z "$BASH_VERSION$ZSH_VERSION" \
5987 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5988 as_echo='print
-r --'
5989 as_echo_n='print
-rn --'
5990 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5991 as_echo='printf %s
\n'
5992 as_echo_n='printf %s
'
5994 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5995 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
5996 as_echo_n='/usr
/ucb
/echo -n'
5998 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5999 as_echo_n_body='eval
6003 expr "X$arg" : "X\\(.*\\)$as_nl";
6004 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6006 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
6008 export as_echo_n_body
6009 as_echo_n='sh
-c $as_echo_n_body as_echo
'
6012 as_echo='sh
-c $as_echo_body as_echo
'
6015 # The user is always right.
6016 if test "${PATH_SEPARATOR+set}" != set; then
6018 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6019 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6026 # We need space, tab and new line, in precisely that order. Quoting is
6027 # there to prevent editors from complaining about space-tab.
6028 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6029 # splitting by setting IFS to empty value.)
6032 # Find who we are. Look in the path if we contain no directory separator.
6035 *[\\/]* ) as_myself=$0 ;;
6036 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6040 test -z "$as_dir" && as_dir=.
6041 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6047 # We did not find ourselves, most probably we were run as `sh COMMAND'
6048 # in which case we are not to be found in the path.
6049 if test "x$as_myself" = x
; then
6052 if test ! -f "$as_myself"; then
6053 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6057 # Unset variables that we do not need and which cause bugs (e.g. in
6058 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6059 # suppresses any "Segmentation fault" message there. '((' could
6060 # trigger a bug in pdksh 5.2.14.
6061 for as_var
in BASH_ENV ENV MAIL MAILPATH
6062 do eval test x\
${$as_var+set} = xset \
6063 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
6076 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
6079 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6080 # ----------------------------------------
6081 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6082 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6083 # script with STATUS, using 1 if that was 0.
6086 as_status
=$1; test $as_status -eq 0 && as_status
=1
6088 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
6089 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6091 $as_echo "$as_me: error: $2" >&2
6092 as_fn_exit
$as_status
6096 # as_fn_set_status STATUS
6097 # -----------------------
6098 # Set $? to STATUS, without forking.
6102 } # as_fn_set_status
6106 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6116 # Portably unset VAR.
6119 { eval $1=; unset $1;}
6121 as_unset
=as_fn_unset
6122 # as_fn_append VAR VALUE
6123 # ----------------------
6124 # Append the text in VALUE to the end of the definition contained in VAR. Take
6125 # advantage of any shell optimizations that allow amortized linear growth over
6126 # repeated appends, instead of the typical quadratic growth present in naive
6128 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
6129 eval 'as_fn_append ()
6140 # as_fn_arith ARG...
6141 # ------------------
6142 # Perform arithmetic evaluation on the ARGs, and store the result in the
6143 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6144 # must be portable across $(()) and expr.
6145 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
6146 eval 'as_fn_arith ()
6153 as_val
=`expr "$@" || test $? -eq 1`
6158 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
6159 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
6165 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6166 as_basename
=basename
6171 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
6177 as_me
=`$as_basename -- "$0" ||
6178 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6179 X"$0" : 'X\(//\)$' \| \
6180 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6182 sed '/^.*\/\([^/][^/]*\)\/*$/{
6196 # Avoid depending upon Character Ranges.
6197 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6198 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6199 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6200 as_cr_digits
='0123456789'
6201 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6203 ECHO_C
= ECHO_N
= ECHO_T
=
6204 case `echo -n x` in #(((((
6206 case `echo 'xy\c'` in
6207 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
6209 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
6216 rm -f conf$$ conf$$.exe conf$$.
file
6217 if test -d conf$$.dir
; then
6218 rm -f conf$$.dir
/conf$$.
file
6221 mkdir conf$$.dir
2>/dev
/null
6223 if (echo >conf$$.
file) 2>/dev
/null
; then
6224 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6226 # ... but there are two gotchas:
6227 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6228 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6229 # In both cases, we have to default to `cp -pR'.
6230 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
6232 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6240 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
6241 rmdir conf$$.dir
2>/dev
/null
6246 # Create "$as_dir" as a directory, including parents if necessary.
6251 -*) as_dir
=.
/$as_dir;;
6253 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
6257 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6258 *) as_qdir
=$as_dir;;
6260 as_dirs
="'$as_qdir' $as_dirs"
6261 as_dir
=`$as_dirname -- "$as_dir" ||
6262 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6263 X"$as_dir" : 'X\(//\)[^/]' \| \
6264 X"$as_dir" : 'X\(//\)$' \| \
6265 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6266 $as_echo X"$as_dir" |
6267 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6284 test -d "$as_dir" && break
6286 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
6287 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
6291 if mkdir
-p .
2>/dev
/null
; then
6292 as_mkdir_p
='mkdir -p "$as_dir"'
6294 test -d .
/-p && rmdir .
/-p
6299 # as_fn_executable_p FILE
6300 # -----------------------
6301 # Test if FILE is an executable regular file.
6302 as_fn_executable_p
()
6304 test -f "$1" && test -x "$1"
6305 } # as_fn_executable_p
6307 as_executable_p
=as_fn_executable_p
6309 # Sed expression to map a string onto a valid CPP name.
6310 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6312 # Sed expression to map a string onto a valid variable name.
6313 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6317 ## ----------------------------------- ##
6318 ## Main body of $CONFIG_STATUS script. ##
6319 ## ----------------------------------- ##
6321 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
6323 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6324 # Save the log message, to keep $0 and so on meaningful, and to
6325 # report actual input values of CONFIG_FILES etc. instead of their
6326 # values after options handling.
6328 This file was extended by libpng (TeX Live) $as_me 1.6.21, which was
6329 generated by GNU Autoconf 2.69. Invocation command line was
6331 CONFIG_FILES = $CONFIG_FILES
6332 CONFIG_HEADERS = $CONFIG_HEADERS
6333 CONFIG_LINKS = $CONFIG_LINKS
6334 CONFIG_COMMANDS = $CONFIG_COMMANDS
6337 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6342 case $ac_config_files in *"
6343 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
6346 case $ac_config_headers in *"
6347 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
6351 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6352 # Files that config.status was made for.
6353 config_files="$ac_config_files"
6354 config_headers="$ac_config_headers"
6355 config_commands="$ac_config_commands"
6359 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6361 \`$as_me' instantiates files and other configuration actions
6362 from templates according to the current configuration. Unless the files
6363 and actions are specified as TAGs, all are instantiated by default.
6365 Usage: $0 [OPTION]... [TAG]...
6367 -h, --help print this help, then exit
6368 -V, --version print version number and configuration settings, then exit
6369 --config print configuration, then exit
6370 -q, --quiet, --silent
6371 do not print progress messages
6372 -d, --debug don't remove temporary files
6373 --recheck update $as_me by reconfiguring in the same conditions
6374 --file=FILE[:TEMPLATE]
6375 instantiate the configuration file FILE
6376 --header=FILE[:TEMPLATE]
6377 instantiate the configuration header FILE
6379 Configuration files:
6382 Configuration headers:
6385 Configuration commands:
6388 Report bugs to <tex-k@tug.org>."
6391 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6392 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6394 libpng (TeX Live) config.status 1.6.21
6395 configured by $0, generated by GNU Autoconf 2.69,
6396 with options \\"\$ac_cs_config\\"
6398 Copyright (C) 2012 Free Software Foundation, Inc.
6399 This config.status script is free software; the Free Software Foundation
6400 gives unlimited permission to copy, distribute and modify it."
6407 test -n "\$AWK" || AWK=awk
6410 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6411 # The default lists apply if the user does not specify any file.
6417 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6418 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
6422 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6434 # Handling of the options.
6435 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6437 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
6438 $as_echo "$ac_cs_version"; exit ;;
6439 --config |
--confi |
--conf |
--con |
--co |
--c )
6440 $as_echo "$ac_cs_config"; exit ;;
6441 --debug |
--debu |
--deb |
--de |
--d |
-d )
6443 --file |
--fil |
--fi |
--f )
6446 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6447 '') as_fn_error $?
"missing file argument" ;;
6449 as_fn_append CONFIG_FILES
" '$ac_optarg'"
6450 ac_need_defaults
=false
;;
6451 --header |
--heade |
--head |
--hea )
6454 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6456 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
6457 ac_need_defaults
=false
;;
6459 # Conflict between --help and --header
6460 as_fn_error $?
"ambiguous option: \`$1'
6461 Try \`$0 --help' for more information.";;
6462 --help |
--hel |
-h )
6463 $as_echo "$ac_cs_usage"; exit ;;
6464 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6465 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6469 -*) as_fn_error $?
"unrecognized option: \`$1'
6470 Try \`$0 --help' for more information." ;;
6472 *) as_fn_append ac_config_targets
" $1"
6473 ac_need_defaults
=false
;;
6479 ac_configure_extra_args
=
6481 if $ac_cs_silent; then
6483 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6487 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6488 if \$ac_cs_recheck; then
6489 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6491 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6492 CONFIG_SHELL='$SHELL'
6498 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6502 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6503 ## Running $as_me. ##
6509 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6513 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6517 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6519 # Handling of arguments.
6520 for ac_config_target
in $ac_config_targets
6522 case $ac_config_target in
6523 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
6524 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
6525 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6526 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
6528 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6533 # If the user did not use the arguments to specify the items to instantiate,
6534 # then the envvar interface is used. Set only those that are not.
6535 # We use the long form for the default assignment because of an extremely
6536 # bizarre bug on SunOS 4.1.3.
6537 if $ac_need_defaults; then
6538 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6539 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6540 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
6543 # Have a temporary directory for convenience. Make it in the build tree
6544 # simply because there is no reason against having it here, and in addition,
6545 # creating and moving files from /tmp can sometimes cause problems.
6546 # Hook for its removal unless debugging.
6547 # Note that there is a small window in which the directory will not be cleaned:
6548 # after its creation but before its name has been assigned to `$tmp'.
6552 trap 'exit_status=$?
6554 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6556 trap 'as_fn_exit 1' 1 2 13 15
6558 # Create a (secure) tmp directory for tmp files.
6561 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6565 tmp
=.
/conf$$
-$RANDOM
6566 (umask 077 && mkdir
"$tmp")
6567 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
6570 # Set up the scripts for CONFIG_FILES section.
6571 # No need to generate them if there are no CONFIG_FILES.
6572 # This happens for instance with `./config.status config.h'.
6573 if test -n "$CONFIG_FILES"; then
6576 ac_cr
=`echo X | tr X '\015'`
6577 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6578 # But we know of no other shell where ac_cr would be empty at this
6579 # point, so we can use a bashism as a fallback.
6580 if test "x$ac_cr" = x
; then
6581 eval ac_cr
=\$
\'\\r
\'
6583 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6584 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6590 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6595 echo "cat >conf$$subs.awk <<_ACEOF" &&
6596 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6599 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6600 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6602 for ac_last_try in false false false false false :; do
6603 . ./conf$$subs.sh ||
6604 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6606 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
6607 if test $ac_delim_n = $ac_delim_num; then
6609 elif $ac_last_try; then
6610 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6612 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6617 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6618 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
6622 s/^/S["/; s
/!.
*/"]=/
6632 s/\(.\{148\}\)..*/\1/
6634 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
6639 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6646 s/\(.\{148\}\)..*/\1/
6648 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
6652 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6657 ' <conf$$subs.awk | sed '
6662 ' >>$CONFIG_STATUS || ac_write_fail=1
6663 rm -f conf$$subs.awk
6664 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6666 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
6667 for (key in S) S_is_set[key] = 1
6673 nfields = split(line, field, "@
")
6675 len = length(field[1])
6676 for (i = 2; i < nfields; i++) {
6678 keylen = length(key)
6679 if (S_is_set[key]) {
6681 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6682 len += length(value) + length(field[++i])
6693 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6694 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6695 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
6698 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
6699 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
6702 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6703 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
6704 # trailing colons and then remove the whole line if VPATH becomes empty
6705 # (actually we leave an empty line to preserve line numbers).
6706 if test "x
$srcdir" = x.; then
6707 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6725 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6726 fi # test -n "$CONFIG_FILES"
6728 # Set up the scripts for CONFIG_HEADERS section.
6729 # No need to generate them if there are no CONFIG_HEADERS.
6730 # This happens for instance with `./config.status Makefile'.
6731 if test -n "$CONFIG_HEADERS"; then
6732 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
6736 # Transform confdefs.h into an awk script `defines.awk', embedded as
6737 # here-document in config.status, that substitutes the proper values into
6738 # config.h.in to produce config.h.
6740 # Create a delimiter string that does not exist in confdefs.h, to ease
6741 # handling of long lines.
6743 for ac_last_try in false false :; do
6744 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
6745 if test -z "$ac_tt"; then
6747 elif $ac_last_try; then
6748 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
6750 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6754 # For the awk script, D is an array of macro values keyed by name,
6755 # likewise P contains macro parameters if any. Preserve backslash
6756 # newline sequences.
6758 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6760 s/.\{148\}/&'"$ac_delim"'/g
6763 s/^[ ]*#[ ]*define[ ][ ]*/ /
6770 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
6772 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
6776 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
6777 D["\
1"]=" \
3\\\\\\n
"\\/p
6779 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
6784 s/.\{148\}/&'"$ac_delim"'/g
6789 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
6792 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
6794 ' <confdefs.h | sed '
6795 s/'"$ac_delim"'/"\\\
6796 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6798 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6799 for (key in D) D_is_set[key] = 1
6802 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6804 split(line, arg, " ")
6805 if (arg[1] == "#") {
6809 defundef
= substr
(arg
[1], 2)
6812 split(mac1
, mac2
, "(") #)
6814 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
6815 if (D_is_set
[macro
]) {
6816 # Preserve the white space surrounding the "#".
6817 print prefix
"define", macro P
[macro
] D
[macro
]
6820 # Replace #undef with comments. This is necessary, for example,
6821 # in the case of _POSIX_SOURCE, which is predefined and required
6822 # on some systems where configure will not decide to define it.
6823 if (defundef
== "undef") {
6824 print
"/*", prefix defundef
, macro
, "*/"
6832 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6833 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
6834 fi # test -n "$CONFIG_HEADERS"
6837 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6842 :[FHLC
]) ac_mode
=$ac_tag; continue;;
6844 case $ac_mode$ac_tag in
6846 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
6847 :[FH
]-) ac_tag
=-:-;;
6848 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
6865 -) ac_f
="$ac_tmp/stdin";;
6866 *) # Look for the file first in the build tree, then in the source tree
6867 # (if the path is not absolute). The absolute path cannot be DOS-style,
6868 # because $ac_f cannot contain `:'.
6872 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
6874 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6876 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6877 as_fn_append ac_file_inputs
" '$ac_f'"
6880 # Let's still pretend it is `configure' which instantiates (i.e., don't
6881 # use $as_me), people would be surprised to read:
6882 # /* config.h. Generated by config.status. */
6883 configure_input
='Generated from '`
6884 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6886 if test x
"$ac_file" != x-
; then
6887 configure_input
="$ac_file. $configure_input"
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6889 $as_echo "$as_me: creating $ac_file" >&6;}
6891 # Neutralize special characters interpreted by sed in replacement strings.
6892 case $configure_input in #(
6893 *\
&* |
*\|
* |
*\\* )
6894 ac_sed_conf_input
=`$as_echo "$configure_input" |
6895 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6896 *) ac_sed_conf_input
=$configure_input;;
6900 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
6901 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
6906 ac_dir
=`$as_dirname -- "$ac_file" ||
6907 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6908 X"$ac_file" : 'X\(//\)[^/]' \| \
6909 X"$ac_file" : 'X\(//\)$' \| \
6910 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6911 $as_echo X"$ac_file" |
6912 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6929 as_dir
="$ac_dir"; as_fn_mkdir_p
6933 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6935 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6936 # A ".." for each directory in $ac_dir_suffix.
6937 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6938 case $ac_top_builddir_sub in
6939 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6940 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
6943 ac_abs_top_builddir
=$ac_pwd
6944 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
6945 # for backward compatibility:
6946 ac_top_builddir
=$ac_top_build_prefix
6949 .
) # We are building in place.
6951 ac_top_srcdir
=$ac_top_builddir_sub
6952 ac_abs_top_srcdir
=$ac_pwd ;;
6953 [\\/]* | ?
:[\\/]* ) # Absolute name.
6954 ac_srcdir
=$srcdir$ac_dir_suffix;
6955 ac_top_srcdir
=$srcdir
6956 ac_abs_top_srcdir
=$srcdir ;;
6958 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
6959 ac_top_srcdir
=$ac_top_build_prefix$srcdir
6960 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
6962 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
6972 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
6973 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
6977 [\\/$
]* | ?
:[\\/]* ) ;;
6978 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
6982 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6983 # If the template does not know about datarootdir, expand it.
6984 # FIXME: This hack should be removed a few years after 2.60.
6985 ac_datarootdir_hack
=; ac_datarootdir_seen
=
6996 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6997 *datarootdir
*) ac_datarootdir_seen
=yes;;
6998 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7000 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7002 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7003 ac_datarootdir_hack='
7004 s&@datadir@&$datadir&g
7005 s&@docdir@&$docdir&g
7006 s&@infodir@&$infodir&g
7007 s&@localedir@&$localedir&g
7008 s&@mandir@&$mandir&g
7009 s&\\\${datarootdir}&$datarootdir&g' ;;
7013 # Neutralize VPATH when `$srcdir' = `.'.
7014 # Shell code in configure.ac might set extrasub.
7015 # FIXME: do we really want to maintain this feature?
7016 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7017 ac_sed_extra="$ac_vpsub
7020 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7022 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7023 s|@configure_input@|
$ac_sed_conf_input|
;t t
7024 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
7025 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
7026 s
&@srcdir@
&$ac_srcdir&;t t
7027 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
7028 s
&@top_srcdir@
&$ac_top_srcdir&;t t
7029 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
7030 s
&@builddir@
&$ac_builddir&;t t
7031 s
&@abs_builddir@
&$ac_abs_builddir&;t t
7032 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
7033 s
&@INSTALL@
&$ac_INSTALL&;t t
7034 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
7035 $ac_datarootdir_hack
7037 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
7038 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
7040 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7041 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
7042 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7043 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
7044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
7045 which seems to be undefined. Please make sure it is defined" >&5
7046 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
7047 which seems to be undefined. Please make sure it is defined" >&2;}
7049 rm -f "$ac_tmp/stdin"
7051 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7052 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7054 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7060 if test x"$ac_file" != x-; then
7062 $as_echo "/* $configure_input */" \
7063 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
7064 } >"$ac_tmp/config.h" \
7065 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7066 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
7067 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7068 $as_echo "$as_me: $ac_file is unchanged" >&6;}
7071 mv "$ac_tmp/config.h" "$ac_file" \
7072 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7075 $as_echo "/* $configure_input */" \
7076 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
7077 || as_fn_error $? "could not create -" "$LINENO" 5
7079 # Compute "$ac_file"'s index
in $config_headers.
7082 for _am_header
in $config_headers :; do
7084 $_am_arg |
$_am_arg:* )
7087 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
7090 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
7091 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7092 X"$_am_arg" : 'X\(//\)[^/]' \| \
7093 X"$_am_arg" : 'X\(//\)$' \| \
7094 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
7095 $as_echo X"$_am_arg" |
7096 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7112 s/.*/./; q'`/stamp-h
$_am_stamp_count
7115 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7116 $as_echo "$as_me: executing $ac_file commands" >&6;}
7121 case $ac_file$ac_mode in
7122 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
7123 # Older Autoconf quotes --file arguments for eval, but not when files
7124 # are listed without --file. Let's play safe and only enable the eval
7125 # if we detect the quoting.
7126 case $CONFIG_FILES in
7127 *\'*) eval set x
"$CONFIG_FILES" ;;
7128 *) set x
$CONFIG_FILES ;;
7133 # Strip MF so we end up with the name of the file.
7134 mf
=`echo "$mf" | sed -e 's/:.*$//'`
7135 # Check whether this is an Automake generated Makefile or not.
7136 # We used to match only the files named 'Makefile.in', but
7137 # some people rename them; so instead we look at the file content.
7138 # Grep'ing the first line is not enough: some people post-process
7139 # each Makefile.in and add a new line on top of each file to say so.
7140 # Grep'ing the whole file is not good either: AIX grep has a line
7141 # limit of 2048, but all sed's we know have understand at least 4000.
7142 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
7143 dirpart
=`$as_dirname -- "$mf" ||
7144 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7145 X"$mf" : 'X\(//\)[^/]' \| \
7146 X"$mf" : 'X\(//\)$' \| \
7147 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7149 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7169 # Extract the definition of DEPDIR, am__include, and am__quote
7170 # from the Makefile without running 'make'.
7171 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
7172 test -z "$DEPDIR" && continue
7173 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
7174 test -z "$am__include" && continue
7175 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
7176 # Find all dependency output files, they are included files with
7177 # $(DEPDIR) in their names. We invoke sed twice because it is the
7178 # simplest approach to changing $(DEPDIR) to its actual value in the
7180 for file in `sed -n "
7181 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7182 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
7183 # Make sure the directory exists.
7184 test -f "$dirpart/$file" && continue
7185 fdir
=`$as_dirname -- "$file" ||
7186 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7187 X"$file" : 'X\(//\)[^/]' \| \
7188 X"$file" : 'X\(//\)$' \| \
7189 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7191 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7208 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
7209 # echo "creating $dirpart/$file"
7210 echo '# dummy' > "$dirpart/$file"
7222 ac_clean_files
=$ac_clean_files_save
7224 test $ac_write_fail = 0 ||
7225 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
7228 # configure is writing to config.log, and then calls config.status.
7229 # config.status does its own redirection, appending to config.log.
7230 # Unfortunately, on DOS this fails, as config.log is still kept open
7231 # by configure, so config.status won't be able to write to it; its
7232 # output is simply discarded. So we exec the FD to /dev/null,
7233 # effectively closing config.log, so it can be properly (re)opened and
7234 # appended to by config.status. When coming back to configure, we
7235 # need to make the FD available again.
7236 if test "$no_create" != yes; then
7238 ac_config_status_args
=
7239 test "$silent" = yes &&
7240 ac_config_status_args
="$ac_config_status_args --quiet"
7242 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7244 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7245 # would make configure fail if this is the last instruction.
7246 $ac_cs_success || as_fn_exit
1
7248 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7250 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}