136
# Required to use basename.
137
if expr a : '\(a\)' >/dev/null 2>&1 &&
138
test "X`expr 00001 : '.*\(...\)'`" = X001; then
144
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
151
# Name of the executable.
152
as_me=`$as_basename -- "$0" ||
153
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154
X"$0" : 'X\(//\)$' \| \
155
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
157
sed '/^.*\/\([^/][^/]*\)\/*$/{
136
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
175
138
if test "x$CONFIG_SHELL" = x; then
176
if (eval ":") 2>/dev/null; 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 #(
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 :
177
178
as_have_required=yes
179
180
as_have_required=no
182
if test $as_have_required = yes && (eval ":
192
as_func_ret_success () {
195
as_func_ret_failure () {
200
if as_func_success; then
204
echo as_func_success failed.
207
if as_func_failure; then
209
echo as_func_failure succeeded.
212
if as_func_ret_success; then
216
echo as_func_ret_success failed.
219
if as_func_ret_failure; then
221
echo as_func_ret_failure succeeded.
224
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
228
echo positional parameters were not saved.
231
test \$exitcode = 0) || { (exit 1); exit 1; }
236
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238
") 2> /dev/null; then
242
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
182
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243
187
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
246
190
test -z "$as_dir" && as_dir=.
249
194
for as_base in sh bash ksh sh5; do
250
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
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
257
for as_shell in $as_candidate_shells $SHELL; do
258
# Try only shells that exist, to save several forks.
259
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260
{ ("$as_shell") 2> /dev/null <<\_ASEOF
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265
# is contrary to our usage. Disable this feature.
266
alias -g '${1+"$@"}'='"$@"'
269
case `(set -o) 2>/dev/null` in
270
*posix*) set -o posix ;;
279
CONFIG_SHELL=$as_shell
281
if { "$as_shell" 2> /dev/null <<\_ASEOF
282
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
285
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286
# is contrary to our usage. Disable this feature.
287
alias -g '${1+"$@"}'='"$@"'
290
case `(set -o) 2>/dev/null` in
291
*posix*) set -o posix ;;
307
as_func_ret_success () {
310
as_func_ret_failure () {
315
if as_func_success; then
319
echo as_func_success failed.
322
if as_func_failure; then
324
echo as_func_failure succeeded.
327
if as_func_ret_success; then
331
echo as_func_ret_success failed.
334
if as_func_ret_failure; then
336
echo as_func_ret_failure succeeded.
339
if ( set x; as_func_ret_success y && test x = "$1" ); then
343
echo positional parameters were not saved.
346
test $exitcode = 0) || { (exit 1); exit 1; }
351
test "x$as_lineno_1" != "x$as_lineno_2" &&
352
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
363
if test "x$CONFIG_SHELL" != x; then
364
for as_var in BASH_ENV ENV
365
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
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
367
222
export CONFIG_SHELL
368
223
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
372
if test $as_have_required = no; then
373
echo This script requires a shell more modern than all the
374
echo shells that I found on your system. Please install a
375
echo modern shell, or manually run the script under such a
376
echo shell if you do have one.
377
{ (exit 1); exit 1; }
387
(eval "as_func_return () {
396
as_func_ret_success () {
399
as_func_ret_failure () {
404
if as_func_success; then
408
echo as_func_success failed.
411
if as_func_failure; then
413
echo as_func_failure succeeded.
416
if as_func_ret_success; then
420
echo as_func_ret_success failed.
423
if as_func_ret_failure; then
425
echo as_func_ret_failure succeeded.
428
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
432
echo positional parameters were not saved.
435
test \$exitcode = 0") || {
436
echo No shell found that supports shell functions.
437
echo Please tell bug-autoconf@gnu.org about your system,
438
echo including any error possibly output before this message.
439
echo This can help us improve future autoconf versions.
440
echo Configuration will now proceed without shell functions.
447
test "x$as_lineno_1" != "x$as_lineno_2" &&
448
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
450
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451
# uniformly replaced by the line number. The first 'sed' inserts a
452
# line-number line after each line using $LINENO; the second 'sed'
453
# does the real work. The second script uses 'N' to pair each
454
# line-number line with the line containing $LINENO, and appends
455
# trailing '-' during substitution so that $LINENO is not a special
457
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458
# scripts with optimization help from Paolo Bonzini. Blame Lee
459
# E. McMahon (1931-1989) for sed's syntax. :-)
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 $? to STATUS, without forking.
271
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281
# Create "$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
332
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333
eval 'as_fn_append ()
346
# Perform arithmetic evaluation on the ARGs, and store the result in the
347
# global $as_val. Take advantage of shells that can avoid forks. The arguments
348
# must be portable across $(()) 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 $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 $?, 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. :-)
1791
1754
test -n "$ac_init_help" && exit $ac_status
1792
1755
if $ac_init_version; then
1794
TeX Live configure 2009test-1.6
1795
generated by GNU Autoconf 2.63
1757
TeX Live configure 2010-04-15
1758
generated by GNU Autoconf 2.65
1797
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1798
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1760
Copyright (C) 2009 Free Software Foundation, Inc.
1799
1761
This configure script is free software; the Free Software Foundation
1800
1762
gives unlimited permission to copy, distribute and modify it.
1767
## ------------------------ ##
1768
## Autoconf initialization. ##
1769
## ------------------------ ##
1771
# ac_fn_c_try_compile LINENO
1772
# --------------------------
1773
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1774
ac_fn_c_try_compile ()
1776
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1777
rm -f conftest.$ac_objext
1778
if { { ac_try="$ac_compile"
1780
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1781
*) ac_try_echo=$ac_try;;
1783
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1784
$as_echo "$ac_try_echo"; } >&5
1785
(eval "$ac_compile") 2>conftest.err
1787
if test -s conftest.err; then
1788
grep -v '^ *+' conftest.err >conftest.er1
1789
cat conftest.er1 >&5
1790
mv -f conftest.er1 conftest.err
1792
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1793
test $ac_status = 0; } && {
1794
test -z "$ac_c_werror_flag" ||
1795
test ! -s conftest.err
1796
} && test -s conftest.$ac_objext; then :
1799
$as_echo "$as_me: failed program was:" >&5
1800
sed 's/^/| /' conftest.$ac_ext >&5
1804
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1805
as_fn_set_status $ac_retval
1807
} # ac_fn_c_try_compile
1809
# ac_fn_c_try_link LINENO
1810
# -----------------------
1811
# Try to link conftest.$ac_ext, and return whether this succeeded.
1814
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1815
rm -f conftest.$ac_objext conftest$ac_exeext
1816
if { { ac_try="$ac_link"
1818
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1819
*) ac_try_echo=$ac_try;;
1821
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1822
$as_echo "$ac_try_echo"; } >&5
1823
(eval "$ac_link") 2>conftest.err
1825
if test -s conftest.err; then
1826
grep -v '^ *+' conftest.err >conftest.er1
1827
cat conftest.er1 >&5
1828
mv -f conftest.er1 conftest.err
1830
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1831
test $ac_status = 0; } && {
1832
test -z "$ac_c_werror_flag" ||
1833
test ! -s conftest.err
1834
} && test -s conftest$ac_exeext && {
1835
test "$cross_compiling" = yes ||
1836
$as_test_x conftest$ac_exeext
1840
$as_echo "$as_me: failed program was:" >&5
1841
sed 's/^/| /' conftest.$ac_ext >&5
1845
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1846
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1847
# interfere with the next link command; also delete a directory that is
1848
# left behind by Apple's compiler. We do this before executing the actions.
1849
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1850
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1851
as_fn_set_status $ac_retval
1853
} # ac_fn_c_try_link
1855
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1856
# -------------------------------------------------------
1857
# Tests whether HEADER exists and can be compiled using the include files in
1858
# INCLUDES, setting the cache variable VAR accordingly.
1859
ac_fn_c_check_header_compile ()
1861
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1862
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1863
$as_echo_n "checking for $2... " >&6; }
1864
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1865
$as_echo_n "(cached) " >&6
1867
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1868
/* end confdefs.h. */
1872
if ac_fn_c_try_compile "$LINENO"; then :
1877
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1880
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1881
$as_echo "$ac_res" >&6; }
1882
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1884
} # ac_fn_c_check_header_compile
1886
# ac_fn_c_try_cpp LINENO
1887
# ----------------------
1888
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1891
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1892
if { { ac_try="$ac_cpp conftest.$ac_ext"
1894
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1895
*) ac_try_echo=$ac_try;;
1897
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1898
$as_echo "$ac_try_echo"; } >&5
1899
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1901
if test -s conftest.err; then
1902
grep -v '^ *+' conftest.err >conftest.er1
1903
cat conftest.er1 >&5
1904
mv -f conftest.er1 conftest.err
1906
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1907
test $ac_status = 0; } >/dev/null && {
1908
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1909
test ! -s conftest.err
1913
$as_echo "$as_me: failed program was:" >&5
1914
sed 's/^/| /' conftest.$ac_ext >&5
1918
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1919
as_fn_set_status $ac_retval
1923
# ac_fn_c_try_run LINENO
1924
# ----------------------
1925
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1926
# that executables *can* be run.
1929
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1930
if { { ac_try="$ac_link"
1932
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1933
*) ac_try_echo=$ac_try;;
1935
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1936
$as_echo "$ac_try_echo"; } >&5
1937
(eval "$ac_link") 2>&5
1939
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1940
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1941
{ { case "(($ac_try" in
1942
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1943
*) ac_try_echo=$ac_try;;
1945
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1946
$as_echo "$ac_try_echo"; } >&5
1947
(eval "$ac_try") 2>&5
1949
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1950
test $ac_status = 0; }; }; then :
1953
$as_echo "$as_me: program exited with status $ac_status" >&5
1954
$as_echo "$as_me: failed program was:" >&5
1955
sed 's/^/| /' conftest.$ac_ext >&5
1957
ac_retval=$ac_status
1959
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1960
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1961
as_fn_set_status $ac_retval
1965
# ac_fn_c_check_func LINENO FUNC VAR
1966
# ----------------------------------
1967
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1968
ac_fn_c_check_func ()
1970
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1971
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1972
$as_echo_n "checking for $2... " >&6; }
1973
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1974
$as_echo_n "(cached) " >&6
1976
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1977
/* end confdefs.h. */
1978
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1979
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1980
#define $2 innocuous_$2
1982
/* System header to define __stub macros and hopefully few prototypes,
1983
which can conflict with char $2 (); below.
1984
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1985
<limits.h> exists even on freestanding compilers. */
1988
# include <limits.h>
1990
# include <assert.h>
1995
/* Override any GCC internal prototype to avoid an error.
1996
Use char because int might match the return type of a GCC
1997
builtin and then its argument prototype would still apply. */
2002
/* The GNU C library defines this for functions which it implements
2003
to always fail with ENOSYS. Some functions are actually named
2004
something starting with __ and the normal name is an alias. */
2005
#if defined __stub_$2 || defined __stub___$2
2017
if ac_fn_c_try_link "$LINENO"; then :
2022
rm -f core conftest.err conftest.$ac_objext \
2023
conftest$ac_exeext conftest.$ac_ext
2026
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2027
$as_echo "$ac_res" >&6; }
2028
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2030
} # ac_fn_c_check_func
2032
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2033
# -------------------------------------------------------
2034
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2035
# the include files in INCLUDES and setting the cache variable VAR
2037
ac_fn_c_check_header_mongrel ()
2039
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2040
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2041
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2042
$as_echo_n "checking for $2... " >&6; }
2043
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2044
$as_echo_n "(cached) " >&6
2047
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2048
$as_echo "$ac_res" >&6; }
2050
# Is the header compilable?
2051
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2052
$as_echo_n "checking $2 usability... " >&6; }
2053
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2054
/* end confdefs.h. */
2058
if ac_fn_c_try_compile "$LINENO"; then :
2059
ac_header_compiler=yes
2061
ac_header_compiler=no
2063
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2064
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2065
$as_echo "$ac_header_compiler" >&6; }
2067
# Is the header present?
2068
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2069
$as_echo_n "checking $2 presence... " >&6; }
2070
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2071
/* end confdefs.h. */
2074
if ac_fn_c_try_cpp "$LINENO"; then :
2075
ac_header_preproc=yes
2077
ac_header_preproc=no
2079
rm -f conftest.err conftest.$ac_ext
2080
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2081
$as_echo "$ac_header_preproc" >&6; }
2083
# So? What about this header?
2084
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2086
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2087
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2088
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2089
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2092
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2093
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2094
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2095
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2096
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2097
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2098
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2099
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2100
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2101
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2103
## ---------------------------- ##
2104
## Report this to tex-k@tug.org ##
2105
## ---------------------------- ##
2107
) | sed "s/^/$as_me: WARNING: /" >&2
2110
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2111
$as_echo_n "checking for $2... " >&6; }
2112
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2113
$as_echo_n "(cached) " >&6
2115
eval "$3=\$ac_header_compiler"
2118
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2119
$as_echo "$ac_res" >&6; }
2121
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2123
} # ac_fn_c_check_header_mongrel
2125
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2126
# -------------------------------------------
2127
# Tests whether TYPE exists after having included INCLUDES, setting cache
2128
# variable VAR accordingly.
2129
ac_fn_c_check_type ()
2131
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2132
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2133
$as_echo_n "checking for $2... " >&6; }
2134
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2135
$as_echo_n "(cached) " >&6
2138
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2139
/* end confdefs.h. */
2150
if ac_fn_c_try_compile "$LINENO"; then :
2151
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2152
/* end confdefs.h. */
2163
if ac_fn_c_try_compile "$LINENO"; then :
2168
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2170
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2173
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2174
$as_echo "$ac_res" >&6; }
2175
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2177
} # ac_fn_c_check_type
2179
# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2180
# ----------------------------------------------------
2181
# Tries to find if the field MEMBER exists in type AGGR, after including
2182
# INCLUDES, setting cache variable VAR accordingly.
2183
ac_fn_c_check_member ()
2185
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2186
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2187
$as_echo_n "checking for $2.$3... " >&6; }
2188
if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2189
$as_echo_n "(cached) " >&6
2191
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2192
/* end confdefs.h. */
2204
if ac_fn_c_try_compile "$LINENO"; then :
2207
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2208
/* end confdefs.h. */
2214
if (sizeof ac_aggr.$3)
2220
if ac_fn_c_try_compile "$LINENO"; then :
2225
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2227
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2230
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2231
$as_echo "$ac_res" >&6; }
2232
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2234
} # ac_fn_c_check_member
2236
# ac_fn_cxx_try_compile LINENO
2237
# ----------------------------
2238
# Try to compile conftest.$ac_ext, and return whether this succeeded.
2239
ac_fn_cxx_try_compile ()
2241
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2242
rm -f conftest.$ac_objext
2243
if { { ac_try="$ac_compile"
2245
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2246
*) ac_try_echo=$ac_try;;
2248
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2249
$as_echo "$ac_try_echo"; } >&5
2250
(eval "$ac_compile") 2>conftest.err
2252
if test -s conftest.err; then
2253
grep -v '^ *+' conftest.err >conftest.er1
2254
cat conftest.er1 >&5
2255
mv -f conftest.er1 conftest.err
2257
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2258
test $ac_status = 0; } && {
2259
test -z "$ac_cxx_werror_flag" ||
2260
test ! -s conftest.err
2261
} && test -s conftest.$ac_objext; then :
2264
$as_echo "$as_me: failed program was:" >&5
2265
sed 's/^/| /' conftest.$ac_ext >&5
2269
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2270
as_fn_set_status $ac_retval
2272
} # ac_fn_cxx_try_compile
2274
# ac_fn_cxx_try_cpp LINENO
2275
# ------------------------
2276
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2277
ac_fn_cxx_try_cpp ()
2279
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2280
if { { ac_try="$ac_cpp conftest.$ac_ext"
2282
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2283
*) ac_try_echo=$ac_try;;
2285
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2286
$as_echo "$ac_try_echo"; } >&5
2287
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2289
if test -s conftest.err; then
2290
grep -v '^ *+' conftest.err >conftest.er1
2291
cat conftest.er1 >&5
2292
mv -f conftest.er1 conftest.err
2294
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2295
test $ac_status = 0; } >/dev/null && {
2296
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2297
test ! -s conftest.err
2301
$as_echo "$as_me: failed program was:" >&5
2302
sed 's/^/| /' conftest.$ac_ext >&5
2306
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2307
as_fn_set_status $ac_retval
2309
} # ac_fn_cxx_try_cpp
2311
# ac_fn_cxx_try_link LINENO
2312
# -------------------------
2313
# Try to link conftest.$ac_ext, and return whether this succeeded.
2314
ac_fn_cxx_try_link ()
2316
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2317
rm -f conftest.$ac_objext conftest$ac_exeext
2318
if { { ac_try="$ac_link"
2320
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2321
*) ac_try_echo=$ac_try;;
2323
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2324
$as_echo "$ac_try_echo"; } >&5
2325
(eval "$ac_link") 2>conftest.err
2327
if test -s conftest.err; then
2328
grep -v '^ *+' conftest.err >conftest.er1
2329
cat conftest.er1 >&5
2330
mv -f conftest.er1 conftest.err
2332
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2333
test $ac_status = 0; } && {
2334
test -z "$ac_cxx_werror_flag" ||
2335
test ! -s conftest.err
2336
} && test -s conftest$ac_exeext && {
2337
test "$cross_compiling" = yes ||
2338
$as_test_x conftest$ac_exeext
2342
$as_echo "$as_me: failed program was:" >&5
2343
sed 's/^/| /' conftest.$ac_ext >&5
2347
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2348
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2349
# interfere with the next link command; also delete a directory that is
2350
# left behind by Apple's compiler. We do this before executing the actions.
2351
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2352
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2353
as_fn_set_status $ac_retval
2355
} # ac_fn_cxx_try_link
1804
2356
cat >config.log <<_ACEOF
1805
2357
This file contains any messages produced by compilers while
1806
2358
running configure, to aid debugging if configure makes a mistake.
1808
It was created by TeX Live $as_me 2009test-1.6, which was
1809
generated by GNU Autoconf 2.63. Invocation command line was
2360
It was created by TeX Live $as_me 2010-04-15, which was
2361
generated by GNU Autoconf 2.65. Invocation command line was
19385
17512
TECKIT_LIBS="-L$with_teckit_libdir $TECKIT_LIBS"
19388
if test "x$with_kpathsea_includes" != x && test "x$with_kpathsea_includes" != xyes; then
19389
KPATHSEA_INCLUDES="-I$with_kpathsea_includes"
19391
KPATHSEA_LIBS="-lkpathsea"
19392
if test "x$with_kpathsea_libdir" != x && test "x$with_kpathsea_libdir" != xyes; then
19393
KPATHSEA_LIBS="-L$with_kpathsea_libdir $KPATHSEA_LIBS"
17515
if test -n "$ac_tool_prefix"; then
17516
# Extract the first word of "${ac_tool_prefix}icu-config", so it can be a program name with args.
17517
set dummy ${ac_tool_prefix}icu-config; ac_word=$2
17518
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17519
$as_echo_n "checking for $ac_word... " >&6; }
17520
if test "${ac_cv_prog_ICU_CONFIG+set}" = set; then :
17521
$as_echo_n "(cached) " >&6
17523
if test -n "$ICU_CONFIG"; then
17524
ac_cv_prog_ICU_CONFIG="$ICU_CONFIG" # Let the user override the test.
17526
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17527
for as_dir in $PATH
17530
test -z "$as_dir" && as_dir=.
17531
for ac_exec_ext in '' $ac_executable_extensions; do
17532
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17533
ac_cv_prog_ICU_CONFIG="${ac_tool_prefix}icu-config"
17534
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17543
ICU_CONFIG=$ac_cv_prog_ICU_CONFIG
17544
if test -n "$ICU_CONFIG"; then
17545
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICU_CONFIG" >&5
17546
$as_echo "$ICU_CONFIG" >&6; }
17548
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17549
$as_echo "no" >&6; }
17554
if test -z "$ac_cv_prog_ICU_CONFIG"; then
17555
ac_ct_ICU_CONFIG=$ICU_CONFIG
17556
# Extract the first word of "icu-config", so it can be a program name with args.
17557
set dummy icu-config; ac_word=$2
17558
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17559
$as_echo_n "checking for $ac_word... " >&6; }
17560
if test "${ac_cv_prog_ac_ct_ICU_CONFIG+set}" = set; then :
17561
$as_echo_n "(cached) " >&6
17563
if test -n "$ac_ct_ICU_CONFIG"; then
17564
ac_cv_prog_ac_ct_ICU_CONFIG="$ac_ct_ICU_CONFIG" # Let the user override the test.
17566
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17567
for as_dir in $PATH
17570
test -z "$as_dir" && as_dir=.
17571
for ac_exec_ext in '' $ac_executable_extensions; do
17572
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17573
ac_cv_prog_ac_ct_ICU_CONFIG="icu-config"
17574
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17583
ac_ct_ICU_CONFIG=$ac_cv_prog_ac_ct_ICU_CONFIG
17584
if test -n "$ac_ct_ICU_CONFIG"; then
17585
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_ICU_CONFIG" >&5
17586
$as_echo "$ac_ct_ICU_CONFIG" >&6; }
17588
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17589
$as_echo "no" >&6; }
17592
if test "x$ac_ct_ICU_CONFIG" = x; then
17595
case $cross_compiling:$ac_tool_warned in
17597
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17598
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17599
ac_tool_warned=yes ;;
17601
ICU_CONFIG=$ac_ct_ICU_CONFIG
17604
ICU_CONFIG="$ac_cv_prog_ICU_CONFIG"
17607
if $ICU_CONFIG --version >/dev/null 2>&1; then
17608
ICU_INCLUDES=`$ICU_CONFIG --cppflags`
17609
# Work around bug in icu-config version 4.4
17610
ICU_LIBS=`$ICU_CONFIG --ldflags-searchpath `
17611
ICU_LIBS="$ICU_LIBS `$ICU_CONFIG --ldflags-libsonly --ldflags-system`"
17612
elif test "x$need_icu:$with_system_icu" = xyes:yes; then
17613
as_fn_error "did not find icu-config required for system icu libraries" "$LINENO" 5
17621
## texk/kpathsea/ac/kpathsea.ac: configure.ac fragment for the TeX Live subdirectory texk/kpathsea/
17622
## basic check of system kpathsea
17623
if test "x$need_kpathsea:$with_system_kpathsea" = xyes:yes; then
17624
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking requested system \`kpathsea' library" >&5
17625
$as_echo_n "checking requested system \`kpathsea' library... " >&6; }
17626
CPPFLAGS="$KPATHSEA_INCLUDES $CPPFLAGS"
17627
LIBS="$KPATHSEA_LIBS $LIBS"
17628
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17629
/* end confdefs.h. */
17630
#include <kpathsea/kpathsea.h>
17631
#include <kpathsea/version.h>
17635
const char *version = kpathsea_version_string;
17636
kpse_set_program_name("prog", "name");
17641
if ac_fn_c_try_link "$LINENO"; then :
17642
syslib_used=yes kpse_res=ok
17644
syslib_status=no kpse_res=failed
17646
rm -f core conftest.err conftest.$ac_objext \
17647
conftest$ac_exeext conftest.$ac_ext
17648
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_res" >&5
17649
$as_echo "$kpse_res" >&6; }
19397
17653
## libs/zlib/ac/zlib.ac: configure.ac fragment for the TeX Live subdirectory libs/zlib/
19398
## define required functions and headers from system zlib
19399
if test "x$need_zlib:$with_system_zlib" = 'xyes:yes'; then
19400
{ $as_echo "$as_me:$LINENO: checking requested system \`zlib' library..." >&5
19401
$as_echo "$as_me: checking requested system \`zlib' library..." >&6;}
17654
## basic check of system zlib
17655
if test "x$need_zlib:$with_system_zlib" = xyes:yes; then
17656
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking requested system \`zlib' library" >&5
17657
$as_echo_n "checking requested system \`zlib' library... " >&6; }
19402
17658
CPPFLAGS="$ZLIB_INCLUDES $CPPFLAGS"
19403
17659
LIBS="$ZLIB_LIBS $LIBS"
19405
for ac_func in inflate
19407
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19408
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
19409
$as_echo_n "checking for $ac_func... " >&6; }
19410
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19411
$as_echo_n "(cached) " >&6
19413
cat >conftest.$ac_ext <<_ACEOF
19416
cat confdefs.h >>conftest.$ac_ext
19417
cat >>conftest.$ac_ext <<_ACEOF
17660
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19418
17661
/* end confdefs.h. */
19419
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19420
For example, HP-UX 11i <limits.h> declares gettimeofday. */
19421
#define $ac_func innocuous_$ac_func
19423
/* System header to define __stub macros and hopefully few prototypes,
19424
which can conflict with char $ac_func (); below.
19425
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19426
<limits.h> exists even on freestanding compilers. */
19429
# include <limits.h>
19431
# include <assert.h>
19436
/* Override any GCC internal prototype to avoid an error.
19437
Use char because int might match the return type of a GCC
19438
builtin and then its argument prototype would still apply. */
19443
/* The GNU C library defines this for functions which it implements
19444
to always fail with ENOSYS. Some functions are actually named
19445
something starting with __ and the normal name is an alias. */
19446
#if defined __stub_$ac_func || defined __stub___$ac_func
19453
return $ac_func ();
17667
const char *version = zlibVersion();
17668
deflate(&stream, 0);
19458
rm -f conftest.$ac_objext conftest$ac_exeext
19459
if { (ac_try="$ac_link"
19460
case "(($ac_try" in
19461
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19462
*) ac_try_echo=$ac_try;;
19464
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19465
$as_echo "$ac_try_echo") >&5
19466
(eval "$ac_link") 2>conftest.er1
19468
grep -v '^ *+' conftest.er1 >conftest.err
19470
cat conftest.err >&5
19471
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19472
(exit $ac_status); } && {
19473
test -z "$ac_c_werror_flag" ||
19474
test ! -s conftest.err
19475
} && test -s conftest$ac_exeext && {
19476
test "$cross_compiling" = yes ||
19477
$as_test_x conftest$ac_exeext
19479
eval "$as_ac_var=yes"
19481
$as_echo "$as_me: failed program was:" >&5
19482
sed 's/^/| /' conftest.$ac_ext >&5
19484
eval "$as_ac_var=no"
19487
rm -rf conftest.dSYM
19488
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19489
conftest$ac_exeext conftest.$ac_ext
19491
ac_res=`eval 'as_val=${'$as_ac_var'}
19492
$as_echo "$as_val"'`
19493
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19494
$as_echo "$ac_res" >&6; }
19495
as_val=`eval 'as_val=${'$as_ac_var'}
19496
$as_echo "$as_val"'`
19497
if test "x$as_val" = x""yes; then
19498
cat >>confdefs.h <<_ACEOF
19499
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19508
for ac_header in zlib.h
19510
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19511
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19512
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
19513
$as_echo_n "checking for $ac_header... " >&6; }
19514
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19515
$as_echo_n "(cached) " >&6
19517
ac_res=`eval 'as_val=${'$as_ac_Header'}
19518
$as_echo "$as_val"'`
19519
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19520
$as_echo "$ac_res" >&6; }
19522
# Is the header compilable?
19523
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
19524
$as_echo_n "checking $ac_header usability... " >&6; }
19525
cat >conftest.$ac_ext <<_ACEOF
19528
cat confdefs.h >>conftest.$ac_ext
19529
cat >>conftest.$ac_ext <<_ACEOF
19530
/* end confdefs.h. */
19531
$ac_includes_default
19532
#include <$ac_header>
19534
rm -f conftest.$ac_objext
19535
if { (ac_try="$ac_compile"
19536
case "(($ac_try" in
19537
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19538
*) ac_try_echo=$ac_try;;
19540
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19541
$as_echo "$ac_try_echo") >&5
19542
(eval "$ac_compile") 2>conftest.er1
19544
grep -v '^ *+' conftest.er1 >conftest.err
19546
cat conftest.err >&5
19547
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19548
(exit $ac_status); } && {
19549
test -z "$ac_c_werror_flag" ||
19550
test ! -s conftest.err
19551
} && test -s conftest.$ac_objext; then
19552
ac_header_compiler=yes
19554
$as_echo "$as_me: failed program was:" >&5
19555
sed 's/^/| /' conftest.$ac_ext >&5
19557
ac_header_compiler=no
19560
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19561
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19562
$as_echo "$ac_header_compiler" >&6; }
19564
# Is the header present?
19565
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
19566
$as_echo_n "checking $ac_header presence... " >&6; }
19567
cat >conftest.$ac_ext <<_ACEOF
19570
cat confdefs.h >>conftest.$ac_ext
19571
cat >>conftest.$ac_ext <<_ACEOF
19572
/* end confdefs.h. */
19573
#include <$ac_header>
19575
if { (ac_try="$ac_cpp conftest.$ac_ext"
19576
case "(($ac_try" in
19577
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19578
*) ac_try_echo=$ac_try;;
19580
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19581
$as_echo "$ac_try_echo") >&5
19582
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19584
grep -v '^ *+' conftest.er1 >conftest.err
19586
cat conftest.err >&5
19587
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19588
(exit $ac_status); } >/dev/null && {
19589
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19590
test ! -s conftest.err
19592
ac_header_preproc=yes
19594
$as_echo "$as_me: failed program was:" >&5
19595
sed 's/^/| /' conftest.$ac_ext >&5
19597
ac_header_preproc=no
19600
rm -f conftest.err conftest.$ac_ext
19601
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19602
$as_echo "$ac_header_preproc" >&6; }
19604
# So? What about this header?
19605
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19607
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19608
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19609
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19610
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19611
ac_header_preproc=yes
19614
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19615
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19616
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19617
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19618
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19619
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19620
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19621
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19622
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19623
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19624
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19625
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19627
## ---------------------------- ##
19628
## Report this to tex-k@tug.org ##
19629
## ---------------------------- ##
19631
) | sed "s/^/$as_me: WARNING: /" >&2
19634
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
19635
$as_echo_n "checking for $ac_header... " >&6; }
19636
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19637
$as_echo_n "(cached) " >&6
19639
eval "$as_ac_Header=\$ac_header_preproc"
19641
ac_res=`eval 'as_val=${'$as_ac_Header'}
19642
$as_echo "$as_val"'`
19643
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19644
$as_echo "$ac_res" >&6; }
19647
as_val=`eval 'as_val=${'$as_ac_Header'}
19648
$as_echo "$as_val"'`
19649
if test "x$as_val" = x""yes; then
19650
cat >>confdefs.h <<_ACEOF
19651
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17673
if ac_fn_c_try_link "$LINENO"; then :
17674
syslib_used=yes kpse_res=ok
17676
syslib_status=no kpse_res=failed
17678
rm -f core conftest.err conftest.$ac_objext \
17679
conftest$ac_exeext conftest.$ac_ext
17680
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_res" >&5
17681
$as_echo "$kpse_res" >&6; }
19664
17685
## libs/libpng/ac/libpng.ac: configure.ac fragment for the TeX Live subdirectory libs/libpng/
19665
## define required functions and headers from system libpng
19666
if test "x$need_libpng:$with_system_libpng" = 'xyes:yes'; then
19667
{ $as_echo "$as_me:$LINENO: checking requested system \`libpng' library..." >&5
19668
$as_echo "$as_me: checking requested system \`libpng' library..." >&6;}
17686
## basic check of system libpng
17687
if test "x$need_libpng:$with_system_libpng" = xyes:yes; then
17688
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking requested system \`libpng' library" >&5
17689
$as_echo_n "checking requested system \`libpng' library... " >&6; }
19669
17690
CPPFLAGS="$LIBPNG_INCLUDES $CPPFLAGS"
19670
17691
LIBS="$LIBPNG_LIBS $LIBS"
19672
for ac_func in png_set_read_fn
19674
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19675
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
19676
$as_echo_n "checking for $ac_func... " >&6; }
19677
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19678
$as_echo_n "(cached) " >&6
19680
cat >conftest.$ac_ext <<_ACEOF
19683
cat confdefs.h >>conftest.$ac_ext
19684
cat >>conftest.$ac_ext <<_ACEOF
17692
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19685
17693
/* end confdefs.h. */
19686
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19687
For example, HP-UX 11i <limits.h> declares gettimeofday. */
19688
#define $ac_func innocuous_$ac_func
19690
/* System header to define __stub macros and hopefully few prototypes,
19691
which can conflict with char $ac_func (); below.
19692
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19693
<limits.h> exists even on freestanding compilers. */
19696
# include <limits.h>
19698
# include <assert.h>
19703
/* Override any GCC internal prototype to avoid an error.
19704
Use char because int might match the return type of a GCC
19705
builtin and then its argument prototype would still apply. */
19710
/* The GNU C library defines this for functions which it implements
19711
to always fail with ENOSYS. Some functions are actually named
19712
something starting with __ and the normal name is an alias. */
19713
#if defined __stub_$ac_func || defined __stub___$ac_func
19720
return $ac_func ();
17698
png_structp png; png_voidp io; png_rw_ptr fn;
17699
png_set_read_fn(png, io, fn);
19725
rm -f conftest.$ac_objext conftest$ac_exeext
19726
if { (ac_try="$ac_link"
19727
case "(($ac_try" in
19728
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19729
*) ac_try_echo=$ac_try;;
19731
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19732
$as_echo "$ac_try_echo") >&5
19733
(eval "$ac_link") 2>conftest.er1
19735
grep -v '^ *+' conftest.er1 >conftest.err
19737
cat conftest.err >&5
19738
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19739
(exit $ac_status); } && {
19740
test -z "$ac_c_werror_flag" ||
19741
test ! -s conftest.err
19742
} && test -s conftest$ac_exeext && {
19743
test "$cross_compiling" = yes ||
19744
$as_test_x conftest$ac_exeext
19746
eval "$as_ac_var=yes"
19748
$as_echo "$as_me: failed program was:" >&5
19749
sed 's/^/| /' conftest.$ac_ext >&5
19751
eval "$as_ac_var=no"
19754
rm -rf conftest.dSYM
19755
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19756
conftest$ac_exeext conftest.$ac_ext
19758
ac_res=`eval 'as_val=${'$as_ac_var'}
19759
$as_echo "$as_val"'`
19760
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19761
$as_echo "$ac_res" >&6; }
19762
as_val=`eval 'as_val=${'$as_ac_var'}
19763
$as_echo "$as_val"'`
19764
if test "x$as_val" = x""yes; then
19765
cat >>confdefs.h <<_ACEOF
19766
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19775
for ac_header in png.h
19777
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19778
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19779
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
19780
$as_echo_n "checking for $ac_header... " >&6; }
19781
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19782
$as_echo_n "(cached) " >&6
19784
ac_res=`eval 'as_val=${'$as_ac_Header'}
19785
$as_echo "$as_val"'`
19786
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19787
$as_echo "$ac_res" >&6; }
19789
# Is the header compilable?
19790
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
19791
$as_echo_n "checking $ac_header usability... " >&6; }
19792
cat >conftest.$ac_ext <<_ACEOF
19795
cat confdefs.h >>conftest.$ac_ext
19796
cat >>conftest.$ac_ext <<_ACEOF
19797
/* end confdefs.h. */
19798
$ac_includes_default
19799
#include <$ac_header>
19801
rm -f conftest.$ac_objext
19802
if { (ac_try="$ac_compile"
19803
case "(($ac_try" in
19804
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19805
*) ac_try_echo=$ac_try;;
19807
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19808
$as_echo "$ac_try_echo") >&5
19809
(eval "$ac_compile") 2>conftest.er1
19811
grep -v '^ *+' conftest.er1 >conftest.err
19813
cat conftest.err >&5
19814
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19815
(exit $ac_status); } && {
19816
test -z "$ac_c_werror_flag" ||
19817
test ! -s conftest.err
19818
} && test -s conftest.$ac_objext; then
19819
ac_header_compiler=yes
19821
$as_echo "$as_me: failed program was:" >&5
19822
sed 's/^/| /' conftest.$ac_ext >&5
19824
ac_header_compiler=no
19827
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19828
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19829
$as_echo "$ac_header_compiler" >&6; }
19831
# Is the header present?
19832
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
19833
$as_echo_n "checking $ac_header presence... " >&6; }
19834
cat >conftest.$ac_ext <<_ACEOF
19837
cat confdefs.h >>conftest.$ac_ext
19838
cat >>conftest.$ac_ext <<_ACEOF
19839
/* end confdefs.h. */
19840
#include <$ac_header>
19842
if { (ac_try="$ac_cpp conftest.$ac_ext"
19843
case "(($ac_try" in
19844
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19845
*) ac_try_echo=$ac_try;;
19847
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19848
$as_echo "$ac_try_echo") >&5
19849
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19851
grep -v '^ *+' conftest.er1 >conftest.err
19853
cat conftest.err >&5
19854
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19855
(exit $ac_status); } >/dev/null && {
19856
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19857
test ! -s conftest.err
19859
ac_header_preproc=yes
19861
$as_echo "$as_me: failed program was:" >&5
19862
sed 's/^/| /' conftest.$ac_ext >&5
19864
ac_header_preproc=no
19867
rm -f conftest.err conftest.$ac_ext
19868
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19869
$as_echo "$ac_header_preproc" >&6; }
19871
# So? What about this header?
19872
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19874
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19875
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19876
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19877
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19878
ac_header_preproc=yes
19881
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19882
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19883
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19884
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19885
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19886
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19887
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19888
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19889
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19890
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19891
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19892
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19894
## ---------------------------- ##
19895
## Report this to tex-k@tug.org ##
19896
## ---------------------------- ##
19898
) | sed "s/^/$as_me: WARNING: /" >&2
19901
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
19902
$as_echo_n "checking for $ac_header... " >&6; }
19903
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19904
$as_echo_n "(cached) " >&6
19906
eval "$as_ac_Header=\$ac_header_preproc"
19908
ac_res=`eval 'as_val=${'$as_ac_Header'}
19909
$as_echo "$as_val"'`
19910
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19911
$as_echo "$ac_res" >&6; }
19914
as_val=`eval 'as_val=${'$as_ac_Header'}
19915
$as_echo "$as_val"'`
19916
if test "x$as_val" = x""yes; then
19917
cat >>confdefs.h <<_ACEOF
19918
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17704
if ac_fn_c_try_link "$LINENO"; then :
17705
syslib_used=yes kpse_res=ok
17707
syslib_status=no kpse_res=failed
17709
rm -f core conftest.err conftest.$ac_objext \
17710
conftest$ac_exeext conftest.$ac_ext
17711
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_res" >&5
17712
$as_echo "$kpse_res" >&6; }
19931
17716
## libs/xpdf/ac/xpdf.ac: configure.ac fragment for the TeX Live subdirectory libs/xpdf/
19932
## define required functions and headers from system xpdf
19933
if test "x$need_xpdf:$with_system_xpdf" = 'xyes:yes'; then
19934
{ $as_echo "$as_me:$LINENO: checking requested system \`xpdf' library..." >&5
19935
$as_echo "$as_me: checking requested system \`xpdf' library..." >&6;}
17717
## basic check of system xpdf (poppler)
17719
ac_cpp='$CXXCPP $CPPFLAGS'
17720
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17721
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17722
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17723
if test "x$need_xpdf:$with_system_xpdf" = xyes:yes; then
17724
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking requested system \`xpdf' library" >&5
17725
$as_echo_n "checking requested system \`xpdf' library... " >&6; }
19936
17726
CPPFLAGS="$XPDF_INCLUDES $CPPFLAGS"
19937
17727
LIBS="$XPDF_LIBS $LIBS"
19939
for ac_func in free
19941
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19942
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
19943
$as_echo_n "checking for $ac_func... " >&6; }
19944
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19945
$as_echo_n "(cached) " >&6
19947
cat >conftest.$ac_ext <<_ACEOF
19950
cat confdefs.h >>conftest.$ac_ext
19951
cat >>conftest.$ac_ext <<_ACEOF
19952
/* end confdefs.h. */
19953
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19954
For example, HP-UX 11i <limits.h> declares gettimeofday. */
19955
#define $ac_func innocuous_$ac_func
19957
/* System header to define __stub macros and hopefully few prototypes,
19958
which can conflict with char $ac_func (); below.
19959
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19960
<limits.h> exists even on freestanding compilers. */
19963
# include <limits.h>
19965
# include <assert.h>
19970
/* Override any GCC internal prototype to avoid an error.
19971
Use char because int might match the return type of a GCC
19972
builtin and then its argument prototype would still apply. */
19977
/* The GNU C library defines this for functions which it implements
19978
to always fail with ENOSYS. Some functions are actually named
19979
something starting with __ and the normal name is an alias. */
19980
#if defined __stub_$ac_func || defined __stub___$ac_func
19987
return $ac_func ();
19992
rm -f conftest.$ac_objext conftest$ac_exeext
19993
if { (ac_try="$ac_link"
19994
case "(($ac_try" in
19995
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19996
*) ac_try_echo=$ac_try;;
19998
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19999
$as_echo "$ac_try_echo") >&5
20000
(eval "$ac_link") 2>conftest.er1
20002
grep -v '^ *+' conftest.er1 >conftest.err
20004
cat conftest.err >&5
20005
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20006
(exit $ac_status); } && {
20007
test -z "$ac_c_werror_flag" ||
20008
test ! -s conftest.err
20009
} && test -s conftest$ac_exeext && {
20010
test "$cross_compiling" = yes ||
20011
$as_test_x conftest$ac_exeext
20013
eval "$as_ac_var=yes"
20015
$as_echo "$as_me: failed program was:" >&5
20016
sed 's/^/| /' conftest.$ac_ext >&5
20018
eval "$as_ac_var=no"
20021
rm -rf conftest.dSYM
20022
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20023
conftest$ac_exeext conftest.$ac_ext
20025
ac_res=`eval 'as_val=${'$as_ac_var'}
20026
$as_echo "$as_val"'`
20027
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20028
$as_echo "$ac_res" >&6; }
20029
as_val=`eval 'as_val=${'$as_ac_var'}
20030
$as_echo "$as_val"'`
20031
if test "x$as_val" = x""yes; then
20032
cat >>confdefs.h <<_ACEOF
20033
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20042
for ac_header in goo/gtypes.h
20044
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20045
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20046
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20047
$as_echo_n "checking for $ac_header... " >&6; }
20048
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20049
$as_echo_n "(cached) " >&6
20051
ac_res=`eval 'as_val=${'$as_ac_Header'}
20052
$as_echo "$as_val"'`
20053
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20054
$as_echo "$ac_res" >&6; }
20056
# Is the header compilable?
20057
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
20058
$as_echo_n "checking $ac_header usability... " >&6; }
20059
cat >conftest.$ac_ext <<_ACEOF
20062
cat confdefs.h >>conftest.$ac_ext
20063
cat >>conftest.$ac_ext <<_ACEOF
20064
/* end confdefs.h. */
20065
$ac_includes_default
20066
#include <$ac_header>
20068
rm -f conftest.$ac_objext
20069
if { (ac_try="$ac_compile"
20070
case "(($ac_try" in
20071
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20072
*) ac_try_echo=$ac_try;;
20074
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20075
$as_echo "$ac_try_echo") >&5
20076
(eval "$ac_compile") 2>conftest.er1
20078
grep -v '^ *+' conftest.er1 >conftest.err
20080
cat conftest.err >&5
20081
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20082
(exit $ac_status); } && {
20083
test -z "$ac_c_werror_flag" ||
20084
test ! -s conftest.err
20085
} && test -s conftest.$ac_objext; then
20086
ac_header_compiler=yes
20088
$as_echo "$as_me: failed program was:" >&5
20089
sed 's/^/| /' conftest.$ac_ext >&5
20091
ac_header_compiler=no
20094
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20095
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20096
$as_echo "$ac_header_compiler" >&6; }
20098
# Is the header present?
20099
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
20100
$as_echo_n "checking $ac_header presence... " >&6; }
20101
cat >conftest.$ac_ext <<_ACEOF
20104
cat confdefs.h >>conftest.$ac_ext
20105
cat >>conftest.$ac_ext <<_ACEOF
20106
/* end confdefs.h. */
20107
#include <$ac_header>
20109
if { (ac_try="$ac_cpp conftest.$ac_ext"
20110
case "(($ac_try" in
20111
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20112
*) ac_try_echo=$ac_try;;
20114
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20115
$as_echo "$ac_try_echo") >&5
20116
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20118
grep -v '^ *+' conftest.er1 >conftest.err
20120
cat conftest.err >&5
20121
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20122
(exit $ac_status); } >/dev/null && {
20123
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20124
test ! -s conftest.err
20126
ac_header_preproc=yes
20128
$as_echo "$as_me: failed program was:" >&5
20129
sed 's/^/| /' conftest.$ac_ext >&5
20131
ac_header_preproc=no
20134
rm -f conftest.err conftest.$ac_ext
20135
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20136
$as_echo "$ac_header_preproc" >&6; }
20138
# So? What about this header?
20139
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20141
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20142
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20143
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20144
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20145
ac_header_preproc=yes
20148
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20149
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20150
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20151
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20152
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20153
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20154
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20155
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20156
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20157
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20158
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20159
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20161
## ---------------------------- ##
20162
## Report this to tex-k@tug.org ##
20163
## ---------------------------- ##
20165
) | sed "s/^/$as_me: WARNING: /" >&2
20168
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20169
$as_echo_n "checking for $ac_header... " >&6; }
20170
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20171
$as_echo_n "(cached) " >&6
20173
eval "$as_ac_Header=\$ac_header_preproc"
20175
ac_res=`eval 'as_val=${'$as_ac_Header'}
20176
$as_echo "$as_val"'`
20177
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20178
$as_echo "$ac_res" >&6; }
20181
as_val=`eval 'as_val=${'$as_ac_Header'}
20182
$as_echo "$as_val"'`
20183
if test "x$as_val" = x""yes; then
20184
cat >>confdefs.h <<_ACEOF
20185
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20198
## texk/kpathsea/ac/kpathsea.ac: configure.ac fragment for the TeX Live subdirectory texk/kpathsea/
20199
## define required functions and headers from system kpathsea
20200
if test "x$need_kpathsea:$with_system_kpathsea" = 'xyes:yes'; then
20201
{ $as_echo "$as_me:$LINENO: checking requested system \`kpathsea' library..." >&5
20202
$as_echo "$as_me: checking requested system \`kpathsea' library..." >&6;}
20203
CPPFLAGS="$KPATHSEA_INCLUDES $CPPFLAGS"
20204
LIBS="$KPATHSEA_LIBS $LIBS"
20206
for ac_func in kpse_set_program_name
20208
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20209
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
20210
$as_echo_n "checking for $ac_func... " >&6; }
20211
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20212
$as_echo_n "(cached) " >&6
20214
cat >conftest.$ac_ext <<_ACEOF
20217
cat confdefs.h >>conftest.$ac_ext
20218
cat >>conftest.$ac_ext <<_ACEOF
20219
/* end confdefs.h. */
20220
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20221
For example, HP-UX 11i <limits.h> declares gettimeofday. */
20222
#define $ac_func innocuous_$ac_func
20224
/* System header to define __stub macros and hopefully few prototypes,
20225
which can conflict with char $ac_func (); below.
20226
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20227
<limits.h> exists even on freestanding compilers. */
20230
# include <limits.h>
20232
# include <assert.h>
20237
/* Override any GCC internal prototype to avoid an error.
20238
Use char because int might match the return type of a GCC
20239
builtin and then its argument prototype would still apply. */
20244
/* The GNU C library defines this for functions which it implements
20245
to always fail with ENOSYS. Some functions are actually named
20246
something starting with __ and the normal name is an alias. */
20247
#if defined __stub_$ac_func || defined __stub___$ac_func
20254
return $ac_func ();
20259
rm -f conftest.$ac_objext conftest$ac_exeext
20260
if { (ac_try="$ac_link"
20261
case "(($ac_try" in
20262
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20263
*) ac_try_echo=$ac_try;;
20265
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20266
$as_echo "$ac_try_echo") >&5
20267
(eval "$ac_link") 2>conftest.er1
20269
grep -v '^ *+' conftest.er1 >conftest.err
20271
cat conftest.err >&5
20272
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20273
(exit $ac_status); } && {
20274
test -z "$ac_c_werror_flag" ||
20275
test ! -s conftest.err
20276
} && test -s conftest$ac_exeext && {
20277
test "$cross_compiling" = yes ||
20278
$as_test_x conftest$ac_exeext
20280
eval "$as_ac_var=yes"
20282
$as_echo "$as_me: failed program was:" >&5
20283
sed 's/^/| /' conftest.$ac_ext >&5
20285
eval "$as_ac_var=no"
20288
rm -rf conftest.dSYM
20289
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20290
conftest$ac_exeext conftest.$ac_ext
20292
ac_res=`eval 'as_val=${'$as_ac_var'}
20293
$as_echo "$as_val"'`
20294
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20295
$as_echo "$ac_res" >&6; }
20296
as_val=`eval 'as_val=${'$as_ac_var'}
20297
$as_echo "$as_val"'`
20298
if test "x$as_val" = x""yes; then
20299
cat >>confdefs.h <<_ACEOF
20300
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20310
for ac_header in kpathsea/kpathsea.h kpathsea/tex-file.h
20312
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20313
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20314
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20315
$as_echo_n "checking for $ac_header... " >&6; }
20316
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20317
$as_echo_n "(cached) " >&6
20319
ac_res=`eval 'as_val=${'$as_ac_Header'}
20320
$as_echo "$as_val"'`
20321
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20322
$as_echo "$ac_res" >&6; }
20324
# Is the header compilable?
20325
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
20326
$as_echo_n "checking $ac_header usability... " >&6; }
20327
cat >conftest.$ac_ext <<_ACEOF
20330
cat confdefs.h >>conftest.$ac_ext
20331
cat >>conftest.$ac_ext <<_ACEOF
20332
/* end confdefs.h. */
20333
$ac_includes_default
20334
#include <$ac_header>
20336
rm -f conftest.$ac_objext
20337
if { (ac_try="$ac_compile"
20338
case "(($ac_try" in
20339
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20340
*) ac_try_echo=$ac_try;;
20342
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20343
$as_echo "$ac_try_echo") >&5
20344
(eval "$ac_compile") 2>conftest.er1
20346
grep -v '^ *+' conftest.er1 >conftest.err
20348
cat conftest.err >&5
20349
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20350
(exit $ac_status); } && {
20351
test -z "$ac_c_werror_flag" ||
20352
test ! -s conftest.err
20353
} && test -s conftest.$ac_objext; then
20354
ac_header_compiler=yes
20356
$as_echo "$as_me: failed program was:" >&5
20357
sed 's/^/| /' conftest.$ac_ext >&5
20359
ac_header_compiler=no
20362
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20363
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20364
$as_echo "$ac_header_compiler" >&6; }
20366
# Is the header present?
20367
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
20368
$as_echo_n "checking $ac_header presence... " >&6; }
20369
cat >conftest.$ac_ext <<_ACEOF
20372
cat confdefs.h >>conftest.$ac_ext
20373
cat >>conftest.$ac_ext <<_ACEOF
20374
/* end confdefs.h. */
20375
#include <$ac_header>
20377
if { (ac_try="$ac_cpp conftest.$ac_ext"
20378
case "(($ac_try" in
20379
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20380
*) ac_try_echo=$ac_try;;
20382
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20383
$as_echo "$ac_try_echo") >&5
20384
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20386
grep -v '^ *+' conftest.er1 >conftest.err
20388
cat conftest.err >&5
20389
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20390
(exit $ac_status); } >/dev/null && {
20391
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20392
test ! -s conftest.err
20394
ac_header_preproc=yes
20396
$as_echo "$as_me: failed program was:" >&5
20397
sed 's/^/| /' conftest.$ac_ext >&5
20399
ac_header_preproc=no
20402
rm -f conftest.err conftest.$ac_ext
20403
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20404
$as_echo "$ac_header_preproc" >&6; }
20406
# So? What about this header?
20407
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20409
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20410
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20411
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20412
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20413
ac_header_preproc=yes
20416
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20417
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20418
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20419
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20420
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20421
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20422
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20423
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20424
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20425
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20426
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20427
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20429
## ---------------------------- ##
20430
## Report this to tex-k@tug.org ##
20431
## ---------------------------- ##
20433
) | sed "s/^/$as_me: WARNING: /" >&2
20436
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20437
$as_echo_n "checking for $ac_header... " >&6; }
20438
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20439
$as_echo_n "(cached) " >&6
20441
eval "$as_ac_Header=\$ac_header_preproc"
20443
ac_res=`eval 'as_val=${'$as_ac_Header'}
20444
$as_echo "$as_val"'`
20445
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20446
$as_echo "$ac_res" >&6; }
20449
as_val=`eval 'as_val=${'$as_ac_Header'}
20450
$as_echo "$as_val"'`
20451
if test "x$as_val" = x""yes; then
20452
cat >>confdefs.h <<_ACEOF
20453
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17728
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17729
/* end confdefs.h. */
17730
#include <GfxFont.h>
17734
GfxFont *gfxFont; gfxFont->decRefCnt();
17739
if ac_fn_cxx_try_link "$LINENO"; then :
17740
syslib_used=yes kpse_res=ok
17742
syslib_status=no kpse_res=failed
17744
rm -f core conftest.err conftest.$ac_objext \
17745
conftest$ac_exeext conftest.$ac_ext
17746
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_res" >&5
17747
$as_echo "$kpse_res" >&6; }
17750
ac_cpp='$CPP $CPPFLAGS'
17751
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17752
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17753
ac_compiler_gnu=$ac_cv_c_compiler_gnu
17756
## libs/zziplib/ac/zziplib.ac: configure.ac fragment for the TeX Live subdirectory libs/zziplib/
17757
## basic check of system zziplib
17758
if test "x$need_zziplib:$with_system_zziplib" = xyes:yes; then
17759
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking requested system \`zziplib' library" >&5
17760
$as_echo_n "checking requested system \`zziplib' library... " >&6; }
17761
CPPFLAGS="$ZZIPLIB_INCLUDES $CPPFLAGS"
17762
LIBS="$ZZIPLIB_LIBS $LIBS"
17763
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17764
/* end confdefs.h. */
17765
#include <zzip/zzip.h>
17769
ZZIP_FILE *z_FILE = zzip_open("file_name", 0);
17774
if ac_fn_c_try_link "$LINENO"; then :
17775
syslib_used=yes kpse_res=ok
17777
syslib_status=no kpse_res=failed
17779
rm -f core conftest.err conftest.$ac_objext \
17780
conftest$ac_exeext conftest.$ac_ext
17781
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_res" >&5
17782
$as_echo "$kpse_res" >&6; }
20466
17786
if test "x$syslib_status" = xno; then
20467
{ { $as_echo "$as_me:$LINENO: error: some requested system libraries failed" >&5
20468
$as_echo "$as_me: error: some requested system libraries failed" >&2;}
20469
{ (exit 1); exit 1; }; }
20472
if test "x$need_kpathsea" = xyes && test "x$with_system_kpathsea" != xyes; then
20473
build_kpathsea_TRUE=
20474
build_kpathsea_FALSE='#'
17787
as_fn_error "some requested system libraries failed" "$LINENO" 5
17789
if test "x$syslib_used:$enable_native_texlive_build" = xyes:yes; then
17790
as_fn_error "you can not use system libraries for a native TeX Live build" "$LINENO" 5
17792
CPPFLAGS=$kpse_save_CPPFLAGS
17793
LIBS=$kpse_save_LIBS
17797
if test "x$cross_compiling" = xyes; then
17798
cross_compiling_TRUE=
17799
cross_compiling_FALSE='#'
20476
build_kpathsea_TRUE='#'
20477
build_kpathsea_FALSE=
17801
cross_compiling_TRUE='#'
17802
cross_compiling_FALSE=
20483
subdirs="$subdirs texk/kpathsea libs utils texk"
17806
subdirs="$subdirs auxdir/auxsub libs utils texk"
20486
17809
ac_config_files="$ac_config_files Makefile"