beta-0.89.2
[luatex.git] / source / texk / texlive / configure
blob464b3213b1d0ac18afd3a381fd1bde770857a38f
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for TeX Live Scripts 2016/dev.
5 # Report bugs to <tex-k@tug.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
201 if (eval "$as_required") 2>/dev/null; then :
202 as_have_required=yes
203 else
204 as_have_required=no
206 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208 else
209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
210 as_found=false
211 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213 IFS=$as_save_IFS
214 test -z "$as_dir" && as_dir=.
215 as_found=:
216 case $as_dir in #(
218 for as_base in sh bash ksh sh5; do
219 # Try only shells that exist, to save several forks.
220 as_shell=$as_dir/$as_base
221 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
222 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 CONFIG_SHELL=$as_shell as_have_required=yes
224 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
225 break 2
228 done;;
229 esac
230 as_found=false
231 done
232 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
233 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
235 fi; }
236 IFS=$as_save_IFS
239 if test "x$CONFIG_SHELL" != x; then :
240 export CONFIG_SHELL
241 # We cannot yet assume a decent shell, so we have to provide a
242 # neutralization value for shells without unset; and this also
243 # works around shells that cannot unset nonexistent variables.
244 # Preserve -v and -x to the replacement shell.
245 BASH_ENV=/dev/null
246 ENV=/dev/null
247 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
248 case $- in # ((((
249 *v*x* | *x*v* ) as_opts=-vx ;;
250 *v* ) as_opts=-v ;;
251 *x* ) as_opts=-x ;;
252 * ) as_opts= ;;
253 esac
254 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
255 # Admittedly, this is quite paranoid, since all the known shells bail
256 # out after a failed `exec'.
257 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
258 exit 255
261 if test x$as_have_required = xno; then :
262 $as_echo "$0: This script requires a shell more modern than all"
263 $as_echo "$0: the shells that I found on your system."
264 if test x${ZSH_VERSION+set} = xset ; then
265 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
266 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 else
268 $as_echo "$0: Please tell bug-autoconf@gnu.org and tex-k@tug.org
269 $0: about your system, including any error possibly output
270 $0: before this message. Then install a modern shell, or
271 $0: manually run the script under such a shell if you do
272 $0: have one."
274 exit 1
278 SHELL=${CONFIG_SHELL-/bin/sh}
279 export SHELL
280 # Unset more variables known to interfere with behavior of common tools.
281 CLICOLOR_FORCE= GREP_OPTIONS=
282 unset CLICOLOR_FORCE GREP_OPTIONS
284 ## --------------------- ##
285 ## M4sh Shell Functions. ##
286 ## --------------------- ##
287 # as_fn_unset VAR
288 # ---------------
289 # Portably unset VAR.
290 as_fn_unset ()
292 { eval $1=; unset $1;}
294 as_unset=as_fn_unset
296 # as_fn_set_status STATUS
297 # -----------------------
298 # Set $? to STATUS, without forking.
299 as_fn_set_status ()
301 return $1
302 } # as_fn_set_status
304 # as_fn_exit STATUS
305 # -----------------
306 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
307 as_fn_exit ()
309 set +e
310 as_fn_set_status $1
311 exit $1
312 } # as_fn_exit
314 # as_fn_mkdir_p
315 # -------------
316 # Create "$as_dir" as a directory, including parents if necessary.
317 as_fn_mkdir_p ()
320 case $as_dir in #(
321 -*) as_dir=./$as_dir;;
322 esac
323 test -d "$as_dir" || eval $as_mkdir_p || {
324 as_dirs=
325 while :; do
326 case $as_dir in #(
327 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 *) as_qdir=$as_dir;;
329 esac
330 as_dirs="'$as_qdir' $as_dirs"
331 as_dir=`$as_dirname -- "$as_dir" ||
332 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
333 X"$as_dir" : 'X\(//\)[^/]' \| \
334 X"$as_dir" : 'X\(//\)$' \| \
335 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
336 $as_echo X"$as_dir" |
337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
338 s//\1/
341 /^X\(\/\/\)[^/].*/{
342 s//\1/
345 /^X\(\/\/\)$/{
346 s//\1/
349 /^X\(\/\).*/{
350 s//\1/
353 s/.*/./; q'`
354 test -d "$as_dir" && break
355 done
356 test -z "$as_dirs" || eval "mkdir $as_dirs"
357 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
360 } # as_fn_mkdir_p
362 # as_fn_executable_p FILE
363 # -----------------------
364 # Test if FILE is an executable regular file.
365 as_fn_executable_p ()
367 test -f "$1" && test -x "$1"
368 } # as_fn_executable_p
369 # as_fn_append VAR VALUE
370 # ----------------------
371 # Append the text in VALUE to the end of the definition contained in VAR. Take
372 # advantage of any shell optimizations that allow amortized linear growth over
373 # repeated appends, instead of the typical quadratic growth present in naive
374 # implementations.
375 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
376 eval 'as_fn_append ()
378 eval $1+=\$2
380 else
381 as_fn_append ()
383 eval $1=\$$1\$2
385 fi # as_fn_append
387 # as_fn_arith ARG...
388 # ------------------
389 # Perform arithmetic evaluation on the ARGs, and store the result in the
390 # global $as_val. Take advantage of shells that can avoid forks. The arguments
391 # must be portable across $(()) and expr.
392 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
393 eval 'as_fn_arith ()
395 as_val=$(( $* ))
397 else
398 as_fn_arith ()
400 as_val=`expr "$@" || test $? -eq 1`
402 fi # as_fn_arith
405 # as_fn_error STATUS ERROR [LINENO LOG_FD]
406 # ----------------------------------------
407 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
408 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
409 # script with STATUS, using 1 if that was 0.
410 as_fn_error ()
412 as_status=$1; test $as_status -eq 0 && as_status=1
413 if test "$4"; then
414 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
415 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
417 $as_echo "$as_me: error: $2" >&2
418 as_fn_exit $as_status
419 } # as_fn_error
421 if expr a : '\(a\)' >/dev/null 2>&1 &&
422 test "X`expr 00001 : '.*\(...\)'`" = X001; then
423 as_expr=expr
424 else
425 as_expr=false
428 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
429 as_basename=basename
430 else
431 as_basename=false
434 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
435 as_dirname=dirname
436 else
437 as_dirname=false
440 as_me=`$as_basename -- "$0" ||
441 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
442 X"$0" : 'X\(//\)$' \| \
443 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
444 $as_echo X/"$0" |
445 sed '/^.*\/\([^/][^/]*\)\/*$/{
446 s//\1/
449 /^X\/\(\/\/\)$/{
450 s//\1/
453 /^X\/\(\/\).*/{
454 s//\1/
457 s/.*/./; q'`
459 # Avoid depending upon Character Ranges.
460 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
461 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
462 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
463 as_cr_digits='0123456789'
464 as_cr_alnum=$as_cr_Letters$as_cr_digits
467 as_lineno_1=$LINENO as_lineno_1a=$LINENO
468 as_lineno_2=$LINENO as_lineno_2a=$LINENO
469 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
470 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
471 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
472 sed -n '
474 /[$]LINENO/=
475 ' <$as_myself |
476 sed '
477 s/[$]LINENO.*/&-/
478 t lineno
480 :lineno
482 :loop
483 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
484 t loop
485 s/-\n.*//
486 ' >$as_me.lineno &&
487 chmod +x "$as_me.lineno" ||
488 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
490 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
491 # already done that, so ensure we don't try to do so again and fall
492 # in an infinite loop. This has already happened in practice.
493 _as_can_reexec=no; export _as_can_reexec
494 # Don't try to exec as it changes $[0], causing all sort of problems
495 # (the dirname of $[0] is not the place where we might find the
496 # original and so on. Autoconf is especially sensitive to this).
497 . "./$as_me.lineno"
498 # Exit status is that of the last command.
499 exit
502 ECHO_C= ECHO_N= ECHO_T=
503 case `echo -n x` in #(((((
504 -n*)
505 case `echo 'xy\c'` in
506 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
507 xy) ECHO_C='\c';;
508 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
509 ECHO_T=' ';;
510 esac;;
512 ECHO_N='-n';;
513 esac
515 rm -f conf$$ conf$$.exe conf$$.file
516 if test -d conf$$.dir; then
517 rm -f conf$$.dir/conf$$.file
518 else
519 rm -f conf$$.dir
520 mkdir conf$$.dir 2>/dev/null
522 if (echo >conf$$.file) 2>/dev/null; then
523 if ln -s conf$$.file conf$$ 2>/dev/null; then
524 as_ln_s='ln -s'
525 # ... but there are two gotchas:
526 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
527 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
528 # In both cases, we have to default to `cp -pR'.
529 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
530 as_ln_s='cp -pR'
531 elif ln conf$$.file conf$$ 2>/dev/null; then
532 as_ln_s=ln
533 else
534 as_ln_s='cp -pR'
536 else
537 as_ln_s='cp -pR'
539 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
540 rmdir conf$$.dir 2>/dev/null
542 if mkdir -p . 2>/dev/null; then
543 as_mkdir_p='mkdir -p "$as_dir"'
544 else
545 test -d ./-p && rmdir ./-p
546 as_mkdir_p=false
549 as_test_x='test -x'
550 as_executable_p=as_fn_executable_p
552 # Sed expression to map a string onto a valid CPP name.
553 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
555 # Sed expression to map a string onto a valid variable name.
556 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
559 test -n "$DJDIR" || exec 7<&0 </dev/null
560 exec 6>&1
562 # Name of the host.
563 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
564 # so uname gets run too.
565 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 # Initializations.
570 ac_default_prefix=/usr/local
571 ac_clean_files=
572 ac_config_libobj_dir=.
573 LIBOBJS=
574 cross_compiling=no
575 subdirs=
576 MFLAGS=
577 MAKEFLAGS=
579 # Identity of this package.
580 PACKAGE_NAME='TeX Live Scripts'
581 PACKAGE_TARNAME='tex-live-scripts'
582 PACKAGE_VERSION='2016/dev'
583 PACKAGE_STRING='TeX Live Scripts 2016/dev'
584 PACKAGE_BUGREPORT='tex-k@tug.org'
585 PACKAGE_URL=''
587 ac_unique_file="linked_scripts/ChangeLog"
588 ac_subst_vars='am__EXEEXT_FALSE
589 am__EXEEXT_TRUE
590 LTLIBOBJS
591 LIBOBJS
592 WIN32_WRAP_FALSE
593 WIN32_WRAP_TRUE
594 WIN_WRAPPER
595 WIN32_FALSE
596 WIN32_TRUE
597 LN_S
598 am__fastdepCC_FALSE
599 am__fastdepCC_TRUE
600 CCDEPMODE
601 am__nodep
602 AMDEPBACKSLASH
603 AMDEP_FALSE
604 AMDEP_TRUE
605 am__quote
606 am__include
607 DEPDIR
608 OBJEXT
609 EXEEXT
610 ac_ct_CC
611 CPPFLAGS
612 LDFLAGS
613 CFLAGS
615 LINKED_SCRIPTS_FALSE
616 LINKED_SCRIPTS_TRUE
617 MAINT
618 MAINTAINER_MODE_FALSE
619 MAINTAINER_MODE_TRUE
620 AM_BACKSLASH
621 AM_DEFAULT_VERBOSITY
622 AM_DEFAULT_V
623 AM_V
624 am__untar
625 am__tar
626 AMTAR
627 am__leading_dot
628 SET_MAKE
630 mkdir_p
631 MKDIR_P
632 INSTALL_STRIP_PROGRAM
633 STRIP
634 install_sh
635 MAKEINFO
636 AUTOHEADER
637 AUTOMAKE
638 AUTOCONF
639 ACLOCAL
640 VERSION
641 PACKAGE
642 CYGPATH_W
643 am__isrc
644 INSTALL_DATA
645 INSTALL_SCRIPT
646 INSTALL_PROGRAM
647 target_alias
648 host_alias
649 build_alias
650 LIBS
651 ECHO_T
652 ECHO_N
653 ECHO_C
654 DEFS
655 mandir
656 localedir
657 libdir
658 psdir
659 pdfdir
660 dvidir
661 htmldir
662 infodir
663 docdir
664 oldincludedir
665 includedir
666 localstatedir
667 sharedstatedir
668 sysconfdir
669 datadir
670 datarootdir
671 libexecdir
672 sbindir
673 bindir
674 program_transform_name
675 prefix
676 exec_prefix
677 PACKAGE_URL
678 PACKAGE_BUGREPORT
679 PACKAGE_STRING
680 PACKAGE_VERSION
681 PACKAGE_TARNAME
682 PACKAGE_NAME
683 PATH_SEPARATOR
684 SHELL'
685 ac_subst_files=''
686 ac_user_opts='
687 enable_option_checking
688 enable_silent_rules
689 enable_maintainer_mode
690 enable_linked_scripts
691 enable_dependency_tracking
693 ac_precious_vars='build_alias
694 host_alias
695 target_alias
697 CFLAGS
698 LDFLAGS
699 LIBS
700 CPPFLAGS'
703 # Initialize some variables set by options.
704 ac_init_help=
705 ac_init_version=false
706 ac_unrecognized_opts=
707 ac_unrecognized_sep=
708 # The variables have the same names as the options, with
709 # dashes changed to underlines.
710 cache_file=/dev/null
711 exec_prefix=NONE
712 no_create=
713 no_recursion=
714 prefix=NONE
715 program_prefix=NONE
716 program_suffix=NONE
717 program_transform_name=s,x,x,
718 silent=
719 site=
720 srcdir=
721 verbose=
722 x_includes=NONE
723 x_libraries=NONE
725 # Installation directory options.
726 # These are left unexpanded so users can "make install exec_prefix=/foo"
727 # and all the variables that are supposed to be based on exec_prefix
728 # by default will actually change.
729 # Use braces instead of parens because sh, perl, etc. also accept them.
730 # (The list follows the same order as the GNU Coding Standards.)
731 bindir='${exec_prefix}/bin'
732 sbindir='${exec_prefix}/sbin'
733 libexecdir='${exec_prefix}/libexec'
734 datarootdir='${prefix}/share'
735 datadir='${datarootdir}'
736 sysconfdir='${prefix}/etc'
737 sharedstatedir='${prefix}/com'
738 localstatedir='${prefix}/var'
739 includedir='${prefix}/include'
740 oldincludedir='/usr/include'
741 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
742 infodir='${datarootdir}/info'
743 htmldir='${docdir}'
744 dvidir='${docdir}'
745 pdfdir='${docdir}'
746 psdir='${docdir}'
747 libdir='${exec_prefix}/lib'
748 localedir='${datarootdir}/locale'
749 mandir='${datarootdir}/man'
751 ac_prev=
752 ac_dashdash=
753 for ac_option
755 # If the previous option needs an argument, assign it.
756 if test -n "$ac_prev"; then
757 eval $ac_prev=\$ac_option
758 ac_prev=
759 continue
762 case $ac_option in
763 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
764 *=) ac_optarg= ;;
765 *) ac_optarg=yes ;;
766 esac
768 # Accept the important Cygnus configure options, so we can diagnose typos.
770 case $ac_dashdash$ac_option in
772 ac_dashdash=yes ;;
774 -bindir | --bindir | --bindi | --bind | --bin | --bi)
775 ac_prev=bindir ;;
776 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
777 bindir=$ac_optarg ;;
779 -build | --build | --buil | --bui | --bu)
780 ac_prev=build_alias ;;
781 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
782 build_alias=$ac_optarg ;;
784 -cache-file | --cache-file | --cache-fil | --cache-fi \
785 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
786 ac_prev=cache_file ;;
787 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
788 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
789 cache_file=$ac_optarg ;;
791 --config-cache | -C)
792 cache_file=config.cache ;;
794 -datadir | --datadir | --datadi | --datad)
795 ac_prev=datadir ;;
796 -datadir=* | --datadir=* | --datadi=* | --datad=*)
797 datadir=$ac_optarg ;;
799 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
800 | --dataroo | --dataro | --datar)
801 ac_prev=datarootdir ;;
802 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
803 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
804 datarootdir=$ac_optarg ;;
806 -disable-* | --disable-*)
807 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
808 # Reject names that are not valid shell variable names.
809 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
810 as_fn_error $? "invalid feature name: $ac_useropt"
811 ac_useropt_orig=$ac_useropt
812 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
813 case $ac_user_opts in
815 "enable_$ac_useropt"
816 "*) ;;
817 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
818 ac_unrecognized_sep=', ';;
819 esac
820 eval enable_$ac_useropt=no ;;
822 -docdir | --docdir | --docdi | --doc | --do)
823 ac_prev=docdir ;;
824 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
825 docdir=$ac_optarg ;;
827 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
828 ac_prev=dvidir ;;
829 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
830 dvidir=$ac_optarg ;;
832 -enable-* | --enable-*)
833 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
834 # Reject names that are not valid shell variable names.
835 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
836 as_fn_error $? "invalid feature name: $ac_useropt"
837 ac_useropt_orig=$ac_useropt
838 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
839 case $ac_user_opts in
841 "enable_$ac_useropt"
842 "*) ;;
843 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
844 ac_unrecognized_sep=', ';;
845 esac
846 eval enable_$ac_useropt=\$ac_optarg ;;
848 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
849 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
850 | --exec | --exe | --ex)
851 ac_prev=exec_prefix ;;
852 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
853 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
854 | --exec=* | --exe=* | --ex=*)
855 exec_prefix=$ac_optarg ;;
857 -gas | --gas | --ga | --g)
858 # Obsolete; use --with-gas.
859 with_gas=yes ;;
861 -help | --help | --hel | --he | -h)
862 ac_init_help=long ;;
863 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
864 ac_init_help=recursive ;;
865 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
866 ac_init_help=short ;;
868 -host | --host | --hos | --ho)
869 ac_prev=host_alias ;;
870 -host=* | --host=* | --hos=* | --ho=*)
871 host_alias=$ac_optarg ;;
873 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
874 ac_prev=htmldir ;;
875 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
876 | --ht=*)
877 htmldir=$ac_optarg ;;
879 -includedir | --includedir | --includedi | --included | --include \
880 | --includ | --inclu | --incl | --inc)
881 ac_prev=includedir ;;
882 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
883 | --includ=* | --inclu=* | --incl=* | --inc=*)
884 includedir=$ac_optarg ;;
886 -infodir | --infodir | --infodi | --infod | --info | --inf)
887 ac_prev=infodir ;;
888 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
889 infodir=$ac_optarg ;;
891 -libdir | --libdir | --libdi | --libd)
892 ac_prev=libdir ;;
893 -libdir=* | --libdir=* | --libdi=* | --libd=*)
894 libdir=$ac_optarg ;;
896 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
897 | --libexe | --libex | --libe)
898 ac_prev=libexecdir ;;
899 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
900 | --libexe=* | --libex=* | --libe=*)
901 libexecdir=$ac_optarg ;;
903 -localedir | --localedir | --localedi | --localed | --locale)
904 ac_prev=localedir ;;
905 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
906 localedir=$ac_optarg ;;
908 -localstatedir | --localstatedir | --localstatedi | --localstated \
909 | --localstate | --localstat | --localsta | --localst | --locals)
910 ac_prev=localstatedir ;;
911 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
912 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
913 localstatedir=$ac_optarg ;;
915 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
916 ac_prev=mandir ;;
917 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
918 mandir=$ac_optarg ;;
920 -nfp | --nfp | --nf)
921 # Obsolete; use --without-fp.
922 with_fp=no ;;
924 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
925 | --no-cr | --no-c | -n)
926 no_create=yes ;;
928 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
929 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
930 no_recursion=yes ;;
932 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
933 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
934 | --oldin | --oldi | --old | --ol | --o)
935 ac_prev=oldincludedir ;;
936 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
937 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
938 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
939 oldincludedir=$ac_optarg ;;
941 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
942 ac_prev=prefix ;;
943 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
944 prefix=$ac_optarg ;;
946 -program-prefix | --program-prefix | --program-prefi | --program-pref \
947 | --program-pre | --program-pr | --program-p)
948 ac_prev=program_prefix ;;
949 -program-prefix=* | --program-prefix=* | --program-prefi=* \
950 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
951 program_prefix=$ac_optarg ;;
953 -program-suffix | --program-suffix | --program-suffi | --program-suff \
954 | --program-suf | --program-su | --program-s)
955 ac_prev=program_suffix ;;
956 -program-suffix=* | --program-suffix=* | --program-suffi=* \
957 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
958 program_suffix=$ac_optarg ;;
960 -program-transform-name | --program-transform-name \
961 | --program-transform-nam | --program-transform-na \
962 | --program-transform-n | --program-transform- \
963 | --program-transform | --program-transfor \
964 | --program-transfo | --program-transf \
965 | --program-trans | --program-tran \
966 | --progr-tra | --program-tr | --program-t)
967 ac_prev=program_transform_name ;;
968 -program-transform-name=* | --program-transform-name=* \
969 | --program-transform-nam=* | --program-transform-na=* \
970 | --program-transform-n=* | --program-transform-=* \
971 | --program-transform=* | --program-transfor=* \
972 | --program-transfo=* | --program-transf=* \
973 | --program-trans=* | --program-tran=* \
974 | --progr-tra=* | --program-tr=* | --program-t=*)
975 program_transform_name=$ac_optarg ;;
977 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
978 ac_prev=pdfdir ;;
979 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
980 pdfdir=$ac_optarg ;;
982 -psdir | --psdir | --psdi | --psd | --ps)
983 ac_prev=psdir ;;
984 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
985 psdir=$ac_optarg ;;
987 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
988 | -silent | --silent | --silen | --sile | --sil)
989 silent=yes ;;
991 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
992 ac_prev=sbindir ;;
993 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
994 | --sbi=* | --sb=*)
995 sbindir=$ac_optarg ;;
997 -sharedstatedir | --sharedstatedir | --sharedstatedi \
998 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
999 | --sharedst | --shareds | --shared | --share | --shar \
1000 | --sha | --sh)
1001 ac_prev=sharedstatedir ;;
1002 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1003 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1004 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1005 | --sha=* | --sh=*)
1006 sharedstatedir=$ac_optarg ;;
1008 -site | --site | --sit)
1009 ac_prev=site ;;
1010 -site=* | --site=* | --sit=*)
1011 site=$ac_optarg ;;
1013 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1014 ac_prev=srcdir ;;
1015 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1016 srcdir=$ac_optarg ;;
1018 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1019 | --syscon | --sysco | --sysc | --sys | --sy)
1020 ac_prev=sysconfdir ;;
1021 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1022 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1023 sysconfdir=$ac_optarg ;;
1025 -target | --target | --targe | --targ | --tar | --ta | --t)
1026 ac_prev=target_alias ;;
1027 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1028 target_alias=$ac_optarg ;;
1030 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1031 verbose=yes ;;
1033 -version | --version | --versio | --versi | --vers | -V)
1034 ac_init_version=: ;;
1036 -with-* | --with-*)
1037 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1038 # Reject names that are not valid shell variable names.
1039 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1040 as_fn_error $? "invalid package name: $ac_useropt"
1041 ac_useropt_orig=$ac_useropt
1042 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1043 case $ac_user_opts in
1045 "with_$ac_useropt"
1046 "*) ;;
1047 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1048 ac_unrecognized_sep=', ';;
1049 esac
1050 eval with_$ac_useropt=\$ac_optarg ;;
1052 -without-* | --without-*)
1053 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1054 # Reject names that are not valid shell variable names.
1055 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1056 as_fn_error $? "invalid package name: $ac_useropt"
1057 ac_useropt_orig=$ac_useropt
1058 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1059 case $ac_user_opts in
1061 "with_$ac_useropt"
1062 "*) ;;
1063 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1064 ac_unrecognized_sep=', ';;
1065 esac
1066 eval with_$ac_useropt=no ;;
1068 --x)
1069 # Obsolete; use --with-x.
1070 with_x=yes ;;
1072 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1073 | --x-incl | --x-inc | --x-in | --x-i)
1074 ac_prev=x_includes ;;
1075 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1076 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1077 x_includes=$ac_optarg ;;
1079 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1080 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1081 ac_prev=x_libraries ;;
1082 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1083 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1084 x_libraries=$ac_optarg ;;
1086 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1087 Try \`$0 --help' for more information"
1090 *=*)
1091 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1092 # Reject names that are not valid shell variable names.
1093 case $ac_envvar in #(
1094 '' | [0-9]* | *[!_$as_cr_alnum]* )
1095 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1096 esac
1097 eval $ac_envvar=\$ac_optarg
1098 export $ac_envvar ;;
1101 # FIXME: should be removed in autoconf 3.0.
1102 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1103 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1104 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1105 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1108 esac
1109 done
1111 if test -n "$ac_prev"; then
1112 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1113 as_fn_error $? "missing argument to $ac_option"
1116 if test -n "$ac_unrecognized_opts"; then
1117 case $enable_option_checking in
1118 no) ;;
1119 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1120 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1121 esac
1124 # Check all directory arguments for consistency.
1125 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1126 datadir sysconfdir sharedstatedir localstatedir includedir \
1127 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1128 libdir localedir mandir
1130 eval ac_val=\$$ac_var
1131 # Remove trailing slashes.
1132 case $ac_val in
1133 */ )
1134 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1135 eval $ac_var=\$ac_val;;
1136 esac
1137 # Be sure to have absolute directory names.
1138 case $ac_val in
1139 [\\/$]* | ?:[\\/]* ) continue;;
1140 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1141 esac
1142 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1143 done
1145 # There might be people who depend on the old broken behavior: `$host'
1146 # used to hold the argument of --host etc.
1147 # FIXME: To remove some day.
1148 build=$build_alias
1149 host=$host_alias
1150 target=$target_alias
1152 # FIXME: To remove some day.
1153 if test "x$host_alias" != x; then
1154 if test "x$build_alias" = x; then
1155 cross_compiling=maybe
1156 elif test "x$build_alias" != "x$host_alias"; then
1157 cross_compiling=yes
1161 ac_tool_prefix=
1162 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1164 test "$silent" = yes && exec 6>/dev/null
1167 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1168 ac_ls_di=`ls -di .` &&
1169 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1170 as_fn_error $? "working directory cannot be determined"
1171 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1172 as_fn_error $? "pwd does not report name of working directory"
1175 # Find the source files, if location was not specified.
1176 if test -z "$srcdir"; then
1177 ac_srcdir_defaulted=yes
1178 # Try the directory containing this script, then the parent directory.
1179 ac_confdir=`$as_dirname -- "$as_myself" ||
1180 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1181 X"$as_myself" : 'X\(//\)[^/]' \| \
1182 X"$as_myself" : 'X\(//\)$' \| \
1183 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1184 $as_echo X"$as_myself" |
1185 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1186 s//\1/
1189 /^X\(\/\/\)[^/].*/{
1190 s//\1/
1193 /^X\(\/\/\)$/{
1194 s//\1/
1197 /^X\(\/\).*/{
1198 s//\1/
1201 s/.*/./; q'`
1202 srcdir=$ac_confdir
1203 if test ! -r "$srcdir/$ac_unique_file"; then
1204 srcdir=..
1206 else
1207 ac_srcdir_defaulted=no
1209 if test ! -r "$srcdir/$ac_unique_file"; then
1210 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1211 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1213 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1214 ac_abs_confdir=`(
1215 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1216 pwd)`
1217 # When building in place, set srcdir=.
1218 if test "$ac_abs_confdir" = "$ac_pwd"; then
1219 srcdir=.
1221 # Remove unnecessary trailing slashes from srcdir.
1222 # Double slashes in file names in object file debugging info
1223 # mess up M-x gdb in Emacs.
1224 case $srcdir in
1225 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1226 esac
1227 for ac_var in $ac_precious_vars; do
1228 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1229 eval ac_env_${ac_var}_value=\$${ac_var}
1230 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1231 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1232 done
1235 # Report the --help message.
1237 if test "$ac_init_help" = "long"; then
1238 # Omit some internal or obsolete options to make the list less imposing.
1239 # This message is too long to be a string in the A/UX 3.1 sh.
1240 cat <<_ACEOF
1241 \`configure' configures TeX Live Scripts 2016/dev to adapt to many kinds of systems.
1243 Usage: $0 [OPTION]... [VAR=VALUE]...
1245 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1246 VAR=VALUE. See below for descriptions of some of the useful variables.
1248 Defaults for the options are specified in brackets.
1250 Configuration:
1251 -h, --help display this help and exit
1252 --help=short display options specific to this package
1253 --help=recursive display the short help of all the included packages
1254 -V, --version display version information and exit
1255 -q, --quiet, --silent do not print \`checking ...' messages
1256 --cache-file=FILE cache test results in FILE [disabled]
1257 -C, --config-cache alias for \`--cache-file=config.cache'
1258 -n, --no-create do not create output files
1259 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1261 Installation directories:
1262 --prefix=PREFIX install architecture-independent files in PREFIX
1263 [$ac_default_prefix]
1264 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1265 [PREFIX]
1267 By default, \`make install' will install all the files in
1268 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1269 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1270 for instance \`--prefix=\$HOME'.
1272 For better control, use the options below.
1274 Fine tuning of the installation directories:
1275 --bindir=DIR user executables [EPREFIX/bin]
1276 --sbindir=DIR system admin executables [EPREFIX/sbin]
1277 --libexecdir=DIR program executables [EPREFIX/libexec]
1278 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1279 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1280 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1281 --libdir=DIR object code libraries [EPREFIX/lib]
1282 --includedir=DIR C header files [PREFIX/include]
1283 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1284 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1285 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1286 --infodir=DIR info documentation [DATAROOTDIR/info]
1287 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1288 --mandir=DIR man documentation [DATAROOTDIR/man]
1289 --docdir=DIR documentation root
1290 [DATAROOTDIR/doc/tex-live-scripts]
1291 --htmldir=DIR html documentation [DOCDIR]
1292 --dvidir=DIR dvi documentation [DOCDIR]
1293 --pdfdir=DIR pdf documentation [DOCDIR]
1294 --psdir=DIR ps documentation [DOCDIR]
1295 _ACEOF
1297 cat <<\_ACEOF
1299 Program names:
1300 --program-prefix=PREFIX prepend PREFIX to installed program names
1301 --program-suffix=SUFFIX append SUFFIX to installed program names
1302 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1303 _ACEOF
1306 if test -n "$ac_init_help"; then
1307 case $ac_init_help in
1308 short | recursive ) echo "Configuration of TeX Live Scripts 2016/dev:";;
1309 esac
1310 cat <<\_ACEOF
1312 Optional Features:
1313 --disable-option-checking ignore unrecognized --enable/--with options
1314 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1315 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1316 --enable-silent-rules less verbose build output (undo: "make V=1")
1317 --disable-silent-rules verbose build output (undo: "make V=0")
1318 --enable-maintainer-mode
1319 enable make rules and dependencies not useful (and
1320 sometimes confusing) to the casual installer
1321 --disable-linked-scripts
1322 do not install the linked scripts
1323 --enable-dependency-tracking
1324 do not reject slow dependency extractors
1325 --disable-dependency-tracking
1326 speeds up one-time build
1328 Some influential environment variables:
1329 CC C compiler command
1330 CFLAGS C compiler flags
1331 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1332 nonstandard directory <lib dir>
1333 LIBS libraries to pass to the linker, e.g. -l<library>
1334 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1335 you have headers in a nonstandard directory <include dir>
1337 Use these variables to override the choices made by `configure' or to help
1338 it to find libraries and programs with nonstandard names/locations.
1340 Report bugs to <tex-k@tug.org>.
1341 _ACEOF
1342 ac_status=$?
1345 if test "$ac_init_help" = "recursive"; then
1346 # If there are subdirs, report their specific --help.
1347 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1348 test -d "$ac_dir" ||
1349 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1350 continue
1351 ac_builddir=.
1353 case "$ac_dir" in
1354 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1356 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1357 # A ".." for each directory in $ac_dir_suffix.
1358 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1359 case $ac_top_builddir_sub in
1360 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1361 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1362 esac ;;
1363 esac
1364 ac_abs_top_builddir=$ac_pwd
1365 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1366 # for backward compatibility:
1367 ac_top_builddir=$ac_top_build_prefix
1369 case $srcdir in
1370 .) # We are building in place.
1371 ac_srcdir=.
1372 ac_top_srcdir=$ac_top_builddir_sub
1373 ac_abs_top_srcdir=$ac_pwd ;;
1374 [\\/]* | ?:[\\/]* ) # Absolute name.
1375 ac_srcdir=$srcdir$ac_dir_suffix;
1376 ac_top_srcdir=$srcdir
1377 ac_abs_top_srcdir=$srcdir ;;
1378 *) # Relative name.
1379 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1380 ac_top_srcdir=$ac_top_build_prefix$srcdir
1381 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1382 esac
1383 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1385 cd "$ac_dir" || { ac_status=$?; continue; }
1386 # Check for guested configure.
1387 if test -f "$ac_srcdir/configure.gnu"; then
1388 echo &&
1389 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1390 elif test -f "$ac_srcdir/configure"; then
1391 echo &&
1392 $SHELL "$ac_srcdir/configure" --help=recursive
1393 else
1394 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1395 fi || ac_status=$?
1396 cd "$ac_pwd" || { ac_status=$?; break; }
1397 done
1400 test -n "$ac_init_help" && exit $ac_status
1401 if $ac_init_version; then
1402 cat <<\_ACEOF
1403 TeX Live Scripts configure 2016/dev
1404 generated by GNU Autoconf 2.69
1406 Copyright (C) 2012 Free Software Foundation, Inc.
1407 This configure script is free software; the Free Software Foundation
1408 gives unlimited permission to copy, distribute and modify it.
1409 _ACEOF
1410 exit
1413 ## ------------------------ ##
1414 ## Autoconf initialization. ##
1415 ## ------------------------ ##
1417 # ac_fn_c_try_compile LINENO
1418 # --------------------------
1419 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1420 ac_fn_c_try_compile ()
1422 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1423 rm -f conftest.$ac_objext
1424 if { { ac_try="$ac_compile"
1425 case "(($ac_try" in
1426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1427 *) ac_try_echo=$ac_try;;
1428 esac
1429 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1430 $as_echo "$ac_try_echo"; } >&5
1431 (eval "$ac_compile") 2>conftest.err
1432 ac_status=$?
1433 if test -s conftest.err; then
1434 grep -v '^ *+' conftest.err >conftest.er1
1435 cat conftest.er1 >&5
1436 mv -f conftest.er1 conftest.err
1438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1439 test $ac_status = 0; } && {
1440 test -z "$ac_c_werror_flag" ||
1441 test ! -s conftest.err
1442 } && test -s conftest.$ac_objext; then :
1443 ac_retval=0
1444 else
1445 $as_echo "$as_me: failed program was:" >&5
1446 sed 's/^/| /' conftest.$ac_ext >&5
1448 ac_retval=1
1450 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1451 as_fn_set_status $ac_retval
1453 } # ac_fn_c_try_compile
1454 cat >config.log <<_ACEOF
1455 This file contains any messages produced by compilers while
1456 running configure, to aid debugging if configure makes a mistake.
1458 It was created by TeX Live Scripts $as_me 2016/dev, which was
1459 generated by GNU Autoconf 2.69. Invocation command line was
1461 $ $0 $@
1463 _ACEOF
1464 exec 5>>config.log
1466 cat <<_ASUNAME
1467 ## --------- ##
1468 ## Platform. ##
1469 ## --------- ##
1471 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1472 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1473 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1474 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1475 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1477 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1478 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1480 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1481 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1482 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1483 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1484 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1485 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1486 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1488 _ASUNAME
1490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1491 for as_dir in $PATH
1493 IFS=$as_save_IFS
1494 test -z "$as_dir" && as_dir=.
1495 $as_echo "PATH: $as_dir"
1496 done
1497 IFS=$as_save_IFS
1499 } >&5
1501 cat >&5 <<_ACEOF
1504 ## ----------- ##
1505 ## Core tests. ##
1506 ## ----------- ##
1508 _ACEOF
1511 # Keep a trace of the command line.
1512 # Strip out --no-create and --no-recursion so they do not pile up.
1513 # Strip out --silent because we don't want to record it for future runs.
1514 # Also quote any args containing shell meta-characters.
1515 # Make two passes to allow for proper duplicate-argument suppression.
1516 ac_configure_args=
1517 ac_configure_args0=
1518 ac_configure_args1=
1519 ac_must_keep_next=false
1520 for ac_pass in 1 2
1522 for ac_arg
1524 case $ac_arg in
1525 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1526 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1527 | -silent | --silent | --silen | --sile | --sil)
1528 continue ;;
1529 *\'*)
1530 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1531 esac
1532 case $ac_pass in
1533 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1535 as_fn_append ac_configure_args1 " '$ac_arg'"
1536 if test $ac_must_keep_next = true; then
1537 ac_must_keep_next=false # Got value, back to normal.
1538 else
1539 case $ac_arg in
1540 *=* | --config-cache | -C | -disable-* | --disable-* \
1541 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1542 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1543 | -with-* | --with-* | -without-* | --without-* | --x)
1544 case "$ac_configure_args0 " in
1545 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1546 esac
1548 -* ) ac_must_keep_next=true ;;
1549 esac
1551 as_fn_append ac_configure_args " '$ac_arg'"
1553 esac
1554 done
1555 done
1556 { ac_configure_args0=; unset ac_configure_args0;}
1557 { ac_configure_args1=; unset ac_configure_args1;}
1559 # When interrupted or exit'd, cleanup temporary files, and complete
1560 # config.log. We remove comments because anyway the quotes in there
1561 # would cause problems or look ugly.
1562 # WARNING: Use '\'' to represent an apostrophe within the trap.
1563 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1564 trap 'exit_status=$?
1565 # Save into config.log some information that might help in debugging.
1567 echo
1569 $as_echo "## ---------------- ##
1570 ## Cache variables. ##
1571 ## ---------------- ##"
1572 echo
1573 # The following way of writing the cache mishandles newlines in values,
1575 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1576 eval ac_val=\$$ac_var
1577 case $ac_val in #(
1578 *${as_nl}*)
1579 case $ac_var in #(
1580 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1581 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1582 esac
1583 case $ac_var in #(
1584 _ | IFS | as_nl) ;; #(
1585 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1586 *) { eval $ac_var=; unset $ac_var;} ;;
1587 esac ;;
1588 esac
1589 done
1590 (set) 2>&1 |
1591 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1592 *${as_nl}ac_space=\ *)
1593 sed -n \
1594 "s/'\''/'\''\\\\'\'''\''/g;
1595 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1596 ;; #(
1598 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1600 esac |
1601 sort
1603 echo
1605 $as_echo "## ----------------- ##
1606 ## Output variables. ##
1607 ## ----------------- ##"
1608 echo
1609 for ac_var in $ac_subst_vars
1611 eval ac_val=\$$ac_var
1612 case $ac_val in
1613 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1614 esac
1615 $as_echo "$ac_var='\''$ac_val'\''"
1616 done | sort
1617 echo
1619 if test -n "$ac_subst_files"; then
1620 $as_echo "## ------------------- ##
1621 ## File substitutions. ##
1622 ## ------------------- ##"
1623 echo
1624 for ac_var in $ac_subst_files
1626 eval ac_val=\$$ac_var
1627 case $ac_val in
1628 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1629 esac
1630 $as_echo "$ac_var='\''$ac_val'\''"
1631 done | sort
1632 echo
1635 if test -s confdefs.h; then
1636 $as_echo "## ----------- ##
1637 ## confdefs.h. ##
1638 ## ----------- ##"
1639 echo
1640 cat confdefs.h
1641 echo
1643 test "$ac_signal" != 0 &&
1644 $as_echo "$as_me: caught signal $ac_signal"
1645 $as_echo "$as_me: exit $exit_status"
1646 } >&5
1647 rm -f core *.core core.conftest.* &&
1648 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1649 exit $exit_status
1651 for ac_signal in 1 2 13 15; do
1652 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1653 done
1654 ac_signal=0
1656 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1657 rm -f -r conftest* confdefs.h
1659 $as_echo "/* confdefs.h */" > confdefs.h
1661 # Predefined preprocessor variables.
1663 cat >>confdefs.h <<_ACEOF
1664 #define PACKAGE_NAME "$PACKAGE_NAME"
1665 _ACEOF
1667 cat >>confdefs.h <<_ACEOF
1668 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1669 _ACEOF
1671 cat >>confdefs.h <<_ACEOF
1672 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1673 _ACEOF
1675 cat >>confdefs.h <<_ACEOF
1676 #define PACKAGE_STRING "$PACKAGE_STRING"
1677 _ACEOF
1679 cat >>confdefs.h <<_ACEOF
1680 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1681 _ACEOF
1683 cat >>confdefs.h <<_ACEOF
1684 #define PACKAGE_URL "$PACKAGE_URL"
1685 _ACEOF
1688 # Let the site file select an alternate cache file if it wants to.
1689 # Prefer an explicitly selected file to automatically selected ones.
1690 ac_site_file1=NONE
1691 ac_site_file2=NONE
1692 if test -n "$CONFIG_SITE"; then
1693 # We do not want a PATH search for config.site.
1694 case $CONFIG_SITE in #((
1695 -*) ac_site_file1=./$CONFIG_SITE;;
1696 */*) ac_site_file1=$CONFIG_SITE;;
1697 *) ac_site_file1=./$CONFIG_SITE;;
1698 esac
1699 elif test "x$prefix" != xNONE; then
1700 ac_site_file1=$prefix/share/config.site
1701 ac_site_file2=$prefix/etc/config.site
1702 else
1703 ac_site_file1=$ac_default_prefix/share/config.site
1704 ac_site_file2=$ac_default_prefix/etc/config.site
1706 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1708 test "x$ac_site_file" = xNONE && continue
1709 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1710 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1711 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1712 sed 's/^/| /' "$ac_site_file" >&5
1713 . "$ac_site_file" \
1714 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1715 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1716 as_fn_error $? "failed to load site script $ac_site_file
1717 See \`config.log' for more details" "$LINENO" 5; }
1719 done
1721 if test -r "$cache_file"; then
1722 # Some versions of bash will fail to source /dev/null (special files
1723 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1724 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1725 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1726 $as_echo "$as_me: loading cache $cache_file" >&6;}
1727 case $cache_file in
1728 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1729 *) . "./$cache_file";;
1730 esac
1732 else
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1734 $as_echo "$as_me: creating cache $cache_file" >&6;}
1735 >$cache_file
1738 # Check that the precious variables saved in the cache have kept the same
1739 # value.
1740 ac_cache_corrupted=false
1741 for ac_var in $ac_precious_vars; do
1742 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1743 eval ac_new_set=\$ac_env_${ac_var}_set
1744 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1745 eval ac_new_val=\$ac_env_${ac_var}_value
1746 case $ac_old_set,$ac_new_set in
1747 set,)
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1749 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1750 ac_cache_corrupted=: ;;
1751 ,set)
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1753 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1754 ac_cache_corrupted=: ;;
1755 ,);;
1757 if test "x$ac_old_val" != "x$ac_new_val"; then
1758 # differences in whitespace do not lead to failure.
1759 ac_old_val_w=`echo x $ac_old_val`
1760 ac_new_val_w=`echo x $ac_new_val`
1761 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1762 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1763 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1764 ac_cache_corrupted=:
1765 else
1766 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1767 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1768 eval $ac_var=\$ac_old_val
1770 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1771 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1772 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1773 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1774 fi;;
1775 esac
1776 # Pass precious variables to config.status.
1777 if test "$ac_new_set" = set; then
1778 case $ac_new_val in
1779 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1780 *) ac_arg=$ac_var=$ac_new_val ;;
1781 esac
1782 case " $ac_configure_args " in
1783 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1784 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1785 esac
1787 done
1788 if $ac_cache_corrupted; then
1789 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1790 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1792 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1793 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1795 ## -------------------- ##
1796 ## Main body of script. ##
1797 ## -------------------- ##
1799 ac_ext=c
1800 ac_cpp='$CPP $CPPFLAGS'
1801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1808 ac_aux_dir=
1809 for ac_dir in ../../build-aux "$srcdir"/../../build-aux; do
1810 if test -f "$ac_dir/install-sh"; then
1811 ac_aux_dir=$ac_dir
1812 ac_install_sh="$ac_aux_dir/install-sh -c"
1813 break
1814 elif test -f "$ac_dir/install.sh"; then
1815 ac_aux_dir=$ac_dir
1816 ac_install_sh="$ac_aux_dir/install.sh -c"
1817 break
1818 elif test -f "$ac_dir/shtool"; then
1819 ac_aux_dir=$ac_dir
1820 ac_install_sh="$ac_aux_dir/shtool install -c"
1821 break
1823 done
1824 if test -z "$ac_aux_dir"; then
1825 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../../build-aux \"$srcdir\"/../../build-aux" "$LINENO" 5
1828 # These three variables are undocumented and unsupported,
1829 # and are intended to be withdrawn in a future Autoconf release.
1830 # They can cause serious problems if a builder's source tree is in a directory
1831 # whose full name contains unusual characters.
1832 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1833 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1834 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1839 am__api_version='1.15'
1841 # Find a good install program. We prefer a C program (faster),
1842 # so one script is as good as another. But avoid the broken or
1843 # incompatible versions:
1844 # SysV /etc/install, /usr/sbin/install
1845 # SunOS /usr/etc/install
1846 # IRIX /sbin/install
1847 # AIX /bin/install
1848 # AmigaOS /C/install, which installs bootblocks on floppy discs
1849 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1850 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1851 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1852 # OS/2's system install, which has a completely different semantic
1853 # ./install, which can be erroneously created by make from ./install.sh.
1854 # Reject install programs that cannot install multiple files.
1855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1856 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1857 if test -z "$INSTALL"; then
1858 if ${ac_cv_path_install+:} false; then :
1859 $as_echo_n "(cached) " >&6
1860 else
1861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1862 for as_dir in $PATH
1864 IFS=$as_save_IFS
1865 test -z "$as_dir" && as_dir=.
1866 # Account for people who put trailing slashes in PATH elements.
1867 case $as_dir/ in #((
1868 ./ | .// | /[cC]/* | \
1869 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1870 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1871 /usr/ucb/* ) ;;
1873 # OSF1 and SCO ODT 3.0 have their own names for install.
1874 # Don't use installbsd from OSF since it installs stuff as root
1875 # by default.
1876 for ac_prog in ginstall scoinst install; do
1877 for ac_exec_ext in '' $ac_executable_extensions; do
1878 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1879 if test $ac_prog = install &&
1880 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1881 # AIX install. It has an incompatible calling convention.
1883 elif test $ac_prog = install &&
1884 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1885 # program-specific install script used by HP pwplus--don't use.
1887 else
1888 rm -rf conftest.one conftest.two conftest.dir
1889 echo one > conftest.one
1890 echo two > conftest.two
1891 mkdir conftest.dir
1892 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1893 test -s conftest.one && test -s conftest.two &&
1894 test -s conftest.dir/conftest.one &&
1895 test -s conftest.dir/conftest.two
1896 then
1897 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1898 break 3
1902 done
1903 done
1905 esac
1907 done
1908 IFS=$as_save_IFS
1910 rm -rf conftest.one conftest.two conftest.dir
1913 if test "${ac_cv_path_install+set}" = set; then
1914 INSTALL=$ac_cv_path_install
1915 else
1916 # As a last resort, use the slow shell script. Don't cache a
1917 # value for INSTALL within a source directory, because that will
1918 # break other packages using the cache if that directory is
1919 # removed, or if the value is a relative name.
1920 INSTALL=$ac_install_sh
1923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1924 $as_echo "$INSTALL" >&6; }
1926 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1927 # It thinks the first close brace ends the variable substitution.
1928 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1930 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1932 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1935 $as_echo_n "checking whether build environment is sane... " >&6; }
1936 # Reject unsafe characters in $srcdir or the absolute working directory
1937 # name. Accept space and tab only in the latter.
1938 am_lf='
1940 case `pwd` in
1941 *[\\\"\#\$\&\'\`$am_lf]*)
1942 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1943 esac
1944 case $srcdir in
1945 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1946 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
1947 esac
1949 # Do 'set' in a subshell so we don't clobber the current shell's
1950 # arguments. Must try -L first in case configure is actually a
1951 # symlink; some systems play weird games with the mod time of symlinks
1952 # (eg FreeBSD returns the mod time of the symlink's containing
1953 # directory).
1954 if (
1955 am_has_slept=no
1956 for am_try in 1 2; do
1957 echo "timestamp, slept: $am_has_slept" > conftest.file
1958 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1959 if test "$*" = "X"; then
1960 # -L didn't work.
1961 set X `ls -t "$srcdir/configure" conftest.file`
1963 if test "$*" != "X $srcdir/configure conftest.file" \
1964 && test "$*" != "X conftest.file $srcdir/configure"; then
1966 # If neither matched, then we have a broken ls. This can happen
1967 # if, for instance, CONFIG_SHELL is bash and it inherits a
1968 # broken ls alias from the environment. This has actually
1969 # happened. Such a system could not be considered "sane".
1970 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
1971 alias in your environment" "$LINENO" 5
1973 if test "$2" = conftest.file || test $am_try -eq 2; then
1974 break
1976 # Just in case.
1977 sleep 1
1978 am_has_slept=yes
1979 done
1980 test "$2" = conftest.file
1982 then
1983 # Ok.
1985 else
1986 as_fn_error $? "newly created file is older than distributed files!
1987 Check your system clock" "$LINENO" 5
1989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1990 $as_echo "yes" >&6; }
1991 # If we didn't sleep, we still need to ensure time stamps of config.status and
1992 # generated files are strictly newer.
1993 am_sleep_pid=
1994 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
1995 ( sleep 1 ) &
1996 am_sleep_pid=$!
1999 rm -f conftest.file
2001 test "$program_prefix" != NONE &&
2002 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2003 # Use a double $ so make ignores it.
2004 test "$program_suffix" != NONE &&
2005 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2006 # Double any \ or $.
2007 # By default was `s,x,x', remove it if useless.
2008 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2009 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2011 # Expand $ac_aux_dir to an absolute path.
2012 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2014 if test x"${MISSING+set}" != xset; then
2015 case $am_aux_dir in
2016 *\ * | *\ *)
2017 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2019 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2020 esac
2022 # Use eval to expand $SHELL
2023 if eval "$MISSING --is-lightweight"; then
2024 am_missing_run="$MISSING "
2025 else
2026 am_missing_run=
2027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2028 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2031 if test x"${install_sh+set}" != xset; then
2032 case $am_aux_dir in
2033 *\ * | *\ *)
2034 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2036 install_sh="\${SHELL} $am_aux_dir/install-sh"
2037 esac
2040 # Installed binaries are usually stripped using 'strip' when the user
2041 # run "make install-strip". However 'strip' might not be the right
2042 # tool to use in cross-compilation environments, therefore Automake
2043 # will honor the 'STRIP' environment variable to overrule this program.
2044 if test "$cross_compiling" != no; then
2045 if test -n "$ac_tool_prefix"; then
2046 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2047 set dummy ${ac_tool_prefix}strip; ac_word=$2
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2049 $as_echo_n "checking for $ac_word... " >&6; }
2050 if ${ac_cv_prog_STRIP+:} false; then :
2051 $as_echo_n "(cached) " >&6
2052 else
2053 if test -n "$STRIP"; then
2054 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2055 else
2056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2057 for as_dir in $PATH
2059 IFS=$as_save_IFS
2060 test -z "$as_dir" && as_dir=.
2061 for ac_exec_ext in '' $ac_executable_extensions; do
2062 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2063 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2065 break 2
2067 done
2068 done
2069 IFS=$as_save_IFS
2073 STRIP=$ac_cv_prog_STRIP
2074 if test -n "$STRIP"; then
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2076 $as_echo "$STRIP" >&6; }
2077 else
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2079 $as_echo "no" >&6; }
2084 if test -z "$ac_cv_prog_STRIP"; then
2085 ac_ct_STRIP=$STRIP
2086 # Extract the first word of "strip", so it can be a program name with args.
2087 set dummy strip; ac_word=$2
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2089 $as_echo_n "checking for $ac_word... " >&6; }
2090 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2091 $as_echo_n "(cached) " >&6
2092 else
2093 if test -n "$ac_ct_STRIP"; then
2094 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2095 else
2096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2097 for as_dir in $PATH
2099 IFS=$as_save_IFS
2100 test -z "$as_dir" && as_dir=.
2101 for ac_exec_ext in '' $ac_executable_extensions; do
2102 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2103 ac_cv_prog_ac_ct_STRIP="strip"
2104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2105 break 2
2107 done
2108 done
2109 IFS=$as_save_IFS
2113 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2114 if test -n "$ac_ct_STRIP"; then
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2116 $as_echo "$ac_ct_STRIP" >&6; }
2117 else
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2119 $as_echo "no" >&6; }
2122 if test "x$ac_ct_STRIP" = x; then
2123 STRIP=":"
2124 else
2125 case $cross_compiling:$ac_tool_warned in
2126 yes:)
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2128 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2129 ac_tool_warned=yes ;;
2130 esac
2131 STRIP=$ac_ct_STRIP
2133 else
2134 STRIP="$ac_cv_prog_STRIP"
2138 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2141 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2142 if test -z "$MKDIR_P"; then
2143 if ${ac_cv_path_mkdir+:} false; then :
2144 $as_echo_n "(cached) " >&6
2145 else
2146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2147 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2149 IFS=$as_save_IFS
2150 test -z "$as_dir" && as_dir=.
2151 for ac_prog in mkdir gmkdir; do
2152 for ac_exec_ext in '' $ac_executable_extensions; do
2153 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2154 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2155 'mkdir (GNU coreutils) '* | \
2156 'mkdir (coreutils) '* | \
2157 'mkdir (fileutils) '4.1*)
2158 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2159 break 3;;
2160 esac
2161 done
2162 done
2163 done
2164 IFS=$as_save_IFS
2168 test -d ./--version && rmdir ./--version
2169 if test "${ac_cv_path_mkdir+set}" = set; then
2170 MKDIR_P="$ac_cv_path_mkdir -p"
2171 else
2172 # As a last resort, use the slow shell script. Don't cache a
2173 # value for MKDIR_P within a source directory, because that will
2174 # break other packages using the cache if that directory is
2175 # removed, or if the value is a relative name.
2176 MKDIR_P="$ac_install_sh -d"
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2180 $as_echo "$MKDIR_P" >&6; }
2182 for ac_prog in gawk mawk nawk awk
2184 # Extract the first word of "$ac_prog", so it can be a program name with args.
2185 set dummy $ac_prog; ac_word=$2
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2187 $as_echo_n "checking for $ac_word... " >&6; }
2188 if ${ac_cv_prog_AWK+:} false; then :
2189 $as_echo_n "(cached) " >&6
2190 else
2191 if test -n "$AWK"; then
2192 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2193 else
2194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2195 for as_dir in $PATH
2197 IFS=$as_save_IFS
2198 test -z "$as_dir" && as_dir=.
2199 for ac_exec_ext in '' $ac_executable_extensions; do
2200 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2201 ac_cv_prog_AWK="$ac_prog"
2202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2203 break 2
2205 done
2206 done
2207 IFS=$as_save_IFS
2211 AWK=$ac_cv_prog_AWK
2212 if test -n "$AWK"; then
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2214 $as_echo "$AWK" >&6; }
2215 else
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2217 $as_echo "no" >&6; }
2221 test -n "$AWK" && break
2222 done
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2225 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2226 set x ${MAKE-make}
2227 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2228 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2229 $as_echo_n "(cached) " >&6
2230 else
2231 cat >conftest.make <<\_ACEOF
2232 SHELL = /bin/sh
2233 all:
2234 @echo '@@@%%%=$(MAKE)=@@@%%%'
2235 _ACEOF
2236 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2237 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2238 *@@@%%%=?*=@@@%%%*)
2239 eval ac_cv_prog_make_${ac_make}_set=yes;;
2241 eval ac_cv_prog_make_${ac_make}_set=no;;
2242 esac
2243 rm -f conftest.make
2245 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2247 $as_echo "yes" >&6; }
2248 SET_MAKE=
2249 else
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2251 $as_echo "no" >&6; }
2252 SET_MAKE="MAKE=${MAKE-make}"
2255 rm -rf .tst 2>/dev/null
2256 mkdir .tst 2>/dev/null
2257 if test -d .tst; then
2258 am__leading_dot=.
2259 else
2260 am__leading_dot=_
2262 rmdir .tst 2>/dev/null
2264 # Check whether --enable-silent-rules was given.
2265 if test "${enable_silent_rules+set}" = set; then :
2266 enableval=$enable_silent_rules;
2269 case $enable_silent_rules in # (((
2270 yes) AM_DEFAULT_VERBOSITY=0;;
2271 no) AM_DEFAULT_VERBOSITY=1;;
2272 *) AM_DEFAULT_VERBOSITY=1;;
2273 esac
2274 am_make=${MAKE-make}
2275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2276 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2277 if ${am_cv_make_support_nested_variables+:} false; then :
2278 $as_echo_n "(cached) " >&6
2279 else
2280 if $as_echo 'TRUE=$(BAR$(V))
2281 BAR0=false
2282 BAR1=true
2284 am__doit:
2285 @$(TRUE)
2286 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2287 am_cv_make_support_nested_variables=yes
2288 else
2289 am_cv_make_support_nested_variables=no
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2293 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2294 if test $am_cv_make_support_nested_variables = yes; then
2295 AM_V='$(V)'
2296 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2297 else
2298 AM_V=$AM_DEFAULT_VERBOSITY
2299 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2301 AM_BACKSLASH='\'
2303 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2304 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2305 # is not polluted with repeated "-I."
2306 am__isrc=' -I$(srcdir)'
2307 # test to see if srcdir already configured
2308 if test -f $srcdir/config.status; then
2309 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2313 # test whether we have cygpath
2314 if test -z "$CYGPATH_W"; then
2315 if (cygpath --version) >/dev/null 2>/dev/null; then
2316 CYGPATH_W='cygpath -w'
2317 else
2318 CYGPATH_W=echo
2323 # Define the identity of the package.
2324 PACKAGE='tex-live-scripts'
2325 VERSION='2016/dev'
2328 cat >>confdefs.h <<_ACEOF
2329 #define PACKAGE "$PACKAGE"
2330 _ACEOF
2333 cat >>confdefs.h <<_ACEOF
2334 #define VERSION "$VERSION"
2335 _ACEOF
2337 # Some tools Automake needs.
2339 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2342 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2345 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2348 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2351 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2353 # For better backward compatibility. To be removed once Automake 1.9.x
2354 # dies out for good. For more background, see:
2355 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2356 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2357 mkdir_p='$(MKDIR_P)'
2359 # We need awk for the "check" target (and possibly the TAP driver). The
2360 # system "awk" is bad on some platforms.
2361 # Always define AMTAR for backward compatibility. Yes, it's still used
2362 # in the wild :-( We should find a proper way to deprecate it ...
2363 AMTAR='$${TAR-tar}'
2366 # We'll loop over all known methods to create a tar archive until one works.
2367 _am_tools='gnutar pax cpio none'
2369 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2376 # POSIX will say in a future version that running "rm -f" with no argument
2377 # is OK; and we want to be able to make that assumption in our Makefile
2378 # recipes. So use an aggressive probe to check that the usage we want is
2379 # actually supported "in the wild" to an acceptable degree.
2380 # See automake bug#10828.
2381 # To make any issue more visible, cause the running configure to be aborted
2382 # by default if the 'rm' program in use doesn't match our expectations; the
2383 # user can still override this though.
2384 if rm -f && rm -fr && rm -rf; then : OK; else
2385 cat >&2 <<'END'
2386 Oops!
2388 Your 'rm' program seems unable to run without file operands specified
2389 on the command line, even when the '-f' option is present. This is contrary
2390 to the behaviour of most rm programs out there, and not conforming with
2391 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2393 Please tell bug-automake@gnu.org about your system, including the value
2394 of your $PATH and any error possibly output before this message. This
2395 can help us improve future automake versions.
2398 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2399 echo 'Configuration will proceed anyway, since you have set the' >&2
2400 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2401 echo >&2
2402 else
2403 cat >&2 <<'END'
2404 Aborting the configuration process, to ensure you take notice of the issue.
2406 You can download and install GNU coreutils to get an 'rm' implementation
2407 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2409 If you want to complete the configuration process using your problematic
2410 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2411 to "yes", and re-run configure.
2414 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2420 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2421 # Check whether --enable-maintainer-mode was given.
2422 if test "${enable_maintainer_mode+set}" = set; then :
2423 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2424 else
2425 USE_MAINTAINER_MODE=no
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2429 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2430 if test $USE_MAINTAINER_MODE = yes; then
2431 MAINTAINER_MODE_TRUE=
2432 MAINTAINER_MODE_FALSE='#'
2433 else
2434 MAINTAINER_MODE_TRUE='#'
2435 MAINTAINER_MODE_FALSE=
2438 MAINT=$MAINTAINER_MODE_TRUE
2442 # Configure options for texlive also shown at the TeX Live top-level.
2443 ## texk/texlive/ac/texlive.ac: configure.ac fragment for the TeX Live subdirectory texk/texlive/
2444 ## configure options for texlive
2445 # Check whether --enable-linked-scripts was given.
2446 if test "${enable_linked_scripts+set}" = set; then :
2447 enableval=$enable_linked_scripts;
2450 if test "x$enable_linked_scripts" != xno; then
2451 LINKED_SCRIPTS_TRUE=
2452 LINKED_SCRIPTS_FALSE='#'
2453 else
2454 LINKED_SCRIPTS_TRUE='#'
2455 LINKED_SCRIPTS_FALSE=
2459 ac_ext=c
2460 ac_cpp='$CPP $CPPFLAGS'
2461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2464 if test -n "$ac_tool_prefix"; then
2465 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2466 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2468 $as_echo_n "checking for $ac_word... " >&6; }
2469 if ${ac_cv_prog_CC+:} false; then :
2470 $as_echo_n "(cached) " >&6
2471 else
2472 if test -n "$CC"; then
2473 ac_cv_prog_CC="$CC" # Let the user override the test.
2474 else
2475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2476 for as_dir in $PATH
2478 IFS=$as_save_IFS
2479 test -z "$as_dir" && as_dir=.
2480 for ac_exec_ext in '' $ac_executable_extensions; do
2481 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2482 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2484 break 2
2486 done
2487 done
2488 IFS=$as_save_IFS
2492 CC=$ac_cv_prog_CC
2493 if test -n "$CC"; then
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2495 $as_echo "$CC" >&6; }
2496 else
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2498 $as_echo "no" >&6; }
2503 if test -z "$ac_cv_prog_CC"; then
2504 ac_ct_CC=$CC
2505 # Extract the first word of "gcc", so it can be a program name with args.
2506 set dummy gcc; ac_word=$2
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2508 $as_echo_n "checking for $ac_word... " >&6; }
2509 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2510 $as_echo_n "(cached) " >&6
2511 else
2512 if test -n "$ac_ct_CC"; then
2513 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2514 else
2515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2516 for as_dir in $PATH
2518 IFS=$as_save_IFS
2519 test -z "$as_dir" && as_dir=.
2520 for ac_exec_ext in '' $ac_executable_extensions; do
2521 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2522 ac_cv_prog_ac_ct_CC="gcc"
2523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2524 break 2
2526 done
2527 done
2528 IFS=$as_save_IFS
2532 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2533 if test -n "$ac_ct_CC"; then
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2535 $as_echo "$ac_ct_CC" >&6; }
2536 else
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2538 $as_echo "no" >&6; }
2541 if test "x$ac_ct_CC" = x; then
2542 CC=""
2543 else
2544 case $cross_compiling:$ac_tool_warned in
2545 yes:)
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2547 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2548 ac_tool_warned=yes ;;
2549 esac
2550 CC=$ac_ct_CC
2552 else
2553 CC="$ac_cv_prog_CC"
2556 if test -z "$CC"; then
2557 if test -n "$ac_tool_prefix"; then
2558 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2559 set dummy ${ac_tool_prefix}cc; ac_word=$2
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2561 $as_echo_n "checking for $ac_word... " >&6; }
2562 if ${ac_cv_prog_CC+:} false; then :
2563 $as_echo_n "(cached) " >&6
2564 else
2565 if test -n "$CC"; then
2566 ac_cv_prog_CC="$CC" # Let the user override the test.
2567 else
2568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2569 for as_dir in $PATH
2571 IFS=$as_save_IFS
2572 test -z "$as_dir" && as_dir=.
2573 for ac_exec_ext in '' $ac_executable_extensions; do
2574 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2575 ac_cv_prog_CC="${ac_tool_prefix}cc"
2576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2577 break 2
2579 done
2580 done
2581 IFS=$as_save_IFS
2585 CC=$ac_cv_prog_CC
2586 if test -n "$CC"; then
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2588 $as_echo "$CC" >&6; }
2589 else
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2591 $as_echo "no" >&6; }
2597 if test -z "$CC"; then
2598 # Extract the first word of "cc", so it can be a program name with args.
2599 set dummy cc; ac_word=$2
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2601 $as_echo_n "checking for $ac_word... " >&6; }
2602 if ${ac_cv_prog_CC+:} false; then :
2603 $as_echo_n "(cached) " >&6
2604 else
2605 if test -n "$CC"; then
2606 ac_cv_prog_CC="$CC" # Let the user override the test.
2607 else
2608 ac_prog_rejected=no
2609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2610 for as_dir in $PATH
2612 IFS=$as_save_IFS
2613 test -z "$as_dir" && as_dir=.
2614 for ac_exec_ext in '' $ac_executable_extensions; do
2615 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2616 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2617 ac_prog_rejected=yes
2618 continue
2620 ac_cv_prog_CC="cc"
2621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2622 break 2
2624 done
2625 done
2626 IFS=$as_save_IFS
2628 if test $ac_prog_rejected = yes; then
2629 # We found a bogon in the path, so make sure we never use it.
2630 set dummy $ac_cv_prog_CC
2631 shift
2632 if test $# != 0; then
2633 # We chose a different compiler from the bogus one.
2634 # However, it has the same basename, so the bogon will be chosen
2635 # first if we set CC to just the basename; use the full file name.
2636 shift
2637 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2642 CC=$ac_cv_prog_CC
2643 if test -n "$CC"; then
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2645 $as_echo "$CC" >&6; }
2646 else
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2648 $as_echo "no" >&6; }
2653 if test -z "$CC"; then
2654 if test -n "$ac_tool_prefix"; then
2655 for ac_prog in cl.exe
2657 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2658 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2660 $as_echo_n "checking for $ac_word... " >&6; }
2661 if ${ac_cv_prog_CC+:} false; then :
2662 $as_echo_n "(cached) " >&6
2663 else
2664 if test -n "$CC"; then
2665 ac_cv_prog_CC="$CC" # Let the user override the test.
2666 else
2667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2668 for as_dir in $PATH
2670 IFS=$as_save_IFS
2671 test -z "$as_dir" && as_dir=.
2672 for ac_exec_ext in '' $ac_executable_extensions; do
2673 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2674 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2676 break 2
2678 done
2679 done
2680 IFS=$as_save_IFS
2684 CC=$ac_cv_prog_CC
2685 if test -n "$CC"; then
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2687 $as_echo "$CC" >&6; }
2688 else
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2690 $as_echo "no" >&6; }
2694 test -n "$CC" && break
2695 done
2697 if test -z "$CC"; then
2698 ac_ct_CC=$CC
2699 for ac_prog in cl.exe
2701 # Extract the first word of "$ac_prog", so it can be a program name with args.
2702 set dummy $ac_prog; ac_word=$2
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2704 $as_echo_n "checking for $ac_word... " >&6; }
2705 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2706 $as_echo_n "(cached) " >&6
2707 else
2708 if test -n "$ac_ct_CC"; then
2709 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2710 else
2711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2712 for as_dir in $PATH
2714 IFS=$as_save_IFS
2715 test -z "$as_dir" && as_dir=.
2716 for ac_exec_ext in '' $ac_executable_extensions; do
2717 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2718 ac_cv_prog_ac_ct_CC="$ac_prog"
2719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2720 break 2
2722 done
2723 done
2724 IFS=$as_save_IFS
2728 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2729 if test -n "$ac_ct_CC"; then
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2731 $as_echo "$ac_ct_CC" >&6; }
2732 else
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2734 $as_echo "no" >&6; }
2738 test -n "$ac_ct_CC" && break
2739 done
2741 if test "x$ac_ct_CC" = x; then
2742 CC=""
2743 else
2744 case $cross_compiling:$ac_tool_warned in
2745 yes:)
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2747 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2748 ac_tool_warned=yes ;;
2749 esac
2750 CC=$ac_ct_CC
2757 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2758 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2759 as_fn_error $? "no acceptable C compiler found in \$PATH
2760 See \`config.log' for more details" "$LINENO" 5; }
2762 # Provide some information about the compiler.
2763 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2764 set X $ac_compile
2765 ac_compiler=$2
2766 for ac_option in --version -v -V -qversion; do
2767 { { ac_try="$ac_compiler $ac_option >&5"
2768 case "(($ac_try" in
2769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2770 *) ac_try_echo=$ac_try;;
2771 esac
2772 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2773 $as_echo "$ac_try_echo"; } >&5
2774 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2775 ac_status=$?
2776 if test -s conftest.err; then
2777 sed '10a\
2778 ... rest of stderr output deleted ...
2779 10q' conftest.err >conftest.er1
2780 cat conftest.er1 >&5
2782 rm -f conftest.er1 conftest.err
2783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2784 test $ac_status = 0; }
2785 done
2787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2788 /* end confdefs.h. */
2791 main ()
2795 return 0;
2797 _ACEOF
2798 ac_clean_files_save=$ac_clean_files
2799 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2800 # Try to create an executable without -o first, disregard a.out.
2801 # It will help us diagnose broken compilers, and finding out an intuition
2802 # of exeext.
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2804 $as_echo_n "checking whether the C compiler works... " >&6; }
2805 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2807 # The possible output files:
2808 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2810 ac_rmfiles=
2811 for ac_file in $ac_files
2813 case $ac_file in
2814 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2815 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2816 esac
2817 done
2818 rm -f $ac_rmfiles
2820 if { { ac_try="$ac_link_default"
2821 case "(($ac_try" in
2822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2823 *) ac_try_echo=$ac_try;;
2824 esac
2825 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2826 $as_echo "$ac_try_echo"; } >&5
2827 (eval "$ac_link_default") 2>&5
2828 ac_status=$?
2829 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2830 test $ac_status = 0; }; then :
2831 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2832 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2833 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2834 # so that the user can short-circuit this test for compilers unknown to
2835 # Autoconf.
2836 for ac_file in $ac_files ''
2838 test -f "$ac_file" || continue
2839 case $ac_file in
2840 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2842 [ab].out )
2843 # We found the default executable, but exeext='' is most
2844 # certainly right.
2845 break;;
2846 *.* )
2847 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2848 then :; else
2849 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2851 # We set ac_cv_exeext here because the later test for it is not
2852 # safe: cross compilers may not add the suffix if given an `-o'
2853 # argument, so we may need to know it at that point already.
2854 # Even if this section looks crufty: it has the advantage of
2855 # actually working.
2856 break;;
2858 break;;
2859 esac
2860 done
2861 test "$ac_cv_exeext" = no && ac_cv_exeext=
2863 else
2864 ac_file=''
2866 if test -z "$ac_file"; then :
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2868 $as_echo "no" >&6; }
2869 $as_echo "$as_me: failed program was:" >&5
2870 sed 's/^/| /' conftest.$ac_ext >&5
2872 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2873 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2874 as_fn_error 77 "C compiler cannot create executables
2875 See \`config.log' for more details" "$LINENO" 5; }
2876 else
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2878 $as_echo "yes" >&6; }
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2881 $as_echo_n "checking for C compiler default output file name... " >&6; }
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2883 $as_echo "$ac_file" >&6; }
2884 ac_exeext=$ac_cv_exeext
2886 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2887 ac_clean_files=$ac_clean_files_save
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2889 $as_echo_n "checking for suffix of executables... " >&6; }
2890 if { { ac_try="$ac_link"
2891 case "(($ac_try" in
2892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2893 *) ac_try_echo=$ac_try;;
2894 esac
2895 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2896 $as_echo "$ac_try_echo"; } >&5
2897 (eval "$ac_link") 2>&5
2898 ac_status=$?
2899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2900 test $ac_status = 0; }; then :
2901 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2902 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2903 # work properly (i.e., refer to `conftest.exe'), while it won't with
2904 # `rm'.
2905 for ac_file in conftest.exe conftest conftest.*; do
2906 test -f "$ac_file" || continue
2907 case $ac_file in
2908 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2909 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2910 break;;
2911 * ) break;;
2912 esac
2913 done
2914 else
2915 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2916 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2917 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2918 See \`config.log' for more details" "$LINENO" 5; }
2920 rm -f conftest conftest$ac_cv_exeext
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2922 $as_echo "$ac_cv_exeext" >&6; }
2924 rm -f conftest.$ac_ext
2925 EXEEXT=$ac_cv_exeext
2926 ac_exeext=$EXEEXT
2927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2928 /* end confdefs.h. */
2929 #include <stdio.h>
2931 main ()
2933 FILE *f = fopen ("conftest.out", "w");
2934 return ferror (f) || fclose (f) != 0;
2937 return 0;
2939 _ACEOF
2940 ac_clean_files="$ac_clean_files conftest.out"
2941 # Check that the compiler produces executables we can run. If not, either
2942 # the compiler is broken, or we cross compile.
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2944 $as_echo_n "checking whether we are cross compiling... " >&6; }
2945 if test "$cross_compiling" != yes; then
2946 { { ac_try="$ac_link"
2947 case "(($ac_try" in
2948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2949 *) ac_try_echo=$ac_try;;
2950 esac
2951 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2952 $as_echo "$ac_try_echo"; } >&5
2953 (eval "$ac_link") 2>&5
2954 ac_status=$?
2955 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2956 test $ac_status = 0; }
2957 if { ac_try='./conftest$ac_cv_exeext'
2958 { { case "(($ac_try" in
2959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2960 *) ac_try_echo=$ac_try;;
2961 esac
2962 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2963 $as_echo "$ac_try_echo"; } >&5
2964 (eval "$ac_try") 2>&5
2965 ac_status=$?
2966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2967 test $ac_status = 0; }; }; then
2968 cross_compiling=no
2969 else
2970 if test "$cross_compiling" = maybe; then
2971 cross_compiling=yes
2972 else
2973 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2974 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2975 as_fn_error $? "cannot run C compiled programs.
2976 If you meant to cross compile, use \`--host'.
2977 See \`config.log' for more details" "$LINENO" 5; }
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2982 $as_echo "$cross_compiling" >&6; }
2984 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2985 ac_clean_files=$ac_clean_files_save
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2987 $as_echo_n "checking for suffix of object files... " >&6; }
2988 if ${ac_cv_objext+:} false; then :
2989 $as_echo_n "(cached) " >&6
2990 else
2991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2992 /* end confdefs.h. */
2995 main ()
2999 return 0;
3001 _ACEOF
3002 rm -f conftest.o conftest.obj
3003 if { { ac_try="$ac_compile"
3004 case "(($ac_try" in
3005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3006 *) ac_try_echo=$ac_try;;
3007 esac
3008 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3009 $as_echo "$ac_try_echo"; } >&5
3010 (eval "$ac_compile") 2>&5
3011 ac_status=$?
3012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3013 test $ac_status = 0; }; then :
3014 for ac_file in conftest.o conftest.obj conftest.*; do
3015 test -f "$ac_file" || continue;
3016 case $ac_file in
3017 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3018 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3019 break;;
3020 esac
3021 done
3022 else
3023 $as_echo "$as_me: failed program was:" >&5
3024 sed 's/^/| /' conftest.$ac_ext >&5
3026 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3027 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3028 as_fn_error $? "cannot compute suffix of object files: cannot compile
3029 See \`config.log' for more details" "$LINENO" 5; }
3031 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3034 $as_echo "$ac_cv_objext" >&6; }
3035 OBJEXT=$ac_cv_objext
3036 ac_objext=$OBJEXT
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3038 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3039 if ${ac_cv_c_compiler_gnu+:} false; then :
3040 $as_echo_n "(cached) " >&6
3041 else
3042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3043 /* end confdefs.h. */
3046 main ()
3048 #ifndef __GNUC__
3049 choke me
3050 #endif
3053 return 0;
3055 _ACEOF
3056 if ac_fn_c_try_compile "$LINENO"; then :
3057 ac_compiler_gnu=yes
3058 else
3059 ac_compiler_gnu=no
3061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3062 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3066 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3067 if test $ac_compiler_gnu = yes; then
3068 GCC=yes
3069 else
3070 GCC=
3072 ac_test_CFLAGS=${CFLAGS+set}
3073 ac_save_CFLAGS=$CFLAGS
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3075 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3076 if ${ac_cv_prog_cc_g+:} false; then :
3077 $as_echo_n "(cached) " >&6
3078 else
3079 ac_save_c_werror_flag=$ac_c_werror_flag
3080 ac_c_werror_flag=yes
3081 ac_cv_prog_cc_g=no
3082 CFLAGS="-g"
3083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3084 /* end confdefs.h. */
3087 main ()
3091 return 0;
3093 _ACEOF
3094 if ac_fn_c_try_compile "$LINENO"; then :
3095 ac_cv_prog_cc_g=yes
3096 else
3097 CFLAGS=""
3098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3099 /* end confdefs.h. */
3102 main ()
3106 return 0;
3108 _ACEOF
3109 if ac_fn_c_try_compile "$LINENO"; then :
3111 else
3112 ac_c_werror_flag=$ac_save_c_werror_flag
3113 CFLAGS="-g"
3114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3115 /* end confdefs.h. */
3118 main ()
3122 return 0;
3124 _ACEOF
3125 if ac_fn_c_try_compile "$LINENO"; then :
3126 ac_cv_prog_cc_g=yes
3128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3133 ac_c_werror_flag=$ac_save_c_werror_flag
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3136 $as_echo "$ac_cv_prog_cc_g" >&6; }
3137 if test "$ac_test_CFLAGS" = set; then
3138 CFLAGS=$ac_save_CFLAGS
3139 elif test $ac_cv_prog_cc_g = yes; then
3140 if test "$GCC" = yes; then
3141 CFLAGS="-g -O2"
3142 else
3143 CFLAGS="-g"
3145 else
3146 if test "$GCC" = yes; then
3147 CFLAGS="-O2"
3148 else
3149 CFLAGS=
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3153 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3154 if ${ac_cv_prog_cc_c89+:} false; then :
3155 $as_echo_n "(cached) " >&6
3156 else
3157 ac_cv_prog_cc_c89=no
3158 ac_save_CC=$CC
3159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3160 /* end confdefs.h. */
3161 #include <stdarg.h>
3162 #include <stdio.h>
3163 struct stat;
3164 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3165 struct buf { int x; };
3166 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3167 static char *e (p, i)
3168 char **p;
3169 int i;
3171 return p[i];
3173 static char *f (char * (*g) (char **, int), char **p, ...)
3175 char *s;
3176 va_list v;
3177 va_start (v,p);
3178 s = g (p, va_arg (v,int));
3179 va_end (v);
3180 return s;
3183 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3184 function prototypes and stuff, but not '\xHH' hex character constants.
3185 These don't provoke an error unfortunately, instead are silently treated
3186 as 'x'. The following induces an error, until -std is added to get
3187 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3188 array size at least. It's necessary to write '\x00'==0 to get something
3189 that's true only with -std. */
3190 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3192 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3193 inside strings and character constants. */
3194 #define FOO(x) 'x'
3195 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3197 int test (int i, double x);
3198 struct s1 {int (*f) (int a);};
3199 struct s2 {int (*f) (double a);};
3200 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3201 int argc;
3202 char **argv;
3204 main ()
3206 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3208 return 0;
3210 _ACEOF
3211 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3212 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3214 CC="$ac_save_CC $ac_arg"
3215 if ac_fn_c_try_compile "$LINENO"; then :
3216 ac_cv_prog_cc_c89=$ac_arg
3218 rm -f core conftest.err conftest.$ac_objext
3219 test "x$ac_cv_prog_cc_c89" != "xno" && break
3220 done
3221 rm -f conftest.$ac_ext
3222 CC=$ac_save_CC
3225 # AC_CACHE_VAL
3226 case "x$ac_cv_prog_cc_c89" in
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3229 $as_echo "none needed" >&6; } ;;
3230 xno)
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3232 $as_echo "unsupported" >&6; } ;;
3234 CC="$CC $ac_cv_prog_cc_c89"
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3236 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3237 esac
3238 if test "x$ac_cv_prog_cc_c89" != xno; then :
3242 ac_ext=c
3243 ac_cpp='$CPP $CPPFLAGS'
3244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3248 ac_ext=c
3249 ac_cpp='$CPP $CPPFLAGS'
3250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3254 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3255 if ${am_cv_prog_cc_c_o+:} false; then :
3256 $as_echo_n "(cached) " >&6
3257 else
3258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3259 /* end confdefs.h. */
3262 main ()
3266 return 0;
3268 _ACEOF
3269 # Make sure it works both with $CC and with simple cc.
3270 # Following AC_PROG_CC_C_O, we do the test twice because some
3271 # compilers refuse to overwrite an existing .o file with -o,
3272 # though they will create one.
3273 am_cv_prog_cc_c_o=yes
3274 for am_i in 1 2; do
3275 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3276 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3277 ac_status=$?
3278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3279 (exit $ac_status); } \
3280 && test -f conftest2.$ac_objext; then
3281 : OK
3282 else
3283 am_cv_prog_cc_c_o=no
3284 break
3286 done
3287 rm -f core conftest*
3288 unset am_i
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3291 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3292 if test "$am_cv_prog_cc_c_o" != yes; then
3293 # Losing compiler, so override with the script.
3294 # FIXME: It is wrong to rewrite CC.
3295 # But if we don't then we get into trouble of one sort or another.
3296 # A longer-term fix would be to have automake use am__CC in this case,
3297 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3298 CC="$am_aux_dir/compile $CC"
3300 ac_ext=c
3301 ac_cpp='$CPP $CPPFLAGS'
3302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3306 DEPDIR="${am__leading_dot}deps"
3308 ac_config_commands="$ac_config_commands depfiles"
3311 am_make=${MAKE-make}
3312 cat > confinc << 'END'
3313 am__doit:
3314 @echo this is the am__doit target
3315 .PHONY: am__doit
3317 # If we don't find an include directive, just comment out the code.
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3319 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3320 am__include="#"
3321 am__quote=
3322 _am_result=none
3323 # First try GNU make style include.
3324 echo "include confinc" > confmf
3325 # Ignore all kinds of additional output from 'make'.
3326 case `$am_make -s -f confmf 2> /dev/null` in #(
3327 *the\ am__doit\ target*)
3328 am__include=include
3329 am__quote=
3330 _am_result=GNU
3332 esac
3333 # Now try BSD make style include.
3334 if test "$am__include" = "#"; then
3335 echo '.include "confinc"' > confmf
3336 case `$am_make -s -f confmf 2> /dev/null` in #(
3337 *the\ am__doit\ target*)
3338 am__include=.include
3339 am__quote="\""
3340 _am_result=BSD
3342 esac
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3347 $as_echo "$_am_result" >&6; }
3348 rm -f confinc confmf
3350 # Check whether --enable-dependency-tracking was given.
3351 if test "${enable_dependency_tracking+set}" = set; then :
3352 enableval=$enable_dependency_tracking;
3355 if test "x$enable_dependency_tracking" != xno; then
3356 am_depcomp="$ac_aux_dir/depcomp"
3357 AMDEPBACKSLASH='\'
3358 am__nodep='_no'
3360 if test "x$enable_dependency_tracking" != xno; then
3361 AMDEP_TRUE=
3362 AMDEP_FALSE='#'
3363 else
3364 AMDEP_TRUE='#'
3365 AMDEP_FALSE=
3370 depcc="$CC" am_compiler_list=
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3373 $as_echo_n "checking dependency style of $depcc... " >&6; }
3374 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3375 $as_echo_n "(cached) " >&6
3376 else
3377 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3378 # We make a subdir and do the tests there. Otherwise we can end up
3379 # making bogus files that we don't know about and never remove. For
3380 # instance it was reported that on HP-UX the gcc test will end up
3381 # making a dummy file named 'D' -- because '-MD' means "put the output
3382 # in D".
3383 rm -rf conftest.dir
3384 mkdir conftest.dir
3385 # Copy depcomp to subdir because otherwise we won't find it if we're
3386 # using a relative directory.
3387 cp "$am_depcomp" conftest.dir
3388 cd conftest.dir
3389 # We will build objects and dependencies in a subdirectory because
3390 # it helps to detect inapplicable dependency modes. For instance
3391 # both Tru64's cc and ICC support -MD to output dependencies as a
3392 # side effect of compilation, but ICC will put the dependencies in
3393 # the current directory while Tru64 will put them in the object
3394 # directory.
3395 mkdir sub
3397 am_cv_CC_dependencies_compiler_type=none
3398 if test "$am_compiler_list" = ""; then
3399 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3401 am__universal=false
3402 case " $depcc " in #(
3403 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3404 esac
3406 for depmode in $am_compiler_list; do
3407 # Setup a source with many dependencies, because some compilers
3408 # like to wrap large dependency lists on column 80 (with \), and
3409 # we should not choose a depcomp mode which is confused by this.
3411 # We need to recreate these files for each test, as the compiler may
3412 # overwrite some of them when testing with obscure command lines.
3413 # This happens at least with the AIX C compiler.
3414 : > sub/conftest.c
3415 for i in 1 2 3 4 5 6; do
3416 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3417 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3418 # Solaris 10 /bin/sh.
3419 echo '/* dummy */' > sub/conftst$i.h
3420 done
3421 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3423 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3424 # mode. It turns out that the SunPro C++ compiler does not properly
3425 # handle '-M -o', and we need to detect this. Also, some Intel
3426 # versions had trouble with output in subdirs.
3427 am__obj=sub/conftest.${OBJEXT-o}
3428 am__minus_obj="-o $am__obj"
3429 case $depmode in
3430 gcc)
3431 # This depmode causes a compiler race in universal mode.
3432 test "$am__universal" = false || continue
3434 nosideeffect)
3435 # After this tag, mechanisms are not by side-effect, so they'll
3436 # only be used when explicitly requested.
3437 if test "x$enable_dependency_tracking" = xyes; then
3438 continue
3439 else
3440 break
3443 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3444 # This compiler won't grok '-c -o', but also, the minuso test has
3445 # not run yet. These depmodes are late enough in the game, and
3446 # so weak that their functioning should not be impacted.
3447 am__obj=conftest.${OBJEXT-o}
3448 am__minus_obj=
3450 none) break ;;
3451 esac
3452 if depmode=$depmode \
3453 source=sub/conftest.c object=$am__obj \
3454 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3455 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3456 >/dev/null 2>conftest.err &&
3457 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3458 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3459 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3460 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3461 # icc doesn't choke on unknown options, it will just issue warnings
3462 # or remarks (even with -Werror). So we grep stderr for any message
3463 # that says an option was ignored or not supported.
3464 # When given -MP, icc 7.0 and 7.1 complain thusly:
3465 # icc: Command line warning: ignoring option '-M'; no argument required
3466 # The diagnosis changed in icc 8.0:
3467 # icc: Command line remark: option '-MP' not supported
3468 if (grep 'ignoring option' conftest.err ||
3469 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3470 am_cv_CC_dependencies_compiler_type=$depmode
3471 break
3474 done
3476 cd ..
3477 rm -rf conftest.dir
3478 else
3479 am_cv_CC_dependencies_compiler_type=none
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3484 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3485 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3488 test "x$enable_dependency_tracking" != xno \
3489 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3490 am__fastdepCC_TRUE=
3491 am__fastdepCC_FALSE='#'
3492 else
3493 am__fastdepCC_TRUE='#'
3494 am__fastdepCC_FALSE=
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3500 $as_echo_n "checking whether ln -s works... " >&6; }
3501 LN_S=$as_ln_s
3502 if test "$LN_S" = "ln -s"; then
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3504 $as_echo "yes" >&6; }
3505 else
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3507 $as_echo "no, using $LN_S" >&6; }
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3511 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3512 set x ${MAKE-make}
3513 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3514 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3515 $as_echo_n "(cached) " >&6
3516 else
3517 cat >conftest.make <<\_ACEOF
3518 SHELL = /bin/sh
3519 all:
3520 @echo '@@@%%%=$(MAKE)=@@@%%%'
3521 _ACEOF
3522 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3523 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3524 *@@@%%%=?*=@@@%%%*)
3525 eval ac_cv_prog_make_${ac_make}_set=yes;;
3527 eval ac_cv_prog_make_${ac_make}_set=no;;
3528 esac
3529 rm -f conftest.make
3531 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3533 $as_echo "yes" >&6; }
3534 SET_MAKE=
3535 else
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3537 $as_echo "no" >&6; }
3538 SET_MAKE="MAKE=${MAKE-make}"
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native WIN32 or MINGW32" >&5
3544 $as_echo_n "checking for native WIN32 or MINGW32... " >&6; }
3545 if ${kpse_cv_have_win32+:} false; then :
3546 $as_echo_n "(cached) " >&6
3547 else
3548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3549 /* end confdefs.h. */
3550 #ifndef WIN32
3551 choke me
3552 #endif
3554 main ()
3558 return 0;
3560 _ACEOF
3561 if ac_fn_c_try_compile "$LINENO"; then :
3562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3563 /* end confdefs.h. */
3564 #ifndef __MINGW32__
3565 choke me
3566 #endif
3568 main ()
3572 return 0;
3574 _ACEOF
3575 if ac_fn_c_try_compile "$LINENO"; then :
3576 kpse_cv_have_win32=mingw32
3577 else
3578 kpse_cv_have_win32=native
3580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3581 else
3582 kpse_cv_have_win32=no
3584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_win32" >&5
3587 $as_echo "$kpse_cv_have_win32" >&6; }
3589 if test "x$kpse_cv_have_win32" != xno; then
3590 WIN32_TRUE=
3591 WIN32_FALSE='#'
3592 else
3593 WIN32_TRUE='#'
3594 WIN32_FALSE=
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WIN64" >&5
3599 $as_echo_n "checking for WIN64... " >&6; }
3600 if ${kpse_cv_have_win64+:} false; then :
3601 $as_echo_n "(cached) " >&6
3602 else
3603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3604 /* end confdefs.h. */
3605 #ifndef _WIN64
3606 choke me
3607 #endif
3609 main ()
3613 return 0;
3615 _ACEOF
3616 if ac_fn_c_try_compile "$LINENO"; then :
3617 kpse_cv_have_win64=yes
3618 else
3619 kpse_cv_have_win64=no
3621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_win64" >&5
3624 $as_echo "$kpse_cv_have_win64" >&6; }
3625 case $kpse_cv_have_win64 in #(
3626 yes) :
3627 WIN_WRAPPER=w64_wrapper ;; #(
3628 *) :
3629 WIN_WRAPPER=w32_wrapper ;;
3630 esac
3632 if test -r "$srcdir/../../texk/texlive/$WIN_WRAPPER/runscript.exe"; then
3633 WIN32_WRAP_TRUE=
3634 WIN32_WRAP_FALSE='#'
3635 else
3636 WIN32_WRAP_TRUE='#'
3637 WIN32_WRAP_FALSE=
3642 ac_config_files="$ac_config_files Makefile linked_scripts/Makefile tl_scripts/Makefile"
3645 cat >confcache <<\_ACEOF
3646 # This file is a shell script that caches the results of configure
3647 # tests run on this system so they can be shared between configure
3648 # scripts and configure runs, see configure's option --config-cache.
3649 # It is not useful on other systems. If it contains results you don't
3650 # want to keep, you may remove or edit it.
3652 # config.status only pays attention to the cache file if you give it
3653 # the --recheck option to rerun configure.
3655 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3656 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3657 # following values.
3659 _ACEOF
3661 # The following way of writing the cache mishandles newlines in values,
3662 # but we know of no workaround that is simple, portable, and efficient.
3663 # So, we kill variables containing newlines.
3664 # Ultrix sh set writes to stderr and can't be redirected directly,
3665 # and sets the high bit in the cache file unless we assign to the vars.
3667 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3668 eval ac_val=\$$ac_var
3669 case $ac_val in #(
3670 *${as_nl}*)
3671 case $ac_var in #(
3672 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3673 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3674 esac
3675 case $ac_var in #(
3676 _ | IFS | as_nl) ;; #(
3677 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3678 *) { eval $ac_var=; unset $ac_var;} ;;
3679 esac ;;
3680 esac
3681 done
3683 (set) 2>&1 |
3684 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3685 *${as_nl}ac_space=\ *)
3686 # `set' does not quote correctly, so add quotes: double-quote
3687 # substitution turns \\\\ into \\, and sed turns \\ into \.
3688 sed -n \
3689 "s/'/'\\\\''/g;
3690 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3691 ;; #(
3693 # `set' quotes correctly as required by POSIX, so do not add quotes.
3694 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3696 esac |
3697 sort
3699 sed '
3700 /^ac_cv_env_/b end
3701 t clear
3702 :clear
3703 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3704 t end
3705 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3706 :end' >>confcache
3707 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3708 if test -w "$cache_file"; then
3709 if test "x$cache_file" != "x/dev/null"; then
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3711 $as_echo "$as_me: updating cache $cache_file" >&6;}
3712 if test ! -f "$cache_file" || test -h "$cache_file"; then
3713 cat confcache >"$cache_file"
3714 else
3715 case $cache_file in #(
3716 */* | ?:*)
3717 mv -f confcache "$cache_file"$$ &&
3718 mv -f "$cache_file"$$ "$cache_file" ;; #(
3720 mv -f confcache "$cache_file" ;;
3721 esac
3724 else
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3726 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3729 rm -f confcache
3731 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3732 # Let make expand exec_prefix.
3733 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3735 # Transform confdefs.h into DEFS.
3736 # Protect against shell expansion while executing Makefile rules.
3737 # Protect against Makefile macro expansion.
3739 # If the first sed substitution is executed (which looks for macros that
3740 # take arguments), then branch to the quote section. Otherwise,
3741 # look for a macro that doesn't take arguments.
3742 ac_script='
3743 :mline
3744 /\\$/{
3746 s,\\\n,,
3747 b mline
3749 t clear
3750 :clear
3751 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3752 t quote
3753 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3754 t quote
3755 b any
3756 :quote
3757 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3758 s/\[/\\&/g
3759 s/\]/\\&/g
3760 s/\$/$$/g
3762 :any
3765 s/^\n//
3766 s/\n/ /g
3770 DEFS=`sed -n "$ac_script" confdefs.h`
3773 ac_libobjs=
3774 ac_ltlibobjs=
3776 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3777 # 1. Remove the extension, and $U if already installed.
3778 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3779 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3780 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3781 # will be set to the directory where LIBOBJS objects are built.
3782 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3783 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3784 done
3785 LIBOBJS=$ac_libobjs
3787 LTLIBOBJS=$ac_ltlibobjs
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
3791 $as_echo_n "checking that generated files are newer than configure... " >&6; }
3792 if test -n "$am_sleep_pid"; then
3793 # Hide warnings about reused PIDs.
3794 wait $am_sleep_pid 2>/dev/null
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
3797 $as_echo "done" >&6; }
3798 if test -n "$EXEEXT"; then
3799 am__EXEEXT_TRUE=
3800 am__EXEEXT_FALSE='#'
3801 else
3802 am__EXEEXT_TRUE='#'
3803 am__EXEEXT_FALSE=
3806 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
3807 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
3808 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3810 if test -z "${LINKED_SCRIPTS_TRUE}" && test -z "${LINKED_SCRIPTS_FALSE}"; then
3811 as_fn_error $? "conditional \"LINKED_SCRIPTS\" was never defined.
3812 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3814 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3815 as_fn_error $? "conditional \"AMDEP\" was never defined.
3816 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3818 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3819 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
3820 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3822 if test -z "${WIN32_TRUE}" && test -z "${WIN32_FALSE}"; then
3823 as_fn_error $? "conditional \"WIN32\" was never defined.
3824 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3826 if test -z "${WIN32_WRAP_TRUE}" && test -z "${WIN32_WRAP_FALSE}"; then
3827 as_fn_error $? "conditional \"WIN32_WRAP\" was never defined.
3828 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3831 : "${CONFIG_STATUS=./config.status}"
3832 ac_write_fail=0
3833 ac_clean_files_save=$ac_clean_files
3834 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3836 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3837 as_write_fail=0
3838 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3839 #! $SHELL
3840 # Generated by $as_me.
3841 # Run this file to recreate the current configuration.
3842 # Compiler output produced by configure, useful for debugging
3843 # configure, is in config.log if it exists.
3845 debug=false
3846 ac_cs_recheck=false
3847 ac_cs_silent=false
3849 SHELL=\${CONFIG_SHELL-$SHELL}
3850 export SHELL
3851 _ASEOF
3852 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3853 ## -------------------- ##
3854 ## M4sh Initialization. ##
3855 ## -------------------- ##
3857 # Be more Bourne compatible
3858 DUALCASE=1; export DUALCASE # for MKS sh
3859 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3860 emulate sh
3861 NULLCMD=:
3862 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3863 # is contrary to our usage. Disable this feature.
3864 alias -g '${1+"$@"}'='"$@"'
3865 setopt NO_GLOB_SUBST
3866 else
3867 case `(set -o) 2>/dev/null` in #(
3868 *posix*) :
3869 set -o posix ;; #(
3870 *) :
3872 esac
3876 as_nl='
3878 export as_nl
3879 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3880 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3881 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3882 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3883 # Prefer a ksh shell builtin over an external printf program on Solaris,
3884 # but without wasting forks for bash or zsh.
3885 if test -z "$BASH_VERSION$ZSH_VERSION" \
3886 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3887 as_echo='print -r --'
3888 as_echo_n='print -rn --'
3889 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3890 as_echo='printf %s\n'
3891 as_echo_n='printf %s'
3892 else
3893 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3894 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3895 as_echo_n='/usr/ucb/echo -n'
3896 else
3897 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3898 as_echo_n_body='eval
3899 arg=$1;
3900 case $arg in #(
3901 *"$as_nl"*)
3902 expr "X$arg" : "X\\(.*\\)$as_nl";
3903 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3904 esac;
3905 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3907 export as_echo_n_body
3908 as_echo_n='sh -c $as_echo_n_body as_echo'
3910 export as_echo_body
3911 as_echo='sh -c $as_echo_body as_echo'
3914 # The user is always right.
3915 if test "${PATH_SEPARATOR+set}" != set; then
3916 PATH_SEPARATOR=:
3917 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3918 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3919 PATH_SEPARATOR=';'
3924 # IFS
3925 # We need space, tab and new line, in precisely that order. Quoting is
3926 # there to prevent editors from complaining about space-tab.
3927 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3928 # splitting by setting IFS to empty value.)
3929 IFS=" "" $as_nl"
3931 # Find who we are. Look in the path if we contain no directory separator.
3932 as_myself=
3933 case $0 in #((
3934 *[\\/]* ) as_myself=$0 ;;
3935 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3936 for as_dir in $PATH
3938 IFS=$as_save_IFS
3939 test -z "$as_dir" && as_dir=.
3940 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3941 done
3942 IFS=$as_save_IFS
3945 esac
3946 # We did not find ourselves, most probably we were run as `sh COMMAND'
3947 # in which case we are not to be found in the path.
3948 if test "x$as_myself" = x; then
3949 as_myself=$0
3951 if test ! -f "$as_myself"; then
3952 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3953 exit 1
3956 # Unset variables that we do not need and which cause bugs (e.g. in
3957 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3958 # suppresses any "Segmentation fault" message there. '((' could
3959 # trigger a bug in pdksh 5.2.14.
3960 for as_var in BASH_ENV ENV MAIL MAILPATH
3961 do eval test x\${$as_var+set} = xset \
3962 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3963 done
3964 PS1='$ '
3965 PS2='> '
3966 PS4='+ '
3968 # NLS nuisances.
3969 LC_ALL=C
3970 export LC_ALL
3971 LANGUAGE=C
3972 export LANGUAGE
3974 # CDPATH.
3975 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3978 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3979 # ----------------------------------------
3980 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3981 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3982 # script with STATUS, using 1 if that was 0.
3983 as_fn_error ()
3985 as_status=$1; test $as_status -eq 0 && as_status=1
3986 if test "$4"; then
3987 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3988 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3990 $as_echo "$as_me: error: $2" >&2
3991 as_fn_exit $as_status
3992 } # as_fn_error
3995 # as_fn_set_status STATUS
3996 # -----------------------
3997 # Set $? to STATUS, without forking.
3998 as_fn_set_status ()
4000 return $1
4001 } # as_fn_set_status
4003 # as_fn_exit STATUS
4004 # -----------------
4005 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4006 as_fn_exit ()
4008 set +e
4009 as_fn_set_status $1
4010 exit $1
4011 } # as_fn_exit
4013 # as_fn_unset VAR
4014 # ---------------
4015 # Portably unset VAR.
4016 as_fn_unset ()
4018 { eval $1=; unset $1;}
4020 as_unset=as_fn_unset
4021 # as_fn_append VAR VALUE
4022 # ----------------------
4023 # Append the text in VALUE to the end of the definition contained in VAR. Take
4024 # advantage of any shell optimizations that allow amortized linear growth over
4025 # repeated appends, instead of the typical quadratic growth present in naive
4026 # implementations.
4027 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4028 eval 'as_fn_append ()
4030 eval $1+=\$2
4032 else
4033 as_fn_append ()
4035 eval $1=\$$1\$2
4037 fi # as_fn_append
4039 # as_fn_arith ARG...
4040 # ------------------
4041 # Perform arithmetic evaluation on the ARGs, and store the result in the
4042 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4043 # must be portable across $(()) and expr.
4044 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4045 eval 'as_fn_arith ()
4047 as_val=$(( $* ))
4049 else
4050 as_fn_arith ()
4052 as_val=`expr "$@" || test $? -eq 1`
4054 fi # as_fn_arith
4057 if expr a : '\(a\)' >/dev/null 2>&1 &&
4058 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4059 as_expr=expr
4060 else
4061 as_expr=false
4064 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4065 as_basename=basename
4066 else
4067 as_basename=false
4070 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4071 as_dirname=dirname
4072 else
4073 as_dirname=false
4076 as_me=`$as_basename -- "$0" ||
4077 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4078 X"$0" : 'X\(//\)$' \| \
4079 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4080 $as_echo X/"$0" |
4081 sed '/^.*\/\([^/][^/]*\)\/*$/{
4082 s//\1/
4085 /^X\/\(\/\/\)$/{
4086 s//\1/
4089 /^X\/\(\/\).*/{
4090 s//\1/
4093 s/.*/./; q'`
4095 # Avoid depending upon Character Ranges.
4096 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4097 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4098 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4099 as_cr_digits='0123456789'
4100 as_cr_alnum=$as_cr_Letters$as_cr_digits
4102 ECHO_C= ECHO_N= ECHO_T=
4103 case `echo -n x` in #(((((
4104 -n*)
4105 case `echo 'xy\c'` in
4106 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4107 xy) ECHO_C='\c';;
4108 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4109 ECHO_T=' ';;
4110 esac;;
4112 ECHO_N='-n';;
4113 esac
4115 rm -f conf$$ conf$$.exe conf$$.file
4116 if test -d conf$$.dir; then
4117 rm -f conf$$.dir/conf$$.file
4118 else
4119 rm -f conf$$.dir
4120 mkdir conf$$.dir 2>/dev/null
4122 if (echo >conf$$.file) 2>/dev/null; then
4123 if ln -s conf$$.file conf$$ 2>/dev/null; then
4124 as_ln_s='ln -s'
4125 # ... but there are two gotchas:
4126 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4127 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4128 # In both cases, we have to default to `cp -pR'.
4129 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4130 as_ln_s='cp -pR'
4131 elif ln conf$$.file conf$$ 2>/dev/null; then
4132 as_ln_s=ln
4133 else
4134 as_ln_s='cp -pR'
4136 else
4137 as_ln_s='cp -pR'
4139 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4140 rmdir conf$$.dir 2>/dev/null
4143 # as_fn_mkdir_p
4144 # -------------
4145 # Create "$as_dir" as a directory, including parents if necessary.
4146 as_fn_mkdir_p ()
4149 case $as_dir in #(
4150 -*) as_dir=./$as_dir;;
4151 esac
4152 test -d "$as_dir" || eval $as_mkdir_p || {
4153 as_dirs=
4154 while :; do
4155 case $as_dir in #(
4156 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4157 *) as_qdir=$as_dir;;
4158 esac
4159 as_dirs="'$as_qdir' $as_dirs"
4160 as_dir=`$as_dirname -- "$as_dir" ||
4161 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4162 X"$as_dir" : 'X\(//\)[^/]' \| \
4163 X"$as_dir" : 'X\(//\)$' \| \
4164 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4165 $as_echo X"$as_dir" |
4166 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4167 s//\1/
4170 /^X\(\/\/\)[^/].*/{
4171 s//\1/
4174 /^X\(\/\/\)$/{
4175 s//\1/
4178 /^X\(\/\).*/{
4179 s//\1/
4182 s/.*/./; q'`
4183 test -d "$as_dir" && break
4184 done
4185 test -z "$as_dirs" || eval "mkdir $as_dirs"
4186 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4189 } # as_fn_mkdir_p
4190 if mkdir -p . 2>/dev/null; then
4191 as_mkdir_p='mkdir -p "$as_dir"'
4192 else
4193 test -d ./-p && rmdir ./-p
4194 as_mkdir_p=false
4198 # as_fn_executable_p FILE
4199 # -----------------------
4200 # Test if FILE is an executable regular file.
4201 as_fn_executable_p ()
4203 test -f "$1" && test -x "$1"
4204 } # as_fn_executable_p
4205 as_test_x='test -x'
4206 as_executable_p=as_fn_executable_p
4208 # Sed expression to map a string onto a valid CPP name.
4209 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4211 # Sed expression to map a string onto a valid variable name.
4212 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4215 exec 6>&1
4216 ## ----------------------------------- ##
4217 ## Main body of $CONFIG_STATUS script. ##
4218 ## ----------------------------------- ##
4219 _ASEOF
4220 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4222 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4223 # Save the log message, to keep $0 and so on meaningful, and to
4224 # report actual input values of CONFIG_FILES etc. instead of their
4225 # values after options handling.
4226 ac_log="
4227 This file was extended by TeX Live Scripts $as_me 2016/dev, which was
4228 generated by GNU Autoconf 2.69. Invocation command line was
4230 CONFIG_FILES = $CONFIG_FILES
4231 CONFIG_HEADERS = $CONFIG_HEADERS
4232 CONFIG_LINKS = $CONFIG_LINKS
4233 CONFIG_COMMANDS = $CONFIG_COMMANDS
4234 $ $0 $@
4236 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4239 _ACEOF
4241 case $ac_config_files in *"
4242 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4243 esac
4247 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4248 # Files that config.status was made for.
4249 config_files="$ac_config_files"
4250 config_commands="$ac_config_commands"
4252 _ACEOF
4254 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4255 ac_cs_usage="\
4256 \`$as_me' instantiates files and other configuration actions
4257 from templates according to the current configuration. Unless the files
4258 and actions are specified as TAGs, all are instantiated by default.
4260 Usage: $0 [OPTION]... [TAG]...
4262 -h, --help print this help, then exit
4263 -V, --version print version number and configuration settings, then exit
4264 --config print configuration, then exit
4265 -q, --quiet, --silent
4266 do not print progress messages
4267 -d, --debug don't remove temporary files
4268 --recheck update $as_me by reconfiguring in the same conditions
4269 --file=FILE[:TEMPLATE]
4270 instantiate the configuration file FILE
4272 Configuration files:
4273 $config_files
4275 Configuration commands:
4276 $config_commands
4278 Report bugs to <tex-k@tug.org>."
4280 _ACEOF
4281 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4282 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4283 ac_cs_version="\\
4284 TeX Live Scripts config.status 2016/dev
4285 configured by $0, generated by GNU Autoconf 2.69,
4286 with options \\"\$ac_cs_config\\"
4288 Copyright (C) 2012 Free Software Foundation, Inc.
4289 This config.status script is free software; the Free Software Foundation
4290 gives unlimited permission to copy, distribute and modify it."
4292 ac_pwd='$ac_pwd'
4293 srcdir='$srcdir'
4294 INSTALL='$INSTALL'
4295 MKDIR_P='$MKDIR_P'
4296 AWK='$AWK'
4297 test -n "\$AWK" || AWK=awk
4298 _ACEOF
4300 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4301 # The default lists apply if the user does not specify any file.
4302 ac_need_defaults=:
4303 while test $# != 0
4305 case $1 in
4306 --*=?*)
4307 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4308 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4309 ac_shift=:
4311 --*=)
4312 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4313 ac_optarg=
4314 ac_shift=:
4317 ac_option=$1
4318 ac_optarg=$2
4319 ac_shift=shift
4321 esac
4323 case $ac_option in
4324 # Handling of the options.
4325 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4326 ac_cs_recheck=: ;;
4327 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4328 $as_echo "$ac_cs_version"; exit ;;
4329 --config | --confi | --conf | --con | --co | --c )
4330 $as_echo "$ac_cs_config"; exit ;;
4331 --debug | --debu | --deb | --de | --d | -d )
4332 debug=: ;;
4333 --file | --fil | --fi | --f )
4334 $ac_shift
4335 case $ac_optarg in
4336 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4337 '') as_fn_error $? "missing file argument" ;;
4338 esac
4339 as_fn_append CONFIG_FILES " '$ac_optarg'"
4340 ac_need_defaults=false;;
4341 --he | --h | --help | --hel | -h )
4342 $as_echo "$ac_cs_usage"; exit ;;
4343 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4344 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4345 ac_cs_silent=: ;;
4347 # This is an error.
4348 -*) as_fn_error $? "unrecognized option: \`$1'
4349 Try \`$0 --help' for more information." ;;
4351 *) as_fn_append ac_config_targets " $1"
4352 ac_need_defaults=false ;;
4354 esac
4355 shift
4356 done
4358 ac_configure_extra_args=
4360 if $ac_cs_silent; then
4361 exec 6>/dev/null
4362 ac_configure_extra_args="$ac_configure_extra_args --silent"
4365 _ACEOF
4366 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4367 if \$ac_cs_recheck; then
4368 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4369 shift
4370 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4371 CONFIG_SHELL='$SHELL'
4372 export CONFIG_SHELL
4373 exec "\$@"
4376 _ACEOF
4377 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4378 exec 5>>config.log
4380 echo
4381 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4382 ## Running $as_me. ##
4383 _ASBOX
4384 $as_echo "$ac_log"
4385 } >&5
4387 _ACEOF
4388 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4390 # INIT-COMMANDS
4392 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4394 _ACEOF
4396 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4398 # Handling of arguments.
4399 for ac_config_target in $ac_config_targets
4401 case $ac_config_target in
4402 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4403 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4404 "linked_scripts/Makefile") CONFIG_FILES="$CONFIG_FILES linked_scripts/Makefile" ;;
4405 "tl_scripts/Makefile") CONFIG_FILES="$CONFIG_FILES tl_scripts/Makefile" ;;
4407 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4408 esac
4409 done
4412 # If the user did not use the arguments to specify the items to instantiate,
4413 # then the envvar interface is used. Set only those that are not.
4414 # We use the long form for the default assignment because of an extremely
4415 # bizarre bug on SunOS 4.1.3.
4416 if $ac_need_defaults; then
4417 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4418 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4421 # Have a temporary directory for convenience. Make it in the build tree
4422 # simply because there is no reason against having it here, and in addition,
4423 # creating and moving files from /tmp can sometimes cause problems.
4424 # Hook for its removal unless debugging.
4425 # Note that there is a small window in which the directory will not be cleaned:
4426 # after its creation but before its name has been assigned to `$tmp'.
4427 $debug ||
4429 tmp= ac_tmp=
4430 trap 'exit_status=$?
4431 : "${ac_tmp:=$tmp}"
4432 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4434 trap 'as_fn_exit 1' 1 2 13 15
4436 # Create a (secure) tmp directory for tmp files.
4439 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4440 test -d "$tmp"
4441 } ||
4443 tmp=./conf$$-$RANDOM
4444 (umask 077 && mkdir "$tmp")
4445 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4446 ac_tmp=$tmp
4448 # Set up the scripts for CONFIG_FILES section.
4449 # No need to generate them if there are no CONFIG_FILES.
4450 # This happens for instance with `./config.status config.h'.
4451 if test -n "$CONFIG_FILES"; then
4454 ac_cr=`echo X | tr X '\015'`
4455 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4456 # But we know of no other shell where ac_cr would be empty at this
4457 # point, so we can use a bashism as a fallback.
4458 if test "x$ac_cr" = x; then
4459 eval ac_cr=\$\'\\r\'
4461 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4462 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4463 ac_cs_awk_cr='\\r'
4464 else
4465 ac_cs_awk_cr=$ac_cr
4468 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4469 _ACEOF
4473 echo "cat >conf$$subs.awk <<_ACEOF" &&
4474 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4475 echo "_ACEOF"
4476 } >conf$$subs.sh ||
4477 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4478 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4479 ac_delim='%!_!# '
4480 for ac_last_try in false false false false false :; do
4481 . ./conf$$subs.sh ||
4482 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4484 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4485 if test $ac_delim_n = $ac_delim_num; then
4486 break
4487 elif $ac_last_try; then
4488 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4489 else
4490 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4492 done
4493 rm -f conf$$subs.sh
4495 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4496 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4497 _ACEOF
4498 sed -n '
4500 s/^/S["/; s/!.*/"]=/
4503 s/^[^!]*!//
4504 :repl
4505 t repl
4506 s/'"$ac_delim"'$//
4507 t delim
4510 s/\(.\{148\}\)..*/\1/
4511 t more1
4512 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4515 b repl
4516 :more1
4517 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4520 s/.\{148\}//
4521 t nl
4522 :delim
4524 s/\(.\{148\}\)..*/\1/
4525 t more2
4526 s/["\\]/\\&/g; s/^/"/; s/$/"/
4529 :more2
4530 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4533 s/.\{148\}//
4534 t delim
4535 ' <conf$$subs.awk | sed '
4536 /^[^""]/{
4538 s/\n//
4540 ' >>$CONFIG_STATUS || ac_write_fail=1
4541 rm -f conf$$subs.awk
4542 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4543 _ACAWK
4544 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4545 for (key in S) S_is_set[key] = 1
4546 FS = "\a"
4550 line = $ 0
4551 nfields = split(line, field, "@")
4552 substed = 0
4553 len = length(field[1])
4554 for (i = 2; i < nfields; i++) {
4555 key = field[i]
4556 keylen = length(key)
4557 if (S_is_set[key]) {
4558 value = S[key]
4559 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4560 len += length(value) + length(field[++i])
4561 substed = 1
4562 } else
4563 len += 1 + keylen
4566 print line
4569 _ACAWK
4570 _ACEOF
4571 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4572 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4573 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4574 else
4576 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4577 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4578 _ACEOF
4580 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4581 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4582 # trailing colons and then remove the whole line if VPATH becomes empty
4583 # (actually we leave an empty line to preserve line numbers).
4584 if test "x$srcdir" = x.; then
4585 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4587 s///
4588 s/^/:/
4589 s/[ ]*$/:/
4590 s/:\$(srcdir):/:/g
4591 s/:\${srcdir}:/:/g
4592 s/:@srcdir@:/:/g
4593 s/^:*//
4594 s/:*$//
4596 s/\(=[ ]*\).*/\1/
4598 s/\n//
4599 s/^[^=]*=[ ]*$//
4603 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4604 fi # test -n "$CONFIG_FILES"
4607 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
4608 shift
4609 for ac_tag
4611 case $ac_tag in
4612 :[FHLC]) ac_mode=$ac_tag; continue;;
4613 esac
4614 case $ac_mode$ac_tag in
4615 :[FHL]*:*);;
4616 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4617 :[FH]-) ac_tag=-:-;;
4618 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4619 esac
4620 ac_save_IFS=$IFS
4621 IFS=:
4622 set x $ac_tag
4623 IFS=$ac_save_IFS
4624 shift
4625 ac_file=$1
4626 shift
4628 case $ac_mode in
4629 :L) ac_source=$1;;
4630 :[FH])
4631 ac_file_inputs=
4632 for ac_f
4634 case $ac_f in
4635 -) ac_f="$ac_tmp/stdin";;
4636 *) # Look for the file first in the build tree, then in the source tree
4637 # (if the path is not absolute). The absolute path cannot be DOS-style,
4638 # because $ac_f cannot contain `:'.
4639 test -f "$ac_f" ||
4640 case $ac_f in
4641 [\\/$]*) false;;
4642 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4643 esac ||
4644 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4645 esac
4646 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4647 as_fn_append ac_file_inputs " '$ac_f'"
4648 done
4650 # Let's still pretend it is `configure' which instantiates (i.e., don't
4651 # use $as_me), people would be surprised to read:
4652 # /* config.h. Generated by config.status. */
4653 configure_input='Generated from '`
4654 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4655 `' by configure.'
4656 if test x"$ac_file" != x-; then
4657 configure_input="$ac_file. $configure_input"
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4659 $as_echo "$as_me: creating $ac_file" >&6;}
4661 # Neutralize special characters interpreted by sed in replacement strings.
4662 case $configure_input in #(
4663 *\&* | *\|* | *\\* )
4664 ac_sed_conf_input=`$as_echo "$configure_input" |
4665 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4666 *) ac_sed_conf_input=$configure_input;;
4667 esac
4669 case $ac_tag in
4670 *:-:* | *:-) cat >"$ac_tmp/stdin" \
4671 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4672 esac
4674 esac
4676 ac_dir=`$as_dirname -- "$ac_file" ||
4677 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4678 X"$ac_file" : 'X\(//\)[^/]' \| \
4679 X"$ac_file" : 'X\(//\)$' \| \
4680 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4681 $as_echo X"$ac_file" |
4682 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4683 s//\1/
4686 /^X\(\/\/\)[^/].*/{
4687 s//\1/
4690 /^X\(\/\/\)$/{
4691 s//\1/
4694 /^X\(\/\).*/{
4695 s//\1/
4698 s/.*/./; q'`
4699 as_dir="$ac_dir"; as_fn_mkdir_p
4700 ac_builddir=.
4702 case "$ac_dir" in
4703 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4705 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4706 # A ".." for each directory in $ac_dir_suffix.
4707 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4708 case $ac_top_builddir_sub in
4709 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4710 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4711 esac ;;
4712 esac
4713 ac_abs_top_builddir=$ac_pwd
4714 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4715 # for backward compatibility:
4716 ac_top_builddir=$ac_top_build_prefix
4718 case $srcdir in
4719 .) # We are building in place.
4720 ac_srcdir=.
4721 ac_top_srcdir=$ac_top_builddir_sub
4722 ac_abs_top_srcdir=$ac_pwd ;;
4723 [\\/]* | ?:[\\/]* ) # Absolute name.
4724 ac_srcdir=$srcdir$ac_dir_suffix;
4725 ac_top_srcdir=$srcdir
4726 ac_abs_top_srcdir=$srcdir ;;
4727 *) # Relative name.
4728 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4729 ac_top_srcdir=$ac_top_build_prefix$srcdir
4730 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4731 esac
4732 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4735 case $ac_mode in
4738 # CONFIG_FILE
4741 case $INSTALL in
4742 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4743 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4744 esac
4745 ac_MKDIR_P=$MKDIR_P
4746 case $MKDIR_P in
4747 [\\/$]* | ?:[\\/]* ) ;;
4748 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
4749 esac
4750 _ACEOF
4752 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4753 # If the template does not know about datarootdir, expand it.
4754 # FIXME: This hack should be removed a few years after 2.60.
4755 ac_datarootdir_hack=; ac_datarootdir_seen=
4756 ac_sed_dataroot='
4757 /datarootdir/ {
4761 /@datadir@/p
4762 /@docdir@/p
4763 /@infodir@/p
4764 /@localedir@/p
4765 /@mandir@/p'
4766 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4767 *datarootdir*) ac_datarootdir_seen=yes;;
4768 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4770 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4771 _ACEOF
4772 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4773 ac_datarootdir_hack='
4774 s&@datadir@&$datadir&g
4775 s&@docdir@&$docdir&g
4776 s&@infodir@&$infodir&g
4777 s&@localedir@&$localedir&g
4778 s&@mandir@&$mandir&g
4779 s&\\\${datarootdir}&$datarootdir&g' ;;
4780 esac
4781 _ACEOF
4783 # Neutralize VPATH when `$srcdir' = `.'.
4784 # Shell code in configure.ac might set extrasub.
4785 # FIXME: do we really want to maintain this feature?
4786 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4787 ac_sed_extra="$ac_vpsub
4788 $extrasub
4789 _ACEOF
4790 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4792 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4793 s|@configure_input@|$ac_sed_conf_input|;t t
4794 s&@top_builddir@&$ac_top_builddir_sub&;t t
4795 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4796 s&@srcdir@&$ac_srcdir&;t t
4797 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4798 s&@top_srcdir@&$ac_top_srcdir&;t t
4799 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4800 s&@builddir@&$ac_builddir&;t t
4801 s&@abs_builddir@&$ac_abs_builddir&;t t
4802 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4803 s&@INSTALL@&$ac_INSTALL&;t t
4804 s&@MKDIR_P@&$ac_MKDIR_P&;t t
4805 $ac_datarootdir_hack
4807 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4808 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4810 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4811 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4812 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4813 "$ac_tmp/out"`; test -z "$ac_out"; } &&
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4815 which seems to be undefined. Please make sure it is defined" >&5
4816 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4817 which seems to be undefined. Please make sure it is defined" >&2;}
4819 rm -f "$ac_tmp/stdin"
4820 case $ac_file in
4821 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4822 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4823 esac \
4824 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4828 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
4829 $as_echo "$as_me: executing $ac_file commands" >&6;}
4831 esac
4834 case $ac_file$ac_mode in
4835 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
4836 # Older Autoconf quotes --file arguments for eval, but not when files
4837 # are listed without --file. Let's play safe and only enable the eval
4838 # if we detect the quoting.
4839 case $CONFIG_FILES in
4840 *\'*) eval set x "$CONFIG_FILES" ;;
4841 *) set x $CONFIG_FILES ;;
4842 esac
4843 shift
4844 for mf
4846 # Strip MF so we end up with the name of the file.
4847 mf=`echo "$mf" | sed -e 's/:.*$//'`
4848 # Check whether this is an Automake generated Makefile or not.
4849 # We used to match only the files named 'Makefile.in', but
4850 # some people rename them; so instead we look at the file content.
4851 # Grep'ing the first line is not enough: some people post-process
4852 # each Makefile.in and add a new line on top of each file to say so.
4853 # Grep'ing the whole file is not good either: AIX grep has a line
4854 # limit of 2048, but all sed's we know have understand at least 4000.
4855 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
4856 dirpart=`$as_dirname -- "$mf" ||
4857 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4858 X"$mf" : 'X\(//\)[^/]' \| \
4859 X"$mf" : 'X\(//\)$' \| \
4860 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
4861 $as_echo X"$mf" |
4862 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4863 s//\1/
4866 /^X\(\/\/\)[^/].*/{
4867 s//\1/
4870 /^X\(\/\/\)$/{
4871 s//\1/
4874 /^X\(\/\).*/{
4875 s//\1/
4878 s/.*/./; q'`
4879 else
4880 continue
4882 # Extract the definition of DEPDIR, am__include, and am__quote
4883 # from the Makefile without running 'make'.
4884 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4885 test -z "$DEPDIR" && continue
4886 am__include=`sed -n 's/^am__include = //p' < "$mf"`
4887 test -z "$am__include" && continue
4888 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4889 # Find all dependency output files, they are included files with
4890 # $(DEPDIR) in their names. We invoke sed twice because it is the
4891 # simplest approach to changing $(DEPDIR) to its actual value in the
4892 # expansion.
4893 for file in `sed -n "
4894 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4895 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
4896 # Make sure the directory exists.
4897 test -f "$dirpart/$file" && continue
4898 fdir=`$as_dirname -- "$file" ||
4899 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4900 X"$file" : 'X\(//\)[^/]' \| \
4901 X"$file" : 'X\(//\)$' \| \
4902 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
4903 $as_echo X"$file" |
4904 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4905 s//\1/
4908 /^X\(\/\/\)[^/].*/{
4909 s//\1/
4912 /^X\(\/\/\)$/{
4913 s//\1/
4916 /^X\(\/\).*/{
4917 s//\1/
4920 s/.*/./; q'`
4921 as_dir=$dirpart/$fdir; as_fn_mkdir_p
4922 # echo "creating $dirpart/$file"
4923 echo '# dummy' > "$dirpart/$file"
4924 done
4925 done
4929 esac
4930 done # for ac_tag
4933 as_fn_exit 0
4934 _ACEOF
4935 ac_clean_files=$ac_clean_files_save
4937 test $ac_write_fail = 0 ||
4938 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4941 # configure is writing to config.log, and then calls config.status.
4942 # config.status does its own redirection, appending to config.log.
4943 # Unfortunately, on DOS this fails, as config.log is still kept open
4944 # by configure, so config.status won't be able to write to it; its
4945 # output is simply discarded. So we exec the FD to /dev/null,
4946 # effectively closing config.log, so it can be properly (re)opened and
4947 # appended to by config.status. When coming back to configure, we
4948 # need to make the FD available again.
4949 if test "$no_create" != yes; then
4950 ac_cs_success=:
4951 ac_config_status_args=
4952 test "$silent" = yes &&
4953 ac_config_status_args="$ac_config_status_args --quiet"
4954 exec 5>/dev/null
4955 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4956 exec 5>>config.log
4957 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4958 # would make configure fail if this is the last instruction.
4959 $ac_cs_success || as_fn_exit 1
4961 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4963 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}