Debian Codegraph @

texk/texlive/configure

raw symbols SCIP
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.72 for TeX Live Scripts 2026.
4 #
5 # Report bugs to <[email protected]>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation,
9 # Inc.
10 #
11 #
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
17
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
21 then :
22 emulate sh
23 NULLCMD=:
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
27 setopt NO_GLOB_SUBST
28 else case e in #(
29 e) case `(set -o) 2>/dev/null` in #(
30 *posix*) :
31 set -o posix ;; #(
32 *) :
33 ;;
34 esac ;;
35 esac
36 fi
37
38
39
40 # Reset variables that may have inherited troublesome values from
41 # the environment.
42
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
47 as_nl='
48 '
49 export as_nl
50 IFS=" "" $as_nl"
51
52 PS1='$ '
53 PS2='> '
54 PS4='+ '
55
56 # Ensure predictable behavior from utilities with locale-dependent output.
57 LC_ALL=C
58 export LC_ALL
59 LANGUAGE=C
60 export LANGUAGE
61
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \${$as_var+y} \
69 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
70 done
71
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
76
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
79 PATH_SEPARATOR=:
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82 PATH_SEPARATOR=';'
83 }
84 fi
85
86
87 # Find who we are. Look in the path if we contain no directory separator.
88 as_myself=
89 case $0 in #((
90 *[\\/]* ) as_myself=$0 ;;
91 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92 for as_dir in $PATH
93 do
94 IFS=$as_save_IFS
95 case $as_dir in #(((
96 '') as_dir=./ ;;
97 */) ;;
98 *) as_dir=$as_dir/ ;;
99 esac
100 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
101 done
102 IFS=$as_save_IFS
103
104 ;;
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
110 fi
111 if test ! -f "$as_myself"; then
112 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
114 fi
115
116
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
120 _as_can_reexec=no; export _as_can_reexec;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
125 BASH_ENV=/dev/null
126 ENV=/dev/null
127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
128 case $- in # ((((
129 *v*x* | *x*v* ) as_opts=-vx ;;
130 *v* ) as_opts=-v ;;
131 *x* ) as_opts=-x ;;
132 * ) as_opts= ;;
133 esac
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed 'exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138 exit 255
139 fi
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec=; unset _as_can_reexec;}
142 if test "x$CONFIG_SHELL" = x; then
143 as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
144 then :
145 emulate sh
146 NULLCMD=:
147 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
148 # is contrary to our usage. Disable this feature.
149 alias -g '\${1+\"\$@\"}'='\"\$@\"'
150 setopt NO_GLOB_SUBST
151 else case e in #(
152 e) case \`(set -o) 2>/dev/null\` in #(
153 *posix*) :
154 set -o posix ;; #(
155 *) :
156 ;;
157 esac ;;
158 esac
159 fi
160 "
161 as_required="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
166
167 exitcode=0
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
173 then :
174
175 else case e in #(
176 e) exitcode=1; echo positional parameters were not saved. ;;
177 esac
178 fi
179 test x\$exitcode = x0 || exit 1
180 blah=\$(echo \$(echo blah))
181 test x\"\$blah\" = xblah || exit 1
182 test -x / || exit 1"
183 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
184 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
185 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
186 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
187 if (eval "$as_required") 2>/dev/null
188 then :
189 as_have_required=yes
190 else case e in #(
191 e) as_have_required=no ;;
192 esac
193 fi
194 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
195 then :
196
197 else case e in #(
198 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
199 as_found=false
200 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
201 do
202 IFS=$as_save_IFS
203 case $as_dir in #(((
204 '') as_dir=./ ;;
205 */) ;;
206 *) as_dir=$as_dir/ ;;
207 esac
208 as_found=:
209 case $as_dir in #(
210 /*)
211 for as_base in sh bash ksh sh5; do
212 # Try only shells that exist, to save several forks.
213 as_shell=$as_dir$as_base
214 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
215 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
216 then :
217 CONFIG_SHELL=$as_shell as_have_required=yes
218 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
219 then :
220 break 2
221 fi
222 fi
223 done;;
224 esac
225 as_found=false
226 done
227 IFS=$as_save_IFS
228 if $as_found
229 then :
230
231 else case e in #(
232 e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
233 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
234 then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi ;;
237 esac
238 fi
239
240
241 if test "x$CONFIG_SHELL" != x
242 then :
243 export CONFIG_SHELL
244 # We cannot yet assume a decent shell, so we have to provide a
245 # neutralization value for shells without unset; and this also
246 # works around shells that cannot unset nonexistent variables.
247 # Preserve -v and -x to the replacement shell.
248 BASH_ENV=/dev/null
249 ENV=/dev/null
250 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
251 case $- in # ((((
252 *v*x* | *x*v* ) as_opts=-vx ;;
253 *v* ) as_opts=-v ;;
254 *x* ) as_opts=-x ;;
255 * ) as_opts= ;;
256 esac
257 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
258 # Admittedly, this is quite paranoid, since all the known shells bail
259 # out after a failed 'exec'.
260 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
261 exit 255
262 fi
263
264 if test x$as_have_required = xno
265 then :
266 printf "%s\n" "$0: This script requires a shell more modern than all"
267 printf "%s\n" "$0: the shells that I found on your system."
268 if test ${ZSH_VERSION+y} ; then
269 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
270 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
271 else
272 printf "%s\n" "$0: Please tell [email protected] and [email protected]
273 $0: about your system, including any error possibly output
274 $0: before this message. Then install a modern shell, or
275 $0: manually run the script under such a shell if you do
276 $0: have one."
277 fi
278 exit 1
279 fi ;;
280 esac
281 fi
282 fi
283 SHELL=${CONFIG_SHELL-/bin/sh}
284 export SHELL
285 # Unset more variables known to interfere with behavior of common tools.
286 CLICOLOR_FORCE= GREP_OPTIONS=
287 unset CLICOLOR_FORCE GREP_OPTIONS
288
289 ## --------------------- ##
290 ## M4sh Shell Functions. ##
291 ## --------------------- ##
292 # as_fn_unset VAR
293 # ---------------
294 # Portably unset VAR.
295 as_fn_unset ()
296 {
297 { eval $1=; unset $1;}
298 }
299 as_unset=as_fn_unset
300
301
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
305 as_fn_set_status ()
306 {
307 return $1
308 } # as_fn_set_status
309
310 # as_fn_exit STATUS
311 # -----------------
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313 as_fn_exit ()
314 {
315 set +e
316 as_fn_set_status $1
317 exit $1
318 } # as_fn_exit
319
320 # as_fn_mkdir_p
321 # -------------
322 # Create "$as_dir" as a directory, including parents if necessary.
323 as_fn_mkdir_p ()
324 {
325
326 case $as_dir in #(
327 -*) as_dir=./$as_dir;;
328 esac
329 test -d "$as_dir" || eval $as_mkdir_p || {
330 as_dirs=
331 while :; do
332 case $as_dir in #(
333 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
334 *) as_qdir=$as_dir;;
335 esac
336 as_dirs="'$as_qdir' $as_dirs"
337 as_dir=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 printf "%s\n" X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
344 s//\1/
345 q
346 }
347 /^X\(\/\/\)[^/].*/{
348 s//\1/
349 q
350 }
351 /^X\(\/\/\)$/{
352 s//\1/
353 q
354 }
355 /^X\(\/\).*/{
356 s//\1/
357 q
358 }
359 s/.*/./; q'`
360 test -d "$as_dir" && break
361 done
362 test -z "$as_dirs" || eval "mkdir $as_dirs"
363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
364
365
366 } # as_fn_mkdir_p
367
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p ()
372 {
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
380 # implementations.
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
382 then :
383 eval 'as_fn_append ()
384 {
385 eval $1+=\$2
386 }'
387 else case e in #(
388 e) as_fn_append ()
389 {
390 eval $1=\$$1\$2
391 } ;;
392 esac
393 fi # as_fn_append
394
395 # as_fn_arith ARG...
396 # ------------------
397 # Perform arithmetic evaluation on the ARGs, and store the result in the
398 # global $as_val. Take advantage of shells that can avoid forks. The arguments
399 # must be portable across $(()) and expr.
400 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
401 then :
402 eval 'as_fn_arith ()
403 {
404 as_val=$(( $* ))
405 }'
406 else case e in #(
407 e) as_fn_arith ()
408 {
409 as_val=`expr "$@" || test $? -eq 1`
410 } ;;
411 esac
412 fi # as_fn_arith
413
414
415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 # ----------------------------------------
417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 # script with STATUS, using 1 if that was 0.
420 as_fn_error ()
421 {
422 as_status=$1; test $as_status -eq 0 && as_status=1
423 if test "$4"; then
424 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 fi
427 printf "%s\n" "$as_me: error: $2" >&2
428 as_fn_exit $as_status
429 } # as_fn_error
430
431 if expr a : '\(a\)' >/dev/null 2>&1 &&
432 test "X`expr 00001 : '.*\(...\)'`" = X001; then
433 as_expr=expr
434 else
435 as_expr=false
436 fi
437
438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
439 as_basename=basename
440 else
441 as_basename=false
442 fi
443
444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
445 as_dirname=dirname
446 else
447 as_dirname=false
448 fi
449
450 as_me=`$as_basename -- "$0" ||
451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452 X"$0" : 'X\(//\)$' \| \
453 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 printf "%s\n" X/"$0" |
455 sed '/^.*\/\([^/][^/]*\)\/*$/{
456 s//\1/
457 q
458 }
459 /^X\/\(\/\/\)$/{
460 s//\1/
461 q
462 }
463 /^X\/\(\/\).*/{
464 s//\1/
465 q
466 }
467 s/.*/./; q'`
468
469 # Avoid depending upon Character Ranges.
470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
473 as_cr_digits='0123456789'
474 as_cr_alnum=$as_cr_Letters$as_cr_digits
475
476
477 as_lineno_1=$LINENO as_lineno_1a=$LINENO
478 as_lineno_2=$LINENO as_lineno_2a=$LINENO
479 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
481 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
482 sed -n '
483 p
484 /[$]LINENO/=
485 ' <$as_myself |
486 sed '
487 t clear
488 :clear
489 s/[$]LINENO.*/&-/
490 t lineno
491 b
492 :lineno
493 N
494 :loop
495 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496 t loop
497 s/-\n.*//
498 ' >$as_me.lineno &&
499 chmod +x "$as_me.lineno" ||
500 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
501
502 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
503 # already done that, so ensure we don't try to do so again and fall
504 # in an infinite loop. This has already happened in practice.
505 _as_can_reexec=no; export _as_can_reexec
506 # Don't try to exec as it changes $[0], causing all sort of problems
507 # (the dirname of $[0] is not the place where we might find the
508 # original and so on. Autoconf is especially sensitive to this).
509 . "./$as_me.lineno"
510 # Exit status is that of the last command.
511 exit
512 }
513
514
515 # Determine whether it's possible to make 'echo' print without a newline.
516 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
517 # for compatibility with existing Makefiles.
518 ECHO_C= ECHO_N= ECHO_T=
519 case `echo -n x` in #(((((
520 -n*)
521 case `echo 'xy\c'` in
522 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
523 xy) ECHO_C='\c';;
524 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
525 ECHO_T=' ';;
526 esac;;
527 *)
528 ECHO_N='-n';;
529 esac
530
531 # For backward compatibility with old third-party macros, we provide
532 # the shell variables $as_echo and $as_echo_n. New code should use
533 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
534 as_echo='printf %s\n'
535 as_echo_n='printf %s'
536
537 rm -f conf$$ conf$$.exe conf$$.file
538 if test -d conf$$.dir; then
539 rm -f conf$$.dir/conf$$.file
540 else
541 rm -f conf$$.dir
542 mkdir conf$$.dir 2>/dev/null
543 fi
544 if (echo >conf$$.file) 2>/dev/null; then
545 if ln -s conf$$.file conf$$ 2>/dev/null; then
546 as_ln_s='ln -s'
547 # ... but there are two gotchas:
548 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
549 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
550 # In both cases, we have to default to 'cp -pR'.
551 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
552 as_ln_s='cp -pR'
553 elif ln conf$$.file conf$$ 2>/dev/null; then
554 as_ln_s=ln
555 else
556 as_ln_s='cp -pR'
557 fi
558 else
559 as_ln_s='cp -pR'
560 fi
561 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
562 rmdir conf$$.dir 2>/dev/null
563
564 if mkdir -p . 2>/dev/null; then
565 as_mkdir_p='mkdir -p "$as_dir"'
566 else
567 test -d ./-p && rmdir ./-p
568 as_mkdir_p=false
569 fi
570
571 as_test_x='test -x'
572 as_executable_p=as_fn_executable_p
573
574 # Sed expression to map a string onto a valid CPP name.
575 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
576 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
577
578 # Sed expression to map a string onto a valid variable name.
579 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
580 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
581
582
583 test -n "$DJDIR" || exec 7<&0 </dev/null
584 exec 6>&1
585
586 # Name of the host.
587 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
588 # so uname gets run too.
589 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
590
591 #
592 # Initializations.
593 #
594 ac_default_prefix=/usr/local
595 ac_clean_files=
596 ac_config_libobj_dir=.
597 LIBOBJS=
598 cross_compiling=no
599 subdirs=
600 MFLAGS=
601 MAKEFLAGS=
602
603 # Identity of this package.
604 PACKAGE_NAME='TeX Live Scripts'
605 PACKAGE_TARNAME='tex-live-scripts'
606 PACKAGE_VERSION='2026'
607 PACKAGE_STRING='TeX Live Scripts 2026'
608 PACKAGE_BUGREPORT='[email protected]'
609 PACKAGE_URL=''
610
611 ac_unique_file="linked_scripts/ChangeLog"
612 ac_subst_vars='am__EXEEXT_FALSE
613 am__EXEEXT_TRUE
614 LTLIBOBJS
615 LIBOBJS
616 WIN32_WRAP_FALSE
617 WIN32_WRAP_TRUE
618 WIN_WRAPPER
619 WIN32_FALSE
620 WIN32_TRUE
621 LN_S
622 am__fastdepCC_FALSE
623 am__fastdepCC_TRUE
624 CCDEPMODE
625 am__nodep
626 AMDEPBACKSLASH
627 AMDEP_FALSE
628 AMDEP_TRUE
629 am__include
630 DEPDIR
631 OBJEXT
632 EXEEXT
633 ac_ct_CC
634 CPPFLAGS
635 LDFLAGS
636 CFLAGS
637 CC
638 LINKED_SCRIPTS_FALSE
639 LINKED_SCRIPTS_TRUE
640 MAINT
641 MAINTAINER_MODE_FALSE
642 MAINTAINER_MODE_TRUE
643 am__xargs_n
644 am__rm_f_notfound
645 AM_BACKSLASH
646 AM_DEFAULT_VERBOSITY
647 AM_DEFAULT_V
648 AM_V
649 CSCOPE
650 ETAGS
651 CTAGS
652 am__untar
653 am__tar
654 AMTAR
655 am__leading_dot
656 SET_MAKE
657 AWK
658 mkdir_p
659 MKDIR_P
660 INSTALL_STRIP_PROGRAM
661 STRIP
662 install_sh
663 MAKEINFO
664 AUTOHEADER
665 AUTOMAKE
666 AUTOCONF
667 ACLOCAL
668 VERSION
669 PACKAGE
670 CYGPATH_W
671 am__isrc
672 INSTALL_DATA
673 INSTALL_SCRIPT
674 INSTALL_PROGRAM
675 target_alias
676 host_alias
677 build_alias
678 LIBS
679 ECHO_T
680 ECHO_N
681 ECHO_C
682 DEFS
683 mandir
684 localedir
685 libdir
686 psdir
687 pdfdir
688 dvidir
689 htmldir
690 infodir
691 docdir
692 oldincludedir
693 includedir
694 runstatedir
695 localstatedir
696 sharedstatedir
697 sysconfdir
698 datadir
699 datarootdir
700 libexecdir
701 sbindir
702 bindir
703 program_transform_name
704 prefix
705 exec_prefix
706 PACKAGE_URL
707 PACKAGE_BUGREPORT
708 PACKAGE_STRING
709 PACKAGE_VERSION
710 PACKAGE_TARNAME
711 PACKAGE_NAME
712 PATH_SEPARATOR
713 SHELL
714 am__quote'
715 ac_subst_files=''
716 ac_user_opts='
717 enable_option_checking
718 enable_silent_rules
719 enable_maintainer_mode
720 enable_linked_scripts
721 enable_dependency_tracking
722 '
723 ac_precious_vars='build_alias
724 host_alias
725 target_alias
726 CC
727 CFLAGS
728 LDFLAGS
729 LIBS
730 CPPFLAGS'
731
732
733 # Initialize some variables set by options.
734 ac_init_help=
735 ac_init_version=false
736 ac_unrecognized_opts=
737 ac_unrecognized_sep=
738 # The variables have the same names as the options, with
739 # dashes changed to underlines.
740 cache_file=/dev/null
741 exec_prefix=NONE
742 no_create=
743 no_recursion=
744 prefix=NONE
745 program_prefix=NONE
746 program_suffix=NONE
747 program_transform_name=s,x,x,
748 silent=
749 site=
750 srcdir=
751 verbose=
752 x_includes=NONE
753 x_libraries=NONE
754
755 # Installation directory options.
756 # These are left unexpanded so users can "make install exec_prefix=/foo"
757 # and all the variables that are supposed to be based on exec_prefix
758 # by default will actually change.
759 # Use braces instead of parens because sh, perl, etc. also accept them.
760 # (The list follows the same order as the GNU Coding Standards.)
761 bindir='${exec_prefix}/bin'
762 sbindir='${exec_prefix}/sbin'
763 libexecdir='${exec_prefix}/libexec'
764 datarootdir='${prefix}/share'
765 datadir='${datarootdir}'
766 sysconfdir='${prefix}/etc'
767 sharedstatedir='${prefix}/com'
768 localstatedir='${prefix}/var'
769 runstatedir='${localstatedir}/run'
770 includedir='${prefix}/include'
771 oldincludedir='/usr/include'
772 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
773 infodir='${datarootdir}/info'
774 htmldir='${docdir}'
775 dvidir='${docdir}'
776 pdfdir='${docdir}'
777 psdir='${docdir}'
778 libdir='${exec_prefix}/lib'
779 localedir='${datarootdir}/locale'
780 mandir='${datarootdir}/man'
781
782 ac_prev=
783 ac_dashdash=
784 for ac_option
785 do
786 # If the previous option needs an argument, assign it.
787 if test -n "$ac_prev"; then
788 eval $ac_prev=\$ac_option
789 ac_prev=
790 continue
791 fi
792
793 case $ac_option in
794 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
795 *=) ac_optarg= ;;
796 *) ac_optarg=yes ;;
797 esac
798
799 case $ac_dashdash$ac_option in
800 --)
801 ac_dashdash=yes ;;
802
803 -bindir | --bindir | --bindi | --bind | --bin | --bi)
804 ac_prev=bindir ;;
805 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
806 bindir=$ac_optarg ;;
807
808 -build | --build | --buil | --bui | --bu)
809 ac_prev=build_alias ;;
810 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
811 build_alias=$ac_optarg ;;
812
813 -cache-file | --cache-file | --cache-fil | --cache-fi \
814 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
815 ac_prev=cache_file ;;
816 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
817 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
818 cache_file=$ac_optarg ;;
819
820 --config-cache | -C)
821 cache_file=config.cache ;;
822
823 -datadir | --datadir | --datadi | --datad)
824 ac_prev=datadir ;;
825 -datadir=* | --datadir=* | --datadi=* | --datad=*)
826 datadir=$ac_optarg ;;
827
828 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
829 | --dataroo | --dataro | --datar)
830 ac_prev=datarootdir ;;
831 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
832 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
833 datarootdir=$ac_optarg ;;
834
835 -disable-* | --disable-*)
836 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
837 # Reject names that are not valid shell variable names.
838 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
839 as_fn_error $? "invalid feature name: '$ac_useropt'"
840 ac_useropt_orig=$ac_useropt
841 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
842 case $ac_user_opts in
843 *"
844 "enable_$ac_useropt"
845 "*) ;;
846 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
847 ac_unrecognized_sep=', ';;
848 esac
849 eval enable_$ac_useropt=no ;;
850
851 -docdir | --docdir | --docdi | --doc | --do)
852 ac_prev=docdir ;;
853 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
854 docdir=$ac_optarg ;;
855
856 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
857 ac_prev=dvidir ;;
858 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
859 dvidir=$ac_optarg ;;
860
861 -enable-* | --enable-*)
862 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
863 # Reject names that are not valid shell variable names.
864 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
865 as_fn_error $? "invalid feature name: '$ac_useropt'"
866 ac_useropt_orig=$ac_useropt
867 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
868 case $ac_user_opts in
869 *"
870 "enable_$ac_useropt"
871 "*) ;;
872 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
873 ac_unrecognized_sep=', ';;
874 esac
875 eval enable_$ac_useropt=\$ac_optarg ;;
876
877 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
878 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
879 | --exec | --exe | --ex)
880 ac_prev=exec_prefix ;;
881 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
882 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
883 | --exec=* | --exe=* | --ex=*)
884 exec_prefix=$ac_optarg ;;
885
886 -gas | --gas | --ga | --g)
887 # Obsolete; use --with-gas.
888 with_gas=yes ;;
889
890 -help | --help | --hel | --he | -h)
891 ac_init_help=long ;;
892 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
893 ac_init_help=recursive ;;
894 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
895 ac_init_help=short ;;
896
897 -host | --host | --hos | --ho)
898 ac_prev=host_alias ;;
899 -host=* | --host=* | --hos=* | --ho=*)
900 host_alias=$ac_optarg ;;
901
902 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
903 ac_prev=htmldir ;;
904 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
905 | --ht=*)
906 htmldir=$ac_optarg ;;
907
908 -includedir | --includedir | --includedi | --included | --include \
909 | --includ | --inclu | --incl | --inc)
910 ac_prev=includedir ;;
911 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
912 | --includ=* | --inclu=* | --incl=* | --inc=*)
913 includedir=$ac_optarg ;;
914
915 -infodir | --infodir | --infodi | --infod | --info | --inf)
916 ac_prev=infodir ;;
917 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
918 infodir=$ac_optarg ;;
919
920 -libdir | --libdir | --libdi | --libd)
921 ac_prev=libdir ;;
922 -libdir=* | --libdir=* | --libdi=* | --libd=*)
923 libdir=$ac_optarg ;;
924
925 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
926 | --libexe | --libex | --libe)
927 ac_prev=libexecdir ;;
928 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
929 | --libexe=* | --libex=* | --libe=*)
930 libexecdir=$ac_optarg ;;
931
932 -localedir | --localedir | --localedi | --localed | --locale)
933 ac_prev=localedir ;;
934 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
935 localedir=$ac_optarg ;;
936
937 -localstatedir | --localstatedir | --localstatedi | --localstated \
938 | --localstate | --localstat | --localsta | --localst | --locals)
939 ac_prev=localstatedir ;;
940 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
941 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
942 localstatedir=$ac_optarg ;;
943
944 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
945 ac_prev=mandir ;;
946 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
947 mandir=$ac_optarg ;;
948
949 -nfp | --nfp | --nf)
950 # Obsolete; use --without-fp.
951 with_fp=no ;;
952
953 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
954 | --no-cr | --no-c | -n)
955 no_create=yes ;;
956
957 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
958 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
959 no_recursion=yes ;;
960
961 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
962 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
963 | --oldin | --oldi | --old | --ol | --o)
964 ac_prev=oldincludedir ;;
965 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
966 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
967 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
968 oldincludedir=$ac_optarg ;;
969
970 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
971 ac_prev=prefix ;;
972 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
973 prefix=$ac_optarg ;;
974
975 -program-prefix | --program-prefix | --program-prefi | --program-pref \
976 | --program-pre | --program-pr | --program-p)
977 ac_prev=program_prefix ;;
978 -program-prefix=* | --program-prefix=* | --program-prefi=* \
979 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
980 program_prefix=$ac_optarg ;;
981
982 -program-suffix | --program-suffix | --program-suffi | --program-suff \
983 | --program-suf | --program-su | --program-s)
984 ac_prev=program_suffix ;;
985 -program-suffix=* | --program-suffix=* | --program-suffi=* \
986 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
987 program_suffix=$ac_optarg ;;
988
989 -program-transform-name | --program-transform-name \
990 | --program-transform-nam | --program-transform-na \
991 | --program-transform-n | --program-transform- \
992 | --program-transform | --program-transfor \
993 | --program-transfo | --program-transf \
994 | --program-trans | --program-tran \
995 | --progr-tra | --program-tr | --program-t)
996 ac_prev=program_transform_name ;;
997 -program-transform-name=* | --program-transform-name=* \
998 | --program-transform-nam=* | --program-transform-na=* \
999 | --program-transform-n=* | --program-transform-=* \
1000 | --program-transform=* | --program-transfor=* \
1001 | --program-transfo=* | --program-transf=* \
1002 | --program-trans=* | --program-tran=* \
1003 | --progr-tra=* | --program-tr=* | --program-t=*)
1004 program_transform_name=$ac_optarg ;;
1005
1006 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1007 ac_prev=pdfdir ;;
1008 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1009 pdfdir=$ac_optarg ;;
1010
1011 -psdir | --psdir | --psdi | --psd | --ps)
1012 ac_prev=psdir ;;
1013 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1014 psdir=$ac_optarg ;;
1015
1016 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1017 | -silent | --silent | --silen | --sile | --sil)
1018 silent=yes ;;
1019
1020 -runstatedir | --runstatedir | --runstatedi | --runstated \
1021 | --runstate | --runstat | --runsta | --runst | --runs \
1022 | --run | --ru | --r)
1023 ac_prev=runstatedir ;;
1024 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1025 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1026 | --run=* | --ru=* | --r=*)
1027 runstatedir=$ac_optarg ;;
1028
1029 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1030 ac_prev=sbindir ;;
1031 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1032 | --sbi=* | --sb=*)
1033 sbindir=$ac_optarg ;;
1034
1035 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1036 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1037 | --sharedst | --shareds | --shared | --share | --shar \
1038 | --sha | --sh)
1039 ac_prev=sharedstatedir ;;
1040 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1041 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1042 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1043 | --sha=* | --sh=*)
1044 sharedstatedir=$ac_optarg ;;
1045
1046 -site | --site | --sit)
1047 ac_prev=site ;;
1048 -site=* | --site=* | --sit=*)
1049 site=$ac_optarg ;;
1050
1051 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1052 ac_prev=srcdir ;;
1053 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1054 srcdir=$ac_optarg ;;
1055
1056 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1057 | --syscon | --sysco | --sysc | --sys | --sy)
1058 ac_prev=sysconfdir ;;
1059 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1060 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1061 sysconfdir=$ac_optarg ;;
1062
1063 -target | --target | --targe | --targ | --tar | --ta | --t)
1064 ac_prev=target_alias ;;
1065 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1066 target_alias=$ac_optarg ;;
1067
1068 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1069 verbose=yes ;;
1070
1071 -version | --version | --versio | --versi | --vers | -V)
1072 ac_init_version=: ;;
1073
1074 -with-* | --with-*)
1075 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1076 # Reject names that are not valid shell variable names.
1077 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1078 as_fn_error $? "invalid package name: '$ac_useropt'"
1079 ac_useropt_orig=$ac_useropt
1080 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1081 case $ac_user_opts in
1082 *"
1083 "with_$ac_useropt"
1084 "*) ;;
1085 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1086 ac_unrecognized_sep=', ';;
1087 esac
1088 eval with_$ac_useropt=\$ac_optarg ;;
1089
1090 -without-* | --without-*)
1091 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1092 # Reject names that are not valid shell variable names.
1093 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1094 as_fn_error $? "invalid package name: '$ac_useropt'"
1095 ac_useropt_orig=$ac_useropt
1096 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1097 case $ac_user_opts in
1098 *"
1099 "with_$ac_useropt"
1100 "*) ;;
1101 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1102 ac_unrecognized_sep=', ';;
1103 esac
1104 eval with_$ac_useropt=no ;;
1105
1106 --x)
1107 # Obsolete; use --with-x.
1108 with_x=yes ;;
1109
1110 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1111 | --x-incl | --x-inc | --x-in | --x-i)
1112 ac_prev=x_includes ;;
1113 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1114 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1115 x_includes=$ac_optarg ;;
1116
1117 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1118 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1119 ac_prev=x_libraries ;;
1120 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1121 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1122 x_libraries=$ac_optarg ;;
1123
1124 -*) as_fn_error $? "unrecognized option: '$ac_option'
1125 Try '$0 --help' for more information"
1126 ;;
1127
1128 *=*)
1129 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1130 # Reject names that are not valid shell variable names.
1131 case $ac_envvar in #(
1132 '' | [0-9]* | *[!_$as_cr_alnum]* )
1133 as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
1134 esac
1135 eval $ac_envvar=\$ac_optarg
1136 export $ac_envvar ;;
1137
1138 *)
1139 # FIXME: should be removed in autoconf 3.0.
1140 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1141 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1142 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1143 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1144 ;;
1145
1146 esac
1147 done
1148
1149 if test -n "$ac_prev"; then
1150 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1151 as_fn_error $? "missing argument to $ac_option"
1152 fi
1153
1154 if test -n "$ac_unrecognized_opts"; then
1155 case $enable_option_checking in
1156 no) ;;
1157 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1158 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1159 esac
1160 fi
1161
1162 # Check all directory arguments for consistency.
1163 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1164 datadir sysconfdir sharedstatedir localstatedir includedir \
1165 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1166 libdir localedir mandir runstatedir
1167 do
1168 eval ac_val=\$$ac_var
1169 # Remove trailing slashes.
1170 case $ac_val in
1171 */ )
1172 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1173 eval $ac_var=\$ac_val;;
1174 esac
1175 # Be sure to have absolute directory names.
1176 case $ac_val in
1177 [\\/$]* | ?:[\\/]* ) continue;;
1178 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1179 esac
1180 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1181 done
1182
1183 # There might be people who depend on the old broken behavior: '$host'
1184 # used to hold the argument of --host etc.
1185 # FIXME: To remove some day.
1186 build=$build_alias
1187 host=$host_alias
1188 target=$target_alias
1189
1190 # FIXME: To remove some day.
1191 if test "x$host_alias" != x; then
1192 if test "x$build_alias" = x; then
1193 cross_compiling=maybe
1194 elif test "x$build_alias" != "x$host_alias"; then
1195 cross_compiling=yes
1196 fi
1197 fi
1198
1199 ac_tool_prefix=
1200 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1201
1202 test "$silent" = yes && exec 6>/dev/null
1203
1204
1205 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1206 ac_ls_di=`ls -di .` &&
1207 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1208 as_fn_error $? "working directory cannot be determined"
1209 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1210 as_fn_error $? "pwd does not report name of working directory"
1211
1212
1213 # Find the source files, if location was not specified.
1214 if test -z "$srcdir"; then
1215 ac_srcdir_defaulted=yes
1216 # Try the directory containing this script, then the parent directory.
1217 ac_confdir=`$as_dirname -- "$as_myself" ||
1218 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1219 X"$as_myself" : 'X\(//\)[^/]' \| \
1220 X"$as_myself" : 'X\(//\)$' \| \
1221 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1222 printf "%s\n" X"$as_myself" |
1223 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1224 s//\1/
1225 q
1226 }
1227 /^X\(\/\/\)[^/].*/{
1228 s//\1/
1229 q
1230 }
1231 /^X\(\/\/\)$/{
1232 s//\1/
1233 q
1234 }
1235 /^X\(\/\).*/{
1236 s//\1/
1237 q
1238 }
1239 s/.*/./; q'`
1240 srcdir=$ac_confdir
1241 if test ! -r "$srcdir/$ac_unique_file"; then
1242 srcdir=..
1243 fi
1244 else
1245 ac_srcdir_defaulted=no
1246 fi
1247 if test ! -r "$srcdir/$ac_unique_file"; then
1248 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1249 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1250 fi
1251 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
1252 ac_abs_confdir=`(
1253 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1254 pwd)`
1255 # When building in place, set srcdir=.
1256 if test "$ac_abs_confdir" = "$ac_pwd"; then
1257 srcdir=.
1258 fi
1259 # Remove unnecessary trailing slashes from srcdir.
1260 # Double slashes in file names in object file debugging info
1261 # mess up M-x gdb in Emacs.
1262 case $srcdir in
1263 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1264 esac
1265 for ac_var in $ac_precious_vars; do
1266 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1267 eval ac_env_${ac_var}_value=\$${ac_var}
1268 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1269 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1270 done
1271
1272 #
1273 # Report the --help message.
1274 #
1275 if test "$ac_init_help" = "long"; then
1276 # Omit some internal or obsolete options to make the list less imposing.
1277 # This message is too long to be a string in the A/UX 3.1 sh.
1278 cat <<_ACEOF
1279 'configure' configures TeX Live Scripts 2026 to adapt to many kinds of systems.
1280
1281 Usage: $0 [OPTION]... [VAR=VALUE]...
1282
1283 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1284 VAR=VALUE. See below for descriptions of some of the useful variables.
1285
1286 Defaults for the options are specified in brackets.
1287
1288 Configuration:
1289 -h, --help display this help and exit
1290 --help=short display options specific to this package
1291 --help=recursive display the short help of all the included packages
1292 -V, --version display version information and exit
1293 -q, --quiet, --silent do not print 'checking ...' messages
1294 --cache-file=FILE cache test results in FILE [disabled]
1295 -C, --config-cache alias for '--cache-file=config.cache'
1296 -n, --no-create do not create output files
1297 --srcdir=DIR find the sources in DIR [configure dir or '..']
1298
1299 Installation directories:
1300 --prefix=PREFIX install architecture-independent files in PREFIX
1301 [$ac_default_prefix]
1302 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1303 [PREFIX]
1304
1305 By default, 'make install' will install all the files in
1306 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc. You can specify
1307 an installation prefix other than '$ac_default_prefix' using '--prefix',
1308 for instance '--prefix=\$HOME'.
1309
1310 For better control, use the options below.
1311
1312 Fine tuning of the installation directories:
1313 --bindir=DIR user executables [EPREFIX/bin]
1314 --sbindir=DIR system admin executables [EPREFIX/sbin]
1315 --libexecdir=DIR program executables [EPREFIX/libexec]
1316 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1317 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1318 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1319 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1320 --libdir=DIR object code libraries [EPREFIX/lib]
1321 --includedir=DIR C header files [PREFIX/include]
1322 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1323 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1324 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1325 --infodir=DIR info documentation [DATAROOTDIR/info]
1326 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1327 --mandir=DIR man documentation [DATAROOTDIR/man]
1328 --docdir=DIR documentation root
1329 [DATAROOTDIR/doc/tex-live-scripts]
1330 --htmldir=DIR html documentation [DOCDIR]
1331 --dvidir=DIR dvi documentation [DOCDIR]
1332 --pdfdir=DIR pdf documentation [DOCDIR]
1333 --psdir=DIR ps documentation [DOCDIR]
1334 _ACEOF
1335
1336 cat <<\_ACEOF
1337
1338 Program names:
1339 --program-prefix=PREFIX prepend PREFIX to installed program names
1340 --program-suffix=SUFFIX append SUFFIX to installed program names
1341 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1342 _ACEOF
1343 fi
1344
1345 if test -n "$ac_init_help"; then
1346 case $ac_init_help in
1347 short | recursive ) echo "Configuration of TeX Live Scripts 2026:";;
1348 esac
1349 cat <<\_ACEOF
1350
1351 Optional Features:
1352 --disable-option-checking ignore unrecognized --enable/--with options
1353 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1354 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1355 --enable-silent-rules less verbose build output (undo: "make V=1")
1356 --disable-silent-rules verbose build output (undo: "make V=0")
1357 --enable-maintainer-mode
1358 enable make rules and dependencies not useful (and
1359 sometimes confusing) to the casual installer
1360 --disable-linked-scripts
1361 do not install the linked scripts
1362 --enable-dependency-tracking
1363 do not reject slow dependency extractors
1364 --disable-dependency-tracking
1365 speeds up one-time build
1366
1367 Some influential environment variables:
1368 CC C compiler command
1369 CFLAGS C compiler flags
1370 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1371 nonstandard directory <lib dir>
1372 LIBS libraries to pass to the linker, e.g. -l<library>
1373 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1374 you have headers in a nonstandard directory <include dir>
1375
1376 Use these variables to override the choices made by 'configure' or to help
1377 it to find libraries and programs with nonstandard names/locations.
1378
1379 Report bugs to <[email protected]>.
1380 _ACEOF
1381 ac_status=$?
1382 fi
1383
1384 if test "$ac_init_help" = "recursive"; then
1385 # If there are subdirs, report their specific --help.
1386 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1387 test -d "$ac_dir" ||
1388 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1389 continue
1390 ac_builddir=.
1391
1392 case "$ac_dir" in
1393 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1394 *)
1395 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1396 # A ".." for each directory in $ac_dir_suffix.
1397 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1398 case $ac_top_builddir_sub in
1399 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1400 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1401 esac ;;
1402 esac
1403 ac_abs_top_builddir=$ac_pwd
1404 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1405 # for backward compatibility:
1406 ac_top_builddir=$ac_top_build_prefix
1407
1408 case $srcdir in
1409 .) # We are building in place.
1410 ac_srcdir=.
1411 ac_top_srcdir=$ac_top_builddir_sub
1412 ac_abs_top_srcdir=$ac_pwd ;;
1413 [\\/]* | ?:[\\/]* ) # Absolute name.
1414 ac_srcdir=$srcdir$ac_dir_suffix;
1415 ac_top_srcdir=$srcdir
1416 ac_abs_top_srcdir=$srcdir ;;
1417 *) # Relative name.
1418 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1419 ac_top_srcdir=$ac_top_build_prefix$srcdir
1420 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1421 esac
1422 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1423
1424 cd "$ac_dir" || { ac_status=$?; continue; }
1425 # Check for configure.gnu first; this name is used for a wrapper for
1426 # Metaconfig's "Configure" on case-insensitive file systems.
1427 if test -f "$ac_srcdir/configure.gnu"; then
1428 echo &&
1429 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1430 elif test -f "$ac_srcdir/configure"; then
1431 echo &&
1432 $SHELL "$ac_srcdir/configure" --help=recursive
1433 else
1434 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1435 fi || ac_status=$?
1436 cd "$ac_pwd" || { ac_status=$?; break; }
1437 done
1438 fi
1439
1440 test -n "$ac_init_help" && exit $ac_status
1441 if $ac_init_version; then
1442 cat <<\_ACEOF
1443 TeX Live Scripts configure 2026
1444 generated by GNU Autoconf 2.72
1445
1446 Copyright (C) 2023 Free Software Foundation, Inc.
1447 This configure script is free software; the Free Software Foundation
1448 gives unlimited permission to copy, distribute and modify it.
1449 _ACEOF
1450 exit
1451 fi
1452
1453 ## ------------------------ ##
1454 ## Autoconf initialization. ##
1455 ## ------------------------ ##
1456
1457 # ac_fn_c_try_compile LINENO
1458 # --------------------------
1459 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1460 ac_fn_c_try_compile ()
1461 {
1462 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1463 rm -f conftest.$ac_objext conftest.beam
1464 if { { ac_try="$ac_compile"
1465 case "(($ac_try" in
1466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1467 *) ac_try_echo=$ac_try;;
1468 esac
1469 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1470 printf "%s\n" "$ac_try_echo"; } >&5
1471 (eval "$ac_compile") 2>conftest.err
1472 ac_status=$?
1473 if test -s conftest.err; then
1474 grep -v '^ *+' conftest.err >conftest.er1
1475 cat conftest.er1 >&5
1476 mv -f conftest.er1 conftest.err
1477 fi
1478 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1479 test $ac_status = 0; } && {
1480 test -z "$ac_c_werror_flag" ||
1481 test ! -s conftest.err
1482 } && test -s conftest.$ac_objext
1483 then :
1484 ac_retval=0
1485 else case e in #(
1486 e) printf "%s\n" "$as_me: failed program was:" >&5
1487 sed 's/^/| /' conftest.$ac_ext >&5
1488
1489 ac_retval=1 ;;
1490 esac
1491 fi
1492 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1493 as_fn_set_status $ac_retval
1494
1495 } # ac_fn_c_try_compile
1496 ac_configure_args_raw=
1497 for ac_arg
1498 do
1499 case $ac_arg in
1500 *\'*)
1501 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1502 esac
1503 as_fn_append ac_configure_args_raw " '$ac_arg'"
1504 done
1505
1506 case $ac_configure_args_raw in
1507 *$as_nl*)
1508 ac_safe_unquote= ;;
1509 *)
1510 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1511 ac_unsafe_a="$ac_unsafe_z#~"
1512 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1513 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1514 esac
1515
1516 cat >config.log <<_ACEOF
1517 This file contains any messages produced by compilers while
1518 running configure, to aid debugging if configure makes a mistake.
1519
1520 It was created by TeX Live Scripts $as_me 2026, which was
1521 generated by GNU Autoconf 2.72. Invocation command line was
1522
1523 $ $0$ac_configure_args_raw
1524
1525 _ACEOF
1526 exec 5>>config.log
1527 {
1528 cat <<_ASUNAME
1529 ## --------- ##
1530 ## Platform. ##
1531 ## --------- ##
1532
1533 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1534 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1535 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1536 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1537 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1538
1539 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1540 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1541
1542 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1543 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1544 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1545 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1546 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1547 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1548 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1549
1550 _ASUNAME
1551
1552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1553 for as_dir in $PATH
1554 do
1555 IFS=$as_save_IFS
1556 case $as_dir in #(((
1557 '') as_dir=./ ;;
1558 */) ;;
1559 *) as_dir=$as_dir/ ;;
1560 esac
1561 printf "%s\n" "PATH: $as_dir"
1562 done
1563 IFS=$as_save_IFS
1564
1565 } >&5
1566
1567 cat >&5 <<_ACEOF
1568
1569
1570 ## ----------- ##
1571 ## Core tests. ##
1572 ## ----------- ##
1573
1574 _ACEOF
1575
1576
1577 # Keep a trace of the command line.
1578 # Strip out --no-create and --no-recursion so they do not pile up.
1579 # Strip out --silent because we don't want to record it for future runs.
1580 # Also quote any args containing shell meta-characters.
1581 # Make two passes to allow for proper duplicate-argument suppression.
1582 ac_configure_args=
1583 ac_configure_args0=
1584 ac_configure_args1=
1585 ac_must_keep_next=false
1586 for ac_pass in 1 2
1587 do
1588 for ac_arg
1589 do
1590 case $ac_arg in
1591 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1592 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1593 | -silent | --silent | --silen | --sile | --sil)
1594 continue ;;
1595 *\'*)
1596 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1597 esac
1598 case $ac_pass in
1599 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1600 2)
1601 as_fn_append ac_configure_args1 " '$ac_arg'"
1602 if test $ac_must_keep_next = true; then
1603 ac_must_keep_next=false # Got value, back to normal.
1604 else
1605 case $ac_arg in
1606 *=* | --config-cache | -C | -disable-* | --disable-* \
1607 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1608 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1609 | -with-* | --with-* | -without-* | --without-* | --x)
1610 case "$ac_configure_args0 " in
1611 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1612 esac
1613 ;;
1614 -* ) ac_must_keep_next=true ;;
1615 esac
1616 fi
1617 as_fn_append ac_configure_args " '$ac_arg'"
1618 ;;
1619 esac
1620 done
1621 done
1622 { ac_configure_args0=; unset ac_configure_args0;}
1623 { ac_configure_args1=; unset ac_configure_args1;}
1624
1625 # When interrupted or exit'd, cleanup temporary files, and complete
1626 # config.log. We remove comments because anyway the quotes in there
1627 # would cause problems or look ugly.
1628 # WARNING: Use '\'' to represent an apostrophe within the trap.
1629 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1630 trap 'exit_status=$?
1631 # Sanitize IFS.
1632 IFS=" "" $as_nl"
1633 # Save into config.log some information that might help in debugging.
1634 {
1635 echo
1636
1637 printf "%s\n" "## ---------------- ##
1638 ## Cache variables. ##
1639 ## ---------------- ##"
1640 echo
1641 # The following way of writing the cache mishandles newlines in values,
1642 (
1643 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1644 eval ac_val=\$$ac_var
1645 case $ac_val in #(
1646 *${as_nl}*)
1647 case $ac_var in #(
1648 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1649 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1650 esac
1651 case $ac_var in #(
1652 _ | IFS | as_nl) ;; #(
1653 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1654 *) { eval $ac_var=; unset $ac_var;} ;;
1655 esac ;;
1656 esac
1657 done
1658 (set) 2>&1 |
1659 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1660 *${as_nl}ac_space=\ *)
1661 sed -n \
1662 "s/'\''/'\''\\\\'\'''\''/g;
1663 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1664 ;; #(
1665 *)
1666 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1667 ;;
1668 esac |
1669 sort
1670 )
1671 echo
1672
1673 printf "%s\n" "## ----------------- ##
1674 ## Output variables. ##
1675 ## ----------------- ##"
1676 echo
1677 for ac_var in $ac_subst_vars
1678 do
1679 eval ac_val=\$$ac_var
1680 case $ac_val in
1681 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1682 esac
1683 printf "%s\n" "$ac_var='\''$ac_val'\''"
1684 done | sort
1685 echo
1686
1687 if test -n "$ac_subst_files"; then
1688 printf "%s\n" "## ------------------- ##
1689 ## File substitutions. ##
1690 ## ------------------- ##"
1691 echo
1692 for ac_var in $ac_subst_files
1693 do
1694 eval ac_val=\$$ac_var
1695 case $ac_val in
1696 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1697 esac
1698 printf "%s\n" "$ac_var='\''$ac_val'\''"
1699 done | sort
1700 echo
1701 fi
1702
1703 if test -s confdefs.h; then
1704 printf "%s\n" "## ----------- ##
1705 ## confdefs.h. ##
1706 ## ----------- ##"
1707 echo
1708 cat confdefs.h
1709 echo
1710 fi
1711 test "$ac_signal" != 0 &&
1712 printf "%s\n" "$as_me: caught signal $ac_signal"
1713 printf "%s\n" "$as_me: exit $exit_status"
1714 } >&5
1715 rm -f core *.core core.conftest.* &&
1716 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1717 exit $exit_status
1718 ' 0
1719 for ac_signal in 1 2 13 15; do
1720 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1721 done
1722 ac_signal=0
1723
1724 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1725 rm -f -r conftest* confdefs.h
1726
1727 printf "%s\n" "/* confdefs.h */" > confdefs.h
1728
1729 # Predefined preprocessor variables.
1730
1731 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1732
1733 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1734
1735 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1736
1737 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1738
1739 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1740
1741 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1742
1743
1744 # Let the site file select an alternate cache file if it wants to.
1745 # Prefer an explicitly selected file to automatically selected ones.
1746 if test -n "$CONFIG_SITE"; then
1747 ac_site_files="$CONFIG_SITE"
1748 elif test "x$prefix" != xNONE; then
1749 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
1750 else
1751 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1752 fi
1753
1754 for ac_site_file in $ac_site_files
1755 do
1756 case $ac_site_file in #(
1757 */*) :
1758 ;; #(
1759 *) :
1760 ac_site_file=./$ac_site_file ;;
1761 esac
1762 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
1763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1764 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
1765 sed 's/^/| /' "$ac_site_file" >&5
1766 . "$ac_site_file" \
1767 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
1768 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
1769 as_fn_error $? "failed to load site script $ac_site_file
1770 See 'config.log' for more details" "$LINENO" 5; }
1771 fi
1772 done
1773
1774 if test -r "$cache_file"; then
1775 # Some versions of bash will fail to source /dev/null (special files
1776 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1777 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1779 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
1780 case $cache_file in
1781 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1782 *) . "./$cache_file";;
1783 esac
1784 fi
1785 else
1786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1787 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
1788 >$cache_file
1789 fi
1790
1791 # Test code for whether the C compiler supports C89 (global declarations)
1792 ac_c_conftest_c89_globals='
1793 /* Does the compiler advertise C89 conformance?
1794 Do not test the value of __STDC__, because some compilers set it to 0
1795 while being otherwise adequately conformant. */
1796 #if !defined __STDC__
1797 # error "Compiler does not advertise C89 conformance"
1798 #endif
1799
1800 #include <stddef.h>
1801 #include <stdarg.h>
1802 struct stat;
1803 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
1804 struct buf { int x; };
1805 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
1806 static char *e (char **p, int i)
1807 {
1808 return p[i];
1809 }
1810 static char *f (char * (*g) (char **, int), char **p, ...)
1811 {
1812 char *s;
1813 va_list v;
1814 va_start (v,p);
1815 s = g (p, va_arg (v,int));
1816 va_end (v);
1817 return s;
1818 }
1819
1820 /* C89 style stringification. */
1821 #define noexpand_stringify(a) #a
1822 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
1823
1824 /* C89 style token pasting. Exercises some of the corner cases that
1825 e.g. old MSVC gets wrong, but not very hard. */
1826 #define noexpand_concat(a,b) a##b
1827 #define expand_concat(a,b) noexpand_concat(a,b)
1828 extern int vA;
1829 extern int vbee;
1830 #define aye A
1831 #define bee B
1832 int *pvA = &expand_concat(v,aye);
1833 int *pvbee = &noexpand_concat(v,bee);
1834
1835 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1836 function prototypes and stuff, but not \xHH hex character constants.
1837 These do not provoke an error unfortunately, instead are silently treated
1838 as an "x". The following induces an error, until -std is added to get
1839 proper ANSI mode. Curiously \x00 != x always comes out true, for an
1840 array size at least. It is necessary to write \x00 == 0 to get something
1841 that is true only with -std. */
1842 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
1843
1844 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
1845 inside strings and character constants. */
1846 #define FOO(x) '\''x'\''
1847 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
1848
1849 int test (int i, double x);
1850 struct s1 {int (*f) (int a);};
1851 struct s2 {int (*f) (double a);};
1852 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
1853 int, int);'
1854
1855 # Test code for whether the C compiler supports C89 (body of main).
1856 ac_c_conftest_c89_main='
1857 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
1858 '
1859
1860 # Test code for whether the C compiler supports C99 (global declarations)
1861 ac_c_conftest_c99_globals='
1862 /* Does the compiler advertise C99 conformance? */
1863 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
1864 # error "Compiler does not advertise C99 conformance"
1865 #endif
1866
1867 // See if C++-style comments work.
1868
1869 #include <stdbool.h>
1870 extern int puts (const char *);
1871 extern int printf (const char *, ...);
1872 extern int dprintf (int, const char *, ...);
1873 extern void *malloc (size_t);
1874 extern void free (void *);
1875
1876 // Check varargs macros. These examples are taken from C99 6.10.3.5.
1877 // dprintf is used instead of fprintf to avoid needing to declare
1878 // FILE and stderr.
1879 #define debug(...) dprintf (2, __VA_ARGS__)
1880 #define showlist(...) puts (#__VA_ARGS__)
1881 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
1882 static void
1883 test_varargs_macros (void)
1884 {
1885 int x = 1234;
1886 int y = 5678;
1887 debug ("Flag");
1888 debug ("X = %d\n", x);
1889 showlist (The first, second, and third items.);
1890 report (x>y, "x is %d but y is %d", x, y);
1891 }
1892
1893 // Check long long types.
1894 #define BIG64 18446744073709551615ull
1895 #define BIG32 4294967295ul
1896 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
1897 #if !BIG_OK
1898 #error "your preprocessor is broken"
1899 #endif
1900 #if BIG_OK
1901 #else
1902 #error "your preprocessor is broken"
1903 #endif
1904 static long long int bignum = -9223372036854775807LL;
1905 static unsigned long long int ubignum = BIG64;
1906
1907 struct incomplete_array
1908 {
1909 int datasize;
1910 double data[];
1911 };
1912
1913 struct named_init {
1914 int number;
1915 const wchar_t *name;
1916 double average;
1917 };
1918
1919 typedef const char *ccp;
1920
1921 static inline int
1922 test_restrict (ccp restrict text)
1923 {
1924 // Iterate through items via the restricted pointer.
1925 // Also check for declarations in for loops.
1926 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
1927 continue;
1928 return 0;
1929 }
1930
1931 // Check varargs and va_copy.
1932 static bool
1933 test_varargs (const char *format, ...)
1934 {
1935 va_list args;
1936 va_start (args, format);
1937 va_list args_copy;
1938 va_copy (args_copy, args);
1939
1940 const char *str = "";
1941 int number = 0;
1942 float fnumber = 0;
1943
1944 while (*format)
1945 {
1946 switch (*format++)
1947 {
1948 case '\''s'\'': // string
1949 str = va_arg (args_copy, const char *);
1950 break;
1951 case '\''d'\'': // int
1952 number = va_arg (args_copy, int);
1953 break;
1954 case '\''f'\'': // float
1955 fnumber = va_arg (args_copy, double);
1956 break;
1957 default:
1958 break;
1959 }
1960 }
1961 va_end (args_copy);
1962 va_end (args);
1963
1964 return *str && number && fnumber;
1965 }
1966 '
1967
1968 # Test code for whether the C compiler supports C99 (body of main).
1969 ac_c_conftest_c99_main='
1970 // Check bool.
1971 _Bool success = false;
1972 success |= (argc != 0);
1973
1974 // Check restrict.
1975 if (test_restrict ("String literal") == 0)
1976 success = true;
1977 char *restrict newvar = "Another string";
1978
1979 // Check varargs.
1980 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
1981 test_varargs_macros ();
1982
1983 // Check flexible array members.
1984 struct incomplete_array *ia =
1985 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
1986 ia->datasize = 10;
1987 for (int i = 0; i < ia->datasize; ++i)
1988 ia->data[i] = i * 1.234;
1989 // Work around memory leak warnings.
1990 free (ia);
1991
1992 // Check named initializers.
1993 struct named_init ni = {
1994 .number = 34,
1995 .name = L"Test wide string",
1996 .average = 543.34343,
1997 };
1998
1999 ni.number = 58;
2000
2001 int dynamic_array[ni.number];
2002 dynamic_array[0] = argv[0][0];
2003 dynamic_array[ni.number - 1] = 543;
2004
2005 // work around unused variable warnings
2006 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2007 || dynamic_array[ni.number - 1] != 543);
2008 '
2009
2010 # Test code for whether the C compiler supports C11 (global declarations)
2011 ac_c_conftest_c11_globals='
2012 /* Does the compiler advertise C11 conformance? */
2013 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2014 # error "Compiler does not advertise C11 conformance"
2015 #endif
2016
2017 // Check _Alignas.
2018 char _Alignas (double) aligned_as_double;
2019 char _Alignas (0) no_special_alignment;
2020 extern char aligned_as_int;
2021 char _Alignas (0) _Alignas (int) aligned_as_int;
2022
2023 // Check _Alignof.
2024 enum
2025 {
2026 int_alignment = _Alignof (int),
2027 int_array_alignment = _Alignof (int[100]),
2028 char_alignment = _Alignof (char)
2029 };
2030 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2031
2032 // Check _Noreturn.
2033 int _Noreturn does_not_return (void) { for (;;) continue; }
2034
2035 // Check _Static_assert.
2036 struct test_static_assert
2037 {
2038 int x;
2039 _Static_assert (sizeof (int) <= sizeof (long int),
2040 "_Static_assert does not work in struct");
2041 long int y;
2042 };
2043
2044 // Check UTF-8 literals.
2045 #define u8 syntax error!
2046 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2047
2048 // Check duplicate typedefs.
2049 typedef long *long_ptr;
2050 typedef long int *long_ptr;
2051 typedef long_ptr long_ptr;
2052
2053 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2054 struct anonymous
2055 {
2056 union {
2057 struct { int i; int j; };
2058 struct { int k; long int l; } w;
2059 };
2060 int m;
2061 } v1;
2062 '
2063
2064 # Test code for whether the C compiler supports C11 (body of main).
2065 ac_c_conftest_c11_main='
2066 _Static_assert ((offsetof (struct anonymous, i)
2067 == offsetof (struct anonymous, w.k)),
2068 "Anonymous union alignment botch");
2069 v1.i = 2;
2070 v1.w.k = 5;
2071 ok |= v1.i != 5;
2072 '
2073
2074 # Test code for whether the C compiler supports C11 (complete).
2075 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2076 ${ac_c_conftest_c99_globals}
2077 ${ac_c_conftest_c11_globals}
2078
2079 int
2080 main (int argc, char **argv)
2081 {
2082 int ok = 0;
2083 ${ac_c_conftest_c89_main}
2084 ${ac_c_conftest_c99_main}
2085 ${ac_c_conftest_c11_main}
2086 return ok;
2087 }
2088 "
2089
2090 # Test code for whether the C compiler supports C99 (complete).
2091 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2092 ${ac_c_conftest_c99_globals}
2093
2094 int
2095 main (int argc, char **argv)
2096 {
2097 int ok = 0;
2098 ${ac_c_conftest_c89_main}
2099 ${ac_c_conftest_c99_main}
2100 return ok;
2101 }
2102 "
2103
2104 # Test code for whether the C compiler supports C89 (complete).
2105 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2106
2107 int
2108 main (int argc, char **argv)
2109 {
2110 int ok = 0;
2111 ${ac_c_conftest_c89_main}
2112 return ok;
2113 }
2114 "
2115
2116
2117 # Auxiliary files required by this configure script.
2118 ac_aux_files="compile missing install-sh"
2119
2120 # Locations in which to look for auxiliary files.
2121 ac_aux_dir_candidates="${srcdir}/../../build-aux"
2122
2123 # Search for a directory containing all of the required auxiliary files,
2124 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2125 # If we don't find one directory that contains all the files we need,
2126 # we report the set of missing files from the *first* directory in
2127 # $ac_aux_dir_candidates and give up.
2128 ac_missing_aux_files=""
2129 ac_first_candidate=:
2130 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2132 as_found=false
2133 for as_dir in $ac_aux_dir_candidates
2134 do
2135 IFS=$as_save_IFS
2136 case $as_dir in #(((
2137 '') as_dir=./ ;;
2138 */) ;;
2139 *) as_dir=$as_dir/ ;;
2140 esac
2141 as_found=:
2142
2143 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
2144 ac_aux_dir_found=yes
2145 ac_install_sh=
2146 for ac_aux in $ac_aux_files
2147 do
2148 # As a special case, if "install-sh" is required, that requirement
2149 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2150 # and $ac_install_sh is set appropriately for whichever one is found.
2151 if test x"$ac_aux" = x"install-sh"
2152 then
2153 if test -f "${as_dir}install-sh"; then
2154 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
2155 ac_install_sh="${as_dir}install-sh -c"
2156 elif test -f "${as_dir}install.sh"; then
2157 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
2158 ac_install_sh="${as_dir}install.sh -c"
2159 elif test -f "${as_dir}shtool"; then
2160 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
2161 ac_install_sh="${as_dir}shtool install -c"
2162 else
2163 ac_aux_dir_found=no
2164 if $ac_first_candidate; then
2165 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
2166 else
2167 break
2168 fi
2169 fi
2170 else
2171 if test -f "${as_dir}${ac_aux}"; then
2172 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
2173 else
2174 ac_aux_dir_found=no
2175 if $ac_first_candidate; then
2176 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
2177 else
2178 break
2179 fi
2180 fi
2181 fi
2182 done
2183 if test "$ac_aux_dir_found" = yes; then
2184 ac_aux_dir="$as_dir"
2185 break
2186 fi
2187 ac_first_candidate=false
2188
2189 as_found=false
2190 done
2191 IFS=$as_save_IFS
2192 if $as_found
2193 then :
2194
2195 else case e in #(
2196 e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
2197 esac
2198 fi
2199
2200
2201 # These three variables are undocumented and unsupported,
2202 # and are intended to be withdrawn in a future Autoconf release.
2203 # They can cause serious problems if a builder's source tree is in a directory
2204 # whose full name contains unusual characters.
2205 if test -f "${ac_aux_dir}config.guess"; then
2206 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
2207 fi
2208 if test -f "${ac_aux_dir}config.sub"; then
2209 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
2210 fi
2211 if test -f "$ac_aux_dir/configure"; then
2212 ac_configure="$SHELL ${ac_aux_dir}configure"
2213 fi
2214
2215 # Check that the precious variables saved in the cache have kept the same
2216 # value.
2217 ac_cache_corrupted=false
2218 for ac_var in $ac_precious_vars; do
2219 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2220 eval ac_new_set=\$ac_env_${ac_var}_set
2221 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2222 eval ac_new_val=\$ac_env_${ac_var}_value
2223 case $ac_old_set,$ac_new_set in
2224 set,)
2225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
2226 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
2227 ac_cache_corrupted=: ;;
2228 ,set)
2229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
2230 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
2231 ac_cache_corrupted=: ;;
2232 ,);;
2233 *)
2234 if test "x$ac_old_val" != "x$ac_new_val"; then
2235 # differences in whitespace do not lead to failure.
2236 ac_old_val_w=`echo x $ac_old_val`
2237 ac_new_val_w=`echo x $ac_new_val`
2238 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
2240 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
2241 ac_cache_corrupted=:
2242 else
2243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
2244 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
2245 eval $ac_var=\$ac_old_val
2246 fi
2247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: '$ac_old_val'" >&5
2248 printf "%s\n" "$as_me: former value: '$ac_old_val'" >&2;}
2249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: '$ac_new_val'" >&5
2250 printf "%s\n" "$as_me: current value: '$ac_new_val'" >&2;}
2251 fi;;
2252 esac
2253 # Pass precious variables to config.status.
2254 if test "$ac_new_set" = set; then
2255 case $ac_new_val in
2256 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2257 *) ac_arg=$ac_var=$ac_new_val ;;
2258 esac
2259 case " $ac_configure_args " in
2260 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2261 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2262 esac
2263 fi
2264 done
2265 if $ac_cache_corrupted; then
2266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
2267 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
2268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2269 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2270 as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
2271 and start over" "$LINENO" 5
2272 fi
2273 ## -------------------- ##
2274 ## Main body of script. ##
2275 ## -------------------- ##
2276
2277 ac_ext=c
2278 ac_cpp='$CPP $CPPFLAGS'
2279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2282
2283
2284
2285
2286
2287
2288
2289 am__api_version='1.18'
2290
2291
2292
2293 # Find a good install program. We prefer a C program (faster),
2294 # so one script is as good as another. But avoid the broken or
2295 # incompatible versions:
2296 # SysV /etc/install, /usr/sbin/install
2297 # SunOS /usr/etc/install
2298 # IRIX /sbin/install
2299 # AIX /bin/install
2300 # AmigaOS /C/install, which installs bootblocks on floppy discs
2301 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2302 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2303 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2304 # OS/2's system install, which has a completely different semantic
2305 # ./install, which can be erroneously created by make from ./install.sh.
2306 # Reject install programs that cannot install multiple files.
2307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2308 printf %s "checking for a BSD-compatible install... " >&6; }
2309 if test -z "$INSTALL"; then
2310 if test ${ac_cv_path_install+y}
2311 then :
2312 printf %s "(cached) " >&6
2313 else case e in #(
2314 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2315 for as_dir in $PATH
2316 do
2317 IFS=$as_save_IFS
2318 case $as_dir in #(((
2319 '') as_dir=./ ;;
2320 */) ;;
2321 *) as_dir=$as_dir/ ;;
2322 esac
2323 # Account for fact that we put trailing slashes in our PATH walk.
2324 case $as_dir in #((
2325 ./ | /[cC]/* | \
2326 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2327 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2328 /usr/ucb/* ) ;;
2329 *)
2330 # OSF1 and SCO ODT 3.0 have their own names for install.
2331 # Don't use installbsd from OSF since it installs stuff as root
2332 # by default.
2333 for ac_prog in ginstall scoinst install; do
2334 for ac_exec_ext in '' $ac_executable_extensions; do
2335 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
2336 if test $ac_prog = install &&
2337 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2338 # AIX install. It has an incompatible calling convention.
2339 :
2340 elif test $ac_prog = install &&
2341 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2342 # program-specific install script used by HP pwplus--don't use.
2343 :
2344 else
2345 rm -rf conftest.one conftest.two conftest.dir
2346 echo one > conftest.one
2347 echo two > conftest.two
2348 mkdir conftest.dir
2349 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
2350 test -s conftest.one && test -s conftest.two &&
2351 test -s conftest.dir/conftest.one &&
2352 test -s conftest.dir/conftest.two
2353 then
2354 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
2355 break 3
2356 fi
2357 fi
2358 fi
2359 done
2360 done
2361 ;;
2362 esac
2363
2364 done
2365 IFS=$as_save_IFS
2366
2367 rm -rf conftest.one conftest.two conftest.dir
2368 ;;
2369 esac
2370 fi
2371 if test ${ac_cv_path_install+y}; then
2372 INSTALL=$ac_cv_path_install
2373 else
2374 # As a last resort, use the slow shell script. Don't cache a
2375 # value for INSTALL within a source directory, because that will
2376 # break other packages using the cache if that directory is
2377 # removed, or if the value is a relative name.
2378 INSTALL=$ac_install_sh
2379 fi
2380 fi
2381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2382 printf "%s\n" "$INSTALL" >&6; }
2383
2384 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2385 # It thinks the first close brace ends the variable substitution.
2386 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2387
2388 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2389
2390 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2391
2392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
2393 printf %s "checking whether sleep supports fractional seconds... " >&6; }
2394 if test ${am_cv_sleep_fractional_seconds+y}
2395 then :
2396 printf %s "(cached) " >&6
2397 else case e in #(
2398 e) if sleep 0.001 2>/dev/null
2399 then :
2400 am_cv_sleep_fractional_seconds=yes
2401 else case e in #(
2402 e) am_cv_sleep_fractional_seconds=no ;;
2403 esac
2404 fi
2405 ;;
2406 esac
2407 fi
2408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
2409 printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; }
2410
2411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
2412 printf %s "checking filesystem timestamp resolution... " >&6; }
2413 if test ${am_cv_filesystem_timestamp_resolution+y}
2414 then :
2415 printf %s "(cached) " >&6
2416 else case e in #(
2417 e) # Default to the worst case.
2418 am_cv_filesystem_timestamp_resolution=2
2419
2420 # Only try to go finer than 1 sec if sleep can do it.
2421 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
2422 # - 1 sec is not much of a win compared to 2 sec, and
2423 # - it takes 2 seconds to perform the test whether 1 sec works.
2424 #
2425 # Instead, just use the default 2s on platforms that have 1s resolution,
2426 # accept the extra 1s delay when using $sleep in the Automake tests, in
2427 # exchange for not incurring the 2s delay for running the test for all
2428 # packages.
2429 #
2430 am_try_resolutions=
2431 if test "$am_cv_sleep_fractional_seconds" = yes; then
2432 # Even a millisecond often causes a bunch of false positives,
2433 # so just try a hundredth of a second. The time saved between .001 and
2434 # .01 is not terribly consequential.
2435 am_try_resolutions="0.01 0.1 $am_try_resolutions"
2436 fi
2437
2438 # In order to catch current-generation FAT out, we must *modify* files
2439 # that already exist; the *creation* timestamp is finer. Use names
2440 # that make ls -t sort them differently when they have equal
2441 # timestamps than when they have distinct timestamps, keeping
2442 # in mind that ls -t prints the *newest* file first.
2443 rm -f conftest.ts?
2444 : > conftest.ts1
2445 : > conftest.ts2
2446 : > conftest.ts3
2447
2448 # Make sure ls -t actually works. Do 'set' in a subshell so we don't
2449 # clobber the current shell's arguments. (Outer-level square brackets
2450 # are removed by m4; they're present so that m4 does not expand
2451 # <dollar><star>; be careful, easy to get confused.)
2452 if (
2453 set X `ls -t conftest.ts[12]` &&
2454 {
2455 test "$*" != "X conftest.ts1 conftest.ts2" ||
2456 test "$*" != "X conftest.ts2 conftest.ts1";
2457 }
2458 ); then :; else
2459 # If neither matched, then we have a broken ls. This can happen
2460 # if, for instance, CONFIG_SHELL is bash and it inherits a
2461 # broken ls alias from the environment. This has actually
2462 # happened. Such a system could not be considered "sane".
2463 printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
2464 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
2465 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
2466 as_fn_error $? "ls -t produces unexpected output.
2467 Make sure there is not a broken ls alias in your environment.
2468 See 'config.log' for more details" "$LINENO" 5; }
2469 fi
2470
2471 for am_try_res in $am_try_resolutions; do
2472 # Any one fine-grained sleep might happen to cross the boundary
2473 # between two values of a coarser actual resolution, but if we do
2474 # two fine-grained sleeps in a row, at least one of them will fall
2475 # entirely within a coarse interval.
2476 echo alpha > conftest.ts1
2477 sleep $am_try_res
2478 echo beta > conftest.ts2
2479 sleep $am_try_res
2480 echo gamma > conftest.ts3
2481
2482 # We assume that 'ls -t' will make use of high-resolution
2483 # timestamps if the operating system supports them at all.
2484 if (set X `ls -t conftest.ts?` &&
2485 test "$2" = conftest.ts3 &&
2486 test "$3" = conftest.ts2 &&
2487 test "$4" = conftest.ts1); then
2488 #
2489 # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
2490 # because we don't need to test make.
2491 make_ok=true
2492 if test $am_try_res != 1; then
2493 # But if we've succeeded so far with a subsecond resolution, we
2494 # have one more thing to check: make. It can happen that
2495 # everything else supports the subsecond mtimes, but make doesn't;
2496 # notably on macOS, which ships make 3.81 from 2006 (the last one
2497 # released under GPLv2). https://bugs.gnu.org/68808
2498 #
2499 # We test $MAKE if it is defined in the environment, else "make".
2500 # It might get overridden later, but our hope is that in practice
2501 # it does not matter: it is the system "make" which is (by far)
2502 # the most likely to be broken, whereas if the user overrides it,
2503 # probably they did so with a better, or at least not worse, make.
2504 # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
2505 #
2506 # Create a Makefile (real tab character here):
2507 rm -f conftest.mk
2508 echo 'conftest.ts1: conftest.ts2' >conftest.mk
2509 echo ' touch conftest.ts2' >>conftest.mk
2510 #
2511 # Now, running
2512 # touch conftest.ts1; touch conftest.ts2; make
2513 # should touch ts1 because ts2 is newer. This could happen by luck,
2514 # but most often, it will fail if make's support is insufficient. So
2515 # test for several consecutive successes.
2516 #
2517 # (We reuse conftest.ts[12] because we still want to modify existing
2518 # files, not create new ones, per above.)
2519 n=0
2520 make=${MAKE-make}
2521 until test $n -eq 3; do
2522 echo one > conftest.ts1
2523 sleep $am_try_res
2524 echo two > conftest.ts2 # ts2 should now be newer than ts1
2525 if $make -f conftest.mk | grep 'up to date' >/dev/null; then
2526 make_ok=false
2527 break # out of $n loop
2528 fi
2529 n=`expr $n + 1`
2530 done
2531 fi
2532 #
2533 if $make_ok; then
2534 # Everything we know to check worked out, so call this resolution good.
2535 am_cv_filesystem_timestamp_resolution=$am_try_res
2536 break # out of $am_try_res loop
2537 fi
2538 # Otherwise, we'll go on to check the next resolution.
2539 fi
2540 done
2541 rm -f conftest.ts?
2542 # (end _am_filesystem_timestamp_resolution)
2543 ;;
2544 esac
2545 fi
2546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
2547 printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; }
2548
2549 # This check should not be cached, as it may vary across builds of
2550 # different projects.
2551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2552 printf %s "checking whether build environment is sane... " >&6; }
2553 # Reject unsafe characters in $srcdir or the absolute working directory
2554 # name. Accept space and tab only in the latter.
2555 am_lf='
2556 '
2557 case `pwd` in
2558 *[\\\"\#\$\&\'\`$am_lf]*)
2559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2560 printf "%s\n" "no" >&6; }
2561 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2562 esac
2563 case $srcdir in
2564 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2566 printf "%s\n" "no" >&6; }
2567 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2568 esac
2569
2570 # Do 'set' in a subshell so we don't clobber the current shell's
2571 # arguments. Must try -L first in case configure is actually a
2572 # symlink; some systems play weird games with the mod time of symlinks
2573 # (eg FreeBSD returns the mod time of the symlink's containing
2574 # directory).
2575 am_build_env_is_sane=no
2576 am_has_slept=no
2577 rm -f conftest.file
2578 for am_try in 1 2; do
2579 echo "timestamp, slept: $am_has_slept" > conftest.file
2580 if (
2581 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2582 if test "$*" = "X"; then
2583 # -L didn't work.
2584 set X `ls -t "$srcdir/configure" conftest.file`
2585 fi
2586 test "$2" = conftest.file
2587 ); then
2588 am_build_env_is_sane=yes
2589 break
2590 fi
2591 # Just in case.
2592 sleep "$am_cv_filesystem_timestamp_resolution"
2593 am_has_slept=yes
2594 done
2595
2596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
2597 printf "%s\n" "$am_build_env_is_sane" >&6; }
2598 if test "$am_build_env_is_sane" = no; then
2599 as_fn_error $? "newly created file is older than distributed files!
2600 Check your system clock" "$LINENO" 5
2601 fi
2602
2603 # If we didn't sleep, we still need to ensure time stamps of config.status and
2604 # generated files are strictly newer.
2605 am_sleep_pid=
2606 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
2607 then :
2608
2609 else case e in #(
2610 e) ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
2611 am_sleep_pid=$!
2612 ;;
2613 esac
2614 fi
2615
2616 rm -f conftest.file
2617
2618 test "$program_prefix" != NONE &&
2619 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2620 # Use a double $ so make ignores it.
2621 test "$program_suffix" != NONE &&
2622 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2623 # Double any \ or $.
2624 # By default was 's,x,x', remove it if useless.
2625 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2626 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
2627
2628
2629 # Expand $ac_aux_dir to an absolute path.
2630 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2631
2632
2633 if test x"${MISSING+set}" != xset; then
2634 MISSING="\${SHELL} '$am_aux_dir/missing'"
2635 fi
2636 # Use eval to expand $SHELL
2637 if eval "$MISSING --is-lightweight"; then
2638 am_missing_run="$MISSING "
2639 else
2640 am_missing_run=
2641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2642 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2643 fi
2644
2645 if test x"${install_sh+set}" != xset; then
2646 case $am_aux_dir in
2647 *\ * | *\ *)
2648 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2649 *)
2650 install_sh="\${SHELL} $am_aux_dir/install-sh"
2651 esac
2652 fi
2653
2654 # Installed binaries are usually stripped using 'strip' when the user
2655 # run "make install-strip". However 'strip' might not be the right
2656 # tool to use in cross-compilation environments, therefore Automake
2657 # will honor the 'STRIP' environment variable to overrule this program.
2658 if test "$cross_compiling" != no; then
2659 if test -n "$ac_tool_prefix"; then
2660 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2661 set dummy ${ac_tool_prefix}strip; ac_word=$2
2662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2663 printf %s "checking for $ac_word... " >&6; }
2664 if test ${ac_cv_prog_STRIP+y}
2665 then :
2666 printf %s "(cached) " >&6
2667 else case e in #(
2668 e) if test -n "$STRIP"; then
2669 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2670 else
2671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2672 for as_dir in $PATH
2673 do
2674 IFS=$as_save_IFS
2675 case $as_dir in #(((
2676 '') as_dir=./ ;;
2677 */) ;;
2678 *) as_dir=$as_dir/ ;;
2679 esac
2680 for ac_exec_ext in '' $ac_executable_extensions; do
2681 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2682 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2683 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2684 break 2
2685 fi
2686 done
2687 done
2688 IFS=$as_save_IFS
2689
2690 fi ;;
2691 esac
2692 fi
2693 STRIP=$ac_cv_prog_STRIP
2694 if test -n "$STRIP"; then
2695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2696 printf "%s\n" "$STRIP" >&6; }
2697 else
2698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2699 printf "%s\n" "no" >&6; }
2700 fi
2701
2702
2703 fi
2704 if test -z "$ac_cv_prog_STRIP"; then
2705 ac_ct_STRIP=$STRIP
2706 # Extract the first word of "strip", so it can be a program name with args.
2707 set dummy strip; ac_word=$2
2708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2709 printf %s "checking for $ac_word... " >&6; }
2710 if test ${ac_cv_prog_ac_ct_STRIP+y}
2711 then :
2712 printf %s "(cached) " >&6
2713 else case e in #(
2714 e) if test -n "$ac_ct_STRIP"; then
2715 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2716 else
2717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2718 for as_dir in $PATH
2719 do
2720 IFS=$as_save_IFS
2721 case $as_dir in #(((
2722 '') as_dir=./ ;;
2723 */) ;;
2724 *) as_dir=$as_dir/ ;;
2725 esac
2726 for ac_exec_ext in '' $ac_executable_extensions; do
2727 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2728 ac_cv_prog_ac_ct_STRIP="strip"
2729 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2730 break 2
2731 fi
2732 done
2733 done
2734 IFS=$as_save_IFS
2735
2736 fi ;;
2737 esac
2738 fi
2739 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2740 if test -n "$ac_ct_STRIP"; then
2741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2742 printf "%s\n" "$ac_ct_STRIP" >&6; }
2743 else
2744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2745 printf "%s\n" "no" >&6; }
2746 fi
2747
2748 if test "x$ac_ct_STRIP" = x; then
2749 STRIP=":"
2750 else
2751 case $cross_compiling:$ac_tool_warned in
2752 yes:)
2753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2754 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2755 ac_tool_warned=yes ;;
2756 esac
2757 STRIP=$ac_ct_STRIP
2758 fi
2759 else
2760 STRIP="$ac_cv_prog_STRIP"
2761 fi
2762
2763 fi
2764 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2765
2766
2767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
2768 printf %s "checking for a race-free mkdir -p... " >&6; }
2769 if test -z "$MKDIR_P"; then
2770 if test ${ac_cv_path_mkdir+y}
2771 then :
2772 printf %s "(cached) " >&6
2773 else case e in #(
2774 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2775 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2776 do
2777 IFS=$as_save_IFS
2778 case $as_dir in #(((
2779 '') as_dir=./ ;;
2780 */) ;;
2781 *) as_dir=$as_dir/ ;;
2782 esac
2783 for ac_prog in mkdir gmkdir; do
2784 for ac_exec_ext in '' $ac_executable_extensions; do
2785 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
2786 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
2787 'mkdir ('*'coreutils) '* | \
2788 *'BusyBox '* | \
2789 'mkdir (fileutils) '4.1*)
2790 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
2791 break 3;;
2792 esac
2793 done
2794 done
2795 done
2796 IFS=$as_save_IFS
2797 ;;
2798 esac
2799 fi
2800
2801 test -d ./--version && rmdir ./--version
2802 if test ${ac_cv_path_mkdir+y}; then
2803 MKDIR_P="$ac_cv_path_mkdir -p"
2804 else
2805 # As a last resort, use plain mkdir -p,
2806 # in the hope it doesn't have the bugs of ancient mkdir.
2807 MKDIR_P='mkdir -p'
2808 fi
2809 fi
2810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2811 printf "%s\n" "$MKDIR_P" >&6; }
2812
2813 for ac_prog in gawk mawk nawk awk
2814 do
2815 # Extract the first word of "$ac_prog", so it can be a program name with args.
2816 set dummy $ac_prog; ac_word=$2
2817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2818 printf %s "checking for $ac_word... " >&6; }
2819 if test ${ac_cv_prog_AWK+y}
2820 then :
2821 printf %s "(cached) " >&6
2822 else case e in #(
2823 e) if test -n "$AWK"; then
2824 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2825 else
2826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2827 for as_dir in $PATH
2828 do
2829 IFS=$as_save_IFS
2830 case $as_dir in #(((
2831 '') as_dir=./ ;;
2832 */) ;;
2833 *) as_dir=$as_dir/ ;;
2834 esac
2835 for ac_exec_ext in '' $ac_executable_extensions; do
2836 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2837 ac_cv_prog_AWK="$ac_prog"
2838 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2839 break 2
2840 fi
2841 done
2842 done
2843 IFS=$as_save_IFS
2844
2845 fi ;;
2846 esac
2847 fi
2848 AWK=$ac_cv_prog_AWK
2849 if test -n "$AWK"; then
2850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2851 printf "%s\n" "$AWK" >&6; }
2852 else
2853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2854 printf "%s\n" "no" >&6; }
2855 fi
2856
2857
2858 test -n "$AWK" && break
2859 done
2860
2861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2862 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2863 set x ${MAKE-make}
2864 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2865 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
2866 then :
2867 printf %s "(cached) " >&6
2868 else case e in #(
2869 e) cat >conftest.make <<\_ACEOF
2870 SHELL = /bin/sh
2871 all:
2872 @echo '@@@%%%=$(MAKE)=@@@%%%'
2873 _ACEOF
2874 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2875 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2876 *@@@%%%=?*=@@@%%%*)
2877 eval ac_cv_prog_make_${ac_make}_set=yes;;
2878 *)
2879 eval ac_cv_prog_make_${ac_make}_set=no;;
2880 esac
2881 rm -f conftest.make ;;
2882 esac
2883 fi
2884 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2886 printf "%s\n" "yes" >&6; }
2887 SET_MAKE=
2888 else
2889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2890 printf "%s\n" "no" >&6; }
2891 SET_MAKE="MAKE=${MAKE-make}"
2892 fi
2893
2894 rm -rf .tst 2>/dev/null
2895 mkdir .tst 2>/dev/null
2896 if test -d .tst; then
2897 am__leading_dot=.
2898 else
2899 am__leading_dot=_
2900 fi
2901 rmdir .tst 2>/dev/null
2902
2903 AM_DEFAULT_VERBOSITY=1
2904 # Check whether --enable-silent-rules was given.
2905 if test ${enable_silent_rules+y}
2906 then :
2907 enableval=$enable_silent_rules;
2908 fi
2909
2910 am_make=${MAKE-make}
2911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2912 printf %s "checking whether $am_make supports nested variables... " >&6; }
2913 if test ${am_cv_make_support_nested_variables+y}
2914 then :
2915 printf %s "(cached) " >&6
2916 else case e in #(
2917 e) if printf "%s\n" 'TRUE=$(BAR$(V))
2918 BAR0=false
2919 BAR1=true
2920 V=1
2921 am__doit:
2922 @$(TRUE)
2923 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2924 am_cv_make_support_nested_variables=yes
2925 else
2926 am_cv_make_support_nested_variables=no
2927 fi ;;
2928 esac
2929 fi
2930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2931 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
2932 AM_BACKSLASH='\'
2933
2934 am__rm_f_notfound=
2935 if (rm -f && rm -fr && rm -rf) 2>/dev/null
2936 then :
2937
2938 else case e in #(
2939 e) am__rm_f_notfound='""' ;;
2940 esac
2941 fi
2942
2943
2944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
2945 printf %s "checking xargs -n works... " >&6; }
2946 if test ${am_cv_xargs_n_works+y}
2947 then :
2948 printf %s "(cached) " >&6
2949 else case e in #(
2950 e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
2951 3"
2952 then :
2953 am_cv_xargs_n_works=yes
2954 else case e in #(
2955 e) am_cv_xargs_n_works=no ;;
2956 esac
2957 fi ;;
2958 esac
2959 fi
2960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
2961 printf "%s\n" "$am_cv_xargs_n_works" >&6; }
2962 if test "$am_cv_xargs_n_works" = yes
2963 then :
2964 am__xargs_n='xargs -n'
2965 else case e in #(
2966 e) am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
2967 ;;
2968 esac
2969 fi
2970
2971 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2972 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2973 # is not polluted with repeated "-I."
2974 am__isrc=' -I$(srcdir)'
2975 # test to see if srcdir already configured
2976 if test -f $srcdir/config.status; then
2977 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2978 fi
2979 fi
2980
2981 # test whether we have cygpath
2982 if test -z "$CYGPATH_W"; then
2983 if (cygpath --version) >/dev/null 2>/dev/null; then
2984 CYGPATH_W='cygpath -w'
2985 else
2986 CYGPATH_W=echo
2987 fi
2988 fi
2989
2990
2991 # Define the identity of the package.
2992 PACKAGE='tex-live-scripts'
2993 VERSION='2026'
2994
2995
2996 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
2997
2998
2999 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
3000
3001 # Some tools Automake needs.
3002
3003 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3004
3005
3006 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3007
3008
3009 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3010
3011
3012 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3013
3014
3015 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3016
3017 # For better backward compatibility. To be removed once Automake 1.9.x
3018 # dies out for good. For more background, see:
3019 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3020 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3021 mkdir_p='$(MKDIR_P)'
3022
3023 # We need awk for the "check" target (and possibly the TAP driver). The
3024 # system "awk" is bad on some platforms.
3025 # Always define AMTAR for backward compatibility. Yes, it's still used
3026 # in the wild :-( We should find a proper way to deprecate it ...
3027 AMTAR='$${TAR-tar}'
3028
3029
3030 # We'll loop over all known methods to create a tar archive until one works.
3031 _am_tools='gnutar plaintar pax cpio none'
3032
3033 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
3034 # There is notably a 21 bits limit for the UID and the GID. In fact,
3035 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
3036 # and bug#13588).
3037 am_max_uid=2097151 # 2^21 - 1
3038 am_max_gid=$am_max_uid
3039 # The $UID and $GID variables are not portable, so we need to resort
3040 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
3041 # below are definitely unexpected, so allow the users to see them
3042 # (that is, avoid stderr redirection).
3043 am_uid=`id -u || echo unknown`
3044 am_gid=`id -g || echo unknown`
3045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
3046 printf %s "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
3047 if test x$am_uid = xunknown; then
3048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&5
3049 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&2;}
3050 elif test $am_uid -le $am_max_uid; then
3051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3052 printf "%s\n" "yes" >&6; }
3053 else
3054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3055 printf "%s\n" "no" >&6; }
3056 _am_tools=none
3057 fi
3058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
3059 printf %s "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
3060 if test x$gm_gid = xunknown; then
3061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&5
3062 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&2;}
3063 elif test $am_gid -le $am_max_gid; then
3064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3065 printf "%s\n" "yes" >&6; }
3066 else
3067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3068 printf "%s\n" "no" >&6; }
3069 _am_tools=none
3070 fi
3071
3072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3073 printf %s "checking how to create a ustar tar archive... " >&6; }
3074
3075 # Go ahead even if we have the value already cached. We do so because we
3076 # need to set the values for the 'am__tar' and 'am__untar' variables.
3077 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
3078
3079 for _am_tool in $_am_tools; do
3080 case $_am_tool in
3081 gnutar)
3082 for _am_tar in tar gnutar gtar; do
3083 { echo "$as_me:$LINENO: $_am_tar --version" >&5
3084 ($_am_tar --version) >&5 2>&5
3085 ac_status=$?
3086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3087 (exit $ac_status); } && break
3088 done
3089 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
3090 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
3091 am__untar="$_am_tar -xf -"
3092 ;;
3093 plaintar)
3094 # Must skip GNU tar: if it does not support --format= it doesn't create
3095 # ustar tarball either.
3096 (tar --version) >/dev/null 2>&1 && continue
3097 am__tar='tar chf - "$$tardir"'
3098 am__tar_='tar chf - "$tardir"'
3099 am__untar='tar xf -'
3100 ;;
3101 pax)
3102 am__tar='pax -L -x ustar -w "$$tardir"'
3103 am__tar_='pax -L -x ustar -w "$tardir"'
3104 am__untar='pax -r'
3105 ;;
3106 cpio)
3107 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3108 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3109 am__untar='cpio -i -H ustar -d'
3110 ;;
3111 none)
3112 am__tar=false
3113 am__tar_=false
3114 am__untar=false
3115 ;;
3116 esac
3117
3118 # If the value was cached, stop now. We just wanted to have am__tar
3119 # and am__untar set.
3120 test -n "${am_cv_prog_tar_ustar}" && break
3121
3122 # tar/untar a dummy directory, and stop if the command works.
3123 rm -rf conftest.dir
3124 mkdir conftest.dir
3125 echo GrepMe > conftest.dir/file
3126 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3127 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3128 ac_status=$?
3129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3130 (exit $ac_status); }
3131 rm -rf conftest.dir
3132 if test -s conftest.tar; then
3133 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3134 ($am__untar <conftest.tar) >&5 2>&5
3135 ac_status=$?
3136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3137 (exit $ac_status); }
3138 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
3139 (cat conftest.dir/file) >&5 2>&5
3140 ac_status=$?
3141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3142 (exit $ac_status); }
3143 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3144 fi
3145 done
3146 rm -rf conftest.dir
3147
3148 if test ${am_cv_prog_tar_ustar+y}
3149 then :
3150 printf %s "(cached) " >&6
3151 else case e in #(
3152 e) am_cv_prog_tar_ustar=$_am_tool ;;
3153 esac
3154 fi
3155
3156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3157 printf "%s\n" "$am_cv_prog_tar_ustar" >&6; }
3158
3159
3160
3161
3162
3163 # Variables for tags utilities; see am/tags.am
3164 if test -z "$CTAGS"; then
3165 CTAGS=ctags
3166 fi
3167
3168 if test -z "$ETAGS"; then
3169 ETAGS=etags
3170 fi
3171
3172 if test -z "$CSCOPE"; then
3173 CSCOPE=cscope
3174 fi
3175
3176
3177
3178
3179
3180
3181
3182
3183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3184 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3185 # Check whether --enable-maintainer-mode was given.
3186 if test ${enable_maintainer_mode+y}
3187 then :
3188 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3189 else case e in #(
3190 e) USE_MAINTAINER_MODE=no ;;
3191 esac
3192 fi
3193
3194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3195 printf "%s\n" "$USE_MAINTAINER_MODE" >&6; }
3196 if test $USE_MAINTAINER_MODE = yes; then
3197 MAINTAINER_MODE_TRUE=
3198 MAINTAINER_MODE_FALSE='#'
3199 else
3200 MAINTAINER_MODE_TRUE='#'
3201 MAINTAINER_MODE_FALSE=
3202 fi
3203
3204 MAINT=$MAINTAINER_MODE_TRUE
3205
3206
3207
3208 # Configure options for texlive also shown at the TeX Live top-level.
3209 ## texk/texlive/ac/texlive.ac: configure.ac fragment for the TeX Live subdirectory texk/texlive/
3210 ## configure options for texlive
3211 # Check whether --enable-linked-scripts was given.
3212 if test ${enable_linked_scripts+y}
3213 then :
3214 enableval=$enable_linked_scripts;
3215 fi
3216
3217 if test "x$enable_linked_scripts" != xno; then
3218 LINKED_SCRIPTS_TRUE=
3219 LINKED_SCRIPTS_FALSE='#'
3220 else
3221 LINKED_SCRIPTS_TRUE='#'
3222 LINKED_SCRIPTS_FALSE=
3223 fi
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235 ac_ext=c
3236 ac_cpp='$CPP $CPPFLAGS'
3237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3240 if test -n "$ac_tool_prefix"; then
3241 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3242 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3244 printf %s "checking for $ac_word... " >&6; }
3245 if test ${ac_cv_prog_CC+y}
3246 then :
3247 printf %s "(cached) " >&6
3248 else case e in #(
3249 e) if test -n "$CC"; then
3250 ac_cv_prog_CC="$CC" # Let the user override the test.
3251 else
3252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3253 for as_dir in $PATH
3254 do
3255 IFS=$as_save_IFS
3256 case $as_dir in #(((
3257 '') as_dir=./ ;;
3258 */) ;;
3259 *) as_dir=$as_dir/ ;;
3260 esac
3261 for ac_exec_ext in '' $ac_executable_extensions; do
3262 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3263 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3264 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3265 break 2
3266 fi
3267 done
3268 done
3269 IFS=$as_save_IFS
3270
3271 fi ;;
3272 esac
3273 fi
3274 CC=$ac_cv_prog_CC
3275 if test -n "$CC"; then
3276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3277 printf "%s\n" "$CC" >&6; }
3278 else
3279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3280 printf "%s\n" "no" >&6; }
3281 fi
3282
3283
3284 fi
3285 if test -z "$ac_cv_prog_CC"; then
3286 ac_ct_CC=$CC
3287 # Extract the first word of "gcc", so it can be a program name with args.
3288 set dummy gcc; ac_word=$2
3289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3290 printf %s "checking for $ac_word... " >&6; }
3291 if test ${ac_cv_prog_ac_ct_CC+y}
3292 then :
3293 printf %s "(cached) " >&6
3294 else case e in #(
3295 e) if test -n "$ac_ct_CC"; then
3296 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3297 else
3298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3299 for as_dir in $PATH
3300 do
3301 IFS=$as_save_IFS
3302 case $as_dir in #(((
3303 '') as_dir=./ ;;
3304 */) ;;
3305 *) as_dir=$as_dir/ ;;
3306 esac
3307 for ac_exec_ext in '' $ac_executable_extensions; do
3308 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3309 ac_cv_prog_ac_ct_CC="gcc"
3310 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3311 break 2
3312 fi
3313 done
3314 done
3315 IFS=$as_save_IFS
3316
3317 fi ;;
3318 esac
3319 fi
3320 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3321 if test -n "$ac_ct_CC"; then
3322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3323 printf "%s\n" "$ac_ct_CC" >&6; }
3324 else
3325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3326 printf "%s\n" "no" >&6; }
3327 fi
3328
3329 if test "x$ac_ct_CC" = x; then
3330 CC=""
3331 else
3332 case $cross_compiling:$ac_tool_warned in
3333 yes:)
3334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3335 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3336 ac_tool_warned=yes ;;
3337 esac
3338 CC=$ac_ct_CC
3339 fi
3340 else
3341 CC="$ac_cv_prog_CC"
3342 fi
3343
3344 if test -z "$CC"; then
3345 if test -n "$ac_tool_prefix"; then
3346 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3347 set dummy ${ac_tool_prefix}cc; ac_word=$2
3348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3349 printf %s "checking for $ac_word... " >&6; }
3350 if test ${ac_cv_prog_CC+y}
3351 then :
3352 printf %s "(cached) " >&6
3353 else case e in #(
3354 e) if test -n "$CC"; then
3355 ac_cv_prog_CC="$CC" # Let the user override the test.
3356 else
3357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3358 for as_dir in $PATH
3359 do
3360 IFS=$as_save_IFS
3361 case $as_dir in #(((
3362 '') as_dir=./ ;;
3363 */) ;;
3364 *) as_dir=$as_dir/ ;;
3365 esac
3366 for ac_exec_ext in '' $ac_executable_extensions; do
3367 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3368 ac_cv_prog_CC="${ac_tool_prefix}cc"
3369 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3370 break 2
3371 fi
3372 done
3373 done
3374 IFS=$as_save_IFS
3375
3376 fi ;;
3377 esac
3378 fi
3379 CC=$ac_cv_prog_CC
3380 if test -n "$CC"; then
3381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3382 printf "%s\n" "$CC" >&6; }
3383 else
3384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3385 printf "%s\n" "no" >&6; }
3386 fi
3387
3388
3389 fi
3390 fi
3391 if test -z "$CC"; then
3392 # Extract the first word of "cc", so it can be a program name with args.
3393 set dummy cc; ac_word=$2
3394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3395 printf %s "checking for $ac_word... " >&6; }
3396 if test ${ac_cv_prog_CC+y}
3397 then :
3398 printf %s "(cached) " >&6
3399 else case e in #(
3400 e) if test -n "$CC"; then
3401 ac_cv_prog_CC="$CC" # Let the user override the test.
3402 else
3403 ac_prog_rejected=no
3404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3405 for as_dir in $PATH
3406 do
3407 IFS=$as_save_IFS
3408 case $as_dir in #(((
3409 '') as_dir=./ ;;
3410 */) ;;
3411 *) as_dir=$as_dir/ ;;
3412 esac
3413 for ac_exec_ext in '' $ac_executable_extensions; do
3414 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3415 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3416 ac_prog_rejected=yes
3417 continue
3418 fi
3419 ac_cv_prog_CC="cc"
3420 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3421 break 2
3422 fi
3423 done
3424 done
3425 IFS=$as_save_IFS
3426
3427 if test $ac_prog_rejected = yes; then
3428 # We found a bogon in the path, so make sure we never use it.
3429 set dummy $ac_cv_prog_CC
3430 shift
3431 if test $# != 0; then
3432 # We chose a different compiler from the bogus one.
3433 # However, it has the same basename, so the bogon will be chosen
3434 # first if we set CC to just the basename; use the full file name.
3435 shift
3436 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
3437 fi
3438 fi
3439 fi ;;
3440 esac
3441 fi
3442 CC=$ac_cv_prog_CC
3443 if test -n "$CC"; then
3444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3445 printf "%s\n" "$CC" >&6; }
3446 else
3447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3448 printf "%s\n" "no" >&6; }
3449 fi
3450
3451
3452 fi
3453 if test -z "$CC"; then
3454 if test -n "$ac_tool_prefix"; then
3455 for ac_prog in cl.exe
3456 do
3457 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3458 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3460 printf %s "checking for $ac_word... " >&6; }
3461 if test ${ac_cv_prog_CC+y}
3462 then :
3463 printf %s "(cached) " >&6
3464 else case e in #(
3465 e) if test -n "$CC"; then
3466 ac_cv_prog_CC="$CC" # Let the user override the test.
3467 else
3468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3469 for as_dir in $PATH
3470 do
3471 IFS=$as_save_IFS
3472 case $as_dir in #(((
3473 '') as_dir=./ ;;
3474 */) ;;
3475 *) as_dir=$as_dir/ ;;
3476 esac
3477 for ac_exec_ext in '' $ac_executable_extensions; do
3478 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3479 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3480 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3481 break 2
3482 fi
3483 done
3484 done
3485 IFS=$as_save_IFS
3486
3487 fi ;;
3488 esac
3489 fi
3490 CC=$ac_cv_prog_CC
3491 if test -n "$CC"; then
3492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3493 printf "%s\n" "$CC" >&6; }
3494 else
3495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3496 printf "%s\n" "no" >&6; }
3497 fi
3498
3499
3500 test -n "$CC" && break
3501 done
3502 fi
3503 if test -z "$CC"; then
3504 ac_ct_CC=$CC
3505 for ac_prog in cl.exe
3506 do
3507 # Extract the first word of "$ac_prog", so it can be a program name with args.
3508 set dummy $ac_prog; ac_word=$2
3509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3510 printf %s "checking for $ac_word... " >&6; }
3511 if test ${ac_cv_prog_ac_ct_CC+y}
3512 then :
3513 printf %s "(cached) " >&6
3514 else case e in #(
3515 e) if test -n "$ac_ct_CC"; then
3516 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3517 else
3518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3519 for as_dir in $PATH
3520 do
3521 IFS=$as_save_IFS
3522 case $as_dir in #(((
3523 '') as_dir=./ ;;
3524 */) ;;
3525 *) as_dir=$as_dir/ ;;
3526 esac
3527 for ac_exec_ext in '' $ac_executable_extensions; do
3528 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3529 ac_cv_prog_ac_ct_CC="$ac_prog"
3530 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3531 break 2
3532 fi
3533 done
3534 done
3535 IFS=$as_save_IFS
3536
3537 fi ;;
3538 esac
3539 fi
3540 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3541 if test -n "$ac_ct_CC"; then
3542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3543 printf "%s\n" "$ac_ct_CC" >&6; }
3544 else
3545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3546 printf "%s\n" "no" >&6; }
3547 fi
3548
3549
3550 test -n "$ac_ct_CC" && break
3551 done
3552
3553 if test "x$ac_ct_CC" = x; then
3554 CC=""
3555 else
3556 case $cross_compiling:$ac_tool_warned in
3557 yes:)
3558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3559 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3560 ac_tool_warned=yes ;;
3561 esac
3562 CC=$ac_ct_CC
3563 fi
3564 fi
3565
3566 fi
3567 if test -z "$CC"; then
3568 if test -n "$ac_tool_prefix"; then
3569 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
3570 set dummy ${ac_tool_prefix}clang; ac_word=$2
3571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3572 printf %s "checking for $ac_word... " >&6; }
3573 if test ${ac_cv_prog_CC+y}
3574 then :
3575 printf %s "(cached) " >&6
3576 else case e in #(
3577 e) if test -n "$CC"; then
3578 ac_cv_prog_CC="$CC" # Let the user override the test.
3579 else
3580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3581 for as_dir in $PATH
3582 do
3583 IFS=$as_save_IFS
3584 case $as_dir in #(((
3585 '') as_dir=./ ;;
3586 */) ;;
3587 *) as_dir=$as_dir/ ;;
3588 esac
3589 for ac_exec_ext in '' $ac_executable_extensions; do
3590 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3591 ac_cv_prog_CC="${ac_tool_prefix}clang"
3592 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3593 break 2
3594 fi
3595 done
3596 done
3597 IFS=$as_save_IFS
3598
3599 fi ;;
3600 esac
3601 fi
3602 CC=$ac_cv_prog_CC
3603 if test -n "$CC"; then
3604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3605 printf "%s\n" "$CC" >&6; }
3606 else
3607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3608 printf "%s\n" "no" >&6; }
3609 fi
3610
3611
3612 fi
3613 if test -z "$ac_cv_prog_CC"; then
3614 ac_ct_CC=$CC
3615 # Extract the first word of "clang", so it can be a program name with args.
3616 set dummy clang; ac_word=$2
3617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3618 printf %s "checking for $ac_word... " >&6; }
3619 if test ${ac_cv_prog_ac_ct_CC+y}
3620 then :
3621 printf %s "(cached) " >&6
3622 else case e in #(
3623 e) if test -n "$ac_ct_CC"; then
3624 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3625 else
3626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3627 for as_dir in $PATH
3628 do
3629 IFS=$as_save_IFS
3630 case $as_dir in #(((
3631 '') as_dir=./ ;;
3632 */) ;;
3633 *) as_dir=$as_dir/ ;;
3634 esac
3635 for ac_exec_ext in '' $ac_executable_extensions; do
3636 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3637 ac_cv_prog_ac_ct_CC="clang"
3638 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3639 break 2
3640 fi
3641 done
3642 done
3643 IFS=$as_save_IFS
3644
3645 fi ;;
3646 esac
3647 fi
3648 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3649 if test -n "$ac_ct_CC"; then
3650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3651 printf "%s\n" "$ac_ct_CC" >&6; }
3652 else
3653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3654 printf "%s\n" "no" >&6; }
3655 fi
3656
3657 if test "x$ac_ct_CC" = x; then
3658 CC=""
3659 else
3660 case $cross_compiling:$ac_tool_warned in
3661 yes:)
3662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3663 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3664 ac_tool_warned=yes ;;
3665 esac
3666 CC=$ac_ct_CC
3667 fi
3668 else
3669 CC="$ac_cv_prog_CC"
3670 fi
3671
3672 fi
3673
3674
3675 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3676 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3677 as_fn_error $? "no acceptable C compiler found in \$PATH
3678 See 'config.log' for more details" "$LINENO" 5; }
3679
3680 # Provide some information about the compiler.
3681 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3682 set X $ac_compile
3683 ac_compiler=$2
3684 for ac_option in --version -v -V -qversion -version; do
3685 { { ac_try="$ac_compiler $ac_option >&5"
3686 case "(($ac_try" in
3687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3688 *) ac_try_echo=$ac_try;;
3689 esac
3690 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3691 printf "%s\n" "$ac_try_echo"; } >&5
3692 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3693 ac_status=$?
3694 if test -s conftest.err; then
3695 sed '10a\
3696 ... rest of stderr output deleted ...
3697 10q' conftest.err >conftest.er1
3698 cat conftest.er1 >&5
3699 fi
3700 rm -f conftest.er1 conftest.err
3701 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3702 test $ac_status = 0; }
3703 done
3704
3705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3706 /* end confdefs.h. */
3707
3708 int
3709 main (void)
3710 {
3711
3712 ;
3713 return 0;
3714 }
3715 _ACEOF
3716 ac_clean_files_save=$ac_clean_files
3717 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3718 # Try to create an executable without -o first, disregard a.out.
3719 # It will help us diagnose broken compilers, and finding out an intuition
3720 # of exeext.
3721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3722 printf %s "checking whether the C compiler works... " >&6; }
3723 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3724
3725 # The possible output files:
3726 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3727
3728 ac_rmfiles=
3729 for ac_file in $ac_files
3730 do
3731 case $ac_file in
3732 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3733 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3734 esac
3735 done
3736 rm -f $ac_rmfiles
3737
3738 if { { ac_try="$ac_link_default"
3739 case "(($ac_try" in
3740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3741 *) ac_try_echo=$ac_try;;
3742 esac
3743 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3744 printf "%s\n" "$ac_try_echo"; } >&5
3745 (eval "$ac_link_default") 2>&5
3746 ac_status=$?
3747 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3748 test $ac_status = 0; }
3749 then :
3750 # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
3751 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
3752 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3753 # so that the user can short-circuit this test for compilers unknown to
3754 # Autoconf.
3755 for ac_file in $ac_files ''
3756 do
3757 test -f "$ac_file" || continue
3758 case $ac_file in
3759 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3760 ;;
3761 [ab].out )
3762 # We found the default executable, but exeext='' is most
3763 # certainly right.
3764 break;;
3765 *.* )
3766 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
3767 then :; else
3768 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3769 fi
3770 # We set ac_cv_exeext here because the later test for it is not
3771 # safe: cross compilers may not add the suffix if given an '-o'
3772 # argument, so we may need to know it at that point already.
3773 # Even if this section looks crufty: it has the advantage of
3774 # actually working.
3775 break;;
3776 * )
3777 break;;
3778 esac
3779 done
3780 test "$ac_cv_exeext" = no && ac_cv_exeext=
3781
3782 else case e in #(
3783 e) ac_file='' ;;
3784 esac
3785 fi
3786 if test -z "$ac_file"
3787 then :
3788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3789 printf "%s\n" "no" >&6; }
3790 printf "%s\n" "$as_me: failed program was:" >&5
3791 sed 's/^/| /' conftest.$ac_ext >&5
3792
3793 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3794 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3795 as_fn_error 77 "C compiler cannot create executables
3796 See 'config.log' for more details" "$LINENO" 5; }
3797 else case e in #(
3798 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3799 printf "%s\n" "yes" >&6; } ;;
3800 esac
3801 fi
3802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3803 printf %s "checking for C compiler default output file name... " >&6; }
3804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3805 printf "%s\n" "$ac_file" >&6; }
3806 ac_exeext=$ac_cv_exeext
3807
3808 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3809 ac_clean_files=$ac_clean_files_save
3810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3811 printf %s "checking for suffix of executables... " >&6; }
3812 if { { ac_try="$ac_link"
3813 case "(($ac_try" in
3814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3815 *) ac_try_echo=$ac_try;;
3816 esac
3817 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3818 printf "%s\n" "$ac_try_echo"; } >&5
3819 (eval "$ac_link") 2>&5
3820 ac_status=$?
3821 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3822 test $ac_status = 0; }
3823 then :
3824 # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
3825 # catch 'conftest.exe'. For instance with Cygwin, 'ls conftest' will
3826 # work properly (i.e., refer to 'conftest.exe'), while it won't with
3827 # 'rm'.
3828 for ac_file in conftest.exe conftest conftest.*; do
3829 test -f "$ac_file" || continue
3830 case $ac_file in
3831 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3832 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3833 break;;
3834 * ) break;;
3835 esac
3836 done
3837 else case e in #(
3838 e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3839 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3840 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3841 See 'config.log' for more details" "$LINENO" 5; } ;;
3842 esac
3843 fi
3844 rm -f conftest conftest$ac_cv_exeext
3845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3846 printf "%s\n" "$ac_cv_exeext" >&6; }
3847
3848 rm -f conftest.$ac_ext
3849 EXEEXT=$ac_cv_exeext
3850 ac_exeext=$EXEEXT
3851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3852 /* end confdefs.h. */
3853 #include <stdio.h>
3854 int
3855 main (void)
3856 {
3857 FILE *f = fopen ("conftest.out", "w");
3858 if (!f)
3859 return 1;
3860 return ferror (f) || fclose (f) != 0;
3861
3862 ;
3863 return 0;
3864 }
3865 _ACEOF
3866 ac_clean_files="$ac_clean_files conftest.out"
3867 # Check that the compiler produces executables we can run. If not, either
3868 # the compiler is broken, or we cross compile.
3869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3870 printf %s "checking whether we are cross compiling... " >&6; }
3871 if test "$cross_compiling" != yes; then
3872 { { ac_try="$ac_link"
3873 case "(($ac_try" in
3874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3875 *) ac_try_echo=$ac_try;;
3876 esac
3877 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3878 printf "%s\n" "$ac_try_echo"; } >&5
3879 (eval "$ac_link") 2>&5
3880 ac_status=$?
3881 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3882 test $ac_status = 0; }
3883 if { ac_try='./conftest$ac_cv_exeext'
3884 { { case "(($ac_try" in
3885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3886 *) ac_try_echo=$ac_try;;
3887 esac
3888 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3889 printf "%s\n" "$ac_try_echo"; } >&5
3890 (eval "$ac_try") 2>&5
3891 ac_status=$?
3892 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3893 test $ac_status = 0; }; }; then
3894 cross_compiling=no
3895 else
3896 if test "$cross_compiling" = maybe; then
3897 cross_compiling=yes
3898 else
3899 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3900 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3901 as_fn_error 77 "cannot run C compiled programs.
3902 If you meant to cross compile, use '--host'.
3903 See 'config.log' for more details" "$LINENO" 5; }
3904 fi
3905 fi
3906 fi
3907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3908 printf "%s\n" "$cross_compiling" >&6; }
3909
3910 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
3911 conftest.o conftest.obj conftest.out
3912 ac_clean_files=$ac_clean_files_save
3913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3914 printf %s "checking for suffix of object files... " >&6; }
3915 if test ${ac_cv_objext+y}
3916 then :
3917 printf %s "(cached) " >&6
3918 else case e in #(
3919 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3920 /* end confdefs.h. */
3921
3922 int
3923 main (void)
3924 {
3925
3926 ;
3927 return 0;
3928 }
3929 _ACEOF
3930 rm -f conftest.o conftest.obj
3931 if { { ac_try="$ac_compile"
3932 case "(($ac_try" in
3933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3934 *) ac_try_echo=$ac_try;;
3935 esac
3936 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3937 printf "%s\n" "$ac_try_echo"; } >&5
3938 (eval "$ac_compile") 2>&5
3939 ac_status=$?
3940 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3941 test $ac_status = 0; }
3942 then :
3943 for ac_file in conftest.o conftest.obj conftest.*; do
3944 test -f "$ac_file" || continue;
3945 case $ac_file in
3946 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3947 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3948 break;;
3949 esac
3950 done
3951 else case e in #(
3952 e) printf "%s\n" "$as_me: failed program was:" >&5
3953 sed 's/^/| /' conftest.$ac_ext >&5
3954
3955 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3956 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3957 as_fn_error $? "cannot compute suffix of object files: cannot compile
3958 See 'config.log' for more details" "$LINENO" 5; } ;;
3959 esac
3960 fi
3961 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
3962 esac
3963 fi
3964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3965 printf "%s\n" "$ac_cv_objext" >&6; }
3966 OBJEXT=$ac_cv_objext
3967 ac_objext=$OBJEXT
3968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
3969 printf %s "checking whether the compiler supports GNU C... " >&6; }
3970 if test ${ac_cv_c_compiler_gnu+y}
3971 then :
3972 printf %s "(cached) " >&6
3973 else case e in #(
3974 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3975 /* end confdefs.h. */
3976
3977 int
3978 main (void)
3979 {
3980 #ifndef __GNUC__
3981 choke me
3982 #endif
3983
3984 ;
3985 return 0;
3986 }
3987 _ACEOF
3988 if ac_fn_c_try_compile "$LINENO"
3989 then :
3990 ac_compiler_gnu=yes
3991 else case e in #(
3992 e) ac_compiler_gnu=no ;;
3993 esac
3994 fi
3995 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3996 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3997 ;;
3998 esac
3999 fi
4000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4001 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
4002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4003
4004 if test $ac_compiler_gnu = yes; then
4005 GCC=yes
4006 else
4007 GCC=
4008 fi
4009 ac_test_CFLAGS=${CFLAGS+y}
4010 ac_save_CFLAGS=$CFLAGS
4011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4012 printf %s "checking whether $CC accepts -g... " >&6; }
4013 if test ${ac_cv_prog_cc_g+y}
4014 then :
4015 printf %s "(cached) " >&6
4016 else case e in #(
4017 e) ac_save_c_werror_flag=$ac_c_werror_flag
4018 ac_c_werror_flag=yes
4019 ac_cv_prog_cc_g=no
4020 CFLAGS="-g"
4021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4022 /* end confdefs.h. */
4023
4024 int
4025 main (void)
4026 {
4027
4028 ;
4029 return 0;
4030 }
4031 _ACEOF
4032 if ac_fn_c_try_compile "$LINENO"
4033 then :
4034 ac_cv_prog_cc_g=yes
4035 else case e in #(
4036 e) CFLAGS=""
4037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4038 /* end confdefs.h. */
4039
4040 int
4041 main (void)
4042 {
4043
4044 ;
4045 return 0;
4046 }
4047 _ACEOF
4048 if ac_fn_c_try_compile "$LINENO"
4049 then :
4050
4051 else case e in #(
4052 e) ac_c_werror_flag=$ac_save_c_werror_flag
4053 CFLAGS="-g"
4054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4055 /* end confdefs.h. */
4056
4057 int
4058 main (void)
4059 {
4060
4061 ;
4062 return 0;
4063 }
4064 _ACEOF
4065 if ac_fn_c_try_compile "$LINENO"
4066 then :
4067 ac_cv_prog_cc_g=yes
4068 fi
4069 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4070 esac
4071 fi
4072 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4073 esac
4074 fi
4075 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4076 ac_c_werror_flag=$ac_save_c_werror_flag ;;
4077 esac
4078 fi
4079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4080 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
4081 if test $ac_test_CFLAGS; then
4082 CFLAGS=$ac_save_CFLAGS
4083 elif test $ac_cv_prog_cc_g = yes; then
4084 if test "$GCC" = yes; then
4085 CFLAGS="-g -O2"
4086 else
4087 CFLAGS="-g"
4088 fi
4089 else
4090 if test "$GCC" = yes; then
4091 CFLAGS="-O2"
4092 else
4093 CFLAGS=
4094 fi
4095 fi
4096 ac_prog_cc_stdc=no
4097 if test x$ac_prog_cc_stdc = xno
4098 then :
4099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
4100 printf %s "checking for $CC option to enable C11 features... " >&6; }
4101 if test ${ac_cv_prog_cc_c11+y}
4102 then :
4103 printf %s "(cached) " >&6
4104 else case e in #(
4105 e) ac_cv_prog_cc_c11=no
4106 ac_save_CC=$CC
4107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4108 /* end confdefs.h. */
4109 $ac_c_conftest_c11_program
4110 _ACEOF
4111 for ac_arg in '' -std=gnu11
4112 do
4113 CC="$ac_save_CC $ac_arg"
4114 if ac_fn_c_try_compile "$LINENO"
4115 then :
4116 ac_cv_prog_cc_c11=$ac_arg
4117 fi
4118 rm -f core conftest.err conftest.$ac_objext conftest.beam
4119 test "x$ac_cv_prog_cc_c11" != "xno" && break
4120 done
4121 rm -f conftest.$ac_ext
4122 CC=$ac_save_CC ;;
4123 esac
4124 fi
4125
4126 if test "x$ac_cv_prog_cc_c11" = xno
4127 then :
4128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4129 printf "%s\n" "unsupported" >&6; }
4130 else case e in #(
4131 e) if test "x$ac_cv_prog_cc_c11" = x
4132 then :
4133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4134 printf "%s\n" "none needed" >&6; }
4135 else case e in #(
4136 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
4137 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
4138 CC="$CC $ac_cv_prog_cc_c11" ;;
4139 esac
4140 fi
4141 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
4142 ac_prog_cc_stdc=c11 ;;
4143 esac
4144 fi
4145 fi
4146 if test x$ac_prog_cc_stdc = xno
4147 then :
4148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
4149 printf %s "checking for $CC option to enable C99 features... " >&6; }
4150 if test ${ac_cv_prog_cc_c99+y}
4151 then :
4152 printf %s "(cached) " >&6
4153 else case e in #(
4154 e) ac_cv_prog_cc_c99=no
4155 ac_save_CC=$CC
4156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4157 /* end confdefs.h. */
4158 $ac_c_conftest_c99_program
4159 _ACEOF
4160 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
4161 do
4162 CC="$ac_save_CC $ac_arg"
4163 if ac_fn_c_try_compile "$LINENO"
4164 then :
4165 ac_cv_prog_cc_c99=$ac_arg
4166 fi
4167 rm -f core conftest.err conftest.$ac_objext conftest.beam
4168 test "x$ac_cv_prog_cc_c99" != "xno" && break
4169 done
4170 rm -f conftest.$ac_ext
4171 CC=$ac_save_CC ;;
4172 esac
4173 fi
4174
4175 if test "x$ac_cv_prog_cc_c99" = xno
4176 then :
4177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4178 printf "%s\n" "unsupported" >&6; }
4179 else case e in #(
4180 e) if test "x$ac_cv_prog_cc_c99" = x
4181 then :
4182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4183 printf "%s\n" "none needed" >&6; }
4184 else case e in #(
4185 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4186 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
4187 CC="$CC $ac_cv_prog_cc_c99" ;;
4188 esac
4189 fi
4190 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4191 ac_prog_cc_stdc=c99 ;;
4192 esac
4193 fi
4194 fi
4195 if test x$ac_prog_cc_stdc = xno
4196 then :
4197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
4198 printf %s "checking for $CC option to enable C89 features... " >&6; }
4199 if test ${ac_cv_prog_cc_c89+y}
4200 then :
4201 printf %s "(cached) " >&6
4202 else case e in #(
4203 e) ac_cv_prog_cc_c89=no
4204 ac_save_CC=$CC
4205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4206 /* end confdefs.h. */
4207 $ac_c_conftest_c89_program
4208 _ACEOF
4209 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4210 do
4211 CC="$ac_save_CC $ac_arg"
4212 if ac_fn_c_try_compile "$LINENO"
4213 then :
4214 ac_cv_prog_cc_c89=$ac_arg
4215 fi
4216 rm -f core conftest.err conftest.$ac_objext conftest.beam
4217 test "x$ac_cv_prog_cc_c89" != "xno" && break
4218 done
4219 rm -f conftest.$ac_ext
4220 CC=$ac_save_CC ;;
4221 esac
4222 fi
4223
4224 if test "x$ac_cv_prog_cc_c89" = xno
4225 then :
4226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4227 printf "%s\n" "unsupported" >&6; }
4228 else case e in #(
4229 e) if test "x$ac_cv_prog_cc_c89" = x
4230 then :
4231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4232 printf "%s\n" "none needed" >&6; }
4233 else case e in #(
4234 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4235 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
4236 CC="$CC $ac_cv_prog_cc_c89" ;;
4237 esac
4238 fi
4239 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4240 ac_prog_cc_stdc=c89 ;;
4241 esac
4242 fi
4243 fi
4244
4245 ac_ext=c
4246 ac_cpp='$CPP $CPPFLAGS'
4247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4250
4251
4252 ac_ext=c
4253 ac_cpp='$CPP $CPPFLAGS'
4254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4258 printf %s "checking whether $CC understands -c and -o together... " >&6; }
4259 if test ${am_cv_prog_cc_c_o+y}
4260 then :
4261 printf %s "(cached) " >&6
4262 else case e in #(
4263 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4264 /* end confdefs.h. */
4265
4266 int
4267 main (void)
4268 {
4269
4270 ;
4271 return 0;
4272 }
4273 _ACEOF
4274 # Make sure it works both with $CC and with simple cc.
4275 # Following AC_PROG_CC_C_O, we do the test twice because some
4276 # compilers refuse to overwrite an existing .o file with -o,
4277 # though they will create one.
4278 am_cv_prog_cc_c_o=yes
4279 for am_i in 1 2; do
4280 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4281 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4282 ac_status=$?
4283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4284 (exit $ac_status); } \
4285 && test -f conftest2.$ac_objext; then
4286 : OK
4287 else
4288 am_cv_prog_cc_c_o=no
4289 break
4290 fi
4291 done
4292 # aligned with autoconf, so not including core; see bug#72225.
4293 rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \
4294 conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \
4295 conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM
4296 unset am_i ;;
4297 esac
4298 fi
4299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4300 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
4301 if test "$am_cv_prog_cc_c_o" != yes; then
4302 # Losing compiler, so override with the script.
4303 # FIXME: It is wrong to rewrite CC.
4304 # But if we don't then we get into trouble of one sort or another.
4305 # A longer-term fix would be to have automake use am__CC in this case,
4306 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4307 CC="$am_aux_dir/compile $CC"
4308 fi
4309 ac_ext=c
4310 ac_cpp='$CPP $CPPFLAGS'
4311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4314
4315 DEPDIR="${am__leading_dot}deps"
4316
4317 ac_config_commands="$ac_config_commands depfiles"
4318
4319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
4320 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
4321 cat > confinc.mk << 'END'
4322 am__doit:
4323 @echo this is the am__doit target >confinc.out
4324 .PHONY: am__doit
4325 END
4326 am__include="#"
4327 am__quote=
4328 # BSD make does it like this.
4329 echo '.include "confinc.mk" # ignored' > confmf.BSD
4330 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
4331 echo 'include confinc.mk # ignored' > confmf.GNU
4332 _am_result=no
4333 for s in GNU BSD; do
4334 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
4335 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
4336 ac_status=$?
4337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4338 (exit $ac_status); }
4339 case $?:`cat confinc.out 2>/dev/null` in #(
4340 '0:this is the am__doit target') :
4341 case $s in #(
4342 BSD) :
4343 am__include='.include' am__quote='"' ;; #(
4344 *) :
4345 am__include='include' am__quote='' ;;
4346 esac ;; #(
4347 *) :
4348 ;;
4349 esac
4350 if test "$am__include" != "#"; then
4351 _am_result="yes ($s style)"
4352 break
4353 fi
4354 done
4355 rm -f confinc.* confmf.*
4356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4357 printf "%s\n" "${_am_result}" >&6; }
4358
4359 # Check whether --enable-dependency-tracking was given.
4360 if test ${enable_dependency_tracking+y}
4361 then :
4362 enableval=$enable_dependency_tracking;
4363 fi
4364
4365 if test "x$enable_dependency_tracking" != xno; then
4366 am_depcomp="$ac_aux_dir/depcomp"
4367 AMDEPBACKSLASH='\'
4368 am__nodep='_no'
4369 fi
4370 if test "x$enable_dependency_tracking" != xno; then
4371 AMDEP_TRUE=
4372 AMDEP_FALSE='#'
4373 else
4374 AMDEP_TRUE='#'
4375 AMDEP_FALSE=
4376 fi
4377
4378
4379
4380 depcc="$CC" am_compiler_list=
4381
4382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4383 printf %s "checking dependency style of $depcc... " >&6; }
4384 if test ${am_cv_CC_dependencies_compiler_type+y}
4385 then :
4386 printf %s "(cached) " >&6
4387 else case e in #(
4388 e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4389 # We make a subdir and do the tests there. Otherwise we can end up
4390 # making bogus files that we don't know about and never remove. For
4391 # instance it was reported that on HP-UX the gcc test will end up
4392 # making a dummy file named 'D' -- because '-MD' means "put the output
4393 # in D".
4394 rm -rf conftest.dir
4395 mkdir conftest.dir
4396 # Copy depcomp to subdir because otherwise we won't find it if we're
4397 # using a relative directory.
4398 cp "$am_depcomp" conftest.dir
4399 cd conftest.dir
4400 # We will build objects and dependencies in a subdirectory because
4401 # it helps to detect inapplicable dependency modes. For instance
4402 # both Tru64's cc and ICC support -MD to output dependencies as a
4403 # side effect of compilation, but ICC will put the dependencies in
4404 # the current directory while Tru64 will put them in the object
4405 # directory.
4406 mkdir sub
4407
4408 am_cv_CC_dependencies_compiler_type=none
4409 if test "$am_compiler_list" = ""; then
4410 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4411 fi
4412 am__universal=false
4413 case " $depcc " in #(
4414 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4415 esac
4416
4417 for depmode in $am_compiler_list; do
4418 # Setup a source with many dependencies, because some compilers
4419 # like to wrap large dependency lists on column 80 (with \), and
4420 # we should not choose a depcomp mode which is confused by this.
4421 #
4422 # We need to recreate these files for each test, as the compiler may
4423 # overwrite some of them when testing with obscure command lines.
4424 # This happens at least with the AIX C compiler.
4425 : > sub/conftest.c
4426 for i in 1 2 3 4 5 6; do
4427 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4428 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4429 # Solaris 10 /bin/sh.
4430 echo '/* dummy */' > sub/conftst$i.h
4431 done
4432 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4433
4434 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4435 # mode. It turns out that the SunPro C++ compiler does not properly
4436 # handle '-M -o', and we need to detect this. Also, some Intel
4437 # versions had trouble with output in subdirs.
4438 am__obj=sub/conftest.${OBJEXT-o}
4439 am__minus_obj="-o $am__obj"
4440 case $depmode in
4441 gcc)
4442 # This depmode causes a compiler race in universal mode.
4443 test "$am__universal" = false || continue
4444 ;;
4445 nosideeffect)
4446 # After this tag, mechanisms are not by side-effect, so they'll
4447 # only be used when explicitly requested.
4448 if test "x$enable_dependency_tracking" = xyes; then
4449 continue
4450 else
4451 break
4452 fi
4453 ;;
4454 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4455 # This compiler won't grok '-c -o', but also, the minuso test has
4456 # not run yet. These depmodes are late enough in the game, and
4457 # so weak that their functioning should not be impacted.
4458 am__obj=conftest.${OBJEXT-o}
4459 am__minus_obj=
4460 ;;
4461 none) break ;;
4462 esac
4463 if depmode=$depmode \
4464 source=sub/conftest.c object=$am__obj \
4465 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4466 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4467 >/dev/null 2>conftest.err &&
4468 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4469 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4470 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4471 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4472 # icc doesn't choke on unknown options, it will just issue warnings
4473 # or remarks (even with -Werror). So we grep stderr for any message
4474 # that says an option was ignored or not supported.
4475 # When given -MP, icc 7.0 and 7.1 complain thus:
4476 # icc: Command line warning: ignoring option '-M'; no argument required
4477 # The diagnosis changed in icc 8.0:
4478 # icc: Command line remark: option '-MP' not supported
4479 if (grep 'ignoring option' conftest.err ||
4480 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4481 am_cv_CC_dependencies_compiler_type=$depmode
4482 break
4483 fi
4484 fi
4485 done
4486
4487 cd ..
4488 rm -rf conftest.dir
4489 else
4490 am_cv_CC_dependencies_compiler_type=none
4491 fi
4492 ;;
4493 esac
4494 fi
4495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4496 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
4497 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4498
4499 if
4500 test "x$enable_dependency_tracking" != xno \
4501 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4502 am__fastdepCC_TRUE=
4503 am__fastdepCC_FALSE='#'
4504 else
4505 am__fastdepCC_TRUE='#'
4506 am__fastdepCC_FALSE=
4507 fi
4508
4509
4510
4511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4512 printf %s "checking whether ln -s works... " >&6; }
4513 LN_S=$as_ln_s
4514 if test "$LN_S" = "ln -s"; then
4515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4516 printf "%s\n" "yes" >&6; }
4517 else
4518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4519 printf "%s\n" "no, using $LN_S" >&6; }
4520 fi
4521
4522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4523 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4524 set x ${MAKE-make}
4525 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4526 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4527 then :
4528 printf %s "(cached) " >&6
4529 else case e in #(
4530 e) cat >conftest.make <<\_ACEOF
4531 SHELL = /bin/sh
4532 all:
4533 @echo '@@@%%%=$(MAKE)=@@@%%%'
4534 _ACEOF
4535 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4536 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4537 *@@@%%%=?*=@@@%%%*)
4538 eval ac_cv_prog_make_${ac_make}_set=yes;;
4539 *)
4540 eval ac_cv_prog_make_${ac_make}_set=no;;
4541 esac
4542 rm -f conftest.make ;;
4543 esac
4544 fi
4545 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4547 printf "%s\n" "yes" >&6; }
4548 SET_MAKE=
4549 else
4550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4551 printf "%s\n" "no" >&6; }
4552 SET_MAKE="MAKE=${MAKE-make}"
4553 fi
4554
4555
4556
4557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for native WIN32 or MINGW32" >&5
4558 printf %s "checking for native WIN32 or MINGW32... " >&6; }
4559 if test ${kpse_cv_have_win32+y}
4560 then :
4561 printf %s "(cached) " >&6
4562 else case e in #(
4563 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4564 /* end confdefs.h. */
4565 #ifndef WIN32
4566 choke me
4567 #endif
4568 int
4569 main (void)
4570 {
4571
4572 ;
4573 return 0;
4574 }
4575 _ACEOF
4576 if ac_fn_c_try_compile "$LINENO"
4577 then :
4578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4579 /* end confdefs.h. */
4580 #ifndef __MINGW32__
4581 choke me
4582 #endif
4583 int
4584 main (void)
4585 {
4586
4587 ;
4588 return 0;
4589 }
4590 _ACEOF
4591 if ac_fn_c_try_compile "$LINENO"
4592 then :
4593 kpse_cv_have_win32=mingw32
4594 else case e in #(
4595 e) kpse_cv_have_win32=native ;;
4596 esac
4597 fi
4598 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4599 else case e in #(
4600 e) kpse_cv_have_win32=no ;;
4601 esac
4602 fi
4603 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4604 esac
4605 fi
4606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_win32" >&5
4607 printf "%s\n" "$kpse_cv_have_win32" >&6; }
4608
4609 if test "x$kpse_cv_have_win32" != xno; then
4610 WIN32_TRUE=
4611 WIN32_FALSE='#'
4612 else
4613 WIN32_TRUE='#'
4614 WIN32_FALSE=
4615 fi
4616
4617
4618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for WIN64" >&5
4619 printf %s "checking for WIN64... " >&6; }
4620 if test ${kpse_cv_have_win64+y}
4621 then :
4622 printf %s "(cached) " >&6
4623 else case e in #(
4624 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4625 /* end confdefs.h. */
4626 #ifndef _WIN64
4627 choke me
4628 #endif
4629 int
4630 main (void)
4631 {
4632
4633 ;
4634 return 0;
4635 }
4636 _ACEOF
4637 if ac_fn_c_try_compile "$LINENO"
4638 then :
4639 kpse_cv_have_win64=yes
4640 else case e in #(
4641 e) kpse_cv_have_win64=no ;;
4642 esac
4643 fi
4644 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4645 esac
4646 fi
4647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_win64" >&5
4648 printf "%s\n" "$kpse_cv_have_win64" >&6; }
4649 case $kpse_cv_have_win64 in #(
4650 yes) :
4651 if test "x$kpse_cv_have_win32=xmingw"
4652 then :
4653 WIN_WRAPPER=windows_mingw_wrapper
4654 else case e in #(
4655 e) WIN_WRAPPER=windows_wrapper ;;
4656 esac
4657 fi ;; #(
4658 *) :
4659 WIN_WRAPPER=windows_wrapper ;;
4660 esac
4661
4662 if test -r "$srcdir/../../texk/texlive/$WIN_WRAPPER/runscript.exe"; then
4663 WIN32_WRAP_TRUE=
4664 WIN32_WRAP_FALSE='#'
4665 else
4666 WIN32_WRAP_TRUE='#'
4667 WIN32_WRAP_FALSE=
4668 fi
4669
4670
4671
4672 ac_config_files="$ac_config_files Makefile linked_scripts/Makefile tl_support/Makefile"
4673
4674
4675 cat >confcache <<\_ACEOF
4676 # This file is a shell script that caches the results of configure
4677 # tests run on this system so they can be shared between configure
4678 # scripts and configure runs, see configure's option --config-cache.
4679 # It is not useful on other systems. If it contains results you don't
4680 # want to keep, you may remove or edit it.
4681 #
4682 # config.status only pays attention to the cache file if you give it
4683 # the --recheck option to rerun configure.
4684 #
4685 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
4686 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
4687 # following values.
4688
4689 _ACEOF
4690
4691 # The following way of writing the cache mishandles newlines in values,
4692 # but we know of no workaround that is simple, portable, and efficient.
4693 # So, we kill variables containing newlines.
4694 # Ultrix sh set writes to stderr and can't be redirected directly,
4695 # and sets the high bit in the cache file unless we assign to the vars.
4696 (
4697 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4698 eval ac_val=\$$ac_var
4699 case $ac_val in #(
4700 *${as_nl}*)
4701 case $ac_var in #(
4702 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4703 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4704 esac
4705 case $ac_var in #(
4706 _ | IFS | as_nl) ;; #(
4707 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4708 *) { eval $ac_var=; unset $ac_var;} ;;
4709 esac ;;
4710 esac
4711 done
4712
4713 (set) 2>&1 |
4714 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4715 *${as_nl}ac_space=\ *)
4716 # 'set' does not quote correctly, so add quotes: double-quote
4717 # substitution turns \\\\ into \\, and sed turns \\ into \.
4718 sed -n \
4719 "s/'/'\\\\''/g;
4720 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4721 ;; #(
4722 *)
4723 # 'set' quotes correctly as required by POSIX, so do not add quotes.
4724 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4725 ;;
4726 esac |
4727 sort
4728 ) |
4729 sed '
4730 /^ac_cv_env_/b end
4731 t clear
4732 :clear
4733 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
4734 t end
4735 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4736 :end' >>confcache
4737 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4738 if test -w "$cache_file"; then
4739 if test "x$cache_file" != "x/dev/null"; then
4740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4741 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
4742 if test ! -f "$cache_file" || test -h "$cache_file"; then
4743 cat confcache >"$cache_file"
4744 else
4745 case $cache_file in #(
4746 */* | ?:*)
4747 mv -f confcache "$cache_file"$$ &&
4748 mv -f "$cache_file"$$ "$cache_file" ;; #(
4749 *)
4750 mv -f confcache "$cache_file" ;;
4751 esac
4752 fi
4753 fi
4754 else
4755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4756 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
4757 fi
4758 fi
4759 rm -f confcache
4760
4761 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4762 # Let make expand exec_prefix.
4763 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4764
4765 # Transform confdefs.h into DEFS.
4766 # Protect against shell expansion while executing Makefile rules.
4767 # Protect against Makefile macro expansion.
4768 #
4769 # If the first sed substitution is executed (which looks for macros that
4770 # take arguments), then branch to the quote section. Otherwise,
4771 # look for a macro that doesn't take arguments.
4772 ac_script='
4773 :mline
4774 /\\$/{
4775 N
4776 s,\\\n,,
4777 b mline
4778 }
4779 t clear
4780 :clear
4781 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4782 t quote
4783 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4784 t quote
4785 b any
4786 :quote
4787 s/[][ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4788 s/\$/$$/g
4789 H
4790 :any
4791 ${
4792 g
4793 s/^\n//
4794 s/\n/ /g
4795 p
4796 }
4797 '
4798 DEFS=`sed -n "$ac_script" confdefs.h`
4799
4800
4801 ac_libobjs=
4802 ac_ltlibobjs=
4803 U=
4804 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4805 # 1. Remove the extension, and $U if already installed.
4806 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4807 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
4808 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4809 # will be set to the directory where LIBOBJS objects are built.
4810 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4811 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4812 done
4813 LIBOBJS=$ac_libobjs
4814
4815 LTLIBOBJS=$ac_ltlibobjs
4816
4817
4818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
4819 printf %s "checking that generated files are newer than configure... " >&6; }
4820 if test -n "$am_sleep_pid"; then
4821 # Hide warnings about reused PIDs.
4822 wait $am_sleep_pid 2>/dev/null
4823 fi
4824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
4825 printf "%s\n" "done" >&6; }
4826 case $enable_silent_rules in # (((
4827 yes) AM_DEFAULT_VERBOSITY=0;;
4828 no) AM_DEFAULT_VERBOSITY=1;;
4829 esac
4830 if test $am_cv_make_support_nested_variables = yes; then
4831 AM_V='$(V)'
4832 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4833 else
4834 AM_V=$AM_DEFAULT_VERBOSITY
4835 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4836 fi
4837
4838 if test -n "$EXEEXT"; then
4839 am__EXEEXT_TRUE=
4840 am__EXEEXT_FALSE='#'
4841 else
4842 am__EXEEXT_TRUE='#'
4843 am__EXEEXT_FALSE=
4844 fi
4845
4846 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4847 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
4848 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4849 fi
4850 if test -z "${LINKED_SCRIPTS_TRUE}" && test -z "${LINKED_SCRIPTS_FALSE}"; then
4851 as_fn_error $? "conditional \"LINKED_SCRIPTS\" was never defined.
4852 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4853 fi
4854 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4855 as_fn_error $? "conditional \"AMDEP\" was never defined.
4856 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4857 fi
4858 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4859 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4860 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4861 fi
4862 if test -z "${WIN32_TRUE}" && test -z "${WIN32_FALSE}"; then
4863 as_fn_error $? "conditional \"WIN32\" was never defined.
4864 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4865 fi
4866 if test -z "${WIN32_WRAP_TRUE}" && test -z "${WIN32_WRAP_FALSE}"; then
4867 as_fn_error $? "conditional \"WIN32_WRAP\" was never defined.
4868 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4869 fi
4870
4871 : "${CONFIG_STATUS=./config.status}"
4872 ac_write_fail=0
4873 ac_clean_files_save=$ac_clean_files
4874 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4876 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
4877 as_write_fail=0
4878 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4879 #! $SHELL
4880 # Generated by $as_me.
4881 # Run this file to recreate the current configuration.
4882 # Compiler output produced by configure, useful for debugging
4883 # configure, is in config.log if it exists.
4884
4885 debug=false
4886 ac_cs_recheck=false
4887 ac_cs_silent=false
4888
4889 SHELL=\${CONFIG_SHELL-$SHELL}
4890 export SHELL
4891 _ASEOF
4892 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4893 ## -------------------- ##
4894 ## M4sh Initialization. ##
4895 ## -------------------- ##
4896
4897 # Be more Bourne compatible
4898 DUALCASE=1; export DUALCASE # for MKS sh
4899 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
4900 then :
4901 emulate sh
4902 NULLCMD=:
4903 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4904 # is contrary to our usage. Disable this feature.
4905 alias -g '${1+"$@"}'='"$@"'
4906 setopt NO_GLOB_SUBST
4907 else case e in #(
4908 e) case `(set -o) 2>/dev/null` in #(
4909 *posix*) :
4910 set -o posix ;; #(
4911 *) :
4912 ;;
4913 esac ;;
4914 esac
4915 fi
4916
4917
4918
4919 # Reset variables that may have inherited troublesome values from
4920 # the environment.
4921
4922 # IFS needs to be set, to space, tab, and newline, in precisely that order.
4923 # (If _AS_PATH_WALK were called with IFS unset, it would have the
4924 # side effect of setting IFS to empty, thus disabling word splitting.)
4925 # Quoting is to prevent editors from complaining about space-tab.
4926 as_nl='
4927 '
4928 export as_nl
4929 IFS=" "" $as_nl"
4930
4931 PS1='$ '
4932 PS2='> '
4933 PS4='+ '
4934
4935 # Ensure predictable behavior from utilities with locale-dependent output.
4936 LC_ALL=C
4937 export LC_ALL
4938 LANGUAGE=C
4939 export LANGUAGE
4940
4941 # We cannot yet rely on "unset" to work, but we need these variables
4942 # to be unset--not just set to an empty or harmless value--now, to
4943 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
4944 # also avoids known problems related to "unset" and subshell syntax
4945 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
4946 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
4947 do eval test \${$as_var+y} \
4948 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4949 done
4950
4951 # Ensure that fds 0, 1, and 2 are open.
4952 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
4953 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
4954 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
4955
4956 # The user is always right.
4957 if ${PATH_SEPARATOR+false} :; then
4958 PATH_SEPARATOR=:
4959 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4960 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4961 PATH_SEPARATOR=';'
4962 }
4963 fi
4964
4965
4966 # Find who we are. Look in the path if we contain no directory separator.
4967 as_myself=
4968 case $0 in #((
4969 *[\\/]* ) as_myself=$0 ;;
4970 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4971 for as_dir in $PATH
4972 do
4973 IFS=$as_save_IFS
4974 case $as_dir in #(((
4975 '') as_dir=./ ;;
4976 */) ;;
4977 *) as_dir=$as_dir/ ;;
4978 esac
4979 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
4980 done
4981 IFS=$as_save_IFS
4982
4983 ;;
4984 esac
4985 # We did not find ourselves, most probably we were run as 'sh COMMAND'
4986 # in which case we are not to be found in the path.
4987 if test "x$as_myself" = x; then
4988 as_myself=$0
4989 fi
4990 if test ! -f "$as_myself"; then
4991 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4992 exit 1
4993 fi
4994
4995
4996
4997 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4998 # ----------------------------------------
4999 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5000 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5001 # script with STATUS, using 1 if that was 0.
5002 as_fn_error ()
5003 {
5004 as_status=$1; test $as_status -eq 0 && as_status=1
5005 if test "$4"; then
5006 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5007 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5008 fi
5009 printf "%s\n" "$as_me: error: $2" >&2
5010 as_fn_exit $as_status
5011 } # as_fn_error
5012
5013
5014 # as_fn_set_status STATUS
5015 # -----------------------
5016 # Set $? to STATUS, without forking.
5017 as_fn_set_status ()
5018 {
5019 return $1
5020 } # as_fn_set_status
5021
5022 # as_fn_exit STATUS
5023 # -----------------
5024 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5025 as_fn_exit ()
5026 {
5027 set +e
5028 as_fn_set_status $1
5029 exit $1
5030 } # as_fn_exit
5031
5032 # as_fn_unset VAR
5033 # ---------------
5034 # Portably unset VAR.
5035 as_fn_unset ()
5036 {
5037 { eval $1=; unset $1;}
5038 }
5039 as_unset=as_fn_unset
5040
5041 # as_fn_append VAR VALUE
5042 # ----------------------
5043 # Append the text in VALUE to the end of the definition contained in VAR. Take
5044 # advantage of any shell optimizations that allow amortized linear growth over
5045 # repeated appends, instead of the typical quadratic growth present in naive
5046 # implementations.
5047 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
5048 then :
5049 eval 'as_fn_append ()
5050 {
5051 eval $1+=\$2
5052 }'
5053 else case e in #(
5054 e) as_fn_append ()
5055 {
5056 eval $1=\$$1\$2
5057 } ;;
5058 esac
5059 fi # as_fn_append
5060
5061 # as_fn_arith ARG...
5062 # ------------------
5063 # Perform arithmetic evaluation on the ARGs, and store the result in the
5064 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5065 # must be portable across $(()) and expr.
5066 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
5067 then :
5068 eval 'as_fn_arith ()
5069 {
5070 as_val=$(( $* ))
5071 }'
5072 else case e in #(
5073 e) as_fn_arith ()
5074 {
5075 as_val=`expr "$@" || test $? -eq 1`
5076 } ;;
5077 esac
5078 fi # as_fn_arith
5079
5080
5081 if expr a : '\(a\)' >/dev/null 2>&1 &&
5082 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5083 as_expr=expr
5084 else
5085 as_expr=false
5086 fi
5087
5088 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5089 as_basename=basename
5090 else
5091 as_basename=false
5092 fi
5093
5094 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5095 as_dirname=dirname
5096 else
5097 as_dirname=false
5098 fi
5099
5100 as_me=`$as_basename -- "$0" ||
5101 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5102 X"$0" : 'X\(//\)$' \| \
5103 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5104 printf "%s\n" X/"$0" |
5105 sed '/^.*\/\([^/][^/]*\)\/*$/{
5106 s//\1/
5107 q
5108 }
5109 /^X\/\(\/\/\)$/{
5110 s//\1/
5111 q
5112 }
5113 /^X\/\(\/\).*/{
5114 s//\1/
5115 q
5116 }
5117 s/.*/./; q'`
5118
5119 # Avoid depending upon Character Ranges.
5120 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5121 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5122 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5123 as_cr_digits='0123456789'
5124 as_cr_alnum=$as_cr_Letters$as_cr_digits
5125
5126
5127 # Determine whether it's possible to make 'echo' print without a newline.
5128 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
5129 # for compatibility with existing Makefiles.
5130 ECHO_C= ECHO_N= ECHO_T=
5131 case `echo -n x` in #(((((
5132 -n*)
5133 case `echo 'xy\c'` in
5134 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5135 xy) ECHO_C='\c';;
5136 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5137 ECHO_T=' ';;
5138 esac;;
5139 *)
5140 ECHO_N='-n';;
5141 esac
5142
5143 # For backward compatibility with old third-party macros, we provide
5144 # the shell variables $as_echo and $as_echo_n. New code should use
5145 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
5146 as_echo='printf %s\n'
5147 as_echo_n='printf %s'
5148
5149 rm -f conf$$ conf$$.exe conf$$.file
5150 if test -d conf$$.dir; then
5151 rm -f conf$$.dir/conf$$.file
5152 else
5153 rm -f conf$$.dir
5154 mkdir conf$$.dir 2>/dev/null
5155 fi
5156 if (echo >conf$$.file) 2>/dev/null; then
5157 if ln -s conf$$.file conf$$ 2>/dev/null; then
5158 as_ln_s='ln -s'
5159 # ... but there are two gotchas:
5160 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
5161 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
5162 # In both cases, we have to default to 'cp -pR'.
5163 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5164 as_ln_s='cp -pR'
5165 elif ln conf$$.file conf$$ 2>/dev/null; then
5166 as_ln_s=ln
5167 else
5168 as_ln_s='cp -pR'
5169 fi
5170 else
5171 as_ln_s='cp -pR'
5172 fi
5173 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5174 rmdir conf$$.dir 2>/dev/null
5175
5176
5177 # as_fn_mkdir_p
5178 # -------------
5179 # Create "$as_dir" as a directory, including parents if necessary.
5180 as_fn_mkdir_p ()
5181 {
5182
5183 case $as_dir in #(
5184 -*) as_dir=./$as_dir;;
5185 esac
5186 test -d "$as_dir" || eval $as_mkdir_p || {
5187 as_dirs=
5188 while :; do
5189 case $as_dir in #(
5190 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5191 *) as_qdir=$as_dir;;
5192 esac
5193 as_dirs="'$as_qdir' $as_dirs"
5194 as_dir=`$as_dirname -- "$as_dir" ||
5195 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5196 X"$as_dir" : 'X\(//\)[^/]' \| \
5197 X"$as_dir" : 'X\(//\)$' \| \
5198 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5199 printf "%s\n" X"$as_dir" |
5200 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5201 s//\1/
5202 q
5203 }
5204 /^X\(\/\/\)[^/].*/{
5205 s//\1/
5206 q
5207 }
5208 /^X\(\/\/\)$/{
5209 s//\1/
5210 q
5211 }
5212 /^X\(\/\).*/{
5213 s//\1/
5214 q
5215 }
5216 s/.*/./; q'`
5217 test -d "$as_dir" && break
5218 done
5219 test -z "$as_dirs" || eval "mkdir $as_dirs"
5220 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5221
5222
5223 } # as_fn_mkdir_p
5224 if mkdir -p . 2>/dev/null; then
5225 as_mkdir_p='mkdir -p "$as_dir"'
5226 else
5227 test -d ./-p && rmdir ./-p
5228 as_mkdir_p=false
5229 fi
5230
5231
5232 # as_fn_executable_p FILE
5233 # -----------------------
5234 # Test if FILE is an executable regular file.
5235 as_fn_executable_p ()
5236 {
5237 test -f "$1" && test -x "$1"
5238 } # as_fn_executable_p
5239 as_test_x='test -x'
5240 as_executable_p=as_fn_executable_p
5241
5242 # Sed expression to map a string onto a valid CPP name.
5243 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
5244 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
5245
5246 # Sed expression to map a string onto a valid variable name.
5247 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
5248 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
5249
5250
5251 exec 6>&1
5252 ## ----------------------------------- ##
5253 ## Main body of $CONFIG_STATUS script. ##
5254 ## ----------------------------------- ##
5255 _ASEOF
5256 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5257
5258 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5259 # Save the log message, to keep $0 and so on meaningful, and to
5260 # report actual input values of CONFIG_FILES etc. instead of their
5261 # values after options handling.
5262 ac_log="
5263 This file was extended by TeX Live Scripts $as_me 2026, which was
5264 generated by GNU Autoconf 2.72. Invocation command line was
5265
5266 CONFIG_FILES = $CONFIG_FILES
5267 CONFIG_HEADERS = $CONFIG_HEADERS
5268 CONFIG_LINKS = $CONFIG_LINKS
5269 CONFIG_COMMANDS = $CONFIG_COMMANDS
5270 $ $0 $@
5271
5272 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5273 "
5274
5275 _ACEOF
5276
5277 case $ac_config_files in *"
5278 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5279 esac
5280
5281
5282
5283 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5284 # Files that config.status was made for.
5285 config_files="$ac_config_files"
5286 config_commands="$ac_config_commands"
5287
5288 _ACEOF
5289
5290 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5291 ac_cs_usage="\
5292 '$as_me' instantiates files and other configuration actions
5293 from templates according to the current configuration. Unless the files
5294 and actions are specified as TAGs, all are instantiated by default.
5295
5296 Usage: $0 [OPTION]... [TAG]...
5297
5298 -h, --help print this help, then exit
5299 -V, --version print version number and configuration settings, then exit
5300 --config print configuration, then exit
5301 -q, --quiet, --silent
5302 do not print progress messages
5303 -d, --debug don't remove temporary files
5304 --recheck update $as_me by reconfiguring in the same conditions
5305 --file=FILE[:TEMPLATE]
5306 instantiate the configuration file FILE
5307
5308 Configuration files:
5309 $config_files
5310
5311 Configuration commands:
5312 $config_commands
5313
5314 Report bugs to <[email protected]>."
5315
5316 _ACEOF
5317 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
5318 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
5319 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5320 ac_cs_config='$ac_cs_config_escaped'
5321 ac_cs_version="\\
5322 TeX Live Scripts config.status 2026
5323 configured by $0, generated by GNU Autoconf 2.72,
5324 with options \\"\$ac_cs_config\\"
5325
5326 Copyright (C) 2023 Free Software Foundation, Inc.
5327 This config.status script is free software; the Free Software Foundation
5328 gives unlimited permission to copy, distribute and modify it."
5329
5330 ac_pwd='$ac_pwd'
5331 srcdir='$srcdir'
5332 INSTALL='$INSTALL'
5333 MKDIR_P='$MKDIR_P'
5334 AWK='$AWK'
5335 test -n "\$AWK" || AWK=awk
5336 _ACEOF
5337
5338 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5339 # The default lists apply if the user does not specify any file.
5340 ac_need_defaults=:
5341 while test $# != 0
5342 do
5343 case $1 in
5344 --*=?*)
5345 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5346 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5347 ac_shift=:
5348 ;;
5349 --*=)
5350 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5351 ac_optarg=
5352 ac_shift=:
5353 ;;
5354 *)
5355 ac_option=$1
5356 ac_optarg=$2
5357 ac_shift=shift
5358 ;;
5359 esac
5360
5361 case $ac_option in
5362 # Handling of the options.
5363 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5364 ac_cs_recheck=: ;;
5365 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5366 printf "%s\n" "$ac_cs_version"; exit ;;
5367 --config | --confi | --conf | --con | --co | --c )
5368 printf "%s\n" "$ac_cs_config"; exit ;;
5369 --debug | --debu | --deb | --de | --d | -d )
5370 debug=: ;;
5371 --file | --fil | --fi | --f )
5372 $ac_shift
5373 case $ac_optarg in
5374 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5375 '') as_fn_error $? "missing file argument" ;;
5376 esac
5377 as_fn_append CONFIG_FILES " '$ac_optarg'"
5378 ac_need_defaults=false;;
5379 --he | --h | --help | --hel | -h )
5380 printf "%s\n" "$ac_cs_usage"; exit ;;
5381 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5382 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5383 ac_cs_silent=: ;;
5384
5385 # This is an error.
5386 -*) as_fn_error $? "unrecognized option: '$1'
5387 Try '$0 --help' for more information." ;;
5388
5389 *) as_fn_append ac_config_targets " $1"
5390 ac_need_defaults=false ;;
5391
5392 esac
5393 shift
5394 done
5395
5396 ac_configure_extra_args=
5397
5398 if $ac_cs_silent; then
5399 exec 6>/dev/null
5400 ac_configure_extra_args="$ac_configure_extra_args --silent"
5401 fi
5402
5403 _ACEOF
5404 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5405 if \$ac_cs_recheck; then
5406 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5407 shift
5408 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
5409 CONFIG_SHELL='$SHELL'
5410 export CONFIG_SHELL
5411 exec "\$@"
5412 fi
5413
5414 _ACEOF
5415 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5416 exec 5>>config.log
5417 {
5418 echo
5419 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5420 ## Running $as_me. ##
5421 _ASBOX
5422 printf "%s\n" "$ac_log"
5423 } >&5
5424
5425 _ACEOF
5426 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5427 #
5428 # INIT-COMMANDS
5429 #
5430 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
5431
5432 _ACEOF
5433
5434 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5435
5436 # Handling of arguments.
5437 for ac_config_target in $ac_config_targets
5438 do
5439 case $ac_config_target in
5440 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5441 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5442 "linked_scripts/Makefile") CONFIG_FILES="$CONFIG_FILES linked_scripts/Makefile" ;;
5443 "tl_support/Makefile") CONFIG_FILES="$CONFIG_FILES tl_support/Makefile" ;;
5444
5445 *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
5446 esac
5447 done
5448
5449
5450 # If the user did not use the arguments to specify the items to instantiate,
5451 # then the envvar interface is used. Set only those that are not.
5452 # We use the long form for the default assignment because of an extremely
5453 # bizarre bug on SunOS 4.1.3.
5454 if $ac_need_defaults; then
5455 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
5456 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
5457 fi
5458
5459 # Have a temporary directory for convenience. Make it in the build tree
5460 # simply because there is no reason against having it here, and in addition,
5461 # creating and moving files from /tmp can sometimes cause problems.
5462 # Hook for its removal unless debugging.
5463 # Note that there is a small window in which the directory will not be cleaned:
5464 # after its creation but before its name has been assigned to '$tmp'.
5465 $debug ||
5466 {
5467 tmp= ac_tmp=
5468 trap 'exit_status=$?
5469 : "${ac_tmp:=$tmp}"
5470 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5471 ' 0
5472 trap 'as_fn_exit 1' 1 2 13 15
5473 }
5474 # Create a (secure) tmp directory for tmp files.
5475
5476 {
5477 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5478 test -d "$tmp"
5479 } ||
5480 {
5481 tmp=./conf$$-$RANDOM
5482 (umask 077 && mkdir "$tmp")
5483 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5484 ac_tmp=$tmp
5485
5486 # Set up the scripts for CONFIG_FILES section.
5487 # No need to generate them if there are no CONFIG_FILES.
5488 # This happens for instance with './config.status config.h'.
5489 if test -n "$CONFIG_FILES"; then
5490
5491
5492 ac_cr=`echo X | tr X '\015'`
5493 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5494 # But we know of no other shell where ac_cr would be empty at this
5495 # point, so we can use a bashism as a fallback.
5496 if test "x$ac_cr" = x; then
5497 eval ac_cr=\$\'\\r\'
5498 fi
5499 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5500 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5501 ac_cs_awk_cr='\\r'
5502 else
5503 ac_cs_awk_cr=$ac_cr
5504 fi
5505
5506 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5507 _ACEOF
5508
5509
5510 {
5511 echo "cat >conf$$subs.awk <<_ACEOF" &&
5512 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5513 echo "_ACEOF"
5514 } >conf$$subs.sh ||
5515 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5516 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5517 ac_delim='%!_!# '
5518 for ac_last_try in false false false false false :; do
5519 . ./conf$$subs.sh ||
5520 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5521
5522 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5523 if test $ac_delim_n = $ac_delim_num; then
5524 break
5525 elif $ac_last_try; then
5526 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5527 else
5528 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5529 fi
5530 done
5531 rm -f conf$$subs.sh
5532
5533 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5534 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5535 _ACEOF
5536 sed -n '
5537 h
5538 s/^/S["/; s/!.*/"]=/
5539 p
5540 g
5541 s/^[^!]*!//
5542 :repl
5543 t repl
5544 s/'"$ac_delim"'$//
5545 t delim
5546 :nl
5547 h
5548 s/\(.\{148\}\)..*/\1/
5549 t more1
5550 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5551 p
5552 n
5553 b repl
5554 :more1
5555 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5556 p
5557 g
5558 s/.\{148\}//
5559 t nl
5560 :delim
5561 h
5562 s/\(.\{148\}\)..*/\1/
5563 t more2
5564 s/["\\]/\\&/g; s/^/"/; s/$/"/
5565 p
5566 b
5567 :more2
5568 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5569 p
5570 g
5571 s/.\{148\}//
5572 t delim
5573 ' <conf$$subs.awk | sed '
5574 /^[^""]/{
5575 N
5576 s/\n//
5577 }
5578 ' >>$CONFIG_STATUS || ac_write_fail=1
5579 rm -f conf$$subs.awk
5580 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5581 _ACAWK
5582 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5583 for (key in S) S_is_set[key] = 1
5584 FS = ""
5585
5586 }
5587 {
5588 line = $ 0
5589 nfields = split(line, field, "@")
5590 substed = 0
5591 len = length(field[1])
5592 for (i = 2; i < nfields; i++) {
5593 key = field[i]
5594 keylen = length(key)
5595 if (S_is_set[key]) {
5596 value = S[key]
5597 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5598 len += length(value) + length(field[++i])
5599 substed = 1
5600 } else
5601 len += 1 + keylen
5602 }
5603
5604 print line
5605 }
5606
5607 _ACAWK
5608 _ACEOF
5609 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5610 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5611 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5612 else
5613 cat
5614 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5615 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5616 _ACEOF
5617
5618 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5619 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5620 # trailing colons and then remove the whole line if VPATH becomes empty
5621 # (actually we leave an empty line to preserve line numbers).
5622 if test "x$srcdir" = x.; then
5623 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5624 h
5625 s///
5626 s/^/:/
5627 s/[ ]*$/:/
5628 s/:\$(srcdir):/:/g
5629 s/:\${srcdir}:/:/g
5630 s/:@srcdir@:/:/g
5631 s/^:*//
5632 s/:*$//
5633 x
5634 s/\(=[ ]*\).*/\1/
5635 G
5636 s/\n//
5637 s/^[^=]*=[ ]*$//
5638 }'
5639 fi
5640
5641 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5642 fi # test -n "$CONFIG_FILES"
5643
5644
5645 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
5646 shift
5647 for ac_tag
5648 do
5649 case $ac_tag in
5650 :[FHLC]) ac_mode=$ac_tag; continue;;
5651 esac
5652 case $ac_mode$ac_tag in
5653 :[FHL]*:*);;
5654 :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
5655 :[FH]-) ac_tag=-:-;;
5656 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5657 esac
5658 ac_save_IFS=$IFS
5659 IFS=:
5660 set x $ac_tag
5661 IFS=$ac_save_IFS
5662 shift
5663 ac_file=$1
5664 shift
5665
5666 case $ac_mode in
5667 :L) ac_source=$1;;
5668 :[FH])
5669 ac_file_inputs=
5670 for ac_f
5671 do
5672 case $ac_f in
5673 -) ac_f="$ac_tmp/stdin";;
5674 *) # Look for the file first in the build tree, then in the source tree
5675 # (if the path is not absolute). The absolute path cannot be DOS-style,
5676 # because $ac_f cannot contain ':'.
5677 test -f "$ac_f" ||
5678 case $ac_f in
5679 [\\/$]*) false;;
5680 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5681 esac ||
5682 as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
5683 esac
5684 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5685 as_fn_append ac_file_inputs " '$ac_f'"
5686 done
5687
5688 # Let's still pretend it is 'configure' which instantiates (i.e., don't
5689 # use $as_me), people would be surprised to read:
5690 # /* config.h. Generated by config.status. */
5691 configure_input='Generated from '`
5692 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5693 `' by configure.'
5694 if test x"$ac_file" != x-; then
5695 configure_input="$ac_file. $configure_input"
5696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5697 printf "%s\n" "$as_me: creating $ac_file" >&6;}
5698 fi
5699 # Neutralize special characters interpreted by sed in replacement strings.
5700 case $configure_input in #(
5701 *\&* | *\|* | *\\* )
5702 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
5703 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5704 *) ac_sed_conf_input=$configure_input;;
5705 esac
5706
5707 case $ac_tag in
5708 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5709 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5710 esac
5711 ;;
5712 esac
5713
5714 ac_dir=`$as_dirname -- "$ac_file" ||
5715 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5716 X"$ac_file" : 'X\(//\)[^/]' \| \
5717 X"$ac_file" : 'X\(//\)$' \| \
5718 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5719 printf "%s\n" X"$ac_file" |
5720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5721 s//\1/
5722 q
5723 }
5724 /^X\(\/\/\)[^/].*/{
5725 s//\1/
5726 q
5727 }
5728 /^X\(\/\/\)$/{
5729 s//\1/
5730 q
5731 }
5732 /^X\(\/\).*/{
5733 s//\1/
5734 q
5735 }
5736 s/.*/./; q'`
5737 as_dir="$ac_dir"; as_fn_mkdir_p
5738 ac_builddir=.
5739
5740 case "$ac_dir" in
5741 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5742 *)
5743 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
5744 # A ".." for each directory in $ac_dir_suffix.
5745 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5746 case $ac_top_builddir_sub in
5747 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5748 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5749 esac ;;
5750 esac
5751 ac_abs_top_builddir=$ac_pwd
5752 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5753 # for backward compatibility:
5754 ac_top_builddir=$ac_top_build_prefix
5755
5756 case $srcdir in
5757 .) # We are building in place.
5758 ac_srcdir=.
5759 ac_top_srcdir=$ac_top_builddir_sub
5760 ac_abs_top_srcdir=$ac_pwd ;;
5761 [\\/]* | ?:[\\/]* ) # Absolute name.
5762 ac_srcdir=$srcdir$ac_dir_suffix;
5763 ac_top_srcdir=$srcdir
5764 ac_abs_top_srcdir=$srcdir ;;
5765 *) # Relative name.
5766 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5767 ac_top_srcdir=$ac_top_build_prefix$srcdir
5768 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5769 esac
5770 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5771
5772
5773 case $ac_mode in
5774 :F)
5775 #
5776 # CONFIG_FILE
5777 #
5778
5779 case $INSTALL in
5780 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5781 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5782 esac
5783 ac_MKDIR_P=$MKDIR_P
5784 case $MKDIR_P in
5785 [\\/$]* | ?:[\\/]* ) ;;
5786 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5787 esac
5788 _ACEOF
5789
5790 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5791 # If the template does not know about datarootdir, expand it.
5792 # FIXME: This hack should be removed a few years after 2.60.
5793 ac_datarootdir_hack=; ac_datarootdir_seen=
5794 ac_sed_dataroot='
5795 /datarootdir/ {
5796 p
5797 q
5798 }
5799 /@datadir@/p
5800 /@docdir@/p
5801 /@infodir@/p
5802 /@localedir@/p
5803 /@mandir@/p'
5804 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5805 *datarootdir*) ac_datarootdir_seen=yes;;
5806 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5808 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5809 _ACEOF
5810 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5811 ac_datarootdir_hack='
5812 s&@datadir@&$datadir&g
5813 s&@docdir@&$docdir&g
5814 s&@infodir@&$infodir&g
5815 s&@localedir@&$localedir&g
5816 s&@mandir@&$mandir&g
5817 s&\\\${datarootdir}&$datarootdir&g' ;;
5818 esac
5819 _ACEOF
5820
5821 # Neutralize VPATH when '$srcdir' = '.'.
5822 # Shell code in configure.ac might set extrasub.
5823 # FIXME: do we really want to maintain this feature?
5824 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5825 ac_sed_extra="$ac_vpsub
5826 $extrasub
5827 _ACEOF
5828 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5829 :t
5830 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5831 s|@configure_input@|$ac_sed_conf_input|;t t
5832 s&@top_builddir@&$ac_top_builddir_sub&;t t
5833 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5834 s&@srcdir@&$ac_srcdir&;t t
5835 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5836 s&@top_srcdir@&$ac_top_srcdir&;t t
5837 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5838 s&@builddir@&$ac_builddir&;t t
5839 s&@abs_builddir@&$ac_abs_builddir&;t t
5840 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5841 s&@INSTALL@&$ac_INSTALL&;t t
5842 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5843 $ac_datarootdir_hack
5844 "
5845 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5846 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5847
5848 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5849 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5850 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5851 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
5853 which seems to be undefined. Please make sure it is defined" >&5
5854 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
5855 which seems to be undefined. Please make sure it is defined" >&2;}
5856
5857 rm -f "$ac_tmp/stdin"
5858 case $ac_file in
5859 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5860 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5861 esac \
5862 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5863 ;;
5864
5865
5866 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5867 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
5868 ;;
5869 esac
5870
5871
5872 case $ac_file$ac_mode in
5873 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5874 # Older Autoconf quotes --file arguments for eval, but not when files
5875 # are listed without --file. Let's play safe and only enable the eval
5876 # if we detect the quoting.
5877 # TODO: see whether this extra hack can be removed once we start
5878 # requiring Autoconf 2.70 or later.
5879 case $CONFIG_FILES in #(
5880 *\'*) :
5881 eval set x "$CONFIG_FILES" ;; #(
5882 *) :
5883 set x $CONFIG_FILES ;; #(
5884 *) :
5885 ;;
5886 esac
5887 shift
5888 # Used to flag and report bootstrapping failures.
5889 am_rc=0
5890 for am_mf
5891 do
5892 # Strip MF so we end up with the name of the file.
5893 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
5894 # Check whether this is an Automake generated Makefile which includes
5895 # dependency-tracking related rules and includes.
5896 # Grep'ing the whole file directly is not great: AIX grep has a line
5897 # limit of 2048, but all sed's we know have understand at least 4000.
5898 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
5899 || continue
5900 am_dirpart=`$as_dirname -- "$am_mf" ||
5901 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5902 X"$am_mf" : 'X\(//\)[^/]' \| \
5903 X"$am_mf" : 'X\(//\)$' \| \
5904 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
5905 printf "%s\n" X"$am_mf" |
5906 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5907 s//\1/
5908 q
5909 }
5910 /^X\(\/\/\)[^/].*/{
5911 s//\1/
5912 q
5913 }
5914 /^X\(\/\/\)$/{
5915 s//\1/
5916 q
5917 }
5918 /^X\(\/\).*/{
5919 s//\1/
5920 q
5921 }
5922 s/.*/./; q'`
5923 am_filepart=`$as_basename -- "$am_mf" ||
5924 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
5925 X"$am_mf" : 'X\(//\)$' \| \
5926 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
5927 printf "%s\n" X/"$am_mf" |
5928 sed '/^.*\/\([^/][^/]*\)\/*$/{
5929 s//\1/
5930 q
5931 }
5932 /^X\/\(\/\/\)$/{
5933 s//\1/
5934 q
5935 }
5936 /^X\/\(\/\).*/{
5937 s//\1/
5938 q
5939 }
5940 s/.*/./; q'`
5941 { echo "$as_me:$LINENO: cd "$am_dirpart" \
5942 && sed -e '/# am--include-marker/d' "$am_filepart" \
5943 | $MAKE -f - am--depfiles" >&5
5944 (cd "$am_dirpart" \
5945 && sed -e '/# am--include-marker/d' "$am_filepart" \
5946 | $MAKE -f - am--depfiles) >&5 2>&5
5947 ac_status=$?
5948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5949 (exit $ac_status); } || am_rc=$?
5950 done
5951 if test $am_rc -ne 0; then
5952 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
5953 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
5954 as_fn_error $? "Something went wrong bootstrapping makefile fragments
5955 for automatic dependency tracking. If GNU make was not used, consider
5956 re-running the configure script with MAKE=\"gmake\" (or whatever is
5957 necessary). You can also try re-running configure with the
5958 '--disable-dependency-tracking' option to at least be able to build
5959 the package (albeit without support for automatic dependency tracking).
5960 See 'config.log' for more details" "$LINENO" 5; }
5961 fi
5962 { am_dirpart=; unset am_dirpart;}
5963 { am_filepart=; unset am_filepart;}
5964 { am_mf=; unset am_mf;}
5965 { am_rc=; unset am_rc;}
5966 rm -f conftest-deps.mk
5967 }
5968 ;;
5969
5970 esac
5971 done # for ac_tag
5972
5973
5974 as_fn_exit 0
5975 _ACEOF
5976 ac_clean_files=$ac_clean_files_save
5977
5978 test $ac_write_fail = 0 ||
5979 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5980
5981
5982 # configure is writing to config.log, and then calls config.status.
5983 # config.status does its own redirection, appending to config.log.
5984 # Unfortunately, on DOS this fails, as config.log is still kept open
5985 # by configure, so config.status won't be able to write to it; its
5986 # output is simply discarded. So we exec the FD to /dev/null,
5987 # effectively closing config.log, so it can be properly (re)opened and
5988 # appended to by config.status. When coming back to configure, we
5989 # need to make the FD available again.
5990 if test "$no_create" != yes; then
5991 ac_cs_success=:
5992 ac_config_status_args=
5993 test "$silent" = yes &&
5994 ac_config_status_args="$ac_config_status_args --quiet"
5995 exec 5>/dev/null
5996 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5997 exec 5>>config.log
5998 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5999 # would make configure fail if this is the last instruction.
6000 $ac_cs_success || as_fn_exit 1
6001 fi
6002 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6004 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6005 fi
6006
6007