Debian Codegraph @

utils/configure

raw symbols SCIP
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.72 for TeX Live utils 2026.
4 #
5 # Report bugs to <[email protected]>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation,
9 # Inc.
10 #
11 #
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
17
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
21 then :
22 emulate sh
23 NULLCMD=:
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+"$@"}'='"$@"'
27 setopt NO_GLOB_SUBST
28 else case e in #(
29 e) case `(set -o) 2>/dev/null` in #(
30 *posix*) :
31 set -o posix ;; #(
32 *) :
33 ;;
34 esac ;;
35 esac
36 fi
37
38
39
40 # Reset variables that may have inherited troublesome values from
41 # the environment.
42
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
47 as_nl='
48 '
49 export as_nl
50 IFS=" "" $as_nl"
51
52 PS1='$ '
53 PS2='> '
54 PS4='+ '
55
56 # Ensure predictable behavior from utilities with locale-dependent output.
57 LC_ALL=C
58 export LC_ALL
59 LANGUAGE=C
60 export LANGUAGE
61
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \${$as_var+y} \
69 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
70 done
71
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
76
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
79 PATH_SEPARATOR=:
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82 PATH_SEPARATOR=';'
83 }
84 fi
85
86
87 # Find who we are. Look in the path if we contain no directory separator.
88 as_myself=
89 case $0 in #((
90 *[\\/]* ) as_myself=$0 ;;
91 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92 for as_dir in $PATH
93 do
94 IFS=$as_save_IFS
95 case $as_dir in #(((
96 '') as_dir=./ ;;
97 */) ;;
98 *) as_dir=$as_dir/ ;;
99 esac
100 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
101 done
102 IFS=$as_save_IFS
103
104 ;;
105 esac
106 # We did not find ourselves, most probably we were run as 'sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
114 fi
115
116
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
120 _as_can_reexec=no; export _as_can_reexec;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
125 BASH_ENV=/dev/null
126 ENV=/dev/null
127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
128 case $- in # ((((
129 *v*x* | *x*v* ) as_opts=-vx ;;
130 *v* ) as_opts=-v ;;
131 *x* ) as_opts=-x ;;
132 * ) as_opts= ;;
133 esac
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed 'exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138 exit 255
139 fi
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec=; unset _as_can_reexec;}
142 if test "x$CONFIG_SHELL" = x; then
143 as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
144 then :
145 emulate sh
146 NULLCMD=:
147 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
148 # is contrary to our usage. Disable this feature.
149 alias -g '\${1+\"\$@\"}'='\"\$@\"'
150 setopt NO_GLOB_SUBST
151 else case e in #(
152 e) case \`(set -o) 2>/dev/null\` in #(
153 *posix*) :
154 set -o posix ;; #(
155 *) :
156 ;;
157 esac ;;
158 esac
159 fi
160 "
161 as_required="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
166
167 exitcode=0
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
173 then :
174
175 else case e in #(
176 e) exitcode=1; echo positional parameters were not saved. ;;
177 esac
178 fi
179 test x\$exitcode = x0 || exit 1
180 blah=\$(echo \$(echo blah))
181 test x\"\$blah\" = xblah || exit 1
182 test -x / || exit 1"
183 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
184 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
185 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
186 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
187 if (eval "$as_required") 2>/dev/null
188 then :
189 as_have_required=yes
190 else case e in #(
191 e) as_have_required=no ;;
192 esac
193 fi
194 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
195 then :
196
197 else case e in #(
198 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
199 as_found=false
200 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
201 do
202 IFS=$as_save_IFS
203 case $as_dir in #(((
204 '') as_dir=./ ;;
205 */) ;;
206 *) as_dir=$as_dir/ ;;
207 esac
208 as_found=:
209 case $as_dir in #(
210 /*)
211 for as_base in sh bash ksh sh5; do
212 # Try only shells that exist, to save several forks.
213 as_shell=$as_dir$as_base
214 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
215 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
216 then :
217 CONFIG_SHELL=$as_shell as_have_required=yes
218 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
219 then :
220 break 2
221 fi
222 fi
223 done;;
224 esac
225 as_found=false
226 done
227 IFS=$as_save_IFS
228 if $as_found
229 then :
230
231 else case e in #(
232 e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
233 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
234 then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi ;;
237 esac
238 fi
239
240
241 if test "x$CONFIG_SHELL" != x
242 then :
243 export CONFIG_SHELL
244 # We cannot yet assume a decent shell, so we have to provide a
245 # neutralization value for shells without unset; and this also
246 # works around shells that cannot unset nonexistent variables.
247 # Preserve -v and -x to the replacement shell.
248 BASH_ENV=/dev/null
249 ENV=/dev/null
250 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
251 case $- in # ((((
252 *v*x* | *x*v* ) as_opts=-vx ;;
253 *v* ) as_opts=-v ;;
254 *x* ) as_opts=-x ;;
255 * ) as_opts= ;;
256 esac
257 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
258 # Admittedly, this is quite paranoid, since all the known shells bail
259 # out after a failed 'exec'.
260 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
261 exit 255
262 fi
263
264 if test x$as_have_required = xno
265 then :
266 printf "%s\n" "$0: This script requires a shell more modern than all"
267 printf "%s\n" "$0: the shells that I found on your system."
268 if test ${ZSH_VERSION+y} ; then
269 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
270 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
271 else
272 printf "%s\n" "$0: Please tell [email protected] and [email protected]
273 $0: about your system, including any error possibly output
274 $0: before this message. Then install a modern shell, or
275 $0: manually run the script under such a shell if you do
276 $0: have one."
277 fi
278 exit 1
279 fi ;;
280 esac
281 fi
282 fi
283 SHELL=${CONFIG_SHELL-/bin/sh}
284 export SHELL
285 # Unset more variables known to interfere with behavior of common tools.
286 CLICOLOR_FORCE= GREP_OPTIONS=
287 unset CLICOLOR_FORCE GREP_OPTIONS
288
289 ## --------------------- ##
290 ## M4sh Shell Functions. ##
291 ## --------------------- ##
292 # as_fn_unset VAR
293 # ---------------
294 # Portably unset VAR.
295 as_fn_unset ()
296 {
297 { eval $1=; unset $1;}
298 }
299 as_unset=as_fn_unset
300
301
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
305 as_fn_set_status ()
306 {
307 return $1
308 } # as_fn_set_status
309
310 # as_fn_exit STATUS
311 # -----------------
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313 as_fn_exit ()
314 {
315 set +e
316 as_fn_set_status $1
317 exit $1
318 } # as_fn_exit
319
320 # as_fn_mkdir_p
321 # -------------
322 # Create "$as_dir" as a directory, including parents if necessary.
323 as_fn_mkdir_p ()
324 {
325
326 case $as_dir in #(
327 -*) as_dir=./$as_dir;;
328 esac
329 test -d "$as_dir" || eval $as_mkdir_p || {
330 as_dirs=
331 while :; do
332 case $as_dir in #(
333 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
334 *) as_qdir=$as_dir;;
335 esac
336 as_dirs="'$as_qdir' $as_dirs"
337 as_dir=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 printf "%s\n" X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
344 s//\1/
345 q
346 }
347 /^X\(\/\/\)[^/].*/{
348 s//\1/
349 q
350 }
351 /^X\(\/\/\)$/{
352 s//\1/
353 q
354 }
355 /^X\(\/\).*/{
356 s//\1/
357 q
358 }
359 s/.*/./; q'`
360 test -d "$as_dir" && break
361 done
362 test -z "$as_dirs" || eval "mkdir $as_dirs"
363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
364
365
366 } # as_fn_mkdir_p
367
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p ()
372 {
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
380 # implementations.
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
382 then :
383 eval 'as_fn_append ()
384 {
385 eval $1+=\$2
386 }'
387 else case e in #(
388 e) as_fn_append ()
389 {
390 eval $1=\$$1\$2
391 } ;;
392 esac
393 fi # as_fn_append
394
395 # as_fn_arith ARG...
396 # ------------------
397 # Perform arithmetic evaluation on the ARGs, and store the result in the
398 # global $as_val. Take advantage of shells that can avoid forks. The arguments
399 # must be portable across $(()) and expr.
400 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
401 then :
402 eval 'as_fn_arith ()
403 {
404 as_val=$(( $* ))
405 }'
406 else case e in #(
407 e) as_fn_arith ()
408 {
409 as_val=`expr "$@" || test $? -eq 1`
410 } ;;
411 esac
412 fi # as_fn_arith
413
414
415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 # ----------------------------------------
417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 # script with STATUS, using 1 if that was 0.
420 as_fn_error ()
421 {
422 as_status=$1; test $as_status -eq 0 && as_status=1
423 if test "$4"; then
424 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 fi
427 printf "%s\n" "$as_me: error: $2" >&2
428 as_fn_exit $as_status
429 } # as_fn_error
430
431 if expr a : '\(a\)' >/dev/null 2>&1 &&
432 test "X`expr 00001 : '.*\(...\)'`" = X001; then
433 as_expr=expr
434 else
435 as_expr=false
436 fi
437
438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
439 as_basename=basename
440 else
441 as_basename=false
442 fi
443
444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
445 as_dirname=dirname
446 else
447 as_dirname=false
448 fi
449
450 as_me=`$as_basename -- "$0" ||
451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452 X"$0" : 'X\(//\)$' \| \
453 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 printf "%s\n" X/"$0" |
455 sed '/^.*\/\([^/][^/]*\)\/*$/{
456 s//\1/
457 q
458 }
459 /^X\/\(\/\/\)$/{
460 s//\1/
461 q
462 }
463 /^X\/\(\/\).*/{
464 s//\1/
465 q
466 }
467 s/.*/./; q'`
468
469 # Avoid depending upon Character Ranges.
470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
473 as_cr_digits='0123456789'
474 as_cr_alnum=$as_cr_Letters$as_cr_digits
475
476
477 as_lineno_1=$LINENO as_lineno_1a=$LINENO
478 as_lineno_2=$LINENO as_lineno_2a=$LINENO
479 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
481 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
482 sed -n '
483 p
484 /[$]LINENO/=
485 ' <$as_myself |
486 sed '
487 t clear
488 :clear
489 s/[$]LINENO.*/&-/
490 t lineno
491 b
492 :lineno
493 N
494 :loop
495 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496 t loop
497 s/-\n.*//
498 ' >$as_me.lineno &&
499 chmod +x "$as_me.lineno" ||
500 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
501
502 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
503 # already done that, so ensure we don't try to do so again and fall
504 # in an infinite loop. This has already happened in practice.
505 _as_can_reexec=no; export _as_can_reexec
506 # Don't try to exec as it changes $[0], causing all sort of problems
507 # (the dirname of $[0] is not the place where we might find the
508 # original and so on. Autoconf is especially sensitive to this).
509 . "./$as_me.lineno"
510 # Exit status is that of the last command.
511 exit
512 }
513
514
515 # Determine whether it's possible to make 'echo' print without a newline.
516 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
517 # for compatibility with existing Makefiles.
518 ECHO_C= ECHO_N= ECHO_T=
519 case `echo -n x` in #(((((
520 -n*)
521 case `echo 'xy\c'` in
522 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
523 xy) ECHO_C='\c';;
524 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
525 ECHO_T=' ';;
526 esac;;
527 *)
528 ECHO_N='-n';;
529 esac
530
531 # For backward compatibility with old third-party macros, we provide
532 # the shell variables $as_echo and $as_echo_n. New code should use
533 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
534 as_echo='printf %s\n'
535 as_echo_n='printf %s'
536
537 rm -f conf$$ conf$$.exe conf$$.file
538 if test -d conf$$.dir; then
539 rm -f conf$$.dir/conf$$.file
540 else
541 rm -f conf$$.dir
542 mkdir conf$$.dir 2>/dev/null
543 fi
544 if (echo >conf$$.file) 2>/dev/null; then
545 if ln -s conf$$.file conf$$ 2>/dev/null; then
546 as_ln_s='ln -s'
547 # ... but there are two gotchas:
548 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
549 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
550 # In both cases, we have to default to 'cp -pR'.
551 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
552 as_ln_s='cp -pR'
553 elif ln conf$$.file conf$$ 2>/dev/null; then
554 as_ln_s=ln
555 else
556 as_ln_s='cp -pR'
557 fi
558 else
559 as_ln_s='cp -pR'
560 fi
561 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
562 rmdir conf$$.dir 2>/dev/null
563
564 if mkdir -p . 2>/dev/null; then
565 as_mkdir_p='mkdir -p "$as_dir"'
566 else
567 test -d ./-p && rmdir ./-p
568 as_mkdir_p=false
569 fi
570
571 as_test_x='test -x'
572 as_executable_p=as_fn_executable_p
573
574 # Sed expression to map a string onto a valid CPP name.
575 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
576 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
577
578 # Sed expression to map a string onto a valid variable name.
579 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
580 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
581
582
583 test -n "$DJDIR" || exec 7<&0 </dev/null
584 exec 6>&1
585
586 # Name of the host.
587 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
588 # so uname gets run too.
589 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
590
591 #
592 # Initializations.
593 #
594 ac_default_prefix=/usr/local
595 ac_clean_files=
596 ac_config_libobj_dir=.
597 LIBOBJS=
598 cross_compiling=no
599 subdirs=
600 MFLAGS=
601 MAKEFLAGS=
602
603 # Identity of this package.
604 PACKAGE_NAME='TeX Live utils'
605 PACKAGE_TARNAME='tex-live-utils'
606 PACKAGE_VERSION='2026'
607 PACKAGE_STRING='TeX Live utils 2026'
608 PACKAGE_BUGREPORT='[email protected]'
609 PACKAGE_URL=''
610
611 ac_unique_file="../build-aux/missing"
612 # Factoring default headers for most tests.
613 ac_includes_default="\
614 #include <stddef.h>
615 #ifdef HAVE_STDIO_H
616 # include <stdio.h>
617 #endif
618 #ifdef HAVE_STDLIB_H
619 # include <stdlib.h>
620 #endif
621 #ifdef HAVE_STRING_H
622 # include <string.h>
623 #endif
624 #ifdef HAVE_INTTYPES_H
625 # include <inttypes.h>
626 #endif
627 #ifdef HAVE_STDINT_H
628 # include <stdint.h>
629 #endif
630 #ifdef HAVE_STRINGS_H
631 # include <strings.h>
632 #endif
633 #ifdef HAVE_SYS_TYPES_H
634 # include <sys/types.h>
635 #endif
636 #ifdef HAVE_SYS_STAT_H
637 # include <sys/stat.h>
638 #endif
639 #ifdef HAVE_UNISTD_H
640 # include <unistd.h>
641 #endif"
642
643 ac_header_c_list=
644 ac_subst_vars='am__EXEEXT_FALSE
645 am__EXEEXT_TRUE
646 LTLIBOBJS
647 LIBOBJS
648 CONF_SUBDIRS
649 MAKE_SUBDIRS
650 WARNING_CFLAGS
651 MAINT
652 MAINTAINER_MODE_FALSE
653 MAINTAINER_MODE_TRUE
654 am__xargs_n
655 am__rm_f_notfound
656 AM_BACKSLASH
657 AM_DEFAULT_VERBOSITY
658 AM_DEFAULT_V
659 AM_V
660 CSCOPE
661 ETAGS
662 CTAGS
663 am__fastdepCC_FALSE
664 am__fastdepCC_TRUE
665 CCDEPMODE
666 am__nodep
667 AMDEPBACKSLASH
668 AMDEP_FALSE
669 AMDEP_TRUE
670 am__include
671 DEPDIR
672 am__untar
673 am__tar
674 AMTAR
675 am__leading_dot
676 SET_MAKE
677 AWK
678 mkdir_p
679 MKDIR_P
680 INSTALL_STRIP_PROGRAM
681 STRIP
682 install_sh
683 MAKEINFO
684 AUTOHEADER
685 AUTOMAKE
686 AUTOCONF
687 ACLOCAL
688 VERSION
689 PACKAGE
690 CYGPATH_W
691 am__isrc
692 INSTALL_DATA
693 INSTALL_SCRIPT
694 INSTALL_PROGRAM
695 OBJEXT
696 EXEEXT
697 ac_ct_CC
698 CPPFLAGS
699 LDFLAGS
700 CFLAGS
701 CC
702 host_os
703 host_vendor
704 host_cpu
705 host
706 build_os
707 build_vendor
708 build_cpu
709 build
710 target_alias
711 host_alias
712 build_alias
713 LIBS
714 ECHO_T
715 ECHO_N
716 ECHO_C
717 DEFS
718 mandir
719 localedir
720 libdir
721 psdir
722 pdfdir
723 dvidir
724 htmldir
725 infodir
726 docdir
727 oldincludedir
728 includedir
729 runstatedir
730 localstatedir
731 sharedstatedir
732 sysconfdir
733 datadir
734 datarootdir
735 libexecdir
736 sbindir
737 bindir
738 program_transform_name
739 prefix
740 exec_prefix
741 PACKAGE_URL
742 PACKAGE_BUGREPORT
743 PACKAGE_STRING
744 PACKAGE_VERSION
745 PACKAGE_TARNAME
746 PACKAGE_NAME
747 PATH_SEPARATOR
748 SHELL
749 am__quote'
750 ac_subst_files=''
751 ac_user_opts='
752 enable_option_checking
753 enable_missing
754 enable_all_pkgs
755 enable_native_texlive_build
756 enable_multiplatform
757 enable_cxx_runtime_hack
758 enable_libtool_hack
759 enable_autosp
760 enable_axodraw2
761 enable_devnag
762 enable_lacheck
763 enable_m_tx
764 enable_pmx
765 enable_ps2eps
766 enable_t1utils
767 enable_texdoctk
768 enable_tpic2pdftex
769 enable_vlna
770 enable_xindy
771 enable_xindy_rules
772 enable_xindy_docs
773 with_clisp_runtime
774 enable_xml2pmx
775 enable_xpdfopen
776 enable_web2c
777 with_banner_add
778 with_editor
779 enable_auto_core
780 enable_dump_share
781 enable_ipc
782 enable_tex
783 enable_tex_synctex
784 enable_etex
785 enable_etex_synctex
786 enable_uptex
787 enable_euptex
788 enable_euptex_synctex
789 enable_aleph
790 enable_hitex
791 enable_pdftex
792 enable_pdftex_synctex
793 enable_luatex
794 enable_luajittex
795 enable_luahbtex
796 enable_luajithbtex
797 enable_mp
798 enable_pmp
799 enable_texprof
800 enable_upmp
801 enable_xetex
802 enable_xetex_synctex
803 enable_mf
804 enable_mf_nowin
805 enable_mflua
806 enable_mflua_nowin
807 enable_mfluajit
808 enable_mfluajit_nowin
809 with_mf_x_toolkit
810 enable_epsfwin
811 enable_hp2627win
812 enable_mftalkwin
813 enable_nextwin
814 enable_regiswin
815 enable_suntoolswin
816 enable_tektronixwin
817 enable_unitermwin
818 enable_web_progs
819 enable_synctex
820 enable_afm2pl
821 enable_bibtex_x
822 enable_bibtex8
823 enable_bibtexu
824 enable_chktex
825 enable_cjkutils
826 enable_detex
827 enable_dtl
828 enable_dvi2tty
829 enable_dvidvi
830 enable_dviljk
831 enable_dviout_util
832 enable_dvipdfm_x
833 enable_dvipng
834 enable_debug
835 enable_timing
836 with_gs
837 enable_dvipos
838 enable_dvipsk
839 enable_dvisvgm
840 enable_gregorio
841 enable_gsftopk
842 enable_lcdf_typetools
843 enable_cfftot1
844 enable_mmafm
845 enable_mmpfb
846 enable_otfinfo
847 enable_otftotfm
848 enable_t1dotlessj
849 enable_t1lint
850 enable_t1rawafm
851 enable_t1reencode
852 enable_t1testpage
853 enable_ttftotype42
854 enable_updmap
855 enable_makeindexk
856 enable_makejvf
857 enable_mendexk
858 enable_musixtnt
859 enable_ps2pk
860 enable_psutils
861 enable_seetexk
862 enable_tex4htk
863 enable_ttf2pk2
864 enable_ttfdump
865 enable_upmendex
866 enable_xdvik
867 with_xdvi_x_toolkit
868 enable_xdvipsk
869 enable_texlive
870 enable_linked_scripts
871 with_system_harfbuzz
872 with_system_icu
873 with_system_teckit
874 with_system_graphite2
875 with_system_zziplib
876 with_system_mpfi
877 with_mpfi_includes
878 with_mpfi_libdir
879 with_system_mpfr
880 with_mpfr_includes
881 with_mpfr_libdir
882 with_system_gmp
883 with_gmp_includes
884 with_gmp_libdir
885 with_system_cairo
886 with_system_pixman
887 with_system_gd
888 with_gd_includes
889 with_gd_libdir
890 with_system_potrace
891 with_potrace_includes
892 with_potrace_libdir
893 with_system_freetype2
894 with_system_libpng
895 with_system_libpaper
896 with_libpaper_includes
897 with_libpaper_libdir
898 with_system_luajit
899 with_system_zlib
900 with_zlib_includes
901 with_zlib_libdir
902 with_system_ptexenc
903 with_system_kpathsea
904 enable_mktexmf_default
905 enable_mktexpk_default
906 enable_mktextfm_default
907 enable_mkocp_default
908 enable_mkofm_default
909 enable_mktexfmt_default
910 enable_mktextex_default
911 enable_dependency_tracking
912 enable_silent_rules
913 enable_maintainer_mode
914 enable_compiler_warnings
915 '
916 ac_precious_vars='build_alias
917 host_alias
918 target_alias
919 CC
920 CFLAGS
921 LDFLAGS
922 LIBS
923 CPPFLAGS'
924
925
926 # Initialize some variables set by options.
927 ac_init_help=
928 ac_init_version=false
929 ac_unrecognized_opts=
930 ac_unrecognized_sep=
931 # The variables have the same names as the options, with
932 # dashes changed to underlines.
933 cache_file=/dev/null
934 exec_prefix=NONE
935 no_create=
936 no_recursion=
937 prefix=NONE
938 program_prefix=NONE
939 program_suffix=NONE
940 program_transform_name=s,x,x,
941 silent=
942 site=
943 srcdir=
944 verbose=
945 x_includes=NONE
946 x_libraries=NONE
947
948 # Installation directory options.
949 # These are left unexpanded so users can "make install exec_prefix=/foo"
950 # and all the variables that are supposed to be based on exec_prefix
951 # by default will actually change.
952 # Use braces instead of parens because sh, perl, etc. also accept them.
953 # (The list follows the same order as the GNU Coding Standards.)
954 bindir='${exec_prefix}/bin'
955 sbindir='${exec_prefix}/sbin'
956 libexecdir='${exec_prefix}/libexec'
957 datarootdir='${prefix}/share'
958 datadir='${datarootdir}'
959 sysconfdir='${prefix}/etc'
960 sharedstatedir='${prefix}/com'
961 localstatedir='${prefix}/var'
962 runstatedir='${localstatedir}/run'
963 includedir='${prefix}/include'
964 oldincludedir='/usr/include'
965 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
966 infodir='${datarootdir}/info'
967 htmldir='${docdir}'
968 dvidir='${docdir}'
969 pdfdir='${docdir}'
970 psdir='${docdir}'
971 libdir='${exec_prefix}/lib'
972 localedir='${datarootdir}/locale'
973 mandir='${datarootdir}/man'
974
975 ac_prev=
976 ac_dashdash=
977 for ac_option
978 do
979 # If the previous option needs an argument, assign it.
980 if test -n "$ac_prev"; then
981 eval $ac_prev=\$ac_option
982 ac_prev=
983 continue
984 fi
985
986 case $ac_option in
987 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
988 *=) ac_optarg= ;;
989 *) ac_optarg=yes ;;
990 esac
991
992 case $ac_dashdash$ac_option in
993 --)
994 ac_dashdash=yes ;;
995
996 -bindir | --bindir | --bindi | --bind | --bin | --bi)
997 ac_prev=bindir ;;
998 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
999 bindir=$ac_optarg ;;
1000
1001 -build | --build | --buil | --bui | --bu)
1002 ac_prev=build_alias ;;
1003 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1004 build_alias=$ac_optarg ;;
1005
1006 -cache-file | --cache-file | --cache-fil | --cache-fi \
1007 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1008 ac_prev=cache_file ;;
1009 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1010 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1011 cache_file=$ac_optarg ;;
1012
1013 --config-cache | -C)
1014 cache_file=config.cache ;;
1015
1016 -datadir | --datadir | --datadi | --datad)
1017 ac_prev=datadir ;;
1018 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1019 datadir=$ac_optarg ;;
1020
1021 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1022 | --dataroo | --dataro | --datar)
1023 ac_prev=datarootdir ;;
1024 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1025 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1026 datarootdir=$ac_optarg ;;
1027
1028 -disable-* | --disable-*)
1029 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1030 # Reject names that are not valid shell variable names.
1031 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1032 as_fn_error $? "invalid feature name: '$ac_useropt'"
1033 ac_useropt_orig=$ac_useropt
1034 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1035 case $ac_user_opts in
1036 *"
1037 "enable_$ac_useropt"
1038 "*) ;;
1039 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1040 ac_unrecognized_sep=', ';;
1041 esac
1042 eval enable_$ac_useropt=no ;;
1043
1044 -docdir | --docdir | --docdi | --doc | --do)
1045 ac_prev=docdir ;;
1046 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1047 docdir=$ac_optarg ;;
1048
1049 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1050 ac_prev=dvidir ;;
1051 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1052 dvidir=$ac_optarg ;;
1053
1054 -enable-* | --enable-*)
1055 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1056 # Reject names that are not valid shell variable names.
1057 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1058 as_fn_error $? "invalid feature name: '$ac_useropt'"
1059 ac_useropt_orig=$ac_useropt
1060 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1061 case $ac_user_opts in
1062 *"
1063 "enable_$ac_useropt"
1064 "*) ;;
1065 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1066 ac_unrecognized_sep=', ';;
1067 esac
1068 eval enable_$ac_useropt=\$ac_optarg ;;
1069
1070 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1071 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1072 | --exec | --exe | --ex)
1073 ac_prev=exec_prefix ;;
1074 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1075 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1076 | --exec=* | --exe=* | --ex=*)
1077 exec_prefix=$ac_optarg ;;
1078
1079 -gas | --gas | --ga | --g)
1080 # Obsolete; use --with-gas.
1081 with_gas=yes ;;
1082
1083 -help | --help | --hel | --he | -h)
1084 ac_init_help=long ;;
1085 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1086 ac_init_help=recursive ;;
1087 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1088 ac_init_help=short ;;
1089
1090 -host | --host | --hos | --ho)
1091 ac_prev=host_alias ;;
1092 -host=* | --host=* | --hos=* | --ho=*)
1093 host_alias=$ac_optarg ;;
1094
1095 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1096 ac_prev=htmldir ;;
1097 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1098 | --ht=*)
1099 htmldir=$ac_optarg ;;
1100
1101 -includedir | --includedir | --includedi | --included | --include \
1102 | --includ | --inclu | --incl | --inc)
1103 ac_prev=includedir ;;
1104 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1105 | --includ=* | --inclu=* | --incl=* | --inc=*)
1106 includedir=$ac_optarg ;;
1107
1108 -infodir | --infodir | --infodi | --infod | --info | --inf)
1109 ac_prev=infodir ;;
1110 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1111 infodir=$ac_optarg ;;
1112
1113 -libdir | --libdir | --libdi | --libd)
1114 ac_prev=libdir ;;
1115 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1116 libdir=$ac_optarg ;;
1117
1118 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1119 | --libexe | --libex | --libe)
1120 ac_prev=libexecdir ;;
1121 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1122 | --libexe=* | --libex=* | --libe=*)
1123 libexecdir=$ac_optarg ;;
1124
1125 -localedir | --localedir | --localedi | --localed | --locale)
1126 ac_prev=localedir ;;
1127 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1128 localedir=$ac_optarg ;;
1129
1130 -localstatedir | --localstatedir | --localstatedi | --localstated \
1131 | --localstate | --localstat | --localsta | --localst | --locals)
1132 ac_prev=localstatedir ;;
1133 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1134 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1135 localstatedir=$ac_optarg ;;
1136
1137 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1138 ac_prev=mandir ;;
1139 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1140 mandir=$ac_optarg ;;
1141
1142 -nfp | --nfp | --nf)
1143 # Obsolete; use --without-fp.
1144 with_fp=no ;;
1145
1146 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1147 | --no-cr | --no-c | -n)
1148 no_create=yes ;;
1149
1150 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1151 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1152 no_recursion=yes ;;
1153
1154 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1155 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1156 | --oldin | --oldi | --old | --ol | --o)
1157 ac_prev=oldincludedir ;;
1158 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1159 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1160 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1161 oldincludedir=$ac_optarg ;;
1162
1163 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1164 ac_prev=prefix ;;
1165 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1166 prefix=$ac_optarg ;;
1167
1168 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1169 | --program-pre | --program-pr | --program-p)
1170 ac_prev=program_prefix ;;
1171 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1172 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1173 program_prefix=$ac_optarg ;;
1174
1175 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1176 | --program-suf | --program-su | --program-s)
1177 ac_prev=program_suffix ;;
1178 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1179 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1180 program_suffix=$ac_optarg ;;
1181
1182 -program-transform-name | --program-transform-name \
1183 | --program-transform-nam | --program-transform-na \
1184 | --program-transform-n | --program-transform- \
1185 | --program-transform | --program-transfor \
1186 | --program-transfo | --program-transf \
1187 | --program-trans | --program-tran \
1188 | --progr-tra | --program-tr | --program-t)
1189 ac_prev=program_transform_name ;;
1190 -program-transform-name=* | --program-transform-name=* \
1191 | --program-transform-nam=* | --program-transform-na=* \
1192 | --program-transform-n=* | --program-transform-=* \
1193 | --program-transform=* | --program-transfor=* \
1194 | --program-transfo=* | --program-transf=* \
1195 | --program-trans=* | --program-tran=* \
1196 | --progr-tra=* | --program-tr=* | --program-t=*)
1197 program_transform_name=$ac_optarg ;;
1198
1199 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1200 ac_prev=pdfdir ;;
1201 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1202 pdfdir=$ac_optarg ;;
1203
1204 -psdir | --psdir | --psdi | --psd | --ps)
1205 ac_prev=psdir ;;
1206 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1207 psdir=$ac_optarg ;;
1208
1209 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1210 | -silent | --silent | --silen | --sile | --sil)
1211 silent=yes ;;
1212
1213 -runstatedir | --runstatedir | --runstatedi | --runstated \
1214 | --runstate | --runstat | --runsta | --runst | --runs \
1215 | --run | --ru | --r)
1216 ac_prev=runstatedir ;;
1217 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1218 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1219 | --run=* | --ru=* | --r=*)
1220 runstatedir=$ac_optarg ;;
1221
1222 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1223 ac_prev=sbindir ;;
1224 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1225 | --sbi=* | --sb=*)
1226 sbindir=$ac_optarg ;;
1227
1228 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1229 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1230 | --sharedst | --shareds | --shared | --share | --shar \
1231 | --sha | --sh)
1232 ac_prev=sharedstatedir ;;
1233 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1234 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1235 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1236 | --sha=* | --sh=*)
1237 sharedstatedir=$ac_optarg ;;
1238
1239 -site | --site | --sit)
1240 ac_prev=site ;;
1241 -site=* | --site=* | --sit=*)
1242 site=$ac_optarg ;;
1243
1244 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1245 ac_prev=srcdir ;;
1246 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1247 srcdir=$ac_optarg ;;
1248
1249 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1250 | --syscon | --sysco | --sysc | --sys | --sy)
1251 ac_prev=sysconfdir ;;
1252 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1253 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1254 sysconfdir=$ac_optarg ;;
1255
1256 -target | --target | --targe | --targ | --tar | --ta | --t)
1257 ac_prev=target_alias ;;
1258 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1259 target_alias=$ac_optarg ;;
1260
1261 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1262 verbose=yes ;;
1263
1264 -version | --version | --versio | --versi | --vers | -V)
1265 ac_init_version=: ;;
1266
1267 -with-* | --with-*)
1268 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1269 # Reject names that are not valid shell variable names.
1270 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1271 as_fn_error $? "invalid package name: '$ac_useropt'"
1272 ac_useropt_orig=$ac_useropt
1273 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1274 case $ac_user_opts in
1275 *"
1276 "with_$ac_useropt"
1277 "*) ;;
1278 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1279 ac_unrecognized_sep=', ';;
1280 esac
1281 eval with_$ac_useropt=\$ac_optarg ;;
1282
1283 -without-* | --without-*)
1284 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1285 # Reject names that are not valid shell variable names.
1286 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1287 as_fn_error $? "invalid package name: '$ac_useropt'"
1288 ac_useropt_orig=$ac_useropt
1289 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1290 case $ac_user_opts in
1291 *"
1292 "with_$ac_useropt"
1293 "*) ;;
1294 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1295 ac_unrecognized_sep=', ';;
1296 esac
1297 eval with_$ac_useropt=no ;;
1298
1299 --x)
1300 # Obsolete; use --with-x.
1301 with_x=yes ;;
1302
1303 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1304 | --x-incl | --x-inc | --x-in | --x-i)
1305 ac_prev=x_includes ;;
1306 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1307 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1308 x_includes=$ac_optarg ;;
1309
1310 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1311 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1312 ac_prev=x_libraries ;;
1313 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1314 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1315 x_libraries=$ac_optarg ;;
1316
1317 -*) as_fn_error $? "unrecognized option: '$ac_option'
1318 Try '$0 --help' for more information"
1319 ;;
1320
1321 *=*)
1322 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1323 # Reject names that are not valid shell variable names.
1324 case $ac_envvar in #(
1325 '' | [0-9]* | *[!_$as_cr_alnum]* )
1326 as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
1327 esac
1328 eval $ac_envvar=\$ac_optarg
1329 export $ac_envvar ;;
1330
1331 *)
1332 # FIXME: should be removed in autoconf 3.0.
1333 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1334 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1335 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1336 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1337 ;;
1338
1339 esac
1340 done
1341
1342 if test -n "$ac_prev"; then
1343 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1344 as_fn_error $? "missing argument to $ac_option"
1345 fi
1346
1347 if test -n "$ac_unrecognized_opts"; then
1348 case $enable_option_checking in
1349 no) ;;
1350 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1351 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1352 esac
1353 fi
1354
1355 # Check all directory arguments for consistency.
1356 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1357 datadir sysconfdir sharedstatedir localstatedir includedir \
1358 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1359 libdir localedir mandir runstatedir
1360 do
1361 eval ac_val=\$$ac_var
1362 # Remove trailing slashes.
1363 case $ac_val in
1364 */ )
1365 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1366 eval $ac_var=\$ac_val;;
1367 esac
1368 # Be sure to have absolute directory names.
1369 case $ac_val in
1370 [\\/$]* | ?:[\\/]* ) continue;;
1371 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1372 esac
1373 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1374 done
1375
1376 # There might be people who depend on the old broken behavior: '$host'
1377 # used to hold the argument of --host etc.
1378 # FIXME: To remove some day.
1379 build=$build_alias
1380 host=$host_alias
1381 target=$target_alias
1382
1383 # FIXME: To remove some day.
1384 if test "x$host_alias" != x; then
1385 if test "x$build_alias" = x; then
1386 cross_compiling=maybe
1387 elif test "x$build_alias" != "x$host_alias"; then
1388 cross_compiling=yes
1389 fi
1390 fi
1391
1392 ac_tool_prefix=
1393 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1394
1395 test "$silent" = yes && exec 6>/dev/null
1396
1397
1398 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1399 ac_ls_di=`ls -di .` &&
1400 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1401 as_fn_error $? "working directory cannot be determined"
1402 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1403 as_fn_error $? "pwd does not report name of working directory"
1404
1405
1406 # Find the source files, if location was not specified.
1407 if test -z "$srcdir"; then
1408 ac_srcdir_defaulted=yes
1409 # Try the directory containing this script, then the parent directory.
1410 ac_confdir=`$as_dirname -- "$as_myself" ||
1411 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1412 X"$as_myself" : 'X\(//\)[^/]' \| \
1413 X"$as_myself" : 'X\(//\)$' \| \
1414 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1415 printf "%s\n" X"$as_myself" |
1416 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1417 s//\1/
1418 q
1419 }
1420 /^X\(\/\/\)[^/].*/{
1421 s//\1/
1422 q
1423 }
1424 /^X\(\/\/\)$/{
1425 s//\1/
1426 q
1427 }
1428 /^X\(\/\).*/{
1429 s//\1/
1430 q
1431 }
1432 s/.*/./; q'`
1433 srcdir=$ac_confdir
1434 if test ! -r "$srcdir/$ac_unique_file"; then
1435 srcdir=..
1436 fi
1437 else
1438 ac_srcdir_defaulted=no
1439 fi
1440 if test ! -r "$srcdir/$ac_unique_file"; then
1441 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1442 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1443 fi
1444 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
1445 ac_abs_confdir=`(
1446 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1447 pwd)`
1448 # When building in place, set srcdir=.
1449 if test "$ac_abs_confdir" = "$ac_pwd"; then
1450 srcdir=.
1451 fi
1452 # Remove unnecessary trailing slashes from srcdir.
1453 # Double slashes in file names in object file debugging info
1454 # mess up M-x gdb in Emacs.
1455 case $srcdir in
1456 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1457 esac
1458 for ac_var in $ac_precious_vars; do
1459 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1460 eval ac_env_${ac_var}_value=\$${ac_var}
1461 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1462 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1463 done
1464
1465 #
1466 # Report the --help message.
1467 #
1468 if test "$ac_init_help" = "long"; then
1469 # Omit some internal or obsolete options to make the list less imposing.
1470 # This message is too long to be a string in the A/UX 3.1 sh.
1471 cat <<_ACEOF
1472 'configure' configures TeX Live utils 2026 to adapt to many kinds of systems.
1473
1474 Usage: $0 [OPTION]... [VAR=VALUE]...
1475
1476 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1477 VAR=VALUE. See below for descriptions of some of the useful variables.
1478
1479 Defaults for the options are specified in brackets.
1480
1481 Configuration:
1482 -h, --help display this help and exit
1483 --help=short display options specific to this package
1484 --help=recursive display the short help of all the included packages
1485 -V, --version display version information and exit
1486 -q, --quiet, --silent do not print 'checking ...' messages
1487 --cache-file=FILE cache test results in FILE [disabled]
1488 -C, --config-cache alias for '--cache-file=config.cache'
1489 -n, --no-create do not create output files
1490 --srcdir=DIR find the sources in DIR [configure dir or '..']
1491
1492 Installation directories:
1493 --prefix=PREFIX install architecture-independent files in PREFIX
1494 [$ac_default_prefix]
1495 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1496 [PREFIX]
1497
1498 By default, 'make install' will install all the files in
1499 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc. You can specify
1500 an installation prefix other than '$ac_default_prefix' using '--prefix',
1501 for instance '--prefix=\$HOME'.
1502
1503 For better control, use the options below.
1504
1505 Fine tuning of the installation directories:
1506 --bindir=DIR user executables [EPREFIX/bin]
1507 --sbindir=DIR system admin executables [EPREFIX/sbin]
1508 --libexecdir=DIR program executables [EPREFIX/libexec]
1509 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1510 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1511 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1512 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1513 --libdir=DIR object code libraries [EPREFIX/lib]
1514 --includedir=DIR C header files [PREFIX/include]
1515 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1516 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1517 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1518 --infodir=DIR info documentation [DATAROOTDIR/info]
1519 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1520 --mandir=DIR man documentation [DATAROOTDIR/man]
1521 --docdir=DIR documentation root [DATAROOTDIR/doc/tex-live-utils]
1522 --htmldir=DIR html documentation [DOCDIR]
1523 --dvidir=DIR dvi documentation [DOCDIR]
1524 --pdfdir=DIR pdf documentation [DOCDIR]
1525 --psdir=DIR ps documentation [DOCDIR]
1526 _ACEOF
1527
1528 cat <<\_ACEOF
1529
1530 Program names:
1531 --program-prefix=PREFIX prepend PREFIX to installed program names
1532 --program-suffix=SUFFIX append SUFFIX to installed program names
1533 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1534
1535 System types:
1536 --build=BUILD configure for building on BUILD [guessed]
1537 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1538 _ACEOF
1539 fi
1540
1541 if test -n "$ac_init_help"; then
1542 case $ac_init_help in
1543 short | recursive ) echo "Configuration of TeX Live utils 2026:";;
1544 esac
1545 cat <<\_ACEOF
1546
1547 Optional Features:
1548 --disable-option-checking ignore unrecognized --enable/--with options
1549 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1550 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1551 --disable-missing terminate if a requested program or feature must be
1552 disabled, e.g., due to missing libraries
1553 --disable-all-pkgs do not build packages unless explicitly enabled
1554 --disable-native-texlive-build
1555 do not build for the TeX Live binary distribution
1556 --enable-multiplatform put executables into bin/PLATFORM and libraries into
1557 lib/PLATFORM
1558 --enable-cxx-runtime-hack link C++ runtime statically
1559 --enable-libtool-hack ignore libtool dependency_libs
1560 --disable-autosp do not build the autosp package
1561 --disable-axodraw2 do not build the axodraw2 package
1562 --disable-devnag do not build the devnag package
1563 --disable-lacheck do not build the lacheck package
1564 --disable-m-tx do not build the m-tx package
1565 --disable-pmx do not build the pmx package
1566 --disable-ps2eps do not build the ps2eps package
1567 --disable-t1utils do not build the t1utils package
1568 --disable-texdoctk do not build the texdoctk package
1569 --disable-tpic2pdftex do not build the tpic2pdftex package
1570 --disable-vlna do not build the vlna package
1571 --enable-xindy build the xindy package
1572 --enable-xindy-rules build and install make-rules package
1573 --enable-xindy-docs build and install documentation
1574 --disable-xml2pmx do not build the xml2pmx package
1575 --disable-xpdfopen do not build the xpdfopen package
1576 --disable-web2c do not build the web2c (TeX & Co.) package
1577 --enable-auto-core cause TeX&MF to dump core, given a certain
1578 filename
1579 --disable-dump-share make fmt/base files architecture-dependent
1580 --disable-ipc disable TeX's --ipc option, i.e., pipe to a
1581 program
1582 --disable-tex do not compile and install TeX
1583 --enable-tex-synctex build TeX with SyncTeX support
1584 --enable-etex compile and install e-TeX
1585 --disable-etex-synctex build e-TeX without SyncTeX support
1586 --enable-uptex compile and install upTeX
1587 --disable-euptex do not compile and install e-upTeX
1588 --disable-euptex-synctex build e-upTeX without SyncTeX support
1589 --disable-aleph do not compile and install Aleph
1590 --disable-hitex do not compile and install HiTeX
1591 --disable-pdftex do not compile and install pdfTeX
1592 --disable-pdftex-synctex build pdfTeX without SyncTeX support
1593 --disable-luatex do not compile and install LuaTeX
1594 --disable-luajittex do not compile and install LuaJITTeX
1595 --disable-luahbtex do not compile and install LuaHBTeX
1596 --disable-luajithbtex do not compile and install LuaHBJITTeX
1597 --disable-mp do not compile and install MetaPost
1598 --disable-pmp do not compile and install pMetaPost
1599 --disable-texprof do not compile and install TeXprof
1600 --disable-upmp do not compile and install upMetaPost
1601 --disable-xetex do not compile and install XeTeX
1602 --disable-xetex-synctex build XeTeX without SyncTeX support
1603 --disable-mf do not compile and install METAFONT
1604 --disable-mf-nowin do not build a separate non-window-capable
1605 METAFONT
1606 --disable-mflua do not compile and install MFLua
1607 --enable-mflua-nowin build a separate non-window-capable MFLua
1608 --disable-mfluajit do not compile and install MFLuaJIT
1609 --enable-mfluajit-nowin build a separate non-window-capable MFLuaJIT
1610 --enable-epsfwin include EPSF pseudo window support
1611 --enable-hp2627win include HP 2627 window support
1612 --enable-mftalkwin include mftalk (generic server) window support
1613 --enable-nextwin include NeXT window support
1614 --enable-regiswin include Regis window support
1615 --enable-suntoolswin include old Suntools (not X) window support
1616 --enable-tektronixwin include Tektronix window support
1617 --enable-unitermwin include Uniterm window support
1618 --disable-web-progs do not build WEB programs bibtex ... weave
1619 --disable-synctex do not build the SyncTeX library and tool
1620 --disable-afm2pl do not build the afm2pl package
1621 --disable-bibtex-x do not build the bibtex-x package
1622 --disable-bibtex8 do not build the bibtex8 program
1623 --disable-bibtexu do not build the bibtexu program
1624 --disable-chktex do not build the chktex package
1625 --disable-cjkutils do not build the cjkutils package
1626 --disable-detex do not build the detex package
1627 --disable-dtl do not build the dtl package
1628 --disable-dvi2tty do not build the dvi2tty package
1629 --disable-dvidvi do not build the dvidvi package
1630 --disable-dviljk do not build the dviljk package
1631 --disable-dviout-util do not build the dviout-util package
1632 --disable-dvipdfm-x do not build the dvipdfm-x package
1633 --disable-dvipng do not build the dvipng package
1634 --disable-debug Compile without debug (-d) option
1635 --enable-timing Output execution time of dvipng
1636 --disable-dvipos do not build the dvipos package
1637 --disable-dvipsk do not build the dvipsk package
1638 --disable-dvisvgm do not build the dvisvgm package
1639 --disable-gregorio do not build the gregorio package
1640 --disable-gsftopk do not build the gsftopk package
1641 --disable-lcdf-typetools
1642 do not build the lcdf-typetools package
1643 --disable-cfftot1 do not build the cfftot1 program
1644 --disable-mmafm do not build the mmafm program
1645 --disable-mmpfb do not build the mmpfb program
1646 --disable-otfinfo do not build the otfinfo program
1647 --disable-otftotfm do not build the otftotfm program
1648 --disable-t1dotlessj do not build the t1dotlessj program
1649 --disable-t1lint do not build the t1lint program
1650 --disable-t1rawafm do not build the t1rawafm program
1651 --disable-t1reencode do not build the t1reencode program
1652 --disable-t1testpage do not build the t1testpage program
1653 --disable-ttftotype42 do not build the ttftotype42 program
1654 --disable-auto-cfftot1 disable running cfftot1 from otftotfm
1655 --disable-auto-t1dotlessj disable running t1dotlessj from otftotfm
1656 --disable-auto-ttftotype42
1657 disable running ttftotype42 from otftotfm
1658 --disable-auto-updmap disable running updmap from otftotfm
1659 --disable-makeindexk do not build the makeindexk package
1660 --disable-makejvf do not build the makejvf package
1661 --disable-mendexk do not build the mendexk package
1662 --disable-musixtnt do not build the musixtnt package
1663 --disable-ps2pk do not build the ps2pk package
1664 --disable-psutils do not build the psutils package
1665 --disable-seetexk do not build the seetexk package
1666 --disable-tex4htk do not build the tex4htk package
1667 --disable-ttf2pk2 do not build the ttf2pk2 package
1668 --disable-ttfdump do not build the ttfdump package
1669 --disable-upmendex do not build the upmendex package
1670 --disable-xdvik do not build the xdvik package
1671 --disable-xdvipsk do not build the xdvipsk package
1672 --disable-texlive do not build the texlive (TeX Live scripts) package
1673 --disable-linked-scripts do not install the linked scripts
1674 --disable-mktexmf-default do not run mktexmf if MF source missing
1675 --disable-mktexpk-default do not run mktexpk if PK font missing
1676 --disable-mktextfm-default do not run mktextfm if TFM file missing
1677 --disable-mkocp-default do not run mkocp if OCP file missing
1678 --disable-mkofm-default do not run mkofm if OFM file missing
1679 --disable-mktexfmt-default do not run mktexfmt if format file missing
1680 --enable-mktextex-default run mktextex if TeX source missing
1681 --enable-dependency-tracking
1682 do not reject slow dependency extractors
1683 --disable-dependency-tracking
1684 speeds up one-time build
1685 --enable-silent-rules less verbose build output (undo: "make V=1")
1686 --disable-silent-rules verbose build output (undo: "make V=0")
1687 --enable-maintainer-mode
1688 enable make rules and dependencies not useful (and
1689 sometimes confusing) to the casual installer
1690 --enable-compiler-warnings=[no|min|yes|max|all]
1691 Turn on compiler warnings [default: yes if
1692 maintainer-mode, min otherwise]
1693
1694 Optional Packages:
1695 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1696 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1697 --with-clisp-runtime=PATH
1698 pathname of clisp runtime to install for `xindy',
1699 `default' to derive from clisp, or `system' to use
1700 installed version
1701 --with-banner-add=STR add STR to version string appended to banner lines
1702 --with-editor=CMD invoke CMD from the `e' option [vi +%d '%s'] or
1703 [texworks --position=%d "%s"]
1704 --with-mf-x-toolkit use X toolkit for METAFONT
1705 --with-gs=/PATH/TO/gs Hard-wire the location of GhostScript
1706 --with-xdvi-x-toolkit=KIT
1707 Use toolkit KIT (xaw/motif/xaw3d/neXtaw) for xdvi
1708 [default: Xaw]
1709 --with-system-harfbuzz use installed harfbuzz headers and library (requires
1710 pkg-config)
1711 --with-system-icu use installed ICU headers and libraries (requires
1712 pkg-config or icu-config)
1713 --with-system-teckit use installed teckit headers and library (requires
1714 pkg-config)
1715 --with-system-graphite2 use installed graphite2 headers and library
1716 (requires pkg-config)
1717 --with-system-zziplib use installed zziplib headers and library (requires
1718 pkg-config)
1719 --with-system-mpfi use installed mpfi headers and library
1720 --with-mpfi-includes=DIR
1721 mpfi headers installed in DIR
1722 --with-mpfi-libdir=DIR mpfi library installed in DIR
1723 --with-system-mpfr use installed mpfr headers and library
1724 --with-mpfr-includes=DIR
1725 mpfr headers installed in DIR
1726 --with-mpfr-libdir=DIR mpfr library installed in DIR
1727 --with-system-gmp use installed gmp headers and library
1728 --with-gmp-includes=DIR gmp headers installed in DIR
1729 --with-gmp-libdir=DIR gmp library installed in DIR
1730 --with-system-cairo use installed cairo headers and library (requires
1731 pkg-config)
1732 --with-system-pixman use installed pixman headers and library (requires
1733 pkg-config)
1734 --with-system-gd use installed gd headers and library
1735 --with-gd-includes=DIR gd headers installed in DIR
1736 --with-gd-libdir=DIR gd library installed in DIR
1737 --with-system-potrace use installed potrace headers and library
1738 --with-potrace-includes=DIR
1739 potrace headers installed in DIR
1740 --with-potrace-libdir=DIR
1741 potrace library installed in DIR
1742 --with-system-freetype2 use installed freetype2 headers and library
1743 (requires freetype-config)
1744 --with-system-libpng use installed libpng headers and library (requires
1745 pkg-config)
1746 --with-system-libpaper use installed libpaper headers and library
1747 --with-libpaper-includes=DIR
1748 libpaper headers installed in DIR
1749 --with-libpaper-libdir=DIR
1750 libpaper library installed in DIR
1751 --with-system-luajit use installed luajit headers and library (requires
1752 pkg-config)
1753 --with-system-zlib use installed zlib headers and library
1754 --with-zlib-includes=DIR
1755 zlib headers installed in DIR
1756 --with-zlib-libdir=DIR zlib library installed in DIR
1757 --with-system-ptexenc use installed ptexenc headers and library (requires
1758 pkg-config)
1759 --with-system-kpathsea use installed kpathsea headers and library (requires
1760 pkg-config)
1761
1762 Some influential environment variables:
1763 CC C compiler command
1764 CFLAGS C compiler flags
1765 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1766 nonstandard directory <lib dir>
1767 LIBS libraries to pass to the linker, e.g. -l<library>
1768 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1769 you have headers in a nonstandard directory <include dir>
1770
1771 Use these variables to override the choices made by 'configure' or to help
1772 it to find libraries and programs with nonstandard names/locations.
1773
1774 Report bugs to <[email protected]>.
1775 _ACEOF
1776 ac_status=$?
1777 fi
1778
1779 if test "$ac_init_help" = "recursive"; then
1780 # If there are subdirs, report their specific --help.
1781 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1782 test -d "$ac_dir" ||
1783 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1784 continue
1785 ac_builddir=.
1786
1787 case "$ac_dir" in
1788 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1789 *)
1790 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1791 # A ".." for each directory in $ac_dir_suffix.
1792 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1793 case $ac_top_builddir_sub in
1794 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1795 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1796 esac ;;
1797 esac
1798 ac_abs_top_builddir=$ac_pwd
1799 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1800 # for backward compatibility:
1801 ac_top_builddir=$ac_top_build_prefix
1802
1803 case $srcdir in
1804 .) # We are building in place.
1805 ac_srcdir=.
1806 ac_top_srcdir=$ac_top_builddir_sub
1807 ac_abs_top_srcdir=$ac_pwd ;;
1808 [\\/]* | ?:[\\/]* ) # Absolute name.
1809 ac_srcdir=$srcdir$ac_dir_suffix;
1810 ac_top_srcdir=$srcdir
1811 ac_abs_top_srcdir=$srcdir ;;
1812 *) # Relative name.
1813 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1814 ac_top_srcdir=$ac_top_build_prefix$srcdir
1815 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1816 esac
1817 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1818
1819 cd "$ac_dir" || { ac_status=$?; continue; }
1820 # Check for configure.gnu first; this name is used for a wrapper for
1821 # Metaconfig's "Configure" on case-insensitive file systems.
1822 if test -f "$ac_srcdir/configure.gnu"; then
1823 echo &&
1824 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1825 elif test -f "$ac_srcdir/configure"; then
1826 echo &&
1827 $SHELL "$ac_srcdir/configure" --help=recursive
1828 else
1829 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1830 fi || ac_status=$?
1831 cd "$ac_pwd" || { ac_status=$?; break; }
1832 done
1833 fi
1834
1835 test -n "$ac_init_help" && exit $ac_status
1836 if $ac_init_version; then
1837 cat <<\_ACEOF
1838 TeX Live utils configure 2026
1839 generated by GNU Autoconf 2.72
1840
1841 Copyright (C) 2023 Free Software Foundation, Inc.
1842 This configure script is free software; the Free Software Foundation
1843 gives unlimited permission to copy, distribute and modify it.
1844 _ACEOF
1845 exit
1846 fi
1847
1848 ## ------------------------ ##
1849 ## Autoconf initialization. ##
1850 ## ------------------------ ##
1851
1852 # ac_fn_c_try_compile LINENO
1853 # --------------------------
1854 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1855 ac_fn_c_try_compile ()
1856 {
1857 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1858 rm -f conftest.$ac_objext conftest.beam
1859 if { { ac_try="$ac_compile"
1860 case "(($ac_try" in
1861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1862 *) ac_try_echo=$ac_try;;
1863 esac
1864 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1865 printf "%s\n" "$ac_try_echo"; } >&5
1866 (eval "$ac_compile") 2>conftest.err
1867 ac_status=$?
1868 if test -s conftest.err; then
1869 grep -v '^ *+' conftest.err >conftest.er1
1870 cat conftest.er1 >&5
1871 mv -f conftest.er1 conftest.err
1872 fi
1873 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1874 test $ac_status = 0; } && {
1875 test -z "$ac_c_werror_flag" ||
1876 test ! -s conftest.err
1877 } && test -s conftest.$ac_objext
1878 then :
1879 ac_retval=0
1880 else case e in #(
1881 e) printf "%s\n" "$as_me: failed program was:" >&5
1882 sed 's/^/| /' conftest.$ac_ext >&5
1883
1884 ac_retval=1 ;;
1885 esac
1886 fi
1887 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1888 as_fn_set_status $ac_retval
1889
1890 } # ac_fn_c_try_compile
1891
1892 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1893 # -------------------------------------------------------
1894 # Tests whether HEADER exists and can be compiled using the include files in
1895 # INCLUDES, setting the cache variable VAR accordingly.
1896 ac_fn_c_check_header_compile ()
1897 {
1898 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1900 printf %s "checking for $2... " >&6; }
1901 if eval test \${$3+y}
1902 then :
1903 printf %s "(cached) " >&6
1904 else case e in #(
1905 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1906 /* end confdefs.h. */
1907 $4
1908 #include <$2>
1909 _ACEOF
1910 if ac_fn_c_try_compile "$LINENO"
1911 then :
1912 eval "$3=yes"
1913 else case e in #(
1914 e) eval "$3=no" ;;
1915 esac
1916 fi
1917 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
1918 esac
1919 fi
1920 eval ac_res=\$$3
1921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1922 printf "%s\n" "$ac_res" >&6; }
1923 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1924
1925 } # ac_fn_c_check_header_compile
1926
1927 # ac_fn_c_try_link LINENO
1928 # -----------------------
1929 # Try to link conftest.$ac_ext, and return whether this succeeded.
1930 ac_fn_c_try_link ()
1931 {
1932 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1933 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1934 if { { ac_try="$ac_link"
1935 case "(($ac_try" in
1936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1937 *) ac_try_echo=$ac_try;;
1938 esac
1939 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1940 printf "%s\n" "$ac_try_echo"; } >&5
1941 (eval "$ac_link") 2>conftest.err
1942 ac_status=$?
1943 if test -s conftest.err; then
1944 grep -v '^ *+' conftest.err >conftest.er1
1945 cat conftest.er1 >&5
1946 mv -f conftest.er1 conftest.err
1947 fi
1948 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1949 test $ac_status = 0; } && {
1950 test -z "$ac_c_werror_flag" ||
1951 test ! -s conftest.err
1952 } && test -s conftest$ac_exeext && {
1953 test "$cross_compiling" = yes ||
1954 test -x conftest$ac_exeext
1955 }
1956 then :
1957 ac_retval=0
1958 else case e in #(
1959 e) printf "%s\n" "$as_me: failed program was:" >&5
1960 sed 's/^/| /' conftest.$ac_ext >&5
1961
1962 ac_retval=1 ;;
1963 esac
1964 fi
1965 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1966 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1967 # interfere with the next link command; also delete a directory that is
1968 # left behind by Apple's compiler. We do this before executing the actions.
1969 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1970 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1971 as_fn_set_status $ac_retval
1972
1973 } # ac_fn_c_try_link
1974 ac_configure_args_raw=
1975 for ac_arg
1976 do
1977 case $ac_arg in
1978 *\'*)
1979 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1980 esac
1981 as_fn_append ac_configure_args_raw " '$ac_arg'"
1982 done
1983
1984 case $ac_configure_args_raw in
1985 *$as_nl*)
1986 ac_safe_unquote= ;;
1987 *)
1988 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1989 ac_unsafe_a="$ac_unsafe_z#~"
1990 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1991 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1992 esac
1993
1994 cat >config.log <<_ACEOF
1995 This file contains any messages produced by compilers while
1996 running configure, to aid debugging if configure makes a mistake.
1997
1998 It was created by TeX Live utils $as_me 2026, which was
1999 generated by GNU Autoconf 2.72. Invocation command line was
2000
2001 $ $0$ac_configure_args_raw
2002
2003 _ACEOF
2004 exec 5>>config.log
2005 {
2006 cat <<_ASUNAME
2007 ## --------- ##
2008 ## Platform. ##
2009 ## --------- ##
2010
2011 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2012 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2013 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2014 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2015 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2016
2017 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2018 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2019
2020 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2021 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2022 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2023 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2024 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2025 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2026 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2027
2028 _ASUNAME
2029
2030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2031 for as_dir in $PATH
2032 do
2033 IFS=$as_save_IFS
2034 case $as_dir in #(((
2035 '') as_dir=./ ;;
2036 */) ;;
2037 *) as_dir=$as_dir/ ;;
2038 esac
2039 printf "%s\n" "PATH: $as_dir"
2040 done
2041 IFS=$as_save_IFS
2042
2043 } >&5
2044
2045 cat >&5 <<_ACEOF
2046
2047
2048 ## ----------- ##
2049 ## Core tests. ##
2050 ## ----------- ##
2051
2052 _ACEOF
2053
2054
2055 # Keep a trace of the command line.
2056 # Strip out --no-create and --no-recursion so they do not pile up.
2057 # Strip out --silent because we don't want to record it for future runs.
2058 # Also quote any args containing shell meta-characters.
2059 # Make two passes to allow for proper duplicate-argument suppression.
2060 ac_configure_args=
2061 ac_configure_args0=
2062 ac_configure_args1=
2063 ac_must_keep_next=false
2064 for ac_pass in 1 2
2065 do
2066 for ac_arg
2067 do
2068 case $ac_arg in
2069 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2070 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2071 | -silent | --silent | --silen | --sile | --sil)
2072 continue ;;
2073 *\'*)
2074 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2075 esac
2076 case $ac_pass in
2077 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2078 2)
2079 as_fn_append ac_configure_args1 " '$ac_arg'"
2080 if test $ac_must_keep_next = true; then
2081 ac_must_keep_next=false # Got value, back to normal.
2082 else
2083 case $ac_arg in
2084 *=* | --config-cache | -C | -disable-* | --disable-* \
2085 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2086 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2087 | -with-* | --with-* | -without-* | --without-* | --x)
2088 case "$ac_configure_args0 " in
2089 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2090 esac
2091 ;;
2092 -* ) ac_must_keep_next=true ;;
2093 esac
2094 fi
2095 as_fn_append ac_configure_args " '$ac_arg'"
2096 ;;
2097 esac
2098 done
2099 done
2100 { ac_configure_args0=; unset ac_configure_args0;}
2101 { ac_configure_args1=; unset ac_configure_args1;}
2102
2103 # When interrupted or exit'd, cleanup temporary files, and complete
2104 # config.log. We remove comments because anyway the quotes in there
2105 # would cause problems or look ugly.
2106 # WARNING: Use '\'' to represent an apostrophe within the trap.
2107 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2108 trap 'exit_status=$?
2109 # Sanitize IFS.
2110 IFS=" "" $as_nl"
2111 # Save into config.log some information that might help in debugging.
2112 {
2113 echo
2114
2115 printf "%s\n" "## ---------------- ##
2116 ## Cache variables. ##
2117 ## ---------------- ##"
2118 echo
2119 # The following way of writing the cache mishandles newlines in values,
2120 (
2121 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2122 eval ac_val=\$$ac_var
2123 case $ac_val in #(
2124 *${as_nl}*)
2125 case $ac_var in #(
2126 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2127 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2128 esac
2129 case $ac_var in #(
2130 _ | IFS | as_nl) ;; #(
2131 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2132 *) { eval $ac_var=; unset $ac_var;} ;;
2133 esac ;;
2134 esac
2135 done
2136 (set) 2>&1 |
2137 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2138 *${as_nl}ac_space=\ *)
2139 sed -n \
2140 "s/'\''/'\''\\\\'\'''\''/g;
2141 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2142 ;; #(
2143 *)
2144 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2145 ;;
2146 esac |
2147 sort
2148 )
2149 echo
2150
2151 printf "%s\n" "## ----------------- ##
2152 ## Output variables. ##
2153 ## ----------------- ##"
2154 echo
2155 for ac_var in $ac_subst_vars
2156 do
2157 eval ac_val=\$$ac_var
2158 case $ac_val in
2159 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2160 esac
2161 printf "%s\n" "$ac_var='\''$ac_val'\''"
2162 done | sort
2163 echo
2164
2165 if test -n "$ac_subst_files"; then
2166 printf "%s\n" "## ------------------- ##
2167 ## File substitutions. ##
2168 ## ------------------- ##"
2169 echo
2170 for ac_var in $ac_subst_files
2171 do
2172 eval ac_val=\$$ac_var
2173 case $ac_val in
2174 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2175 esac
2176 printf "%s\n" "$ac_var='\''$ac_val'\''"
2177 done | sort
2178 echo
2179 fi
2180
2181 if test -s confdefs.h; then
2182 printf "%s\n" "## ----------- ##
2183 ## confdefs.h. ##
2184 ## ----------- ##"
2185 echo
2186 cat confdefs.h
2187 echo
2188 fi
2189 test "$ac_signal" != 0 &&
2190 printf "%s\n" "$as_me: caught signal $ac_signal"
2191 printf "%s\n" "$as_me: exit $exit_status"
2192 } >&5
2193 rm -f core *.core core.conftest.* &&
2194 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2195 exit $exit_status
2196 ' 0
2197 for ac_signal in 1 2 13 15; do
2198 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2199 done
2200 ac_signal=0
2201
2202 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2203 rm -f -r conftest* confdefs.h
2204
2205 printf "%s\n" "/* confdefs.h */" > confdefs.h
2206
2207 # Predefined preprocessor variables.
2208
2209 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
2210
2211 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
2212
2213 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
2214
2215 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
2216
2217 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
2218
2219 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
2220
2221
2222 # Let the site file select an alternate cache file if it wants to.
2223 # Prefer an explicitly selected file to automatically selected ones.
2224 if test -n "$CONFIG_SITE"; then
2225 ac_site_files="$CONFIG_SITE"
2226 elif test "x$prefix" != xNONE; then
2227 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
2228 else
2229 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2230 fi
2231
2232 for ac_site_file in $ac_site_files
2233 do
2234 case $ac_site_file in #(
2235 */*) :
2236 ;; #(
2237 *) :
2238 ac_site_file=./$ac_site_file ;;
2239 esac
2240 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2242 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
2243 sed 's/^/| /' "$ac_site_file" >&5
2244 . "$ac_site_file" \
2245 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
2246 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
2247 as_fn_error $? "failed to load site script $ac_site_file
2248 See 'config.log' for more details" "$LINENO" 5; }
2249 fi
2250 done
2251
2252 if test -r "$cache_file"; then
2253 # Some versions of bash will fail to source /dev/null (special files
2254 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2255 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2257 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
2258 case $cache_file in
2259 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2260 *) . "./$cache_file";;
2261 esac
2262 fi
2263 else
2264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2265 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
2266 >$cache_file
2267 fi
2268
2269 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2270 # Test code for whether the C compiler supports C89 (global declarations)
2271 ac_c_conftest_c89_globals='
2272 /* Does the compiler advertise C89 conformance?
2273 Do not test the value of __STDC__, because some compilers set it to 0
2274 while being otherwise adequately conformant. */
2275 #if !defined __STDC__
2276 # error "Compiler does not advertise C89 conformance"
2277 #endif
2278
2279 #include <stddef.h>
2280 #include <stdarg.h>
2281 struct stat;
2282 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
2283 struct buf { int x; };
2284 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2285 static char *e (char **p, int i)
2286 {
2287 return p[i];
2288 }
2289 static char *f (char * (*g) (char **, int), char **p, ...)
2290 {
2291 char *s;
2292 va_list v;
2293 va_start (v,p);
2294 s = g (p, va_arg (v,int));
2295 va_end (v);
2296 return s;
2297 }
2298
2299 /* C89 style stringification. */
2300 #define noexpand_stringify(a) #a
2301 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
2302
2303 /* C89 style token pasting. Exercises some of the corner cases that
2304 e.g. old MSVC gets wrong, but not very hard. */
2305 #define noexpand_concat(a,b) a##b
2306 #define expand_concat(a,b) noexpand_concat(a,b)
2307 extern int vA;
2308 extern int vbee;
2309 #define aye A
2310 #define bee B
2311 int *pvA = &expand_concat(v,aye);
2312 int *pvbee = &noexpand_concat(v,bee);
2313
2314 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2315 function prototypes and stuff, but not \xHH hex character constants.
2316 These do not provoke an error unfortunately, instead are silently treated
2317 as an "x". The following induces an error, until -std is added to get
2318 proper ANSI mode. Curiously \x00 != x always comes out true, for an
2319 array size at least. It is necessary to write \x00 == 0 to get something
2320 that is true only with -std. */
2321 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2322
2323 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2324 inside strings and character constants. */
2325 #define FOO(x) '\''x'\''
2326 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2327
2328 int test (int i, double x);
2329 struct s1 {int (*f) (int a);};
2330 struct s2 {int (*f) (double a);};
2331 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2332 int, int);'
2333
2334 # Test code for whether the C compiler supports C89 (body of main).
2335 ac_c_conftest_c89_main='
2336 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2337 '
2338
2339 # Test code for whether the C compiler supports C99 (global declarations)
2340 ac_c_conftest_c99_globals='
2341 /* Does the compiler advertise C99 conformance? */
2342 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2343 # error "Compiler does not advertise C99 conformance"
2344 #endif
2345
2346 // See if C++-style comments work.
2347
2348 #include <stdbool.h>
2349 extern int puts (const char *);
2350 extern int printf (const char *, ...);
2351 extern int dprintf (int, const char *, ...);
2352 extern void *malloc (size_t);
2353 extern void free (void *);
2354
2355 // Check varargs macros. These examples are taken from C99 6.10.3.5.
2356 // dprintf is used instead of fprintf to avoid needing to declare
2357 // FILE and stderr.
2358 #define debug(...) dprintf (2, __VA_ARGS__)
2359 #define showlist(...) puts (#__VA_ARGS__)
2360 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2361 static void
2362 test_varargs_macros (void)
2363 {
2364 int x = 1234;
2365 int y = 5678;
2366 debug ("Flag");
2367 debug ("X = %d\n", x);
2368 showlist (The first, second, and third items.);
2369 report (x>y, "x is %d but y is %d", x, y);
2370 }
2371
2372 // Check long long types.
2373 #define BIG64 18446744073709551615ull
2374 #define BIG32 4294967295ul
2375 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2376 #if !BIG_OK
2377 #error "your preprocessor is broken"
2378 #endif
2379 #if BIG_OK
2380 #else
2381 #error "your preprocessor is broken"
2382 #endif
2383 static long long int bignum = -9223372036854775807LL;
2384 static unsigned long long int ubignum = BIG64;
2385
2386 struct incomplete_array
2387 {
2388 int datasize;
2389 double data[];
2390 };
2391
2392 struct named_init {
2393 int number;
2394 const wchar_t *name;
2395 double average;
2396 };
2397
2398 typedef const char *ccp;
2399
2400 static inline int
2401 test_restrict (ccp restrict text)
2402 {
2403 // Iterate through items via the restricted pointer.
2404 // Also check for declarations in for loops.
2405 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2406 continue;
2407 return 0;
2408 }
2409
2410 // Check varargs and va_copy.
2411 static bool
2412 test_varargs (const char *format, ...)
2413 {
2414 va_list args;
2415 va_start (args, format);
2416 va_list args_copy;
2417 va_copy (args_copy, args);
2418
2419 const char *str = "";
2420 int number = 0;
2421 float fnumber = 0;
2422
2423 while (*format)
2424 {
2425 switch (*format++)
2426 {
2427 case '\''s'\'': // string
2428 str = va_arg (args_copy, const char *);
2429 break;
2430 case '\''d'\'': // int
2431 number = va_arg (args_copy, int);
2432 break;
2433 case '\''f'\'': // float
2434 fnumber = va_arg (args_copy, double);
2435 break;
2436 default:
2437 break;
2438 }
2439 }
2440 va_end (args_copy);
2441 va_end (args);
2442
2443 return *str && number && fnumber;
2444 }
2445 '
2446
2447 # Test code for whether the C compiler supports C99 (body of main).
2448 ac_c_conftest_c99_main='
2449 // Check bool.
2450 _Bool success = false;
2451 success |= (argc != 0);
2452
2453 // Check restrict.
2454 if (test_restrict ("String literal") == 0)
2455 success = true;
2456 char *restrict newvar = "Another string";
2457
2458 // Check varargs.
2459 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2460 test_varargs_macros ();
2461
2462 // Check flexible array members.
2463 struct incomplete_array *ia =
2464 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2465 ia->datasize = 10;
2466 for (int i = 0; i < ia->datasize; ++i)
2467 ia->data[i] = i * 1.234;
2468 // Work around memory leak warnings.
2469 free (ia);
2470
2471 // Check named initializers.
2472 struct named_init ni = {
2473 .number = 34,
2474 .name = L"Test wide string",
2475 .average = 543.34343,
2476 };
2477
2478 ni.number = 58;
2479
2480 int dynamic_array[ni.number];
2481 dynamic_array[0] = argv[0][0];
2482 dynamic_array[ni.number - 1] = 543;
2483
2484 // work around unused variable warnings
2485 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2486 || dynamic_array[ni.number - 1] != 543);
2487 '
2488
2489 # Test code for whether the C compiler supports C11 (global declarations)
2490 ac_c_conftest_c11_globals='
2491 /* Does the compiler advertise C11 conformance? */
2492 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2493 # error "Compiler does not advertise C11 conformance"
2494 #endif
2495
2496 // Check _Alignas.
2497 char _Alignas (double) aligned_as_double;
2498 char _Alignas (0) no_special_alignment;
2499 extern char aligned_as_int;
2500 char _Alignas (0) _Alignas (int) aligned_as_int;
2501
2502 // Check _Alignof.
2503 enum
2504 {
2505 int_alignment = _Alignof (int),
2506 int_array_alignment = _Alignof (int[100]),
2507 char_alignment = _Alignof (char)
2508 };
2509 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2510
2511 // Check _Noreturn.
2512 int _Noreturn does_not_return (void) { for (;;) continue; }
2513
2514 // Check _Static_assert.
2515 struct test_static_assert
2516 {
2517 int x;
2518 _Static_assert (sizeof (int) <= sizeof (long int),
2519 "_Static_assert does not work in struct");
2520 long int y;
2521 };
2522
2523 // Check UTF-8 literals.
2524 #define u8 syntax error!
2525 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2526
2527 // Check duplicate typedefs.
2528 typedef long *long_ptr;
2529 typedef long int *long_ptr;
2530 typedef long_ptr long_ptr;
2531
2532 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2533 struct anonymous
2534 {
2535 union {
2536 struct { int i; int j; };
2537 struct { int k; long int l; } w;
2538 };
2539 int m;
2540 } v1;
2541 '
2542
2543 # Test code for whether the C compiler supports C11 (body of main).
2544 ac_c_conftest_c11_main='
2545 _Static_assert ((offsetof (struct anonymous, i)
2546 == offsetof (struct anonymous, w.k)),
2547 "Anonymous union alignment botch");
2548 v1.i = 2;
2549 v1.w.k = 5;
2550 ok |= v1.i != 5;
2551 '
2552
2553 # Test code for whether the C compiler supports C11 (complete).
2554 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2555 ${ac_c_conftest_c99_globals}
2556 ${ac_c_conftest_c11_globals}
2557
2558 int
2559 main (int argc, char **argv)
2560 {
2561 int ok = 0;
2562 ${ac_c_conftest_c89_main}
2563 ${ac_c_conftest_c99_main}
2564 ${ac_c_conftest_c11_main}
2565 return ok;
2566 }
2567 "
2568
2569 # Test code for whether the C compiler supports C99 (complete).
2570 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2571 ${ac_c_conftest_c99_globals}
2572
2573 int
2574 main (int argc, char **argv)
2575 {
2576 int ok = 0;
2577 ${ac_c_conftest_c89_main}
2578 ${ac_c_conftest_c99_main}
2579 return ok;
2580 }
2581 "
2582
2583 # Test code for whether the C compiler supports C89 (complete).
2584 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2585
2586 int
2587 main (int argc, char **argv)
2588 {
2589 int ok = 0;
2590 ${ac_c_conftest_c89_main}
2591 return ok;
2592 }
2593 "
2594
2595 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2596 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
2597 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2598 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2599 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2600 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2601 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2602 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2603 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
2604 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
2605
2606 # Auxiliary files required by this configure script.
2607 ac_aux_files="missing install-sh compile config.guess config.sub"
2608
2609 # Locations in which to look for auxiliary files.
2610 ac_aux_dir_candidates="${srcdir}/../build-aux"
2611
2612 # Search for a directory containing all of the required auxiliary files,
2613 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2614 # If we don't find one directory that contains all the files we need,
2615 # we report the set of missing files from the *first* directory in
2616 # $ac_aux_dir_candidates and give up.
2617 ac_missing_aux_files=""
2618 ac_first_candidate=:
2619 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2621 as_found=false
2622 for as_dir in $ac_aux_dir_candidates
2623 do
2624 IFS=$as_save_IFS
2625 case $as_dir in #(((
2626 '') as_dir=./ ;;
2627 */) ;;
2628 *) as_dir=$as_dir/ ;;
2629 esac
2630 as_found=:
2631
2632 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
2633 ac_aux_dir_found=yes
2634 ac_install_sh=
2635 for ac_aux in $ac_aux_files
2636 do
2637 # As a special case, if "install-sh" is required, that requirement
2638 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2639 # and $ac_install_sh is set appropriately for whichever one is found.
2640 if test x"$ac_aux" = x"install-sh"
2641 then
2642 if test -f "${as_dir}install-sh"; then
2643 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
2644 ac_install_sh="${as_dir}install-sh -c"
2645 elif test -f "${as_dir}install.sh"; then
2646 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
2647 ac_install_sh="${as_dir}install.sh -c"
2648 elif test -f "${as_dir}shtool"; then
2649 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
2650 ac_install_sh="${as_dir}shtool install -c"
2651 else
2652 ac_aux_dir_found=no
2653 if $ac_first_candidate; then
2654 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
2655 else
2656 break
2657 fi
2658 fi
2659 else
2660 if test -f "${as_dir}${ac_aux}"; then
2661 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
2662 else
2663 ac_aux_dir_found=no
2664 if $ac_first_candidate; then
2665 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
2666 else
2667 break
2668 fi
2669 fi
2670 fi
2671 done
2672 if test "$ac_aux_dir_found" = yes; then
2673 ac_aux_dir="$as_dir"
2674 break
2675 fi
2676 ac_first_candidate=false
2677
2678 as_found=false
2679 done
2680 IFS=$as_save_IFS
2681 if $as_found
2682 then :
2683
2684 else case e in #(
2685 e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
2686 esac
2687 fi
2688
2689
2690 # These three variables are undocumented and unsupported,
2691 # and are intended to be withdrawn in a future Autoconf release.
2692 # They can cause serious problems if a builder's source tree is in a directory
2693 # whose full name contains unusual characters.
2694 if test -f "${ac_aux_dir}config.guess"; then
2695 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
2696 fi
2697 if test -f "${ac_aux_dir}config.sub"; then
2698 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
2699 fi
2700 if test -f "$ac_aux_dir/configure"; then
2701 ac_configure="$SHELL ${ac_aux_dir}configure"
2702 fi
2703
2704 # Check that the precious variables saved in the cache have kept the same
2705 # value.
2706 ac_cache_corrupted=false
2707 for ac_var in $ac_precious_vars; do
2708 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2709 eval ac_new_set=\$ac_env_${ac_var}_set
2710 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2711 eval ac_new_val=\$ac_env_${ac_var}_value
2712 case $ac_old_set,$ac_new_set in
2713 set,)
2714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
2715 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
2716 ac_cache_corrupted=: ;;
2717 ,set)
2718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
2719 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
2720 ac_cache_corrupted=: ;;
2721 ,);;
2722 *)
2723 if test "x$ac_old_val" != "x$ac_new_val"; then
2724 # differences in whitespace do not lead to failure.
2725 ac_old_val_w=`echo x $ac_old_val`
2726 ac_new_val_w=`echo x $ac_new_val`
2727 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
2729 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
2730 ac_cache_corrupted=:
2731 else
2732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
2733 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
2734 eval $ac_var=\$ac_old_val
2735 fi
2736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: '$ac_old_val'" >&5
2737 printf "%s\n" "$as_me: former value: '$ac_old_val'" >&2;}
2738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: '$ac_new_val'" >&5
2739 printf "%s\n" "$as_me: current value: '$ac_new_val'" >&2;}
2740 fi;;
2741 esac
2742 # Pass precious variables to config.status.
2743 if test "$ac_new_set" = set; then
2744 case $ac_new_val in
2745 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2746 *) ac_arg=$ac_var=$ac_new_val ;;
2747 esac
2748 case " $ac_configure_args " in
2749 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2750 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2751 esac
2752 fi
2753 done
2754 if $ac_cache_corrupted; then
2755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
2756 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
2757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2758 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2759 as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
2760 and start over" "$LINENO" 5
2761 fi
2762 ## -------------------- ##
2763 ## Main body of script. ##
2764 ## -------------------- ##
2765
2766 ac_ext=c
2767 ac_cpp='$CPP $CPPFLAGS'
2768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2771
2772
2773
2774
2775
2776
2777
2778 # utils/configure.ac: kpse_setup call; see comment in ../configure.ac.
2779
2780
2781
2782 # Make sure we can run config.sub.
2783 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
2784 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
2785
2786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2787 printf %s "checking build system type... " >&6; }
2788 if test ${ac_cv_build+y}
2789 then :
2790 printf %s "(cached) " >&6
2791 else case e in #(
2792 e) ac_build_alias=$build_alias
2793 test "x$ac_build_alias" = x &&
2794 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
2795 test "x$ac_build_alias" = x &&
2796 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2797 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
2798 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
2799 ;;
2800 esac
2801 fi
2802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2803 printf "%s\n" "$ac_cv_build" >&6; }
2804 case $ac_cv_build in
2805 *-*-*) ;;
2806 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2807 esac
2808 build=$ac_cv_build
2809 ac_save_IFS=$IFS; IFS='-'
2810 set x $ac_cv_build
2811 shift
2812 build_cpu=$1
2813 build_vendor=$2
2814 shift; shift
2815 # Remember, the first character of IFS is used to create $*,
2816 # except with old shells:
2817 build_os=$*
2818 IFS=$ac_save_IFS
2819 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2820
2821
2822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2823 printf %s "checking host system type... " >&6; }
2824 if test ${ac_cv_host+y}
2825 then :
2826 printf %s "(cached) " >&6
2827 else case e in #(
2828 e) if test "x$host_alias" = x; then
2829 ac_cv_host=$ac_cv_build
2830 else
2831 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
2832 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
2833 fi
2834 ;;
2835 esac
2836 fi
2837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2838 printf "%s\n" "$ac_cv_host" >&6; }
2839 case $ac_cv_host in
2840 *-*-*) ;;
2841 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2842 esac
2843 host=$ac_cv_host
2844 ac_save_IFS=$IFS; IFS='-'
2845 set x $ac_cv_host
2846 shift
2847 host_cpu=$1
2848 host_vendor=$2
2849 shift; shift
2850 # Remember, the first character of IFS is used to create $*,
2851 # except with old shells:
2852 host_os=$*
2853 IFS=$ac_save_IFS
2854 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2855
2856
2857 # Check whether --enable-missing was given.
2858 if test ${enable_missing+y}
2859 then :
2860 enableval=$enable_missing;
2861 fi
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873 # Expand $ac_aux_dir to an absolute path.
2874 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2875
2876 ac_ext=c
2877 ac_cpp='$CPP $CPPFLAGS'
2878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2881 if test -n "$ac_tool_prefix"; then
2882 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2883 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2885 printf %s "checking for $ac_word... " >&6; }
2886 if test ${ac_cv_prog_CC+y}
2887 then :
2888 printf %s "(cached) " >&6
2889 else case e in #(
2890 e) if test -n "$CC"; then
2891 ac_cv_prog_CC="$CC" # Let the user override the test.
2892 else
2893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2894 for as_dir in $PATH
2895 do
2896 IFS=$as_save_IFS
2897 case $as_dir in #(((
2898 '') as_dir=./ ;;
2899 */) ;;
2900 *) as_dir=$as_dir/ ;;
2901 esac
2902 for ac_exec_ext in '' $ac_executable_extensions; do
2903 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2904 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2905 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2906 break 2
2907 fi
2908 done
2909 done
2910 IFS=$as_save_IFS
2911
2912 fi ;;
2913 esac
2914 fi
2915 CC=$ac_cv_prog_CC
2916 if test -n "$CC"; then
2917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2918 printf "%s\n" "$CC" >&6; }
2919 else
2920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2921 printf "%s\n" "no" >&6; }
2922 fi
2923
2924
2925 fi
2926 if test -z "$ac_cv_prog_CC"; then
2927 ac_ct_CC=$CC
2928 # Extract the first word of "gcc", so it can be a program name with args.
2929 set dummy gcc; ac_word=$2
2930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2931 printf %s "checking for $ac_word... " >&6; }
2932 if test ${ac_cv_prog_ac_ct_CC+y}
2933 then :
2934 printf %s "(cached) " >&6
2935 else case e in #(
2936 e) if test -n "$ac_ct_CC"; then
2937 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2938 else
2939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2940 for as_dir in $PATH
2941 do
2942 IFS=$as_save_IFS
2943 case $as_dir in #(((
2944 '') as_dir=./ ;;
2945 */) ;;
2946 *) as_dir=$as_dir/ ;;
2947 esac
2948 for ac_exec_ext in '' $ac_executable_extensions; do
2949 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2950 ac_cv_prog_ac_ct_CC="gcc"
2951 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2952 break 2
2953 fi
2954 done
2955 done
2956 IFS=$as_save_IFS
2957
2958 fi ;;
2959 esac
2960 fi
2961 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2962 if test -n "$ac_ct_CC"; then
2963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2964 printf "%s\n" "$ac_ct_CC" >&6; }
2965 else
2966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2967 printf "%s\n" "no" >&6; }
2968 fi
2969
2970 if test "x$ac_ct_CC" = x; then
2971 CC=""
2972 else
2973 case $cross_compiling:$ac_tool_warned in
2974 yes:)
2975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2976 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2977 ac_tool_warned=yes ;;
2978 esac
2979 CC=$ac_ct_CC
2980 fi
2981 else
2982 CC="$ac_cv_prog_CC"
2983 fi
2984
2985 if test -z "$CC"; then
2986 if test -n "$ac_tool_prefix"; then
2987 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2988 set dummy ${ac_tool_prefix}cc; ac_word=$2
2989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2990 printf %s "checking for $ac_word... " >&6; }
2991 if test ${ac_cv_prog_CC+y}
2992 then :
2993 printf %s "(cached) " >&6
2994 else case e in #(
2995 e) if test -n "$CC"; then
2996 ac_cv_prog_CC="$CC" # Let the user override the test.
2997 else
2998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2999 for as_dir in $PATH
3000 do
3001 IFS=$as_save_IFS
3002 case $as_dir in #(((
3003 '') as_dir=./ ;;
3004 */) ;;
3005 *) as_dir=$as_dir/ ;;
3006 esac
3007 for ac_exec_ext in '' $ac_executable_extensions; do
3008 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3009 ac_cv_prog_CC="${ac_tool_prefix}cc"
3010 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3011 break 2
3012 fi
3013 done
3014 done
3015 IFS=$as_save_IFS
3016
3017 fi ;;
3018 esac
3019 fi
3020 CC=$ac_cv_prog_CC
3021 if test -n "$CC"; then
3022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3023 printf "%s\n" "$CC" >&6; }
3024 else
3025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3026 printf "%s\n" "no" >&6; }
3027 fi
3028
3029
3030 fi
3031 fi
3032 if test -z "$CC"; then
3033 # Extract the first word of "cc", so it can be a program name with args.
3034 set dummy cc; ac_word=$2
3035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3036 printf %s "checking for $ac_word... " >&6; }
3037 if test ${ac_cv_prog_CC+y}
3038 then :
3039 printf %s "(cached) " >&6
3040 else case e in #(
3041 e) if test -n "$CC"; then
3042 ac_cv_prog_CC="$CC" # Let the user override the test.
3043 else
3044 ac_prog_rejected=no
3045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3046 for as_dir in $PATH
3047 do
3048 IFS=$as_save_IFS
3049 case $as_dir in #(((
3050 '') as_dir=./ ;;
3051 */) ;;
3052 *) as_dir=$as_dir/ ;;
3053 esac
3054 for ac_exec_ext in '' $ac_executable_extensions; do
3055 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3056 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3057 ac_prog_rejected=yes
3058 continue
3059 fi
3060 ac_cv_prog_CC="cc"
3061 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3062 break 2
3063 fi
3064 done
3065 done
3066 IFS=$as_save_IFS
3067
3068 if test $ac_prog_rejected = yes; then
3069 # We found a bogon in the path, so make sure we never use it.
3070 set dummy $ac_cv_prog_CC
3071 shift
3072 if test $# != 0; then
3073 # We chose a different compiler from the bogus one.
3074 # However, it has the same basename, so the bogon will be chosen
3075 # first if we set CC to just the basename; use the full file name.
3076 shift
3077 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
3078 fi
3079 fi
3080 fi ;;
3081 esac
3082 fi
3083 CC=$ac_cv_prog_CC
3084 if test -n "$CC"; then
3085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3086 printf "%s\n" "$CC" >&6; }
3087 else
3088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3089 printf "%s\n" "no" >&6; }
3090 fi
3091
3092
3093 fi
3094 if test -z "$CC"; then
3095 if test -n "$ac_tool_prefix"; then
3096 for ac_prog in cl.exe
3097 do
3098 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3099 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3101 printf %s "checking for $ac_word... " >&6; }
3102 if test ${ac_cv_prog_CC+y}
3103 then :
3104 printf %s "(cached) " >&6
3105 else case e in #(
3106 e) if test -n "$CC"; then
3107 ac_cv_prog_CC="$CC" # Let the user override the test.
3108 else
3109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3110 for as_dir in $PATH
3111 do
3112 IFS=$as_save_IFS
3113 case $as_dir in #(((
3114 '') as_dir=./ ;;
3115 */) ;;
3116 *) as_dir=$as_dir/ ;;
3117 esac
3118 for ac_exec_ext in '' $ac_executable_extensions; do
3119 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3120 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3121 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3122 break 2
3123 fi
3124 done
3125 done
3126 IFS=$as_save_IFS
3127
3128 fi ;;
3129 esac
3130 fi
3131 CC=$ac_cv_prog_CC
3132 if test -n "$CC"; then
3133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3134 printf "%s\n" "$CC" >&6; }
3135 else
3136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3137 printf "%s\n" "no" >&6; }
3138 fi
3139
3140
3141 test -n "$CC" && break
3142 done
3143 fi
3144 if test -z "$CC"; then
3145 ac_ct_CC=$CC
3146 for ac_prog in cl.exe
3147 do
3148 # Extract the first word of "$ac_prog", so it can be a program name with args.
3149 set dummy $ac_prog; ac_word=$2
3150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3151 printf %s "checking for $ac_word... " >&6; }
3152 if test ${ac_cv_prog_ac_ct_CC+y}
3153 then :
3154 printf %s "(cached) " >&6
3155 else case e in #(
3156 e) if test -n "$ac_ct_CC"; then
3157 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3158 else
3159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3160 for as_dir in $PATH
3161 do
3162 IFS=$as_save_IFS
3163 case $as_dir in #(((
3164 '') as_dir=./ ;;
3165 */) ;;
3166 *) as_dir=$as_dir/ ;;
3167 esac
3168 for ac_exec_ext in '' $ac_executable_extensions; do
3169 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3170 ac_cv_prog_ac_ct_CC="$ac_prog"
3171 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3172 break 2
3173 fi
3174 done
3175 done
3176 IFS=$as_save_IFS
3177
3178 fi ;;
3179 esac
3180 fi
3181 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3182 if test -n "$ac_ct_CC"; then
3183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3184 printf "%s\n" "$ac_ct_CC" >&6; }
3185 else
3186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3187 printf "%s\n" "no" >&6; }
3188 fi
3189
3190
3191 test -n "$ac_ct_CC" && break
3192 done
3193
3194 if test "x$ac_ct_CC" = x; then
3195 CC=""
3196 else
3197 case $cross_compiling:$ac_tool_warned in
3198 yes:)
3199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3200 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3201 ac_tool_warned=yes ;;
3202 esac
3203 CC=$ac_ct_CC
3204 fi
3205 fi
3206
3207 fi
3208 if test -z "$CC"; then
3209 if test -n "$ac_tool_prefix"; then
3210 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
3211 set dummy ${ac_tool_prefix}clang; ac_word=$2
3212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3213 printf %s "checking for $ac_word... " >&6; }
3214 if test ${ac_cv_prog_CC+y}
3215 then :
3216 printf %s "(cached) " >&6
3217 else case e in #(
3218 e) if test -n "$CC"; then
3219 ac_cv_prog_CC="$CC" # Let the user override the test.
3220 else
3221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3222 for as_dir in $PATH
3223 do
3224 IFS=$as_save_IFS
3225 case $as_dir in #(((
3226 '') as_dir=./ ;;
3227 */) ;;
3228 *) as_dir=$as_dir/ ;;
3229 esac
3230 for ac_exec_ext in '' $ac_executable_extensions; do
3231 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3232 ac_cv_prog_CC="${ac_tool_prefix}clang"
3233 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3234 break 2
3235 fi
3236 done
3237 done
3238 IFS=$as_save_IFS
3239
3240 fi ;;
3241 esac
3242 fi
3243 CC=$ac_cv_prog_CC
3244 if test -n "$CC"; then
3245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3246 printf "%s\n" "$CC" >&6; }
3247 else
3248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3249 printf "%s\n" "no" >&6; }
3250 fi
3251
3252
3253 fi
3254 if test -z "$ac_cv_prog_CC"; then
3255 ac_ct_CC=$CC
3256 # Extract the first word of "clang", so it can be a program name with args.
3257 set dummy clang; ac_word=$2
3258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3259 printf %s "checking for $ac_word... " >&6; }
3260 if test ${ac_cv_prog_ac_ct_CC+y}
3261 then :
3262 printf %s "(cached) " >&6
3263 else case e in #(
3264 e) if test -n "$ac_ct_CC"; then
3265 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3266 else
3267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3268 for as_dir in $PATH
3269 do
3270 IFS=$as_save_IFS
3271 case $as_dir in #(((
3272 '') as_dir=./ ;;
3273 */) ;;
3274 *) as_dir=$as_dir/ ;;
3275 esac
3276 for ac_exec_ext in '' $ac_executable_extensions; do
3277 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3278 ac_cv_prog_ac_ct_CC="clang"
3279 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3280 break 2
3281 fi
3282 done
3283 done
3284 IFS=$as_save_IFS
3285
3286 fi ;;
3287 esac
3288 fi
3289 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3290 if test -n "$ac_ct_CC"; then
3291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3292 printf "%s\n" "$ac_ct_CC" >&6; }
3293 else
3294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3295 printf "%s\n" "no" >&6; }
3296 fi
3297
3298 if test "x$ac_ct_CC" = x; then
3299 CC=""
3300 else
3301 case $cross_compiling:$ac_tool_warned in
3302 yes:)
3303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3304 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3305 ac_tool_warned=yes ;;
3306 esac
3307 CC=$ac_ct_CC
3308 fi
3309 else
3310 CC="$ac_cv_prog_CC"
3311 fi
3312
3313 fi
3314
3315
3316 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3317 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3318 as_fn_error $? "no acceptable C compiler found in \$PATH
3319 See 'config.log' for more details" "$LINENO" 5; }
3320
3321 # Provide some information about the compiler.
3322 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3323 set X $ac_compile
3324 ac_compiler=$2
3325 for ac_option in --version -v -V -qversion -version; do
3326 { { ac_try="$ac_compiler $ac_option >&5"
3327 case "(($ac_try" in
3328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3329 *) ac_try_echo=$ac_try;;
3330 esac
3331 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3332 printf "%s\n" "$ac_try_echo"; } >&5
3333 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3334 ac_status=$?
3335 if test -s conftest.err; then
3336 sed '10a\
3337 ... rest of stderr output deleted ...
3338 10q' conftest.err >conftest.er1
3339 cat conftest.er1 >&5
3340 fi
3341 rm -f conftest.er1 conftest.err
3342 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3343 test $ac_status = 0; }
3344 done
3345
3346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3347 /* end confdefs.h. */
3348
3349 int
3350 main (void)
3351 {
3352
3353 ;
3354 return 0;
3355 }
3356 _ACEOF
3357 ac_clean_files_save=$ac_clean_files
3358 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3359 # Try to create an executable without -o first, disregard a.out.
3360 # It will help us diagnose broken compilers, and finding out an intuition
3361 # of exeext.
3362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3363 printf %s "checking whether the C compiler works... " >&6; }
3364 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3365
3366 # The possible output files:
3367 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3368
3369 ac_rmfiles=
3370 for ac_file in $ac_files
3371 do
3372 case $ac_file in
3373 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3374 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3375 esac
3376 done
3377 rm -f $ac_rmfiles
3378
3379 if { { ac_try="$ac_link_default"
3380 case "(($ac_try" in
3381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3382 *) ac_try_echo=$ac_try;;
3383 esac
3384 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3385 printf "%s\n" "$ac_try_echo"; } >&5
3386 (eval "$ac_link_default") 2>&5
3387 ac_status=$?
3388 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3389 test $ac_status = 0; }
3390 then :
3391 # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
3392 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
3393 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3394 # so that the user can short-circuit this test for compilers unknown to
3395 # Autoconf.
3396 for ac_file in $ac_files ''
3397 do
3398 test -f "$ac_file" || continue
3399 case $ac_file in
3400 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3401 ;;
3402 [ab].out )
3403 # We found the default executable, but exeext='' is most
3404 # certainly right.
3405 break;;
3406 *.* )
3407 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
3408 then :; else
3409 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3410 fi
3411 # We set ac_cv_exeext here because the later test for it is not
3412 # safe: cross compilers may not add the suffix if given an '-o'
3413 # argument, so we may need to know it at that point already.
3414 # Even if this section looks crufty: it has the advantage of
3415 # actually working.
3416 break;;
3417 * )
3418 break;;
3419 esac
3420 done
3421 test "$ac_cv_exeext" = no && ac_cv_exeext=
3422
3423 else case e in #(
3424 e) ac_file='' ;;
3425 esac
3426 fi
3427 if test -z "$ac_file"
3428 then :
3429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3430 printf "%s\n" "no" >&6; }
3431 printf "%s\n" "$as_me: failed program was:" >&5
3432 sed 's/^/| /' conftest.$ac_ext >&5
3433
3434 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3435 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3436 as_fn_error 77 "C compiler cannot create executables
3437 See 'config.log' for more details" "$LINENO" 5; }
3438 else case e in #(
3439 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3440 printf "%s\n" "yes" >&6; } ;;
3441 esac
3442 fi
3443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3444 printf %s "checking for C compiler default output file name... " >&6; }
3445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3446 printf "%s\n" "$ac_file" >&6; }
3447 ac_exeext=$ac_cv_exeext
3448
3449 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3450 ac_clean_files=$ac_clean_files_save
3451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3452 printf %s "checking for suffix of executables... " >&6; }
3453 if { { ac_try="$ac_link"
3454 case "(($ac_try" in
3455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3456 *) ac_try_echo=$ac_try;;
3457 esac
3458 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3459 printf "%s\n" "$ac_try_echo"; } >&5
3460 (eval "$ac_link") 2>&5
3461 ac_status=$?
3462 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3463 test $ac_status = 0; }
3464 then :
3465 # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
3466 # catch 'conftest.exe'. For instance with Cygwin, 'ls conftest' will
3467 # work properly (i.e., refer to 'conftest.exe'), while it won't with
3468 # 'rm'.
3469 for ac_file in conftest.exe conftest conftest.*; do
3470 test -f "$ac_file" || continue
3471 case $ac_file in
3472 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3473 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3474 break;;
3475 * ) break;;
3476 esac
3477 done
3478 else case e in #(
3479 e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3480 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3481 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3482 See 'config.log' for more details" "$LINENO" 5; } ;;
3483 esac
3484 fi
3485 rm -f conftest conftest$ac_cv_exeext
3486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3487 printf "%s\n" "$ac_cv_exeext" >&6; }
3488
3489 rm -f conftest.$ac_ext
3490 EXEEXT=$ac_cv_exeext
3491 ac_exeext=$EXEEXT
3492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3493 /* end confdefs.h. */
3494 #include <stdio.h>
3495 int
3496 main (void)
3497 {
3498 FILE *f = fopen ("conftest.out", "w");
3499 if (!f)
3500 return 1;
3501 return ferror (f) || fclose (f) != 0;
3502
3503 ;
3504 return 0;
3505 }
3506 _ACEOF
3507 ac_clean_files="$ac_clean_files conftest.out"
3508 # Check that the compiler produces executables we can run. If not, either
3509 # the compiler is broken, or we cross compile.
3510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3511 printf %s "checking whether we are cross compiling... " >&6; }
3512 if test "$cross_compiling" != yes; then
3513 { { ac_try="$ac_link"
3514 case "(($ac_try" in
3515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3516 *) ac_try_echo=$ac_try;;
3517 esac
3518 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3519 printf "%s\n" "$ac_try_echo"; } >&5
3520 (eval "$ac_link") 2>&5
3521 ac_status=$?
3522 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3523 test $ac_status = 0; }
3524 if { ac_try='./conftest$ac_cv_exeext'
3525 { { case "(($ac_try" in
3526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3527 *) ac_try_echo=$ac_try;;
3528 esac
3529 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3530 printf "%s\n" "$ac_try_echo"; } >&5
3531 (eval "$ac_try") 2>&5
3532 ac_status=$?
3533 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3534 test $ac_status = 0; }; }; then
3535 cross_compiling=no
3536 else
3537 if test "$cross_compiling" = maybe; then
3538 cross_compiling=yes
3539 else
3540 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3541 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3542 as_fn_error 77 "cannot run C compiled programs.
3543 If you meant to cross compile, use '--host'.
3544 See 'config.log' for more details" "$LINENO" 5; }
3545 fi
3546 fi
3547 fi
3548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3549 printf "%s\n" "$cross_compiling" >&6; }
3550
3551 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
3552 conftest.o conftest.obj conftest.out
3553 ac_clean_files=$ac_clean_files_save
3554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3555 printf %s "checking for suffix of object files... " >&6; }
3556 if test ${ac_cv_objext+y}
3557 then :
3558 printf %s "(cached) " >&6
3559 else case e in #(
3560 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3561 /* end confdefs.h. */
3562
3563 int
3564 main (void)
3565 {
3566
3567 ;
3568 return 0;
3569 }
3570 _ACEOF
3571 rm -f conftest.o conftest.obj
3572 if { { ac_try="$ac_compile"
3573 case "(($ac_try" in
3574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3575 *) ac_try_echo=$ac_try;;
3576 esac
3577 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3578 printf "%s\n" "$ac_try_echo"; } >&5
3579 (eval "$ac_compile") 2>&5
3580 ac_status=$?
3581 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3582 test $ac_status = 0; }
3583 then :
3584 for ac_file in conftest.o conftest.obj conftest.*; do
3585 test -f "$ac_file" || continue;
3586 case $ac_file in
3587 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3588 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3589 break;;
3590 esac
3591 done
3592 else case e in #(
3593 e) printf "%s\n" "$as_me: failed program was:" >&5
3594 sed 's/^/| /' conftest.$ac_ext >&5
3595
3596 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3597 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3598 as_fn_error $? "cannot compute suffix of object files: cannot compile
3599 See 'config.log' for more details" "$LINENO" 5; } ;;
3600 esac
3601 fi
3602 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
3603 esac
3604 fi
3605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3606 printf "%s\n" "$ac_cv_objext" >&6; }
3607 OBJEXT=$ac_cv_objext
3608 ac_objext=$OBJEXT
3609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
3610 printf %s "checking whether the compiler supports GNU C... " >&6; }
3611 if test ${ac_cv_c_compiler_gnu+y}
3612 then :
3613 printf %s "(cached) " >&6
3614 else case e in #(
3615 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3616 /* end confdefs.h. */
3617
3618 int
3619 main (void)
3620 {
3621 #ifndef __GNUC__
3622 choke me
3623 #endif
3624
3625 ;
3626 return 0;
3627 }
3628 _ACEOF
3629 if ac_fn_c_try_compile "$LINENO"
3630 then :
3631 ac_compiler_gnu=yes
3632 else case e in #(
3633 e) ac_compiler_gnu=no ;;
3634 esac
3635 fi
3636 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3637 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3638 ;;
3639 esac
3640 fi
3641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3642 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
3643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3644
3645 if test $ac_compiler_gnu = yes; then
3646 GCC=yes
3647 else
3648 GCC=
3649 fi
3650 ac_test_CFLAGS=${CFLAGS+y}
3651 ac_save_CFLAGS=$CFLAGS
3652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3653 printf %s "checking whether $CC accepts -g... " >&6; }
3654 if test ${ac_cv_prog_cc_g+y}
3655 then :
3656 printf %s "(cached) " >&6
3657 else case e in #(
3658 e) ac_save_c_werror_flag=$ac_c_werror_flag
3659 ac_c_werror_flag=yes
3660 ac_cv_prog_cc_g=no
3661 CFLAGS="-g"
3662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3663 /* end confdefs.h. */
3664
3665 int
3666 main (void)
3667 {
3668
3669 ;
3670 return 0;
3671 }
3672 _ACEOF
3673 if ac_fn_c_try_compile "$LINENO"
3674 then :
3675 ac_cv_prog_cc_g=yes
3676 else case e in #(
3677 e) CFLAGS=""
3678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3679 /* end confdefs.h. */
3680
3681 int
3682 main (void)
3683 {
3684
3685 ;
3686 return 0;
3687 }
3688 _ACEOF
3689 if ac_fn_c_try_compile "$LINENO"
3690 then :
3691
3692 else case e in #(
3693 e) ac_c_werror_flag=$ac_save_c_werror_flag
3694 CFLAGS="-g"
3695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3696 /* end confdefs.h. */
3697
3698 int
3699 main (void)
3700 {
3701
3702 ;
3703 return 0;
3704 }
3705 _ACEOF
3706 if ac_fn_c_try_compile "$LINENO"
3707 then :
3708 ac_cv_prog_cc_g=yes
3709 fi
3710 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
3711 esac
3712 fi
3713 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
3714 esac
3715 fi
3716 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3717 ac_c_werror_flag=$ac_save_c_werror_flag ;;
3718 esac
3719 fi
3720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3721 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
3722 if test $ac_test_CFLAGS; then
3723 CFLAGS=$ac_save_CFLAGS
3724 elif test $ac_cv_prog_cc_g = yes; then
3725 if test "$GCC" = yes; then
3726 CFLAGS="-g -O2"
3727 else
3728 CFLAGS="-g"
3729 fi
3730 else
3731 if test "$GCC" = yes; then
3732 CFLAGS="-O2"
3733 else
3734 CFLAGS=
3735 fi
3736 fi
3737 ac_prog_cc_stdc=no
3738 if test x$ac_prog_cc_stdc = xno
3739 then :
3740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
3741 printf %s "checking for $CC option to enable C11 features... " >&6; }
3742 if test ${ac_cv_prog_cc_c11+y}
3743 then :
3744 printf %s "(cached) " >&6
3745 else case e in #(
3746 e) ac_cv_prog_cc_c11=no
3747 ac_save_CC=$CC
3748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3749 /* end confdefs.h. */
3750 $ac_c_conftest_c11_program
3751 _ACEOF
3752 for ac_arg in '' -std=gnu11
3753 do
3754 CC="$ac_save_CC $ac_arg"
3755 if ac_fn_c_try_compile "$LINENO"
3756 then :
3757 ac_cv_prog_cc_c11=$ac_arg
3758 fi
3759 rm -f core conftest.err conftest.$ac_objext conftest.beam
3760 test "x$ac_cv_prog_cc_c11" != "xno" && break
3761 done
3762 rm -f conftest.$ac_ext
3763 CC=$ac_save_CC ;;
3764 esac
3765 fi
3766
3767 if test "x$ac_cv_prog_cc_c11" = xno
3768 then :
3769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3770 printf "%s\n" "unsupported" >&6; }
3771 else case e in #(
3772 e) if test "x$ac_cv_prog_cc_c11" = x
3773 then :
3774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3775 printf "%s\n" "none needed" >&6; }
3776 else case e in #(
3777 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
3778 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
3779 CC="$CC $ac_cv_prog_cc_c11" ;;
3780 esac
3781 fi
3782 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
3783 ac_prog_cc_stdc=c11 ;;
3784 esac
3785 fi
3786 fi
3787 if test x$ac_prog_cc_stdc = xno
3788 then :
3789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
3790 printf %s "checking for $CC option to enable C99 features... " >&6; }
3791 if test ${ac_cv_prog_cc_c99+y}
3792 then :
3793 printf %s "(cached) " >&6
3794 else case e in #(
3795 e) ac_cv_prog_cc_c99=no
3796 ac_save_CC=$CC
3797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3798 /* end confdefs.h. */
3799 $ac_c_conftest_c99_program
3800 _ACEOF
3801 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
3802 do
3803 CC="$ac_save_CC $ac_arg"
3804 if ac_fn_c_try_compile "$LINENO"
3805 then :
3806 ac_cv_prog_cc_c99=$ac_arg
3807 fi
3808 rm -f core conftest.err conftest.$ac_objext conftest.beam
3809 test "x$ac_cv_prog_cc_c99" != "xno" && break
3810 done
3811 rm -f conftest.$ac_ext
3812 CC=$ac_save_CC ;;
3813 esac
3814 fi
3815
3816 if test "x$ac_cv_prog_cc_c99" = xno
3817 then :
3818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3819 printf "%s\n" "unsupported" >&6; }
3820 else case e in #(
3821 e) if test "x$ac_cv_prog_cc_c99" = x
3822 then :
3823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3824 printf "%s\n" "none needed" >&6; }
3825 else case e in #(
3826 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3827 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
3828 CC="$CC $ac_cv_prog_cc_c99" ;;
3829 esac
3830 fi
3831 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3832 ac_prog_cc_stdc=c99 ;;
3833 esac
3834 fi
3835 fi
3836 if test x$ac_prog_cc_stdc = xno
3837 then :
3838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
3839 printf %s "checking for $CC option to enable C89 features... " >&6; }
3840 if test ${ac_cv_prog_cc_c89+y}
3841 then :
3842 printf %s "(cached) " >&6
3843 else case e in #(
3844 e) ac_cv_prog_cc_c89=no
3845 ac_save_CC=$CC
3846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3847 /* end confdefs.h. */
3848 $ac_c_conftest_c89_program
3849 _ACEOF
3850 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3851 do
3852 CC="$ac_save_CC $ac_arg"
3853 if ac_fn_c_try_compile "$LINENO"
3854 then :
3855 ac_cv_prog_cc_c89=$ac_arg
3856 fi
3857 rm -f core conftest.err conftest.$ac_objext conftest.beam
3858 test "x$ac_cv_prog_cc_c89" != "xno" && break
3859 done
3860 rm -f conftest.$ac_ext
3861 CC=$ac_save_CC ;;
3862 esac
3863 fi
3864
3865 if test "x$ac_cv_prog_cc_c89" = xno
3866 then :
3867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3868 printf "%s\n" "unsupported" >&6; }
3869 else case e in #(
3870 e) if test "x$ac_cv_prog_cc_c89" = x
3871 then :
3872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3873 printf "%s\n" "none needed" >&6; }
3874 else case e in #(
3875 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3876 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
3877 CC="$CC $ac_cv_prog_cc_c89" ;;
3878 esac
3879 fi
3880 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3881 ac_prog_cc_stdc=c89 ;;
3882 esac
3883 fi
3884 fi
3885
3886 ac_ext=c
3887 ac_cpp='$CPP $CPPFLAGS'
3888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3891
3892
3893 ac_ext=c
3894 ac_cpp='$CPP $CPPFLAGS'
3895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3899 printf %s "checking whether $CC understands -c and -o together... " >&6; }
3900 if test ${am_cv_prog_cc_c_o+y}
3901 then :
3902 printf %s "(cached) " >&6
3903 else case e in #(
3904 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3905 /* end confdefs.h. */
3906
3907 int
3908 main (void)
3909 {
3910
3911 ;
3912 return 0;
3913 }
3914 _ACEOF
3915 # Make sure it works both with $CC and with simple cc.
3916 # Following AC_PROG_CC_C_O, we do the test twice because some
3917 # compilers refuse to overwrite an existing .o file with -o,
3918 # though they will create one.
3919 am_cv_prog_cc_c_o=yes
3920 for am_i in 1 2; do
3921 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3922 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3923 ac_status=$?
3924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3925 (exit $ac_status); } \
3926 && test -f conftest2.$ac_objext; then
3927 : OK
3928 else
3929 am_cv_prog_cc_c_o=no
3930 break
3931 fi
3932 done
3933 # aligned with autoconf, so not including core; see bug#72225.
3934 rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \
3935 conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \
3936 conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM
3937 unset am_i ;;
3938 esac
3939 fi
3940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3941 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
3942 if test "$am_cv_prog_cc_c_o" != yes; then
3943 # Losing compiler, so override with the script.
3944 # FIXME: It is wrong to rewrite CC.
3945 # But if we don't then we get into trouble of one sort or another.
3946 # A longer-term fix would be to have automake use am__CC in this case,
3947 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3948 CC="$am_aux_dir/compile $CC"
3949 fi
3950 ac_ext=c
3951 ac_cpp='$CPP $CPPFLAGS'
3952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3955
3956
3957
3958 ac_header= ac_cache=
3959 for ac_item in $ac_header_c_list
3960 do
3961 if test $ac_cache; then
3962 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
3963 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
3964 printf "%s\n" "#define $ac_item 1" >> confdefs.h
3965 fi
3966 ac_header= ac_cache=
3967 elif test $ac_header; then
3968 ac_cache=$ac_item
3969 else
3970 ac_header=$ac_item
3971 fi
3972 done
3973
3974
3975
3976
3977
3978
3979
3980
3981 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
3982 then :
3983
3984 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
3985
3986 fi
3987
3988
3989
3990
3991
3992
3993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3994 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3995 if test ${ac_cv_safe_to_define___extensions__+y}
3996 then :
3997 printf %s "(cached) " >&6
3998 else case e in #(
3999 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4000 /* end confdefs.h. */
4001
4002 # define __EXTENSIONS__ 1
4003 $ac_includes_default
4004 int
4005 main (void)
4006 {
4007
4008 ;
4009 return 0;
4010 }
4011 _ACEOF
4012 if ac_fn_c_try_compile "$LINENO"
4013 then :
4014 ac_cv_safe_to_define___extensions__=yes
4015 else case e in #(
4016 e) ac_cv_safe_to_define___extensions__=no ;;
4017 esac
4018 fi
4019 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4020 esac
4021 fi
4022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4023 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
4024
4025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
4026 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
4027 if test ${ac_cv_should_define__xopen_source+y}
4028 then :
4029 printf %s "(cached) " >&6
4030 else case e in #(
4031 e) ac_cv_should_define__xopen_source=no
4032 if test $ac_cv_header_wchar_h = yes
4033 then :
4034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4035 /* end confdefs.h. */
4036
4037 #include <wchar.h>
4038 mbstate_t x;
4039 int
4040 main (void)
4041 {
4042
4043 ;
4044 return 0;
4045 }
4046 _ACEOF
4047 if ac_fn_c_try_compile "$LINENO"
4048 then :
4049
4050 else case e in #(
4051 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4052 /* end confdefs.h. */
4053
4054 #define _XOPEN_SOURCE 500
4055 #include <wchar.h>
4056 mbstate_t x;
4057 int
4058 main (void)
4059 {
4060
4061 ;
4062 return 0;
4063 }
4064 _ACEOF
4065 if ac_fn_c_try_compile "$LINENO"
4066 then :
4067 ac_cv_should_define__xopen_source=yes
4068 fi
4069 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4070 esac
4071 fi
4072 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4073 fi ;;
4074 esac
4075 fi
4076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
4077 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
4078
4079 printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
4080
4081 printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
4082
4083 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
4084
4085 printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
4086
4087 printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
4088
4089 printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
4090
4091 printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4092
4093 printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
4094
4095 printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
4096
4097 printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
4098
4099 printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h
4100
4101 printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
4102
4103 printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
4104
4105 printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
4106
4107 printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
4108
4109 printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
4110
4111 if test $ac_cv_header_minix_config_h = yes
4112 then :
4113 MINIX=yes
4114 printf "%s\n" "#define _MINIX 1" >>confdefs.h
4115
4116 printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
4117
4118 printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
4119
4120 else case e in #(
4121 e) MINIX= ;;
4122 esac
4123 fi
4124 if test $ac_cv_safe_to_define___extensions__ = yes
4125 then :
4126 printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
4127
4128 fi
4129 if test $ac_cv_should_define__xopen_source = yes
4130 then :
4131 printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
4132
4133 fi
4134
4135
4136
4137
4138 echo 'tldbg:KPSE_SETUP called (toplevel=../)' >&5
4139 # Check whether --enable-all-pkgs was given.
4140 if test ${enable_all_pkgs+y}
4141 then :
4142 enableval=$enable_all_pkgs;
4143 fi
4144 test "x$enable_all_pkgs" = xno || enable_all_pkgs=yes
4145 # Check whether --enable-native-texlive-build was given.
4146 if test ${enable_native_texlive_build+y}
4147 then :
4148 enableval=$enable_native_texlive_build;
4149 fi
4150 case $enable_native_texlive_build in #(
4151 yes | no) :
4152 : ;; #(
4153 *) :
4154 enable_native_texlive_build=yes
4155 ac_configure_args="$ac_configure_args '--enable-native-texlive-build'" ;;
4156 esac
4157 case $enable_largefile in #(
4158 yes | no) :
4159 : ;; #(
4160 *) :
4161 enable_largefile=yes
4162 ac_configure_args="$ac_configure_args '--enable-largefile'" ;;
4163 esac
4164 case $enable_silent_rules in #(
4165 yes | no) :
4166 : ;; #(
4167 *) :
4168 enable_silent_rules=no
4169 ac_configure_args="$ac_configure_args '--disable-silent-rules'" ;;
4170 esac
4171 case $enable_multiplatform in #(
4172 yes | no) :
4173 : ;; #(
4174 *) :
4175 enable_multiplatform=$enable_native_texlive_build
4176 ac_configure_args="$ac_configure_args '--enable-multiplatform=$enable_native_texlive_build'" ;;
4177 esac
4178 case $enable_cxx_runtime_hack in #(
4179 yes | no) :
4180 : ;; #(
4181 *) :
4182 enable_cxx_runtime_hack=$enable_native_texlive_build
4183 ac_configure_args="$ac_configure_args '--enable-cxx-runtime-hack=$enable_native_texlive_build'" ;;
4184 esac
4185 case $enable_libtool_hack in #(
4186 yes | no) :
4187 : ;; #(
4188 *) :
4189 case $host_os in #(
4190 do-not-match) :
4191 enable_libtool_hack=no ;; #(
4192 *) :
4193 enable_libtool_hack=yes ;;
4194 esac
4195 ac_configure_args="$ac_configure_args '--enable-libtool-hack=$enable_libtool_hack'" ;;
4196 esac
4197 case $enable_shared:$host_os in #(
4198 no:* | yes:mingw* | yes:cygwin*) :
4199 : ;; #(
4200 yes:* ) :
4201 if test "x$enable_native_texlive_build" = xyes
4202 then :
4203 as_fn_error $? "you can not use a shared Kpathsea library for a native TeX Live build" "$LINENO" 5
4204 fi ;; #(
4205 *) :
4206 enable_shared=no
4207 ac_configure_args="$ac_configure_args '--disable-shared'" ;;
4208 esac
4209 case $enable_texlive_build in #(
4210 yes) :
4211 : ;; #(
4212 no) :
4213 as_fn_error $? "you can not configure the TeX Live tree with \`--disable-texlive-build'" "$LINENO" 5 ;; #(
4214 *) :
4215 enable_texlive_build=yes
4216 ac_configure_args="$ac_configure_args '--enable-texlive-build'" ;;
4217 esac
4218 # Check whether --enable-multiplatform was given.
4219 if test ${enable_multiplatform+y}
4220 then :
4221 enableval=$enable_multiplatform;
4222 fi
4223 if test "x$enable_multiplatform" = xyes; then
4224 if test "x$bindir" = 'x${exec_prefix}/bin'; then
4225 bindir="$bindir/${host_alias-$host}"
4226 ac_configure_args="$ac_configure_args '--bindir=$bindir'"
4227 fi
4228 if test "x$libdir" = 'x${exec_prefix}/lib'; then
4229 libdir="$libdir/${host_alias-$host}"
4230 ac_configure_args="$ac_configure_args '--libdir=$libdir'"
4231 fi
4232 fi
4233
4234 # Check whether --enable-cxx-runtime-hack was given.
4235 if test ${enable_cxx_runtime_hack+y}
4236 then :
4237 enableval=$enable_cxx_runtime_hack;
4238 fi
4239
4240 # Check whether --enable-libtool-hack was given.
4241 if test ${enable_libtool_hack+y}
4242 then :
4243 enableval=$enable_libtool_hack;
4244 fi
4245
4246
4247
4248
4249
4250 # We must enable system extensions before any compiler call to avoid
4251 # (valid) autoconf warnings. Because different configure.ac's use
4252 # different kpse setup routines, we call the ac_use_system_extensions
4253 # macro both here and in kpse_basic (in kpse-common.m4).
4254 #
4255 # Fortunately, Autoconf defines the system_extensions macro to only have
4256 # any effect once (with ac_defun_once), so it's harmless to call it
4257 # multiple time.
4258 #
4259 # LuaTeX requires system extensions for socket support. Also, since
4260 # SyncTeX, some libraries, and others unconditionally #define
4261 # GNU_SOURCE, it seems more consistent to always use it.
4262 #
4263
4264
4265 # this macro, kpse_check_win32, is the first compiler call for
4266 # configure.ac files that use this function (kpse setup).
4267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for native WIN32 or MINGW32" >&5
4268 printf %s "checking for native WIN32 or MINGW32... " >&6; }
4269 if test ${kpse_cv_have_win32+y}
4270 then :
4271 printf %s "(cached) " >&6
4272 else case e in #(
4273 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4274 /* end confdefs.h. */
4275 #ifndef WIN32
4276 choke me
4277 #endif
4278 int
4279 main (void)
4280 {
4281
4282 ;
4283 return 0;
4284 }
4285 _ACEOF
4286 if ac_fn_c_try_compile "$LINENO"
4287 then :
4288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4289 /* end confdefs.h. */
4290 #ifndef __MINGW32__
4291 choke me
4292 #endif
4293 int
4294 main (void)
4295 {
4296
4297 ;
4298 return 0;
4299 }
4300 _ACEOF
4301 if ac_fn_c_try_compile "$LINENO"
4302 then :
4303 kpse_cv_have_win32=mingw32
4304 else case e in #(
4305 e) kpse_cv_have_win32=native ;;
4306 esac
4307 fi
4308 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4309 else case e in #(
4310 e) kpse_cv_have_win32=no ;;
4311 esac
4312 fi
4313 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4314 esac
4315 fi
4316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_win32" >&5
4317 printf "%s\n" "$kpse_cv_have_win32" >&6; }
4318
4319 # end call to kpse_check_win32.
4320
4321 case $with_x:$kpse_cv_have_win32 in #(
4322 yes:no | no:*) :
4323 : ;; #(
4324 yes:*) :
4325 as_fn_error $? "you can not use \`--with-x' for Windows" "$LINENO" 5 ;; #(
4326 *:no) :
4327 with_x=yes
4328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--with-x'" >&5
4329 printf "%s\n" "$as_me: Assuming \`--with-x'" >&6;}
4330 ac_configure_args="$ac_configure_args '--with-x'" ;; #(
4331 *) :
4332 with_x=no
4333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WIN32 -> \`--without-x'" >&5
4334 printf "%s\n" "$as_me: WIN32 -> \`--without-x'" >&6;}
4335 ac_configure_args="$ac_configure_args '--without-x'" ;;
4336 esac
4337 case $enable_luajittex in #(
4338 yes | no) :
4339 : ;; #(
4340 *) :
4341 case $host in #(
4342 alpha* | sparc* | x86_64-*-solaris* | powerpc* ) :
4343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $host -> \`--disable-luajittex'" >&5
4344 printf "%s\n" "$as_me: $host -> \`--disable-luajittex'" >&6;}
4345 ac_configure_args="$ac_configure_args '--disable-luajittex'" ;; #(
4346 *) :
4347 ;;
4348 esac ;;
4349 esac
4350 case $enable_luajithbtex in #(
4351 yes | no) :
4352 : ;; #(
4353 *) :
4354 case $host in #(
4355 alpha* | sparc* | x86_64-*-solaris* | powerpc* ) :
4356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $host -> \`--disable-luajithbtex'" >&5
4357 printf "%s\n" "$as_me: $host -> \`--disable-luajithbtex'" >&6;}
4358 ac_configure_args="$ac_configure_args '--disable-luajithbtex'" ;; #(
4359 *) :
4360 ;;
4361 esac ;;
4362 esac
4363 case $enable_mfluajit in #(
4364 yes | no) :
4365 : ;; #(
4366 *) :
4367 case $host in #(
4368 alpha* | sparc* | x86_64-*-solaris* | powerpc* ) :
4369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $host -> \`--disable-mfluajit'" >&5
4370 printf "%s\n" "$as_me: $host -> \`--disable-mfluajit'" >&6;}
4371 ac_configure_args="$ac_configure_args '--disable-mfluajit'" ;; #(
4372 *) :
4373 ;;
4374 esac ;;
4375 esac
4376 case $enable_mfluajit_nowin in #(
4377 yes | no) :
4378 : ;; #(
4379 *) :
4380 case $host in #(
4381 alpha* | sparc* | x86_64-*-solaris* | powerpc* ) :
4382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $host -> \`--disable-mfluajit-nowin'" >&5
4383 printf "%s\n" "$as_me: $host -> \`--disable-mfluajit-nowin'" >&6;}
4384 ac_configure_args="$ac_configure_args '--disable-mfluajit-nowin'" ;; #(
4385 *) :
4386 ;;
4387 esac ;;
4388 esac
4389
4390 ## utils/autosp/ac/withenable.ac: configure.ac fragment for Tl subdir
4391 ## configure options and TL libraries required for autosp.
4392 echo 'tldbg:KPSE_ENABLE_PROG called: prog=autosp, libs=, options=, comment=.' >&5
4393 echo 'tldbg:KPSE_ENABLE_PROG enabling: autosp -> yes' >&5
4394 # Check whether --enable-autosp was given.
4395 if test ${enable_autosp+y}
4396 then :
4397 enableval=$enable_autosp;
4398 fi
4399 #
4400 #
4401 case $enable_autosp in #(
4402 yes|no) :
4403 ;; #(
4404 *) :
4405
4406 enable_autosp=$enable_all_pkgs
4407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-autosp=$enable_autosp'" >&5
4408 printf "%s\n" "$as_me: Assuming \`--enable-autosp=$enable_autosp'" >&6;}
4409 ac_configure_args="$ac_configure_args '--enable-autosp=$enable_autosp'"
4410 ;;
4411 esac
4412 #
4413 # setting need_ for each of []:
4414
4415 echo 'tldbg:KPSE_ENABLE_PROG done (prog=autosp)' >&5
4416
4417 ## utils/axodraw2/ac/withenable.ac: configure.ac fragment for TL subdir
4418 ## configure options and TL libraries for axodraw2.
4419 echo 'tldbg:KPSE_ENABLE_PROG called: prog=axodraw2, libs=, options=, comment=.' >&5
4420 echo 'tldbg:KPSE_ENABLE_PROG enabling: axodraw2 -> yes' >&5
4421 # Check whether --enable-axodraw2 was given.
4422 if test ${enable_axodraw2+y}
4423 then :
4424 enableval=$enable_axodraw2;
4425 fi
4426 #
4427 #
4428 case $enable_axodraw2 in #(
4429 yes|no) :
4430 ;; #(
4431 *) :
4432
4433 enable_axodraw2=$enable_all_pkgs
4434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-axodraw2=$enable_axodraw2'" >&5
4435 printf "%s\n" "$as_me: Assuming \`--enable-axodraw2=$enable_axodraw2'" >&6;}
4436 ac_configure_args="$ac_configure_args '--enable-axodraw2=$enable_axodraw2'"
4437 ;;
4438 esac
4439 #
4440 # setting need_ for each of []:
4441
4442 echo 'tldbg:KPSE_ENABLE_PROG done (prog=axodraw2)' >&5
4443
4444 ## utils/devnag/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory utils/devnag/
4445 ## configure options and TL libraries required for devnag
4446 echo 'tldbg:KPSE_ENABLE_PROG called: prog=devnag, libs=, options=, comment=.' >&5
4447 echo 'tldbg:KPSE_ENABLE_PROG enabling: devnag -> yes' >&5
4448 # Check whether --enable-devnag was given.
4449 if test ${enable_devnag+y}
4450 then :
4451 enableval=$enable_devnag;
4452 fi
4453 #
4454 #
4455 case $enable_devnag in #(
4456 yes|no) :
4457 ;; #(
4458 *) :
4459
4460 enable_devnag=$enable_all_pkgs
4461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-devnag=$enable_devnag'" >&5
4462 printf "%s\n" "$as_me: Assuming \`--enable-devnag=$enable_devnag'" >&6;}
4463 ac_configure_args="$ac_configure_args '--enable-devnag=$enable_devnag'"
4464 ;;
4465 esac
4466 #
4467 # setting need_ for each of []:
4468
4469 echo 'tldbg:KPSE_ENABLE_PROG done (prog=devnag)' >&5
4470
4471 ## utils/lacheck/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory utils/lacheck/
4472 ## configure options and TL libraries required for lacheck
4473 echo 'tldbg:KPSE_ENABLE_PROG called: prog=lacheck, libs=, options=, comment=.' >&5
4474 echo 'tldbg:KPSE_ENABLE_PROG enabling: lacheck -> yes' >&5
4475 # Check whether --enable-lacheck was given.
4476 if test ${enable_lacheck+y}
4477 then :
4478 enableval=$enable_lacheck;
4479 fi
4480 #
4481 #
4482 case $enable_lacheck in #(
4483 yes|no) :
4484 ;; #(
4485 *) :
4486
4487 enable_lacheck=$enable_all_pkgs
4488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-lacheck=$enable_lacheck'" >&5
4489 printf "%s\n" "$as_me: Assuming \`--enable-lacheck=$enable_lacheck'" >&6;}
4490 ac_configure_args="$ac_configure_args '--enable-lacheck=$enable_lacheck'"
4491 ;;
4492 esac
4493 #
4494 # setting need_ for each of []:
4495
4496 echo 'tldbg:KPSE_ENABLE_PROG done (prog=lacheck)' >&5
4497
4498 ## utils/m-tx/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory utils/m-tx/
4499 ## configure options and TL libraries required for mtx
4500 echo 'tldbg:KPSE_ENABLE_PROG called: prog=m-tx, libs=, options=, comment=.' >&5
4501 echo 'tldbg:KPSE_ENABLE_PROG enabling: m-tx -> yes' >&5
4502 # Check whether --enable-m-tx was given.
4503 if test ${enable_m_tx+y}
4504 then :
4505 enableval=$enable_m_tx;
4506 fi
4507 #
4508 #
4509 case $enable_m_tx in #(
4510 yes|no) :
4511 ;; #(
4512 *) :
4513
4514 enable_m_tx=$enable_all_pkgs
4515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-m-tx=$enable_m_tx'" >&5
4516 printf "%s\n" "$as_me: Assuming \`--enable-m-tx=$enable_m_tx'" >&6;}
4517 ac_configure_args="$ac_configure_args '--enable-m-tx=$enable_m_tx'"
4518 ;;
4519 esac
4520 #
4521 # setting need_ for each of []:
4522
4523 echo 'tldbg:KPSE_ENABLE_PROG done (prog=m-tx)' >&5
4524
4525 ## utils/pmx/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory utils/pmx/
4526 ## configure options and TL libraries required for pmx
4527 echo 'tldbg:KPSE_ENABLE_PROG called: prog=pmx, libs=, options=, comment=.' >&5
4528 echo 'tldbg:KPSE_ENABLE_PROG enabling: pmx -> yes' >&5
4529 # Check whether --enable-pmx was given.
4530 if test ${enable_pmx+y}
4531 then :
4532 enableval=$enable_pmx;
4533 fi
4534 #
4535 #
4536 case $enable_pmx in #(
4537 yes|no) :
4538 ;; #(
4539 *) :
4540
4541 enable_pmx=$enable_all_pkgs
4542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-pmx=$enable_pmx'" >&5
4543 printf "%s\n" "$as_me: Assuming \`--enable-pmx=$enable_pmx'" >&6;}
4544 ac_configure_args="$ac_configure_args '--enable-pmx=$enable_pmx'"
4545 ;;
4546 esac
4547 #
4548 # setting need_ for each of []:
4549
4550 echo 'tldbg:KPSE_ENABLE_PROG done (prog=pmx)' >&5
4551
4552 ## utils/ps2eps/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory utils/ps2eps/
4553 ## configure options and TL libraries required for ps2eps
4554 echo 'tldbg:KPSE_ENABLE_PROG called: prog=ps2eps, libs=, options=, comment=.' >&5
4555 echo 'tldbg:KPSE_ENABLE_PROG enabling: ps2eps -> yes' >&5
4556 # Check whether --enable-ps2eps was given.
4557 if test ${enable_ps2eps+y}
4558 then :
4559 enableval=$enable_ps2eps;
4560 fi
4561 #
4562 #
4563 case $enable_ps2eps in #(
4564 yes|no) :
4565 ;; #(
4566 *) :
4567
4568 enable_ps2eps=$enable_all_pkgs
4569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-ps2eps=$enable_ps2eps'" >&5
4570 printf "%s\n" "$as_me: Assuming \`--enable-ps2eps=$enable_ps2eps'" >&6;}
4571 ac_configure_args="$ac_configure_args '--enable-ps2eps=$enable_ps2eps'"
4572 ;;
4573 esac
4574 #
4575 # setting need_ for each of []:
4576
4577 echo 'tldbg:KPSE_ENABLE_PROG done (prog=ps2eps)' >&5
4578
4579 ## utils/t1utils/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory utils/t1utils/
4580 ## configure options and TL libraries required for t1utils
4581 echo 'tldbg:KPSE_ENABLE_PROG called: prog=t1utils, libs=, options=, comment=.' >&5
4582 echo 'tldbg:KPSE_ENABLE_PROG enabling: t1utils -> yes' >&5
4583 # Check whether --enable-t1utils was given.
4584 if test ${enable_t1utils+y}
4585 then :
4586 enableval=$enable_t1utils;
4587 fi
4588 #
4589 #
4590 case $enable_t1utils in #(
4591 yes|no) :
4592 ;; #(
4593 *) :
4594
4595 enable_t1utils=$enable_all_pkgs
4596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-t1utils=$enable_t1utils'" >&5
4597 printf "%s\n" "$as_me: Assuming \`--enable-t1utils=$enable_t1utils'" >&6;}
4598 ac_configure_args="$ac_configure_args '--enable-t1utils=$enable_t1utils'"
4599 ;;
4600 esac
4601 #
4602 # setting need_ for each of []:
4603
4604 echo 'tldbg:KPSE_ENABLE_PROG done (prog=t1utils)' >&5
4605
4606 ## utils/texdoctk/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory utils/texdoctk/
4607 ## configure options and TL libraries required for texdoctk
4608 echo 'tldbg:KPSE_ENABLE_PROG called: prog=texdoctk, libs=, options=, comment=.' >&5
4609 echo 'tldbg:KPSE_ENABLE_PROG enabling: texdoctk -> yes' >&5
4610 # Check whether --enable-texdoctk was given.
4611 if test ${enable_texdoctk+y}
4612 then :
4613 enableval=$enable_texdoctk;
4614 fi
4615 #
4616 #
4617 case $enable_texdoctk in #(
4618 yes|no) :
4619 ;; #(
4620 *) :
4621
4622 enable_texdoctk=$enable_all_pkgs
4623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-texdoctk=$enable_texdoctk'" >&5
4624 printf "%s\n" "$as_me: Assuming \`--enable-texdoctk=$enable_texdoctk'" >&6;}
4625 ac_configure_args="$ac_configure_args '--enable-texdoctk=$enable_texdoctk'"
4626 ;;
4627 esac
4628 #
4629 # setting need_ for each of []:
4630
4631 echo 'tldbg:KPSE_ENABLE_PROG done (prog=texdoctk)' >&5
4632
4633 ## utils/tpic2pdftex/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory utils/tpic2pdftex/
4634 ## configure options and TL libraries required for tpic2pdftex
4635 echo 'tldbg:KPSE_ENABLE_PROG called: prog=tpic2pdftex, libs=, options=, comment=.' >&5
4636 echo 'tldbg:KPSE_ENABLE_PROG enabling: tpic2pdftex -> yes' >&5
4637 # Check whether --enable-tpic2pdftex was given.
4638 if test ${enable_tpic2pdftex+y}
4639 then :
4640 enableval=$enable_tpic2pdftex;
4641 fi
4642 #
4643 #
4644 case $enable_tpic2pdftex in #(
4645 yes|no) :
4646 ;; #(
4647 *) :
4648
4649 enable_tpic2pdftex=$enable_all_pkgs
4650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-tpic2pdftex=$enable_tpic2pdftex'" >&5
4651 printf "%s\n" "$as_me: Assuming \`--enable-tpic2pdftex=$enable_tpic2pdftex'" >&6;}
4652 ac_configure_args="$ac_configure_args '--enable-tpic2pdftex=$enable_tpic2pdftex'"
4653 ;;
4654 esac
4655 #
4656 # setting need_ for each of []:
4657
4658 echo 'tldbg:KPSE_ENABLE_PROG done (prog=tpic2pdftex)' >&5
4659
4660 ## utils/vlna/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory utils/vlna/
4661 ## configure options and TL libraries required for vlna
4662 echo 'tldbg:KPSE_ENABLE_PROG called: prog=vlna, libs=, options=, comment=.' >&5
4663 echo 'tldbg:KPSE_ENABLE_PROG enabling: vlna -> yes' >&5
4664 # Check whether --enable-vlna was given.
4665 if test ${enable_vlna+y}
4666 then :
4667 enableval=$enable_vlna;
4668 fi
4669 #
4670 #
4671 case $enable_vlna in #(
4672 yes|no) :
4673 ;; #(
4674 *) :
4675
4676 enable_vlna=$enable_all_pkgs
4677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-vlna=$enable_vlna'" >&5
4678 printf "%s\n" "$as_me: Assuming \`--enable-vlna=$enable_vlna'" >&6;}
4679 ac_configure_args="$ac_configure_args '--enable-vlna=$enable_vlna'"
4680 ;;
4681 esac
4682 #
4683 # setting need_ for each of []:
4684
4685 echo 'tldbg:KPSE_ENABLE_PROG done (prog=vlna)' >&5
4686
4687 ## utils/xindy/ac/withenable.ac: configure.ac fragment for TL subdir
4688 ## configure options and TL libraries required for xindy.
4689 echo 'tldbg:KPSE_ENABLE_PROG called: prog=xindy, libs=, options=disable, comment=.' >&5
4690 echo 'tldbg:KPSE_ENABLE_PROG enabling: xindy -> no' >&5
4691 # Check whether --enable-xindy was given.
4692 if test ${enable_xindy+y}
4693 then :
4694 enableval=$enable_xindy;
4695 fi
4696 #
4697 #
4698 case $enable_xindy in #(
4699 yes|no) :
4700 ;; #(
4701 *) :
4702
4703 enable_xindy=no
4704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-xindy=$enable_xindy'" >&5
4705 printf "%s\n" "$as_me: Assuming \`--enable-xindy=$enable_xindy'" >&6;}
4706 ac_configure_args="$ac_configure_args '--enable-xindy=$enable_xindy'"
4707 ;;
4708 esac
4709 #
4710 # setting need_ for each of []:
4711
4712 echo 'tldbg:KPSE_ENABLE_PROG done (prog=xindy)' >&5
4713
4714 ## utils/xindy/ac/xindy.ac: configure.ac fragment for the TeX Live subdirectory utils/xindy/
4715 ## configure options for xindy
4716 # Check whether --enable-xindy-rules was given.
4717 if test ${enable_xindy_rules+y}
4718 then :
4719 enableval=$enable_xindy_rules;
4720 fi
4721 # Check whether --enable-xindy-docs was given.
4722 if test ${enable_xindy_docs+y}
4723 then :
4724 enableval=$enable_xindy_docs;
4725 fi
4726
4727 # Check whether --with-clisp-runtime was given.
4728 if test ${with_clisp_runtime+y}
4729 then :
4730 withval=$with_clisp_runtime;
4731 fi
4732
4733 ## utils/xindy/ac/clisp.ac: configure.ac fragment for the TeX Live subdirectory utils/xindy/
4734 ## configure checks for xindy and clisp
4735 case $with_clisp_runtime in #(
4736 default) :
4737 ;; #(
4738 system) :
4739 if test "x$enable_native_texlive_build" = xyes
4740 then :
4741 as_fn_error $? "you can not use the installed clisp for a native TeX Live build" "$LINENO" 5
4742 fi ;; #(
4743 "") :
4744 if test "x$enable_native_texlive_build" = xyes
4745 then :
4746 with_clisp_runtime=default
4747 else case e in #(
4748 e) with_clisp_runtime=system ;;
4749 esac
4750 fi
4751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--with-clisp-runtime=$with_clisp_runtime'" >&5
4752 printf "%s\n" "$as_me: Assuming \`--with-clisp-runtime=$with_clisp_runtime'" >&6;}
4753 ac_configure_args="$ac_configure_args '--with-clisp-runtime=$with_clisp_runtime'" ;; #(
4754 *) :
4755 if test ! -f "$with_clisp_runtime"
4756 then :
4757 as_fn_error $? "no such file: \"$with_clisp_runtime\"" "$LINENO" 5
4758 fi ;;
4759 esac
4760
4761 ## utils/xml2pmx/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory utils/xml2pmx/
4762 ## configure options and TL libraries required for xml2pmx
4763 echo 'tldbg:KPSE_ENABLE_PROG called: prog=xml2pmx, libs=, options=, comment=.' >&5
4764 echo 'tldbg:KPSE_ENABLE_PROG enabling: xml2pmx -> yes' >&5
4765 # Check whether --enable-xml2pmx was given.
4766 if test ${enable_xml2pmx+y}
4767 then :
4768 enableval=$enable_xml2pmx;
4769 fi
4770 #
4771 #
4772 case $enable_xml2pmx in #(
4773 yes|no) :
4774 ;; #(
4775 *) :
4776
4777 enable_xml2pmx=$enable_all_pkgs
4778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-xml2pmx=$enable_xml2pmx'" >&5
4779 printf "%s\n" "$as_me: Assuming \`--enable-xml2pmx=$enable_xml2pmx'" >&6;}
4780 ac_configure_args="$ac_configure_args '--enable-xml2pmx=$enable_xml2pmx'"
4781 ;;
4782 esac
4783 #
4784 # setting need_ for each of []:
4785
4786 echo 'tldbg:KPSE_ENABLE_PROG done (prog=xml2pmx)' >&5
4787
4788 ## utils/xpdfopen/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory utils/xpdfopen/
4789 ## configure options and TL libraries required for xpdfopen
4790 echo 'tldbg:KPSE_ENABLE_PROG called: prog=xpdfopen, libs=, options=x, comment=.' >&5
4791 echo 'tldbg:KPSE_ENABLE_PROG enabling: xpdfopen -> yes' >&5
4792 # Check whether --enable-xpdfopen was given.
4793 if test ${enable_xpdfopen+y}
4794 then :
4795 enableval=$enable_xpdfopen;
4796 fi
4797 #
4798 if test "x$with_x" = xno
4799 then :
4800 case $enable_xpdfopen in #(
4801 "") :
4802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \`--without-x' -> \`--disable-xpdfopen'" >&5
4803 printf "%s\n" "$as_me: \`--without-x' -> \`--disable-xpdfopen'" >&6;}
4804 enable_xpdfopen=no
4805 ac_configure_args="$ac_configure_args '--disable-xpdfopen'" ;; #(
4806 yes) :
4807 as_fn_error $? "Sorry, incompatible options \`--without-x' and \`--enable-xpdfopen'" "$LINENO" 5 ;; #(
4808 *) :
4809 ;;
4810 esac
4811 fi
4812 #
4813 case $enable_xpdfopen in #(
4814 yes|no) :
4815 ;; #(
4816 *) :
4817
4818 enable_xpdfopen=$enable_all_pkgs
4819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-xpdfopen=$enable_xpdfopen'" >&5
4820 printf "%s\n" "$as_me: Assuming \`--enable-xpdfopen=$enable_xpdfopen'" >&6;}
4821 ac_configure_args="$ac_configure_args '--enable-xpdfopen=$enable_xpdfopen'"
4822 ;;
4823 esac
4824 #
4825 # setting need_ for each of []:
4826
4827 echo 'tldbg:KPSE_ENABLE_PROG done (prog=xpdfopen)' >&5
4828
4829
4830 ## texk/web2c/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/web2c/
4831 ## configure options and TL libraries required for web2c
4832 echo 'tldbg:KPSE_ENABLE_PROG called: prog=web2c, libs=kpathsea zlib, options=, comment=TeX & Co..' >&5
4833 echo 'tldbg:KPSE_ENABLE_PROG enabling: web2c -> yes' >&5
4834 # Check whether --enable-web2c was given.
4835 if test ${enable_web2c+y}
4836 then :
4837 enableval=$enable_web2c;
4838 fi
4839 #
4840 #
4841 case $enable_web2c in #(
4842 yes|no) :
4843 ;; #(
4844 *) :
4845
4846 enable_web2c=$enable_all_pkgs
4847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-web2c=$enable_web2c'" >&5
4848 printf "%s\n" "$as_me: Assuming \`--enable-web2c=$enable_web2c'" >&6;}
4849 ac_configure_args="$ac_configure_args '--enable-web2c=$enable_web2c'"
4850 ;;
4851 esac
4852 #
4853 # setting need_ for each of [kpathsea zlib]:
4854
4855 test "x$enable_web2c" = xno || {
4856 need_kpathsea=yes
4857 need_zlib=yes
4858 }
4859
4860 echo 'tldbg:KPSE_ENABLE_PROG done (prog=web2c)' >&5
4861
4862 # texk/web2c/ac/web2c.ac: configure.ac fragment for TL subdir
4863 # configure options for TeX and MF
4864
4865 # Check whether --with-banner-add was given.
4866 if test ${with_banner_add+y}
4867 then :
4868 withval=$with_banner_add;
4869 fi
4870
4871 # Check whether --with-editor was given.
4872 if test ${with_editor+y}
4873 then :
4874 withval=$with_editor;
4875 fi
4876 # Check whether --enable-auto-core was given.
4877 if test ${enable_auto_core+y}
4878 then :
4879 enableval=$enable_auto_core;
4880 fi
4881 # Check whether --enable-dump-share was given.
4882 if test ${enable_dump_share+y}
4883 then :
4884 enableval=$enable_dump_share;
4885 fi
4886 ## configure options for TeX
4887 # Check whether --enable-ipc was given.
4888 if test ${enable_ipc+y}
4889 then :
4890 enableval=$enable_ipc;
4891 fi
4892 # Check whether --enable-tex was given.
4893 if test ${enable_tex+y}
4894 then :
4895 enableval=$enable_tex;
4896 fi
4897 case $enable_tex in #(
4898 yes | no) :
4899 ;; #(
4900 *) :
4901 enable_tex=yes ;;
4902 esac
4903
4904 # Check whether --enable-tex-synctex was given.
4905 if test ${enable_tex_synctex+y}
4906 then :
4907 enableval=$enable_tex_synctex;
4908 fi
4909 # Check whether --enable-etex was given.
4910 if test ${enable_etex+y}
4911 then :
4912 enableval=$enable_etex;
4913 fi
4914 case $enable_etex in #(
4915 yes | no) :
4916 ;; #(
4917 *) :
4918 enable_etex=no ;;
4919 esac
4920
4921 # Check whether --enable-etex-synctex was given.
4922 if test ${enable_etex_synctex+y}
4923 then :
4924 enableval=$enable_etex_synctex;
4925 fi
4926
4927 test "x$enable_web2c:$enable_etex" = xyes:yes && {
4928 need_zlib=yes
4929 }
4930 # Check whether --enable-uptex was given.
4931 if test ${enable_uptex+y}
4932 then :
4933 enableval=$enable_uptex;
4934 fi
4935 case $enable_uptex in #(
4936 yes | no) :
4937 ;; #(
4938 *) :
4939 enable_uptex=no ;;
4940 esac
4941
4942 test "x$enable_web2c:$enable_uptex" = xyes:yes && {
4943 need_ptexenc=yes
4944 need_zlib=yes
4945 }
4946 # Check whether --enable-euptex was given.
4947 if test ${enable_euptex+y}
4948 then :
4949 enableval=$enable_euptex;
4950 fi
4951 case $enable_euptex in #(
4952 yes | no) :
4953 ;; #(
4954 *) :
4955 enable_euptex=yes ;;
4956 esac
4957
4958 # Check whether --enable-euptex-synctex was given.
4959 if test ${enable_euptex_synctex+y}
4960 then :
4961 enableval=$enable_euptex_synctex;
4962 fi
4963
4964 test "x$enable_web2c:$enable_euptex" = xyes:yes && {
4965 need_ptexenc=yes
4966 need_zlib=yes
4967 }
4968 # Check whether --enable-aleph was given.
4969 if test ${enable_aleph+y}
4970 then :
4971 enableval=$enable_aleph;
4972 fi
4973 case $enable_aleph in #(
4974 yes | no) :
4975 ;; #(
4976 *) :
4977 enable_aleph=yes ;;
4978 esac
4979 # Check whether --enable-hitex was given.
4980 if test ${enable_hitex+y}
4981 then :
4982 enableval=$enable_hitex;
4983 fi
4984 case $enable_hitex in #(
4985 yes | no) :
4986 ;; #(
4987 *) :
4988 enable_hitex=yes ;;
4989 esac
4990
4991 test "x$enable_web2c:$enable_hitex" = xyes:yes && {
4992 need_harfbuzz=yes
4993 need_zlib=yes
4994 }
4995 # Check whether --enable-pdftex was given.
4996 if test ${enable_pdftex+y}
4997 then :
4998 enableval=$enable_pdftex;
4999 fi
5000 case $enable_pdftex in #(
5001 yes | no) :
5002 ;; #(
5003 *) :
5004 enable_pdftex=yes ;;
5005 esac
5006
5007 # Check whether --enable-pdftex-synctex was given.
5008 if test ${enable_pdftex_synctex+y}
5009 then :
5010 enableval=$enable_pdftex_synctex;
5011 fi
5012
5013 test "x$enable_web2c:$enable_pdftex" = xyes:yes && {
5014 need_xpdf=yes
5015 need_libpng=yes
5016 need_zlib=yes
5017 }
5018 # Check whether --enable-luatex was given.
5019 if test ${enable_luatex+y}
5020 then :
5021 enableval=$enable_luatex;
5022 fi
5023 case $enable_luatex in #(
5024 yes | no) :
5025 ;; #(
5026 *) :
5027 enable_luatex=yes ;;
5028 esac
5029
5030 test "x$enable_web2c:$enable_luatex" = xyes:yes && {
5031 need_pplib=yes
5032 need_libpng=yes
5033 need_zziplib=yes
5034 need_lua53=yes
5035 }
5036 # Check whether --enable-luajittex was given.
5037 if test ${enable_luajittex+y}
5038 then :
5039 enableval=$enable_luajittex;
5040 fi
5041 case $enable_luajittex in #(
5042 yes | no) :
5043 ;; #(
5044 *) :
5045 enable_luajittex=yes ;;
5046 esac
5047
5048 test "x$enable_web2c:$enable_luajittex" = xyes:yes && {
5049 need_pplib=yes
5050 need_libpng=yes
5051 need_zziplib=yes
5052 need_luajit=yes
5053 }
5054 # Check whether --enable-luahbtex was given.
5055 if test ${enable_luahbtex+y}
5056 then :
5057 enableval=$enable_luahbtex;
5058 fi
5059 case $enable_luahbtex in #(
5060 yes | no) :
5061 ;; #(
5062 *) :
5063 enable_luahbtex=yes ;;
5064 esac
5065
5066 test "x$enable_web2c:$enable_luahbtex" = xyes:yes && {
5067 need_pplib=yes
5068 need_libpng=yes
5069 need_zziplib=yes
5070 need_lua53=yes
5071 need_harfbuzz=yes
5072 }
5073 # Check whether --enable-luajithbtex was given.
5074 if test ${enable_luajithbtex+y}
5075 then :
5076 enableval=$enable_luajithbtex;
5077 fi
5078 case $enable_luajithbtex in #(
5079 yes | no) :
5080 ;; #(
5081 *) :
5082 enable_luajithbtex=yes ;;
5083 esac
5084
5085 test "x$enable_web2c:$enable_luajithbtex" = xyes:yes && {
5086 need_pplib=yes
5087 need_libpng=yes
5088 need_zziplib=yes
5089 need_luajit=yes
5090 need_harfbuzz=yes
5091 }
5092 # Check whether --enable-mp was given.
5093 if test ${enable_mp+y}
5094 then :
5095 enableval=$enable_mp;
5096 fi
5097 case $enable_mp in #(
5098 yes | no) :
5099 ;; #(
5100 *) :
5101 enable_mp=yes ;;
5102 esac
5103
5104 test "x$enable_web2c:$enable_mp" = xyes:yes && {
5105 need_mpfi=yes
5106 need_mpfr=yes
5107 need_cairo=yes
5108 need_libpng=yes
5109 }
5110 # Check whether --enable-pmp was given.
5111 if test ${enable_pmp+y}
5112 then :
5113 enableval=$enable_pmp;
5114 fi
5115 case $enable_pmp in #(
5116 yes | no) :
5117 ;; #(
5118 *) :
5119 enable_pmp=yes ;;
5120 esac
5121
5122 test "x$enable_web2c:$enable_pmp" = xyes:yes && {
5123 need_mpfi=yes
5124 need_mpfr=yes
5125 need_cairo=yes
5126 need_libpng=yes
5127 need_ptexenc=yes
5128 }
5129 # Check whether --enable-texprof was given.
5130 if test ${enable_texprof+y}
5131 then :
5132 enableval=$enable_texprof;
5133 fi
5134 case $enable_texprof in #(
5135 yes | no) :
5136 ;; #(
5137 *) :
5138 enable_texprof=yes ;;
5139 esac
5140 # Check whether --enable-upmp was given.
5141 if test ${enable_upmp+y}
5142 then :
5143 enableval=$enable_upmp;
5144 fi
5145 case $enable_upmp in #(
5146 yes | no) :
5147 ;; #(
5148 *) :
5149 enable_upmp=yes ;;
5150 esac
5151
5152 test "x$enable_web2c:$enable_upmp" = xyes:yes && {
5153 need_mpfi=yes
5154 need_mpfr=yes
5155 need_cairo=yes
5156 need_libpng=yes
5157 need_ptexenc=yes
5158 }
5159 # Check whether --enable-xetex was given.
5160 if test ${enable_xetex+y}
5161 then :
5162 enableval=$enable_xetex;
5163 fi
5164 case $enable_xetex in #(
5165 yes | no) :
5166 ;; #(
5167 *) :
5168 enable_xetex=yes ;;
5169 esac
5170
5171 # Check whether --enable-xetex-synctex was given.
5172 if test ${enable_xetex_synctex+y}
5173 then :
5174 enableval=$enable_xetex_synctex;
5175 fi
5176
5177 test "x$enable_web2c:$enable_xetex" = xyes:yes && {
5178 need_pplib=yes
5179 need_libpng=yes
5180 need_freetype2=yes
5181 need_teckit=yes
5182 need_harfbuzz=yes
5183 }
5184 ## configure options for MF
5185 # Check whether --enable-mf was given.
5186 if test ${enable_mf+y}
5187 then :
5188 enableval=$enable_mf;
5189 fi
5190 case $enable_mf in #(
5191 yes | no) :
5192 ;; #(
5193 *) :
5194 enable_mf=yes ;;
5195 esac
5196
5197 # Check whether --enable-mf-nowin was given.
5198 if test ${enable_mf_nowin+y}
5199 then :
5200 enableval=$enable_mf_nowin;
5201 fi
5202 case $enable_mf_nowin in #(
5203 yes | no) :
5204 ;; #(
5205 *) :
5206 enable_mf_nowin=yes ;;
5207 esac
5208 # Check whether --enable-mflua was given.
5209 if test ${enable_mflua+y}
5210 then :
5211 enableval=$enable_mflua;
5212 fi
5213 case $enable_mflua in #(
5214 yes | no) :
5215 ;; #(
5216 *) :
5217 enable_mflua=yes ;;
5218 esac
5219
5220 # Check whether --enable-mflua-nowin was given.
5221 if test ${enable_mflua_nowin+y}
5222 then :
5223 enableval=$enable_mflua_nowin;
5224 fi
5225 case $enable_mflua_nowin in #(
5226 yes | no) :
5227 ;; #(
5228 *) :
5229 enable_mflua_nowin=no ;;
5230 esac
5231
5232 test "x$enable_web2c:$enable_mflua" = xyes:yes && {
5233 need_lua53=yes
5234 need_potrace=yes
5235 }
5236 # Check whether --enable-mfluajit was given.
5237 if test ${enable_mfluajit+y}
5238 then :
5239 enableval=$enable_mfluajit;
5240 fi
5241 case $enable_mfluajit in #(
5242 yes | no) :
5243 ;; #(
5244 *) :
5245 enable_mfluajit=yes ;;
5246 esac
5247
5248 # Check whether --enable-mfluajit-nowin was given.
5249 if test ${enable_mfluajit_nowin+y}
5250 then :
5251 enableval=$enable_mfluajit_nowin;
5252 fi
5253 case $enable_mfluajit_nowin in #(
5254 yes | no) :
5255 ;; #(
5256 *) :
5257 enable_mfluajit_nowin=no ;;
5258 esac
5259
5260 test "x$enable_web2c:$enable_mfluajit" = xyes:yes && {
5261 need_luajit=yes
5262 need_potrace=yes
5263 }
5264
5265 # Check whether --with-mf-x-toolkit was given.
5266 if test ${with_mf_x_toolkit+y}
5267 then :
5268 withval=$with_mf_x_toolkit;
5269 fi
5270 # Check whether --enable-epsfwin was given.
5271 if test ${enable_epsfwin+y}
5272 then :
5273 enableval=$enable_epsfwin;
5274 fi
5275 # Check whether --enable-hp2627win was given.
5276 if test ${enable_hp2627win+y}
5277 then :
5278 enableval=$enable_hp2627win;
5279 fi
5280 # Check whether --enable-mftalkwin was given.
5281 if test ${enable_mftalkwin+y}
5282 then :
5283 enableval=$enable_mftalkwin;
5284 fi
5285 # Check whether --enable-nextwin was given.
5286 if test ${enable_nextwin+y}
5287 then :
5288 enableval=$enable_nextwin;
5289 fi
5290 # Check whether --enable-regiswin was given.
5291 if test ${enable_regiswin+y}
5292 then :
5293 enableval=$enable_regiswin;
5294 fi
5295 # Check whether --enable-suntoolswin was given.
5296 if test ${enable_suntoolswin+y}
5297 then :
5298 enableval=$enable_suntoolswin;
5299 fi
5300 # Check whether --enable-tektronixwin was given.
5301 if test ${enable_tektronixwin+y}
5302 then :
5303 enableval=$enable_tektronixwin;
5304 fi
5305 # Check whether --enable-unitermwin was given.
5306 if test ${enable_unitermwin+y}
5307 then :
5308 enableval=$enable_unitermwin;
5309 fi
5310 ## configure options for WEB programs
5311 # Check whether --enable-web-progs was given.
5312 if test ${enable_web_progs+y}
5313 then :
5314 enableval=$enable_web_progs;
5315 fi
5316 ## configure option for the SyncTeX library and tool
5317 # Check whether --enable-synctex was given.
5318 if test ${enable_synctex+y}
5319 then :
5320 enableval=$enable_synctex;
5321 fi
5322
5323 # end texk/web2c/ac/web2c.ac.
5324
5325 ## texk/afm2pl/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/afm2pl/
5326 ## configure options and TL libraries required for afm2pl
5327 echo 'tldbg:KPSE_ENABLE_PROG called: prog=afm2pl, libs=kpathsea, options=, comment=.' >&5
5328 echo 'tldbg:KPSE_ENABLE_PROG enabling: afm2pl -> yes' >&5
5329 # Check whether --enable-afm2pl was given.
5330 if test ${enable_afm2pl+y}
5331 then :
5332 enableval=$enable_afm2pl;
5333 fi
5334 #
5335 #
5336 case $enable_afm2pl in #(
5337 yes|no) :
5338 ;; #(
5339 *) :
5340
5341 enable_afm2pl=$enable_all_pkgs
5342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-afm2pl=$enable_afm2pl'" >&5
5343 printf "%s\n" "$as_me: Assuming \`--enable-afm2pl=$enable_afm2pl'" >&6;}
5344 ac_configure_args="$ac_configure_args '--enable-afm2pl=$enable_afm2pl'"
5345 ;;
5346 esac
5347 #
5348 # setting need_ for each of [kpathsea]:
5349
5350 test "x$enable_afm2pl" = xno || {
5351 need_kpathsea=yes
5352 }
5353
5354 echo 'tldbg:KPSE_ENABLE_PROG done (prog=afm2pl)' >&5
5355
5356 ## texk/bibtex-x/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/bibtex-x/
5357 ## configure options and TL libraries required for bibtex-x
5358 echo 'tldbg:KPSE_ENABLE_PROG called: prog=bibtex-x, libs=kpathsea, options=, comment=.' >&5
5359 echo 'tldbg:KPSE_ENABLE_PROG enabling: bibtex-x -> yes' >&5
5360 # Check whether --enable-bibtex-x was given.
5361 if test ${enable_bibtex_x+y}
5362 then :
5363 enableval=$enable_bibtex_x;
5364 fi
5365 #
5366 #
5367 case $enable_bibtex_x in #(
5368 yes|no) :
5369 ;; #(
5370 *) :
5371
5372 enable_bibtex_x=$enable_all_pkgs
5373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-bibtex-x=$enable_bibtex_x'" >&5
5374 printf "%s\n" "$as_me: Assuming \`--enable-bibtex-x=$enable_bibtex_x'" >&6;}
5375 ac_configure_args="$ac_configure_args '--enable-bibtex-x=$enable_bibtex_x'"
5376 ;;
5377 esac
5378 #
5379 # setting need_ for each of [kpathsea]:
5380
5381 test "x$enable_bibtex_x" = xno || {
5382 need_kpathsea=yes
5383 }
5384
5385 echo 'tldbg:KPSE_ENABLE_PROG done (prog=bibtex-x)' >&5
5386
5387 ## texk/bibtex-x/ac/bibtex-x.ac: configure.ac fragment for the TeX Live subdirectory texk/bibtex-x/
5388 ## configure options for bibtex-x
5389 # Check whether --enable-bibtex8 was given.
5390 if test ${enable_bibtex8+y}
5391 then :
5392 enableval=$enable_bibtex8;
5393 fi
5394
5395 case $enable_bibtex8 in #(
5396 yes | no) :
5397 ;; #(
5398 *) :
5399 enable_bibtex8=yes ;;
5400 esac
5401 # Check whether --enable-bibtexu was given.
5402 if test ${enable_bibtexu+y}
5403 then :
5404 enableval=$enable_bibtexu;
5405 fi
5406
5407 case $enable_bibtexu in #(
5408 yes | no) :
5409 ;; #(
5410 *) :
5411 enable_bibtexu=yes ;;
5412 esac
5413
5414 test "x$enable_bibtex_x:$enable_bibtexu" = xyes:yes && need_icu=yes
5415
5416 ## texk/chktex/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/chktex/
5417 ## configure options and TL libraries required for chktex
5418 echo 'tldbg:KPSE_ENABLE_PROG called: prog=chktex, libs=kpathsea, options=, comment=.' >&5
5419 echo 'tldbg:KPSE_ENABLE_PROG enabling: chktex -> yes' >&5
5420 # Check whether --enable-chktex was given.
5421 if test ${enable_chktex+y}
5422 then :
5423 enableval=$enable_chktex;
5424 fi
5425 #
5426 #
5427 case $enable_chktex in #(
5428 yes|no) :
5429 ;; #(
5430 *) :
5431
5432 enable_chktex=$enable_all_pkgs
5433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-chktex=$enable_chktex'" >&5
5434 printf "%s\n" "$as_me: Assuming \`--enable-chktex=$enable_chktex'" >&6;}
5435 ac_configure_args="$ac_configure_args '--enable-chktex=$enable_chktex'"
5436 ;;
5437 esac
5438 #
5439 # setting need_ for each of [kpathsea]:
5440
5441 test "x$enable_chktex" = xno || {
5442 need_kpathsea=yes
5443 }
5444
5445 echo 'tldbg:KPSE_ENABLE_PROG done (prog=chktex)' >&5
5446
5447 ## texk/cjkutils/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/cjkutils/
5448 ## configure options and TL libraries required for cjkutils
5449 echo 'tldbg:KPSE_ENABLE_PROG called: prog=cjkutils, libs=kpathsea, options=, comment=.' >&5
5450 echo 'tldbg:KPSE_ENABLE_PROG enabling: cjkutils -> yes' >&5
5451 # Check whether --enable-cjkutils was given.
5452 if test ${enable_cjkutils+y}
5453 then :
5454 enableval=$enable_cjkutils;
5455 fi
5456 #
5457 #
5458 case $enable_cjkutils in #(
5459 yes|no) :
5460 ;; #(
5461 *) :
5462
5463 enable_cjkutils=$enable_all_pkgs
5464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-cjkutils=$enable_cjkutils'" >&5
5465 printf "%s\n" "$as_me: Assuming \`--enable-cjkutils=$enable_cjkutils'" >&6;}
5466 ac_configure_args="$ac_configure_args '--enable-cjkutils=$enable_cjkutils'"
5467 ;;
5468 esac
5469 #
5470 # setting need_ for each of [kpathsea]:
5471
5472 test "x$enable_cjkutils" = xno || {
5473 need_kpathsea=yes
5474 }
5475
5476 echo 'tldbg:KPSE_ENABLE_PROG done (prog=cjkutils)' >&5
5477
5478 ## texk/detex/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/detex/
5479 ## configure options and TL libraries required for detex
5480 echo 'tldbg:KPSE_ENABLE_PROG called: prog=detex, libs=kpathsea, options=, comment=.' >&5
5481 echo 'tldbg:KPSE_ENABLE_PROG enabling: detex -> yes' >&5
5482 # Check whether --enable-detex was given.
5483 if test ${enable_detex+y}
5484 then :
5485 enableval=$enable_detex;
5486 fi
5487 #
5488 #
5489 case $enable_detex in #(
5490 yes|no) :
5491 ;; #(
5492 *) :
5493
5494 enable_detex=$enable_all_pkgs
5495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-detex=$enable_detex'" >&5
5496 printf "%s\n" "$as_me: Assuming \`--enable-detex=$enable_detex'" >&6;}
5497 ac_configure_args="$ac_configure_args '--enable-detex=$enable_detex'"
5498 ;;
5499 esac
5500 #
5501 # setting need_ for each of [kpathsea]:
5502
5503 test "x$enable_detex" = xno || {
5504 need_kpathsea=yes
5505 }
5506
5507 echo 'tldbg:KPSE_ENABLE_PROG done (prog=detex)' >&5
5508
5509 ## texk/dtl/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/dtl/
5510 ## configure options and TL libraries required for dtl
5511 echo 'tldbg:KPSE_ENABLE_PROG called: prog=dtl, libs=kpathsea, options=, comment=.' >&5
5512 echo 'tldbg:KPSE_ENABLE_PROG enabling: dtl -> yes' >&5
5513 # Check whether --enable-dtl was given.
5514 if test ${enable_dtl+y}
5515 then :
5516 enableval=$enable_dtl;
5517 fi
5518 #
5519 #
5520 case $enable_dtl in #(
5521 yes|no) :
5522 ;; #(
5523 *) :
5524
5525 enable_dtl=$enable_all_pkgs
5526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-dtl=$enable_dtl'" >&5
5527 printf "%s\n" "$as_me: Assuming \`--enable-dtl=$enable_dtl'" >&6;}
5528 ac_configure_args="$ac_configure_args '--enable-dtl=$enable_dtl'"
5529 ;;
5530 esac
5531 #
5532 # setting need_ for each of [kpathsea]:
5533
5534 test "x$enable_dtl" = xno || {
5535 need_kpathsea=yes
5536 }
5537
5538 echo 'tldbg:KPSE_ENABLE_PROG done (prog=dtl)' >&5
5539
5540 ## texk/dvi2tty/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/dvi2tty/
5541 ## configure options and TL libraries required for dvi2tty
5542 echo 'tldbg:KPSE_ENABLE_PROG called: prog=dvi2tty, libs=ptexenc, options=, comment=.' >&5
5543 echo 'tldbg:KPSE_ENABLE_PROG enabling: dvi2tty -> yes' >&5
5544 # Check whether --enable-dvi2tty was given.
5545 if test ${enable_dvi2tty+y}
5546 then :
5547 enableval=$enable_dvi2tty;
5548 fi
5549 #
5550 #
5551 case $enable_dvi2tty in #(
5552 yes|no) :
5553 ;; #(
5554 *) :
5555
5556 enable_dvi2tty=$enable_all_pkgs
5557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-dvi2tty=$enable_dvi2tty'" >&5
5558 printf "%s\n" "$as_me: Assuming \`--enable-dvi2tty=$enable_dvi2tty'" >&6;}
5559 ac_configure_args="$ac_configure_args '--enable-dvi2tty=$enable_dvi2tty'"
5560 ;;
5561 esac
5562 #
5563 # setting need_ for each of [ptexenc]:
5564
5565 test "x$enable_dvi2tty" = xno || {
5566 need_ptexenc=yes
5567 }
5568
5569 echo 'tldbg:KPSE_ENABLE_PROG done (prog=dvi2tty)' >&5
5570
5571 ## texk/dvidvi/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/dvidvi/
5572 ## configure options and TL libraries required for dvidvi
5573 echo 'tldbg:KPSE_ENABLE_PROG called: prog=dvidvi, libs=kpathsea, options=, comment=.' >&5
5574 echo 'tldbg:KPSE_ENABLE_PROG enabling: dvidvi -> yes' >&5
5575 # Check whether --enable-dvidvi was given.
5576 if test ${enable_dvidvi+y}
5577 then :
5578 enableval=$enable_dvidvi;
5579 fi
5580 #
5581 #
5582 case $enable_dvidvi in #(
5583 yes|no) :
5584 ;; #(
5585 *) :
5586
5587 enable_dvidvi=$enable_all_pkgs
5588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-dvidvi=$enable_dvidvi'" >&5
5589 printf "%s\n" "$as_me: Assuming \`--enable-dvidvi=$enable_dvidvi'" >&6;}
5590 ac_configure_args="$ac_configure_args '--enable-dvidvi=$enable_dvidvi'"
5591 ;;
5592 esac
5593 #
5594 # setting need_ for each of [kpathsea]:
5595
5596 test "x$enable_dvidvi" = xno || {
5597 need_kpathsea=yes
5598 }
5599
5600 echo 'tldbg:KPSE_ENABLE_PROG done (prog=dvidvi)' >&5
5601
5602 ## texk/dviljk/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/dviljk/
5603 ## configure options and TL libraries required for dviljk
5604 echo 'tldbg:KPSE_ENABLE_PROG called: prog=dviljk, libs=kpathsea, options=, comment=.' >&5
5605 echo 'tldbg:KPSE_ENABLE_PROG enabling: dviljk -> yes' >&5
5606 # Check whether --enable-dviljk was given.
5607 if test ${enable_dviljk+y}
5608 then :
5609 enableval=$enable_dviljk;
5610 fi
5611 #
5612 #
5613 case $enable_dviljk in #(
5614 yes|no) :
5615 ;; #(
5616 *) :
5617
5618 enable_dviljk=$enable_all_pkgs
5619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-dviljk=$enable_dviljk'" >&5
5620 printf "%s\n" "$as_me: Assuming \`--enable-dviljk=$enable_dviljk'" >&6;}
5621 ac_configure_args="$ac_configure_args '--enable-dviljk=$enable_dviljk'"
5622 ;;
5623 esac
5624 #
5625 # setting need_ for each of [kpathsea]:
5626
5627 test "x$enable_dviljk" = xno || {
5628 need_kpathsea=yes
5629 }
5630
5631 echo 'tldbg:KPSE_ENABLE_PROG done (prog=dviljk)' >&5
5632
5633 ## texk/dviout-util/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/dviout-util/
5634 ## configure options and TL libraries required for dviout-util
5635 echo 'tldbg:KPSE_ENABLE_PROG called: prog=dviout-util, libs=ptexenc, options=, comment=.' >&5
5636 echo 'tldbg:KPSE_ENABLE_PROG enabling: dviout-util -> yes' >&5
5637 # Check whether --enable-dviout-util was given.
5638 if test ${enable_dviout_util+y}
5639 then :
5640 enableval=$enable_dviout_util;
5641 fi
5642 #
5643 #
5644 case $enable_dviout_util in #(
5645 yes|no) :
5646 ;; #(
5647 *) :
5648
5649 enable_dviout_util=$enable_all_pkgs
5650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-dviout-util=$enable_dviout_util'" >&5
5651 printf "%s\n" "$as_me: Assuming \`--enable-dviout-util=$enable_dviout_util'" >&6;}
5652 ac_configure_args="$ac_configure_args '--enable-dviout-util=$enable_dviout_util'"
5653 ;;
5654 esac
5655 #
5656 # setting need_ for each of [ptexenc]:
5657
5658 test "x$enable_dviout_util" = xno || {
5659 need_ptexenc=yes
5660 }
5661
5662 echo 'tldbg:KPSE_ENABLE_PROG done (prog=dviout-util)' >&5
5663
5664 ## texk/dvipdfm-x/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/dvipdfm-x/
5665 ## configure options and TL libraries required for dvipdfm-x
5666 echo 'tldbg:KPSE_ENABLE_PROG called: prog=dvipdfm-x, libs=kpathsea libpng libpaper, options=, comment=.' >&5
5667 echo 'tldbg:KPSE_ENABLE_PROG enabling: dvipdfm-x -> yes' >&5
5668 # Check whether --enable-dvipdfm-x was given.
5669 if test ${enable_dvipdfm_x+y}
5670 then :
5671 enableval=$enable_dvipdfm_x;
5672 fi
5673 #
5674 #
5675 case $enable_dvipdfm_x in #(
5676 yes|no) :
5677 ;; #(
5678 *) :
5679
5680 enable_dvipdfm_x=$enable_all_pkgs
5681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-dvipdfm-x=$enable_dvipdfm_x'" >&5
5682 printf "%s\n" "$as_me: Assuming \`--enable-dvipdfm-x=$enable_dvipdfm_x'" >&6;}
5683 ac_configure_args="$ac_configure_args '--enable-dvipdfm-x=$enable_dvipdfm_x'"
5684 ;;
5685 esac
5686 #
5687 # setting need_ for each of [kpathsea libpng libpaper]:
5688
5689 test "x$enable_dvipdfm_x" = xno || {
5690 need_kpathsea=yes
5691 need_libpng=yes
5692 need_libpaper=yes
5693 }
5694
5695 echo 'tldbg:KPSE_ENABLE_PROG done (prog=dvipdfm-x)' >&5
5696
5697 ## texk/dvipng/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/dvipng/
5698 ## configure options and TL libraries required for dvipng
5699 echo 'tldbg:KPSE_ENABLE_PROG called: prog=dvipng, libs=kpathsea gd, options=, comment=.' >&5
5700 echo 'tldbg:KPSE_ENABLE_PROG enabling: dvipng -> yes' >&5
5701 # Check whether --enable-dvipng was given.
5702 if test ${enable_dvipng+y}
5703 then :
5704 enableval=$enable_dvipng;
5705 fi
5706 #
5707 #
5708 case $enable_dvipng in #(
5709 yes|no) :
5710 ;; #(
5711 *) :
5712
5713 enable_dvipng=$enable_all_pkgs
5714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-dvipng=$enable_dvipng'" >&5
5715 printf "%s\n" "$as_me: Assuming \`--enable-dvipng=$enable_dvipng'" >&6;}
5716 ac_configure_args="$ac_configure_args '--enable-dvipng=$enable_dvipng'"
5717 ;;
5718 esac
5719 #
5720 # setting need_ for each of [kpathsea gd]:
5721
5722 test "x$enable_dvipng" = xno || {
5723 need_kpathsea=yes
5724 need_gd=yes
5725 }
5726
5727 echo 'tldbg:KPSE_ENABLE_PROG done (prog=dvipng)' >&5
5728
5729 ## texk/dvipng/ac/dvipng.ac: configure.ac fragment for the TeX Live subdirectory texk/dvipng/
5730 ## configure options for dvipng
5731 # Check whether --enable-debug was given.
5732 if test ${enable_debug+y}
5733 then :
5734 enableval=$enable_debug;
5735 fi
5736
5737 # Check whether --enable-timing was given.
5738 if test ${enable_timing+y}
5739 then :
5740 enableval=$enable_timing;
5741 fi
5742
5743
5744 # Check whether --with-gs was given.
5745 if test ${with_gs+y}
5746 then :
5747 withval=$with_gs;
5748 fi
5749
5750
5751 ## texk/dvipos/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/dvipos/
5752 ## configure options and TL libraries required for dvipos
5753 echo 'tldbg:KPSE_ENABLE_PROG called: prog=dvipos, libs=kpathsea, options=, comment=.' >&5
5754 echo 'tldbg:KPSE_ENABLE_PROG enabling: dvipos -> yes' >&5
5755 # Check whether --enable-dvipos was given.
5756 if test ${enable_dvipos+y}
5757 then :
5758 enableval=$enable_dvipos;
5759 fi
5760 #
5761 #
5762 case $enable_dvipos in #(
5763 yes|no) :
5764 ;; #(
5765 *) :
5766
5767 enable_dvipos=$enable_all_pkgs
5768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-dvipos=$enable_dvipos'" >&5
5769 printf "%s\n" "$as_me: Assuming \`--enable-dvipos=$enable_dvipos'" >&6;}
5770 ac_configure_args="$ac_configure_args '--enable-dvipos=$enable_dvipos'"
5771 ;;
5772 esac
5773 #
5774 # setting need_ for each of [kpathsea]:
5775
5776 test "x$enable_dvipos" = xno || {
5777 need_kpathsea=yes
5778 }
5779
5780 echo 'tldbg:KPSE_ENABLE_PROG done (prog=dvipos)' >&5
5781
5782 ## texk/dvipsk/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/dvipsk/
5783 ## configure options and TL libraries required for dvipsk
5784 echo 'tldbg:KPSE_ENABLE_PROG called: prog=dvipsk, libs=kpathsea, options=, comment=.' >&5
5785 echo 'tldbg:KPSE_ENABLE_PROG enabling: dvipsk -> yes' >&5
5786 # Check whether --enable-dvipsk was given.
5787 if test ${enable_dvipsk+y}
5788 then :
5789 enableval=$enable_dvipsk;
5790 fi
5791 #
5792 #
5793 case $enable_dvipsk in #(
5794 yes|no) :
5795 ;; #(
5796 *) :
5797
5798 enable_dvipsk=$enable_all_pkgs
5799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-dvipsk=$enable_dvipsk'" >&5
5800 printf "%s\n" "$as_me: Assuming \`--enable-dvipsk=$enable_dvipsk'" >&6;}
5801 ac_configure_args="$ac_configure_args '--enable-dvipsk=$enable_dvipsk'"
5802 ;;
5803 esac
5804 #
5805 # setting need_ for each of [kpathsea]:
5806
5807 test "x$enable_dvipsk" = xno || {
5808 need_kpathsea=yes
5809 }
5810
5811 echo 'tldbg:KPSE_ENABLE_PROG done (prog=dvipsk)' >&5
5812
5813 # texk/dvisvgm/ac/withenable.ac: configure.ac fragment
5814 ## configure options and TL libraries required for dvisvgm
5815 echo 'tldbg:KPSE_ENABLE_PROG called: prog=dvisvgm, libs=kpathsea potrace freetype2 zlib, options=, comment=.' >&5
5816 echo 'tldbg:KPSE_ENABLE_PROG enabling: dvisvgm -> yes' >&5
5817 # Check whether --enable-dvisvgm was given.
5818 if test ${enable_dvisvgm+y}
5819 then :
5820 enableval=$enable_dvisvgm;
5821 fi
5822 #
5823 #
5824 case $enable_dvisvgm in #(
5825 yes|no) :
5826 ;; #(
5827 *) :
5828
5829 enable_dvisvgm=$enable_all_pkgs
5830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-dvisvgm=$enable_dvisvgm'" >&5
5831 printf "%s\n" "$as_me: Assuming \`--enable-dvisvgm=$enable_dvisvgm'" >&6;}
5832 ac_configure_args="$ac_configure_args '--enable-dvisvgm=$enable_dvisvgm'"
5833 ;;
5834 esac
5835 #
5836 # setting need_ for each of [kpathsea potrace freetype2 zlib]:
5837
5838 test "x$enable_dvisvgm" = xno || {
5839 need_kpathsea=yes
5840 need_potrace=yes
5841 need_freetype2=yes
5842 need_zlib=yes
5843 }
5844
5845 echo 'tldbg:KPSE_ENABLE_PROG done (prog=dvisvgm)' >&5
5846
5847 ## texk/gregorio/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/gregorio/
5848 ## configure options and TL libraries required for gregorio
5849 echo 'tldbg:KPSE_ENABLE_PROG called: prog=gregorio, libs=kpathsea, options=, comment=.' >&5
5850 echo 'tldbg:KPSE_ENABLE_PROG enabling: gregorio -> yes' >&5
5851 # Check whether --enable-gregorio was given.
5852 if test ${enable_gregorio+y}
5853 then :
5854 enableval=$enable_gregorio;
5855 fi
5856 #
5857 #
5858 case $enable_gregorio in #(
5859 yes|no) :
5860 ;; #(
5861 *) :
5862
5863 enable_gregorio=$enable_all_pkgs
5864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-gregorio=$enable_gregorio'" >&5
5865 printf "%s\n" "$as_me: Assuming \`--enable-gregorio=$enable_gregorio'" >&6;}
5866 ac_configure_args="$ac_configure_args '--enable-gregorio=$enable_gregorio'"
5867 ;;
5868 esac
5869 #
5870 # setting need_ for each of [kpathsea]:
5871
5872 test "x$enable_gregorio" = xno || {
5873 need_kpathsea=yes
5874 }
5875
5876 echo 'tldbg:KPSE_ENABLE_PROG done (prog=gregorio)' >&5
5877
5878 ## texk/gsftopk/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/gsftopk/
5879 ## configure options and TL libraries required for gsftopk
5880 echo 'tldbg:KPSE_ENABLE_PROG called: prog=gsftopk, libs=kpathsea, options=, comment=.' >&5
5881 echo 'tldbg:KPSE_ENABLE_PROG enabling: gsftopk -> yes' >&5
5882 # Check whether --enable-gsftopk was given.
5883 if test ${enable_gsftopk+y}
5884 then :
5885 enableval=$enable_gsftopk;
5886 fi
5887 #
5888 #
5889 case $enable_gsftopk in #(
5890 yes|no) :
5891 ;; #(
5892 *) :
5893
5894 enable_gsftopk=$enable_all_pkgs
5895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-gsftopk=$enable_gsftopk'" >&5
5896 printf "%s\n" "$as_me: Assuming \`--enable-gsftopk=$enable_gsftopk'" >&6;}
5897 ac_configure_args="$ac_configure_args '--enable-gsftopk=$enable_gsftopk'"
5898 ;;
5899 esac
5900 #
5901 # setting need_ for each of [kpathsea]:
5902
5903 test "x$enable_gsftopk" = xno || {
5904 need_kpathsea=yes
5905 }
5906
5907 echo 'tldbg:KPSE_ENABLE_PROG done (prog=gsftopk)' >&5
5908
5909 ## texk/lcdf-typetools/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/lcdf-typetools/
5910 ## configure options and TL libraries required for lcdf-typetools
5911 echo 'tldbg:KPSE_ENABLE_PROG called: prog=lcdf-typetools, libs=kpathsea, options=, comment=.' >&5
5912 echo 'tldbg:KPSE_ENABLE_PROG enabling: lcdf-typetools -> yes' >&5
5913 # Check whether --enable-lcdf-typetools was given.
5914 if test ${enable_lcdf_typetools+y}
5915 then :
5916 enableval=$enable_lcdf_typetools;
5917 fi
5918 #
5919 #
5920 case $enable_lcdf_typetools in #(
5921 yes|no) :
5922 ;; #(
5923 *) :
5924
5925 enable_lcdf_typetools=$enable_all_pkgs
5926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-lcdf-typetools=$enable_lcdf_typetools'" >&5
5927 printf "%s\n" "$as_me: Assuming \`--enable-lcdf-typetools=$enable_lcdf_typetools'" >&6;}
5928 ac_configure_args="$ac_configure_args '--enable-lcdf-typetools=$enable_lcdf_typetools'"
5929 ;;
5930 esac
5931 #
5932 # setting need_ for each of [kpathsea]:
5933
5934 test "x$enable_lcdf_typetools" = xno || {
5935 need_kpathsea=yes
5936 }
5937
5938 echo 'tldbg:KPSE_ENABLE_PROG done (prog=lcdf-typetools)' >&5
5939
5940 # Define configure options for lcdf-typetools. Extracted from configure.ac
5941 # for ease of building TeX Live.
5942 #
5943 #
5944 # Check whether --enable-cfftot1 was given.
5945 if test ${enable_cfftot1+y}
5946 then :
5947 enableval=$enable_cfftot1;
5948 fi
5949 # Check whether --enable-mmafm was given.
5950 if test ${enable_mmafm+y}
5951 then :
5952 enableval=$enable_mmafm;
5953 fi
5954 # Check whether --enable-mmpfb was given.
5955 if test ${enable_mmpfb+y}
5956 then :
5957 enableval=$enable_mmpfb;
5958 fi
5959 # Check whether --enable-otfinfo was given.
5960 if test ${enable_otfinfo+y}
5961 then :
5962 enableval=$enable_otfinfo;
5963 fi
5964 # Check whether --enable-otftotfm was given.
5965 if test ${enable_otftotfm+y}
5966 then :
5967 enableval=$enable_otftotfm;
5968 fi
5969 # Check whether --enable-t1dotlessj was given.
5970 if test ${enable_t1dotlessj+y}
5971 then :
5972 enableval=$enable_t1dotlessj;
5973 fi
5974 # Check whether --enable-t1lint was given.
5975 if test ${enable_t1lint+y}
5976 then :
5977 enableval=$enable_t1lint;
5978 fi
5979 # Check whether --enable-t1rawafm was given.
5980 if test ${enable_t1rawafm+y}
5981 then :
5982 enableval=$enable_t1rawafm;
5983 fi
5984 # Check whether --enable-t1reencode was given.
5985 if test ${enable_t1reencode+y}
5986 then :
5987 enableval=$enable_t1reencode;
5988 fi
5989 # Check whether --enable-t1testpage was given.
5990 if test ${enable_t1testpage+y}
5991 then :
5992 enableval=$enable_t1testpage;
5993 fi
5994 # Check whether --enable-ttftotype42 was given.
5995 if test ${enable_ttftotype42+y}
5996 then :
5997 enableval=$enable_ttftotype42;
5998 fi
5999
6000 #
6001 # Check whether --enable-cfftot1 was given.
6002 if test ${enable_cfftot1+y}
6003 then :
6004 enableval=$enable_cfftot1;
6005 fi
6006 # Check whether --enable-t1dotlessj was given.
6007 if test ${enable_t1dotlessj+y}
6008 then :
6009 enableval=$enable_t1dotlessj;
6010 fi
6011 # Check whether --enable-ttftotype42 was given.
6012 if test ${enable_ttftotype42+y}
6013 then :
6014 enableval=$enable_ttftotype42;
6015 fi
6016 # Check whether --enable-updmap was given.
6017 if test ${enable_updmap+y}
6018 then :
6019 enableval=$enable_updmap;
6020 fi
6021
6022
6023 ## texk/makeindexk/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/makeindexk/
6024 ## configure options and TL libraries required for makeindexk
6025 echo 'tldbg:KPSE_ENABLE_PROG called: prog=makeindexk, libs=kpathsea, options=, comment=.' >&5
6026 echo 'tldbg:KPSE_ENABLE_PROG enabling: makeindexk -> yes' >&5
6027 # Check whether --enable-makeindexk was given.
6028 if test ${enable_makeindexk+y}
6029 then :
6030 enableval=$enable_makeindexk;
6031 fi
6032 #
6033 #
6034 case $enable_makeindexk in #(
6035 yes|no) :
6036 ;; #(
6037 *) :
6038
6039 enable_makeindexk=$enable_all_pkgs
6040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-makeindexk=$enable_makeindexk'" >&5
6041 printf "%s\n" "$as_me: Assuming \`--enable-makeindexk=$enable_makeindexk'" >&6;}
6042 ac_configure_args="$ac_configure_args '--enable-makeindexk=$enable_makeindexk'"
6043 ;;
6044 esac
6045 #
6046 # setting need_ for each of [kpathsea]:
6047
6048 test "x$enable_makeindexk" = xno || {
6049 need_kpathsea=yes
6050 }
6051
6052 echo 'tldbg:KPSE_ENABLE_PROG done (prog=makeindexk)' >&5
6053
6054 ## texk/makejvf/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/makejvf/
6055 ## configure options and TL libraries required for makejvf
6056 echo 'tldbg:KPSE_ENABLE_PROG called: prog=makejvf, libs=ptexenc, options=, comment=.' >&5
6057 echo 'tldbg:KPSE_ENABLE_PROG enabling: makejvf -> yes' >&5
6058 # Check whether --enable-makejvf was given.
6059 if test ${enable_makejvf+y}
6060 then :
6061 enableval=$enable_makejvf;
6062 fi
6063 #
6064 #
6065 case $enable_makejvf in #(
6066 yes|no) :
6067 ;; #(
6068 *) :
6069
6070 enable_makejvf=$enable_all_pkgs
6071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-makejvf=$enable_makejvf'" >&5
6072 printf "%s\n" "$as_me: Assuming \`--enable-makejvf=$enable_makejvf'" >&6;}
6073 ac_configure_args="$ac_configure_args '--enable-makejvf=$enable_makejvf'"
6074 ;;
6075 esac
6076 #
6077 # setting need_ for each of [ptexenc]:
6078
6079 test "x$enable_makejvf" = xno || {
6080 need_ptexenc=yes
6081 }
6082
6083 echo 'tldbg:KPSE_ENABLE_PROG done (prog=makejvf)' >&5
6084
6085 ## texk/mendexk/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/mendexk/
6086 ## configure options and TL libraries required for mendexk
6087 echo 'tldbg:KPSE_ENABLE_PROG called: prog=mendexk, libs=ptexenc, options=, comment=.' >&5
6088 echo 'tldbg:KPSE_ENABLE_PROG enabling: mendexk -> yes' >&5
6089 # Check whether --enable-mendexk was given.
6090 if test ${enable_mendexk+y}
6091 then :
6092 enableval=$enable_mendexk;
6093 fi
6094 #
6095 #
6096 case $enable_mendexk in #(
6097 yes|no) :
6098 ;; #(
6099 *) :
6100
6101 enable_mendexk=$enable_all_pkgs
6102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-mendexk=$enable_mendexk'" >&5
6103 printf "%s\n" "$as_me: Assuming \`--enable-mendexk=$enable_mendexk'" >&6;}
6104 ac_configure_args="$ac_configure_args '--enable-mendexk=$enable_mendexk'"
6105 ;;
6106 esac
6107 #
6108 # setting need_ for each of [ptexenc]:
6109
6110 test "x$enable_mendexk" = xno || {
6111 need_ptexenc=yes
6112 }
6113
6114 echo 'tldbg:KPSE_ENABLE_PROG done (prog=mendexk)' >&5
6115
6116 ## texk/musixtnt/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/musixtnt/
6117 ## configure options and TL libraries required for musixtnt
6118 echo 'tldbg:KPSE_ENABLE_PROG called: prog=musixtnt, libs=kpathsea, options=, comment=.' >&5
6119 echo 'tldbg:KPSE_ENABLE_PROG enabling: musixtnt -> yes' >&5
6120 # Check whether --enable-musixtnt was given.
6121 if test ${enable_musixtnt+y}
6122 then :
6123 enableval=$enable_musixtnt;
6124 fi
6125 #
6126 #
6127 case $enable_musixtnt in #(
6128 yes|no) :
6129 ;; #(
6130 *) :
6131
6132 enable_musixtnt=$enable_all_pkgs
6133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-musixtnt=$enable_musixtnt'" >&5
6134 printf "%s\n" "$as_me: Assuming \`--enable-musixtnt=$enable_musixtnt'" >&6;}
6135 ac_configure_args="$ac_configure_args '--enable-musixtnt=$enable_musixtnt'"
6136 ;;
6137 esac
6138 #
6139 # setting need_ for each of [kpathsea]:
6140
6141 test "x$enable_musixtnt" = xno || {
6142 need_kpathsea=yes
6143 }
6144
6145 echo 'tldbg:KPSE_ENABLE_PROG done (prog=musixtnt)' >&5
6146
6147 ## texk/ps2pk/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/ps2pk/
6148 ## configure options and TL libraries required for ps2pk
6149 echo 'tldbg:KPSE_ENABLE_PROG called: prog=ps2pk, libs=kpathsea, options=, comment=.' >&5
6150 echo 'tldbg:KPSE_ENABLE_PROG enabling: ps2pk -> yes' >&5
6151 # Check whether --enable-ps2pk was given.
6152 if test ${enable_ps2pk+y}
6153 then :
6154 enableval=$enable_ps2pk;
6155 fi
6156 #
6157 #
6158 case $enable_ps2pk in #(
6159 yes|no) :
6160 ;; #(
6161 *) :
6162
6163 enable_ps2pk=$enable_all_pkgs
6164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-ps2pk=$enable_ps2pk'" >&5
6165 printf "%s\n" "$as_me: Assuming \`--enable-ps2pk=$enable_ps2pk'" >&6;}
6166 ac_configure_args="$ac_configure_args '--enable-ps2pk=$enable_ps2pk'"
6167 ;;
6168 esac
6169 #
6170 # setting need_ for each of [kpathsea]:
6171
6172 test "x$enable_ps2pk" = xno || {
6173 need_kpathsea=yes
6174 }
6175
6176 echo 'tldbg:KPSE_ENABLE_PROG done (prog=ps2pk)' >&5
6177
6178 ## texk/psutils/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/psutils/
6179 ## configure options and TL libraries required for psutils
6180 echo 'tldbg:KPSE_ENABLE_PROG called: prog=psutils, libs=kpathsea libpaper, options=, comment=.' >&5
6181 echo 'tldbg:KPSE_ENABLE_PROG enabling: psutils -> yes' >&5
6182 # Check whether --enable-psutils was given.
6183 if test ${enable_psutils+y}
6184 then :
6185 enableval=$enable_psutils;
6186 fi
6187 #
6188 #
6189 case $enable_psutils in #(
6190 yes|no) :
6191 ;; #(
6192 *) :
6193
6194 enable_psutils=$enable_all_pkgs
6195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-psutils=$enable_psutils'" >&5
6196 printf "%s\n" "$as_me: Assuming \`--enable-psutils=$enable_psutils'" >&6;}
6197 ac_configure_args="$ac_configure_args '--enable-psutils=$enable_psutils'"
6198 ;;
6199 esac
6200 #
6201 # setting need_ for each of [kpathsea libpaper]:
6202
6203 test "x$enable_psutils" = xno || {
6204 need_kpathsea=yes
6205 need_libpaper=yes
6206 }
6207
6208 echo 'tldbg:KPSE_ENABLE_PROG done (prog=psutils)' >&5
6209
6210 ## texk/seetexk/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/seetexk/
6211 ## configure options and TL libraries required for seetexk
6212 echo 'tldbg:KPSE_ENABLE_PROG called: prog=seetexk, libs=kpathsea, options=, comment=.' >&5
6213 echo 'tldbg:KPSE_ENABLE_PROG enabling: seetexk -> yes' >&5
6214 # Check whether --enable-seetexk was given.
6215 if test ${enable_seetexk+y}
6216 then :
6217 enableval=$enable_seetexk;
6218 fi
6219 #
6220 #
6221 case $enable_seetexk in #(
6222 yes|no) :
6223 ;; #(
6224 *) :
6225
6226 enable_seetexk=$enable_all_pkgs
6227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-seetexk=$enable_seetexk'" >&5
6228 printf "%s\n" "$as_me: Assuming \`--enable-seetexk=$enable_seetexk'" >&6;}
6229 ac_configure_args="$ac_configure_args '--enable-seetexk=$enable_seetexk'"
6230 ;;
6231 esac
6232 #
6233 # setting need_ for each of [kpathsea]:
6234
6235 test "x$enable_seetexk" = xno || {
6236 need_kpathsea=yes
6237 }
6238
6239 echo 'tldbg:KPSE_ENABLE_PROG done (prog=seetexk)' >&5
6240
6241 ## texk/tex4htk/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/tex4htk/
6242 ## configure options and TL libraries required for tex4htk
6243 echo 'tldbg:KPSE_ENABLE_PROG called: prog=tex4htk, libs=kpathsea, options=, comment=.' >&5
6244 echo 'tldbg:KPSE_ENABLE_PROG enabling: tex4htk -> yes' >&5
6245 # Check whether --enable-tex4htk was given.
6246 if test ${enable_tex4htk+y}
6247 then :
6248 enableval=$enable_tex4htk;
6249 fi
6250 #
6251 #
6252 case $enable_tex4htk in #(
6253 yes|no) :
6254 ;; #(
6255 *) :
6256
6257 enable_tex4htk=$enable_all_pkgs
6258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-tex4htk=$enable_tex4htk'" >&5
6259 printf "%s\n" "$as_me: Assuming \`--enable-tex4htk=$enable_tex4htk'" >&6;}
6260 ac_configure_args="$ac_configure_args '--enable-tex4htk=$enable_tex4htk'"
6261 ;;
6262 esac
6263 #
6264 # setting need_ for each of [kpathsea]:
6265
6266 test "x$enable_tex4htk" = xno || {
6267 need_kpathsea=yes
6268 }
6269
6270 echo 'tldbg:KPSE_ENABLE_PROG done (prog=tex4htk)' >&5
6271
6272 ## texk/ttf2pk2/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/ttf2pk2/
6273 ## configure options and TL libraries required for ttf2pk
6274 echo 'tldbg:KPSE_ENABLE_PROG called: prog=ttf2pk2, libs=kpathsea freetype2, options=, comment=.' >&5
6275 echo 'tldbg:KPSE_ENABLE_PROG enabling: ttf2pk2 -> yes' >&5
6276 # Check whether --enable-ttf2pk2 was given.
6277 if test ${enable_ttf2pk2+y}
6278 then :
6279 enableval=$enable_ttf2pk2;
6280 fi
6281 #
6282 #
6283 case $enable_ttf2pk2 in #(
6284 yes|no) :
6285 ;; #(
6286 *) :
6287
6288 enable_ttf2pk2=$enable_all_pkgs
6289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-ttf2pk2=$enable_ttf2pk2'" >&5
6290 printf "%s\n" "$as_me: Assuming \`--enable-ttf2pk2=$enable_ttf2pk2'" >&6;}
6291 ac_configure_args="$ac_configure_args '--enable-ttf2pk2=$enable_ttf2pk2'"
6292 ;;
6293 esac
6294 #
6295 # setting need_ for each of [kpathsea freetype2]:
6296
6297 test "x$enable_ttf2pk2" = xno || {
6298 need_kpathsea=yes
6299 need_freetype2=yes
6300 }
6301
6302 echo 'tldbg:KPSE_ENABLE_PROG done (prog=ttf2pk2)' >&5
6303
6304 ## texk/ttfdump/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/ttfdump/
6305 ## configure options and TL libraries required for ttfdump
6306 echo 'tldbg:KPSE_ENABLE_PROG called: prog=ttfdump, libs=kpathsea, options=, comment=.' >&5
6307 echo 'tldbg:KPSE_ENABLE_PROG enabling: ttfdump -> yes' >&5
6308 # Check whether --enable-ttfdump was given.
6309 if test ${enable_ttfdump+y}
6310 then :
6311 enableval=$enable_ttfdump;
6312 fi
6313 #
6314 #
6315 case $enable_ttfdump in #(
6316 yes|no) :
6317 ;; #(
6318 *) :
6319
6320 enable_ttfdump=$enable_all_pkgs
6321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-ttfdump=$enable_ttfdump'" >&5
6322 printf "%s\n" "$as_me: Assuming \`--enable-ttfdump=$enable_ttfdump'" >&6;}
6323 ac_configure_args="$ac_configure_args '--enable-ttfdump=$enable_ttfdump'"
6324 ;;
6325 esac
6326 #
6327 # setting need_ for each of [kpathsea]:
6328
6329 test "x$enable_ttfdump" = xno || {
6330 need_kpathsea=yes
6331 }
6332
6333 echo 'tldbg:KPSE_ENABLE_PROG done (prog=ttfdump)' >&5
6334
6335 ## texk/upmendex/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/upmendex/
6336 ## configure options and TL libraries required for upmendex
6337 echo 'tldbg:KPSE_ENABLE_PROG called: prog=upmendex, libs=kpathsea icu, options=, comment=.' >&5
6338 echo 'tldbg:KPSE_ENABLE_PROG enabling: upmendex -> yes' >&5
6339 # Check whether --enable-upmendex was given.
6340 if test ${enable_upmendex+y}
6341 then :
6342 enableval=$enable_upmendex;
6343 fi
6344 #
6345 #
6346 case $enable_upmendex in #(
6347 yes|no) :
6348 ;; #(
6349 *) :
6350
6351 enable_upmendex=$enable_all_pkgs
6352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-upmendex=$enable_upmendex'" >&5
6353 printf "%s\n" "$as_me: Assuming \`--enable-upmendex=$enable_upmendex'" >&6;}
6354 ac_configure_args="$ac_configure_args '--enable-upmendex=$enable_upmendex'"
6355 ;;
6356 esac
6357 #
6358 # setting need_ for each of [kpathsea icu]:
6359
6360 test "x$enable_upmendex" = xno || {
6361 need_kpathsea=yes
6362 need_icu=yes
6363 }
6364
6365 echo 'tldbg:KPSE_ENABLE_PROG done (prog=upmendex)' >&5
6366
6367 ## texk/xdvik/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/xdvik/
6368 ## configure options and TL libraries required for xdvik
6369 echo 'tldbg:KPSE_ENABLE_PROG called: prog=xdvik, libs=kpathsea freetype2, options=x, comment=.' >&5
6370 echo 'tldbg:KPSE_ENABLE_PROG enabling: xdvik -> yes' >&5
6371 # Check whether --enable-xdvik was given.
6372 if test ${enable_xdvik+y}
6373 then :
6374 enableval=$enable_xdvik;
6375 fi
6376 #
6377 if test "x$with_x" = xno
6378 then :
6379 case $enable_xdvik in #(
6380 "") :
6381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \`--without-x' -> \`--disable-xdvik'" >&5
6382 printf "%s\n" "$as_me: \`--without-x' -> \`--disable-xdvik'" >&6;}
6383 enable_xdvik=no
6384 ac_configure_args="$ac_configure_args '--disable-xdvik'" ;; #(
6385 yes) :
6386 as_fn_error $? "Sorry, incompatible options \`--without-x' and \`--enable-xdvik'" "$LINENO" 5 ;; #(
6387 *) :
6388 ;;
6389 esac
6390 fi
6391 #
6392 case $enable_xdvik in #(
6393 yes|no) :
6394 ;; #(
6395 *) :
6396
6397 enable_xdvik=$enable_all_pkgs
6398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-xdvik=$enable_xdvik'" >&5
6399 printf "%s\n" "$as_me: Assuming \`--enable-xdvik=$enable_xdvik'" >&6;}
6400 ac_configure_args="$ac_configure_args '--enable-xdvik=$enable_xdvik'"
6401 ;;
6402 esac
6403 #
6404 # setting need_ for each of [kpathsea freetype2]:
6405
6406 test "x$enable_xdvik" = xno || {
6407 need_kpathsea=yes
6408 need_freetype2=yes
6409 }
6410
6411 echo 'tldbg:KPSE_ENABLE_PROG done (prog=xdvik)' >&5
6412
6413 ## texk/xdvik/ac/xdvik.ac: configure.ac fragment for the TeX Live subdirectory texk/xdvik/
6414 ## configure options for xdvik
6415
6416 # Check whether --with-xdvi-x-toolkit was given.
6417 if test ${with_xdvi_x_toolkit+y}
6418 then :
6419 withval=$with_xdvi_x_toolkit;
6420 fi
6421
6422
6423 ## texk/xdvipsk/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/xdvipsk/
6424 ## configure options and TL libraries required for xdvipsk
6425 echo 'tldbg:KPSE_ENABLE_PROG called: prog=xdvipsk, libs=kpathsea zlib libpng freetype2 lua53, options=, comment=.' >&5
6426 echo 'tldbg:KPSE_ENABLE_PROG enabling: xdvipsk -> yes' >&5
6427 # Check whether --enable-xdvipsk was given.
6428 if test ${enable_xdvipsk+y}
6429 then :
6430 enableval=$enable_xdvipsk;
6431 fi
6432 #
6433 #
6434 case $enable_xdvipsk in #(
6435 yes|no) :
6436 ;; #(
6437 *) :
6438
6439 enable_xdvipsk=$enable_all_pkgs
6440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-xdvipsk=$enable_xdvipsk'" >&5
6441 printf "%s\n" "$as_me: Assuming \`--enable-xdvipsk=$enable_xdvipsk'" >&6;}
6442 ac_configure_args="$ac_configure_args '--enable-xdvipsk=$enable_xdvipsk'"
6443 ;;
6444 esac
6445 #
6446 # setting need_ for each of [kpathsea zlib libpng freetype2 lua53]:
6447
6448 test "x$enable_xdvipsk" = xno || {
6449 need_kpathsea=yes
6450 need_zlib=yes
6451 need_libpng=yes
6452 need_freetype2=yes
6453 need_lua53=yes
6454 }
6455
6456 echo 'tldbg:KPSE_ENABLE_PROG done (prog=xdvipsk)' >&5
6457
6458 ## texk/texlive/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/texlive/
6459 ## configure options and TL libraries required for texlive
6460 echo 'tldbg:KPSE_ENABLE_PROG called: prog=texlive, libs=, options=, comment=TeX Live scripts.' >&5
6461 echo 'tldbg:KPSE_ENABLE_PROG enabling: texlive -> yes' >&5
6462 # Check whether --enable-texlive was given.
6463 if test ${enable_texlive+y}
6464 then :
6465 enableval=$enable_texlive;
6466 fi
6467 #
6468 #
6469 case $enable_texlive in #(
6470 yes|no) :
6471 ;; #(
6472 *) :
6473
6474 enable_texlive=$enable_all_pkgs
6475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-texlive=$enable_texlive'" >&5
6476 printf "%s\n" "$as_me: Assuming \`--enable-texlive=$enable_texlive'" >&6;}
6477 ac_configure_args="$ac_configure_args '--enable-texlive=$enable_texlive'"
6478 ;;
6479 esac
6480 #
6481 # setting need_ for each of []:
6482
6483 echo 'tldbg:KPSE_ENABLE_PROG done (prog=texlive)' >&5
6484
6485 ## texk/texlive/ac/texlive.ac: configure.ac fragment for the TeX Live subdirectory texk/texlive/
6486 ## configure options for texlive
6487 # Check whether --enable-linked-scripts was given.
6488 if test ${enable_linked_scripts+y}
6489 then :
6490 enableval=$enable_linked_scripts;
6491 fi
6492
6493
6494 ## libs/pplib/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/pplib/
6495 ## configure options and TL libraries required for pplib
6496
6497 test "x$need_pplib" = xyes && {
6498 need_zlib=yes
6499 }
6500
6501 ## libs/harfbuzz/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/harfbuzz/
6502 ## configure options and TL libraries required for harfbuzz
6503
6504 # Check whether --with-system-harfbuzz was given.
6505 if test ${with_system_harfbuzz+y}
6506 then :
6507 withval=$with_system_harfbuzz;
6508 fi
6509 if test "x$with_system_harfbuzz" = x; then
6510 if test -f $srcdir/../libs/harfbuzz/configure; then
6511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`harfbuzz' headers and library from TL tree" >&5
6512 printf "%s\n" "$as_me: Assuming \`harfbuzz' headers and library from TL tree" >&6;}
6513 with_system_harfbuzz=no
6514 else
6515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming installed \`harfbuzz' headers and library" >&5
6516 printf "%s\n" "$as_me: Assuming installed \`harfbuzz' headers and library" >&6;}
6517 with_system_harfbuzz=yes
6518 fi
6519 ac_configure_args="$ac_configure_args '--with-system-harfbuzz=$with_system_harfbuzz'"
6520 fi
6521 if test "x$with_system_harfbuzz" = xyes; then
6522 if test "x$with_system_graphite2" = x; then
6523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -> installed \`graphite2' headers and library" >&5
6524 printf "%s\n" "$as_me: -> installed \`graphite2' headers and library" >&6;}
6525 with_system_graphite2=yes
6526 ac_configure_args="$ac_configure_args '--with-system-graphite2'"
6527 elif test "x$with_system_graphite2" != xyes; then
6528 as_fn_error $? "Sorry, \`--with-system-harfbuzz' requires \`--with-system-graphite2'" "$LINENO" 5
6529 fi
6530 if test "x$with_system_icu" = x; then
6531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -> installed \`icu' headers and library" >&5
6532 printf "%s\n" "$as_me: -> installed \`icu' headers and library" >&6;}
6533 with_system_icu=yes
6534 ac_configure_args="$ac_configure_args '--with-system-icu'"
6535 elif test "x$with_system_icu" != xyes; then
6536 as_fn_error $? "Sorry, \`--with-system-harfbuzz' requires \`--with-system-icu'" "$LINENO" 5
6537 fi
6538 fi
6539
6540 test "x$need_harfbuzz" = xyes && {
6541 need_graphite2=yes
6542 need_icu=yes
6543 }
6544
6545 ## libs/icu/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/icu/
6546 ## configure options and TL libraries required for icu (modified for XeTeX)
6547
6548 # Check whether --with-system-icu was given.
6549 if test ${with_system_icu+y}
6550 then :
6551 withval=$with_system_icu;
6552 fi
6553 if test "x$with_system_icu" = x; then
6554 if test -f $srcdir/../libs/icu/configure; then
6555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`icu' headers and library from TL tree" >&5
6556 printf "%s\n" "$as_me: Assuming \`icu' headers and library from TL tree" >&6;}
6557 with_system_icu=no
6558 else
6559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming installed \`icu' headers and library" >&5
6560 printf "%s\n" "$as_me: Assuming installed \`icu' headers and library" >&6;}
6561 with_system_icu=yes
6562 fi
6563 ac_configure_args="$ac_configure_args '--with-system-icu=$with_system_icu'"
6564 fi
6565
6566 ## libs/teckit/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/teckit/
6567 ## configure options and TL libraries required for teckit
6568
6569 # Check whether --with-system-teckit was given.
6570 if test ${with_system_teckit+y}
6571 then :
6572 withval=$with_system_teckit;
6573 fi
6574 if test "x$with_system_teckit" = x; then
6575 if test -f $srcdir/../libs/teckit/configure; then
6576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`teckit' headers and library from TL tree" >&5
6577 printf "%s\n" "$as_me: Assuming \`teckit' headers and library from TL tree" >&6;}
6578 with_system_teckit=no
6579 else
6580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming installed \`teckit' headers and library" >&5
6581 printf "%s\n" "$as_me: Assuming installed \`teckit' headers and library" >&6;}
6582 with_system_teckit=yes
6583 fi
6584 ac_configure_args="$ac_configure_args '--with-system-teckit=$with_system_teckit'"
6585 fi
6586 if test "x$with_system_teckit" = xyes; then
6587 if test "x$with_system_zlib" = x; then
6588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -> installed \`zlib' headers and library" >&5
6589 printf "%s\n" "$as_me: -> installed \`zlib' headers and library" >&6;}
6590 with_system_zlib=yes
6591 ac_configure_args="$ac_configure_args '--with-system-zlib'"
6592 elif test "x$with_system_zlib" != xyes; then
6593 as_fn_error $? "Sorry, \`--with-system-teckit' requires \`--with-system-zlib'" "$LINENO" 5
6594 fi
6595 fi
6596
6597 test "x$need_teckit" = xyes && {
6598 need_zlib=yes
6599 }
6600
6601 ## libs/graphite2/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/graphite2/
6602 ## configure options and TL libraries required for graphite2
6603
6604 # Check whether --with-system-graphite2 was given.
6605 if test ${with_system_graphite2+y}
6606 then :
6607 withval=$with_system_graphite2;
6608 fi
6609 if test "x$with_system_graphite2" = x; then
6610 if test -f $srcdir/../libs/graphite2/configure; then
6611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`graphite2' headers and library from TL tree" >&5
6612 printf "%s\n" "$as_me: Assuming \`graphite2' headers and library from TL tree" >&6;}
6613 with_system_graphite2=no
6614 else
6615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming installed \`graphite2' headers and library" >&5
6616 printf "%s\n" "$as_me: Assuming installed \`graphite2' headers and library" >&6;}
6617 with_system_graphite2=yes
6618 fi
6619 ac_configure_args="$ac_configure_args '--with-system-graphite2=$with_system_graphite2'"
6620 fi
6621
6622 ## libs/zziplib/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/zziplib/
6623 ## configure options and TL libraries required for zziplib
6624
6625 # Check whether --with-system-zziplib was given.
6626 if test ${with_system_zziplib+y}
6627 then :
6628 withval=$with_system_zziplib;
6629 fi
6630 if test "x$with_system_zziplib" = x; then
6631 if test -f $srcdir/../libs/zziplib/configure; then
6632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`zziplib' headers and library from TL tree" >&5
6633 printf "%s\n" "$as_me: Assuming \`zziplib' headers and library from TL tree" >&6;}
6634 with_system_zziplib=no
6635 else
6636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming installed \`zziplib' headers and library" >&5
6637 printf "%s\n" "$as_me: Assuming installed \`zziplib' headers and library" >&6;}
6638 with_system_zziplib=yes
6639 fi
6640 ac_configure_args="$ac_configure_args '--with-system-zziplib=$with_system_zziplib'"
6641 fi
6642 if test "x$with_system_zziplib" = xyes; then
6643 if test "x$with_system_zlib" = x; then
6644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -> installed \`zlib' headers and library" >&5
6645 printf "%s\n" "$as_me: -> installed \`zlib' headers and library" >&6;}
6646 with_system_zlib=yes
6647 ac_configure_args="$ac_configure_args '--with-system-zlib'"
6648 elif test "x$with_system_zlib" != xyes; then
6649 as_fn_error $? "Sorry, \`--with-system-zziplib' requires \`--with-system-zlib'" "$LINENO" 5
6650 fi
6651 fi
6652
6653 test "x$need_zziplib" = xyes && {
6654 need_zlib=yes
6655 }
6656
6657 ## libs/xpdf/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/xpdf/
6658 ## configure options and TL libraries required for xpdf
6659 : "kpse_xpdf_options - no-op"
6660 if test "x$with_system_xpdf" = x; then
6661 if test -f $srcdir/../libs/xpdf/configure; then
6662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`xpdf' headers and library from TL tree" >&5
6663 printf "%s\n" "$as_me: Assuming \`xpdf' headers and library from TL tree" >&6;}
6664 with_system_xpdf=no
6665 else
6666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming installed \`xpdf' headers and library" >&5
6667 printf "%s\n" "$as_me: Assuming installed \`xpdf' headers and library" >&6;}
6668 with_system_xpdf=yes
6669 fi
6670 ac_configure_args="$ac_configure_args '--with-system-xpdf=$with_system_xpdf'"
6671 fi
6672
6673 ## libs/mpfi/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/mpfi/
6674 ## configure options and TL libraries required for mpfi
6675
6676 # Check whether --with-system-mpfi was given.
6677 if test ${with_system_mpfi+y}
6678 then :
6679 withval=$with_system_mpfi;
6680 fi
6681
6682 # Check whether --with-mpfi-includes was given.
6683 if test ${with_mpfi_includes+y}
6684 then :
6685 withval=$with_mpfi_includes;
6686 fi
6687
6688 # Check whether --with-mpfi-libdir was given.
6689 if test ${with_mpfi_libdir+y}
6690 then :
6691 withval=$with_mpfi_libdir;
6692 fi
6693 if test "x$with_system_mpfi" = x; then
6694 if test -f $srcdir/../libs/mpfi/configure; then
6695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`mpfi' headers and library from TL tree" >&5
6696 printf "%s\n" "$as_me: Assuming \`mpfi' headers and library from TL tree" >&6;}
6697 with_system_mpfi=no
6698 else
6699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming installed \`mpfi' headers and library" >&5
6700 printf "%s\n" "$as_me: Assuming installed \`mpfi' headers and library" >&6;}
6701 with_system_mpfi=yes
6702 fi
6703 ac_configure_args="$ac_configure_args '--with-system-mpfi=$with_system_mpfi'"
6704 fi
6705 if test "x$with_system_mpfi" = xyes; then
6706 if test "x$with_system_mpfr" = x; then
6707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -> installed \`mpfr' headers and library" >&5
6708 printf "%s\n" "$as_me: -> installed \`mpfr' headers and library" >&6;}
6709 with_system_mpfr=yes
6710 ac_configure_args="$ac_configure_args '--with-system-mpfr'"
6711 elif test "x$with_system_mpfr" != xyes; then
6712 as_fn_error $? "Sorry, \`--with-system-mpfi' requires \`--with-system-mpfr'" "$LINENO" 5
6713 fi
6714 if test "x$with_system_gmp" = x; then
6715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -> installed \`gmp' headers and library" >&5
6716 printf "%s\n" "$as_me: -> installed \`gmp' headers and library" >&6;}
6717 with_system_gmp=yes
6718 ac_configure_args="$ac_configure_args '--with-system-gmp'"
6719 elif test "x$with_system_gmp" != xyes; then
6720 as_fn_error $? "Sorry, \`--with-system-mpfi' requires \`--with-system-gmp'" "$LINENO" 5
6721 fi
6722 fi
6723
6724 test "x$need_mpfi" = xyes && {
6725 need_mpfr=yes
6726 need_gmp=yes
6727 }
6728
6729 ## libs/mpfr/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/mpfr/
6730 ## configure options and TL libraries required for mpfr
6731
6732 # Check whether --with-system-mpfr was given.
6733 if test ${with_system_mpfr+y}
6734 then :
6735 withval=$with_system_mpfr;
6736 fi
6737
6738 # Check whether --with-mpfr-includes was given.
6739 if test ${with_mpfr_includes+y}
6740 then :
6741 withval=$with_mpfr_includes;
6742 fi
6743
6744 # Check whether --with-mpfr-libdir was given.
6745 if test ${with_mpfr_libdir+y}
6746 then :
6747 withval=$with_mpfr_libdir;
6748 fi
6749 if test "x$with_system_mpfr" = x; then
6750 if test -f $srcdir/../libs/mpfr/configure; then
6751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`mpfr' headers and library from TL tree" >&5
6752 printf "%s\n" "$as_me: Assuming \`mpfr' headers and library from TL tree" >&6;}
6753 with_system_mpfr=no
6754 else
6755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming installed \`mpfr' headers and library" >&5
6756 printf "%s\n" "$as_me: Assuming installed \`mpfr' headers and library" >&6;}
6757 with_system_mpfr=yes
6758 fi
6759 ac_configure_args="$ac_configure_args '--with-system-mpfr=$with_system_mpfr'"
6760 fi
6761 if test "x$with_system_mpfr" = xyes; then
6762 if test "x$with_system_gmp" = x; then
6763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -> installed \`gmp' headers and library" >&5
6764 printf "%s\n" "$as_me: -> installed \`gmp' headers and library" >&6;}
6765 with_system_gmp=yes
6766 ac_configure_args="$ac_configure_args '--with-system-gmp'"
6767 elif test "x$with_system_gmp" != xyes; then
6768 as_fn_error $? "Sorry, \`--with-system-mpfr' requires \`--with-system-gmp'" "$LINENO" 5
6769 fi
6770 fi
6771
6772 test "x$need_mpfr" = xyes && {
6773 need_gmp=yes
6774 }
6775
6776 ## libs/gmp/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/gmp/
6777 ## configure options and TL libraries required for gmp
6778
6779 # Check whether --with-system-gmp was given.
6780 if test ${with_system_gmp+y}
6781 then :
6782 withval=$with_system_gmp;
6783 fi
6784
6785 # Check whether --with-gmp-includes was given.
6786 if test ${with_gmp_includes+y}
6787 then :
6788 withval=$with_gmp_includes;
6789 fi
6790
6791 # Check whether --with-gmp-libdir was given.
6792 if test ${with_gmp_libdir+y}
6793 then :
6794 withval=$with_gmp_libdir;
6795 fi
6796 if test "x$with_system_gmp" = x; then
6797 if test -f $srcdir/../libs/gmp/configure; then
6798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`gmp' headers and library from TL tree" >&5
6799 printf "%s\n" "$as_me: Assuming \`gmp' headers and library from TL tree" >&6;}
6800 with_system_gmp=no
6801 else
6802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming installed \`gmp' headers and library" >&5
6803 printf "%s\n" "$as_me: Assuming installed \`gmp' headers and library" >&6;}
6804 with_system_gmp=yes
6805 fi
6806 ac_configure_args="$ac_configure_args '--with-system-gmp=$with_system_gmp'"
6807 fi
6808
6809 ## libs/cairo/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/cairo/
6810 ## configure options and TL libraries required for cairo
6811
6812 # Check whether --with-system-cairo was given.
6813 if test ${with_system_cairo+y}
6814 then :
6815 withval=$with_system_cairo;
6816 fi
6817 if test "x$with_system_cairo" = x; then
6818 if test -f $srcdir/../libs/cairo/configure; then
6819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`cairo' headers and library from TL tree" >&5
6820 printf "%s\n" "$as_me: Assuming \`cairo' headers and library from TL tree" >&6;}
6821 with_system_cairo=no
6822 else
6823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming installed \`cairo' headers and library" >&5
6824 printf "%s\n" "$as_me: Assuming installed \`cairo' headers and library" >&6;}
6825 with_system_cairo=yes
6826 fi
6827 ac_configure_args="$ac_configure_args '--with-system-cairo=$with_system_cairo'"
6828 fi
6829 if test "x$with_system_cairo" = xyes; then
6830 if test "x$with_system_pixman" = x; then
6831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -> installed \`pixman' headers and library" >&5
6832 printf "%s\n" "$as_me: -> installed \`pixman' headers and library" >&6;}
6833 with_system_pixman=yes
6834 ac_configure_args="$ac_configure_args '--with-system-pixman'"
6835 elif test "x$with_system_pixman" != xyes; then
6836 as_fn_error $? "Sorry, \`--with-system-cairo' requires \`--with-system-pixman'" "$LINENO" 5
6837 fi
6838 fi
6839
6840 test "x$need_cairo" = xyes && {
6841 need_pixman=yes
6842 }
6843
6844 ## libs/pixman/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/pixman/
6845 ## configure options and TL libraries required for pixman
6846
6847 # Check whether --with-system-pixman was given.
6848 if test ${with_system_pixman+y}
6849 then :
6850 withval=$with_system_pixman;
6851 fi
6852 if test "x$with_system_pixman" = x; then
6853 if test -f $srcdir/../libs/pixman/configure; then
6854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`pixman' headers and library from TL tree" >&5
6855 printf "%s\n" "$as_me: Assuming \`pixman' headers and library from TL tree" >&6;}
6856 with_system_pixman=no
6857 else
6858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming installed \`pixman' headers and library" >&5
6859 printf "%s\n" "$as_me: Assuming installed \`pixman' headers and library" >&6;}
6860 with_system_pixman=yes
6861 fi
6862 ac_configure_args="$ac_configure_args '--with-system-pixman=$with_system_pixman'"
6863 fi
6864
6865 ## libs/gd/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/gd/
6866 ## configure options and TL libraries required for gd
6867
6868 # Check whether --with-system-gd was given.
6869 if test ${with_system_gd+y}
6870 then :
6871 withval=$with_system_gd;
6872 fi
6873
6874 # Check whether --with-gd-includes was given.
6875 if test ${with_gd_includes+y}
6876 then :
6877 withval=$with_gd_includes;
6878 fi
6879
6880 # Check whether --with-gd-libdir was given.
6881 if test ${with_gd_libdir+y}
6882 then :
6883 withval=$with_gd_libdir;
6884 fi
6885 if test "x$with_system_gd" = x; then
6886 if test -f $srcdir/../libs/gd/configure; then
6887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`gd' headers and library from TL tree" >&5
6888 printf "%s\n" "$as_me: Assuming \`gd' headers and library from TL tree" >&6;}
6889 with_system_gd=no
6890 else
6891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming installed \`gd' headers and library" >&5
6892 printf "%s\n" "$as_me: Assuming installed \`gd' headers and library" >&6;}
6893 with_system_gd=yes
6894 fi
6895 ac_configure_args="$ac_configure_args '--with-system-gd=$with_system_gd'"
6896 fi
6897 if test "x$with_system_gd" = xyes; then
6898 if test "x$with_system_libpng" = x; then
6899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -> installed \`libpng' headers and library" >&5
6900 printf "%s\n" "$as_me: -> installed \`libpng' headers and library" >&6;}
6901 with_system_libpng=yes
6902 ac_configure_args="$ac_configure_args '--with-system-libpng'"
6903 elif test "x$with_system_libpng" != xyes; then
6904 as_fn_error $? "Sorry, \`--with-system-gd' requires \`--with-system-libpng'" "$LINENO" 5
6905 fi
6906 if test "x$with_system_freetype2" = x; then
6907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -> installed \`freetype2' headers and library" >&5
6908 printf "%s\n" "$as_me: -> installed \`freetype2' headers and library" >&6;}
6909 with_system_freetype2=yes
6910 ac_configure_args="$ac_configure_args '--with-system-freetype2'"
6911 elif test "x$with_system_freetype2" != xyes; then
6912 as_fn_error $? "Sorry, \`--with-system-gd' requires \`--with-system-freetype2'" "$LINENO" 5
6913 fi
6914 fi
6915
6916 test "x$need_gd" = xyes && {
6917 need_libpng=yes
6918 need_freetype2=yes
6919 }
6920
6921 ## libs/potrace/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/potrace/
6922 ## configure options and TL libraries required for potrace
6923
6924 # Check whether --with-system-potrace was given.
6925 if test ${with_system_potrace+y}
6926 then :
6927 withval=$with_system_potrace;
6928 fi
6929
6930 # Check whether --with-potrace-includes was given.
6931 if test ${with_potrace_includes+y}
6932 then :
6933 withval=$with_potrace_includes;
6934 fi
6935
6936 # Check whether --with-potrace-libdir was given.
6937 if test ${with_potrace_libdir+y}
6938 then :
6939 withval=$with_potrace_libdir;
6940 fi
6941 if test "x$with_system_potrace" = x; then
6942 if test -f $srcdir/../libs/potrace/configure; then
6943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`potrace' headers and library from TL tree" >&5
6944 printf "%s\n" "$as_me: Assuming \`potrace' headers and library from TL tree" >&6;}
6945 with_system_potrace=no
6946 else
6947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming installed \`potrace' headers and library" >&5
6948 printf "%s\n" "$as_me: Assuming installed \`potrace' headers and library" >&6;}
6949 with_system_potrace=yes
6950 fi
6951 ac_configure_args="$ac_configure_args '--with-system-potrace=$with_system_potrace'"
6952 fi
6953
6954 ## libs/freetype2/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/freetype2/
6955 ## configure options and TL libraries required for freetype2
6956
6957 # Check whether --with-system-freetype2 was given.
6958 if test ${with_system_freetype2+y}
6959 then :
6960 withval=$with_system_freetype2;
6961 fi
6962 if test "x$with_system_freetype2" = x; then
6963 if test -f $srcdir/../libs/freetype2/configure; then
6964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`freetype2' headers and library from TL tree" >&5
6965 printf "%s\n" "$as_me: Assuming \`freetype2' headers and library from TL tree" >&6;}
6966 with_system_freetype2=no
6967 else
6968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming installed \`freetype2' headers and library" >&5
6969 printf "%s\n" "$as_me: Assuming installed \`freetype2' headers and library" >&6;}
6970 with_system_freetype2=yes
6971 fi
6972 ac_configure_args="$ac_configure_args '--with-system-freetype2=$with_system_freetype2'"
6973 fi
6974 if test "x$with_system_freetype2" = xyes; then
6975 if test "x$with_system_zlib" = x; then
6976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -> installed \`zlib' headers and library" >&5
6977 printf "%s\n" "$as_me: -> installed \`zlib' headers and library" >&6;}
6978 with_system_zlib=yes
6979 ac_configure_args="$ac_configure_args '--with-system-zlib'"
6980 elif test "x$with_system_zlib" != xyes; then
6981 as_fn_error $? "Sorry, \`--with-system-freetype2' requires \`--with-system-zlib'" "$LINENO" 5
6982 fi
6983 fi
6984
6985 test "x$need_freetype2" = xyes && {
6986 need_zlib=yes
6987 }
6988
6989 ## libs/libpng/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/libpng/
6990 ## configure options and TL libraries required for libpng
6991
6992 # Check whether --with-system-libpng was given.
6993 if test ${with_system_libpng+y}
6994 then :
6995 withval=$with_system_libpng;
6996 fi
6997 if test "x$with_system_libpng" = x; then
6998 if test -f $srcdir/../libs/libpng/configure; then
6999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`libpng' headers and library from TL tree" >&5
7000 printf "%s\n" "$as_me: Assuming \`libpng' headers and library from TL tree" >&6;}
7001 with_system_libpng=no
7002 else
7003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming installed \`libpng' headers and library" >&5
7004 printf "%s\n" "$as_me: Assuming installed \`libpng' headers and library" >&6;}
7005 with_system_libpng=yes
7006 fi
7007 ac_configure_args="$ac_configure_args '--with-system-libpng=$with_system_libpng'"
7008 fi
7009 if test "x$with_system_libpng" = xyes; then
7010 if test "x$with_system_zlib" = x; then
7011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -> installed \`zlib' headers and library" >&5
7012 printf "%s\n" "$as_me: -> installed \`zlib' headers and library" >&6;}
7013 with_system_zlib=yes
7014 ac_configure_args="$ac_configure_args '--with-system-zlib'"
7015 elif test "x$with_system_zlib" != xyes; then
7016 as_fn_error $? "Sorry, \`--with-system-libpng' requires \`--with-system-zlib'" "$LINENO" 5
7017 fi
7018 fi
7019
7020 test "x$need_libpng" = xyes && {
7021 need_zlib=yes
7022 }
7023
7024 ## libs/libpaper/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/libpaper/
7025 ## configure options and TL libraries required for libpaper
7026
7027 # Check whether --with-system-libpaper was given.
7028 if test ${with_system_libpaper+y}
7029 then :
7030 withval=$with_system_libpaper;
7031 fi
7032
7033 # Check whether --with-libpaper-includes was given.
7034 if test ${with_libpaper_includes+y}
7035 then :
7036 withval=$with_libpaper_includes;
7037 fi
7038
7039 # Check whether --with-libpaper-libdir was given.
7040 if test ${with_libpaper_libdir+y}
7041 then :
7042 withval=$with_libpaper_libdir;
7043 fi
7044 if test "x$with_system_libpaper" = x; then
7045 if test -f $srcdir/../libs/libpaper/configure; then
7046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`libpaper' headers and library from TL tree" >&5
7047 printf "%s\n" "$as_me: Assuming \`libpaper' headers and library from TL tree" >&6;}
7048 with_system_libpaper=no
7049 else
7050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming installed \`libpaper' headers and library" >&5
7051 printf "%s\n" "$as_me: Assuming installed \`libpaper' headers and library" >&6;}
7052 with_system_libpaper=yes
7053 fi
7054 ac_configure_args="$ac_configure_args '--with-system-libpaper=$with_system_libpaper'"
7055 fi
7056
7057 ## libs/luajit/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/luajit/
7058 ## configure options and TL libraries required for luajit
7059
7060 # Check whether --with-system-luajit was given.
7061 if test ${with_system_luajit+y}
7062 then :
7063 withval=$with_system_luajit;
7064 fi
7065 if test "x$with_system_luajit" = x; then
7066 if test -f $srcdir/../libs/luajit/configure; then
7067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`luajit' headers and library from TL tree" >&5
7068 printf "%s\n" "$as_me: Assuming \`luajit' headers and library from TL tree" >&6;}
7069 with_system_luajit=no
7070 else
7071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming installed \`luajit' headers and library" >&5
7072 printf "%s\n" "$as_me: Assuming installed \`luajit' headers and library" >&6;}
7073 with_system_luajit=yes
7074 fi
7075 ac_configure_args="$ac_configure_args '--with-system-luajit=$with_system_luajit'"
7076 fi
7077
7078 ## libs/lua53/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/lua53/
7079 ## configure options and TL libraries required for lua53
7080
7081 ## libs/zlib/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/zlib/
7082 ## configure options and TL libraries required for zlib
7083
7084 # Check whether --with-system-zlib was given.
7085 if test ${with_system_zlib+y}
7086 then :
7087 withval=$with_system_zlib;
7088 fi
7089
7090 # Check whether --with-zlib-includes was given.
7091 if test ${with_zlib_includes+y}
7092 then :
7093 withval=$with_zlib_includes;
7094 fi
7095
7096 # Check whether --with-zlib-libdir was given.
7097 if test ${with_zlib_libdir+y}
7098 then :
7099 withval=$with_zlib_libdir;
7100 fi
7101 if test "x$with_system_zlib" = x; then
7102 if test -f $srcdir/../libs/zlib/configure; then
7103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`zlib' headers and library from TL tree" >&5
7104 printf "%s\n" "$as_me: Assuming \`zlib' headers and library from TL tree" >&6;}
7105 with_system_zlib=no
7106 else
7107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming installed \`zlib' headers and library" >&5
7108 printf "%s\n" "$as_me: Assuming installed \`zlib' headers and library" >&6;}
7109 with_system_zlib=yes
7110 fi
7111 ac_configure_args="$ac_configure_args '--with-system-zlib=$with_system_zlib'"
7112 fi
7113
7114
7115 ## texk/ptexenc/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/ptexenc/
7116 ## configure options and TL libraries required for ptexenc
7117
7118 # Check whether --with-system-ptexenc was given.
7119 if test ${with_system_ptexenc+y}
7120 then :
7121 withval=$with_system_ptexenc;
7122 fi
7123 if test "x$with_system_ptexenc" = x; then
7124 if test -f $srcdir/../texk/ptexenc/configure; then
7125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`ptexenc' headers and library from TL tree" >&5
7126 printf "%s\n" "$as_me: Assuming \`ptexenc' headers and library from TL tree" >&6;}
7127 with_system_ptexenc=no
7128 else
7129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming installed \`ptexenc' headers and library" >&5
7130 printf "%s\n" "$as_me: Assuming installed \`ptexenc' headers and library" >&6;}
7131 with_system_ptexenc=yes
7132 fi
7133 ac_configure_args="$ac_configure_args '--with-system-ptexenc=$with_system_ptexenc'"
7134 fi
7135 if test "x$with_system_ptexenc" = xyes; then
7136 if test "x$with_system_kpathsea" = x; then
7137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -> installed \`kpathsea' headers and library" >&5
7138 printf "%s\n" "$as_me: -> installed \`kpathsea' headers and library" >&6;}
7139 with_system_kpathsea=yes
7140 ac_configure_args="$ac_configure_args '--with-system-kpathsea'"
7141 elif test "x$with_system_kpathsea" != xyes; then
7142 as_fn_error $? "Sorry, \`--with-system-ptexenc' requires \`--with-system-kpathsea'" "$LINENO" 5
7143 fi
7144 fi
7145
7146 test "x$need_ptexenc" = xyes && {
7147 need_kpathsea=yes
7148 }
7149
7150 ## texk/kpathsea/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/kpathsea/
7151 ## configure options and TL libraries required for kpathsea
7152
7153 # Check whether --with-system-kpathsea was given.
7154 if test ${with_system_kpathsea+y}
7155 then :
7156 withval=$with_system_kpathsea;
7157 fi
7158 if test "x$with_system_kpathsea" = x; then
7159 if test -f $srcdir/../texk/kpathsea/configure; then
7160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming \`kpathsea' headers and library from TL tree" >&5
7161 printf "%s\n" "$as_me: Assuming \`kpathsea' headers and library from TL tree" >&6;}
7162 with_system_kpathsea=no
7163 else
7164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Assuming installed \`kpathsea' headers and library" >&5
7165 printf "%s\n" "$as_me: Assuming installed \`kpathsea' headers and library" >&6;}
7166 with_system_kpathsea=yes
7167 fi
7168 ac_configure_args="$ac_configure_args '--with-system-kpathsea=$with_system_kpathsea'"
7169 fi
7170
7171 ## texk/kpathsea/ac/mktex.ac: configure.ac fragment for the TeX Live
7172 ## subdirectory texk/kpathsea.
7173 ## configure defaults for mktexfmt & Co.
7174 # Check whether --enable-mktexmf-default was given.
7175 if test ${enable_mktexmf_default+y}
7176 then :
7177 enableval=$enable_mktexmf_default;
7178 fi
7179 # Check whether --enable-mktexpk-default was given.
7180 if test ${enable_mktexpk_default+y}
7181 then :
7182 enableval=$enable_mktexpk_default;
7183 fi
7184 # Check whether --enable-mktextfm-default was given.
7185 if test ${enable_mktextfm_default+y}
7186 then :
7187 enableval=$enable_mktextfm_default;
7188 fi
7189 # Check whether --enable-mkocp-default was given.
7190 if test ${enable_mkocp_default+y}
7191 then :
7192 enableval=$enable_mkocp_default;
7193 fi
7194 # Check whether --enable-mkofm-default was given.
7195 if test ${enable_mkofm_default+y}
7196 then :
7197 enableval=$enable_mkofm_default;
7198 fi
7199 # Check whether --enable-mktexfmt-default was given.
7200 if test ${enable_mktexfmt_default+y}
7201 then :
7202 enableval=$enable_mktexfmt_default;
7203 fi
7204 # Check whether --enable-mktextex-default was given.
7205 if test ${enable_mktextex_default+y}
7206 then :
7207 enableval=$enable_mktextex_default;
7208 fi
7209
7210
7211
7212 # end of kpse_setup macro.
7213 echo 'tldbg:KPSE_SETUP done (toplevel=../)' >&5
7214
7215
7216
7217 am__api_version='1.18'
7218
7219
7220 # Find a good install program. We prefer a C program (faster),
7221 # so one script is as good as another. But avoid the broken or
7222 # incompatible versions:
7223 # SysV /etc/install, /usr/sbin/install
7224 # SunOS /usr/etc/install
7225 # IRIX /sbin/install
7226 # AIX /bin/install
7227 # AmigaOS /C/install, which installs bootblocks on floppy discs
7228 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
7229 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
7230 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
7231 # OS/2's system install, which has a completely different semantic
7232 # ./install, which can be erroneously created by make from ./install.sh.
7233 # Reject install programs that cannot install multiple files.
7234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
7235 printf %s "checking for a BSD-compatible install... " >&6; }
7236 if test -z "$INSTALL"; then
7237 if test ${ac_cv_path_install+y}
7238 then :
7239 printf %s "(cached) " >&6
7240 else case e in #(
7241 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7242 for as_dir in $PATH
7243 do
7244 IFS=$as_save_IFS
7245 case $as_dir in #(((
7246 '') as_dir=./ ;;
7247 */) ;;
7248 *) as_dir=$as_dir/ ;;
7249 esac
7250 # Account for fact that we put trailing slashes in our PATH walk.
7251 case $as_dir in #((
7252 ./ | /[cC]/* | \
7253 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
7254 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
7255 /usr/ucb/* ) ;;
7256 *)
7257 # OSF1 and SCO ODT 3.0 have their own names for install.
7258 # Don't use installbsd from OSF since it installs stuff as root
7259 # by default.
7260 for ac_prog in ginstall scoinst install; do
7261 for ac_exec_ext in '' $ac_executable_extensions; do
7262 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
7263 if test $ac_prog = install &&
7264 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
7265 # AIX install. It has an incompatible calling convention.
7266 :
7267 elif test $ac_prog = install &&
7268 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
7269 # program-specific install script used by HP pwplus--don't use.
7270 :
7271 else
7272 rm -rf conftest.one conftest.two conftest.dir
7273 echo one > conftest.one
7274 echo two > conftest.two
7275 mkdir conftest.dir
7276 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
7277 test -s conftest.one && test -s conftest.two &&
7278 test -s conftest.dir/conftest.one &&
7279 test -s conftest.dir/conftest.two
7280 then
7281 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
7282 break 3
7283 fi
7284 fi
7285 fi
7286 done
7287 done
7288 ;;
7289 esac
7290
7291 done
7292 IFS=$as_save_IFS
7293
7294 rm -rf conftest.one conftest.two conftest.dir
7295 ;;
7296 esac
7297 fi
7298 if test ${ac_cv_path_install+y}; then
7299 INSTALL=$ac_cv_path_install
7300 else
7301 # As a last resort, use the slow shell script. Don't cache a
7302 # value for INSTALL within a source directory, because that will
7303 # break other packages using the cache if that directory is
7304 # removed, or if the value is a relative name.
7305 INSTALL=$ac_install_sh
7306 fi
7307 fi
7308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
7309 printf "%s\n" "$INSTALL" >&6; }
7310
7311 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
7312 # It thinks the first close brace ends the variable substitution.
7313 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
7314
7315 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
7316
7317 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
7318
7319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
7320 printf %s "checking whether sleep supports fractional seconds... " >&6; }
7321 if test ${am_cv_sleep_fractional_seconds+y}
7322 then :
7323 printf %s "(cached) " >&6
7324 else case e in #(
7325 e) if sleep 0.001 2>/dev/null
7326 then :
7327 am_cv_sleep_fractional_seconds=yes
7328 else case e in #(
7329 e) am_cv_sleep_fractional_seconds=no ;;
7330 esac
7331 fi
7332 ;;
7333 esac
7334 fi
7335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
7336 printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; }
7337
7338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
7339 printf %s "checking filesystem timestamp resolution... " >&6; }
7340 if test ${am_cv_filesystem_timestamp_resolution+y}
7341 then :
7342 printf %s "(cached) " >&6
7343 else case e in #(
7344 e) # Default to the worst case.
7345 am_cv_filesystem_timestamp_resolution=2
7346
7347 # Only try to go finer than 1 sec if sleep can do it.
7348 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
7349 # - 1 sec is not much of a win compared to 2 sec, and
7350 # - it takes 2 seconds to perform the test whether 1 sec works.
7351 #
7352 # Instead, just use the default 2s on platforms that have 1s resolution,
7353 # accept the extra 1s delay when using $sleep in the Automake tests, in
7354 # exchange for not incurring the 2s delay for running the test for all
7355 # packages.
7356 #
7357 am_try_resolutions=
7358 if test "$am_cv_sleep_fractional_seconds" = yes; then
7359 # Even a millisecond often causes a bunch of false positives,
7360 # so just try a hundredth of a second. The time saved between .001 and
7361 # .01 is not terribly consequential.
7362 am_try_resolutions="0.01 0.1 $am_try_resolutions"
7363 fi
7364
7365 # In order to catch current-generation FAT out, we must *modify* files
7366 # that already exist; the *creation* timestamp is finer. Use names
7367 # that make ls -t sort them differently when they have equal
7368 # timestamps than when they have distinct timestamps, keeping
7369 # in mind that ls -t prints the *newest* file first.
7370 rm -f conftest.ts?
7371 : > conftest.ts1
7372 : > conftest.ts2
7373 : > conftest.ts3
7374
7375 # Make sure ls -t actually works. Do 'set' in a subshell so we don't
7376 # clobber the current shell's arguments. (Outer-level square brackets
7377 # are removed by m4; they're present so that m4 does not expand
7378 # <dollar><star>; be careful, easy to get confused.)
7379 if (
7380 set X `ls -t conftest.ts[12]` &&
7381 {
7382 test "$*" != "X conftest.ts1 conftest.ts2" ||
7383 test "$*" != "X conftest.ts2 conftest.ts1";
7384 }
7385 ); then :; else
7386 # If neither matched, then we have a broken ls. This can happen
7387 # if, for instance, CONFIG_SHELL is bash and it inherits a
7388 # broken ls alias from the environment. This has actually
7389 # happened. Such a system could not be considered "sane".
7390 printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
7391 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
7392 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
7393 as_fn_error $? "ls -t produces unexpected output.
7394 Make sure there is not a broken ls alias in your environment.
7395 See 'config.log' for more details" "$LINENO" 5; }
7396 fi
7397
7398 for am_try_res in $am_try_resolutions; do
7399 # Any one fine-grained sleep might happen to cross the boundary
7400 # between two values of a coarser actual resolution, but if we do
7401 # two fine-grained sleeps in a row, at least one of them will fall
7402 # entirely within a coarse interval.
7403 echo alpha > conftest.ts1
7404 sleep $am_try_res
7405 echo beta > conftest.ts2
7406 sleep $am_try_res
7407 echo gamma > conftest.ts3
7408
7409 # We assume that 'ls -t' will make use of high-resolution
7410 # timestamps if the operating system supports them at all.
7411 if (set X `ls -t conftest.ts?` &&
7412 test "$2" = conftest.ts3 &&
7413 test "$3" = conftest.ts2 &&
7414 test "$4" = conftest.ts1); then
7415 #
7416 # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
7417 # because we don't need to test make.
7418 make_ok=true
7419 if test $am_try_res != 1; then
7420 # But if we've succeeded so far with a subsecond resolution, we
7421 # have one more thing to check: make. It can happen that
7422 # everything else supports the subsecond mtimes, but make doesn't;
7423 # notably on macOS, which ships make 3.81 from 2006 (the last one
7424 # released under GPLv2). https://bugs.gnu.org/68808
7425 #
7426 # We test $MAKE if it is defined in the environment, else "make".
7427 # It might get overridden later, but our hope is that in practice
7428 # it does not matter: it is the system "make" which is (by far)
7429 # the most likely to be broken, whereas if the user overrides it,
7430 # probably they did so with a better, or at least not worse, make.
7431 # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
7432 #
7433 # Create a Makefile (real tab character here):
7434 rm -f conftest.mk
7435 echo 'conftest.ts1: conftest.ts2' >conftest.mk
7436 echo ' touch conftest.ts2' >>conftest.mk
7437 #
7438 # Now, running
7439 # touch conftest.ts1; touch conftest.ts2; make
7440 # should touch ts1 because ts2 is newer. This could happen by luck,
7441 # but most often, it will fail if make's support is insufficient. So
7442 # test for several consecutive successes.
7443 #
7444 # (We reuse conftest.ts[12] because we still want to modify existing
7445 # files, not create new ones, per above.)
7446 n=0
7447 make=${MAKE-make}
7448 until test $n -eq 3; do
7449 echo one > conftest.ts1
7450 sleep $am_try_res
7451 echo two > conftest.ts2 # ts2 should now be newer than ts1
7452 if $make -f conftest.mk | grep 'up to date' >/dev/null; then
7453 make_ok=false
7454 break # out of $n loop
7455 fi
7456 n=`expr $n + 1`
7457 done
7458 fi
7459 #
7460 if $make_ok; then
7461 # Everything we know to check worked out, so call this resolution good.
7462 am_cv_filesystem_timestamp_resolution=$am_try_res
7463 break # out of $am_try_res loop
7464 fi
7465 # Otherwise, we'll go on to check the next resolution.
7466 fi
7467 done
7468 rm -f conftest.ts?
7469 # (end _am_filesystem_timestamp_resolution)
7470 ;;
7471 esac
7472 fi
7473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
7474 printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; }
7475
7476 # This check should not be cached, as it may vary across builds of
7477 # different projects.
7478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
7479 printf %s "checking whether build environment is sane... " >&6; }
7480 # Reject unsafe characters in $srcdir or the absolute working directory
7481 # name. Accept space and tab only in the latter.
7482 am_lf='
7483 '
7484 case `pwd` in
7485 *[\\\"\#\$\&\'\`$am_lf]*)
7486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7487 printf "%s\n" "no" >&6; }
7488 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
7489 esac
7490 case $srcdir in
7491 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
7492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7493 printf "%s\n" "no" >&6; }
7494 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
7495 esac
7496
7497 # Do 'set' in a subshell so we don't clobber the current shell's
7498 # arguments. Must try -L first in case configure is actually a
7499 # symlink; some systems play weird games with the mod time of symlinks
7500 # (eg FreeBSD returns the mod time of the symlink's containing
7501 # directory).
7502 am_build_env_is_sane=no
7503 am_has_slept=no
7504 rm -f conftest.file
7505 for am_try in 1 2; do
7506 echo "timestamp, slept: $am_has_slept" > conftest.file
7507 if (
7508 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
7509 if test "$*" = "X"; then
7510 # -L didn't work.
7511 set X `ls -t "$srcdir/configure" conftest.file`
7512 fi
7513 test "$2" = conftest.file
7514 ); then
7515 am_build_env_is_sane=yes
7516 break
7517 fi
7518 # Just in case.
7519 sleep "$am_cv_filesystem_timestamp_resolution"
7520 am_has_slept=yes
7521 done
7522
7523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
7524 printf "%s\n" "$am_build_env_is_sane" >&6; }
7525 if test "$am_build_env_is_sane" = no; then
7526 as_fn_error $? "newly created file is older than distributed files!
7527 Check your system clock" "$LINENO" 5
7528 fi
7529
7530 # If we didn't sleep, we still need to ensure time stamps of config.status and
7531 # generated files are strictly newer.
7532 am_sleep_pid=
7533 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
7534 then :
7535
7536 else case e in #(
7537 e) ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
7538 am_sleep_pid=$!
7539 ;;
7540 esac
7541 fi
7542
7543 rm -f conftest.file
7544
7545 test "$program_prefix" != NONE &&
7546 program_transform_name="s&^&$program_prefix&;$program_transform_name"
7547 # Use a double $ so make ignores it.
7548 test "$program_suffix" != NONE &&
7549 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
7550 # Double any \ or $.
7551 # By default was 's,x,x', remove it if useless.
7552 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
7553 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
7554
7555
7556 if test x"${MISSING+set}" != xset; then
7557 MISSING="\${SHELL} '$am_aux_dir/missing'"
7558 fi
7559 # Use eval to expand $SHELL
7560 if eval "$MISSING --is-lightweight"; then
7561 am_missing_run="$MISSING "
7562 else
7563 am_missing_run=
7564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
7565 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
7566 fi
7567
7568 if test x"${install_sh+set}" != xset; then
7569 case $am_aux_dir in
7570 *\ * | *\ *)
7571 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
7572 *)
7573 install_sh="\${SHELL} $am_aux_dir/install-sh"
7574 esac
7575 fi
7576
7577 # Installed binaries are usually stripped using 'strip' when the user
7578 # run "make install-strip". However 'strip' might not be the right
7579 # tool to use in cross-compilation environments, therefore Automake
7580 # will honor the 'STRIP' environment variable to overrule this program.
7581 if test "$cross_compiling" != no; then
7582 if test -n "$ac_tool_prefix"; then
7583 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7584 set dummy ${ac_tool_prefix}strip; ac_word=$2
7585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7586 printf %s "checking for $ac_word... " >&6; }
7587 if test ${ac_cv_prog_STRIP+y}
7588 then :
7589 printf %s "(cached) " >&6
7590 else case e in #(
7591 e) if test -n "$STRIP"; then
7592 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7593 else
7594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7595 for as_dir in $PATH
7596 do
7597 IFS=$as_save_IFS
7598 case $as_dir in #(((
7599 '') as_dir=./ ;;
7600 */) ;;
7601 *) as_dir=$as_dir/ ;;
7602 esac
7603 for ac_exec_ext in '' $ac_executable_extensions; do
7604 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7605 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7606 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7607 break 2
7608 fi
7609 done
7610 done
7611 IFS=$as_save_IFS
7612
7613 fi ;;
7614 esac
7615 fi
7616 STRIP=$ac_cv_prog_STRIP
7617 if test -n "$STRIP"; then
7618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7619 printf "%s\n" "$STRIP" >&6; }
7620 else
7621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7622 printf "%s\n" "no" >&6; }
7623 fi
7624
7625
7626 fi
7627 if test -z "$ac_cv_prog_STRIP"; then
7628 ac_ct_STRIP=$STRIP
7629 # Extract the first word of "strip", so it can be a program name with args.
7630 set dummy strip; ac_word=$2
7631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7632 printf %s "checking for $ac_word... " >&6; }
7633 if test ${ac_cv_prog_ac_ct_STRIP+y}
7634 then :
7635 printf %s "(cached) " >&6
7636 else case e in #(
7637 e) if test -n "$ac_ct_STRIP"; then
7638 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7639 else
7640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7641 for as_dir in $PATH
7642 do
7643 IFS=$as_save_IFS
7644 case $as_dir in #(((
7645 '') as_dir=./ ;;
7646 */) ;;
7647 *) as_dir=$as_dir/ ;;
7648 esac
7649 for ac_exec_ext in '' $ac_executable_extensions; do
7650 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7651 ac_cv_prog_ac_ct_STRIP="strip"
7652 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7653 break 2
7654 fi
7655 done
7656 done
7657 IFS=$as_save_IFS
7658
7659 fi ;;
7660 esac
7661 fi
7662 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7663 if test -n "$ac_ct_STRIP"; then
7664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7665 printf "%s\n" "$ac_ct_STRIP" >&6; }
7666 else
7667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7668 printf "%s\n" "no" >&6; }
7669 fi
7670
7671 if test "x$ac_ct_STRIP" = x; then
7672 STRIP=":"
7673 else
7674 case $cross_compiling:$ac_tool_warned in
7675 yes:)
7676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7677 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7678 ac_tool_warned=yes ;;
7679 esac
7680 STRIP=$ac_ct_STRIP
7681 fi
7682 else
7683 STRIP="$ac_cv_prog_STRIP"
7684 fi
7685
7686 fi
7687 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
7688
7689
7690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
7691 printf %s "checking for a race-free mkdir -p... " >&6; }
7692 if test -z "$MKDIR_P"; then
7693 if test ${ac_cv_path_mkdir+y}
7694 then :
7695 printf %s "(cached) " >&6
7696 else case e in #(
7697 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7698 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
7699 do
7700 IFS=$as_save_IFS
7701 case $as_dir in #(((
7702 '') as_dir=./ ;;
7703 */) ;;
7704 *) as_dir=$as_dir/ ;;
7705 esac
7706 for ac_prog in mkdir gmkdir; do
7707 for ac_exec_ext in '' $ac_executable_extensions; do
7708 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
7709 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
7710 'mkdir ('*'coreutils) '* | \
7711 *'BusyBox '* | \
7712 'mkdir (fileutils) '4.1*)
7713 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
7714 break 3;;
7715 esac
7716 done
7717 done
7718 done
7719 IFS=$as_save_IFS
7720 ;;
7721 esac
7722 fi
7723
7724 test -d ./--version && rmdir ./--version
7725 if test ${ac_cv_path_mkdir+y}; then
7726 MKDIR_P="$ac_cv_path_mkdir -p"
7727 else
7728 # As a last resort, use plain mkdir -p,
7729 # in the hope it doesn't have the bugs of ancient mkdir.
7730 MKDIR_P='mkdir -p'
7731 fi
7732 fi
7733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
7734 printf "%s\n" "$MKDIR_P" >&6; }
7735
7736 for ac_prog in gawk mawk nawk awk
7737 do
7738 # Extract the first word of "$ac_prog", so it can be a program name with args.
7739 set dummy $ac_prog; ac_word=$2
7740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7741 printf %s "checking for $ac_word... " >&6; }
7742 if test ${ac_cv_prog_AWK+y}
7743 then :
7744 printf %s "(cached) " >&6
7745 else case e in #(
7746 e) if test -n "$AWK"; then
7747 ac_cv_prog_AWK="$AWK" # Let the user override the test.
7748 else
7749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7750 for as_dir in $PATH
7751 do
7752 IFS=$as_save_IFS
7753 case $as_dir in #(((
7754 '') as_dir=./ ;;
7755 */) ;;
7756 *) as_dir=$as_dir/ ;;
7757 esac
7758 for ac_exec_ext in '' $ac_executable_extensions; do
7759 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7760 ac_cv_prog_AWK="$ac_prog"
7761 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7762 break 2
7763 fi
7764 done
7765 done
7766 IFS=$as_save_IFS
7767
7768 fi ;;
7769 esac
7770 fi
7771 AWK=$ac_cv_prog_AWK
7772 if test -n "$AWK"; then
7773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
7774 printf "%s\n" "$AWK" >&6; }
7775 else
7776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7777 printf "%s\n" "no" >&6; }
7778 fi
7779
7780
7781 test -n "$AWK" && break
7782 done
7783
7784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
7785 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
7786 set x ${MAKE-make}
7787 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
7788 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
7789 then :
7790 printf %s "(cached) " >&6
7791 else case e in #(
7792 e) cat >conftest.make <<\_ACEOF
7793 SHELL = /bin/sh
7794 all:
7795 @echo '@@@%%%=$(MAKE)=@@@%%%'
7796 _ACEOF
7797 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7798 case `${MAKE-make} -f conftest.make 2>/dev/null` in
7799 *@@@%%%=?*=@@@%%%*)
7800 eval ac_cv_prog_make_${ac_make}_set=yes;;
7801 *)
7802 eval ac_cv_prog_make_${ac_make}_set=no;;
7803 esac
7804 rm -f conftest.make ;;
7805 esac
7806 fi
7807 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
7808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7809 printf "%s\n" "yes" >&6; }
7810 SET_MAKE=
7811 else
7812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7813 printf "%s\n" "no" >&6; }
7814 SET_MAKE="MAKE=${MAKE-make}"
7815 fi
7816
7817 rm -rf .tst 2>/dev/null
7818 mkdir .tst 2>/dev/null
7819 if test -d .tst; then
7820 am__leading_dot=.
7821 else
7822 am__leading_dot=_
7823 fi
7824 rmdir .tst 2>/dev/null
7825
7826 DEPDIR="${am__leading_dot}deps"
7827
7828 ac_config_commands="$ac_config_commands depfiles"
7829
7830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
7831 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
7832 cat > confinc.mk << 'END'
7833 am__doit:
7834 @echo this is the am__doit target >confinc.out
7835 .PHONY: am__doit
7836 END
7837 am__include="#"
7838 am__quote=
7839 # BSD make does it like this.
7840 echo '.include "confinc.mk" # ignored' > confmf.BSD
7841 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
7842 echo 'include confinc.mk # ignored' > confmf.GNU
7843 _am_result=no
7844 for s in GNU BSD; do
7845 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
7846 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
7847 ac_status=$?
7848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7849 (exit $ac_status); }
7850 case $?:`cat confinc.out 2>/dev/null` in #(
7851 '0:this is the am__doit target') :
7852 case $s in #(
7853 BSD) :
7854 am__include='.include' am__quote='"' ;; #(
7855 *) :
7856 am__include='include' am__quote='' ;;
7857 esac ;; #(
7858 *) :
7859 ;;
7860 esac
7861 if test "$am__include" != "#"; then
7862 _am_result="yes ($s style)"
7863 break
7864 fi
7865 done
7866 rm -f confinc.* confmf.*
7867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
7868 printf "%s\n" "${_am_result}" >&6; }
7869
7870 # Check whether --enable-dependency-tracking was given.
7871 if test ${enable_dependency_tracking+y}
7872 then :
7873 enableval=$enable_dependency_tracking;
7874 fi
7875
7876 if test "x$enable_dependency_tracking" != xno; then
7877 am_depcomp="$ac_aux_dir/depcomp"
7878 AMDEPBACKSLASH='\'
7879 am__nodep='_no'
7880 fi
7881 if test "x$enable_dependency_tracking" != xno; then
7882 AMDEP_TRUE=
7883 AMDEP_FALSE='#'
7884 else
7885 AMDEP_TRUE='#'
7886 AMDEP_FALSE=
7887 fi
7888
7889
7890 AM_DEFAULT_VERBOSITY=1
7891 # Check whether --enable-silent-rules was given.
7892 if test ${enable_silent_rules+y}
7893 then :
7894 enableval=$enable_silent_rules;
7895 fi
7896
7897 am_make=${MAKE-make}
7898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
7899 printf %s "checking whether $am_make supports nested variables... " >&6; }
7900 if test ${am_cv_make_support_nested_variables+y}
7901 then :
7902 printf %s "(cached) " >&6
7903 else case e in #(
7904 e) if printf "%s\n" 'TRUE=$(BAR$(V))
7905 BAR0=false
7906 BAR1=true
7907 V=1
7908 am__doit:
7909 @$(TRUE)
7910 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
7911 am_cv_make_support_nested_variables=yes
7912 else
7913 am_cv_make_support_nested_variables=no
7914 fi ;;
7915 esac
7916 fi
7917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
7918 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
7919 AM_BACKSLASH='\'
7920
7921 am__rm_f_notfound=
7922 if (rm -f && rm -fr && rm -rf) 2>/dev/null
7923 then :
7924
7925 else case e in #(
7926 e) am__rm_f_notfound='""' ;;
7927 esac
7928 fi
7929
7930
7931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
7932 printf %s "checking xargs -n works... " >&6; }
7933 if test ${am_cv_xargs_n_works+y}
7934 then :
7935 printf %s "(cached) " >&6
7936 else case e in #(
7937 e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
7938 3"
7939 then :
7940 am_cv_xargs_n_works=yes
7941 else case e in #(
7942 e) am_cv_xargs_n_works=no ;;
7943 esac
7944 fi ;;
7945 esac
7946 fi
7947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
7948 printf "%s\n" "$am_cv_xargs_n_works" >&6; }
7949 if test "$am_cv_xargs_n_works" = yes
7950 then :
7951 am__xargs_n='xargs -n'
7952 else case e in #(
7953 e) am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
7954 ;;
7955 esac
7956 fi
7957
7958 # Check whether --enable-compiler-warnings was given.
7959 if test ${enable_compiler_warnings+y}
7960 then :
7961 enableval=$enable_compiler_warnings;
7962 fi
7963 case $enable_compiler_warnings in #(
7964 no | min | yes | max | all) :
7965 ;; #(
7966 *) :
7967 if test "x$enable_maintainer_mode" = xyes
7968 then :
7969 enable_compiler_warnings=yes
7970 else case e in #(
7971 e) enable_compiler_warnings=min ;;
7972 esac
7973 fi ;;
7974 esac
7975
7976 echo 'tldbg:KPSE_BASIC called (pkg=utils, amopt=)' >&5
7977
7978 #
7979 # am_init_automake
7980 if test "`cd $srcdir && pwd`" != "`pwd`"; then
7981 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
7982 # is not polluted with repeated "-I."
7983 am__isrc=' -I$(srcdir)'
7984 # test to see if srcdir already configured
7985 if test -f $srcdir/config.status; then
7986 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
7987 fi
7988 fi
7989
7990 # test whether we have cygpath
7991 if test -z "$CYGPATH_W"; then
7992 if (cygpath --version) >/dev/null 2>/dev/null; then
7993 CYGPATH_W='cygpath -w'
7994 else
7995 CYGPATH_W=echo
7996 fi
7997 fi
7998
7999
8000 # Define the identity of the package.
8001 PACKAGE='tex-live-utils'
8002 VERSION='2026'
8003
8004
8005 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
8006
8007
8008 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
8009
8010 # Some tools Automake needs.
8011
8012 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
8013
8014
8015 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
8016
8017
8018 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
8019
8020
8021 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
8022
8023
8024 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
8025
8026 # For better backward compatibility. To be removed once Automake 1.9.x
8027 # dies out for good. For more background, see:
8028 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
8029 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
8030 mkdir_p='$(MKDIR_P)'
8031
8032 # We need awk for the "check" target (and possibly the TAP driver). The
8033 # system "awk" is bad on some platforms.
8034 # Always define AMTAR for backward compatibility. Yes, it's still used
8035 # in the wild :-( We should find a proper way to deprecate it ...
8036 AMTAR='$${TAR-tar}'
8037
8038
8039 # We'll loop over all known methods to create a tar archive until one works.
8040 _am_tools='gnutar plaintar pax cpio none'
8041
8042 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
8043 # There is notably a 21 bits limit for the UID and the GID. In fact,
8044 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
8045 # and bug#13588).
8046 am_max_uid=2097151 # 2^21 - 1
8047 am_max_gid=$am_max_uid
8048 # The $UID and $GID variables are not portable, so we need to resort
8049 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
8050 # below are definitely unexpected, so allow the users to see them
8051 # (that is, avoid stderr redirection).
8052 am_uid=`id -u || echo unknown`
8053 am_gid=`id -g || echo unknown`
8054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
8055 printf %s "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
8056 if test x$am_uid = xunknown; then
8057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&5
8058 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&2;}
8059 elif test $am_uid -le $am_max_uid; then
8060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8061 printf "%s\n" "yes" >&6; }
8062 else
8063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8064 printf "%s\n" "no" >&6; }
8065 _am_tools=none
8066 fi
8067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
8068 printf %s "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
8069 if test x$gm_gid = xunknown; then
8070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&5
8071 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&2;}
8072 elif test $am_gid -le $am_max_gid; then
8073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8074 printf "%s\n" "yes" >&6; }
8075 else
8076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8077 printf "%s\n" "no" >&6; }
8078 _am_tools=none
8079 fi
8080
8081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
8082 printf %s "checking how to create a ustar tar archive... " >&6; }
8083
8084 # Go ahead even if we have the value already cached. We do so because we
8085 # need to set the values for the 'am__tar' and 'am__untar' variables.
8086 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
8087
8088 for _am_tool in $_am_tools; do
8089 case $_am_tool in
8090 gnutar)
8091 for _am_tar in tar gnutar gtar; do
8092 { echo "$as_me:$LINENO: $_am_tar --version" >&5
8093 ($_am_tar --version) >&5 2>&5
8094 ac_status=$?
8095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8096 (exit $ac_status); } && break
8097 done
8098 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
8099 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
8100 am__untar="$_am_tar -xf -"
8101 ;;
8102 plaintar)
8103 # Must skip GNU tar: if it does not support --format= it doesn't create
8104 # ustar tarball either.
8105 (tar --version) >/dev/null 2>&1 && continue
8106 am__tar='tar chf - "$$tardir"'
8107 am__tar_='tar chf - "$tardir"'
8108 am__untar='tar xf -'
8109 ;;
8110 pax)
8111 am__tar='pax -L -x ustar -w "$$tardir"'
8112 am__tar_='pax -L -x ustar -w "$tardir"'
8113 am__untar='pax -r'
8114 ;;
8115 cpio)
8116 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
8117 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
8118 am__untar='cpio -i -H ustar -d'
8119 ;;
8120 none)
8121 am__tar=false
8122 am__tar_=false
8123 am__untar=false
8124 ;;
8125 esac
8126
8127 # If the value was cached, stop now. We just wanted to have am__tar
8128 # and am__untar set.
8129 test -n "${am_cv_prog_tar_ustar}" && break
8130
8131 # tar/untar a dummy directory, and stop if the command works.
8132 rm -rf conftest.dir
8133 mkdir conftest.dir
8134 echo GrepMe > conftest.dir/file
8135 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
8136 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
8137 ac_status=$?
8138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8139 (exit $ac_status); }
8140 rm -rf conftest.dir
8141 if test -s conftest.tar; then
8142 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
8143 ($am__untar <conftest.tar) >&5 2>&5
8144 ac_status=$?
8145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8146 (exit $ac_status); }
8147 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
8148 (cat conftest.dir/file) >&5 2>&5
8149 ac_status=$?
8150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8151 (exit $ac_status); }
8152 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
8153 fi
8154 done
8155 rm -rf conftest.dir
8156
8157 if test ${am_cv_prog_tar_ustar+y}
8158 then :
8159 printf %s "(cached) " >&6
8160 else case e in #(
8161 e) am_cv_prog_tar_ustar=$_am_tool ;;
8162 esac
8163 fi
8164
8165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
8166 printf "%s\n" "$am_cv_prog_tar_ustar" >&6; }
8167
8168
8169
8170
8171
8172 depcc="$CC" am_compiler_list=
8173
8174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
8175 printf %s "checking dependency style of $depcc... " >&6; }
8176 if test ${am_cv_CC_dependencies_compiler_type+y}
8177 then :
8178 printf %s "(cached) " >&6
8179 else case e in #(
8180 e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
8181 # We make a subdir and do the tests there. Otherwise we can end up
8182 # making bogus files that we don't know about and never remove. For
8183 # instance it was reported that on HP-UX the gcc test will end up
8184 # making a dummy file named 'D' -- because '-MD' means "put the output
8185 # in D".
8186 rm -rf conftest.dir
8187 mkdir conftest.dir
8188 # Copy depcomp to subdir because otherwise we won't find it if we're
8189 # using a relative directory.
8190 cp "$am_depcomp" conftest.dir
8191 cd conftest.dir
8192 # We will build objects and dependencies in a subdirectory because
8193 # it helps to detect inapplicable dependency modes. For instance
8194 # both Tru64's cc and ICC support -MD to output dependencies as a
8195 # side effect of compilation, but ICC will put the dependencies in
8196 # the current directory while Tru64 will put them in the object
8197 # directory.
8198 mkdir sub
8199
8200 am_cv_CC_dependencies_compiler_type=none
8201 if test "$am_compiler_list" = ""; then
8202 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
8203 fi
8204 am__universal=false
8205 case " $depcc " in #(
8206 *\ -arch\ *\ -arch\ *) am__universal=true ;;
8207 esac
8208
8209 for depmode in $am_compiler_list; do
8210 # Setup a source with many dependencies, because some compilers
8211 # like to wrap large dependency lists on column 80 (with \), and
8212 # we should not choose a depcomp mode which is confused by this.
8213 #
8214 # We need to recreate these files for each test, as the compiler may
8215 # overwrite some of them when testing with obscure command lines.
8216 # This happens at least with the AIX C compiler.
8217 : > sub/conftest.c
8218 for i in 1 2 3 4 5 6; do
8219 echo '#include "conftst'$i'.h"' >> sub/conftest.c
8220 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
8221 # Solaris 10 /bin/sh.
8222 echo '/* dummy */' > sub/conftst$i.h
8223 done
8224 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
8225
8226 # We check with '-c' and '-o' for the sake of the "dashmstdout"
8227 # mode. It turns out that the SunPro C++ compiler does not properly
8228 # handle '-M -o', and we need to detect this. Also, some Intel
8229 # versions had trouble with output in subdirs.
8230 am__obj=sub/conftest.${OBJEXT-o}
8231 am__minus_obj="-o $am__obj"
8232 case $depmode in
8233 gcc)
8234 # This depmode causes a compiler race in universal mode.
8235 test "$am__universal" = false || continue
8236 ;;
8237 nosideeffect)
8238 # After this tag, mechanisms are not by side-effect, so they'll
8239 # only be used when explicitly requested.
8240 if test "x$enable_dependency_tracking" = xyes; then
8241 continue
8242 else
8243 break
8244 fi
8245 ;;
8246 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
8247 # This compiler won't grok '-c -o', but also, the minuso test has
8248 # not run yet. These depmodes are late enough in the game, and
8249 # so weak that their functioning should not be impacted.
8250 am__obj=conftest.${OBJEXT-o}
8251 am__minus_obj=
8252 ;;
8253 none) break ;;
8254 esac
8255 if depmode=$depmode \
8256 source=sub/conftest.c object=$am__obj \
8257 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
8258 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
8259 >/dev/null 2>conftest.err &&
8260 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
8261 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
8262 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
8263 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
8264 # icc doesn't choke on unknown options, it will just issue warnings
8265 # or remarks (even with -Werror). So we grep stderr for any message
8266 # that says an option was ignored or not supported.
8267 # When given -MP, icc 7.0 and 7.1 complain thus:
8268 # icc: Command line warning: ignoring option '-M'; no argument required
8269 # The diagnosis changed in icc 8.0:
8270 # icc: Command line remark: option '-MP' not supported
8271 if (grep 'ignoring option' conftest.err ||
8272 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
8273 am_cv_CC_dependencies_compiler_type=$depmode
8274 break
8275 fi
8276 fi
8277 done
8278
8279 cd ..
8280 rm -rf conftest.dir
8281 else
8282 am_cv_CC_dependencies_compiler_type=none
8283 fi
8284 ;;
8285 esac
8286 fi
8287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
8288 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
8289 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
8290
8291 if
8292 test "x$enable_dependency_tracking" != xno \
8293 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
8294 am__fastdepCC_TRUE=
8295 am__fastdepCC_FALSE='#'
8296 else
8297 am__fastdepCC_TRUE='#'
8298 am__fastdepCC_FALSE=
8299 fi
8300
8301
8302 # Variables for tags utilities; see am/tags.am
8303 if test -z "$CTAGS"; then
8304 CTAGS=ctags
8305 fi
8306
8307 if test -z "$ETAGS"; then
8308 ETAGS=etags
8309 fi
8310
8311 if test -z "$CSCOPE"; then
8312 CSCOPE=cscope
8313 fi
8314
8315
8316
8317
8318
8319
8320
8321
8322 # am_maintainer_mode
8323
8324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
8325 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
8326 # Check whether --enable-maintainer-mode was given.
8327 if test ${enable_maintainer_mode+y}
8328 then :
8329 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
8330 else case e in #(
8331 e) USE_MAINTAINER_MODE=no ;;
8332 esac
8333 fi
8334
8335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
8336 printf "%s\n" "$USE_MAINTAINER_MODE" >&6; }
8337 if test $USE_MAINTAINER_MODE = yes; then
8338 MAINTAINER_MODE_TRUE=
8339 MAINTAINER_MODE_FALSE='#'
8340 else
8341 MAINTAINER_MODE_TRUE='#'
8342 MAINTAINER_MODE_FALSE=
8343 fi
8344
8345 MAINT=$MAINTAINER_MODE_TRUE
8346
8347
8348
8349 # See comments in kpse-setup.m4 about system extensions.
8350
8351
8352 # Check whether prototypes work.
8353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5
8354 printf %s "checking whether the compiler accepts prototypes... " >&6; }
8355 if test ${kb_cv_c_prototypes+y}
8356 then :
8357 printf %s "(cached) " >&6
8358 else case e in #(
8359 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8360 /* end confdefs.h. */
8361 #include <stdarg.h>
8362 int
8363 main (void)
8364 {
8365 extern void foo(int i,...);
8366 ;
8367 return 0;
8368 }
8369 _ACEOF
8370 if ac_fn_c_try_link "$LINENO"
8371 then :
8372 kb_cv_c_prototypes=yes
8373 else case e in #(
8374 e) kb_cv_c_prototypes=no ;;
8375 esac
8376 fi
8377 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8378 conftest$ac_exeext conftest.$ac_ext ;;
8379 esac
8380 fi
8381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5
8382 printf "%s\n" "$kb_cv_c_prototypes" >&6; }
8383 if test "x$kb_cv_c_prototypes" = xno; then
8384 as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5
8385 fi
8386
8387 # kpse_compiler_warnings options.
8388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
8389 printf %s "checking what warning flags to pass to the C compiler... " >&6; }
8390 if test ${kpse_cv_warning_cflags+y}
8391 then :
8392 printf %s "(cached) " >&6
8393 else case e in #(
8394 e) if test "x$GCC" = xyes; then
8395 kpse_cv_warning_cflags=
8396 if test "x$enable_compiler_warnings" != xno; then
8397 kpse_cv_warning_cflags="-Wimplicit -Wreturn-type"
8398 case `$CC -dumpversion` in #(
8399 3.4.* | 4.* | 5.*) :
8400 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #(
8401 *) :
8402 ;;
8403 esac
8404 case `$CC -dumpversion` in #(
8405 3.[234].* | 4.* | 5.*) :
8406 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #(
8407 *) :
8408 ;;
8409 esac
8410 if test "x$enable_compiler_warnings" != xmin; then
8411 kpse_cv_warning_cflags="-Wall -Wunused $kpse_cv_warning_cflags"
8412 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
8413 if test "x$enable_compiler_warnings" != xyes; then
8414 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
8415 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings"
8416 case `$CC -dumpversion` in #(
8417 3.4.* | 4.* | 5.*) :
8418 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;; #(
8419 *) :
8420 ;;
8421 esac
8422 if test "x$enable_compiler_warnings" != xmax; then
8423 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wshadow"
8424 fi
8425 fi
8426 fi
8427 fi
8428 elif test "x$enable_compiler_warnings" = xno; then
8429 kpse_cv_warning_cflags=
8430 else
8431 kpse_cv_warning_cflags= # FIXME: warning flags for non-GNU C compilers
8432 fi ;;
8433 esac
8434 fi
8435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5
8436 printf "%s\n" "$kpse_cv_warning_cflags" >&6; }
8437 WARNING_CFLAGS=$kpse_cv_warning_cflags
8438
8439
8440
8441
8442
8443
8444
8445 # end of kpse_basic macro.
8446 echo 'tldbg:KPSE_BASIC done (pkg=utils, amopt=)' >&5
8447
8448
8449
8450
8451 echo 'tldbg:KPSE_RECURSE_PROGS calling with: utils Utils' >&5
8452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Utils programs to build" >&5
8453 printf %s "checking for Utils programs to build... " >&6; }
8454 echo 'tldbg:_KPSE_RECURSE called: list=utils, text=Utils programs, cond=test "x$enable_[]Kpse_pkg" = xyes, prefix=.' >&5
8455 MAKE_SUBDIRS=
8456 CONF_SUBDIRS=
8457 echo 'tldbg:_KPSE_RECURSE checking: autosp' >&5
8458 if test -x $srcdir/autosp/configure; then
8459 echo 'tldbg:_KPSE_RECURSE have configure, adding to CONF_SUBDIRS: autosp' >&5
8460 CONF_SUBDIRS="$CONF_SUBDIRS autosp"
8461 if test "x$enable_autosp" = xyes; then
8462 echo 'tldbg:_KPSE_RECURSE test "x$enable_autosp" = xyes true, adding to MAKE_SUBDIRS: autosp' >&5
8463 MAKE_SUBDIRS="$MAKE_SUBDIRS autosp"
8464 else
8465 echo 'tldbg:_KPSE_RECURSE test "x$enable_autosp" = xyes false, omitting from MAKE_SUBDIRS: autosp' >&5
8466 fi
8467
8468 else
8469 echo 'tldbg:_KPSE_RECURSE omitting from CONF_SUBDIRS, no (executable) configure: '"$srcdir"'/autosp/configure' >&5
8470 fi
8471 echo 'tldbg:_KPSE_RECURSE checking: axodraw2' >&5
8472 if test -x $srcdir/axodraw2/configure; then
8473 echo 'tldbg:_KPSE_RECURSE have configure, adding to CONF_SUBDIRS: axodraw2' >&5
8474 CONF_SUBDIRS="$CONF_SUBDIRS axodraw2"
8475 if test "x$enable_axodraw2" = xyes; then
8476 echo 'tldbg:_KPSE_RECURSE test "x$enable_axodraw2" = xyes true, adding to MAKE_SUBDIRS: axodraw2' >&5
8477 MAKE_SUBDIRS="$MAKE_SUBDIRS axodraw2"
8478 else
8479 echo 'tldbg:_KPSE_RECURSE test "x$enable_axodraw2" = xyes false, omitting from MAKE_SUBDIRS: axodraw2' >&5
8480 fi
8481
8482 else
8483 echo 'tldbg:_KPSE_RECURSE omitting from CONF_SUBDIRS, no (executable) configure: '"$srcdir"'/axodraw2/configure' >&5
8484 fi
8485 echo 'tldbg:_KPSE_RECURSE checking: devnag' >&5
8486 if test -x $srcdir/devnag/configure; then
8487 echo 'tldbg:_KPSE_RECURSE have configure, adding to CONF_SUBDIRS: devnag' >&5
8488 CONF_SUBDIRS="$CONF_SUBDIRS devnag"
8489 if test "x$enable_devnag" = xyes; then
8490 echo 'tldbg:_KPSE_RECURSE test "x$enable_devnag" = xyes true, adding to MAKE_SUBDIRS: devnag' >&5
8491 MAKE_SUBDIRS="$MAKE_SUBDIRS devnag"
8492 else
8493 echo 'tldbg:_KPSE_RECURSE test "x$enable_devnag" = xyes false, omitting from MAKE_SUBDIRS: devnag' >&5
8494 fi
8495
8496 else
8497 echo 'tldbg:_KPSE_RECURSE omitting from CONF_SUBDIRS, no (executable) configure: '"$srcdir"'/devnag/configure' >&5
8498 fi
8499 echo 'tldbg:_KPSE_RECURSE checking: lacheck' >&5
8500 if test -x $srcdir/lacheck/configure; then
8501 echo 'tldbg:_KPSE_RECURSE have configure, adding to CONF_SUBDIRS: lacheck' >&5
8502 CONF_SUBDIRS="$CONF_SUBDIRS lacheck"
8503 if test "x$enable_lacheck" = xyes; then
8504 echo 'tldbg:_KPSE_RECURSE test "x$enable_lacheck" = xyes true, adding to MAKE_SUBDIRS: lacheck' >&5
8505 MAKE_SUBDIRS="$MAKE_SUBDIRS lacheck"
8506 else
8507 echo 'tldbg:_KPSE_RECURSE test "x$enable_lacheck" = xyes false, omitting from MAKE_SUBDIRS: lacheck' >&5
8508 fi
8509
8510 else
8511 echo 'tldbg:_KPSE_RECURSE omitting from CONF_SUBDIRS, no (executable) configure: '"$srcdir"'/lacheck/configure' >&5
8512 fi
8513 echo 'tldbg:_KPSE_RECURSE checking: m_tx' >&5
8514 if test -x $srcdir/m-tx/configure; then
8515 echo 'tldbg:_KPSE_RECURSE have configure, adding to CONF_SUBDIRS: m_tx' >&5
8516 CONF_SUBDIRS="$CONF_SUBDIRS m-tx"
8517 if test "x$enable_m_tx" = xyes; then
8518 echo 'tldbg:_KPSE_RECURSE test "x$enable_m_tx" = xyes true, adding to MAKE_SUBDIRS: m_tx' >&5
8519 MAKE_SUBDIRS="$MAKE_SUBDIRS m-tx"
8520 else
8521 echo 'tldbg:_KPSE_RECURSE test "x$enable_m_tx" = xyes false, omitting from MAKE_SUBDIRS: m-tx' >&5
8522 fi
8523
8524 else
8525 echo 'tldbg:_KPSE_RECURSE omitting from CONF_SUBDIRS, no (executable) configure: '"$srcdir"'/m-tx/configure' >&5
8526 fi
8527 echo 'tldbg:_KPSE_RECURSE checking: pmx' >&5
8528 if test -x $srcdir/pmx/configure; then
8529 echo 'tldbg:_KPSE_RECURSE have configure, adding to CONF_SUBDIRS: pmx' >&5
8530 CONF_SUBDIRS="$CONF_SUBDIRS pmx"
8531 if test "x$enable_pmx" = xyes; then
8532 echo 'tldbg:_KPSE_RECURSE test "x$enable_pmx" = xyes true, adding to MAKE_SUBDIRS: pmx' >&5
8533 MAKE_SUBDIRS="$MAKE_SUBDIRS pmx"
8534 else
8535 echo 'tldbg:_KPSE_RECURSE test "x$enable_pmx" = xyes false, omitting from MAKE_SUBDIRS: pmx' >&5
8536 fi
8537
8538 else
8539 echo 'tldbg:_KPSE_RECURSE omitting from CONF_SUBDIRS, no (executable) configure: '"$srcdir"'/pmx/configure' >&5
8540 fi
8541 echo 'tldbg:_KPSE_RECURSE checking: ps2eps' >&5
8542 if test -x $srcdir/ps2eps/configure; then
8543 echo 'tldbg:_KPSE_RECURSE have configure, adding to CONF_SUBDIRS: ps2eps' >&5
8544 CONF_SUBDIRS="$CONF_SUBDIRS ps2eps"
8545 if test "x$enable_ps2eps" = xyes; then
8546 echo 'tldbg:_KPSE_RECURSE test "x$enable_ps2eps" = xyes true, adding to MAKE_SUBDIRS: ps2eps' >&5
8547 MAKE_SUBDIRS="$MAKE_SUBDIRS ps2eps"
8548 else
8549 echo 'tldbg:_KPSE_RECURSE test "x$enable_ps2eps" = xyes false, omitting from MAKE_SUBDIRS: ps2eps' >&5
8550 fi
8551
8552 else
8553 echo 'tldbg:_KPSE_RECURSE omitting from CONF_SUBDIRS, no (executable) configure: '"$srcdir"'/ps2eps/configure' >&5
8554 fi
8555 echo 'tldbg:_KPSE_RECURSE checking: t1utils' >&5
8556 if test -x $srcdir/t1utils/configure; then
8557 echo 'tldbg:_KPSE_RECURSE have configure, adding to CONF_SUBDIRS: t1utils' >&5
8558 CONF_SUBDIRS="$CONF_SUBDIRS t1utils"
8559 if test "x$enable_t1utils" = xyes; then
8560 echo 'tldbg:_KPSE_RECURSE test "x$enable_t1utils" = xyes true, adding to MAKE_SUBDIRS: t1utils' >&5
8561 MAKE_SUBDIRS="$MAKE_SUBDIRS t1utils"
8562 else
8563 echo 'tldbg:_KPSE_RECURSE test "x$enable_t1utils" = xyes false, omitting from MAKE_SUBDIRS: t1utils' >&5
8564 fi
8565
8566 else
8567 echo 'tldbg:_KPSE_RECURSE omitting from CONF_SUBDIRS, no (executable) configure: '"$srcdir"'/t1utils/configure' >&5
8568 fi
8569 echo 'tldbg:_KPSE_RECURSE checking: texdoctk' >&5
8570 if test -x $srcdir/texdoctk/configure; then
8571 echo 'tldbg:_KPSE_RECURSE have configure, adding to CONF_SUBDIRS: texdoctk' >&5
8572 CONF_SUBDIRS="$CONF_SUBDIRS texdoctk"
8573 if test "x$enable_texdoctk" = xyes; then
8574 echo 'tldbg:_KPSE_RECURSE test "x$enable_texdoctk" = xyes true, adding to MAKE_SUBDIRS: texdoctk' >&5
8575 MAKE_SUBDIRS="$MAKE_SUBDIRS texdoctk"
8576 else
8577 echo 'tldbg:_KPSE_RECURSE test "x$enable_texdoctk" = xyes false, omitting from MAKE_SUBDIRS: texdoctk' >&5
8578 fi
8579
8580 else
8581 echo 'tldbg:_KPSE_RECURSE omitting from CONF_SUBDIRS, no (executable) configure: '"$srcdir"'/texdoctk/configure' >&5
8582 fi
8583 echo 'tldbg:_KPSE_RECURSE checking: tpic2pdftex' >&5
8584 if test -x $srcdir/tpic2pdftex/configure; then
8585 echo 'tldbg:_KPSE_RECURSE have configure, adding to CONF_SUBDIRS: tpic2pdftex' >&5
8586 CONF_SUBDIRS="$CONF_SUBDIRS tpic2pdftex"
8587 if test "x$enable_tpic2pdftex" = xyes; then
8588 echo 'tldbg:_KPSE_RECURSE test "x$enable_tpic2pdftex" = xyes true, adding to MAKE_SUBDIRS: tpic2pdftex' >&5
8589 MAKE_SUBDIRS="$MAKE_SUBDIRS tpic2pdftex"
8590 else
8591 echo 'tldbg:_KPSE_RECURSE test "x$enable_tpic2pdftex" = xyes false, omitting from MAKE_SUBDIRS: tpic2pdftex' >&5
8592 fi
8593
8594 else
8595 echo 'tldbg:_KPSE_RECURSE omitting from CONF_SUBDIRS, no (executable) configure: '"$srcdir"'/tpic2pdftex/configure' >&5
8596 fi
8597 echo 'tldbg:_KPSE_RECURSE checking: vlna' >&5
8598 if test -x $srcdir/vlna/configure; then
8599 echo 'tldbg:_KPSE_RECURSE have configure, adding to CONF_SUBDIRS: vlna' >&5
8600 CONF_SUBDIRS="$CONF_SUBDIRS vlna"
8601 if test "x$enable_vlna" = xyes; then
8602 echo 'tldbg:_KPSE_RECURSE test "x$enable_vlna" = xyes true, adding to MAKE_SUBDIRS: vlna' >&5
8603 MAKE_SUBDIRS="$MAKE_SUBDIRS vlna"
8604 else
8605 echo 'tldbg:_KPSE_RECURSE test "x$enable_vlna" = xyes false, omitting from MAKE_SUBDIRS: vlna' >&5
8606 fi
8607
8608 else
8609 echo 'tldbg:_KPSE_RECURSE omitting from CONF_SUBDIRS, no (executable) configure: '"$srcdir"'/vlna/configure' >&5
8610 fi
8611 echo 'tldbg:_KPSE_RECURSE checking: xindy' >&5
8612 if test -x $srcdir/xindy/configure; then
8613 echo 'tldbg:_KPSE_RECURSE have configure, adding to CONF_SUBDIRS: xindy' >&5
8614 CONF_SUBDIRS="$CONF_SUBDIRS xindy"
8615 if test "x$enable_xindy" = xyes; then
8616 echo 'tldbg:_KPSE_RECURSE test "x$enable_xindy" = xyes true, adding to MAKE_SUBDIRS: xindy' >&5
8617 MAKE_SUBDIRS="$MAKE_SUBDIRS xindy"
8618 else
8619 echo 'tldbg:_KPSE_RECURSE test "x$enable_xindy" = xyes false, omitting from MAKE_SUBDIRS: xindy' >&5
8620 fi
8621
8622 else
8623 echo 'tldbg:_KPSE_RECURSE omitting from CONF_SUBDIRS, no (executable) configure: '"$srcdir"'/xindy/configure' >&5
8624 fi
8625 echo 'tldbg:_KPSE_RECURSE checking: xml2pmx' >&5
8626 if test -x $srcdir/xml2pmx/configure; then
8627 echo 'tldbg:_KPSE_RECURSE have configure, adding to CONF_SUBDIRS: xml2pmx' >&5
8628 CONF_SUBDIRS="$CONF_SUBDIRS xml2pmx"
8629 if test "x$enable_xml2pmx" = xyes; then
8630 echo 'tldbg:_KPSE_RECURSE test "x$enable_xml2pmx" = xyes true, adding to MAKE_SUBDIRS: xml2pmx' >&5
8631 MAKE_SUBDIRS="$MAKE_SUBDIRS xml2pmx"
8632 else
8633 echo 'tldbg:_KPSE_RECURSE test "x$enable_xml2pmx" = xyes false, omitting from MAKE_SUBDIRS: xml2pmx' >&5
8634 fi
8635
8636 else
8637 echo 'tldbg:_KPSE_RECURSE omitting from CONF_SUBDIRS, no (executable) configure: '"$srcdir"'/xml2pmx/configure' >&5
8638 fi
8639 echo 'tldbg:_KPSE_RECURSE checking: xpdfopen' >&5
8640 if test -x $srcdir/xpdfopen/configure; then
8641 echo 'tldbg:_KPSE_RECURSE have configure, adding to CONF_SUBDIRS: xpdfopen' >&5
8642 CONF_SUBDIRS="$CONF_SUBDIRS xpdfopen"
8643 if test "x$enable_xpdfopen" = xyes; then
8644 echo 'tldbg:_KPSE_RECURSE test "x$enable_xpdfopen" = xyes true, adding to MAKE_SUBDIRS: xpdfopen' >&5
8645 MAKE_SUBDIRS="$MAKE_SUBDIRS xpdfopen"
8646 else
8647 echo 'tldbg:_KPSE_RECURSE test "x$enable_xpdfopen" = xyes false, omitting from MAKE_SUBDIRS: xpdfopen' >&5
8648 fi
8649
8650 else
8651 echo 'tldbg:_KPSE_RECURSE omitting from CONF_SUBDIRS, no (executable) configure: '"$srcdir"'/xpdfopen/configure' >&5
8652 fi
8653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAKE_SUBDIRS" >&5
8654 printf "%s\n" "$MAKE_SUBDIRS" >&6; }
8655 echo 'tldbg:_KPSE_RECURSE done (list=utils)' >&5
8656
8657
8658 ac_config_files="$ac_config_files Makefile"
8659
8660
8661 cat >confcache <<\_ACEOF
8662 # This file is a shell script that caches the results of configure
8663 # tests run on this system so they can be shared between configure
8664 # scripts and configure runs, see configure's option --config-cache.
8665 # It is not useful on other systems. If it contains results you don't
8666 # want to keep, you may remove or edit it.
8667 #
8668 # config.status only pays attention to the cache file if you give it
8669 # the --recheck option to rerun configure.
8670 #
8671 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
8672 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
8673 # following values.
8674
8675 _ACEOF
8676
8677 # The following way of writing the cache mishandles newlines in values,
8678 # but we know of no workaround that is simple, portable, and efficient.
8679 # So, we kill variables containing newlines.
8680 # Ultrix sh set writes to stderr and can't be redirected directly,
8681 # and sets the high bit in the cache file unless we assign to the vars.
8682 (
8683 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8684 eval ac_val=\$$ac_var
8685 case $ac_val in #(
8686 *${as_nl}*)
8687 case $ac_var in #(
8688 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
8689 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8690 esac
8691 case $ac_var in #(
8692 _ | IFS | as_nl) ;; #(
8693 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
8694 *) { eval $ac_var=; unset $ac_var;} ;;
8695 esac ;;
8696 esac
8697 done
8698
8699 (set) 2>&1 |
8700 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8701 *${as_nl}ac_space=\ *)
8702 # 'set' does not quote correctly, so add quotes: double-quote
8703 # substitution turns \\\\ into \\, and sed turns \\ into \.
8704 sed -n \
8705 "s/'/'\\\\''/g;
8706 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8707 ;; #(
8708 *)
8709 # 'set' quotes correctly as required by POSIX, so do not add quotes.
8710 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8711 ;;
8712 esac |
8713 sort
8714 ) |
8715 sed '
8716 /^ac_cv_env_/b end
8717 t clear
8718 :clear
8719 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
8720 t end
8721 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8722 :end' >>confcache
8723 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8724 if test -w "$cache_file"; then
8725 if test "x$cache_file" != "x/dev/null"; then
8726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8727 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
8728 if test ! -f "$cache_file" || test -h "$cache_file"; then
8729 cat confcache >"$cache_file"
8730 else
8731 case $cache_file in #(
8732 */* | ?:*)
8733 mv -f confcache "$cache_file"$$ &&
8734 mv -f "$cache_file"$$ "$cache_file" ;; #(
8735 *)
8736 mv -f confcache "$cache_file" ;;
8737 esac
8738 fi
8739 fi
8740 else
8741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8742 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
8743 fi
8744 fi
8745 rm -f confcache
8746
8747 test "x$prefix" = xNONE && prefix=$ac_default_prefix
8748 # Let make expand exec_prefix.
8749 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8750
8751 # Transform confdefs.h into DEFS.
8752 # Protect against shell expansion while executing Makefile rules.
8753 # Protect against Makefile macro expansion.
8754 #
8755 # If the first sed substitution is executed (which looks for macros that
8756 # take arguments), then branch to the quote section. Otherwise,
8757 # look for a macro that doesn't take arguments.
8758 ac_script='
8759 :mline
8760 /\\$/{
8761 N
8762 s,\\\n,,
8763 b mline
8764 }
8765 t clear
8766 :clear
8767 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
8768 t quote
8769 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
8770 t quote
8771 b any
8772 :quote
8773 s/[][ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
8774 s/\$/$$/g
8775 H
8776 :any
8777 ${
8778 g
8779 s/^\n//
8780 s/\n/ /g
8781 p
8782 }
8783 '
8784 DEFS=`sed -n "$ac_script" confdefs.h`
8785
8786
8787 ac_libobjs=
8788 ac_ltlibobjs=
8789 U=
8790 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8791 # 1. Remove the extension, and $U if already installed.
8792 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
8793 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
8794 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8795 # will be set to the directory where LIBOBJS objects are built.
8796 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8797 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
8798 done
8799 LIBOBJS=$ac_libobjs
8800
8801 LTLIBOBJS=$ac_ltlibobjs
8802
8803
8804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
8805 printf %s "checking that generated files are newer than configure... " >&6; }
8806 if test -n "$am_sleep_pid"; then
8807 # Hide warnings about reused PIDs.
8808 wait $am_sleep_pid 2>/dev/null
8809 fi
8810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
8811 printf "%s\n" "done" >&6; }
8812 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8813 as_fn_error $? "conditional \"AMDEP\" was never defined.
8814 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8815 fi
8816 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8817 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
8818 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8819 fi
8820 case $enable_silent_rules in # (((
8821 yes) AM_DEFAULT_VERBOSITY=0;;
8822 no) AM_DEFAULT_VERBOSITY=1;;
8823 esac
8824 if test $am_cv_make_support_nested_variables = yes; then
8825 AM_V='$(V)'
8826 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
8827 else
8828 AM_V=$AM_DEFAULT_VERBOSITY
8829 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
8830 fi
8831
8832 if test -n "$EXEEXT"; then
8833 am__EXEEXT_TRUE=
8834 am__EXEEXT_FALSE='#'
8835 else
8836 am__EXEEXT_TRUE='#'
8837 am__EXEEXT_FALSE=
8838 fi
8839
8840 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
8841 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
8842 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8843 fi
8844
8845 : "${CONFIG_STATUS=./config.status}"
8846 ac_write_fail=0
8847 ac_clean_files_save=$ac_clean_files
8848 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8850 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
8851 as_write_fail=0
8852 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
8853 #! $SHELL
8854 # Generated by $as_me.
8855 # Run this file to recreate the current configuration.
8856 # Compiler output produced by configure, useful for debugging
8857 # configure, is in config.log if it exists.
8858
8859 debug=false
8860 ac_cs_recheck=false
8861 ac_cs_silent=false
8862
8863 SHELL=\${CONFIG_SHELL-$SHELL}
8864 export SHELL
8865 _ASEOF
8866 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
8867 ## -------------------- ##
8868 ## M4sh Initialization. ##
8869 ## -------------------- ##
8870
8871 # Be more Bourne compatible
8872 DUALCASE=1; export DUALCASE # for MKS sh
8873 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
8874 then :
8875 emulate sh
8876 NULLCMD=:
8877 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8878 # is contrary to our usage. Disable this feature.
8879 alias -g '${1+"$@"}'='"$@"'
8880 setopt NO_GLOB_SUBST
8881 else case e in #(
8882 e) case `(set -o) 2>/dev/null` in #(
8883 *posix*) :
8884 set -o posix ;; #(
8885 *) :
8886 ;;
8887 esac ;;
8888 esac
8889 fi
8890
8891
8892
8893 # Reset variables that may have inherited troublesome values from
8894 # the environment.
8895
8896 # IFS needs to be set, to space, tab, and newline, in precisely that order.
8897 # (If _AS_PATH_WALK were called with IFS unset, it would have the
8898 # side effect of setting IFS to empty, thus disabling word splitting.)
8899 # Quoting is to prevent editors from complaining about space-tab.
8900 as_nl='
8901 '
8902 export as_nl
8903 IFS=" "" $as_nl"
8904
8905 PS1='$ '
8906 PS2='> '
8907 PS4='+ '
8908
8909 # Ensure predictable behavior from utilities with locale-dependent output.
8910 LC_ALL=C
8911 export LC_ALL
8912 LANGUAGE=C
8913 export LANGUAGE
8914
8915 # We cannot yet rely on "unset" to work, but we need these variables
8916 # to be unset--not just set to an empty or harmless value--now, to
8917 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
8918 # also avoids known problems related to "unset" and subshell syntax
8919 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
8920 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
8921 do eval test \${$as_var+y} \
8922 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
8923 done
8924
8925 # Ensure that fds 0, 1, and 2 are open.
8926 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
8927 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
8928 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
8929
8930 # The user is always right.
8931 if ${PATH_SEPARATOR+false} :; then
8932 PATH_SEPARATOR=:
8933 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8934 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8935 PATH_SEPARATOR=';'
8936 }
8937 fi
8938
8939
8940 # Find who we are. Look in the path if we contain no directory separator.
8941 as_myself=
8942 case $0 in #((
8943 *[\\/]* ) as_myself=$0 ;;
8944 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8945 for as_dir in $PATH
8946 do
8947 IFS=$as_save_IFS
8948 case $as_dir in #(((
8949 '') as_dir=./ ;;
8950 */) ;;
8951 *) as_dir=$as_dir/ ;;
8952 esac
8953 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
8954 done
8955 IFS=$as_save_IFS
8956
8957 ;;
8958 esac
8959 # We did not find ourselves, most probably we were run as 'sh COMMAND'
8960 # in which case we are not to be found in the path.
8961 if test "x$as_myself" = x; then
8962 as_myself=$0
8963 fi
8964 if test ! -f "$as_myself"; then
8965 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8966 exit 1
8967 fi
8968
8969
8970
8971 # as_fn_error STATUS ERROR [LINENO LOG_FD]
8972 # ----------------------------------------
8973 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8974 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8975 # script with STATUS, using 1 if that was 0.
8976 as_fn_error ()
8977 {
8978 as_status=$1; test $as_status -eq 0 && as_status=1
8979 if test "$4"; then
8980 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
8981 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
8982 fi
8983 printf "%s\n" "$as_me: error: $2" >&2
8984 as_fn_exit $as_status
8985 } # as_fn_error
8986
8987
8988 # as_fn_set_status STATUS
8989 # -----------------------
8990 # Set $? to STATUS, without forking.
8991 as_fn_set_status ()
8992 {
8993 return $1
8994 } # as_fn_set_status
8995
8996 # as_fn_exit STATUS
8997 # -----------------
8998 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
8999 as_fn_exit ()
9000 {
9001 set +e
9002 as_fn_set_status $1
9003 exit $1
9004 } # as_fn_exit
9005
9006 # as_fn_unset VAR
9007 # ---------------
9008 # Portably unset VAR.
9009 as_fn_unset ()
9010 {
9011 { eval $1=; unset $1;}
9012 }
9013 as_unset=as_fn_unset
9014
9015 # as_fn_append VAR VALUE
9016 # ----------------------
9017 # Append the text in VALUE to the end of the definition contained in VAR. Take
9018 # advantage of any shell optimizations that allow amortized linear growth over
9019 # repeated appends, instead of the typical quadratic growth present in naive
9020 # implementations.
9021 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
9022 then :
9023 eval 'as_fn_append ()
9024 {
9025 eval $1+=\$2
9026 }'
9027 else case e in #(
9028 e) as_fn_append ()
9029 {
9030 eval $1=\$$1\$2
9031 } ;;
9032 esac
9033 fi # as_fn_append
9034
9035 # as_fn_arith ARG...
9036 # ------------------
9037 # Perform arithmetic evaluation on the ARGs, and store the result in the
9038 # global $as_val. Take advantage of shells that can avoid forks. The arguments
9039 # must be portable across $(()) and expr.
9040 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
9041 then :
9042 eval 'as_fn_arith ()
9043 {
9044 as_val=$(( $* ))
9045 }'
9046 else case e in #(
9047 e) as_fn_arith ()
9048 {
9049 as_val=`expr "$@" || test $? -eq 1`
9050 } ;;
9051 esac
9052 fi # as_fn_arith
9053
9054
9055 if expr a : '\(a\)' >/dev/null 2>&1 &&
9056 test "X`expr 00001 : '.*\(...\)'`" = X001; then
9057 as_expr=expr
9058 else
9059 as_expr=false
9060 fi
9061
9062 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9063 as_basename=basename
9064 else
9065 as_basename=false
9066 fi
9067
9068 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
9069 as_dirname=dirname
9070 else
9071 as_dirname=false
9072 fi
9073
9074 as_me=`$as_basename -- "$0" ||
9075 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9076 X"$0" : 'X\(//\)$' \| \
9077 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9078 printf "%s\n" X/"$0" |
9079 sed '/^.*\/\([^/][^/]*\)\/*$/{
9080 s//\1/
9081 q
9082 }
9083 /^X\/\(\/\/\)$/{
9084 s//\1/
9085 q
9086 }
9087 /^X\/\(\/\).*/{
9088 s//\1/
9089 q
9090 }
9091 s/.*/./; q'`
9092
9093 # Avoid depending upon Character Ranges.
9094 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9095 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9096 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9097 as_cr_digits='0123456789'
9098 as_cr_alnum=$as_cr_Letters$as_cr_digits
9099
9100
9101 # Determine whether it's possible to make 'echo' print without a newline.
9102 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
9103 # for compatibility with existing Makefiles.
9104 ECHO_C= ECHO_N= ECHO_T=
9105 case `echo -n x` in #(((((
9106 -n*)
9107 case `echo 'xy\c'` in
9108 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
9109 xy) ECHO_C='\c';;
9110 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
9111 ECHO_T=' ';;
9112 esac;;
9113 *)
9114 ECHO_N='-n';;
9115 esac
9116
9117 # For backward compatibility with old third-party macros, we provide
9118 # the shell variables $as_echo and $as_echo_n. New code should use
9119 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
9120 as_echo='printf %s\n'
9121 as_echo_n='printf %s'
9122
9123 rm -f conf$$ conf$$.exe conf$$.file
9124 if test -d conf$$.dir; then
9125 rm -f conf$$.dir/conf$$.file
9126 else
9127 rm -f conf$$.dir
9128 mkdir conf$$.dir 2>/dev/null
9129 fi
9130 if (echo >conf$$.file) 2>/dev/null; then
9131 if ln -s conf$$.file conf$$ 2>/dev/null; then
9132 as_ln_s='ln -s'
9133 # ... but there are two gotchas:
9134 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
9135 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
9136 # In both cases, we have to default to 'cp -pR'.
9137 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
9138 as_ln_s='cp -pR'
9139 elif ln conf$$.file conf$$ 2>/dev/null; then
9140 as_ln_s=ln
9141 else
9142 as_ln_s='cp -pR'
9143 fi
9144 else
9145 as_ln_s='cp -pR'
9146 fi
9147 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
9148 rmdir conf$$.dir 2>/dev/null
9149
9150
9151 # as_fn_mkdir_p
9152 # -------------
9153 # Create "$as_dir" as a directory, including parents if necessary.
9154 as_fn_mkdir_p ()
9155 {
9156
9157 case $as_dir in #(
9158 -*) as_dir=./$as_dir;;
9159 esac
9160 test -d "$as_dir" || eval $as_mkdir_p || {
9161 as_dirs=
9162 while :; do
9163 case $as_dir in #(
9164 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9165 *) as_qdir=$as_dir;;
9166 esac
9167 as_dirs="'$as_qdir' $as_dirs"
9168 as_dir=`$as_dirname -- "$as_dir" ||
9169 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9170 X"$as_dir" : 'X\(//\)[^/]' \| \
9171 X"$as_dir" : 'X\(//\)$' \| \
9172 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9173 printf "%s\n" X"$as_dir" |
9174 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9175 s//\1/
9176 q
9177 }
9178 /^X\(\/\/\)[^/].*/{
9179 s//\1/
9180 q
9181 }
9182 /^X\(\/\/\)$/{
9183 s//\1/
9184 q
9185 }
9186 /^X\(\/\).*/{
9187 s//\1/
9188 q
9189 }
9190 s/.*/./; q'`
9191 test -d "$as_dir" && break
9192 done
9193 test -z "$as_dirs" || eval "mkdir $as_dirs"
9194 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
9195
9196
9197 } # as_fn_mkdir_p
9198 if mkdir -p . 2>/dev/null; then
9199 as_mkdir_p='mkdir -p "$as_dir"'
9200 else
9201 test -d ./-p && rmdir ./-p
9202 as_mkdir_p=false
9203 fi
9204
9205
9206 # as_fn_executable_p FILE
9207 # -----------------------
9208 # Test if FILE is an executable regular file.
9209 as_fn_executable_p ()
9210 {
9211 test -f "$1" && test -x "$1"
9212 } # as_fn_executable_p
9213 as_test_x='test -x'
9214 as_executable_p=as_fn_executable_p
9215
9216 # Sed expression to map a string onto a valid CPP name.
9217 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
9218 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
9219
9220 # Sed expression to map a string onto a valid variable name.
9221 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
9222 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
9223
9224
9225 exec 6>&1
9226 ## ----------------------------------- ##
9227 ## Main body of $CONFIG_STATUS script. ##
9228 ## ----------------------------------- ##
9229 _ASEOF
9230 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
9231
9232 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9233 # Save the log message, to keep $0 and so on meaningful, and to
9234 # report actual input values of CONFIG_FILES etc. instead of their
9235 # values after options handling.
9236 ac_log="
9237 This file was extended by TeX Live utils $as_me 2026, which was
9238 generated by GNU Autoconf 2.72. Invocation command line was
9239
9240 CONFIG_FILES = $CONFIG_FILES
9241 CONFIG_HEADERS = $CONFIG_HEADERS
9242 CONFIG_LINKS = $CONFIG_LINKS
9243 CONFIG_COMMANDS = $CONFIG_COMMANDS
9244 $ $0 $@
9245
9246 on `(hostname || uname -n) 2>/dev/null | sed 1q`
9247 "
9248
9249 _ACEOF
9250
9251 case $ac_config_files in *"
9252 "*) set x $ac_config_files; shift; ac_config_files=$*;;
9253 esac
9254
9255
9256
9257 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9258 # Files that config.status was made for.
9259 config_files="$ac_config_files"
9260 config_commands="$ac_config_commands"
9261
9262 _ACEOF
9263
9264 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9265 ac_cs_usage="\
9266 '$as_me' instantiates files and other configuration actions
9267 from templates according to the current configuration. Unless the files
9268 and actions are specified as TAGs, all are instantiated by default.
9269
9270 Usage: $0 [OPTION]... [TAG]...
9271
9272 -h, --help print this help, then exit
9273 -V, --version print version number and configuration settings, then exit
9274 --config print configuration, then exit
9275 -q, --quiet, --silent
9276 do not print progress messages
9277 -d, --debug don't remove temporary files
9278 --recheck update $as_me by reconfiguring in the same conditions
9279 --file=FILE[:TEMPLATE]
9280 instantiate the configuration file FILE
9281
9282 Configuration files:
9283 $config_files
9284
9285 Configuration commands:
9286 $config_commands
9287
9288 Report bugs to <[email protected]>."
9289
9290 _ACEOF
9291 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
9292 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
9293 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9294 ac_cs_config='$ac_cs_config_escaped'
9295 ac_cs_version="\\
9296 TeX Live utils config.status 2026
9297 configured by $0, generated by GNU Autoconf 2.72,
9298 with options \\"\$ac_cs_config\\"
9299
9300 Copyright (C) 2023 Free Software Foundation, Inc.
9301 This config.status script is free software; the Free Software Foundation
9302 gives unlimited permission to copy, distribute and modify it."
9303
9304 ac_pwd='$ac_pwd'
9305 srcdir='$srcdir'
9306 INSTALL='$INSTALL'
9307 MKDIR_P='$MKDIR_P'
9308 AWK='$AWK'
9309 test -n "\$AWK" || AWK=awk
9310 _ACEOF
9311
9312 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9313 # The default lists apply if the user does not specify any file.
9314 ac_need_defaults=:
9315 while test $# != 0
9316 do
9317 case $1 in
9318 --*=?*)
9319 ac_option=`expr "X$1" : 'X\([^=]*\)='`
9320 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
9321 ac_shift=:
9322 ;;
9323 --*=)
9324 ac_option=`expr "X$1" : 'X\([^=]*\)='`
9325 ac_optarg=
9326 ac_shift=:
9327 ;;
9328 *)
9329 ac_option=$1
9330 ac_optarg=$2
9331 ac_shift=shift
9332 ;;
9333 esac
9334
9335 case $ac_option in
9336 # Handling of the options.
9337 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9338 ac_cs_recheck=: ;;
9339 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
9340 printf "%s\n" "$ac_cs_version"; exit ;;
9341 --config | --confi | --conf | --con | --co | --c )
9342 printf "%s\n" "$ac_cs_config"; exit ;;
9343 --debug | --debu | --deb | --de | --d | -d )
9344 debug=: ;;
9345 --file | --fil | --fi | --f )
9346 $ac_shift
9347 case $ac_optarg in
9348 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9349 '') as_fn_error $? "missing file argument" ;;
9350 esac
9351 as_fn_append CONFIG_FILES " '$ac_optarg'"
9352 ac_need_defaults=false;;
9353 --he | --h | --help | --hel | -h )
9354 printf "%s\n" "$ac_cs_usage"; exit ;;
9355 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9356 | -silent | --silent | --silen | --sile | --sil | --si | --s)
9357 ac_cs_silent=: ;;
9358
9359 # This is an error.
9360 -*) as_fn_error $? "unrecognized option: '$1'
9361 Try '$0 --help' for more information." ;;
9362
9363 *) as_fn_append ac_config_targets " $1"
9364 ac_need_defaults=false ;;
9365
9366 esac
9367 shift
9368 done
9369
9370 ac_configure_extra_args=
9371
9372 if $ac_cs_silent; then
9373 exec 6>/dev/null
9374 ac_configure_extra_args="$ac_configure_extra_args --silent"
9375 fi
9376
9377 _ACEOF
9378 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9379 if \$ac_cs_recheck; then
9380 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9381 shift
9382 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
9383 CONFIG_SHELL='$SHELL'
9384 export CONFIG_SHELL
9385 exec "\$@"
9386 fi
9387
9388 _ACEOF
9389 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9390 exec 5>>config.log
9391 {
9392 echo
9393 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9394 ## Running $as_me. ##
9395 _ASBOX
9396 printf "%s\n" "$ac_log"
9397 } >&5
9398
9399 _ACEOF
9400 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9401 #
9402 # INIT-COMMANDS
9403 #
9404 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
9405
9406 _ACEOF
9407
9408 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9409
9410 # Handling of arguments.
9411 for ac_config_target in $ac_config_targets
9412 do
9413 case $ac_config_target in
9414 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
9415 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
9416
9417 *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
9418 esac
9419 done
9420
9421
9422 # If the user did not use the arguments to specify the items to instantiate,
9423 # then the envvar interface is used. Set only those that are not.
9424 # We use the long form for the default assignment because of an extremely
9425 # bizarre bug on SunOS 4.1.3.
9426 if $ac_need_defaults; then
9427 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
9428 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
9429 fi
9430
9431 # Have a temporary directory for convenience. Make it in the build tree
9432 # simply because there is no reason against having it here, and in addition,
9433 # creating and moving files from /tmp can sometimes cause problems.
9434 # Hook for its removal unless debugging.
9435 # Note that there is a small window in which the directory will not be cleaned:
9436 # after its creation but before its name has been assigned to '$tmp'.
9437 $debug ||
9438 {
9439 tmp= ac_tmp=
9440 trap 'exit_status=$?
9441 : "${ac_tmp:=$tmp}"
9442 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
9443 ' 0
9444 trap 'as_fn_exit 1' 1 2 13 15
9445 }
9446 # Create a (secure) tmp directory for tmp files.
9447
9448 {
9449 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9450 test -d "$tmp"
9451 } ||
9452 {
9453 tmp=./conf$$-$RANDOM
9454 (umask 077 && mkdir "$tmp")
9455 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
9456 ac_tmp=$tmp
9457
9458 # Set up the scripts for CONFIG_FILES section.
9459 # No need to generate them if there are no CONFIG_FILES.
9460 # This happens for instance with './config.status config.h'.
9461 if test -n "$CONFIG_FILES"; then
9462
9463
9464 ac_cr=`echo X | tr X '\015'`
9465 # On cygwin, bash can eat \r inside `` if the user requested igncr.
9466 # But we know of no other shell where ac_cr would be empty at this
9467 # point, so we can use a bashism as a fallback.
9468 if test "x$ac_cr" = x; then
9469 eval ac_cr=\$\'\\r\'
9470 fi
9471 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
9472 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
9473 ac_cs_awk_cr='\\r'
9474 else
9475 ac_cs_awk_cr=$ac_cr
9476 fi
9477
9478 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
9479 _ACEOF
9480
9481
9482 {
9483 echo "cat >conf$$subs.awk <<_ACEOF" &&
9484 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9485 echo "_ACEOF"
9486 } >conf$$subs.sh ||
9487 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9488 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
9489 ac_delim='%!_!# '
9490 for ac_last_try in false false false false false :; do
9491 . ./conf$$subs.sh ||
9492 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9493
9494 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
9495 if test $ac_delim_n = $ac_delim_num; then
9496 break
9497 elif $ac_last_try; then
9498 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9499 else
9500 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9501 fi
9502 done
9503 rm -f conf$$subs.sh
9504
9505 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9506 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
9507 _ACEOF
9508 sed -n '
9509 h
9510 s/^/S["/; s/!.*/"]=/
9511 p
9512 g
9513 s/^[^!]*!//
9514 :repl
9515 t repl
9516 s/'"$ac_delim"'$//
9517 t delim
9518 :nl
9519 h
9520 s/\(.\{148\}\)..*/\1/
9521 t more1
9522 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
9523 p
9524 n
9525 b repl
9526 :more1
9527 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9528 p
9529 g
9530 s/.\{148\}//
9531 t nl
9532 :delim
9533 h
9534 s/\(.\{148\}\)..*/\1/
9535 t more2
9536 s/["\\]/\\&/g; s/^/"/; s/$/"/
9537 p
9538 b
9539 :more2
9540 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9541 p
9542 g
9543 s/.\{148\}//
9544 t delim
9545 ' <conf$$subs.awk | sed '
9546 /^[^""]/{
9547 N
9548 s/\n//
9549 }
9550 ' >>$CONFIG_STATUS || ac_write_fail=1
9551 rm -f conf$$subs.awk
9552 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9553 _ACAWK
9554 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
9555 for (key in S) S_is_set[key] = 1
9556 FS = ""
9557
9558 }
9559 {
9560 line = $ 0
9561 nfields = split(line, field, "@")
9562 substed = 0
9563 len = length(field[1])
9564 for (i = 2; i < nfields; i++) {
9565 key = field[i]
9566 keylen = length(key)
9567 if (S_is_set[key]) {
9568 value = S[key]
9569 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
9570 len += length(value) + length(field[++i])
9571 substed = 1
9572 } else
9573 len += 1 + keylen
9574 }
9575
9576 print line
9577 }
9578
9579 _ACAWK
9580 _ACEOF
9581 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9582 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9583 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
9584 else
9585 cat
9586 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
9587 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
9588 _ACEOF
9589
9590 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
9591 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
9592 # trailing colons and then remove the whole line if VPATH becomes empty
9593 # (actually we leave an empty line to preserve line numbers).
9594 if test "x$srcdir" = x.; then
9595 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
9596 h
9597 s///
9598 s/^/:/
9599 s/[ ]*$/:/
9600 s/:\$(srcdir):/:/g
9601 s/:\${srcdir}:/:/g
9602 s/:@srcdir@:/:/g
9603 s/^:*//
9604 s/:*$//
9605 x
9606 s/\(=[ ]*\).*/\1/
9607 G
9608 s/\n//
9609 s/^[^=]*=[ ]*$//
9610 }'
9611 fi
9612
9613 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9614 fi # test -n "$CONFIG_FILES"
9615
9616
9617 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
9618 shift
9619 for ac_tag
9620 do
9621 case $ac_tag in
9622 :[FHLC]) ac_mode=$ac_tag; continue;;
9623 esac
9624 case $ac_mode$ac_tag in
9625 :[FHL]*:*);;
9626 :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
9627 :[FH]-) ac_tag=-:-;;
9628 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9629 esac
9630 ac_save_IFS=$IFS
9631 IFS=:
9632 set x $ac_tag
9633 IFS=$ac_save_IFS
9634 shift
9635 ac_file=$1
9636 shift
9637
9638 case $ac_mode in
9639 :L) ac_source=$1;;
9640 :[FH])
9641 ac_file_inputs=
9642 for ac_f
9643 do
9644 case $ac_f in
9645 -) ac_f="$ac_tmp/stdin";;
9646 *) # Look for the file first in the build tree, then in the source tree
9647 # (if the path is not absolute). The absolute path cannot be DOS-style,
9648 # because $ac_f cannot contain ':'.
9649 test -f "$ac_f" ||
9650 case $ac_f in
9651 [\\/$]*) false;;
9652 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9653 esac ||
9654 as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
9655 esac
9656 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9657 as_fn_append ac_file_inputs " '$ac_f'"
9658 done
9659
9660 # Let's still pretend it is 'configure' which instantiates (i.e., don't
9661 # use $as_me), people would be surprised to read:
9662 # /* config.h. Generated by config.status. */
9663 configure_input='Generated from '`
9664 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9665 `' by configure.'
9666 if test x"$ac_file" != x-; then
9667 configure_input="$ac_file. $configure_input"
9668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
9669 printf "%s\n" "$as_me: creating $ac_file" >&6;}
9670 fi
9671 # Neutralize special characters interpreted by sed in replacement strings.
9672 case $configure_input in #(
9673 *\&* | *\|* | *\\* )
9674 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
9675 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9676 *) ac_sed_conf_input=$configure_input;;
9677 esac
9678
9679 case $ac_tag in
9680 *:-:* | *:-) cat >"$ac_tmp/stdin" \
9681 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
9682 esac
9683 ;;
9684 esac
9685
9686 ac_dir=`$as_dirname -- "$ac_file" ||
9687 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9688 X"$ac_file" : 'X\(//\)[^/]' \| \
9689 X"$ac_file" : 'X\(//\)$' \| \
9690 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9691 printf "%s\n" X"$ac_file" |
9692 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9693 s//\1/
9694 q
9695 }
9696 /^X\(\/\/\)[^/].*/{
9697 s//\1/
9698 q
9699 }
9700 /^X\(\/\/\)$/{
9701 s//\1/
9702 q
9703 }
9704 /^X\(\/\).*/{
9705 s//\1/
9706 q
9707 }
9708 s/.*/./; q'`
9709 as_dir="$ac_dir"; as_fn_mkdir_p
9710 ac_builddir=.
9711
9712 case "$ac_dir" in
9713 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
9714 *)
9715 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
9716 # A ".." for each directory in $ac_dir_suffix.
9717 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9718 case $ac_top_builddir_sub in
9719 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
9720 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
9721 esac ;;
9722 esac
9723 ac_abs_top_builddir=$ac_pwd
9724 ac_abs_builddir=$ac_pwd$ac_dir_suffix
9725 # for backward compatibility:
9726 ac_top_builddir=$ac_top_build_prefix
9727
9728 case $srcdir in
9729 .) # We are building in place.
9730 ac_srcdir=.
9731 ac_top_srcdir=$ac_top_builddir_sub
9732 ac_abs_top_srcdir=$ac_pwd ;;
9733 [\\/]* | ?:[\\/]* ) # Absolute name.
9734 ac_srcdir=$srcdir$ac_dir_suffix;
9735 ac_top_srcdir=$srcdir
9736 ac_abs_top_srcdir=$srcdir ;;
9737 *) # Relative name.
9738 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
9739 ac_top_srcdir=$ac_top_build_prefix$srcdir
9740 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
9741 esac
9742 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
9743
9744
9745 case $ac_mode in
9746 :F)
9747 #
9748 # CONFIG_FILE
9749 #
9750
9751 case $INSTALL in
9752 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9753 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
9754 esac
9755 ac_MKDIR_P=$MKDIR_P
9756 case $MKDIR_P in
9757 [\\/$]* | ?:[\\/]* ) ;;
9758 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
9759 esac
9760 _ACEOF
9761
9762 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9763 # If the template does not know about datarootdir, expand it.
9764 # FIXME: This hack should be removed a few years after 2.60.
9765 ac_datarootdir_hack=; ac_datarootdir_seen=
9766 ac_sed_dataroot='
9767 /datarootdir/ {
9768 p
9769 q
9770 }
9771 /@datadir@/p
9772 /@docdir@/p
9773 /@infodir@/p
9774 /@localedir@/p
9775 /@mandir@/p'
9776 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9777 *datarootdir*) ac_datarootdir_seen=yes;;
9778 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
9779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9780 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9781 _ACEOF
9782 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9783 ac_datarootdir_hack='
9784 s&@datadir@&$datadir&g
9785 s&@docdir@&$docdir&g
9786 s&@infodir@&$infodir&g
9787 s&@localedir@&$localedir&g
9788 s&@mandir@&$mandir&g
9789 s&\\\${datarootdir}&$datarootdir&g' ;;
9790 esac
9791 _ACEOF
9792
9793 # Neutralize VPATH when '$srcdir' = '.'.
9794 # Shell code in configure.ac might set extrasub.
9795 # FIXME: do we really want to maintain this feature?
9796 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9797 ac_sed_extra="$ac_vpsub
9798 $extrasub
9799 _ACEOF
9800 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9801 :t
9802 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9803 s|@configure_input@|$ac_sed_conf_input|;t t
9804 s&@top_builddir@&$ac_top_builddir_sub&;t t
9805 s&@top_build_prefix@&$ac_top_build_prefix&;t t
9806 s&@srcdir@&$ac_srcdir&;t t
9807 s&@abs_srcdir@&$ac_abs_srcdir&;t t
9808 s&@top_srcdir@&$ac_top_srcdir&;t t
9809 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
9810 s&@builddir@&$ac_builddir&;t t
9811 s&@abs_builddir@&$ac_abs_builddir&;t t
9812 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9813 s&@INSTALL@&$ac_INSTALL&;t t
9814 s&@MKDIR_P@&$ac_MKDIR_P&;t t
9815 $ac_datarootdir_hack
9816 "
9817 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
9818 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9819
9820 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9821 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
9822 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
9823 "$ac_tmp/out"`; test -z "$ac_out"; } &&
9824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
9825 which seems to be undefined. Please make sure it is defined" >&5
9826 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
9827 which seems to be undefined. Please make sure it is defined" >&2;}
9828
9829 rm -f "$ac_tmp/stdin"
9830 case $ac_file in
9831 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
9832 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
9833 esac \
9834 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9835 ;;
9836
9837
9838 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
9839 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
9840 ;;
9841 esac
9842
9843
9844 case $ac_file$ac_mode in
9845 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
9846 # Older Autoconf quotes --file arguments for eval, but not when files
9847 # are listed without --file. Let's play safe and only enable the eval
9848 # if we detect the quoting.
9849 # TODO: see whether this extra hack can be removed once we start
9850 # requiring Autoconf 2.70 or later.
9851 case $CONFIG_FILES in #(
9852 *\'*) :
9853 eval set x "$CONFIG_FILES" ;; #(
9854 *) :
9855 set x $CONFIG_FILES ;; #(
9856 *) :
9857 ;;
9858 esac
9859 shift
9860 # Used to flag and report bootstrapping failures.
9861 am_rc=0
9862 for am_mf
9863 do
9864 # Strip MF so we end up with the name of the file.
9865 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
9866 # Check whether this is an Automake generated Makefile which includes
9867 # dependency-tracking related rules and includes.
9868 # Grep'ing the whole file directly is not great: AIX grep has a line
9869 # limit of 2048, but all sed's we know have understand at least 4000.
9870 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
9871 || continue
9872 am_dirpart=`$as_dirname -- "$am_mf" ||
9873 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9874 X"$am_mf" : 'X\(//\)[^/]' \| \
9875 X"$am_mf" : 'X\(//\)$' \| \
9876 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
9877 printf "%s\n" X"$am_mf" |
9878 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9879 s//\1/
9880 q
9881 }
9882 /^X\(\/\/\)[^/].*/{
9883 s//\1/
9884 q
9885 }
9886 /^X\(\/\/\)$/{
9887 s//\1/
9888 q
9889 }
9890 /^X\(\/\).*/{
9891 s//\1/
9892 q
9893 }
9894 s/.*/./; q'`
9895 am_filepart=`$as_basename -- "$am_mf" ||
9896 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
9897 X"$am_mf" : 'X\(//\)$' \| \
9898 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
9899 printf "%s\n" X/"$am_mf" |
9900 sed '/^.*\/\([^/][^/]*\)\/*$/{
9901 s//\1/
9902 q
9903 }
9904 /^X\/\(\/\/\)$/{
9905 s//\1/
9906 q
9907 }
9908 /^X\/\(\/\).*/{
9909 s//\1/
9910 q
9911 }
9912 s/.*/./; q'`
9913 { echo "$as_me:$LINENO: cd "$am_dirpart" \
9914 && sed -e '/# am--include-marker/d' "$am_filepart" \
9915 | $MAKE -f - am--depfiles" >&5
9916 (cd "$am_dirpart" \
9917 && sed -e '/# am--include-marker/d' "$am_filepart" \
9918 | $MAKE -f - am--depfiles) >&5 2>&5
9919 ac_status=$?
9920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9921 (exit $ac_status); } || am_rc=$?
9922 done
9923 if test $am_rc -ne 0; then
9924 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
9925 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
9926 as_fn_error $? "Something went wrong bootstrapping makefile fragments
9927 for automatic dependency tracking. If GNU make was not used, consider
9928 re-running the configure script with MAKE=\"gmake\" (or whatever is
9929 necessary). You can also try re-running configure with the
9930 '--disable-dependency-tracking' option to at least be able to build
9931 the package (albeit without support for automatic dependency tracking).
9932 See 'config.log' for more details" "$LINENO" 5; }
9933 fi
9934 { am_dirpart=; unset am_dirpart;}
9935 { am_filepart=; unset am_filepart;}
9936 { am_mf=; unset am_mf;}
9937 { am_rc=; unset am_rc;}
9938 rm -f conftest-deps.mk
9939 }
9940 ;;
9941
9942 esac
9943 done # for ac_tag
9944
9945
9946 as_fn_exit 0
9947 _ACEOF
9948 ac_clean_files=$ac_clean_files_save
9949
9950 test $ac_write_fail = 0 ||
9951 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
9952
9953
9954 # configure is writing to config.log, and then calls config.status.
9955 # config.status does its own redirection, appending to config.log.
9956 # Unfortunately, on DOS this fails, as config.log is still kept open
9957 # by configure, so config.status won't be able to write to it; its
9958 # output is simply discarded. So we exec the FD to /dev/null,
9959 # effectively closing config.log, so it can be properly (re)opened and
9960 # appended to by config.status. When coming back to configure, we
9961 # need to make the FD available again.
9962 if test "$no_create" != yes; then
9963 ac_cs_success=:
9964 ac_config_status_args=
9965 test "$silent" = yes &&
9966 ac_config_status_args="$ac_config_status_args --quiet"
9967 exec 5>/dev/null
9968 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9969 exec 5>>config.log
9970 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9971 # would make configure fail if this is the last instruction.
9972 $ac_cs_success || as_fn_exit 1
9973 fi
9974 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
9975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9976 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
9977 fi
9978
9979