2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for zlib (TeX Live) 1.2.8.
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
='zlib (TeX Live)'
582 PACKAGE_TARNAME
='zlib--tex-live-'
583 PACKAGE_VERSION
='1.2.8'
584 PACKAGE_STRING
='zlib (TeX Live) 1.2.8'
585 PACKAGE_BUGREPORT
='tex-k@tug.org'
588 ac_unique_file
="zlib-src/zlib.h"
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
658 MAINTAINER_MODE_FALSE
672 INSTALL_STRIP_PROGRAM
714 program_transform_name
727 enable_option_checking
729 enable_maintainer_mode
730 enable_dependency_tracking
731 enable_compiler_warnings
734 ac_precious_vars
='build_alias
745 # Initialize some variables set by options.
747 ac_init_version
=false
748 ac_unrecognized_opts
=
750 # The variables have the same names as the options, with
751 # dashes changed to underlines.
759 program_transform_name
=s
,x
,x
,
767 # Installation directory options.
768 # These are left unexpanded so users can "make install exec_prefix=/foo"
769 # and all the variables that are supposed to be based on exec_prefix
770 # by default will actually change.
771 # Use braces instead of parens because sh, perl, etc. also accept them.
772 # (The list follows the same order as the GNU Coding Standards.)
773 bindir
='${exec_prefix}/bin'
774 sbindir
='${exec_prefix}/sbin'
775 libexecdir
='${exec_prefix}/libexec'
776 datarootdir
='${prefix}/share'
777 datadir
='${datarootdir}'
778 sysconfdir
='${prefix}/etc'
779 sharedstatedir
='${prefix}/com'
780 localstatedir
='${prefix}/var'
781 includedir
='${prefix}/include'
782 oldincludedir
='/usr/include'
783 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
784 infodir
='${datarootdir}/info'
789 libdir
='${exec_prefix}/lib'
790 localedir
='${datarootdir}/locale'
791 mandir
='${datarootdir}/man'
797 # If the previous option needs an argument, assign it.
798 if test -n "$ac_prev"; then
799 eval $ac_prev=\
$ac_option
805 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
810 # Accept the important Cygnus configure options, so we can diagnose typos.
812 case $ac_dashdash$ac_option in
816 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
818 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
821 -build |
--build |
--buil |
--bui |
--bu)
822 ac_prev
=build_alias
;;
823 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
824 build_alias
=$ac_optarg ;;
826 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
827 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
828 ac_prev
=cache_file
;;
829 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
830 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
831 cache_file
=$ac_optarg ;;
834 cache_file
=config.cache
;;
836 -datadir |
--datadir |
--datadi |
--datad)
838 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
839 datadir
=$ac_optarg ;;
841 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
842 |
--dataroo |
--dataro |
--datar)
843 ac_prev
=datarootdir
;;
844 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
845 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
846 datarootdir
=$ac_optarg ;;
848 -disable-* |
--disable-*)
849 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
850 # Reject names that are not valid shell variable names.
851 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
852 as_fn_error $?
"invalid feature name: $ac_useropt"
853 ac_useropt_orig
=$ac_useropt
854 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
855 case $ac_user_opts in
859 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
860 ac_unrecognized_sep
=', ';;
862 eval enable_
$ac_useropt=no
;;
864 -docdir |
--docdir |
--docdi |
--doc |
--do)
866 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
869 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
871 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
874 -enable-* |
--enable-*)
875 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
876 # Reject names that are not valid shell variable names.
877 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
878 as_fn_error $?
"invalid feature name: $ac_useropt"
879 ac_useropt_orig
=$ac_useropt
880 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
881 case $ac_user_opts in
885 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
886 ac_unrecognized_sep
=', ';;
888 eval enable_
$ac_useropt=\
$ac_optarg ;;
890 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
891 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
892 |
--exec |
--exe |
--ex)
893 ac_prev
=exec_prefix
;;
894 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
895 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
896 |
--exec=* |
--exe=* |
--ex=*)
897 exec_prefix
=$ac_optarg ;;
899 -gas |
--gas |
--ga |
--g)
900 # Obsolete; use --with-gas.
903 -help |
--help |
--hel |
--he |
-h)
905 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
906 ac_init_help
=recursive
;;
907 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
908 ac_init_help
=short
;;
910 -host |
--host |
--hos |
--ho)
911 ac_prev
=host_alias
;;
912 -host=* |
--host=* |
--hos=* |
--ho=*)
913 host_alias
=$ac_optarg ;;
915 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
917 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
919 htmldir
=$ac_optarg ;;
921 -includedir |
--includedir |
--includedi |
--included |
--include \
922 |
--includ |
--inclu |
--incl |
--inc)
923 ac_prev
=includedir
;;
924 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
925 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
926 includedir
=$ac_optarg ;;
928 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
930 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
931 infodir
=$ac_optarg ;;
933 -libdir |
--libdir |
--libdi |
--libd)
935 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
938 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
939 |
--libexe |
--libex |
--libe)
940 ac_prev
=libexecdir
;;
941 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
942 |
--libexe=* |
--libex=* |
--libe=*)
943 libexecdir
=$ac_optarg ;;
945 -localedir |
--localedir |
--localedi |
--localed |
--locale)
947 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
948 localedir
=$ac_optarg ;;
950 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
951 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
952 ac_prev
=localstatedir
;;
953 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
954 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
955 localstatedir
=$ac_optarg ;;
957 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
959 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
963 # Obsolete; use --without-fp.
966 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
967 |
--no-cr |
--no-c |
-n)
970 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
971 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
974 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
975 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
976 |
--oldin |
--oldi |
--old |
--ol |
--o)
977 ac_prev
=oldincludedir
;;
978 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
979 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
980 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
981 oldincludedir
=$ac_optarg ;;
983 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
985 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
988 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
989 |
--program-pre |
--program-pr |
--program-p)
990 ac_prev
=program_prefix
;;
991 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
992 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
993 program_prefix
=$ac_optarg ;;
995 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
996 |
--program-suf |
--program-su |
--program-s)
997 ac_prev
=program_suffix
;;
998 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
999 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1000 program_suffix
=$ac_optarg ;;
1002 -program-transform-name |
--program-transform-name \
1003 |
--program-transform-nam |
--program-transform-na \
1004 |
--program-transform-n |
--program-transform- \
1005 |
--program-transform |
--program-transfor \
1006 |
--program-transfo |
--program-transf \
1007 |
--program-trans |
--program-tran \
1008 |
--progr-tra |
--program-tr |
--program-t)
1009 ac_prev
=program_transform_name
;;
1010 -program-transform-name=* |
--program-transform-name=* \
1011 |
--program-transform-nam=* |
--program-transform-na=* \
1012 |
--program-transform-n=* |
--program-transform-=* \
1013 |
--program-transform=* |
--program-transfor=* \
1014 |
--program-transfo=* |
--program-transf=* \
1015 |
--program-trans=* |
--program-tran=* \
1016 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1017 program_transform_name
=$ac_optarg ;;
1019 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1021 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1022 pdfdir
=$ac_optarg ;;
1024 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1026 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1029 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1030 |
-silent |
--silent |
--silen |
--sile |
--sil)
1033 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1035 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1037 sbindir
=$ac_optarg ;;
1039 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1040 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1041 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1043 ac_prev
=sharedstatedir
;;
1044 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1045 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1046 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1048 sharedstatedir
=$ac_optarg ;;
1050 -site |
--site |
--sit)
1052 -site=* |
--site=* |
--sit=*)
1055 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1057 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1058 srcdir
=$ac_optarg ;;
1060 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1061 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1062 ac_prev
=sysconfdir
;;
1063 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1064 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1065 sysconfdir
=$ac_optarg ;;
1067 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1068 ac_prev
=target_alias
;;
1069 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1070 target_alias
=$ac_optarg ;;
1072 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1075 -version |
--version |
--versio |
--versi |
--vers |
-V)
1076 ac_init_version
=: ;;
1079 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1080 # Reject names that are not valid shell variable names.
1081 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1082 as_fn_error $?
"invalid package name: $ac_useropt"
1083 ac_useropt_orig
=$ac_useropt
1084 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1085 case $ac_user_opts in
1089 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1090 ac_unrecognized_sep
=', ';;
1092 eval with_
$ac_useropt=\
$ac_optarg ;;
1094 -without-* |
--without-*)
1095 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1096 # Reject names that are not valid shell variable names.
1097 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1098 as_fn_error $?
"invalid package name: $ac_useropt"
1099 ac_useropt_orig
=$ac_useropt
1100 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1101 case $ac_user_opts in
1105 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1106 ac_unrecognized_sep
=', ';;
1108 eval with_
$ac_useropt=no
;;
1111 # Obsolete; use --with-x.
1114 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1115 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1116 ac_prev
=x_includes
;;
1117 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1118 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1119 x_includes
=$ac_optarg ;;
1121 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1122 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1123 ac_prev
=x_libraries
;;
1124 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1125 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1126 x_libraries
=$ac_optarg ;;
1128 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1129 Try \`$0 --help' for more information"
1133 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1134 # Reject names that are not valid shell variable names.
1135 case $ac_envvar in #(
1136 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1137 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1139 eval $ac_envvar=\
$ac_optarg
1140 export $ac_envvar ;;
1143 # FIXME: should be removed in autoconf 3.0.
1144 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1145 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1146 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1147 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1153 if test -n "$ac_prev"; then
1154 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1155 as_fn_error $?
"missing argument to $ac_option"
1158 if test -n "$ac_unrecognized_opts"; then
1159 case $enable_option_checking in
1161 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1162 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1166 # Check all directory arguments for consistency.
1167 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1168 datadir sysconfdir sharedstatedir localstatedir includedir \
1169 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1170 libdir localedir mandir
1172 eval ac_val
=\$
$ac_var
1173 # Remove trailing slashes.
1176 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1177 eval $ac_var=\
$ac_val;;
1179 # Be sure to have absolute directory names.
1181 [\\/$
]* | ?
:[\\/]* ) continue;;
1182 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1184 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1187 # There might be people who depend on the old broken behavior: `$host'
1188 # used to hold the argument of --host etc.
1189 # FIXME: To remove some day.
1192 target
=$target_alias
1194 # FIXME: To remove some day.
1195 if test "x$host_alias" != x
; then
1196 if test "x$build_alias" = x
; then
1197 cross_compiling
=maybe
1198 elif test "x$build_alias" != "x$host_alias"; then
1204 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1206 test "$silent" = yes && exec 6>/dev
/null
1209 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1210 ac_ls_di
=`ls -di .` &&
1211 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1212 as_fn_error $?
"working directory cannot be determined"
1213 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1214 as_fn_error $?
"pwd does not report name of working directory"
1217 # Find the source files, if location was not specified.
1218 if test -z "$srcdir"; then
1219 ac_srcdir_defaulted
=yes
1220 # Try the directory containing this script, then the parent directory.
1221 ac_confdir
=`$as_dirname -- "$as_myself" ||
1222 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1223 X"$as_myself" : 'X\(//\)[^/]' \| \
1224 X"$as_myself" : 'X\(//\)$' \| \
1225 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1226 $as_echo X"$as_myself" |
1227 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1245 if test ! -r "$srcdir/$ac_unique_file"; then
1249 ac_srcdir_defaulted
=no
1251 if test ! -r "$srcdir/$ac_unique_file"; then
1252 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1253 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1255 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1257 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1259 # When building in place, set srcdir=.
1260 if test "$ac_abs_confdir" = "$ac_pwd"; then
1263 # Remove unnecessary trailing slashes from srcdir.
1264 # Double slashes in file names in object file debugging info
1265 # mess up M-x gdb in Emacs.
1267 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1269 for ac_var
in $ac_precious_vars; do
1270 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1271 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1272 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1273 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1277 # Report the --help message.
1279 if test "$ac_init_help" = "long"; then
1280 # Omit some internal or obsolete options to make the list less imposing.
1281 # This message is too long to be a string in the A/UX 3.1 sh.
1283 \`configure' configures zlib (TeX Live) 1.2.8 to adapt to many kinds of systems.
1285 Usage: $0 [OPTION]... [VAR=VALUE]...
1287 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1288 VAR=VALUE. See below for descriptions of some of the useful variables.
1290 Defaults for the options are specified in brackets.
1293 -h, --help display this help and exit
1294 --help=short display options specific to this package
1295 --help=recursive display the short help of all the included packages
1296 -V, --version display version information and exit
1297 -q, --quiet, --silent do not print \`checking ...' messages
1298 --cache-file=FILE cache test results in FILE [disabled]
1299 -C, --config-cache alias for \`--cache-file=config.cache'
1300 -n, --no-create do not create output files
1301 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1303 Installation directories:
1304 --prefix=PREFIX install architecture-independent files in PREFIX
1305 [$ac_default_prefix]
1306 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1309 By default, \`make install' will install all the files in
1310 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1311 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1312 for instance \`--prefix=\$HOME'.
1314 For better control, use the options below.
1316 Fine tuning of the installation directories:
1317 --bindir=DIR user executables [EPREFIX/bin]
1318 --sbindir=DIR system admin executables [EPREFIX/sbin]
1319 --libexecdir=DIR program executables [EPREFIX/libexec]
1320 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1321 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1322 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1323 --libdir=DIR object code libraries [EPREFIX/lib]
1324 --includedir=DIR C header files [PREFIX/include]
1325 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1326 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1327 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1328 --infodir=DIR info documentation [DATAROOTDIR/info]
1329 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1330 --mandir=DIR man documentation [DATAROOTDIR/man]
1331 --docdir=DIR documentation root [DATAROOTDIR/doc/zlib--tex-live-]
1332 --htmldir=DIR html documentation [DOCDIR]
1333 --dvidir=DIR dvi documentation [DOCDIR]
1334 --pdfdir=DIR pdf documentation [DOCDIR]
1335 --psdir=DIR ps documentation [DOCDIR]
1341 --program-prefix=PREFIX prepend PREFIX to installed program names
1342 --program-suffix=SUFFIX append SUFFIX to installed program names
1343 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1347 if test -n "$ac_init_help"; then
1348 case $ac_init_help in
1349 short | recursive
) echo "Configuration of zlib (TeX Live) 1.2.8:";;
1354 --disable-option-checking ignore unrecognized
--enable/--with options
1355 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1356 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1357 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1358 --disable-silent-rules verbose build output
(undo
: "make V=0")
1359 --enable-maintainer-mode
1360 enable make rules and dependencies not useful
(and
1361 sometimes confusing
) to the casual installer
1362 --enable-dependency-tracking
1363 do not reject slow dependency extractors
1364 --disable-dependency-tracking
1365 speeds up one-time build
1366 --enable-compiler-warnings=[no|min|
yes|max|all
]
1367 Turn on compiler warnings
[default
: yes if
1368 maintainer-mode
, min otherwise
]
1369 --disable-largefile omit support
for large files
1371 Some influential environment variables
:
1372 CC C compiler
command
1373 CFLAGS C compiler flags
1374 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1375 nonstandard directory
<lib dir
>
1376 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1377 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1378 you have headers
in a nonstandard directory
<include dir
>
1381 Use these variables to override the choices made by
`configure' or to help
1382 it to find libraries and programs with nonstandard names/locations.
1384 Report bugs to <tex-k@tug.org>.
1389 if test "$ac_init_help" = "recursive"; then
1390 # If there are subdirs, report their specific --help.
1391 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1392 test -d "$ac_dir" ||
1393 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1398 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1400 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1401 # A ".." for each directory in $ac_dir_suffix.
1402 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1403 case $ac_top_builddir_sub in
1404 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1405 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1408 ac_abs_top_builddir=$ac_pwd
1409 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1410 # for backward compatibility:
1411 ac_top_builddir=$ac_top_build_prefix
1414 .) # We are building in place.
1416 ac_top_srcdir=$ac_top_builddir_sub
1417 ac_abs_top_srcdir=$ac_pwd ;;
1418 [\\/]* | ?:[\\/]* ) # Absolute name.
1419 ac_srcdir=$srcdir$ac_dir_suffix;
1420 ac_top_srcdir=$srcdir
1421 ac_abs_top_srcdir=$srcdir ;;
1423 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1424 ac_top_srcdir=$ac_top_build_prefix$srcdir
1425 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1427 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1429 cd "$ac_dir" || { ac_status=$?; continue; }
1430 # Check for guested configure.
1431 if test -f "$ac_srcdir/configure.gnu"; then
1433 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1434 elif test -f "$ac_srcdir/configure"; then
1436 $SHELL "$ac_srcdir/configure" --help=recursive
1438 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1440 cd "$ac_pwd" || { ac_status=$?; break; }
1444 test -n "$ac_init_help" && exit $ac_status
1445 if $ac_init_version; then
1447 zlib (TeX Live) configure 1.2.8
1448 generated by GNU Autoconf 2.69
1450 Copyright (C) 2012 Free Software Foundation, Inc.
1451 This configure script is free software; the Free Software Foundation
1452 gives unlimited permission to copy, distribute and modify it.
1457 ## ------------------------ ##
1458 ## Autoconf initialization. ##
1459 ## ------------------------ ##
1461 # ac_fn_c_try_compile LINENO
1462 # --------------------------
1463 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1464 ac_fn_c_try_compile ()
1466 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1467 rm -f conftest.$ac_objext
1468 if { { ac_try="$ac_compile"
1470 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1471 *) ac_try_echo
=$ac_try;;
1473 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1474 $as_echo "$ac_try_echo"; } >&5
1475 (eval "$ac_compile") 2>conftest.err
1477 if test -s conftest.err
; then
1478 grep -v '^ *+' conftest.err
>conftest.er1
1479 cat conftest.er1
>&5
1480 mv -f conftest.er1 conftest.err
1482 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1483 test $ac_status = 0; } && {
1484 test -z "$ac_c_werror_flag" ||
1485 test ! -s conftest.err
1486 } && test -s conftest.
$ac_objext; then :
1489 $as_echo "$as_me: failed program was:" >&5
1490 sed 's/^/| /' conftest.
$ac_ext >&5
1494 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1495 as_fn_set_status
$ac_retval
1497 } # ac_fn_c_try_compile
1499 # ac_fn_c_try_link LINENO
1500 # -----------------------
1501 # Try to link conftest.$ac_ext, and return whether this succeeded.
1504 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1505 rm -f conftest.
$ac_objext conftest
$ac_exeext
1506 if { { ac_try
="$ac_link"
1508 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1509 *) ac_try_echo=$ac_try;;
1511 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1512 $as_echo "$ac_try_echo"; } >&5
1513 (eval "$ac_link") 2>conftest.err
1515 if test -s conftest.err; then
1516 grep -v '^ *+' conftest.err >conftest.er1
1517 cat conftest.er1 >&5
1518 mv -f conftest.er1 conftest.err
1520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1521 test $ac_status = 0; } && {
1522 test -z "$ac_c_werror_flag" ||
1523 test ! -s conftest.err
1524 } && test -s conftest$ac_exeext && {
1525 test "$cross_compiling" = yes ||
1526 test -x conftest$ac_exeext
1530 $as_echo "$as_me: failed program was:" >&5
1531 sed 's/^/| /' conftest.$ac_ext >&5
1535 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1536 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1537 # interfere with the next link command; also delete a directory that is
1538 # left behind by Apple's compiler. We do this before executing the actions.
1539 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1540 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1541 as_fn_set_status $ac_retval
1543 } # ac_fn_c_try_link
1545 # ac_fn_c_try_cpp LINENO
1546 # ----------------------
1547 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1550 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1551 if { { ac_try="$ac_cpp conftest.$ac_ext"
1553 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1554 *) ac_try_echo
=$ac_try;;
1556 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1557 $as_echo "$ac_try_echo"; } >&5
1558 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1560 if test -s conftest.err
; then
1561 grep -v '^ *+' conftest.err
>conftest.er1
1562 cat conftest.er1
>&5
1563 mv -f conftest.er1 conftest.err
1565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1566 test $ac_status = 0; } > conftest.i
&& {
1567 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1568 test ! -s conftest.err
1572 $as_echo "$as_me: failed program was:" >&5
1573 sed 's/^/| /' conftest.
$ac_ext >&5
1577 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1578 as_fn_set_status
$ac_retval
1582 # ac_fn_c_try_run LINENO
1583 # ----------------------
1584 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1585 # that executables *can* be run.
1588 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1589 if { { ac_try
="$ac_link"
1591 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1592 *) ac_try_echo=$ac_try;;
1594 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1595 $as_echo "$ac_try_echo"; } >&5
1596 (eval "$ac_link") 2>&5
1598 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1599 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1600 { { case "(($ac_try" in
1601 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1602 *) ac_try_echo
=$ac_try;;
1604 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1605 $as_echo "$ac_try_echo"; } >&5
1606 (eval "$ac_try") 2>&5
1608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1609 test $ac_status = 0; }; }; then :
1612 $as_echo "$as_me: program exited with status $ac_status" >&5
1613 $as_echo "$as_me: failed program was:" >&5
1614 sed 's/^/| /' conftest.
$ac_ext >&5
1616 ac_retval
=$ac_status
1618 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1619 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1620 as_fn_set_status
$ac_retval
1624 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1625 # -------------------------------------------------------
1626 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1627 # the include files in INCLUDES and setting the cache variable VAR
1629 ac_fn_c_check_header_mongrel
()
1631 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1632 if eval \
${$3+:} false
; then :
1633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1634 $as_echo_n "checking for $2... " >&6; }
1635 if eval \
${$3+:} false
; then :
1636 $as_echo_n "(cached) " >&6
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1640 $as_echo "$ac_res" >&6; }
1642 # Is the header compilable?
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1644 $as_echo_n "checking $2 usability... " >&6; }
1645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1646 /* end confdefs.h. */
1650 if ac_fn_c_try_compile
"$LINENO"; then :
1651 ac_header_compiler
=yes
1653 ac_header_compiler
=no
1655 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1657 $as_echo "$ac_header_compiler" >&6; }
1659 # Is the header present?
1660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1661 $as_echo_n "checking $2 presence... " >&6; }
1662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1663 /* end confdefs.h. */
1666 if ac_fn_c_try_cpp
"$LINENO"; then :
1667 ac_header_preproc
=yes
1669 ac_header_preproc
=no
1671 rm -f conftest.err conftest.i conftest.
$ac_ext
1672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1673 $as_echo "$ac_header_preproc" >&6; }
1675 # So? What about this header?
1676 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1679 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1681 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1685 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1687 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1689 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1691 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1693 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1694 ( $as_echo "## ---------------------------- ##
1695 ## Report this to tex-k@tug.org ##
1696 ## ---------------------------- ##"
1697 ) |
sed "s/^/$as_me: WARNING: /" >&2
1700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1701 $as_echo_n "checking for $2... " >&6; }
1702 if eval \
${$3+:} false
; then :
1703 $as_echo_n "(cached) " >&6
1705 eval "$3=\$ac_header_compiler"
1708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1709 $as_echo "$ac_res" >&6; }
1711 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1713 } # ac_fn_c_check_header_mongrel
1715 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1716 # -------------------------------------------------------
1717 # Tests whether HEADER exists and can be compiled using the include files in
1718 # INCLUDES, setting the cache variable VAR accordingly.
1719 ac_fn_c_check_header_compile
()
1721 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1723 $as_echo_n "checking for $2... " >&6; }
1724 if eval \
${$3+:} false
; then :
1725 $as_echo_n "(cached) " >&6
1727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1728 /* end confdefs.h. */
1732 if ac_fn_c_try_compile
"$LINENO"; then :
1737 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1741 $as_echo "$ac_res" >&6; }
1742 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1744 } # ac_fn_c_check_header_compile
1745 cat >config.log
<<_ACEOF
1746 This file contains any messages produced by compilers while
1747 running configure, to aid debugging if configure makes a mistake.
1749 It was created by zlib (TeX Live) $as_me 1.2.8, which was
1750 generated by GNU Autoconf 2.69. Invocation command line was
1762 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1763 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1764 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1765 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1766 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1768 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1769 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1771 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1772 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1773 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1774 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1775 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1776 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1777 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1785 test -z "$as_dir" && as_dir
=.
1786 $as_echo "PATH: $as_dir"
1802 # Keep a trace of the command line.
1803 # Strip out --no-create and --no-recursion so they do not pile up.
1804 # Strip out --silent because we don't want to record it for future runs.
1805 # Also quote any args containing shell meta-characters.
1806 # Make two passes to allow for proper duplicate-argument suppression.
1810 ac_must_keep_next
=false
1816 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1817 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1818 |
-silent |
--silent |
--silen |
--sile |
--sil)
1821 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1824 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1826 as_fn_append ac_configure_args1
" '$ac_arg'"
1827 if test $ac_must_keep_next = true
; then
1828 ac_must_keep_next
=false
# Got value, back to normal.
1831 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1832 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1833 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1834 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1835 case "$ac_configure_args0 " in
1836 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1839 -* ) ac_must_keep_next
=true
;;
1842 as_fn_append ac_configure_args
" '$ac_arg'"
1847 { ac_configure_args0
=; unset ac_configure_args0
;}
1848 { ac_configure_args1
=; unset ac_configure_args1
;}
1850 # When interrupted or exit'd, cleanup temporary files, and complete
1851 # config.log. We remove comments because anyway the quotes in there
1852 # would cause problems or look ugly.
1853 # WARNING: Use '\'' to represent an apostrophe within the trap.
1854 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1855 trap 'exit_status=$?
1856 # Save into config.log some information that might help in debugging.
1860 $as_echo "## ---------------- ##
1861 ## Cache variables. ##
1862 ## ---------------- ##"
1864 # The following way of writing the cache mishandles newlines in values,
1866 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1867 eval ac_val=\$$ac_var
1871 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1872 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1875 _ | IFS | as_nl) ;; #(
1876 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1877 *) { eval $ac_var=; unset $ac_var;} ;;
1882 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1883 *${as_nl}ac_space=\ *)
1885 "s/'\''/'\''\\\\'\'''\''/g;
1886 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1889 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1896 $as_echo "## ----------------- ##
1897 ## Output variables. ##
1898 ## ----------------- ##"
1900 for ac_var in $ac_subst_vars
1902 eval ac_val=\$$ac_var
1904 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1906 $as_echo "$ac_var='\''$ac_val'\''"
1910 if test -n "$ac_subst_files"; then
1911 $as_echo "## ------------------- ##
1912 ## File substitutions. ##
1913 ## ------------------- ##"
1915 for ac_var
in $ac_subst_files
1917 eval ac_val
=\$
$ac_var
1919 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1921 $as_echo "$ac_var='\''$ac_val'\''"
1926 if test -s confdefs.h; then
1927 $as_echo "## ----------- ##
1934 test "$ac_signal" != 0 &&
1935 $as_echo "$as_me: caught signal $ac_signal"
1936 $as_echo "$as_me: exit $exit_status"
1938 rm -f core *.core core.conftest.* &&
1939 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1942 for ac_signal
in 1 2 13 15; do
1943 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1947 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1948 rm -f -r conftest
* confdefs.h
1950 $as_echo "/* confdefs.h */" > confdefs.h
1952 # Predefined preprocessor variables.
1954 cat >>confdefs.h
<<_ACEOF
1955 #define PACKAGE_NAME "$PACKAGE_NAME"
1958 cat >>confdefs.h
<<_ACEOF
1959 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1962 cat >>confdefs.h
<<_ACEOF
1963 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1966 cat >>confdefs.h
<<_ACEOF
1967 #define PACKAGE_STRING "$PACKAGE_STRING"
1970 cat >>confdefs.h
<<_ACEOF
1971 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1974 cat >>confdefs.h
<<_ACEOF
1975 #define PACKAGE_URL "$PACKAGE_URL"
1979 # Let the site file select an alternate cache file if it wants to.
1980 # Prefer an explicitly selected file to automatically selected ones.
1983 if test -n "$CONFIG_SITE"; then
1984 # We do not want a PATH search for config.site.
1985 case $CONFIG_SITE in #((
1986 -*) ac_site_file1
=.
/$CONFIG_SITE;;
1987 */*) ac_site_file1
=$CONFIG_SITE;;
1988 *) ac_site_file1
=.
/$CONFIG_SITE;;
1990 elif test "x$prefix" != xNONE
; then
1991 ac_site_file1
=$prefix/share
/config.site
1992 ac_site_file2
=$prefix/etc
/config.site
1994 ac_site_file1
=$ac_default_prefix/share
/config.site
1995 ac_site_file2
=$ac_default_prefix/etc
/config.site
1997 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1999 test "x$ac_site_file" = xNONE
&& continue
2000 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2001 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2002 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2003 sed 's/^/| /' "$ac_site_file" >&5
2005 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2006 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2007 as_fn_error $?
"failed to load site script $ac_site_file
2008 See \`config.log' for more details" "$LINENO" 5; }
2012 if test -r "$cache_file"; then
2013 # Some versions of bash will fail to source /dev/null (special files
2014 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2015 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2016 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2017 $as_echo "$as_me: loading cache $cache_file" >&6;}
2019 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2020 *) .
"./$cache_file";;
2024 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2025 $as_echo "$as_me: creating cache $cache_file" >&6;}
2029 # Check that the precious variables saved in the cache have kept the same
2031 ac_cache_corrupted
=false
2032 for ac_var
in $ac_precious_vars; do
2033 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2034 eval ac_new_set
=\
$ac_env_${ac_var}_set
2035 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2036 eval ac_new_val
=\
$ac_env_${ac_var}_value
2037 case $ac_old_set,$ac_new_set in
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2040 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2041 ac_cache_corrupted
=: ;;
2043 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2044 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2045 ac_cache_corrupted
=: ;;
2048 if test "x$ac_old_val" != "x$ac_new_val"; then
2049 # differences in whitespace do not lead to failure.
2050 ac_old_val_w
=`echo x $ac_old_val`
2051 ac_new_val_w
=`echo x $ac_new_val`
2052 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2054 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2055 ac_cache_corrupted
=:
2057 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2058 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2059 eval $ac_var=\
$ac_old_val
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2062 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2064 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2067 # Pass precious variables to config.status.
2068 if test "$ac_new_set" = set; then
2070 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2071 *) ac_arg
=$ac_var=$ac_new_val ;;
2073 case " $ac_configure_args " in
2074 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2075 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2079 if $ac_cache_corrupted; then
2080 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2081 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2083 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2084 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2086 ## -------------------- ##
2087 ## Main body of script. ##
2088 ## -------------------- ##
2091 ac_cpp
='$CPP $CPPFLAGS'
2092 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2093 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2094 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2100 for ac_dir
in ..
/..
/build-aux
"$srcdir"/..
/..
/build-aux
; do
2101 if test -f "$ac_dir/install-sh"; then
2103 ac_install_sh
="$ac_aux_dir/install-sh -c"
2105 elif test -f "$ac_dir/install.sh"; then
2107 ac_install_sh
="$ac_aux_dir/install.sh -c"
2109 elif test -f "$ac_dir/shtool"; then
2111 ac_install_sh
="$ac_aux_dir/shtool install -c"
2115 if test -z "$ac_aux_dir"; then
2116 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in ../../build-aux \"$srcdir\"/../../build-aux" "$LINENO" 5
2119 # These three variables are undocumented and unsupported,
2120 # and are intended to be withdrawn in a future Autoconf release.
2121 # They can cause serious problems if a builder's source tree is in a directory
2122 # whose full name contains unusual characters.
2123 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2124 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2125 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2130 am__api_version
='1.15'
2132 # Find a good install program. We prefer a C program (faster),
2133 # so one script is as good as another. But avoid the broken or
2134 # incompatible versions:
2135 # SysV /etc/install, /usr/sbin/install
2136 # SunOS /usr/etc/install
2137 # IRIX /sbin/install
2139 # AmigaOS /C/install, which installs bootblocks on floppy discs
2140 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2141 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2142 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2143 # OS/2's system install, which has a completely different semantic
2144 # ./install, which can be erroneously created by make from ./install.sh.
2145 # Reject install programs that cannot install multiple files.
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2147 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2148 if test -z "$INSTALL"; then
2149 if ${ac_cv_path_install+:} false
; then :
2150 $as_echo_n "(cached) " >&6
2152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2156 test -z "$as_dir" && as_dir
=.
2157 # Account for people who put trailing slashes in PATH elements.
2158 case $as_dir/ in #((
2159 .
/ | .
// |
/[cC
]/* | \
2160 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2161 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2164 # OSF1 and SCO ODT 3.0 have their own names for install.
2165 # Don't use installbsd from OSF since it installs stuff as root
2167 for ac_prog
in ginstall scoinst
install; do
2168 for ac_exec_ext
in '' $ac_executable_extensions; do
2169 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2170 if test $ac_prog = install &&
2171 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2172 # AIX install. It has an incompatible calling convention.
2174 elif test $ac_prog = install &&
2175 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2176 # program-specific install script used by HP pwplus--don't use.
2179 rm -rf conftest.one conftest.two conftest.dir
2180 echo one
> conftest.one
2181 echo two
> conftest.two
2183 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2184 test -s conftest.one
&& test -s conftest.two
&&
2185 test -s conftest.dir
/conftest.one
&&
2186 test -s conftest.dir
/conftest.two
2188 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2201 rm -rf conftest.one conftest.two conftest.dir
2204 if test "${ac_cv_path_install+set}" = set; then
2205 INSTALL
=$ac_cv_path_install
2207 # As a last resort, use the slow shell script. Don't cache a
2208 # value for INSTALL within a source directory, because that will
2209 # break other packages using the cache if that directory is
2210 # removed, or if the value is a relative name.
2211 INSTALL
=$ac_install_sh
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2215 $as_echo "$INSTALL" >&6; }
2217 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2218 # It thinks the first close brace ends the variable substitution.
2219 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2221 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2223 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2226 $as_echo_n "checking whether build environment is sane... " >&6; }
2227 # Reject unsafe characters in $srcdir or the absolute working directory
2228 # name. Accept space and tab only in the latter.
2232 *[\\\"\
#\$\&\'\`$am_lf]*)
2233 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2236 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2237 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2240 # Do 'set' in a subshell so we don't clobber the current shell's
2241 # arguments. Must try -L first in case configure is actually a
2242 # symlink; some systems play weird games with the mod time of symlinks
2243 # (eg FreeBSD returns the mod time of the symlink's containing
2247 for am_try
in 1 2; do
2248 echo "timestamp, slept: $am_has_slept" > conftest.
file
2249 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2250 if test "$*" = "X"; then
2252 set X
`ls -t "$srcdir/configure" conftest.file`
2254 if test "$*" != "X $srcdir/configure conftest.file" \
2255 && test "$*" != "X conftest.file $srcdir/configure"; then
2257 # If neither matched, then we have a broken ls. This can happen
2258 # if, for instance, CONFIG_SHELL is bash and it inherits a
2259 # broken ls alias from the environment. This has actually
2260 # happened. Such a system could not be considered "sane".
2261 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2262 alias in your environment" "$LINENO" 5
2264 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2271 test "$2" = conftest.
file
2277 as_fn_error $?
"newly created file is older than distributed files!
2278 Check your system clock" "$LINENO" 5
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2281 $as_echo "yes" >&6; }
2282 # If we didn't sleep, we still need to ensure time stamps of config.status and
2283 # generated files are strictly newer.
2285 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2292 test "$program_prefix" != NONE
&&
2293 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2294 # Use a double $ so make ignores it.
2295 test "$program_suffix" != NONE
&&
2296 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2297 # Double any \ or $.
2298 # By default was `s,x,x', remove it if useless.
2299 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2300 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2302 # Expand $ac_aux_dir to an absolute path.
2303 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2305 if test x
"${MISSING+set}" != xset
; then
2308 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2310 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2313 # Use eval to expand $SHELL
2314 if eval "$MISSING --is-lightweight"; then
2315 am_missing_run
="$MISSING "
2318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2319 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2322 if test x
"${install_sh+set}" != xset
; then
2325 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2327 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2331 # Installed binaries are usually stripped using 'strip' when the user
2332 # run "make install-strip". However 'strip' might not be the right
2333 # tool to use in cross-compilation environments, therefore Automake
2334 # will honor the 'STRIP' environment variable to overrule this program.
2335 if test "$cross_compiling" != no
; then
2336 if test -n "$ac_tool_prefix"; then
2337 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2338 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2340 $as_echo_n "checking for $ac_word... " >&6; }
2341 if ${ac_cv_prog_STRIP+:} false
; then :
2342 $as_echo_n "(cached) " >&6
2344 if test -n "$STRIP"; then
2345 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2351 test -z "$as_dir" && as_dir
=.
2352 for ac_exec_ext
in '' $ac_executable_extensions; do
2353 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2354 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2364 STRIP
=$ac_cv_prog_STRIP
2365 if test -n "$STRIP"; then
2366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2367 $as_echo "$STRIP" >&6; }
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2370 $as_echo "no" >&6; }
2375 if test -z "$ac_cv_prog_STRIP"; then
2377 # Extract the first word of "strip", so it can be a program name with args.
2378 set dummy strip
; ac_word
=$2
2379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2380 $as_echo_n "checking for $ac_word... " >&6; }
2381 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2382 $as_echo_n "(cached) " >&6
2384 if test -n "$ac_ct_STRIP"; then
2385 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2387 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2391 test -z "$as_dir" && as_dir
=.
2392 for ac_exec_ext
in '' $ac_executable_extensions; do
2393 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2394 ac_cv_prog_ac_ct_STRIP
="strip"
2395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2404 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2405 if test -n "$ac_ct_STRIP"; then
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2407 $as_echo "$ac_ct_STRIP" >&6; }
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2410 $as_echo "no" >&6; }
2413 if test "x$ac_ct_STRIP" = x
; then
2416 case $cross_compiling:$ac_tool_warned in
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2419 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2420 ac_tool_warned
=yes ;;
2425 STRIP
="$ac_cv_prog_STRIP"
2429 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2432 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2433 if test -z "$MKDIR_P"; then
2434 if ${ac_cv_path_mkdir+:} false
; then :
2435 $as_echo_n "(cached) " >&6
2437 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2438 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2441 test -z "$as_dir" && as_dir
=.
2442 for ac_prog
in mkdir gmkdir
; do
2443 for ac_exec_ext
in '' $ac_executable_extensions; do
2444 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2445 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2446 'mkdir (GNU coreutils) '* | \
2447 'mkdir (coreutils) '* | \
2448 'mkdir (fileutils) '4.1*)
2449 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2459 test -d .
/--version && rmdir .
/--version
2460 if test "${ac_cv_path_mkdir+set}" = set; then
2461 MKDIR_P
="$ac_cv_path_mkdir -p"
2463 # As a last resort, use the slow shell script. Don't cache a
2464 # value for MKDIR_P within a source directory, because that will
2465 # break other packages using the cache if that directory is
2466 # removed, or if the value is a relative name.
2467 MKDIR_P
="$ac_install_sh -d"
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2471 $as_echo "$MKDIR_P" >&6; }
2473 for ac_prog
in gawk mawk nawk
awk
2475 # Extract the first word of "$ac_prog", so it can be a program name with args.
2476 set dummy
$ac_prog; ac_word
=$2
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2478 $as_echo_n "checking for $ac_word... " >&6; }
2479 if ${ac_cv_prog_AWK+:} false
; then :
2480 $as_echo_n "(cached) " >&6
2482 if test -n "$AWK"; then
2483 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2485 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2489 test -z "$as_dir" && as_dir
=.
2490 for ac_exec_ext
in '' $ac_executable_extensions; do
2491 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2492 ac_cv_prog_AWK
="$ac_prog"
2493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2503 if test -n "$AWK"; then
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2505 $as_echo "$AWK" >&6; }
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2508 $as_echo "no" >&6; }
2512 test -n "$AWK" && break
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2516 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2518 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2519 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2520 $as_echo_n "(cached) " >&6
2522 cat >conftest.
make <<\_ACEOF
2525 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2527 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2528 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2530 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2532 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2536 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2538 $as_echo "yes" >&6; }
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2542 $as_echo "no" >&6; }
2543 SET_MAKE
="MAKE=${MAKE-make}"
2546 rm -rf .tst
2>/dev
/null
2547 mkdir .tst
2>/dev
/null
2548 if test -d .tst
; then
2553 rmdir .tst
2>/dev
/null
2555 # Check whether --enable-silent-rules was given.
2556 if test "${enable_silent_rules+set}" = set; then :
2557 enableval
=$enable_silent_rules;
2560 case $enable_silent_rules in # (((
2561 yes) AM_DEFAULT_VERBOSITY
=0;;
2562 no
) AM_DEFAULT_VERBOSITY
=1;;
2563 *) AM_DEFAULT_VERBOSITY
=1;;
2565 am_make
=${MAKE-make}
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2567 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2568 if ${am_cv_make_support_nested_variables+:} false
; then :
2569 $as_echo_n "(cached) " >&6
2571 if $as_echo 'TRUE=$(BAR$(V))
2577 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2578 am_cv_make_support_nested_variables
=yes
2580 am_cv_make_support_nested_variables
=no
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2584 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2585 if test $am_cv_make_support_nested_variables = yes; then
2587 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2589 AM_V
=$AM_DEFAULT_VERBOSITY
2590 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2594 DEPDIR="${am__leading_dot}deps"
2596 ac_config_commands="$ac_config_commands depfiles"
2599 am_make=${MAKE-make}
2600 cat > confinc << 'END
'
2602 @echo this is the am__doit target
2605 # If we don't
find an include directive
, just comment out the code.
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2607 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2611 # First try GNU make style include.
2612 echo "include confinc" > confmf
2613 # Ignore all kinds of additional output from 'make'.
2614 case `$am_make -s -f confmf 2> /dev/null` in #(
2615 *the\ am__doit\ target
*)
2621 # Now try BSD make style include.
2622 if test "$am__include" = "#"; then
2623 echo '.include "confinc"' > confmf
2624 case `$am_make -s -f confmf 2> /dev/null` in #(
2625 *the\ am__doit\ target
*)
2626 am__include
=.include
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2635 $as_echo "$_am_result" >&6; }
2636 rm -f confinc confmf
2638 # Check whether --enable-dependency-tracking was given.
2639 if test "${enable_dependency_tracking+set}" = set; then :
2640 enableval
=$enable_dependency_tracking;
2643 if test "x$enable_dependency_tracking" != xno
; then
2644 am_depcomp
="$ac_aux_dir/depcomp"
2648 if test "x$enable_dependency_tracking" != xno; then
2658 ac_cpp
='$CPP $CPPFLAGS'
2659 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2660 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2661 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2662 if test -n "$ac_tool_prefix"; then
2663 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2664 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2666 $as_echo_n "checking for $ac_word... " >&6; }
2667 if ${ac_cv_prog_CC+:} false
; then :
2668 $as_echo_n "(cached) " >&6
2670 if test -n "$CC"; then
2671 ac_cv_prog_CC
="$CC" # Let the user override the test.
2673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2677 test -z "$as_dir" && as_dir
=.
2678 for ac_exec_ext
in '' $ac_executable_extensions; do
2679 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2680 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2691 if test -n "$CC"; then
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2693 $as_echo "$CC" >&6; }
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2696 $as_echo "no" >&6; }
2701 if test -z "$ac_cv_prog_CC"; then
2703 # Extract the first word of "gcc", so it can be a program name with args.
2704 set dummy gcc
; ac_word
=$2
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2706 $as_echo_n "checking for $ac_word... " >&6; }
2707 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2708 $as_echo_n "(cached) " >&6
2710 if test -n "$ac_ct_CC"; then
2711 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2717 test -z "$as_dir" && as_dir
=.
2718 for ac_exec_ext
in '' $ac_executable_extensions; do
2719 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2720 ac_cv_prog_ac_ct_CC
="gcc"
2721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2730 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2731 if test -n "$ac_ct_CC"; then
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2733 $as_echo "$ac_ct_CC" >&6; }
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2736 $as_echo "no" >&6; }
2739 if test "x$ac_ct_CC" = x
; then
2742 case $cross_compiling:$ac_tool_warned in
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2745 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2746 ac_tool_warned
=yes ;;
2754 if test -z "$CC"; then
2755 if test -n "$ac_tool_prefix"; then
2756 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2757 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2759 $as_echo_n "checking for $ac_word... " >&6; }
2760 if ${ac_cv_prog_CC+:} false
; then :
2761 $as_echo_n "(cached) " >&6
2763 if test -n "$CC"; then
2764 ac_cv_prog_CC
="$CC" # Let the user override the test.
2766 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2770 test -z "$as_dir" && as_dir
=.
2771 for ac_exec_ext
in '' $ac_executable_extensions; do
2772 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2773 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2784 if test -n "$CC"; then
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2786 $as_echo "$CC" >&6; }
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2789 $as_echo "no" >&6; }
2795 if test -z "$CC"; then
2796 # Extract the first word of "cc", so it can be a program name with args.
2797 set dummy cc
; ac_word
=$2
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2799 $as_echo_n "checking for $ac_word... " >&6; }
2800 if ${ac_cv_prog_CC+:} false
; then :
2801 $as_echo_n "(cached) " >&6
2803 if test -n "$CC"; then
2804 ac_cv_prog_CC
="$CC" # Let the user override the test.
2807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2811 test -z "$as_dir" && as_dir
=.
2812 for ac_exec_ext
in '' $ac_executable_extensions; do
2813 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2814 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2815 ac_prog_rejected
=yes
2819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2826 if test $ac_prog_rejected = yes; then
2827 # We found a bogon in the path, so make sure we never use it.
2828 set dummy
$ac_cv_prog_CC
2830 if test $# != 0; then
2831 # We chose a different compiler from the bogus one.
2832 # However, it has the same basename, so the bogon will be chosen
2833 # first if we set CC to just the basename; use the full file name.
2835 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2841 if test -n "$CC"; then
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2843 $as_echo "$CC" >&6; }
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2846 $as_echo "no" >&6; }
2851 if test -z "$CC"; then
2852 if test -n "$ac_tool_prefix"; then
2853 for ac_prog
in cl.exe
2855 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2856 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2858 $as_echo_n "checking for $ac_word... " >&6; }
2859 if ${ac_cv_prog_CC+:} false
; then :
2860 $as_echo_n "(cached) " >&6
2862 if test -n "$CC"; then
2863 ac_cv_prog_CC
="$CC" # Let the user override the test.
2865 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2869 test -z "$as_dir" && as_dir
=.
2870 for ac_exec_ext
in '' $ac_executable_extensions; do
2871 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2872 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2883 if test -n "$CC"; then
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2885 $as_echo "$CC" >&6; }
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2888 $as_echo "no" >&6; }
2892 test -n "$CC" && break
2895 if test -z "$CC"; then
2897 for ac_prog
in cl.exe
2899 # Extract the first word of "$ac_prog", so it can be a program name with args.
2900 set dummy
$ac_prog; ac_word
=$2
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2902 $as_echo_n "checking for $ac_word... " >&6; }
2903 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2904 $as_echo_n "(cached) " >&6
2906 if test -n "$ac_ct_CC"; then
2907 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2909 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2913 test -z "$as_dir" && as_dir
=.
2914 for ac_exec_ext
in '' $ac_executable_extensions; do
2915 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2916 ac_cv_prog_ac_ct_CC
="$ac_prog"
2917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2926 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2927 if test -n "$ac_ct_CC"; then
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2929 $as_echo "$ac_ct_CC" >&6; }
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2932 $as_echo "no" >&6; }
2936 test -n "$ac_ct_CC" && break
2939 if test "x$ac_ct_CC" = x
; then
2942 case $cross_compiling:$ac_tool_warned in
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2945 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2946 ac_tool_warned
=yes ;;
2955 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2956 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2957 as_fn_error $?
"no acceptable C compiler found in \$PATH
2958 See \`config.log' for more details" "$LINENO" 5; }
2960 # Provide some information about the compiler.
2961 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2964 for ac_option
in --version -v -V -qversion; do
2965 { { ac_try
="$ac_compiler $ac_option >&5"
2967 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2968 *) ac_try_echo=$ac_try;;
2970 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2971 $as_echo "$ac_try_echo"; } >&5
2972 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2974 if test -s conftest.err; then
2976 ... rest of stderr output deleted ...
2977 10q' conftest.err >conftest.er1
2978 cat conftest.er1 >&5
2980 rm -f conftest.er1 conftest.err
2981 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2982 test $ac_status = 0; }
2985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2986 /* end confdefs.h. */
2996 ac_clean_files_save=$ac_clean_files
2997 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2998 # Try to create an executable without -o first, disregard a.out.
2999 # It will help us diagnose broken compilers, and finding out an intuition
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3002 $as_echo_n "checking whether the C compiler works... " >&6; }
3003 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3005 # The possible output files:
3006 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3009 for ac_file in $ac_files
3012 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3013 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3018 if { { ac_try="$ac_link_default"
3020 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3021 *) ac_try_echo
=$ac_try;;
3023 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3024 $as_echo "$ac_try_echo"; } >&5
3025 (eval "$ac_link_default") 2>&5
3027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3028 test $ac_status = 0; }; then :
3029 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3030 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3031 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3032 # so that the user can short-circuit this test for compilers unknown to
3034 for ac_file
in $ac_files ''
3036 test -f "$ac_file" ||
continue
3038 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3041 # We found the default executable, but exeext='' is most
3045 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3047 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3049 # We set ac_cv_exeext here because the later test for it is not
3050 # safe: cross compilers may not add the suffix if given an `-o'
3051 # argument, so we may need to know it at that point already.
3052 # Even if this section looks crufty: it has the advantage of
3059 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3064 if test -z "$ac_file"; then :
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3066 $as_echo "no" >&6; }
3067 $as_echo "$as_me: failed program was:" >&5
3068 sed 's/^/| /' conftest.
$ac_ext >&5
3070 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3071 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3072 as_fn_error
77 "C compiler cannot create executables
3073 See \`config.log' for more details" "$LINENO" 5; }
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3076 $as_echo "yes" >&6; }
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3079 $as_echo_n "checking for C compiler default output file name... " >&6; }
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3081 $as_echo "$ac_file" >&6; }
3082 ac_exeext
=$ac_cv_exeext
3084 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3085 ac_clean_files
=$ac_clean_files_save
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3087 $as_echo_n "checking for suffix of executables... " >&6; }
3088 if { { ac_try
="$ac_link"
3090 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3091 *) ac_try_echo=$ac_try;;
3093 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3094 $as_echo "$ac_try_echo"; } >&5
3095 (eval "$ac_link") 2>&5
3097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3098 test $ac_status = 0; }; then :
3099 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3100 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3101 # work properly (i.e., refer to `conftest.exe'), while it won't with
3103 for ac_file
in conftest.exe conftest conftest.
*; do
3104 test -f "$ac_file" ||
continue
3106 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3107 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3113 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3114 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3115 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3116 See \`config.log' for more details" "$LINENO" 5; }
3118 rm -f conftest conftest
$ac_cv_exeext
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3120 $as_echo "$ac_cv_exeext" >&6; }
3122 rm -f conftest.
$ac_ext
3123 EXEEXT
=$ac_cv_exeext
3125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3126 /* end confdefs.h. */
3131 FILE *f = fopen ("conftest.out", "w");
3132 return ferror (f) || fclose (f) != 0;
3138 ac_clean_files
="$ac_clean_files conftest.out"
3139 # Check that the compiler produces executables we can run. If not, either
3140 # the compiler is broken, or we cross compile.
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3142 $as_echo_n "checking whether we are cross compiling... " >&6; }
3143 if test "$cross_compiling" != yes; then
3144 { { ac_try
="$ac_link"
3146 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3147 *) ac_try_echo=$ac_try;;
3149 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3150 $as_echo "$ac_try_echo"; } >&5
3151 (eval "$ac_link") 2>&5
3153 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3154 test $ac_status = 0; }
3155 if { ac_try='./conftest$ac_cv_exeext'
3156 { { case "(($ac_try" in
3157 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3158 *) ac_try_echo
=$ac_try;;
3160 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3161 $as_echo "$ac_try_echo"; } >&5
3162 (eval "$ac_try") 2>&5
3164 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3165 test $ac_status = 0; }; }; then
3168 if test "$cross_compiling" = maybe
; then
3171 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3172 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3173 as_fn_error $?
"cannot run C compiled programs.
3174 If you meant to cross compile, use \`--host'.
3175 See \`config.log' for more details" "$LINENO" 5; }
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3180 $as_echo "$cross_compiling" >&6; }
3182 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3183 ac_clean_files
=$ac_clean_files_save
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3185 $as_echo_n "checking for suffix of object files... " >&6; }
3186 if ${ac_cv_objext+:} false
; then :
3187 $as_echo_n "(cached) " >&6
3189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3190 /* end confdefs.h. */
3200 rm -f conftest.o conftest.obj
3201 if { { ac_try
="$ac_compile"
3203 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3204 *) ac_try_echo=$ac_try;;
3206 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3207 $as_echo "$ac_try_echo"; } >&5
3208 (eval "$ac_compile") 2>&5
3210 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3211 test $ac_status = 0; }; then :
3212 for ac_file in conftest.o conftest.obj conftest.*; do
3213 test -f "$ac_file" || continue;
3215 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3216 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3221 $as_echo "$as_me: failed program was:" >&5
3222 sed 's/^/| /' conftest.$ac_ext >&5
3224 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3225 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3226 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3227 See \
`config.log' for more details" "$LINENO" 5; }
3229 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3232 $as_echo "$ac_cv_objext" >&6; }
3233 OBJEXT=$ac_cv_objext
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3236 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3237 if ${ac_cv_c_compiler_gnu+:} false; then :
3238 $as_echo_n "(cached) " >&6
3240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3241 /* end confdefs.h. */
3254 if ac_fn_c_try_compile "$LINENO"; then :
3259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3260 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3264 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3265 if test $ac_compiler_gnu = yes; then
3270 ac_test_CFLAGS=${CFLAGS+set}
3271 ac_save_CFLAGS=$CFLAGS
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3273 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3274 if ${ac_cv_prog_cc_g+:} false; then :
3275 $as_echo_n "(cached) " >&6
3277 ac_save_c_werror_flag=$ac_c_werror_flag
3278 ac_c_werror_flag=yes
3281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3282 /* end confdefs.h. */
3292 if ac_fn_c_try_compile "$LINENO"; then :
3296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3297 /* end confdefs.h. */
3307 if ac_fn_c_try_compile "$LINENO"; then :
3310 ac_c_werror_flag=$ac_save_c_werror_flag
3312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3313 /* end confdefs.h. */
3323 if ac_fn_c_try_compile "$LINENO"; then :
3326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3331 ac_c_werror_flag=$ac_save_c_werror_flag
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3334 $as_echo "$ac_cv_prog_cc_g" >&6; }
3335 if test "$ac_test_CFLAGS" = set; then
3336 CFLAGS=$ac_save_CFLAGS
3337 elif test $ac_cv_prog_cc_g = yes; then
3338 if test "$GCC" = yes; then
3344 if test "$GCC" = yes; then
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3351 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3352 if ${ac_cv_prog_cc_c89+:} false; then :
3353 $as_echo_n "(cached) " >&6
3355 ac_cv_prog_cc_c89=no
3357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3358 /* end confdefs.h. */
3362 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3363 struct buf { int x; };
3364 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3365 static char *e (p, i)
3371 static char *f (char * (*g) (char **, int), char **p, ...)
3376 s = g (p, va_arg (v,int));
3381 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3382 function prototypes and stuff, but not '\xHH' hex character constants.
3383 These don't provoke an error unfortunately, instead are silently treated
3384 as 'x'. The following induces an error, until -std is added to get
3385 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3386 array size at least. It's necessary to write '\x00'==0 to get something
3387 that's true only with -std. */
3388 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3390 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3391 inside strings and character constants. */
3393 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3395 int test (int i, double x);
3396 struct s1 {int (*f) (int a);};
3397 struct s2 {int (*f) (double a);};
3398 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3404 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3409 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3410 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3412 CC="$ac_save_CC $ac_arg"
3413 if ac_fn_c_try_compile "$LINENO"; then :
3414 ac_cv_prog_cc_c89=$ac_arg
3416 rm -f core conftest.err conftest.$ac_objext
3417 test "x$ac_cv_prog_cc_c89" != "xno" && break
3419 rm -f conftest.$ac_ext
3424 case "x$ac_cv_prog_cc_c89" in
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3427 $as_echo "none needed" >&6; } ;;
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3430 $as_echo "unsupported" >&6; } ;;
3432 CC="$CC $ac_cv_prog_cc_c89"
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3434 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3436 if test "x$ac_cv_prog_cc_c89" != xno; then :
3441 ac_cpp='$CPP $CPPFLAGS'
3442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3447 ac_cpp='$CPP $CPPFLAGS'
3448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3452 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3453 if ${am_cv_prog_cc_c_o+:} false; then :
3454 $as_echo_n "(cached) " >&6
3456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3457 /* end confdefs.h. */
3467 # Make sure it works both with $CC and with simple cc.
3468 # Following AC_PROG_CC_C_O, we do the test twice because some
3469 # compilers refuse to overwrite an existing .o file with -o,
3470 # though they will create one.
3471 am_cv_prog_cc_c_o=yes
3473 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3474 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3477 (exit $ac_status); } \
3478 && test -f conftest2.$ac_objext; then
3481 am_cv_prog_cc_c_o=no
3485 rm -f core conftest*
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3489 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3490 if test "$am_cv_prog_cc_c_o" != yes; then
3491 # Losing compiler, so override with the script.
3492 # FIXME: It is wrong to rewrite CC.
3493 # But if we don't then we get into trouble of one sort or another.
3494 # A longer-term fix would be to have automake use am__CC in this case,
3495 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3496 CC="$am_aux_dir/compile $CC"
3499 ac_cpp='$CPP $CPPFLAGS'
3500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3505 depcc="$CC" am_compiler_list=
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3508 $as_echo_n "checking dependency style of $depcc... " >&6; }
3509 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3510 $as_echo_n "(cached) " >&6
3512 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3513 # We make a subdir and do the tests there. Otherwise we can end up
3514 # making bogus files that we don't know about and never remove. For
3515 # instance it was reported that on HP-UX the gcc test will end up
3516 # making a dummy file named 'D' -- because '-MD' means "put the output
3520 # Copy depcomp to subdir because otherwise we won't find it if we're
3521 # using a relative directory.
3522 cp "$am_depcomp" conftest.dir
3524 # We will build objects and dependencies in a subdirectory because
3525 # it helps to detect inapplicable dependency modes. For instance
3526 # both Tru64's cc and ICC support -MD to output dependencies as a
3527 # side effect of compilation, but ICC will put the dependencies in
3528 # the current directory while Tru64 will put them in the object
3532 am_cv_CC_dependencies_compiler_type=none
3533 if test "$am_compiler_list" = ""; then
3534 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3537 case " $depcc " in #(
3538 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3541 for depmode in $am_compiler_list; do
3542 # Setup a source with many dependencies, because some compilers
3543 # like to wrap large dependency lists on column 80 (with \), and
3544 # we should not choose a depcomp mode which is confused by this.
3546 # We need to recreate these files for each test, as the compiler may
3547 # overwrite some of them when testing with obscure command lines.
3548 # This happens at least with the AIX C compiler.
3550 for i in 1 2 3 4 5 6; do
3551 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3552 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3553 # Solaris 10 /bin/sh.
3554 echo '/* dummy */' > sub/conftst$i.h
3556 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3558 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3559 # mode. It turns out that the SunPro C++ compiler does not properly
3560 # handle '-M -o', and we need to detect this. Also, some Intel
3561 # versions had trouble with output in subdirs.
3562 am__obj=sub/conftest.${OBJEXT-o}
3563 am__minus_obj="-o $am__obj"
3566 # This depmode causes a compiler race in universal mode.
3567 test "$am__universal" = false || continue
3570 # After this tag, mechanisms are not by side-effect, so they'll
3571 # only be used when explicitly requested.
3572 if test "x$enable_dependency_tracking" = xyes; then
3578 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3579 # This compiler won't grok '-c -o', but also, the minuso test has
3580 # not run yet. These depmodes are late enough in the game, and
3581 # so weak that their functioning should not be impacted.
3582 am__obj=conftest.${OBJEXT-o}
3587 if depmode=$depmode \
3588 source=sub/conftest.c object=$am__obj \
3589 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3590 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3591 >/dev/null 2>conftest.err &&
3592 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3593 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3594 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3595 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3596 # icc doesn't choke on unknown options, it will just issue warnings
3597 # or remarks (even with -Werror). So we grep stderr for any message
3598 # that says an option was ignored or not supported.
3599 # When given -MP, icc 7.0 and 7.1 complain thusly:
3600 # icc: Command line warning: ignoring option '-M'; no argument required
3601 # The diagnosis changed in icc 8.0:
3602 # icc: Command line remark: option '-MP' not supported
3603 if (grep 'ignoring option' conftest.err ||
3604 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3605 am_cv_CC_dependencies_compiler_type=$depmode
3614 am_cv_CC_dependencies_compiler_type=none
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3619 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3620 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3623 test "x$enable_dependency_tracking" != xno \
3624 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3626 am__fastdepCC_FALSE='#'
3628 am__fastdepCC_TRUE='#'
3629 am__fastdepCC_FALSE=
3634 # Check whether --enable-compiler-warnings was given.
3635 if test "${enable_compiler_warnings+set}" = set; then :
3636 enableval=$enable_compiler_warnings;
3638 case $enable_compiler_warnings in #(
3639 no | min | yes | max | all) :
3642 if test "x$enable_maintainer_mode" = xyes; then :
3643 enable_compiler_warnings=yes
3645 enable_compiler_warnings=min
3650 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3651 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3652 # is not polluted with repeated "-I."
3653 am__isrc=' -I$(srcdir)'
3654 # test to see if srcdir already configured
3655 if test -f $srcdir/config.status; then
3656 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3660 # test whether we have cygpath
3661 if test -z "$CYGPATH_W"; then
3662 if (cygpath --version) >/dev/null 2>/dev/null; then
3663 CYGPATH_W='cygpath -w'
3670 # Define the identity of the package.
3671 PACKAGE='zlib--tex-live-'
3675 cat >>confdefs.h <<_ACEOF
3676 #define PACKAGE "$PACKAGE"
3680 cat >>confdefs.h <<_ACEOF
3681 #define VERSION "$VERSION"
3684 # Some tools Automake needs.
3686 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3689 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3692 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3695 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3698 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3700 # For better backward compatibility. To be removed once Automake 1.9.x
3701 # dies out for good. For more background, see:
3702 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3703 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3704 mkdir_p='$(MKDIR_P)'
3706 # We need awk for the "check" target (and possibly the TAP driver). The
3707 # system "awk" is bad on some platforms.
3708 # Always define AMTAR for backward compatibility. Yes, it's still used
3709 # in the wild :-( We should find a proper way to deprecate it ...
3713 # We'll loop over all known methods to create a tar archive until one works.
3714 _am_tools='gnutar pax cpio none'
3716 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3723 # POSIX will say in a future version that running "rm -f" with no argument
3724 # is OK; and we want to be able to make that assumption in our Makefile
3725 # recipes. So use an aggressive probe to check that the usage we want is
3726 # actually supported "in the wild" to an acceptable degree.
3727 # See automake bug#10828.
3728 # To make any issue more visible, cause the running configure to be aborted
3729 # by default if the 'rm' program in use doesn't match our expectations; the
3730 # user can still override this though.
3731 if rm -f && rm -fr && rm -rf; then : OK; else
3735 Your 'rm' program seems unable to run without file operands specified
3736 on the command line, even when the '-f' option is present. This is contrary
3737 to the behaviour of most rm programs out there, and not conforming with
3738 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3740 Please tell bug-automake@gnu.org about your system, including the value
3741 of your $PATH and any error possibly output before this message. This
3742 can help us improve future automake versions.
3745 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3746 echo 'Configuration will proceed anyway, since you have set the' >&2
3747 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3751 Aborting the configuration process, to ensure you take notice of the issue.
3753 You can download and install GNU coreutils to get an 'rm' implementation
3754 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3756 If you want to complete the configuration process using your problematic
3757 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3758 to "yes", and re-run configure.
3761 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3767 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3768 # Check whether --enable-maintainer-mode was given.
3769 if test "${enable_maintainer_mode+set}" = set; then :
3770 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3772 USE_MAINTAINER_MODE=no
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3776 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3777 if test $USE_MAINTAINER_MODE = yes; then
3778 MAINTAINER_MODE_TRUE=
3779 MAINTAINER_MODE_FALSE='#'
3781 MAINTAINER_MODE_TRUE='#'
3782 MAINTAINER_MODE_FALSE=
3785 MAINT=$MAINTAINER_MODE_TRUE
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5
3789 $as_echo_n "checking whether the compiler accepts prototypes... " >&6; }
3790 if ${kb_cv_c_prototypes+:} false; then :
3791 $as_echo_n "(cached) " >&6
3793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3794 /* end confdefs.h. */
3799 extern void foo(int i,...);
3804 if ac_fn_c_try_link "$LINENO"; then :
3805 kb_cv_c_prototypes=yes
3807 kb_cv_c_prototypes=no
3809 rm -f core conftest.err conftest.$ac_objext \
3810 conftest$ac_exeext conftest.$ac_ext
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5
3813 $as_echo "$kb_cv_c_prototypes" >&6; }
3814 if test "x$kb_cv_c_prototypes" = xno; then
3815 as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
3818 $as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
3819 if ${kpse_cv_warning_cflags+:} false; then :
3820 $as_echo_n "(cached) " >&6
3822 if test "x$GCC" = xyes; then
3823 kpse_cv_warning_cflags=
3824 if test "x$enable_compiler_warnings" != xno; then
3825 kpse_cv_warning_cflags="-Wimplicit -Wreturn-type"
3826 case `$CC -dumpversion` in #(
3827 3.4.* | 4.* | 5.*) :
3828 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #(
3832 case `$CC -dumpversion` in #(
3833 3.[234].* | 4.* | 5.*) :
3834 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #(
3838 if test "x$enable_compiler_warnings" != xmin; then
3839 kpse_cv_warning_cflags="-Wall -Wunused $kpse_cv_warning_cflags"
3840 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
3841 if test "x$enable_compiler_warnings" != xyes; then
3842 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
3843 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings"
3844 case `$CC -dumpversion` in #(
3845 3.4.* | 4.* | 5.*) :
3846 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;; #(
3850 if test "x$enable_compiler_warnings" != xmax; then
3851 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wshadow"
3856 elif test "x$enable_compiler_warnings" = xno; then
3857 kpse_cv_warning_cflags=
3859 kpse_cv_warning_cflags= # FIXME: warning flags for non-GNU C compilers
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5
3863 $as_echo "$kpse_cv_warning_cflags" >&6; }
3864 WARNING_CFLAGS=$kpse_cv_warning_cflags
3874 ac_cpp='$CPP $CPPFLAGS'
3875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3878 if test -n "$ac_tool_prefix"; then
3879 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3880 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3882 $as_echo_n "checking for $ac_word... " >&6; }
3883 if ${ac_cv_prog_CC+:} false; then :
3884 $as_echo_n "(cached) " >&6
3886 if test -n "$CC"; then
3887 ac_cv_prog_CC="$CC" # Let the user override the test.
3889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3893 test -z "$as_dir" && as_dir=.
3894 for ac_exec_ext in '' $ac_executable_extensions; do
3895 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3896 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3907 if test -n "$CC"; then
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3909 $as_echo "$CC" >&6; }
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3912 $as_echo "no" >&6; }
3917 if test -z "$ac_cv_prog_CC"; then
3919 # Extract the first word of "gcc", so it can be a program name with args.
3920 set dummy gcc; ac_word=$2
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3922 $as_echo_n "checking for $ac_word... " >&6; }
3923 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3924 $as_echo_n "(cached) " >&6
3926 if test -n "$ac_ct_CC"; then
3927 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3933 test -z "$as_dir" && as_dir=.
3934 for ac_exec_ext in '' $ac_executable_extensions; do
3935 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3936 ac_cv_prog_ac_ct_CC="gcc"
3937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3946 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3947 if test -n "$ac_ct_CC"; then
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3949 $as_echo "$ac_ct_CC" >&6; }
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3952 $as_echo "no" >&6; }
3955 if test "x$ac_ct_CC" = x; then
3958 case $cross_compiling:$ac_tool_warned in
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3961 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3962 ac_tool_warned=yes ;;
3970 if test -z "$CC"; then
3971 if test -n "$ac_tool_prefix"; then
3972 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3973 set dummy ${ac_tool_prefix}cc; ac_word=$2
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3975 $as_echo_n "checking for $ac_word... " >&6; }
3976 if ${ac_cv_prog_CC+:} false; then :
3977 $as_echo_n "(cached) " >&6
3979 if test -n "$CC"; then
3980 ac_cv_prog_CC="$CC" # Let the user override the test.
3982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3986 test -z "$as_dir" && as_dir=.
3987 for ac_exec_ext in '' $ac_executable_extensions; do
3988 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3989 ac_cv_prog_CC="${ac_tool_prefix}cc"
3990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4000 if test -n "$CC"; then
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4002 $as_echo "$CC" >&6; }
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4005 $as_echo "no" >&6; }
4011 if test -z "$CC"; then
4012 # Extract the first word of "cc", so it can be a program name with args.
4013 set dummy cc; ac_word=$2
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4015 $as_echo_n "checking for $ac_word... " >&6; }
4016 if ${ac_cv_prog_CC+:} false; then :
4017 $as_echo_n "(cached) " >&6
4019 if test -n "$CC"; then
4020 ac_cv_prog_CC="$CC" # Let the user override the test.
4023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4027 test -z "$as_dir" && as_dir=.
4028 for ac_exec_ext in '' $ac_executable_extensions; do
4029 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4030 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4031 ac_prog_rejected=yes
4035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4042 if test $ac_prog_rejected = yes; then
4043 # We found a bogon in the path, so make sure we never use it.
4044 set dummy $ac_cv_prog_CC
4046 if test $# != 0; then
4047 # We chose a different compiler from the bogus one.
4048 # However, it has the same basename, so the bogon will be chosen
4049 # first if we set CC to just the basename; use the full file name.
4051 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4057 if test -n "$CC"; then
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4059 $as_echo "$CC" >&6; }
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4062 $as_echo "no" >&6; }
4067 if test -z "$CC"; then
4068 if test -n "$ac_tool_prefix"; then
4069 for ac_prog in cl.exe
4071 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4072 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4074 $as_echo_n "checking for $ac_word... " >&6; }
4075 if ${ac_cv_prog_CC+:} false; then :
4076 $as_echo_n "(cached) " >&6
4078 if test -n "$CC"; then
4079 ac_cv_prog_CC="$CC" # Let the user override the test.
4081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4085 test -z "$as_dir" && as_dir=.
4086 for ac_exec_ext in '' $ac_executable_extensions; do
4087 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4088 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4099 if test -n "$CC"; then
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4101 $as_echo "$CC" >&6; }
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4104 $as_echo "no" >&6; }
4108 test -n "$CC" && break
4111 if test -z "$CC"; then
4113 for ac_prog in cl.exe
4115 # Extract the first word of "$ac_prog", so it can be a program name with args.
4116 set dummy $ac_prog; ac_word=$2
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4118 $as_echo_n "checking for $ac_word... " >&6; }
4119 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4120 $as_echo_n "(cached) " >&6
4122 if test -n "$ac_ct_CC"; then
4123 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4129 test -z "$as_dir" && as_dir=.
4130 for ac_exec_ext in '' $ac_executable_extensions; do
4131 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4132 ac_cv_prog_ac_ct_CC="$ac_prog"
4133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4142 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4143 if test -n "$ac_ct_CC"; then
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4145 $as_echo "$ac_ct_CC" >&6; }
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4148 $as_echo "no" >&6; }
4152 test -n "$ac_ct_CC" && break
4155 if test "x$ac_ct_CC" = x; then
4158 case $cross_compiling:$ac_tool_warned in
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4161 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4162 ac_tool_warned=yes ;;
4171 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4172 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4173 as_fn_error $? "no acceptable C compiler found
in \
$PATH
4174 See \
`config.log' for more details" "$LINENO" 5; }
4176 # Provide some information about the compiler.
4177 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4180 for ac_option in --version -v -V -qversion; do
4181 { { ac_try="$ac_compiler $ac_option >&5"
4183 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4184 *) ac_try_echo
=$ac_try;;
4186 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4187 $as_echo "$ac_try_echo"; } >&5
4188 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4190 if test -s conftest.err
; then
4192 ... rest of stderr output deleted ...
4193 10q' conftest.err
>conftest.er1
4194 cat conftest.er1
>&5
4196 rm -f conftest.er1 conftest.err
4197 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4198 test $ac_status = 0; }
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4202 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4203 if ${ac_cv_c_compiler_gnu+:} false
; then :
4204 $as_echo_n "(cached) " >&6
4206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4207 /* end confdefs.h. */
4220 if ac_fn_c_try_compile
"$LINENO"; then :
4225 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4226 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4230 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4231 if test $ac_compiler_gnu = yes; then
4236 ac_test_CFLAGS
=${CFLAGS+set}
4237 ac_save_CFLAGS
=$CFLAGS
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4239 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4240 if ${ac_cv_prog_cc_g+:} false
; then :
4241 $as_echo_n "(cached) " >&6
4243 ac_save_c_werror_flag
=$ac_c_werror_flag
4244 ac_c_werror_flag
=yes
4247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4248 /* end confdefs.h. */
4258 if ac_fn_c_try_compile
"$LINENO"; then :
4262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4263 /* end confdefs.h. */
4273 if ac_fn_c_try_compile
"$LINENO"; then :
4276 ac_c_werror_flag
=$ac_save_c_werror_flag
4278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4279 /* end confdefs.h. */
4289 if ac_fn_c_try_compile
"$LINENO"; then :
4292 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4294 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4296 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4297 ac_c_werror_flag
=$ac_save_c_werror_flag
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4300 $as_echo "$ac_cv_prog_cc_g" >&6; }
4301 if test "$ac_test_CFLAGS" = set; then
4302 CFLAGS
=$ac_save_CFLAGS
4303 elif test $ac_cv_prog_cc_g = yes; then
4304 if test "$GCC" = yes; then
4310 if test "$GCC" = yes; then
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4317 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4318 if ${ac_cv_prog_cc_c89+:} false
; then :
4319 $as_echo_n "(cached) " >&6
4321 ac_cv_prog_cc_c89
=no
4323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4324 /* end confdefs.h. */
4328 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4329 struct buf { int x; };
4330 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4331 static char *e (p, i)
4337 static char *f (char * (*g) (char **, int), char **p, ...)
4342 s = g (p, va_arg (v,int));
4347 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4348 function prototypes and stuff, but not '\xHH' hex character constants.
4349 These don't provoke an error unfortunately, instead are silently treated
4350 as 'x'. The following induces an error, until -std is added to get
4351 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4352 array size at least. It's necessary to write '\x00'==0 to get something
4353 that's true only with -std. */
4354 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4356 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4357 inside strings and character constants. */
4359 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4361 int test (int i, double x);
4362 struct s1 {int (*f) (int a);};
4363 struct s2 {int (*f) (double a);};
4364 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4370 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4375 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
4376 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4378 CC
="$ac_save_CC $ac_arg"
4379 if ac_fn_c_try_compile
"$LINENO"; then :
4380 ac_cv_prog_cc_c89
=$ac_arg
4382 rm -f core conftest.err conftest.
$ac_objext
4383 test "x$ac_cv_prog_cc_c89" != "xno" && break
4385 rm -f conftest.
$ac_ext
4390 case "x$ac_cv_prog_cc_c89" in
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4393 $as_echo "none needed" >&6; } ;;
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4396 $as_echo "unsupported" >&6; } ;;
4398 CC
="$CC $ac_cv_prog_cc_c89"
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4400 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4402 if test "x$ac_cv_prog_cc_c89" != xno
; then :
4407 ac_cpp
='$CPP $CPPFLAGS'
4408 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4409 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4410 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4413 ac_cpp
='$CPP $CPPFLAGS'
4414 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4415 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4416 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4418 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4419 if ${am_cv_prog_cc_c_o+:} false
; then :
4420 $as_echo_n "(cached) " >&6
4422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4423 /* end confdefs.h. */
4433 # Make sure it works both with $CC and with simple cc.
4434 # Following AC_PROG_CC_C_O, we do the test twice because some
4435 # compilers refuse to overwrite an existing .o file with -o,
4436 # though they will create one.
4437 am_cv_prog_cc_c_o
=yes
4439 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4440 ($CC -c conftest.
$ac_ext -o conftest2.
$ac_objext) >&5 2>&5
4442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4443 (exit $ac_status); } \
4444 && test -f conftest2.
$ac_objext; then
4447 am_cv_prog_cc_c_o
=no
4451 rm -f core conftest
*
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4455 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4456 if test "$am_cv_prog_cc_c_o" != yes; then
4457 # Losing compiler, so override with the script.
4458 # FIXME: It is wrong to rewrite CC.
4459 # But if we don't then we get into trouble of one sort or another.
4460 # A longer-term fix would be to have automake use am__CC in this case,
4461 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4462 CC
="$am_aux_dir/compile $CC"
4465 ac_cpp
='$CPP $CPPFLAGS'
4466 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4467 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4468 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4471 depcc
="$CC" am_compiler_list
=
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4474 $as_echo_n "checking dependency style of $depcc... " >&6; }
4475 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4476 $as_echo_n "(cached) " >&6
4478 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4479 # We make a subdir and do the tests there. Otherwise we can end up
4480 # making bogus files that we don't know about and never remove. For
4481 # instance it was reported that on HP-UX the gcc test will end up
4482 # making a dummy file named 'D' -- because '-MD' means "put the output
4486 # Copy depcomp to subdir because otherwise we won't find it if we're
4487 # using a relative directory.
4488 cp "$am_depcomp" conftest.dir
4490 # We will build objects and dependencies in a subdirectory because
4491 # it helps to detect inapplicable dependency modes. For instance
4492 # both Tru64's cc and ICC support -MD to output dependencies as a
4493 # side effect of compilation, but ICC will put the dependencies in
4494 # the current directory while Tru64 will put them in the object
4498 am_cv_CC_dependencies_compiler_type
=none
4499 if test "$am_compiler_list" = ""; then
4500 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4503 case " $depcc " in #(
4504 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4507 for depmode
in $am_compiler_list; do
4508 # Setup a source with many dependencies, because some compilers
4509 # like to wrap large dependency lists on column 80 (with \), and
4510 # we should not choose a depcomp mode which is confused by this.
4512 # We need to recreate these files for each test, as the compiler may
4513 # overwrite some of them when testing with obscure command lines.
4514 # This happens at least with the AIX C compiler.
4516 for i
in 1 2 3 4 5 6; do
4517 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4518 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4519 # Solaris 10 /bin/sh.
4520 echo '/* dummy */' > sub
/conftst
$i.h
4522 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4524 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4525 # mode. It turns out that the SunPro C++ compiler does not properly
4526 # handle '-M -o', and we need to detect this. Also, some Intel
4527 # versions had trouble with output in subdirs.
4528 am__obj
=sub
/conftest.
${OBJEXT-o}
4529 am__minus_obj
="-o $am__obj"
4532 # This depmode causes a compiler race in universal mode.
4533 test "$am__universal" = false ||
continue
4536 # After this tag, mechanisms are not by side-effect, so they'll
4537 # only be used when explicitly requested.
4538 if test "x$enable_dependency_tracking" = xyes
; then
4544 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4545 # This compiler won't grok '-c -o', but also, the minuso test has
4546 # not run yet. These depmodes are late enough in the game, and
4547 # so weak that their functioning should not be impacted.
4548 am__obj
=conftest.
${OBJEXT-o}
4553 if depmode
=$depmode \
4554 source=sub
/conftest.c object
=$am__obj \
4555 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4556 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4557 >/dev
/null
2>conftest.err
&&
4558 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4559 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4560 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4561 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4562 # icc doesn't choke on unknown options, it will just issue warnings
4563 # or remarks (even with -Werror). So we grep stderr for any message
4564 # that says an option was ignored or not supported.
4565 # When given -MP, icc 7.0 and 7.1 complain thusly:
4566 # icc: Command line warning: ignoring option '-M'; no argument required
4567 # The diagnosis changed in icc 8.0:
4568 # icc: Command line remark: option '-MP' not supported
4569 if (grep 'ignoring option' conftest.err ||
4570 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4571 am_cv_CC_dependencies_compiler_type
=$depmode
4580 am_cv_CC_dependencies_compiler_type
=none
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4585 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4586 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4589 test "x$enable_dependency_tracking" != xno \
4590 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4592 am__fastdepCC_FALSE
='#'
4594 am__fastdepCC_TRUE
='#'
4595 am__fastdepCC_FALSE
=
4599 if test -n "$ac_tool_prefix"; then
4600 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4601 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4603 $as_echo_n "checking for $ac_word... " >&6; }
4604 if ${ac_cv_prog_RANLIB+:} false
; then :
4605 $as_echo_n "(cached) " >&6
4607 if test -n "$RANLIB"; then
4608 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4614 test -z "$as_dir" && as_dir
=.
4615 for ac_exec_ext
in '' $ac_executable_extensions; do
4616 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4617 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4627 RANLIB
=$ac_cv_prog_RANLIB
4628 if test -n "$RANLIB"; then
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4630 $as_echo "$RANLIB" >&6; }
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4633 $as_echo "no" >&6; }
4638 if test -z "$ac_cv_prog_RANLIB"; then
4639 ac_ct_RANLIB
=$RANLIB
4640 # Extract the first word of "ranlib", so it can be a program name with args.
4641 set dummy ranlib
; ac_word
=$2
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4643 $as_echo_n "checking for $ac_word... " >&6; }
4644 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4645 $as_echo_n "(cached) " >&6
4647 if test -n "$ac_ct_RANLIB"; then
4648 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4654 test -z "$as_dir" && as_dir
=.
4655 for ac_exec_ext
in '' $ac_executable_extensions; do
4656 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4657 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4667 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4668 if test -n "$ac_ct_RANLIB"; then
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4670 $as_echo "$ac_ct_RANLIB" >&6; }
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4673 $as_echo "no" >&6; }
4676 if test "x$ac_ct_RANLIB" = x
; then
4679 case $cross_compiling:$ac_tool_warned in
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4682 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4683 ac_tool_warned
=yes ;;
4685 RANLIB
=$ac_ct_RANLIB
4688 RANLIB
="$ac_cv_prog_RANLIB"
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4692 $as_echo_n "checking whether ln -s works... " >&6; }
4694 if test "$LN_S" = "ln -s"; then
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4696 $as_echo "yes" >&6; }
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4699 $as_echo "no, using $LN_S" >&6; }
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for C to hide external symbols" >&5
4704 $as_echo_n "checking CFLAGS for C to hide external symbols... " >&6; }
4705 if ${kpse_cv_visibility_cflags+:} false
; then :
4706 $as_echo_n "(cached) " >&6
4709 ac_cpp
='$CPP $CPPFLAGS'
4710 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4711 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4712 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4714 kpse_cv_visibility_cflags
=unknown
4715 kpse_save_flags
=$CFLAGS
4716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4717 /* end confdefs.h. */
4719 extern void foo(void);
4720 void foo(void){printf("foo\n");}
4722 # FIXME: Add tests for non-GNU compilers
4723 for kpse_flag
in '-fvisibility=hidden -fvisibility-inlines-hidden' '-fvisibility=hidden'; do
4724 CFLAGS
="$kpse_save_flags -Werror $kpse_flag"
4725 if ac_fn_c_try_compile
"$LINENO"; then :
4726 kpse_cv_visibility_cflags
=$kpse_flag; break
4728 rm -f core conftest.err conftest.
$ac_objext
4731 ac_cpp
='$CPP $CPPFLAGS'
4732 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4733 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4734 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_visibility_cflags" >&5
4739 $as_echo "$kpse_cv_visibility_cflags" >&6; }
4740 CFLAGS
=$kpse_save_flags
4741 case $kpse_cv_visibility_cflags in #(
4745 VISIBILITY_CFLAGS
=$kpse_cv_visibility_cflags
4753 ac_config_headers
="$ac_config_headers config.h"
4755 if test "x$enable_build" != xno
; then
4764 if test "x$GCC" = xyes
; then
4765 CFLAGS
=${CFLAGS-"-O3"}
4769 ac_cpp
='$CPP $CPPFLAGS'
4770 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4771 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4772 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4774 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4775 # On Suns, sometimes $CPP names a directory.
4776 if test -n "$CPP" && test -d "$CPP"; then
4779 if test -z "$CPP"; then
4780 if ${ac_cv_prog_CPP+:} false
; then :
4781 $as_echo_n "(cached) " >&6
4783 # Double quotes because CPP needs to be expanded
4784 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4787 for ac_c_preproc_warn_flag
in '' yes
4789 # Use a header file that comes with gcc, so configuring glibc
4790 # with a fresh cross-compiler works.
4791 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4792 # <limits.h> exists even on freestanding compilers.
4793 # On the NeXT, cc -E runs the code through the compiler's parser,
4794 # not just through cpp. "Syntax error" is here to catch this case.
4795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4796 /* end confdefs.h. */
4798 # include <limits.h>
4800 # include <assert.h>
4804 if ac_fn_c_try_cpp
"$LINENO"; then :
4807 # Broken: fails on valid input.
4810 rm -f conftest.err conftest.i conftest.
$ac_ext
4812 # OK, works on sane cases. Now check whether nonexistent headers
4813 # can be detected and how.
4814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4815 /* end confdefs.h. */
4816 #include <ac_nonexistent.h>
4818 if ac_fn_c_try_cpp
"$LINENO"; then :
4819 # Broken: success on invalid input.
4822 # Passes both tests.
4826 rm -f conftest.err conftest.i conftest.
$ac_ext
4829 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4830 rm -f conftest.i conftest.err conftest.
$ac_ext
4831 if $ac_preproc_ok; then :
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4844 $as_echo "$CPP" >&6; }
4846 for ac_c_preproc_warn_flag
in '' yes
4848 # Use a header file that comes with gcc, so configuring glibc
4849 # with a fresh cross-compiler works.
4850 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4851 # <limits.h> exists even on freestanding compilers.
4852 # On the NeXT, cc -E runs the code through the compiler's parser,
4853 # not just through cpp. "Syntax error" is here to catch this case.
4854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4855 /* end confdefs.h. */
4857 # include <limits.h>
4859 # include <assert.h>
4863 if ac_fn_c_try_cpp
"$LINENO"; then :
4866 # Broken: fails on valid input.
4869 rm -f conftest.err conftest.i conftest.
$ac_ext
4871 # OK, works on sane cases. Now check whether nonexistent headers
4872 # can be detected and how.
4873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4874 /* end confdefs.h. */
4875 #include <ac_nonexistent.h>
4877 if ac_fn_c_try_cpp
"$LINENO"; then :
4878 # Broken: success on invalid input.
4881 # Passes both tests.
4885 rm -f conftest.err conftest.i conftest.
$ac_ext
4888 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4889 rm -f conftest.i conftest.err conftest.
$ac_ext
4890 if $ac_preproc_ok; then :
4893 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4894 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4895 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4896 See \`config.log' for more details" "$LINENO" 5; }
4900 ac_cpp
='$CPP $CPPFLAGS'
4901 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4902 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4903 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4907 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4908 if ${ac_cv_path_GREP+:} false
; then :
4909 $as_echo_n "(cached) " >&6
4911 if test -z "$GREP"; then
4912 ac_path_GREP_found
=false
4913 # Loop through the user's path and test for each of PROGNAME-LIST
4914 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4915 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4918 test -z "$as_dir" && as_dir
=.
4919 for ac_prog
in grep ggrep
; do
4920 for ac_exec_ext
in '' $ac_executable_extensions; do
4921 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4922 as_fn_executable_p
"$ac_path_GREP" ||
continue
4923 # Check for GNU ac_path_GREP and select it if it is found.
4924 # Check for GNU $ac_path_GREP
4925 case `"$ac_path_GREP" --version 2>&1` in
4927 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4930 $as_echo_n 0123456789 >"conftest.in"
4933 cat "conftest.in" "conftest.in" >"conftest.tmp"
4934 mv "conftest.tmp" "conftest.in"
4935 cp "conftest.in" "conftest.nl"
4936 $as_echo 'GREP' >> "conftest.nl"
4937 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4938 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4939 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4940 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4941 # Best one so far, save it but keep looking for a better one
4942 ac_cv_path_GREP
="$ac_path_GREP"
4943 ac_path_GREP_max
=$ac_count
4945 # 10*(2^10) chars as input seems more than enough
4946 test $ac_count -gt 10 && break
4948 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4951 $ac_path_GREP_found && break 3
4956 if test -z "$ac_cv_path_GREP"; then
4957 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4960 ac_cv_path_GREP
=$GREP
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4965 $as_echo "$ac_cv_path_GREP" >&6; }
4966 GREP
="$ac_cv_path_GREP"
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4970 $as_echo_n "checking for egrep... " >&6; }
4971 if ${ac_cv_path_EGREP+:} false
; then :
4972 $as_echo_n "(cached) " >&6
4974 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4975 then ac_cv_path_EGREP
="$GREP -E"
4977 if test -z "$EGREP"; then
4978 ac_path_EGREP_found
=false
4979 # Loop through the user's path and test for each of PROGNAME-LIST
4980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4981 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4984 test -z "$as_dir" && as_dir
=.
4985 for ac_prog
in egrep; do
4986 for ac_exec_ext
in '' $ac_executable_extensions; do
4987 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4988 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4989 # Check for GNU ac_path_EGREP and select it if it is found.
4990 # Check for GNU $ac_path_EGREP
4991 case `"$ac_path_EGREP" --version 2>&1` in
4993 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4996 $as_echo_n 0123456789 >"conftest.in"
4999 cat "conftest.in" "conftest.in" >"conftest.tmp"
5000 mv "conftest.tmp" "conftest.in"
5001 cp "conftest.in" "conftest.nl"
5002 $as_echo 'EGREP' >> "conftest.nl"
5003 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5004 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5005 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5006 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5007 # Best one so far, save it but keep looking for a better one
5008 ac_cv_path_EGREP
="$ac_path_EGREP"
5009 ac_path_EGREP_max
=$ac_count
5011 # 10*(2^10) chars as input seems more than enough
5012 test $ac_count -gt 10 && break
5014 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5017 $ac_path_EGREP_found && break 3
5022 if test -z "$ac_cv_path_EGREP"; then
5023 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5026 ac_cv_path_EGREP
=$EGREP
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5032 $as_echo "$ac_cv_path_EGREP" >&6; }
5033 EGREP
="$ac_cv_path_EGREP"
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5037 $as_echo_n "checking for ANSI C header files... " >&6; }
5038 if ${ac_cv_header_stdc+:} false
; then :
5039 $as_echo_n "(cached) " >&6
5041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5042 /* end confdefs.h. */
5056 if ac_fn_c_try_compile
"$LINENO"; then :
5057 ac_cv_header_stdc
=yes
5059 ac_cv_header_stdc
=no
5061 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5063 if test $ac_cv_header_stdc = yes; then
5064 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5066 /* end confdefs.h. */
5070 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5071 $EGREP "memchr" >/dev
/null
2>&1; then :
5074 ac_cv_header_stdc
=no
5080 if test $ac_cv_header_stdc = yes; then
5081 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5083 /* end confdefs.h. */
5087 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5088 $EGREP "free" >/dev
/null
2>&1; then :
5091 ac_cv_header_stdc
=no
5097 if test $ac_cv_header_stdc = yes; then
5098 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5099 if test "$cross_compiling" = yes; then :
5102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5103 /* end confdefs.h. */
5106 #if ((' ' & 0x0FF) == 0x020)
5107 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5108 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5110 # define ISLOWER(c) \
5111 (('a' <= (c) && (c) <= 'i') \
5112 || ('j' <= (c) && (c) <= 'r') \
5113 || ('s' <= (c) && (c) <= 'z'))
5114 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5117 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5122 for (i = 0; i < 256; i++)
5123 if (XOR (islower (i), ISLOWER (i))
5124 || toupper (i) != TOUPPER (i))
5129 if ac_fn_c_try_run
"$LINENO"; then :
5132 ac_cv_header_stdc
=no
5134 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5135 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5141 $as_echo "$ac_cv_header_stdc" >&6; }
5142 if test $ac_cv_header_stdc = yes; then
5144 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5148 if test "x$ac_cv_header_stdc" != xyes
; then
5149 as_fn_error $?
"Sorry, can't do anything for you without header_stdc" "$LINENO" 5
5152 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5153 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5154 inttypes.h stdint.h unistd.h
5156 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5157 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5159 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5160 cat >>confdefs.h
<<_ACEOF
5161 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5169 ac_fn_c_check_header_mongrel
"$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default"
5170 if test "x$ac_cv_header_errno_h" = xyes
; then :
5173 ZLIB_DEFINES
="-DNO_ERRNO_H"
5178 for ac_header
in unistd.h
5180 ac_fn_c_check_header_mongrel
"$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
5181 if test "x$ac_cv_header_unistd_h" = xyes
; then :
5182 cat >>confdefs.h
<<_ACEOF
5183 #define HAVE_UNISTD_H 1
5190 ZCONF_SRC
=zlib-src
/zconf.h.
in
5191 if test x
"$ac_cv_header_unistd_h" = xyes
; then
5192 zconf_sh
='sed <$srcdir/'"$ZCONF_SRC"' "/^#ifdef HAVE_UNISTD_H.* may be/s/def HAVE_UNISTD_H\\(.*\\) may be/ 1\\1 was/" >'
5194 zconf_sh
='cp $srcdir/'"$ZCONF_SRC"
5197 # Check whether --enable-largefile was given.
5198 if test "${enable_largefile+set}" = set; then :
5199 enableval
=$enable_largefile;
5202 if test "$enable_largefile" != no
; then
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5205 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5206 if ${ac_cv_sys_largefile_CC+:} false
; then :
5207 $as_echo_n "(cached) " >&6
5209 ac_cv_sys_largefile_CC
=no
5210 if test "$GCC" != yes; then
5213 # IRIX 6.2 and later do not support large files by default,
5214 # so use the C compiler's -n32 option if that helps.
5215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5216 /* end confdefs.h. */
5217 #include <sys/types.h>
5218 /* Check that off_t can represent 2**63 - 1 correctly.
5219 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5220 since some C++ compilers masquerading as C compilers
5221 incorrectly reject 9223372036854775807. */
5222 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5223 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5224 && LARGE_OFF_T % 2147483647 == 1)
5234 if ac_fn_c_try_compile
"$LINENO"; then :
5237 rm -f core conftest.err conftest.
$ac_objext
5239 if ac_fn_c_try_compile
"$LINENO"; then :
5240 ac_cv_sys_largefile_CC
=' -n32'; break
5242 rm -f core conftest.err conftest.
$ac_objext
5246 rm -f conftest.
$ac_ext
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5250 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5251 if test "$ac_cv_sys_largefile_CC" != no
; then
5252 CC
=$CC$ac_cv_sys_largefile_CC
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5256 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5257 if ${ac_cv_sys_file_offset_bits+:} false
; then :
5258 $as_echo_n "(cached) " >&6
5261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5262 /* end confdefs.h. */
5263 #include <sys/types.h>
5264 /* Check that off_t can represent 2**63 - 1 correctly.
5265 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5266 since some C++ compilers masquerading as C compilers
5267 incorrectly reject 9223372036854775807. */
5268 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5269 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5270 && LARGE_OFF_T % 2147483647 == 1)
5280 if ac_fn_c_try_compile
"$LINENO"; then :
5281 ac_cv_sys_file_offset_bits
=no
; break
5283 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5285 /* end confdefs.h. */
5286 #define _FILE_OFFSET_BITS 64
5287 #include <sys/types.h>
5288 /* Check that off_t can represent 2**63 - 1 correctly.
5289 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5290 since some C++ compilers masquerading as C compilers
5291 incorrectly reject 9223372036854775807. */
5292 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5293 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5294 && LARGE_OFF_T % 2147483647 == 1)
5304 if ac_fn_c_try_compile
"$LINENO"; then :
5305 ac_cv_sys_file_offset_bits
=64; break
5307 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5308 ac_cv_sys_file_offset_bits
=unknown
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5313 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5314 case $ac_cv_sys_file_offset_bits in #(
5317 cat >>confdefs.h
<<_ACEOF
5318 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5323 if test $ac_cv_sys_file_offset_bits = unknown
; then
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5325 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5326 if ${ac_cv_sys_large_files+:} false
; then :
5327 $as_echo_n "(cached) " >&6
5330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5331 /* end confdefs.h. */
5332 #include <sys/types.h>
5333 /* Check that off_t can represent 2**63 - 1 correctly.
5334 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5335 since some C++ compilers masquerading as C compilers
5336 incorrectly reject 9223372036854775807. */
5337 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5338 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5339 && LARGE_OFF_T % 2147483647 == 1)
5349 if ac_fn_c_try_compile
"$LINENO"; then :
5350 ac_cv_sys_large_files
=no
; break
5352 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5354 /* end confdefs.h. */
5355 #define _LARGE_FILES 1
5356 #include <sys/types.h>
5357 /* Check that off_t can represent 2**63 - 1 correctly.
5358 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5359 since some C++ compilers masquerading as C compilers
5360 incorrectly reject 9223372036854775807. */
5361 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5362 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5363 && LARGE_OFF_T % 2147483647 == 1)
5373 if ac_fn_c_try_compile
"$LINENO"; then :
5374 ac_cv_sys_large_files
=1; break
5376 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5377 ac_cv_sys_large_files
=unknown
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5382 $as_echo "$ac_cv_sys_large_files" >&6; }
5383 case $ac_cv_sys_large_files in #(
5386 cat >>confdefs.h
<<_ACEOF
5387 #define _LARGE_FILES $ac_cv_sys_large_files
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
5398 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
5399 if ${ac_cv_sys_largefile_source+:} false
; then :
5400 $as_echo_n "(cached) " >&6
5403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5404 /* end confdefs.h. */
5405 #include <sys/types.h> /* for off_t */
5410 int (*fp) (FILE *, off_t, int) = fseeko;
5411 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
5416 if ac_fn_c_try_link
"$LINENO"; then :
5417 ac_cv_sys_largefile_source
=no
; break
5419 rm -f core conftest.err conftest.
$ac_objext \
5420 conftest
$ac_exeext conftest.
$ac_ext
5421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5422 /* end confdefs.h. */
5423 #define _LARGEFILE_SOURCE 1
5424 #include <sys/types.h> /* for off_t */
5429 int (*fp) (FILE *, off_t, int) = fseeko;
5430 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
5435 if ac_fn_c_try_link
"$LINENO"; then :
5436 ac_cv_sys_largefile_source
=1; break
5438 rm -f core conftest.err conftest.
$ac_objext \
5439 conftest
$ac_exeext conftest.
$ac_ext
5440 ac_cv_sys_largefile_source
=unknown
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
5445 $as_echo "$ac_cv_sys_largefile_source" >&6; }
5446 case $ac_cv_sys_largefile_source in #(
5449 cat >>confdefs.h
<<_ACEOF
5450 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
5456 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
5457 # in glibc 2.1.3, but that breaks too many other things.
5458 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
5459 if test $ac_cv_sys_largefile_source != unknown
; then
5461 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
5465 if test "x$enable_largefile" != xno
; then
5466 case $ac_cv_sys_file_offset_bits in #(
5470 case $ac_cv_sys_large_files in #(
5474 ZLIB_DEFINES
="$ZLIB_DEFINES -D_LARGE_FILES" ;;
5477 ZLIB_DEFINES
="$ZLIB_DEFINES -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" ;;
5480 case $ac_cv_sys_largefile_source in #(
5484 ZLIB_DEFINES
="$ZLIB_DEFINES -D_LARGEFILE_SOURCE" ;;
5488 ac_config_commands
="$ac_config_commands zconf.h"
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mmap support" >&5
5492 $as_echo_n "checking for mmap support... " >&6; }
5493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5494 /* end confdefs.h. */
5495 #include <sys/types.h>
5496 #include <sys/mman.h>
5497 #include <sys/stat.h>
5499 return mmap((caddr_t)0, (off_t)0, PROT_READ, MAP_SHARED, 0, (off_t)0);
5509 if ac_fn_c_try_compile
"$LINENO"; then :
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5511 $as_echo "yes" >&6; }
5512 ZLIB_DEFINES
="$ZLIB_DEFINES -DUSE_MMAP"
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5515 $as_echo "no" >&6; }
5517 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native WIN32 or MINGW32" >&5
5520 $as_echo_n "checking for native WIN32 or MINGW32... " >&6; }
5521 if ${kpse_cv_have_win32+:} false
; then :
5522 $as_echo_n "(cached) " >&6
5524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5525 /* end confdefs.h. */
5537 if ac_fn_c_try_compile
"$LINENO"; then :
5538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5539 /* end confdefs.h. */
5551 if ac_fn_c_try_compile
"$LINENO"; then :
5552 kpse_cv_have_win32
=mingw32
5554 kpse_cv_have_win32
=native
5556 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5558 kpse_cv_have_win32
=no
5560 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_win32" >&5
5563 $as_echo "$kpse_cv_have_win32" >&6; }
5565 if test "x$kpse_cv_have_win32" != xno
; then
5566 ZLIB_DEFINES
="$ZLIB_DEFINES -DNO_VIZ"
5574 if test -f $srcdir/$ZLIB_TREE/zconf.h
; then
5575 as_fn_error $?
"Sorry, you must remove the file $ZLIB_TREE/zconf.h" "$LINENO" 5
5578 ac_config_files
="$ac_config_files Makefile include/Makefile"
5581 cat >confcache
<<\_ACEOF
5582 # This file is a shell script that caches the results of configure
5583 # tests run on this system so they can be shared between configure
5584 # scripts and configure runs, see configure's option --config-cache.
5585 # It is not useful on other systems. If it contains results you don't
5586 # want to keep, you may remove or edit it.
5588 # config.status only pays attention to the cache file if you give it
5589 # the --recheck option to rerun configure.
5591 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5592 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5597 # The following way of writing the cache mishandles newlines in values,
5598 # but we know of no workaround that is simple, portable, and efficient.
5599 # So, we kill variables containing newlines.
5600 # Ultrix sh set writes to stderr and can't be redirected directly,
5601 # and sets the high bit in the cache file unless we assign to the vars.
5603 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5604 eval ac_val
=\$
$ac_var
5608 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5609 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5612 _ | IFS | as_nl
) ;; #(
5613 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
5614 *) { eval $ac_var=; unset $ac_var;} ;;
5620 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5621 *${as_nl}ac_space
=\
*)
5622 # `set' does not quote correctly, so add quotes: double-quote
5623 # substitution turns \\\\ into \\, and sed turns \\ into \.
5626 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5629 # `set' quotes correctly as required by POSIX, so do not add quotes.
5630 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5639 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5641 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5643 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
5644 if test -w "$cache_file"; then
5645 if test "x$cache_file" != "x/dev/null"; then
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5647 $as_echo "$as_me: updating cache $cache_file" >&6;}
5648 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
5649 cat confcache
>"$cache_file"
5651 case $cache_file in #(
5653 mv -f confcache
"$cache_file"$$
&&
5654 mv -f "$cache_file"$$
"$cache_file" ;; #(
5656 mv -f confcache
"$cache_file" ;;
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5662 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5667 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5668 # Let make expand exec_prefix.
5669 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5671 DEFS
=-DHAVE_CONFIG_H
5676 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5677 # 1. Remove the extension, and $U if already installed.
5678 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
5679 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
5680 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5681 # will be set to the directory where LIBOBJS objects are built.
5682 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5683 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
5687 LTLIBOBJS
=$ac_ltlibobjs
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
5691 $as_echo_n "checking that generated files are newer than configure... " >&6; }
5692 if test -n "$am_sleep_pid"; then
5693 # Hide warnings about reused PIDs.
5694 wait $am_sleep_pid 2>/dev
/null
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
5697 $as_echo "done" >&6; }
5698 if test -n "$EXEEXT"; then
5700 am__EXEEXT_FALSE
='#'
5706 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5707 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
5708 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5710 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5711 as_fn_error $?
"conditional \"AMDEP\" was never defined.
5712 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5714 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5715 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
5716 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5718 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5719 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
5720 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5722 if test -z "${build_TRUE}" && test -z "${build_FALSE}"; then
5723 as_fn_error $?
"conditional \"build\" was never defined.
5724 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5727 : "${CONFIG_STATUS=./config.status}"
5729 ac_clean_files_save
=$ac_clean_files
5730 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5732 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5734 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5736 # Generated by $as_me.
5737 # Run this file to recreate the current configuration.
5738 # Compiler output produced by configure, useful for debugging
5739 # configure, is in config.log if it exists.
5745 SHELL=\${CONFIG_SHELL-$SHELL}
5748 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
5749 ## -------------------- ##
5750 ## M4sh Initialization. ##
5751 ## -------------------- ##
5753 # Be more Bourne compatible
5754 DUALCASE
=1; export DUALCASE
# for MKS sh
5755 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
5758 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5759 # is contrary to our usage. Disable this feature.
5760 alias -g '${1+"$@"}'='"$@"'
5761 setopt NO_GLOB_SUBST
5763 case `(set -o) 2>/dev/null` in #(
5775 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5776 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5777 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5778 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5779 # Prefer a ksh shell builtin over an external printf program on Solaris,
5780 # but without wasting forks for bash or zsh.
5781 if test -z "$BASH_VERSION$ZSH_VERSION" \
5782 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5783 as_echo='print
-r --'
5784 as_echo_n='print
-rn --'
5785 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5786 as_echo='printf %s
\n'
5787 as_echo_n='printf %s
'
5789 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5790 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
5791 as_echo_n='/usr
/ucb
/echo -n'
5793 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5794 as_echo_n_body='eval
5798 expr "X$arg" : "X\\(.*\\)$as_nl";
5799 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5801 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
5803 export as_echo_n_body
5804 as_echo_n='sh
-c $as_echo_n_body as_echo
'
5807 as_echo='sh
-c $as_echo_body as_echo
'
5810 # The user is always right.
5811 if test "${PATH_SEPARATOR+set}" != set; then
5813 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5814 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5821 # We need space, tab and new line, in precisely that order. Quoting is
5822 # there to prevent editors from complaining about space-tab.
5823 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5824 # splitting by setting IFS to empty value.)
5827 # Find who we are. Look in the path if we contain no directory separator.
5830 *[\\/]* ) as_myself=$0 ;;
5831 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5835 test -z "$as_dir" && as_dir=.
5836 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5842 # We did not find ourselves, most probably we were run as `sh COMMAND'
5843 # in which case we are not to be found in the path.
5844 if test "x$as_myself" = x
; then
5847 if test ! -f "$as_myself"; then
5848 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5852 # Unset variables that we do not need and which cause bugs (e.g. in
5853 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5854 # suppresses any "Segmentation fault" message there. '((' could
5855 # trigger a bug in pdksh 5.2.14.
5856 for as_var
in BASH_ENV ENV MAIL MAILPATH
5857 do eval test x\
${$as_var+set} = xset \
5858 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
5871 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
5874 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5875 # ----------------------------------------
5876 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5877 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5878 # script with STATUS, using 1 if that was 0.
5881 as_status
=$1; test $as_status -eq 0 && as_status
=1
5883 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
5884 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5886 $as_echo "$as_me: error: $2" >&2
5887 as_fn_exit
$as_status
5891 # as_fn_set_status STATUS
5892 # -----------------------
5893 # Set $? to STATUS, without forking.
5897 } # as_fn_set_status
5901 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5911 # Portably unset VAR.
5914 { eval $1=; unset $1;}
5916 as_unset
=as_fn_unset
5917 # as_fn_append VAR VALUE
5918 # ----------------------
5919 # Append the text in VALUE to the end of the definition contained in VAR. Take
5920 # advantage of any shell optimizations that allow amortized linear growth over
5921 # repeated appends, instead of the typical quadratic growth present in naive
5923 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
5924 eval 'as_fn_append ()
5935 # as_fn_arith ARG...
5936 # ------------------
5937 # Perform arithmetic evaluation on the ARGs, and store the result in the
5938 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5939 # must be portable across $(()) and expr.
5940 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
5941 eval 'as_fn_arith ()
5948 as_val
=`expr "$@" || test $? -eq 1`
5953 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5954 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
5960 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5961 as_basename
=basename
5966 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
5972 as_me
=`$as_basename -- "$0" ||
5973 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5974 X"$0" : 'X\(//\)$' \| \
5975 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5977 sed '/^.*\/\([^/][^/]*\)\/*$/{
5991 # Avoid depending upon Character Ranges.
5992 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5993 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5994 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5995 as_cr_digits
='0123456789'
5996 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5998 ECHO_C
= ECHO_N
= ECHO_T
=
5999 case `echo -n x` in #(((((
6001 case `echo 'xy\c'` in
6002 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
6004 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
6011 rm -f conf$$ conf$$.exe conf$$.
file
6012 if test -d conf$$.dir
; then
6013 rm -f conf$$.dir
/conf$$.
file
6016 mkdir conf$$.dir
2>/dev
/null
6018 if (echo >conf$$.
file) 2>/dev
/null
; then
6019 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6021 # ... but there are two gotchas:
6022 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6023 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6024 # In both cases, we have to default to `cp -pR'.
6025 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
6027 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6035 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
6036 rmdir conf$$.dir
2>/dev
/null
6041 # Create "$as_dir" as a directory, including parents if necessary.
6046 -*) as_dir
=.
/$as_dir;;
6048 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
6052 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6053 *) as_qdir
=$as_dir;;
6055 as_dirs
="'$as_qdir' $as_dirs"
6056 as_dir
=`$as_dirname -- "$as_dir" ||
6057 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6058 X"$as_dir" : 'X\(//\)[^/]' \| \
6059 X"$as_dir" : 'X\(//\)$' \| \
6060 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6061 $as_echo X"$as_dir" |
6062 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6079 test -d "$as_dir" && break
6081 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
6082 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
6086 if mkdir
-p .
2>/dev
/null
; then
6087 as_mkdir_p
='mkdir -p "$as_dir"'
6089 test -d .
/-p && rmdir .
/-p
6094 # as_fn_executable_p FILE
6095 # -----------------------
6096 # Test if FILE is an executable regular file.
6097 as_fn_executable_p
()
6099 test -f "$1" && test -x "$1"
6100 } # as_fn_executable_p
6102 as_executable_p
=as_fn_executable_p
6104 # Sed expression to map a string onto a valid CPP name.
6105 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6107 # Sed expression to map a string onto a valid variable name.
6108 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6112 ## ----------------------------------- ##
6113 ## Main body of $CONFIG_STATUS script. ##
6114 ## ----------------------------------- ##
6116 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
6118 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6119 # Save the log message, to keep $0 and so on meaningful, and to
6120 # report actual input values of CONFIG_FILES etc. instead of their
6121 # values after options handling.
6123 This file was extended by zlib (TeX Live) $as_me 1.2.8, which was
6124 generated by GNU Autoconf 2.69. Invocation command line was
6126 CONFIG_FILES = $CONFIG_FILES
6127 CONFIG_HEADERS = $CONFIG_HEADERS
6128 CONFIG_LINKS = $CONFIG_LINKS
6129 CONFIG_COMMANDS = $CONFIG_COMMANDS
6132 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6137 case $ac_config_files in *"
6138 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
6141 case $ac_config_headers in *"
6142 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
6146 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6147 # Files that config.status was made for.
6148 config_files="$ac_config_files"
6149 config_headers="$ac_config_headers"
6150 config_commands="$ac_config_commands"
6154 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6156 \`$as_me' instantiates files and other configuration actions
6157 from templates according to the current configuration. Unless the files
6158 and actions are specified as TAGs, all are instantiated by default.
6160 Usage: $0 [OPTION]... [TAG]...
6162 -h, --help print this help, then exit
6163 -V, --version print version number and configuration settings, then exit
6164 --config print configuration, then exit
6165 -q, --quiet, --silent
6166 do not print progress messages
6167 -d, --debug don't remove temporary files
6168 --recheck update $as_me by reconfiguring in the same conditions
6169 --file=FILE[:TEMPLATE]
6170 instantiate the configuration file FILE
6171 --header=FILE[:TEMPLATE]
6172 instantiate the configuration header FILE
6174 Configuration files:
6177 Configuration headers:
6180 Configuration commands:
6183 Report bugs to <tex-k@tug.org>."
6186 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6187 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6189 zlib (TeX Live) config.status 1.2.8
6190 configured by $0, generated by GNU Autoconf 2.69,
6191 with options \\"\$ac_cs_config\\"
6193 Copyright (C) 2012 Free Software Foundation, Inc.
6194 This config.status script is free software; the Free Software Foundation
6195 gives unlimited permission to copy, distribute and modify it."
6202 test -n "\$AWK" || AWK=awk
6205 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6206 # The default lists apply if the user does not specify any file.
6212 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6213 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
6217 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6229 # Handling of the options.
6230 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6232 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
6233 $as_echo "$ac_cs_version"; exit ;;
6234 --config |
--confi |
--conf |
--con |
--co |
--c )
6235 $as_echo "$ac_cs_config"; exit ;;
6236 --debug |
--debu |
--deb |
--de |
--d |
-d )
6238 --file |
--fil |
--fi |
--f )
6241 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6242 '') as_fn_error $?
"missing file argument" ;;
6244 as_fn_append CONFIG_FILES
" '$ac_optarg'"
6245 ac_need_defaults
=false
;;
6246 --header |
--heade |
--head |
--hea )
6249 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6251 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
6252 ac_need_defaults
=false
;;
6254 # Conflict between --help and --header
6255 as_fn_error $?
"ambiguous option: \`$1'
6256 Try \`$0 --help' for more information.";;
6257 --help |
--hel |
-h )
6258 $as_echo "$ac_cs_usage"; exit ;;
6259 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6260 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6264 -*) as_fn_error $?
"unrecognized option: \`$1'
6265 Try \`$0 --help' for more information." ;;
6267 *) as_fn_append ac_config_targets
" $1"
6268 ac_need_defaults
=false
;;
6274 ac_configure_extra_args
=
6276 if $ac_cs_silent; then
6278 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6282 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6283 if \$ac_cs_recheck; then
6284 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6286 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6287 CONFIG_SHELL='$SHELL'
6293 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6297 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6298 ## Running $as_me. ##
6304 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6308 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6309 zconf_sh='$zconf_sh'
6313 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6315 # Handling of arguments.
6316 for ac_config_target
in $ac_config_targets
6318 case $ac_config_target in
6319 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
6320 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
6321 "zconf.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS zconf.h" ;;
6322 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6323 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
6325 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6330 # If the user did not use the arguments to specify the items to instantiate,
6331 # then the envvar interface is used. Set only those that are not.
6332 # We use the long form for the default assignment because of an extremely
6333 # bizarre bug on SunOS 4.1.3.
6334 if $ac_need_defaults; then
6335 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6336 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6337 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
6340 # Have a temporary directory for convenience. Make it in the build tree
6341 # simply because there is no reason against having it here, and in addition,
6342 # creating and moving files from /tmp can sometimes cause problems.
6343 # Hook for its removal unless debugging.
6344 # Note that there is a small window in which the directory will not be cleaned:
6345 # after its creation but before its name has been assigned to `$tmp'.
6349 trap 'exit_status=$?
6351 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6353 trap 'as_fn_exit 1' 1 2 13 15
6355 # Create a (secure) tmp directory for tmp files.
6358 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6362 tmp
=.
/conf$$
-$RANDOM
6363 (umask 077 && mkdir
"$tmp")
6364 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
6367 # Set up the scripts for CONFIG_FILES section.
6368 # No need to generate them if there are no CONFIG_FILES.
6369 # This happens for instance with `./config.status config.h'.
6370 if test -n "$CONFIG_FILES"; then
6373 ac_cr
=`echo X | tr X '\015'`
6374 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6375 # But we know of no other shell where ac_cr would be empty at this
6376 # point, so we can use a bashism as a fallback.
6377 if test "x$ac_cr" = x
; then
6378 eval ac_cr
=\$
\'\\r
\'
6380 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6381 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6387 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6392 echo "cat >conf$$subs.awk <<_ACEOF" &&
6393 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6396 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6397 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6399 for ac_last_try in false false false false false :; do
6400 . ./conf$$subs.sh ||
6401 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6403 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
6404 if test $ac_delim_n = $ac_delim_num; then
6406 elif $ac_last_try; then
6407 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6409 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6414 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6415 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
6419 s/^/S["/; s
/!.
*/"]=/
6429 s/\(.\{148\}\)..*/\1/
6431 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
6436 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6443 s/\(.\{148\}\)..*/\1/
6445 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
6449 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6454 ' <conf$$subs.awk | sed '
6459 ' >>$CONFIG_STATUS || ac_write_fail=1
6460 rm -f conf$$subs.awk
6461 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6463 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
6464 for (key in S) S_is_set[key] = 1
6470 nfields = split(line, field, "@
")
6472 len = length(field[1])
6473 for (i = 2; i < nfields; i++) {
6475 keylen = length(key)
6476 if (S_is_set[key]) {
6478 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6479 len += length(value) + length(field[++i])
6490 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6491 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6492 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
6495 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
6496 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
6499 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6500 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
6501 # trailing colons and then remove the whole line if VPATH becomes empty
6502 # (actually we leave an empty line to preserve line numbers).
6503 if test "x
$srcdir" = x.; then
6504 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6522 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6523 fi # test -n "$CONFIG_FILES"
6525 # Set up the scripts for CONFIG_HEADERS section.
6526 # No need to generate them if there are no CONFIG_HEADERS.
6527 # This happens for instance with `./config.status Makefile'.
6528 if test -n "$CONFIG_HEADERS"; then
6529 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
6533 # Transform confdefs.h into an awk script `defines.awk', embedded as
6534 # here-document in config.status, that substitutes the proper values into
6535 # config.h.in to produce config.h.
6537 # Create a delimiter string that does not exist in confdefs.h, to ease
6538 # handling of long lines.
6540 for ac_last_try in false false :; do
6541 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
6542 if test -z "$ac_tt"; then
6544 elif $ac_last_try; then
6545 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
6547 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6551 # For the awk script, D is an array of macro values keyed by name,
6552 # likewise P contains macro parameters if any. Preserve backslash
6553 # newline sequences.
6555 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6557 s/.\{148\}/&'"$ac_delim"'/g
6560 s/^[ ]*#[ ]*define[ ][ ]*/ /
6567 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
6569 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
6573 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
6574 D["\
1"]=" \
3\\\\\\n
"\\/p
6576 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
6581 s/.\{148\}/&'"$ac_delim"'/g
6586 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
6589 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
6591 ' <confdefs.h | sed '
6592 s/'"$ac_delim"'/"\\\
6593 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6595 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6596 for (key in D) D_is_set[key] = 1
6599 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6601 split(line, arg, " ")
6602 if (arg[1] == "#") {
6606 defundef
= substr
(arg
[1], 2)
6609 split(mac1
, mac2
, "(") #)
6611 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
6612 if (D_is_set
[macro
]) {
6613 # Preserve the white space surrounding the "#".
6614 print prefix
"define", macro P
[macro
] D
[macro
]
6617 # Replace #undef with comments. This is necessary, for example,
6618 # in the case of _POSIX_SOURCE, which is predefined and required
6619 # on some systems where configure will not decide to define it.
6620 if (defundef
== "undef") {
6621 print
"/*", prefix defundef
, macro
, "*/"
6629 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6630 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
6631 fi # test -n "$CONFIG_HEADERS"
6634 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6639 :[FHLC
]) ac_mode
=$ac_tag; continue;;
6641 case $ac_mode$ac_tag in
6643 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
6644 :[FH
]-) ac_tag
=-:-;;
6645 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
6662 -) ac_f
="$ac_tmp/stdin";;
6663 *) # Look for the file first in the build tree, then in the source tree
6664 # (if the path is not absolute). The absolute path cannot be DOS-style,
6665 # because $ac_f cannot contain `:'.
6669 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
6671 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6673 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6674 as_fn_append ac_file_inputs
" '$ac_f'"
6677 # Let's still pretend it is `configure' which instantiates (i.e., don't
6678 # use $as_me), people would be surprised to read:
6679 # /* config.h. Generated by config.status. */
6680 configure_input
='Generated from '`
6681 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6683 if test x
"$ac_file" != x-
; then
6684 configure_input
="$ac_file. $configure_input"
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6686 $as_echo "$as_me: creating $ac_file" >&6;}
6688 # Neutralize special characters interpreted by sed in replacement strings.
6689 case $configure_input in #(
6690 *\
&* |
*\|
* |
*\\* )
6691 ac_sed_conf_input
=`$as_echo "$configure_input" |
6692 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6693 *) ac_sed_conf_input
=$configure_input;;
6697 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
6698 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
6703 ac_dir
=`$as_dirname -- "$ac_file" ||
6704 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6705 X"$ac_file" : 'X\(//\)[^/]' \| \
6706 X"$ac_file" : 'X\(//\)$' \| \
6707 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6708 $as_echo X"$ac_file" |
6709 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6726 as_dir
="$ac_dir"; as_fn_mkdir_p
6730 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6732 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6733 # A ".." for each directory in $ac_dir_suffix.
6734 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6735 case $ac_top_builddir_sub in
6736 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6737 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
6740 ac_abs_top_builddir
=$ac_pwd
6741 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
6742 # for backward compatibility:
6743 ac_top_builddir
=$ac_top_build_prefix
6746 .
) # We are building in place.
6748 ac_top_srcdir
=$ac_top_builddir_sub
6749 ac_abs_top_srcdir
=$ac_pwd ;;
6750 [\\/]* | ?
:[\\/]* ) # Absolute name.
6751 ac_srcdir
=$srcdir$ac_dir_suffix;
6752 ac_top_srcdir
=$srcdir
6753 ac_abs_top_srcdir
=$srcdir ;;
6755 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
6756 ac_top_srcdir
=$ac_top_build_prefix$srcdir
6757 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
6759 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
6769 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
6770 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
6774 [\\/$
]* | ?
:[\\/]* ) ;;
6775 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
6779 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6780 # If the template does not know about datarootdir, expand it.
6781 # FIXME: This hack should be removed a few years after 2.60.
6782 ac_datarootdir_hack
=; ac_datarootdir_seen
=
6793 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6794 *datarootdir
*) ac_datarootdir_seen
=yes;;
6795 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6797 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6799 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6800 ac_datarootdir_hack='
6801 s&@datadir@&$datadir&g
6802 s&@docdir@&$docdir&g
6803 s&@infodir@&$infodir&g
6804 s&@localedir@&$localedir&g
6805 s&@mandir@&$mandir&g
6806 s&\\\${datarootdir}&$datarootdir&g' ;;
6810 # Neutralize VPATH when `$srcdir' = `.'.
6811 # Shell code in configure.ac might set extrasub.
6812 # FIXME: do we really want to maintain this feature?
6813 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6814 ac_sed_extra="$ac_vpsub
6817 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6819 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6820 s|@configure_input@|
$ac_sed_conf_input|
;t t
6821 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
6822 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
6823 s
&@srcdir@
&$ac_srcdir&;t t
6824 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
6825 s
&@top_srcdir@
&$ac_top_srcdir&;t t
6826 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
6827 s
&@builddir@
&$ac_builddir&;t t
6828 s
&@abs_builddir@
&$ac_abs_builddir&;t t
6829 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
6830 s
&@INSTALL@
&$ac_INSTALL&;t t
6831 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
6832 $ac_datarootdir_hack
6834 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
6835 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
6837 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6838 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
6839 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6840 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
6842 which seems to be undefined. Please make sure it is defined" >&5
6843 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
6844 which seems to be undefined. Please make sure it is defined" >&2;}
6846 rm -f "$ac_tmp/stdin"
6848 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6849 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6851 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6857 if test x"$ac_file" != x-; then
6859 $as_echo "/* $configure_input */" \
6860 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6861 } >"$ac_tmp/config.h" \
6862 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6863 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6865 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6868 mv "$ac_tmp/config.h" "$ac_file" \
6869 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6872 $as_echo "/* $configure_input */" \
6873 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6874 || as_fn_error $? "could not create -" "$LINENO" 5
6876 # Compute "$ac_file"'s index
in $config_headers.
6879 for _am_header
in $config_headers :; do
6881 $_am_arg |
$_am_arg:* )
6884 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
6887 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6888 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6889 X"$_am_arg" : 'X\(//\)[^/]' \| \
6890 X"$_am_arg" : 'X\(//\)$' \| \
6891 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6892 $as_echo X"$_am_arg" |
6893 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6909 s/.*/./; q'`/stamp-h
$_am_stamp_count
6912 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6913 $as_echo "$as_me: executing $ac_file commands" >&6;}
6918 case $ac_file$ac_mode in
6919 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
6920 # Older Autoconf quotes --file arguments for eval, but not when files
6921 # are listed without --file. Let's play safe and only enable the eval
6922 # if we detect the quoting.
6923 case $CONFIG_FILES in
6924 *\'*) eval set x
"$CONFIG_FILES" ;;
6925 *) set x
$CONFIG_FILES ;;
6930 # Strip MF so we end up with the name of the file.
6931 mf
=`echo "$mf" | sed -e 's/:.*$//'`
6932 # Check whether this is an Automake generated Makefile or not.
6933 # We used to match only the files named 'Makefile.in', but
6934 # some people rename them; so instead we look at the file content.
6935 # Grep'ing the first line is not enough: some people post-process
6936 # each Makefile.in and add a new line on top of each file to say so.
6937 # Grep'ing the whole file is not good either: AIX grep has a line
6938 # limit of 2048, but all sed's we know have understand at least 4000.
6939 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
6940 dirpart
=`$as_dirname -- "$mf" ||
6941 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6942 X"$mf" : 'X\(//\)[^/]' \| \
6943 X"$mf" : 'X\(//\)$' \| \
6944 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6946 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6966 # Extract the definition of DEPDIR, am__include, and am__quote
6967 # from the Makefile without running 'make'.
6968 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
6969 test -z "$DEPDIR" && continue
6970 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
6971 test -z "$am__include" && continue
6972 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
6973 # Find all dependency output files, they are included files with
6974 # $(DEPDIR) in their names. We invoke sed twice because it is the
6975 # simplest approach to changing $(DEPDIR) to its actual value in the
6977 for file in `sed -n "
6978 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6979 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
6980 # Make sure the directory exists.
6981 test -f "$dirpart/$file" && continue
6982 fdir
=`$as_dirname -- "$file" ||
6983 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6984 X"$file" : 'X\(//\)[^/]' \| \
6985 X"$file" : 'X\(//\)$' \| \
6986 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6988 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7005 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
7006 # echo "creating $dirpart/$file"
7007 echo '# dummy' > "$dirpart/$file"
7012 "zconf.h":C
) eval "$zconf_sh" zconf.h
;;
7020 ac_clean_files
=$ac_clean_files_save
7022 test $ac_write_fail = 0 ||
7023 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
7026 # configure is writing to config.log, and then calls config.status.
7027 # config.status does its own redirection, appending to config.log.
7028 # Unfortunately, on DOS this fails, as config.log is still kept open
7029 # by configure, so config.status won't be able to write to it; its
7030 # output is simply discarded. So we exec the FD to /dev/null,
7031 # effectively closing config.log, so it can be properly (re)opened and
7032 # appended to by config.status. When coming back to configure, we
7033 # need to make the FD available again.
7034 if test "$no_create" != yes; then
7036 ac_config_status_args
=
7037 test "$silent" = yes &&
7038 ac_config_status_args
="$ac_config_status_args --quiet"
7040 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7042 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7043 # would make configure fail if this is the last instruction.
7044 $ac_cs_success || as_fn_exit
1
7046 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7048 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}