beta-0.89.2
[luatex.git] / source / texk / configure
blob0896acc4310500c980ccf70d58544ea644986408
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for TeX Live texk 2016/dev.
5 # Report bugs to <peb@mppmu.mpg.de>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
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
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
201 if (eval "$as_required") 2>/dev/null; then :
202 as_have_required=yes
203 else
204 as_have_required=no
206 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208 else
209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
210 as_found=false
211 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213 IFS=$as_save_IFS
214 test -z "$as_dir" && as_dir=.
215 as_found=:
216 case $as_dir in #(
218 for as_base in sh bash ksh sh5; do
219 # Try only shells that exist, to save several forks.
220 as_shell=$as_dir/$as_base
221 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
222 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 CONFIG_SHELL=$as_shell as_have_required=yes
224 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
225 break 2
228 done;;
229 esac
230 as_found=false
231 done
232 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
233 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
235 fi; }
236 IFS=$as_save_IFS
239 if test "x$CONFIG_SHELL" != x; then :
240 export CONFIG_SHELL
241 # We cannot yet assume a decent shell, so we have to provide a
242 # neutralization value for shells without unset; and this also
243 # works around shells that cannot unset nonexistent variables.
244 # Preserve -v and -x to the replacement shell.
245 BASH_ENV=/dev/null
246 ENV=/dev/null
247 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
248 case $- in # ((((
249 *v*x* | *x*v* ) as_opts=-vx ;;
250 *v* ) as_opts=-v ;;
251 *x* ) as_opts=-x ;;
252 * ) as_opts= ;;
253 esac
254 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
255 # Admittedly, this is quite paranoid, since all the known shells bail
256 # out after a failed `exec'.
257 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
258 exit 255
261 if test x$as_have_required = xno; then :
262 $as_echo "$0: This script requires a shell more modern than all"
263 $as_echo "$0: the shells that I found on your system."
264 if test x${ZSH_VERSION+set} = xset ; then
265 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
266 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 else
268 $as_echo "$0: Please tell bug-autoconf@gnu.org and peb@mppmu.mpg.de
269 $0: about your system, including any error possibly output
270 $0: before this message. Then install a modern shell, or
271 $0: manually run the script under such a shell if you do
272 $0: have one."
274 exit 1
278 SHELL=${CONFIG_SHELL-/bin/sh}
279 export SHELL
280 # Unset more variables known to interfere with behavior of common tools.
281 CLICOLOR_FORCE= GREP_OPTIONS=
282 unset CLICOLOR_FORCE GREP_OPTIONS
284 ## --------------------- ##
285 ## M4sh Shell Functions. ##
286 ## --------------------- ##
287 # as_fn_unset VAR
288 # ---------------
289 # Portably unset VAR.
290 as_fn_unset ()
292 { eval $1=; unset $1;}
294 as_unset=as_fn_unset
296 # as_fn_set_status STATUS
297 # -----------------------
298 # Set $? to STATUS, without forking.
299 as_fn_set_status ()
301 return $1
302 } # as_fn_set_status
304 # as_fn_exit STATUS
305 # -----------------
306 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
307 as_fn_exit ()
309 set +e
310 as_fn_set_status $1
311 exit $1
312 } # as_fn_exit
314 # as_fn_mkdir_p
315 # -------------
316 # Create "$as_dir" as a directory, including parents if necessary.
317 as_fn_mkdir_p ()
320 case $as_dir in #(
321 -*) as_dir=./$as_dir;;
322 esac
323 test -d "$as_dir" || eval $as_mkdir_p || {
324 as_dirs=
325 while :; do
326 case $as_dir in #(
327 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 *) as_qdir=$as_dir;;
329 esac
330 as_dirs="'$as_qdir' $as_dirs"
331 as_dir=`$as_dirname -- "$as_dir" ||
332 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
333 X"$as_dir" : 'X\(//\)[^/]' \| \
334 X"$as_dir" : 'X\(//\)$' \| \
335 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
336 $as_echo X"$as_dir" |
337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
338 s//\1/
341 /^X\(\/\/\)[^/].*/{
342 s//\1/
345 /^X\(\/\/\)$/{
346 s//\1/
349 /^X\(\/\).*/{
350 s//\1/
353 s/.*/./; q'`
354 test -d "$as_dir" && break
355 done
356 test -z "$as_dirs" || eval "mkdir $as_dirs"
357 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
360 } # as_fn_mkdir_p
362 # as_fn_executable_p FILE
363 # -----------------------
364 # Test if FILE is an executable regular file.
365 as_fn_executable_p ()
367 test -f "$1" && test -x "$1"
368 } # as_fn_executable_p
369 # as_fn_append VAR VALUE
370 # ----------------------
371 # Append the text in VALUE to the end of the definition contained in VAR. Take
372 # advantage of any shell optimizations that allow amortized linear growth over
373 # repeated appends, instead of the typical quadratic growth present in naive
374 # implementations.
375 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
376 eval 'as_fn_append ()
378 eval $1+=\$2
380 else
381 as_fn_append ()
383 eval $1=\$$1\$2
385 fi # as_fn_append
387 # as_fn_arith ARG...
388 # ------------------
389 # Perform arithmetic evaluation on the ARGs, and store the result in the
390 # global $as_val. Take advantage of shells that can avoid forks. The arguments
391 # must be portable across $(()) and expr.
392 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
393 eval 'as_fn_arith ()
395 as_val=$(( $* ))
397 else
398 as_fn_arith ()
400 as_val=`expr "$@" || test $? -eq 1`
402 fi # as_fn_arith
405 # as_fn_error STATUS ERROR [LINENO LOG_FD]
406 # ----------------------------------------
407 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
408 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
409 # script with STATUS, using 1 if that was 0.
410 as_fn_error ()
412 as_status=$1; test $as_status -eq 0 && as_status=1
413 if test "$4"; then
414 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
415 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
417 $as_echo "$as_me: error: $2" >&2
418 as_fn_exit $as_status
419 } # as_fn_error
421 if expr a : '\(a\)' >/dev/null 2>&1 &&
422 test "X`expr 00001 : '.*\(...\)'`" = X001; then
423 as_expr=expr
424 else
425 as_expr=false
428 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
429 as_basename=basename
430 else
431 as_basename=false
434 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
435 as_dirname=dirname
436 else
437 as_dirname=false
440 as_me=`$as_basename -- "$0" ||
441 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
442 X"$0" : 'X\(//\)$' \| \
443 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
444 $as_echo X/"$0" |
445 sed '/^.*\/\([^/][^/]*\)\/*$/{
446 s//\1/
449 /^X\/\(\/\/\)$/{
450 s//\1/
453 /^X\/\(\/\).*/{
454 s//\1/
457 s/.*/./; q'`
459 # Avoid depending upon Character Ranges.
460 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
461 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
462 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
463 as_cr_digits='0123456789'
464 as_cr_alnum=$as_cr_Letters$as_cr_digits
467 as_lineno_1=$LINENO as_lineno_1a=$LINENO
468 as_lineno_2=$LINENO as_lineno_2a=$LINENO
469 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
470 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
471 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
472 sed -n '
474 /[$]LINENO/=
475 ' <$as_myself |
476 sed '
477 s/[$]LINENO.*/&-/
478 t lineno
480 :lineno
482 :loop
483 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
484 t loop
485 s/-\n.*//
486 ' >$as_me.lineno &&
487 chmod +x "$as_me.lineno" ||
488 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
490 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
491 # already done that, so ensure we don't try to do so again and fall
492 # in an infinite loop. This has already happened in practice.
493 _as_can_reexec=no; export _as_can_reexec
494 # Don't try to exec as it changes $[0], causing all sort of problems
495 # (the dirname of $[0] is not the place where we might find the
496 # original and so on. Autoconf is especially sensitive to this).
497 . "./$as_me.lineno"
498 # Exit status is that of the last command.
499 exit
502 ECHO_C= ECHO_N= ECHO_T=
503 case `echo -n x` in #(((((
504 -n*)
505 case `echo 'xy\c'` in
506 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
507 xy) ECHO_C='\c';;
508 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
509 ECHO_T=' ';;
510 esac;;
512 ECHO_N='-n';;
513 esac
515 rm -f conf$$ conf$$.exe conf$$.file
516 if test -d conf$$.dir; then
517 rm -f conf$$.dir/conf$$.file
518 else
519 rm -f conf$$.dir
520 mkdir conf$$.dir 2>/dev/null
522 if (echo >conf$$.file) 2>/dev/null; then
523 if ln -s conf$$.file conf$$ 2>/dev/null; then
524 as_ln_s='ln -s'
525 # ... but there are two gotchas:
526 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
527 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
528 # In both cases, we have to default to `cp -pR'.
529 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
530 as_ln_s='cp -pR'
531 elif ln conf$$.file conf$$ 2>/dev/null; then
532 as_ln_s=ln
533 else
534 as_ln_s='cp -pR'
536 else
537 as_ln_s='cp -pR'
539 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
540 rmdir conf$$.dir 2>/dev/null
542 if mkdir -p . 2>/dev/null; then
543 as_mkdir_p='mkdir -p "$as_dir"'
544 else
545 test -d ./-p && rmdir ./-p
546 as_mkdir_p=false
549 as_test_x='test -x'
550 as_executable_p=as_fn_executable_p
552 # Sed expression to map a string onto a valid CPP name.
553 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
555 # Sed expression to map a string onto a valid variable name.
556 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
559 test -n "$DJDIR" || exec 7<&0 </dev/null
560 exec 6>&1
562 # Name of the host.
563 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
564 # so uname gets run too.
565 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 # Initializations.
570 ac_default_prefix=/usr/local
571 ac_clean_files=
572 ac_config_libobj_dir=.
573 LIBOBJS=
574 cross_compiling=no
575 subdirs=
576 MFLAGS=
577 MAKEFLAGS=
579 # Identity of this package.
580 PACKAGE_NAME='TeX Live texk'
581 PACKAGE_TARNAME='tex-live-texk'
582 PACKAGE_VERSION='2016/dev'
583 PACKAGE_STRING='TeX Live texk 2016/dev'
584 PACKAGE_BUGREPORT='peb@mppmu.mpg.de'
585 PACKAGE_URL=''
587 ac_unique_file="../build-aux/missing"
588 enable_option_checking=no
589 ac_subst_vars='am__EXEEXT_FALSE
590 am__EXEEXT_TRUE
591 LTLIBOBJS
592 LIBOBJS
593 CONF_SUBDIRS
594 MAKE_SUBDIRS
595 subdirs
596 WARNING_CFLAGS
597 MAINT
598 MAINTAINER_MODE_FALSE
599 MAINTAINER_MODE_TRUE
600 AM_BACKSLASH
601 AM_DEFAULT_VERBOSITY
602 AM_DEFAULT_V
603 AM_V
604 am__fastdepCC_FALSE
605 am__fastdepCC_TRUE
606 CCDEPMODE
607 am__nodep
608 AMDEPBACKSLASH
609 AMDEP_FALSE
610 AMDEP_TRUE
611 am__quote
612 am__include
613 DEPDIR
614 am__untar
615 am__tar
616 AMTAR
617 am__leading_dot
618 SET_MAKE
620 mkdir_p
621 MKDIR_P
622 INSTALL_STRIP_PROGRAM
623 STRIP
624 install_sh
625 MAKEINFO
626 AUTOHEADER
627 AUTOMAKE
628 AUTOCONF
629 ACLOCAL
630 VERSION
631 PACKAGE
632 CYGPATH_W
633 am__isrc
634 INSTALL_DATA
635 INSTALL_SCRIPT
636 INSTALL_PROGRAM
637 OBJEXT
638 EXEEXT
639 ac_ct_CC
640 CPPFLAGS
641 LDFLAGS
642 CFLAGS
644 host_os
645 host_vendor
646 host_cpu
647 host
648 build_os
649 build_vendor
650 build_cpu
651 build
652 target_alias
653 host_alias
654 build_alias
655 LIBS
656 ECHO_T
657 ECHO_N
658 ECHO_C
659 DEFS
660 mandir
661 localedir
662 libdir
663 psdir
664 pdfdir
665 dvidir
666 htmldir
667 infodir
668 docdir
669 oldincludedir
670 includedir
671 localstatedir
672 sharedstatedir
673 sysconfdir
674 datadir
675 datarootdir
676 libexecdir
677 sbindir
678 bindir
679 program_transform_name
680 prefix
681 exec_prefix
682 PACKAGE_URL
683 PACKAGE_BUGREPORT
684 PACKAGE_STRING
685 PACKAGE_VERSION
686 PACKAGE_TARNAME
687 PACKAGE_NAME
688 PATH_SEPARATOR
689 SHELL'
690 ac_subst_files=''
691 ac_user_opts='
692 enable_option_checking
693 enable_missing
694 enable_all_pkgs
695 enable_native_texlive_build
696 enable_multiplatform
697 enable_cxx_runtime_hack
698 enable_libtool_hack
699 enable_web2c
700 with_banner_add
701 with_editor
702 enable_auto_core
703 enable_dump_share
704 enable_ipc
705 enable_tex
706 enable_tex_synctex
707 enable_etex
708 enable_etex_synctex
709 enable_ptex
710 enable_ptex_synctex
711 enable_eptex
712 enable_eptex_synctex
713 enable_uptex
714 enable_uptex_synctex
715 enable_euptex
716 enable_euptex_synctex
717 enable_aleph
718 enable_pdftex
719 enable_pdftex_synctex
720 enable_luatex
721 enable_luajittex
722 enable_mp
723 enable_pmp
724 enable_upmp
725 enable_xetex
726 enable_xetex_synctex
727 enable_mf
728 enable_mf_nowin
729 enable_mflua
730 enable_mflua_nowin
731 enable_mfluajit
732 enable_mfluajit_nowin
733 with_mf_x_toolkit
734 enable_epsfwin
735 enable_hp2627win
736 enable_mftalkwin
737 enable_nextwin
738 enable_regiswin
739 enable_suntoolswin
740 enable_tektronixwin
741 enable_unitermwin
742 enable_web_progs
743 enable_synctex
744 enable_texlive
745 enable_linked_scripts
746 with_system_zziplib
747 with_system_poppler
748 with_system_mpfr
749 with_mpfr_includes
750 with_mpfr_libdir
751 with_system_gmp
752 with_gmp_includes
753 with_gmp_libdir
754 with_system_cairo
755 with_system_pixman
756 with_system_libpng
757 with_system_zlib
758 with_zlib_includes
759 with_zlib_libdir
760 with_system_kpathsea
761 enable_mktexmf_default
762 enable_mktexpk_default
763 enable_mktextfm_default
764 enable_mkocp_default
765 enable_mkofm_default
766 enable_mktexfmt_default
767 enable_mktextex_default
768 enable_dependency_tracking
769 enable_silent_rules
770 enable_maintainer_mode
771 enable_compiler_warnings
773 ac_precious_vars='build_alias
774 host_alias
775 target_alias
777 CFLAGS
778 LDFLAGS
779 LIBS
780 CPPFLAGS'
781 ac_subdirs_all='web2c
782 texlive'
784 # Initialize some variables set by options.
785 ac_init_help=
786 ac_init_version=false
787 ac_unrecognized_opts=
788 ac_unrecognized_sep=
789 # The variables have the same names as the options, with
790 # dashes changed to underlines.
791 cache_file=/dev/null
792 exec_prefix=NONE
793 no_create=
794 no_recursion=
795 prefix=NONE
796 program_prefix=NONE
797 program_suffix=NONE
798 program_transform_name=s,x,x,
799 silent=
800 site=
801 srcdir=
802 verbose=
803 x_includes=NONE
804 x_libraries=NONE
806 # Installation directory options.
807 # These are left unexpanded so users can "make install exec_prefix=/foo"
808 # and all the variables that are supposed to be based on exec_prefix
809 # by default will actually change.
810 # Use braces instead of parens because sh, perl, etc. also accept them.
811 # (The list follows the same order as the GNU Coding Standards.)
812 bindir='${exec_prefix}/bin'
813 sbindir='${exec_prefix}/sbin'
814 libexecdir='${exec_prefix}/libexec'
815 datarootdir='${prefix}/share'
816 datadir='${datarootdir}'
817 sysconfdir='${prefix}/etc'
818 sharedstatedir='${prefix}/com'
819 localstatedir='${prefix}/var'
820 includedir='${prefix}/include'
821 oldincludedir='/usr/include'
822 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
823 infodir='${datarootdir}/info'
824 htmldir='${docdir}'
825 dvidir='${docdir}'
826 pdfdir='${docdir}'
827 psdir='${docdir}'
828 libdir='${exec_prefix}/lib'
829 localedir='${datarootdir}/locale'
830 mandir='${datarootdir}/man'
832 ac_prev=
833 ac_dashdash=
834 for ac_option
836 # If the previous option needs an argument, assign it.
837 if test -n "$ac_prev"; then
838 eval $ac_prev=\$ac_option
839 ac_prev=
840 continue
843 case $ac_option in
844 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
845 *=) ac_optarg= ;;
846 *) ac_optarg=yes ;;
847 esac
849 # Accept the important Cygnus configure options, so we can diagnose typos.
851 case $ac_dashdash$ac_option in
853 ac_dashdash=yes ;;
855 -bindir | --bindir | --bindi | --bind | --bin | --bi)
856 ac_prev=bindir ;;
857 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
858 bindir=$ac_optarg ;;
860 -build | --build | --buil | --bui | --bu)
861 ac_prev=build_alias ;;
862 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
863 build_alias=$ac_optarg ;;
865 -cache-file | --cache-file | --cache-fil | --cache-fi \
866 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
867 ac_prev=cache_file ;;
868 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
869 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
870 cache_file=$ac_optarg ;;
872 --config-cache | -C)
873 cache_file=config.cache ;;
875 -datadir | --datadir | --datadi | --datad)
876 ac_prev=datadir ;;
877 -datadir=* | --datadir=* | --datadi=* | --datad=*)
878 datadir=$ac_optarg ;;
880 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
881 | --dataroo | --dataro | --datar)
882 ac_prev=datarootdir ;;
883 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
884 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
885 datarootdir=$ac_optarg ;;
887 -disable-* | --disable-*)
888 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
889 # Reject names that are not valid shell variable names.
890 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
891 as_fn_error $? "invalid feature name: $ac_useropt"
892 ac_useropt_orig=$ac_useropt
893 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
894 case $ac_user_opts in
896 "enable_$ac_useropt"
897 "*) ;;
898 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
899 ac_unrecognized_sep=', ';;
900 esac
901 eval enable_$ac_useropt=no ;;
903 -docdir | --docdir | --docdi | --doc | --do)
904 ac_prev=docdir ;;
905 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
906 docdir=$ac_optarg ;;
908 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
909 ac_prev=dvidir ;;
910 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
911 dvidir=$ac_optarg ;;
913 -enable-* | --enable-*)
914 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
915 # Reject names that are not valid shell variable names.
916 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
917 as_fn_error $? "invalid feature name: $ac_useropt"
918 ac_useropt_orig=$ac_useropt
919 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
920 case $ac_user_opts in
922 "enable_$ac_useropt"
923 "*) ;;
924 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
925 ac_unrecognized_sep=', ';;
926 esac
927 eval enable_$ac_useropt=\$ac_optarg ;;
929 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
930 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
931 | --exec | --exe | --ex)
932 ac_prev=exec_prefix ;;
933 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
934 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
935 | --exec=* | --exe=* | --ex=*)
936 exec_prefix=$ac_optarg ;;
938 -gas | --gas | --ga | --g)
939 # Obsolete; use --with-gas.
940 with_gas=yes ;;
942 -help | --help | --hel | --he | -h)
943 ac_init_help=long ;;
944 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
945 ac_init_help=recursive ;;
946 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
947 ac_init_help=short ;;
949 -host | --host | --hos | --ho)
950 ac_prev=host_alias ;;
951 -host=* | --host=* | --hos=* | --ho=*)
952 host_alias=$ac_optarg ;;
954 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
955 ac_prev=htmldir ;;
956 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
957 | --ht=*)
958 htmldir=$ac_optarg ;;
960 -includedir | --includedir | --includedi | --included | --include \
961 | --includ | --inclu | --incl | --inc)
962 ac_prev=includedir ;;
963 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
964 | --includ=* | --inclu=* | --incl=* | --inc=*)
965 includedir=$ac_optarg ;;
967 -infodir | --infodir | --infodi | --infod | --info | --inf)
968 ac_prev=infodir ;;
969 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
970 infodir=$ac_optarg ;;
972 -libdir | --libdir | --libdi | --libd)
973 ac_prev=libdir ;;
974 -libdir=* | --libdir=* | --libdi=* | --libd=*)
975 libdir=$ac_optarg ;;
977 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
978 | --libexe | --libex | --libe)
979 ac_prev=libexecdir ;;
980 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
981 | --libexe=* | --libex=* | --libe=*)
982 libexecdir=$ac_optarg ;;
984 -localedir | --localedir | --localedi | --localed | --locale)
985 ac_prev=localedir ;;
986 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
987 localedir=$ac_optarg ;;
989 -localstatedir | --localstatedir | --localstatedi | --localstated \
990 | --localstate | --localstat | --localsta | --localst | --locals)
991 ac_prev=localstatedir ;;
992 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
993 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
994 localstatedir=$ac_optarg ;;
996 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
997 ac_prev=mandir ;;
998 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
999 mandir=$ac_optarg ;;
1001 -nfp | --nfp | --nf)
1002 # Obsolete; use --without-fp.
1003 with_fp=no ;;
1005 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1006 | --no-cr | --no-c | -n)
1007 no_create=yes ;;
1009 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1010 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1011 no_recursion=yes ;;
1013 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1014 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1015 | --oldin | --oldi | --old | --ol | --o)
1016 ac_prev=oldincludedir ;;
1017 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1018 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1019 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1020 oldincludedir=$ac_optarg ;;
1022 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1023 ac_prev=prefix ;;
1024 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1025 prefix=$ac_optarg ;;
1027 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1028 | --program-pre | --program-pr | --program-p)
1029 ac_prev=program_prefix ;;
1030 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1031 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1032 program_prefix=$ac_optarg ;;
1034 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1035 | --program-suf | --program-su | --program-s)
1036 ac_prev=program_suffix ;;
1037 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1038 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1039 program_suffix=$ac_optarg ;;
1041 -program-transform-name | --program-transform-name \
1042 | --program-transform-nam | --program-transform-na \
1043 | --program-transform-n | --program-transform- \
1044 | --program-transform | --program-transfor \
1045 | --program-transfo | --program-transf \
1046 | --program-trans | --program-tran \
1047 | --progr-tra | --program-tr | --program-t)
1048 ac_prev=program_transform_name ;;
1049 -program-transform-name=* | --program-transform-name=* \
1050 | --program-transform-nam=* | --program-transform-na=* \
1051 | --program-transform-n=* | --program-transform-=* \
1052 | --program-transform=* | --program-transfor=* \
1053 | --program-transfo=* | --program-transf=* \
1054 | --program-trans=* | --program-tran=* \
1055 | --progr-tra=* | --program-tr=* | --program-t=*)
1056 program_transform_name=$ac_optarg ;;
1058 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1059 ac_prev=pdfdir ;;
1060 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1061 pdfdir=$ac_optarg ;;
1063 -psdir | --psdir | --psdi | --psd | --ps)
1064 ac_prev=psdir ;;
1065 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1066 psdir=$ac_optarg ;;
1068 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1069 | -silent | --silent | --silen | --sile | --sil)
1070 silent=yes ;;
1072 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1073 ac_prev=sbindir ;;
1074 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1075 | --sbi=* | --sb=*)
1076 sbindir=$ac_optarg ;;
1078 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1079 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1080 | --sharedst | --shareds | --shared | --share | --shar \
1081 | --sha | --sh)
1082 ac_prev=sharedstatedir ;;
1083 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1084 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1085 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1086 | --sha=* | --sh=*)
1087 sharedstatedir=$ac_optarg ;;
1089 -site | --site | --sit)
1090 ac_prev=site ;;
1091 -site=* | --site=* | --sit=*)
1092 site=$ac_optarg ;;
1094 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1095 ac_prev=srcdir ;;
1096 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1097 srcdir=$ac_optarg ;;
1099 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1100 | --syscon | --sysco | --sysc | --sys | --sy)
1101 ac_prev=sysconfdir ;;
1102 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1103 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1104 sysconfdir=$ac_optarg ;;
1106 -target | --target | --targe | --targ | --tar | --ta | --t)
1107 ac_prev=target_alias ;;
1108 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1109 target_alias=$ac_optarg ;;
1111 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1112 verbose=yes ;;
1114 -version | --version | --versio | --versi | --vers | -V)
1115 ac_init_version=: ;;
1117 -with-* | --with-*)
1118 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1119 # Reject names that are not valid shell variable names.
1120 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1121 as_fn_error $? "invalid package name: $ac_useropt"
1122 ac_useropt_orig=$ac_useropt
1123 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1124 case $ac_user_opts in
1126 "with_$ac_useropt"
1127 "*) ;;
1128 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1129 ac_unrecognized_sep=', ';;
1130 esac
1131 eval with_$ac_useropt=\$ac_optarg ;;
1133 -without-* | --without-*)
1134 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1135 # Reject names that are not valid shell variable names.
1136 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1137 as_fn_error $? "invalid package name: $ac_useropt"
1138 ac_useropt_orig=$ac_useropt
1139 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1140 case $ac_user_opts in
1142 "with_$ac_useropt"
1143 "*) ;;
1144 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1145 ac_unrecognized_sep=', ';;
1146 esac
1147 eval with_$ac_useropt=no ;;
1149 --x)
1150 # Obsolete; use --with-x.
1151 with_x=yes ;;
1153 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1154 | --x-incl | --x-inc | --x-in | --x-i)
1155 ac_prev=x_includes ;;
1156 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1157 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1158 x_includes=$ac_optarg ;;
1160 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1161 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1162 ac_prev=x_libraries ;;
1163 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1164 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1165 x_libraries=$ac_optarg ;;
1167 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1168 Try \`$0 --help' for more information"
1171 *=*)
1172 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1173 # Reject names that are not valid shell variable names.
1174 case $ac_envvar in #(
1175 '' | [0-9]* | *[!_$as_cr_alnum]* )
1176 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1177 esac
1178 eval $ac_envvar=\$ac_optarg
1179 export $ac_envvar ;;
1182 # FIXME: should be removed in autoconf 3.0.
1183 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1184 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1185 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1186 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1189 esac
1190 done
1192 if test -n "$ac_prev"; then
1193 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1194 as_fn_error $? "missing argument to $ac_option"
1197 if test -n "$ac_unrecognized_opts"; then
1198 case $enable_option_checking in
1199 no) ;;
1200 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1201 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1202 esac
1205 # Check all directory arguments for consistency.
1206 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1207 datadir sysconfdir sharedstatedir localstatedir includedir \
1208 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1209 libdir localedir mandir
1211 eval ac_val=\$$ac_var
1212 # Remove trailing slashes.
1213 case $ac_val in
1214 */ )
1215 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1216 eval $ac_var=\$ac_val;;
1217 esac
1218 # Be sure to have absolute directory names.
1219 case $ac_val in
1220 [\\/$]* | ?:[\\/]* ) continue;;
1221 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1222 esac
1223 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1224 done
1226 # There might be people who depend on the old broken behavior: `$host'
1227 # used to hold the argument of --host etc.
1228 # FIXME: To remove some day.
1229 build=$build_alias
1230 host=$host_alias
1231 target=$target_alias
1233 # FIXME: To remove some day.
1234 if test "x$host_alias" != x; then
1235 if test "x$build_alias" = x; then
1236 cross_compiling=maybe
1237 elif test "x$build_alias" != "x$host_alias"; then
1238 cross_compiling=yes
1242 ac_tool_prefix=
1243 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1245 test "$silent" = yes && exec 6>/dev/null
1248 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1249 ac_ls_di=`ls -di .` &&
1250 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1251 as_fn_error $? "working directory cannot be determined"
1252 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1253 as_fn_error $? "pwd does not report name of working directory"
1256 # Find the source files, if location was not specified.
1257 if test -z "$srcdir"; then
1258 ac_srcdir_defaulted=yes
1259 # Try the directory containing this script, then the parent directory.
1260 ac_confdir=`$as_dirname -- "$as_myself" ||
1261 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1262 X"$as_myself" : 'X\(//\)[^/]' \| \
1263 X"$as_myself" : 'X\(//\)$' \| \
1264 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1265 $as_echo X"$as_myself" |
1266 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1267 s//\1/
1270 /^X\(\/\/\)[^/].*/{
1271 s//\1/
1274 /^X\(\/\/\)$/{
1275 s//\1/
1278 /^X\(\/\).*/{
1279 s//\1/
1282 s/.*/./; q'`
1283 srcdir=$ac_confdir
1284 if test ! -r "$srcdir/$ac_unique_file"; then
1285 srcdir=..
1287 else
1288 ac_srcdir_defaulted=no
1290 if test ! -r "$srcdir/$ac_unique_file"; then
1291 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1292 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1294 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1295 ac_abs_confdir=`(
1296 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1297 pwd)`
1298 # When building in place, set srcdir=.
1299 if test "$ac_abs_confdir" = "$ac_pwd"; then
1300 srcdir=.
1302 # Remove unnecessary trailing slashes from srcdir.
1303 # Double slashes in file names in object file debugging info
1304 # mess up M-x gdb in Emacs.
1305 case $srcdir in
1306 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1307 esac
1308 for ac_var in $ac_precious_vars; do
1309 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1310 eval ac_env_${ac_var}_value=\$${ac_var}
1311 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1312 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1313 done
1316 # Report the --help message.
1318 if test "$ac_init_help" = "long"; then
1319 # Omit some internal or obsolete options to make the list less imposing.
1320 # This message is too long to be a string in the A/UX 3.1 sh.
1321 cat <<_ACEOF
1322 \`configure' configures TeX Live texk 2016/dev to adapt to many kinds of systems.
1324 Usage: $0 [OPTION]... [VAR=VALUE]...
1326 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1327 VAR=VALUE. See below for descriptions of some of the useful variables.
1329 Defaults for the options are specified in brackets.
1331 Configuration:
1332 -h, --help display this help and exit
1333 --help=short display options specific to this package
1334 --help=recursive display the short help of all the included packages
1335 -V, --version display version information and exit
1336 -q, --quiet, --silent do not print \`checking ...' messages
1337 --cache-file=FILE cache test results in FILE [disabled]
1338 -C, --config-cache alias for \`--cache-file=config.cache'
1339 -n, --no-create do not create output files
1340 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1342 Installation directories:
1343 --prefix=PREFIX install architecture-independent files in PREFIX
1344 [$ac_default_prefix]
1345 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1346 [PREFIX]
1348 By default, \`make install' will install all the files in
1349 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1350 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1351 for instance \`--prefix=\$HOME'.
1353 For better control, use the options below.
1355 Fine tuning of the installation directories:
1356 --bindir=DIR user executables [EPREFIX/bin]
1357 --sbindir=DIR system admin executables [EPREFIX/sbin]
1358 --libexecdir=DIR program executables [EPREFIX/libexec]
1359 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1360 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1361 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1362 --libdir=DIR object code libraries [EPREFIX/lib]
1363 --includedir=DIR C header files [PREFIX/include]
1364 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1365 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1366 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1367 --infodir=DIR info documentation [DATAROOTDIR/info]
1368 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1369 --mandir=DIR man documentation [DATAROOTDIR/man]
1370 --docdir=DIR documentation root [DATAROOTDIR/doc/tex-live-texk]
1371 --htmldir=DIR html documentation [DOCDIR]
1372 --dvidir=DIR dvi documentation [DOCDIR]
1373 --pdfdir=DIR pdf documentation [DOCDIR]
1374 --psdir=DIR ps documentation [DOCDIR]
1375 _ACEOF
1377 cat <<\_ACEOF
1379 Program names:
1380 --program-prefix=PREFIX prepend PREFIX to installed program names
1381 --program-suffix=SUFFIX append SUFFIX to installed program names
1382 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1384 System types:
1385 --build=BUILD configure for building on BUILD [guessed]
1386 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1387 _ACEOF
1390 if test -n "$ac_init_help"; then
1391 case $ac_init_help in
1392 short | recursive ) echo "Configuration of TeX Live texk 2016/dev:";;
1393 esac
1394 cat <<\_ACEOF
1396 Optional Features:
1397 --disable-option-checking ignore unrecognized --enable/--with options
1398 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1399 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1400 --disable-missing terminate if a requested program or feature must be
1401 disabled, e.g., due to missing libraries
1402 --disable-all-pkgs do not build packages unless explicitly enabled
1403 --disable-native-texlive-build
1404 do not build for the TeX Live binary distribution
1405 --enable-multiplatform put executables into bin/PLATFORM and libraries into
1406 lib/PLATFORM
1407 --enable-cxx-runtime-hack link C++ runtime statically
1408 --enable-libtool-hack ignore libtool dependency_libs
1409 --disable-web2c do not build the web2c (TeX & Co.) package
1410 --enable-auto-core cause TeX&MF to dump core, given a certain
1411 filename
1412 --disable-dump-share make fmt/base files architecture-dependent
1413 --disable-ipc disable TeX's --ipc option, i.e., pipe to a
1414 program
1415 --disable-tex do not compile and install TeX
1416 --enable-tex-synctex build TeX with SyncTeX support
1417 --enable-etex compile and install e-TeX
1418 --disable-etex-synctex build e-TeX without SyncTeX support
1419 --disable-ptex do not compile and install pTeX
1420 --disable-ptex-synctex build pTeX without SyncTeX support
1421 --disable-eptex do not compile and install e-pTeX
1422 --disable-eptex-synctex build e-pTeX without SyncTeX support
1423 --disable-uptex do not compile and install upTeX
1424 --disable-uptex-synctex build upTeX without SyncTeX support
1425 --disable-euptex do not compile and install e-upTeX
1426 --disable-euptex-synctex build e-upTeX without SyncTeX support
1427 --disable-aleph do not compile and install Aleph
1428 --disable-pdftex do not compile and install pdfTeX
1429 --disable-pdftex-synctex build pdfTeX without SyncTeX support
1430 --disable-luatex do not compile and install LuaTeX
1431 --disable-luajittex do not compile and install LuaJITTeX
1432 --disable-mp do not compile and install MetaPost
1433 --disable-pmp do not compile and install pMetaPost
1434 --disable-upmp do not compile and install upMetaPost
1435 --disable-xetex do not compile and install XeTeX
1436 --disable-xetex-synctex build XeTeX without SyncTeX support
1437 --disable-mf do not compile and install METAFONT
1438 --disable-mf-nowin do not build a separate non-window-capable
1439 METAFONT
1440 --disable-mflua do not compile and install MFLua
1441 --enable-mflua-nowin build a separate non-window-capable MFLua
1442 --disable-mfluajit do not compile and install MFLuaJIT
1443 --enable-mfluajit-nowin build a separate non-window-capable MFLuaJIT
1444 --enable-epsfwin include EPSF pseudo window support
1445 --enable-hp2627win include HP 2627 window support
1446 --enable-mftalkwin include mftalk (generic server) window support
1447 --enable-nextwin include NeXT window support
1448 --enable-regiswin include Regis window support
1449 --enable-suntoolswin include old Suntools (not X) window support
1450 --enable-tektronixwin include Tektronix window support
1451 --enable-unitermwin include Uniterm window support
1452 --disable-web-progs do not build WEB programs bibtex ... weave
1453 --disable-synctex do not build the SyncTeX library and tool
1454 --disable-texlive do not build the texlive (TeX Live scripts) package
1455 --disable-linked-scripts do not install the linked scripts
1456 --disable-mktexmf-default do not run mktexmf if MF source missing
1457 --disable-mktexpk-default do not run mktexpk if PK font missing
1458 --disable-mktextfm-default do not run mktextfm if TFM file missing
1459 --disable-mkocp-default do not run mkocp if OCP file missing
1460 --disable-mkofm-default do not run mkofm if OFM file missing
1461 --disable-mktexfmt-default do not run mktexfmt if format file missing
1462 --enable-mktextex-default run mktextex if TeX source missing
1463 --enable-dependency-tracking
1464 do not reject slow dependency extractors
1465 --disable-dependency-tracking
1466 speeds up one-time build
1467 --enable-silent-rules less verbose build output (undo: "make V=1")
1468 --disable-silent-rules verbose build output (undo: "make V=0")
1469 --enable-maintainer-mode
1470 enable make rules and dependencies not useful (and
1471 sometimes confusing) to the casual installer
1472 --enable-compiler-warnings=[no|min|yes|max|all]
1473 Turn on compiler warnings [default: yes if
1474 maintainer-mode, min otherwise]
1476 Optional Packages:
1477 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1478 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1479 --with-banner-add=STR add STR to version string appended to banner lines
1480 --with-editor=CMD invoke CMD from the `e' option [vi +%d '%s'] or
1481 [texworks --position=%d "%s"]
1482 --with-mf-x-toolkit use X toolkit for METAFONT
1483 --with-system-zziplib use installed zziplib headers and library (requires
1484 pkg-config)
1485 --with-system-poppler use installed poppler headers and library (requires
1486 pkg-config)
1487 --with-system-mpfr use installed mpfr headers and library
1488 --with-mpfr-includes=DIR
1489 mpfr headers installed in DIR
1490 --with-mpfr-libdir=DIR mpfr library installed in DIR
1491 --with-system-gmp use installed gmp headers and library
1492 --with-gmp-includes=DIR gmp headers installed in DIR
1493 --with-gmp-libdir=DIR gmp library installed in DIR
1494 --with-system-cairo use installed cairo headers and library (requires
1495 pkg-config)
1496 --with-system-pixman use installed pixman headers and library (requires
1497 pkg-config)
1498 --with-system-libpng use installed libpng headers and library (requires
1499 pkg-config)
1500 --with-system-zlib use installed zlib headers and library
1501 --with-zlib-includes=DIR
1502 zlib headers installed in DIR
1503 --with-zlib-libdir=DIR zlib library installed in DIR
1504 --with-system-kpathsea use installed kpathsea headers and library (requires
1505 pkg-config)
1507 Some influential environment variables:
1508 CC C compiler command
1509 CFLAGS C compiler flags
1510 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1511 nonstandard directory <lib dir>
1512 LIBS libraries to pass to the linker, e.g. -l<library>
1513 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1514 you have headers in a nonstandard directory <include dir>
1516 Use these variables to override the choices made by `configure' or to help
1517 it to find libraries and programs with nonstandard names/locations.
1519 Report bugs to <peb@mppmu.mpg.de>.
1520 _ACEOF
1521 ac_status=$?
1524 if test "$ac_init_help" = "recursive"; then
1525 # If there are subdirs, report their specific --help.
1526 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1527 test -d "$ac_dir" ||
1528 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1529 continue
1530 ac_builddir=.
1532 case "$ac_dir" in
1533 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1535 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1536 # A ".." for each directory in $ac_dir_suffix.
1537 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1538 case $ac_top_builddir_sub in
1539 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1540 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1541 esac ;;
1542 esac
1543 ac_abs_top_builddir=$ac_pwd
1544 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1545 # for backward compatibility:
1546 ac_top_builddir=$ac_top_build_prefix
1548 case $srcdir in
1549 .) # We are building in place.
1550 ac_srcdir=.
1551 ac_top_srcdir=$ac_top_builddir_sub
1552 ac_abs_top_srcdir=$ac_pwd ;;
1553 [\\/]* | ?:[\\/]* ) # Absolute name.
1554 ac_srcdir=$srcdir$ac_dir_suffix;
1555 ac_top_srcdir=$srcdir
1556 ac_abs_top_srcdir=$srcdir ;;
1557 *) # Relative name.
1558 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1559 ac_top_srcdir=$ac_top_build_prefix$srcdir
1560 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1561 esac
1562 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1564 cd "$ac_dir" || { ac_status=$?; continue; }
1565 # Check for guested configure.
1566 if test -f "$ac_srcdir/configure.gnu"; then
1567 echo &&
1568 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1569 elif test -f "$ac_srcdir/configure"; then
1570 echo &&
1571 $SHELL "$ac_srcdir/configure" --help=recursive
1572 else
1573 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1574 fi || ac_status=$?
1575 cd "$ac_pwd" || { ac_status=$?; break; }
1576 done
1579 test -n "$ac_init_help" && exit $ac_status
1580 if $ac_init_version; then
1581 cat <<\_ACEOF
1582 TeX Live texk configure 2016/dev
1583 generated by GNU Autoconf 2.69
1585 Copyright (C) 2012 Free Software Foundation, Inc.
1586 This configure script is free software; the Free Software Foundation
1587 gives unlimited permission to copy, distribute and modify it.
1588 _ACEOF
1589 exit
1592 ## ------------------------ ##
1593 ## Autoconf initialization. ##
1594 ## ------------------------ ##
1596 # ac_fn_c_try_compile LINENO
1597 # --------------------------
1598 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1599 ac_fn_c_try_compile ()
1601 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1602 rm -f conftest.$ac_objext
1603 if { { ac_try="$ac_compile"
1604 case "(($ac_try" in
1605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1606 *) ac_try_echo=$ac_try;;
1607 esac
1608 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1609 $as_echo "$ac_try_echo"; } >&5
1610 (eval "$ac_compile") 2>conftest.err
1611 ac_status=$?
1612 if test -s conftest.err; then
1613 grep -v '^ *+' conftest.err >conftest.er1
1614 cat conftest.er1 >&5
1615 mv -f conftest.er1 conftest.err
1617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1618 test $ac_status = 0; } && {
1619 test -z "$ac_c_werror_flag" ||
1620 test ! -s conftest.err
1621 } && test -s conftest.$ac_objext; then :
1622 ac_retval=0
1623 else
1624 $as_echo "$as_me: failed program was:" >&5
1625 sed 's/^/| /' conftest.$ac_ext >&5
1627 ac_retval=1
1629 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1630 as_fn_set_status $ac_retval
1632 } # ac_fn_c_try_compile
1634 # ac_fn_c_try_link LINENO
1635 # -----------------------
1636 # Try to link conftest.$ac_ext, and return whether this succeeded.
1637 ac_fn_c_try_link ()
1639 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1640 rm -f conftest.$ac_objext conftest$ac_exeext
1641 if { { ac_try="$ac_link"
1642 case "(($ac_try" in
1643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1644 *) ac_try_echo=$ac_try;;
1645 esac
1646 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1647 $as_echo "$ac_try_echo"; } >&5
1648 (eval "$ac_link") 2>conftest.err
1649 ac_status=$?
1650 if test -s conftest.err; then
1651 grep -v '^ *+' conftest.err >conftest.er1
1652 cat conftest.er1 >&5
1653 mv -f conftest.er1 conftest.err
1655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1656 test $ac_status = 0; } && {
1657 test -z "$ac_c_werror_flag" ||
1658 test ! -s conftest.err
1659 } && test -s conftest$ac_exeext && {
1660 test "$cross_compiling" = yes ||
1661 test -x conftest$ac_exeext
1662 }; then :
1663 ac_retval=0
1664 else
1665 $as_echo "$as_me: failed program was:" >&5
1666 sed 's/^/| /' conftest.$ac_ext >&5
1668 ac_retval=1
1670 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1671 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1672 # interfere with the next link command; also delete a directory that is
1673 # left behind by Apple's compiler. We do this before executing the actions.
1674 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1675 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1676 as_fn_set_status $ac_retval
1678 } # ac_fn_c_try_link
1679 cat >config.log <<_ACEOF
1680 This file contains any messages produced by compilers while
1681 running configure, to aid debugging if configure makes a mistake.
1683 It was created by TeX Live texk $as_me 2016/dev, which was
1684 generated by GNU Autoconf 2.69. Invocation command line was
1686 $ $0 $@
1688 _ACEOF
1689 exec 5>>config.log
1691 cat <<_ASUNAME
1692 ## --------- ##
1693 ## Platform. ##
1694 ## --------- ##
1696 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1697 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1698 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1699 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1700 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1702 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1703 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1705 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1706 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1707 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1708 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1709 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1710 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1711 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1713 _ASUNAME
1715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1716 for as_dir in $PATH
1718 IFS=$as_save_IFS
1719 test -z "$as_dir" && as_dir=.
1720 $as_echo "PATH: $as_dir"
1721 done
1722 IFS=$as_save_IFS
1724 } >&5
1726 cat >&5 <<_ACEOF
1729 ## ----------- ##
1730 ## Core tests. ##
1731 ## ----------- ##
1733 _ACEOF
1736 # Keep a trace of the command line.
1737 # Strip out --no-create and --no-recursion so they do not pile up.
1738 # Strip out --silent because we don't want to record it for future runs.
1739 # Also quote any args containing shell meta-characters.
1740 # Make two passes to allow for proper duplicate-argument suppression.
1741 ac_configure_args=
1742 ac_configure_args0=
1743 ac_configure_args1=
1744 ac_must_keep_next=false
1745 for ac_pass in 1 2
1747 for ac_arg
1749 case $ac_arg in
1750 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1751 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1752 | -silent | --silent | --silen | --sile | --sil)
1753 continue ;;
1754 *\'*)
1755 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1756 esac
1757 case $ac_pass in
1758 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1760 as_fn_append ac_configure_args1 " '$ac_arg'"
1761 if test $ac_must_keep_next = true; then
1762 ac_must_keep_next=false # Got value, back to normal.
1763 else
1764 case $ac_arg in
1765 *=* | --config-cache | -C | -disable-* | --disable-* \
1766 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1767 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1768 | -with-* | --with-* | -without-* | --without-* | --x)
1769 case "$ac_configure_args0 " in
1770 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1771 esac
1773 -* ) ac_must_keep_next=true ;;
1774 esac
1776 as_fn_append ac_configure_args " '$ac_arg'"
1778 esac
1779 done
1780 done
1781 { ac_configure_args0=; unset ac_configure_args0;}
1782 { ac_configure_args1=; unset ac_configure_args1;}
1784 # When interrupted or exit'd, cleanup temporary files, and complete
1785 # config.log. We remove comments because anyway the quotes in there
1786 # would cause problems or look ugly.
1787 # WARNING: Use '\'' to represent an apostrophe within the trap.
1788 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1789 trap 'exit_status=$?
1790 # Save into config.log some information that might help in debugging.
1792 echo
1794 $as_echo "## ---------------- ##
1795 ## Cache variables. ##
1796 ## ---------------- ##"
1797 echo
1798 # The following way of writing the cache mishandles newlines in values,
1800 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1801 eval ac_val=\$$ac_var
1802 case $ac_val in #(
1803 *${as_nl}*)
1804 case $ac_var in #(
1805 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1806 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1807 esac
1808 case $ac_var in #(
1809 _ | IFS | as_nl) ;; #(
1810 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1811 *) { eval $ac_var=; unset $ac_var;} ;;
1812 esac ;;
1813 esac
1814 done
1815 (set) 2>&1 |
1816 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1817 *${as_nl}ac_space=\ *)
1818 sed -n \
1819 "s/'\''/'\''\\\\'\'''\''/g;
1820 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1821 ;; #(
1823 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1825 esac |
1826 sort
1828 echo
1830 $as_echo "## ----------------- ##
1831 ## Output variables. ##
1832 ## ----------------- ##"
1833 echo
1834 for ac_var in $ac_subst_vars
1836 eval ac_val=\$$ac_var
1837 case $ac_val in
1838 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1839 esac
1840 $as_echo "$ac_var='\''$ac_val'\''"
1841 done | sort
1842 echo
1844 if test -n "$ac_subst_files"; then
1845 $as_echo "## ------------------- ##
1846 ## File substitutions. ##
1847 ## ------------------- ##"
1848 echo
1849 for ac_var in $ac_subst_files
1851 eval ac_val=\$$ac_var
1852 case $ac_val in
1853 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1854 esac
1855 $as_echo "$ac_var='\''$ac_val'\''"
1856 done | sort
1857 echo
1860 if test -s confdefs.h; then
1861 $as_echo "## ----------- ##
1862 ## confdefs.h. ##
1863 ## ----------- ##"
1864 echo
1865 cat confdefs.h
1866 echo
1868 test "$ac_signal" != 0 &&
1869 $as_echo "$as_me: caught signal $ac_signal"
1870 $as_echo "$as_me: exit $exit_status"
1871 } >&5
1872 rm -f core *.core core.conftest.* &&
1873 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1874 exit $exit_status
1876 for ac_signal in 1 2 13 15; do
1877 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1878 done
1879 ac_signal=0
1881 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1882 rm -f -r conftest* confdefs.h
1884 $as_echo "/* confdefs.h */" > confdefs.h
1886 # Predefined preprocessor variables.
1888 cat >>confdefs.h <<_ACEOF
1889 #define PACKAGE_NAME "$PACKAGE_NAME"
1890 _ACEOF
1892 cat >>confdefs.h <<_ACEOF
1893 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1894 _ACEOF
1896 cat >>confdefs.h <<_ACEOF
1897 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1898 _ACEOF
1900 cat >>confdefs.h <<_ACEOF
1901 #define PACKAGE_STRING "$PACKAGE_STRING"
1902 _ACEOF
1904 cat >>confdefs.h <<_ACEOF
1905 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1906 _ACEOF
1908 cat >>confdefs.h <<_ACEOF
1909 #define PACKAGE_URL "$PACKAGE_URL"
1910 _ACEOF
1913 # Let the site file select an alternate cache file if it wants to.
1914 # Prefer an explicitly selected file to automatically selected ones.
1915 ac_site_file1=NONE
1916 ac_site_file2=NONE
1917 if test -n "$CONFIG_SITE"; then
1918 # We do not want a PATH search for config.site.
1919 case $CONFIG_SITE in #((
1920 -*) ac_site_file1=./$CONFIG_SITE;;
1921 */*) ac_site_file1=$CONFIG_SITE;;
1922 *) ac_site_file1=./$CONFIG_SITE;;
1923 esac
1924 elif test "x$prefix" != xNONE; then
1925 ac_site_file1=$prefix/share/config.site
1926 ac_site_file2=$prefix/etc/config.site
1927 else
1928 ac_site_file1=$ac_default_prefix/share/config.site
1929 ac_site_file2=$ac_default_prefix/etc/config.site
1931 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1933 test "x$ac_site_file" = xNONE && continue
1934 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1935 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1936 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1937 sed 's/^/| /' "$ac_site_file" >&5
1938 . "$ac_site_file" \
1939 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1940 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1941 as_fn_error $? "failed to load site script $ac_site_file
1942 See \`config.log' for more details" "$LINENO" 5; }
1944 done
1946 if test -r "$cache_file"; then
1947 # Some versions of bash will fail to source /dev/null (special files
1948 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1949 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1951 $as_echo "$as_me: loading cache $cache_file" >&6;}
1952 case $cache_file in
1953 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1954 *) . "./$cache_file";;
1955 esac
1957 else
1958 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1959 $as_echo "$as_me: creating cache $cache_file" >&6;}
1960 >$cache_file
1963 # Check that the precious variables saved in the cache have kept the same
1964 # value.
1965 ac_cache_corrupted=false
1966 for ac_var in $ac_precious_vars; do
1967 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1968 eval ac_new_set=\$ac_env_${ac_var}_set
1969 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1970 eval ac_new_val=\$ac_env_${ac_var}_value
1971 case $ac_old_set,$ac_new_set in
1972 set,)
1973 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1974 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1975 ac_cache_corrupted=: ;;
1976 ,set)
1977 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1978 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1979 ac_cache_corrupted=: ;;
1980 ,);;
1982 if test "x$ac_old_val" != "x$ac_new_val"; then
1983 # differences in whitespace do not lead to failure.
1984 ac_old_val_w=`echo x $ac_old_val`
1985 ac_new_val_w=`echo x $ac_new_val`
1986 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1988 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1989 ac_cache_corrupted=:
1990 else
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1992 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1993 eval $ac_var=\$ac_old_val
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1996 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1997 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1998 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1999 fi;;
2000 esac
2001 # Pass precious variables to config.status.
2002 if test "$ac_new_set" = set; then
2003 case $ac_new_val in
2004 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2005 *) ac_arg=$ac_var=$ac_new_val ;;
2006 esac
2007 case " $ac_configure_args " in
2008 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2009 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2010 esac
2012 done
2013 if $ac_cache_corrupted; then
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2015 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2016 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2017 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2018 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2020 ## -------------------- ##
2021 ## Main body of script. ##
2022 ## -------------------- ##
2024 ac_ext=c
2025 ac_cpp='$CPP $CPPFLAGS'
2026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2033 ac_aux_dir=
2034 for ac_dir in ../build-aux "$srcdir"/../build-aux; do
2035 if test -f "$ac_dir/install-sh"; then
2036 ac_aux_dir=$ac_dir
2037 ac_install_sh="$ac_aux_dir/install-sh -c"
2038 break
2039 elif test -f "$ac_dir/install.sh"; then
2040 ac_aux_dir=$ac_dir
2041 ac_install_sh="$ac_aux_dir/install.sh -c"
2042 break
2043 elif test -f "$ac_dir/shtool"; then
2044 ac_aux_dir=$ac_dir
2045 ac_install_sh="$ac_aux_dir/shtool install -c"
2046 break
2048 done
2049 if test -z "$ac_aux_dir"; then
2050 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../build-aux \"$srcdir\"/../build-aux" "$LINENO" 5
2053 # These three variables are undocumented and unsupported,
2054 # and are intended to be withdrawn in a future Autoconf release.
2055 # They can cause serious problems if a builder's source tree is in a directory
2056 # whose full name contains unusual characters.
2057 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2058 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2059 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2064 # Make sure we can run config.sub.
2065 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2066 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2069 $as_echo_n "checking build system type... " >&6; }
2070 if ${ac_cv_build+:} false; then :
2071 $as_echo_n "(cached) " >&6
2072 else
2073 ac_build_alias=$build_alias
2074 test "x$ac_build_alias" = x &&
2075 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2076 test "x$ac_build_alias" = x &&
2077 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2078 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2079 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2083 $as_echo "$ac_cv_build" >&6; }
2084 case $ac_cv_build in
2085 *-*-*) ;;
2086 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2087 esac
2088 build=$ac_cv_build
2089 ac_save_IFS=$IFS; IFS='-'
2090 set x $ac_cv_build
2091 shift
2092 build_cpu=$1
2093 build_vendor=$2
2094 shift; shift
2095 # Remember, the first character of IFS is used to create $*,
2096 # except with old shells:
2097 build_os=$*
2098 IFS=$ac_save_IFS
2099 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2103 $as_echo_n "checking host system type... " >&6; }
2104 if ${ac_cv_host+:} false; then :
2105 $as_echo_n "(cached) " >&6
2106 else
2107 if test "x$host_alias" = x; then
2108 ac_cv_host=$ac_cv_build
2109 else
2110 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2111 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2116 $as_echo "$ac_cv_host" >&6; }
2117 case $ac_cv_host in
2118 *-*-*) ;;
2119 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2120 esac
2121 host=$ac_cv_host
2122 ac_save_IFS=$IFS; IFS='-'
2123 set x $ac_cv_host
2124 shift
2125 host_cpu=$1
2126 host_vendor=$2
2127 shift; shift
2128 # Remember, the first character of IFS is used to create $*,
2129 # except with old shells:
2130 host_os=$*
2131 IFS=$ac_save_IFS
2132 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2135 # Check whether --enable-missing was given.
2136 if test "${enable_missing+set}" = set; then :
2137 enableval=$enable_missing;
2140 # Expand $ac_aux_dir to an absolute path.
2141 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2143 ac_ext=c
2144 ac_cpp='$CPP $CPPFLAGS'
2145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2148 if test -n "$ac_tool_prefix"; then
2149 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2150 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2152 $as_echo_n "checking for $ac_word... " >&6; }
2153 if ${ac_cv_prog_CC+:} false; then :
2154 $as_echo_n "(cached) " >&6
2155 else
2156 if test -n "$CC"; then
2157 ac_cv_prog_CC="$CC" # Let the user override the test.
2158 else
2159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2160 for as_dir in $PATH
2162 IFS=$as_save_IFS
2163 test -z "$as_dir" && as_dir=.
2164 for ac_exec_ext in '' $ac_executable_extensions; do
2165 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2166 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2168 break 2
2170 done
2171 done
2172 IFS=$as_save_IFS
2176 CC=$ac_cv_prog_CC
2177 if test -n "$CC"; then
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2179 $as_echo "$CC" >&6; }
2180 else
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2182 $as_echo "no" >&6; }
2187 if test -z "$ac_cv_prog_CC"; then
2188 ac_ct_CC=$CC
2189 # Extract the first word of "gcc", so it can be a program name with args.
2190 set dummy gcc; ac_word=$2
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2192 $as_echo_n "checking for $ac_word... " >&6; }
2193 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2194 $as_echo_n "(cached) " >&6
2195 else
2196 if test -n "$ac_ct_CC"; then
2197 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2198 else
2199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2200 for as_dir in $PATH
2202 IFS=$as_save_IFS
2203 test -z "$as_dir" && as_dir=.
2204 for ac_exec_ext in '' $ac_executable_extensions; do
2205 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2206 ac_cv_prog_ac_ct_CC="gcc"
2207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2208 break 2
2210 done
2211 done
2212 IFS=$as_save_IFS
2216 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2217 if test -n "$ac_ct_CC"; then
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2219 $as_echo "$ac_ct_CC" >&6; }
2220 else
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2222 $as_echo "no" >&6; }
2225 if test "x$ac_ct_CC" = x; then
2226 CC=""
2227 else
2228 case $cross_compiling:$ac_tool_warned in
2229 yes:)
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2231 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2232 ac_tool_warned=yes ;;
2233 esac
2234 CC=$ac_ct_CC
2236 else
2237 CC="$ac_cv_prog_CC"
2240 if test -z "$CC"; then
2241 if test -n "$ac_tool_prefix"; then
2242 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2243 set dummy ${ac_tool_prefix}cc; ac_word=$2
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2245 $as_echo_n "checking for $ac_word... " >&6; }
2246 if ${ac_cv_prog_CC+:} false; then :
2247 $as_echo_n "(cached) " >&6
2248 else
2249 if test -n "$CC"; then
2250 ac_cv_prog_CC="$CC" # Let the user override the test.
2251 else
2252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2253 for as_dir in $PATH
2255 IFS=$as_save_IFS
2256 test -z "$as_dir" && as_dir=.
2257 for ac_exec_ext in '' $ac_executable_extensions; do
2258 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2259 ac_cv_prog_CC="${ac_tool_prefix}cc"
2260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2261 break 2
2263 done
2264 done
2265 IFS=$as_save_IFS
2269 CC=$ac_cv_prog_CC
2270 if test -n "$CC"; then
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2272 $as_echo "$CC" >&6; }
2273 else
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2275 $as_echo "no" >&6; }
2281 if test -z "$CC"; then
2282 # Extract the first word of "cc", so it can be a program name with args.
2283 set dummy cc; ac_word=$2
2284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2285 $as_echo_n "checking for $ac_word... " >&6; }
2286 if ${ac_cv_prog_CC+:} false; then :
2287 $as_echo_n "(cached) " >&6
2288 else
2289 if test -n "$CC"; then
2290 ac_cv_prog_CC="$CC" # Let the user override the test.
2291 else
2292 ac_prog_rejected=no
2293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2294 for as_dir in $PATH
2296 IFS=$as_save_IFS
2297 test -z "$as_dir" && as_dir=.
2298 for ac_exec_ext in '' $ac_executable_extensions; do
2299 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2300 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2301 ac_prog_rejected=yes
2302 continue
2304 ac_cv_prog_CC="cc"
2305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2306 break 2
2308 done
2309 done
2310 IFS=$as_save_IFS
2312 if test $ac_prog_rejected = yes; then
2313 # We found a bogon in the path, so make sure we never use it.
2314 set dummy $ac_cv_prog_CC
2315 shift
2316 if test $# != 0; then
2317 # We chose a different compiler from the bogus one.
2318 # However, it has the same basename, so the bogon will be chosen
2319 # first if we set CC to just the basename; use the full file name.
2320 shift
2321 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2326 CC=$ac_cv_prog_CC
2327 if test -n "$CC"; then
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2329 $as_echo "$CC" >&6; }
2330 else
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2332 $as_echo "no" >&6; }
2337 if test -z "$CC"; then
2338 if test -n "$ac_tool_prefix"; then
2339 for ac_prog in cl.exe
2341 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2342 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2344 $as_echo_n "checking for $ac_word... " >&6; }
2345 if ${ac_cv_prog_CC+:} false; then :
2346 $as_echo_n "(cached) " >&6
2347 else
2348 if test -n "$CC"; then
2349 ac_cv_prog_CC="$CC" # Let the user override the test.
2350 else
2351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2352 for as_dir in $PATH
2354 IFS=$as_save_IFS
2355 test -z "$as_dir" && as_dir=.
2356 for ac_exec_ext in '' $ac_executable_extensions; do
2357 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2358 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2360 break 2
2362 done
2363 done
2364 IFS=$as_save_IFS
2368 CC=$ac_cv_prog_CC
2369 if test -n "$CC"; then
2370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2371 $as_echo "$CC" >&6; }
2372 else
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2374 $as_echo "no" >&6; }
2378 test -n "$CC" && break
2379 done
2381 if test -z "$CC"; then
2382 ac_ct_CC=$CC
2383 for ac_prog in cl.exe
2385 # Extract the first word of "$ac_prog", so it can be a program name with args.
2386 set dummy $ac_prog; ac_word=$2
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2388 $as_echo_n "checking for $ac_word... " >&6; }
2389 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2390 $as_echo_n "(cached) " >&6
2391 else
2392 if test -n "$ac_ct_CC"; then
2393 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2394 else
2395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2396 for as_dir in $PATH
2398 IFS=$as_save_IFS
2399 test -z "$as_dir" && as_dir=.
2400 for ac_exec_ext in '' $ac_executable_extensions; do
2401 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2402 ac_cv_prog_ac_ct_CC="$ac_prog"
2403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2404 break 2
2406 done
2407 done
2408 IFS=$as_save_IFS
2412 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2413 if test -n "$ac_ct_CC"; then
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2415 $as_echo "$ac_ct_CC" >&6; }
2416 else
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2418 $as_echo "no" >&6; }
2422 test -n "$ac_ct_CC" && break
2423 done
2425 if test "x$ac_ct_CC" = x; then
2426 CC=""
2427 else
2428 case $cross_compiling:$ac_tool_warned in
2429 yes:)
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2431 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2432 ac_tool_warned=yes ;;
2433 esac
2434 CC=$ac_ct_CC
2441 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2442 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2443 as_fn_error $? "no acceptable C compiler found in \$PATH
2444 See \`config.log' for more details" "$LINENO" 5; }
2446 # Provide some information about the compiler.
2447 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2448 set X $ac_compile
2449 ac_compiler=$2
2450 for ac_option in --version -v -V -qversion; do
2451 { { ac_try="$ac_compiler $ac_option >&5"
2452 case "(($ac_try" in
2453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2454 *) ac_try_echo=$ac_try;;
2455 esac
2456 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2457 $as_echo "$ac_try_echo"; } >&5
2458 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2459 ac_status=$?
2460 if test -s conftest.err; then
2461 sed '10a\
2462 ... rest of stderr output deleted ...
2463 10q' conftest.err >conftest.er1
2464 cat conftest.er1 >&5
2466 rm -f conftest.er1 conftest.err
2467 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2468 test $ac_status = 0; }
2469 done
2471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2472 /* end confdefs.h. */
2475 main ()
2479 return 0;
2481 _ACEOF
2482 ac_clean_files_save=$ac_clean_files
2483 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2484 # Try to create an executable without -o first, disregard a.out.
2485 # It will help us diagnose broken compilers, and finding out an intuition
2486 # of exeext.
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2488 $as_echo_n "checking whether the C compiler works... " >&6; }
2489 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2491 # The possible output files:
2492 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2494 ac_rmfiles=
2495 for ac_file in $ac_files
2497 case $ac_file in
2498 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2499 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2500 esac
2501 done
2502 rm -f $ac_rmfiles
2504 if { { ac_try="$ac_link_default"
2505 case "(($ac_try" in
2506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2507 *) ac_try_echo=$ac_try;;
2508 esac
2509 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2510 $as_echo "$ac_try_echo"; } >&5
2511 (eval "$ac_link_default") 2>&5
2512 ac_status=$?
2513 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2514 test $ac_status = 0; }; then :
2515 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2516 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2517 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2518 # so that the user can short-circuit this test for compilers unknown to
2519 # Autoconf.
2520 for ac_file in $ac_files ''
2522 test -f "$ac_file" || continue
2523 case $ac_file in
2524 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2526 [ab].out )
2527 # We found the default executable, but exeext='' is most
2528 # certainly right.
2529 break;;
2530 *.* )
2531 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2532 then :; else
2533 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2535 # We set ac_cv_exeext here because the later test for it is not
2536 # safe: cross compilers may not add the suffix if given an `-o'
2537 # argument, so we may need to know it at that point already.
2538 # Even if this section looks crufty: it has the advantage of
2539 # actually working.
2540 break;;
2542 break;;
2543 esac
2544 done
2545 test "$ac_cv_exeext" = no && ac_cv_exeext=
2547 else
2548 ac_file=''
2550 if test -z "$ac_file"; then :
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2552 $as_echo "no" >&6; }
2553 $as_echo "$as_me: failed program was:" >&5
2554 sed 's/^/| /' conftest.$ac_ext >&5
2556 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2557 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2558 as_fn_error 77 "C compiler cannot create executables
2559 See \`config.log' for more details" "$LINENO" 5; }
2560 else
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2562 $as_echo "yes" >&6; }
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2565 $as_echo_n "checking for C compiler default output file name... " >&6; }
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2567 $as_echo "$ac_file" >&6; }
2568 ac_exeext=$ac_cv_exeext
2570 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2571 ac_clean_files=$ac_clean_files_save
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2573 $as_echo_n "checking for suffix of executables... " >&6; }
2574 if { { ac_try="$ac_link"
2575 case "(($ac_try" in
2576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2577 *) ac_try_echo=$ac_try;;
2578 esac
2579 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2580 $as_echo "$ac_try_echo"; } >&5
2581 (eval "$ac_link") 2>&5
2582 ac_status=$?
2583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2584 test $ac_status = 0; }; then :
2585 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2586 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2587 # work properly (i.e., refer to `conftest.exe'), while it won't with
2588 # `rm'.
2589 for ac_file in conftest.exe conftest conftest.*; do
2590 test -f "$ac_file" || continue
2591 case $ac_file in
2592 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2593 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2594 break;;
2595 * ) break;;
2596 esac
2597 done
2598 else
2599 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2600 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2601 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2602 See \`config.log' for more details" "$LINENO" 5; }
2604 rm -f conftest conftest$ac_cv_exeext
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2606 $as_echo "$ac_cv_exeext" >&6; }
2608 rm -f conftest.$ac_ext
2609 EXEEXT=$ac_cv_exeext
2610 ac_exeext=$EXEEXT
2611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2612 /* end confdefs.h. */
2613 #include <stdio.h>
2615 main ()
2617 FILE *f = fopen ("conftest.out", "w");
2618 return ferror (f) || fclose (f) != 0;
2621 return 0;
2623 _ACEOF
2624 ac_clean_files="$ac_clean_files conftest.out"
2625 # Check that the compiler produces executables we can run. If not, either
2626 # the compiler is broken, or we cross compile.
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2628 $as_echo_n "checking whether we are cross compiling... " >&6; }
2629 if test "$cross_compiling" != yes; then
2630 { { ac_try="$ac_link"
2631 case "(($ac_try" in
2632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2633 *) ac_try_echo=$ac_try;;
2634 esac
2635 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2636 $as_echo "$ac_try_echo"; } >&5
2637 (eval "$ac_link") 2>&5
2638 ac_status=$?
2639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2640 test $ac_status = 0; }
2641 if { ac_try='./conftest$ac_cv_exeext'
2642 { { case "(($ac_try" in
2643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2644 *) ac_try_echo=$ac_try;;
2645 esac
2646 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2647 $as_echo "$ac_try_echo"; } >&5
2648 (eval "$ac_try") 2>&5
2649 ac_status=$?
2650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2651 test $ac_status = 0; }; }; then
2652 cross_compiling=no
2653 else
2654 if test "$cross_compiling" = maybe; then
2655 cross_compiling=yes
2656 else
2657 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2658 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2659 as_fn_error $? "cannot run C compiled programs.
2660 If you meant to cross compile, use \`--host'.
2661 See \`config.log' for more details" "$LINENO" 5; }
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2666 $as_echo "$cross_compiling" >&6; }
2668 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2669 ac_clean_files=$ac_clean_files_save
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2671 $as_echo_n "checking for suffix of object files... " >&6; }
2672 if ${ac_cv_objext+:} false; then :
2673 $as_echo_n "(cached) " >&6
2674 else
2675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2676 /* end confdefs.h. */
2679 main ()
2683 return 0;
2685 _ACEOF
2686 rm -f conftest.o conftest.obj
2687 if { { ac_try="$ac_compile"
2688 case "(($ac_try" in
2689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2690 *) ac_try_echo=$ac_try;;
2691 esac
2692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2693 $as_echo "$ac_try_echo"; } >&5
2694 (eval "$ac_compile") 2>&5
2695 ac_status=$?
2696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2697 test $ac_status = 0; }; then :
2698 for ac_file in conftest.o conftest.obj conftest.*; do
2699 test -f "$ac_file" || continue;
2700 case $ac_file in
2701 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2702 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2703 break;;
2704 esac
2705 done
2706 else
2707 $as_echo "$as_me: failed program was:" >&5
2708 sed 's/^/| /' conftest.$ac_ext >&5
2710 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2711 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2712 as_fn_error $? "cannot compute suffix of object files: cannot compile
2713 See \`config.log' for more details" "$LINENO" 5; }
2715 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2718 $as_echo "$ac_cv_objext" >&6; }
2719 OBJEXT=$ac_cv_objext
2720 ac_objext=$OBJEXT
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2722 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2723 if ${ac_cv_c_compiler_gnu+:} false; then :
2724 $as_echo_n "(cached) " >&6
2725 else
2726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2727 /* end confdefs.h. */
2730 main ()
2732 #ifndef __GNUC__
2733 choke me
2734 #endif
2737 return 0;
2739 _ACEOF
2740 if ac_fn_c_try_compile "$LINENO"; then :
2741 ac_compiler_gnu=yes
2742 else
2743 ac_compiler_gnu=no
2745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2746 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2750 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2751 if test $ac_compiler_gnu = yes; then
2752 GCC=yes
2753 else
2754 GCC=
2756 ac_test_CFLAGS=${CFLAGS+set}
2757 ac_save_CFLAGS=$CFLAGS
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2759 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2760 if ${ac_cv_prog_cc_g+:} false; then :
2761 $as_echo_n "(cached) " >&6
2762 else
2763 ac_save_c_werror_flag=$ac_c_werror_flag
2764 ac_c_werror_flag=yes
2765 ac_cv_prog_cc_g=no
2766 CFLAGS="-g"
2767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2768 /* end confdefs.h. */
2771 main ()
2775 return 0;
2777 _ACEOF
2778 if ac_fn_c_try_compile "$LINENO"; then :
2779 ac_cv_prog_cc_g=yes
2780 else
2781 CFLAGS=""
2782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2783 /* end confdefs.h. */
2786 main ()
2790 return 0;
2792 _ACEOF
2793 if ac_fn_c_try_compile "$LINENO"; then :
2795 else
2796 ac_c_werror_flag=$ac_save_c_werror_flag
2797 CFLAGS="-g"
2798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2799 /* end confdefs.h. */
2802 main ()
2806 return 0;
2808 _ACEOF
2809 if ac_fn_c_try_compile "$LINENO"; then :
2810 ac_cv_prog_cc_g=yes
2812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2817 ac_c_werror_flag=$ac_save_c_werror_flag
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2820 $as_echo "$ac_cv_prog_cc_g" >&6; }
2821 if test "$ac_test_CFLAGS" = set; then
2822 CFLAGS=$ac_save_CFLAGS
2823 elif test $ac_cv_prog_cc_g = yes; then
2824 if test "$GCC" = yes; then
2825 CFLAGS="-g -O2"
2826 else
2827 CFLAGS="-g"
2829 else
2830 if test "$GCC" = yes; then
2831 CFLAGS="-O2"
2832 else
2833 CFLAGS=
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2837 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2838 if ${ac_cv_prog_cc_c89+:} false; then :
2839 $as_echo_n "(cached) " >&6
2840 else
2841 ac_cv_prog_cc_c89=no
2842 ac_save_CC=$CC
2843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2844 /* end confdefs.h. */
2845 #include <stdarg.h>
2846 #include <stdio.h>
2847 struct stat;
2848 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2849 struct buf { int x; };
2850 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2851 static char *e (p, i)
2852 char **p;
2853 int i;
2855 return p[i];
2857 static char *f (char * (*g) (char **, int), char **p, ...)
2859 char *s;
2860 va_list v;
2861 va_start (v,p);
2862 s = g (p, va_arg (v,int));
2863 va_end (v);
2864 return s;
2867 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2868 function prototypes and stuff, but not '\xHH' hex character constants.
2869 These don't provoke an error unfortunately, instead are silently treated
2870 as 'x'. The following induces an error, until -std is added to get
2871 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2872 array size at least. It's necessary to write '\x00'==0 to get something
2873 that's true only with -std. */
2874 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2876 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2877 inside strings and character constants. */
2878 #define FOO(x) 'x'
2879 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2881 int test (int i, double x);
2882 struct s1 {int (*f) (int a);};
2883 struct s2 {int (*f) (double a);};
2884 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2885 int argc;
2886 char **argv;
2888 main ()
2890 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2892 return 0;
2894 _ACEOF
2895 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2896 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2898 CC="$ac_save_CC $ac_arg"
2899 if ac_fn_c_try_compile "$LINENO"; then :
2900 ac_cv_prog_cc_c89=$ac_arg
2902 rm -f core conftest.err conftest.$ac_objext
2903 test "x$ac_cv_prog_cc_c89" != "xno" && break
2904 done
2905 rm -f conftest.$ac_ext
2906 CC=$ac_save_CC
2909 # AC_CACHE_VAL
2910 case "x$ac_cv_prog_cc_c89" in
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2913 $as_echo "none needed" >&6; } ;;
2914 xno)
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2916 $as_echo "unsupported" >&6; } ;;
2918 CC="$CC $ac_cv_prog_cc_c89"
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2920 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2921 esac
2922 if test "x$ac_cv_prog_cc_c89" != xno; then :
2926 ac_ext=c
2927 ac_cpp='$CPP $CPPFLAGS'
2928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2932 ac_ext=c
2933 ac_cpp='$CPP $CPPFLAGS'
2934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
2938 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
2939 if ${am_cv_prog_cc_c_o+:} false; then :
2940 $as_echo_n "(cached) " >&6
2941 else
2942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2943 /* end confdefs.h. */
2946 main ()
2950 return 0;
2952 _ACEOF
2953 # Make sure it works both with $CC and with simple cc.
2954 # Following AC_PROG_CC_C_O, we do the test twice because some
2955 # compilers refuse to overwrite an existing .o file with -o,
2956 # though they will create one.
2957 am_cv_prog_cc_c_o=yes
2958 for am_i in 1 2; do
2959 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
2960 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
2961 ac_status=$?
2962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2963 (exit $ac_status); } \
2964 && test -f conftest2.$ac_objext; then
2965 : OK
2966 else
2967 am_cv_prog_cc_c_o=no
2968 break
2970 done
2971 rm -f core conftest*
2972 unset am_i
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
2975 $as_echo "$am_cv_prog_cc_c_o" >&6; }
2976 if test "$am_cv_prog_cc_c_o" != yes; then
2977 # Losing compiler, so override with the script.
2978 # FIXME: It is wrong to rewrite CC.
2979 # But if we don't then we get into trouble of one sort or another.
2980 # A longer-term fix would be to have automake use am__CC in this case,
2981 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
2982 CC="$am_aux_dir/compile $CC"
2984 ac_ext=c
2985 ac_cpp='$CPP $CPPFLAGS'
2986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2995 # Check whether --enable-all-pkgs was given.
2996 if test "${enable_all_pkgs+set}" = set; then :
2997 enableval=$enable_all_pkgs;
2999 test "x$enable_all_pkgs" = xno || enable_all_pkgs=yes
3000 # Check whether --enable-native-texlive-build was given.
3001 if test "${enable_native_texlive_build+set}" = set; then :
3002 enableval=$enable_native_texlive_build;
3004 case $enable_native_texlive_build in #(
3005 yes | no) :
3006 : ;; #(
3007 *) :
3008 enable_native_texlive_build=yes
3009 ac_configure_args="$ac_configure_args '--enable-native-texlive-build'" ;;
3010 esac
3011 case $enable_largefile in #(
3012 yes | no) :
3013 : ;; #(
3014 *) :
3015 enable_largefile=yes
3016 ac_configure_args="$ac_configure_args '--enable-largefile'" ;;
3017 esac
3018 case $enable_silent_rules in #(
3019 yes | no) :
3020 : ;; #(
3021 *) :
3022 enable_silent_rules=no
3023 ac_configure_args="$ac_configure_args '--disable-silent-rules'" ;;
3024 esac
3025 case $enable_multiplatform in #(
3026 yes | no) :
3027 : ;; #(
3028 *) :
3029 enable_multiplatform=$enable_native_texlive_build
3030 ac_configure_args="$ac_configure_args '--enable-multiplatform=$enable_native_texlive_build'" ;;
3031 esac
3032 case $enable_cxx_runtime_hack in #(
3033 yes | no) :
3034 : ;; #(
3035 *) :
3036 enable_cxx_runtime_hack=$enable_native_texlive_build
3037 ac_configure_args="$ac_configure_args '--enable-cxx-runtime-hack=$enable_native_texlive_build'" ;;
3038 esac
3039 case $enable_libtool_hack in #(
3040 yes | no) :
3041 : ;; #(
3042 *) :
3043 case $host_os in #(
3044 do-not-match) :
3045 enable_libtool_hack=no ;; #(
3046 *) :
3047 enable_libtool_hack=yes ;;
3048 esac
3049 ac_configure_args="$ac_configure_args '--enable-libtool-hack=$enable_libtool_hack'" ;;
3050 esac
3051 case $enable_shared:$host_os in #(
3052 no:* | yes:mingw* | yes:cygwin*) :
3053 : ;; #(
3054 yes:* ) :
3055 if test "x$enable_native_texlive_build" = xyes; then :
3056 as_fn_error $? "you can not use a shared Kpathsea library for a native TeX Live build" "$LINENO" 5
3057 fi ;; #(
3058 *) :
3059 enable_shared=no
3060 ac_configure_args="$ac_configure_args '--disable-shared'" ;;
3061 esac
3062 case $enable_texlive_build in #(
3063 yes) :
3064 : ;; #(
3065 no) :
3066 as_fn_error $? "you can not configure the TeX Live tree with \`--disable-texlive-build'" "$LINENO" 5 ;; #(
3067 *) :
3068 enable_texlive_build=yes
3069 ac_configure_args="$ac_configure_args '--enable-texlive-build'" ;;
3070 esac
3071 # Check whether --enable-multiplatform was given.
3072 if test "${enable_multiplatform+set}" = set; then :
3073 enableval=$enable_multiplatform;
3075 if test "x$enable_multiplatform" = xyes; then
3076 if test "x$bindir" = 'x${exec_prefix}/bin'; then
3077 bindir="$bindir/${host_alias-$host}"
3078 ac_configure_args="$ac_configure_args '--bindir=$bindir'"
3080 if test "x$libdir" = 'x${exec_prefix}/lib'; then
3081 libdir="$libdir/${host_alias-$host}"
3082 ac_configure_args="$ac_configure_args '--libdir=$libdir'"
3086 # Check whether --enable-cxx-runtime-hack was given.
3087 if test "${enable_cxx_runtime_hack+set}" = set; then :
3088 enableval=$enable_cxx_runtime_hack;
3091 # Check whether --enable-libtool-hack was given.
3092 if test "${enable_libtool_hack+set}" = set; then :
3093 enableval=$enable_libtool_hack;
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native WIN32 or MINGW32" >&5
3100 $as_echo_n "checking for native WIN32 or MINGW32... " >&6; }
3101 if ${kpse_cv_have_win32+:} false; then :
3102 $as_echo_n "(cached) " >&6
3103 else
3104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3105 /* end confdefs.h. */
3106 #ifndef WIN32
3107 choke me
3108 #endif
3110 main ()
3114 return 0;
3116 _ACEOF
3117 if ac_fn_c_try_compile "$LINENO"; then :
3118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3119 /* end confdefs.h. */
3120 #ifndef __MINGW32__
3121 choke me
3122 #endif
3124 main ()
3128 return 0;
3130 _ACEOF
3131 if ac_fn_c_try_compile "$LINENO"; then :
3132 kpse_cv_have_win32=mingw32
3133 else
3134 kpse_cv_have_win32=native
3136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3137 else
3138 kpse_cv_have_win32=no
3140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_win32" >&5
3143 $as_echo "$kpse_cv_have_win32" >&6; }
3145 case $with_x:$kpse_cv_have_win32 in #(
3146 yes:no | no:*) :
3147 : ;; #(
3148 yes:*) :
3149 as_fn_error $? "you can not use \`--with-x' for WIN32" "$LINENO" 5 ;; #(
3150 *:no) :
3151 with_x=yes
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--with-x'" >&5
3153 $as_echo "$as_me: Assuming \`--with-x'" >&6;}
3154 ac_configure_args="$ac_configure_args '--with-x'" ;; #(
3155 *) :
3156 with_x=no
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: WIN32 -> \`--without-x'" >&5
3158 $as_echo "$as_me: WIN32 -> \`--without-x'" >&6;}
3159 ac_configure_args="$ac_configure_args '--without-x'" ;;
3160 esac
3161 case $enable_luajittex in #(
3162 yes | no) :
3163 : ;; #(
3164 *) :
3165 case $host in #(
3166 alpha* | sparc* | powerpc-*-darwin* ) :
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: $host -> \`--disable-luajittex'" >&5
3168 $as_echo "$as_me: $host -> \`--disable-luajittex'" >&6;}
3169 ac_configure_args="$ac_configure_args '--disable-luajittex'" ;; #(
3170 *) :
3172 esac ;;
3173 esac
3174 case $enable_mfluajit in #(
3175 yes | no) :
3176 : ;; #(
3177 *) :
3178 case $host in #(
3179 alpha* | sparc* | powerpc-*-darwin* ) :
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: $host -> \`--disable-mfluajit'" >&5
3181 $as_echo "$as_me: $host -> \`--disable-mfluajit'" >&6;}
3182 ac_configure_args="$ac_configure_args '--disable-mfluajit'" ;; #(
3183 *) :
3185 esac ;;
3186 esac
3189 ## texk/web2c/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/web2c/
3190 ## configure options and TL libraries required for web2c
3191 # Check whether --enable-web2c was given.
3192 if test "${enable_web2c+set}" = set; then :
3193 enableval=$enable_web2c;
3195 case $enable_web2c in #(
3196 yes|no) :
3197 ;; #(
3198 *) :
3200 enable_web2c=$enable_all_pkgs
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-web2c=$enable_web2c'" >&5
3202 $as_echo "$as_me: Assuming \`--enable-web2c=$enable_web2c'" >&6;}
3203 ac_configure_args="$ac_configure_args '--enable-web2c=$enable_web2c'"
3205 esac
3207 test "x$enable_web2c" = xno || {
3208 need_kpathsea=yes
3209 need_zlib=yes
3212 ## texk/web2c/ac/web2c.ac: configure.ac fragment for the TeX Live subdirectory texk/web2c/
3213 ## configure options for TeX and MF
3215 # Check whether --with-banner-add was given.
3216 if test "${with_banner_add+set}" = set; then :
3217 withval=$with_banner_add;
3220 # Check whether --with-editor was given.
3221 if test "${with_editor+set}" = set; then :
3222 withval=$with_editor;
3224 # Check whether --enable-auto-core was given.
3225 if test "${enable_auto_core+set}" = set; then :
3226 enableval=$enable_auto_core;
3228 # Check whether --enable-dump-share was given.
3229 if test "${enable_dump_share+set}" = set; then :
3230 enableval=$enable_dump_share;
3232 ## configure options for TeX
3233 # Check whether --enable-ipc was given.
3234 if test "${enable_ipc+set}" = set; then :
3235 enableval=$enable_ipc;
3237 # Check whether --enable-tex was given.
3238 if test "${enable_tex+set}" = set; then :
3239 enableval=$enable_tex;
3241 case $enable_tex in #(
3242 yes | no) :
3243 ;; #(
3244 *) :
3245 enable_tex=yes ;;
3246 esac
3248 # Check whether --enable-tex-synctex was given.
3249 if test "${enable_tex_synctex+set}" = set; then :
3250 enableval=$enable_tex_synctex;
3252 # Check whether --enable-etex was given.
3253 if test "${enable_etex+set}" = set; then :
3254 enableval=$enable_etex;
3256 case $enable_etex in #(
3257 yes | no) :
3258 ;; #(
3259 *) :
3260 enable_etex=no ;;
3261 esac
3263 # Check whether --enable-etex-synctex was given.
3264 if test "${enable_etex_synctex+set}" = set; then :
3265 enableval=$enable_etex_synctex;
3267 # Check whether --enable-ptex was given.
3268 if test "${enable_ptex+set}" = set; then :
3269 enableval=$enable_ptex;
3271 case $enable_ptex in #(
3272 yes | no) :
3273 ;; #(
3274 *) :
3275 enable_ptex=yes ;;
3276 esac
3278 # Check whether --enable-ptex-synctex was given.
3279 if test "${enable_ptex_synctex+set}" = set; then :
3280 enableval=$enable_ptex_synctex;
3283 test "x$enable_web2c:$enable_ptex" = xyes:yes && {
3284 need_ptexenc=yes
3286 # Check whether --enable-eptex was given.
3287 if test "${enable_eptex+set}" = set; then :
3288 enableval=$enable_eptex;
3290 case $enable_eptex in #(
3291 yes | no) :
3292 ;; #(
3293 *) :
3294 enable_eptex=yes ;;
3295 esac
3297 # Check whether --enable-eptex-synctex was given.
3298 if test "${enable_eptex_synctex+set}" = set; then :
3299 enableval=$enable_eptex_synctex;
3302 test "x$enable_web2c:$enable_eptex" = xyes:yes && {
3303 need_ptexenc=yes
3305 # Check whether --enable-uptex was given.
3306 if test "${enable_uptex+set}" = set; then :
3307 enableval=$enable_uptex;
3309 case $enable_uptex in #(
3310 yes | no) :
3311 ;; #(
3312 *) :
3313 enable_uptex=yes ;;
3314 esac
3316 # Check whether --enable-uptex-synctex was given.
3317 if test "${enable_uptex_synctex+set}" = set; then :
3318 enableval=$enable_uptex_synctex;
3321 test "x$enable_web2c:$enable_uptex" = xyes:yes && {
3322 need_ptexenc=yes
3324 # Check whether --enable-euptex was given.
3325 if test "${enable_euptex+set}" = set; then :
3326 enableval=$enable_euptex;
3328 case $enable_euptex in #(
3329 yes | no) :
3330 ;; #(
3331 *) :
3332 enable_euptex=yes ;;
3333 esac
3335 # Check whether --enable-euptex-synctex was given.
3336 if test "${enable_euptex_synctex+set}" = set; then :
3337 enableval=$enable_euptex_synctex;
3340 test "x$enable_web2c:$enable_euptex" = xyes:yes && {
3341 need_ptexenc=yes
3343 # Check whether --enable-aleph was given.
3344 if test "${enable_aleph+set}" = set; then :
3345 enableval=$enable_aleph;
3347 case $enable_aleph in #(
3348 yes | no) :
3349 ;; #(
3350 *) :
3351 enable_aleph=yes ;;
3352 esac
3353 # Check whether --enable-pdftex was given.
3354 if test "${enable_pdftex+set}" = set; then :
3355 enableval=$enable_pdftex;
3357 case $enable_pdftex in #(
3358 yes | no) :
3359 ;; #(
3360 *) :
3361 enable_pdftex=yes ;;
3362 esac
3364 # Check whether --enable-pdftex-synctex was given.
3365 if test "${enable_pdftex_synctex+set}" = set; then :
3366 enableval=$enable_pdftex_synctex;
3369 test "x$enable_web2c:$enable_pdftex" = xyes:yes && {
3370 need_xpdf=yes
3371 need_libpng=yes
3373 # Check whether --enable-luatex was given.
3374 if test "${enable_luatex+set}" = set; then :
3375 enableval=$enable_luatex;
3377 case $enable_luatex in #(
3378 yes | no) :
3379 ;; #(
3380 *) :
3381 enable_luatex=yes ;;
3382 esac
3384 test "x$enable_web2c:$enable_luatex" = xyes:yes && {
3385 need_poppler=yes
3386 need_mpfr=yes
3387 need_cairo=yes
3388 need_libpng=yes
3389 need_zziplib=yes
3390 need_lua52=yes
3392 # Check whether --enable-luajittex was given.
3393 if test "${enable_luajittex+set}" = set; then :
3394 enableval=$enable_luajittex;
3396 case $enable_luajittex in #(
3397 yes | no) :
3398 ;; #(
3399 *) :
3400 enable_luajittex=yes ;;
3401 esac
3403 test "x$enable_web2c:$enable_luajittex" = xyes:yes && {
3404 need_poppler=yes
3405 need_mpfr=yes
3406 need_cairo=yes
3407 need_libpng=yes
3408 need_zziplib=yes
3409 need_luajit=yes
3411 # Check whether --enable-mp was given.
3412 if test "${enable_mp+set}" = set; then :
3413 enableval=$enable_mp;
3415 case $enable_mp in #(
3416 yes | no) :
3417 ;; #(
3418 *) :
3419 enable_mp=yes ;;
3420 esac
3422 test "x$enable_web2c:$enable_mp" = xyes:yes && {
3423 need_mpfr=yes
3424 need_cairo=yes
3425 need_libpng=yes
3427 # Check whether --enable-pmp was given.
3428 if test "${enable_pmp+set}" = set; then :
3429 enableval=$enable_pmp;
3431 case $enable_pmp in #(
3432 yes | no) :
3433 ;; #(
3434 *) :
3435 enable_pmp=yes ;;
3436 esac
3438 test "x$enable_web2c:$enable_pmp" = xyes:yes && {
3439 need_mpfr=yes
3440 need_cairo=yes
3441 need_libpng=yes
3442 need_ptexenc=yes
3444 # Check whether --enable-upmp was given.
3445 if test "${enable_upmp+set}" = set; then :
3446 enableval=$enable_upmp;
3448 case $enable_upmp in #(
3449 yes | no) :
3450 ;; #(
3451 *) :
3452 enable_upmp=yes ;;
3453 esac
3455 test "x$enable_web2c:$enable_upmp" = xyes:yes && {
3456 need_mpfr=yes
3457 need_cairo=yes
3458 need_libpng=yes
3459 need_ptexenc=yes
3461 # Check whether --enable-xetex was given.
3462 if test "${enable_xetex+set}" = set; then :
3463 enableval=$enable_xetex;
3465 case $enable_xetex in #(
3466 yes | no) :
3467 ;; #(
3468 *) :
3469 enable_xetex=yes ;;
3470 esac
3472 # Check whether --enable-xetex-synctex was given.
3473 if test "${enable_xetex_synctex+set}" = set; then :
3474 enableval=$enable_xetex_synctex;
3477 test "x$enable_web2c:$enable_xetex" = xyes:yes && {
3478 need_poppler=yes
3479 need_libpng=yes
3480 need_freetype2=yes
3481 need_teckit=yes
3482 need_harfbuzz=yes
3484 ## configure options for MF
3485 # Check whether --enable-mf was given.
3486 if test "${enable_mf+set}" = set; then :
3487 enableval=$enable_mf;
3489 case $enable_mf in #(
3490 yes | no) :
3491 ;; #(
3492 *) :
3493 enable_mf=yes ;;
3494 esac
3496 # Check whether --enable-mf-nowin was given.
3497 if test "${enable_mf_nowin+set}" = set; then :
3498 enableval=$enable_mf_nowin;
3500 case $enable_mf_nowin in #(
3501 yes | no) :
3502 ;; #(
3503 *) :
3504 enable_mf_nowin=yes ;;
3505 esac
3506 # Check whether --enable-mflua was given.
3507 if test "${enable_mflua+set}" = set; then :
3508 enableval=$enable_mflua;
3510 case $enable_mflua in #(
3511 yes | no) :
3512 ;; #(
3513 *) :
3514 enable_mflua=yes ;;
3515 esac
3517 # Check whether --enable-mflua-nowin was given.
3518 if test "${enable_mflua_nowin+set}" = set; then :
3519 enableval=$enable_mflua_nowin;
3521 case $enable_mflua_nowin in #(
3522 yes | no) :
3523 ;; #(
3524 *) :
3525 enable_mflua_nowin=no ;;
3526 esac
3528 test "x$enable_web2c:$enable_mflua" = xyes:yes && {
3529 need_lua52=yes
3531 # Check whether --enable-mfluajit was given.
3532 if test "${enable_mfluajit+set}" = set; then :
3533 enableval=$enable_mfluajit;
3535 case $enable_mfluajit in #(
3536 yes | no) :
3537 ;; #(
3538 *) :
3539 enable_mfluajit=yes ;;
3540 esac
3542 # Check whether --enable-mfluajit-nowin was given.
3543 if test "${enable_mfluajit_nowin+set}" = set; then :
3544 enableval=$enable_mfluajit_nowin;
3546 case $enable_mfluajit_nowin in #(
3547 yes | no) :
3548 ;; #(
3549 *) :
3550 enable_mfluajit_nowin=no ;;
3551 esac
3553 test "x$enable_web2c:$enable_mfluajit" = xyes:yes && {
3554 need_luajit=yes
3557 # Check whether --with-mf-x-toolkit was given.
3558 if test "${with_mf_x_toolkit+set}" = set; then :
3559 withval=$with_mf_x_toolkit;
3561 # Check whether --enable-epsfwin was given.
3562 if test "${enable_epsfwin+set}" = set; then :
3563 enableval=$enable_epsfwin;
3565 # Check whether --enable-hp2627win was given.
3566 if test "${enable_hp2627win+set}" = set; then :
3567 enableval=$enable_hp2627win;
3569 # Check whether --enable-mftalkwin was given.
3570 if test "${enable_mftalkwin+set}" = set; then :
3571 enableval=$enable_mftalkwin;
3573 # Check whether --enable-nextwin was given.
3574 if test "${enable_nextwin+set}" = set; then :
3575 enableval=$enable_nextwin;
3577 # Check whether --enable-regiswin was given.
3578 if test "${enable_regiswin+set}" = set; then :
3579 enableval=$enable_regiswin;
3581 # Check whether --enable-suntoolswin was given.
3582 if test "${enable_suntoolswin+set}" = set; then :
3583 enableval=$enable_suntoolswin;
3585 # Check whether --enable-tektronixwin was given.
3586 if test "${enable_tektronixwin+set}" = set; then :
3587 enableval=$enable_tektronixwin;
3589 # Check whether --enable-unitermwin was given.
3590 if test "${enable_unitermwin+set}" = set; then :
3591 enableval=$enable_unitermwin;
3593 ## configure options for WEB programs
3594 # Check whether --enable-web-progs was given.
3595 if test "${enable_web_progs+set}" = set; then :
3596 enableval=$enable_web_progs;
3598 ## configure option for the SyncTeX library and tool
3599 # Check whether --enable-synctex was given.
3600 if test "${enable_synctex+set}" = set; then :
3601 enableval=$enable_synctex;
3605 ## texk/texlive/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/texlive/
3606 ## configure options and TL libraries required for texlive
3607 # Check whether --enable-texlive was given.
3608 if test "${enable_texlive+set}" = set; then :
3609 enableval=$enable_texlive;
3611 case $enable_texlive in #(
3612 yes|no) :
3613 ;; #(
3614 *) :
3616 enable_texlive=$enable_all_pkgs
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-texlive=$enable_texlive'" >&5
3618 $as_echo "$as_me: Assuming \`--enable-texlive=$enable_texlive'" >&6;}
3619 ac_configure_args="$ac_configure_args '--enable-texlive=$enable_texlive'"
3621 esac
3623 ## texk/texlive/ac/texlive.ac: configure.ac fragment for the TeX Live subdirectory texk/texlive/
3624 ## configure options for texlive
3625 # Check whether --enable-linked-scripts was given.
3626 if test "${enable_linked_scripts+set}" = set; then :
3627 enableval=$enable_linked_scripts;
3631 ## libs/zziplib/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/zziplib/
3632 ## configure options and TL libraries required for zziplib
3634 # Check whether --with-system-zziplib was given.
3635 if test "${with_system_zziplib+set}" = set; then :
3636 withval=$with_system_zziplib;
3638 if test "x$with_system_zziplib" = x; then
3639 if test -f $srcdir/../libs/zziplib/configure; then
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`zziplib' headers and library from TL tree" >&5
3641 $as_echo "$as_me: Assuming \`zziplib' headers and library from TL tree" >&6;}
3642 with_system_zziplib=no
3643 else
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`zziplib' headers and library" >&5
3645 $as_echo "$as_me: Assuming installed \`zziplib' headers and library" >&6;}
3646 with_system_zziplib=yes
3648 ac_configure_args="$ac_configure_args '--with-system-zziplib=$with_system_zziplib'"
3650 if test "x$with_system_zziplib" = xyes; then
3651 if test "x$with_system_zlib" = x; then
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \`zlib' headers and library" >&5
3653 $as_echo "$as_me: -> installed \`zlib' headers and library" >&6;}
3654 with_system_zlib=yes
3655 ac_configure_args="$ac_configure_args '--with-system-zlib'"
3656 elif test "x$with_system_zlib" != xyes; then
3657 as_fn_error $? "Sorry, \`--with-system-zziplib' requires \`--with-system-zlib'" "$LINENO" 5
3661 test "x$need_zziplib" = xyes && {
3662 need_zlib=yes
3665 ## libs/poppler/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/poppler/
3666 ## configure options and TL libraries required for poppler
3668 # Check whether --with-system-poppler was given.
3669 if test "${with_system_poppler+set}" = set; then :
3670 withval=$with_system_poppler;
3672 if test "x$with_system_poppler" = x; then
3673 if test -f $srcdir/../libs/poppler/configure; then
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`poppler' headers and library from TL tree" >&5
3675 $as_echo "$as_me: Assuming \`poppler' headers and library from TL tree" >&6;}
3676 with_system_poppler=no
3677 else
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`poppler' headers and library" >&5
3679 $as_echo "$as_me: Assuming installed \`poppler' headers and library" >&6;}
3680 with_system_poppler=yes
3682 ac_configure_args="$ac_configure_args '--with-system-poppler=$with_system_poppler'"
3684 if test "x$with_system_poppler" = xyes; then
3685 if test "x$with_system_zlib" = x; then
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \`zlib' headers and library" >&5
3687 $as_echo "$as_me: -> installed \`zlib' headers and library" >&6;}
3688 with_system_zlib=yes
3689 ac_configure_args="$ac_configure_args '--with-system-zlib'"
3690 elif test "x$with_system_zlib" != xyes; then
3691 as_fn_error $? "Sorry, \`--with-system-poppler' requires \`--with-system-zlib'" "$LINENO" 5
3695 test "x$need_poppler" = xyes && {
3696 need_zlib=yes
3699 ## libs/mpfr/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/mpfr/
3700 ## configure options and TL libraries required for mpfr
3702 # Check whether --with-system-mpfr was given.
3703 if test "${with_system_mpfr+set}" = set; then :
3704 withval=$with_system_mpfr;
3707 # Check whether --with-mpfr-includes was given.
3708 if test "${with_mpfr_includes+set}" = set; then :
3709 withval=$with_mpfr_includes;
3712 # Check whether --with-mpfr-libdir was given.
3713 if test "${with_mpfr_libdir+set}" = set; then :
3714 withval=$with_mpfr_libdir;
3716 if test "x$with_system_mpfr" = x; then
3717 if test -f $srcdir/../libs/mpfr/configure; then
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`mpfr' headers and library from TL tree" >&5
3719 $as_echo "$as_me: Assuming \`mpfr' headers and library from TL tree" >&6;}
3720 with_system_mpfr=no
3721 else
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`mpfr' headers and library" >&5
3723 $as_echo "$as_me: Assuming installed \`mpfr' headers and library" >&6;}
3724 with_system_mpfr=yes
3726 ac_configure_args="$ac_configure_args '--with-system-mpfr=$with_system_mpfr'"
3728 if test "x$with_system_mpfr" = xyes; then
3729 if test "x$with_system_gmp" = x; then
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \`gmp' headers and library" >&5
3731 $as_echo "$as_me: -> installed \`gmp' headers and library" >&6;}
3732 with_system_gmp=yes
3733 ac_configure_args="$ac_configure_args '--with-system-gmp'"
3734 elif test "x$with_system_gmp" != xyes; then
3735 as_fn_error $? "Sorry, \`--with-system-mpfr' requires \`--with-system-gmp'" "$LINENO" 5
3739 test "x$need_mpfr" = xyes && {
3740 need_gmp=yes
3743 ## libs/gmp/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/gmp/
3744 ## configure options and TL libraries required for gmp
3746 # Check whether --with-system-gmp was given.
3747 if test "${with_system_gmp+set}" = set; then :
3748 withval=$with_system_gmp;
3751 # Check whether --with-gmp-includes was given.
3752 if test "${with_gmp_includes+set}" = set; then :
3753 withval=$with_gmp_includes;
3756 # Check whether --with-gmp-libdir was given.
3757 if test "${with_gmp_libdir+set}" = set; then :
3758 withval=$with_gmp_libdir;
3760 if test "x$with_system_gmp" = x; then
3761 if test -f $srcdir/../libs/gmp/configure; then
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`gmp' headers and library from TL tree" >&5
3763 $as_echo "$as_me: Assuming \`gmp' headers and library from TL tree" >&6;}
3764 with_system_gmp=no
3765 else
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`gmp' headers and library" >&5
3767 $as_echo "$as_me: Assuming installed \`gmp' headers and library" >&6;}
3768 with_system_gmp=yes
3770 ac_configure_args="$ac_configure_args '--with-system-gmp=$with_system_gmp'"
3773 ## libs/cairo/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/cairo/
3774 ## configure options and TL libraries required for cairo
3776 # Check whether --with-system-cairo was given.
3777 if test "${with_system_cairo+set}" = set; then :
3778 withval=$with_system_cairo;
3780 if test "x$with_system_cairo" = x; then
3781 if test -f $srcdir/../libs/cairo/configure; then
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`cairo' headers and library from TL tree" >&5
3783 $as_echo "$as_me: Assuming \`cairo' headers and library from TL tree" >&6;}
3784 with_system_cairo=no
3785 else
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`cairo' headers and library" >&5
3787 $as_echo "$as_me: Assuming installed \`cairo' headers and library" >&6;}
3788 with_system_cairo=yes
3790 ac_configure_args="$ac_configure_args '--with-system-cairo=$with_system_cairo'"
3792 if test "x$with_system_cairo" = xyes; then
3793 if test "x$with_system_pixman" = x; then
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \`pixman' headers and library" >&5
3795 $as_echo "$as_me: -> installed \`pixman' headers and library" >&6;}
3796 with_system_pixman=yes
3797 ac_configure_args="$ac_configure_args '--with-system-pixman'"
3798 elif test "x$with_system_pixman" != xyes; then
3799 as_fn_error $? "Sorry, \`--with-system-cairo' requires \`--with-system-pixman'" "$LINENO" 5
3803 test "x$need_cairo" = xyes && {
3804 need_pixman=yes
3807 ## libs/pixman/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/pixman/
3808 ## configure options and TL libraries required for pixman
3810 # Check whether --with-system-pixman was given.
3811 if test "${with_system_pixman+set}" = set; then :
3812 withval=$with_system_pixman;
3814 if test "x$with_system_pixman" = x; then
3815 if test -f $srcdir/../libs/pixman/configure; then
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`pixman' headers and library from TL tree" >&5
3817 $as_echo "$as_me: Assuming \`pixman' headers and library from TL tree" >&6;}
3818 with_system_pixman=no
3819 else
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`pixman' headers and library" >&5
3821 $as_echo "$as_me: Assuming installed \`pixman' headers and library" >&6;}
3822 with_system_pixman=yes
3824 ac_configure_args="$ac_configure_args '--with-system-pixman=$with_system_pixman'"
3827 ## libs/libpng/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/libpng/
3828 ## configure options and TL libraries required for libpng
3830 # Check whether --with-system-libpng was given.
3831 if test "${with_system_libpng+set}" = set; then :
3832 withval=$with_system_libpng;
3834 if test "x$with_system_libpng" = x; then
3835 if test -f $srcdir/../libs/libpng/configure; then
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`libpng' headers and library from TL tree" >&5
3837 $as_echo "$as_me: Assuming \`libpng' headers and library from TL tree" >&6;}
3838 with_system_libpng=no
3839 else
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`libpng' headers and library" >&5
3841 $as_echo "$as_me: Assuming installed \`libpng' headers and library" >&6;}
3842 with_system_libpng=yes
3844 ac_configure_args="$ac_configure_args '--with-system-libpng=$with_system_libpng'"
3846 if test "x$with_system_libpng" = xyes; then
3847 if test "x$with_system_zlib" = x; then
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \`zlib' headers and library" >&5
3849 $as_echo "$as_me: -> installed \`zlib' headers and library" >&6;}
3850 with_system_zlib=yes
3851 ac_configure_args="$ac_configure_args '--with-system-zlib'"
3852 elif test "x$with_system_zlib" != xyes; then
3853 as_fn_error $? "Sorry, \`--with-system-libpng' requires \`--with-system-zlib'" "$LINENO" 5
3857 test "x$need_libpng" = xyes && {
3858 need_zlib=yes
3861 ## libs/luajit/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/luajit/
3862 ## configure options and TL libraries required for luajit
3864 ## libs/lua52/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/lua52/
3865 ## configure options and TL libraries required for lua52
3867 ## libs/zlib/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/zlib/
3868 ## configure options and TL libraries required for zlib
3870 # Check whether --with-system-zlib was given.
3871 if test "${with_system_zlib+set}" = set; then :
3872 withval=$with_system_zlib;
3875 # Check whether --with-zlib-includes was given.
3876 if test "${with_zlib_includes+set}" = set; then :
3877 withval=$with_zlib_includes;
3880 # Check whether --with-zlib-libdir was given.
3881 if test "${with_zlib_libdir+set}" = set; then :
3882 withval=$with_zlib_libdir;
3884 if test "x$with_system_zlib" = x; then
3885 if test -f $srcdir/../libs/zlib/configure; then
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`zlib' headers and library from TL tree" >&5
3887 $as_echo "$as_me: Assuming \`zlib' headers and library from TL tree" >&6;}
3888 with_system_zlib=no
3889 else
3890 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`zlib' headers and library" >&5
3891 $as_echo "$as_me: Assuming installed \`zlib' headers and library" >&6;}
3892 with_system_zlib=yes
3894 ac_configure_args="$ac_configure_args '--with-system-zlib=$with_system_zlib'"
3898 ## texk/kpathsea/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/kpathsea/
3899 ## configure options and TL libraries required for kpathsea
3901 # Check whether --with-system-kpathsea was given.
3902 if test "${with_system_kpathsea+set}" = set; then :
3903 withval=$with_system_kpathsea;
3905 if test "x$with_system_kpathsea" = x; then
3906 if test -f $srcdir/../texk/kpathsea/configure; then
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`kpathsea' headers and library from TL tree" >&5
3908 $as_echo "$as_me: Assuming \`kpathsea' headers and library from TL tree" >&6;}
3909 with_system_kpathsea=no
3910 else
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`kpathsea' headers and library" >&5
3912 $as_echo "$as_me: Assuming installed \`kpathsea' headers and library" >&6;}
3913 with_system_kpathsea=yes
3915 ac_configure_args="$ac_configure_args '--with-system-kpathsea=$with_system_kpathsea'"
3918 ## texk/kpathsea/ac/mktex.ac: configure.ac fragment for the TeX Live
3919 ## subdirectory texk/kpathsea.
3920 ## configure defaults for mktexfmt & Co.
3921 # Check whether --enable-mktexmf-default was given.
3922 if test "${enable_mktexmf_default+set}" = set; then :
3923 enableval=$enable_mktexmf_default;
3925 # Check whether --enable-mktexpk-default was given.
3926 if test "${enable_mktexpk_default+set}" = set; then :
3927 enableval=$enable_mktexpk_default;
3929 # Check whether --enable-mktextfm-default was given.
3930 if test "${enable_mktextfm_default+set}" = set; then :
3931 enableval=$enable_mktextfm_default;
3933 # Check whether --enable-mkocp-default was given.
3934 if test "${enable_mkocp_default+set}" = set; then :
3935 enableval=$enable_mkocp_default;
3937 # Check whether --enable-mkofm-default was given.
3938 if test "${enable_mkofm_default+set}" = set; then :
3939 enableval=$enable_mkofm_default;
3941 # Check whether --enable-mktexfmt-default was given.
3942 if test "${enable_mktexfmt_default+set}" = set; then :
3943 enableval=$enable_mktexfmt_default;
3945 # Check whether --enable-mktextex-default was given.
3946 if test "${enable_mktextex_default+set}" = set; then :
3947 enableval=$enable_mktextex_default;
3953 am__api_version='1.15'
3955 # Find a good install program. We prefer a C program (faster),
3956 # so one script is as good as another. But avoid the broken or
3957 # incompatible versions:
3958 # SysV /etc/install, /usr/sbin/install
3959 # SunOS /usr/etc/install
3960 # IRIX /sbin/install
3961 # AIX /bin/install
3962 # AmigaOS /C/install, which installs bootblocks on floppy discs
3963 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3964 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3965 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3966 # OS/2's system install, which has a completely different semantic
3967 # ./install, which can be erroneously created by make from ./install.sh.
3968 # Reject install programs that cannot install multiple files.
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3970 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3971 if test -z "$INSTALL"; then
3972 if ${ac_cv_path_install+:} false; then :
3973 $as_echo_n "(cached) " >&6
3974 else
3975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3976 for as_dir in $PATH
3978 IFS=$as_save_IFS
3979 test -z "$as_dir" && as_dir=.
3980 # Account for people who put trailing slashes in PATH elements.
3981 case $as_dir/ in #((
3982 ./ | .// | /[cC]/* | \
3983 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3984 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3985 /usr/ucb/* ) ;;
3987 # OSF1 and SCO ODT 3.0 have their own names for install.
3988 # Don't use installbsd from OSF since it installs stuff as root
3989 # by default.
3990 for ac_prog in ginstall scoinst install; do
3991 for ac_exec_ext in '' $ac_executable_extensions; do
3992 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3993 if test $ac_prog = install &&
3994 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3995 # AIX install. It has an incompatible calling convention.
3997 elif test $ac_prog = install &&
3998 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3999 # program-specific install script used by HP pwplus--don't use.
4001 else
4002 rm -rf conftest.one conftest.two conftest.dir
4003 echo one > conftest.one
4004 echo two > conftest.two
4005 mkdir conftest.dir
4006 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4007 test -s conftest.one && test -s conftest.two &&
4008 test -s conftest.dir/conftest.one &&
4009 test -s conftest.dir/conftest.two
4010 then
4011 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4012 break 3
4016 done
4017 done
4019 esac
4021 done
4022 IFS=$as_save_IFS
4024 rm -rf conftest.one conftest.two conftest.dir
4027 if test "${ac_cv_path_install+set}" = set; then
4028 INSTALL=$ac_cv_path_install
4029 else
4030 # As a last resort, use the slow shell script. Don't cache a
4031 # value for INSTALL within a source directory, because that will
4032 # break other packages using the cache if that directory is
4033 # removed, or if the value is a relative name.
4034 INSTALL=$ac_install_sh
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4038 $as_echo "$INSTALL" >&6; }
4040 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4041 # It thinks the first close brace ends the variable substitution.
4042 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4044 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4046 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4049 $as_echo_n "checking whether build environment is sane... " >&6; }
4050 # Reject unsafe characters in $srcdir or the absolute working directory
4051 # name. Accept space and tab only in the latter.
4052 am_lf='
4054 case `pwd` in
4055 *[\\\"\#\$\&\'\`$am_lf]*)
4056 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
4057 esac
4058 case $srcdir in
4059 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
4060 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
4061 esac
4063 # Do 'set' in a subshell so we don't clobber the current shell's
4064 # arguments. Must try -L first in case configure is actually a
4065 # symlink; some systems play weird games with the mod time of symlinks
4066 # (eg FreeBSD returns the mod time of the symlink's containing
4067 # directory).
4068 if (
4069 am_has_slept=no
4070 for am_try in 1 2; do
4071 echo "timestamp, slept: $am_has_slept" > conftest.file
4072 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4073 if test "$*" = "X"; then
4074 # -L didn't work.
4075 set X `ls -t "$srcdir/configure" conftest.file`
4077 if test "$*" != "X $srcdir/configure conftest.file" \
4078 && test "$*" != "X conftest.file $srcdir/configure"; then
4080 # If neither matched, then we have a broken ls. This can happen
4081 # if, for instance, CONFIG_SHELL is bash and it inherits a
4082 # broken ls alias from the environment. This has actually
4083 # happened. Such a system could not be considered "sane".
4084 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
4085 alias in your environment" "$LINENO" 5
4087 if test "$2" = conftest.file || test $am_try -eq 2; then
4088 break
4090 # Just in case.
4091 sleep 1
4092 am_has_slept=yes
4093 done
4094 test "$2" = conftest.file
4096 then
4097 # Ok.
4099 else
4100 as_fn_error $? "newly created file is older than distributed files!
4101 Check your system clock" "$LINENO" 5
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4104 $as_echo "yes" >&6; }
4105 # If we didn't sleep, we still need to ensure time stamps of config.status and
4106 # generated files are strictly newer.
4107 am_sleep_pid=
4108 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
4109 ( sleep 1 ) &
4110 am_sleep_pid=$!
4113 rm -f conftest.file
4115 test "$program_prefix" != NONE &&
4116 program_transform_name="s&^&$program_prefix&;$program_transform_name"
4117 # Use a double $ so make ignores it.
4118 test "$program_suffix" != NONE &&
4119 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
4120 # Double any \ or $.
4121 # By default was `s,x,x', remove it if useless.
4122 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
4123 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
4125 if test x"${MISSING+set}" != xset; then
4126 case $am_aux_dir in
4127 *\ * | *\ *)
4128 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
4130 MISSING="\${SHELL} $am_aux_dir/missing" ;;
4131 esac
4133 # Use eval to expand $SHELL
4134 if eval "$MISSING --is-lightweight"; then
4135 am_missing_run="$MISSING "
4136 else
4137 am_missing_run=
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
4139 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
4142 if test x"${install_sh+set}" != xset; then
4143 case $am_aux_dir in
4144 *\ * | *\ *)
4145 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
4147 install_sh="\${SHELL} $am_aux_dir/install-sh"
4148 esac
4151 # Installed binaries are usually stripped using 'strip' when the user
4152 # run "make install-strip". However 'strip' might not be the right
4153 # tool to use in cross-compilation environments, therefore Automake
4154 # will honor the 'STRIP' environment variable to overrule this program.
4155 if test "$cross_compiling" != no; then
4156 if test -n "$ac_tool_prefix"; then
4157 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4158 set dummy ${ac_tool_prefix}strip; ac_word=$2
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4160 $as_echo_n "checking for $ac_word... " >&6; }
4161 if ${ac_cv_prog_STRIP+:} false; then :
4162 $as_echo_n "(cached) " >&6
4163 else
4164 if test -n "$STRIP"; then
4165 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4166 else
4167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4168 for as_dir in $PATH
4170 IFS=$as_save_IFS
4171 test -z "$as_dir" && as_dir=.
4172 for ac_exec_ext in '' $ac_executable_extensions; do
4173 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4174 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4176 break 2
4178 done
4179 done
4180 IFS=$as_save_IFS
4184 STRIP=$ac_cv_prog_STRIP
4185 if test -n "$STRIP"; then
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4187 $as_echo "$STRIP" >&6; }
4188 else
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4190 $as_echo "no" >&6; }
4195 if test -z "$ac_cv_prog_STRIP"; then
4196 ac_ct_STRIP=$STRIP
4197 # Extract the first word of "strip", so it can be a program name with args.
4198 set dummy strip; ac_word=$2
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4200 $as_echo_n "checking for $ac_word... " >&6; }
4201 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
4202 $as_echo_n "(cached) " >&6
4203 else
4204 if test -n "$ac_ct_STRIP"; then
4205 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4206 else
4207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4208 for as_dir in $PATH
4210 IFS=$as_save_IFS
4211 test -z "$as_dir" && as_dir=.
4212 for ac_exec_ext in '' $ac_executable_extensions; do
4213 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4214 ac_cv_prog_ac_ct_STRIP="strip"
4215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4216 break 2
4218 done
4219 done
4220 IFS=$as_save_IFS
4224 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4225 if test -n "$ac_ct_STRIP"; then
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4227 $as_echo "$ac_ct_STRIP" >&6; }
4228 else
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4230 $as_echo "no" >&6; }
4233 if test "x$ac_ct_STRIP" = x; then
4234 STRIP=":"
4235 else
4236 case $cross_compiling:$ac_tool_warned in
4237 yes:)
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4239 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4240 ac_tool_warned=yes ;;
4241 esac
4242 STRIP=$ac_ct_STRIP
4244 else
4245 STRIP="$ac_cv_prog_STRIP"
4249 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4252 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4253 if test -z "$MKDIR_P"; then
4254 if ${ac_cv_path_mkdir+:} false; then :
4255 $as_echo_n "(cached) " >&6
4256 else
4257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4258 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
4260 IFS=$as_save_IFS
4261 test -z "$as_dir" && as_dir=.
4262 for ac_prog in mkdir gmkdir; do
4263 for ac_exec_ext in '' $ac_executable_extensions; do
4264 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
4265 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4266 'mkdir (GNU coreutils) '* | \
4267 'mkdir (coreutils) '* | \
4268 'mkdir (fileutils) '4.1*)
4269 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
4270 break 3;;
4271 esac
4272 done
4273 done
4274 done
4275 IFS=$as_save_IFS
4279 test -d ./--version && rmdir ./--version
4280 if test "${ac_cv_path_mkdir+set}" = set; then
4281 MKDIR_P="$ac_cv_path_mkdir -p"
4282 else
4283 # As a last resort, use the slow shell script. Don't cache a
4284 # value for MKDIR_P within a source directory, because that will
4285 # break other packages using the cache if that directory is
4286 # removed, or if the value is a relative name.
4287 MKDIR_P="$ac_install_sh -d"
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4291 $as_echo "$MKDIR_P" >&6; }
4293 for ac_prog in gawk mawk nawk awk
4295 # Extract the first word of "$ac_prog", so it can be a program name with args.
4296 set dummy $ac_prog; ac_word=$2
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4298 $as_echo_n "checking for $ac_word... " >&6; }
4299 if ${ac_cv_prog_AWK+:} false; then :
4300 $as_echo_n "(cached) " >&6
4301 else
4302 if test -n "$AWK"; then
4303 ac_cv_prog_AWK="$AWK" # Let the user override the test.
4304 else
4305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4306 for as_dir in $PATH
4308 IFS=$as_save_IFS
4309 test -z "$as_dir" && as_dir=.
4310 for ac_exec_ext in '' $ac_executable_extensions; do
4311 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4312 ac_cv_prog_AWK="$ac_prog"
4313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4314 break 2
4316 done
4317 done
4318 IFS=$as_save_IFS
4322 AWK=$ac_cv_prog_AWK
4323 if test -n "$AWK"; then
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4325 $as_echo "$AWK" >&6; }
4326 else
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4328 $as_echo "no" >&6; }
4332 test -n "$AWK" && break
4333 done
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4336 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4337 set x ${MAKE-make}
4338 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4339 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4340 $as_echo_n "(cached) " >&6
4341 else
4342 cat >conftest.make <<\_ACEOF
4343 SHELL = /bin/sh
4344 all:
4345 @echo '@@@%%%=$(MAKE)=@@@%%%'
4346 _ACEOF
4347 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4348 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4349 *@@@%%%=?*=@@@%%%*)
4350 eval ac_cv_prog_make_${ac_make}_set=yes;;
4352 eval ac_cv_prog_make_${ac_make}_set=no;;
4353 esac
4354 rm -f conftest.make
4356 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4358 $as_echo "yes" >&6; }
4359 SET_MAKE=
4360 else
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4362 $as_echo "no" >&6; }
4363 SET_MAKE="MAKE=${MAKE-make}"
4366 rm -rf .tst 2>/dev/null
4367 mkdir .tst 2>/dev/null
4368 if test -d .tst; then
4369 am__leading_dot=.
4370 else
4371 am__leading_dot=_
4373 rmdir .tst 2>/dev/null
4375 DEPDIR="${am__leading_dot}deps"
4377 ac_config_commands="$ac_config_commands depfiles"
4380 am_make=${MAKE-make}
4381 cat > confinc << 'END'
4382 am__doit:
4383 @echo this is the am__doit target
4384 .PHONY: am__doit
4386 # If we don't find an include directive, just comment out the code.
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4388 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4389 am__include="#"
4390 am__quote=
4391 _am_result=none
4392 # First try GNU make style include.
4393 echo "include confinc" > confmf
4394 # Ignore all kinds of additional output from 'make'.
4395 case `$am_make -s -f confmf 2> /dev/null` in #(
4396 *the\ am__doit\ target*)
4397 am__include=include
4398 am__quote=
4399 _am_result=GNU
4401 esac
4402 # Now try BSD make style include.
4403 if test "$am__include" = "#"; then
4404 echo '.include "confinc"' > confmf
4405 case `$am_make -s -f confmf 2> /dev/null` in #(
4406 *the\ am__doit\ target*)
4407 am__include=.include
4408 am__quote="\""
4409 _am_result=BSD
4411 esac
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4416 $as_echo "$_am_result" >&6; }
4417 rm -f confinc confmf
4419 # Check whether --enable-dependency-tracking was given.
4420 if test "${enable_dependency_tracking+set}" = set; then :
4421 enableval=$enable_dependency_tracking;
4424 if test "x$enable_dependency_tracking" != xno; then
4425 am_depcomp="$ac_aux_dir/depcomp"
4426 AMDEPBACKSLASH='\'
4427 am__nodep='_no'
4429 if test "x$enable_dependency_tracking" != xno; then
4430 AMDEP_TRUE=
4431 AMDEP_FALSE='#'
4432 else
4433 AMDEP_TRUE='#'
4434 AMDEP_FALSE=
4438 # Check whether --enable-silent-rules was given.
4439 if test "${enable_silent_rules+set}" = set; then :
4440 enableval=$enable_silent_rules;
4443 case $enable_silent_rules in # (((
4444 yes) AM_DEFAULT_VERBOSITY=0;;
4445 no) AM_DEFAULT_VERBOSITY=1;;
4446 *) AM_DEFAULT_VERBOSITY=1;;
4447 esac
4448 am_make=${MAKE-make}
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4450 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4451 if ${am_cv_make_support_nested_variables+:} false; then :
4452 $as_echo_n "(cached) " >&6
4453 else
4454 if $as_echo 'TRUE=$(BAR$(V))
4455 BAR0=false
4456 BAR1=true
4458 am__doit:
4459 @$(TRUE)
4460 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4461 am_cv_make_support_nested_variables=yes
4462 else
4463 am_cv_make_support_nested_variables=no
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4467 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4468 if test $am_cv_make_support_nested_variables = yes; then
4469 AM_V='$(V)'
4470 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4471 else
4472 AM_V=$AM_DEFAULT_VERBOSITY
4473 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4475 AM_BACKSLASH='\'
4477 # Check whether --enable-compiler-warnings was given.
4478 if test "${enable_compiler_warnings+set}" = set; then :
4479 enableval=$enable_compiler_warnings;
4481 case $enable_compiler_warnings in #(
4482 no | min | yes | max | all) :
4483 ;; #(
4484 *) :
4485 if test "x$enable_maintainer_mode" = xyes; then :
4486 enable_compiler_warnings=yes
4487 else
4488 enable_compiler_warnings=min
4489 fi ;;
4490 esac
4493 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4494 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4495 # is not polluted with repeated "-I."
4496 am__isrc=' -I$(srcdir)'
4497 # test to see if srcdir already configured
4498 if test -f $srcdir/config.status; then
4499 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4503 # test whether we have cygpath
4504 if test -z "$CYGPATH_W"; then
4505 if (cygpath --version) >/dev/null 2>/dev/null; then
4506 CYGPATH_W='cygpath -w'
4507 else
4508 CYGPATH_W=echo
4513 # Define the identity of the package.
4514 PACKAGE='tex-live-texk'
4515 VERSION='2016/dev'
4518 cat >>confdefs.h <<_ACEOF
4519 #define PACKAGE "$PACKAGE"
4520 _ACEOF
4523 cat >>confdefs.h <<_ACEOF
4524 #define VERSION "$VERSION"
4525 _ACEOF
4527 # Some tools Automake needs.
4529 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4532 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4535 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4538 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4541 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4543 # For better backward compatibility. To be removed once Automake 1.9.x
4544 # dies out for good. For more background, see:
4545 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4546 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4547 mkdir_p='$(MKDIR_P)'
4549 # We need awk for the "check" target (and possibly the TAP driver). The
4550 # system "awk" is bad on some platforms.
4551 # Always define AMTAR for backward compatibility. Yes, it's still used
4552 # in the wild :-( We should find a proper way to deprecate it ...
4553 AMTAR='$${TAR-tar}'
4556 # We'll loop over all known methods to create a tar archive until one works.
4557 _am_tools='gnutar pax cpio none'
4559 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
4565 depcc="$CC" am_compiler_list=
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4568 $as_echo_n "checking dependency style of $depcc... " >&6; }
4569 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4570 $as_echo_n "(cached) " >&6
4571 else
4572 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4573 # We make a subdir and do the tests there. Otherwise we can end up
4574 # making bogus files that we don't know about and never remove. For
4575 # instance it was reported that on HP-UX the gcc test will end up
4576 # making a dummy file named 'D' -- because '-MD' means "put the output
4577 # in D".
4578 rm -rf conftest.dir
4579 mkdir conftest.dir
4580 # Copy depcomp to subdir because otherwise we won't find it if we're
4581 # using a relative directory.
4582 cp "$am_depcomp" conftest.dir
4583 cd conftest.dir
4584 # We will build objects and dependencies in a subdirectory because
4585 # it helps to detect inapplicable dependency modes. For instance
4586 # both Tru64's cc and ICC support -MD to output dependencies as a
4587 # side effect of compilation, but ICC will put the dependencies in
4588 # the current directory while Tru64 will put them in the object
4589 # directory.
4590 mkdir sub
4592 am_cv_CC_dependencies_compiler_type=none
4593 if test "$am_compiler_list" = ""; then
4594 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4596 am__universal=false
4597 case " $depcc " in #(
4598 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4599 esac
4601 for depmode in $am_compiler_list; do
4602 # Setup a source with many dependencies, because some compilers
4603 # like to wrap large dependency lists on column 80 (with \), and
4604 # we should not choose a depcomp mode which is confused by this.
4606 # We need to recreate these files for each test, as the compiler may
4607 # overwrite some of them when testing with obscure command lines.
4608 # This happens at least with the AIX C compiler.
4609 : > sub/conftest.c
4610 for i in 1 2 3 4 5 6; do
4611 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4612 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4613 # Solaris 10 /bin/sh.
4614 echo '/* dummy */' > sub/conftst$i.h
4615 done
4616 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4618 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4619 # mode. It turns out that the SunPro C++ compiler does not properly
4620 # handle '-M -o', and we need to detect this. Also, some Intel
4621 # versions had trouble with output in subdirs.
4622 am__obj=sub/conftest.${OBJEXT-o}
4623 am__minus_obj="-o $am__obj"
4624 case $depmode in
4625 gcc)
4626 # This depmode causes a compiler race in universal mode.
4627 test "$am__universal" = false || continue
4629 nosideeffect)
4630 # After this tag, mechanisms are not by side-effect, so they'll
4631 # only be used when explicitly requested.
4632 if test "x$enable_dependency_tracking" = xyes; then
4633 continue
4634 else
4635 break
4638 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4639 # This compiler won't grok '-c -o', but also, the minuso test has
4640 # not run yet. These depmodes are late enough in the game, and
4641 # so weak that their functioning should not be impacted.
4642 am__obj=conftest.${OBJEXT-o}
4643 am__minus_obj=
4645 none) break ;;
4646 esac
4647 if depmode=$depmode \
4648 source=sub/conftest.c object=$am__obj \
4649 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4650 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4651 >/dev/null 2>conftest.err &&
4652 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4653 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4654 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4655 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4656 # icc doesn't choke on unknown options, it will just issue warnings
4657 # or remarks (even with -Werror). So we grep stderr for any message
4658 # that says an option was ignored or not supported.
4659 # When given -MP, icc 7.0 and 7.1 complain thusly:
4660 # icc: Command line warning: ignoring option '-M'; no argument required
4661 # The diagnosis changed in icc 8.0:
4662 # icc: Command line remark: option '-MP' not supported
4663 if (grep 'ignoring option' conftest.err ||
4664 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4665 am_cv_CC_dependencies_compiler_type=$depmode
4666 break
4669 done
4671 cd ..
4672 rm -rf conftest.dir
4673 else
4674 am_cv_CC_dependencies_compiler_type=none
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4679 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4680 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4683 test "x$enable_dependency_tracking" != xno \
4684 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4685 am__fastdepCC_TRUE=
4686 am__fastdepCC_FALSE='#'
4687 else
4688 am__fastdepCC_TRUE='#'
4689 am__fastdepCC_FALSE=
4694 # POSIX will say in a future version that running "rm -f" with no argument
4695 # is OK; and we want to be able to make that assumption in our Makefile
4696 # recipes. So use an aggressive probe to check that the usage we want is
4697 # actually supported "in the wild" to an acceptable degree.
4698 # See automake bug#10828.
4699 # To make any issue more visible, cause the running configure to be aborted
4700 # by default if the 'rm' program in use doesn't match our expectations; the
4701 # user can still override this though.
4702 if rm -f && rm -fr && rm -rf; then : OK; else
4703 cat >&2 <<'END'
4704 Oops!
4706 Your 'rm' program seems unable to run without file operands specified
4707 on the command line, even when the '-f' option is present. This is contrary
4708 to the behaviour of most rm programs out there, and not conforming with
4709 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4711 Please tell bug-automake@gnu.org about your system, including the value
4712 of your $PATH and any error possibly output before this message. This
4713 can help us improve future automake versions.
4716 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
4717 echo 'Configuration will proceed anyway, since you have set the' >&2
4718 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4719 echo >&2
4720 else
4721 cat >&2 <<'END'
4722 Aborting the configuration process, to ensure you take notice of the issue.
4724 You can download and install GNU coreutils to get an 'rm' implementation
4725 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4727 If you want to complete the configuration process using your problematic
4728 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4729 to "yes", and re-run configure.
4732 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4738 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4739 # Check whether --enable-maintainer-mode was given.
4740 if test "${enable_maintainer_mode+set}" = set; then :
4741 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4742 else
4743 USE_MAINTAINER_MODE=no
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4747 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4748 if test $USE_MAINTAINER_MODE = yes; then
4749 MAINTAINER_MODE_TRUE=
4750 MAINTAINER_MODE_FALSE='#'
4751 else
4752 MAINTAINER_MODE_TRUE='#'
4753 MAINTAINER_MODE_FALSE=
4756 MAINT=$MAINTAINER_MODE_TRUE
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5
4760 $as_echo_n "checking whether the compiler accepts prototypes... " >&6; }
4761 if ${kb_cv_c_prototypes+:} false; then :
4762 $as_echo_n "(cached) " >&6
4763 else
4764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4765 /* end confdefs.h. */
4766 #include <stdarg.h>
4768 main ()
4770 extern void foo(int i,...);
4772 return 0;
4774 _ACEOF
4775 if ac_fn_c_try_link "$LINENO"; then :
4776 kb_cv_c_prototypes=yes
4777 else
4778 kb_cv_c_prototypes=no
4780 rm -f core conftest.err conftest.$ac_objext \
4781 conftest$ac_exeext conftest.$ac_ext
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5
4784 $as_echo "$kb_cv_c_prototypes" >&6; }
4785 if test "x$kb_cv_c_prototypes" = xno; then
4786 as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
4789 $as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
4790 if ${kpse_cv_warning_cflags+:} false; then :
4791 $as_echo_n "(cached) " >&6
4792 else
4793 if test "x$GCC" = xyes; then
4794 kpse_cv_warning_cflags=
4795 if test "x$enable_compiler_warnings" != xno; then
4796 kpse_cv_warning_cflags="-Wimplicit -Wreturn-type"
4797 case `$CC -dumpversion` in #(
4798 3.4.* | 4.* | 5.*) :
4799 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #(
4800 *) :
4802 esac
4803 case `$CC -dumpversion` in #(
4804 3.[234].* | 4.* | 5.*) :
4805 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #(
4806 *) :
4808 esac
4809 if test "x$enable_compiler_warnings" != xmin; then
4810 kpse_cv_warning_cflags="-Wall -Wunused $kpse_cv_warning_cflags"
4811 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
4812 if test "x$enable_compiler_warnings" != xyes; then
4813 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
4814 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings"
4815 case `$CC -dumpversion` in #(
4816 3.4.* | 4.* | 5.*) :
4817 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;; #(
4818 *) :
4820 esac
4821 if test "x$enable_compiler_warnings" != xmax; then
4822 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wshadow"
4827 elif test "x$enable_compiler_warnings" = xno; then
4828 kpse_cv_warning_cflags=
4829 else
4830 kpse_cv_warning_cflags= # FIXME: warning flags for non-GNU C compilers
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5
4834 $as_echo "$kpse_cv_warning_cflags" >&6; }
4835 WARNING_CFLAGS=$kpse_cv_warning_cflags
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TeXk programs to build" >&5
4849 $as_echo_n "checking for TeXk programs to build... " >&6; }
4850 MAKE_SUBDIRS=
4851 CONF_SUBDIRS=
4852 if test -x $srcdir/web2c/configure; then
4853 test "x$enable_web2c" = xyes && MAKE_SUBDIRS="$MAKE_SUBDIRS web2c"
4854 CONF_SUBDIRS="$CONF_SUBDIRS web2c"
4855 if false; then
4856 subdirs="$subdirs web2c"
4860 if test -x $srcdir/texlive/configure; then
4861 test "x$enable_texlive" = xyes && MAKE_SUBDIRS="$MAKE_SUBDIRS texlive"
4862 CONF_SUBDIRS="$CONF_SUBDIRS texlive"
4863 if false; then
4864 subdirs="$subdirs texlive"
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE_SUBDIRS" >&5
4870 $as_echo "$MAKE_SUBDIRS" >&6; }
4872 ac_config_files="$ac_config_files Makefile"
4875 cat >confcache <<\_ACEOF
4876 # This file is a shell script that caches the results of configure
4877 # tests run on this system so they can be shared between configure
4878 # scripts and configure runs, see configure's option --config-cache.
4879 # It is not useful on other systems. If it contains results you don't
4880 # want to keep, you may remove or edit it.
4882 # config.status only pays attention to the cache file if you give it
4883 # the --recheck option to rerun configure.
4885 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4886 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4887 # following values.
4889 _ACEOF
4891 # The following way of writing the cache mishandles newlines in values,
4892 # but we know of no workaround that is simple, portable, and efficient.
4893 # So, we kill variables containing newlines.
4894 # Ultrix sh set writes to stderr and can't be redirected directly,
4895 # and sets the high bit in the cache file unless we assign to the vars.
4897 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4898 eval ac_val=\$$ac_var
4899 case $ac_val in #(
4900 *${as_nl}*)
4901 case $ac_var in #(
4902 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4903 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4904 esac
4905 case $ac_var in #(
4906 _ | IFS | as_nl) ;; #(
4907 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4908 *) { eval $ac_var=; unset $ac_var;} ;;
4909 esac ;;
4910 esac
4911 done
4913 (set) 2>&1 |
4914 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4915 *${as_nl}ac_space=\ *)
4916 # `set' does not quote correctly, so add quotes: double-quote
4917 # substitution turns \\\\ into \\, and sed turns \\ into \.
4918 sed -n \
4919 "s/'/'\\\\''/g;
4920 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4921 ;; #(
4923 # `set' quotes correctly as required by POSIX, so do not add quotes.
4924 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4926 esac |
4927 sort
4929 sed '
4930 /^ac_cv_env_/b end
4931 t clear
4932 :clear
4933 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4934 t end
4935 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4936 :end' >>confcache
4937 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4938 if test -w "$cache_file"; then
4939 if test "x$cache_file" != "x/dev/null"; then
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4941 $as_echo "$as_me: updating cache $cache_file" >&6;}
4942 if test ! -f "$cache_file" || test -h "$cache_file"; then
4943 cat confcache >"$cache_file"
4944 else
4945 case $cache_file in #(
4946 */* | ?:*)
4947 mv -f confcache "$cache_file"$$ &&
4948 mv -f "$cache_file"$$ "$cache_file" ;; #(
4950 mv -f confcache "$cache_file" ;;
4951 esac
4954 else
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4956 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4959 rm -f confcache
4961 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4962 # Let make expand exec_prefix.
4963 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4965 # Transform confdefs.h into DEFS.
4966 # Protect against shell expansion while executing Makefile rules.
4967 # Protect against Makefile macro expansion.
4969 # If the first sed substitution is executed (which looks for macros that
4970 # take arguments), then branch to the quote section. Otherwise,
4971 # look for a macro that doesn't take arguments.
4972 ac_script='
4973 :mline
4974 /\\$/{
4976 s,\\\n,,
4977 b mline
4979 t clear
4980 :clear
4981 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4982 t quote
4983 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4984 t quote
4985 b any
4986 :quote
4987 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4988 s/\[/\\&/g
4989 s/\]/\\&/g
4990 s/\$/$$/g
4992 :any
4995 s/^\n//
4996 s/\n/ /g
5000 DEFS=`sed -n "$ac_script" confdefs.h`
5003 ac_libobjs=
5004 ac_ltlibobjs=
5006 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5007 # 1. Remove the extension, and $U if already installed.
5008 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5009 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5010 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5011 # will be set to the directory where LIBOBJS objects are built.
5012 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5013 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5014 done
5015 LIBOBJS=$ac_libobjs
5017 LTLIBOBJS=$ac_ltlibobjs
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
5021 $as_echo_n "checking that generated files are newer than configure... " >&6; }
5022 if test -n "$am_sleep_pid"; then
5023 # Hide warnings about reused PIDs.
5024 wait $am_sleep_pid 2>/dev/null
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
5027 $as_echo "done" >&6; }
5028 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5029 as_fn_error $? "conditional \"AMDEP\" was never defined.
5030 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5032 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5033 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5034 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5036 if test -n "$EXEEXT"; then
5037 am__EXEEXT_TRUE=
5038 am__EXEEXT_FALSE='#'
5039 else
5040 am__EXEEXT_TRUE='#'
5041 am__EXEEXT_FALSE=
5044 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5045 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
5046 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5049 : "${CONFIG_STATUS=./config.status}"
5050 ac_write_fail=0
5051 ac_clean_files_save=$ac_clean_files
5052 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5054 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5055 as_write_fail=0
5056 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5057 #! $SHELL
5058 # Generated by $as_me.
5059 # Run this file to recreate the current configuration.
5060 # Compiler output produced by configure, useful for debugging
5061 # configure, is in config.log if it exists.
5063 debug=false
5064 ac_cs_recheck=false
5065 ac_cs_silent=false
5067 SHELL=\${CONFIG_SHELL-$SHELL}
5068 export SHELL
5069 _ASEOF
5070 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5071 ## -------------------- ##
5072 ## M4sh Initialization. ##
5073 ## -------------------- ##
5075 # Be more Bourne compatible
5076 DUALCASE=1; export DUALCASE # for MKS sh
5077 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5078 emulate sh
5079 NULLCMD=:
5080 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5081 # is contrary to our usage. Disable this feature.
5082 alias -g '${1+"$@"}'='"$@"'
5083 setopt NO_GLOB_SUBST
5084 else
5085 case `(set -o) 2>/dev/null` in #(
5086 *posix*) :
5087 set -o posix ;; #(
5088 *) :
5090 esac
5094 as_nl='
5096 export as_nl
5097 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5098 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5099 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5100 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5101 # Prefer a ksh shell builtin over an external printf program on Solaris,
5102 # but without wasting forks for bash or zsh.
5103 if test -z "$BASH_VERSION$ZSH_VERSION" \
5104 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5105 as_echo='print -r --'
5106 as_echo_n='print -rn --'
5107 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5108 as_echo='printf %s\n'
5109 as_echo_n='printf %s'
5110 else
5111 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5112 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5113 as_echo_n='/usr/ucb/echo -n'
5114 else
5115 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5116 as_echo_n_body='eval
5117 arg=$1;
5118 case $arg in #(
5119 *"$as_nl"*)
5120 expr "X$arg" : "X\\(.*\\)$as_nl";
5121 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5122 esac;
5123 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5125 export as_echo_n_body
5126 as_echo_n='sh -c $as_echo_n_body as_echo'
5128 export as_echo_body
5129 as_echo='sh -c $as_echo_body as_echo'
5132 # The user is always right.
5133 if test "${PATH_SEPARATOR+set}" != set; then
5134 PATH_SEPARATOR=:
5135 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5136 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5137 PATH_SEPARATOR=';'
5142 # IFS
5143 # We need space, tab and new line, in precisely that order. Quoting is
5144 # there to prevent editors from complaining about space-tab.
5145 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5146 # splitting by setting IFS to empty value.)
5147 IFS=" "" $as_nl"
5149 # Find who we are. Look in the path if we contain no directory separator.
5150 as_myself=
5151 case $0 in #((
5152 *[\\/]* ) as_myself=$0 ;;
5153 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5154 for as_dir in $PATH
5156 IFS=$as_save_IFS
5157 test -z "$as_dir" && as_dir=.
5158 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5159 done
5160 IFS=$as_save_IFS
5163 esac
5164 # We did not find ourselves, most probably we were run as `sh COMMAND'
5165 # in which case we are not to be found in the path.
5166 if test "x$as_myself" = x; then
5167 as_myself=$0
5169 if test ! -f "$as_myself"; then
5170 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5171 exit 1
5174 # Unset variables that we do not need and which cause bugs (e.g. in
5175 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5176 # suppresses any "Segmentation fault" message there. '((' could
5177 # trigger a bug in pdksh 5.2.14.
5178 for as_var in BASH_ENV ENV MAIL MAILPATH
5179 do eval test x\${$as_var+set} = xset \
5180 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5181 done
5182 PS1='$ '
5183 PS2='> '
5184 PS4='+ '
5186 # NLS nuisances.
5187 LC_ALL=C
5188 export LC_ALL
5189 LANGUAGE=C
5190 export LANGUAGE
5192 # CDPATH.
5193 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5196 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5197 # ----------------------------------------
5198 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5199 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5200 # script with STATUS, using 1 if that was 0.
5201 as_fn_error ()
5203 as_status=$1; test $as_status -eq 0 && as_status=1
5204 if test "$4"; then
5205 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5206 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5208 $as_echo "$as_me: error: $2" >&2
5209 as_fn_exit $as_status
5210 } # as_fn_error
5213 # as_fn_set_status STATUS
5214 # -----------------------
5215 # Set $? to STATUS, without forking.
5216 as_fn_set_status ()
5218 return $1
5219 } # as_fn_set_status
5221 # as_fn_exit STATUS
5222 # -----------------
5223 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5224 as_fn_exit ()
5226 set +e
5227 as_fn_set_status $1
5228 exit $1
5229 } # as_fn_exit
5231 # as_fn_unset VAR
5232 # ---------------
5233 # Portably unset VAR.
5234 as_fn_unset ()
5236 { eval $1=; unset $1;}
5238 as_unset=as_fn_unset
5239 # as_fn_append VAR VALUE
5240 # ----------------------
5241 # Append the text in VALUE to the end of the definition contained in VAR. Take
5242 # advantage of any shell optimizations that allow amortized linear growth over
5243 # repeated appends, instead of the typical quadratic growth present in naive
5244 # implementations.
5245 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5246 eval 'as_fn_append ()
5248 eval $1+=\$2
5250 else
5251 as_fn_append ()
5253 eval $1=\$$1\$2
5255 fi # as_fn_append
5257 # as_fn_arith ARG...
5258 # ------------------
5259 # Perform arithmetic evaluation on the ARGs, and store the result in the
5260 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5261 # must be portable across $(()) and expr.
5262 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5263 eval 'as_fn_arith ()
5265 as_val=$(( $* ))
5267 else
5268 as_fn_arith ()
5270 as_val=`expr "$@" || test $? -eq 1`
5272 fi # as_fn_arith
5275 if expr a : '\(a\)' >/dev/null 2>&1 &&
5276 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5277 as_expr=expr
5278 else
5279 as_expr=false
5282 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5283 as_basename=basename
5284 else
5285 as_basename=false
5288 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5289 as_dirname=dirname
5290 else
5291 as_dirname=false
5294 as_me=`$as_basename -- "$0" ||
5295 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5296 X"$0" : 'X\(//\)$' \| \
5297 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5298 $as_echo X/"$0" |
5299 sed '/^.*\/\([^/][^/]*\)\/*$/{
5300 s//\1/
5303 /^X\/\(\/\/\)$/{
5304 s//\1/
5307 /^X\/\(\/\).*/{
5308 s//\1/
5311 s/.*/./; q'`
5313 # Avoid depending upon Character Ranges.
5314 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5315 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5316 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5317 as_cr_digits='0123456789'
5318 as_cr_alnum=$as_cr_Letters$as_cr_digits
5320 ECHO_C= ECHO_N= ECHO_T=
5321 case `echo -n x` in #(((((
5322 -n*)
5323 case `echo 'xy\c'` in
5324 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5325 xy) ECHO_C='\c';;
5326 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5327 ECHO_T=' ';;
5328 esac;;
5330 ECHO_N='-n';;
5331 esac
5333 rm -f conf$$ conf$$.exe conf$$.file
5334 if test -d conf$$.dir; then
5335 rm -f conf$$.dir/conf$$.file
5336 else
5337 rm -f conf$$.dir
5338 mkdir conf$$.dir 2>/dev/null
5340 if (echo >conf$$.file) 2>/dev/null; then
5341 if ln -s conf$$.file conf$$ 2>/dev/null; then
5342 as_ln_s='ln -s'
5343 # ... but there are two gotchas:
5344 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5345 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5346 # In both cases, we have to default to `cp -pR'.
5347 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5348 as_ln_s='cp -pR'
5349 elif ln conf$$.file conf$$ 2>/dev/null; then
5350 as_ln_s=ln
5351 else
5352 as_ln_s='cp -pR'
5354 else
5355 as_ln_s='cp -pR'
5357 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5358 rmdir conf$$.dir 2>/dev/null
5361 # as_fn_mkdir_p
5362 # -------------
5363 # Create "$as_dir" as a directory, including parents if necessary.
5364 as_fn_mkdir_p ()
5367 case $as_dir in #(
5368 -*) as_dir=./$as_dir;;
5369 esac
5370 test -d "$as_dir" || eval $as_mkdir_p || {
5371 as_dirs=
5372 while :; do
5373 case $as_dir in #(
5374 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5375 *) as_qdir=$as_dir;;
5376 esac
5377 as_dirs="'$as_qdir' $as_dirs"
5378 as_dir=`$as_dirname -- "$as_dir" ||
5379 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5380 X"$as_dir" : 'X\(//\)[^/]' \| \
5381 X"$as_dir" : 'X\(//\)$' \| \
5382 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5383 $as_echo X"$as_dir" |
5384 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5385 s//\1/
5388 /^X\(\/\/\)[^/].*/{
5389 s//\1/
5392 /^X\(\/\/\)$/{
5393 s//\1/
5396 /^X\(\/\).*/{
5397 s//\1/
5400 s/.*/./; q'`
5401 test -d "$as_dir" && break
5402 done
5403 test -z "$as_dirs" || eval "mkdir $as_dirs"
5404 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5407 } # as_fn_mkdir_p
5408 if mkdir -p . 2>/dev/null; then
5409 as_mkdir_p='mkdir -p "$as_dir"'
5410 else
5411 test -d ./-p && rmdir ./-p
5412 as_mkdir_p=false
5416 # as_fn_executable_p FILE
5417 # -----------------------
5418 # Test if FILE is an executable regular file.
5419 as_fn_executable_p ()
5421 test -f "$1" && test -x "$1"
5422 } # as_fn_executable_p
5423 as_test_x='test -x'
5424 as_executable_p=as_fn_executable_p
5426 # Sed expression to map a string onto a valid CPP name.
5427 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5429 # Sed expression to map a string onto a valid variable name.
5430 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5433 exec 6>&1
5434 ## ----------------------------------- ##
5435 ## Main body of $CONFIG_STATUS script. ##
5436 ## ----------------------------------- ##
5437 _ASEOF
5438 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5440 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5441 # Save the log message, to keep $0 and so on meaningful, and to
5442 # report actual input values of CONFIG_FILES etc. instead of their
5443 # values after options handling.
5444 ac_log="
5445 This file was extended by TeX Live texk $as_me 2016/dev, which was
5446 generated by GNU Autoconf 2.69. Invocation command line was
5448 CONFIG_FILES = $CONFIG_FILES
5449 CONFIG_HEADERS = $CONFIG_HEADERS
5450 CONFIG_LINKS = $CONFIG_LINKS
5451 CONFIG_COMMANDS = $CONFIG_COMMANDS
5452 $ $0 $@
5454 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5457 _ACEOF
5459 case $ac_config_files in *"
5460 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5461 esac
5465 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5466 # Files that config.status was made for.
5467 config_files="$ac_config_files"
5468 config_commands="$ac_config_commands"
5470 _ACEOF
5472 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5473 ac_cs_usage="\
5474 \`$as_me' instantiates files and other configuration actions
5475 from templates according to the current configuration. Unless the files
5476 and actions are specified as TAGs, all are instantiated by default.
5478 Usage: $0 [OPTION]... [TAG]...
5480 -h, --help print this help, then exit
5481 -V, --version print version number and configuration settings, then exit
5482 --config print configuration, then exit
5483 -q, --quiet, --silent
5484 do not print progress messages
5485 -d, --debug don't remove temporary files
5486 --recheck update $as_me by reconfiguring in the same conditions
5487 --file=FILE[:TEMPLATE]
5488 instantiate the configuration file FILE
5490 Configuration files:
5491 $config_files
5493 Configuration commands:
5494 $config_commands
5496 Report bugs to <peb@mppmu.mpg.de>."
5498 _ACEOF
5499 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5500 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5501 ac_cs_version="\\
5502 TeX Live texk config.status 2016/dev
5503 configured by $0, generated by GNU Autoconf 2.69,
5504 with options \\"\$ac_cs_config\\"
5506 Copyright (C) 2012 Free Software Foundation, Inc.
5507 This config.status script is free software; the Free Software Foundation
5508 gives unlimited permission to copy, distribute and modify it."
5510 ac_pwd='$ac_pwd'
5511 srcdir='$srcdir'
5512 INSTALL='$INSTALL'
5513 MKDIR_P='$MKDIR_P'
5514 AWK='$AWK'
5515 test -n "\$AWK" || AWK=awk
5516 _ACEOF
5518 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5519 # The default lists apply if the user does not specify any file.
5520 ac_need_defaults=:
5521 while test $# != 0
5523 case $1 in
5524 --*=?*)
5525 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5526 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5527 ac_shift=:
5529 --*=)
5530 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5531 ac_optarg=
5532 ac_shift=:
5535 ac_option=$1
5536 ac_optarg=$2
5537 ac_shift=shift
5539 esac
5541 case $ac_option in
5542 # Handling of the options.
5543 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5544 ac_cs_recheck=: ;;
5545 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5546 $as_echo "$ac_cs_version"; exit ;;
5547 --config | --confi | --conf | --con | --co | --c )
5548 $as_echo "$ac_cs_config"; exit ;;
5549 --debug | --debu | --deb | --de | --d | -d )
5550 debug=: ;;
5551 --file | --fil | --fi | --f )
5552 $ac_shift
5553 case $ac_optarg in
5554 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5555 '') as_fn_error $? "missing file argument" ;;
5556 esac
5557 as_fn_append CONFIG_FILES " '$ac_optarg'"
5558 ac_need_defaults=false;;
5559 --he | --h | --help | --hel | -h )
5560 $as_echo "$ac_cs_usage"; exit ;;
5561 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5562 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5563 ac_cs_silent=: ;;
5565 # This is an error.
5566 -*) as_fn_error $? "unrecognized option: \`$1'
5567 Try \`$0 --help' for more information." ;;
5569 *) as_fn_append ac_config_targets " $1"
5570 ac_need_defaults=false ;;
5572 esac
5573 shift
5574 done
5576 ac_configure_extra_args=
5578 if $ac_cs_silent; then
5579 exec 6>/dev/null
5580 ac_configure_extra_args="$ac_configure_extra_args --silent"
5583 _ACEOF
5584 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5585 if \$ac_cs_recheck; then
5586 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5587 shift
5588 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5589 CONFIG_SHELL='$SHELL'
5590 export CONFIG_SHELL
5591 exec "\$@"
5594 _ACEOF
5595 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5596 exec 5>>config.log
5598 echo
5599 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5600 ## Running $as_me. ##
5601 _ASBOX
5602 $as_echo "$ac_log"
5603 } >&5
5605 _ACEOF
5606 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5608 # INIT-COMMANDS
5610 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5612 _ACEOF
5614 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5616 # Handling of arguments.
5617 for ac_config_target in $ac_config_targets
5619 case $ac_config_target in
5620 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5621 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5623 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5624 esac
5625 done
5628 # If the user did not use the arguments to specify the items to instantiate,
5629 # then the envvar interface is used. Set only those that are not.
5630 # We use the long form for the default assignment because of an extremely
5631 # bizarre bug on SunOS 4.1.3.
5632 if $ac_need_defaults; then
5633 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5634 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5637 # Have a temporary directory for convenience. Make it in the build tree
5638 # simply because there is no reason against having it here, and in addition,
5639 # creating and moving files from /tmp can sometimes cause problems.
5640 # Hook for its removal unless debugging.
5641 # Note that there is a small window in which the directory will not be cleaned:
5642 # after its creation but before its name has been assigned to `$tmp'.
5643 $debug ||
5645 tmp= ac_tmp=
5646 trap 'exit_status=$?
5647 : "${ac_tmp:=$tmp}"
5648 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5650 trap 'as_fn_exit 1' 1 2 13 15
5652 # Create a (secure) tmp directory for tmp files.
5655 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5656 test -d "$tmp"
5657 } ||
5659 tmp=./conf$$-$RANDOM
5660 (umask 077 && mkdir "$tmp")
5661 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5662 ac_tmp=$tmp
5664 # Set up the scripts for CONFIG_FILES section.
5665 # No need to generate them if there are no CONFIG_FILES.
5666 # This happens for instance with `./config.status config.h'.
5667 if test -n "$CONFIG_FILES"; then
5670 ac_cr=`echo X | tr X '\015'`
5671 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5672 # But we know of no other shell where ac_cr would be empty at this
5673 # point, so we can use a bashism as a fallback.
5674 if test "x$ac_cr" = x; then
5675 eval ac_cr=\$\'\\r\'
5677 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5678 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5679 ac_cs_awk_cr='\\r'
5680 else
5681 ac_cs_awk_cr=$ac_cr
5684 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5685 _ACEOF
5689 echo "cat >conf$$subs.awk <<_ACEOF" &&
5690 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5691 echo "_ACEOF"
5692 } >conf$$subs.sh ||
5693 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5694 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5695 ac_delim='%!_!# '
5696 for ac_last_try in false false false false false :; do
5697 . ./conf$$subs.sh ||
5698 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5700 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5701 if test $ac_delim_n = $ac_delim_num; then
5702 break
5703 elif $ac_last_try; then
5704 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5705 else
5706 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5708 done
5709 rm -f conf$$subs.sh
5711 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5712 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5713 _ACEOF
5714 sed -n '
5716 s/^/S["/; s/!.*/"]=/
5719 s/^[^!]*!//
5720 :repl
5721 t repl
5722 s/'"$ac_delim"'$//
5723 t delim
5726 s/\(.\{148\}\)..*/\1/
5727 t more1
5728 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5731 b repl
5732 :more1
5733 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5736 s/.\{148\}//
5737 t nl
5738 :delim
5740 s/\(.\{148\}\)..*/\1/
5741 t more2
5742 s/["\\]/\\&/g; s/^/"/; s/$/"/
5745 :more2
5746 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5749 s/.\{148\}//
5750 t delim
5751 ' <conf$$subs.awk | sed '
5752 /^[^""]/{
5754 s/\n//
5756 ' >>$CONFIG_STATUS || ac_write_fail=1
5757 rm -f conf$$subs.awk
5758 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5759 _ACAWK
5760 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5761 for (key in S) S_is_set[key] = 1
5762 FS = "\a"
5766 line = $ 0
5767 nfields = split(line, field, "@")
5768 substed = 0
5769 len = length(field[1])
5770 for (i = 2; i < nfields; i++) {
5771 key = field[i]
5772 keylen = length(key)
5773 if (S_is_set[key]) {
5774 value = S[key]
5775 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5776 len += length(value) + length(field[++i])
5777 substed = 1
5778 } else
5779 len += 1 + keylen
5782 print line
5785 _ACAWK
5786 _ACEOF
5787 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5788 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5789 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5790 else
5792 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5793 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5794 _ACEOF
5796 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5797 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5798 # trailing colons and then remove the whole line if VPATH becomes empty
5799 # (actually we leave an empty line to preserve line numbers).
5800 if test "x$srcdir" = x.; then
5801 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5803 s///
5804 s/^/:/
5805 s/[ ]*$/:/
5806 s/:\$(srcdir):/:/g
5807 s/:\${srcdir}:/:/g
5808 s/:@srcdir@:/:/g
5809 s/^:*//
5810 s/:*$//
5812 s/\(=[ ]*\).*/\1/
5814 s/\n//
5815 s/^[^=]*=[ ]*$//
5819 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5820 fi # test -n "$CONFIG_FILES"
5823 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
5824 shift
5825 for ac_tag
5827 case $ac_tag in
5828 :[FHLC]) ac_mode=$ac_tag; continue;;
5829 esac
5830 case $ac_mode$ac_tag in
5831 :[FHL]*:*);;
5832 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5833 :[FH]-) ac_tag=-:-;;
5834 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5835 esac
5836 ac_save_IFS=$IFS
5837 IFS=:
5838 set x $ac_tag
5839 IFS=$ac_save_IFS
5840 shift
5841 ac_file=$1
5842 shift
5844 case $ac_mode in
5845 :L) ac_source=$1;;
5846 :[FH])
5847 ac_file_inputs=
5848 for ac_f
5850 case $ac_f in
5851 -) ac_f="$ac_tmp/stdin";;
5852 *) # Look for the file first in the build tree, then in the source tree
5853 # (if the path is not absolute). The absolute path cannot be DOS-style,
5854 # because $ac_f cannot contain `:'.
5855 test -f "$ac_f" ||
5856 case $ac_f in
5857 [\\/$]*) false;;
5858 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5859 esac ||
5860 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5861 esac
5862 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5863 as_fn_append ac_file_inputs " '$ac_f'"
5864 done
5866 # Let's still pretend it is `configure' which instantiates (i.e., don't
5867 # use $as_me), people would be surprised to read:
5868 # /* config.h. Generated by config.status. */
5869 configure_input='Generated from '`
5870 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5871 `' by configure.'
5872 if test x"$ac_file" != x-; then
5873 configure_input="$ac_file. $configure_input"
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5875 $as_echo "$as_me: creating $ac_file" >&6;}
5877 # Neutralize special characters interpreted by sed in replacement strings.
5878 case $configure_input in #(
5879 *\&* | *\|* | *\\* )
5880 ac_sed_conf_input=`$as_echo "$configure_input" |
5881 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5882 *) ac_sed_conf_input=$configure_input;;
5883 esac
5885 case $ac_tag in
5886 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5887 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5888 esac
5890 esac
5892 ac_dir=`$as_dirname -- "$ac_file" ||
5893 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5894 X"$ac_file" : 'X\(//\)[^/]' \| \
5895 X"$ac_file" : 'X\(//\)$' \| \
5896 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5897 $as_echo X"$ac_file" |
5898 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5899 s//\1/
5902 /^X\(\/\/\)[^/].*/{
5903 s//\1/
5906 /^X\(\/\/\)$/{
5907 s//\1/
5910 /^X\(\/\).*/{
5911 s//\1/
5914 s/.*/./; q'`
5915 as_dir="$ac_dir"; as_fn_mkdir_p
5916 ac_builddir=.
5918 case "$ac_dir" in
5919 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5921 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5922 # A ".." for each directory in $ac_dir_suffix.
5923 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5924 case $ac_top_builddir_sub in
5925 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5926 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5927 esac ;;
5928 esac
5929 ac_abs_top_builddir=$ac_pwd
5930 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5931 # for backward compatibility:
5932 ac_top_builddir=$ac_top_build_prefix
5934 case $srcdir in
5935 .) # We are building in place.
5936 ac_srcdir=.
5937 ac_top_srcdir=$ac_top_builddir_sub
5938 ac_abs_top_srcdir=$ac_pwd ;;
5939 [\\/]* | ?:[\\/]* ) # Absolute name.
5940 ac_srcdir=$srcdir$ac_dir_suffix;
5941 ac_top_srcdir=$srcdir
5942 ac_abs_top_srcdir=$srcdir ;;
5943 *) # Relative name.
5944 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5945 ac_top_srcdir=$ac_top_build_prefix$srcdir
5946 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5947 esac
5948 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5951 case $ac_mode in
5954 # CONFIG_FILE
5957 case $INSTALL in
5958 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5959 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5960 esac
5961 ac_MKDIR_P=$MKDIR_P
5962 case $MKDIR_P in
5963 [\\/$]* | ?:[\\/]* ) ;;
5964 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5965 esac
5966 _ACEOF
5968 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5969 # If the template does not know about datarootdir, expand it.
5970 # FIXME: This hack should be removed a few years after 2.60.
5971 ac_datarootdir_hack=; ac_datarootdir_seen=
5972 ac_sed_dataroot='
5973 /datarootdir/ {
5977 /@datadir@/p
5978 /@docdir@/p
5979 /@infodir@/p
5980 /@localedir@/p
5981 /@mandir@/p'
5982 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5983 *datarootdir*) ac_datarootdir_seen=yes;;
5984 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5986 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5987 _ACEOF
5988 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5989 ac_datarootdir_hack='
5990 s&@datadir@&$datadir&g
5991 s&@docdir@&$docdir&g
5992 s&@infodir@&$infodir&g
5993 s&@localedir@&$localedir&g
5994 s&@mandir@&$mandir&g
5995 s&\\\${datarootdir}&$datarootdir&g' ;;
5996 esac
5997 _ACEOF
5999 # Neutralize VPATH when `$srcdir' = `.'.
6000 # Shell code in configure.ac might set extrasub.
6001 # FIXME: do we really want to maintain this feature?
6002 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6003 ac_sed_extra="$ac_vpsub
6004 $extrasub
6005 _ACEOF
6006 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6008 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6009 s|@configure_input@|$ac_sed_conf_input|;t t
6010 s&@top_builddir@&$ac_top_builddir_sub&;t t
6011 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6012 s&@srcdir@&$ac_srcdir&;t t
6013 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6014 s&@top_srcdir@&$ac_top_srcdir&;t t
6015 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6016 s&@builddir@&$ac_builddir&;t t
6017 s&@abs_builddir@&$ac_abs_builddir&;t t
6018 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6019 s&@INSTALL@&$ac_INSTALL&;t t
6020 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6021 $ac_datarootdir_hack
6023 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6024 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6026 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6027 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6028 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6029 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6031 which seems to be undefined. Please make sure it is defined" >&5
6032 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6033 which seems to be undefined. Please make sure it is defined" >&2;}
6035 rm -f "$ac_tmp/stdin"
6036 case $ac_file in
6037 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6038 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6039 esac \
6040 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6044 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6045 $as_echo "$as_me: executing $ac_file commands" >&6;}
6047 esac
6050 case $ac_file$ac_mode in
6051 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6052 # Older Autoconf quotes --file arguments for eval, but not when files
6053 # are listed without --file. Let's play safe and only enable the eval
6054 # if we detect the quoting.
6055 case $CONFIG_FILES in
6056 *\'*) eval set x "$CONFIG_FILES" ;;
6057 *) set x $CONFIG_FILES ;;
6058 esac
6059 shift
6060 for mf
6062 # Strip MF so we end up with the name of the file.
6063 mf=`echo "$mf" | sed -e 's/:.*$//'`
6064 # Check whether this is an Automake generated Makefile or not.
6065 # We used to match only the files named 'Makefile.in', but
6066 # some people rename them; so instead we look at the file content.
6067 # Grep'ing the first line is not enough: some people post-process
6068 # each Makefile.in and add a new line on top of each file to say so.
6069 # Grep'ing the whole file is not good either: AIX grep has a line
6070 # limit of 2048, but all sed's we know have understand at least 4000.
6071 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6072 dirpart=`$as_dirname -- "$mf" ||
6073 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6074 X"$mf" : 'X\(//\)[^/]' \| \
6075 X"$mf" : 'X\(//\)$' \| \
6076 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6077 $as_echo X"$mf" |
6078 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6079 s//\1/
6082 /^X\(\/\/\)[^/].*/{
6083 s//\1/
6086 /^X\(\/\/\)$/{
6087 s//\1/
6090 /^X\(\/\).*/{
6091 s//\1/
6094 s/.*/./; q'`
6095 else
6096 continue
6098 # Extract the definition of DEPDIR, am__include, and am__quote
6099 # from the Makefile without running 'make'.
6100 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6101 test -z "$DEPDIR" && continue
6102 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6103 test -z "$am__include" && continue
6104 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6105 # Find all dependency output files, they are included files with
6106 # $(DEPDIR) in their names. We invoke sed twice because it is the
6107 # simplest approach to changing $(DEPDIR) to its actual value in the
6108 # expansion.
6109 for file in `sed -n "
6110 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6111 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
6112 # Make sure the directory exists.
6113 test -f "$dirpart/$file" && continue
6114 fdir=`$as_dirname -- "$file" ||
6115 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6116 X"$file" : 'X\(//\)[^/]' \| \
6117 X"$file" : 'X\(//\)$' \| \
6118 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6119 $as_echo X"$file" |
6120 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6121 s//\1/
6124 /^X\(\/\/\)[^/].*/{
6125 s//\1/
6128 /^X\(\/\/\)$/{
6129 s//\1/
6132 /^X\(\/\).*/{
6133 s//\1/
6136 s/.*/./; q'`
6137 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6138 # echo "creating $dirpart/$file"
6139 echo '# dummy' > "$dirpart/$file"
6140 done
6141 done
6145 esac
6146 done # for ac_tag
6149 as_fn_exit 0
6150 _ACEOF
6151 ac_clean_files=$ac_clean_files_save
6153 test $ac_write_fail = 0 ||
6154 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6157 # configure is writing to config.log, and then calls config.status.
6158 # config.status does its own redirection, appending to config.log.
6159 # Unfortunately, on DOS this fails, as config.log is still kept open
6160 # by configure, so config.status won't be able to write to it; its
6161 # output is simply discarded. So we exec the FD to /dev/null,
6162 # effectively closing config.log, so it can be properly (re)opened and
6163 # appended to by config.status. When coming back to configure, we
6164 # need to make the FD available again.
6165 if test "$no_create" != yes; then
6166 ac_cs_success=:
6167 ac_config_status_args=
6168 test "$silent" = yes &&
6169 ac_config_status_args="$ac_config_status_args --quiet"
6170 exec 5>/dev/null
6171 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6172 exec 5>>config.log
6173 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6174 # would make configure fail if this is the last instruction.
6175 $ac_cs_success || as_fn_exit 1
6179 # CONFIG_SUBDIRS section.
6181 if test "$no_recursion" != yes; then
6183 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
6184 # so they do not pile up.
6185 ac_sub_configure_args=
6186 ac_prev=
6187 eval "set x $ac_configure_args"
6188 shift
6189 for ac_arg
6191 if test -n "$ac_prev"; then
6192 ac_prev=
6193 continue
6195 case $ac_arg in
6196 -cache-file | --cache-file | --cache-fil | --cache-fi \
6197 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
6198 ac_prev=cache_file ;;
6199 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
6200 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
6201 | --c=*)
6203 --config-cache | -C)
6205 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
6206 ac_prev=srcdir ;;
6207 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
6209 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
6210 ac_prev=prefix ;;
6211 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
6213 --disable-option-checking)
6216 case $ac_arg in
6217 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6218 esac
6219 as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
6220 esac
6221 done
6223 # Always prepend --prefix to ensure using the same prefix
6224 # in subdir configurations.
6225 ac_arg="--prefix=$prefix"
6226 case $ac_arg in
6227 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6228 esac
6229 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
6231 # Pass --silent
6232 if test "$silent" = yes; then
6233 ac_sub_configure_args="--silent $ac_sub_configure_args"
6236 # Always prepend --disable-option-checking to silence warnings, since
6237 # different subdirs can have different --enable and --with options.
6238 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
6240 ac_popdir=`pwd`
6241 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
6243 # Do not complain, so a configure script can configure whichever
6244 # parts of a large source tree are present.
6245 test -d "$srcdir/$ac_dir" || continue
6247 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
6248 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
6249 $as_echo "$ac_msg" >&6
6250 as_dir="$ac_dir"; as_fn_mkdir_p
6251 ac_builddir=.
6253 case "$ac_dir" in
6254 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6256 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6257 # A ".." for each directory in $ac_dir_suffix.
6258 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6259 case $ac_top_builddir_sub in
6260 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6261 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6262 esac ;;
6263 esac
6264 ac_abs_top_builddir=$ac_pwd
6265 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6266 # for backward compatibility:
6267 ac_top_builddir=$ac_top_build_prefix
6269 case $srcdir in
6270 .) # We are building in place.
6271 ac_srcdir=.
6272 ac_top_srcdir=$ac_top_builddir_sub
6273 ac_abs_top_srcdir=$ac_pwd ;;
6274 [\\/]* | ?:[\\/]* ) # Absolute name.
6275 ac_srcdir=$srcdir$ac_dir_suffix;
6276 ac_top_srcdir=$srcdir
6277 ac_abs_top_srcdir=$srcdir ;;
6278 *) # Relative name.
6279 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6280 ac_top_srcdir=$ac_top_build_prefix$srcdir
6281 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6282 esac
6283 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6286 cd "$ac_dir"
6288 # Check for guested configure; otherwise get Cygnus style configure.
6289 if test -f "$ac_srcdir/configure.gnu"; then
6290 ac_sub_configure=$ac_srcdir/configure.gnu
6291 elif test -f "$ac_srcdir/configure"; then
6292 ac_sub_configure=$ac_srcdir/configure
6293 elif test -f "$ac_srcdir/configure.in"; then
6294 # This should be Cygnus configure.
6295 ac_sub_configure=$ac_aux_dir/configure
6296 else
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
6298 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
6299 ac_sub_configure=
6302 # The recursion is here.
6303 if test -n "$ac_sub_configure"; then
6304 # Make the cache file name correct relative to the subdirectory.
6305 case $cache_file in
6306 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
6307 *) # Relative name.
6308 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
6309 esac
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
6312 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
6313 # The eval makes quoting arguments work.
6314 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
6315 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
6316 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
6319 cd "$ac_popdir"
6320 done
6322 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6324 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}