beta-0.89.2
[luatex.git] / source / libs / configure
blob7fd994d92c512f1004fabb42707db137d758a1d0
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for TeX Live libs 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 libs'
581 PACKAGE_TARNAME='tex-live-libs'
582 PACKAGE_VERSION='2016/dev'
583 PACKAGE_STRING='TeX Live libs 2016/dev'
584 PACKAGE_BUGREPORT='tex-k@tug.org'
585 PACKAGE_URL=''
587 ac_unique_file="../build-aux/missing"
588 enable_option_checking=no
589 ac_subst_vars='am__EXEEXT_FALSE
590 am__EXEEXT_TRUE
591 LTLIBOBJS
592 LIBOBJS
593 CONF_SUBDIRS
594 MAKE_SUBDIRS
595 subdirs
596 WARNING_CFLAGS
597 MAINT
598 MAINTAINER_MODE_FALSE
599 MAINTAINER_MODE_TRUE
600 AM_BACKSLASH
601 AM_DEFAULT_VERBOSITY
602 AM_DEFAULT_V
603 AM_V
604 am__fastdepCC_FALSE
605 am__fastdepCC_TRUE
606 CCDEPMODE
607 am__nodep
608 AMDEPBACKSLASH
609 AMDEP_FALSE
610 AMDEP_TRUE
611 am__quote
612 am__include
613 DEPDIR
614 am__untar
615 am__tar
616 AMTAR
617 am__leading_dot
618 SET_MAKE
620 mkdir_p
621 MKDIR_P
622 INSTALL_STRIP_PROGRAM
623 STRIP
624 install_sh
625 MAKEINFO
626 AUTOHEADER
627 AUTOMAKE
628 AUTOCONF
629 ACLOCAL
630 VERSION
631 PACKAGE
632 CYGPATH_W
633 am__isrc
634 INSTALL_DATA
635 INSTALL_SCRIPT
636 INSTALL_PROGRAM
637 OBJEXT
638 EXEEXT
639 ac_ct_CC
640 CPPFLAGS
641 LDFLAGS
642 CFLAGS
644 host_os
645 host_vendor
646 host_cpu
647 host
648 build_os
649 build_vendor
650 build_cpu
651 build
652 target_alias
653 host_alias
654 build_alias
655 LIBS
656 ECHO_T
657 ECHO_N
658 ECHO_C
659 DEFS
660 mandir
661 localedir
662 libdir
663 psdir
664 pdfdir
665 dvidir
666 htmldir
667 infodir
668 docdir
669 oldincludedir
670 includedir
671 localstatedir
672 sharedstatedir
673 sysconfdir
674 datadir
675 datarootdir
676 libexecdir
677 sbindir
678 bindir
679 program_transform_name
680 prefix
681 exec_prefix
682 PACKAGE_URL
683 PACKAGE_BUGREPORT
684 PACKAGE_STRING
685 PACKAGE_VERSION
686 PACKAGE_TARNAME
687 PACKAGE_NAME
688 PATH_SEPARATOR
689 SHELL'
690 ac_subst_files=''
691 ac_user_opts='
692 enable_option_checking
693 enable_missing
694 enable_all_pkgs
695 enable_native_texlive_build
696 enable_multiplatform
697 enable_cxx_runtime_hack
698 enable_libtool_hack
699 enable_web2c
700 with_banner_add
701 with_editor
702 enable_auto_core
703 enable_dump_share
704 enable_ipc
705 enable_tex
706 enable_tex_synctex
707 enable_etex
708 enable_etex_synctex
709 enable_ptex
710 enable_ptex_synctex
711 enable_eptex
712 enable_eptex_synctex
713 enable_uptex
714 enable_uptex_synctex
715 enable_euptex
716 enable_euptex_synctex
717 enable_aleph
718 enable_pdftex
719 enable_pdftex_synctex
720 enable_luatex
721 enable_luajittex
722 enable_mp
723 enable_pmp
724 enable_upmp
725 enable_xetex
726 enable_xetex_synctex
727 enable_mf
728 enable_mf_nowin
729 enable_mflua
730 enable_mflua_nowin
731 enable_mfluajit
732 enable_mfluajit_nowin
733 with_mf_x_toolkit
734 enable_epsfwin
735 enable_hp2627win
736 enable_mftalkwin
737 enable_nextwin
738 enable_regiswin
739 enable_suntoolswin
740 enable_tektronixwin
741 enable_unitermwin
742 enable_web_progs
743 enable_synctex
744 enable_texlive
745 enable_linked_scripts
746 with_system_zziplib
747 with_system_poppler
748 with_system_mpfr
749 with_mpfr_includes
750 with_mpfr_libdir
751 with_system_gmp
752 with_gmp_includes
753 with_gmp_libdir
754 with_system_cairo
755 with_system_pixman
756 with_system_libpng
757 with_system_zlib
758 with_zlib_includes
759 with_zlib_libdir
760 with_system_kpathsea
761 enable_mktexmf_default
762 enable_mktexpk_default
763 enable_mktextfm_default
764 enable_mkocp_default
765 enable_mkofm_default
766 enable_mktexfmt_default
767 enable_mktextex_default
768 enable_dependency_tracking
769 enable_silent_rules
770 enable_maintainer_mode
771 enable_compiler_warnings
773 ac_precious_vars='build_alias
774 host_alias
775 target_alias
777 CFLAGS
778 LDFLAGS
779 LIBS
780 CPPFLAGS'
781 ac_subdirs_all='zziplib
782 poppler
783 mpfr
785 cairo
786 pixman
787 libpng
788 luajit
789 lua52
790 zlib'
792 # Initialize some variables set by options.
793 ac_init_help=
794 ac_init_version=false
795 ac_unrecognized_opts=
796 ac_unrecognized_sep=
797 # The variables have the same names as the options, with
798 # dashes changed to underlines.
799 cache_file=/dev/null
800 exec_prefix=NONE
801 no_create=
802 no_recursion=
803 prefix=NONE
804 program_prefix=NONE
805 program_suffix=NONE
806 program_transform_name=s,x,x,
807 silent=
808 site=
809 srcdir=
810 verbose=
811 x_includes=NONE
812 x_libraries=NONE
814 # Installation directory options.
815 # These are left unexpanded so users can "make install exec_prefix=/foo"
816 # and all the variables that are supposed to be based on exec_prefix
817 # by default will actually change.
818 # Use braces instead of parens because sh, perl, etc. also accept them.
819 # (The list follows the same order as the GNU Coding Standards.)
820 bindir='${exec_prefix}/bin'
821 sbindir='${exec_prefix}/sbin'
822 libexecdir='${exec_prefix}/libexec'
823 datarootdir='${prefix}/share'
824 datadir='${datarootdir}'
825 sysconfdir='${prefix}/etc'
826 sharedstatedir='${prefix}/com'
827 localstatedir='${prefix}/var'
828 includedir='${prefix}/include'
829 oldincludedir='/usr/include'
830 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
831 infodir='${datarootdir}/info'
832 htmldir='${docdir}'
833 dvidir='${docdir}'
834 pdfdir='${docdir}'
835 psdir='${docdir}'
836 libdir='${exec_prefix}/lib'
837 localedir='${datarootdir}/locale'
838 mandir='${datarootdir}/man'
840 ac_prev=
841 ac_dashdash=
842 for ac_option
844 # If the previous option needs an argument, assign it.
845 if test -n "$ac_prev"; then
846 eval $ac_prev=\$ac_option
847 ac_prev=
848 continue
851 case $ac_option in
852 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
853 *=) ac_optarg= ;;
854 *) ac_optarg=yes ;;
855 esac
857 # Accept the important Cygnus configure options, so we can diagnose typos.
859 case $ac_dashdash$ac_option in
861 ac_dashdash=yes ;;
863 -bindir | --bindir | --bindi | --bind | --bin | --bi)
864 ac_prev=bindir ;;
865 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
866 bindir=$ac_optarg ;;
868 -build | --build | --buil | --bui | --bu)
869 ac_prev=build_alias ;;
870 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
871 build_alias=$ac_optarg ;;
873 -cache-file | --cache-file | --cache-fil | --cache-fi \
874 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
875 ac_prev=cache_file ;;
876 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
877 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
878 cache_file=$ac_optarg ;;
880 --config-cache | -C)
881 cache_file=config.cache ;;
883 -datadir | --datadir | --datadi | --datad)
884 ac_prev=datadir ;;
885 -datadir=* | --datadir=* | --datadi=* | --datad=*)
886 datadir=$ac_optarg ;;
888 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
889 | --dataroo | --dataro | --datar)
890 ac_prev=datarootdir ;;
891 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
892 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
893 datarootdir=$ac_optarg ;;
895 -disable-* | --disable-*)
896 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
897 # Reject names that are not valid shell variable names.
898 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
899 as_fn_error $? "invalid feature name: $ac_useropt"
900 ac_useropt_orig=$ac_useropt
901 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
902 case $ac_user_opts in
904 "enable_$ac_useropt"
905 "*) ;;
906 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
907 ac_unrecognized_sep=', ';;
908 esac
909 eval enable_$ac_useropt=no ;;
911 -docdir | --docdir | --docdi | --doc | --do)
912 ac_prev=docdir ;;
913 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
914 docdir=$ac_optarg ;;
916 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
917 ac_prev=dvidir ;;
918 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
919 dvidir=$ac_optarg ;;
921 -enable-* | --enable-*)
922 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
923 # Reject names that are not valid shell variable names.
924 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
925 as_fn_error $? "invalid feature name: $ac_useropt"
926 ac_useropt_orig=$ac_useropt
927 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
928 case $ac_user_opts in
930 "enable_$ac_useropt"
931 "*) ;;
932 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
933 ac_unrecognized_sep=', ';;
934 esac
935 eval enable_$ac_useropt=\$ac_optarg ;;
937 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
938 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
939 | --exec | --exe | --ex)
940 ac_prev=exec_prefix ;;
941 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
942 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
943 | --exec=* | --exe=* | --ex=*)
944 exec_prefix=$ac_optarg ;;
946 -gas | --gas | --ga | --g)
947 # Obsolete; use --with-gas.
948 with_gas=yes ;;
950 -help | --help | --hel | --he | -h)
951 ac_init_help=long ;;
952 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
953 ac_init_help=recursive ;;
954 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
955 ac_init_help=short ;;
957 -host | --host | --hos | --ho)
958 ac_prev=host_alias ;;
959 -host=* | --host=* | --hos=* | --ho=*)
960 host_alias=$ac_optarg ;;
962 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
963 ac_prev=htmldir ;;
964 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
965 | --ht=*)
966 htmldir=$ac_optarg ;;
968 -includedir | --includedir | --includedi | --included | --include \
969 | --includ | --inclu | --incl | --inc)
970 ac_prev=includedir ;;
971 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
972 | --includ=* | --inclu=* | --incl=* | --inc=*)
973 includedir=$ac_optarg ;;
975 -infodir | --infodir | --infodi | --infod | --info | --inf)
976 ac_prev=infodir ;;
977 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
978 infodir=$ac_optarg ;;
980 -libdir | --libdir | --libdi | --libd)
981 ac_prev=libdir ;;
982 -libdir=* | --libdir=* | --libdi=* | --libd=*)
983 libdir=$ac_optarg ;;
985 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
986 | --libexe | --libex | --libe)
987 ac_prev=libexecdir ;;
988 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
989 | --libexe=* | --libex=* | --libe=*)
990 libexecdir=$ac_optarg ;;
992 -localedir | --localedir | --localedi | --localed | --locale)
993 ac_prev=localedir ;;
994 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
995 localedir=$ac_optarg ;;
997 -localstatedir | --localstatedir | --localstatedi | --localstated \
998 | --localstate | --localstat | --localsta | --localst | --locals)
999 ac_prev=localstatedir ;;
1000 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1001 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1002 localstatedir=$ac_optarg ;;
1004 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1005 ac_prev=mandir ;;
1006 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1007 mandir=$ac_optarg ;;
1009 -nfp | --nfp | --nf)
1010 # Obsolete; use --without-fp.
1011 with_fp=no ;;
1013 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1014 | --no-cr | --no-c | -n)
1015 no_create=yes ;;
1017 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1018 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1019 no_recursion=yes ;;
1021 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1022 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1023 | --oldin | --oldi | --old | --ol | --o)
1024 ac_prev=oldincludedir ;;
1025 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1026 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1027 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1028 oldincludedir=$ac_optarg ;;
1030 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1031 ac_prev=prefix ;;
1032 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1033 prefix=$ac_optarg ;;
1035 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1036 | --program-pre | --program-pr | --program-p)
1037 ac_prev=program_prefix ;;
1038 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1039 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1040 program_prefix=$ac_optarg ;;
1042 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1043 | --program-suf | --program-su | --program-s)
1044 ac_prev=program_suffix ;;
1045 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1046 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1047 program_suffix=$ac_optarg ;;
1049 -program-transform-name | --program-transform-name \
1050 | --program-transform-nam | --program-transform-na \
1051 | --program-transform-n | --program-transform- \
1052 | --program-transform | --program-transfor \
1053 | --program-transfo | --program-transf \
1054 | --program-trans | --program-tran \
1055 | --progr-tra | --program-tr | --program-t)
1056 ac_prev=program_transform_name ;;
1057 -program-transform-name=* | --program-transform-name=* \
1058 | --program-transform-nam=* | --program-transform-na=* \
1059 | --program-transform-n=* | --program-transform-=* \
1060 | --program-transform=* | --program-transfor=* \
1061 | --program-transfo=* | --program-transf=* \
1062 | --program-trans=* | --program-tran=* \
1063 | --progr-tra=* | --program-tr=* | --program-t=*)
1064 program_transform_name=$ac_optarg ;;
1066 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1067 ac_prev=pdfdir ;;
1068 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1069 pdfdir=$ac_optarg ;;
1071 -psdir | --psdir | --psdi | --psd | --ps)
1072 ac_prev=psdir ;;
1073 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1074 psdir=$ac_optarg ;;
1076 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1077 | -silent | --silent | --silen | --sile | --sil)
1078 silent=yes ;;
1080 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1081 ac_prev=sbindir ;;
1082 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1083 | --sbi=* | --sb=*)
1084 sbindir=$ac_optarg ;;
1086 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1087 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1088 | --sharedst | --shareds | --shared | --share | --shar \
1089 | --sha | --sh)
1090 ac_prev=sharedstatedir ;;
1091 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1092 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1093 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1094 | --sha=* | --sh=*)
1095 sharedstatedir=$ac_optarg ;;
1097 -site | --site | --sit)
1098 ac_prev=site ;;
1099 -site=* | --site=* | --sit=*)
1100 site=$ac_optarg ;;
1102 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1103 ac_prev=srcdir ;;
1104 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1105 srcdir=$ac_optarg ;;
1107 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1108 | --syscon | --sysco | --sysc | --sys | --sy)
1109 ac_prev=sysconfdir ;;
1110 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1111 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1112 sysconfdir=$ac_optarg ;;
1114 -target | --target | --targe | --targ | --tar | --ta | --t)
1115 ac_prev=target_alias ;;
1116 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1117 target_alias=$ac_optarg ;;
1119 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1120 verbose=yes ;;
1122 -version | --version | --versio | --versi | --vers | -V)
1123 ac_init_version=: ;;
1125 -with-* | --with-*)
1126 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1127 # Reject names that are not valid shell variable names.
1128 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1129 as_fn_error $? "invalid package name: $ac_useropt"
1130 ac_useropt_orig=$ac_useropt
1131 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1132 case $ac_user_opts in
1134 "with_$ac_useropt"
1135 "*) ;;
1136 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1137 ac_unrecognized_sep=', ';;
1138 esac
1139 eval with_$ac_useropt=\$ac_optarg ;;
1141 -without-* | --without-*)
1142 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1143 # Reject names that are not valid shell variable names.
1144 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1145 as_fn_error $? "invalid package name: $ac_useropt"
1146 ac_useropt_orig=$ac_useropt
1147 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1148 case $ac_user_opts in
1150 "with_$ac_useropt"
1151 "*) ;;
1152 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1153 ac_unrecognized_sep=', ';;
1154 esac
1155 eval with_$ac_useropt=no ;;
1157 --x)
1158 # Obsolete; use --with-x.
1159 with_x=yes ;;
1161 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1162 | --x-incl | --x-inc | --x-in | --x-i)
1163 ac_prev=x_includes ;;
1164 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1165 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1166 x_includes=$ac_optarg ;;
1168 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1169 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1170 ac_prev=x_libraries ;;
1171 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1172 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1173 x_libraries=$ac_optarg ;;
1175 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1176 Try \`$0 --help' for more information"
1179 *=*)
1180 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1181 # Reject names that are not valid shell variable names.
1182 case $ac_envvar in #(
1183 '' | [0-9]* | *[!_$as_cr_alnum]* )
1184 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1185 esac
1186 eval $ac_envvar=\$ac_optarg
1187 export $ac_envvar ;;
1190 # FIXME: should be removed in autoconf 3.0.
1191 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1192 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1193 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1194 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1197 esac
1198 done
1200 if test -n "$ac_prev"; then
1201 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1202 as_fn_error $? "missing argument to $ac_option"
1205 if test -n "$ac_unrecognized_opts"; then
1206 case $enable_option_checking in
1207 no) ;;
1208 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1209 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1210 esac
1213 # Check all directory arguments for consistency.
1214 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1215 datadir sysconfdir sharedstatedir localstatedir includedir \
1216 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1217 libdir localedir mandir
1219 eval ac_val=\$$ac_var
1220 # Remove trailing slashes.
1221 case $ac_val in
1222 */ )
1223 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1224 eval $ac_var=\$ac_val;;
1225 esac
1226 # Be sure to have absolute directory names.
1227 case $ac_val in
1228 [\\/$]* | ?:[\\/]* ) continue;;
1229 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1230 esac
1231 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1232 done
1234 # There might be people who depend on the old broken behavior: `$host'
1235 # used to hold the argument of --host etc.
1236 # FIXME: To remove some day.
1237 build=$build_alias
1238 host=$host_alias
1239 target=$target_alias
1241 # FIXME: To remove some day.
1242 if test "x$host_alias" != x; then
1243 if test "x$build_alias" = x; then
1244 cross_compiling=maybe
1245 elif test "x$build_alias" != "x$host_alias"; then
1246 cross_compiling=yes
1250 ac_tool_prefix=
1251 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1253 test "$silent" = yes && exec 6>/dev/null
1256 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1257 ac_ls_di=`ls -di .` &&
1258 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1259 as_fn_error $? "working directory cannot be determined"
1260 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1261 as_fn_error $? "pwd does not report name of working directory"
1264 # Find the source files, if location was not specified.
1265 if test -z "$srcdir"; then
1266 ac_srcdir_defaulted=yes
1267 # Try the directory containing this script, then the parent directory.
1268 ac_confdir=`$as_dirname -- "$as_myself" ||
1269 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1270 X"$as_myself" : 'X\(//\)[^/]' \| \
1271 X"$as_myself" : 'X\(//\)$' \| \
1272 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1273 $as_echo X"$as_myself" |
1274 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1275 s//\1/
1278 /^X\(\/\/\)[^/].*/{
1279 s//\1/
1282 /^X\(\/\/\)$/{
1283 s//\1/
1286 /^X\(\/\).*/{
1287 s//\1/
1290 s/.*/./; q'`
1291 srcdir=$ac_confdir
1292 if test ! -r "$srcdir/$ac_unique_file"; then
1293 srcdir=..
1295 else
1296 ac_srcdir_defaulted=no
1298 if test ! -r "$srcdir/$ac_unique_file"; then
1299 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1300 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1302 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1303 ac_abs_confdir=`(
1304 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1305 pwd)`
1306 # When building in place, set srcdir=.
1307 if test "$ac_abs_confdir" = "$ac_pwd"; then
1308 srcdir=.
1310 # Remove unnecessary trailing slashes from srcdir.
1311 # Double slashes in file names in object file debugging info
1312 # mess up M-x gdb in Emacs.
1313 case $srcdir in
1314 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1315 esac
1316 for ac_var in $ac_precious_vars; do
1317 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1318 eval ac_env_${ac_var}_value=\$${ac_var}
1319 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1320 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1321 done
1324 # Report the --help message.
1326 if test "$ac_init_help" = "long"; then
1327 # Omit some internal or obsolete options to make the list less imposing.
1328 # This message is too long to be a string in the A/UX 3.1 sh.
1329 cat <<_ACEOF
1330 \`configure' configures TeX Live libs 2016/dev to adapt to many kinds of systems.
1332 Usage: $0 [OPTION]... [VAR=VALUE]...
1334 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1335 VAR=VALUE. See below for descriptions of some of the useful variables.
1337 Defaults for the options are specified in brackets.
1339 Configuration:
1340 -h, --help display this help and exit
1341 --help=short display options specific to this package
1342 --help=recursive display the short help of all the included packages
1343 -V, --version display version information and exit
1344 -q, --quiet, --silent do not print \`checking ...' messages
1345 --cache-file=FILE cache test results in FILE [disabled]
1346 -C, --config-cache alias for \`--cache-file=config.cache'
1347 -n, --no-create do not create output files
1348 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1350 Installation directories:
1351 --prefix=PREFIX install architecture-independent files in PREFIX
1352 [$ac_default_prefix]
1353 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1354 [PREFIX]
1356 By default, \`make install' will install all the files in
1357 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1358 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1359 for instance \`--prefix=\$HOME'.
1361 For better control, use the options below.
1363 Fine tuning of the installation directories:
1364 --bindir=DIR user executables [EPREFIX/bin]
1365 --sbindir=DIR system admin executables [EPREFIX/sbin]
1366 --libexecdir=DIR program executables [EPREFIX/libexec]
1367 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1368 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1369 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1370 --libdir=DIR object code libraries [EPREFIX/lib]
1371 --includedir=DIR C header files [PREFIX/include]
1372 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1373 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1374 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1375 --infodir=DIR info documentation [DATAROOTDIR/info]
1376 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1377 --mandir=DIR man documentation [DATAROOTDIR/man]
1378 --docdir=DIR documentation root [DATAROOTDIR/doc/tex-live-libs]
1379 --htmldir=DIR html documentation [DOCDIR]
1380 --dvidir=DIR dvi documentation [DOCDIR]
1381 --pdfdir=DIR pdf documentation [DOCDIR]
1382 --psdir=DIR ps documentation [DOCDIR]
1383 _ACEOF
1385 cat <<\_ACEOF
1387 Program names:
1388 --program-prefix=PREFIX prepend PREFIX to installed program names
1389 --program-suffix=SUFFIX append SUFFIX to installed program names
1390 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1392 System types:
1393 --build=BUILD configure for building on BUILD [guessed]
1394 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1395 _ACEOF
1398 if test -n "$ac_init_help"; then
1399 case $ac_init_help in
1400 short | recursive ) echo "Configuration of TeX Live libs 2016/dev:";;
1401 esac
1402 cat <<\_ACEOF
1404 Optional Features:
1405 --disable-option-checking ignore unrecognized --enable/--with options
1406 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1407 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1408 --disable-missing terminate if a requested program or feature must be
1409 disabled, e.g., due to missing libraries
1410 --disable-all-pkgs do not build packages unless explicitly enabled
1411 --disable-native-texlive-build
1412 do not build for the TeX Live binary distribution
1413 --enable-multiplatform put executables into bin/PLATFORM and libraries into
1414 lib/PLATFORM
1415 --enable-cxx-runtime-hack link C++ runtime statically
1416 --enable-libtool-hack ignore libtool dependency_libs
1417 --disable-web2c do not build the web2c (TeX & Co.) package
1418 --enable-auto-core cause TeX&MF to dump core, given a certain
1419 filename
1420 --disable-dump-share make fmt/base files architecture-dependent
1421 --disable-ipc disable TeX's --ipc option, i.e., pipe to a
1422 program
1423 --disable-tex do not compile and install TeX
1424 --enable-tex-synctex build TeX with SyncTeX support
1425 --enable-etex compile and install e-TeX
1426 --disable-etex-synctex build e-TeX without SyncTeX support
1427 --disable-ptex do not compile and install pTeX
1428 --disable-ptex-synctex build pTeX without SyncTeX support
1429 --disable-eptex do not compile and install e-pTeX
1430 --disable-eptex-synctex build e-pTeX without SyncTeX support
1431 --disable-uptex do not compile and install upTeX
1432 --disable-uptex-synctex build upTeX without SyncTeX support
1433 --disable-euptex do not compile and install e-upTeX
1434 --disable-euptex-synctex build e-upTeX without SyncTeX support
1435 --disable-aleph do not compile and install Aleph
1436 --disable-pdftex do not compile and install pdfTeX
1437 --disable-pdftex-synctex build pdfTeX without SyncTeX support
1438 --disable-luatex do not compile and install LuaTeX
1439 --disable-luajittex do not compile and install LuaJITTeX
1440 --disable-mp do not compile and install MetaPost
1441 --disable-pmp do not compile and install pMetaPost
1442 --disable-upmp do not compile and install upMetaPost
1443 --disable-xetex do not compile and install XeTeX
1444 --disable-xetex-synctex build XeTeX without SyncTeX support
1445 --disable-mf do not compile and install METAFONT
1446 --disable-mf-nowin do not build a separate non-window-capable
1447 METAFONT
1448 --disable-mflua do not compile and install MFLua
1449 --enable-mflua-nowin build a separate non-window-capable MFLua
1450 --disable-mfluajit do not compile and install MFLuaJIT
1451 --enable-mfluajit-nowin build a separate non-window-capable MFLuaJIT
1452 --enable-epsfwin include EPSF pseudo window support
1453 --enable-hp2627win include HP 2627 window support
1454 --enable-mftalkwin include mftalk (generic server) window support
1455 --enable-nextwin include NeXT window support
1456 --enable-regiswin include Regis window support
1457 --enable-suntoolswin include old Suntools (not X) window support
1458 --enable-tektronixwin include Tektronix window support
1459 --enable-unitermwin include Uniterm window support
1460 --disable-web-progs do not build WEB programs bibtex ... weave
1461 --disable-synctex do not build the SyncTeX library and tool
1462 --disable-texlive do not build the texlive (TeX Live scripts) package
1463 --disable-linked-scripts do not install the linked scripts
1464 --disable-mktexmf-default do not run mktexmf if MF source missing
1465 --disable-mktexpk-default do not run mktexpk if PK font missing
1466 --disable-mktextfm-default do not run mktextfm if TFM file missing
1467 --disable-mkocp-default do not run mkocp if OCP file missing
1468 --disable-mkofm-default do not run mkofm if OFM file missing
1469 --disable-mktexfmt-default do not run mktexfmt if format file missing
1470 --enable-mktextex-default run mktextex if TeX source missing
1471 --enable-dependency-tracking
1472 do not reject slow dependency extractors
1473 --disable-dependency-tracking
1474 speeds up one-time build
1475 --enable-silent-rules less verbose build output (undo: "make V=1")
1476 --disable-silent-rules verbose build output (undo: "make V=0")
1477 --enable-maintainer-mode
1478 enable make rules and dependencies not useful (and
1479 sometimes confusing) to the casual installer
1480 --enable-compiler-warnings=[no|min|yes|max|all]
1481 Turn on compiler warnings [default: yes if
1482 maintainer-mode, min otherwise]
1484 Optional Packages:
1485 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1486 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1487 --with-banner-add=STR add STR to version string appended to banner lines
1488 --with-editor=CMD invoke CMD from the `e' option [vi +%d '%s'] or
1489 [texworks --position=%d "%s"]
1490 --with-mf-x-toolkit use X toolkit for METAFONT
1491 --with-system-zziplib use installed zziplib headers and library (requires
1492 pkg-config)
1493 --with-system-poppler use installed poppler headers and library (requires
1494 pkg-config)
1495 --with-system-mpfr use installed mpfr headers and library
1496 --with-mpfr-includes=DIR
1497 mpfr headers installed in DIR
1498 --with-mpfr-libdir=DIR mpfr library installed in DIR
1499 --with-system-gmp use installed gmp headers and library
1500 --with-gmp-includes=DIR gmp headers installed in DIR
1501 --with-gmp-libdir=DIR gmp library installed in DIR
1502 --with-system-cairo use installed cairo headers and library (requires
1503 pkg-config)
1504 --with-system-pixman use installed pixman headers and library (requires
1505 pkg-config)
1506 --with-system-libpng use installed libpng headers and library (requires
1507 pkg-config)
1508 --with-system-zlib use installed zlib headers and library
1509 --with-zlib-includes=DIR
1510 zlib headers installed in DIR
1511 --with-zlib-libdir=DIR zlib library installed in DIR
1512 --with-system-kpathsea use installed kpathsea headers and library (requires
1513 pkg-config)
1515 Some influential environment variables:
1516 CC C compiler command
1517 CFLAGS C compiler flags
1518 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1519 nonstandard directory <lib dir>
1520 LIBS libraries to pass to the linker, e.g. -l<library>
1521 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1522 you have headers in a nonstandard directory <include dir>
1524 Use these variables to override the choices made by `configure' or to help
1525 it to find libraries and programs with nonstandard names/locations.
1527 Report bugs to <tex-k@tug.org>.
1528 _ACEOF
1529 ac_status=$?
1532 if test "$ac_init_help" = "recursive"; then
1533 # If there are subdirs, report their specific --help.
1534 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1535 test -d "$ac_dir" ||
1536 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1537 continue
1538 ac_builddir=.
1540 case "$ac_dir" in
1541 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1543 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1544 # A ".." for each directory in $ac_dir_suffix.
1545 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1546 case $ac_top_builddir_sub in
1547 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1548 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1549 esac ;;
1550 esac
1551 ac_abs_top_builddir=$ac_pwd
1552 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1553 # for backward compatibility:
1554 ac_top_builddir=$ac_top_build_prefix
1556 case $srcdir in
1557 .) # We are building in place.
1558 ac_srcdir=.
1559 ac_top_srcdir=$ac_top_builddir_sub
1560 ac_abs_top_srcdir=$ac_pwd ;;
1561 [\\/]* | ?:[\\/]* ) # Absolute name.
1562 ac_srcdir=$srcdir$ac_dir_suffix;
1563 ac_top_srcdir=$srcdir
1564 ac_abs_top_srcdir=$srcdir ;;
1565 *) # Relative name.
1566 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1567 ac_top_srcdir=$ac_top_build_prefix$srcdir
1568 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1569 esac
1570 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1572 cd "$ac_dir" || { ac_status=$?; continue; }
1573 # Check for guested configure.
1574 if test -f "$ac_srcdir/configure.gnu"; then
1575 echo &&
1576 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1577 elif test -f "$ac_srcdir/configure"; then
1578 echo &&
1579 $SHELL "$ac_srcdir/configure" --help=recursive
1580 else
1581 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1582 fi || ac_status=$?
1583 cd "$ac_pwd" || { ac_status=$?; break; }
1584 done
1587 test -n "$ac_init_help" && exit $ac_status
1588 if $ac_init_version; then
1589 cat <<\_ACEOF
1590 TeX Live libs configure 2016/dev
1591 generated by GNU Autoconf 2.69
1593 Copyright (C) 2012 Free Software Foundation, Inc.
1594 This configure script is free software; the Free Software Foundation
1595 gives unlimited permission to copy, distribute and modify it.
1596 _ACEOF
1597 exit
1600 ## ------------------------ ##
1601 ## Autoconf initialization. ##
1602 ## ------------------------ ##
1604 # ac_fn_c_try_compile LINENO
1605 # --------------------------
1606 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1607 ac_fn_c_try_compile ()
1609 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1610 rm -f conftest.$ac_objext
1611 if { { ac_try="$ac_compile"
1612 case "(($ac_try" in
1613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1614 *) ac_try_echo=$ac_try;;
1615 esac
1616 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1617 $as_echo "$ac_try_echo"; } >&5
1618 (eval "$ac_compile") 2>conftest.err
1619 ac_status=$?
1620 if test -s conftest.err; then
1621 grep -v '^ *+' conftest.err >conftest.er1
1622 cat conftest.er1 >&5
1623 mv -f conftest.er1 conftest.err
1625 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1626 test $ac_status = 0; } && {
1627 test -z "$ac_c_werror_flag" ||
1628 test ! -s conftest.err
1629 } && test -s conftest.$ac_objext; then :
1630 ac_retval=0
1631 else
1632 $as_echo "$as_me: failed program was:" >&5
1633 sed 's/^/| /' conftest.$ac_ext >&5
1635 ac_retval=1
1637 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1638 as_fn_set_status $ac_retval
1640 } # ac_fn_c_try_compile
1642 # ac_fn_c_try_link LINENO
1643 # -----------------------
1644 # Try to link conftest.$ac_ext, and return whether this succeeded.
1645 ac_fn_c_try_link ()
1647 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1648 rm -f conftest.$ac_objext conftest$ac_exeext
1649 if { { ac_try="$ac_link"
1650 case "(($ac_try" in
1651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1652 *) ac_try_echo=$ac_try;;
1653 esac
1654 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1655 $as_echo "$ac_try_echo"; } >&5
1656 (eval "$ac_link") 2>conftest.err
1657 ac_status=$?
1658 if test -s conftest.err; then
1659 grep -v '^ *+' conftest.err >conftest.er1
1660 cat conftest.er1 >&5
1661 mv -f conftest.er1 conftest.err
1663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1664 test $ac_status = 0; } && {
1665 test -z "$ac_c_werror_flag" ||
1666 test ! -s conftest.err
1667 } && test -s conftest$ac_exeext && {
1668 test "$cross_compiling" = yes ||
1669 test -x conftest$ac_exeext
1670 }; then :
1671 ac_retval=0
1672 else
1673 $as_echo "$as_me: failed program was:" >&5
1674 sed 's/^/| /' conftest.$ac_ext >&5
1676 ac_retval=1
1678 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1679 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1680 # interfere with the next link command; also delete a directory that is
1681 # left behind by Apple's compiler. We do this before executing the actions.
1682 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1683 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1684 as_fn_set_status $ac_retval
1686 } # ac_fn_c_try_link
1687 cat >config.log <<_ACEOF
1688 This file contains any messages produced by compilers while
1689 running configure, to aid debugging if configure makes a mistake.
1691 It was created by TeX Live libs $as_me 2016/dev, which was
1692 generated by GNU Autoconf 2.69. Invocation command line was
1694 $ $0 $@
1696 _ACEOF
1697 exec 5>>config.log
1699 cat <<_ASUNAME
1700 ## --------- ##
1701 ## Platform. ##
1702 ## --------- ##
1704 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1705 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1706 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1707 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1708 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1710 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1711 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1713 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1714 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1715 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1716 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1717 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1718 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1719 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1721 _ASUNAME
1723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1724 for as_dir in $PATH
1726 IFS=$as_save_IFS
1727 test -z "$as_dir" && as_dir=.
1728 $as_echo "PATH: $as_dir"
1729 done
1730 IFS=$as_save_IFS
1732 } >&5
1734 cat >&5 <<_ACEOF
1737 ## ----------- ##
1738 ## Core tests. ##
1739 ## ----------- ##
1741 _ACEOF
1744 # Keep a trace of the command line.
1745 # Strip out --no-create and --no-recursion so they do not pile up.
1746 # Strip out --silent because we don't want to record it for future runs.
1747 # Also quote any args containing shell meta-characters.
1748 # Make two passes to allow for proper duplicate-argument suppression.
1749 ac_configure_args=
1750 ac_configure_args0=
1751 ac_configure_args1=
1752 ac_must_keep_next=false
1753 for ac_pass in 1 2
1755 for ac_arg
1757 case $ac_arg in
1758 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1759 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1760 | -silent | --silent | --silen | --sile | --sil)
1761 continue ;;
1762 *\'*)
1763 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1764 esac
1765 case $ac_pass in
1766 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1768 as_fn_append ac_configure_args1 " '$ac_arg'"
1769 if test $ac_must_keep_next = true; then
1770 ac_must_keep_next=false # Got value, back to normal.
1771 else
1772 case $ac_arg in
1773 *=* | --config-cache | -C | -disable-* | --disable-* \
1774 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1775 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1776 | -with-* | --with-* | -without-* | --without-* | --x)
1777 case "$ac_configure_args0 " in
1778 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1779 esac
1781 -* ) ac_must_keep_next=true ;;
1782 esac
1784 as_fn_append ac_configure_args " '$ac_arg'"
1786 esac
1787 done
1788 done
1789 { ac_configure_args0=; unset ac_configure_args0;}
1790 { ac_configure_args1=; unset ac_configure_args1;}
1792 # When interrupted or exit'd, cleanup temporary files, and complete
1793 # config.log. We remove comments because anyway the quotes in there
1794 # would cause problems or look ugly.
1795 # WARNING: Use '\'' to represent an apostrophe within the trap.
1796 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1797 trap 'exit_status=$?
1798 # Save into config.log some information that might help in debugging.
1800 echo
1802 $as_echo "## ---------------- ##
1803 ## Cache variables. ##
1804 ## ---------------- ##"
1805 echo
1806 # The following way of writing the cache mishandles newlines in values,
1808 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1809 eval ac_val=\$$ac_var
1810 case $ac_val in #(
1811 *${as_nl}*)
1812 case $ac_var in #(
1813 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1814 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1815 esac
1816 case $ac_var in #(
1817 _ | IFS | as_nl) ;; #(
1818 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1819 *) { eval $ac_var=; unset $ac_var;} ;;
1820 esac ;;
1821 esac
1822 done
1823 (set) 2>&1 |
1824 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1825 *${as_nl}ac_space=\ *)
1826 sed -n \
1827 "s/'\''/'\''\\\\'\'''\''/g;
1828 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1829 ;; #(
1831 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1833 esac |
1834 sort
1836 echo
1838 $as_echo "## ----------------- ##
1839 ## Output variables. ##
1840 ## ----------------- ##"
1841 echo
1842 for ac_var in $ac_subst_vars
1844 eval ac_val=\$$ac_var
1845 case $ac_val in
1846 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1847 esac
1848 $as_echo "$ac_var='\''$ac_val'\''"
1849 done | sort
1850 echo
1852 if test -n "$ac_subst_files"; then
1853 $as_echo "## ------------------- ##
1854 ## File substitutions. ##
1855 ## ------------------- ##"
1856 echo
1857 for ac_var in $ac_subst_files
1859 eval ac_val=\$$ac_var
1860 case $ac_val in
1861 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1862 esac
1863 $as_echo "$ac_var='\''$ac_val'\''"
1864 done | sort
1865 echo
1868 if test -s confdefs.h; then
1869 $as_echo "## ----------- ##
1870 ## confdefs.h. ##
1871 ## ----------- ##"
1872 echo
1873 cat confdefs.h
1874 echo
1876 test "$ac_signal" != 0 &&
1877 $as_echo "$as_me: caught signal $ac_signal"
1878 $as_echo "$as_me: exit $exit_status"
1879 } >&5
1880 rm -f core *.core core.conftest.* &&
1881 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1882 exit $exit_status
1884 for ac_signal in 1 2 13 15; do
1885 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1886 done
1887 ac_signal=0
1889 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1890 rm -f -r conftest* confdefs.h
1892 $as_echo "/* confdefs.h */" > confdefs.h
1894 # Predefined preprocessor variables.
1896 cat >>confdefs.h <<_ACEOF
1897 #define PACKAGE_NAME "$PACKAGE_NAME"
1898 _ACEOF
1900 cat >>confdefs.h <<_ACEOF
1901 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1902 _ACEOF
1904 cat >>confdefs.h <<_ACEOF
1905 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1906 _ACEOF
1908 cat >>confdefs.h <<_ACEOF
1909 #define PACKAGE_STRING "$PACKAGE_STRING"
1910 _ACEOF
1912 cat >>confdefs.h <<_ACEOF
1913 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1914 _ACEOF
1916 cat >>confdefs.h <<_ACEOF
1917 #define PACKAGE_URL "$PACKAGE_URL"
1918 _ACEOF
1921 # Let the site file select an alternate cache file if it wants to.
1922 # Prefer an explicitly selected file to automatically selected ones.
1923 ac_site_file1=NONE
1924 ac_site_file2=NONE
1925 if test -n "$CONFIG_SITE"; then
1926 # We do not want a PATH search for config.site.
1927 case $CONFIG_SITE in #((
1928 -*) ac_site_file1=./$CONFIG_SITE;;
1929 */*) ac_site_file1=$CONFIG_SITE;;
1930 *) ac_site_file1=./$CONFIG_SITE;;
1931 esac
1932 elif test "x$prefix" != xNONE; then
1933 ac_site_file1=$prefix/share/config.site
1934 ac_site_file2=$prefix/etc/config.site
1935 else
1936 ac_site_file1=$ac_default_prefix/share/config.site
1937 ac_site_file2=$ac_default_prefix/etc/config.site
1939 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1941 test "x$ac_site_file" = xNONE && continue
1942 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1944 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1945 sed 's/^/| /' "$ac_site_file" >&5
1946 . "$ac_site_file" \
1947 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1948 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1949 as_fn_error $? "failed to load site script $ac_site_file
1950 See \`config.log' for more details" "$LINENO" 5; }
1952 done
1954 if test -r "$cache_file"; then
1955 # Some versions of bash will fail to source /dev/null (special files
1956 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1957 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1958 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1959 $as_echo "$as_me: loading cache $cache_file" >&6;}
1960 case $cache_file in
1961 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1962 *) . "./$cache_file";;
1963 esac
1965 else
1966 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1967 $as_echo "$as_me: creating cache $cache_file" >&6;}
1968 >$cache_file
1971 # Check that the precious variables saved in the cache have kept the same
1972 # value.
1973 ac_cache_corrupted=false
1974 for ac_var in $ac_precious_vars; do
1975 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1976 eval ac_new_set=\$ac_env_${ac_var}_set
1977 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1978 eval ac_new_val=\$ac_env_${ac_var}_value
1979 case $ac_old_set,$ac_new_set in
1980 set,)
1981 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1982 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1983 ac_cache_corrupted=: ;;
1984 ,set)
1985 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1986 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1987 ac_cache_corrupted=: ;;
1988 ,);;
1990 if test "x$ac_old_val" != "x$ac_new_val"; then
1991 # differences in whitespace do not lead to failure.
1992 ac_old_val_w=`echo x $ac_old_val`
1993 ac_new_val_w=`echo x $ac_new_val`
1994 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1996 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1997 ac_cache_corrupted=:
1998 else
1999 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2000 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2001 eval $ac_var=\$ac_old_val
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2004 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2005 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2006 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2007 fi;;
2008 esac
2009 # Pass precious variables to config.status.
2010 if test "$ac_new_set" = set; then
2011 case $ac_new_val in
2012 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2013 *) ac_arg=$ac_var=$ac_new_val ;;
2014 esac
2015 case " $ac_configure_args " in
2016 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2017 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2018 esac
2020 done
2021 if $ac_cache_corrupted; then
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2023 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2024 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2025 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2026 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2028 ## -------------------- ##
2029 ## Main body of script. ##
2030 ## -------------------- ##
2032 ac_ext=c
2033 ac_cpp='$CPP $CPPFLAGS'
2034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2041 ac_aux_dir=
2042 for ac_dir in ../build-aux "$srcdir"/../build-aux; do
2043 if test -f "$ac_dir/install-sh"; then
2044 ac_aux_dir=$ac_dir
2045 ac_install_sh="$ac_aux_dir/install-sh -c"
2046 break
2047 elif test -f "$ac_dir/install.sh"; then
2048 ac_aux_dir=$ac_dir
2049 ac_install_sh="$ac_aux_dir/install.sh -c"
2050 break
2051 elif test -f "$ac_dir/shtool"; then
2052 ac_aux_dir=$ac_dir
2053 ac_install_sh="$ac_aux_dir/shtool install -c"
2054 break
2056 done
2057 if test -z "$ac_aux_dir"; then
2058 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../build-aux \"$srcdir\"/../build-aux" "$LINENO" 5
2061 # These three variables are undocumented and unsupported,
2062 # and are intended to be withdrawn in a future Autoconf release.
2063 # They can cause serious problems if a builder's source tree is in a directory
2064 # whose full name contains unusual characters.
2065 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2066 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2067 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2072 # Make sure we can run config.sub.
2073 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2074 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2077 $as_echo_n "checking build system type... " >&6; }
2078 if ${ac_cv_build+:} false; then :
2079 $as_echo_n "(cached) " >&6
2080 else
2081 ac_build_alias=$build_alias
2082 test "x$ac_build_alias" = x &&
2083 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2084 test "x$ac_build_alias" = x &&
2085 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2086 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2087 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2091 $as_echo "$ac_cv_build" >&6; }
2092 case $ac_cv_build in
2093 *-*-*) ;;
2094 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2095 esac
2096 build=$ac_cv_build
2097 ac_save_IFS=$IFS; IFS='-'
2098 set x $ac_cv_build
2099 shift
2100 build_cpu=$1
2101 build_vendor=$2
2102 shift; shift
2103 # Remember, the first character of IFS is used to create $*,
2104 # except with old shells:
2105 build_os=$*
2106 IFS=$ac_save_IFS
2107 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2111 $as_echo_n "checking host system type... " >&6; }
2112 if ${ac_cv_host+:} false; then :
2113 $as_echo_n "(cached) " >&6
2114 else
2115 if test "x$host_alias" = x; then
2116 ac_cv_host=$ac_cv_build
2117 else
2118 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2119 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2124 $as_echo "$ac_cv_host" >&6; }
2125 case $ac_cv_host in
2126 *-*-*) ;;
2127 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2128 esac
2129 host=$ac_cv_host
2130 ac_save_IFS=$IFS; IFS='-'
2131 set x $ac_cv_host
2132 shift
2133 host_cpu=$1
2134 host_vendor=$2
2135 shift; shift
2136 # Remember, the first character of IFS is used to create $*,
2137 # except with old shells:
2138 host_os=$*
2139 IFS=$ac_save_IFS
2140 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2143 # Check whether --enable-missing was given.
2144 if test "${enable_missing+set}" = set; then :
2145 enableval=$enable_missing;
2148 # Expand $ac_aux_dir to an absolute path.
2149 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2151 ac_ext=c
2152 ac_cpp='$CPP $CPPFLAGS'
2153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2156 if test -n "$ac_tool_prefix"; then
2157 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2158 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2160 $as_echo_n "checking for $ac_word... " >&6; }
2161 if ${ac_cv_prog_CC+:} false; then :
2162 $as_echo_n "(cached) " >&6
2163 else
2164 if test -n "$CC"; then
2165 ac_cv_prog_CC="$CC" # Let the user override the test.
2166 else
2167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2168 for as_dir in $PATH
2170 IFS=$as_save_IFS
2171 test -z "$as_dir" && as_dir=.
2172 for ac_exec_ext in '' $ac_executable_extensions; do
2173 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2174 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2176 break 2
2178 done
2179 done
2180 IFS=$as_save_IFS
2184 CC=$ac_cv_prog_CC
2185 if test -n "$CC"; then
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2187 $as_echo "$CC" >&6; }
2188 else
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2190 $as_echo "no" >&6; }
2195 if test -z "$ac_cv_prog_CC"; then
2196 ac_ct_CC=$CC
2197 # Extract the first word of "gcc", so it can be a program name with args.
2198 set dummy gcc; ac_word=$2
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2200 $as_echo_n "checking for $ac_word... " >&6; }
2201 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2202 $as_echo_n "(cached) " >&6
2203 else
2204 if test -n "$ac_ct_CC"; then
2205 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2206 else
2207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2208 for as_dir in $PATH
2210 IFS=$as_save_IFS
2211 test -z "$as_dir" && as_dir=.
2212 for ac_exec_ext in '' $ac_executable_extensions; do
2213 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2214 ac_cv_prog_ac_ct_CC="gcc"
2215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2216 break 2
2218 done
2219 done
2220 IFS=$as_save_IFS
2224 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2225 if test -n "$ac_ct_CC"; then
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2227 $as_echo "$ac_ct_CC" >&6; }
2228 else
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2230 $as_echo "no" >&6; }
2233 if test "x$ac_ct_CC" = x; then
2234 CC=""
2235 else
2236 case $cross_compiling:$ac_tool_warned in
2237 yes:)
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2239 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2240 ac_tool_warned=yes ;;
2241 esac
2242 CC=$ac_ct_CC
2244 else
2245 CC="$ac_cv_prog_CC"
2248 if test -z "$CC"; then
2249 if test -n "$ac_tool_prefix"; then
2250 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2251 set dummy ${ac_tool_prefix}cc; ac_word=$2
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2253 $as_echo_n "checking for $ac_word... " >&6; }
2254 if ${ac_cv_prog_CC+:} false; then :
2255 $as_echo_n "(cached) " >&6
2256 else
2257 if test -n "$CC"; then
2258 ac_cv_prog_CC="$CC" # Let the user override the test.
2259 else
2260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2261 for as_dir in $PATH
2263 IFS=$as_save_IFS
2264 test -z "$as_dir" && as_dir=.
2265 for ac_exec_ext in '' $ac_executable_extensions; do
2266 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2267 ac_cv_prog_CC="${ac_tool_prefix}cc"
2268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2269 break 2
2271 done
2272 done
2273 IFS=$as_save_IFS
2277 CC=$ac_cv_prog_CC
2278 if test -n "$CC"; then
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2280 $as_echo "$CC" >&6; }
2281 else
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2283 $as_echo "no" >&6; }
2289 if test -z "$CC"; then
2290 # Extract the first word of "cc", so it can be a program name with args.
2291 set dummy cc; ac_word=$2
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2293 $as_echo_n "checking for $ac_word... " >&6; }
2294 if ${ac_cv_prog_CC+:} false; then :
2295 $as_echo_n "(cached) " >&6
2296 else
2297 if test -n "$CC"; then
2298 ac_cv_prog_CC="$CC" # Let the user override the test.
2299 else
2300 ac_prog_rejected=no
2301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2302 for as_dir in $PATH
2304 IFS=$as_save_IFS
2305 test -z "$as_dir" && as_dir=.
2306 for ac_exec_ext in '' $ac_executable_extensions; do
2307 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2308 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2309 ac_prog_rejected=yes
2310 continue
2312 ac_cv_prog_CC="cc"
2313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2314 break 2
2316 done
2317 done
2318 IFS=$as_save_IFS
2320 if test $ac_prog_rejected = yes; then
2321 # We found a bogon in the path, so make sure we never use it.
2322 set dummy $ac_cv_prog_CC
2323 shift
2324 if test $# != 0; then
2325 # We chose a different compiler from the bogus one.
2326 # However, it has the same basename, so the bogon will be chosen
2327 # first if we set CC to just the basename; use the full file name.
2328 shift
2329 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2334 CC=$ac_cv_prog_CC
2335 if test -n "$CC"; then
2336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2337 $as_echo "$CC" >&6; }
2338 else
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2340 $as_echo "no" >&6; }
2345 if test -z "$CC"; then
2346 if test -n "$ac_tool_prefix"; then
2347 for ac_prog in cl.exe
2349 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2350 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2352 $as_echo_n "checking for $ac_word... " >&6; }
2353 if ${ac_cv_prog_CC+:} false; then :
2354 $as_echo_n "(cached) " >&6
2355 else
2356 if test -n "$CC"; then
2357 ac_cv_prog_CC="$CC" # Let the user override the test.
2358 else
2359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2360 for as_dir in $PATH
2362 IFS=$as_save_IFS
2363 test -z "$as_dir" && as_dir=.
2364 for ac_exec_ext in '' $ac_executable_extensions; do
2365 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2366 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2368 break 2
2370 done
2371 done
2372 IFS=$as_save_IFS
2376 CC=$ac_cv_prog_CC
2377 if test -n "$CC"; then
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2379 $as_echo "$CC" >&6; }
2380 else
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2382 $as_echo "no" >&6; }
2386 test -n "$CC" && break
2387 done
2389 if test -z "$CC"; then
2390 ac_ct_CC=$CC
2391 for ac_prog in cl.exe
2393 # Extract the first word of "$ac_prog", so it can be a program name with args.
2394 set dummy $ac_prog; ac_word=$2
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2396 $as_echo_n "checking for $ac_word... " >&6; }
2397 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2398 $as_echo_n "(cached) " >&6
2399 else
2400 if test -n "$ac_ct_CC"; then
2401 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2402 else
2403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2404 for as_dir in $PATH
2406 IFS=$as_save_IFS
2407 test -z "$as_dir" && as_dir=.
2408 for ac_exec_ext in '' $ac_executable_extensions; do
2409 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2410 ac_cv_prog_ac_ct_CC="$ac_prog"
2411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2412 break 2
2414 done
2415 done
2416 IFS=$as_save_IFS
2420 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2421 if test -n "$ac_ct_CC"; then
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2423 $as_echo "$ac_ct_CC" >&6; }
2424 else
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2426 $as_echo "no" >&6; }
2430 test -n "$ac_ct_CC" && break
2431 done
2433 if test "x$ac_ct_CC" = x; then
2434 CC=""
2435 else
2436 case $cross_compiling:$ac_tool_warned in
2437 yes:)
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2439 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2440 ac_tool_warned=yes ;;
2441 esac
2442 CC=$ac_ct_CC
2449 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2450 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2451 as_fn_error $? "no acceptable C compiler found in \$PATH
2452 See \`config.log' for more details" "$LINENO" 5; }
2454 # Provide some information about the compiler.
2455 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2456 set X $ac_compile
2457 ac_compiler=$2
2458 for ac_option in --version -v -V -qversion; do
2459 { { ac_try="$ac_compiler $ac_option >&5"
2460 case "(($ac_try" in
2461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2462 *) ac_try_echo=$ac_try;;
2463 esac
2464 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2465 $as_echo "$ac_try_echo"; } >&5
2466 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2467 ac_status=$?
2468 if test -s conftest.err; then
2469 sed '10a\
2470 ... rest of stderr output deleted ...
2471 10q' conftest.err >conftest.er1
2472 cat conftest.er1 >&5
2474 rm -f conftest.er1 conftest.err
2475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2476 test $ac_status = 0; }
2477 done
2479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2480 /* end confdefs.h. */
2483 main ()
2487 return 0;
2489 _ACEOF
2490 ac_clean_files_save=$ac_clean_files
2491 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2492 # Try to create an executable without -o first, disregard a.out.
2493 # It will help us diagnose broken compilers, and finding out an intuition
2494 # of exeext.
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2496 $as_echo_n "checking whether the C compiler works... " >&6; }
2497 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2499 # The possible output files:
2500 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2502 ac_rmfiles=
2503 for ac_file in $ac_files
2505 case $ac_file in
2506 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2507 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2508 esac
2509 done
2510 rm -f $ac_rmfiles
2512 if { { ac_try="$ac_link_default"
2513 case "(($ac_try" in
2514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2515 *) ac_try_echo=$ac_try;;
2516 esac
2517 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2518 $as_echo "$ac_try_echo"; } >&5
2519 (eval "$ac_link_default") 2>&5
2520 ac_status=$?
2521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2522 test $ac_status = 0; }; then :
2523 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2524 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2525 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2526 # so that the user can short-circuit this test for compilers unknown to
2527 # Autoconf.
2528 for ac_file in $ac_files ''
2530 test -f "$ac_file" || continue
2531 case $ac_file in
2532 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2534 [ab].out )
2535 # We found the default executable, but exeext='' is most
2536 # certainly right.
2537 break;;
2538 *.* )
2539 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2540 then :; else
2541 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2543 # We set ac_cv_exeext here because the later test for it is not
2544 # safe: cross compilers may not add the suffix if given an `-o'
2545 # argument, so we may need to know it at that point already.
2546 # Even if this section looks crufty: it has the advantage of
2547 # actually working.
2548 break;;
2550 break;;
2551 esac
2552 done
2553 test "$ac_cv_exeext" = no && ac_cv_exeext=
2555 else
2556 ac_file=''
2558 if test -z "$ac_file"; then :
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2560 $as_echo "no" >&6; }
2561 $as_echo "$as_me: failed program was:" >&5
2562 sed 's/^/| /' conftest.$ac_ext >&5
2564 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2565 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2566 as_fn_error 77 "C compiler cannot create executables
2567 See \`config.log' for more details" "$LINENO" 5; }
2568 else
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2570 $as_echo "yes" >&6; }
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2573 $as_echo_n "checking for C compiler default output file name... " >&6; }
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2575 $as_echo "$ac_file" >&6; }
2576 ac_exeext=$ac_cv_exeext
2578 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2579 ac_clean_files=$ac_clean_files_save
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2581 $as_echo_n "checking for suffix of executables... " >&6; }
2582 if { { ac_try="$ac_link"
2583 case "(($ac_try" in
2584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2585 *) ac_try_echo=$ac_try;;
2586 esac
2587 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2588 $as_echo "$ac_try_echo"; } >&5
2589 (eval "$ac_link") 2>&5
2590 ac_status=$?
2591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2592 test $ac_status = 0; }; then :
2593 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2594 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2595 # work properly (i.e., refer to `conftest.exe'), while it won't with
2596 # `rm'.
2597 for ac_file in conftest.exe conftest conftest.*; do
2598 test -f "$ac_file" || continue
2599 case $ac_file in
2600 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2601 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2602 break;;
2603 * ) break;;
2604 esac
2605 done
2606 else
2607 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2608 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2609 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2610 See \`config.log' for more details" "$LINENO" 5; }
2612 rm -f conftest conftest$ac_cv_exeext
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2614 $as_echo "$ac_cv_exeext" >&6; }
2616 rm -f conftest.$ac_ext
2617 EXEEXT=$ac_cv_exeext
2618 ac_exeext=$EXEEXT
2619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2620 /* end confdefs.h. */
2621 #include <stdio.h>
2623 main ()
2625 FILE *f = fopen ("conftest.out", "w");
2626 return ferror (f) || fclose (f) != 0;
2629 return 0;
2631 _ACEOF
2632 ac_clean_files="$ac_clean_files conftest.out"
2633 # Check that the compiler produces executables we can run. If not, either
2634 # the compiler is broken, or we cross compile.
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2636 $as_echo_n "checking whether we are cross compiling... " >&6; }
2637 if test "$cross_compiling" != yes; then
2638 { { ac_try="$ac_link"
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_link") 2>&5
2646 ac_status=$?
2647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2648 test $ac_status = 0; }
2649 if { ac_try='./conftest$ac_cv_exeext'
2650 { { case "(($ac_try" in
2651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2652 *) ac_try_echo=$ac_try;;
2653 esac
2654 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2655 $as_echo "$ac_try_echo"; } >&5
2656 (eval "$ac_try") 2>&5
2657 ac_status=$?
2658 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2659 test $ac_status = 0; }; }; then
2660 cross_compiling=no
2661 else
2662 if test "$cross_compiling" = maybe; then
2663 cross_compiling=yes
2664 else
2665 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2666 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2667 as_fn_error $? "cannot run C compiled programs.
2668 If you meant to cross compile, use \`--host'.
2669 See \`config.log' for more details" "$LINENO" 5; }
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2674 $as_echo "$cross_compiling" >&6; }
2676 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2677 ac_clean_files=$ac_clean_files_save
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2679 $as_echo_n "checking for suffix of object files... " >&6; }
2680 if ${ac_cv_objext+:} false; then :
2681 $as_echo_n "(cached) " >&6
2682 else
2683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2684 /* end confdefs.h. */
2687 main ()
2691 return 0;
2693 _ACEOF
2694 rm -f conftest.o conftest.obj
2695 if { { ac_try="$ac_compile"
2696 case "(($ac_try" in
2697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2698 *) ac_try_echo=$ac_try;;
2699 esac
2700 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2701 $as_echo "$ac_try_echo"; } >&5
2702 (eval "$ac_compile") 2>&5
2703 ac_status=$?
2704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2705 test $ac_status = 0; }; then :
2706 for ac_file in conftest.o conftest.obj conftest.*; do
2707 test -f "$ac_file" || continue;
2708 case $ac_file in
2709 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2710 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2711 break;;
2712 esac
2713 done
2714 else
2715 $as_echo "$as_me: failed program was:" >&5
2716 sed 's/^/| /' conftest.$ac_ext >&5
2718 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2719 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2720 as_fn_error $? "cannot compute suffix of object files: cannot compile
2721 See \`config.log' for more details" "$LINENO" 5; }
2723 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2726 $as_echo "$ac_cv_objext" >&6; }
2727 OBJEXT=$ac_cv_objext
2728 ac_objext=$OBJEXT
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2730 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2731 if ${ac_cv_c_compiler_gnu+:} false; then :
2732 $as_echo_n "(cached) " >&6
2733 else
2734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2735 /* end confdefs.h. */
2738 main ()
2740 #ifndef __GNUC__
2741 choke me
2742 #endif
2745 return 0;
2747 _ACEOF
2748 if ac_fn_c_try_compile "$LINENO"; then :
2749 ac_compiler_gnu=yes
2750 else
2751 ac_compiler_gnu=no
2753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2754 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2758 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2759 if test $ac_compiler_gnu = yes; then
2760 GCC=yes
2761 else
2762 GCC=
2764 ac_test_CFLAGS=${CFLAGS+set}
2765 ac_save_CFLAGS=$CFLAGS
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2767 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2768 if ${ac_cv_prog_cc_g+:} false; then :
2769 $as_echo_n "(cached) " >&6
2770 else
2771 ac_save_c_werror_flag=$ac_c_werror_flag
2772 ac_c_werror_flag=yes
2773 ac_cv_prog_cc_g=no
2774 CFLAGS="-g"
2775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2776 /* end confdefs.h. */
2779 main ()
2783 return 0;
2785 _ACEOF
2786 if ac_fn_c_try_compile "$LINENO"; then :
2787 ac_cv_prog_cc_g=yes
2788 else
2789 CFLAGS=""
2790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2791 /* end confdefs.h. */
2794 main ()
2798 return 0;
2800 _ACEOF
2801 if ac_fn_c_try_compile "$LINENO"; then :
2803 else
2804 ac_c_werror_flag=$ac_save_c_werror_flag
2805 CFLAGS="-g"
2806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2807 /* end confdefs.h. */
2810 main ()
2814 return 0;
2816 _ACEOF
2817 if ac_fn_c_try_compile "$LINENO"; then :
2818 ac_cv_prog_cc_g=yes
2820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2825 ac_c_werror_flag=$ac_save_c_werror_flag
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2828 $as_echo "$ac_cv_prog_cc_g" >&6; }
2829 if test "$ac_test_CFLAGS" = set; then
2830 CFLAGS=$ac_save_CFLAGS
2831 elif test $ac_cv_prog_cc_g = yes; then
2832 if test "$GCC" = yes; then
2833 CFLAGS="-g -O2"
2834 else
2835 CFLAGS="-g"
2837 else
2838 if test "$GCC" = yes; then
2839 CFLAGS="-O2"
2840 else
2841 CFLAGS=
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2845 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2846 if ${ac_cv_prog_cc_c89+:} false; then :
2847 $as_echo_n "(cached) " >&6
2848 else
2849 ac_cv_prog_cc_c89=no
2850 ac_save_CC=$CC
2851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2852 /* end confdefs.h. */
2853 #include <stdarg.h>
2854 #include <stdio.h>
2855 struct stat;
2856 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2857 struct buf { int x; };
2858 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2859 static char *e (p, i)
2860 char **p;
2861 int i;
2863 return p[i];
2865 static char *f (char * (*g) (char **, int), char **p, ...)
2867 char *s;
2868 va_list v;
2869 va_start (v,p);
2870 s = g (p, va_arg (v,int));
2871 va_end (v);
2872 return s;
2875 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2876 function prototypes and stuff, but not '\xHH' hex character constants.
2877 These don't provoke an error unfortunately, instead are silently treated
2878 as 'x'. The following induces an error, until -std is added to get
2879 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2880 array size at least. It's necessary to write '\x00'==0 to get something
2881 that's true only with -std. */
2882 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2884 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2885 inside strings and character constants. */
2886 #define FOO(x) 'x'
2887 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2889 int test (int i, double x);
2890 struct s1 {int (*f) (int a);};
2891 struct s2 {int (*f) (double a);};
2892 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2893 int argc;
2894 char **argv;
2896 main ()
2898 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2900 return 0;
2902 _ACEOF
2903 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2904 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2906 CC="$ac_save_CC $ac_arg"
2907 if ac_fn_c_try_compile "$LINENO"; then :
2908 ac_cv_prog_cc_c89=$ac_arg
2910 rm -f core conftest.err conftest.$ac_objext
2911 test "x$ac_cv_prog_cc_c89" != "xno" && break
2912 done
2913 rm -f conftest.$ac_ext
2914 CC=$ac_save_CC
2917 # AC_CACHE_VAL
2918 case "x$ac_cv_prog_cc_c89" in
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2921 $as_echo "none needed" >&6; } ;;
2922 xno)
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2924 $as_echo "unsupported" >&6; } ;;
2926 CC="$CC $ac_cv_prog_cc_c89"
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2928 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2929 esac
2930 if test "x$ac_cv_prog_cc_c89" != xno; then :
2934 ac_ext=c
2935 ac_cpp='$CPP $CPPFLAGS'
2936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2940 ac_ext=c
2941 ac_cpp='$CPP $CPPFLAGS'
2942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
2946 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
2947 if ${am_cv_prog_cc_c_o+:} false; then :
2948 $as_echo_n "(cached) " >&6
2949 else
2950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2951 /* end confdefs.h. */
2954 main ()
2958 return 0;
2960 _ACEOF
2961 # Make sure it works both with $CC and with simple cc.
2962 # Following AC_PROG_CC_C_O, we do the test twice because some
2963 # compilers refuse to overwrite an existing .o file with -o,
2964 # though they will create one.
2965 am_cv_prog_cc_c_o=yes
2966 for am_i in 1 2; do
2967 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
2968 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
2969 ac_status=$?
2970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2971 (exit $ac_status); } \
2972 && test -f conftest2.$ac_objext; then
2973 : OK
2974 else
2975 am_cv_prog_cc_c_o=no
2976 break
2978 done
2979 rm -f core conftest*
2980 unset am_i
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
2983 $as_echo "$am_cv_prog_cc_c_o" >&6; }
2984 if test "$am_cv_prog_cc_c_o" != yes; then
2985 # Losing compiler, so override with the script.
2986 # FIXME: It is wrong to rewrite CC.
2987 # But if we don't then we get into trouble of one sort or another.
2988 # A longer-term fix would be to have automake use am__CC in this case,
2989 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
2990 CC="$am_aux_dir/compile $CC"
2992 ac_ext=c
2993 ac_cpp='$CPP $CPPFLAGS'
2994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3003 # Check whether --enable-all-pkgs was given.
3004 if test "${enable_all_pkgs+set}" = set; then :
3005 enableval=$enable_all_pkgs;
3007 test "x$enable_all_pkgs" = xno || enable_all_pkgs=yes
3008 # Check whether --enable-native-texlive-build was given.
3009 if test "${enable_native_texlive_build+set}" = set; then :
3010 enableval=$enable_native_texlive_build;
3012 case $enable_native_texlive_build in #(
3013 yes | no) :
3014 : ;; #(
3015 *) :
3016 enable_native_texlive_build=yes
3017 ac_configure_args="$ac_configure_args '--enable-native-texlive-build'" ;;
3018 esac
3019 case $enable_largefile in #(
3020 yes | no) :
3021 : ;; #(
3022 *) :
3023 enable_largefile=yes
3024 ac_configure_args="$ac_configure_args '--enable-largefile'" ;;
3025 esac
3026 case $enable_silent_rules in #(
3027 yes | no) :
3028 : ;; #(
3029 *) :
3030 enable_silent_rules=no
3031 ac_configure_args="$ac_configure_args '--disable-silent-rules'" ;;
3032 esac
3033 case $enable_multiplatform in #(
3034 yes | no) :
3035 : ;; #(
3036 *) :
3037 enable_multiplatform=$enable_native_texlive_build
3038 ac_configure_args="$ac_configure_args '--enable-multiplatform=$enable_native_texlive_build'" ;;
3039 esac
3040 case $enable_cxx_runtime_hack in #(
3041 yes | no) :
3042 : ;; #(
3043 *) :
3044 enable_cxx_runtime_hack=$enable_native_texlive_build
3045 ac_configure_args="$ac_configure_args '--enable-cxx-runtime-hack=$enable_native_texlive_build'" ;;
3046 esac
3047 case $enable_libtool_hack in #(
3048 yes | no) :
3049 : ;; #(
3050 *) :
3051 case $host_os in #(
3052 do-not-match) :
3053 enable_libtool_hack=no ;; #(
3054 *) :
3055 enable_libtool_hack=yes ;;
3056 esac
3057 ac_configure_args="$ac_configure_args '--enable-libtool-hack=$enable_libtool_hack'" ;;
3058 esac
3059 case $enable_shared:$host_os in #(
3060 no:* | yes:mingw* | yes:cygwin*) :
3061 : ;; #(
3062 yes:* ) :
3063 if test "x$enable_native_texlive_build" = xyes; then :
3064 as_fn_error $? "you can not use a shared Kpathsea library for a native TeX Live build" "$LINENO" 5
3065 fi ;; #(
3066 *) :
3067 enable_shared=no
3068 ac_configure_args="$ac_configure_args '--disable-shared'" ;;
3069 esac
3070 case $enable_texlive_build in #(
3071 yes) :
3072 : ;; #(
3073 no) :
3074 as_fn_error $? "you can not configure the TeX Live tree with \`--disable-texlive-build'" "$LINENO" 5 ;; #(
3075 *) :
3076 enable_texlive_build=yes
3077 ac_configure_args="$ac_configure_args '--enable-texlive-build'" ;;
3078 esac
3079 # Check whether --enable-multiplatform was given.
3080 if test "${enable_multiplatform+set}" = set; then :
3081 enableval=$enable_multiplatform;
3083 if test "x$enable_multiplatform" = xyes; then
3084 if test "x$bindir" = 'x${exec_prefix}/bin'; then
3085 bindir="$bindir/${host_alias-$host}"
3086 ac_configure_args="$ac_configure_args '--bindir=$bindir'"
3088 if test "x$libdir" = 'x${exec_prefix}/lib'; then
3089 libdir="$libdir/${host_alias-$host}"
3090 ac_configure_args="$ac_configure_args '--libdir=$libdir'"
3094 # Check whether --enable-cxx-runtime-hack was given.
3095 if test "${enable_cxx_runtime_hack+set}" = set; then :
3096 enableval=$enable_cxx_runtime_hack;
3099 # Check whether --enable-libtool-hack was given.
3100 if test "${enable_libtool_hack+set}" = set; then :
3101 enableval=$enable_libtool_hack;
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native WIN32 or MINGW32" >&5
3108 $as_echo_n "checking for native WIN32 or MINGW32... " >&6; }
3109 if ${kpse_cv_have_win32+:} false; then :
3110 $as_echo_n "(cached) " >&6
3111 else
3112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3113 /* end confdefs.h. */
3114 #ifndef WIN32
3115 choke me
3116 #endif
3118 main ()
3122 return 0;
3124 _ACEOF
3125 if ac_fn_c_try_compile "$LINENO"; then :
3126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3127 /* end confdefs.h. */
3128 #ifndef __MINGW32__
3129 choke me
3130 #endif
3132 main ()
3136 return 0;
3138 _ACEOF
3139 if ac_fn_c_try_compile "$LINENO"; then :
3140 kpse_cv_have_win32=mingw32
3141 else
3142 kpse_cv_have_win32=native
3144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3145 else
3146 kpse_cv_have_win32=no
3148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_win32" >&5
3151 $as_echo "$kpse_cv_have_win32" >&6; }
3153 case $with_x:$kpse_cv_have_win32 in #(
3154 yes:no | no:*) :
3155 : ;; #(
3156 yes:*) :
3157 as_fn_error $? "you can not use \`--with-x' for WIN32" "$LINENO" 5 ;; #(
3158 *:no) :
3159 with_x=yes
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--with-x'" >&5
3161 $as_echo "$as_me: Assuming \`--with-x'" >&6;}
3162 ac_configure_args="$ac_configure_args '--with-x'" ;; #(
3163 *) :
3164 with_x=no
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: WIN32 -> \`--without-x'" >&5
3166 $as_echo "$as_me: WIN32 -> \`--without-x'" >&6;}
3167 ac_configure_args="$ac_configure_args '--without-x'" ;;
3168 esac
3169 case $enable_luajittex in #(
3170 yes | no) :
3171 : ;; #(
3172 *) :
3173 case $host in #(
3174 alpha* | sparc* | powerpc-*-darwin* ) :
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: $host -> \`--disable-luajittex'" >&5
3176 $as_echo "$as_me: $host -> \`--disable-luajittex'" >&6;}
3177 ac_configure_args="$ac_configure_args '--disable-luajittex'" ;; #(
3178 *) :
3180 esac ;;
3181 esac
3182 case $enable_mfluajit in #(
3183 yes | no) :
3184 : ;; #(
3185 *) :
3186 case $host in #(
3187 alpha* | sparc* | powerpc-*-darwin* ) :
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: $host -> \`--disable-mfluajit'" >&5
3189 $as_echo "$as_me: $host -> \`--disable-mfluajit'" >&6;}
3190 ac_configure_args="$ac_configure_args '--disable-mfluajit'" ;; #(
3191 *) :
3193 esac ;;
3194 esac
3197 ## texk/web2c/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/web2c/
3198 ## configure options and TL libraries required for web2c
3199 # Check whether --enable-web2c was given.
3200 if test "${enable_web2c+set}" = set; then :
3201 enableval=$enable_web2c;
3203 case $enable_web2c in #(
3204 yes|no) :
3205 ;; #(
3206 *) :
3208 enable_web2c=$enable_all_pkgs
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-web2c=$enable_web2c'" >&5
3210 $as_echo "$as_me: Assuming \`--enable-web2c=$enable_web2c'" >&6;}
3211 ac_configure_args="$ac_configure_args '--enable-web2c=$enable_web2c'"
3213 esac
3215 test "x$enable_web2c" = xno || {
3216 need_kpathsea=yes
3217 need_zlib=yes
3220 ## texk/web2c/ac/web2c.ac: configure.ac fragment for the TeX Live subdirectory texk/web2c/
3221 ## configure options for TeX and MF
3223 # Check whether --with-banner-add was given.
3224 if test "${with_banner_add+set}" = set; then :
3225 withval=$with_banner_add;
3228 # Check whether --with-editor was given.
3229 if test "${with_editor+set}" = set; then :
3230 withval=$with_editor;
3232 # Check whether --enable-auto-core was given.
3233 if test "${enable_auto_core+set}" = set; then :
3234 enableval=$enable_auto_core;
3236 # Check whether --enable-dump-share was given.
3237 if test "${enable_dump_share+set}" = set; then :
3238 enableval=$enable_dump_share;
3240 ## configure options for TeX
3241 # Check whether --enable-ipc was given.
3242 if test "${enable_ipc+set}" = set; then :
3243 enableval=$enable_ipc;
3245 # Check whether --enable-tex was given.
3246 if test "${enable_tex+set}" = set; then :
3247 enableval=$enable_tex;
3249 case $enable_tex in #(
3250 yes | no) :
3251 ;; #(
3252 *) :
3253 enable_tex=yes ;;
3254 esac
3256 # Check whether --enable-tex-synctex was given.
3257 if test "${enable_tex_synctex+set}" = set; then :
3258 enableval=$enable_tex_synctex;
3260 # Check whether --enable-etex was given.
3261 if test "${enable_etex+set}" = set; then :
3262 enableval=$enable_etex;
3264 case $enable_etex in #(
3265 yes | no) :
3266 ;; #(
3267 *) :
3268 enable_etex=no ;;
3269 esac
3271 # Check whether --enable-etex-synctex was given.
3272 if test "${enable_etex_synctex+set}" = set; then :
3273 enableval=$enable_etex_synctex;
3275 # Check whether --enable-ptex was given.
3276 if test "${enable_ptex+set}" = set; then :
3277 enableval=$enable_ptex;
3279 case $enable_ptex in #(
3280 yes | no) :
3281 ;; #(
3282 *) :
3283 enable_ptex=yes ;;
3284 esac
3286 # Check whether --enable-ptex-synctex was given.
3287 if test "${enable_ptex_synctex+set}" = set; then :
3288 enableval=$enable_ptex_synctex;
3291 test "x$enable_web2c:$enable_ptex" = xyes:yes && {
3292 need_ptexenc=yes
3294 # Check whether --enable-eptex was given.
3295 if test "${enable_eptex+set}" = set; then :
3296 enableval=$enable_eptex;
3298 case $enable_eptex in #(
3299 yes | no) :
3300 ;; #(
3301 *) :
3302 enable_eptex=yes ;;
3303 esac
3305 # Check whether --enable-eptex-synctex was given.
3306 if test "${enable_eptex_synctex+set}" = set; then :
3307 enableval=$enable_eptex_synctex;
3310 test "x$enable_web2c:$enable_eptex" = xyes:yes && {
3311 need_ptexenc=yes
3313 # Check whether --enable-uptex was given.
3314 if test "${enable_uptex+set}" = set; then :
3315 enableval=$enable_uptex;
3317 case $enable_uptex in #(
3318 yes | no) :
3319 ;; #(
3320 *) :
3321 enable_uptex=yes ;;
3322 esac
3324 # Check whether --enable-uptex-synctex was given.
3325 if test "${enable_uptex_synctex+set}" = set; then :
3326 enableval=$enable_uptex_synctex;
3329 test "x$enable_web2c:$enable_uptex" = xyes:yes && {
3330 need_ptexenc=yes
3332 # Check whether --enable-euptex was given.
3333 if test "${enable_euptex+set}" = set; then :
3334 enableval=$enable_euptex;
3336 case $enable_euptex in #(
3337 yes | no) :
3338 ;; #(
3339 *) :
3340 enable_euptex=yes ;;
3341 esac
3343 # Check whether --enable-euptex-synctex was given.
3344 if test "${enable_euptex_synctex+set}" = set; then :
3345 enableval=$enable_euptex_synctex;
3348 test "x$enable_web2c:$enable_euptex" = xyes:yes && {
3349 need_ptexenc=yes
3351 # Check whether --enable-aleph was given.
3352 if test "${enable_aleph+set}" = set; then :
3353 enableval=$enable_aleph;
3355 case $enable_aleph in #(
3356 yes | no) :
3357 ;; #(
3358 *) :
3359 enable_aleph=yes ;;
3360 esac
3361 # Check whether --enable-pdftex was given.
3362 if test "${enable_pdftex+set}" = set; then :
3363 enableval=$enable_pdftex;
3365 case $enable_pdftex in #(
3366 yes | no) :
3367 ;; #(
3368 *) :
3369 enable_pdftex=yes ;;
3370 esac
3372 # Check whether --enable-pdftex-synctex was given.
3373 if test "${enable_pdftex_synctex+set}" = set; then :
3374 enableval=$enable_pdftex_synctex;
3377 test "x$enable_web2c:$enable_pdftex" = xyes:yes && {
3378 need_xpdf=yes
3379 need_libpng=yes
3381 # Check whether --enable-luatex was given.
3382 if test "${enable_luatex+set}" = set; then :
3383 enableval=$enable_luatex;
3385 case $enable_luatex in #(
3386 yes | no) :
3387 ;; #(
3388 *) :
3389 enable_luatex=yes ;;
3390 esac
3392 test "x$enable_web2c:$enable_luatex" = xyes:yes && {
3393 need_poppler=yes
3394 need_mpfr=yes
3395 need_cairo=yes
3396 need_libpng=yes
3397 need_zziplib=yes
3398 need_lua52=yes
3400 # Check whether --enable-luajittex was given.
3401 if test "${enable_luajittex+set}" = set; then :
3402 enableval=$enable_luajittex;
3404 case $enable_luajittex in #(
3405 yes | no) :
3406 ;; #(
3407 *) :
3408 enable_luajittex=yes ;;
3409 esac
3411 test "x$enable_web2c:$enable_luajittex" = xyes:yes && {
3412 need_poppler=yes
3413 need_mpfr=yes
3414 need_cairo=yes
3415 need_libpng=yes
3416 need_zziplib=yes
3417 need_luajit=yes
3419 # Check whether --enable-mp was given.
3420 if test "${enable_mp+set}" = set; then :
3421 enableval=$enable_mp;
3423 case $enable_mp in #(
3424 yes | no) :
3425 ;; #(
3426 *) :
3427 enable_mp=yes ;;
3428 esac
3430 test "x$enable_web2c:$enable_mp" = xyes:yes && {
3431 need_mpfr=yes
3432 need_cairo=yes
3433 need_libpng=yes
3435 # Check whether --enable-pmp was given.
3436 if test "${enable_pmp+set}" = set; then :
3437 enableval=$enable_pmp;
3439 case $enable_pmp in #(
3440 yes | no) :
3441 ;; #(
3442 *) :
3443 enable_pmp=yes ;;
3444 esac
3446 test "x$enable_web2c:$enable_pmp" = xyes:yes && {
3447 need_mpfr=yes
3448 need_cairo=yes
3449 need_libpng=yes
3450 need_ptexenc=yes
3452 # Check whether --enable-upmp was given.
3453 if test "${enable_upmp+set}" = set; then :
3454 enableval=$enable_upmp;
3456 case $enable_upmp in #(
3457 yes | no) :
3458 ;; #(
3459 *) :
3460 enable_upmp=yes ;;
3461 esac
3463 test "x$enable_web2c:$enable_upmp" = xyes:yes && {
3464 need_mpfr=yes
3465 need_cairo=yes
3466 need_libpng=yes
3467 need_ptexenc=yes
3469 # Check whether --enable-xetex was given.
3470 if test "${enable_xetex+set}" = set; then :
3471 enableval=$enable_xetex;
3473 case $enable_xetex in #(
3474 yes | no) :
3475 ;; #(
3476 *) :
3477 enable_xetex=yes ;;
3478 esac
3480 # Check whether --enable-xetex-synctex was given.
3481 if test "${enable_xetex_synctex+set}" = set; then :
3482 enableval=$enable_xetex_synctex;
3485 test "x$enable_web2c:$enable_xetex" = xyes:yes && {
3486 need_poppler=yes
3487 need_libpng=yes
3488 need_freetype2=yes
3489 need_teckit=yes
3490 need_harfbuzz=yes
3492 ## configure options for MF
3493 # Check whether --enable-mf was given.
3494 if test "${enable_mf+set}" = set; then :
3495 enableval=$enable_mf;
3497 case $enable_mf in #(
3498 yes | no) :
3499 ;; #(
3500 *) :
3501 enable_mf=yes ;;
3502 esac
3504 # Check whether --enable-mf-nowin was given.
3505 if test "${enable_mf_nowin+set}" = set; then :
3506 enableval=$enable_mf_nowin;
3508 case $enable_mf_nowin in #(
3509 yes | no) :
3510 ;; #(
3511 *) :
3512 enable_mf_nowin=yes ;;
3513 esac
3514 # Check whether --enable-mflua was given.
3515 if test "${enable_mflua+set}" = set; then :
3516 enableval=$enable_mflua;
3518 case $enable_mflua in #(
3519 yes | no) :
3520 ;; #(
3521 *) :
3522 enable_mflua=yes ;;
3523 esac
3525 # Check whether --enable-mflua-nowin was given.
3526 if test "${enable_mflua_nowin+set}" = set; then :
3527 enableval=$enable_mflua_nowin;
3529 case $enable_mflua_nowin in #(
3530 yes | no) :
3531 ;; #(
3532 *) :
3533 enable_mflua_nowin=no ;;
3534 esac
3536 test "x$enable_web2c:$enable_mflua" = xyes:yes && {
3537 need_lua52=yes
3539 # Check whether --enable-mfluajit was given.
3540 if test "${enable_mfluajit+set}" = set; then :
3541 enableval=$enable_mfluajit;
3543 case $enable_mfluajit in #(
3544 yes | no) :
3545 ;; #(
3546 *) :
3547 enable_mfluajit=yes ;;
3548 esac
3550 # Check whether --enable-mfluajit-nowin was given.
3551 if test "${enable_mfluajit_nowin+set}" = set; then :
3552 enableval=$enable_mfluajit_nowin;
3554 case $enable_mfluajit_nowin in #(
3555 yes | no) :
3556 ;; #(
3557 *) :
3558 enable_mfluajit_nowin=no ;;
3559 esac
3561 test "x$enable_web2c:$enable_mfluajit" = xyes:yes && {
3562 need_luajit=yes
3565 # Check whether --with-mf-x-toolkit was given.
3566 if test "${with_mf_x_toolkit+set}" = set; then :
3567 withval=$with_mf_x_toolkit;
3569 # Check whether --enable-epsfwin was given.
3570 if test "${enable_epsfwin+set}" = set; then :
3571 enableval=$enable_epsfwin;
3573 # Check whether --enable-hp2627win was given.
3574 if test "${enable_hp2627win+set}" = set; then :
3575 enableval=$enable_hp2627win;
3577 # Check whether --enable-mftalkwin was given.
3578 if test "${enable_mftalkwin+set}" = set; then :
3579 enableval=$enable_mftalkwin;
3581 # Check whether --enable-nextwin was given.
3582 if test "${enable_nextwin+set}" = set; then :
3583 enableval=$enable_nextwin;
3585 # Check whether --enable-regiswin was given.
3586 if test "${enable_regiswin+set}" = set; then :
3587 enableval=$enable_regiswin;
3589 # Check whether --enable-suntoolswin was given.
3590 if test "${enable_suntoolswin+set}" = set; then :
3591 enableval=$enable_suntoolswin;
3593 # Check whether --enable-tektronixwin was given.
3594 if test "${enable_tektronixwin+set}" = set; then :
3595 enableval=$enable_tektronixwin;
3597 # Check whether --enable-unitermwin was given.
3598 if test "${enable_unitermwin+set}" = set; then :
3599 enableval=$enable_unitermwin;
3601 ## configure options for WEB programs
3602 # Check whether --enable-web-progs was given.
3603 if test "${enable_web_progs+set}" = set; then :
3604 enableval=$enable_web_progs;
3606 ## configure option for the SyncTeX library and tool
3607 # Check whether --enable-synctex was given.
3608 if test "${enable_synctex+set}" = set; then :
3609 enableval=$enable_synctex;
3613 ## texk/texlive/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/texlive/
3614 ## configure options and TL libraries required for texlive
3615 # Check whether --enable-texlive was given.
3616 if test "${enable_texlive+set}" = set; then :
3617 enableval=$enable_texlive;
3619 case $enable_texlive in #(
3620 yes|no) :
3621 ;; #(
3622 *) :
3624 enable_texlive=$enable_all_pkgs
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-texlive=$enable_texlive'" >&5
3626 $as_echo "$as_me: Assuming \`--enable-texlive=$enable_texlive'" >&6;}
3627 ac_configure_args="$ac_configure_args '--enable-texlive=$enable_texlive'"
3629 esac
3631 ## texk/texlive/ac/texlive.ac: configure.ac fragment for the TeX Live subdirectory texk/texlive/
3632 ## configure options for texlive
3633 # Check whether --enable-linked-scripts was given.
3634 if test "${enable_linked_scripts+set}" = set; then :
3635 enableval=$enable_linked_scripts;
3639 ## libs/zziplib/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/zziplib/
3640 ## configure options and TL libraries required for zziplib
3642 # Check whether --with-system-zziplib was given.
3643 if test "${with_system_zziplib+set}" = set; then :
3644 withval=$with_system_zziplib;
3646 if test "x$with_system_zziplib" = x; then
3647 if test -f $srcdir/../libs/zziplib/configure; then
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`zziplib' headers and library from TL tree" >&5
3649 $as_echo "$as_me: Assuming \`zziplib' headers and library from TL tree" >&6;}
3650 with_system_zziplib=no
3651 else
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`zziplib' headers and library" >&5
3653 $as_echo "$as_me: Assuming installed \`zziplib' headers and library" >&6;}
3654 with_system_zziplib=yes
3656 ac_configure_args="$ac_configure_args '--with-system-zziplib=$with_system_zziplib'"
3658 if test "x$with_system_zziplib" = xyes; then
3659 if test "x$with_system_zlib" = x; then
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \`zlib' headers and library" >&5
3661 $as_echo "$as_me: -> installed \`zlib' headers and library" >&6;}
3662 with_system_zlib=yes
3663 ac_configure_args="$ac_configure_args '--with-system-zlib'"
3664 elif test "x$with_system_zlib" != xyes; then
3665 as_fn_error $? "Sorry, \`--with-system-zziplib' requires \`--with-system-zlib'" "$LINENO" 5
3669 test "x$need_zziplib" = xyes && {
3670 need_zlib=yes
3673 ## libs/poppler/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/poppler/
3674 ## configure options and TL libraries required for poppler
3676 # Check whether --with-system-poppler was given.
3677 if test "${with_system_poppler+set}" = set; then :
3678 withval=$with_system_poppler;
3680 if test "x$with_system_poppler" = x; then
3681 if test -f $srcdir/../libs/poppler/configure; then
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`poppler' headers and library from TL tree" >&5
3683 $as_echo "$as_me: Assuming \`poppler' headers and library from TL tree" >&6;}
3684 with_system_poppler=no
3685 else
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`poppler' headers and library" >&5
3687 $as_echo "$as_me: Assuming installed \`poppler' headers and library" >&6;}
3688 with_system_poppler=yes
3690 ac_configure_args="$ac_configure_args '--with-system-poppler=$with_system_poppler'"
3692 if test "x$with_system_poppler" = xyes; then
3693 if test "x$with_system_zlib" = x; then
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \`zlib' headers and library" >&5
3695 $as_echo "$as_me: -> installed \`zlib' headers and library" >&6;}
3696 with_system_zlib=yes
3697 ac_configure_args="$ac_configure_args '--with-system-zlib'"
3698 elif test "x$with_system_zlib" != xyes; then
3699 as_fn_error $? "Sorry, \`--with-system-poppler' requires \`--with-system-zlib'" "$LINENO" 5
3703 test "x$need_poppler" = xyes && {
3704 need_zlib=yes
3707 ## libs/mpfr/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/mpfr/
3708 ## configure options and TL libraries required for mpfr
3710 # Check whether --with-system-mpfr was given.
3711 if test "${with_system_mpfr+set}" = set; then :
3712 withval=$with_system_mpfr;
3715 # Check whether --with-mpfr-includes was given.
3716 if test "${with_mpfr_includes+set}" = set; then :
3717 withval=$with_mpfr_includes;
3720 # Check whether --with-mpfr-libdir was given.
3721 if test "${with_mpfr_libdir+set}" = set; then :
3722 withval=$with_mpfr_libdir;
3724 if test "x$with_system_mpfr" = x; then
3725 if test -f $srcdir/../libs/mpfr/configure; then
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`mpfr' headers and library from TL tree" >&5
3727 $as_echo "$as_me: Assuming \`mpfr' headers and library from TL tree" >&6;}
3728 with_system_mpfr=no
3729 else
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`mpfr' headers and library" >&5
3731 $as_echo "$as_me: Assuming installed \`mpfr' headers and library" >&6;}
3732 with_system_mpfr=yes
3734 ac_configure_args="$ac_configure_args '--with-system-mpfr=$with_system_mpfr'"
3736 if test "x$with_system_mpfr" = xyes; then
3737 if test "x$with_system_gmp" = x; then
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \`gmp' headers and library" >&5
3739 $as_echo "$as_me: -> installed \`gmp' headers and library" >&6;}
3740 with_system_gmp=yes
3741 ac_configure_args="$ac_configure_args '--with-system-gmp'"
3742 elif test "x$with_system_gmp" != xyes; then
3743 as_fn_error $? "Sorry, \`--with-system-mpfr' requires \`--with-system-gmp'" "$LINENO" 5
3747 test "x$need_mpfr" = xyes && {
3748 need_gmp=yes
3751 ## libs/gmp/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/gmp/
3752 ## configure options and TL libraries required for gmp
3754 # Check whether --with-system-gmp was given.
3755 if test "${with_system_gmp+set}" = set; then :
3756 withval=$with_system_gmp;
3759 # Check whether --with-gmp-includes was given.
3760 if test "${with_gmp_includes+set}" = set; then :
3761 withval=$with_gmp_includes;
3764 # Check whether --with-gmp-libdir was given.
3765 if test "${with_gmp_libdir+set}" = set; then :
3766 withval=$with_gmp_libdir;
3768 if test "x$with_system_gmp" = x; then
3769 if test -f $srcdir/../libs/gmp/configure; then
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`gmp' headers and library from TL tree" >&5
3771 $as_echo "$as_me: Assuming \`gmp' headers and library from TL tree" >&6;}
3772 with_system_gmp=no
3773 else
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`gmp' headers and library" >&5
3775 $as_echo "$as_me: Assuming installed \`gmp' headers and library" >&6;}
3776 with_system_gmp=yes
3778 ac_configure_args="$ac_configure_args '--with-system-gmp=$with_system_gmp'"
3781 ## libs/cairo/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/cairo/
3782 ## configure options and TL libraries required for cairo
3784 # Check whether --with-system-cairo was given.
3785 if test "${with_system_cairo+set}" = set; then :
3786 withval=$with_system_cairo;
3788 if test "x$with_system_cairo" = x; then
3789 if test -f $srcdir/../libs/cairo/configure; then
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`cairo' headers and library from TL tree" >&5
3791 $as_echo "$as_me: Assuming \`cairo' headers and library from TL tree" >&6;}
3792 with_system_cairo=no
3793 else
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`cairo' headers and library" >&5
3795 $as_echo "$as_me: Assuming installed \`cairo' headers and library" >&6;}
3796 with_system_cairo=yes
3798 ac_configure_args="$ac_configure_args '--with-system-cairo=$with_system_cairo'"
3800 if test "x$with_system_cairo" = xyes; then
3801 if test "x$with_system_pixman" = x; then
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \`pixman' headers and library" >&5
3803 $as_echo "$as_me: -> installed \`pixman' headers and library" >&6;}
3804 with_system_pixman=yes
3805 ac_configure_args="$ac_configure_args '--with-system-pixman'"
3806 elif test "x$with_system_pixman" != xyes; then
3807 as_fn_error $? "Sorry, \`--with-system-cairo' requires \`--with-system-pixman'" "$LINENO" 5
3811 test "x$need_cairo" = xyes && {
3812 need_pixman=yes
3815 ## libs/pixman/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/pixman/
3816 ## configure options and TL libraries required for pixman
3818 # Check whether --with-system-pixman was given.
3819 if test "${with_system_pixman+set}" = set; then :
3820 withval=$with_system_pixman;
3822 if test "x$with_system_pixman" = x; then
3823 if test -f $srcdir/../libs/pixman/configure; then
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`pixman' headers and library from TL tree" >&5
3825 $as_echo "$as_me: Assuming \`pixman' headers and library from TL tree" >&6;}
3826 with_system_pixman=no
3827 else
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`pixman' headers and library" >&5
3829 $as_echo "$as_me: Assuming installed \`pixman' headers and library" >&6;}
3830 with_system_pixman=yes
3832 ac_configure_args="$ac_configure_args '--with-system-pixman=$with_system_pixman'"
3835 ## libs/libpng/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/libpng/
3836 ## configure options and TL libraries required for libpng
3838 # Check whether --with-system-libpng was given.
3839 if test "${with_system_libpng+set}" = set; then :
3840 withval=$with_system_libpng;
3842 if test "x$with_system_libpng" = x; then
3843 if test -f $srcdir/../libs/libpng/configure; then
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`libpng' headers and library from TL tree" >&5
3845 $as_echo "$as_me: Assuming \`libpng' headers and library from TL tree" >&6;}
3846 with_system_libpng=no
3847 else
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`libpng' headers and library" >&5
3849 $as_echo "$as_me: Assuming installed \`libpng' headers and library" >&6;}
3850 with_system_libpng=yes
3852 ac_configure_args="$ac_configure_args '--with-system-libpng=$with_system_libpng'"
3854 if test "x$with_system_libpng" = xyes; then
3855 if test "x$with_system_zlib" = x; then
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \`zlib' headers and library" >&5
3857 $as_echo "$as_me: -> installed \`zlib' headers and library" >&6;}
3858 with_system_zlib=yes
3859 ac_configure_args="$ac_configure_args '--with-system-zlib'"
3860 elif test "x$with_system_zlib" != xyes; then
3861 as_fn_error $? "Sorry, \`--with-system-libpng' requires \`--with-system-zlib'" "$LINENO" 5
3865 test "x$need_libpng" = xyes && {
3866 need_zlib=yes
3869 ## libs/luajit/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/luajit/
3870 ## configure options and TL libraries required for luajit
3872 ## libs/lua52/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/lua52/
3873 ## configure options and TL libraries required for lua52
3875 ## libs/zlib/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/zlib/
3876 ## configure options and TL libraries required for zlib
3878 # Check whether --with-system-zlib was given.
3879 if test "${with_system_zlib+set}" = set; then :
3880 withval=$with_system_zlib;
3883 # Check whether --with-zlib-includes was given.
3884 if test "${with_zlib_includes+set}" = set; then :
3885 withval=$with_zlib_includes;
3888 # Check whether --with-zlib-libdir was given.
3889 if test "${with_zlib_libdir+set}" = set; then :
3890 withval=$with_zlib_libdir;
3892 if test "x$with_system_zlib" = x; then
3893 if test -f $srcdir/../libs/zlib/configure; then
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`zlib' headers and library from TL tree" >&5
3895 $as_echo "$as_me: Assuming \`zlib' headers and library from TL tree" >&6;}
3896 with_system_zlib=no
3897 else
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`zlib' headers and library" >&5
3899 $as_echo "$as_me: Assuming installed \`zlib' headers and library" >&6;}
3900 with_system_zlib=yes
3902 ac_configure_args="$ac_configure_args '--with-system-zlib=$with_system_zlib'"
3906 ## texk/kpathsea/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/kpathsea/
3907 ## configure options and TL libraries required for kpathsea
3909 # Check whether --with-system-kpathsea was given.
3910 if test "${with_system_kpathsea+set}" = set; then :
3911 withval=$with_system_kpathsea;
3913 if test "x$with_system_kpathsea" = x; then
3914 if test -f $srcdir/../texk/kpathsea/configure; then
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`kpathsea' headers and library from TL tree" >&5
3916 $as_echo "$as_me: Assuming \`kpathsea' headers and library from TL tree" >&6;}
3917 with_system_kpathsea=no
3918 else
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`kpathsea' headers and library" >&5
3920 $as_echo "$as_me: Assuming installed \`kpathsea' headers and library" >&6;}
3921 with_system_kpathsea=yes
3923 ac_configure_args="$ac_configure_args '--with-system-kpathsea=$with_system_kpathsea'"
3926 ## texk/kpathsea/ac/mktex.ac: configure.ac fragment for the TeX Live
3927 ## subdirectory texk/kpathsea.
3928 ## configure defaults for mktexfmt & Co.
3929 # Check whether --enable-mktexmf-default was given.
3930 if test "${enable_mktexmf_default+set}" = set; then :
3931 enableval=$enable_mktexmf_default;
3933 # Check whether --enable-mktexpk-default was given.
3934 if test "${enable_mktexpk_default+set}" = set; then :
3935 enableval=$enable_mktexpk_default;
3937 # Check whether --enable-mktextfm-default was given.
3938 if test "${enable_mktextfm_default+set}" = set; then :
3939 enableval=$enable_mktextfm_default;
3941 # Check whether --enable-mkocp-default was given.
3942 if test "${enable_mkocp_default+set}" = set; then :
3943 enableval=$enable_mkocp_default;
3945 # Check whether --enable-mkofm-default was given.
3946 if test "${enable_mkofm_default+set}" = set; then :
3947 enableval=$enable_mkofm_default;
3949 # Check whether --enable-mktexfmt-default was given.
3950 if test "${enable_mktexfmt_default+set}" = set; then :
3951 enableval=$enable_mktexfmt_default;
3953 # Check whether --enable-mktextex-default was given.
3954 if test "${enable_mktextex_default+set}" = set; then :
3955 enableval=$enable_mktextex_default;
3961 am__api_version='1.15'
3963 # Find a good install program. We prefer a C program (faster),
3964 # so one script is as good as another. But avoid the broken or
3965 # incompatible versions:
3966 # SysV /etc/install, /usr/sbin/install
3967 # SunOS /usr/etc/install
3968 # IRIX /sbin/install
3969 # AIX /bin/install
3970 # AmigaOS /C/install, which installs bootblocks on floppy discs
3971 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3972 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3973 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3974 # OS/2's system install, which has a completely different semantic
3975 # ./install, which can be erroneously created by make from ./install.sh.
3976 # Reject install programs that cannot install multiple files.
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3978 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3979 if test -z "$INSTALL"; then
3980 if ${ac_cv_path_install+:} false; then :
3981 $as_echo_n "(cached) " >&6
3982 else
3983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3984 for as_dir in $PATH
3986 IFS=$as_save_IFS
3987 test -z "$as_dir" && as_dir=.
3988 # Account for people who put trailing slashes in PATH elements.
3989 case $as_dir/ in #((
3990 ./ | .// | /[cC]/* | \
3991 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3992 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3993 /usr/ucb/* ) ;;
3995 # OSF1 and SCO ODT 3.0 have their own names for install.
3996 # Don't use installbsd from OSF since it installs stuff as root
3997 # by default.
3998 for ac_prog in ginstall scoinst install; do
3999 for ac_exec_ext in '' $ac_executable_extensions; do
4000 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4001 if test $ac_prog = install &&
4002 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4003 # AIX install. It has an incompatible calling convention.
4005 elif test $ac_prog = install &&
4006 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4007 # program-specific install script used by HP pwplus--don't use.
4009 else
4010 rm -rf conftest.one conftest.two conftest.dir
4011 echo one > conftest.one
4012 echo two > conftest.two
4013 mkdir conftest.dir
4014 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4015 test -s conftest.one && test -s conftest.two &&
4016 test -s conftest.dir/conftest.one &&
4017 test -s conftest.dir/conftest.two
4018 then
4019 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4020 break 3
4024 done
4025 done
4027 esac
4029 done
4030 IFS=$as_save_IFS
4032 rm -rf conftest.one conftest.two conftest.dir
4035 if test "${ac_cv_path_install+set}" = set; then
4036 INSTALL=$ac_cv_path_install
4037 else
4038 # As a last resort, use the slow shell script. Don't cache a
4039 # value for INSTALL within a source directory, because that will
4040 # break other packages using the cache if that directory is
4041 # removed, or if the value is a relative name.
4042 INSTALL=$ac_install_sh
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4046 $as_echo "$INSTALL" >&6; }
4048 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4049 # It thinks the first close brace ends the variable substitution.
4050 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4052 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4054 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4057 $as_echo_n "checking whether build environment is sane... " >&6; }
4058 # Reject unsafe characters in $srcdir or the absolute working directory
4059 # name. Accept space and tab only in the latter.
4060 am_lf='
4062 case `pwd` in
4063 *[\\\"\#\$\&\'\`$am_lf]*)
4064 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
4065 esac
4066 case $srcdir in
4067 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
4068 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
4069 esac
4071 # Do 'set' in a subshell so we don't clobber the current shell's
4072 # arguments. Must try -L first in case configure is actually a
4073 # symlink; some systems play weird games with the mod time of symlinks
4074 # (eg FreeBSD returns the mod time of the symlink's containing
4075 # directory).
4076 if (
4077 am_has_slept=no
4078 for am_try in 1 2; do
4079 echo "timestamp, slept: $am_has_slept" > conftest.file
4080 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4081 if test "$*" = "X"; then
4082 # -L didn't work.
4083 set X `ls -t "$srcdir/configure" conftest.file`
4085 if test "$*" != "X $srcdir/configure conftest.file" \
4086 && test "$*" != "X conftest.file $srcdir/configure"; then
4088 # If neither matched, then we have a broken ls. This can happen
4089 # if, for instance, CONFIG_SHELL is bash and it inherits a
4090 # broken ls alias from the environment. This has actually
4091 # happened. Such a system could not be considered "sane".
4092 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
4093 alias in your environment" "$LINENO" 5
4095 if test "$2" = conftest.file || test $am_try -eq 2; then
4096 break
4098 # Just in case.
4099 sleep 1
4100 am_has_slept=yes
4101 done
4102 test "$2" = conftest.file
4104 then
4105 # Ok.
4107 else
4108 as_fn_error $? "newly created file is older than distributed files!
4109 Check your system clock" "$LINENO" 5
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4112 $as_echo "yes" >&6; }
4113 # If we didn't sleep, we still need to ensure time stamps of config.status and
4114 # generated files are strictly newer.
4115 am_sleep_pid=
4116 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
4117 ( sleep 1 ) &
4118 am_sleep_pid=$!
4121 rm -f conftest.file
4123 test "$program_prefix" != NONE &&
4124 program_transform_name="s&^&$program_prefix&;$program_transform_name"
4125 # Use a double $ so make ignores it.
4126 test "$program_suffix" != NONE &&
4127 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
4128 # Double any \ or $.
4129 # By default was `s,x,x', remove it if useless.
4130 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
4131 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
4133 if test x"${MISSING+set}" != xset; then
4134 case $am_aux_dir in
4135 *\ * | *\ *)
4136 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
4138 MISSING="\${SHELL} $am_aux_dir/missing" ;;
4139 esac
4141 # Use eval to expand $SHELL
4142 if eval "$MISSING --is-lightweight"; then
4143 am_missing_run="$MISSING "
4144 else
4145 am_missing_run=
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
4147 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
4150 if test x"${install_sh+set}" != xset; then
4151 case $am_aux_dir in
4152 *\ * | *\ *)
4153 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
4155 install_sh="\${SHELL} $am_aux_dir/install-sh"
4156 esac
4159 # Installed binaries are usually stripped using 'strip' when the user
4160 # run "make install-strip". However 'strip' might not be the right
4161 # tool to use in cross-compilation environments, therefore Automake
4162 # will honor the 'STRIP' environment variable to overrule this program.
4163 if test "$cross_compiling" != no; then
4164 if test -n "$ac_tool_prefix"; then
4165 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4166 set dummy ${ac_tool_prefix}strip; ac_word=$2
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4168 $as_echo_n "checking for $ac_word... " >&6; }
4169 if ${ac_cv_prog_STRIP+:} false; then :
4170 $as_echo_n "(cached) " >&6
4171 else
4172 if test -n "$STRIP"; then
4173 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4174 else
4175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4176 for as_dir in $PATH
4178 IFS=$as_save_IFS
4179 test -z "$as_dir" && as_dir=.
4180 for ac_exec_ext in '' $ac_executable_extensions; do
4181 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4182 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4184 break 2
4186 done
4187 done
4188 IFS=$as_save_IFS
4192 STRIP=$ac_cv_prog_STRIP
4193 if test -n "$STRIP"; then
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4195 $as_echo "$STRIP" >&6; }
4196 else
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4198 $as_echo "no" >&6; }
4203 if test -z "$ac_cv_prog_STRIP"; then
4204 ac_ct_STRIP=$STRIP
4205 # Extract the first word of "strip", so it can be a program name with args.
4206 set dummy strip; ac_word=$2
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4208 $as_echo_n "checking for $ac_word... " >&6; }
4209 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
4210 $as_echo_n "(cached) " >&6
4211 else
4212 if test -n "$ac_ct_STRIP"; then
4213 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4214 else
4215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4216 for as_dir in $PATH
4218 IFS=$as_save_IFS
4219 test -z "$as_dir" && as_dir=.
4220 for ac_exec_ext in '' $ac_executable_extensions; do
4221 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4222 ac_cv_prog_ac_ct_STRIP="strip"
4223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4224 break 2
4226 done
4227 done
4228 IFS=$as_save_IFS
4232 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4233 if test -n "$ac_ct_STRIP"; then
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4235 $as_echo "$ac_ct_STRIP" >&6; }
4236 else
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4238 $as_echo "no" >&6; }
4241 if test "x$ac_ct_STRIP" = x; then
4242 STRIP=":"
4243 else
4244 case $cross_compiling:$ac_tool_warned in
4245 yes:)
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4247 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4248 ac_tool_warned=yes ;;
4249 esac
4250 STRIP=$ac_ct_STRIP
4252 else
4253 STRIP="$ac_cv_prog_STRIP"
4257 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4260 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4261 if test -z "$MKDIR_P"; then
4262 if ${ac_cv_path_mkdir+:} false; then :
4263 $as_echo_n "(cached) " >&6
4264 else
4265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4266 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
4268 IFS=$as_save_IFS
4269 test -z "$as_dir" && as_dir=.
4270 for ac_prog in mkdir gmkdir; do
4271 for ac_exec_ext in '' $ac_executable_extensions; do
4272 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
4273 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4274 'mkdir (GNU coreutils) '* | \
4275 'mkdir (coreutils) '* | \
4276 'mkdir (fileutils) '4.1*)
4277 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
4278 break 3;;
4279 esac
4280 done
4281 done
4282 done
4283 IFS=$as_save_IFS
4287 test -d ./--version && rmdir ./--version
4288 if test "${ac_cv_path_mkdir+set}" = set; then
4289 MKDIR_P="$ac_cv_path_mkdir -p"
4290 else
4291 # As a last resort, use the slow shell script. Don't cache a
4292 # value for MKDIR_P within a source directory, because that will
4293 # break other packages using the cache if that directory is
4294 # removed, or if the value is a relative name.
4295 MKDIR_P="$ac_install_sh -d"
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4299 $as_echo "$MKDIR_P" >&6; }
4301 for ac_prog in gawk mawk nawk awk
4303 # Extract the first word of "$ac_prog", so it can be a program name with args.
4304 set dummy $ac_prog; ac_word=$2
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4306 $as_echo_n "checking for $ac_word... " >&6; }
4307 if ${ac_cv_prog_AWK+:} false; then :
4308 $as_echo_n "(cached) " >&6
4309 else
4310 if test -n "$AWK"; then
4311 ac_cv_prog_AWK="$AWK" # Let the user override the test.
4312 else
4313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4314 for as_dir in $PATH
4316 IFS=$as_save_IFS
4317 test -z "$as_dir" && as_dir=.
4318 for ac_exec_ext in '' $ac_executable_extensions; do
4319 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4320 ac_cv_prog_AWK="$ac_prog"
4321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4322 break 2
4324 done
4325 done
4326 IFS=$as_save_IFS
4330 AWK=$ac_cv_prog_AWK
4331 if test -n "$AWK"; then
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4333 $as_echo "$AWK" >&6; }
4334 else
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4336 $as_echo "no" >&6; }
4340 test -n "$AWK" && break
4341 done
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4344 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4345 set x ${MAKE-make}
4346 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4347 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4348 $as_echo_n "(cached) " >&6
4349 else
4350 cat >conftest.make <<\_ACEOF
4351 SHELL = /bin/sh
4352 all:
4353 @echo '@@@%%%=$(MAKE)=@@@%%%'
4354 _ACEOF
4355 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4356 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4357 *@@@%%%=?*=@@@%%%*)
4358 eval ac_cv_prog_make_${ac_make}_set=yes;;
4360 eval ac_cv_prog_make_${ac_make}_set=no;;
4361 esac
4362 rm -f conftest.make
4364 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4366 $as_echo "yes" >&6; }
4367 SET_MAKE=
4368 else
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4370 $as_echo "no" >&6; }
4371 SET_MAKE="MAKE=${MAKE-make}"
4374 rm -rf .tst 2>/dev/null
4375 mkdir .tst 2>/dev/null
4376 if test -d .tst; then
4377 am__leading_dot=.
4378 else
4379 am__leading_dot=_
4381 rmdir .tst 2>/dev/null
4383 DEPDIR="${am__leading_dot}deps"
4385 ac_config_commands="$ac_config_commands depfiles"
4388 am_make=${MAKE-make}
4389 cat > confinc << 'END'
4390 am__doit:
4391 @echo this is the am__doit target
4392 .PHONY: am__doit
4394 # If we don't find an include directive, just comment out the code.
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4396 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4397 am__include="#"
4398 am__quote=
4399 _am_result=none
4400 # First try GNU make style include.
4401 echo "include confinc" > confmf
4402 # Ignore all kinds of additional output from 'make'.
4403 case `$am_make -s -f confmf 2> /dev/null` in #(
4404 *the\ am__doit\ target*)
4405 am__include=include
4406 am__quote=
4407 _am_result=GNU
4409 esac
4410 # Now try BSD make style include.
4411 if test "$am__include" = "#"; then
4412 echo '.include "confinc"' > confmf
4413 case `$am_make -s -f confmf 2> /dev/null` in #(
4414 *the\ am__doit\ target*)
4415 am__include=.include
4416 am__quote="\""
4417 _am_result=BSD
4419 esac
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4424 $as_echo "$_am_result" >&6; }
4425 rm -f confinc confmf
4427 # Check whether --enable-dependency-tracking was given.
4428 if test "${enable_dependency_tracking+set}" = set; then :
4429 enableval=$enable_dependency_tracking;
4432 if test "x$enable_dependency_tracking" != xno; then
4433 am_depcomp="$ac_aux_dir/depcomp"
4434 AMDEPBACKSLASH='\'
4435 am__nodep='_no'
4437 if test "x$enable_dependency_tracking" != xno; then
4438 AMDEP_TRUE=
4439 AMDEP_FALSE='#'
4440 else
4441 AMDEP_TRUE='#'
4442 AMDEP_FALSE=
4446 # Check whether --enable-silent-rules was given.
4447 if test "${enable_silent_rules+set}" = set; then :
4448 enableval=$enable_silent_rules;
4451 case $enable_silent_rules in # (((
4452 yes) AM_DEFAULT_VERBOSITY=0;;
4453 no) AM_DEFAULT_VERBOSITY=1;;
4454 *) AM_DEFAULT_VERBOSITY=1;;
4455 esac
4456 am_make=${MAKE-make}
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4458 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4459 if ${am_cv_make_support_nested_variables+:} false; then :
4460 $as_echo_n "(cached) " >&6
4461 else
4462 if $as_echo 'TRUE=$(BAR$(V))
4463 BAR0=false
4464 BAR1=true
4466 am__doit:
4467 @$(TRUE)
4468 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4469 am_cv_make_support_nested_variables=yes
4470 else
4471 am_cv_make_support_nested_variables=no
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4475 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4476 if test $am_cv_make_support_nested_variables = yes; then
4477 AM_V='$(V)'
4478 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4479 else
4480 AM_V=$AM_DEFAULT_VERBOSITY
4481 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4483 AM_BACKSLASH='\'
4485 # Check whether --enable-compiler-warnings was given.
4486 if test "${enable_compiler_warnings+set}" = set; then :
4487 enableval=$enable_compiler_warnings;
4489 case $enable_compiler_warnings in #(
4490 no | min | yes | max | all) :
4491 ;; #(
4492 *) :
4493 if test "x$enable_maintainer_mode" = xyes; then :
4494 enable_compiler_warnings=yes
4495 else
4496 enable_compiler_warnings=min
4497 fi ;;
4498 esac
4501 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4502 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4503 # is not polluted with repeated "-I."
4504 am__isrc=' -I$(srcdir)'
4505 # test to see if srcdir already configured
4506 if test -f $srcdir/config.status; then
4507 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4511 # test whether we have cygpath
4512 if test -z "$CYGPATH_W"; then
4513 if (cygpath --version) >/dev/null 2>/dev/null; then
4514 CYGPATH_W='cygpath -w'
4515 else
4516 CYGPATH_W=echo
4521 # Define the identity of the package.
4522 PACKAGE='tex-live-libs'
4523 VERSION='2016/dev'
4526 cat >>confdefs.h <<_ACEOF
4527 #define PACKAGE "$PACKAGE"
4528 _ACEOF
4531 cat >>confdefs.h <<_ACEOF
4532 #define VERSION "$VERSION"
4533 _ACEOF
4535 # Some tools Automake needs.
4537 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4540 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4543 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4546 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4549 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4551 # For better backward compatibility. To be removed once Automake 1.9.x
4552 # dies out for good. For more background, see:
4553 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4554 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4555 mkdir_p='$(MKDIR_P)'
4557 # We need awk for the "check" target (and possibly the TAP driver). The
4558 # system "awk" is bad on some platforms.
4559 # Always define AMTAR for backward compatibility. Yes, it's still used
4560 # in the wild :-( We should find a proper way to deprecate it ...
4561 AMTAR='$${TAR-tar}'
4564 # We'll loop over all known methods to create a tar archive until one works.
4565 _am_tools='gnutar pax cpio none'
4567 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
4573 depcc="$CC" am_compiler_list=
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4576 $as_echo_n "checking dependency style of $depcc... " >&6; }
4577 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4578 $as_echo_n "(cached) " >&6
4579 else
4580 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4581 # We make a subdir and do the tests there. Otherwise we can end up
4582 # making bogus files that we don't know about and never remove. For
4583 # instance it was reported that on HP-UX the gcc test will end up
4584 # making a dummy file named 'D' -- because '-MD' means "put the output
4585 # in D".
4586 rm -rf conftest.dir
4587 mkdir conftest.dir
4588 # Copy depcomp to subdir because otherwise we won't find it if we're
4589 # using a relative directory.
4590 cp "$am_depcomp" conftest.dir
4591 cd conftest.dir
4592 # We will build objects and dependencies in a subdirectory because
4593 # it helps to detect inapplicable dependency modes. For instance
4594 # both Tru64's cc and ICC support -MD to output dependencies as a
4595 # side effect of compilation, but ICC will put the dependencies in
4596 # the current directory while Tru64 will put them in the object
4597 # directory.
4598 mkdir sub
4600 am_cv_CC_dependencies_compiler_type=none
4601 if test "$am_compiler_list" = ""; then
4602 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4604 am__universal=false
4605 case " $depcc " in #(
4606 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4607 esac
4609 for depmode in $am_compiler_list; do
4610 # Setup a source with many dependencies, because some compilers
4611 # like to wrap large dependency lists on column 80 (with \), and
4612 # we should not choose a depcomp mode which is confused by this.
4614 # We need to recreate these files for each test, as the compiler may
4615 # overwrite some of them when testing with obscure command lines.
4616 # This happens at least with the AIX C compiler.
4617 : > sub/conftest.c
4618 for i in 1 2 3 4 5 6; do
4619 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4620 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4621 # Solaris 10 /bin/sh.
4622 echo '/* dummy */' > sub/conftst$i.h
4623 done
4624 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4626 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4627 # mode. It turns out that the SunPro C++ compiler does not properly
4628 # handle '-M -o', and we need to detect this. Also, some Intel
4629 # versions had trouble with output in subdirs.
4630 am__obj=sub/conftest.${OBJEXT-o}
4631 am__minus_obj="-o $am__obj"
4632 case $depmode in
4633 gcc)
4634 # This depmode causes a compiler race in universal mode.
4635 test "$am__universal" = false || continue
4637 nosideeffect)
4638 # After this tag, mechanisms are not by side-effect, so they'll
4639 # only be used when explicitly requested.
4640 if test "x$enable_dependency_tracking" = xyes; then
4641 continue
4642 else
4643 break
4646 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4647 # This compiler won't grok '-c -o', but also, the minuso test has
4648 # not run yet. These depmodes are late enough in the game, and
4649 # so weak that their functioning should not be impacted.
4650 am__obj=conftest.${OBJEXT-o}
4651 am__minus_obj=
4653 none) break ;;
4654 esac
4655 if depmode=$depmode \
4656 source=sub/conftest.c object=$am__obj \
4657 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4658 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4659 >/dev/null 2>conftest.err &&
4660 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4661 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4662 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4663 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4664 # icc doesn't choke on unknown options, it will just issue warnings
4665 # or remarks (even with -Werror). So we grep stderr for any message
4666 # that says an option was ignored or not supported.
4667 # When given -MP, icc 7.0 and 7.1 complain thusly:
4668 # icc: Command line warning: ignoring option '-M'; no argument required
4669 # The diagnosis changed in icc 8.0:
4670 # icc: Command line remark: option '-MP' not supported
4671 if (grep 'ignoring option' conftest.err ||
4672 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4673 am_cv_CC_dependencies_compiler_type=$depmode
4674 break
4677 done
4679 cd ..
4680 rm -rf conftest.dir
4681 else
4682 am_cv_CC_dependencies_compiler_type=none
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4687 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4688 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4691 test "x$enable_dependency_tracking" != xno \
4692 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4693 am__fastdepCC_TRUE=
4694 am__fastdepCC_FALSE='#'
4695 else
4696 am__fastdepCC_TRUE='#'
4697 am__fastdepCC_FALSE=
4702 # POSIX will say in a future version that running "rm -f" with no argument
4703 # is OK; and we want to be able to make that assumption in our Makefile
4704 # recipes. So use an aggressive probe to check that the usage we want is
4705 # actually supported "in the wild" to an acceptable degree.
4706 # See automake bug#10828.
4707 # To make any issue more visible, cause the running configure to be aborted
4708 # by default if the 'rm' program in use doesn't match our expectations; the
4709 # user can still override this though.
4710 if rm -f && rm -fr && rm -rf; then : OK; else
4711 cat >&2 <<'END'
4712 Oops!
4714 Your 'rm' program seems unable to run without file operands specified
4715 on the command line, even when the '-f' option is present. This is contrary
4716 to the behaviour of most rm programs out there, and not conforming with
4717 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4719 Please tell bug-automake@gnu.org about your system, including the value
4720 of your $PATH and any error possibly output before this message. This
4721 can help us improve future automake versions.
4724 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
4725 echo 'Configuration will proceed anyway, since you have set the' >&2
4726 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4727 echo >&2
4728 else
4729 cat >&2 <<'END'
4730 Aborting the configuration process, to ensure you take notice of the issue.
4732 You can download and install GNU coreutils to get an 'rm' implementation
4733 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4735 If you want to complete the configuration process using your problematic
4736 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4737 to "yes", and re-run configure.
4740 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4746 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4747 # Check whether --enable-maintainer-mode was given.
4748 if test "${enable_maintainer_mode+set}" = set; then :
4749 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4750 else
4751 USE_MAINTAINER_MODE=no
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4755 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4756 if test $USE_MAINTAINER_MODE = yes; then
4757 MAINTAINER_MODE_TRUE=
4758 MAINTAINER_MODE_FALSE='#'
4759 else
4760 MAINTAINER_MODE_TRUE='#'
4761 MAINTAINER_MODE_FALSE=
4764 MAINT=$MAINTAINER_MODE_TRUE
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5
4768 $as_echo_n "checking whether the compiler accepts prototypes... " >&6; }
4769 if ${kb_cv_c_prototypes+:} false; then :
4770 $as_echo_n "(cached) " >&6
4771 else
4772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4773 /* end confdefs.h. */
4774 #include <stdarg.h>
4776 main ()
4778 extern void foo(int i,...);
4780 return 0;
4782 _ACEOF
4783 if ac_fn_c_try_link "$LINENO"; then :
4784 kb_cv_c_prototypes=yes
4785 else
4786 kb_cv_c_prototypes=no
4788 rm -f core conftest.err conftest.$ac_objext \
4789 conftest$ac_exeext conftest.$ac_ext
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5
4792 $as_echo "$kb_cv_c_prototypes" >&6; }
4793 if test "x$kb_cv_c_prototypes" = xno; then
4794 as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
4797 $as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
4798 if ${kpse_cv_warning_cflags+:} false; then :
4799 $as_echo_n "(cached) " >&6
4800 else
4801 if test "x$GCC" = xyes; then
4802 kpse_cv_warning_cflags=
4803 if test "x$enable_compiler_warnings" != xno; then
4804 kpse_cv_warning_cflags="-Wimplicit -Wreturn-type"
4805 case `$CC -dumpversion` in #(
4806 3.4.* | 4.* | 5.*) :
4807 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #(
4808 *) :
4810 esac
4811 case `$CC -dumpversion` in #(
4812 3.[234].* | 4.* | 5.*) :
4813 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #(
4814 *) :
4816 esac
4817 if test "x$enable_compiler_warnings" != xmin; then
4818 kpse_cv_warning_cflags="-Wall -Wunused $kpse_cv_warning_cflags"
4819 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
4820 if test "x$enable_compiler_warnings" != xyes; then
4821 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
4822 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings"
4823 case `$CC -dumpversion` in #(
4824 3.4.* | 4.* | 5.*) :
4825 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;; #(
4826 *) :
4828 esac
4829 if test "x$enable_compiler_warnings" != xmax; then
4830 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wshadow"
4835 elif test "x$enable_compiler_warnings" = xno; then
4836 kpse_cv_warning_cflags=
4837 else
4838 kpse_cv_warning_cflags= # FIXME: warning flags for non-GNU C compilers
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5
4842 $as_echo "$kpse_cv_warning_cflags" >&6; }
4843 WARNING_CFLAGS=$kpse_cv_warning_cflags
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for generic libraries to build" >&5
4857 $as_echo_n "checking for generic libraries to build... " >&6; }
4858 MAKE_SUBDIRS=
4859 CONF_SUBDIRS=
4860 if test -x $srcdir/zziplib/configure; then
4861 test "x$with_system_zziplib" != xyes && test "x$need_zziplib" = xyes && MAKE_SUBDIRS="zziplib $MAKE_SUBDIRS"
4862 CONF_SUBDIRS="zziplib $CONF_SUBDIRS"
4863 if false; then
4864 subdirs="$subdirs zziplib"
4868 if test -x $srcdir/poppler/configure; then
4869 test "x$with_system_poppler" != xyes && test "x$need_poppler" = xyes && MAKE_SUBDIRS="poppler $MAKE_SUBDIRS"
4870 CONF_SUBDIRS="poppler $CONF_SUBDIRS"
4871 if false; then
4872 subdirs="$subdirs poppler"
4876 if test -x $srcdir/mpfr/configure; then
4877 test "x$with_system_mpfr" != xyes && test "x$need_mpfr" = xyes && MAKE_SUBDIRS="mpfr $MAKE_SUBDIRS"
4878 CONF_SUBDIRS="mpfr $CONF_SUBDIRS"
4879 if false; then
4880 subdirs="$subdirs mpfr"
4884 if test -x $srcdir/gmp/configure; then
4885 test "x$with_system_gmp" != xyes && test "x$need_gmp" = xyes && MAKE_SUBDIRS="gmp $MAKE_SUBDIRS"
4886 CONF_SUBDIRS="gmp $CONF_SUBDIRS"
4887 if false; then
4888 subdirs="$subdirs gmp"
4892 if test -x $srcdir/cairo/configure; then
4893 test "x$with_system_cairo" != xyes && test "x$need_cairo" = xyes && MAKE_SUBDIRS="cairo $MAKE_SUBDIRS"
4894 CONF_SUBDIRS="cairo $CONF_SUBDIRS"
4895 if false; then
4896 subdirs="$subdirs cairo"
4900 if test -x $srcdir/pixman/configure; then
4901 test "x$with_system_pixman" != xyes && test "x$need_pixman" = xyes && MAKE_SUBDIRS="pixman $MAKE_SUBDIRS"
4902 CONF_SUBDIRS="pixman $CONF_SUBDIRS"
4903 if false; then
4904 subdirs="$subdirs pixman"
4908 if test -x $srcdir/libpng/configure; then
4909 test "x$with_system_libpng" != xyes && test "x$need_libpng" = xyes && MAKE_SUBDIRS="libpng $MAKE_SUBDIRS"
4910 CONF_SUBDIRS="libpng $CONF_SUBDIRS"
4911 if false; then
4912 subdirs="$subdirs libpng"
4916 if test -x $srcdir/luajit/configure; then
4917 test "x$with_system_luajit" != xyes && test "x$need_luajit" = xyes && MAKE_SUBDIRS="luajit $MAKE_SUBDIRS"
4918 CONF_SUBDIRS="luajit $CONF_SUBDIRS"
4919 if false; then
4920 subdirs="$subdirs luajit"
4924 if test -x $srcdir/lua52/configure; then
4925 test "x$with_system_lua52" != xyes && test "x$need_lua52" = xyes && MAKE_SUBDIRS="lua52 $MAKE_SUBDIRS"
4926 CONF_SUBDIRS="lua52 $CONF_SUBDIRS"
4927 if false; then
4928 subdirs="$subdirs lua52"
4932 if test -x $srcdir/zlib/configure; then
4933 test "x$with_system_zlib" != xyes && test "x$need_zlib" = xyes && MAKE_SUBDIRS="zlib $MAKE_SUBDIRS"
4934 CONF_SUBDIRS="zlib $CONF_SUBDIRS"
4935 if false; then
4936 subdirs="$subdirs zlib"
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE_SUBDIRS" >&5
4942 $as_echo "$MAKE_SUBDIRS" >&6; }
4944 ac_config_files="$ac_config_files Makefile"
4947 cat >confcache <<\_ACEOF
4948 # This file is a shell script that caches the results of configure
4949 # tests run on this system so they can be shared between configure
4950 # scripts and configure runs, see configure's option --config-cache.
4951 # It is not useful on other systems. If it contains results you don't
4952 # want to keep, you may remove or edit it.
4954 # config.status only pays attention to the cache file if you give it
4955 # the --recheck option to rerun configure.
4957 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4958 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4959 # following values.
4961 _ACEOF
4963 # The following way of writing the cache mishandles newlines in values,
4964 # but we know of no workaround that is simple, portable, and efficient.
4965 # So, we kill variables containing newlines.
4966 # Ultrix sh set writes to stderr and can't be redirected directly,
4967 # and sets the high bit in the cache file unless we assign to the vars.
4969 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4970 eval ac_val=\$$ac_var
4971 case $ac_val in #(
4972 *${as_nl}*)
4973 case $ac_var in #(
4974 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4975 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4976 esac
4977 case $ac_var in #(
4978 _ | IFS | as_nl) ;; #(
4979 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4980 *) { eval $ac_var=; unset $ac_var;} ;;
4981 esac ;;
4982 esac
4983 done
4985 (set) 2>&1 |
4986 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4987 *${as_nl}ac_space=\ *)
4988 # `set' does not quote correctly, so add quotes: double-quote
4989 # substitution turns \\\\ into \\, and sed turns \\ into \.
4990 sed -n \
4991 "s/'/'\\\\''/g;
4992 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4993 ;; #(
4995 # `set' quotes correctly as required by POSIX, so do not add quotes.
4996 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4998 esac |
4999 sort
5001 sed '
5002 /^ac_cv_env_/b end
5003 t clear
5004 :clear
5005 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5006 t end
5007 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5008 :end' >>confcache
5009 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5010 if test -w "$cache_file"; then
5011 if test "x$cache_file" != "x/dev/null"; then
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5013 $as_echo "$as_me: updating cache $cache_file" >&6;}
5014 if test ! -f "$cache_file" || test -h "$cache_file"; then
5015 cat confcache >"$cache_file"
5016 else
5017 case $cache_file in #(
5018 */* | ?:*)
5019 mv -f confcache "$cache_file"$$ &&
5020 mv -f "$cache_file"$$ "$cache_file" ;; #(
5022 mv -f confcache "$cache_file" ;;
5023 esac
5026 else
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5028 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5031 rm -f confcache
5033 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5034 # Let make expand exec_prefix.
5035 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5037 # Transform confdefs.h into DEFS.
5038 # Protect against shell expansion while executing Makefile rules.
5039 # Protect against Makefile macro expansion.
5041 # If the first sed substitution is executed (which looks for macros that
5042 # take arguments), then branch to the quote section. Otherwise,
5043 # look for a macro that doesn't take arguments.
5044 ac_script='
5045 :mline
5046 /\\$/{
5048 s,\\\n,,
5049 b mline
5051 t clear
5052 :clear
5053 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5054 t quote
5055 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5056 t quote
5057 b any
5058 :quote
5059 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5060 s/\[/\\&/g
5061 s/\]/\\&/g
5062 s/\$/$$/g
5064 :any
5067 s/^\n//
5068 s/\n/ /g
5072 DEFS=`sed -n "$ac_script" confdefs.h`
5075 ac_libobjs=
5076 ac_ltlibobjs=
5078 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5079 # 1. Remove the extension, and $U if already installed.
5080 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5081 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5082 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5083 # will be set to the directory where LIBOBJS objects are built.
5084 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5085 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5086 done
5087 LIBOBJS=$ac_libobjs
5089 LTLIBOBJS=$ac_ltlibobjs
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
5093 $as_echo_n "checking that generated files are newer than configure... " >&6; }
5094 if test -n "$am_sleep_pid"; then
5095 # Hide warnings about reused PIDs.
5096 wait $am_sleep_pid 2>/dev/null
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
5099 $as_echo "done" >&6; }
5100 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5101 as_fn_error $? "conditional \"AMDEP\" was never defined.
5102 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5104 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5105 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5106 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5108 if test -n "$EXEEXT"; then
5109 am__EXEEXT_TRUE=
5110 am__EXEEXT_FALSE='#'
5111 else
5112 am__EXEEXT_TRUE='#'
5113 am__EXEEXT_FALSE=
5116 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5117 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
5118 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5121 : "${CONFIG_STATUS=./config.status}"
5122 ac_write_fail=0
5123 ac_clean_files_save=$ac_clean_files
5124 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5126 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5127 as_write_fail=0
5128 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5129 #! $SHELL
5130 # Generated by $as_me.
5131 # Run this file to recreate the current configuration.
5132 # Compiler output produced by configure, useful for debugging
5133 # configure, is in config.log if it exists.
5135 debug=false
5136 ac_cs_recheck=false
5137 ac_cs_silent=false
5139 SHELL=\${CONFIG_SHELL-$SHELL}
5140 export SHELL
5141 _ASEOF
5142 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5143 ## -------------------- ##
5144 ## M4sh Initialization. ##
5145 ## -------------------- ##
5147 # Be more Bourne compatible
5148 DUALCASE=1; export DUALCASE # for MKS sh
5149 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5150 emulate sh
5151 NULLCMD=:
5152 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5153 # is contrary to our usage. Disable this feature.
5154 alias -g '${1+"$@"}'='"$@"'
5155 setopt NO_GLOB_SUBST
5156 else
5157 case `(set -o) 2>/dev/null` in #(
5158 *posix*) :
5159 set -o posix ;; #(
5160 *) :
5162 esac
5166 as_nl='
5168 export as_nl
5169 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5170 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5171 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5172 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5173 # Prefer a ksh shell builtin over an external printf program on Solaris,
5174 # but without wasting forks for bash or zsh.
5175 if test -z "$BASH_VERSION$ZSH_VERSION" \
5176 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5177 as_echo='print -r --'
5178 as_echo_n='print -rn --'
5179 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5180 as_echo='printf %s\n'
5181 as_echo_n='printf %s'
5182 else
5183 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5184 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5185 as_echo_n='/usr/ucb/echo -n'
5186 else
5187 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5188 as_echo_n_body='eval
5189 arg=$1;
5190 case $arg in #(
5191 *"$as_nl"*)
5192 expr "X$arg" : "X\\(.*\\)$as_nl";
5193 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5194 esac;
5195 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5197 export as_echo_n_body
5198 as_echo_n='sh -c $as_echo_n_body as_echo'
5200 export as_echo_body
5201 as_echo='sh -c $as_echo_body as_echo'
5204 # The user is always right.
5205 if test "${PATH_SEPARATOR+set}" != set; then
5206 PATH_SEPARATOR=:
5207 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5208 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5209 PATH_SEPARATOR=';'
5214 # IFS
5215 # We need space, tab and new line, in precisely that order. Quoting is
5216 # there to prevent editors from complaining about space-tab.
5217 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5218 # splitting by setting IFS to empty value.)
5219 IFS=" "" $as_nl"
5221 # Find who we are. Look in the path if we contain no directory separator.
5222 as_myself=
5223 case $0 in #((
5224 *[\\/]* ) as_myself=$0 ;;
5225 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5226 for as_dir in $PATH
5228 IFS=$as_save_IFS
5229 test -z "$as_dir" && as_dir=.
5230 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5231 done
5232 IFS=$as_save_IFS
5235 esac
5236 # We did not find ourselves, most probably we were run as `sh COMMAND'
5237 # in which case we are not to be found in the path.
5238 if test "x$as_myself" = x; then
5239 as_myself=$0
5241 if test ! -f "$as_myself"; then
5242 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5243 exit 1
5246 # Unset variables that we do not need and which cause bugs (e.g. in
5247 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5248 # suppresses any "Segmentation fault" message there. '((' could
5249 # trigger a bug in pdksh 5.2.14.
5250 for as_var in BASH_ENV ENV MAIL MAILPATH
5251 do eval test x\${$as_var+set} = xset \
5252 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5253 done
5254 PS1='$ '
5255 PS2='> '
5256 PS4='+ '
5258 # NLS nuisances.
5259 LC_ALL=C
5260 export LC_ALL
5261 LANGUAGE=C
5262 export LANGUAGE
5264 # CDPATH.
5265 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5268 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5269 # ----------------------------------------
5270 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5271 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5272 # script with STATUS, using 1 if that was 0.
5273 as_fn_error ()
5275 as_status=$1; test $as_status -eq 0 && as_status=1
5276 if test "$4"; then
5277 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5278 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5280 $as_echo "$as_me: error: $2" >&2
5281 as_fn_exit $as_status
5282 } # as_fn_error
5285 # as_fn_set_status STATUS
5286 # -----------------------
5287 # Set $? to STATUS, without forking.
5288 as_fn_set_status ()
5290 return $1
5291 } # as_fn_set_status
5293 # as_fn_exit STATUS
5294 # -----------------
5295 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5296 as_fn_exit ()
5298 set +e
5299 as_fn_set_status $1
5300 exit $1
5301 } # as_fn_exit
5303 # as_fn_unset VAR
5304 # ---------------
5305 # Portably unset VAR.
5306 as_fn_unset ()
5308 { eval $1=; unset $1;}
5310 as_unset=as_fn_unset
5311 # as_fn_append VAR VALUE
5312 # ----------------------
5313 # Append the text in VALUE to the end of the definition contained in VAR. Take
5314 # advantage of any shell optimizations that allow amortized linear growth over
5315 # repeated appends, instead of the typical quadratic growth present in naive
5316 # implementations.
5317 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5318 eval 'as_fn_append ()
5320 eval $1+=\$2
5322 else
5323 as_fn_append ()
5325 eval $1=\$$1\$2
5327 fi # as_fn_append
5329 # as_fn_arith ARG...
5330 # ------------------
5331 # Perform arithmetic evaluation on the ARGs, and store the result in the
5332 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5333 # must be portable across $(()) and expr.
5334 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5335 eval 'as_fn_arith ()
5337 as_val=$(( $* ))
5339 else
5340 as_fn_arith ()
5342 as_val=`expr "$@" || test $? -eq 1`
5344 fi # as_fn_arith
5347 if expr a : '\(a\)' >/dev/null 2>&1 &&
5348 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5349 as_expr=expr
5350 else
5351 as_expr=false
5354 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5355 as_basename=basename
5356 else
5357 as_basename=false
5360 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5361 as_dirname=dirname
5362 else
5363 as_dirname=false
5366 as_me=`$as_basename -- "$0" ||
5367 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5368 X"$0" : 'X\(//\)$' \| \
5369 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5370 $as_echo X/"$0" |
5371 sed '/^.*\/\([^/][^/]*\)\/*$/{
5372 s//\1/
5375 /^X\/\(\/\/\)$/{
5376 s//\1/
5379 /^X\/\(\/\).*/{
5380 s//\1/
5383 s/.*/./; q'`
5385 # Avoid depending upon Character Ranges.
5386 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5387 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5388 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5389 as_cr_digits='0123456789'
5390 as_cr_alnum=$as_cr_Letters$as_cr_digits
5392 ECHO_C= ECHO_N= ECHO_T=
5393 case `echo -n x` in #(((((
5394 -n*)
5395 case `echo 'xy\c'` in
5396 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5397 xy) ECHO_C='\c';;
5398 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5399 ECHO_T=' ';;
5400 esac;;
5402 ECHO_N='-n';;
5403 esac
5405 rm -f conf$$ conf$$.exe conf$$.file
5406 if test -d conf$$.dir; then
5407 rm -f conf$$.dir/conf$$.file
5408 else
5409 rm -f conf$$.dir
5410 mkdir conf$$.dir 2>/dev/null
5412 if (echo >conf$$.file) 2>/dev/null; then
5413 if ln -s conf$$.file conf$$ 2>/dev/null; then
5414 as_ln_s='ln -s'
5415 # ... but there are two gotchas:
5416 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5417 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5418 # In both cases, we have to default to `cp -pR'.
5419 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5420 as_ln_s='cp -pR'
5421 elif ln conf$$.file conf$$ 2>/dev/null; then
5422 as_ln_s=ln
5423 else
5424 as_ln_s='cp -pR'
5426 else
5427 as_ln_s='cp -pR'
5429 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5430 rmdir conf$$.dir 2>/dev/null
5433 # as_fn_mkdir_p
5434 # -------------
5435 # Create "$as_dir" as a directory, including parents if necessary.
5436 as_fn_mkdir_p ()
5439 case $as_dir in #(
5440 -*) as_dir=./$as_dir;;
5441 esac
5442 test -d "$as_dir" || eval $as_mkdir_p || {
5443 as_dirs=
5444 while :; do
5445 case $as_dir in #(
5446 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5447 *) as_qdir=$as_dir;;
5448 esac
5449 as_dirs="'$as_qdir' $as_dirs"
5450 as_dir=`$as_dirname -- "$as_dir" ||
5451 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5452 X"$as_dir" : 'X\(//\)[^/]' \| \
5453 X"$as_dir" : 'X\(//\)$' \| \
5454 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5455 $as_echo X"$as_dir" |
5456 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5457 s//\1/
5460 /^X\(\/\/\)[^/].*/{
5461 s//\1/
5464 /^X\(\/\/\)$/{
5465 s//\1/
5468 /^X\(\/\).*/{
5469 s//\1/
5472 s/.*/./; q'`
5473 test -d "$as_dir" && break
5474 done
5475 test -z "$as_dirs" || eval "mkdir $as_dirs"
5476 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5479 } # as_fn_mkdir_p
5480 if mkdir -p . 2>/dev/null; then
5481 as_mkdir_p='mkdir -p "$as_dir"'
5482 else
5483 test -d ./-p && rmdir ./-p
5484 as_mkdir_p=false
5488 # as_fn_executable_p FILE
5489 # -----------------------
5490 # Test if FILE is an executable regular file.
5491 as_fn_executable_p ()
5493 test -f "$1" && test -x "$1"
5494 } # as_fn_executable_p
5495 as_test_x='test -x'
5496 as_executable_p=as_fn_executable_p
5498 # Sed expression to map a string onto a valid CPP name.
5499 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5501 # Sed expression to map a string onto a valid variable name.
5502 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5505 exec 6>&1
5506 ## ----------------------------------- ##
5507 ## Main body of $CONFIG_STATUS script. ##
5508 ## ----------------------------------- ##
5509 _ASEOF
5510 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5512 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5513 # Save the log message, to keep $0 and so on meaningful, and to
5514 # report actual input values of CONFIG_FILES etc. instead of their
5515 # values after options handling.
5516 ac_log="
5517 This file was extended by TeX Live libs $as_me 2016/dev, which was
5518 generated by GNU Autoconf 2.69. Invocation command line was
5520 CONFIG_FILES = $CONFIG_FILES
5521 CONFIG_HEADERS = $CONFIG_HEADERS
5522 CONFIG_LINKS = $CONFIG_LINKS
5523 CONFIG_COMMANDS = $CONFIG_COMMANDS
5524 $ $0 $@
5526 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5529 _ACEOF
5531 case $ac_config_files in *"
5532 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5533 esac
5537 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5538 # Files that config.status was made for.
5539 config_files="$ac_config_files"
5540 config_commands="$ac_config_commands"
5542 _ACEOF
5544 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5545 ac_cs_usage="\
5546 \`$as_me' instantiates files and other configuration actions
5547 from templates according to the current configuration. Unless the files
5548 and actions are specified as TAGs, all are instantiated by default.
5550 Usage: $0 [OPTION]... [TAG]...
5552 -h, --help print this help, then exit
5553 -V, --version print version number and configuration settings, then exit
5554 --config print configuration, then exit
5555 -q, --quiet, --silent
5556 do not print progress messages
5557 -d, --debug don't remove temporary files
5558 --recheck update $as_me by reconfiguring in the same conditions
5559 --file=FILE[:TEMPLATE]
5560 instantiate the configuration file FILE
5562 Configuration files:
5563 $config_files
5565 Configuration commands:
5566 $config_commands
5568 Report bugs to <tex-k@tug.org>."
5570 _ACEOF
5571 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5572 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5573 ac_cs_version="\\
5574 TeX Live libs config.status 2016/dev
5575 configured by $0, generated by GNU Autoconf 2.69,
5576 with options \\"\$ac_cs_config\\"
5578 Copyright (C) 2012 Free Software Foundation, Inc.
5579 This config.status script is free software; the Free Software Foundation
5580 gives unlimited permission to copy, distribute and modify it."
5582 ac_pwd='$ac_pwd'
5583 srcdir='$srcdir'
5584 INSTALL='$INSTALL'
5585 MKDIR_P='$MKDIR_P'
5586 AWK='$AWK'
5587 test -n "\$AWK" || AWK=awk
5588 _ACEOF
5590 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5591 # The default lists apply if the user does not specify any file.
5592 ac_need_defaults=:
5593 while test $# != 0
5595 case $1 in
5596 --*=?*)
5597 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5598 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5599 ac_shift=:
5601 --*=)
5602 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5603 ac_optarg=
5604 ac_shift=:
5607 ac_option=$1
5608 ac_optarg=$2
5609 ac_shift=shift
5611 esac
5613 case $ac_option in
5614 # Handling of the options.
5615 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5616 ac_cs_recheck=: ;;
5617 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5618 $as_echo "$ac_cs_version"; exit ;;
5619 --config | --confi | --conf | --con | --co | --c )
5620 $as_echo "$ac_cs_config"; exit ;;
5621 --debug | --debu | --deb | --de | --d | -d )
5622 debug=: ;;
5623 --file | --fil | --fi | --f )
5624 $ac_shift
5625 case $ac_optarg in
5626 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5627 '') as_fn_error $? "missing file argument" ;;
5628 esac
5629 as_fn_append CONFIG_FILES " '$ac_optarg'"
5630 ac_need_defaults=false;;
5631 --he | --h | --help | --hel | -h )
5632 $as_echo "$ac_cs_usage"; exit ;;
5633 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5634 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5635 ac_cs_silent=: ;;
5637 # This is an error.
5638 -*) as_fn_error $? "unrecognized option: \`$1'
5639 Try \`$0 --help' for more information." ;;
5641 *) as_fn_append ac_config_targets " $1"
5642 ac_need_defaults=false ;;
5644 esac
5645 shift
5646 done
5648 ac_configure_extra_args=
5650 if $ac_cs_silent; then
5651 exec 6>/dev/null
5652 ac_configure_extra_args="$ac_configure_extra_args --silent"
5655 _ACEOF
5656 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5657 if \$ac_cs_recheck; then
5658 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5659 shift
5660 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5661 CONFIG_SHELL='$SHELL'
5662 export CONFIG_SHELL
5663 exec "\$@"
5666 _ACEOF
5667 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5668 exec 5>>config.log
5670 echo
5671 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5672 ## Running $as_me. ##
5673 _ASBOX
5674 $as_echo "$ac_log"
5675 } >&5
5677 _ACEOF
5678 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5680 # INIT-COMMANDS
5682 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5684 _ACEOF
5686 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5688 # Handling of arguments.
5689 for ac_config_target in $ac_config_targets
5691 case $ac_config_target in
5692 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5693 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5695 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5696 esac
5697 done
5700 # If the user did not use the arguments to specify the items to instantiate,
5701 # then the envvar interface is used. Set only those that are not.
5702 # We use the long form for the default assignment because of an extremely
5703 # bizarre bug on SunOS 4.1.3.
5704 if $ac_need_defaults; then
5705 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5706 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5709 # Have a temporary directory for convenience. Make it in the build tree
5710 # simply because there is no reason against having it here, and in addition,
5711 # creating and moving files from /tmp can sometimes cause problems.
5712 # Hook for its removal unless debugging.
5713 # Note that there is a small window in which the directory will not be cleaned:
5714 # after its creation but before its name has been assigned to `$tmp'.
5715 $debug ||
5717 tmp= ac_tmp=
5718 trap 'exit_status=$?
5719 : "${ac_tmp:=$tmp}"
5720 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5722 trap 'as_fn_exit 1' 1 2 13 15
5724 # Create a (secure) tmp directory for tmp files.
5727 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5728 test -d "$tmp"
5729 } ||
5731 tmp=./conf$$-$RANDOM
5732 (umask 077 && mkdir "$tmp")
5733 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5734 ac_tmp=$tmp
5736 # Set up the scripts for CONFIG_FILES section.
5737 # No need to generate them if there are no CONFIG_FILES.
5738 # This happens for instance with `./config.status config.h'.
5739 if test -n "$CONFIG_FILES"; then
5742 ac_cr=`echo X | tr X '\015'`
5743 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5744 # But we know of no other shell where ac_cr would be empty at this
5745 # point, so we can use a bashism as a fallback.
5746 if test "x$ac_cr" = x; then
5747 eval ac_cr=\$\'\\r\'
5749 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5750 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5751 ac_cs_awk_cr='\\r'
5752 else
5753 ac_cs_awk_cr=$ac_cr
5756 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5757 _ACEOF
5761 echo "cat >conf$$subs.awk <<_ACEOF" &&
5762 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5763 echo "_ACEOF"
5764 } >conf$$subs.sh ||
5765 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5766 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5767 ac_delim='%!_!# '
5768 for ac_last_try in false false false false false :; do
5769 . ./conf$$subs.sh ||
5770 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5772 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5773 if test $ac_delim_n = $ac_delim_num; then
5774 break
5775 elif $ac_last_try; then
5776 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5777 else
5778 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5780 done
5781 rm -f conf$$subs.sh
5783 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5784 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5785 _ACEOF
5786 sed -n '
5788 s/^/S["/; s/!.*/"]=/
5791 s/^[^!]*!//
5792 :repl
5793 t repl
5794 s/'"$ac_delim"'$//
5795 t delim
5798 s/\(.\{148\}\)..*/\1/
5799 t more1
5800 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5803 b repl
5804 :more1
5805 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5808 s/.\{148\}//
5809 t nl
5810 :delim
5812 s/\(.\{148\}\)..*/\1/
5813 t more2
5814 s/["\\]/\\&/g; s/^/"/; s/$/"/
5817 :more2
5818 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5821 s/.\{148\}//
5822 t delim
5823 ' <conf$$subs.awk | sed '
5824 /^[^""]/{
5826 s/\n//
5828 ' >>$CONFIG_STATUS || ac_write_fail=1
5829 rm -f conf$$subs.awk
5830 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5831 _ACAWK
5832 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5833 for (key in S) S_is_set[key] = 1
5834 FS = "\a"
5838 line = $ 0
5839 nfields = split(line, field, "@")
5840 substed = 0
5841 len = length(field[1])
5842 for (i = 2; i < nfields; i++) {
5843 key = field[i]
5844 keylen = length(key)
5845 if (S_is_set[key]) {
5846 value = S[key]
5847 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5848 len += length(value) + length(field[++i])
5849 substed = 1
5850 } else
5851 len += 1 + keylen
5854 print line
5857 _ACAWK
5858 _ACEOF
5859 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5860 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5861 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5862 else
5864 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5865 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5866 _ACEOF
5868 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5869 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5870 # trailing colons and then remove the whole line if VPATH becomes empty
5871 # (actually we leave an empty line to preserve line numbers).
5872 if test "x$srcdir" = x.; then
5873 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5875 s///
5876 s/^/:/
5877 s/[ ]*$/:/
5878 s/:\$(srcdir):/:/g
5879 s/:\${srcdir}:/:/g
5880 s/:@srcdir@:/:/g
5881 s/^:*//
5882 s/:*$//
5884 s/\(=[ ]*\).*/\1/
5886 s/\n//
5887 s/^[^=]*=[ ]*$//
5891 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5892 fi # test -n "$CONFIG_FILES"
5895 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
5896 shift
5897 for ac_tag
5899 case $ac_tag in
5900 :[FHLC]) ac_mode=$ac_tag; continue;;
5901 esac
5902 case $ac_mode$ac_tag in
5903 :[FHL]*:*);;
5904 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5905 :[FH]-) ac_tag=-:-;;
5906 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5907 esac
5908 ac_save_IFS=$IFS
5909 IFS=:
5910 set x $ac_tag
5911 IFS=$ac_save_IFS
5912 shift
5913 ac_file=$1
5914 shift
5916 case $ac_mode in
5917 :L) ac_source=$1;;
5918 :[FH])
5919 ac_file_inputs=
5920 for ac_f
5922 case $ac_f in
5923 -) ac_f="$ac_tmp/stdin";;
5924 *) # Look for the file first in the build tree, then in the source tree
5925 # (if the path is not absolute). The absolute path cannot be DOS-style,
5926 # because $ac_f cannot contain `:'.
5927 test -f "$ac_f" ||
5928 case $ac_f in
5929 [\\/$]*) false;;
5930 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5931 esac ||
5932 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5933 esac
5934 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5935 as_fn_append ac_file_inputs " '$ac_f'"
5936 done
5938 # Let's still pretend it is `configure' which instantiates (i.e., don't
5939 # use $as_me), people would be surprised to read:
5940 # /* config.h. Generated by config.status. */
5941 configure_input='Generated from '`
5942 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5943 `' by configure.'
5944 if test x"$ac_file" != x-; then
5945 configure_input="$ac_file. $configure_input"
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5947 $as_echo "$as_me: creating $ac_file" >&6;}
5949 # Neutralize special characters interpreted by sed in replacement strings.
5950 case $configure_input in #(
5951 *\&* | *\|* | *\\* )
5952 ac_sed_conf_input=`$as_echo "$configure_input" |
5953 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5954 *) ac_sed_conf_input=$configure_input;;
5955 esac
5957 case $ac_tag in
5958 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5959 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5960 esac
5962 esac
5964 ac_dir=`$as_dirname -- "$ac_file" ||
5965 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5966 X"$ac_file" : 'X\(//\)[^/]' \| \
5967 X"$ac_file" : 'X\(//\)$' \| \
5968 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5969 $as_echo X"$ac_file" |
5970 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5971 s//\1/
5974 /^X\(\/\/\)[^/].*/{
5975 s//\1/
5978 /^X\(\/\/\)$/{
5979 s//\1/
5982 /^X\(\/\).*/{
5983 s//\1/
5986 s/.*/./; q'`
5987 as_dir="$ac_dir"; as_fn_mkdir_p
5988 ac_builddir=.
5990 case "$ac_dir" in
5991 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5993 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5994 # A ".." for each directory in $ac_dir_suffix.
5995 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5996 case $ac_top_builddir_sub in
5997 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5998 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5999 esac ;;
6000 esac
6001 ac_abs_top_builddir=$ac_pwd
6002 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6003 # for backward compatibility:
6004 ac_top_builddir=$ac_top_build_prefix
6006 case $srcdir in
6007 .) # We are building in place.
6008 ac_srcdir=.
6009 ac_top_srcdir=$ac_top_builddir_sub
6010 ac_abs_top_srcdir=$ac_pwd ;;
6011 [\\/]* | ?:[\\/]* ) # Absolute name.
6012 ac_srcdir=$srcdir$ac_dir_suffix;
6013 ac_top_srcdir=$srcdir
6014 ac_abs_top_srcdir=$srcdir ;;
6015 *) # Relative name.
6016 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6017 ac_top_srcdir=$ac_top_build_prefix$srcdir
6018 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6019 esac
6020 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6023 case $ac_mode in
6026 # CONFIG_FILE
6029 case $INSTALL in
6030 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6031 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6032 esac
6033 ac_MKDIR_P=$MKDIR_P
6034 case $MKDIR_P in
6035 [\\/$]* | ?:[\\/]* ) ;;
6036 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6037 esac
6038 _ACEOF
6040 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6041 # If the template does not know about datarootdir, expand it.
6042 # FIXME: This hack should be removed a few years after 2.60.
6043 ac_datarootdir_hack=; ac_datarootdir_seen=
6044 ac_sed_dataroot='
6045 /datarootdir/ {
6049 /@datadir@/p
6050 /@docdir@/p
6051 /@infodir@/p
6052 /@localedir@/p
6053 /@mandir@/p'
6054 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6055 *datarootdir*) ac_datarootdir_seen=yes;;
6056 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6058 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6059 _ACEOF
6060 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6061 ac_datarootdir_hack='
6062 s&@datadir@&$datadir&g
6063 s&@docdir@&$docdir&g
6064 s&@infodir@&$infodir&g
6065 s&@localedir@&$localedir&g
6066 s&@mandir@&$mandir&g
6067 s&\\\${datarootdir}&$datarootdir&g' ;;
6068 esac
6069 _ACEOF
6071 # Neutralize VPATH when `$srcdir' = `.'.
6072 # Shell code in configure.ac might set extrasub.
6073 # FIXME: do we really want to maintain this feature?
6074 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6075 ac_sed_extra="$ac_vpsub
6076 $extrasub
6077 _ACEOF
6078 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6080 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6081 s|@configure_input@|$ac_sed_conf_input|;t t
6082 s&@top_builddir@&$ac_top_builddir_sub&;t t
6083 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6084 s&@srcdir@&$ac_srcdir&;t t
6085 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6086 s&@top_srcdir@&$ac_top_srcdir&;t t
6087 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6088 s&@builddir@&$ac_builddir&;t t
6089 s&@abs_builddir@&$ac_abs_builddir&;t t
6090 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6091 s&@INSTALL@&$ac_INSTALL&;t t
6092 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6093 $ac_datarootdir_hack
6095 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6096 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6098 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6099 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6100 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6101 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6103 which seems to be undefined. Please make sure it is defined" >&5
6104 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6105 which seems to be undefined. Please make sure it is defined" >&2;}
6107 rm -f "$ac_tmp/stdin"
6108 case $ac_file in
6109 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6110 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6111 esac \
6112 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6116 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6117 $as_echo "$as_me: executing $ac_file commands" >&6;}
6119 esac
6122 case $ac_file$ac_mode in
6123 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6124 # Older Autoconf quotes --file arguments for eval, but not when files
6125 # are listed without --file. Let's play safe and only enable the eval
6126 # if we detect the quoting.
6127 case $CONFIG_FILES in
6128 *\'*) eval set x "$CONFIG_FILES" ;;
6129 *) set x $CONFIG_FILES ;;
6130 esac
6131 shift
6132 for mf
6134 # Strip MF so we end up with the name of the file.
6135 mf=`echo "$mf" | sed -e 's/:.*$//'`
6136 # Check whether this is an Automake generated Makefile or not.
6137 # We used to match only the files named 'Makefile.in', but
6138 # some people rename them; so instead we look at the file content.
6139 # Grep'ing the first line is not enough: some people post-process
6140 # each Makefile.in and add a new line on top of each file to say so.
6141 # Grep'ing the whole file is not good either: AIX grep has a line
6142 # limit of 2048, but all sed's we know have understand at least 4000.
6143 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6144 dirpart=`$as_dirname -- "$mf" ||
6145 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6146 X"$mf" : 'X\(//\)[^/]' \| \
6147 X"$mf" : 'X\(//\)$' \| \
6148 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6149 $as_echo X"$mf" |
6150 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6151 s//\1/
6154 /^X\(\/\/\)[^/].*/{
6155 s//\1/
6158 /^X\(\/\/\)$/{
6159 s//\1/
6162 /^X\(\/\).*/{
6163 s//\1/
6166 s/.*/./; q'`
6167 else
6168 continue
6170 # Extract the definition of DEPDIR, am__include, and am__quote
6171 # from the Makefile without running 'make'.
6172 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6173 test -z "$DEPDIR" && continue
6174 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6175 test -z "$am__include" && continue
6176 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6177 # Find all dependency output files, they are included files with
6178 # $(DEPDIR) in their names. We invoke sed twice because it is the
6179 # simplest approach to changing $(DEPDIR) to its actual value in the
6180 # expansion.
6181 for file in `sed -n "
6182 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6183 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
6184 # Make sure the directory exists.
6185 test -f "$dirpart/$file" && continue
6186 fdir=`$as_dirname -- "$file" ||
6187 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6188 X"$file" : 'X\(//\)[^/]' \| \
6189 X"$file" : 'X\(//\)$' \| \
6190 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6191 $as_echo X"$file" |
6192 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6193 s//\1/
6196 /^X\(\/\/\)[^/].*/{
6197 s//\1/
6200 /^X\(\/\/\)$/{
6201 s//\1/
6204 /^X\(\/\).*/{
6205 s//\1/
6208 s/.*/./; q'`
6209 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6210 # echo "creating $dirpart/$file"
6211 echo '# dummy' > "$dirpart/$file"
6212 done
6213 done
6217 esac
6218 done # for ac_tag
6221 as_fn_exit 0
6222 _ACEOF
6223 ac_clean_files=$ac_clean_files_save
6225 test $ac_write_fail = 0 ||
6226 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6229 # configure is writing to config.log, and then calls config.status.
6230 # config.status does its own redirection, appending to config.log.
6231 # Unfortunately, on DOS this fails, as config.log is still kept open
6232 # by configure, so config.status won't be able to write to it; its
6233 # output is simply discarded. So we exec the FD to /dev/null,
6234 # effectively closing config.log, so it can be properly (re)opened and
6235 # appended to by config.status. When coming back to configure, we
6236 # need to make the FD available again.
6237 if test "$no_create" != yes; then
6238 ac_cs_success=:
6239 ac_config_status_args=
6240 test "$silent" = yes &&
6241 ac_config_status_args="$ac_config_status_args --quiet"
6242 exec 5>/dev/null
6243 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6244 exec 5>>config.log
6245 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6246 # would make configure fail if this is the last instruction.
6247 $ac_cs_success || as_fn_exit 1
6251 # CONFIG_SUBDIRS section.
6253 if test "$no_recursion" != yes; then
6255 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
6256 # so they do not pile up.
6257 ac_sub_configure_args=
6258 ac_prev=
6259 eval "set x $ac_configure_args"
6260 shift
6261 for ac_arg
6263 if test -n "$ac_prev"; then
6264 ac_prev=
6265 continue
6267 case $ac_arg in
6268 -cache-file | --cache-file | --cache-fil | --cache-fi \
6269 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
6270 ac_prev=cache_file ;;
6271 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
6272 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
6273 | --c=*)
6275 --config-cache | -C)
6277 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
6278 ac_prev=srcdir ;;
6279 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
6281 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
6282 ac_prev=prefix ;;
6283 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
6285 --disable-option-checking)
6288 case $ac_arg in
6289 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6290 esac
6291 as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
6292 esac
6293 done
6295 # Always prepend --prefix to ensure using the same prefix
6296 # in subdir configurations.
6297 ac_arg="--prefix=$prefix"
6298 case $ac_arg in
6299 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6300 esac
6301 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
6303 # Pass --silent
6304 if test "$silent" = yes; then
6305 ac_sub_configure_args="--silent $ac_sub_configure_args"
6308 # Always prepend --disable-option-checking to silence warnings, since
6309 # different subdirs can have different --enable and --with options.
6310 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
6312 ac_popdir=`pwd`
6313 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
6315 # Do not complain, so a configure script can configure whichever
6316 # parts of a large source tree are present.
6317 test -d "$srcdir/$ac_dir" || continue
6319 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
6320 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
6321 $as_echo "$ac_msg" >&6
6322 as_dir="$ac_dir"; as_fn_mkdir_p
6323 ac_builddir=.
6325 case "$ac_dir" in
6326 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6328 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6329 # A ".." for each directory in $ac_dir_suffix.
6330 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6331 case $ac_top_builddir_sub in
6332 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6333 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6334 esac ;;
6335 esac
6336 ac_abs_top_builddir=$ac_pwd
6337 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6338 # for backward compatibility:
6339 ac_top_builddir=$ac_top_build_prefix
6341 case $srcdir in
6342 .) # We are building in place.
6343 ac_srcdir=.
6344 ac_top_srcdir=$ac_top_builddir_sub
6345 ac_abs_top_srcdir=$ac_pwd ;;
6346 [\\/]* | ?:[\\/]* ) # Absolute name.
6347 ac_srcdir=$srcdir$ac_dir_suffix;
6348 ac_top_srcdir=$srcdir
6349 ac_abs_top_srcdir=$srcdir ;;
6350 *) # Relative name.
6351 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6352 ac_top_srcdir=$ac_top_build_prefix$srcdir
6353 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6354 esac
6355 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6358 cd "$ac_dir"
6360 # Check for guested configure; otherwise get Cygnus style configure.
6361 if test -f "$ac_srcdir/configure.gnu"; then
6362 ac_sub_configure=$ac_srcdir/configure.gnu
6363 elif test -f "$ac_srcdir/configure"; then
6364 ac_sub_configure=$ac_srcdir/configure
6365 elif test -f "$ac_srcdir/configure.in"; then
6366 # This should be Cygnus configure.
6367 ac_sub_configure=$ac_aux_dir/configure
6368 else
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
6370 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
6371 ac_sub_configure=
6374 # The recursion is here.
6375 if test -n "$ac_sub_configure"; then
6376 # Make the cache file name correct relative to the subdirectory.
6377 case $cache_file in
6378 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
6379 *) # Relative name.
6380 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
6381 esac
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
6384 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
6385 # The eval makes quoting arguments work.
6386 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
6387 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
6388 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
6391 cd "$ac_popdir"
6392 done
6394 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6396 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}