beta-0.89.2
[luatex.git] / source / utils / configure
blobd7858b37f1e90cebbc7341415cbfdecc88825f1a
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for TeX Live utils 2016/dev.
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='2016/dev'
583 PACKAGE_STRING='TeX Live utils 2016/dev'
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 enable_mflua
728 enable_mflua_nowin
729 enable_mfluajit
730 enable_mfluajit_nowin
731 with_mf_x_toolkit
732 enable_epsfwin
733 enable_hp2627win
734 enable_mftalkwin
735 enable_nextwin
736 enable_regiswin
737 enable_suntoolswin
738 enable_tektronixwin
739 enable_unitermwin
740 enable_web_progs
741 enable_synctex
742 enable_texlive
743 enable_linked_scripts
744 with_system_zziplib
745 with_system_poppler
746 with_system_mpfr
747 with_mpfr_includes
748 with_mpfr_libdir
749 with_system_gmp
750 with_gmp_includes
751 with_gmp_libdir
752 with_system_cairo
753 with_system_pixman
754 with_system_libpng
755 with_system_zlib
756 with_zlib_includes
757 with_zlib_libdir
758 with_system_kpathsea
759 enable_mktexmf_default
760 enable_mktexpk_default
761 enable_mktextfm_default
762 enable_mkocp_default
763 enable_mkofm_default
764 enable_mktexfmt_default
765 enable_mktextex_default
766 enable_dependency_tracking
767 enable_silent_rules
768 enable_maintainer_mode
769 enable_compiler_warnings
771 ac_precious_vars='build_alias
772 host_alias
773 target_alias
775 CFLAGS
776 LDFLAGS
777 LIBS
778 CPPFLAGS'
781 # Initialize some variables set by options.
782 ac_init_help=
783 ac_init_version=false
784 ac_unrecognized_opts=
785 ac_unrecognized_sep=
786 # The variables have the same names as the options, with
787 # dashes changed to underlines.
788 cache_file=/dev/null
789 exec_prefix=NONE
790 no_create=
791 no_recursion=
792 prefix=NONE
793 program_prefix=NONE
794 program_suffix=NONE
795 program_transform_name=s,x,x,
796 silent=
797 site=
798 srcdir=
799 verbose=
800 x_includes=NONE
801 x_libraries=NONE
803 # Installation directory options.
804 # These are left unexpanded so users can "make install exec_prefix=/foo"
805 # and all the variables that are supposed to be based on exec_prefix
806 # by default will actually change.
807 # Use braces instead of parens because sh, perl, etc. also accept them.
808 # (The list follows the same order as the GNU Coding Standards.)
809 bindir='${exec_prefix}/bin'
810 sbindir='${exec_prefix}/sbin'
811 libexecdir='${exec_prefix}/libexec'
812 datarootdir='${prefix}/share'
813 datadir='${datarootdir}'
814 sysconfdir='${prefix}/etc'
815 sharedstatedir='${prefix}/com'
816 localstatedir='${prefix}/var'
817 includedir='${prefix}/include'
818 oldincludedir='/usr/include'
819 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
820 infodir='${datarootdir}/info'
821 htmldir='${docdir}'
822 dvidir='${docdir}'
823 pdfdir='${docdir}'
824 psdir='${docdir}'
825 libdir='${exec_prefix}/lib'
826 localedir='${datarootdir}/locale'
827 mandir='${datarootdir}/man'
829 ac_prev=
830 ac_dashdash=
831 for ac_option
833 # If the previous option needs an argument, assign it.
834 if test -n "$ac_prev"; then
835 eval $ac_prev=\$ac_option
836 ac_prev=
837 continue
840 case $ac_option in
841 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
842 *=) ac_optarg= ;;
843 *) ac_optarg=yes ;;
844 esac
846 # Accept the important Cygnus configure options, so we can diagnose typos.
848 case $ac_dashdash$ac_option in
850 ac_dashdash=yes ;;
852 -bindir | --bindir | --bindi | --bind | --bin | --bi)
853 ac_prev=bindir ;;
854 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
855 bindir=$ac_optarg ;;
857 -build | --build | --buil | --bui | --bu)
858 ac_prev=build_alias ;;
859 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
860 build_alias=$ac_optarg ;;
862 -cache-file | --cache-file | --cache-fil | --cache-fi \
863 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
864 ac_prev=cache_file ;;
865 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
866 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
867 cache_file=$ac_optarg ;;
869 --config-cache | -C)
870 cache_file=config.cache ;;
872 -datadir | --datadir | --datadi | --datad)
873 ac_prev=datadir ;;
874 -datadir=* | --datadir=* | --datadi=* | --datad=*)
875 datadir=$ac_optarg ;;
877 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
878 | --dataroo | --dataro | --datar)
879 ac_prev=datarootdir ;;
880 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
881 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
882 datarootdir=$ac_optarg ;;
884 -disable-* | --disable-*)
885 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
886 # Reject names that are not valid shell variable names.
887 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
888 as_fn_error $? "invalid feature name: $ac_useropt"
889 ac_useropt_orig=$ac_useropt
890 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
891 case $ac_user_opts in
893 "enable_$ac_useropt"
894 "*) ;;
895 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
896 ac_unrecognized_sep=', ';;
897 esac
898 eval enable_$ac_useropt=no ;;
900 -docdir | --docdir | --docdi | --doc | --do)
901 ac_prev=docdir ;;
902 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
903 docdir=$ac_optarg ;;
905 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
906 ac_prev=dvidir ;;
907 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
908 dvidir=$ac_optarg ;;
910 -enable-* | --enable-*)
911 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
912 # Reject names that are not valid shell variable names.
913 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
914 as_fn_error $? "invalid feature name: $ac_useropt"
915 ac_useropt_orig=$ac_useropt
916 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
917 case $ac_user_opts in
919 "enable_$ac_useropt"
920 "*) ;;
921 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
922 ac_unrecognized_sep=', ';;
923 esac
924 eval enable_$ac_useropt=\$ac_optarg ;;
926 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
927 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
928 | --exec | --exe | --ex)
929 ac_prev=exec_prefix ;;
930 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
931 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
932 | --exec=* | --exe=* | --ex=*)
933 exec_prefix=$ac_optarg ;;
935 -gas | --gas | --ga | --g)
936 # Obsolete; use --with-gas.
937 with_gas=yes ;;
939 -help | --help | --hel | --he | -h)
940 ac_init_help=long ;;
941 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
942 ac_init_help=recursive ;;
943 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
944 ac_init_help=short ;;
946 -host | --host | --hos | --ho)
947 ac_prev=host_alias ;;
948 -host=* | --host=* | --hos=* | --ho=*)
949 host_alias=$ac_optarg ;;
951 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
952 ac_prev=htmldir ;;
953 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
954 | --ht=*)
955 htmldir=$ac_optarg ;;
957 -includedir | --includedir | --includedi | --included | --include \
958 | --includ | --inclu | --incl | --inc)
959 ac_prev=includedir ;;
960 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
961 | --includ=* | --inclu=* | --incl=* | --inc=*)
962 includedir=$ac_optarg ;;
964 -infodir | --infodir | --infodi | --infod | --info | --inf)
965 ac_prev=infodir ;;
966 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
967 infodir=$ac_optarg ;;
969 -libdir | --libdir | --libdi | --libd)
970 ac_prev=libdir ;;
971 -libdir=* | --libdir=* | --libdi=* | --libd=*)
972 libdir=$ac_optarg ;;
974 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
975 | --libexe | --libex | --libe)
976 ac_prev=libexecdir ;;
977 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
978 | --libexe=* | --libex=* | --libe=*)
979 libexecdir=$ac_optarg ;;
981 -localedir | --localedir | --localedi | --localed | --locale)
982 ac_prev=localedir ;;
983 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
984 localedir=$ac_optarg ;;
986 -localstatedir | --localstatedir | --localstatedi | --localstated \
987 | --localstate | --localstat | --localsta | --localst | --locals)
988 ac_prev=localstatedir ;;
989 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
990 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
991 localstatedir=$ac_optarg ;;
993 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
994 ac_prev=mandir ;;
995 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
996 mandir=$ac_optarg ;;
998 -nfp | --nfp | --nf)
999 # Obsolete; use --without-fp.
1000 with_fp=no ;;
1002 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1003 | --no-cr | --no-c | -n)
1004 no_create=yes ;;
1006 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1007 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1008 no_recursion=yes ;;
1010 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1011 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1012 | --oldin | --oldi | --old | --ol | --o)
1013 ac_prev=oldincludedir ;;
1014 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1015 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1016 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1017 oldincludedir=$ac_optarg ;;
1019 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1020 ac_prev=prefix ;;
1021 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1022 prefix=$ac_optarg ;;
1024 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1025 | --program-pre | --program-pr | --program-p)
1026 ac_prev=program_prefix ;;
1027 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1028 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1029 program_prefix=$ac_optarg ;;
1031 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1032 | --program-suf | --program-su | --program-s)
1033 ac_prev=program_suffix ;;
1034 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1035 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1036 program_suffix=$ac_optarg ;;
1038 -program-transform-name | --program-transform-name \
1039 | --program-transform-nam | --program-transform-na \
1040 | --program-transform-n | --program-transform- \
1041 | --program-transform | --program-transfor \
1042 | --program-transfo | --program-transf \
1043 | --program-trans | --program-tran \
1044 | --progr-tra | --program-tr | --program-t)
1045 ac_prev=program_transform_name ;;
1046 -program-transform-name=* | --program-transform-name=* \
1047 | --program-transform-nam=* | --program-transform-na=* \
1048 | --program-transform-n=* | --program-transform-=* \
1049 | --program-transform=* | --program-transfor=* \
1050 | --program-transfo=* | --program-transf=* \
1051 | --program-trans=* | --program-tran=* \
1052 | --progr-tra=* | --program-tr=* | --program-t=*)
1053 program_transform_name=$ac_optarg ;;
1055 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1056 ac_prev=pdfdir ;;
1057 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1058 pdfdir=$ac_optarg ;;
1060 -psdir | --psdir | --psdi | --psd | --ps)
1061 ac_prev=psdir ;;
1062 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1063 psdir=$ac_optarg ;;
1065 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1066 | -silent | --silent | --silen | --sile | --sil)
1067 silent=yes ;;
1069 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1070 ac_prev=sbindir ;;
1071 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1072 | --sbi=* | --sb=*)
1073 sbindir=$ac_optarg ;;
1075 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1076 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1077 | --sharedst | --shareds | --shared | --share | --shar \
1078 | --sha | --sh)
1079 ac_prev=sharedstatedir ;;
1080 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1081 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1082 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1083 | --sha=* | --sh=*)
1084 sharedstatedir=$ac_optarg ;;
1086 -site | --site | --sit)
1087 ac_prev=site ;;
1088 -site=* | --site=* | --sit=*)
1089 site=$ac_optarg ;;
1091 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1092 ac_prev=srcdir ;;
1093 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1094 srcdir=$ac_optarg ;;
1096 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1097 | --syscon | --sysco | --sysc | --sys | --sy)
1098 ac_prev=sysconfdir ;;
1099 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1100 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1101 sysconfdir=$ac_optarg ;;
1103 -target | --target | --targe | --targ | --tar | --ta | --t)
1104 ac_prev=target_alias ;;
1105 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1106 target_alias=$ac_optarg ;;
1108 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1109 verbose=yes ;;
1111 -version | --version | --versio | --versi | --vers | -V)
1112 ac_init_version=: ;;
1114 -with-* | --with-*)
1115 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1116 # Reject names that are not valid shell variable names.
1117 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1118 as_fn_error $? "invalid package name: $ac_useropt"
1119 ac_useropt_orig=$ac_useropt
1120 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1121 case $ac_user_opts in
1123 "with_$ac_useropt"
1124 "*) ;;
1125 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1126 ac_unrecognized_sep=', ';;
1127 esac
1128 eval with_$ac_useropt=\$ac_optarg ;;
1130 -without-* | --without-*)
1131 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1132 # Reject names that are not valid shell variable names.
1133 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1134 as_fn_error $? "invalid package name: $ac_useropt"
1135 ac_useropt_orig=$ac_useropt
1136 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1137 case $ac_user_opts in
1139 "with_$ac_useropt"
1140 "*) ;;
1141 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1142 ac_unrecognized_sep=', ';;
1143 esac
1144 eval with_$ac_useropt=no ;;
1146 --x)
1147 # Obsolete; use --with-x.
1148 with_x=yes ;;
1150 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1151 | --x-incl | --x-inc | --x-in | --x-i)
1152 ac_prev=x_includes ;;
1153 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1154 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1155 x_includes=$ac_optarg ;;
1157 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1158 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1159 ac_prev=x_libraries ;;
1160 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1161 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1162 x_libraries=$ac_optarg ;;
1164 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1165 Try \`$0 --help' for more information"
1168 *=*)
1169 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1170 # Reject names that are not valid shell variable names.
1171 case $ac_envvar in #(
1172 '' | [0-9]* | *[!_$as_cr_alnum]* )
1173 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1174 esac
1175 eval $ac_envvar=\$ac_optarg
1176 export $ac_envvar ;;
1179 # FIXME: should be removed in autoconf 3.0.
1180 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1181 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1182 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1183 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1186 esac
1187 done
1189 if test -n "$ac_prev"; then
1190 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1191 as_fn_error $? "missing argument to $ac_option"
1194 if test -n "$ac_unrecognized_opts"; then
1195 case $enable_option_checking in
1196 no) ;;
1197 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1198 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1199 esac
1202 # Check all directory arguments for consistency.
1203 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1204 datadir sysconfdir sharedstatedir localstatedir includedir \
1205 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1206 libdir localedir mandir
1208 eval ac_val=\$$ac_var
1209 # Remove trailing slashes.
1210 case $ac_val in
1211 */ )
1212 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1213 eval $ac_var=\$ac_val;;
1214 esac
1215 # Be sure to have absolute directory names.
1216 case $ac_val in
1217 [\\/$]* | ?:[\\/]* ) continue;;
1218 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1219 esac
1220 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1221 done
1223 # There might be people who depend on the old broken behavior: `$host'
1224 # used to hold the argument of --host etc.
1225 # FIXME: To remove some day.
1226 build=$build_alias
1227 host=$host_alias
1228 target=$target_alias
1230 # FIXME: To remove some day.
1231 if test "x$host_alias" != x; then
1232 if test "x$build_alias" = x; then
1233 cross_compiling=maybe
1234 elif test "x$build_alias" != "x$host_alias"; then
1235 cross_compiling=yes
1239 ac_tool_prefix=
1240 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1242 test "$silent" = yes && exec 6>/dev/null
1245 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1246 ac_ls_di=`ls -di .` &&
1247 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1248 as_fn_error $? "working directory cannot be determined"
1249 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1250 as_fn_error $? "pwd does not report name of working directory"
1253 # Find the source files, if location was not specified.
1254 if test -z "$srcdir"; then
1255 ac_srcdir_defaulted=yes
1256 # Try the directory containing this script, then the parent directory.
1257 ac_confdir=`$as_dirname -- "$as_myself" ||
1258 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1259 X"$as_myself" : 'X\(//\)[^/]' \| \
1260 X"$as_myself" : 'X\(//\)$' \| \
1261 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1262 $as_echo X"$as_myself" |
1263 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1264 s//\1/
1267 /^X\(\/\/\)[^/].*/{
1268 s//\1/
1271 /^X\(\/\/\)$/{
1272 s//\1/
1275 /^X\(\/\).*/{
1276 s//\1/
1279 s/.*/./; q'`
1280 srcdir=$ac_confdir
1281 if test ! -r "$srcdir/$ac_unique_file"; then
1282 srcdir=..
1284 else
1285 ac_srcdir_defaulted=no
1287 if test ! -r "$srcdir/$ac_unique_file"; then
1288 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1289 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1291 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1292 ac_abs_confdir=`(
1293 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1294 pwd)`
1295 # When building in place, set srcdir=.
1296 if test "$ac_abs_confdir" = "$ac_pwd"; then
1297 srcdir=.
1299 # Remove unnecessary trailing slashes from srcdir.
1300 # Double slashes in file names in object file debugging info
1301 # mess up M-x gdb in Emacs.
1302 case $srcdir in
1303 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1304 esac
1305 for ac_var in $ac_precious_vars; do
1306 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1307 eval ac_env_${ac_var}_value=\$${ac_var}
1308 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1309 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1310 done
1313 # Report the --help message.
1315 if test "$ac_init_help" = "long"; then
1316 # Omit some internal or obsolete options to make the list less imposing.
1317 # This message is too long to be a string in the A/UX 3.1 sh.
1318 cat <<_ACEOF
1319 \`configure' configures TeX Live utils 2016/dev to adapt to many kinds of systems.
1321 Usage: $0 [OPTION]... [VAR=VALUE]...
1323 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1324 VAR=VALUE. See below for descriptions of some of the useful variables.
1326 Defaults for the options are specified in brackets.
1328 Configuration:
1329 -h, --help display this help and exit
1330 --help=short display options specific to this package
1331 --help=recursive display the short help of all the included packages
1332 -V, --version display version information and exit
1333 -q, --quiet, --silent do not print \`checking ...' messages
1334 --cache-file=FILE cache test results in FILE [disabled]
1335 -C, --config-cache alias for \`--cache-file=config.cache'
1336 -n, --no-create do not create output files
1337 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1339 Installation directories:
1340 --prefix=PREFIX install architecture-independent files in PREFIX
1341 [$ac_default_prefix]
1342 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1343 [PREFIX]
1345 By default, \`make install' will install all the files in
1346 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1347 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1348 for instance \`--prefix=\$HOME'.
1350 For better control, use the options below.
1352 Fine tuning of the installation directories:
1353 --bindir=DIR user executables [EPREFIX/bin]
1354 --sbindir=DIR system admin executables [EPREFIX/sbin]
1355 --libexecdir=DIR program executables [EPREFIX/libexec]
1356 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1357 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1358 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1359 --libdir=DIR object code libraries [EPREFIX/lib]
1360 --includedir=DIR C header files [PREFIX/include]
1361 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1362 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1363 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1364 --infodir=DIR info documentation [DATAROOTDIR/info]
1365 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1366 --mandir=DIR man documentation [DATAROOTDIR/man]
1367 --docdir=DIR documentation root [DATAROOTDIR/doc/tex-live-utils]
1368 --htmldir=DIR html documentation [DOCDIR]
1369 --dvidir=DIR dvi documentation [DOCDIR]
1370 --pdfdir=DIR pdf documentation [DOCDIR]
1371 --psdir=DIR ps documentation [DOCDIR]
1372 _ACEOF
1374 cat <<\_ACEOF
1376 Program names:
1377 --program-prefix=PREFIX prepend PREFIX to installed program names
1378 --program-suffix=SUFFIX append SUFFIX to installed program names
1379 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1381 System types:
1382 --build=BUILD configure for building on BUILD [guessed]
1383 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1384 _ACEOF
1387 if test -n "$ac_init_help"; then
1388 case $ac_init_help in
1389 short | recursive ) echo "Configuration of TeX Live utils 2016/dev:";;
1390 esac
1391 cat <<\_ACEOF
1393 Optional Features:
1394 --disable-option-checking ignore unrecognized --enable/--with options
1395 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1396 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1397 --disable-missing terminate if a requested program or feature must be
1398 disabled, e.g., due to missing libraries
1399 --disable-all-pkgs do not build packages unless explicitly enabled
1400 --disable-native-texlive-build
1401 do not build for the TeX Live binary distribution
1402 --enable-multiplatform put executables into bin/PLATFORM and libraries into
1403 lib/PLATFORM
1404 --enable-cxx-runtime-hack link C++ runtime statically
1405 --enable-libtool-hack ignore libtool dependency_libs
1406 --disable-web2c do not build the web2c (TeX & Co.) package
1407 --enable-auto-core cause TeX&MF to dump core, given a certain
1408 filename
1409 --disable-dump-share make fmt/base files architecture-dependent
1410 --disable-ipc disable TeX's --ipc option, i.e., pipe to a
1411 program
1412 --disable-tex do not compile and install TeX
1413 --enable-tex-synctex build TeX with SyncTeX support
1414 --enable-etex compile and install e-TeX
1415 --disable-etex-synctex build e-TeX without SyncTeX support
1416 --disable-ptex do not compile and install pTeX
1417 --disable-ptex-synctex build pTeX without SyncTeX support
1418 --disable-eptex do not compile and install e-pTeX
1419 --disable-eptex-synctex build e-pTeX without SyncTeX support
1420 --disable-uptex do not compile and install upTeX
1421 --disable-uptex-synctex build upTeX without SyncTeX support
1422 --disable-euptex do not compile and install e-upTeX
1423 --disable-euptex-synctex build e-upTeX without SyncTeX support
1424 --disable-aleph do not compile and install Aleph
1425 --disable-pdftex do not compile and install pdfTeX
1426 --disable-pdftex-synctex build pdfTeX without SyncTeX support
1427 --disable-luatex do not compile and install LuaTeX
1428 --disable-luajittex do not compile and install LuaJITTeX
1429 --disable-mp do not compile and install MetaPost
1430 --disable-pmp do not compile and install pMetaPost
1431 --disable-upmp do not compile and install upMetaPost
1432 --disable-xetex do not compile and install XeTeX
1433 --disable-xetex-synctex build XeTeX without SyncTeX support
1434 --disable-mf do not compile and install METAFONT
1435 --disable-mf-nowin do not build a separate non-window-capable
1436 METAFONT
1437 --disable-mflua do not compile and install MFLua
1438 --enable-mflua-nowin build a separate non-window-capable MFLua
1439 --disable-mfluajit do not compile and install MFLuaJIT
1440 --enable-mfluajit-nowin build a separate non-window-capable MFLuaJIT
1441 --enable-epsfwin include EPSF pseudo window support
1442 --enable-hp2627win include HP 2627 window support
1443 --enable-mftalkwin include mftalk (generic server) window support
1444 --enable-nextwin include NeXT window support
1445 --enable-regiswin include Regis window support
1446 --enable-suntoolswin include old Suntools (not X) window support
1447 --enable-tektronixwin include Tektronix window support
1448 --enable-unitermwin include Uniterm window support
1449 --disable-web-progs do not build WEB programs bibtex ... weave
1450 --disable-synctex do not build the SyncTeX library and tool
1451 --disable-texlive do not build the texlive (TeX Live scripts) package
1452 --disable-linked-scripts do not install the linked scripts
1453 --disable-mktexmf-default do not run mktexmf if MF source missing
1454 --disable-mktexpk-default do not run mktexpk if PK font missing
1455 --disable-mktextfm-default do not run mktextfm if TFM file missing
1456 --disable-mkocp-default do not run mkocp if OCP file missing
1457 --disable-mkofm-default do not run mkofm if OFM file missing
1458 --disable-mktexfmt-default do not run mktexfmt if format file missing
1459 --enable-mktextex-default run mktextex if TeX source missing
1460 --enable-dependency-tracking
1461 do not reject slow dependency extractors
1462 --disable-dependency-tracking
1463 speeds up one-time build
1464 --enable-silent-rules less verbose build output (undo: "make V=1")
1465 --disable-silent-rules verbose build output (undo: "make V=0")
1466 --enable-maintainer-mode
1467 enable make rules and dependencies not useful (and
1468 sometimes confusing) to the casual installer
1469 --enable-compiler-warnings=[no|min|yes|max|all]
1470 Turn on compiler warnings [default: yes if
1471 maintainer-mode, min otherwise]
1473 Optional Packages:
1474 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1475 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1476 --with-banner-add=STR add STR to version string appended to banner lines
1477 --with-editor=CMD invoke CMD from the `e' option [vi +%d '%s'] or
1478 [texworks --position=%d "%s"]
1479 --with-mf-x-toolkit use X toolkit for METAFONT
1480 --with-system-zziplib use installed zziplib headers and library (requires
1481 pkg-config)
1482 --with-system-poppler use installed poppler headers and library (requires
1483 pkg-config)
1484 --with-system-mpfr use installed mpfr headers and library
1485 --with-mpfr-includes=DIR
1486 mpfr headers installed in DIR
1487 --with-mpfr-libdir=DIR mpfr library installed in DIR
1488 --with-system-gmp use installed gmp headers and library
1489 --with-gmp-includes=DIR gmp headers installed in DIR
1490 --with-gmp-libdir=DIR gmp library installed in DIR
1491 --with-system-cairo use installed cairo headers and library (requires
1492 pkg-config)
1493 --with-system-pixman use installed pixman headers and library (requires
1494 pkg-config)
1495 --with-system-libpng use installed libpng headers and library (requires
1496 pkg-config)
1497 --with-system-zlib use installed zlib headers and library
1498 --with-zlib-includes=DIR
1499 zlib headers installed in DIR
1500 --with-zlib-libdir=DIR zlib library installed in DIR
1501 --with-system-kpathsea use installed kpathsea headers and library (requires
1502 pkg-config)
1504 Some influential environment variables:
1505 CC C compiler command
1506 CFLAGS C compiler flags
1507 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1508 nonstandard directory <lib dir>
1509 LIBS libraries to pass to the linker, e.g. -l<library>
1510 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1511 you have headers in a nonstandard directory <include dir>
1513 Use these variables to override the choices made by `configure' or to help
1514 it to find libraries and programs with nonstandard names/locations.
1516 Report bugs to <tex-k@tug.org>.
1517 _ACEOF
1518 ac_status=$?
1521 if test "$ac_init_help" = "recursive"; then
1522 # If there are subdirs, report their specific --help.
1523 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1524 test -d "$ac_dir" ||
1525 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1526 continue
1527 ac_builddir=.
1529 case "$ac_dir" in
1530 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1532 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1533 # A ".." for each directory in $ac_dir_suffix.
1534 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1535 case $ac_top_builddir_sub in
1536 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1537 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1538 esac ;;
1539 esac
1540 ac_abs_top_builddir=$ac_pwd
1541 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1542 # for backward compatibility:
1543 ac_top_builddir=$ac_top_build_prefix
1545 case $srcdir in
1546 .) # We are building in place.
1547 ac_srcdir=.
1548 ac_top_srcdir=$ac_top_builddir_sub
1549 ac_abs_top_srcdir=$ac_pwd ;;
1550 [\\/]* | ?:[\\/]* ) # Absolute name.
1551 ac_srcdir=$srcdir$ac_dir_suffix;
1552 ac_top_srcdir=$srcdir
1553 ac_abs_top_srcdir=$srcdir ;;
1554 *) # Relative name.
1555 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1556 ac_top_srcdir=$ac_top_build_prefix$srcdir
1557 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1558 esac
1559 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1561 cd "$ac_dir" || { ac_status=$?; continue; }
1562 # Check for guested configure.
1563 if test -f "$ac_srcdir/configure.gnu"; then
1564 echo &&
1565 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1566 elif test -f "$ac_srcdir/configure"; then
1567 echo &&
1568 $SHELL "$ac_srcdir/configure" --help=recursive
1569 else
1570 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1571 fi || ac_status=$?
1572 cd "$ac_pwd" || { ac_status=$?; break; }
1573 done
1576 test -n "$ac_init_help" && exit $ac_status
1577 if $ac_init_version; then
1578 cat <<\_ACEOF
1579 TeX Live utils configure 2016/dev
1580 generated by GNU Autoconf 2.69
1582 Copyright (C) 2012 Free Software Foundation, Inc.
1583 This configure script is free software; the Free Software Foundation
1584 gives unlimited permission to copy, distribute and modify it.
1585 _ACEOF
1586 exit
1589 ## ------------------------ ##
1590 ## Autoconf initialization. ##
1591 ## ------------------------ ##
1593 # ac_fn_c_try_compile LINENO
1594 # --------------------------
1595 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1596 ac_fn_c_try_compile ()
1598 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1599 rm -f conftest.$ac_objext
1600 if { { ac_try="$ac_compile"
1601 case "(($ac_try" in
1602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1603 *) ac_try_echo=$ac_try;;
1604 esac
1605 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1606 $as_echo "$ac_try_echo"; } >&5
1607 (eval "$ac_compile") 2>conftest.err
1608 ac_status=$?
1609 if test -s conftest.err; then
1610 grep -v '^ *+' conftest.err >conftest.er1
1611 cat conftest.er1 >&5
1612 mv -f conftest.er1 conftest.err
1614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1615 test $ac_status = 0; } && {
1616 test -z "$ac_c_werror_flag" ||
1617 test ! -s conftest.err
1618 } && test -s conftest.$ac_objext; then :
1619 ac_retval=0
1620 else
1621 $as_echo "$as_me: failed program was:" >&5
1622 sed 's/^/| /' conftest.$ac_ext >&5
1624 ac_retval=1
1626 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1627 as_fn_set_status $ac_retval
1629 } # ac_fn_c_try_compile
1631 # ac_fn_c_try_link LINENO
1632 # -----------------------
1633 # Try to link conftest.$ac_ext, and return whether this succeeded.
1634 ac_fn_c_try_link ()
1636 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1637 rm -f conftest.$ac_objext conftest$ac_exeext
1638 if { { ac_try="$ac_link"
1639 case "(($ac_try" in
1640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1641 *) ac_try_echo=$ac_try;;
1642 esac
1643 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1644 $as_echo "$ac_try_echo"; } >&5
1645 (eval "$ac_link") 2>conftest.err
1646 ac_status=$?
1647 if test -s conftest.err; then
1648 grep -v '^ *+' conftest.err >conftest.er1
1649 cat conftest.er1 >&5
1650 mv -f conftest.er1 conftest.err
1652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1653 test $ac_status = 0; } && {
1654 test -z "$ac_c_werror_flag" ||
1655 test ! -s conftest.err
1656 } && test -s conftest$ac_exeext && {
1657 test "$cross_compiling" = yes ||
1658 test -x conftest$ac_exeext
1659 }; then :
1660 ac_retval=0
1661 else
1662 $as_echo "$as_me: failed program was:" >&5
1663 sed 's/^/| /' conftest.$ac_ext >&5
1665 ac_retval=1
1667 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1668 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1669 # interfere with the next link command; also delete a directory that is
1670 # left behind by Apple's compiler. We do this before executing the actions.
1671 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1672 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1673 as_fn_set_status $ac_retval
1675 } # ac_fn_c_try_link
1676 cat >config.log <<_ACEOF
1677 This file contains any messages produced by compilers while
1678 running configure, to aid debugging if configure makes a mistake.
1680 It was created by TeX Live utils $as_me 2016/dev, which was
1681 generated by GNU Autoconf 2.69. Invocation command line was
1683 $ $0 $@
1685 _ACEOF
1686 exec 5>>config.log
1688 cat <<_ASUNAME
1689 ## --------- ##
1690 ## Platform. ##
1691 ## --------- ##
1693 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1694 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1695 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1696 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1697 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1699 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1700 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1702 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1703 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1704 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1705 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1706 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1707 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1708 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1710 _ASUNAME
1712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1713 for as_dir in $PATH
1715 IFS=$as_save_IFS
1716 test -z "$as_dir" && as_dir=.
1717 $as_echo "PATH: $as_dir"
1718 done
1719 IFS=$as_save_IFS
1721 } >&5
1723 cat >&5 <<_ACEOF
1726 ## ----------- ##
1727 ## Core tests. ##
1728 ## ----------- ##
1730 _ACEOF
1733 # Keep a trace of the command line.
1734 # Strip out --no-create and --no-recursion so they do not pile up.
1735 # Strip out --silent because we don't want to record it for future runs.
1736 # Also quote any args containing shell meta-characters.
1737 # Make two passes to allow for proper duplicate-argument suppression.
1738 ac_configure_args=
1739 ac_configure_args0=
1740 ac_configure_args1=
1741 ac_must_keep_next=false
1742 for ac_pass in 1 2
1744 for ac_arg
1746 case $ac_arg in
1747 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1748 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1749 | -silent | --silent | --silen | --sile | --sil)
1750 continue ;;
1751 *\'*)
1752 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1753 esac
1754 case $ac_pass in
1755 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1757 as_fn_append ac_configure_args1 " '$ac_arg'"
1758 if test $ac_must_keep_next = true; then
1759 ac_must_keep_next=false # Got value, back to normal.
1760 else
1761 case $ac_arg in
1762 *=* | --config-cache | -C | -disable-* | --disable-* \
1763 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1764 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1765 | -with-* | --with-* | -without-* | --without-* | --x)
1766 case "$ac_configure_args0 " in
1767 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1768 esac
1770 -* ) ac_must_keep_next=true ;;
1771 esac
1773 as_fn_append ac_configure_args " '$ac_arg'"
1775 esac
1776 done
1777 done
1778 { ac_configure_args0=; unset ac_configure_args0;}
1779 { ac_configure_args1=; unset ac_configure_args1;}
1781 # When interrupted or exit'd, cleanup temporary files, and complete
1782 # config.log. We remove comments because anyway the quotes in there
1783 # would cause problems or look ugly.
1784 # WARNING: Use '\'' to represent an apostrophe within the trap.
1785 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1786 trap 'exit_status=$?
1787 # Save into config.log some information that might help in debugging.
1789 echo
1791 $as_echo "## ---------------- ##
1792 ## Cache variables. ##
1793 ## ---------------- ##"
1794 echo
1795 # The following way of writing the cache mishandles newlines in values,
1797 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1798 eval ac_val=\$$ac_var
1799 case $ac_val in #(
1800 *${as_nl}*)
1801 case $ac_var in #(
1802 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1803 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1804 esac
1805 case $ac_var in #(
1806 _ | IFS | as_nl) ;; #(
1807 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1808 *) { eval $ac_var=; unset $ac_var;} ;;
1809 esac ;;
1810 esac
1811 done
1812 (set) 2>&1 |
1813 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1814 *${as_nl}ac_space=\ *)
1815 sed -n \
1816 "s/'\''/'\''\\\\'\'''\''/g;
1817 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1818 ;; #(
1820 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1822 esac |
1823 sort
1825 echo
1827 $as_echo "## ----------------- ##
1828 ## Output variables. ##
1829 ## ----------------- ##"
1830 echo
1831 for ac_var in $ac_subst_vars
1833 eval ac_val=\$$ac_var
1834 case $ac_val in
1835 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1836 esac
1837 $as_echo "$ac_var='\''$ac_val'\''"
1838 done | sort
1839 echo
1841 if test -n "$ac_subst_files"; then
1842 $as_echo "## ------------------- ##
1843 ## File substitutions. ##
1844 ## ------------------- ##"
1845 echo
1846 for ac_var in $ac_subst_files
1848 eval ac_val=\$$ac_var
1849 case $ac_val in
1850 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1851 esac
1852 $as_echo "$ac_var='\''$ac_val'\''"
1853 done | sort
1854 echo
1857 if test -s confdefs.h; then
1858 $as_echo "## ----------- ##
1859 ## confdefs.h. ##
1860 ## ----------- ##"
1861 echo
1862 cat confdefs.h
1863 echo
1865 test "$ac_signal" != 0 &&
1866 $as_echo "$as_me: caught signal $ac_signal"
1867 $as_echo "$as_me: exit $exit_status"
1868 } >&5
1869 rm -f core *.core core.conftest.* &&
1870 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1871 exit $exit_status
1873 for ac_signal in 1 2 13 15; do
1874 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1875 done
1876 ac_signal=0
1878 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1879 rm -f -r conftest* confdefs.h
1881 $as_echo "/* confdefs.h */" > confdefs.h
1883 # Predefined preprocessor variables.
1885 cat >>confdefs.h <<_ACEOF
1886 #define PACKAGE_NAME "$PACKAGE_NAME"
1887 _ACEOF
1889 cat >>confdefs.h <<_ACEOF
1890 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1891 _ACEOF
1893 cat >>confdefs.h <<_ACEOF
1894 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1895 _ACEOF
1897 cat >>confdefs.h <<_ACEOF
1898 #define PACKAGE_STRING "$PACKAGE_STRING"
1899 _ACEOF
1901 cat >>confdefs.h <<_ACEOF
1902 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1903 _ACEOF
1905 cat >>confdefs.h <<_ACEOF
1906 #define PACKAGE_URL "$PACKAGE_URL"
1907 _ACEOF
1910 # Let the site file select an alternate cache file if it wants to.
1911 # Prefer an explicitly selected file to automatically selected ones.
1912 ac_site_file1=NONE
1913 ac_site_file2=NONE
1914 if test -n "$CONFIG_SITE"; then
1915 # We do not want a PATH search for config.site.
1916 case $CONFIG_SITE in #((
1917 -*) ac_site_file1=./$CONFIG_SITE;;
1918 */*) ac_site_file1=$CONFIG_SITE;;
1919 *) ac_site_file1=./$CONFIG_SITE;;
1920 esac
1921 elif test "x$prefix" != xNONE; then
1922 ac_site_file1=$prefix/share/config.site
1923 ac_site_file2=$prefix/etc/config.site
1924 else
1925 ac_site_file1=$ac_default_prefix/share/config.site
1926 ac_site_file2=$ac_default_prefix/etc/config.site
1928 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1930 test "x$ac_site_file" = xNONE && continue
1931 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1933 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1934 sed 's/^/| /' "$ac_site_file" >&5
1935 . "$ac_site_file" \
1936 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1937 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1938 as_fn_error $? "failed to load site script $ac_site_file
1939 See \`config.log' for more details" "$LINENO" 5; }
1941 done
1943 if test -r "$cache_file"; then
1944 # Some versions of bash will fail to source /dev/null (special files
1945 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1946 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1948 $as_echo "$as_me: loading cache $cache_file" >&6;}
1949 case $cache_file in
1950 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1951 *) . "./$cache_file";;
1952 esac
1954 else
1955 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1956 $as_echo "$as_me: creating cache $cache_file" >&6;}
1957 >$cache_file
1960 # Check that the precious variables saved in the cache have kept the same
1961 # value.
1962 ac_cache_corrupted=false
1963 for ac_var in $ac_precious_vars; do
1964 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1965 eval ac_new_set=\$ac_env_${ac_var}_set
1966 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1967 eval ac_new_val=\$ac_env_${ac_var}_value
1968 case $ac_old_set,$ac_new_set in
1969 set,)
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1971 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1972 ac_cache_corrupted=: ;;
1973 ,set)
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1975 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1976 ac_cache_corrupted=: ;;
1977 ,);;
1979 if test "x$ac_old_val" != "x$ac_new_val"; then
1980 # differences in whitespace do not lead to failure.
1981 ac_old_val_w=`echo x $ac_old_val`
1982 ac_new_val_w=`echo x $ac_new_val`
1983 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1985 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1986 ac_cache_corrupted=:
1987 else
1988 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1989 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1990 eval $ac_var=\$ac_old_val
1992 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1993 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1995 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1996 fi;;
1997 esac
1998 # Pass precious variables to config.status.
1999 if test "$ac_new_set" = set; then
2000 case $ac_new_val in
2001 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2002 *) ac_arg=$ac_var=$ac_new_val ;;
2003 esac
2004 case " $ac_configure_args " in
2005 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2006 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2007 esac
2009 done
2010 if $ac_cache_corrupted; then
2011 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2012 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2013 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2014 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2015 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2017 ## -------------------- ##
2018 ## Main body of script. ##
2019 ## -------------------- ##
2021 ac_ext=c
2022 ac_cpp='$CPP $CPPFLAGS'
2023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2030 ac_aux_dir=
2031 for ac_dir in ../build-aux "$srcdir"/../build-aux; do
2032 if test -f "$ac_dir/install-sh"; then
2033 ac_aux_dir=$ac_dir
2034 ac_install_sh="$ac_aux_dir/install-sh -c"
2035 break
2036 elif test -f "$ac_dir/install.sh"; then
2037 ac_aux_dir=$ac_dir
2038 ac_install_sh="$ac_aux_dir/install.sh -c"
2039 break
2040 elif test -f "$ac_dir/shtool"; then
2041 ac_aux_dir=$ac_dir
2042 ac_install_sh="$ac_aux_dir/shtool install -c"
2043 break
2045 done
2046 if test -z "$ac_aux_dir"; then
2047 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../build-aux \"$srcdir\"/../build-aux" "$LINENO" 5
2050 # These three variables are undocumented and unsupported,
2051 # and are intended to be withdrawn in a future Autoconf release.
2052 # They can cause serious problems if a builder's source tree is in a directory
2053 # whose full name contains unusual characters.
2054 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2055 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2056 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2061 # Make sure we can run config.sub.
2062 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2063 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2066 $as_echo_n "checking build system type... " >&6; }
2067 if ${ac_cv_build+:} false; then :
2068 $as_echo_n "(cached) " >&6
2069 else
2070 ac_build_alias=$build_alias
2071 test "x$ac_build_alias" = x &&
2072 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2073 test "x$ac_build_alias" = x &&
2074 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2075 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2076 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2080 $as_echo "$ac_cv_build" >&6; }
2081 case $ac_cv_build in
2082 *-*-*) ;;
2083 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2084 esac
2085 build=$ac_cv_build
2086 ac_save_IFS=$IFS; IFS='-'
2087 set x $ac_cv_build
2088 shift
2089 build_cpu=$1
2090 build_vendor=$2
2091 shift; shift
2092 # Remember, the first character of IFS is used to create $*,
2093 # except with old shells:
2094 build_os=$*
2095 IFS=$ac_save_IFS
2096 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2100 $as_echo_n "checking host system type... " >&6; }
2101 if ${ac_cv_host+:} false; then :
2102 $as_echo_n "(cached) " >&6
2103 else
2104 if test "x$host_alias" = x; then
2105 ac_cv_host=$ac_cv_build
2106 else
2107 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2108 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2113 $as_echo "$ac_cv_host" >&6; }
2114 case $ac_cv_host in
2115 *-*-*) ;;
2116 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2117 esac
2118 host=$ac_cv_host
2119 ac_save_IFS=$IFS; IFS='-'
2120 set x $ac_cv_host
2121 shift
2122 host_cpu=$1
2123 host_vendor=$2
2124 shift; shift
2125 # Remember, the first character of IFS is used to create $*,
2126 # except with old shells:
2127 host_os=$*
2128 IFS=$ac_save_IFS
2129 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2132 # Check whether --enable-missing was given.
2133 if test "${enable_missing+set}" = set; then :
2134 enableval=$enable_missing;
2137 # Expand $ac_aux_dir to an absolute path.
2138 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2140 ac_ext=c
2141 ac_cpp='$CPP $CPPFLAGS'
2142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2145 if test -n "$ac_tool_prefix"; then
2146 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2147 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2149 $as_echo_n "checking for $ac_word... " >&6; }
2150 if ${ac_cv_prog_CC+:} false; then :
2151 $as_echo_n "(cached) " >&6
2152 else
2153 if test -n "$CC"; then
2154 ac_cv_prog_CC="$CC" # Let the user override the test.
2155 else
2156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2157 for as_dir in $PATH
2159 IFS=$as_save_IFS
2160 test -z "$as_dir" && as_dir=.
2161 for ac_exec_ext in '' $ac_executable_extensions; do
2162 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2163 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2165 break 2
2167 done
2168 done
2169 IFS=$as_save_IFS
2173 CC=$ac_cv_prog_CC
2174 if test -n "$CC"; then
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2176 $as_echo "$CC" >&6; }
2177 else
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2179 $as_echo "no" >&6; }
2184 if test -z "$ac_cv_prog_CC"; then
2185 ac_ct_CC=$CC
2186 # Extract the first word of "gcc", so it can be a program name with args.
2187 set dummy gcc; ac_word=$2
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2189 $as_echo_n "checking for $ac_word... " >&6; }
2190 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2191 $as_echo_n "(cached) " >&6
2192 else
2193 if test -n "$ac_ct_CC"; then
2194 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2195 else
2196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2197 for as_dir in $PATH
2199 IFS=$as_save_IFS
2200 test -z "$as_dir" && as_dir=.
2201 for ac_exec_ext in '' $ac_executable_extensions; do
2202 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2203 ac_cv_prog_ac_ct_CC="gcc"
2204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2205 break 2
2207 done
2208 done
2209 IFS=$as_save_IFS
2213 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2214 if test -n "$ac_ct_CC"; then
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2216 $as_echo "$ac_ct_CC" >&6; }
2217 else
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2219 $as_echo "no" >&6; }
2222 if test "x$ac_ct_CC" = x; then
2223 CC=""
2224 else
2225 case $cross_compiling:$ac_tool_warned in
2226 yes:)
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2228 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2229 ac_tool_warned=yes ;;
2230 esac
2231 CC=$ac_ct_CC
2233 else
2234 CC="$ac_cv_prog_CC"
2237 if test -z "$CC"; then
2238 if test -n "$ac_tool_prefix"; then
2239 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2240 set dummy ${ac_tool_prefix}cc; ac_word=$2
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2242 $as_echo_n "checking for $ac_word... " >&6; }
2243 if ${ac_cv_prog_CC+:} false; then :
2244 $as_echo_n "(cached) " >&6
2245 else
2246 if test -n "$CC"; then
2247 ac_cv_prog_CC="$CC" # Let the user override the test.
2248 else
2249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2250 for as_dir in $PATH
2252 IFS=$as_save_IFS
2253 test -z "$as_dir" && as_dir=.
2254 for ac_exec_ext in '' $ac_executable_extensions; do
2255 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2256 ac_cv_prog_CC="${ac_tool_prefix}cc"
2257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2258 break 2
2260 done
2261 done
2262 IFS=$as_save_IFS
2266 CC=$ac_cv_prog_CC
2267 if test -n "$CC"; then
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2269 $as_echo "$CC" >&6; }
2270 else
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2272 $as_echo "no" >&6; }
2278 if test -z "$CC"; then
2279 # Extract the first word of "cc", so it can be a program name with args.
2280 set dummy cc; ac_word=$2
2281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2282 $as_echo_n "checking for $ac_word... " >&6; }
2283 if ${ac_cv_prog_CC+:} false; then :
2284 $as_echo_n "(cached) " >&6
2285 else
2286 if test -n "$CC"; then
2287 ac_cv_prog_CC="$CC" # Let the user override the test.
2288 else
2289 ac_prog_rejected=no
2290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2291 for as_dir in $PATH
2293 IFS=$as_save_IFS
2294 test -z "$as_dir" && as_dir=.
2295 for ac_exec_ext in '' $ac_executable_extensions; do
2296 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2297 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2298 ac_prog_rejected=yes
2299 continue
2301 ac_cv_prog_CC="cc"
2302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2303 break 2
2305 done
2306 done
2307 IFS=$as_save_IFS
2309 if test $ac_prog_rejected = yes; then
2310 # We found a bogon in the path, so make sure we never use it.
2311 set dummy $ac_cv_prog_CC
2312 shift
2313 if test $# != 0; then
2314 # We chose a different compiler from the bogus one.
2315 # However, it has the same basename, so the bogon will be chosen
2316 # first if we set CC to just the basename; use the full file name.
2317 shift
2318 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2323 CC=$ac_cv_prog_CC
2324 if test -n "$CC"; then
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2326 $as_echo "$CC" >&6; }
2327 else
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2329 $as_echo "no" >&6; }
2334 if test -z "$CC"; then
2335 if test -n "$ac_tool_prefix"; then
2336 for ac_prog in cl.exe
2338 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2339 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2341 $as_echo_n "checking for $ac_word... " >&6; }
2342 if ${ac_cv_prog_CC+:} false; then :
2343 $as_echo_n "(cached) " >&6
2344 else
2345 if test -n "$CC"; then
2346 ac_cv_prog_CC="$CC" # Let the user override the test.
2347 else
2348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2349 for as_dir in $PATH
2351 IFS=$as_save_IFS
2352 test -z "$as_dir" && as_dir=.
2353 for ac_exec_ext in '' $ac_executable_extensions; do
2354 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2355 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2357 break 2
2359 done
2360 done
2361 IFS=$as_save_IFS
2365 CC=$ac_cv_prog_CC
2366 if test -n "$CC"; then
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2368 $as_echo "$CC" >&6; }
2369 else
2370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2371 $as_echo "no" >&6; }
2375 test -n "$CC" && break
2376 done
2378 if test -z "$CC"; then
2379 ac_ct_CC=$CC
2380 for ac_prog in cl.exe
2382 # Extract the first word of "$ac_prog", so it can be a program name with args.
2383 set dummy $ac_prog; ac_word=$2
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2385 $as_echo_n "checking for $ac_word... " >&6; }
2386 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2387 $as_echo_n "(cached) " >&6
2388 else
2389 if test -n "$ac_ct_CC"; then
2390 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2391 else
2392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2393 for as_dir in $PATH
2395 IFS=$as_save_IFS
2396 test -z "$as_dir" && as_dir=.
2397 for ac_exec_ext in '' $ac_executable_extensions; do
2398 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2399 ac_cv_prog_ac_ct_CC="$ac_prog"
2400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2401 break 2
2403 done
2404 done
2405 IFS=$as_save_IFS
2409 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2410 if test -n "$ac_ct_CC"; then
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2412 $as_echo "$ac_ct_CC" >&6; }
2413 else
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2415 $as_echo "no" >&6; }
2419 test -n "$ac_ct_CC" && break
2420 done
2422 if test "x$ac_ct_CC" = x; then
2423 CC=""
2424 else
2425 case $cross_compiling:$ac_tool_warned in
2426 yes:)
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2428 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2429 ac_tool_warned=yes ;;
2430 esac
2431 CC=$ac_ct_CC
2438 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2439 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2440 as_fn_error $? "no acceptable C compiler found in \$PATH
2441 See \`config.log' for more details" "$LINENO" 5; }
2443 # Provide some information about the compiler.
2444 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2445 set X $ac_compile
2446 ac_compiler=$2
2447 for ac_option in --version -v -V -qversion; do
2448 { { ac_try="$ac_compiler $ac_option >&5"
2449 case "(($ac_try" in
2450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2451 *) ac_try_echo=$ac_try;;
2452 esac
2453 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2454 $as_echo "$ac_try_echo"; } >&5
2455 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2456 ac_status=$?
2457 if test -s conftest.err; then
2458 sed '10a\
2459 ... rest of stderr output deleted ...
2460 10q' conftest.err >conftest.er1
2461 cat conftest.er1 >&5
2463 rm -f conftest.er1 conftest.err
2464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2465 test $ac_status = 0; }
2466 done
2468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2469 /* end confdefs.h. */
2472 main ()
2476 return 0;
2478 _ACEOF
2479 ac_clean_files_save=$ac_clean_files
2480 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2481 # Try to create an executable without -o first, disregard a.out.
2482 # It will help us diagnose broken compilers, and finding out an intuition
2483 # of exeext.
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2485 $as_echo_n "checking whether the C compiler works... " >&6; }
2486 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2488 # The possible output files:
2489 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2491 ac_rmfiles=
2492 for ac_file in $ac_files
2494 case $ac_file in
2495 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2496 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2497 esac
2498 done
2499 rm -f $ac_rmfiles
2501 if { { ac_try="$ac_link_default"
2502 case "(($ac_try" in
2503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2504 *) ac_try_echo=$ac_try;;
2505 esac
2506 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2507 $as_echo "$ac_try_echo"; } >&5
2508 (eval "$ac_link_default") 2>&5
2509 ac_status=$?
2510 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2511 test $ac_status = 0; }; then :
2512 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2513 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2514 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2515 # so that the user can short-circuit this test for compilers unknown to
2516 # Autoconf.
2517 for ac_file in $ac_files ''
2519 test -f "$ac_file" || continue
2520 case $ac_file in
2521 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2523 [ab].out )
2524 # We found the default executable, but exeext='' is most
2525 # certainly right.
2526 break;;
2527 *.* )
2528 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2529 then :; else
2530 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2532 # We set ac_cv_exeext here because the later test for it is not
2533 # safe: cross compilers may not add the suffix if given an `-o'
2534 # argument, so we may need to know it at that point already.
2535 # Even if this section looks crufty: it has the advantage of
2536 # actually working.
2537 break;;
2539 break;;
2540 esac
2541 done
2542 test "$ac_cv_exeext" = no && ac_cv_exeext=
2544 else
2545 ac_file=''
2547 if test -z "$ac_file"; then :
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2549 $as_echo "no" >&6; }
2550 $as_echo "$as_me: failed program was:" >&5
2551 sed 's/^/| /' conftest.$ac_ext >&5
2553 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2554 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2555 as_fn_error 77 "C compiler cannot create executables
2556 See \`config.log' for more details" "$LINENO" 5; }
2557 else
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2559 $as_echo "yes" >&6; }
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2562 $as_echo_n "checking for C compiler default output file name... " >&6; }
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2564 $as_echo "$ac_file" >&6; }
2565 ac_exeext=$ac_cv_exeext
2567 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2568 ac_clean_files=$ac_clean_files_save
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2570 $as_echo_n "checking for suffix of executables... " >&6; }
2571 if { { ac_try="$ac_link"
2572 case "(($ac_try" in
2573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2574 *) ac_try_echo=$ac_try;;
2575 esac
2576 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2577 $as_echo "$ac_try_echo"; } >&5
2578 (eval "$ac_link") 2>&5
2579 ac_status=$?
2580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2581 test $ac_status = 0; }; then :
2582 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2583 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2584 # work properly (i.e., refer to `conftest.exe'), while it won't with
2585 # `rm'.
2586 for ac_file in conftest.exe conftest conftest.*; do
2587 test -f "$ac_file" || continue
2588 case $ac_file in
2589 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2590 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2591 break;;
2592 * ) break;;
2593 esac
2594 done
2595 else
2596 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2597 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2598 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2599 See \`config.log' for more details" "$LINENO" 5; }
2601 rm -f conftest conftest$ac_cv_exeext
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2603 $as_echo "$ac_cv_exeext" >&6; }
2605 rm -f conftest.$ac_ext
2606 EXEEXT=$ac_cv_exeext
2607 ac_exeext=$EXEEXT
2608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2609 /* end confdefs.h. */
2610 #include <stdio.h>
2612 main ()
2614 FILE *f = fopen ("conftest.out", "w");
2615 return ferror (f) || fclose (f) != 0;
2618 return 0;
2620 _ACEOF
2621 ac_clean_files="$ac_clean_files conftest.out"
2622 # Check that the compiler produces executables we can run. If not, either
2623 # the compiler is broken, or we cross compile.
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2625 $as_echo_n "checking whether we are cross compiling... " >&6; }
2626 if test "$cross_compiling" != yes; then
2627 { { ac_try="$ac_link"
2628 case "(($ac_try" in
2629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2630 *) ac_try_echo=$ac_try;;
2631 esac
2632 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2633 $as_echo "$ac_try_echo"; } >&5
2634 (eval "$ac_link") 2>&5
2635 ac_status=$?
2636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2637 test $ac_status = 0; }
2638 if { ac_try='./conftest$ac_cv_exeext'
2639 { { case "(($ac_try" in
2640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2641 *) ac_try_echo=$ac_try;;
2642 esac
2643 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2644 $as_echo "$ac_try_echo"; } >&5
2645 (eval "$ac_try") 2>&5
2646 ac_status=$?
2647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2648 test $ac_status = 0; }; }; then
2649 cross_compiling=no
2650 else
2651 if test "$cross_compiling" = maybe; then
2652 cross_compiling=yes
2653 else
2654 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2655 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2656 as_fn_error $? "cannot run C compiled programs.
2657 If you meant to cross compile, use \`--host'.
2658 See \`config.log' for more details" "$LINENO" 5; }
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2663 $as_echo "$cross_compiling" >&6; }
2665 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2666 ac_clean_files=$ac_clean_files_save
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2668 $as_echo_n "checking for suffix of object files... " >&6; }
2669 if ${ac_cv_objext+:} false; then :
2670 $as_echo_n "(cached) " >&6
2671 else
2672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2673 /* end confdefs.h. */
2676 main ()
2680 return 0;
2682 _ACEOF
2683 rm -f conftest.o conftest.obj
2684 if { { ac_try="$ac_compile"
2685 case "(($ac_try" in
2686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2687 *) ac_try_echo=$ac_try;;
2688 esac
2689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2690 $as_echo "$ac_try_echo"; } >&5
2691 (eval "$ac_compile") 2>&5
2692 ac_status=$?
2693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2694 test $ac_status = 0; }; then :
2695 for ac_file in conftest.o conftest.obj conftest.*; do
2696 test -f "$ac_file" || continue;
2697 case $ac_file in
2698 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2699 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2700 break;;
2701 esac
2702 done
2703 else
2704 $as_echo "$as_me: failed program was:" >&5
2705 sed 's/^/| /' conftest.$ac_ext >&5
2707 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2708 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2709 as_fn_error $? "cannot compute suffix of object files: cannot compile
2710 See \`config.log' for more details" "$LINENO" 5; }
2712 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2715 $as_echo "$ac_cv_objext" >&6; }
2716 OBJEXT=$ac_cv_objext
2717 ac_objext=$OBJEXT
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2719 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2720 if ${ac_cv_c_compiler_gnu+:} false; then :
2721 $as_echo_n "(cached) " >&6
2722 else
2723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2724 /* end confdefs.h. */
2727 main ()
2729 #ifndef __GNUC__
2730 choke me
2731 #endif
2734 return 0;
2736 _ACEOF
2737 if ac_fn_c_try_compile "$LINENO"; then :
2738 ac_compiler_gnu=yes
2739 else
2740 ac_compiler_gnu=no
2742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2743 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2747 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2748 if test $ac_compiler_gnu = yes; then
2749 GCC=yes
2750 else
2751 GCC=
2753 ac_test_CFLAGS=${CFLAGS+set}
2754 ac_save_CFLAGS=$CFLAGS
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2756 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2757 if ${ac_cv_prog_cc_g+:} false; then :
2758 $as_echo_n "(cached) " >&6
2759 else
2760 ac_save_c_werror_flag=$ac_c_werror_flag
2761 ac_c_werror_flag=yes
2762 ac_cv_prog_cc_g=no
2763 CFLAGS="-g"
2764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2765 /* end confdefs.h. */
2768 main ()
2772 return 0;
2774 _ACEOF
2775 if ac_fn_c_try_compile "$LINENO"; then :
2776 ac_cv_prog_cc_g=yes
2777 else
2778 CFLAGS=""
2779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2780 /* end confdefs.h. */
2783 main ()
2787 return 0;
2789 _ACEOF
2790 if ac_fn_c_try_compile "$LINENO"; then :
2792 else
2793 ac_c_werror_flag=$ac_save_c_werror_flag
2794 CFLAGS="-g"
2795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2796 /* end confdefs.h. */
2799 main ()
2803 return 0;
2805 _ACEOF
2806 if ac_fn_c_try_compile "$LINENO"; then :
2807 ac_cv_prog_cc_g=yes
2809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2814 ac_c_werror_flag=$ac_save_c_werror_flag
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2817 $as_echo "$ac_cv_prog_cc_g" >&6; }
2818 if test "$ac_test_CFLAGS" = set; then
2819 CFLAGS=$ac_save_CFLAGS
2820 elif test $ac_cv_prog_cc_g = yes; then
2821 if test "$GCC" = yes; then
2822 CFLAGS="-g -O2"
2823 else
2824 CFLAGS="-g"
2826 else
2827 if test "$GCC" = yes; then
2828 CFLAGS="-O2"
2829 else
2830 CFLAGS=
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2834 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2835 if ${ac_cv_prog_cc_c89+:} false; then :
2836 $as_echo_n "(cached) " >&6
2837 else
2838 ac_cv_prog_cc_c89=no
2839 ac_save_CC=$CC
2840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2841 /* end confdefs.h. */
2842 #include <stdarg.h>
2843 #include <stdio.h>
2844 struct stat;
2845 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2846 struct buf { int x; };
2847 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2848 static char *e (p, i)
2849 char **p;
2850 int i;
2852 return p[i];
2854 static char *f (char * (*g) (char **, int), char **p, ...)
2856 char *s;
2857 va_list v;
2858 va_start (v,p);
2859 s = g (p, va_arg (v,int));
2860 va_end (v);
2861 return s;
2864 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2865 function prototypes and stuff, but not '\xHH' hex character constants.
2866 These don't provoke an error unfortunately, instead are silently treated
2867 as 'x'. The following induces an error, until -std is added to get
2868 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2869 array size at least. It's necessary to write '\x00'==0 to get something
2870 that's true only with -std. */
2871 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2873 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2874 inside strings and character constants. */
2875 #define FOO(x) 'x'
2876 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2878 int test (int i, double x);
2879 struct s1 {int (*f) (int a);};
2880 struct s2 {int (*f) (double a);};
2881 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2882 int argc;
2883 char **argv;
2885 main ()
2887 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2889 return 0;
2891 _ACEOF
2892 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2893 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2895 CC="$ac_save_CC $ac_arg"
2896 if ac_fn_c_try_compile "$LINENO"; then :
2897 ac_cv_prog_cc_c89=$ac_arg
2899 rm -f core conftest.err conftest.$ac_objext
2900 test "x$ac_cv_prog_cc_c89" != "xno" && break
2901 done
2902 rm -f conftest.$ac_ext
2903 CC=$ac_save_CC
2906 # AC_CACHE_VAL
2907 case "x$ac_cv_prog_cc_c89" in
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2910 $as_echo "none needed" >&6; } ;;
2911 xno)
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2913 $as_echo "unsupported" >&6; } ;;
2915 CC="$CC $ac_cv_prog_cc_c89"
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2917 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2918 esac
2919 if test "x$ac_cv_prog_cc_c89" != xno; then :
2923 ac_ext=c
2924 ac_cpp='$CPP $CPPFLAGS'
2925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2929 ac_ext=c
2930 ac_cpp='$CPP $CPPFLAGS'
2931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
2935 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
2936 if ${am_cv_prog_cc_c_o+:} false; then :
2937 $as_echo_n "(cached) " >&6
2938 else
2939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2940 /* end confdefs.h. */
2943 main ()
2947 return 0;
2949 _ACEOF
2950 # Make sure it works both with $CC and with simple cc.
2951 # Following AC_PROG_CC_C_O, we do the test twice because some
2952 # compilers refuse to overwrite an existing .o file with -o,
2953 # though they will create one.
2954 am_cv_prog_cc_c_o=yes
2955 for am_i in 1 2; do
2956 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
2957 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
2958 ac_status=$?
2959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2960 (exit $ac_status); } \
2961 && test -f conftest2.$ac_objext; then
2962 : OK
2963 else
2964 am_cv_prog_cc_c_o=no
2965 break
2967 done
2968 rm -f core conftest*
2969 unset am_i
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
2972 $as_echo "$am_cv_prog_cc_c_o" >&6; }
2973 if test "$am_cv_prog_cc_c_o" != yes; then
2974 # Losing compiler, so override with the script.
2975 # FIXME: It is wrong to rewrite CC.
2976 # But if we don't then we get into trouble of one sort or another.
2977 # A longer-term fix would be to have automake use am__CC in this case,
2978 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
2979 CC="$am_aux_dir/compile $CC"
2981 ac_ext=c
2982 ac_cpp='$CPP $CPPFLAGS'
2983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2992 # Check whether --enable-all-pkgs was given.
2993 if test "${enable_all_pkgs+set}" = set; then :
2994 enableval=$enable_all_pkgs;
2996 test "x$enable_all_pkgs" = xno || enable_all_pkgs=yes
2997 # Check whether --enable-native-texlive-build was given.
2998 if test "${enable_native_texlive_build+set}" = set; then :
2999 enableval=$enable_native_texlive_build;
3001 case $enable_native_texlive_build in #(
3002 yes | no) :
3003 : ;; #(
3004 *) :
3005 enable_native_texlive_build=yes
3006 ac_configure_args="$ac_configure_args '--enable-native-texlive-build'" ;;
3007 esac
3008 case $enable_largefile in #(
3009 yes | no) :
3010 : ;; #(
3011 *) :
3012 enable_largefile=yes
3013 ac_configure_args="$ac_configure_args '--enable-largefile'" ;;
3014 esac
3015 case $enable_silent_rules in #(
3016 yes | no) :
3017 : ;; #(
3018 *) :
3019 enable_silent_rules=no
3020 ac_configure_args="$ac_configure_args '--disable-silent-rules'" ;;
3021 esac
3022 case $enable_multiplatform in #(
3023 yes | no) :
3024 : ;; #(
3025 *) :
3026 enable_multiplatform=$enable_native_texlive_build
3027 ac_configure_args="$ac_configure_args '--enable-multiplatform=$enable_native_texlive_build'" ;;
3028 esac
3029 case $enable_cxx_runtime_hack in #(
3030 yes | no) :
3031 : ;; #(
3032 *) :
3033 enable_cxx_runtime_hack=$enable_native_texlive_build
3034 ac_configure_args="$ac_configure_args '--enable-cxx-runtime-hack=$enable_native_texlive_build'" ;;
3035 esac
3036 case $enable_libtool_hack in #(
3037 yes | no) :
3038 : ;; #(
3039 *) :
3040 case $host_os in #(
3041 do-not-match) :
3042 enable_libtool_hack=no ;; #(
3043 *) :
3044 enable_libtool_hack=yes ;;
3045 esac
3046 ac_configure_args="$ac_configure_args '--enable-libtool-hack=$enable_libtool_hack'" ;;
3047 esac
3048 case $enable_shared:$host_os in #(
3049 no:* | yes:mingw* | yes:cygwin*) :
3050 : ;; #(
3051 yes:* ) :
3052 if test "x$enable_native_texlive_build" = xyes; then :
3053 as_fn_error $? "you can not use a shared Kpathsea library for a native TeX Live build" "$LINENO" 5
3054 fi ;; #(
3055 *) :
3056 enable_shared=no
3057 ac_configure_args="$ac_configure_args '--disable-shared'" ;;
3058 esac
3059 case $enable_texlive_build in #(
3060 yes) :
3061 : ;; #(
3062 no) :
3063 as_fn_error $? "you can not configure the TeX Live tree with \`--disable-texlive-build'" "$LINENO" 5 ;; #(
3064 *) :
3065 enable_texlive_build=yes
3066 ac_configure_args="$ac_configure_args '--enable-texlive-build'" ;;
3067 esac
3068 # Check whether --enable-multiplatform was given.
3069 if test "${enable_multiplatform+set}" = set; then :
3070 enableval=$enable_multiplatform;
3072 if test "x$enable_multiplatform" = xyes; then
3073 if test "x$bindir" = 'x${exec_prefix}/bin'; then
3074 bindir="$bindir/${host_alias-$host}"
3075 ac_configure_args="$ac_configure_args '--bindir=$bindir'"
3077 if test "x$libdir" = 'x${exec_prefix}/lib'; then
3078 libdir="$libdir/${host_alias-$host}"
3079 ac_configure_args="$ac_configure_args '--libdir=$libdir'"
3083 # Check whether --enable-cxx-runtime-hack was given.
3084 if test "${enable_cxx_runtime_hack+set}" = set; then :
3085 enableval=$enable_cxx_runtime_hack;
3088 # Check whether --enable-libtool-hack was given.
3089 if test "${enable_libtool_hack+set}" = set; then :
3090 enableval=$enable_libtool_hack;
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native WIN32 or MINGW32" >&5
3097 $as_echo_n "checking for native WIN32 or MINGW32... " >&6; }
3098 if ${kpse_cv_have_win32+:} false; then :
3099 $as_echo_n "(cached) " >&6
3100 else
3101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3102 /* end confdefs.h. */
3103 #ifndef WIN32
3104 choke me
3105 #endif
3107 main ()
3111 return 0;
3113 _ACEOF
3114 if ac_fn_c_try_compile "$LINENO"; then :
3115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3116 /* end confdefs.h. */
3117 #ifndef __MINGW32__
3118 choke me
3119 #endif
3121 main ()
3125 return 0;
3127 _ACEOF
3128 if ac_fn_c_try_compile "$LINENO"; then :
3129 kpse_cv_have_win32=mingw32
3130 else
3131 kpse_cv_have_win32=native
3133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3134 else
3135 kpse_cv_have_win32=no
3137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_win32" >&5
3140 $as_echo "$kpse_cv_have_win32" >&6; }
3142 case $with_x:$kpse_cv_have_win32 in #(
3143 yes:no | no:*) :
3144 : ;; #(
3145 yes:*) :
3146 as_fn_error $? "you can not use \`--with-x' for WIN32" "$LINENO" 5 ;; #(
3147 *:no) :
3148 with_x=yes
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--with-x'" >&5
3150 $as_echo "$as_me: Assuming \`--with-x'" >&6;}
3151 ac_configure_args="$ac_configure_args '--with-x'" ;; #(
3152 *) :
3153 with_x=no
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: WIN32 -> \`--without-x'" >&5
3155 $as_echo "$as_me: WIN32 -> \`--without-x'" >&6;}
3156 ac_configure_args="$ac_configure_args '--without-x'" ;;
3157 esac
3158 case $enable_luajittex in #(
3159 yes | no) :
3160 : ;; #(
3161 *) :
3162 case $host in #(
3163 alpha* | sparc* | powerpc-*-darwin* ) :
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: $host -> \`--disable-luajittex'" >&5
3165 $as_echo "$as_me: $host -> \`--disable-luajittex'" >&6;}
3166 ac_configure_args="$ac_configure_args '--disable-luajittex'" ;; #(
3167 *) :
3169 esac ;;
3170 esac
3171 case $enable_mfluajit in #(
3172 yes | no) :
3173 : ;; #(
3174 *) :
3175 case $host in #(
3176 alpha* | sparc* | powerpc-*-darwin* ) :
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: $host -> \`--disable-mfluajit'" >&5
3178 $as_echo "$as_me: $host -> \`--disable-mfluajit'" >&6;}
3179 ac_configure_args="$ac_configure_args '--disable-mfluajit'" ;; #(
3180 *) :
3182 esac ;;
3183 esac
3186 ## texk/web2c/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/web2c/
3187 ## configure options and TL libraries required for web2c
3188 # Check whether --enable-web2c was given.
3189 if test "${enable_web2c+set}" = set; then :
3190 enableval=$enable_web2c;
3192 case $enable_web2c in #(
3193 yes|no) :
3194 ;; #(
3195 *) :
3197 enable_web2c=$enable_all_pkgs
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-web2c=$enable_web2c'" >&5
3199 $as_echo "$as_me: Assuming \`--enable-web2c=$enable_web2c'" >&6;}
3200 ac_configure_args="$ac_configure_args '--enable-web2c=$enable_web2c'"
3202 esac
3204 test "x$enable_web2c" = xno || {
3205 need_kpathsea=yes
3206 need_zlib=yes
3209 ## texk/web2c/ac/web2c.ac: configure.ac fragment for the TeX Live subdirectory texk/web2c/
3210 ## configure options for TeX and MF
3212 # Check whether --with-banner-add was given.
3213 if test "${with_banner_add+set}" = set; then :
3214 withval=$with_banner_add;
3217 # Check whether --with-editor was given.
3218 if test "${with_editor+set}" = set; then :
3219 withval=$with_editor;
3221 # Check whether --enable-auto-core was given.
3222 if test "${enable_auto_core+set}" = set; then :
3223 enableval=$enable_auto_core;
3225 # Check whether --enable-dump-share was given.
3226 if test "${enable_dump_share+set}" = set; then :
3227 enableval=$enable_dump_share;
3229 ## configure options for TeX
3230 # Check whether --enable-ipc was given.
3231 if test "${enable_ipc+set}" = set; then :
3232 enableval=$enable_ipc;
3234 # Check whether --enable-tex was given.
3235 if test "${enable_tex+set}" = set; then :
3236 enableval=$enable_tex;
3238 case $enable_tex in #(
3239 yes | no) :
3240 ;; #(
3241 *) :
3242 enable_tex=yes ;;
3243 esac
3245 # Check whether --enable-tex-synctex was given.
3246 if test "${enable_tex_synctex+set}" = set; then :
3247 enableval=$enable_tex_synctex;
3249 # Check whether --enable-etex was given.
3250 if test "${enable_etex+set}" = set; then :
3251 enableval=$enable_etex;
3253 case $enable_etex in #(
3254 yes | no) :
3255 ;; #(
3256 *) :
3257 enable_etex=no ;;
3258 esac
3260 # Check whether --enable-etex-synctex was given.
3261 if test "${enable_etex_synctex+set}" = set; then :
3262 enableval=$enable_etex_synctex;
3264 # Check whether --enable-ptex was given.
3265 if test "${enable_ptex+set}" = set; then :
3266 enableval=$enable_ptex;
3268 case $enable_ptex in #(
3269 yes | no) :
3270 ;; #(
3271 *) :
3272 enable_ptex=yes ;;
3273 esac
3275 # Check whether --enable-ptex-synctex was given.
3276 if test "${enable_ptex_synctex+set}" = set; then :
3277 enableval=$enable_ptex_synctex;
3280 test "x$enable_web2c:$enable_ptex" = xyes:yes && {
3281 need_ptexenc=yes
3283 # Check whether --enable-eptex was given.
3284 if test "${enable_eptex+set}" = set; then :
3285 enableval=$enable_eptex;
3287 case $enable_eptex in #(
3288 yes | no) :
3289 ;; #(
3290 *) :
3291 enable_eptex=yes ;;
3292 esac
3294 # Check whether --enable-eptex-synctex was given.
3295 if test "${enable_eptex_synctex+set}" = set; then :
3296 enableval=$enable_eptex_synctex;
3299 test "x$enable_web2c:$enable_eptex" = xyes:yes && {
3300 need_ptexenc=yes
3302 # Check whether --enable-uptex was given.
3303 if test "${enable_uptex+set}" = set; then :
3304 enableval=$enable_uptex;
3306 case $enable_uptex in #(
3307 yes | no) :
3308 ;; #(
3309 *) :
3310 enable_uptex=yes ;;
3311 esac
3313 # Check whether --enable-uptex-synctex was given.
3314 if test "${enable_uptex_synctex+set}" = set; then :
3315 enableval=$enable_uptex_synctex;
3318 test "x$enable_web2c:$enable_uptex" = xyes:yes && {
3319 need_ptexenc=yes
3321 # Check whether --enable-euptex was given.
3322 if test "${enable_euptex+set}" = set; then :
3323 enableval=$enable_euptex;
3325 case $enable_euptex in #(
3326 yes | no) :
3327 ;; #(
3328 *) :
3329 enable_euptex=yes ;;
3330 esac
3332 # Check whether --enable-euptex-synctex was given.
3333 if test "${enable_euptex_synctex+set}" = set; then :
3334 enableval=$enable_euptex_synctex;
3337 test "x$enable_web2c:$enable_euptex" = xyes:yes && {
3338 need_ptexenc=yes
3340 # Check whether --enable-aleph was given.
3341 if test "${enable_aleph+set}" = set; then :
3342 enableval=$enable_aleph;
3344 case $enable_aleph in #(
3345 yes | no) :
3346 ;; #(
3347 *) :
3348 enable_aleph=yes ;;
3349 esac
3350 # Check whether --enable-pdftex was given.
3351 if test "${enable_pdftex+set}" = set; then :
3352 enableval=$enable_pdftex;
3354 case $enable_pdftex in #(
3355 yes | no) :
3356 ;; #(
3357 *) :
3358 enable_pdftex=yes ;;
3359 esac
3361 # Check whether --enable-pdftex-synctex was given.
3362 if test "${enable_pdftex_synctex+set}" = set; then :
3363 enableval=$enable_pdftex_synctex;
3366 test "x$enable_web2c:$enable_pdftex" = xyes:yes && {
3367 need_xpdf=yes
3368 need_libpng=yes
3370 # Check whether --enable-luatex was given.
3371 if test "${enable_luatex+set}" = set; then :
3372 enableval=$enable_luatex;
3374 case $enable_luatex in #(
3375 yes | no) :
3376 ;; #(
3377 *) :
3378 enable_luatex=yes ;;
3379 esac
3381 test "x$enable_web2c:$enable_luatex" = xyes:yes && {
3382 need_poppler=yes
3383 need_mpfr=yes
3384 need_cairo=yes
3385 need_libpng=yes
3386 need_zziplib=yes
3387 need_lua52=yes
3389 # Check whether --enable-luajittex was given.
3390 if test "${enable_luajittex+set}" = set; then :
3391 enableval=$enable_luajittex;
3393 case $enable_luajittex in #(
3394 yes | no) :
3395 ;; #(
3396 *) :
3397 enable_luajittex=yes ;;
3398 esac
3400 test "x$enable_web2c:$enable_luajittex" = xyes:yes && {
3401 need_poppler=yes
3402 need_mpfr=yes
3403 need_cairo=yes
3404 need_libpng=yes
3405 need_zziplib=yes
3406 need_luajit=yes
3408 # Check whether --enable-mp was given.
3409 if test "${enable_mp+set}" = set; then :
3410 enableval=$enable_mp;
3412 case $enable_mp in #(
3413 yes | no) :
3414 ;; #(
3415 *) :
3416 enable_mp=yes ;;
3417 esac
3419 test "x$enable_web2c:$enable_mp" = xyes:yes && {
3420 need_mpfr=yes
3421 need_cairo=yes
3422 need_libpng=yes
3424 # Check whether --enable-pmp was given.
3425 if test "${enable_pmp+set}" = set; then :
3426 enableval=$enable_pmp;
3428 case $enable_pmp in #(
3429 yes | no) :
3430 ;; #(
3431 *) :
3432 enable_pmp=yes ;;
3433 esac
3435 test "x$enable_web2c:$enable_pmp" = xyes:yes && {
3436 need_mpfr=yes
3437 need_cairo=yes
3438 need_libpng=yes
3439 need_ptexenc=yes
3441 # Check whether --enable-upmp was given.
3442 if test "${enable_upmp+set}" = set; then :
3443 enableval=$enable_upmp;
3445 case $enable_upmp in #(
3446 yes | no) :
3447 ;; #(
3448 *) :
3449 enable_upmp=yes ;;
3450 esac
3452 test "x$enable_web2c:$enable_upmp" = xyes:yes && {
3453 need_mpfr=yes
3454 need_cairo=yes
3455 need_libpng=yes
3456 need_ptexenc=yes
3458 # Check whether --enable-xetex was given.
3459 if test "${enable_xetex+set}" = set; then :
3460 enableval=$enable_xetex;
3462 case $enable_xetex in #(
3463 yes | no) :
3464 ;; #(
3465 *) :
3466 enable_xetex=yes ;;
3467 esac
3469 # Check whether --enable-xetex-synctex was given.
3470 if test "${enable_xetex_synctex+set}" = set; then :
3471 enableval=$enable_xetex_synctex;
3474 test "x$enable_web2c:$enable_xetex" = xyes:yes && {
3475 need_poppler=yes
3476 need_libpng=yes
3477 need_freetype2=yes
3478 need_teckit=yes
3479 need_harfbuzz=yes
3481 ## configure options for MF
3482 # Check whether --enable-mf was given.
3483 if test "${enable_mf+set}" = set; then :
3484 enableval=$enable_mf;
3486 case $enable_mf in #(
3487 yes | no) :
3488 ;; #(
3489 *) :
3490 enable_mf=yes ;;
3491 esac
3493 # Check whether --enable-mf-nowin was given.
3494 if test "${enable_mf_nowin+set}" = set; then :
3495 enableval=$enable_mf_nowin;
3497 case $enable_mf_nowin in #(
3498 yes | no) :
3499 ;; #(
3500 *) :
3501 enable_mf_nowin=yes ;;
3502 esac
3503 # Check whether --enable-mflua was given.
3504 if test "${enable_mflua+set}" = set; then :
3505 enableval=$enable_mflua;
3507 case $enable_mflua in #(
3508 yes | no) :
3509 ;; #(
3510 *) :
3511 enable_mflua=yes ;;
3512 esac
3514 # Check whether --enable-mflua-nowin was given.
3515 if test "${enable_mflua_nowin+set}" = set; then :
3516 enableval=$enable_mflua_nowin;
3518 case $enable_mflua_nowin in #(
3519 yes | no) :
3520 ;; #(
3521 *) :
3522 enable_mflua_nowin=no ;;
3523 esac
3525 test "x$enable_web2c:$enable_mflua" = xyes:yes && {
3526 need_lua52=yes
3528 # Check whether --enable-mfluajit was given.
3529 if test "${enable_mfluajit+set}" = set; then :
3530 enableval=$enable_mfluajit;
3532 case $enable_mfluajit in #(
3533 yes | no) :
3534 ;; #(
3535 *) :
3536 enable_mfluajit=yes ;;
3537 esac
3539 # Check whether --enable-mfluajit-nowin was given.
3540 if test "${enable_mfluajit_nowin+set}" = set; then :
3541 enableval=$enable_mfluajit_nowin;
3543 case $enable_mfluajit_nowin in #(
3544 yes | no) :
3545 ;; #(
3546 *) :
3547 enable_mfluajit_nowin=no ;;
3548 esac
3550 test "x$enable_web2c:$enable_mfluajit" = xyes:yes && {
3551 need_luajit=yes
3554 # Check whether --with-mf-x-toolkit was given.
3555 if test "${with_mf_x_toolkit+set}" = set; then :
3556 withval=$with_mf_x_toolkit;
3558 # Check whether --enable-epsfwin was given.
3559 if test "${enable_epsfwin+set}" = set; then :
3560 enableval=$enable_epsfwin;
3562 # Check whether --enable-hp2627win was given.
3563 if test "${enable_hp2627win+set}" = set; then :
3564 enableval=$enable_hp2627win;
3566 # Check whether --enable-mftalkwin was given.
3567 if test "${enable_mftalkwin+set}" = set; then :
3568 enableval=$enable_mftalkwin;
3570 # Check whether --enable-nextwin was given.
3571 if test "${enable_nextwin+set}" = set; then :
3572 enableval=$enable_nextwin;
3574 # Check whether --enable-regiswin was given.
3575 if test "${enable_regiswin+set}" = set; then :
3576 enableval=$enable_regiswin;
3578 # Check whether --enable-suntoolswin was given.
3579 if test "${enable_suntoolswin+set}" = set; then :
3580 enableval=$enable_suntoolswin;
3582 # Check whether --enable-tektronixwin was given.
3583 if test "${enable_tektronixwin+set}" = set; then :
3584 enableval=$enable_tektronixwin;
3586 # Check whether --enable-unitermwin was given.
3587 if test "${enable_unitermwin+set}" = set; then :
3588 enableval=$enable_unitermwin;
3590 ## configure options for WEB programs
3591 # Check whether --enable-web-progs was given.
3592 if test "${enable_web_progs+set}" = set; then :
3593 enableval=$enable_web_progs;
3595 ## configure option for the SyncTeX library and tool
3596 # Check whether --enable-synctex was given.
3597 if test "${enable_synctex+set}" = set; then :
3598 enableval=$enable_synctex;
3602 ## texk/texlive/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/texlive/
3603 ## configure options and TL libraries required for texlive
3604 # Check whether --enable-texlive was given.
3605 if test "${enable_texlive+set}" = set; then :
3606 enableval=$enable_texlive;
3608 case $enable_texlive in #(
3609 yes|no) :
3610 ;; #(
3611 *) :
3613 enable_texlive=$enable_all_pkgs
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-texlive=$enable_texlive'" >&5
3615 $as_echo "$as_me: Assuming \`--enable-texlive=$enable_texlive'" >&6;}
3616 ac_configure_args="$ac_configure_args '--enable-texlive=$enable_texlive'"
3618 esac
3620 ## texk/texlive/ac/texlive.ac: configure.ac fragment for the TeX Live subdirectory texk/texlive/
3621 ## configure options for texlive
3622 # Check whether --enable-linked-scripts was given.
3623 if test "${enable_linked_scripts+set}" = set; then :
3624 enableval=$enable_linked_scripts;
3628 ## libs/zziplib/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/zziplib/
3629 ## configure options and TL libraries required for zziplib
3631 # Check whether --with-system-zziplib was given.
3632 if test "${with_system_zziplib+set}" = set; then :
3633 withval=$with_system_zziplib;
3635 if test "x$with_system_zziplib" = x; then
3636 if test -f $srcdir/../libs/zziplib/configure; then
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`zziplib' headers and library from TL tree" >&5
3638 $as_echo "$as_me: Assuming \`zziplib' headers and library from TL tree" >&6;}
3639 with_system_zziplib=no
3640 else
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`zziplib' headers and library" >&5
3642 $as_echo "$as_me: Assuming installed \`zziplib' headers and library" >&6;}
3643 with_system_zziplib=yes
3645 ac_configure_args="$ac_configure_args '--with-system-zziplib=$with_system_zziplib'"
3647 if test "x$with_system_zziplib" = xyes; then
3648 if test "x$with_system_zlib" = x; then
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \`zlib' headers and library" >&5
3650 $as_echo "$as_me: -> installed \`zlib' headers and library" >&6;}
3651 with_system_zlib=yes
3652 ac_configure_args="$ac_configure_args '--with-system-zlib'"
3653 elif test "x$with_system_zlib" != xyes; then
3654 as_fn_error $? "Sorry, \`--with-system-zziplib' requires \`--with-system-zlib'" "$LINENO" 5
3658 test "x$need_zziplib" = xyes && {
3659 need_zlib=yes
3662 ## libs/poppler/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/poppler/
3663 ## configure options and TL libraries required for poppler
3665 # Check whether --with-system-poppler was given.
3666 if test "${with_system_poppler+set}" = set; then :
3667 withval=$with_system_poppler;
3669 if test "x$with_system_poppler" = x; then
3670 if test -f $srcdir/../libs/poppler/configure; then
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`poppler' headers and library from TL tree" >&5
3672 $as_echo "$as_me: Assuming \`poppler' headers and library from TL tree" >&6;}
3673 with_system_poppler=no
3674 else
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`poppler' headers and library" >&5
3676 $as_echo "$as_me: Assuming installed \`poppler' headers and library" >&6;}
3677 with_system_poppler=yes
3679 ac_configure_args="$ac_configure_args '--with-system-poppler=$with_system_poppler'"
3681 if test "x$with_system_poppler" = xyes; then
3682 if test "x$with_system_zlib" = x; then
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \`zlib' headers and library" >&5
3684 $as_echo "$as_me: -> installed \`zlib' headers and library" >&6;}
3685 with_system_zlib=yes
3686 ac_configure_args="$ac_configure_args '--with-system-zlib'"
3687 elif test "x$with_system_zlib" != xyes; then
3688 as_fn_error $? "Sorry, \`--with-system-poppler' requires \`--with-system-zlib'" "$LINENO" 5
3692 test "x$need_poppler" = xyes && {
3693 need_zlib=yes
3696 ## libs/mpfr/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/mpfr/
3697 ## configure options and TL libraries required for mpfr
3699 # Check whether --with-system-mpfr was given.
3700 if test "${with_system_mpfr+set}" = set; then :
3701 withval=$with_system_mpfr;
3704 # Check whether --with-mpfr-includes was given.
3705 if test "${with_mpfr_includes+set}" = set; then :
3706 withval=$with_mpfr_includes;
3709 # Check whether --with-mpfr-libdir was given.
3710 if test "${with_mpfr_libdir+set}" = set; then :
3711 withval=$with_mpfr_libdir;
3713 if test "x$with_system_mpfr" = x; then
3714 if test -f $srcdir/../libs/mpfr/configure; then
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`mpfr' headers and library from TL tree" >&5
3716 $as_echo "$as_me: Assuming \`mpfr' headers and library from TL tree" >&6;}
3717 with_system_mpfr=no
3718 else
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`mpfr' headers and library" >&5
3720 $as_echo "$as_me: Assuming installed \`mpfr' headers and library" >&6;}
3721 with_system_mpfr=yes
3723 ac_configure_args="$ac_configure_args '--with-system-mpfr=$with_system_mpfr'"
3725 if test "x$with_system_mpfr" = xyes; then
3726 if test "x$with_system_gmp" = x; then
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \`gmp' headers and library" >&5
3728 $as_echo "$as_me: -> installed \`gmp' headers and library" >&6;}
3729 with_system_gmp=yes
3730 ac_configure_args="$ac_configure_args '--with-system-gmp'"
3731 elif test "x$with_system_gmp" != xyes; then
3732 as_fn_error $? "Sorry, \`--with-system-mpfr' requires \`--with-system-gmp'" "$LINENO" 5
3736 test "x$need_mpfr" = xyes && {
3737 need_gmp=yes
3740 ## libs/gmp/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/gmp/
3741 ## configure options and TL libraries required for gmp
3743 # Check whether --with-system-gmp was given.
3744 if test "${with_system_gmp+set}" = set; then :
3745 withval=$with_system_gmp;
3748 # Check whether --with-gmp-includes was given.
3749 if test "${with_gmp_includes+set}" = set; then :
3750 withval=$with_gmp_includes;
3753 # Check whether --with-gmp-libdir was given.
3754 if test "${with_gmp_libdir+set}" = set; then :
3755 withval=$with_gmp_libdir;
3757 if test "x$with_system_gmp" = x; then
3758 if test -f $srcdir/../libs/gmp/configure; then
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`gmp' headers and library from TL tree" >&5
3760 $as_echo "$as_me: Assuming \`gmp' headers and library from TL tree" >&6;}
3761 with_system_gmp=no
3762 else
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`gmp' headers and library" >&5
3764 $as_echo "$as_me: Assuming installed \`gmp' headers and library" >&6;}
3765 with_system_gmp=yes
3767 ac_configure_args="$ac_configure_args '--with-system-gmp=$with_system_gmp'"
3770 ## libs/cairo/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/cairo/
3771 ## configure options and TL libraries required for cairo
3773 # Check whether --with-system-cairo was given.
3774 if test "${with_system_cairo+set}" = set; then :
3775 withval=$with_system_cairo;
3777 if test "x$with_system_cairo" = x; then
3778 if test -f $srcdir/../libs/cairo/configure; then
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`cairo' headers and library from TL tree" >&5
3780 $as_echo "$as_me: Assuming \`cairo' headers and library from TL tree" >&6;}
3781 with_system_cairo=no
3782 else
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`cairo' headers and library" >&5
3784 $as_echo "$as_me: Assuming installed \`cairo' headers and library" >&6;}
3785 with_system_cairo=yes
3787 ac_configure_args="$ac_configure_args '--with-system-cairo=$with_system_cairo'"
3789 if test "x$with_system_cairo" = xyes; then
3790 if test "x$with_system_pixman" = x; then
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \`pixman' headers and library" >&5
3792 $as_echo "$as_me: -> installed \`pixman' headers and library" >&6;}
3793 with_system_pixman=yes
3794 ac_configure_args="$ac_configure_args '--with-system-pixman'"
3795 elif test "x$with_system_pixman" != xyes; then
3796 as_fn_error $? "Sorry, \`--with-system-cairo' requires \`--with-system-pixman'" "$LINENO" 5
3800 test "x$need_cairo" = xyes && {
3801 need_pixman=yes
3804 ## libs/pixman/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/pixman/
3805 ## configure options and TL libraries required for pixman
3807 # Check whether --with-system-pixman was given.
3808 if test "${with_system_pixman+set}" = set; then :
3809 withval=$with_system_pixman;
3811 if test "x$with_system_pixman" = x; then
3812 if test -f $srcdir/../libs/pixman/configure; then
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`pixman' headers and library from TL tree" >&5
3814 $as_echo "$as_me: Assuming \`pixman' headers and library from TL tree" >&6;}
3815 with_system_pixman=no
3816 else
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`pixman' headers and library" >&5
3818 $as_echo "$as_me: Assuming installed \`pixman' headers and library" >&6;}
3819 with_system_pixman=yes
3821 ac_configure_args="$ac_configure_args '--with-system-pixman=$with_system_pixman'"
3824 ## libs/libpng/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/libpng/
3825 ## configure options and TL libraries required for libpng
3827 # Check whether --with-system-libpng was given.
3828 if test "${with_system_libpng+set}" = set; then :
3829 withval=$with_system_libpng;
3831 if test "x$with_system_libpng" = x; then
3832 if test -f $srcdir/../libs/libpng/configure; then
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`libpng' headers and library from TL tree" >&5
3834 $as_echo "$as_me: Assuming \`libpng' headers and library from TL tree" >&6;}
3835 with_system_libpng=no
3836 else
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`libpng' headers and library" >&5
3838 $as_echo "$as_me: Assuming installed \`libpng' headers and library" >&6;}
3839 with_system_libpng=yes
3841 ac_configure_args="$ac_configure_args '--with-system-libpng=$with_system_libpng'"
3843 if test "x$with_system_libpng" = xyes; then
3844 if test "x$with_system_zlib" = x; then
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \`zlib' headers and library" >&5
3846 $as_echo "$as_me: -> installed \`zlib' headers and library" >&6;}
3847 with_system_zlib=yes
3848 ac_configure_args="$ac_configure_args '--with-system-zlib'"
3849 elif test "x$with_system_zlib" != xyes; then
3850 as_fn_error $? "Sorry, \`--with-system-libpng' requires \`--with-system-zlib'" "$LINENO" 5
3854 test "x$need_libpng" = xyes && {
3855 need_zlib=yes
3858 ## libs/luajit/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/luajit/
3859 ## configure options and TL libraries required for luajit
3861 ## libs/lua52/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/lua52/
3862 ## configure options and TL libraries required for lua52
3864 ## libs/zlib/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/zlib/
3865 ## configure options and TL libraries required for zlib
3867 # Check whether --with-system-zlib was given.
3868 if test "${with_system_zlib+set}" = set; then :
3869 withval=$with_system_zlib;
3872 # Check whether --with-zlib-includes was given.
3873 if test "${with_zlib_includes+set}" = set; then :
3874 withval=$with_zlib_includes;
3877 # Check whether --with-zlib-libdir was given.
3878 if test "${with_zlib_libdir+set}" = set; then :
3879 withval=$with_zlib_libdir;
3881 if test "x$with_system_zlib" = x; then
3882 if test -f $srcdir/../libs/zlib/configure; then
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`zlib' headers and library from TL tree" >&5
3884 $as_echo "$as_me: Assuming \`zlib' headers and library from TL tree" >&6;}
3885 with_system_zlib=no
3886 else
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`zlib' headers and library" >&5
3888 $as_echo "$as_me: Assuming installed \`zlib' headers and library" >&6;}
3889 with_system_zlib=yes
3891 ac_configure_args="$ac_configure_args '--with-system-zlib=$with_system_zlib'"
3895 ## texk/kpathsea/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/kpathsea/
3896 ## configure options and TL libraries required for kpathsea
3898 # Check whether --with-system-kpathsea was given.
3899 if test "${with_system_kpathsea+set}" = set; then :
3900 withval=$with_system_kpathsea;
3902 if test "x$with_system_kpathsea" = x; then
3903 if test -f $srcdir/../texk/kpathsea/configure; then
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`kpathsea' headers and library from TL tree" >&5
3905 $as_echo "$as_me: Assuming \`kpathsea' headers and library from TL tree" >&6;}
3906 with_system_kpathsea=no
3907 else
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`kpathsea' headers and library" >&5
3909 $as_echo "$as_me: Assuming installed \`kpathsea' headers and library" >&6;}
3910 with_system_kpathsea=yes
3912 ac_configure_args="$ac_configure_args '--with-system-kpathsea=$with_system_kpathsea'"
3915 ## texk/kpathsea/ac/mktex.ac: configure.ac fragment for the TeX Live
3916 ## subdirectory texk/kpathsea.
3917 ## configure defaults for mktexfmt & Co.
3918 # Check whether --enable-mktexmf-default was given.
3919 if test "${enable_mktexmf_default+set}" = set; then :
3920 enableval=$enable_mktexmf_default;
3922 # Check whether --enable-mktexpk-default was given.
3923 if test "${enable_mktexpk_default+set}" = set; then :
3924 enableval=$enable_mktexpk_default;
3926 # Check whether --enable-mktextfm-default was given.
3927 if test "${enable_mktextfm_default+set}" = set; then :
3928 enableval=$enable_mktextfm_default;
3930 # Check whether --enable-mkocp-default was given.
3931 if test "${enable_mkocp_default+set}" = set; then :
3932 enableval=$enable_mkocp_default;
3934 # Check whether --enable-mkofm-default was given.
3935 if test "${enable_mkofm_default+set}" = set; then :
3936 enableval=$enable_mkofm_default;
3938 # Check whether --enable-mktexfmt-default was given.
3939 if test "${enable_mktexfmt_default+set}" = set; then :
3940 enableval=$enable_mktexfmt_default;
3942 # Check whether --enable-mktextex-default was given.
3943 if test "${enable_mktextex_default+set}" = set; then :
3944 enableval=$enable_mktextex_default;
3950 am__api_version='1.15'
3952 # Find a good install program. We prefer a C program (faster),
3953 # so one script is as good as another. But avoid the broken or
3954 # incompatible versions:
3955 # SysV /etc/install, /usr/sbin/install
3956 # SunOS /usr/etc/install
3957 # IRIX /sbin/install
3958 # AIX /bin/install
3959 # AmigaOS /C/install, which installs bootblocks on floppy discs
3960 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3961 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3962 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3963 # OS/2's system install, which has a completely different semantic
3964 # ./install, which can be erroneously created by make from ./install.sh.
3965 # Reject install programs that cannot install multiple files.
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3967 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3968 if test -z "$INSTALL"; then
3969 if ${ac_cv_path_install+:} false; then :
3970 $as_echo_n "(cached) " >&6
3971 else
3972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3973 for as_dir in $PATH
3975 IFS=$as_save_IFS
3976 test -z "$as_dir" && as_dir=.
3977 # Account for people who put trailing slashes in PATH elements.
3978 case $as_dir/ in #((
3979 ./ | .// | /[cC]/* | \
3980 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3981 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3982 /usr/ucb/* ) ;;
3984 # OSF1 and SCO ODT 3.0 have their own names for install.
3985 # Don't use installbsd from OSF since it installs stuff as root
3986 # by default.
3987 for ac_prog in ginstall scoinst install; do
3988 for ac_exec_ext in '' $ac_executable_extensions; do
3989 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3990 if test $ac_prog = install &&
3991 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3992 # AIX install. It has an incompatible calling convention.
3994 elif test $ac_prog = install &&
3995 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3996 # program-specific install script used by HP pwplus--don't use.
3998 else
3999 rm -rf conftest.one conftest.two conftest.dir
4000 echo one > conftest.one
4001 echo two > conftest.two
4002 mkdir conftest.dir
4003 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4004 test -s conftest.one && test -s conftest.two &&
4005 test -s conftest.dir/conftest.one &&
4006 test -s conftest.dir/conftest.two
4007 then
4008 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4009 break 3
4013 done
4014 done
4016 esac
4018 done
4019 IFS=$as_save_IFS
4021 rm -rf conftest.one conftest.two conftest.dir
4024 if test "${ac_cv_path_install+set}" = set; then
4025 INSTALL=$ac_cv_path_install
4026 else
4027 # As a last resort, use the slow shell script. Don't cache a
4028 # value for INSTALL within a source directory, because that will
4029 # break other packages using the cache if that directory is
4030 # removed, or if the value is a relative name.
4031 INSTALL=$ac_install_sh
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4035 $as_echo "$INSTALL" >&6; }
4037 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4038 # It thinks the first close brace ends the variable substitution.
4039 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4041 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4043 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4046 $as_echo_n "checking whether build environment is sane... " >&6; }
4047 # Reject unsafe characters in $srcdir or the absolute working directory
4048 # name. Accept space and tab only in the latter.
4049 am_lf='
4051 case `pwd` in
4052 *[\\\"\#\$\&\'\`$am_lf]*)
4053 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
4054 esac
4055 case $srcdir in
4056 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
4057 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
4058 esac
4060 # Do 'set' in a subshell so we don't clobber the current shell's
4061 # arguments. Must try -L first in case configure is actually a
4062 # symlink; some systems play weird games with the mod time of symlinks
4063 # (eg FreeBSD returns the mod time of the symlink's containing
4064 # directory).
4065 if (
4066 am_has_slept=no
4067 for am_try in 1 2; do
4068 echo "timestamp, slept: $am_has_slept" > conftest.file
4069 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4070 if test "$*" = "X"; then
4071 # -L didn't work.
4072 set X `ls -t "$srcdir/configure" conftest.file`
4074 if test "$*" != "X $srcdir/configure conftest.file" \
4075 && test "$*" != "X conftest.file $srcdir/configure"; then
4077 # If neither matched, then we have a broken ls. This can happen
4078 # if, for instance, CONFIG_SHELL is bash and it inherits a
4079 # broken ls alias from the environment. This has actually
4080 # happened. Such a system could not be considered "sane".
4081 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
4082 alias in your environment" "$LINENO" 5
4084 if test "$2" = conftest.file || test $am_try -eq 2; then
4085 break
4087 # Just in case.
4088 sleep 1
4089 am_has_slept=yes
4090 done
4091 test "$2" = conftest.file
4093 then
4094 # Ok.
4096 else
4097 as_fn_error $? "newly created file is older than distributed files!
4098 Check your system clock" "$LINENO" 5
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4101 $as_echo "yes" >&6; }
4102 # If we didn't sleep, we still need to ensure time stamps of config.status and
4103 # generated files are strictly newer.
4104 am_sleep_pid=
4105 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
4106 ( sleep 1 ) &
4107 am_sleep_pid=$!
4110 rm -f conftest.file
4112 test "$program_prefix" != NONE &&
4113 program_transform_name="s&^&$program_prefix&;$program_transform_name"
4114 # Use a double $ so make ignores it.
4115 test "$program_suffix" != NONE &&
4116 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
4117 # Double any \ or $.
4118 # By default was `s,x,x', remove it if useless.
4119 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
4120 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
4122 if test x"${MISSING+set}" != xset; then
4123 case $am_aux_dir in
4124 *\ * | *\ *)
4125 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
4127 MISSING="\${SHELL} $am_aux_dir/missing" ;;
4128 esac
4130 # Use eval to expand $SHELL
4131 if eval "$MISSING --is-lightweight"; then
4132 am_missing_run="$MISSING "
4133 else
4134 am_missing_run=
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
4136 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
4139 if test x"${install_sh+set}" != xset; then
4140 case $am_aux_dir in
4141 *\ * | *\ *)
4142 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
4144 install_sh="\${SHELL} $am_aux_dir/install-sh"
4145 esac
4148 # Installed binaries are usually stripped using 'strip' when the user
4149 # run "make install-strip". However 'strip' might not be the right
4150 # tool to use in cross-compilation environments, therefore Automake
4151 # will honor the 'STRIP' environment variable to overrule this program.
4152 if test "$cross_compiling" != no; then
4153 if test -n "$ac_tool_prefix"; then
4154 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4155 set dummy ${ac_tool_prefix}strip; ac_word=$2
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4157 $as_echo_n "checking for $ac_word... " >&6; }
4158 if ${ac_cv_prog_STRIP+:} false; then :
4159 $as_echo_n "(cached) " >&6
4160 else
4161 if test -n "$STRIP"; then
4162 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4163 else
4164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4165 for as_dir in $PATH
4167 IFS=$as_save_IFS
4168 test -z "$as_dir" && as_dir=.
4169 for ac_exec_ext in '' $ac_executable_extensions; do
4170 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4171 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4173 break 2
4175 done
4176 done
4177 IFS=$as_save_IFS
4181 STRIP=$ac_cv_prog_STRIP
4182 if test -n "$STRIP"; then
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4184 $as_echo "$STRIP" >&6; }
4185 else
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4187 $as_echo "no" >&6; }
4192 if test -z "$ac_cv_prog_STRIP"; then
4193 ac_ct_STRIP=$STRIP
4194 # Extract the first word of "strip", so it can be a program name with args.
4195 set dummy strip; ac_word=$2
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4197 $as_echo_n "checking for $ac_word... " >&6; }
4198 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
4199 $as_echo_n "(cached) " >&6
4200 else
4201 if test -n "$ac_ct_STRIP"; then
4202 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4203 else
4204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4205 for as_dir in $PATH
4207 IFS=$as_save_IFS
4208 test -z "$as_dir" && as_dir=.
4209 for ac_exec_ext in '' $ac_executable_extensions; do
4210 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4211 ac_cv_prog_ac_ct_STRIP="strip"
4212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4213 break 2
4215 done
4216 done
4217 IFS=$as_save_IFS
4221 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4222 if test -n "$ac_ct_STRIP"; then
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4224 $as_echo "$ac_ct_STRIP" >&6; }
4225 else
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4227 $as_echo "no" >&6; }
4230 if test "x$ac_ct_STRIP" = x; then
4231 STRIP=":"
4232 else
4233 case $cross_compiling:$ac_tool_warned in
4234 yes:)
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4236 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4237 ac_tool_warned=yes ;;
4238 esac
4239 STRIP=$ac_ct_STRIP
4241 else
4242 STRIP="$ac_cv_prog_STRIP"
4246 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4249 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4250 if test -z "$MKDIR_P"; then
4251 if ${ac_cv_path_mkdir+:} false; then :
4252 $as_echo_n "(cached) " >&6
4253 else
4254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4255 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
4257 IFS=$as_save_IFS
4258 test -z "$as_dir" && as_dir=.
4259 for ac_prog in mkdir gmkdir; do
4260 for ac_exec_ext in '' $ac_executable_extensions; do
4261 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
4262 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4263 'mkdir (GNU coreutils) '* | \
4264 'mkdir (coreutils) '* | \
4265 'mkdir (fileutils) '4.1*)
4266 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
4267 break 3;;
4268 esac
4269 done
4270 done
4271 done
4272 IFS=$as_save_IFS
4276 test -d ./--version && rmdir ./--version
4277 if test "${ac_cv_path_mkdir+set}" = set; then
4278 MKDIR_P="$ac_cv_path_mkdir -p"
4279 else
4280 # As a last resort, use the slow shell script. Don't cache a
4281 # value for MKDIR_P within a source directory, because that will
4282 # break other packages using the cache if that directory is
4283 # removed, or if the value is a relative name.
4284 MKDIR_P="$ac_install_sh -d"
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4288 $as_echo "$MKDIR_P" >&6; }
4290 for ac_prog in gawk mawk nawk awk
4292 # Extract the first word of "$ac_prog", so it can be a program name with args.
4293 set dummy $ac_prog; ac_word=$2
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4295 $as_echo_n "checking for $ac_word... " >&6; }
4296 if ${ac_cv_prog_AWK+:} false; then :
4297 $as_echo_n "(cached) " >&6
4298 else
4299 if test -n "$AWK"; then
4300 ac_cv_prog_AWK="$AWK" # Let the user override the test.
4301 else
4302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4303 for as_dir in $PATH
4305 IFS=$as_save_IFS
4306 test -z "$as_dir" && as_dir=.
4307 for ac_exec_ext in '' $ac_executable_extensions; do
4308 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4309 ac_cv_prog_AWK="$ac_prog"
4310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4311 break 2
4313 done
4314 done
4315 IFS=$as_save_IFS
4319 AWK=$ac_cv_prog_AWK
4320 if test -n "$AWK"; then
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4322 $as_echo "$AWK" >&6; }
4323 else
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4325 $as_echo "no" >&6; }
4329 test -n "$AWK" && break
4330 done
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4333 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4334 set x ${MAKE-make}
4335 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4336 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4337 $as_echo_n "(cached) " >&6
4338 else
4339 cat >conftest.make <<\_ACEOF
4340 SHELL = /bin/sh
4341 all:
4342 @echo '@@@%%%=$(MAKE)=@@@%%%'
4343 _ACEOF
4344 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4345 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4346 *@@@%%%=?*=@@@%%%*)
4347 eval ac_cv_prog_make_${ac_make}_set=yes;;
4349 eval ac_cv_prog_make_${ac_make}_set=no;;
4350 esac
4351 rm -f conftest.make
4353 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4355 $as_echo "yes" >&6; }
4356 SET_MAKE=
4357 else
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4359 $as_echo "no" >&6; }
4360 SET_MAKE="MAKE=${MAKE-make}"
4363 rm -rf .tst 2>/dev/null
4364 mkdir .tst 2>/dev/null
4365 if test -d .tst; then
4366 am__leading_dot=.
4367 else
4368 am__leading_dot=_
4370 rmdir .tst 2>/dev/null
4372 DEPDIR="${am__leading_dot}deps"
4374 ac_config_commands="$ac_config_commands depfiles"
4377 am_make=${MAKE-make}
4378 cat > confinc << 'END'
4379 am__doit:
4380 @echo this is the am__doit target
4381 .PHONY: am__doit
4383 # If we don't find an include directive, just comment out the code.
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4385 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4386 am__include="#"
4387 am__quote=
4388 _am_result=none
4389 # First try GNU make style include.
4390 echo "include confinc" > confmf
4391 # Ignore all kinds of additional output from 'make'.
4392 case `$am_make -s -f confmf 2> /dev/null` in #(
4393 *the\ am__doit\ target*)
4394 am__include=include
4395 am__quote=
4396 _am_result=GNU
4398 esac
4399 # Now try BSD make style include.
4400 if test "$am__include" = "#"; then
4401 echo '.include "confinc"' > confmf
4402 case `$am_make -s -f confmf 2> /dev/null` in #(
4403 *the\ am__doit\ target*)
4404 am__include=.include
4405 am__quote="\""
4406 _am_result=BSD
4408 esac
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4413 $as_echo "$_am_result" >&6; }
4414 rm -f confinc confmf
4416 # Check whether --enable-dependency-tracking was given.
4417 if test "${enable_dependency_tracking+set}" = set; then :
4418 enableval=$enable_dependency_tracking;
4421 if test "x$enable_dependency_tracking" != xno; then
4422 am_depcomp="$ac_aux_dir/depcomp"
4423 AMDEPBACKSLASH='\'
4424 am__nodep='_no'
4426 if test "x$enable_dependency_tracking" != xno; then
4427 AMDEP_TRUE=
4428 AMDEP_FALSE='#'
4429 else
4430 AMDEP_TRUE='#'
4431 AMDEP_FALSE=
4435 # Check whether --enable-silent-rules was given.
4436 if test "${enable_silent_rules+set}" = set; then :
4437 enableval=$enable_silent_rules;
4440 case $enable_silent_rules in # (((
4441 yes) AM_DEFAULT_VERBOSITY=0;;
4442 no) AM_DEFAULT_VERBOSITY=1;;
4443 *) AM_DEFAULT_VERBOSITY=1;;
4444 esac
4445 am_make=${MAKE-make}
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4447 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4448 if ${am_cv_make_support_nested_variables+:} false; then :
4449 $as_echo_n "(cached) " >&6
4450 else
4451 if $as_echo 'TRUE=$(BAR$(V))
4452 BAR0=false
4453 BAR1=true
4455 am__doit:
4456 @$(TRUE)
4457 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4458 am_cv_make_support_nested_variables=yes
4459 else
4460 am_cv_make_support_nested_variables=no
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4464 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4465 if test $am_cv_make_support_nested_variables = yes; then
4466 AM_V='$(V)'
4467 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4468 else
4469 AM_V=$AM_DEFAULT_VERBOSITY
4470 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4472 AM_BACKSLASH='\'
4474 # Check whether --enable-compiler-warnings was given.
4475 if test "${enable_compiler_warnings+set}" = set; then :
4476 enableval=$enable_compiler_warnings;
4478 case $enable_compiler_warnings in #(
4479 no | min | yes | max | all) :
4480 ;; #(
4481 *) :
4482 if test "x$enable_maintainer_mode" = xyes; then :
4483 enable_compiler_warnings=yes
4484 else
4485 enable_compiler_warnings=min
4486 fi ;;
4487 esac
4490 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4491 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4492 # is not polluted with repeated "-I."
4493 am__isrc=' -I$(srcdir)'
4494 # test to see if srcdir already configured
4495 if test -f $srcdir/config.status; then
4496 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4500 # test whether we have cygpath
4501 if test -z "$CYGPATH_W"; then
4502 if (cygpath --version) >/dev/null 2>/dev/null; then
4503 CYGPATH_W='cygpath -w'
4504 else
4505 CYGPATH_W=echo
4510 # Define the identity of the package.
4511 PACKAGE='tex-live-utils'
4512 VERSION='2016/dev'
4515 cat >>confdefs.h <<_ACEOF
4516 #define PACKAGE "$PACKAGE"
4517 _ACEOF
4520 cat >>confdefs.h <<_ACEOF
4521 #define VERSION "$VERSION"
4522 _ACEOF
4524 # Some tools Automake needs.
4526 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4529 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4532 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4535 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4538 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4540 # For better backward compatibility. To be removed once Automake 1.9.x
4541 # dies out for good. For more background, see:
4542 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4543 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4544 mkdir_p='$(MKDIR_P)'
4546 # We need awk for the "check" target (and possibly the TAP driver). The
4547 # system "awk" is bad on some platforms.
4548 # Always define AMTAR for backward compatibility. Yes, it's still used
4549 # in the wild :-( We should find a proper way to deprecate it ...
4550 AMTAR='$${TAR-tar}'
4553 # We'll loop over all known methods to create a tar archive until one works.
4554 _am_tools='gnutar pax cpio none'
4556 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
4562 depcc="$CC" am_compiler_list=
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4565 $as_echo_n "checking dependency style of $depcc... " >&6; }
4566 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4567 $as_echo_n "(cached) " >&6
4568 else
4569 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4570 # We make a subdir and do the tests there. Otherwise we can end up
4571 # making bogus files that we don't know about and never remove. For
4572 # instance it was reported that on HP-UX the gcc test will end up
4573 # making a dummy file named 'D' -- because '-MD' means "put the output
4574 # in D".
4575 rm -rf conftest.dir
4576 mkdir conftest.dir
4577 # Copy depcomp to subdir because otherwise we won't find it if we're
4578 # using a relative directory.
4579 cp "$am_depcomp" conftest.dir
4580 cd conftest.dir
4581 # We will build objects and dependencies in a subdirectory because
4582 # it helps to detect inapplicable dependency modes. For instance
4583 # both Tru64's cc and ICC support -MD to output dependencies as a
4584 # side effect of compilation, but ICC will put the dependencies in
4585 # the current directory while Tru64 will put them in the object
4586 # directory.
4587 mkdir sub
4589 am_cv_CC_dependencies_compiler_type=none
4590 if test "$am_compiler_list" = ""; then
4591 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4593 am__universal=false
4594 case " $depcc " in #(
4595 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4596 esac
4598 for depmode in $am_compiler_list; do
4599 # Setup a source with many dependencies, because some compilers
4600 # like to wrap large dependency lists on column 80 (with \), and
4601 # we should not choose a depcomp mode which is confused by this.
4603 # We need to recreate these files for each test, as the compiler may
4604 # overwrite some of them when testing with obscure command lines.
4605 # This happens at least with the AIX C compiler.
4606 : > sub/conftest.c
4607 for i in 1 2 3 4 5 6; do
4608 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4609 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4610 # Solaris 10 /bin/sh.
4611 echo '/* dummy */' > sub/conftst$i.h
4612 done
4613 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4615 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4616 # mode. It turns out that the SunPro C++ compiler does not properly
4617 # handle '-M -o', and we need to detect this. Also, some Intel
4618 # versions had trouble with output in subdirs.
4619 am__obj=sub/conftest.${OBJEXT-o}
4620 am__minus_obj="-o $am__obj"
4621 case $depmode in
4622 gcc)
4623 # This depmode causes a compiler race in universal mode.
4624 test "$am__universal" = false || continue
4626 nosideeffect)
4627 # After this tag, mechanisms are not by side-effect, so they'll
4628 # only be used when explicitly requested.
4629 if test "x$enable_dependency_tracking" = xyes; then
4630 continue
4631 else
4632 break
4635 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4636 # This compiler won't grok '-c -o', but also, the minuso test has
4637 # not run yet. These depmodes are late enough in the game, and
4638 # so weak that their functioning should not be impacted.
4639 am__obj=conftest.${OBJEXT-o}
4640 am__minus_obj=
4642 none) break ;;
4643 esac
4644 if depmode=$depmode \
4645 source=sub/conftest.c object=$am__obj \
4646 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4647 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4648 >/dev/null 2>conftest.err &&
4649 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4650 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4651 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4652 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4653 # icc doesn't choke on unknown options, it will just issue warnings
4654 # or remarks (even with -Werror). So we grep stderr for any message
4655 # that says an option was ignored or not supported.
4656 # When given -MP, icc 7.0 and 7.1 complain thusly:
4657 # icc: Command line warning: ignoring option '-M'; no argument required
4658 # The diagnosis changed in icc 8.0:
4659 # icc: Command line remark: option '-MP' not supported
4660 if (grep 'ignoring option' conftest.err ||
4661 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4662 am_cv_CC_dependencies_compiler_type=$depmode
4663 break
4666 done
4668 cd ..
4669 rm -rf conftest.dir
4670 else
4671 am_cv_CC_dependencies_compiler_type=none
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4676 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4677 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4680 test "x$enable_dependency_tracking" != xno \
4681 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4682 am__fastdepCC_TRUE=
4683 am__fastdepCC_FALSE='#'
4684 else
4685 am__fastdepCC_TRUE='#'
4686 am__fastdepCC_FALSE=
4691 # POSIX will say in a future version that running "rm -f" with no argument
4692 # is OK; and we want to be able to make that assumption in our Makefile
4693 # recipes. So use an aggressive probe to check that the usage we want is
4694 # actually supported "in the wild" to an acceptable degree.
4695 # See automake bug#10828.
4696 # To make any issue more visible, cause the running configure to be aborted
4697 # by default if the 'rm' program in use doesn't match our expectations; the
4698 # user can still override this though.
4699 if rm -f && rm -fr && rm -rf; then : OK; else
4700 cat >&2 <<'END'
4701 Oops!
4703 Your 'rm' program seems unable to run without file operands specified
4704 on the command line, even when the '-f' option is present. This is contrary
4705 to the behaviour of most rm programs out there, and not conforming with
4706 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4708 Please tell bug-automake@gnu.org about your system, including the value
4709 of your $PATH and any error possibly output before this message. This
4710 can help us improve future automake versions.
4713 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
4714 echo 'Configuration will proceed anyway, since you have set the' >&2
4715 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4716 echo >&2
4717 else
4718 cat >&2 <<'END'
4719 Aborting the configuration process, to ensure you take notice of the issue.
4721 You can download and install GNU coreutils to get an 'rm' implementation
4722 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4724 If you want to complete the configuration process using your problematic
4725 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4726 to "yes", and re-run configure.
4729 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4735 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4736 # Check whether --enable-maintainer-mode was given.
4737 if test "${enable_maintainer_mode+set}" = set; then :
4738 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4739 else
4740 USE_MAINTAINER_MODE=no
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4744 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4745 if test $USE_MAINTAINER_MODE = yes; then
4746 MAINTAINER_MODE_TRUE=
4747 MAINTAINER_MODE_FALSE='#'
4748 else
4749 MAINTAINER_MODE_TRUE='#'
4750 MAINTAINER_MODE_FALSE=
4753 MAINT=$MAINTAINER_MODE_TRUE
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5
4757 $as_echo_n "checking whether the compiler accepts prototypes... " >&6; }
4758 if ${kb_cv_c_prototypes+:} false; then :
4759 $as_echo_n "(cached) " >&6
4760 else
4761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4762 /* end confdefs.h. */
4763 #include <stdarg.h>
4765 main ()
4767 extern void foo(int i,...);
4769 return 0;
4771 _ACEOF
4772 if ac_fn_c_try_link "$LINENO"; then :
4773 kb_cv_c_prototypes=yes
4774 else
4775 kb_cv_c_prototypes=no
4777 rm -f core conftest.err conftest.$ac_objext \
4778 conftest$ac_exeext conftest.$ac_ext
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5
4781 $as_echo "$kb_cv_c_prototypes" >&6; }
4782 if test "x$kb_cv_c_prototypes" = xno; then
4783 as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
4786 $as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
4787 if ${kpse_cv_warning_cflags+:} false; then :
4788 $as_echo_n "(cached) " >&6
4789 else
4790 if test "x$GCC" = xyes; then
4791 kpse_cv_warning_cflags=
4792 if test "x$enable_compiler_warnings" != xno; then
4793 kpse_cv_warning_cflags="-Wimplicit -Wreturn-type"
4794 case `$CC -dumpversion` in #(
4795 3.4.* | 4.* | 5.*) :
4796 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #(
4797 *) :
4799 esac
4800 case `$CC -dumpversion` in #(
4801 3.[234].* | 4.* | 5.*) :
4802 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #(
4803 *) :
4805 esac
4806 if test "x$enable_compiler_warnings" != xmin; then
4807 kpse_cv_warning_cflags="-Wall -Wunused $kpse_cv_warning_cflags"
4808 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
4809 if test "x$enable_compiler_warnings" != xyes; then
4810 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
4811 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings"
4812 case `$CC -dumpversion` in #(
4813 3.4.* | 4.* | 5.*) :
4814 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;; #(
4815 *) :
4817 esac
4818 if test "x$enable_compiler_warnings" != xmax; then
4819 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wshadow"
4824 elif test "x$enable_compiler_warnings" = xno; then
4825 kpse_cv_warning_cflags=
4826 else
4827 kpse_cv_warning_cflags= # FIXME: warning flags for non-GNU C compilers
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5
4831 $as_echo "$kpse_cv_warning_cflags" >&6; }
4832 WARNING_CFLAGS=$kpse_cv_warning_cflags
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Utils programs to build" >&5
4844 $as_echo_n "checking for Utils programs to build... " >&6; }
4845 MAKE_SUBDIRS=
4846 CONF_SUBDIRS=
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE_SUBDIRS" >&5
4849 $as_echo "$MAKE_SUBDIRS" >&6; }
4851 ac_config_files="$ac_config_files Makefile"
4854 cat >confcache <<\_ACEOF
4855 # This file is a shell script that caches the results of configure
4856 # tests run on this system so they can be shared between configure
4857 # scripts and configure runs, see configure's option --config-cache.
4858 # It is not useful on other systems. If it contains results you don't
4859 # want to keep, you may remove or edit it.
4861 # config.status only pays attention to the cache file if you give it
4862 # the --recheck option to rerun configure.
4864 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4865 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4866 # following values.
4868 _ACEOF
4870 # The following way of writing the cache mishandles newlines in values,
4871 # but we know of no workaround that is simple, portable, and efficient.
4872 # So, we kill variables containing newlines.
4873 # Ultrix sh set writes to stderr and can't be redirected directly,
4874 # and sets the high bit in the cache file unless we assign to the vars.
4876 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4877 eval ac_val=\$$ac_var
4878 case $ac_val in #(
4879 *${as_nl}*)
4880 case $ac_var in #(
4881 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4882 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4883 esac
4884 case $ac_var in #(
4885 _ | IFS | as_nl) ;; #(
4886 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4887 *) { eval $ac_var=; unset $ac_var;} ;;
4888 esac ;;
4889 esac
4890 done
4892 (set) 2>&1 |
4893 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4894 *${as_nl}ac_space=\ *)
4895 # `set' does not quote correctly, so add quotes: double-quote
4896 # substitution turns \\\\ into \\, and sed turns \\ into \.
4897 sed -n \
4898 "s/'/'\\\\''/g;
4899 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4900 ;; #(
4902 # `set' quotes correctly as required by POSIX, so do not add quotes.
4903 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4905 esac |
4906 sort
4908 sed '
4909 /^ac_cv_env_/b end
4910 t clear
4911 :clear
4912 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4913 t end
4914 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4915 :end' >>confcache
4916 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4917 if test -w "$cache_file"; then
4918 if test "x$cache_file" != "x/dev/null"; then
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4920 $as_echo "$as_me: updating cache $cache_file" >&6;}
4921 if test ! -f "$cache_file" || test -h "$cache_file"; then
4922 cat confcache >"$cache_file"
4923 else
4924 case $cache_file in #(
4925 */* | ?:*)
4926 mv -f confcache "$cache_file"$$ &&
4927 mv -f "$cache_file"$$ "$cache_file" ;; #(
4929 mv -f confcache "$cache_file" ;;
4930 esac
4933 else
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4935 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4938 rm -f confcache
4940 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4941 # Let make expand exec_prefix.
4942 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4944 # Transform confdefs.h into DEFS.
4945 # Protect against shell expansion while executing Makefile rules.
4946 # Protect against Makefile macro expansion.
4948 # If the first sed substitution is executed (which looks for macros that
4949 # take arguments), then branch to the quote section. Otherwise,
4950 # look for a macro that doesn't take arguments.
4951 ac_script='
4952 :mline
4953 /\\$/{
4955 s,\\\n,,
4956 b mline
4958 t clear
4959 :clear
4960 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4961 t quote
4962 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4963 t quote
4964 b any
4965 :quote
4966 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4967 s/\[/\\&/g
4968 s/\]/\\&/g
4969 s/\$/$$/g
4971 :any
4974 s/^\n//
4975 s/\n/ /g
4979 DEFS=`sed -n "$ac_script" confdefs.h`
4982 ac_libobjs=
4983 ac_ltlibobjs=
4985 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4986 # 1. Remove the extension, and $U if already installed.
4987 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4988 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4989 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4990 # will be set to the directory where LIBOBJS objects are built.
4991 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4992 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4993 done
4994 LIBOBJS=$ac_libobjs
4996 LTLIBOBJS=$ac_ltlibobjs
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
5000 $as_echo_n "checking that generated files are newer than configure... " >&6; }
5001 if test -n "$am_sleep_pid"; then
5002 # Hide warnings about reused PIDs.
5003 wait $am_sleep_pid 2>/dev/null
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
5006 $as_echo "done" >&6; }
5007 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5008 as_fn_error $? "conditional \"AMDEP\" was never defined.
5009 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5011 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5012 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5013 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5015 if test -n "$EXEEXT"; then
5016 am__EXEEXT_TRUE=
5017 am__EXEEXT_FALSE='#'
5018 else
5019 am__EXEEXT_TRUE='#'
5020 am__EXEEXT_FALSE=
5023 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5024 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
5025 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5028 : "${CONFIG_STATUS=./config.status}"
5029 ac_write_fail=0
5030 ac_clean_files_save=$ac_clean_files
5031 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5033 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5034 as_write_fail=0
5035 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5036 #! $SHELL
5037 # Generated by $as_me.
5038 # Run this file to recreate the current configuration.
5039 # Compiler output produced by configure, useful for debugging
5040 # configure, is in config.log if it exists.
5042 debug=false
5043 ac_cs_recheck=false
5044 ac_cs_silent=false
5046 SHELL=\${CONFIG_SHELL-$SHELL}
5047 export SHELL
5048 _ASEOF
5049 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5050 ## -------------------- ##
5051 ## M4sh Initialization. ##
5052 ## -------------------- ##
5054 # Be more Bourne compatible
5055 DUALCASE=1; export DUALCASE # for MKS sh
5056 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5057 emulate sh
5058 NULLCMD=:
5059 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5060 # is contrary to our usage. Disable this feature.
5061 alias -g '${1+"$@"}'='"$@"'
5062 setopt NO_GLOB_SUBST
5063 else
5064 case `(set -o) 2>/dev/null` in #(
5065 *posix*) :
5066 set -o posix ;; #(
5067 *) :
5069 esac
5073 as_nl='
5075 export as_nl
5076 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5077 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5078 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5079 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5080 # Prefer a ksh shell builtin over an external printf program on Solaris,
5081 # but without wasting forks for bash or zsh.
5082 if test -z "$BASH_VERSION$ZSH_VERSION" \
5083 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5084 as_echo='print -r --'
5085 as_echo_n='print -rn --'
5086 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5087 as_echo='printf %s\n'
5088 as_echo_n='printf %s'
5089 else
5090 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5091 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5092 as_echo_n='/usr/ucb/echo -n'
5093 else
5094 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5095 as_echo_n_body='eval
5096 arg=$1;
5097 case $arg in #(
5098 *"$as_nl"*)
5099 expr "X$arg" : "X\\(.*\\)$as_nl";
5100 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5101 esac;
5102 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5104 export as_echo_n_body
5105 as_echo_n='sh -c $as_echo_n_body as_echo'
5107 export as_echo_body
5108 as_echo='sh -c $as_echo_body as_echo'
5111 # The user is always right.
5112 if test "${PATH_SEPARATOR+set}" != set; then
5113 PATH_SEPARATOR=:
5114 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5115 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5116 PATH_SEPARATOR=';'
5121 # IFS
5122 # We need space, tab and new line, in precisely that order. Quoting is
5123 # there to prevent editors from complaining about space-tab.
5124 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5125 # splitting by setting IFS to empty value.)
5126 IFS=" "" $as_nl"
5128 # Find who we are. Look in the path if we contain no directory separator.
5129 as_myself=
5130 case $0 in #((
5131 *[\\/]* ) as_myself=$0 ;;
5132 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5133 for as_dir in $PATH
5135 IFS=$as_save_IFS
5136 test -z "$as_dir" && as_dir=.
5137 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5138 done
5139 IFS=$as_save_IFS
5142 esac
5143 # We did not find ourselves, most probably we were run as `sh COMMAND'
5144 # in which case we are not to be found in the path.
5145 if test "x$as_myself" = x; then
5146 as_myself=$0
5148 if test ! -f "$as_myself"; then
5149 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5150 exit 1
5153 # Unset variables that we do not need and which cause bugs (e.g. in
5154 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5155 # suppresses any "Segmentation fault" message there. '((' could
5156 # trigger a bug in pdksh 5.2.14.
5157 for as_var in BASH_ENV ENV MAIL MAILPATH
5158 do eval test x\${$as_var+set} = xset \
5159 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5160 done
5161 PS1='$ '
5162 PS2='> '
5163 PS4='+ '
5165 # NLS nuisances.
5166 LC_ALL=C
5167 export LC_ALL
5168 LANGUAGE=C
5169 export LANGUAGE
5171 # CDPATH.
5172 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5175 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5176 # ----------------------------------------
5177 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5178 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5179 # script with STATUS, using 1 if that was 0.
5180 as_fn_error ()
5182 as_status=$1; test $as_status -eq 0 && as_status=1
5183 if test "$4"; then
5184 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5185 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5187 $as_echo "$as_me: error: $2" >&2
5188 as_fn_exit $as_status
5189 } # as_fn_error
5192 # as_fn_set_status STATUS
5193 # -----------------------
5194 # Set $? to STATUS, without forking.
5195 as_fn_set_status ()
5197 return $1
5198 } # as_fn_set_status
5200 # as_fn_exit STATUS
5201 # -----------------
5202 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5203 as_fn_exit ()
5205 set +e
5206 as_fn_set_status $1
5207 exit $1
5208 } # as_fn_exit
5210 # as_fn_unset VAR
5211 # ---------------
5212 # Portably unset VAR.
5213 as_fn_unset ()
5215 { eval $1=; unset $1;}
5217 as_unset=as_fn_unset
5218 # as_fn_append VAR VALUE
5219 # ----------------------
5220 # Append the text in VALUE to the end of the definition contained in VAR. Take
5221 # advantage of any shell optimizations that allow amortized linear growth over
5222 # repeated appends, instead of the typical quadratic growth present in naive
5223 # implementations.
5224 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5225 eval 'as_fn_append ()
5227 eval $1+=\$2
5229 else
5230 as_fn_append ()
5232 eval $1=\$$1\$2
5234 fi # as_fn_append
5236 # as_fn_arith ARG...
5237 # ------------------
5238 # Perform arithmetic evaluation on the ARGs, and store the result in the
5239 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5240 # must be portable across $(()) and expr.
5241 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5242 eval 'as_fn_arith ()
5244 as_val=$(( $* ))
5246 else
5247 as_fn_arith ()
5249 as_val=`expr "$@" || test $? -eq 1`
5251 fi # as_fn_arith
5254 if expr a : '\(a\)' >/dev/null 2>&1 &&
5255 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5256 as_expr=expr
5257 else
5258 as_expr=false
5261 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5262 as_basename=basename
5263 else
5264 as_basename=false
5267 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5268 as_dirname=dirname
5269 else
5270 as_dirname=false
5273 as_me=`$as_basename -- "$0" ||
5274 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5275 X"$0" : 'X\(//\)$' \| \
5276 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5277 $as_echo X/"$0" |
5278 sed '/^.*\/\([^/][^/]*\)\/*$/{
5279 s//\1/
5282 /^X\/\(\/\/\)$/{
5283 s//\1/
5286 /^X\/\(\/\).*/{
5287 s//\1/
5290 s/.*/./; q'`
5292 # Avoid depending upon Character Ranges.
5293 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5294 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5295 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5296 as_cr_digits='0123456789'
5297 as_cr_alnum=$as_cr_Letters$as_cr_digits
5299 ECHO_C= ECHO_N= ECHO_T=
5300 case `echo -n x` in #(((((
5301 -n*)
5302 case `echo 'xy\c'` in
5303 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5304 xy) ECHO_C='\c';;
5305 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5306 ECHO_T=' ';;
5307 esac;;
5309 ECHO_N='-n';;
5310 esac
5312 rm -f conf$$ conf$$.exe conf$$.file
5313 if test -d conf$$.dir; then
5314 rm -f conf$$.dir/conf$$.file
5315 else
5316 rm -f conf$$.dir
5317 mkdir conf$$.dir 2>/dev/null
5319 if (echo >conf$$.file) 2>/dev/null; then
5320 if ln -s conf$$.file conf$$ 2>/dev/null; then
5321 as_ln_s='ln -s'
5322 # ... but there are two gotchas:
5323 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5324 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5325 # In both cases, we have to default to `cp -pR'.
5326 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5327 as_ln_s='cp -pR'
5328 elif ln conf$$.file conf$$ 2>/dev/null; then
5329 as_ln_s=ln
5330 else
5331 as_ln_s='cp -pR'
5333 else
5334 as_ln_s='cp -pR'
5336 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5337 rmdir conf$$.dir 2>/dev/null
5340 # as_fn_mkdir_p
5341 # -------------
5342 # Create "$as_dir" as a directory, including parents if necessary.
5343 as_fn_mkdir_p ()
5346 case $as_dir in #(
5347 -*) as_dir=./$as_dir;;
5348 esac
5349 test -d "$as_dir" || eval $as_mkdir_p || {
5350 as_dirs=
5351 while :; do
5352 case $as_dir in #(
5353 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5354 *) as_qdir=$as_dir;;
5355 esac
5356 as_dirs="'$as_qdir' $as_dirs"
5357 as_dir=`$as_dirname -- "$as_dir" ||
5358 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5359 X"$as_dir" : 'X\(//\)[^/]' \| \
5360 X"$as_dir" : 'X\(//\)$' \| \
5361 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5362 $as_echo X"$as_dir" |
5363 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5364 s//\1/
5367 /^X\(\/\/\)[^/].*/{
5368 s//\1/
5371 /^X\(\/\/\)$/{
5372 s//\1/
5375 /^X\(\/\).*/{
5376 s//\1/
5379 s/.*/./; q'`
5380 test -d "$as_dir" && break
5381 done
5382 test -z "$as_dirs" || eval "mkdir $as_dirs"
5383 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5386 } # as_fn_mkdir_p
5387 if mkdir -p . 2>/dev/null; then
5388 as_mkdir_p='mkdir -p "$as_dir"'
5389 else
5390 test -d ./-p && rmdir ./-p
5391 as_mkdir_p=false
5395 # as_fn_executable_p FILE
5396 # -----------------------
5397 # Test if FILE is an executable regular file.
5398 as_fn_executable_p ()
5400 test -f "$1" && test -x "$1"
5401 } # as_fn_executable_p
5402 as_test_x='test -x'
5403 as_executable_p=as_fn_executable_p
5405 # Sed expression to map a string onto a valid CPP name.
5406 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5408 # Sed expression to map a string onto a valid variable name.
5409 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5412 exec 6>&1
5413 ## ----------------------------------- ##
5414 ## Main body of $CONFIG_STATUS script. ##
5415 ## ----------------------------------- ##
5416 _ASEOF
5417 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5419 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5420 # Save the log message, to keep $0 and so on meaningful, and to
5421 # report actual input values of CONFIG_FILES etc. instead of their
5422 # values after options handling.
5423 ac_log="
5424 This file was extended by TeX Live utils $as_me 2016/dev, which was
5425 generated by GNU Autoconf 2.69. Invocation command line was
5427 CONFIG_FILES = $CONFIG_FILES
5428 CONFIG_HEADERS = $CONFIG_HEADERS
5429 CONFIG_LINKS = $CONFIG_LINKS
5430 CONFIG_COMMANDS = $CONFIG_COMMANDS
5431 $ $0 $@
5433 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5436 _ACEOF
5438 case $ac_config_files in *"
5439 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5440 esac
5444 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5445 # Files that config.status was made for.
5446 config_files="$ac_config_files"
5447 config_commands="$ac_config_commands"
5449 _ACEOF
5451 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5452 ac_cs_usage="\
5453 \`$as_me' instantiates files and other configuration actions
5454 from templates according to the current configuration. Unless the files
5455 and actions are specified as TAGs, all are instantiated by default.
5457 Usage: $0 [OPTION]... [TAG]...
5459 -h, --help print this help, then exit
5460 -V, --version print version number and configuration settings, then exit
5461 --config print configuration, then exit
5462 -q, --quiet, --silent
5463 do not print progress messages
5464 -d, --debug don't remove temporary files
5465 --recheck update $as_me by reconfiguring in the same conditions
5466 --file=FILE[:TEMPLATE]
5467 instantiate the configuration file FILE
5469 Configuration files:
5470 $config_files
5472 Configuration commands:
5473 $config_commands
5475 Report bugs to <tex-k@tug.org>."
5477 _ACEOF
5478 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5479 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5480 ac_cs_version="\\
5481 TeX Live utils config.status 2016/dev
5482 configured by $0, generated by GNU Autoconf 2.69,
5483 with options \\"\$ac_cs_config\\"
5485 Copyright (C) 2012 Free Software Foundation, Inc.
5486 This config.status script is free software; the Free Software Foundation
5487 gives unlimited permission to copy, distribute and modify it."
5489 ac_pwd='$ac_pwd'
5490 srcdir='$srcdir'
5491 INSTALL='$INSTALL'
5492 MKDIR_P='$MKDIR_P'
5493 AWK='$AWK'
5494 test -n "\$AWK" || AWK=awk
5495 _ACEOF
5497 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5498 # The default lists apply if the user does not specify any file.
5499 ac_need_defaults=:
5500 while test $# != 0
5502 case $1 in
5503 --*=?*)
5504 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5505 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5506 ac_shift=:
5508 --*=)
5509 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5510 ac_optarg=
5511 ac_shift=:
5514 ac_option=$1
5515 ac_optarg=$2
5516 ac_shift=shift
5518 esac
5520 case $ac_option in
5521 # Handling of the options.
5522 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5523 ac_cs_recheck=: ;;
5524 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5525 $as_echo "$ac_cs_version"; exit ;;
5526 --config | --confi | --conf | --con | --co | --c )
5527 $as_echo "$ac_cs_config"; exit ;;
5528 --debug | --debu | --deb | --de | --d | -d )
5529 debug=: ;;
5530 --file | --fil | --fi | --f )
5531 $ac_shift
5532 case $ac_optarg in
5533 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5534 '') as_fn_error $? "missing file argument" ;;
5535 esac
5536 as_fn_append CONFIG_FILES " '$ac_optarg'"
5537 ac_need_defaults=false;;
5538 --he | --h | --help | --hel | -h )
5539 $as_echo "$ac_cs_usage"; exit ;;
5540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5541 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5542 ac_cs_silent=: ;;
5544 # This is an error.
5545 -*) as_fn_error $? "unrecognized option: \`$1'
5546 Try \`$0 --help' for more information." ;;
5548 *) as_fn_append ac_config_targets " $1"
5549 ac_need_defaults=false ;;
5551 esac
5552 shift
5553 done
5555 ac_configure_extra_args=
5557 if $ac_cs_silent; then
5558 exec 6>/dev/null
5559 ac_configure_extra_args="$ac_configure_extra_args --silent"
5562 _ACEOF
5563 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5564 if \$ac_cs_recheck; then
5565 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5566 shift
5567 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5568 CONFIG_SHELL='$SHELL'
5569 export CONFIG_SHELL
5570 exec "\$@"
5573 _ACEOF
5574 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5575 exec 5>>config.log
5577 echo
5578 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5579 ## Running $as_me. ##
5580 _ASBOX
5581 $as_echo "$ac_log"
5582 } >&5
5584 _ACEOF
5585 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5587 # INIT-COMMANDS
5589 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5591 _ACEOF
5593 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5595 # Handling of arguments.
5596 for ac_config_target in $ac_config_targets
5598 case $ac_config_target in
5599 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5600 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5602 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5603 esac
5604 done
5607 # If the user did not use the arguments to specify the items to instantiate,
5608 # then the envvar interface is used. Set only those that are not.
5609 # We use the long form for the default assignment because of an extremely
5610 # bizarre bug on SunOS 4.1.3.
5611 if $ac_need_defaults; then
5612 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5613 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5616 # Have a temporary directory for convenience. Make it in the build tree
5617 # simply because there is no reason against having it here, and in addition,
5618 # creating and moving files from /tmp can sometimes cause problems.
5619 # Hook for its removal unless debugging.
5620 # Note that there is a small window in which the directory will not be cleaned:
5621 # after its creation but before its name has been assigned to `$tmp'.
5622 $debug ||
5624 tmp= ac_tmp=
5625 trap 'exit_status=$?
5626 : "${ac_tmp:=$tmp}"
5627 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5629 trap 'as_fn_exit 1' 1 2 13 15
5631 # Create a (secure) tmp directory for tmp files.
5634 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5635 test -d "$tmp"
5636 } ||
5638 tmp=./conf$$-$RANDOM
5639 (umask 077 && mkdir "$tmp")
5640 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5641 ac_tmp=$tmp
5643 # Set up the scripts for CONFIG_FILES section.
5644 # No need to generate them if there are no CONFIG_FILES.
5645 # This happens for instance with `./config.status config.h'.
5646 if test -n "$CONFIG_FILES"; then
5649 ac_cr=`echo X | tr X '\015'`
5650 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5651 # But we know of no other shell where ac_cr would be empty at this
5652 # point, so we can use a bashism as a fallback.
5653 if test "x$ac_cr" = x; then
5654 eval ac_cr=\$\'\\r\'
5656 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5657 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5658 ac_cs_awk_cr='\\r'
5659 else
5660 ac_cs_awk_cr=$ac_cr
5663 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5664 _ACEOF
5668 echo "cat >conf$$subs.awk <<_ACEOF" &&
5669 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5670 echo "_ACEOF"
5671 } >conf$$subs.sh ||
5672 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5673 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5674 ac_delim='%!_!# '
5675 for ac_last_try in false false false false false :; do
5676 . ./conf$$subs.sh ||
5677 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5679 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5680 if test $ac_delim_n = $ac_delim_num; then
5681 break
5682 elif $ac_last_try; then
5683 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5684 else
5685 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5687 done
5688 rm -f conf$$subs.sh
5690 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5691 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5692 _ACEOF
5693 sed -n '
5695 s/^/S["/; s/!.*/"]=/
5698 s/^[^!]*!//
5699 :repl
5700 t repl
5701 s/'"$ac_delim"'$//
5702 t delim
5705 s/\(.\{148\}\)..*/\1/
5706 t more1
5707 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5710 b repl
5711 :more1
5712 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5715 s/.\{148\}//
5716 t nl
5717 :delim
5719 s/\(.\{148\}\)..*/\1/
5720 t more2
5721 s/["\\]/\\&/g; s/^/"/; s/$/"/
5724 :more2
5725 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5728 s/.\{148\}//
5729 t delim
5730 ' <conf$$subs.awk | sed '
5731 /^[^""]/{
5733 s/\n//
5735 ' >>$CONFIG_STATUS || ac_write_fail=1
5736 rm -f conf$$subs.awk
5737 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5738 _ACAWK
5739 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5740 for (key in S) S_is_set[key] = 1
5741 FS = "\a"
5745 line = $ 0
5746 nfields = split(line, field, "@")
5747 substed = 0
5748 len = length(field[1])
5749 for (i = 2; i < nfields; i++) {
5750 key = field[i]
5751 keylen = length(key)
5752 if (S_is_set[key]) {
5753 value = S[key]
5754 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5755 len += length(value) + length(field[++i])
5756 substed = 1
5757 } else
5758 len += 1 + keylen
5761 print line
5764 _ACAWK
5765 _ACEOF
5766 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5767 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5768 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5769 else
5771 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5772 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5773 _ACEOF
5775 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5776 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5777 # trailing colons and then remove the whole line if VPATH becomes empty
5778 # (actually we leave an empty line to preserve line numbers).
5779 if test "x$srcdir" = x.; then
5780 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5782 s///
5783 s/^/:/
5784 s/[ ]*$/:/
5785 s/:\$(srcdir):/:/g
5786 s/:\${srcdir}:/:/g
5787 s/:@srcdir@:/:/g
5788 s/^:*//
5789 s/:*$//
5791 s/\(=[ ]*\).*/\1/
5793 s/\n//
5794 s/^[^=]*=[ ]*$//
5798 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5799 fi # test -n "$CONFIG_FILES"
5802 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
5803 shift
5804 for ac_tag
5806 case $ac_tag in
5807 :[FHLC]) ac_mode=$ac_tag; continue;;
5808 esac
5809 case $ac_mode$ac_tag in
5810 :[FHL]*:*);;
5811 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5812 :[FH]-) ac_tag=-:-;;
5813 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5814 esac
5815 ac_save_IFS=$IFS
5816 IFS=:
5817 set x $ac_tag
5818 IFS=$ac_save_IFS
5819 shift
5820 ac_file=$1
5821 shift
5823 case $ac_mode in
5824 :L) ac_source=$1;;
5825 :[FH])
5826 ac_file_inputs=
5827 for ac_f
5829 case $ac_f in
5830 -) ac_f="$ac_tmp/stdin";;
5831 *) # Look for the file first in the build tree, then in the source tree
5832 # (if the path is not absolute). The absolute path cannot be DOS-style,
5833 # because $ac_f cannot contain `:'.
5834 test -f "$ac_f" ||
5835 case $ac_f in
5836 [\\/$]*) false;;
5837 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5838 esac ||
5839 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5840 esac
5841 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5842 as_fn_append ac_file_inputs " '$ac_f'"
5843 done
5845 # Let's still pretend it is `configure' which instantiates (i.e., don't
5846 # use $as_me), people would be surprised to read:
5847 # /* config.h. Generated by config.status. */
5848 configure_input='Generated from '`
5849 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5850 `' by configure.'
5851 if test x"$ac_file" != x-; then
5852 configure_input="$ac_file. $configure_input"
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5854 $as_echo "$as_me: creating $ac_file" >&6;}
5856 # Neutralize special characters interpreted by sed in replacement strings.
5857 case $configure_input in #(
5858 *\&* | *\|* | *\\* )
5859 ac_sed_conf_input=`$as_echo "$configure_input" |
5860 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5861 *) ac_sed_conf_input=$configure_input;;
5862 esac
5864 case $ac_tag in
5865 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5866 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5867 esac
5869 esac
5871 ac_dir=`$as_dirname -- "$ac_file" ||
5872 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5873 X"$ac_file" : 'X\(//\)[^/]' \| \
5874 X"$ac_file" : 'X\(//\)$' \| \
5875 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5876 $as_echo X"$ac_file" |
5877 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5878 s//\1/
5881 /^X\(\/\/\)[^/].*/{
5882 s//\1/
5885 /^X\(\/\/\)$/{
5886 s//\1/
5889 /^X\(\/\).*/{
5890 s//\1/
5893 s/.*/./; q'`
5894 as_dir="$ac_dir"; as_fn_mkdir_p
5895 ac_builddir=.
5897 case "$ac_dir" in
5898 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5900 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5901 # A ".." for each directory in $ac_dir_suffix.
5902 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5903 case $ac_top_builddir_sub in
5904 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5905 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5906 esac ;;
5907 esac
5908 ac_abs_top_builddir=$ac_pwd
5909 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5910 # for backward compatibility:
5911 ac_top_builddir=$ac_top_build_prefix
5913 case $srcdir in
5914 .) # We are building in place.
5915 ac_srcdir=.
5916 ac_top_srcdir=$ac_top_builddir_sub
5917 ac_abs_top_srcdir=$ac_pwd ;;
5918 [\\/]* | ?:[\\/]* ) # Absolute name.
5919 ac_srcdir=$srcdir$ac_dir_suffix;
5920 ac_top_srcdir=$srcdir
5921 ac_abs_top_srcdir=$srcdir ;;
5922 *) # Relative name.
5923 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5924 ac_top_srcdir=$ac_top_build_prefix$srcdir
5925 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5926 esac
5927 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5930 case $ac_mode in
5933 # CONFIG_FILE
5936 case $INSTALL in
5937 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5938 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5939 esac
5940 ac_MKDIR_P=$MKDIR_P
5941 case $MKDIR_P in
5942 [\\/$]* | ?:[\\/]* ) ;;
5943 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5944 esac
5945 _ACEOF
5947 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5948 # If the template does not know about datarootdir, expand it.
5949 # FIXME: This hack should be removed a few years after 2.60.
5950 ac_datarootdir_hack=; ac_datarootdir_seen=
5951 ac_sed_dataroot='
5952 /datarootdir/ {
5956 /@datadir@/p
5957 /@docdir@/p
5958 /@infodir@/p
5959 /@localedir@/p
5960 /@mandir@/p'
5961 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5962 *datarootdir*) ac_datarootdir_seen=yes;;
5963 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5965 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5966 _ACEOF
5967 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5968 ac_datarootdir_hack='
5969 s&@datadir@&$datadir&g
5970 s&@docdir@&$docdir&g
5971 s&@infodir@&$infodir&g
5972 s&@localedir@&$localedir&g
5973 s&@mandir@&$mandir&g
5974 s&\\\${datarootdir}&$datarootdir&g' ;;
5975 esac
5976 _ACEOF
5978 # Neutralize VPATH when `$srcdir' = `.'.
5979 # Shell code in configure.ac might set extrasub.
5980 # FIXME: do we really want to maintain this feature?
5981 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5982 ac_sed_extra="$ac_vpsub
5983 $extrasub
5984 _ACEOF
5985 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5987 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5988 s|@configure_input@|$ac_sed_conf_input|;t t
5989 s&@top_builddir@&$ac_top_builddir_sub&;t t
5990 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5991 s&@srcdir@&$ac_srcdir&;t t
5992 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5993 s&@top_srcdir@&$ac_top_srcdir&;t t
5994 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5995 s&@builddir@&$ac_builddir&;t t
5996 s&@abs_builddir@&$ac_abs_builddir&;t t
5997 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5998 s&@INSTALL@&$ac_INSTALL&;t t
5999 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6000 $ac_datarootdir_hack
6002 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6003 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6005 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6006 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6007 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6008 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6010 which seems to be undefined. Please make sure it is defined" >&5
6011 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6012 which seems to be undefined. Please make sure it is defined" >&2;}
6014 rm -f "$ac_tmp/stdin"
6015 case $ac_file in
6016 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6017 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6018 esac \
6019 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6023 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6024 $as_echo "$as_me: executing $ac_file commands" >&6;}
6026 esac
6029 case $ac_file$ac_mode in
6030 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6031 # Older Autoconf quotes --file arguments for eval, but not when files
6032 # are listed without --file. Let's play safe and only enable the eval
6033 # if we detect the quoting.
6034 case $CONFIG_FILES in
6035 *\'*) eval set x "$CONFIG_FILES" ;;
6036 *) set x $CONFIG_FILES ;;
6037 esac
6038 shift
6039 for mf
6041 # Strip MF so we end up with the name of the file.
6042 mf=`echo "$mf" | sed -e 's/:.*$//'`
6043 # Check whether this is an Automake generated Makefile or not.
6044 # We used to match only the files named 'Makefile.in', but
6045 # some people rename them; so instead we look at the file content.
6046 # Grep'ing the first line is not enough: some people post-process
6047 # each Makefile.in and add a new line on top of each file to say so.
6048 # Grep'ing the whole file is not good either: AIX grep has a line
6049 # limit of 2048, but all sed's we know have understand at least 4000.
6050 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6051 dirpart=`$as_dirname -- "$mf" ||
6052 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6053 X"$mf" : 'X\(//\)[^/]' \| \
6054 X"$mf" : 'X\(//\)$' \| \
6055 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6056 $as_echo X"$mf" |
6057 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6058 s//\1/
6061 /^X\(\/\/\)[^/].*/{
6062 s//\1/
6065 /^X\(\/\/\)$/{
6066 s//\1/
6069 /^X\(\/\).*/{
6070 s//\1/
6073 s/.*/./; q'`
6074 else
6075 continue
6077 # Extract the definition of DEPDIR, am__include, and am__quote
6078 # from the Makefile without running 'make'.
6079 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6080 test -z "$DEPDIR" && continue
6081 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6082 test -z "$am__include" && continue
6083 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6084 # Find all dependency output files, they are included files with
6085 # $(DEPDIR) in their names. We invoke sed twice because it is the
6086 # simplest approach to changing $(DEPDIR) to its actual value in the
6087 # expansion.
6088 for file in `sed -n "
6089 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6090 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
6091 # Make sure the directory exists.
6092 test -f "$dirpart/$file" && continue
6093 fdir=`$as_dirname -- "$file" ||
6094 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6095 X"$file" : 'X\(//\)[^/]' \| \
6096 X"$file" : 'X\(//\)$' \| \
6097 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6098 $as_echo X"$file" |
6099 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6100 s//\1/
6103 /^X\(\/\/\)[^/].*/{
6104 s//\1/
6107 /^X\(\/\/\)$/{
6108 s//\1/
6111 /^X\(\/\).*/{
6112 s//\1/
6115 s/.*/./; q'`
6116 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6117 # echo "creating $dirpart/$file"
6118 echo '# dummy' > "$dirpart/$file"
6119 done
6120 done
6124 esac
6125 done # for ac_tag
6128 as_fn_exit 0
6129 _ACEOF
6130 ac_clean_files=$ac_clean_files_save
6132 test $ac_write_fail = 0 ||
6133 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6136 # configure is writing to config.log, and then calls config.status.
6137 # config.status does its own redirection, appending to config.log.
6138 # Unfortunately, on DOS this fails, as config.log is still kept open
6139 # by configure, so config.status won't be able to write to it; its
6140 # output is simply discarded. So we exec the FD to /dev/null,
6141 # effectively closing config.log, so it can be properly (re)opened and
6142 # appended to by config.status. When coming back to configure, we
6143 # need to make the FD available again.
6144 if test "$no_create" != yes; then
6145 ac_cs_success=:
6146 ac_config_status_args=
6147 test "$silent" = yes &&
6148 ac_config_status_args="$ac_config_status_args --quiet"
6149 exec 5>/dev/null
6150 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6151 exec 5>>config.log
6152 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6153 # would make configure fail if this is the last instruction.
6154 $ac_cs_success || as_fn_exit 1
6156 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6158 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}