sync with TL36978; fixed Copyright year; jump to 0.80.1 (again)
[luatex.git] / source / utils / configure
blob45b86ea8c0b95f888ea0c2e4d663edb6e79fd263
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for TeX Live utils 2015.
5 # Report bugs to <tex-k@tug.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
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 tex-k@tug.org
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 utils'
581 PACKAGE_TARNAME='tex-live-utils'
582 PACKAGE_VERSION='2015'
583 PACKAGE_STRING='TeX Live utils 2015'
584 PACKAGE_BUGREPORT='tex-k@tug.org'
585 PACKAGE_URL=''
587 ac_unique_file="../build-aux/missing"
588 ac_subst_vars='am__EXEEXT_FALSE
589 am__EXEEXT_TRUE
590 LTLIBOBJS
591 LIBOBJS
592 CONF_SUBDIRS
593 MAKE_SUBDIRS
594 WARNING_CFLAGS
595 MAINT
596 MAINTAINER_MODE_FALSE
597 MAINTAINER_MODE_TRUE
598 AM_BACKSLASH
599 AM_DEFAULT_VERBOSITY
600 AM_DEFAULT_V
601 AM_V
602 am__fastdepCC_FALSE
603 am__fastdepCC_TRUE
604 CCDEPMODE
605 am__nodep
606 AMDEPBACKSLASH
607 AMDEP_FALSE
608 AMDEP_TRUE
609 am__quote
610 am__include
611 DEPDIR
612 am__untar
613 am__tar
614 AMTAR
615 am__leading_dot
616 SET_MAKE
618 mkdir_p
619 MKDIR_P
620 INSTALL_STRIP_PROGRAM
621 STRIP
622 install_sh
623 MAKEINFO
624 AUTOHEADER
625 AUTOMAKE
626 AUTOCONF
627 ACLOCAL
628 VERSION
629 PACKAGE
630 CYGPATH_W
631 am__isrc
632 INSTALL_DATA
633 INSTALL_SCRIPT
634 INSTALL_PROGRAM
635 OBJEXT
636 EXEEXT
637 ac_ct_CC
638 CPPFLAGS
639 LDFLAGS
640 CFLAGS
642 host_os
643 host_vendor
644 host_cpu
645 host
646 build_os
647 build_vendor
648 build_cpu
649 build
650 target_alias
651 host_alias
652 build_alias
653 LIBS
654 ECHO_T
655 ECHO_N
656 ECHO_C
657 DEFS
658 mandir
659 localedir
660 libdir
661 psdir
662 pdfdir
663 dvidir
664 htmldir
665 infodir
666 docdir
667 oldincludedir
668 includedir
669 localstatedir
670 sharedstatedir
671 sysconfdir
672 datadir
673 datarootdir
674 libexecdir
675 sbindir
676 bindir
677 program_transform_name
678 prefix
679 exec_prefix
680 PACKAGE_URL
681 PACKAGE_BUGREPORT
682 PACKAGE_STRING
683 PACKAGE_VERSION
684 PACKAGE_TARNAME
685 PACKAGE_NAME
686 PATH_SEPARATOR
687 SHELL'
688 ac_subst_files=''
689 ac_user_opts='
690 enable_option_checking
691 enable_missing
692 enable_all_pkgs
693 enable_native_texlive_build
694 enable_multiplatform
695 enable_cxx_runtime_hack
696 enable_libtool_hack
697 enable_web2c
698 with_banner_add
699 with_editor
700 enable_auto_core
701 enable_dump_share
702 enable_ipc
703 enable_tex
704 enable_tex_synctex
705 enable_etex
706 enable_etex_synctex
707 enable_ptex
708 enable_ptex_synctex
709 enable_eptex
710 enable_eptex_synctex
711 enable_uptex
712 enable_uptex_synctex
713 enable_euptex
714 enable_euptex_synctex
715 enable_aleph
716 enable_pdftex
717 enable_pdftex_synctex
718 enable_luatex
719 enable_luajittex
720 enable_mp
721 enable_pmp
722 enable_upmp
723 enable_xetex
724 enable_xetex_synctex
725 enable_mf
726 enable_mf_nowin
727 with_mf_x_toolkit
728 enable_epsfwin
729 enable_hp2627win
730 enable_mftalkwin
731 enable_nextwin
732 enable_regiswin
733 enable_suntoolswin
734 enable_tektronixwin
735 enable_unitermwin
736 enable_web_progs
737 enable_synctex
738 enable_texlive
739 enable_linked_scripts
740 with_system_zziplib
741 with_system_poppler
742 with_system_mpfr
743 with_mpfr_includes
744 with_mpfr_libdir
745 with_system_gmp
746 with_gmp_includes
747 with_gmp_libdir
748 with_system_cairo
749 with_system_pixman
750 with_system_libpng
751 with_system_zlib
752 with_zlib_includes
753 with_zlib_libdir
754 with_system_kpathsea
755 enable_mktexmf_default
756 enable_mktexpk_default
757 enable_mktextfm_default
758 enable_mkocp_default
759 enable_mkofm_default
760 enable_mktexfmt_default
761 enable_mktextex_default
762 enable_dependency_tracking
763 enable_silent_rules
764 enable_maintainer_mode
765 enable_compiler_warnings
767 ac_precious_vars='build_alias
768 host_alias
769 target_alias
771 CFLAGS
772 LDFLAGS
773 LIBS
774 CPPFLAGS'
777 # Initialize some variables set by options.
778 ac_init_help=
779 ac_init_version=false
780 ac_unrecognized_opts=
781 ac_unrecognized_sep=
782 # The variables have the same names as the options, with
783 # dashes changed to underlines.
784 cache_file=/dev/null
785 exec_prefix=NONE
786 no_create=
787 no_recursion=
788 prefix=NONE
789 program_prefix=NONE
790 program_suffix=NONE
791 program_transform_name=s,x,x,
792 silent=
793 site=
794 srcdir=
795 verbose=
796 x_includes=NONE
797 x_libraries=NONE
799 # Installation directory options.
800 # These are left unexpanded so users can "make install exec_prefix=/foo"
801 # and all the variables that are supposed to be based on exec_prefix
802 # by default will actually change.
803 # Use braces instead of parens because sh, perl, etc. also accept them.
804 # (The list follows the same order as the GNU Coding Standards.)
805 bindir='${exec_prefix}/bin'
806 sbindir='${exec_prefix}/sbin'
807 libexecdir='${exec_prefix}/libexec'
808 datarootdir='${prefix}/share'
809 datadir='${datarootdir}'
810 sysconfdir='${prefix}/etc'
811 sharedstatedir='${prefix}/com'
812 localstatedir='${prefix}/var'
813 includedir='${prefix}/include'
814 oldincludedir='/usr/include'
815 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
816 infodir='${datarootdir}/info'
817 htmldir='${docdir}'
818 dvidir='${docdir}'
819 pdfdir='${docdir}'
820 psdir='${docdir}'
821 libdir='${exec_prefix}/lib'
822 localedir='${datarootdir}/locale'
823 mandir='${datarootdir}/man'
825 ac_prev=
826 ac_dashdash=
827 for ac_option
829 # If the previous option needs an argument, assign it.
830 if test -n "$ac_prev"; then
831 eval $ac_prev=\$ac_option
832 ac_prev=
833 continue
836 case $ac_option in
837 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
838 *=) ac_optarg= ;;
839 *) ac_optarg=yes ;;
840 esac
842 # Accept the important Cygnus configure options, so we can diagnose typos.
844 case $ac_dashdash$ac_option in
846 ac_dashdash=yes ;;
848 -bindir | --bindir | --bindi | --bind | --bin | --bi)
849 ac_prev=bindir ;;
850 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
851 bindir=$ac_optarg ;;
853 -build | --build | --buil | --bui | --bu)
854 ac_prev=build_alias ;;
855 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
856 build_alias=$ac_optarg ;;
858 -cache-file | --cache-file | --cache-fil | --cache-fi \
859 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
860 ac_prev=cache_file ;;
861 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
862 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
863 cache_file=$ac_optarg ;;
865 --config-cache | -C)
866 cache_file=config.cache ;;
868 -datadir | --datadir | --datadi | --datad)
869 ac_prev=datadir ;;
870 -datadir=* | --datadir=* | --datadi=* | --datad=*)
871 datadir=$ac_optarg ;;
873 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
874 | --dataroo | --dataro | --datar)
875 ac_prev=datarootdir ;;
876 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
877 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
878 datarootdir=$ac_optarg ;;
880 -disable-* | --disable-*)
881 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
882 # Reject names that are not valid shell variable names.
883 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
884 as_fn_error $? "invalid feature name: $ac_useropt"
885 ac_useropt_orig=$ac_useropt
886 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
887 case $ac_user_opts in
889 "enable_$ac_useropt"
890 "*) ;;
891 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
892 ac_unrecognized_sep=', ';;
893 esac
894 eval enable_$ac_useropt=no ;;
896 -docdir | --docdir | --docdi | --doc | --do)
897 ac_prev=docdir ;;
898 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
899 docdir=$ac_optarg ;;
901 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
902 ac_prev=dvidir ;;
903 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
904 dvidir=$ac_optarg ;;
906 -enable-* | --enable-*)
907 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
908 # Reject names that are not valid shell variable names.
909 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
910 as_fn_error $? "invalid feature name: $ac_useropt"
911 ac_useropt_orig=$ac_useropt
912 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
913 case $ac_user_opts in
915 "enable_$ac_useropt"
916 "*) ;;
917 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
918 ac_unrecognized_sep=', ';;
919 esac
920 eval enable_$ac_useropt=\$ac_optarg ;;
922 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
923 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
924 | --exec | --exe | --ex)
925 ac_prev=exec_prefix ;;
926 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
927 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
928 | --exec=* | --exe=* | --ex=*)
929 exec_prefix=$ac_optarg ;;
931 -gas | --gas | --ga | --g)
932 # Obsolete; use --with-gas.
933 with_gas=yes ;;
935 -help | --help | --hel | --he | -h)
936 ac_init_help=long ;;
937 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
938 ac_init_help=recursive ;;
939 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
940 ac_init_help=short ;;
942 -host | --host | --hos | --ho)
943 ac_prev=host_alias ;;
944 -host=* | --host=* | --hos=* | --ho=*)
945 host_alias=$ac_optarg ;;
947 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
948 ac_prev=htmldir ;;
949 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
950 | --ht=*)
951 htmldir=$ac_optarg ;;
953 -includedir | --includedir | --includedi | --included | --include \
954 | --includ | --inclu | --incl | --inc)
955 ac_prev=includedir ;;
956 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
957 | --includ=* | --inclu=* | --incl=* | --inc=*)
958 includedir=$ac_optarg ;;
960 -infodir | --infodir | --infodi | --infod | --info | --inf)
961 ac_prev=infodir ;;
962 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
963 infodir=$ac_optarg ;;
965 -libdir | --libdir | --libdi | --libd)
966 ac_prev=libdir ;;
967 -libdir=* | --libdir=* | --libdi=* | --libd=*)
968 libdir=$ac_optarg ;;
970 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
971 | --libexe | --libex | --libe)
972 ac_prev=libexecdir ;;
973 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
974 | --libexe=* | --libex=* | --libe=*)
975 libexecdir=$ac_optarg ;;
977 -localedir | --localedir | --localedi | --localed | --locale)
978 ac_prev=localedir ;;
979 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
980 localedir=$ac_optarg ;;
982 -localstatedir | --localstatedir | --localstatedi | --localstated \
983 | --localstate | --localstat | --localsta | --localst | --locals)
984 ac_prev=localstatedir ;;
985 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
986 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
987 localstatedir=$ac_optarg ;;
989 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
990 ac_prev=mandir ;;
991 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
992 mandir=$ac_optarg ;;
994 -nfp | --nfp | --nf)
995 # Obsolete; use --without-fp.
996 with_fp=no ;;
998 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
999 | --no-cr | --no-c | -n)
1000 no_create=yes ;;
1002 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1003 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1004 no_recursion=yes ;;
1006 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1007 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1008 | --oldin | --oldi | --old | --ol | --o)
1009 ac_prev=oldincludedir ;;
1010 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1011 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1012 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1013 oldincludedir=$ac_optarg ;;
1015 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1016 ac_prev=prefix ;;
1017 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1018 prefix=$ac_optarg ;;
1020 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1021 | --program-pre | --program-pr | --program-p)
1022 ac_prev=program_prefix ;;
1023 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1024 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1025 program_prefix=$ac_optarg ;;
1027 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1028 | --program-suf | --program-su | --program-s)
1029 ac_prev=program_suffix ;;
1030 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1031 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1032 program_suffix=$ac_optarg ;;
1034 -program-transform-name | --program-transform-name \
1035 | --program-transform-nam | --program-transform-na \
1036 | --program-transform-n | --program-transform- \
1037 | --program-transform | --program-transfor \
1038 | --program-transfo | --program-transf \
1039 | --program-trans | --program-tran \
1040 | --progr-tra | --program-tr | --program-t)
1041 ac_prev=program_transform_name ;;
1042 -program-transform-name=* | --program-transform-name=* \
1043 | --program-transform-nam=* | --program-transform-na=* \
1044 | --program-transform-n=* | --program-transform-=* \
1045 | --program-transform=* | --program-transfor=* \
1046 | --program-transfo=* | --program-transf=* \
1047 | --program-trans=* | --program-tran=* \
1048 | --progr-tra=* | --program-tr=* | --program-t=*)
1049 program_transform_name=$ac_optarg ;;
1051 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1052 ac_prev=pdfdir ;;
1053 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1054 pdfdir=$ac_optarg ;;
1056 -psdir | --psdir | --psdi | --psd | --ps)
1057 ac_prev=psdir ;;
1058 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1059 psdir=$ac_optarg ;;
1061 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1062 | -silent | --silent | --silen | --sile | --sil)
1063 silent=yes ;;
1065 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1066 ac_prev=sbindir ;;
1067 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1068 | --sbi=* | --sb=*)
1069 sbindir=$ac_optarg ;;
1071 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1072 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1073 | --sharedst | --shareds | --shared | --share | --shar \
1074 | --sha | --sh)
1075 ac_prev=sharedstatedir ;;
1076 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1077 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1078 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1079 | --sha=* | --sh=*)
1080 sharedstatedir=$ac_optarg ;;
1082 -site | --site | --sit)
1083 ac_prev=site ;;
1084 -site=* | --site=* | --sit=*)
1085 site=$ac_optarg ;;
1087 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1088 ac_prev=srcdir ;;
1089 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1090 srcdir=$ac_optarg ;;
1092 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1093 | --syscon | --sysco | --sysc | --sys | --sy)
1094 ac_prev=sysconfdir ;;
1095 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1096 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1097 sysconfdir=$ac_optarg ;;
1099 -target | --target | --targe | --targ | --tar | --ta | --t)
1100 ac_prev=target_alias ;;
1101 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1102 target_alias=$ac_optarg ;;
1104 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1105 verbose=yes ;;
1107 -version | --version | --versio | --versi | --vers | -V)
1108 ac_init_version=: ;;
1110 -with-* | --with-*)
1111 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1112 # Reject names that are not valid shell variable names.
1113 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1114 as_fn_error $? "invalid package name: $ac_useropt"
1115 ac_useropt_orig=$ac_useropt
1116 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1117 case $ac_user_opts in
1119 "with_$ac_useropt"
1120 "*) ;;
1121 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1122 ac_unrecognized_sep=', ';;
1123 esac
1124 eval with_$ac_useropt=\$ac_optarg ;;
1126 -without-* | --without-*)
1127 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1128 # Reject names that are not valid shell variable names.
1129 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1130 as_fn_error $? "invalid package name: $ac_useropt"
1131 ac_useropt_orig=$ac_useropt
1132 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1133 case $ac_user_opts in
1135 "with_$ac_useropt"
1136 "*) ;;
1137 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1138 ac_unrecognized_sep=', ';;
1139 esac
1140 eval with_$ac_useropt=no ;;
1142 --x)
1143 # Obsolete; use --with-x.
1144 with_x=yes ;;
1146 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1147 | --x-incl | --x-inc | --x-in | --x-i)
1148 ac_prev=x_includes ;;
1149 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1150 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1151 x_includes=$ac_optarg ;;
1153 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1154 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1155 ac_prev=x_libraries ;;
1156 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1157 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1158 x_libraries=$ac_optarg ;;
1160 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1161 Try \`$0 --help' for more information"
1164 *=*)
1165 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1166 # Reject names that are not valid shell variable names.
1167 case $ac_envvar in #(
1168 '' | [0-9]* | *[!_$as_cr_alnum]* )
1169 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1170 esac
1171 eval $ac_envvar=\$ac_optarg
1172 export $ac_envvar ;;
1175 # FIXME: should be removed in autoconf 3.0.
1176 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1177 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1178 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1179 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1182 esac
1183 done
1185 if test -n "$ac_prev"; then
1186 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1187 as_fn_error $? "missing argument to $ac_option"
1190 if test -n "$ac_unrecognized_opts"; then
1191 case $enable_option_checking in
1192 no) ;;
1193 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1194 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1195 esac
1198 # Check all directory arguments for consistency.
1199 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1200 datadir sysconfdir sharedstatedir localstatedir includedir \
1201 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1202 libdir localedir mandir
1204 eval ac_val=\$$ac_var
1205 # Remove trailing slashes.
1206 case $ac_val in
1207 */ )
1208 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1209 eval $ac_var=\$ac_val;;
1210 esac
1211 # Be sure to have absolute directory names.
1212 case $ac_val in
1213 [\\/$]* | ?:[\\/]* ) continue;;
1214 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1215 esac
1216 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1217 done
1219 # There might be people who depend on the old broken behavior: `$host'
1220 # used to hold the argument of --host etc.
1221 # FIXME: To remove some day.
1222 build=$build_alias
1223 host=$host_alias
1224 target=$target_alias
1226 # FIXME: To remove some day.
1227 if test "x$host_alias" != x; then
1228 if test "x$build_alias" = x; then
1229 cross_compiling=maybe
1230 elif test "x$build_alias" != "x$host_alias"; then
1231 cross_compiling=yes
1235 ac_tool_prefix=
1236 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1238 test "$silent" = yes && exec 6>/dev/null
1241 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1242 ac_ls_di=`ls -di .` &&
1243 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1244 as_fn_error $? "working directory cannot be determined"
1245 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1246 as_fn_error $? "pwd does not report name of working directory"
1249 # Find the source files, if location was not specified.
1250 if test -z "$srcdir"; then
1251 ac_srcdir_defaulted=yes
1252 # Try the directory containing this script, then the parent directory.
1253 ac_confdir=`$as_dirname -- "$as_myself" ||
1254 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1255 X"$as_myself" : 'X\(//\)[^/]' \| \
1256 X"$as_myself" : 'X\(//\)$' \| \
1257 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1258 $as_echo X"$as_myself" |
1259 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1260 s//\1/
1263 /^X\(\/\/\)[^/].*/{
1264 s//\1/
1267 /^X\(\/\/\)$/{
1268 s//\1/
1271 /^X\(\/\).*/{
1272 s//\1/
1275 s/.*/./; q'`
1276 srcdir=$ac_confdir
1277 if test ! -r "$srcdir/$ac_unique_file"; then
1278 srcdir=..
1280 else
1281 ac_srcdir_defaulted=no
1283 if test ! -r "$srcdir/$ac_unique_file"; then
1284 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1285 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1287 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1288 ac_abs_confdir=`(
1289 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1290 pwd)`
1291 # When building in place, set srcdir=.
1292 if test "$ac_abs_confdir" = "$ac_pwd"; then
1293 srcdir=.
1295 # Remove unnecessary trailing slashes from srcdir.
1296 # Double slashes in file names in object file debugging info
1297 # mess up M-x gdb in Emacs.
1298 case $srcdir in
1299 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1300 esac
1301 for ac_var in $ac_precious_vars; do
1302 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1303 eval ac_env_${ac_var}_value=\$${ac_var}
1304 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1305 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1306 done
1309 # Report the --help message.
1311 if test "$ac_init_help" = "long"; then
1312 # Omit some internal or obsolete options to make the list less imposing.
1313 # This message is too long to be a string in the A/UX 3.1 sh.
1314 cat <<_ACEOF
1315 \`configure' configures TeX Live utils 2015 to adapt to many kinds of systems.
1317 Usage: $0 [OPTION]... [VAR=VALUE]...
1319 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1320 VAR=VALUE. See below for descriptions of some of the useful variables.
1322 Defaults for the options are specified in brackets.
1324 Configuration:
1325 -h, --help display this help and exit
1326 --help=short display options specific to this package
1327 --help=recursive display the short help of all the included packages
1328 -V, --version display version information and exit
1329 -q, --quiet, --silent do not print \`checking ...' messages
1330 --cache-file=FILE cache test results in FILE [disabled]
1331 -C, --config-cache alias for \`--cache-file=config.cache'
1332 -n, --no-create do not create output files
1333 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1335 Installation directories:
1336 --prefix=PREFIX install architecture-independent files in PREFIX
1337 [$ac_default_prefix]
1338 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1339 [PREFIX]
1341 By default, \`make install' will install all the files in
1342 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1343 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1344 for instance \`--prefix=\$HOME'.
1346 For better control, use the options below.
1348 Fine tuning of the installation directories:
1349 --bindir=DIR user executables [EPREFIX/bin]
1350 --sbindir=DIR system admin executables [EPREFIX/sbin]
1351 --libexecdir=DIR program executables [EPREFIX/libexec]
1352 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1353 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1354 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1355 --libdir=DIR object code libraries [EPREFIX/lib]
1356 --includedir=DIR C header files [PREFIX/include]
1357 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1358 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1359 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1360 --infodir=DIR info documentation [DATAROOTDIR/info]
1361 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1362 --mandir=DIR man documentation [DATAROOTDIR/man]
1363 --docdir=DIR documentation root [DATAROOTDIR/doc/tex-live-utils]
1364 --htmldir=DIR html documentation [DOCDIR]
1365 --dvidir=DIR dvi documentation [DOCDIR]
1366 --pdfdir=DIR pdf documentation [DOCDIR]
1367 --psdir=DIR ps documentation [DOCDIR]
1368 _ACEOF
1370 cat <<\_ACEOF
1372 Program names:
1373 --program-prefix=PREFIX prepend PREFIX to installed program names
1374 --program-suffix=SUFFIX append SUFFIX to installed program names
1375 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1377 System types:
1378 --build=BUILD configure for building on BUILD [guessed]
1379 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1380 _ACEOF
1383 if test -n "$ac_init_help"; then
1384 case $ac_init_help in
1385 short | recursive ) echo "Configuration of TeX Live utils 2015:";;
1386 esac
1387 cat <<\_ACEOF
1389 Optional Features:
1390 --disable-option-checking ignore unrecognized --enable/--with options
1391 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1392 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1393 --disable-missing terminate if a requested program or feature must be
1394 disabled, e.g., due to missing libraries
1395 --disable-all-pkgs do not build packages unless explicitly enabled
1396 --disable-native-texlive-build
1397 do not build for the TeX Live binary distribution
1398 --enable-multiplatform put executables into bin/PLATFORM and libraries into
1399 lib/PLATFORM
1400 --enable-cxx-runtime-hack link C++ runtime statically
1401 --enable-libtool-hack ignore libtool dependency_libs
1402 --disable-web2c do not build the web2c (TeX & Co.) package
1403 --enable-auto-core cause TeX&MF to dump core, given a certain
1404 filename
1405 --disable-dump-share make fmt/base files architecture-dependent
1406 --disable-ipc disable TeX's --ipc option, i.e., pipe to a
1407 program
1408 --disable-tex do not compile and install TeX
1409 --enable-tex-synctex build TeX with SyncTeX support
1410 --enable-etex compile and install e-TeX
1411 --disable-etex-synctex build e-TeX without SyncTeX support
1412 --disable-ptex do not compile and install pTeX
1413 --disable-ptex-synctex build pTeX without SyncTeX support
1414 --disable-eptex do not compile and install e-pTeX
1415 --disable-eptex-synctex build e-pTeX without SyncTeX support
1416 --disable-uptex do not compile and install upTeX
1417 --disable-uptex-synctex build upTeX without SyncTeX support
1418 --disable-euptex do not compile and install e-upTeX
1419 --disable-euptex-synctex build e-upTeX without SyncTeX support
1420 --disable-aleph do not compile and install Aleph
1421 --disable-pdftex do not compile and install pdfTeX
1422 --disable-pdftex-synctex build pdfTeX without SyncTeX support
1423 --disable-luatex do not compile and install LuaTeX
1424 --disable-luajittex do not compile and install LuaJITTeX
1425 --disable-mp do not compile and install MetaPost
1426 --disable-pmp do not compile and install pMetaPost
1427 --disable-upmp do not compile and install upMetaPost
1428 --disable-xetex do not compile and install XeTeX
1429 --disable-xetex-synctex build XeTeX without SyncTeX support
1430 --disable-mf do not compile and install METAFONT
1431 --disable-mf-nowin do not build a separate non-window-capable
1432 METAFONT
1433 --enable-epsfwin include EPSF pseudo window support
1434 --enable-hp2627win include HP 2627 window support
1435 --enable-mftalkwin include mftalk (generic server) window support
1436 --enable-nextwin include NeXT window support
1437 --enable-regiswin include Regis window support
1438 --enable-suntoolswin include old Suntools (not X) window support
1439 --enable-tektronixwin include Tektronix window support
1440 --enable-unitermwin include Uniterm window support
1441 --disable-web-progs do not build WEB programs bibtex ... weave
1442 --disable-synctex do not build the SyncTeX library and tool
1443 --disable-texlive do not build the texlive (TeX Live scripts) package
1444 --disable-linked-scripts do not install the linked scripts
1445 --disable-mktexmf-default do not run mktexmf if MF source missing
1446 --disable-mktexpk-default do not run mktexpk if PK font missing
1447 --disable-mktextfm-default do not run mktextfm if TFM file missing
1448 --disable-mkocp-default do not run mkocp if OCP file missing
1449 --disable-mkofm-default do not run mkofm if OFM file missing
1450 --disable-mktexfmt-default do not run mktexfmt if format file missing
1451 --enable-mktextex-default run mktextex if TeX source missing
1452 --enable-dependency-tracking
1453 do not reject slow dependency extractors
1454 --disable-dependency-tracking
1455 speeds up one-time build
1456 --enable-silent-rules less verbose build output (undo: "make V=1")
1457 --disable-silent-rules verbose build output (undo: "make V=0")
1458 --enable-maintainer-mode
1459 enable make rules and dependencies not useful (and
1460 sometimes confusing) to the casual installer
1461 --enable-compiler-warnings=[no|min|yes|max|all]
1462 Turn on compiler warnings [default: yes if
1463 maintainer-mode, min otherwise]
1465 Optional Packages:
1466 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1467 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1468 --with-banner-add=STR add STR to version string appended to banner lines
1469 --with-editor=CMD invoke CMD from the `e' option [vi +%d '%s'] or
1470 [texworks --position=%d "%s"]
1471 --with-mf-x-toolkit use X toolkit for METAFONT
1472 --with-system-zziplib use installed zziplib headers and library (requires
1473 pkg-config)
1474 --with-system-poppler use installed poppler headers and library (requires
1475 pkg-config)
1476 --with-system-mpfr use installed mpfr headers and library
1477 --with-mpfr-includes=DIR
1478 mpfr headers installed in DIR
1479 --with-mpfr-libdir=DIR mpfr library installed in DIR
1480 --with-system-gmp use installed gmp headers and library
1481 --with-gmp-includes=DIR gmp headers installed in DIR
1482 --with-gmp-libdir=DIR gmp library installed in DIR
1483 --with-system-cairo use installed cairo headers and library (requires
1484 pkg-config)
1485 --with-system-pixman use installed pixman headers and library (requires
1486 pkg-config)
1487 --with-system-libpng use installed libpng headers and library (requires
1488 pkg-config)
1489 --with-system-zlib use installed zlib headers and library
1490 --with-zlib-includes=DIR
1491 zlib headers installed in DIR
1492 --with-zlib-libdir=DIR zlib library installed in DIR
1493 --with-system-kpathsea use installed kpathsea headers and library (requires
1494 pkg-config)
1496 Some influential environment variables:
1497 CC C compiler command
1498 CFLAGS C compiler flags
1499 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1500 nonstandard directory <lib dir>
1501 LIBS libraries to pass to the linker, e.g. -l<library>
1502 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1503 you have headers in a nonstandard directory <include dir>
1505 Use these variables to override the choices made by `configure' or to help
1506 it to find libraries and programs with nonstandard names/locations.
1508 Report bugs to <tex-k@tug.org>.
1509 _ACEOF
1510 ac_status=$?
1513 if test "$ac_init_help" = "recursive"; then
1514 # If there are subdirs, report their specific --help.
1515 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1516 test -d "$ac_dir" ||
1517 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1518 continue
1519 ac_builddir=.
1521 case "$ac_dir" in
1522 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1524 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1525 # A ".." for each directory in $ac_dir_suffix.
1526 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1527 case $ac_top_builddir_sub in
1528 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1529 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1530 esac ;;
1531 esac
1532 ac_abs_top_builddir=$ac_pwd
1533 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1534 # for backward compatibility:
1535 ac_top_builddir=$ac_top_build_prefix
1537 case $srcdir in
1538 .) # We are building in place.
1539 ac_srcdir=.
1540 ac_top_srcdir=$ac_top_builddir_sub
1541 ac_abs_top_srcdir=$ac_pwd ;;
1542 [\\/]* | ?:[\\/]* ) # Absolute name.
1543 ac_srcdir=$srcdir$ac_dir_suffix;
1544 ac_top_srcdir=$srcdir
1545 ac_abs_top_srcdir=$srcdir ;;
1546 *) # Relative name.
1547 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1548 ac_top_srcdir=$ac_top_build_prefix$srcdir
1549 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1550 esac
1551 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1553 cd "$ac_dir" || { ac_status=$?; continue; }
1554 # Check for guested configure.
1555 if test -f "$ac_srcdir/configure.gnu"; then
1556 echo &&
1557 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1558 elif test -f "$ac_srcdir/configure"; then
1559 echo &&
1560 $SHELL "$ac_srcdir/configure" --help=recursive
1561 else
1562 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1563 fi || ac_status=$?
1564 cd "$ac_pwd" || { ac_status=$?; break; }
1565 done
1568 test -n "$ac_init_help" && exit $ac_status
1569 if $ac_init_version; then
1570 cat <<\_ACEOF
1571 TeX Live utils configure 2015
1572 generated by GNU Autoconf 2.69
1574 Copyright (C) 2012 Free Software Foundation, Inc.
1575 This configure script is free software; the Free Software Foundation
1576 gives unlimited permission to copy, distribute and modify it.
1577 _ACEOF
1578 exit
1581 ## ------------------------ ##
1582 ## Autoconf initialization. ##
1583 ## ------------------------ ##
1585 # ac_fn_c_try_compile LINENO
1586 # --------------------------
1587 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1588 ac_fn_c_try_compile ()
1590 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1591 rm -f conftest.$ac_objext
1592 if { { ac_try="$ac_compile"
1593 case "(($ac_try" in
1594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1595 *) ac_try_echo=$ac_try;;
1596 esac
1597 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1598 $as_echo "$ac_try_echo"; } >&5
1599 (eval "$ac_compile") 2>conftest.err
1600 ac_status=$?
1601 if test -s conftest.err; then
1602 grep -v '^ *+' conftest.err >conftest.er1
1603 cat conftest.er1 >&5
1604 mv -f conftest.er1 conftest.err
1606 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1607 test $ac_status = 0; } && {
1608 test -z "$ac_c_werror_flag" ||
1609 test ! -s conftest.err
1610 } && test -s conftest.$ac_objext; then :
1611 ac_retval=0
1612 else
1613 $as_echo "$as_me: failed program was:" >&5
1614 sed 's/^/| /' conftest.$ac_ext >&5
1616 ac_retval=1
1618 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1619 as_fn_set_status $ac_retval
1621 } # ac_fn_c_try_compile
1623 # ac_fn_c_try_link LINENO
1624 # -----------------------
1625 # Try to link conftest.$ac_ext, and return whether this succeeded.
1626 ac_fn_c_try_link ()
1628 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1629 rm -f conftest.$ac_objext conftest$ac_exeext
1630 if { { ac_try="$ac_link"
1631 case "(($ac_try" in
1632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1633 *) ac_try_echo=$ac_try;;
1634 esac
1635 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1636 $as_echo "$ac_try_echo"; } >&5
1637 (eval "$ac_link") 2>conftest.err
1638 ac_status=$?
1639 if test -s conftest.err; then
1640 grep -v '^ *+' conftest.err >conftest.er1
1641 cat conftest.er1 >&5
1642 mv -f conftest.er1 conftest.err
1644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1645 test $ac_status = 0; } && {
1646 test -z "$ac_c_werror_flag" ||
1647 test ! -s conftest.err
1648 } && test -s conftest$ac_exeext && {
1649 test "$cross_compiling" = yes ||
1650 test -x conftest$ac_exeext
1651 }; then :
1652 ac_retval=0
1653 else
1654 $as_echo "$as_me: failed program was:" >&5
1655 sed 's/^/| /' conftest.$ac_ext >&5
1657 ac_retval=1
1659 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1660 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1661 # interfere with the next link command; also delete a directory that is
1662 # left behind by Apple's compiler. We do this before executing the actions.
1663 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1664 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1665 as_fn_set_status $ac_retval
1667 } # ac_fn_c_try_link
1668 cat >config.log <<_ACEOF
1669 This file contains any messages produced by compilers while
1670 running configure, to aid debugging if configure makes a mistake.
1672 It was created by TeX Live utils $as_me 2015, which was
1673 generated by GNU Autoconf 2.69. Invocation command line was
1675 $ $0 $@
1677 _ACEOF
1678 exec 5>>config.log
1680 cat <<_ASUNAME
1681 ## --------- ##
1682 ## Platform. ##
1683 ## --------- ##
1685 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1686 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1687 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1688 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1689 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1691 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1692 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1694 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1695 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1696 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1697 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1698 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1699 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1700 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1702 _ASUNAME
1704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1705 for as_dir in $PATH
1707 IFS=$as_save_IFS
1708 test -z "$as_dir" && as_dir=.
1709 $as_echo "PATH: $as_dir"
1710 done
1711 IFS=$as_save_IFS
1713 } >&5
1715 cat >&5 <<_ACEOF
1718 ## ----------- ##
1719 ## Core tests. ##
1720 ## ----------- ##
1722 _ACEOF
1725 # Keep a trace of the command line.
1726 # Strip out --no-create and --no-recursion so they do not pile up.
1727 # Strip out --silent because we don't want to record it for future runs.
1728 # Also quote any args containing shell meta-characters.
1729 # Make two passes to allow for proper duplicate-argument suppression.
1730 ac_configure_args=
1731 ac_configure_args0=
1732 ac_configure_args1=
1733 ac_must_keep_next=false
1734 for ac_pass in 1 2
1736 for ac_arg
1738 case $ac_arg in
1739 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1740 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1741 | -silent | --silent | --silen | --sile | --sil)
1742 continue ;;
1743 *\'*)
1744 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1745 esac
1746 case $ac_pass in
1747 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1749 as_fn_append ac_configure_args1 " '$ac_arg'"
1750 if test $ac_must_keep_next = true; then
1751 ac_must_keep_next=false # Got value, back to normal.
1752 else
1753 case $ac_arg in
1754 *=* | --config-cache | -C | -disable-* | --disable-* \
1755 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1756 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1757 | -with-* | --with-* | -without-* | --without-* | --x)
1758 case "$ac_configure_args0 " in
1759 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1760 esac
1762 -* ) ac_must_keep_next=true ;;
1763 esac
1765 as_fn_append ac_configure_args " '$ac_arg'"
1767 esac
1768 done
1769 done
1770 { ac_configure_args0=; unset ac_configure_args0;}
1771 { ac_configure_args1=; unset ac_configure_args1;}
1773 # When interrupted or exit'd, cleanup temporary files, and complete
1774 # config.log. We remove comments because anyway the quotes in there
1775 # would cause problems or look ugly.
1776 # WARNING: Use '\'' to represent an apostrophe within the trap.
1777 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1778 trap 'exit_status=$?
1779 # Save into config.log some information that might help in debugging.
1781 echo
1783 $as_echo "## ---------------- ##
1784 ## Cache variables. ##
1785 ## ---------------- ##"
1786 echo
1787 # The following way of writing the cache mishandles newlines in values,
1789 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1790 eval ac_val=\$$ac_var
1791 case $ac_val in #(
1792 *${as_nl}*)
1793 case $ac_var in #(
1794 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1795 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1796 esac
1797 case $ac_var in #(
1798 _ | IFS | as_nl) ;; #(
1799 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1800 *) { eval $ac_var=; unset $ac_var;} ;;
1801 esac ;;
1802 esac
1803 done
1804 (set) 2>&1 |
1805 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1806 *${as_nl}ac_space=\ *)
1807 sed -n \
1808 "s/'\''/'\''\\\\'\'''\''/g;
1809 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1810 ;; #(
1812 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1814 esac |
1815 sort
1817 echo
1819 $as_echo "## ----------------- ##
1820 ## Output variables. ##
1821 ## ----------------- ##"
1822 echo
1823 for ac_var in $ac_subst_vars
1825 eval ac_val=\$$ac_var
1826 case $ac_val in
1827 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1828 esac
1829 $as_echo "$ac_var='\''$ac_val'\''"
1830 done | sort
1831 echo
1833 if test -n "$ac_subst_files"; then
1834 $as_echo "## ------------------- ##
1835 ## File substitutions. ##
1836 ## ------------------- ##"
1837 echo
1838 for ac_var in $ac_subst_files
1840 eval ac_val=\$$ac_var
1841 case $ac_val in
1842 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1843 esac
1844 $as_echo "$ac_var='\''$ac_val'\''"
1845 done | sort
1846 echo
1849 if test -s confdefs.h; then
1850 $as_echo "## ----------- ##
1851 ## confdefs.h. ##
1852 ## ----------- ##"
1853 echo
1854 cat confdefs.h
1855 echo
1857 test "$ac_signal" != 0 &&
1858 $as_echo "$as_me: caught signal $ac_signal"
1859 $as_echo "$as_me: exit $exit_status"
1860 } >&5
1861 rm -f core *.core core.conftest.* &&
1862 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1863 exit $exit_status
1865 for ac_signal in 1 2 13 15; do
1866 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1867 done
1868 ac_signal=0
1870 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1871 rm -f -r conftest* confdefs.h
1873 $as_echo "/* confdefs.h */" > confdefs.h
1875 # Predefined preprocessor variables.
1877 cat >>confdefs.h <<_ACEOF
1878 #define PACKAGE_NAME "$PACKAGE_NAME"
1879 _ACEOF
1881 cat >>confdefs.h <<_ACEOF
1882 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1883 _ACEOF
1885 cat >>confdefs.h <<_ACEOF
1886 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1887 _ACEOF
1889 cat >>confdefs.h <<_ACEOF
1890 #define PACKAGE_STRING "$PACKAGE_STRING"
1891 _ACEOF
1893 cat >>confdefs.h <<_ACEOF
1894 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1895 _ACEOF
1897 cat >>confdefs.h <<_ACEOF
1898 #define PACKAGE_URL "$PACKAGE_URL"
1899 _ACEOF
1902 # Let the site file select an alternate cache file if it wants to.
1903 # Prefer an explicitly selected file to automatically selected ones.
1904 ac_site_file1=NONE
1905 ac_site_file2=NONE
1906 if test -n "$CONFIG_SITE"; then
1907 # We do not want a PATH search for config.site.
1908 case $CONFIG_SITE in #((
1909 -*) ac_site_file1=./$CONFIG_SITE;;
1910 */*) ac_site_file1=$CONFIG_SITE;;
1911 *) ac_site_file1=./$CONFIG_SITE;;
1912 esac
1913 elif test "x$prefix" != xNONE; then
1914 ac_site_file1=$prefix/share/config.site
1915 ac_site_file2=$prefix/etc/config.site
1916 else
1917 ac_site_file1=$ac_default_prefix/share/config.site
1918 ac_site_file2=$ac_default_prefix/etc/config.site
1920 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1922 test "x$ac_site_file" = xNONE && continue
1923 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1924 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1925 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1926 sed 's/^/| /' "$ac_site_file" >&5
1927 . "$ac_site_file" \
1928 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1929 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1930 as_fn_error $? "failed to load site script $ac_site_file
1931 See \`config.log' for more details" "$LINENO" 5; }
1933 done
1935 if test -r "$cache_file"; then
1936 # Some versions of bash will fail to source /dev/null (special files
1937 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1938 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1940 $as_echo "$as_me: loading cache $cache_file" >&6;}
1941 case $cache_file in
1942 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1943 *) . "./$cache_file";;
1944 esac
1946 else
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1948 $as_echo "$as_me: creating cache $cache_file" >&6;}
1949 >$cache_file
1952 # Check that the precious variables saved in the cache have kept the same
1953 # value.
1954 ac_cache_corrupted=false
1955 for ac_var in $ac_precious_vars; do
1956 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1957 eval ac_new_set=\$ac_env_${ac_var}_set
1958 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1959 eval ac_new_val=\$ac_env_${ac_var}_value
1960 case $ac_old_set,$ac_new_set in
1961 set,)
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1963 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1964 ac_cache_corrupted=: ;;
1965 ,set)
1966 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1967 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1968 ac_cache_corrupted=: ;;
1969 ,);;
1971 if test "x$ac_old_val" != "x$ac_new_val"; then
1972 # differences in whitespace do not lead to failure.
1973 ac_old_val_w=`echo x $ac_old_val`
1974 ac_new_val_w=`echo x $ac_new_val`
1975 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1976 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1977 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1978 ac_cache_corrupted=:
1979 else
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1981 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1982 eval $ac_var=\$ac_old_val
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1985 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1986 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1987 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1988 fi;;
1989 esac
1990 # Pass precious variables to config.status.
1991 if test "$ac_new_set" = set; then
1992 case $ac_new_val in
1993 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1994 *) ac_arg=$ac_var=$ac_new_val ;;
1995 esac
1996 case " $ac_configure_args " in
1997 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1998 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1999 esac
2001 done
2002 if $ac_cache_corrupted; then
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2004 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2005 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2006 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2007 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2009 ## -------------------- ##
2010 ## Main body of script. ##
2011 ## -------------------- ##
2013 ac_ext=c
2014 ac_cpp='$CPP $CPPFLAGS'
2015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2022 ac_aux_dir=
2023 for ac_dir in ../build-aux "$srcdir"/../build-aux; do
2024 if test -f "$ac_dir/install-sh"; then
2025 ac_aux_dir=$ac_dir
2026 ac_install_sh="$ac_aux_dir/install-sh -c"
2027 break
2028 elif test -f "$ac_dir/install.sh"; then
2029 ac_aux_dir=$ac_dir
2030 ac_install_sh="$ac_aux_dir/install.sh -c"
2031 break
2032 elif test -f "$ac_dir/shtool"; then
2033 ac_aux_dir=$ac_dir
2034 ac_install_sh="$ac_aux_dir/shtool install -c"
2035 break
2037 done
2038 if test -z "$ac_aux_dir"; then
2039 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../build-aux \"$srcdir\"/../build-aux" "$LINENO" 5
2042 # These three variables are undocumented and unsupported,
2043 # and are intended to be withdrawn in a future Autoconf release.
2044 # They can cause serious problems if a builder's source tree is in a directory
2045 # whose full name contains unusual characters.
2046 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2047 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2048 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2053 # Make sure we can run config.sub.
2054 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2055 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2058 $as_echo_n "checking build system type... " >&6; }
2059 if ${ac_cv_build+:} false; then :
2060 $as_echo_n "(cached) " >&6
2061 else
2062 ac_build_alias=$build_alias
2063 test "x$ac_build_alias" = x &&
2064 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2065 test "x$ac_build_alias" = x &&
2066 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2067 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2068 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2072 $as_echo "$ac_cv_build" >&6; }
2073 case $ac_cv_build in
2074 *-*-*) ;;
2075 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2076 esac
2077 build=$ac_cv_build
2078 ac_save_IFS=$IFS; IFS='-'
2079 set x $ac_cv_build
2080 shift
2081 build_cpu=$1
2082 build_vendor=$2
2083 shift; shift
2084 # Remember, the first character of IFS is used to create $*,
2085 # except with old shells:
2086 build_os=$*
2087 IFS=$ac_save_IFS
2088 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2092 $as_echo_n "checking host system type... " >&6; }
2093 if ${ac_cv_host+:} false; then :
2094 $as_echo_n "(cached) " >&6
2095 else
2096 if test "x$host_alias" = x; then
2097 ac_cv_host=$ac_cv_build
2098 else
2099 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2100 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2105 $as_echo "$ac_cv_host" >&6; }
2106 case $ac_cv_host in
2107 *-*-*) ;;
2108 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2109 esac
2110 host=$ac_cv_host
2111 ac_save_IFS=$IFS; IFS='-'
2112 set x $ac_cv_host
2113 shift
2114 host_cpu=$1
2115 host_vendor=$2
2116 shift; shift
2117 # Remember, the first character of IFS is used to create $*,
2118 # except with old shells:
2119 host_os=$*
2120 IFS=$ac_save_IFS
2121 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2124 # Check whether --enable-missing was given.
2125 if test "${enable_missing+set}" = set; then :
2126 enableval=$enable_missing;
2129 # Expand $ac_aux_dir to an absolute path.
2130 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2132 ac_ext=c
2133 ac_cpp='$CPP $CPPFLAGS'
2134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2137 if test -n "$ac_tool_prefix"; then
2138 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2139 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2141 $as_echo_n "checking for $ac_word... " >&6; }
2142 if ${ac_cv_prog_CC+:} false; then :
2143 $as_echo_n "(cached) " >&6
2144 else
2145 if test -n "$CC"; then
2146 ac_cv_prog_CC="$CC" # Let the user override the test.
2147 else
2148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2149 for as_dir in $PATH
2151 IFS=$as_save_IFS
2152 test -z "$as_dir" && as_dir=.
2153 for ac_exec_ext in '' $ac_executable_extensions; do
2154 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2155 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2157 break 2
2159 done
2160 done
2161 IFS=$as_save_IFS
2165 CC=$ac_cv_prog_CC
2166 if test -n "$CC"; then
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2168 $as_echo "$CC" >&6; }
2169 else
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2171 $as_echo "no" >&6; }
2176 if test -z "$ac_cv_prog_CC"; then
2177 ac_ct_CC=$CC
2178 # Extract the first word of "gcc", so it can be a program name with args.
2179 set dummy gcc; ac_word=$2
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2181 $as_echo_n "checking for $ac_word... " >&6; }
2182 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2183 $as_echo_n "(cached) " >&6
2184 else
2185 if test -n "$ac_ct_CC"; then
2186 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2187 else
2188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2189 for as_dir in $PATH
2191 IFS=$as_save_IFS
2192 test -z "$as_dir" && as_dir=.
2193 for ac_exec_ext in '' $ac_executable_extensions; do
2194 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2195 ac_cv_prog_ac_ct_CC="gcc"
2196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2197 break 2
2199 done
2200 done
2201 IFS=$as_save_IFS
2205 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2206 if test -n "$ac_ct_CC"; then
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2208 $as_echo "$ac_ct_CC" >&6; }
2209 else
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2211 $as_echo "no" >&6; }
2214 if test "x$ac_ct_CC" = x; then
2215 CC=""
2216 else
2217 case $cross_compiling:$ac_tool_warned in
2218 yes:)
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2220 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2221 ac_tool_warned=yes ;;
2222 esac
2223 CC=$ac_ct_CC
2225 else
2226 CC="$ac_cv_prog_CC"
2229 if test -z "$CC"; then
2230 if test -n "$ac_tool_prefix"; then
2231 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2232 set dummy ${ac_tool_prefix}cc; ac_word=$2
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2234 $as_echo_n "checking for $ac_word... " >&6; }
2235 if ${ac_cv_prog_CC+:} false; then :
2236 $as_echo_n "(cached) " >&6
2237 else
2238 if test -n "$CC"; then
2239 ac_cv_prog_CC="$CC" # Let the user override the test.
2240 else
2241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2242 for as_dir in $PATH
2244 IFS=$as_save_IFS
2245 test -z "$as_dir" && as_dir=.
2246 for ac_exec_ext in '' $ac_executable_extensions; do
2247 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2248 ac_cv_prog_CC="${ac_tool_prefix}cc"
2249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2250 break 2
2252 done
2253 done
2254 IFS=$as_save_IFS
2258 CC=$ac_cv_prog_CC
2259 if test -n "$CC"; then
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2261 $as_echo "$CC" >&6; }
2262 else
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2264 $as_echo "no" >&6; }
2270 if test -z "$CC"; then
2271 # Extract the first word of "cc", so it can be a program name with args.
2272 set dummy cc; ac_word=$2
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2274 $as_echo_n "checking for $ac_word... " >&6; }
2275 if ${ac_cv_prog_CC+:} false; then :
2276 $as_echo_n "(cached) " >&6
2277 else
2278 if test -n "$CC"; then
2279 ac_cv_prog_CC="$CC" # Let the user override the test.
2280 else
2281 ac_prog_rejected=no
2282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2283 for as_dir in $PATH
2285 IFS=$as_save_IFS
2286 test -z "$as_dir" && as_dir=.
2287 for ac_exec_ext in '' $ac_executable_extensions; do
2288 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2289 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2290 ac_prog_rejected=yes
2291 continue
2293 ac_cv_prog_CC="cc"
2294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2295 break 2
2297 done
2298 done
2299 IFS=$as_save_IFS
2301 if test $ac_prog_rejected = yes; then
2302 # We found a bogon in the path, so make sure we never use it.
2303 set dummy $ac_cv_prog_CC
2304 shift
2305 if test $# != 0; then
2306 # We chose a different compiler from the bogus one.
2307 # However, it has the same basename, so the bogon will be chosen
2308 # first if we set CC to just the basename; use the full file name.
2309 shift
2310 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2315 CC=$ac_cv_prog_CC
2316 if test -n "$CC"; then
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2318 $as_echo "$CC" >&6; }
2319 else
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2321 $as_echo "no" >&6; }
2326 if test -z "$CC"; then
2327 if test -n "$ac_tool_prefix"; then
2328 for ac_prog in cl.exe
2330 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2331 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2333 $as_echo_n "checking for $ac_word... " >&6; }
2334 if ${ac_cv_prog_CC+:} false; then :
2335 $as_echo_n "(cached) " >&6
2336 else
2337 if test -n "$CC"; then
2338 ac_cv_prog_CC="$CC" # Let the user override the test.
2339 else
2340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2341 for as_dir in $PATH
2343 IFS=$as_save_IFS
2344 test -z "$as_dir" && as_dir=.
2345 for ac_exec_ext in '' $ac_executable_extensions; do
2346 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2347 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2349 break 2
2351 done
2352 done
2353 IFS=$as_save_IFS
2357 CC=$ac_cv_prog_CC
2358 if test -n "$CC"; then
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2360 $as_echo "$CC" >&6; }
2361 else
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2363 $as_echo "no" >&6; }
2367 test -n "$CC" && break
2368 done
2370 if test -z "$CC"; then
2371 ac_ct_CC=$CC
2372 for ac_prog in cl.exe
2374 # Extract the first word of "$ac_prog", so it can be a program name with args.
2375 set dummy $ac_prog; ac_word=$2
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2377 $as_echo_n "checking for $ac_word... " >&6; }
2378 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2379 $as_echo_n "(cached) " >&6
2380 else
2381 if test -n "$ac_ct_CC"; then
2382 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2383 else
2384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2385 for as_dir in $PATH
2387 IFS=$as_save_IFS
2388 test -z "$as_dir" && as_dir=.
2389 for ac_exec_ext in '' $ac_executable_extensions; do
2390 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2391 ac_cv_prog_ac_ct_CC="$ac_prog"
2392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2393 break 2
2395 done
2396 done
2397 IFS=$as_save_IFS
2401 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2402 if test -n "$ac_ct_CC"; then
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2404 $as_echo "$ac_ct_CC" >&6; }
2405 else
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2407 $as_echo "no" >&6; }
2411 test -n "$ac_ct_CC" && break
2412 done
2414 if test "x$ac_ct_CC" = x; then
2415 CC=""
2416 else
2417 case $cross_compiling:$ac_tool_warned in
2418 yes:)
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2420 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2421 ac_tool_warned=yes ;;
2422 esac
2423 CC=$ac_ct_CC
2430 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2431 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2432 as_fn_error $? "no acceptable C compiler found in \$PATH
2433 See \`config.log' for more details" "$LINENO" 5; }
2435 # Provide some information about the compiler.
2436 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2437 set X $ac_compile
2438 ac_compiler=$2
2439 for ac_option in --version -v -V -qversion; do
2440 { { ac_try="$ac_compiler $ac_option >&5"
2441 case "(($ac_try" in
2442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2443 *) ac_try_echo=$ac_try;;
2444 esac
2445 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2446 $as_echo "$ac_try_echo"; } >&5
2447 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2448 ac_status=$?
2449 if test -s conftest.err; then
2450 sed '10a\
2451 ... rest of stderr output deleted ...
2452 10q' conftest.err >conftest.er1
2453 cat conftest.er1 >&5
2455 rm -f conftest.er1 conftest.err
2456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2457 test $ac_status = 0; }
2458 done
2460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2461 /* end confdefs.h. */
2464 main ()
2468 return 0;
2470 _ACEOF
2471 ac_clean_files_save=$ac_clean_files
2472 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2473 # Try to create an executable without -o first, disregard a.out.
2474 # It will help us diagnose broken compilers, and finding out an intuition
2475 # of exeext.
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2477 $as_echo_n "checking whether the C compiler works... " >&6; }
2478 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2480 # The possible output files:
2481 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2483 ac_rmfiles=
2484 for ac_file in $ac_files
2486 case $ac_file in
2487 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2488 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2489 esac
2490 done
2491 rm -f $ac_rmfiles
2493 if { { ac_try="$ac_link_default"
2494 case "(($ac_try" in
2495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2496 *) ac_try_echo=$ac_try;;
2497 esac
2498 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2499 $as_echo "$ac_try_echo"; } >&5
2500 (eval "$ac_link_default") 2>&5
2501 ac_status=$?
2502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2503 test $ac_status = 0; }; then :
2504 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2505 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2506 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2507 # so that the user can short-circuit this test for compilers unknown to
2508 # Autoconf.
2509 for ac_file in $ac_files ''
2511 test -f "$ac_file" || continue
2512 case $ac_file in
2513 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2515 [ab].out )
2516 # We found the default executable, but exeext='' is most
2517 # certainly right.
2518 break;;
2519 *.* )
2520 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2521 then :; else
2522 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2524 # We set ac_cv_exeext here because the later test for it is not
2525 # safe: cross compilers may not add the suffix if given an `-o'
2526 # argument, so we may need to know it at that point already.
2527 # Even if this section looks crufty: it has the advantage of
2528 # actually working.
2529 break;;
2531 break;;
2532 esac
2533 done
2534 test "$ac_cv_exeext" = no && ac_cv_exeext=
2536 else
2537 ac_file=''
2539 if test -z "$ac_file"; then :
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2541 $as_echo "no" >&6; }
2542 $as_echo "$as_me: failed program was:" >&5
2543 sed 's/^/| /' conftest.$ac_ext >&5
2545 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2546 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2547 as_fn_error 77 "C compiler cannot create executables
2548 See \`config.log' for more details" "$LINENO" 5; }
2549 else
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2551 $as_echo "yes" >&6; }
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2554 $as_echo_n "checking for C compiler default output file name... " >&6; }
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2556 $as_echo "$ac_file" >&6; }
2557 ac_exeext=$ac_cv_exeext
2559 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2560 ac_clean_files=$ac_clean_files_save
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2562 $as_echo_n "checking for suffix of executables... " >&6; }
2563 if { { ac_try="$ac_link"
2564 case "(($ac_try" in
2565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2566 *) ac_try_echo=$ac_try;;
2567 esac
2568 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2569 $as_echo "$ac_try_echo"; } >&5
2570 (eval "$ac_link") 2>&5
2571 ac_status=$?
2572 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2573 test $ac_status = 0; }; then :
2574 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2575 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2576 # work properly (i.e., refer to `conftest.exe'), while it won't with
2577 # `rm'.
2578 for ac_file in conftest.exe conftest conftest.*; do
2579 test -f "$ac_file" || continue
2580 case $ac_file in
2581 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2582 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2583 break;;
2584 * ) break;;
2585 esac
2586 done
2587 else
2588 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2589 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2590 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2591 See \`config.log' for more details" "$LINENO" 5; }
2593 rm -f conftest conftest$ac_cv_exeext
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2595 $as_echo "$ac_cv_exeext" >&6; }
2597 rm -f conftest.$ac_ext
2598 EXEEXT=$ac_cv_exeext
2599 ac_exeext=$EXEEXT
2600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2601 /* end confdefs.h. */
2602 #include <stdio.h>
2604 main ()
2606 FILE *f = fopen ("conftest.out", "w");
2607 return ferror (f) || fclose (f) != 0;
2610 return 0;
2612 _ACEOF
2613 ac_clean_files="$ac_clean_files conftest.out"
2614 # Check that the compiler produces executables we can run. If not, either
2615 # the compiler is broken, or we cross compile.
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2617 $as_echo_n "checking whether we are cross compiling... " >&6; }
2618 if test "$cross_compiling" != yes; then
2619 { { ac_try="$ac_link"
2620 case "(($ac_try" in
2621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2622 *) ac_try_echo=$ac_try;;
2623 esac
2624 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2625 $as_echo "$ac_try_echo"; } >&5
2626 (eval "$ac_link") 2>&5
2627 ac_status=$?
2628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2629 test $ac_status = 0; }
2630 if { ac_try='./conftest$ac_cv_exeext'
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_try") 2>&5
2638 ac_status=$?
2639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2640 test $ac_status = 0; }; }; then
2641 cross_compiling=no
2642 else
2643 if test "$cross_compiling" = maybe; then
2644 cross_compiling=yes
2645 else
2646 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2647 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2648 as_fn_error $? "cannot run C compiled programs.
2649 If you meant to cross compile, use \`--host'.
2650 See \`config.log' for more details" "$LINENO" 5; }
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2655 $as_echo "$cross_compiling" >&6; }
2657 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2658 ac_clean_files=$ac_clean_files_save
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2660 $as_echo_n "checking for suffix of object files... " >&6; }
2661 if ${ac_cv_objext+:} false; then :
2662 $as_echo_n "(cached) " >&6
2663 else
2664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2665 /* end confdefs.h. */
2668 main ()
2672 return 0;
2674 _ACEOF
2675 rm -f conftest.o conftest.obj
2676 if { { ac_try="$ac_compile"
2677 case "(($ac_try" in
2678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2679 *) ac_try_echo=$ac_try;;
2680 esac
2681 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2682 $as_echo "$ac_try_echo"; } >&5
2683 (eval "$ac_compile") 2>&5
2684 ac_status=$?
2685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2686 test $ac_status = 0; }; then :
2687 for ac_file in conftest.o conftest.obj conftest.*; do
2688 test -f "$ac_file" || continue;
2689 case $ac_file in
2690 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2691 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2692 break;;
2693 esac
2694 done
2695 else
2696 $as_echo "$as_me: failed program was:" >&5
2697 sed 's/^/| /' conftest.$ac_ext >&5
2699 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2700 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2701 as_fn_error $? "cannot compute suffix of object files: cannot compile
2702 See \`config.log' for more details" "$LINENO" 5; }
2704 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2707 $as_echo "$ac_cv_objext" >&6; }
2708 OBJEXT=$ac_cv_objext
2709 ac_objext=$OBJEXT
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2711 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2712 if ${ac_cv_c_compiler_gnu+:} false; then :
2713 $as_echo_n "(cached) " >&6
2714 else
2715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2716 /* end confdefs.h. */
2719 main ()
2721 #ifndef __GNUC__
2722 choke me
2723 #endif
2726 return 0;
2728 _ACEOF
2729 if ac_fn_c_try_compile "$LINENO"; then :
2730 ac_compiler_gnu=yes
2731 else
2732 ac_compiler_gnu=no
2734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2735 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2739 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2740 if test $ac_compiler_gnu = yes; then
2741 GCC=yes
2742 else
2743 GCC=
2745 ac_test_CFLAGS=${CFLAGS+set}
2746 ac_save_CFLAGS=$CFLAGS
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2748 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2749 if ${ac_cv_prog_cc_g+:} false; then :
2750 $as_echo_n "(cached) " >&6
2751 else
2752 ac_save_c_werror_flag=$ac_c_werror_flag
2753 ac_c_werror_flag=yes
2754 ac_cv_prog_cc_g=no
2755 CFLAGS="-g"
2756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2757 /* end confdefs.h. */
2760 main ()
2764 return 0;
2766 _ACEOF
2767 if ac_fn_c_try_compile "$LINENO"; then :
2768 ac_cv_prog_cc_g=yes
2769 else
2770 CFLAGS=""
2771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2772 /* end confdefs.h. */
2775 main ()
2779 return 0;
2781 _ACEOF
2782 if ac_fn_c_try_compile "$LINENO"; then :
2784 else
2785 ac_c_werror_flag=$ac_save_c_werror_flag
2786 CFLAGS="-g"
2787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2788 /* end confdefs.h. */
2791 main ()
2795 return 0;
2797 _ACEOF
2798 if ac_fn_c_try_compile "$LINENO"; then :
2799 ac_cv_prog_cc_g=yes
2801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2806 ac_c_werror_flag=$ac_save_c_werror_flag
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2809 $as_echo "$ac_cv_prog_cc_g" >&6; }
2810 if test "$ac_test_CFLAGS" = set; then
2811 CFLAGS=$ac_save_CFLAGS
2812 elif test $ac_cv_prog_cc_g = yes; then
2813 if test "$GCC" = yes; then
2814 CFLAGS="-g -O2"
2815 else
2816 CFLAGS="-g"
2818 else
2819 if test "$GCC" = yes; then
2820 CFLAGS="-O2"
2821 else
2822 CFLAGS=
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2826 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2827 if ${ac_cv_prog_cc_c89+:} false; then :
2828 $as_echo_n "(cached) " >&6
2829 else
2830 ac_cv_prog_cc_c89=no
2831 ac_save_CC=$CC
2832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2833 /* end confdefs.h. */
2834 #include <stdarg.h>
2835 #include <stdio.h>
2836 struct stat;
2837 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2838 struct buf { int x; };
2839 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2840 static char *e (p, i)
2841 char **p;
2842 int i;
2844 return p[i];
2846 static char *f (char * (*g) (char **, int), char **p, ...)
2848 char *s;
2849 va_list v;
2850 va_start (v,p);
2851 s = g (p, va_arg (v,int));
2852 va_end (v);
2853 return s;
2856 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2857 function prototypes and stuff, but not '\xHH' hex character constants.
2858 These don't provoke an error unfortunately, instead are silently treated
2859 as 'x'. The following induces an error, until -std is added to get
2860 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2861 array size at least. It's necessary to write '\x00'==0 to get something
2862 that's true only with -std. */
2863 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2865 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2866 inside strings and character constants. */
2867 #define FOO(x) 'x'
2868 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2870 int test (int i, double x);
2871 struct s1 {int (*f) (int a);};
2872 struct s2 {int (*f) (double a);};
2873 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2874 int argc;
2875 char **argv;
2877 main ()
2879 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2881 return 0;
2883 _ACEOF
2884 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2885 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2887 CC="$ac_save_CC $ac_arg"
2888 if ac_fn_c_try_compile "$LINENO"; then :
2889 ac_cv_prog_cc_c89=$ac_arg
2891 rm -f core conftest.err conftest.$ac_objext
2892 test "x$ac_cv_prog_cc_c89" != "xno" && break
2893 done
2894 rm -f conftest.$ac_ext
2895 CC=$ac_save_CC
2898 # AC_CACHE_VAL
2899 case "x$ac_cv_prog_cc_c89" in
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2902 $as_echo "none needed" >&6; } ;;
2903 xno)
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2905 $as_echo "unsupported" >&6; } ;;
2907 CC="$CC $ac_cv_prog_cc_c89"
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2909 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2910 esac
2911 if test "x$ac_cv_prog_cc_c89" != xno; then :
2915 ac_ext=c
2916 ac_cpp='$CPP $CPPFLAGS'
2917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2921 ac_ext=c
2922 ac_cpp='$CPP $CPPFLAGS'
2923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
2927 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
2928 if ${am_cv_prog_cc_c_o+:} false; then :
2929 $as_echo_n "(cached) " >&6
2930 else
2931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2932 /* end confdefs.h. */
2935 main ()
2939 return 0;
2941 _ACEOF
2942 # Make sure it works both with $CC and with simple cc.
2943 # Following AC_PROG_CC_C_O, we do the test twice because some
2944 # compilers refuse to overwrite an existing .o file with -o,
2945 # though they will create one.
2946 am_cv_prog_cc_c_o=yes
2947 for am_i in 1 2; do
2948 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
2949 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
2950 ac_status=$?
2951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2952 (exit $ac_status); } \
2953 && test -f conftest2.$ac_objext; then
2954 : OK
2955 else
2956 am_cv_prog_cc_c_o=no
2957 break
2959 done
2960 rm -f core conftest*
2961 unset am_i
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
2964 $as_echo "$am_cv_prog_cc_c_o" >&6; }
2965 if test "$am_cv_prog_cc_c_o" != yes; then
2966 # Losing compiler, so override with the script.
2967 # FIXME: It is wrong to rewrite CC.
2968 # But if we don't then we get into trouble of one sort or another.
2969 # A longer-term fix would be to have automake use am__CC in this case,
2970 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
2971 CC="$am_aux_dir/compile $CC"
2973 ac_ext=c
2974 ac_cpp='$CPP $CPPFLAGS'
2975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2984 # Check whether --enable-all-pkgs was given.
2985 if test "${enable_all_pkgs+set}" = set; then :
2986 enableval=$enable_all_pkgs;
2988 test "x$enable_all_pkgs" = xno || enable_all_pkgs=yes
2989 # Check whether --enable-native-texlive-build was given.
2990 if test "${enable_native_texlive_build+set}" = set; then :
2991 enableval=$enable_native_texlive_build;
2993 case $enable_native_texlive_build in #(
2994 yes | no) :
2995 : ;; #(
2996 *) :
2997 enable_native_texlive_build=yes
2998 ac_configure_args="$ac_configure_args '--enable-native-texlive-build'" ;;
2999 esac
3000 case $enable_largefile in #(
3001 yes | no) :
3002 : ;; #(
3003 *) :
3004 enable_largefile=yes
3005 ac_configure_args="$ac_configure_args '--enable-largefile'" ;;
3006 esac
3007 case $enable_silent_rules in #(
3008 yes | no) :
3009 : ;; #(
3010 *) :
3011 enable_silent_rules=no
3012 ac_configure_args="$ac_configure_args '--disable-silent-rules'" ;;
3013 esac
3014 case $enable_multiplatform in #(
3015 yes | no) :
3016 : ;; #(
3017 *) :
3018 enable_multiplatform=$enable_native_texlive_build
3019 ac_configure_args="$ac_configure_args '--enable-multiplatform=$enable_native_texlive_build'" ;;
3020 esac
3021 case $enable_cxx_runtime_hack in #(
3022 yes | no) :
3023 : ;; #(
3024 *) :
3025 enable_cxx_runtime_hack=$enable_native_texlive_build
3026 ac_configure_args="$ac_configure_args '--enable-cxx-runtime-hack=$enable_native_texlive_build'" ;;
3027 esac
3028 case $enable_libtool_hack in #(
3029 yes | no) :
3030 : ;; #(
3031 *) :
3032 case $host_os in #(
3033 do-not-match) :
3034 enable_libtool_hack=no ;; #(
3035 *) :
3036 enable_libtool_hack=yes ;;
3037 esac
3038 ac_configure_args="$ac_configure_args '--enable-libtool-hack=$enable_libtool_hack'" ;;
3039 esac
3040 case $enable_shared in #(
3041 no) :
3042 : ;; #(
3043 yes ) :
3044 if test "x$enable_native_texlive_build" = xyes; then :
3045 as_fn_error $? "you can not use a shared Kpathsea library for a native TeX Live build" "$LINENO" 5
3046 fi ;; #(
3047 *) :
3048 enable_shared=no
3049 ac_configure_args="$ac_configure_args '--disable-shared'" ;;
3050 esac
3051 case $enable_texlive_build in #(
3052 yes) :
3053 : ;; #(
3054 no) :
3055 as_fn_error $? "you can not configure the TeX Live tree with \`--disable-texlive-build'" "$LINENO" 5 ;; #(
3056 *) :
3057 enable_texlive_build=yes
3058 ac_configure_args="$ac_configure_args '--enable-texlive-build'" ;;
3059 esac
3060 # Check whether --enable-multiplatform was given.
3061 if test "${enable_multiplatform+set}" = set; then :
3062 enableval=$enable_multiplatform;
3064 if test "x$enable_multiplatform" = xyes; then
3065 if test "x$bindir" = 'x${exec_prefix}/bin'; then
3066 bindir="$bindir/${host_alias-$host}"
3067 ac_configure_args="$ac_configure_args '--bindir=$bindir'"
3069 if test "x$libdir" = 'x${exec_prefix}/lib'; then
3070 libdir="$libdir/${host_alias-$host}"
3071 ac_configure_args="$ac_configure_args '--libdir=$libdir'"
3075 # Check whether --enable-cxx-runtime-hack was given.
3076 if test "${enable_cxx_runtime_hack+set}" = set; then :
3077 enableval=$enable_cxx_runtime_hack;
3080 # Check whether --enable-libtool-hack was given.
3081 if test "${enable_libtool_hack+set}" = set; then :
3082 enableval=$enable_libtool_hack;
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native WIN32 or MINGW32" >&5
3089 $as_echo_n "checking for native WIN32 or MINGW32... " >&6; }
3090 if ${kpse_cv_have_win32+:} false; then :
3091 $as_echo_n "(cached) " >&6
3092 else
3093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3094 /* end confdefs.h. */
3095 #ifndef WIN32
3096 choke me
3097 #endif
3099 main ()
3103 return 0;
3105 _ACEOF
3106 if ac_fn_c_try_compile "$LINENO"; then :
3107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3108 /* end confdefs.h. */
3109 #ifndef __MINGW32__
3110 choke me
3111 #endif
3113 main ()
3117 return 0;
3119 _ACEOF
3120 if ac_fn_c_try_compile "$LINENO"; then :
3121 kpse_cv_have_win32=mingw32
3122 else
3123 kpse_cv_have_win32=native
3125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3126 else
3127 kpse_cv_have_win32=no
3129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_win32" >&5
3132 $as_echo "$kpse_cv_have_win32" >&6; }
3134 case $with_x:$kpse_cv_have_win32 in #(
3135 yes:no | no:*) :
3136 : ;; #(
3137 yes:*) :
3138 as_fn_error $? "you can not use \`--with-x' for WIN32" "$LINENO" 5 ;; #(
3139 *:no) :
3140 with_x=yes
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--with-x'" >&5
3142 $as_echo "$as_me: Assuming \`--with-x'" >&6;}
3143 ac_configure_args="$ac_configure_args '--with-x'" ;; #(
3144 *) :
3145 with_x=no
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: WIN32 -> \`--without-x'" >&5
3147 $as_echo "$as_me: WIN32 -> \`--without-x'" >&6;}
3148 ac_configure_args="$ac_configure_args '--without-x'" ;;
3149 esac
3150 case $enable_luajittex in #(
3151 yes | no) :
3152 : ;; #(
3153 *) :
3154 case $host in #(
3155 alpha* | sparc* | x86_64-*-cygwin | powerpc-*-darwin* ) :
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: $host -> \`--disable-luajittex'" >&5
3157 $as_echo "$as_me: $host -> \`--disable-luajittex'" >&6;}
3158 ac_configure_args="$ac_configure_args '--disable-luajittex'" ;; #(
3159 *) :
3161 esac ;;
3162 esac
3164 ## texk/web2c/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/web2c/
3165 ## configure options and TL libraries required for web2c
3166 # Check whether --enable-web2c was given.
3167 if test "${enable_web2c+set}" = set; then :
3168 enableval=$enable_web2c;
3170 case $enable_web2c in #(
3171 yes|no) :
3172 ;; #(
3173 *) :
3175 enable_web2c=$enable_all_pkgs
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-web2c=$enable_web2c'" >&5
3177 $as_echo "$as_me: Assuming \`--enable-web2c=$enable_web2c'" >&6;}
3178 ac_configure_args="$ac_configure_args '--enable-web2c=$enable_web2c'"
3180 esac
3182 test "x$enable_web2c" = xno || {
3183 need_kpathsea=yes
3184 need_zlib=yes
3187 ## texk/web2c/ac/web2c.ac: configure.ac fragment for the TeX Live subdirectory texk/web2c/
3188 ## configure options for TeX and MF
3190 # Check whether --with-banner-add was given.
3191 if test "${with_banner_add+set}" = set; then :
3192 withval=$with_banner_add;
3195 # Check whether --with-editor was given.
3196 if test "${with_editor+set}" = set; then :
3197 withval=$with_editor;
3199 # Check whether --enable-auto-core was given.
3200 if test "${enable_auto_core+set}" = set; then :
3201 enableval=$enable_auto_core;
3203 # Check whether --enable-dump-share was given.
3204 if test "${enable_dump_share+set}" = set; then :
3205 enableval=$enable_dump_share;
3207 ## configure options for TeX
3208 # Check whether --enable-ipc was given.
3209 if test "${enable_ipc+set}" = set; then :
3210 enableval=$enable_ipc;
3212 # Check whether --enable-tex was given.
3213 if test "${enable_tex+set}" = set; then :
3214 enableval=$enable_tex;
3216 case $enable_tex in #(
3217 yes | no) :
3218 ;; #(
3219 *) :
3220 enable_tex=yes ;;
3221 esac
3223 # Check whether --enable-tex-synctex was given.
3224 if test "${enable_tex_synctex+set}" = set; then :
3225 enableval=$enable_tex_synctex;
3227 # Check whether --enable-etex was given.
3228 if test "${enable_etex+set}" = set; then :
3229 enableval=$enable_etex;
3231 case $enable_etex in #(
3232 yes | no) :
3233 ;; #(
3234 *) :
3235 enable_etex=no ;;
3236 esac
3238 # Check whether --enable-etex-synctex was given.
3239 if test "${enable_etex_synctex+set}" = set; then :
3240 enableval=$enable_etex_synctex;
3242 # Check whether --enable-ptex was given.
3243 if test "${enable_ptex+set}" = set; then :
3244 enableval=$enable_ptex;
3246 case $enable_ptex in #(
3247 yes | no) :
3248 ;; #(
3249 *) :
3250 enable_ptex=yes ;;
3251 esac
3253 # Check whether --enable-ptex-synctex was given.
3254 if test "${enable_ptex_synctex+set}" = set; then :
3255 enableval=$enable_ptex_synctex;
3258 test "x$enable_web2c:$enable_ptex" = xyes:yes && {
3259 need_ptexenc=yes
3261 # Check whether --enable-eptex was given.
3262 if test "${enable_eptex+set}" = set; then :
3263 enableval=$enable_eptex;
3265 case $enable_eptex in #(
3266 yes | no) :
3267 ;; #(
3268 *) :
3269 enable_eptex=yes ;;
3270 esac
3272 # Check whether --enable-eptex-synctex was given.
3273 if test "${enable_eptex_synctex+set}" = set; then :
3274 enableval=$enable_eptex_synctex;
3277 test "x$enable_web2c:$enable_eptex" = xyes:yes && {
3278 need_ptexenc=yes
3280 # Check whether --enable-uptex was given.
3281 if test "${enable_uptex+set}" = set; then :
3282 enableval=$enable_uptex;
3284 case $enable_uptex in #(
3285 yes | no) :
3286 ;; #(
3287 *) :
3288 enable_uptex=yes ;;
3289 esac
3291 # Check whether --enable-uptex-synctex was given.
3292 if test "${enable_uptex_synctex+set}" = set; then :
3293 enableval=$enable_uptex_synctex;
3296 test "x$enable_web2c:$enable_uptex" = xyes:yes && {
3297 need_ptexenc=yes
3299 # Check whether --enable-euptex was given.
3300 if test "${enable_euptex+set}" = set; then :
3301 enableval=$enable_euptex;
3303 case $enable_euptex in #(
3304 yes | no) :
3305 ;; #(
3306 *) :
3307 enable_euptex=yes ;;
3308 esac
3310 # Check whether --enable-euptex-synctex was given.
3311 if test "${enable_euptex_synctex+set}" = set; then :
3312 enableval=$enable_euptex_synctex;
3315 test "x$enable_web2c:$enable_euptex" = xyes:yes && {
3316 need_ptexenc=yes
3318 # Check whether --enable-aleph was given.
3319 if test "${enable_aleph+set}" = set; then :
3320 enableval=$enable_aleph;
3322 case $enable_aleph in #(
3323 yes | no) :
3324 ;; #(
3325 *) :
3326 enable_aleph=yes ;;
3327 esac
3328 # Check whether --enable-pdftex was given.
3329 if test "${enable_pdftex+set}" = set; then :
3330 enableval=$enable_pdftex;
3332 case $enable_pdftex in #(
3333 yes | no) :
3334 ;; #(
3335 *) :
3336 enable_pdftex=yes ;;
3337 esac
3339 # Check whether --enable-pdftex-synctex was given.
3340 if test "${enable_pdftex_synctex+set}" = set; then :
3341 enableval=$enable_pdftex_synctex;
3344 test "x$enable_web2c:$enable_pdftex" = xyes:yes && {
3345 need_xpdf=yes
3346 need_libpng=yes
3348 # Check whether --enable-luatex was given.
3349 if test "${enable_luatex+set}" = set; then :
3350 enableval=$enable_luatex;
3352 case $enable_luatex in #(
3353 yes | no) :
3354 ;; #(
3355 *) :
3356 enable_luatex=yes ;;
3357 esac
3359 test "x$enable_web2c:$enable_luatex" = xyes:yes && {
3360 need_poppler=yes
3361 need_mpfr=yes
3362 need_cairo=yes
3363 need_libpng=yes
3364 need_zziplib=yes
3365 need_lua52=yes
3367 # Check whether --enable-luajittex was given.
3368 if test "${enable_luajittex+set}" = set; then :
3369 enableval=$enable_luajittex;
3371 case $enable_luajittex in #(
3372 yes | no) :
3373 ;; #(
3374 *) :
3375 enable_luajittex=yes ;;
3376 esac
3378 test "x$enable_web2c:$enable_luajittex" = xyes:yes && {
3379 need_poppler=yes
3380 need_mpfr=yes
3381 need_cairo=yes
3382 need_libpng=yes
3383 need_zziplib=yes
3384 need_luajit=yes
3386 # Check whether --enable-mp was given.
3387 if test "${enable_mp+set}" = set; then :
3388 enableval=$enable_mp;
3390 case $enable_mp in #(
3391 yes | no) :
3392 ;; #(
3393 *) :
3394 enable_mp=yes ;;
3395 esac
3397 test "x$enable_web2c:$enable_mp" = xyes:yes && {
3398 need_mpfr=yes
3399 need_cairo=yes
3400 need_libpng=yes
3402 # Check whether --enable-pmp was given.
3403 if test "${enable_pmp+set}" = set; then :
3404 enableval=$enable_pmp;
3406 case $enable_pmp in #(
3407 yes | no) :
3408 ;; #(
3409 *) :
3410 enable_pmp=yes ;;
3411 esac
3413 test "x$enable_web2c:$enable_pmp" = xyes:yes && {
3414 need_mpfr=yes
3415 need_cairo=yes
3416 need_libpng=yes
3417 need_ptexenc=yes
3419 # Check whether --enable-upmp was given.
3420 if test "${enable_upmp+set}" = set; then :
3421 enableval=$enable_upmp;
3423 case $enable_upmp in #(
3424 yes | no) :
3425 ;; #(
3426 *) :
3427 enable_upmp=yes ;;
3428 esac
3430 test "x$enable_web2c:$enable_upmp" = xyes:yes && {
3431 need_mpfr=yes
3432 need_cairo=yes
3433 need_libpng=yes
3434 need_ptexenc=yes
3436 # Check whether --enable-xetex was given.
3437 if test "${enable_xetex+set}" = set; then :
3438 enableval=$enable_xetex;
3440 case $enable_xetex in #(
3441 yes | no) :
3442 ;; #(
3443 *) :
3444 enable_xetex=yes ;;
3445 esac
3447 # Check whether --enable-xetex-synctex was given.
3448 if test "${enable_xetex_synctex+set}" = set; then :
3449 enableval=$enable_xetex_synctex;
3452 test "x$enable_web2c:$enable_xetex" = xyes:yes && {
3453 need_poppler=yes
3454 need_libpng=yes
3455 need_freetype2=yes
3456 need_teckit=yes
3457 need_harfbuzz=yes
3459 ## configure options for MF
3460 # Check whether --enable-mf was given.
3461 if test "${enable_mf+set}" = set; then :
3462 enableval=$enable_mf;
3464 case $enable_mf in #(
3465 yes | no) :
3466 ;; #(
3467 *) :
3468 enable_mf=yes ;;
3469 esac
3471 # Check whether --enable-mf-nowin was given.
3472 if test "${enable_mf_nowin+set}" = set; then :
3473 enableval=$enable_mf_nowin;
3476 # Check whether --with-mf-x-toolkit was given.
3477 if test "${with_mf_x_toolkit+set}" = set; then :
3478 withval=$with_mf_x_toolkit;
3480 # Check whether --enable-epsfwin was given.
3481 if test "${enable_epsfwin+set}" = set; then :
3482 enableval=$enable_epsfwin;
3484 # Check whether --enable-hp2627win was given.
3485 if test "${enable_hp2627win+set}" = set; then :
3486 enableval=$enable_hp2627win;
3488 # Check whether --enable-mftalkwin was given.
3489 if test "${enable_mftalkwin+set}" = set; then :
3490 enableval=$enable_mftalkwin;
3492 # Check whether --enable-nextwin was given.
3493 if test "${enable_nextwin+set}" = set; then :
3494 enableval=$enable_nextwin;
3496 # Check whether --enable-regiswin was given.
3497 if test "${enable_regiswin+set}" = set; then :
3498 enableval=$enable_regiswin;
3500 # Check whether --enable-suntoolswin was given.
3501 if test "${enable_suntoolswin+set}" = set; then :
3502 enableval=$enable_suntoolswin;
3504 # Check whether --enable-tektronixwin was given.
3505 if test "${enable_tektronixwin+set}" = set; then :
3506 enableval=$enable_tektronixwin;
3508 # Check whether --enable-unitermwin was given.
3509 if test "${enable_unitermwin+set}" = set; then :
3510 enableval=$enable_unitermwin;
3512 ## configure options for WEB programs
3513 # Check whether --enable-web-progs was given.
3514 if test "${enable_web_progs+set}" = set; then :
3515 enableval=$enable_web_progs;
3517 ## configure option for the SyncTeX library and tool
3518 # Check whether --enable-synctex was given.
3519 if test "${enable_synctex+set}" = set; then :
3520 enableval=$enable_synctex;
3524 ## texk/texlive/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/texlive/
3525 ## configure options and TL libraries required for texlive
3526 # Check whether --enable-texlive was given.
3527 if test "${enable_texlive+set}" = set; then :
3528 enableval=$enable_texlive;
3530 case $enable_texlive in #(
3531 yes|no) :
3532 ;; #(
3533 *) :
3535 enable_texlive=$enable_all_pkgs
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-texlive=$enable_texlive'" >&5
3537 $as_echo "$as_me: Assuming \`--enable-texlive=$enable_texlive'" >&6;}
3538 ac_configure_args="$ac_configure_args '--enable-texlive=$enable_texlive'"
3540 esac
3542 ## texk/texlive/ac/texlive.ac: configure.ac fragment for the TeX Live subdirectory texk/texlive/
3543 ## configure options for texlive
3544 # Check whether --enable-linked-scripts was given.
3545 if test "${enable_linked_scripts+set}" = set; then :
3546 enableval=$enable_linked_scripts;
3550 ## libs/zziplib/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/zziplib/
3551 ## configure options and TL libraries required for zziplib
3553 # Check whether --with-system-zziplib was given.
3554 if test "${with_system_zziplib+set}" = set; then :
3555 withval=$with_system_zziplib;
3557 if test "x$with_system_zziplib" = x; then
3558 if test -f $srcdir/../libs/zziplib/configure; then
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`zziplib' headers and library from TL tree" >&5
3560 $as_echo "$as_me: Assuming \`zziplib' headers and library from TL tree" >&6;}
3561 with_system_zziplib=no
3562 else
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`zziplib' headers and library" >&5
3564 $as_echo "$as_me: Assuming installed \`zziplib' headers and library" >&6;}
3565 with_system_zziplib=yes
3567 ac_configure_args="$ac_configure_args '--with-system-zziplib=$with_system_zziplib'"
3569 if test "x$with_system_zziplib" = xyes; then
3570 if test "x$with_system_zlib" = x; then
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \`zlib' headers and library" >&5
3572 $as_echo "$as_me: -> installed \`zlib' headers and library" >&6;}
3573 with_system_zlib=yes
3574 ac_configure_args="$ac_configure_args '--with-system-zlib'"
3575 elif test "x$with_system_zlib" != xyes; then
3576 as_fn_error $? "Sorry, \`--with-system-zziplib' requires \`--with-system-zlib'" "$LINENO" 5
3580 test "x$need_zziplib" = xyes && {
3581 need_zlib=yes
3584 ## libs/poppler/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/poppler/
3585 ## configure options and TL libraries required for poppler
3587 # Check whether --with-system-poppler was given.
3588 if test "${with_system_poppler+set}" = set; then :
3589 withval=$with_system_poppler;
3591 if test "x$with_system_poppler" = x; then
3592 if test -f $srcdir/../libs/poppler/configure; then
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`poppler' headers and library from TL tree" >&5
3594 $as_echo "$as_me: Assuming \`poppler' headers and library from TL tree" >&6;}
3595 with_system_poppler=no
3596 else
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`poppler' headers and library" >&5
3598 $as_echo "$as_me: Assuming installed \`poppler' headers and library" >&6;}
3599 with_system_poppler=yes
3601 ac_configure_args="$ac_configure_args '--with-system-poppler=$with_system_poppler'"
3603 if test "x$with_system_poppler" = xyes; then
3604 if test "x$with_system_zlib" = x; then
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \`zlib' headers and library" >&5
3606 $as_echo "$as_me: -> installed \`zlib' headers and library" >&6;}
3607 with_system_zlib=yes
3608 ac_configure_args="$ac_configure_args '--with-system-zlib'"
3609 elif test "x$with_system_zlib" != xyes; then
3610 as_fn_error $? "Sorry, \`--with-system-poppler' requires \`--with-system-zlib'" "$LINENO" 5
3614 test "x$need_poppler" = xyes && {
3615 need_zlib=yes
3618 ## libs/mpfr/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/mpfr/
3619 ## configure options and TL libraries required for mpfr
3621 # Check whether --with-system-mpfr was given.
3622 if test "${with_system_mpfr+set}" = set; then :
3623 withval=$with_system_mpfr;
3626 # Check whether --with-mpfr-includes was given.
3627 if test "${with_mpfr_includes+set}" = set; then :
3628 withval=$with_mpfr_includes;
3631 # Check whether --with-mpfr-libdir was given.
3632 if test "${with_mpfr_libdir+set}" = set; then :
3633 withval=$with_mpfr_libdir;
3635 if test "x$with_system_mpfr" = x; then
3636 if test -f $srcdir/../libs/mpfr/configure; then
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`mpfr' headers and library from TL tree" >&5
3638 $as_echo "$as_me: Assuming \`mpfr' headers and library from TL tree" >&6;}
3639 with_system_mpfr=no
3640 else
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`mpfr' headers and library" >&5
3642 $as_echo "$as_me: Assuming installed \`mpfr' headers and library" >&6;}
3643 with_system_mpfr=yes
3645 ac_configure_args="$ac_configure_args '--with-system-mpfr=$with_system_mpfr'"
3647 if test "x$with_system_mpfr" = xyes; then
3648 if test "x$with_system_gmp" = x; then
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \`gmp' headers and library" >&5
3650 $as_echo "$as_me: -> installed \`gmp' headers and library" >&6;}
3651 with_system_gmp=yes
3652 ac_configure_args="$ac_configure_args '--with-system-gmp'"
3653 elif test "x$with_system_gmp" != xyes; then
3654 as_fn_error $? "Sorry, \`--with-system-mpfr' requires \`--with-system-gmp'" "$LINENO" 5
3658 test "x$need_mpfr" = xyes && {
3659 need_gmp=yes
3662 ## libs/gmp/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/gmp/
3663 ## configure options and TL libraries required for gmp
3665 # Check whether --with-system-gmp was given.
3666 if test "${with_system_gmp+set}" = set; then :
3667 withval=$with_system_gmp;
3670 # Check whether --with-gmp-includes was given.
3671 if test "${with_gmp_includes+set}" = set; then :
3672 withval=$with_gmp_includes;
3675 # Check whether --with-gmp-libdir was given.
3676 if test "${with_gmp_libdir+set}" = set; then :
3677 withval=$with_gmp_libdir;
3679 if test "x$with_system_gmp" = x; then
3680 if test -f $srcdir/../libs/gmp/configure; then
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`gmp' headers and library from TL tree" >&5
3682 $as_echo "$as_me: Assuming \`gmp' headers and library from TL tree" >&6;}
3683 with_system_gmp=no
3684 else
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`gmp' headers and library" >&5
3686 $as_echo "$as_me: Assuming installed \`gmp' headers and library" >&6;}
3687 with_system_gmp=yes
3689 ac_configure_args="$ac_configure_args '--with-system-gmp=$with_system_gmp'"
3692 ## libs/cairo/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/cairo/
3693 ## configure options and TL libraries required for cairo
3695 # Check whether --with-system-cairo was given.
3696 if test "${with_system_cairo+set}" = set; then :
3697 withval=$with_system_cairo;
3699 if test "x$with_system_cairo" = x; then
3700 if test -f $srcdir/../libs/cairo/configure; then
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`cairo' headers and library from TL tree" >&5
3702 $as_echo "$as_me: Assuming \`cairo' headers and library from TL tree" >&6;}
3703 with_system_cairo=no
3704 else
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`cairo' headers and library" >&5
3706 $as_echo "$as_me: Assuming installed \`cairo' headers and library" >&6;}
3707 with_system_cairo=yes
3709 ac_configure_args="$ac_configure_args '--with-system-cairo=$with_system_cairo'"
3711 if test "x$with_system_cairo" = xyes; then
3712 if test "x$with_system_pixman" = x; then
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \`pixman' headers and library" >&5
3714 $as_echo "$as_me: -> installed \`pixman' headers and library" >&6;}
3715 with_system_pixman=yes
3716 ac_configure_args="$ac_configure_args '--with-system-pixman'"
3717 elif test "x$with_system_pixman" != xyes; then
3718 as_fn_error $? "Sorry, \`--with-system-cairo' requires \`--with-system-pixman'" "$LINENO" 5
3722 test "x$need_cairo" = xyes && {
3723 need_pixman=yes
3726 ## libs/pixman/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/pixman/
3727 ## configure options and TL libraries required for pixman
3729 # Check whether --with-system-pixman was given.
3730 if test "${with_system_pixman+set}" = set; then :
3731 withval=$with_system_pixman;
3733 if test "x$with_system_pixman" = x; then
3734 if test -f $srcdir/../libs/pixman/configure; then
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`pixman' headers and library from TL tree" >&5
3736 $as_echo "$as_me: Assuming \`pixman' headers and library from TL tree" >&6;}
3737 with_system_pixman=no
3738 else
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`pixman' headers and library" >&5
3740 $as_echo "$as_me: Assuming installed \`pixman' headers and library" >&6;}
3741 with_system_pixman=yes
3743 ac_configure_args="$ac_configure_args '--with-system-pixman=$with_system_pixman'"
3746 ## libs/libpng/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/libpng/
3747 ## configure options and TL libraries required for libpng
3749 # Check whether --with-system-libpng was given.
3750 if test "${with_system_libpng+set}" = set; then :
3751 withval=$with_system_libpng;
3753 if test "x$with_system_libpng" = x; then
3754 if test -f $srcdir/../libs/libpng/configure; then
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`libpng' headers and library from TL tree" >&5
3756 $as_echo "$as_me: Assuming \`libpng' headers and library from TL tree" >&6;}
3757 with_system_libpng=no
3758 else
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`libpng' headers and library" >&5
3760 $as_echo "$as_me: Assuming installed \`libpng' headers and library" >&6;}
3761 with_system_libpng=yes
3763 ac_configure_args="$ac_configure_args '--with-system-libpng=$with_system_libpng'"
3765 if test "x$with_system_libpng" = xyes; then
3766 if test "x$with_system_zlib" = x; then
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \`zlib' headers and library" >&5
3768 $as_echo "$as_me: -> installed \`zlib' headers and library" >&6;}
3769 with_system_zlib=yes
3770 ac_configure_args="$ac_configure_args '--with-system-zlib'"
3771 elif test "x$with_system_zlib" != xyes; then
3772 as_fn_error $? "Sorry, \`--with-system-libpng' requires \`--with-system-zlib'" "$LINENO" 5
3776 test "x$need_libpng" = xyes && {
3777 need_zlib=yes
3780 ## libs/luajit/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/luajit/
3781 ## configure options and TL libraries required for luajit
3783 ## libs/lua52/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/lua52/
3784 ## configure options and TL libraries required for lua52
3786 ## libs/zlib/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/zlib/
3787 ## configure options and TL libraries required for zlib
3789 # Check whether --with-system-zlib was given.
3790 if test "${with_system_zlib+set}" = set; then :
3791 withval=$with_system_zlib;
3794 # Check whether --with-zlib-includes was given.
3795 if test "${with_zlib_includes+set}" = set; then :
3796 withval=$with_zlib_includes;
3799 # Check whether --with-zlib-libdir was given.
3800 if test "${with_zlib_libdir+set}" = set; then :
3801 withval=$with_zlib_libdir;
3803 if test "x$with_system_zlib" = x; then
3804 if test -f $srcdir/../libs/zlib/configure; then
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`zlib' headers and library from TL tree" >&5
3806 $as_echo "$as_me: Assuming \`zlib' headers and library from TL tree" >&6;}
3807 with_system_zlib=no
3808 else
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`zlib' headers and library" >&5
3810 $as_echo "$as_me: Assuming installed \`zlib' headers and library" >&6;}
3811 with_system_zlib=yes
3813 ac_configure_args="$ac_configure_args '--with-system-zlib=$with_system_zlib'"
3817 ## texk/kpathsea/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/kpathsea/
3818 ## configure options and TL libraries required for kpathsea
3820 # Check whether --with-system-kpathsea was given.
3821 if test "${with_system_kpathsea+set}" = set; then :
3822 withval=$with_system_kpathsea;
3824 if test "x$with_system_kpathsea" = x; then
3825 if test -f $srcdir/../texk/kpathsea/configure; then
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`kpathsea' headers and library from TL tree" >&5
3827 $as_echo "$as_me: Assuming \`kpathsea' headers and library from TL tree" >&6;}
3828 with_system_kpathsea=no
3829 else
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`kpathsea' headers and library" >&5
3831 $as_echo "$as_me: Assuming installed \`kpathsea' headers and library" >&6;}
3832 with_system_kpathsea=yes
3834 ac_configure_args="$ac_configure_args '--with-system-kpathsea=$with_system_kpathsea'"
3837 ## texk/kpathsea/ac/mktex.ac: configure.ac fragment for the TeX Live
3838 ## subdirectory texk/kpathsea.
3839 ## configure defaults for mktexfmt & Co.
3840 # Check whether --enable-mktexmf-default was given.
3841 if test "${enable_mktexmf_default+set}" = set; then :
3842 enableval=$enable_mktexmf_default;
3844 # Check whether --enable-mktexpk-default was given.
3845 if test "${enable_mktexpk_default+set}" = set; then :
3846 enableval=$enable_mktexpk_default;
3848 # Check whether --enable-mktextfm-default was given.
3849 if test "${enable_mktextfm_default+set}" = set; then :
3850 enableval=$enable_mktextfm_default;
3852 # Check whether --enable-mkocp-default was given.
3853 if test "${enable_mkocp_default+set}" = set; then :
3854 enableval=$enable_mkocp_default;
3856 # Check whether --enable-mkofm-default was given.
3857 if test "${enable_mkofm_default+set}" = set; then :
3858 enableval=$enable_mkofm_default;
3860 # Check whether --enable-mktexfmt-default was given.
3861 if test "${enable_mktexfmt_default+set}" = set; then :
3862 enableval=$enable_mktexfmt_default;
3864 # Check whether --enable-mktextex-default was given.
3865 if test "${enable_mktextex_default+set}" = set; then :
3866 enableval=$enable_mktextex_default;
3872 am__api_version='1.15'
3874 # Find a good install program. We prefer a C program (faster),
3875 # so one script is as good as another. But avoid the broken or
3876 # incompatible versions:
3877 # SysV /etc/install, /usr/sbin/install
3878 # SunOS /usr/etc/install
3879 # IRIX /sbin/install
3880 # AIX /bin/install
3881 # AmigaOS /C/install, which installs bootblocks on floppy discs
3882 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3883 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3884 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3885 # OS/2's system install, which has a completely different semantic
3886 # ./install, which can be erroneously created by make from ./install.sh.
3887 # Reject install programs that cannot install multiple files.
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3889 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3890 if test -z "$INSTALL"; then
3891 if ${ac_cv_path_install+:} false; then :
3892 $as_echo_n "(cached) " >&6
3893 else
3894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3895 for as_dir in $PATH
3897 IFS=$as_save_IFS
3898 test -z "$as_dir" && as_dir=.
3899 # Account for people who put trailing slashes in PATH elements.
3900 case $as_dir/ in #((
3901 ./ | .// | /[cC]/* | \
3902 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3903 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3904 /usr/ucb/* ) ;;
3906 # OSF1 and SCO ODT 3.0 have their own names for install.
3907 # Don't use installbsd from OSF since it installs stuff as root
3908 # by default.
3909 for ac_prog in ginstall scoinst install; do
3910 for ac_exec_ext in '' $ac_executable_extensions; do
3911 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3912 if test $ac_prog = install &&
3913 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3914 # AIX install. It has an incompatible calling convention.
3916 elif test $ac_prog = install &&
3917 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3918 # program-specific install script used by HP pwplus--don't use.
3920 else
3921 rm -rf conftest.one conftest.two conftest.dir
3922 echo one > conftest.one
3923 echo two > conftest.two
3924 mkdir conftest.dir
3925 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3926 test -s conftest.one && test -s conftest.two &&
3927 test -s conftest.dir/conftest.one &&
3928 test -s conftest.dir/conftest.two
3929 then
3930 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3931 break 3
3935 done
3936 done
3938 esac
3940 done
3941 IFS=$as_save_IFS
3943 rm -rf conftest.one conftest.two conftest.dir
3946 if test "${ac_cv_path_install+set}" = set; then
3947 INSTALL=$ac_cv_path_install
3948 else
3949 # As a last resort, use the slow shell script. Don't cache a
3950 # value for INSTALL within a source directory, because that will
3951 # break other packages using the cache if that directory is
3952 # removed, or if the value is a relative name.
3953 INSTALL=$ac_install_sh
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3957 $as_echo "$INSTALL" >&6; }
3959 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3960 # It thinks the first close brace ends the variable substitution.
3961 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3963 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3965 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3968 $as_echo_n "checking whether build environment is sane... " >&6; }
3969 # Reject unsafe characters in $srcdir or the absolute working directory
3970 # name. Accept space and tab only in the latter.
3971 am_lf='
3973 case `pwd` in
3974 *[\\\"\#\$\&\'\`$am_lf]*)
3975 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3976 esac
3977 case $srcdir in
3978 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3979 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3980 esac
3982 # Do 'set' in a subshell so we don't clobber the current shell's
3983 # arguments. Must try -L first in case configure is actually a
3984 # symlink; some systems play weird games with the mod time of symlinks
3985 # (eg FreeBSD returns the mod time of the symlink's containing
3986 # directory).
3987 if (
3988 am_has_slept=no
3989 for am_try in 1 2; do
3990 echo "timestamp, slept: $am_has_slept" > conftest.file
3991 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3992 if test "$*" = "X"; then
3993 # -L didn't work.
3994 set X `ls -t "$srcdir/configure" conftest.file`
3996 if test "$*" != "X $srcdir/configure conftest.file" \
3997 && test "$*" != "X conftest.file $srcdir/configure"; then
3999 # If neither matched, then we have a broken ls. This can happen
4000 # if, for instance, CONFIG_SHELL is bash and it inherits a
4001 # broken ls alias from the environment. This has actually
4002 # happened. Such a system could not be considered "sane".
4003 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
4004 alias in your environment" "$LINENO" 5
4006 if test "$2" = conftest.file || test $am_try -eq 2; then
4007 break
4009 # Just in case.
4010 sleep 1
4011 am_has_slept=yes
4012 done
4013 test "$2" = conftest.file
4015 then
4016 # Ok.
4018 else
4019 as_fn_error $? "newly created file is older than distributed files!
4020 Check your system clock" "$LINENO" 5
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4023 $as_echo "yes" >&6; }
4024 # If we didn't sleep, we still need to ensure time stamps of config.status and
4025 # generated files are strictly newer.
4026 am_sleep_pid=
4027 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
4028 ( sleep 1 ) &
4029 am_sleep_pid=$!
4032 rm -f conftest.file
4034 test "$program_prefix" != NONE &&
4035 program_transform_name="s&^&$program_prefix&;$program_transform_name"
4036 # Use a double $ so make ignores it.
4037 test "$program_suffix" != NONE &&
4038 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
4039 # Double any \ or $.
4040 # By default was `s,x,x', remove it if useless.
4041 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
4042 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
4044 if test x"${MISSING+set}" != xset; then
4045 case $am_aux_dir in
4046 *\ * | *\ *)
4047 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
4049 MISSING="\${SHELL} $am_aux_dir/missing" ;;
4050 esac
4052 # Use eval to expand $SHELL
4053 if eval "$MISSING --is-lightweight"; then
4054 am_missing_run="$MISSING "
4055 else
4056 am_missing_run=
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
4058 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
4061 if test x"${install_sh+set}" != xset; then
4062 case $am_aux_dir in
4063 *\ * | *\ *)
4064 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
4066 install_sh="\${SHELL} $am_aux_dir/install-sh"
4067 esac
4070 # Installed binaries are usually stripped using 'strip' when the user
4071 # run "make install-strip". However 'strip' might not be the right
4072 # tool to use in cross-compilation environments, therefore Automake
4073 # will honor the 'STRIP' environment variable to overrule this program.
4074 if test "$cross_compiling" != no; then
4075 if test -n "$ac_tool_prefix"; then
4076 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4077 set dummy ${ac_tool_prefix}strip; ac_word=$2
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4079 $as_echo_n "checking for $ac_word... " >&6; }
4080 if ${ac_cv_prog_STRIP+:} false; then :
4081 $as_echo_n "(cached) " >&6
4082 else
4083 if test -n "$STRIP"; then
4084 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4085 else
4086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4087 for as_dir in $PATH
4089 IFS=$as_save_IFS
4090 test -z "$as_dir" && as_dir=.
4091 for ac_exec_ext in '' $ac_executable_extensions; do
4092 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4093 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4095 break 2
4097 done
4098 done
4099 IFS=$as_save_IFS
4103 STRIP=$ac_cv_prog_STRIP
4104 if test -n "$STRIP"; then
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4106 $as_echo "$STRIP" >&6; }
4107 else
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4109 $as_echo "no" >&6; }
4114 if test -z "$ac_cv_prog_STRIP"; then
4115 ac_ct_STRIP=$STRIP
4116 # Extract the first word of "strip", so it can be a program name with args.
4117 set dummy strip; ac_word=$2
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4119 $as_echo_n "checking for $ac_word... " >&6; }
4120 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
4121 $as_echo_n "(cached) " >&6
4122 else
4123 if test -n "$ac_ct_STRIP"; then
4124 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4125 else
4126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4127 for as_dir in $PATH
4129 IFS=$as_save_IFS
4130 test -z "$as_dir" && as_dir=.
4131 for ac_exec_ext in '' $ac_executable_extensions; do
4132 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4133 ac_cv_prog_ac_ct_STRIP="strip"
4134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4135 break 2
4137 done
4138 done
4139 IFS=$as_save_IFS
4143 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4144 if test -n "$ac_ct_STRIP"; then
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4146 $as_echo "$ac_ct_STRIP" >&6; }
4147 else
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4149 $as_echo "no" >&6; }
4152 if test "x$ac_ct_STRIP" = x; then
4153 STRIP=":"
4154 else
4155 case $cross_compiling:$ac_tool_warned in
4156 yes:)
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4158 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4159 ac_tool_warned=yes ;;
4160 esac
4161 STRIP=$ac_ct_STRIP
4163 else
4164 STRIP="$ac_cv_prog_STRIP"
4168 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4171 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4172 if test -z "$MKDIR_P"; then
4173 if ${ac_cv_path_mkdir+:} false; then :
4174 $as_echo_n "(cached) " >&6
4175 else
4176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4177 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
4179 IFS=$as_save_IFS
4180 test -z "$as_dir" && as_dir=.
4181 for ac_prog in mkdir gmkdir; do
4182 for ac_exec_ext in '' $ac_executable_extensions; do
4183 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
4184 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4185 'mkdir (GNU coreutils) '* | \
4186 'mkdir (coreutils) '* | \
4187 'mkdir (fileutils) '4.1*)
4188 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
4189 break 3;;
4190 esac
4191 done
4192 done
4193 done
4194 IFS=$as_save_IFS
4198 test -d ./--version && rmdir ./--version
4199 if test "${ac_cv_path_mkdir+set}" = set; then
4200 MKDIR_P="$ac_cv_path_mkdir -p"
4201 else
4202 # As a last resort, use the slow shell script. Don't cache a
4203 # value for MKDIR_P within a source directory, because that will
4204 # break other packages using the cache if that directory is
4205 # removed, or if the value is a relative name.
4206 MKDIR_P="$ac_install_sh -d"
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4210 $as_echo "$MKDIR_P" >&6; }
4212 for ac_prog in gawk mawk nawk awk
4214 # Extract the first word of "$ac_prog", so it can be a program name with args.
4215 set dummy $ac_prog; ac_word=$2
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4217 $as_echo_n "checking for $ac_word... " >&6; }
4218 if ${ac_cv_prog_AWK+:} false; then :
4219 $as_echo_n "(cached) " >&6
4220 else
4221 if test -n "$AWK"; then
4222 ac_cv_prog_AWK="$AWK" # Let the user override the test.
4223 else
4224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4225 for as_dir in $PATH
4227 IFS=$as_save_IFS
4228 test -z "$as_dir" && as_dir=.
4229 for ac_exec_ext in '' $ac_executable_extensions; do
4230 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4231 ac_cv_prog_AWK="$ac_prog"
4232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4233 break 2
4235 done
4236 done
4237 IFS=$as_save_IFS
4241 AWK=$ac_cv_prog_AWK
4242 if test -n "$AWK"; then
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4244 $as_echo "$AWK" >&6; }
4245 else
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4247 $as_echo "no" >&6; }
4251 test -n "$AWK" && break
4252 done
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4255 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4256 set x ${MAKE-make}
4257 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4258 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4259 $as_echo_n "(cached) " >&6
4260 else
4261 cat >conftest.make <<\_ACEOF
4262 SHELL = /bin/sh
4263 all:
4264 @echo '@@@%%%=$(MAKE)=@@@%%%'
4265 _ACEOF
4266 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4267 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4268 *@@@%%%=?*=@@@%%%*)
4269 eval ac_cv_prog_make_${ac_make}_set=yes;;
4271 eval ac_cv_prog_make_${ac_make}_set=no;;
4272 esac
4273 rm -f conftest.make
4275 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4277 $as_echo "yes" >&6; }
4278 SET_MAKE=
4279 else
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4281 $as_echo "no" >&6; }
4282 SET_MAKE="MAKE=${MAKE-make}"
4285 rm -rf .tst 2>/dev/null
4286 mkdir .tst 2>/dev/null
4287 if test -d .tst; then
4288 am__leading_dot=.
4289 else
4290 am__leading_dot=_
4292 rmdir .tst 2>/dev/null
4294 DEPDIR="${am__leading_dot}deps"
4296 ac_config_commands="$ac_config_commands depfiles"
4299 am_make=${MAKE-make}
4300 cat > confinc << 'END'
4301 am__doit:
4302 @echo this is the am__doit target
4303 .PHONY: am__doit
4305 # If we don't find an include directive, just comment out the code.
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4307 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4308 am__include="#"
4309 am__quote=
4310 _am_result=none
4311 # First try GNU make style include.
4312 echo "include confinc" > confmf
4313 # Ignore all kinds of additional output from 'make'.
4314 case `$am_make -s -f confmf 2> /dev/null` in #(
4315 *the\ am__doit\ target*)
4316 am__include=include
4317 am__quote=
4318 _am_result=GNU
4320 esac
4321 # Now try BSD make style include.
4322 if test "$am__include" = "#"; then
4323 echo '.include "confinc"' > confmf
4324 case `$am_make -s -f confmf 2> /dev/null` in #(
4325 *the\ am__doit\ target*)
4326 am__include=.include
4327 am__quote="\""
4328 _am_result=BSD
4330 esac
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4335 $as_echo "$_am_result" >&6; }
4336 rm -f confinc confmf
4338 # Check whether --enable-dependency-tracking was given.
4339 if test "${enable_dependency_tracking+set}" = set; then :
4340 enableval=$enable_dependency_tracking;
4343 if test "x$enable_dependency_tracking" != xno; then
4344 am_depcomp="$ac_aux_dir/depcomp"
4345 AMDEPBACKSLASH='\'
4346 am__nodep='_no'
4348 if test "x$enable_dependency_tracking" != xno; then
4349 AMDEP_TRUE=
4350 AMDEP_FALSE='#'
4351 else
4352 AMDEP_TRUE='#'
4353 AMDEP_FALSE=
4357 # Check whether --enable-silent-rules was given.
4358 if test "${enable_silent_rules+set}" = set; then :
4359 enableval=$enable_silent_rules;
4362 case $enable_silent_rules in # (((
4363 yes) AM_DEFAULT_VERBOSITY=0;;
4364 no) AM_DEFAULT_VERBOSITY=1;;
4365 *) AM_DEFAULT_VERBOSITY=1;;
4366 esac
4367 am_make=${MAKE-make}
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4369 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4370 if ${am_cv_make_support_nested_variables+:} false; then :
4371 $as_echo_n "(cached) " >&6
4372 else
4373 if $as_echo 'TRUE=$(BAR$(V))
4374 BAR0=false
4375 BAR1=true
4377 am__doit:
4378 @$(TRUE)
4379 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4380 am_cv_make_support_nested_variables=yes
4381 else
4382 am_cv_make_support_nested_variables=no
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4386 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4387 if test $am_cv_make_support_nested_variables = yes; then
4388 AM_V='$(V)'
4389 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4390 else
4391 AM_V=$AM_DEFAULT_VERBOSITY
4392 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4394 AM_BACKSLASH='\'
4396 # Check whether --enable-compiler-warnings was given.
4397 if test "${enable_compiler_warnings+set}" = set; then :
4398 enableval=$enable_compiler_warnings;
4400 case $enable_compiler_warnings in #(
4401 no | min | yes | max | all) :
4402 ;; #(
4403 *) :
4404 if test "x$enable_maintainer_mode" = xyes; then :
4405 enable_compiler_warnings=yes
4406 else
4407 enable_compiler_warnings=min
4408 fi ;;
4409 esac
4412 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4413 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4414 # is not polluted with repeated "-I."
4415 am__isrc=' -I$(srcdir)'
4416 # test to see if srcdir already configured
4417 if test -f $srcdir/config.status; then
4418 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4422 # test whether we have cygpath
4423 if test -z "$CYGPATH_W"; then
4424 if (cygpath --version) >/dev/null 2>/dev/null; then
4425 CYGPATH_W='cygpath -w'
4426 else
4427 CYGPATH_W=echo
4432 # Define the identity of the package.
4433 PACKAGE='tex-live-utils'
4434 VERSION='2015'
4437 cat >>confdefs.h <<_ACEOF
4438 #define PACKAGE "$PACKAGE"
4439 _ACEOF
4442 cat >>confdefs.h <<_ACEOF
4443 #define VERSION "$VERSION"
4444 _ACEOF
4446 # Some tools Automake needs.
4448 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4451 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4454 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4457 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4460 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4462 # For better backward compatibility. To be removed once Automake 1.9.x
4463 # dies out for good. For more background, see:
4464 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4465 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4466 mkdir_p='$(MKDIR_P)'
4468 # We need awk for the "check" target (and possibly the TAP driver). The
4469 # system "awk" is bad on some platforms.
4470 # Always define AMTAR for backward compatibility. Yes, it's still used
4471 # in the wild :-( We should find a proper way to deprecate it ...
4472 AMTAR='$${TAR-tar}'
4475 # We'll loop over all known methods to create a tar archive until one works.
4476 _am_tools='gnutar pax cpio none'
4478 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
4484 depcc="$CC" am_compiler_list=
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4487 $as_echo_n "checking dependency style of $depcc... " >&6; }
4488 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4489 $as_echo_n "(cached) " >&6
4490 else
4491 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4492 # We make a subdir and do the tests there. Otherwise we can end up
4493 # making bogus files that we don't know about and never remove. For
4494 # instance it was reported that on HP-UX the gcc test will end up
4495 # making a dummy file named 'D' -- because '-MD' means "put the output
4496 # in D".
4497 rm -rf conftest.dir
4498 mkdir conftest.dir
4499 # Copy depcomp to subdir because otherwise we won't find it if we're
4500 # using a relative directory.
4501 cp "$am_depcomp" conftest.dir
4502 cd conftest.dir
4503 # We will build objects and dependencies in a subdirectory because
4504 # it helps to detect inapplicable dependency modes. For instance
4505 # both Tru64's cc and ICC support -MD to output dependencies as a
4506 # side effect of compilation, but ICC will put the dependencies in
4507 # the current directory while Tru64 will put them in the object
4508 # directory.
4509 mkdir sub
4511 am_cv_CC_dependencies_compiler_type=none
4512 if test "$am_compiler_list" = ""; then
4513 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4515 am__universal=false
4516 case " $depcc " in #(
4517 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4518 esac
4520 for depmode in $am_compiler_list; do
4521 # Setup a source with many dependencies, because some compilers
4522 # like to wrap large dependency lists on column 80 (with \), and
4523 # we should not choose a depcomp mode which is confused by this.
4525 # We need to recreate these files for each test, as the compiler may
4526 # overwrite some of them when testing with obscure command lines.
4527 # This happens at least with the AIX C compiler.
4528 : > sub/conftest.c
4529 for i in 1 2 3 4 5 6; do
4530 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4531 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4532 # Solaris 10 /bin/sh.
4533 echo '/* dummy */' > sub/conftst$i.h
4534 done
4535 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4537 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4538 # mode. It turns out that the SunPro C++ compiler does not properly
4539 # handle '-M -o', and we need to detect this. Also, some Intel
4540 # versions had trouble with output in subdirs.
4541 am__obj=sub/conftest.${OBJEXT-o}
4542 am__minus_obj="-o $am__obj"
4543 case $depmode in
4544 gcc)
4545 # This depmode causes a compiler race in universal mode.
4546 test "$am__universal" = false || continue
4548 nosideeffect)
4549 # After this tag, mechanisms are not by side-effect, so they'll
4550 # only be used when explicitly requested.
4551 if test "x$enable_dependency_tracking" = xyes; then
4552 continue
4553 else
4554 break
4557 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4558 # This compiler won't grok '-c -o', but also, the minuso test has
4559 # not run yet. These depmodes are late enough in the game, and
4560 # so weak that their functioning should not be impacted.
4561 am__obj=conftest.${OBJEXT-o}
4562 am__minus_obj=
4564 none) break ;;
4565 esac
4566 if depmode=$depmode \
4567 source=sub/conftest.c object=$am__obj \
4568 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4569 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4570 >/dev/null 2>conftest.err &&
4571 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4572 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4573 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4574 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4575 # icc doesn't choke on unknown options, it will just issue warnings
4576 # or remarks (even with -Werror). So we grep stderr for any message
4577 # that says an option was ignored or not supported.
4578 # When given -MP, icc 7.0 and 7.1 complain thusly:
4579 # icc: Command line warning: ignoring option '-M'; no argument required
4580 # The diagnosis changed in icc 8.0:
4581 # icc: Command line remark: option '-MP' not supported
4582 if (grep 'ignoring option' conftest.err ||
4583 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4584 am_cv_CC_dependencies_compiler_type=$depmode
4585 break
4588 done
4590 cd ..
4591 rm -rf conftest.dir
4592 else
4593 am_cv_CC_dependencies_compiler_type=none
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4598 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4599 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4602 test "x$enable_dependency_tracking" != xno \
4603 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4604 am__fastdepCC_TRUE=
4605 am__fastdepCC_FALSE='#'
4606 else
4607 am__fastdepCC_TRUE='#'
4608 am__fastdepCC_FALSE=
4613 # POSIX will say in a future version that running "rm -f" with no argument
4614 # is OK; and we want to be able to make that assumption in our Makefile
4615 # recipes. So use an aggressive probe to check that the usage we want is
4616 # actually supported "in the wild" to an acceptable degree.
4617 # See automake bug#10828.
4618 # To make any issue more visible, cause the running configure to be aborted
4619 # by default if the 'rm' program in use doesn't match our expectations; the
4620 # user can still override this though.
4621 if rm -f && rm -fr && rm -rf; then : OK; else
4622 cat >&2 <<'END'
4623 Oops!
4625 Your 'rm' program seems unable to run without file operands specified
4626 on the command line, even when the '-f' option is present. This is contrary
4627 to the behaviour of most rm programs out there, and not conforming with
4628 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4630 Please tell bug-automake@gnu.org about your system, including the value
4631 of your $PATH and any error possibly output before this message. This
4632 can help us improve future automake versions.
4635 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
4636 echo 'Configuration will proceed anyway, since you have set the' >&2
4637 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4638 echo >&2
4639 else
4640 cat >&2 <<'END'
4641 Aborting the configuration process, to ensure you take notice of the issue.
4643 You can download and install GNU coreutils to get an 'rm' implementation
4644 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4646 If you want to complete the configuration process using your problematic
4647 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4648 to "yes", and re-run configure.
4651 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4657 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4658 # Check whether --enable-maintainer-mode was given.
4659 if test "${enable_maintainer_mode+set}" = set; then :
4660 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4661 else
4662 USE_MAINTAINER_MODE=no
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4666 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4667 if test $USE_MAINTAINER_MODE = yes; then
4668 MAINTAINER_MODE_TRUE=
4669 MAINTAINER_MODE_FALSE='#'
4670 else
4671 MAINTAINER_MODE_TRUE='#'
4672 MAINTAINER_MODE_FALSE=
4675 MAINT=$MAINTAINER_MODE_TRUE
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5
4679 $as_echo_n "checking whether the compiler accepts prototypes... " >&6; }
4680 if ${kb_cv_c_prototypes+:} false; then :
4681 $as_echo_n "(cached) " >&6
4682 else
4683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4684 /* end confdefs.h. */
4685 #include <stdarg.h>
4687 main ()
4689 extern void foo(int i,...);
4691 return 0;
4693 _ACEOF
4694 if ac_fn_c_try_link "$LINENO"; then :
4695 kb_cv_c_prototypes=yes
4696 else
4697 kb_cv_c_prototypes=no
4699 rm -f core conftest.err conftest.$ac_objext \
4700 conftest$ac_exeext conftest.$ac_ext
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5
4703 $as_echo "$kb_cv_c_prototypes" >&6; }
4704 if test "x$kb_cv_c_prototypes" = xno; then
4705 as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
4708 $as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
4709 if ${kpse_cv_warning_cflags+:} false; then :
4710 $as_echo_n "(cached) " >&6
4711 else
4712 if test "x$GCC" = xyes; then
4713 kpse_cv_warning_cflags=
4714 if test "x$enable_compiler_warnings" != xno; then
4715 kpse_cv_warning_cflags="-Wimplicit -Wreturn-type"
4716 case `$CC -dumpversion` in #(
4717 3.4.* | 4.*) :
4718 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #(
4719 *) :
4721 esac
4722 case `$CC -dumpversion` in #(
4723 3.[234].* | 4.*) :
4724 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #(
4725 *) :
4727 esac
4728 if test "x$enable_compiler_warnings" != xmin; then
4729 kpse_cv_warning_cflags="-Wall -Wunused $kpse_cv_warning_cflags"
4730 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
4731 if test "x$enable_compiler_warnings" != xyes; then
4732 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
4733 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings"
4734 case `$CC -dumpversion` in #(
4735 3.4.* | 4.*) :
4736 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;; #(
4737 *) :
4739 esac
4740 if test "x$enable_compiler_warnings" != xmax; then
4741 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wshadow"
4746 elif test "x$enable_compiler_warnings" = xno; then
4747 kpse_cv_warning_cflags=
4748 else
4749 kpse_cv_warning_cflags= # FIXME: warning flags for non-GNU C compilers
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5
4753 $as_echo "$kpse_cv_warning_cflags" >&6; }
4754 WARNING_CFLAGS=$kpse_cv_warning_cflags
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Utils programs to build" >&5
4766 $as_echo_n "checking for Utils programs to build... " >&6; }
4767 MAKE_SUBDIRS=
4768 CONF_SUBDIRS=
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE_SUBDIRS" >&5
4771 $as_echo "$MAKE_SUBDIRS" >&6; }
4773 ac_config_files="$ac_config_files Makefile"
4776 cat >confcache <<\_ACEOF
4777 # This file is a shell script that caches the results of configure
4778 # tests run on this system so they can be shared between configure
4779 # scripts and configure runs, see configure's option --config-cache.
4780 # It is not useful on other systems. If it contains results you don't
4781 # want to keep, you may remove or edit it.
4783 # config.status only pays attention to the cache file if you give it
4784 # the --recheck option to rerun configure.
4786 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4787 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4788 # following values.
4790 _ACEOF
4792 # The following way of writing the cache mishandles newlines in values,
4793 # but we know of no workaround that is simple, portable, and efficient.
4794 # So, we kill variables containing newlines.
4795 # Ultrix sh set writes to stderr and can't be redirected directly,
4796 # and sets the high bit in the cache file unless we assign to the vars.
4798 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4799 eval ac_val=\$$ac_var
4800 case $ac_val in #(
4801 *${as_nl}*)
4802 case $ac_var in #(
4803 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4804 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4805 esac
4806 case $ac_var in #(
4807 _ | IFS | as_nl) ;; #(
4808 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4809 *) { eval $ac_var=; unset $ac_var;} ;;
4810 esac ;;
4811 esac
4812 done
4814 (set) 2>&1 |
4815 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4816 *${as_nl}ac_space=\ *)
4817 # `set' does not quote correctly, so add quotes: double-quote
4818 # substitution turns \\\\ into \\, and sed turns \\ into \.
4819 sed -n \
4820 "s/'/'\\\\''/g;
4821 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4822 ;; #(
4824 # `set' quotes correctly as required by POSIX, so do not add quotes.
4825 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4827 esac |
4828 sort
4830 sed '
4831 /^ac_cv_env_/b end
4832 t clear
4833 :clear
4834 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4835 t end
4836 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4837 :end' >>confcache
4838 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4839 if test -w "$cache_file"; then
4840 if test "x$cache_file" != "x/dev/null"; then
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4842 $as_echo "$as_me: updating cache $cache_file" >&6;}
4843 if test ! -f "$cache_file" || test -h "$cache_file"; then
4844 cat confcache >"$cache_file"
4845 else
4846 case $cache_file in #(
4847 */* | ?:*)
4848 mv -f confcache "$cache_file"$$ &&
4849 mv -f "$cache_file"$$ "$cache_file" ;; #(
4851 mv -f confcache "$cache_file" ;;
4852 esac
4855 else
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4857 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4860 rm -f confcache
4862 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4863 # Let make expand exec_prefix.
4864 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4866 # Transform confdefs.h into DEFS.
4867 # Protect against shell expansion while executing Makefile rules.
4868 # Protect against Makefile macro expansion.
4870 # If the first sed substitution is executed (which looks for macros that
4871 # take arguments), then branch to the quote section. Otherwise,
4872 # look for a macro that doesn't take arguments.
4873 ac_script='
4874 :mline
4875 /\\$/{
4877 s,\\\n,,
4878 b mline
4880 t clear
4881 :clear
4882 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4883 t quote
4884 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4885 t quote
4886 b any
4887 :quote
4888 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4889 s/\[/\\&/g
4890 s/\]/\\&/g
4891 s/\$/$$/g
4893 :any
4896 s/^\n//
4897 s/\n/ /g
4901 DEFS=`sed -n "$ac_script" confdefs.h`
4904 ac_libobjs=
4905 ac_ltlibobjs=
4907 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4908 # 1. Remove the extension, and $U if already installed.
4909 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4910 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4911 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4912 # will be set to the directory where LIBOBJS objects are built.
4913 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4914 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4915 done
4916 LIBOBJS=$ac_libobjs
4918 LTLIBOBJS=$ac_ltlibobjs
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
4922 $as_echo_n "checking that generated files are newer than configure... " >&6; }
4923 if test -n "$am_sleep_pid"; then
4924 # Hide warnings about reused PIDs.
4925 wait $am_sleep_pid 2>/dev/null
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
4928 $as_echo "done" >&6; }
4929 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4930 as_fn_error $? "conditional \"AMDEP\" was never defined.
4931 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4933 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4934 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4935 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4937 if test -n "$EXEEXT"; then
4938 am__EXEEXT_TRUE=
4939 am__EXEEXT_FALSE='#'
4940 else
4941 am__EXEEXT_TRUE='#'
4942 am__EXEEXT_FALSE=
4945 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4946 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
4947 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4950 : "${CONFIG_STATUS=./config.status}"
4951 ac_write_fail=0
4952 ac_clean_files_save=$ac_clean_files
4953 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4955 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4956 as_write_fail=0
4957 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4958 #! $SHELL
4959 # Generated by $as_me.
4960 # Run this file to recreate the current configuration.
4961 # Compiler output produced by configure, useful for debugging
4962 # configure, is in config.log if it exists.
4964 debug=false
4965 ac_cs_recheck=false
4966 ac_cs_silent=false
4968 SHELL=\${CONFIG_SHELL-$SHELL}
4969 export SHELL
4970 _ASEOF
4971 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4972 ## -------------------- ##
4973 ## M4sh Initialization. ##
4974 ## -------------------- ##
4976 # Be more Bourne compatible
4977 DUALCASE=1; export DUALCASE # for MKS sh
4978 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4979 emulate sh
4980 NULLCMD=:
4981 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4982 # is contrary to our usage. Disable this feature.
4983 alias -g '${1+"$@"}'='"$@"'
4984 setopt NO_GLOB_SUBST
4985 else
4986 case `(set -o) 2>/dev/null` in #(
4987 *posix*) :
4988 set -o posix ;; #(
4989 *) :
4991 esac
4995 as_nl='
4997 export as_nl
4998 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4999 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5000 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5001 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5002 # Prefer a ksh shell builtin over an external printf program on Solaris,
5003 # but without wasting forks for bash or zsh.
5004 if test -z "$BASH_VERSION$ZSH_VERSION" \
5005 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5006 as_echo='print -r --'
5007 as_echo_n='print -rn --'
5008 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5009 as_echo='printf %s\n'
5010 as_echo_n='printf %s'
5011 else
5012 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5013 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5014 as_echo_n='/usr/ucb/echo -n'
5015 else
5016 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5017 as_echo_n_body='eval
5018 arg=$1;
5019 case $arg in #(
5020 *"$as_nl"*)
5021 expr "X$arg" : "X\\(.*\\)$as_nl";
5022 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5023 esac;
5024 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5026 export as_echo_n_body
5027 as_echo_n='sh -c $as_echo_n_body as_echo'
5029 export as_echo_body
5030 as_echo='sh -c $as_echo_body as_echo'
5033 # The user is always right.
5034 if test "${PATH_SEPARATOR+set}" != set; then
5035 PATH_SEPARATOR=:
5036 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5037 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5038 PATH_SEPARATOR=';'
5043 # IFS
5044 # We need space, tab and new line, in precisely that order. Quoting is
5045 # there to prevent editors from complaining about space-tab.
5046 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5047 # splitting by setting IFS to empty value.)
5048 IFS=" "" $as_nl"
5050 # Find who we are. Look in the path if we contain no directory separator.
5051 as_myself=
5052 case $0 in #((
5053 *[\\/]* ) as_myself=$0 ;;
5054 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5055 for as_dir in $PATH
5057 IFS=$as_save_IFS
5058 test -z "$as_dir" && as_dir=.
5059 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5060 done
5061 IFS=$as_save_IFS
5064 esac
5065 # We did not find ourselves, most probably we were run as `sh COMMAND'
5066 # in which case we are not to be found in the path.
5067 if test "x$as_myself" = x; then
5068 as_myself=$0
5070 if test ! -f "$as_myself"; then
5071 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5072 exit 1
5075 # Unset variables that we do not need and which cause bugs (e.g. in
5076 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5077 # suppresses any "Segmentation fault" message there. '((' could
5078 # trigger a bug in pdksh 5.2.14.
5079 for as_var in BASH_ENV ENV MAIL MAILPATH
5080 do eval test x\${$as_var+set} = xset \
5081 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5082 done
5083 PS1='$ '
5084 PS2='> '
5085 PS4='+ '
5087 # NLS nuisances.
5088 LC_ALL=C
5089 export LC_ALL
5090 LANGUAGE=C
5091 export LANGUAGE
5093 # CDPATH.
5094 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5097 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5098 # ----------------------------------------
5099 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5100 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5101 # script with STATUS, using 1 if that was 0.
5102 as_fn_error ()
5104 as_status=$1; test $as_status -eq 0 && as_status=1
5105 if test "$4"; then
5106 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5107 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5109 $as_echo "$as_me: error: $2" >&2
5110 as_fn_exit $as_status
5111 } # as_fn_error
5114 # as_fn_set_status STATUS
5115 # -----------------------
5116 # Set $? to STATUS, without forking.
5117 as_fn_set_status ()
5119 return $1
5120 } # as_fn_set_status
5122 # as_fn_exit STATUS
5123 # -----------------
5124 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5125 as_fn_exit ()
5127 set +e
5128 as_fn_set_status $1
5129 exit $1
5130 } # as_fn_exit
5132 # as_fn_unset VAR
5133 # ---------------
5134 # Portably unset VAR.
5135 as_fn_unset ()
5137 { eval $1=; unset $1;}
5139 as_unset=as_fn_unset
5140 # as_fn_append VAR VALUE
5141 # ----------------------
5142 # Append the text in VALUE to the end of the definition contained in VAR. Take
5143 # advantage of any shell optimizations that allow amortized linear growth over
5144 # repeated appends, instead of the typical quadratic growth present in naive
5145 # implementations.
5146 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5147 eval 'as_fn_append ()
5149 eval $1+=\$2
5151 else
5152 as_fn_append ()
5154 eval $1=\$$1\$2
5156 fi # as_fn_append
5158 # as_fn_arith ARG...
5159 # ------------------
5160 # Perform arithmetic evaluation on the ARGs, and store the result in the
5161 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5162 # must be portable across $(()) and expr.
5163 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5164 eval 'as_fn_arith ()
5166 as_val=$(( $* ))
5168 else
5169 as_fn_arith ()
5171 as_val=`expr "$@" || test $? -eq 1`
5173 fi # as_fn_arith
5176 if expr a : '\(a\)' >/dev/null 2>&1 &&
5177 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5178 as_expr=expr
5179 else
5180 as_expr=false
5183 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5184 as_basename=basename
5185 else
5186 as_basename=false
5189 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5190 as_dirname=dirname
5191 else
5192 as_dirname=false
5195 as_me=`$as_basename -- "$0" ||
5196 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5197 X"$0" : 'X\(//\)$' \| \
5198 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5199 $as_echo X/"$0" |
5200 sed '/^.*\/\([^/][^/]*\)\/*$/{
5201 s//\1/
5204 /^X\/\(\/\/\)$/{
5205 s//\1/
5208 /^X\/\(\/\).*/{
5209 s//\1/
5212 s/.*/./; q'`
5214 # Avoid depending upon Character Ranges.
5215 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5216 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5217 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5218 as_cr_digits='0123456789'
5219 as_cr_alnum=$as_cr_Letters$as_cr_digits
5221 ECHO_C= ECHO_N= ECHO_T=
5222 case `echo -n x` in #(((((
5223 -n*)
5224 case `echo 'xy\c'` in
5225 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5226 xy) ECHO_C='\c';;
5227 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5228 ECHO_T=' ';;
5229 esac;;
5231 ECHO_N='-n';;
5232 esac
5234 rm -f conf$$ conf$$.exe conf$$.file
5235 if test -d conf$$.dir; then
5236 rm -f conf$$.dir/conf$$.file
5237 else
5238 rm -f conf$$.dir
5239 mkdir conf$$.dir 2>/dev/null
5241 if (echo >conf$$.file) 2>/dev/null; then
5242 if ln -s conf$$.file conf$$ 2>/dev/null; then
5243 as_ln_s='ln -s'
5244 # ... but there are two gotchas:
5245 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5246 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5247 # In both cases, we have to default to `cp -pR'.
5248 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5249 as_ln_s='cp -pR'
5250 elif ln conf$$.file conf$$ 2>/dev/null; then
5251 as_ln_s=ln
5252 else
5253 as_ln_s='cp -pR'
5255 else
5256 as_ln_s='cp -pR'
5258 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5259 rmdir conf$$.dir 2>/dev/null
5262 # as_fn_mkdir_p
5263 # -------------
5264 # Create "$as_dir" as a directory, including parents if necessary.
5265 as_fn_mkdir_p ()
5268 case $as_dir in #(
5269 -*) as_dir=./$as_dir;;
5270 esac
5271 test -d "$as_dir" || eval $as_mkdir_p || {
5272 as_dirs=
5273 while :; do
5274 case $as_dir in #(
5275 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5276 *) as_qdir=$as_dir;;
5277 esac
5278 as_dirs="'$as_qdir' $as_dirs"
5279 as_dir=`$as_dirname -- "$as_dir" ||
5280 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5281 X"$as_dir" : 'X\(//\)[^/]' \| \
5282 X"$as_dir" : 'X\(//\)$' \| \
5283 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5284 $as_echo X"$as_dir" |
5285 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5286 s//\1/
5289 /^X\(\/\/\)[^/].*/{
5290 s//\1/
5293 /^X\(\/\/\)$/{
5294 s//\1/
5297 /^X\(\/\).*/{
5298 s//\1/
5301 s/.*/./; q'`
5302 test -d "$as_dir" && break
5303 done
5304 test -z "$as_dirs" || eval "mkdir $as_dirs"
5305 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5308 } # as_fn_mkdir_p
5309 if mkdir -p . 2>/dev/null; then
5310 as_mkdir_p='mkdir -p "$as_dir"'
5311 else
5312 test -d ./-p && rmdir ./-p
5313 as_mkdir_p=false
5317 # as_fn_executable_p FILE
5318 # -----------------------
5319 # Test if FILE is an executable regular file.
5320 as_fn_executable_p ()
5322 test -f "$1" && test -x "$1"
5323 } # as_fn_executable_p
5324 as_test_x='test -x'
5325 as_executable_p=as_fn_executable_p
5327 # Sed expression to map a string onto a valid CPP name.
5328 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5330 # Sed expression to map a string onto a valid variable name.
5331 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5334 exec 6>&1
5335 ## ----------------------------------- ##
5336 ## Main body of $CONFIG_STATUS script. ##
5337 ## ----------------------------------- ##
5338 _ASEOF
5339 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5341 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5342 # Save the log message, to keep $0 and so on meaningful, and to
5343 # report actual input values of CONFIG_FILES etc. instead of their
5344 # values after options handling.
5345 ac_log="
5346 This file was extended by TeX Live utils $as_me 2015, which was
5347 generated by GNU Autoconf 2.69. Invocation command line was
5349 CONFIG_FILES = $CONFIG_FILES
5350 CONFIG_HEADERS = $CONFIG_HEADERS
5351 CONFIG_LINKS = $CONFIG_LINKS
5352 CONFIG_COMMANDS = $CONFIG_COMMANDS
5353 $ $0 $@
5355 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5358 _ACEOF
5360 case $ac_config_files in *"
5361 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5362 esac
5366 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5367 # Files that config.status was made for.
5368 config_files="$ac_config_files"
5369 config_commands="$ac_config_commands"
5371 _ACEOF
5373 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5374 ac_cs_usage="\
5375 \`$as_me' instantiates files and other configuration actions
5376 from templates according to the current configuration. Unless the files
5377 and actions are specified as TAGs, all are instantiated by default.
5379 Usage: $0 [OPTION]... [TAG]...
5381 -h, --help print this help, then exit
5382 -V, --version print version number and configuration settings, then exit
5383 --config print configuration, then exit
5384 -q, --quiet, --silent
5385 do not print progress messages
5386 -d, --debug don't remove temporary files
5387 --recheck update $as_me by reconfiguring in the same conditions
5388 --file=FILE[:TEMPLATE]
5389 instantiate the configuration file FILE
5391 Configuration files:
5392 $config_files
5394 Configuration commands:
5395 $config_commands
5397 Report bugs to <tex-k@tug.org>."
5399 _ACEOF
5400 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5401 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5402 ac_cs_version="\\
5403 TeX Live utils config.status 2015
5404 configured by $0, generated by GNU Autoconf 2.69,
5405 with options \\"\$ac_cs_config\\"
5407 Copyright (C) 2012 Free Software Foundation, Inc.
5408 This config.status script is free software; the Free Software Foundation
5409 gives unlimited permission to copy, distribute and modify it."
5411 ac_pwd='$ac_pwd'
5412 srcdir='$srcdir'
5413 INSTALL='$INSTALL'
5414 MKDIR_P='$MKDIR_P'
5415 AWK='$AWK'
5416 test -n "\$AWK" || AWK=awk
5417 _ACEOF
5419 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5420 # The default lists apply if the user does not specify any file.
5421 ac_need_defaults=:
5422 while test $# != 0
5424 case $1 in
5425 --*=?*)
5426 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5427 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5428 ac_shift=:
5430 --*=)
5431 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5432 ac_optarg=
5433 ac_shift=:
5436 ac_option=$1
5437 ac_optarg=$2
5438 ac_shift=shift
5440 esac
5442 case $ac_option in
5443 # Handling of the options.
5444 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5445 ac_cs_recheck=: ;;
5446 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5447 $as_echo "$ac_cs_version"; exit ;;
5448 --config | --confi | --conf | --con | --co | --c )
5449 $as_echo "$ac_cs_config"; exit ;;
5450 --debug | --debu | --deb | --de | --d | -d )
5451 debug=: ;;
5452 --file | --fil | --fi | --f )
5453 $ac_shift
5454 case $ac_optarg in
5455 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5456 '') as_fn_error $? "missing file argument" ;;
5457 esac
5458 as_fn_append CONFIG_FILES " '$ac_optarg'"
5459 ac_need_defaults=false;;
5460 --he | --h | --help | --hel | -h )
5461 $as_echo "$ac_cs_usage"; exit ;;
5462 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5463 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5464 ac_cs_silent=: ;;
5466 # This is an error.
5467 -*) as_fn_error $? "unrecognized option: \`$1'
5468 Try \`$0 --help' for more information." ;;
5470 *) as_fn_append ac_config_targets " $1"
5471 ac_need_defaults=false ;;
5473 esac
5474 shift
5475 done
5477 ac_configure_extra_args=
5479 if $ac_cs_silent; then
5480 exec 6>/dev/null
5481 ac_configure_extra_args="$ac_configure_extra_args --silent"
5484 _ACEOF
5485 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5486 if \$ac_cs_recheck; then
5487 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5488 shift
5489 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5490 CONFIG_SHELL='$SHELL'
5491 export CONFIG_SHELL
5492 exec "\$@"
5495 _ACEOF
5496 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5497 exec 5>>config.log
5499 echo
5500 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5501 ## Running $as_me. ##
5502 _ASBOX
5503 $as_echo "$ac_log"
5504 } >&5
5506 _ACEOF
5507 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5509 # INIT-COMMANDS
5511 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5513 _ACEOF
5515 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5517 # Handling of arguments.
5518 for ac_config_target in $ac_config_targets
5520 case $ac_config_target in
5521 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5522 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5524 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5525 esac
5526 done
5529 # If the user did not use the arguments to specify the items to instantiate,
5530 # then the envvar interface is used. Set only those that are not.
5531 # We use the long form for the default assignment because of an extremely
5532 # bizarre bug on SunOS 4.1.3.
5533 if $ac_need_defaults; then
5534 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5535 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5538 # Have a temporary directory for convenience. Make it in the build tree
5539 # simply because there is no reason against having it here, and in addition,
5540 # creating and moving files from /tmp can sometimes cause problems.
5541 # Hook for its removal unless debugging.
5542 # Note that there is a small window in which the directory will not be cleaned:
5543 # after its creation but before its name has been assigned to `$tmp'.
5544 $debug ||
5546 tmp= ac_tmp=
5547 trap 'exit_status=$?
5548 : "${ac_tmp:=$tmp}"
5549 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5551 trap 'as_fn_exit 1' 1 2 13 15
5553 # Create a (secure) tmp directory for tmp files.
5556 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5557 test -d "$tmp"
5558 } ||
5560 tmp=./conf$$-$RANDOM
5561 (umask 077 && mkdir "$tmp")
5562 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5563 ac_tmp=$tmp
5565 # Set up the scripts for CONFIG_FILES section.
5566 # No need to generate them if there are no CONFIG_FILES.
5567 # This happens for instance with `./config.status config.h'.
5568 if test -n "$CONFIG_FILES"; then
5571 ac_cr=`echo X | tr X '\015'`
5572 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5573 # But we know of no other shell where ac_cr would be empty at this
5574 # point, so we can use a bashism as a fallback.
5575 if test "x$ac_cr" = x; then
5576 eval ac_cr=\$\'\\r\'
5578 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5579 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5580 ac_cs_awk_cr='\\r'
5581 else
5582 ac_cs_awk_cr=$ac_cr
5585 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5586 _ACEOF
5590 echo "cat >conf$$subs.awk <<_ACEOF" &&
5591 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5592 echo "_ACEOF"
5593 } >conf$$subs.sh ||
5594 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5595 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5596 ac_delim='%!_!# '
5597 for ac_last_try in false false false false false :; do
5598 . ./conf$$subs.sh ||
5599 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5601 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5602 if test $ac_delim_n = $ac_delim_num; then
5603 break
5604 elif $ac_last_try; then
5605 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5606 else
5607 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5609 done
5610 rm -f conf$$subs.sh
5612 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5613 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5614 _ACEOF
5615 sed -n '
5617 s/^/S["/; s/!.*/"]=/
5620 s/^[^!]*!//
5621 :repl
5622 t repl
5623 s/'"$ac_delim"'$//
5624 t delim
5627 s/\(.\{148\}\)..*/\1/
5628 t more1
5629 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5632 b repl
5633 :more1
5634 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5637 s/.\{148\}//
5638 t nl
5639 :delim
5641 s/\(.\{148\}\)..*/\1/
5642 t more2
5643 s/["\\]/\\&/g; s/^/"/; s/$/"/
5646 :more2
5647 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5650 s/.\{148\}//
5651 t delim
5652 ' <conf$$subs.awk | sed '
5653 /^[^""]/{
5655 s/\n//
5657 ' >>$CONFIG_STATUS || ac_write_fail=1
5658 rm -f conf$$subs.awk
5659 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5660 _ACAWK
5661 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5662 for (key in S) S_is_set[key] = 1
5663 FS = "\a"
5667 line = $ 0
5668 nfields = split(line, field, "@")
5669 substed = 0
5670 len = length(field[1])
5671 for (i = 2; i < nfields; i++) {
5672 key = field[i]
5673 keylen = length(key)
5674 if (S_is_set[key]) {
5675 value = S[key]
5676 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5677 len += length(value) + length(field[++i])
5678 substed = 1
5679 } else
5680 len += 1 + keylen
5683 print line
5686 _ACAWK
5687 _ACEOF
5688 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5689 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5690 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5691 else
5693 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5694 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5695 _ACEOF
5697 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5698 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5699 # trailing colons and then remove the whole line if VPATH becomes empty
5700 # (actually we leave an empty line to preserve line numbers).
5701 if test "x$srcdir" = x.; then
5702 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5704 s///
5705 s/^/:/
5706 s/[ ]*$/:/
5707 s/:\$(srcdir):/:/g
5708 s/:\${srcdir}:/:/g
5709 s/:@srcdir@:/:/g
5710 s/^:*//
5711 s/:*$//
5713 s/\(=[ ]*\).*/\1/
5715 s/\n//
5716 s/^[^=]*=[ ]*$//
5720 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5721 fi # test -n "$CONFIG_FILES"
5724 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
5725 shift
5726 for ac_tag
5728 case $ac_tag in
5729 :[FHLC]) ac_mode=$ac_tag; continue;;
5730 esac
5731 case $ac_mode$ac_tag in
5732 :[FHL]*:*);;
5733 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5734 :[FH]-) ac_tag=-:-;;
5735 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5736 esac
5737 ac_save_IFS=$IFS
5738 IFS=:
5739 set x $ac_tag
5740 IFS=$ac_save_IFS
5741 shift
5742 ac_file=$1
5743 shift
5745 case $ac_mode in
5746 :L) ac_source=$1;;
5747 :[FH])
5748 ac_file_inputs=
5749 for ac_f
5751 case $ac_f in
5752 -) ac_f="$ac_tmp/stdin";;
5753 *) # Look for the file first in the build tree, then in the source tree
5754 # (if the path is not absolute). The absolute path cannot be DOS-style,
5755 # because $ac_f cannot contain `:'.
5756 test -f "$ac_f" ||
5757 case $ac_f in
5758 [\\/$]*) false;;
5759 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5760 esac ||
5761 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5762 esac
5763 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5764 as_fn_append ac_file_inputs " '$ac_f'"
5765 done
5767 # Let's still pretend it is `configure' which instantiates (i.e., don't
5768 # use $as_me), people would be surprised to read:
5769 # /* config.h. Generated by config.status. */
5770 configure_input='Generated from '`
5771 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5772 `' by configure.'
5773 if test x"$ac_file" != x-; then
5774 configure_input="$ac_file. $configure_input"
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5776 $as_echo "$as_me: creating $ac_file" >&6;}
5778 # Neutralize special characters interpreted by sed in replacement strings.
5779 case $configure_input in #(
5780 *\&* | *\|* | *\\* )
5781 ac_sed_conf_input=`$as_echo "$configure_input" |
5782 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5783 *) ac_sed_conf_input=$configure_input;;
5784 esac
5786 case $ac_tag in
5787 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5788 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5789 esac
5791 esac
5793 ac_dir=`$as_dirname -- "$ac_file" ||
5794 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5795 X"$ac_file" : 'X\(//\)[^/]' \| \
5796 X"$ac_file" : 'X\(//\)$' \| \
5797 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5798 $as_echo X"$ac_file" |
5799 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5800 s//\1/
5803 /^X\(\/\/\)[^/].*/{
5804 s//\1/
5807 /^X\(\/\/\)$/{
5808 s//\1/
5811 /^X\(\/\).*/{
5812 s//\1/
5815 s/.*/./; q'`
5816 as_dir="$ac_dir"; as_fn_mkdir_p
5817 ac_builddir=.
5819 case "$ac_dir" in
5820 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5822 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5823 # A ".." for each directory in $ac_dir_suffix.
5824 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5825 case $ac_top_builddir_sub in
5826 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5827 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5828 esac ;;
5829 esac
5830 ac_abs_top_builddir=$ac_pwd
5831 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5832 # for backward compatibility:
5833 ac_top_builddir=$ac_top_build_prefix
5835 case $srcdir in
5836 .) # We are building in place.
5837 ac_srcdir=.
5838 ac_top_srcdir=$ac_top_builddir_sub
5839 ac_abs_top_srcdir=$ac_pwd ;;
5840 [\\/]* | ?:[\\/]* ) # Absolute name.
5841 ac_srcdir=$srcdir$ac_dir_suffix;
5842 ac_top_srcdir=$srcdir
5843 ac_abs_top_srcdir=$srcdir ;;
5844 *) # Relative name.
5845 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5846 ac_top_srcdir=$ac_top_build_prefix$srcdir
5847 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5848 esac
5849 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5852 case $ac_mode in
5855 # CONFIG_FILE
5858 case $INSTALL in
5859 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5860 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5861 esac
5862 ac_MKDIR_P=$MKDIR_P
5863 case $MKDIR_P in
5864 [\\/$]* | ?:[\\/]* ) ;;
5865 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5866 esac
5867 _ACEOF
5869 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5870 # If the template does not know about datarootdir, expand it.
5871 # FIXME: This hack should be removed a few years after 2.60.
5872 ac_datarootdir_hack=; ac_datarootdir_seen=
5873 ac_sed_dataroot='
5874 /datarootdir/ {
5878 /@datadir@/p
5879 /@docdir@/p
5880 /@infodir@/p
5881 /@localedir@/p
5882 /@mandir@/p'
5883 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5884 *datarootdir*) ac_datarootdir_seen=yes;;
5885 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5887 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5888 _ACEOF
5889 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5890 ac_datarootdir_hack='
5891 s&@datadir@&$datadir&g
5892 s&@docdir@&$docdir&g
5893 s&@infodir@&$infodir&g
5894 s&@localedir@&$localedir&g
5895 s&@mandir@&$mandir&g
5896 s&\\\${datarootdir}&$datarootdir&g' ;;
5897 esac
5898 _ACEOF
5900 # Neutralize VPATH when `$srcdir' = `.'.
5901 # Shell code in configure.ac might set extrasub.
5902 # FIXME: do we really want to maintain this feature?
5903 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5904 ac_sed_extra="$ac_vpsub
5905 $extrasub
5906 _ACEOF
5907 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5909 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5910 s|@configure_input@|$ac_sed_conf_input|;t t
5911 s&@top_builddir@&$ac_top_builddir_sub&;t t
5912 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5913 s&@srcdir@&$ac_srcdir&;t t
5914 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5915 s&@top_srcdir@&$ac_top_srcdir&;t t
5916 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5917 s&@builddir@&$ac_builddir&;t t
5918 s&@abs_builddir@&$ac_abs_builddir&;t t
5919 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5920 s&@INSTALL@&$ac_INSTALL&;t t
5921 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5922 $ac_datarootdir_hack
5924 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5925 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5927 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5928 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5929 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5930 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5932 which seems to be undefined. Please make sure it is defined" >&5
5933 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5934 which seems to be undefined. Please make sure it is defined" >&2;}
5936 rm -f "$ac_tmp/stdin"
5937 case $ac_file in
5938 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5939 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5940 esac \
5941 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5945 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5946 $as_echo "$as_me: executing $ac_file commands" >&6;}
5948 esac
5951 case $ac_file$ac_mode in
5952 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5953 # Older Autoconf quotes --file arguments for eval, but not when files
5954 # are listed without --file. Let's play safe and only enable the eval
5955 # if we detect the quoting.
5956 case $CONFIG_FILES in
5957 *\'*) eval set x "$CONFIG_FILES" ;;
5958 *) set x $CONFIG_FILES ;;
5959 esac
5960 shift
5961 for mf
5963 # Strip MF so we end up with the name of the file.
5964 mf=`echo "$mf" | sed -e 's/:.*$//'`
5965 # Check whether this is an Automake generated Makefile or not.
5966 # We used to match only the files named 'Makefile.in', but
5967 # some people rename them; so instead we look at the file content.
5968 # Grep'ing the first line is not enough: some people post-process
5969 # each Makefile.in and add a new line on top of each file to say so.
5970 # Grep'ing the whole file is not good either: AIX grep has a line
5971 # limit of 2048, but all sed's we know have understand at least 4000.
5972 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5973 dirpart=`$as_dirname -- "$mf" ||
5974 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5975 X"$mf" : 'X\(//\)[^/]' \| \
5976 X"$mf" : 'X\(//\)$' \| \
5977 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5978 $as_echo X"$mf" |
5979 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5980 s//\1/
5983 /^X\(\/\/\)[^/].*/{
5984 s//\1/
5987 /^X\(\/\/\)$/{
5988 s//\1/
5991 /^X\(\/\).*/{
5992 s//\1/
5995 s/.*/./; q'`
5996 else
5997 continue
5999 # Extract the definition of DEPDIR, am__include, and am__quote
6000 # from the Makefile without running 'make'.
6001 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6002 test -z "$DEPDIR" && continue
6003 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6004 test -z "$am__include" && continue
6005 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6006 # Find all dependency output files, they are included files with
6007 # $(DEPDIR) in their names. We invoke sed twice because it is the
6008 # simplest approach to changing $(DEPDIR) to its actual value in the
6009 # expansion.
6010 for file in `sed -n "
6011 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6012 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
6013 # Make sure the directory exists.
6014 test -f "$dirpart/$file" && continue
6015 fdir=`$as_dirname -- "$file" ||
6016 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6017 X"$file" : 'X\(//\)[^/]' \| \
6018 X"$file" : 'X\(//\)$' \| \
6019 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6020 $as_echo X"$file" |
6021 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6022 s//\1/
6025 /^X\(\/\/\)[^/].*/{
6026 s//\1/
6029 /^X\(\/\/\)$/{
6030 s//\1/
6033 /^X\(\/\).*/{
6034 s//\1/
6037 s/.*/./; q'`
6038 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6039 # echo "creating $dirpart/$file"
6040 echo '# dummy' > "$dirpart/$file"
6041 done
6042 done
6046 esac
6047 done # for ac_tag
6050 as_fn_exit 0
6051 _ACEOF
6052 ac_clean_files=$ac_clean_files_save
6054 test $ac_write_fail = 0 ||
6055 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6058 # configure is writing to config.log, and then calls config.status.
6059 # config.status does its own redirection, appending to config.log.
6060 # Unfortunately, on DOS this fails, as config.log is still kept open
6061 # by configure, so config.status won't be able to write to it; its
6062 # output is simply discarded. So we exec the FD to /dev/null,
6063 # effectively closing config.log, so it can be properly (re)opened and
6064 # appended to by config.status. When coming back to configure, we
6065 # need to make the FD available again.
6066 if test "$no_create" != yes; then
6067 ac_cs_success=:
6068 ac_config_status_args=
6069 test "$silent" = yes &&
6070 ac_config_status_args="$ac_config_status_args --quiet"
6071 exec 5>/dev/null
6072 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6073 exec 5>>config.log
6074 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6075 # would make configure fail if this is the last instruction.
6076 $ac_cs_success || as_fn_exit 1
6078 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6080 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}