2
@%:@ Guess values for system-dependent variables and create Makefiles.
3
@%:@ Generated by GNU Autoconf 2.65 for zziplib for TeX Live 0.13.58.
5
@%:@ Report bugs to <tex-k@tug.org>.
8
@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
@%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
13
@%:@ This configure script is free software; the Free Software Foundation
14
@%:@ gives unlimited permission to copy, distribute and modify it.
15
## -------------------- ##
16
## M4sh Initialization. ##
17
## -------------------- ##
19
# Be more Bourne compatible
20
DUALCASE=1; export DUALCASE # for MKS sh
21
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25
# is contrary to our usage. Disable this feature.
26
alias -g '${1+"$@"}'='"$@"'
29
case `(set -o) 2>/dev/null` in @%:@(
41
# Printing a long string crashes Solaris 7 /usr/bin/printf.
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45
# Prefer a ksh shell builtin over an external printf program on Solaris,
46
# but without wasting forks for bash or zsh.
47
if test -z "$BASH_VERSION$ZSH_VERSION" \
48
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50
as_echo_n='print -rn --'
51
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57
as_echo_n='/usr/ucb/echo -n'
59
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64
expr "X$arg" : "X\\(.*\\)$as_nl";
65
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70
as_echo_n='sh -c $as_echo_n_body as_echo'
73
as_echo='sh -c $as_echo_body as_echo'
76
# The user is always right.
77
if test "${PATH_SEPARATOR+set}" != set; then
79
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87
# We need space, tab and new line, in precisely that order. Quoting is
88
# there to prevent editors from complaining about space-tab.
89
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90
# splitting by setting IFS to empty value.)
93
# Find who we are. Look in the path if we contain no directory separator.
95
*[\\/]* ) as_myself=$0 ;;
96
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100
test -z "$as_dir" && as_dir=.
101
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107
# We did not find ourselves, most probably we were run as `sh COMMAND'
108
# in which case we are not to be found in the path.
109
if test "x$as_myself" = x; then
112
if test ! -f "$as_myself"; then
113
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117
# Unset variables that we do not need and which cause bugs (e.g. in
118
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119
# suppresses any "Segmentation fault" message there. '((' could
120
# trigger a bug in pdksh 5.2.14.
121
for as_var in BASH_ENV ENV MAIL MAILPATH
122
do eval test x\${$as_var+set} = xset \
123
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
136
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
if test "x$CONFIG_SHELL" = x; then
139
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143
# is contrary to our usage. Disable this feature.
144
alias -g '\${1+\"\$@\"}'='\"\$@\"'
147
case \`(set -o) 2>/dev/null\` in @%:@(
149
set -o posix ;; @%:@(
155
as_required="as_fn_return () { (exit \$1); }
156
as_fn_success () { as_fn_return 0; }
157
as_fn_failure () { as_fn_return 1; }
158
as_fn_ret_success () { return 0; }
159
as_fn_ret_failure () { return 1; }
162
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169
exitcode=1; echo positional parameters were not saved.
171
test x\$exitcode = x0 || exit 1"
172
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176
test \$(( 1 + 1 )) = 2 || exit 1"
177
if (eval "$as_required") 2>/dev/null; then :
182
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
190
test -z "$as_dir" && as_dir=.
192
case $as_dir in @%:@(
194
for as_base in sh bash ksh sh5; do
195
# Try only shells that exist, to save several forks.
196
as_shell=$as_dir/$as_base
197
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199
CONFIG_SHELL=$as_shell as_have_required=yes
200
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210
CONFIG_SHELL=$SHELL as_have_required=yes
215
if test "x$CONFIG_SHELL" != x; then :
216
# We cannot yet assume a decent shell, so we have to provide a
217
# neutralization value for shells without unset; and this also
218
# works around shells that cannot unset nonexistent variables.
221
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226
if test x$as_have_required = xno; then :
227
$as_echo "$0: This script requires a shell more modern than all"
228
$as_echo "$0: the shells that I found on your system."
229
if test x${ZSH_VERSION+set} = xset ; then
230
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
233
$as_echo "$0: Please tell bug-autoconf@gnu.org and tex-k@tug.org
234
$0: about your system, including any error possibly output
235
$0: before this message. Then install a modern shell, or
236
$0: manually run the script under such a shell if you do
243
SHELL=${CONFIG_SHELL-/bin/sh}
245
# Unset more variables known to interfere with behavior of common tools.
246
CLICOLOR_FORCE= GREP_OPTIONS=
247
unset CLICOLOR_FORCE GREP_OPTIONS
249
## --------------------- ##
250
## M4sh Shell Functions. ##
251
## --------------------- ##
254
@%:@ Portably unset VAR.
257
{ eval $1=; unset $1;}
261
@%:@ as_fn_set_status STATUS
262
@%:@ -----------------------
263
@%:@ Set @S|@? to STATUS, without forking.
267
} @%:@ as_fn_set_status
269
@%:@ as_fn_exit STATUS
270
@%:@ -----------------
271
@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281
@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
286
-*) as_dir=./$as_dir;;
288
test -d "$as_dir" || eval $as_mkdir_p || {
292
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
295
as_dirs="'$as_qdir' $as_dirs"
296
as_dir=`$as_dirname -- "$as_dir" ||
297
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298
X"$as_dir" : 'X\(//\)[^/]' \| \
299
X"$as_dir" : 'X\(//\)$' \| \
300
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301
$as_echo X"$as_dir" |
302
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319
test -d "$as_dir" && break
321
test -z "$as_dirs" || eval "mkdir $as_dirs"
322
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
326
@%:@ as_fn_append VAR VALUE
327
@%:@ ----------------------
328
@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
329
@%:@ advantage of any shell optimizations that allow amortized linear growth over
330
@%:@ repeated appends, instead of the typical quadratic growth present in naive
331
@%:@ implementations.
332
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333
eval 'as_fn_append ()
344
@%:@ as_fn_arith ARG...
345
@%:@ ------------------
346
@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
347
@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
348
@%:@ must be portable across @S|@(()) and expr.
349
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
357
as_val=`expr "$@" || test $? -eq 1`
362
@%:@ as_fn_error ERROR [LINENO LOG_FD]
363
@%:@ ---------------------------------
364
@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365
@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366
@%:@ script with status @S|@?, using 1 if that was 0.
369
as_status=$?; test $as_status -eq 0 && as_status=1
371
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
374
$as_echo "$as_me: error: $1" >&2
375
as_fn_exit $as_status
378
if expr a : '\(a\)' >/dev/null 2>&1 &&
379
test "X`expr 00001 : '.*\(...\)'`" = X001; then
385
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
397
as_me=`$as_basename -- "$0" ||
398
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399
X"$0" : 'X\(//\)$' \| \
400
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402
sed '/^.*\/\([^/][^/]*\)\/*$/{
416
# Avoid depending upon Character Ranges.
417
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420
as_cr_digits='0123456789'
421
as_cr_alnum=$as_cr_Letters$as_cr_digits
424
as_lineno_1=$LINENO as_lineno_1a=$LINENO
425
as_lineno_2=$LINENO as_lineno_2a=$LINENO
426
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
440
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444
chmod +x "$as_me.lineno" ||
445
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
447
# Don't try to exec as it changes $[0], causing all sort of problems
448
# (the dirname of $[0] is not the place where we might find the
449
# original and so on. Autoconf is especially sensitive to this).
451
# Exit status is that of the last command.
455
ECHO_C= ECHO_N= ECHO_T=
456
case `echo -n x` in @%:@(((((
458
case `echo 'xy\c'` in
459
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
461
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
468
rm -f conf$$ conf$$.exe conf$$.file
469
if test -d conf$$.dir; then
470
rm -f conf$$.dir/conf$$.file
473
mkdir conf$$.dir 2>/dev/null
475
if (echo >conf$$.file) 2>/dev/null; then
476
if ln -s conf$$.file conf$$ 2>/dev/null; then
478
# ... but there are two gotchas:
479
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481
# In both cases, we have to default to `cp -p'.
482
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
484
elif ln conf$$.file conf$$ 2>/dev/null; then
492
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493
rmdir conf$$.dir 2>/dev/null
495
if mkdir -p . 2>/dev/null; then
496
as_mkdir_p='mkdir -p "$as_dir"'
498
test -d ./-p && rmdir ./-p
502
if test -x / >/dev/null 2>&1; then
505
if ls -dL / >/dev/null 2>&1; then
512
if test -d "$1"; then
518
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
519
???[sx]*):;;*)false;;esac;fi
523
as_executable_p=$as_test_x
525
# Sed expression to map a string onto a valid CPP name.
526
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528
# Sed expression to map a string onto a valid variable name.
529
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
532
test -n "$DJDIR" || exec 7<&0 </dev/null
536
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
537
# so uname gets run too.
538
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543
ac_default_prefix=/usr/local
545
ac_config_libobj_dir=.
552
# Identity of this package.
553
PACKAGE_NAME='zziplib for TeX Live'
554
PACKAGE_TARNAME='zziplib-for-tex-live'
555
PACKAGE_VERSION='0.13.58'
556
PACKAGE_STRING='zziplib for TeX Live 0.13.58'
557
PACKAGE_BUGREPORT='tex-k@tug.org'
560
ac_unique_file="zziplib-0.13.58/zziplib.spec"
561
# Factoring default headers for most tests.
562
ac_includes_default="\
564
#ifdef HAVE_SYS_TYPES_H
565
# include <sys/types.h>
567
#ifdef HAVE_SYS_STAT_H
568
# include <sys/stat.h>
574
# ifdef HAVE_STDLIB_H
579
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584
#ifdef HAVE_STRINGS_H
585
# include <strings.h>
587
#ifdef HAVE_INTTYPES_H
588
# include <inttypes.h>
597
ac_subst_vars='am__EXEEXT_FALSE
640
MAINTAINER_MODE_FALSE
650
INSTALL_STRIP_PROGRAM
692
program_transform_name
705
enable_option_checking
706
enable_maintainer_mode
707
enable_dependency_tracking
708
enable_compiler_warnings
713
ac_precious_vars='build_alias
724
# Initialize some variables set by options.
726
ac_init_version=false
727
ac_unrecognized_opts=
729
# The variables have the same names as the options, with
730
# dashes changed to underlines.
738
program_transform_name=s,x,x,
746
# Installation directory options.
747
# These are left unexpanded so users can "make install exec_prefix=/foo"
748
# and all the variables that are supposed to be based on exec_prefix
749
# by default will actually change.
750
# Use braces instead of parens because sh, perl, etc. also accept them.
751
# (The list follows the same order as the GNU Coding Standards.)
752
bindir='${exec_prefix}/bin'
753
sbindir='${exec_prefix}/sbin'
754
libexecdir='${exec_prefix}/libexec'
755
datarootdir='${prefix}/share'
756
datadir='${datarootdir}'
757
sysconfdir='${prefix}/etc'
758
sharedstatedir='${prefix}/com'
759
localstatedir='${prefix}/var'
760
includedir='${prefix}/include'
761
oldincludedir='/usr/include'
762
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
763
infodir='${datarootdir}/info'
768
libdir='${exec_prefix}/lib'
769
localedir='${datarootdir}/locale'
770
mandir='${datarootdir}/man'
776
# If the previous option needs an argument, assign it.
777
if test -n "$ac_prev"; then
778
eval $ac_prev=\$ac_option
784
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
788
# Accept the important Cygnus configure options, so we can diagnose typos.
790
case $ac_dashdash$ac_option in
794
-bindir | --bindir | --bindi | --bind | --bin | --bi)
796
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
799
-build | --build | --buil | --bui | --bu)
800
ac_prev=build_alias ;;
801
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
802
build_alias=$ac_optarg ;;
804
-cache-file | --cache-file | --cache-fil | --cache-fi \
805
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
806
ac_prev=cache_file ;;
807
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
808
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
809
cache_file=$ac_optarg ;;
812
cache_file=config.cache ;;
814
-datadir | --datadir | --datadi | --datad)
816
-datadir=* | --datadir=* | --datadi=* | --datad=*)
817
datadir=$ac_optarg ;;
819
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
820
| --dataroo | --dataro | --datar)
821
ac_prev=datarootdir ;;
822
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
823
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
824
datarootdir=$ac_optarg ;;
826
-disable-* | --disable-*)
827
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
828
# Reject names that are not valid shell variable names.
829
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
830
as_fn_error "invalid feature name: $ac_useropt"
831
ac_useropt_orig=$ac_useropt
832
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
833
case $ac_user_opts in
837
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
838
ac_unrecognized_sep=', ';;
840
eval enable_$ac_useropt=no ;;
842
-docdir | --docdir | --docdi | --doc | --do)
844
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
847
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
849
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
852
-enable-* | --enable-*)
853
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
854
# Reject names that are not valid shell variable names.
855
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
856
as_fn_error "invalid feature name: $ac_useropt"
857
ac_useropt_orig=$ac_useropt
858
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
859
case $ac_user_opts in
863
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
864
ac_unrecognized_sep=', ';;
866
eval enable_$ac_useropt=\$ac_optarg ;;
868
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
869
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
870
| --exec | --exe | --ex)
871
ac_prev=exec_prefix ;;
872
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
873
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
874
| --exec=* | --exe=* | --ex=*)
875
exec_prefix=$ac_optarg ;;
877
-gas | --gas | --ga | --g)
878
# Obsolete; use --with-gas.
881
-help | --help | --hel | --he | -h)
883
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
884
ac_init_help=recursive ;;
885
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
886
ac_init_help=short ;;
888
-host | --host | --hos | --ho)
889
ac_prev=host_alias ;;
890
-host=* | --host=* | --hos=* | --ho=*)
891
host_alias=$ac_optarg ;;
893
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
895
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
897
htmldir=$ac_optarg ;;
899
-includedir | --includedir | --includedi | --included | --include \
900
| --includ | --inclu | --incl | --inc)
901
ac_prev=includedir ;;
902
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
903
| --includ=* | --inclu=* | --incl=* | --inc=*)
904
includedir=$ac_optarg ;;
906
-infodir | --infodir | --infodi | --infod | --info | --inf)
908
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
909
infodir=$ac_optarg ;;
911
-libdir | --libdir | --libdi | --libd)
913
-libdir=* | --libdir=* | --libdi=* | --libd=*)
916
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
917
| --libexe | --libex | --libe)
918
ac_prev=libexecdir ;;
919
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
920
| --libexe=* | --libex=* | --libe=*)
921
libexecdir=$ac_optarg ;;
923
-localedir | --localedir | --localedi | --localed | --locale)
925
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
926
localedir=$ac_optarg ;;
928
-localstatedir | --localstatedir | --localstatedi | --localstated \
929
| --localstate | --localstat | --localsta | --localst | --locals)
930
ac_prev=localstatedir ;;
931
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
932
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
933
localstatedir=$ac_optarg ;;
935
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
937
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
941
# Obsolete; use --without-fp.
944
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
945
| --no-cr | --no-c | -n)
948
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
949
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
952
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
953
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
954
| --oldin | --oldi | --old | --ol | --o)
955
ac_prev=oldincludedir ;;
956
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
957
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
958
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
959
oldincludedir=$ac_optarg ;;
961
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
963
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
966
-program-prefix | --program-prefix | --program-prefi | --program-pref \
967
| --program-pre | --program-pr | --program-p)
968
ac_prev=program_prefix ;;
969
-program-prefix=* | --program-prefix=* | --program-prefi=* \
970
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
971
program_prefix=$ac_optarg ;;
973
-program-suffix | --program-suffix | --program-suffi | --program-suff \
974
| --program-suf | --program-su | --program-s)
975
ac_prev=program_suffix ;;
976
-program-suffix=* | --program-suffix=* | --program-suffi=* \
977
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
978
program_suffix=$ac_optarg ;;
980
-program-transform-name | --program-transform-name \
981
| --program-transform-nam | --program-transform-na \
982
| --program-transform-n | --program-transform- \
983
| --program-transform | --program-transfor \
984
| --program-transfo | --program-transf \
985
| --program-trans | --program-tran \
986
| --progr-tra | --program-tr | --program-t)
987
ac_prev=program_transform_name ;;
988
-program-transform-name=* | --program-transform-name=* \
989
| --program-transform-nam=* | --program-transform-na=* \
990
| --program-transform-n=* | --program-transform-=* \
991
| --program-transform=* | --program-transfor=* \
992
| --program-transfo=* | --program-transf=* \
993
| --program-trans=* | --program-tran=* \
994
| --progr-tra=* | --program-tr=* | --program-t=*)
995
program_transform_name=$ac_optarg ;;
997
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
999
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1000
pdfdir=$ac_optarg ;;
1002
-psdir | --psdir | --psdi | --psd | --ps)
1004
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1007
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1008
| -silent | --silent | --silen | --sile | --sil)
1011
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1013
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1015
sbindir=$ac_optarg ;;
1017
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1018
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1019
| --sharedst | --shareds | --shared | --share | --shar \
1021
ac_prev=sharedstatedir ;;
1022
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1023
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1024
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1026
sharedstatedir=$ac_optarg ;;
1028
-site | --site | --sit)
1030
-site=* | --site=* | --sit=*)
1033
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1035
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1036
srcdir=$ac_optarg ;;
1038
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1039
| --syscon | --sysco | --sysc | --sys | --sy)
1040
ac_prev=sysconfdir ;;
1041
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1042
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1043
sysconfdir=$ac_optarg ;;
1045
-target | --target | --targe | --targ | --tar | --ta | --t)
1046
ac_prev=target_alias ;;
1047
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1048
target_alias=$ac_optarg ;;
1050
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1053
-version | --version | --versio | --versi | --vers | -V)
1054
ac_init_version=: ;;
1057
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1058
# Reject names that are not valid shell variable names.
1059
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1060
as_fn_error "invalid package name: $ac_useropt"
1061
ac_useropt_orig=$ac_useropt
1062
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1063
case $ac_user_opts in
1067
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1068
ac_unrecognized_sep=', ';;
1070
eval with_$ac_useropt=\$ac_optarg ;;
1072
-without-* | --without-*)
1073
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1074
# Reject names that are not valid shell variable names.
1075
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1076
as_fn_error "invalid package name: $ac_useropt"
1077
ac_useropt_orig=$ac_useropt
1078
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1079
case $ac_user_opts in
1083
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1084
ac_unrecognized_sep=', ';;
1086
eval with_$ac_useropt=no ;;
1089
# Obsolete; use --with-x.
1092
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1093
| --x-incl | --x-inc | --x-in | --x-i)
1094
ac_prev=x_includes ;;
1095
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1096
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1097
x_includes=$ac_optarg ;;
1099
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1100
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1101
ac_prev=x_libraries ;;
1102
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1103
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1104
x_libraries=$ac_optarg ;;
1106
-*) as_fn_error "unrecognized option: \`$ac_option'
1107
Try \`$0 --help' for more information."
1111
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1112
# Reject names that are not valid shell variable names.
1113
case $ac_envvar in #(
1114
'' | [0-9]* | *[!_$as_cr_alnum]* )
1115
as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1117
eval $ac_envvar=\$ac_optarg
1118
export $ac_envvar ;;
1121
# FIXME: should be removed in autoconf 3.0.
1122
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1123
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1124
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1125
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1131
if test -n "$ac_prev"; then
1132
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1133
as_fn_error "missing argument to $ac_option"
1136
if test -n "$ac_unrecognized_opts"; then
1137
case $enable_option_checking in
1139
fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1140
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1144
# Check all directory arguments for consistency.
1145
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1146
datadir sysconfdir sharedstatedir localstatedir includedir \
1147
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1148
libdir localedir mandir
1150
eval ac_val=\$$ac_var
1151
# Remove trailing slashes.
1154
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1155
eval $ac_var=\$ac_val;;
1157
# Be sure to have absolute directory names.
1159
[\\/$]* | ?:[\\/]* ) continue;;
1160
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1162
as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1165
# There might be people who depend on the old broken behavior: `$host'
1166
# used to hold the argument of --host etc.
1167
# FIXME: To remove some day.
1170
target=$target_alias
1172
# FIXME: To remove some day.
1173
if test "x$host_alias" != x; then
1174
if test "x$build_alias" = x; then
1175
cross_compiling=maybe
1176
$as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1177
If a cross compiler is detected then cross compile mode will be used." >&2
1178
elif test "x$build_alias" != "x$host_alias"; then
1184
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1186
test "$silent" = yes && exec 6>/dev/null
1189
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1190
ac_ls_di=`ls -di .` &&
1191
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1192
as_fn_error "working directory cannot be determined"
1193
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1194
as_fn_error "pwd does not report name of working directory"
1197
# Find the source files, if location was not specified.
1198
if test -z "$srcdir"; then
1199
ac_srcdir_defaulted=yes
1200
# Try the directory containing this script, then the parent directory.
1201
ac_confdir=`$as_dirname -- "$as_myself" ||
1202
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1203
X"$as_myself" : 'X\(//\)[^/]' \| \
1204
X"$as_myself" : 'X\(//\)$' \| \
1205
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1206
$as_echo X"$as_myself" |
1207
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1225
if test ! -r "$srcdir/$ac_unique_file"; then
1229
ac_srcdir_defaulted=no
1231
if test ! -r "$srcdir/$ac_unique_file"; then
1232
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1233
as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1235
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1237
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1239
# When building in place, set srcdir=.
1240
if test "$ac_abs_confdir" = "$ac_pwd"; then
1243
# Remove unnecessary trailing slashes from srcdir.
1244
# Double slashes in file names in object file debugging info
1245
# mess up M-x gdb in Emacs.
1247
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1249
for ac_var in $ac_precious_vars; do
1250
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1251
eval ac_env_${ac_var}_value=\$${ac_var}
1252
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1253
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1257
# Report the --help message.
1259
if test "$ac_init_help" = "long"; then
1260
# Omit some internal or obsolete options to make the list less imposing.
1261
# This message is too long to be a string in the A/UX 3.1 sh.
1263
\`configure' configures zziplib for TeX Live 0.13.58 to adapt to many kinds of systems.
1265
Usage: $0 [OPTION]... [VAR=VALUE]...
1267
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1268
VAR=VALUE. See below for descriptions of some of the useful variables.
1270
Defaults for the options are specified in brackets.
1273
-h, --help display this help and exit
1274
--help=short display options specific to this package
1275
--help=recursive display the short help of all the included packages
1276
-V, --version display version information and exit
1277
-q, --quiet, --silent do not print \`checking...' messages
1278
--cache-file=FILE cache test results in FILE [disabled]
1279
-C, --config-cache alias for \`--cache-file=config.cache'
1280
-n, --no-create do not create output files
1281
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1283
Installation directories:
1284
--prefix=PREFIX install architecture-independent files in PREFIX
1285
@<:@@S|@ac_default_prefix@:>@
1286
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1289
By default, \`make install' will install all the files in
1290
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1291
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1292
for instance \`--prefix=\$HOME'.
1294
For better control, use the options below.
1296
Fine tuning of the installation directories:
1297
--bindir=DIR user executables [EPREFIX/bin]
1298
--sbindir=DIR system admin executables [EPREFIX/sbin]
1299
--libexecdir=DIR program executables [EPREFIX/libexec]
1300
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1301
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1302
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1303
--libdir=DIR object code libraries [EPREFIX/lib]
1304
--includedir=DIR C header files [PREFIX/include]
1305
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1306
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1307
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1308
--infodir=DIR info documentation [DATAROOTDIR/info]
1309
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1310
--mandir=DIR man documentation [DATAROOTDIR/man]
1311
--docdir=DIR documentation root
1312
@<:@DATAROOTDIR/doc/zziplib-for-tex-live@:>@
1313
--htmldir=DIR html documentation [DOCDIR]
1314
--dvidir=DIR dvi documentation [DOCDIR]
1315
--pdfdir=DIR pdf documentation [DOCDIR]
1316
--psdir=DIR ps documentation [DOCDIR]
1322
--program-prefix=PREFIX prepend PREFIX to installed program names
1323
--program-suffix=SUFFIX append SUFFIX to installed program names
1324
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1327
--build=BUILD configure for building on BUILD [guessed]
1328
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1332
if test -n "$ac_init_help"; then
1333
case $ac_init_help in
1334
short | recursive ) echo "Configuration of zziplib for TeX Live 0.13.58:";;
1339
--disable-option-checking ignore unrecognized --enable/--with options
1340
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1341
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1342
--enable-maintainer-mode enable make rules and dependencies not useful
1343
(and sometimes confusing) to the casual installer
1344
--disable-dependency-tracking speeds up one-time build
1345
--enable-dependency-tracking do not reject slow dependency extractors
1346
--enable-compiler-warnings=@<:@no|min|yes|max|all@:>@
1347
Turn on compiler warnings @<:@default: yes if
1348
maintainer-mode, min otherwise@:>@
1351
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1352
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1353
--with-system-zlib use installed zlib headers and library
1354
--with-zlib-includes=DIR
1355
zlib headers installed in DIR
1356
--with-zlib-libdir=DIR zlib library installed in DIR
1358
Some influential environment variables:
1359
CC C compiler command
1360
CFLAGS C compiler flags
1361
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1362
nonstandard directory <lib dir>
1363
LIBS libraries to pass to the linker, e.g. -l<library>
1364
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1365
you have headers in a nonstandard directory <include dir>
1368
Use these variables to override the choices made by `configure' or to help
1369
it to find libraries and programs with nonstandard names/locations.
1371
Report bugs to <tex-k@tug.org>.
1376
if test "$ac_init_help" = "recursive"; then
1377
# If there are subdirs, report their specific --help.
1378
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1379
test -d "$ac_dir" ||
1380
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1385
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1387
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1388
# A ".." for each directory in $ac_dir_suffix.
1389
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1390
case $ac_top_builddir_sub in
1391
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1392
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1395
ac_abs_top_builddir=$ac_pwd
1396
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1397
# for backward compatibility:
1398
ac_top_builddir=$ac_top_build_prefix
1401
.) # We are building in place.
1403
ac_top_srcdir=$ac_top_builddir_sub
1404
ac_abs_top_srcdir=$ac_pwd ;;
1405
[\\/]* | ?:[\\/]* ) # Absolute name.
1406
ac_srcdir=$srcdir$ac_dir_suffix;
1407
ac_top_srcdir=$srcdir
1408
ac_abs_top_srcdir=$srcdir ;;
1410
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1411
ac_top_srcdir=$ac_top_build_prefix$srcdir
1412
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1414
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1416
cd "$ac_dir" || { ac_status=$?; continue; }
1417
# Check for guested configure.
1418
if test -f "$ac_srcdir/configure.gnu"; then
1420
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1421
elif test -f "$ac_srcdir/configure"; then
1423
$SHELL "$ac_srcdir/configure" --help=recursive
1425
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1427
cd "$ac_pwd" || { ac_status=$?; break; }
1431
test -n "$ac_init_help" && exit $ac_status
1432
if $ac_init_version; then
1434
zziplib for TeX Live configure 0.13.58
1435
generated by GNU Autoconf 2.65
1437
Copyright (C) 2009 Free Software Foundation, Inc.
1438
This configure script is free software; the Free Software Foundation
1439
gives unlimited permission to copy, distribute and modify it.
1444
## ------------------------ ##
1445
## Autoconf initialization. ##
1446
## ------------------------ ##
1448
@%:@ ac_fn_c_try_compile LINENO
1449
@%:@ --------------------------
1450
@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1451
ac_fn_c_try_compile ()
1453
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1454
rm -f conftest.$ac_objext
1455
if { { ac_try="$ac_compile"
1457
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1458
*) ac_try_echo=$ac_try;;
1460
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1461
$as_echo "$ac_try_echo"; } >&5
1462
(eval "$ac_compile") 2>conftest.err
1464
if test -s conftest.err; then
1465
grep -v '^ *+' conftest.err >conftest.er1
1466
cat conftest.er1 >&5
1467
mv -f conftest.er1 conftest.err
1469
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1470
test $ac_status = 0; } && {
1471
test -z "$ac_c_werror_flag" ||
1472
test ! -s conftest.err
1473
} && test -s conftest.$ac_objext; then :
1476
$as_echo "$as_me: failed program was:" >&5
1477
sed 's/^/| /' conftest.$ac_ext >&5
1481
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1482
as_fn_set_status $ac_retval
1484
} @%:@ ac_fn_c_try_compile
1486
@%:@ ac_fn_c_try_cpp LINENO
1487
@%:@ ----------------------
1488
@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1491
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1492
if { { ac_try="$ac_cpp conftest.$ac_ext"
1494
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1495
*) ac_try_echo=$ac_try;;
1497
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1498
$as_echo "$ac_try_echo"; } >&5
1499
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1501
if test -s conftest.err; then
1502
grep -v '^ *+' conftest.err >conftest.er1
1503
cat conftest.er1 >&5
1504
mv -f conftest.er1 conftest.err
1506
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1507
test $ac_status = 0; } >/dev/null && {
1508
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1509
test ! -s conftest.err
1513
$as_echo "$as_me: failed program was:" >&5
1514
sed 's/^/| /' conftest.$ac_ext >&5
1518
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1519
as_fn_set_status $ac_retval
1521
} @%:@ ac_fn_c_try_cpp
1523
@%:@ ac_fn_c_try_run LINENO
1524
@%:@ ----------------------
1525
@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
1526
@%:@ that executables *can* be run.
1529
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1530
if { { ac_try="$ac_link"
1532
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1533
*) ac_try_echo=$ac_try;;
1535
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1536
$as_echo "$ac_try_echo"; } >&5
1537
(eval "$ac_link") 2>&5
1539
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1540
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1541
{ { case "(($ac_try" in
1542
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1543
*) ac_try_echo=$ac_try;;
1545
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1546
$as_echo "$ac_try_echo"; } >&5
1547
(eval "$ac_try") 2>&5
1549
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1550
test $ac_status = 0; }; }; then :
1553
$as_echo "$as_me: program exited with status $ac_status" >&5
1554
$as_echo "$as_me: failed program was:" >&5
1555
sed 's/^/| /' conftest.$ac_ext >&5
1557
ac_retval=$ac_status
1559
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1560
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1561
as_fn_set_status $ac_retval
1563
} @%:@ ac_fn_c_try_run
1565
@%:@ ac_fn_c_try_link LINENO
1566
@%:@ -----------------------
1567
@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1570
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1571
rm -f conftest.$ac_objext conftest$ac_exeext
1572
if { { ac_try="$ac_link"
1574
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1575
*) ac_try_echo=$ac_try;;
1577
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1578
$as_echo "$ac_try_echo"; } >&5
1579
(eval "$ac_link") 2>conftest.err
1581
if test -s conftest.err; then
1582
grep -v '^ *+' conftest.err >conftest.er1
1583
cat conftest.er1 >&5
1584
mv -f conftest.er1 conftest.err
1586
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1587
test $ac_status = 0; } && {
1588
test -z "$ac_c_werror_flag" ||
1589
test ! -s conftest.err
1590
} && test -s conftest$ac_exeext && {
1591
test "$cross_compiling" = yes ||
1592
$as_test_x conftest$ac_exeext
1596
$as_echo "$as_me: failed program was:" >&5
1597
sed 's/^/| /' conftest.$ac_ext >&5
1601
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1602
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1603
# interfere with the next link command; also delete a directory that is
1604
# left behind by Apple's compiler. We do this before executing the actions.
1605
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1606
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1607
as_fn_set_status $ac_retval
1609
} @%:@ ac_fn_c_try_link
1611
@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1612
@%:@ -------------------------------------------------------
1613
@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
1614
@%:@ the include files in INCLUDES and setting the cache variable VAR
1616
ac_fn_c_check_header_mongrel ()
1618
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1619
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1620
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1621
$as_echo_n "checking for $2... " >&6; }
1622
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1623
$as_echo_n "(cached) " >&6
1626
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1627
$as_echo "$ac_res" >&6; }
1629
# Is the header compilable?
1630
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1631
$as_echo_n "checking $2 usability... " >&6; }
1632
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1633
/* end confdefs.h. */
1637
if ac_fn_c_try_compile "$LINENO"; then :
1638
ac_header_compiler=yes
1640
ac_header_compiler=no
1642
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1643
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1644
$as_echo "$ac_header_compiler" >&6; }
1646
# Is the header present?
1647
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1648
$as_echo_n "checking $2 presence... " >&6; }
1649
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1650
/* end confdefs.h. */
1653
if ac_fn_c_try_cpp "$LINENO"; then :
1654
ac_header_preproc=yes
1656
ac_header_preproc=no
1658
rm -f conftest.err conftest.$ac_ext
1659
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1660
$as_echo "$ac_header_preproc" >&6; }
1662
# So? What about this header?
1663
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1665
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1666
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1667
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1668
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1671
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1672
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1673
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1674
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1675
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1676
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1677
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1678
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1679
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1680
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1682
## ---------------------------- ##
1683
## Report this to tex-k@tug.org ##
1684
## ---------------------------- ##
1686
) | sed "s/^/$as_me: WARNING: /" >&2
1689
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1690
$as_echo_n "checking for $2... " >&6; }
1691
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1692
$as_echo_n "(cached) " >&6
1694
eval "$3=\$ac_header_compiler"
1697
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1698
$as_echo "$ac_res" >&6; }
1700
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1702
} @%:@ ac_fn_c_check_header_mongrel
1704
@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1705
@%:@ -------------------------------------------------------
1706
@%:@ Tests whether HEADER exists and can be compiled using the include files in
1707
@%:@ INCLUDES, setting the cache variable VAR accordingly.
1708
ac_fn_c_check_header_compile ()
1710
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1711
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1712
$as_echo_n "checking for $2... " >&6; }
1713
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1714
$as_echo_n "(cached) " >&6
1716
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1717
/* end confdefs.h. */
1721
if ac_fn_c_try_compile "$LINENO"; then :
1726
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1729
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1730
$as_echo "$ac_res" >&6; }
1731
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1733
} @%:@ ac_fn_c_check_header_compile
1735
@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1736
@%:@ -------------------------------------------
1737
@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
1738
@%:@ variable VAR accordingly.
1739
ac_fn_c_check_type ()
1741
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1742
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1743
$as_echo_n "checking for $2... " >&6; }
1744
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1745
$as_echo_n "(cached) " >&6
1748
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1749
/* end confdefs.h. */
1760
if ac_fn_c_try_compile "$LINENO"; then :
1761
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1762
/* end confdefs.h. */
1773
if ac_fn_c_try_compile "$LINENO"; then :
1778
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1780
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1783
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1784
$as_echo "$ac_res" >&6; }
1785
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1787
} @%:@ ac_fn_c_check_type
1789
@%:@ ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1790
@%:@ --------------------------------------------
1791
@%:@ Tries to find the compile-time value of EXPR in a program that includes
1792
@%:@ INCLUDES, setting VAR accordingly. Returns whether the value could be
1794
ac_fn_c_compute_int ()
1796
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1797
if test "$cross_compiling" = yes; then
1798
# Depending upon the size, compute the lo and hi bounds.
1799
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1800
/* end confdefs.h. */
1805
static int test_array @<:@1 - 2 * !(($2) >= 0)@:>@;
1806
test_array @<:@0@:>@ = 0
1812
if ac_fn_c_try_compile "$LINENO"; then :
1815
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1816
/* end confdefs.h. */
1821
static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@;
1822
test_array @<:@0@:>@ = 0
1828
if ac_fn_c_try_compile "$LINENO"; then :
1829
ac_hi=$ac_mid; break
1831
as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1832
if test $ac_lo -le $ac_mid; then
1836
as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1838
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1841
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1842
/* end confdefs.h. */
1847
static int test_array @<:@1 - 2 * !(($2) < 0)@:>@;
1848
test_array @<:@0@:>@ = 0
1854
if ac_fn_c_try_compile "$LINENO"; then :
1857
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1858
/* end confdefs.h. */
1863
static int test_array @<:@1 - 2 * !(($2) >= $ac_mid)@:>@;
1864
test_array @<:@0@:>@ = 0
1870
if ac_fn_c_try_compile "$LINENO"; then :
1871
ac_lo=$ac_mid; break
1873
as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1874
if test $ac_mid -le $ac_hi; then
1878
as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1880
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1885
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1887
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1888
# Binary search between lo and hi bounds.
1889
while test "x$ac_lo" != "x$ac_hi"; do
1890
as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1891
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1892
/* end confdefs.h. */
1897
static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@;
1898
test_array @<:@0@:>@ = 0
1904
if ac_fn_c_try_compile "$LINENO"; then :
1907
as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1909
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1911
case $ac_lo in @%:@((
1912
?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1916
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1917
/* end confdefs.h. */
1919
static long int longval () { return $2; }
1920
static unsigned long int ulongval () { return $2; }
1921
@%:@include <stdio.h>
1922
@%:@include <stdlib.h>
1927
FILE *f = fopen ("conftest.val", "w");
1932
long int i = longval ();
1935
fprintf (f, "%ld", i);
1939
unsigned long int i = ulongval ();
1942
fprintf (f, "%lu", i);
1944
/* Do not output a trailing newline, as this causes \r\n confusion
1945
on some platforms. */
1946
return ferror (f) || fclose (f) != 0;
1952
if ac_fn_c_try_run "$LINENO"; then :
1953
echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1957
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1958
conftest.$ac_objext conftest.beam conftest.$ac_ext
1962
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1963
as_fn_set_status $ac_retval
1965
} @%:@ ac_fn_c_compute_int
1967
@%:@ ac_fn_c_check_func LINENO FUNC VAR
1968
@%:@ ----------------------------------
1969
@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
1970
ac_fn_c_check_func ()
1972
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1973
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1974
$as_echo_n "checking for $2... " >&6; }
1975
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1976
$as_echo_n "(cached) " >&6
1978
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1979
/* end confdefs.h. */
1980
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1981
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1982
#define $2 innocuous_$2
1984
/* System header to define __stub macros and hopefully few prototypes,
1985
which can conflict with char $2 (); below.
1986
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1987
<limits.h> exists even on freestanding compilers. */
1990
# include <limits.h>
1992
# include <assert.h>
1997
/* Override any GCC internal prototype to avoid an error.
1998
Use char because int might match the return type of a GCC
1999
builtin and then its argument prototype would still apply. */
2004
/* The GNU C library defines this for functions which it implements
2005
to always fail with ENOSYS. Some functions are actually named
2006
something starting with __ and the normal name is an alias. */
2007
#if defined __stub_$2 || defined __stub___$2
2019
if ac_fn_c_try_link "$LINENO"; then :
2024
rm -f core conftest.err conftest.$ac_objext \
2025
conftest$ac_exeext conftest.$ac_ext
2028
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2029
$as_echo "$ac_res" >&6; }
2030
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2032
} @%:@ ac_fn_c_check_func
2033
cat >config.log <<_ACEOF
2034
This file contains any messages produced by compilers while
2035
running configure, to aid debugging if configure makes a mistake.
2037
It was created by zziplib for TeX Live $as_me 0.13.58, which was
2038
generated by GNU Autoconf 2.65. Invocation command line was
2050
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2051
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2052
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2053
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2054
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2056
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2057
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2059
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2060
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2061
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2062
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2063
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2064
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2065
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2069
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2073
test -z "$as_dir" && as_dir=.
2074
$as_echo "PATH: $as_dir"
2090
# Keep a trace of the command line.
2091
# Strip out --no-create and --no-recursion so they do not pile up.
2092
# Strip out --silent because we don't want to record it for future runs.
2093
# Also quote any args containing shell meta-characters.
2094
# Make two passes to allow for proper duplicate-argument suppression.
2098
ac_must_keep_next=false
2104
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2105
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2106
| -silent | --silent | --silen | --sile | --sil)
2109
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2112
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2114
as_fn_append ac_configure_args1 " '$ac_arg'"
2115
if test $ac_must_keep_next = true; then
2116
ac_must_keep_next=false # Got value, back to normal.
2119
*=* | --config-cache | -C | -disable-* | --disable-* \
2120
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2121
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2122
| -with-* | --with-* | -without-* | --without-* | --x)
2123
case "$ac_configure_args0 " in
2124
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2127
-* ) ac_must_keep_next=true ;;
2130
as_fn_append ac_configure_args " '$ac_arg'"
2135
{ ac_configure_args0=; unset ac_configure_args0;}
2136
{ ac_configure_args1=; unset ac_configure_args1;}
2138
# When interrupted or exit'd, cleanup temporary files, and complete
2139
# config.log. We remove comments because anyway the quotes in there
2140
# would cause problems or look ugly.
2141
# WARNING: Use '\'' to represent an apostrophe within the trap.
2142
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2143
trap 'exit_status=$?
2144
# Save into config.log some information that might help in debugging.
2149
## ---------------- ##
2150
## Cache variables. ##
2151
## ---------------- ##
2154
# The following way of writing the cache mishandles newlines in values,
2156
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2157
eval ac_val=\$$ac_var
2161
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2162
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2165
_ | IFS | as_nl) ;; #(
2166
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2167
*) { eval $ac_var=; unset $ac_var;} ;;
2172
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2173
*${as_nl}ac_space=\ *)
2175
"s/'\''/'\''\\\\'\'''\''/g;
2176
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2179
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2187
## ----------------- ##
2188
## Output variables. ##
2189
## ----------------- ##
2192
for ac_var in $ac_subst_vars
2194
eval ac_val=\$$ac_var
2196
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2198
$as_echo "$ac_var='\''$ac_val'\''"
2202
if test -n "$ac_subst_files"; then
2204
## ------------------- ##
2205
## File substitutions. ##
2206
## ------------------- ##
2209
for ac_var in $ac_subst_files
2211
eval ac_val=\$$ac_var
2213
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2215
$as_echo "$ac_var='\''$ac_val'\''"
2220
if test -s confdefs.h; then
2230
test "$ac_signal" != 0 &&
2231
$as_echo "$as_me: caught signal $ac_signal"
2232
$as_echo "$as_me: exit $exit_status"
2234
rm -f core *.core core.conftest.* &&
2235
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2238
for ac_signal in 1 2 13 15; do
2239
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2243
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2244
rm -f -r conftest* confdefs.h
2246
$as_echo "/* confdefs.h */" > confdefs.h
2248
# Predefined preprocessor variables.
2250
cat >>confdefs.h <<_ACEOF
2251
@%:@define PACKAGE_NAME "$PACKAGE_NAME"
2254
cat >>confdefs.h <<_ACEOF
2255
@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2258
cat >>confdefs.h <<_ACEOF
2259
@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
2262
cat >>confdefs.h <<_ACEOF
2263
@%:@define PACKAGE_STRING "$PACKAGE_STRING"
2266
cat >>confdefs.h <<_ACEOF
2267
@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2270
cat >>confdefs.h <<_ACEOF
2271
@%:@define PACKAGE_URL "$PACKAGE_URL"
2275
# Let the site file select an alternate cache file if it wants to.
2276
# Prefer an explicitly selected file to automatically selected ones.
2279
if test -n "$CONFIG_SITE"; then
2280
ac_site_file1=$CONFIG_SITE
2281
elif test "x$prefix" != xNONE; then
2282
ac_site_file1=$prefix/share/config.site
2283
ac_site_file2=$prefix/etc/config.site
2285
ac_site_file1=$ac_default_prefix/share/config.site
2286
ac_site_file2=$ac_default_prefix/etc/config.site
2288
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2290
test "x$ac_site_file" = xNONE && continue
2291
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2292
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2293
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2294
sed 's/^/| /' "$ac_site_file" >&5
2299
if test -r "$cache_file"; then
2300
# Some versions of bash will fail to source /dev/null (special files
2301
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2302
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2303
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2304
$as_echo "$as_me: loading cache $cache_file" >&6;}
2306
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2307
*) . "./$cache_file";;
2311
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2312
$as_echo "$as_me: creating cache $cache_file" >&6;}
2316
# Check that the precious variables saved in the cache have kept the same
2318
ac_cache_corrupted=false
2319
for ac_var in $ac_precious_vars; do
2320
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2321
eval ac_new_set=\$ac_env_${ac_var}_set
2322
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2323
eval ac_new_val=\$ac_env_${ac_var}_value
2324
case $ac_old_set,$ac_new_set in
2326
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2327
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2328
ac_cache_corrupted=: ;;
2330
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2331
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2332
ac_cache_corrupted=: ;;
2335
if test "x$ac_old_val" != "x$ac_new_val"; then
2336
# differences in whitespace do not lead to failure.
2337
ac_old_val_w=`echo x $ac_old_val`
2338
ac_new_val_w=`echo x $ac_new_val`
2339
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2340
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2341
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2342
ac_cache_corrupted=:
2344
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2345
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2346
eval $ac_var=\$ac_old_val
2348
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2349
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2350
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2351
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2354
# Pass precious variables to config.status.
2355
if test "$ac_new_set" = set; then
2357
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2358
*) ac_arg=$ac_var=$ac_new_val ;;
2360
case " $ac_configure_args " in
2361
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2362
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2366
if $ac_cache_corrupted; then
2367
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2368
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2369
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2370
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2371
as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2373
## -------------------- ##
2374
## Main body of script. ##
2375
## -------------------- ##
2378
ac_cpp='$CPP $CPPFLAGS'
2379
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2380
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2381
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2387
for ac_dir in ../../build-aux "$srcdir"/../../build-aux; do
2388
for ac_t in install-sh install.sh shtool; do
2389
if test -f "$ac_dir/$ac_t"; then
2391
ac_install_sh="$ac_aux_dir/$ac_t -c"
2396
if test -z "$ac_aux_dir"; then
2397
as_fn_error "cannot find install-sh, install.sh, or shtool in ../../build-aux \"$srcdir\"/../../build-aux" "$LINENO" 5
2400
# These three variables are undocumented and unsupported,
2401
# and are intended to be withdrawn in a future Autoconf release.
2402
# They can cause serious problems if a builder's source tree is in a directory
2403
# whose full name contains unusual characters.
2404
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2405
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2406
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2411
am__api_version='1.11'
2413
# Find a good install program. We prefer a C program (faster),
2414
# so one script is as good as another. But avoid the broken or
2415
# incompatible versions:
2416
# SysV /etc/install, /usr/sbin/install
2417
# SunOS /usr/etc/install
2418
# IRIX /sbin/install
2420
# AmigaOS /C/install, which installs bootblocks on floppy discs
2421
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2422
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2423
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2424
# OS/2's system install, which has a completely different semantic
2425
# ./install, which can be erroneously created by make from ./install.sh.
2426
# Reject install programs that cannot install multiple files.
2427
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2428
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2429
if test -z "$INSTALL"; then
2430
if test "${ac_cv_path_install+set}" = set; then :
2431
$as_echo_n "(cached) " >&6
2433
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2437
test -z "$as_dir" && as_dir=.
2438
# Account for people who put trailing slashes in PATH elements.
2439
case $as_dir/ in @%:@((
2440
./ | .// | /[cC]/* | \
2441
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2442
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2445
# OSF1 and SCO ODT 3.0 have their own names for install.
2446
# Don't use installbsd from OSF since it installs stuff as root
2448
for ac_prog in ginstall scoinst install; do
2449
for ac_exec_ext in '' $ac_executable_extensions; do
2450
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2451
if test $ac_prog = install &&
2452
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2453
# AIX install. It has an incompatible calling convention.
2455
elif test $ac_prog = install &&
2456
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2457
# program-specific install script used by HP pwplus--don't use.
2460
rm -rf conftest.one conftest.two conftest.dir
2461
echo one > conftest.one
2462
echo two > conftest.two
2464
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2465
test -s conftest.one && test -s conftest.two &&
2466
test -s conftest.dir/conftest.one &&
2467
test -s conftest.dir/conftest.two
2469
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2482
rm -rf conftest.one conftest.two conftest.dir
2485
if test "${ac_cv_path_install+set}" = set; then
2486
INSTALL=$ac_cv_path_install
2488
# As a last resort, use the slow shell script. Don't cache a
2489
# value for INSTALL within a source directory, because that will
2490
# break other packages using the cache if that directory is
2491
# removed, or if the value is a relative name.
2492
INSTALL=$ac_install_sh
2495
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2496
$as_echo "$INSTALL" >&6; }
2498
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2499
# It thinks the first close brace ends the variable substitution.
2500
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2502
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2504
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2506
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2507
$as_echo_n "checking whether build environment is sane... " >&6; }
2510
echo timestamp > conftest.file
2511
# Reject unsafe characters in $srcdir or the absolute working directory
2512
# name. Accept space and tab only in the latter.
2516
*[\\\"\#\$\&\'\`$am_lf]*)
2517
as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2520
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2521
as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2524
# Do `set' in a subshell so we don't clobber the current shell's
2525
# arguments. Must try -L first in case configure is actually a
2526
# symlink; some systems play weird games with the mod time of symlinks
2527
# (eg FreeBSD returns the mod time of the symlink's containing
2530
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2531
if test "$*" = "X"; then
2533
set X `ls -t "$srcdir/configure" conftest.file`
2536
if test "$*" != "X $srcdir/configure conftest.file" \
2537
&& test "$*" != "X conftest.file $srcdir/configure"; then
2539
# If neither matched, then we have a broken ls. This can happen
2540
# if, for instance, CONFIG_SHELL is bash and it inherits a
2541
# broken ls alias from the environment. This has actually
2542
# happened. Such a system could not be considered "sane".
2543
as_fn_error "ls -t appears to fail. Make sure there is not a broken
2544
alias in your environment" "$LINENO" 5
2547
test "$2" = conftest.file
2553
as_fn_error "newly created file is older than distributed files!
2554
Check your system clock" "$LINENO" 5
2556
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2557
$as_echo "yes" >&6; }
2558
test "$program_prefix" != NONE &&
2559
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2560
# Use a double $ so make ignores it.
2561
test "$program_suffix" != NONE &&
2562
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2563
# Double any \ or $.
2564
# By default was `s,x,x', remove it if useless.
2565
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2566
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2568
# expand $ac_aux_dir to an absolute path
2569
am_aux_dir=`cd $ac_aux_dir && pwd`
2571
if test x"${MISSING+set}" != xset; then
2574
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2576
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2579
# Use eval to expand $SHELL
2580
if eval "$MISSING --run true"; then
2581
am_missing_run="$MISSING --run "
2584
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2585
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2588
if test x"${install_sh}" != xset; then
2591
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2593
install_sh="\${SHELL} $am_aux_dir/install-sh"
2597
# Installed binaries are usually stripped using `strip' when the user
2598
# run `make install-strip'. However `strip' might not be the right
2599
# tool to use in cross-compilation environments, therefore Automake
2600
# will honor the `STRIP' environment variable to overrule this program.
2601
if test "$cross_compiling" != no; then
2602
if test -n "$ac_tool_prefix"; then
2603
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2604
set dummy ${ac_tool_prefix}strip; ac_word=$2
2605
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2606
$as_echo_n "checking for $ac_word... " >&6; }
2607
if test "${ac_cv_prog_STRIP+set}" = set; then :
2608
$as_echo_n "(cached) " >&6
2610
if test -n "$STRIP"; then
2611
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2613
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2617
test -z "$as_dir" && as_dir=.
2618
for ac_exec_ext in '' $ac_executable_extensions; do
2619
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2620
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2621
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2630
STRIP=$ac_cv_prog_STRIP
2631
if test -n "$STRIP"; then
2632
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2633
$as_echo "$STRIP" >&6; }
2635
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2636
$as_echo "no" >&6; }
2641
if test -z "$ac_cv_prog_STRIP"; then
2643
# Extract the first word of "strip", so it can be a program name with args.
2644
set dummy strip; ac_word=$2
2645
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2646
$as_echo_n "checking for $ac_word... " >&6; }
2647
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2648
$as_echo_n "(cached) " >&6
2650
if test -n "$ac_ct_STRIP"; then
2651
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2653
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2657
test -z "$as_dir" && as_dir=.
2658
for ac_exec_ext in '' $ac_executable_extensions; do
2659
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2660
ac_cv_prog_ac_ct_STRIP="strip"
2661
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2670
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2671
if test -n "$ac_ct_STRIP"; then
2672
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2673
$as_echo "$ac_ct_STRIP" >&6; }
2675
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2676
$as_echo "no" >&6; }
2679
if test "x$ac_ct_STRIP" = x; then
2682
case $cross_compiling:$ac_tool_warned in
2684
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2685
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2686
ac_tool_warned=yes ;;
2691
STRIP="$ac_cv_prog_STRIP"
2695
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2697
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2698
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2699
if test -z "$MKDIR_P"; then
2700
if test "${ac_cv_path_mkdir+set}" = set; then :
2701
$as_echo_n "(cached) " >&6
2703
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2704
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2707
test -z "$as_dir" && as_dir=.
2708
for ac_prog in mkdir gmkdir; do
2709
for ac_exec_ext in '' $ac_executable_extensions; do
2710
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2711
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2712
'mkdir (GNU coreutils) '* | \
2713
'mkdir (coreutils) '* | \
2714
'mkdir (fileutils) '4.1*)
2715
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2725
test -d ./--version && rmdir ./--version
2726
if test "${ac_cv_path_mkdir+set}" = set; then
2727
MKDIR_P="$ac_cv_path_mkdir -p"
2729
# As a last resort, use the slow shell script. Don't cache a
2730
# value for MKDIR_P within a source directory, because that will
2731
# break other packages using the cache if that directory is
2732
# removed, or if the value is a relative name.
2733
MKDIR_P="$ac_install_sh -d"
2736
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2737
$as_echo "$MKDIR_P" >&6; }
2741
[\\/$]* | ?:[\\/]*) ;;
2742
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2745
for ac_prog in gawk mawk nawk awk
2747
# Extract the first word of "$ac_prog", so it can be a program name with args.
2748
set dummy $ac_prog; ac_word=$2
2749
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2750
$as_echo_n "checking for $ac_word... " >&6; }
2751
if test "${ac_cv_prog_AWK+set}" = set; then :
2752
$as_echo_n "(cached) " >&6
2754
if test -n "$AWK"; then
2755
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2757
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2761
test -z "$as_dir" && as_dir=.
2762
for ac_exec_ext in '' $ac_executable_extensions; do
2763
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2764
ac_cv_prog_AWK="$ac_prog"
2765
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2775
if test -n "$AWK"; then
2776
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2777
$as_echo "$AWK" >&6; }
2779
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2780
$as_echo "no" >&6; }
2784
test -n "$AWK" && break
2787
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2788
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2790
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2791
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2792
$as_echo_n "(cached) " >&6
2794
cat >conftest.make <<\_ACEOF
2797
@echo '@@@%%%=$(MAKE)=@@@%%%'
2799
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2800
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2802
eval ac_cv_prog_make_${ac_make}_set=yes;;
2804
eval ac_cv_prog_make_${ac_make}_set=no;;
2808
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2809
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2810
$as_echo "yes" >&6; }
2813
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2814
$as_echo "no" >&6; }
2815
SET_MAKE="MAKE=${MAKE-make}"
2818
rm -rf .tst 2>/dev/null
2819
mkdir .tst 2>/dev/null
2820
if test -d .tst; then
2825
rmdir .tst 2>/dev/null
2827
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2828
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2829
# is not polluted with repeated "-I."
2830
am__isrc=' -I$(srcdir)'
2831
# test to see if srcdir already configured
2832
if test -f $srcdir/config.status; then
2833
as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2837
# test whether we have cygpath
2838
if test -z "$CYGPATH_W"; then
2839
if (cygpath --version) >/dev/null 2>/dev/null; then
2840
CYGPATH_W='cygpath -w'
2847
# Define the identity of the package.
2848
PACKAGE='zziplib-for-tex-live'
2852
cat >>confdefs.h <<_ACEOF
2853
@%:@define PACKAGE "$PACKAGE"
2857
cat >>confdefs.h <<_ACEOF
2858
@%:@define VERSION "$VERSION"
2861
# Some tools Automake needs.
2863
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2866
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2869
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2872
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2875
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2877
# We need awk for the "check" target. The system "awk" is bad on
2879
# Always define AMTAR for backward compatibility.
2881
AMTAR=${AMTAR-"${am_missing_run}tar"}
2883
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2890
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2891
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2892
@%:@ Check whether --enable-maintainer-mode was given.
2893
if test "${enable_maintainer_mode+set}" = set; then :
2894
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2896
USE_MAINTAINER_MODE=no
2899
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2900
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2901
if test $USE_MAINTAINER_MODE = yes; then
2902
MAINTAINER_MODE_TRUE=
2903
MAINTAINER_MODE_FALSE='#'
2905
MAINTAINER_MODE_TRUE='#'
2906
MAINTAINER_MODE_FALSE=
2909
MAINT=$MAINTAINER_MODE_TRUE
2913
# Make sure we can run config.sub.
2914
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2915
as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2917
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2918
$as_echo_n "checking build system type... " >&6; }
2919
if test "${ac_cv_build+set}" = set; then :
2920
$as_echo_n "(cached) " >&6
2922
ac_build_alias=$build_alias
2923
test "x$ac_build_alias" = x &&
2924
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2925
test "x$ac_build_alias" = x &&
2926
as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2927
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2928
as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2931
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2932
$as_echo "$ac_cv_build" >&6; }
2933
case $ac_cv_build in
2935
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2938
ac_save_IFS=$IFS; IFS='-'
2944
# Remember, the first character of IFS is used to create $*,
2945
# except with old shells:
2948
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2951
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2952
$as_echo_n "checking host system type... " >&6; }
2953
if test "${ac_cv_host+set}" = set; then :
2954
$as_echo_n "(cached) " >&6
2956
if test "x$host_alias" = x; then
2957
ac_cv_host=$ac_cv_build
2959
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2960
as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2964
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2965
$as_echo "$ac_cv_host" >&6; }
2968
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2971
ac_save_IFS=$IFS; IFS='-'
2977
# Remember, the first character of IFS is used to create $*,
2978
# except with old shells:
2981
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2985
# Checks for programs.
2987
ac_cpp='$CPP $CPPFLAGS'
2988
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2989
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2990
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2991
if test -n "$ac_tool_prefix"; then
2992
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2993
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2994
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2995
$as_echo_n "checking for $ac_word... " >&6; }
2996
if test "${ac_cv_prog_CC+set}" = set; then :
2997
$as_echo_n "(cached) " >&6
2999
if test -n "$CC"; then
3000
ac_cv_prog_CC="$CC" # Let the user override the test.
3002
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3006
test -z "$as_dir" && as_dir=.
3007
for ac_exec_ext in '' $ac_executable_extensions; do
3008
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3009
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3010
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3020
if test -n "$CC"; then
3021
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3022
$as_echo "$CC" >&6; }
3024
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3025
$as_echo "no" >&6; }
3030
if test -z "$ac_cv_prog_CC"; then
3032
# Extract the first word of "gcc", so it can be a program name with args.
3033
set dummy gcc; ac_word=$2
3034
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3035
$as_echo_n "checking for $ac_word... " >&6; }
3036
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3037
$as_echo_n "(cached) " >&6
3039
if test -n "$ac_ct_CC"; then
3040
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3042
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3046
test -z "$as_dir" && as_dir=.
3047
for ac_exec_ext in '' $ac_executable_extensions; do
3048
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3049
ac_cv_prog_ac_ct_CC="gcc"
3050
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3059
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3060
if test -n "$ac_ct_CC"; then
3061
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3062
$as_echo "$ac_ct_CC" >&6; }
3064
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3065
$as_echo "no" >&6; }
3068
if test "x$ac_ct_CC" = x; then
3071
case $cross_compiling:$ac_tool_warned in
3073
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3074
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3075
ac_tool_warned=yes ;;
3083
if test -z "$CC"; then
3084
if test -n "$ac_tool_prefix"; then
3085
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3086
set dummy ${ac_tool_prefix}cc; ac_word=$2
3087
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3088
$as_echo_n "checking for $ac_word... " >&6; }
3089
if test "${ac_cv_prog_CC+set}" = set; then :
3090
$as_echo_n "(cached) " >&6
3092
if test -n "$CC"; then
3093
ac_cv_prog_CC="$CC" # Let the user override the test.
3095
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3099
test -z "$as_dir" && as_dir=.
3100
for ac_exec_ext in '' $ac_executable_extensions; do
3101
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3102
ac_cv_prog_CC="${ac_tool_prefix}cc"
3103
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3113
if test -n "$CC"; then
3114
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3115
$as_echo "$CC" >&6; }
3117
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3118
$as_echo "no" >&6; }
3124
if test -z "$CC"; then
3125
# Extract the first word of "cc", so it can be a program name with args.
3126
set dummy cc; ac_word=$2
3127
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3128
$as_echo_n "checking for $ac_word... " >&6; }
3129
if test "${ac_cv_prog_CC+set}" = set; then :
3130
$as_echo_n "(cached) " >&6
3132
if test -n "$CC"; then
3133
ac_cv_prog_CC="$CC" # Let the user override the test.
3136
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3140
test -z "$as_dir" && as_dir=.
3141
for ac_exec_ext in '' $ac_executable_extensions; do
3142
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3143
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3144
ac_prog_rejected=yes
3148
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3155
if test $ac_prog_rejected = yes; then
3156
# We found a bogon in the path, so make sure we never use it.
3157
set dummy $ac_cv_prog_CC
3159
if test $@%:@ != 0; then
3160
# We chose a different compiler from the bogus one.
3161
# However, it has the same basename, so the bogon will be chosen
3162
# first if we set CC to just the basename; use the full file name.
3164
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3170
if test -n "$CC"; then
3171
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3172
$as_echo "$CC" >&6; }
3174
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3175
$as_echo "no" >&6; }
3180
if test -z "$CC"; then
3181
if test -n "$ac_tool_prefix"; then
3182
for ac_prog in cl.exe
3184
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3185
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3186
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3187
$as_echo_n "checking for $ac_word... " >&6; }
3188
if test "${ac_cv_prog_CC+set}" = set; then :
3189
$as_echo_n "(cached) " >&6
3191
if test -n "$CC"; then
3192
ac_cv_prog_CC="$CC" # Let the user override the test.
3194
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3198
test -z "$as_dir" && as_dir=.
3199
for ac_exec_ext in '' $ac_executable_extensions; do
3200
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3201
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3202
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3212
if test -n "$CC"; then
3213
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3214
$as_echo "$CC" >&6; }
3216
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3217
$as_echo "no" >&6; }
3221
test -n "$CC" && break
3224
if test -z "$CC"; then
3226
for ac_prog in cl.exe
3228
# Extract the first word of "$ac_prog", so it can be a program name with args.
3229
set dummy $ac_prog; ac_word=$2
3230
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3231
$as_echo_n "checking for $ac_word... " >&6; }
3232
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3233
$as_echo_n "(cached) " >&6
3235
if test -n "$ac_ct_CC"; then
3236
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3238
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3242
test -z "$as_dir" && as_dir=.
3243
for ac_exec_ext in '' $ac_executable_extensions; do
3244
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3245
ac_cv_prog_ac_ct_CC="$ac_prog"
3246
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3255
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3256
if test -n "$ac_ct_CC"; then
3257
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3258
$as_echo "$ac_ct_CC" >&6; }
3260
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3261
$as_echo "no" >&6; }
3265
test -n "$ac_ct_CC" && break
3268
if test "x$ac_ct_CC" = x; then
3271
case $cross_compiling:$ac_tool_warned in
3273
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3274
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3275
ac_tool_warned=yes ;;
3284
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3285
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3286
as_fn_error "no acceptable C compiler found in \$PATH
3287
See \`config.log' for more details." "$LINENO" 5; }
3289
# Provide some information about the compiler.
3290
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3293
for ac_option in --version -v -V -qversion; do
3294
{ { ac_try="$ac_compiler $ac_option >&5"
3296
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3297
*) ac_try_echo=$ac_try;;
3299
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3300
$as_echo "$ac_try_echo"; } >&5
3301
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3303
if test -s conftest.err; then
3305
... rest of stderr output deleted ...
3306
10q' conftest.err >conftest.er1
3307
cat conftest.er1 >&5
3309
rm -f conftest.er1 conftest.err
3310
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3311
test $ac_status = 0; }
3314
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3315
/* end confdefs.h. */
3325
ac_clean_files_save=$ac_clean_files
3326
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3327
# Try to create an executable without -o first, disregard a.out.
3328
# It will help us diagnose broken compilers, and finding out an intuition
3330
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3331
$as_echo_n "checking whether the C compiler works... " >&6; }
3332
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3334
# The possible output files:
3335
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3338
for ac_file in $ac_files
3341
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3342
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3347
if { { ac_try="$ac_link_default"
3349
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3350
*) ac_try_echo=$ac_try;;
3352
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3353
$as_echo "$ac_try_echo"; } >&5
3354
(eval "$ac_link_default") 2>&5
3356
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3357
test $ac_status = 0; }; then :
3358
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3359
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3360
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3361
# so that the user can short-circuit this test for compilers unknown to
3363
for ac_file in $ac_files ''
3365
test -f "$ac_file" || continue
3367
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3370
# We found the default executable, but exeext='' is most
3374
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3376
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3378
# We set ac_cv_exeext here because the later test for it is not
3379
# safe: cross compilers may not add the suffix if given an `-o'
3380
# argument, so we may need to know it at that point already.
3381
# Even if this section looks crufty: it has the advantage of
3388
test "$ac_cv_exeext" = no && ac_cv_exeext=
3393
if test -z "$ac_file"; then :
3394
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3395
$as_echo "no" >&6; }
3396
$as_echo "$as_me: failed program was:" >&5
3397
sed 's/^/| /' conftest.$ac_ext >&5
3399
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3400
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3401
{ as_fn_set_status 77
3402
as_fn_error "C compiler cannot create executables
3403
See \`config.log' for more details." "$LINENO" 5; }; }
3405
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3406
$as_echo "yes" >&6; }
3408
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3409
$as_echo_n "checking for C compiler default output file name... " >&6; }
3410
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3411
$as_echo "$ac_file" >&6; }
3412
ac_exeext=$ac_cv_exeext
3414
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3415
ac_clean_files=$ac_clean_files_save
3416
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3417
$as_echo_n "checking for suffix of executables... " >&6; }
3418
if { { ac_try="$ac_link"
3420
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3421
*) ac_try_echo=$ac_try;;
3423
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3424
$as_echo "$ac_try_echo"; } >&5
3425
(eval "$ac_link") 2>&5
3427
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3428
test $ac_status = 0; }; then :
3429
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3430
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3431
# work properly (i.e., refer to `conftest.exe'), while it won't with
3433
for ac_file in conftest.exe conftest conftest.*; do
3434
test -f "$ac_file" || continue
3436
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3437
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3443
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3444
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3445
as_fn_error "cannot compute suffix of executables: cannot compile and link
3446
See \`config.log' for more details." "$LINENO" 5; }
3448
rm -f conftest conftest$ac_cv_exeext
3449
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3450
$as_echo "$ac_cv_exeext" >&6; }
3452
rm -f conftest.$ac_ext
3453
EXEEXT=$ac_cv_exeext
3455
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3456
/* end confdefs.h. */
3457
@%:@include <stdio.h>
3461
FILE *f = fopen ("conftest.out", "w");
3462
return ferror (f) || fclose (f) != 0;
3468
ac_clean_files="$ac_clean_files conftest.out"
3469
# Check that the compiler produces executables we can run. If not, either
3470
# the compiler is broken, or we cross compile.
3471
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3472
$as_echo_n "checking whether we are cross compiling... " >&6; }
3473
if test "$cross_compiling" != yes; then
3474
{ { ac_try="$ac_link"
3476
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3477
*) ac_try_echo=$ac_try;;
3479
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3480
$as_echo "$ac_try_echo"; } >&5
3481
(eval "$ac_link") 2>&5
3483
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3484
test $ac_status = 0; }
3485
if { ac_try='./conftest$ac_cv_exeext'
3486
{ { case "(($ac_try" in
3487
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3488
*) ac_try_echo=$ac_try;;
3490
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3491
$as_echo "$ac_try_echo"; } >&5
3492
(eval "$ac_try") 2>&5
3494
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3495
test $ac_status = 0; }; }; then
3498
if test "$cross_compiling" = maybe; then
3501
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3502
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3503
as_fn_error "cannot run C compiled programs.
3504
If you meant to cross compile, use \`--host'.
3505
See \`config.log' for more details." "$LINENO" 5; }
3509
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3510
$as_echo "$cross_compiling" >&6; }
3512
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3513
ac_clean_files=$ac_clean_files_save
3514
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3515
$as_echo_n "checking for suffix of object files... " >&6; }
3516
if test "${ac_cv_objext+set}" = set; then :
3517
$as_echo_n "(cached) " >&6
3519
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3520
/* end confdefs.h. */
3530
rm -f conftest.o conftest.obj
3531
if { { ac_try="$ac_compile"
3533
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3534
*) ac_try_echo=$ac_try;;
3536
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3537
$as_echo "$ac_try_echo"; } >&5
3538
(eval "$ac_compile") 2>&5
3540
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3541
test $ac_status = 0; }; then :
3542
for ac_file in conftest.o conftest.obj conftest.*; do
3543
test -f "$ac_file" || continue;
3545
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3546
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3551
$as_echo "$as_me: failed program was:" >&5
3552
sed 's/^/| /' conftest.$ac_ext >&5
3554
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3555
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3556
as_fn_error "cannot compute suffix of object files: cannot compile
3557
See \`config.log' for more details." "$LINENO" 5; }
3559
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3561
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3562
$as_echo "$ac_cv_objext" >&6; }
3563
OBJEXT=$ac_cv_objext
3565
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3566
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3567
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3568
$as_echo_n "(cached) " >&6
3570
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3571
/* end confdefs.h. */
3584
if ac_fn_c_try_compile "$LINENO"; then :
3589
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3590
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3593
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3594
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3595
if test $ac_compiler_gnu = yes; then
3600
ac_test_CFLAGS=${CFLAGS+set}
3601
ac_save_CFLAGS=$CFLAGS
3602
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3603
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3604
if test "${ac_cv_prog_cc_g+set}" = set; then :
3605
$as_echo_n "(cached) " >&6
3607
ac_save_c_werror_flag=$ac_c_werror_flag
3608
ac_c_werror_flag=yes
3611
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3612
/* end confdefs.h. */
3622
if ac_fn_c_try_compile "$LINENO"; then :
3626
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3627
/* end confdefs.h. */
3637
if ac_fn_c_try_compile "$LINENO"; then :
3640
ac_c_werror_flag=$ac_save_c_werror_flag
3642
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3643
/* end confdefs.h. */
3653
if ac_fn_c_try_compile "$LINENO"; then :
3656
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3658
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3660
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3661
ac_c_werror_flag=$ac_save_c_werror_flag
3663
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3664
$as_echo "$ac_cv_prog_cc_g" >&6; }
3665
if test "$ac_test_CFLAGS" = set; then
3666
CFLAGS=$ac_save_CFLAGS
3667
elif test $ac_cv_prog_cc_g = yes; then
3668
if test "$GCC" = yes; then
3674
if test "$GCC" = yes; then
3680
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3681
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3682
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3683
$as_echo_n "(cached) " >&6
3685
ac_cv_prog_cc_c89=no
3687
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3688
/* end confdefs.h. */
3691
#include <sys/types.h>
3692
#include <sys/stat.h>
3693
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3694
struct buf { int x; };
3695
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3696
static char *e (p, i)
3702
static char *f (char * (*g) (char **, int), char **p, ...)
3707
s = g (p, va_arg (v,int));
3712
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3713
function prototypes and stuff, but not '\xHH' hex character constants.
3714
These don't provoke an error unfortunately, instead are silently treated
3715
as 'x'. The following induces an error, until -std is added to get
3716
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3717
array size at least. It's necessary to write '\x00'==0 to get something
3718
that's true only with -std. */
3719
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3721
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3722
inside strings and character constants. */
3724
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3726
int test (int i, double x);
3727
struct s1 {int (*f) (int a);};
3728
struct s2 {int (*f) (double a);};
3729
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3735
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3740
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3741
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3743
CC="$ac_save_CC $ac_arg"
3744
if ac_fn_c_try_compile "$LINENO"; then :
3745
ac_cv_prog_cc_c89=$ac_arg
3747
rm -f core conftest.err conftest.$ac_objext
3748
test "x$ac_cv_prog_cc_c89" != "xno" && break
3750
rm -f conftest.$ac_ext
3755
case "x$ac_cv_prog_cc_c89" in
3757
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3758
$as_echo "none needed" >&6; } ;;
3760
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3761
$as_echo "unsupported" >&6; } ;;
3763
CC="$CC $ac_cv_prog_cc_c89"
3764
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3765
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3767
if test "x$ac_cv_prog_cc_c89" != xno; then :
3772
ac_cpp='$CPP $CPPFLAGS'
3773
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3774
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3775
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3776
DEPDIR="${am__leading_dot}deps"
3778
ac_config_commands="$ac_config_commands depfiles"
3781
am_make=${MAKE-make}
3782
cat > confinc << 'END'
3784
@echo this is the am__doit target
3787
# If we don't find an include directive, just comment out the code.
3788
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3789
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3793
# First try GNU make style include.
3794
echo "include confinc" > confmf
3795
# Ignore all kinds of additional output from `make'.
3796
case `$am_make -s -f confmf 2> /dev/null` in #(
3797
*the\ am__doit\ target*)
3803
# Now try BSD make style include.
3804
if test "$am__include" = "#"; then
3805
echo '.include "confinc"' > confmf
3806
case `$am_make -s -f confmf 2> /dev/null` in #(
3807
*the\ am__doit\ target*)
3808
am__include=.include
3816
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3817
$as_echo "$_am_result" >&6; }
3818
rm -f confinc confmf
3820
@%:@ Check whether --enable-dependency-tracking was given.
3821
if test "${enable_dependency_tracking+set}" = set; then :
3822
enableval=$enable_dependency_tracking;
3825
if test "x$enable_dependency_tracking" != xno; then
3826
am_depcomp="$ac_aux_dir/depcomp"
3829
if test "x$enable_dependency_tracking" != xno; then
3839
depcc="$CC" am_compiler_list=
3841
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3842
$as_echo_n "checking dependency style of $depcc... " >&6; }
3843
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3844
$as_echo_n "(cached) " >&6
3846
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3847
# We make a subdir and do the tests there. Otherwise we can end up
3848
# making bogus files that we don't know about and never remove. For
3849
# instance it was reported that on HP-UX the gcc test will end up
3850
# making a dummy file named `D' -- because `-MD' means `put the output
3853
# Copy depcomp to subdir because otherwise we won't find it if we're
3854
# using a relative directory.
3855
cp "$am_depcomp" conftest.dir
3857
# We will build objects and dependencies in a subdirectory because
3858
# it helps to detect inapplicable dependency modes. For instance
3859
# both Tru64's cc and ICC support -MD to output dependencies as a
3860
# side effect of compilation, but ICC will put the dependencies in
3861
# the current directory while Tru64 will put them in the object
3865
am_cv_CC_dependencies_compiler_type=none
3866
if test "$am_compiler_list" = ""; then
3867
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3870
case " $depcc " in #(
3871
*\ -arch\ *\ -arch\ *) am__universal=true ;;
3874
for depmode in $am_compiler_list; do
3875
# Setup a source with many dependencies, because some compilers
3876
# like to wrap large dependency lists on column 80 (with \), and
3877
# we should not choose a depcomp mode which is confused by this.
3879
# We need to recreate these files for each test, as the compiler may
3880
# overwrite some of them when testing with obscure command lines.
3881
# This happens at least with the AIX C compiler.
3883
for i in 1 2 3 4 5 6; do
3884
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3885
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3886
# Solaris 8's {/usr,}/bin/sh.
3887
touch sub/conftst$i.h
3889
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3891
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3892
# mode. It turns out that the SunPro C++ compiler does not properly
3893
# handle `-M -o', and we need to detect this. Also, some Intel
3894
# versions had trouble with output in subdirs
3895
am__obj=sub/conftest.${OBJEXT-o}
3896
am__minus_obj="-o $am__obj"
3899
# This depmode causes a compiler race in universal mode.
3900
test "$am__universal" = false || continue
3903
# after this tag, mechanisms are not by side-effect, so they'll
3904
# only be used when explicitly requested
3905
if test "x$enable_dependency_tracking" = xyes; then
3911
msvisualcpp | msvcmsys)
3912
# This compiler won't grok `-c -o', but also, the minuso test has
3913
# not run yet. These depmodes are late enough in the game, and
3914
# so weak that their functioning should not be impacted.
3915
am__obj=conftest.${OBJEXT-o}
3920
if depmode=$depmode \
3921
source=sub/conftest.c object=$am__obj \
3922
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3923
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3924
>/dev/null 2>conftest.err &&
3925
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3926
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3927
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3928
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3929
# icc doesn't choke on unknown options, it will just issue warnings
3930
# or remarks (even with -Werror). So we grep stderr for any message
3931
# that says an option was ignored or not supported.
3932
# When given -MP, icc 7.0 and 7.1 complain thusly:
3933
# icc: Command line warning: ignoring option '-M'; no argument required
3934
# The diagnosis changed in icc 8.0:
3935
# icc: Command line remark: option '-MP' not supported
3936
if (grep 'ignoring option' conftest.err ||
3937
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3938
am_cv_CC_dependencies_compiler_type=$depmode
3947
am_cv_CC_dependencies_compiler_type=none
3951
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3952
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3953
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3956
test "x$enable_dependency_tracking" != xno \
3957
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3959
am__fastdepCC_FALSE='#'
3961
am__fastdepCC_TRUE='#'
3962
am__fastdepCC_FALSE=
3966
if test -n "$ac_tool_prefix"; then
3967
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3968
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3969
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3970
$as_echo_n "checking for $ac_word... " >&6; }
3971
if test "${ac_cv_prog_RANLIB+set}" = set; then :
3972
$as_echo_n "(cached) " >&6
3974
if test -n "$RANLIB"; then
3975
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3977
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3981
test -z "$as_dir" && as_dir=.
3982
for ac_exec_ext in '' $ac_executable_extensions; do
3983
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3984
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3985
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3994
RANLIB=$ac_cv_prog_RANLIB
3995
if test -n "$RANLIB"; then
3996
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3997
$as_echo "$RANLIB" >&6; }
3999
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4000
$as_echo "no" >&6; }
4005
if test -z "$ac_cv_prog_RANLIB"; then
4006
ac_ct_RANLIB=$RANLIB
4007
# Extract the first word of "ranlib", so it can be a program name with args.
4008
set dummy ranlib; ac_word=$2
4009
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4010
$as_echo_n "checking for $ac_word... " >&6; }
4011
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4012
$as_echo_n "(cached) " >&6
4014
if test -n "$ac_ct_RANLIB"; then
4015
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4017
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4021
test -z "$as_dir" && as_dir=.
4022
for ac_exec_ext in '' $ac_executable_extensions; do
4023
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4024
ac_cv_prog_ac_ct_RANLIB="ranlib"
4025
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4034
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4035
if test -n "$ac_ct_RANLIB"; then
4036
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4037
$as_echo "$ac_ct_RANLIB" >&6; }
4039
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4040
$as_echo "no" >&6; }
4043
if test "x$ac_ct_RANLIB" = x; then
4046
case $cross_compiling:$ac_tool_warned in
4048
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4049
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4050
ac_tool_warned=yes ;;
4052
RANLIB=$ac_ct_RANLIB
4055
RANLIB="$ac_cv_prog_RANLIB"
4058
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4059
$as_echo_n "checking whether ln -s works... " >&6; }
4061
if test "$LN_S" = "ln -s"; then
4062
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4063
$as_echo "yes" >&6; }
4065
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4066
$as_echo "no, using $LN_S" >&6; }
4070
@%:@ Check whether --enable-compiler-warnings was given.
4071
if test "${enable_compiler_warnings+set}" = set; then :
4072
enableval=$enable_compiler_warnings;
4074
case $enable_compiler_warnings in @%:@(
4075
no | min | yes | max | all) :
4078
if test "x$enable_maintainer_mode" = xyes; then :
4079
enable_compiler_warnings=yes
4081
enable_compiler_warnings=min
4085
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
4086
$as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
4087
if test "${kpse_cv_warning_cflags+set}" = set; then :
4088
$as_echo_n "(cached) " >&6
4090
if test "x$enable_compiler_warnings" = xno; then
4091
kpse_cv_warning_cflags=
4092
elif test "x$GCC" = xyes; then
4093
kpse_cv_warning_cflags="-Wimplicit -Wreturn-type"
4094
case `$CC -dumpversion` in @%:@(
4096
kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; @%:@(
4100
case `$CC -dumpversion` in @%:@(
4101
3.@<:@234@:>@.* | 4.*) :
4102
kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; @%:@(
4106
if test "x$enable_compiler_warnings" != xmin; then
4107
kpse_cv_warning_cflags="-Wall -Wunused $kpse_cv_warning_cflags"
4108
kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
4109
if test "x$enable_compiler_warnings" != xyes; then
4110
kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
4111
kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings"
4112
case `$CC -dumpversion` in @%:@(
4114
kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;; @%:@(
4118
if test "x$enable_compiler_warnings" != xmax; then
4119
kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wshadow"
4124
kpse_cv_warning_cflags= # FIXME: warning flags for non-GNU C compilers
4127
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5
4128
$as_echo "$kpse_cv_warning_cflags" >&6; }
4129
WARNING_CFLAGS=$kpse_cv_warning_cflags
4137
# Checks for header files.
4140
ac_cpp='$CPP $CPPFLAGS'
4141
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4142
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4143
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4144
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4145
$as_echo_n "checking how to run the C preprocessor... " >&6; }
4146
# On Suns, sometimes $CPP names a directory.
4147
if test -n "$CPP" && test -d "$CPP"; then
4150
if test -z "$CPP"; then
4151
if test "${ac_cv_prog_CPP+set}" = set; then :
4152
$as_echo_n "(cached) " >&6
4154
# Double quotes because CPP needs to be expanded
4155
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4158
for ac_c_preproc_warn_flag in '' yes
4160
# Use a header file that comes with gcc, so configuring glibc
4161
# with a fresh cross-compiler works.
4162
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4163
# <limits.h> exists even on freestanding compilers.
4164
# On the NeXT, cc -E runs the code through the compiler's parser,
4165
# not just through cpp. "Syntax error" is here to catch this case.
4166
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4167
/* end confdefs.h. */
4169
@%:@ include <limits.h>
4171
@%:@ include <assert.h>
4175
if ac_fn_c_try_cpp "$LINENO"; then :
4178
# Broken: fails on valid input.
4181
rm -f conftest.err conftest.$ac_ext
4183
# OK, works on sane cases. Now check whether nonexistent headers
4184
# can be detected and how.
4185
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4186
/* end confdefs.h. */
4187
@%:@include <ac_nonexistent.h>
4189
if ac_fn_c_try_cpp "$LINENO"; then :
4190
# Broken: success on invalid input.
4193
# Passes both tests.
4197
rm -f conftest.err conftest.$ac_ext
4200
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4201
rm -f conftest.err conftest.$ac_ext
4202
if $ac_preproc_ok; then :
4214
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4215
$as_echo "$CPP" >&6; }
4217
for ac_c_preproc_warn_flag in '' yes
4219
# Use a header file that comes with gcc, so configuring glibc
4220
# with a fresh cross-compiler works.
4221
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4222
# <limits.h> exists even on freestanding compilers.
4223
# On the NeXT, cc -E runs the code through the compiler's parser,
4224
# not just through cpp. "Syntax error" is here to catch this case.
4225
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4226
/* end confdefs.h. */
4228
@%:@ include <limits.h>
4230
@%:@ include <assert.h>
4234
if ac_fn_c_try_cpp "$LINENO"; then :
4237
# Broken: fails on valid input.
4240
rm -f conftest.err conftest.$ac_ext
4242
# OK, works on sane cases. Now check whether nonexistent headers
4243
# can be detected and how.
4244
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4245
/* end confdefs.h. */
4246
@%:@include <ac_nonexistent.h>
4248
if ac_fn_c_try_cpp "$LINENO"; then :
4249
# Broken: success on invalid input.
4252
# Passes both tests.
4256
rm -f conftest.err conftest.$ac_ext
4259
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4260
rm -f conftest.err conftest.$ac_ext
4261
if $ac_preproc_ok; then :
4264
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4265
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4266
as_fn_error "C preprocessor \"$CPP\" fails sanity check
4267
See \`config.log' for more details." "$LINENO" 5; }
4271
ac_cpp='$CPP $CPPFLAGS'
4272
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4273
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4274
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4277
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4278
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4279
if test "${ac_cv_path_GREP+set}" = set; then :
4280
$as_echo_n "(cached) " >&6
4282
if test -z "$GREP"; then
4283
ac_path_GREP_found=false
4284
# Loop through the user's path and test for each of PROGNAME-LIST
4285
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4286
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4289
test -z "$as_dir" && as_dir=.
4290
for ac_prog in grep ggrep; do
4291
for ac_exec_ext in '' $ac_executable_extensions; do
4292
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4293
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4294
# Check for GNU ac_path_GREP and select it if it is found.
4295
# Check for GNU $ac_path_GREP
4296
case `"$ac_path_GREP" --version 2>&1` in
4298
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4301
$as_echo_n 0123456789 >"conftest.in"
4304
cat "conftest.in" "conftest.in" >"conftest.tmp"
4305
mv "conftest.tmp" "conftest.in"
4306
cp "conftest.in" "conftest.nl"
4307
$as_echo 'GREP' >> "conftest.nl"
4308
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4309
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4310
as_fn_arith $ac_count + 1 && ac_count=$as_val
4311
if test $ac_count -gt ${ac_path_GREP_max-0}; then
4312
# Best one so far, save it but keep looking for a better one
4313
ac_cv_path_GREP="$ac_path_GREP"
4314
ac_path_GREP_max=$ac_count
4316
# 10*(2^10) chars as input seems more than enough
4317
test $ac_count -gt 10 && break
4319
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4322
$ac_path_GREP_found && break 3
4327
if test -z "$ac_cv_path_GREP"; then
4328
as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4331
ac_cv_path_GREP=$GREP
4335
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4336
$as_echo "$ac_cv_path_GREP" >&6; }
4337
GREP="$ac_cv_path_GREP"
4340
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4341
$as_echo_n "checking for egrep... " >&6; }
4342
if test "${ac_cv_path_EGREP+set}" = set; then :
4343
$as_echo_n "(cached) " >&6
4345
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4346
then ac_cv_path_EGREP="$GREP -E"
4348
if test -z "$EGREP"; then
4349
ac_path_EGREP_found=false
4350
# Loop through the user's path and test for each of PROGNAME-LIST
4351
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4352
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4355
test -z "$as_dir" && as_dir=.
4356
for ac_prog in egrep; do
4357
for ac_exec_ext in '' $ac_executable_extensions; do
4358
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4359
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4360
# Check for GNU ac_path_EGREP and select it if it is found.
4361
# Check for GNU $ac_path_EGREP
4362
case `"$ac_path_EGREP" --version 2>&1` in
4364
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4367
$as_echo_n 0123456789 >"conftest.in"
4370
cat "conftest.in" "conftest.in" >"conftest.tmp"
4371
mv "conftest.tmp" "conftest.in"
4372
cp "conftest.in" "conftest.nl"
4373
$as_echo 'EGREP' >> "conftest.nl"
4374
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4375
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4376
as_fn_arith $ac_count + 1 && ac_count=$as_val
4377
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4378
# Best one so far, save it but keep looking for a better one
4379
ac_cv_path_EGREP="$ac_path_EGREP"
4380
ac_path_EGREP_max=$ac_count
4382
# 10*(2^10) chars as input seems more than enough
4383
test $ac_count -gt 10 && break
4385
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4388
$ac_path_EGREP_found && break 3
4393
if test -z "$ac_cv_path_EGREP"; then
4394
as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4397
ac_cv_path_EGREP=$EGREP
4402
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4403
$as_echo "$ac_cv_path_EGREP" >&6; }
4404
EGREP="$ac_cv_path_EGREP"
4407
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4408
$as_echo_n "checking for ANSI C header files... " >&6; }
4409
if test "${ac_cv_header_stdc+set}" = set; then :
4410
$as_echo_n "(cached) " >&6
4412
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4413
/* end confdefs.h. */
4427
if ac_fn_c_try_compile "$LINENO"; then :
4428
ac_cv_header_stdc=yes
4430
ac_cv_header_stdc=no
4432
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4434
if test $ac_cv_header_stdc = yes; then
4435
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4436
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4437
/* end confdefs.h. */
4441
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4442
$EGREP "memchr" >/dev/null 2>&1; then :
4445
ac_cv_header_stdc=no
4451
if test $ac_cv_header_stdc = yes; then
4452
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4453
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4454
/* end confdefs.h. */
4458
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4459
$EGREP "free" >/dev/null 2>&1; then :
4462
ac_cv_header_stdc=no
4468
if test $ac_cv_header_stdc = yes; then
4469
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4470
if test "$cross_compiling" = yes; then :
4473
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4474
/* end confdefs.h. */
4477
#if ((' ' & 0x0FF) == 0x020)
4478
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4479
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4481
# define ISLOWER(c) \
4482
(('a' <= (c) && (c) <= 'i') \
4483
|| ('j' <= (c) && (c) <= 'r') \
4484
|| ('s' <= (c) && (c) <= 'z'))
4485
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4488
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4493
for (i = 0; i < 256; i++)
4494
if (XOR (islower (i), ISLOWER (i))
4495
|| toupper (i) != TOUPPER (i))
4500
if ac_fn_c_try_run "$LINENO"; then :
4503
ac_cv_header_stdc=no
4505
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4506
conftest.$ac_objext conftest.beam conftest.$ac_ext
4511
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4512
$as_echo "$ac_cv_header_stdc" >&6; }
4513
if test $ac_cv_header_stdc = yes; then
4515
$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
4520
for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
4521
as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4522
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
4523
$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
4524
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
4525
$as_echo_n "(cached) " >&6
4527
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4528
/* end confdefs.h. */
4529
#include <sys/types.h>
4541
if ac_fn_c_try_compile "$LINENO"; then :
4542
eval "$as_ac_Header=yes"
4544
eval "$as_ac_Header=no"
4546
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4548
eval ac_res=\$$as_ac_Header
4549
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4550
$as_echo "$ac_res" >&6; }
4551
eval as_val=\$$as_ac_Header
4552
if test "x$as_val" = x""yes; then :
4553
cat >>confdefs.h <<_ACEOF
4554
@%:@define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
4557
ac_header_dirent=$ac_hdr; break
4561
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4562
if test $ac_header_dirent = dirent.h; then
4563
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
4564
$as_echo_n "checking for library containing opendir... " >&6; }
4565
if test "${ac_cv_search_opendir+set}" = set; then :
4566
$as_echo_n "(cached) " >&6
4568
ac_func_search_save_LIBS=$LIBS
4569
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4570
/* end confdefs.h. */
4572
/* Override any GCC internal prototype to avoid an error.
4573
Use char because int might match the return type of a GCC
4574
builtin and then its argument prototype would still apply. */
4587
for ac_lib in '' dir; do
4588
if test -z "$ac_lib"; then
4589
ac_res="none required"
4592
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4594
if ac_fn_c_try_link "$LINENO"; then :
4595
ac_cv_search_opendir=$ac_res
4597
rm -f core conftest.err conftest.$ac_objext \
4599
if test "${ac_cv_search_opendir+set}" = set; then :
4603
if test "${ac_cv_search_opendir+set}" = set; then :
4606
ac_cv_search_opendir=no
4609
LIBS=$ac_func_search_save_LIBS
4611
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
4612
$as_echo "$ac_cv_search_opendir" >&6; }
4613
ac_res=$ac_cv_search_opendir
4614
if test "$ac_res" != no; then :
4615
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4620
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
4621
$as_echo_n "checking for library containing opendir... " >&6; }
4622
if test "${ac_cv_search_opendir+set}" = set; then :
4623
$as_echo_n "(cached) " >&6
4625
ac_func_search_save_LIBS=$LIBS
4626
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4627
/* end confdefs.h. */
4629
/* Override any GCC internal prototype to avoid an error.
4630
Use char because int might match the return type of a GCC
4631
builtin and then its argument prototype would still apply. */
4644
for ac_lib in '' x; do
4645
if test -z "$ac_lib"; then
4646
ac_res="none required"
4649
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4651
if ac_fn_c_try_link "$LINENO"; then :
4652
ac_cv_search_opendir=$ac_res
4654
rm -f core conftest.err conftest.$ac_objext \
4656
if test "${ac_cv_search_opendir+set}" = set; then :
4660
if test "${ac_cv_search_opendir+set}" = set; then :
4663
ac_cv_search_opendir=no
4666
LIBS=$ac_func_search_save_LIBS
4668
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
4669
$as_echo "$ac_cv_search_opendir" >&6; }
4670
ac_res=$ac_cv_search_opendir
4671
if test "$ac_res" != no; then :
4672
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4678
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4679
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4680
inttypes.h stdint.h unistd.h
4682
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4683
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4685
eval as_val=\$$as_ac_Header
4686
if test "x$as_val" = x""yes; then :
4687
cat >>confdefs.h <<_ACEOF
4688
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4696
for ac_header in stdint.h unistd.h windows.h sys/int_types.h
4698
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4699
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4700
eval as_val=\$$as_ac_Header
4701
if test "x$as_val" = x""yes; then :
4702
cat >>confdefs.h <<_ACEOF
4703
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4710
for ac_header in winnt.h winbase.h
4712
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4713
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <windows.h>
4715
eval as_val=\$$as_ac_Header
4716
if test "x$as_val" = x""yes; then :
4717
cat >>confdefs.h <<_ACEOF
4718
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4725
for ac_header in sys/types.h sys/mman.h sys/stat.h sys/param.h
4727
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4728
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4729
eval as_val=\$$as_ac_Header
4730
if test "x$as_val" = x""yes; then :
4731
cat >>confdefs.h <<_ACEOF
4732
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4738
for ac_header in io.h direct.h byteswap.h
4740
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4741
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4742
eval as_val=\$$as_ac_Header
4743
if test "x$as_val" = x""yes; then :
4744
cat >>confdefs.h <<_ACEOF
4745
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4752
for ac_header in fnmatch.h
4754
ac_fn_c_check_header_mongrel "$LINENO" "fnmatch.h" "ac_cv_header_fnmatch_h" "$ac_includes_default"
4755
if test "x$ac_cv_header_fnmatch_h" = x""yes; then :
4756
cat >>confdefs.h <<_ACEOF
4757
@%:@define HAVE_FNMATCH_H 1
4765
# ---------------------------------------------------------------
4766
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether can use mmap for file scanning" >&5
4767
$as_echo_n "checking whether can use mmap for file scanning... " >&6; }
4768
enable_mmap='no (just a bit slower)'
4769
test "x$ac_cv_header_winbase_h" = xyes && enable_mmap="yes, winbase.h"
4770
test "x$ac_cv_header_sys_mman_h" = xyes && enable_mmap="yes, sys/mman.h"
4771
case "$enable_mmap" in
4772
yes*) ZZIPLIB_DEFINES='-D_USE_MMAP';;
4774
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_mmap" >&5
4775
$as_echo "$enable_mmap" >&6; }
4778
# Checks for typedefs, structures, and compiler characteristics.
4779
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
4780
$as_echo_n "checking for inline... " >&6; }
4781
if test "${ac_cv_c_inline+set}" = set; then :
4782
$as_echo_n "(cached) " >&6
4785
for ac_kw in inline __inline__ __inline; do
4786
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4787
/* end confdefs.h. */
4790
static $ac_kw foo_t static_foo () {return 0; }
4791
$ac_kw foo_t foo () {return 0; }
4795
if ac_fn_c_try_compile "$LINENO"; then :
4796
ac_cv_c_inline=$ac_kw
4798
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4799
test "$ac_cv_c_inline" != no && break
4803
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
4804
$as_echo "$ac_cv_c_inline" >&6; }
4806
case $ac_cv_c_inline in
4809
case $ac_cv_c_inline in
4811
*) ac_val=$ac_cv_c_inline;;
4813
cat >>confdefs.h <<_ACEOF
4815
#define inline $ac_val
4821
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4822
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4823
if test "${ac_cv_c_const+set}" = set; then :
4824
$as_echo_n "(cached) " >&6
4826
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4827
/* end confdefs.h. */
4832
/* FIXME: Include the comments suggested by Paul. */
4834
/* Ultrix mips cc rejects this. */
4835
typedef int charset[2];
4837
/* SunOS 4.1.1 cc rejects this. */
4838
char const *const *pcpcc;
4840
/* NEC SVR4.0.2 mips cc rejects this. */
4841
struct point {int x, y;};
4842
static struct point const zero = {0,0};
4843
/* AIX XL C 1.02.0.0 rejects this.
4844
It does not let you subtract one const X* pointer from another in
4845
an arm of an if-expression whose if-part is not a constant
4847
const char *g = "string";
4848
pcpcc = &g + (g ? g-g : 0);
4849
/* HPUX 7.0 cc rejects these. */
4851
ppc = (char**) pcpcc;
4852
pcpcc = (char const *const *) ppc;
4853
{ /* SCO 3.2v4 cc rejects this. */
4855
char const *s = 0 ? (char *) 0 : (char const *) 0;
4860
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4862
const int *foo = &x[0];
4865
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4866
typedef const int *iptr;
4870
{ /* AIX XL C 1.02.0.0 rejects this saying
4871
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4872
struct s { int j; const int *ap[3]; };
4873
struct s *b; b->j = 5;
4875
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4879
return !cs[0] && !zero.x;
4886
if ac_fn_c_try_compile "$LINENO"; then :
4891
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4893
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4894
$as_echo "$ac_cv_c_const" >&6; }
4895
if test $ac_cv_c_const = no; then
4897
$as_echo "@%:@define const /**/" >>confdefs.h
4901
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
4902
$as_echo_n "checking for C/C++ restrict keyword... " >&6; }
4903
if test "${ac_cv_c_restrict+set}" = set; then :
4904
$as_echo_n "(cached) " >&6
4907
# The order here caters to the fact that C++ does not require restrict.
4908
for ac_kw in __restrict __restrict__ _Restrict restrict; do
4909
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4910
/* end confdefs.h. */
4911
typedef int * int_ptr;
4912
int foo (int_ptr $ac_kw ip) {
4926
if ac_fn_c_try_compile "$LINENO"; then :
4927
ac_cv_c_restrict=$ac_kw
4929
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4930
test "$ac_cv_c_restrict" != no && break
4934
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5
4935
$as_echo "$ac_cv_c_restrict" >&6; }
4937
case $ac_cv_c_restrict in
4939
no) $as_echo "@%:@define restrict /**/" >>confdefs.h
4941
*) cat >>confdefs.h <<_ACEOF
4942
@%:@define restrict $ac_cv_c_restrict
4947
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4948
if test "x$ac_cv_type_size_t" = x""yes; then :
4952
cat >>confdefs.h <<_ACEOF
4953
@%:@define size_t unsigned int
4958
ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
4959
if test "x$ac_cv_type_ssize_t" = x""yes; then :
4963
cat >>confdefs.h <<_ACEOF
4964
@%:@define ssize_t int
4969
ac_fn_c_check_type "$LINENO" "off64_t" "ac_cv_type_off64_t" "$ac_includes_default"
4970
if test "x$ac_cv_type_off64_t" = x""yes; then :
4974
cat >>confdefs.h <<_ACEOF
4975
@%:@define off64_t _zzip_off_t
4980
ac_fn_c_check_type "$LINENO" "__int64" "ac_cv_type___int64" "$ac_includes_default"
4981
if test "x$ac_cv_type___int64" = x""yes; then :
4985
cat >>confdefs.h <<_ACEOF
4986
@%:@define __int64 long long
4991
# The cast to long int works around a bug in the HP C Compiler
4992
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4993
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4994
# This bug is HP SR number 8606223364.
4995
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
4996
$as_echo_n "checking size of short... " >&6; }
4997
if test "${ac_cv_sizeof_short+set}" = set; then :
4998
$as_echo_n "(cached) " >&6
5000
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
5003
if test "$ac_cv_type_short" = yes; then
5004
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5005
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5006
{ as_fn_set_status 77
5007
as_fn_error "cannot compute sizeof (short)
5008
See \`config.log' for more details." "$LINENO" 5; }; }
5010
ac_cv_sizeof_short=0
5015
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
5016
$as_echo "$ac_cv_sizeof_short" >&6; }
5020
cat >>confdefs.h <<_ACEOF
5021
@%:@define SIZEOF_SHORT $ac_cv_sizeof_short
5025
# The cast to long int works around a bug in the HP C Compiler
5026
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5027
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5028
# This bug is HP SR number 8606223364.
5029
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
5030
$as_echo_n "checking size of int... " >&6; }
5031
if test "${ac_cv_sizeof_int+set}" = set; then :
5032
$as_echo_n "(cached) " >&6
5034
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
5037
if test "$ac_cv_type_int" = yes; then
5038
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5039
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5040
{ as_fn_set_status 77
5041
as_fn_error "cannot compute sizeof (int)
5042
See \`config.log' for more details." "$LINENO" 5; }; }
5049
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
5050
$as_echo "$ac_cv_sizeof_int" >&6; }
5054
cat >>confdefs.h <<_ACEOF
5055
@%:@define SIZEOF_INT $ac_cv_sizeof_int
5059
# The cast to long int works around a bug in the HP C Compiler
5060
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5061
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5062
# This bug is HP SR number 8606223364.
5063
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
5064
$as_echo_n "checking size of long... " >&6; }
5065
if test "${ac_cv_sizeof_long+set}" = set; then :
5066
$as_echo_n "(cached) " >&6
5068
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
5071
if test "$ac_cv_type_long" = yes; then
5072
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5073
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5074
{ as_fn_set_status 77
5075
as_fn_error "cannot compute sizeof (long)
5076
See \`config.log' for more details." "$LINENO" 5; }; }
5083
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
5084
$as_echo "$ac_cv_sizeof_long" >&6; }
5088
cat >>confdefs.h <<_ACEOF
5089
@%:@define SIZEOF_LONG $ac_cv_sizeof_long
5093
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
5094
$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
5095
if test "${ac_cv_c_bigendian+set}" = set; then :
5096
$as_echo_n "(cached) " >&6
5098
ac_cv_c_bigendian=unknown
5099
# See if we're dealing with a universal compiler.
5100
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5101
/* end confdefs.h. */
5102
#ifndef __APPLE_CC__
5103
not a universal capable compiler
5108
if ac_fn_c_try_compile "$LINENO"; then :
5110
# Check for potential -arch flags. It is not universal unless
5111
# there are at least two -arch flags with different values.
5114
for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
5115
if test -n "$ac_prev"; then
5117
i?86 | x86_64 | ppc | ppc64)
5118
if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
5121
ac_cv_c_bigendian=universal
5127
elif test "x$ac_word" = "x-arch"; then
5132
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5133
if test $ac_cv_c_bigendian = unknown; then
5134
# See if sys/param.h defines the BYTE_ORDER macro.
5135
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5136
/* end confdefs.h. */
5137
#include <sys/types.h>
5138
#include <sys/param.h>
5143
#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
5144
&& defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
5153
if ac_fn_c_try_compile "$LINENO"; then :
5154
# It does; now see whether it defined to BIG_ENDIAN or not.
5155
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5156
/* end confdefs.h. */
5157
#include <sys/types.h>
5158
#include <sys/param.h>
5163
#if BYTE_ORDER != BIG_ENDIAN
5171
if ac_fn_c_try_compile "$LINENO"; then :
5172
ac_cv_c_bigendian=yes
5174
ac_cv_c_bigendian=no
5176
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5178
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5180
if test $ac_cv_c_bigendian = unknown; then
5181
# See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
5182
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5183
/* end confdefs.h. */
5189
#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
5197
if ac_fn_c_try_compile "$LINENO"; then :
5198
# It does; now see whether it defined to _BIG_ENDIAN or not.
5199
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5200
/* end confdefs.h. */
5214
if ac_fn_c_try_compile "$LINENO"; then :
5215
ac_cv_c_bigendian=yes
5217
ac_cv_c_bigendian=no
5219
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5221
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5223
if test $ac_cv_c_bigendian = unknown; then
5224
# Compile a test program.
5225
if test "$cross_compiling" = yes; then :
5226
# Try to guess by grepping values from an object file.
5227
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5228
/* end confdefs.h. */
5229
short int ascii_mm[] =
5230
{ 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5231
short int ascii_ii[] =
5232
{ 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5233
int use_ascii (int i) {
5234
return ascii_mm[i] + ascii_ii[i];
5236
short int ebcdic_ii[] =
5237
{ 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5238
short int ebcdic_mm[] =
5239
{ 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5240
int use_ebcdic (int i) {
5241
return ebcdic_mm[i] + ebcdic_ii[i];
5248
return use_ascii (foo) == use_ebcdic (foo);
5253
if ac_fn_c_try_compile "$LINENO"; then :
5254
if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
5255
ac_cv_c_bigendian=yes
5257
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
5258
if test "$ac_cv_c_bigendian" = unknown; then
5259
ac_cv_c_bigendian=no
5261
# finding both strings is unlikely to happen, but who knows?
5262
ac_cv_c_bigendian=unknown
5266
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5268
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5269
/* end confdefs.h. */
5270
$ac_includes_default
5275
/* Are we little or big endian? From Harbison&Steele. */
5279
char c[sizeof (long int)];
5282
return u.c[sizeof (long int) - 1] == 1;
5288
if ac_fn_c_try_run "$LINENO"; then :
5289
ac_cv_c_bigendian=no
5291
ac_cv_c_bigendian=yes
5293
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5294
conftest.$ac_objext conftest.beam conftest.$ac_ext
5299
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
5300
$as_echo "$ac_cv_c_bigendian" >&6; }
5301
case $ac_cv_c_bigendian in #(
5303
$as_echo "@%:@define WORDS_BIGENDIAN 1" >>confdefs.h
5309
$as_echo "@%:@define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
5313
as_fn_error "unknown endianness
5314
presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
5318
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if pointers to integers require aligned access" >&5
5319
$as_echo_n "checking if pointers to integers require aligned access... " >&6; }
5320
if test "${zziplib_cv_aligned_access+set}" = set; then :
5321
$as_echo_n "(cached) " >&6
5323
if test "$cross_compiling" = yes; then :
5324
case $host_cpu in @%:@(
5325
alpha*|arm*|bfin*|hp*|mips*|sh*|sparc*|ia64|nv1) :
5326
zziplib_cv_aligned_access=yes ;; @%:@(
5328
zziplib_cv_aligned_access=no ;;
5331
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5332
/* end confdefs.h. */
5340
char* string = malloc(40);
5342
for (i=0; i < 40; i++) string[i] = i;
5347
if (*p == *q) { return 1; }
5353
if ac_fn_c_try_run "$LINENO"; then :
5354
zziplib_cv_aligned_access=no
5356
zziplib_cv_aligned_access=yes
5358
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5359
conftest.$ac_objext conftest.beam conftest.$ac_ext
5363
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $zziplib_cv_aligned_access" >&5
5364
$as_echo "$zziplib_cv_aligned_access" >&6; }
5365
if test "x$zziplib_cv_aligned_access" = xyes ; then
5367
$as_echo "@%:@define HAVE_ALIGNED_ACCESS_REQUIRED 1" >>confdefs.h
5372
# Checks for library functions.
5373
for ac_func in strcasecmp strndup
5375
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5376
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5377
eval as_val=\$$as_ac_var
5378
if test "x$as_val" = x""yes; then :
5379
cat >>confdefs.h <<_ACEOF
5380
@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5387
## _KPSE_INIT: Initialize TL infrastructure
5388
kpse_BLD=`(cd "./../../." && pwd)`
5389
kpse_SRC=`(cd "$srcdir/../../." && pwd)`
5391
## _KPSE_LIB_FLAGS: Setup zlib (-lz) flags
5393
@%:@ Check whether --with-system-zlib was given.
5394
if test "${with_system_zlib+set}" = set; then :
5395
withval=$with_system_zlib;
5398
@%:@ Check whether --with-zlib-includes was given.
5399
if test "${with_zlib_includes+set}" = set; then :
5400
withval=$with_zlib_includes;
5403
@%:@ Check whether --with-zlib-libdir was given.
5404
if test "${with_zlib_libdir+set}" = set; then :
5405
withval=$with_zlib_libdir;
5407
if test "x$with_system_zlib" = xyes; then
5408
if test "x$with_zlib_includes" != x && test "x$with_zlib_includes" != xyes; then
5409
ZLIB_INCLUDES="-I$with_zlib_includes"
5412
if test "x$with_zlib_libdir" != x && test "x$with_zlib_libdir" != xyes; then
5413
ZLIB_LIBS="-L$with_zlib_libdir $ZLIB_LIBS"
5416
ZLIB_INCLUDES=`echo '-IBLD/libs/zlib/include' | sed \
5417
-e "s,SRC/,$kpse_SRC/,g" \
5418
-e "s,BLD/,$kpse_BLD/,g"`
5419
ZLIB_LIBS=`echo 'BLD/libs/zlib/libz.a' | sed \
5420
-e "s,BLD/,$kpse_BLD/,g"`
5422
ZLIB_DEPEND=`echo 'BLD/libs/zlib/libz.a' | sed \
5423
-e 's,BLD/,${top_builddir}/../../,g'`
5424
ZLIB_RULE='# Rebuild libz
5425
$(ZLIB_DEPEND): ${top_builddir}/../../libs/zlib/include/zconf.h
5426
cd ${top_builddir}/../../libs/zlib && $(MAKE) $(AM_MAKEFLAGS) rebuild
5427
${top_builddir}/../../libs/zlib/include/zconf.h:
5428
cd ${top_builddir}/../../libs/zlib && $(MAKE) $(AM_MAKEFLAGS) rebuild'
5432
if test "x$enable_build" != xno; then
5441
if test "x$enable_build" != xno || test -f config.force; then
5443
kpse_save_CPPFLAGS=$CPPFLAGS
5444
kpse_save_LIBS=$LIBS
5446
eval CPPFLAGS=\"$ZLIB_INCLUDES \$CPPFLAGS\"
5447
eval LIBS=\"$ZLIB_LIBS \$LIBS\"
5449
for ac_header in zlib.h
5451
ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
5452
if test "x$ac_cv_header_zlib_h" = x""yes; then :
5453
cat >>confdefs.h <<_ACEOF
5454
@%:@define HAVE_ZLIB_H 1
5461
ac_fn_c_check_func "$LINENO" "zlibVersion" "ac_cv_func_zlibVersion"
5462
if test "x$ac_cv_func_zlibVersion" = x""yes; then :
5465
as_fn_error "zlib not found" "$LINENO" 5
5468
CPPFLAGS=$kpse_save_CPPFLAGS
5469
LIBS=$kpse_save_LIBS
5472
echo timestamp >config.force
5475
ZZIPLIB_TREE=zziplib-0.13.58
5478
# -----------------------------------------------------------------------
5479
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: creating include/zzip/_msvc.in via zzip/_msvc.sed of config.h.in" >&5
5480
$as_echo "creating include/zzip/_msvc.in via zzip/_msvc.sed of config.h.in" >&6; }
5481
test -d include || mkdir include
5482
sed -f $srcdir/$ZZIPLIB_TREE/zzip/_msvc.sed $srcdir/config.h.in >include/_msvc.in
5483
ac_config_headers="$ac_config_headers config.h"
5485
ac_config_commands="$ac_config_commands include/zzip/_config.h"
5487
ac_config_commands="$ac_config_commands include/zzip/_msvc.h"
5490
ac_config_files="$ac_config_files Makefile include/zzip/Makefile"
5493
cat >confcache <<\_ACEOF
5494
# This file is a shell script that caches the results of configure
5495
# tests run on this system so they can be shared between configure
5496
# scripts and configure runs, see configure's option --config-cache.
5497
# It is not useful on other systems. If it contains results you don't
5498
# want to keep, you may remove or edit it.
5500
# config.status only pays attention to the cache file if you give it
5501
# the --recheck option to rerun configure.
5503
# `ac_cv_env_foo' variables (set or unset) will be overridden when
5504
# loading this file, other *unset* `ac_cv_foo' will be assigned the
5509
# The following way of writing the cache mishandles newlines in values,
5510
# but we know of no workaround that is simple, portable, and efficient.
5511
# So, we kill variables containing newlines.
5512
# Ultrix sh set writes to stderr and can't be redirected directly,
5513
# and sets the high bit in the cache file unless we assign to the vars.
5515
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5516
eval ac_val=\$$ac_var
5520
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5521
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5524
_ | IFS | as_nl) ;; #(
5525
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5526
*) { eval $ac_var=; unset $ac_var;} ;;
5532
case $as_nl`(ac_space=' '; set) 2>&1` in #(
5533
*${as_nl}ac_space=\ *)
5534
# `set' does not quote correctly, so add quotes: double-quote
5535
# substitution turns \\\\ into \\, and sed turns \\ into \.
5538
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5541
# `set' quotes correctly as required by POSIX, so do not add quotes.
5542
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5551
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5553
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5555
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5556
if test -w "$cache_file"; then
5557
test "x$cache_file" != "x/dev/null" &&
5558
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5559
$as_echo "$as_me: updating cache $cache_file" >&6;}
5560
cat confcache >$cache_file
5562
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5563
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5568
test "x$prefix" = xNONE && prefix=$ac_default_prefix
5569
# Let make expand exec_prefix.
5570
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5572
DEFS=-DHAVE_CONFIG_H
5576
for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
5577
# 1. Remove the extension, and $U if already installed.
5578
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5579
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5580
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5581
# will be set to the directory where LIBOBJS objects are built.
5582
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5583
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5585
LIB@&t@OBJS=$ac_libobjs
5587
LTLIBOBJS=$ac_ltlibobjs
5590
if test -n "$EXEEXT"; then
5592
am__EXEEXT_FALSE='#'
5598
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5599
as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
5600
Usually this means the macro was only invoked conditionally." "$LINENO" 5
5602
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5603
as_fn_error "conditional \"AMDEP\" was never defined.
5604
Usually this means the macro was only invoked conditionally." "$LINENO" 5
5606
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5607
as_fn_error "conditional \"am__fastdepCC\" was never defined.
5608
Usually this means the macro was only invoked conditionally." "$LINENO" 5
5611
if test -z "${build_TRUE}" && test -z "${build_FALSE}"; then
5612
as_fn_error "conditional \"build\" was never defined.
5613
Usually this means the macro was only invoked conditionally." "$LINENO" 5
5616
: ${CONFIG_STATUS=./config.status}
5618
ac_clean_files_save=$ac_clean_files
5619
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5620
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5621
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5623
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5625
# Generated by $as_me.
5626
# Run this file to recreate the current configuration.
5627
# Compiler output produced by configure, useful for debugging
5628
# configure, is in config.log if it exists.
5634
SHELL=\${CONFIG_SHELL-$SHELL}
5637
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5638
## -------------------- ##
5639
## M4sh Initialization. ##
5640
## -------------------- ##
5642
# Be more Bourne compatible
5643
DUALCASE=1; export DUALCASE # for MKS sh
5644
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5647
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5648
# is contrary to our usage. Disable this feature.
5649
alias -g '${1+"$@"}'='"$@"'
5650
setopt NO_GLOB_SUBST
5652
case `(set -o) 2>/dev/null` in @%:@(
5654
set -o posix ;; @%:@(
5664
# Printing a long string crashes Solaris 7 /usr/bin/printf.
5665
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5666
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5667
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5668
# Prefer a ksh shell builtin over an external printf program on Solaris,
5669
# but without wasting forks for bash or zsh.
5670
if test -z "$BASH_VERSION$ZSH_VERSION" \
5671
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5672
as_echo='print -r --'
5673
as_echo_n='print -rn --'
5674
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5675
as_echo='printf %s\n'
5676
as_echo_n='printf %s'
5678
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5679
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5680
as_echo_n='/usr/ucb/echo -n'
5682
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5683
as_echo_n_body='eval
5687
expr "X$arg" : "X\\(.*\\)$as_nl";
5688
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5690
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5692
export as_echo_n_body
5693
as_echo_n='sh -c $as_echo_n_body as_echo'
5696
as_echo='sh -c $as_echo_body as_echo'
5699
# The user is always right.
5700
if test "${PATH_SEPARATOR+set}" != set; then
5702
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5703
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5710
# We need space, tab and new line, in precisely that order. Quoting is
5711
# there to prevent editors from complaining about space-tab.
5712
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5713
# splitting by setting IFS to empty value.)
5716
# Find who we are. Look in the path if we contain no directory separator.
5718
*[\\/]* ) as_myself=$0 ;;
5719
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5723
test -z "$as_dir" && as_dir=.
5724
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5730
# We did not find ourselves, most probably we were run as `sh COMMAND'
5731
# in which case we are not to be found in the path.
5732
if test "x$as_myself" = x; then
5735
if test ! -f "$as_myself"; then
5736
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5740
# Unset variables that we do not need and which cause bugs (e.g. in
5741
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5742
# suppresses any "Segmentation fault" message there. '((' could
5743
# trigger a bug in pdksh 5.2.14.
5744
for as_var in BASH_ENV ENV MAIL MAILPATH
5745
do eval test x\${$as_var+set} = xset \
5746
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5759
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5762
@%:@ as_fn_error ERROR [LINENO LOG_FD]
5763
@%:@ ---------------------------------
5764
@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5765
@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5766
@%:@ script with status @S|@?, using 1 if that was 0.
5769
as_status=$?; test $as_status -eq 0 && as_status=1
5771
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5772
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
5774
$as_echo "$as_me: error: $1" >&2
5775
as_fn_exit $as_status
5779
@%:@ as_fn_set_status STATUS
5780
@%:@ -----------------------
5781
@%:@ Set @S|@? to STATUS, without forking.
5785
} @%:@ as_fn_set_status
5787
@%:@ as_fn_exit STATUS
5788
@%:@ -----------------
5789
@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5797
@%:@ as_fn_unset VAR
5798
@%:@ ---------------
5799
@%:@ Portably unset VAR.
5802
{ eval $1=; unset $1;}
5804
as_unset=as_fn_unset
5805
@%:@ as_fn_append VAR VALUE
5806
@%:@ ----------------------
5807
@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
5808
@%:@ advantage of any shell optimizations that allow amortized linear growth over
5809
@%:@ repeated appends, instead of the typical quadratic growth present in naive
5810
@%:@ implementations.
5811
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5812
eval 'as_fn_append ()
5823
@%:@ as_fn_arith ARG...
5824
@%:@ ------------------
5825
@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
5826
@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
5827
@%:@ must be portable across @S|@(()) and expr.
5828
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5829
eval 'as_fn_arith ()
5836
as_val=`expr "$@" || test $? -eq 1`
5841
if expr a : '\(a\)' >/dev/null 2>&1 &&
5842
test "X`expr 00001 : '.*\(...\)'`" = X001; then
5848
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5849
as_basename=basename
5854
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5860
as_me=`$as_basename -- "$0" ||
5861
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5862
X"$0" : 'X\(//\)$' \| \
5863
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5865
sed '/^.*\/\([^/][^/]*\)\/*$/{
5879
# Avoid depending upon Character Ranges.
5880
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5881
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5882
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5883
as_cr_digits='0123456789'
5884
as_cr_alnum=$as_cr_Letters$as_cr_digits
5886
ECHO_C= ECHO_N= ECHO_T=
5887
case `echo -n x` in @%:@(((((
5889
case `echo 'xy\c'` in
5890
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
5892
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5899
rm -f conf$$ conf$$.exe conf$$.file
5900
if test -d conf$$.dir; then
5901
rm -f conf$$.dir/conf$$.file
5904
mkdir conf$$.dir 2>/dev/null
5906
if (echo >conf$$.file) 2>/dev/null; then
5907
if ln -s conf$$.file conf$$ 2>/dev/null; then
5909
# ... but there are two gotchas:
5910
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5911
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5912
# In both cases, we have to default to `cp -p'.
5913
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5915
elif ln conf$$.file conf$$ 2>/dev/null; then
5923
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5924
rmdir conf$$.dir 2>/dev/null
5929
@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
5934
-*) as_dir=./$as_dir;;
5936
test -d "$as_dir" || eval $as_mkdir_p || {
5940
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5941
*) as_qdir=$as_dir;;
5943
as_dirs="'$as_qdir' $as_dirs"
5944
as_dir=`$as_dirname -- "$as_dir" ||
5945
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5946
X"$as_dir" : 'X\(//\)[^/]' \| \
5947
X"$as_dir" : 'X\(//\)$' \| \
5948
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5949
$as_echo X"$as_dir" |
5950
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5967
test -d "$as_dir" && break
5969
test -z "$as_dirs" || eval "mkdir $as_dirs"
5970
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
5973
} @%:@ as_fn_mkdir_p
5974
if mkdir -p . 2>/dev/null; then
5975
as_mkdir_p='mkdir -p "$as_dir"'
5977
test -d ./-p && rmdir ./-p
5981
if test -x / >/dev/null 2>&1; then
5984
if ls -dL / >/dev/null 2>&1; then
5991
if test -d "$1"; then
5997
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
5998
???[sx]*):;;*)false;;esac;fi
6002
as_executable_p=$as_test_x
6004
# Sed expression to map a string onto a valid CPP name.
6005
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6007
# Sed expression to map a string onto a valid variable name.
6008
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6012
## ----------------------------------- ##
6013
## Main body of $CONFIG_STATUS script. ##
6014
## ----------------------------------- ##
6016
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6018
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6019
# Save the log message, to keep $0 and so on meaningful, and to
6020
# report actual input values of CONFIG_FILES etc. instead of their
6021
# values after options handling.
6023
This file was extended by zziplib for TeX Live $as_me 0.13.58, which was
6024
generated by GNU Autoconf 2.65. Invocation command line was
6026
CONFIG_FILES = $CONFIG_FILES
6027
CONFIG_HEADERS = $CONFIG_HEADERS
6028
CONFIG_LINKS = $CONFIG_LINKS
6029
CONFIG_COMMANDS = $CONFIG_COMMANDS
6032
on `(hostname || uname -n) 2>/dev/null | sed 1q`
6037
case $ac_config_files in *"
6038
"*) set x $ac_config_files; shift; ac_config_files=$*;;
6041
case $ac_config_headers in *"
6042
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6046
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6047
# Files that config.status was made for.
6048
config_files="`echo $ac_config_files`"
6049
config_headers="`echo $ac_config_headers`"
6050
config_commands="`echo $ac_config_commands`"
6054
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6056
\`$as_me' instantiates files and other configuration actions
6057
from templates according to the current configuration. Unless the files
6058
and actions are specified as TAGs, all are instantiated by default.
6060
Usage: $0 [OPTION]... [TAG]...
6062
-h, --help print this help, then exit
6063
-V, --version print version number and configuration settings, then exit
6064
--config print configuration, then exit
6065
-q, --quiet, --silent
6066
do not print progress messages
6067
-d, --debug don't remove temporary files
6068
--recheck update $as_me by reconfiguring in the same conditions
6069
--file=FILE[:TEMPLATE]
6070
instantiate the configuration file FILE
6071
--header=FILE[:TEMPLATE]
6072
instantiate the configuration header FILE
6074
Configuration files:
6077
Configuration headers:
6080
Configuration commands:
6083
Report bugs to <tex-k@tug.org>."
6086
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6087
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6089
zziplib for TeX Live config.status 0.13.58
6090
configured by $0, generated by GNU Autoconf 2.65,
6091
with options \\"\$ac_cs_config\\"
6093
Copyright (C) 2009 Free Software Foundation, Inc.
6094
This config.status script is free software; the Free Software Foundation
6095
gives unlimited permission to copy, distribute and modify it."
6102
test -n "\$AWK" || AWK=awk
6105
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6106
# The default lists apply if the user does not specify any file.
6112
ac_option=`expr "X$1" : 'X\([^=]*\)='`
6113
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6124
# Handling of the options.
6125
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6127
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6128
$as_echo "$ac_cs_version"; exit ;;
6129
--config | --confi | --conf | --con | --co | --c )
6130
$as_echo "$ac_cs_config"; exit ;;
6131
--debug | --debu | --deb | --de | --d | -d )
6133
--file | --fil | --fi | --f )
6136
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6138
as_fn_append CONFIG_FILES " '$ac_optarg'"
6139
ac_need_defaults=false;;
6140
--header | --heade | --head | --hea )
6143
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6145
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6146
ac_need_defaults=false;;
6148
# Conflict between --help and --header
6149
as_fn_error "ambiguous option: \`$1'
6150
Try \`$0 --help' for more information.";;
6151
--help | --hel | -h )
6152
$as_echo "$ac_cs_usage"; exit ;;
6153
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
6154
| -silent | --silent | --silen | --sile | --sil | --si | --s)
6158
-*) as_fn_error "unrecognized option: \`$1'
6159
Try \`$0 --help' for more information." ;;
6161
*) as_fn_append ac_config_targets " $1"
6162
ac_need_defaults=false ;;
6168
ac_configure_extra_args=
6170
if $ac_cs_silent; then
6172
ac_configure_extra_args="$ac_configure_extra_args --silent"
6176
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6177
if \$ac_cs_recheck; then
6178
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6180
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6181
CONFIG_SHELL='$SHELL'
6187
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6191
sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
6192
@%:@@%:@ Running $as_me. @%:@@%:@
6198
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6202
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6208
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6210
# Handling of arguments.
6211
for ac_config_target in $ac_config_targets
6213
case $ac_config_target in
6214
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6215
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6216
"include/zzip/_config.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/zzip/_config.h" ;;
6217
"include/zzip/_msvc.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/zzip/_msvc.h" ;;
6218
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6219
"include/zzip/Makefile") CONFIG_FILES="$CONFIG_FILES include/zzip/Makefile" ;;
6221
*) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6226
# If the user did not use the arguments to specify the items to instantiate,
6227
# then the envvar interface is used. Set only those that are not.
6228
# We use the long form for the default assignment because of an extremely
6229
# bizarre bug on SunOS 4.1.3.
6230
if $ac_need_defaults; then
6231
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6232
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6233
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6236
# Have a temporary directory for convenience. Make it in the build tree
6237
# simply because there is no reason against having it here, and in addition,
6238
# creating and moving files from /tmp can sometimes cause problems.
6239
# Hook for its removal unless debugging.
6240
# Note that there is a small window in which the directory will not be cleaned:
6241
# after its creation but before its name has been assigned to `$tmp'.
6245
trap 'exit_status=$?
6246
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6248
trap 'as_fn_exit 1' 1 2 13 15
6250
# Create a (secure) tmp directory for tmp files.
6253
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6254
test -n "$tmp" && test -d "$tmp"
6257
tmp=./conf$$-$RANDOM
6258
(umask 077 && mkdir "$tmp")
6259
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
6261
# Set up the scripts for CONFIG_FILES section.
6262
# No need to generate them if there are no CONFIG_FILES.
6263
# This happens for instance with `./config.status config.h'.
6264
if test -n "$CONFIG_FILES"; then
6267
ac_cr=`echo X | tr X '\015'`
6268
# On cygwin, bash can eat \r inside `` if the user requested igncr.
6269
# But we know of no other shell where ac_cr would be empty at this
6270
# point, so we can use a bashism as a fallback.
6271
if test "x$ac_cr" = x; then
6272
eval ac_cr=\$\'\\r\'
6274
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6275
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6281
echo 'BEGIN {' >"$tmp/subs1.awk" &&
6286
echo "cat >conf$$subs.awk <<_ACEOF" &&
6287
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6290
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
6291
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
6293
for ac_last_try in false false false false false :; do
6294
. ./conf$$subs.sh ||
6295
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
6297
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6298
if test $ac_delim_n = $ac_delim_num; then
6300
elif $ac_last_try; then
6301
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
6303
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6308
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6309
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
6313
s/^/S["/; s/!.*/"]=/
6323
s/\(.\{148\}\)..*/\1/
6325
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6330
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6337
s/\(.\{148\}\)..*/\1/
6339
s/["\\]/\\&/g; s/^/"/; s/$/"/
6343
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6348
' <conf$$subs.awk | sed '
6353
' >>$CONFIG_STATUS || ac_write_fail=1
6354
rm -f conf$$subs.awk
6355
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6357
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
6358
for (key in S) S_is_set[key] = 1
6364
nfields = split(line, field, "@")
6366
len = length(field[1])
6367
for (i = 2; i < nfields; i++) {
6369
keylen = length(key)
6370
if (S_is_set[key]) {
6372
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6373
len += length(value) + length(field[++i])
6384
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6385
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6386
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6389
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
6390
|| as_fn_error "could not setup config files machinery" "$LINENO" 5
6393
# VPATH may cause trouble with some makes, so we remove $(srcdir),
6394
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6395
# trailing colons and then remove the whole line if VPATH becomes empty
6396
# (actually we leave an empty line to preserve line numbers).
6397
if test "x$srcdir" = x.; then
6398
ac_vpsub='/^[ ]*VPATH[ ]*=/{
6402
s/^\([^=]*=[ ]*\):*/\1/
6408
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6409
fi # test -n "$CONFIG_FILES"
6411
# Set up the scripts for CONFIG_HEADERS section.
6412
# No need to generate them if there are no CONFIG_HEADERS.
6413
# This happens for instance with `./config.status Makefile'.
6414
if test -n "$CONFIG_HEADERS"; then
6415
cat >"$tmp/defines.awk" <<\_ACAWK ||
6419
# Transform confdefs.h into an awk script `defines.awk', embedded as
6420
# here-document in config.status, that substitutes the proper values into
6421
# config.h.in to produce config.h.
6423
# Create a delimiter string that does not exist in confdefs.h, to ease
6424
# handling of long lines.
6426
for ac_last_try in false false :; do
6427
ac_t=`sed -n "/$ac_delim/p" confdefs.h`
6428
if test -z "$ac_t"; then
6430
elif $ac_last_try; then
6431
as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
6433
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6437
# For the awk script, D is an array of macro values keyed by name,
6438
# likewise P contains macro parameters if any. Preserve backslash
6439
# newline sequences.
6441
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6443
s/.\{148\}/&'"$ac_delim"'/g
6446
s/^[ ]*#[ ]*define[ ][ ]*/ /
6453
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6455
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6459
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6460
D["\1"]=" \3\\\\\\n"\\/p
6462
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6467
s/.\{148\}/&'"$ac_delim"'/g
6472
s/["\\]/\\&/g; s/^/"/; s/$/"/p
6475
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6477
' <confdefs.h | sed '
6478
s/'"$ac_delim"'/"\\\
6479
"/g' >>$CONFIG_STATUS || ac_write_fail=1
6481
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6482
for (key in D) D_is_set[key] = 1
6485
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6487
split(line, arg, " ")
6488
if (arg[1] == "#") {
6492
defundef = substr(arg[1], 2)
6495
split(mac1, mac2, "(") #)
6497
prefix = substr(line, 1, index(line, defundef) - 1)
6498
if (D_is_set[macro]) {
6499
# Preserve the white space surrounding the "#".
6500
print prefix "define", macro P[macro] D[macro]
6503
# Replace #undef with comments. This is necessary, for example,
6504
# in the case of _POSIX_SOURCE, which is predefined and required
6505
# on some systems where configure will not decide to define it.
6506
if (defundef == "undef") {
6507
print "/*", prefix defundef, macro, "*/"
6515
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6516
as_fn_error "could not setup config headers machinery" "$LINENO" 5
6517
fi # test -n "$CONFIG_HEADERS"
6520
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6525
:[FHLC]) ac_mode=$ac_tag; continue;;
6527
case $ac_mode$ac_tag in
6529
:L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
6530
:[FH]-) ac_tag=-:-;;
6531
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6548
-) ac_f="$tmp/stdin";;
6549
*) # Look for the file first in the build tree, then in the source tree
6550
# (if the path is not absolute). The absolute path cannot be DOS-style,
6551
# because $ac_f cannot contain `:'.
6555
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6557
as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6559
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6560
as_fn_append ac_file_inputs " '$ac_f'"
6563
# Let's still pretend it is `configure' which instantiates (i.e., don't
6564
# use $as_me), people would be surprised to read:
6565
# /* config.h. Generated by config.status. */
6566
configure_input='Generated from '`
6567
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6569
if test x"$ac_file" != x-; then
6570
configure_input="$ac_file. $configure_input"
6571
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6572
$as_echo "$as_me: creating $ac_file" >&6;}
6574
# Neutralize special characters interpreted by sed in replacement strings.
6575
case $configure_input in #(
6576
*\&* | *\|* | *\\* )
6577
ac_sed_conf_input=`$as_echo "$configure_input" |
6578
sed 's/[\\\\&|]/\\\\&/g'`;; #(
6579
*) ac_sed_conf_input=$configure_input;;
6583
*:-:* | *:-) cat >"$tmp/stdin" \
6584
|| as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
6589
ac_dir=`$as_dirname -- "$ac_file" ||
6590
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6591
X"$ac_file" : 'X\(//\)[^/]' \| \
6592
X"$ac_file" : 'X\(//\)$' \| \
6593
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6594
$as_echo X"$ac_file" |
6595
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6612
as_dir="$ac_dir"; as_fn_mkdir_p
6616
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6618
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6619
# A ".." for each directory in $ac_dir_suffix.
6620
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6621
case $ac_top_builddir_sub in
6622
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6623
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6626
ac_abs_top_builddir=$ac_pwd
6627
ac_abs_builddir=$ac_pwd$ac_dir_suffix
6628
# for backward compatibility:
6629
ac_top_builddir=$ac_top_build_prefix
6632
.) # We are building in place.
6634
ac_top_srcdir=$ac_top_builddir_sub
6635
ac_abs_top_srcdir=$ac_pwd ;;
6636
[\\/]* | ?:[\\/]* ) # Absolute name.
6637
ac_srcdir=$srcdir$ac_dir_suffix;
6638
ac_top_srcdir=$srcdir
6639
ac_abs_top_srcdir=$srcdir ;;
6641
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6642
ac_top_srcdir=$ac_top_build_prefix$srcdir
6643
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6645
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6655
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6656
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6660
[\\/$]* | ?:[\\/]* ) ;;
6661
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6665
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6666
# If the template does not know about datarootdir, expand it.
6667
# FIXME: This hack should be removed a few years after 2.60.
6668
ac_datarootdir_hack=; ac_datarootdir_seen=
6679
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6680
*datarootdir*) ac_datarootdir_seen=yes;;
6681
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6682
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6683
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6685
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6686
ac_datarootdir_hack='
6687
s&@datadir@&$datadir&g
6688
s&@docdir@&$docdir&g
6689
s&@infodir@&$infodir&g
6690
s&@localedir@&$localedir&g
6691
s&@mandir@&$mandir&g
6692
s&\\\${datarootdir}&$datarootdir&g' ;;
6696
# Neutralize VPATH when `$srcdir' = `.'.
6697
# Shell code in configure.ac might set extrasub.
6698
# FIXME: do we really want to maintain this feature?
6699
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6700
ac_sed_extra="$ac_vpsub
6703
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6705
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6706
s|@configure_input@|$ac_sed_conf_input|;t t
6707
s&@top_builddir@&$ac_top_builddir_sub&;t t
6708
s&@top_build_prefix@&$ac_top_build_prefix&;t t
6709
s&@srcdir@&$ac_srcdir&;t t
6710
s&@abs_srcdir@&$ac_abs_srcdir&;t t
6711
s&@top_srcdir@&$ac_top_srcdir&;t t
6712
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6713
s&@builddir@&$ac_builddir&;t t
6714
s&@abs_builddir@&$ac_abs_builddir&;t t
6715
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6716
s&@INSTALL@&$ac_INSTALL&;t t
6717
s&@MKDIR_P@&$ac_MKDIR_P&;t t
6718
$ac_datarootdir_hack
6720
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6721
|| as_fn_error "could not create $ac_file" "$LINENO" 5
6723
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6724
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6725
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6726
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6727
which seems to be undefined. Please make sure it is defined." >&5
6728
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6729
which seems to be undefined. Please make sure it is defined." >&2;}
6733
-) cat "$tmp/out" && rm -f "$tmp/out";;
6734
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6736
|| as_fn_error "could not create $ac_file" "$LINENO" 5
6742
if test x"$ac_file" != x-; then
6744
$as_echo "/* $configure_input */" \
6745
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6746
} >"$tmp/config.h" \
6747
|| as_fn_error "could not create $ac_file" "$LINENO" 5
6748
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6749
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6750
$as_echo "$as_me: $ac_file is unchanged" >&6;}
6753
mv "$tmp/config.h" "$ac_file" \
6754
|| as_fn_error "could not create $ac_file" "$LINENO" 5
6757
$as_echo "/* $configure_input */" \
6758
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6759
|| as_fn_error "could not create -" "$LINENO" 5
6761
# Compute "$ac_file"'s index in $config_headers.
6764
for _am_header in $config_headers :; do
6766
$_am_arg | $_am_arg:* )
6769
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
6772
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6773
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6774
X"$_am_arg" : 'X\(//\)[^/]' \| \
6775
X"$_am_arg" : 'X\(//\)$' \| \
6776
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6777
$as_echo X"$_am_arg" |
6778
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6794
s/.*/./; q'`/stamp-h$_am_stamp_count
6797
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6798
$as_echo "$as_me: executing $ac_file commands" >&6;}
6803
case $ac_file$ac_mode in
6804
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6805
# Autoconf 2.62 quotes --file arguments for eval, but not when files
6806
# are listed without --file. Let's play safe and only enable the eval
6807
# if we detect the quoting.
6808
case $CONFIG_FILES in
6809
*\'*) eval set x "$CONFIG_FILES" ;;
6810
*) set x $CONFIG_FILES ;;
6815
# Strip MF so we end up with the name of the file.
6816
mf=`echo "$mf" | sed -e 's/:.*$//'`
6817
# Check whether this is an Automake generated Makefile or not.
6818
# We used to match only the files named `Makefile.in', but
6819
# some people rename them; so instead we look at the file content.
6820
# Grep'ing the first line is not enough: some people post-process
6821
# each Makefile.in and add a new line on top of each file to say so.
6822
# Grep'ing the whole file is not good either: AIX grep has a line
6823
# limit of 2048, but all sed's we know have understand at least 4000.
6824
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6825
dirpart=`$as_dirname -- "$mf" ||
6826
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6827
X"$mf" : 'X\(//\)[^/]' \| \
6828
X"$mf" : 'X\(//\)$' \| \
6829
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6831
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6851
# Extract the definition of DEPDIR, am__include, and am__quote
6852
# from the Makefile without running `make'.
6853
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6854
test -z "$DEPDIR" && continue
6855
am__include=`sed -n 's/^am__include = //p' < "$mf"`
6856
test -z "am__include" && continue
6857
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6858
# When using ansi2knr, U may be empty or an underscore; expand it
6859
U=`sed -n 's/^U = //p' < "$mf"`
6860
# Find all dependency output files, they are included files with
6861
# $(DEPDIR) in their names. We invoke sed twice because it is the
6862
# simplest approach to changing $(DEPDIR) to its actual value in the
6864
for file in `sed -n "
6865
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6866
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6867
# Make sure the directory exists.
6868
test -f "$dirpart/$file" && continue
6869
fdir=`$as_dirname -- "$file" ||
6870
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6871
X"$file" : 'X\(//\)[^/]' \| \
6872
X"$file" : 'X\(//\)$' \| \
6873
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6875
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6892
as_dir=$dirpart/$fdir; as_fn_mkdir_p
6893
# echo "creating $dirpart/$file"
6894
echo '# dummy' > "$dirpart/$file"
6899
"include/zzip/_config.h":C) ac_prefix_conf_OUT=`echo include/zzip/_config.h`
6900
ac_prefix_conf_DEF=`echo _$ac_prefix_conf_OUT | sed -e "y:abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:" -e "s/@<:@^abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ@:>@/_/g"`
6901
ac_prefix_conf_PKG=`echo zzip`
6902
ac_prefix_conf_LOW=`echo _$ac_prefix_conf_PKG | sed -e "y:ABCDEFGHIJKLMNOPQRSTUVWXYZ-:abcdefghijklmnopqrstuvwxyz_:"`
6903
ac_prefix_conf_UPP=`echo $ac_prefix_conf_PKG | sed -e "y:abcdefghijklmnopqrstuvwxyz-:ABCDEFGHIJKLMNOPQRSTUVWXYZ_:" -e "/^@<:@0123456789@:>@/s/^/_/"`
6904
ac_prefix_conf_INP=`echo "config.h" | sed -e 's/ *//'`
6905
if test ".$ac_prefix_conf_INP" = "."; then
6906
for ac_file in : $CONFIG_HEADERS; do test "_$ac_file" = _: && continue
6908
*.h) ac_prefix_conf_INP=$ac_file ;;
6911
test ".$ac_prefix_conf_INP" != "." && break
6914
if test ".$ac_prefix_conf_INP" = "."; then
6915
case "$ac_prefix_conf_OUT" in
6916
*/*) ac_prefix_conf_INP=`basename "$ac_prefix_conf_OUT"`
6918
*-*) ac_prefix_conf_INP=`echo "$ac_prefix_conf_OUT" | sed -e "s/@<:@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_@:>@*-//"`
6920
*) ac_prefix_conf_INP=config.h
6924
if test -z "$ac_prefix_conf_PKG" ; then
6925
as_fn_error "no prefix for _PREFIX_PKG_CONFIG_H" "$LINENO" 5
6927
if test ! -f "$ac_prefix_conf_INP" ; then if test -f "$srcdir/$ac_prefix_conf_INP" ; then
6928
ac_prefix_conf_INP="$srcdir/$ac_prefix_conf_INP"
6930
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&5
6931
$as_echo "$as_me: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&6;}
6932
if test -f $ac_prefix_conf_INP ; then
6933
echo "s/^@%:@undef *\\(@<:@ABCDEFGHIJKLMNOPQRSTUVWXYZ_@:>@\\)/@%:@undef $ac_prefix_conf_UPP""_\\1/" > conftest.prefix
6934
echo "s/^@%:@undef *\\(@<:@abcdefghijklmnopqrstuvwxyz@:>@\\)/@%:@undef $ac_prefix_conf_LOW""_\\1/" >> conftest.prefix
6935
echo "s/^@%:@define *\\(@<:@ABCDEFGHIJKLMNOPQRSTUVWXYZ_@:>@@<:@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_@:>@*\\)\\(.*\\)/@%:@ifndef $ac_prefix_conf_UPP""_\\1 \\" >> conftest.prefix
6936
echo "@%:@define $ac_prefix_conf_UPP""_\\1 \\2 \\" >> conftest.prefix
6937
echo "@%:@endif/" >>conftest.prefix
6938
echo "s/^@%:@define *\\(@<:@abcdefghijklmnopqrstuvwxyz@:>@@<:@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_@:>@*\\)\\(.*\\)/@%:@ifndef $ac_prefix_conf_LOW""_\\1 \\" >> conftest.prefix
6939
echo "@%:@define $ac_prefix_conf_LOW""_\\1 \\2 \\" >> conftest.prefix
6940
echo "@%:@endif/" >> conftest.prefix
6941
# now executing _script on _DEF input to create _OUT output file
6942
echo "@%:@ifndef $ac_prefix_conf_DEF" >$tmp/pconfig.h
6943
echo "@%:@define $ac_prefix_conf_DEF 1" >>$tmp/pconfig.h
6944
echo ' ' >>$tmp/pconfig.h
6945
echo /'*' $ac_prefix_conf_OUT. Generated automatically at end of configure. '*'/ >>$tmp/pconfig.h
6947
sed -f conftest.prefix $ac_prefix_conf_INP >>$tmp/pconfig.h
6948
echo ' ' >>$tmp/pconfig.h
6949
echo '/* once:' $ac_prefix_conf_DEF '*/' >>$tmp/pconfig.h
6950
echo "@%:@endif" >>$tmp/pconfig.h
6951
if cmp -s $ac_prefix_conf_OUT $tmp/pconfig.h 2>/dev/null; then
6952
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_prefix_conf_OUT is unchanged" >&5
6953
$as_echo "$as_me: $ac_prefix_conf_OUT is unchanged" >&6;}
6955
ac_dir=`$as_dirname -- "$ac_prefix_conf_OUT" ||
6956
$as_expr X"$ac_prefix_conf_OUT" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6957
X"$ac_prefix_conf_OUT" : 'X\(//\)[^/]' \| \
6958
X"$ac_prefix_conf_OUT" : 'X\(//\)$' \| \
6959
X"$ac_prefix_conf_OUT" : 'X\(/\)' \| . 2>/dev/null ||
6960
$as_echo X"$ac_prefix_conf_OUT" |
6961
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6978
as_dir="$ac_dir"; as_fn_mkdir_p
6979
rm -f "$ac_prefix_conf_OUT"
6980
mv $tmp/pconfig.h "$ac_prefix_conf_OUT"
6982
cp conftest.prefix _configs.sed
6984
as_fn_error "input file $ac_prefix_conf_INP does not exist - skip generating $ac_prefix_conf_OUT" "$LINENO" 5
6989
"include/zzip/_msvc.h":C) ac_prefix_conf_OUT=`echo include/zzip/_msvc.h`
6990
ac_prefix_conf_DEF=`echo _$ac_prefix_conf_OUT | sed -e "y:abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:" -e "s/@<:@^abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ@:>@/_/g"`
6991
ac_prefix_conf_PKG=`echo zzip`
6992
ac_prefix_conf_LOW=`echo _$ac_prefix_conf_PKG | sed -e "y:ABCDEFGHIJKLMNOPQRSTUVWXYZ-:abcdefghijklmnopqrstuvwxyz_:"`
6993
ac_prefix_conf_UPP=`echo $ac_prefix_conf_PKG | sed -e "y:abcdefghijklmnopqrstuvwxyz-:ABCDEFGHIJKLMNOPQRSTUVWXYZ_:" -e "/^@<:@0123456789@:>@/s/^/_/"`
6994
ac_prefix_conf_INP=`echo "include/_msvc.in" | sed -e 's/ *//'`
6995
if test ".$ac_prefix_conf_INP" = "."; then
6996
for ac_file in : $CONFIG_HEADERS; do test "_$ac_file" = _: && continue
6998
*.h) ac_prefix_conf_INP=$ac_file ;;
7001
test ".$ac_prefix_conf_INP" != "." && break
7004
if test ".$ac_prefix_conf_INP" = "."; then
7005
case "$ac_prefix_conf_OUT" in
7006
*/*) ac_prefix_conf_INP=`basename "$ac_prefix_conf_OUT"`
7008
*-*) ac_prefix_conf_INP=`echo "$ac_prefix_conf_OUT" | sed -e "s/@<:@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_@:>@*-//"`
7010
*) ac_prefix_conf_INP=config.h
7014
if test -z "$ac_prefix_conf_PKG" ; then
7015
as_fn_error "no prefix for _PREFIX_PKG_CONFIG_H" "$LINENO" 5
7017
if test ! -f "$ac_prefix_conf_INP" ; then if test -f "$srcdir/$ac_prefix_conf_INP" ; then
7018
ac_prefix_conf_INP="$srcdir/$ac_prefix_conf_INP"
7020
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&5
7021
$as_echo "$as_me: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&6;}
7022
if test -f $ac_prefix_conf_INP ; then
7023
echo "s/^@%:@undef *\\(@<:@ABCDEFGHIJKLMNOPQRSTUVWXYZ_@:>@\\)/@%:@undef $ac_prefix_conf_UPP""_\\1/" > conftest.prefix
7024
echo "s/^@%:@undef *\\(@<:@abcdefghijklmnopqrstuvwxyz@:>@\\)/@%:@undef $ac_prefix_conf_LOW""_\\1/" >> conftest.prefix
7025
echo "s/^@%:@define *\\(@<:@ABCDEFGHIJKLMNOPQRSTUVWXYZ_@:>@@<:@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_@:>@*\\)\\(.*\\)/@%:@ifndef $ac_prefix_conf_UPP""_\\1 \\" >> conftest.prefix
7026
echo "@%:@define $ac_prefix_conf_UPP""_\\1 \\2 \\" >> conftest.prefix
7027
echo "@%:@endif/" >>conftest.prefix
7028
echo "s/^@%:@define *\\(@<:@abcdefghijklmnopqrstuvwxyz@:>@@<:@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_@:>@*\\)\\(.*\\)/@%:@ifndef $ac_prefix_conf_LOW""_\\1 \\" >> conftest.prefix
7029
echo "@%:@define $ac_prefix_conf_LOW""_\\1 \\2 \\" >> conftest.prefix
7030
echo "@%:@endif/" >> conftest.prefix
7031
# now executing _script on _DEF input to create _OUT output file
7032
echo "@%:@ifndef $ac_prefix_conf_DEF" >$tmp/pconfig.h
7033
echo "@%:@define $ac_prefix_conf_DEF 1" >>$tmp/pconfig.h
7034
echo ' ' >>$tmp/pconfig.h
7035
echo /'*' $ac_prefix_conf_OUT. Generated automatically at end of configure. '*'/ >>$tmp/pconfig.h
7037
sed -f conftest.prefix $ac_prefix_conf_INP >>$tmp/pconfig.h
7038
echo ' ' >>$tmp/pconfig.h
7039
echo '/* once:' $ac_prefix_conf_DEF '*/' >>$tmp/pconfig.h
7040
echo "@%:@endif" >>$tmp/pconfig.h
7041
if cmp -s $ac_prefix_conf_OUT $tmp/pconfig.h 2>/dev/null; then
7042
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_prefix_conf_OUT is unchanged" >&5
7043
$as_echo "$as_me: $ac_prefix_conf_OUT is unchanged" >&6;}
7045
ac_dir=`$as_dirname -- "$ac_prefix_conf_OUT" ||
7046
$as_expr X"$ac_prefix_conf_OUT" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7047
X"$ac_prefix_conf_OUT" : 'X\(//\)[^/]' \| \
7048
X"$ac_prefix_conf_OUT" : 'X\(//\)$' \| \
7049
X"$ac_prefix_conf_OUT" : 'X\(/\)' \| . 2>/dev/null ||
7050
$as_echo X"$ac_prefix_conf_OUT" |
7051
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7068
as_dir="$ac_dir"; as_fn_mkdir_p
7069
rm -f "$ac_prefix_conf_OUT"
7070
mv $tmp/pconfig.h "$ac_prefix_conf_OUT"
7072
cp conftest.prefix _configs.sed
7074
as_fn_error "input file $ac_prefix_conf_INP does not exist - skip generating $ac_prefix_conf_OUT" "$LINENO" 5
7086
ac_clean_files=$ac_clean_files_save
7088
test $ac_write_fail = 0 ||
7089
as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
7092
# configure is writing to config.log, and then calls config.status.
7093
# config.status does its own redirection, appending to config.log.
7094
# Unfortunately, on DOS this fails, as config.log is still kept open
7095
# by configure, so config.status won't be able to write to it; its
7096
# output is simply discarded. So we exec the FD to /dev/null,
7097
# effectively closing config.log, so it can be properly (re)opened and
7098
# appended to by config.status. When coming back to configure, we
7099
# need to make the FD available again.
7100
if test "$no_create" != yes; then
7102
ac_config_status_args=
7103
test "$silent" = yes &&
7104
ac_config_status_args="$ac_config_status_args --quiet"
7106
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7108
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
7109
# would make configure fail if this is the last instruction.
7110
$ac_cs_success || as_fn_exit $?
7112
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7113
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7114
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}