Sync with TL 36055; fixed a bug on setting mu unit; a better mp_initialize_decimal_math
[luatex.git] / source / libs / configure
blob2800262aaf05ffea2e976a58e7e4a8c78a15ba0b
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for TeX Live libs 2015/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='2015/dev'
583 PACKAGE_STRING='TeX Live libs 2015/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 with_mf_x_toolkit
730 enable_epsfwin
731 enable_hp2627win
732 enable_mftalkwin
733 enable_nextwin
734 enable_regiswin
735 enable_suntoolswin
736 enable_tektronixwin
737 enable_unitermwin
738 enable_web_progs
739 enable_synctex
740 enable_texlive
741 enable_linked_scripts
742 with_system_zziplib
743 with_system_poppler
744 with_system_mpfr
745 with_mpfr_includes
746 with_mpfr_libdir
747 with_system_gmp
748 with_gmp_includes
749 with_gmp_libdir
750 with_system_cairo
751 with_system_pixman
752 with_system_libpng
753 with_system_zlib
754 with_zlib_includes
755 with_zlib_libdir
756 with_system_kpathsea
757 with_kpathsea_includes
758 with_kpathsea_libdir
759 enable_mktexmf_default
760 enable_mktexpk_default
761 enable_mktextfm_default
762 enable_mkocp_default
763 enable_mkofm_default
764 enable_mktexfmt_default
765 enable_mktextex_default
766 enable_dependency_tracking
767 enable_silent_rules
768 enable_maintainer_mode
769 enable_compiler_warnings
771 ac_precious_vars='build_alias
772 host_alias
773 target_alias
775 CFLAGS
776 LDFLAGS
777 LIBS
778 CPPFLAGS'
779 ac_subdirs_all='zziplib
780 poppler
781 mpfr
783 cairo
784 pixman
785 libpng
786 luajit
787 lua52
788 zlib'
790 # Initialize some variables set by options.
791 ac_init_help=
792 ac_init_version=false
793 ac_unrecognized_opts=
794 ac_unrecognized_sep=
795 # The variables have the same names as the options, with
796 # dashes changed to underlines.
797 cache_file=/dev/null
798 exec_prefix=NONE
799 no_create=
800 no_recursion=
801 prefix=NONE
802 program_prefix=NONE
803 program_suffix=NONE
804 program_transform_name=s,x,x,
805 silent=
806 site=
807 srcdir=
808 verbose=
809 x_includes=NONE
810 x_libraries=NONE
812 # Installation directory options.
813 # These are left unexpanded so users can "make install exec_prefix=/foo"
814 # and all the variables that are supposed to be based on exec_prefix
815 # by default will actually change.
816 # Use braces instead of parens because sh, perl, etc. also accept them.
817 # (The list follows the same order as the GNU Coding Standards.)
818 bindir='${exec_prefix}/bin'
819 sbindir='${exec_prefix}/sbin'
820 libexecdir='${exec_prefix}/libexec'
821 datarootdir='${prefix}/share'
822 datadir='${datarootdir}'
823 sysconfdir='${prefix}/etc'
824 sharedstatedir='${prefix}/com'
825 localstatedir='${prefix}/var'
826 includedir='${prefix}/include'
827 oldincludedir='/usr/include'
828 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
829 infodir='${datarootdir}/info'
830 htmldir='${docdir}'
831 dvidir='${docdir}'
832 pdfdir='${docdir}'
833 psdir='${docdir}'
834 libdir='${exec_prefix}/lib'
835 localedir='${datarootdir}/locale'
836 mandir='${datarootdir}/man'
838 ac_prev=
839 ac_dashdash=
840 for ac_option
842 # If the previous option needs an argument, assign it.
843 if test -n "$ac_prev"; then
844 eval $ac_prev=\$ac_option
845 ac_prev=
846 continue
849 case $ac_option in
850 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
851 *=) ac_optarg= ;;
852 *) ac_optarg=yes ;;
853 esac
855 # Accept the important Cygnus configure options, so we can diagnose typos.
857 case $ac_dashdash$ac_option in
859 ac_dashdash=yes ;;
861 -bindir | --bindir | --bindi | --bind | --bin | --bi)
862 ac_prev=bindir ;;
863 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
864 bindir=$ac_optarg ;;
866 -build | --build | --buil | --bui | --bu)
867 ac_prev=build_alias ;;
868 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
869 build_alias=$ac_optarg ;;
871 -cache-file | --cache-file | --cache-fil | --cache-fi \
872 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
873 ac_prev=cache_file ;;
874 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
875 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
876 cache_file=$ac_optarg ;;
878 --config-cache | -C)
879 cache_file=config.cache ;;
881 -datadir | --datadir | --datadi | --datad)
882 ac_prev=datadir ;;
883 -datadir=* | --datadir=* | --datadi=* | --datad=*)
884 datadir=$ac_optarg ;;
886 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
887 | --dataroo | --dataro | --datar)
888 ac_prev=datarootdir ;;
889 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
890 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
891 datarootdir=$ac_optarg ;;
893 -disable-* | --disable-*)
894 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
895 # Reject names that are not valid shell variable names.
896 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
897 as_fn_error $? "invalid feature name: $ac_useropt"
898 ac_useropt_orig=$ac_useropt
899 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
900 case $ac_user_opts in
902 "enable_$ac_useropt"
903 "*) ;;
904 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
905 ac_unrecognized_sep=', ';;
906 esac
907 eval enable_$ac_useropt=no ;;
909 -docdir | --docdir | --docdi | --doc | --do)
910 ac_prev=docdir ;;
911 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
912 docdir=$ac_optarg ;;
914 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
915 ac_prev=dvidir ;;
916 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
917 dvidir=$ac_optarg ;;
919 -enable-* | --enable-*)
920 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
921 # Reject names that are not valid shell variable names.
922 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
923 as_fn_error $? "invalid feature name: $ac_useropt"
924 ac_useropt_orig=$ac_useropt
925 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
926 case $ac_user_opts in
928 "enable_$ac_useropt"
929 "*) ;;
930 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
931 ac_unrecognized_sep=', ';;
932 esac
933 eval enable_$ac_useropt=\$ac_optarg ;;
935 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
936 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
937 | --exec | --exe | --ex)
938 ac_prev=exec_prefix ;;
939 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
940 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
941 | --exec=* | --exe=* | --ex=*)
942 exec_prefix=$ac_optarg ;;
944 -gas | --gas | --ga | --g)
945 # Obsolete; use --with-gas.
946 with_gas=yes ;;
948 -help | --help | --hel | --he | -h)
949 ac_init_help=long ;;
950 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
951 ac_init_help=recursive ;;
952 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
953 ac_init_help=short ;;
955 -host | --host | --hos | --ho)
956 ac_prev=host_alias ;;
957 -host=* | --host=* | --hos=* | --ho=*)
958 host_alias=$ac_optarg ;;
960 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
961 ac_prev=htmldir ;;
962 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
963 | --ht=*)
964 htmldir=$ac_optarg ;;
966 -includedir | --includedir | --includedi | --included | --include \
967 | --includ | --inclu | --incl | --inc)
968 ac_prev=includedir ;;
969 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
970 | --includ=* | --inclu=* | --incl=* | --inc=*)
971 includedir=$ac_optarg ;;
973 -infodir | --infodir | --infodi | --infod | --info | --inf)
974 ac_prev=infodir ;;
975 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
976 infodir=$ac_optarg ;;
978 -libdir | --libdir | --libdi | --libd)
979 ac_prev=libdir ;;
980 -libdir=* | --libdir=* | --libdi=* | --libd=*)
981 libdir=$ac_optarg ;;
983 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
984 | --libexe | --libex | --libe)
985 ac_prev=libexecdir ;;
986 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
987 | --libexe=* | --libex=* | --libe=*)
988 libexecdir=$ac_optarg ;;
990 -localedir | --localedir | --localedi | --localed | --locale)
991 ac_prev=localedir ;;
992 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
993 localedir=$ac_optarg ;;
995 -localstatedir | --localstatedir | --localstatedi | --localstated \
996 | --localstate | --localstat | --localsta | --localst | --locals)
997 ac_prev=localstatedir ;;
998 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
999 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1000 localstatedir=$ac_optarg ;;
1002 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1003 ac_prev=mandir ;;
1004 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1005 mandir=$ac_optarg ;;
1007 -nfp | --nfp | --nf)
1008 # Obsolete; use --without-fp.
1009 with_fp=no ;;
1011 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1012 | --no-cr | --no-c | -n)
1013 no_create=yes ;;
1015 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1016 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1017 no_recursion=yes ;;
1019 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1020 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1021 | --oldin | --oldi | --old | --ol | --o)
1022 ac_prev=oldincludedir ;;
1023 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1024 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1025 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1026 oldincludedir=$ac_optarg ;;
1028 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1029 ac_prev=prefix ;;
1030 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1031 prefix=$ac_optarg ;;
1033 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1034 | --program-pre | --program-pr | --program-p)
1035 ac_prev=program_prefix ;;
1036 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1037 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1038 program_prefix=$ac_optarg ;;
1040 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1041 | --program-suf | --program-su | --program-s)
1042 ac_prev=program_suffix ;;
1043 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1044 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1045 program_suffix=$ac_optarg ;;
1047 -program-transform-name | --program-transform-name \
1048 | --program-transform-nam | --program-transform-na \
1049 | --program-transform-n | --program-transform- \
1050 | --program-transform | --program-transfor \
1051 | --program-transfo | --program-transf \
1052 | --program-trans | --program-tran \
1053 | --progr-tra | --program-tr | --program-t)
1054 ac_prev=program_transform_name ;;
1055 -program-transform-name=* | --program-transform-name=* \
1056 | --program-transform-nam=* | --program-transform-na=* \
1057 | --program-transform-n=* | --program-transform-=* \
1058 | --program-transform=* | --program-transfor=* \
1059 | --program-transfo=* | --program-transf=* \
1060 | --program-trans=* | --program-tran=* \
1061 | --progr-tra=* | --program-tr=* | --program-t=*)
1062 program_transform_name=$ac_optarg ;;
1064 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1065 ac_prev=pdfdir ;;
1066 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1067 pdfdir=$ac_optarg ;;
1069 -psdir | --psdir | --psdi | --psd | --ps)
1070 ac_prev=psdir ;;
1071 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1072 psdir=$ac_optarg ;;
1074 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1075 | -silent | --silent | --silen | --sile | --sil)
1076 silent=yes ;;
1078 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1079 ac_prev=sbindir ;;
1080 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1081 | --sbi=* | --sb=*)
1082 sbindir=$ac_optarg ;;
1084 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1085 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1086 | --sharedst | --shareds | --shared | --share | --shar \
1087 | --sha | --sh)
1088 ac_prev=sharedstatedir ;;
1089 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1090 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1091 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1092 | --sha=* | --sh=*)
1093 sharedstatedir=$ac_optarg ;;
1095 -site | --site | --sit)
1096 ac_prev=site ;;
1097 -site=* | --site=* | --sit=*)
1098 site=$ac_optarg ;;
1100 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1101 ac_prev=srcdir ;;
1102 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1103 srcdir=$ac_optarg ;;
1105 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1106 | --syscon | --sysco | --sysc | --sys | --sy)
1107 ac_prev=sysconfdir ;;
1108 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1109 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1110 sysconfdir=$ac_optarg ;;
1112 -target | --target | --targe | --targ | --tar | --ta | --t)
1113 ac_prev=target_alias ;;
1114 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1115 target_alias=$ac_optarg ;;
1117 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1118 verbose=yes ;;
1120 -version | --version | --versio | --versi | --vers | -V)
1121 ac_init_version=: ;;
1123 -with-* | --with-*)
1124 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1125 # Reject names that are not valid shell variable names.
1126 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1127 as_fn_error $? "invalid package name: $ac_useropt"
1128 ac_useropt_orig=$ac_useropt
1129 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1130 case $ac_user_opts in
1132 "with_$ac_useropt"
1133 "*) ;;
1134 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1135 ac_unrecognized_sep=', ';;
1136 esac
1137 eval with_$ac_useropt=\$ac_optarg ;;
1139 -without-* | --without-*)
1140 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1141 # Reject names that are not valid shell variable names.
1142 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1143 as_fn_error $? "invalid package name: $ac_useropt"
1144 ac_useropt_orig=$ac_useropt
1145 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1146 case $ac_user_opts in
1148 "with_$ac_useropt"
1149 "*) ;;
1150 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1151 ac_unrecognized_sep=', ';;
1152 esac
1153 eval with_$ac_useropt=no ;;
1155 --x)
1156 # Obsolete; use --with-x.
1157 with_x=yes ;;
1159 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1160 | --x-incl | --x-inc | --x-in | --x-i)
1161 ac_prev=x_includes ;;
1162 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1163 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1164 x_includes=$ac_optarg ;;
1166 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1167 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1168 ac_prev=x_libraries ;;
1169 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1170 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1171 x_libraries=$ac_optarg ;;
1173 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1174 Try \`$0 --help' for more information"
1177 *=*)
1178 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1179 # Reject names that are not valid shell variable names.
1180 case $ac_envvar in #(
1181 '' | [0-9]* | *[!_$as_cr_alnum]* )
1182 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1183 esac
1184 eval $ac_envvar=\$ac_optarg
1185 export $ac_envvar ;;
1188 # FIXME: should be removed in autoconf 3.0.
1189 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1190 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1191 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1192 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1195 esac
1196 done
1198 if test -n "$ac_prev"; then
1199 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1200 as_fn_error $? "missing argument to $ac_option"
1203 if test -n "$ac_unrecognized_opts"; then
1204 case $enable_option_checking in
1205 no) ;;
1206 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1207 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1208 esac
1211 # Check all directory arguments for consistency.
1212 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1213 datadir sysconfdir sharedstatedir localstatedir includedir \
1214 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1215 libdir localedir mandir
1217 eval ac_val=\$$ac_var
1218 # Remove trailing slashes.
1219 case $ac_val in
1220 */ )
1221 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1222 eval $ac_var=\$ac_val;;
1223 esac
1224 # Be sure to have absolute directory names.
1225 case $ac_val in
1226 [\\/$]* | ?:[\\/]* ) continue;;
1227 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1228 esac
1229 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1230 done
1232 # There might be people who depend on the old broken behavior: `$host'
1233 # used to hold the argument of --host etc.
1234 # FIXME: To remove some day.
1235 build=$build_alias
1236 host=$host_alias
1237 target=$target_alias
1239 # FIXME: To remove some day.
1240 if test "x$host_alias" != x; then
1241 if test "x$build_alias" = x; then
1242 cross_compiling=maybe
1243 elif test "x$build_alias" != "x$host_alias"; then
1244 cross_compiling=yes
1248 ac_tool_prefix=
1249 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1251 test "$silent" = yes && exec 6>/dev/null
1254 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1255 ac_ls_di=`ls -di .` &&
1256 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1257 as_fn_error $? "working directory cannot be determined"
1258 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1259 as_fn_error $? "pwd does not report name of working directory"
1262 # Find the source files, if location was not specified.
1263 if test -z "$srcdir"; then
1264 ac_srcdir_defaulted=yes
1265 # Try the directory containing this script, then the parent directory.
1266 ac_confdir=`$as_dirname -- "$as_myself" ||
1267 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1268 X"$as_myself" : 'X\(//\)[^/]' \| \
1269 X"$as_myself" : 'X\(//\)$' \| \
1270 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1271 $as_echo X"$as_myself" |
1272 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1273 s//\1/
1276 /^X\(\/\/\)[^/].*/{
1277 s//\1/
1280 /^X\(\/\/\)$/{
1281 s//\1/
1284 /^X\(\/\).*/{
1285 s//\1/
1288 s/.*/./; q'`
1289 srcdir=$ac_confdir
1290 if test ! -r "$srcdir/$ac_unique_file"; then
1291 srcdir=..
1293 else
1294 ac_srcdir_defaulted=no
1296 if test ! -r "$srcdir/$ac_unique_file"; then
1297 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1298 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1300 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1301 ac_abs_confdir=`(
1302 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1303 pwd)`
1304 # When building in place, set srcdir=.
1305 if test "$ac_abs_confdir" = "$ac_pwd"; then
1306 srcdir=.
1308 # Remove unnecessary trailing slashes from srcdir.
1309 # Double slashes in file names in object file debugging info
1310 # mess up M-x gdb in Emacs.
1311 case $srcdir in
1312 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1313 esac
1314 for ac_var in $ac_precious_vars; do
1315 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1316 eval ac_env_${ac_var}_value=\$${ac_var}
1317 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1318 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1319 done
1322 # Report the --help message.
1324 if test "$ac_init_help" = "long"; then
1325 # Omit some internal or obsolete options to make the list less imposing.
1326 # This message is too long to be a string in the A/UX 3.1 sh.
1327 cat <<_ACEOF
1328 \`configure' configures TeX Live libs 2015/dev to adapt to many kinds of systems.
1330 Usage: $0 [OPTION]... [VAR=VALUE]...
1332 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1333 VAR=VALUE. See below for descriptions of some of the useful variables.
1335 Defaults for the options are specified in brackets.
1337 Configuration:
1338 -h, --help display this help and exit
1339 --help=short display options specific to this package
1340 --help=recursive display the short help of all the included packages
1341 -V, --version display version information and exit
1342 -q, --quiet, --silent do not print \`checking ...' messages
1343 --cache-file=FILE cache test results in FILE [disabled]
1344 -C, --config-cache alias for \`--cache-file=config.cache'
1345 -n, --no-create do not create output files
1346 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1348 Installation directories:
1349 --prefix=PREFIX install architecture-independent files in PREFIX
1350 [$ac_default_prefix]
1351 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1352 [PREFIX]
1354 By default, \`make install' will install all the files in
1355 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1356 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1357 for instance \`--prefix=\$HOME'.
1359 For better control, use the options below.
1361 Fine tuning of the installation directories:
1362 --bindir=DIR user executables [EPREFIX/bin]
1363 --sbindir=DIR system admin executables [EPREFIX/sbin]
1364 --libexecdir=DIR program executables [EPREFIX/libexec]
1365 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1366 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1367 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1368 --libdir=DIR object code libraries [EPREFIX/lib]
1369 --includedir=DIR C header files [PREFIX/include]
1370 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1371 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1372 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1373 --infodir=DIR info documentation [DATAROOTDIR/info]
1374 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1375 --mandir=DIR man documentation [DATAROOTDIR/man]
1376 --docdir=DIR documentation root [DATAROOTDIR/doc/tex-live-libs]
1377 --htmldir=DIR html documentation [DOCDIR]
1378 --dvidir=DIR dvi documentation [DOCDIR]
1379 --pdfdir=DIR pdf documentation [DOCDIR]
1380 --psdir=DIR ps documentation [DOCDIR]
1381 _ACEOF
1383 cat <<\_ACEOF
1385 Program names:
1386 --program-prefix=PREFIX prepend PREFIX to installed program names
1387 --program-suffix=SUFFIX append SUFFIX to installed program names
1388 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1390 System types:
1391 --build=BUILD configure for building on BUILD [guessed]
1392 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1393 _ACEOF
1396 if test -n "$ac_init_help"; then
1397 case $ac_init_help in
1398 short | recursive ) echo "Configuration of TeX Live libs 2015/dev:";;
1399 esac
1400 cat <<\_ACEOF
1402 Optional Features:
1403 --disable-option-checking ignore unrecognized --enable/--with options
1404 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1405 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1406 --disable-missing terminate if a requested program or feature must be
1407 disabled, e.g., due to missing libraries
1408 --disable-all-pkgs do not build packages unless explicitly enabled
1409 --disable-native-texlive-build
1410 do not build for the TeX Live binary distribution
1411 --enable-multiplatform put executables into bin/PLATFORM and libraries into
1412 lib/PLATFORM
1413 --enable-cxx-runtime-hack link C++ runtime statically
1414 --enable-libtool-hack ignore libtool dependency_libs
1415 --disable-web2c do not build the web2c (TeX & Co.) package
1416 --enable-auto-core cause TeX&MF to dump core, given a certain
1417 filename
1418 --disable-dump-share make fmt/base/mem files architecture-dependent
1419 --disable-ipc disable TeX's --ipc option, i.e., pipe to a
1420 program
1421 --disable-tex do not compile and install TeX
1422 --enable-tex-synctex build TeX with SyncTeX support
1423 --enable-etex compile and install e-TeX
1424 --disable-etex-synctex build e-TeX without SyncTeX support
1425 --disable-ptex do not compile and install pTeX
1426 --disable-ptex-synctex build pTeX without SyncTeX support
1427 --disable-eptex do not compile and install e-pTeX
1428 --disable-eptex-synctex build e-pTeX without SyncTeX support
1429 --disable-uptex do not compile and install upTeX
1430 --disable-uptex-synctex build upTeX without SyncTeX support
1431 --disable-euptex do not compile and install e-upTeX
1432 --disable-euptex-synctex build e-upTeX without SyncTeX support
1433 --disable-aleph do not compile and install Aleph
1434 --disable-pdftex do not compile and install pdfTeX
1435 --disable-pdftex-synctex build pdfTeX without SyncTeX support
1436 --disable-luatex do not compile and install LuaTeX
1437 --disable-luajittex do not compile and install LuaJITTeX
1438 --disable-mp do not compile and install MetaPost
1439 --disable-pmp do not compile and install pMetaPost
1440 --disable-upmp do not compile and install upMetaPost
1441 --disable-xetex do not compile and install XeTeX
1442 --disable-xetex-synctex build XeTeX without SyncTeX support
1443 --disable-mf do not build METAFONT
1444 --disable-mf-nowin do not build a separate non-windows-capable
1445 METAFONT
1446 --enable-epsfwin include EPSF pseudo window support
1447 --enable-hp2627win include HP 2627 window support
1448 --enable-mftalkwin include mftalk (generic server) window support
1449 --enable-nextwin include NeXT window support
1450 --enable-regiswin include Regis window support
1451 --enable-suntoolswin include old Suntools (not X) window support
1452 --enable-tektronixwin include Tektronix window support
1453 --enable-unitermwin include Uniterm window support
1454 --disable-web-progs do not build WEB programs bibtex ... weave
1455 --disable-synctex do not build the SyncTeX tool
1456 --disable-texlive do not build the texlive (TeX Live scripts) package
1457 --disable-linked-scripts do not install the linked scripts
1458 --disable-mktexmf-default do not run mktexmf if MF source missing
1459 --disable-mktexpk-default do not run mktexpk if PK font missing
1460 --disable-mktextfm-default do not run mktextfm if TFM file missing
1461 --disable-mkocp-default do not run mkocp if OCP file missing
1462 --disable-mkofm-default do not run mkofm if OFM file missing
1463 --disable-mktexfmt-default do not run mktexfmt if format file missing
1464 --enable-mktextex-default run mktextex if TeX source missing
1465 --enable-dependency-tracking
1466 do not reject slow dependency extractors
1467 --disable-dependency-tracking
1468 speeds up one-time build
1469 --enable-silent-rules less verbose build output (undo: "make V=1")
1470 --disable-silent-rules verbose build output (undo: "make V=0")
1471 --enable-maintainer-mode
1472 enable make rules and dependencies not useful (and
1473 sometimes confusing) to the casual installer
1474 --enable-compiler-warnings=[no|min|yes|max|all]
1475 Turn on compiler warnings [default: yes if
1476 maintainer-mode, min otherwise]
1478 Optional Packages:
1479 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1480 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1481 --with-banner-add=STR add STR to version string appended to banner lines
1482 --with-editor=CMD invoke CMD from the `e' option [vi +%d '%s'] or
1483 [texworks --position=%d "%s"]
1484 --with-mf-x-toolkit use X toolkit for METAFONT
1485 --with-system-zziplib use installed zziplib headers and library (requires
1486 pkg-config)
1487 --with-system-poppler use installed poppler headers and library (requires
1488 pkg-config)
1489 --with-system-mpfr use installed mpfr headers and library
1490 --with-mpfr-includes=DIR
1491 mpfr headers installed in DIR
1492 --with-mpfr-libdir=DIR mpfr library installed in DIR
1493 --with-system-gmp use installed gmp headers and library
1494 --with-gmp-includes=DIR gmp headers installed in DIR
1495 --with-gmp-libdir=DIR gmp library installed in DIR
1496 --with-system-cairo use installed cairo headers and library (requires
1497 pkg-config)
1498 --with-system-pixman use installed pixman headers and library (requires
1499 pkg-config)
1500 --with-system-libpng use installed libpng headers and library (requires
1501 pkg-config)
1502 --with-system-zlib use installed zlib headers and library
1503 --with-zlib-includes=DIR
1504 zlib headers installed in DIR
1505 --with-zlib-libdir=DIR zlib library installed in DIR
1506 --with-system-kpathsea use installed kpathsea headers and library
1507 --with-kpathsea-includes=DIR
1508 kpathsea headers installed in DIR
1509 --with-kpathsea-libdir=DIR
1510 kpathsea library installed in DIR
1512 Some influential environment variables:
1513 CC C compiler command
1514 CFLAGS C compiler flags
1515 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1516 nonstandard directory <lib dir>
1517 LIBS libraries to pass to the linker, e.g. -l<library>
1518 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1519 you have headers in a nonstandard directory <include dir>
1521 Use these variables to override the choices made by `configure' or to help
1522 it to find libraries and programs with nonstandard names/locations.
1524 Report bugs to <tex-k@tug.org>.
1525 _ACEOF
1526 ac_status=$?
1529 if test "$ac_init_help" = "recursive"; then
1530 # If there are subdirs, report their specific --help.
1531 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1532 test -d "$ac_dir" ||
1533 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1534 continue
1535 ac_builddir=.
1537 case "$ac_dir" in
1538 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1540 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1541 # A ".." for each directory in $ac_dir_suffix.
1542 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1543 case $ac_top_builddir_sub in
1544 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1545 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1546 esac ;;
1547 esac
1548 ac_abs_top_builddir=$ac_pwd
1549 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1550 # for backward compatibility:
1551 ac_top_builddir=$ac_top_build_prefix
1553 case $srcdir in
1554 .) # We are building in place.
1555 ac_srcdir=.
1556 ac_top_srcdir=$ac_top_builddir_sub
1557 ac_abs_top_srcdir=$ac_pwd ;;
1558 [\\/]* | ?:[\\/]* ) # Absolute name.
1559 ac_srcdir=$srcdir$ac_dir_suffix;
1560 ac_top_srcdir=$srcdir
1561 ac_abs_top_srcdir=$srcdir ;;
1562 *) # Relative name.
1563 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1564 ac_top_srcdir=$ac_top_build_prefix$srcdir
1565 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1566 esac
1567 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1569 cd "$ac_dir" || { ac_status=$?; continue; }
1570 # Check for guested configure.
1571 if test -f "$ac_srcdir/configure.gnu"; then
1572 echo &&
1573 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1574 elif test -f "$ac_srcdir/configure"; then
1575 echo &&
1576 $SHELL "$ac_srcdir/configure" --help=recursive
1577 else
1578 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1579 fi || ac_status=$?
1580 cd "$ac_pwd" || { ac_status=$?; break; }
1581 done
1584 test -n "$ac_init_help" && exit $ac_status
1585 if $ac_init_version; then
1586 cat <<\_ACEOF
1587 TeX Live libs configure 2015/dev
1588 generated by GNU Autoconf 2.69
1590 Copyright (C) 2012 Free Software Foundation, Inc.
1591 This configure script is free software; the Free Software Foundation
1592 gives unlimited permission to copy, distribute and modify it.
1593 _ACEOF
1594 exit
1597 ## ------------------------ ##
1598 ## Autoconf initialization. ##
1599 ## ------------------------ ##
1601 # ac_fn_c_try_compile LINENO
1602 # --------------------------
1603 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1604 ac_fn_c_try_compile ()
1606 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1607 rm -f conftest.$ac_objext
1608 if { { ac_try="$ac_compile"
1609 case "(($ac_try" in
1610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1611 *) ac_try_echo=$ac_try;;
1612 esac
1613 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1614 $as_echo "$ac_try_echo"; } >&5
1615 (eval "$ac_compile") 2>conftest.err
1616 ac_status=$?
1617 if test -s conftest.err; then
1618 grep -v '^ *+' conftest.err >conftest.er1
1619 cat conftest.er1 >&5
1620 mv -f conftest.er1 conftest.err
1622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1623 test $ac_status = 0; } && {
1624 test -z "$ac_c_werror_flag" ||
1625 test ! -s conftest.err
1626 } && test -s conftest.$ac_objext; then :
1627 ac_retval=0
1628 else
1629 $as_echo "$as_me: failed program was:" >&5
1630 sed 's/^/| /' conftest.$ac_ext >&5
1632 ac_retval=1
1634 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1635 as_fn_set_status $ac_retval
1637 } # ac_fn_c_try_compile
1639 # ac_fn_c_try_link LINENO
1640 # -----------------------
1641 # Try to link conftest.$ac_ext, and return whether this succeeded.
1642 ac_fn_c_try_link ()
1644 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1645 rm -f conftest.$ac_objext conftest$ac_exeext
1646 if { { ac_try="$ac_link"
1647 case "(($ac_try" in
1648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1649 *) ac_try_echo=$ac_try;;
1650 esac
1651 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1652 $as_echo "$ac_try_echo"; } >&5
1653 (eval "$ac_link") 2>conftest.err
1654 ac_status=$?
1655 if test -s conftest.err; then
1656 grep -v '^ *+' conftest.err >conftest.er1
1657 cat conftest.er1 >&5
1658 mv -f conftest.er1 conftest.err
1660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1661 test $ac_status = 0; } && {
1662 test -z "$ac_c_werror_flag" ||
1663 test ! -s conftest.err
1664 } && test -s conftest$ac_exeext && {
1665 test "$cross_compiling" = yes ||
1666 test -x conftest$ac_exeext
1667 }; then :
1668 ac_retval=0
1669 else
1670 $as_echo "$as_me: failed program was:" >&5
1671 sed 's/^/| /' conftest.$ac_ext >&5
1673 ac_retval=1
1675 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1676 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1677 # interfere with the next link command; also delete a directory that is
1678 # left behind by Apple's compiler. We do this before executing the actions.
1679 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1680 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1681 as_fn_set_status $ac_retval
1683 } # ac_fn_c_try_link
1684 cat >config.log <<_ACEOF
1685 This file contains any messages produced by compilers while
1686 running configure, to aid debugging if configure makes a mistake.
1688 It was created by TeX Live libs $as_me 2015/dev, which was
1689 generated by GNU Autoconf 2.69. Invocation command line was
1691 $ $0 $@
1693 _ACEOF
1694 exec 5>>config.log
1696 cat <<_ASUNAME
1697 ## --------- ##
1698 ## Platform. ##
1699 ## --------- ##
1701 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1702 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1703 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1704 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1705 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1707 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1708 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1710 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1711 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1712 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1713 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1714 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1715 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1716 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1718 _ASUNAME
1720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1721 for as_dir in $PATH
1723 IFS=$as_save_IFS
1724 test -z "$as_dir" && as_dir=.
1725 $as_echo "PATH: $as_dir"
1726 done
1727 IFS=$as_save_IFS
1729 } >&5
1731 cat >&5 <<_ACEOF
1734 ## ----------- ##
1735 ## Core tests. ##
1736 ## ----------- ##
1738 _ACEOF
1741 # Keep a trace of the command line.
1742 # Strip out --no-create and --no-recursion so they do not pile up.
1743 # Strip out --silent because we don't want to record it for future runs.
1744 # Also quote any args containing shell meta-characters.
1745 # Make two passes to allow for proper duplicate-argument suppression.
1746 ac_configure_args=
1747 ac_configure_args0=
1748 ac_configure_args1=
1749 ac_must_keep_next=false
1750 for ac_pass in 1 2
1752 for ac_arg
1754 case $ac_arg in
1755 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1756 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1757 | -silent | --silent | --silen | --sile | --sil)
1758 continue ;;
1759 *\'*)
1760 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1761 esac
1762 case $ac_pass in
1763 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1765 as_fn_append ac_configure_args1 " '$ac_arg'"
1766 if test $ac_must_keep_next = true; then
1767 ac_must_keep_next=false # Got value, back to normal.
1768 else
1769 case $ac_arg in
1770 *=* | --config-cache | -C | -disable-* | --disable-* \
1771 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1772 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1773 | -with-* | --with-* | -without-* | --without-* | --x)
1774 case "$ac_configure_args0 " in
1775 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1776 esac
1778 -* ) ac_must_keep_next=true ;;
1779 esac
1781 as_fn_append ac_configure_args " '$ac_arg'"
1783 esac
1784 done
1785 done
1786 { ac_configure_args0=; unset ac_configure_args0;}
1787 { ac_configure_args1=; unset ac_configure_args1;}
1789 # When interrupted or exit'd, cleanup temporary files, and complete
1790 # config.log. We remove comments because anyway the quotes in there
1791 # would cause problems or look ugly.
1792 # WARNING: Use '\'' to represent an apostrophe within the trap.
1793 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1794 trap 'exit_status=$?
1795 # Save into config.log some information that might help in debugging.
1797 echo
1799 $as_echo "## ---------------- ##
1800 ## Cache variables. ##
1801 ## ---------------- ##"
1802 echo
1803 # The following way of writing the cache mishandles newlines in values,
1805 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1806 eval ac_val=\$$ac_var
1807 case $ac_val in #(
1808 *${as_nl}*)
1809 case $ac_var in #(
1810 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1811 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1812 esac
1813 case $ac_var in #(
1814 _ | IFS | as_nl) ;; #(
1815 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1816 *) { eval $ac_var=; unset $ac_var;} ;;
1817 esac ;;
1818 esac
1819 done
1820 (set) 2>&1 |
1821 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1822 *${as_nl}ac_space=\ *)
1823 sed -n \
1824 "s/'\''/'\''\\\\'\'''\''/g;
1825 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1826 ;; #(
1828 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1830 esac |
1831 sort
1833 echo
1835 $as_echo "## ----------------- ##
1836 ## Output variables. ##
1837 ## ----------------- ##"
1838 echo
1839 for ac_var in $ac_subst_vars
1841 eval ac_val=\$$ac_var
1842 case $ac_val in
1843 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1844 esac
1845 $as_echo "$ac_var='\''$ac_val'\''"
1846 done | sort
1847 echo
1849 if test -n "$ac_subst_files"; then
1850 $as_echo "## ------------------- ##
1851 ## File substitutions. ##
1852 ## ------------------- ##"
1853 echo
1854 for ac_var in $ac_subst_files
1856 eval ac_val=\$$ac_var
1857 case $ac_val in
1858 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1859 esac
1860 $as_echo "$ac_var='\''$ac_val'\''"
1861 done | sort
1862 echo
1865 if test -s confdefs.h; then
1866 $as_echo "## ----------- ##
1867 ## confdefs.h. ##
1868 ## ----------- ##"
1869 echo
1870 cat confdefs.h
1871 echo
1873 test "$ac_signal" != 0 &&
1874 $as_echo "$as_me: caught signal $ac_signal"
1875 $as_echo "$as_me: exit $exit_status"
1876 } >&5
1877 rm -f core *.core core.conftest.* &&
1878 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1879 exit $exit_status
1881 for ac_signal in 1 2 13 15; do
1882 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1883 done
1884 ac_signal=0
1886 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1887 rm -f -r conftest* confdefs.h
1889 $as_echo "/* confdefs.h */" > confdefs.h
1891 # Predefined preprocessor variables.
1893 cat >>confdefs.h <<_ACEOF
1894 #define PACKAGE_NAME "$PACKAGE_NAME"
1895 _ACEOF
1897 cat >>confdefs.h <<_ACEOF
1898 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1899 _ACEOF
1901 cat >>confdefs.h <<_ACEOF
1902 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1903 _ACEOF
1905 cat >>confdefs.h <<_ACEOF
1906 #define PACKAGE_STRING "$PACKAGE_STRING"
1907 _ACEOF
1909 cat >>confdefs.h <<_ACEOF
1910 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1911 _ACEOF
1913 cat >>confdefs.h <<_ACEOF
1914 #define PACKAGE_URL "$PACKAGE_URL"
1915 _ACEOF
1918 # Let the site file select an alternate cache file if it wants to.
1919 # Prefer an explicitly selected file to automatically selected ones.
1920 ac_site_file1=NONE
1921 ac_site_file2=NONE
1922 if test -n "$CONFIG_SITE"; then
1923 # We do not want a PATH search for config.site.
1924 case $CONFIG_SITE in #((
1925 -*) ac_site_file1=./$CONFIG_SITE;;
1926 */*) ac_site_file1=$CONFIG_SITE;;
1927 *) ac_site_file1=./$CONFIG_SITE;;
1928 esac
1929 elif test "x$prefix" != xNONE; then
1930 ac_site_file1=$prefix/share/config.site
1931 ac_site_file2=$prefix/etc/config.site
1932 else
1933 ac_site_file1=$ac_default_prefix/share/config.site
1934 ac_site_file2=$ac_default_prefix/etc/config.site
1936 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1938 test "x$ac_site_file" = xNONE && continue
1939 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1941 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1942 sed 's/^/| /' "$ac_site_file" >&5
1943 . "$ac_site_file" \
1944 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1945 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1946 as_fn_error $? "failed to load site script $ac_site_file
1947 See \`config.log' for more details" "$LINENO" 5; }
1949 done
1951 if test -r "$cache_file"; then
1952 # Some versions of bash will fail to source /dev/null (special files
1953 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1954 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1955 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1956 $as_echo "$as_me: loading cache $cache_file" >&6;}
1957 case $cache_file in
1958 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1959 *) . "./$cache_file";;
1960 esac
1962 else
1963 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1964 $as_echo "$as_me: creating cache $cache_file" >&6;}
1965 >$cache_file
1968 # Check that the precious variables saved in the cache have kept the same
1969 # value.
1970 ac_cache_corrupted=false
1971 for ac_var in $ac_precious_vars; do
1972 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1973 eval ac_new_set=\$ac_env_${ac_var}_set
1974 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1975 eval ac_new_val=\$ac_env_${ac_var}_value
1976 case $ac_old_set,$ac_new_set in
1977 set,)
1978 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1979 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1980 ac_cache_corrupted=: ;;
1981 ,set)
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1983 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1984 ac_cache_corrupted=: ;;
1985 ,);;
1987 if test "x$ac_old_val" != "x$ac_new_val"; then
1988 # differences in whitespace do not lead to failure.
1989 ac_old_val_w=`echo x $ac_old_val`
1990 ac_new_val_w=`echo x $ac_new_val`
1991 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1992 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1993 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1994 ac_cache_corrupted=:
1995 else
1996 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1997 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1998 eval $ac_var=\$ac_old_val
2000 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2001 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2003 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2004 fi;;
2005 esac
2006 # Pass precious variables to config.status.
2007 if test "$ac_new_set" = set; then
2008 case $ac_new_val in
2009 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2010 *) ac_arg=$ac_var=$ac_new_val ;;
2011 esac
2012 case " $ac_configure_args " in
2013 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2014 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2015 esac
2017 done
2018 if $ac_cache_corrupted; then
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2020 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2022 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2023 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2025 ## -------------------- ##
2026 ## Main body of script. ##
2027 ## -------------------- ##
2029 ac_ext=c
2030 ac_cpp='$CPP $CPPFLAGS'
2031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2038 ac_aux_dir=
2039 for ac_dir in ../build-aux "$srcdir"/../build-aux; do
2040 if test -f "$ac_dir/install-sh"; then
2041 ac_aux_dir=$ac_dir
2042 ac_install_sh="$ac_aux_dir/install-sh -c"
2043 break
2044 elif test -f "$ac_dir/install.sh"; then
2045 ac_aux_dir=$ac_dir
2046 ac_install_sh="$ac_aux_dir/install.sh -c"
2047 break
2048 elif test -f "$ac_dir/shtool"; then
2049 ac_aux_dir=$ac_dir
2050 ac_install_sh="$ac_aux_dir/shtool install -c"
2051 break
2053 done
2054 if test -z "$ac_aux_dir"; then
2055 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../build-aux \"$srcdir\"/../build-aux" "$LINENO" 5
2058 # These three variables are undocumented and unsupported,
2059 # and are intended to be withdrawn in a future Autoconf release.
2060 # They can cause serious problems if a builder's source tree is in a directory
2061 # whose full name contains unusual characters.
2062 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2063 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2064 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2069 # Make sure we can run config.sub.
2070 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2071 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2074 $as_echo_n "checking build system type... " >&6; }
2075 if ${ac_cv_build+:} false; then :
2076 $as_echo_n "(cached) " >&6
2077 else
2078 ac_build_alias=$build_alias
2079 test "x$ac_build_alias" = x &&
2080 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2081 test "x$ac_build_alias" = x &&
2082 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2083 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2084 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2088 $as_echo "$ac_cv_build" >&6; }
2089 case $ac_cv_build in
2090 *-*-*) ;;
2091 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2092 esac
2093 build=$ac_cv_build
2094 ac_save_IFS=$IFS; IFS='-'
2095 set x $ac_cv_build
2096 shift
2097 build_cpu=$1
2098 build_vendor=$2
2099 shift; shift
2100 # Remember, the first character of IFS is used to create $*,
2101 # except with old shells:
2102 build_os=$*
2103 IFS=$ac_save_IFS
2104 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2108 $as_echo_n "checking host system type... " >&6; }
2109 if ${ac_cv_host+:} false; then :
2110 $as_echo_n "(cached) " >&6
2111 else
2112 if test "x$host_alias" = x; then
2113 ac_cv_host=$ac_cv_build
2114 else
2115 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2116 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2121 $as_echo "$ac_cv_host" >&6; }
2122 case $ac_cv_host in
2123 *-*-*) ;;
2124 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2125 esac
2126 host=$ac_cv_host
2127 ac_save_IFS=$IFS; IFS='-'
2128 set x $ac_cv_host
2129 shift
2130 host_cpu=$1
2131 host_vendor=$2
2132 shift; shift
2133 # Remember, the first character of IFS is used to create $*,
2134 # except with old shells:
2135 host_os=$*
2136 IFS=$ac_save_IFS
2137 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2140 # Check whether --enable-missing was given.
2141 if test "${enable_missing+set}" = set; then :
2142 enableval=$enable_missing;
2145 # Expand $ac_aux_dir to an absolute path.
2146 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2148 ac_ext=c
2149 ac_cpp='$CPP $CPPFLAGS'
2150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2153 if test -n "$ac_tool_prefix"; then
2154 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2155 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2157 $as_echo_n "checking for $ac_word... " >&6; }
2158 if ${ac_cv_prog_CC+:} false; then :
2159 $as_echo_n "(cached) " >&6
2160 else
2161 if test -n "$CC"; then
2162 ac_cv_prog_CC="$CC" # Let the user override the test.
2163 else
2164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2165 for as_dir in $PATH
2167 IFS=$as_save_IFS
2168 test -z "$as_dir" && as_dir=.
2169 for ac_exec_ext in '' $ac_executable_extensions; do
2170 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2171 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2173 break 2
2175 done
2176 done
2177 IFS=$as_save_IFS
2181 CC=$ac_cv_prog_CC
2182 if test -n "$CC"; then
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2184 $as_echo "$CC" >&6; }
2185 else
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2187 $as_echo "no" >&6; }
2192 if test -z "$ac_cv_prog_CC"; then
2193 ac_ct_CC=$CC
2194 # Extract the first word of "gcc", so it can be a program name with args.
2195 set dummy gcc; ac_word=$2
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2197 $as_echo_n "checking for $ac_word... " >&6; }
2198 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2199 $as_echo_n "(cached) " >&6
2200 else
2201 if test -n "$ac_ct_CC"; then
2202 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2203 else
2204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2205 for as_dir in $PATH
2207 IFS=$as_save_IFS
2208 test -z "$as_dir" && as_dir=.
2209 for ac_exec_ext in '' $ac_executable_extensions; do
2210 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2211 ac_cv_prog_ac_ct_CC="gcc"
2212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2213 break 2
2215 done
2216 done
2217 IFS=$as_save_IFS
2221 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2222 if test -n "$ac_ct_CC"; then
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2224 $as_echo "$ac_ct_CC" >&6; }
2225 else
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2227 $as_echo "no" >&6; }
2230 if test "x$ac_ct_CC" = x; then
2231 CC=""
2232 else
2233 case $cross_compiling:$ac_tool_warned in
2234 yes:)
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2236 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2237 ac_tool_warned=yes ;;
2238 esac
2239 CC=$ac_ct_CC
2241 else
2242 CC="$ac_cv_prog_CC"
2245 if test -z "$CC"; then
2246 if test -n "$ac_tool_prefix"; then
2247 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2248 set dummy ${ac_tool_prefix}cc; ac_word=$2
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2250 $as_echo_n "checking for $ac_word... " >&6; }
2251 if ${ac_cv_prog_CC+:} false; then :
2252 $as_echo_n "(cached) " >&6
2253 else
2254 if test -n "$CC"; then
2255 ac_cv_prog_CC="$CC" # Let the user override the test.
2256 else
2257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2258 for as_dir in $PATH
2260 IFS=$as_save_IFS
2261 test -z "$as_dir" && as_dir=.
2262 for ac_exec_ext in '' $ac_executable_extensions; do
2263 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2264 ac_cv_prog_CC="${ac_tool_prefix}cc"
2265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2266 break 2
2268 done
2269 done
2270 IFS=$as_save_IFS
2274 CC=$ac_cv_prog_CC
2275 if test -n "$CC"; then
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2277 $as_echo "$CC" >&6; }
2278 else
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2280 $as_echo "no" >&6; }
2286 if test -z "$CC"; then
2287 # Extract the first word of "cc", so it can be a program name with args.
2288 set dummy cc; ac_word=$2
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2290 $as_echo_n "checking for $ac_word... " >&6; }
2291 if ${ac_cv_prog_CC+:} false; then :
2292 $as_echo_n "(cached) " >&6
2293 else
2294 if test -n "$CC"; then
2295 ac_cv_prog_CC="$CC" # Let the user override the test.
2296 else
2297 ac_prog_rejected=no
2298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2299 for as_dir in $PATH
2301 IFS=$as_save_IFS
2302 test -z "$as_dir" && as_dir=.
2303 for ac_exec_ext in '' $ac_executable_extensions; do
2304 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2305 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2306 ac_prog_rejected=yes
2307 continue
2309 ac_cv_prog_CC="cc"
2310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2311 break 2
2313 done
2314 done
2315 IFS=$as_save_IFS
2317 if test $ac_prog_rejected = yes; then
2318 # We found a bogon in the path, so make sure we never use it.
2319 set dummy $ac_cv_prog_CC
2320 shift
2321 if test $# != 0; then
2322 # We chose a different compiler from the bogus one.
2323 # However, it has the same basename, so the bogon will be chosen
2324 # first if we set CC to just the basename; use the full file name.
2325 shift
2326 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2331 CC=$ac_cv_prog_CC
2332 if test -n "$CC"; then
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2334 $as_echo "$CC" >&6; }
2335 else
2336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2337 $as_echo "no" >&6; }
2342 if test -z "$CC"; then
2343 if test -n "$ac_tool_prefix"; then
2344 for ac_prog in cl.exe
2346 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2347 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2349 $as_echo_n "checking for $ac_word... " >&6; }
2350 if ${ac_cv_prog_CC+:} false; then :
2351 $as_echo_n "(cached) " >&6
2352 else
2353 if test -n "$CC"; then
2354 ac_cv_prog_CC="$CC" # Let the user override the test.
2355 else
2356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2357 for as_dir in $PATH
2359 IFS=$as_save_IFS
2360 test -z "$as_dir" && as_dir=.
2361 for ac_exec_ext in '' $ac_executable_extensions; do
2362 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2363 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2365 break 2
2367 done
2368 done
2369 IFS=$as_save_IFS
2373 CC=$ac_cv_prog_CC
2374 if test -n "$CC"; then
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2376 $as_echo "$CC" >&6; }
2377 else
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2379 $as_echo "no" >&6; }
2383 test -n "$CC" && break
2384 done
2386 if test -z "$CC"; then
2387 ac_ct_CC=$CC
2388 for ac_prog in cl.exe
2390 # Extract the first word of "$ac_prog", so it can be a program name with args.
2391 set dummy $ac_prog; ac_word=$2
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2393 $as_echo_n "checking for $ac_word... " >&6; }
2394 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2395 $as_echo_n "(cached) " >&6
2396 else
2397 if test -n "$ac_ct_CC"; then
2398 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2399 else
2400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2401 for as_dir in $PATH
2403 IFS=$as_save_IFS
2404 test -z "$as_dir" && as_dir=.
2405 for ac_exec_ext in '' $ac_executable_extensions; do
2406 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2407 ac_cv_prog_ac_ct_CC="$ac_prog"
2408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2409 break 2
2411 done
2412 done
2413 IFS=$as_save_IFS
2417 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2418 if test -n "$ac_ct_CC"; then
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2420 $as_echo "$ac_ct_CC" >&6; }
2421 else
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2423 $as_echo "no" >&6; }
2427 test -n "$ac_ct_CC" && break
2428 done
2430 if test "x$ac_ct_CC" = x; then
2431 CC=""
2432 else
2433 case $cross_compiling:$ac_tool_warned in
2434 yes:)
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2436 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2437 ac_tool_warned=yes ;;
2438 esac
2439 CC=$ac_ct_CC
2446 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2447 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2448 as_fn_error $? "no acceptable C compiler found in \$PATH
2449 See \`config.log' for more details" "$LINENO" 5; }
2451 # Provide some information about the compiler.
2452 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2453 set X $ac_compile
2454 ac_compiler=$2
2455 for ac_option in --version -v -V -qversion; do
2456 { { ac_try="$ac_compiler $ac_option >&5"
2457 case "(($ac_try" in
2458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2459 *) ac_try_echo=$ac_try;;
2460 esac
2461 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2462 $as_echo "$ac_try_echo"; } >&5
2463 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2464 ac_status=$?
2465 if test -s conftest.err; then
2466 sed '10a\
2467 ... rest of stderr output deleted ...
2468 10q' conftest.err >conftest.er1
2469 cat conftest.er1 >&5
2471 rm -f conftest.er1 conftest.err
2472 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2473 test $ac_status = 0; }
2474 done
2476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2477 /* end confdefs.h. */
2480 main ()
2484 return 0;
2486 _ACEOF
2487 ac_clean_files_save=$ac_clean_files
2488 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2489 # Try to create an executable without -o first, disregard a.out.
2490 # It will help us diagnose broken compilers, and finding out an intuition
2491 # of exeext.
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2493 $as_echo_n "checking whether the C compiler works... " >&6; }
2494 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2496 # The possible output files:
2497 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2499 ac_rmfiles=
2500 for ac_file in $ac_files
2502 case $ac_file in
2503 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2504 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2505 esac
2506 done
2507 rm -f $ac_rmfiles
2509 if { { ac_try="$ac_link_default"
2510 case "(($ac_try" in
2511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2512 *) ac_try_echo=$ac_try;;
2513 esac
2514 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2515 $as_echo "$ac_try_echo"; } >&5
2516 (eval "$ac_link_default") 2>&5
2517 ac_status=$?
2518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2519 test $ac_status = 0; }; then :
2520 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2521 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2522 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2523 # so that the user can short-circuit this test for compilers unknown to
2524 # Autoconf.
2525 for ac_file in $ac_files ''
2527 test -f "$ac_file" || continue
2528 case $ac_file in
2529 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2531 [ab].out )
2532 # We found the default executable, but exeext='' is most
2533 # certainly right.
2534 break;;
2535 *.* )
2536 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2537 then :; else
2538 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2540 # We set ac_cv_exeext here because the later test for it is not
2541 # safe: cross compilers may not add the suffix if given an `-o'
2542 # argument, so we may need to know it at that point already.
2543 # Even if this section looks crufty: it has the advantage of
2544 # actually working.
2545 break;;
2547 break;;
2548 esac
2549 done
2550 test "$ac_cv_exeext" = no && ac_cv_exeext=
2552 else
2553 ac_file=''
2555 if test -z "$ac_file"; then :
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2557 $as_echo "no" >&6; }
2558 $as_echo "$as_me: failed program was:" >&5
2559 sed 's/^/| /' conftest.$ac_ext >&5
2561 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2562 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2563 as_fn_error 77 "C compiler cannot create executables
2564 See \`config.log' for more details" "$LINENO" 5; }
2565 else
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2567 $as_echo "yes" >&6; }
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2570 $as_echo_n "checking for C compiler default output file name... " >&6; }
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2572 $as_echo "$ac_file" >&6; }
2573 ac_exeext=$ac_cv_exeext
2575 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2576 ac_clean_files=$ac_clean_files_save
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2578 $as_echo_n "checking for suffix of executables... " >&6; }
2579 if { { ac_try="$ac_link"
2580 case "(($ac_try" in
2581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2582 *) ac_try_echo=$ac_try;;
2583 esac
2584 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2585 $as_echo "$ac_try_echo"; } >&5
2586 (eval "$ac_link") 2>&5
2587 ac_status=$?
2588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2589 test $ac_status = 0; }; then :
2590 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2591 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2592 # work properly (i.e., refer to `conftest.exe'), while it won't with
2593 # `rm'.
2594 for ac_file in conftest.exe conftest conftest.*; do
2595 test -f "$ac_file" || continue
2596 case $ac_file in
2597 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2598 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2599 break;;
2600 * ) break;;
2601 esac
2602 done
2603 else
2604 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2605 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2606 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2607 See \`config.log' for more details" "$LINENO" 5; }
2609 rm -f conftest conftest$ac_cv_exeext
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2611 $as_echo "$ac_cv_exeext" >&6; }
2613 rm -f conftest.$ac_ext
2614 EXEEXT=$ac_cv_exeext
2615 ac_exeext=$EXEEXT
2616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2617 /* end confdefs.h. */
2618 #include <stdio.h>
2620 main ()
2622 FILE *f = fopen ("conftest.out", "w");
2623 return ferror (f) || fclose (f) != 0;
2626 return 0;
2628 _ACEOF
2629 ac_clean_files="$ac_clean_files conftest.out"
2630 # Check that the compiler produces executables we can run. If not, either
2631 # the compiler is broken, or we cross compile.
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2633 $as_echo_n "checking whether we are cross compiling... " >&6; }
2634 if test "$cross_compiling" != yes; then
2635 { { ac_try="$ac_link"
2636 case "(($ac_try" in
2637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2638 *) ac_try_echo=$ac_try;;
2639 esac
2640 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2641 $as_echo "$ac_try_echo"; } >&5
2642 (eval "$ac_link") 2>&5
2643 ac_status=$?
2644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2645 test $ac_status = 0; }
2646 if { ac_try='./conftest$ac_cv_exeext'
2647 { { case "(($ac_try" in
2648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2649 *) ac_try_echo=$ac_try;;
2650 esac
2651 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2652 $as_echo "$ac_try_echo"; } >&5
2653 (eval "$ac_try") 2>&5
2654 ac_status=$?
2655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2656 test $ac_status = 0; }; }; then
2657 cross_compiling=no
2658 else
2659 if test "$cross_compiling" = maybe; then
2660 cross_compiling=yes
2661 else
2662 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2663 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2664 as_fn_error $? "cannot run C compiled programs.
2665 If you meant to cross compile, use \`--host'.
2666 See \`config.log' for more details" "$LINENO" 5; }
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2671 $as_echo "$cross_compiling" >&6; }
2673 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2674 ac_clean_files=$ac_clean_files_save
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2676 $as_echo_n "checking for suffix of object files... " >&6; }
2677 if ${ac_cv_objext+:} false; then :
2678 $as_echo_n "(cached) " >&6
2679 else
2680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2681 /* end confdefs.h. */
2684 main ()
2688 return 0;
2690 _ACEOF
2691 rm -f conftest.o conftest.obj
2692 if { { ac_try="$ac_compile"
2693 case "(($ac_try" in
2694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2695 *) ac_try_echo=$ac_try;;
2696 esac
2697 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2698 $as_echo "$ac_try_echo"; } >&5
2699 (eval "$ac_compile") 2>&5
2700 ac_status=$?
2701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2702 test $ac_status = 0; }; then :
2703 for ac_file in conftest.o conftest.obj conftest.*; do
2704 test -f "$ac_file" || continue;
2705 case $ac_file in
2706 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2707 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2708 break;;
2709 esac
2710 done
2711 else
2712 $as_echo "$as_me: failed program was:" >&5
2713 sed 's/^/| /' conftest.$ac_ext >&5
2715 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2716 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2717 as_fn_error $? "cannot compute suffix of object files: cannot compile
2718 See \`config.log' for more details" "$LINENO" 5; }
2720 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2723 $as_echo "$ac_cv_objext" >&6; }
2724 OBJEXT=$ac_cv_objext
2725 ac_objext=$OBJEXT
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2727 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2728 if ${ac_cv_c_compiler_gnu+:} false; then :
2729 $as_echo_n "(cached) " >&6
2730 else
2731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2732 /* end confdefs.h. */
2735 main ()
2737 #ifndef __GNUC__
2738 choke me
2739 #endif
2742 return 0;
2744 _ACEOF
2745 if ac_fn_c_try_compile "$LINENO"; then :
2746 ac_compiler_gnu=yes
2747 else
2748 ac_compiler_gnu=no
2750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2751 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2755 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2756 if test $ac_compiler_gnu = yes; then
2757 GCC=yes
2758 else
2759 GCC=
2761 ac_test_CFLAGS=${CFLAGS+set}
2762 ac_save_CFLAGS=$CFLAGS
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2764 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2765 if ${ac_cv_prog_cc_g+:} false; then :
2766 $as_echo_n "(cached) " >&6
2767 else
2768 ac_save_c_werror_flag=$ac_c_werror_flag
2769 ac_c_werror_flag=yes
2770 ac_cv_prog_cc_g=no
2771 CFLAGS="-g"
2772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2773 /* end confdefs.h. */
2776 main ()
2780 return 0;
2782 _ACEOF
2783 if ac_fn_c_try_compile "$LINENO"; then :
2784 ac_cv_prog_cc_g=yes
2785 else
2786 CFLAGS=""
2787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2788 /* end confdefs.h. */
2791 main ()
2795 return 0;
2797 _ACEOF
2798 if ac_fn_c_try_compile "$LINENO"; then :
2800 else
2801 ac_c_werror_flag=$ac_save_c_werror_flag
2802 CFLAGS="-g"
2803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2804 /* end confdefs.h. */
2807 main ()
2811 return 0;
2813 _ACEOF
2814 if ac_fn_c_try_compile "$LINENO"; then :
2815 ac_cv_prog_cc_g=yes
2817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2822 ac_c_werror_flag=$ac_save_c_werror_flag
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2825 $as_echo "$ac_cv_prog_cc_g" >&6; }
2826 if test "$ac_test_CFLAGS" = set; then
2827 CFLAGS=$ac_save_CFLAGS
2828 elif test $ac_cv_prog_cc_g = yes; then
2829 if test "$GCC" = yes; then
2830 CFLAGS="-g -O2"
2831 else
2832 CFLAGS="-g"
2834 else
2835 if test "$GCC" = yes; then
2836 CFLAGS="-O2"
2837 else
2838 CFLAGS=
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2842 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2843 if ${ac_cv_prog_cc_c89+:} false; then :
2844 $as_echo_n "(cached) " >&6
2845 else
2846 ac_cv_prog_cc_c89=no
2847 ac_save_CC=$CC
2848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2849 /* end confdefs.h. */
2850 #include <stdarg.h>
2851 #include <stdio.h>
2852 struct stat;
2853 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2854 struct buf { int x; };
2855 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2856 static char *e (p, i)
2857 char **p;
2858 int i;
2860 return p[i];
2862 static char *f (char * (*g) (char **, int), char **p, ...)
2864 char *s;
2865 va_list v;
2866 va_start (v,p);
2867 s = g (p, va_arg (v,int));
2868 va_end (v);
2869 return s;
2872 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2873 function prototypes and stuff, but not '\xHH' hex character constants.
2874 These don't provoke an error unfortunately, instead are silently treated
2875 as 'x'. The following induces an error, until -std is added to get
2876 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2877 array size at least. It's necessary to write '\x00'==0 to get something
2878 that's true only with -std. */
2879 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2881 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2882 inside strings and character constants. */
2883 #define FOO(x) 'x'
2884 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2886 int test (int i, double x);
2887 struct s1 {int (*f) (int a);};
2888 struct s2 {int (*f) (double a);};
2889 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2890 int argc;
2891 char **argv;
2893 main ()
2895 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2897 return 0;
2899 _ACEOF
2900 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2901 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2903 CC="$ac_save_CC $ac_arg"
2904 if ac_fn_c_try_compile "$LINENO"; then :
2905 ac_cv_prog_cc_c89=$ac_arg
2907 rm -f core conftest.err conftest.$ac_objext
2908 test "x$ac_cv_prog_cc_c89" != "xno" && break
2909 done
2910 rm -f conftest.$ac_ext
2911 CC=$ac_save_CC
2914 # AC_CACHE_VAL
2915 case "x$ac_cv_prog_cc_c89" in
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2918 $as_echo "none needed" >&6; } ;;
2919 xno)
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2921 $as_echo "unsupported" >&6; } ;;
2923 CC="$CC $ac_cv_prog_cc_c89"
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2925 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2926 esac
2927 if test "x$ac_cv_prog_cc_c89" != xno; then :
2931 ac_ext=c
2932 ac_cpp='$CPP $CPPFLAGS'
2933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2937 ac_ext=c
2938 ac_cpp='$CPP $CPPFLAGS'
2939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
2943 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
2944 if ${am_cv_prog_cc_c_o+:} false; then :
2945 $as_echo_n "(cached) " >&6
2946 else
2947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2948 /* end confdefs.h. */
2951 main ()
2955 return 0;
2957 _ACEOF
2958 # Make sure it works both with $CC and with simple cc.
2959 # Following AC_PROG_CC_C_O, we do the test twice because some
2960 # compilers refuse to overwrite an existing .o file with -o,
2961 # though they will create one.
2962 am_cv_prog_cc_c_o=yes
2963 for am_i in 1 2; do
2964 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
2965 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
2966 ac_status=$?
2967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2968 (exit $ac_status); } \
2969 && test -f conftest2.$ac_objext; then
2970 : OK
2971 else
2972 am_cv_prog_cc_c_o=no
2973 break
2975 done
2976 rm -f core conftest*
2977 unset am_i
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
2980 $as_echo "$am_cv_prog_cc_c_o" >&6; }
2981 if test "$am_cv_prog_cc_c_o" != yes; then
2982 # Losing compiler, so override with the script.
2983 # FIXME: It is wrong to rewrite CC.
2984 # But if we don't then we get into trouble of one sort or another.
2985 # A longer-term fix would be to have automake use am__CC in this case,
2986 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
2987 CC="$am_aux_dir/compile $CC"
2989 ac_ext=c
2990 ac_cpp='$CPP $CPPFLAGS'
2991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3000 # Check whether --enable-all-pkgs was given.
3001 if test "${enable_all_pkgs+set}" = set; then :
3002 enableval=$enable_all_pkgs;
3004 test "x$enable_all_pkgs" = xno || enable_all_pkgs=yes
3005 # Check whether --enable-native-texlive-build was given.
3006 if test "${enable_native_texlive_build+set}" = set; then :
3007 enableval=$enable_native_texlive_build;
3009 case $enable_native_texlive_build in #(
3010 yes | no) :
3011 : ;; #(
3012 *) :
3013 enable_native_texlive_build=yes
3014 ac_configure_args="$ac_configure_args '--enable-native-texlive-build'" ;;
3015 esac
3016 case $enable_largefile in #(
3017 yes | no) :
3018 : ;; #(
3019 *) :
3020 enable_largefile=yes
3021 ac_configure_args="$ac_configure_args '--enable-largefile'" ;;
3022 esac
3023 case $enable_silent_rules in #(
3024 yes | no) :
3025 : ;; #(
3026 *) :
3027 enable_silent_rules=no
3028 ac_configure_args="$ac_configure_args '--disable-silent-rules'" ;;
3029 esac
3030 case $enable_multiplatform in #(
3031 yes | no) :
3032 : ;; #(
3033 *) :
3034 enable_multiplatform=$enable_native_texlive_build
3035 ac_configure_args="$ac_configure_args '--enable-multiplatform=$enable_native_texlive_build'" ;;
3036 esac
3037 case $enable_cxx_runtime_hack in #(
3038 yes | no) :
3039 : ;; #(
3040 *) :
3041 enable_cxx_runtime_hack=$enable_native_texlive_build
3042 ac_configure_args="$ac_configure_args '--enable-cxx-runtime-hack=$enable_native_texlive_build'" ;;
3043 esac
3044 case $enable_libtool_hack in #(
3045 yes | no) :
3046 : ;; #(
3047 *) :
3048 case $host_os in #(
3049 do-not-match) :
3050 enable_libtool_hack=no ;; #(
3051 *) :
3052 enable_libtool_hack=yes ;;
3053 esac
3054 ac_configure_args="$ac_configure_args '--enable-libtool-hack=$enable_libtool_hack'" ;;
3055 esac
3056 case $enable_shared in #(
3057 no) :
3058 : ;; #(
3059 yes ) :
3060 if test "x$enable_native_texlive_build" = xyes; then :
3061 as_fn_error $? "you can not use a shared Kpathsea library for a native TeX Live build" "$LINENO" 5
3062 fi ;; #(
3063 *) :
3064 enable_shared=no
3065 ac_configure_args="$ac_configure_args '--disable-shared'" ;;
3066 esac
3067 case $enable_texlive_build in #(
3068 yes) :
3069 : ;; #(
3070 no) :
3071 as_fn_error $? "you can not configure the TeX Live tree with \`--disable-texlive-build'" "$LINENO" 5 ;; #(
3072 *) :
3073 enable_texlive_build=yes
3074 ac_configure_args="$ac_configure_args '--enable-texlive-build'" ;;
3075 esac
3076 # Check whether --enable-multiplatform was given.
3077 if test "${enable_multiplatform+set}" = set; then :
3078 enableval=$enable_multiplatform;
3080 if test "x$enable_multiplatform" = xyes; then
3081 if test "x$bindir" = 'x${exec_prefix}/bin'; then
3082 bindir="$bindir/${host_alias-$host}"
3083 ac_configure_args="$ac_configure_args '--bindir=$bindir'"
3085 if test "x$libdir" = 'x${exec_prefix}/lib'; then
3086 libdir="$libdir/${host_alias-$host}"
3087 ac_configure_args="$ac_configure_args '--libdir=$libdir'"
3091 # Check whether --enable-cxx-runtime-hack was given.
3092 if test "${enable_cxx_runtime_hack+set}" = set; then :
3093 enableval=$enable_cxx_runtime_hack;
3096 # Check whether --enable-libtool-hack was given.
3097 if test "${enable_libtool_hack+set}" = set; then :
3098 enableval=$enable_libtool_hack;
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native WIN32 or MINGW32" >&5
3105 $as_echo_n "checking for native WIN32 or MINGW32... " >&6; }
3106 if ${kpse_cv_have_win32+:} false; then :
3107 $as_echo_n "(cached) " >&6
3108 else
3109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3110 /* end confdefs.h. */
3111 #ifndef WIN32
3112 choke me
3113 #endif
3115 main ()
3119 return 0;
3121 _ACEOF
3122 if ac_fn_c_try_compile "$LINENO"; then :
3123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3124 /* end confdefs.h. */
3125 #ifndef __MINGW32__
3126 choke me
3127 #endif
3129 main ()
3133 return 0;
3135 _ACEOF
3136 if ac_fn_c_try_compile "$LINENO"; then :
3137 kpse_cv_have_win32=mingw32
3138 else
3139 kpse_cv_have_win32=native
3141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3142 else
3143 kpse_cv_have_win32=no
3145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_win32" >&5
3148 $as_echo "$kpse_cv_have_win32" >&6; }
3150 case $with_x:$kpse_cv_have_win32 in #(
3151 yes:no | no:*) :
3152 : ;; #(
3153 yes:*) :
3154 as_fn_error $? "you can not use \`--with-x' for WIN32" "$LINENO" 5 ;; #(
3155 *:no) :
3156 with_x=yes
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--with-x'" >&5
3158 $as_echo "$as_me: Assuming \`--with-x'" >&6;}
3159 ac_configure_args="$ac_configure_args '--with-x'" ;; #(
3160 *) :
3161 with_x=no
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: WIN32 -> \`--without-x'" >&5
3163 $as_echo "$as_me: WIN32 -> \`--without-x'" >&6;}
3164 ac_configure_args="$ac_configure_args '--without-x'" ;;
3165 esac
3166 case $enable_luajittex in #(
3167 yes | no) :
3168 : ;; #(
3169 *) :
3170 case $host in #(
3171 alpha* | sparc* | x86_64-*-cygwin | powerpc-*-darwin* ) :
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: $host -> \`--disable-luajittex'" >&5
3173 $as_echo "$as_me: $host -> \`--disable-luajittex'" >&6;}
3174 ac_configure_args="$ac_configure_args '--disable-luajittex'" ;; #(
3175 *) :
3177 esac ;;
3178 esac
3180 ## texk/web2c/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/web2c/
3181 ## configure options and TL libraries required for web2c
3182 # Check whether --enable-web2c was given.
3183 if test "${enable_web2c+set}" = set; then :
3184 enableval=$enable_web2c;
3186 case $enable_web2c in #(
3187 yes|no) :
3188 ;; #(
3189 *) :
3191 enable_web2c=$enable_all_pkgs
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-web2c=$enable_web2c'" >&5
3193 $as_echo "$as_me: Assuming \`--enable-web2c=$enable_web2c'" >&6;}
3194 ac_configure_args="$ac_configure_args '--enable-web2c=$enable_web2c'"
3196 esac
3198 test "x$enable_web2c" = xno || {
3199 need_kpathsea=yes
3200 need_zlib=yes
3203 ## texk/web2c/ac/web2c.ac: configure.ac fragment for the TeX Live subdirectory texk/web2c/
3204 ## configure options for TeX and MF
3206 # Check whether --with-banner-add was given.
3207 if test "${with_banner_add+set}" = set; then :
3208 withval=$with_banner_add;
3211 # Check whether --with-editor was given.
3212 if test "${with_editor+set}" = set; then :
3213 withval=$with_editor;
3215 # Check whether --enable-auto-core was given.
3216 if test "${enable_auto_core+set}" = set; then :
3217 enableval=$enable_auto_core;
3219 # Check whether --enable-dump-share was given.
3220 if test "${enable_dump_share+set}" = set; then :
3221 enableval=$enable_dump_share;
3223 ## configure options for TeX
3224 # Check whether --enable-ipc was given.
3225 if test "${enable_ipc+set}" = set; then :
3226 enableval=$enable_ipc;
3228 # Check whether --enable-tex was given.
3229 if test "${enable_tex+set}" = set; then :
3230 enableval=$enable_tex;
3232 case $enable_tex in #(
3233 yes | no) :
3234 ;; #(
3235 *) :
3236 enable_tex=yes ;;
3237 esac
3239 # Check whether --enable-tex-synctex was given.
3240 if test "${enable_tex_synctex+set}" = set; then :
3241 enableval=$enable_tex_synctex;
3243 # Check whether --enable-etex was given.
3244 if test "${enable_etex+set}" = set; then :
3245 enableval=$enable_etex;
3247 case $enable_etex in #(
3248 yes | no) :
3249 ;; #(
3250 *) :
3251 enable_etex=no ;;
3252 esac
3254 # Check whether --enable-etex-synctex was given.
3255 if test "${enable_etex_synctex+set}" = set; then :
3256 enableval=$enable_etex_synctex;
3258 # Check whether --enable-ptex was given.
3259 if test "${enable_ptex+set}" = set; then :
3260 enableval=$enable_ptex;
3262 case $enable_ptex in #(
3263 yes | no) :
3264 ;; #(
3265 *) :
3266 enable_ptex=yes ;;
3267 esac
3269 # Check whether --enable-ptex-synctex was given.
3270 if test "${enable_ptex_synctex+set}" = set; then :
3271 enableval=$enable_ptex_synctex;
3274 test "x$enable_web2c:$enable_ptex" = xyes:yes && {
3275 need_ptexenc=yes
3277 # Check whether --enable-eptex was given.
3278 if test "${enable_eptex+set}" = set; then :
3279 enableval=$enable_eptex;
3281 case $enable_eptex in #(
3282 yes | no) :
3283 ;; #(
3284 *) :
3285 enable_eptex=yes ;;
3286 esac
3288 # Check whether --enable-eptex-synctex was given.
3289 if test "${enable_eptex_synctex+set}" = set; then :
3290 enableval=$enable_eptex_synctex;
3293 test "x$enable_web2c:$enable_eptex" = xyes:yes && {
3294 need_ptexenc=yes
3296 # Check whether --enable-uptex was given.
3297 if test "${enable_uptex+set}" = set; then :
3298 enableval=$enable_uptex;
3300 case $enable_uptex in #(
3301 yes | no) :
3302 ;; #(
3303 *) :
3304 enable_uptex=yes ;;
3305 esac
3307 # Check whether --enable-uptex-synctex was given.
3308 if test "${enable_uptex_synctex+set}" = set; then :
3309 enableval=$enable_uptex_synctex;
3312 test "x$enable_web2c:$enable_uptex" = xyes:yes && {
3313 need_ptexenc=yes
3315 # Check whether --enable-euptex was given.
3316 if test "${enable_euptex+set}" = set; then :
3317 enableval=$enable_euptex;
3319 case $enable_euptex in #(
3320 yes | no) :
3321 ;; #(
3322 *) :
3323 enable_euptex=yes ;;
3324 esac
3326 # Check whether --enable-euptex-synctex was given.
3327 if test "${enable_euptex_synctex+set}" = set; then :
3328 enableval=$enable_euptex_synctex;
3331 test "x$enable_web2c:$enable_euptex" = xyes:yes && {
3332 need_ptexenc=yes
3334 # Check whether --enable-aleph was given.
3335 if test "${enable_aleph+set}" = set; then :
3336 enableval=$enable_aleph;
3338 case $enable_aleph in #(
3339 yes | no) :
3340 ;; #(
3341 *) :
3342 enable_aleph=yes ;;
3343 esac
3344 # Check whether --enable-pdftex was given.
3345 if test "${enable_pdftex+set}" = set; then :
3346 enableval=$enable_pdftex;
3348 case $enable_pdftex in #(
3349 yes | no) :
3350 ;; #(
3351 *) :
3352 enable_pdftex=yes ;;
3353 esac
3355 # Check whether --enable-pdftex-synctex was given.
3356 if test "${enable_pdftex_synctex+set}" = set; then :
3357 enableval=$enable_pdftex_synctex;
3360 test "x$enable_web2c:$enable_pdftex" = xyes:yes && {
3361 need_xpdf=yes
3362 need_libpng=yes
3364 # Check whether --enable-luatex was given.
3365 if test "${enable_luatex+set}" = set; then :
3366 enableval=$enable_luatex;
3368 case $enable_luatex in #(
3369 yes | no) :
3370 ;; #(
3371 *) :
3372 enable_luatex=yes ;;
3373 esac
3375 test "x$enable_web2c:$enable_luatex" = xyes:yes && {
3376 need_poppler=yes
3377 need_mpfr=yes
3378 need_cairo=yes
3379 need_libpng=yes
3380 need_zziplib=yes
3381 need_lua52=yes
3383 # Check whether --enable-luajittex was given.
3384 if test "${enable_luajittex+set}" = set; then :
3385 enableval=$enable_luajittex;
3387 case $enable_luajittex in #(
3388 yes | no) :
3389 ;; #(
3390 *) :
3391 enable_luajittex=yes ;;
3392 esac
3394 test "x$enable_web2c:$enable_luajittex" = xyes:yes && {
3395 need_poppler=yes
3396 need_mpfr=yes
3397 need_cairo=yes
3398 need_libpng=yes
3399 need_zziplib=yes
3400 need_luajit=yes
3402 # Check whether --enable-mp was given.
3403 if test "${enable_mp+set}" = set; then :
3404 enableval=$enable_mp;
3406 case $enable_mp in #(
3407 yes | no) :
3408 ;; #(
3409 *) :
3410 enable_mp=yes ;;
3411 esac
3413 test "x$enable_web2c:$enable_mp" = xyes:yes && {
3414 need_mpfr=yes
3415 need_cairo=yes
3416 need_libpng=yes
3418 # Check whether --enable-pmp was given.
3419 if test "${enable_pmp+set}" = set; then :
3420 enableval=$enable_pmp;
3422 case $enable_pmp in #(
3423 yes | no) :
3424 ;; #(
3425 *) :
3426 enable_pmp=yes ;;
3427 esac
3429 test "x$enable_web2c:$enable_pmp" = xyes:yes && {
3430 need_mpfr=yes
3431 need_cairo=yes
3432 need_libpng=yes
3433 need_ptexenc=yes
3435 # Check whether --enable-upmp was given.
3436 if test "${enable_upmp+set}" = set; then :
3437 enableval=$enable_upmp;
3439 case $enable_upmp in #(
3440 yes | no) :
3441 ;; #(
3442 *) :
3443 enable_upmp=yes ;;
3444 esac
3446 test "x$enable_web2c:$enable_upmp" = xyes:yes && {
3447 need_mpfr=yes
3448 need_cairo=yes
3449 need_libpng=yes
3450 need_ptexenc=yes
3452 # Check whether --enable-xetex was given.
3453 if test "${enable_xetex+set}" = set; then :
3454 enableval=$enable_xetex;
3456 case $enable_xetex in #(
3457 yes | no) :
3458 ;; #(
3459 *) :
3460 enable_xetex=yes ;;
3461 esac
3463 # Check whether --enable-xetex-synctex was given.
3464 if test "${enable_xetex_synctex+set}" = set; then :
3465 enableval=$enable_xetex_synctex;
3468 test "x$enable_web2c:$enable_xetex" = xyes:yes && {
3469 need_poppler=yes
3470 need_libpng=yes
3471 need_freetype2=yes
3472 need_teckit=yes
3473 need_harfbuzz=yes
3475 ## configure options for MF
3476 # Check whether --enable-mf was given.
3477 if test "${enable_mf+set}" = set; then :
3478 enableval=$enable_mf;
3480 # Check whether --enable-mf-nowin was given.
3481 if test "${enable_mf_nowin+set}" = set; then :
3482 enableval=$enable_mf_nowin;
3485 # Check whether --with-mf-x-toolkit was given.
3486 if test "${with_mf_x_toolkit+set}" = set; then :
3487 withval=$with_mf_x_toolkit;
3489 # Check whether --enable-epsfwin was given.
3490 if test "${enable_epsfwin+set}" = set; then :
3491 enableval=$enable_epsfwin;
3493 # Check whether --enable-hp2627win was given.
3494 if test "${enable_hp2627win+set}" = set; then :
3495 enableval=$enable_hp2627win;
3497 # Check whether --enable-mftalkwin was given.
3498 if test "${enable_mftalkwin+set}" = set; then :
3499 enableval=$enable_mftalkwin;
3501 # Check whether --enable-nextwin was given.
3502 if test "${enable_nextwin+set}" = set; then :
3503 enableval=$enable_nextwin;
3505 # Check whether --enable-regiswin was given.
3506 if test "${enable_regiswin+set}" = set; then :
3507 enableval=$enable_regiswin;
3509 # Check whether --enable-suntoolswin was given.
3510 if test "${enable_suntoolswin+set}" = set; then :
3511 enableval=$enable_suntoolswin;
3513 # Check whether --enable-tektronixwin was given.
3514 if test "${enable_tektronixwin+set}" = set; then :
3515 enableval=$enable_tektronixwin;
3517 # Check whether --enable-unitermwin was given.
3518 if test "${enable_unitermwin+set}" = set; then :
3519 enableval=$enable_unitermwin;
3521 ## configure options for WEB programs
3522 # Check whether --enable-web-progs was given.
3523 if test "${enable_web_progs+set}" = set; then :
3524 enableval=$enable_web_progs;
3527 ## configure option for the SyncTeX tool
3528 # Check whether --enable-synctex was given.
3529 if test "${enable_synctex+set}" = set; then :
3530 enableval=$enable_synctex;
3534 ## texk/texlive/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/texlive/
3535 ## configure options and TL libraries required for texlive
3536 # Check whether --enable-texlive was given.
3537 if test "${enable_texlive+set}" = set; then :
3538 enableval=$enable_texlive;
3540 case $enable_texlive in #(
3541 yes|no) :
3542 ;; #(
3543 *) :
3545 enable_texlive=$enable_all_pkgs
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-texlive=$enable_texlive'" >&5
3547 $as_echo "$as_me: Assuming \`--enable-texlive=$enable_texlive'" >&6;}
3548 ac_configure_args="$ac_configure_args '--enable-texlive=$enable_texlive'"
3550 esac
3552 ## texk/texlive/ac/texlive.ac: configure.ac fragment for the TeX Live subdirectory texk/texlive/
3553 ## configure options for texlive
3554 # Check whether --enable-linked-scripts was given.
3555 if test "${enable_linked_scripts+set}" = set; then :
3556 enableval=$enable_linked_scripts;
3560 ## libs/zziplib/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/zziplib/
3561 ## configure options and TL libraries required for zziplib
3563 # Check whether --with-system-zziplib was given.
3564 if test "${with_system_zziplib+set}" = set; then :
3565 withval=$with_system_zziplib;
3567 if test "x$with_system_zziplib" = x; then
3568 if test -f $srcdir/../libs/zziplib/configure; then
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`zziplib' headers and library from TL tree" >&5
3570 $as_echo "$as_me: Assuming \`zziplib' headers and library from TL tree" >&6;}
3571 with_system_zziplib=no
3572 else
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`zziplib' headers and library" >&5
3574 $as_echo "$as_me: Assuming installed \`zziplib' headers and library" >&6;}
3575 with_system_zziplib=yes
3577 ac_configure_args="$ac_configure_args '--with-system-zziplib=$with_system_zziplib'"
3579 if test "x$with_system_zziplib" = xyes; then
3580 if test "x$with_system_zlib" = x; then
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \`zlib' headers and library" >&5
3582 $as_echo "$as_me: -> installed \`zlib' headers and library" >&6;}
3583 with_system_zlib=yes
3584 ac_configure_args="$ac_configure_args '--with-system-zlib'"
3585 elif test "x$with_system_zlib" != xyes; then
3586 as_fn_error $? "Sorry, \`--with-system-zziplib' requires \`--with-system-zlib'" "$LINENO" 5
3590 test "x$need_zziplib" = xyes && {
3591 need_zlib=yes
3594 ## libs/poppler/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/poppler/
3595 ## configure options and TL libraries required for poppler
3597 # Check whether --with-system-poppler was given.
3598 if test "${with_system_poppler+set}" = set; then :
3599 withval=$with_system_poppler;
3601 if test "x$with_system_poppler" = x; then
3602 if test -f $srcdir/../libs/poppler/configure; then
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`poppler' headers and library from TL tree" >&5
3604 $as_echo "$as_me: Assuming \`poppler' headers and library from TL tree" >&6;}
3605 with_system_poppler=no
3606 else
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`poppler' headers and library" >&5
3608 $as_echo "$as_me: Assuming installed \`poppler' headers and library" >&6;}
3609 with_system_poppler=yes
3611 ac_configure_args="$ac_configure_args '--with-system-poppler=$with_system_poppler'"
3613 if test "x$with_system_poppler" = xyes; then
3614 if test "x$with_system_zlib" = x; then
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \`zlib' headers and library" >&5
3616 $as_echo "$as_me: -> installed \`zlib' headers and library" >&6;}
3617 with_system_zlib=yes
3618 ac_configure_args="$ac_configure_args '--with-system-zlib'"
3619 elif test "x$with_system_zlib" != xyes; then
3620 as_fn_error $? "Sorry, \`--with-system-poppler' requires \`--with-system-zlib'" "$LINENO" 5
3624 test "x$need_poppler" = xyes && {
3625 need_zlib=yes
3628 ## libs/mpfr/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/mpfr/
3629 ## configure options and TL libraries required for mpfr
3631 # Check whether --with-system-mpfr was given.
3632 if test "${with_system_mpfr+set}" = set; then :
3633 withval=$with_system_mpfr;
3636 # Check whether --with-mpfr-includes was given.
3637 if test "${with_mpfr_includes+set}" = set; then :
3638 withval=$with_mpfr_includes;
3641 # Check whether --with-mpfr-libdir was given.
3642 if test "${with_mpfr_libdir+set}" = set; then :
3643 withval=$with_mpfr_libdir;
3645 if test "x$with_system_mpfr" = x; then
3646 if test -f $srcdir/../libs/mpfr/configure; then
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`mpfr' headers and library from TL tree" >&5
3648 $as_echo "$as_me: Assuming \`mpfr' headers and library from TL tree" >&6;}
3649 with_system_mpfr=no
3650 else
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`mpfr' headers and library" >&5
3652 $as_echo "$as_me: Assuming installed \`mpfr' headers and library" >&6;}
3653 with_system_mpfr=yes
3655 ac_configure_args="$ac_configure_args '--with-system-mpfr=$with_system_mpfr'"
3657 if test "x$with_system_mpfr" = xyes; then
3658 if test "x$with_system_gmp" = x; then
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \`gmp' headers and library" >&5
3660 $as_echo "$as_me: -> installed \`gmp' headers and library" >&6;}
3661 with_system_gmp=yes
3662 ac_configure_args="$ac_configure_args '--with-system-gmp'"
3663 elif test "x$with_system_gmp" != xyes; then
3664 as_fn_error $? "Sorry, \`--with-system-mpfr' requires \`--with-system-gmp'" "$LINENO" 5
3668 test "x$need_mpfr" = xyes && {
3669 need_gmp=yes
3672 ## libs/gmp/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/gmp/
3673 ## configure options and TL libraries required for gmp
3675 # Check whether --with-system-gmp was given.
3676 if test "${with_system_gmp+set}" = set; then :
3677 withval=$with_system_gmp;
3680 # Check whether --with-gmp-includes was given.
3681 if test "${with_gmp_includes+set}" = set; then :
3682 withval=$with_gmp_includes;
3685 # Check whether --with-gmp-libdir was given.
3686 if test "${with_gmp_libdir+set}" = set; then :
3687 withval=$with_gmp_libdir;
3689 if test "x$with_system_gmp" = x; then
3690 if test -f $srcdir/../libs/gmp/configure; then
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`gmp' headers and library from TL tree" >&5
3692 $as_echo "$as_me: Assuming \`gmp' headers and library from TL tree" >&6;}
3693 with_system_gmp=no
3694 else
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`gmp' headers and library" >&5
3696 $as_echo "$as_me: Assuming installed \`gmp' headers and library" >&6;}
3697 with_system_gmp=yes
3699 ac_configure_args="$ac_configure_args '--with-system-gmp=$with_system_gmp'"
3702 ## libs/cairo/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/cairo/
3703 ## configure options and TL libraries required for cairo
3705 # Check whether --with-system-cairo was given.
3706 if test "${with_system_cairo+set}" = set; then :
3707 withval=$with_system_cairo;
3709 if test "x$with_system_cairo" = x; then
3710 if test -f $srcdir/../libs/cairo/configure; then
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`cairo' headers and library from TL tree" >&5
3712 $as_echo "$as_me: Assuming \`cairo' headers and library from TL tree" >&6;}
3713 with_system_cairo=no
3714 else
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`cairo' headers and library" >&5
3716 $as_echo "$as_me: Assuming installed \`cairo' headers and library" >&6;}
3717 with_system_cairo=yes
3719 ac_configure_args="$ac_configure_args '--with-system-cairo=$with_system_cairo'"
3721 if test "x$with_system_cairo" = xyes; then
3722 if test "x$with_system_pixman" = x; then
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \`pixman' headers and library" >&5
3724 $as_echo "$as_me: -> installed \`pixman' headers and library" >&6;}
3725 with_system_pixman=yes
3726 ac_configure_args="$ac_configure_args '--with-system-pixman'"
3727 elif test "x$with_system_pixman" != xyes; then
3728 as_fn_error $? "Sorry, \`--with-system-cairo' requires \`--with-system-pixman'" "$LINENO" 5
3732 test "x$need_cairo" = xyes && {
3733 need_pixman=yes
3736 ## libs/pixman/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/pixman/
3737 ## configure options and TL libraries required for pixman
3739 # Check whether --with-system-pixman was given.
3740 if test "${with_system_pixman+set}" = set; then :
3741 withval=$with_system_pixman;
3743 if test "x$with_system_pixman" = x; then
3744 if test -f $srcdir/../libs/pixman/configure; then
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`pixman' headers and library from TL tree" >&5
3746 $as_echo "$as_me: Assuming \`pixman' headers and library from TL tree" >&6;}
3747 with_system_pixman=no
3748 else
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`pixman' headers and library" >&5
3750 $as_echo "$as_me: Assuming installed \`pixman' headers and library" >&6;}
3751 with_system_pixman=yes
3753 ac_configure_args="$ac_configure_args '--with-system-pixman=$with_system_pixman'"
3756 ## libs/libpng/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/libpng/
3757 ## configure options and TL libraries required for libpng
3759 # Check whether --with-system-libpng was given.
3760 if test "${with_system_libpng+set}" = set; then :
3761 withval=$with_system_libpng;
3763 if test "x$with_system_libpng" = x; then
3764 if test -f $srcdir/../libs/libpng/configure; then
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`libpng' headers and library from TL tree" >&5
3766 $as_echo "$as_me: Assuming \`libpng' headers and library from TL tree" >&6;}
3767 with_system_libpng=no
3768 else
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`libpng' headers and library" >&5
3770 $as_echo "$as_me: Assuming installed \`libpng' headers and library" >&6;}
3771 with_system_libpng=yes
3773 ac_configure_args="$ac_configure_args '--with-system-libpng=$with_system_libpng'"
3775 if test "x$with_system_libpng" = xyes; then
3776 if test "x$with_system_zlib" = x; then
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: -> installed \`zlib' headers and library" >&5
3778 $as_echo "$as_me: -> installed \`zlib' headers and library" >&6;}
3779 with_system_zlib=yes
3780 ac_configure_args="$ac_configure_args '--with-system-zlib'"
3781 elif test "x$with_system_zlib" != xyes; then
3782 as_fn_error $? "Sorry, \`--with-system-libpng' requires \`--with-system-zlib'" "$LINENO" 5
3786 test "x$need_libpng" = xyes && {
3787 need_zlib=yes
3790 ## libs/luajit/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/luajit/
3791 ## configure options and TL libraries required for luajit
3793 ## libs/lua52/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/lua52/
3794 ## configure options and TL libraries required for lua52
3796 ## libs/zlib/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/zlib/
3797 ## configure options and TL libraries required for zlib
3799 # Check whether --with-system-zlib was given.
3800 if test "${with_system_zlib+set}" = set; then :
3801 withval=$with_system_zlib;
3804 # Check whether --with-zlib-includes was given.
3805 if test "${with_zlib_includes+set}" = set; then :
3806 withval=$with_zlib_includes;
3809 # Check whether --with-zlib-libdir was given.
3810 if test "${with_zlib_libdir+set}" = set; then :
3811 withval=$with_zlib_libdir;
3813 if test "x$with_system_zlib" = x; then
3814 if test -f $srcdir/../libs/zlib/configure; then
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`zlib' headers and library from TL tree" >&5
3816 $as_echo "$as_me: Assuming \`zlib' headers and library from TL tree" >&6;}
3817 with_system_zlib=no
3818 else
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`zlib' headers and library" >&5
3820 $as_echo "$as_me: Assuming installed \`zlib' headers and library" >&6;}
3821 with_system_zlib=yes
3823 ac_configure_args="$ac_configure_args '--with-system-zlib=$with_system_zlib'"
3827 ## texk/kpathsea/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/kpathsea/
3828 ## configure options and TL libraries required for kpathsea
3830 # Check whether --with-system-kpathsea was given.
3831 if test "${with_system_kpathsea+set}" = set; then :
3832 withval=$with_system_kpathsea;
3835 # Check whether --with-kpathsea-includes was given.
3836 if test "${with_kpathsea_includes+set}" = set; then :
3837 withval=$with_kpathsea_includes;
3840 # Check whether --with-kpathsea-libdir was given.
3841 if test "${with_kpathsea_libdir+set}" = set; then :
3842 withval=$with_kpathsea_libdir;
3844 if test "x$with_system_kpathsea" = x; then
3845 if test -f $srcdir/../texk/kpathsea/configure; then
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`kpathsea' headers and library from TL tree" >&5
3847 $as_echo "$as_me: Assuming \`kpathsea' headers and library from TL tree" >&6;}
3848 with_system_kpathsea=no
3849 else
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`kpathsea' headers and library" >&5
3851 $as_echo "$as_me: Assuming installed \`kpathsea' headers and library" >&6;}
3852 with_system_kpathsea=yes
3854 ac_configure_args="$ac_configure_args '--with-system-kpathsea=$with_system_kpathsea'"
3857 ## texk/kpathsea/ac/mktex.ac: configure.ac fragment for the TeX Live
3858 ## subdirectory texk/kpathsea.
3859 ## configure defaults for mktexfmt & Co.
3860 # Check whether --enable-mktexmf-default was given.
3861 if test "${enable_mktexmf_default+set}" = set; then :
3862 enableval=$enable_mktexmf_default;
3864 # Check whether --enable-mktexpk-default was given.
3865 if test "${enable_mktexpk_default+set}" = set; then :
3866 enableval=$enable_mktexpk_default;
3868 # Check whether --enable-mktextfm-default was given.
3869 if test "${enable_mktextfm_default+set}" = set; then :
3870 enableval=$enable_mktextfm_default;
3872 # Check whether --enable-mkocp-default was given.
3873 if test "${enable_mkocp_default+set}" = set; then :
3874 enableval=$enable_mkocp_default;
3876 # Check whether --enable-mkofm-default was given.
3877 if test "${enable_mkofm_default+set}" = set; then :
3878 enableval=$enable_mkofm_default;
3880 # Check whether --enable-mktexfmt-default was given.
3881 if test "${enable_mktexfmt_default+set}" = set; then :
3882 enableval=$enable_mktexfmt_default;
3884 # Check whether --enable-mktextex-default was given.
3885 if test "${enable_mktextex_default+set}" = set; then :
3886 enableval=$enable_mktextex_default;
3892 am__api_version='1.15'
3894 # Find a good install program. We prefer a C program (faster),
3895 # so one script is as good as another. But avoid the broken or
3896 # incompatible versions:
3897 # SysV /etc/install, /usr/sbin/install
3898 # SunOS /usr/etc/install
3899 # IRIX /sbin/install
3900 # AIX /bin/install
3901 # AmigaOS /C/install, which installs bootblocks on floppy discs
3902 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3903 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3904 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3905 # OS/2's system install, which has a completely different semantic
3906 # ./install, which can be erroneously created by make from ./install.sh.
3907 # Reject install programs that cannot install multiple files.
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3909 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3910 if test -z "$INSTALL"; then
3911 if ${ac_cv_path_install+:} false; then :
3912 $as_echo_n "(cached) " >&6
3913 else
3914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3915 for as_dir in $PATH
3917 IFS=$as_save_IFS
3918 test -z "$as_dir" && as_dir=.
3919 # Account for people who put trailing slashes in PATH elements.
3920 case $as_dir/ in #((
3921 ./ | .// | /[cC]/* | \
3922 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3923 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3924 /usr/ucb/* ) ;;
3926 # OSF1 and SCO ODT 3.0 have their own names for install.
3927 # Don't use installbsd from OSF since it installs stuff as root
3928 # by default.
3929 for ac_prog in ginstall scoinst install; do
3930 for ac_exec_ext in '' $ac_executable_extensions; do
3931 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3932 if test $ac_prog = install &&
3933 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3934 # AIX install. It has an incompatible calling convention.
3936 elif test $ac_prog = install &&
3937 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3938 # program-specific install script used by HP pwplus--don't use.
3940 else
3941 rm -rf conftest.one conftest.two conftest.dir
3942 echo one > conftest.one
3943 echo two > conftest.two
3944 mkdir conftest.dir
3945 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3946 test -s conftest.one && test -s conftest.two &&
3947 test -s conftest.dir/conftest.one &&
3948 test -s conftest.dir/conftest.two
3949 then
3950 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3951 break 3
3955 done
3956 done
3958 esac
3960 done
3961 IFS=$as_save_IFS
3963 rm -rf conftest.one conftest.two conftest.dir
3966 if test "${ac_cv_path_install+set}" = set; then
3967 INSTALL=$ac_cv_path_install
3968 else
3969 # As a last resort, use the slow shell script. Don't cache a
3970 # value for INSTALL within a source directory, because that will
3971 # break other packages using the cache if that directory is
3972 # removed, or if the value is a relative name.
3973 INSTALL=$ac_install_sh
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3977 $as_echo "$INSTALL" >&6; }
3979 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3980 # It thinks the first close brace ends the variable substitution.
3981 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3983 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3985 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3988 $as_echo_n "checking whether build environment is sane... " >&6; }
3989 # Reject unsafe characters in $srcdir or the absolute working directory
3990 # name. Accept space and tab only in the latter.
3991 am_lf='
3993 case `pwd` in
3994 *[\\\"\#\$\&\'\`$am_lf]*)
3995 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3996 esac
3997 case $srcdir in
3998 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3999 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
4000 esac
4002 # Do 'set' in a subshell so we don't clobber the current shell's
4003 # arguments. Must try -L first in case configure is actually a
4004 # symlink; some systems play weird games with the mod time of symlinks
4005 # (eg FreeBSD returns the mod time of the symlink's containing
4006 # directory).
4007 if (
4008 am_has_slept=no
4009 for am_try in 1 2; do
4010 echo "timestamp, slept: $am_has_slept" > conftest.file
4011 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4012 if test "$*" = "X"; then
4013 # -L didn't work.
4014 set X `ls -t "$srcdir/configure" conftest.file`
4016 if test "$*" != "X $srcdir/configure conftest.file" \
4017 && test "$*" != "X conftest.file $srcdir/configure"; then
4019 # If neither matched, then we have a broken ls. This can happen
4020 # if, for instance, CONFIG_SHELL is bash and it inherits a
4021 # broken ls alias from the environment. This has actually
4022 # happened. Such a system could not be considered "sane".
4023 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
4024 alias in your environment" "$LINENO" 5
4026 if test "$2" = conftest.file || test $am_try -eq 2; then
4027 break
4029 # Just in case.
4030 sleep 1
4031 am_has_slept=yes
4032 done
4033 test "$2" = conftest.file
4035 then
4036 # Ok.
4038 else
4039 as_fn_error $? "newly created file is older than distributed files!
4040 Check your system clock" "$LINENO" 5
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4043 $as_echo "yes" >&6; }
4044 # If we didn't sleep, we still need to ensure time stamps of config.status and
4045 # generated files are strictly newer.
4046 am_sleep_pid=
4047 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
4048 ( sleep 1 ) &
4049 am_sleep_pid=$!
4052 rm -f conftest.file
4054 test "$program_prefix" != NONE &&
4055 program_transform_name="s&^&$program_prefix&;$program_transform_name"
4056 # Use a double $ so make ignores it.
4057 test "$program_suffix" != NONE &&
4058 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
4059 # Double any \ or $.
4060 # By default was `s,x,x', remove it if useless.
4061 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
4062 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
4064 if test x"${MISSING+set}" != xset; then
4065 case $am_aux_dir in
4066 *\ * | *\ *)
4067 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
4069 MISSING="\${SHELL} $am_aux_dir/missing" ;;
4070 esac
4072 # Use eval to expand $SHELL
4073 if eval "$MISSING --is-lightweight"; then
4074 am_missing_run="$MISSING "
4075 else
4076 am_missing_run=
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
4078 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
4081 if test x"${install_sh+set}" != xset; then
4082 case $am_aux_dir in
4083 *\ * | *\ *)
4084 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
4086 install_sh="\${SHELL} $am_aux_dir/install-sh"
4087 esac
4090 # Installed binaries are usually stripped using 'strip' when the user
4091 # run "make install-strip". However 'strip' might not be the right
4092 # tool to use in cross-compilation environments, therefore Automake
4093 # will honor the 'STRIP' environment variable to overrule this program.
4094 if test "$cross_compiling" != no; then
4095 if test -n "$ac_tool_prefix"; then
4096 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4097 set dummy ${ac_tool_prefix}strip; ac_word=$2
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4099 $as_echo_n "checking for $ac_word... " >&6; }
4100 if ${ac_cv_prog_STRIP+:} false; then :
4101 $as_echo_n "(cached) " >&6
4102 else
4103 if test -n "$STRIP"; then
4104 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4105 else
4106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4107 for as_dir in $PATH
4109 IFS=$as_save_IFS
4110 test -z "$as_dir" && as_dir=.
4111 for ac_exec_ext in '' $ac_executable_extensions; do
4112 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4113 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4115 break 2
4117 done
4118 done
4119 IFS=$as_save_IFS
4123 STRIP=$ac_cv_prog_STRIP
4124 if test -n "$STRIP"; then
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4126 $as_echo "$STRIP" >&6; }
4127 else
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4129 $as_echo "no" >&6; }
4134 if test -z "$ac_cv_prog_STRIP"; then
4135 ac_ct_STRIP=$STRIP
4136 # Extract the first word of "strip", so it can be a program name with args.
4137 set dummy strip; ac_word=$2
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4139 $as_echo_n "checking for $ac_word... " >&6; }
4140 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
4141 $as_echo_n "(cached) " >&6
4142 else
4143 if test -n "$ac_ct_STRIP"; then
4144 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4145 else
4146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4147 for as_dir in $PATH
4149 IFS=$as_save_IFS
4150 test -z "$as_dir" && as_dir=.
4151 for ac_exec_ext in '' $ac_executable_extensions; do
4152 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4153 ac_cv_prog_ac_ct_STRIP="strip"
4154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4155 break 2
4157 done
4158 done
4159 IFS=$as_save_IFS
4163 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4164 if test -n "$ac_ct_STRIP"; then
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4166 $as_echo "$ac_ct_STRIP" >&6; }
4167 else
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4169 $as_echo "no" >&6; }
4172 if test "x$ac_ct_STRIP" = x; then
4173 STRIP=":"
4174 else
4175 case $cross_compiling:$ac_tool_warned in
4176 yes:)
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4178 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4179 ac_tool_warned=yes ;;
4180 esac
4181 STRIP=$ac_ct_STRIP
4183 else
4184 STRIP="$ac_cv_prog_STRIP"
4188 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4191 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4192 if test -z "$MKDIR_P"; then
4193 if ${ac_cv_path_mkdir+:} false; then :
4194 $as_echo_n "(cached) " >&6
4195 else
4196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4197 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
4199 IFS=$as_save_IFS
4200 test -z "$as_dir" && as_dir=.
4201 for ac_prog in mkdir gmkdir; do
4202 for ac_exec_ext in '' $ac_executable_extensions; do
4203 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
4204 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4205 'mkdir (GNU coreutils) '* | \
4206 'mkdir (coreutils) '* | \
4207 'mkdir (fileutils) '4.1*)
4208 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
4209 break 3;;
4210 esac
4211 done
4212 done
4213 done
4214 IFS=$as_save_IFS
4218 test -d ./--version && rmdir ./--version
4219 if test "${ac_cv_path_mkdir+set}" = set; then
4220 MKDIR_P="$ac_cv_path_mkdir -p"
4221 else
4222 # As a last resort, use the slow shell script. Don't cache a
4223 # value for MKDIR_P within a source directory, because that will
4224 # break other packages using the cache if that directory is
4225 # removed, or if the value is a relative name.
4226 MKDIR_P="$ac_install_sh -d"
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4230 $as_echo "$MKDIR_P" >&6; }
4232 for ac_prog in gawk mawk nawk awk
4234 # Extract the first word of "$ac_prog", so it can be a program name with args.
4235 set dummy $ac_prog; ac_word=$2
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4237 $as_echo_n "checking for $ac_word... " >&6; }
4238 if ${ac_cv_prog_AWK+:} false; then :
4239 $as_echo_n "(cached) " >&6
4240 else
4241 if test -n "$AWK"; then
4242 ac_cv_prog_AWK="$AWK" # Let the user override the test.
4243 else
4244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4245 for as_dir in $PATH
4247 IFS=$as_save_IFS
4248 test -z "$as_dir" && as_dir=.
4249 for ac_exec_ext in '' $ac_executable_extensions; do
4250 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4251 ac_cv_prog_AWK="$ac_prog"
4252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4253 break 2
4255 done
4256 done
4257 IFS=$as_save_IFS
4261 AWK=$ac_cv_prog_AWK
4262 if test -n "$AWK"; then
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4264 $as_echo "$AWK" >&6; }
4265 else
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4267 $as_echo "no" >&6; }
4271 test -n "$AWK" && break
4272 done
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4275 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4276 set x ${MAKE-make}
4277 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4278 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4279 $as_echo_n "(cached) " >&6
4280 else
4281 cat >conftest.make <<\_ACEOF
4282 SHELL = /bin/sh
4283 all:
4284 @echo '@@@%%%=$(MAKE)=@@@%%%'
4285 _ACEOF
4286 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4287 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4288 *@@@%%%=?*=@@@%%%*)
4289 eval ac_cv_prog_make_${ac_make}_set=yes;;
4291 eval ac_cv_prog_make_${ac_make}_set=no;;
4292 esac
4293 rm -f conftest.make
4295 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4297 $as_echo "yes" >&6; }
4298 SET_MAKE=
4299 else
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4301 $as_echo "no" >&6; }
4302 SET_MAKE="MAKE=${MAKE-make}"
4305 rm -rf .tst 2>/dev/null
4306 mkdir .tst 2>/dev/null
4307 if test -d .tst; then
4308 am__leading_dot=.
4309 else
4310 am__leading_dot=_
4312 rmdir .tst 2>/dev/null
4314 DEPDIR="${am__leading_dot}deps"
4316 ac_config_commands="$ac_config_commands depfiles"
4319 am_make=${MAKE-make}
4320 cat > confinc << 'END'
4321 am__doit:
4322 @echo this is the am__doit target
4323 .PHONY: am__doit
4325 # If we don't find an include directive, just comment out the code.
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4327 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4328 am__include="#"
4329 am__quote=
4330 _am_result=none
4331 # First try GNU make style include.
4332 echo "include confinc" > confmf
4333 # Ignore all kinds of additional output from 'make'.
4334 case `$am_make -s -f confmf 2> /dev/null` in #(
4335 *the\ am__doit\ target*)
4336 am__include=include
4337 am__quote=
4338 _am_result=GNU
4340 esac
4341 # Now try BSD make style include.
4342 if test "$am__include" = "#"; then
4343 echo '.include "confinc"' > confmf
4344 case `$am_make -s -f confmf 2> /dev/null` in #(
4345 *the\ am__doit\ target*)
4346 am__include=.include
4347 am__quote="\""
4348 _am_result=BSD
4350 esac
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4355 $as_echo "$_am_result" >&6; }
4356 rm -f confinc confmf
4358 # Check whether --enable-dependency-tracking was given.
4359 if test "${enable_dependency_tracking+set}" = set; then :
4360 enableval=$enable_dependency_tracking;
4363 if test "x$enable_dependency_tracking" != xno; then
4364 am_depcomp="$ac_aux_dir/depcomp"
4365 AMDEPBACKSLASH='\'
4366 am__nodep='_no'
4368 if test "x$enable_dependency_tracking" != xno; then
4369 AMDEP_TRUE=
4370 AMDEP_FALSE='#'
4371 else
4372 AMDEP_TRUE='#'
4373 AMDEP_FALSE=
4377 # Check whether --enable-silent-rules was given.
4378 if test "${enable_silent_rules+set}" = set; then :
4379 enableval=$enable_silent_rules;
4382 case $enable_silent_rules in # (((
4383 yes) AM_DEFAULT_VERBOSITY=0;;
4384 no) AM_DEFAULT_VERBOSITY=1;;
4385 *) AM_DEFAULT_VERBOSITY=1;;
4386 esac
4387 am_make=${MAKE-make}
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4389 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4390 if ${am_cv_make_support_nested_variables+:} false; then :
4391 $as_echo_n "(cached) " >&6
4392 else
4393 if $as_echo 'TRUE=$(BAR$(V))
4394 BAR0=false
4395 BAR1=true
4397 am__doit:
4398 @$(TRUE)
4399 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4400 am_cv_make_support_nested_variables=yes
4401 else
4402 am_cv_make_support_nested_variables=no
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4406 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4407 if test $am_cv_make_support_nested_variables = yes; then
4408 AM_V='$(V)'
4409 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4410 else
4411 AM_V=$AM_DEFAULT_VERBOSITY
4412 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4414 AM_BACKSLASH='\'
4416 # Check whether --enable-compiler-warnings was given.
4417 if test "${enable_compiler_warnings+set}" = set; then :
4418 enableval=$enable_compiler_warnings;
4420 case $enable_compiler_warnings in #(
4421 no | min | yes | max | all) :
4422 ;; #(
4423 *) :
4424 if test "x$enable_maintainer_mode" = xyes; then :
4425 enable_compiler_warnings=yes
4426 else
4427 enable_compiler_warnings=min
4428 fi ;;
4429 esac
4432 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4433 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4434 # is not polluted with repeated "-I."
4435 am__isrc=' -I$(srcdir)'
4436 # test to see if srcdir already configured
4437 if test -f $srcdir/config.status; then
4438 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4442 # test whether we have cygpath
4443 if test -z "$CYGPATH_W"; then
4444 if (cygpath --version) >/dev/null 2>/dev/null; then
4445 CYGPATH_W='cygpath -w'
4446 else
4447 CYGPATH_W=echo
4452 # Define the identity of the package.
4453 PACKAGE='tex-live-libs'
4454 VERSION='2015/dev'
4457 cat >>confdefs.h <<_ACEOF
4458 #define PACKAGE "$PACKAGE"
4459 _ACEOF
4462 cat >>confdefs.h <<_ACEOF
4463 #define VERSION "$VERSION"
4464 _ACEOF
4466 # Some tools Automake needs.
4468 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4471 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4474 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4477 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4480 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4482 # For better backward compatibility. To be removed once Automake 1.9.x
4483 # dies out for good. For more background, see:
4484 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4485 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4486 mkdir_p='$(MKDIR_P)'
4488 # We need awk for the "check" target (and possibly the TAP driver). The
4489 # system "awk" is bad on some platforms.
4490 # Always define AMTAR for backward compatibility. Yes, it's still used
4491 # in the wild :-( We should find a proper way to deprecate it ...
4492 AMTAR='$${TAR-tar}'
4495 # We'll loop over all known methods to create a tar archive until one works.
4496 _am_tools='gnutar pax cpio none'
4498 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
4504 depcc="$CC" am_compiler_list=
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4507 $as_echo_n "checking dependency style of $depcc... " >&6; }
4508 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4509 $as_echo_n "(cached) " >&6
4510 else
4511 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4512 # We make a subdir and do the tests there. Otherwise we can end up
4513 # making bogus files that we don't know about and never remove. For
4514 # instance it was reported that on HP-UX the gcc test will end up
4515 # making a dummy file named 'D' -- because '-MD' means "put the output
4516 # in D".
4517 rm -rf conftest.dir
4518 mkdir conftest.dir
4519 # Copy depcomp to subdir because otherwise we won't find it if we're
4520 # using a relative directory.
4521 cp "$am_depcomp" conftest.dir
4522 cd conftest.dir
4523 # We will build objects and dependencies in a subdirectory because
4524 # it helps to detect inapplicable dependency modes. For instance
4525 # both Tru64's cc and ICC support -MD to output dependencies as a
4526 # side effect of compilation, but ICC will put the dependencies in
4527 # the current directory while Tru64 will put them in the object
4528 # directory.
4529 mkdir sub
4531 am_cv_CC_dependencies_compiler_type=none
4532 if test "$am_compiler_list" = ""; then
4533 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4535 am__universal=false
4536 case " $depcc " in #(
4537 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4538 esac
4540 for depmode in $am_compiler_list; do
4541 # Setup a source with many dependencies, because some compilers
4542 # like to wrap large dependency lists on column 80 (with \), and
4543 # we should not choose a depcomp mode which is confused by this.
4545 # We need to recreate these files for each test, as the compiler may
4546 # overwrite some of them when testing with obscure command lines.
4547 # This happens at least with the AIX C compiler.
4548 : > sub/conftest.c
4549 for i in 1 2 3 4 5 6; do
4550 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4551 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4552 # Solaris 10 /bin/sh.
4553 echo '/* dummy */' > sub/conftst$i.h
4554 done
4555 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4557 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4558 # mode. It turns out that the SunPro C++ compiler does not properly
4559 # handle '-M -o', and we need to detect this. Also, some Intel
4560 # versions had trouble with output in subdirs.
4561 am__obj=sub/conftest.${OBJEXT-o}
4562 am__minus_obj="-o $am__obj"
4563 case $depmode in
4564 gcc)
4565 # This depmode causes a compiler race in universal mode.
4566 test "$am__universal" = false || continue
4568 nosideeffect)
4569 # After this tag, mechanisms are not by side-effect, so they'll
4570 # only be used when explicitly requested.
4571 if test "x$enable_dependency_tracking" = xyes; then
4572 continue
4573 else
4574 break
4577 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4578 # This compiler won't grok '-c -o', but also, the minuso test has
4579 # not run yet. These depmodes are late enough in the game, and
4580 # so weak that their functioning should not be impacted.
4581 am__obj=conftest.${OBJEXT-o}
4582 am__minus_obj=
4584 none) break ;;
4585 esac
4586 if depmode=$depmode \
4587 source=sub/conftest.c object=$am__obj \
4588 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4589 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4590 >/dev/null 2>conftest.err &&
4591 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4592 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4593 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4594 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4595 # icc doesn't choke on unknown options, it will just issue warnings
4596 # or remarks (even with -Werror). So we grep stderr for any message
4597 # that says an option was ignored or not supported.
4598 # When given -MP, icc 7.0 and 7.1 complain thusly:
4599 # icc: Command line warning: ignoring option '-M'; no argument required
4600 # The diagnosis changed in icc 8.0:
4601 # icc: Command line remark: option '-MP' not supported
4602 if (grep 'ignoring option' conftest.err ||
4603 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4604 am_cv_CC_dependencies_compiler_type=$depmode
4605 break
4608 done
4610 cd ..
4611 rm -rf conftest.dir
4612 else
4613 am_cv_CC_dependencies_compiler_type=none
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4618 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4619 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4622 test "x$enable_dependency_tracking" != xno \
4623 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4624 am__fastdepCC_TRUE=
4625 am__fastdepCC_FALSE='#'
4626 else
4627 am__fastdepCC_TRUE='#'
4628 am__fastdepCC_FALSE=
4633 # POSIX will say in a future version that running "rm -f" with no argument
4634 # is OK; and we want to be able to make that assumption in our Makefile
4635 # recipes. So use an aggressive probe to check that the usage we want is
4636 # actually supported "in the wild" to an acceptable degree.
4637 # See automake bug#10828.
4638 # To make any issue more visible, cause the running configure to be aborted
4639 # by default if the 'rm' program in use doesn't match our expectations; the
4640 # user can still override this though.
4641 if rm -f && rm -fr && rm -rf; then : OK; else
4642 cat >&2 <<'END'
4643 Oops!
4645 Your 'rm' program seems unable to run without file operands specified
4646 on the command line, even when the '-f' option is present. This is contrary
4647 to the behaviour of most rm programs out there, and not conforming with
4648 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4650 Please tell bug-automake@gnu.org about your system, including the value
4651 of your $PATH and any error possibly output before this message. This
4652 can help us improve future automake versions.
4655 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
4656 echo 'Configuration will proceed anyway, since you have set the' >&2
4657 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4658 echo >&2
4659 else
4660 cat >&2 <<'END'
4661 Aborting the configuration process, to ensure you take notice of the issue.
4663 You can download and install GNU coreutils to get an 'rm' implementation
4664 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4666 If you want to complete the configuration process using your problematic
4667 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4668 to "yes", and re-run configure.
4671 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
4676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4677 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4678 # Check whether --enable-maintainer-mode was given.
4679 if test "${enable_maintainer_mode+set}" = set; then :
4680 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4681 else
4682 USE_MAINTAINER_MODE=no
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4686 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4687 if test $USE_MAINTAINER_MODE = yes; then
4688 MAINTAINER_MODE_TRUE=
4689 MAINTAINER_MODE_FALSE='#'
4690 else
4691 MAINTAINER_MODE_TRUE='#'
4692 MAINTAINER_MODE_FALSE=
4695 MAINT=$MAINTAINER_MODE_TRUE
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5
4699 $as_echo_n "checking whether the compiler accepts prototypes... " >&6; }
4700 if ${kb_cv_c_prototypes+:} false; then :
4701 $as_echo_n "(cached) " >&6
4702 else
4703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4704 /* end confdefs.h. */
4705 #include <stdarg.h>
4707 main ()
4709 extern void foo(int i,...);
4711 return 0;
4713 _ACEOF
4714 if ac_fn_c_try_link "$LINENO"; then :
4715 kb_cv_c_prototypes=yes
4716 else
4717 kb_cv_c_prototypes=no
4719 rm -f core conftest.err conftest.$ac_objext \
4720 conftest$ac_exeext conftest.$ac_ext
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5
4723 $as_echo "$kb_cv_c_prototypes" >&6; }
4724 if test "x$kb_cv_c_prototypes" = xno; then
4725 as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
4728 $as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
4729 if ${kpse_cv_warning_cflags+:} false; then :
4730 $as_echo_n "(cached) " >&6
4731 else
4732 if test "x$GCC" = xyes; then
4733 kpse_cv_warning_cflags=
4734 if test "x$enable_compiler_warnings" != xno; then
4735 kpse_cv_warning_cflags="-Wimplicit -Wreturn-type"
4736 case `$CC -dumpversion` in #(
4737 3.4.* | 4.*) :
4738 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #(
4739 *) :
4741 esac
4742 case `$CC -dumpversion` in #(
4743 3.[234].* | 4.*) :
4744 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #(
4745 *) :
4747 esac
4748 if test "x$enable_compiler_warnings" != xmin; then
4749 kpse_cv_warning_cflags="-Wall -Wunused $kpse_cv_warning_cflags"
4750 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
4751 if test "x$enable_compiler_warnings" != xyes; then
4752 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
4753 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings"
4754 case `$CC -dumpversion` in #(
4755 3.4.* | 4.*) :
4756 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;; #(
4757 *) :
4759 esac
4760 if test "x$enable_compiler_warnings" != xmax; then
4761 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wshadow"
4766 elif test "x$enable_compiler_warnings" = xno; then
4767 kpse_cv_warning_cflags=
4768 else
4769 kpse_cv_warning_cflags= # FIXME: warning flags for non-GNU C compilers
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5
4773 $as_echo "$kpse_cv_warning_cflags" >&6; }
4774 WARNING_CFLAGS=$kpse_cv_warning_cflags
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for generic libraries to build" >&5
4788 $as_echo_n "checking for generic libraries to build... " >&6; }
4789 MAKE_SUBDIRS=
4790 CONF_SUBDIRS=
4791 if test -x $srcdir/zziplib/configure; then
4792 test "x$with_system_zziplib" != xyes && test "x$need_zziplib" = xyes && MAKE_SUBDIRS="zziplib $MAKE_SUBDIRS"
4793 CONF_SUBDIRS="zziplib $CONF_SUBDIRS"
4794 if false; then
4795 subdirs="$subdirs zziplib"
4799 if test -x $srcdir/poppler/configure; then
4800 test "x$with_system_poppler" != xyes && test "x$need_poppler" = xyes && MAKE_SUBDIRS="poppler $MAKE_SUBDIRS"
4801 CONF_SUBDIRS="poppler $CONF_SUBDIRS"
4802 if false; then
4803 subdirs="$subdirs poppler"
4807 if test -x $srcdir/mpfr/configure; then
4808 test "x$with_system_mpfr" != xyes && test "x$need_mpfr" = xyes && MAKE_SUBDIRS="mpfr $MAKE_SUBDIRS"
4809 CONF_SUBDIRS="mpfr $CONF_SUBDIRS"
4810 if false; then
4811 subdirs="$subdirs mpfr"
4815 if test -x $srcdir/gmp/configure; then
4816 test "x$with_system_gmp" != xyes && test "x$need_gmp" = xyes && MAKE_SUBDIRS="gmp $MAKE_SUBDIRS"
4817 CONF_SUBDIRS="gmp $CONF_SUBDIRS"
4818 if false; then
4819 subdirs="$subdirs gmp"
4823 if test -x $srcdir/cairo/configure; then
4824 test "x$with_system_cairo" != xyes && test "x$need_cairo" = xyes && MAKE_SUBDIRS="cairo $MAKE_SUBDIRS"
4825 CONF_SUBDIRS="cairo $CONF_SUBDIRS"
4826 if false; then
4827 subdirs="$subdirs cairo"
4831 if test -x $srcdir/pixman/configure; then
4832 test "x$with_system_pixman" != xyes && test "x$need_pixman" = xyes && MAKE_SUBDIRS="pixman $MAKE_SUBDIRS"
4833 CONF_SUBDIRS="pixman $CONF_SUBDIRS"
4834 if false; then
4835 subdirs="$subdirs pixman"
4839 if test -x $srcdir/libpng/configure; then
4840 test "x$with_system_libpng" != xyes && test "x$need_libpng" = xyes && MAKE_SUBDIRS="libpng $MAKE_SUBDIRS"
4841 CONF_SUBDIRS="libpng $CONF_SUBDIRS"
4842 if false; then
4843 subdirs="$subdirs libpng"
4847 if test -x $srcdir/luajit/configure; then
4848 test "x$with_system_luajit" != xyes && test "x$need_luajit" = xyes && MAKE_SUBDIRS="luajit $MAKE_SUBDIRS"
4849 CONF_SUBDIRS="luajit $CONF_SUBDIRS"
4850 if false; then
4851 subdirs="$subdirs luajit"
4855 if test -x $srcdir/lua52/configure; then
4856 test "x$with_system_lua52" != xyes && test "x$need_lua52" = xyes && MAKE_SUBDIRS="lua52 $MAKE_SUBDIRS"
4857 CONF_SUBDIRS="lua52 $CONF_SUBDIRS"
4858 if false; then
4859 subdirs="$subdirs lua52"
4863 if test -x $srcdir/zlib/configure; then
4864 test "x$with_system_zlib" != xyes && test "x$need_zlib" = xyes && MAKE_SUBDIRS="zlib $MAKE_SUBDIRS"
4865 CONF_SUBDIRS="zlib $CONF_SUBDIRS"
4866 if false; then
4867 subdirs="$subdirs zlib"
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE_SUBDIRS" >&5
4873 $as_echo "$MAKE_SUBDIRS" >&6; }
4875 ac_config_files="$ac_config_files Makefile"
4878 cat >confcache <<\_ACEOF
4879 # This file is a shell script that caches the results of configure
4880 # tests run on this system so they can be shared between configure
4881 # scripts and configure runs, see configure's option --config-cache.
4882 # It is not useful on other systems. If it contains results you don't
4883 # want to keep, you may remove or edit it.
4885 # config.status only pays attention to the cache file if you give it
4886 # the --recheck option to rerun configure.
4888 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4889 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4890 # following values.
4892 _ACEOF
4894 # The following way of writing the cache mishandles newlines in values,
4895 # but we know of no workaround that is simple, portable, and efficient.
4896 # So, we kill variables containing newlines.
4897 # Ultrix sh set writes to stderr and can't be redirected directly,
4898 # and sets the high bit in the cache file unless we assign to the vars.
4900 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4901 eval ac_val=\$$ac_var
4902 case $ac_val in #(
4903 *${as_nl}*)
4904 case $ac_var in #(
4905 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4906 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4907 esac
4908 case $ac_var in #(
4909 _ | IFS | as_nl) ;; #(
4910 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4911 *) { eval $ac_var=; unset $ac_var;} ;;
4912 esac ;;
4913 esac
4914 done
4916 (set) 2>&1 |
4917 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4918 *${as_nl}ac_space=\ *)
4919 # `set' does not quote correctly, so add quotes: double-quote
4920 # substitution turns \\\\ into \\, and sed turns \\ into \.
4921 sed -n \
4922 "s/'/'\\\\''/g;
4923 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4924 ;; #(
4926 # `set' quotes correctly as required by POSIX, so do not add quotes.
4927 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4929 esac |
4930 sort
4932 sed '
4933 /^ac_cv_env_/b end
4934 t clear
4935 :clear
4936 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4937 t end
4938 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4939 :end' >>confcache
4940 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4941 if test -w "$cache_file"; then
4942 if test "x$cache_file" != "x/dev/null"; then
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4944 $as_echo "$as_me: updating cache $cache_file" >&6;}
4945 if test ! -f "$cache_file" || test -h "$cache_file"; then
4946 cat confcache >"$cache_file"
4947 else
4948 case $cache_file in #(
4949 */* | ?:*)
4950 mv -f confcache "$cache_file"$$ &&
4951 mv -f "$cache_file"$$ "$cache_file" ;; #(
4953 mv -f confcache "$cache_file" ;;
4954 esac
4957 else
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4959 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4962 rm -f confcache
4964 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4965 # Let make expand exec_prefix.
4966 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4968 # Transform confdefs.h into DEFS.
4969 # Protect against shell expansion while executing Makefile rules.
4970 # Protect against Makefile macro expansion.
4972 # If the first sed substitution is executed (which looks for macros that
4973 # take arguments), then branch to the quote section. Otherwise,
4974 # look for a macro that doesn't take arguments.
4975 ac_script='
4976 :mline
4977 /\\$/{
4979 s,\\\n,,
4980 b mline
4982 t clear
4983 :clear
4984 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4985 t quote
4986 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4987 t quote
4988 b any
4989 :quote
4990 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4991 s/\[/\\&/g
4992 s/\]/\\&/g
4993 s/\$/$$/g
4995 :any
4998 s/^\n//
4999 s/\n/ /g
5003 DEFS=`sed -n "$ac_script" confdefs.h`
5006 ac_libobjs=
5007 ac_ltlibobjs=
5009 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5010 # 1. Remove the extension, and $U if already installed.
5011 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5012 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5013 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5014 # will be set to the directory where LIBOBJS objects are built.
5015 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5016 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5017 done
5018 LIBOBJS=$ac_libobjs
5020 LTLIBOBJS=$ac_ltlibobjs
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
5024 $as_echo_n "checking that generated files are newer than configure... " >&6; }
5025 if test -n "$am_sleep_pid"; then
5026 # Hide warnings about reused PIDs.
5027 wait $am_sleep_pid 2>/dev/null
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
5030 $as_echo "done" >&6; }
5031 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5032 as_fn_error $? "conditional \"AMDEP\" was never defined.
5033 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5035 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5036 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5037 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5039 if test -n "$EXEEXT"; then
5040 am__EXEEXT_TRUE=
5041 am__EXEEXT_FALSE='#'
5042 else
5043 am__EXEEXT_TRUE='#'
5044 am__EXEEXT_FALSE=
5047 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5048 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
5049 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5052 : "${CONFIG_STATUS=./config.status}"
5053 ac_write_fail=0
5054 ac_clean_files_save=$ac_clean_files
5055 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5057 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5058 as_write_fail=0
5059 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5060 #! $SHELL
5061 # Generated by $as_me.
5062 # Run this file to recreate the current configuration.
5063 # Compiler output produced by configure, useful for debugging
5064 # configure, is in config.log if it exists.
5066 debug=false
5067 ac_cs_recheck=false
5068 ac_cs_silent=false
5070 SHELL=\${CONFIG_SHELL-$SHELL}
5071 export SHELL
5072 _ASEOF
5073 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5074 ## -------------------- ##
5075 ## M4sh Initialization. ##
5076 ## -------------------- ##
5078 # Be more Bourne compatible
5079 DUALCASE=1; export DUALCASE # for MKS sh
5080 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5081 emulate sh
5082 NULLCMD=:
5083 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5084 # is contrary to our usage. Disable this feature.
5085 alias -g '${1+"$@"}'='"$@"'
5086 setopt NO_GLOB_SUBST
5087 else
5088 case `(set -o) 2>/dev/null` in #(
5089 *posix*) :
5090 set -o posix ;; #(
5091 *) :
5093 esac
5097 as_nl='
5099 export as_nl
5100 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5101 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5102 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5103 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5104 # Prefer a ksh shell builtin over an external printf program on Solaris,
5105 # but without wasting forks for bash or zsh.
5106 if test -z "$BASH_VERSION$ZSH_VERSION" \
5107 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5108 as_echo='print -r --'
5109 as_echo_n='print -rn --'
5110 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5111 as_echo='printf %s\n'
5112 as_echo_n='printf %s'
5113 else
5114 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5115 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5116 as_echo_n='/usr/ucb/echo -n'
5117 else
5118 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5119 as_echo_n_body='eval
5120 arg=$1;
5121 case $arg in #(
5122 *"$as_nl"*)
5123 expr "X$arg" : "X\\(.*\\)$as_nl";
5124 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5125 esac;
5126 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5128 export as_echo_n_body
5129 as_echo_n='sh -c $as_echo_n_body as_echo'
5131 export as_echo_body
5132 as_echo='sh -c $as_echo_body as_echo'
5135 # The user is always right.
5136 if test "${PATH_SEPARATOR+set}" != set; then
5137 PATH_SEPARATOR=:
5138 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5139 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5140 PATH_SEPARATOR=';'
5145 # IFS
5146 # We need space, tab and new line, in precisely that order. Quoting is
5147 # there to prevent editors from complaining about space-tab.
5148 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5149 # splitting by setting IFS to empty value.)
5150 IFS=" "" $as_nl"
5152 # Find who we are. Look in the path if we contain no directory separator.
5153 as_myself=
5154 case $0 in #((
5155 *[\\/]* ) as_myself=$0 ;;
5156 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5157 for as_dir in $PATH
5159 IFS=$as_save_IFS
5160 test -z "$as_dir" && as_dir=.
5161 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5162 done
5163 IFS=$as_save_IFS
5166 esac
5167 # We did not find ourselves, most probably we were run as `sh COMMAND'
5168 # in which case we are not to be found in the path.
5169 if test "x$as_myself" = x; then
5170 as_myself=$0
5172 if test ! -f "$as_myself"; then
5173 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5174 exit 1
5177 # Unset variables that we do not need and which cause bugs (e.g. in
5178 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5179 # suppresses any "Segmentation fault" message there. '((' could
5180 # trigger a bug in pdksh 5.2.14.
5181 for as_var in BASH_ENV ENV MAIL MAILPATH
5182 do eval test x\${$as_var+set} = xset \
5183 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5184 done
5185 PS1='$ '
5186 PS2='> '
5187 PS4='+ '
5189 # NLS nuisances.
5190 LC_ALL=C
5191 export LC_ALL
5192 LANGUAGE=C
5193 export LANGUAGE
5195 # CDPATH.
5196 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5199 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5200 # ----------------------------------------
5201 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5202 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5203 # script with STATUS, using 1 if that was 0.
5204 as_fn_error ()
5206 as_status=$1; test $as_status -eq 0 && as_status=1
5207 if test "$4"; then
5208 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5209 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5211 $as_echo "$as_me: error: $2" >&2
5212 as_fn_exit $as_status
5213 } # as_fn_error
5216 # as_fn_set_status STATUS
5217 # -----------------------
5218 # Set $? to STATUS, without forking.
5219 as_fn_set_status ()
5221 return $1
5222 } # as_fn_set_status
5224 # as_fn_exit STATUS
5225 # -----------------
5226 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5227 as_fn_exit ()
5229 set +e
5230 as_fn_set_status $1
5231 exit $1
5232 } # as_fn_exit
5234 # as_fn_unset VAR
5235 # ---------------
5236 # Portably unset VAR.
5237 as_fn_unset ()
5239 { eval $1=; unset $1;}
5241 as_unset=as_fn_unset
5242 # as_fn_append VAR VALUE
5243 # ----------------------
5244 # Append the text in VALUE to the end of the definition contained in VAR. Take
5245 # advantage of any shell optimizations that allow amortized linear growth over
5246 # repeated appends, instead of the typical quadratic growth present in naive
5247 # implementations.
5248 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5249 eval 'as_fn_append ()
5251 eval $1+=\$2
5253 else
5254 as_fn_append ()
5256 eval $1=\$$1\$2
5258 fi # as_fn_append
5260 # as_fn_arith ARG...
5261 # ------------------
5262 # Perform arithmetic evaluation on the ARGs, and store the result in the
5263 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5264 # must be portable across $(()) and expr.
5265 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5266 eval 'as_fn_arith ()
5268 as_val=$(( $* ))
5270 else
5271 as_fn_arith ()
5273 as_val=`expr "$@" || test $? -eq 1`
5275 fi # as_fn_arith
5278 if expr a : '\(a\)' >/dev/null 2>&1 &&
5279 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5280 as_expr=expr
5281 else
5282 as_expr=false
5285 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5286 as_basename=basename
5287 else
5288 as_basename=false
5291 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5292 as_dirname=dirname
5293 else
5294 as_dirname=false
5297 as_me=`$as_basename -- "$0" ||
5298 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5299 X"$0" : 'X\(//\)$' \| \
5300 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5301 $as_echo X/"$0" |
5302 sed '/^.*\/\([^/][^/]*\)\/*$/{
5303 s//\1/
5306 /^X\/\(\/\/\)$/{
5307 s//\1/
5310 /^X\/\(\/\).*/{
5311 s//\1/
5314 s/.*/./; q'`
5316 # Avoid depending upon Character Ranges.
5317 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5318 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5319 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5320 as_cr_digits='0123456789'
5321 as_cr_alnum=$as_cr_Letters$as_cr_digits
5323 ECHO_C= ECHO_N= ECHO_T=
5324 case `echo -n x` in #(((((
5325 -n*)
5326 case `echo 'xy\c'` in
5327 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5328 xy) ECHO_C='\c';;
5329 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5330 ECHO_T=' ';;
5331 esac;;
5333 ECHO_N='-n';;
5334 esac
5336 rm -f conf$$ conf$$.exe conf$$.file
5337 if test -d conf$$.dir; then
5338 rm -f conf$$.dir/conf$$.file
5339 else
5340 rm -f conf$$.dir
5341 mkdir conf$$.dir 2>/dev/null
5343 if (echo >conf$$.file) 2>/dev/null; then
5344 if ln -s conf$$.file conf$$ 2>/dev/null; then
5345 as_ln_s='ln -s'
5346 # ... but there are two gotchas:
5347 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5348 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5349 # In both cases, we have to default to `cp -pR'.
5350 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5351 as_ln_s='cp -pR'
5352 elif ln conf$$.file conf$$ 2>/dev/null; then
5353 as_ln_s=ln
5354 else
5355 as_ln_s='cp -pR'
5357 else
5358 as_ln_s='cp -pR'
5360 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5361 rmdir conf$$.dir 2>/dev/null
5364 # as_fn_mkdir_p
5365 # -------------
5366 # Create "$as_dir" as a directory, including parents if necessary.
5367 as_fn_mkdir_p ()
5370 case $as_dir in #(
5371 -*) as_dir=./$as_dir;;
5372 esac
5373 test -d "$as_dir" || eval $as_mkdir_p || {
5374 as_dirs=
5375 while :; do
5376 case $as_dir in #(
5377 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5378 *) as_qdir=$as_dir;;
5379 esac
5380 as_dirs="'$as_qdir' $as_dirs"
5381 as_dir=`$as_dirname -- "$as_dir" ||
5382 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5383 X"$as_dir" : 'X\(//\)[^/]' \| \
5384 X"$as_dir" : 'X\(//\)$' \| \
5385 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5386 $as_echo X"$as_dir" |
5387 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5388 s//\1/
5391 /^X\(\/\/\)[^/].*/{
5392 s//\1/
5395 /^X\(\/\/\)$/{
5396 s//\1/
5399 /^X\(\/\).*/{
5400 s//\1/
5403 s/.*/./; q'`
5404 test -d "$as_dir" && break
5405 done
5406 test -z "$as_dirs" || eval "mkdir $as_dirs"
5407 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5410 } # as_fn_mkdir_p
5411 if mkdir -p . 2>/dev/null; then
5412 as_mkdir_p='mkdir -p "$as_dir"'
5413 else
5414 test -d ./-p && rmdir ./-p
5415 as_mkdir_p=false
5419 # as_fn_executable_p FILE
5420 # -----------------------
5421 # Test if FILE is an executable regular file.
5422 as_fn_executable_p ()
5424 test -f "$1" && test -x "$1"
5425 } # as_fn_executable_p
5426 as_test_x='test -x'
5427 as_executable_p=as_fn_executable_p
5429 # Sed expression to map a string onto a valid CPP name.
5430 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5432 # Sed expression to map a string onto a valid variable name.
5433 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5436 exec 6>&1
5437 ## ----------------------------------- ##
5438 ## Main body of $CONFIG_STATUS script. ##
5439 ## ----------------------------------- ##
5440 _ASEOF
5441 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5443 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5444 # Save the log message, to keep $0 and so on meaningful, and to
5445 # report actual input values of CONFIG_FILES etc. instead of their
5446 # values after options handling.
5447 ac_log="
5448 This file was extended by TeX Live libs $as_me 2015/dev, which was
5449 generated by GNU Autoconf 2.69. Invocation command line was
5451 CONFIG_FILES = $CONFIG_FILES
5452 CONFIG_HEADERS = $CONFIG_HEADERS
5453 CONFIG_LINKS = $CONFIG_LINKS
5454 CONFIG_COMMANDS = $CONFIG_COMMANDS
5455 $ $0 $@
5457 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5460 _ACEOF
5462 case $ac_config_files in *"
5463 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5464 esac
5468 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5469 # Files that config.status was made for.
5470 config_files="$ac_config_files"
5471 config_commands="$ac_config_commands"
5473 _ACEOF
5475 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5476 ac_cs_usage="\
5477 \`$as_me' instantiates files and other configuration actions
5478 from templates according to the current configuration. Unless the files
5479 and actions are specified as TAGs, all are instantiated by default.
5481 Usage: $0 [OPTION]... [TAG]...
5483 -h, --help print this help, then exit
5484 -V, --version print version number and configuration settings, then exit
5485 --config print configuration, then exit
5486 -q, --quiet, --silent
5487 do not print progress messages
5488 -d, --debug don't remove temporary files
5489 --recheck update $as_me by reconfiguring in the same conditions
5490 --file=FILE[:TEMPLATE]
5491 instantiate the configuration file FILE
5493 Configuration files:
5494 $config_files
5496 Configuration commands:
5497 $config_commands
5499 Report bugs to <tex-k@tug.org>."
5501 _ACEOF
5502 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5503 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5504 ac_cs_version="\\
5505 TeX Live libs config.status 2015/dev
5506 configured by $0, generated by GNU Autoconf 2.69,
5507 with options \\"\$ac_cs_config\\"
5509 Copyright (C) 2012 Free Software Foundation, Inc.
5510 This config.status script is free software; the Free Software Foundation
5511 gives unlimited permission to copy, distribute and modify it."
5513 ac_pwd='$ac_pwd'
5514 srcdir='$srcdir'
5515 INSTALL='$INSTALL'
5516 MKDIR_P='$MKDIR_P'
5517 AWK='$AWK'
5518 test -n "\$AWK" || AWK=awk
5519 _ACEOF
5521 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5522 # The default lists apply if the user does not specify any file.
5523 ac_need_defaults=:
5524 while test $# != 0
5526 case $1 in
5527 --*=?*)
5528 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5529 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5530 ac_shift=:
5532 --*=)
5533 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5534 ac_optarg=
5535 ac_shift=:
5538 ac_option=$1
5539 ac_optarg=$2
5540 ac_shift=shift
5542 esac
5544 case $ac_option in
5545 # Handling of the options.
5546 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5547 ac_cs_recheck=: ;;
5548 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5549 $as_echo "$ac_cs_version"; exit ;;
5550 --config | --confi | --conf | --con | --co | --c )
5551 $as_echo "$ac_cs_config"; exit ;;
5552 --debug | --debu | --deb | --de | --d | -d )
5553 debug=: ;;
5554 --file | --fil | --fi | --f )
5555 $ac_shift
5556 case $ac_optarg in
5557 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5558 '') as_fn_error $? "missing file argument" ;;
5559 esac
5560 as_fn_append CONFIG_FILES " '$ac_optarg'"
5561 ac_need_defaults=false;;
5562 --he | --h | --help | --hel | -h )
5563 $as_echo "$ac_cs_usage"; exit ;;
5564 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5565 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5566 ac_cs_silent=: ;;
5568 # This is an error.
5569 -*) as_fn_error $? "unrecognized option: \`$1'
5570 Try \`$0 --help' for more information." ;;
5572 *) as_fn_append ac_config_targets " $1"
5573 ac_need_defaults=false ;;
5575 esac
5576 shift
5577 done
5579 ac_configure_extra_args=
5581 if $ac_cs_silent; then
5582 exec 6>/dev/null
5583 ac_configure_extra_args="$ac_configure_extra_args --silent"
5586 _ACEOF
5587 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5588 if \$ac_cs_recheck; then
5589 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5590 shift
5591 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5592 CONFIG_SHELL='$SHELL'
5593 export CONFIG_SHELL
5594 exec "\$@"
5597 _ACEOF
5598 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5599 exec 5>>config.log
5601 echo
5602 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5603 ## Running $as_me. ##
5604 _ASBOX
5605 $as_echo "$ac_log"
5606 } >&5
5608 _ACEOF
5609 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5611 # INIT-COMMANDS
5613 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5615 _ACEOF
5617 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5619 # Handling of arguments.
5620 for ac_config_target in $ac_config_targets
5622 case $ac_config_target in
5623 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5624 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5626 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5627 esac
5628 done
5631 # If the user did not use the arguments to specify the items to instantiate,
5632 # then the envvar interface is used. Set only those that are not.
5633 # We use the long form for the default assignment because of an extremely
5634 # bizarre bug on SunOS 4.1.3.
5635 if $ac_need_defaults; then
5636 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5637 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5640 # Have a temporary directory for convenience. Make it in the build tree
5641 # simply because there is no reason against having it here, and in addition,
5642 # creating and moving files from /tmp can sometimes cause problems.
5643 # Hook for its removal unless debugging.
5644 # Note that there is a small window in which the directory will not be cleaned:
5645 # after its creation but before its name has been assigned to `$tmp'.
5646 $debug ||
5648 tmp= ac_tmp=
5649 trap 'exit_status=$?
5650 : "${ac_tmp:=$tmp}"
5651 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5653 trap 'as_fn_exit 1' 1 2 13 15
5655 # Create a (secure) tmp directory for tmp files.
5658 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5659 test -d "$tmp"
5660 } ||
5662 tmp=./conf$$-$RANDOM
5663 (umask 077 && mkdir "$tmp")
5664 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5665 ac_tmp=$tmp
5667 # Set up the scripts for CONFIG_FILES section.
5668 # No need to generate them if there are no CONFIG_FILES.
5669 # This happens for instance with `./config.status config.h'.
5670 if test -n "$CONFIG_FILES"; then
5673 ac_cr=`echo X | tr X '\015'`
5674 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5675 # But we know of no other shell where ac_cr would be empty at this
5676 # point, so we can use a bashism as a fallback.
5677 if test "x$ac_cr" = x; then
5678 eval ac_cr=\$\'\\r\'
5680 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5681 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5682 ac_cs_awk_cr='\\r'
5683 else
5684 ac_cs_awk_cr=$ac_cr
5687 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5688 _ACEOF
5692 echo "cat >conf$$subs.awk <<_ACEOF" &&
5693 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5694 echo "_ACEOF"
5695 } >conf$$subs.sh ||
5696 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5697 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5698 ac_delim='%!_!# '
5699 for ac_last_try in false false false false false :; do
5700 . ./conf$$subs.sh ||
5701 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5703 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5704 if test $ac_delim_n = $ac_delim_num; then
5705 break
5706 elif $ac_last_try; then
5707 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5708 else
5709 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5711 done
5712 rm -f conf$$subs.sh
5714 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5715 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5716 _ACEOF
5717 sed -n '
5719 s/^/S["/; s/!.*/"]=/
5722 s/^[^!]*!//
5723 :repl
5724 t repl
5725 s/'"$ac_delim"'$//
5726 t delim
5729 s/\(.\{148\}\)..*/\1/
5730 t more1
5731 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5734 b repl
5735 :more1
5736 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5739 s/.\{148\}//
5740 t nl
5741 :delim
5743 s/\(.\{148\}\)..*/\1/
5744 t more2
5745 s/["\\]/\\&/g; s/^/"/; s/$/"/
5748 :more2
5749 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5752 s/.\{148\}//
5753 t delim
5754 ' <conf$$subs.awk | sed '
5755 /^[^""]/{
5757 s/\n//
5759 ' >>$CONFIG_STATUS || ac_write_fail=1
5760 rm -f conf$$subs.awk
5761 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5762 _ACAWK
5763 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5764 for (key in S) S_is_set[key] = 1
5765 FS = "\a"
5769 line = $ 0
5770 nfields = split(line, field, "@")
5771 substed = 0
5772 len = length(field[1])
5773 for (i = 2; i < nfields; i++) {
5774 key = field[i]
5775 keylen = length(key)
5776 if (S_is_set[key]) {
5777 value = S[key]
5778 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5779 len += length(value) + length(field[++i])
5780 substed = 1
5781 } else
5782 len += 1 + keylen
5785 print line
5788 _ACAWK
5789 _ACEOF
5790 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5791 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5792 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5793 else
5795 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5796 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5797 _ACEOF
5799 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5800 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5801 # trailing colons and then remove the whole line if VPATH becomes empty
5802 # (actually we leave an empty line to preserve line numbers).
5803 if test "x$srcdir" = x.; then
5804 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5806 s///
5807 s/^/:/
5808 s/[ ]*$/:/
5809 s/:\$(srcdir):/:/g
5810 s/:\${srcdir}:/:/g
5811 s/:@srcdir@:/:/g
5812 s/^:*//
5813 s/:*$//
5815 s/\(=[ ]*\).*/\1/
5817 s/\n//
5818 s/^[^=]*=[ ]*$//
5822 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5823 fi # test -n "$CONFIG_FILES"
5826 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
5827 shift
5828 for ac_tag
5830 case $ac_tag in
5831 :[FHLC]) ac_mode=$ac_tag; continue;;
5832 esac
5833 case $ac_mode$ac_tag in
5834 :[FHL]*:*);;
5835 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5836 :[FH]-) ac_tag=-:-;;
5837 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5838 esac
5839 ac_save_IFS=$IFS
5840 IFS=:
5841 set x $ac_tag
5842 IFS=$ac_save_IFS
5843 shift
5844 ac_file=$1
5845 shift
5847 case $ac_mode in
5848 :L) ac_source=$1;;
5849 :[FH])
5850 ac_file_inputs=
5851 for ac_f
5853 case $ac_f in
5854 -) ac_f="$ac_tmp/stdin";;
5855 *) # Look for the file first in the build tree, then in the source tree
5856 # (if the path is not absolute). The absolute path cannot be DOS-style,
5857 # because $ac_f cannot contain `:'.
5858 test -f "$ac_f" ||
5859 case $ac_f in
5860 [\\/$]*) false;;
5861 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5862 esac ||
5863 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5864 esac
5865 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5866 as_fn_append ac_file_inputs " '$ac_f'"
5867 done
5869 # Let's still pretend it is `configure' which instantiates (i.e., don't
5870 # use $as_me), people would be surprised to read:
5871 # /* config.h. Generated by config.status. */
5872 configure_input='Generated from '`
5873 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5874 `' by configure.'
5875 if test x"$ac_file" != x-; then
5876 configure_input="$ac_file. $configure_input"
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5878 $as_echo "$as_me: creating $ac_file" >&6;}
5880 # Neutralize special characters interpreted by sed in replacement strings.
5881 case $configure_input in #(
5882 *\&* | *\|* | *\\* )
5883 ac_sed_conf_input=`$as_echo "$configure_input" |
5884 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5885 *) ac_sed_conf_input=$configure_input;;
5886 esac
5888 case $ac_tag in
5889 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5890 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5891 esac
5893 esac
5895 ac_dir=`$as_dirname -- "$ac_file" ||
5896 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5897 X"$ac_file" : 'X\(//\)[^/]' \| \
5898 X"$ac_file" : 'X\(//\)$' \| \
5899 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5900 $as_echo X"$ac_file" |
5901 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5902 s//\1/
5905 /^X\(\/\/\)[^/].*/{
5906 s//\1/
5909 /^X\(\/\/\)$/{
5910 s//\1/
5913 /^X\(\/\).*/{
5914 s//\1/
5917 s/.*/./; q'`
5918 as_dir="$ac_dir"; as_fn_mkdir_p
5919 ac_builddir=.
5921 case "$ac_dir" in
5922 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5924 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5925 # A ".." for each directory in $ac_dir_suffix.
5926 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5927 case $ac_top_builddir_sub in
5928 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5929 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5930 esac ;;
5931 esac
5932 ac_abs_top_builddir=$ac_pwd
5933 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5934 # for backward compatibility:
5935 ac_top_builddir=$ac_top_build_prefix
5937 case $srcdir in
5938 .) # We are building in place.
5939 ac_srcdir=.
5940 ac_top_srcdir=$ac_top_builddir_sub
5941 ac_abs_top_srcdir=$ac_pwd ;;
5942 [\\/]* | ?:[\\/]* ) # Absolute name.
5943 ac_srcdir=$srcdir$ac_dir_suffix;
5944 ac_top_srcdir=$srcdir
5945 ac_abs_top_srcdir=$srcdir ;;
5946 *) # Relative name.
5947 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5948 ac_top_srcdir=$ac_top_build_prefix$srcdir
5949 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5950 esac
5951 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5954 case $ac_mode in
5957 # CONFIG_FILE
5960 case $INSTALL in
5961 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5962 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5963 esac
5964 ac_MKDIR_P=$MKDIR_P
5965 case $MKDIR_P in
5966 [\\/$]* | ?:[\\/]* ) ;;
5967 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5968 esac
5969 _ACEOF
5971 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5972 # If the template does not know about datarootdir, expand it.
5973 # FIXME: This hack should be removed a few years after 2.60.
5974 ac_datarootdir_hack=; ac_datarootdir_seen=
5975 ac_sed_dataroot='
5976 /datarootdir/ {
5980 /@datadir@/p
5981 /@docdir@/p
5982 /@infodir@/p
5983 /@localedir@/p
5984 /@mandir@/p'
5985 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5986 *datarootdir*) ac_datarootdir_seen=yes;;
5987 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5989 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5990 _ACEOF
5991 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5992 ac_datarootdir_hack='
5993 s&@datadir@&$datadir&g
5994 s&@docdir@&$docdir&g
5995 s&@infodir@&$infodir&g
5996 s&@localedir@&$localedir&g
5997 s&@mandir@&$mandir&g
5998 s&\\\${datarootdir}&$datarootdir&g' ;;
5999 esac
6000 _ACEOF
6002 # Neutralize VPATH when `$srcdir' = `.'.
6003 # Shell code in configure.ac might set extrasub.
6004 # FIXME: do we really want to maintain this feature?
6005 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6006 ac_sed_extra="$ac_vpsub
6007 $extrasub
6008 _ACEOF
6009 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6011 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6012 s|@configure_input@|$ac_sed_conf_input|;t t
6013 s&@top_builddir@&$ac_top_builddir_sub&;t t
6014 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6015 s&@srcdir@&$ac_srcdir&;t t
6016 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6017 s&@top_srcdir@&$ac_top_srcdir&;t t
6018 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6019 s&@builddir@&$ac_builddir&;t t
6020 s&@abs_builddir@&$ac_abs_builddir&;t t
6021 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6022 s&@INSTALL@&$ac_INSTALL&;t t
6023 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6024 $ac_datarootdir_hack
6026 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6027 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6029 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6030 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6031 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6032 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6034 which seems to be undefined. Please make sure it is defined" >&5
6035 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6036 which seems to be undefined. Please make sure it is defined" >&2;}
6038 rm -f "$ac_tmp/stdin"
6039 case $ac_file in
6040 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6041 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6042 esac \
6043 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6047 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6048 $as_echo "$as_me: executing $ac_file commands" >&6;}
6050 esac
6053 case $ac_file$ac_mode in
6054 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6055 # Older Autoconf quotes --file arguments for eval, but not when files
6056 # are listed without --file. Let's play safe and only enable the eval
6057 # if we detect the quoting.
6058 case $CONFIG_FILES in
6059 *\'*) eval set x "$CONFIG_FILES" ;;
6060 *) set x $CONFIG_FILES ;;
6061 esac
6062 shift
6063 for mf
6065 # Strip MF so we end up with the name of the file.
6066 mf=`echo "$mf" | sed -e 's/:.*$//'`
6067 # Check whether this is an Automake generated Makefile or not.
6068 # We used to match only the files named 'Makefile.in', but
6069 # some people rename them; so instead we look at the file content.
6070 # Grep'ing the first line is not enough: some people post-process
6071 # each Makefile.in and add a new line on top of each file to say so.
6072 # Grep'ing the whole file is not good either: AIX grep has a line
6073 # limit of 2048, but all sed's we know have understand at least 4000.
6074 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6075 dirpart=`$as_dirname -- "$mf" ||
6076 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6077 X"$mf" : 'X\(//\)[^/]' \| \
6078 X"$mf" : 'X\(//\)$' \| \
6079 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6080 $as_echo X"$mf" |
6081 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6082 s//\1/
6085 /^X\(\/\/\)[^/].*/{
6086 s//\1/
6089 /^X\(\/\/\)$/{
6090 s//\1/
6093 /^X\(\/\).*/{
6094 s//\1/
6097 s/.*/./; q'`
6098 else
6099 continue
6101 # Extract the definition of DEPDIR, am__include, and am__quote
6102 # from the Makefile without running 'make'.
6103 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6104 test -z "$DEPDIR" && continue
6105 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6106 test -z "$am__include" && continue
6107 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6108 # Find all dependency output files, they are included files with
6109 # $(DEPDIR) in their names. We invoke sed twice because it is the
6110 # simplest approach to changing $(DEPDIR) to its actual value in the
6111 # expansion.
6112 for file in `sed -n "
6113 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6114 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
6115 # Make sure the directory exists.
6116 test -f "$dirpart/$file" && continue
6117 fdir=`$as_dirname -- "$file" ||
6118 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6119 X"$file" : 'X\(//\)[^/]' \| \
6120 X"$file" : 'X\(//\)$' \| \
6121 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6122 $as_echo X"$file" |
6123 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6124 s//\1/
6127 /^X\(\/\/\)[^/].*/{
6128 s//\1/
6131 /^X\(\/\/\)$/{
6132 s//\1/
6135 /^X\(\/\).*/{
6136 s//\1/
6139 s/.*/./; q'`
6140 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6141 # echo "creating $dirpart/$file"
6142 echo '# dummy' > "$dirpart/$file"
6143 done
6144 done
6148 esac
6149 done # for ac_tag
6152 as_fn_exit 0
6153 _ACEOF
6154 ac_clean_files=$ac_clean_files_save
6156 test $ac_write_fail = 0 ||
6157 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6160 # configure is writing to config.log, and then calls config.status.
6161 # config.status does its own redirection, appending to config.log.
6162 # Unfortunately, on DOS this fails, as config.log is still kept open
6163 # by configure, so config.status won't be able to write to it; its
6164 # output is simply discarded. So we exec the FD to /dev/null,
6165 # effectively closing config.log, so it can be properly (re)opened and
6166 # appended to by config.status. When coming back to configure, we
6167 # need to make the FD available again.
6168 if test "$no_create" != yes; then
6169 ac_cs_success=:
6170 ac_config_status_args=
6171 test "$silent" = yes &&
6172 ac_config_status_args="$ac_config_status_args --quiet"
6173 exec 5>/dev/null
6174 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6175 exec 5>>config.log
6176 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6177 # would make configure fail if this is the last instruction.
6178 $ac_cs_success || as_fn_exit 1
6182 # CONFIG_SUBDIRS section.
6184 if test "$no_recursion" != yes; then
6186 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
6187 # so they do not pile up.
6188 ac_sub_configure_args=
6189 ac_prev=
6190 eval "set x $ac_configure_args"
6191 shift
6192 for ac_arg
6194 if test -n "$ac_prev"; then
6195 ac_prev=
6196 continue
6198 case $ac_arg in
6199 -cache-file | --cache-file | --cache-fil | --cache-fi \
6200 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
6201 ac_prev=cache_file ;;
6202 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
6203 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
6204 | --c=*)
6206 --config-cache | -C)
6208 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
6209 ac_prev=srcdir ;;
6210 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
6212 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
6213 ac_prev=prefix ;;
6214 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
6216 --disable-option-checking)
6219 case $ac_arg in
6220 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6221 esac
6222 as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
6223 esac
6224 done
6226 # Always prepend --prefix to ensure using the same prefix
6227 # in subdir configurations.
6228 ac_arg="--prefix=$prefix"
6229 case $ac_arg in
6230 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6231 esac
6232 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
6234 # Pass --silent
6235 if test "$silent" = yes; then
6236 ac_sub_configure_args="--silent $ac_sub_configure_args"
6239 # Always prepend --disable-option-checking to silence warnings, since
6240 # different subdirs can have different --enable and --with options.
6241 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
6243 ac_popdir=`pwd`
6244 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
6246 # Do not complain, so a configure script can configure whichever
6247 # parts of a large source tree are present.
6248 test -d "$srcdir/$ac_dir" || continue
6250 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
6251 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
6252 $as_echo "$ac_msg" >&6
6253 as_dir="$ac_dir"; as_fn_mkdir_p
6254 ac_builddir=.
6256 case "$ac_dir" in
6257 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6259 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6260 # A ".." for each directory in $ac_dir_suffix.
6261 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6262 case $ac_top_builddir_sub in
6263 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6264 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6265 esac ;;
6266 esac
6267 ac_abs_top_builddir=$ac_pwd
6268 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6269 # for backward compatibility:
6270 ac_top_builddir=$ac_top_build_prefix
6272 case $srcdir in
6273 .) # We are building in place.
6274 ac_srcdir=.
6275 ac_top_srcdir=$ac_top_builddir_sub
6276 ac_abs_top_srcdir=$ac_pwd ;;
6277 [\\/]* | ?:[\\/]* ) # Absolute name.
6278 ac_srcdir=$srcdir$ac_dir_suffix;
6279 ac_top_srcdir=$srcdir
6280 ac_abs_top_srcdir=$srcdir ;;
6281 *) # Relative name.
6282 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6283 ac_top_srcdir=$ac_top_build_prefix$srcdir
6284 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6285 esac
6286 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6289 cd "$ac_dir"
6291 # Check for guested configure; otherwise get Cygnus style configure.
6292 if test -f "$ac_srcdir/configure.gnu"; then
6293 ac_sub_configure=$ac_srcdir/configure.gnu
6294 elif test -f "$ac_srcdir/configure"; then
6295 ac_sub_configure=$ac_srcdir/configure
6296 elif test -f "$ac_srcdir/configure.in"; then
6297 # This should be Cygnus configure.
6298 ac_sub_configure=$ac_aux_dir/configure
6299 else
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
6301 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
6302 ac_sub_configure=
6305 # The recursion is here.
6306 if test -n "$ac_sub_configure"; then
6307 # Make the cache file name correct relative to the subdirectory.
6308 case $cache_file in
6309 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
6310 *) # Relative name.
6311 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
6312 esac
6314 { $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
6315 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
6316 # The eval makes quoting arguments work.
6317 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
6318 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
6319 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
6322 cd "$ac_popdir"
6323 done
6325 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6327 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}