2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for libpng (TeX Live) 1.6.15.
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.15'
584 PACKAGE_STRING
='libpng (TeX Live) 1.6.15'
585 PACKAGE_BUGREPORT
='tex-k@tug.org'
588 ac_unique_file
="libpng-1.6.15/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.15 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.15:";;
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.15
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.15, 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.14'
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}" != 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. The system "awk" is bad on
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
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3902 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3903 # Check whether --enable-maintainer-mode was given.
3904 if test "${enable_maintainer_mode+set}" = set; then :
3905 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3907 USE_MAINTAINER_MODE=no
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3911 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3912 if test $USE_MAINTAINER_MODE = yes; then
3913 MAINTAINER_MODE_TRUE=
3914 MAINTAINER_MODE_FALSE='#'
3916 MAINTAINER_MODE_TRUE='#'
3917 MAINTAINER_MODE_FALSE=
3920 MAINT=$MAINTAINER_MODE_TRUE
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5
3924 $as_echo_n "checking whether the compiler accepts prototypes... " >&6; }
3925 if ${kb_cv_c_prototypes+:} false; then :
3926 $as_echo_n "(cached) " >&6
3928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3929 /* end confdefs.h. */
3934 extern void foo(int i,...);
3939 if ac_fn_c_try_link "$LINENO"; then :
3940 kb_cv_c_prototypes=yes
3942 kb_cv_c_prototypes=no
3944 rm -f core conftest.err conftest.$ac_objext \
3945 conftest$ac_exeext conftest.$ac_ext
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5
3948 $as_echo "$kb_cv_c_prototypes" >&6; }
3949 if test "x$kb_cv_c_prototypes" = xno; then
3950 as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
3953 $as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
3954 if ${kpse_cv_warning_cflags+:} false; then :
3955 $as_echo_n "(cached) " >&6
3957 if test "x$GCC" = xyes; then
3958 kpse_cv_warning_cflags=
3959 if test "x$enable_compiler_warnings" != xno; then
3960 kpse_cv_warning_cflags="-Wimplicit -Wreturn-type"
3961 case `$CC -dumpversion` in #(
3963 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #(
3967 case `$CC -dumpversion` in #(
3969 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #(
3973 if test "x$enable_compiler_warnings" != xmin; then
3974 kpse_cv_warning_cflags="-Wall -Wunused $kpse_cv_warning_cflags"
3975 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
3976 if test "x$enable_compiler_warnings" != xyes; then
3977 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
3978 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings"
3979 case `$CC -dumpversion` in #(
3981 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;; #(
3985 if test "x$enable_compiler_warnings" != xmax; then
3986 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wshadow"
3991 elif test "x$enable_compiler_warnings" = xno; then
3992 kpse_cv_warning_cflags=
3994 kpse_cv_warning_cflags= # FIXME: warning flags for non-GNU C compilers
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5
3998 $as_echo "$kpse_cv_warning_cflags" >&6; }
3999 WARNING_CFLAGS=$kpse_cv_warning_cflags
4009 ac_cpp='$CPP $CPPFLAGS'
4010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4013 if test -n "$ac_tool_prefix"; then
4014 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4015 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4017 $as_echo_n "checking for $ac_word... " >&6; }
4018 if ${ac_cv_prog_CC+:} false; then :
4019 $as_echo_n "(cached) " >&6
4021 if test -n "$CC"; then
4022 ac_cv_prog_CC="$CC" # Let the user override the test.
4024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4028 test -z "$as_dir" && as_dir=.
4029 for ac_exec_ext in '' $ac_executable_extensions; do
4030 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4031 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4042 if test -n "$CC"; then
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4044 $as_echo "$CC" >&6; }
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4047 $as_echo "no" >&6; }
4052 if test -z "$ac_cv_prog_CC"; then
4054 # Extract the first word of "gcc", so it can be a program name with args.
4055 set dummy gcc; ac_word=$2
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4057 $as_echo_n "checking for $ac_word... " >&6; }
4058 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4059 $as_echo_n "(cached) " >&6
4061 if test -n "$ac_ct_CC"; then
4062 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4068 test -z "$as_dir" && as_dir=.
4069 for ac_exec_ext in '' $ac_executable_extensions; do
4070 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4071 ac_cv_prog_ac_ct_CC="gcc"
4072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4081 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4082 if test -n "$ac_ct_CC"; then
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4084 $as_echo "$ac_ct_CC" >&6; }
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4087 $as_echo "no" >&6; }
4090 if test "x$ac_ct_CC" = x; then
4093 case $cross_compiling:$ac_tool_warned in
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4096 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4097 ac_tool_warned=yes ;;
4105 if test -z "$CC"; then
4106 if test -n "$ac_tool_prefix"; then
4107 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4108 set dummy ${ac_tool_prefix}cc; ac_word=$2
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4110 $as_echo_n "checking for $ac_word... " >&6; }
4111 if ${ac_cv_prog_CC+:} false; then :
4112 $as_echo_n "(cached) " >&6
4114 if test -n "$CC"; then
4115 ac_cv_prog_CC="$CC" # Let the user override the test.
4117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4121 test -z "$as_dir" && as_dir=.
4122 for ac_exec_ext in '' $ac_executable_extensions; do
4123 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4124 ac_cv_prog_CC="${ac_tool_prefix}cc"
4125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4135 if test -n "$CC"; then
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4137 $as_echo "$CC" >&6; }
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4140 $as_echo "no" >&6; }
4146 if test -z "$CC"; then
4147 # Extract the first word of "cc", so it can be a program name with args.
4148 set dummy cc; ac_word=$2
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4150 $as_echo_n "checking for $ac_word... " >&6; }
4151 if ${ac_cv_prog_CC+:} false; then :
4152 $as_echo_n "(cached) " >&6
4154 if test -n "$CC"; then
4155 ac_cv_prog_CC="$CC" # Let the user override the test.
4158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4162 test -z "$as_dir" && as_dir=.
4163 for ac_exec_ext in '' $ac_executable_extensions; do
4164 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4165 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4166 ac_prog_rejected=yes
4170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4177 if test $ac_prog_rejected = yes; then
4178 # We found a bogon in the path, so make sure we never use it.
4179 set dummy $ac_cv_prog_CC
4181 if test $# != 0; then
4182 # We chose a different compiler from the bogus one.
4183 # However, it has the same basename, so the bogon will be chosen
4184 # first if we set CC to just the basename; use the full file name.
4186 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4192 if test -n "$CC"; then
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4194 $as_echo "$CC" >&6; }
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4197 $as_echo "no" >&6; }
4202 if test -z "$CC"; then
4203 if test -n "$ac_tool_prefix"; then
4204 for ac_prog in cl.exe
4206 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4207 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4209 $as_echo_n "checking for $ac_word... " >&6; }
4210 if ${ac_cv_prog_CC+:} false; then :
4211 $as_echo_n "(cached) " >&6
4213 if test -n "$CC"; then
4214 ac_cv_prog_CC="$CC" # Let the user override the test.
4216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4220 test -z "$as_dir" && as_dir=.
4221 for ac_exec_ext in '' $ac_executable_extensions; do
4222 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4223 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4234 if test -n "$CC"; then
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4236 $as_echo "$CC" >&6; }
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4239 $as_echo "no" >&6; }
4243 test -n "$CC" && break
4246 if test -z "$CC"; then
4248 for ac_prog in cl.exe
4250 # Extract the first word of "$ac_prog", so it can be a program name with args.
4251 set dummy $ac_prog; ac_word=$2
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4253 $as_echo_n "checking for $ac_word... " >&6; }
4254 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4255 $as_echo_n "(cached) " >&6
4257 if test -n "$ac_ct_CC"; then
4258 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4264 test -z "$as_dir" && as_dir=.
4265 for ac_exec_ext in '' $ac_executable_extensions; do
4266 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4267 ac_cv_prog_ac_ct_CC="$ac_prog"
4268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4277 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4278 if test -n "$ac_ct_CC"; then
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4280 $as_echo "$ac_ct_CC" >&6; }
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4283 $as_echo "no" >&6; }
4287 test -n "$ac_ct_CC" && break
4290 if test "x$ac_ct_CC" = x; then
4293 case $cross_compiling:$ac_tool_warned in
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4296 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4297 ac_tool_warned=yes ;;
4306 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4307 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4308 as_fn_error $? "no acceptable C compiler found
in \
$PATH
4309 See \
`config.log' for more details" "$LINENO" 5; }
4311 # Provide some information about the compiler.
4312 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4315 for ac_option in --version -v -V -qversion; do
4316 { { ac_try="$ac_compiler $ac_option >&5"
4318 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4319 *) ac_try_echo
=$ac_try;;
4321 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4322 $as_echo "$ac_try_echo"; } >&5
4323 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4325 if test -s conftest.err
; then
4327 ... rest of stderr output deleted ...
4328 10q' conftest.err
>conftest.er1
4329 cat conftest.er1
>&5
4331 rm -f conftest.er1 conftest.err
4332 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4333 test $ac_status = 0; }
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4337 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4338 if ${ac_cv_c_compiler_gnu+:} false
; then :
4339 $as_echo_n "(cached) " >&6
4341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4342 /* end confdefs.h. */
4355 if ac_fn_c_try_compile
"$LINENO"; then :
4360 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4361 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4365 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4366 if test $ac_compiler_gnu = yes; then
4371 ac_test_CFLAGS
=${CFLAGS+set}
4372 ac_save_CFLAGS
=$CFLAGS
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4374 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4375 if ${ac_cv_prog_cc_g+:} false
; then :
4376 $as_echo_n "(cached) " >&6
4378 ac_save_c_werror_flag
=$ac_c_werror_flag
4379 ac_c_werror_flag
=yes
4382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4383 /* end confdefs.h. */
4393 if ac_fn_c_try_compile
"$LINENO"; then :
4397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4398 /* end confdefs.h. */
4408 if ac_fn_c_try_compile
"$LINENO"; then :
4411 ac_c_werror_flag
=$ac_save_c_werror_flag
4413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4414 /* end confdefs.h. */
4424 if ac_fn_c_try_compile
"$LINENO"; then :
4427 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4429 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4431 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4432 ac_c_werror_flag
=$ac_save_c_werror_flag
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4435 $as_echo "$ac_cv_prog_cc_g" >&6; }
4436 if test "$ac_test_CFLAGS" = set; then
4437 CFLAGS
=$ac_save_CFLAGS
4438 elif test $ac_cv_prog_cc_g = yes; then
4439 if test "$GCC" = yes; then
4445 if test "$GCC" = yes; then
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4452 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4453 if ${ac_cv_prog_cc_c89+:} false
; then :
4454 $as_echo_n "(cached) " >&6
4456 ac_cv_prog_cc_c89
=no
4458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4459 /* end confdefs.h. */
4463 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4464 struct buf { int x; };
4465 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4466 static char *e (p, i)
4472 static char *f (char * (*g) (char **, int), char **p, ...)
4477 s = g (p, va_arg (v,int));
4482 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4483 function prototypes and stuff, but not '\xHH' hex character constants.
4484 These don't provoke an error unfortunately, instead are silently treated
4485 as 'x'. The following induces an error, until -std is added to get
4486 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4487 array size at least. It's necessary to write '\x00'==0 to get something
4488 that's true only with -std. */
4489 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4491 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4492 inside strings and character constants. */
4494 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4496 int test (int i, double x);
4497 struct s1 {int (*f) (int a);};
4498 struct s2 {int (*f) (double a);};
4499 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4505 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4510 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
4511 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4513 CC
="$ac_save_CC $ac_arg"
4514 if ac_fn_c_try_compile
"$LINENO"; then :
4515 ac_cv_prog_cc_c89
=$ac_arg
4517 rm -f core conftest.err conftest.
$ac_objext
4518 test "x$ac_cv_prog_cc_c89" != "xno" && break
4520 rm -f conftest.
$ac_ext
4525 case "x$ac_cv_prog_cc_c89" in
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4528 $as_echo "none needed" >&6; } ;;
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4531 $as_echo "unsupported" >&6; } ;;
4533 CC
="$CC $ac_cv_prog_cc_c89"
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4535 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4537 if test "x$ac_cv_prog_cc_c89" != xno
; then :
4542 ac_cpp
='$CPP $CPPFLAGS'
4543 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4544 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4545 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4548 ac_cpp
='$CPP $CPPFLAGS'
4549 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4550 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4551 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4553 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4554 if ${am_cv_prog_cc_c_o+:} false
; then :
4555 $as_echo_n "(cached) " >&6
4557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4558 /* end confdefs.h. */
4568 # Make sure it works both with $CC and with simple cc.
4569 # Following AC_PROG_CC_C_O, we do the test twice because some
4570 # compilers refuse to overwrite an existing .o file with -o,
4571 # though they will create one.
4572 am_cv_prog_cc_c_o
=yes
4574 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4575 ($CC -c conftest.
$ac_ext -o conftest2.
$ac_objext) >&5 2>&5
4577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4578 (exit $ac_status); } \
4579 && test -f conftest2.
$ac_objext; then
4582 am_cv_prog_cc_c_o
=no
4586 rm -f core conftest
*
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4590 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4591 if test "$am_cv_prog_cc_c_o" != yes; then
4592 # Losing compiler, so override with the script.
4593 # FIXME: It is wrong to rewrite CC.
4594 # But if we don't then we get into trouble of one sort or another.
4595 # A longer-term fix would be to have automake use am__CC in this case,
4596 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4597 CC
="$am_aux_dir/compile $CC"
4600 ac_cpp
='$CPP $CPPFLAGS'
4601 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4602 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4603 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4606 depcc
="$CC" am_compiler_list
=
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4609 $as_echo_n "checking dependency style of $depcc... " >&6; }
4610 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4611 $as_echo_n "(cached) " >&6
4613 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4614 # We make a subdir and do the tests there. Otherwise we can end up
4615 # making bogus files that we don't know about and never remove. For
4616 # instance it was reported that on HP-UX the gcc test will end up
4617 # making a dummy file named 'D' -- because '-MD' means "put the output
4621 # Copy depcomp to subdir because otherwise we won't find it if we're
4622 # using a relative directory.
4623 cp "$am_depcomp" conftest.dir
4625 # We will build objects and dependencies in a subdirectory because
4626 # it helps to detect inapplicable dependency modes. For instance
4627 # both Tru64's cc and ICC support -MD to output dependencies as a
4628 # side effect of compilation, but ICC will put the dependencies in
4629 # the current directory while Tru64 will put them in the object
4633 am_cv_CC_dependencies_compiler_type
=none
4634 if test "$am_compiler_list" = ""; then
4635 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4638 case " $depcc " in #(
4639 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4642 for depmode
in $am_compiler_list; do
4643 # Setup a source with many dependencies, because some compilers
4644 # like to wrap large dependency lists on column 80 (with \), and
4645 # we should not choose a depcomp mode which is confused by this.
4647 # We need to recreate these files for each test, as the compiler may
4648 # overwrite some of them when testing with obscure command lines.
4649 # This happens at least with the AIX C compiler.
4651 for i
in 1 2 3 4 5 6; do
4652 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4653 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4654 # Solaris 10 /bin/sh.
4655 echo '/* dummy */' > sub
/conftst
$i.h
4657 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4659 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4660 # mode. It turns out that the SunPro C++ compiler does not properly
4661 # handle '-M -o', and we need to detect this. Also, some Intel
4662 # versions had trouble with output in subdirs.
4663 am__obj
=sub
/conftest.
${OBJEXT-o}
4664 am__minus_obj
="-o $am__obj"
4667 # This depmode causes a compiler race in universal mode.
4668 test "$am__universal" = false ||
continue
4671 # After this tag, mechanisms are not by side-effect, so they'll
4672 # only be used when explicitly requested.
4673 if test "x$enable_dependency_tracking" = xyes
; then
4679 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4680 # This compiler won't grok '-c -o', but also, the minuso test has
4681 # not run yet. These depmodes are late enough in the game, and
4682 # so weak that their functioning should not be impacted.
4683 am__obj
=conftest.
${OBJEXT-o}
4688 if depmode
=$depmode \
4689 source=sub
/conftest.c object
=$am__obj \
4690 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4691 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4692 >/dev
/null
2>conftest.err
&&
4693 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4694 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4695 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4696 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4697 # icc doesn't choke on unknown options, it will just issue warnings
4698 # or remarks (even with -Werror). So we grep stderr for any message
4699 # that says an option was ignored or not supported.
4700 # When given -MP, icc 7.0 and 7.1 complain thusly:
4701 # icc: Command line warning: ignoring option '-M'; no argument required
4702 # The diagnosis changed in icc 8.0:
4703 # icc: Command line remark: option '-MP' not supported
4704 if (grep 'ignoring option' conftest.err ||
4705 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4706 am_cv_CC_dependencies_compiler_type
=$depmode
4715 am_cv_CC_dependencies_compiler_type
=none
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4720 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4721 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4724 test "x$enable_dependency_tracking" != xno \
4725 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4727 am__fastdepCC_FALSE
='#'
4729 am__fastdepCC_TRUE
='#'
4730 am__fastdepCC_FALSE
=
4734 if test -n "$ac_tool_prefix"; then
4735 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4736 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4738 $as_echo_n "checking for $ac_word... " >&6; }
4739 if ${ac_cv_prog_RANLIB+:} false
; then :
4740 $as_echo_n "(cached) " >&6
4742 if test -n "$RANLIB"; then
4743 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4745 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4749 test -z "$as_dir" && as_dir
=.
4750 for ac_exec_ext
in '' $ac_executable_extensions; do
4751 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4752 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4762 RANLIB
=$ac_cv_prog_RANLIB
4763 if test -n "$RANLIB"; then
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4765 $as_echo "$RANLIB" >&6; }
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4768 $as_echo "no" >&6; }
4773 if test -z "$ac_cv_prog_RANLIB"; then
4774 ac_ct_RANLIB
=$RANLIB
4775 # Extract the first word of "ranlib", so it can be a program name with args.
4776 set dummy ranlib
; ac_word
=$2
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4778 $as_echo_n "checking for $ac_word... " >&6; }
4779 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4780 $as_echo_n "(cached) " >&6
4782 if test -n "$ac_ct_RANLIB"; then
4783 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4785 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4789 test -z "$as_dir" && as_dir
=.
4790 for ac_exec_ext
in '' $ac_executable_extensions; do
4791 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4792 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4802 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4803 if test -n "$ac_ct_RANLIB"; then
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4805 $as_echo "$ac_ct_RANLIB" >&6; }
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4808 $as_echo "no" >&6; }
4811 if test "x$ac_ct_RANLIB" = x
; then
4814 case $cross_compiling:$ac_tool_warned in
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4817 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4818 ac_tool_warned
=yes ;;
4820 RANLIB
=$ac_ct_RANLIB
4823 RANLIB
="$ac_cv_prog_RANLIB"
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4827 $as_echo_n "checking whether ln -s works... " >&6; }
4829 if test "$LN_S" = "ln -s"; then
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4831 $as_echo "yes" >&6; }
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4834 $as_echo "no, using $LN_S" >&6; }
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for C to hide external symbols" >&5
4839 $as_echo_n "checking CFLAGS for C to hide external symbols... " >&6; }
4840 if ${kpse_cv_visibility_cflags+:} false
; then :
4841 $as_echo_n "(cached) " >&6
4844 ac_cpp
='$CPP $CPPFLAGS'
4845 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4846 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4847 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4849 kpse_cv_visibility_cflags
=unknown
4850 kpse_save_flags
=$CFLAGS
4851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4852 /* end confdefs.h. */
4854 extern void foo(void);
4855 void foo(void){printf("foo\n");}
4857 # FIXME: Add tests for non-GNU compilers
4858 for kpse_flag
in '-fvisibility=hidden -fvisibility-inlines-hidden' '-fvisibility=hidden'; do
4859 CFLAGS
="$kpse_save_flags -Werror $kpse_flag"
4860 if ac_fn_c_try_compile
"$LINENO"; then :
4861 kpse_cv_visibility_cflags
=$kpse_flag; break
4863 rm -f core conftest.err conftest.
$ac_objext
4866 ac_cpp
='$CPP $CPPFLAGS'
4867 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4868 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4869 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_visibility_cflags" >&5
4874 $as_echo "$kpse_cv_visibility_cflags" >&6; }
4875 CFLAGS
=$kpse_save_flags
4876 case $kpse_cv_visibility_cflags in #(
4880 VISIBILITY_CFLAGS
=$kpse_cv_visibility_cflags
4888 ac_config_headers
="$ac_config_headers config.h"
4891 # Checks for header files.
4893 ac_cpp
='$CPP $CPPFLAGS'
4894 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4895 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4896 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4898 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4899 # On Suns, sometimes $CPP names a directory.
4900 if test -n "$CPP" && test -d "$CPP"; then
4903 if test -z "$CPP"; then
4904 if ${ac_cv_prog_CPP+:} false
; then :
4905 $as_echo_n "(cached) " >&6
4907 # Double quotes because CPP needs to be expanded
4908 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4911 for ac_c_preproc_warn_flag
in '' yes
4913 # Use a header file that comes with gcc, so configuring glibc
4914 # with a fresh cross-compiler works.
4915 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4916 # <limits.h> exists even on freestanding compilers.
4917 # On the NeXT, cc -E runs the code through the compiler's parser,
4918 # not just through cpp. "Syntax error" is here to catch this case.
4919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4920 /* end confdefs.h. */
4922 # include <limits.h>
4924 # include <assert.h>
4928 if ac_fn_c_try_cpp
"$LINENO"; then :
4931 # Broken: fails on valid input.
4934 rm -f conftest.err conftest.i conftest.
$ac_ext
4936 # OK, works on sane cases. Now check whether nonexistent headers
4937 # can be detected and how.
4938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4939 /* end confdefs.h. */
4940 #include <ac_nonexistent.h>
4942 if ac_fn_c_try_cpp
"$LINENO"; then :
4943 # Broken: success on invalid input.
4946 # Passes both tests.
4950 rm -f conftest.err conftest.i conftest.
$ac_ext
4953 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4954 rm -f conftest.i conftest.err conftest.
$ac_ext
4955 if $ac_preproc_ok; then :
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4968 $as_echo "$CPP" >&6; }
4970 for ac_c_preproc_warn_flag
in '' yes
4972 # Use a header file that comes with gcc, so configuring glibc
4973 # with a fresh cross-compiler works.
4974 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4975 # <limits.h> exists even on freestanding compilers.
4976 # On the NeXT, cc -E runs the code through the compiler's parser,
4977 # not just through cpp. "Syntax error" is here to catch this case.
4978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4979 /* end confdefs.h. */
4981 # include <limits.h>
4983 # include <assert.h>
4987 if ac_fn_c_try_cpp
"$LINENO"; then :
4990 # Broken: fails on valid input.
4993 rm -f conftest.err conftest.i conftest.
$ac_ext
4995 # OK, works on sane cases. Now check whether nonexistent headers
4996 # can be detected and how.
4997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4998 /* end confdefs.h. */
4999 #include <ac_nonexistent.h>
5001 if ac_fn_c_try_cpp
"$LINENO"; then :
5002 # Broken: success on invalid input.
5005 # Passes both tests.
5009 rm -f conftest.err conftest.i conftest.
$ac_ext
5012 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5013 rm -f conftest.i conftest.err conftest.
$ac_ext
5014 if $ac_preproc_ok; then :
5017 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5018 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5019 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5020 See \`config.log' for more details" "$LINENO" 5; }
5024 ac_cpp
='$CPP $CPPFLAGS'
5025 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5026 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5027 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5031 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5032 if ${ac_cv_path_GREP+:} false
; then :
5033 $as_echo_n "(cached) " >&6
5035 if test -z "$GREP"; then
5036 ac_path_GREP_found
=false
5037 # Loop through the user's path and test for each of PROGNAME-LIST
5038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5039 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5042 test -z "$as_dir" && as_dir
=.
5043 for ac_prog
in grep ggrep
; do
5044 for ac_exec_ext
in '' $ac_executable_extensions; do
5045 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5046 as_fn_executable_p
"$ac_path_GREP" ||
continue
5047 # Check for GNU ac_path_GREP and select it if it is found.
5048 # Check for GNU $ac_path_GREP
5049 case `"$ac_path_GREP" --version 2>&1` in
5051 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5054 $as_echo_n 0123456789 >"conftest.in"
5057 cat "conftest.in" "conftest.in" >"conftest.tmp"
5058 mv "conftest.tmp" "conftest.in"
5059 cp "conftest.in" "conftest.nl"
5060 $as_echo 'GREP' >> "conftest.nl"
5061 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5062 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5063 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5064 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5065 # Best one so far, save it but keep looking for a better one
5066 ac_cv_path_GREP
="$ac_path_GREP"
5067 ac_path_GREP_max
=$ac_count
5069 # 10*(2^10) chars as input seems more than enough
5070 test $ac_count -gt 10 && break
5072 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5075 $ac_path_GREP_found && break 3
5080 if test -z "$ac_cv_path_GREP"; then
5081 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5084 ac_cv_path_GREP
=$GREP
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5089 $as_echo "$ac_cv_path_GREP" >&6; }
5090 GREP
="$ac_cv_path_GREP"
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5094 $as_echo_n "checking for egrep... " >&6; }
5095 if ${ac_cv_path_EGREP+:} false
; then :
5096 $as_echo_n "(cached) " >&6
5098 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5099 then ac_cv_path_EGREP
="$GREP -E"
5101 if test -z "$EGREP"; then
5102 ac_path_EGREP_found
=false
5103 # Loop through the user's path and test for each of PROGNAME-LIST
5104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5105 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5108 test -z "$as_dir" && as_dir
=.
5109 for ac_prog
in egrep; do
5110 for ac_exec_ext
in '' $ac_executable_extensions; do
5111 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5112 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5113 # Check for GNU ac_path_EGREP and select it if it is found.
5114 # Check for GNU $ac_path_EGREP
5115 case `"$ac_path_EGREP" --version 2>&1` in
5117 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5120 $as_echo_n 0123456789 >"conftest.in"
5123 cat "conftest.in" "conftest.in" >"conftest.tmp"
5124 mv "conftest.tmp" "conftest.in"
5125 cp "conftest.in" "conftest.nl"
5126 $as_echo 'EGREP' >> "conftest.nl"
5127 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5128 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5129 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5130 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5131 # Best one so far, save it but keep looking for a better one
5132 ac_cv_path_EGREP
="$ac_path_EGREP"
5133 ac_path_EGREP_max
=$ac_count
5135 # 10*(2^10) chars as input seems more than enough
5136 test $ac_count -gt 10 && break
5138 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5141 $ac_path_EGREP_found && break 3
5146 if test -z "$ac_cv_path_EGREP"; then
5147 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5150 ac_cv_path_EGREP
=$EGREP
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5156 $as_echo "$ac_cv_path_EGREP" >&6; }
5157 EGREP
="$ac_cv_path_EGREP"
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5161 $as_echo_n "checking for ANSI C header files... " >&6; }
5162 if ${ac_cv_header_stdc+:} false
; then :
5163 $as_echo_n "(cached) " >&6
5165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5166 /* end confdefs.h. */
5180 if ac_fn_c_try_compile
"$LINENO"; then :
5181 ac_cv_header_stdc
=yes
5183 ac_cv_header_stdc
=no
5185 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5187 if test $ac_cv_header_stdc = yes; then
5188 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5190 /* end confdefs.h. */
5194 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5195 $EGREP "memchr" >/dev
/null
2>&1; then :
5198 ac_cv_header_stdc
=no
5204 if test $ac_cv_header_stdc = yes; then
5205 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5207 /* end confdefs.h. */
5211 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5212 $EGREP "free" >/dev
/null
2>&1; then :
5215 ac_cv_header_stdc
=no
5221 if test $ac_cv_header_stdc = yes; then
5222 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5223 if test "$cross_compiling" = yes; then :
5226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5227 /* end confdefs.h. */
5230 #if ((' ' & 0x0FF) == 0x020)
5231 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5232 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5234 # define ISLOWER(c) \
5235 (('a' <= (c) && (c) <= 'i') \
5236 || ('j' <= (c) && (c) <= 'r') \
5237 || ('s' <= (c) && (c) <= 'z'))
5238 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5241 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5246 for (i = 0; i < 256; i++)
5247 if (XOR (islower (i), ISLOWER (i))
5248 || toupper (i) != TOUPPER (i))
5253 if ac_fn_c_try_run
"$LINENO"; then :
5256 ac_cv_header_stdc
=no
5258 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5259 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5265 $as_echo "$ac_cv_header_stdc" >&6; }
5266 if test $ac_cv_header_stdc = yes; then
5268 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5272 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5273 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5274 inttypes.h stdint.h unistd.h
5276 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5277 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5279 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5280 cat >>confdefs.h
<<_ACEOF
5281 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5289 for ac_header
in malloc.h stdlib.h string.h
strings.h
5291 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5292 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5293 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5294 cat >>confdefs.h
<<_ACEOF
5295 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5303 # Checks for typedefs, structures, and compiler characteristics.
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
5305 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5306 if ${ac_cv_c_const+:} false
; then :
5307 $as_echo_n "(cached) " >&6
5309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5310 /* end confdefs.h. */
5317 /* Ultrix mips cc rejects this sort of thing. */
5318 typedef int charset[2];
5319 const charset cs = { 0, 0 };
5320 /* SunOS 4.1.1 cc rejects this. */
5321 char const *const *pcpcc;
5323 /* NEC SVR4.0.2 mips cc rejects this. */
5324 struct point {int x, y;};
5325 static struct point const zero = {0,0};
5326 /* AIX XL C 1.02.0.0 rejects this.
5327 It does not let you subtract one const X* pointer from another in
5328 an arm of an if-expression whose if-part is not a constant
5330 const char *g = "string";
5331 pcpcc = &g + (g ? g-g : 0);
5332 /* HPUX 7.0 cc rejects these. */
5334 ppc = (char**) pcpcc;
5335 pcpcc = (char const *const *) ppc;
5336 { /* SCO 3.2v4 cc rejects this sort of thing. */
5339 char const *s = 0 ? (char *) 0 : (char const *) 0;
5344 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5346 const int *foo = &x[0];
5349 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5350 typedef const int *iptr;
5354 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
5355 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5356 struct s { int j; const int *ap[3]; } bx;
5357 struct s *b = &bx; b->j = 5;
5359 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5363 return !cs[0] && !zero.x;
5370 if ac_fn_c_try_compile
"$LINENO"; then :
5375 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
5378 $as_echo "$ac_cv_c_const" >&6; }
5379 if test $ac_cv_c_const = no
; then
5381 $as_echo "#define const /**/" >>confdefs.h
5385 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5386 if test "x$ac_cv_type_size_t" = xyes
; then :
5390 cat >>confdefs.h
<<_ACEOF
5391 #define size_t unsigned int
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
5397 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
5398 if ${ac_cv_struct_tm+:} false
; then :
5399 $as_echo_n "(cached) " >&6
5401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5402 /* end confdefs.h. */
5403 #include <sys/types.h>
5410 int *p = &tm.tm_sec;
5416 if ac_fn_c_try_compile
"$LINENO"; then :
5417 ac_cv_struct_tm
=time.h
5419 ac_cv_struct_tm
=sys
/time.h
5421 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
5424 $as_echo "$ac_cv_struct_tm" >&6; }
5425 if test $ac_cv_struct_tm = sys
/time.h
; then
5427 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
5432 $as_echo_n "checking for C/C++ restrict keyword... " >&6; }
5433 if ${ac_cv_c_restrict+:} false
; then :
5434 $as_echo_n "(cached) " >&6
5437 # The order here caters to the fact that C++ does not require restrict.
5438 for ac_kw
in __restrict __restrict__ _Restrict restrict
; do
5439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5440 /* end confdefs.h. */
5441 typedef int * int_ptr;
5442 int foo (int_ptr $ac_kw ip) {
5456 if ac_fn_c_try_compile
"$LINENO"; then :
5457 ac_cv_c_restrict
=$ac_kw
5459 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5460 test "$ac_cv_c_restrict" != no
&& break
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5
5465 $as_echo "$ac_cv_c_restrict" >&6; }
5467 case $ac_cv_c_restrict in
5469 no
) $as_echo "#define restrict /**/" >>confdefs.h
5471 *) cat >>confdefs.h
<<_ACEOF
5472 #define restrict $ac_cv_c_restrict
5478 # Checks for library functions.
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
5480 $as_echo_n "checking for working strtod... " >&6; }
5481 if ${ac_cv_func_strtod+:} false
; then :
5482 $as_echo_n "(cached) " >&6
5484 if test "$cross_compiling" = yes; then :
5485 ac_cv_func_strtod
=no
5487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5488 /* end confdefs.h. */
5490 $ac_includes_default
5498 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
5499 char *string = " +69";
5502 value = strtod (string, &term);
5503 if (value != 69 || term != (string + 4))
5508 /* Under Solaris 2.4, strtod returns the wrong value for the
5509 terminating character under some conditions. */
5510 char *string = "NaN";
5512 strtod (string, &term);
5513 if (term != string && *(term - 1) == 0)
5520 if ac_fn_c_try_run
"$LINENO"; then :
5521 ac_cv_func_strtod
=yes
5523 ac_cv_func_strtod
=no
5525 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5526 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
5531 $as_echo "$ac_cv_func_strtod" >&6; }
5532 if test $ac_cv_func_strtod = no
; then
5533 case " $LIBOBJS " in
5534 *" strtod.$ac_objext "* ) ;;
5535 *) LIBOBJS
="$LIBOBJS strtod.$ac_objext"
5539 ac_fn_c_check_func
"$LINENO" "pow" "ac_cv_func_pow"
5540 if test "x$ac_cv_func_pow" = xyes
; then :
5544 if test $ac_cv_func_pow = no
; then
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
5546 $as_echo_n "checking for pow in -lm... " >&6; }
5547 if ${ac_cv_lib_m_pow+:} false
; then :
5548 $as_echo_n "(cached) " >&6
5550 ac_check_lib_save_LIBS
=$LIBS
5552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5553 /* end confdefs.h. */
5555 /* Override any GCC internal prototype to avoid an error.
5556 Use char because int might match the return type of a GCC
5557 builtin and then its argument prototype would still apply. */
5570 if ac_fn_c_try_link
"$LINENO"; then :
5575 rm -f core conftest.err conftest.
$ac_objext \
5576 conftest
$ac_exeext conftest.
$ac_ext
5577 LIBS
=$ac_check_lib_save_LIBS
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
5580 $as_echo "$ac_cv_lib_m_pow" >&6; }
5581 if test "x$ac_cv_lib_m_pow" = xyes
; then :
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
5585 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
5592 for ac_func
in memset
5594 ac_fn_c_check_func
"$LINENO" "memset" "ac_cv_func_memset"
5595 if test "x$ac_cv_func_memset" = xyes
; then :
5596 cat >>confdefs.h
<<_ACEOF
5597 #define HAVE_MEMSET 1
5601 as_fn_error $?
"memset not found in libc" "$LINENO" 5
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pow" >&5
5606 $as_echo_n "checking for library containing pow... " >&6; }
5607 if ${ac_cv_search_pow+:} false
; then :
5608 $as_echo_n "(cached) " >&6
5610 ac_func_search_save_LIBS
=$LIBS
5611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5612 /* end confdefs.h. */
5614 /* Override any GCC internal prototype to avoid an error.
5615 Use char because int might match the return type of a GCC
5616 builtin and then its argument prototype would still apply. */
5629 for ac_lib
in '' m
; do
5630 if test -z "$ac_lib"; then
5631 ac_res
="none required"
5634 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5636 if ac_fn_c_try_link
"$LINENO"; then :
5637 ac_cv_search_pow
=$ac_res
5639 rm -f core conftest.err conftest.
$ac_objext \
5641 if ${ac_cv_search_pow+:} false
; then :
5645 if ${ac_cv_search_pow+:} false
; then :
5651 LIBS
=$ac_func_search_save_LIBS
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pow" >&5
5654 $as_echo "$ac_cv_search_pow" >&6; }
5655 ac_res
=$ac_cv_search_pow
5656 if test "$ac_res" != no
; then :
5657 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5660 as_fn_error $?
"cannot find pow" "$LINENO" 5
5664 kpse_save_CPPFLAGS
=$CPPFLAGS
5665 kpse_save_LIBS
=$LIBS
5667 ## _KPSE_INIT: Initialize TL infrastructure
5668 kpse_BLD
=`(cd "./../../." && pwd)`
5669 kpse_SRC
=`(cd "$srcdir/../../." && pwd)`
5671 ## _KPSE_LIB_FLAGS: Setup zlib (-lz) flags
5673 # Check whether --with-system-zlib was given.
5674 if test "${with_system_zlib+set}" = set; then :
5675 withval
=$with_system_zlib;
5678 # Check whether --with-zlib-includes was given.
5679 if test "${with_zlib_includes+set}" = set; then :
5680 withval
=$with_zlib_includes;
5683 # Check whether --with-zlib-libdir was given.
5684 if test "${with_zlib_libdir+set}" = set; then :
5685 withval
=$with_zlib_libdir;
5687 if test "x$with_system_zlib" = xyes
; then
5688 if test "x$with_zlib_includes" != x
&& test "x$with_zlib_includes" != xyes
; then
5689 ZLIB_INCLUDES
="-I$with_zlib_includes"
5692 if test "x$with_zlib_libdir" != x
&& test "x$with_zlib_libdir" != xyes
; then
5693 ZLIB_LIBS
="-L$with_zlib_libdir $ZLIB_LIBS"
5696 ZLIB_INCLUDES
="-I$kpse_BLD/libs/zlib/include"
5697 ZLIB_LIBS
="$kpse_BLD/libs/zlib/libz.a"
5698 ZLIB_DEPEND
='${top_builddir}/../../libs/zlib/libz.a'
5699 ZLIB_RULE
='# Rebuild libz
5700 $(ZLIB_DEPEND): ${top_builddir}/../../libs/zlib/include/zconf.h
5701 cd ${top_builddir}/../../libs/zlib && $(MAKE) $(AM_MAKEFLAGS) rebuild
5702 ${top_builddir}/../../libs/zlib/include/zconf.h:
5703 cd ${top_builddir}/../../libs/zlib && $(MAKE) $(AM_MAKEFLAGS) rebuild'
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if <zlib.h> defines 'z_const'" >&5
5706 $as_echo_n "checking if <zlib.h> defines 'z_const'... " >&6; }
5707 if ${kpse_cv_have_decl_z_const+:} false
; then :
5708 $as_echo_n "(cached) " >&6
5710 eval CPPFLAGS
=\"$ZLIB_INCLUDES \
$CPPFLAGS\"
5711 eval LIBS
=\"$ZLIB_LIBS \
$LIBS\"
5713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5714 /* end confdefs.h. */
5719 z_const char * foo();
5724 if ac_fn_c_try_compile
"$LINENO"; then :
5725 kpse_cv_have_decl_z_const
=yes
5727 kpse_cv_have_decl_z_const
=no
5729 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5730 CPPFLAGS
=$kpse_save_CPPFLAGS
5731 LIBS
=$kpse_save_LIBS
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_decl_z_const" >&5
5735 $as_echo "$kpse_cv_have_decl_z_const" >&6; }
5736 case $kpse_cv_have_decl_z_const in #(
5739 $as_echo "#define ZLIB_CONST 1" >>confdefs.h
5743 $as_echo "#define z_const /**/" >>confdefs.h
5748 if test "x$enable_build" != xno
; then
5757 if test "x$enable_build" != xno ||
test -f config.force
; then
5759 eval CPPFLAGS
=\"$ZLIB_INCLUDES \
$CPPFLAGS\"
5760 eval LIBS
=\"$ZLIB_LIBS \
$LIBS\"
5762 ac_fn_c_check_func
"$LINENO" "zlibVersion" "ac_cv_func_zlibVersion"
5763 if test "x$ac_cv_func_zlibVersion" = xyes
; then :
5766 as_fn_error $?
"zlib not found" "$LINENO" 5
5769 CPPFLAGS
=$kpse_save_CPPFLAGS
5770 LIBS
=$kpse_save_LIBS
5773 echo timestamp
>config.force
5776 LIBPNG_TREE
=libpng-1.6
.15
5779 LIBPNG_DEFINES
='-DPNG_CONFIGURE_LIBPNG -DPNG_NO_MMX_CODE'
5782 ac_config_files
="$ac_config_files Makefile include/Makefile"
5785 cat >confcache
<<\_ACEOF
5786 # This file is a shell script that caches the results of configure
5787 # tests run on this system so they can be shared between configure
5788 # scripts and configure runs, see configure's option --config-cache.
5789 # It is not useful on other systems. If it contains results you don't
5790 # want to keep, you may remove or edit it.
5792 # config.status only pays attention to the cache file if you give it
5793 # the --recheck option to rerun configure.
5795 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5796 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5801 # The following way of writing the cache mishandles newlines in values,
5802 # but we know of no workaround that is simple, portable, and efficient.
5803 # So, we kill variables containing newlines.
5804 # Ultrix sh set writes to stderr and can't be redirected directly,
5805 # and sets the high bit in the cache file unless we assign to the vars.
5807 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5808 eval ac_val
=\$
$ac_var
5812 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5813 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5816 _ | IFS | as_nl
) ;; #(
5817 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
5818 *) { eval $ac_var=; unset $ac_var;} ;;
5824 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5825 *${as_nl}ac_space
=\
*)
5826 # `set' does not quote correctly, so add quotes: double-quote
5827 # substitution turns \\\\ into \\, and sed turns \\ into \.
5830 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5833 # `set' quotes correctly as required by POSIX, so do not add quotes.
5834 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5843 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5845 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5847 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
5848 if test -w "$cache_file"; then
5849 if test "x$cache_file" != "x/dev/null"; then
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5851 $as_echo "$as_me: updating cache $cache_file" >&6;}
5852 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
5853 cat confcache
>"$cache_file"
5855 case $cache_file in #(
5857 mv -f confcache
"$cache_file"$$
&&
5858 mv -f "$cache_file"$$
"$cache_file" ;; #(
5860 mv -f confcache
"$cache_file" ;;
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5866 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5871 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5872 # Let make expand exec_prefix.
5873 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5875 DEFS
=-DHAVE_CONFIG_H
5880 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5881 # 1. Remove the extension, and $U if already installed.
5882 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
5883 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
5884 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5885 # will be set to the directory where LIBOBJS objects are built.
5886 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5887 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
5891 LTLIBOBJS
=$ac_ltlibobjs
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
5895 $as_echo_n "checking that generated files are newer than configure... " >&6; }
5896 if test -n "$am_sleep_pid"; then
5897 # Hide warnings about reused PIDs.
5898 wait $am_sleep_pid 2>/dev
/null
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
5901 $as_echo "done" >&6; }
5902 if test -n "$EXEEXT"; then
5904 am__EXEEXT_FALSE
='#'
5910 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5911 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
5912 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5914 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5915 as_fn_error $?
"conditional \"AMDEP\" was never defined.
5916 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5918 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5919 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
5920 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5922 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5923 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
5924 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5926 if test -z "${build_TRUE}" && test -z "${build_FALSE}"; then
5927 as_fn_error $?
"conditional \"build\" was never defined.
5928 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5931 : "${CONFIG_STATUS=./config.status}"
5933 ac_clean_files_save
=$ac_clean_files
5934 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5936 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5938 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5940 # Generated by $as_me.
5941 # Run this file to recreate the current configuration.
5942 # Compiler output produced by configure, useful for debugging
5943 # configure, is in config.log if it exists.
5949 SHELL=\${CONFIG_SHELL-$SHELL}
5952 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
5953 ## -------------------- ##
5954 ## M4sh Initialization. ##
5955 ## -------------------- ##
5957 # Be more Bourne compatible
5958 DUALCASE
=1; export DUALCASE
# for MKS sh
5959 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
5962 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5963 # is contrary to our usage. Disable this feature.
5964 alias -g '${1+"$@"}'='"$@"'
5965 setopt NO_GLOB_SUBST
5967 case `(set -o) 2>/dev/null` in #(
5979 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5980 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5981 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5982 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5983 # Prefer a ksh shell builtin over an external printf program on Solaris,
5984 # but without wasting forks for bash or zsh.
5985 if test -z "$BASH_VERSION$ZSH_VERSION" \
5986 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5987 as_echo='print
-r --'
5988 as_echo_n='print
-rn --'
5989 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5990 as_echo='printf %s
\n'
5991 as_echo_n='printf %s
'
5993 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5994 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
5995 as_echo_n='/usr
/ucb
/echo -n'
5997 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5998 as_echo_n_body='eval
6002 expr "X$arg" : "X\\(.*\\)$as_nl";
6003 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6005 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
6007 export as_echo_n_body
6008 as_echo_n='sh
-c $as_echo_n_body as_echo
'
6011 as_echo='sh
-c $as_echo_body as_echo
'
6014 # The user is always right.
6015 if test "${PATH_SEPARATOR+set}" != set; then
6017 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6018 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6025 # We need space, tab and new line, in precisely that order. Quoting is
6026 # there to prevent editors from complaining about space-tab.
6027 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6028 # splitting by setting IFS to empty value.)
6031 # Find who we are. Look in the path if we contain no directory separator.
6034 *[\\/]* ) as_myself=$0 ;;
6035 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6039 test -z "$as_dir" && as_dir=.
6040 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6046 # We did not find ourselves, most probably we were run as `sh COMMAND'
6047 # in which case we are not to be found in the path.
6048 if test "x$as_myself" = x
; then
6051 if test ! -f "$as_myself"; then
6052 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6056 # Unset variables that we do not need and which cause bugs (e.g. in
6057 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6058 # suppresses any "Segmentation fault" message there. '((' could
6059 # trigger a bug in pdksh 5.2.14.
6060 for as_var
in BASH_ENV ENV MAIL MAILPATH
6061 do eval test x\
${$as_var+set} = xset \
6062 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
6075 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
6078 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6079 # ----------------------------------------
6080 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6081 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6082 # script with STATUS, using 1 if that was 0.
6085 as_status
=$1; test $as_status -eq 0 && as_status
=1
6087 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
6088 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6090 $as_echo "$as_me: error: $2" >&2
6091 as_fn_exit
$as_status
6095 # as_fn_set_status STATUS
6096 # -----------------------
6097 # Set $? to STATUS, without forking.
6101 } # as_fn_set_status
6105 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6115 # Portably unset VAR.
6118 { eval $1=; unset $1;}
6120 as_unset
=as_fn_unset
6121 # as_fn_append VAR VALUE
6122 # ----------------------
6123 # Append the text in VALUE to the end of the definition contained in VAR. Take
6124 # advantage of any shell optimizations that allow amortized linear growth over
6125 # repeated appends, instead of the typical quadratic growth present in naive
6127 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
6128 eval 'as_fn_append ()
6139 # as_fn_arith ARG...
6140 # ------------------
6141 # Perform arithmetic evaluation on the ARGs, and store the result in the
6142 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6143 # must be portable across $(()) and expr.
6144 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
6145 eval 'as_fn_arith ()
6152 as_val
=`expr "$@" || test $? -eq 1`
6157 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
6158 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
6164 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6165 as_basename
=basename
6170 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
6176 as_me
=`$as_basename -- "$0" ||
6177 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6178 X"$0" : 'X\(//\)$' \| \
6179 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6181 sed '/^.*\/\([^/][^/]*\)\/*$/{
6195 # Avoid depending upon Character Ranges.
6196 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6197 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6198 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6199 as_cr_digits
='0123456789'
6200 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6202 ECHO_C
= ECHO_N
= ECHO_T
=
6203 case `echo -n x` in #(((((
6205 case `echo 'xy\c'` in
6206 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
6208 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
6215 rm -f conf$$ conf$$.exe conf$$.
file
6216 if test -d conf$$.dir
; then
6217 rm -f conf$$.dir
/conf$$.
file
6220 mkdir conf$$.dir
2>/dev
/null
6222 if (echo >conf$$.
file) 2>/dev
/null
; then
6223 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6225 # ... but there are two gotchas:
6226 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6227 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6228 # In both cases, we have to default to `cp -pR'.
6229 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
6231 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6239 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
6240 rmdir conf$$.dir
2>/dev
/null
6245 # Create "$as_dir" as a directory, including parents if necessary.
6250 -*) as_dir
=.
/$as_dir;;
6252 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
6256 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6257 *) as_qdir
=$as_dir;;
6259 as_dirs
="'$as_qdir' $as_dirs"
6260 as_dir
=`$as_dirname -- "$as_dir" ||
6261 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6262 X"$as_dir" : 'X\(//\)[^/]' \| \
6263 X"$as_dir" : 'X\(//\)$' \| \
6264 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6265 $as_echo X"$as_dir" |
6266 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6283 test -d "$as_dir" && break
6285 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
6286 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
6290 if mkdir
-p .
2>/dev
/null
; then
6291 as_mkdir_p
='mkdir -p "$as_dir"'
6293 test -d .
/-p && rmdir .
/-p
6298 # as_fn_executable_p FILE
6299 # -----------------------
6300 # Test if FILE is an executable regular file.
6301 as_fn_executable_p
()
6303 test -f "$1" && test -x "$1"
6304 } # as_fn_executable_p
6306 as_executable_p
=as_fn_executable_p
6308 # Sed expression to map a string onto a valid CPP name.
6309 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6311 # Sed expression to map a string onto a valid variable name.
6312 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6316 ## ----------------------------------- ##
6317 ## Main body of $CONFIG_STATUS script. ##
6318 ## ----------------------------------- ##
6320 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
6322 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6323 # Save the log message, to keep $0 and so on meaningful, and to
6324 # report actual input values of CONFIG_FILES etc. instead of their
6325 # values after options handling.
6327 This file was extended by libpng (TeX Live) $as_me 1.6.15, which was
6328 generated by GNU Autoconf 2.69. Invocation command line was
6330 CONFIG_FILES = $CONFIG_FILES
6331 CONFIG_HEADERS = $CONFIG_HEADERS
6332 CONFIG_LINKS = $CONFIG_LINKS
6333 CONFIG_COMMANDS = $CONFIG_COMMANDS
6336 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6341 case $ac_config_files in *"
6342 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
6345 case $ac_config_headers in *"
6346 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
6350 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6351 # Files that config.status was made for.
6352 config_files="$ac_config_files"
6353 config_headers="$ac_config_headers"
6354 config_commands="$ac_config_commands"
6358 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6360 \`$as_me' instantiates files and other configuration actions
6361 from templates according to the current configuration. Unless the files
6362 and actions are specified as TAGs, all are instantiated by default.
6364 Usage: $0 [OPTION]... [TAG]...
6366 -h, --help print this help, then exit
6367 -V, --version print version number and configuration settings, then exit
6368 --config print configuration, then exit
6369 -q, --quiet, --silent
6370 do not print progress messages
6371 -d, --debug don't remove temporary files
6372 --recheck update $as_me by reconfiguring in the same conditions
6373 --file=FILE[:TEMPLATE]
6374 instantiate the configuration file FILE
6375 --header=FILE[:TEMPLATE]
6376 instantiate the configuration header FILE
6378 Configuration files:
6381 Configuration headers:
6384 Configuration commands:
6387 Report bugs to <tex-k@tug.org>."
6390 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6391 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6393 libpng (TeX Live) config.status 1.6.15
6394 configured by $0, generated by GNU Autoconf 2.69,
6395 with options \\"\$ac_cs_config\\"
6397 Copyright (C) 2012 Free Software Foundation, Inc.
6398 This config.status script is free software; the Free Software Foundation
6399 gives unlimited permission to copy, distribute and modify it."
6406 test -n "\$AWK" || AWK=awk
6409 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6410 # The default lists apply if the user does not specify any file.
6416 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6417 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
6421 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6433 # Handling of the options.
6434 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6436 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
6437 $as_echo "$ac_cs_version"; exit ;;
6438 --config |
--confi |
--conf |
--con |
--co |
--c )
6439 $as_echo "$ac_cs_config"; exit ;;
6440 --debug |
--debu |
--deb |
--de |
--d |
-d )
6442 --file |
--fil |
--fi |
--f )
6445 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6446 '') as_fn_error $?
"missing file argument" ;;
6448 as_fn_append CONFIG_FILES
" '$ac_optarg'"
6449 ac_need_defaults
=false
;;
6450 --header |
--heade |
--head |
--hea )
6453 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6455 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
6456 ac_need_defaults
=false
;;
6458 # Conflict between --help and --header
6459 as_fn_error $?
"ambiguous option: \`$1'
6460 Try \`$0 --help' for more information.";;
6461 --help |
--hel |
-h )
6462 $as_echo "$ac_cs_usage"; exit ;;
6463 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6464 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6468 -*) as_fn_error $?
"unrecognized option: \`$1'
6469 Try \`$0 --help' for more information." ;;
6471 *) as_fn_append ac_config_targets
" $1"
6472 ac_need_defaults
=false
;;
6478 ac_configure_extra_args
=
6480 if $ac_cs_silent; then
6482 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6486 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6487 if \$ac_cs_recheck; then
6488 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6490 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6491 CONFIG_SHELL='$SHELL'
6497 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6501 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6502 ## Running $as_me. ##
6508 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6512 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6516 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6518 # Handling of arguments.
6519 for ac_config_target
in $ac_config_targets
6521 case $ac_config_target in
6522 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
6523 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
6524 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6525 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
6527 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6532 # If the user did not use the arguments to specify the items to instantiate,
6533 # then the envvar interface is used. Set only those that are not.
6534 # We use the long form for the default assignment because of an extremely
6535 # bizarre bug on SunOS 4.1.3.
6536 if $ac_need_defaults; then
6537 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6538 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6539 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
6542 # Have a temporary directory for convenience. Make it in the build tree
6543 # simply because there is no reason against having it here, and in addition,
6544 # creating and moving files from /tmp can sometimes cause problems.
6545 # Hook for its removal unless debugging.
6546 # Note that there is a small window in which the directory will not be cleaned:
6547 # after its creation but before its name has been assigned to `$tmp'.
6551 trap 'exit_status=$?
6553 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6555 trap 'as_fn_exit 1' 1 2 13 15
6557 # Create a (secure) tmp directory for tmp files.
6560 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6564 tmp
=.
/conf$$
-$RANDOM
6565 (umask 077 && mkdir
"$tmp")
6566 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
6569 # Set up the scripts for CONFIG_FILES section.
6570 # No need to generate them if there are no CONFIG_FILES.
6571 # This happens for instance with `./config.status config.h'.
6572 if test -n "$CONFIG_FILES"; then
6575 ac_cr
=`echo X | tr X '\015'`
6576 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6577 # But we know of no other shell where ac_cr would be empty at this
6578 # point, so we can use a bashism as a fallback.
6579 if test "x$ac_cr" = x
; then
6580 eval ac_cr
=\$
\'\\r
\'
6582 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6583 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6589 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6594 echo "cat >conf$$subs.awk <<_ACEOF" &&
6595 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6598 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6599 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6601 for ac_last_try in false false false false false :; do
6602 . ./conf$$subs.sh ||
6603 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6605 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
6606 if test $ac_delim_n = $ac_delim_num; then
6608 elif $ac_last_try; then
6609 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6611 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6616 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6617 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
6621 s/^/S["/; s
/!.
*/"]=/
6631 s/\(.\{148\}\)..*/\1/
6633 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
6638 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6645 s/\(.\{148\}\)..*/\1/
6647 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
6651 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6656 ' <conf$$subs.awk | sed '
6661 ' >>$CONFIG_STATUS || ac_write_fail=1
6662 rm -f conf$$subs.awk
6663 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6665 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
6666 for (key in S) S_is_set[key] = 1
6672 nfields = split(line, field, "@
")
6674 len = length(field[1])
6675 for (i = 2; i < nfields; i++) {
6677 keylen = length(key)
6678 if (S_is_set[key]) {
6680 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6681 len += length(value) + length(field[++i])
6692 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6693 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6694 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
6697 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
6698 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
6701 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6702 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
6703 # trailing colons and then remove the whole line if VPATH becomes empty
6704 # (actually we leave an empty line to preserve line numbers).
6705 if test "x
$srcdir" = x.; then
6706 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6724 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6725 fi # test -n "$CONFIG_FILES"
6727 # Set up the scripts for CONFIG_HEADERS section.
6728 # No need to generate them if there are no CONFIG_HEADERS.
6729 # This happens for instance with `./config.status Makefile'.
6730 if test -n "$CONFIG_HEADERS"; then
6731 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
6735 # Transform confdefs.h into an awk script `defines.awk', embedded as
6736 # here-document in config.status, that substitutes the proper values into
6737 # config.h.in to produce config.h.
6739 # Create a delimiter string that does not exist in confdefs.h, to ease
6740 # handling of long lines.
6742 for ac_last_try in false false :; do
6743 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
6744 if test -z "$ac_tt"; then
6746 elif $ac_last_try; then
6747 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
6749 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6753 # For the awk script, D is an array of macro values keyed by name,
6754 # likewise P contains macro parameters if any. Preserve backslash
6755 # newline sequences.
6757 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6759 s/.\{148\}/&'"$ac_delim"'/g
6762 s/^[ ]*#[ ]*define[ ][ ]*/ /
6769 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
6771 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
6775 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
6776 D["\
1"]=" \
3\\\\\\n
"\\/p
6778 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
6783 s/.\{148\}/&'"$ac_delim"'/g
6788 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
6791 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
6793 ' <confdefs.h | sed '
6794 s/'"$ac_delim"'/"\\\
6795 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6797 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6798 for (key in D) D_is_set[key] = 1
6801 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6803 split(line, arg, " ")
6804 if (arg[1] == "#") {
6808 defundef
= substr
(arg
[1], 2)
6811 split(mac1
, mac2
, "(") #)
6813 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
6814 if (D_is_set
[macro
]) {
6815 # Preserve the white space surrounding the "#".
6816 print prefix
"define", macro P
[macro
] D
[macro
]
6819 # Replace #undef with comments. This is necessary, for example,
6820 # in the case of _POSIX_SOURCE, which is predefined and required
6821 # on some systems where configure will not decide to define it.
6822 if (defundef
== "undef") {
6823 print
"/*", prefix defundef
, macro
, "*/"
6831 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6832 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
6833 fi # test -n "$CONFIG_HEADERS"
6836 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6841 :[FHLC
]) ac_mode
=$ac_tag; continue;;
6843 case $ac_mode$ac_tag in
6845 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
6846 :[FH
]-) ac_tag
=-:-;;
6847 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
6864 -) ac_f
="$ac_tmp/stdin";;
6865 *) # Look for the file first in the build tree, then in the source tree
6866 # (if the path is not absolute). The absolute path cannot be DOS-style,
6867 # because $ac_f cannot contain `:'.
6871 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
6873 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6875 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6876 as_fn_append ac_file_inputs
" '$ac_f'"
6879 # Let's still pretend it is `configure' which instantiates (i.e., don't
6880 # use $as_me), people would be surprised to read:
6881 # /* config.h. Generated by config.status. */
6882 configure_input
='Generated from '`
6883 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6885 if test x
"$ac_file" != x-
; then
6886 configure_input
="$ac_file. $configure_input"
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6888 $as_echo "$as_me: creating $ac_file" >&6;}
6890 # Neutralize special characters interpreted by sed in replacement strings.
6891 case $configure_input in #(
6892 *\
&* |
*\|
* |
*\\* )
6893 ac_sed_conf_input
=`$as_echo "$configure_input" |
6894 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6895 *) ac_sed_conf_input
=$configure_input;;
6899 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
6900 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
6905 ac_dir
=`$as_dirname -- "$ac_file" ||
6906 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6907 X"$ac_file" : 'X\(//\)[^/]' \| \
6908 X"$ac_file" : 'X\(//\)$' \| \
6909 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6910 $as_echo X"$ac_file" |
6911 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6928 as_dir
="$ac_dir"; as_fn_mkdir_p
6932 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6934 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6935 # A ".." for each directory in $ac_dir_suffix.
6936 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6937 case $ac_top_builddir_sub in
6938 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6939 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
6942 ac_abs_top_builddir
=$ac_pwd
6943 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
6944 # for backward compatibility:
6945 ac_top_builddir
=$ac_top_build_prefix
6948 .
) # We are building in place.
6950 ac_top_srcdir
=$ac_top_builddir_sub
6951 ac_abs_top_srcdir
=$ac_pwd ;;
6952 [\\/]* | ?
:[\\/]* ) # Absolute name.
6953 ac_srcdir
=$srcdir$ac_dir_suffix;
6954 ac_top_srcdir
=$srcdir
6955 ac_abs_top_srcdir
=$srcdir ;;
6957 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
6958 ac_top_srcdir
=$ac_top_build_prefix$srcdir
6959 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
6961 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
6971 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
6972 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
6976 [\\/$
]* | ?
:[\\/]* ) ;;
6977 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
6981 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6982 # If the template does not know about datarootdir, expand it.
6983 # FIXME: This hack should be removed a few years after 2.60.
6984 ac_datarootdir_hack
=; ac_datarootdir_seen
=
6995 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6996 *datarootdir
*) ac_datarootdir_seen
=yes;;
6997 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
6998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6999 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7001 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7002 ac_datarootdir_hack='
7003 s&@datadir@&$datadir&g
7004 s&@docdir@&$docdir&g
7005 s&@infodir@&$infodir&g
7006 s&@localedir@&$localedir&g
7007 s&@mandir@&$mandir&g
7008 s&\\\${datarootdir}&$datarootdir&g' ;;
7012 # Neutralize VPATH when `$srcdir' = `.'.
7013 # Shell code in configure.ac might set extrasub.
7014 # FIXME: do we really want to maintain this feature?
7015 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7016 ac_sed_extra="$ac_vpsub
7019 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7021 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7022 s|@configure_input@|
$ac_sed_conf_input|
;t t
7023 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
7024 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
7025 s
&@srcdir@
&$ac_srcdir&;t t
7026 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
7027 s
&@top_srcdir@
&$ac_top_srcdir&;t t
7028 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
7029 s
&@builddir@
&$ac_builddir&;t t
7030 s
&@abs_builddir@
&$ac_abs_builddir&;t t
7031 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
7032 s
&@INSTALL@
&$ac_INSTALL&;t t
7033 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
7034 $ac_datarootdir_hack
7036 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
7037 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
7039 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7040 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
7041 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7042 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
7044 which seems to be undefined. Please make sure it is defined" >&5
7045 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
7046 which seems to be undefined. Please make sure it is defined" >&2;}
7048 rm -f "$ac_tmp/stdin"
7050 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7051 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7053 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7059 if test x"$ac_file" != x-; then
7061 $as_echo "/* $configure_input */" \
7062 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
7063 } >"$ac_tmp/config.h" \
7064 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7065 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7067 $as_echo "$as_me: $ac_file is unchanged" >&6;}
7070 mv "$ac_tmp/config.h" "$ac_file" \
7071 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7074 $as_echo "/* $configure_input */" \
7075 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
7076 || as_fn_error $? "could not create -" "$LINENO" 5
7078 # Compute "$ac_file"'s index
in $config_headers.
7081 for _am_header
in $config_headers :; do
7083 $_am_arg |
$_am_arg:* )
7086 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
7089 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
7090 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7091 X"$_am_arg" : 'X\(//\)[^/]' \| \
7092 X"$_am_arg" : 'X\(//\)$' \| \
7093 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
7094 $as_echo X"$_am_arg" |
7095 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7111 s/.*/./; q'`/stamp-h
$_am_stamp_count
7114 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7115 $as_echo "$as_me: executing $ac_file commands" >&6;}
7120 case $ac_file$ac_mode in
7121 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
7122 # Older Autoconf quotes --file arguments for eval, but not when files
7123 # are listed without --file. Let's play safe and only enable the eval
7124 # if we detect the quoting.
7125 case $CONFIG_FILES in
7126 *\'*) eval set x
"$CONFIG_FILES" ;;
7127 *) set x
$CONFIG_FILES ;;
7132 # Strip MF so we end up with the name of the file.
7133 mf
=`echo "$mf" | sed -e 's/:.*$//'`
7134 # Check whether this is an Automake generated Makefile or not.
7135 # We used to match only the files named 'Makefile.in', but
7136 # some people rename them; so instead we look at the file content.
7137 # Grep'ing the first line is not enough: some people post-process
7138 # each Makefile.in and add a new line on top of each file to say so.
7139 # Grep'ing the whole file is not good either: AIX grep has a line
7140 # limit of 2048, but all sed's we know have understand at least 4000.
7141 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
7142 dirpart
=`$as_dirname -- "$mf" ||
7143 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7144 X"$mf" : 'X\(//\)[^/]' \| \
7145 X"$mf" : 'X\(//\)$' \| \
7146 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7148 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7168 # Extract the definition of DEPDIR, am__include, and am__quote
7169 # from the Makefile without running 'make'.
7170 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
7171 test -z "$DEPDIR" && continue
7172 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
7173 test -z "$am__include" && continue
7174 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
7175 # Find all dependency output files, they are included files with
7176 # $(DEPDIR) in their names. We invoke sed twice because it is the
7177 # simplest approach to changing $(DEPDIR) to its actual value in the
7179 for file in `sed -n "
7180 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7181 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
7182 # Make sure the directory exists.
7183 test -f "$dirpart/$file" && continue
7184 fdir
=`$as_dirname -- "$file" ||
7185 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7186 X"$file" : 'X\(//\)[^/]' \| \
7187 X"$file" : 'X\(//\)$' \| \
7188 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7190 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7207 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
7208 # echo "creating $dirpart/$file"
7209 echo '# dummy' > "$dirpart/$file"
7221 ac_clean_files
=$ac_clean_files_save
7223 test $ac_write_fail = 0 ||
7224 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
7227 # configure is writing to config.log, and then calls config.status.
7228 # config.status does its own redirection, appending to config.log.
7229 # Unfortunately, on DOS this fails, as config.log is still kept open
7230 # by configure, so config.status won't be able to write to it; its
7231 # output is simply discarded. So we exec the FD to /dev/null,
7232 # effectively closing config.log, so it can be properly (re)opened and
7233 # appended to by config.status. When coming back to configure, we
7234 # need to make the FD available again.
7235 if test "$no_create" != yes; then
7237 ac_config_status_args
=
7238 test "$silent" = yes &&
7239 ac_config_status_args
="$ac_config_status_args --quiet"
7241 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7243 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7244 # would make configure fail if this is the last instruction.
7245 $ac_cs_success || as_fn_exit
1
7247 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
7248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7249 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}