2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for zziplib (TeX Live) 0.13.62.
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
='zziplib (TeX Live)'
582 PACKAGE_TARNAME
='zziplib--tex-live-'
583 PACKAGE_VERSION
='0.13.62'
584 PACKAGE_STRING
='zziplib (TeX Live) 0.13.62'
585 PACKAGE_BUGREPORT
='tex-k@tug.org'
588 ac_unique_file
="zziplib-0.13.62/zziplib.spec"
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
670 MAINTAINER_MODE_FALSE
684 INSTALL_STRIP_PROGRAM
726 program_transform_name
739 enable_option_checking
741 enable_maintainer_mode
742 enable_dependency_tracking
743 enable_compiler_warnings
749 ac_precious_vars
='build_alias
760 # Initialize some variables set by options.
762 ac_init_version
=false
763 ac_unrecognized_opts
=
765 # The variables have the same names as the options, with
766 # dashes changed to underlines.
774 program_transform_name
=s
,x
,x
,
782 # Installation directory options.
783 # These are left unexpanded so users can "make install exec_prefix=/foo"
784 # and all the variables that are supposed to be based on exec_prefix
785 # by default will actually change.
786 # Use braces instead of parens because sh, perl, etc. also accept them.
787 # (The list follows the same order as the GNU Coding Standards.)
788 bindir
='${exec_prefix}/bin'
789 sbindir
='${exec_prefix}/sbin'
790 libexecdir
='${exec_prefix}/libexec'
791 datarootdir
='${prefix}/share'
792 datadir
='${datarootdir}'
793 sysconfdir
='${prefix}/etc'
794 sharedstatedir
='${prefix}/com'
795 localstatedir
='${prefix}/var'
796 includedir
='${prefix}/include'
797 oldincludedir
='/usr/include'
798 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
799 infodir
='${datarootdir}/info'
804 libdir
='${exec_prefix}/lib'
805 localedir
='${datarootdir}/locale'
806 mandir
='${datarootdir}/man'
812 # If the previous option needs an argument, assign it.
813 if test -n "$ac_prev"; then
814 eval $ac_prev=\
$ac_option
820 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
825 # Accept the important Cygnus configure options, so we can diagnose typos.
827 case $ac_dashdash$ac_option in
831 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
833 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
836 -build |
--build |
--buil |
--bui |
--bu)
837 ac_prev
=build_alias
;;
838 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
839 build_alias
=$ac_optarg ;;
841 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
842 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
843 ac_prev
=cache_file
;;
844 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
845 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
846 cache_file
=$ac_optarg ;;
849 cache_file
=config.cache
;;
851 -datadir |
--datadir |
--datadi |
--datad)
853 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
854 datadir
=$ac_optarg ;;
856 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
857 |
--dataroo |
--dataro |
--datar)
858 ac_prev
=datarootdir
;;
859 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
860 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
861 datarootdir
=$ac_optarg ;;
863 -disable-* |
--disable-*)
864 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
865 # Reject names that are not valid shell variable names.
866 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
867 as_fn_error $?
"invalid feature name: $ac_useropt"
868 ac_useropt_orig
=$ac_useropt
869 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
870 case $ac_user_opts in
874 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
875 ac_unrecognized_sep
=', ';;
877 eval enable_
$ac_useropt=no
;;
879 -docdir |
--docdir |
--docdi |
--doc |
--do)
881 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
884 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
886 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
889 -enable-* |
--enable-*)
890 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
891 # Reject names that are not valid shell variable names.
892 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
893 as_fn_error $?
"invalid feature name: $ac_useropt"
894 ac_useropt_orig
=$ac_useropt
895 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
896 case $ac_user_opts in
900 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
901 ac_unrecognized_sep
=', ';;
903 eval enable_
$ac_useropt=\
$ac_optarg ;;
905 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
906 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
907 |
--exec |
--exe |
--ex)
908 ac_prev
=exec_prefix
;;
909 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
910 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
911 |
--exec=* |
--exe=* |
--ex=*)
912 exec_prefix
=$ac_optarg ;;
914 -gas |
--gas |
--ga |
--g)
915 # Obsolete; use --with-gas.
918 -help |
--help |
--hel |
--he |
-h)
920 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
921 ac_init_help
=recursive
;;
922 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
923 ac_init_help
=short
;;
925 -host |
--host |
--hos |
--ho)
926 ac_prev
=host_alias
;;
927 -host=* |
--host=* |
--hos=* |
--ho=*)
928 host_alias
=$ac_optarg ;;
930 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
932 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
934 htmldir
=$ac_optarg ;;
936 -includedir |
--includedir |
--includedi |
--included |
--include \
937 |
--includ |
--inclu |
--incl |
--inc)
938 ac_prev
=includedir
;;
939 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
940 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
941 includedir
=$ac_optarg ;;
943 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
945 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
946 infodir
=$ac_optarg ;;
948 -libdir |
--libdir |
--libdi |
--libd)
950 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
953 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
954 |
--libexe |
--libex |
--libe)
955 ac_prev
=libexecdir
;;
956 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
957 |
--libexe=* |
--libex=* |
--libe=*)
958 libexecdir
=$ac_optarg ;;
960 -localedir |
--localedir |
--localedi |
--localed |
--locale)
962 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
963 localedir
=$ac_optarg ;;
965 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
966 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
967 ac_prev
=localstatedir
;;
968 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
969 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
970 localstatedir
=$ac_optarg ;;
972 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
974 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
978 # Obsolete; use --without-fp.
981 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
982 |
--no-cr |
--no-c |
-n)
985 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
986 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
989 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
990 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
991 |
--oldin |
--oldi |
--old |
--ol |
--o)
992 ac_prev
=oldincludedir
;;
993 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
994 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
995 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
996 oldincludedir
=$ac_optarg ;;
998 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1000 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1001 prefix
=$ac_optarg ;;
1003 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1004 |
--program-pre |
--program-pr |
--program-p)
1005 ac_prev
=program_prefix
;;
1006 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1007 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1008 program_prefix
=$ac_optarg ;;
1010 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1011 |
--program-suf |
--program-su |
--program-s)
1012 ac_prev
=program_suffix
;;
1013 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1014 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1015 program_suffix
=$ac_optarg ;;
1017 -program-transform-name |
--program-transform-name \
1018 |
--program-transform-nam |
--program-transform-na \
1019 |
--program-transform-n |
--program-transform- \
1020 |
--program-transform |
--program-transfor \
1021 |
--program-transfo |
--program-transf \
1022 |
--program-trans |
--program-tran \
1023 |
--progr-tra |
--program-tr |
--program-t)
1024 ac_prev
=program_transform_name
;;
1025 -program-transform-name=* |
--program-transform-name=* \
1026 |
--program-transform-nam=* |
--program-transform-na=* \
1027 |
--program-transform-n=* |
--program-transform-=* \
1028 |
--program-transform=* |
--program-transfor=* \
1029 |
--program-transfo=* |
--program-transf=* \
1030 |
--program-trans=* |
--program-tran=* \
1031 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1032 program_transform_name
=$ac_optarg ;;
1034 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1036 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1037 pdfdir
=$ac_optarg ;;
1039 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1041 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1044 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1045 |
-silent |
--silent |
--silen |
--sile |
--sil)
1048 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1050 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1052 sbindir
=$ac_optarg ;;
1054 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1055 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1056 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1058 ac_prev
=sharedstatedir
;;
1059 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1060 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1061 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1063 sharedstatedir
=$ac_optarg ;;
1065 -site |
--site |
--sit)
1067 -site=* |
--site=* |
--sit=*)
1070 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1072 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1073 srcdir
=$ac_optarg ;;
1075 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1076 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1077 ac_prev
=sysconfdir
;;
1078 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1079 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1080 sysconfdir
=$ac_optarg ;;
1082 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1083 ac_prev
=target_alias
;;
1084 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1085 target_alias
=$ac_optarg ;;
1087 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1090 -version |
--version |
--versio |
--versi |
--vers |
-V)
1091 ac_init_version
=: ;;
1094 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1095 # Reject names that are not valid shell variable names.
1096 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1097 as_fn_error $?
"invalid package name: $ac_useropt"
1098 ac_useropt_orig
=$ac_useropt
1099 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1100 case $ac_user_opts in
1104 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1105 ac_unrecognized_sep
=', ';;
1107 eval with_
$ac_useropt=\
$ac_optarg ;;
1109 -without-* |
--without-*)
1110 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1111 # Reject names that are not valid shell variable names.
1112 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1113 as_fn_error $?
"invalid package name: $ac_useropt"
1114 ac_useropt_orig
=$ac_useropt
1115 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1116 case $ac_user_opts in
1120 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1121 ac_unrecognized_sep
=', ';;
1123 eval with_
$ac_useropt=no
;;
1126 # Obsolete; use --with-x.
1129 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1130 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1131 ac_prev
=x_includes
;;
1132 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1133 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1134 x_includes
=$ac_optarg ;;
1136 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1137 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1138 ac_prev
=x_libraries
;;
1139 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1140 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1141 x_libraries
=$ac_optarg ;;
1143 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1144 Try \`$0 --help' for more information"
1148 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1149 # Reject names that are not valid shell variable names.
1150 case $ac_envvar in #(
1151 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1152 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1154 eval $ac_envvar=\
$ac_optarg
1155 export $ac_envvar ;;
1158 # FIXME: should be removed in autoconf 3.0.
1159 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1160 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1161 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1162 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1168 if test -n "$ac_prev"; then
1169 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1170 as_fn_error $?
"missing argument to $ac_option"
1173 if test -n "$ac_unrecognized_opts"; then
1174 case $enable_option_checking in
1176 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1177 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1181 # Check all directory arguments for consistency.
1182 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1183 datadir sysconfdir sharedstatedir localstatedir includedir \
1184 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1185 libdir localedir mandir
1187 eval ac_val
=\$
$ac_var
1188 # Remove trailing slashes.
1191 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1192 eval $ac_var=\
$ac_val;;
1194 # Be sure to have absolute directory names.
1196 [\\/$
]* | ?
:[\\/]* ) continue;;
1197 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1199 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1202 # There might be people who depend on the old broken behavior: `$host'
1203 # used to hold the argument of --host etc.
1204 # FIXME: To remove some day.
1207 target
=$target_alias
1209 # FIXME: To remove some day.
1210 if test "x$host_alias" != x
; then
1211 if test "x$build_alias" = x
; then
1212 cross_compiling
=maybe
1213 elif test "x$build_alias" != "x$host_alias"; then
1219 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1221 test "$silent" = yes && exec 6>/dev
/null
1224 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1225 ac_ls_di
=`ls -di .` &&
1226 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1227 as_fn_error $?
"working directory cannot be determined"
1228 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1229 as_fn_error $?
"pwd does not report name of working directory"
1232 # Find the source files, if location was not specified.
1233 if test -z "$srcdir"; then
1234 ac_srcdir_defaulted
=yes
1235 # Try the directory containing this script, then the parent directory.
1236 ac_confdir
=`$as_dirname -- "$as_myself" ||
1237 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1238 X"$as_myself" : 'X\(//\)[^/]' \| \
1239 X"$as_myself" : 'X\(//\)$' \| \
1240 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1241 $as_echo X"$as_myself" |
1242 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1260 if test ! -r "$srcdir/$ac_unique_file"; then
1264 ac_srcdir_defaulted
=no
1266 if test ! -r "$srcdir/$ac_unique_file"; then
1267 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1268 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1270 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1272 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1274 # When building in place, set srcdir=.
1275 if test "$ac_abs_confdir" = "$ac_pwd"; then
1278 # Remove unnecessary trailing slashes from srcdir.
1279 # Double slashes in file names in object file debugging info
1280 # mess up M-x gdb in Emacs.
1282 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1284 for ac_var
in $ac_precious_vars; do
1285 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1286 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1287 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1288 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1292 # Report the --help message.
1294 if test "$ac_init_help" = "long"; then
1295 # Omit some internal or obsolete options to make the list less imposing.
1296 # This message is too long to be a string in the A/UX 3.1 sh.
1298 \`configure' configures zziplib (TeX Live) 0.13.62 to adapt to many kinds of systems.
1300 Usage: $0 [OPTION]... [VAR=VALUE]...
1302 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1303 VAR=VALUE. See below for descriptions of some of the useful variables.
1305 Defaults for the options are specified in brackets.
1308 -h, --help display this help and exit
1309 --help=short display options specific to this package
1310 --help=recursive display the short help of all the included packages
1311 -V, --version display version information and exit
1312 -q, --quiet, --silent do not print \`checking ...' messages
1313 --cache-file=FILE cache test results in FILE [disabled]
1314 -C, --config-cache alias for \`--cache-file=config.cache'
1315 -n, --no-create do not create output files
1316 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1318 Installation directories:
1319 --prefix=PREFIX install architecture-independent files in PREFIX
1320 [$ac_default_prefix]
1321 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1324 By default, \`make install' will install all the files in
1325 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1326 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1327 for instance \`--prefix=\$HOME'.
1329 For better control, use the options below.
1331 Fine tuning of the installation directories:
1332 --bindir=DIR user executables [EPREFIX/bin]
1333 --sbindir=DIR system admin executables [EPREFIX/sbin]
1334 --libexecdir=DIR program executables [EPREFIX/libexec]
1335 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1336 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1337 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1338 --libdir=DIR object code libraries [EPREFIX/lib]
1339 --includedir=DIR C header files [PREFIX/include]
1340 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1341 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1342 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1343 --infodir=DIR info documentation [DATAROOTDIR/info]
1344 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1345 --mandir=DIR man documentation [DATAROOTDIR/man]
1346 --docdir=DIR documentation root
1347 [DATAROOTDIR/doc/zziplib--tex-live-]
1348 --htmldir=DIR html documentation [DOCDIR]
1349 --dvidir=DIR dvi documentation [DOCDIR]
1350 --pdfdir=DIR pdf documentation [DOCDIR]
1351 --psdir=DIR ps documentation [DOCDIR]
1357 --program-prefix=PREFIX prepend PREFIX to installed program names
1358 --program-suffix=SUFFIX append SUFFIX to installed program names
1359 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1362 --build=BUILD configure
for building on BUILD
[guessed
]
1363 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1367 if test -n "$ac_init_help"; then
1368 case $ac_init_help in
1369 short | recursive
) echo "Configuration of zziplib (TeX Live) 0.13.62:";;
1374 --disable-option-checking ignore unrecognized
--enable/--with options
1375 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1376 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1377 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1378 --disable-silent-rules verbose build output
(undo
: "make V=0")
1379 --enable-maintainer-mode
1380 enable make rules and dependencies not useful
(and
1381 sometimes confusing
) to the casual installer
1382 --enable-dependency-tracking
1383 do not reject slow dependency extractors
1384 --disable-dependency-tracking
1385 speeds up one-time build
1386 --enable-compiler-warnings=[no|min|
yes|max|all
]
1387 Turn on compiler warnings
[default
: yes if
1388 maintainer-mode
, min otherwise
]
1389 --disable-largefile omit support
for large files
1392 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1393 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1394 --with-system-zlib use installed zlib headers and library
1395 --with-zlib-includes=DIR
1396 zlib headers installed
in DIR
1397 --with-zlib-libdir=DIR zlib library installed
in DIR
1399 Some influential environment variables
:
1400 CC C compiler
command
1401 CFLAGS C compiler flags
1402 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1403 nonstandard directory
<lib dir
>
1404 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1405 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1406 you have headers
in a nonstandard directory
<include dir
>
1409 Use these variables to override the choices made by
`configure' or to help
1410 it to find libraries and programs with nonstandard names/locations.
1412 Report bugs to <tex-k@tug.org>.
1417 if test "$ac_init_help" = "recursive"; then
1418 # If there are subdirs, report their specific --help.
1419 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1420 test -d "$ac_dir" ||
1421 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1426 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1428 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1429 # A ".." for each directory in $ac_dir_suffix.
1430 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1431 case $ac_top_builddir_sub in
1432 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1433 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1436 ac_abs_top_builddir=$ac_pwd
1437 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1438 # for backward compatibility:
1439 ac_top_builddir=$ac_top_build_prefix
1442 .) # We are building in place.
1444 ac_top_srcdir=$ac_top_builddir_sub
1445 ac_abs_top_srcdir=$ac_pwd ;;
1446 [\\/]* | ?:[\\/]* ) # Absolute name.
1447 ac_srcdir=$srcdir$ac_dir_suffix;
1448 ac_top_srcdir=$srcdir
1449 ac_abs_top_srcdir=$srcdir ;;
1451 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1452 ac_top_srcdir=$ac_top_build_prefix$srcdir
1453 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1455 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1457 cd "$ac_dir" || { ac_status=$?; continue; }
1458 # Check for guested configure.
1459 if test -f "$ac_srcdir/configure.gnu"; then
1461 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1462 elif test -f "$ac_srcdir/configure"; then
1464 $SHELL "$ac_srcdir/configure" --help=recursive
1466 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1468 cd "$ac_pwd" || { ac_status=$?; break; }
1472 test -n "$ac_init_help" && exit $ac_status
1473 if $ac_init_version; then
1475 zziplib (TeX Live) configure 0.13.62
1476 generated by GNU Autoconf 2.69
1478 Copyright (C) 2012 Free Software Foundation, Inc.
1479 This configure script is free software; the Free Software Foundation
1480 gives unlimited permission to copy, distribute and modify it.
1485 ## ------------------------ ##
1486 ## Autoconf initialization. ##
1487 ## ------------------------ ##
1489 # ac_fn_c_try_compile LINENO
1490 # --------------------------
1491 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1492 ac_fn_c_try_compile ()
1494 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1495 rm -f conftest.$ac_objext
1496 if { { ac_try="$ac_compile"
1498 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1499 *) ac_try_echo
=$ac_try;;
1501 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1502 $as_echo "$ac_try_echo"; } >&5
1503 (eval "$ac_compile") 2>conftest.err
1505 if test -s conftest.err
; then
1506 grep -v '^ *+' conftest.err
>conftest.er1
1507 cat conftest.er1
>&5
1508 mv -f conftest.er1 conftest.err
1510 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1511 test $ac_status = 0; } && {
1512 test -z "$ac_c_werror_flag" ||
1513 test ! -s conftest.err
1514 } && test -s conftest.
$ac_objext; then :
1517 $as_echo "$as_me: failed program was:" >&5
1518 sed 's/^/| /' conftest.
$ac_ext >&5
1522 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1523 as_fn_set_status
$ac_retval
1525 } # ac_fn_c_try_compile
1527 # ac_fn_c_try_link LINENO
1528 # -----------------------
1529 # Try to link conftest.$ac_ext, and return whether this succeeded.
1532 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1533 rm -f conftest.
$ac_objext conftest
$ac_exeext
1534 if { { ac_try
="$ac_link"
1536 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1537 *) ac_try_echo=$ac_try;;
1539 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1540 $as_echo "$ac_try_echo"; } >&5
1541 (eval "$ac_link") 2>conftest.err
1543 if test -s conftest.err; then
1544 grep -v '^ *+' conftest.err >conftest.er1
1545 cat conftest.er1 >&5
1546 mv -f conftest.er1 conftest.err
1548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1549 test $ac_status = 0; } && {
1550 test -z "$ac_c_werror_flag" ||
1551 test ! -s conftest.err
1552 } && test -s conftest$ac_exeext && {
1553 test "$cross_compiling" = yes ||
1554 test -x conftest$ac_exeext
1558 $as_echo "$as_me: failed program was:" >&5
1559 sed 's/^/| /' conftest.$ac_ext >&5
1563 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1564 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1565 # interfere with the next link command; also delete a directory that is
1566 # left behind by Apple's compiler. We do this before executing the actions.
1567 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1568 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1569 as_fn_set_status $ac_retval
1571 } # ac_fn_c_try_link
1573 # ac_fn_c_try_cpp LINENO
1574 # ----------------------
1575 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1578 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1579 if { { ac_try="$ac_cpp conftest.$ac_ext"
1581 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1582 *) ac_try_echo
=$ac_try;;
1584 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1585 $as_echo "$ac_try_echo"; } >&5
1586 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1588 if test -s conftest.err
; then
1589 grep -v '^ *+' conftest.err
>conftest.er1
1590 cat conftest.er1
>&5
1591 mv -f conftest.er1 conftest.err
1593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1594 test $ac_status = 0; } > conftest.i
&& {
1595 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1596 test ! -s conftest.err
1600 $as_echo "$as_me: failed program was:" >&5
1601 sed 's/^/| /' conftest.
$ac_ext >&5
1605 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1606 as_fn_set_status
$ac_retval
1610 # ac_fn_c_try_run LINENO
1611 # ----------------------
1612 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1613 # that executables *can* be run.
1616 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1617 if { { ac_try
="$ac_link"
1619 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1620 *) ac_try_echo=$ac_try;;
1622 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1623 $as_echo "$ac_try_echo"; } >&5
1624 (eval "$ac_link") 2>&5
1626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1627 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1628 { { case "(($ac_try" in
1629 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1630 *) ac_try_echo
=$ac_try;;
1632 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1633 $as_echo "$ac_try_echo"; } >&5
1634 (eval "$ac_try") 2>&5
1636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1637 test $ac_status = 0; }; }; then :
1640 $as_echo "$as_me: program exited with status $ac_status" >&5
1641 $as_echo "$as_me: failed program was:" >&5
1642 sed 's/^/| /' conftest.
$ac_ext >&5
1644 ac_retval
=$ac_status
1646 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1647 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1648 as_fn_set_status
$ac_retval
1652 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1653 # -------------------------------------------------------
1654 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1655 # the include files in INCLUDES and setting the cache variable VAR
1657 ac_fn_c_check_header_mongrel
()
1659 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1660 if eval \
${$3+:} false
; then :
1661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1662 $as_echo_n "checking for $2... " >&6; }
1663 if eval \
${$3+:} false
; then :
1664 $as_echo_n "(cached) " >&6
1667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1668 $as_echo "$ac_res" >&6; }
1670 # Is the header compilable?
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1672 $as_echo_n "checking $2 usability... " >&6; }
1673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1674 /* end confdefs.h. */
1678 if ac_fn_c_try_compile
"$LINENO"; then :
1679 ac_header_compiler
=yes
1681 ac_header_compiler
=no
1683 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1685 $as_echo "$ac_header_compiler" >&6; }
1687 # Is the header present?
1688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1689 $as_echo_n "checking $2 presence... " >&6; }
1690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1691 /* end confdefs.h. */
1694 if ac_fn_c_try_cpp
"$LINENO"; then :
1695 ac_header_preproc
=yes
1697 ac_header_preproc
=no
1699 rm -f conftest.err conftest.i conftest.
$ac_ext
1700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1701 $as_echo "$ac_header_preproc" >&6; }
1703 # So? What about this header?
1704 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1707 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1709 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1713 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1715 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1717 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1719 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1721 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1722 ( $as_echo "## ---------------------------- ##
1723 ## Report this to tex-k@tug.org ##
1724 ## ---------------------------- ##"
1725 ) |
sed "s/^/$as_me: WARNING: /" >&2
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1729 $as_echo_n "checking for $2... " >&6; }
1730 if eval \
${$3+:} false
; then :
1731 $as_echo_n "(cached) " >&6
1733 eval "$3=\$ac_header_compiler"
1736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1737 $as_echo "$ac_res" >&6; }
1739 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1741 } # ac_fn_c_check_header_mongrel
1743 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1744 # -------------------------------------------------------
1745 # Tests whether HEADER exists and can be compiled using the include files in
1746 # INCLUDES, setting the cache variable VAR accordingly.
1747 ac_fn_c_check_header_compile
()
1749 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1751 $as_echo_n "checking for $2... " >&6; }
1752 if eval \
${$3+:} false
; then :
1753 $as_echo_n "(cached) " >&6
1755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1756 /* end confdefs.h. */
1760 if ac_fn_c_try_compile
"$LINENO"; then :
1765 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1769 $as_echo "$ac_res" >&6; }
1770 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1772 } # ac_fn_c_check_header_compile
1774 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1775 # -------------------------------------------
1776 # Tests whether TYPE exists after having included INCLUDES, setting cache
1777 # variable VAR accordingly.
1778 ac_fn_c_check_type
()
1780 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1782 $as_echo_n "checking for $2... " >&6; }
1783 if eval \
${$3+:} false
; then :
1784 $as_echo_n "(cached) " >&6
1787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1788 /* end confdefs.h. */
1799 if ac_fn_c_try_compile
"$LINENO"; then :
1800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1801 /* end confdefs.h. */
1812 if ac_fn_c_try_compile
"$LINENO"; then :
1817 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1819 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1823 $as_echo "$ac_res" >&6; }
1824 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1826 } # ac_fn_c_check_type
1828 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1829 # --------------------------------------------
1830 # Tries to find the compile-time value of EXPR in a program that includes
1831 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1833 ac_fn_c_compute_int
()
1835 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1836 if test "$cross_compiling" = yes; then
1837 # Depending upon the size, compute the lo and hi bounds.
1838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1839 /* end confdefs.h. */
1844 static int test_array [1 - 2 * !(($2) >= 0)];
1846 return test_array [0];
1852 if ac_fn_c_try_compile
"$LINENO"; then :
1855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1856 /* end confdefs.h. */
1861 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1863 return test_array [0];
1869 if ac_fn_c_try_compile
"$LINENO"; then :
1870 ac_hi
=$ac_mid; break
1872 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
1873 if test $ac_lo -le $ac_mid; then
1877 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
1879 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1883 /* end confdefs.h. */
1888 static int test_array [1 - 2 * !(($2) < 0)];
1890 return test_array [0];
1896 if ac_fn_c_try_compile
"$LINENO"; then :
1899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1900 /* end confdefs.h. */
1905 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1907 return test_array [0];
1913 if ac_fn_c_try_compile
"$LINENO"; then :
1914 ac_lo
=$ac_mid; break
1916 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
1917 if test $ac_mid -le $ac_hi; then
1921 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
1923 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1928 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1930 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1931 # Binary search between lo and hi bounds.
1932 while test "x$ac_lo" != "x$ac_hi"; do
1933 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
1934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1935 /* end confdefs.h. */
1940 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1942 return test_array [0];
1948 if ac_fn_c_try_compile
"$LINENO"; then :
1951 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
1953 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1956 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
1960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1961 /* end confdefs.h. */
1963 static long int longval () { return $2; }
1964 static unsigned long int ulongval () { return $2; }
1971 FILE *f = fopen ("conftest.val", "w");
1976 long int i = longval ();
1979 fprintf (f, "%ld", i);
1983 unsigned long int i = ulongval ();
1986 fprintf (f, "%lu", i);
1988 /* Do not output a trailing newline, as this causes \r\n confusion
1989 on some platforms. */
1990 return ferror (f) || fclose (f) != 0;
1996 if ac_fn_c_try_run
"$LINENO"; then :
1997 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2001 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2002 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2006 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2007 as_fn_set_status
$ac_retval
2009 } # ac_fn_c_compute_int
2011 # ac_fn_c_check_func LINENO FUNC VAR
2012 # ----------------------------------
2013 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2014 ac_fn_c_check_func
()
2016 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2018 $as_echo_n "checking for $2... " >&6; }
2019 if eval \
${$3+:} false
; then :
2020 $as_echo_n "(cached) " >&6
2022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2023 /* end confdefs.h. */
2024 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2026 #define $2 innocuous_$2
2028 /* System header to define __stub macros and hopefully few prototypes,
2029 which can conflict with char $2 (); below.
2030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2031 <limits.h> exists even on freestanding compilers. */
2034 # include <limits.h>
2036 # include <assert.h>
2041 /* Override any GCC internal prototype to avoid an error.
2042 Use char because int might match the return type of a GCC
2043 builtin and then its argument prototype would still apply. */
2048 /* The GNU C library defines this for functions which it implements
2049 to always fail with ENOSYS. Some functions are actually named
2050 something starting with __ and the normal name is an alias. */
2051 #if defined __stub_$2 || defined __stub___$2
2063 if ac_fn_c_try_link
"$LINENO"; then :
2068 rm -f core conftest.err conftest.
$ac_objext \
2069 conftest
$ac_exeext conftest.
$ac_ext
2072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2073 $as_echo "$ac_res" >&6; }
2074 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2076 } # ac_fn_c_check_func
2077 cat >config.log
<<_ACEOF
2078 This file contains any messages produced by compilers while
2079 running configure, to aid debugging if configure makes a mistake.
2081 It was created by zziplib (TeX Live) $as_me 0.13.62, which was
2082 generated by GNU Autoconf 2.69. Invocation command line was
2094 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2095 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2096 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2097 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2098 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2100 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2101 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2103 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2104 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2105 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2106 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2107 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2108 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2109 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2117 test -z "$as_dir" && as_dir
=.
2118 $as_echo "PATH: $as_dir"
2134 # Keep a trace of the command line.
2135 # Strip out --no-create and --no-recursion so they do not pile up.
2136 # Strip out --silent because we don't want to record it for future runs.
2137 # Also quote any args containing shell meta-characters.
2138 # Make two passes to allow for proper duplicate-argument suppression.
2142 ac_must_keep_next
=false
2148 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2149 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2150 |
-silent |
--silent |
--silen |
--sile |
--sil)
2153 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2156 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2158 as_fn_append ac_configure_args1
" '$ac_arg'"
2159 if test $ac_must_keep_next = true
; then
2160 ac_must_keep_next
=false
# Got value, back to normal.
2163 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2164 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2165 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2166 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2167 case "$ac_configure_args0 " in
2168 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2171 -* ) ac_must_keep_next
=true
;;
2174 as_fn_append ac_configure_args
" '$ac_arg'"
2179 { ac_configure_args0
=; unset ac_configure_args0
;}
2180 { ac_configure_args1
=; unset ac_configure_args1
;}
2182 # When interrupted or exit'd, cleanup temporary files, and complete
2183 # config.log. We remove comments because anyway the quotes in there
2184 # would cause problems or look ugly.
2185 # WARNING: Use '\'' to represent an apostrophe within the trap.
2186 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2187 trap 'exit_status=$?
2188 # Save into config.log some information that might help in debugging.
2192 $as_echo "## ---------------- ##
2193 ## Cache variables. ##
2194 ## ---------------- ##"
2196 # The following way of writing the cache mishandles newlines in values,
2198 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2199 eval ac_val=\$$ac_var
2203 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2204 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2207 _ | IFS | as_nl) ;; #(
2208 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2209 *) { eval $ac_var=; unset $ac_var;} ;;
2214 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2215 *${as_nl}ac_space=\ *)
2217 "s/'\''/'\''\\\\'\'''\''/g;
2218 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2221 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2228 $as_echo "## ----------------- ##
2229 ## Output variables. ##
2230 ## ----------------- ##"
2232 for ac_var in $ac_subst_vars
2234 eval ac_val=\$$ac_var
2236 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2238 $as_echo "$ac_var='\''$ac_val'\''"
2242 if test -n "$ac_subst_files"; then
2243 $as_echo "## ------------------- ##
2244 ## File substitutions. ##
2245 ## ------------------- ##"
2247 for ac_var
in $ac_subst_files
2249 eval ac_val
=\$
$ac_var
2251 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2253 $as_echo "$ac_var='\''$ac_val'\''"
2258 if test -s confdefs.h; then
2259 $as_echo "## ----------- ##
2266 test "$ac_signal" != 0 &&
2267 $as_echo "$as_me: caught signal $ac_signal"
2268 $as_echo "$as_me: exit $exit_status"
2270 rm -f core *.core core.conftest.* &&
2271 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2274 for ac_signal
in 1 2 13 15; do
2275 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2279 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2280 rm -f -r conftest
* confdefs.h
2282 $as_echo "/* confdefs.h */" > confdefs.h
2284 # Predefined preprocessor variables.
2286 cat >>confdefs.h
<<_ACEOF
2287 #define PACKAGE_NAME "$PACKAGE_NAME"
2290 cat >>confdefs.h
<<_ACEOF
2291 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2294 cat >>confdefs.h
<<_ACEOF
2295 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2298 cat >>confdefs.h
<<_ACEOF
2299 #define PACKAGE_STRING "$PACKAGE_STRING"
2302 cat >>confdefs.h
<<_ACEOF
2303 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2306 cat >>confdefs.h
<<_ACEOF
2307 #define PACKAGE_URL "$PACKAGE_URL"
2311 # Let the site file select an alternate cache file if it wants to.
2312 # Prefer an explicitly selected file to automatically selected ones.
2315 if test -n "$CONFIG_SITE"; then
2316 # We do not want a PATH search for config.site.
2317 case $CONFIG_SITE in #((
2318 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2319 */*) ac_site_file1
=$CONFIG_SITE;;
2320 *) ac_site_file1
=.
/$CONFIG_SITE;;
2322 elif test "x$prefix" != xNONE
; then
2323 ac_site_file1
=$prefix/share
/config.site
2324 ac_site_file2
=$prefix/etc
/config.site
2326 ac_site_file1
=$ac_default_prefix/share
/config.site
2327 ac_site_file2
=$ac_default_prefix/etc
/config.site
2329 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2331 test "x$ac_site_file" = xNONE
&& continue
2332 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2334 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2335 sed 's/^/| /' "$ac_site_file" >&5
2337 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2338 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2339 as_fn_error $?
"failed to load site script $ac_site_file
2340 See \`config.log' for more details" "$LINENO" 5; }
2344 if test -r "$cache_file"; then
2345 # Some versions of bash will fail to source /dev/null (special files
2346 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2347 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2348 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2349 $as_echo "$as_me: loading cache $cache_file" >&6;}
2351 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2352 *) .
"./$cache_file";;
2356 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2357 $as_echo "$as_me: creating cache $cache_file" >&6;}
2361 # Check that the precious variables saved in the cache have kept the same
2363 ac_cache_corrupted
=false
2364 for ac_var
in $ac_precious_vars; do
2365 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2366 eval ac_new_set
=\
$ac_env_${ac_var}_set
2367 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2368 eval ac_new_val
=\
$ac_env_${ac_var}_value
2369 case $ac_old_set,$ac_new_set in
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2372 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2373 ac_cache_corrupted
=: ;;
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2376 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2377 ac_cache_corrupted
=: ;;
2380 if test "x$ac_old_val" != "x$ac_new_val"; then
2381 # differences in whitespace do not lead to failure.
2382 ac_old_val_w
=`echo x $ac_old_val`
2383 ac_new_val_w
=`echo x $ac_new_val`
2384 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2386 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2387 ac_cache_corrupted
=:
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2390 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2391 eval $ac_var=\
$ac_old_val
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2394 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2396 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2399 # Pass precious variables to config.status.
2400 if test "$ac_new_set" = set; then
2402 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2403 *) ac_arg
=$ac_var=$ac_new_val ;;
2405 case " $ac_configure_args " in
2406 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2407 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2411 if $ac_cache_corrupted; then
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2413 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2415 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2416 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2418 ## -------------------- ##
2419 ## Main body of script. ##
2420 ## -------------------- ##
2423 ac_cpp
='$CPP $CPPFLAGS'
2424 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2425 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2426 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2432 for ac_dir
in ..
/..
/build-aux
"$srcdir"/..
/..
/build-aux
; do
2433 if test -f "$ac_dir/install-sh"; then
2435 ac_install_sh
="$ac_aux_dir/install-sh -c"
2437 elif test -f "$ac_dir/install.sh"; then
2439 ac_install_sh
="$ac_aux_dir/install.sh -c"
2441 elif test -f "$ac_dir/shtool"; then
2443 ac_install_sh
="$ac_aux_dir/shtool install -c"
2447 if test -z "$ac_aux_dir"; then
2448 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in ../../build-aux \"$srcdir\"/../../build-aux" "$LINENO" 5
2451 # These three variables are undocumented and unsupported,
2452 # and are intended to be withdrawn in a future Autoconf release.
2453 # They can cause serious problems if a builder's source tree is in a directory
2454 # whose full name contains unusual characters.
2455 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2456 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2457 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2462 am__api_version
='1.15'
2464 # Find a good install program. We prefer a C program (faster),
2465 # so one script is as good as another. But avoid the broken or
2466 # incompatible versions:
2467 # SysV /etc/install, /usr/sbin/install
2468 # SunOS /usr/etc/install
2469 # IRIX /sbin/install
2471 # AmigaOS /C/install, which installs bootblocks on floppy discs
2472 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2473 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2474 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2475 # OS/2's system install, which has a completely different semantic
2476 # ./install, which can be erroneously created by make from ./install.sh.
2477 # Reject install programs that cannot install multiple files.
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2479 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2480 if test -z "$INSTALL"; then
2481 if ${ac_cv_path_install+:} false
; then :
2482 $as_echo_n "(cached) " >&6
2484 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2488 test -z "$as_dir" && as_dir
=.
2489 # Account for people who put trailing slashes in PATH elements.
2490 case $as_dir/ in #((
2491 .
/ | .
// |
/[cC
]/* | \
2492 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2493 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2496 # OSF1 and SCO ODT 3.0 have their own names for install.
2497 # Don't use installbsd from OSF since it installs stuff as root
2499 for ac_prog
in ginstall scoinst
install; do
2500 for ac_exec_ext
in '' $ac_executable_extensions; do
2501 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2502 if test $ac_prog = install &&
2503 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2504 # AIX install. It has an incompatible calling convention.
2506 elif test $ac_prog = install &&
2507 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2508 # program-specific install script used by HP pwplus--don't use.
2511 rm -rf conftest.one conftest.two conftest.dir
2512 echo one
> conftest.one
2513 echo two
> conftest.two
2515 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2516 test -s conftest.one
&& test -s conftest.two
&&
2517 test -s conftest.dir
/conftest.one
&&
2518 test -s conftest.dir
/conftest.two
2520 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2533 rm -rf conftest.one conftest.two conftest.dir
2536 if test "${ac_cv_path_install+set}" = set; then
2537 INSTALL
=$ac_cv_path_install
2539 # As a last resort, use the slow shell script. Don't cache a
2540 # value for INSTALL within a source directory, because that will
2541 # break other packages using the cache if that directory is
2542 # removed, or if the value is a relative name.
2543 INSTALL
=$ac_install_sh
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2547 $as_echo "$INSTALL" >&6; }
2549 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2550 # It thinks the first close brace ends the variable substitution.
2551 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2553 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2555 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2558 $as_echo_n "checking whether build environment is sane... " >&6; }
2559 # Reject unsafe characters in $srcdir or the absolute working directory
2560 # name. Accept space and tab only in the latter.
2564 *[\\\"\
#\$\&\'\`$am_lf]*)
2565 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2568 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2569 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2572 # Do 'set' in a subshell so we don't clobber the current shell's
2573 # arguments. Must try -L first in case configure is actually a
2574 # symlink; some systems play weird games with the mod time of symlinks
2575 # (eg FreeBSD returns the mod time of the symlink's containing
2579 for am_try
in 1 2; do
2580 echo "timestamp, slept: $am_has_slept" > conftest.
file
2581 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2582 if test "$*" = "X"; then
2584 set X
`ls -t "$srcdir/configure" conftest.file`
2586 if test "$*" != "X $srcdir/configure conftest.file" \
2587 && test "$*" != "X conftest.file $srcdir/configure"; then
2589 # If neither matched, then we have a broken ls. This can happen
2590 # if, for instance, CONFIG_SHELL is bash and it inherits a
2591 # broken ls alias from the environment. This has actually
2592 # happened. Such a system could not be considered "sane".
2593 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2594 alias in your environment" "$LINENO" 5
2596 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2603 test "$2" = conftest.
file
2609 as_fn_error $?
"newly created file is older than distributed files!
2610 Check your system clock" "$LINENO" 5
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2613 $as_echo "yes" >&6; }
2614 # If we didn't sleep, we still need to ensure time stamps of config.status and
2615 # generated files are strictly newer.
2617 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2624 test "$program_prefix" != NONE
&&
2625 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2626 # Use a double $ so make ignores it.
2627 test "$program_suffix" != NONE
&&
2628 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2629 # Double any \ or $.
2630 # By default was `s,x,x', remove it if useless.
2631 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2632 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2634 # Expand $ac_aux_dir to an absolute path.
2635 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2637 if test x
"${MISSING+set}" != xset
; then
2640 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2642 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2645 # Use eval to expand $SHELL
2646 if eval "$MISSING --is-lightweight"; then
2647 am_missing_run
="$MISSING "
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2651 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2654 if test x
"${install_sh+set}" != xset
; then
2657 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2659 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2663 # Installed binaries are usually stripped using 'strip' when the user
2664 # run "make install-strip". However 'strip' might not be the right
2665 # tool to use in cross-compilation environments, therefore Automake
2666 # will honor the 'STRIP' environment variable to overrule this program.
2667 if test "$cross_compiling" != no
; then
2668 if test -n "$ac_tool_prefix"; then
2669 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2670 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2672 $as_echo_n "checking for $ac_word... " >&6; }
2673 if ${ac_cv_prog_STRIP+:} false
; then :
2674 $as_echo_n "(cached) " >&6
2676 if test -n "$STRIP"; then
2677 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2679 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2683 test -z "$as_dir" && as_dir
=.
2684 for ac_exec_ext
in '' $ac_executable_extensions; do
2685 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2686 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2696 STRIP
=$ac_cv_prog_STRIP
2697 if test -n "$STRIP"; then
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2699 $as_echo "$STRIP" >&6; }
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2702 $as_echo "no" >&6; }
2707 if test -z "$ac_cv_prog_STRIP"; then
2709 # Extract the first word of "strip", so it can be a program name with args.
2710 set dummy strip
; ac_word
=$2
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2712 $as_echo_n "checking for $ac_word... " >&6; }
2713 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2714 $as_echo_n "(cached) " >&6
2716 if test -n "$ac_ct_STRIP"; then
2717 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2723 test -z "$as_dir" && as_dir
=.
2724 for ac_exec_ext
in '' $ac_executable_extensions; do
2725 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2726 ac_cv_prog_ac_ct_STRIP
="strip"
2727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2736 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2737 if test -n "$ac_ct_STRIP"; then
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2739 $as_echo "$ac_ct_STRIP" >&6; }
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2742 $as_echo "no" >&6; }
2745 if test "x$ac_ct_STRIP" = x
; then
2748 case $cross_compiling:$ac_tool_warned in
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2751 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2752 ac_tool_warned
=yes ;;
2757 STRIP
="$ac_cv_prog_STRIP"
2761 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2764 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2765 if test -z "$MKDIR_P"; then
2766 if ${ac_cv_path_mkdir+:} false
; then :
2767 $as_echo_n "(cached) " >&6
2769 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2770 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2773 test -z "$as_dir" && as_dir
=.
2774 for ac_prog
in mkdir gmkdir
; do
2775 for ac_exec_ext
in '' $ac_executable_extensions; do
2776 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2777 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2778 'mkdir (GNU coreutils) '* | \
2779 'mkdir (coreutils) '* | \
2780 'mkdir (fileutils) '4.1*)
2781 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2791 test -d .
/--version && rmdir .
/--version
2792 if test "${ac_cv_path_mkdir+set}" = set; then
2793 MKDIR_P
="$ac_cv_path_mkdir -p"
2795 # As a last resort, use the slow shell script. Don't cache a
2796 # value for MKDIR_P within a source directory, because that will
2797 # break other packages using the cache if that directory is
2798 # removed, or if the value is a relative name.
2799 MKDIR_P
="$ac_install_sh -d"
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2803 $as_echo "$MKDIR_P" >&6; }
2805 for ac_prog
in gawk mawk nawk
awk
2807 # Extract the first word of "$ac_prog", so it can be a program name with args.
2808 set dummy
$ac_prog; ac_word
=$2
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2810 $as_echo_n "checking for $ac_word... " >&6; }
2811 if ${ac_cv_prog_AWK+:} false
; then :
2812 $as_echo_n "(cached) " >&6
2814 if test -n "$AWK"; then
2815 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2821 test -z "$as_dir" && as_dir
=.
2822 for ac_exec_ext
in '' $ac_executable_extensions; do
2823 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2824 ac_cv_prog_AWK
="$ac_prog"
2825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2835 if test -n "$AWK"; then
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2837 $as_echo "$AWK" >&6; }
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2840 $as_echo "no" >&6; }
2844 test -n "$AWK" && break
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2848 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2850 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2851 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2852 $as_echo_n "(cached) " >&6
2854 cat >conftest.
make <<\_ACEOF
2857 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2859 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2860 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2862 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2864 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2868 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2870 $as_echo "yes" >&6; }
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2874 $as_echo "no" >&6; }
2875 SET_MAKE
="MAKE=${MAKE-make}"
2878 rm -rf .tst
2>/dev
/null
2879 mkdir .tst
2>/dev
/null
2880 if test -d .tst
; then
2885 rmdir .tst
2>/dev
/null
2887 # Check whether --enable-silent-rules was given.
2888 if test "${enable_silent_rules+set}" = set; then :
2889 enableval
=$enable_silent_rules;
2892 case $enable_silent_rules in # (((
2893 yes) AM_DEFAULT_VERBOSITY
=0;;
2894 no
) AM_DEFAULT_VERBOSITY
=1;;
2895 *) AM_DEFAULT_VERBOSITY
=1;;
2897 am_make
=${MAKE-make}
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2899 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2900 if ${am_cv_make_support_nested_variables+:} false
; then :
2901 $as_echo_n "(cached) " >&6
2903 if $as_echo 'TRUE=$(BAR$(V))
2909 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2910 am_cv_make_support_nested_variables
=yes
2912 am_cv_make_support_nested_variables
=no
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2916 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2917 if test $am_cv_make_support_nested_variables = yes; then
2919 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2921 AM_V
=$AM_DEFAULT_VERBOSITY
2922 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2926 DEPDIR="${am__leading_dot}deps"
2928 ac_config_commands="$ac_config_commands depfiles"
2931 am_make=${MAKE-make}
2932 cat > confinc << 'END
'
2934 @echo this is the am__doit target
2937 # If we don't
find an include directive
, just comment out the code.
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2939 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2943 # First try GNU make style include.
2944 echo "include confinc" > confmf
2945 # Ignore all kinds of additional output from 'make'.
2946 case `$am_make -s -f confmf 2> /dev/null` in #(
2947 *the\ am__doit\ target
*)
2953 # Now try BSD make style include.
2954 if test "$am__include" = "#"; then
2955 echo '.include "confinc"' > confmf
2956 case `$am_make -s -f confmf 2> /dev/null` in #(
2957 *the\ am__doit\ target
*)
2958 am__include
=.include
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2967 $as_echo "$_am_result" >&6; }
2968 rm -f confinc confmf
2970 # Check whether --enable-dependency-tracking was given.
2971 if test "${enable_dependency_tracking+set}" = set; then :
2972 enableval
=$enable_dependency_tracking;
2975 if test "x$enable_dependency_tracking" != xno
; then
2976 am_depcomp
="$ac_aux_dir/depcomp"
2980 if test "x$enable_dependency_tracking" != xno; then
2990 ac_cpp
='$CPP $CPPFLAGS'
2991 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2992 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2993 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2994 if test -n "$ac_tool_prefix"; then
2995 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2996 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2998 $as_echo_n "checking for $ac_word... " >&6; }
2999 if ${ac_cv_prog_CC+:} false
; then :
3000 $as_echo_n "(cached) " >&6
3002 if test -n "$CC"; then
3003 ac_cv_prog_CC
="$CC" # Let the user override the test.
3005 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3009 test -z "$as_dir" && as_dir
=.
3010 for ac_exec_ext
in '' $ac_executable_extensions; do
3011 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3012 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3023 if test -n "$CC"; then
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3025 $as_echo "$CC" >&6; }
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3028 $as_echo "no" >&6; }
3033 if test -z "$ac_cv_prog_CC"; then
3035 # Extract the first word of "gcc", so it can be a program name with args.
3036 set dummy gcc
; ac_word
=$2
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3038 $as_echo_n "checking for $ac_word... " >&6; }
3039 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3040 $as_echo_n "(cached) " >&6
3042 if test -n "$ac_ct_CC"; then
3043 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3049 test -z "$as_dir" && as_dir
=.
3050 for ac_exec_ext
in '' $ac_executable_extensions; do
3051 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3052 ac_cv_prog_ac_ct_CC
="gcc"
3053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3062 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3063 if test -n "$ac_ct_CC"; then
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3065 $as_echo "$ac_ct_CC" >&6; }
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3068 $as_echo "no" >&6; }
3071 if test "x$ac_ct_CC" = x
; then
3074 case $cross_compiling:$ac_tool_warned in
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3077 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3078 ac_tool_warned
=yes ;;
3086 if test -z "$CC"; then
3087 if test -n "$ac_tool_prefix"; then
3088 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3089 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3091 $as_echo_n "checking for $ac_word... " >&6; }
3092 if ${ac_cv_prog_CC+:} false
; then :
3093 $as_echo_n "(cached) " >&6
3095 if test -n "$CC"; then
3096 ac_cv_prog_CC
="$CC" # Let the user override the test.
3098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3102 test -z "$as_dir" && as_dir
=.
3103 for ac_exec_ext
in '' $ac_executable_extensions; do
3104 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3105 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3116 if test -n "$CC"; then
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3118 $as_echo "$CC" >&6; }
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3121 $as_echo "no" >&6; }
3127 if test -z "$CC"; then
3128 # Extract the first word of "cc", so it can be a program name with args.
3129 set dummy cc
; ac_word
=$2
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3131 $as_echo_n "checking for $ac_word... " >&6; }
3132 if ${ac_cv_prog_CC+:} false
; then :
3133 $as_echo_n "(cached) " >&6
3135 if test -n "$CC"; then
3136 ac_cv_prog_CC
="$CC" # Let the user override the test.
3139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3143 test -z "$as_dir" && as_dir
=.
3144 for ac_exec_ext
in '' $ac_executable_extensions; do
3145 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3146 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3147 ac_prog_rejected
=yes
3151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3158 if test $ac_prog_rejected = yes; then
3159 # We found a bogon in the path, so make sure we never use it.
3160 set dummy
$ac_cv_prog_CC
3162 if test $# != 0; then
3163 # We chose a different compiler from the bogus one.
3164 # However, it has the same basename, so the bogon will be chosen
3165 # first if we set CC to just the basename; use the full file name.
3167 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3173 if test -n "$CC"; then
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3175 $as_echo "$CC" >&6; }
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3178 $as_echo "no" >&6; }
3183 if test -z "$CC"; then
3184 if test -n "$ac_tool_prefix"; then
3185 for ac_prog
in cl.exe
3187 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3188 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3190 $as_echo_n "checking for $ac_word... " >&6; }
3191 if ${ac_cv_prog_CC+:} false
; then :
3192 $as_echo_n "(cached) " >&6
3194 if test -n "$CC"; then
3195 ac_cv_prog_CC
="$CC" # Let the user override the test.
3197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3201 test -z "$as_dir" && as_dir
=.
3202 for ac_exec_ext
in '' $ac_executable_extensions; do
3203 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3204 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3215 if test -n "$CC"; then
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3217 $as_echo "$CC" >&6; }
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3220 $as_echo "no" >&6; }
3224 test -n "$CC" && break
3227 if test -z "$CC"; then
3229 for ac_prog
in cl.exe
3231 # Extract the first word of "$ac_prog", so it can be a program name with args.
3232 set dummy
$ac_prog; ac_word
=$2
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3234 $as_echo_n "checking for $ac_word... " >&6; }
3235 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3236 $as_echo_n "(cached) " >&6
3238 if test -n "$ac_ct_CC"; then
3239 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3245 test -z "$as_dir" && as_dir
=.
3246 for ac_exec_ext
in '' $ac_executable_extensions; do
3247 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3248 ac_cv_prog_ac_ct_CC
="$ac_prog"
3249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3258 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3259 if test -n "$ac_ct_CC"; then
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3261 $as_echo "$ac_ct_CC" >&6; }
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3264 $as_echo "no" >&6; }
3268 test -n "$ac_ct_CC" && break
3271 if test "x$ac_ct_CC" = x
; then
3274 case $cross_compiling:$ac_tool_warned in
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3277 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3278 ac_tool_warned
=yes ;;
3287 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3288 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3289 as_fn_error $?
"no acceptable C compiler found in \$PATH
3290 See \`config.log' for more details" "$LINENO" 5; }
3292 # Provide some information about the compiler.
3293 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3296 for ac_option
in --version -v -V -qversion; do
3297 { { ac_try
="$ac_compiler $ac_option >&5"
3299 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3300 *) ac_try_echo=$ac_try;;
3302 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3303 $as_echo "$ac_try_echo"; } >&5
3304 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3306 if test -s conftest.err; then
3308 ... rest of stderr output deleted ...
3309 10q' conftest.err >conftest.er1
3310 cat conftest.er1 >&5
3312 rm -f conftest.er1 conftest.err
3313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3314 test $ac_status = 0; }
3317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3318 /* end confdefs.h. */
3328 ac_clean_files_save=$ac_clean_files
3329 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3330 # Try to create an executable without -o first, disregard a.out.
3331 # It will help us diagnose broken compilers, and finding out an intuition
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3334 $as_echo_n "checking whether the C compiler works... " >&6; }
3335 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3337 # The possible output files:
3338 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3341 for ac_file in $ac_files
3344 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3345 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3350 if { { ac_try="$ac_link_default"
3352 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3353 *) ac_try_echo
=$ac_try;;
3355 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3356 $as_echo "$ac_try_echo"; } >&5
3357 (eval "$ac_link_default") 2>&5
3359 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3360 test $ac_status = 0; }; then :
3361 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3362 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3363 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3364 # so that the user can short-circuit this test for compilers unknown to
3366 for ac_file
in $ac_files ''
3368 test -f "$ac_file" ||
continue
3370 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3373 # We found the default executable, but exeext='' is most
3377 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3379 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3381 # We set ac_cv_exeext here because the later test for it is not
3382 # safe: cross compilers may not add the suffix if given an `-o'
3383 # argument, so we may need to know it at that point already.
3384 # Even if this section looks crufty: it has the advantage of
3391 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3396 if test -z "$ac_file"; then :
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3398 $as_echo "no" >&6; }
3399 $as_echo "$as_me: failed program was:" >&5
3400 sed 's/^/| /' conftest.
$ac_ext >&5
3402 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3403 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3404 as_fn_error
77 "C compiler cannot create executables
3405 See \`config.log' for more details" "$LINENO" 5; }
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3408 $as_echo "yes" >&6; }
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3411 $as_echo_n "checking for C compiler default output file name... " >&6; }
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3413 $as_echo "$ac_file" >&6; }
3414 ac_exeext
=$ac_cv_exeext
3416 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3417 ac_clean_files
=$ac_clean_files_save
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3419 $as_echo_n "checking for suffix of executables... " >&6; }
3420 if { { ac_try
="$ac_link"
3422 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3423 *) ac_try_echo=$ac_try;;
3425 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3426 $as_echo "$ac_try_echo"; } >&5
3427 (eval "$ac_link") 2>&5
3429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3430 test $ac_status = 0; }; then :
3431 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3432 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3433 # work properly (i.e., refer to `conftest.exe'), while it won't with
3435 for ac_file
in conftest.exe conftest conftest.
*; do
3436 test -f "$ac_file" ||
continue
3438 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3439 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3445 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3446 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3447 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3448 See \`config.log' for more details" "$LINENO" 5; }
3450 rm -f conftest conftest
$ac_cv_exeext
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3452 $as_echo "$ac_cv_exeext" >&6; }
3454 rm -f conftest.
$ac_ext
3455 EXEEXT
=$ac_cv_exeext
3457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3458 /* end confdefs.h. */
3463 FILE *f = fopen ("conftest.out", "w");
3464 return ferror (f) || fclose (f) != 0;
3470 ac_clean_files
="$ac_clean_files conftest.out"
3471 # Check that the compiler produces executables we can run. If not, either
3472 # the compiler is broken, or we cross compile.
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3474 $as_echo_n "checking whether we are cross compiling... " >&6; }
3475 if test "$cross_compiling" != yes; then
3476 { { ac_try
="$ac_link"
3478 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3479 *) ac_try_echo=$ac_try;;
3481 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3482 $as_echo "$ac_try_echo"; } >&5
3483 (eval "$ac_link") 2>&5
3485 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3486 test $ac_status = 0; }
3487 if { ac_try='./conftest$ac_cv_exeext'
3488 { { case "(($ac_try" in
3489 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3490 *) ac_try_echo
=$ac_try;;
3492 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3493 $as_echo "$ac_try_echo"; } >&5
3494 (eval "$ac_try") 2>&5
3496 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3497 test $ac_status = 0; }; }; then
3500 if test "$cross_compiling" = maybe
; then
3503 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3504 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3505 as_fn_error $?
"cannot run C compiled programs.
3506 If you meant to cross compile, use \`--host'.
3507 See \`config.log' for more details" "$LINENO" 5; }
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3512 $as_echo "$cross_compiling" >&6; }
3514 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3515 ac_clean_files
=$ac_clean_files_save
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3517 $as_echo_n "checking for suffix of object files... " >&6; }
3518 if ${ac_cv_objext+:} false
; then :
3519 $as_echo_n "(cached) " >&6
3521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3522 /* end confdefs.h. */
3532 rm -f conftest.o conftest.obj
3533 if { { ac_try
="$ac_compile"
3535 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3536 *) ac_try_echo=$ac_try;;
3538 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3539 $as_echo "$ac_try_echo"; } >&5
3540 (eval "$ac_compile") 2>&5
3542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3543 test $ac_status = 0; }; then :
3544 for ac_file in conftest.o conftest.obj conftest.*; do
3545 test -f "$ac_file" || continue;
3547 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3548 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3553 $as_echo "$as_me: failed program was:" >&5
3554 sed 's/^/| /' conftest.$ac_ext >&5
3556 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3557 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3558 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3559 See \
`config.log' for more details" "$LINENO" 5; }
3561 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3564 $as_echo "$ac_cv_objext" >&6; }
3565 OBJEXT=$ac_cv_objext
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3568 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3569 if ${ac_cv_c_compiler_gnu+:} false; then :
3570 $as_echo_n "(cached) " >&6
3572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3573 /* end confdefs.h. */
3586 if ac_fn_c_try_compile "$LINENO"; then :
3591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3592 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3596 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3597 if test $ac_compiler_gnu = yes; then
3602 ac_test_CFLAGS=${CFLAGS+set}
3603 ac_save_CFLAGS=$CFLAGS
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3605 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3606 if ${ac_cv_prog_cc_g+:} false; then :
3607 $as_echo_n "(cached) " >&6
3609 ac_save_c_werror_flag=$ac_c_werror_flag
3610 ac_c_werror_flag=yes
3613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3614 /* end confdefs.h. */
3624 if ac_fn_c_try_compile "$LINENO"; then :
3628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3629 /* end confdefs.h. */
3639 if ac_fn_c_try_compile "$LINENO"; then :
3642 ac_c_werror_flag=$ac_save_c_werror_flag
3644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3645 /* end confdefs.h. */
3655 if ac_fn_c_try_compile "$LINENO"; then :
3658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3663 ac_c_werror_flag=$ac_save_c_werror_flag
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3666 $as_echo "$ac_cv_prog_cc_g" >&6; }
3667 if test "$ac_test_CFLAGS" = set; then
3668 CFLAGS=$ac_save_CFLAGS
3669 elif test $ac_cv_prog_cc_g = yes; then
3670 if test "$GCC" = yes; then
3676 if test "$GCC" = yes; then
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3683 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3684 if ${ac_cv_prog_cc_c89+:} false; then :
3685 $as_echo_n "(cached) " >&6
3687 ac_cv_prog_cc_c89=no
3689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3690 /* end confdefs.h. */
3694 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3695 struct buf { int x; };
3696 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3697 static char *e (p, i)
3703 static char *f (char * (*g) (char **, int), char **p, ...)
3708 s = g (p, va_arg (v,int));
3713 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3714 function prototypes and stuff, but not '\xHH' hex character constants.
3715 These don't provoke an error unfortunately, instead are silently treated
3716 as 'x'. The following induces an error, until -std is added to get
3717 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3718 array size at least. It's necessary to write '\x00'==0 to get something
3719 that's true only with -std. */
3720 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3722 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3723 inside strings and character constants. */
3725 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3727 int test (int i, double x);
3728 struct s1 {int (*f) (int a);};
3729 struct s2 {int (*f) (double a);};
3730 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3736 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3741 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3742 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3744 CC="$ac_save_CC $ac_arg"
3745 if ac_fn_c_try_compile "$LINENO"; then :
3746 ac_cv_prog_cc_c89=$ac_arg
3748 rm -f core conftest.err conftest.$ac_objext
3749 test "x$ac_cv_prog_cc_c89" != "xno" && break
3751 rm -f conftest.$ac_ext
3756 case "x$ac_cv_prog_cc_c89" in
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3759 $as_echo "none needed" >&6; } ;;
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3762 $as_echo "unsupported" >&6; } ;;
3764 CC="$CC $ac_cv_prog_cc_c89"
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3766 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3768 if test "x$ac_cv_prog_cc_c89" != xno; then :
3773 ac_cpp='$CPP $CPPFLAGS'
3774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3779 ac_cpp='$CPP $CPPFLAGS'
3780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3784 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3785 if ${am_cv_prog_cc_c_o+:} false; then :
3786 $as_echo_n "(cached) " >&6
3788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3789 /* end confdefs.h. */
3799 # Make sure it works both with $CC and with simple cc.
3800 # Following AC_PROG_CC_C_O, we do the test twice because some
3801 # compilers refuse to overwrite an existing .o file with -o,
3802 # though they will create one.
3803 am_cv_prog_cc_c_o=yes
3805 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3806 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3809 (exit $ac_status); } \
3810 && test -f conftest2.$ac_objext; then
3813 am_cv_prog_cc_c_o=no
3817 rm -f core conftest*
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3821 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3822 if test "$am_cv_prog_cc_c_o" != yes; then
3823 # Losing compiler, so override with the script.
3824 # FIXME: It is wrong to rewrite CC.
3825 # But if we don't then we get into trouble of one sort or another.
3826 # A longer-term fix would be to have automake use am__CC in this case,
3827 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3828 CC="$am_aux_dir/compile $CC"
3831 ac_cpp='$CPP $CPPFLAGS'
3832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3837 depcc="$CC" am_compiler_list=
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3840 $as_echo_n "checking dependency style of $depcc... " >&6; }
3841 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3842 $as_echo_n "(cached) " >&6
3844 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3845 # We make a subdir and do the tests there. Otherwise we can end up
3846 # making bogus files that we don't know about and never remove. For
3847 # instance it was reported that on HP-UX the gcc test will end up
3848 # making a dummy file named 'D' -- because '-MD' means "put the output
3852 # Copy depcomp to subdir because otherwise we won't find it if we're
3853 # using a relative directory.
3854 cp "$am_depcomp" conftest.dir
3856 # We will build objects and dependencies in a subdirectory because
3857 # it helps to detect inapplicable dependency modes. For instance
3858 # both Tru64's cc and ICC support -MD to output dependencies as a
3859 # side effect of compilation, but ICC will put the dependencies in
3860 # the current directory while Tru64 will put them in the object
3864 am_cv_CC_dependencies_compiler_type=none
3865 if test "$am_compiler_list" = ""; then
3866 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3869 case " $depcc " in #(
3870 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3873 for depmode in $am_compiler_list; do
3874 # Setup a source with many dependencies, because some compilers
3875 # like to wrap large dependency lists on column 80 (with \), and
3876 # we should not choose a depcomp mode which is confused by this.
3878 # We need to recreate these files for each test, as the compiler may
3879 # overwrite some of them when testing with obscure command lines.
3880 # This happens at least with the AIX C compiler.
3882 for i in 1 2 3 4 5 6; do
3883 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3884 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3885 # Solaris 10 /bin/sh.
3886 echo '/* dummy */' > sub/conftst$i.h
3888 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3890 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3891 # mode. It turns out that the SunPro C++ compiler does not properly
3892 # handle '-M -o', and we need to detect this. Also, some Intel
3893 # versions had trouble with output in subdirs.
3894 am__obj=sub/conftest.${OBJEXT-o}
3895 am__minus_obj="-o $am__obj"
3898 # This depmode causes a compiler race in universal mode.
3899 test "$am__universal" = false || continue
3902 # After this tag, mechanisms are not by side-effect, so they'll
3903 # only be used when explicitly requested.
3904 if test "x$enable_dependency_tracking" = xyes; then
3910 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3911 # This compiler won't grok '-c -o', but also, the minuso test has
3912 # not run yet. These depmodes are late enough in the game, and
3913 # so weak that their functioning should not be impacted.
3914 am__obj=conftest.${OBJEXT-o}
3919 if depmode=$depmode \
3920 source=sub/conftest.c object=$am__obj \
3921 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3922 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3923 >/dev/null 2>conftest.err &&
3924 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3925 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3926 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3927 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3928 # icc doesn't choke on unknown options, it will just issue warnings
3929 # or remarks (even with -Werror). So we grep stderr for any message
3930 # that says an option was ignored or not supported.
3931 # When given -MP, icc 7.0 and 7.1 complain thusly:
3932 # icc: Command line warning: ignoring option '-M'; no argument required
3933 # The diagnosis changed in icc 8.0:
3934 # icc: Command line remark: option '-MP' not supported
3935 if (grep 'ignoring option' conftest.err ||
3936 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3937 am_cv_CC_dependencies_compiler_type=$depmode
3946 am_cv_CC_dependencies_compiler_type=none
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3951 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3952 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3955 test "x$enable_dependency_tracking" != xno \
3956 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3958 am__fastdepCC_FALSE='#'
3960 am__fastdepCC_TRUE='#'
3961 am__fastdepCC_FALSE=
3966 # Check whether --enable-compiler-warnings was given.
3967 if test "${enable_compiler_warnings+set}" = set; then :
3968 enableval=$enable_compiler_warnings;
3970 case $enable_compiler_warnings in #(
3971 no | min | yes | max | all) :
3974 if test "x$enable_maintainer_mode" = xyes; then :
3975 enable_compiler_warnings=yes
3977 enable_compiler_warnings=min
3982 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3983 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3984 # is not polluted with repeated "-I."
3985 am__isrc=' -I$(srcdir)'
3986 # test to see if srcdir already configured
3987 if test -f $srcdir/config.status; then
3988 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3992 # test whether we have cygpath
3993 if test -z "$CYGPATH_W"; then
3994 if (cygpath --version) >/dev/null 2>/dev/null; then
3995 CYGPATH_W='cygpath -w'
4002 # Define the identity of the package.
4003 PACKAGE='zziplib--tex-live-'
4007 cat >>confdefs.h <<_ACEOF
4008 #define PACKAGE "$PACKAGE"
4012 cat >>confdefs.h <<_ACEOF
4013 #define VERSION "$VERSION"
4016 # Some tools Automake needs.
4018 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4021 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4024 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4027 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4030 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4032 # For better backward compatibility. To be removed once Automake 1.9.x
4033 # dies out for good. For more background, see:
4034 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4035 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4036 mkdir_p='$(MKDIR_P)'
4038 # We need awk for the "check" target (and possibly the TAP driver). The
4039 # system "awk" is bad on some platforms.
4040 # Always define AMTAR for backward compatibility. Yes, it's still used
4041 # in the wild :-( We should find a proper way to deprecate it ...
4045 # We'll loop over all known methods to create a tar archive until one works.
4046 _am_tools='gnutar pax cpio none'
4048 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
4055 # POSIX will say in a future version that running "rm -f" with no argument
4056 # is OK; and we want to be able to make that assumption in our Makefile
4057 # recipes. So use an aggressive probe to check that the usage we want is
4058 # actually supported "in the wild" to an acceptable degree.
4059 # See automake bug#10828.
4060 # To make any issue more visible, cause the running configure to be aborted
4061 # by default if the 'rm' program in use doesn't match our expectations; the
4062 # user can still override this though.
4063 if rm -f && rm -fr && rm -rf; then : OK; else
4067 Your 'rm' program seems unable to run without file operands specified
4068 on the command line, even when the '-f' option is present. This is contrary
4069 to the behaviour of most rm programs out there, and not conforming with
4070 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4072 Please tell bug-automake@gnu.org about your system, including the value
4073 of your $PATH and any error possibly output before this message. This
4074 can help us improve future automake versions.
4077 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
4078 echo 'Configuration will proceed anyway, since you have set the' >&2
4079 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4083 Aborting the configuration process, to ensure you take notice of the issue.
4085 You can download and install GNU coreutils to get an 'rm' implementation
4086 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4088 If you want to complete the configuration process using your problematic
4089 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4090 to "yes", and re-run configure.
4093 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4099 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4100 # Check whether --enable-maintainer-mode was given.
4101 if test "${enable_maintainer_mode+set}" = set; then :
4102 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4104 USE_MAINTAINER_MODE=no
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4108 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4109 if test $USE_MAINTAINER_MODE = yes; then
4110 MAINTAINER_MODE_TRUE=
4111 MAINTAINER_MODE_FALSE='#'
4113 MAINTAINER_MODE_TRUE='#'
4114 MAINTAINER_MODE_FALSE=
4117 MAINT=$MAINTAINER_MODE_TRUE
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5
4121 $as_echo_n "checking whether the compiler accepts prototypes... " >&6; }
4122 if ${kb_cv_c_prototypes+:} false; then :
4123 $as_echo_n "(cached) " >&6
4125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4126 /* end confdefs.h. */
4131 extern void foo(int i,...);
4136 if ac_fn_c_try_link "$LINENO"; then :
4137 kb_cv_c_prototypes=yes
4139 kb_cv_c_prototypes=no
4141 rm -f core conftest.err conftest.$ac_objext \
4142 conftest$ac_exeext conftest.$ac_ext
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5
4145 $as_echo "$kb_cv_c_prototypes" >&6; }
4146 if test "x$kb_cv_c_prototypes" = xno; then
4147 as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
4150 $as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
4151 if ${kpse_cv_warning_cflags+:} false; then :
4152 $as_echo_n "(cached) " >&6
4154 if test "x$GCC" = xyes; then
4155 kpse_cv_warning_cflags=
4156 if test "x$enable_compiler_warnings" != xno; then
4157 kpse_cv_warning_cflags="-Wimplicit -Wreturn-type"
4158 case `$CC -dumpversion` in #(
4159 3.4.* | 4.* | 5.*) :
4160 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #(
4164 case `$CC -dumpversion` in #(
4165 3.[234].* | 4.* | 5.*) :
4166 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #(
4170 if test "x$enable_compiler_warnings" != xmin; then
4171 kpse_cv_warning_cflags="-Wall -Wunused $kpse_cv_warning_cflags"
4172 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
4173 if test "x$enable_compiler_warnings" != xyes; then
4174 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
4175 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings"
4176 case `$CC -dumpversion` in #(
4177 3.4.* | 4.* | 5.*) :
4178 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;; #(
4182 if test "x$enable_compiler_warnings" != xmax; then
4183 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wshadow"
4188 elif test "x$enable_compiler_warnings" = xno; then
4189 kpse_cv_warning_cflags=
4191 kpse_cv_warning_cflags= # FIXME: warning flags for non-GNU C compilers
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5
4195 $as_echo "$kpse_cv_warning_cflags" >&6; }
4196 WARNING_CFLAGS=$kpse_cv_warning_cflags
4205 # Make sure we can run config.sub.
4206 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4207 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4210 $as_echo_n "checking build system type... " >&6; }
4211 if ${ac_cv_build+:} false; then :
4212 $as_echo_n "(cached) " >&6
4214 ac_build_alias=$build_alias
4215 test "x$ac_build_alias" = x &&
4216 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4217 test "x$ac_build_alias" = x &&
4218 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4219 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4220 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4224 $as_echo "$ac_cv_build" >&6; }
4225 case $ac_cv_build in
4227 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4230 ac_save_IFS=$IFS; IFS='-'
4236 # Remember, the first character of IFS is used to create $*,
4237 # except with old shells:
4240 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4244 $as_echo_n "checking host system type... " >&6; }
4245 if ${ac_cv_host+:} false; then :
4246 $as_echo_n "(cached) " >&6
4248 if test "x$host_alias" = x; then
4249 ac_cv_host=$ac_cv_build
4251 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4252 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4257 $as_echo "$ac_cv_host" >&6; }
4260 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4263 ac_save_IFS=$IFS; IFS='-'
4269 # Remember, the first character of IFS is used to create $*,
4270 # except with old shells:
4273 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
4277 # Checks for programs.
4279 ac_cpp='$CPP $CPPFLAGS'
4280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4283 if test -n "$ac_tool_prefix"; then
4284 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4285 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4287 $as_echo_n "checking for $ac_word... " >&6; }
4288 if ${ac_cv_prog_CC+:} false; then :
4289 $as_echo_n "(cached) " >&6
4291 if test -n "$CC"; then
4292 ac_cv_prog_CC="$CC" # Let the user override the test.
4294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4298 test -z "$as_dir" && as_dir=.
4299 for ac_exec_ext in '' $ac_executable_extensions; do
4300 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4301 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4312 if test -n "$CC"; then
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4314 $as_echo "$CC" >&6; }
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4317 $as_echo "no" >&6; }
4322 if test -z "$ac_cv_prog_CC"; then
4324 # Extract the first word of "gcc", so it can be a program name with args.
4325 set dummy gcc; ac_word=$2
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4327 $as_echo_n "checking for $ac_word... " >&6; }
4328 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4329 $as_echo_n "(cached) " >&6
4331 if test -n "$ac_ct_CC"; then
4332 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4338 test -z "$as_dir" && as_dir=.
4339 for ac_exec_ext in '' $ac_executable_extensions; do
4340 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4341 ac_cv_prog_ac_ct_CC="gcc"
4342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4351 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4352 if test -n "$ac_ct_CC"; then
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4354 $as_echo "$ac_ct_CC" >&6; }
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4357 $as_echo "no" >&6; }
4360 if test "x$ac_ct_CC" = x; then
4363 case $cross_compiling:$ac_tool_warned in
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4366 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4367 ac_tool_warned=yes ;;
4375 if test -z "$CC"; then
4376 if test -n "$ac_tool_prefix"; then
4377 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4378 set dummy ${ac_tool_prefix}cc; ac_word=$2
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4380 $as_echo_n "checking for $ac_word... " >&6; }
4381 if ${ac_cv_prog_CC+:} false; then :
4382 $as_echo_n "(cached) " >&6
4384 if test -n "$CC"; then
4385 ac_cv_prog_CC="$CC" # Let the user override the test.
4387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4391 test -z "$as_dir" && as_dir=.
4392 for ac_exec_ext in '' $ac_executable_extensions; do
4393 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4394 ac_cv_prog_CC="${ac_tool_prefix}cc"
4395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4405 if test -n "$CC"; then
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4407 $as_echo "$CC" >&6; }
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4410 $as_echo "no" >&6; }
4416 if test -z "$CC"; then
4417 # Extract the first word of "cc", so it can be a program name with args.
4418 set dummy cc; ac_word=$2
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4420 $as_echo_n "checking for $ac_word... " >&6; }
4421 if ${ac_cv_prog_CC+:} false; then :
4422 $as_echo_n "(cached) " >&6
4424 if test -n "$CC"; then
4425 ac_cv_prog_CC="$CC" # Let the user override the test.
4428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4432 test -z "$as_dir" && as_dir=.
4433 for ac_exec_ext in '' $ac_executable_extensions; do
4434 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4435 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4436 ac_prog_rejected=yes
4440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4447 if test $ac_prog_rejected = yes; then
4448 # We found a bogon in the path, so make sure we never use it.
4449 set dummy $ac_cv_prog_CC
4451 if test $# != 0; then
4452 # We chose a different compiler from the bogus one.
4453 # However, it has the same basename, so the bogon will be chosen
4454 # first if we set CC to just the basename; use the full file name.
4456 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4462 if test -n "$CC"; then
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4464 $as_echo "$CC" >&6; }
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4467 $as_echo "no" >&6; }
4472 if test -z "$CC"; then
4473 if test -n "$ac_tool_prefix"; then
4474 for ac_prog in cl.exe
4476 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4477 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4479 $as_echo_n "checking for $ac_word... " >&6; }
4480 if ${ac_cv_prog_CC+:} false; then :
4481 $as_echo_n "(cached) " >&6
4483 if test -n "$CC"; then
4484 ac_cv_prog_CC="$CC" # Let the user override the test.
4486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4490 test -z "$as_dir" && as_dir=.
4491 for ac_exec_ext in '' $ac_executable_extensions; do
4492 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4493 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4504 if test -n "$CC"; then
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4506 $as_echo "$CC" >&6; }
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4509 $as_echo "no" >&6; }
4513 test -n "$CC" && break
4516 if test -z "$CC"; then
4518 for ac_prog in cl.exe
4520 # Extract the first word of "$ac_prog", so it can be a program name with args.
4521 set dummy $ac_prog; ac_word=$2
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4523 $as_echo_n "checking for $ac_word... " >&6; }
4524 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4525 $as_echo_n "(cached) " >&6
4527 if test -n "$ac_ct_CC"; then
4528 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4534 test -z "$as_dir" && as_dir=.
4535 for ac_exec_ext in '' $ac_executable_extensions; do
4536 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4537 ac_cv_prog_ac_ct_CC="$ac_prog"
4538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4547 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4548 if test -n "$ac_ct_CC"; then
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4550 $as_echo "$ac_ct_CC" >&6; }
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4553 $as_echo "no" >&6; }
4557 test -n "$ac_ct_CC" && break
4560 if test "x$ac_ct_CC" = x; then
4563 case $cross_compiling:$ac_tool_warned in
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4566 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4567 ac_tool_warned=yes ;;
4576 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4577 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4578 as_fn_error $? "no acceptable C compiler found
in \
$PATH
4579 See \
`config.log' for more details" "$LINENO" 5; }
4581 # Provide some information about the compiler.
4582 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4585 for ac_option in --version -v -V -qversion; do
4586 { { ac_try="$ac_compiler $ac_option >&5"
4588 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4589 *) ac_try_echo
=$ac_try;;
4591 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4592 $as_echo "$ac_try_echo"; } >&5
4593 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4595 if test -s conftest.err
; then
4597 ... rest of stderr output deleted ...
4598 10q' conftest.err
>conftest.er1
4599 cat conftest.er1
>&5
4601 rm -f conftest.er1 conftest.err
4602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4603 test $ac_status = 0; }
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4607 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4608 if ${ac_cv_c_compiler_gnu+:} false
; then :
4609 $as_echo_n "(cached) " >&6
4611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4612 /* end confdefs.h. */
4625 if ac_fn_c_try_compile
"$LINENO"; then :
4630 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4631 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4635 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4636 if test $ac_compiler_gnu = yes; then
4641 ac_test_CFLAGS
=${CFLAGS+set}
4642 ac_save_CFLAGS
=$CFLAGS
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4644 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4645 if ${ac_cv_prog_cc_g+:} false
; then :
4646 $as_echo_n "(cached) " >&6
4648 ac_save_c_werror_flag
=$ac_c_werror_flag
4649 ac_c_werror_flag
=yes
4652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4653 /* end confdefs.h. */
4663 if ac_fn_c_try_compile
"$LINENO"; then :
4667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4668 /* end confdefs.h. */
4678 if ac_fn_c_try_compile
"$LINENO"; then :
4681 ac_c_werror_flag
=$ac_save_c_werror_flag
4683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4684 /* end confdefs.h. */
4694 if ac_fn_c_try_compile
"$LINENO"; then :
4697 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4699 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4701 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4702 ac_c_werror_flag
=$ac_save_c_werror_flag
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4705 $as_echo "$ac_cv_prog_cc_g" >&6; }
4706 if test "$ac_test_CFLAGS" = set; then
4707 CFLAGS
=$ac_save_CFLAGS
4708 elif test $ac_cv_prog_cc_g = yes; then
4709 if test "$GCC" = yes; then
4715 if test "$GCC" = yes; then
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4722 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4723 if ${ac_cv_prog_cc_c89+:} false
; then :
4724 $as_echo_n "(cached) " >&6
4726 ac_cv_prog_cc_c89
=no
4728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4729 /* end confdefs.h. */
4733 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4734 struct buf { int x; };
4735 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4736 static char *e (p, i)
4742 static char *f (char * (*g) (char **, int), char **p, ...)
4747 s = g (p, va_arg (v,int));
4752 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4753 function prototypes and stuff, but not '\xHH' hex character constants.
4754 These don't provoke an error unfortunately, instead are silently treated
4755 as 'x'. The following induces an error, until -std is added to get
4756 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4757 array size at least. It's necessary to write '\x00'==0 to get something
4758 that's true only with -std. */
4759 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4761 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4762 inside strings and character constants. */
4764 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4766 int test (int i, double x);
4767 struct s1 {int (*f) (int a);};
4768 struct s2 {int (*f) (double a);};
4769 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4775 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4780 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
4781 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4783 CC
="$ac_save_CC $ac_arg"
4784 if ac_fn_c_try_compile
"$LINENO"; then :
4785 ac_cv_prog_cc_c89
=$ac_arg
4787 rm -f core conftest.err conftest.
$ac_objext
4788 test "x$ac_cv_prog_cc_c89" != "xno" && break
4790 rm -f conftest.
$ac_ext
4795 case "x$ac_cv_prog_cc_c89" in
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4798 $as_echo "none needed" >&6; } ;;
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4801 $as_echo "unsupported" >&6; } ;;
4803 CC
="$CC $ac_cv_prog_cc_c89"
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4805 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4807 if test "x$ac_cv_prog_cc_c89" != xno
; then :
4812 ac_cpp
='$CPP $CPPFLAGS'
4813 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4814 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4815 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4818 ac_cpp
='$CPP $CPPFLAGS'
4819 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4820 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4821 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4823 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4824 if ${am_cv_prog_cc_c_o+:} false
; then :
4825 $as_echo_n "(cached) " >&6
4827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4828 /* end confdefs.h. */
4838 # Make sure it works both with $CC and with simple cc.
4839 # Following AC_PROG_CC_C_O, we do the test twice because some
4840 # compilers refuse to overwrite an existing .o file with -o,
4841 # though they will create one.
4842 am_cv_prog_cc_c_o
=yes
4844 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4845 ($CC -c conftest.
$ac_ext -o conftest2.
$ac_objext) >&5 2>&5
4847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4848 (exit $ac_status); } \
4849 && test -f conftest2.
$ac_objext; then
4852 am_cv_prog_cc_c_o
=no
4856 rm -f core conftest
*
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4860 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4861 if test "$am_cv_prog_cc_c_o" != yes; then
4862 # Losing compiler, so override with the script.
4863 # FIXME: It is wrong to rewrite CC.
4864 # But if we don't then we get into trouble of one sort or another.
4865 # A longer-term fix would be to have automake use am__CC in this case,
4866 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4867 CC
="$am_aux_dir/compile $CC"
4870 ac_cpp
='$CPP $CPPFLAGS'
4871 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4872 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4873 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4876 depcc
="$CC" am_compiler_list
=
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4879 $as_echo_n "checking dependency style of $depcc... " >&6; }
4880 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4881 $as_echo_n "(cached) " >&6
4883 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4884 # We make a subdir and do the tests there. Otherwise we can end up
4885 # making bogus files that we don't know about and never remove. For
4886 # instance it was reported that on HP-UX the gcc test will end up
4887 # making a dummy file named 'D' -- because '-MD' means "put the output
4891 # Copy depcomp to subdir because otherwise we won't find it if we're
4892 # using a relative directory.
4893 cp "$am_depcomp" conftest.dir
4895 # We will build objects and dependencies in a subdirectory because
4896 # it helps to detect inapplicable dependency modes. For instance
4897 # both Tru64's cc and ICC support -MD to output dependencies as a
4898 # side effect of compilation, but ICC will put the dependencies in
4899 # the current directory while Tru64 will put them in the object
4903 am_cv_CC_dependencies_compiler_type
=none
4904 if test "$am_compiler_list" = ""; then
4905 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4908 case " $depcc " in #(
4909 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4912 for depmode
in $am_compiler_list; do
4913 # Setup a source with many dependencies, because some compilers
4914 # like to wrap large dependency lists on column 80 (with \), and
4915 # we should not choose a depcomp mode which is confused by this.
4917 # We need to recreate these files for each test, as the compiler may
4918 # overwrite some of them when testing with obscure command lines.
4919 # This happens at least with the AIX C compiler.
4921 for i
in 1 2 3 4 5 6; do
4922 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4923 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4924 # Solaris 10 /bin/sh.
4925 echo '/* dummy */' > sub
/conftst
$i.h
4927 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4929 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4930 # mode. It turns out that the SunPro C++ compiler does not properly
4931 # handle '-M -o', and we need to detect this. Also, some Intel
4932 # versions had trouble with output in subdirs.
4933 am__obj
=sub
/conftest.
${OBJEXT-o}
4934 am__minus_obj
="-o $am__obj"
4937 # This depmode causes a compiler race in universal mode.
4938 test "$am__universal" = false ||
continue
4941 # After this tag, mechanisms are not by side-effect, so they'll
4942 # only be used when explicitly requested.
4943 if test "x$enable_dependency_tracking" = xyes
; then
4949 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4950 # This compiler won't grok '-c -o', but also, the minuso test has
4951 # not run yet. These depmodes are late enough in the game, and
4952 # so weak that their functioning should not be impacted.
4953 am__obj
=conftest.
${OBJEXT-o}
4958 if depmode
=$depmode \
4959 source=sub
/conftest.c object
=$am__obj \
4960 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4961 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4962 >/dev
/null
2>conftest.err
&&
4963 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4964 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4965 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4966 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4967 # icc doesn't choke on unknown options, it will just issue warnings
4968 # or remarks (even with -Werror). So we grep stderr for any message
4969 # that says an option was ignored or not supported.
4970 # When given -MP, icc 7.0 and 7.1 complain thusly:
4971 # icc: Command line warning: ignoring option '-M'; no argument required
4972 # The diagnosis changed in icc 8.0:
4973 # icc: Command line remark: option '-MP' not supported
4974 if (grep 'ignoring option' conftest.err ||
4975 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4976 am_cv_CC_dependencies_compiler_type
=$depmode
4985 am_cv_CC_dependencies_compiler_type
=none
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4990 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4991 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4994 test "x$enable_dependency_tracking" != xno \
4995 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4997 am__fastdepCC_FALSE
='#'
4999 am__fastdepCC_TRUE
='#'
5000 am__fastdepCC_FALSE
=
5004 if test -n "$ac_tool_prefix"; then
5005 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5006 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5008 $as_echo_n "checking for $ac_word... " >&6; }
5009 if ${ac_cv_prog_RANLIB+:} false
; then :
5010 $as_echo_n "(cached) " >&6
5012 if test -n "$RANLIB"; then
5013 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5015 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5019 test -z "$as_dir" && as_dir
=.
5020 for ac_exec_ext
in '' $ac_executable_extensions; do
5021 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5022 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5032 RANLIB
=$ac_cv_prog_RANLIB
5033 if test -n "$RANLIB"; then
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5035 $as_echo "$RANLIB" >&6; }
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5038 $as_echo "no" >&6; }
5043 if test -z "$ac_cv_prog_RANLIB"; then
5044 ac_ct_RANLIB
=$RANLIB
5045 # Extract the first word of "ranlib", so it can be a program name with args.
5046 set dummy ranlib
; ac_word
=$2
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5048 $as_echo_n "checking for $ac_word... " >&6; }
5049 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5050 $as_echo_n "(cached) " >&6
5052 if test -n "$ac_ct_RANLIB"; then
5053 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5059 test -z "$as_dir" && as_dir
=.
5060 for ac_exec_ext
in '' $ac_executable_extensions; do
5061 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5062 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5072 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5073 if test -n "$ac_ct_RANLIB"; then
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5075 $as_echo "$ac_ct_RANLIB" >&6; }
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5078 $as_echo "no" >&6; }
5081 if test "x$ac_ct_RANLIB" = x
; then
5084 case $cross_compiling:$ac_tool_warned in
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5087 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5088 ac_tool_warned
=yes ;;
5090 RANLIB
=$ac_ct_RANLIB
5093 RANLIB
="$ac_cv_prog_RANLIB"
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5097 $as_echo_n "checking whether ln -s works... " >&6; }
5099 if test "$LN_S" = "ln -s"; then
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5101 $as_echo "yes" >&6; }
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5104 $as_echo "no, using $LN_S" >&6; }
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for C to hide external symbols" >&5
5109 $as_echo_n "checking CFLAGS for C to hide external symbols... " >&6; }
5110 if ${kpse_cv_visibility_cflags+:} false
; then :
5111 $as_echo_n "(cached) " >&6
5114 ac_cpp
='$CPP $CPPFLAGS'
5115 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5116 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5117 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5119 kpse_cv_visibility_cflags
=unknown
5120 kpse_save_flags
=$CFLAGS
5121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5122 /* end confdefs.h. */
5124 extern void foo(void);
5125 void foo(void){printf("foo\n");}
5127 # FIXME: Add tests for non-GNU compilers
5128 for kpse_flag
in '-fvisibility=hidden -fvisibility-inlines-hidden' '-fvisibility=hidden'; do
5129 CFLAGS
="$kpse_save_flags -Werror $kpse_flag"
5130 if ac_fn_c_try_compile
"$LINENO"; then :
5131 kpse_cv_visibility_cflags
=$kpse_flag; break
5133 rm -f core conftest.err conftest.
$ac_objext
5136 ac_cpp
='$CPP $CPPFLAGS'
5137 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5138 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5139 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_visibility_cflags" >&5
5144 $as_echo "$kpse_cv_visibility_cflags" >&6; }
5145 CFLAGS
=$kpse_save_flags
5146 case $kpse_cv_visibility_cflags in #(
5150 VISIBILITY_CFLAGS
=$kpse_cv_visibility_cflags
5158 # Checks for header files.
5160 ac_cpp
='$CPP $CPPFLAGS'
5161 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5162 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5163 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5165 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5166 # On Suns, sometimes $CPP names a directory.
5167 if test -n "$CPP" && test -d "$CPP"; then
5170 if test -z "$CPP"; then
5171 if ${ac_cv_prog_CPP+:} false
; then :
5172 $as_echo_n "(cached) " >&6
5174 # Double quotes because CPP needs to be expanded
5175 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5178 for ac_c_preproc_warn_flag
in '' yes
5180 # Use a header file that comes with gcc, so configuring glibc
5181 # with a fresh cross-compiler works.
5182 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5183 # <limits.h> exists even on freestanding compilers.
5184 # On the NeXT, cc -E runs the code through the compiler's parser,
5185 # not just through cpp. "Syntax error" is here to catch this case.
5186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5187 /* end confdefs.h. */
5189 # include <limits.h>
5191 # include <assert.h>
5195 if ac_fn_c_try_cpp
"$LINENO"; then :
5198 # Broken: fails on valid input.
5201 rm -f conftest.err conftest.i conftest.
$ac_ext
5203 # OK, works on sane cases. Now check whether nonexistent headers
5204 # can be detected and how.
5205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5206 /* end confdefs.h. */
5207 #include <ac_nonexistent.h>
5209 if ac_fn_c_try_cpp
"$LINENO"; then :
5210 # Broken: success on invalid input.
5213 # Passes both tests.
5217 rm -f conftest.err conftest.i conftest.
$ac_ext
5220 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5221 rm -f conftest.i conftest.err conftest.
$ac_ext
5222 if $ac_preproc_ok; then :
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5235 $as_echo "$CPP" >&6; }
5237 for ac_c_preproc_warn_flag
in '' yes
5239 # Use a header file that comes with gcc, so configuring glibc
5240 # with a fresh cross-compiler works.
5241 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5242 # <limits.h> exists even on freestanding compilers.
5243 # On the NeXT, cc -E runs the code through the compiler's parser,
5244 # not just through cpp. "Syntax error" is here to catch this case.
5245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5246 /* end confdefs.h. */
5248 # include <limits.h>
5250 # include <assert.h>
5254 if ac_fn_c_try_cpp
"$LINENO"; then :
5257 # Broken: fails on valid input.
5260 rm -f conftest.err conftest.i conftest.
$ac_ext
5262 # OK, works on sane cases. Now check whether nonexistent headers
5263 # can be detected and how.
5264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5265 /* end confdefs.h. */
5266 #include <ac_nonexistent.h>
5268 if ac_fn_c_try_cpp
"$LINENO"; then :
5269 # Broken: success on invalid input.
5272 # Passes both tests.
5276 rm -f conftest.err conftest.i conftest.
$ac_ext
5279 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5280 rm -f conftest.i conftest.err conftest.
$ac_ext
5281 if $ac_preproc_ok; then :
5284 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5285 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5286 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5287 See \`config.log' for more details" "$LINENO" 5; }
5291 ac_cpp
='$CPP $CPPFLAGS'
5292 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5293 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5294 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5298 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5299 if ${ac_cv_path_GREP+:} false
; then :
5300 $as_echo_n "(cached) " >&6
5302 if test -z "$GREP"; then
5303 ac_path_GREP_found
=false
5304 # Loop through the user's path and test for each of PROGNAME-LIST
5305 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5306 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5309 test -z "$as_dir" && as_dir
=.
5310 for ac_prog
in grep ggrep
; do
5311 for ac_exec_ext
in '' $ac_executable_extensions; do
5312 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5313 as_fn_executable_p
"$ac_path_GREP" ||
continue
5314 # Check for GNU ac_path_GREP and select it if it is found.
5315 # Check for GNU $ac_path_GREP
5316 case `"$ac_path_GREP" --version 2>&1` in
5318 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5321 $as_echo_n 0123456789 >"conftest.in"
5324 cat "conftest.in" "conftest.in" >"conftest.tmp"
5325 mv "conftest.tmp" "conftest.in"
5326 cp "conftest.in" "conftest.nl"
5327 $as_echo 'GREP' >> "conftest.nl"
5328 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5329 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5330 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5331 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5332 # Best one so far, save it but keep looking for a better one
5333 ac_cv_path_GREP
="$ac_path_GREP"
5334 ac_path_GREP_max
=$ac_count
5336 # 10*(2^10) chars as input seems more than enough
5337 test $ac_count -gt 10 && break
5339 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5342 $ac_path_GREP_found && break 3
5347 if test -z "$ac_cv_path_GREP"; then
5348 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5351 ac_cv_path_GREP
=$GREP
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5356 $as_echo "$ac_cv_path_GREP" >&6; }
5357 GREP
="$ac_cv_path_GREP"
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5361 $as_echo_n "checking for egrep... " >&6; }
5362 if ${ac_cv_path_EGREP+:} false
; then :
5363 $as_echo_n "(cached) " >&6
5365 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5366 then ac_cv_path_EGREP
="$GREP -E"
5368 if test -z "$EGREP"; then
5369 ac_path_EGREP_found
=false
5370 # Loop through the user's path and test for each of PROGNAME-LIST
5371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5372 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5375 test -z "$as_dir" && as_dir
=.
5376 for ac_prog
in egrep; do
5377 for ac_exec_ext
in '' $ac_executable_extensions; do
5378 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5379 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5380 # Check for GNU ac_path_EGREP and select it if it is found.
5381 # Check for GNU $ac_path_EGREP
5382 case `"$ac_path_EGREP" --version 2>&1` in
5384 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5387 $as_echo_n 0123456789 >"conftest.in"
5390 cat "conftest.in" "conftest.in" >"conftest.tmp"
5391 mv "conftest.tmp" "conftest.in"
5392 cp "conftest.in" "conftest.nl"
5393 $as_echo 'EGREP' >> "conftest.nl"
5394 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5395 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5396 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5397 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5398 # Best one so far, save it but keep looking for a better one
5399 ac_cv_path_EGREP
="$ac_path_EGREP"
5400 ac_path_EGREP_max
=$ac_count
5402 # 10*(2^10) chars as input seems more than enough
5403 test $ac_count -gt 10 && break
5405 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5408 $ac_path_EGREP_found && break 3
5413 if test -z "$ac_cv_path_EGREP"; then
5414 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5417 ac_cv_path_EGREP
=$EGREP
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5423 $as_echo "$ac_cv_path_EGREP" >&6; }
5424 EGREP
="$ac_cv_path_EGREP"
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5428 $as_echo_n "checking for ANSI C header files... " >&6; }
5429 if ${ac_cv_header_stdc+:} false
; then :
5430 $as_echo_n "(cached) " >&6
5432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5433 /* end confdefs.h. */
5447 if ac_fn_c_try_compile
"$LINENO"; then :
5448 ac_cv_header_stdc
=yes
5450 ac_cv_header_stdc
=no
5452 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5454 if test $ac_cv_header_stdc = yes; then
5455 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5456 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5457 /* end confdefs.h. */
5461 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5462 $EGREP "memchr" >/dev
/null
2>&1; then :
5465 ac_cv_header_stdc
=no
5471 if test $ac_cv_header_stdc = yes; then
5472 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5474 /* end confdefs.h. */
5478 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5479 $EGREP "free" >/dev
/null
2>&1; then :
5482 ac_cv_header_stdc
=no
5488 if test $ac_cv_header_stdc = yes; then
5489 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5490 if test "$cross_compiling" = yes; then :
5493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5494 /* end confdefs.h. */
5497 #if ((' ' & 0x0FF) == 0x020)
5498 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5499 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5501 # define ISLOWER(c) \
5502 (('a' <= (c) && (c) <= 'i') \
5503 || ('j' <= (c) && (c) <= 'r') \
5504 || ('s' <= (c) && (c) <= 'z'))
5505 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5508 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5513 for (i = 0; i < 256; i++)
5514 if (XOR (islower (i), ISLOWER (i))
5515 || toupper (i) != TOUPPER (i))
5520 if ac_fn_c_try_run
"$LINENO"; then :
5523 ac_cv_header_stdc
=no
5525 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5526 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5532 $as_echo "$ac_cv_header_stdc" >&6; }
5533 if test $ac_cv_header_stdc = yes; then
5535 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5540 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
5541 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
5543 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
5544 if eval \
${$as_ac_Header+:} false
; then :
5545 $as_echo_n "(cached) " >&6
5547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5548 /* end confdefs.h. */
5549 #include <sys/types.h>
5561 if ac_fn_c_try_compile
"$LINENO"; then :
5562 eval "$as_ac_Header=yes"
5564 eval "$as_ac_Header=no"
5566 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5568 eval ac_res
=\$
$as_ac_Header
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5570 $as_echo "$ac_res" >&6; }
5571 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5572 cat >>confdefs.h
<<_ACEOF
5573 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5576 ac_header_dirent
=$ac_hdr; break
5580 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5581 if test $ac_header_dirent = dirent.h
; then
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5583 $as_echo_n "checking for library containing opendir... " >&6; }
5584 if ${ac_cv_search_opendir+:} false
; then :
5585 $as_echo_n "(cached) " >&6
5587 ac_func_search_save_LIBS
=$LIBS
5588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5589 /* end confdefs.h. */
5591 /* Override any GCC internal prototype to avoid an error.
5592 Use char because int might match the return type of a GCC
5593 builtin and then its argument prototype would still apply. */
5606 for ac_lib
in '' dir
; do
5607 if test -z "$ac_lib"; then
5608 ac_res
="none required"
5611 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5613 if ac_fn_c_try_link
"$LINENO"; then :
5614 ac_cv_search_opendir
=$ac_res
5616 rm -f core conftest.err conftest.
$ac_objext \
5618 if ${ac_cv_search_opendir+:} false
; then :
5622 if ${ac_cv_search_opendir+:} false
; then :
5625 ac_cv_search_opendir
=no
5628 LIBS
=$ac_func_search_save_LIBS
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5631 $as_echo "$ac_cv_search_opendir" >&6; }
5632 ac_res
=$ac_cv_search_opendir
5633 if test "$ac_res" != no
; then :
5634 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5640 $as_echo_n "checking for library containing opendir... " >&6; }
5641 if ${ac_cv_search_opendir+:} false
; then :
5642 $as_echo_n "(cached) " >&6
5644 ac_func_search_save_LIBS
=$LIBS
5645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5646 /* end confdefs.h. */
5648 /* Override any GCC internal prototype to avoid an error.
5649 Use char because int might match the return type of a GCC
5650 builtin and then its argument prototype would still apply. */
5663 for ac_lib
in '' x
; do
5664 if test -z "$ac_lib"; then
5665 ac_res
="none required"
5668 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5670 if ac_fn_c_try_link
"$LINENO"; then :
5671 ac_cv_search_opendir
=$ac_res
5673 rm -f core conftest.err conftest.
$ac_objext \
5675 if ${ac_cv_search_opendir+:} false
; then :
5679 if ${ac_cv_search_opendir+:} false
; then :
5682 ac_cv_search_opendir
=no
5685 LIBS
=$ac_func_search_save_LIBS
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5688 $as_echo "$ac_cv_search_opendir" >&6; }
5689 ac_res
=$ac_cv_search_opendir
5690 if test "$ac_res" != no
; then :
5691 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5697 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5698 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5699 inttypes.h stdint.h unistd.h
5701 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5702 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5704 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5705 cat >>confdefs.h
<<_ACEOF
5706 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5714 for ac_header
in stdint.h unistd.h windows.h sys
/int_types.h
5716 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5717 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5718 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5719 cat >>confdefs.h
<<_ACEOF
5720 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5727 for ac_header
in winnt.h winbase.h
5729 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5730 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <windows.h>
5732 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5733 cat >>confdefs.h
<<_ACEOF
5734 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5741 for ac_header
in sys
/types.h sys
/mman.h sys
/stat.h sys
/param.h
5743 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5744 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5745 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5746 cat >>confdefs.h
<<_ACEOF
5747 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5753 for ac_header
in io.h direct.h byteswap.h
5755 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5756 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5757 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5758 cat >>confdefs.h
<<_ACEOF
5759 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5766 for ac_header
in fnmatch.h
5768 ac_fn_c_check_header_mongrel
"$LINENO" "fnmatch.h" "ac_cv_header_fnmatch_h" "$ac_includes_default"
5769 if test "x$ac_cv_header_fnmatch_h" = xyes
; then :
5770 cat >>confdefs.h
<<_ACEOF
5771 #define HAVE_FNMATCH_H 1
5779 # ---------------------------------------------------------------
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether can use mmap for file scanning" >&5
5781 $as_echo_n "checking whether can use mmap for file scanning... " >&6; }
5782 enable_mmap
='no (just a bit slower)'
5783 test "x$ac_cv_header_winbase_h" = xyes
&& enable_mmap
="yes, winbase.h"
5784 test "x$ac_cv_header_sys_mman_h" = xyes
&& enable_mmap
="yes, sys/mman.h"
5785 case $enable_mmap in #(
5787 ZZIPLIB_DEFINES
='-D_USE_MMAP' ;; #(
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_mmap" >&5
5792 $as_echo "$enable_mmap" >&6; }
5795 # Check whether --enable-largefile was given.
5796 if test "${enable_largefile+set}" = set; then :
5797 enableval
=$enable_largefile;
5800 if test "$enable_largefile" != no
; then
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5803 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5804 if ${ac_cv_sys_largefile_CC+:} false
; then :
5805 $as_echo_n "(cached) " >&6
5807 ac_cv_sys_largefile_CC
=no
5808 if test "$GCC" != yes; then
5811 # IRIX 6.2 and later do not support large files by default,
5812 # so use the C compiler's -n32 option if that helps.
5813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5814 /* end confdefs.h. */
5815 #include <sys/types.h>
5816 /* Check that off_t can represent 2**63 - 1 correctly.
5817 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5818 since some C++ compilers masquerading as C compilers
5819 incorrectly reject 9223372036854775807. */
5820 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5821 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5822 && LARGE_OFF_T % 2147483647 == 1)
5832 if ac_fn_c_try_compile
"$LINENO"; then :
5835 rm -f core conftest.err conftest.
$ac_objext
5837 if ac_fn_c_try_compile
"$LINENO"; then :
5838 ac_cv_sys_largefile_CC
=' -n32'; break
5840 rm -f core conftest.err conftest.
$ac_objext
5844 rm -f conftest.
$ac_ext
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5848 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5849 if test "$ac_cv_sys_largefile_CC" != no
; then
5850 CC
=$CC$ac_cv_sys_largefile_CC
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5854 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5855 if ${ac_cv_sys_file_offset_bits+:} false
; then :
5856 $as_echo_n "(cached) " >&6
5859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5860 /* end confdefs.h. */
5861 #include <sys/types.h>
5862 /* Check that off_t can represent 2**63 - 1 correctly.
5863 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5864 since some C++ compilers masquerading as C compilers
5865 incorrectly reject 9223372036854775807. */
5866 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5867 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5868 && LARGE_OFF_T % 2147483647 == 1)
5878 if ac_fn_c_try_compile
"$LINENO"; then :
5879 ac_cv_sys_file_offset_bits
=no
; break
5881 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5883 /* end confdefs.h. */
5884 #define _FILE_OFFSET_BITS 64
5885 #include <sys/types.h>
5886 /* Check that off_t can represent 2**63 - 1 correctly.
5887 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5888 since some C++ compilers masquerading as C compilers
5889 incorrectly reject 9223372036854775807. */
5890 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5891 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5892 && LARGE_OFF_T % 2147483647 == 1)
5902 if ac_fn_c_try_compile
"$LINENO"; then :
5903 ac_cv_sys_file_offset_bits
=64; break
5905 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5906 ac_cv_sys_file_offset_bits
=unknown
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5911 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5912 case $ac_cv_sys_file_offset_bits in #(
5915 cat >>confdefs.h
<<_ACEOF
5916 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5921 if test $ac_cv_sys_file_offset_bits = unknown
; then
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5923 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5924 if ${ac_cv_sys_large_files+:} false
; then :
5925 $as_echo_n "(cached) " >&6
5928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5929 /* end confdefs.h. */
5930 #include <sys/types.h>
5931 /* Check that off_t can represent 2**63 - 1 correctly.
5932 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5933 since some C++ compilers masquerading as C compilers
5934 incorrectly reject 9223372036854775807. */
5935 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5936 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5937 && LARGE_OFF_T % 2147483647 == 1)
5947 if ac_fn_c_try_compile
"$LINENO"; then :
5948 ac_cv_sys_large_files
=no
; break
5950 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5952 /* end confdefs.h. */
5953 #define _LARGE_FILES 1
5954 #include <sys/types.h>
5955 /* Check that off_t can represent 2**63 - 1 correctly.
5956 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5957 since some C++ compilers masquerading as C compilers
5958 incorrectly reject 9223372036854775807. */
5959 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5960 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5961 && LARGE_OFF_T % 2147483647 == 1)
5971 if ac_fn_c_try_compile
"$LINENO"; then :
5972 ac_cv_sys_large_files
=1; break
5974 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5975 ac_cv_sys_large_files
=unknown
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5980 $as_echo "$ac_cv_sys_large_files" >&6; }
5981 case $ac_cv_sys_large_files in #(
5984 cat >>confdefs.h
<<_ACEOF
5985 #define _LARGE_FILES $ac_cv_sys_large_files
5995 # we know about some internals of ac_sys_largefile here...
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system differentiates 64bit off_t by defines" >&5
5997 $as_echo_n "checking whether system differentiates 64bit off_t by defines... " >&6; }
5998 ac_cv_sys_largefile_sensitive
="no"
5999 if test ".${ac_cv_sys_file_offset_bits-no}${ac_cv_sys_large_files-no}" != ".nono"
6000 then ac_cv_sys_largefile_sensitive
="yes"
6002 $as_echo "#define LARGEFILE_SENSITIVE 1" >>confdefs.h
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_sensitive" >&5
6006 $as_echo "$ac_cv_sys_largefile_sensitive" >&6; }
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
6009 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
6010 if ${ac_cv_sys_largefile_source+:} false
; then :
6011 $as_echo_n "(cached) " >&6
6014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6015 /* end confdefs.h. */
6016 #include <sys/types.h> /* for off_t */
6021 int (*fp) (FILE *, off_t, int) = fseeko;
6022 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
6027 if ac_fn_c_try_link
"$LINENO"; then :
6028 ac_cv_sys_largefile_source
=no
; break
6030 rm -f core conftest.err conftest.
$ac_objext \
6031 conftest
$ac_exeext conftest.
$ac_ext
6032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6033 /* end confdefs.h. */
6034 #define _LARGEFILE_SOURCE 1
6035 #include <sys/types.h> /* for off_t */
6040 int (*fp) (FILE *, off_t, int) = fseeko;
6041 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
6046 if ac_fn_c_try_link
"$LINENO"; then :
6047 ac_cv_sys_largefile_source
=1; break
6049 rm -f core conftest.err conftest.
$ac_objext \
6050 conftest
$ac_exeext conftest.
$ac_ext
6051 ac_cv_sys_largefile_source
=unknown
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
6056 $as_echo "$ac_cv_sys_largefile_source" >&6; }
6057 case $ac_cv_sys_largefile_source in #(
6060 cat >>confdefs.h
<<_ACEOF
6061 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
6067 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
6068 # in glibc 2.1.3, but that breaks too many other things.
6069 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
6070 if test $ac_cv_sys_largefile_source != unknown
; then
6072 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
6077 # Checks for typedefs, structures, and compiler characteristics.
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
6079 $as_echo_n "checking for inline... " >&6; }
6080 if ${ac_cv_c_inline+:} false
; then :
6081 $as_echo_n "(cached) " >&6
6084 for ac_kw
in inline __inline__ __inline
; do
6085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6086 /* end confdefs.h. */
6089 static $ac_kw foo_t static_foo () {return 0; }
6090 $ac_kw foo_t foo () {return 0; }
6094 if ac_fn_c_try_compile
"$LINENO"; then :
6095 ac_cv_c_inline
=$ac_kw
6097 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6098 test "$ac_cv_c_inline" != no
&& break
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
6103 $as_echo "$ac_cv_c_inline" >&6; }
6105 case $ac_cv_c_inline in
6108 case $ac_cv_c_inline in
6110 *) ac_val
=$ac_cv_c_inline;;
6112 cat >>confdefs.h
<<_ACEOF
6114 #define inline $ac_val
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
6121 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
6122 if ${ac_cv_c_const+:} false
; then :
6123 $as_echo_n "(cached) " >&6
6125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6126 /* end confdefs.h. */
6133 /* Ultrix mips cc rejects this sort of thing. */
6134 typedef int charset[2];
6135 const charset cs = { 0, 0 };
6136 /* SunOS 4.1.1 cc rejects this. */
6137 char const *const *pcpcc;
6139 /* NEC SVR4.0.2 mips cc rejects this. */
6140 struct point {int x, y;};
6141 static struct point const zero = {0,0};
6142 /* AIX XL C 1.02.0.0 rejects this.
6143 It does not let you subtract one const X* pointer from another in
6144 an arm of an if-expression whose if-part is not a constant
6146 const char *g = "string";
6147 pcpcc = &g + (g ? g-g : 0);
6148 /* HPUX 7.0 cc rejects these. */
6150 ppc = (char**) pcpcc;
6151 pcpcc = (char const *const *) ppc;
6152 { /* SCO 3.2v4 cc rejects this sort of thing. */
6155 char const *s = 0 ? (char *) 0 : (char const *) 0;
6160 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
6162 const int *foo = &x[0];
6165 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6166 typedef const int *iptr;
6170 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
6171 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
6172 struct s { int j; const int *ap[3]; } bx;
6173 struct s *b = &bx; b->j = 5;
6175 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6179 return !cs[0] && !zero.x;
6186 if ac_fn_c_try_compile
"$LINENO"; then :
6191 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
6194 $as_echo "$ac_cv_c_const" >&6; }
6195 if test $ac_cv_c_const = no
; then
6197 $as_echo "#define const /**/" >>confdefs.h
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
6202 $as_echo_n "checking for C/C++ restrict keyword... " >&6; }
6203 if ${ac_cv_c_restrict+:} false
; then :
6204 $as_echo_n "(cached) " >&6
6207 # The order here caters to the fact that C++ does not require restrict.
6208 for ac_kw
in __restrict __restrict__ _Restrict restrict
; do
6209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6210 /* end confdefs.h. */
6211 typedef int * int_ptr;
6212 int foo (int_ptr $ac_kw ip) {
6226 if ac_fn_c_try_compile
"$LINENO"; then :
6227 ac_cv_c_restrict
=$ac_kw
6229 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6230 test "$ac_cv_c_restrict" != no
&& break
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5
6235 $as_echo "$ac_cv_c_restrict" >&6; }
6237 case $ac_cv_c_restrict in
6239 no
) $as_echo "#define restrict /**/" >>confdefs.h
6241 *) cat >>confdefs.h
<<_ACEOF
6242 #define restrict $ac_cv_c_restrict
6247 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6248 if test "x$ac_cv_type_size_t" = xyes
; then :
6252 cat >>confdefs.h
<<_ACEOF
6253 #define size_t unsigned int
6258 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
6259 if test "x$ac_cv_type_ssize_t" = xyes
; then :
6263 cat >>confdefs.h
<<_ACEOF
6269 ac_fn_c_check_type
"$LINENO" "off64_t" "ac_cv_type_off64_t" "$ac_includes_default"
6270 if test "x$ac_cv_type_off64_t" = xyes
; then :
6274 cat >>confdefs.h
<<_ACEOF
6275 #define off64_t _zzip_off_t
6280 ac_fn_c_check_type
"$LINENO" "__int64" "ac_cv_type___int64" "$ac_includes_default"
6281 if test "x$ac_cv_type___int64" = xyes
; then :
6285 cat >>confdefs.h
<<_ACEOF
6286 #define __int64 long long
6291 # The cast to long int works around a bug in the HP C Compiler
6292 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6293 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6294 # This bug is HP SR number 8606223364.
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
6296 $as_echo_n "checking size of short... " >&6; }
6297 if ${ac_cv_sizeof_short+:} false
; then :
6298 $as_echo_n "(cached) " >&6
6300 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
6303 if test "$ac_cv_type_short" = yes; then
6304 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6305 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6306 as_fn_error
77 "cannot compute sizeof (short)
6307 See \`config.log' for more details" "$LINENO" 5; }
6309 ac_cv_sizeof_short
=0
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
6315 $as_echo "$ac_cv_sizeof_short" >&6; }
6319 cat >>confdefs.h
<<_ACEOF
6320 #define SIZEOF_SHORT $ac_cv_sizeof_short
6324 # The cast to long int works around a bug in the HP C Compiler
6325 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6326 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6327 # This bug is HP SR number 8606223364.
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
6329 $as_echo_n "checking size of int... " >&6; }
6330 if ${ac_cv_sizeof_int+:} false
; then :
6331 $as_echo_n "(cached) " >&6
6333 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
6336 if test "$ac_cv_type_int" = yes; then
6337 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6338 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6339 as_fn_error
77 "cannot compute sizeof (int)
6340 See \`config.log' for more details" "$LINENO" 5; }
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
6348 $as_echo "$ac_cv_sizeof_int" >&6; }
6352 cat >>confdefs.h
<<_ACEOF
6353 #define SIZEOF_INT $ac_cv_sizeof_int
6357 # The cast to long int works around a bug in the HP C Compiler
6358 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6359 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6360 # This bug is HP SR number 8606223364.
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
6362 $as_echo_n "checking size of long... " >&6; }
6363 if ${ac_cv_sizeof_long+:} false
; then :
6364 $as_echo_n "(cached) " >&6
6366 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
6369 if test "$ac_cv_type_long" = yes; then
6370 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6371 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6372 as_fn_error
77 "cannot compute sizeof (long)
6373 See \`config.log' for more details" "$LINENO" 5; }
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
6381 $as_echo "$ac_cv_sizeof_long" >&6; }
6385 cat >>confdefs.h
<<_ACEOF
6386 #define SIZEOF_LONG $ac_cv_sizeof_long
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
6391 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
6392 if ${ac_cv_c_bigendian+:} false
; then :
6393 $as_echo_n "(cached) " >&6
6395 ac_cv_c_bigendian
=unknown
6396 # See if we're dealing with a universal compiler.
6397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6398 /* end confdefs.h. */
6399 #ifndef __APPLE_CC__
6400 not a universal capable compiler
6405 if ac_fn_c_try_compile
"$LINENO"; then :
6407 # Check for potential -arch flags. It is not universal unless
6408 # there are at least two -arch flags with different values.
6411 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
6412 if test -n "$ac_prev"; then
6414 i?
86 | x86_64 | ppc | ppc64
)
6415 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
6418 ac_cv_c_bigendian
=universal
6424 elif test "x$ac_word" = "x-arch"; then
6429 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6430 if test $ac_cv_c_bigendian = unknown
; then
6431 # See if sys/param.h defines the BYTE_ORDER macro.
6432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6433 /* end confdefs.h. */
6434 #include <sys/types.h>
6435 #include <sys/param.h>
6440 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
6441 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
6450 if ac_fn_c_try_compile
"$LINENO"; then :
6451 # It does; now see whether it defined to BIG_ENDIAN or not.
6452 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6453 /* end confdefs.h. */
6454 #include <sys/types.h>
6455 #include <sys/param.h>
6460 #if BYTE_ORDER != BIG_ENDIAN
6468 if ac_fn_c_try_compile
"$LINENO"; then :
6469 ac_cv_c_bigendian
=yes
6471 ac_cv_c_bigendian
=no
6473 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6475 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6477 if test $ac_cv_c_bigendian = unknown
; then
6478 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
6479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6480 /* end confdefs.h. */
6486 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
6494 if ac_fn_c_try_compile
"$LINENO"; then :
6495 # It does; now see whether it defined to _BIG_ENDIAN or not.
6496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6497 /* end confdefs.h. */
6511 if ac_fn_c_try_compile
"$LINENO"; then :
6512 ac_cv_c_bigendian
=yes
6514 ac_cv_c_bigendian
=no
6516 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6518 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6520 if test $ac_cv_c_bigendian = unknown
; then
6521 # Compile a test program.
6522 if test "$cross_compiling" = yes; then :
6523 # Try to guess by grepping values from an object file.
6524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6525 /* end confdefs.h. */
6526 short int ascii_mm[] =
6527 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
6528 short int ascii_ii[] =
6529 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
6530 int use_ascii (int i) {
6531 return ascii_mm[i] + ascii_ii[i];
6533 short int ebcdic_ii[] =
6534 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
6535 short int ebcdic_mm[] =
6536 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
6537 int use_ebcdic (int i) {
6538 return ebcdic_mm[i] + ebcdic_ii[i];
6545 return use_ascii (foo) == use_ebcdic (foo);
6550 if ac_fn_c_try_compile
"$LINENO"; then :
6551 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
6552 ac_cv_c_bigendian
=yes
6554 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
6555 if test "$ac_cv_c_bigendian" = unknown
; then
6556 ac_cv_c_bigendian
=no
6558 # finding both strings is unlikely to happen, but who knows?
6559 ac_cv_c_bigendian
=unknown
6563 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6566 /* end confdefs.h. */
6567 $ac_includes_default
6572 /* Are we little or big endian? From Harbison&Steele. */
6576 char c[sizeof (long int)];
6579 return u.c[sizeof (long int) - 1] == 1;
6585 if ac_fn_c_try_run
"$LINENO"; then :
6586 ac_cv_c_bigendian
=no
6588 ac_cv_c_bigendian
=yes
6590 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6591 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
6597 $as_echo "$ac_cv_c_bigendian" >&6; }
6598 case $ac_cv_c_bigendian in #(
6600 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
6606 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
6610 as_fn_error $?
"unknown endianness
6611 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pointers to integers require aligned access" >&5
6616 $as_echo_n "checking if pointers to integers require aligned access... " >&6; }
6617 if ${zziplib_cv_aligned_access+:} false
; then :
6618 $as_echo_n "(cached) " >&6
6620 if test "$cross_compiling" = yes; then :
6621 case $host_cpu in #(
6622 alpha
*|arm
*|bfin
*|hp
*|mips
*|sh
*|sparc
*|ia64|nv1
) :
6623 zziplib_cv_aligned_access
=yes ;; #(
6625 zziplib_cv_aligned_access
=no
;;
6628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6629 /* end confdefs.h. */
6637 char* string = malloc(40);
6639 for (i=0; i < 40; i++) string[i] = i;
6644 if (*p == *q) { return 1; }
6650 if ac_fn_c_try_run
"$LINENO"; then :
6651 zziplib_cv_aligned_access
=no
6653 zziplib_cv_aligned_access
=yes
6655 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6656 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $zziplib_cv_aligned_access" >&5
6661 $as_echo "$zziplib_cv_aligned_access" >&6; }
6662 if test "x$zziplib_cv_aligned_access" = xyes
; then
6664 $as_echo "#define HAVE_ALIGNED_ACCESS_REQUIRED 1" >>confdefs.h
6669 # Checks for library functions.
6670 for ac_func
in strcasecmp strndup
6672 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6673 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6674 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
6675 cat >>confdefs.h
<<_ACEOF
6676 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6683 kpse_save_CPPFLAGS
=$CPPFLAGS
6684 kpse_save_LIBS
=$LIBS
6686 ## _KPSE_INIT: Initialize TL infrastructure
6687 kpse_BLD
=`(cd "./../../." && pwd)`
6688 kpse_SRC
=`(cd "$srcdir/../../." && pwd)`
6690 ## _KPSE_LIB_FLAGS: Setup zlib (-lz) flags
6692 # Check whether --with-system-zlib was given.
6693 if test "${with_system_zlib+set}" = set; then :
6694 withval
=$with_system_zlib;
6697 # Check whether --with-zlib-includes was given.
6698 if test "${with_zlib_includes+set}" = set; then :
6699 withval
=$with_zlib_includes;
6702 # Check whether --with-zlib-libdir was given.
6703 if test "${with_zlib_libdir+set}" = set; then :
6704 withval
=$with_zlib_libdir;
6706 if test "x$with_system_zlib" = xyes
; then
6707 if test "x$with_zlib_includes" != x
&& test "x$with_zlib_includes" != xyes
; then
6708 ZLIB_INCLUDES
="-I$with_zlib_includes"
6711 if test "x$with_zlib_libdir" != x
&& test "x$with_zlib_libdir" != xyes
; then
6712 ZLIB_LIBS
="-L$with_zlib_libdir $ZLIB_LIBS"
6715 ZLIB_INCLUDES
="-I$kpse_BLD/libs/zlib/include"
6716 ZLIB_LIBS
="$kpse_BLD/libs/zlib/libz.a"
6717 ZLIB_DEPEND
='${top_builddir}/../../libs/zlib/libz.a'
6718 ZLIB_RULE
='# Rebuild libz
6719 $(ZLIB_DEPEND): ${top_builddir}/../../libs/zlib/include/zconf.h
6720 cd ${top_builddir}/../../libs/zlib && $(MAKE) $(AM_MAKEFLAGS) rebuild
6721 ${top_builddir}/../../libs/zlib/include/zconf.h:
6722 cd ${top_builddir}/../../libs/zlib && $(MAKE) $(AM_MAKEFLAGS) rebuild'
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if <zlib.h> defines 'z_const'" >&5
6725 $as_echo_n "checking if <zlib.h> defines 'z_const'... " >&6; }
6726 if ${kpse_cv_have_decl_z_const+:} false
; then :
6727 $as_echo_n "(cached) " >&6
6729 eval CPPFLAGS
=\"$ZLIB_INCLUDES \
$CPPFLAGS\"
6730 eval LIBS
=\"$ZLIB_LIBS \
$LIBS\"
6732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6733 /* end confdefs.h. */
6738 z_const char * foo();
6743 if ac_fn_c_try_compile
"$LINENO"; then :
6744 kpse_cv_have_decl_z_const
=yes
6746 kpse_cv_have_decl_z_const
=no
6748 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6749 CPPFLAGS
=$kpse_save_CPPFLAGS
6750 LIBS
=$kpse_save_LIBS
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_decl_z_const" >&5
6754 $as_echo "$kpse_cv_have_decl_z_const" >&6; }
6755 case $kpse_cv_have_decl_z_const in #(
6758 $as_echo "#define ZLIB_CONST 1" >>confdefs.h
6762 $as_echo "#define z_const /**/" >>confdefs.h
6767 if test "x$enable_build" != xno
; then
6776 if test "x$enable_build" != xno ||
test -f config.force
; then
6778 eval CPPFLAGS
=\"$ZLIB_INCLUDES \
$CPPFLAGS\"
6779 eval LIBS
=\"$ZLIB_LIBS \
$LIBS\"
6781 for ac_header
in zlib.h
6783 ac_fn_c_check_header_mongrel
"$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
6784 if test "x$ac_cv_header_zlib_h" = xyes
; then :
6785 cat >>confdefs.h
<<_ACEOF
6786 #define HAVE_ZLIB_H 1
6793 ac_fn_c_check_func
"$LINENO" "zlibVersion" "ac_cv_func_zlibVersion"
6794 if test "x$ac_cv_func_zlibVersion" = xyes
; then :
6797 as_fn_error $?
"zlib not found" "$LINENO" 5
6800 CPPFLAGS
=$kpse_save_CPPFLAGS
6801 LIBS
=$kpse_save_LIBS
6804 echo timestamp
>config.force
6807 ZZIPLIB_TREE
=zziplib-0.13
.62
6810 # -----------------------------------------------------------------------
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: creating include/zzip/_msvc.in via zzip/_msvc.sed of config.h.in" >&5
6812 $as_echo "creating include/zzip/_msvc.in via zzip/_msvc.sed of config.h.in" >&6; }
6813 test -d include || mkdir include
6814 sed -f $srcdir/$ZZIPLIB_TREE/zzip
/_msvc.
sed $srcdir/config.h.
in >include
/_msvc.
in
6815 ac_config_headers
="$ac_config_headers config.h"
6817 ac_config_commands
="$ac_config_commands include/zzip/_config.h"
6819 ac_config_commands
="$ac_config_commands include/zzip/_msvc.h"
6822 ac_config_files
="$ac_config_files Makefile include/zzip/Makefile"
6825 cat >confcache
<<\_ACEOF
6826 # This file is a shell script that caches the results of configure
6827 # tests run on this system so they can be shared between configure
6828 # scripts and configure runs, see configure's option --config-cache.
6829 # It is not useful on other systems. If it contains results you don't
6830 # want to keep, you may remove or edit it.
6832 # config.status only pays attention to the cache file if you give it
6833 # the --recheck option to rerun configure.
6835 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6836 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6841 # The following way of writing the cache mishandles newlines in values,
6842 # but we know of no workaround that is simple, portable, and efficient.
6843 # So, we kill variables containing newlines.
6844 # Ultrix sh set writes to stderr and can't be redirected directly,
6845 # and sets the high bit in the cache file unless we assign to the vars.
6847 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6848 eval ac_val
=\$
$ac_var
6852 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6853 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6856 _ | IFS | as_nl
) ;; #(
6857 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
6858 *) { eval $ac_var=; unset $ac_var;} ;;
6864 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6865 *${as_nl}ac_space
=\
*)
6866 # `set' does not quote correctly, so add quotes: double-quote
6867 # substitution turns \\\\ into \\, and sed turns \\ into \.
6870 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6873 # `set' quotes correctly as required by POSIX, so do not add quotes.
6874 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6883 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6885 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6887 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
6888 if test -w "$cache_file"; then
6889 if test "x$cache_file" != "x/dev/null"; then
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6891 $as_echo "$as_me: updating cache $cache_file" >&6;}
6892 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
6893 cat confcache
>"$cache_file"
6895 case $cache_file in #(
6897 mv -f confcache
"$cache_file"$$
&&
6898 mv -f "$cache_file"$$
"$cache_file" ;; #(
6900 mv -f confcache
"$cache_file" ;;
6905 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6906 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6911 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6912 # Let make expand exec_prefix.
6913 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6915 DEFS
=-DHAVE_CONFIG_H
6920 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6921 # 1. Remove the extension, and $U if already installed.
6922 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
6923 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
6924 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6925 # will be set to the directory where LIBOBJS objects are built.
6926 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6927 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
6931 LTLIBOBJS
=$ac_ltlibobjs
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
6935 $as_echo_n "checking that generated files are newer than configure... " >&6; }
6936 if test -n "$am_sleep_pid"; then
6937 # Hide warnings about reused PIDs.
6938 wait $am_sleep_pid 2>/dev
/null
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
6941 $as_echo "done" >&6; }
6942 if test -n "$EXEEXT"; then
6944 am__EXEEXT_FALSE
='#'
6950 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6951 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
6952 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6954 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6955 as_fn_error $?
"conditional \"AMDEP\" was never defined.
6956 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6958 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6959 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
6960 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6962 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6963 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
6964 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6967 if test -z "${build_TRUE}" && test -z "${build_FALSE}"; then
6968 as_fn_error $?
"conditional \"build\" was never defined.
6969 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6972 : "${CONFIG_STATUS=./config.status}"
6974 ac_clean_files_save
=$ac_clean_files
6975 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6977 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6979 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6981 # Generated by $as_me.
6982 # Run this file to recreate the current configuration.
6983 # Compiler output produced by configure, useful for debugging
6984 # configure, is in config.log if it exists.
6990 SHELL=\${CONFIG_SHELL-$SHELL}
6993 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
6994 ## -------------------- ##
6995 ## M4sh Initialization. ##
6996 ## -------------------- ##
6998 # Be more Bourne compatible
6999 DUALCASE
=1; export DUALCASE
# for MKS sh
7000 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
7003 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7004 # is contrary to our usage. Disable this feature.
7005 alias -g '${1+"$@"}'='"$@"'
7006 setopt NO_GLOB_SUBST
7008 case `(set -o) 2>/dev/null` in #(
7020 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7021 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7022 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7023 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7024 # Prefer a ksh shell builtin over an external printf program on Solaris,
7025 # but without wasting forks for bash or zsh.
7026 if test -z "$BASH_VERSION$ZSH_VERSION" \
7027 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7028 as_echo='print
-r --'
7029 as_echo_n='print
-rn --'
7030 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7031 as_echo='printf %s
\n'
7032 as_echo_n='printf %s
'
7034 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7035 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
7036 as_echo_n='/usr
/ucb
/echo -n'
7038 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7039 as_echo_n_body='eval
7043 expr "X$arg" : "X\\(.*\\)$as_nl";
7044 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7046 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
7048 export as_echo_n_body
7049 as_echo_n='sh
-c $as_echo_n_body as_echo
'
7052 as_echo='sh
-c $as_echo_body as_echo
'
7055 # The user is always right.
7056 if test "${PATH_SEPARATOR+set}" != set; then
7058 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7059 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7066 # We need space, tab and new line, in precisely that order. Quoting is
7067 # there to prevent editors from complaining about space-tab.
7068 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7069 # splitting by setting IFS to empty value.)
7072 # Find who we are. Look in the path if we contain no directory separator.
7075 *[\\/]* ) as_myself=$0 ;;
7076 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7080 test -z "$as_dir" && as_dir=.
7081 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7087 # We did not find ourselves, most probably we were run as `sh COMMAND'
7088 # in which case we are not to be found in the path.
7089 if test "x$as_myself" = x
; then
7092 if test ! -f "$as_myself"; then
7093 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7097 # Unset variables that we do not need and which cause bugs (e.g. in
7098 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7099 # suppresses any "Segmentation fault" message there. '((' could
7100 # trigger a bug in pdksh 5.2.14.
7101 for as_var
in BASH_ENV ENV MAIL MAILPATH
7102 do eval test x\
${$as_var+set} = xset \
7103 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
7116 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
7119 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7120 # ----------------------------------------
7121 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7122 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7123 # script with STATUS, using 1 if that was 0.
7126 as_status
=$1; test $as_status -eq 0 && as_status
=1
7128 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
7129 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7131 $as_echo "$as_me: error: $2" >&2
7132 as_fn_exit
$as_status
7136 # as_fn_set_status STATUS
7137 # -----------------------
7138 # Set $? to STATUS, without forking.
7142 } # as_fn_set_status
7146 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7156 # Portably unset VAR.
7159 { eval $1=; unset $1;}
7161 as_unset
=as_fn_unset
7162 # as_fn_append VAR VALUE
7163 # ----------------------
7164 # Append the text in VALUE to the end of the definition contained in VAR. Take
7165 # advantage of any shell optimizations that allow amortized linear growth over
7166 # repeated appends, instead of the typical quadratic growth present in naive
7168 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
7169 eval 'as_fn_append ()
7180 # as_fn_arith ARG...
7181 # ------------------
7182 # Perform arithmetic evaluation on the ARGs, and store the result in the
7183 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7184 # must be portable across $(()) and expr.
7185 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
7186 eval 'as_fn_arith ()
7193 as_val
=`expr "$@" || test $? -eq 1`
7198 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7199 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7205 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7206 as_basename
=basename
7211 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7217 as_me
=`$as_basename -- "$0" ||
7218 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7219 X"$0" : 'X\(//\)$' \| \
7220 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7222 sed '/^.*\/\([^/][^/]*\)\/*$/{
7236 # Avoid depending upon Character Ranges.
7237 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7238 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7239 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7240 as_cr_digits
='0123456789'
7241 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7243 ECHO_C
= ECHO_N
= ECHO_T
=
7244 case `echo -n x` in #(((((
7246 case `echo 'xy\c'` in
7247 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7249 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
7256 rm -f conf$$ conf$$.exe conf$$.
file
7257 if test -d conf$$.dir
; then
7258 rm -f conf$$.dir
/conf$$.
file
7261 mkdir conf$$.dir
2>/dev
/null
7263 if (echo >conf$$.
file) 2>/dev
/null
; then
7264 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7266 # ... but there are two gotchas:
7267 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7268 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7269 # In both cases, we have to default to `cp -pR'.
7270 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
7272 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7280 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
7281 rmdir conf$$.dir
2>/dev
/null
7286 # Create "$as_dir" as a directory, including parents if necessary.
7291 -*) as_dir
=.
/$as_dir;;
7293 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
7297 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7298 *) as_qdir
=$as_dir;;
7300 as_dirs
="'$as_qdir' $as_dirs"
7301 as_dir
=`$as_dirname -- "$as_dir" ||
7302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7303 X"$as_dir" : 'X\(//\)[^/]' \| \
7304 X"$as_dir" : 'X\(//\)$' \| \
7305 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7306 $as_echo X"$as_dir" |
7307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7324 test -d "$as_dir" && break
7326 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7327 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
7331 if mkdir
-p .
2>/dev
/null
; then
7332 as_mkdir_p
='mkdir -p "$as_dir"'
7334 test -d .
/-p && rmdir .
/-p
7339 # as_fn_executable_p FILE
7340 # -----------------------
7341 # Test if FILE is an executable regular file.
7342 as_fn_executable_p
()
7344 test -f "$1" && test -x "$1"
7345 } # as_fn_executable_p
7347 as_executable_p
=as_fn_executable_p
7349 # Sed expression to map a string onto a valid CPP name.
7350 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7352 # Sed expression to map a string onto a valid variable name.
7353 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7357 ## ----------------------------------- ##
7358 ## Main body of $CONFIG_STATUS script. ##
7359 ## ----------------------------------- ##
7361 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
7363 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7364 # Save the log message, to keep $0 and so on meaningful, and to
7365 # report actual input values of CONFIG_FILES etc. instead of their
7366 # values after options handling.
7368 This file was extended by zziplib (TeX Live) $as_me 0.13.62, which was
7369 generated by GNU Autoconf 2.69. Invocation command line was
7371 CONFIG_FILES = $CONFIG_FILES
7372 CONFIG_HEADERS = $CONFIG_HEADERS
7373 CONFIG_LINKS = $CONFIG_LINKS
7374 CONFIG_COMMANDS = $CONFIG_COMMANDS
7377 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7382 case $ac_config_files in *"
7383 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
7386 case $ac_config_headers in *"
7387 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
7391 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7392 # Files that config.status was made for.
7393 config_files="$ac_config_files"
7394 config_headers="$ac_config_headers"
7395 config_commands="$ac_config_commands"
7399 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7401 \`$as_me' instantiates files and other configuration actions
7402 from templates according to the current configuration. Unless the files
7403 and actions are specified as TAGs, all are instantiated by default.
7405 Usage: $0 [OPTION]... [TAG]...
7407 -h, --help print this help, then exit
7408 -V, --version print version number and configuration settings, then exit
7409 --config print configuration, then exit
7410 -q, --quiet, --silent
7411 do not print progress messages
7412 -d, --debug don't remove temporary files
7413 --recheck update $as_me by reconfiguring in the same conditions
7414 --file=FILE[:TEMPLATE]
7415 instantiate the configuration file FILE
7416 --header=FILE[:TEMPLATE]
7417 instantiate the configuration header FILE
7419 Configuration files:
7422 Configuration headers:
7425 Configuration commands:
7428 Report bugs to <tex-k@tug.org>."
7431 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7432 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7434 zziplib (TeX Live) config.status 0.13.62
7435 configured by $0, generated by GNU Autoconf 2.69,
7436 with options \\"\$ac_cs_config\\"
7438 Copyright (C) 2012 Free Software Foundation, Inc.
7439 This config.status script is free software; the Free Software Foundation
7440 gives unlimited permission to copy, distribute and modify it."
7447 test -n "\$AWK" || AWK=awk
7450 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7451 # The default lists apply if the user does not specify any file.
7457 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7458 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
7462 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7474 # Handling of the options.
7475 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7477 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
7478 $as_echo "$ac_cs_version"; exit ;;
7479 --config |
--confi |
--conf |
--con |
--co |
--c )
7480 $as_echo "$ac_cs_config"; exit ;;
7481 --debug |
--debu |
--deb |
--de |
--d |
-d )
7483 --file |
--fil |
--fi |
--f )
7486 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7487 '') as_fn_error $?
"missing file argument" ;;
7489 as_fn_append CONFIG_FILES
" '$ac_optarg'"
7490 ac_need_defaults
=false
;;
7491 --header |
--heade |
--head |
--hea )
7494 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7496 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
7497 ac_need_defaults
=false
;;
7499 # Conflict between --help and --header
7500 as_fn_error $?
"ambiguous option: \`$1'
7501 Try \`$0 --help' for more information.";;
7502 --help |
--hel |
-h )
7503 $as_echo "$ac_cs_usage"; exit ;;
7504 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7505 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7509 -*) as_fn_error $?
"unrecognized option: \`$1'
7510 Try \`$0 --help' for more information." ;;
7512 *) as_fn_append ac_config_targets
" $1"
7513 ac_need_defaults
=false
;;
7519 ac_configure_extra_args
=
7521 if $ac_cs_silent; then
7523 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7527 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7528 if \$ac_cs_recheck; then
7529 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7531 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7532 CONFIG_SHELL='$SHELL'
7538 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7542 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7543 ## Running $as_me. ##
7549 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7553 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7559 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7561 # Handling of arguments.
7562 for ac_config_target
in $ac_config_targets
7564 case $ac_config_target in
7565 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
7566 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
7567 "include/zzip/_config.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/zzip/_config.h" ;;
7568 "include/zzip/_msvc.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/zzip/_msvc.h" ;;
7569 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7570 "include/zzip/Makefile") CONFIG_FILES
="$CONFIG_FILES include/zzip/Makefile" ;;
7572 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7577 # If the user did not use the arguments to specify the items to instantiate,
7578 # then the envvar interface is used. Set only those that are not.
7579 # We use the long form for the default assignment because of an extremely
7580 # bizarre bug on SunOS 4.1.3.
7581 if $ac_need_defaults; then
7582 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7583 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7584 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7587 # Have a temporary directory for convenience. Make it in the build tree
7588 # simply because there is no reason against having it here, and in addition,
7589 # creating and moving files from /tmp can sometimes cause problems.
7590 # Hook for its removal unless debugging.
7591 # Note that there is a small window in which the directory will not be cleaned:
7592 # after its creation but before its name has been assigned to `$tmp'.
7596 trap 'exit_status=$?
7598 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7600 trap 'as_fn_exit 1' 1 2 13 15
7602 # Create a (secure) tmp directory for tmp files.
7605 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7609 tmp
=.
/conf$$
-$RANDOM
7610 (umask 077 && mkdir
"$tmp")
7611 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
7614 # Set up the scripts for CONFIG_FILES section.
7615 # No need to generate them if there are no CONFIG_FILES.
7616 # This happens for instance with `./config.status config.h'.
7617 if test -n "$CONFIG_FILES"; then
7620 ac_cr
=`echo X | tr X '\015'`
7621 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7622 # But we know of no other shell where ac_cr would be empty at this
7623 # point, so we can use a bashism as a fallback.
7624 if test "x$ac_cr" = x
; then
7625 eval ac_cr
=\$
\'\\r
\'
7627 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7628 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7634 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7639 echo "cat >conf$$subs.awk <<_ACEOF" &&
7640 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7643 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7644 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7646 for ac_last_try in false false false false false :; do
7647 . ./conf$$subs.sh ||
7648 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7650 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
7651 if test $ac_delim_n = $ac_delim_num; then
7653 elif $ac_last_try; then
7654 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7656 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7661 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7662 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
7666 s/^/S["/; s
/!.
*/"]=/
7676 s/\(.\{148\}\)..*/\1/
7678 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
7683 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7690 s/\(.\{148\}\)..*/\1/
7692 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
7696 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7701 ' <conf$$subs.awk | sed '
7706 ' >>$CONFIG_STATUS || ac_write_fail=1
7707 rm -f conf$$subs.awk
7708 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7710 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
7711 for (key in S) S_is_set[key] = 1
7717 nfields = split(line, field, "@
")
7719 len = length(field[1])
7720 for (i = 2; i < nfields; i++) {
7722 keylen = length(key)
7723 if (S_is_set[key]) {
7725 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7726 len += length(value) + length(field[++i])
7737 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7738 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7739 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
7742 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
7743 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
7746 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7747 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
7748 # trailing colons and then remove the whole line if VPATH becomes empty
7749 # (actually we leave an empty line to preserve line numbers).
7750 if test "x
$srcdir" = x.; then
7751 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7769 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7770 fi # test -n "$CONFIG_FILES"
7772 # Set up the scripts for CONFIG_HEADERS section.
7773 # No need to generate them if there are no CONFIG_HEADERS.
7774 # This happens for instance with `./config.status Makefile'.
7775 if test -n "$CONFIG_HEADERS"; then
7776 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
7780 # Transform confdefs.h into an awk script `defines.awk', embedded as
7781 # here-document in config.status, that substitutes the proper values into
7782 # config.h.in to produce config.h.
7784 # Create a delimiter string that does not exist in confdefs.h, to ease
7785 # handling of long lines.
7787 for ac_last_try in false false :; do
7788 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
7789 if test -z "$ac_tt"; then
7791 elif $ac_last_try; then
7792 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
7794 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7798 # For the awk script, D is an array of macro values keyed by name,
7799 # likewise P contains macro parameters if any. Preserve backslash
7800 # newline sequences.
7802 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7804 s/.\{148\}/&'"$ac_delim"'/g
7807 s/^[ ]*#[ ]*define[ ][ ]*/ /
7814 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
7816 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
7820 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
7821 D["\
1"]=" \
3\\\\\\n
"\\/p
7823 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
7828 s/.\{148\}/&'"$ac_delim"'/g
7833 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
7836 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
7838 ' <confdefs.h | sed '
7839 s/'"$ac_delim"'/"\\\
7840 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7842 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7843 for (key in D) D_is_set[key] = 1
7846 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7848 split(line, arg, " ")
7849 if (arg[1] == "#") {
7853 defundef
= substr
(arg
[1], 2)
7856 split(mac1
, mac2
, "(") #)
7858 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
7859 if (D_is_set
[macro
]) {
7860 # Preserve the white space surrounding the "#".
7861 print prefix
"define", macro P
[macro
] D
[macro
]
7864 # Replace #undef with comments. This is necessary, for example,
7865 # in the case of _POSIX_SOURCE, which is predefined and required
7866 # on some systems where configure will not decide to define it.
7867 if (defundef
== "undef") {
7868 print
"/*", prefix defundef
, macro
, "*/"
7876 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7877 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
7878 fi # test -n "$CONFIG_HEADERS"
7881 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7886 :[FHLC
]) ac_mode
=$ac_tag; continue;;
7888 case $ac_mode$ac_tag in
7890 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
7891 :[FH
]-) ac_tag
=-:-;;
7892 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
7909 -) ac_f
="$ac_tmp/stdin";;
7910 *) # Look for the file first in the build tree, then in the source tree
7911 # (if the path is not absolute). The absolute path cannot be DOS-style,
7912 # because $ac_f cannot contain `:'.
7916 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
7918 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7920 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7921 as_fn_append ac_file_inputs
" '$ac_f'"
7924 # Let's still pretend it is `configure' which instantiates (i.e., don't
7925 # use $as_me), people would be surprised to read:
7926 # /* config.h. Generated by config.status. */
7927 configure_input
='Generated from '`
7928 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7930 if test x
"$ac_file" != x-
; then
7931 configure_input
="$ac_file. $configure_input"
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7933 $as_echo "$as_me: creating $ac_file" >&6;}
7935 # Neutralize special characters interpreted by sed in replacement strings.
7936 case $configure_input in #(
7937 *\
&* |
*\|
* |
*\\* )
7938 ac_sed_conf_input
=`$as_echo "$configure_input" |
7939 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7940 *) ac_sed_conf_input
=$configure_input;;
7944 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
7945 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
7950 ac_dir
=`$as_dirname -- "$ac_file" ||
7951 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7952 X"$ac_file" : 'X\(//\)[^/]' \| \
7953 X"$ac_file" : 'X\(//\)$' \| \
7954 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7955 $as_echo X"$ac_file" |
7956 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7973 as_dir
="$ac_dir"; as_fn_mkdir_p
7977 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7979 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7980 # A ".." for each directory in $ac_dir_suffix.
7981 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7982 case $ac_top_builddir_sub in
7983 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7984 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
7987 ac_abs_top_builddir
=$ac_pwd
7988 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
7989 # for backward compatibility:
7990 ac_top_builddir
=$ac_top_build_prefix
7993 .
) # We are building in place.
7995 ac_top_srcdir
=$ac_top_builddir_sub
7996 ac_abs_top_srcdir
=$ac_pwd ;;
7997 [\\/]* | ?
:[\\/]* ) # Absolute name.
7998 ac_srcdir
=$srcdir$ac_dir_suffix;
7999 ac_top_srcdir
=$srcdir
8000 ac_abs_top_srcdir
=$srcdir ;;
8002 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
8003 ac_top_srcdir
=$ac_top_build_prefix$srcdir
8004 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
8006 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
8016 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8017 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
8021 [\\/$
]* | ?
:[\\/]* ) ;;
8022 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
8026 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8027 # If the template does not know about datarootdir, expand it.
8028 # FIXME: This hack should be removed a few years after 2.60.
8029 ac_datarootdir_hack
=; ac_datarootdir_seen
=
8040 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8041 *datarootdir
*) ac_datarootdir_seen
=yes;;
8042 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8044 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8046 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8047 ac_datarootdir_hack='
8048 s&@datadir@&$datadir&g
8049 s&@docdir@&$docdir&g
8050 s&@infodir@&$infodir&g
8051 s&@localedir@&$localedir&g
8052 s&@mandir@&$mandir&g
8053 s&\\\${datarootdir}&$datarootdir&g' ;;
8057 # Neutralize VPATH when `$srcdir' = `.'.
8058 # Shell code in configure.ac might set extrasub.
8059 # FIXME: do we really want to maintain this feature?
8060 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8061 ac_sed_extra="$ac_vpsub
8064 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8066 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8067 s|@configure_input@|
$ac_sed_conf_input|
;t t
8068 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
8069 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
8070 s
&@srcdir@
&$ac_srcdir&;t t
8071 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
8072 s
&@top_srcdir@
&$ac_top_srcdir&;t t
8073 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
8074 s
&@builddir@
&$ac_builddir&;t t
8075 s
&@abs_builddir@
&$ac_abs_builddir&;t t
8076 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
8077 s
&@INSTALL@
&$ac_INSTALL&;t t
8078 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
8079 $ac_datarootdir_hack
8081 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
8082 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
8084 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8085 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
8086 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
8087 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
8088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
8089 which seems to be undefined. Please make sure it is defined" >&5
8090 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
8091 which seems to be undefined. Please make sure it is defined" >&2;}
8093 rm -f "$ac_tmp/stdin"
8095 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8096 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8098 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8104 if test x"$ac_file" != x-; then
8106 $as_echo "/* $configure_input */" \
8107 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
8108 } >"$ac_tmp/config.h" \
8109 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8110 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8112 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8115 mv "$ac_tmp/config.h" "$ac_file" \
8116 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8119 $as_echo "/* $configure_input */" \
8120 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
8121 || as_fn_error $? "could not create -" "$LINENO" 5
8123 # Compute "$ac_file"'s index
in $config_headers.
8126 for _am_header
in $config_headers :; do
8128 $_am_arg |
$_am_arg:* )
8131 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
8134 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
8135 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8136 X"$_am_arg" : 'X\(//\)[^/]' \| \
8137 X"$_am_arg" : 'X\(//\)$' \| \
8138 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8139 $as_echo X"$_am_arg" |
8140 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8156 s/.*/./; q'`/stamp-h
$_am_stamp_count
8159 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8160 $as_echo "$as_me: executing $ac_file commands" >&6;}
8165 case $ac_file$ac_mode in
8166 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
8167 # Older Autoconf quotes --file arguments for eval, but not when files
8168 # are listed without --file. Let's play safe and only enable the eval
8169 # if we detect the quoting.
8170 case $CONFIG_FILES in
8171 *\'*) eval set x
"$CONFIG_FILES" ;;
8172 *) set x
$CONFIG_FILES ;;
8177 # Strip MF so we end up with the name of the file.
8178 mf
=`echo "$mf" | sed -e 's/:.*$//'`
8179 # Check whether this is an Automake generated Makefile or not.
8180 # We used to match only the files named 'Makefile.in', but
8181 # some people rename them; so instead we look at the file content.
8182 # Grep'ing the first line is not enough: some people post-process
8183 # each Makefile.in and add a new line on top of each file to say so.
8184 # Grep'ing the whole file is not good either: AIX grep has a line
8185 # limit of 2048, but all sed's we know have understand at least 4000.
8186 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
8187 dirpart
=`$as_dirname -- "$mf" ||
8188 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8189 X"$mf" : 'X\(//\)[^/]' \| \
8190 X"$mf" : 'X\(//\)$' \| \
8191 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8193 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8213 # Extract the definition of DEPDIR, am__include, and am__quote
8214 # from the Makefile without running 'make'.
8215 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
8216 test -z "$DEPDIR" && continue
8217 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
8218 test -z "$am__include" && continue
8219 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
8220 # Find all dependency output files, they are included files with
8221 # $(DEPDIR) in their names. We invoke sed twice because it is the
8222 # simplest approach to changing $(DEPDIR) to its actual value in the
8224 for file in `sed -n "
8225 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8226 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
8227 # Make sure the directory exists.
8228 test -f "$dirpart/$file" && continue
8229 fdir
=`$as_dirname -- "$file" ||
8230 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8231 X"$file" : 'X\(//\)[^/]' \| \
8232 X"$file" : 'X\(//\)$' \| \
8233 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8235 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8252 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
8253 # echo "creating $dirpart/$file"
8254 echo '# dummy' > "$dirpart/$file"
8259 "include/zzip/_config.h":C
) ac_prefix_conf_OUT
=`echo include/zzip/_config.h`
8260 ac_prefix_conf_DEF
=`echo _$ac_prefix_conf_OUT | sed -e "y:abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:" -e "s/[^abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g"`
8261 ac_prefix_conf_PKG
=`echo zzip`
8262 ac_prefix_conf_LOW
=`echo _$ac_prefix_conf_PKG | sed -e "y:ABCDEFGHIJKLMNOPQRSTUVWXYZ-:abcdefghijklmnopqrstuvwxyz_:"`
8263 ac_prefix_conf_UPP
=`echo $ac_prefix_conf_PKG | sed -e "y:abcdefghijklmnopqrstuvwxyz-:ABCDEFGHIJKLMNOPQRSTUVWXYZ_:" -e "/^[0123456789]/s/^/_/"`
8264 ac_prefix_conf_INP
=`echo "config.h" | sed -e 's/ *//'`
8265 if test ".$ac_prefix_conf_INP" = "."; then
8266 for ac_file
in : $CONFIG_HEADERS; do test "_$ac_file" = _
: && continue
8268 *.h
) ac_prefix_conf_INP
=$ac_file ;;
8271 test ".$ac_prefix_conf_INP" != "." && break
8274 if test ".$ac_prefix_conf_INP" = "."; then
8275 case "$ac_prefix_conf_OUT" in
8276 */*) ac_prefix_conf_INP
=`basename "$ac_prefix_conf_OUT"`
8278 *-*) ac_prefix_conf_INP
=`echo "$ac_prefix_conf_OUT" | sed -e "s/[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*-//"`
8280 *) ac_prefix_conf_INP
=config.h
8284 if test -z "$ac_prefix_conf_PKG" ; then
8285 as_fn_error $?
"no prefix for _PREFIX_PKG_CONFIG_H" "$LINENO" 5
8287 if test ! -f "$ac_prefix_conf_INP" ; then if test -f "$srcdir/$ac_prefix_conf_INP" ; then
8288 ac_prefix_conf_INP
="$srcdir/$ac_prefix_conf_INP"
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&5
8291 $as_echo "$as_me: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&6;}
8292 if test -f $ac_prefix_conf_INP ; then
8293 echo "s/^#undef *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]\\)/#undef $ac_prefix_conf_UPP""_\\1/" > conftest.prefix
8294 echo "s/^#undef *\\([abcdefghijklmnopqrstuvwxyz]\\)/#undef $ac_prefix_conf_LOW""_\\1/" >> conftest.prefix
8295 echo "s/^#define *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_UPP""_\\1 \\" >> conftest.prefix
8296 echo "#define $ac_prefix_conf_UPP""_\\1 \\2 \\" >> conftest.prefix
8297 echo "#endif/" >>conftest.prefix
8298 echo "s/^#define *\\([abcdefghijklmnopqrstuvwxyz][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_LOW""_\\1 \\" >> conftest.prefix
8299 echo "#define $ac_prefix_conf_LOW""_\\1 \\2 \\" >> conftest.prefix
8300 echo "#endif/" >> conftest.prefix
8301 # now executing _script on _DEF input to create _OUT output file
8302 echo "#ifndef $ac_prefix_conf_DEF" >$tmp/pconfig.h
8303 echo "#define $ac_prefix_conf_DEF 1" >>$tmp/pconfig.h
8304 echo ' ' >>$tmp/pconfig.h
8305 echo /'*' $ac_prefix_conf_OUT. Generated automatically
at end of configure.
'*'/ >>$tmp/pconfig.h
8307 sed -f conftest.prefix
$ac_prefix_conf_INP >>$tmp/pconfig.h
8308 echo ' ' >>$tmp/pconfig.h
8309 echo '/* once:' $ac_prefix_conf_DEF '*/' >>$tmp/pconfig.h
8310 echo "#endif" >>$tmp/pconfig.h
8311 if cmp -s $ac_prefix_conf_OUT $tmp/pconfig.h
2>/dev
/null
; then
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_prefix_conf_OUT is unchanged" >&5
8313 $as_echo "$as_me: $ac_prefix_conf_OUT is unchanged" >&6;}
8315 ac_dir
=`$as_dirname -- "$ac_prefix_conf_OUT" ||
8316 $as_expr X"$ac_prefix_conf_OUT" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8317 X"$ac_prefix_conf_OUT" : 'X\(//\)[^/]' \| \
8318 X"$ac_prefix_conf_OUT" : 'X\(//\)$' \| \
8319 X"$ac_prefix_conf_OUT" : 'X\(/\)' \| . 2>/dev/null ||
8320 $as_echo X"$ac_prefix_conf_OUT" |
8321 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8338 as_dir
="$ac_dir"; as_fn_mkdir_p
8339 rm -f "$ac_prefix_conf_OUT"
8340 mv $tmp/pconfig.h
"$ac_prefix_conf_OUT"
8342 cp conftest.prefix _configs.
sed
8344 as_fn_error $?
"input file $ac_prefix_conf_INP does not exist - skip generating $ac_prefix_conf_OUT" "$LINENO" 5
8349 "include/zzip/_msvc.h":C
) ac_prefix_conf_OUT
=`echo include/zzip/_msvc.h`
8350 ac_prefix_conf_DEF
=`echo _$ac_prefix_conf_OUT | sed -e "y:abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:" -e "s/[^abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g"`
8351 ac_prefix_conf_PKG
=`echo zzip`
8352 ac_prefix_conf_LOW
=`echo _$ac_prefix_conf_PKG | sed -e "y:ABCDEFGHIJKLMNOPQRSTUVWXYZ-:abcdefghijklmnopqrstuvwxyz_:"`
8353 ac_prefix_conf_UPP
=`echo $ac_prefix_conf_PKG | sed -e "y:abcdefghijklmnopqrstuvwxyz-:ABCDEFGHIJKLMNOPQRSTUVWXYZ_:" -e "/^[0123456789]/s/^/_/"`
8354 ac_prefix_conf_INP
=`echo "include/_msvc.in" | sed -e 's/ *//'`
8355 if test ".$ac_prefix_conf_INP" = "."; then
8356 for ac_file
in : $CONFIG_HEADERS; do test "_$ac_file" = _
: && continue
8358 *.h
) ac_prefix_conf_INP
=$ac_file ;;
8361 test ".$ac_prefix_conf_INP" != "." && break
8364 if test ".$ac_prefix_conf_INP" = "."; then
8365 case "$ac_prefix_conf_OUT" in
8366 */*) ac_prefix_conf_INP
=`basename "$ac_prefix_conf_OUT"`
8368 *-*) ac_prefix_conf_INP
=`echo "$ac_prefix_conf_OUT" | sed -e "s/[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*-//"`
8370 *) ac_prefix_conf_INP
=config.h
8374 if test -z "$ac_prefix_conf_PKG" ; then
8375 as_fn_error $?
"no prefix for _PREFIX_PKG_CONFIG_H" "$LINENO" 5
8377 if test ! -f "$ac_prefix_conf_INP" ; then if test -f "$srcdir/$ac_prefix_conf_INP" ; then
8378 ac_prefix_conf_INP
="$srcdir/$ac_prefix_conf_INP"
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&5
8381 $as_echo "$as_me: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&6;}
8382 if test -f $ac_prefix_conf_INP ; then
8383 echo "s/^#undef *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]\\)/#undef $ac_prefix_conf_UPP""_\\1/" > conftest.prefix
8384 echo "s/^#undef *\\([abcdefghijklmnopqrstuvwxyz]\\)/#undef $ac_prefix_conf_LOW""_\\1/" >> conftest.prefix
8385 echo "s/^#define *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_UPP""_\\1 \\" >> conftest.prefix
8386 echo "#define $ac_prefix_conf_UPP""_\\1 \\2 \\" >> conftest.prefix
8387 echo "#endif/" >>conftest.prefix
8388 echo "s/^#define *\\([abcdefghijklmnopqrstuvwxyz][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_LOW""_\\1 \\" >> conftest.prefix
8389 echo "#define $ac_prefix_conf_LOW""_\\1 \\2 \\" >> conftest.prefix
8390 echo "#endif/" >> conftest.prefix
8391 # now executing _script on _DEF input to create _OUT output file
8392 echo "#ifndef $ac_prefix_conf_DEF" >$tmp/pconfig.h
8393 echo "#define $ac_prefix_conf_DEF 1" >>$tmp/pconfig.h
8394 echo ' ' >>$tmp/pconfig.h
8395 echo /'*' $ac_prefix_conf_OUT. Generated automatically
at end of configure.
'*'/ >>$tmp/pconfig.h
8397 sed -f conftest.prefix
$ac_prefix_conf_INP >>$tmp/pconfig.h
8398 echo ' ' >>$tmp/pconfig.h
8399 echo '/* once:' $ac_prefix_conf_DEF '*/' >>$tmp/pconfig.h
8400 echo "#endif" >>$tmp/pconfig.h
8401 if cmp -s $ac_prefix_conf_OUT $tmp/pconfig.h
2>/dev
/null
; then
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_prefix_conf_OUT is unchanged" >&5
8403 $as_echo "$as_me: $ac_prefix_conf_OUT is unchanged" >&6;}
8405 ac_dir
=`$as_dirname -- "$ac_prefix_conf_OUT" ||
8406 $as_expr X"$ac_prefix_conf_OUT" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8407 X"$ac_prefix_conf_OUT" : 'X\(//\)[^/]' \| \
8408 X"$ac_prefix_conf_OUT" : 'X\(//\)$' \| \
8409 X"$ac_prefix_conf_OUT" : 'X\(/\)' \| . 2>/dev/null ||
8410 $as_echo X"$ac_prefix_conf_OUT" |
8411 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8428 as_dir
="$ac_dir"; as_fn_mkdir_p
8429 rm -f "$ac_prefix_conf_OUT"
8430 mv $tmp/pconfig.h
"$ac_prefix_conf_OUT"
8432 cp conftest.prefix _configs.
sed
8434 as_fn_error $?
"input file $ac_prefix_conf_INP does not exist - skip generating $ac_prefix_conf_OUT" "$LINENO" 5
8446 ac_clean_files
=$ac_clean_files_save
8448 test $ac_write_fail = 0 ||
8449 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
8452 # configure is writing to config.log, and then calls config.status.
8453 # config.status does its own redirection, appending to config.log.
8454 # Unfortunately, on DOS this fails, as config.log is still kept open
8455 # by configure, so config.status won't be able to write to it; its
8456 # output is simply discarded. So we exec the FD to /dev/null,
8457 # effectively closing config.log, so it can be properly (re)opened and
8458 # appended to by config.status. When coming back to configure, we
8459 # need to make the FD available again.
8460 if test "$no_create" != yes; then
8462 ac_config_status_args
=
8463 test "$silent" = yes &&
8464 ac_config_status_args
="$ac_config_status_args --quiet"
8466 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8468 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8469 # would make configure fail if this is the last instruction.
8470 $ac_cs_success || as_fn_exit
1
8472 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8474 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}